@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
|
@@ -2,9 +2,9 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as B, useMemo as L, useState as U, useRef as W, useCallback as _ } from "react";
|
|
3
3
|
import { c as D } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as E } from "react-i18next";
|
|
5
|
-
import { I as H } from "./icon-button-
|
|
5
|
+
import { I as H } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { B as k } from "./button-DD_0Xdmr.js";
|
|
7
|
-
import { A as X } from "./avatar-
|
|
7
|
+
import { A as X } from "./avatar-BNQNhoyL.js";
|
|
8
8
|
import { T as q } from "./timestamp-BV2lC-wV.js";
|
|
9
9
|
import { X as G } from "./x-CCcI3eJp.js";
|
|
10
10
|
const J = D(
|
|
@@ -277,4 +277,4 @@ export {
|
|
|
277
277
|
Q as M,
|
|
278
278
|
O as i
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=message-card-
|
|
280
|
+
//# sourceMappingURL=message-card-BbRhZkDI.js.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as s, jsxs as c, Fragment as B } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as re, useState as ne, useCallback as ie,
|
|
2
|
+
import { forwardRef as re, useState as ne, useCallback as ie, useEffect as A, useRef as m, useMemo as de, useImperativeHandle as oe } from "react";
|
|
3
3
|
import * as x from "@radix-ui/react-popover";
|
|
4
4
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as q } from "react-i18next";
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
6
|
+
import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { I as me } from "./icon-button-CKEOrN37.js";
|
|
8
9
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
9
10
|
import { S as L } from "./separator-CYU_bGFn.js";
|
|
10
11
|
import { S as f } from "./skeleton-CZbwyJAA.js";
|
|
11
|
-
import { M as pe } from "./message-card-
|
|
12
|
-
import { u as ue } from "./registry-
|
|
12
|
+
import { M as pe } from "./message-card-BbRhZkDI.js";
|
|
13
|
+
import { u as ue } from "./registry-nPAVE19X.js";
|
|
13
14
|
import { M as F } from "./mail-C8irm52s.js";
|
|
14
15
|
const ge = {
|
|
15
16
|
id: "message-tray",
|
|
@@ -219,7 +220,7 @@ const be = re(
|
|
|
219
220
|
...X
|
|
220
221
|
}, Z) => {
|
|
221
222
|
var K;
|
|
222
|
-
const { t: d } = q(), [$, h] =
|
|
223
|
+
const { t: d } = q(), [$, h] = ce({
|
|
223
224
|
value: H,
|
|
224
225
|
defaultValue: !1,
|
|
225
226
|
onChange: _
|
|
@@ -232,7 +233,7 @@ const be = re(
|
|
|
232
233
|
const r = e.trim(), n = parseFloat(r);
|
|
233
234
|
return Number.isFinite(n) ? r.endsWith("ms") ? n : n * 1e3 : 200;
|
|
234
235
|
}, []);
|
|
235
|
-
|
|
236
|
+
le(() => {
|
|
236
237
|
S((e) => {
|
|
237
238
|
const r = new Set(t.map((i) => i.id)), n = new Set(e.map((i) => i.item.id)), o = e.map((i) => {
|
|
238
239
|
if (r.has(i.item.id)) {
|
|
@@ -277,7 +278,7 @@ const be = re(
|
|
|
277
278
|
j.current = b;
|
|
278
279
|
const I = m(w);
|
|
279
280
|
I.current = w;
|
|
280
|
-
const ae =
|
|
281
|
+
const ae = de(
|
|
281
282
|
() => ({
|
|
282
283
|
open: () => h(!0),
|
|
283
284
|
close: () => h(!1),
|
|
@@ -299,7 +300,7 @@ const be = re(
|
|
|
299
300
|
}),
|
|
300
301
|
[h, p, v, u]
|
|
301
302
|
), V = m(null);
|
|
302
|
-
return
|
|
303
|
+
return oe(Z, () => V.current, []), ue(ge, ae, a), /* @__PURE__ */ s(
|
|
303
304
|
"div",
|
|
304
305
|
{
|
|
305
306
|
ref: V,
|
|
@@ -411,4 +412,4 @@ export {
|
|
|
411
412
|
be as M,
|
|
412
413
|
ge as m
|
|
413
414
|
};
|
|
414
|
-
//# sourceMappingURL=message-tray-
|
|
415
|
+
//# sourceMappingURL=message-tray-B762TKuv.js.map
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import { forwardRef as qe, useContext as Me, useState as K, useRef as
|
|
1
|
+
import { jsx as n, jsxs as I } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as qe, useContext as Me, useState as K, useRef as x, useMemo as F, useEffect as U, useCallback as Pe } from "react";
|
|
3
3
|
import * as D from "@radix-ui/react-popover";
|
|
4
4
|
import { _ as u } from "./index-4xgbg-sn.js";
|
|
5
5
|
import { c as de } from "./index-D2ZczOXr.js";
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { u as
|
|
8
|
-
import { T as oe } from "./tooltip-
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
6
|
+
import { useTranslation as je } from "react-i18next";
|
|
7
|
+
import { u as $e, F as Be } from "./form-field-context-B3APVHKx.js";
|
|
8
|
+
import { T as oe } from "./tooltip-DvmfrNvB.js";
|
|
9
|
+
import { c as Ke } from "./compose-refs-C0k0tdqF.js";
|
|
10
|
+
import { u as Ue } from "./use-controllable-state-BiY4xTzM.js";
|
|
11
|
+
import { u as Qe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
12
|
import { g as Ye } from "./group-options-BvKhQ3xb.js";
|
|
12
13
|
import { b as Q, c as Ge } from "./input-surface-xyERuLU_.js";
|
|
13
|
-
import { u as He } from "./registry-
|
|
14
|
+
import { u as He } from "./registry-nPAVE19X.js";
|
|
14
15
|
import { X as Xe } from "./x-CCcI3eJp.js";
|
|
15
16
|
import { C as Je } from "./check-DPdL_Sm7.js";
|
|
16
17
|
const We = {
|
|
@@ -171,11 +172,11 @@ const We = {
|
|
|
171
172
|
id: z,
|
|
172
173
|
...ge
|
|
173
174
|
}, ve) {
|
|
174
|
-
const { t: f } =
|
|
175
|
+
const { t: f } = je(), b = $e(), k = Me(Be) !== null, [be, q] = Ue({
|
|
175
176
|
value: ce,
|
|
176
177
|
defaultValue: ue ?? [],
|
|
177
178
|
onChange: fe
|
|
178
|
-
}), r = be ?? [], [C, m] = K(!1), [p, M] = K(""), y =
|
|
179
|
+
}), r = be ?? [], [C, m] = K(!1), [p, M] = K(""), y = x(null), w = x([]), H = x(null), ye = Ke(ve, H), g = k && b.disabled || !!pe, we = k && b.required, X = k && b.invalid, Ie = k && b.describedBy ? b.describedBy : void 0, xe = z ?? (k ? b.id : void 0), ke = F(() => {
|
|
179
180
|
const e = /* @__PURE__ */ new Map();
|
|
180
181
|
for (const t of c) e.set(t.value, t.label);
|
|
181
182
|
return e;
|
|
@@ -195,15 +196,15 @@ const We = {
|
|
|
195
196
|
S(e.slice(0, t));
|
|
196
197
|
}, Ae = () => {
|
|
197
198
|
S([]);
|
|
198
|
-
}, W =
|
|
199
|
+
}, W = x(r);
|
|
199
200
|
U(() => {
|
|
200
201
|
W.current = r;
|
|
201
202
|
}, [r]);
|
|
202
|
-
const Z =
|
|
203
|
+
const Z = x(p);
|
|
203
204
|
U(() => {
|
|
204
205
|
Z.current = p;
|
|
205
206
|
}, [p]);
|
|
206
|
-
const ee =
|
|
207
|
+
const ee = x(C);
|
|
207
208
|
U(() => {
|
|
208
209
|
ee.current = C;
|
|
209
210
|
}, [C]);
|
|
@@ -294,7 +295,7 @@ const We = {
|
|
|
294
295
|
}, [T, $] = K(
|
|
295
296
|
Number.POSITIVE_INFINITY
|
|
296
297
|
);
|
|
297
|
-
|
|
298
|
+
Qe(() => {
|
|
298
299
|
const e = H.current;
|
|
299
300
|
if (!e) return;
|
|
300
301
|
const t = () => {
|
|
@@ -334,8 +335,8 @@ const We = {
|
|
|
334
335
|
count: r.length,
|
|
335
336
|
defaultValue: `${r.length} selected`
|
|
336
337
|
}), { onClick: B, ...Oe } = ge;
|
|
337
|
-
return /* @__PURE__ */ n(u, { shouldFilter: !1, label: Le, children: /* @__PURE__ */
|
|
338
|
-
/* @__PURE__ */ n(D.Anchor, { asChild: !0, children: /* @__PURE__ */
|
|
338
|
+
return /* @__PURE__ */ n(u, { shouldFilter: !1, label: Le, children: /* @__PURE__ */ I(D.Root, { open: C, onOpenChange: Fe, children: [
|
|
339
|
+
/* @__PURE__ */ n(D.Anchor, { asChild: !0, children: /* @__PURE__ */ I(
|
|
339
340
|
"div",
|
|
340
341
|
{
|
|
341
342
|
ref: ye,
|
|
@@ -351,7 +352,7 @@ const We = {
|
|
|
351
352
|
children: [
|
|
352
353
|
Ee.map((e, t) => (
|
|
353
354
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- chip pill receives focus via roving tabindex; chip removal uses an inner button
|
|
354
|
-
/* @__PURE__ */
|
|
355
|
+
/* @__PURE__ */ I(
|
|
355
356
|
"span",
|
|
356
357
|
{
|
|
357
358
|
ref: (s) => {
|
|
@@ -424,8 +425,8 @@ const We = {
|
|
|
424
425
|
g || m(!0);
|
|
425
426
|
},
|
|
426
427
|
placeholder: r.length === 0 ? te : "",
|
|
427
|
-
id:
|
|
428
|
-
"aria-describedby":
|
|
428
|
+
id: xe,
|
|
429
|
+
"aria-describedby": Ie,
|
|
429
430
|
"aria-invalid": X || void 0,
|
|
430
431
|
"aria-required": we || void 0,
|
|
431
432
|
disabled: g,
|
|
@@ -447,7 +448,7 @@ const We = {
|
|
|
447
448
|
align: "start",
|
|
448
449
|
sideOffset: 4,
|
|
449
450
|
className: tt,
|
|
450
|
-
children: /* @__PURE__ */
|
|
451
|
+
children: /* @__PURE__ */ I(
|
|
451
452
|
u.List,
|
|
452
453
|
{
|
|
453
454
|
role: "listbox",
|
|
@@ -455,7 +456,7 @@ const We = {
|
|
|
455
456
|
"aria-label": te,
|
|
456
457
|
className: "ds:max-h-[20rem] ds:overflow-y-auto ds:p-1",
|
|
457
458
|
children: [
|
|
458
|
-
De ? /* @__PURE__ */
|
|
459
|
+
De ? /* @__PURE__ */ I(u.Group, { children: [
|
|
459
460
|
Y ? /* @__PURE__ */ n(
|
|
460
461
|
u.Item,
|
|
461
462
|
{
|
|
@@ -478,7 +479,7 @@ const We = {
|
|
|
478
479
|
/* @__PURE__ */ n(u.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: f("inputs.multiSelect.noOptions", "No options found") }),
|
|
479
480
|
_e.map(({ group: e, items: t }, s) => {
|
|
480
481
|
const o = t.map((a) => {
|
|
481
|
-
const d = r.includes(a.value), l = !d && J, h = !!a.disabled || l, N = /* @__PURE__ */
|
|
482
|
+
const d = r.includes(a.value), l = !d && J, h = !!a.disabled || l, N = /* @__PURE__ */ I(
|
|
482
483
|
u.Item,
|
|
483
484
|
{
|
|
484
485
|
value: a.value,
|
|
@@ -539,10 +540,10 @@ const We = {
|
|
|
539
540
|
}
|
|
540
541
|
);
|
|
541
542
|
le.displayName = "MultiSelect";
|
|
542
|
-
const
|
|
543
|
+
const wt = le;
|
|
543
544
|
export {
|
|
544
|
-
|
|
545
|
+
wt as M,
|
|
545
546
|
Ze as a,
|
|
546
547
|
We as m
|
|
547
548
|
};
|
|
548
|
-
//# sourceMappingURL=multi-select-
|
|
549
|
+
//# sourceMappingURL=multi-select-DOLO3K_z.js.map
|
|
@@ -5,8 +5,8 @@ import { Slot as C } from "@radix-ui/react-slot";
|
|
|
5
5
|
import { c as k } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as z } from "react-i18next";
|
|
7
7
|
import { u as V } from "./use-controllable-state-BiY4xTzM.js";
|
|
8
|
-
import { u as B } from "./registry-
|
|
9
|
-
import { u as R } from "./use-direction-
|
|
8
|
+
import { u as B } from "./registry-nPAVE19X.js";
|
|
9
|
+
import { u as R } from "./use-direction-Dp8h70PP.js";
|
|
10
10
|
import { C as L } from "./chevron-down-BX_NP2Yh.js";
|
|
11
11
|
const T = {
|
|
12
12
|
id: "navigation-menu",
|
|
@@ -274,4 +274,4 @@ export {
|
|
|
274
274
|
g,
|
|
275
275
|
T as n
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=navigation-menu-
|
|
277
|
+
//# sourceMappingURL=navigation-menu-C6lBYVv9.js.map
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { o as d, q as n, r, v as s } from "./react-day-picker-DsjfS7uI.js";
|
|
2
|
+
const m = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "minder dan een seconde",
|
|
5
|
+
other: "minder dan {{count}} seconden"
|
|
6
|
+
},
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "1 seconde",
|
|
9
|
+
other: "{{count}} seconden"
|
|
10
|
+
},
|
|
11
|
+
halfAMinute: "een halve minuut",
|
|
12
|
+
lessThanXMinutes: {
|
|
13
|
+
one: "minder dan een minuut",
|
|
14
|
+
other: "minder dan {{count}} minuten"
|
|
15
|
+
},
|
|
16
|
+
xMinutes: {
|
|
17
|
+
one: "een minuut",
|
|
18
|
+
other: "{{count}} minuten"
|
|
19
|
+
},
|
|
20
|
+
aboutXHours: {
|
|
21
|
+
one: "ongeveer 1 uur",
|
|
22
|
+
other: "ongeveer {{count}} uur"
|
|
23
|
+
},
|
|
24
|
+
xHours: {
|
|
25
|
+
one: "1 uur",
|
|
26
|
+
other: "{{count}} uur"
|
|
27
|
+
},
|
|
28
|
+
xDays: {
|
|
29
|
+
one: "1 dag",
|
|
30
|
+
other: "{{count}} dagen"
|
|
31
|
+
},
|
|
32
|
+
aboutXWeeks: {
|
|
33
|
+
one: "ongeveer 1 week",
|
|
34
|
+
other: "ongeveer {{count}} weken"
|
|
35
|
+
},
|
|
36
|
+
xWeeks: {
|
|
37
|
+
one: "1 week",
|
|
38
|
+
other: "{{count}} weken"
|
|
39
|
+
},
|
|
40
|
+
aboutXMonths: {
|
|
41
|
+
one: "ongeveer 1 maand",
|
|
42
|
+
other: "ongeveer {{count}} maanden"
|
|
43
|
+
},
|
|
44
|
+
xMonths: {
|
|
45
|
+
one: "1 maand",
|
|
46
|
+
other: "{{count}} maanden"
|
|
47
|
+
},
|
|
48
|
+
aboutXYears: {
|
|
49
|
+
one: "ongeveer 1 jaar",
|
|
50
|
+
other: "ongeveer {{count}} jaar"
|
|
51
|
+
},
|
|
52
|
+
xYears: {
|
|
53
|
+
one: "1 jaar",
|
|
54
|
+
other: "{{count}} jaar"
|
|
55
|
+
},
|
|
56
|
+
overXYears: {
|
|
57
|
+
one: "meer dan 1 jaar",
|
|
58
|
+
other: "meer dan {{count}} jaar"
|
|
59
|
+
},
|
|
60
|
+
almostXYears: {
|
|
61
|
+
one: "bijna 1 jaar",
|
|
62
|
+
other: "bijna {{count}} jaar"
|
|
63
|
+
}
|
|
64
|
+
}, u = (e, o, a) => {
|
|
65
|
+
let t;
|
|
66
|
+
const i = m[e];
|
|
67
|
+
return typeof i == "string" ? t = i : o === 1 ? t = i.one : t = i.other.replace("{{count}}", String(o)), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "over " + t : t + " geleden" : t;
|
|
68
|
+
}, c = {
|
|
69
|
+
full: "EEEE d MMMM y",
|
|
70
|
+
long: "d MMMM y",
|
|
71
|
+
medium: "d MMM y",
|
|
72
|
+
short: "dd-MM-y"
|
|
73
|
+
}, h = {
|
|
74
|
+
full: "HH:mm:ss zzzz",
|
|
75
|
+
long: "HH:mm:ss z",
|
|
76
|
+
medium: "HH:mm:ss",
|
|
77
|
+
short: "HH:mm"
|
|
78
|
+
}, l = {
|
|
79
|
+
full: "{{date}} 'om' {{time}}",
|
|
80
|
+
long: "{{date}} 'om' {{time}}",
|
|
81
|
+
medium: "{{date}}, {{time}}",
|
|
82
|
+
short: "{{date}}, {{time}}"
|
|
83
|
+
}, g = {
|
|
84
|
+
date: d({
|
|
85
|
+
formats: c,
|
|
86
|
+
defaultWidth: "full"
|
|
87
|
+
}),
|
|
88
|
+
time: d({
|
|
89
|
+
formats: h,
|
|
90
|
+
defaultWidth: "full"
|
|
91
|
+
}),
|
|
92
|
+
dateTime: d({
|
|
93
|
+
formats: l,
|
|
94
|
+
defaultWidth: "full"
|
|
95
|
+
})
|
|
96
|
+
}, v = {
|
|
97
|
+
lastWeek: "'afgelopen' eeee 'om' p",
|
|
98
|
+
yesterday: "'gisteren om' p",
|
|
99
|
+
today: "'vandaag om' p",
|
|
100
|
+
tomorrow: "'morgen om' p",
|
|
101
|
+
nextWeek: "eeee 'om' p",
|
|
102
|
+
other: "P"
|
|
103
|
+
}, f = (e, o, a, t) => v[e], b = {
|
|
104
|
+
narrow: ["v.C.", "n.C."],
|
|
105
|
+
abbreviated: ["v.Chr.", "n.Chr."],
|
|
106
|
+
wide: ["voor Christus", "na Christus"]
|
|
107
|
+
}, w = {
|
|
108
|
+
narrow: ["1", "2", "3", "4"],
|
|
109
|
+
abbreviated: ["K1", "K2", "K3", "K4"],
|
|
110
|
+
wide: ["1e kwartaal", "2e kwartaal", "3e kwartaal", "4e kwartaal"]
|
|
111
|
+
}, P = {
|
|
112
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
113
|
+
abbreviated: [
|
|
114
|
+
"jan.",
|
|
115
|
+
"feb.",
|
|
116
|
+
"mrt.",
|
|
117
|
+
"apr.",
|
|
118
|
+
"mei",
|
|
119
|
+
"jun.",
|
|
120
|
+
"jul.",
|
|
121
|
+
"aug.",
|
|
122
|
+
"sep.",
|
|
123
|
+
"okt.",
|
|
124
|
+
"nov.",
|
|
125
|
+
"dec."
|
|
126
|
+
],
|
|
127
|
+
wide: [
|
|
128
|
+
"januari",
|
|
129
|
+
"februari",
|
|
130
|
+
"maart",
|
|
131
|
+
"april",
|
|
132
|
+
"mei",
|
|
133
|
+
"juni",
|
|
134
|
+
"juli",
|
|
135
|
+
"augustus",
|
|
136
|
+
"september",
|
|
137
|
+
"oktober",
|
|
138
|
+
"november",
|
|
139
|
+
"december"
|
|
140
|
+
]
|
|
141
|
+
}, p = {
|
|
142
|
+
narrow: ["Z", "M", "D", "W", "D", "V", "Z"],
|
|
143
|
+
short: ["zo", "ma", "di", "wo", "do", "vr", "za"],
|
|
144
|
+
abbreviated: ["zon", "maa", "din", "woe", "don", "vri", "zat"],
|
|
145
|
+
wide: [
|
|
146
|
+
"zondag",
|
|
147
|
+
"maandag",
|
|
148
|
+
"dinsdag",
|
|
149
|
+
"woensdag",
|
|
150
|
+
"donderdag",
|
|
151
|
+
"vrijdag",
|
|
152
|
+
"zaterdag"
|
|
153
|
+
]
|
|
154
|
+
}, M = {
|
|
155
|
+
narrow: {
|
|
156
|
+
am: "AM",
|
|
157
|
+
pm: "PM",
|
|
158
|
+
midnight: "middernacht",
|
|
159
|
+
noon: "het middaguur",
|
|
160
|
+
morning: "'s ochtends",
|
|
161
|
+
afternoon: "'s middags",
|
|
162
|
+
evening: "'s avonds",
|
|
163
|
+
night: "'s nachts"
|
|
164
|
+
},
|
|
165
|
+
abbreviated: {
|
|
166
|
+
am: "AM",
|
|
167
|
+
pm: "PM",
|
|
168
|
+
midnight: "middernacht",
|
|
169
|
+
noon: "het middaguur",
|
|
170
|
+
morning: "'s ochtends",
|
|
171
|
+
afternoon: "'s middags",
|
|
172
|
+
evening: "'s avonds",
|
|
173
|
+
night: "'s nachts"
|
|
174
|
+
},
|
|
175
|
+
wide: {
|
|
176
|
+
am: "AM",
|
|
177
|
+
pm: "PM",
|
|
178
|
+
midnight: "middernacht",
|
|
179
|
+
noon: "het middaguur",
|
|
180
|
+
morning: "'s ochtends",
|
|
181
|
+
afternoon: "'s middags",
|
|
182
|
+
evening: "'s avonds",
|
|
183
|
+
night: "'s nachts"
|
|
184
|
+
}
|
|
185
|
+
}, j = (e, o) => Number(e) + "e", y = {
|
|
186
|
+
ordinalNumber: j,
|
|
187
|
+
era: n({
|
|
188
|
+
values: b,
|
|
189
|
+
defaultWidth: "wide"
|
|
190
|
+
}),
|
|
191
|
+
quarter: n({
|
|
192
|
+
values: w,
|
|
193
|
+
defaultWidth: "wide",
|
|
194
|
+
argumentCallback: (e) => e - 1
|
|
195
|
+
}),
|
|
196
|
+
month: n({
|
|
197
|
+
values: P,
|
|
198
|
+
defaultWidth: "wide"
|
|
199
|
+
}),
|
|
200
|
+
day: n({
|
|
201
|
+
values: p,
|
|
202
|
+
defaultWidth: "wide"
|
|
203
|
+
}),
|
|
204
|
+
dayPeriod: n({
|
|
205
|
+
values: M,
|
|
206
|
+
defaultWidth: "wide"
|
|
207
|
+
})
|
|
208
|
+
}, z = /^(\d+)e?/i, k = /\d+/i, W = {
|
|
209
|
+
narrow: /^([vn]\.? ?C\.?)/,
|
|
210
|
+
abbreviated: /^([vn]\. ?Chr\.?)/,
|
|
211
|
+
wide: /^((voor|na) Christus)/
|
|
212
|
+
}, C = {
|
|
213
|
+
any: [/^v/, /^n/]
|
|
214
|
+
}, D = {
|
|
215
|
+
narrow: /^[1234]/i,
|
|
216
|
+
abbreviated: /^K[1234]/i,
|
|
217
|
+
wide: /^[1234]e kwartaal/i
|
|
218
|
+
}, x = {
|
|
219
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
220
|
+
}, H = {
|
|
221
|
+
narrow: /^[jfmasond]/i,
|
|
222
|
+
abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,
|
|
223
|
+
wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i
|
|
224
|
+
}, F = {
|
|
225
|
+
narrow: [
|
|
226
|
+
/^j/i,
|
|
227
|
+
/^f/i,
|
|
228
|
+
/^m/i,
|
|
229
|
+
/^a/i,
|
|
230
|
+
/^m/i,
|
|
231
|
+
/^j/i,
|
|
232
|
+
/^j/i,
|
|
233
|
+
/^a/i,
|
|
234
|
+
/^s/i,
|
|
235
|
+
/^o/i,
|
|
236
|
+
/^n/i,
|
|
237
|
+
/^d/i
|
|
238
|
+
],
|
|
239
|
+
any: [
|
|
240
|
+
/^jan/i,
|
|
241
|
+
/^feb/i,
|
|
242
|
+
/^m(r|a)/i,
|
|
243
|
+
/^apr/i,
|
|
244
|
+
/^mei/i,
|
|
245
|
+
/^jun/i,
|
|
246
|
+
/^jul/i,
|
|
247
|
+
/^aug/i,
|
|
248
|
+
/^sep/i,
|
|
249
|
+
/^okt/i,
|
|
250
|
+
/^nov/i,
|
|
251
|
+
/^dec/i
|
|
252
|
+
]
|
|
253
|
+
}, X = {
|
|
254
|
+
narrow: /^[zmdwv]/i,
|
|
255
|
+
short: /^(zo|ma|di|wo|do|vr|za)/i,
|
|
256
|
+
abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i,
|
|
257
|
+
wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i
|
|
258
|
+
}, V = {
|
|
259
|
+
narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i],
|
|
260
|
+
any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i]
|
|
261
|
+
}, A = {
|
|
262
|
+
any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i
|
|
263
|
+
}, E = {
|
|
264
|
+
any: {
|
|
265
|
+
am: /^am/i,
|
|
266
|
+
pm: /^pm/i,
|
|
267
|
+
midnight: /^middernacht/i,
|
|
268
|
+
noon: /^het middaguur/i,
|
|
269
|
+
morning: /ochtend/i,
|
|
270
|
+
afternoon: /middag/i,
|
|
271
|
+
evening: /avond/i,
|
|
272
|
+
night: /nacht/i
|
|
273
|
+
}
|
|
274
|
+
}, L = {
|
|
275
|
+
ordinalNumber: s({
|
|
276
|
+
matchPattern: z,
|
|
277
|
+
parsePattern: k,
|
|
278
|
+
valueCallback: (e) => parseInt(e, 10)
|
|
279
|
+
}),
|
|
280
|
+
era: r({
|
|
281
|
+
matchPatterns: W,
|
|
282
|
+
defaultMatchWidth: "wide",
|
|
283
|
+
parsePatterns: C,
|
|
284
|
+
defaultParseWidth: "any"
|
|
285
|
+
}),
|
|
286
|
+
quarter: r({
|
|
287
|
+
matchPatterns: D,
|
|
288
|
+
defaultMatchWidth: "wide",
|
|
289
|
+
parsePatterns: x,
|
|
290
|
+
defaultParseWidth: "any",
|
|
291
|
+
valueCallback: (e) => e + 1
|
|
292
|
+
}),
|
|
293
|
+
month: r({
|
|
294
|
+
matchPatterns: H,
|
|
295
|
+
defaultMatchWidth: "wide",
|
|
296
|
+
parsePatterns: F,
|
|
297
|
+
defaultParseWidth: "any"
|
|
298
|
+
}),
|
|
299
|
+
day: r({
|
|
300
|
+
matchPatterns: X,
|
|
301
|
+
defaultMatchWidth: "wide",
|
|
302
|
+
parsePatterns: V,
|
|
303
|
+
defaultParseWidth: "any"
|
|
304
|
+
}),
|
|
305
|
+
dayPeriod: r({
|
|
306
|
+
matchPatterns: A,
|
|
307
|
+
defaultMatchWidth: "any",
|
|
308
|
+
parsePatterns: E,
|
|
309
|
+
defaultParseWidth: "any"
|
|
310
|
+
})
|
|
311
|
+
}, S = {
|
|
312
|
+
code: "nl",
|
|
313
|
+
formatDistance: u,
|
|
314
|
+
formatLong: g,
|
|
315
|
+
formatRelative: f,
|
|
316
|
+
localize: y,
|
|
317
|
+
match: L,
|
|
318
|
+
options: {
|
|
319
|
+
weekStartsOn: 1,
|
|
320
|
+
firstWeekContainsDate: 4
|
|
321
|
+
}
|
|
322
|
+
};
|
|
323
|
+
export {
|
|
324
|
+
S as nl
|
|
325
|
+
};
|
|
326
|
+
//# sourceMappingURL=nl-DjPaaWaW.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as M, useMemo as P, useState as R, useRef as B, useCallback as L } from "react";
|
|
3
3
|
import { c as D } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
|
-
import { I as W } from "./icon-button-
|
|
5
|
+
import { I as W } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { B as N } from "./button-DD_0Xdmr.js";
|
|
7
7
|
import { T as E } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { X as H } from "./x-CCcI3eJp.js";
|
|
@@ -251,4 +251,4 @@ export {
|
|
|
251
251
|
G as N,
|
|
252
252
|
q as i
|
|
253
253
|
};
|
|
254
|
-
//# sourceMappingURL=notification-card-
|
|
254
|
+
//# sourceMappingURL=notification-card-DMdO4g54.js.map
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as ne, useState as se, useCallback as oe,
|
|
2
|
+
import { forwardRef as ne, useState as se, useCallback as oe, useEffect as _, useRef as f, useMemo as re, useImperativeHandle as de } from "react";
|
|
3
3
|
import * as y from "@radix-ui/react-popover";
|
|
4
4
|
import { c as C } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as F } from "react-i18next";
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
6
|
+
import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { I as fe } from "./icon-button-CKEOrN37.js";
|
|
8
9
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
9
10
|
import { S as q } from "./separator-CYU_bGFn.js";
|
|
10
11
|
import { S as x } from "./skeleton-CZbwyJAA.js";
|
|
11
|
-
import { N as pe } from "./notification-card-
|
|
12
|
-
import { u as ue } from "./registry-
|
|
12
|
+
import { N as pe } from "./notification-card-DMdO4g54.js";
|
|
13
|
+
import { u as ue } from "./registry-nPAVE19X.js";
|
|
13
14
|
import { c as me } from "./createLucideIcon-CrFbzy84.js";
|
|
14
15
|
/**
|
|
15
16
|
* @license lucide-react v1.8.0 - ISC
|
|
@@ -250,20 +251,20 @@ const Te = ne(
|
|
|
250
251
|
...X
|
|
251
252
|
}, Z) => {
|
|
252
253
|
var B;
|
|
253
|
-
const { t: r } = F(), [$, v] =
|
|
254
|
+
const { t: r } = F(), [$, v] = ce({
|
|
254
255
|
value: U,
|
|
255
256
|
defaultValue: !1,
|
|
256
257
|
onChange: W
|
|
257
258
|
}), T = $ ?? !1, [m, O] = se(
|
|
258
259
|
() => a.map((e) => ({ item: e, leaving: !1 }))
|
|
259
|
-
),
|
|
260
|
+
), I = oe(() => {
|
|
260
261
|
if (typeof window > "u") return 200;
|
|
261
262
|
const e = window.getComputedStyle(document.documentElement).getPropertyValue("--animation-duration");
|
|
262
263
|
if (!e) return 200;
|
|
263
264
|
const n = e.trim(), s = parseFloat(n);
|
|
264
265
|
return Number.isFinite(s) ? n.endsWith("ms") ? s : s * 1e3 : 200;
|
|
265
266
|
}, []);
|
|
266
|
-
|
|
267
|
+
le(() => {
|
|
267
268
|
O((e) => {
|
|
268
269
|
const n = new Set(a.map((o) => o.id)), s = new Set(e.map((o) => o.item.id)), d = e.map((o) => {
|
|
269
270
|
if (n.has(o.item.id)) {
|
|
@@ -278,15 +279,15 @@ const Te = ne(
|
|
|
278
279
|
});
|
|
279
280
|
}, [a]), _(() => {
|
|
280
281
|
if (!m.some((s) => s.leaving)) return;
|
|
281
|
-
const e =
|
|
282
|
+
const e = I(), n = setTimeout(() => {
|
|
282
283
|
O((s) => s.filter((d) => !d.leaving));
|
|
283
284
|
}, e);
|
|
284
285
|
return () => clearTimeout(n);
|
|
285
|
-
}, [m,
|
|
286
|
-
const w = f(null),
|
|
286
|
+
}, [m, I]);
|
|
287
|
+
const w = f(null), j = f((B = a[0]) == null ? void 0 : B.id);
|
|
287
288
|
_(() => {
|
|
288
289
|
var s;
|
|
289
|
-
const e = (s = a[0]) == null ? void 0 : s.id, n =
|
|
290
|
+
const e = (s = a[0]) == null ? void 0 : s.id, n = j.current;
|
|
290
291
|
if (n && e && n !== e && w.current) {
|
|
291
292
|
const d = a[0];
|
|
292
293
|
d && !d.read && (w.current.textContent = r(
|
|
@@ -297,7 +298,7 @@ const Te = ne(
|
|
|
297
298
|
}
|
|
298
299
|
));
|
|
299
300
|
}
|
|
300
|
-
|
|
301
|
+
j.current = e;
|
|
301
302
|
}, [a, r]);
|
|
302
303
|
const h = b ?? 0, D = h > 0 ? r("notificationTray.triggerLabel", {
|
|
303
304
|
count: h,
|
|
@@ -311,7 +312,7 @@ const Te = ne(
|
|
|
311
312
|
V.current = b;
|
|
312
313
|
const K = f(T);
|
|
313
314
|
K.current = T;
|
|
314
|
-
const ie =
|
|
315
|
+
const ie = re(
|
|
315
316
|
() => ({
|
|
316
317
|
open: () => v(!0),
|
|
317
318
|
close: () => v(!1),
|
|
@@ -333,7 +334,7 @@ const Te = ne(
|
|
|
333
334
|
}),
|
|
334
335
|
[v, p, g, u]
|
|
335
336
|
), A = f(null);
|
|
336
|
-
return
|
|
337
|
+
return de(Z, () => A.current, []), ue(ve, ie, i), /* @__PURE__ */ t(
|
|
337
338
|
"div",
|
|
338
339
|
{
|
|
339
340
|
ref: A,
|
|
@@ -445,4 +446,4 @@ export {
|
|
|
445
446
|
Te as N,
|
|
446
447
|
ve as n
|
|
447
448
|
};
|
|
448
|
-
//# sourceMappingURL=notification-tray-
|
|
449
|
+
//# sourceMappingURL=notification-tray-Dl3FTleW.js.map
|