@alfadocs/ui-kit-debug 1.3.13 → 1.4.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/agenda-card.agent-Cb5tuEh3.js +28 -0
- package/dist/_chunks/agenda-card.agent-Cb5tuEh3.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-DzNz1gDf.js → alia-sidebar-DSBZMick.js} +3 -3
- package/dist/_chunks/{alia-sidebar-DzNz1gDf.js.map → alia-sidebar-DSBZMick.js.map} +1 -1
- package/dist/_chunks/{anamnesis-i18n-CfC0qYzy.js → anamnesis-i18n-BA631X4t.js} +2209 -2144
- package/dist/_chunks/anamnesis-i18n-BA631X4t.js.map +1 -0
- package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js → antenatal-schedule-timeline-u8TsS2QJ.js} +27 -26
- package/dist/_chunks/{antenatal-schedule-timeline-BMMpi2lb.js.map → antenatal-schedule-timeline-u8TsS2QJ.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-B630OT_J.js → appointment-timeline-Bqf1sTU5.js} +2 -2
- package/dist/_chunks/{appointment-timeline-B630OT_J.js.map → appointment-timeline-Bqf1sTU5.js.map} +1 -1
- package/dist/_chunks/{ar-THMLfSoN.js → ar-BR1FGFP2.js} +14 -14
- package/dist/_chunks/{ar-THMLfSoN.js.map → ar-BR1FGFP2.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-CM0-G2mg.js → bmi-calculator-CpyY13MV.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CM0-G2mg.js.map → bmi-calculator-CpyY13MV.js.map} +1 -1
- package/dist/_chunks/{booking-DjNbd7C1.js → booking-BjsA7j1-.js} +699 -688
- package/dist/_chunks/booking-BjsA7j1-.js.map +1 -0
- package/dist/_chunks/calculator-dialog-12d3Sxaz.js +48 -0
- package/dist/_chunks/{calculator-dialog-DuXMQSdm.js.map → calculator-dialog-12d3Sxaz.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-1G_f4I5s.js → care-plan-card-BvQy366X.js} +3 -3
- package/dist/_chunks/{care-plan-card-1G_f4I5s.js.map → care-plan-card-BvQy366X.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js → care-plan-entry-card-apk_5B3O.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DmBsffHS.js.map → care-plan-entry-card-apk_5B3O.js.map} +1 -1
- package/dist/_chunks/{chat-container-HlFnoEIl.js → chat-container-CYYego1W.js} +105 -81
- package/dist/_chunks/chat-container-CYYego1W.js.map +1 -0
- package/dist/_chunks/cycle-calculator-B7fyH-h4.js +425 -0
- package/dist/_chunks/cycle-calculator-B7fyH-h4.js.map +1 -0
- package/dist/_chunks/{date-picker-ZHejTVAJ.js → date-picker-Bp64zk2p.js} +19 -19
- package/dist/_chunks/{date-picker-ZHejTVAJ.js.map → date-picker-Bp64zk2p.js.map} +1 -1
- package/dist/_chunks/date-picker-variants-pKAJfnWr.js +2089 -0
- package/dist/_chunks/date-picker-variants-pKAJfnWr.js.map +1 -0
- package/dist/_chunks/{date-range-picker-pEG3Ln3i.js → date-range-picker-CDrZ8Zh0.js} +27 -27
- package/dist/_chunks/{date-range-picker-pEG3Ln3i.js.map → date-range-picker-CDrZ8Zh0.js.map} +1 -1
- package/dist/_chunks/{date-time-picker-695QvBGj.js → date-time-picker-DafkGDGO.js} +10 -10
- package/dist/_chunks/{date-time-picker-695QvBGj.js.map → date-time-picker-DafkGDGO.js.map} +1 -1
- package/dist/_chunks/{de-DmZ-8rTN.js → de-3iM4rGqo.js} +7 -7
- package/dist/_chunks/{de-DmZ-8rTN.js.map → de-3iM4rGqo.js.map} +1 -1
- package/dist/_chunks/{document-preview-D3gg4MXB.js → document-preview-DOrsqiN1.js} +2 -2
- package/dist/_chunks/{document-preview-D3gg4MXB.js.map → document-preview-DOrsqiN1.js.map} +1 -1
- package/dist/_chunks/due-date-calculator-CnkbbAej.js +571 -0
- package/dist/_chunks/due-date-calculator-CnkbbAej.js.map +1 -0
- package/dist/_chunks/{editor-overlay-DE3esyio.js → editor-overlay-B1tr2i7B.js} +22 -21
- package/dist/_chunks/editor-overlay-B1tr2i7B.js.map +1 -0
- package/dist/_chunks/{el-Bela9mxs.js → el-C96rGJvU.js} +2 -2
- package/dist/_chunks/{el-Bela9mxs.js.map → el-C96rGJvU.js.map} +1 -1
- package/dist/_chunks/{es-BNncHKex.js → es-Cxiqjx8r.js} +12 -12
- package/dist/_chunks/{es-BNncHKex.js.map → es-Cxiqjx8r.js.map} +1 -1
- package/dist/_chunks/fetal-weight-avlj-l-S.js +223 -0
- package/dist/_chunks/fetal-weight-avlj-l-S.js.map +1 -0
- package/dist/_chunks/format-4HNwNGrN.js +1315 -0
- package/dist/_chunks/format-4HNwNGrN.js.map +1 -0
- package/dist/_chunks/{fr-CH8ADfhN.js → fr-Bhr6SYKj.js} +21 -21
- package/dist/_chunks/{fr-CH8ADfhN.js.map → fr-Bhr6SYKj.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js → freemium-paywall-DRDdWuOg.js} +3 -3
- package/dist/_chunks/{freemium-paywall-C_Ue6wxU.js.map → freemium-paywall-DRDdWuOg.js.map} +1 -1
- package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js +488 -0
- package/dist/_chunks/gestational-age-calculator-BljY_DVJ.js.map +1 -0
- package/dist/_chunks/hcg-doubling-Cv_vH61p.js +312 -0
- package/dist/_chunks/hcg-doubling-Cv_vH61p.js.map +1 -0
- package/dist/_chunks/header-settings-Cn5fPXCE.js +335 -0
- package/dist/_chunks/header-settings-Cn5fPXCE.js.map +1 -0
- package/dist/_chunks/{hi-Bppfxp8l.js → hi-BxXX26d_.js} +12 -12
- package/dist/_chunks/{hi-Bppfxp8l.js.map → hi-BxXX26d_.js.map} +1 -1
- package/dist/_chunks/isSameWeek-B73MagWB.js +13 -0
- package/dist/_chunks/{isSameWeek-CK4HS9lH.js.map → isSameWeek-B73MagWB.js.map} +1 -1
- package/dist/_chunks/{it-B4ySaRyK.js → it-Xmjomvyj.js} +24 -24
- package/dist/_chunks/{it-B4ySaRyK.js.map → it-Xmjomvyj.js.map} +1 -1
- package/dist/_chunks/{ja-CGF6Io9P.js → ja-mfZvt1ZV.js} +16 -16
- package/dist/_chunks/{ja-CGF6Io9P.js.map → ja-mfZvt1ZV.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js → link-cell-renderer-CJ_gk7gl.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-C5XLwVXQ.js.map → link-cell-renderer-CJ_gk7gl.js.map} +1 -1
- package/dist/_chunks/{locale-picker-BfBUdT1m.js → locale-picker-D9Kv2zrK.js} +153 -132
- package/dist/_chunks/locale-picker-D9Kv2zrK.js.map +1 -0
- package/dist/_chunks/map-view-2yZCQW2l.js +445 -0
- package/dist/_chunks/map-view-2yZCQW2l.js.map +1 -0
- package/dist/_chunks/{marketplace-app-shell-DwcFMxzp.js → marketplace-app-shell-BLRvg-M0.js} +49 -40
- package/dist/_chunks/marketplace-app-shell-BLRvg-M0.js.map +1 -0
- package/dist/_chunks/{nl-DuShqwuV.js → nl-DDs-KEnD.js} +15 -15
- package/dist/_chunks/{nl-DuShqwuV.js.map → nl-DDs-KEnD.js.map} +1 -1
- package/dist/_chunks/{notes-panel-DPsgB4Mv.js → notes-panel-CiFN3sLW.js} +2 -2
- package/dist/_chunks/{notes-panel-DPsgB4Mv.js.map → notes-panel-CiFN3sLW.js.map} +1 -1
- package/dist/_chunks/{number-input-DrozbZAU.js → number-input-DOe5VYei.js} +64 -64
- package/dist/_chunks/number-input-DOe5VYei.js.map +1 -0
- package/dist/_chunks/{optical-prescription-BDHJr8Zz.js → optical-prescription-CRemE8fL.js} +2 -2
- package/dist/_chunks/{optical-prescription-BDHJr8Zz.js.map → optical-prescription-CRemE8fL.js.map} +1 -1
- package/dist/_chunks/{parse-DvA97ro9.js → parse-JqixfsU0.js} +43 -43
- package/dist/_chunks/{parse-DvA97ro9.js.map → parse-JqixfsU0.js.map} +1 -1
- package/dist/_chunks/parseISO-fOGpHKXm.js +120 -0
- package/dist/_chunks/parseISO-fOGpHKXm.js.map +1 -0
- package/dist/_chunks/{patient-details-DqjjwPmt.js → patient-details-CpunD0qx.js} +3 -3
- package/dist/_chunks/{patient-details-DqjjwPmt.js.map → patient-details-CpunD0qx.js.map} +1 -1
- package/dist/_chunks/{patient-table-BmIDrLIS.js → patient-table-2eWx-Rrk.js} +2 -2
- package/dist/_chunks/{patient-table-BmIDrLIS.js.map → patient-table-2eWx-Rrk.js.map} +1 -1
- package/dist/_chunks/{payment-form-h-BZ8onk.js → payment-form-Ds1I9KqB.js} +308 -231
- package/dist/_chunks/payment-form-Ds1I9KqB.js.map +1 -0
- package/dist/_chunks/{pdf-viewer-Ddx-T053.js → pdf-viewer-DUIsV9s5.js} +429 -369
- package/dist/_chunks/pdf-viewer-DUIsV9s5.js.map +1 -0
- package/dist/_chunks/{pl-CKQwX9Fk.js → pl-BYYMnEWP.js} +18 -18
- package/dist/_chunks/{pl-CKQwX9Fk.js.map → pl-BYYMnEWP.js.map} +1 -1
- package/dist/_chunks/{practice-results-B-HPc13W.js → practice-results-SjCniMd2.js} +2 -2
- package/dist/_chunks/{practice-results-B-HPc13W.js.map → practice-results-SjCniMd2.js.map} +1 -1
- package/dist/_chunks/pregnancy-dating-BmpHScZ0.js +770 -0
- package/dist/_chunks/pregnancy-dating-BmpHScZ0.js.map +1 -0
- package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js +553 -0
- package/dist/_chunks/pregnancy-weight-gain-B5KSJzdc.js.map +1 -0
- package/dist/_chunks/progress-CK8otcQ-.js +343 -0
- package/dist/_chunks/progress-CK8otcQ-.js.map +1 -0
- package/dist/_chunks/{pt-_njpXyOZ.js → pt-BSPnVrQ7.js} +20 -20
- package/dist/_chunks/{pt-_njpXyOZ.js.map → pt-BSPnVrQ7.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js → radiograph-panel.agent-CtFtNMzk.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-BQZ64Riy.js.map → radiograph-panel.agent-CtFtNMzk.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-CfeXPPWs.js → rich-text-editor-BedTpWzL.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CfeXPPWs.js.map → rich-text-editor-BedTpWzL.js.map} +1 -1
- package/dist/_chunks/{ro-3X6_4FcN.js → ro-BbiylGmG.js} +14 -14
- package/dist/_chunks/{ro-3X6_4FcN.js.map → ro-BbiylGmG.js.map} +1 -1
- package/dist/_chunks/{ru-bAcgmnS-.js → ru-BX_qsV67.js} +14 -14
- package/dist/_chunks/{ru-bAcgmnS-.js.map → ru-BX_qsV67.js.map} +1 -1
- package/dist/_chunks/{session-countdown-Bc70VXN1.js → session-countdown-BL-Psg8u.js} +2 -2
- package/dist/_chunks/{session-countdown-Bc70VXN1.js.map → session-countdown-BL-Psg8u.js.map} +1 -1
- package/dist/_chunks/{sign-document-CW_ByDUh.js → sign-document-jF4fZDJ5.js} +2 -2
- package/dist/_chunks/{sign-document-CW_ByDUh.js.map → sign-document-jF4fZDJ5.js.map} +1 -1
- package/dist/_chunks/slot-grid-DNiUcXy2.js +640 -0
- package/dist/_chunks/slot-grid-DNiUcXy2.js.map +1 -0
- package/dist/_chunks/{sparkline-BTY4B5tv.js → sparkline-BmGcEyZO.js} +209 -164
- package/dist/_chunks/sparkline-BmGcEyZO.js.map +1 -0
- package/dist/_chunks/{sq-jYFqr4Ga.js → sq-i9UOk4P7.js} +10 -10
- package/dist/_chunks/{sq-jYFqr4Ga.js.map → sq-i9UOk4P7.js.map} +1 -1
- package/dist/_chunks/subDays-CAUv47M1.js +8 -0
- package/dist/_chunks/{subDays-BcNi04uf.js.map → subDays-CAUv47M1.js.map} +1 -1
- package/dist/_chunks/{sv-BSGEJ-8B.js → sv-CpTdtmDQ.js} +8 -8
- package/dist/_chunks/{sv-BSGEJ-8B.js.map → sv-CpTdtmDQ.js.map} +1 -1
- package/dist/_chunks/{tab-bar-Axhk6xzx.js → tab-bar-BYESZINM.js} +83 -77
- package/dist/_chunks/tab-bar-BYESZINM.js.map +1 -0
- package/dist/_chunks/task-card.agent-CF2N_uu4.js +29 -0
- package/dist/_chunks/task-card.agent-CF2N_uu4.js.map +1 -0
- package/dist/_chunks/{tr-CTpgUtw6.js → tr-DXG2QN1K.js} +17 -17
- package/dist/_chunks/{tr-CTpgUtw6.js.map → tr-DXG2QN1K.js.map} +1 -1
- package/dist/_chunks/{unit-converter-COgkN7YP.js → unit-converter-CHPDuV7W.js} +2 -2
- package/dist/_chunks/{unit-converter-COgkN7YP.js.map → unit-converter-CHPDuV7W.js.map} +1 -1
- package/dist/_chunks/{warning-stack-BtjmJChC.js → warning-stack-B7t_8jRE.js} +42 -37
- package/dist/_chunks/{warning-stack-BtjmJChC.js.map → warning-stack-B7t_8jRE.js.map} +1 -1
- package/dist/_chunks/{zh-CN-BgM0Io2O.js → zh-CN-vPkPEK6H.js} +18 -18
- package/dist/_chunks/{zh-CN-BgM0Io2O.js.map → zh-CN-vPkPEK6H.js.map} +1 -1
- package/dist/agent-catalog.json +6426 -3382
- package/dist/agent-i18n/en.json +234 -15
- package/dist/components/agenda-card/agenda-card.agent.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking.d.ts.map +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/calculator-dialog.d.ts.map +1 -1
- package/dist/components/calculator-dialog/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/chat-container/chat-container.agent.d.ts.map +1 -1
- package/dist/components/chat-container/chat-container.d.ts +14 -0
- package/dist/components/chat-container/chat-container.d.ts.map +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts +4 -0
- package/dist/components/cycle-calculator/cycle-calculator.agent.d.ts.map +1 -0
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +42 -0
- package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
- package/dist/components/cycle-calculator/index.d.ts +1 -1
- package/dist/components/cycle-calculator/index.d.ts.map +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts +4 -0
- package/dist/components/due-date-calculator/due-date-calculator.agent.d.ts.map +1 -0
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +61 -1
- package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
- package/dist/components/due-date-calculator/index.d.ts +1 -1
- package/dist/components/due-date-calculator/index.d.ts.map +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/editor-overlay.d.ts +7 -1
- package/dist/components/editor-overlay/editor-overlay.d.ts.map +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/fetal-weight/fetal-weight.agent.d.ts +4 -0
- package/dist/components/fetal-weight/fetal-weight.agent.d.ts.map +1 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts +26 -0
- package/dist/components/fetal-weight/fetal-weight.d.ts.map +1 -1
- package/dist/components/fetal-weight/index.d.ts +1 -1
- package/dist/components/fetal-weight/index.d.ts.map +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts +4 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.agent.d.ts.map +1 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +44 -2
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
- package/dist/components/gestational-age-calculator/index.d.ts +1 -1
- package/dist/components/gestational-age-calculator/index.d.ts.map +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts +4 -0
- package/dist/components/hcg-doubling/hcg-doubling.agent.d.ts.map +1 -0
- package/dist/components/hcg-doubling/hcg-doubling.d.ts +30 -0
- package/dist/components/hcg-doubling/hcg-doubling.d.ts.map +1 -1
- package/dist/components/hcg-doubling/index.d.ts +1 -1
- package/dist/components/hcg-doubling/index.d.ts.map +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/header-settings.agent.d.ts.map +1 -1
- package/dist/components/header-settings/header-settings.d.ts +13 -1
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/locale-picker/locale-picker.agent.d.ts.map +1 -1
- package/dist/components/locale-picker/locale-picker.d.ts +9 -0
- package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.agent.d.ts.map +1 -1
- package/dist/components/map-view/map-view.d.ts +22 -0
- package/dist/components/map-view/map-view.d.ts.map +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +2 -1
- package/dist/components/number-input/number-input.d.ts.map +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-form/index.d.ts +1 -1
- package/dist/components/payment-form/index.d.ts.map +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -1
- package/dist/components/payment-form/payment-form.d.ts +32 -1
- package/dist/components/payment-form/payment-form.d.ts.map +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +13 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.d.ts +1 -1
- package/dist/components/pregnancy-dating/index.d.ts.map +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts +4 -0
- package/dist/components/pregnancy-dating/pregnancy-dating.agent.d.ts.map +1 -0
- package/dist/components/pregnancy-dating/pregnancy-dating.d.ts +65 -1
- package/dist/components/pregnancy-dating/pregnancy-dating.d.ts.map +1 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts +2 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts.map +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +6 -5
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts +4 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.agent.d.ts.map +1 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +35 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/progress.agent.d.ts.map +1 -1
- package/dist/components/progress/progress.d.ts +13 -0
- package/dist/components/progress/progress.d.ts.map +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/slot-grid/index.d.ts +2 -1
- package/dist/components/slot-grid/index.d.ts.map +1 -1
- package/dist/components/slot-grid/index.js +5 -4
- package/dist/components/slot-grid/slot-grid.agent.d.ts +4 -0
- package/dist/components/slot-grid/slot-grid.agent.d.ts.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts +34 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -1
- package/dist/components/sparkline/sparkline.d.ts +10 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +13 -0
- package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.agent.d.ts.map +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -1
- package/dist/index.js +630 -627
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-compare-panel.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-compile.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-derive.d.ts +27 -8
- package/dist/patterns/anamnesis/anamnesis-derive.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-evolution-grid.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-field.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-format.d.ts +11 -3
- package/dist/patterns/anamnesis/anamnesis-format.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-highlight.d.ts +6 -0
- package/dist/patterns/anamnesis/anamnesis-highlight.d.ts.map +1 -0
- package/dist/patterns/anamnesis/anamnesis-intake.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-matrix.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts +23 -9
- package/dist/patterns/anamnesis/anamnesis-questionnaire.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-readonly.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-target-strip.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-types.d.ts +7 -0
- package/dist/patterns/anamnesis/anamnesis-types.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis-visit-note.d.ts.map +1 -1
- package/dist/patterns/anamnesis/anamnesis.d.ts +16 -7
- package/dist/patterns/anamnesis/anamnesis.d.ts.map +1 -1
- package/dist/patterns/anamnesis/index.d.ts +3 -2
- package/dist/patterns/anamnesis/index.d.ts.map +1 -1
- package/dist/patterns/anamnesis/index.js +7 -6
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +6 -0
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js +0 -27
- package/dist/_chunks/agenda-card.agent-mTCrkKSZ.js.map +0 -1
- package/dist/_chunks/anamnesis-i18n-CfC0qYzy.js.map +0 -1
- package/dist/_chunks/booking-DjNbd7C1.js.map +0 -1
- package/dist/_chunks/calculator-dialog-DuXMQSdm.js +0 -40
- package/dist/_chunks/chat-container-HlFnoEIl.js.map +0 -1
- package/dist/_chunks/cycle-calculator-BwqYVPB4.js +0 -252
- package/dist/_chunks/cycle-calculator-BwqYVPB4.js.map +0 -1
- package/dist/_chunks/date-picker-variants-eL6HjWvw.js +0 -3363
- package/dist/_chunks/date-picker-variants-eL6HjWvw.js.map +0 -1
- package/dist/_chunks/due-date-calculator-CwfsFd3T.js +0 -256
- package/dist/_chunks/due-date-calculator-CwfsFd3T.js.map +0 -1
- package/dist/_chunks/editor-overlay-DE3esyio.js.map +0 -1
- package/dist/_chunks/fetal-weight-ePlLjJPc.js +0 -122
- package/dist/_chunks/fetal-weight-ePlLjJPc.js.map +0 -1
- package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js +0 -311
- package/dist/_chunks/gestational-age-calculator-DdgbH69Z.js.map +0 -1
- package/dist/_chunks/hcg-doubling-BBqD2wI2.js +0 -170
- package/dist/_chunks/hcg-doubling-BBqD2wI2.js.map +0 -1
- package/dist/_chunks/header-settings--pjYOe6g.js +0 -284
- package/dist/_chunks/header-settings--pjYOe6g.js.map +0 -1
- package/dist/_chunks/isSameDay-DUEiAT0G.js +0 -39
- package/dist/_chunks/isSameDay-DUEiAT0G.js.map +0 -1
- package/dist/_chunks/isSameWeek-CK4HS9lH.js +0 -14
- package/dist/_chunks/locale-picker-BfBUdT1m.js.map +0 -1
- package/dist/_chunks/map-view-CsaHfoo6.js +0 -378
- package/dist/_chunks/map-view-CsaHfoo6.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-DwcFMxzp.js.map +0 -1
- package/dist/_chunks/number-input-DrozbZAU.js.map +0 -1
- package/dist/_chunks/payment-form-h-BZ8onk.js.map +0 -1
- package/dist/_chunks/pdf-viewer-Ddx-T053.js.map +0 -1
- package/dist/_chunks/pregnancy-dating-DzYTlBkT.js +0 -421
- package/dist/_chunks/pregnancy-dating-DzYTlBkT.js.map +0 -1
- package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js +0 -322
- package/dist/_chunks/pregnancy-weight-gain-O6J0sUIi.js.map +0 -1
- package/dist/_chunks/progress-DA413-zn.js +0 -299
- package/dist/_chunks/progress-DA413-zn.js.map +0 -1
- package/dist/_chunks/slot-grid-CQSULZjd.js +0 -502
- package/dist/_chunks/slot-grid-CQSULZjd.js.map +0 -1
- package/dist/_chunks/sparkline-BTY4B5tv.js.map +0 -1
- package/dist/_chunks/subDays-BcNi04uf.js +0 -8
- package/dist/_chunks/tab-bar-Axhk6xzx.js.map +0 -1
- package/dist/_chunks/task-card.agent-Bt14CzUd.js +0 -25
- package/dist/_chunks/task-card.agent-Bt14CzUd.js.map +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as a, jsxs as _ } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as I, createElement as Z, useId as ee, useState as B, useCallback as T, useMemo as
|
|
2
|
+
import { forwardRef as I, createElement as Z, useId as ee, useState as B, useCallback as T, useMemo as z, useRef as U, useImperativeHandle as se, useEffect as ae } from "react";
|
|
3
3
|
import { c as q } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
5
|
import { _ as y, R as oe } from "./index-4xgbg-sn.js";
|
|
6
6
|
import { I as te } from "./icon-button-C_kbcd7I.js";
|
|
7
|
-
import { P as
|
|
8
|
-
import { F as ne, f as ie, s as J, _ as re, a as le, b as
|
|
7
|
+
import { P as L } from "./popover-Cc0a69sw.js";
|
|
8
|
+
import { F as ne, f as ie, s as J, _ as re, a as le, b as ce, c as de, d as ue, e as ge, g as me, h as _e, i as fe, j as ve, k as pe, l as he, m as ye, n as be, o as Ne, p as Le, q as xe, r as Ce, t as Se, u as ke, v as we, w as Ee, x as Pe, y as Re, z as Ie, A as Te, B as Ae, C as De, D as je, E as Fe, G as Oe, H as ze, I as Ue, J as Ge, K as Me, L as He } from "./flag-view-udarpAot.js";
|
|
9
9
|
import { c as Be, a as qe, d as Je } from "./input-surface-xyERuLU_.js";
|
|
10
|
-
import { LOCALES_WITH_BUNDLES as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { G as
|
|
10
|
+
import { LOCALES_WITH_BUNDLES as D } from "../i18n/config.js";
|
|
11
|
+
import { u as Ke } from "./use-locale-BkCIHujH.js";
|
|
12
|
+
import { u as Ve } from "./registry-DvAUVLHh.js";
|
|
13
|
+
import { G as j } from "./globe-sHBW1JN5.js";
|
|
14
14
|
import { M as We } from "./monitor-xXSrufmP.js";
|
|
15
15
|
import { C as G } from "./check-DrFSN__t.js";
|
|
16
|
-
const
|
|
16
|
+
const F = J(
|
|
17
17
|
() => /* @__PURE__ */ Object.assign({
|
|
18
18
|
"/node_modules/country-flag-icons/3x2/AL.svg": Ce,
|
|
19
|
-
"/node_modules/country-flag-icons/3x2/CN.svg":
|
|
20
|
-
"/node_modules/country-flag-icons/3x2/DE.svg":
|
|
19
|
+
"/node_modules/country-flag-icons/3x2/CN.svg": xe,
|
|
20
|
+
"/node_modules/country-flag-icons/3x2/DE.svg": Le,
|
|
21
21
|
"/node_modules/country-flag-icons/3x2/ES.svg": Ne,
|
|
22
22
|
"/node_modules/country-flag-icons/3x2/FR.svg": be,
|
|
23
23
|
"/node_modules/country-flag-icons/3x2/GB.svg": ye,
|
|
@@ -29,8 +29,8 @@ const O = J(
|
|
|
29
29
|
"/node_modules/country-flag-icons/3x2/PL.svg": me,
|
|
30
30
|
"/node_modules/country-flag-icons/3x2/PT.svg": ge,
|
|
31
31
|
"/node_modules/country-flag-icons/3x2/RO.svg": ue,
|
|
32
|
-
"/node_modules/country-flag-icons/3x2/RU.svg":
|
|
33
|
-
"/node_modules/country-flag-icons/3x2/SA.svg":
|
|
32
|
+
"/node_modules/country-flag-icons/3x2/RU.svg": de,
|
|
33
|
+
"/node_modules/country-flag-icons/3x2/SA.svg": ce,
|
|
34
34
|
"/node_modules/country-flag-icons/3x2/SE.svg": le,
|
|
35
35
|
"/node_modules/country-flag-icons/3x2/TR.svg": re
|
|
36
36
|
})
|
|
@@ -40,51 +40,51 @@ const O = J(
|
|
|
40
40
|
"/node_modules/country-flag-icons/1x1/CN.svg": Me,
|
|
41
41
|
"/node_modules/country-flag-icons/1x1/DE.svg": Ge,
|
|
42
42
|
"/node_modules/country-flag-icons/1x1/ES.svg": Ue,
|
|
43
|
-
"/node_modules/country-flag-icons/1x1/FR.svg":
|
|
44
|
-
"/node_modules/country-flag-icons/1x1/GB.svg":
|
|
45
|
-
"/node_modules/country-flag-icons/1x1/GR.svg":
|
|
46
|
-
"/node_modules/country-flag-icons/1x1/IN.svg":
|
|
47
|
-
"/node_modules/country-flag-icons/1x1/IT.svg":
|
|
43
|
+
"/node_modules/country-flag-icons/1x1/FR.svg": ze,
|
|
44
|
+
"/node_modules/country-flag-icons/1x1/GB.svg": Oe,
|
|
45
|
+
"/node_modules/country-flag-icons/1x1/GR.svg": Fe,
|
|
46
|
+
"/node_modules/country-flag-icons/1x1/IN.svg": je,
|
|
47
|
+
"/node_modules/country-flag-icons/1x1/IT.svg": De,
|
|
48
48
|
"/node_modules/country-flag-icons/1x1/JP.svg": Ae,
|
|
49
49
|
"/node_modules/country-flag-icons/1x1/NL.svg": Te,
|
|
50
50
|
"/node_modules/country-flag-icons/1x1/PL.svg": Ie,
|
|
51
|
-
"/node_modules/country-flag-icons/1x1/PT.svg":
|
|
52
|
-
"/node_modules/country-flag-icons/1x1/RO.svg":
|
|
51
|
+
"/node_modules/country-flag-icons/1x1/PT.svg": Re,
|
|
52
|
+
"/node_modules/country-flag-icons/1x1/RO.svg": Pe,
|
|
53
53
|
"/node_modules/country-flag-icons/1x1/RU.svg": Ee,
|
|
54
|
-
"/node_modules/country-flag-icons/1x1/SA.svg":
|
|
54
|
+
"/node_modules/country-flag-icons/1x1/SA.svg": we,
|
|
55
55
|
"/node_modules/country-flag-icons/1x1/SE.svg": ke,
|
|
56
56
|
"/node_modules/country-flag-icons/1x1/TR.svg": Se
|
|
57
57
|
})
|
|
58
58
|
);
|
|
59
59
|
Object.freeze(
|
|
60
|
-
Object.keys(
|
|
60
|
+
Object.keys(F).sort()
|
|
61
61
|
);
|
|
62
|
-
function
|
|
63
|
-
return e.toUpperCase() in
|
|
62
|
+
function O(e) {
|
|
63
|
+
return e.toUpperCase() in F;
|
|
64
64
|
}
|
|
65
65
|
const E = I(
|
|
66
66
|
({
|
|
67
67
|
country: e,
|
|
68
68
|
label: s,
|
|
69
|
-
shape:
|
|
69
|
+
shape: d = "rectangle",
|
|
70
70
|
size: l = "sm",
|
|
71
71
|
rounded: r = "sm",
|
|
72
|
-
className:
|
|
72
|
+
className: c,
|
|
73
73
|
...i
|
|
74
|
-
},
|
|
74
|
+
}, t) => {
|
|
75
75
|
const n = e.toUpperCase();
|
|
76
76
|
return Z(ne, {
|
|
77
|
-
ref:
|
|
77
|
+
ref: t,
|
|
78
78
|
code: n,
|
|
79
|
-
src: (
|
|
79
|
+
src: (d === "square" ? Ye : F)[n],
|
|
80
80
|
label: s,
|
|
81
|
-
className: ie({ shape:
|
|
81
|
+
className: ie({ shape: d, size: l, rounded: r }, c),
|
|
82
82
|
...i
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
86
|
E.displayName = "CoreFlag";
|
|
87
|
-
const
|
|
87
|
+
const x = {
|
|
88
88
|
en: {
|
|
89
89
|
code: "en",
|
|
90
90
|
nativeName: "English",
|
|
@@ -230,14 +230,27 @@ const L = {
|
|
|
230
230
|
dir: "ltr"
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
D.map((e) => x[e]);
|
|
234
234
|
const Qe = [
|
|
235
|
-
...
|
|
235
|
+
...D.map((e) => x[e])
|
|
236
236
|
].sort((e, s) => e.englishName.localeCompare(s.englishName, "en")), Xe = {
|
|
237
237
|
id: "locale-picker",
|
|
238
238
|
// Persists a single locale choice via the handle's `setLocale` → set_value.
|
|
239
239
|
capabilities: ["set_value"],
|
|
240
|
-
state: {
|
|
240
|
+
state: {
|
|
241
|
+
locale: {
|
|
242
|
+
type: "string",
|
|
243
|
+
descriptionKey: "ui.agent.localePicker.state.locale",
|
|
244
|
+
description: "Resolved IETF tag of the locale currently applied to the page. Read this after `set_locale` — the setter silently drops tags the kit ships no bundle for, so this is the only confirmation the switch landed.",
|
|
245
|
+
read: (e) => e.getLocale()
|
|
246
|
+
},
|
|
247
|
+
isSystemDefault: {
|
|
248
|
+
type: "boolean",
|
|
249
|
+
descriptionKey: "ui.agent.localePicker.state.isSystemDefault",
|
|
250
|
+
description: 'True when the resolved locale came from `navigator.language` rather than an explicit user choice. Distinguishes "the user chose English" from "we are following the browser, which happens to be English" — a distinction the resolved tag alone destroys.',
|
|
251
|
+
read: (e) => e.getIsSystemDefault()
|
|
252
|
+
}
|
|
253
|
+
},
|
|
241
254
|
actions: {
|
|
242
255
|
set_locale: {
|
|
243
256
|
safety: "write",
|
|
@@ -254,7 +267,10 @@ const Qe = [
|
|
|
254
267
|
},
|
|
255
268
|
idempotent: !0,
|
|
256
269
|
descriptionKey: "ui.agent.localePicker.actions.setLocale",
|
|
257
|
-
description: "Switch the active locale to the given IETF tag.",
|
|
270
|
+
description: "Switch the active locale to the given IETF tag. Unsupported tags are a silent no-op — read the `locale` state slot afterwards to confirm the switch landed.",
|
|
271
|
+
errors: [
|
|
272
|
+
"Silently ignored when the tag names a locale the kit ships no bundle for — `locale` is unchanged."
|
|
273
|
+
],
|
|
258
274
|
invoke: (e, s) => {
|
|
259
275
|
e.setLocale(s.locale);
|
|
260
276
|
}
|
|
@@ -270,7 +286,7 @@ const Qe = [
|
|
|
270
286
|
}, b = "alfadocs-ui.locale", m = "system";
|
|
271
287
|
let M = !1;
|
|
272
288
|
function v(e) {
|
|
273
|
-
return typeof e == "string" &&
|
|
289
|
+
return typeof e == "string" && D.includes(e);
|
|
274
290
|
}
|
|
275
291
|
function H(e) {
|
|
276
292
|
if (typeof window > "u") return null;
|
|
@@ -280,14 +296,14 @@ function H(e) {
|
|
|
280
296
|
return null;
|
|
281
297
|
}
|
|
282
298
|
}
|
|
283
|
-
function
|
|
299
|
+
function K(e, s) {
|
|
284
300
|
if (!(typeof window > "u"))
|
|
285
301
|
try {
|
|
286
302
|
window.localStorage.setItem(e, s);
|
|
287
303
|
} catch {
|
|
288
304
|
}
|
|
289
305
|
}
|
|
290
|
-
function
|
|
306
|
+
function R() {
|
|
291
307
|
if (typeof navigator > "u") return "en";
|
|
292
308
|
const e = navigator.language;
|
|
293
309
|
if (!e) return "en";
|
|
@@ -297,9 +313,9 @@ function w() {
|
|
|
297
313
|
function N(e) {
|
|
298
314
|
if (typeof document > "u") return;
|
|
299
315
|
const s = document.documentElement;
|
|
300
|
-
s.lang = e, s.dir =
|
|
316
|
+
s.lang = e, s.dir = x[e].dir;
|
|
301
317
|
}
|
|
302
|
-
function
|
|
318
|
+
function V(e) {
|
|
303
319
|
if (!(typeof window > "u"))
|
|
304
320
|
try {
|
|
305
321
|
window.localStorage.removeItem(e);
|
|
@@ -307,17 +323,17 @@ function K(e) {
|
|
|
307
323
|
}
|
|
308
324
|
}
|
|
309
325
|
function W() {
|
|
310
|
-
const { locale: e, setLocale: s } =
|
|
326
|
+
const { locale: e, setLocale: s } = Ke(), [d, l] = B(
|
|
311
327
|
() => H(b) === null
|
|
312
|
-
), r = v(e) ? e : "en",
|
|
328
|
+
), r = v(e) ? e : "en", c = T(
|
|
313
329
|
(i) => {
|
|
314
330
|
if (i === m) {
|
|
315
|
-
|
|
316
|
-
const
|
|
317
|
-
s(
|
|
331
|
+
V(b);
|
|
332
|
+
const t = R();
|
|
333
|
+
s(t), N(t), l(!0);
|
|
318
334
|
return;
|
|
319
335
|
}
|
|
320
|
-
v(i) && (s(i), N(i),
|
|
336
|
+
v(i) && (s(i), N(i), K(b, i), l(!1));
|
|
321
337
|
},
|
|
322
338
|
[s]
|
|
323
339
|
);
|
|
@@ -329,9 +345,9 @@ function W() {
|
|
|
329
345
|
i !== e && s(i), N(i);
|
|
330
346
|
return;
|
|
331
347
|
}
|
|
332
|
-
const
|
|
333
|
-
s(
|
|
334
|
-
}, []), { locale: r, isSystemDefault:
|
|
348
|
+
const t = R();
|
|
349
|
+
s(t), N(t);
|
|
350
|
+
}, []), { locale: r, isSystemDefault: d, setLocale: c };
|
|
335
351
|
}
|
|
336
352
|
const Y = q("ds:inline-flex ds:items-center", {
|
|
337
353
|
variants: {
|
|
@@ -365,23 +381,23 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
365
381
|
}
|
|
366
382
|
},
|
|
367
383
|
defaultVariants: { loading: !1 }
|
|
368
|
-
}),
|
|
384
|
+
}), P = I(
|
|
369
385
|
({
|
|
370
386
|
value: e,
|
|
371
387
|
onValueChange: s,
|
|
372
|
-
inputId:
|
|
388
|
+
inputId: d,
|
|
373
389
|
disabled: l = !1,
|
|
374
390
|
loading: r = !1,
|
|
375
|
-
className:
|
|
391
|
+
className: c
|
|
376
392
|
}, i) => {
|
|
377
|
-
const { t
|
|
378
|
-
(
|
|
393
|
+
const { t } = A(), n = W(), S = n.locale, C = e ?? (n.isSystemDefault ? m : n.locale), f = ee(), k = d ?? `${f}-search`, [w, p] = B(""), h = T(
|
|
394
|
+
(o) => {
|
|
379
395
|
if (!(l || r)) {
|
|
380
|
-
if (
|
|
396
|
+
if (o === m) {
|
|
381
397
|
s ? s(m) : n.setLocale(m);
|
|
382
398
|
return;
|
|
383
399
|
}
|
|
384
|
-
v(
|
|
400
|
+
v(o) && (s ? s(o) : n.setLocale(o));
|
|
385
401
|
}
|
|
386
402
|
},
|
|
387
403
|
[l, r, s, n]
|
|
@@ -390,12 +406,12 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
390
406
|
"div",
|
|
391
407
|
{
|
|
392
408
|
ref: i,
|
|
393
|
-
className: [Ze({ loading: r }),
|
|
409
|
+
className: [Ze({ loading: r }), c].filter(Boolean).join(" "),
|
|
394
410
|
"data-component": "locale-picker-search-list",
|
|
395
411
|
children: /* @__PURE__ */ _(
|
|
396
412
|
y,
|
|
397
413
|
{
|
|
398
|
-
label:
|
|
414
|
+
label: t("navigation.localePicker.commandLabel"),
|
|
399
415
|
filter: oe,
|
|
400
416
|
shouldFilter: !0,
|
|
401
417
|
children: [
|
|
@@ -411,7 +427,7 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
411
427
|
].join(" "),
|
|
412
428
|
children: [
|
|
413
429
|
/* @__PURE__ */ a(
|
|
414
|
-
|
|
430
|
+
j,
|
|
415
431
|
{
|
|
416
432
|
"aria-hidden": "true",
|
|
417
433
|
className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
|
|
@@ -421,10 +437,10 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
421
437
|
y.Input,
|
|
422
438
|
{
|
|
423
439
|
id: k,
|
|
424
|
-
value:
|
|
440
|
+
value: w,
|
|
425
441
|
onValueChange: p,
|
|
426
|
-
placeholder:
|
|
427
|
-
"aria-label":
|
|
442
|
+
placeholder: t("navigation.localePicker.searchPlaceholder"),
|
|
443
|
+
"aria-label": t("navigation.localePicker.searchLabel"),
|
|
428
444
|
disabled: l || r,
|
|
429
445
|
className: [
|
|
430
446
|
"ds:peer ds:flex-1 ds:bg-transparent ds:border-0 ds:outline-none",
|
|
@@ -451,11 +467,11 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
451
467
|
"ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
|
|
452
468
|
"type-body-sm ds:text-muted-foreground"
|
|
453
469
|
].join(" "),
|
|
454
|
-
children:
|
|
470
|
+
children: t("navigation.localePicker.empty")
|
|
455
471
|
}
|
|
456
472
|
),
|
|
457
473
|
(() => {
|
|
458
|
-
const
|
|
474
|
+
const o = C === m, u = x[S];
|
|
459
475
|
return /* @__PURE__ */ _(
|
|
460
476
|
y.Item,
|
|
461
477
|
{
|
|
@@ -481,8 +497,8 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
481
497
|
"ds:aria-selected:bg-muted",
|
|
482
498
|
"ds:aria-disabled:opacity-50 ds:aria-disabled:cursor-not-allowed"
|
|
483
499
|
].join(" "),
|
|
484
|
-
"aria-selected":
|
|
485
|
-
"data-current":
|
|
500
|
+
"aria-selected": o || void 0,
|
|
501
|
+
"data-current": o ? "true" : void 0,
|
|
486
502
|
children: [
|
|
487
503
|
/* @__PURE__ */ a(
|
|
488
504
|
We,
|
|
@@ -491,29 +507,29 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
491
507
|
className: "ds:size-4 ds:text-muted-foreground ds:shrink-0"
|
|
492
508
|
}
|
|
493
509
|
),
|
|
494
|
-
/* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children:
|
|
510
|
+
/* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: t("navigation.localePicker.systemDefault", {
|
|
495
511
|
locale: u.nativeName
|
|
496
512
|
}) }),
|
|
497
|
-
|
|
513
|
+
o ? /* @__PURE__ */ a(
|
|
498
514
|
G,
|
|
499
515
|
{
|
|
500
516
|
"aria-hidden": "true",
|
|
501
517
|
className: "ds:size-4 ds:text-primary ds:shrink-0"
|
|
502
518
|
}
|
|
503
519
|
) : null,
|
|
504
|
-
|
|
520
|
+
o ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
|
|
505
521
|
]
|
|
506
522
|
},
|
|
507
523
|
m
|
|
508
524
|
);
|
|
509
525
|
})(),
|
|
510
|
-
Qe.map((
|
|
511
|
-
const u = C ===
|
|
526
|
+
Qe.map((o) => {
|
|
527
|
+
const u = C === o.code;
|
|
512
528
|
return /* @__PURE__ */ _(
|
|
513
529
|
y.Item,
|
|
514
530
|
{
|
|
515
|
-
value:
|
|
516
|
-
keywords: [
|
|
531
|
+
value: o.code,
|
|
532
|
+
keywords: [o.nativeName, o.englishName],
|
|
517
533
|
disabled: l || r,
|
|
518
534
|
onSelect: h,
|
|
519
535
|
className: [
|
|
@@ -529,12 +545,12 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
529
545
|
].join(" "),
|
|
530
546
|
"aria-selected": u || void 0,
|
|
531
547
|
"data-current": u ? "true" : void 0,
|
|
532
|
-
lang:
|
|
548
|
+
lang: o.code,
|
|
533
549
|
children: [
|
|
534
|
-
|
|
550
|
+
O(o.countryCode) ? /* @__PURE__ */ a(
|
|
535
551
|
E,
|
|
536
552
|
{
|
|
537
|
-
country:
|
|
553
|
+
country: o.countryCode,
|
|
538
554
|
size: "sm",
|
|
539
555
|
shape: "rectangle",
|
|
540
556
|
rounded: "sm",
|
|
@@ -552,11 +568,11 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
552
568
|
{
|
|
553
569
|
"aria-hidden": "true",
|
|
554
570
|
className: "ds:text-base ds:shrink-0",
|
|
555
|
-
children:
|
|
571
|
+
children: o.flag
|
|
556
572
|
}
|
|
557
573
|
)
|
|
558
574
|
),
|
|
559
|
-
/* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children:
|
|
575
|
+
/* @__PURE__ */ a("span", { className: "ds:flex-1 ds:min-w-0 ds:truncate type-body-sm", children: o.nativeName }),
|
|
560
576
|
u ? /* @__PURE__ */ a(
|
|
561
577
|
G,
|
|
562
578
|
{
|
|
@@ -564,10 +580,10 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
564
580
|
className: "ds:size-4 ds:text-primary ds:shrink-0"
|
|
565
581
|
}
|
|
566
582
|
) : null,
|
|
567
|
-
u ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children:
|
|
583
|
+
u ? /* @__PURE__ */ a("span", { className: "ds:sr-only", children: t("navigation.localePicker.currentSelection") }) : null
|
|
568
584
|
]
|
|
569
585
|
},
|
|
570
|
-
|
|
586
|
+
o.code
|
|
571
587
|
);
|
|
572
588
|
})
|
|
573
589
|
]
|
|
@@ -580,33 +596,33 @@ const Y = q("ds:inline-flex ds:items-center", {
|
|
|
580
596
|
);
|
|
581
597
|
}
|
|
582
598
|
);
|
|
583
|
-
|
|
599
|
+
P.displayName = "LocalePicker.SearchList";
|
|
584
600
|
function es({
|
|
585
601
|
state: e,
|
|
586
602
|
rest: s,
|
|
587
|
-
forwardedRef:
|
|
603
|
+
forwardedRef: d,
|
|
588
604
|
className: l,
|
|
589
605
|
disabled: r,
|
|
590
|
-
loading:
|
|
606
|
+
loading: c,
|
|
591
607
|
popoverSide: i
|
|
592
608
|
}) {
|
|
593
|
-
const { t
|
|
609
|
+
const { t } = A(), n = x[e.locale];
|
|
594
610
|
return /* @__PURE__ */ a(
|
|
595
611
|
"div",
|
|
596
612
|
{
|
|
597
|
-
ref:
|
|
613
|
+
ref: d,
|
|
598
614
|
"data-component": "locale-picker",
|
|
599
615
|
"data-component-id": s.id,
|
|
600
616
|
className: Y({ variant: "icon", className: l }),
|
|
601
617
|
...s,
|
|
602
|
-
children: /* @__PURE__ */ _(
|
|
603
|
-
/* @__PURE__ */ a(
|
|
618
|
+
children: /* @__PURE__ */ _(L.Root, { children: [
|
|
619
|
+
/* @__PURE__ */ a(L.Trigger, { asChild: !0, children: /* @__PURE__ */ a(
|
|
604
620
|
te,
|
|
605
621
|
{
|
|
606
|
-
disabled: r ||
|
|
622
|
+
disabled: r || c,
|
|
607
623
|
icon: /* @__PURE__ */ _("span", { className: "ds:relative ds:inline-flex ds:items-center ds:justify-center", children: [
|
|
608
|
-
/* @__PURE__ */ a(
|
|
609
|
-
|
|
624
|
+
/* @__PURE__ */ a(j, { "aria-hidden": !0, className: "ds:size-5" }),
|
|
625
|
+
O(n.countryCode) ? /* @__PURE__ */ a(
|
|
610
626
|
E,
|
|
611
627
|
{
|
|
612
628
|
country: n.countryCode,
|
|
@@ -627,26 +643,26 @@ function es({
|
|
|
627
643
|
}
|
|
628
644
|
) : null
|
|
629
645
|
] }),
|
|
630
|
-
"aria-label":
|
|
646
|
+
"aria-label": t("navigation.localePicker.trigger", {
|
|
631
647
|
locale: n.nativeName
|
|
632
648
|
})
|
|
633
649
|
}
|
|
634
650
|
) }),
|
|
635
651
|
/* @__PURE__ */ a(
|
|
636
|
-
|
|
652
|
+
L.Content,
|
|
637
653
|
{
|
|
638
654
|
side: i,
|
|
639
655
|
align: "start",
|
|
640
656
|
sideOffset: 8,
|
|
641
657
|
className: Q,
|
|
642
|
-
"aria-label":
|
|
658
|
+
"aria-label": t("navigation.localePicker.popupLabel"),
|
|
643
659
|
children: /* @__PURE__ */ a(
|
|
644
|
-
|
|
660
|
+
P,
|
|
645
661
|
{
|
|
646
662
|
value: e.locale,
|
|
647
663
|
onValueChange: e.setLocale,
|
|
648
664
|
disabled: r,
|
|
649
|
-
loading:
|
|
665
|
+
loading: c
|
|
650
666
|
}
|
|
651
667
|
)
|
|
652
668
|
}
|
|
@@ -658,33 +674,33 @@ function es({
|
|
|
658
674
|
function ss({
|
|
659
675
|
state: e,
|
|
660
676
|
rest: s,
|
|
661
|
-
forwardedRef:
|
|
677
|
+
forwardedRef: d,
|
|
662
678
|
className: l,
|
|
663
679
|
disabled: r,
|
|
664
|
-
loading:
|
|
680
|
+
loading: c,
|
|
665
681
|
popoverSide: i
|
|
666
682
|
}) {
|
|
667
|
-
const { t
|
|
683
|
+
const { t } = A(), n = x[e.locale];
|
|
668
684
|
return /* @__PURE__ */ a(
|
|
669
685
|
"div",
|
|
670
686
|
{
|
|
671
|
-
ref:
|
|
687
|
+
ref: d,
|
|
672
688
|
"data-component": "locale-picker",
|
|
673
689
|
"data-component-id": s.id,
|
|
674
690
|
className: Y({ variant: "compact", className: l }),
|
|
675
691
|
...s,
|
|
676
|
-
children: /* @__PURE__ */ _(
|
|
677
|
-
/* @__PURE__ */ a(
|
|
692
|
+
children: /* @__PURE__ */ _(L.Root, { children: [
|
|
693
|
+
/* @__PURE__ */ a(L.Trigger, { asChild: !0, children: /* @__PURE__ */ _(
|
|
678
694
|
"button",
|
|
679
695
|
{
|
|
680
696
|
type: "button",
|
|
681
|
-
disabled: r ||
|
|
697
|
+
disabled: r || c,
|
|
682
698
|
className: $e,
|
|
683
|
-
"aria-label":
|
|
699
|
+
"aria-label": t("navigation.localePicker.trigger", {
|
|
684
700
|
locale: n.nativeName
|
|
685
701
|
}),
|
|
686
702
|
children: [
|
|
687
|
-
|
|
703
|
+
O(n.countryCode) ? /* @__PURE__ */ a(
|
|
688
704
|
E,
|
|
689
705
|
{
|
|
690
706
|
country: n.countryCode,
|
|
@@ -693,7 +709,7 @@ function ss({
|
|
|
693
709
|
rounded: "sm",
|
|
694
710
|
className: "ds:shrink-0"
|
|
695
711
|
}
|
|
696
|
-
) : /* @__PURE__ */ a(
|
|
712
|
+
) : /* @__PURE__ */ a(j, { "aria-hidden": !0, className: "ds:size-4 ds:shrink-0" }),
|
|
697
713
|
/* @__PURE__ */ a(
|
|
698
714
|
"span",
|
|
699
715
|
{
|
|
@@ -706,20 +722,20 @@ function ss({
|
|
|
706
722
|
}
|
|
707
723
|
) }),
|
|
708
724
|
/* @__PURE__ */ a(
|
|
709
|
-
|
|
725
|
+
L.Content,
|
|
710
726
|
{
|
|
711
727
|
side: i,
|
|
712
728
|
align: "start",
|
|
713
729
|
sideOffset: 8,
|
|
714
730
|
className: Q,
|
|
715
|
-
"aria-label":
|
|
731
|
+
"aria-label": t("navigation.localePicker.popupLabel"),
|
|
716
732
|
children: /* @__PURE__ */ a(
|
|
717
|
-
|
|
733
|
+
P,
|
|
718
734
|
{
|
|
719
735
|
value: e.locale,
|
|
720
736
|
onValueChange: e.setLocale,
|
|
721
737
|
disabled: r,
|
|
722
|
-
loading:
|
|
738
|
+
loading: c
|
|
723
739
|
}
|
|
724
740
|
)
|
|
725
741
|
}
|
|
@@ -731,57 +747,62 @@ function ss({
|
|
|
731
747
|
const X = I(
|
|
732
748
|
(e, s) => {
|
|
733
749
|
const {
|
|
734
|
-
variant:
|
|
750
|
+
variant: d = "icon",
|
|
735
751
|
value: l,
|
|
736
752
|
onValueChange: r,
|
|
737
|
-
disabled:
|
|
753
|
+
disabled: c = !1,
|
|
738
754
|
loading: i = !1,
|
|
739
|
-
popoverSide:
|
|
755
|
+
popoverSide: t = "bottom",
|
|
740
756
|
className: n,
|
|
741
757
|
id: S,
|
|
742
758
|
...C
|
|
743
|
-
} = e, f = W(), k = l ?? f.locale,
|
|
759
|
+
} = e, f = W(), k = l ?? f.locale, w = T(
|
|
744
760
|
(g) => {
|
|
745
761
|
if (r) {
|
|
746
762
|
if (r(g), g === m) {
|
|
747
|
-
|
|
748
|
-
const $ =
|
|
763
|
+
V(b);
|
|
764
|
+
const $ = R();
|
|
749
765
|
N($);
|
|
750
|
-
} else v(g) && (N(g),
|
|
766
|
+
} else v(g) && (N(g), K(b, g));
|
|
751
767
|
return;
|
|
752
768
|
}
|
|
753
769
|
f.setLocale(g);
|
|
754
770
|
},
|
|
755
771
|
[r, f]
|
|
756
|
-
), p =
|
|
772
|
+
), p = z(
|
|
757
773
|
() => ({
|
|
758
774
|
locale: k,
|
|
759
775
|
isSystemDefault: f.isSystemDefault,
|
|
760
|
-
setLocale:
|
|
776
|
+
setLocale: w
|
|
761
777
|
}),
|
|
762
|
-
[k, f.isSystemDefault,
|
|
778
|
+
[k, f.isSystemDefault, w]
|
|
763
779
|
), h = U(null);
|
|
764
780
|
se(s, () => h.current, []);
|
|
765
|
-
const
|
|
766
|
-
|
|
767
|
-
const u =
|
|
781
|
+
const o = U(p);
|
|
782
|
+
o.current = p;
|
|
783
|
+
const u = z(
|
|
768
784
|
() => ({
|
|
769
785
|
setLocale: (g) => {
|
|
770
|
-
v(g) &&
|
|
771
|
-
}
|
|
786
|
+
v(g) && o.current.setLocale(g);
|
|
787
|
+
},
|
|
788
|
+
// Read-back for `set_locale` — the setter swallows unsupported
|
|
789
|
+
// tags, so these are the only way an agent can tell a switch
|
|
790
|
+
// landed from one that was dropped.
|
|
791
|
+
getLocale: () => o.current.locale,
|
|
792
|
+
getIsSystemDefault: () => o.current.isSystemDefault
|
|
772
793
|
}),
|
|
773
794
|
[]
|
|
774
795
|
);
|
|
775
|
-
return
|
|
796
|
+
return Ve(Xe, u, S), d === "compact" ? /* @__PURE__ */ a(
|
|
776
797
|
ss,
|
|
777
798
|
{
|
|
778
799
|
state: p,
|
|
779
800
|
rest: C,
|
|
780
801
|
forwardedRef: h,
|
|
781
802
|
className: n,
|
|
782
|
-
disabled:
|
|
803
|
+
disabled: c,
|
|
783
804
|
loading: i,
|
|
784
|
-
popoverSide:
|
|
805
|
+
popoverSide: t
|
|
785
806
|
}
|
|
786
807
|
) : /* @__PURE__ */ a(
|
|
787
808
|
es,
|
|
@@ -790,21 +811,21 @@ const X = I(
|
|
|
790
811
|
rest: C,
|
|
791
812
|
forwardedRef: h,
|
|
792
813
|
className: n,
|
|
793
|
-
disabled:
|
|
814
|
+
disabled: c,
|
|
794
815
|
loading: i,
|
|
795
|
-
popoverSide:
|
|
816
|
+
popoverSide: t
|
|
796
817
|
}
|
|
797
818
|
);
|
|
798
819
|
}
|
|
799
820
|
);
|
|
800
821
|
X.displayName = "LocalePicker";
|
|
801
822
|
const ps = Object.assign(X, {
|
|
802
|
-
SearchList:
|
|
823
|
+
SearchList: P
|
|
803
824
|
});
|
|
804
825
|
export {
|
|
805
826
|
b as L,
|
|
806
827
|
ps as a,
|
|
807
|
-
|
|
808
|
-
|
|
828
|
+
P as b,
|
|
829
|
+
x as c
|
|
809
830
|
};
|
|
810
|
-
//# sourceMappingURL=locale-picker-
|
|
831
|
+
//# sourceMappingURL=locale-picker-D9Kv2zrK.js.map
|