@alfadocs/ui-kit 1.115.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-bI27uXXC.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-D5Ije0S2.js → address-fields-RIaGnpnm.js} +4 -4
- 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-BZ36ULQk.js → anamnesis-summary-rows-BbAREK-3.js} +7 -7
- package/dist/_chunks/{antenatal-schedule-timeline-va9zx7tJ.js → antenatal-schedule-timeline-86YVlMYJ.js} +2 -2
- package/dist/_chunks/{appointment-card-D_-aBrx5.js → appointment-card-0PebvrOS.js} +3 -3
- package/dist/_chunks/{appointment-peek-DWfcpoGy.js → appointment-peek-DdUhqfEi.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DxLu3afn.js → appointment-timeline-CC7nmBOH.js} +3 -3
- package/dist/_chunks/{appointment-tray-BhXOJpIJ.js → appointment-tray-B04zKY7g.js} +2 -2
- package/dist/_chunks/arrow-down-left-DECv-dJt.js +15 -0
- package/dist/_chunks/{balance-badge-cell-CXHihM22.js → balance-badge-cell-DPjab0eJ.js} +6 -6
- package/dist/_chunks/bill-line-table-vCnVo7_a.js +1565 -0
- package/dist/_chunks/{bishop-score-QJu-sM1y.js → bishop-score-CKztphVz.js} +2 -2
- package/dist/_chunks/{bmi-calculator-Ba4yoR31.js → bmi-calculator-rri5vvMt.js} +3 -3
- package/dist/_chunks/{button-group-CUnNnt8a.js → button-group-B2MJo0Se.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D4TyJwqy.js → calculator-dialog-BGX5XQCM.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BVzFi4hH.js → calendar-appointment-editor-dialog-BEmBcb61.js} +18 -18
- package/dist/_chunks/{card-DVO3x8E-.js → card-n6W6LW-N.js} +78 -47
- package/dist/_chunks/{care-plan-card-BA3MfdfZ.js → care-plan-card-bGTIliXc.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CUtFZ813.js → care-plan-entry-card-cdojypxu.js} +3 -3
- package/dist/_chunks/{chart-DebrFZ6L.js → chart-Aue_2dMb.js} +2 -2
- package/dist/_chunks/circle-off-DuT9pVy2.js +16 -0
- package/dist/_chunks/{clinical-note-card-Zz5_GEz-.js → clinical-note-card-DHn5W_bv.js} +2 -2
- package/dist/_chunks/combobox-BBCVQS-S.js +935 -0
- package/dist/_chunks/{compact-editor-fields-cP6yh7xv.js → compact-editor-fields-6sTWRLtf.js} +3 -3
- 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-DMXWBBkU.js → contact-profile-card-BubJPyRB.js} +3 -3
- package/dist/_chunks/{country-select-CUuGOAoZ.js → country-select-C2GdvRtS.js} +2 -2
- package/dist/_chunks/{cycle-calculator-C68V9rdH.js → cycle-calculator-C8nWAeTk.js} +3 -3
- package/dist/_chunks/{dashboard-grid-DrOkTtya.js → dashboard-grid-CaxgaEgI.js} +2 -2
- package/dist/_chunks/{toolbar-Bc3pjfG5.js → data-grid-DiBSbN2Y.js} +3017 -3106
- package/dist/_chunks/{data-grid-tabs-CsLbIv0h.js → data-grid-tabs-D9Y4DeeH.js} +2 -2
- package/dist/_chunks/{data-table-DXaE2Ret.js → data-table-DhYx-hCD.js} +101 -100
- package/dist/_chunks/{date-range-panel-CBFfkgmz.js → date-range-panel-CT6nXjRM.js} +7 -7
- package/dist/_chunks/default-tabs-CD285u0C.js +2250 -0
- package/dist/_chunks/dialog-CIUn5oLb.js +348 -0
- package/dist/_chunks/{document-preview-WvJKHJOP.js → document-preview-BWDTCEHI.js} +3 -3
- package/dist/_chunks/dropdown-menu-Dw6sgQwJ.js +679 -0
- package/dist/_chunks/{due-date-calculator-C1UA5jpS.js → due-date-calculator-c1NJPw9F.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-CtlMhLai.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/export-files-BByoK9Cg.js +248 -0
- package/dist/_chunks/{face-scheme-DkoxiDCh.js → face-scheme-Bt07zQJU.js} +20 -19
- package/dist/_chunks/{fetal-weight-DmZzMRzB.js → fetal-weight-D0KofJJw.js} +3 -3
- package/dist/_chunks/{file-manager-DFFExyym.js → file-manager-CV1_GtjC.js} +5 -5
- 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/format-price-CIX0YJZn.js +179 -0
- package/dist/_chunks/{gestational-age-calculator-60y1RyQL.js → gestational-age-calculator-Cg4Gq42R.js} +3 -3
- package/dist/_chunks/{grid-context-AwsLJRhH.js → grid-context-jn9y8tNE.js} +4 -4
- package/dist/_chunks/{hcg-doubling-CC-dbKE8.js → hcg-doubling-BjTa_77t.js} +3 -3
- package/dist/_chunks/{header-settings-Df9q1uHt.js → header-settings-DsvheAOt.js} +160 -147
- package/dist/_chunks/{heatmap-eXdtmEoU.js → heatmap-BurtKmeu.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-CWxgjDZl.js → help-me-write-templates-C28E_rOt.js} +2 -2
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/{icon-button-group-C9mPK-bX.js → icon-button-group-BKtkVZ1W.js} +2 -2
- package/dist/_chunks/{kit-extensions-CzG0RmhQ.js → kit-extensions-C3oL0WTp.js} +7 -7
- package/dist/_chunks/{link-cell-renderer-Ditt5mvT.js → link-cell-renderer-NFNGdAGt.js} +4 -4
- 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-CcEHJgDd.js → marketplace-app-shell-BOBWmzoT.js} +6 -6
- package/dist/_chunks/money-OE6_oDPH.js +138 -0
- package/dist/_chunks/{muscle-scheme-BkmDUTmk.js → muscle-scheme-C9dnSxzw.js} +2 -2
- package/dist/_chunks/{notes-panel-BVYG_MJE.js → notes-panel-CHR-Jv6N.js} +5 -5
- 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/number-input-DUSvP7Dq.js +625 -0
- package/dist/_chunks/{operator-hero-BWayX73x.js → operator-hero-CnfWckNQ.js} +2 -2
- package/dist/_chunks/{optical-prescription-CvbN8yD2.js → optical-prescription-Da_r8pMr.js} +2 -2
- package/dist/_chunks/parts-CcyRkB8t.js +869 -0
- package/dist/_chunks/{patient-details-DlT-vpSe.js → patient-details-C4dHR4iu.js} +3 -3
- package/dist/_chunks/{patient-field-row-B54uzvu-.js → patient-field-row-0QP8KCVp.js} +5 -5
- package/dist/_chunks/{patient-search-DDRDCjZi.js → patient-search-D_S7joff.js} +3 -3
- package/dist/_chunks/{patient-summary-card-Dy9-CzON.js → patient-summary-card-x0-AhCyC.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-D7yaD4u1.js → payment-automation-upsell-CGdG2Mwk.js} +2 -2
- package/dist/_chunks/{payment-request-card-BmV2pLoM.js → payment-request-card-CEIalOtr.js} +15 -14
- 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-BlxfBx-D.js → practice-results-CzHWprX4.js} +922 -787
- package/dist/_chunks/{pregnancy-dating-qZpw3zj8.js → pregnancy-dating-BO6diQMZ.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-DQoOM8QV.js → pregnancy-weight-gain-DkGcEc_l.js} +3 -3
- package/dist/_chunks/{privacy-mask-BlJK51MD.js → privacy-mask-DJ1gee4c.js} +2 -2
- package/dist/_chunks/{province-select-cVOlwEc5.js → province-select-CTM8A9SM.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-C1LGeX-G.js → radiograph-panel.agent-9jwXlOXB.js} +2 -2
- package/dist/_chunks/{registration-form-DW-0X7S4.js → registration-form-CMXefBnC.js} +2 -2
- package/dist/_chunks/{reserved.agent-6p3Hm4oH.js → reserved.agent-TaZfI3yj.js} +5 -5
- 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-efaMWbYz.js → rich-text-editor-CMPA5Wgy.js} +12 -11
- package/dist/_chunks/row-actions-Dpf9CrCP.js +213 -0
- 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-BnTihryS.js → signature-request-Dzs0jZsd.js} +3 -3
- package/dist/_chunks/{tab-bar-C_pggqVr.js → tab-bar-CF8R38Og.js} +2 -2
- package/dist/_chunks/{tabs-CXYjr_8O.js → tabs-P4qFmxk5.js} +2 -2
- package/dist/_chunks/{task-editor-CSa6vQ9r.js → task-editor-WdDCqbIL.js} +168 -178
- package/dist/_chunks/{tasks-panel-CVjY1d7Q.js → tasks-panel-DBSm3WjK.js} +2 -2
- package/dist/_chunks/{theme-toggle-CObX2Ffa.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-Dl3x2ekR.js → token-insert-menu-BrK5NQIq.js} +2 -2
- package/dist/_chunks/toolbar-z8vXnpXz.js +159 -0
- package/dist/_chunks/{tooth-scheme-C-ALCHaV.js → tooth-scheme-DHRxV2sE.js} +2 -2
- package/dist/_chunks/{transaction-chip-CohY6sTA.js → transaction-chip-CkYd-3ky.js} +47 -57
- package/dist/_chunks/{treatment-receipt-BydbojdD.js → treatment-receipt-1VnuinhY.js} +2 -2
- package/dist/_chunks/undo-2-EBxWjj1W.js +15 -0
- package/dist/_chunks/{unit-converter-D77vmlzN.js → unit-converter-YKlHyUC2.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BMAiQYo6.js → use-appointment-details-read-B-SXnszJ.js} +10 -10
- package/dist/_chunks/{verify-identity-types-C85EXNzy.js → verify-identity-types-D_LdByCp.js} +2 -2
- package/dist/_chunks/{widget-picker-U4JsEhQE.js → widget-picker-DrxJjEkv.js} +2 -2
- package/dist/_chunks/{workflow-map-B4XkcET0.js → workflow-map-DCjkRuS_.js} +3 -3
- package/dist/_chunks/{workflow-status-9wb7iWUd.js → workflow-status-D0avpoeS.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DNSe65yd.js → workflow-webhook-action-dgUjv9T7.js} +3 -3
- package/dist/agent-catalog.json +1080 -1
- package/dist/agent-i18n/en.json +50 -0
- package/dist/browser-support.js +2 -0
- package/dist/components/_shared/accessible-target.d.ts +19 -0
- package/dist/components/_shared/decimal.d.ts +171 -0
- package/dist/components/_shared/focus-visible.d.ts +8 -0
- package/dist/components/_shared/format-price.d.ts +54 -2
- 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.agent.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.columns.d.ts +49 -0
- package/dist/components/bill-line-table/bill-line-table.d.ts +4 -0
- package/dist/components/bill-line-table/bill-line-table.model.d.ts +173 -0
- package/dist/components/bill-line-table/bill-line-table.types.d.ts +443 -0
- package/dist/components/bill-line-table/bill-line-table.variants.d.ts +36 -0
- package/dist/components/bill-line-table/index.d.ts +6 -0
- package/dist/components/bill-line-table/index.js +23 -0
- package/dist/components/bill-table/bill-table.agent.d.ts +4 -0
- package/dist/components/bill-table/bill-table.d.ts +13 -0
- package/dist/components/bill-table/bill-table.variants.d.ts +55 -0
- package/dist/components/bill-table/cells.d.ts +89 -0
- package/dist/components/bill-table/columns.d.ts +21 -0
- package/dist/components/bill-table/default-tabs.d.ts +21 -0
- package/dist/components/bill-table/handle.d.ts +19 -0
- package/dist/components/bill-table/index.d.ts +7 -0
- package/dist/components/bill-table/index.js +19 -0
- package/dist/components/bill-table/model.d.ts +103 -0
- package/dist/components/bill-table/row-actions.d.ts +27 -0
- package/dist/components/bill-table/status-maps.d.ts +225 -0
- package/dist/components/bill-table/types.d.ts +542 -0
- 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/calculator-dialog/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/combobox/combobox.d.ts +59 -1
- package/dist/components/combobox/index.d.ts +1 -1
- package/dist/components/combobox/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/country-select/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/body.d.ts +6 -0
- package/dist/components/data-grid/data-grid.variants.d.ts +1 -9
- package/dist/components/data-grid/editors.d.ts +7 -1
- package/dist/components/data-grid/index.js +9 -8
- package/dist/components/data-grid/selection.d.ts +10 -0
- package/dist/components/data-grid/types.d.ts +61 -11
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/dialog/focus-return.d.ts +12 -0
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +11 -0
- 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/index.d.ts +6 -0
- 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/money/index.js +1 -1
- package/dist/components/money/money.d.ts +39 -6
- 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/number-input/index.d.ts +2 -2
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/number-input/number-input.d.ts +43 -2
- package/dist/components/number-input/use-locale-number.d.ts +67 -3
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/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/province-select/index.js +1 -1
- package/dist/components/radiograph-panel/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.d.ts +3 -0
- package/dist/components/row-actions/index.js +5 -0
- package/dist/components/row-actions/row-actions.d.ts +63 -0
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/smart-date/smart-date.d.ts +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/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/widget-picker/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/decimal/index.js +149 -0
- package/dist/host-compat.css +7 -1
- package/dist/i18n/locales/ar.d.ts +262 -0
- package/dist/i18n/locales/ar.js +263 -1
- package/dist/i18n/locales/de.d.ts +262 -0
- package/dist/i18n/locales/de.js +263 -1
- package/dist/i18n/locales/el.d.ts +262 -0
- package/dist/i18n/locales/el.js +263 -1
- package/dist/i18n/locales/en.d.ts +262 -0
- package/dist/i18n/locales/en.js +263 -1
- package/dist/i18n/locales/es.d.ts +262 -0
- package/dist/i18n/locales/es.js +263 -1
- package/dist/i18n/locales/fr.d.ts +262 -0
- package/dist/i18n/locales/fr.js +263 -1
- package/dist/i18n/locales/hi.d.ts +262 -0
- package/dist/i18n/locales/hi.js +263 -1
- package/dist/i18n/locales/it.d.ts +262 -0
- package/dist/i18n/locales/it.js +263 -1
- package/dist/i18n/locales/ja.d.ts +262 -0
- package/dist/i18n/locales/ja.js +263 -1
- package/dist/i18n/locales/nl.d.ts +262 -0
- package/dist/i18n/locales/nl.js +263 -1
- package/dist/i18n/locales/pl.d.ts +262 -0
- package/dist/i18n/locales/pl.js +263 -1
- package/dist/i18n/locales/pt.d.ts +262 -0
- package/dist/i18n/locales/pt.js +263 -1
- package/dist/i18n/locales/ro.d.ts +262 -0
- package/dist/i18n/locales/ro.js +263 -1
- package/dist/i18n/locales/ru.d.ts +262 -0
- package/dist/i18n/locales/ru.js +263 -1
- package/dist/i18n/locales/sq.d.ts +262 -0
- package/dist/i18n/locales/sq.js +263 -1
- package/dist/i18n/locales/sv.d.ts +262 -0
- package/dist/i18n/locales/sv.js +263 -1
- package/dist/i18n/locales/tr.d.ts +262 -0
- package/dist/i18n/locales/tr.js +263 -1
- package/dist/i18n/locales/zh.d.ts +262 -0
- package/dist/i18n/locales/zh.js +263 -1
- package/dist/index.js +1298 -1246
- package/dist/locales/ar.json +263 -1
- package/dist/locales/de.json +263 -1
- package/dist/locales/el.json +263 -1
- package/dist/locales/en.json +263 -1
- package/dist/locales/es.json +263 -1
- package/dist/locales/fr.json +263 -1
- package/dist/locales/hi.json +263 -1
- package/dist/locales/it.json +263 -1
- package/dist/locales/ja.json +263 -1
- package/dist/locales/nl.json +263 -1
- package/dist/locales/pl.json +263 -1
- package/dist/locales/pt.json +263 -1
- package/dist/locales/ro.json +263 -1
- package/dist/locales/ru.json +263 -1
- package/dist/locales/sq.json +263 -1
- package/dist/locales/sv.json +263 -1
- package/dist/locales/tr.json +263 -1
- package/dist/locales/zh.json +263 -1
- 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/help-me-write-templates/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/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +22 -3
- package/dist/_chunks/combobox-duuDRI1t.js +0 -688
- package/dist/_chunks/dialog-BTjSQjdY.js +0 -274
- package/dist/_chunks/dropdown-menu-CqxBthww.js +0 -595
- package/dist/_chunks/format-price-BcFBa-WP.js +0 -52
- package/dist/_chunks/map-view-Bny79cWa.js +0 -856
- package/dist/_chunks/money-Tsczpjfz.js +0 -102
- package/dist/_chunks/number-input-CVwI1ltI.js +0 -423
- package/dist/_chunks/parts-Wz2LeGnH.js +0 -1113
- package/dist/_chunks/undo-2-CYNAzclj.js +0 -26
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { jsx as n, jsxs as O } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as m, useEffect as K, useMemo as j, forwardRef as u, useContext as S, createContext as Y } from "react";
|
|
3
|
+
import * as l from "@radix-ui/react-dialog";
|
|
4
|
+
import { c as k } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as G } from "react-i18next";
|
|
6
|
+
import { u as J } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as Q } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
|
+
import { u as W } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { u as Z } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
10
|
+
import { c as H } from "./compose-refs-C0k0tdqF.js";
|
|
11
|
+
import { X as ee } from "./x-B5YnXwCz.js";
|
|
12
|
+
const te = 8;
|
|
13
|
+
function h(e) {
|
|
14
|
+
return e instanceof HTMLElement ? e : null;
|
|
15
|
+
}
|
|
16
|
+
function oe(e) {
|
|
17
|
+
var a;
|
|
18
|
+
const t = e.ownerDocument, o = ((a = e.getAttribute("aria-labelledby")) == null ? void 0 : a.split(/\s+/)) ?? [];
|
|
19
|
+
for (const s of o) {
|
|
20
|
+
const r = s ? h(t.getElementById(s)) : null;
|
|
21
|
+
if (r && !e.contains(r)) return r;
|
|
22
|
+
}
|
|
23
|
+
if (e.id) {
|
|
24
|
+
const s = h(
|
|
25
|
+
t.querySelector(`[aria-controls~="${CSS.escape(e.id)}"]`)
|
|
26
|
+
);
|
|
27
|
+
if (s && !e.contains(s)) return s;
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
function ae(e) {
|
|
32
|
+
const t = [];
|
|
33
|
+
let o = h(e);
|
|
34
|
+
if (!o || o === o.ownerDocument.body) return t;
|
|
35
|
+
for (let a = 0; o && a <= te; a += 1) {
|
|
36
|
+
t.push(o);
|
|
37
|
+
const s = o.closest('[role="menu"]');
|
|
38
|
+
if (!s) break;
|
|
39
|
+
o = oe(s);
|
|
40
|
+
}
|
|
41
|
+
return t;
|
|
42
|
+
}
|
|
43
|
+
function se(e) {
|
|
44
|
+
return e.isConnected && !e.matches(":disabled") && e.closest("[inert]") === null && e.getClientRects().length > 0;
|
|
45
|
+
}
|
|
46
|
+
function ne(e) {
|
|
47
|
+
for (const t of e)
|
|
48
|
+
if (se(t) && (t.focus({ preventScroll: !0 }), t.ownerDocument.activeElement === t))
|
|
49
|
+
return !0;
|
|
50
|
+
return !1;
|
|
51
|
+
}
|
|
52
|
+
const ie = {
|
|
53
|
+
id: "dialog",
|
|
54
|
+
capabilities: ["open", "close", "dismiss"],
|
|
55
|
+
state: {
|
|
56
|
+
isOpen: {
|
|
57
|
+
type: "boolean",
|
|
58
|
+
descriptionKey: "ui.agent.dialog.state.isOpen",
|
|
59
|
+
description: "True when the dialog is currently open.",
|
|
60
|
+
read: (e) => e.getIsOpen()
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
actions: {
|
|
64
|
+
open: {
|
|
65
|
+
safety: "read",
|
|
66
|
+
idempotent: !0,
|
|
67
|
+
descriptionKey: "ui.agent.dialog.actions.open",
|
|
68
|
+
description: "Open the dialog.",
|
|
69
|
+
invoke: (e) => {
|
|
70
|
+
e.open();
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
close: {
|
|
74
|
+
safety: "read",
|
|
75
|
+
idempotent: !0,
|
|
76
|
+
descriptionKey: "ui.agent.dialog.actions.close",
|
|
77
|
+
description: "Close the dialog. Reversible by reopening.",
|
|
78
|
+
invoke: (e) => {
|
|
79
|
+
e.close();
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
dismiss: {
|
|
83
|
+
safety: "destructive",
|
|
84
|
+
idempotent: !0,
|
|
85
|
+
descriptionKey: "ui.agent.dialog.actions.dismiss",
|
|
86
|
+
description: "Dismiss the dialog. Loses any in-progress input that has not been committed.",
|
|
87
|
+
invoke: (e) => {
|
|
88
|
+
e.close();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
domHooks: {
|
|
93
|
+
root: { attr: "data-component", value: "dialog" },
|
|
94
|
+
instanceId: {
|
|
95
|
+
attr: "data-component-id",
|
|
96
|
+
sourceProp: "id",
|
|
97
|
+
description: "Sourced from the id prop on Dialog.Root."
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}, re = [
|
|
101
|
+
"ds-dialog__backdrop",
|
|
102
|
+
"ds:backdrop-blur-sm",
|
|
103
|
+
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0",
|
|
104
|
+
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0",
|
|
105
|
+
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
106
|
+
].join(" "), de = [
|
|
107
|
+
"ds:focus-visible:outline-none",
|
|
108
|
+
"ds:data-[state=open]:animate-in ds:data-[state=open]:fade-in-0 ds:data-[state=open]:zoom-in-95",
|
|
109
|
+
"ds:data-[state=closed]:animate-out ds:data-[state=closed]:fade-out-0 ds:data-[state=closed]:zoom-out-95",
|
|
110
|
+
"ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none"
|
|
111
|
+
].join(" "), le = k(`ds-dialog ds-dialog__surface ${de}`, {
|
|
112
|
+
variants: {
|
|
113
|
+
size: {
|
|
114
|
+
sm: "ds-dialog__surface--sm",
|
|
115
|
+
md: "",
|
|
116
|
+
lg: "ds-dialog__surface--lg",
|
|
117
|
+
xl: "ds-dialog__surface--xl",
|
|
118
|
+
fullscreen: "ds-dialog__surface--fullscreen"
|
|
119
|
+
},
|
|
120
|
+
// `body` pins the header and footer and scrolls only `Dialog.Body` once
|
|
121
|
+
// the content passes the height cap. `surface` (default) scrolls the
|
|
122
|
+
// whole panel as one block.
|
|
123
|
+
scroll: {
|
|
124
|
+
surface: "",
|
|
125
|
+
body: "ds-dialog__surface--scroll-body"
|
|
126
|
+
},
|
|
127
|
+
// `flush` drops the surface padding for content that brings its own
|
|
128
|
+
// header, scroll box and footer (a docked panel thrown in a dialog).
|
|
129
|
+
flush: {
|
|
130
|
+
true: "ds-dialog__surface--flush",
|
|
131
|
+
false: ""
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
defaultVariants: { size: "md", scroll: "surface", flush: !1 }
|
|
135
|
+
}), N = Y({
|
|
136
|
+
modal: !0,
|
|
137
|
+
triggerRef: { current: null },
|
|
138
|
+
returnFocusRef: { current: [] }
|
|
139
|
+
}), C = ({
|
|
140
|
+
children: e,
|
|
141
|
+
id: t,
|
|
142
|
+
open: o,
|
|
143
|
+
defaultOpen: a,
|
|
144
|
+
onOpenChange: s,
|
|
145
|
+
modal: r = !0,
|
|
146
|
+
...v
|
|
147
|
+
}) => {
|
|
148
|
+
const [f, c] = J({
|
|
149
|
+
value: o,
|
|
150
|
+
defaultValue: a ?? !1,
|
|
151
|
+
onChange: s
|
|
152
|
+
}), i = f ?? !1, p = m(i);
|
|
153
|
+
K(() => {
|
|
154
|
+
p.current = i;
|
|
155
|
+
}, [i]);
|
|
156
|
+
const b = j(
|
|
157
|
+
() => ({
|
|
158
|
+
getIsOpen: () => p.current,
|
|
159
|
+
open: () => c(!0),
|
|
160
|
+
close: () => c(!1)
|
|
161
|
+
}),
|
|
162
|
+
[c]
|
|
163
|
+
);
|
|
164
|
+
W(ie, b, t);
|
|
165
|
+
const D = m(null), g = m([]);
|
|
166
|
+
Q(() => {
|
|
167
|
+
i && (g.current = ae(document.activeElement));
|
|
168
|
+
}, [i]);
|
|
169
|
+
const y = j(
|
|
170
|
+
() => ({ id: t, modal: r, triggerRef: D, returnFocusRef: g }),
|
|
171
|
+
[t, r]
|
|
172
|
+
);
|
|
173
|
+
return /* @__PURE__ */ n(N.Provider, { value: y, children: /* @__PURE__ */ n(
|
|
174
|
+
l.Root,
|
|
175
|
+
{
|
|
176
|
+
open: i,
|
|
177
|
+
onOpenChange: c,
|
|
178
|
+
modal: r,
|
|
179
|
+
...v,
|
|
180
|
+
children: e
|
|
181
|
+
}
|
|
182
|
+
) });
|
|
183
|
+
};
|
|
184
|
+
C.displayName = "Dialog.Root";
|
|
185
|
+
const M = u(({ children: e, ...t }, o) => {
|
|
186
|
+
const { triggerRef: a } = S(N);
|
|
187
|
+
return /* @__PURE__ */ n(l.Trigger, { ref: H(o, a), ...t, children: e });
|
|
188
|
+
});
|
|
189
|
+
M.displayName = "Dialog.Trigger";
|
|
190
|
+
const B = u(({ children: e, ...t }, o) => /* @__PURE__ */ n(l.Close, { ref: o, ...t, children: e }));
|
|
191
|
+
B.displayName = "Dialog.Close";
|
|
192
|
+
const w = u(
|
|
193
|
+
({
|
|
194
|
+
size: e = "md",
|
|
195
|
+
variant: t = "default",
|
|
196
|
+
scroll: o = "surface",
|
|
197
|
+
flush: a = !1,
|
|
198
|
+
hideCloseButton: s,
|
|
199
|
+
className: r,
|
|
200
|
+
children: v,
|
|
201
|
+
onKeyDown: f,
|
|
202
|
+
onCloseAutoFocus: c,
|
|
203
|
+
onInteractOutside: i,
|
|
204
|
+
...p
|
|
205
|
+
}, b) => {
|
|
206
|
+
const { t: D } = G("ui"), {
|
|
207
|
+
id: g,
|
|
208
|
+
modal: y,
|
|
209
|
+
triggerRef: A,
|
|
210
|
+
returnFocusRef: I
|
|
211
|
+
} = S(N), x = m(null), _ = m(!1), U = Z(!y), X = t === "alert" ? { role: "alertdialog" } : {}, $ = s ?? t !== "default";
|
|
212
|
+
return /* @__PURE__ */ O(l.Portal, { children: [
|
|
213
|
+
/* @__PURE__ */ n(
|
|
214
|
+
l.Overlay,
|
|
215
|
+
{
|
|
216
|
+
"data-component": "dialog-overlay",
|
|
217
|
+
className: re
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
/* @__PURE__ */ O(
|
|
221
|
+
l.Content,
|
|
222
|
+
{
|
|
223
|
+
ref: H(b, x),
|
|
224
|
+
...X,
|
|
225
|
+
"data-component": "dialog",
|
|
226
|
+
"data-component-id": g,
|
|
227
|
+
className: le({ size: e, scroll: o, flush: a, className: r }),
|
|
228
|
+
...p,
|
|
229
|
+
onKeyDown: (d) => {
|
|
230
|
+
f == null || f(d), U(d);
|
|
231
|
+
},
|
|
232
|
+
onInteractOutside: (d) => {
|
|
233
|
+
i == null || i(d), d.defaultPrevented || (_.current = !0);
|
|
234
|
+
},
|
|
235
|
+
onCloseAutoFocus: (d) => {
|
|
236
|
+
var T, E;
|
|
237
|
+
c == null || c(d);
|
|
238
|
+
const q = _.current;
|
|
239
|
+
if (_.current = !1, d.defaultPrevented || (T = A.current) != null && T.isConnected || !y && q) return;
|
|
240
|
+
const R = document.activeElement;
|
|
241
|
+
R !== null && R !== document.body && !((E = x.current) != null && E.contains(R)) || ne(I.current) && d.preventDefault();
|
|
242
|
+
},
|
|
243
|
+
children: [
|
|
244
|
+
v,
|
|
245
|
+
!$ && // The close is a plain button carrying the `ds-dialog__close`
|
|
246
|
+
// contract class — the SAME class a vanilla host renders. The CSS
|
|
247
|
+
// (src/styles.css) owns its position, sizing, glyph size, hover
|
|
248
|
+
// wash, and focus ring from tokens, so the React and non-React
|
|
249
|
+
// close buttons are identical and can't drift.
|
|
250
|
+
/* @__PURE__ */ n(
|
|
251
|
+
l.Close,
|
|
252
|
+
{
|
|
253
|
+
type: "button",
|
|
254
|
+
className: "ds-dialog__close",
|
|
255
|
+
"aria-label": D("common.close", "Close"),
|
|
256
|
+
children: /* @__PURE__ */ n(ee, { "aria-hidden": "true" })
|
|
257
|
+
}
|
|
258
|
+
)
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
)
|
|
262
|
+
] });
|
|
263
|
+
}
|
|
264
|
+
);
|
|
265
|
+
w.displayName = "Dialog.Content";
|
|
266
|
+
const F = u(
|
|
267
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ n(
|
|
268
|
+
"div",
|
|
269
|
+
{
|
|
270
|
+
ref: o,
|
|
271
|
+
className: ["ds-dialog__header", e].filter(Boolean).join(" "),
|
|
272
|
+
...t
|
|
273
|
+
}
|
|
274
|
+
)
|
|
275
|
+
);
|
|
276
|
+
F.displayName = "Dialog.Header";
|
|
277
|
+
const L = u(
|
|
278
|
+
({ className: e, ...t }, o) => /* @__PURE__ */ n(
|
|
279
|
+
"div",
|
|
280
|
+
{
|
|
281
|
+
ref: o,
|
|
282
|
+
className: ["ds-dialog__body", e].filter(Boolean).join(" "),
|
|
283
|
+
...t
|
|
284
|
+
}
|
|
285
|
+
)
|
|
286
|
+
);
|
|
287
|
+
L.displayName = "Dialog.Body";
|
|
288
|
+
const P = u(({ className: e, ...t }, o) => /* @__PURE__ */ n(
|
|
289
|
+
l.Title,
|
|
290
|
+
{
|
|
291
|
+
ref: o,
|
|
292
|
+
className: ["ds-dialog__title type-title-card ds:break-words", e].filter(Boolean).join(" "),
|
|
293
|
+
...t
|
|
294
|
+
}
|
|
295
|
+
));
|
|
296
|
+
P.displayName = "Dialog.Title";
|
|
297
|
+
const V = u(({ className: e, ...t }, o) => /* @__PURE__ */ n(
|
|
298
|
+
l.Description,
|
|
299
|
+
{
|
|
300
|
+
ref: o,
|
|
301
|
+
className: ["type-body-sm ds:text-[var(--muted-foreground)]", e].filter(Boolean).join(" "),
|
|
302
|
+
...t
|
|
303
|
+
}
|
|
304
|
+
));
|
|
305
|
+
V.displayName = "Dialog.Description";
|
|
306
|
+
const ce = k(
|
|
307
|
+
[
|
|
308
|
+
"ds:@container/dialog-footer",
|
|
309
|
+
"ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
|
|
310
|
+
"ds:@max-[384px]/dialog-footer:[&>*]:w-full",
|
|
311
|
+
"ds:mt-[var(--spacing-md)]"
|
|
312
|
+
].join(" "),
|
|
313
|
+
{
|
|
314
|
+
variants: {
|
|
315
|
+
divider: {
|
|
316
|
+
true: "ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-md)]",
|
|
317
|
+
false: ""
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
defaultVariants: { divider: !1 }
|
|
321
|
+
}
|
|
322
|
+
), z = u(
|
|
323
|
+
({ className: e, divider: t = !1, ...o }, a) => /* @__PURE__ */ n(
|
|
324
|
+
"div",
|
|
325
|
+
{
|
|
326
|
+
ref: a,
|
|
327
|
+
className: ce({ divider: t, className: e }),
|
|
328
|
+
...o
|
|
329
|
+
}
|
|
330
|
+
)
|
|
331
|
+
);
|
|
332
|
+
z.displayName = "Dialog.Footer";
|
|
333
|
+
const he = Object.assign(C, {
|
|
334
|
+
Root: C,
|
|
335
|
+
Trigger: M,
|
|
336
|
+
Content: w,
|
|
337
|
+
Header: F,
|
|
338
|
+
Title: P,
|
|
339
|
+
Description: V,
|
|
340
|
+
Body: L,
|
|
341
|
+
Footer: z,
|
|
342
|
+
Close: B
|
|
343
|
+
});
|
|
344
|
+
export {
|
|
345
|
+
he as D,
|
|
346
|
+
ie as d
|
|
347
|
+
};
|
|
348
|
+
//# sourceMappingURL=dialog-CIUn5oLb.js.map
|
|
@@ -3,11 +3,11 @@ import { forwardRef as j, useMemo as I, useState as q, useImperativeHandle as E,
|
|
|
3
3
|
import { c as $ } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as U } from "react-i18next";
|
|
5
5
|
import { B as b } from "./badge-BUk4RjTS.js";
|
|
6
|
-
import { C as B } from "./card-
|
|
6
|
+
import { C as B } from "./card-n6W6LW-N.js";
|
|
7
7
|
import { E as G } from "./empty-state-DwJ5YNzz.js";
|
|
8
8
|
import { P as Y } from "./panel-header-CbtlTe85.js";
|
|
9
9
|
import { P as J } from "./pdf-viewer-BnBKdx0y.js";
|
|
10
|
-
import { T as O, b as Q, c as X, a as Z } from "./tabs-
|
|
10
|
+
import { T as O, b as Q, c as X, a as Z } from "./tabs-P4qFmxk5.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { F as ie } from "./file-image-cDgE-BTy.js";
|
|
13
13
|
import { F as te } from "./file-text-5yv6r2ls.js";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
ue as D,
|
|
289
289
|
de as d
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=document-preview-
|
|
291
|
+
//# sourceMappingURL=document-preview-BWDTCEHI.js.map
|