@alfadocs/ui-kit 0.31.0 → 0.31.3
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-A4o9xI2n.js} +160 -149
- 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-RPL64j8E.js +1582 -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 +2 -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/smile-BSYLAHy6.js +0 -17
- package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
- package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { o as s, q as o, r as i, v as d } from "./react-day-picker-DsjfS7uI.js";
|
|
2
|
+
const u = {
|
|
3
|
+
lessThanXSeconds: {
|
|
4
|
+
one: "1秒未満",
|
|
5
|
+
other: "{{count}}秒未満",
|
|
6
|
+
oneWithSuffix: "約1秒",
|
|
7
|
+
otherWithSuffix: "約{{count}}秒"
|
|
8
|
+
},
|
|
9
|
+
xSeconds: {
|
|
10
|
+
one: "1秒",
|
|
11
|
+
other: "{{count}}秒"
|
|
12
|
+
},
|
|
13
|
+
halfAMinute: "30秒",
|
|
14
|
+
lessThanXMinutes: {
|
|
15
|
+
one: "1分未満",
|
|
16
|
+
other: "{{count}}分未満",
|
|
17
|
+
oneWithSuffix: "約1分",
|
|
18
|
+
otherWithSuffix: "約{{count}}分"
|
|
19
|
+
},
|
|
20
|
+
xMinutes: {
|
|
21
|
+
one: "1分",
|
|
22
|
+
other: "{{count}}分"
|
|
23
|
+
},
|
|
24
|
+
aboutXHours: {
|
|
25
|
+
one: "約1時間",
|
|
26
|
+
other: "約{{count}}時間"
|
|
27
|
+
},
|
|
28
|
+
xHours: {
|
|
29
|
+
one: "1時間",
|
|
30
|
+
other: "{{count}}時間"
|
|
31
|
+
},
|
|
32
|
+
xDays: {
|
|
33
|
+
one: "1日",
|
|
34
|
+
other: "{{count}}日"
|
|
35
|
+
},
|
|
36
|
+
aboutXWeeks: {
|
|
37
|
+
one: "約1週間",
|
|
38
|
+
other: "約{{count}}週間"
|
|
39
|
+
},
|
|
40
|
+
xWeeks: {
|
|
41
|
+
one: "1週間",
|
|
42
|
+
other: "{{count}}週間"
|
|
43
|
+
},
|
|
44
|
+
aboutXMonths: {
|
|
45
|
+
one: "約1か月",
|
|
46
|
+
other: "約{{count}}か月"
|
|
47
|
+
},
|
|
48
|
+
xMonths: {
|
|
49
|
+
one: "1か月",
|
|
50
|
+
other: "{{count}}か月"
|
|
51
|
+
},
|
|
52
|
+
aboutXYears: {
|
|
53
|
+
one: "約1年",
|
|
54
|
+
other: "約{{count}}年"
|
|
55
|
+
},
|
|
56
|
+
xYears: {
|
|
57
|
+
one: "1年",
|
|
58
|
+
other: "{{count}}年"
|
|
59
|
+
},
|
|
60
|
+
overXYears: {
|
|
61
|
+
one: "1年以上",
|
|
62
|
+
other: "{{count}}年以上"
|
|
63
|
+
},
|
|
64
|
+
almostXYears: {
|
|
65
|
+
one: "1年近く",
|
|
66
|
+
other: "{{count}}年近く"
|
|
67
|
+
}
|
|
68
|
+
}, m = (e, n, t) => {
|
|
69
|
+
t = t || {};
|
|
70
|
+
let a;
|
|
71
|
+
const r = u[e];
|
|
72
|
+
return typeof r == "string" ? a = r : n === 1 ? t.addSuffix && r.oneWithSuffix ? a = r.oneWithSuffix : a = r.one : t.addSuffix && r.otherWithSuffix ? a = r.otherWithSuffix.replace("{{count}}", String(n)) : a = r.other.replace("{{count}}", String(n)), t.addSuffix ? t.comparison && t.comparison > 0 ? a + "後" : a + "前" : a;
|
|
73
|
+
}, h = {
|
|
74
|
+
full: "y年M月d日EEEE",
|
|
75
|
+
long: "y年M月d日",
|
|
76
|
+
medium: "y/MM/dd",
|
|
77
|
+
short: "y/MM/dd"
|
|
78
|
+
}, c = {
|
|
79
|
+
full: "H時mm分ss秒 zzzz",
|
|
80
|
+
long: "H:mm:ss z",
|
|
81
|
+
medium: "H:mm:ss",
|
|
82
|
+
short: "H:mm"
|
|
83
|
+
}, l = {
|
|
84
|
+
full: "{{date}} {{time}}",
|
|
85
|
+
long: "{{date}} {{time}}",
|
|
86
|
+
medium: "{{date}} {{time}}",
|
|
87
|
+
short: "{{date}} {{time}}"
|
|
88
|
+
}, f = {
|
|
89
|
+
date: s({
|
|
90
|
+
formats: h,
|
|
91
|
+
defaultWidth: "full"
|
|
92
|
+
}),
|
|
93
|
+
time: s({
|
|
94
|
+
formats: c,
|
|
95
|
+
defaultWidth: "full"
|
|
96
|
+
}),
|
|
97
|
+
dateTime: s({
|
|
98
|
+
formats: l,
|
|
99
|
+
defaultWidth: "full"
|
|
100
|
+
})
|
|
101
|
+
}, g = {
|
|
102
|
+
lastWeek: "先週のeeeeのp",
|
|
103
|
+
yesterday: "昨日のp",
|
|
104
|
+
today: "今日のp",
|
|
105
|
+
tomorrow: "明日のp",
|
|
106
|
+
nextWeek: "翌週のeeeeのp",
|
|
107
|
+
other: "P"
|
|
108
|
+
}, b = (e, n, t, a) => g[e], P = {
|
|
109
|
+
narrow: ["BC", "AC"],
|
|
110
|
+
abbreviated: ["紀元前", "西暦"],
|
|
111
|
+
wide: ["紀元前", "西暦"]
|
|
112
|
+
}, w = {
|
|
113
|
+
narrow: ["1", "2", "3", "4"],
|
|
114
|
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
115
|
+
wide: ["第1四半期", "第2四半期", "第3四半期", "第4四半期"]
|
|
116
|
+
}, y = {
|
|
117
|
+
narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
|
118
|
+
abbreviated: [
|
|
119
|
+
"1月",
|
|
120
|
+
"2月",
|
|
121
|
+
"3月",
|
|
122
|
+
"4月",
|
|
123
|
+
"5月",
|
|
124
|
+
"6月",
|
|
125
|
+
"7月",
|
|
126
|
+
"8月",
|
|
127
|
+
"9月",
|
|
128
|
+
"10月",
|
|
129
|
+
"11月",
|
|
130
|
+
"12月"
|
|
131
|
+
],
|
|
132
|
+
wide: [
|
|
133
|
+
"1月",
|
|
134
|
+
"2月",
|
|
135
|
+
"3月",
|
|
136
|
+
"4月",
|
|
137
|
+
"5月",
|
|
138
|
+
"6月",
|
|
139
|
+
"7月",
|
|
140
|
+
"8月",
|
|
141
|
+
"9月",
|
|
142
|
+
"10月",
|
|
143
|
+
"11月",
|
|
144
|
+
"12月"
|
|
145
|
+
]
|
|
146
|
+
}, W = {
|
|
147
|
+
narrow: ["日", "月", "火", "水", "木", "金", "土"],
|
|
148
|
+
short: ["日", "月", "火", "水", "木", "金", "土"],
|
|
149
|
+
abbreviated: ["日", "月", "火", "水", "木", "金", "土"],
|
|
150
|
+
wide: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"]
|
|
151
|
+
}, v = {
|
|
152
|
+
narrow: {
|
|
153
|
+
am: "午前",
|
|
154
|
+
pm: "午後",
|
|
155
|
+
midnight: "深夜",
|
|
156
|
+
noon: "正午",
|
|
157
|
+
morning: "朝",
|
|
158
|
+
afternoon: "午後",
|
|
159
|
+
evening: "夜",
|
|
160
|
+
night: "深夜"
|
|
161
|
+
},
|
|
162
|
+
abbreviated: {
|
|
163
|
+
am: "午前",
|
|
164
|
+
pm: "午後",
|
|
165
|
+
midnight: "深夜",
|
|
166
|
+
noon: "正午",
|
|
167
|
+
morning: "朝",
|
|
168
|
+
afternoon: "午後",
|
|
169
|
+
evening: "夜",
|
|
170
|
+
night: "深夜"
|
|
171
|
+
},
|
|
172
|
+
wide: {
|
|
173
|
+
am: "午前",
|
|
174
|
+
pm: "午後",
|
|
175
|
+
midnight: "深夜",
|
|
176
|
+
noon: "正午",
|
|
177
|
+
morning: "朝",
|
|
178
|
+
afternoon: "午後",
|
|
179
|
+
evening: "夜",
|
|
180
|
+
night: "深夜"
|
|
181
|
+
}
|
|
182
|
+
}, p = {
|
|
183
|
+
narrow: {
|
|
184
|
+
am: "午前",
|
|
185
|
+
pm: "午後",
|
|
186
|
+
midnight: "深夜",
|
|
187
|
+
noon: "正午",
|
|
188
|
+
morning: "朝",
|
|
189
|
+
afternoon: "午後",
|
|
190
|
+
evening: "夜",
|
|
191
|
+
night: "深夜"
|
|
192
|
+
},
|
|
193
|
+
abbreviated: {
|
|
194
|
+
am: "午前",
|
|
195
|
+
pm: "午後",
|
|
196
|
+
midnight: "深夜",
|
|
197
|
+
noon: "正午",
|
|
198
|
+
morning: "朝",
|
|
199
|
+
afternoon: "午後",
|
|
200
|
+
evening: "夜",
|
|
201
|
+
night: "深夜"
|
|
202
|
+
},
|
|
203
|
+
wide: {
|
|
204
|
+
am: "午前",
|
|
205
|
+
pm: "午後",
|
|
206
|
+
midnight: "深夜",
|
|
207
|
+
noon: "正午",
|
|
208
|
+
morning: "朝",
|
|
209
|
+
afternoon: "午後",
|
|
210
|
+
evening: "夜",
|
|
211
|
+
night: "深夜"
|
|
212
|
+
}
|
|
213
|
+
}, M = (e, n) => {
|
|
214
|
+
const t = Number(e);
|
|
215
|
+
switch (String(n == null ? void 0 : n.unit)) {
|
|
216
|
+
case "year":
|
|
217
|
+
return `${t}年`;
|
|
218
|
+
case "quarter":
|
|
219
|
+
return `第${t}四半期`;
|
|
220
|
+
case "month":
|
|
221
|
+
return `${t}月`;
|
|
222
|
+
case "week":
|
|
223
|
+
return `第${t}週`;
|
|
224
|
+
case "date":
|
|
225
|
+
return `${t}日`;
|
|
226
|
+
case "hour":
|
|
227
|
+
return `${t}時`;
|
|
228
|
+
case "minute":
|
|
229
|
+
return `${t}分`;
|
|
230
|
+
case "second":
|
|
231
|
+
return `${t}秒`;
|
|
232
|
+
default:
|
|
233
|
+
return `${t}`;
|
|
234
|
+
}
|
|
235
|
+
}, x = {
|
|
236
|
+
ordinalNumber: M,
|
|
237
|
+
era: o({
|
|
238
|
+
values: P,
|
|
239
|
+
defaultWidth: "wide"
|
|
240
|
+
}),
|
|
241
|
+
quarter: o({
|
|
242
|
+
values: w,
|
|
243
|
+
defaultWidth: "wide",
|
|
244
|
+
argumentCallback: (e) => Number(e) - 1
|
|
245
|
+
}),
|
|
246
|
+
month: o({
|
|
247
|
+
values: y,
|
|
248
|
+
defaultWidth: "wide"
|
|
249
|
+
}),
|
|
250
|
+
day: o({
|
|
251
|
+
values: W,
|
|
252
|
+
defaultWidth: "wide"
|
|
253
|
+
}),
|
|
254
|
+
dayPeriod: o({
|
|
255
|
+
values: v,
|
|
256
|
+
defaultWidth: "wide",
|
|
257
|
+
formattingValues: p,
|
|
258
|
+
defaultFormattingWidth: "wide"
|
|
259
|
+
})
|
|
260
|
+
}, S = /^第?\d+(年|四半期|月|週|日|時|分|秒)?/i, D = /\d+/i, k = {
|
|
261
|
+
narrow: /^(B\.?C\.?|A\.?D\.?)/i,
|
|
262
|
+
abbreviated: /^(紀元[前後]|西暦)/i,
|
|
263
|
+
wide: /^(紀元[前後]|西暦)/i
|
|
264
|
+
}, F = {
|
|
265
|
+
narrow: [/^B/i, /^A/i],
|
|
266
|
+
any: [/^(紀元前)/i, /^(西暦|紀元後)/i]
|
|
267
|
+
}, $ = {
|
|
268
|
+
narrow: /^[1234]/i,
|
|
269
|
+
abbreviated: /^Q[1234]/i,
|
|
270
|
+
wide: /^第[1234一二三四1234]四半期/i
|
|
271
|
+
}, z = {
|
|
272
|
+
any: [/(1|一|1)/i, /(2|二|2)/i, /(3|三|3)/i, /(4|四|4)/i]
|
|
273
|
+
}, V = {
|
|
274
|
+
narrow: /^([123456789]|1[012])/,
|
|
275
|
+
abbreviated: /^([123456789]|1[012])月/i,
|
|
276
|
+
wide: /^([123456789]|1[012])月/i
|
|
277
|
+
}, X = {
|
|
278
|
+
any: [
|
|
279
|
+
/^1\D/,
|
|
280
|
+
/^2/,
|
|
281
|
+
/^3/,
|
|
282
|
+
/^4/,
|
|
283
|
+
/^5/,
|
|
284
|
+
/^6/,
|
|
285
|
+
/^7/,
|
|
286
|
+
/^8/,
|
|
287
|
+
/^9/,
|
|
288
|
+
/^10/,
|
|
289
|
+
/^11/,
|
|
290
|
+
/^12/
|
|
291
|
+
]
|
|
292
|
+
}, C = {
|
|
293
|
+
narrow: /^[日月火水木金土]/,
|
|
294
|
+
short: /^[日月火水木金土]/,
|
|
295
|
+
abbreviated: /^[日月火水木金土]/,
|
|
296
|
+
wide: /^[日月火水木金土]曜日/
|
|
297
|
+
}, N = {
|
|
298
|
+
any: [/^日/, /^月/, /^火/, /^水/, /^木/, /^金/, /^土/]
|
|
299
|
+
}, Q = {
|
|
300
|
+
any: /^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i
|
|
301
|
+
}, A = {
|
|
302
|
+
any: {
|
|
303
|
+
am: /^(A|午前)/i,
|
|
304
|
+
pm: /^(P|午後)/i,
|
|
305
|
+
midnight: /^深夜|真夜中/i,
|
|
306
|
+
noon: /^正午/i,
|
|
307
|
+
morning: /^朝/i,
|
|
308
|
+
afternoon: /^午後/i,
|
|
309
|
+
evening: /^夜/i,
|
|
310
|
+
night: /^深夜/i
|
|
311
|
+
}
|
|
312
|
+
}, E = {
|
|
313
|
+
ordinalNumber: d({
|
|
314
|
+
matchPattern: S,
|
|
315
|
+
parsePattern: D,
|
|
316
|
+
valueCallback: function(e) {
|
|
317
|
+
return parseInt(e, 10);
|
|
318
|
+
}
|
|
319
|
+
}),
|
|
320
|
+
era: i({
|
|
321
|
+
matchPatterns: k,
|
|
322
|
+
defaultMatchWidth: "wide",
|
|
323
|
+
parsePatterns: F,
|
|
324
|
+
defaultParseWidth: "any"
|
|
325
|
+
}),
|
|
326
|
+
quarter: i({
|
|
327
|
+
matchPatterns: $,
|
|
328
|
+
defaultMatchWidth: "wide",
|
|
329
|
+
parsePatterns: z,
|
|
330
|
+
defaultParseWidth: "any",
|
|
331
|
+
valueCallback: (e) => e + 1
|
|
332
|
+
}),
|
|
333
|
+
month: i({
|
|
334
|
+
matchPatterns: V,
|
|
335
|
+
defaultMatchWidth: "wide",
|
|
336
|
+
parsePatterns: X,
|
|
337
|
+
defaultParseWidth: "any"
|
|
338
|
+
}),
|
|
339
|
+
day: i({
|
|
340
|
+
matchPatterns: C,
|
|
341
|
+
defaultMatchWidth: "wide",
|
|
342
|
+
parsePatterns: N,
|
|
343
|
+
defaultParseWidth: "any"
|
|
344
|
+
}),
|
|
345
|
+
dayPeriod: i({
|
|
346
|
+
matchPatterns: Q,
|
|
347
|
+
defaultMatchWidth: "any",
|
|
348
|
+
parsePatterns: A,
|
|
349
|
+
defaultParseWidth: "any"
|
|
350
|
+
})
|
|
351
|
+
}, L = {
|
|
352
|
+
code: "ja",
|
|
353
|
+
formatDistance: m,
|
|
354
|
+
formatLong: f,
|
|
355
|
+
formatRelative: b,
|
|
356
|
+
localize: x,
|
|
357
|
+
match: E,
|
|
358
|
+
options: {
|
|
359
|
+
weekStartsOn: 0,
|
|
360
|
+
firstWeekContainsDate: 1
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
export {
|
|
364
|
+
L as ja
|
|
365
|
+
};
|
|
366
|
+
//# sourceMappingURL=ja-DO57gIOT.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as t, Fragment as p, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as z, useState as f, useCallback as b } from "react";
|
|
3
3
|
import { c as P } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as I } from "react-i18next";
|
|
5
|
-
import { I as T } from "./icon-button-
|
|
5
|
+
import { I as T } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { C as j } from "./check-DPdL_Sm7.js";
|
|
7
7
|
import { C as K } from "./copy-B00HK7tj.js";
|
|
8
8
|
const A = P("ds:flex", {
|
|
@@ -95,4 +95,4 @@ B.displayName = "KeyValuePair";
|
|
|
95
95
|
export {
|
|
96
96
|
B as K
|
|
97
97
|
};
|
|
98
|
-
//# sourceMappingURL=key-value-pair-
|
|
98
|
+
//# sourceMappingURL=key-value-pair-C8DaR3Xs.js.map
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as n, jsxs as W, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as X, useMemo as D, useState as V, useRef as J, useCallback as p, useImperativeHandle as C, useContext as ee,
|
|
2
|
+
import { forwardRef as X, useMemo as D, useState as V, useRef as J, useCallback as p, useImperativeHandle as C, useContext as ee, Children as te, isValidElement as se, createContext as ie } from "react";
|
|
3
3
|
import { c as Y } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as oe } from "./
|
|
4
|
+
import { useTranslation as re } from "react-i18next";
|
|
5
|
+
import { u as ne } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
+
import { u as oe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
7
|
+
import { u as ae } from "./registry-nPAVE19X.js";
|
|
7
8
|
const de = {
|
|
8
9
|
id: "list",
|
|
9
10
|
capabilities: ["select_single", "select_multiple"],
|
|
@@ -50,7 +51,7 @@ const de = {
|
|
|
50
51
|
description: "Opaque item id; sourced from each ListItem `value` prop. Emitted only when `value` is set."
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
}, q =
|
|
54
|
+
}, q = ie({
|
|
54
55
|
selection: "none",
|
|
55
56
|
selectedValues: /* @__PURE__ */ new Set(),
|
|
56
57
|
focusedValue: null,
|
|
@@ -146,9 +147,9 @@ const de = {
|
|
|
146
147
|
);
|
|
147
148
|
function fe(t) {
|
|
148
149
|
const v = [];
|
|
149
|
-
return
|
|
150
|
-
if (!
|
|
151
|
-
const y =
|
|
150
|
+
return te.forEach(t, (I) => {
|
|
151
|
+
if (!se(I)) return;
|
|
152
|
+
const y = I.props;
|
|
152
153
|
typeof y.value == "string" && v.push({ value: y.value, disabled: !!y.disabled });
|
|
153
154
|
}), v;
|
|
154
155
|
}
|
|
@@ -156,36 +157,36 @@ const Q = X(
|
|
|
156
157
|
({
|
|
157
158
|
as: t = "ul",
|
|
158
159
|
start: v,
|
|
159
|
-
divider:
|
|
160
|
+
divider: I = "spaced",
|
|
160
161
|
density: y = "default",
|
|
161
162
|
selection: w = "none",
|
|
162
163
|
value: f,
|
|
163
164
|
defaultValue: S,
|
|
164
165
|
onValueChange: b,
|
|
165
|
-
disabled:
|
|
166
|
+
disabled: o = !1,
|
|
166
167
|
className: N,
|
|
167
168
|
children: m,
|
|
168
169
|
"aria-label": P,
|
|
169
170
|
...r
|
|
170
171
|
}, B) => {
|
|
171
|
-
const { t: T } =
|
|
172
|
+
const { t: T } = re(), a = w !== "none", g = w === "multiple", U = D(() => {
|
|
172
173
|
if (f !== void 0)
|
|
173
174
|
return Array.isArray(f) ? f : [f];
|
|
174
|
-
}, [f]), K = D(() => S === void 0 ? [] : Array.isArray(S) ? S : [S], []), [E, _] =
|
|
175
|
+
}, [f]), K = D(() => S === void 0 ? [] : Array.isArray(S) ? S : [S], []), [E, _] = ne({
|
|
175
176
|
value: U,
|
|
176
177
|
defaultValue: K
|
|
177
178
|
}), u = D(
|
|
178
179
|
() => new Set(E ?? []),
|
|
179
180
|
[E]
|
|
180
181
|
), H = D(() => fe(m), [m]), i = D(
|
|
181
|
-
() => H.filter((e) => !e.disabled && !
|
|
182
|
-
[H,
|
|
182
|
+
() => H.filter((e) => !e.disabled && !o).map((e) => e.value),
|
|
183
|
+
[H, o]
|
|
183
184
|
), [h, j] = V(null), F = J(/* @__PURE__ */ new Map()), G = p(
|
|
184
185
|
(e, l) => {
|
|
185
186
|
l ? F.current.set(e, l) : F.current.delete(e);
|
|
186
187
|
},
|
|
187
188
|
[]
|
|
188
|
-
),
|
|
189
|
+
), x = p((e) => {
|
|
189
190
|
j(e), requestAnimationFrame(() => {
|
|
190
191
|
var l;
|
|
191
192
|
(l = F.current.get(e)) == null || l.focus();
|
|
@@ -197,43 +198,43 @@ const Q = X(
|
|
|
197
198
|
[_, g, b]
|
|
198
199
|
), k = p(
|
|
199
200
|
(e) => {
|
|
200
|
-
if (!
|
|
201
|
+
if (!o && a)
|
|
201
202
|
if (g) {
|
|
202
203
|
const l = [...u];
|
|
203
204
|
u.has(e) ? d(l.filter((O) => O !== e)) : d([...l, e]);
|
|
204
205
|
} else
|
|
205
206
|
u.has(e) ? d([]) : d([e]);
|
|
206
207
|
},
|
|
207
|
-
[
|
|
208
|
+
[o, a, g, u, d]
|
|
208
209
|
), M = p((e) => {
|
|
209
210
|
j(e);
|
|
210
211
|
}, []), z = p(
|
|
211
212
|
(e, l) => {
|
|
212
|
-
if (!
|
|
213
|
+
if (!a) return;
|
|
213
214
|
const O = i.indexOf(l);
|
|
214
215
|
switch (e.key) {
|
|
215
216
|
case "ArrowDown": {
|
|
216
217
|
e.preventDefault();
|
|
217
218
|
const c = i[O + 1];
|
|
218
|
-
c !== void 0 &&
|
|
219
|
+
c !== void 0 && x(c);
|
|
219
220
|
break;
|
|
220
221
|
}
|
|
221
222
|
case "ArrowUp": {
|
|
222
223
|
e.preventDefault();
|
|
223
224
|
const c = i[O - 1];
|
|
224
|
-
c !== void 0 &&
|
|
225
|
+
c !== void 0 && x(c);
|
|
225
226
|
break;
|
|
226
227
|
}
|
|
227
228
|
case "Home": {
|
|
228
229
|
e.preventDefault();
|
|
229
230
|
const c = i[0];
|
|
230
|
-
c !== void 0 &&
|
|
231
|
+
c !== void 0 && x(c);
|
|
231
232
|
break;
|
|
232
233
|
}
|
|
233
234
|
case "End": {
|
|
234
235
|
e.preventDefault();
|
|
235
236
|
const c = i[i.length - 1];
|
|
236
|
-
c !== void 0 &&
|
|
237
|
+
c !== void 0 && x(c);
|
|
237
238
|
break;
|
|
238
239
|
}
|
|
239
240
|
case " ":
|
|
@@ -243,20 +244,20 @@ const Q = X(
|
|
|
243
244
|
}
|
|
244
245
|
}
|
|
245
246
|
},
|
|
246
|
-
[
|
|
247
|
+
[a, i, x, k]
|
|
247
248
|
), A = {
|
|
248
249
|
selection: w,
|
|
249
250
|
selectedValues: u,
|
|
250
251
|
focusedValue: h,
|
|
251
|
-
disabled:
|
|
252
|
+
disabled: o,
|
|
252
253
|
enabledItemValues: i,
|
|
253
254
|
onItemSelect: k,
|
|
254
255
|
onItemFocus: M,
|
|
255
256
|
onItemKeyDown: z,
|
|
256
257
|
registerItemRef: G,
|
|
257
|
-
divider:
|
|
258
|
+
divider: I
|
|
258
259
|
}, R = le({
|
|
259
|
-
divider:
|
|
260
|
+
divider: I,
|
|
260
261
|
density: y,
|
|
261
262
|
ordered: t === "ol",
|
|
262
263
|
className: N
|
|
@@ -264,15 +265,15 @@ const Q = X(
|
|
|
264
265
|
() => ({
|
|
265
266
|
getSelection: () => Array.from(u),
|
|
266
267
|
setSelection: (e) => {
|
|
267
|
-
|
|
268
|
+
a && d(g ? e : e.slice(0, 1));
|
|
268
269
|
},
|
|
269
270
|
clearSelection: () => {
|
|
270
|
-
|
|
271
|
+
a && d([]);
|
|
271
272
|
}
|
|
272
273
|
}),
|
|
273
|
-
[u,
|
|
274
|
+
[u, a, g, d]
|
|
274
275
|
);
|
|
275
|
-
if (C(B, () => s, [s]),
|
|
276
|
+
if (C(B, () => s, [s]), ae(de, s, r.id), a) {
|
|
276
277
|
const e = P ?? T("list.label", "List");
|
|
277
278
|
return /* @__PURE__ */ n(q.Provider, { value: A, children: /* @__PURE__ */ n(
|
|
278
279
|
"div",
|
|
@@ -281,7 +282,7 @@ const Q = X(
|
|
|
281
282
|
role: "listbox",
|
|
282
283
|
"aria-label": e,
|
|
283
284
|
"aria-multiselectable": g ? !0 : void 0,
|
|
284
|
-
"aria-disabled":
|
|
285
|
+
"aria-disabled": o ? !0 : void 0,
|
|
285
286
|
className: R,
|
|
286
287
|
"data-component": "list",
|
|
287
288
|
"data-component-id": r.id,
|
|
@@ -321,13 +322,13 @@ const Z = X(
|
|
|
321
322
|
({
|
|
322
323
|
value: t,
|
|
323
324
|
leading: v,
|
|
324
|
-
title:
|
|
325
|
+
title: I,
|
|
325
326
|
description: y,
|
|
326
327
|
trailing: w,
|
|
327
328
|
lineClamp: f,
|
|
328
329
|
disabled: S = !1,
|
|
329
330
|
className: b,
|
|
330
|
-
onClick:
|
|
331
|
+
onClick: o,
|
|
331
332
|
onFocus: N,
|
|
332
333
|
onKeyDown: m,
|
|
333
334
|
...P
|
|
@@ -335,7 +336,7 @@ const Z = X(
|
|
|
335
336
|
const {
|
|
336
337
|
selection: B,
|
|
337
338
|
selectedValues: T,
|
|
338
|
-
focusedValue:
|
|
339
|
+
focusedValue: a,
|
|
339
340
|
disabled: g,
|
|
340
341
|
enabledItemValues: U,
|
|
341
342
|
onItemSelect: K,
|
|
@@ -343,8 +344,8 @@ const Z = X(
|
|
|
343
344
|
onItemKeyDown: _,
|
|
344
345
|
registerItemRef: u,
|
|
345
346
|
divider: H
|
|
346
|
-
} = ee(q), i = B !== "none", h = g || S, j = t !== void 0 ? T.has(t) : !1, F = t !== void 0 &&
|
|
347
|
-
|
|
347
|
+
} = ee(q), i = B !== "none", h = g || S, j = t !== void 0 ? T.has(t) : !1, F = t !== void 0 && a === t, G = t !== void 0 && U[0] === t, x = i ? a !== null ? F && !h ? 0 : -1 : G && !h ? 0 : -1 : void 0, d = J(null);
|
|
348
|
+
oe(() => {
|
|
348
349
|
const s = d.current;
|
|
349
350
|
s && (f != null ? s.style.setProperty("--list-item-clamp", String(f)) : s.style.removeProperty("--list-item-clamp"));
|
|
350
351
|
}, [f]);
|
|
@@ -355,9 +356,9 @@ const Z = X(
|
|
|
355
356
|
[t, u, r]
|
|
356
357
|
), M = p(
|
|
357
358
|
(s) => {
|
|
358
|
-
i && t && !h && K(t),
|
|
359
|
+
i && t && !h && K(t), o == null || o(s);
|
|
359
360
|
},
|
|
360
|
-
[i, t, h, K,
|
|
361
|
+
[i, t, h, K, o]
|
|
361
362
|
), z = p(
|
|
362
363
|
(s) => {
|
|
363
364
|
t && E(t), N == null || N(s);
|
|
@@ -377,7 +378,7 @@ const Z = X(
|
|
|
377
378
|
}), L = /* @__PURE__ */ W($, { children: [
|
|
378
379
|
v && /* @__PURE__ */ n("span", { className: "ds:shrink-0 ds:flex ds:items-center ds:justify-center", children: v }),
|
|
379
380
|
/* @__PURE__ */ W("div", { className: "ds:flex-1 ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-0", children: [
|
|
380
|
-
/* @__PURE__ */ n("span", { className: "ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium ds:leading-[var(--line-height-base)] ds:[overflow-wrap:anywhere]", children:
|
|
381
|
+
/* @__PURE__ */ n("span", { className: "ds:text-[color:var(--foreground)] ds:text-[length:var(--font-size-sm)] ds:font-medium ds:leading-[var(--line-height-base)] ds:[overflow-wrap:anywhere]", children: I }),
|
|
381
382
|
y && /* @__PURE__ */ n(
|
|
382
383
|
"span",
|
|
383
384
|
{
|
|
@@ -399,7 +400,7 @@ const Z = X(
|
|
|
399
400
|
role: "option",
|
|
400
401
|
"aria-selected": j,
|
|
401
402
|
"aria-disabled": h ? !0 : void 0,
|
|
402
|
-
tabIndex:
|
|
403
|
+
tabIndex: x,
|
|
403
404
|
onClick: M,
|
|
404
405
|
onFocus: z,
|
|
405
406
|
onKeyDown: A,
|
|
@@ -427,12 +428,12 @@ const Z = X(
|
|
|
427
428
|
}
|
|
428
429
|
);
|
|
429
430
|
Z.displayName = "List.Item";
|
|
430
|
-
const
|
|
431
|
+
const he = Object.assign(Q, {
|
|
431
432
|
Root: Q,
|
|
432
433
|
Item: Z
|
|
433
434
|
});
|
|
434
435
|
export {
|
|
435
|
-
|
|
436
|
+
he as L,
|
|
436
437
|
de as l
|
|
437
438
|
};
|
|
438
|
-
//# sourceMappingURL=list-
|
|
439
|
+
//# sourceMappingURL=list-BOwqwy03.js.map
|
|
@@ -3,13 +3,13 @@ import { forwardRef as H, useId as $, useState as M, useCallback as R, useMemo a
|
|
|
3
3
|
import { c as B } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { _ as y, R as ee } from "./index-4xgbg-sn.js";
|
|
6
|
-
import { I as ae } from "./icon-button-
|
|
7
|
-
import { P as C } from "./popover-
|
|
6
|
+
import { I as ae } from "./icon-button-CKEOrN37.js";
|
|
7
|
+
import { P as C } from "./popover-Devce-tT.js";
|
|
8
8
|
import { h as A, a as _ } from "./flag-DZ6V7-hU.js";
|
|
9
9
|
import { c as se, a as te, d as re } from "./input-surface-xyERuLU_.js";
|
|
10
10
|
import { LOCALES_WITH_BUNDLES as j } from "../i18n/config.js";
|
|
11
11
|
import { u as oe } from "./use-locale-BkCIHujH.js";
|
|
12
|
-
import { u as ne } from "./registry-
|
|
12
|
+
import { u as ne } from "./registry-nPAVE19X.js";
|
|
13
13
|
import { G as z } from "./globe-BkEFMNSg.js";
|
|
14
14
|
import { M as ie } from "./monitor-D-SFdbrU.js";
|
|
15
15
|
import { C as O } from "./check-DPdL_Sm7.js";
|
|
@@ -724,4 +724,4 @@ export {
|
|
|
724
724
|
I as b,
|
|
725
725
|
k as c
|
|
726
726
|
};
|
|
727
|
-
//# sourceMappingURL=locale-picker-
|
|
727
|
+
//# sourceMappingURL=locale-picker-D99UyZVJ.js.map
|