@alfadocs/ui-kit 0.71.0 → 0.72.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/{accordion-DnIa7OHX.js → accordion-C11v9ouP.js} +2 -2
- package/dist/_chunks/{address-autocomplete-BEX9PXty.js → address-autocomplete-Bq-1n1UX.js} +2 -2
- package/dist/_chunks/{address-fields-CPbFJ8e8.js → address-fields-COyjgqxA.js} +8 -8
- package/dist/_chunks/{agenda-card-BQ-IKAru.js → agenda-card-BCGaQazD.js} +2 -2
- package/dist/_chunks/{agenda-tray-CGXRk58j.js → agenda-tray-loL2A3Cx.js} +4 -4
- package/dist/_chunks/{ai-consent-banner-Be-h9mRI.js → ai-consent-banner-Bke9m8VS.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-V4DdOeqv.js → ai-prompt-input-TVI95hJD.js} +4 -4
- package/dist/_chunks/{alert-CHYZ96tR.js → alert-KJbsPYkI.js} +8 -8
- package/dist/_chunks/{alia-sidebar-DvIUzIX9.js → alia-sidebar-BV5lBSFR.js} +279 -223
- package/dist/_chunks/{anamnesis-card-DvYCa16e.js → anamnesis-card-CWO4Ui9c.js} +4 -4
- package/dist/_chunks/{antenatal-schedule-timeline-CwXrQRm1.js → antenatal-schedule-timeline-CY-VsLok.js} +3 -3
- package/dist/_chunks/{appointment-card-DVaeJNVB.js → appointment-card-Cy4FOkGP.js} +86 -69
- package/dist/_chunks/{appointment-timeline-PJgnrjFb.js → appointment-timeline-BWAPPk8F.js} +4 -4
- package/dist/_chunks/{appointment-tray-B16QPGbm.js → appointment-tray-D3mk04TT.js} +4 -4
- package/dist/_chunks/{ar-Cn5Fq48Z.js → ar-BOqyIfoY.js} +2 -2
- package/dist/_chunks/astroid-BN4f5VXU.js +20 -0
- package/dist/_chunks/{audio-recorder-DNDsOLqO.js → audio-recorder-BbjG55dP.js} +9 -9
- package/dist/_chunks/{bishop-score-Cym_TeQY.js → bishop-score-C6eoak_j.js} +4 -4
- package/dist/_chunks/{bmi-calculator-zjeY4E7J.js → bmi-calculator-BmQfoEGP.js} +5 -5
- package/dist/_chunks/{booking-C7do4vaR.js → booking-B62CMY5k.js} +205 -221
- package/dist/_chunks/{breadcrumb-CchdeG7d.js → breadcrumb-agut0PwN.js} +3 -3
- package/dist/_chunks/{calculator-dialog-BR5iU0kf.js → calculator-dialog-DuXMQSdm.js} +2 -2
- package/dist/_chunks/{calendar-CZUjL8SZ.js → calendar-DeAlFPsF.js} +15 -15
- package/dist/_chunks/{calendar-clock-CYkcqdwl.js → calendar-clock-hbObjfGY.js} +3 -3
- package/dist/_chunks/{calendar-days-C4BmpCZg.js → calendar-days-BGWklvE-.js} +3 -3
- package/dist/_chunks/{care-plan-card-DzPDYgtK.js → care-plan-card-DhXbfGzE.js} +6 -6
- package/dist/_chunks/{care-plan-entry-card-CEnQy7YP.js → care-plan-entry-card-D3YGD6rj.js} +6 -6
- package/dist/_chunks/{care-plan-header-DcXFXWit.js → care-plan-header-DtQxyfOb.js} +4 -4
- package/dist/_chunks/{carousel.agent-4v8Emr9E.js → carousel.agent-j7hWxJWr.js} +3 -3
- package/dist/_chunks/{chat-container-DWho5hPR.js → chat-container-BVCoN06N.js} +2 -2
- package/dist/_chunks/{chat-input-BcXTetgM.js → chat-input-Btq_uuMZ.js} +5 -5
- package/dist/_chunks/{chat-message-DzpcJR-q.js → chat-message-DXjjM8z9.js} +7 -7
- package/dist/_chunks/{check-DPdL_Sm7.js → check-DrFSN__t.js} +3 -3
- package/dist/_chunks/{checkbox-group-PqNmQ-cE.js → checkbox-group-CfqMv57d.js} +2 -2
- package/dist/_chunks/{chevron-down-BX_NP2Yh.js → chevron-down-DWE7GSq9.js} +3 -3
- package/dist/_chunks/{chevron-left-CX1jqD2M.js → chevron-left-B8cOyH-V.js} +3 -3
- package/dist/_chunks/{chevron-right-BrpYejk0.js → chevron-right-I9AeSxH2.js} +3 -3
- package/dist/_chunks/{chevron-up-zOEDrmBB.js → chevron-up-umRGgtJA.js} +3 -3
- package/dist/_chunks/{chevrons-right-d9MwesPG.js → chevrons-right-DIHg7Xqi.js} +4 -4
- package/dist/_chunks/{circle-alert-ChA9opNA.js → circle-alert-rGDZ73Wh.js} +3 -3
- package/dist/_chunks/{circle-check-9AeSgJD_.js → circle-check-BN6rz4NV.js} +3 -3
- package/dist/_chunks/{circle-BkqTgYmt.js → circle-j7oZoouK.js} +3 -3
- package/dist/_chunks/{circle-x-Du2CmjaU.js → circle-x-W8Enq3i4.js} +3 -3
- package/dist/_chunks/{city-input-Dkgaak7I.js → city-input-towzBenY.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BUvNMNGL.js → clinical-note-card-C7F_24IC.js} +9 -9
- package/dist/_chunks/clipboard-check-BeAGxDVT.js +22 -0
- package/dist/_chunks/{clock-21AGPWJ5.js → clock-Drd4Wtis.js} +3 -3
- package/dist/_chunks/{code-block-BBWHhIc8.js → code-block-Cwi7e3HM.js} +3 -3
- package/dist/_chunks/{color-picker-C_fZl6sA.js → color-picker-D-tUwxxT.js} +3 -3
- package/dist/_chunks/{columns-2-BTOBZbep.js → columns-2-8lq4-b8e.js} +3 -3
- package/dist/_chunks/{combobox-DnqSF0IH.js → combobox-DiMLItyu.js} +3 -3
- package/dist/_chunks/{command-palette-CJzmc5pC.js → command-palette-DQl_SNEv.js} +2 -2
- package/dist/_chunks/{connection-status-CY1HV8Wg.js → connection-status-0HajXMXM.js} +2 -2
- package/dist/_chunks/{contact-card-Cf8Ktyt3.js → contact-card-0hnFJwrz.js} +3 -3
- package/dist/_chunks/{contact-profile-card-DDPwRFiP.js → contact-profile-card-IggiUVpN.js} +14 -14
- package/dist/_chunks/{control-room-rail-FAQZrGVL.js → control-room-rail-DaGcsdZ6.js} +3 -3
- package/dist/_chunks/{copy-field-Bjw9u2cV.js → copy-field-PAp0-Wr5.js} +3 -3
- package/dist/_chunks/{copy-B00HK7tj.js → copy-vRpqqHtY.js} +3 -3
- package/dist/_chunks/{country-select-BwUZQvTa.js → country-select-DYHDLEjG.js} +2 -2
- package/dist/_chunks/{createLucideIcon-CrFbzy84.js → createLucideIcon-DhHxpK9K.js} +8 -8
- package/dist/_chunks/{cycle-calculator-CCmPwcBl.js → cycle-calculator-BNILyVas.js} +10 -10
- package/dist/_chunks/{date-picker-Dl9RKxaV.js → date-picker-CVkD_lOi.js} +3 -3
- package/dist/_chunks/{date-picker-variants-DAcSLTua.js → date-picker-variants-DLg-ZrIo.js} +20 -20
- package/dist/_chunks/{date-range-picker-CTUeR6Bj.js → date-range-picker-Dw12DgV8.js} +4 -4
- package/dist/_chunks/{date-time-picker-BhoogS5Q.js → date-time-picker-Cd_OJtOy.js} +3 -3
- package/dist/_chunks/{de-CrJs4ZsX.js → de-DFLsUxeV.js} +2 -2
- package/dist/_chunks/{dependent-selector-DUV4thxX.js → dependent-selector-DyFpdzZV.js} +2 -2
- package/dist/_chunks/{description-list-gkNGWk5G.js → description-list-CmBVxIF5.js} +3 -3
- package/dist/_chunks/{dialog-ZNuboNmy.js → dialog-UbKJCi1X.js} +2 -2
- package/dist/_chunks/{document-scanner-C_AxLooF.js → document-scanner-B23j4w7X.js} +8 -8
- package/dist/_chunks/{download-CDF1sbL9.js → download-CfYKJO_j.js} +3 -3
- package/dist/_chunks/{dropdown-menu-qrxjymfw.js → dropdown-menu-DU-Hrf33.js} +3 -3
- package/dist/_chunks/{due-date-calculator-Brdj-euS.js → due-date-calculator-CmdAl_JO.js} +7 -7
- package/dist/_chunks/{editable-currency-cell-renderer-CGELrkIj.js → editable-currency-cell-renderer-z9fJFw6Z.js} +7 -7
- package/dist/_chunks/{editor-overlay-wYm22wZK.js → editor-overlay-BIOzr8v7.js} +2 -2
- package/dist/_chunks/{el-DHdMOIhL.js → el-OVjBKytp.js} +2 -2
- package/dist/_chunks/{ellipsis-rgGdiK_9.js → ellipsis-dRo9ouSU.js} +3 -3
- package/dist/_chunks/{email-input-DJ7EXklP.js → email-input-Dpe63k0K.js} +3 -3
- package/dist/_chunks/{entity-card-DmrgYSEX.js → entity-card-9_62gY7l.js} +4 -4
- package/dist/_chunks/{entity-summary-CaM1Y-xE.js → entity-summary-DpGziDv5.js} +104 -118
- package/dist/_chunks/{es-DCATCfqo.js → es-DKDNrHXG.js} +2 -2
- package/dist/_chunks/{external-link-C6F25E6k.js → external-link-CY6zAXXU.js} +3 -3
- package/dist/_chunks/{eye-LHlSU38h.js → eye-BjhN2nYf.js} +3 -3
- package/dist/_chunks/{eye-off-xEXDAh5z.js → eye-off-C_4xkbRP.js} +3 -3
- package/dist/_chunks/face-scheme-DOZO3M_c.js +1450 -0
- package/dist/_chunks/face_detection_yunet_2023mar-BnsRs4bD.js +5 -0
- package/dist/_chunks/{fetal-weight-DNCkyeVo.js → fetal-weight-CVAH8sJ3.js} +4 -4
- package/dist/_chunks/{field-array-siUZzfYe.js → field-array-CDzc3hTM.js} +3 -3
- package/dist/_chunks/{field-value-3jMM0uDx.js → field-value-Dj3i52H2.js} +13 -13
- package/dist/_chunks/{file-spreadsheet-zUkY8rJ2.js → file-spreadsheet-DmwyfV4O.js} +3 -3
- package/dist/_chunks/{file-text-DSNuv2B8.js → file-text-5yv6r2ls.js} +3 -3
- package/dist/_chunks/{file-upload-DwZcAK8D.js → file-upload-Kw1rdvFw.js} +13 -13
- package/dist/_chunks/{finished-terminal-VjZ_-eDD.js → finished-terminal-Di4gtZ50.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-Cf-8O4Fj.js → fiscal-code-input-DKNXFXs3.js} +5 -5
- package/dist/_chunks/{form-field-BOm9hK35.js → form-field-M5UpX65Z.js} +2 -2
- package/dist/_chunks/{fr-BfGEMshF.js → fr-BfMvQh-v.js} +2 -2
- package/dist/_chunks/{freemium-paywall-WYlNO7yT.js → freemium-paywall-DFoeedwh.js} +4 -4
- package/dist/_chunks/{gestational-age-calculator-DKzEV5Qi.js → gestational-age-calculator-BwCBPAGX.js} +9 -9
- package/dist/_chunks/{globe-BkEFMNSg.js → globe-sHBW1JN5.js} +3 -3
- package/dist/_chunks/{grip-vertical-Dlg0_k5C.js → grip-vertical-onSb1JXO.js} +3 -3
- package/dist/_chunks/{hash-CysBBS_N.js → hash-CSQ9SChR.js} +3 -3
- package/dist/_chunks/{hcg-doubling-C7bmuaU3.js → hcg-doubling-CSsWxEJc.js} +5 -5
- package/dist/_chunks/{header-CNszv2WQ.js → header-DaXWDw0M.js} +2 -2
- package/dist/_chunks/{header-settings-DJqoAl5m.js → header-settings-B0G_u-wV.js} +6 -6
- package/dist/_chunks/{heart-C0faivFf.js → heart--qCA4ffe.js} +3 -3
- package/dist/_chunks/{heart-pulse-CvuyFKHB.js → heart-pulse-BCppJyN2.js} +3 -3
- package/dist/_chunks/{hi-CBFRXEIm.js → hi-C0GEMwlD.js} +2 -2
- package/dist/_chunks/{iban-input-B0TWzR1R.js → iban-input-DXIA8Ln_.js} +3 -3
- package/dist/_chunks/{icon-picker-0B7KhrF1.js → icon-picker-Di6uYDG-.js} +4 -4
- package/dist/_chunks/{image-C6RM5hfF.js → image-B_5MNK0x.js} +3 -3
- package/dist/_chunks/{image-cropper-D9jqJy19.js → image-cropper-CdmWFrMC.js} +2 -2
- package/dist/_chunks/{info-B9XNKn05.js → info-CGn22peZ.js} +3 -3
- package/dist/_chunks/{insert-result-njqBthzT.js → insert-result-C7xSDb8q.js} +5 -5
- package/dist/_chunks/{isSameWeek-I3DfXUp1.js → isSameWeek-HddDAyJG.js} +2 -2
- package/dist/_chunks/{it-nz6vAKwG.js → it-5f4hiT2e.js} +3 -3
- package/dist/_chunks/{ja-DQcqdAEJ.js → ja-U0_2inl_.js} +2 -2
- package/dist/_chunks/{key-value-pair-BrgbMfbF.js → key-value-pair-Byyyc_9J.js} +3 -3
- package/dist/_chunks/{languages-DsVf_WzT.js → languages-CGLX6Qpe.js} +3 -3
- package/dist/_chunks/{layers-pzGcbLPj.js → layers-DcAENmsZ.js} +3 -3
- package/dist/_chunks/{link-DrD_cRUg.js → link-CPb_pZPr.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-De_SLjSq.js → link-cell-renderer-BCppbMec.js} +19 -19
- package/dist/_chunks/{locale-picker-ChYYSX2N.js → locale-picker-DzF7Q5Y8.js} +5 -5
- package/dist/_chunks/{lock-CKOIn0IK.js → lock-ClAFG1gy.js} +3 -3
- package/dist/_chunks/{log-out-616hnn2-.js → log-out-oDS6zO5d.js} +3 -3
- package/dist/_chunks/{mail-C8irm52s.js → mail-BqXVF2zH.js} +3 -3
- package/dist/_chunks/{map-pin-B8STOPMJ.js → map-pin-BaY37-Km.js} +3 -3
- package/dist/_chunks/{map-view-BkOoGoX2.js → map-view-ByPvWG_9.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-BGqkywsi.js → marketplace-app-shell-BCYiOvKZ.js} +9 -9
- package/dist/_chunks/{maximize-2-Cm9OUQ2m.js → maximize-2-BYd2Kti7.js} +3 -3
- package/dist/_chunks/{menu-XRhW3_99.js → menu-Op71AWIC.js} +3 -3
- package/dist/_chunks/{message-card-DsHFFiL1.js → message-card-BZnnffyB.js} +2 -2
- package/dist/_chunks/{message-circle-C23eicgb.js → message-circle-Bepl9JT5.js} +3 -3
- package/dist/_chunks/{message-tray-C0a6CL1_.js → message-tray-cUHOCdU0.js} +3 -3
- package/dist/_chunks/{mic-B4Gog3Gi.js → mic-CUklMZGF.js} +3 -3
- package/dist/_chunks/{monitor-D-SFdbrU.js → monitor-xXSrufmP.js} +3 -3
- package/dist/_chunks/{multi-select-WE4S9FIF.js → multi-select-D5QLBJM1.js} +3 -3
- package/dist/_chunks/{anatomy-scheme-CXSk11UJ.js → muscle-scheme-B9MIkuj0.js} +415 -1146
- package/dist/_chunks/{nav-grid-9xphY3FM.js → nav-grid-gRudLsPX.js} +2 -2
- package/dist/_chunks/{navigation-menu-DRUi6sSj.js → navigation-menu-D3VndouD.js} +2 -2
- package/dist/_chunks/{nl-L5SuDjyl.js → nl-CDVnnx1U.js} +2 -2
- package/dist/_chunks/{notes-panel-DXiMfuvp.js → notes-panel-CMyjUXD4.js} +68 -64
- package/dist/_chunks/{notification-card-BMqNzCIt.js → notification-card-BHJ07FkH.js} +2 -2
- package/dist/_chunks/{notification-tray-BmUlCx3g.js → notification-tray-Dzm1c3Wy.js} +4 -4
- package/dist/_chunks/{number-input-DxphVG_A.js → number-input-DjWzmlEY.js} +3 -3
- package/dist/_chunks/{operator-hero-BO8TqzX2.js → operator-hero-DVy0RGoD.js} +3 -3
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +653 -0
- package/dist/_chunks/{pagination-D58kglCr.js → pagination-EkD5SiCK.js} +6 -6
- package/dist/_chunks/{patient-details-DgfTJimE.js → patient-details-pU_E5xM2.js} +106 -87
- package/dist/_chunks/{patient-search-CSWQKOSP.js → patient-search-X9SUZGpy.js} +10 -10
- package/dist/_chunks/{patient-shell-BMwsIKlW.js → patient-shell-oiIRqEAl.js} +7 -7
- package/dist/_chunks/{patient-summary-card-D4NdgYJB.js → patient-summary-card--t3BjTdU.js} +16 -16
- package/dist/_chunks/{patient-table-CERknpd8.js → patient-table-BgWgNIMf.js} +11 -11
- package/dist/_chunks/{payment-form-CxqIXqw7.js → payment-form-DL9xk9BA.js} +2 -2
- package/dist/_chunks/{payment-request-card-Blf-MFNY.js → payment-request-card-2ts7ITxd.js} +15 -15
- package/dist/_chunks/{pdf-viewer-QfebdLOd.js → pdf-viewer-DF3VMaPo.js} +8 -8
- package/dist/_chunks/{pencil-CfQX-0Qc.js → pencil-B1sKKyuT.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-hRRJY1NN.js → periodontal-chart-card-6c6Lt4ws.js} +2 -2
- package/dist/_chunks/{permission-matrix-Bw5oexUt.js → permission-matrix-BIJrGEmz.js} +3 -3
- package/dist/_chunks/{phone-Bi5yUm4I.js → phone-FceYcIFQ.js} +3 -3
- package/dist/_chunks/{phone-input-DjU-XmO_.js → phone-input-dtnrvnZf.js} +2 -2
- package/dist/_chunks/{pl-YAn5z2wR.js → pl-BWNumNrg.js} +3 -3
- package/dist/_chunks/{plus-CYKNmfuA.js → plus-DzMQ_c6b.js} +3 -3
- package/dist/_chunks/{popover-B2qCDhJC.js → popover-uJ6BvEU3.js} +2 -2
- package/dist/_chunks/{postal-code-input-UCOYuRY2.js → postal-code-input-BznBxVxf.js} +3 -3
- package/dist/_chunks/{practice-results-El5Z-oVp.js → practice-results-CSEHTH2V.js} +15 -15
- package/dist/_chunks/{pregnancy-dating-CunHrOpO.js → pregnancy-dating-CxVAA6_4.js} +10 -10
- package/dist/_chunks/{pregnancy-weight-gain-BUNpTsH-.js → pregnancy-weight-gain-C7zyrwow.js} +5 -5
- package/dist/_chunks/{printer-CeVEWfQq.js → printer-rkK0T1gi.js} +3 -3
- package/dist/_chunks/{privacy-lock-BzMLQu-j.js → privacy-lock-DrRmK8C7.js} +4 -4
- package/dist/_chunks/{product-hub-panel-DtU7KXxm.js → product-hub-panel-CaZqttvm.js} +5 -5
- package/dist/_chunks/{province-select-D_TZvix3.js → province-select-BDywtmL-.js} +2 -2
- package/dist/_chunks/{pt-D9xdT5KQ.js → pt-zqdQuryr.js} +2 -2
- package/dist/_chunks/{public-footer.agent-D0cFbjWl.js → public-footer.agent-BKkK3T3V.js} +3 -3
- package/dist/_chunks/{public-header.agent-TxmC_x1I.js → public-header.agent-C-opZaOw.js} +5 -5
- package/dist/_chunks/{radio-group-BPt7pKZW.js → radio-group-CI-6SmSw.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-tWjN2nHX.js → radiograph-panel.agent-D1x33moc.js} +14 -14
- package/dist/_chunks/{rating-BRD7O74e.js → rating-BYbUowdK.js} +2 -2
- package/dist/_chunks/{refresh-cw-CC8jSKMr.js → refresh-cw-DnI0cLFC.js} +3 -3
- package/dist/_chunks/{reviews-panel-DxkSrgMl.js → reviews-panel-liUj6OPX.js} +5 -5
- package/dist/_chunks/{rich-text-editor-C8tyGjfb.js → rich-text-editor-DUgznqOf.js} +53 -53
- package/dist/_chunks/{ro-Cp--52bT.js → ro-CornQr64.js} +2 -2
- package/dist/_chunks/{rotate-ccw-BWANpitO.js → rotate-ccw-BBQnIVTr.js} +3 -3
- package/dist/_chunks/{ru-BM8eX_Zz.js → ru-CKAXNYVD.js} +3 -3
- package/dist/_chunks/{scan-line-lGioFwLC.js → scan-line-CNseIHQ0.js} +3 -3
- package/dist/_chunks/{search-BonnQsHv.js → search-QbWPlY5f.js} +3 -3
- package/dist/_chunks/{search-bar-C_T3pBJn.js → search-bar-CJj6sI9m.js} +3 -3
- package/dist/_chunks/{search-input-DQvGxR74.js → search-input-B7GmlPIE.js} +4 -4
- package/dist/_chunks/{select-KsyRr8WH.js → select-BmCbJMJS.js} +5 -5
- package/dist/_chunks/{send-CySZIRPJ.js → send-C5kDJ-Mz.js} +3 -3
- package/dist/_chunks/{session-countdown-X1Ki6i0M.js → session-countdown-qr8EO5QY.js} +5 -5
- package/dist/_chunks/{settings-ca2Yi9R8.js → settings-d25ju_6L.js} +3 -3
- package/dist/_chunks/{sheet-umkfZjF6.js → sheet-B_X54aZo.js} +2 -2
- package/dist/_chunks/{shield-check-BjCGH_Sr.js → shield-check-DCJALLVh.js} +3 -3
- package/dist/_chunks/{sidebar-QCp9wHNP.js → sidebar-B0OBmJrC.js} +10 -10
- package/dist/_chunks/{sign-document-By6hMOra.js → sign-document-nK03S73h.js} +3 -3
- package/dist/_chunks/{signature-field-Dy1JRjzE.js → signature-field-jgwYgUhO.js} +4 -4
- package/dist/_chunks/{smart-date-CWikAqZx.js → smart-date-CsPlilQA.js} +7 -7
- package/dist/_chunks/{sq-XRpr0r49.js → sq-CIIvqXZv.js} +2 -2
- package/dist/_chunks/{square-CZoGU14v.js → square-DASBRZ0U.js} +3 -3
- package/dist/_chunks/{square-check-big-Jr-0202D.js → square-check-big-dj0o8yA3.js} +3 -3
- package/dist/_chunks/{star-vav0SJ9e.js → star-Bf9L2Uot.js} +3 -3
- package/dist/_chunks/{stepper-accordion-DC-H-8v4.js → stepper-accordion-BeVMZPuG.js} +3 -3
- package/dist/_chunks/{stethoscope-DT5qCW8Y.js → stethoscope-sZXGC43m.js} +3 -3
- package/dist/_chunks/{streaming-text-BB9mvK4m.js → streaming-text-Cedc05ya.js} +2 -2
- package/dist/_chunks/subDays-DGSOp9d9.js +8 -0
- package/dist/_chunks/{sun-BuXE0xUS.js → sun-Bj9Mr553.js} +4 -4
- package/dist/_chunks/{sv-Z3APomE8.js → sv-Kpk1pzjz.js} +2 -2
- package/dist/_chunks/{tab-bar-Bv9nGNdO.js → tab-bar-Axhk6xzx.js} +6 -6
- package/dist/_chunks/{tabs-CYZVKKDl.js → tabs-DVQ941Sj.js} +4 -4
- package/dist/_chunks/{tag-BQXwuJq1.js → tag-3wgkwwDB.js} +2 -2
- package/dist/_chunks/{task-card-DCdsI0ZT.js → task-card-BUgK6yZT.js} +9 -9
- package/dist/_chunks/{task-tray-DNVejijD.js → task-tray-DP5A3Qnc.js} +5 -5
- package/dist/_chunks/{tasks-panel-C9odmawT.js → tasks-panel-BuxaYtEF.js} +40 -40
- package/dist/_chunks/{text-input-B-OWQ1Je.js → text-input-CUvCb6ST.js} +2 -2
- package/dist/_chunks/{theme-toggle-XB6o_lgs.js → theme-toggle-dtdy5EaL.js} +4 -4
- package/dist/_chunks/{timeline-CqA4nKTI.js → timeline-r-8IUoBS.js} +6 -6
- package/dist/_chunks/{toast.agent-57UzyR9U.js → toast.agent-BSxl057x.js} +6 -6
- package/dist/_chunks/{token-insert-menu-CFQqTe_n.js → token-insert-menu-Pok4nExI.js} +2 -2
- package/dist/_chunks/{tooth-scheme-DJZtzfeY.js → tooth-scheme-D_rso4uu.js} +4 -4
- package/dist/_chunks/{tr-e0-P4FON.js → tr-DHaeLFxG.js} +2 -2
- package/dist/_chunks/{transaction-chip-CscoQbxF.js → transaction-chip-B6iWoVmU.js} +8 -8
- package/dist/_chunks/{transcript-panel-CHGHHHdT.js → transcript-panel-BGkEhvHO.js} +3 -3
- package/dist/_chunks/{trash-2-rPAKaRgB.js → trash-2-uumy3fy1.js} +3 -3
- package/dist/_chunks/{triangle-alert-CBPUIzQo.js → triangle-alert-CBnO6nq_.js} +3 -3
- package/dist/_chunks/{unit-converter-CwlZbfdn.js → unit-converter-fEqluT8b.js} +5 -5
- package/dist/_chunks/{use-password-requirements-BXvS2MBS.js → use-password-requirements-Bwtqx1qN.js} +7 -7
- package/dist/_chunks/{user-CPxpqFjJ.js → user-B12p7bVF.js} +3 -3
- package/dist/_chunks/{user-cog-BS_qc8nA.js → user-cog-BTn98Arm.js} +3 -3
- package/dist/_chunks/{users-MBVtUzwd.js → users-BjS_Gg1E.js} +3 -3
- package/dist/_chunks/{video-BAeICxCT.js → video-BheNGvsu.js} +3 -3
- package/dist/_chunks/{warning-stack--sTrrBDA.js → warning-stack-BaMI7-n7.js} +4 -4
- package/dist/_chunks/{workflow-map-M8MBBHQm.js → workflow-map-qWsgCldq.js} +146 -146
- package/dist/_chunks/{x-CCcI3eJp.js → x-B5YnXwCz.js} +3 -3
- package/dist/_chunks/{zh-CN-B-igM5gY.js → zh-CN-BncsTBwM.js} +3 -3
- package/dist/_chunks/{zoom-out-CgVtf2Wx.js → zoom-out-Dnif4kJx.js} +4 -4
- package/dist/agent-catalog.json +1473 -317
- package/dist/agent-i18n/en.json +107 -15
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/annotation-marker/annotation-marker.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/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/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/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/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/chat-message.d.ts +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/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/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/detect-face-landmarks.d.ts +26 -0
- package/dist/components/face-scheme/detect-face-yunet.d.ts +28 -0
- package/dist/components/face-scheme/face-scheme-data.d.ts +113 -0
- package/dist/components/face-scheme/face-scheme-zones.d.ts +11 -0
- package/dist/components/face-scheme/face-scheme.agent.d.ts +4 -0
- package/dist/components/face-scheme/face-scheme.d.ts +144 -0
- package/dist/components/face-scheme/index.d.ts +7 -0
- package/dist/components/face-scheme/index.js +17 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-upload/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/form-field/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/iban-input/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/index.d.ts +3 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/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/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.d.ts +6 -0
- package/dist/components/muscle-scheme/index.js +16 -0
- package/dist/components/{anatomy-scheme/anatomy-muscle-paths.d.ts → muscle-scheme/muscle-paths.d.ts} +3 -1
- package/dist/components/muscle-scheme/muscle-scheme-data.d.ts +107 -0
- package/dist/components/muscle-scheme/muscle-scheme.agent.d.ts +6 -0
- package/dist/components/{anatomy-scheme/anatomy-scheme.d.ts → muscle-scheme/muscle-scheme.d.ts} +24 -27
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/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/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.d.ts +6 -0
- package/dist/components/optical-prescription/index.js +38 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +106 -0
- package/dist/components/optical-prescription/optical-prescription.agent.d.ts +6 -0
- package/dist/components/optical-prescription/optical-prescription.d.ts +43 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/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/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/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/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/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/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/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/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +139 -98
- package/dist/i18n/locales/ar.js +141 -107
- package/dist/i18n/locales/de.d.ts +139 -98
- package/dist/i18n/locales/de.js +141 -107
- package/dist/i18n/locales/el.d.ts +139 -98
- package/dist/i18n/locales/el.js +141 -107
- package/dist/i18n/locales/en.d.ts +139 -98
- package/dist/i18n/locales/en.js +141 -107
- package/dist/i18n/locales/es.d.ts +139 -98
- package/dist/i18n/locales/es.js +141 -107
- package/dist/i18n/locales/fr.d.ts +139 -98
- package/dist/i18n/locales/fr.js +141 -107
- package/dist/i18n/locales/hi.d.ts +139 -98
- package/dist/i18n/locales/hi.js +141 -107
- package/dist/i18n/locales/it.d.ts +139 -98
- package/dist/i18n/locales/it.js +141 -107
- package/dist/i18n/locales/ja.d.ts +139 -98
- package/dist/i18n/locales/ja.js +141 -107
- package/dist/i18n/locales/nl.d.ts +139 -98
- package/dist/i18n/locales/nl.js +141 -107
- package/dist/i18n/locales/pl.d.ts +139 -98
- package/dist/i18n/locales/pl.js +141 -107
- package/dist/i18n/locales/pt.d.ts +139 -98
- package/dist/i18n/locales/pt.js +141 -107
- package/dist/i18n/locales/ro.d.ts +139 -98
- package/dist/i18n/locales/ro.js +141 -107
- package/dist/i18n/locales/ru.d.ts +139 -98
- package/dist/i18n/locales/ru.js +141 -107
- package/dist/i18n/locales/sq.d.ts +139 -98
- package/dist/i18n/locales/sq.js +141 -107
- package/dist/i18n/locales/sv.d.ts +139 -98
- package/dist/i18n/locales/sv.js +141 -107
- package/dist/i18n/locales/tr.d.ts +139 -98
- package/dist/i18n/locales/tr.js +141 -107
- package/dist/i18n/locales/zh.d.ts +139 -98
- package/dist/i18n/locales/zh.js +141 -107
- package/dist/index.js +710 -662
- package/dist/locales/ar.json +141 -100
- package/dist/locales/de.json +141 -100
- package/dist/locales/el.json +141 -100
- package/dist/locales/en.json +141 -100
- package/dist/locales/es.json +141 -100
- package/dist/locales/fr.json +141 -100
- package/dist/locales/hi.json +141 -100
- package/dist/locales/it.json +141 -100
- package/dist/locales/ja.json +141 -100
- package/dist/locales/nl.json +141 -100
- package/dist/locales/pl.json +141 -100
- package/dist/locales/pt.json +141 -100
- package/dist/locales/ro.json +141 -100
- package/dist/locales/ru.json +141 -100
- package/dist/locales/sq.json +141 -100
- package/dist/locales/sv.json +141 -100
- package/dist/locales/tr.json +141 -100
- package/dist/locales/zh.json +141 -100
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +18 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +7 -1
- package/package.json +13 -5
- package/dist/_chunks/calendar-B6soK1Yb.js +0 -17
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +0 -25
- package/dist/_chunks/list-checks-BUs75d_o.js +0 -18
- package/dist/_chunks/sparkles-CuYXqQLg.js +0 -23
- package/dist/_chunks/subDays-BcYv1Lxi.js +0 -8
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +0 -15
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +0 -121
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.d.ts +0 -6
- package/dist/components/anatomy-scheme/index.js +0 -17
|
@@ -3,45 +3,46 @@ import { forwardRef as ot, useId as rt, useState as K, useCallback as j, useRef
|
|
|
3
3
|
import { c as Pe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as O, Trans as Pt } from "react-i18next";
|
|
5
5
|
import { u as Ot } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { A as z } from "./alert-
|
|
6
|
+
import { A as z } from "./alert-KJbsPYkI.js";
|
|
7
7
|
import { B as ie } from "./button-DD_0Xdmr.js";
|
|
8
8
|
import { C as Ke } from "./checkbox-BuZ1u__2.js";
|
|
9
|
-
import { C as Bt } from "./checkbox-group-
|
|
10
|
-
import { D as Et } from "./date-picker-
|
|
11
|
-
import { E as Rt } from "./email-input-
|
|
12
|
-
import { F as Z } from "./form-field-
|
|
13
|
-
import { P as Vt } from "./phone-input-
|
|
9
|
+
import { C as Bt } from "./checkbox-group-CfqMv57d.js";
|
|
10
|
+
import { D as Et } from "./date-picker-CVkD_lOi.js";
|
|
11
|
+
import { E as Rt } from "./email-input-Dpe63k0K.js";
|
|
12
|
+
import { F as Z } from "./form-field-M5UpX65Z.js";
|
|
13
|
+
import { P as Vt } from "./phone-input-dtnrvnZf.js";
|
|
14
14
|
import { T as Lt } from "./text-area-Bt3p7Pt0.js";
|
|
15
|
-
import { T as Ce } from "./text-input-
|
|
15
|
+
import { T as Ce } from "./text-input-CUvCb6ST.js";
|
|
16
16
|
import { S as Ft } from "./spinner-hbwuKwMf.js";
|
|
17
17
|
import { I as tt } from "./icon-button-LqoiKcUN.js";
|
|
18
|
-
import { S as Oe } from "./select-
|
|
19
|
-
import { C as Ge } from "./combobox-
|
|
20
|
-
import { M as Ue } from "./multi-select-
|
|
18
|
+
import { S as Oe } from "./select-BmCbJMJS.js";
|
|
19
|
+
import { C as Ge } from "./combobox-DiMLItyu.js";
|
|
20
|
+
import { M as Ue } from "./multi-select-D5QLBJM1.js";
|
|
21
21
|
import { S as _e } from "./skeleton-CZbwyJAA.js";
|
|
22
22
|
import { E as dt } from "./empty-state-BLy7tigq.js";
|
|
23
|
-
import { S as $t } from "./stepper-accordion-
|
|
23
|
+
import { S as $t } from "./stepper-accordion-BeVMZPuG.js";
|
|
24
24
|
import { S as zt } from "./stepper-progress-Bv0njx4g.js";
|
|
25
|
-
import { p as
|
|
25
|
+
import { p as L, S as Kt } from "./slot-grid-FsqumOaS.js";
|
|
26
26
|
import { s as le, i as st } from "./isSameDay-DUEiAT0G.js";
|
|
27
|
-
import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as
|
|
28
|
-
import { s as Ht } from "./subDays-
|
|
29
|
-
import { C as Gt } from "./chevron-left-
|
|
30
|
-
import { C as Ut } from "./chevron-right-
|
|
31
|
-
import { c as
|
|
32
|
-
import { M as Yt, S as Jt } from "./sun-
|
|
33
|
-
import { S as Zt } from "./stethoscope-
|
|
34
|
-
import { H as Wt } from "./heart-pulse-
|
|
35
|
-
import { E as Xt } from "./eye-
|
|
36
|
-
import { S as Qt } from "./scan-line-
|
|
37
|
-
import {
|
|
27
|
+
import { w as lt, i as ce, a as je, n as jt, f as ye, d as qt, h as Te, x as De } from "./date-picker-variants-DLg-ZrIo.js";
|
|
28
|
+
import { s as Ht } from "./subDays-DGSOp9d9.js";
|
|
29
|
+
import { C as Gt } from "./chevron-left-B8cOyH-V.js";
|
|
30
|
+
import { C as Ut } from "./chevron-right-I9AeSxH2.js";
|
|
31
|
+
import { c as F } from "./createLucideIcon-DhHxpK9K.js";
|
|
32
|
+
import { M as Yt, S as Jt } from "./sun-Bj9Mr553.js";
|
|
33
|
+
import { S as Zt } from "./stethoscope-sZXGC43m.js";
|
|
34
|
+
import { H as Wt } from "./heart-pulse-BCppJyN2.js";
|
|
35
|
+
import { E as Xt } from "./eye-BjhN2nYf.js";
|
|
36
|
+
import { S as Qt } from "./scan-line-CNseIHQ0.js";
|
|
37
|
+
import { A as es } from "./astroid-BN4f5VXU.js";
|
|
38
|
+
import { C as ts } from "./clipboard-check-BeAGxDVT.js";
|
|
38
39
|
/**
|
|
39
|
-
* @license lucide-react v1.
|
|
40
|
+
* @license lucide-react v1.22.0 - ISC
|
|
40
41
|
*
|
|
41
42
|
* This source code is licensed under the ISC license.
|
|
42
43
|
* See the LICENSE file in the root directory of this source tree.
|
|
43
44
|
*/
|
|
44
|
-
const
|
|
45
|
+
const ss = [
|
|
45
46
|
[
|
|
46
47
|
"path",
|
|
47
48
|
{
|
|
@@ -49,14 +50,14 @@ const ts = [
|
|
|
49
50
|
key: "169zse"
|
|
50
51
|
}
|
|
51
52
|
]
|
|
52
|
-
],
|
|
53
|
+
], as = F("activity", ss);
|
|
53
54
|
/**
|
|
54
|
-
* @license lucide-react v1.
|
|
55
|
+
* @license lucide-react v1.22.0 - ISC
|
|
55
56
|
*
|
|
56
57
|
* This source code is licensed under the ISC license.
|
|
57
58
|
* See the LICENSE file in the root directory of this source tree.
|
|
58
59
|
*/
|
|
59
|
-
const
|
|
60
|
+
const is = [
|
|
60
61
|
["path", { d: "M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5", key: "1u7htd" }],
|
|
61
62
|
["path", { d: "M15 12h.01", key: "1k8ypt" }],
|
|
62
63
|
[
|
|
@@ -67,14 +68,14 @@ const as = [
|
|
|
67
68
|
}
|
|
68
69
|
],
|
|
69
70
|
["path", { d: "M9 12h.01", key: "157uk2" }]
|
|
70
|
-
],
|
|
71
|
+
], ns = F("baby", is);
|
|
71
72
|
/**
|
|
72
|
-
* @license lucide-react v1.
|
|
73
|
+
* @license lucide-react v1.22.0 - ISC
|
|
73
74
|
*
|
|
74
75
|
* This source code is licensed under the ISC license.
|
|
75
76
|
* See the LICENSE file in the root directory of this source tree.
|
|
76
77
|
*/
|
|
77
|
-
const
|
|
78
|
+
const os = [
|
|
78
79
|
[
|
|
79
80
|
"path",
|
|
80
81
|
{
|
|
@@ -82,14 +83,14 @@ const ns = [
|
|
|
82
83
|
key: "w610uw"
|
|
83
84
|
}
|
|
84
85
|
]
|
|
85
|
-
],
|
|
86
|
+
], rs = F("bone", os);
|
|
86
87
|
/**
|
|
87
|
-
* @license lucide-react v1.
|
|
88
|
+
* @license lucide-react v1.22.0 - ISC
|
|
88
89
|
*
|
|
89
90
|
* This source code is licensed under the ISC license.
|
|
90
91
|
* See the LICENSE file in the root directory of this source tree.
|
|
91
92
|
*/
|
|
92
|
-
const
|
|
93
|
+
const ds = [
|
|
93
94
|
["path", { d: "M12 18V5", key: "adv99a" }],
|
|
94
95
|
["path", { d: "M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4", key: "1e3is1" }],
|
|
95
96
|
["path", { d: "M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5", key: "1gqd8o" }],
|
|
@@ -98,14 +99,14 @@ const rs = [
|
|
|
98
99
|
["path", { d: "M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517", key: "1gq6am" }],
|
|
99
100
|
["path", { d: "M6 18a4 4 0 0 1-2-7.464", key: "k1g0md" }],
|
|
100
101
|
["path", { d: "M6.003 5.125a4 4 0 0 0-2.526 5.77", key: "q97ue3" }]
|
|
101
|
-
],
|
|
102
|
+
], ls = F("brain", ds);
|
|
102
103
|
/**
|
|
103
|
-
* @license lucide-react v1.
|
|
104
|
+
* @license lucide-react v1.22.0 - ISC
|
|
104
105
|
*
|
|
105
106
|
* This source code is licensed under the ISC license.
|
|
106
107
|
* See the LICENSE file in the root directory of this source tree.
|
|
107
108
|
*/
|
|
108
|
-
const
|
|
109
|
+
const cs = [
|
|
109
110
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
110
111
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
111
112
|
["path", { d: "M3 10h18", key: "8toen8" }],
|
|
@@ -114,93 +115,76 @@ const ls = [
|
|
|
114
115
|
["path", { d: "M13 18H7", key: "bb0bb7" }],
|
|
115
116
|
["path", { d: "M7 14h.01", key: "1qa3f1" }],
|
|
116
117
|
["path", { d: "M17 18h.01", key: "1bdyru" }]
|
|
117
|
-
],
|
|
118
|
+
], us = F("calendar-range", cs);
|
|
118
119
|
/**
|
|
119
|
-
* @license lucide-react v1.
|
|
120
|
+
* @license lucide-react v1.22.0 - ISC
|
|
120
121
|
*
|
|
121
122
|
* This source code is licensed under the ISC license.
|
|
122
123
|
* See the LICENSE file in the root directory of this source tree.
|
|
123
124
|
*/
|
|
124
|
-
const
|
|
125
|
-
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
126
|
-
[
|
|
127
|
-
"path",
|
|
128
|
-
{
|
|
129
|
-
d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",
|
|
130
|
-
key: "116196"
|
|
131
|
-
}
|
|
132
|
-
],
|
|
133
|
-
["path", { d: "m9 14 2 2 4-4", key: "df797q" }]
|
|
134
|
-
], ps = V("clipboard-check", us);
|
|
135
|
-
/**
|
|
136
|
-
* @license lucide-react v1.8.0 - ISC
|
|
137
|
-
*
|
|
138
|
-
* This source code is licensed under the ISC license.
|
|
139
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
140
|
-
*/
|
|
141
|
-
const ms = [
|
|
125
|
+
const ps = [
|
|
142
126
|
["path", { d: "M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0", key: "1dfaln" }],
|
|
143
127
|
["path", { d: "M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4", key: "1qnva7" }]
|
|
144
|
-
],
|
|
128
|
+
], ms = F("ear", ps);
|
|
145
129
|
/**
|
|
146
|
-
* @license lucide-react v1.
|
|
130
|
+
* @license lucide-react v1.22.0 - ISC
|
|
147
131
|
*
|
|
148
132
|
* This source code is licensed under the ISC license.
|
|
149
133
|
* See the LICENSE file in the root directory of this source tree.
|
|
150
134
|
*/
|
|
151
|
-
const
|
|
135
|
+
const gs = [
|
|
152
136
|
["path", { d: "M6 18h8", key: "1borvv" }],
|
|
153
137
|
["path", { d: "M3 22h18", key: "8prr45" }],
|
|
154
138
|
["path", { d: "M14 22a7 7 0 1 0 0-14h-1", key: "1jwaiy" }],
|
|
155
139
|
["path", { d: "M9 14h2", key: "197e7h" }],
|
|
156
140
|
["path", { d: "M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z", key: "1bmzmy" }],
|
|
157
141
|
["path", { d: "M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3", key: "1drr47" }]
|
|
158
|
-
],
|
|
142
|
+
], fs = F("microscope", gs);
|
|
159
143
|
/**
|
|
160
|
-
* @license lucide-react v1.
|
|
144
|
+
* @license lucide-react v1.22.0 - ISC
|
|
161
145
|
*
|
|
162
146
|
* This source code is licensed under the ISC license.
|
|
163
147
|
* See the LICENSE file in the root directory of this source tree.
|
|
164
148
|
*/
|
|
165
|
-
const
|
|
149
|
+
const hs = [
|
|
166
150
|
[
|
|
167
151
|
"path",
|
|
168
152
|
{ d: "m10.5 20.5 10-10a4.95 4.95 0 1 0-7-7l-10 10a4.95 4.95 0 1 0 7 7Z", key: "wa1lgi" }
|
|
169
153
|
],
|
|
170
154
|
["path", { d: "m8.5 8.5 7 7", key: "rvfmvr" }]
|
|
171
|
-
],
|
|
155
|
+
], vs = F("pill", hs);
|
|
172
156
|
/**
|
|
173
|
-
* @license lucide-react v1.
|
|
157
|
+
* @license lucide-react v1.22.0 - ISC
|
|
174
158
|
*
|
|
175
159
|
* This source code is licensed under the ISC license.
|
|
176
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
177
161
|
*/
|
|
178
|
-
const
|
|
162
|
+
const bs = [
|
|
179
163
|
["circle", { cx: "6", cy: "6", r: "3", key: "1lh9wr" }],
|
|
180
164
|
["path", { d: "M8.12 8.12 12 12", key: "1alkpv" }],
|
|
181
165
|
["path", { d: "M20 4 8.12 15.88", key: "xgtan2" }],
|
|
182
166
|
["circle", { cx: "6", cy: "18", r: "3", key: "fqmcym" }],
|
|
183
167
|
["path", { d: "M14.8 14.8 20 20", key: "ptml3r" }]
|
|
184
|
-
],
|
|
168
|
+
], ys = F("scissors", bs);
|
|
185
169
|
/**
|
|
186
|
-
* @license lucide-react v1.
|
|
170
|
+
* @license lucide-react v1.22.0 - ISC
|
|
187
171
|
*
|
|
188
172
|
* This source code is licensed under the ISC license.
|
|
189
173
|
* See the LICENSE file in the root directory of this source tree.
|
|
190
174
|
*/
|
|
191
|
-
const
|
|
175
|
+
const ks = [
|
|
192
176
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
193
177
|
["path", { d: "M8 14s1.5 2 4 2 4-2 4-2", key: "1y1vjs" }],
|
|
194
178
|
["line", { x1: "9", x2: "9.01", y1: "9", y2: "9", key: "yxxnd0" }],
|
|
195
179
|
["line", { x1: "15", x2: "15.01", y1: "9", y2: "9", key: "1p4y9e" }]
|
|
196
|
-
],
|
|
180
|
+
], xs = F("smile", ks);
|
|
197
181
|
/**
|
|
198
|
-
* @license lucide-react v1.
|
|
182
|
+
* @license lucide-react v1.22.0 - ISC
|
|
199
183
|
*
|
|
200
184
|
* This source code is licensed under the ISC license.
|
|
201
185
|
* See the LICENSE file in the root directory of this source tree.
|
|
202
186
|
*/
|
|
203
|
-
const
|
|
187
|
+
const Ss = [
|
|
204
188
|
["path", { d: "M12 10V2", key: "16sf7g" }],
|
|
205
189
|
["path", { d: "m4.93 10.93 1.41 1.41", key: "2a7f42" }],
|
|
206
190
|
["path", { d: "M2 18h2", key: "j10viu" }],
|
|
@@ -209,25 +193,25 @@ const Is = [
|
|
|
209
193
|
["path", { d: "M22 22H2", key: "19qnx5" }],
|
|
210
194
|
["path", { d: "m16 6-4 4-4-4", key: "6wukr" }],
|
|
211
195
|
["path", { d: "M16 18a4 4 0 0 0-8 0", key: "1lzouq" }]
|
|
212
|
-
],
|
|
196
|
+
], Is = F("sunset", Ss);
|
|
213
197
|
/**
|
|
214
|
-
* @license lucide-react v1.
|
|
198
|
+
* @license lucide-react v1.22.0 - ISC
|
|
215
199
|
*
|
|
216
200
|
* This source code is licensed under the ISC license.
|
|
217
201
|
* See the LICENSE file in the root directory of this source tree.
|
|
218
202
|
*/
|
|
219
|
-
const
|
|
203
|
+
const Ns = [
|
|
220
204
|
["path", { d: "m18 2 4 4", key: "22kx64" }],
|
|
221
205
|
["path", { d: "m17 7 3-3", key: "1w1zoj" }],
|
|
222
206
|
["path", { d: "M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5", key: "1exhtz" }],
|
|
223
207
|
["path", { d: "m9 11 4 4", key: "rovt3i" }],
|
|
224
208
|
["path", { d: "m5 19-3 3", key: "59f2uf" }],
|
|
225
209
|
["path", { d: "m14 4 6 6", key: "yqp9t2" }]
|
|
226
|
-
], at =
|
|
227
|
-
function
|
|
210
|
+
], at = F("syringe", Ns);
|
|
211
|
+
function ws(e, t, s) {
|
|
228
212
|
return lt(e, -1, s);
|
|
229
213
|
}
|
|
230
|
-
const
|
|
214
|
+
const Cs = {
|
|
231
215
|
id: "booking",
|
|
232
216
|
// `view_change` removed (0.69): the layout `variant` is a fixed prop — the
|
|
233
217
|
// handle exposes only `getVariant` (state), no action mutates it. The flow's
|
|
@@ -297,7 +281,7 @@ const Ms = {
|
|
|
297
281
|
"whatsapp",
|
|
298
282
|
"sms"
|
|
299
283
|
], X = "all", Ds = "de";
|
|
300
|
-
function
|
|
284
|
+
function Ms(e) {
|
|
301
285
|
return [...e.lockedOperatorId ? e.specialties.filter(
|
|
302
286
|
(s) => {
|
|
303
287
|
var i;
|
|
@@ -308,7 +292,7 @@ function As(e) {
|
|
|
308
292
|
return n - o;
|
|
309
293
|
});
|
|
310
294
|
}
|
|
311
|
-
function
|
|
295
|
+
function As(e) {
|
|
312
296
|
let t = e.services;
|
|
313
297
|
if (e.lockedOperatorId && (t = t.filter(
|
|
314
298
|
(i) => {
|
|
@@ -323,7 +307,7 @@ function Ts(e) {
|
|
|
323
307
|
}
|
|
324
308
|
return t;
|
|
325
309
|
}
|
|
326
|
-
function
|
|
310
|
+
function Ts(e) {
|
|
327
311
|
const t = e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties;
|
|
328
312
|
if (t) {
|
|
329
313
|
const s = ue(e.value);
|
|
@@ -347,8 +331,8 @@ function _s(e) {
|
|
|
347
331
|
}
|
|
348
332
|
return [];
|
|
349
333
|
}
|
|
350
|
-
function
|
|
351
|
-
const s = e.country === Ds, i = !s || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0,
|
|
334
|
+
function _s(e, t) {
|
|
335
|
+
const s = e.country === Ds, i = !s || e.value.insuranceType !== void 0, o = (e.useSpecialties === void 0 ? e.specialties.length > 0 : e.useSpecialties) && i, l = ue(e.value).length > 0, p = !o || l, r = Be(e.value).length > 0, c = !p || r, m = t.operators, k = !!e.allowOperatorSelection && c && r && !e.lockedOperatorId && m.length > 1, I = c && r, N = (!I || e.value.date !== void 0) && e.value.date !== void 0, M = (!N || e.value.slotKey !== void 0) && e.value.slotKey !== void 0, y = r && m.length === 0;
|
|
352
336
|
return {
|
|
353
337
|
insurance: s,
|
|
354
338
|
specialty: o,
|
|
@@ -356,11 +340,11 @@ function Ps(e, t) {
|
|
|
356
340
|
operator: k,
|
|
357
341
|
date: I,
|
|
358
342
|
slot: N,
|
|
359
|
-
details:
|
|
343
|
+
details: M,
|
|
360
344
|
onboardingIncomplete: y
|
|
361
345
|
};
|
|
362
346
|
}
|
|
363
|
-
function
|
|
347
|
+
function Ps(e, t) {
|
|
364
348
|
const s = [];
|
|
365
349
|
t.insurance && s.push(1), t.specialty && s.push(2), s.push(3), t.operator && s.push(4), s.push(5), s.push(6), s.push(7);
|
|
366
350
|
const i = {
|
|
@@ -379,12 +363,12 @@ function Os(e, t) {
|
|
|
379
363
|
visibleSteps: s
|
|
380
364
|
};
|
|
381
365
|
}
|
|
382
|
-
function
|
|
366
|
+
function Os(e) {
|
|
383
367
|
const t = {
|
|
384
|
-
specialties:
|
|
385
|
-
services:
|
|
386
|
-
operators:
|
|
387
|
-
}, s =
|
|
368
|
+
specialties: Ms(e),
|
|
369
|
+
services: As(e),
|
|
370
|
+
operators: Ts(e)
|
|
371
|
+
}, s = _s(e, t), { currentStep: i, visibleSteps: n } = Ps(e, s);
|
|
388
372
|
let o;
|
|
389
373
|
if (e.value.date && e.value.slotKey) {
|
|
390
374
|
const c = e.availableSlots[e.value.date];
|
|
@@ -511,7 +495,7 @@ function vt(e, t) {
|
|
|
511
495
|
slotKey: t
|
|
512
496
|
};
|
|
513
497
|
}
|
|
514
|
-
function
|
|
498
|
+
function Bs(e, t) {
|
|
515
499
|
let s = e;
|
|
516
500
|
if (t.lockedOperatorId && s.operatorId !== t.lockedOperatorId && (s = { ...s, operatorId: t.lockedOperatorId }), (t.useSpecialties === void 0 ? t.specialties.length > 0 : t.useSpecialties) && t.specialties.length === 1 && s.specialtyId === void 0 && s.specialtyIds === void 0 && (s = { ...s, specialtyId: t.specialties[0].id }), t.autoSelectSingleService) {
|
|
517
501
|
const n = ue(s), o = n.length > 0 ? t.services.filter(
|
|
@@ -525,7 +509,7 @@ function He(e) {
|
|
|
525
509
|
if (e.operatorId && e.operatorId !== X)
|
|
526
510
|
return e.operatorId;
|
|
527
511
|
}
|
|
528
|
-
function
|
|
512
|
+
function Es(e) {
|
|
529
513
|
if (!e) return !1;
|
|
530
514
|
const t = e.trim();
|
|
531
515
|
return /^\+?\d[\d\s\-()]{6,}$/.test(t);
|
|
@@ -534,7 +518,7 @@ function bt(e) {
|
|
|
534
518
|
const t = e && e.length > 0 ? e : ["email"], s = new Set(t);
|
|
535
519
|
return qe.filter((i) => s.has(i));
|
|
536
520
|
}
|
|
537
|
-
function
|
|
521
|
+
function Rs(e, t, s) {
|
|
538
522
|
const i = bt(e), n = new Set(i);
|
|
539
523
|
if (s)
|
|
540
524
|
return qe.filter(
|
|
@@ -542,12 +526,12 @@ function Vs(e, t, s) {
|
|
|
542
526
|
);
|
|
543
527
|
const o = [];
|
|
544
528
|
n.has("email") && o.push("email");
|
|
545
|
-
const l =
|
|
529
|
+
const l = Es(t), u = n.has("whatsapp");
|
|
546
530
|
u && l && o.push("whatsapp"), !u && n.has("sms") && o.push("sms");
|
|
547
531
|
const p = new Set(o);
|
|
548
532
|
return qe.filter((r) => p.has(r));
|
|
549
533
|
}
|
|
550
|
-
const it = 500,
|
|
534
|
+
const it = 500, Vs = /^[A-Z0-9]{16}$/, Ls = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 300, Me = { state: "idle" }, Ye = ot(
|
|
551
535
|
({
|
|
552
536
|
value: e,
|
|
553
537
|
onChange: t,
|
|
@@ -565,12 +549,12 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
565
549
|
submitting: I = !1,
|
|
566
550
|
summarySlot: v,
|
|
567
551
|
defaultPhoneCountry: N,
|
|
568
|
-
confirmationChannels:
|
|
569
|
-
defaultConfirmationChannels:
|
|
552
|
+
confirmationChannels: D,
|
|
553
|
+
defaultConfirmationChannels: M,
|
|
570
554
|
submitError: y
|
|
571
555
|
}, b) => {
|
|
572
556
|
var we, re;
|
|
573
|
-
const { t: d } = O(), T = rt(), [x, g] = K(
|
|
557
|
+
const { t: d } = O(), T = rt(), [x, g] = K(Me), [S, _] = K(Me), [A, G] = K({}), B = j(
|
|
574
558
|
(h) => G((C) => ({ ...C, [h]: !0 })),
|
|
575
559
|
[]
|
|
576
560
|
), E = ae(null), U = ae(
|
|
@@ -586,8 +570,8 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
586
570
|
(h) => t({ ...e, ...h }),
|
|
587
571
|
[e, t]
|
|
588
572
|
), Q = w(
|
|
589
|
-
() => bt(
|
|
590
|
-
[
|
|
573
|
+
() => bt(D),
|
|
574
|
+
[D]
|
|
591
575
|
), q = Q.length >= 2, pe = ae(!1);
|
|
592
576
|
H(() => {
|
|
593
577
|
if (!q) {
|
|
@@ -598,17 +582,17 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
598
582
|
pe.current = !0;
|
|
599
583
|
return;
|
|
600
584
|
}
|
|
601
|
-
const h =
|
|
585
|
+
const h = Rs(
|
|
602
586
|
Q,
|
|
603
587
|
e.mobilePhone,
|
|
604
|
-
|
|
588
|
+
M
|
|
605
589
|
);
|
|
606
590
|
pe.current = !0, P({ confirmationChannels: h });
|
|
607
591
|
}, [
|
|
608
592
|
q,
|
|
609
593
|
Q,
|
|
610
594
|
e.mobilePhone,
|
|
611
|
-
|
|
595
|
+
M
|
|
612
596
|
]);
|
|
613
597
|
const ee = w(
|
|
614
598
|
() => e.confirmationChannels ?? [],
|
|
@@ -617,10 +601,10 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
617
601
|
H(() => {
|
|
618
602
|
const h = e.codiceFiscale;
|
|
619
603
|
if (!i || !m || !h) {
|
|
620
|
-
g(
|
|
604
|
+
g(Me);
|
|
621
605
|
return;
|
|
622
606
|
}
|
|
623
|
-
if (!
|
|
607
|
+
if (!Vs.test(h)) {
|
|
624
608
|
g({
|
|
625
609
|
state: "invalid",
|
|
626
610
|
hint: d("booking.details.codiceFiscale.invalidFormat")
|
|
@@ -644,7 +628,7 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
644
628
|
H(() => {
|
|
645
629
|
const h = e.insuranceNumber;
|
|
646
630
|
if (!Y || !k || !h) {
|
|
647
|
-
_(
|
|
631
|
+
_(Me);
|
|
648
632
|
return;
|
|
649
633
|
}
|
|
650
634
|
_({ state: "pending" }), U.current && clearTimeout(U.current), U.current = setTimeout(() => {
|
|
@@ -661,7 +645,7 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
661
645
|
}, nt);
|
|
662
646
|
}, [Y, k, e.insuranceNumber, d]);
|
|
663
647
|
const ne = w(
|
|
664
|
-
() => !!(e.email &&
|
|
648
|
+
() => !!(e.email && Ls.test(e.email)),
|
|
665
649
|
[e.email]
|
|
666
650
|
), me = w(
|
|
667
651
|
() => !!(e.mobilePhone && e.mobilePhone.length >= 6),
|
|
@@ -988,7 +972,7 @@ const it = 500, Ls = /^[A-Z0-9]{16}$/, Fs = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, nt = 3
|
|
|
988
972
|
}
|
|
989
973
|
);
|
|
990
974
|
Ye.displayName = "BookingDetailsForm";
|
|
991
|
-
const
|
|
975
|
+
const Fs = Pe(
|
|
992
976
|
"ds:flex ds:w-full ds:flex-col ds:text-[var(--foreground)]",
|
|
993
977
|
{
|
|
994
978
|
variants: {
|
|
@@ -1016,40 +1000,40 @@ const $s = Pe(
|
|
|
1016
1000
|
},
|
|
1017
1001
|
defaultVariants: { variant: "inline-list", surface: "flat" }
|
|
1018
1002
|
}
|
|
1019
|
-
),
|
|
1003
|
+
), $s = [
|
|
1020
1004
|
[
|
|
1021
1005
|
/\b(estetic|aesthetic|botox|filler|mesoterap|chirurgia\s*plastic)/i,
|
|
1022
1006
|
at
|
|
1023
1007
|
],
|
|
1024
1008
|
[/\b(cardio|ecg|elettrocardio|ecocardio|cuore|heart)/i, Wt],
|
|
1025
|
-
[/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i,
|
|
1009
|
+
[/\b(dent|odonto|tooth|teeth|pulizia|igien|smile)/i, xs],
|
|
1026
1010
|
[/\b(oftalmo|ocul|ophthal|vision|occhi|eye)/i, Xt],
|
|
1027
|
-
[/\b(otorin|udito|orecchi|hearing|ear)/i,
|
|
1028
|
-
[/\b(neuro|brain|cervello)/i,
|
|
1029
|
-
[/\b(pediatr|child|bambin)/i,
|
|
1030
|
-
[/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i,
|
|
1031
|
-
[/\b(lab|analis|test|sang|esami)/i,
|
|
1032
|
-
[/\b(farmaco|pharm|pillol|refill)/i,
|
|
1033
|
-
[/\b(chirurg|surg|intervent|operat)/i,
|
|
1011
|
+
[/\b(otorin|udito|orecchi|hearing|ear)/i, ms],
|
|
1012
|
+
[/\b(neuro|brain|cervello)/i, ls],
|
|
1013
|
+
[/\b(pediatr|child|bambin)/i, ns],
|
|
1014
|
+
[/\b(ortop|ortho|osteo|skeleton|ossa|bone)/i, rs],
|
|
1015
|
+
[/\b(lab|analis|test|sang|esami)/i, fs],
|
|
1016
|
+
[/\b(farmaco|pharm|pillol|refill)/i, vs],
|
|
1017
|
+
[/\b(chirurg|surg|intervent|operat)/i, ys],
|
|
1034
1018
|
[/\b(scan|rx|x-?ray|raggi|imag|radio|risonan|ecograf|ultras)/i, Qt],
|
|
1035
1019
|
[/\b(vacc|inject|inie|punto)/i, at],
|
|
1036
1020
|
[/\b(derma|skin|pelle)/i, es],
|
|
1037
|
-
[/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i,
|
|
1038
|
-
[/\b(general|medicin|family|control|check[-\s]?up)/i,
|
|
1021
|
+
[/\b(prima\s*visit|first\s*visit|consult|consulto|valutaz)/i, ts],
|
|
1022
|
+
[/\b(general|medicin|family|control|check[-\s]?up)/i, as]
|
|
1039
1023
|
];
|
|
1040
|
-
function
|
|
1041
|
-
for (const [t, s] of
|
|
1024
|
+
function zs(e) {
|
|
1025
|
+
for (const [t, s] of $s)
|
|
1042
1026
|
if (t.test(e)) return s;
|
|
1043
1027
|
return null;
|
|
1044
1028
|
}
|
|
1045
|
-
function
|
|
1046
|
-
const t =
|
|
1029
|
+
function Ks(e) {
|
|
1030
|
+
const t = zs(e.label) ?? Zt;
|
|
1047
1031
|
return /* @__PURE__ */ a(t, { "aria-hidden": "true", className: "ds:size-5" });
|
|
1048
1032
|
}
|
|
1049
1033
|
function se(e) {
|
|
1050
1034
|
return Te(e, "yyyy-MM-dd");
|
|
1051
1035
|
}
|
|
1052
|
-
const
|
|
1036
|
+
const js = [
|
|
1053
1037
|
"ds:relative ds:flex ds:items-center ds:justify-center",
|
|
1054
1038
|
"ds:min-h-[var(--min-target-size)] ds:min-w-[var(--min-target-size)]",
|
|
1055
1039
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -1059,7 +1043,7 @@ const qs = [
|
|
|
1059
1043
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
1060
1044
|
"ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1061
1045
|
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
1062
|
-
].join(" "),
|
|
1046
|
+
].join(" "), qs = Pe(js, {
|
|
1063
1047
|
variants: {
|
|
1064
1048
|
state: {
|
|
1065
1049
|
available: "ds:cursor-pointer ds:text-[var(--foreground)] ds:hover:bg-[var(--muted)]/30",
|
|
@@ -1070,14 +1054,14 @@ const qs = [
|
|
|
1070
1054
|
},
|
|
1071
1055
|
defaultVariants: { state: "unavailable" }
|
|
1072
1056
|
});
|
|
1073
|
-
function
|
|
1057
|
+
function Hs({
|
|
1074
1058
|
availableDates: e,
|
|
1075
1059
|
selectedDate: t,
|
|
1076
1060
|
onSelectDate: s,
|
|
1077
1061
|
locale: i,
|
|
1078
1062
|
loading: n
|
|
1079
1063
|
}) {
|
|
1080
|
-
const { t: o } = O(), l = w(() => t ? ye(
|
|
1064
|
+
const { t: o } = O(), l = w(() => t ? ye(L(t)) : e.length > 0 ? ye(L(e[0])) : ye(/* @__PURE__ */ new Date()), [t, e]), [u, p] = K(l), [r, c] = K(null), m = w(() => {
|
|
1081
1065
|
const y = ye(u), b = qt(u), d = y.getDay(), T = b.getDate(), x = [];
|
|
1082
1066
|
for (let g = d; g > 0; g -= 1) {
|
|
1083
1067
|
const S = new Date(y);
|
|
@@ -1115,14 +1099,14 @@ function Gs({
|
|
|
1115
1099
|
}, [i]), v = w(() => new Set(e), [e]), N = j(
|
|
1116
1100
|
(y) => v.has(se(y)),
|
|
1117
1101
|
[v]
|
|
1118
|
-
),
|
|
1102
|
+
), D = w(() => {
|
|
1119
1103
|
if (r) return r;
|
|
1120
|
-
if (t) return
|
|
1104
|
+
if (t) return L(t);
|
|
1121
1105
|
const y = m.find(
|
|
1122
|
-
(b) =>
|
|
1106
|
+
(b) => De(b, u) && N(b)
|
|
1123
1107
|
);
|
|
1124
|
-
return y || (m.find((b) =>
|
|
1125
|
-
}, [r, t, m, u, N]),
|
|
1108
|
+
return y || (m.find((b) => De(b, u)) ?? null);
|
|
1109
|
+
}, [r, t, m, u, N]), M = j(
|
|
1126
1110
|
(y, b) => {
|
|
1127
1111
|
let d = null;
|
|
1128
1112
|
switch (y.key) {
|
|
@@ -1152,7 +1136,7 @@ function Gs({
|
|
|
1152
1136
|
default:
|
|
1153
1137
|
return;
|
|
1154
1138
|
}
|
|
1155
|
-
d && (y.preventDefault(),
|
|
1139
|
+
d && (y.preventDefault(), De(d, u) || p(ye(d)), c(d));
|
|
1156
1140
|
},
|
|
1157
1141
|
[N, s, u]
|
|
1158
1142
|
);
|
|
@@ -1179,7 +1163,7 @@ function Gs({
|
|
|
1179
1163
|
intent: "ghost",
|
|
1180
1164
|
flipIconInRtl: !0,
|
|
1181
1165
|
onClick: () => {
|
|
1182
|
-
p((y) =>
|
|
1166
|
+
p((y) => ws(y)), c(null);
|
|
1183
1167
|
}
|
|
1184
1168
|
}
|
|
1185
1169
|
),
|
|
@@ -1234,7 +1218,7 @@ function Gs({
|
|
|
1234
1218
|
role: "row",
|
|
1235
1219
|
className: "ds:grid ds:grid-cols-7 ds:gap-[var(--spacing-2xs)]",
|
|
1236
1220
|
children: m.slice(b * 7, b * 7 + 7).map((d, T) => {
|
|
1237
|
-
const x = b * 7 + T, g =
|
|
1221
|
+
const x = b * 7 + T, g = De(d, u), S = g && N(d), _ = t ? st(d, L(t)) : !1, A = g ? _ ? "selected" : S ? "available" : "unavailable" : "outside", G = D ? st(D, d) : !1, B = (() => {
|
|
1238
1222
|
try {
|
|
1239
1223
|
return new Intl.DateTimeFormat(i, {
|
|
1240
1224
|
dateStyle: "full"
|
|
@@ -1256,8 +1240,8 @@ function Gs({
|
|
|
1256
1240
|
onClick: () => {
|
|
1257
1241
|
S && s(se(d));
|
|
1258
1242
|
},
|
|
1259
|
-
onKeyDown: (E) =>
|
|
1260
|
-
className:
|
|
1243
|
+
onKeyDown: (E) => M(E, d),
|
|
1244
|
+
className: qs({ state: A }),
|
|
1261
1245
|
children: /* @__PURE__ */ a("span", { "aria-hidden": "true", children: d.getDate() })
|
|
1262
1246
|
},
|
|
1263
1247
|
`mg-cell-${x}`
|
|
@@ -1271,7 +1255,7 @@ function Gs({
|
|
|
1271
1255
|
)
|
|
1272
1256
|
] });
|
|
1273
1257
|
}
|
|
1274
|
-
const
|
|
1258
|
+
const Gs = Pe(
|
|
1275
1259
|
[
|
|
1276
1260
|
"ds:relative ds:flex ds:w-full ds:items-center ds:gap-[var(--spacing-md)]",
|
|
1277
1261
|
"ds:min-h-[var(--min-target-size)]",
|
|
@@ -1297,7 +1281,7 @@ const Us = Pe(
|
|
|
1297
1281
|
defaultVariants: { state: "idle" }
|
|
1298
1282
|
}
|
|
1299
1283
|
);
|
|
1300
|
-
function
|
|
1284
|
+
function Us({
|
|
1301
1285
|
services: e,
|
|
1302
1286
|
selectedServiceId: t,
|
|
1303
1287
|
onSelect: s
|
|
@@ -1360,12 +1344,12 @@ function Ys({
|
|
|
1360
1344
|
const k = t === c.id, I = o === m, v = i("booking.serviceCardLabel", {
|
|
1361
1345
|
label: c.label,
|
|
1362
1346
|
duration: c.durationMin
|
|
1363
|
-
}), N =
|
|
1347
|
+
}), N = Ks(c);
|
|
1364
1348
|
return /* @__PURE__ */ f(
|
|
1365
1349
|
"button",
|
|
1366
1350
|
{
|
|
1367
|
-
ref: (
|
|
1368
|
-
|
|
1351
|
+
ref: (D) => {
|
|
1352
|
+
D ? u.current.set(m, D) : u.current.delete(m);
|
|
1369
1353
|
},
|
|
1370
1354
|
type: "button",
|
|
1371
1355
|
role: "radio",
|
|
@@ -1374,8 +1358,8 @@ function Ys({
|
|
|
1374
1358
|
tabIndex: I ? 0 : -1,
|
|
1375
1359
|
onClick: () => s(c.id),
|
|
1376
1360
|
onFocus: () => l(m),
|
|
1377
|
-
onKeyDown: (
|
|
1378
|
-
className:
|
|
1361
|
+
onKeyDown: (D) => r(D, m, c.id),
|
|
1362
|
+
className: Gs({
|
|
1379
1363
|
state: k ? "selected" : "idle"
|
|
1380
1364
|
}),
|
|
1381
1365
|
children: [
|
|
@@ -1399,7 +1383,7 @@ function Ys({
|
|
|
1399
1383
|
}
|
|
1400
1384
|
);
|
|
1401
1385
|
}
|
|
1402
|
-
const
|
|
1386
|
+
const Ys = Pe(
|
|
1403
1387
|
[
|
|
1404
1388
|
"ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-2xs)]",
|
|
1405
1389
|
"ds:min-h-[var(--min-target-size)]",
|
|
@@ -1425,16 +1409,16 @@ const Js = Pe(
|
|
|
1425
1409
|
defaultVariants: { state: "idle" }
|
|
1426
1410
|
}
|
|
1427
1411
|
);
|
|
1428
|
-
function
|
|
1412
|
+
function Js(e) {
|
|
1429
1413
|
const [t] = e.split(":").map((i) => parseInt(i, 10)), s = Number.isFinite(t) ? t : 0;
|
|
1430
1414
|
return s < 12 ? "morning" : s < 17 ? "afternoon" : "evening";
|
|
1431
1415
|
}
|
|
1432
|
-
const
|
|
1416
|
+
const Zs = {
|
|
1433
1417
|
morning: Jt,
|
|
1434
|
-
afternoon:
|
|
1418
|
+
afternoon: Is,
|
|
1435
1419
|
evening: Yt
|
|
1436
1420
|
};
|
|
1437
|
-
function
|
|
1421
|
+
function Ws({
|
|
1438
1422
|
date: e,
|
|
1439
1423
|
slots: t,
|
|
1440
1424
|
selectedSlotKey: s,
|
|
@@ -1448,7 +1432,7 @@ function Xs({
|
|
|
1448
1432
|
weekday: "long",
|
|
1449
1433
|
day: "numeric",
|
|
1450
1434
|
month: "long"
|
|
1451
|
-
}).format(
|
|
1435
|
+
}).format(L(e));
|
|
1452
1436
|
} catch {
|
|
1453
1437
|
return e;
|
|
1454
1438
|
}
|
|
@@ -1459,7 +1443,7 @@ function Xs({
|
|
|
1459
1443
|
evening: []
|
|
1460
1444
|
};
|
|
1461
1445
|
for (const k of t)
|
|
1462
|
-
m[
|
|
1446
|
+
m[Js(k.time)].push(k);
|
|
1463
1447
|
return m;
|
|
1464
1448
|
}, [t]), r = t.filter((m) => m.available).length, c = ["morning", "afternoon", "evening"];
|
|
1465
1449
|
return n ? /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
@@ -1476,7 +1460,7 @@ function Xs({
|
|
|
1476
1460
|
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
1477
1461
|
/* @__PURE__ */ f("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1478
1462
|
/* @__PURE__ */ a(
|
|
1479
|
-
|
|
1463
|
+
us,
|
|
1480
1464
|
{
|
|
1481
1465
|
"aria-hidden": "true",
|
|
1482
1466
|
className: "ds:size-4 ds:text-[color:var(--accent)]"
|
|
@@ -1489,7 +1473,7 @@ function Xs({
|
|
|
1489
1473
|
c.map((m) => {
|
|
1490
1474
|
const k = p[m];
|
|
1491
1475
|
if (k.length === 0) return null;
|
|
1492
|
-
const I =
|
|
1476
|
+
const I = Zs[m];
|
|
1493
1477
|
return /* @__PURE__ */ f(
|
|
1494
1478
|
"div",
|
|
1495
1479
|
{
|
|
@@ -1506,7 +1490,7 @@ function Xs({
|
|
|
1506
1490
|
"aria-label": l(`booking.timeOfDay.${m}`),
|
|
1507
1491
|
className: "ds:grid ds:grid-cols-3 ds:gap-[var(--spacing-xs)] ds:sm:grid-cols-4",
|
|
1508
1492
|
children: k.map((v) => {
|
|
1509
|
-
const N = v.key === s,
|
|
1493
|
+
const N = v.key === s, D = v.available ? N ? "selected" : "idle" : "unavailable";
|
|
1510
1494
|
return /* @__PURE__ */ a(
|
|
1511
1495
|
"button",
|
|
1512
1496
|
{
|
|
@@ -1518,7 +1502,7 @@ function Xs({
|
|
|
1518
1502
|
time: v.time
|
|
1519
1503
|
}),
|
|
1520
1504
|
onClick: () => v.available && i(v),
|
|
1521
|
-
className:
|
|
1505
|
+
className: Ys({ state: D }),
|
|
1522
1506
|
children: v.time
|
|
1523
1507
|
},
|
|
1524
1508
|
v.key
|
|
@@ -1534,7 +1518,7 @@ function Xs({
|
|
|
1534
1518
|
] });
|
|
1535
1519
|
}
|
|
1536
1520
|
const Ae = 4;
|
|
1537
|
-
function
|
|
1521
|
+
function Xs({
|
|
1538
1522
|
availableDates: e,
|
|
1539
1523
|
availableSlots: t,
|
|
1540
1524
|
value: s,
|
|
@@ -1547,11 +1531,11 @@ function Qs({
|
|
|
1547
1531
|
}) {
|
|
1548
1532
|
const r = w(() => le(/* @__PURE__ */ new Date()), []), [c, m] = K(() => {
|
|
1549
1533
|
if (s.date) {
|
|
1550
|
-
const g = le(
|
|
1534
|
+
const g = le(L(s.date));
|
|
1551
1535
|
if (!ce(r, g)) return g;
|
|
1552
1536
|
}
|
|
1553
1537
|
if (e.length > 0) {
|
|
1554
|
-
const g = le(
|
|
1538
|
+
const g = le(L(e[0]));
|
|
1555
1539
|
if (ce(g, r)) return g;
|
|
1556
1540
|
}
|
|
1557
1541
|
return r;
|
|
@@ -1568,19 +1552,19 @@ function Qs({
|
|
|
1568
1552
|
available: E.available
|
|
1569
1553
|
}));
|
|
1570
1554
|
return { date: A, slots: B };
|
|
1571
|
-
}), [c, t]), v = ce(c, r), N = !0,
|
|
1555
|
+
}), [c, t]), v = ce(c, r), N = !0, D = j(() => {
|
|
1572
1556
|
m((g) => {
|
|
1573
1557
|
const S = Ht(g, Ae);
|
|
1574
1558
|
return ce(r, S) ? r : S;
|
|
1575
1559
|
});
|
|
1576
|
-
}, [r]),
|
|
1560
|
+
}, [r]), M = j(() => {
|
|
1577
1561
|
m((g) => je(g, Ae));
|
|
1578
1562
|
}, []);
|
|
1579
1563
|
H(() => {
|
|
1580
1564
|
if (e.length === 0) return;
|
|
1581
|
-
const g = le(
|
|
1565
|
+
const g = le(L(e[0]));
|
|
1582
1566
|
!ce(g, r) || e.some((_) => {
|
|
1583
|
-
const A = le(
|
|
1567
|
+
const A = le(L(_));
|
|
1584
1568
|
return !ce(A, k) && !jt(A, c);
|
|
1585
1569
|
}) || m(g);
|
|
1586
1570
|
}, [e]), H(() => {
|
|
@@ -1600,7 +1584,7 @@ function Qs({
|
|
|
1600
1584
|
Je,
|
|
1601
1585
|
{
|
|
1602
1586
|
nextAvailableDate: T,
|
|
1603
|
-
onJump: () => m(le(
|
|
1587
|
+
onJump: () => m(le(L(T))),
|
|
1604
1588
|
locale: p
|
|
1605
1589
|
}
|
|
1606
1590
|
) : null,
|
|
@@ -1615,8 +1599,8 @@ function Qs({
|
|
|
1615
1599
|
hasPrevious: v,
|
|
1616
1600
|
hasNext: N,
|
|
1617
1601
|
onSlotSelect: y,
|
|
1618
|
-
onPreviousDays:
|
|
1619
|
-
onNextDays:
|
|
1602
|
+
onPreviousDays: D,
|
|
1603
|
+
onNextDays: M
|
|
1620
1604
|
}
|
|
1621
1605
|
)
|
|
1622
1606
|
] });
|
|
@@ -1634,7 +1618,7 @@ function yt(e) {
|
|
|
1634
1618
|
datePickerStyle: r
|
|
1635
1619
|
} = e;
|
|
1636
1620
|
return r === "four-day-grid" ? /* @__PURE__ */ a(
|
|
1637
|
-
|
|
1621
|
+
Xs,
|
|
1638
1622
|
{
|
|
1639
1623
|
availableDates: t.availableDates,
|
|
1640
1624
|
availableSlots: t.availableSlots,
|
|
@@ -1647,7 +1631,7 @@ function yt(e) {
|
|
|
1647
1631
|
locale: p
|
|
1648
1632
|
}
|
|
1649
1633
|
) : /* @__PURE__ */ a(
|
|
1650
|
-
|
|
1634
|
+
Hs,
|
|
1651
1635
|
{
|
|
1652
1636
|
availableDates: t.availableDates,
|
|
1653
1637
|
selectedDate: s.date,
|
|
@@ -1662,7 +1646,7 @@ function yt(e) {
|
|
|
1662
1646
|
function kt(e) {
|
|
1663
1647
|
const { inputs: t, value: s, onChange: i, loadingSlots: n, locale: o, datePickerStyle: l } = e;
|
|
1664
1648
|
return l === "four-day-grid" || !s.date ? null : /* @__PURE__ */ a(
|
|
1665
|
-
|
|
1649
|
+
Ws,
|
|
1666
1650
|
{
|
|
1667
1651
|
date: s.date,
|
|
1668
1652
|
slots: t.availableSlots[s.date] ?? [],
|
|
@@ -1802,7 +1786,7 @@ function It({
|
|
|
1802
1786
|
] }) : /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1803
1787
|
c,
|
|
1804
1788
|
/* @__PURE__ */ a(
|
|
1805
|
-
|
|
1789
|
+
Us,
|
|
1806
1790
|
{
|
|
1807
1791
|
services: e,
|
|
1808
1792
|
selectedServiceId: t,
|
|
@@ -1888,7 +1872,7 @@ function Je({
|
|
|
1888
1872
|
const { t: i } = O(), n = w(() => {
|
|
1889
1873
|
try {
|
|
1890
1874
|
return new Intl.DateTimeFormat(s, { dateStyle: "long" }).format(
|
|
1891
|
-
|
|
1875
|
+
L(e)
|
|
1892
1876
|
);
|
|
1893
1877
|
} catch {
|
|
1894
1878
|
return e;
|
|
@@ -1899,7 +1883,7 @@ function Je({
|
|
|
1899
1883
|
/* @__PURE__ */ a(z.Action, { children: /* @__PURE__ */ a(ie, { intent: "secondary", size: "sm", onClick: t, children: i("booking.nextAvailable.cta") }) })
|
|
1900
1884
|
] });
|
|
1901
1885
|
}
|
|
1902
|
-
function
|
|
1886
|
+
function Qs({
|
|
1903
1887
|
snapshot: e,
|
|
1904
1888
|
operators: t,
|
|
1905
1889
|
specialties: s,
|
|
@@ -1911,7 +1895,7 @@ function ea({
|
|
|
1911
1895
|
onModify: p
|
|
1912
1896
|
}) {
|
|
1913
1897
|
const { t: r } = O(), m = (e.details.confirmationChannels ?? ["email"]).map(
|
|
1914
|
-
(
|
|
1898
|
+
(M) => r(`booking.confirmation.channel.${M}`)
|
|
1915
1899
|
), k = o === "demo" ? r("booking.success.descriptionDemo") : m.length > 1 ? r("booking.success.descriptionMultiple", {
|
|
1916
1900
|
channels: m.join(" · ")
|
|
1917
1901
|
}) : r("booking.success.descriptionSingle", { channel: m[0] }), I = w(() => {
|
|
@@ -1921,11 +1905,11 @@ function ea({
|
|
|
1921
1905
|
weekday: "long",
|
|
1922
1906
|
day: "numeric",
|
|
1923
1907
|
month: "long"
|
|
1924
|
-
}).format(
|
|
1908
|
+
}).format(L(e.date));
|
|
1925
1909
|
} catch {
|
|
1926
1910
|
return e.date;
|
|
1927
1911
|
}
|
|
1928
|
-
}, [e.date, n]), v = e.operatorId ? t.find((
|
|
1912
|
+
}, [e.date, n]), v = e.operatorId ? t.find((M) => M.id === e.operatorId) : void 0, N = e.specialtyId ? s.find((M) => M.id === e.specialtyId) : void 0, D = e.serviceId ? i.find((M) => M.id === e.serviceId) : void 0;
|
|
1929
1913
|
return /* @__PURE__ */ f(
|
|
1930
1914
|
"div",
|
|
1931
1915
|
{
|
|
@@ -1941,9 +1925,9 @@ function ea({
|
|
|
1941
1925
|
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summarySpecialty") }),
|
|
1942
1926
|
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: N.label })
|
|
1943
1927
|
] }) : null,
|
|
1944
|
-
|
|
1928
|
+
D ? /* @__PURE__ */ f(W, { children: [
|
|
1945
1929
|
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryService") }),
|
|
1946
|
-
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children:
|
|
1930
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:m-0 ds:text-[var(--foreground)]", children: D.label })
|
|
1947
1931
|
] }) : null,
|
|
1948
1932
|
I ? /* @__PURE__ */ f(W, { children: [
|
|
1949
1933
|
/* @__PURE__ */ a("dt", { className: "type-label ds:text-[var(--muted-foreground)]", children: r("booking.success.summaryDate") }),
|
|
@@ -1975,7 +1959,7 @@ function Ct({ customSlot: e }) {
|
|
|
1975
1959
|
}
|
|
1976
1960
|
);
|
|
1977
1961
|
}
|
|
1978
|
-
function
|
|
1962
|
+
function ea(e) {
|
|
1979
1963
|
const {
|
|
1980
1964
|
cascade: t,
|
|
1981
1965
|
inputs: s,
|
|
@@ -1992,8 +1976,8 @@ function ta(e) {
|
|
|
1992
1976
|
specialtyPickerStyle: I,
|
|
1993
1977
|
servicePickerStyle: v,
|
|
1994
1978
|
operatorPickerStyle: N,
|
|
1995
|
-
submitting:
|
|
1996
|
-
locale:
|
|
1979
|
+
submitting: D,
|
|
1980
|
+
locale: M,
|
|
1997
1981
|
detailsProps: y
|
|
1998
1982
|
} = e, { t: b } = O();
|
|
1999
1983
|
return /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
@@ -2045,7 +2029,7 @@ function ta(e) {
|
|
|
2045
2029
|
{
|
|
2046
2030
|
nextAvailableDate: s.nextAvailableDate,
|
|
2047
2031
|
onJump: () => n(Ee(i, s.nextAvailableDate)),
|
|
2048
|
-
locale:
|
|
2032
|
+
locale: M
|
|
2049
2033
|
}
|
|
2050
2034
|
) : yt({
|
|
2051
2035
|
inputs: s,
|
|
@@ -2055,7 +2039,7 @@ function ta(e) {
|
|
|
2055
2039
|
onWindowChange: m,
|
|
2056
2040
|
loadingDates: p,
|
|
2057
2041
|
loadingSlots: r,
|
|
2058
|
-
locale:
|
|
2042
|
+
locale: M,
|
|
2059
2043
|
datePickerStyle: k
|
|
2060
2044
|
})
|
|
2061
2045
|
] }) : null,
|
|
@@ -2066,7 +2050,7 @@ function ta(e) {
|
|
|
2066
2050
|
value: i,
|
|
2067
2051
|
onChange: n,
|
|
2068
2052
|
loadingSlots: r,
|
|
2069
|
-
locale:
|
|
2053
|
+
locale: M,
|
|
2070
2054
|
datePickerStyle: k
|
|
2071
2055
|
})
|
|
2072
2056
|
] }) : null,
|
|
@@ -2077,7 +2061,7 @@ function ta(e) {
|
|
|
2077
2061
|
value: i.details ?? {},
|
|
2078
2062
|
onChange: (d) => n({ ...i, details: d }),
|
|
2079
2063
|
onSubmit: o,
|
|
2080
|
-
submitting:
|
|
2064
|
+
submitting: D,
|
|
2081
2065
|
defaultPhoneCountry: e.policy.country
|
|
2082
2066
|
}
|
|
2083
2067
|
) : null
|
|
@@ -2098,8 +2082,8 @@ function $(e, t, s = {}) {
|
|
|
2098
2082
|
onWindowChange: I,
|
|
2099
2083
|
datePickerStyle: v,
|
|
2100
2084
|
specialtyPickerStyle: N,
|
|
2101
|
-
servicePickerStyle:
|
|
2102
|
-
operatorPickerStyle:
|
|
2085
|
+
servicePickerStyle: D,
|
|
2086
|
+
operatorPickerStyle: M,
|
|
2103
2087
|
submitting: y,
|
|
2104
2088
|
locale: b,
|
|
2105
2089
|
detailsProps: d,
|
|
@@ -2135,7 +2119,7 @@ function $(e, t, s = {}) {
|
|
|
2135
2119
|
valueIds: o.serviceIds,
|
|
2136
2120
|
onChange: (x) => l(mt(o, x)),
|
|
2137
2121
|
onChangeIds: (x) => l(gt(o, x)),
|
|
2138
|
-
pickerStyle:
|
|
2122
|
+
pickerStyle: D,
|
|
2139
2123
|
compact: s.compactService
|
|
2140
2124
|
}
|
|
2141
2125
|
);
|
|
@@ -2148,7 +2132,7 @@ function $(e, t, s = {}) {
|
|
|
2148
2132
|
valueIds: o.operatorIds,
|
|
2149
2133
|
onChange: (x) => l(ft(o, x)),
|
|
2150
2134
|
onChangeIds: (x) => l(ht(o, x)),
|
|
2151
|
-
pickerStyle:
|
|
2135
|
+
pickerStyle: M
|
|
2152
2136
|
}
|
|
2153
2137
|
);
|
|
2154
2138
|
case 5:
|
|
@@ -2211,14 +2195,14 @@ function Ze() {
|
|
|
2211
2195
|
[e]
|
|
2212
2196
|
);
|
|
2213
2197
|
}
|
|
2214
|
-
function
|
|
2198
|
+
function ta(e) {
|
|
2215
2199
|
const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, l = Ze(), u = w(
|
|
2216
2200
|
() => o === "four-day-grid" ? t.visibleSteps.filter((c) => c !== 6) : t.visibleSteps,
|
|
2217
2201
|
[t.visibleSteps, o]
|
|
2218
2202
|
), p = w(
|
|
2219
2203
|
() => u.map((c) => ({
|
|
2220
2204
|
label: l[c],
|
|
2221
|
-
summary:
|
|
2205
|
+
summary: Dt(c, s, t),
|
|
2222
2206
|
status: ke(c, s) && c < t.currentStep ? "completed" : void 0,
|
|
2223
2207
|
content: $(c, e, { compactService: !0 })
|
|
2224
2208
|
})),
|
|
@@ -2254,7 +2238,7 @@ function ke(e, t) {
|
|
|
2254
2238
|
return !1;
|
|
2255
2239
|
}
|
|
2256
2240
|
}
|
|
2257
|
-
function
|
|
2241
|
+
function Dt(e, t, s) {
|
|
2258
2242
|
var i;
|
|
2259
2243
|
if (ke(e, t))
|
|
2260
2244
|
switch (e) {
|
|
@@ -2286,7 +2270,7 @@ function Mt(e, t, s) {
|
|
|
2286
2270
|
return;
|
|
2287
2271
|
}
|
|
2288
2272
|
}
|
|
2289
|
-
function
|
|
2273
|
+
function sa(e) {
|
|
2290
2274
|
const { cascade: t, value: s, setActiveStep: i } = e, { t: n } = O(), o = Ze(), l = t.visibleSteps.filter(
|
|
2291
2275
|
(p) => p === 1 || p === 2 || p === 3 || p === 4
|
|
2292
2276
|
), u = l.some(
|
|
@@ -2300,7 +2284,7 @@ function aa(e) {
|
|
|
2300
2284
|
"aria-label": n("booking.regionLabel"),
|
|
2301
2285
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
2302
2286
|
children: l.map((p) => {
|
|
2303
|
-
const r =
|
|
2287
|
+
const r = Dt(p, s, t);
|
|
2304
2288
|
return r ? /* @__PURE__ */ f(
|
|
2305
2289
|
ie,
|
|
2306
2290
|
{
|
|
@@ -2331,7 +2315,7 @@ function aa(e) {
|
|
|
2331
2315
|
t.gates.details ? /* @__PURE__ */ a("div", { children: $(7, e) }) : null
|
|
2332
2316
|
] });
|
|
2333
2317
|
}
|
|
2334
|
-
function
|
|
2318
|
+
function aa(e) {
|
|
2335
2319
|
const { cascade: t, datePickerStyle: s } = e, i = t.visibleSteps.filter(
|
|
2336
2320
|
(o) => o === 1 || o === 2 || o === 3 || o === 4
|
|
2337
2321
|
);
|
|
@@ -2352,7 +2336,7 @@ function ia(e) {
|
|
|
2352
2336
|
t.gates.details ? $(7, e) : null
|
|
2353
2337
|
] });
|
|
2354
2338
|
}
|
|
2355
|
-
function
|
|
2339
|
+
function ia(e) {
|
|
2356
2340
|
const { cascade: t, value: s, activeStep: i, setActiveStep: n, datePickerStyle: o } = e, { t: l } = O(), u = Ze(), p = w(
|
|
2357
2341
|
() => o === "four-day-grid" ? t.visibleSteps.filter((v) => v !== 6) : t.visibleSteps,
|
|
2358
2342
|
[t.visibleSteps, o]
|
|
@@ -2393,7 +2377,7 @@ function na(e) {
|
|
|
2393
2377
|
] })
|
|
2394
2378
|
] });
|
|
2395
2379
|
}
|
|
2396
|
-
const
|
|
2380
|
+
const na = [], oa = [], ra = ot(
|
|
2397
2381
|
({
|
|
2398
2382
|
variant: e = "inline-list",
|
|
2399
2383
|
country: t,
|
|
@@ -2414,8 +2398,8 @@ const oa = [], ra = [], da = ot(
|
|
|
2414
2398
|
requireDateOfBirth: I,
|
|
2415
2399
|
requireInsuranceNumber: v,
|
|
2416
2400
|
showNote: N,
|
|
2417
|
-
showReturningPatientFlag:
|
|
2418
|
-
privacyPolicyUrl:
|
|
2401
|
+
showReturningPatientFlag: D,
|
|
2402
|
+
privacyPolicyUrl: M,
|
|
2419
2403
|
termsUrl: y,
|
|
2420
2404
|
validateCodiceFiscale: b,
|
|
2421
2405
|
validateInsuranceNumber: d,
|
|
@@ -2445,16 +2429,16 @@ const oa = [], ra = [], da = ot(
|
|
|
2445
2429
|
className: Ve,
|
|
2446
2430
|
...Ne
|
|
2447
2431
|
}, we) => {
|
|
2448
|
-
const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ??
|
|
2432
|
+
const { t: re, i18n: h } = O(), C = e ?? "inline-list", te = h.language ?? "en", J = l ?? na, de = p ?? oa;
|
|
2449
2433
|
H(() => {
|
|
2450
|
-
const
|
|
2434
|
+
const V = Bs(g, {
|
|
2451
2435
|
useSpecialties: s,
|
|
2452
2436
|
lockedOperatorId: n,
|
|
2453
2437
|
autoSelectSingleService: o,
|
|
2454
2438
|
specialties: J,
|
|
2455
2439
|
services: u
|
|
2456
2440
|
});
|
|
2457
|
-
(
|
|
2441
|
+
(V.specialtyId !== g.specialtyId || V.operatorId !== g.operatorId || V.serviceId !== g.serviceId) && S(V);
|
|
2458
2442
|
}, [
|
|
2459
2443
|
n,
|
|
2460
2444
|
s,
|
|
@@ -2463,7 +2447,7 @@ const oa = [], ra = [], da = ot(
|
|
|
2463
2447
|
u
|
|
2464
2448
|
]);
|
|
2465
2449
|
const R = w(
|
|
2466
|
-
() =>
|
|
2450
|
+
() => Os({
|
|
2467
2451
|
country: t,
|
|
2468
2452
|
useSpecialties: s,
|
|
2469
2453
|
allowOperatorSelection: i,
|
|
@@ -2494,22 +2478,22 @@ const oa = [], ra = [], da = ot(
|
|
|
2494
2478
|
R.currentStep > Xe.current && ge(R.currentStep), Xe.current = R.currentStep;
|
|
2495
2479
|
}, [R.currentStep]);
|
|
2496
2480
|
const [fe, he] = K("idle"), [Le, Fe] = K(null), Qe = j(
|
|
2497
|
-
async (
|
|
2481
|
+
async (V) => {
|
|
2498
2482
|
if (!R.selectedSlot) return;
|
|
2499
2483
|
const ze = {
|
|
2500
2484
|
slot: R.selectedSlot,
|
|
2501
2485
|
value: {
|
|
2502
2486
|
...g,
|
|
2503
|
-
details:
|
|
2487
|
+
details: V,
|
|
2504
2488
|
operatorId: He(g) ?? g.operatorId
|
|
2505
2489
|
},
|
|
2506
|
-
details:
|
|
2490
|
+
details: V
|
|
2507
2491
|
};
|
|
2508
2492
|
he("submitting");
|
|
2509
2493
|
try {
|
|
2510
2494
|
await _(ze), Fe({
|
|
2511
2495
|
slot: R.selectedSlot,
|
|
2512
|
-
details:
|
|
2496
|
+
details: V,
|
|
2513
2497
|
specialtyId: g.specialtyId,
|
|
2514
2498
|
serviceId: g.serviceId,
|
|
2515
2499
|
insuranceType: g.insuranceType,
|
|
@@ -2541,15 +2525,15 @@ const oa = [], ra = [], da = ot(
|
|
|
2541
2525
|
reset: () => {
|
|
2542
2526
|
S({}), Fe(null), he("idle"), ge(1);
|
|
2543
2527
|
},
|
|
2544
|
-
goToStep: (
|
|
2545
|
-
ge(
|
|
2528
|
+
goToStep: (V) => {
|
|
2529
|
+
ge(V);
|
|
2546
2530
|
}
|
|
2547
2531
|
}),
|
|
2548
2532
|
[C, S]
|
|
2549
2533
|
);
|
|
2550
|
-
Ot(
|
|
2551
|
-
const
|
|
2552
|
-
|
|
2534
|
+
Ot(Cs, $e, oe);
|
|
2535
|
+
const Mt = Re ?? re("booking.regionLabel"), At = w(() => fe !== "success" || !Le ? null : /* @__PURE__ */ a(
|
|
2536
|
+
Qs,
|
|
2553
2537
|
{
|
|
2554
2538
|
snapshot: Le,
|
|
2555
2539
|
operators: de,
|
|
@@ -2575,7 +2559,7 @@ const oa = [], ra = [], da = ot(
|
|
|
2575
2559
|
$e
|
|
2576
2560
|
]), Tt = w(() => {
|
|
2577
2561
|
if (fe === "success") return null;
|
|
2578
|
-
const
|
|
2562
|
+
const V = C === "accordion" ? ta : C === "calendar" ? sa : C === "flexible" ? aa : C === "progress" ? ia : ea, ze = {
|
|
2579
2563
|
cascade: R,
|
|
2580
2564
|
inputs: {
|
|
2581
2565
|
specialties: J,
|
|
@@ -2595,8 +2579,8 @@ const oa = [], ra = [], da = ot(
|
|
|
2595
2579
|
requireInsuranceNumber: v,
|
|
2596
2580
|
insuranceType: g.insuranceType,
|
|
2597
2581
|
showNote: N,
|
|
2598
|
-
showReturningPatientFlag:
|
|
2599
|
-
privacyPolicyUrl:
|
|
2582
|
+
showReturningPatientFlag: D,
|
|
2583
|
+
privacyPolicyUrl: M,
|
|
2600
2584
|
termsUrl: y,
|
|
2601
2585
|
validateCodiceFiscale: b,
|
|
2602
2586
|
validateInsuranceNumber: d,
|
|
@@ -2619,7 +2603,7 @@ const oa = [], ra = [], da = ot(
|
|
|
2619
2603
|
activeStep: We,
|
|
2620
2604
|
setActiveStep: ge
|
|
2621
2605
|
};
|
|
2622
|
-
return /* @__PURE__ */ a(
|
|
2606
|
+
return /* @__PURE__ */ a(V, { ...ze });
|
|
2623
2607
|
}, [
|
|
2624
2608
|
fe,
|
|
2625
2609
|
C,
|
|
@@ -2640,8 +2624,8 @@ const oa = [], ra = [], da = ot(
|
|
|
2640
2624
|
v,
|
|
2641
2625
|
xe,
|
|
2642
2626
|
N,
|
|
2643
|
-
M,
|
|
2644
2627
|
D,
|
|
2628
|
+
M,
|
|
2645
2629
|
y,
|
|
2646
2630
|
b,
|
|
2647
2631
|
d,
|
|
@@ -2666,12 +2650,12 @@ const oa = [], ra = [], da = ot(
|
|
|
2666
2650
|
{
|
|
2667
2651
|
ref: ve,
|
|
2668
2652
|
role: "region",
|
|
2669
|
-
"aria-label":
|
|
2653
|
+
"aria-label": Mt,
|
|
2670
2654
|
id: oe,
|
|
2671
2655
|
"data-component": "booking",
|
|
2672
2656
|
"data-component-id": oe,
|
|
2673
2657
|
"data-variant": C,
|
|
2674
|
-
className:
|
|
2658
|
+
className: Fs({
|
|
2675
2659
|
variant: C,
|
|
2676
2660
|
surface: me,
|
|
2677
2661
|
className: Ve
|
|
@@ -2701,11 +2685,11 @@ const oa = [], ra = [], da = ot(
|
|
|
2701
2685
|
);
|
|
2702
2686
|
}
|
|
2703
2687
|
);
|
|
2704
|
-
|
|
2688
|
+
ra.displayName = "Booking";
|
|
2705
2689
|
export {
|
|
2706
|
-
|
|
2690
|
+
ra as B,
|
|
2707
2691
|
qe as C,
|
|
2708
2692
|
X as O,
|
|
2709
|
-
|
|
2693
|
+
Cs as b
|
|
2710
2694
|
};
|
|
2711
|
-
//# sourceMappingURL=booking-
|
|
2695
|
+
//# sourceMappingURL=booking-B62CMY5k.js.map
|