@alfadocs/ui-kit 1.67.0 → 1.68.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-fields-CJtu7LQU.js → address-fields-BUPRs3n-.js} +3 -3
- package/dist/_chunks/{agenda-card-DR9gDdKp.js → agenda-card-BDuvreCe.js} +2 -2
- package/dist/_chunks/{agenda-tray-DGB1Zup-.js → agenda-tray-CfwylhWf.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-DfAgfZDF.js → ai-credits-exhausted-notice-Bg8NpW2K.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-qsdm4Sx4.js → ai-permission-notice-C00i6VhY.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-DSGSe4LH.js → ai-prompt-input-DzgyoKyk.js} +141 -139
- package/dist/_chunks/{alert-DjsJMGRE.js → alert-9kEwDza3.js} +122 -112
- package/dist/_chunks/{alia-sidebar-qe0quZkB.js → alia-sidebar-B06ZSOaF.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-card-CMzBLTiN.js → anamnesis-summary-card-DQ3iE1gD.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BQ_EokKz.js → anamnesis-summary-rows-CNK0fIJk.js} +392 -388
- package/dist/_chunks/{appointment-card-CL32sux-.js → appointment-card-5JMWi9_f.js} +2 -2
- package/dist/_chunks/{appointment-peek-B5mcDcXt.js → appointment-peek-D5XCfYKu.js} +2 -2
- package/dist/_chunks/{appointment-timeline-CCqjORFb.js → appointment-timeline-VFP6HoXT.js} +4 -4
- package/dist/_chunks/{appointment-tray-qtpJt8e0.js → appointment-tray-B3PDER3I.js} +3 -3
- package/dist/_chunks/{audio-recorder-B11RR-rC.js → audio-recorder-4Ll0pwYK.js} +3 -3
- package/dist/_chunks/{auth-form-parts-DwUTH6YN.js → auth-form-parts-B40zvD-a.js} +2 -2
- package/dist/_chunks/avatar-BPiPL7ND.js +199 -0
- package/dist/_chunks/{balance-badge-cell-DZNthHO1.js → balance-badge-cell-BG3DMly4.js} +4 -4
- package/dist/_chunks/{bishop-score-CaNTrikJ.js → bishop-score-Df8nF1qg.js} +2 -2
- package/dist/_chunks/{booking-tTVxKPQY.js → booking-B1pDbERi.js} +377 -335
- package/dist/_chunks/{calendar-BhN-jisv.js → calendar-BvOM8rG3.js} +2 -2
- package/dist/_chunks/{calendar-workspace-MRrzcxAy.js → calendar-workspace-CYK1M83j.js} +18 -18
- package/dist/_chunks/{chat-message-fRLZ95O5.js → chat-message-Be-9vIIQ.js} +2 -2
- package/dist/_chunks/{clinical-note-card-BnFTIs6x.js → clinical-note-card-Caidqcwa.js} +2 -2
- package/dist/_chunks/{color-picker-BsggJovx.js → color-picker-AcaWuKah.js} +99 -95
- package/dist/_chunks/{combobox-U5yfO6o0.js → combobox-vF9O-QoG.js} +92 -83
- package/dist/_chunks/{contact-profile-card-C4-OCshj.js → contact-profile-card-CAwwOqHl.js} +40 -40
- package/dist/_chunks/{control-room-rail-DUerqHeo.js → control-room-rail-BB6rCDWI.js} +3 -3
- package/dist/_chunks/{country-select-DF5Bd_mn.js → country-select-CSE2Zm_s.js} +2 -2
- package/dist/_chunks/dashboard-grid-7JzaiKnk.js +1487 -0
- package/dist/_chunks/{data-table-COoCQ4n_.js → data-table-Cty4-Jht.js} +3 -3
- package/dist/_chunks/{dependent-selector-DBr1AhLg.js → dependent-selector-C4kOgO8b.js} +2 -2
- package/dist/_chunks/{document-preview-VyQOjFVL.js → document-preview-513f3iPn.js} +4 -4
- package/dist/_chunks/{document-scanner-CXH_GYh4.js → document-scanner-Bd3wbzpI.js} +2 -2
- package/dist/_chunks/{editable-description-ChGNdYY8.js → editable-description-DnAFi360.js} +2 -2
- package/dist/_chunks/{entity-summary-Bj-Wxq7Y.js → entity-summary-C2B8yNmc.js} +4 -4
- package/dist/_chunks/{error-summary-PUE5Zxp9.js → error-summary-mGxIyDAY.js} +2 -2
- package/dist/_chunks/{face-scheme-DAD-mXzM.js → face-scheme-CSJdRNad.js} +248 -244
- package/dist/_chunks/{file-manager-RiV7-OEE.js → file-manager-D4cPnRhL.js} +3 -3
- package/dist/_chunks/{forgot-password-form-CPOfRE0C.js → forgot-password-form-Dqi7R-NL.js} +4 -4
- package/dist/_chunks/format-number-DdzqwMs1.js +13 -0
- package/dist/_chunks/{freemium-paywall-6DO7noHX.js → freemium-paywall-C73C8Rgd.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CZYa2D6m.js → gestational-age-calculator-Du53p8MH.js} +2 -2
- package/dist/_chunks/{header-settings-BSH9Gk0J.js → header-settings-DlUbvAUx.js} +37 -36
- package/dist/_chunks/{heatmap-C1TeC7wT.js → heatmap-DbZIQg14.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-Bw3Q58x-.js → help-me-write-templates-5WkUfvc_.js} +3 -3
- package/dist/_chunks/{kit-extensions-DWs1UEXb.js → kit-extensions-CYvLL4ee.js} +3 -3
- package/dist/_chunks/length-token-DwMnGEYT.js +24 -0
- package/dist/_chunks/{link-cell-renderer-CtTsvfPY.js → link-cell-renderer-DtIsQWDO.js} +4 -4
- package/dist/_chunks/{login-dev-card-A-CL3mjt.js → login-dev-card-vEL-o5wq.js} +3 -3
- package/dist/_chunks/{map-view-BuVfJMEa.js → map-view-CtohteZD.js} +300 -191
- package/dist/_chunks/{marketplace-app-shell-DtSX8sYb.js → marketplace-app-shell-CcLQ0Dn-.js} +4 -4
- package/dist/_chunks/{message-card-A3mJNqfy.js → message-card-C_ksqIYM.js} +2 -2
- package/dist/_chunks/{message-tray-Ft6vSr71.js → message-tray-DCoQ4GQb.js} +3 -3
- package/dist/_chunks/{multi-select-CMaAQQgb.js → multi-select-BOad3za9.js} +110 -98
- package/dist/_chunks/{muscle-scheme-YoN3rYXV.js → muscle-scheme-C66WlCxG.js} +2 -2
- package/dist/_chunks/{note-timeline-DDqNU46n.js → note-timeline-KzL52MmB.js} +2 -2
- package/dist/_chunks/{notes-panel-IdsmqRFC.js → notes-panel-BXN46XkF.js} +6 -6
- package/dist/_chunks/notice-group-DkYzKyAZ.js +291 -0
- package/dist/_chunks/{notification-tray-BR3seWA7.js → notification-tray-Cp18MW5b.js} +2 -2
- package/dist/_chunks/{operator-hero-3_RG4Dkj.js → operator-hero-6aAIQaFZ.js} +83 -66
- package/dist/_chunks/{optical-prescription-CxfMsbxi.js → optical-prescription-ulXnDbBe.js} +525 -509
- package/dist/_chunks/panel-header-CbtlTe85.js +190 -0
- package/dist/_chunks/{panel-subview-yP4qIbKS.js → panel-subview-BPU7220K.js} +2 -2
- package/dist/_chunks/{patient-details-C-EWQTms.js → patient-details-C4Dyo7Ck.js} +4 -4
- package/dist/_chunks/{patient-field-row-lY-Tb5Mo.js → patient-field-row-DROvUkFu.js} +4 -4
- package/dist/_chunks/{patient-search-DpAKidZ5.js → patient-search-BADdx3M1.js} +2 -2
- package/dist/_chunks/{patient-summary-card-Bpto_VCD.js → patient-summary-card-CAimxbuI.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-BQ307qEX.js → payment-automation-upsell-CiwF5UrC.js} +2 -2
- package/dist/_chunks/{payment-form-XKtinW8r.js → payment-form-PBuh8PIa.js} +2 -2
- package/dist/_chunks/{pdf-viewer-BvoVMjH4.js → pdf-viewer-gAsNUsA8.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-CPy7CNFe.js → periodontal-risk-chart-B7S9OmPC.js} +97 -89
- package/dist/_chunks/practice-profile-hero-qfrsFQI_.js +236 -0
- package/dist/_chunks/{practice-results-BrUDDMXC.js → practice-results-BzThnpnm.js} +328 -298
- package/dist/_chunks/{pregnancy-dating-B8wo4l_r.js → pregnancy-dating-EFcFUJkQ.js} +2 -2
- package/dist/_chunks/{privacy-mask-Ch7743uk.js → privacy-mask-CCz9zuIh.js} +2 -2
- package/dist/_chunks/{product-hub-panel-C_ZosrBt.js → product-hub-panel-YuFbNPlT.js} +2 -2
- package/dist/_chunks/progress-notice-DiHWZ8Ms.js +279 -0
- package/dist/_chunks/{province-select-Bd20Z9Br.js → province-select-CDjs5obD.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js} +2 -2
- package/dist/_chunks/{rating-C1Vrmpsi.js → rating-CGYpg5dj.js} +43 -44
- package/dist/_chunks/{registration-form-BxwqUZzk.js → registration-form-1B0PTDal.js} +4 -4
- package/dist/_chunks/{reviews-panel-AvsVgtJu.js → reviews-panel-CosDZyow.js} +29 -7
- package/dist/_chunks/{rich-text-editor-aCIoptbg.js → rich-text-editor-56dSsyZI.js} +3 -3
- package/dist/_chunks/{select-k4gBdS8N.js → select-4S-eYZUf.js} +244 -214
- package/dist/_chunks/{sign-document-D1P1nUQA.js → sign-document-BiOTs1P4.js} +2 -2
- package/dist/_chunks/{signature-request-3u6TvRt2.js → signature-request-DAmNj_uq.js} +5 -5
- package/dist/_chunks/skeleton-tTWJpvAq.js +415 -0
- package/dist/_chunks/{slot-grid-dj5f6R2w.js → slot-grid-D_gix9mJ.js} +2 -2
- package/dist/_chunks/{tabs-2x3L13jn.js → tabs-BTj-2qMZ.js} +2 -2
- package/dist/_chunks/{task-card-BS7Uqevr.js → task-card-Ci2XbLmq.js} +2 -2
- package/dist/_chunks/{task-editor-Bb5MMcid.js → task-editor-BomyxGoZ.js} +8 -8
- package/dist/_chunks/{task-tray-eQU4KJcA.js → task-tray-Dnc72nl-.js} +3 -3
- package/dist/_chunks/{tasks-panel-BOb57Ysw.js → tasks-panel-ATz9JDy8.js} +6 -6
- package/dist/_chunks/{theme-toggle-Ctb77x6O.js → theme-toggle-DT_Jn4DC.js} +147 -138
- package/dist/_chunks/{timeline-DEIuHrWz.js → timeline-wUuTDFY_.js} +2 -2
- package/dist/_chunks/{tool-rail-C-03rH2I.js → tool-rail-C-M3eVdY.js} +2 -2
- package/dist/_chunks/{transcript-panel-XudW5l6l.js → transcript-panel-CoHHpcFg.js} +2 -2
- package/dist/_chunks/{treatment-receipt-Cpm8tqQN.js → treatment-receipt-pFqWFyD_.js} +2 -2
- package/dist/_chunks/{unit-converter-BPZ0Ldkb.js → unit-converter-CIoTmCmP.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CVSPoP5j.js → use-appointment-details-read-CUGfE0hV.js} +12 -12
- package/dist/_chunks/use-dismissed-CTOWqA0e.js +177 -0
- package/dist/_chunks/{voice-control-panel-BJIEbDq6.js → voice-control-panel-B8Lrk0C4.js} +4 -4
- package/dist/_chunks/{warning-stack-BdY-0bd3.js → warning-stack-BhHUmRiD.js} +2 -2
- package/dist/_chunks/{workflow-map-CYbRD9ek.js → workflow-map-ln4_OG8A.js} +2 -2
- package/dist/agent-catalog.json +172 -4
- package/dist/agent-i18n/en.json +25 -1
- package/dist/components/_shared/format-number.d.ts +20 -0
- package/dist/components/_shared/length-token.d.ts +12 -0
- package/dist/components/_shared/option.d.ts +1 -0
- 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-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +26 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-summary-card/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/audio-recorder/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +2 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chat-message/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/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +20 -1
- package/dist/components/dashboard-grid/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/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/editable-description/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/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +4 -2
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +51 -0
- 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.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notice-group/index.d.ts +3 -0
- package/dist/components/notice-group/index.js +6 -0
- package/dist/components/notice-group/notice-group.agent.d.ts +4 -0
- package/dist/components/notice-group/notice-group.d.ts +43 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +8 -8
- package/dist/components/panel-header/index.js +1 -1
- package/dist/components/panel-header/panel-header.d.ts +10 -0
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-risk-chart/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 +4 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +10 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress-notice/index.d.ts +3 -0
- package/dist/components/progress-notice/index.js +6 -0
- package/dist/components/progress-notice/progress-notice.agent.d.ts +4 -0
- package/dist/components/progress-notice/progress-notice.d.ts +81 -0
- package/dist/components/province-select/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 +2 -2
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +41 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +81 -76
- package/dist/hooks/use-dismissed.d.ts +58 -0
- package/dist/i18n/locales/ar.d.ts +22 -0
- package/dist/i18n/locales/ar.js +22 -0
- package/dist/i18n/locales/de.d.ts +22 -0
- package/dist/i18n/locales/de.js +22 -0
- package/dist/i18n/locales/el.d.ts +22 -0
- package/dist/i18n/locales/el.js +22 -0
- package/dist/i18n/locales/en.d.ts +22 -0
- package/dist/i18n/locales/en.js +22 -0
- package/dist/i18n/locales/es.d.ts +22 -0
- package/dist/i18n/locales/es.js +22 -0
- package/dist/i18n/locales/fr.d.ts +22 -0
- package/dist/i18n/locales/fr.js +22 -0
- package/dist/i18n/locales/hi.d.ts +22 -0
- package/dist/i18n/locales/hi.js +22 -0
- package/dist/i18n/locales/it.d.ts +22 -0
- package/dist/i18n/locales/it.js +22 -0
- package/dist/i18n/locales/ja.d.ts +22 -0
- package/dist/i18n/locales/ja.js +22 -0
- package/dist/i18n/locales/nl.d.ts +22 -0
- package/dist/i18n/locales/nl.js +22 -0
- package/dist/i18n/locales/pl.d.ts +22 -0
- package/dist/i18n/locales/pl.js +22 -0
- package/dist/i18n/locales/pt.d.ts +22 -0
- package/dist/i18n/locales/pt.js +22 -0
- package/dist/i18n/locales/ro.d.ts +22 -0
- package/dist/i18n/locales/ro.js +22 -0
- package/dist/i18n/locales/ru.d.ts +22 -0
- package/dist/i18n/locales/ru.js +22 -0
- package/dist/i18n/locales/sq.d.ts +22 -0
- package/dist/i18n/locales/sq.js +22 -0
- package/dist/i18n/locales/sv.d.ts +22 -0
- package/dist/i18n/locales/sv.js +22 -0
- package/dist/i18n/locales/tr.d.ts +22 -0
- package/dist/i18n/locales/tr.js +22 -0
- package/dist/i18n/locales/zh.d.ts +22 -0
- package/dist/i18n/locales/zh.js +22 -0
- package/dist/index.js +1194 -1183
- package/dist/locales/ar.json +22 -0
- package/dist/locales/de.json +22 -0
- package/dist/locales/el.json +22 -0
- package/dist/locales/en.json +22 -0
- package/dist/locales/es.json +22 -0
- package/dist/locales/fr.json +22 -0
- package/dist/locales/hi.json +22 -0
- package/dist/locales/it.json +22 -0
- package/dist/locales/ja.json +22 -0
- package/dist/locales/nl.json +22 -0
- package/dist/locales/pl.json +22 -0
- package/dist/locales/pt.json +22 -0
- package/dist/locales/ro.json +22 -0
- package/dist/locales/ru.json +22 -0
- package/dist/locales/sq.json +22 -0
- package/dist/locales/sv.json +22 -0
- package/dist/locales/tr.json +22 -0
- package/dist/locales/zh.json +22 -0
- 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/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/signature-request/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +9 -1
- package/dist/_chunks/avatar-WZY3eGE7.js +0 -123
- package/dist/_chunks/dashboard-grid-B2MB7SRS.js +0 -1428
- package/dist/_chunks/panel-header-BJkaUwnl.js +0 -128
- package/dist/_chunks/practice-profile-hero-Dfc0F60y.js +0 -193
- package/dist/_chunks/skeleton-B1KTdJ4N.js +0 -116
|
@@ -8,7 +8,7 @@ import { R as j } from "./radio-group-ChIKyeSJ.js";
|
|
|
8
8
|
import { F as f } from "./form-field-Ani72sVY.js";
|
|
9
9
|
import { D as V } from "./date-picker-KcoNNsM0.js";
|
|
10
10
|
import { N as H } from "./number-input-CVwI1ltI.js";
|
|
11
|
-
import { S as Ce } from "./select-
|
|
11
|
+
import { S as Ce } from "./select-4S-eYZUf.js";
|
|
12
12
|
import { S as je } from "./switch-D--x7n6h.js";
|
|
13
13
|
import { C as ie } from "./card-BA4Ig_kn.js";
|
|
14
14
|
import { B as $ } from "./badge-BUk4RjTS.js";
|
|
@@ -767,4 +767,4 @@ Ue.displayName = "PregnancyDating";
|
|
|
767
767
|
export {
|
|
768
768
|
Ue as P
|
|
769
769
|
};
|
|
770
|
-
//# sourceMappingURL=pregnancy-dating-
|
|
770
|
+
//# sourceMappingURL=pregnancy-dating-EFcFUJkQ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as t } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as n } from "react-i18next";
|
|
3
3
|
import { E as c } from "./empty-state-pL1qum99.js";
|
|
4
|
-
import { P as o } from "./panel-header-
|
|
4
|
+
import { P as o } from "./panel-header-CbtlTe85.js";
|
|
5
5
|
import { S as l } from "./section-card-D5nWiTcK.js";
|
|
6
6
|
import { V as p } from "./visually-hidden-BHxEUGyT.js";
|
|
7
7
|
import { E as s } from "./eye-off-C_4xkbRP.js";
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
b as c,
|
|
79
79
|
m as p
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=privacy-mask-
|
|
81
|
+
//# sourceMappingURL=privacy-mask-CCz9zuIh.js.map
|
|
@@ -12,7 +12,7 @@ import { u as te, f as de } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
|
12
12
|
import { u as ne } from "./use-controllable-state-BiY4xTzM.js";
|
|
13
13
|
import { I as Q } from "./icon-button-C_1TgRiK.js";
|
|
14
14
|
import { S as oe } from "./scroll-area-CY5SLYNw.js";
|
|
15
|
-
import { S as R } from "./skeleton-
|
|
15
|
+
import { S as R } from "./skeleton-tTWJpvAq.js";
|
|
16
16
|
import { T as ie } from "./timestamp-DPLDWdxA.js";
|
|
17
17
|
import { s as ce } from "./safe-image-src-DstKgCo7.js";
|
|
18
18
|
import { c as le } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -682,4 +682,4 @@ export {
|
|
|
682
682
|
me as b,
|
|
683
683
|
Ne as p
|
|
684
684
|
};
|
|
685
|
-
//# sourceMappingURL=product-hub-panel-
|
|
685
|
+
//# sourceMappingURL=product-hub-panel-YuFbNPlT.js.map
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as ae, useMemo as V, useState as re, useRef as c, useEffect as oe } from "react";
|
|
3
|
+
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ne } from "react-i18next";
|
|
5
|
+
import { u as F } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
+
import { c as L, u as de } from "./use-dismissed-CTOWqA0e.js";
|
|
7
|
+
import { u as le } from "./registry-DvAUVLHh.js";
|
|
8
|
+
import { A as z } from "./alert-9kEwDza3.js";
|
|
9
|
+
import { C as ce, b as pe, a as ue } from "./collapsible-DVPM46bq.js";
|
|
10
|
+
import { L as me } from "./live-region-C41SO3cA.js";
|
|
11
|
+
import { P as ge } from "./progress-D_g_Sl2g.js";
|
|
12
|
+
import { C as fe } from "./chevron-down-DWE7GSq9.js";
|
|
13
|
+
import { C as he } from "./circle-check-BN6rz4NV.js";
|
|
14
|
+
import { C as ye } from "./circle-dashed-CUj6o2cA.js";
|
|
15
|
+
const ve = {
|
|
16
|
+
id: "progress-notice",
|
|
17
|
+
capabilities: ["expand", "dismiss"],
|
|
18
|
+
state: {
|
|
19
|
+
value: {
|
|
20
|
+
type: "number",
|
|
21
|
+
descriptionKey: "ui.agent.progressNotice.state.value",
|
|
22
|
+
description: "Progress so far, in the units of max.",
|
|
23
|
+
read: (s) => s.getState().value
|
|
24
|
+
},
|
|
25
|
+
max: {
|
|
26
|
+
type: "number",
|
|
27
|
+
descriptionKey: "ui.agent.progressNotice.state.max",
|
|
28
|
+
description: "The value at which the import is done.",
|
|
29
|
+
read: (s) => s.getState().max
|
|
30
|
+
},
|
|
31
|
+
complete: {
|
|
32
|
+
type: "boolean",
|
|
33
|
+
descriptionKey: "ui.agent.progressNotice.state.complete",
|
|
34
|
+
description: "True once every item is ready or the value has reached max.",
|
|
35
|
+
read: (s) => s.getState().complete
|
|
36
|
+
},
|
|
37
|
+
readyCount: {
|
|
38
|
+
type: "number",
|
|
39
|
+
descriptionKey: "ui.agent.progressNotice.state.readyCount",
|
|
40
|
+
description: "How many items in the details list are ready.",
|
|
41
|
+
read: (s) => s.getState().readyCount
|
|
42
|
+
},
|
|
43
|
+
itemCount: {
|
|
44
|
+
type: "number",
|
|
45
|
+
descriptionKey: "ui.agent.progressNotice.state.itemCount",
|
|
46
|
+
description: "How many items the details list has (0: no list).",
|
|
47
|
+
read: (s) => s.getState().itemCount
|
|
48
|
+
},
|
|
49
|
+
detailsOpen: {
|
|
50
|
+
type: "boolean",
|
|
51
|
+
descriptionKey: "ui.agent.progressNotice.state.detailsOpen",
|
|
52
|
+
description: "Whether the details list is open.",
|
|
53
|
+
read: (s) => s.getState().detailsOpen
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
actions: {
|
|
57
|
+
set_details_open: {
|
|
58
|
+
// Shows or hides rows already on the page; changes no data.
|
|
59
|
+
safety: "read",
|
|
60
|
+
argsType: "open",
|
|
61
|
+
argsSchema: {
|
|
62
|
+
type: "object",
|
|
63
|
+
properties: {
|
|
64
|
+
open: {
|
|
65
|
+
type: "boolean",
|
|
66
|
+
description: "True to open the details list, false to close it."
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
required: ["open"]
|
|
70
|
+
},
|
|
71
|
+
returns: "boolean (applied)",
|
|
72
|
+
returnsSchema: {
|
|
73
|
+
type: "boolean",
|
|
74
|
+
description: "True when applied; false when the notice has no list."
|
|
75
|
+
},
|
|
76
|
+
idempotent: !0,
|
|
77
|
+
errors: ["No details list (itemCount is 0): returns false."],
|
|
78
|
+
descriptionKey: "ui.agent.progressNotice.actions.setDetailsOpen",
|
|
79
|
+
description: "Open or close the details list of the import.",
|
|
80
|
+
invoke: (s, p) => s.setDetailsOpen(p.open)
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
domHooks: {
|
|
84
|
+
root: {
|
|
85
|
+
attr: "data-component",
|
|
86
|
+
value: "progress-notice",
|
|
87
|
+
description: 'Marks the ProgressNotice. Also carries data-complete="true" once the import is complete. The notice inside is a kit Alert; its close control is [data-alert-dismiss].'
|
|
88
|
+
},
|
|
89
|
+
instanceId: {
|
|
90
|
+
attr: "data-component-id",
|
|
91
|
+
sourceProp: "id",
|
|
92
|
+
description: "Sourced from the id prop."
|
|
93
|
+
},
|
|
94
|
+
item: {
|
|
95
|
+
attr: "data-item-id",
|
|
96
|
+
sourceProp: "items[].id",
|
|
97
|
+
description: 'Each row of the details list, from ProgressNoticeItem.id. A ready row also carries data-ready="true".'
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, be = C("ds:block"), Ne = C(
|
|
101
|
+
[
|
|
102
|
+
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:self-start",
|
|
103
|
+
"ds:min-h-[var(--min-target-size)] ds:rounded-[var(--radius-sm)]",
|
|
104
|
+
"type-body-sm ds:font-semibold ds:text-current",
|
|
105
|
+
"ds:underline ds:underline-offset-2 ds:hover:no-underline",
|
|
106
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
107
|
+
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
108
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
109
|
+
"ds:[&_svg]:size-4 ds:[&_svg]:shrink-0",
|
|
110
|
+
"ds:[&_svg]:transition-transform ds:[&_svg]:duration-[var(--animation-duration)] ds:motion-reduce:[&_svg]:transition-none",
|
|
111
|
+
"ds:data-[state=open]:[&_svg]:rotate-180"
|
|
112
|
+
].join(" ")
|
|
113
|
+
), xe = C(
|
|
114
|
+
"ds:flex ds:items-start ds:gap-[var(--spacing-sm)] ds:[&_svg]:mt-0.5 ds:[&_svg]:size-4 ds:[&_svg]:shrink-0"
|
|
115
|
+
), Ce = ae(
|
|
116
|
+
({
|
|
117
|
+
title: s,
|
|
118
|
+
headingLevel: p,
|
|
119
|
+
value: w,
|
|
120
|
+
max: f = 100,
|
|
121
|
+
summary: h,
|
|
122
|
+
items: O,
|
|
123
|
+
detailsOpen: H,
|
|
124
|
+
defaultDetailsOpen: I = !1,
|
|
125
|
+
onDetailsOpenChange: $,
|
|
126
|
+
open: E,
|
|
127
|
+
onOpenChange: R,
|
|
128
|
+
dismissKey: S,
|
|
129
|
+
dismissLifetimeMs: q,
|
|
130
|
+
dismissible: B = L(S) !== void 0,
|
|
131
|
+
onComplete: T,
|
|
132
|
+
completeAnnouncement: W,
|
|
133
|
+
id: D,
|
|
134
|
+
className: G,
|
|
135
|
+
...J
|
|
136
|
+
}, Q) => {
|
|
137
|
+
const { t: a, i18n: U } = ne("ui"), y = L(S), [X, Y] = F({
|
|
138
|
+
value: E,
|
|
139
|
+
defaultValue: !0,
|
|
140
|
+
onChange: R
|
|
141
|
+
}), _ = X ?? !0, { dismissed: Z } = de(y), [ee, v] = F({
|
|
142
|
+
value: H,
|
|
143
|
+
defaultValue: I,
|
|
144
|
+
onChange: $
|
|
145
|
+
}), u = ee ?? !1, d = Number.isFinite(f) && f > 0 ? f : 100, l = Number.isFinite(w) ? w : 0, i = V(() => O ?? [], [O]), b = i.filter((e) => e.ready).length, n = l >= d || i.length > 0 && b === i.length, [se, N] = re(""), k = c(null), m = c(!1), g = c(T);
|
|
146
|
+
g.current = T;
|
|
147
|
+
const K = W ?? a("progressNotice.complete"), te = i.map((e) => `${e.id}:${e.ready ? 1 : 0}`).join("|");
|
|
148
|
+
oe(() => {
|
|
149
|
+
var M;
|
|
150
|
+
const e = k.current;
|
|
151
|
+
if (k.current = new Map(
|
|
152
|
+
i.map((r) => [r.id, r.ready])
|
|
153
|
+
), n) {
|
|
154
|
+
if (m.current) return;
|
|
155
|
+
m.current = !0, (M = g.current) == null || M.call(g), e !== null && N(K);
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
if (m.current && (m.current = !1, N("")), e === null) return;
|
|
159
|
+
const A = i.filter(
|
|
160
|
+
(r) => r.ready && e.get(r.id) === !1
|
|
161
|
+
);
|
|
162
|
+
A.length > 0 && N(
|
|
163
|
+
A.map((r) => a("progressNotice.itemReady", { name: r.name })).join(" ")
|
|
164
|
+
);
|
|
165
|
+
}, [te, n, K, a]);
|
|
166
|
+
const P = c({
|
|
167
|
+
value: l,
|
|
168
|
+
max: d,
|
|
169
|
+
complete: n,
|
|
170
|
+
readyCount: b,
|
|
171
|
+
itemCount: i.length,
|
|
172
|
+
detailsOpen: u
|
|
173
|
+
});
|
|
174
|
+
P.current = {
|
|
175
|
+
value: l,
|
|
176
|
+
max: d,
|
|
177
|
+
complete: n,
|
|
178
|
+
readyCount: b,
|
|
179
|
+
itemCount: i.length,
|
|
180
|
+
detailsOpen: u
|
|
181
|
+
};
|
|
182
|
+
const x = i.length > 0, j = c(x);
|
|
183
|
+
j.current = x;
|
|
184
|
+
const ie = V(
|
|
185
|
+
() => ({
|
|
186
|
+
getState: () => ({ ...P.current }),
|
|
187
|
+
setDetailsOpen: (e) => j.current ? (v(e), !0) : !1
|
|
188
|
+
}),
|
|
189
|
+
[v]
|
|
190
|
+
);
|
|
191
|
+
return le(ve, ie, D), !_ || Z ? null : /* @__PURE__ */ t(
|
|
192
|
+
"div",
|
|
193
|
+
{
|
|
194
|
+
ref: Q,
|
|
195
|
+
"data-component": "progress-notice",
|
|
196
|
+
"data-component-id": D,
|
|
197
|
+
"data-complete": n || void 0,
|
|
198
|
+
className: [be(), G].filter(Boolean).join(" "),
|
|
199
|
+
...J,
|
|
200
|
+
children: /* @__PURE__ */ o(
|
|
201
|
+
z,
|
|
202
|
+
{
|
|
203
|
+
variant: n ? "success" : "info",
|
|
204
|
+
announce: "off",
|
|
205
|
+
open: _,
|
|
206
|
+
onOpenChange: y === void 0 ? Y : R,
|
|
207
|
+
dismissible: B,
|
|
208
|
+
dismissKey: y,
|
|
209
|
+
dismissLifetimeMs: q,
|
|
210
|
+
children: [
|
|
211
|
+
/* @__PURE__ */ t(
|
|
212
|
+
z.Title,
|
|
213
|
+
{
|
|
214
|
+
as: p ? `h${p}` : void 0,
|
|
215
|
+
children: s
|
|
216
|
+
}
|
|
217
|
+
),
|
|
218
|
+
/* @__PURE__ */ o("div", { className: "ds:mt-[var(--spacing-sm)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
219
|
+
/* @__PURE__ */ t(
|
|
220
|
+
ge,
|
|
221
|
+
{
|
|
222
|
+
value: l,
|
|
223
|
+
max: d,
|
|
224
|
+
ariaLabel: s,
|
|
225
|
+
ariaValueText: h,
|
|
226
|
+
children: /* @__PURE__ */ o("div", { className: "ds:flex ds:items-baseline ds:justify-between ds:gap-[var(--spacing-sm)] type-body-sm", children: [
|
|
227
|
+
h ? /* @__PURE__ */ t("span", { className: "ds:min-w-0", children: h }) : null,
|
|
228
|
+
/* @__PURE__ */ t("span", { className: "ds:ms-auto ds:shrink-0 ds:tabular-nums", children: new Intl.NumberFormat(U.language, {
|
|
229
|
+
style: "percent",
|
|
230
|
+
maximumFractionDigits: 0
|
|
231
|
+
}).format(Math.min(1, Math.max(0, l / d))) })
|
|
232
|
+
] })
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
x ? /* @__PURE__ */ o(ce, { open: u, onOpenChange: v, children: [
|
|
236
|
+
/* @__PURE__ */ o(pe, { className: Ne(), children: [
|
|
237
|
+
a(u ? "progressNotice.hideDetails" : "progressNotice.showDetails"),
|
|
238
|
+
/* @__PURE__ */ t(fe, { "aria-hidden": "true" })
|
|
239
|
+
] }),
|
|
240
|
+
/* @__PURE__ */ t(ue, { children: /* @__PURE__ */ t(
|
|
241
|
+
"ul",
|
|
242
|
+
{
|
|
243
|
+
role: "list",
|
|
244
|
+
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-0 ds:pb-[var(--spacing-xs)]",
|
|
245
|
+
children: i.map((e) => /* @__PURE__ */ o(
|
|
246
|
+
"li",
|
|
247
|
+
{
|
|
248
|
+
"data-item-id": e.id,
|
|
249
|
+
"data-ready": e.ready || void 0,
|
|
250
|
+
className: xe(),
|
|
251
|
+
children: [
|
|
252
|
+
e.ready ? /* @__PURE__ */ t(he, { "aria-hidden": "true" }) : /* @__PURE__ */ t(ye, { "aria-hidden": "true" }),
|
|
253
|
+
/* @__PURE__ */ o("div", { className: "ds:flex ds:min-w-0 ds:flex-col", children: [
|
|
254
|
+
/* @__PURE__ */ t("span", { className: "ds:font-medium type-body-sm", children: e.name }),
|
|
255
|
+
/* @__PURE__ */ t("span", { className: "ds:sr-only", children: e.ready ? a("progressNotice.ready") : a("progressNotice.notReady") }),
|
|
256
|
+
e.status ? /* @__PURE__ */ t("span", { className: "type-body-sm", children: e.status }) : null
|
|
257
|
+
] })
|
|
258
|
+
]
|
|
259
|
+
},
|
|
260
|
+
e.id
|
|
261
|
+
))
|
|
262
|
+
}
|
|
263
|
+
) })
|
|
264
|
+
] }) : null
|
|
265
|
+
] }),
|
|
266
|
+
/* @__PURE__ */ t(me, { politeness: "polite", children: se })
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
)
|
|
270
|
+
}
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
);
|
|
274
|
+
Ce.displayName = "ProgressNotice";
|
|
275
|
+
export {
|
|
276
|
+
Ce as P,
|
|
277
|
+
ve as p
|
|
278
|
+
};
|
|
279
|
+
//# sourceMappingURL=progress-notice-DiHWZ8Ms.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as P } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y, useMemo as g, useCallback as R, useRef as D, useEffect as _ } from "react";
|
|
3
3
|
import { useTranslation as k } from "react-i18next";
|
|
4
|
-
import { C as x } from "./combobox-
|
|
4
|
+
import { C as x } from "./combobox-vF9O-QoG.js";
|
|
5
5
|
import { n as t } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
6
6
|
import { u as K } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as j } from "./registry-DvAUVLHh.js";
|
|
@@ -271,4 +271,4 @@ export {
|
|
|
271
271
|
Z as P,
|
|
272
272
|
H as p
|
|
273
273
|
};
|
|
274
|
-
//# sourceMappingURL=province-select-
|
|
274
|
+
//# sourceMappingURL=province-select-CDjs5obD.js.map
|
package/dist/_chunks/{radiograph-panel.agent-8Ewv8-d7.js → radiograph-panel.agent-4UllIoTQ.js}
RENAMED
|
@@ -11,7 +11,7 @@ import { F as de } from "./file-upload-CxjCs7TX.js";
|
|
|
11
11
|
import { D as te } from "./date-picker-KcoNNsM0.js";
|
|
12
12
|
import { D as le } from "./date-range-picker-CjcjUJLW.js";
|
|
13
13
|
import { E } from "./empty-state-pL1qum99.js";
|
|
14
|
-
import { P as ne } from "./panel-header-
|
|
14
|
+
import { P as ne } from "./panel-header-CbtlTe85.js";
|
|
15
15
|
import { c as $ } from "./createLucideIcon-DhHxpK9K.js";
|
|
16
16
|
import { U as se } from "./upload-BfT2hzMg.js";
|
|
17
17
|
import { E as ce } from "./eye-BjhN2nYf.js";
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
qe as R,
|
|
534
534
|
Ae as r
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=radiograph-panel.agent-
|
|
536
|
+
//# sourceMappingURL=radiograph-panel.agent-4UllIoTQ.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsxs as x, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as k, useMemo as o } from "react";
|
|
3
3
|
import { c as u } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import {
|
|
6
|
-
|
|
4
|
+
import { useTranslation as v } from "react-i18next";
|
|
5
|
+
import { f as M, a as S } from "./format-number-DdzqwMs1.js";
|
|
6
|
+
import { S as z } from "./star-Bf9L2Uot.js";
|
|
7
|
+
const $ = u(
|
|
7
8
|
[
|
|
8
9
|
"ds:inline-flex ds:items-center ds:align-middle",
|
|
9
10
|
"ds:gap-[var(--spacing-xs)]"
|
|
@@ -18,12 +19,12 @@ const R = u(
|
|
|
18
19
|
},
|
|
19
20
|
defaultVariants: { size: "md" }
|
|
20
21
|
}
|
|
21
|
-
),
|
|
22
|
+
), T = u(
|
|
22
23
|
[
|
|
23
24
|
"ds:inline-flex ds:items-center ds:leading-none",
|
|
24
25
|
"ds:gap-[var(--spacing-xs)]"
|
|
25
26
|
].join(" ")
|
|
26
|
-
),
|
|
27
|
+
), W = u(
|
|
27
28
|
"ds:relative ds:inline-block ds:shrink-0 ds:leading-none",
|
|
28
29
|
{
|
|
29
30
|
variants: {
|
|
@@ -35,7 +36,7 @@ const R = u(
|
|
|
35
36
|
},
|
|
36
37
|
defaultVariants: { size: "md" }
|
|
37
38
|
}
|
|
38
|
-
),
|
|
39
|
+
), q = u(
|
|
39
40
|
[
|
|
40
41
|
"ds:pointer-events-none ds:absolute ds:start-0 ds:[inset-block:0]",
|
|
41
42
|
"ds:overflow-hidden ds:text-warning"
|
|
@@ -50,7 +51,7 @@ const R = u(
|
|
|
50
51
|
},
|
|
51
52
|
defaultVariants: { fill: "none" }
|
|
52
53
|
}
|
|
53
|
-
),
|
|
54
|
+
), H = u("ds:text-muted-foreground ds:leading-none", {
|
|
54
55
|
variants: {
|
|
55
56
|
size: {
|
|
56
57
|
sm: "type-meta",
|
|
@@ -64,80 +65,78 @@ const R = u(
|
|
|
64
65
|
},
|
|
65
66
|
defaultVariants: { size: "md", underlined: !1 }
|
|
66
67
|
});
|
|
67
|
-
function
|
|
68
|
-
const r = Math.max(0, Math.min(t, s)),
|
|
69
|
-
let
|
|
68
|
+
function O(t, s) {
|
|
69
|
+
const r = Math.max(0, Math.min(t, s)), a = Math.round(r * 2) / 2, e = [];
|
|
70
|
+
let n = a;
|
|
70
71
|
for (let m = 0; m < s; m += 1)
|
|
71
|
-
|
|
72
|
+
n >= 1 ? (e.push("full"), n -= 1) : n >= 0.5 ? (e.push("half"), n -= 0.5) : e.push("none");
|
|
72
73
|
return e;
|
|
73
74
|
}
|
|
74
|
-
const
|
|
75
|
+
const A = k(
|
|
75
76
|
({
|
|
76
77
|
value: t,
|
|
77
78
|
max: s = 5,
|
|
78
79
|
size: r = "md",
|
|
79
|
-
reviews:
|
|
80
|
+
reviews: a,
|
|
80
81
|
underlined: e = !1,
|
|
81
|
-
decorative:
|
|
82
|
+
decorative: n = !1,
|
|
82
83
|
className: m,
|
|
83
84
|
"aria-label": c,
|
|
84
|
-
...
|
|
85
|
+
...b
|
|
85
86
|
}, y) => {
|
|
86
|
-
const { t: d, i18n: f } =
|
|
87
|
-
() =>
|
|
88
|
-
maximumFractionDigits: 1
|
|
89
|
-
}).format(t),
|
|
87
|
+
const { t: d, i18n: f } = v("ui"), i = o(
|
|
88
|
+
() => M(t, f.language),
|
|
90
89
|
[t, f.language]
|
|
91
90
|
), g = o(
|
|
92
|
-
() =>
|
|
91
|
+
() => S(s, f.language),
|
|
93
92
|
[s, f.language]
|
|
94
|
-
),
|
|
95
|
-
if (!
|
|
96
|
-
return c || (
|
|
97
|
-
count:
|
|
93
|
+
), V = o(() => {
|
|
94
|
+
if (!n)
|
|
95
|
+
return c || (a ? d("rating.reviews", {
|
|
96
|
+
count: a.count,
|
|
98
97
|
value: i
|
|
99
98
|
}) : d("rating.label", {
|
|
100
99
|
value: i,
|
|
101
100
|
max: g
|
|
102
101
|
}));
|
|
103
|
-
}, [
|
|
104
|
-
if (
|
|
105
|
-
return
|
|
106
|
-
count:
|
|
102
|
+
}, [n, c, a, d, i, g]), N = o(() => O(t, s), [t, s]), p = o(() => {
|
|
103
|
+
if (a)
|
|
104
|
+
return a.label ? `${i} · ${a.count} ${a.label}` : d("rating.reviews", {
|
|
105
|
+
count: a.count,
|
|
107
106
|
value: i
|
|
108
107
|
});
|
|
109
|
-
}, [
|
|
108
|
+
}, [a, i, d]), R = n ? { "aria-hidden": !0 } : { role: "img", "aria-label": V };
|
|
110
109
|
return /* @__PURE__ */ x(
|
|
111
110
|
"span",
|
|
112
111
|
{
|
|
113
112
|
ref: y,
|
|
114
113
|
"data-component": "rating",
|
|
115
|
-
className:
|
|
116
|
-
...
|
|
117
|
-
...
|
|
114
|
+
className: $({ size: r, className: m }),
|
|
115
|
+
...R,
|
|
116
|
+
...b,
|
|
118
117
|
children: [
|
|
119
118
|
/* @__PURE__ */ l(
|
|
120
119
|
"span",
|
|
121
120
|
{
|
|
122
121
|
"aria-hidden": "true",
|
|
123
|
-
className:
|
|
122
|
+
className: T(),
|
|
124
123
|
"data-testid": "rating-stars",
|
|
125
|
-
children:
|
|
124
|
+
children: N.map((h, j) => /* @__PURE__ */ x(
|
|
126
125
|
"span",
|
|
127
126
|
{
|
|
128
|
-
className:
|
|
127
|
+
className: W({ size: r }),
|
|
129
128
|
"data-fill": h,
|
|
130
129
|
children: [
|
|
131
130
|
/* @__PURE__ */ l(
|
|
132
|
-
|
|
131
|
+
z,
|
|
133
132
|
{
|
|
134
133
|
"aria-hidden": "true",
|
|
135
134
|
className: "ds:size-full ds:text-muted-foreground/30",
|
|
136
135
|
strokeWidth: 1.5
|
|
137
136
|
}
|
|
138
137
|
),
|
|
139
|
-
/* @__PURE__ */ l("span", { className:
|
|
140
|
-
|
|
138
|
+
/* @__PURE__ */ l("span", { className: q({ fill: h }), children: /* @__PURE__ */ l(
|
|
139
|
+
z,
|
|
141
140
|
{
|
|
142
141
|
"aria-hidden": "true",
|
|
143
142
|
className: "ds:size-full ds:text-warning ds:fill-current",
|
|
@@ -146,7 +145,7 @@ const W = v(
|
|
|
146
145
|
) })
|
|
147
146
|
]
|
|
148
147
|
},
|
|
149
|
-
|
|
148
|
+
j
|
|
150
149
|
))
|
|
151
150
|
}
|
|
152
151
|
),
|
|
@@ -154,7 +153,7 @@ const W = v(
|
|
|
154
153
|
"span",
|
|
155
154
|
{
|
|
156
155
|
"aria-hidden": "true",
|
|
157
|
-
className:
|
|
156
|
+
className: H({ size: r, underlined: e }),
|
|
158
157
|
"data-testid": "rating-summary",
|
|
159
158
|
children: p
|
|
160
159
|
}
|
|
@@ -164,8 +163,8 @@ const W = v(
|
|
|
164
163
|
);
|
|
165
164
|
}
|
|
166
165
|
);
|
|
167
|
-
|
|
166
|
+
A.displayName = "Rating";
|
|
168
167
|
export {
|
|
169
|
-
|
|
168
|
+
A as R
|
|
170
169
|
};
|
|
171
|
-
//# sourceMappingURL=rating-
|
|
170
|
+
//# sourceMappingURL=rating-CGYpg5dj.js.map
|
|
@@ -4,18 +4,18 @@ import { useTranslation as Qr, Trans as Lr } from "react-i18next";
|
|
|
4
4
|
import { c as q } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { parsePhoneNumberFromString as qe } from "libphonenumber-js/min";
|
|
6
6
|
import { i as Se, E as Or } from "./email-input-C7THAwh2.js";
|
|
7
|
-
import { A as Tr } from "./alert-
|
|
7
|
+
import { A as Tr } from "./alert-9kEwDza3.js";
|
|
8
8
|
import { B as Pe } from "./button-D-MQxsA_.js";
|
|
9
9
|
import { C as _r } from "./card-BA4Ig_kn.js";
|
|
10
10
|
import { C as ke } from "./checkbox-BjDv-r3o.js";
|
|
11
11
|
import { D as ye } from "./dev-bypass-button--CPzzRSj.js";
|
|
12
|
-
import { E as Be } from "./error-summary-
|
|
12
|
+
import { E as Be } from "./error-summary-mGxIyDAY.js";
|
|
13
13
|
import { F as I } from "./form-field-Ani72sVY.js";
|
|
14
14
|
import { P as $r } from "./password-input-BokZ_rnT.js";
|
|
15
15
|
import { u as Me } from "./use-password-requirements-C8DdwPEy.js";
|
|
16
16
|
import { P as Ae } from "./phone-input-O9camxkq.js";
|
|
17
17
|
import { R as De } from "./recaptcha-widget-CsvwlYTE.js";
|
|
18
|
-
import { S as je } from "./select-
|
|
18
|
+
import { S as je } from "./select-4S-eYZUf.js";
|
|
19
19
|
import { S as zr } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
20
20
|
import { i as Le } from "./is-development-CLUAnsU7.js";
|
|
21
21
|
import { u as Hr } from "./use-state-backed-input-DhRQo6gM.js";
|
|
@@ -816,4 +816,4 @@ export {
|
|
|
816
816
|
Gr as R,
|
|
817
817
|
os as a
|
|
818
818
|
};
|
|
819
|
-
//# sourceMappingURL=registration-form-
|
|
819
|
+
//# sourceMappingURL=registration-form-1B0PTDal.js.map
|
|
@@ -3,14 +3,14 @@ import { forwardRef as J, useState as H, useCallback as L, useMemo as C, useRef
|
|
|
3
3
|
import { c as _ } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as E } from "react-i18next";
|
|
5
5
|
import { u as X } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { R as k } from "./rating-
|
|
6
|
+
import { R as k } from "./rating-CGYpg5dj.js";
|
|
7
7
|
import { C as A } from "./card-BA4Ig_kn.js";
|
|
8
8
|
import { C as Y, b as Z, a as ee } from "./collapsible-DVPM46bq.js";
|
|
9
9
|
import { D as l } from "./description-list-Q8640NHu.js";
|
|
10
10
|
import { E as te } from "./empty-state-pL1qum99.js";
|
|
11
|
-
import { S as T } from "./skeleton-
|
|
11
|
+
import { S as T } from "./skeleton-tTWJpvAq.js";
|
|
12
12
|
import { B as se } from "./button-D-MQxsA_.js";
|
|
13
|
-
import { P as re } from "./panel-header-
|
|
13
|
+
import { P as re } from "./panel-header-CbtlTe85.js";
|
|
14
14
|
import { S as ae } from "./star-Bf9L2Uot.js";
|
|
15
15
|
import { C as ne } from "./chevron-down-DWE7GSq9.js";
|
|
16
16
|
const ie = {
|
|
@@ -330,7 +330,14 @@ function ce({ review: e, locale: i }) {
|
|
|
330
330
|
] }) : null,
|
|
331
331
|
e.reply ? /* @__PURE__ */ n("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: [
|
|
332
332
|
/* @__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: a("reviewsPanel.replyTitle") }),
|
|
333
|
-
/* @__PURE__ */ t(
|
|
333
|
+
/* @__PURE__ */ t(
|
|
334
|
+
"p",
|
|
335
|
+
{
|
|
336
|
+
dir: "auto",
|
|
337
|
+
className: "type-body-sm ds:m-0 ds:text-[var(--foreground)] ds:[white-space:pre-line]",
|
|
338
|
+
children: e.reply
|
|
339
|
+
}
|
|
340
|
+
)
|
|
334
341
|
] }) : null
|
|
335
342
|
] }) }) : null
|
|
336
343
|
]
|
|
@@ -338,10 +345,24 @@ function ce({ review: e, locale: i }) {
|
|
|
338
345
|
);
|
|
339
346
|
return /* @__PURE__ */ n(A, { variant: "default", className: "ds:shadow-[var(--shadow-sm)]", children: [
|
|
340
347
|
/* @__PURE__ */ t(A.Header, { children: /* @__PURE__ */ n("div", { className: "ds:flex ds:items-start ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
341
|
-
/* @__PURE__ */ t(
|
|
348
|
+
/* @__PURE__ */ t(
|
|
349
|
+
"h4",
|
|
350
|
+
{
|
|
351
|
+
dir: e.pseudonym ? "auto" : void 0,
|
|
352
|
+
className: "type-title-item ds:m-0 ds:text-[var(--foreground)]",
|
|
353
|
+
children: p
|
|
354
|
+
}
|
|
355
|
+
),
|
|
342
356
|
/* @__PURE__ */ t(k, { value: e.overallScore, size: "sm" })
|
|
343
357
|
] }) }),
|
|
344
|
-
e.comment ? /* @__PURE__ */ t(A.Body, { children: /* @__PURE__ */ t(
|
|
358
|
+
e.comment ? /* @__PURE__ */ t(A.Body, { children: /* @__PURE__ */ t(
|
|
359
|
+
"p",
|
|
360
|
+
{
|
|
361
|
+
dir: "auto",
|
|
362
|
+
className: "type-body ds:m-0 ds:text-[var(--foreground)] ds:line-clamp-2",
|
|
363
|
+
children: e.comment
|
|
364
|
+
}
|
|
365
|
+
) }) : null,
|
|
345
366
|
P
|
|
346
367
|
] });
|
|
347
368
|
}
|
|
@@ -486,6 +507,7 @@ const z = _(
|
|
|
486
507
|
icon: /* @__PURE__ */ t(ae, { "aria-hidden": "true" }),
|
|
487
508
|
titleScale: "section",
|
|
488
509
|
sticky: !0,
|
|
510
|
+
wrapActions: !0,
|
|
489
511
|
actions: /* @__PURE__ */ n(K, { children: [
|
|
490
512
|
y,
|
|
491
513
|
/* @__PURE__ */ t(
|
|
@@ -556,4 +578,4 @@ export {
|
|
|
556
578
|
me as R,
|
|
557
579
|
ie as r
|
|
558
580
|
};
|
|
559
|
-
//# sourceMappingURL=reviews-panel-
|
|
581
|
+
//# sourceMappingURL=reviews-panel-CosDZyow.js.map
|
|
@@ -10,7 +10,7 @@ import { S as qn } from "./spinner-CoflYlEx.js";
|
|
|
10
10
|
import { A as na } from "./ai-sparkle-D23NT8Z_.js";
|
|
11
11
|
import { B as Te } from "./button-D-MQxsA_.js";
|
|
12
12
|
import { I as j } from "./icon-button-C_1TgRiK.js";
|
|
13
|
-
import { A as ra } from "./ai-permission-notice-
|
|
13
|
+
import { A as ra } from "./ai-permission-notice-C00i6VhY.js";
|
|
14
14
|
import { T as oa } from "./text-area-COMVJ1yE.js";
|
|
15
15
|
import { E as Sn } from "./editor-overlay-CpVO1-Kk.js";
|
|
16
16
|
import { X as Rr } from "./x-B5YnXwCz.js";
|
|
@@ -26,7 +26,7 @@ import { V as Vr } from "./variables-menu-DQl8H4Gh.js";
|
|
|
26
26
|
import { a as Pn } from "./tooltip-uEBdD1-5.js";
|
|
27
27
|
import { P as ne } from "./popover-4ZVtH_At.js";
|
|
28
28
|
import { D as ie } from "./dialog-D6fkpRc4.js";
|
|
29
|
-
import { C as Bn } from "./color-picker-
|
|
29
|
+
import { C as Bn } from "./color-picker-AcaWuKah.js";
|
|
30
30
|
import { S as Jt } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
31
31
|
import { C as da } from "./checkbox-BjDv-r3o.js";
|
|
32
32
|
import { F as ua } from "./file-upload-CxjCs7TX.js";
|
|
@@ -4135,4 +4135,4 @@ export {
|
|
|
4135
4135
|
_i as r,
|
|
4136
4136
|
Ns as w
|
|
4137
4137
|
};
|
|
4138
|
-
//# sourceMappingURL=rich-text-editor-
|
|
4138
|
+
//# sourceMappingURL=rich-text-editor-56dSsyZI.js.map
|