@alfadocs/ui-kit 1.143.0 → 1.145.0
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/_chunks/{actions-cell-renderer-CPNyF6ye.js → actions-cell-renderer-BA1FB6cT.js} +3 -3
- package/dist/_chunks/{address-autocomplete-yDLqg43e.js → address-autocomplete-_LeOFdM7.js} +2 -2
- package/dist/_chunks/{address-fields-Bh9JZJHZ.js → address-fields-C4khof4C.js} +2 -2
- package/dist/_chunks/{agenda-tray-CGcS_qoM.js → agenda-tray-NgxPuAAz.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-Lws3113e.js → ai-credits-exhausted-notice-DCq27xy2.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-D_Zm_N2A.js → ai-credits-notice-B6buIgmV.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-CEDEWE2-.js → ai-permission-notice-C_YB3MBA.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-y4-dtQIT.js → ai-prompt-input-Bwoa8gNc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-CJVOjr2I.js → ai-summary-panel-Cdsve-XN.js} +7 -7
- package/dist/_chunks/{alia-sidebar-AKz42_XE.js → alia-sidebar-Bjuxk8mU.js} +7 -7
- package/dist/_chunks/{anamnesis-card-W8ZaDytS.js → anamnesis-card-G0qzw0Oi.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-wUl7oXBO.js → anamnesis-summary-rows-QCv6zW-J.js} +7 -7
- package/dist/_chunks/{appointment-details-panel.history-B8R8XfGe.js → appointment-details-panel.history-eqPMKmW0.js} +3 -3
- package/dist/_chunks/{appointment-details-panel.identity-C20Y9xNC.js → appointment-details-panel.identity--_j07UG1.js} +2 -2
- package/dist/_chunks/{appointment-peek-BCzekfWh.js → appointment-peek-B3raO90X.js} +3 -3
- package/dist/_chunks/{appointment-timeline-CMc_3C74.js → appointment-timeline-D5qbZ7in.js} +5 -5
- package/dist/_chunks/{appointment-tray-D8k5YKLU.js → appointment-tray-CFCxukwq.js} +3 -3
- package/dist/_chunks/{audio-recorder-DxhCiLqG.js → audio-recorder-DcUIVMWj.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-10BdaOQ8.js → balance-badge-cell-BPz9bQAB.js} +4 -4
- package/dist/_chunks/{bill-line-table-qAdmV19W.js → bill-line-table-DnkFqMnM.js} +2 -2
- package/dist/_chunks/{bishop-score-DbvfBlBM.js → bishop-score-fJRN0MtR.js} +2 -2
- package/dist/_chunks/{bmi-calculator-rq3ZsKp0.js → bmi-calculator-FmXBHbot.js} +2 -2
- package/dist/_chunks/{button-DohK_Ak_.js → button-Dp4j9ygh.js} +6 -6
- package/dist/_chunks/{button-group-DoKG16Fy.js → button-group-N60L3HMa.js} +2 -2
- package/dist/_chunks/{calendar-CyLtLBNP.js → calendar-DDTWUYnw.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-9kVppi9f.js → calendar-appointment-editor-dialog-sY-k0GGW.js} +21 -21
- package/dist/_chunks/{calendar-editor-discard-host-BblBxMqT.js → calendar-editor-discard-host-DWS_kM-a.js} +6 -6
- package/dist/_chunks/{calendar-waiting-list-panel-CSFJw5np.js → calendar-waiting-list-panel-Bm7NAZdk.js} +9 -9
- package/dist/_chunks/{calendar-workspace.model-B8yPwuBv.js → calendar-workspace.model-4zmA3BFE.js} +2 -2
- package/dist/_chunks/{calendar.sheets-DZh3p8HE.js → calendar.sheets-CCvdZF-R.js} +15 -15
- package/dist/_chunks/{calls-panel-CnjAKFgA.js → calls-panel-BTTfHnPD.js} +5 -5
- package/dist/_chunks/{care-plan-card-CkRqA58O.js → care-plan-card-2U2LuIJD.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DurPuYAP.js → care-plan-entry-card-CUAlQv1c.js} +2 -2
- package/dist/_chunks/{care-plan-header-C4i93i8H.js → care-plan-header-Dm9KZ41y.js} +2 -2
- package/dist/_chunks/{carousel.agent-CkDXR3-8.js → carousel.agent-CN78qTiR.js} +2 -2
- package/dist/_chunks/{chart-ChNsJf9_.js → chart-EUdS8caO.js} +3 -3
- package/dist/_chunks/{chat-input-BmvnuZqj.js → chat-input-kduOKc5Q.js} +2 -2
- package/dist/_chunks/{chat-message-IG9uRq6y.js → chat-message-Db7cWCgO.js} +3 -3
- package/dist/_chunks/{check-in-documents-CEVcgcYZ.js → check-in-documents-v1jFfDE1.js} +2 -2
- package/dist/_chunks/{code-block-BTsCXVGI.js → code-block-BpmhaXp_.js} +2 -2
- package/dist/_chunks/{communications-panel-MgAuWYBy.js → communications-panel-DDzUyoHi.js} +6 -6
- package/dist/_chunks/{connection-status-DWClakYw.js → connection-status-Bi6KPTlh.js} +3 -3
- package/dist/_chunks/{contact-profile-card-CsZNMlws.js → contact-profile-card-BxnBI1z1.js} +3 -3
- package/dist/_chunks/{control-room-rail-DBmNpbDE.js → control-room-rail-BQvaYowi.js} +3 -3
- package/dist/_chunks/{copy-field-BaYEDJ9f.js → copy-field-Bp0rH_YO.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BUCGfEcy.js → cycle-calculator-Dd-dNPyR.js} +2 -2
- package/dist/_chunks/{dashboard-grid-D2egA1Zu.js → dashboard-grid-C_cby1Cf.js} +2 -2
- package/dist/_chunks/{data-grid-tyE2kGfx.js → data-grid-CujX-2tF.js} +6 -6
- package/dist/_chunks/{data-grid-tabs-Mbj6bSK2.js → data-grid-tabs-3NIWrciW.js} +2 -2
- package/dist/_chunks/{data-table-Huk4CNHs.js → data-table-DFAYYsSc.js} +6 -6
- package/dist/_chunks/{data-table-tabs-D5ujdK56.js → data-table-tabs-BKdmGcyD.js} +2 -2
- package/dist/_chunks/{date-range-panel-BOgfP_V3.js → date-range-panel-B86RANxB.js} +2 -2
- package/dist/_chunks/{default-tabs-ChkVzOL8.js → default-tabs-CqP1uWdx.js} +9 -9
- package/dist/_chunks/{description-list-BxzDN9o2.js → description-list-DA4TgL_I.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-B7ePcJcg.js → dev-bypass-button-BzfYGPuf.js} +2 -2
- package/dist/_chunks/{document-preview-x_S8V7VC.js → document-preview-oSuJsJ3k.js} +4 -4
- package/dist/_chunks/{document-scanner-CETscDea.js → document-scanner-C_9P-ysi.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DpN0Z9p4.js → due-date-calculator-CcYdmiCI.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-C6z6ABN_.js → editable-currency-cell-renderer-DXJI0fnU.js} +3 -3
- package/dist/_chunks/{editable-description-KU56SP4P.js → editable-description-BQauSuCG.js} +3 -3
- package/dist/_chunks/{editor-overlay-Dc8uVxEp.js → editor-overlay-jc9HUeQ2.js} +30 -27
- package/dist/_chunks/{empty-state-DwJ5YNzz.js → empty-state-5REM7oDM.js} +2 -2
- package/dist/_chunks/{entity-summary-DgZSdp6d.js → entity-summary-CZmGcWi2.js} +3 -3
- package/dist/_chunks/{error-boundary-tAn_GuCu.js → error-boundary-BQ5mRqEd.js} +2 -2
- package/dist/_chunks/{error-page-WLhmWUTq.js → error-page-CdNGIezW.js} +2 -2
- package/dist/_chunks/{face-scheme-S88jbOzl.js → face-scheme-ByYeboH9.js} +5 -5
- package/dist/_chunks/{fetal-weight-DWj-_ME8.js → fetal-weight-BZql9VkN.js} +2 -2
- package/dist/_chunks/{field-array-CA-gn526.js → field-array-kwUgFOIr.js} +3 -3
- package/dist/_chunks/{file-manager-kdPsJq_k.js → file-manager-Cp3Z4VvM.js} +7 -7
- package/dist/_chunks/{finished-terminal-unDnXT4j.js → finished-terminal-YrhOLYbx.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-DZlpaMGg.js → fiscal-code-input-BsQS8gaD.js} +2 -2
- package/dist/_chunks/{forgot-password-form-B4ufmBFn.js → forgot-password-form-BUC_hDCJ.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BDeq9QWR.js → freemium-paywall-DafloSRi.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CCDIhSMV.js → gestational-age-calculator-DrVw8arH.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BekuksBv.js → hcg-doubling-XWQ6IhEg.js} +2 -2
- package/dist/_chunks/{header-l_B8MV0g.js → header-lzhNZEij.js} +2 -2
- package/dist/_chunks/{header-settings-CvZ7Qii6.js → header-settings-BIiYXX9_.js} +4 -4
- package/dist/_chunks/{heatmap-Cb4JSpv_.js → heatmap-DvsZ-mcL.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-C84_4iwX.js → help-me-write-templates-DlA54nu5.js} +6 -6
- package/dist/_chunks/{hover-card-CIiPOlyM.js → hover-card-CS8ulBf9.js} +2 -2
- package/dist/_chunks/{icon-button-group-CLhC7wjU.js → icon-button-group-DEAx9M5v.js} +2 -2
- package/dist/_chunks/{icon-button-S8_weU3g.js → icon-button-u9VMQn3x.js} +2 -2
- package/dist/_chunks/{icon-picker-Ct6n8GTa.js → icon-picker-CF4nDCzC.js} +3 -3
- package/dist/_chunks/{image-cropper-Ch80rFdt.js → image-cropper-CfaSPVt3.js} +2 -2
- package/dist/_chunks/{info-tip-CkH2En-i.js → info-tip-cCppV1fD.js} +2 -2
- package/dist/_chunks/{insert-result-CDMMt7q8.js → insert-result-UUow9IIY.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-CZ1B9yWh.js → invoice-upload-list-srvWy5_d.js} +5 -5
- package/dist/_chunks/{key-value-pair-DOTl68_U.js → key-value-pair-BykhMTcP.js} +2 -2
- package/dist/_chunks/{kit-extensions-C_oZ7WOq.js → kit-extensions-CSPGIdcn.js} +7 -7
- package/dist/_chunks/{link-cell-renderer-Bt_sl4iP.js → link-cell-renderer-CWLArl5e.js} +3 -3
- package/dist/_chunks/{locale-picker-OrojXX6E.js → locale-picker-BEJjNGCO.js} +3 -3
- package/dist/_chunks/{login-dev-card-oRh9h7N2.js → login-dev-card-DqUNJcd7.js} +2 -2
- package/dist/_chunks/{map-view-Cm69dCnY.js → map-view-n6GiDRWM.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-DnL187-U.js → marketplace-app-shell-CGA-R-zt.js} +4 -4
- package/dist/_chunks/{medication-line-BohqbCYD.js → medication-line-DFa5oFhf.js} +2 -2
- package/dist/_chunks/{medication-search-DoEDakoM.js → medication-search-CTUtXuPT.js} +2 -2
- package/dist/_chunks/{message-card-DvBjcZgH.js → message-card-DQML_W8I.js} +3 -3
- package/dist/_chunks/{message-tray-BHaE254g.js → message-tray-Dx2HPcKB.js} +4 -4
- package/dist/_chunks/{muscle-scheme-vNd8wU7V.js → muscle-scheme-BMFuuKGh.js} +2 -2
- package/dist/_chunks/{notes-panel-DCKbuZqS.js → notes-panel-C9aB1Cma.js} +4 -4
- package/dist/_chunks/{notification-card-CDuzAytQ.js → notification-card-BPGZhE5t.js} +3 -3
- package/dist/_chunks/{notification-tray-CnPV8jDA.js → notification-tray-BnC5OItw.js} +4 -4
- package/dist/_chunks/{optical-prescription-CWwrW4YQ.js → optical-prescription-DZvauMiM.js} +2 -2
- package/dist/_chunks/{panel-subview-DCyvn-49.js → panel-subview-DjBwNV16.js} +2 -2
- package/dist/_chunks/{parts-IFiXO68Y.js → parts-DyCxaRF0.js} +4 -4
- package/dist/_chunks/{patient-account-settings-BQ9bMsJS.js → patient-account-settings-Do0QbDJe.js} +5 -5
- package/dist/_chunks/{patient-card-Cpr8iD19.js → patient-card-D1DrK4BT.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-v5lYhMsh.js → patient-check-in-resume-Bxy1_Pfo.js} +8 -8
- package/dist/_chunks/{patient-details-6uJZ27ZL.js → patient-details-Cj3dp9GB.js} +3 -3
- package/dist/_chunks/{patient-field-row-D8Cu_MQp.js → patient-field-row-DDjsUsc_.js} +6 -6
- package/dist/_chunks/{patient-picker-CQNsqYn2.js → patient-picker-Dm74jHIk.js} +2 -2
- package/dist/_chunks/{patient-search-C6-INPjs.js → patient-search-5nLD0jpg.js} +3 -3
- package/dist/_chunks/{patient-sign-in-pin-DmMBwWet.js → patient-sign-in-pin-da7C8DOd.js} +3 -3
- package/dist/_chunks/{patient-sign-in-steps-BKcxNkdY.js → patient-sign-in-steps-kS2ktytw.js} +5 -5
- package/dist/_chunks/{patient-summary-card-NYjO0IfN.js → patient-summary-card-roM9Esfb.js} +5 -5
- package/dist/_chunks/{payment-automation-upsell-CGdG2Mwk.js → payment-automation-upsell-N1A_IIw0.js} +2 -2
- package/dist/_chunks/{payment-request-card-CNW00DCx.js → payment-request-card-C9VglWsV.js} +3 -3
- package/dist/_chunks/{periodontal-chart-DqHrQY4e.js → periodontal-chart-C5JFeQS7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-q9WSHRC2.js → periodontal-chart-card-DiZYn_60.js} +2 -2
- package/dist/_chunks/{popover-CkvP3rHZ.js → popover-C9O7my6h.js} +2 -2
- package/dist/_chunks/{portal-details-CwX3VNxh.js → portal-details-CKF4yFHs.js} +5 -5
- package/dist/_chunks/{portal-documents-BWdXhWpZ.js → portal-documents-DvpAwmSI.js} +5 -5
- package/dist/_chunks/{portal-parts-DbCMuZVl.js → portal-parts-Cvu4PfIY.js} +4 -4
- package/dist/_chunks/{practice-results-BUEsl2Pj.js → practice-results-D0TAgL8v.js} +6 -6
- package/dist/_chunks/{pregnancy-dating-wc9iCN0f.js → pregnancy-dating-BEVI6zvu.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DmrVHk9y.js → pregnancy-weight-gain-CDkFYcWW.js} +2 -2
- package/dist/_chunks/{prescription-history-DPjqflwJ.js → prescription-history-CD3e3U3I.js} +14 -14
- package/dist/_chunks/{privacy-lock-CcrjIbBv.js → privacy-lock-C25IybCx.js} +3 -3
- package/dist/_chunks/{privacy-mask-C2ZLKrMh.js → privacy-mask-zVh0ntm0.js} +2 -2
- package/dist/_chunks/{product-hub-panel-DiWjSIR2.js → product-hub-panel-NVpRuJeW.js} +3 -3
- package/dist/_chunks/{public-header.agent-Dsl9zhA2.js → public-header.agent-Dzo6ujrE.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-CSpr2paU.js → radiograph-panel.agent-BUZPsuSP.js} +4 -4
- package/dist/_chunks/{registration-form-BEsIjznv.js → registration-form-AtRCt8n5.js} +3 -3
- package/dist/_chunks/{reserved.agent-C_pr0bHy.js → reserved.agent-DjvapRF1.js} +6 -6
- package/dist/_chunks/{reset-password-form-DwtSNhnA.js → reset-password-form-AMUxqdAS.js} +2 -2
- package/dist/_chunks/{reviews-panel-CdHUSndF.js → reviews-panel-Cw5ygAxs.js} +4 -4
- package/dist/_chunks/rich-text-editor-CJXc5GgH.js +4351 -0
- package/dist/_chunks/{row-actions-C6d6vy5z.js → row-actions-CA938TAd.js} +3 -3
- package/dist/_chunks/{saved-view-tabs-CVUM3Nqz.js → saved-view-tabs-COU4bT59.js} +3 -3
- package/dist/_chunks/{send-registration-link-form-D-NkS__p.js → send-registration-link-form-D1lPdOPC.js} +2 -2
- package/dist/_chunks/{session-countdown-StcyUU5O.js → session-countdown-CGsIG01-.js} +2 -2
- package/dist/_chunks/{sheet-BIAhwdyS.js → sheet-CZDjW9Q-.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-DzrNgbWv.js → sign-in-with-alfadocs-button-D7JQVzZK.js} +2 -2
- package/dist/_chunks/{signature-request-BfKo3vOz.js → signature-request-CfHfAEQt.js} +3 -3
- package/dist/_chunks/{signed-out-frame-Oa2e1yps.js → signed-out-frame-CC25CgKo.js} +3 -3
- package/dist/_chunks/{signing-end-screen-Pmda6tCH.js → signing-end-screen-Bq6tkFE6.js} +5 -5
- package/dist/_chunks/{slot-grid-CfA5zeMv.js → slot-grid-khIpy8Gx.js} +4 -4
- package/dist/_chunks/{sms-code-entry-Dgp4GwlM.js → sms-code-entry-C70L3m6-.js} +2 -2
- package/dist/_chunks/{specialty-list-BzalHR8_.js → specialty-list-1tltjGRG.js} +2 -2
- package/dist/_chunks/{step-up-dialog-C1O8ctoh.js → step-up-dialog-NkVLEV9z.js} +3 -3
- package/dist/_chunks/{streaming-text-Nb3Q7L94.js → streaming-text-BXoHgx0l.js} +2 -2
- package/dist/_chunks/{sync-tray-BgrO4QjH.js → sync-tray-BQD-HuA4.js} +3 -3
- package/dist/_chunks/{task-editor-DNkrLbgK.js → task-editor-B9YpfwcW.js} +7 -7
- package/dist/_chunks/{task-tray-Bmi9wCHq.js → task-tray-CxxcGGgx.js} +3 -3
- package/dist/_chunks/{tasks-panel-CDFHAHrN.js → tasks-panel-DsjfS_k5.js} +5 -5
- package/dist/_chunks/{theme-toggle-C2LPw3xr.js → theme-toggle-DAqT_Yxy.js} +3 -3
- package/dist/_chunks/{toast-DQ1Zu1kk.js → toast-Cgmh1cvj.js} +2 -2
- package/dist/_chunks/{token-insert-menu-sGtftx4Y.js → token-insert-menu-BxqGMrZN.js} +2 -2
- package/dist/_chunks/{tool-rail-mWmYNRCV.js → tool-rail-DjPEiBa2.js} +2 -2
- package/dist/_chunks/{toolbar-JTR20W-U.js → toolbar-z_6tE7zG.js} +3 -3
- package/dist/_chunks/{tooth-scheme-DpgciFU8.js → tooth-scheme-C7xJEzaK.js} +2 -2
- package/dist/_chunks/{types-BrJRsnSG.js → types-DjQeiZXC.js} +2 -2
- package/dist/_chunks/{unit-converter-D1e1wZRE.js → unit-converter-CdrdnDlr.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-xj0PyEhI.js → use-appointment-details-read-Dod21IxM.js} +109 -101
- package/dist/_chunks/{verify-identity-types-CpeJIc9F.js → verify-identity-types-D0-sw1Qk.js} +2 -2
- package/dist/_chunks/{voice-control-panel-DqvvZN2A.js → voice-control-panel-DeWo646r.js} +6 -6
- package/dist/_chunks/{warning-stack-Dx7cpj10.js → warning-stack-BvfxZNfR.js} +3 -3
- package/dist/_chunks/{week-availability-CsTiwtYj.js → week-availability-D0tTll4q.js} +2 -2
- package/dist/_chunks/{weekly-hours-editor-BsVsgeOc.js → weekly-hours-editor-pTLyK8tt.js} +2 -2
- package/dist/_chunks/{workflow-map-CwfLHuiD.js → workflow-map-F7OThorL.js} +5 -5
- package/dist/_chunks/{workflow-webhook-action-BUWc2txJ.js → workflow-webhook-action-FImC6mwH.js} +6 -6
- package/dist/agent-catalog.json +1 -1
- package/dist/appointment-editor-panel/index.js +4 -4
- package/dist/aws-transcribe/index.js +176 -152
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +4 -4
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +2 -2
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +2 -2
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/medication-line/index.js +1 -1
- package/dist/components/medication-search/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -0
- package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +2 -0
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +7 -0
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sms-code-entry/index.js +1 -1
- package/dist/components/specialty-list/index.js +1 -1
- package/dist/components/step-up-dialog/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/weekly-hours-editor/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-calendar-selection.css +89 -0
- package/dist/index.js +157 -157
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/check-in-documents/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/patient-sign-in/index.js +2 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/redactor.css +3 -0
- package/dist/speech/aws-transcribe.d.ts +9 -0
- package/dist/tokens.css +4 -1
- package/dist/waiting-list-panel/index.js +4 -4
- package/package.json +7 -2
- package/dist/_chunks/rich-text-editor-DoCaj0qc.js +0 -4264
package/dist/_chunks/{workflow-webhook-action-BUWc2txJ.js → workflow-webhook-action-FImC6mwH.js}
RENAMED
|
@@ -2,19 +2,19 @@ import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Pt, useId as C, useRef as i, useState as m, useEffect as A, useCallback as Mt } from "react";
|
|
3
3
|
import { useTranslation as ze } from "react-i18next";
|
|
4
4
|
import { c as h } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { C as _e } from "./code-block-
|
|
5
|
+
import { C as _e } from "./code-block-BpmhaXp_.js";
|
|
6
6
|
import { A as k } from "./accordion-Ch3xp0mX.js";
|
|
7
7
|
import { A as U } from "./alert-C4WKViaS.js";
|
|
8
8
|
import { B as jt } from "./badge-BUk4RjTS.js";
|
|
9
|
-
import { B as $e } from "./button-
|
|
10
|
-
import { I as qt } from "./icon-button-
|
|
9
|
+
import { B as $e } from "./button-Dp4j9ygh.js";
|
|
10
|
+
import { I as qt } from "./icon-button-u9VMQn3x.js";
|
|
11
11
|
import { C as Xe } from "./card-n6W6LW-N.js";
|
|
12
12
|
import { C as Ht } from "./checkbox-DV4sNDeB.js";
|
|
13
|
-
import { F as _t } from "./field-array-
|
|
13
|
+
import { F as _t } from "./field-array-kwUgFOIr.js";
|
|
14
14
|
import { F as J } from "./form-field-CyHfOVKF.js";
|
|
15
15
|
import { P as $t } from "./password-input-SJGHFdOO.js";
|
|
16
16
|
import { T as ue } from "./text-input-B6iAgCr3.js";
|
|
17
|
-
import { T as Xt } from "./token-insert-menu-
|
|
17
|
+
import { T as Xt } from "./token-insert-menu-BxqGMrZN.js";
|
|
18
18
|
import { u as Ue } from "./use-copy-to-clipboard-Cyfc_dlv.js";
|
|
19
19
|
import { u as Kt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
20
20
|
import { C as Je } from "./check-DrFSN__t.js";
|
|
@@ -784,4 +784,4 @@ export {
|
|
|
784
784
|
To as W,
|
|
785
785
|
ao as a
|
|
786
786
|
};
|
|
787
|
-
//# sourceMappingURL=workflow-webhook-action-
|
|
787
|
+
//# sourceMappingURL=workflow-webhook-action-FImC6mwH.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as a, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as H, useCallback as h } from "react";
|
|
3
3
|
import { useTranslation as D } from "react-i18next";
|
|
4
|
-
import { I as j } from "../_chunks/icon-button-
|
|
4
|
+
import { I as j } from "../_chunks/icon-button-u9VMQn3x.js";
|
|
5
5
|
import { a as F } from "../_chunks/panel-header-CbtlTe85.js";
|
|
6
6
|
import { a as G } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
7
7
|
import { C as N, E as O } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
8
|
-
import { A as W, S as q } from "../_chunks/calendar.sheets-
|
|
9
|
-
import { u as z, c as B } from "../_chunks/calendar-editor-discard-host-
|
|
8
|
+
import { A as W, S as q } from "../_chunks/calendar.sheets-CCvdZF-R.js";
|
|
9
|
+
import { u as z, c as B } from "../_chunks/calendar-editor-discard-host-DWS_kM-a.js";
|
|
10
10
|
import { X as M } from "../_chunks/x-B5YnXwCz.js";
|
|
11
|
-
import { P as R } from "../_chunks/privacy-mask-
|
|
11
|
+
import { P as R } from "../_chunks/privacy-mask-zVh0ntm0.js";
|
|
12
12
|
import { C as X } from "../_chunks/calendar-clock-hbObjfGY.js";
|
|
13
13
|
function oo({
|
|
14
14
|
data: s,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
const
|
|
1
|
+
var q = Object.defineProperty;
|
|
2
|
+
var Q = (t, e, n) => e in t ? q(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var B = (t, e, n) => Q(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
const Z = (() => {
|
|
5
5
|
const t = new Uint32Array(256);
|
|
6
6
|
for (let e = 0; e < 256; e++) {
|
|
7
7
|
let n = e;
|
|
@@ -11,59 +11,59 @@ const J = (() => {
|
|
|
11
11
|
}
|
|
12
12
|
return t;
|
|
13
13
|
})();
|
|
14
|
-
function
|
|
14
|
+
function x(t) {
|
|
15
15
|
let e = 4294967295;
|
|
16
16
|
for (let n = 0; n < t.length; n++)
|
|
17
|
-
e = (
|
|
17
|
+
e = (Z[(e ^ t[n]) & 255] ^ e >>> 8) >>> 0;
|
|
18
18
|
return (e ^ 4294967295) >>> 0;
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
const e = Object.entries(t).map(([s,
|
|
23
|
-
const
|
|
24
|
-
1 +
|
|
25
|
-
),
|
|
26
|
-
let
|
|
27
|
-
return
|
|
28
|
-
}), n = new Uint8Array(e.reduce((s,
|
|
20
|
+
const V = 7, b = 12, I = new TextEncoder(), F = new TextDecoder();
|
|
21
|
+
function ee(t) {
|
|
22
|
+
const e = Object.entries(t).map(([s, c]) => {
|
|
23
|
+
const o = I.encode(s), u = I.encode(c), l = new Uint8Array(
|
|
24
|
+
1 + o.length + 1 + 2 + u.length
|
|
25
|
+
), h = new DataView(l.buffer);
|
|
26
|
+
let i = 0;
|
|
27
|
+
return h.setUint8(i, o.length), i += 1, l.set(o, i), i += o.length, h.setUint8(i, V), i += 1, h.setUint16(i, u.length), i += 2, l.set(u, i), l;
|
|
28
|
+
}), n = new Uint8Array(e.reduce((s, c) => s + c.length, 0));
|
|
29
29
|
let r = 0;
|
|
30
30
|
for (const s of e)
|
|
31
31
|
n.set(s, r), r += s.length;
|
|
32
32
|
return n;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
const n =
|
|
36
|
-
return
|
|
34
|
+
function te(t, e) {
|
|
35
|
+
const n = ee(t), r = b + n.length + e.length + 4, s = new Uint8Array(r), c = new DataView(s.buffer);
|
|
36
|
+
return c.setUint32(0, r), c.setUint32(4, n.length), c.setUint32(8, x(s.subarray(0, 8))), s.set(n, b), s.set(e, b + n.length), c.setUint32(r - 4, x(s.subarray(0, r - 4))), s;
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function ne(t) {
|
|
39
39
|
const e = new Uint8Array(t);
|
|
40
|
-
if (e.length <
|
|
40
|
+
if (e.length < b + 4)
|
|
41
41
|
throw new Error("event-stream: frame too short");
|
|
42
42
|
const n = new DataView(t), r = n.getUint32(0), s = n.getUint32(4);
|
|
43
|
-
if (r !== e.length ||
|
|
43
|
+
if (r !== e.length || b + s + 4 > r)
|
|
44
44
|
throw new Error("event-stream: lengths do not match the frame");
|
|
45
|
-
if (n.getUint32(8) !==
|
|
45
|
+
if (n.getUint32(8) !== x(e.subarray(0, 8)))
|
|
46
46
|
throw new Error("event-stream: prelude checksum mismatch");
|
|
47
|
-
if (n.getUint32(r - 4) !==
|
|
47
|
+
if (n.getUint32(r - 4) !== x(e.subarray(0, r - 4)))
|
|
48
48
|
throw new Error("event-stream: message checksum mismatch");
|
|
49
|
-
const
|
|
50
|
-
let
|
|
51
|
-
const u =
|
|
52
|
-
for (;
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
e.subarray(
|
|
61
|
-
),
|
|
49
|
+
const c = {};
|
|
50
|
+
let o = b;
|
|
51
|
+
const u = b + s;
|
|
52
|
+
for (; o < u; ) {
|
|
53
|
+
const l = n.getUint8(o);
|
|
54
|
+
o += 1;
|
|
55
|
+
const h = F.decode(e.subarray(o, o + l));
|
|
56
|
+
if (o += l, n.getUint8(o) !== V) break;
|
|
57
|
+
o += 1;
|
|
58
|
+
const i = n.getUint16(o);
|
|
59
|
+
o += 2, c[h] = F.decode(
|
|
60
|
+
e.subarray(o, o + i)
|
|
61
|
+
), o += i;
|
|
62
62
|
}
|
|
63
|
-
return { headers:
|
|
63
|
+
return { headers: c, payload: e.slice(u, r - 4) };
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
65
|
+
function z(t) {
|
|
66
|
+
return te(
|
|
67
67
|
{
|
|
68
68
|
":content-type": "application/octet-stream",
|
|
69
69
|
":event-type": "AudioEvent",
|
|
@@ -72,16 +72,16 @@ function j(t) {
|
|
|
72
72
|
t
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
|
-
class
|
|
75
|
+
class w extends Error {
|
|
76
76
|
constructor(n, r) {
|
|
77
77
|
super(
|
|
78
78
|
r ? `AWS Transcribe: ${n} (${r})` : `AWS Transcribe: ${n}`
|
|
79
79
|
);
|
|
80
|
-
|
|
80
|
+
B(this, "code");
|
|
81
81
|
this.name = "AwsTranscribeError", this.code = n;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
const
|
|
84
|
+
const re = {
|
|
85
85
|
de: "de-DE",
|
|
86
86
|
en: "en-GB",
|
|
87
87
|
es: "es-ES",
|
|
@@ -89,26 +89,26 @@ const q = {
|
|
|
89
89
|
it: "it-IT",
|
|
90
90
|
pt: "pt-PT"
|
|
91
91
|
};
|
|
92
|
-
function
|
|
93
|
-
return
|
|
92
|
+
function ge(t) {
|
|
93
|
+
return re[t.toLowerCase().split(/[-_]/)[0] ?? ""] ?? null;
|
|
94
94
|
}
|
|
95
|
-
const
|
|
96
|
-
function
|
|
95
|
+
const oe = [8e3, 16e3, 44100, 48e3];
|
|
96
|
+
function se(t) {
|
|
97
97
|
const e = Math.round(t);
|
|
98
|
-
return
|
|
98
|
+
return oe.reduce(
|
|
99
99
|
(n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ae(t, e, n) {
|
|
103
103
|
if (e === n) return t;
|
|
104
104
|
const r = e / n, s = new Float32Array(Math.max(1, Math.round(t.length / r)));
|
|
105
|
-
for (let
|
|
106
|
-
const
|
|
107
|
-
s[
|
|
105
|
+
for (let c = 0; c < s.length; c++) {
|
|
106
|
+
const o = c * r, u = Math.floor(o), l = t[u] ?? 0, h = t[u + 1] ?? l;
|
|
107
|
+
s[c] = l + (h - l) * (o - u);
|
|
108
108
|
}
|
|
109
109
|
return s;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function ce(t) {
|
|
112
112
|
const e = new Uint8Array(t.length * 2), n = new DataView(e.buffer);
|
|
113
113
|
for (let r = 0; r < t.length; r++) {
|
|
114
114
|
const s = Math.max(-1, Math.min(1, t[r] ?? 0));
|
|
@@ -116,25 +116,25 @@ function ee(t) {
|
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
var r, s,
|
|
119
|
+
function ie(t) {
|
|
120
|
+
var r, s, c;
|
|
121
121
|
const e = t;
|
|
122
|
-
return (((r = e == null ? void 0 : e.Transcript) == null ? void 0 : r.Results) ?? ((
|
|
123
|
-
var
|
|
124
|
-
const u = (
|
|
125
|
-
return typeof u == "string" ? [{ text: u, partial:
|
|
122
|
+
return (((r = e == null ? void 0 : e.Transcript) == null ? void 0 : r.Results) ?? ((c = (s = e == null ? void 0 : e.TranscriptEvent) == null ? void 0 : s.Transcript) == null ? void 0 : c.Results) ?? []).flatMap((o) => {
|
|
123
|
+
var l, h;
|
|
124
|
+
const u = (h = (l = o.Alternatives) == null ? void 0 : l[0]) == null ? void 0 : h.Transcript;
|
|
125
|
+
return typeof u == "string" ? [{ text: u, partial: o.IsPartial === !0 }] : [];
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function $() {
|
|
129
129
|
if (typeof window > "u") return;
|
|
130
130
|
const t = window;
|
|
131
131
|
return t.AudioContext ?? t.webkitAudioContext;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function ue() {
|
|
134
134
|
var t;
|
|
135
|
-
return typeof navigator < "u" && typeof ((t = navigator.mediaDevices) == null ? void 0 : t.getUserMedia) == "function" &&
|
|
135
|
+
return typeof navigator < "u" && typeof ((t = navigator.mediaDevices) == null ? void 0 : t.getUserMedia) == "function" && $() !== void 0 && typeof WebSocket < "u";
|
|
136
136
|
}
|
|
137
|
-
const
|
|
137
|
+
const le = 3e3, de = 10, K = "alfadocs-aws-transcribe-capture", fe = `class Capture extends AudioWorkletProcessor {
|
|
138
138
|
constructor(options) {
|
|
139
139
|
super();
|
|
140
140
|
this.size = (options && options.processorOptions && options.processorOptions.chunk) || 2048;
|
|
@@ -154,62 +154,91 @@ const re = 3e3, _ = "alfadocs-aws-transcribe-capture", oe = `class Capture exten
|
|
|
154
154
|
return true;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
registerProcessor(${JSON.stringify(
|
|
158
|
-
async function
|
|
157
|
+
registerProcessor(${JSON.stringify(K)}, Capture);`;
|
|
158
|
+
async function he(t, e, n) {
|
|
159
159
|
if (t.audioWorklet && typeof AudioWorkletNode < "u") {
|
|
160
|
-
const
|
|
161
|
-
new Blob([
|
|
160
|
+
const c = URL.createObjectURL(
|
|
161
|
+
new Blob([fe], { type: "text/javascript" })
|
|
162
162
|
);
|
|
163
163
|
try {
|
|
164
|
-
await t.audioWorklet.addModule(
|
|
165
|
-
const
|
|
164
|
+
await t.audioWorklet.addModule(c);
|
|
165
|
+
const o = new AudioWorkletNode(t, K, {
|
|
166
166
|
processorOptions: { chunk: e }
|
|
167
167
|
});
|
|
168
|
-
return
|
|
168
|
+
return o.port.onmessage = (u) => n(u.data), o;
|
|
169
169
|
} catch {
|
|
170
170
|
} finally {
|
|
171
|
-
URL.revokeObjectURL(
|
|
171
|
+
URL.revokeObjectURL(c);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
let r = 1024;
|
|
175
175
|
for (; r < e && r < 16384; ) r *= 2;
|
|
176
176
|
const s = t.createScriptProcessor(r, 1, 1);
|
|
177
|
-
return s.onaudioprocess = (
|
|
177
|
+
return s.onaudioprocess = (c) => n(c.inputBuffer.getChannelData(0).slice()), s;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function pe(t) {
|
|
180
180
|
return t && typeof t == "object" && "name" in t ? String(t.name) : void 0;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return async ({
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
function ye(t) {
|
|
183
|
+
return async ({
|
|
184
|
+
signal: e,
|
|
185
|
+
onPartialTranscript: n,
|
|
186
|
+
onFinalTranscript: r,
|
|
187
|
+
onStatus: s
|
|
188
|
+
}) => {
|
|
189
|
+
const c = $();
|
|
190
|
+
if (!c || !ue())
|
|
191
|
+
throw new w("unsupported");
|
|
187
192
|
if (e.aborted) return;
|
|
188
193
|
let o;
|
|
189
194
|
try {
|
|
190
|
-
o = new
|
|
195
|
+
o = new c({ sampleRate: 48e3 });
|
|
191
196
|
} catch {
|
|
192
|
-
o = new
|
|
197
|
+
o = new c();
|
|
193
198
|
}
|
|
194
|
-
const
|
|
199
|
+
const u = o.sampleRate || 48e3, l = se(u), h = Math.max(1024, Math.round(u * 0.05));
|
|
195
200
|
let i = null;
|
|
196
|
-
const
|
|
197
|
-
for (const
|
|
198
|
-
"port" in
|
|
201
|
+
const k = [], A = () => {
|
|
202
|
+
for (const a of k.splice(0)) {
|
|
203
|
+
"port" in a && (a.port.onmessage = null), "onaudioprocess" in a && (a.onaudioprocess = null);
|
|
199
204
|
try {
|
|
200
|
-
|
|
205
|
+
a.disconnect();
|
|
201
206
|
} catch {
|
|
202
207
|
}
|
|
203
208
|
}
|
|
204
|
-
i == null || i.getTracks().forEach((
|
|
209
|
+
i == null || i.getTracks().forEach((a) => a.stop()), i = null, o.state !== "closed" && o.close().catch(() => {
|
|
205
210
|
});
|
|
211
|
+
}, N = Math.round(u * de);
|
|
212
|
+
let p = new Float32Array(0), E = null;
|
|
213
|
+
const R = (a) => {
|
|
214
|
+
!E || E.readyState !== WebSocket.OPEN || a.length === 0 || E.send(
|
|
215
|
+
z(ce(ae(a, u, l)))
|
|
216
|
+
);
|
|
217
|
+
}, M = (a) => {
|
|
218
|
+
if (!(!E || E.readyState !== WebSocket.OPEN)) {
|
|
219
|
+
for (; p.length >= h; )
|
|
220
|
+
R(p.subarray(0, h)), p = p.slice(h);
|
|
221
|
+
a && p.length && (R(p), p = new Float32Array(0));
|
|
222
|
+
}
|
|
223
|
+
}, J = (a) => {
|
|
224
|
+
const f = new Float32Array(p.length + a.length);
|
|
225
|
+
f.set(p), f.set(a, p.length), p = f.length > N ? f.slice(f.length - N) : f, M(!1);
|
|
226
|
+
}, H = async (a) => {
|
|
227
|
+
const f = await he(o, h, J);
|
|
228
|
+
if (!i) {
|
|
229
|
+
"port" in f && (f.port.onmessage = null), "onaudioprocess" in f && (f.onaudioprocess = null);
|
|
230
|
+
return;
|
|
231
|
+
}
|
|
232
|
+
const v = o.createMediaStreamSource(a), g = o.createGain();
|
|
233
|
+
g.gain.value = 0, k.push(v, f, g), v.connect(f), f.connect(g), g.connect(o.destination);
|
|
206
234
|
};
|
|
207
235
|
try {
|
|
208
236
|
o.state === "suspended" && await o.resume();
|
|
209
237
|
} catch {
|
|
210
|
-
throw
|
|
238
|
+
throw A(), new w("unsupported", "audio context");
|
|
211
239
|
}
|
|
212
|
-
|
|
240
|
+
s == null || s("connecting");
|
|
241
|
+
const X = typeof t.languageCode == "function" ? t.languageCode() : t.languageCode, [m, U] = await Promise.allSettled([
|
|
213
242
|
navigator.mediaDevices.getUserMedia({
|
|
214
243
|
audio: {
|
|
215
244
|
channelCount: 1,
|
|
@@ -217,104 +246,99 @@ function ue(t) {
|
|
|
217
246
|
noiseSuppression: !0,
|
|
218
247
|
autoGainControl: !0
|
|
219
248
|
}
|
|
249
|
+
}).then(async (a) => {
|
|
250
|
+
if (i = a, e.aborted) return a;
|
|
251
|
+
try {
|
|
252
|
+
await H(a);
|
|
253
|
+
} catch {
|
|
254
|
+
throw new w("unsupported", "audio graph");
|
|
255
|
+
}
|
|
256
|
+
return !e.aborted && i && (s == null || s("listening")), a;
|
|
220
257
|
}),
|
|
221
258
|
t.getUrl(
|
|
222
|
-
{ languageCode:
|
|
259
|
+
{ languageCode: X, mediaEncoding: "pcm", sampleRate: l },
|
|
223
260
|
e
|
|
224
261
|
)
|
|
225
262
|
]);
|
|
226
|
-
if (
|
|
227
|
-
if (
|
|
228
|
-
if (
|
|
229
|
-
|
|
230
|
-
|
|
263
|
+
if (m.status === "fulfilled" && (i = m.value), e.aborted || m.status === "rejected" || U.status === "rejected") {
|
|
264
|
+
if (A(), e.aborted) return;
|
|
265
|
+
if (m.status === "rejected") {
|
|
266
|
+
if (m.reason instanceof w) throw m.reason;
|
|
267
|
+
const a = pe(m.reason);
|
|
268
|
+
throw a === "NotAllowedError" || a === "PermissionDeniedError" || a === "SecurityError" ? new w("permission") : new w("unsupported", a);
|
|
231
269
|
}
|
|
232
|
-
throw new
|
|
270
|
+
throw new w(
|
|
233
271
|
"url",
|
|
234
|
-
|
|
272
|
+
U.status === "rejected" && U.reason instanceof Error ? U.reason.message : void 0
|
|
235
273
|
);
|
|
236
274
|
}
|
|
237
|
-
const
|
|
238
|
-
let
|
|
275
|
+
const Y = U.value;
|
|
276
|
+
let d;
|
|
239
277
|
try {
|
|
240
|
-
|
|
278
|
+
d = new WebSocket(Y), d.binaryType = "arraybuffer";
|
|
241
279
|
} catch {
|
|
242
|
-
throw
|
|
280
|
+
throw A(), new w("connection");
|
|
243
281
|
}
|
|
244
|
-
return new Promise((
|
|
245
|
-
let
|
|
246
|
-
const
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
);
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
d && w.length && (R(w), w = new Float32Array(0));
|
|
254
|
-
}, b = (d) => {
|
|
255
|
-
if (U) return;
|
|
256
|
-
U = !0, clearTimeout(M), e.removeEventListener("abort", L), v(), l.onopen = l.onmessage = l.onerror = l.onclose = null, (l.readyState === WebSocket.OPEN || l.readyState === WebSocket.CONNECTING) && l.close();
|
|
257
|
-
const f = S.trim();
|
|
258
|
-
S = "", n(""), f && r(f), d && !e.aborted ? z(d) : p();
|
|
282
|
+
return E = d, new Promise((a, f) => {
|
|
283
|
+
let v = !1, g = "", O = null, L, W = !1;
|
|
284
|
+
const D = () => {
|
|
285
|
+
M(!0), d.send(z(new Uint8Array(0))), L = setTimeout(() => C(), le);
|
|
286
|
+
}, C = (S) => {
|
|
287
|
+
if (v) return;
|
|
288
|
+
v = !0, clearTimeout(L), e.removeEventListener("abort", P), A(), d.onopen = d.onmessage = d.onerror = d.onclose = null, (d.readyState === WebSocket.OPEN || d.readyState === WebSocket.CONNECTING) && d.close();
|
|
289
|
+
const y = g.trim();
|
|
290
|
+
g = "", n(""), y && r(y), S && !e.aborted ? f(S) : a();
|
|
259
291
|
};
|
|
260
|
-
function
|
|
261
|
-
|
|
292
|
+
function P() {
|
|
293
|
+
v || (A(), d.readyState === WebSocket.OPEN ? D() : d.readyState === WebSocket.CONNECTING && p.length > 0 ? W = !0 : C());
|
|
262
294
|
}
|
|
263
|
-
e.addEventListener("abort",
|
|
264
|
-
if (
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
if (U || !i) return;
|
|
270
|
-
const f = o.createMediaStreamSource(i), y = o.createGain();
|
|
271
|
-
y.gain.value = 0, h.push(f, d, y), f.connect(d), d.connect(y), y.connect(o.destination);
|
|
272
|
-
}).catch(
|
|
273
|
-
() => b(new g("unsupported", "audio graph"))
|
|
274
|
-
);
|
|
275
|
-
}, l.onmessage = (d) => {
|
|
276
|
-
let f;
|
|
295
|
+
e.addEventListener("abort", P, { once: !0 }), d.onopen = () => {
|
|
296
|
+
if (W) return D();
|
|
297
|
+
if (!i) return C();
|
|
298
|
+
M(!1);
|
|
299
|
+
}, d.onmessage = (S) => {
|
|
300
|
+
let y;
|
|
277
301
|
try {
|
|
278
|
-
|
|
302
|
+
y = ne(S.data);
|
|
279
303
|
} catch {
|
|
280
304
|
return;
|
|
281
305
|
}
|
|
282
|
-
const
|
|
283
|
-
if (
|
|
284
|
-
|
|
306
|
+
const j = y.headers[":message-type"];
|
|
307
|
+
if (j === "exception") {
|
|
308
|
+
O = new w(
|
|
285
309
|
"service",
|
|
286
|
-
|
|
310
|
+
y.headers[":exception-type"] ?? y.headers[":error-code"]
|
|
287
311
|
);
|
|
288
312
|
return;
|
|
289
313
|
}
|
|
290
|
-
if (
|
|
314
|
+
if (j !== "event" || y.headers[":event-type"] !== "TranscriptEvent")
|
|
291
315
|
return;
|
|
292
|
-
let
|
|
316
|
+
let G;
|
|
293
317
|
try {
|
|
294
|
-
|
|
318
|
+
G = JSON.parse(new TextDecoder().decode(y.payload));
|
|
295
319
|
} catch {
|
|
296
320
|
return;
|
|
297
321
|
}
|
|
298
|
-
for (const T of
|
|
322
|
+
for (const T of ie(G))
|
|
299
323
|
if (T.partial)
|
|
300
|
-
|
|
324
|
+
g = T.text, n(T.text);
|
|
301
325
|
else {
|
|
302
|
-
|
|
303
|
-
const
|
|
304
|
-
|
|
326
|
+
g = "", n("");
|
|
327
|
+
const _ = T.text.trim();
|
|
328
|
+
_ && r(_);
|
|
305
329
|
}
|
|
306
|
-
},
|
|
330
|
+
}, d.onerror = () => C(O ?? new w("connection")), d.onclose = () => C(O ?? void 0);
|
|
307
331
|
});
|
|
308
332
|
};
|
|
309
333
|
}
|
|
310
334
|
export {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
335
|
+
w as AwsTranscribeError,
|
|
336
|
+
ge as awsLanguageCode,
|
|
337
|
+
ye as createAwsTranscribeDictation,
|
|
338
|
+
ue as isAwsTranscribeSupported,
|
|
339
|
+
ae as resample,
|
|
340
|
+
ce as toPcm16,
|
|
341
|
+
ie as transcriptResults,
|
|
342
|
+
se as transmitSampleRate
|
|
319
343
|
};
|
|
320
344
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { a as d } from "../_chunks/tooltip-uEBdD1-5.js";
|
|
3
3
|
import { C as p } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
4
4
|
import { c as y } from "../_chunks/calendar-editor-guard-9fShhNIA.js";
|
|
5
|
-
import { h as P } from "../_chunks/calendar-workspace.model-
|
|
5
|
+
import { h as P } from "../_chunks/calendar-workspace.model-4zmA3BFE.js";
|
|
6
6
|
function l(e) {
|
|
7
7
|
const s = String(e.getMonth() + 1).padStart(2, "0"), t = String(e.getDate()).padStart(2, "0");
|
|
8
8
|
return `${e.getFullYear()}-${s}-${t}`;
|