@alfadocs/ui-kit-debug 1.90.1 → 1.91.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/address-autocomplete-DR4Xn23Z.js +519 -0
- package/dist/_chunks/address-autocomplete-DR4Xn23Z.js.map +1 -0
- package/dist/_chunks/{address-fields-CfnXK8RT.js → address-fields-qxQkGwPf.js} +5 -5
- package/dist/_chunks/{address-fields-CfnXK8RT.js.map → address-fields-qxQkGwPf.js.map} +1 -1
- package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-card-BDuvreCe.js.map → agenda-card-BhY342MA.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js.map → agenda-tray-BmxBGEci.js.map} +1 -1
- package/dist/_chunks/{ai-permission-notice-CoW22jx1.js → ai-permission-notice-VNh3W57L.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-CoW22jx1.js.map → ai-permission-notice-VNh3W57L.js.map} +1 -1
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js.map → alia-sidebar-ovRX_oti.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js → anamnesis-summary-rows-EKPfVCmh.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js.map → anamnesis-summary-rows-EKPfVCmh.js.map} +1 -1
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-card-5JMWi9_f.js.map → appointment-card-Bstc1p7a.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js.map → appointment-peek-C0kKqnFk.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js.map → appointment-timeline-rbt9AwHO.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js.map → appointment-tray-6zd8RLIL.js.map} +1 -1
- package/dist/_chunks/autocomplete-BXMcNoa3.js +562 -0
- package/dist/_chunks/autocomplete-BXMcNoa3.js.map +1 -0
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/avatar-a6042Ox2.js.map +1 -0
- package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js → balance-badge-cell-BtJvre1-.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js.map → balance-badge-cell-BtJvre1-.js.map} +1 -1
- package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
- package/dist/_chunks/booking-opt_h7Uc.js.map +1 -0
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-ClB-jWH1.js.map → calendar-CmiMS4FJ.js.map} +1 -1
- package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +11 -11
- package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js.map → calendar-appointment-editor-dialog-sJKLoVJ2.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js.map → care-plan-card-DD9rEWYN.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js.map → care-plan-header-CXUJQt8Q.js.map} +1 -1
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js.map → chat-message-LRO_6Ee3.js.map} +1 -1
- package/dist/_chunks/{checkbox-BjDv-r3o.js → checkbox-a7Sh-dXb.js} +32 -31
- package/dist/_chunks/checkbox-a7Sh-dXb.js.map +1 -0
- package/dist/_chunks/{checkbox-group-Cw2H5qaq.js → checkbox-group-eGdv9fZc.js} +2 -2
- package/dist/_chunks/{checkbox-group-Cw2H5qaq.js.map → checkbox-group-eGdv9fZc.js.map} +1 -1
- package/dist/_chunks/{city-input-CJVGswxp.js → city-input-CA59CjnV.js} +2 -2
- package/dist/_chunks/{city-input-CJVGswxp.js.map → city-input-CA59CjnV.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js.map → clinical-note-card-Cut2lNmu.js.map} +1 -1
- package/dist/_chunks/{combobox-CDPm_n0p.js → combobox-D-gpgEDy.js} +314 -294
- package/dist/_chunks/combobox-D-gpgEDy.js.map +1 -0
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-card-Czu60UvU.js.map → contact-card-ClvEDM9e.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/contact-profile-card-CX45mZA3.js.map +1 -0
- package/dist/_chunks/{country-select-DQ8q7ypA.js → country-select-BfmX9y5i.js} +2 -2
- package/dist/_chunks/{country-select-DQ8q7ypA.js.map → country-select-BfmX9y5i.js.map} +1 -1
- package/dist/_chunks/{data-table-B_IcS0Ke.js → data-table-CqQgoNsU.js} +2 -2
- package/dist/_chunks/{data-table-B_IcS0Ke.js.map → data-table-CqQgoNsU.js.map} +1 -1
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js.map → dependent-selector-CyNi7M_f.js.map} +1 -1
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/{entity-summary-BLxzSSXK.js.map → entity-summary-B_bOloqP.js.map} +1 -1
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/error-page-B0fGNTRB.js.map +1 -0
- package/dist/_chunks/{face-scheme-BgJGFDTa.js → face-scheme-BKSE98bo.js} +2 -2
- package/dist/_chunks/{face-scheme-BgJGFDTa.js.map → face-scheme-BKSE98bo.js.map} +1 -1
- package/dist/_chunks/{file-manager-C9YOT-Dn.js → file-manager-BnI1ZWZu.js} +2 -2
- package/dist/_chunks/{file-manager-C9YOT-Dn.js.map → file-manager-BnI1ZWZu.js.map} +1 -1
- package/dist/_chunks/{header-settings-BVhjndtV.js → header-settings-BeA2fnol.js} +24 -23
- package/dist/_chunks/header-settings-BeA2fnol.js.map +1 -0
- package/dist/_chunks/{heatmap-HTz3Jvzy.js → heatmap-fCxwNz2o.js} +2 -2
- package/dist/_chunks/{heatmap-HTz3Jvzy.js.map → heatmap-fCxwNz2o.js.map} +1 -1
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/languages-CGLX6Qpe.js.map +1 -0
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/link-DtCfnLnF.js.map +1 -0
- package/dist/_chunks/{link-cell-renderer-C0ynDik7.js → link-cell-renderer-BS3V4LA6.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-C0ynDik7.js.map → link-cell-renderer-BS3V4LA6.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-DYwbL5sD.js → login-dev-card-BZBR58mu.js} +2 -2
- package/dist/_chunks/{login-dev-card-DYwbL5sD.js.map → login-dev-card-BZBR58mu.js.map} +1 -1
- package/dist/_chunks/{map-view-Bvi06RVh.js → map-view-UrNgxBy3.js} +260 -237
- package/dist/_chunks/map-view-UrNgxBy3.js.map +1 -0
- package/dist/_chunks/{index.modern-BeRXQVdc.js → maps-core-gate-DkNqGkm3.js} +360 -319
- package/dist/_chunks/maps-core-gate-DkNqGkm3.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js → marketplace-app-shell-CJQtx3sv.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js.map → marketplace-app-shell-CJQtx3sv.js.map} +1 -1
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-card-CvCnCssc.js.map → message-card-B6SduXJv.js.map} +1 -1
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js.map → message-tray-Cllf-v0G.js.map} +1 -1
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js.map → nav-grid-D2xVcHTO.js.map} +1 -1
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js.map → note-attachment-cnj2JRrg.js.map} +1 -1
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js.map → note-timeline-BrjHBQfx.js.map} +1 -1
- package/dist/_chunks/{notes-panel-CZO1qsD-.js → notes-panel-ib7I3aNf.js} +3 -3
- package/dist/_chunks/{notes-panel-CZO1qsD-.js.map → notes-panel-ib7I3aNf.js.map} +1 -1
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/operator-hero-C_5B-8Qp.js.map +1 -0
- package/dist/_chunks/{patient-details-D0P5eog5.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-details-D0P5eog5.js.map → patient-details-BjcUpD9S.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-R73dZJY6.js → patient-field-row-B0tdiaWi.js} +6 -6
- package/dist/_chunks/{patient-field-row-R73dZJY6.js.map → patient-field-row-B0tdiaWi.js.map} +1 -1
- package/dist/_chunks/patient-search-Ca9j5cWb.js +1306 -0
- package/dist/_chunks/patient-search-Ca9j5cWb.js.map +1 -0
- package/dist/_chunks/{patient-summary-card-6U74-ivO.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{patient-summary-card-6U74-ivO.js.map → patient-summary-card-Cvv6_Ugk.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{payment-request-card-MndSlVoK.js.map → payment-request-card-BfGauFY0.js.map} +1 -1
- package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js → periodontal-diagnosis-DD3hrg9X.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js.map → periodontal-diagnosis-DD3hrg9X.js.map} +1 -1
- package/dist/_chunks/{permission-matrix-BoQjENGV.js → permission-matrix-BJ6sg3Zp.js} +3 -3
- package/dist/_chunks/{permission-matrix-BoQjENGV.js.map → permission-matrix-BJ6sg3Zp.js.map} +1 -1
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/practice-profile-hero-ClzE-4CB.js.map +1 -0
- package/dist/_chunks/{practice-results-B61krlwu.js → practice-results-CQ_KvEXK.js} +517 -514
- package/dist/_chunks/practice-results-CQ_KvEXK.js.map +1 -0
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js.map → product-hub-panel-bHi7lkVD.js.map} +1 -1
- package/dist/_chunks/{province-select-CPdTwEob.js → province-select-D64whw0m.js} +2 -2
- package/dist/_chunks/{province-select-CPdTwEob.js.map → province-select-D64whw0m.js.map} +1 -1
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/public-footer-IoRWoAMz.js.map +1 -0
- package/dist/_chunks/{registration-form-DmP3YUfp.js → registration-form-CRm6DaB9.js} +2 -2
- package/dist/_chunks/{registration-form-DmP3YUfp.js.map → registration-form-CRm6DaB9.js.map} +1 -1
- package/dist/_chunks/{reviews-panel-UzQQLb-z.js → reviews-panel-B7InBORU.js} +42 -41
- package/dist/_chunks/reviews-panel-B7InBORU.js.map +1 -0
- package/dist/_chunks/{rich-text-editor-BZTyxQBd.js → rich-text-editor-BfEu57dk.js} +3 -3
- package/dist/_chunks/{rich-text-editor-BZTyxQBd.js.map → rich-text-editor-BfEu57dk.js.map} +1 -1
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signature-request-DjY-X62H.js.map → signature-request-DvhyrRpn.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js.map → signed-out-frame-CgRXOUzi.js.map} +1 -1
- package/dist/_chunks/{slot-grid-Bb13H9Rl.js → slot-grid-B-IAFX3C.js} +183 -170
- package/dist/_chunks/slot-grid-B-IAFX3C.js.map +1 -0
- package/dist/_chunks/{task-editor-BOETWbjU.js → task-editor-CI1SKUNc.js} +2 -2
- package/dist/_chunks/{task-editor-BOETWbjU.js.map → task-editor-CI1SKUNc.js.map} +1 -1
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{timeline-wUuTDFY_.js.map → timeline-BcYHdP56.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js.map → use-appointment-details-read-D8vDg0sg.js.map} +1 -1
- package/dist/_chunks/{voice-control-panel-BziKE-KK.js → voice-control-panel-BP0otrID.js} +2 -2
- package/dist/_chunks/{voice-control-panel-BziKE-KK.js.map → voice-control-panel-BP0otrID.js.map} +1 -1
- package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js → workflow-webhook-action-B_nBJ_ht.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js.map → workflow-webhook-action-B_nBJ_ht.js.map} +1 -1
- package/dist/agent-catalog.json +3 -3
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/maps-core-gate.d.ts +18 -0
- package/dist/components/_shared/maps-core-gate.d.ts.map +1 -0
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- package/dist/components/_shared/social-brand-icons.d.ts.map +1 -0
- package/dist/components/address-autocomplete/address-autocomplete.d.ts.map +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-permission-notice/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +14 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/booking-types.d.ts.map +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/details-form.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/booking/slot-load-state.d.ts.map +1 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/checkbox/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/combobox/combobox.d.ts.map +1 -1
- package/dist/components/combobox/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/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts +2 -1
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/link/social-url.d.ts.map +1 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts.map +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +6 -0
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts.map +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-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -2
- package/dist/components/practice-results/practice-results.d.ts.map +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-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/public-footer.d.ts.map +1 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/public-footer/socials.d.ts.map +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/host-compat.css +1 -10
- package/dist/i18n/config.d.ts.map +1 -1
- package/dist/i18n/config.js +224 -96
- package/dist/i18n/config.js.map +1 -1
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +4 -1
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +4 -1
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +4 -1
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +4 -1
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +4 -1
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +4 -1
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +4 -1
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +4 -1
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +4 -1
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +4 -1
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +4 -1
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +4 -1
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +4 -1
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +4 -1
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +4 -1
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +4 -1
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +4 -1
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +68 -68
- package/dist/locales/ar.json +4 -1
- package/dist/locales/de.json +4 -1
- package/dist/locales/el.json +4 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +4 -1
- package/dist/locales/fr.json +4 -1
- package/dist/locales/hi.json +4 -1
- package/dist/locales/it.json +4 -1
- package/dist/locales/ja.json +4 -1
- package/dist/locales/nl.json +4 -1
- package/dist/locales/pl.json +4 -1
- package/dist/locales/pt.json +4 -1
- package/dist/locales/ro.json +4 -1
- package/dist/locales/ru.json +4 -1
- package/dist/locales/sq.json +4 -1
- package/dist/locales/sv.json +4 -1
- package/dist/locales/tr.json +4 -1
- package/dist/locales/zh.json +4 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/error-page-english.d.ts.map +1 -0
- package/dist/patterns/error-page/error-page.d.ts.map +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-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/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/address-autocomplete-bPR2mNBt.js +0 -498
- package/dist/_chunks/address-autocomplete-bPR2mNBt.js.map +0 -1
- package/dist/_chunks/autocomplete-CnB1mHGc.js +0 -539
- package/dist/_chunks/autocomplete-CnB1mHGc.js.map +0 -1
- package/dist/_chunks/avatar-BPiPL7ND.js.map +0 -1
- package/dist/_chunks/booking-C0FoW8Yx.js +0 -4336
- package/dist/_chunks/booking-C0FoW8Yx.js.map +0 -1
- package/dist/_chunks/checkbox-BjDv-r3o.js.map +0 -1
- package/dist/_chunks/combobox-CDPm_n0p.js.map +0 -1
- package/dist/_chunks/contact-profile-card-Da1vmJQI.js.map +0 -1
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/error-page-Bhai-spN.js.map +0 -1
- package/dist/_chunks/header-settings-BVhjndtV.js.map +0 -1
- package/dist/_chunks/index.modern-BeRXQVdc.js.map +0 -1
- package/dist/_chunks/languages-CZqBaPwI.js.map +0 -1
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- package/dist/_chunks/link-N5_YpLtm.js.map +0 -1
- package/dist/_chunks/map-view-Bvi06RVh.js.map +0 -1
- package/dist/_chunks/operator-hero-6aAIQaFZ.js.map +0 -1
- package/dist/_chunks/patient-search-CCOUZABE.js +0 -1196
- package/dist/_chunks/patient-search-CCOUZABE.js.map +0 -1
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js.map +0 -1
- package/dist/_chunks/practice-results-B61krlwu.js.map +0 -1
- package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
- package/dist/_chunks/public-footer-CXOrdAaS.js.map +0 -1
- package/dist/_chunks/reviews-panel-UzQQLb-z.js.map +0 -1
- package/dist/_chunks/slot-grid-Bb13H9Rl.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import { forwardRef as ye, useId as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { B as
|
|
6
|
-
import { I as
|
|
7
|
-
import { E as
|
|
8
|
-
import { S as
|
|
9
|
-
import { u as
|
|
10
|
-
import { d as
|
|
11
|
-
import { p as
|
|
12
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as v, Fragment as he } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ye, useId as ge, useState as ve, useCallback as M, useRef as be, useEffect as we, useMemo as xe } from "react";
|
|
3
|
+
import { c as g } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Se } from "react-i18next";
|
|
5
|
+
import { B as q } from "./button-DohK_Ak_.js";
|
|
6
|
+
import { I as W } from "./icon-button-S8_weU3g.js";
|
|
7
|
+
import { E as ke } from "./empty-state-DwJ5YNzz.js";
|
|
8
|
+
import { S as X } from "./skeleton-tTWJpvAq.js";
|
|
9
|
+
import { u as De } from "./registry-DvAUVLHh.js";
|
|
10
|
+
import { d as Ie, f as Ge } from "./format--x5jypvH.js";
|
|
11
|
+
import { p as Ne } from "./parseISO-DZZ5a-zK.js";
|
|
12
|
+
const Ke = {
|
|
13
13
|
id: "slot-grid",
|
|
14
14
|
// pick → `select_slot` + the `selectedSlotId` state slot.
|
|
15
15
|
// range_navigate → `next_days` / `previous_days` + `hasNext` / `hasPrevious`.
|
|
@@ -185,7 +185,7 @@ const Ge = {
|
|
|
185
185
|
description: "Per-slot button identifier sourced from each `SlotGridSlot.id` — an availability id, never a patient id. DOM-driving agents activate a slot via native click on the matching button."
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
-
},
|
|
188
|
+
}, Me = g(
|
|
189
189
|
[
|
|
190
190
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
191
191
|
"ds:text-[var(--foreground)]",
|
|
@@ -201,9 +201,9 @@ const Ge = {
|
|
|
201
201
|
},
|
|
202
202
|
defaultVariants: { size: "md" }
|
|
203
203
|
}
|
|
204
|
-
),
|
|
204
|
+
), ze = g(
|
|
205
205
|
"ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)] ds:w-full"
|
|
206
|
-
),
|
|
206
|
+
), Ce = 12, Re = g(
|
|
207
207
|
"ds:grid ds:gap-[var(--spacing-sm)] ds:w-full ds:auto-rows-min ds:items-start",
|
|
208
208
|
{
|
|
209
209
|
variants: {
|
|
@@ -225,10 +225,10 @@ const Ge = {
|
|
|
225
225
|
defaultVariants: { cols: 1 }
|
|
226
226
|
}
|
|
227
227
|
);
|
|
228
|
-
function
|
|
229
|
-
return Math.max(1, Math.min(e,
|
|
228
|
+
function Le(e) {
|
|
229
|
+
return Math.max(1, Math.min(e, Ce));
|
|
230
230
|
}
|
|
231
|
-
const
|
|
231
|
+
const J = g(
|
|
232
232
|
[
|
|
233
233
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
234
234
|
"ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)]",
|
|
@@ -237,7 +237,7 @@ const X = m(
|
|
|
237
237
|
"ds:bg-[var(--card)]",
|
|
238
238
|
"ds:min-w-0"
|
|
239
239
|
].join(" ")
|
|
240
|
-
),
|
|
240
|
+
), Be = g(
|
|
241
241
|
[
|
|
242
242
|
"ds:font-[var(--font-weight-semibold)]",
|
|
243
243
|
"ds:text-[var(--foreground)]",
|
|
@@ -254,9 +254,9 @@ const X = m(
|
|
|
254
254
|
},
|
|
255
255
|
defaultVariants: { size: "md" }
|
|
256
256
|
}
|
|
257
|
-
),
|
|
257
|
+
), Q = g(
|
|
258
258
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:w-full ds:m-0 ds:p-0 ds:list-none"
|
|
259
|
-
),
|
|
259
|
+
), Ee = g(
|
|
260
260
|
[
|
|
261
261
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
262
262
|
"ds:w-full",
|
|
@@ -290,24 +290,24 @@ const X = m(
|
|
|
290
290
|
}
|
|
291
291
|
);
|
|
292
292
|
function h(e) {
|
|
293
|
-
return e instanceof Date ? e :
|
|
293
|
+
return e instanceof Date ? e : Ne(e);
|
|
294
294
|
}
|
|
295
|
-
function
|
|
295
|
+
function z(e, a) {
|
|
296
296
|
return `${h(e.date).toISOString()}-${a}`;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
return
|
|
298
|
+
function k(e) {
|
|
299
|
+
return Ge(h(e.date), "yyyy-MM-dd");
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
return
|
|
301
|
+
function Ye(e, a) {
|
|
302
|
+
return Ie(h(e), h(a));
|
|
303
303
|
}
|
|
304
|
-
function
|
|
304
|
+
function Ze(e) {
|
|
305
305
|
for (const a of e) {
|
|
306
|
-
const o = a.slots.find((
|
|
306
|
+
const o = a.slots.find((i) => i.available !== !1);
|
|
307
307
|
if (o) return { day: a, slot: o };
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
-
function
|
|
310
|
+
function U(e, a, o) {
|
|
311
311
|
try {
|
|
312
312
|
return new Intl.DateTimeFormat(a, {
|
|
313
313
|
weekday: "short",
|
|
@@ -323,9 +323,9 @@ function Q(e, a, o) {
|
|
|
323
323
|
}).format(e);
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
function
|
|
326
|
+
function Y(e, a, o) {
|
|
327
327
|
if (e.label !== void 0) return e.label;
|
|
328
|
-
const
|
|
328
|
+
const i = h(e.start);
|
|
329
329
|
try {
|
|
330
330
|
const c = new Intl.DateTimeFormat(a, {
|
|
331
331
|
hour: "numeric",
|
|
@@ -333,25 +333,25 @@ function U(e, a, o) {
|
|
|
333
333
|
timeZone: o
|
|
334
334
|
});
|
|
335
335
|
if (e.end) {
|
|
336
|
-
const
|
|
336
|
+
const y = h(e.end);
|
|
337
337
|
if (typeof c.formatRange == "function")
|
|
338
338
|
try {
|
|
339
|
-
return c.formatRange(
|
|
339
|
+
return c.formatRange(i, y);
|
|
340
340
|
} catch {
|
|
341
341
|
}
|
|
342
|
-
return `${c.format(
|
|
342
|
+
return `${c.format(i)} – ${c.format(y)}`;
|
|
343
343
|
}
|
|
344
|
-
return c.format(
|
|
344
|
+
return c.format(i);
|
|
345
345
|
} catch {
|
|
346
|
-
return
|
|
346
|
+
return i.toISOString();
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function Ve(e, a, o, i, c) {
|
|
350
350
|
if (e.ariaLabel !== void 0) return e.ariaLabel;
|
|
351
|
-
const
|
|
352
|
-
return c({ time:
|
|
351
|
+
const y = Y(e, o, i), D = a.label !== void 0 ? a.label : U(h(a.date), o, i);
|
|
352
|
+
return c({ time: y, day: D });
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function je() {
|
|
355
355
|
return /* @__PURE__ */ r(
|
|
356
356
|
"svg",
|
|
357
357
|
{
|
|
@@ -367,7 +367,7 @@ function Ee() {
|
|
|
367
367
|
}
|
|
368
368
|
);
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Te() {
|
|
371
371
|
return /* @__PURE__ */ r(
|
|
372
372
|
"svg",
|
|
373
373
|
{
|
|
@@ -383,244 +383,257 @@ function Ve() {
|
|
|
383
383
|
}
|
|
384
384
|
);
|
|
385
385
|
}
|
|
386
|
-
const
|
|
386
|
+
const Pe = ye(
|
|
387
387
|
({
|
|
388
388
|
days: e,
|
|
389
389
|
state: a = "default",
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
390
|
+
emptyDescription: o,
|
|
391
|
+
size: i = "md",
|
|
392
|
+
selectedSlotId: c,
|
|
393
|
+
maxInitialSlotsPerDay: y = 6,
|
|
394
|
+
locale: D,
|
|
395
|
+
timeZone: I,
|
|
395
396
|
hasPrevious: C = !1,
|
|
396
397
|
hasNext: R = !1,
|
|
397
|
-
showNextAvailable:
|
|
398
|
-
ariaLabel:
|
|
398
|
+
showNextAvailable: Z = !1,
|
|
399
|
+
ariaLabel: ee,
|
|
399
400
|
onSlotSelect: b,
|
|
400
401
|
onPreviousDays: L,
|
|
401
|
-
onNextDays:
|
|
402
|
+
onNextDays: B,
|
|
402
403
|
onShowMore: w,
|
|
403
|
-
onJumpToNextAvailable:
|
|
404
|
-
className:
|
|
405
|
-
id:
|
|
406
|
-
...
|
|
407
|
-
},
|
|
408
|
-
const { t: p, i18n:
|
|
404
|
+
onJumpToNextAvailable: te,
|
|
405
|
+
className: se,
|
|
406
|
+
id: G,
|
|
407
|
+
...ae
|
|
408
|
+
}, re) => {
|
|
409
|
+
const { t: p, i18n: ie } = Se("ui"), N = D ?? ie.language ?? "en", ne = ge(), [E, oe] = ve({}), V = a === "loading", j = a === "disabled", m = V || j, de = a === "empty" || e.length === 0 || e.every((t) => t.slots.length === 0), le = ee ?? p("slotGrid.ariaLabel"), x = M(
|
|
409
410
|
(t, s) => {
|
|
410
|
-
|
|
411
|
+
m || t.available !== !1 && (b == null || b(t, s));
|
|
411
412
|
},
|
|
412
|
-
[
|
|
413
|
-
),
|
|
413
|
+
[m, b]
|
|
414
|
+
), T = M(
|
|
414
415
|
(t, s) => {
|
|
415
|
-
|
|
416
|
+
oe((n) => ({ ...n, [s]: !0 })), w == null || w(t);
|
|
416
417
|
},
|
|
417
418
|
[w]
|
|
418
|
-
),
|
|
419
|
-
(t, s,
|
|
420
|
-
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), x(s,
|
|
419
|
+
), ce = M(
|
|
420
|
+
(t, s, n) => {
|
|
421
|
+
(t.key === "Enter" || t.key === " ") && (t.preventDefault(), x(s, n));
|
|
421
422
|
},
|
|
422
423
|
[x]
|
|
423
|
-
),
|
|
424
|
+
), P = {
|
|
424
425
|
days: e,
|
|
425
|
-
selectedSlotId:
|
|
426
|
+
selectedSlotId: c,
|
|
426
427
|
hasPrevious: C,
|
|
427
428
|
hasNext: R,
|
|
428
429
|
state: a,
|
|
429
|
-
expanded:
|
|
430
|
-
isInteractionSuppressed:
|
|
430
|
+
expanded: E,
|
|
431
|
+
isInteractionSuppressed: m,
|
|
431
432
|
onPreviousDays: L,
|
|
432
|
-
onNextDays:
|
|
433
|
+
onNextDays: B,
|
|
433
434
|
handleSlotClick: x,
|
|
434
|
-
handleShowMore:
|
|
435
|
-
},
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
handleShowMore: T
|
|
436
|
+
}, d = be(P);
|
|
437
|
+
we(() => {
|
|
438
|
+
d.current = P;
|
|
438
439
|
});
|
|
439
|
-
const
|
|
440
|
+
const ue = xe(
|
|
440
441
|
() => ({
|
|
441
|
-
getStatus: () =>
|
|
442
|
-
getSelectedSlotId: () =>
|
|
443
|
-
getVisibleDays: () =>
|
|
442
|
+
getStatus: () => d.current.state,
|
|
443
|
+
getSelectedSlotId: () => d.current.selectedSlotId ?? null,
|
|
444
|
+
getVisibleDays: () => d.current.days.map(k),
|
|
444
445
|
getSlotsByDay: () => {
|
|
445
446
|
const t = {};
|
|
446
|
-
for (const s of
|
|
447
|
-
const
|
|
448
|
-
t[
|
|
447
|
+
for (const s of d.current.days) {
|
|
448
|
+
const n = k(s), l = s.slots.filter((u) => u.available !== !1).map((u) => u.id);
|
|
449
|
+
t[n] = t[n] ? [...t[n], ...l] : l;
|
|
449
450
|
}
|
|
450
451
|
return t;
|
|
451
452
|
},
|
|
452
|
-
getExpandedDays: () =>
|
|
453
|
-
(t, s) =>
|
|
454
|
-
).map(
|
|
455
|
-
getHasPrevious: () =>
|
|
456
|
-
getHasNext: () =>
|
|
453
|
+
getExpandedDays: () => d.current.days.filter(
|
|
454
|
+
(t, s) => d.current.expanded[z(t, s)] === !0
|
|
455
|
+
).map(k),
|
|
456
|
+
getHasPrevious: () => d.current.hasPrevious,
|
|
457
|
+
getHasNext: () => d.current.hasNext,
|
|
457
458
|
selectSlot: (t) => {
|
|
458
|
-
const s =
|
|
459
|
+
const s = d.current;
|
|
459
460
|
if (s.isInteractionSuppressed) return !1;
|
|
460
|
-
for (const
|
|
461
|
-
const
|
|
462
|
-
if (
|
|
463
|
-
return
|
|
461
|
+
for (const n of s.days) {
|
|
462
|
+
const l = n.slots.find((u) => u.id === t);
|
|
463
|
+
if (l)
|
|
464
|
+
return l.available === !1 ? !1 : (s.handleSlotClick(l, n), !0);
|
|
464
465
|
}
|
|
465
466
|
return !1;
|
|
466
467
|
},
|
|
467
468
|
nextDays: () => {
|
|
468
|
-
const t =
|
|
469
|
+
const t = d.current;
|
|
469
470
|
return !t.hasNext || t.isInteractionSuppressed || !t.onNextDays ? !1 : (t.onNextDays(), !0);
|
|
470
471
|
},
|
|
471
472
|
previousDays: () => {
|
|
472
|
-
const t =
|
|
473
|
+
const t = d.current;
|
|
473
474
|
return !t.hasPrevious || t.isInteractionSuppressed || !t.onPreviousDays ? !1 : (t.onPreviousDays(), !0);
|
|
474
475
|
},
|
|
475
476
|
showMoreDay: (t) => {
|
|
476
|
-
const s =
|
|
477
|
+
const s = d.current;
|
|
477
478
|
if (s.isInteractionSuppressed) return !1;
|
|
478
|
-
const
|
|
479
|
-
(u) =>
|
|
479
|
+
const n = s.days.findIndex(
|
|
480
|
+
(u) => k(u) === t
|
|
480
481
|
);
|
|
481
|
-
if (
|
|
482
|
-
const
|
|
483
|
-
return s.handleShowMore(
|
|
482
|
+
if (n < 0) return !1;
|
|
483
|
+
const l = s.days[n];
|
|
484
|
+
return s.handleShowMore(l, z(l, n)), !0;
|
|
484
485
|
}
|
|
485
486
|
}),
|
|
486
487
|
[]
|
|
487
488
|
);
|
|
488
|
-
|
|
489
|
-
const
|
|
489
|
+
De(Ke, ue, G);
|
|
490
|
+
const _ = Le(e.length || 1), A = Re({ cols: _ });
|
|
490
491
|
let S;
|
|
491
|
-
return
|
|
492
|
+
return V ? S = /* @__PURE__ */ r(
|
|
492
493
|
"div",
|
|
493
494
|
{
|
|
494
|
-
className:
|
|
495
|
+
className: A,
|
|
495
496
|
"data-state": "loading",
|
|
496
497
|
role: "status",
|
|
497
498
|
"aria-live": "polite",
|
|
498
499
|
"aria-label": p("common.loading"),
|
|
499
|
-
children: Array.from({ length:
|
|
500
|
-
/* @__PURE__ */ r(
|
|
501
|
-
/* @__PURE__ */ r("div", { className:
|
|
502
|
-
{ length: Math.min(
|
|
503
|
-
(
|
|
504
|
-
|
|
500
|
+
children: Array.from({ length: _ }, (t, s) => /* @__PURE__ */ v("div", { className: J(), children: [
|
|
501
|
+
/* @__PURE__ */ r(X, { variant: "text", size: i, width: "60%" }),
|
|
502
|
+
/* @__PURE__ */ r("div", { className: Q(), children: Array.from(
|
|
503
|
+
{ length: Math.min(y, 4) },
|
|
504
|
+
(n, l) => /* @__PURE__ */ r(
|
|
505
|
+
X,
|
|
505
506
|
{
|
|
506
507
|
variant: "rounded",
|
|
507
|
-
size:
|
|
508
|
+
size: i,
|
|
508
509
|
height: "40px"
|
|
509
510
|
},
|
|
510
|
-
`loading-slot-${s}-${
|
|
511
|
+
`loading-slot-${s}-${l}`
|
|
511
512
|
)
|
|
512
513
|
) })
|
|
513
514
|
] }, `loading-col-${s}`))
|
|
514
515
|
}
|
|
515
|
-
) :
|
|
516
|
+
) : de ? S = /* @__PURE__ */ r("div", { "data-state": "empty", children: /* @__PURE__ */ r(
|
|
517
|
+
ke,
|
|
518
|
+
{
|
|
519
|
+
variant: "no-results",
|
|
520
|
+
title: p("slotGrid.noSlots"),
|
|
521
|
+
description: o
|
|
522
|
+
}
|
|
523
|
+
) }) : S = /* @__PURE__ */ r(
|
|
516
524
|
"div",
|
|
517
525
|
{
|
|
518
|
-
className:
|
|
519
|
-
"data-state":
|
|
526
|
+
className: A,
|
|
527
|
+
"data-state": j ? "disabled" : "default",
|
|
520
528
|
children: e.map((t, s) => {
|
|
521
|
-
const
|
|
529
|
+
const n = z(t, s), l = t.label ?? U(h(t.date), N, I), u = `${ne}-day-${s}-header`, $ = E[n] ?? !1 ? t.slots : t.slots.slice(0, y), H = t.slots.length - $.length, O = t.slots.length === 0;
|
|
522
530
|
return (
|
|
523
531
|
// Use a plain <div role="group"> rather than <section> — a
|
|
524
532
|
// <section> with aria-labelledby is a landmark, and nesting many
|
|
525
533
|
// landmarks inside the outer slot-grid landmark fails axe's
|
|
526
534
|
// landmark-unique rule.
|
|
527
|
-
/* @__PURE__ */
|
|
535
|
+
/* @__PURE__ */ v(
|
|
528
536
|
"div",
|
|
529
537
|
{
|
|
530
538
|
role: "group",
|
|
531
|
-
className:
|
|
539
|
+
className: J(),
|
|
532
540
|
"aria-labelledby": u,
|
|
533
|
-
"data-empty":
|
|
541
|
+
"data-empty": O || void 0,
|
|
534
542
|
children: [
|
|
535
|
-
/* @__PURE__ */ r("h3", { id: u, className:
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
543
|
+
/* @__PURE__ */ r("h3", { id: u, className: Be({ size: i }), children: l }),
|
|
544
|
+
O ? /* @__PURE__ */ v(he, { children: [
|
|
545
|
+
/* @__PURE__ */ r("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: p("slotGrid.noSlots") }),
|
|
546
|
+
o ? /* @__PURE__ */ r("p", { className: "type-body-sm ds:text-[var(--muted-foreground)] ds:m-0", children: o }) : null
|
|
547
|
+
] }) : null,
|
|
548
|
+
/* @__PURE__ */ r("ul", { className: Q(), children: $.map((f) => {
|
|
549
|
+
const pe = Ve(
|
|
550
|
+
f,
|
|
540
551
|
t,
|
|
541
|
-
|
|
542
|
-
|
|
552
|
+
N,
|
|
553
|
+
I,
|
|
543
554
|
({ time: K, day: fe }) => p("slotGrid.slotLabel", { time: K, day: fe })
|
|
544
|
-
),
|
|
555
|
+
), me = c === f.id, F = f.available === !1 || m;
|
|
545
556
|
return /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
|
|
546
557
|
"button",
|
|
547
558
|
{
|
|
548
559
|
type: "button",
|
|
549
|
-
className:
|
|
550
|
-
"aria-label":
|
|
551
|
-
"aria-pressed":
|
|
552
|
-
disabled:
|
|
553
|
-
"aria-disabled":
|
|
554
|
-
"data-slot-id":
|
|
555
|
-
onClick: () => x(
|
|
556
|
-
onKeyDown: (K) =>
|
|
557
|
-
children:
|
|
560
|
+
className: Ee({ size: i }),
|
|
561
|
+
"aria-label": pe,
|
|
562
|
+
"aria-pressed": me,
|
|
563
|
+
disabled: F,
|
|
564
|
+
"aria-disabled": F || void 0,
|
|
565
|
+
"data-slot-id": f.id,
|
|
566
|
+
onClick: () => x(f, t),
|
|
567
|
+
onKeyDown: (K) => ce(K, f, t),
|
|
568
|
+
children: Y(f, N, I)
|
|
558
569
|
}
|
|
559
|
-
) },
|
|
570
|
+
) }, f.id);
|
|
560
571
|
}) }),
|
|
561
|
-
|
|
562
|
-
|
|
572
|
+
H > 0 ? /* @__PURE__ */ r(
|
|
573
|
+
q,
|
|
563
574
|
{
|
|
564
575
|
intent: "ghost",
|
|
565
|
-
size:
|
|
566
|
-
onClick: () =>
|
|
567
|
-
disabled:
|
|
568
|
-
children: p("slotGrid.showMore", { count:
|
|
576
|
+
size: i === "lg" ? "md" : "sm",
|
|
577
|
+
onClick: () => T(t, n),
|
|
578
|
+
disabled: m,
|
|
579
|
+
children: p("slotGrid.showMore", { count: H })
|
|
569
580
|
}
|
|
570
581
|
) : null
|
|
571
582
|
]
|
|
572
583
|
},
|
|
573
|
-
|
|
584
|
+
n
|
|
574
585
|
)
|
|
575
586
|
);
|
|
576
587
|
})
|
|
577
588
|
}
|
|
578
|
-
), /* @__PURE__ */
|
|
589
|
+
), /* @__PURE__ */ v(
|
|
579
590
|
"div",
|
|
580
591
|
{
|
|
581
|
-
ref:
|
|
582
|
-
id:
|
|
592
|
+
ref: re,
|
|
593
|
+
id: G,
|
|
583
594
|
role: "region",
|
|
584
|
-
"aria-label":
|
|
585
|
-
className:
|
|
595
|
+
"aria-label": le,
|
|
596
|
+
className: Me({ size: i, className: se }),
|
|
586
597
|
"data-component": "slot-grid",
|
|
587
|
-
"data-component-id":
|
|
598
|
+
"data-component-id": G,
|
|
588
599
|
"data-state": a,
|
|
589
|
-
...
|
|
600
|
+
...ae,
|
|
590
601
|
children: [
|
|
591
|
-
/* @__PURE__ */
|
|
602
|
+
/* @__PURE__ */ v("div", { className: ze(), children: [
|
|
592
603
|
/* @__PURE__ */ r(
|
|
593
|
-
|
|
604
|
+
W,
|
|
594
605
|
{
|
|
595
|
-
icon: /* @__PURE__ */ r(
|
|
606
|
+
icon: /* @__PURE__ */ r(je, {}),
|
|
596
607
|
"aria-label": p("slotGrid.previousDays"),
|
|
597
|
-
|
|
608
|
+
className: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:sm:min-h-[var(--min-target-size)]",
|
|
609
|
+
size: i === "lg" ? "md" : "sm",
|
|
598
610
|
intent: "ghost",
|
|
599
611
|
flipIconInRtl: !0,
|
|
600
|
-
disabled: !C ||
|
|
612
|
+
disabled: !C || m,
|
|
601
613
|
onClick: L
|
|
602
614
|
}
|
|
603
615
|
),
|
|
604
|
-
|
|
605
|
-
|
|
616
|
+
Z ? /* @__PURE__ */ r(
|
|
617
|
+
q,
|
|
606
618
|
{
|
|
607
619
|
intent: "secondary",
|
|
608
|
-
size:
|
|
609
|
-
disabled:
|
|
610
|
-
onClick:
|
|
620
|
+
size: i === "lg" ? "md" : "sm",
|
|
621
|
+
disabled: m,
|
|
622
|
+
onClick: te,
|
|
611
623
|
children: p("slotGrid.nextAvailable")
|
|
612
624
|
}
|
|
613
625
|
) : /* @__PURE__ */ r("span", { "aria-hidden": "true" }),
|
|
614
626
|
/* @__PURE__ */ r(
|
|
615
|
-
|
|
627
|
+
W,
|
|
616
628
|
{
|
|
617
|
-
icon: /* @__PURE__ */ r(
|
|
629
|
+
icon: /* @__PURE__ */ r(Te, {}),
|
|
618
630
|
"aria-label": p("slotGrid.nextDays"),
|
|
619
|
-
|
|
631
|
+
className: "ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:sm:min-h-[var(--min-target-size)]",
|
|
632
|
+
size: i === "lg" ? "md" : "sm",
|
|
620
633
|
intent: "ghost",
|
|
621
634
|
flipIconInRtl: !0,
|
|
622
|
-
disabled: !R ||
|
|
623
|
-
onClick:
|
|
635
|
+
disabled: !R || m,
|
|
636
|
+
onClick: B
|
|
624
637
|
}
|
|
625
638
|
)
|
|
626
639
|
] }),
|
|
@@ -630,11 +643,11 @@ const je = ye(
|
|
|
630
643
|
);
|
|
631
644
|
}
|
|
632
645
|
);
|
|
633
|
-
|
|
646
|
+
Pe.displayName = "SlotGrid";
|
|
634
647
|
export {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
648
|
+
Pe as S,
|
|
649
|
+
Ze as f,
|
|
650
|
+
Ye as i,
|
|
651
|
+
Ke as s
|
|
639
652
|
};
|
|
640
|
-
//# sourceMappingURL=slot-grid-
|
|
653
|
+
//# sourceMappingURL=slot-grid-B-IAFX3C.js.map
|