@flamingo-stack/openframe-frontend-core 0.0.710 → 0.0.712
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-2NASBO7O.js +1137 -0
- package/dist/{chunk-RQRX4YC3.cjs → chunk-2RKFMUNW.cjs} +46 -46
- package/dist/chunk-2Y7QZAB2.cjs +158 -0
- package/dist/chunk-34I6XI3N.js +136 -0
- package/dist/chunk-3K5ZLZE7.js +292 -0
- package/dist/chunk-3LU4UFPS.cjs +14 -0
- package/dist/{chunk-YBUT4AMG.cjs → chunk-3RKBJT6K.cjs} +8 -6
- package/dist/{chunk-LNW45N2C.js → chunk-3SEEGNRE.js} +35 -27
- package/dist/{chunk-L6Y6OOKG.cjs → chunk-3UAJLO5U.cjs} +41 -39
- package/dist/chunk-4HJRHEXD.cjs +1612 -0
- package/dist/{chunk-JPG7OHEG.js → chunk-4QFWGLZO.js} +1 -1
- package/dist/chunk-4R2L3DSA.js +14 -0
- package/dist/{chunk-36BCTE7D.js → chunk-4UYKNOZG.js} +12 -10
- package/dist/{chunk-DA5UDTLG.js → chunk-5SDELRH3.js} +5 -5
- package/dist/{chunk-CZSZSDD4.js → chunk-5Y72YQEK.js} +22 -113
- package/dist/{chunk-KUC673HM.js → chunk-6T3BTD6Q.js} +204 -982
- package/dist/{chunk-F57ECE2I.js → chunk-6YPTUHM7.js} +4 -4
- package/dist/{chunk-TDYIREDJ.js → chunk-7HNYYNKE.js} +28 -22
- package/dist/{chunk-2G7UYK35.cjs → chunk-7NSU5EQD.cjs} +57 -148
- package/dist/chunk-AAYNCJMW.cjs +48 -0
- package/dist/{chunk-FXJ3WWUB.js → chunk-ADBE7QF3.js} +5 -252
- package/dist/chunk-AECTRMGQ.cjs +334 -0
- package/dist/chunk-AGVXKD4K.js +334 -0
- package/dist/chunk-AL2GUHAJ.cjs +18 -0
- package/dist/{chunk-WMX26HB5.js → chunk-APJZBDQN.js} +12 -12
- package/dist/chunk-AUMKE74M.cjs +16 -0
- package/dist/chunk-B4NCVYEQ.cjs +292 -0
- package/dist/{chunk-2RNB5DTN.cjs → chunk-BXSRTBLU.cjs} +82 -54
- package/dist/chunk-CMGFZHCN.js +233 -0
- package/dist/chunk-CMZ3QTFQ.js +1207 -0
- package/dist/chunk-CPA2CKRZ.cjs +125 -0
- package/dist/{chunk-B73373AG.cjs → chunk-CSCJU6YC.cjs} +35 -33
- package/dist/chunk-CYUUHFXL.js +41 -0
- package/dist/chunk-DC4RTYWK.cjs +1122 -0
- package/dist/{chunk-6YKAT7NV.js → chunk-DDWFCWOE.js} +5 -7
- package/dist/{chunk-F5FF4DME.js → chunk-EFNKS5W4.js} +322 -428
- package/dist/{chunk-2KXTOP6G.cjs → chunk-EOKSKJSS.cjs} +25 -83
- package/dist/{chunk-6NTPY5QA.cjs → chunk-ETYLOZOB.cjs} +978 -2413
- package/dist/chunk-F5BPGWGT.cjs +931 -0
- package/dist/{chunk-4L6XCMOU.js → chunk-FCAVAEHF.js} +8277 -9990
- package/dist/chunk-FFT56TYB.cjs +401 -0
- package/dist/chunk-FYEJTF5Y.js +125 -0
- package/dist/chunk-G3GRYDMS.js +16 -0
- package/dist/{chunk-MR3A4MZV.js → chunk-G3OMVCID.js} +13 -7
- package/dist/chunk-G6OHIX5C.cjs +100 -0
- package/dist/{chunk-UDFRUKLC.cjs → chunk-GEDY7HQI.cjs} +2 -2
- package/dist/chunk-GQ7JJUIT.cjs +1207 -0
- package/dist/chunk-H3PKYE4N.js +18 -0
- package/dist/{chunk-CNWOMQQJ.js → chunk-H5R7U2D2.js} +206 -5
- package/dist/{chunk-SEXWHIMS.cjs → chunk-HETQETPV.cjs} +9648 -9680
- package/dist/{chunk-Y2GSOUCS.cjs → chunk-HWVUR735.cjs} +2 -2
- package/dist/chunk-II4QMH26.cjs +35 -0
- package/dist/chunk-ILNN6QRW.js +1612 -0
- package/dist/chunk-IYVFSLWJ.js +931 -0
- package/dist/{chunk-3AHTOSXJ.cjs → chunk-JGCFRTND.cjs} +23 -17
- package/dist/chunk-JHQ334WS.js +655 -0
- package/dist/{chunk-WCVZCGK5.cjs → chunk-JO5TLJPM.cjs} +129 -907
- package/dist/{chunk-JRU2CXLB.cjs → chunk-JVCAK4W3.cjs} +210 -9
- package/dist/chunk-KBJJQFYU.js +1122 -0
- package/dist/chunk-KEKCQENI.js +48 -0
- package/dist/chunk-KHXZFLIN.cjs +41 -0
- package/dist/chunk-KT3U3ZRP.cjs +1137 -0
- package/dist/chunk-L2VUINHN.js +35 -0
- package/dist/{chunk-P42V6N34.cjs → chunk-L6ZQGWCX.cjs} +4521 -6234
- package/dist/{chunk-PLYEKV3N.cjs → chunk-MA4Q5RBP.cjs} +6 -6
- package/dist/{chunk-SS5MBHDP.js → chunk-N67XG5GY.js} +10 -8
- package/dist/chunk-NPAQSMRY.js +2087 -0
- package/dist/{chunk-I3ST4PLM.js → chunk-NQWJAOHO.js} +6 -4
- package/dist/{chunk-QAOFMK2A.cjs → chunk-OBZJICEA.cjs} +8 -8
- package/dist/{chunk-6IW7TWPV.js → chunk-OPYODNV2.js} +3 -3
- package/dist/chunk-P3JMAMHP.js +401 -0
- package/dist/chunk-PPXR22YC.cjs +2087 -0
- package/dist/chunk-PSVSEN4J.cjs +655 -0
- package/dist/{chunk-4UM2ETLM.js → chunk-RBYVFPER.js} +74 -46
- package/dist/{chunk-PO33GZVY.js → chunk-ROBQ5TR7.js} +10549 -10581
- package/dist/{chunk-ZCLBYT2V.cjs → chunk-T3CLXR43.cjs} +114 -220
- package/dist/{chunk-FI6GMDO7.js → chunk-TTVOLEUS.js} +3605 -5040
- package/dist/{chunk-LM7TXMLU.cjs → chunk-ULWVKHSI.cjs} +8 -255
- package/dist/{chunk-6I4ZAFO2.cjs → chunk-UT3ODMBU.cjs} +15 -15
- package/dist/chunk-WANCBTUE.js +71 -0
- package/dist/{chunk-BIZNSF3U.cjs → chunk-WBNAEYTQ.cjs} +2 -51
- package/dist/chunk-WFPCCBOM.cjs +71 -0
- package/dist/chunk-WI6FHKD7.js +158 -0
- package/dist/chunk-WMNCVLES.js +100 -0
- package/dist/{chunk-UT4YHQZW.js → chunk-WSDT7LYL.js} +0 -49
- package/dist/chunk-WVOTC7HW.cjs +136 -0
- package/dist/{chunk-AOWDNSTM.cjs → chunk-WWJG4GVG.cjs} +93 -87
- package/dist/chunk-XXBLN4BP.cjs +233 -0
- package/dist/{chunk-4IBPRIQH.js → chunk-YBQQNDC7.js} +1 -1
- package/dist/{chunk-LFFB6EMB.js → chunk-YBS5QGON.js} +70 -128
- package/dist/{chunk-NSGXARGJ.cjs → chunk-Z5SWJW5Q.cjs} +125 -117
- package/dist/{chunk-OJLR5MEO.cjs → chunk-ZX7SCPLO.cjs} +6 -8
- package/dist/cloud-tenants-KZUZGD4A.cjs +117 -0
- package/dist/cloud-tenants-OGLVVQ7X.js +117 -0
- package/dist/components/case-studies/index.cjs +45 -29
- package/dist/components/case-studies/index.js +32 -16
- package/dist/components/chat/ask-prompts.d.ts +64 -0
- package/dist/components/chat/ask-prompts.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/case-study-card.d.ts +6 -3
- package/dist/components/chat/entity-cards/case-study-card.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts +4 -1
- package/dist/components/chat/hooks/use-chat-dialog-manager.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +27 -8
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +57 -38
- package/dist/components/chat/quick-action-chip.d.ts +7 -3
- package/dist/components/chat/quick-action-chip.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +4 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/unified-chat-state.types.d.ts +12 -0
- package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +29 -13
- package/dist/components/contact/index.js +28 -12
- package/dist/components/docs/index.cjs +33 -16
- package/dist/components/docs/index.js +33 -16
- package/dist/components/docs/use-scroll-spy.d.ts +23 -1
- package/dist/components/docs/use-scroll-spy.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +29 -13
- package/dist/components/embeds/index.js +28 -12
- package/dist/components/faq/faq-section.d.ts +8 -1
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +30 -14
- package/dist/components/faq/index.js +29 -13
- package/dist/components/features/array-entry-manager.d.ts +5 -1
- package/dist/components/features/array-entry-manager.d.ts.map +1 -1
- package/dist/components/features/board/board.d.ts +2 -0
- package/dist/components/features/board/board.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/board/touch-board.d.ts +1 -1
- package/dist/components/features/board/touch-board.d.ts.map +1 -1
- package/dist/components/features/board/types.d.ts +3 -0
- package/dist/components/features/board/types.d.ts.map +1 -1
- package/dist/components/features/board/use-board-collapse.d.ts +6 -1
- package/dist/components/features/board/use-board-collapse.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +94 -0
- package/dist/components/features/capability-explorer.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/index.d.ts +14 -0
- package/dist/components/features/cloud-tenants/index.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-access-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts +8 -0
- package/dist/components/features/cloud-tenants/tenant-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts +9 -0
- package/dist/components/features/cloud-tenants/tenant-customer-cell.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenant-presentation.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts +22 -0
- package/dist/components/features/cloud-tenants/tenant-row.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts +42 -0
- package/dist/components/features/cloud-tenants/tenants-table-columns.d.ts.map +1 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts +26 -0
- package/dist/components/features/cloud-tenants/tenants-table-view.d.ts.map +1 -0
- package/dist/components/features/devices/device-last-online.d.ts +3 -0
- package/dist/components/features/devices/device-last-online.d.ts.map +1 -0
- package/dist/components/features/devices/device-name.d.ts +42 -0
- package/dist/components/features/devices/device-name.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts +26 -0
- package/dist/components/features/devices/device-selector/device-selection-mode-radio.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts +25 -0
- package/dist/components/features/devices/device-selector/device-selector-skeleton.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts +38 -0
- package/dist/components/features/devices/device-selector/device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts +133 -0
- package/dist/components/features/devices/device-selector/device-selector.types.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts +13 -0
- package/dist/components/features/devices/device-selector/narrowing.d.ts.map +1 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts +17 -0
- package/dist/components/features/devices/device-selector/use-device-selector.d.ts.map +1 -0
- package/dist/components/features/devices/device-status.d.ts +23 -0
- package/dist/components/features/devices/device-status.d.ts.map +1 -0
- package/dist/components/features/devices/device-statuses.d.ts +40 -0
- package/dist/components/features/devices/device-statuses.d.ts.map +1 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts +22 -0
- package/dist/components/features/devices/device-tags-filter-button.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-icon.d.ts +11 -0
- package/dist/components/features/devices/device-type-icon.d.ts.map +1 -0
- package/dist/components/features/devices/device-type-tile.d.ts +9 -0
- package/dist/components/features/devices/device-type-tile.d.ts.map +1 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts +46 -0
- package/dist/components/features/devices/devices-filter-toolbar.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts +25 -0
- package/dist/components/features/devices/devices-grid-filters.d.ts.map +1 -0
- package/dist/components/features/devices/devices-grid.d.ts +12 -0
- package/dist/components/features/devices/devices-grid.d.ts.map +1 -0
- package/dist/components/features/devices/devices-list.d.ts +131 -0
- package/dist/components/features/devices/devices-list.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-header.d.ts +46 -0
- package/dist/components/features/devices/devices-panel-header.d.ts.map +1 -0
- package/dist/components/features/devices/devices-panel-view.d.ts +79 -0
- package/dist/components/features/devices/devices-panel-view.d.ts.map +1 -0
- package/dist/components/features/devices/devices-table-columns.d.ts +76 -0
- package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -0
- package/dist/components/features/devices/devices-view-config.d.ts +25 -0
- package/dist/components/features/devices/devices-view-config.d.ts.map +1 -0
- package/dist/components/features/devices/index.d.ts +24 -0
- package/dist/components/features/devices/index.d.ts.map +1 -0
- package/dist/components/features/devices/types.d.ts +68 -0
- package/dist/components/features/devices/types.d.ts.map +1 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts +50 -0
- package/dist/components/features/devices/use-tag-filter-modal.d.ts.map +1 -0
- package/dist/components/features/index.cjs +227 -12
- package/dist/components/features/index.d.ts +7 -0
- package/dist/components/features/index.d.ts.map +1 -1
- package/dist/components/features/index.js +266 -51
- package/dist/components/features/knowledge-base/index.d.ts +7 -0
- package/dist/components/features/knowledge-base/index.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts +44 -0
- package/dist/components/features/knowledge-base/knowledge-base-article-view.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts +13 -0
- package/dist/components/features/knowledge-base/knowledge-base-item-icon.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts +8 -0
- package/dist/components/features/knowledge-base/knowledge-base-status.d.ts.map +1 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts +52 -0
- package/dist/components/features/knowledge-base/knowledge-base-table.d.ts.map +1 -0
- package/dist/components/features/logs/index.d.ts +12 -0
- package/dist/components/features/logs/index.d.ts.map +1 -0
- package/dist/components/features/logs/log-drawer.d.ts +29 -0
- package/dist/components/features/logs/log-drawer.d.ts.map +1 -0
- package/dist/components/features/logs/log-source-labels.d.ts +11 -0
- package/dist/components/features/logs/log-source-labels.d.ts.map +1 -0
- package/dist/components/features/logs/logs-page-view.d.ts +32 -0
- package/dist/components/features/logs/logs-page-view.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-columns.d.ts +15 -0
- package/dist/components/features/logs/logs-table-columns.d.ts.map +1 -0
- package/dist/components/features/logs/logs-table-view.d.ts +64 -0
- package/dist/components/features/logs/logs-table-view.d.ts.map +1 -0
- package/dist/components/features/logs/types.d.ts +52 -0
- package/dist/components/features/logs/types.d.ts.map +1 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts +37 -0
- package/dist/components/features/policies/compute-policy-summary.d.ts.map +1 -0
- package/dist/components/features/policies/index.d.ts +8 -0
- package/dist/components/features/policies/index.d.ts.map +1 -0
- package/dist/components/features/policies/policies-table.d.ts +34 -0
- package/dist/components/features/policies/policies-table.d.ts.map +1 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts +17 -0
- package/dist/components/features/policies/policy-summary-cards.d.ts.map +1 -0
- package/dist/components/features/policies/policy-table-row.d.ts +37 -0
- package/dist/components/features/policies/policy-table-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/index.d.ts +8 -0
- package/dist/components/features/remote-session/index.d.ts.map +1 -1
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-chat-message-row.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts +31 -0
- package/dist/components/features/remote-session/remote-desktop-chat-panel.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts +21 -0
- package/dist/components/features/remote-session/remote-desktop-fullscreen-toolbar.d.ts.map +1 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts +50 -0
- package/dist/components/features/remote-session/remote-desktop-view.d.ts.map +1 -0
- package/dist/components/features/software/index.d.ts +8 -0
- package/dist/components/features/software/index.d.ts.map +1 -0
- package/dist/components/features/software/package-managers.d.ts +30 -0
- package/dist/components/features/software/package-managers.d.ts.map +1 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts +7 -0
- package/dist/components/features/software/package-search-field-placeholder.d.ts.map +1 -0
- package/dist/components/features/software/schedule-fields.d.ts +34 -0
- package/dist/components/features/software/schedule-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-action-copy.d.ts +25 -0
- package/dist/components/features/software/software-action-copy.d.ts.map +1 -0
- package/dist/components/features/software/software-action-form.d.ts +71 -0
- package/dist/components/features/software/software-action-form.d.ts.map +1 -0
- package/dist/components/features/software/software-row-fields.d.ts +23 -0
- package/dist/components/features/software/software-row-fields.d.ts.map +1 -0
- package/dist/components/features/software/software-row.d.ts +18 -0
- package/dist/components/features/software/software-row.d.ts.map +1 -0
- package/dist/components/features/sortable-list/index.d.ts +1 -0
- package/dist/components/features/sortable-list/index.d.ts.map +1 -1
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts +21 -0
- package/dist/components/features/sortable-list/sortable-drag-handle.d.ts.map +1 -0
- package/dist/components/help-center-pages/index.cjs +133 -114
- package/dist/components/help-center-pages/index.js +58 -39
- package/dist/components/index.cjs +320 -82
- package/dist/components/index.js +451 -213
- package/dist/components/layout/page-heading.d.ts +12 -3
- package/dist/components/layout/page-heading.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +120 -98
- package/dist/components/meeting-scheduler/index.js +50 -28
- package/dist/components/navigation/index.cjs +36 -17
- package/dist/components/navigation/index.d.ts +3 -0
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +36 -17
- package/dist/components/navigation/mingo-ai-button.d.ts +23 -10
- package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
- package/dist/components/navigation/sticky-section-nav.d.ts +14 -1
- package/dist/components/navigation/sticky-section-nav.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +32 -16
- package/dist/components/onboarding-guides/index.js +31 -15
- package/dist/components/product-demo/cast.d.ts +58 -0
- package/dist/components/product-demo/cast.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts +10 -0
- package/dist/components/product-demo/fixtures/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/devices.d.ts +14 -0
- package/dist/components/product-demo/fixtures/devices.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts +14 -0
- package/dist/components/product-demo/fixtures/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/logs.d.ts +15 -0
- package/dist/components/product-demo/fixtures/logs.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/policies.d.ts +13 -0
- package/dist/components/product-demo/fixtures/policies.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts +20 -0
- package/dist/components/product-demo/fixtures/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/shared.d.ts +156 -0
- package/dist/components/product-demo/fixtures/shared.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts +19 -0
- package/dist/components/product-demo/fixtures/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts +8 -0
- package/dist/components/product-demo/fixtures/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/index.cjs +112 -0
- package/dist/components/product-demo/index.d.ts +6 -0
- package/dist/components/product-demo/index.d.ts.map +1 -0
- package/dist/components/product-demo/index.js +112 -0
- package/dist/components/product-demo/product-screen.d.ts +22 -0
- package/dist/components/product-demo/product-screen.d.ts.map +1 -0
- package/dist/components/product-demo/registry.d.ts +13 -0
- package/dist/components/product-demo/registry.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.cjs +25 -0
- package/dist/components/product-demo/screen-keys.d.ts +27 -0
- package/dist/components/product-demo/screen-keys.d.ts.map +1 -0
- package/dist/components/product-demo/screen-keys.js +20 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts +8 -0
- package/dist/components/product-demo/screens/cloud-tenants.d.ts.map +1 -0
- package/dist/components/product-demo/screens/devices.d.ts +10 -0
- package/dist/components/product-demo/screens/devices.d.ts.map +1 -0
- package/dist/components/product-demo/screens/knowledge.d.ts +9 -0
- package/dist/components/product-demo/screens/knowledge.d.ts.map +1 -0
- package/dist/components/product-demo/screens/logs.d.ts +4 -0
- package/dist/components/product-demo/screens/logs.d.ts.map +1 -0
- package/dist/components/product-demo/screens/policies.d.ts +8 -0
- package/dist/components/product-demo/screens/policies.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts +11 -0
- package/dist/components/product-demo/screens/remote-desktop-picture.d.ts.map +1 -0
- package/dist/components/product-demo/screens/remote-session.d.ts +8 -0
- package/dist/components/product-demo/screens/remote-session.d.ts.map +1 -0
- package/dist/components/product-demo/screens/software-update.d.ts +12 -0
- package/dist/components/product-demo/screens/software-update.d.ts.map +1 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts +4 -0
- package/dist/components/product-demo/screens/tickets-board.d.ts.map +1 -0
- package/dist/components/product-demo/types.d.ts +9 -0
- package/dist/components/product-demo/types.d.ts.map +1 -0
- package/dist/components/related-content/index.cjs +14 -8
- package/dist/components/related-content/index.js +13 -7
- package/dist/components/tickets/index.cjs +36 -20
- package/dist/components/tickets/index.js +35 -19
- package/dist/components/ui/file-manager/index.cjs +38 -34
- package/dist/components/ui/file-manager/index.js +8 -4
- package/dist/components/ui/index.cjs +57 -17
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +141 -101
- package/dist/components/ui/product-screen-frame.d.ts +45 -0
- package/dist/components/ui/product-screen-frame.d.ts.map +1 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.d.ts +11 -1
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +1 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- package/dist/devices-LBMG42K6.js +81 -0
- package/dist/devices-YGYJIXQY.cjs +81 -0
- package/dist/hooks/index.cjs +17 -8
- package/dist/hooks/index.js +32 -23
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/use-header-height.d.ts +12 -0
- package/dist/hooks/ui/use-header-height.d.ts.map +1 -1
- package/dist/hooks/ui/use-sticky-toolbar.d.ts +29 -0
- package/dist/hooks/ui/use-sticky-toolbar.d.ts.map +1 -0
- package/dist/hooks/use-location-hash.d.ts +2 -2
- package/dist/hooks/use-location-hash.d.ts.map +1 -1
- package/dist/hooks/use-scroll-to-hash.d.ts +7 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -1
- package/dist/index.cjs +276 -25
- package/dist/index.js +729 -478
- package/dist/knowledge-H5BIWJVI.js +108 -0
- package/dist/knowledge-KTCVJIWN.cjs +108 -0
- package/dist/logs-DB5Z7M5Q.js +216 -0
- package/dist/logs-RVCC2UQW.cjs +216 -0
- package/dist/policies-EWUULFBR.js +121 -0
- package/dist/policies-HV4IQCBV.cjs +121 -0
- package/dist/remote-session-GSGZOFDX.js +196 -0
- package/dist/remote-session-R6VAFESR.cjs +196 -0
- package/dist/software-update-6PXKRKBT.js +179 -0
- package/dist/software-update-D4OVSWSG.cjs +179 -0
- package/dist/tickets-board-BHLPAVNJ.cjs +137 -0
- package/dist/tickets-board-PYDNELSK.js +137 -0
- package/dist/types/case-study.d.ts +15 -1
- package/dist/types/case-study.d.ts.map +1 -1
- package/dist/utils/date-utils.d.ts +5 -0
- package/dist/utils/date-utils.d.ts.map +1 -1
- package/dist/utils/index.cjs +45 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +41 -3
- package/dist/utils/open-in-new-tab.d.ts +7 -0
- package/dist/utils/open-in-new-tab.d.ts.map +1 -0
- package/dist/utils/same-page-hash-nav.d.ts +31 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -1
- package/dist/utils/scroll-into-view.d.ts +14 -1
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/package.json +13 -1
- package/src/components/chat/ask-prompts.tsx +226 -0
- package/src/components/chat/embeddable-chat.tsx +38 -2
- package/src/components/chat/entity-cards/case-study-card.tsx +122 -46
- package/src/components/chat/hooks/use-chat-dialog-manager.ts +22 -4
- package/src/components/chat/hooks/use-unified-chat.ts +1 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/quick-action-chip.tsx +33 -9
- package/src/components/chat/types/component.types.ts +4 -0
- package/src/components/chat/types/unified-chat-state.types.ts +13 -0
- package/src/components/docs/use-scroll-spy.ts +93 -18
- package/src/components/faq/faq-section.tsx +82 -43
- package/src/components/features/array-entry-manager.tsx +10 -1
- package/src/components/features/board/board.tsx +4 -1
- package/src/components/features/board/ticket-card.tsx +11 -1
- package/src/components/features/board/touch-board.tsx +2 -1
- package/src/components/features/board/types.ts +3 -0
- package/src/components/features/board/use-board-collapse.ts +7 -2
- package/src/components/features/capability-explorer.tsx +412 -0
- package/src/components/features/cloud-tenants/index.ts +28 -0
- package/src/components/features/cloud-tenants/tenant-access-cell.tsx +24 -0
- package/src/components/features/cloud-tenants/tenant-cell.tsx +26 -0
- package/src/components/features/cloud-tenants/tenant-customer-cell.tsx +27 -0
- package/src/components/features/cloud-tenants/tenant-presentation.ts +111 -0
- package/src/components/features/cloud-tenants/tenant-row.ts +21 -0
- package/src/components/features/cloud-tenants/tenants-table-columns.ts +30 -0
- package/src/components/features/cloud-tenants/tenants-table-view.tsx +142 -0
- package/src/components/features/devices/device-last-online.ts +6 -0
- package/src/components/features/devices/device-name.ts +51 -0
- package/src/components/features/devices/device-selector/device-selection-mode-radio.tsx +107 -0
- package/src/components/features/devices/device-selector/device-selector-skeleton.tsx +32 -0
- package/src/components/features/devices/device-selector/device-selector.tsx +799 -0
- package/src/components/features/devices/device-selector/device-selector.types.ts +138 -0
- package/src/components/features/devices/device-selector/narrowing.ts +33 -0
- package/src/components/features/devices/device-selector/use-device-selector.ts +51 -0
- package/src/components/features/devices/device-status.ts +102 -0
- package/src/components/features/devices/device-statuses.ts +88 -0
- package/src/components/features/devices/device-tags-filter-button.tsx +49 -0
- package/src/components/features/devices/device-type-icon.tsx +29 -0
- package/src/components/features/devices/device-type-tile.tsx +17 -0
- package/src/components/features/devices/devices-filter-toolbar.tsx +114 -0
- package/src/components/features/devices/devices-grid-filters.tsx +99 -0
- package/src/components/features/devices/devices-grid.tsx +86 -0
- package/src/components/features/devices/devices-list.tsx +357 -0
- package/src/components/features/devices/devices-panel-header.tsx +97 -0
- package/src/components/features/devices/devices-panel-view.tsx +261 -0
- package/src/components/features/devices/devices-table-columns.tsx +356 -0
- package/src/components/features/devices/devices-view-config.tsx +38 -0
- package/src/components/features/devices/index.ts +89 -0
- package/src/components/features/devices/types.ts +74 -0
- package/src/components/features/devices/use-tag-filter-modal.ts +109 -0
- package/src/components/features/index.ts +9 -0
- package/src/components/features/knowledge-base/index.ts +19 -0
- package/src/components/features/knowledge-base/knowledge-base-article-view.tsx +134 -0
- package/src/components/features/knowledge-base/knowledge-base-item-icon.ts +14 -0
- package/src/components/features/knowledge-base/knowledge-base-status.ts +12 -0
- package/src/components/features/knowledge-base/knowledge-base-table.tsx +180 -0
- package/src/components/features/logs/index.ts +20 -0
- package/src/components/features/logs/log-drawer.tsx +138 -0
- package/src/components/features/logs/log-source-labels.ts +25 -0
- package/src/components/features/logs/logs-page-view.tsx +100 -0
- package/src/components/features/logs/logs-table-columns.ts +16 -0
- package/src/components/features/logs/logs-table-view.tsx +509 -0
- package/src/components/features/logs/types.ts +71 -0
- package/src/components/features/policies/compute-policy-summary.ts +115 -0
- package/src/components/features/policies/index.ts +14 -0
- package/src/components/features/policies/policies-table.tsx +235 -0
- package/src/components/features/policies/policy-summary-cards.tsx +69 -0
- package/src/components/features/policies/policy-table-row.ts +37 -0
- package/src/components/features/remote-session/index.ts +8 -0
- package/src/components/features/remote-session/remote-desktop-chat-message-row.tsx +56 -0
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +102 -0
- package/src/components/features/remote-session/remote-desktop-fullscreen-toolbar.tsx +119 -0
- package/src/components/features/remote-session/remote-desktop-view.tsx +209 -0
- package/src/components/features/software/index.ts +39 -0
- package/src/components/features/software/package-managers.ts +54 -0
- package/src/components/features/software/package-search-field-placeholder.tsx +23 -0
- package/src/components/features/software/schedule-fields.tsx +105 -0
- package/src/components/features/software/software-action-copy.ts +70 -0
- package/src/components/features/software/software-action-form.tsx +199 -0
- package/src/components/features/software/software-row-fields.tsx +105 -0
- package/src/components/features/software/software-row.ts +22 -0
- package/src/components/features/sortable-list/index.ts +1 -0
- package/src/components/features/sortable-list/sortable-drag-handle.tsx +41 -0
- package/src/components/layout/page-heading.tsx +23 -6
- package/src/components/navigation/index.ts +5 -0
- package/src/components/navigation/mingo-ai-button.tsx +37 -13
- package/src/components/navigation/sticky-section-nav.tsx +99 -1
- package/src/components/product-demo/cast.tsx +78 -0
- package/src/components/product-demo/fixtures/cloud-tenants.ts +63 -0
- package/src/components/product-demo/fixtures/devices.ts +87 -0
- package/src/components/product-demo/fixtures/knowledge.ts +48 -0
- package/src/components/product-demo/fixtures/logs.ts +103 -0
- package/src/components/product-demo/fixtures/policies.ts +77 -0
- package/src/components/product-demo/fixtures/remote-session.ts +65 -0
- package/src/components/product-demo/fixtures/shared.ts +53 -0
- package/src/components/product-demo/fixtures/software-update.ts +63 -0
- package/src/components/product-demo/fixtures/tickets-board.ts +100 -0
- package/src/components/product-demo/index.ts +7 -0
- package/src/components/product-demo/product-screen.tsx +94 -0
- package/src/components/product-demo/registry.ts +20 -0
- package/src/components/product-demo/screen-keys.ts +31 -0
- package/src/components/product-demo/screens/cloud-tenants.tsx +23 -0
- package/src/components/product-demo/screens/devices.tsx +41 -0
- package/src/components/product-demo/screens/knowledge.tsx +27 -0
- package/src/components/product-demo/screens/logs.tsx +113 -0
- package/src/components/product-demo/screens/policies.tsx +29 -0
- package/src/components/product-demo/screens/remote-desktop-picture.tsx +118 -0
- package/src/components/product-demo/screens/remote-session.tsx +46 -0
- package/src/components/product-demo/screens/software-update.tsx +97 -0
- package/src/components/product-demo/screens/tickets-board.tsx +28 -0
- package/src/components/product-demo/types.ts +10 -0
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/product-screen-frame.tsx +136 -0
- package/src/components/ui/radio-group.tsx +16 -4
- package/src/components/ui/snap-carousel.tsx +26 -1
- package/src/components/ui/tag.tsx +5 -0
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-header-height.ts +51 -2
- package/src/hooks/ui/use-sticky-toolbar.ts +60 -0
- package/src/hooks/use-location-hash.ts +9 -5
- package/src/hooks/use-scroll-to-hash.ts +9 -1
- package/src/types/case-study.ts +21 -1
- package/src/utils/date-utils.ts +8 -1
- package/src/utils/index.ts +5 -0
- package/src/utils/open-in-new-tab.ts +12 -0
- package/src/utils/same-page-hash-nav.ts +57 -0
- package/src/utils/scroll-into-view.ts +21 -5
- package/dist/chunk-BM5MVGH3.cjs +0 -499
- package/dist/chunk-CUME3VTQ.js +0 -144
- package/dist/chunk-CZ7Y7UG4.js +0 -732
- package/dist/chunk-FLKJYMVB.js +0 -499
- package/dist/chunk-OF6GEI5A.cjs +0 -144
- package/dist/chunk-UVTD52MD.cjs +0 -732
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHWVUR735cjs = require('../../chunk-HWVUR735.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkMA4Q5RBPcjs = require('../../chunk-MA4Q5RBP.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -16,6 +16,10 @@ var _chunkPLYEKV3Ncjs = require('../../chunk-PLYEKV3N.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
+
var _chunkL6ZQGWCXcjs = require('../../chunk-L6ZQGWCX.cjs');
|
|
20
|
+
require('../../chunk-4HJRHEXD.cjs');
|
|
21
|
+
require('../../chunk-HQQE74RO.cjs');
|
|
22
|
+
require('../../chunk-DEY6XXGO.cjs');
|
|
19
23
|
|
|
20
24
|
|
|
21
25
|
|
|
@@ -23,52 +27,65 @@ var _chunkPLYEKV3Ncjs = require('../../chunk-PLYEKV3N.cjs');
|
|
|
23
27
|
|
|
24
28
|
|
|
25
29
|
|
|
30
|
+
var _chunkPPXR22YCcjs = require('../../chunk-PPXR22YC.cjs');
|
|
31
|
+
|
|
26
32
|
|
|
27
|
-
var _chunkP42V6N34cjs = require('../../chunk-P42V6N34.cjs');
|
|
28
|
-
require('../../chunk-HQQE74RO.cjs');
|
|
29
|
-
require('../../chunk-DEY6XXGO.cjs');
|
|
30
33
|
|
|
31
34
|
|
|
32
35
|
|
|
36
|
+
var _chunkJO5TLJPMcjs = require('../../chunk-JO5TLJPM.cjs');
|
|
37
|
+
require('../../chunk-B4NCVYEQ.cjs');
|
|
38
|
+
require('../../chunk-MZ4KBSH7.cjs');
|
|
39
|
+
require('../../chunk-WBNAEYTQ.cjs');
|
|
33
40
|
|
|
34
41
|
|
|
42
|
+
var _chunkAUMKE74Mcjs = require('../../chunk-AUMKE74M.cjs');
|
|
35
43
|
|
|
36
|
-
var _chunkWCVZCGK5cjs = require('../../chunk-WCVZCGK5.cjs');
|
|
37
|
-
require('../../chunk-MZ4KBSH7.cjs');
|
|
38
|
-
require('../../chunk-BIZNSF3U.cjs');
|
|
39
44
|
|
|
45
|
+
var _chunkLX22Y43Bcjs = require('../../chunk-LX22Y43B.cjs');
|
|
40
46
|
|
|
41
47
|
|
|
42
|
-
var _chunkOF6GEI5Acjs = require('../../chunk-OF6GEI5A.cjs');
|
|
43
48
|
|
|
44
49
|
|
|
45
|
-
var
|
|
50
|
+
var _chunkHETQETPVcjs = require('../../chunk-HETQETPV.cjs');
|
|
51
|
+
require('../../chunk-KT3U3ZRP.cjs');
|
|
52
|
+
require('../../chunk-DC4RTYWK.cjs');
|
|
53
|
+
require('../../chunk-FFT56TYB.cjs');
|
|
46
54
|
|
|
47
55
|
|
|
48
|
-
var
|
|
49
|
-
require('../../chunk-
|
|
56
|
+
var _chunkGQ7JJUITcjs = require('../../chunk-GQ7JJUIT.cjs');
|
|
57
|
+
require('../../chunk-WVOTC7HW.cjs');
|
|
50
58
|
require('../../chunk-7DNL734S.cjs');
|
|
51
59
|
|
|
52
60
|
|
|
61
|
+
var _chunkETYLOZOBcjs = require('../../chunk-ETYLOZOB.cjs');
|
|
62
|
+
require('../../chunk-AL2GUHAJ.cjs');
|
|
63
|
+
|
|
53
64
|
|
|
65
|
+
var _chunkPSVSEN4Jcjs = require('../../chunk-PSVSEN4J.cjs');
|
|
54
66
|
|
|
55
67
|
|
|
56
68
|
|
|
57
69
|
|
|
58
70
|
|
|
59
|
-
|
|
71
|
+
|
|
72
|
+
var _chunkF5BPGWGTcjs = require('../../chunk-F5BPGWGT.cjs');
|
|
60
73
|
require('../../chunk-MGHIV4L6.cjs');
|
|
61
|
-
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
var _chunkAECTRMGQcjs = require('../../chunk-AECTRMGQ.cjs');
|
|
77
|
+
require('../../chunk-UJ7AXHRZ.cjs');
|
|
78
|
+
require('../../chunk-AAYNCJMW.cjs');
|
|
79
|
+
require('../../chunk-ULWVKHSI.cjs');
|
|
62
80
|
require('../../chunk-LLSUVPQC.cjs');
|
|
63
81
|
require('../../chunk-VX4E6YSB.cjs');
|
|
64
82
|
require('../../chunk-RDW5JAME.cjs');
|
|
65
|
-
require('../../chunk-UJ7AXHRZ.cjs');
|
|
66
83
|
|
|
67
84
|
|
|
68
85
|
|
|
69
86
|
|
|
70
|
-
|
|
71
|
-
|
|
87
|
+
var _chunkXXBLN4BPcjs = require('../../chunk-XXBLN4BP.cjs');
|
|
88
|
+
require('../../chunk-2Y7QZAB2.cjs');
|
|
72
89
|
require('../../chunk-4GFNWALL.cjs');
|
|
73
90
|
|
|
74
91
|
|
|
@@ -76,10 +93,15 @@ var _chunkDFQYAYBHcjs = require('../../chunk-DFQYAYBH.cjs');
|
|
|
76
93
|
|
|
77
94
|
|
|
78
95
|
var _chunkLLRGR4I5cjs = require('../../chunk-LLRGR4I5.cjs');
|
|
96
|
+
require('../../chunk-G7SBHMRR.cjs');
|
|
97
|
+
require('../../chunk-G6OHIX5C.cjs');
|
|
98
|
+
require('../../chunk-3LU4UFPS.cjs');
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
var _chunkCPA2CKRZcjs = require('../../chunk-CPA2CKRZ.cjs');
|
|
79
102
|
|
|
80
103
|
|
|
81
104
|
var _chunk3ATAYP36cjs = require('../../chunk-3ATAYP36.cjs');
|
|
82
|
-
require('../../chunk-G7SBHMRR.cjs');
|
|
83
105
|
require('../../chunk-QBJ4SE23.cjs');
|
|
84
106
|
|
|
85
107
|
// src/components/meeting-scheduler/index.tsx
|
|
@@ -357,7 +379,7 @@ function useMeetingBooking(options) {
|
|
|
357
379
|
const seededOffset = _optionalChain([initialAvailability, 'optionalAccess', _12 => _12.meetingId]) === meetingId ? initialAvailability.monthOffset : void 0;
|
|
358
380
|
const [monthOffset, setMonthOffsetState] = _react.useState.call(void 0, _nullishCoalesce(seededOffset, () => ( 0)));
|
|
359
381
|
const setMonthOffset = _react.useCallback.call(void 0, (offset) => {
|
|
360
|
-
setMonthOffsetState(Math.max(0, Math.min(
|
|
382
|
+
setMonthOffsetState(Math.max(0, Math.min(_chunkHETQETPVcjs.MAX_MONTH_OFFSET, offset)));
|
|
361
383
|
}, []);
|
|
362
384
|
const prevMeetingIdRef = _react.useRef.call(void 0, meetingId);
|
|
363
385
|
_react.useLayoutEffect.call(void 0, () => {
|
|
@@ -370,7 +392,7 @@ function useMeetingBooking(options) {
|
|
|
370
392
|
queryKey: meetingAvailabilityKey(apiBaseUrl, meetingId, monthOffset),
|
|
371
393
|
queryFn: async ({ signal }) => {
|
|
372
394
|
const params = new URLSearchParams({ meeting: meetingId, monthOffset: String(monthOffset) });
|
|
373
|
-
const res = await
|
|
395
|
+
const res = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/availability?${params}`, { signal });
|
|
374
396
|
if (!res.ok) throw new Error(`availability ${res.status}`);
|
|
375
397
|
return await res.json();
|
|
376
398
|
},
|
|
@@ -387,7 +409,7 @@ function useMeetingBooking(options) {
|
|
|
387
409
|
const bookMutation = _reactquery.useMutation.call(void 0, {
|
|
388
410
|
mutationFn: async (payload) => {
|
|
389
411
|
try {
|
|
390
|
-
const res = await
|
|
412
|
+
const res = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings/book`, {
|
|
391
413
|
method: "POST",
|
|
392
414
|
headers: { "Content-Type": "application/json" },
|
|
393
415
|
body: JSON.stringify(payload)
|
|
@@ -474,7 +496,7 @@ var canonicalNumber = (v) => {
|
|
|
474
496
|
};
|
|
475
497
|
var FIELD_CONTROLS = {
|
|
476
498
|
text: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
477
|
-
|
|
499
|
+
_chunkXXBLN4BPcjs.Input,
|
|
478
500
|
{
|
|
479
501
|
id,
|
|
480
502
|
type: _nullishCoalesce(field.inputType, () => ( "text")),
|
|
@@ -487,7 +509,7 @@ var FIELD_CONTROLS = {
|
|
|
487
509
|
}
|
|
488
510
|
),
|
|
489
511
|
textarea: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
490
|
-
|
|
512
|
+
_chunkL6ZQGWCXcjs.Textarea,
|
|
491
513
|
{
|
|
492
514
|
id,
|
|
493
515
|
required: field.required,
|
|
@@ -498,7 +520,7 @@ var FIELD_CONTROLS = {
|
|
|
498
520
|
}
|
|
499
521
|
),
|
|
500
522
|
number: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
501
|
-
|
|
523
|
+
_chunkXXBLN4BPcjs.Input,
|
|
502
524
|
{
|
|
503
525
|
id,
|
|
504
526
|
type: "number",
|
|
@@ -511,7 +533,7 @@ var FIELD_CONTROLS = {
|
|
|
511
533
|
}
|
|
512
534
|
),
|
|
513
535
|
phone: ({ field, id, registerName, error, register }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
514
|
-
|
|
536
|
+
_chunkXXBLN4BPcjs.Input,
|
|
515
537
|
{
|
|
516
538
|
id,
|
|
517
539
|
type: "tel",
|
|
@@ -527,7 +549,7 @@ var FIELD_CONTROLS = {
|
|
|
527
549
|
date: ({ field, id, registerName, error, register }) => (
|
|
528
550
|
// The native picker emits exactly the wire shape (`YYYY-MM-DD`).
|
|
529
551
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
530
|
-
|
|
552
|
+
_chunkXXBLN4BPcjs.Input,
|
|
531
553
|
{
|
|
532
554
|
id,
|
|
533
555
|
type: "date",
|
|
@@ -543,18 +565,18 @@ var FIELD_CONTROLS = {
|
|
|
543
565
|
{
|
|
544
566
|
control,
|
|
545
567
|
name: registerName,
|
|
546
|
-
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
568
|
+
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPPXR22YCcjs.Select, { value: _nullishCoalesce(rhf.value, () => ( "")), onValueChange: rhf.onChange, children: [
|
|
547
569
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
548
|
-
|
|
570
|
+
_chunkPPXR22YCcjs.SelectTrigger,
|
|
549
571
|
{
|
|
550
572
|
id,
|
|
551
573
|
"aria-required": field.required || void 0,
|
|
552
574
|
"aria-invalid": Boolean(error),
|
|
553
575
|
invalid: Boolean(error),
|
|
554
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
576
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.SelectValue, { placeholder: "Select\u2026" })
|
|
555
577
|
}
|
|
556
578
|
),
|
|
557
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.SelectContent, { children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.SelectItem, { value: opt, children: optionLabel(field, opt) }, opt)) })
|
|
558
580
|
] })
|
|
559
581
|
}
|
|
560
582
|
),
|
|
@@ -564,15 +586,15 @@ var FIELD_CONTROLS = {
|
|
|
564
586
|
control,
|
|
565
587
|
name: registerName,
|
|
566
588
|
render: ({ field: rhf }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
567
|
-
|
|
589
|
+
_chunkL6ZQGWCXcjs.RadioGroup,
|
|
568
590
|
{
|
|
569
591
|
value: _nullishCoalesce(rhf.value, () => ( "")),
|
|
570
592
|
onValueChange: rhf.onChange,
|
|
571
593
|
"aria-required": field.required || void 0,
|
|
572
594
|
"aria-invalid": Boolean(error),
|
|
573
595
|
children: (_nullishCoalesce(field.options, () => ( []))).map((opt) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
575
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.RadioGroupItem, { id: `${id}-${opt}`, value: opt }),
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { htmlFor: `${id}-${opt}`, children: optionLabel(field, opt) })
|
|
576
598
|
] }, opt))
|
|
577
599
|
}
|
|
578
600
|
)
|
|
@@ -602,7 +624,7 @@ var FIELD_CONTROLS = {
|
|
|
602
624
|
"aria-invalid": Boolean(error)
|
|
603
625
|
}
|
|
604
626
|
),
|
|
605
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.Label, { htmlFor: `${id}-${opt}`, children: optionLabel(field, opt) })
|
|
606
628
|
] }, opt)) });
|
|
607
629
|
}
|
|
608
630
|
}
|
|
@@ -710,7 +732,7 @@ function BookingForm({
|
|
|
710
732
|
() => [...BUILT_IN_BOOKING_FIELDS.map((field) => field.name), ...supportedFields.map((field) => field.name)],
|
|
711
733
|
[supportedFields]
|
|
712
734
|
);
|
|
713
|
-
const formRescue =
|
|
735
|
+
const formRescue = _chunkJO5TLJPMcjs.useRescuedForm.call(void 0,
|
|
714
736
|
{ watch, getValues, setValue },
|
|
715
737
|
{
|
|
716
738
|
rescue,
|
|
@@ -719,7 +741,7 @@ function BookingForm({
|
|
|
719
741
|
fieldPath: (name) => BUILT_IN_BOOKING_FIELDS.some((field) => field.name === name) ? name : `formFields.${name}`
|
|
720
742
|
}
|
|
721
743
|
);
|
|
722
|
-
const { toast } =
|
|
744
|
+
const { toast } = _chunkJO5TLJPMcjs.useToast.call(void 0, );
|
|
723
745
|
const onInvalid = () => {
|
|
724
746
|
if (deniedEmailDomains && emailDomainDenied(getValues("email"), deniedEmailDomains)) {
|
|
725
747
|
toast({
|
|
@@ -758,7 +780,7 @@ function BookingForm({
|
|
|
758
780
|
const copy = _optionalChain([fieldCopy, 'optionalAccess', _29 => _29[field.name]]);
|
|
759
781
|
const shown = copy ? { ...field, label: _nullishCoalesce(copy.label, () => ( field.label)), placeholder: _nullishCoalesce(copy.placeholder, () => ( field.placeholder)) } : field;
|
|
760
782
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
761
|
-
|
|
783
|
+
_chunkXXBLN4BPcjs.FieldWrapper,
|
|
762
784
|
{
|
|
763
785
|
label: shown.label,
|
|
764
786
|
htmlFor: where.id,
|
|
@@ -807,8 +829,8 @@ function BookingForm({
|
|
|
807
829
|
children: _nullishCoalesce(submitLabel, () => ( DEFAULT_SUBMIT_LABEL))
|
|
808
830
|
}
|
|
809
831
|
);
|
|
810
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ...
|
|
811
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
832
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: submit, className: FORM_STACK, noValidate: true, ..._chunkHETQETPVcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS, children: [
|
|
833
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.HoneypotField, { ...honeypotInputProps }),
|
|
812
834
|
fieldRows ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
813
835
|
placedRows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: slotColumnClass(row, slot, slotIndex), children: slotNode(slot.name) }, slot.name)) }, row.map((s) => s.name).join("|"))),
|
|
814
836
|
[...unplacedBuiltIns, ...unplacedFields].map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: slotNode(field.name) }, field.name))
|
|
@@ -821,7 +843,7 @@ function BookingForm({
|
|
|
821
843
|
supportedFields.map((field) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: renderDeclaredField(field) }, field.name))
|
|
822
844
|
] }),
|
|
823
845
|
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
824
|
-
|
|
846
|
+
_chunkL6ZQGWCXcjs.CheckboxBlock,
|
|
825
847
|
{
|
|
826
848
|
id: "ms-host-consent",
|
|
827
849
|
checked: consented,
|
|
@@ -840,7 +862,7 @@ function BookingForm({
|
|
|
840
862
|
// box doesn't shove the submit button down the card. With no error the
|
|
841
863
|
// wrapper is `display:contents` and the panel below is the flex item,
|
|
842
864
|
// exactly as it was.
|
|
843
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
865
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.FieldWrapper, { error: _optionalChain([errors, 'access', _32 => _32.legalConsentResponses, 'optionalAccess', _33 => _33.message]), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
844
866
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.processingConsentText }),
|
|
845
867
|
legalConsent.communicationConsentText && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: legalConsent.communicationConsentText }),
|
|
846
868
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -856,7 +878,7 @@ function BookingForm({
|
|
|
856
878
|
// same block the waitlist form uses): box + label in one
|
|
857
879
|
// bordered row.
|
|
858
880
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
859
|
-
|
|
881
|
+
_chunkL6ZQGWCXcjs.CheckboxBlock,
|
|
860
882
|
{
|
|
861
883
|
id: `ms-consent-${box.communicationTypeId}`,
|
|
862
884
|
checked: _nullishCoalesce(_optionalChain([current, 'optionalAccess', _34 => _34.consented]), () => ( false)),
|
|
@@ -888,13 +910,13 @@ function BookingFormSkeleton({
|
|
|
888
910
|
footerNote
|
|
889
911
|
}) {
|
|
890
912
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex-1", FORM_STACK), children: [
|
|
891
|
-
skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS))).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
892
|
-
!fieldRows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
893
|
-
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
913
|
+
skeletonRows(_nullishCoalesce(fieldRows, () => ( DEFAULT_FIELD_ROWS))).map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ROW_GRID, children: row.map((slot, slotIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, FIELD_SKELETON_CLASS, slotColumnClass(row, slot, slotIndex)) }, slot.name)) }, row.map((s) => s.name).join("|"))),
|
|
914
|
+
!fieldRows && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-[7.75rem] w-full" }),
|
|
915
|
+
consent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-[4.25rem] w-full" }),
|
|
894
916
|
footerNote ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: FOOTER_ROW_CLASS, children: [
|
|
895
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
896
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
897
|
-
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: FOOTER_BARE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
917
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-5 min-w-40 flex-1" }),
|
|
918
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, "h-12 w-full", SUBMIT_WIDE_CLASS) })
|
|
919
|
+
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: FOOTER_BARE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-12 w-40" }) })
|
|
898
920
|
] });
|
|
899
921
|
}
|
|
900
922
|
function normalizeFieldRows(fieldRows, resolves = () => true) {
|
|
@@ -922,7 +944,7 @@ function skeletonRows(fieldRows) {
|
|
|
922
944
|
// src/components/meeting-scheduler/confirmation.tsx
|
|
923
945
|
|
|
924
946
|
function Confirmation({ confirmation, timezone }) {
|
|
925
|
-
const when =
|
|
947
|
+
const when = _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, confirmation.startTimeMs, timezone, "weekdayDateTimeZoned", {
|
|
926
948
|
viewerLocale: true
|
|
927
949
|
});
|
|
928
950
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
|
|
@@ -932,7 +954,7 @@ function Confirmation({ confirmation, timezone }) {
|
|
|
932
954
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
933
955
|
when,
|
|
934
956
|
" \xB7 ",
|
|
935
|
-
|
|
957
|
+
_chunkF5BPGWGTcjs.formatDurationCompact.call(void 0, confirmation.durationMs / 1e3)
|
|
936
958
|
] }),
|
|
937
959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "A calendar invite is on its way to your email." })
|
|
938
960
|
] });
|
|
@@ -953,21 +975,21 @@ function ContextPanelSkeleton({
|
|
|
953
975
|
backLabel = "Back"
|
|
954
976
|
}) {
|
|
955
977
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
956
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
978
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
957
979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
958
980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_MAIN, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
959
981
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] content-lg:flex-none", children: [
|
|
960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
982
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-8 w-8 shrink-0 rounded-full" }),
|
|
961
983
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
962
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
963
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
984
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-5 w-32" }),
|
|
985
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-4 w-24" })
|
|
964
986
|
] })
|
|
965
987
|
] }),
|
|
966
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-4 w-20 shrink-0" })
|
|
967
989
|
] }) }),
|
|
968
990
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_ASIDE, children: [
|
|
969
991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
970
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
992
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-12 w-full" })
|
|
971
993
|
] })
|
|
972
994
|
] })
|
|
973
995
|
] });
|
|
@@ -989,13 +1011,13 @@ function SchedulerContextPanel({
|
|
|
989
1011
|
className
|
|
990
1012
|
}) {
|
|
991
1013
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, PANEL_STACK, className), children: [
|
|
992
|
-
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1014
|
+
onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPXR22YCcjs.BackButton, { label: backLabel, onClick: onBack, className: BACK_BUTTON_CLASS }),
|
|
993
1015
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_BODY, children: [
|
|
994
1016
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: STRIP_MAIN, children: [
|
|
995
1017
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: IDENTITY_ROW, children: [
|
|
996
1018
|
hosts.length > 0 && hosts.length <= 3 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)]", children: hosts.map((host) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
997
1019
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
998
|
-
|
|
1020
|
+
_chunkF5BPGWGTcjs.SquareAvatar,
|
|
999
1021
|
{
|
|
1000
1022
|
variant: "round",
|
|
1001
1023
|
size: "sm",
|
|
@@ -1010,7 +1032,7 @@ function SchedulerContextPanel({
|
|
|
1010
1032
|
] })
|
|
1011
1033
|
] }, host.name)) }),
|
|
1012
1034
|
hosts.length > 3 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
1013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSVSEN4Jcjs.AvatarStack, { people: hosts, max: 4, size: "lg", label: "Hosts" }),
|
|
1014
1036
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: [
|
|
1015
1037
|
hosts.length,
|
|
1016
1038
|
" hosts on this calendar"
|
|
@@ -1020,7 +1042,7 @@ function SchedulerContextPanel({
|
|
|
1020
1042
|
// Post-selection, or a link that offers one length: a static line,
|
|
1021
1043
|
// which is what sits beside the host on the header-strip layouts.
|
|
1022
1044
|
selectedDurationMs != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "shrink-0 text-ods-text-secondary text-h6", children: [
|
|
1023
|
-
|
|
1045
|
+
_chunkF5BPGWGTcjs.formatDurationCompact.call(void 0, selectedDurationMs / 1e3),
|
|
1024
1046
|
" call"
|
|
1025
1047
|
] })
|
|
1026
1048
|
) : null
|
|
@@ -1036,7 +1058,7 @@ function SchedulerContextPanel({
|
|
|
1036
1058
|
size: "small-legacy",
|
|
1037
1059
|
disabled,
|
|
1038
1060
|
onClick: () => onSelectDuration(ms),
|
|
1039
|
-
children:
|
|
1061
|
+
children: _chunkF5BPGWGTcjs.formatDurationCompact.call(void 0, ms / 1e3)
|
|
1040
1062
|
},
|
|
1041
1063
|
ms
|
|
1042
1064
|
)) })
|
|
@@ -1051,7 +1073,7 @@ function SchedulerContextPanel({
|
|
|
1051
1073
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, STRIP_ASIDE, locked && "content-max-lg:hidden"), children: [
|
|
1052
1074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: FIELD_LABEL_CLASS, children: "Timezone" }),
|
|
1053
1075
|
timezone ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1054
|
-
|
|
1076
|
+
_chunkL6ZQGWCXcjs.TimezoneSelect,
|
|
1055
1077
|
{
|
|
1056
1078
|
value: timezone,
|
|
1057
1079
|
disabled,
|
|
@@ -1059,7 +1081,7 @@ function SchedulerContextPanel({
|
|
|
1059
1081
|
if (tz) _optionalChain([onTimezoneChange, 'optionalCall', _35 => _35(tz)]);
|
|
1060
1082
|
}
|
|
1061
1083
|
}
|
|
1062
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1084
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-12 w-full" })
|
|
1063
1085
|
] })
|
|
1064
1086
|
] })
|
|
1065
1087
|
] });
|
|
@@ -1083,7 +1105,7 @@ function dateFromDayKey(key) {
|
|
|
1083
1105
|
return new Date(y, m - 1, d, 12);
|
|
1084
1106
|
}
|
|
1085
1107
|
function timeLabelInZone(ms, timeZone) {
|
|
1086
|
-
return
|
|
1108
|
+
return _chunkF5BPGWGTcjs.formatTimeWithTimezone.call(void 0, ms, timeZone, { viewerLocale: true });
|
|
1087
1109
|
}
|
|
1088
1110
|
var CALENDAR_W = "content-md:w-[19rem] content-md:shrink-0 content-lg:w-[16rem]";
|
|
1089
1111
|
var COLUMN_HEADING_CLASS = "shrink-0 text-h4 text-ods-text-primary";
|
|
@@ -1127,25 +1149,25 @@ var COLUMN_DIVIDER = "border-b border-ods-border content-md:border-b-0 content-m
|
|
|
1127
1149
|
function monthLabelFor(offset) {
|
|
1128
1150
|
const now = /* @__PURE__ */ new Date();
|
|
1129
1151
|
const month = new Date(now.getFullYear(), now.getMonth() + offset, 1);
|
|
1130
|
-
return
|
|
1152
|
+
return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, month, _chunkF5BPGWGTcjs.VIEWER_TIMEZONE, "monthYear");
|
|
1131
1153
|
}
|
|
1132
1154
|
var DISABLE_EVERY_DAY = () => true;
|
|
1133
1155
|
var NOOP = () => void 0;
|
|
1134
1156
|
function DayCalendar({ monthOffset, onMonthOffsetChange, selectedDay, onSelectDay, slotsByDay }) {
|
|
1135
1157
|
const now = /* @__PURE__ */ new Date();
|
|
1136
1158
|
const startMonth = new Date(now.getFullYear(), now.getMonth(), 1);
|
|
1137
|
-
const endMonth = new Date(now.getFullYear(), now.getMonth() +
|
|
1159
|
+
const endMonth = new Date(now.getFullYear(), now.getMonth() + _chunkHETQETPVcjs.MAX_MONTH_OFFSET + 1, 0);
|
|
1138
1160
|
const visibleMonth = new Date(now.getFullYear(), now.getMonth() + monthOffset, 1);
|
|
1139
1161
|
const dayHasNoSlots = _react.useCallback.call(void 0, (day) => !_optionalChain([slotsByDay, 'optionalAccess', _36 => _36.has, 'call', _37 => _37(calendarDayKey(day))]), [slotsByDay]);
|
|
1140
1162
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", "aria-busy": slotsByDay === null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1141
|
-
|
|
1163
|
+
_chunkL6ZQGWCXcjs.DatePickerCalendar,
|
|
1142
1164
|
{
|
|
1143
1165
|
mode: "single",
|
|
1144
1166
|
bare: true,
|
|
1145
1167
|
month: visibleMonth,
|
|
1146
1168
|
onMonthChange: (month) => {
|
|
1147
1169
|
const offset = (month.getFullYear() - now.getFullYear()) * 12 + (month.getMonth() - now.getMonth());
|
|
1148
|
-
onMonthOffsetChange(Math.max(0, Math.min(
|
|
1170
|
+
onMonthOffsetChange(Math.max(0, Math.min(_chunkHETQETPVcjs.MAX_MONTH_OFFSET, offset)));
|
|
1149
1171
|
},
|
|
1150
1172
|
fromDate: startMonth,
|
|
1151
1173
|
toDate: endMonth,
|
|
@@ -1180,10 +1202,10 @@ function SlotPickerSkeleton({ monthOffset = 0 }) {
|
|
|
1180
1202
|
}
|
|
1181
1203
|
function TimeChipsSkeleton() {
|
|
1182
1204
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1183
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: COLUMN_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "inline-block h-4 w-40 align-middle" }) }),
|
|
1184
1206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_GRID_CLASS, children: Array.from({ length: 16 }, (_, i) => (
|
|
1185
1207
|
// h-11 content-md:h-12 — the loaded chip's own default-size height.
|
|
1186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1208
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: _chunk3ATAYP36cjs.cn.call(void 0, CHIP_CLASS, "h-11 content-md:h-12") }, i)
|
|
1187
1209
|
)) })
|
|
1188
1210
|
] });
|
|
1189
1211
|
}
|
|
@@ -1232,7 +1254,7 @@ function SlotPicker({
|
|
|
1232
1254
|
)
|
|
1233
1255
|
] }),
|
|
1234
1256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, COLUMN_STACK, COLUMN_BOX, "min-w-0 content-md:flex-1"), children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TimeChipsSkeleton, {}) : selectedDay ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1235
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children:
|
|
1257
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: COLUMN_HEADING_CLASS, children: _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, dateFromDayKey(selectedDay), _chunkF5BPGWGTcjs.VIEWER_TIMEZONE, "weekday", { viewerLocale: true }) }),
|
|
1236
1258
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHIP_GRID_CLASS, children: daySlots.map((ms) => {
|
|
1237
1259
|
const isSelected = selectedSlot === ms;
|
|
1238
1260
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1261,7 +1283,7 @@ function SlotPicker({
|
|
|
1261
1283
|
monthLabelFor(monthOffset),
|
|
1262
1284
|
"."
|
|
1263
1285
|
] }),
|
|
1264
|
-
monthOffset <
|
|
1286
|
+
monthOffset < _chunkHETQETPVcjs.MAX_MONTH_OFFSET && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1265
1287
|
_chunkDFQYAYBHcjs.Button,
|
|
1266
1288
|
{
|
|
1267
1289
|
variant: "outline",
|
|
@@ -1283,10 +1305,10 @@ function SlotPicker({
|
|
|
1283
1305
|
|
|
1284
1306
|
|
|
1285
1307
|
function useNextAvailableLabel(ms) {
|
|
1286
|
-
const hydrated =
|
|
1308
|
+
const hydrated = _chunkHETQETPVcjs.useIsHydrated.call(void 0, );
|
|
1287
1309
|
return _react.useMemo.call(void 0, () => {
|
|
1288
1310
|
if (!hydrated || ms == null) return null;
|
|
1289
|
-
return
|
|
1311
|
+
return _chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, ms, _chunkF5BPGWGTcjs.VIEWER_TIMEZONE, "shortWeekdayDateTime", { viewerLocale: true }) || null;
|
|
1290
1312
|
}, [hydrated, ms]);
|
|
1291
1313
|
}
|
|
1292
1314
|
function DirectoryRow({
|
|
@@ -1297,7 +1319,7 @@ function DirectoryRow({
|
|
|
1297
1319
|
const nextLabel = useNextAvailableLabel(link.nextAvailableMs);
|
|
1298
1320
|
const subtitle = [
|
|
1299
1321
|
link.description,
|
|
1300
|
-
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) =>
|
|
1322
|
+
link.durationsMinutes.length > 0 ? link.durationsMinutes.map((m) => _chunkF5BPGWGTcjs.formatDurationCompact.call(void 0, m * 60)).join(" / ") : null,
|
|
1301
1323
|
link.kind === "team" ? "Team" : null
|
|
1302
1324
|
].filter(Boolean).join(" \u2022 ");
|
|
1303
1325
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1311,8 +1333,8 @@ function DirectoryRow({
|
|
|
1311
1333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: link.title }),
|
|
1312
1334
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
1313
1335
|
] }),
|
|
1314
|
-
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1315
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1336
|
+
audienceLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkETYLOZOBcjs.StatusBadge, { text: `For ${audienceLabel}`, singleLine: true, className: "hidden shrink-0 content-sm:inline-flex" }),
|
|
1337
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPSVSEN4Jcjs.AvatarStack, { people: link.hosts, max: 3, size: "md", label: "Hosts", className: "flex shrink-0" }),
|
|
1316
1338
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end justify-center content-md:flex", children: [
|
|
1317
1339
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Next available" }),
|
|
1318
1340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-h-5 text-ods-text-primary text-h6", children: link.nextAvailableMs == null ? "No times published" : _nullishCoalesce(nextLabel, () => ( " ")) })
|
|
@@ -1325,16 +1347,16 @@ function DirectoryRow({
|
|
|
1325
1347
|
function MeetingSchedulerDirectoryRowSkeleton() {
|
|
1326
1348
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-20 w-full items-center gap-4 rounded-lg border border-ods-border bg-ods-card px-4 py-3", children: [
|
|
1327
1349
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1", children: [
|
|
1328
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1329
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1350
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-5 w-1/2" }),
|
|
1351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-4 w-1/3" })
|
|
1330
1352
|
] }),
|
|
1331
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "hidden h-6 w-28 shrink-0 content-sm:block" }),
|
|
1354
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-10 w-10 shrink-0 rounded-full" }),
|
|
1333
1355
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden w-44 shrink-0 flex-col items-end gap-1 content-md:flex", children: [
|
|
1334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1335
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1356
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-4 w-24" }),
|
|
1357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-5 w-32" })
|
|
1336
1358
|
] }),
|
|
1337
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "size-12 shrink-0 rounded-md" })
|
|
1338
1360
|
] });
|
|
1339
1361
|
}
|
|
1340
1362
|
var PAGINATION_SLOT_H = "h-[4.5rem]";
|
|
@@ -1360,7 +1382,7 @@ function MeetingSchedulerDirectory({
|
|
|
1360
1382
|
setError(null);
|
|
1361
1383
|
try {
|
|
1362
1384
|
const qs = includeAll ? "?scope=all" : "";
|
|
1363
|
-
const res = await
|
|
1385
|
+
const res = await _chunkAUMKE74Mcjs.contentFetch.call(void 0, `${apiBaseUrl}/api/meetings${qs}`, { signal: controller.signal });
|
|
1364
1386
|
if (!res.ok) throw new Error(`meetings ${res.status}`);
|
|
1365
1387
|
const payload = await res.json();
|
|
1366
1388
|
if (active) setData(payload);
|
|
@@ -1381,18 +1403,18 @@ function MeetingSchedulerDirectory({
|
|
|
1381
1403
|
const purposes = _nullishCoalesce(_optionalChain([data, 'optionalAccess', _40 => _40.purposes]), () => ( []));
|
|
1382
1404
|
return purposes.flatMap((p) => p.links.map((link) => ({ link, audienceLabel: p.label })));
|
|
1383
1405
|
}, [data]);
|
|
1384
|
-
const totalPages =
|
|
1406
|
+
const totalPages = _chunkAECTRMGQcjs.pageCount.call(void 0, rows.length, pageSize);
|
|
1385
1407
|
const pageRows = rows.slice((page - 1) * pageSize, page * pageSize);
|
|
1386
1408
|
const rowsMinHeight = pageSize * 80 + (pageSize - 1) * 16;
|
|
1387
1409
|
if (isLoading && !data) {
|
|
1388
1410
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
1389
1411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-4", style: { minHeight: rowsMinHeight }, children: Array.from({ length: pageSize }, (_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MeetingSchedulerDirectoryRowSkeleton, {}, i)) }),
|
|
1390
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1412
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCPA2CKRZcjs.Skeleton, { className: "h-10 w-64" }) })
|
|
1391
1413
|
] });
|
|
1392
1414
|
}
|
|
1393
1415
|
if (error) {
|
|
1394
1416
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1395
|
-
|
|
1417
|
+
_chunkMA4Q5RBPcjs.EmptyState,
|
|
1396
1418
|
{
|
|
1397
1419
|
type: "generic",
|
|
1398
1420
|
title: "We couldn't load available call times",
|
|
@@ -1403,7 +1425,7 @@ function MeetingSchedulerDirectory({
|
|
|
1403
1425
|
}
|
|
1404
1426
|
if (rows.length === 0) {
|
|
1405
1427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col justify-center", className), style: { minHeight: rowsMinHeight + 104 }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1406
|
-
|
|
1428
|
+
_chunkMA4Q5RBPcjs.EmptyState,
|
|
1407
1429
|
{
|
|
1408
1430
|
type: "generic",
|
|
1409
1431
|
title: "No call times are published right now",
|
|
@@ -1415,7 +1437,7 @@ function MeetingSchedulerDirectory({
|
|
|
1415
1437
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "flex flex-col", className), children: [
|
|
1416
1438
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col gap-4", style: { minHeight: rowsMinHeight }, children: pageRows.map(({ link, audienceLabel }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DirectoryRow, { link, audienceLabel, bookingBasePath }, link.id)) }),
|
|
1417
1439
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "mt-8 flex w-full items-center justify-center", PAGINATION_SLOT_H), children: totalPages > 1 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1418
|
-
|
|
1440
|
+
_chunkHWVUR735cjs.PersistentPaginationWrapper,
|
|
1419
1441
|
{
|
|
1420
1442
|
isLoading,
|
|
1421
1443
|
currentPage: page,
|
|
@@ -1516,7 +1538,7 @@ function HubSpotMeetingScheduler({
|
|
|
1516
1538
|
isSubmitting
|
|
1517
1539
|
} = useMeetingBooking({ meetingId, apiBaseUrl, initialAvailability });
|
|
1518
1540
|
const detailsFirst = flow === "details-first";
|
|
1519
|
-
const hydrated =
|
|
1541
|
+
const hydrated = _chunkHETQETPVcjs.useIsHydrated.call(void 0, );
|
|
1520
1542
|
const [pickedTimezone, setTimezone] = _react.useState.call(void 0, null);
|
|
1521
1543
|
const resolvedLocalTimezone = _react.useMemo.call(void 0, () => {
|
|
1522
1544
|
if (!hydrated) return null;
|
|
@@ -1549,8 +1571,8 @@ function HubSpotMeetingScheduler({
|
|
|
1549
1571
|
const [selectedSlot, setSelectedSlot] = _react.useState.call(void 0, null);
|
|
1550
1572
|
const [confirmation, setConfirmation] = _react.useState.call(void 0, null);
|
|
1551
1573
|
const [bookingError, setBookingError] = _react.useState.call(void 0, null);
|
|
1552
|
-
const { honeypotInputProps, getSignals, resetSignals } =
|
|
1553
|
-
const { toast } =
|
|
1574
|
+
const { honeypotInputProps, getSignals, resetSignals } = _chunkJO5TLJPMcjs.useHumanitySignals.call(void 0, );
|
|
1575
|
+
const { toast } = _chunkJO5TLJPMcjs.useToast.call(void 0, );
|
|
1554
1576
|
const autoAdvanceCount = _react.useRef.call(void 0, 0);
|
|
1555
1577
|
const [machineFor, setMachineFor] = _react.useState.call(void 0, meetingId);
|
|
1556
1578
|
if (machineFor !== meetingId) {
|
|
@@ -1624,7 +1646,7 @@ function HubSpotMeetingScheduler({
|
|
|
1624
1646
|
return;
|
|
1625
1647
|
}
|
|
1626
1648
|
if (result.ok && result.confirmation) {
|
|
1627
|
-
|
|
1649
|
+
_chunkJO5TLJPMcjs.completeFormRescue.call(void 0, rescue, payload[_chunkGQ7JJUITcjs.FORM_RESCUE_ATTEMPT_FIELD]);
|
|
1628
1650
|
setConfirmation(result.confirmation);
|
|
1629
1651
|
setStep("confirmed");
|
|
1630
1652
|
_optionalChain([onBooked, 'optionalCall', _46 => _46(result.confirmation)]);
|
|
@@ -1720,10 +1742,10 @@ function HubSpotMeetingScheduler({
|
|
|
1720
1742
|
durations.length > 0
|
|
1721
1743
|
) : durationMs != null && selectedSlot != null && timezone) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, stepPanelClass, "gap-[var(--spacing-system-m)]"), children: [
|
|
1722
1744
|
selectedSlot != null && durationMs != null && timezone != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: [
|
|
1723
|
-
|
|
1745
|
+
_chunkF5BPGWGTcjs.formatDateWithTimezone.call(void 0, selectedSlot, timezone, "weekdayDateTimeZoned", { viewerLocale: true }),
|
|
1724
1746
|
" \xB7",
|
|
1725
1747
|
" ",
|
|
1726
|
-
|
|
1748
|
+
_chunkF5BPGWGTcjs.formatDurationCompact.call(void 0, durationMs / 1e3)
|
|
1727
1749
|
] }),
|
|
1728
1750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1729
1751
|
DetailsForm,
|
|
@@ -1747,11 +1769,11 @@ function HubSpotMeetingScheduler({
|
|
|
1747
1769
|
)
|
|
1748
1770
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)] content-md:min-h-0 content-md:flex-1", children: [
|
|
1749
1771
|
bookingError === "SLOT_TAKEN" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1750
|
-
|
|
1772
|
+
_chunkL6ZQGWCXcjs.Alert,
|
|
1751
1773
|
{
|
|
1752
1774
|
variant: "warning",
|
|
1753
1775
|
className: "mx-[var(--spacing-system-l)] mt-[var(--spacing-system-l)] w-auto content-lg:m-0 content-lg:w-full",
|
|
1754
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1776
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL6ZQGWCXcjs.AlertDescription, { children: "That time was just taken \u2014 pick another slot below. (If you already submitted, check your email for a confirmation before rebooking.)" })
|
|
1755
1777
|
}
|
|
1756
1778
|
),
|
|
1757
1779
|
timezone && durationMs != null ? (
|