@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
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsx as o, jsxs as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { useState as w, useRef as I, useEffect as A, useCallback as E, useMemo as y, forwardRef as i, useContext as H, createContext as D } from "react";
|
|
3
3
|
import * as d from "@radix-ui/react-dialog";
|
|
4
|
-
import { c as
|
|
5
|
-
import { useTranslation as
|
|
6
|
-
import { I as
|
|
7
|
-
import { S as
|
|
8
|
-
import { u as
|
|
9
|
-
import {
|
|
10
|
-
|
|
4
|
+
import { c as F } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as L } from "react-i18next";
|
|
6
|
+
import { I as V } from "./icon-button-COX76Jdj.js";
|
|
7
|
+
import { S as M } from "./scroll-area-ZtFCv9K7.js";
|
|
8
|
+
import { u as P } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { u as K } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
10
|
+
import { X } from "./x-B5YnXwCz.js";
|
|
11
|
+
const Y = {
|
|
11
12
|
id: "sheet",
|
|
12
13
|
// `dismiss` shares the handle's close() — it is the same imperative close
|
|
13
14
|
// path with destructive intent (loses uncommitted input). Backed.
|
|
@@ -62,14 +63,14 @@ const P = {
|
|
|
62
63
|
description: "Sourced from the id prop on Sheet.Root."
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
|
-
},
|
|
66
|
+
}, _ = [
|
|
66
67
|
"ds:fixed ds:inset-0 ds:z-[var(--z-modal-backdrop)]",
|
|
67
68
|
"ds:bg-[var(--background)]/[var(--opacity-70)]",
|
|
68
69
|
"ds:backdrop-blur-sm",
|
|
69
70
|
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0",
|
|
70
71
|
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0",
|
|
71
72
|
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
72
|
-
].join(" "),
|
|
73
|
+
].join(" "), q = F(
|
|
73
74
|
[
|
|
74
75
|
"ds:fixed ds:z-[var(--z-modal)] ds:flex ds:flex-col",
|
|
75
76
|
"ds:bg-[var(--popover)] ds:text-[var(--popover-foreground)]",
|
|
@@ -111,7 +112,7 @@ const P = {
|
|
|
111
112
|
defaultVariants: { side: "end" }
|
|
112
113
|
}
|
|
113
114
|
);
|
|
114
|
-
function
|
|
115
|
+
function G(e, t) {
|
|
115
116
|
return e === "start" || e === "end" ? {
|
|
116
117
|
sm: "ds:[inline-size:360px]",
|
|
117
118
|
md: "ds:[inline-size:480px]",
|
|
@@ -122,77 +123,92 @@ function Y(e, t) {
|
|
|
122
123
|
lg: "ds:[block-size:80dvh]"
|
|
123
124
|
}[t];
|
|
124
125
|
}
|
|
125
|
-
const
|
|
126
|
+
const S = D({ modal: !0 }), h = ({
|
|
126
127
|
children: e,
|
|
127
128
|
id: t,
|
|
128
129
|
open: s,
|
|
129
|
-
defaultOpen:
|
|
130
|
+
defaultOpen: r,
|
|
130
131
|
onOpenChange: a,
|
|
131
|
-
|
|
132
|
+
modal: l = !0,
|
|
133
|
+
...m
|
|
132
134
|
}) => {
|
|
133
|
-
const
|
|
134
|
-
|
|
135
|
-
),
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}, [
|
|
139
|
-
const
|
|
140
|
-
(
|
|
141
|
-
|
|
135
|
+
const c = s !== void 0, [u, f] = w(
|
|
136
|
+
r ?? !1
|
|
137
|
+
), n = c ? !!s : u, b = I(n);
|
|
138
|
+
A(() => {
|
|
139
|
+
b.current = n;
|
|
140
|
+
}, [n]);
|
|
141
|
+
const p = E(
|
|
142
|
+
(g) => {
|
|
143
|
+
c || f(g), a == null || a(g);
|
|
142
144
|
},
|
|
143
|
-
[
|
|
144
|
-
),
|
|
145
|
+
[c, a]
|
|
146
|
+
), B = y(
|
|
145
147
|
() => ({
|
|
146
|
-
getIsOpen: () =>
|
|
147
|
-
open: () =>
|
|
148
|
-
close: () =>
|
|
148
|
+
getIsOpen: () => b.current,
|
|
149
|
+
open: () => p(!0),
|
|
150
|
+
close: () => p(!1)
|
|
149
151
|
}),
|
|
150
|
-
[
|
|
152
|
+
[p]
|
|
151
153
|
);
|
|
152
|
-
|
|
154
|
+
P(Y, B, t);
|
|
155
|
+
const O = y(() => ({ id: t, modal: l }), [t, l]);
|
|
156
|
+
return /* @__PURE__ */ o(S.Provider, { value: O, children: /* @__PURE__ */ o(
|
|
157
|
+
d.Root,
|
|
158
|
+
{
|
|
159
|
+
open: n,
|
|
160
|
+
onOpenChange: p,
|
|
161
|
+
modal: l,
|
|
162
|
+
...m,
|
|
163
|
+
children: e
|
|
164
|
+
}
|
|
165
|
+
) });
|
|
153
166
|
};
|
|
154
|
-
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
const
|
|
158
|
-
|
|
159
|
-
const
|
|
160
|
-
({ side: e = "end", size: t = "md", className: s, children:
|
|
161
|
-
const
|
|
162
|
-
return /* @__PURE__ */
|
|
167
|
+
h.displayName = "Sheet.Root";
|
|
168
|
+
const N = i(({ children: e, ...t }, s) => /* @__PURE__ */ o(d.Trigger, { ref: s, ...t, children: e }));
|
|
169
|
+
N.displayName = "Sheet.Trigger";
|
|
170
|
+
const v = i(({ children: e, ...t }, s) => /* @__PURE__ */ o(d.Close, { ref: s, ...t, children: e }));
|
|
171
|
+
v.displayName = "Sheet.Close";
|
|
172
|
+
const j = i(
|
|
173
|
+
({ side: e = "end", size: t = "md", className: s, children: r, onKeyDown: a, ...l }, m) => {
|
|
174
|
+
const { id: c, modal: u } = H(S), f = K(!u);
|
|
175
|
+
return /* @__PURE__ */ x(d.Portal, { children: [
|
|
163
176
|
/* @__PURE__ */ o(
|
|
164
177
|
d.Overlay,
|
|
165
178
|
{
|
|
166
179
|
"data-component": "sheet-overlay",
|
|
167
|
-
className:
|
|
180
|
+
className: _
|
|
168
181
|
}
|
|
169
182
|
),
|
|
170
183
|
/* @__PURE__ */ o(
|
|
171
184
|
d.Content,
|
|
172
185
|
{
|
|
173
|
-
ref:
|
|
186
|
+
ref: m,
|
|
174
187
|
className: [
|
|
175
|
-
|
|
176
|
-
|
|
188
|
+
q({ side: e }),
|
|
189
|
+
G(e, t),
|
|
177
190
|
s
|
|
178
191
|
].filter(Boolean).join(" "),
|
|
179
192
|
"data-component": "sheet",
|
|
180
|
-
"data-component-id":
|
|
181
|
-
...
|
|
182
|
-
|
|
193
|
+
"data-component-id": c,
|
|
194
|
+
...l,
|
|
195
|
+
onKeyDown: (n) => {
|
|
196
|
+
a == null || a(n), f(n);
|
|
197
|
+
},
|
|
198
|
+
children: r
|
|
183
199
|
}
|
|
184
200
|
)
|
|
185
201
|
] });
|
|
186
202
|
}
|
|
187
203
|
);
|
|
188
|
-
|
|
189
|
-
const
|
|
190
|
-
({ className: e, children: t, ...s },
|
|
191
|
-
const { t: a } =
|
|
192
|
-
return /* @__PURE__ */
|
|
204
|
+
j.displayName = "Sheet.Content";
|
|
205
|
+
const k = i(
|
|
206
|
+
({ className: e, children: t, ...s }, r) => {
|
|
207
|
+
const { t: a } = L("ui");
|
|
208
|
+
return /* @__PURE__ */ x(
|
|
193
209
|
"div",
|
|
194
210
|
{
|
|
195
|
-
ref:
|
|
211
|
+
ref: r,
|
|
196
212
|
className: [
|
|
197
213
|
"ds:sticky ds:top-0 ds:z-10 ds:flex ds:items-center ds:justify-between",
|
|
198
214
|
"ds:ps-[var(--spacing-lg)] ds:pe-[var(--spacing-lg)] ds:py-[var(--spacing-md)]",
|
|
@@ -202,10 +218,10 @@ const S = i(
|
|
|
202
218
|
...s,
|
|
203
219
|
children: [
|
|
204
220
|
t,
|
|
205
|
-
/* @__PURE__ */ o(
|
|
206
|
-
|
|
221
|
+
/* @__PURE__ */ o(v, { asChild: !0, children: /* @__PURE__ */ o(
|
|
222
|
+
V,
|
|
207
223
|
{
|
|
208
|
-
icon: /* @__PURE__ */ o(
|
|
224
|
+
icon: /* @__PURE__ */ o(X, {}),
|
|
209
225
|
intent: "ghost",
|
|
210
226
|
size: "sm",
|
|
211
227
|
"aria-label": a("common.close", "Close")
|
|
@@ -216,13 +232,13 @@ const S = i(
|
|
|
216
232
|
);
|
|
217
233
|
}
|
|
218
234
|
);
|
|
219
|
-
|
|
220
|
-
const
|
|
235
|
+
k.displayName = "Sheet.Header";
|
|
236
|
+
const z = i(
|
|
221
237
|
({ className: e, ...t }, s) => (
|
|
222
238
|
// ScrollArea forwards its ref to the scroll container (Radix viewport), so
|
|
223
239
|
// SheetBody's ref still points at the scroller — preserving scrollTop access.
|
|
224
240
|
/* @__PURE__ */ o(
|
|
225
|
-
|
|
241
|
+
M,
|
|
226
242
|
{
|
|
227
243
|
ref: s,
|
|
228
244
|
orientation: "vertical",
|
|
@@ -242,8 +258,8 @@ const x = i(
|
|
|
242
258
|
)
|
|
243
259
|
)
|
|
244
260
|
);
|
|
245
|
-
|
|
246
|
-
const
|
|
261
|
+
z.displayName = "Sheet.Body";
|
|
262
|
+
const C = i(
|
|
247
263
|
({ className: e, ...t }, s) => /* @__PURE__ */ o(
|
|
248
264
|
"div",
|
|
249
265
|
{
|
|
@@ -259,8 +275,8 @@ const j = i(
|
|
|
259
275
|
}
|
|
260
276
|
)
|
|
261
277
|
);
|
|
262
|
-
|
|
263
|
-
const
|
|
278
|
+
C.displayName = "Sheet.Footer";
|
|
279
|
+
const R = i(({ className: e, ...t }, s) => /* @__PURE__ */ o(
|
|
264
280
|
d.Title,
|
|
265
281
|
{
|
|
266
282
|
ref: s,
|
|
@@ -268,8 +284,8 @@ const k = i(({ className: e, ...t }, s) => /* @__PURE__ */ o(
|
|
|
268
284
|
...t
|
|
269
285
|
}
|
|
270
286
|
));
|
|
271
|
-
|
|
272
|
-
const
|
|
287
|
+
R.displayName = "Sheet.Title";
|
|
288
|
+
const T = i(({ className: e, ...t }, s) => /* @__PURE__ */ o(
|
|
273
289
|
d.Description,
|
|
274
290
|
{
|
|
275
291
|
ref: s,
|
|
@@ -277,20 +293,20 @@ const z = i(({ className: e, ...t }, s) => /* @__PURE__ */ o(
|
|
|
277
293
|
...t
|
|
278
294
|
}
|
|
279
295
|
));
|
|
280
|
-
|
|
281
|
-
const
|
|
282
|
-
Root:
|
|
283
|
-
Trigger:
|
|
284
|
-
Content:
|
|
285
|
-
Header:
|
|
286
|
-
Body:
|
|
287
|
-
Footer:
|
|
288
|
-
Title:
|
|
289
|
-
Description:
|
|
290
|
-
Close:
|
|
296
|
+
T.displayName = "Sheet.Description";
|
|
297
|
+
const oe = Object.assign(h, {
|
|
298
|
+
Root: h,
|
|
299
|
+
Trigger: N,
|
|
300
|
+
Content: j,
|
|
301
|
+
Header: k,
|
|
302
|
+
Body: z,
|
|
303
|
+
Footer: C,
|
|
304
|
+
Title: R,
|
|
305
|
+
Description: T,
|
|
306
|
+
Close: v
|
|
291
307
|
});
|
|
292
308
|
export {
|
|
293
|
-
|
|
294
|
-
|
|
309
|
+
oe as S,
|
|
310
|
+
Y as s
|
|
295
311
|
};
|
|
296
|
-
//# sourceMappingURL=sheet-
|
|
312
|
+
//# sourceMappingURL=sheet-8qsiMoUI.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ce, useId as le, useMemo as M, useRef as R, useState as x, useEffect as V, useCallback as l, useImperativeHandle as ue } from "react";
|
|
3
3
|
import { c as i } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as me } from "react-i18next";
|
|
5
|
-
import { P as ge } from "./pdf-viewer-
|
|
5
|
+
import { P as ge } from "./pdf-viewer-CNQxa4tv.js";
|
|
6
6
|
import { S as pe } from "./signature-capture-Chqh62Pc.js";
|
|
7
7
|
import { u as fe } from "./registry-DvAUVLHh.js";
|
|
8
8
|
import { C as Z } from "./circle-check-BN6rz4NV.js";
|
|
@@ -367,4 +367,4 @@ export {
|
|
|
367
367
|
je as S,
|
|
368
368
|
ve as s
|
|
369
369
|
};
|
|
370
|
-
//# sourceMappingURL=sign-document-
|
|
370
|
+
//# sourceMappingURL=sign-document-D4iHS_Ug.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n, jsxs as h, Fragment as we } from "react/jsx-runtime";
|
|
2
2
|
import { useState as L, useRef as ge, useEffect as Ee, useId as j, forwardRef as ga } from "react";
|
|
3
3
|
import { useTranslation as fn } from "react-i18next";
|
|
4
|
-
import { D as S } from "./dialog-
|
|
4
|
+
import { D as S } from "./dialog-Dn-iQ0Jp.js";
|
|
5
5
|
import { Q as fa } from "./qr-code-DHEma21c.js";
|
|
6
6
|
import { S as va } from "./spinner-CoflYlEx.js";
|
|
7
7
|
import { B as F } from "./button-Bn16lcFM.js";
|
|
@@ -2218,4 +2218,4 @@ ti.displayName = "SignatureRequestModal";
|
|
|
2218
2218
|
export {
|
|
2219
2219
|
ti as S
|
|
2220
2220
|
};
|
|
2221
|
-
//# sourceMappingURL=signature-request-
|
|
2221
|
+
//# sourceMappingURL=signature-request-DRuYAG5I.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e, Fragment as v } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { A as S } from "./app-frame-B-0O9CrU.js";
|
|
5
|
-
import { P as x } from "./public-footer-
|
|
5
|
+
import { P as x } from "./public-footer-ZWTEG1Rq.js";
|
|
6
6
|
import { useTranslation as b } from "react-i18next";
|
|
7
7
|
import { B as u } from "./button-Bn16lcFM.js";
|
|
8
8
|
import { H as N, g as O, f as F, a as z, d as B } from "./header-B9552pLh.js";
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
V as S,
|
|
169
169
|
w as a
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=signed-out-frame-
|
|
171
|
+
//# sourceMappingURL=signed-out-frame-AhMsNW1r.js.map
|