@alfadocs/ui-kit 1.55.0 → 1.57.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/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
- package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
- package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
- package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
- package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
- package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
- package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
- package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
- package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
- package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
- package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
- package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
- package/dist/agent-catalog.json +28 -11
- package/dist/agent-i18n/en.json +8 -7
- package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- 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/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +15 -10
- package/dist/components/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/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/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/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/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/patient-details/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/pdf-viewer/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/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/position-grid/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/product-hub-tray/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-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-legacy.css +13 -2
- package/dist/i18n/locales/ar.d.ts +17 -2
- package/dist/i18n/locales/ar.js +20 -5
- package/dist/i18n/locales/de.d.ts +17 -2
- package/dist/i18n/locales/de.js +20 -5
- package/dist/i18n/locales/el.d.ts +17 -2
- package/dist/i18n/locales/el.js +20 -5
- package/dist/i18n/locales/en.d.ts +17 -2
- package/dist/i18n/locales/en.js +20 -5
- package/dist/i18n/locales/es.d.ts +17 -2
- package/dist/i18n/locales/es.js +20 -5
- package/dist/i18n/locales/fr.d.ts +17 -2
- package/dist/i18n/locales/fr.js +20 -5
- package/dist/i18n/locales/hi.d.ts +17 -2
- package/dist/i18n/locales/hi.js +20 -5
- package/dist/i18n/locales/it.d.ts +17 -2
- package/dist/i18n/locales/it.js +20 -5
- package/dist/i18n/locales/ja.d.ts +17 -2
- package/dist/i18n/locales/ja.js +20 -5
- package/dist/i18n/locales/nl.d.ts +17 -2
- package/dist/i18n/locales/nl.js +20 -5
- package/dist/i18n/locales/pl.d.ts +17 -2
- package/dist/i18n/locales/pl.js +20 -5
- package/dist/i18n/locales/pt.d.ts +17 -2
- package/dist/i18n/locales/pt.js +20 -5
- package/dist/i18n/locales/ro.d.ts +17 -2
- package/dist/i18n/locales/ro.js +20 -5
- package/dist/i18n/locales/ru.d.ts +17 -2
- package/dist/i18n/locales/ru.js +20 -5
- package/dist/i18n/locales/sq.d.ts +17 -2
- package/dist/i18n/locales/sq.js +20 -5
- package/dist/i18n/locales/sv.d.ts +17 -2
- package/dist/i18n/locales/sv.js +20 -5
- package/dist/i18n/locales/tr.d.ts +17 -2
- package/dist/i18n/locales/tr.js +20 -5
- package/dist/i18n/locales/zh.d.ts +17 -2
- package/dist/i18n/locales/zh.js +20 -5
- package/dist/index.js +207 -206
- package/dist/locales/ar.json +20 -5
- package/dist/locales/de.json +20 -5
- package/dist/locales/el.json +20 -5
- package/dist/locales/en.json +20 -5
- package/dist/locales/es.json +20 -5
- package/dist/locales/fr.json +20 -5
- package/dist/locales/hi.json +20 -5
- package/dist/locales/it.json +20 -5
- package/dist/locales/ja.json +20 -5
- package/dist/locales/nl.json +20 -5
- package/dist/locales/pl.json +20 -5
- package/dist/locales/pt.json +20 -5
- package/dist/locales/ro.json +20 -5
- package/dist/locales/ru.json +20 -5
- package/dist/locales/sq.json +20 -5
- package/dist/locales/sv.json +20 -5
- package/dist/locales/tr.json +20 -5
- package/dist/locales/zh.json +20 -5
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +7 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +13 -2
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
- package/dist/_chunks/chart-C2RBJERE.js +0 -705
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
|
@@ -2,13 +2,13 @@ import { jsx as n, jsxs as S } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as O, useState as te, useRef as ee, useEffect as ne, useId as Pe, useCallback as y, forwardRef as bt, useImperativeHandle as vt } from "react";
|
|
3
3
|
import { c as Ve } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as J } from "react-i18next";
|
|
5
|
-
import { B as kt, b as He, c as ge } from "./breadcrumb-
|
|
5
|
+
import { B as kt, b as He, c as ge } from "./breadcrumb-Boan-5n8.js";
|
|
6
6
|
import { E as Mt } from "./empty-state-gNG3qYCX.js";
|
|
7
7
|
import { S as he } from "./skeleton-B1KTdJ4N.js";
|
|
8
8
|
import { u as Ct } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
9
|
import { u as wt } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { B as Z } from "./button-Bn16lcFM.js";
|
|
11
|
-
import { D as m } from "./dialog-
|
|
11
|
+
import { D as m } from "./dialog-Dn-iQ0Jp.js";
|
|
12
12
|
import { a as St, F as xt } from "./file-upload-CxjCs7TX.js";
|
|
13
13
|
import { S as We } from "./state-backed-text-input-DECQy5aA.js";
|
|
14
14
|
import { F as Ge } from "./folder-BghC8_S2.js";
|
|
@@ -18,7 +18,7 @@ import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
|
18
18
|
import { F as Tt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
19
19
|
import { F as At } from "./file-BuG1VMAy.js";
|
|
20
20
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
21
|
-
import { D as Fe } from "./data-table-
|
|
21
|
+
import { D as Fe } from "./data-table-fAMTeAjM.js";
|
|
22
22
|
import { A as Rt, a as It } from "./actions-cell-renderer-Dj1ZkvJj.js";
|
|
23
23
|
import { B as $e } from "./badge-hnBt8o7n.js";
|
|
24
24
|
import { D as Ue } from "./download-CfYKJO_j.js";
|
|
@@ -1744,4 +1744,4 @@ export {
|
|
|
1744
1744
|
hn as F,
|
|
1745
1745
|
Gt as f
|
|
1746
1746
|
};
|
|
1747
|
-
//# sourceMappingURL=file-manager-
|
|
1747
|
+
//# sourceMappingURL=file-manager-CFsL1KVt.js.map
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as E, useId as I, useRef as c, useImperativeHandle as J, useMemo as Q } from "react";
|
|
3
3
|
import * as i from "@radix-ui/react-alert-dialog";
|
|
4
|
-
import * as
|
|
5
|
-
import { c as
|
|
6
|
-
import { useTranslation as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
4
|
+
import * as K from "@radix-ui/react-radio-group";
|
|
5
|
+
import { c as X } from "./index-D2ZczOXr.js";
|
|
6
|
+
import { useTranslation as Y } from "react-i18next";
|
|
7
|
+
import { u as Z } from "./use-controllable-state-BiY4xTzM.js";
|
|
8
|
+
import { u as $ } from "./use-select-on-arrow-Cr4iBuW5.js";
|
|
9
|
+
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
9
10
|
import { B as R } from "./button-Bn16lcFM.js";
|
|
10
|
-
import { P as
|
|
11
|
-
import { f as
|
|
12
|
-
import { T as
|
|
13
|
-
import { C as
|
|
14
|
-
const
|
|
11
|
+
import { P as se } from "./progress-D_g_Sl2g.js";
|
|
12
|
+
import { f as ae } from "./payment-form-v6zZuV1_.js";
|
|
13
|
+
import { T as re } from "./triangle-alert-CBnO6nq_.js";
|
|
14
|
+
import { C as te } from "./check-DrFSN__t.js";
|
|
15
|
+
const de = {
|
|
15
16
|
id: "freemium-paywall",
|
|
16
17
|
capabilities: ["submit", "dismiss"],
|
|
17
18
|
state: {
|
|
@@ -19,13 +20,13 @@ const re = {
|
|
|
19
20
|
type: "boolean",
|
|
20
21
|
descriptionKey: "ui.agent.freemiumPaywall.state.isOpen",
|
|
21
22
|
description: "True when the paywall dialog is open.",
|
|
22
|
-
read: (
|
|
23
|
+
read: (r) => r.isOpen()
|
|
23
24
|
},
|
|
24
25
|
selectedPlanId: {
|
|
25
26
|
type: "string | null",
|
|
26
27
|
descriptionKey: "ui.agent.freemiumPaywall.state.selectedPlanId",
|
|
27
28
|
description: "Opaque id of the currently-selected plan.",
|
|
28
|
-
read: (
|
|
29
|
+
read: (r) => r.getSelectedPlanId()
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
32
|
actions: {
|
|
@@ -37,8 +38,8 @@ const re = {
|
|
|
37
38
|
descriptionKey: "ui.agent.freemiumPaywall.actions.upgrade",
|
|
38
39
|
description: "Fire onUpgrade with the currently-selected plan id.",
|
|
39
40
|
errors: ["No plan selected — upgrade is a no-op until a plan is chosen."],
|
|
40
|
-
invoke: (
|
|
41
|
-
|
|
41
|
+
invoke: (r) => {
|
|
42
|
+
r.upgrade();
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
dismiss: {
|
|
@@ -46,8 +47,8 @@ const re = {
|
|
|
46
47
|
// Backs the `dismiss` capability.
|
|
47
48
|
descriptionKey: "ui.agent.freemiumPaywall.actions.dismiss",
|
|
48
49
|
description: "Dismiss the paywall via the Not Now action. Irreversible from the same UI.",
|
|
49
|
-
invoke: (
|
|
50
|
-
|
|
50
|
+
invoke: (r) => {
|
|
51
|
+
r.dismiss();
|
|
51
52
|
}
|
|
52
53
|
}
|
|
53
54
|
},
|
|
@@ -63,7 +64,7 @@ const re = {
|
|
|
63
64
|
description: "Sourced from the id prop."
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
|
-
},
|
|
67
|
+
}, ie = X(
|
|
67
68
|
[
|
|
68
69
|
"ds:fixed ds:z-[var(--z-modal)] ds:overflow-auto",
|
|
69
70
|
"ds:bg-[color:var(--popover)] ds:text-[color:var(--popover-foreground)]",
|
|
@@ -90,55 +91,55 @@ const re = {
|
|
|
90
91
|
},
|
|
91
92
|
defaultVariants: { layout: "centered", density: "full" }
|
|
92
93
|
}
|
|
93
|
-
),
|
|
94
|
+
), le = E(
|
|
94
95
|
({
|
|
95
|
-
open:
|
|
96
|
+
open: r,
|
|
96
97
|
onOpenChange: m,
|
|
97
98
|
plans: p,
|
|
98
99
|
selectedPlanId: C,
|
|
99
|
-
defaultSelectedPlanId:
|
|
100
|
-
onSelectedPlanChange:
|
|
101
|
-
usage:
|
|
102
|
-
onUpgrade:
|
|
100
|
+
defaultSelectedPlanId: A,
|
|
101
|
+
onSelectedPlanChange: S,
|
|
102
|
+
usage: t,
|
|
103
|
+
onUpgrade: j,
|
|
103
104
|
onCancel: n,
|
|
104
105
|
title: F,
|
|
105
|
-
description:
|
|
106
|
+
description: O,
|
|
106
107
|
id: u,
|
|
107
108
|
layout: z = "centered",
|
|
108
109
|
density: T = "full",
|
|
109
|
-
className:
|
|
110
|
-
},
|
|
111
|
-
var
|
|
112
|
-
const { t:
|
|
110
|
+
className: D
|
|
111
|
+
}, M) => {
|
|
112
|
+
var N;
|
|
113
|
+
const { t: s, i18n: L } = Y("ui"), f = I(), v = I(), [V, H] = Z({
|
|
113
114
|
value: C,
|
|
114
|
-
defaultValue:
|
|
115
|
-
onChange:
|
|
116
|
-
}), l = V ?? "", g = () => {
|
|
115
|
+
defaultValue: A ?? ((N = p[0]) == null ? void 0 : N.id) ?? "",
|
|
116
|
+
onChange: S
|
|
117
|
+
}), l = V ?? "", g = $(), h = () => {
|
|
117
118
|
n == null || n(), m(!1);
|
|
118
|
-
},
|
|
119
|
-
l &&
|
|
120
|
-
},
|
|
121
|
-
|
|
119
|
+
}, y = () => {
|
|
120
|
+
l && j(l);
|
|
121
|
+
}, w = c(r);
|
|
122
|
+
w.current = r;
|
|
122
123
|
const b = c(l);
|
|
123
124
|
b.current = l;
|
|
124
|
-
const
|
|
125
|
-
|
|
126
|
-
const
|
|
125
|
+
const x = c(null);
|
|
126
|
+
J(M, () => x.current, []);
|
|
127
|
+
const U = Q(
|
|
127
128
|
() => ({
|
|
128
|
-
isOpen: () =>
|
|
129
|
+
isOpen: () => w.current,
|
|
129
130
|
getSelectedPlanId: () => b.current || null,
|
|
130
|
-
upgrade: () =>
|
|
131
|
-
dismiss: () =>
|
|
131
|
+
upgrade: () => y(),
|
|
132
|
+
dismiss: () => h()
|
|
132
133
|
}),
|
|
133
134
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
134
135
|
[]
|
|
135
136
|
);
|
|
136
|
-
|
|
137
|
-
const
|
|
137
|
+
ee(de, U, u);
|
|
138
|
+
const B = t ? Math.min(
|
|
138
139
|
100,
|
|
139
|
-
Math.max(0,
|
|
140
|
-
) : 0, o =
|
|
141
|
-
return /* @__PURE__ */ e(i.Root, { open:
|
|
140
|
+
Math.max(0, t.used / Math.max(1, t.limit) * 100)
|
|
141
|
+
) : 0, o = t ? t.used >= t.limit : !1;
|
|
142
|
+
return /* @__PURE__ */ e(i.Root, { open: r, onOpenChange: m, children: /* @__PURE__ */ d(i.Portal, { children: [
|
|
142
143
|
/* @__PURE__ */ e(
|
|
143
144
|
i.Overlay,
|
|
144
145
|
{
|
|
@@ -155,19 +156,19 @@ const re = {
|
|
|
155
156
|
/* @__PURE__ */ d(
|
|
156
157
|
i.Content,
|
|
157
158
|
{
|
|
158
|
-
ref:
|
|
159
|
+
ref: x,
|
|
159
160
|
"aria-labelledby": f,
|
|
160
161
|
"aria-describedby": v,
|
|
161
|
-
className:
|
|
162
|
+
className: ie({ layout: z, density: T, className: D }),
|
|
162
163
|
"data-component": "freemium-paywall",
|
|
163
164
|
"data-component-id": u,
|
|
164
165
|
children: [
|
|
165
|
-
/* @__PURE__ */ e(i.Title, { id: f, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: F ??
|
|
166
|
-
/* @__PURE__ */ e(i.Description, { id: v, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children:
|
|
167
|
-
|
|
166
|
+
/* @__PURE__ */ e(i.Title, { id: f, asChild: !0, children: /* @__PURE__ */ e("h2", { className: "type-title-card", children: F ?? s("paywall.title") }) }),
|
|
167
|
+
/* @__PURE__ */ e(i.Description, { id: v, asChild: !0, children: /* @__PURE__ */ e("p", { className: "ds:mt-[var(--spacing-xs)] ds:text-[color:var(--muted-foreground)]", children: O ?? s("paywall.description") }) }),
|
|
168
|
+
t ? /* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-md)]", children: [
|
|
168
169
|
/* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:mb-[var(--spacing-xs)]", children: [
|
|
169
170
|
o ? /* @__PURE__ */ e(
|
|
170
|
-
|
|
171
|
+
re,
|
|
171
172
|
{
|
|
172
173
|
"aria-hidden": "true",
|
|
173
174
|
className: "ds:size-4 ds:text-[color:var(--destructive)]"
|
|
@@ -180,43 +181,46 @@ const re = {
|
|
|
180
181
|
"type-body-sm",
|
|
181
182
|
o ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]"
|
|
182
183
|
].join(" "),
|
|
183
|
-
children: o ?
|
|
184
|
-
used:
|
|
185
|
-
limit:
|
|
184
|
+
children: o ? s("paywall.usageFull") : s("paywall.usageLabel", {
|
|
185
|
+
used: t.used,
|
|
186
|
+
limit: t.limit
|
|
186
187
|
})
|
|
187
188
|
}
|
|
188
189
|
)
|
|
189
190
|
] }),
|
|
190
191
|
/* @__PURE__ */ e(
|
|
191
|
-
|
|
192
|
+
se,
|
|
192
193
|
{
|
|
193
|
-
value:
|
|
194
|
+
value: B,
|
|
194
195
|
max: 100,
|
|
195
|
-
ariaLabel:
|
|
196
|
-
used:
|
|
197
|
-
limit:
|
|
196
|
+
ariaLabel: s("paywall.usageLabel", {
|
|
197
|
+
used: t.used,
|
|
198
|
+
limit: t.limit
|
|
198
199
|
}),
|
|
199
200
|
className: o ? "ds:[&_[role=progressbar]>*]:bg-[color:var(--destructive)]" : ""
|
|
200
201
|
}
|
|
201
202
|
)
|
|
202
203
|
] }) : null,
|
|
203
204
|
/* @__PURE__ */ e(
|
|
204
|
-
|
|
205
|
+
K.Root,
|
|
205
206
|
{
|
|
206
207
|
value: l,
|
|
207
|
-
onValueChange:
|
|
208
|
-
|
|
208
|
+
onValueChange: (a) => {
|
|
209
|
+
g.noteSelection(), H(a);
|
|
210
|
+
},
|
|
211
|
+
onKeyDown: g.onKeyDown,
|
|
212
|
+
"aria-label": s("paywall.title"),
|
|
209
213
|
className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
210
|
-
children: p.map((
|
|
211
|
-
const
|
|
212
|
-
|
|
213
|
-
|
|
214
|
+
children: p.map((a) => {
|
|
215
|
+
const P = ae(
|
|
216
|
+
a.priceAmount,
|
|
217
|
+
a.currency,
|
|
214
218
|
L.language
|
|
215
|
-
),
|
|
219
|
+
), k = a.perKey ? s(a.perKey) : void 0, q = k ? s("paywall.pricePer", { price: P, period: k }) : P, G = s(a.nameKey);
|
|
216
220
|
return /* @__PURE__ */ d(
|
|
217
|
-
|
|
221
|
+
K.Item,
|
|
218
222
|
{
|
|
219
|
-
value:
|
|
223
|
+
value: a.id,
|
|
220
224
|
className: [
|
|
221
225
|
"ds:group ds:relative ds:flex ds:flex-col ds:items-stretch",
|
|
222
226
|
"ds:rounded-[var(--radius-md)] ds:[:where(&)]:border-[length:var(--surface-border-width,var(--border-width-sm))] ds:border-[color:var(--card-border)]",
|
|
@@ -229,43 +233,43 @@ const re = {
|
|
|
229
233
|
].join(" "),
|
|
230
234
|
children: [
|
|
231
235
|
/* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
232
|
-
/* @__PURE__ */ e("span", { className: "ds:font-semibold", children:
|
|
233
|
-
/* @__PURE__ */ e("span", { className: "ds:tabular-nums", children:
|
|
236
|
+
/* @__PURE__ */ e("span", { className: "ds:font-semibold", children: G }),
|
|
237
|
+
/* @__PURE__ */ e("span", { className: "ds:tabular-nums", children: q })
|
|
234
238
|
] }),
|
|
235
|
-
|
|
239
|
+
a.featuresKeys && a.featuresKeys.length > 0 ? /* @__PURE__ */ e(
|
|
236
240
|
"ul",
|
|
237
241
|
{
|
|
238
|
-
"aria-label":
|
|
242
|
+
"aria-label": s("paywall.features"),
|
|
239
243
|
className: "ds:mt-[var(--spacing-xs)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
240
|
-
children:
|
|
244
|
+
children: a.featuresKeys.map((W, _) => /* @__PURE__ */ d(
|
|
241
245
|
"li",
|
|
242
246
|
{
|
|
243
247
|
className: "ds:flex ds:items-start ds:gap-[var(--spacing-xs)] type-body-sm",
|
|
244
248
|
children: [
|
|
245
249
|
/* @__PURE__ */ e(
|
|
246
|
-
|
|
250
|
+
te,
|
|
247
251
|
{
|
|
248
252
|
"aria-hidden": "true",
|
|
249
253
|
className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--primary)] ds:mt-[1px]"
|
|
250
254
|
}
|
|
251
255
|
),
|
|
252
|
-
/* @__PURE__ */ e("span", { children:
|
|
256
|
+
/* @__PURE__ */ e("span", { children: s(W) })
|
|
253
257
|
]
|
|
254
258
|
},
|
|
255
|
-
|
|
259
|
+
_
|
|
256
260
|
))
|
|
257
261
|
}
|
|
258
262
|
) : null
|
|
259
263
|
]
|
|
260
264
|
},
|
|
261
|
-
|
|
265
|
+
a.id
|
|
262
266
|
);
|
|
263
267
|
})
|
|
264
268
|
}
|
|
265
269
|
),
|
|
266
270
|
/* @__PURE__ */ d("div", { className: "ds:mt-[var(--spacing-lg)] ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:justify-end", children: [
|
|
267
|
-
/* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick:
|
|
268
|
-
/* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick:
|
|
271
|
+
/* @__PURE__ */ e(i.Cancel, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "outline", onClick: h, children: s("paywall.notNow") }) }),
|
|
272
|
+
/* @__PURE__ */ e(i.Action, { asChild: !0, children: /* @__PURE__ */ e(R, { intent: "primary", onClick: y, children: s("paywall.upgrade") }) })
|
|
269
273
|
] })
|
|
270
274
|
]
|
|
271
275
|
}
|
|
@@ -273,9 +277,9 @@ const re = {
|
|
|
273
277
|
] }) });
|
|
274
278
|
}
|
|
275
279
|
);
|
|
276
|
-
|
|
280
|
+
le.displayName = "FreemiumPaywall";
|
|
277
281
|
export {
|
|
278
|
-
|
|
279
|
-
|
|
282
|
+
le as F,
|
|
283
|
+
de as f
|
|
280
284
|
};
|
|
281
|
-
//# sourceMappingURL=freemium-paywall-
|
|
285
|
+
//# sourceMappingURL=freemium-paywall-DIKuhX8b.js.map
|
|
@@ -4,9 +4,9 @@ import { c as de } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ce } from "react-i18next";
|
|
5
5
|
import { u as ue } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { R as d } from "./radio-BBbMdbE_.js";
|
|
7
|
-
import { R as S } from "./radio-group-
|
|
7
|
+
import { R as S } from "./radio-group-DicxWJXP.js";
|
|
8
8
|
import { F as k } from "./form-field-Ani72sVY.js";
|
|
9
|
-
import { D as _ } from "./date-picker-
|
|
9
|
+
import { D as _ } from "./date-picker-BSZuKo13.js";
|
|
10
10
|
import { S as me } from "./select-Ce5RMk93.js";
|
|
11
11
|
import { S as ge } from "./switch-D--x7n6h.js";
|
|
12
12
|
import { C as E } from "./card-DMO2nkt4.js";
|
|
@@ -485,4 +485,4 @@ Re.displayName = "GestationalAgeCalculator";
|
|
|
485
485
|
export {
|
|
486
486
|
Re as G
|
|
487
487
|
};
|
|
488
|
-
//# sourceMappingURL=gestational-age-calculator-
|
|
488
|
+
//# sourceMappingURL=gestational-age-calculator-CZi43xKG.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as J } from "react-i18next";
|
|
|
5
5
|
import { u as Q } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as S } from "./form-field-Ani72sVY.js";
|
|
7
7
|
import { N as P } from "./number-input-CVwI1ltI.js";
|
|
8
|
-
import { D as G } from "./date-time-picker-
|
|
8
|
+
import { D as G } from "./date-time-picker-CjxTkblD.js";
|
|
9
9
|
import { C as B } from "./card-DMO2nkt4.js";
|
|
10
10
|
import { B as X } from "./badge-hnBt8o7n.js";
|
|
11
11
|
import { I as ee } from "./insert-result-C1C2OCc3.js";
|
|
@@ -309,4 +309,4 @@ export {
|
|
|
309
309
|
re as M,
|
|
310
310
|
oe as a
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=hcg-doubling-
|
|
312
|
+
//# sourceMappingURL=hcg-doubling-Ccvh7OaU.js.map
|
|
@@ -4,7 +4,7 @@ import { c as K } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as T } from "react-i18next";
|
|
5
5
|
import { I as _ } from "./icon-button-COX76Jdj.js";
|
|
6
6
|
import { D as n } from "./dropdown-menu-BQSNVp4x.js";
|
|
7
|
-
import { u as H, c as g, L as O, a as j } from "./locale-picker-
|
|
7
|
+
import { u as H, c as g, L as O, a as j } from "./locale-picker-BGfrZyTw.js";
|
|
8
8
|
import { u as N } from "./use-locale-BExNy9Dl.js";
|
|
9
9
|
import { u as x } from "./use-theme-CAuo6EYT.js";
|
|
10
10
|
import { u as D } from "./registry-DvAUVLHh.js";
|
|
@@ -302,4 +302,4 @@ B.displayName = "HeaderSettings";
|
|
|
302
302
|
export {
|
|
303
303
|
B as H
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=header-settings-
|
|
305
|
+
//# sourceMappingURL=header-settings-BMcCx2LC.js.map
|
|
@@ -2036,7 +2036,7 @@ const ea = fa(
|
|
|
2036
2036
|
}
|
|
2037
2037
|
);
|
|
2038
2038
|
ea.displayName = "HeatmapLegend";
|
|
2039
|
-
const ta = () => import("./data-table-
|
|
2039
|
+
const ta = () => import("./data-table-fAMTeAjM.js").then((e) => e.h).then((e) => ({
|
|
2040
2040
|
default: e.DataTable
|
|
2041
2041
|
})), Mr = va(ta);
|
|
2042
2042
|
function ha() {
|
|
@@ -2862,4 +2862,4 @@ export {
|
|
|
2862
2862
|
Na as b,
|
|
2863
2863
|
Ya as h
|
|
2864
2864
|
};
|
|
2865
|
-
//# sourceMappingURL=heatmap-
|
|
2865
|
+
//# sourceMappingURL=heatmap-BEeOThkW.js.map
|
package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { c as ce } from "./index-D2ZczOXr.js";
|
|
|
5
5
|
import { A as O } from "./alert-BhCstf2h.js";
|
|
6
6
|
import { B as N } from "./button-Bn16lcFM.js";
|
|
7
7
|
import { I as B } from "./icon-button-COX76Jdj.js";
|
|
8
|
-
import { D as x } from "./dialog-
|
|
8
|
+
import { D as x } from "./dialog-Dn-iQ0Jp.js";
|
|
9
9
|
import { E as de } from "./editor-overlay-NMxzcO6J.js";
|
|
10
10
|
import { E as me } from "./empty-state-gNG3qYCX.js";
|
|
11
11
|
import { F as Z } from "./form-field-Ani72sVY.js";
|
|
@@ -744,4 +744,4 @@ export {
|
|
|
744
744
|
Le as c,
|
|
745
745
|
mr as u
|
|
746
746
|
};
|
|
747
|
-
//# sourceMappingURL=help-me-write-templates-
|
|
747
|
+
//# sourceMappingURL=help-me-write-templates-BUoYGo6f.js.map
|