@alfadocs/ui-kit 0.30.5 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{accordion-CNcodXuO.js → accordion-bSU21uTV.js} +3 -3
- package/dist/_chunks/{agenda-card-DO9_yogb.js → agenda-card-UJA6Arbs.js} +3 -3
- package/dist/_chunks/{agenda-tray-WLbfMip6.js → agenda-tray-1fAxNOMz.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-BXlwNnWe.js → ai-prompt-input-C6sCr1Vi.js} +11 -10
- package/dist/_chunks/{alia-sidebar-C-232sD7.js → alia-sidebar-BEoMl6UL.js} +9 -9
- package/dist/_chunks/ar-CEpIJtcO.js +399 -0
- package/dist/_chunks/{audio-recorder-DL800PE_.js → audio-recorder-C1rhKhSN.js} +114 -114
- package/dist/_chunks/audio-visualiser-l6zPd0AG.js +162 -0
- package/dist/_chunks/{autocomplete-CUh0f7Dj.js → autocomplete-DIgdhCGJ.js} +2 -2
- package/dist/_chunks/{avatar-D_H4emLo.js → avatar-BNQNhoyL.js} +19 -18
- package/dist/_chunks/{badge-CIjQ1Us1.js → badge-CptERaHx.js} +2 -2
- package/dist/_chunks/{booking-Cw92aqo3.js → booking-BIZ9GSer.js} +149 -160
- package/dist/_chunks/{breadcrumb--YI7lcHA.js → breadcrumb-CLlhx7qo.js} +2 -2
- package/dist/_chunks/{button-group-Bh2g_Ng-.js → button-group-Ciq6J4IW.js} +15 -14
- package/dist/_chunks/{calendar-WWNx448i.js → calendar-YHFknAGv.js} +22 -22
- package/dist/_chunks/calendar-clock-CYkcqdwl.js +19 -0
- package/dist/_chunks/{carousel.agent-C2Icc9_T.js → carousel.agent-DrX96W-1.js} +2 -2
- package/dist/_chunks/{chart-BLvFl169.js → chart-DLkVn_ex.js} +2 -2
- package/dist/_chunks/{chat-container-izziXViv.js → chat-container-ogB4OskO.js} +24 -23
- package/dist/_chunks/{chat-input-cyl_y9bh.js → chat-input-CQe7nR_v.js} +132 -118
- package/dist/_chunks/{chat-message-fg221-yx.js → chat-message-D53_fH2w.js} +2 -2
- package/dist/_chunks/{checkbox-Dgp_cfUr.js → checkbox-DRcOdmXv.js} +3 -3
- package/dist/_chunks/{checkbox-group-eVowqKcT.js → checkbox-group-CpUwlHug.js} +3 -3
- package/dist/_chunks/{collapsible-hHiyZp0b.js → collapsible-CERONory.js} +2 -2
- package/dist/_chunks/{color-picker-Bm-gzpsh.js → color-picker-9tL7pz5y.js} +192 -181
- package/dist/_chunks/{combobox-Da9eq00i.js → combobox-BC-DFx8G.js} +31 -30
- package/dist/_chunks/{command-palette-11BieSNq.js → command-palette-BiPAAno-.js} +125 -123
- package/dist/_chunks/{copy-field-BAF4mt9h.js → copy-field-CCq7j6Zc.js} +2 -2
- package/dist/_chunks/{date-picker-D0Ry1dMz.js → date-picker-B94HAV4A.js} +4 -4
- package/dist/_chunks/{date-range-picker-DYgHzMOo.js → date-range-picker-D4dgDlLU.js} +73 -73
- package/dist/_chunks/{date-time-picker-CGmGtcyc.js → date-time-picker-D1GEzf8p.js} +5 -5
- package/dist/_chunks/de-Dfbeau59.js +477 -0
- package/dist/_chunks/{description-list-CWjnaDGn.js → description-list-BEbK2g93.js} +2 -2
- package/dist/_chunks/{dialog-C-lTGVkB.js → dialog-Cee13rHU.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DZxwF23X.js → dropdown-menu-BC5ZdOMo.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-CztRy_21.js → editable-currency-cell-renderer-BpicmolK.js} +308 -322
- package/dist/_chunks/el-Dro3J7CP.js +373 -0
- package/dist/_chunks/{email-input-DvJ_kPKL.js → email-input-lQivsFrw.js} +3 -3
- package/dist/_chunks/es-Dvg8u70B.js +373 -0
- package/dist/_chunks/{file-upload-DxAQprcU.js → file-upload-CdozCPct.js} +226 -233
- package/dist/_chunks/fr-VOGjBSPP.js +338 -0
- package/dist/_chunks/{freemium-paywall-B9c8Ylww.js → freemium-paywall-D1N02Oam.js} +4 -4
- package/dist/_chunks/{header-DDj7uGD-.js → header-CTZWX-tm.js} +2 -2
- package/dist/_chunks/hi-BSDxWU_y.js +433 -0
- package/dist/_chunks/{icon-button-DPEqBKBQ.js → icon-button-CKEOrN37.js} +2 -2
- package/dist/_chunks/{icon-button-group-DeV3FpNY.js → icon-button-group-C48khLE0.js} +23 -22
- package/dist/_chunks/{isSameDay-DHG8Xade.js → isSameDay-DUEiAT0G.js} +2 -2
- package/dist/_chunks/isSameWeek-Dfzu29cW.js +14 -0
- package/dist/_chunks/it-CuonvcI_.js +401 -0
- package/dist/_chunks/ja-DO57gIOT.js +366 -0
- package/dist/_chunks/{key-value-pair-BvDY3zuc.js → key-value-pair-C8DaR3Xs.js} +2 -2
- package/dist/_chunks/{list-BdvDctBz.js → list-BOwqwy03.js} +44 -43
- package/dist/_chunks/{locale-picker-CY89MChR.js → locale-picker-D99UyZVJ.js} +4 -4
- package/dist/_chunks/{map-view-DyB8tr6c.js → map-view-WEWqXzof.js} +569 -557
- package/dist/_chunks/{message-card-D6iyPacd.js → message-card-BbRhZkDI.js} +3 -3
- package/dist/_chunks/{message-tray-Bh-0ra-Y.js → message-tray-B762TKuv.js} +11 -10
- package/dist/_chunks/{multi-select-dSe6Xtc4.js → multi-select-DOLO3K_z.js} +26 -25
- package/dist/_chunks/{navigation-menu-CyS1fBJ7.js → navigation-menu-C6lBYVv9.js} +3 -3
- package/dist/_chunks/nl-DjPaaWaW.js +326 -0
- package/dist/_chunks/{notification-card-vaMaA7Wa.js → notification-card-DMdO4g54.js} +2 -2
- package/dist/_chunks/{notification-tray-Cnum6LwM.js → notification-tray-Dl3FTleW.js} +17 -16
- package/dist/_chunks/{number-input-BZXu6bPY.js → number-input-Dj5L3pXK.js} +2 -2
- package/dist/_chunks/{otp-input-BDF_iNpa.js → otp-input-BEg_sn8A.js} +2 -2
- package/dist/_chunks/{pagination-BWaXF7W0.js → pagination-DQOgnxxw.js} +2 -2
- package/dist/_chunks/{parseISO-Dk4xa7q6.js → parseISO-DEpUNwxZ.js} +2 -2
- package/dist/_chunks/{patient-search-ZpHN-pgJ.js → patient-search-hFiYbqcl.js} +8 -8
- package/dist/_chunks/{patient-shell-CYaNkbA1.js → patient-shell-CDvMw_Nk.js} +6 -6
- package/dist/_chunks/{payment-form-Ds3rxvad.js → payment-form-D5rgnZu7.js} +2 -2
- package/dist/_chunks/{pdf-viewer-CIuaocnq.js → pdf-viewer-DvtEHcEP.js} +347 -320
- package/dist/_chunks/{phone-input-DKSHX7NQ.js → phone-input-DfZbPPvh.js} +217 -201
- package/dist/_chunks/pl-Cl4lOx2N.js +514 -0
- package/dist/_chunks/{popover-BfHSBEKq.js → popover-Devce-tT.js} +3 -3
- package/dist/_chunks/practice-results-JQunxBIg.js +1618 -0
- package/dist/_chunks/{privacy-lock-C6Ra5m3p.js → privacy-lock-DD-wHxBg.js} +3 -3
- package/dist/_chunks/{progress-B-PSO5OS.js → progress-kzIRcdaq.js} +11 -10
- package/dist/_chunks/pt-D7qO5CzD.js +370 -0
- package/dist/_chunks/{public-footer.agent-Bc99tE5Z.js → public-footer.agent-Bh0rnx4i.js} +21 -14
- package/dist/_chunks/{public-header.agent-B-B0WDAi.js → public-header.agent-B2dDg2_d.js} +3 -3
- package/dist/_chunks/{radio-i4ogu3cq.js → radio-TWf9Q-mp.js} +2 -2
- package/dist/_chunks/{radio-group-CTlGc36r.js → radio-group-BcF92GEF.js} +4 -4
- package/dist/_chunks/{react-day-picker-D3yzgvDB.js → react-day-picker-DsjfS7uI.js} +662 -615
- package/dist/_chunks/recaptcha-widget-CFYyLSEX.js +221 -0
- package/dist/_chunks/refresh-cw-CC8jSKMr.js +17 -0
- package/dist/_chunks/registry-nPAVE19X.js +21 -0
- package/dist/_chunks/{resizable-COV-cnth.js → resizable-3vzqDlg6.js} +29 -28
- package/dist/_chunks/{reviews-panel-bKEUKSic.js → reviews-panel-yanuBZs-.js} +4 -4
- package/dist/_chunks/{rich-text-editor-J-wAz9eN.js → rich-text-editor-CHmr9Bz8.js} +2 -2
- package/dist/_chunks/ro-CP2-VJ_O.js +361 -0
- package/dist/_chunks/ru-RPn9_Lpq.js +561 -0
- package/dist/_chunks/{scroll-area-DEDU-lp-.js → scroll-area-BWqCkEGz.js} +2 -2
- package/dist/_chunks/{search-bar-BRMW1-WG.js → search-bar-CP6wUJFY.js} +3 -3
- package/dist/_chunks/{search-input-CIA6pPfn.js → search-input-C1C3jQpD.js} +24 -23
- package/dist/_chunks/{select-C92AT_OZ.js → select-hsCaJSX3.js} +3 -3
- package/dist/_chunks/{sheet-D8Yl0nKR.js → sheet-BV-yuLE2.js} +3 -3
- package/dist/_chunks/{sidebar-DkyC6GvS.js → sidebar-BbR8f6oe.js} +3 -3
- package/dist/_chunks/{signature-capture-DjMlFOzS.js → signature-capture-C-fF71xI.js} +213 -205
- package/dist/_chunks/{slider-CfEzeseL.js → slider-BHWzXdjt.js} +3 -3
- package/dist/_chunks/{slot-grid-Q94gVmhn.js → slot-grid-Dz13dH82.js} +4 -4
- package/dist/_chunks/smile-BSYLAHy6.js +17 -0
- package/dist/_chunks/{sparkline-B5Ms55PZ.js → sparkline-DEROcSl0.js} +2 -2
- package/dist/_chunks/sq-AQvefouo.js +355 -0
- package/dist/_chunks/{stepper-progress-jFY8BSf7.js → stepper-progress-DDjq5nei.js} +16 -15
- package/dist/_chunks/streaming-text-GH07yIYh.js +127 -0
- package/dist/_chunks/sv-zkx9eBtD.js +376 -0
- package/dist/_chunks/{switch-D916VW86.js → switch-BJ6HD3Mn.js} +2 -2
- package/dist/_chunks/{tabs-aEQfQV3x.js → tabs-BpPYVme_.js} +4 -4
- package/dist/_chunks/{tag-bBPAvXyh.js → tag-CyoaEmf_.js} +2 -2
- package/dist/_chunks/{task-tray-6NlryfMJ.js → task-tray-DRK0b0Qb.js} +3 -3
- package/dist/_chunks/{text-area-D5GAe8pV.js → text-area-BIx0tZ05.js} +27 -26
- package/dist/_chunks/{text-input-CakysYnD.js → text-input-BaClJL8Y.js} +2 -2
- package/dist/_chunks/{theme-toggle-JoeMs_ws.js → theme-toggle-DpC28kt5.js} +6 -6
- package/dist/_chunks/{time-picker-DeVZkIY2.js → time-picker-B5umYwfv.js} +2 -2
- package/dist/_chunks/{timeline-CR7HjZCK.js → timeline-D0Wo7v_o.js} +3 -3
- package/dist/_chunks/{toast.agent-DVpKt38p.js → toast.agent-WHHfw5VX.js} +322 -320
- package/dist/_chunks/{tooltip-ClJd0ciy.js → tooltip-DvmfrNvB.js} +29 -20
- package/dist/_chunks/{tooth-scheme-3mITSXiZ.js → tooth-scheme-CxlsLjfN.js} +2 -2
- package/dist/_chunks/tr-Dmr412Ac.js +378 -0
- package/dist/_chunks/{transaction-chip-z9ENE50O.js → transaction-chip-B8ujzowA.js} +47 -60
- package/dist/_chunks/{transcript-panel-QUQ9XJmf.js → transcript-panel-DyhTpAP7.js} +21 -20
- package/dist/_chunks/{use-direction-D6rvvG9G.js → use-direction-Dp8h70PP.js} +7 -6
- package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js +6 -0
- package/dist/_chunks/use-media-query-CcAx5SMM.js +16 -0
- package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js} +3 -3
- package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +43 -0
- package/dist/_chunks/{workflow-map-DlWBJJBt.js → workflow-map-BSvQS3be.js} +6 -6
- package/dist/_chunks/zh-CN-DxVt64Zk.js +388 -0
- package/dist/agent/registry.d.ts +1 -6
- package/dist/agent-catalog.json +42 -1
- package/dist/components/_shared/date-locale.d.ts +7 -2
- package/dist/components/_shared/index.d.ts +1 -1
- package/dist/components/accordion/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-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/copy-field/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/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +6 -6
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +10 -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/navigation-menu/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-search/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/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.d.ts +4 -0
- package/dist/components/practice-results/index.js +6 -0
- package/dist/components/practice-results/practice-results.agent.d.ts +4 -0
- package/dist/components/practice-results/practice-results.d.ts +159 -0
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.js +69 -66
- package/dist/i18n/locales/ar.d.ts +92 -0
- package/dist/i18n/locales/ar.js +82 -0
- package/dist/i18n/locales/de.d.ts +92 -0
- package/dist/i18n/locales/de.js +81 -0
- package/dist/i18n/locales/el.d.ts +92 -0
- package/dist/i18n/locales/el.js +82 -0
- package/dist/i18n/locales/en.d.ts +92 -0
- package/dist/i18n/locales/en.js +92 -0
- package/dist/i18n/locales/es.d.ts +92 -0
- package/dist/i18n/locales/es.js +81 -0
- package/dist/i18n/locales/fr.d.ts +92 -0
- package/dist/i18n/locales/fr.js +81 -0
- package/dist/i18n/locales/hi.d.ts +92 -0
- package/dist/i18n/locales/hi.js +82 -0
- package/dist/i18n/locales/it.d.ts +92 -0
- package/dist/i18n/locales/it.js +81 -0
- package/dist/i18n/locales/ja.d.ts +92 -0
- package/dist/i18n/locales/ja.js +82 -0
- package/dist/i18n/locales/nl.d.ts +92 -0
- package/dist/i18n/locales/nl.js +81 -0
- package/dist/i18n/locales/pl.d.ts +92 -0
- package/dist/i18n/locales/pl.js +82 -0
- package/dist/i18n/locales/pt.d.ts +92 -0
- package/dist/i18n/locales/pt.js +83 -0
- package/dist/i18n/locales/ro.d.ts +92 -0
- package/dist/i18n/locales/ro.js +82 -0
- package/dist/i18n/locales/ru.d.ts +92 -0
- package/dist/i18n/locales/ru.js +82 -0
- package/dist/i18n/locales/sq.d.ts +92 -0
- package/dist/i18n/locales/sq.js +82 -0
- package/dist/i18n/locales/sv.d.ts +92 -0
- package/dist/i18n/locales/sv.js +82 -0
- package/dist/i18n/locales/tr.d.ts +92 -0
- package/dist/i18n/locales/tr.js +82 -0
- package/dist/i18n/locales/zh.d.ts +92 -0
- package/dist/i18n/locales/zh.js +82 -0
- package/dist/index.js +532 -528
- package/dist/locales/ar.json +92 -0
- package/dist/locales/de.json +92 -0
- package/dist/locales/el.json +92 -0
- package/dist/locales/en.json +92 -0
- package/dist/locales/es.json +92 -0
- package/dist/locales/fr.json +92 -0
- package/dist/locales/hi.json +92 -0
- package/dist/locales/it.json +92 -0
- package/dist/locales/ja.json +92 -0
- package/dist/locales/nl.json +92 -0
- package/dist/locales/pl.json +92 -0
- package/dist/locales/pt.json +92 -0
- package/dist/locales/ro.json +92 -0
- package/dist/locales/ru.json +92 -0
- package/dist/locales/sq.json +92 -0
- package/dist/locales/sv.json +92 -0
- package/dist/locales/tr.json +92 -0
- package/dist/locales/zh.json +92 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -2
- package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
- package/dist/_chunks/recaptcha-widget-BtBNb6tB.js +0 -192
- package/dist/_chunks/registry-C9nwlNyL.js +0 -21
- package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
- package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
2
|
+
import { useRef as f, useState as h, useEffect as v } from "react";
|
|
3
3
|
import * as o from "@radix-ui/react-tooltip";
|
|
4
4
|
import { c as g } from "./index-D2ZczOXr.js";
|
|
5
|
-
function
|
|
5
|
+
function y(t) {
|
|
6
6
|
const [e, r] = h(() => typeof document > "u" ? "ltr" : document.documentElement.dir || "ltr");
|
|
7
7
|
return v(() => {
|
|
8
8
|
const d = t.current;
|
|
@@ -11,19 +11,28 @@ function w(t) {
|
|
|
11
11
|
r(a === "rtl" ? "rtl" : "ltr");
|
|
12
12
|
}, [t]), e;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const w = g(
|
|
15
15
|
[
|
|
16
16
|
"ds:z-[var(--z-tooltip)]",
|
|
17
17
|
"ds:max-w-[240px]",
|
|
18
18
|
"ds:overflow-hidden ds:rounded-[var(--radius-sm)]",
|
|
19
19
|
// High-contrast solid tooltip surface — inverted vs the page so it
|
|
20
20
|
// reads against any background (gradient washes, coloured cards,
|
|
21
|
-
// images).
|
|
22
|
-
//
|
|
23
|
-
// `
|
|
24
|
-
//
|
|
25
|
-
//
|
|
26
|
-
|
|
21
|
+
// images). Uses opaque ramp-step tokens (`--color-grey-900` /
|
|
22
|
+
// `--color-grey-50`) directly because:
|
|
23
|
+
// - 0.30.3 swapped to `bg-[var(--foreground)]` after the
|
|
24
|
+
// `bg-foreground` shorthand emitted translucent backgrounds in
|
|
25
|
+
// some consumer bundles.
|
|
26
|
+
// - 0.31.0 staging still saw see-through tooltips on the booking-
|
|
27
|
+
// website surface where parent `backdrop-filter` / `opacity`
|
|
28
|
+
// stacking contexts bled into the semantic foreground token.
|
|
29
|
+
// - Ramp-step tokens are theme-stable hex literals — no
|
|
30
|
+
// resolution chain — so the tooltip surface is solid in every
|
|
31
|
+
// theme + every consumer bundle.
|
|
32
|
+
// `isolation: isolate` defends against future parent-side filters /
|
|
33
|
+
// mix-blend-modes by giving the tooltip its own stacking context.
|
|
34
|
+
"ds:bg-[var(--color-grey-900)] ds:text-[var(--color-grey-50)]",
|
|
35
|
+
"ds:[isolation:isolate]",
|
|
27
36
|
"ds:shadow-[var(--shadow-md)]",
|
|
28
37
|
// Forced-colours users (Windows High Contrast) lose `bg-/text-`
|
|
29
38
|
// entirely — emit a CanvasText border so the tooltip is still
|
|
@@ -40,7 +49,7 @@ const x = g(
|
|
|
40
49
|
"ds:motion-reduce:animate-none"
|
|
41
50
|
].join(" ")
|
|
42
51
|
);
|
|
43
|
-
function
|
|
52
|
+
function x(t, e) {
|
|
44
53
|
switch (t) {
|
|
45
54
|
case "top":
|
|
46
55
|
return "top";
|
|
@@ -52,7 +61,7 @@ function b(t, e) {
|
|
|
52
61
|
return e === "rtl" ? "left" : "right";
|
|
53
62
|
}
|
|
54
63
|
}
|
|
55
|
-
const
|
|
64
|
+
const T = ({
|
|
56
65
|
children: t,
|
|
57
66
|
delayDuration: e = 700,
|
|
58
67
|
skipDelayDuration: r = 300
|
|
@@ -64,8 +73,8 @@ const y = ({
|
|
|
64
73
|
children: t
|
|
65
74
|
}
|
|
66
75
|
);
|
|
67
|
-
|
|
68
|
-
const
|
|
76
|
+
T.displayName = "TooltipProvider";
|
|
77
|
+
const b = ({
|
|
69
78
|
label: t,
|
|
70
79
|
children: e,
|
|
71
80
|
side: r = "top",
|
|
@@ -75,7 +84,7 @@ const T = ({
|
|
|
75
84
|
open: c,
|
|
76
85
|
onOpenChange: m
|
|
77
86
|
}) => {
|
|
78
|
-
const n =
|
|
87
|
+
const n = f(null), u = y(n), p = x(r, u);
|
|
79
88
|
return /* @__PURE__ */ l(
|
|
80
89
|
o.Root,
|
|
81
90
|
{
|
|
@@ -87,8 +96,8 @@ const T = ({
|
|
|
87
96
|
/* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ l(
|
|
88
97
|
o.Content,
|
|
89
98
|
{
|
|
90
|
-
className:
|
|
91
|
-
side:
|
|
99
|
+
className: w(),
|
|
100
|
+
side: p,
|
|
92
101
|
align: d,
|
|
93
102
|
sideOffset: s,
|
|
94
103
|
"data-component": "tooltip",
|
|
@@ -102,9 +111,9 @@ const T = ({
|
|
|
102
111
|
}
|
|
103
112
|
);
|
|
104
113
|
};
|
|
105
|
-
|
|
114
|
+
b.displayName = "Tooltip";
|
|
106
115
|
export {
|
|
107
|
-
T,
|
|
108
|
-
|
|
116
|
+
b as T,
|
|
117
|
+
T as a
|
|
109
118
|
};
|
|
110
|
-
//# sourceMappingURL=tooltip-
|
|
119
|
+
//# sourceMappingURL=tooltip-DvmfrNvB.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as xt, useId as wt, useMemo as U, useState as K, useEffect a
|
|
|
3
3
|
import * as D from "@radix-ui/react-tooltip";
|
|
4
4
|
import { c as M } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as lt } from "react-i18next";
|
|
6
|
-
import { u as bt } from "./registry-
|
|
6
|
+
import { u as bt } from "./registry-nPAVE19X.js";
|
|
7
7
|
const Ct = {
|
|
8
8
|
id: "tooth-scheme",
|
|
9
9
|
capabilities: ["pick"],
|
|
@@ -750,4 +750,4 @@ export {
|
|
|
750
750
|
At as r,
|
|
751
751
|
Ct as t
|
|
752
752
|
};
|
|
753
|
-
//# sourceMappingURL=tooth-scheme-
|
|
753
|
+
//# sourceMappingURL=tooth-scheme-CxlsLjfN.js.map
|
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
import { o, q as n, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
|
|
2
|
+
const d = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "bir saniyeden az",
|
|
5
|
+
other: "{{count}} saniyeden az"
|
|
6
|
+
},
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "1 saniye",
|
|
9
|
+
other: "{{count}} saniye"
|
|
10
|
+
},
|
|
11
|
+
halfAMinute: "yarım dakika",
|
|
12
|
+
lessThanXMinutes: {
|
|
13
|
+
one: "bir dakikadan az",
|
|
14
|
+
other: "{{count}} dakikadan az"
|
|
15
|
+
},
|
|
16
|
+
xMinutes: {
|
|
17
|
+
one: "1 dakika",
|
|
18
|
+
other: "{{count}} dakika"
|
|
19
|
+
},
|
|
20
|
+
aboutXHours: {
|
|
21
|
+
one: "yaklaşık 1 saat",
|
|
22
|
+
other: "yaklaşık {{count}} saat"
|
|
23
|
+
},
|
|
24
|
+
xHours: {
|
|
25
|
+
one: "1 saat",
|
|
26
|
+
other: "{{count}} saat"
|
|
27
|
+
},
|
|
28
|
+
xDays: {
|
|
29
|
+
one: "1 gün",
|
|
30
|
+
other: "{{count}} gün"
|
|
31
|
+
},
|
|
32
|
+
aboutXWeeks: {
|
|
33
|
+
one: "yaklaşık 1 hafta",
|
|
34
|
+
other: "yaklaşık {{count}} hafta"
|
|
35
|
+
},
|
|
36
|
+
xWeeks: {
|
|
37
|
+
one: "1 hafta",
|
|
38
|
+
other: "{{count}} hafta"
|
|
39
|
+
},
|
|
40
|
+
aboutXMonths: {
|
|
41
|
+
one: "yaklaşık 1 ay",
|
|
42
|
+
other: "yaklaşık {{count}} ay"
|
|
43
|
+
},
|
|
44
|
+
xMonths: {
|
|
45
|
+
one: "1 ay",
|
|
46
|
+
other: "{{count}} ay"
|
|
47
|
+
},
|
|
48
|
+
aboutXYears: {
|
|
49
|
+
one: "yaklaşık 1 yıl",
|
|
50
|
+
other: "yaklaşık {{count}} yıl"
|
|
51
|
+
},
|
|
52
|
+
xYears: {
|
|
53
|
+
one: "1 yıl",
|
|
54
|
+
other: "{{count}} yıl"
|
|
55
|
+
},
|
|
56
|
+
overXYears: {
|
|
57
|
+
one: "1 yıldan fazla",
|
|
58
|
+
other: "{{count}} yıldan fazla"
|
|
59
|
+
},
|
|
60
|
+
almostXYears: {
|
|
61
|
+
one: "neredeyse 1 yıl",
|
|
62
|
+
other: "neredeyse {{count}} yıl"
|
|
63
|
+
}
|
|
64
|
+
}, l = (a, r, e) => {
|
|
65
|
+
let t;
|
|
66
|
+
const s = d[a];
|
|
67
|
+
return typeof s == "string" ? t = s : r === 1 ? t = s.one : t = s.other.replace("{{count}}", r.toString()), e != null && e.addSuffix ? e.comparison && e.comparison > 0 ? t + " sonra" : t + " önce" : t;
|
|
68
|
+
}, c = {
|
|
69
|
+
full: "d MMMM y EEEE",
|
|
70
|
+
long: "d MMMM y",
|
|
71
|
+
medium: "d MMM y",
|
|
72
|
+
short: "dd.MM.yyyy"
|
|
73
|
+
}, u = {
|
|
74
|
+
full: "HH:mm:ss zzzz",
|
|
75
|
+
long: "HH:mm:ss z",
|
|
76
|
+
medium: "HH:mm:ss",
|
|
77
|
+
short: "HH:mm"
|
|
78
|
+
}, h = {
|
|
79
|
+
full: "{{date}} 'saat' {{time}}",
|
|
80
|
+
long: "{{date}} 'saat' {{time}}",
|
|
81
|
+
medium: "{{date}}, {{time}}",
|
|
82
|
+
short: "{{date}}, {{time}}"
|
|
83
|
+
}, y = {
|
|
84
|
+
date: o({
|
|
85
|
+
formats: c,
|
|
86
|
+
defaultWidth: "full"
|
|
87
|
+
}),
|
|
88
|
+
time: o({
|
|
89
|
+
formats: u,
|
|
90
|
+
defaultWidth: "full"
|
|
91
|
+
}),
|
|
92
|
+
dateTime: o({
|
|
93
|
+
formats: h,
|
|
94
|
+
defaultWidth: "full"
|
|
95
|
+
})
|
|
96
|
+
}, k = {
|
|
97
|
+
lastWeek: "'geçen hafta' eeee 'saat' p",
|
|
98
|
+
yesterday: "'dün saat' p",
|
|
99
|
+
today: "'bugün saat' p",
|
|
100
|
+
tomorrow: "'yarın saat' p",
|
|
101
|
+
nextWeek: "eeee 'saat' p",
|
|
102
|
+
other: "P"
|
|
103
|
+
}, f = (a, r, e, t) => k[a], g = {
|
|
104
|
+
narrow: ["MÖ", "MS"],
|
|
105
|
+
abbreviated: ["MÖ", "MS"],
|
|
106
|
+
wide: ["Milattan Önce", "Milattan Sonra"]
|
|
107
|
+
}, b = {
|
|
108
|
+
narrow: ["1", "2", "3", "4"],
|
|
109
|
+
abbreviated: ["1Ç", "2Ç", "3Ç", "4Ç"],
|
|
110
|
+
wide: ["İlk çeyrek", "İkinci Çeyrek", "Üçüncü çeyrek", "Son çeyrek"]
|
|
111
|
+
}, P = {
|
|
112
|
+
narrow: ["O", "Ş", "M", "N", "M", "H", "T", "A", "E", "E", "K", "A"],
|
|
113
|
+
abbreviated: [
|
|
114
|
+
"Oca",
|
|
115
|
+
"Şub",
|
|
116
|
+
"Mar",
|
|
117
|
+
"Nis",
|
|
118
|
+
"May",
|
|
119
|
+
"Haz",
|
|
120
|
+
"Tem",
|
|
121
|
+
"Ağu",
|
|
122
|
+
"Eyl",
|
|
123
|
+
"Eki",
|
|
124
|
+
"Kas",
|
|
125
|
+
"Ara"
|
|
126
|
+
],
|
|
127
|
+
wide: [
|
|
128
|
+
"Ocak",
|
|
129
|
+
"Şubat",
|
|
130
|
+
"Mart",
|
|
131
|
+
"Nisan",
|
|
132
|
+
"Mayıs",
|
|
133
|
+
"Haziran",
|
|
134
|
+
"Temmuz",
|
|
135
|
+
"Ağustos",
|
|
136
|
+
"Eylül",
|
|
137
|
+
"Ekim",
|
|
138
|
+
"Kasım",
|
|
139
|
+
"Aralık"
|
|
140
|
+
]
|
|
141
|
+
}, p = {
|
|
142
|
+
narrow: ["P", "P", "S", "Ç", "P", "C", "C"],
|
|
143
|
+
short: ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"],
|
|
144
|
+
abbreviated: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cts"],
|
|
145
|
+
wide: [
|
|
146
|
+
"Pazar",
|
|
147
|
+
"Pazartesi",
|
|
148
|
+
"Salı",
|
|
149
|
+
"Çarşamba",
|
|
150
|
+
"Perşembe",
|
|
151
|
+
"Cuma",
|
|
152
|
+
"Cumartesi"
|
|
153
|
+
]
|
|
154
|
+
}, M = {
|
|
155
|
+
narrow: {
|
|
156
|
+
am: "öö",
|
|
157
|
+
pm: "ös",
|
|
158
|
+
midnight: "gy",
|
|
159
|
+
noon: "ö",
|
|
160
|
+
morning: "sa",
|
|
161
|
+
afternoon: "ös",
|
|
162
|
+
evening: "ak",
|
|
163
|
+
night: "ge"
|
|
164
|
+
},
|
|
165
|
+
abbreviated: {
|
|
166
|
+
am: "ÖÖ",
|
|
167
|
+
pm: "ÖS",
|
|
168
|
+
midnight: "gece yarısı",
|
|
169
|
+
noon: "öğle",
|
|
170
|
+
morning: "sabah",
|
|
171
|
+
afternoon: "öğleden sonra",
|
|
172
|
+
evening: "akşam",
|
|
173
|
+
night: "gece"
|
|
174
|
+
},
|
|
175
|
+
wide: {
|
|
176
|
+
am: "Ö.Ö.",
|
|
177
|
+
pm: "Ö.S.",
|
|
178
|
+
midnight: "gece yarısı",
|
|
179
|
+
noon: "öğle",
|
|
180
|
+
morning: "sabah",
|
|
181
|
+
afternoon: "öğleden sonra",
|
|
182
|
+
evening: "akşam",
|
|
183
|
+
night: "gece"
|
|
184
|
+
}
|
|
185
|
+
}, w = {
|
|
186
|
+
narrow: {
|
|
187
|
+
am: "öö",
|
|
188
|
+
pm: "ös",
|
|
189
|
+
midnight: "gy",
|
|
190
|
+
noon: "ö",
|
|
191
|
+
morning: "sa",
|
|
192
|
+
afternoon: "ös",
|
|
193
|
+
evening: "ak",
|
|
194
|
+
night: "ge"
|
|
195
|
+
},
|
|
196
|
+
abbreviated: {
|
|
197
|
+
am: "ÖÖ",
|
|
198
|
+
pm: "ÖS",
|
|
199
|
+
midnight: "gece yarısı",
|
|
200
|
+
noon: "öğlen",
|
|
201
|
+
morning: "sabahleyin",
|
|
202
|
+
afternoon: "öğleden sonra",
|
|
203
|
+
evening: "akşamleyin",
|
|
204
|
+
night: "geceleyin"
|
|
205
|
+
},
|
|
206
|
+
wide: {
|
|
207
|
+
am: "ö.ö.",
|
|
208
|
+
pm: "ö.s.",
|
|
209
|
+
midnight: "gece yarısı",
|
|
210
|
+
noon: "öğlen",
|
|
211
|
+
morning: "sabahleyin",
|
|
212
|
+
afternoon: "öğleden sonra",
|
|
213
|
+
evening: "akşamleyin",
|
|
214
|
+
night: "geceleyin"
|
|
215
|
+
}
|
|
216
|
+
}, z = (a, r) => Number(a) + ".", v = {
|
|
217
|
+
ordinalNumber: z,
|
|
218
|
+
era: n({
|
|
219
|
+
values: g,
|
|
220
|
+
defaultWidth: "wide"
|
|
221
|
+
}),
|
|
222
|
+
quarter: n({
|
|
223
|
+
values: b,
|
|
224
|
+
defaultWidth: "wide",
|
|
225
|
+
argumentCallback: (a) => Number(a) - 1
|
|
226
|
+
}),
|
|
227
|
+
month: n({
|
|
228
|
+
values: P,
|
|
229
|
+
defaultWidth: "wide"
|
|
230
|
+
}),
|
|
231
|
+
day: n({
|
|
232
|
+
values: p,
|
|
233
|
+
defaultWidth: "wide"
|
|
234
|
+
}),
|
|
235
|
+
dayPeriod: n({
|
|
236
|
+
values: M,
|
|
237
|
+
defaultWidth: "wide",
|
|
238
|
+
formattingValues: w,
|
|
239
|
+
defaultFormattingWidth: "wide"
|
|
240
|
+
})
|
|
241
|
+
}, W = /^(\d+)(\.)?/i, S = /\d+/i, H = {
|
|
242
|
+
narrow: /^(mö|ms)/i,
|
|
243
|
+
abbreviated: /^(mö|ms)/i,
|
|
244
|
+
wide: /^(milattan önce|milattan sonra)/i
|
|
245
|
+
}, C = {
|
|
246
|
+
any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i]
|
|
247
|
+
}, E = {
|
|
248
|
+
narrow: /^[1234]/i,
|
|
249
|
+
abbreviated: /^[1234]ç/i,
|
|
250
|
+
wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i
|
|
251
|
+
}, D = {
|
|
252
|
+
any: [/1/i, /2/i, /3/i, /4/i],
|
|
253
|
+
abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i],
|
|
254
|
+
wide: [
|
|
255
|
+
/^(i|İ)lk çeyrek/i,
|
|
256
|
+
/(i|İ)kinci çeyrek/i,
|
|
257
|
+
/üçüncü çeyrek/i,
|
|
258
|
+
/son çeyrek/i
|
|
259
|
+
]
|
|
260
|
+
}, x = {
|
|
261
|
+
narrow: /^[oşmnhtaek]/i,
|
|
262
|
+
abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,
|
|
263
|
+
wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i
|
|
264
|
+
}, F = {
|
|
265
|
+
narrow: [
|
|
266
|
+
/^o/i,
|
|
267
|
+
/^ş/i,
|
|
268
|
+
/^m/i,
|
|
269
|
+
/^n/i,
|
|
270
|
+
/^m/i,
|
|
271
|
+
/^h/i,
|
|
272
|
+
/^t/i,
|
|
273
|
+
/^a/i,
|
|
274
|
+
/^e/i,
|
|
275
|
+
/^e/i,
|
|
276
|
+
/^k/i,
|
|
277
|
+
/^a/i
|
|
278
|
+
],
|
|
279
|
+
any: [
|
|
280
|
+
/^o/i,
|
|
281
|
+
/^ş/i,
|
|
282
|
+
/^mar/i,
|
|
283
|
+
/^n/i,
|
|
284
|
+
/^may/i,
|
|
285
|
+
/^h/i,
|
|
286
|
+
/^t/i,
|
|
287
|
+
/^ağ/i,
|
|
288
|
+
/^ey/i,
|
|
289
|
+
/^ek/i,
|
|
290
|
+
/^k/i,
|
|
291
|
+
/^ar/i
|
|
292
|
+
]
|
|
293
|
+
}, N = {
|
|
294
|
+
narrow: /^[psçc]/i,
|
|
295
|
+
short: /^(pz|pt|sa|ça|pe|cu|ct)/i,
|
|
296
|
+
abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i,
|
|
297
|
+
wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i
|
|
298
|
+
}, V = {
|
|
299
|
+
narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i],
|
|
300
|
+
any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i],
|
|
301
|
+
wide: [
|
|
302
|
+
/^pazar(?!tesi)/i,
|
|
303
|
+
/^pazartesi/i,
|
|
304
|
+
/^salı/i,
|
|
305
|
+
/^çarşamba/i,
|
|
306
|
+
/^perşembe/i,
|
|
307
|
+
/^cuma(?!rtesi)/i,
|
|
308
|
+
/^cumartesi/i
|
|
309
|
+
]
|
|
310
|
+
}, X = {
|
|
311
|
+
narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i,
|
|
312
|
+
any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i
|
|
313
|
+
}, A = {
|
|
314
|
+
any: {
|
|
315
|
+
am: /^ö\.?ö\.?/i,
|
|
316
|
+
pm: /^ö\.?s\.?/i,
|
|
317
|
+
midnight: /^(gy|gece yarısı)/i,
|
|
318
|
+
noon: /^öğ/i,
|
|
319
|
+
morning: /^sa/i,
|
|
320
|
+
afternoon: /^öğleden sonra/i,
|
|
321
|
+
evening: /^ak/i,
|
|
322
|
+
night: /^ge/i
|
|
323
|
+
}
|
|
324
|
+
}, T = {
|
|
325
|
+
ordinalNumber: m({
|
|
326
|
+
matchPattern: W,
|
|
327
|
+
parsePattern: S,
|
|
328
|
+
valueCallback: function(a) {
|
|
329
|
+
return parseInt(a, 10);
|
|
330
|
+
}
|
|
331
|
+
}),
|
|
332
|
+
era: i({
|
|
333
|
+
matchPatterns: H,
|
|
334
|
+
defaultMatchWidth: "wide",
|
|
335
|
+
parsePatterns: C,
|
|
336
|
+
defaultParseWidth: "any"
|
|
337
|
+
}),
|
|
338
|
+
quarter: i({
|
|
339
|
+
matchPatterns: E,
|
|
340
|
+
defaultMatchWidth: "wide",
|
|
341
|
+
parsePatterns: D,
|
|
342
|
+
defaultParseWidth: "any",
|
|
343
|
+
valueCallback: (a) => a + 1
|
|
344
|
+
}),
|
|
345
|
+
month: i({
|
|
346
|
+
matchPatterns: x,
|
|
347
|
+
defaultMatchWidth: "wide",
|
|
348
|
+
parsePatterns: F,
|
|
349
|
+
defaultParseWidth: "any"
|
|
350
|
+
}),
|
|
351
|
+
day: i({
|
|
352
|
+
matchPatterns: N,
|
|
353
|
+
defaultMatchWidth: "wide",
|
|
354
|
+
parsePatterns: V,
|
|
355
|
+
defaultParseWidth: "any"
|
|
356
|
+
}),
|
|
357
|
+
dayPeriod: i({
|
|
358
|
+
matchPatterns: X,
|
|
359
|
+
defaultMatchWidth: "any",
|
|
360
|
+
parsePatterns: A,
|
|
361
|
+
defaultParseWidth: "any"
|
|
362
|
+
})
|
|
363
|
+
}, O = {
|
|
364
|
+
code: "tr",
|
|
365
|
+
formatDistance: l,
|
|
366
|
+
formatLong: y,
|
|
367
|
+
formatRelative: f,
|
|
368
|
+
localize: v,
|
|
369
|
+
match: T,
|
|
370
|
+
options: {
|
|
371
|
+
weekStartsOn: 1,
|
|
372
|
+
firstWeekContainsDate: 1
|
|
373
|
+
}
|
|
374
|
+
};
|
|
375
|
+
export {
|
|
376
|
+
O as tr
|
|
377
|
+
};
|
|
378
|
+
//# sourceMappingURL=tr-Dmr412Ac.js.map
|
|
@@ -1,68 +1,55 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { C as
|
|
6
|
-
import {
|
|
1
|
+
import { jsxs as N, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as T } from "react";
|
|
3
|
+
import { c } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as C } from "react-i18next";
|
|
5
|
+
import { C as I } from "./check-DPdL_Sm7.js";
|
|
6
|
+
import { C as k } from "./calendar-clock-CYkcqdwl.js";
|
|
7
7
|
import { F as _ } from "./file-text-DSNuv2B8.js";
|
|
8
|
+
import { c as l } from "./createLucideIcon-CrFbzy84.js";
|
|
8
9
|
/**
|
|
9
10
|
* @license lucide-react v1.8.0 - ISC
|
|
10
11
|
*
|
|
11
12
|
* This source code is licensed under the ISC license.
|
|
12
13
|
* See the LICENSE file in the root directory of this source tree.
|
|
13
14
|
*/
|
|
14
|
-
const
|
|
15
|
+
const A = [
|
|
15
16
|
["path", { d: "M17 7 7 17", key: "15tmo1" }],
|
|
16
17
|
["path", { d: "M17 17H7V7", key: "1org7z" }]
|
|
17
|
-
],
|
|
18
|
+
], E = l("arrow-down-left", A);
|
|
18
19
|
/**
|
|
19
20
|
* @license lucide-react v1.8.0 - ISC
|
|
20
21
|
*
|
|
21
22
|
* This source code is licensed under the ISC license.
|
|
22
23
|
* See the LICENSE file in the root directory of this source tree.
|
|
23
24
|
*/
|
|
24
|
-
const
|
|
25
|
+
const L = [
|
|
25
26
|
["path", { d: "M7 7h10v10", key: "1tivn9" }],
|
|
26
27
|
["path", { d: "M7 17 17 7", key: "1vkiza" }]
|
|
27
|
-
],
|
|
28
|
-
/**
|
|
29
|
-
* @license lucide-react v1.8.0 - ISC
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the ISC license.
|
|
32
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/
|
|
34
|
-
const L = [
|
|
35
|
-
["path", { d: "M16 14v2.2l1.6 1", key: "fo4ql5" }],
|
|
36
|
-
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
37
|
-
["path", { d: "M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5", key: "1osxxc" }],
|
|
38
|
-
["path", { d: "M3 10h5", key: "r794hk" }],
|
|
39
|
-
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
40
|
-
["circle", { cx: "16", cy: "16", r: "6", key: "qoo3c4" }]
|
|
41
|
-
], R = t("calendar-clock", L), S = {
|
|
28
|
+
], R = l("arrow-up-right", L), S = {
|
|
42
29
|
debt: "debt",
|
|
43
30
|
credit: "credit",
|
|
44
31
|
"to-invoice": "toInvoice",
|
|
45
32
|
"to-deliver": "toDeliver",
|
|
46
33
|
settled: "settled"
|
|
47
|
-
}, V = {
|
|
48
|
-
debt: C,
|
|
49
|
-
credit: E,
|
|
50
|
-
"to-invoice": _,
|
|
51
|
-
"to-deliver": R,
|
|
52
|
-
settled: M
|
|
53
34
|
}, F = {
|
|
35
|
+
debt: E,
|
|
36
|
+
credit: R,
|
|
37
|
+
"to-invoice": _,
|
|
38
|
+
"to-deliver": k,
|
|
39
|
+
settled: I
|
|
40
|
+
}, M = {
|
|
54
41
|
debt: "−",
|
|
55
42
|
credit: "+",
|
|
56
43
|
"to-invoice": "",
|
|
57
44
|
"to-deliver": "",
|
|
58
45
|
settled: ""
|
|
59
|
-
},
|
|
46
|
+
}, V = {
|
|
60
47
|
debt: -1,
|
|
61
48
|
credit: 1,
|
|
62
49
|
"to-invoice": 1,
|
|
63
50
|
"to-deliver": 1,
|
|
64
51
|
settled: 1
|
|
65
|
-
},
|
|
52
|
+
}, D = "EUR", U = c(
|
|
66
53
|
[
|
|
67
54
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
68
55
|
"ds:rounded-[var(--radius-full)] ds:border",
|
|
@@ -114,7 +101,7 @@ const L = [
|
|
|
114
101
|
{ state: "settled", class: "ds:font-medium" }
|
|
115
102
|
]
|
|
116
103
|
}
|
|
117
|
-
),
|
|
104
|
+
), j = c(
|
|
118
105
|
"ds:shrink-0 ds:[&>svg]:block ds:rtl:[&>svg]:-scale-x-100",
|
|
119
106
|
{
|
|
120
107
|
variants: {
|
|
@@ -126,54 +113,54 @@ const L = [
|
|
|
126
113
|
},
|
|
127
114
|
defaultVariants: { size: "md" }
|
|
128
115
|
}
|
|
129
|
-
),
|
|
116
|
+
), G = T(
|
|
130
117
|
({
|
|
131
118
|
state: e,
|
|
132
|
-
amount:
|
|
133
|
-
currency:
|
|
134
|
-
locale:
|
|
119
|
+
amount: m,
|
|
120
|
+
currency: t = D,
|
|
121
|
+
locale: v,
|
|
135
122
|
size: r = "md",
|
|
136
|
-
showLabel:
|
|
137
|
-
className:
|
|
123
|
+
showLabel: f = !1,
|
|
124
|
+
className: p,
|
|
138
125
|
"aria-label": u,
|
|
139
126
|
...g
|
|
140
|
-
},
|
|
141
|
-
const { t:
|
|
127
|
+
}, b) => {
|
|
128
|
+
const { t: o, i18n: h } = C(), a = v ?? h.language ?? "en", x = F[e], i = M[e], n = Math.abs(m), y = new Intl.NumberFormat(a, {
|
|
142
129
|
style: "currency",
|
|
143
|
-
currency:
|
|
130
|
+
currency: t,
|
|
144
131
|
signDisplay: "never"
|
|
145
|
-
}).format(
|
|
132
|
+
}).format(n), d = o(`financial.state.${S[e]}`), w = new Intl.NumberFormat(a, {
|
|
146
133
|
style: "currency",
|
|
147
|
-
currency:
|
|
134
|
+
currency: t,
|
|
148
135
|
signDisplay: e === "debt" ? "always" : "auto"
|
|
149
|
-
}).format(
|
|
150
|
-
state:
|
|
151
|
-
amount:
|
|
136
|
+
}).format(n * V[e]), z = u ?? o("financial.aria.label", {
|
|
137
|
+
state: d,
|
|
138
|
+
amount: w
|
|
152
139
|
});
|
|
153
|
-
return /* @__PURE__ */
|
|
140
|
+
return /* @__PURE__ */ N(
|
|
154
141
|
"span",
|
|
155
142
|
{
|
|
156
|
-
ref:
|
|
143
|
+
ref: b,
|
|
157
144
|
role: "img",
|
|
158
|
-
"aria-label":
|
|
145
|
+
"aria-label": z,
|
|
159
146
|
"data-component": "transaction-chip",
|
|
160
147
|
"data-state": e,
|
|
161
|
-
className:
|
|
148
|
+
className: U({
|
|
162
149
|
state: e,
|
|
163
150
|
size: r,
|
|
164
151
|
bold: e !== "settled",
|
|
165
|
-
className:
|
|
152
|
+
className: p
|
|
166
153
|
}),
|
|
167
154
|
...g,
|
|
168
155
|
children: [
|
|
169
|
-
/* @__PURE__ */ s("span", { "aria-hidden": "true", className:
|
|
170
|
-
|
|
171
|
-
|
|
156
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", className: j({ size: r }), children: /* @__PURE__ */ s(x, {}) }),
|
|
157
|
+
f && /* @__PURE__ */ s("span", { "aria-hidden": "true", className: "type-eyebrow", children: d }),
|
|
158
|
+
i && /* @__PURE__ */ s(
|
|
172
159
|
"span",
|
|
173
160
|
{
|
|
174
161
|
"aria-hidden": "true",
|
|
175
162
|
className: "ds:[font-variant-numeric:var(--font-feature-tabular)]",
|
|
176
|
-
children:
|
|
163
|
+
children: i
|
|
177
164
|
}
|
|
178
165
|
),
|
|
179
166
|
/* @__PURE__ */ s(
|
|
@@ -181,7 +168,7 @@ const L = [
|
|
|
181
168
|
{
|
|
182
169
|
"aria-hidden": "true",
|
|
183
170
|
className: "ds:[font-variant-numeric:var(--font-feature-tabular)]",
|
|
184
|
-
children:
|
|
171
|
+
children: y
|
|
185
172
|
}
|
|
186
173
|
)
|
|
187
174
|
]
|
|
@@ -189,8 +176,8 @@ const L = [
|
|
|
189
176
|
);
|
|
190
177
|
}
|
|
191
178
|
);
|
|
192
|
-
|
|
179
|
+
G.displayName = "TransactionChip";
|
|
193
180
|
export {
|
|
194
|
-
|
|
181
|
+
G as T
|
|
195
182
|
};
|
|
196
|
-
//# sourceMappingURL=transaction-chip-
|
|
183
|
+
//# sourceMappingURL=transaction-chip-B8ujzowA.js.map
|