@alfadocs/ui-kit 1.116.0 → 1.117.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/accessible-target-D3j6F-AG.js +7 -0
- package/dist/_chunks/{actions-cell-renderer-DzHxDyI7.js → actions-cell-renderer-DTaIQKp9.js} +3 -3
- package/dist/_chunks/{address-autocomplete-DC-H-MZw.js → address-autocomplete-Bnc9ieKO.js} +2 -2
- package/dist/_chunks/{address-fields-BFVCtfP2.js → address-fields-RIaGnpnm.js} +2 -2
- package/dist/_chunks/{anamnesis-card-Ddnrdfx3.js → anamnesis-card-sUFT0dpF.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-S1H_AARG.js → anamnesis-summary-card-BtFPpegp.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-gEXqU5i5.js → anamnesis-summary-rows-BbAREK-3.js} +5 -5
- package/dist/_chunks/{antenatal-schedule-timeline-va9zx7tJ.js → antenatal-schedule-timeline-86YVlMYJ.js} +2 -2
- package/dist/_chunks/{appointment-card-BMZoXaGx.js → appointment-card-0PebvrOS.js} +2 -2
- package/dist/_chunks/{appointment-peek-B1CCv-7J.js → appointment-peek-DdUhqfEi.js} +2 -2
- package/dist/_chunks/{appointment-timeline-0k4LxODn.js → appointment-timeline-CC7nmBOH.js} +3 -3
- package/dist/_chunks/{appointment-tray-DIxpgIXM.js → appointment-tray-B04zKY7g.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-L7bD0Nsh.js → balance-badge-cell-DPjab0eJ.js} +4 -4
- package/dist/_chunks/{bill-line-table-WEIRDcv6.js → bill-line-table-vCnVo7_a.js} +10 -8
- package/dist/_chunks/{bishop-score-QJu-sM1y.js → bishop-score-CKztphVz.js} +2 -2
- package/dist/_chunks/{bmi-calculator-BjUfXqcY.js → bmi-calculator-rri5vvMt.js} +2 -2
- package/dist/_chunks/{button-group-BvU9vRnX.js → button-group-B2MJo0Se.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-DqZMb4yd.js → calendar-appointment-editor-dialog-BEmBcb61.js} +13 -13
- package/dist/_chunks/{card-DVO3x8E-.js → card-n6W6LW-N.js} +78 -47
- package/dist/_chunks/{care-plan-card-CfV8jiF0.js → care-plan-card-bGTIliXc.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-Bt01kyTl.js → care-plan-entry-card-cdojypxu.js} +2 -2
- package/dist/_chunks/{chart-BSx8cfMm.js → chart-Aue_2dMb.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Zz5_GEz-.js → clinical-note-card-DHn5W_bv.js} +2 -2
- package/dist/_chunks/{connection-status-DjarASoU.js → connection-status-DWClakYw.js} +2 -2
- package/dist/_chunks/{contact-card-Cv-Nwvac.js → contact-card-CGpbYuxl.js} +2 -2
- package/dist/_chunks/{contact-profile-card-BRCHbQ3-.js → contact-profile-card-BubJPyRB.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Brd0PP4U.js → cycle-calculator-C8nWAeTk.js} +2 -2
- package/dist/_chunks/{dashboard-grid-3aidD-IQ.js → dashboard-grid-CaxgaEgI.js} +2 -2
- package/dist/_chunks/{data-grid-ByhrYGVw.js → data-grid-DiBSbN2Y.js} +7 -3
- package/dist/_chunks/{data-table-B47iw2CO.js → data-table-DhYx-hCD.js} +3 -3
- package/dist/_chunks/{date-range-panel-B-DUtfw3.js → date-range-panel-CT6nXjRM.js} +2 -2
- package/dist/_chunks/{default-tabs-BQcSqcNG.js → default-tabs-CD285u0C.js} +6 -6
- package/dist/_chunks/{document-preview-B_JGHsEW.js → document-preview-BWDTCEHI.js} +3 -3
- package/dist/_chunks/{dropdown-menu-Dmbak7q6.js → dropdown-menu-Dw6sgQwJ.js} +86 -74
- package/dist/_chunks/{due-date-calculator-DzIQXEX5.js → due-date-calculator-c1NJPw9F.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-p-Q1UkZS.js → editable-currency-cell-renderer-BlK-8A7b.js} +2 -2
- package/dist/_chunks/{entity-summary-DGCBQDt1.js → entity-summary-BanguTa6.js} +2 -2
- package/dist/_chunks/{face-scheme-CEjJUnNe.js → face-scheme-Bt07zQJU.js} +4 -4
- package/dist/_chunks/{fetal-weight-CJTlfh_k.js → fetal-weight-D0KofJJw.js} +2 -2
- package/dist/_chunks/{file-manager-DEe51ZDe.js → file-manager-CV1_GtjC.js} +4 -4
- package/dist/_chunks/{finished-terminal-BKTFUk3S.js → finished-terminal-FR8uc_Ws.js} +2 -2
- package/dist/_chunks/{forgot-password-form-Bc_UPax6.js → forgot-password-form-YvI9vX-G.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-60y1RyQL.js → gestational-age-calculator-Cg4Gq42R.js} +3 -3
- package/dist/_chunks/{hcg-doubling-BUZQkSYC.js → hcg-doubling-BjTa_77t.js} +2 -2
- package/dist/_chunks/{header-settings-DNgvO8fS.js → header-settings-DsvheAOt.js} +160 -147
- package/dist/_chunks/{heatmap-tn1WxoMT.js → heatmap-BurtKmeu.js} +3 -3
- package/dist/_chunks/{icon-button-group-Ca2VkXy5.js → icon-button-group-BKtkVZ1W.js} +2 -2
- package/dist/_chunks/{kit-extensions-BFfLg7c-.js → kit-extensions-C3oL0WTp.js} +7 -7
- package/dist/_chunks/{link-cell-renderer-D-Io828l.js → link-cell-renderer-NFNGdAGt.js} +2 -2
- package/dist/_chunks/{login-dev-card-CPndtWdz.js → login-dev-card-Dz3ezx1o.js} +2 -2
- package/dist/_chunks/map-view-Frj8vE7n.js +1105 -0
- package/dist/_chunks/{maps-core-gate-DkNqGkm3.js → maps-core-gate-Dgs7jXxy.js} +6 -6
- package/dist/_chunks/{marketplace-app-shell-CBHNg8x-.js → marketplace-app-shell-BOBWmzoT.js} +6 -6
- package/dist/_chunks/{muscle-scheme-7UsRsCHP.js → muscle-scheme-C9dnSxzw.js} +2 -2
- package/dist/_chunks/{notes-panel-DexbfrFo.js → notes-panel-CHR-Jv6N.js} +4 -4
- package/dist/_chunks/{notification-card-CPW4poUr.js → notification-card-DRMv2_pW.js} +20 -20
- package/dist/_chunks/{notification-tray-CQK3lw87.js → notification-tray-mlCfxNRH.js} +2 -2
- package/dist/_chunks/{operator-hero-BWayX73x.js → operator-hero-CnfWckNQ.js} +2 -2
- package/dist/_chunks/{parts-CtcTW1PN.js → parts-CcyRkB8t.js} +2 -2
- package/dist/_chunks/{patient-details-PJ0Y__7t.js → patient-details-C4dHR4iu.js} +2 -2
- package/dist/_chunks/{patient-search-Bdx_Ob3y.js → patient-search-D_S7joff.js} +3 -3
- package/dist/_chunks/{patient-summary-card-BOfXDP8a.js → patient-summary-card-x0-AhCyC.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-D7yaD4u1.js → payment-automation-upsell-CGdG2Mwk.js} +2 -2
- package/dist/_chunks/{payment-request-card-_04afZEx.js → payment-request-card-CEIalOtr.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Bjz7O4wT.js → periodontal-chart-DqHrQY4e.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CxEXHl2x.js → periodontal-chart-card-q9WSHRC2.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-DnZuZD14.js → periodontal-diagnosis-CJPWluQU.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-BBPB9wf1.js → periodontal-risk-chart-CKkyOROk.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Cw4NZp0A.js → practice-profile-hero-BFS6lO2a.js} +2 -2
- package/dist/_chunks/{practice-results-CrBjScXX.js → practice-results-CzHWprX4.js} +922 -787
- package/dist/_chunks/{pregnancy-dating-Bg_VUPwl.js → pregnancy-dating-BO6diQMZ.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-B-eXFdmq.js → pregnancy-weight-gain-DkGcEc_l.js} +2 -2
- package/dist/_chunks/{privacy-mask-BlJK51MD.js → privacy-mask-DJ1gee4c.js} +2 -2
- package/dist/_chunks/{registration-form-DW-0X7S4.js → registration-form-CMXefBnC.js} +2 -2
- package/dist/_chunks/{reserved.agent-C1zRHaya.js → reserved.agent-TaZfI3yj.js} +3 -3
- package/dist/_chunks/{reset-password-form-C93SH0Tx.js → reset-password-form-D_TePSM1.js} +2 -2
- package/dist/_chunks/{reviews-panel-CfJPEkH7.js → reviews-panel-CdHUSndF.js} +2 -2
- package/dist/_chunks/{rich-text-editor-r80Zw8ll.js → rich-text-editor-CMPA5Wgy.js} +2 -2
- package/dist/_chunks/{row-actions-Df7TJbNR.js → row-actions-Dpf9CrCP.js} +4 -4
- package/dist/_chunks/{section-card-DFr2wGal.js → section-card-CYfeQ6EQ.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-DWxWa_cJ.js → send-registration-link-form-DuZQuKnI.js} +2 -2
- package/dist/_chunks/{signature-request-CgvjLic3.js → signature-request-Dzs0jZsd.js} +2 -2
- package/dist/_chunks/{tab-bar-DTn8pHqH.js → tab-bar-CF8R38Og.js} +2 -2
- package/dist/_chunks/{tabs-CsmgkiG6.js → tabs-P4qFmxk5.js} +2 -2
- package/dist/_chunks/{task-editor-DgUjtqpX.js → task-editor-WdDCqbIL.js} +3 -3
- package/dist/_chunks/{tasks-panel-B5Nsf10r.js → tasks-panel-DBSm3WjK.js} +2 -2
- package/dist/_chunks/{theme-toggle-DfvdEg_V.js → theme-toggle-CeKl8f_f.js} +3 -3
- package/dist/_chunks/{timeline-AMqE-c2T.js → timeline-DXko0M1t.js} +2 -2
- package/dist/_chunks/{token-insert-menu-BdcmK5Um.js → token-insert-menu-BrK5NQIq.js} +2 -2
- package/dist/_chunks/{toolbar-DbUQBrq4.js → toolbar-z8vXnpXz.js} +3 -3
- package/dist/_chunks/{tooth-scheme-LTkT4EXd.js → tooth-scheme-DHRxV2sE.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-_r7cjTtm.js → use-appointment-details-read-B-SXnszJ.js} +8 -8
- package/dist/_chunks/{workflow-map-D-u8_YSr.js → workflow-map-DCjkRuS_.js} +3 -3
- package/dist/_chunks/{workflow-status-fykpTxfb.js → workflow-status-D0avpoeS.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DM3W8XZE.js → workflow-webhook-action-dgUjv9T7.js} +3 -3
- package/dist/agent-catalog.json +1 -1
- package/dist/browser-support.js +2 -0
- package/dist/components/_shared/accessible-target.d.ts +7 -0
- package/dist/components/_shared/focus-visible.d.ts +8 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +5 -3
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +3 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/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-group/index.js +1 -1
- package/dist/components/card/card.d.ts +9 -2
- package/dist/components/card/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/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/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/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/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-settings/header-settings.d.ts +7 -3
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/map-view/index.d.ts +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +48 -0
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +2 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/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/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +20 -0
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +14 -0
- package/dist/i18n/locales/ar.js +14 -0
- package/dist/i18n/locales/de.d.ts +14 -0
- package/dist/i18n/locales/de.js +14 -0
- package/dist/i18n/locales/el.d.ts +14 -0
- package/dist/i18n/locales/el.js +14 -0
- package/dist/i18n/locales/en.d.ts +14 -0
- package/dist/i18n/locales/en.js +14 -0
- package/dist/i18n/locales/es.d.ts +14 -0
- package/dist/i18n/locales/es.js +14 -0
- package/dist/i18n/locales/fr.d.ts +14 -0
- package/dist/i18n/locales/fr.js +14 -0
- package/dist/i18n/locales/hi.d.ts +14 -0
- package/dist/i18n/locales/hi.js +14 -0
- package/dist/i18n/locales/it.d.ts +14 -0
- package/dist/i18n/locales/it.js +14 -0
- package/dist/i18n/locales/ja.d.ts +14 -0
- package/dist/i18n/locales/ja.js +14 -0
- package/dist/i18n/locales/nl.d.ts +14 -0
- package/dist/i18n/locales/nl.js +14 -0
- package/dist/i18n/locales/pl.d.ts +14 -0
- package/dist/i18n/locales/pl.js +14 -0
- package/dist/i18n/locales/pt.d.ts +14 -0
- package/dist/i18n/locales/pt.js +14 -0
- package/dist/i18n/locales/ro.d.ts +14 -0
- package/dist/i18n/locales/ro.js +14 -0
- package/dist/i18n/locales/ru.d.ts +14 -0
- package/dist/i18n/locales/ru.js +14 -0
- package/dist/i18n/locales/sq.d.ts +14 -0
- package/dist/i18n/locales/sq.js +14 -0
- package/dist/i18n/locales/sv.d.ts +14 -0
- package/dist/i18n/locales/sv.js +14 -0
- package/dist/i18n/locales/tr.d.ts +14 -0
- package/dist/i18n/locales/tr.js +14 -0
- package/dist/i18n/locales/zh.d.ts +14 -0
- package/dist/i18n/locales/zh.js +14 -0
- package/dist/index.js +89 -89
- package/dist/locales/ar.json +14 -0
- package/dist/locales/de.json +14 -0
- package/dist/locales/el.json +14 -0
- package/dist/locales/en.json +14 -0
- package/dist/locales/es.json +14 -0
- package/dist/locales/fr.json +14 -0
- package/dist/locales/hi.json +14 -0
- package/dist/locales/it.json +14 -0
- package/dist/locales/ja.json +14 -0
- package/dist/locales/nl.json +14 -0
- package/dist/locales/pl.json +14 -0
- package/dist/locales/pt.json +14 -0
- package/dist/locales/ro.json +14 -0
- package/dist/locales/ru.json +14 -0
- package/dist/locales/sq.json +14 -0
- package/dist/locales/sv.json +14 -0
- package/dist/locales/tr.json +14 -0
- package/dist/locales/zh.json +14 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +6 -3
- package/dist/_chunks/accessible-target-Bs9ELM3l.js +0 -6
- package/dist/_chunks/map-view-Bny79cWa.js +0 -856
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p, Fragment as X } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as le, useRef as d, useImperativeHandle as de, useState as ue, useCallback as pe, useMemo as
|
|
3
|
-
import { c as
|
|
2
|
+
import { forwardRef as le, useRef as d, useImperativeHandle as de, useState as ue, useCallback as pe, useMemo as me } from "react";
|
|
3
|
+
import { c as A } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as ee } from "react-i18next";
|
|
5
|
-
import { B as
|
|
5
|
+
import { B as ge } from "./button-DohK_Ak_.js";
|
|
6
6
|
import { I as he } from "./icon-button-S8_weU3g.js";
|
|
7
|
-
import { D as
|
|
7
|
+
import { D as s } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
8
8
|
import { u as fe, p as ye, d as S, r as be, b as te } from "./locale-picker-C86h8Yt1.js";
|
|
9
9
|
import { u as we } from "./use-media-query-CcAx5SMM.js";
|
|
10
10
|
import { u as ve } from "./use-locale-BExNy9Dl.js";
|
|
@@ -12,11 +12,12 @@ import { u as Se } from "./use-theme-CYGyzFgZ.js";
|
|
|
12
12
|
import { a as Le } from "./use-direction-Dp8h70PP.js";
|
|
13
13
|
import { u as ke } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
14
14
|
import { u as Te } from "./registry-DvAUVLHh.js";
|
|
15
|
-
import { u as
|
|
16
|
-
import {
|
|
15
|
+
import { u as Ce } from "./length-token-DwMnGEYT.js";
|
|
16
|
+
import { a as Re, c as Ae } from "./accessible-target-D3j6F-AG.js";
|
|
17
|
+
import { S as De } from "./settings-d25ju_6L.js";
|
|
17
18
|
import { A as Y } from "./arrow-left-BfaGqVam.js";
|
|
18
19
|
import { C as Z } from "./chevron-right-I9AeSxH2.js";
|
|
19
|
-
const
|
|
20
|
+
const Ie = {
|
|
20
21
|
id: "header-settings",
|
|
21
22
|
// Each setter persists a single preference value (locale / theme /
|
|
22
23
|
// accessibility) — `set_value` semantics, not an ephemeral view switch.
|
|
@@ -137,12 +138,12 @@ const Ce = {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
};
|
|
140
|
-
function
|
|
141
|
+
function Ke(a) {
|
|
141
142
|
if (typeof document > "u") return;
|
|
142
143
|
const i = document.documentElement;
|
|
143
144
|
i.lang = a, i.dir = S[a].dir;
|
|
144
145
|
}
|
|
145
|
-
const
|
|
146
|
+
const Ne = A("ds:inline-flex ds:items-center", {
|
|
146
147
|
variants: {
|
|
147
148
|
align: {
|
|
148
149
|
start: "",
|
|
@@ -150,27 +151,39 @@ const Ie = z("ds:inline-flex ds:items-center", {
|
|
|
150
151
|
}
|
|
151
152
|
},
|
|
152
153
|
defaultVariants: { align: "end" }
|
|
153
|
-
}),
|
|
154
|
+
}), Pe = A("", {
|
|
155
|
+
variants: {
|
|
156
|
+
size: {
|
|
157
|
+
// Button sm is 44px tall on phones; IconButton sm is only 32px wide.
|
|
158
|
+
// The unscoped floor's `auto` fallback would undo that phone minimum,
|
|
159
|
+
// so `sm` takes the floor scoped from `sm:` up.
|
|
160
|
+
sm: `ds:min-w-[var(--min-target-size)] ds:sm:min-w-0 ds:data-[component=icon-button]:sm:before:block ${Ae}`,
|
|
161
|
+
md: `ds:data-[component=icon-button]:sm:before:block ${Re}`,
|
|
162
|
+
lg: ""
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
defaultVariants: { size: "md" }
|
|
166
|
+
}), Ee = "ds:w-[var(--popover-size-md)]", xe = A("", {
|
|
154
167
|
variants: {
|
|
155
168
|
language: {
|
|
156
169
|
true: "ds:[inline-size:var(--popover-size-md)] ds:[min-inline-size:0] ds:[max-inline-size:calc(100vw_-_2_*_var(--spacing-lg))] ds:[&_input]:min-w-0",
|
|
157
170
|
false: ""
|
|
158
171
|
}
|
|
159
172
|
}
|
|
160
|
-
}),
|
|
173
|
+
}), He = A(
|
|
161
174
|
"ds:flex ds:flex-1 ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]"
|
|
162
175
|
);
|
|
163
|
-
function
|
|
176
|
+
function R({
|
|
164
177
|
label: a,
|
|
165
178
|
value: i,
|
|
166
|
-
lang:
|
|
179
|
+
lang: m
|
|
167
180
|
}) {
|
|
168
|
-
return /* @__PURE__ */ p("span", { className:
|
|
181
|
+
return /* @__PURE__ */ p("span", { className: He(), children: [
|
|
169
182
|
/* @__PURE__ */ t("span", { className: "ds:truncate", children: a }),
|
|
170
183
|
/* @__PURE__ */ t(
|
|
171
184
|
"span",
|
|
172
185
|
{
|
|
173
|
-
lang:
|
|
186
|
+
lang: m,
|
|
174
187
|
className: "ds:shrink-0 ds:text-muted-foreground ds:[[data-highlighted]_&]:text-current",
|
|
175
188
|
children: i
|
|
176
189
|
}
|
|
@@ -180,141 +193,141 @@ function A({
|
|
|
180
193
|
function ae(a) {
|
|
181
194
|
return Object.prototype.hasOwnProperty.call(S, a);
|
|
182
195
|
}
|
|
183
|
-
function
|
|
196
|
+
function ze({
|
|
184
197
|
locale: a,
|
|
185
198
|
onLocaleChange: i
|
|
186
199
|
}) {
|
|
187
|
-
const { t:
|
|
200
|
+
const { t: m } = ee("ui"), g = S[ae(a) ? a : "en"], D = (n) => {
|
|
188
201
|
var o;
|
|
189
|
-
|
|
190
|
-
},
|
|
191
|
-
const o =
|
|
202
|
+
n.target === n.currentTarget && ((o = n.currentTarget.querySelector("input")) == null || o.focus({ preventScroll: !0 }));
|
|
203
|
+
}, I = (n) => {
|
|
204
|
+
const o = n.target;
|
|
192
205
|
if (o instanceof HTMLInputElement) {
|
|
193
|
-
if (
|
|
194
|
-
|
|
206
|
+
if (n.nativeEvent.isComposing) {
|
|
207
|
+
n.stopPropagation();
|
|
195
208
|
return;
|
|
196
209
|
}
|
|
197
|
-
|
|
210
|
+
n.key !== "ArrowLeft" && n.key !== "ArrowRight" || (o.selectionStart !== 0 || o.selectionEnd !== 0) && n.stopPropagation();
|
|
198
211
|
}
|
|
199
212
|
};
|
|
200
|
-
return /* @__PURE__ */ p(
|
|
201
|
-
/* @__PURE__ */ t(
|
|
202
|
-
/* @__PURE__ */ t("span", { className: "ds:truncate", children:
|
|
213
|
+
return /* @__PURE__ */ p(s.Sub, { children: [
|
|
214
|
+
/* @__PURE__ */ t(s.SubTrigger, { "aria-haspopup": "dialog", "data-value": g.code, children: /* @__PURE__ */ p("span", { className: "ds:flex ds:min-w-0 ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
215
|
+
/* @__PURE__ */ t("span", { className: "ds:truncate", children: m("navigation.headerSettings.language.label") }),
|
|
203
216
|
/* @__PURE__ */ t(
|
|
204
217
|
"span",
|
|
205
218
|
{
|
|
206
|
-
lang:
|
|
219
|
+
lang: g.code,
|
|
207
220
|
className: "ds:shrink-0 ds:text-[color:var(--muted-foreground)] ds:[[data-highlighted]_&]:text-current",
|
|
208
|
-
children:
|
|
221
|
+
children: g.nativeName
|
|
209
222
|
}
|
|
210
223
|
)
|
|
211
224
|
] }) }),
|
|
212
225
|
/* @__PURE__ */ t(
|
|
213
|
-
|
|
226
|
+
s.SubContent,
|
|
214
227
|
{
|
|
215
228
|
role: "dialog",
|
|
216
229
|
"aria-orientation": void 0,
|
|
217
|
-
className:
|
|
218
|
-
onFocus:
|
|
219
|
-
onKeyDownCapture:
|
|
220
|
-
onEscapeKeyDown: (
|
|
221
|
-
|
|
230
|
+
className: Ee,
|
|
231
|
+
onFocus: D,
|
|
232
|
+
onKeyDownCapture: I,
|
|
233
|
+
onEscapeKeyDown: (n) => {
|
|
234
|
+
n.isComposing && n.preventDefault();
|
|
222
235
|
},
|
|
223
236
|
children: /* @__PURE__ */ t(te.SearchList, { onLocaleChange: i })
|
|
224
237
|
}
|
|
225
238
|
)
|
|
226
239
|
] });
|
|
227
240
|
}
|
|
228
|
-
const
|
|
241
|
+
const _e = le(
|
|
229
242
|
(a, i) => {
|
|
230
|
-
var
|
|
243
|
+
var G;
|
|
231
244
|
const {
|
|
232
|
-
align:
|
|
233
|
-
size:
|
|
234
|
-
disabled:
|
|
235
|
-
initialLocaleFromHtmlLang:
|
|
236
|
-
followHtmlLang:
|
|
245
|
+
align: m = "end",
|
|
246
|
+
size: g = "md",
|
|
247
|
+
disabled: D = !1,
|
|
248
|
+
initialLocaleFromHtmlLang: I = !1,
|
|
249
|
+
followHtmlLang: n = !1,
|
|
237
250
|
onLocaleChange: o,
|
|
238
|
-
className:
|
|
251
|
+
className: se,
|
|
239
252
|
id: _,
|
|
240
|
-
...
|
|
253
|
+
...ne
|
|
241
254
|
} = a, { t: u } = ee("ui"), c = Se(), { locale: w, setLocale: M } = ve();
|
|
242
|
-
fe(
|
|
243
|
-
const
|
|
244
|
-
|
|
245
|
-
const
|
|
246
|
-
de(i, () =>
|
|
247
|
-
const
|
|
255
|
+
fe(I, n);
|
|
256
|
+
const F = d(o);
|
|
257
|
+
F.current = o;
|
|
258
|
+
const K = d(null);
|
|
259
|
+
de(i, () => K.current, []);
|
|
260
|
+
const h = we("(width < 48rem)"), V = Le(), [L, f] = ue("main"), l = h ? L : "main", k = d(null), j = d(null), q = d(null), y = d(null), T = d("keyboard");
|
|
248
261
|
ke(() => {
|
|
249
|
-
var e,
|
|
250
|
-
if (!
|
|
251
|
-
(
|
|
262
|
+
var e, r, v, Q, W;
|
|
263
|
+
if (!h && L !== "main" && (y.current = L, f("main")), l === "language")
|
|
264
|
+
(r = (e = k.current) == null ? void 0 : e.querySelector(
|
|
252
265
|
T.current === "keyboard" ? "input" : "button"
|
|
253
|
-
)) == null ||
|
|
266
|
+
)) == null || r.focus({ preventScroll: !0 });
|
|
254
267
|
else if (l === "appearance")
|
|
255
|
-
(
|
|
256
|
-
else if (
|
|
257
|
-
const J =
|
|
268
|
+
(Q = (v = k.current) == null ? void 0 : v.querySelector('[role="menuitem"]')) == null || Q.focus({ preventScroll: !0 });
|
|
269
|
+
else if (y.current) {
|
|
270
|
+
const J = y.current, z = h ? (J === "language" ? j : q).current : (W = k.current) == null ? void 0 : W.querySelector(
|
|
258
271
|
`[role="menuitem"][aria-haspopup="${J === "language" ? "dialog" : "menu"}"]`
|
|
259
272
|
);
|
|
260
|
-
|
|
273
|
+
z == null || z.focus({ preventScroll: !0 }), y.current = null;
|
|
261
274
|
}
|
|
262
|
-
}, [
|
|
263
|
-
const
|
|
275
|
+
}, [h, L, l]);
|
|
276
|
+
const O = (e, r) => {
|
|
264
277
|
if (e.nativeEvent.isComposing) return;
|
|
265
|
-
const v =
|
|
266
|
-
(e.key === "Enter" || e.key === " " || e.key === v) && (T.current = "keyboard"), e.key === v && (e.preventDefault(),
|
|
267
|
-
},
|
|
268
|
-
l !== "main" && (
|
|
269
|
-
},
|
|
278
|
+
const v = V === "rtl" ? "ArrowLeft" : "ArrowRight";
|
|
279
|
+
(e.key === "Enter" || e.key === " " || e.key === v) && (T.current = "keyboard"), e.key === v && (e.preventDefault(), f(r));
|
|
280
|
+
}, N = () => {
|
|
281
|
+
l !== "main" && (y.current = l, f("main"));
|
|
282
|
+
}, re = (e) => {
|
|
270
283
|
if (l === "main") return;
|
|
271
284
|
if (e.nativeEvent.isComposing) {
|
|
272
285
|
e.stopPropagation();
|
|
273
286
|
return;
|
|
274
287
|
}
|
|
275
|
-
if (e.key !== (
|
|
288
|
+
if (e.key !== (V === "rtl" ? "ArrowRight" : "ArrowLeft"))
|
|
276
289
|
return;
|
|
277
|
-
const
|
|
278
|
-
|
|
290
|
+
const r = e.target;
|
|
291
|
+
r instanceof HTMLInputElement && (r.selectionStart !== 0 || r.selectionEnd !== 0) || (e.preventDefault(), e.stopPropagation(), N());
|
|
279
292
|
}, B = pe(
|
|
280
293
|
(e) => {
|
|
281
|
-
M(e),
|
|
294
|
+
M(e), Ke(e), ye(e);
|
|
282
295
|
},
|
|
283
296
|
[M]
|
|
284
|
-
),
|
|
285
|
-
|
|
286
|
-
const
|
|
287
|
-
|
|
288
|
-
const
|
|
289
|
-
|
|
290
|
-
const ie =
|
|
297
|
+
), $ = d(B);
|
|
298
|
+
$.current = B;
|
|
299
|
+
const P = d(w);
|
|
300
|
+
P.current = w;
|
|
301
|
+
const b = d(c);
|
|
302
|
+
b.current = c;
|
|
303
|
+
const ie = me(
|
|
291
304
|
() => ({
|
|
292
305
|
setLocale: (e) => {
|
|
293
306
|
if (Object.prototype.hasOwnProperty.call(S, e)) {
|
|
294
|
-
const
|
|
295
|
-
|
|
296
|
-
|
|
307
|
+
const r = P.current;
|
|
308
|
+
$.current(e), be(
|
|
309
|
+
F.current,
|
|
297
310
|
e,
|
|
298
|
-
|
|
311
|
+
r
|
|
299
312
|
);
|
|
300
313
|
}
|
|
301
314
|
},
|
|
302
|
-
setTheme: (e) =>
|
|
303
|
-
setAccessibility: (e) =>
|
|
315
|
+
setTheme: (e) => b.current.setTheme(e),
|
|
316
|
+
setAccessibility: (e) => b.current.setAccessibility(e),
|
|
304
317
|
// Read-back. None of the three preferences is recoverable from
|
|
305
318
|
// the DOM: `useTheme` resolves preference + OS into one applied
|
|
306
319
|
// class, so `theme: 'system'` and `theme: 'light'` both paint
|
|
307
320
|
// `.theme-light`. Without these an agent cannot tell a switch
|
|
308
321
|
// that landed from one that was dropped.
|
|
309
|
-
getLocale: () =>
|
|
310
|
-
getTheme: () =>
|
|
311
|
-
getAccessibility: () =>
|
|
312
|
-
getResolvedTheme: () =>
|
|
322
|
+
getLocale: () => P.current,
|
|
323
|
+
getTheme: () => b.current.theme,
|
|
324
|
+
getAccessibility: () => b.current.accessibility,
|
|
325
|
+
getResolvedTheme: () => b.current.resolvedTheme
|
|
313
326
|
}),
|
|
314
327
|
[]
|
|
315
328
|
);
|
|
316
|
-
Te(
|
|
317
|
-
const oe = c.accessibility === "accessible", ce =
|
|
329
|
+
Te(Ie, ie, _);
|
|
330
|
+
const oe = c.accessibility === "accessible", ce = Ce("--spacing-lg", K, 24), E = u("navigation.headerSettings.language.label"), C = u("navigation.headerSettings.appearance.label"), x = S[ae(w) ? w : "en"], H = [
|
|
318
331
|
{
|
|
319
332
|
value: "light",
|
|
320
333
|
label: u("navigation.headerSettings.appearance.light")
|
|
@@ -324,46 +337,46 @@ const xe = le(
|
|
|
324
337
|
value: "system",
|
|
325
338
|
label: u("navigation.headerSettings.appearance.system")
|
|
326
339
|
}
|
|
327
|
-
],
|
|
340
|
+
], U = u("navigation.headerSettings.back");
|
|
328
341
|
return /* @__PURE__ */ t(
|
|
329
342
|
"div",
|
|
330
343
|
{
|
|
331
|
-
ref:
|
|
344
|
+
ref: K,
|
|
332
345
|
"data-component": "header-settings",
|
|
333
346
|
"data-component-id": _,
|
|
334
|
-
className:
|
|
335
|
-
...
|
|
347
|
+
className: Ne({ align: m, className: se }),
|
|
348
|
+
...ne,
|
|
336
349
|
children: /* @__PURE__ */ p(
|
|
337
|
-
|
|
350
|
+
s.Root,
|
|
338
351
|
{
|
|
339
352
|
onOpenChange: (e) => {
|
|
340
|
-
e || (
|
|
353
|
+
e || (y.current = null, f("main"));
|
|
341
354
|
},
|
|
342
355
|
children: [
|
|
343
|
-
/* @__PURE__ */ t(
|
|
356
|
+
/* @__PURE__ */ t(s.Trigger, { asChild: !0, children: /* @__PURE__ */ t(
|
|
344
357
|
he,
|
|
345
358
|
{
|
|
346
|
-
size:
|
|
347
|
-
className:
|
|
348
|
-
disabled:
|
|
349
|
-
icon: /* @__PURE__ */ t(
|
|
359
|
+
size: g,
|
|
360
|
+
className: Pe({ size: g }),
|
|
361
|
+
disabled: D,
|
|
362
|
+
icon: /* @__PURE__ */ t(De, { "aria-hidden": !0 }),
|
|
350
363
|
"aria-label": u("navigation.headerSettings.trigger")
|
|
351
364
|
}
|
|
352
365
|
) }),
|
|
353
366
|
/* @__PURE__ */ t(
|
|
354
|
-
|
|
367
|
+
s.Content,
|
|
355
368
|
{
|
|
356
369
|
ref: k,
|
|
357
|
-
align:
|
|
370
|
+
align: m,
|
|
358
371
|
collisionPadding: ce,
|
|
359
|
-
className:
|
|
372
|
+
className: xe({ language: l === "language" }),
|
|
360
373
|
...l === "language" ? {
|
|
361
374
|
role: "dialog",
|
|
362
375
|
"aria-orientation": void 0,
|
|
363
|
-
"aria-label":
|
|
376
|
+
"aria-label": E,
|
|
364
377
|
"aria-labelledby": void 0
|
|
365
378
|
} : {},
|
|
366
|
-
onKeyDownCapture:
|
|
379
|
+
onKeyDownCapture: re,
|
|
367
380
|
onEscapeKeyDown: (e) => {
|
|
368
381
|
e.isComposing && e.preventDefault();
|
|
369
382
|
},
|
|
@@ -372,31 +385,31 @@ const xe = le(
|
|
|
372
385
|
{
|
|
373
386
|
role: "presentation",
|
|
374
387
|
onKeyDown: (e) => {
|
|
375
|
-
var
|
|
376
|
-
e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey && (e.preventDefault(), (
|
|
388
|
+
var r;
|
|
389
|
+
e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey && (e.preventDefault(), (r = e.currentTarget.querySelector(
|
|
377
390
|
e.target instanceof HTMLInputElement ? "button" : "input"
|
|
378
|
-
)) == null ||
|
|
391
|
+
)) == null || r.focus()), e.stopPropagation();
|
|
379
392
|
},
|
|
380
393
|
children: [
|
|
381
394
|
/* @__PURE__ */ t(
|
|
382
|
-
|
|
395
|
+
ge,
|
|
383
396
|
{
|
|
384
397
|
intent: "ghost",
|
|
385
398
|
size: "sm",
|
|
386
399
|
className: "ds:w-full ds:justify-start ds:text-start ds:font-normal ds:min-h-[var(--min-target-size)] ds:sm:min-h-[var(--min-target-size)] ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:gap-[var(--spacing-sm)] ds:[&>span:last-child]:flex-1",
|
|
387
400
|
startIcon: /* @__PURE__ */ t(Y, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
388
401
|
flipIconInRtl: !0,
|
|
389
|
-
onClick:
|
|
390
|
-
children: /* @__PURE__ */ t(
|
|
402
|
+
onClick: N,
|
|
403
|
+
children: /* @__PURE__ */ t(R, { label: U, value: E })
|
|
391
404
|
}
|
|
392
405
|
),
|
|
393
|
-
/* @__PURE__ */ t(
|
|
406
|
+
/* @__PURE__ */ t(s.Separator, {}),
|
|
394
407
|
/* @__PURE__ */ t(te.SearchList, { onLocaleChange: o })
|
|
395
408
|
]
|
|
396
409
|
}
|
|
397
410
|
) : l === "appearance" ? /* @__PURE__ */ p(X, { children: [
|
|
398
411
|
/* @__PURE__ */ t(
|
|
399
|
-
|
|
412
|
+
s.Item,
|
|
400
413
|
{
|
|
401
414
|
startIcon: /* @__PURE__ */ t(
|
|
402
415
|
Y,
|
|
@@ -406,23 +419,23 @@ const xe = le(
|
|
|
406
419
|
}
|
|
407
420
|
),
|
|
408
421
|
onSelect: (e) => {
|
|
409
|
-
e.preventDefault(),
|
|
422
|
+
e.preventDefault(), N();
|
|
410
423
|
},
|
|
411
|
-
children: /* @__PURE__ */ t(
|
|
424
|
+
children: /* @__PURE__ */ t(R, { label: U, value: C })
|
|
412
425
|
}
|
|
413
426
|
),
|
|
414
|
-
/* @__PURE__ */ t(
|
|
427
|
+
/* @__PURE__ */ t(s.Separator, {}),
|
|
415
428
|
/* @__PURE__ */ t(
|
|
416
|
-
|
|
429
|
+
s.RadioGroup,
|
|
417
430
|
{
|
|
418
|
-
"aria-label":
|
|
431
|
+
"aria-label": C,
|
|
419
432
|
value: c.theme,
|
|
420
433
|
onValueChange: (e) => c.setTheme(e),
|
|
421
|
-
children:
|
|
422
|
-
|
|
434
|
+
children: H.map((e) => /* @__PURE__ */ t(
|
|
435
|
+
s.RadioItem,
|
|
423
436
|
{
|
|
424
437
|
value: e.value,
|
|
425
|
-
onSelect: (
|
|
438
|
+
onSelect: (r) => r.preventDefault(),
|
|
426
439
|
children: e.label
|
|
427
440
|
},
|
|
428
441
|
e.value
|
|
@@ -430,12 +443,12 @@ const xe = le(
|
|
|
430
443
|
}
|
|
431
444
|
)
|
|
432
445
|
] }) : /* @__PURE__ */ p(X, { children: [
|
|
433
|
-
|
|
434
|
-
|
|
446
|
+
h ? /* @__PURE__ */ t(
|
|
447
|
+
s.Item,
|
|
435
448
|
{
|
|
436
|
-
ref:
|
|
449
|
+
ref: j,
|
|
437
450
|
"aria-haspopup": "dialog",
|
|
438
|
-
"data-value":
|
|
451
|
+
"data-value": x.code,
|
|
439
452
|
endIcon: /* @__PURE__ */ t(
|
|
440
453
|
Z,
|
|
441
454
|
{
|
|
@@ -446,31 +459,31 @@ const xe = le(
|
|
|
446
459
|
onPointerDown: (e) => {
|
|
447
460
|
T.current = e.pointerType;
|
|
448
461
|
},
|
|
449
|
-
onKeyDown: (e) =>
|
|
462
|
+
onKeyDown: (e) => O(e, "language"),
|
|
450
463
|
onSelect: (e) => {
|
|
451
|
-
e.preventDefault(),
|
|
464
|
+
e.preventDefault(), f("language");
|
|
452
465
|
},
|
|
453
466
|
children: /* @__PURE__ */ t(
|
|
454
|
-
|
|
467
|
+
R,
|
|
455
468
|
{
|
|
456
|
-
label:
|
|
457
|
-
value:
|
|
458
|
-
lang:
|
|
469
|
+
label: E,
|
|
470
|
+
value: x.nativeName,
|
|
471
|
+
lang: x.code
|
|
459
472
|
}
|
|
460
473
|
)
|
|
461
474
|
}
|
|
462
475
|
) : /* @__PURE__ */ t(
|
|
463
|
-
|
|
476
|
+
ze,
|
|
464
477
|
{
|
|
465
478
|
locale: w,
|
|
466
479
|
onLocaleChange: o
|
|
467
480
|
}
|
|
468
481
|
),
|
|
469
|
-
/* @__PURE__ */ t(
|
|
470
|
-
|
|
471
|
-
|
|
482
|
+
/* @__PURE__ */ t(s.Separator, {}),
|
|
483
|
+
h ? /* @__PURE__ */ t(
|
|
484
|
+
s.Item,
|
|
472
485
|
{
|
|
473
|
-
ref:
|
|
486
|
+
ref: q,
|
|
474
487
|
"aria-haspopup": "menu",
|
|
475
488
|
"data-value": c.theme,
|
|
476
489
|
endIcon: /* @__PURE__ */ t(
|
|
@@ -483,31 +496,31 @@ const xe = le(
|
|
|
483
496
|
onPointerDown: (e) => {
|
|
484
497
|
T.current = e.pointerType;
|
|
485
498
|
},
|
|
486
|
-
onKeyDown: (e) =>
|
|
499
|
+
onKeyDown: (e) => O(e, "appearance"),
|
|
487
500
|
onSelect: (e) => {
|
|
488
|
-
e.preventDefault(),
|
|
501
|
+
e.preventDefault(), f("appearance");
|
|
489
502
|
},
|
|
490
503
|
children: /* @__PURE__ */ t(
|
|
491
|
-
|
|
504
|
+
R,
|
|
492
505
|
{
|
|
493
|
-
label:
|
|
494
|
-
value: ((
|
|
506
|
+
label: C,
|
|
507
|
+
value: ((G = H.find(
|
|
495
508
|
(e) => e.value === c.theme
|
|
496
|
-
)) == null ? void 0 :
|
|
509
|
+
)) == null ? void 0 : G.label) ?? ""
|
|
497
510
|
}
|
|
498
511
|
)
|
|
499
512
|
}
|
|
500
513
|
) : /* @__PURE__ */ t(
|
|
501
|
-
|
|
514
|
+
s.ChoiceSub,
|
|
502
515
|
{
|
|
503
|
-
label:
|
|
516
|
+
label: C,
|
|
504
517
|
value: c.theme,
|
|
505
518
|
onValueChange: c.setTheme,
|
|
506
|
-
options:
|
|
519
|
+
options: H
|
|
507
520
|
}
|
|
508
521
|
),
|
|
509
522
|
/* @__PURE__ */ t(
|
|
510
|
-
|
|
523
|
+
s.SwitchItem,
|
|
511
524
|
{
|
|
512
525
|
checked: oe,
|
|
513
526
|
onCheckedChange: (e) => c.setAccessibility(e ? "accessible" : "default"),
|
|
@@ -524,8 +537,8 @@ const xe = le(
|
|
|
524
537
|
);
|
|
525
538
|
}
|
|
526
539
|
);
|
|
527
|
-
|
|
540
|
+
_e.displayName = "HeaderSettings";
|
|
528
541
|
export {
|
|
529
|
-
|
|
542
|
+
_e as H
|
|
530
543
|
};
|
|
531
|
-
//# sourceMappingURL=header-settings-
|
|
544
|
+
//# sourceMappingURL=header-settings-DsvheAOt.js.map
|
|
@@ -14,7 +14,7 @@ import { i as Zn } from "./is-development-CLUAnsU7.js";
|
|
|
14
14
|
import { c as he } from "./index-D2ZczOXr.js";
|
|
15
15
|
import { C as eo } from "./chevron-down-DWE7GSq9.js";
|
|
16
16
|
import { E as to } from "./error-boundary-tAn_GuCu.js";
|
|
17
|
-
import { I as no } from "./icon-button-group-
|
|
17
|
+
import { I as no } from "./icon-button-group-BKtkVZ1W.js";
|
|
18
18
|
import { c as _n } from "./createLucideIcon-DhHxpK9K.js";
|
|
19
19
|
/**
|
|
20
20
|
* @license lucide-react v1.22.0 - ISC
|
|
@@ -2824,7 +2824,7 @@ const an = Mn(
|
|
|
2824
2824
|
}
|
|
2825
2825
|
);
|
|
2826
2826
|
an.displayName = "HeatmapLegend";
|
|
2827
|
-
const rn = () => import("./data-table-
|
|
2827
|
+
const rn = () => import("./data-table-DhYx-hCD.js").then((e) => e.h).then((e) => {
|
|
2828
2828
|
const t = e.DataTable;
|
|
2829
2829
|
function n(o) {
|
|
2830
2830
|
const { t: r } = wt("ui");
|
|
@@ -3666,4 +3666,4 @@ export {
|
|
|
3666
3666
|
Dn as b,
|
|
3667
3667
|
io as h
|
|
3668
3668
|
};
|
|
3669
|
-
//# sourceMappingURL=heatmap-
|
|
3669
|
+
//# sourceMappingURL=heatmap-BurtKmeu.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as Ge, useState as J, useCallback as P, useRef as F, Childre
|
|
|
3
3
|
import { c as Oe } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ue } from "react-i18next";
|
|
5
5
|
import { I as Re } from "./icon-button-S8_weU3g.js";
|
|
6
|
-
import { D as k } from "./dropdown-menu-
|
|
6
|
+
import { D as k } from "./dropdown-menu-Dw6sgQwJ.js";
|
|
7
7
|
import { u as $e } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { u as We } from "./use-priority-overflow-Cdmb5EiR.js";
|
|
9
9
|
import { E as Ce } from "./ellipsis-dRo9ouSU.js";
|
|
@@ -439,4 +439,4 @@ function Ve(n) {
|
|
|
439
439
|
export {
|
|
440
440
|
qe as I
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=icon-button-group-
|
|
442
|
+
//# sourceMappingURL=icon-button-group-BKtkVZ1W.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
|
-
import { B as i } from "./bmi-calculator-
|
|
3
|
-
import { P as o } from "./pregnancy-dating-
|
|
4
|
-
import { P as r } from "./pregnancy-weight-gain-
|
|
5
|
-
import { G as c } from "./gestational-age-calculator-
|
|
6
|
-
import { C as s } from "./cycle-calculator-
|
|
7
|
-
import { F as d } from "./fetal-weight-
|
|
2
|
+
import { B as i } from "./bmi-calculator-rri5vvMt.js";
|
|
3
|
+
import { P as o } from "./pregnancy-dating-BO6diQMZ.js";
|
|
4
|
+
import { P as r } from "./pregnancy-weight-gain-DkGcEc_l.js";
|
|
5
|
+
import { G as c } from "./gestational-age-calculator-Cg4Gq42R.js";
|
|
6
|
+
import { C as s } from "./cycle-calculator-C8nWAeTk.js";
|
|
7
|
+
import { F as d } from "./fetal-weight-D0KofJJw.js";
|
|
8
8
|
import { c as n } from "./createLucideIcon-DhHxpK9K.js";
|
|
9
9
|
import { B as a } from "./baby-Dku-Xvg9.js";
|
|
10
10
|
import { H as l } from "./heart--qCA4ffe.js";
|
|
@@ -116,4 +116,4 @@ const h = [
|
|
|
116
116
|
export {
|
|
117
117
|
w as k
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=kit-extensions-
|
|
119
|
+
//# sourceMappingURL=kit-extensions-C3oL0WTp.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as x, useEffect as w, useCallback as ee, useMemo as k, useRef
|
|
|
3
3
|
import { useGridFilter as B } from "ag-grid-react";
|
|
4
4
|
import { D as ae } from "./date-range-picker-PTRpDkXT.js";
|
|
5
5
|
import { f as L, d as le, t as q, b as se, c as oe, g as ie, n as ce, i as ue } from "./export-files-BByoK9Cg.js";
|
|
6
|
-
import { r as I } from "./data-table-
|
|
6
|
+
import { r as I } from "./data-table-DhYx-hCD.js";
|
|
7
7
|
import { useTranslation as M } from "react-i18next";
|
|
8
8
|
import { C as de } from "./checkbox-DV4sNDeB.js";
|
|
9
9
|
import { B as j } from "./button-DohK_Ak_.js";
|
|
@@ -797,4 +797,4 @@ export {
|
|
|
797
797
|
Ce as f,
|
|
798
798
|
Xe as g
|
|
799
799
|
};
|
|
800
|
-
//# sourceMappingURL=link-cell-renderer-
|
|
800
|
+
//# sourceMappingURL=link-cell-renderer-NFNGdAGt.js.map
|
|
@@ -5,7 +5,7 @@ import { c as B } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { i as Pe } from "./isEmail-BfVspSvV.js";
|
|
6
6
|
import { B as he } from "./button-DohK_Ak_.js";
|
|
7
7
|
import { C as Te } from "./checkbox-DV4sNDeB.js";
|
|
8
|
-
import { C as b } from "./card-
|
|
8
|
+
import { C as b } from "./card-n6W6LW-N.js";
|
|
9
9
|
import { E as je } from "./email-input-DxwbREpx.js";
|
|
10
10
|
import { T as De } from "./text-input-B6iAgCr3.js";
|
|
11
11
|
import { E as He } from "./error-summary-DxNhwf_G.js";
|
|
@@ -383,4 +383,4 @@ export {
|
|
|
383
383
|
ds as a,
|
|
384
384
|
ns as b
|
|
385
385
|
};
|
|
386
|
-
//# sourceMappingURL=login-dev-card-
|
|
386
|
+
//# sourceMappingURL=login-dev-card-Dz3ezx1o.js.map
|