@alfadocs/ui-kit 0.64.0 → 0.66.0
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/{agenda-tray-DA6qj8BL.js → agenda-tray-Bh1KfEOG.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-DBKV27je.js → ai-consent-banner-Btzmk8OH.js} +3 -2
- package/dist/_chunks/{ai-prompt-input-Dx8eXoPm.js → ai-prompt-input-BwEACCPm.js} +2 -2
- package/dist/_chunks/{ai-tools-rail-7tC3GT4h.js → ai-tools-rail-DAfaW8eA.js} +65 -56
- package/dist/_chunks/{alia-sidebar-DlvyXgVC.js → alia-sidebar-CN8pA6c-.js} +7 -7
- package/dist/_chunks/{anamnesis-card-CmkBVAln.js → anamnesis-card-qeLYRG79.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-CdiqkF05.js → antenatal-schedule-timeline-BfzFjEyb.js} +3 -3
- package/dist/_chunks/{appointment-tray-BwDHhWWC.js → appointment-tray-BQnJEora.js} +2 -2
- package/dist/_chunks/{ar-C68WKG5a.js → ar-Cn5Fq48Z.js} +2 -2
- package/dist/_chunks/{audio-recorder-CdXuT9ln.js → audio-recorder-DjXLP4aF.js} +2 -2
- package/dist/_chunks/{autocomplete-CDqxB68B.js → autocomplete-CcCFlVf-.js} +4 -4
- package/dist/_chunks/{bishop-score-CzjSx-dm.js → bishop-score-DPN4Ched.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DA2NGmVK.js → bmi-calculator-DuUneHuZ.js} +2 -2
- package/dist/_chunks/{booking-ChfvWy3P.js → booking-L8-YP8BJ.js} +148 -148
- package/dist/_chunks/calendar-B6soK1Yb.js +17 -0
- package/dist/_chunks/{calendar-CkuJIg3s.js → calendar-oYWOCrnf.js} +1 -1
- package/dist/_chunks/{care-plan-card-DhZNoXs4.js → care-plan-card-D42WD4-T.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-DW70yBOD.js → care-plan-entry-card-BukNI7Uy.js} +2 -2
- package/dist/_chunks/{carousel.agent-DrX96W-1.js → carousel.agent-vt21A_el.js} +2 -2
- package/dist/_chunks/{chat-input-CFwc7JxL.js → chat-input-B5zjNEUN.js} +2 -2
- package/dist/_chunks/{chat-message-Dm8U2RY1.js → chat-message-3V54YipB.js} +2 -2
- package/dist/_chunks/{code-block-HoddNOKJ.js → code-block-BBWHhIc8.js} +2 -2
- package/dist/_chunks/columns-2-BTOBZbep.js +15 -0
- package/dist/_chunks/{contact-profile-card-DvvVfAA2.js → contact-profile-card-CCeJmjbd.js} +2 -2
- package/dist/_chunks/{cycle-calculator-C_t1Hs8V.js → cycle-calculator-D6LTmtQt.js} +4 -4
- package/dist/_chunks/{date-picker-BfHblqwA.js → date-picker-oGg5BnXL.js} +12 -11
- package/dist/_chunks/{date-picker-variants-CXEAx3O_.js → date-picker-variants-DAcSLTua.js} +358 -372
- package/dist/_chunks/{date-range-picker-hcAMs1wO.js → date-range-picker-C5BWfH_T.js} +34 -25
- package/dist/_chunks/{date-time-picker-H-3Pwqlb.js → date-time-picker-Ze1My59T.js} +18 -17
- package/dist/_chunks/{de-DK4A9_a8.js → de-CrJs4ZsX.js} +2 -2
- package/dist/_chunks/{description-list-BEbK2g93.js → description-list-gkNGWk5G.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Q8MIwEVV.js → due-date-calculator-CIG194vq.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-BQgaKFCz.js → editable-currency-cell-renderer-f3d0Rhue.js} +535 -535
- package/dist/_chunks/editor-overlay-wYm22wZK.js +88 -0
- package/dist/_chunks/{el-B29HXhG5.js → el-DHdMOIhL.js} +6 -6
- package/dist/_chunks/{es-BOwPVwWn.js → es-DCATCfqo.js} +2 -2
- package/dist/_chunks/{fetal-weight-D1a6BmM-.js → fetal-weight-Xf8-ZoDy.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-BZ0FxwUl.js → fiscal-code-input-DPtqluVb.js} +2 -2
- package/dist/_chunks/{fr-DoDBtn0T.js → fr-BfGEMshF.js} +2 -2
- package/dist/_chunks/{freemium-paywall-gHGA44dW.js → freemium-paywall-CkWjv3o6.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-D85E8lGN.js → gestational-age-calculator-BGsZaWXW.js} +6 -6
- package/dist/_chunks/{hcg-doubling-Dg0Hr7ey.js → hcg-doubling-LH5i6oM7.js} +3 -3
- package/dist/_chunks/{header-Ce1Br27u.js → header-CNszv2WQ.js} +2 -2
- package/dist/_chunks/{header-settings-D5Z2B_Yz.js → header-settings-CNOqIhoW.js} +3 -3
- package/dist/_chunks/{hi-DGByrKby.js → hi-CBFRXEIm.js} +2 -2
- package/dist/_chunks/icon-button-LqoiKcUN.js +78 -0
- package/dist/_chunks/image-C6RM5hfF.js +16 -0
- package/dist/_chunks/{insert-result-C1SYdueh.js → insert-result-njqBthzT.js} +115 -125
- package/dist/_chunks/{isSameWeek-B1odL2vR.js → isSameWeek-I3DfXUp1.js} +2 -2
- package/dist/_chunks/{it-B16rEecm.js → it-nz6vAKwG.js} +7 -7
- package/dist/_chunks/{ja-B0viOgft.js → ja-DQcqdAEJ.js} +2 -2
- package/dist/_chunks/{key-value-pair-CkQIb9EG.js → key-value-pair-BrgbMfbF.js} +2 -2
- package/dist/_chunks/{locale-picker-D99UyZVJ.js → locale-picker-C9JmBht3.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-C4OYAC22.js → marketplace-app-shell-Cou6XnMJ.js} +5 -5
- package/dist/_chunks/{message-card-Dvl1TgaN.js → message-card-Bgcvfj6-.js} +2 -2
- package/dist/_chunks/{message-tray-Dl6GQaaV.js → message-tray-saAVMeHP.js} +3 -3
- package/dist/_chunks/{multi-select-DOLO3K_z.js → multi-select-BcPylvHR.js} +100 -90
- package/dist/_chunks/{nl-cBxEX2QU.js → nl-L5SuDjyl.js} +2 -2
- package/dist/_chunks/{notification-card-CObnGdJu.js → notification-card-BiESdm8q.js} +2 -2
- package/dist/_chunks/{notification-tray-BWHDIjgd.js → notification-tray-DlgenTEe.js} +3 -3
- package/dist/_chunks/{patient-search-CArmRKeg.js → patient-search-Bw9ONucF.js} +2 -2
- package/dist/_chunks/{patient-shell-Coarf346.js → patient-shell-Tgpv0HND.js} +4 -4
- package/dist/_chunks/{patient-summary-card-BnTqxcTr.js → patient-summary-card-Bgso0p_l.js} +2 -2
- package/dist/_chunks/{payment-form-DJ9vnzrT.js → payment-form-nXocS_MX.js} +11 -4
- package/dist/_chunks/{payment-request-card-B_lyobd0.js → payment-request-card-DBz3hVDz.js} +3 -3
- package/dist/_chunks/{pdf-viewer-chMpwpA4.js → pdf-viewer-GsfNqeeT.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-BYs9hax1.js → periodontal-chart-card-AYyHtU9K.js} +2 -2
- package/dist/_chunks/phone-input-DVXhNlIl.js +563 -0
- package/dist/_chunks/{pl-DtS08ioY.js → pl-YAn5z2wR.js} +3 -3
- package/dist/_chunks/{popover-Devce-tT.js → popover-DTbfAuR0.js} +2 -2
- package/dist/_chunks/{practice-results-CtfciF2v.js → practice-results-CVAgY2RZ.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-7NUaAfob.js → pregnancy-dating-f9aJbiAk.js} +6 -6
- package/dist/_chunks/{pregnancy-weight-gain-DI7X-0JX.js → pregnancy-weight-gain-BMRBeA8V.js} +2 -2
- package/dist/_chunks/{privacy-lock-BN3L-alb.js → privacy-lock-C7JyMf0y.js} +2 -2
- package/dist/_chunks/{product-hub-panel-CkfZBA3t.js → product-hub-panel-CAXDFeGP.js} +2 -2
- package/dist/_chunks/{pt-yFXs1VvH.js → pt-D9xdT5KQ.js} +6 -6
- package/dist/_chunks/{public-header.agent-CYQK6T6F.js → public-header.agent-BOhJgZEU.js} +3 -3
- package/dist/_chunks/{reviews-panel-CPrXu5TX.js → reviews-panel-DBktKm7i.js} +2 -2
- package/dist/_chunks/rich-text-editor-B5XQNxe8.js +1586 -0
- package/dist/_chunks/{ro-DsCzSrzR.js → ro-Cp--52bT.js} +2 -2
- package/dist/_chunks/{ru-DgDxL0pc.js → ru-BM8eX_Zz.js} +3 -3
- package/dist/_chunks/{search-bar-CvN_S0jW.js → search-bar-SY2BcV2N.js} +2 -2
- package/dist/_chunks/{search-input-D3aMvi4l.js → search-input-DbxrnHkW.js} +3 -3
- package/dist/_chunks/{sheet-xbzu4YiY.js → sheet-taJer-Ha.js} +2 -2
- package/dist/_chunks/{sidebar-DPEHzxLZ.js → sidebar-BFwbx74W.js} +12 -1
- package/dist/_chunks/{sign-document--nr5cxsB.js → sign-document-CdAiHiCh.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-BpAjVmsI.js → sign-in-with-alfadocs-button-LppxjlFt.js} +2 -2
- package/dist/_chunks/{signature-field-DbhbpLha.js → signature-field-Dy1JRjzE.js} +10 -3
- package/dist/_chunks/{slot-grid-BlHHP9Qy.js → slot-grid-FsqumOaS.js} +2 -2
- package/dist/_chunks/smart-date-CWikAqZx.js +114 -0
- package/dist/_chunks/{social-sign-in-button-uJYLM366.js → social-sign-in-button-dlpPI5l7.js} +2 -2
- package/dist/_chunks/{spinner-OjQNn8oN.js → spinner-hbwuKwMf.js} +10 -10
- package/dist/_chunks/{sq-DHlCYN67.js → sq-XRpr0r49.js} +6 -6
- package/dist/_chunks/{streaming-text-CfhDqtIT.js → streaming-text-BB9mvK4m.js} +2 -2
- package/dist/_chunks/subDays-BcYv1Lxi.js +8 -0
- package/dist/_chunks/{sv-O0QaQs_s.js → sv-Z3APomE8.js} +2 -2
- package/dist/_chunks/{task-tray-Cb_hK4yb.js → task-tray-CAncV-QQ.js} +2 -2
- package/dist/_chunks/{theme-toggle-DAW7uC0B.js → theme-toggle-DETmSu_h.js} +2 -2
- package/dist/_chunks/{toast.agent-B0MCsvdZ.js → toast.agent-vuLRRn2a.js} +2 -2
- package/dist/_chunks/{tooth-scheme-CiphQaON.js → tooth-scheme-BIx1O2aJ.js} +3 -3
- package/dist/_chunks/{tr-BmNDRuio.js → tr-e0-P4FON.js} +2 -2
- package/dist/_chunks/{transcript-panel-B4HiC7ed.js → transcript-panel-CLHmv83g.js} +2 -2
- package/dist/_chunks/trash-2-rPAKaRgB.js +18 -0
- package/dist/_chunks/{unit-converter-BIbXHIQA.js → unit-converter-C1V3ACM9.js} +2 -2
- package/dist/_chunks/{wallet-pay-button-DuDPBlCO.js → wallet-pay-button--dnR6NfJ.js} +2 -2
- package/dist/_chunks/{workflow-map-BJDUNYlX.js → workflow-map-Bt4Of5dT.js} +137 -149
- package/dist/_chunks/{zh-CN-CgVJZEzz.js → zh-CN-B-igM5gY.js} +3 -3
- package/dist/agent-catalog.json +32 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/carousel/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/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/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/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/editor-overlay.d.ts +19 -0
- package/dist/components/editor-overlay/index.d.ts +3 -0
- package/dist/components/editor-overlay/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- 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/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/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/periodontal-chart-card/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts +9 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +26 -0
- package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +25 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +43 -0
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/smart-date/index.d.ts +3 -0
- package/dist/components/smart-date/index.js +5 -0
- package/dist/components/smart-date/smart-date.d.ts +32 -0
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/toast/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/unit-converter/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +60 -0
- package/dist/i18n/locales/ar.js +61 -1
- package/dist/i18n/locales/de.d.ts +60 -0
- package/dist/i18n/locales/de.js +61 -1
- package/dist/i18n/locales/el.d.ts +60 -0
- package/dist/i18n/locales/el.js +61 -1
- package/dist/i18n/locales/en.d.ts +60 -0
- package/dist/i18n/locales/en.js +65 -1
- package/dist/i18n/locales/es.d.ts +60 -0
- package/dist/i18n/locales/es.js +61 -1
- package/dist/i18n/locales/fr.d.ts +60 -0
- package/dist/i18n/locales/fr.js +61 -1
- package/dist/i18n/locales/hi.d.ts +60 -0
- package/dist/i18n/locales/hi.js +61 -1
- package/dist/i18n/locales/it.d.ts +60 -0
- package/dist/i18n/locales/it.js +61 -1
- package/dist/i18n/locales/ja.d.ts +60 -0
- package/dist/i18n/locales/ja.js +61 -1
- package/dist/i18n/locales/nl.d.ts +60 -0
- package/dist/i18n/locales/nl.js +61 -1
- package/dist/i18n/locales/pl.d.ts +60 -0
- package/dist/i18n/locales/pl.js +61 -1
- package/dist/i18n/locales/pt.d.ts +60 -0
- package/dist/i18n/locales/pt.js +61 -1
- package/dist/i18n/locales/ro.d.ts +60 -0
- package/dist/i18n/locales/ro.js +61 -1
- package/dist/i18n/locales/ru.d.ts +60 -0
- package/dist/i18n/locales/ru.js +61 -1
- package/dist/i18n/locales/sq.d.ts +60 -0
- package/dist/i18n/locales/sq.js +61 -1
- package/dist/i18n/locales/sv.d.ts +60 -0
- package/dist/i18n/locales/sv.js +61 -1
- package/dist/i18n/locales/tr.d.ts +60 -0
- package/dist/i18n/locales/tr.js +61 -1
- package/dist/i18n/locales/zh.d.ts +60 -0
- package/dist/i18n/locales/zh.js +61 -1
- package/dist/index.js +494 -490
- package/dist/locales/ar.json +61 -1
- package/dist/locales/de.json +61 -1
- package/dist/locales/el.json +61 -1
- package/dist/locales/en.json +61 -1
- package/dist/locales/es.json +61 -1
- package/dist/locales/fr.json +61 -1
- package/dist/locales/hi.json +61 -1
- package/dist/locales/it.json +61 -1
- package/dist/locales/ja.json +61 -1
- package/dist/locales/nl.json +61 -1
- package/dist/locales/pl.json +61 -1
- package/dist/locales/pt.json +61 -1
- package/dist/locales/ro.json +61 -1
- package/dist/locales/ru.json +61 -1
- package/dist/locales/sq.json +61 -1
- package/dist/locales/sv.json +61 -1
- package/dist/locales/tr.json +61 -1
- package/dist/locales/zh.json +61 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +36 -22
- package/package.json +10 -1
- package/dist/_chunks/icon-button-CKEOrN37.js +0 -70
- package/dist/_chunks/phone-input-DfZbPPvh.js +0 -525
- package/dist/_chunks/rich-text-editor-B03qM22-.js +0 -334
- package/dist/_chunks/subDays-Bs00akhK.js +0 -8
|
@@ -3,8 +3,8 @@ 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-LqoiKcUN.js";
|
|
7
|
+
import { P as C } from "./popover-DTbfAuR0.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";
|
|
@@ -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-C9JmBht3.js.map
|
package/dist/_chunks/{marketplace-app-shell-C4OYAC22.js → marketplace-app-shell-Cou6XnMJ.js}
RENAMED
|
@@ -8,10 +8,10 @@ import { A as D } from "./alert-_mUKLmwA.js";
|
|
|
8
8
|
import { C as w } from "./card-DPmk26CL.js";
|
|
9
9
|
import { D as m } from "./dropdown-menu-DwwPovMZ.js";
|
|
10
10
|
import { T as F } from "./tab-bar-Xetknddo.js";
|
|
11
|
-
import { a as S, H as q, g as G, f as A, e as J, c as K, d as Q } from "./header-
|
|
12
|
-
import { H as U } from "./header-settings-
|
|
13
|
-
import { S as X } from "./sign-in-with-alfadocs-button-
|
|
14
|
-
import { S as Y, a as Z, j as _, k as aa, i as ea, h as z } from "./sidebar-
|
|
11
|
+
import { a as S, H as q, g as G, f as A, e as J, c as K, d as Q } from "./header-CNszv2WQ.js";
|
|
12
|
+
import { H as U } from "./header-settings-CNOqIhoW.js";
|
|
13
|
+
import { S as X } from "./sign-in-with-alfadocs-button-LppxjlFt.js";
|
|
14
|
+
import { S as Y, a as Z, j as _, k as aa, i as ea, h as z } from "./sidebar-BFwbx74W.js";
|
|
15
15
|
import { T as sa } from "./theme-root-BOO73p5t.js";
|
|
16
16
|
import { a as ta } from "./tooltip-DvmfrNvB.js";
|
|
17
17
|
import { u as ra } from "./use-theme-CAuo6EYT.js";
|
|
@@ -510,4 +510,4 @@ export {
|
|
|
510
510
|
va as M,
|
|
511
511
|
g as P
|
|
512
512
|
};
|
|
513
|
-
//# sourceMappingURL=marketplace-app-shell-
|
|
513
|
+
//# sourceMappingURL=marketplace-app-shell-Cou6XnMJ.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as _, useMemo as B, useState as L, useRef as U, useCallback as E } from "react";
|
|
3
3
|
import { c as W } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { I as H } from "./icon-button-
|
|
5
|
+
import { I as H } from "./icon-button-LqoiKcUN.js";
|
|
6
6
|
import { B as k } from "./button-DD_0Xdmr.js";
|
|
7
7
|
import { A as X } from "./avatar-BNQNhoyL.js";
|
|
8
8
|
import { T as q } from "./timestamp-BV2lC-wV.js";
|
|
@@ -274,4 +274,4 @@ Q.displayName = "MessageCard";
|
|
|
274
274
|
export {
|
|
275
275
|
Q as M
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=message-card-
|
|
277
|
+
//# sourceMappingURL=message-card-Bgcvfj6-.js.map
|
|
@@ -5,11 +5,11 @@ import { c as C } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as q } from "react-i18next";
|
|
6
6
|
import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
-
import { I as me } from "./icon-button-
|
|
8
|
+
import { I as me } from "./icon-button-LqoiKcUN.js";
|
|
9
9
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
10
10
|
import { S as L } from "./separator-CYU_bGFn.js";
|
|
11
11
|
import { S as f } from "./skeleton-CZbwyJAA.js";
|
|
12
|
-
import { M as pe } from "./message-card-
|
|
12
|
+
import { M as pe } from "./message-card-Bgcvfj6-.js";
|
|
13
13
|
import { u as ue } from "./registry-nPAVE19X.js";
|
|
14
14
|
import { M as F } from "./mail-C8irm52s.js";
|
|
15
15
|
const ge = {
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
be as M,
|
|
413
413
|
ge as m
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=message-tray-
|
|
415
|
+
//# sourceMappingURL=message-tray-saAVMeHP.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as n, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Me, useContext as Pe, useState as K, useRef as k, useMemo as F, useEffect as U, useCallback as je } from "react";
|
|
3
3
|
import * as D from "@radix-ui/react-popover";
|
|
4
4
|
import { _ as u } from "./index-4xgbg-sn.js";
|
|
5
5
|
import { c as de } from "./index-D2ZczOXr.js";
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { u as
|
|
6
|
+
import { useTranslation as $e } from "react-i18next";
|
|
7
|
+
import { u as Be, F as Ke } from "./form-field-context-B3APVHKx.js";
|
|
8
8
|
import { T as oe } from "./tooltip-DvmfrNvB.js";
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { g as
|
|
13
|
-
import { b as Q, c as
|
|
14
|
-
import { u as
|
|
15
|
-
import { X as
|
|
16
|
-
import { C as
|
|
17
|
-
const
|
|
9
|
+
import { c as Ue } from "./compose-refs-C0k0tdqF.js";
|
|
10
|
+
import { u as Qe } from "./use-controllable-state-BiY4xTzM.js";
|
|
11
|
+
import { u as Ye } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
12
|
+
import { g as Ge } from "./group-options-BvKhQ3xb.js";
|
|
13
|
+
import { b as Q, c as He } from "./input-surface-xyERuLU_.js";
|
|
14
|
+
import { u as Xe } from "./registry-nPAVE19X.js";
|
|
15
|
+
import { X as Je } from "./x-CCcI3eJp.js";
|
|
16
|
+
import { C as We } from "./check-DPdL_Sm7.js";
|
|
17
|
+
const Ze = {
|
|
18
18
|
id: "multi-select",
|
|
19
19
|
capabilities: ["select_multiple", "filter", "open", "close"],
|
|
20
20
|
state: {
|
|
@@ -85,10 +85,10 @@ const We = {
|
|
|
85
85
|
description: "Each option emits its value as data-option-id."
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
},
|
|
88
|
+
}, et = de(
|
|
89
89
|
[
|
|
90
90
|
"ds:inline-flex ds:flex-wrap ds:items-center ds:gap-1 ds:w-full",
|
|
91
|
-
|
|
91
|
+
He,
|
|
92
92
|
"ds:aria-[invalid=true]:border-destructive",
|
|
93
93
|
"ds:aria-disabled:cursor-not-allowed ds:aria-disabled:opacity-50"
|
|
94
94
|
],
|
|
@@ -122,7 +122,7 @@ const We = {
|
|
|
122
122
|
},
|
|
123
123
|
defaultVariants: { size: "md" }
|
|
124
124
|
}
|
|
125
|
-
),
|
|
125
|
+
), tt = [
|
|
126
126
|
"ds:inline-flex ds:items-center ds:justify-center ds:shrink-0",
|
|
127
127
|
"ds:rounded-[var(--radius-sm)]",
|
|
128
128
|
"ds:text-muted-foreground ds:hover:text-foreground",
|
|
@@ -131,7 +131,7 @@ const We = {
|
|
|
131
131
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
132
132
|
"ds:size-4",
|
|
133
133
|
'ds:relative ds:before:absolute ds:before:inset-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""]'
|
|
134
|
-
].join(" "),
|
|
134
|
+
].join(" "), st = [
|
|
135
135
|
"ds:z-[var(--z-dropdown)] ds:overflow-hidden",
|
|
136
136
|
"ds:min-w-[var(--radix-popover-trigger-width)]",
|
|
137
137
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
@@ -142,7 +142,7 @@ const We = {
|
|
|
142
142
|
"ds:data-[side=bottom]:slide-in-from-top-2",
|
|
143
143
|
"ds:data-[side=top]:slide-in-from-bottom-2",
|
|
144
144
|
"ds:motion-reduce:animate-none"
|
|
145
|
-
].join(" "),
|
|
145
|
+
].join(" "), rt = [
|
|
146
146
|
"ds:relative ds:flex ds:cursor-pointer ds:items-center",
|
|
147
147
|
"ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
|
|
148
148
|
"ds:text-[var(--font-size-sm)] ds:text-foreground ds:outline-none ds:select-none",
|
|
@@ -154,7 +154,7 @@ const We = {
|
|
|
154
154
|
"ds:rounded-[var(--radius-sm)] ds:ps-2 ds:pe-2 ds:py-1.5",
|
|
155
155
|
"ds:text-[var(--font-size-sm)] ds:font-medium ds:text-primary ds:outline-none ds:select-none",
|
|
156
156
|
"ds:data-[selected=true]:bg-muted"
|
|
157
|
-
].join(" "),
|
|
157
|
+
].join(" "), nt = "__ui-multiselect-select-all__", ot = "__ui-multiselect-clear-all__", le = Me(
|
|
158
158
|
function({
|
|
159
159
|
options: c,
|
|
160
160
|
value: ce,
|
|
@@ -162,7 +162,7 @@ const We = {
|
|
|
162
162
|
onChange: fe,
|
|
163
163
|
onComplete: L,
|
|
164
164
|
placeholder: me,
|
|
165
|
-
maxSelections:
|
|
165
|
+
maxSelections: b,
|
|
166
166
|
allowSelectAll: Y = !1,
|
|
167
167
|
allowClear: G = !1,
|
|
168
168
|
filter: O,
|
|
@@ -170,19 +170,28 @@ const We = {
|
|
|
170
170
|
disabled: pe,
|
|
171
171
|
className: he,
|
|
172
172
|
id: z,
|
|
173
|
-
|
|
173
|
+
// Pull `aria-label` out of the div spread so it names the combobox
|
|
174
|
+
// INPUT (the interactive control) rather than the wrapper div. Lets a
|
|
175
|
+
// consumer give the trigger a meaningful name when there's no visible
|
|
176
|
+
// label or FormField (e.g. a data-table floating filter naming itself
|
|
177
|
+
// after its column). Untouched callers fall back to the placeholder.
|
|
178
|
+
// ONLY set this when the control has no visible / FormField label —
|
|
179
|
+
// `aria-label` wins over an associated `<label>`, so passing both would
|
|
180
|
+
// silently override the visible text (WCAG 2.5.3 Label in Name).
|
|
181
|
+
"aria-label": ge,
|
|
182
|
+
...be
|
|
174
183
|
}, ve) {
|
|
175
|
-
const { t: f } =
|
|
184
|
+
const { t: f } = $e(), v = Be(), y = Pe(Ke) !== null, [ye, q] = Qe({
|
|
176
185
|
value: ce,
|
|
177
186
|
defaultValue: ue ?? [],
|
|
178
187
|
onChange: fe
|
|
179
|
-
}), r =
|
|
188
|
+
}), r = ye ?? [], [C, m] = K(!1), [p, M] = K(""), w = k(null), I = k([]), H = k(null), we = Ue(ve, H), g = y && v.disabled || !!pe, Ie = y && v.required, X = y && v.invalid, xe = y && v.describedBy ? v.describedBy : void 0, ke = z ?? (y ? v.id : void 0), Ce = F(() => {
|
|
180
189
|
const e = /* @__PURE__ */ new Map();
|
|
181
190
|
for (const t of c) e.set(t.value, t.label);
|
|
182
191
|
return e;
|
|
183
|
-
}, [c]), J = typeof
|
|
192
|
+
}, [c]), J = typeof b == "number" && r.length >= b, S = (e) => {
|
|
184
193
|
q(e);
|
|
185
|
-
},
|
|
194
|
+
}, Se = (e) => {
|
|
186
195
|
if (r.includes(e)) {
|
|
187
196
|
S(r.filter((t) => t !== e));
|
|
188
197
|
return;
|
|
@@ -191,29 +200,29 @@ const We = {
|
|
|
191
200
|
}, P = (e) => {
|
|
192
201
|
const t = r.filter((s, o) => o !== e);
|
|
193
202
|
return S(t), t;
|
|
194
|
-
}, Se = () => {
|
|
195
|
-
const e = c.filter((s) => !s.disabled).map((s) => s.value), t = typeof v == "number" ? v : e.length;
|
|
196
|
-
S(e.slice(0, t));
|
|
197
203
|
}, Ae = () => {
|
|
204
|
+
const e = c.filter((s) => !s.disabled).map((s) => s.value), t = typeof b == "number" ? b : e.length;
|
|
205
|
+
S(e.slice(0, t));
|
|
206
|
+
}, Ne = () => {
|
|
198
207
|
S([]);
|
|
199
|
-
}, W =
|
|
208
|
+
}, W = k(r);
|
|
200
209
|
U(() => {
|
|
201
210
|
W.current = r;
|
|
202
211
|
}, [r]);
|
|
203
|
-
const Z =
|
|
212
|
+
const Z = k(p);
|
|
204
213
|
U(() => {
|
|
205
214
|
Z.current = p;
|
|
206
215
|
}, [p]);
|
|
207
|
-
const ee =
|
|
216
|
+
const ee = k(C);
|
|
208
217
|
U(() => {
|
|
209
218
|
ee.current = C;
|
|
210
219
|
}, [C]);
|
|
211
|
-
const j =
|
|
220
|
+
const j = je(
|
|
212
221
|
(e) => {
|
|
213
222
|
q(e);
|
|
214
223
|
},
|
|
215
224
|
[q]
|
|
216
|
-
),
|
|
225
|
+
), _e = F(
|
|
217
226
|
() => ({
|
|
218
227
|
getSelection: () => [...W.current],
|
|
219
228
|
getQuery: () => Z.current,
|
|
@@ -226,15 +235,15 @@ const We = {
|
|
|
226
235
|
}),
|
|
227
236
|
[j]
|
|
228
237
|
);
|
|
229
|
-
|
|
238
|
+
Xe(Ze, _e, z);
|
|
230
239
|
const te = me ?? f("inputs.multiSelect.placeholder", "Select…"), se = F(() => {
|
|
231
240
|
if (!p) return c;
|
|
232
241
|
const e = p.toLowerCase();
|
|
233
242
|
return c.filter((t) => O ? O(p, t) : t.label.toLowerCase().includes(e));
|
|
234
|
-
}, [c, p, O]),
|
|
235
|
-
() =>
|
|
243
|
+
}, [c, p, O]), Re = F(
|
|
244
|
+
() => Ge(se),
|
|
236
245
|
[se]
|
|
237
|
-
),
|
|
246
|
+
), Te = (e) => {
|
|
238
247
|
var o;
|
|
239
248
|
const t = e.currentTarget;
|
|
240
249
|
if (e.key === "Backspace" && p === "" && r.length > 0) {
|
|
@@ -242,7 +251,7 @@ const We = {
|
|
|
242
251
|
const a = r.length - 1, l = P(a).length - 1;
|
|
243
252
|
l >= 0 && requestAnimationFrame(() => {
|
|
244
253
|
var h;
|
|
245
|
-
(h =
|
|
254
|
+
(h = I.current[l]) == null || h.focus();
|
|
246
255
|
});
|
|
247
256
|
return;
|
|
248
257
|
}
|
|
@@ -252,7 +261,7 @@ const We = {
|
|
|
252
261
|
if (a && e.key === "ArrowRight" || !a && e.key === "ArrowLeft") {
|
|
253
262
|
e.preventDefault();
|
|
254
263
|
const l = r.length - 1;
|
|
255
|
-
(o =
|
|
264
|
+
(o = I.current[l]) == null || o.focus();
|
|
256
265
|
}
|
|
257
266
|
return;
|
|
258
267
|
}
|
|
@@ -261,7 +270,7 @@ const We = {
|
|
|
261
270
|
return;
|
|
262
271
|
}
|
|
263
272
|
!C && (e.key === "ArrowDown" || e.key === "Enter") && m(!0);
|
|
264
|
-
},
|
|
273
|
+
}, Ee = (e) => (t) => {
|
|
265
274
|
var d, l, h, N;
|
|
266
275
|
if (t.key === "Backspace" || t.key === "Delete" || t.key === "Enter" || t.key === " ") {
|
|
267
276
|
t.preventDefault(), t.stopPropagation();
|
|
@@ -269,14 +278,14 @@ const We = {
|
|
|
269
278
|
if (V.length === 0) {
|
|
270
279
|
requestAnimationFrame(() => {
|
|
271
280
|
var _;
|
|
272
|
-
return (_ =
|
|
281
|
+
return (_ = w.current) == null ? void 0 : _.focus();
|
|
273
282
|
});
|
|
274
283
|
return;
|
|
275
284
|
}
|
|
276
|
-
const
|
|
285
|
+
const qe = Math.min(e, V.length - 1);
|
|
277
286
|
requestAnimationFrame(() => {
|
|
278
287
|
var _;
|
|
279
|
-
(_ =
|
|
288
|
+
(_ = I.current[qe]) == null || _.focus();
|
|
280
289
|
});
|
|
281
290
|
return;
|
|
282
291
|
}
|
|
@@ -284,18 +293,18 @@ const We = {
|
|
|
284
293
|
if (t.key === o) {
|
|
285
294
|
t.preventDefault();
|
|
286
295
|
const V = Math.max(0, e - 1);
|
|
287
|
-
(d =
|
|
296
|
+
(d = I.current[V]) == null || d.focus();
|
|
288
297
|
return;
|
|
289
298
|
}
|
|
290
299
|
if (t.key === a) {
|
|
291
|
-
t.preventDefault(), e < r.length - 1 ? (l =
|
|
300
|
+
t.preventDefault(), e < r.length - 1 ? (l = I.current[e + 1]) == null || l.focus() : (h = w.current) == null || h.focus();
|
|
292
301
|
return;
|
|
293
302
|
}
|
|
294
|
-
t.key === "Escape" && (m(!1), (N =
|
|
303
|
+
t.key === "Escape" && (m(!1), (N = w.current) == null || N.focus());
|
|
295
304
|
}, [T, $] = K(
|
|
296
305
|
Number.POSITIVE_INFINITY
|
|
297
306
|
);
|
|
298
|
-
|
|
307
|
+
Ye(() => {
|
|
299
308
|
const e = H.current;
|
|
300
309
|
if (!e) return;
|
|
301
310
|
const t = () => {
|
|
@@ -319,49 +328,49 @@ const We = {
|
|
|
319
328
|
}, [r.length, R]);
|
|
320
329
|
const E = r.map((e) => ({
|
|
321
330
|
value: e,
|
|
322
|
-
label:
|
|
323
|
-
})), re = T === Number.POSITIVE_INFINITY || T >= E.length,
|
|
331
|
+
label: Ce.get(e) ?? e
|
|
332
|
+
})), re = T === Number.POSITIVE_INFINITY || T >= E.length, Ve = re ? E : E.slice(0, T), ne = re ? [] : E.slice(T), A = ne.length, Fe = (e) => {
|
|
324
333
|
var s;
|
|
325
334
|
if (g) return;
|
|
326
335
|
const t = e.target;
|
|
327
|
-
t.closest('[data-ui-chip="true"]') || t.closest('[data-ui-chip-dismiss="true"]') || (m(!0), (s =
|
|
328
|
-
},
|
|
336
|
+
t.closest('[data-ui-chip="true"]') || t.closest('[data-ui-chip-dismiss="true"]') || (m(!0), (s = w.current) == null || s.focus());
|
|
337
|
+
}, De = (e) => {
|
|
329
338
|
if (g) {
|
|
330
339
|
m(!1);
|
|
331
340
|
return;
|
|
332
341
|
}
|
|
333
342
|
m(e), e || (M(""), L == null || L(r));
|
|
334
|
-
},
|
|
343
|
+
}, Le = Y || G, Oe = f("inputs.multiSelect.selected", {
|
|
335
344
|
count: r.length,
|
|
336
345
|
defaultValue: `${r.length} selected`
|
|
337
|
-
}), { onClick: B, ...
|
|
338
|
-
return /* @__PURE__ */ n(u, { shouldFilter: !1, label:
|
|
339
|
-
/* @__PURE__ */ n(D.Anchor, { asChild: !0, children: /* @__PURE__ */
|
|
346
|
+
}), { onClick: B, ...ze } = be;
|
|
347
|
+
return /* @__PURE__ */ n(u, { shouldFilter: !1, label: Oe, children: /* @__PURE__ */ x(D.Root, { open: C, onOpenChange: De, children: [
|
|
348
|
+
/* @__PURE__ */ n(D.Anchor, { asChild: !0, children: /* @__PURE__ */ x(
|
|
340
349
|
"div",
|
|
341
350
|
{
|
|
342
|
-
ref:
|
|
343
|
-
className:
|
|
351
|
+
ref: we,
|
|
352
|
+
className: et({ size: R, className: he }),
|
|
344
353
|
"aria-disabled": g || void 0,
|
|
345
354
|
"aria-invalid": X || void 0,
|
|
346
355
|
"data-component": "multi-select",
|
|
347
356
|
"data-component-id": z,
|
|
348
357
|
onClick: (e) => {
|
|
349
|
-
B == null || B(e),
|
|
358
|
+
B == null || B(e), Fe(e);
|
|
350
359
|
},
|
|
351
|
-
...
|
|
360
|
+
...ze,
|
|
352
361
|
children: [
|
|
353
|
-
|
|
362
|
+
Ve.map((e, t) => (
|
|
354
363
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions -- chip pill receives focus via roving tabindex; chip removal uses an inner button
|
|
355
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ x(
|
|
356
365
|
"span",
|
|
357
366
|
{
|
|
358
367
|
ref: (s) => {
|
|
359
|
-
|
|
368
|
+
I.current[t] = s;
|
|
360
369
|
},
|
|
361
370
|
tabIndex: g ? -1 : 0,
|
|
362
371
|
"data-ui-chip": "true",
|
|
363
372
|
className: ie({ size: R }),
|
|
364
|
-
onKeyDown:
|
|
373
|
+
onKeyDown: Ee(t),
|
|
365
374
|
"aria-label": e.label,
|
|
366
375
|
children: [
|
|
367
376
|
/* @__PURE__ */ n("span", { children: e.label }),
|
|
@@ -379,11 +388,11 @@ const We = {
|
|
|
379
388
|
onClick: (s) => {
|
|
380
389
|
s.stopPropagation(), P(t), requestAnimationFrame(() => {
|
|
381
390
|
var o;
|
|
382
|
-
return (o =
|
|
391
|
+
return (o = w.current) == null ? void 0 : o.focus();
|
|
383
392
|
});
|
|
384
393
|
},
|
|
385
|
-
className:
|
|
386
|
-
children: /* @__PURE__ */ n(
|
|
394
|
+
className: tt,
|
|
395
|
+
children: /* @__PURE__ */ n(Je, { "aria-hidden": "true", className: "ds:size-3.5" })
|
|
387
396
|
}
|
|
388
397
|
)
|
|
389
398
|
]
|
|
@@ -417,18 +426,19 @@ const We = {
|
|
|
417
426
|
/* @__PURE__ */ n(
|
|
418
427
|
u.Input,
|
|
419
428
|
{
|
|
420
|
-
ref:
|
|
429
|
+
ref: w,
|
|
421
430
|
value: p,
|
|
422
431
|
onValueChange: M,
|
|
423
|
-
onKeyDown:
|
|
432
|
+
onKeyDown: Te,
|
|
424
433
|
onFocus: () => {
|
|
425
434
|
g || m(!0);
|
|
426
435
|
},
|
|
427
436
|
placeholder: r.length === 0 ? te : "",
|
|
428
|
-
id:
|
|
429
|
-
"aria-
|
|
437
|
+
id: ke,
|
|
438
|
+
"aria-label": y ? void 0 : ge,
|
|
439
|
+
"aria-describedby": xe,
|
|
430
440
|
"aria-invalid": X || void 0,
|
|
431
|
-
"aria-required":
|
|
441
|
+
"aria-required": Ie || void 0,
|
|
432
442
|
disabled: g,
|
|
433
443
|
className: [
|
|
434
444
|
"ds:flex-1 ds:min-w-[6rem] ds:bg-transparent ds:outline-none",
|
|
@@ -447,8 +457,8 @@ const We = {
|
|
|
447
457
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
448
458
|
align: "start",
|
|
449
459
|
sideOffset: 4,
|
|
450
|
-
className:
|
|
451
|
-
children: /* @__PURE__ */
|
|
460
|
+
className: st,
|
|
461
|
+
children: /* @__PURE__ */ x(
|
|
452
462
|
u.List,
|
|
453
463
|
{
|
|
454
464
|
role: "listbox",
|
|
@@ -456,12 +466,12 @@ const We = {
|
|
|
456
466
|
"aria-label": te,
|
|
457
467
|
className: "ds:max-h-[20rem] ds:overflow-y-auto ds:p-1",
|
|
458
468
|
children: [
|
|
459
|
-
|
|
469
|
+
Le ? /* @__PURE__ */ x(u.Group, { children: [
|
|
460
470
|
Y ? /* @__PURE__ */ n(
|
|
461
471
|
u.Item,
|
|
462
472
|
{
|
|
463
|
-
value:
|
|
464
|
-
onSelect:
|
|
473
|
+
value: nt,
|
|
474
|
+
onSelect: Ae,
|
|
465
475
|
className: ae,
|
|
466
476
|
children: f("inputs.multiSelect.selectAll", "Select all")
|
|
467
477
|
}
|
|
@@ -469,27 +479,27 @@ const We = {
|
|
|
469
479
|
G ? /* @__PURE__ */ n(
|
|
470
480
|
u.Item,
|
|
471
481
|
{
|
|
472
|
-
value:
|
|
473
|
-
onSelect:
|
|
482
|
+
value: ot,
|
|
483
|
+
onSelect: Ne,
|
|
474
484
|
className: ae,
|
|
475
485
|
children: f("inputs.multiSelect.clearAll", "Clear all")
|
|
476
486
|
}
|
|
477
487
|
) : null
|
|
478
488
|
] }) : null,
|
|
479
489
|
/* @__PURE__ */ n(u.Empty, { className: "ds:ps-2 ds:pe-2 ds:py-2 type-body-sm ds:text-muted-foreground", children: f("inputs.multiSelect.noOptions", "No options found") }),
|
|
480
|
-
|
|
490
|
+
Re.map(({ group: e, items: t }, s) => {
|
|
481
491
|
const o = t.map((a) => {
|
|
482
|
-
const d = r.includes(a.value), l = !d && J, h = !!a.disabled || l, N = /* @__PURE__ */
|
|
492
|
+
const d = r.includes(a.value), l = !d && J, h = !!a.disabled || l, N = /* @__PURE__ */ x(
|
|
483
493
|
u.Item,
|
|
484
494
|
{
|
|
485
495
|
value: a.value,
|
|
486
496
|
disabled: h,
|
|
487
497
|
onSelect: () => {
|
|
488
|
-
h ||
|
|
498
|
+
h || Se(a.value);
|
|
489
499
|
},
|
|
490
500
|
"aria-selected": d,
|
|
491
501
|
"aria-disabled": h || void 0,
|
|
492
|
-
className:
|
|
502
|
+
className: rt,
|
|
493
503
|
children: [
|
|
494
504
|
/* @__PURE__ */ n(
|
|
495
505
|
"span",
|
|
@@ -500,7 +510,7 @@ const We = {
|
|
|
500
510
|
d ? "ds:bg-primary ds:border-primary ds:text-primary-foreground" : "ds:bg-background"
|
|
501
511
|
].join(" "),
|
|
502
512
|
"aria-hidden": "true",
|
|
503
|
-
children: d ? /* @__PURE__ */ n(
|
|
513
|
+
children: d ? /* @__PURE__ */ n(We, { className: "ds:size-3.5" }) : null
|
|
504
514
|
}
|
|
505
515
|
),
|
|
506
516
|
/* @__PURE__ */ n("span", { className: "ds:flex-1 ds:text-start", children: a.label })
|
|
@@ -512,8 +522,8 @@ const We = {
|
|
|
512
522
|
oe,
|
|
513
523
|
{
|
|
514
524
|
label: f("inputs.multiSelect.maxReached", {
|
|
515
|
-
count:
|
|
516
|
-
defaultValue: `Maximum ${
|
|
525
|
+
count: b,
|
|
526
|
+
defaultValue: `Maximum ${b} selections`
|
|
517
527
|
}),
|
|
518
528
|
delayDuration: 200,
|
|
519
529
|
children: N
|
|
@@ -540,10 +550,10 @@ const We = {
|
|
|
540
550
|
}
|
|
541
551
|
);
|
|
542
552
|
le.displayName = "MultiSelect";
|
|
543
|
-
const
|
|
553
|
+
const It = le;
|
|
544
554
|
export {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
555
|
+
It as M,
|
|
556
|
+
et as a,
|
|
557
|
+
Ze as m
|
|
548
558
|
};
|
|
549
|
-
//# sourceMappingURL=multi-select-
|
|
559
|
+
//# sourceMappingURL=multi-select-BcPylvHR.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as d, q as n, r, v as s } from "./date-picker-variants-DAcSLTua.js";
|
|
2
2
|
const m = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
one: "minder dan een seconde",
|
|
@@ -323,4 +323,4 @@ const m = {
|
|
|
323
323
|
export {
|
|
324
324
|
S as nl
|
|
325
325
|
};
|
|
326
|
-
//# sourceMappingURL=nl-
|
|
326
|
+
//# sourceMappingURL=nl-L5SuDjyl.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as M, useMemo as P, useState as R, useRef as B, useCallback as L } from "react";
|
|
3
3
|
import { c as D } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
|
-
import { I as W } from "./icon-button-
|
|
5
|
+
import { I as W } from "./icon-button-LqoiKcUN.js";
|
|
6
6
|
import { B as N } from "./button-DD_0Xdmr.js";
|
|
7
7
|
import { T as E } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { X as H } from "./x-CCcI3eJp.js";
|
|
@@ -252,4 +252,4 @@ export {
|
|
|
252
252
|
q as N,
|
|
253
253
|
_ as i
|
|
254
254
|
};
|
|
255
|
-
//# sourceMappingURL=notification-card-
|
|
255
|
+
//# sourceMappingURL=notification-card-BiESdm8q.js.map
|
|
@@ -5,11 +5,11 @@ import { c as C } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { useTranslation as F } from "react-i18next";
|
|
6
6
|
import { u as ce } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
7
|
import { u as le } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
-
import { I as fe } from "./icon-button-
|
|
8
|
+
import { I as fe } from "./icon-button-LqoiKcUN.js";
|
|
9
9
|
import { B as E } from "./button-DD_0Xdmr.js";
|
|
10
10
|
import { S as q } from "./separator-CYU_bGFn.js";
|
|
11
11
|
import { S as x } from "./skeleton-CZbwyJAA.js";
|
|
12
|
-
import { N as pe } from "./notification-card-
|
|
12
|
+
import { N as pe } from "./notification-card-BiESdm8q.js";
|
|
13
13
|
import { u as ue } from "./registry-nPAVE19X.js";
|
|
14
14
|
import { c as me } from "./createLucideIcon-CrFbzy84.js";
|
|
15
15
|
/**
|
|
@@ -446,4 +446,4 @@ export {
|
|
|
446
446
|
Te as N,
|
|
447
447
|
ve as n
|
|
448
448
|
};
|
|
449
|
-
//# sourceMappingURL=notification-tray-
|
|
449
|
+
//# sourceMappingURL=notification-tray-DlgenTEe.js.map
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as de, useRef as N, useEffect as V, useMemo as X, useImperativeHandle as ce, useState as W, useCallback as z, useId as le } from "react";
|
|
3
3
|
import { c as T } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as j } from "react-i18next";
|
|
5
|
-
import { A as se } from "./autocomplete-
|
|
5
|
+
import { A as se } from "./autocomplete-CcCFlVf-.js";
|
|
6
6
|
import { B as ue } from "./button-DD_0Xdmr.js";
|
|
7
7
|
import { C as M } from "./card-DPmk26CL.js";
|
|
8
8
|
import { S as fe } from "./slider-BHWzXdjt.js";
|
|
@@ -1155,4 +1155,4 @@ export {
|
|
|
1155
1155
|
Oe as P,
|
|
1156
1156
|
ye as p
|
|
1157
1157
|
};
|
|
1158
|
-
//# sourceMappingURL=patient-search-
|
|
1158
|
+
//# sourceMappingURL=patient-search-Bw9ONucF.js.map
|
|
@@ -2,11 +2,11 @@ import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, useState as C } from "react";
|
|
3
3
|
import { useTranslation as m } from "react-i18next";
|
|
4
4
|
import { A as y } from "./app-frame-BYx1gcV7.js";
|
|
5
|
-
import { I as H } from "./icon-button-
|
|
5
|
+
import { I as H } from "./icon-button-LqoiKcUN.js";
|
|
6
6
|
import { D as n } from "./dropdown-menu-DwwPovMZ.js";
|
|
7
|
-
import { H as B, g as N, f as T, e as k, a as x, c as M, d as O } from "./header-
|
|
7
|
+
import { H as B, g as N, f as T, e as k, a as x, c as M, d as O } from "./header-CNszv2WQ.js";
|
|
8
8
|
import { L as P } from "./logo-1FuSGx0n.js";
|
|
9
|
-
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-
|
|
9
|
+
import { S as W, a as R, h as j, j as z, k as D, i as E } from "./sidebar-BFwbx74W.js";
|
|
10
10
|
import { T as _ } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as F } from "./tooltip-DvmfrNvB.js";
|
|
12
12
|
import { u as U } from "./use-theme-CAuo6EYT.js";
|
|
@@ -159,4 +159,4 @@ Y.displayName = "PatientShell";
|
|
|
159
159
|
export {
|
|
160
160
|
Y as P
|
|
161
161
|
};
|
|
162
|
-
//# sourceMappingURL=patient-shell-
|
|
162
|
+
//# sourceMappingURL=patient-shell-Tgpv0HND.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as Ca } from "react-i18next";
|
|
|
5
5
|
import { A as H } from "./avatar-BNQNhoyL.js";
|
|
6
6
|
import { B as w } from "./badge-zsf5i5bH.js";
|
|
7
7
|
import { C as O } from "./card-DPmk26CL.js";
|
|
8
|
-
import { K as Na, a as Aa } from "./key-value-pair-
|
|
8
|
+
import { K as Na, a as Aa } from "./key-value-pair-BrgbMfbF.js";
|
|
9
9
|
import { L as S } from "./link-DrD_cRUg.js";
|
|
10
10
|
import { S as C } from "./skeleton-CZbwyJAA.js";
|
|
11
11
|
import { T as W } from "./tag-CdA0s_VV.js";
|
|
@@ -440,4 +440,4 @@ export {
|
|
|
440
440
|
qa as P,
|
|
441
441
|
za as p
|
|
442
442
|
};
|
|
443
|
-
//# sourceMappingURL=patient-summary-card-
|
|
443
|
+
//# sourceMappingURL=patient-summary-card-Bgso0p_l.js.map
|