@alfadocs/ui-kit 0.31.0 → 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-Bhk9IYm3.js → booking-BIZ9GSer.js} +15 -15
- 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/{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-Od3Q-Y8J.js → editable-currency-cell-renderer-BpicmolK.js} +314 -317
- 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/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/{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/{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 +1 -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/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.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +23 -1
- 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/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 +27 -0
- package/dist/i18n/locales/en.js +27 -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 +541 -540
- 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 +27 -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 +1 -2
- package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
- package/dist/_chunks/practice-results-CEKjwsgS.js +0 -1441
- 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
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { o as d, q as r, r as i, v as m } from "./react-day-picker-DsjfS7uI.js";
|
|
2
|
+
const s = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "mindre än en sekund",
|
|
5
|
+
other: "mindre än {{count}} sekunder"
|
|
6
|
+
},
|
|
7
|
+
xSeconds: {
|
|
8
|
+
one: "en sekund",
|
|
9
|
+
other: "{{count}} sekunder"
|
|
10
|
+
},
|
|
11
|
+
halfAMinute: "en halv minut",
|
|
12
|
+
lessThanXMinutes: {
|
|
13
|
+
one: "mindre än en minut",
|
|
14
|
+
other: "mindre än {{count}} minuter"
|
|
15
|
+
},
|
|
16
|
+
xMinutes: {
|
|
17
|
+
one: "en minut",
|
|
18
|
+
other: "{{count}} minuter"
|
|
19
|
+
},
|
|
20
|
+
aboutXHours: {
|
|
21
|
+
one: "ungefär en timme",
|
|
22
|
+
other: "ungefär {{count}} timmar"
|
|
23
|
+
},
|
|
24
|
+
xHours: {
|
|
25
|
+
one: "en timme",
|
|
26
|
+
other: "{{count}} timmar"
|
|
27
|
+
},
|
|
28
|
+
xDays: {
|
|
29
|
+
one: "en dag",
|
|
30
|
+
other: "{{count}} dagar"
|
|
31
|
+
},
|
|
32
|
+
aboutXWeeks: {
|
|
33
|
+
one: "ungefär en vecka",
|
|
34
|
+
other: "ungefär {{count}} veckor"
|
|
35
|
+
},
|
|
36
|
+
xWeeks: {
|
|
37
|
+
one: "en vecka",
|
|
38
|
+
other: "{{count}} veckor"
|
|
39
|
+
},
|
|
40
|
+
aboutXMonths: {
|
|
41
|
+
one: "ungefär en månad",
|
|
42
|
+
other: "ungefär {{count}} månader"
|
|
43
|
+
},
|
|
44
|
+
xMonths: {
|
|
45
|
+
one: "en månad",
|
|
46
|
+
other: "{{count}} månader"
|
|
47
|
+
},
|
|
48
|
+
aboutXYears: {
|
|
49
|
+
one: "ungefär ett år",
|
|
50
|
+
other: "ungefär {{count}} år"
|
|
51
|
+
},
|
|
52
|
+
xYears: {
|
|
53
|
+
one: "ett år",
|
|
54
|
+
other: "{{count}} år"
|
|
55
|
+
},
|
|
56
|
+
overXYears: {
|
|
57
|
+
one: "över ett år",
|
|
58
|
+
other: "över {{count}} år"
|
|
59
|
+
},
|
|
60
|
+
almostXYears: {
|
|
61
|
+
one: "nästan ett år",
|
|
62
|
+
other: "nästan {{count}} år"
|
|
63
|
+
}
|
|
64
|
+
}, l = [
|
|
65
|
+
"noll",
|
|
66
|
+
"en",
|
|
67
|
+
"två",
|
|
68
|
+
"tre",
|
|
69
|
+
"fyra",
|
|
70
|
+
"fem",
|
|
71
|
+
"sex",
|
|
72
|
+
"sju",
|
|
73
|
+
"åtta",
|
|
74
|
+
"nio",
|
|
75
|
+
"tio",
|
|
76
|
+
"elva",
|
|
77
|
+
"tolv"
|
|
78
|
+
], u = (e, n, a) => {
|
|
79
|
+
let t;
|
|
80
|
+
const o = s[e];
|
|
81
|
+
return typeof o == "string" ? t = o : n === 1 ? t = o.one : t = o.other.replace(
|
|
82
|
+
"{{count}}",
|
|
83
|
+
n < 13 ? l[n] : String(n)
|
|
84
|
+
), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "om " + t : t + " sedan" : t;
|
|
85
|
+
}, f = {
|
|
86
|
+
full: "EEEE d MMMM y",
|
|
87
|
+
long: "d MMMM y",
|
|
88
|
+
medium: "d MMM y",
|
|
89
|
+
short: "y-MM-dd"
|
|
90
|
+
}, c = {
|
|
91
|
+
full: "'kl'. HH:mm:ss zzzz",
|
|
92
|
+
long: "HH:mm:ss z",
|
|
93
|
+
medium: "HH:mm:ss",
|
|
94
|
+
short: "HH:mm"
|
|
95
|
+
}, g = {
|
|
96
|
+
full: "{{date}} 'kl.' {{time}}",
|
|
97
|
+
long: "{{date}} 'kl.' {{time}}",
|
|
98
|
+
medium: "{{date}} {{time}}",
|
|
99
|
+
short: "{{date}} {{time}}"
|
|
100
|
+
}, h = {
|
|
101
|
+
date: d({
|
|
102
|
+
formats: f,
|
|
103
|
+
defaultWidth: "full"
|
|
104
|
+
}),
|
|
105
|
+
time: d({
|
|
106
|
+
formats: c,
|
|
107
|
+
defaultWidth: "full"
|
|
108
|
+
}),
|
|
109
|
+
dateTime: d({
|
|
110
|
+
formats: g,
|
|
111
|
+
defaultWidth: "full"
|
|
112
|
+
})
|
|
113
|
+
}, v = {
|
|
114
|
+
lastWeek: "'i' EEEE's kl.' p",
|
|
115
|
+
yesterday: "'igår kl.' p",
|
|
116
|
+
today: "'idag kl.' p",
|
|
117
|
+
tomorrow: "'imorgon kl.' p",
|
|
118
|
+
nextWeek: "EEEE 'kl.' p",
|
|
119
|
+
other: "P"
|
|
120
|
+
}, p = (e, n, a, t) => v[e], b = {
|
|
121
|
+
narrow: ["f.Kr.", "e.Kr."],
|
|
122
|
+
abbreviated: ["f.Kr.", "e.Kr."],
|
|
123
|
+
wide: ["före Kristus", "efter Kristus"]
|
|
124
|
+
}, k = {
|
|
125
|
+
narrow: ["1", "2", "3", "4"],
|
|
126
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
127
|
+
wide: ["1:a kvartalet", "2:a kvartalet", "3:e kvartalet", "4:e kvartalet"]
|
|
128
|
+
}, P = {
|
|
129
|
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
130
|
+
abbreviated: [
|
|
131
|
+
"jan.",
|
|
132
|
+
"feb.",
|
|
133
|
+
"mars",
|
|
134
|
+
"apr.",
|
|
135
|
+
"maj",
|
|
136
|
+
"juni",
|
|
137
|
+
"juli",
|
|
138
|
+
"aug.",
|
|
139
|
+
"sep.",
|
|
140
|
+
"okt.",
|
|
141
|
+
"nov.",
|
|
142
|
+
"dec."
|
|
143
|
+
],
|
|
144
|
+
wide: [
|
|
145
|
+
"januari",
|
|
146
|
+
"februari",
|
|
147
|
+
"mars",
|
|
148
|
+
"april",
|
|
149
|
+
"maj",
|
|
150
|
+
"juni",
|
|
151
|
+
"juli",
|
|
152
|
+
"augusti",
|
|
153
|
+
"september",
|
|
154
|
+
"oktober",
|
|
155
|
+
"november",
|
|
156
|
+
"december"
|
|
157
|
+
]
|
|
158
|
+
}, w = {
|
|
159
|
+
narrow: ["S", "M", "T", "O", "T", "F", "L"],
|
|
160
|
+
short: ["sö", "må", "ti", "on", "to", "fr", "lö"],
|
|
161
|
+
abbreviated: ["sön", "mån", "tis", "ons", "tors", "fre", "lör"],
|
|
162
|
+
wide: ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"]
|
|
163
|
+
}, y = {
|
|
164
|
+
narrow: {
|
|
165
|
+
am: "fm",
|
|
166
|
+
pm: "em",
|
|
167
|
+
midnight: "midnatt",
|
|
168
|
+
noon: "middag",
|
|
169
|
+
morning: "morg.",
|
|
170
|
+
afternoon: "efterm.",
|
|
171
|
+
evening: "kväll",
|
|
172
|
+
night: "natt"
|
|
173
|
+
},
|
|
174
|
+
abbreviated: {
|
|
175
|
+
am: "f.m.",
|
|
176
|
+
pm: "e.m.",
|
|
177
|
+
midnight: "midnatt",
|
|
178
|
+
noon: "middag",
|
|
179
|
+
morning: "morgon",
|
|
180
|
+
afternoon: "efterm.",
|
|
181
|
+
evening: "kväll",
|
|
182
|
+
night: "natt"
|
|
183
|
+
},
|
|
184
|
+
wide: {
|
|
185
|
+
am: "förmiddag",
|
|
186
|
+
pm: "eftermiddag",
|
|
187
|
+
midnight: "midnatt",
|
|
188
|
+
noon: "middag",
|
|
189
|
+
morning: "morgon",
|
|
190
|
+
afternoon: "eftermiddag",
|
|
191
|
+
evening: "kväll",
|
|
192
|
+
night: "natt"
|
|
193
|
+
}
|
|
194
|
+
}, M = {
|
|
195
|
+
narrow: {
|
|
196
|
+
am: "fm",
|
|
197
|
+
pm: "em",
|
|
198
|
+
midnight: "midnatt",
|
|
199
|
+
noon: "middag",
|
|
200
|
+
morning: "på morg.",
|
|
201
|
+
afternoon: "på efterm.",
|
|
202
|
+
evening: "på kvällen",
|
|
203
|
+
night: "på natten"
|
|
204
|
+
},
|
|
205
|
+
abbreviated: {
|
|
206
|
+
am: "fm",
|
|
207
|
+
pm: "em",
|
|
208
|
+
midnight: "midnatt",
|
|
209
|
+
noon: "middag",
|
|
210
|
+
morning: "på morg.",
|
|
211
|
+
afternoon: "på efterm.",
|
|
212
|
+
evening: "på kvällen",
|
|
213
|
+
night: "på natten"
|
|
214
|
+
},
|
|
215
|
+
wide: {
|
|
216
|
+
am: "fm",
|
|
217
|
+
pm: "em",
|
|
218
|
+
midnight: "midnatt",
|
|
219
|
+
noon: "middag",
|
|
220
|
+
morning: "på morgonen",
|
|
221
|
+
afternoon: "på eftermiddagen",
|
|
222
|
+
evening: "på kvällen",
|
|
223
|
+
night: "på natten"
|
|
224
|
+
}
|
|
225
|
+
}, j = (e, n) => {
|
|
226
|
+
const a = Number(e), t = a % 100;
|
|
227
|
+
if (t > 20 || t < 10)
|
|
228
|
+
switch (t % 10) {
|
|
229
|
+
case 1:
|
|
230
|
+
case 2:
|
|
231
|
+
return a + ":a";
|
|
232
|
+
}
|
|
233
|
+
return a + ":e";
|
|
234
|
+
}, W = {
|
|
235
|
+
ordinalNumber: j,
|
|
236
|
+
era: r({
|
|
237
|
+
values: b,
|
|
238
|
+
defaultWidth: "wide"
|
|
239
|
+
}),
|
|
240
|
+
quarter: r({
|
|
241
|
+
values: k,
|
|
242
|
+
defaultWidth: "wide",
|
|
243
|
+
argumentCallback: (e) => e - 1
|
|
244
|
+
}),
|
|
245
|
+
month: r({
|
|
246
|
+
values: P,
|
|
247
|
+
defaultWidth: "wide"
|
|
248
|
+
}),
|
|
249
|
+
day: r({
|
|
250
|
+
values: w,
|
|
251
|
+
defaultWidth: "wide"
|
|
252
|
+
}),
|
|
253
|
+
dayPeriod: r({
|
|
254
|
+
values: y,
|
|
255
|
+
defaultWidth: "wide",
|
|
256
|
+
formattingValues: M,
|
|
257
|
+
defaultFormattingWidth: "wide"
|
|
258
|
+
})
|
|
259
|
+
}, E = /^(\d+)(:a|:e)?/i, D = /\d+/i, K = {
|
|
260
|
+
narrow: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
261
|
+
abbreviated: /^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,
|
|
262
|
+
wide: /^(före Kristus|före vår tid|efter Kristus|vår tid)/i
|
|
263
|
+
}, x = {
|
|
264
|
+
any: [/^f/i, /^[ev]/i]
|
|
265
|
+
}, F = {
|
|
266
|
+
narrow: /^[1234]/i,
|
|
267
|
+
abbreviated: /^q[1234]/i,
|
|
268
|
+
wide: /^[1234](:a|:e)? kvartalet/i
|
|
269
|
+
}, H = {
|
|
270
|
+
any: [/1/i, /2/i, /3/i, /4/i]
|
|
271
|
+
}, z = {
|
|
272
|
+
narrow: /^[jfmasond]/i,
|
|
273
|
+
abbreviated: /^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,
|
|
274
|
+
wide: /^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i
|
|
275
|
+
}, V = {
|
|
276
|
+
narrow: [
|
|
277
|
+
/^j/i,
|
|
278
|
+
/^f/i,
|
|
279
|
+
/^m/i,
|
|
280
|
+
/^a/i,
|
|
281
|
+
/^m/i,
|
|
282
|
+
/^j/i,
|
|
283
|
+
/^j/i,
|
|
284
|
+
/^a/i,
|
|
285
|
+
/^s/i,
|
|
286
|
+
/^o/i,
|
|
287
|
+
/^n/i,
|
|
288
|
+
/^d/i
|
|
289
|
+
],
|
|
290
|
+
any: [
|
|
291
|
+
/^ja/i,
|
|
292
|
+
/^f/i,
|
|
293
|
+
/^mar/i,
|
|
294
|
+
/^ap/i,
|
|
295
|
+
/^maj/i,
|
|
296
|
+
/^jun/i,
|
|
297
|
+
/^jul/i,
|
|
298
|
+
/^au/i,
|
|
299
|
+
/^s/i,
|
|
300
|
+
/^o/i,
|
|
301
|
+
/^n/i,
|
|
302
|
+
/^d/i
|
|
303
|
+
]
|
|
304
|
+
}, X = {
|
|
305
|
+
narrow: /^[smtofl]/i,
|
|
306
|
+
short: /^(sö|må|ti|on|to|fr|lö)/i,
|
|
307
|
+
abbreviated: /^(sön|mån|tis|ons|tors|fre|lör)/i,
|
|
308
|
+
wide: /^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i
|
|
309
|
+
}, L = {
|
|
310
|
+
any: [/^s/i, /^m/i, /^ti/i, /^o/i, /^to/i, /^f/i, /^l/i]
|
|
311
|
+
}, S = {
|
|
312
|
+
any: /^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i
|
|
313
|
+
}, N = {
|
|
314
|
+
any: {
|
|
315
|
+
am: /^f/i,
|
|
316
|
+
pm: /^e/i,
|
|
317
|
+
midnight: /^midn/i,
|
|
318
|
+
noon: /^midd/i,
|
|
319
|
+
morning: /morgon/i,
|
|
320
|
+
afternoon: /eftermiddag/i,
|
|
321
|
+
evening: /kväll/i,
|
|
322
|
+
night: /natt/i
|
|
323
|
+
}
|
|
324
|
+
}, Q = {
|
|
325
|
+
ordinalNumber: m({
|
|
326
|
+
matchPattern: E,
|
|
327
|
+
parsePattern: D,
|
|
328
|
+
valueCallback: (e) => parseInt(e, 10)
|
|
329
|
+
}),
|
|
330
|
+
era: i({
|
|
331
|
+
matchPatterns: K,
|
|
332
|
+
defaultMatchWidth: "wide",
|
|
333
|
+
parsePatterns: x,
|
|
334
|
+
defaultParseWidth: "any"
|
|
335
|
+
}),
|
|
336
|
+
quarter: i({
|
|
337
|
+
matchPatterns: F,
|
|
338
|
+
defaultMatchWidth: "wide",
|
|
339
|
+
parsePatterns: H,
|
|
340
|
+
defaultParseWidth: "any",
|
|
341
|
+
valueCallback: (e) => e + 1
|
|
342
|
+
}),
|
|
343
|
+
month: i({
|
|
344
|
+
matchPatterns: z,
|
|
345
|
+
defaultMatchWidth: "wide",
|
|
346
|
+
parsePatterns: V,
|
|
347
|
+
defaultParseWidth: "any"
|
|
348
|
+
}),
|
|
349
|
+
day: i({
|
|
350
|
+
matchPatterns: X,
|
|
351
|
+
defaultMatchWidth: "wide",
|
|
352
|
+
parsePatterns: L,
|
|
353
|
+
defaultParseWidth: "any"
|
|
354
|
+
}),
|
|
355
|
+
dayPeriod: i({
|
|
356
|
+
matchPatterns: S,
|
|
357
|
+
defaultMatchWidth: "any",
|
|
358
|
+
parsePatterns: N,
|
|
359
|
+
defaultParseWidth: "any"
|
|
360
|
+
})
|
|
361
|
+
}, q = {
|
|
362
|
+
code: "sv",
|
|
363
|
+
formatDistance: u,
|
|
364
|
+
formatLong: h,
|
|
365
|
+
formatRelative: p,
|
|
366
|
+
localize: W,
|
|
367
|
+
match: Q,
|
|
368
|
+
options: {
|
|
369
|
+
weekStartsOn: 1,
|
|
370
|
+
firstWeekContainsDate: 4
|
|
371
|
+
}
|
|
372
|
+
};
|
|
373
|
+
export {
|
|
374
|
+
q as sv
|
|
375
|
+
};
|
|
376
|
+
//# sourceMappingURL=sv-zkx9eBtD.js.map
|
|
@@ -4,7 +4,7 @@ import * as w from "@radix-ui/react-switch";
|
|
|
4
4
|
import { c as o } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as A } from "react-i18next";
|
|
6
6
|
import { u as H, F as M } from "./form-field-context-B3APVHKx.js";
|
|
7
|
-
import { u as O } from "./registry-
|
|
7
|
+
import { u as O } from "./registry-nPAVE19X.js";
|
|
8
8
|
const D = {
|
|
9
9
|
id: "switch",
|
|
10
10
|
capabilities: ["select_single"],
|
|
@@ -193,4 +193,4 @@ J.displayName = "Switch";
|
|
|
193
193
|
export {
|
|
194
194
|
J as S
|
|
195
195
|
};
|
|
196
|
-
//# sourceMappingURL=switch-
|
|
196
|
+
//# sourceMappingURL=switch-BJ6HD3Mn.js.map
|
|
@@ -5,10 +5,10 @@ import * as k from "@radix-ui/react-dropdown-menu";
|
|
|
5
5
|
import { a as N, c as q } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as Z } from "react-i18next";
|
|
7
7
|
import { c as K } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
-
import { S as D } from "./select-
|
|
8
|
+
import { S as D } from "./select-hsCaJSX3.js";
|
|
9
9
|
import { X as ee } from "./x-CCcI3eJp.js";
|
|
10
|
-
import { u as te } from "./use-direction-
|
|
11
|
-
import { u as se } from "./registry-
|
|
10
|
+
import { u as te } from "./use-direction-Dp8h70PP.js";
|
|
11
|
+
import { u as se } from "./registry-nPAVE19X.js";
|
|
12
12
|
import { C as ae } from "./chevron-down-BX_NP2Yh.js";
|
|
13
13
|
const re = {
|
|
14
14
|
id: "tabs",
|
|
@@ -396,4 +396,4 @@ export {
|
|
|
396
396
|
F as c,
|
|
397
397
|
re as t
|
|
398
398
|
};
|
|
399
|
-
//# sourceMappingURL=tabs-
|
|
399
|
+
//# sourceMappingURL=tabs-BpPYVme_.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as f } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as F, useState as E, useEffect as G } from "react";
|
|
3
3
|
import { c as B } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as H } from "react-i18next";
|
|
5
|
-
import { T as v } from "./tooltip-
|
|
5
|
+
import { T as v } from "./tooltip-DvmfrNvB.js";
|
|
6
6
|
import { X as J } from "./x-CCcI3eJp.js";
|
|
7
7
|
const V = B(
|
|
8
8
|
[
|
|
@@ -252,4 +252,4 @@ M.displayName = "Tag";
|
|
|
252
252
|
export {
|
|
253
253
|
M as T
|
|
254
254
|
};
|
|
255
|
-
//# sourceMappingURL=tag-
|
|
255
|
+
//# sourceMappingURL=tag-CyoaEmf_.js.map
|
|
@@ -2,11 +2,11 @@ import { jsx as a, jsxs as p } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as k, useMemo as z, useImperativeHandle as M } from "react";
|
|
3
3
|
import { c as S } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as _ } from "react-i18next";
|
|
5
|
-
import { I as C } from "./icon-button-
|
|
5
|
+
import { I as C } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { S as K } from "./skeleton-CZbwyJAA.js";
|
|
7
7
|
import { E } from "./empty-state-BLy7tigq.js";
|
|
8
8
|
import { T as L } from "./task-card-BUVMh6HN.js";
|
|
9
|
-
import { u as P } from "./registry-
|
|
9
|
+
import { u as P } from "./registry-nPAVE19X.js";
|
|
10
10
|
import { c as H } from "./createLucideIcon-CrFbzy84.js";
|
|
11
11
|
import { P as V } from "./plus-CYKNmfuA.js";
|
|
12
12
|
/**
|
|
@@ -192,4 +192,4 @@ export {
|
|
|
192
192
|
Q as T,
|
|
193
193
|
G as t
|
|
194
194
|
};
|
|
195
|
-
//# sourceMappingURL=task-tray-
|
|
195
|
+
//# sourceMappingURL=task-tray-DRK0b0Qb.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsxs as N, jsx as K } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as de, useRef as O, useCallback as F, useState as P,
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as me } from "./
|
|
2
|
+
import { forwardRef as de, useRef as O, useCallback as F, useState as P, useMemo as ce, useEffect as le } from "react";
|
|
3
|
+
import { c as ue } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as fe } from "react-i18next";
|
|
5
|
+
import { u as pe } from "./form-field-context-B3APVHKx.js";
|
|
6
|
+
import { u as me } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
7
|
+
import { u as ve } from "./registry-nPAVE19X.js";
|
|
7
8
|
const ge = {
|
|
8
9
|
id: "text-area",
|
|
9
10
|
capabilities: ["edit_inline"],
|
|
@@ -27,8 +28,8 @@ const ge = {
|
|
|
27
28
|
argsType: "{ value: string }",
|
|
28
29
|
descriptionKey: "ui.agent.textArea.actions.setValue",
|
|
29
30
|
description: "Replace the textarea value.",
|
|
30
|
-
invoke: (t,
|
|
31
|
-
t.setValue(
|
|
31
|
+
invoke: (t, v) => {
|
|
32
|
+
t.setValue(v.value);
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
clear: {
|
|
@@ -60,7 +61,7 @@ const ge = {
|
|
|
60
61
|
description: "Sourced from the id prop."
|
|
61
62
|
}
|
|
62
63
|
}
|
|
63
|
-
}, be =
|
|
64
|
+
}, be = ue(
|
|
64
65
|
[
|
|
65
66
|
"ds:block ds:w-full ds:border ds:rounded-[var(--radius-sm)] ds:bg-input ds:text-foreground",
|
|
66
67
|
"ds:shadow-[var(--shadow-input)]",
|
|
@@ -96,7 +97,7 @@ const ge = {
|
|
|
96
97
|
), he = (t) => t >= 1 ? "ds:text-destructive" : t >= 0.9 ? "ds:text-warning" : "ds:text-muted-foreground", ye = (t) => [...t].length, xe = de(
|
|
97
98
|
({
|
|
98
99
|
size: t = "md",
|
|
99
|
-
tone:
|
|
100
|
+
tone: v = "default",
|
|
100
101
|
autoResize: s = !1,
|
|
101
102
|
minRows: g = 2,
|
|
102
103
|
maxRows: b,
|
|
@@ -104,8 +105,8 @@ const ge = {
|
|
|
104
105
|
className: W,
|
|
105
106
|
id: h,
|
|
106
107
|
disabled: _,
|
|
107
|
-
value:
|
|
108
|
-
defaultValue:
|
|
108
|
+
value: I,
|
|
109
|
+
defaultValue: k,
|
|
109
110
|
maxLength: a,
|
|
110
111
|
rows: q,
|
|
111
112
|
onChange: n,
|
|
@@ -114,22 +115,22 @@ const ge = {
|
|
|
114
115
|
onInput: D,
|
|
115
116
|
...$
|
|
116
117
|
}, c) => {
|
|
117
|
-
const { t:
|
|
118
|
+
const { t: E } = fe(), o = pe(), z = h ?? o.id, Y = o.disabled || _, G = o.invalid ? "error" : v, l = O(null), J = F(
|
|
118
119
|
(e) => {
|
|
119
120
|
l.current = e, typeof c == "function" ? c(e) : c && (c.current = e);
|
|
120
121
|
},
|
|
121
122
|
[c]
|
|
122
|
-
), u =
|
|
123
|
-
String(
|
|
124
|
-
), T = u ? String(
|
|
123
|
+
), u = I !== void 0, [Q, j] = P(
|
|
124
|
+
String(k ?? "")
|
|
125
|
+
), T = u ? String(I) : Q, p = O(!1), w = F(() => {
|
|
125
126
|
const e = l.current;
|
|
126
127
|
if (!e || !s) return;
|
|
127
|
-
const r = window.getComputedStyle(e), d = parseFloat(r.lineHeight), f = parseFloat(r.paddingTop),
|
|
128
|
+
const r = window.getComputedStyle(e), d = parseFloat(r.lineHeight), f = parseFloat(r.paddingTop), m = parseFloat(r.paddingBottom), se = parseFloat(r.borderTopWidth), ae = parseFloat(r.borderBottomWidth), M = f + m + se + ae, ne = (Number.isFinite(d) ? d : 24) * g + M, oe = typeof b == "number" ? (Number.isFinite(d) ? d : 24) * b + M : Number.POSITIVE_INFINITY;
|
|
128
129
|
e.style.height = "auto";
|
|
129
130
|
const ie = Math.max(ne, Math.min(e.scrollHeight, oe));
|
|
130
131
|
e.style.height = `${ie}px`;
|
|
131
132
|
}, [s, g, b]);
|
|
132
|
-
|
|
133
|
+
me(() => {
|
|
133
134
|
s && w();
|
|
134
135
|
}, [s, w, T]);
|
|
135
136
|
const U = (e) => {
|
|
@@ -145,12 +146,12 @@ const ge = {
|
|
|
145
146
|
currentTarget: r
|
|
146
147
|
}), s && w();
|
|
147
148
|
}, A = F((e) => {
|
|
148
|
-
var
|
|
149
|
+
var m;
|
|
149
150
|
const r = l.current;
|
|
150
151
|
if (!r) return;
|
|
151
|
-
const d = Object.getPrototypeOf(r), f = (
|
|
152
|
+
const d = Object.getPrototypeOf(r), f = (m = Object.getOwnPropertyDescriptor(d, "value")) == null ? void 0 : m.set;
|
|
152
153
|
f == null || f.call(r, e), r.dispatchEvent(new Event("input", { bubbles: !0 })), r.dispatchEvent(new Event("change", { bubbles: !0 }));
|
|
153
|
-
}, []), L =
|
|
154
|
+
}, []), L = ce(
|
|
154
155
|
() => ({
|
|
155
156
|
getValue: () => {
|
|
156
157
|
var e;
|
|
@@ -165,20 +166,20 @@ const ge = {
|
|
|
165
166
|
}),
|
|
166
167
|
[A]
|
|
167
168
|
);
|
|
168
|
-
|
|
169
|
+
ve(ge, L, h);
|
|
169
170
|
const i = typeof a == "number" && (S ?? !0) && a > 0, V = ye(T), B = i ? Math.max(0, a - V) : 0, R = i ? V / a : 0, [C, ee] = P("");
|
|
170
|
-
|
|
171
|
+
le(() => {
|
|
171
172
|
if (!i) return;
|
|
172
173
|
const e = window.setTimeout(() => {
|
|
173
174
|
p.current || ee(
|
|
174
|
-
|
|
175
|
+
E("inputs.textarea.charactersRemaining", {
|
|
175
176
|
count: B,
|
|
176
177
|
defaultValue: "{{count}} characters remaining"
|
|
177
178
|
})
|
|
178
179
|
);
|
|
179
180
|
}, 500);
|
|
180
181
|
return () => window.clearTimeout(e);
|
|
181
|
-
}, [i, B,
|
|
182
|
+
}, [i, B, E]);
|
|
182
183
|
const H = i ? `${z}-counter` : void 0, te = [o.describedBy || void 0, H].filter(Boolean).join(" ") || void 0, re = s ? "auto" : "manual";
|
|
183
184
|
return /* @__PURE__ */ N(
|
|
184
185
|
"div",
|
|
@@ -193,7 +194,7 @@ const ge = {
|
|
|
193
194
|
ref: J,
|
|
194
195
|
id: z,
|
|
195
196
|
value: u ? T : void 0,
|
|
196
|
-
defaultValue: u ? void 0 :
|
|
197
|
+
defaultValue: u ? void 0 : k,
|
|
197
198
|
disabled: Y,
|
|
198
199
|
"aria-describedby": te,
|
|
199
200
|
"aria-invalid": o.invalid || void 0,
|
|
@@ -237,4 +238,4 @@ xe.displayName = "TextArea";
|
|
|
237
238
|
export {
|
|
238
239
|
xe as T
|
|
239
240
|
};
|
|
240
|
-
//# sourceMappingURL=text-area-
|
|
241
|
+
//# sourceMappingURL=text-area-BIx0tZ05.js.map
|
|
@@ -4,7 +4,7 @@ import { c as j } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ae } from "react-i18next";
|
|
5
5
|
import { u as ne } from "./form-field-context-B3APVHKx.js";
|
|
6
6
|
import { I as re, a as w, b as E } from "./input-surface-xyERuLU_.js";
|
|
7
|
-
import { u as ie } from "./registry-
|
|
7
|
+
import { u as ie } from "./registry-nPAVE19X.js";
|
|
8
8
|
import { X as oe } from "./x-CCcI3eJp.js";
|
|
9
9
|
const de = {
|
|
10
10
|
id: "text-input",
|
|
@@ -273,4 +273,4 @@ ce.displayName = "TextInput";
|
|
|
273
273
|
export {
|
|
274
274
|
ce as T
|
|
275
275
|
};
|
|
276
|
-
//# sourceMappingURL=text-input-
|
|
276
|
+
//# sourceMappingURL=text-input-BaClJL8Y.js.map
|
|
@@ -2,12 +2,12 @@ import { jsx as t, jsxs as m, Fragment as V } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as M, useRef as k, useImperativeHandle as N, useMemo as _, useCallback as S } from "react";
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as g } from "react-i18next";
|
|
5
|
-
import { I as y } from "./icon-button-
|
|
6
|
-
import { I as K } from "./icon-button-group-
|
|
7
|
-
import { S as x } from "./switch-
|
|
8
|
-
import { D as o } from "./dropdown-menu-
|
|
5
|
+
import { I as y } from "./icon-button-CKEOrN37.js";
|
|
6
|
+
import { I as K } from "./icon-button-group-C48khLE0.js";
|
|
7
|
+
import { S as x } from "./switch-BJ6HD3Mn.js";
|
|
8
|
+
import { D as o } from "./dropdown-menu-BC5ZdOMo.js";
|
|
9
9
|
import { u as z } from "./use-theme-C2dHKUAN.js";
|
|
10
|
-
import { u as D } from "./registry-
|
|
10
|
+
import { u as D } from "./registry-nPAVE19X.js";
|
|
11
11
|
import { M as v, S as C } from "./sun-BuXE0xUS.js";
|
|
12
12
|
import { M as w } from "./monitor-D-SFdbrU.js";
|
|
13
13
|
const H = {
|
|
@@ -352,4 +352,4 @@ export {
|
|
|
352
352
|
O as T,
|
|
353
353
|
H as t
|
|
354
354
|
};
|
|
355
|
-
//# sourceMappingURL=theme-toggle-
|
|
355
|
+
//# sourceMappingURL=theme-toggle-DpC28kt5.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as ye, useState as F, useCallback as O, useRef as k, useEffe
|
|
|
3
3
|
import { c as N } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as xe } from "react-i18next";
|
|
5
5
|
import { u as Te } from "./form-field-context-B3APVHKx.js";
|
|
6
|
-
import { u as De } from "./registry-
|
|
6
|
+
import { u as De } from "./registry-nPAVE19X.js";
|
|
7
7
|
const Pe = {
|
|
8
8
|
id: "time-picker",
|
|
9
9
|
capabilities: ["pick", "open", "close"],
|
|
@@ -409,4 +409,4 @@ export {
|
|
|
409
409
|
Ie as T,
|
|
410
410
|
Pe as t
|
|
411
411
|
};
|
|
412
|
-
//# sourceMappingURL=time-picker-
|
|
412
|
+
//# sourceMappingURL=time-picker-B5umYwfv.js.map
|
|
@@ -2,10 +2,10 @@ import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as m, useMemo as p, useRef as w, useState as V, useCallback as I, useImperativeHandle as O, useContext as v, createContext as C } from "react";
|
|
3
3
|
import { c as b } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as A } from "react-i18next";
|
|
5
|
-
import { A as P } from "./avatar-
|
|
5
|
+
import { A as P } from "./avatar-BNQNhoyL.js";
|
|
6
6
|
import { C as N } from "./card-DKTMLVrw.js";
|
|
7
7
|
import { T as B } from "./timestamp-BV2lC-wV.js";
|
|
8
|
-
import { u as H } from "./registry-
|
|
8
|
+
import { u as H } from "./registry-nPAVE19X.js";
|
|
9
9
|
import { C as q } from "./circle-BkqTgYmt.js";
|
|
10
10
|
import { X as D } from "./x-CCcI3eJp.js";
|
|
11
11
|
import { T as M } from "./triangle-alert-CBPUIzQo.js";
|
|
@@ -283,4 +283,4 @@ export {
|
|
|
283
283
|
le as T,
|
|
284
284
|
K as t
|
|
285
285
|
};
|
|
286
|
-
//# sourceMappingURL=timeline-
|
|
286
|
+
//# sourceMappingURL=timeline-D0Wo7v_o.js.map
|