@alfadocs/ui-kit-debug 1.104.0 → 1.106.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/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
- package/dist/_chunks/{ai-credits-exhausted-notice-CwZnSACy.js.map → ai-credits-exhausted-notice-Lws3113e.js.map} +1 -1
- package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-VNh3W57L.js.map → ai-permission-notice-BkgcGmu8.js.map} +1 -1
- package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
- package/dist/_chunks/alert-C4WKViaS.js.map +1 -0
- package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
- package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js.map → anamnesis-summary-rows-QhbDdY7b.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
- package/dist/_chunks/{audio-recorder-BOm2FgEu.js.map → audio-recorder-BlDozxdU.js.map} +1 -1
- package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
- package/dist/_chunks/{auth-form-parts-B3GWChvG.js.map → auth-form-parts-DVHfqnp6.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js.map → balance-badge-cell-wJ6cTD_h.js.map} +1 -1
- package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
- package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js.map → calendar-appointment-editor-dialog-D8DblVjW.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
- package/dist/_chunks/{care-plan-card-YWKV8Kjq.js.map → care-plan-card-DMjlYlFc.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-CApivtMW.js.map → care-plan-entry-card-3hguBW45.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
- package/dist/_chunks/contact-profile-card-CAL66GaH.js.map +1 -0
- package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
- package/dist/_chunks/data-table-zXBxFYpJ.js.map +1 -0
- package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
- package/dist/_chunks/{date-range-picker-B_j4VQlV.js.map → date-range-picker-DCADIR8o.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
- package/dist/_chunks/{date-time-picker-cwsWiB4q.js.map → date-time-picker-CT2bC7-A.js.map} +1 -1
- package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
- package/dist/_chunks/{document-preview-U8H6tnDJ.js.map → document-preview-BalyZqnn.js.map} +1 -1
- package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
- package/dist/_chunks/{document-scanner-Bf3VUp00.js.map → document-scanner-5p-Uu8dy.js.map} +1 -1
- package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
- package/dist/_chunks/{entity-summary-BKfR4Vws.js.map → entity-summary-BbqqYqF1.js.map} +1 -1
- package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
- package/dist/_chunks/{error-summary-mGxIyDAY.js.map → error-summary-DxNhwf_G.js.map} +1 -1
- package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
- package/dist/_chunks/{face-scheme-DdVLQ5dP.js.map → face-scheme-e2M2HJGz.js.map} +1 -1
- package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
- package/dist/_chunks/{file-manager-CnGBVX_q.js.map → file-manager-BDKe59sg.js.map} +1 -1
- package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
- package/dist/_chunks/{forgot-password-form-CeTb5p-x.js.map → forgot-password-form-vfCO2-Tt.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
- package/dist/_chunks/{freemium-paywall-CM0zQSDE.js.map → freemium-paywall-BDeq9QWR.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js.map → gestational-age-calculator-AnaH00nk.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BJFR3onB.js.map → hcg-doubling-DdyUt4gz.js.map} +1 -1
- package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
- package/dist/_chunks/{heatmap-Cz0Krieg.js.map → heatmap-D4qqpCEj.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js.map → help-me-write-templates-YmceSxf5.js.map} +1 -1
- package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
- package/dist/_chunks/info-tip-C-MPkShR.js.map +1 -0
- package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
- package/dist/_chunks/{kit-extensions-C4o_tFN4.js.map → kit-extensions-BOnTM4Yf.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-BRek9kz7.js.map → link-cell-renderer-C8vfCOEp.js.map} +1 -1
- package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
- package/dist/_chunks/{login-dev-card-D5BV5j1i.js.map → login-dev-card-Cz1Clugq.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BsctSegT.js.map → marketplace-app-shell-C-4QF6mp.js.map} +1 -1
- package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
- package/dist/_chunks/{notes-panel-BjTpaz8d.js.map → notes-panel-SlzUL8in.js.map} +1 -1
- package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
- package/dist/_chunks/{notice-group-DkYzKyAZ.js.map → notice-group-B-trhof8.js.map} +1 -1
- package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
- package/dist/_chunks/{patient-details-BXM3dRKb.js.map → patient-details-wMgTFtpp.js.map} +1 -1
- package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
- package/dist/_chunks/{patient-field-row--dCDO5oB.js.map → patient-field-row-Bhm2Ig1P.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js.map → patient-summary-card-DMdPPG3n.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js.map → payment-automation-upsell-u5EuFyCY.js.map} +1 -1
- package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
- package/dist/_chunks/{payment-form-PBuh8PIa.js.map → payment-form-C-s1x-bU.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
- package/dist/_chunks/{pdf-viewer-DlceXkfW.js.map → pdf-viewer-BnBKdx0y.js.map} +1 -1
- package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
- package/dist/_chunks/practice-profile-hero-Bb4YyxHA.js.map +1 -0
- package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
- package/dist/_chunks/practice-results-BXz01sti.js.map +1 -0
- package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js.map → pregnancy-dating-D6dLkMpl.js.map} +1 -1
- package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
- package/dist/_chunks/{progress-notice-DiHWZ8Ms.js.map → progress-notice-F7ao70ZP.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js.map → radiograph-panel.agent-0ngF2sGS.js.map} +1 -1
- package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
- package/dist/_chunks/{registration-form-JzzTomhd.js.map → registration-form-CEJRUS9G.js.map} +1 -1
- package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
- package/dist/_chunks/{reserved.agent-BxD0gnbt.js.map → reserved.agent-C-C9cvO5.js.map} +1 -1
- package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
- package/dist/_chunks/{reset-password-form-DDdGEoIL.js.map → reset-password-form-B0acanDD.js.map} +1 -1
- package/dist/_chunks/{reviews-panel-jPYgYvxG.js → reviews-panel-CtrwZOUS.js} +215 -205
- package/dist/_chunks/reviews-panel-CtrwZOUS.js.map +1 -0
- package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
- package/dist/_chunks/{rich-text-editor-F04przIt.js.map → rich-text-editor-C3nANKZt.js.map} +1 -1
- package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
- package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js.map → send-registration-link-form-Nn0jf65G.js.map} +1 -1
- package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
- package/dist/_chunks/{sign-document-B5qZhthO.js.map → sign-document-CQZVzfpk.js.map} +1 -1
- package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
- package/dist/_chunks/{signature-request-DB6kePIm.js.map → signature-request-DtLph5Z4.js.map} +1 -1
- package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
- package/dist/_chunks/switch-DO6uC4HJ.js.map +1 -0
- package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
- package/dist/_chunks/{task-editor-BiPGFXtB.js.map → task-editor-CmXcj6cC.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
- package/dist/_chunks/{tasks-panel-iVeuu9a8.js.map → tasks-panel-CFo5uIHx.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
- package/dist/_chunks/{theme-toggle-jZRbAidE.js.map → theme-toggle-Czq3K9jB.js.map} +1 -1
- package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
- package/dist/_chunks/time-picker-DDr5vhwQ.js.map +1 -0
- package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
- package/dist/_chunks/{tooth-scheme-Bd7xECuj.js.map → tooth-scheme-C-ALCHaV.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
- package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js.map → use-appointment-details-read-VI26Z-pc.js.map} +1 -1
- package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
- package/dist/_chunks/{voice-control-panel-BGJjUwnY.js.map → voice-control-panel-B0TUZAiP.js.map} +1 -1
- package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
- package/dist/_chunks/{warning-stack-3S7e2q07.js.map → warning-stack-Dx7cpj10.js.map} +1 -1
- package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
- package/dist/_chunks/week-availability-CsTiwtYj.js.map +1 -0
- package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
- package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js.map +1 -0
- package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
- package/dist/_chunks/{workflow-map-B1jf6QaB.js.map → workflow-map-DWk-rZse.js.map} +1 -1
- package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js.map → workflow-webhook-action-DILFqAVd.js.map} +1 -1
- package/dist/ag-grid.css +5 -1
- package/dist/agent-catalog.json +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/booking/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/contact-profile-card/contact-profile-card.d.ts +8 -0
- package/dist/components/contact-profile-card/contact-profile-card.d.ts.map +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +6 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -1
- package/dist/components/data-table/header-min-width.d.ts +21 -0
- package/dist/components/data-table/header-min-width.d.ts.map +1 -0
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-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/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/heatmap/heatmap.d.ts +5 -0
- package/dist/components/heatmap/heatmap.d.ts.map +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/info-tip/info-tip.d.ts +10 -0
- package/dist/components/info-tip/info-tip.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.js +1 -1
- package/dist/components/patient-details/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-form/index.js +1 -1
- package/dist/components/pdf-viewer/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 +7 -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 +13 -0
- package/dist/components/practice-results/practice-results.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/progress-notice/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/reviews-panel/reviews-panel.d.ts +13 -0
- package/dist/components/reviews-panel/reviews-panel.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/switch.d.ts +2 -0
- package/dist/components/switch/switch.d.ts.map +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/week-availability/index.d.ts +3 -0
- package/dist/components/week-availability/index.d.ts.map +1 -0
- package/dist/components/week-availability/index.js +10 -0
- package/dist/components/week-availability/index.js.map +1 -0
- package/dist/components/week-availability/week-availability.d.ts +68 -0
- package/dist/components/week-availability/week-availability.d.ts.map +1 -0
- package/dist/components/weekly-hours-editor/index.d.ts +3 -0
- package/dist/components/weekly-hours-editor/index.d.ts.map +1 -0
- package/dist/components/weekly-hours-editor/index.js +9 -0
- package/dist/components/weekly-hours-editor/index.js.map +1 -0
- package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
- package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts.map +1 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +34 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +34 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +34 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +34 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +34 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +34 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +34 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +34 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +34 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +34 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +34 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +34 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +34 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +34 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +34 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +34 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +34 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +34 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +34 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +34 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +34 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +34 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +34 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +34 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +34 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +34 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +34 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +34 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +34 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +34 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +34 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +34 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +34 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +34 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +34 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +34 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +879 -866
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +34 -0
- package/dist/locales/de.json +34 -0
- package/dist/locales/el.json +34 -0
- package/dist/locales/en.json +34 -0
- package/dist/locales/es.json +34 -0
- package/dist/locales/fr.json +34 -0
- package/dist/locales/hi.json +34 -0
- package/dist/locales/it.json +34 -0
- package/dist/locales/ja.json +34 -0
- package/dist/locales/nl.json +34 -0
- package/dist/locales/pl.json +34 -0
- package/dist/locales/pt.json +34 -0
- package/dist/locales/ro.json +34 -0
- package/dist/locales/ru.json +34 -0
- package/dist/locales/sq.json +34 -0
- package/dist/locales/sv.json +34 -0
- package/dist/locales/tr.json +34 -0
- package/dist/locales/zh.json +34 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +3 -1
- package/package.json +9 -1
- package/dist/_chunks/alert-9kEwDza3.js.map +0 -1
- package/dist/_chunks/contact-profile-card-uExd3pKC.js.map +0 -1
- package/dist/_chunks/data-table-C5uN4ato.js.map +0 -1
- package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
- package/dist/_chunks/info-tip-1Xsq9GLi.js.map +0 -1
- package/dist/_chunks/practice-profile-hero-BAvGdQmt.js.map +0 -1
- package/dist/_chunks/practice-results-ChBP9x2r.js.map +0 -1
- package/dist/_chunks/reviews-panel-jPYgYvxG.js.map +0 -1
- package/dist/_chunks/switch-D--x7n6h.js.map +0 -1
- package/dist/_chunks/time-picker-DSt-ns5F.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { R as
|
|
1
|
+
import { jsx as t, jsxs as r, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Q, useState as E, useCallback as B, useMemo as C, useRef as F, useImperativeHandle as W, useId as H, useEffect as X } from "react";
|
|
3
|
+
import { c as $ } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as M } from "react-i18next";
|
|
5
|
+
import { u as Y } from "./registry-DvAUVLHh.js";
|
|
6
|
+
import { R as P } from "./rating-CGYpg5dj.js";
|
|
7
7
|
import { C as A } from "./card-C85_Ndhb.js";
|
|
8
|
-
import { C as
|
|
9
|
-
import { D as
|
|
10
|
-
import { E as
|
|
8
|
+
import { C as Z, b as ee, a as te } from "./collapsible-DVPM46bq.js";
|
|
9
|
+
import { D as o } from "./description-list-BxzDN9o2.js";
|
|
10
|
+
import { E as se } from "./empty-state-DwJ5YNzz.js";
|
|
11
11
|
import { S as T } from "./skeleton-tTWJpvAq.js";
|
|
12
|
-
import { B as
|
|
12
|
+
import { B as ae } from "./button-DohK_Ak_.js";
|
|
13
13
|
import { P as re } from "./panel-header-CbtlTe85.js";
|
|
14
|
-
import { S as
|
|
15
|
-
import { C as
|
|
16
|
-
const
|
|
14
|
+
import { S as ne } from "./star-Bf9L2Uot.js";
|
|
15
|
+
import { C as ie } from "./chevron-down-DWE7GSq9.js";
|
|
16
|
+
const le = {
|
|
17
17
|
id: "reviews-panel",
|
|
18
18
|
capabilities: ["filter"],
|
|
19
19
|
state: {
|
|
@@ -55,8 +55,8 @@ const ie = {
|
|
|
55
55
|
{ args: { filter: 5 }, note: "Show only 5-star reviews." },
|
|
56
56
|
{ args: { filter: "all" }, note: "Clear the star filter." }
|
|
57
57
|
],
|
|
58
|
-
invoke: (e,
|
|
59
|
-
e.setFilter(
|
|
58
|
+
invoke: (e, l) => {
|
|
59
|
+
e.setFilter(l.filter);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
},
|
|
@@ -73,21 +73,21 @@ const ie = {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}, w = ["all", 5, 4, 3, 2, 1];
|
|
76
|
-
function
|
|
76
|
+
function U(e) {
|
|
77
77
|
return Math.min(5, Math.max(1, Math.floor(e)));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
const
|
|
79
|
+
function oe(e) {
|
|
80
|
+
const l = {
|
|
81
81
|
1: 0,
|
|
82
82
|
2: 0,
|
|
83
83
|
3: 0,
|
|
84
84
|
4: 0,
|
|
85
85
|
5: 0
|
|
86
86
|
};
|
|
87
|
-
for (const
|
|
88
|
-
return
|
|
87
|
+
for (const p of e) l[U(p.overallScore)] += 1;
|
|
88
|
+
return l;
|
|
89
89
|
}
|
|
90
|
-
const
|
|
90
|
+
const de = $(
|
|
91
91
|
[
|
|
92
92
|
"ds:relative ds:inline-flex ds:items-center ds:justify-center",
|
|
93
93
|
"ds:gap-[var(--spacing-xs)]",
|
|
@@ -120,59 +120,59 @@ const oe = _(
|
|
|
120
120
|
defaultVariants: { state: "idle" }
|
|
121
121
|
}
|
|
122
122
|
);
|
|
123
|
-
function
|
|
123
|
+
function ce({
|
|
124
124
|
filter: e,
|
|
125
|
-
histogram:
|
|
126
|
-
totalCount:
|
|
127
|
-
onChange:
|
|
125
|
+
histogram: l,
|
|
126
|
+
totalCount: p,
|
|
127
|
+
onChange: s
|
|
128
128
|
}) {
|
|
129
|
-
const { t: f } =
|
|
129
|
+
const { t: f } = M("ui"), y = H(), [k, v] = E(
|
|
130
130
|
() => Math.max(0, w.indexOf(e))
|
|
131
131
|
);
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
132
|
+
X(() => {
|
|
133
|
+
const a = w.indexOf(e);
|
|
134
|
+
a >= 0 && v(a);
|
|
135
135
|
}, [e]);
|
|
136
|
-
const u = F(/* @__PURE__ */ new Map()),
|
|
137
|
-
var
|
|
138
|
-
(
|
|
139
|
-
}, []),
|
|
140
|
-
(
|
|
141
|
-
switch (
|
|
136
|
+
const u = F(/* @__PURE__ */ new Map()), m = B((a) => {
|
|
137
|
+
var i;
|
|
138
|
+
(i = u.current.get(a)) == null || i.focus();
|
|
139
|
+
}, []), g = w.length, N = B(
|
|
140
|
+
(a, i) => {
|
|
141
|
+
switch (a.key) {
|
|
142
142
|
case "ArrowDown":
|
|
143
143
|
case "ArrowRight": {
|
|
144
|
-
|
|
145
|
-
const
|
|
146
|
-
|
|
144
|
+
a.preventDefault();
|
|
145
|
+
const n = (i + 1) % g;
|
|
146
|
+
v(n), m(n), s(w[n]);
|
|
147
147
|
break;
|
|
148
148
|
}
|
|
149
149
|
case "ArrowUp":
|
|
150
150
|
case "ArrowLeft": {
|
|
151
|
-
|
|
152
|
-
const
|
|
153
|
-
|
|
151
|
+
a.preventDefault();
|
|
152
|
+
const n = (i - 1 + g) % g;
|
|
153
|
+
v(n), m(n), s(w[n]);
|
|
154
154
|
break;
|
|
155
155
|
}
|
|
156
156
|
case "Home": {
|
|
157
|
-
|
|
157
|
+
a.preventDefault(), v(0), m(0), s(w[0]);
|
|
158
158
|
break;
|
|
159
159
|
}
|
|
160
160
|
case "End": {
|
|
161
|
-
|
|
162
|
-
const
|
|
163
|
-
|
|
161
|
+
a.preventDefault();
|
|
162
|
+
const n = g - 1;
|
|
163
|
+
v(n), m(n), s(w[n]);
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
case "Enter":
|
|
167
167
|
case " ": {
|
|
168
|
-
|
|
168
|
+
a.preventDefault(), s(w[i]);
|
|
169
169
|
break;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
|
-
[
|
|
173
|
+
[g, m, s]
|
|
174
174
|
);
|
|
175
|
-
return /* @__PURE__ */
|
|
175
|
+
return /* @__PURE__ */ r(_, { children: [
|
|
176
176
|
/* @__PURE__ */ t(
|
|
177
177
|
"h3",
|
|
178
178
|
{
|
|
@@ -187,27 +187,27 @@ function de({
|
|
|
187
187
|
role: "radiogroup",
|
|
188
188
|
"aria-labelledby": y,
|
|
189
189
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
|
|
190
|
-
children: w.map((
|
|
191
|
-
const
|
|
192
|
-
return /* @__PURE__ */
|
|
190
|
+
children: w.map((a, i) => {
|
|
191
|
+
const n = a === "all", d = n ? 0 : a, x = n ? p : l[d], b = a === e, V = k === i, z = n ? f("reviewsPanel.filter.allLabel", { count: x }) : f("reviewsPanel.filter.starsLabel", { stars: d, count: x });
|
|
192
|
+
return /* @__PURE__ */ r(
|
|
193
193
|
"button",
|
|
194
194
|
{
|
|
195
|
-
ref: (
|
|
196
|
-
|
|
195
|
+
ref: (c) => {
|
|
196
|
+
c ? u.current.set(i, c) : u.current.delete(i);
|
|
197
197
|
},
|
|
198
198
|
type: "button",
|
|
199
199
|
role: "radio",
|
|
200
|
-
"aria-checked":
|
|
201
|
-
"aria-label":
|
|
200
|
+
"aria-checked": b,
|
|
201
|
+
"aria-label": z,
|
|
202
202
|
tabIndex: V ? 0 : -1,
|
|
203
203
|
onClick: () => {
|
|
204
|
-
|
|
204
|
+
v(i), s(a);
|
|
205
205
|
},
|
|
206
|
-
onFocus: () =>
|
|
207
|
-
onKeyDown: (
|
|
208
|
-
"data-filter-bucket": String(
|
|
209
|
-
className:
|
|
210
|
-
state:
|
|
206
|
+
onFocus: () => v(i),
|
|
207
|
+
onKeyDown: (c) => N(c, i),
|
|
208
|
+
"data-filter-bucket": String(a),
|
|
209
|
+
className: de({
|
|
210
|
+
state: b ? "selected" : "idle"
|
|
211
211
|
}),
|
|
212
212
|
children: [
|
|
213
213
|
/* @__PURE__ */ t(
|
|
@@ -215,7 +215,7 @@ function de({
|
|
|
215
215
|
{
|
|
216
216
|
"aria-hidden": "true",
|
|
217
217
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
218
|
-
children:
|
|
218
|
+
children: n ? /* @__PURE__ */ t("span", { className: "type-label", children: f("reviewsPanel.filter.allShort") }) : /* @__PURE__ */ t(P, { value: d, size: "sm", decorative: !0 })
|
|
219
219
|
}
|
|
220
220
|
),
|
|
221
221
|
/* @__PURE__ */ t(
|
|
@@ -232,57 +232,57 @@ function de({
|
|
|
232
232
|
// text on the violet pill (~3:1, AA-fail). Match the
|
|
233
233
|
// row's foreground when selected; slight opacity
|
|
234
234
|
// keeps the count secondary to the label.
|
|
235
|
-
|
|
235
|
+
b ? "ds:text-[color:var(--primary-foreground)]" : "ds:text-[var(--muted-foreground)]"
|
|
236
236
|
].join(" "),
|
|
237
|
-
children:
|
|
237
|
+
children: x
|
|
238
238
|
}
|
|
239
239
|
)
|
|
240
240
|
]
|
|
241
241
|
},
|
|
242
|
-
String(
|
|
242
|
+
String(a)
|
|
243
243
|
);
|
|
244
244
|
})
|
|
245
245
|
}
|
|
246
246
|
)
|
|
247
247
|
] });
|
|
248
248
|
}
|
|
249
|
-
function
|
|
250
|
-
var
|
|
251
|
-
const { t:
|
|
249
|
+
function ue({ review: e, locale: l, textLang: p }) {
|
|
250
|
+
var i, n, d, x;
|
|
251
|
+
const { t: s } = M("ui"), f = H(), y = H(), [k, v] = E(!1), u = !!(e.breakdown && Object.values(e.breakdown).some((b) => b != null)), m = !!e.reply || u || !!e.futureVisit || !!e.recommendation, g = C(() => {
|
|
252
252
|
if (!e.authoredAt) return "";
|
|
253
253
|
try {
|
|
254
|
-
const
|
|
255
|
-
return Number.isNaN(
|
|
256
|
-
|
|
254
|
+
const b = new Date(e.authoredAt);
|
|
255
|
+
return Number.isNaN(b.getTime()) ? e.authoredAt : new Intl.DateTimeFormat(l, { dateStyle: "medium" }).format(
|
|
256
|
+
b
|
|
257
257
|
);
|
|
258
258
|
} catch {
|
|
259
259
|
return e.authoredAt;
|
|
260
260
|
}
|
|
261
|
-
}, [e.authoredAt,
|
|
262
|
-
|
|
261
|
+
}, [e.authoredAt, l]), N = e.pseudonym ?? s("reviewsPanel.anonymous"), a = /* @__PURE__ */ r(
|
|
262
|
+
Z,
|
|
263
263
|
{
|
|
264
|
-
open:
|
|
265
|
-
onOpenChange:
|
|
264
|
+
open: m ? k : !1,
|
|
265
|
+
onOpenChange: m ? v : void 0,
|
|
266
266
|
children: [
|
|
267
|
-
/* @__PURE__ */
|
|
268
|
-
/* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children:
|
|
269
|
-
|
|
267
|
+
/* @__PURE__ */ r(A.Footer, { children: [
|
|
268
|
+
/* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: g }),
|
|
269
|
+
m ? /* @__PURE__ */ t(ee, { asChild: !0, children: /* @__PURE__ */ r(
|
|
270
270
|
"button",
|
|
271
271
|
{
|
|
272
|
-
id:
|
|
272
|
+
id: f,
|
|
273
273
|
type: "button",
|
|
274
274
|
"data-review-trigger": !0,
|
|
275
|
-
"aria-controls":
|
|
275
|
+
"aria-controls": y,
|
|
276
276
|
className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-2xs)] ds:pe-[var(--spacing-2xs)] ds:pt-[var(--spacing-2xs)] ds:pb-[var(--spacing-2xs)] ds:bg-transparent ds:border-0 ds:text-[length:var(--font-size-sm)] ds:text-[var(--review-details-foreground)] ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:hover:underline ds:cursor-pointer ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
277
277
|
children: [
|
|
278
|
-
|
|
278
|
+
s(k ? "reviewsPanel.card.collapse" : "reviewsPanel.card.expand"),
|
|
279
279
|
/* @__PURE__ */ t(
|
|
280
|
-
|
|
280
|
+
ie,
|
|
281
281
|
{
|
|
282
282
|
"aria-hidden": "true",
|
|
283
283
|
className: [
|
|
284
284
|
"ds:size-4 ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
285
|
-
|
|
285
|
+
k ? "ds:rotate-180" : ""
|
|
286
286
|
].filter(Boolean).join(" ")
|
|
287
287
|
}
|
|
288
288
|
)
|
|
@@ -290,50 +290,51 @@ function ce({ review: e, locale: i }) {
|
|
|
290
290
|
}
|
|
291
291
|
) }) : null
|
|
292
292
|
] }),
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
((
|
|
296
|
-
/* @__PURE__ */ t(
|
|
297
|
-
/* @__PURE__ */ t(
|
|
298
|
-
|
|
293
|
+
m ? /* @__PURE__ */ t(te, { id: y, "aria-labelledby": f, children: /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: [
|
|
294
|
+
u || e.futureVisit || e.recommendation ? /* @__PURE__ */ r(o, { layout: "inline", density: "compact", children: [
|
|
295
|
+
((i = e.breakdown) == null ? void 0 : i.appointmentScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
|
|
296
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.appointment") }),
|
|
297
|
+
/* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(
|
|
298
|
+
P,
|
|
299
299
|
{
|
|
300
300
|
value: e.breakdown.appointmentScore,
|
|
301
301
|
size: "sm"
|
|
302
302
|
}
|
|
303
303
|
) })
|
|
304
304
|
] }) : null,
|
|
305
|
-
((
|
|
306
|
-
/* @__PURE__ */ t(
|
|
307
|
-
/* @__PURE__ */ t(
|
|
308
|
-
|
|
305
|
+
((n = e.breakdown) == null ? void 0 : n.communicationScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
|
|
306
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.communication") }),
|
|
307
|
+
/* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(
|
|
308
|
+
P,
|
|
309
309
|
{
|
|
310
310
|
value: e.breakdown.communicationScore,
|
|
311
311
|
size: "sm"
|
|
312
312
|
}
|
|
313
313
|
) })
|
|
314
314
|
] }) : null,
|
|
315
|
-
((
|
|
316
|
-
/* @__PURE__ */ t(
|
|
317
|
-
/* @__PURE__ */ t(
|
|
315
|
+
((d = e.breakdown) == null ? void 0 : d.staffScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
|
|
316
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.staff") }),
|
|
317
|
+
/* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(P, { value: e.breakdown.staffScore, size: "sm" }) })
|
|
318
318
|
] }) : null,
|
|
319
|
-
((x = e.breakdown) == null ? void 0 : x.overallScore) != null ? /* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */ t(
|
|
321
|
-
/* @__PURE__ */ t(
|
|
319
|
+
((x = e.breakdown) == null ? void 0 : x.overallScore) != null ? /* @__PURE__ */ r(o.Row, { children: [
|
|
320
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.overall") }),
|
|
321
|
+
/* @__PURE__ */ t(o.Detail, { children: /* @__PURE__ */ t(P, { value: e.breakdown.overallScore, size: "sm" }) })
|
|
322
322
|
] }) : null,
|
|
323
|
-
e.futureVisit ? /* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */ t(
|
|
325
|
-
/* @__PURE__ */ t(
|
|
323
|
+
e.futureVisit ? /* @__PURE__ */ r(o.Row, { children: [
|
|
324
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.futureVisit") }),
|
|
325
|
+
/* @__PURE__ */ t(o.Detail, { children: s(`reviewsPanel.answer.${e.futureVisit}`) })
|
|
326
326
|
] }) : null,
|
|
327
|
-
e.recommendation ? /* @__PURE__ */
|
|
328
|
-
/* @__PURE__ */ t(
|
|
329
|
-
/* @__PURE__ */ t(
|
|
327
|
+
e.recommendation ? /* @__PURE__ */ r(o.Row, { children: [
|
|
328
|
+
/* @__PURE__ */ t(o.Term, { children: s("reviewsPanel.breakdown.recommendation") }),
|
|
329
|
+
/* @__PURE__ */ t(o.Detail, { children: s(`reviewsPanel.answer.${e.recommendation}`) })
|
|
330
330
|
] }) : null
|
|
331
331
|
] }) : null,
|
|
332
|
-
e.reply ? /* @__PURE__ */
|
|
333
|
-
/* @__PURE__ */ t("p", { className: "type-label ds:m-0 ds:mb-[var(--spacing-2xs)] ds:text-[var(--muted-foreground)] ds:font-[var(--font-weight-semibold)]", children:
|
|
332
|
+
e.reply ? /* @__PURE__ */ r("div", { className: "ds:rounded-[var(--radius-sm)] ds:bg-[var(--muted)]/40 ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-sm)]", children: [
|
|
333
|
+
/* @__PURE__ */ t("p", { className: "type-label ds:m-0 ds:mb-[var(--spacing-2xs)] ds:text-[var(--muted-foreground)] ds:font-[var(--font-weight-semibold)]", children: s("reviewsPanel.replyTitle") }),
|
|
334
334
|
/* @__PURE__ */ t(
|
|
335
335
|
"p",
|
|
336
336
|
{
|
|
337
|
+
lang: p,
|
|
337
338
|
dir: "auto",
|
|
338
339
|
className: "type-body-sm ds:m-0 ds:text-[var(--foreground)] ds:[white-space:pre-line]",
|
|
339
340
|
children: e.reply
|
|
@@ -344,48 +345,49 @@ function ce({ review: e, locale: i }) {
|
|
|
344
345
|
]
|
|
345
346
|
}
|
|
346
347
|
);
|
|
347
|
-
return /* @__PURE__ */
|
|
348
|
-
/* @__PURE__ */ t(A.Header, { children: /* @__PURE__ */
|
|
348
|
+
return /* @__PURE__ */ r(A, { variant: "default", className: "ds:shadow-[var(--shadow-sm)]", children: [
|
|
349
|
+
/* @__PURE__ */ t(A.Header, { children: /* @__PURE__ */ r("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
349
350
|
/* @__PURE__ */ t(
|
|
350
351
|
"h4",
|
|
351
352
|
{
|
|
352
353
|
dir: e.pseudonym ? "auto" : void 0,
|
|
353
354
|
className: "type-title-item ds:m-0 ds:text-[var(--foreground)]",
|
|
354
|
-
children:
|
|
355
|
+
children: N
|
|
355
356
|
}
|
|
356
357
|
),
|
|
357
|
-
/* @__PURE__ */ t(
|
|
358
|
+
/* @__PURE__ */ t(P, { value: e.overallScore, size: "sm" })
|
|
358
359
|
] }) }),
|
|
359
360
|
e.comment ? /* @__PURE__ */ t(A.Body, { children: /* @__PURE__ */ t(
|
|
360
361
|
"p",
|
|
361
362
|
{
|
|
363
|
+
lang: p,
|
|
362
364
|
dir: "auto",
|
|
363
365
|
className: "type-body ds:m-0 ds:text-[var(--foreground)] ds:line-clamp-2",
|
|
364
366
|
children: e.comment
|
|
365
367
|
}
|
|
366
368
|
) }) : null,
|
|
367
|
-
|
|
369
|
+
a
|
|
368
370
|
] });
|
|
369
371
|
}
|
|
370
|
-
function
|
|
371
|
-
return /* @__PURE__ */
|
|
372
|
-
/* @__PURE__ */
|
|
372
|
+
function me({ hideFilter: e }) {
|
|
373
|
+
return /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
374
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
373
375
|
/* @__PURE__ */ t(T, { variant: "text", width: "40%" }),
|
|
374
376
|
/* @__PURE__ */ t(T, { variant: "text", width: "20%" })
|
|
375
377
|
] }),
|
|
376
|
-
e ? null : /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-xs)]", children: Array.from({ length: 6 }, (
|
|
378
|
+
e ? null : /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-xs)]", children: Array.from({ length: 6 }, (l, p) => /* @__PURE__ */ t(
|
|
377
379
|
T,
|
|
378
380
|
{
|
|
379
381
|
variant: "rounded",
|
|
380
382
|
width: "4rem",
|
|
381
383
|
height: "2.5rem"
|
|
382
384
|
},
|
|
383
|
-
`rp-fs-${
|
|
385
|
+
`rp-fs-${p}`
|
|
384
386
|
)) }),
|
|
385
|
-
/* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: Array.from({ length: 3 }, (
|
|
387
|
+
/* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: Array.from({ length: 3 }, (l, p) => /* @__PURE__ */ t(T, { variant: "rounded", height: "6rem" }, `rp-rs-${p}`)) })
|
|
386
388
|
] });
|
|
387
389
|
}
|
|
388
|
-
const
|
|
390
|
+
const L = $(
|
|
389
391
|
// No root padding: the shared `PanelHeader` owns the header's edge
|
|
390
392
|
// padding (px/pt/pb) and the body wrapper below owns the content
|
|
391
393
|
// padding, so the header divider can span flush to the panel edge.
|
|
@@ -410,151 +412,152 @@ const I = _(
|
|
|
410
412
|
},
|
|
411
413
|
defaultVariants: { surface: "flat" }
|
|
412
414
|
}
|
|
413
|
-
),
|
|
415
|
+
), pe = Q(
|
|
414
416
|
({
|
|
415
417
|
reviews: e,
|
|
416
|
-
aggregate:
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
418
|
+
aggregate: l,
|
|
419
|
+
contentLang: p,
|
|
420
|
+
filter: s,
|
|
421
|
+
onFilterChange: f,
|
|
422
|
+
introSlot: y,
|
|
423
|
+
headerActionSlot: k,
|
|
424
|
+
"aria-label": v,
|
|
425
|
+
id: u,
|
|
426
|
+
className: m,
|
|
427
|
+
hideFilter: g = !1,
|
|
428
|
+
surface: N = "flat",
|
|
429
|
+
loading: a = !1,
|
|
430
|
+
...i
|
|
431
|
+
}, n) => {
|
|
432
|
+
const { t: d, i18n: x } = M("ui"), b = x.language ?? "en", [V, z] = E("all"), c = s ?? V, S = B(
|
|
433
|
+
(h) => {
|
|
434
|
+
s === void 0 && z(h), f == null || f(h);
|
|
432
435
|
},
|
|
433
|
-
[
|
|
434
|
-
),
|
|
435
|
-
() =>
|
|
436
|
-
[
|
|
437
|
-
), R = C(() =>
|
|
438
|
-
|
|
439
|
-
const
|
|
440
|
-
|
|
441
|
-
const
|
|
436
|
+
[s, f]
|
|
437
|
+
), q = C(
|
|
438
|
+
() => l.histogram ?? oe(e),
|
|
439
|
+
[l.histogram, e]
|
|
440
|
+
), R = C(() => c === "all" ? e : e.filter((h) => U(h.overallScore) === c), [e, c]), O = F(c);
|
|
441
|
+
O.current = c;
|
|
442
|
+
const K = F(R.length);
|
|
443
|
+
K.current = R.length;
|
|
444
|
+
const G = C(
|
|
442
445
|
() => ({
|
|
443
|
-
getFilter: () =>
|
|
444
|
-
setFilter: (
|
|
445
|
-
getVisibleCount: () =>
|
|
446
|
+
getFilter: () => O.current,
|
|
447
|
+
setFilter: (h) => S(h),
|
|
448
|
+
getVisibleCount: () => K.current
|
|
446
449
|
}),
|
|
447
|
-
[
|
|
450
|
+
[S]
|
|
448
451
|
), D = F(null);
|
|
449
|
-
|
|
450
|
-
const
|
|
451
|
-
if (
|
|
452
|
+
W(n, () => D.current, []), Y(le, G, u);
|
|
453
|
+
const j = v ?? d("reviewsPanel.regionLabel"), I = String(c);
|
|
454
|
+
if (a)
|
|
452
455
|
return /* @__PURE__ */ t(
|
|
453
456
|
"section",
|
|
454
457
|
{
|
|
455
458
|
ref: D,
|
|
456
|
-
"aria-label":
|
|
459
|
+
"aria-label": j,
|
|
457
460
|
"aria-busy": "true",
|
|
458
|
-
id:
|
|
461
|
+
id: u,
|
|
459
462
|
"data-component": "reviews-panel",
|
|
460
|
-
"data-component-id":
|
|
461
|
-
"data-filter":
|
|
463
|
+
"data-component-id": u,
|
|
464
|
+
"data-filter": I,
|
|
462
465
|
"data-state": "loading",
|
|
463
|
-
className:
|
|
464
|
-
...
|
|
465
|
-
children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(
|
|
466
|
+
className: L({ surface: N, className: m }),
|
|
467
|
+
...i,
|
|
468
|
+
children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(me, { hideFilter: g }) })
|
|
466
469
|
}
|
|
467
470
|
);
|
|
468
|
-
if (
|
|
471
|
+
if (l.count === 0 && e.length === 0)
|
|
469
472
|
return /* @__PURE__ */ t(
|
|
470
473
|
"section",
|
|
471
474
|
{
|
|
472
475
|
ref: D,
|
|
473
|
-
"aria-label":
|
|
474
|
-
id:
|
|
476
|
+
"aria-label": j,
|
|
477
|
+
id: u,
|
|
475
478
|
"data-component": "reviews-panel",
|
|
476
|
-
"data-component-id":
|
|
477
|
-
"data-filter":
|
|
479
|
+
"data-component-id": u,
|
|
480
|
+
"data-filter": I,
|
|
478
481
|
"data-state": "empty",
|
|
479
|
-
className:
|
|
480
|
-
...
|
|
482
|
+
className: L({ surface: N, className: m }),
|
|
483
|
+
...i,
|
|
481
484
|
children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(
|
|
482
|
-
|
|
485
|
+
se,
|
|
483
486
|
{
|
|
484
487
|
variant: "no-results",
|
|
485
|
-
title:
|
|
486
|
-
description:
|
|
488
|
+
title: d("reviewsPanel.empty.title"),
|
|
489
|
+
description: d("reviewsPanel.empty.description")
|
|
487
490
|
}
|
|
488
491
|
) })
|
|
489
492
|
}
|
|
490
493
|
);
|
|
491
|
-
const
|
|
492
|
-
return /* @__PURE__ */
|
|
494
|
+
const J = !g;
|
|
495
|
+
return /* @__PURE__ */ r(
|
|
493
496
|
"section",
|
|
494
497
|
{
|
|
495
498
|
ref: D,
|
|
496
|
-
"aria-label":
|
|
497
|
-
id:
|
|
499
|
+
"aria-label": j,
|
|
500
|
+
id: u,
|
|
498
501
|
"data-component": "reviews-panel",
|
|
499
|
-
"data-component-id":
|
|
500
|
-
"data-filter":
|
|
501
|
-
className:
|
|
502
|
-
...
|
|
502
|
+
"data-component-id": u,
|
|
503
|
+
"data-filter": I,
|
|
504
|
+
className: L({ surface: N, className: m }),
|
|
505
|
+
...i,
|
|
503
506
|
children: [
|
|
504
507
|
/* @__PURE__ */ t(
|
|
505
508
|
re,
|
|
506
509
|
{
|
|
507
|
-
title:
|
|
508
|
-
icon: /* @__PURE__ */ t(
|
|
510
|
+
title: d("reviewsPanel.title"),
|
|
511
|
+
icon: /* @__PURE__ */ t(ne, { "aria-hidden": "true" }),
|
|
509
512
|
titleScale: "section",
|
|
510
513
|
sticky: !0,
|
|
511
514
|
wrapActions: !0,
|
|
512
|
-
actions: /* @__PURE__ */
|
|
513
|
-
|
|
515
|
+
actions: /* @__PURE__ */ r(_, { children: [
|
|
516
|
+
k,
|
|
514
517
|
/* @__PURE__ */ t(
|
|
515
|
-
|
|
518
|
+
P,
|
|
516
519
|
{
|
|
517
|
-
value:
|
|
518
|
-
reviews: { count:
|
|
520
|
+
value: l.averageScore,
|
|
521
|
+
reviews: { count: l.count },
|
|
519
522
|
size: "md"
|
|
520
523
|
}
|
|
521
524
|
)
|
|
522
525
|
] }),
|
|
523
|
-
filters:
|
|
524
|
-
|
|
526
|
+
filters: J ? /* @__PURE__ */ t(
|
|
527
|
+
ce,
|
|
525
528
|
{
|
|
526
|
-
filter:
|
|
527
|
-
histogram:
|
|
528
|
-
totalCount:
|
|
529
|
-
onChange:
|
|
529
|
+
filter: c,
|
|
530
|
+
histogram: q,
|
|
531
|
+
totalCount: l.count,
|
|
532
|
+
onChange: S
|
|
530
533
|
}
|
|
531
534
|
) : void 0
|
|
532
535
|
}
|
|
533
536
|
),
|
|
534
|
-
/* @__PURE__ */
|
|
535
|
-
|
|
537
|
+
/* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:min-w-0 ds:p-[var(--spacing-md)]", children: [
|
|
538
|
+
y || null,
|
|
536
539
|
R.length === 0 ? (
|
|
537
540
|
// `role="status"` already implies `aria-live="polite"` —
|
|
538
541
|
// declaring both would queue two announcements when the
|
|
539
542
|
// filter changes (the radio's aria-checked flip + this
|
|
540
543
|
// container's text). Keeping `role` only.
|
|
541
|
-
/* @__PURE__ */
|
|
544
|
+
/* @__PURE__ */ r(
|
|
542
545
|
"div",
|
|
543
546
|
{
|
|
544
547
|
role: "status",
|
|
545
548
|
"data-state": "no-match",
|
|
546
549
|
className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-sm)] ds:rounded-[var(--radius-md)] ds:border ds:border-dashed ds:border-[var(--border)] ds:p-[var(--spacing-lg)] ds:text-center",
|
|
547
550
|
children: [
|
|
548
|
-
/* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children:
|
|
549
|
-
stars:
|
|
551
|
+
/* @__PURE__ */ t("p", { className: "type-body ds:m-0 ds:text-[var(--muted-foreground)]", children: c === "all" ? d("reviewsPanel.empty.title") : d("reviewsPanel.empty.filterDescription", {
|
|
552
|
+
stars: c
|
|
550
553
|
}) }),
|
|
551
|
-
|
|
552
|
-
|
|
554
|
+
c !== "all" ? /* @__PURE__ */ t(
|
|
555
|
+
ae,
|
|
553
556
|
{
|
|
554
557
|
intent: "secondary",
|
|
555
558
|
size: "sm",
|
|
556
|
-
onClick: () =>
|
|
557
|
-
children:
|
|
559
|
+
onClick: () => S("all"),
|
|
560
|
+
children: d("reviewsPanel.empty.resetFilter")
|
|
558
561
|
}
|
|
559
562
|
) : null
|
|
560
563
|
]
|
|
@@ -563,9 +566,16 @@ const I = _(
|
|
|
563
566
|
) : /* @__PURE__ */ t(
|
|
564
567
|
"ol",
|
|
565
568
|
{
|
|
566
|
-
"aria-label":
|
|
569
|
+
"aria-label": d("reviewsPanel.listLabel"),
|
|
567
570
|
className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
568
|
-
children: R.map((
|
|
571
|
+
children: R.map((h) => /* @__PURE__ */ t("li", { "data-review-id": h.id, children: /* @__PURE__ */ t(
|
|
572
|
+
ue,
|
|
573
|
+
{
|
|
574
|
+
review: h,
|
|
575
|
+
locale: b,
|
|
576
|
+
textLang: h.contentLang ?? p
|
|
577
|
+
}
|
|
578
|
+
) }, h.id))
|
|
569
579
|
}
|
|
570
580
|
)
|
|
571
581
|
] })
|
|
@@ -574,9 +584,9 @@ const I = _(
|
|
|
574
584
|
);
|
|
575
585
|
}
|
|
576
586
|
);
|
|
577
|
-
|
|
587
|
+
pe.displayName = "ReviewsPanel";
|
|
578
588
|
export {
|
|
579
|
-
|
|
580
|
-
|
|
589
|
+
pe as R,
|
|
590
|
+
le as r
|
|
581
591
|
};
|
|
582
|
-
//# sourceMappingURL=reviews-panel-
|
|
592
|
+
//# sourceMappingURL=reviews-panel-CtrwZOUS.js.map
|