@alfadocs/ui-kit 0.30.5 → 0.31.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{accordion-CNcodXuO.js → accordion-bSU21uTV.js} +3 -3
- package/dist/_chunks/{agenda-card-DO9_yogb.js → agenda-card-UJA6Arbs.js} +3 -3
- package/dist/_chunks/{agenda-tray-WLbfMip6.js → agenda-tray-1fAxNOMz.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-BXlwNnWe.js → ai-prompt-input-C6sCr1Vi.js} +11 -10
- package/dist/_chunks/{alia-sidebar-C-232sD7.js → alia-sidebar-BEoMl6UL.js} +9 -9
- package/dist/_chunks/ar-CEpIJtcO.js +399 -0
- package/dist/_chunks/{audio-recorder-DL800PE_.js → audio-recorder-C1rhKhSN.js} +114 -114
- package/dist/_chunks/audio-visualiser-l6zPd0AG.js +162 -0
- package/dist/_chunks/{autocomplete-CUh0f7Dj.js → autocomplete-DIgdhCGJ.js} +2 -2
- package/dist/_chunks/{avatar-D_H4emLo.js → avatar-BNQNhoyL.js} +19 -18
- package/dist/_chunks/{badge-CIjQ1Us1.js → badge-CptERaHx.js} +2 -2
- package/dist/_chunks/{booking-Cw92aqo3.js → booking-BIZ9GSer.js} +149 -160
- package/dist/_chunks/{breadcrumb--YI7lcHA.js → breadcrumb-CLlhx7qo.js} +2 -2
- package/dist/_chunks/{button-group-Bh2g_Ng-.js → button-group-Ciq6J4IW.js} +15 -14
- package/dist/_chunks/{calendar-WWNx448i.js → calendar-YHFknAGv.js} +22 -22
- package/dist/_chunks/calendar-clock-CYkcqdwl.js +19 -0
- package/dist/_chunks/{carousel.agent-C2Icc9_T.js → carousel.agent-DrX96W-1.js} +2 -2
- package/dist/_chunks/{chart-BLvFl169.js → chart-DLkVn_ex.js} +2 -2
- package/dist/_chunks/{chat-container-izziXViv.js → chat-container-ogB4OskO.js} +24 -23
- package/dist/_chunks/{chat-input-cyl_y9bh.js → chat-input-CQe7nR_v.js} +132 -118
- package/dist/_chunks/{chat-message-fg221-yx.js → chat-message-D53_fH2w.js} +2 -2
- package/dist/_chunks/{checkbox-Dgp_cfUr.js → checkbox-DRcOdmXv.js} +3 -3
- package/dist/_chunks/{checkbox-group-eVowqKcT.js → checkbox-group-CpUwlHug.js} +3 -3
- package/dist/_chunks/{collapsible-hHiyZp0b.js → collapsible-CERONory.js} +2 -2
- package/dist/_chunks/{color-picker-Bm-gzpsh.js → color-picker-9tL7pz5y.js} +192 -181
- package/dist/_chunks/{combobox-Da9eq00i.js → combobox-BC-DFx8G.js} +31 -30
- package/dist/_chunks/{command-palette-11BieSNq.js → command-palette-BiPAAno-.js} +125 -123
- package/dist/_chunks/{copy-field-BAF4mt9h.js → copy-field-CCq7j6Zc.js} +2 -2
- package/dist/_chunks/{date-picker-D0Ry1dMz.js → date-picker-B94HAV4A.js} +4 -4
- package/dist/_chunks/{date-range-picker-DYgHzMOo.js → date-range-picker-D4dgDlLU.js} +73 -73
- package/dist/_chunks/{date-time-picker-CGmGtcyc.js → date-time-picker-D1GEzf8p.js} +5 -5
- package/dist/_chunks/de-Dfbeau59.js +477 -0
- package/dist/_chunks/{description-list-CWjnaDGn.js → description-list-BEbK2g93.js} +2 -2
- package/dist/_chunks/{dialog-C-lTGVkB.js → dialog-Cee13rHU.js} +3 -3
- package/dist/_chunks/{dropdown-menu-DZxwF23X.js → dropdown-menu-BC5ZdOMo.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-CztRy_21.js → editable-currency-cell-renderer-BpicmolK.js} +308 -322
- package/dist/_chunks/el-Dro3J7CP.js +373 -0
- package/dist/_chunks/{email-input-DvJ_kPKL.js → email-input-lQivsFrw.js} +3 -3
- package/dist/_chunks/es-Dvg8u70B.js +373 -0
- package/dist/_chunks/{file-upload-DxAQprcU.js → file-upload-CdozCPct.js} +226 -233
- package/dist/_chunks/fr-VOGjBSPP.js +338 -0
- package/dist/_chunks/{freemium-paywall-B9c8Ylww.js → freemium-paywall-D1N02Oam.js} +4 -4
- package/dist/_chunks/{header-DDj7uGD-.js → header-CTZWX-tm.js} +2 -2
- package/dist/_chunks/hi-BSDxWU_y.js +433 -0
- package/dist/_chunks/{icon-button-DPEqBKBQ.js → icon-button-CKEOrN37.js} +2 -2
- package/dist/_chunks/{icon-button-group-DeV3FpNY.js → icon-button-group-C48khLE0.js} +23 -22
- package/dist/_chunks/{isSameDay-DHG8Xade.js → isSameDay-DUEiAT0G.js} +2 -2
- package/dist/_chunks/isSameWeek-Dfzu29cW.js +14 -0
- package/dist/_chunks/it-CuonvcI_.js +401 -0
- package/dist/_chunks/ja-DO57gIOT.js +366 -0
- package/dist/_chunks/{key-value-pair-BvDY3zuc.js → key-value-pair-C8DaR3Xs.js} +2 -2
- package/dist/_chunks/{list-BdvDctBz.js → list-BOwqwy03.js} +44 -43
- package/dist/_chunks/{locale-picker-CY89MChR.js → locale-picker-D99UyZVJ.js} +4 -4
- package/dist/_chunks/{map-view-DyB8tr6c.js → map-view-WEWqXzof.js} +569 -557
- package/dist/_chunks/{message-card-D6iyPacd.js → message-card-BbRhZkDI.js} +3 -3
- package/dist/_chunks/{message-tray-Bh-0ra-Y.js → message-tray-B762TKuv.js} +11 -10
- package/dist/_chunks/{multi-select-dSe6Xtc4.js → multi-select-DOLO3K_z.js} +26 -25
- package/dist/_chunks/{navigation-menu-CyS1fBJ7.js → navigation-menu-C6lBYVv9.js} +3 -3
- package/dist/_chunks/nl-DjPaaWaW.js +326 -0
- package/dist/_chunks/{notification-card-vaMaA7Wa.js → notification-card-DMdO4g54.js} +2 -2
- package/dist/_chunks/{notification-tray-Cnum6LwM.js → notification-tray-Dl3FTleW.js} +17 -16
- package/dist/_chunks/{number-input-BZXu6bPY.js → number-input-Dj5L3pXK.js} +2 -2
- package/dist/_chunks/{otp-input-BDF_iNpa.js → otp-input-BEg_sn8A.js} +2 -2
- package/dist/_chunks/{pagination-BWaXF7W0.js → pagination-DQOgnxxw.js} +2 -2
- package/dist/_chunks/{parseISO-Dk4xa7q6.js → parseISO-DEpUNwxZ.js} +2 -2
- package/dist/_chunks/{patient-search-ZpHN-pgJ.js → patient-search-hFiYbqcl.js} +8 -8
- package/dist/_chunks/{patient-shell-CYaNkbA1.js → patient-shell-CDvMw_Nk.js} +6 -6
- package/dist/_chunks/{payment-form-Ds3rxvad.js → payment-form-D5rgnZu7.js} +2 -2
- package/dist/_chunks/{pdf-viewer-CIuaocnq.js → pdf-viewer-DvtEHcEP.js} +347 -320
- package/dist/_chunks/{phone-input-DKSHX7NQ.js → phone-input-DfZbPPvh.js} +217 -201
- package/dist/_chunks/pl-Cl4lOx2N.js +514 -0
- package/dist/_chunks/{popover-BfHSBEKq.js → popover-Devce-tT.js} +3 -3
- package/dist/_chunks/practice-results-JQunxBIg.js +1618 -0
- package/dist/_chunks/{privacy-lock-C6Ra5m3p.js → privacy-lock-DD-wHxBg.js} +3 -3
- package/dist/_chunks/{progress-B-PSO5OS.js → progress-kzIRcdaq.js} +11 -10
- package/dist/_chunks/pt-D7qO5CzD.js +370 -0
- package/dist/_chunks/{public-footer.agent-Bc99tE5Z.js → public-footer.agent-Bh0rnx4i.js} +21 -14
- package/dist/_chunks/{public-header.agent-B-B0WDAi.js → public-header.agent-B2dDg2_d.js} +3 -3
- package/dist/_chunks/{radio-i4ogu3cq.js → radio-TWf9Q-mp.js} +2 -2
- package/dist/_chunks/{radio-group-CTlGc36r.js → radio-group-BcF92GEF.js} +4 -4
- package/dist/_chunks/{react-day-picker-D3yzgvDB.js → react-day-picker-DsjfS7uI.js} +662 -615
- package/dist/_chunks/recaptcha-widget-CFYyLSEX.js +221 -0
- package/dist/_chunks/refresh-cw-CC8jSKMr.js +17 -0
- package/dist/_chunks/registry-nPAVE19X.js +21 -0
- package/dist/_chunks/{resizable-COV-cnth.js → resizable-3vzqDlg6.js} +29 -28
- package/dist/_chunks/{reviews-panel-bKEUKSic.js → reviews-panel-yanuBZs-.js} +4 -4
- package/dist/_chunks/{rich-text-editor-J-wAz9eN.js → rich-text-editor-CHmr9Bz8.js} +2 -2
- package/dist/_chunks/ro-CP2-VJ_O.js +361 -0
- package/dist/_chunks/ru-RPn9_Lpq.js +561 -0
- package/dist/_chunks/{scroll-area-DEDU-lp-.js → scroll-area-BWqCkEGz.js} +2 -2
- package/dist/_chunks/{search-bar-BRMW1-WG.js → search-bar-CP6wUJFY.js} +3 -3
- package/dist/_chunks/{search-input-CIA6pPfn.js → search-input-C1C3jQpD.js} +24 -23
- package/dist/_chunks/{select-C92AT_OZ.js → select-hsCaJSX3.js} +3 -3
- package/dist/_chunks/{sheet-D8Yl0nKR.js → sheet-BV-yuLE2.js} +3 -3
- package/dist/_chunks/{sidebar-DkyC6GvS.js → sidebar-BbR8f6oe.js} +3 -3
- package/dist/_chunks/{signature-capture-DjMlFOzS.js → signature-capture-C-fF71xI.js} +213 -205
- package/dist/_chunks/{slider-CfEzeseL.js → slider-BHWzXdjt.js} +3 -3
- package/dist/_chunks/{slot-grid-Q94gVmhn.js → slot-grid-Dz13dH82.js} +4 -4
- package/dist/_chunks/smile-BSYLAHy6.js +17 -0
- package/dist/_chunks/{sparkline-B5Ms55PZ.js → sparkline-DEROcSl0.js} +2 -2
- package/dist/_chunks/sq-AQvefouo.js +355 -0
- package/dist/_chunks/{stepper-progress-jFY8BSf7.js → stepper-progress-DDjq5nei.js} +16 -15
- package/dist/_chunks/streaming-text-GH07yIYh.js +127 -0
- package/dist/_chunks/sv-zkx9eBtD.js +376 -0
- package/dist/_chunks/{switch-D916VW86.js → switch-BJ6HD3Mn.js} +2 -2
- package/dist/_chunks/{tabs-aEQfQV3x.js → tabs-BpPYVme_.js} +4 -4
- package/dist/_chunks/{tag-bBPAvXyh.js → tag-CyoaEmf_.js} +2 -2
- package/dist/_chunks/{task-tray-6NlryfMJ.js → task-tray-DRK0b0Qb.js} +3 -3
- package/dist/_chunks/{text-area-D5GAe8pV.js → text-area-BIx0tZ05.js} +27 -26
- package/dist/_chunks/{text-input-CakysYnD.js → text-input-BaClJL8Y.js} +2 -2
- package/dist/_chunks/{theme-toggle-JoeMs_ws.js → theme-toggle-DpC28kt5.js} +6 -6
- package/dist/_chunks/{time-picker-DeVZkIY2.js → time-picker-B5umYwfv.js} +2 -2
- package/dist/_chunks/{timeline-CR7HjZCK.js → timeline-D0Wo7v_o.js} +3 -3
- package/dist/_chunks/{toast.agent-DVpKt38p.js → toast.agent-WHHfw5VX.js} +322 -320
- package/dist/_chunks/{tooltip-ClJd0ciy.js → tooltip-DvmfrNvB.js} +29 -20
- package/dist/_chunks/{tooth-scheme-3mITSXiZ.js → tooth-scheme-CxlsLjfN.js} +2 -2
- package/dist/_chunks/tr-Dmr412Ac.js +378 -0
- package/dist/_chunks/{transaction-chip-z9ENE50O.js → transaction-chip-B8ujzowA.js} +47 -60
- package/dist/_chunks/{transcript-panel-QUQ9XJmf.js → transcript-panel-DyhTpAP7.js} +21 -20
- package/dist/_chunks/{use-direction-D6rvvG9G.js → use-direction-Dp8h70PP.js} +7 -6
- package/dist/_chunks/use-isomorphic-layout-effect-BGfaCOP1.js +6 -0
- package/dist/_chunks/use-media-query-CcAx5SMM.js +16 -0
- package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js} +3 -3
- package/dist/_chunks/use-scroll-to-first-error-4Za-u5Nw.js +43 -0
- package/dist/_chunks/{workflow-map-DlWBJJBt.js → workflow-map-BSvQS3be.js} +6 -6
- package/dist/_chunks/zh-CN-DxVt64Zk.js +388 -0
- package/dist/agent/registry.d.ts +1 -6
- package/dist/agent-catalog.json +42 -1
- package/dist/components/_shared/date-locale.d.ts +7 -2
- package/dist/components/_shared/index.d.ts +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/collapsible/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +6 -6
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +10 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.d.ts +4 -0
- package/dist/components/practice-results/index.js +6 -0
- package/dist/components/practice-results/practice-results.agent.d.ts +4 -0
- package/dist/components/practice-results/practice-results.d.ts +159 -0
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.js +69 -66
- package/dist/i18n/locales/ar.d.ts +92 -0
- package/dist/i18n/locales/ar.js +82 -0
- package/dist/i18n/locales/de.d.ts +92 -0
- package/dist/i18n/locales/de.js +81 -0
- package/dist/i18n/locales/el.d.ts +92 -0
- package/dist/i18n/locales/el.js +82 -0
- package/dist/i18n/locales/en.d.ts +92 -0
- package/dist/i18n/locales/en.js +92 -0
- package/dist/i18n/locales/es.d.ts +92 -0
- package/dist/i18n/locales/es.js +81 -0
- package/dist/i18n/locales/fr.d.ts +92 -0
- package/dist/i18n/locales/fr.js +81 -0
- package/dist/i18n/locales/hi.d.ts +92 -0
- package/dist/i18n/locales/hi.js +82 -0
- package/dist/i18n/locales/it.d.ts +92 -0
- package/dist/i18n/locales/it.js +81 -0
- package/dist/i18n/locales/ja.d.ts +92 -0
- package/dist/i18n/locales/ja.js +82 -0
- package/dist/i18n/locales/nl.d.ts +92 -0
- package/dist/i18n/locales/nl.js +81 -0
- package/dist/i18n/locales/pl.d.ts +92 -0
- package/dist/i18n/locales/pl.js +82 -0
- package/dist/i18n/locales/pt.d.ts +92 -0
- package/dist/i18n/locales/pt.js +83 -0
- package/dist/i18n/locales/ro.d.ts +92 -0
- package/dist/i18n/locales/ro.js +82 -0
- package/dist/i18n/locales/ru.d.ts +92 -0
- package/dist/i18n/locales/ru.js +82 -0
- package/dist/i18n/locales/sq.d.ts +92 -0
- package/dist/i18n/locales/sq.js +82 -0
- package/dist/i18n/locales/sv.d.ts +92 -0
- package/dist/i18n/locales/sv.js +82 -0
- package/dist/i18n/locales/tr.d.ts +92 -0
- package/dist/i18n/locales/tr.js +82 -0
- package/dist/i18n/locales/zh.d.ts +92 -0
- package/dist/i18n/locales/zh.js +82 -0
- package/dist/index.js +532 -528
- package/dist/locales/ar.json +92 -0
- package/dist/locales/de.json +92 -0
- package/dist/locales/el.json +92 -0
- package/dist/locales/en.json +92 -0
- package/dist/locales/es.json +92 -0
- package/dist/locales/fr.json +92 -0
- package/dist/locales/hi.json +92 -0
- package/dist/locales/it.json +92 -0
- package/dist/locales/ja.json +92 -0
- package/dist/locales/nl.json +92 -0
- package/dist/locales/pl.json +92 -0
- package/dist/locales/pt.json +92 -0
- package/dist/locales/ro.json +92 -0
- package/dist/locales/ru.json +92 -0
- package/dist/locales/sq.json +92 -0
- package/dist/locales/sv.json +92 -0
- package/dist/locales/tr.json +92 -0
- package/dist/locales/zh.json +92 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -2
- package/dist/_chunks/audio-visualiser-I-T4Z7EU.js +0 -145
- package/dist/_chunks/recaptcha-widget-BtBNb6tB.js +0 -192
- package/dist/_chunks/registry-C9nwlNyL.js +0 -21
- package/dist/_chunks/streaming-text-BgjCTVOw.js +0 -105
- package/dist/_chunks/use-scroll-to-first-error-BrK7dKB_.js +0 -55
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as K, useState as A, useRef as x, useId as _, useMemo as w, useCallback as R,
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as
|
|
2
|
+
import { forwardRef as K, useState as A, useRef as x, useId as _, useMemo as w, useCallback as R, useImperativeHandle as j, Fragment as O } from "react";
|
|
3
|
+
import { c as V } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as D } from "react-i18next";
|
|
5
|
+
import { u as F } from "./registry-nPAVE19X.js";
|
|
6
|
+
import { u as H } from "./index-CJE9uQmb.js";
|
|
7
|
+
import { S as q } from "./search-input-C1C3jQpD.js";
|
|
8
|
+
import { u as B } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
9
|
const U = {
|
|
9
10
|
id: "transcript-panel",
|
|
10
11
|
capabilities: ["select_single"],
|
|
@@ -50,7 +51,7 @@ const U = {
|
|
|
50
51
|
description: "Stable opaque turn id (line index). Never carries the turn's dictated text."
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
|
-
}, G =
|
|
54
|
+
}, G = V(
|
|
54
55
|
[
|
|
55
56
|
"ds:flex ds:flex-col ds:w-full ds:min-h-0",
|
|
56
57
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border",
|
|
@@ -106,7 +107,7 @@ function ee({ text: t, query: n }) {
|
|
|
106
107
|
children: u
|
|
107
108
|
},
|
|
108
109
|
p
|
|
109
|
-
) : /* @__PURE__ */ o(
|
|
110
|
+
) : /* @__PURE__ */ o(O, { children: u }, p)
|
|
110
111
|
);
|
|
111
112
|
}
|
|
112
113
|
const te = K(
|
|
@@ -119,7 +120,7 @@ const te = K(
|
|
|
119
120
|
className: p,
|
|
120
121
|
...g
|
|
121
122
|
}, L) => {
|
|
122
|
-
const { t: d, i18n: b } =
|
|
123
|
+
const { t: d, i18n: b } = D(), [m, M] = A(""), h = x(null), T = x(null), P = _(), c = w(() => {
|
|
123
124
|
if (!Number.isFinite(n)) return -1;
|
|
124
125
|
for (let e = 0; e < t.length; e += 1) {
|
|
125
126
|
const r = t[e];
|
|
@@ -143,14 +144,14 @@ const te = K(
|
|
|
143
144
|
(e.metaKey || e.ctrlKey) && e.key.toLowerCase() === "f" && i && (e.preventDefault(), (r = T.current) == null || r.focus());
|
|
144
145
|
},
|
|
145
146
|
[i]
|
|
146
|
-
), N = t.length > Q, y =
|
|
147
|
+
), N = t.length > Q, y = H({
|
|
147
148
|
count: N ? t.length : 0,
|
|
148
149
|
getScrollElement: () => h.current,
|
|
149
150
|
estimateSize: () => 48,
|
|
150
151
|
overscan: 8,
|
|
151
152
|
getItemKey: (e) => e
|
|
152
153
|
});
|
|
153
|
-
|
|
154
|
+
B(() => {
|
|
154
155
|
if (c < 0) return;
|
|
155
156
|
const e = h.current;
|
|
156
157
|
if (!e) return;
|
|
@@ -164,7 +165,7 @@ const te = K(
|
|
|
164
165
|
behavior: s ? "auto" : "smooth"
|
|
165
166
|
});
|
|
166
167
|
}, [c]);
|
|
167
|
-
const
|
|
168
|
+
const I = R(
|
|
168
169
|
(e, r, s) => {
|
|
169
170
|
const l = r === c, v = J(e.speaker), C = typeof e.confidence == "number" && e.confidence < 0.6;
|
|
170
171
|
return /* @__PURE__ */ f(
|
|
@@ -244,8 +245,8 @@ const te = K(
|
|
|
244
245
|
);
|
|
245
246
|
},
|
|
246
247
|
[c, b.language, a, m, d]
|
|
247
|
-
),
|
|
248
|
-
|
|
248
|
+
), S = x(null);
|
|
249
|
+
j(L, () => S.current, []);
|
|
249
250
|
const E = w(
|
|
250
251
|
() => ({
|
|
251
252
|
getSelectedTurn: () => c >= 0 ? String(c) : null,
|
|
@@ -271,7 +272,7 @@ const te = K(
|
|
|
271
272
|
}),
|
|
272
273
|
[c, t]
|
|
273
274
|
);
|
|
274
|
-
return
|
|
275
|
+
return F(
|
|
275
276
|
U,
|
|
276
277
|
E,
|
|
277
278
|
g.id
|
|
@@ -279,7 +280,7 @@ const te = K(
|
|
|
279
280
|
/* @__PURE__ */ f(
|
|
280
281
|
"div",
|
|
281
282
|
{
|
|
282
|
-
ref:
|
|
283
|
+
ref: S,
|
|
283
284
|
onKeyDown: $,
|
|
284
285
|
"data-component": "transcript-panel",
|
|
285
286
|
"data-component-id": g.id,
|
|
@@ -288,7 +289,7 @@ const te = K(
|
|
|
288
289
|
children: [
|
|
289
290
|
i ? /* @__PURE__ */ f("div", { className: "ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)] ds:pb-[var(--spacing-xs)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:border-b ds:border-border", children: [
|
|
290
291
|
/* @__PURE__ */ o(
|
|
291
|
-
|
|
292
|
+
q,
|
|
292
293
|
{
|
|
293
294
|
ref: T,
|
|
294
295
|
id: P,
|
|
@@ -322,7 +323,7 @@ const te = K(
|
|
|
322
323
|
style: { blockSize: `${y.getTotalSize()}px` },
|
|
323
324
|
children: y.getVirtualItems().map((e) => {
|
|
324
325
|
const r = t[e.index];
|
|
325
|
-
return r ?
|
|
326
|
+
return r ? I(r, e.index, {
|
|
326
327
|
liRef: y.measureElement,
|
|
327
328
|
dataIndex: e.index,
|
|
328
329
|
style: { transform: `translateY(${e.start}px)` },
|
|
@@ -330,7 +331,7 @@ const te = K(
|
|
|
330
331
|
}) : null;
|
|
331
332
|
})
|
|
332
333
|
}
|
|
333
|
-
) : /* @__PURE__ */ o("ol", { className: "ds:list-none ds:ps-0 ds:m-0", children: t.map((e, r) =>
|
|
334
|
+
) : /* @__PURE__ */ o("ol", { className: "ds:list-none ds:ps-0 ds:m-0", children: t.map((e, r) => I(e, r)) })
|
|
334
335
|
}
|
|
335
336
|
)
|
|
336
337
|
]
|
|
@@ -343,4 +344,4 @@ export {
|
|
|
343
344
|
te as T,
|
|
344
345
|
U as t
|
|
345
346
|
};
|
|
346
|
-
//# sourceMappingURL=transcript-panel-
|
|
347
|
+
//# sourceMappingURL=transcript-panel-DyhTpAP7.js.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { useState as s
|
|
1
|
+
import { useState as s } from "react";
|
|
2
|
+
import { u as d } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
2
3
|
const l = () => typeof document > "u" ? "ltr" : document.documentElement.getAttribute("dir") === "rtl" ? "rtl" : "ltr";
|
|
3
|
-
function
|
|
4
|
+
function f(e) {
|
|
4
5
|
const [u, r] = s(l);
|
|
5
6
|
return d(() => {
|
|
6
7
|
const t = e.current;
|
|
@@ -17,7 +18,7 @@ function b(e) {
|
|
|
17
18
|
return () => c.disconnect();
|
|
18
19
|
}, [e]), u;
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function p() {
|
|
21
22
|
const [e, u] = s(l);
|
|
22
23
|
return d(() => {
|
|
23
24
|
if (typeof document > "u") return;
|
|
@@ -34,7 +35,7 @@ function f() {
|
|
|
34
35
|
}, []), e;
|
|
35
36
|
}
|
|
36
37
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
p as a,
|
|
39
|
+
f as u
|
|
39
40
|
};
|
|
40
|
-
//# sourceMappingURL=use-direction-
|
|
41
|
+
//# sourceMappingURL=use-direction-Dp8h70PP.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useState as d, useEffect as r } from "react";
|
|
2
|
+
function s(n) {
|
|
3
|
+
const [o, i] = d(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(n).matches);
|
|
4
|
+
return r(() => {
|
|
5
|
+
if (typeof window > "u" || typeof window.matchMedia != "function")
|
|
6
|
+
return;
|
|
7
|
+
const e = window.matchMedia(n);
|
|
8
|
+
i(e.matches);
|
|
9
|
+
const t = (a) => i(a.matches);
|
|
10
|
+
return typeof e.addEventListener == "function" ? (e.addEventListener("change", t), () => e.removeEventListener("change", t)) : (e.addListener(t), () => e.removeListener(t));
|
|
11
|
+
}, [n]), o;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
s as u
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=use-media-query-CcAx5SMM.js.map
|
package/dist/_chunks/{use-password-requirements-E0sSfx5X.js → use-password-requirements-DsgduV1x.js}
RENAMED
|
@@ -2,10 +2,10 @@ import { jsxs as g, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ts, useRef as as, useState as C, useEffect as is, useCallback as p, useMemo as L } from "react";
|
|
3
3
|
import { c as I } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as W } from "react-i18next";
|
|
5
|
-
import { T as rs } from "./text-input-
|
|
5
|
+
import { T as rs } from "./text-input-BaClJL8Y.js";
|
|
6
6
|
import { u as ns } from "./form-field-context-B3APVHKx.js";
|
|
7
7
|
import { c as os } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
-
import { u as ds } from "./registry-
|
|
8
|
+
import { u as ds } from "./registry-nPAVE19X.js";
|
|
9
9
|
import { E as ls } from "./eye-off-xEXDAh5z.js";
|
|
10
10
|
import { E as cs } from "./eye-LHlSU38h.js";
|
|
11
11
|
import { C as ps } from "./check-DPdL_Sm7.js";
|
|
@@ -436,4 +436,4 @@ export {
|
|
|
436
436
|
xs as P,
|
|
437
437
|
Ms as u
|
|
438
438
|
};
|
|
439
|
-
//# sourceMappingURL=use-password-requirements-
|
|
439
|
+
//# sourceMappingURL=use-password-requirements-DsgduV1x.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useRef as m, useEffect as S } from "react";
|
|
2
|
+
function p(e) {
|
|
3
|
+
return e != null && e.current ? e.current : typeof document > "u" ? null : document;
|
|
4
|
+
}
|
|
5
|
+
function w(e, u) {
|
|
6
|
+
const n = typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(e) : (
|
|
7
|
+
// SSR / jsdom fallback — drop every character that's
|
|
8
|
+
// significant in a CSS attribute selector. Conservative but
|
|
9
|
+
// robust enough for the test environment.
|
|
10
|
+
e.replace(/["'\\[\]]/g, "")
|
|
11
|
+
), c = `[data-error-anchor="${n}"], [name="${n}"], [name$="[${n}]"]`, t = Array.from(u.querySelectorAll(c));
|
|
12
|
+
return t.length === 0 ? null : t.find((i) => i.offsetParent !== null) ?? t[0];
|
|
13
|
+
}
|
|
14
|
+
function y(e, u, n = {}) {
|
|
15
|
+
const {
|
|
16
|
+
scope: c,
|
|
17
|
+
scrollOptions: t = { behavior: "smooth", block: "center" },
|
|
18
|
+
focus: s = !0,
|
|
19
|
+
skipInitialMount: i = !0
|
|
20
|
+
} = n, a = m(!1), o = m(null), r = u.find((l) => !!e[l]) ?? null;
|
|
21
|
+
S(() => {
|
|
22
|
+
if (i && !a.current) {
|
|
23
|
+
a.current = !0, o.current = r;
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (!r) {
|
|
27
|
+
o.current = null;
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
if (r === o.current || typeof window > "u") return;
|
|
31
|
+
const l = window.requestAnimationFrame(() => {
|
|
32
|
+
const d = p(c);
|
|
33
|
+
if (!d) return;
|
|
34
|
+
const f = w(r, d);
|
|
35
|
+
f && (f.scrollIntoView(t), s && f.focus({ preventScroll: !0 }), o.current = r);
|
|
36
|
+
});
|
|
37
|
+
return () => window.cancelAnimationFrame(l);
|
|
38
|
+
}, [r]);
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
y as u
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=use-scroll-to-first-error-4Za-u5Nw.js.map
|
|
@@ -3,16 +3,16 @@ import { forwardRef as O, useMemo as R, useRef as j, useCallback as W, useState
|
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { C } from "./card-DKTMLVrw.js";
|
|
6
|
-
import { B as be } from "./badge-
|
|
7
|
-
import { K as Z } from "./key-value-pair-
|
|
6
|
+
import { B as be } from "./badge-CptERaHx.js";
|
|
7
|
+
import { K as Z } from "./key-value-pair-C8DaR3Xs.js";
|
|
8
8
|
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
9
|
-
import { I as S } from "./icon-button-
|
|
9
|
+
import { I as S } from "./icon-button-CKEOrN37.js";
|
|
10
10
|
import { c as _ } from "./createLucideIcon-CrFbzy84.js";
|
|
11
11
|
import { C as Ne } from "./circle-BkqTgYmt.js";
|
|
12
|
-
import { u as Ce } from "./registry-
|
|
12
|
+
import { u as Ce } from "./registry-nPAVE19X.js";
|
|
13
13
|
import { A as V } from "./alert-ywPR59NE.js";
|
|
14
14
|
import { B as _e } from "./button-DD_0Xdmr.js";
|
|
15
|
-
import { D as N } from "./dropdown-menu-
|
|
15
|
+
import { D as N } from "./dropdown-menu-BC5ZdOMo.js";
|
|
16
16
|
import { E } from "./empty-state-BLy7tigq.js";
|
|
17
17
|
import { P as ae } from "./plus-CYKNmfuA.js";
|
|
18
18
|
import { G as ne } from "./globe-BkEFMNSg.js";
|
|
@@ -1412,4 +1412,4 @@ export {
|
|
|
1412
1412
|
ee as r,
|
|
1413
1413
|
D as w
|
|
1414
1414
|
};
|
|
1415
|
-
//# sourceMappingURL=workflow-map-
|
|
1415
|
+
//# sourceMappingURL=workflow-map-BSvQS3be.js.map
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
import { o as s, q as i, r as o, v as m } from "./react-day-picker-DsjfS7uI.js";
|
|
2
|
+
import { i as u } from "./isSameWeek-Dfzu29cW.js";
|
|
3
|
+
const c = {
|
|
4
|
+
lessThanXSeconds: {
|
|
5
|
+
one: "不到 1 秒",
|
|
6
|
+
other: "不到 {{count}} 秒"
|
|
7
|
+
},
|
|
8
|
+
xSeconds: {
|
|
9
|
+
one: "1 秒",
|
|
10
|
+
other: "{{count}} 秒"
|
|
11
|
+
},
|
|
12
|
+
halfAMinute: "半分钟",
|
|
13
|
+
lessThanXMinutes: {
|
|
14
|
+
one: "不到 1 分钟",
|
|
15
|
+
other: "不到 {{count}} 分钟"
|
|
16
|
+
},
|
|
17
|
+
xMinutes: {
|
|
18
|
+
one: "1 分钟",
|
|
19
|
+
other: "{{count}} 分钟"
|
|
20
|
+
},
|
|
21
|
+
xHours: {
|
|
22
|
+
one: "1 小时",
|
|
23
|
+
other: "{{count}} 小时"
|
|
24
|
+
},
|
|
25
|
+
aboutXHours: {
|
|
26
|
+
one: "大约 1 小时",
|
|
27
|
+
other: "大约 {{count}} 小时"
|
|
28
|
+
},
|
|
29
|
+
xDays: {
|
|
30
|
+
one: "1 天",
|
|
31
|
+
other: "{{count}} 天"
|
|
32
|
+
},
|
|
33
|
+
aboutXWeeks: {
|
|
34
|
+
one: "大约 1 个星期",
|
|
35
|
+
other: "大约 {{count}} 个星期"
|
|
36
|
+
},
|
|
37
|
+
xWeeks: {
|
|
38
|
+
one: "1 个星期",
|
|
39
|
+
other: "{{count}} 个星期"
|
|
40
|
+
},
|
|
41
|
+
aboutXMonths: {
|
|
42
|
+
one: "大约 1 个月",
|
|
43
|
+
other: "大约 {{count}} 个月"
|
|
44
|
+
},
|
|
45
|
+
xMonths: {
|
|
46
|
+
one: "1 个月",
|
|
47
|
+
other: "{{count}} 个月"
|
|
48
|
+
},
|
|
49
|
+
aboutXYears: {
|
|
50
|
+
one: "大约 1 年",
|
|
51
|
+
other: "大约 {{count}} 年"
|
|
52
|
+
},
|
|
53
|
+
xYears: {
|
|
54
|
+
one: "1 年",
|
|
55
|
+
other: "{{count}} 年"
|
|
56
|
+
},
|
|
57
|
+
overXYears: {
|
|
58
|
+
one: "超过 1 年",
|
|
59
|
+
other: "超过 {{count}} 年"
|
|
60
|
+
},
|
|
61
|
+
almostXYears: {
|
|
62
|
+
one: "将近 1 年",
|
|
63
|
+
other: "将近 {{count}} 年"
|
|
64
|
+
}
|
|
65
|
+
}, h = (e, n, t) => {
|
|
66
|
+
let a;
|
|
67
|
+
const r = c[e];
|
|
68
|
+
return typeof r == "string" ? a = r : n === 1 ? a = r.one : a = r.other.replace("{{count}}", String(n)), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? a + "内" : a + "前" : a;
|
|
69
|
+
}, l = {
|
|
70
|
+
full: "y'年'M'月'd'日' EEEE",
|
|
71
|
+
long: "y'年'M'月'd'日'",
|
|
72
|
+
medium: "yyyy-MM-dd",
|
|
73
|
+
short: "yy-MM-dd"
|
|
74
|
+
}, f = {
|
|
75
|
+
full: "zzzz a h:mm:ss",
|
|
76
|
+
long: "z a h:mm:ss",
|
|
77
|
+
medium: "a h:mm:ss",
|
|
78
|
+
short: "a h:mm"
|
|
79
|
+
}, g = {
|
|
80
|
+
full: "{{date}} {{time}}",
|
|
81
|
+
long: "{{date}} {{time}}",
|
|
82
|
+
medium: "{{date}} {{time}}",
|
|
83
|
+
short: "{{date}} {{time}}"
|
|
84
|
+
}, P = {
|
|
85
|
+
date: s({
|
|
86
|
+
formats: l,
|
|
87
|
+
defaultWidth: "full"
|
|
88
|
+
}),
|
|
89
|
+
time: s({
|
|
90
|
+
formats: f,
|
|
91
|
+
defaultWidth: "full"
|
|
92
|
+
}),
|
|
93
|
+
dateTime: s({
|
|
94
|
+
formats: g,
|
|
95
|
+
defaultWidth: "full"
|
|
96
|
+
})
|
|
97
|
+
};
|
|
98
|
+
function d(e, n, t) {
|
|
99
|
+
const a = "eeee p";
|
|
100
|
+
return u(e, n, t) ? a : e.getTime() > n.getTime() ? "'下个'" + a : "'上个'" + a;
|
|
101
|
+
}
|
|
102
|
+
const b = {
|
|
103
|
+
lastWeek: d,
|
|
104
|
+
// days before yesterday, maybe in this week or last week
|
|
105
|
+
yesterday: "'昨天' p",
|
|
106
|
+
today: "'今天' p",
|
|
107
|
+
tomorrow: "'明天' p",
|
|
108
|
+
nextWeek: d,
|
|
109
|
+
// days after tomorrow, maybe in this week or next week
|
|
110
|
+
other: "PP p"
|
|
111
|
+
}, y = (e, n, t, a) => {
|
|
112
|
+
const r = b[e];
|
|
113
|
+
return typeof r == "function" ? r(n, t, a) : r;
|
|
114
|
+
}, w = {
|
|
115
|
+
narrow: ["前", "公元"],
|
|
116
|
+
abbreviated: ["前", "公元"],
|
|
117
|
+
wide: ["公元前", "公元"]
|
|
118
|
+
}, v = {
|
|
119
|
+
narrow: ["1", "2", "3", "4"],
|
|
120
|
+
abbreviated: ["第一季", "第二季", "第三季", "第四季"],
|
|
121
|
+
wide: ["第一季度", "第二季度", "第三季度", "第四季度"]
|
|
122
|
+
}, W = {
|
|
123
|
+
narrow: [
|
|
124
|
+
"一",
|
|
125
|
+
"二",
|
|
126
|
+
"三",
|
|
127
|
+
"四",
|
|
128
|
+
"五",
|
|
129
|
+
"六",
|
|
130
|
+
"七",
|
|
131
|
+
"八",
|
|
132
|
+
"九",
|
|
133
|
+
"十",
|
|
134
|
+
"十一",
|
|
135
|
+
"十二"
|
|
136
|
+
],
|
|
137
|
+
abbreviated: [
|
|
138
|
+
"1月",
|
|
139
|
+
"2月",
|
|
140
|
+
"3月",
|
|
141
|
+
"4月",
|
|
142
|
+
"5月",
|
|
143
|
+
"6月",
|
|
144
|
+
"7月",
|
|
145
|
+
"8月",
|
|
146
|
+
"9月",
|
|
147
|
+
"10月",
|
|
148
|
+
"11月",
|
|
149
|
+
"12月"
|
|
150
|
+
],
|
|
151
|
+
wide: [
|
|
152
|
+
"一月",
|
|
153
|
+
"二月",
|
|
154
|
+
"三月",
|
|
155
|
+
"四月",
|
|
156
|
+
"五月",
|
|
157
|
+
"六月",
|
|
158
|
+
"七月",
|
|
159
|
+
"八月",
|
|
160
|
+
"九月",
|
|
161
|
+
"十月",
|
|
162
|
+
"十一月",
|
|
163
|
+
"十二月"
|
|
164
|
+
]
|
|
165
|
+
}, p = {
|
|
166
|
+
narrow: ["日", "一", "二", "三", "四", "五", "六"],
|
|
167
|
+
short: ["日", "一", "二", "三", "四", "五", "六"],
|
|
168
|
+
abbreviated: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
|
169
|
+
wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"]
|
|
170
|
+
}, M = {
|
|
171
|
+
narrow: {
|
|
172
|
+
am: "上",
|
|
173
|
+
pm: "下",
|
|
174
|
+
midnight: "凌晨",
|
|
175
|
+
noon: "午",
|
|
176
|
+
morning: "早",
|
|
177
|
+
afternoon: "下午",
|
|
178
|
+
evening: "晚",
|
|
179
|
+
night: "夜"
|
|
180
|
+
},
|
|
181
|
+
abbreviated: {
|
|
182
|
+
am: "上午",
|
|
183
|
+
pm: "下午",
|
|
184
|
+
midnight: "凌晨",
|
|
185
|
+
noon: "中午",
|
|
186
|
+
morning: "早晨",
|
|
187
|
+
afternoon: "中午",
|
|
188
|
+
evening: "晚上",
|
|
189
|
+
night: "夜间"
|
|
190
|
+
},
|
|
191
|
+
wide: {
|
|
192
|
+
am: "上午",
|
|
193
|
+
pm: "下午",
|
|
194
|
+
midnight: "凌晨",
|
|
195
|
+
noon: "中午",
|
|
196
|
+
morning: "早晨",
|
|
197
|
+
afternoon: "中午",
|
|
198
|
+
evening: "晚上",
|
|
199
|
+
night: "夜间"
|
|
200
|
+
}
|
|
201
|
+
}, k = {
|
|
202
|
+
narrow: {
|
|
203
|
+
am: "上",
|
|
204
|
+
pm: "下",
|
|
205
|
+
midnight: "凌晨",
|
|
206
|
+
noon: "午",
|
|
207
|
+
morning: "早",
|
|
208
|
+
afternoon: "下午",
|
|
209
|
+
evening: "晚",
|
|
210
|
+
night: "夜"
|
|
211
|
+
},
|
|
212
|
+
abbreviated: {
|
|
213
|
+
am: "上午",
|
|
214
|
+
pm: "下午",
|
|
215
|
+
midnight: "凌晨",
|
|
216
|
+
noon: "中午",
|
|
217
|
+
morning: "早晨",
|
|
218
|
+
afternoon: "中午",
|
|
219
|
+
evening: "晚上",
|
|
220
|
+
night: "夜间"
|
|
221
|
+
},
|
|
222
|
+
wide: {
|
|
223
|
+
am: "上午",
|
|
224
|
+
pm: "下午",
|
|
225
|
+
midnight: "凌晨",
|
|
226
|
+
noon: "中午",
|
|
227
|
+
morning: "早晨",
|
|
228
|
+
afternoon: "中午",
|
|
229
|
+
evening: "晚上",
|
|
230
|
+
night: "夜间"
|
|
231
|
+
}
|
|
232
|
+
}, S = (e, n) => {
|
|
233
|
+
const t = Number(e);
|
|
234
|
+
switch (n == null ? void 0 : n.unit) {
|
|
235
|
+
case "date":
|
|
236
|
+
return t.toString() + "日";
|
|
237
|
+
case "hour":
|
|
238
|
+
return t.toString() + "时";
|
|
239
|
+
case "minute":
|
|
240
|
+
return t.toString() + "分";
|
|
241
|
+
case "second":
|
|
242
|
+
return t.toString() + "秒";
|
|
243
|
+
default:
|
|
244
|
+
return "第 " + t.toString();
|
|
245
|
+
}
|
|
246
|
+
}, x = {
|
|
247
|
+
ordinalNumber: S,
|
|
248
|
+
era: i({
|
|
249
|
+
values: w,
|
|
250
|
+
defaultWidth: "wide"
|
|
251
|
+
}),
|
|
252
|
+
quarter: i({
|
|
253
|
+
values: v,
|
|
254
|
+
defaultWidth: "wide",
|
|
255
|
+
argumentCallback: (e) => e - 1
|
|
256
|
+
}),
|
|
257
|
+
month: i({
|
|
258
|
+
values: W,
|
|
259
|
+
defaultWidth: "wide"
|
|
260
|
+
}),
|
|
261
|
+
day: i({
|
|
262
|
+
values: p,
|
|
263
|
+
defaultWidth: "wide"
|
|
264
|
+
}),
|
|
265
|
+
dayPeriod: i({
|
|
266
|
+
values: M,
|
|
267
|
+
defaultWidth: "wide",
|
|
268
|
+
formattingValues: k,
|
|
269
|
+
defaultFormattingWidth: "wide"
|
|
270
|
+
})
|
|
271
|
+
}, z = /^(第\s*)?\d+(日|时|分|秒)?/i, F = /\d+/i, D = {
|
|
272
|
+
narrow: /^(前)/i,
|
|
273
|
+
abbreviated: /^(前)/i,
|
|
274
|
+
wide: /^(公元前|公元)/i
|
|
275
|
+
}, V = {
|
|
276
|
+
any: [/^(前)/i, /^(公元)/i]
|
|
277
|
+
}, X = {
|
|
278
|
+
narrow: /^[1234]/i,
|
|
279
|
+
abbreviated: /^第[一二三四]刻/i,
|
|
280
|
+
wide: /^第[一二三四]刻钟/i
|
|
281
|
+
}, N = {
|
|
282
|
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
|
|
283
|
+
}, C = {
|
|
284
|
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
|
285
|
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
|
286
|
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
|
|
287
|
+
}, E = {
|
|
288
|
+
narrow: [
|
|
289
|
+
/^一/i,
|
|
290
|
+
/^二/i,
|
|
291
|
+
/^三/i,
|
|
292
|
+
/^四/i,
|
|
293
|
+
/^五/i,
|
|
294
|
+
/^六/i,
|
|
295
|
+
/^七/i,
|
|
296
|
+
/^八/i,
|
|
297
|
+
/^九/i,
|
|
298
|
+
/^十(?!(一|二))/i,
|
|
299
|
+
/^十一/i,
|
|
300
|
+
/^十二/i
|
|
301
|
+
],
|
|
302
|
+
any: [
|
|
303
|
+
/^一|1/i,
|
|
304
|
+
/^二|2/i,
|
|
305
|
+
/^三|3/i,
|
|
306
|
+
/^四|4/i,
|
|
307
|
+
/^五|5/i,
|
|
308
|
+
/^六|6/i,
|
|
309
|
+
/^七|7/i,
|
|
310
|
+
/^八|8/i,
|
|
311
|
+
/^九|9/i,
|
|
312
|
+
/^十(?!(一|二))|10/i,
|
|
313
|
+
/^十一|11/i,
|
|
314
|
+
/^十二|12/i
|
|
315
|
+
]
|
|
316
|
+
}, L = {
|
|
317
|
+
narrow: /^[一二三四五六日]/i,
|
|
318
|
+
short: /^[一二三四五六日]/i,
|
|
319
|
+
abbreviated: /^周[一二三四五六日]/i,
|
|
320
|
+
wide: /^星期[一二三四五六日]/i
|
|
321
|
+
}, T = {
|
|
322
|
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]
|
|
323
|
+
}, q = {
|
|
324
|
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i
|
|
325
|
+
}, Y = {
|
|
326
|
+
any: {
|
|
327
|
+
am: /^上午?/i,
|
|
328
|
+
pm: /^下午?/i,
|
|
329
|
+
midnight: /^午夜/i,
|
|
330
|
+
noon: /^[中正]午/i,
|
|
331
|
+
morning: /^早上/i,
|
|
332
|
+
afternoon: /^下午/i,
|
|
333
|
+
evening: /^晚上?/i,
|
|
334
|
+
night: /^凌晨/i
|
|
335
|
+
}
|
|
336
|
+
}, O = {
|
|
337
|
+
ordinalNumber: m({
|
|
338
|
+
matchPattern: z,
|
|
339
|
+
parsePattern: F,
|
|
340
|
+
valueCallback: (e) => parseInt(e, 10)
|
|
341
|
+
}),
|
|
342
|
+
era: o({
|
|
343
|
+
matchPatterns: D,
|
|
344
|
+
defaultMatchWidth: "wide",
|
|
345
|
+
parsePatterns: V,
|
|
346
|
+
defaultParseWidth: "any"
|
|
347
|
+
}),
|
|
348
|
+
quarter: o({
|
|
349
|
+
matchPatterns: X,
|
|
350
|
+
defaultMatchWidth: "wide",
|
|
351
|
+
parsePatterns: N,
|
|
352
|
+
defaultParseWidth: "any",
|
|
353
|
+
valueCallback: (e) => e + 1
|
|
354
|
+
}),
|
|
355
|
+
month: o({
|
|
356
|
+
matchPatterns: C,
|
|
357
|
+
defaultMatchWidth: "wide",
|
|
358
|
+
parsePatterns: E,
|
|
359
|
+
defaultParseWidth: "any"
|
|
360
|
+
}),
|
|
361
|
+
day: o({
|
|
362
|
+
matchPatterns: L,
|
|
363
|
+
defaultMatchWidth: "wide",
|
|
364
|
+
parsePatterns: T,
|
|
365
|
+
defaultParseWidth: "any"
|
|
366
|
+
}),
|
|
367
|
+
dayPeriod: o({
|
|
368
|
+
matchPatterns: q,
|
|
369
|
+
defaultMatchWidth: "any",
|
|
370
|
+
parsePatterns: Y,
|
|
371
|
+
defaultParseWidth: "any"
|
|
372
|
+
})
|
|
373
|
+
}, Q = {
|
|
374
|
+
code: "zh-CN",
|
|
375
|
+
formatDistance: h,
|
|
376
|
+
formatLong: P,
|
|
377
|
+
formatRelative: y,
|
|
378
|
+
localize: x,
|
|
379
|
+
match: O,
|
|
380
|
+
options: {
|
|
381
|
+
weekStartsOn: 1,
|
|
382
|
+
firstWeekContainsDate: 4
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
export {
|
|
386
|
+
Q as zhCN
|
|
387
|
+
};
|
|
388
|
+
//# sourceMappingURL=zh-CN-DxVt64Zk.js.map
|
package/dist/agent/registry.d.ts
CHANGED
|
@@ -9,14 +9,9 @@ export interface AgentRegistry {
|
|
|
9
9
|
register: (registration: AgentRegistration) => void;
|
|
10
10
|
unregister: (id: string, instanceId: string) => void;
|
|
11
11
|
}
|
|
12
|
-
declare global {
|
|
13
|
-
interface Window {
|
|
14
|
-
__alfadocs_agent?: AgentRegistry;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
12
|
/**
|
|
18
13
|
* Register a live component instance with the host agent registry, if one
|
|
19
|
-
* is mounted. No-op when `
|
|
14
|
+
* is mounted. No-op when `globalThis.__alfadocs_agent` is undefined, so the
|
|
20
15
|
* call is safe to add unconditionally inside any kit component.
|
|
21
16
|
*
|
|
22
17
|
* Re-registers when `instanceId` or `handle` changes; deregisters on
|