@alfadocs/ui-kit 1.150.0 → 1.151.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/{address-autocomplete-_LeOFdM7.js → address-autocomplete-Bt1nwxyn.js} +2 -2
- package/dist/_chunks/{address-fields-C4khof4C.js → address-fields-COumFRSX.js} +2 -2
- package/dist/_chunks/{agenda-tray-NgxPuAAz.js → agenda-tray-CmfcYQhc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-D-RNe-_n.js → ai-summary-panel-DyAHCqaj.js} +2 -2
- package/dist/_chunks/{alia-sidebar-Bjuxk8mU.js → alia-sidebar-BqZjnVoF.js} +2 -2
- package/dist/_chunks/{anamnesis-card-G0qzw0Oi.js → anamnesis-card-CoiG7vDj.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js} +3 -3
- package/dist/_chunks/{app-frame-DUPEwu4E.js → app-frame-XEjLsLGY.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BO31ZFQp.js → appointment-details-panel.history-FSsTXj1t.js} +84 -71
- package/dist/_chunks/{appointment-details-panel.identity-C9kWtC6m.js → appointment-details-panel.identity-9hRo85Lx.js} +4 -4
- package/dist/_chunks/appointment-peek-CmQM4wvx.js +223 -0
- package/dist/_chunks/{appointment-timeline-ynFqcw0S.js → appointment-timeline-COfoHpoJ.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dx5VDREk.js → appointment-tray-BlKwDJKi.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DiyJQcmA.js → balance-badge-cell-OghXENKK.js} +3 -3
- package/dist/_chunks/{bill-line-table-B8Cc2pTH.js → bill-line-table-DxV5_Dmq.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BfoEpFVx.js → calendar-appointment-editor-dialog-BPAfWtm9.js} +337 -334
- package/dist/_chunks/{calendar-editor-discard-host-DO506cJu.js → calendar-editor-discard-host-BudLsUZO.js} +3 -3
- package/dist/_chunks/{calendar-waiting-list-panel-CyMTv2y3.js → calendar-waiting-list-panel-DukgSOPH.js} +7 -7
- package/dist/_chunks/{calendar-workspace.model-X3aXbDTo.js → calendar-workspace.model-BulUpy0I.js} +2 -2
- package/dist/_chunks/{calendar.sheets-C8x8kPb4.js → calendar.sheets-OmTiQdCg.js} +8 -8
- package/dist/_chunks/{calls-panel-Bpemmnpd.js → calls-panel-eohONLia.js} +3 -3
- package/dist/_chunks/code-BfU9G1ZM.js +15 -0
- package/dist/_chunks/{communications-panel-Cd0TBEhL.js → communications-panel-CqiFs8BH.js} +3 -3
- package/dist/_chunks/{connection-status-Bi6KPTlh.js → connection-status-C13KmOPL.js} +2 -2
- package/dist/_chunks/control-room-rail-BmpTKtL1.js +456 -0
- package/dist/_chunks/{data-grid-CkzbCZSo.js → data-grid-DTAwrOiq.js} +3 -3
- package/dist/_chunks/{data-table-DFAYYsSc.js → data-table-CgpHO6EZ.js} +2 -2
- package/dist/_chunks/{default-tabs-C45FVzsG.js → default-tabs-CZaDDf1G.js} +4 -4
- package/dist/_chunks/{description-list-DA4TgL_I.js → description-list-DaldSpGy.js} +29 -26
- package/dist/_chunks/dev-bypass-button-DFcNpCQj.js +24 -0
- package/dist/_chunks/{document-preview-Zws6CHhK.js → document-preview-TbwhY_eK.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-DXJI0fnU.js → editable-currency-cell-renderer-a3CrwNKm.js} +143 -168
- package/dist/_chunks/{empty-state-5REM7oDM.js → empty-state-qHtpcasr.js} +65 -77
- package/dist/_chunks/{error-boundary-BQ5mRqEd.js → error-boundary-BDS1XStO.js} +2 -2
- package/dist/_chunks/{error-page-CdNGIezW.js → error-page-3gWV-Vmj.js} +2 -2
- package/dist/_chunks/{error-page-illustration-BdJLuMdV.js → error-page-illustration-CJCjLk_-.js} +125 -149
- package/dist/_chunks/{face-scheme-BC2whb1S.js → face-scheme-DRYGaszs.js} +255 -264
- package/dist/_chunks/{feature-preview-switch-PKeLaFry.js → feature-preview-switch-B_8JTya_.js} +2 -2
- package/dist/_chunks/{file-manager-DzOCQBAO.js → file-manager-DMvYx-Gq.js} +4 -4
- package/dist/_chunks/{folder-CH9PJHou.js → folder-DvNxod7_.js} +3 -3
- package/dist/_chunks/{heatmap-DvsZ-mcL.js → heatmap-BZNkPkDD.js} +4 -4
- package/dist/_chunks/{help-me-write-templates-B_wMJ82X.js → help-me-write-templates-VnvlK87x.js} +2 -2
- package/dist/_chunks/{info-tip-cCppV1fD.js → info-tip-DkVISvo-.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-BReimsvV.js → invoice-upload-list-DutydbjC.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-CWLArl5e.js → link-cell-renderer-DTunki79.js} +3 -3
- package/dist/_chunks/{login-dev-card-DqUNJcd7.js → login-dev-card-CQz9yhrU.js} +2 -2
- package/dist/_chunks/{map-view-n6GiDRWM.js → map-view-B67HXWPR.js} +2 -2
- package/dist/_chunks/mark-adrift-LBqHvZwv.js +42 -0
- package/dist/_chunks/{marketplace-app-shell-CGA-R-zt.js → marketplace-app-shell-CclaaAvb.js} +3 -3
- package/dist/_chunks/{message-tray-Dx2HPcKB.js → message-tray-DysT-DPS.js} +2 -2
- package/dist/_chunks/{note-timeline-BbjHMhkL.js → note-timeline-CS5j2OKD.js} +86 -77
- package/dist/_chunks/notebook-text-spVSekMN.js +21 -0
- package/dist/_chunks/{notes-panel-BguRX8VC.js → notes-panel-d0I3hOEY.js} +162 -173
- package/dist/_chunks/{notification-tray-BnC5OItw.js → notification-tray-CjGDlwLg.js} +2 -2
- package/dist/_chunks/{optical-prescription-BzGnlIjq.js → optical-prescription-CAnXavjq.js} +2 -2
- package/dist/_chunks/panel-right-CnMHSvLU.js +15 -0
- package/dist/_chunks/{panel-subview-Om_yZvFG.js → panel-subview-B5hnQwfQ.js} +2 -2
- package/dist/_chunks/{patient-account-settings-YKnBzmwE.js → patient-account-settings-DQx_9CYV.js} +3 -3
- package/dist/_chunks/{patient-check-in-resume-DERfQbp5.js → patient-check-in-resume-BOHcm9hT.js} +5 -5
- package/dist/_chunks/{patient-details-BUD0UbmT.js → patient-details-wFIzTz7N.js} +3 -3
- package/dist/_chunks/{patient-field-row-DytaHdGw.js → patient-field-row-BDgfYLgz.js} +2 -2
- package/dist/_chunks/{patient-summary-card-7Werxl48.js → patient-summary-card-ZunOre3Q.js} +162 -155
- package/dist/_chunks/{payment-request-card-BF3rakTQ.js → payment-request-card-BSSfKrcc.js} +2 -2
- package/dist/_chunks/{portal-details-C1QQGPQf.js → portal-details-R-lwrisO.js} +4 -4
- package/dist/_chunks/{portal-documents-CzEuCaqv.js → portal-documents-C6XlWpEl.js} +3 -3
- package/dist/_chunks/{portal-parts-BMW4t57s.js → portal-parts-DlvSUZFX.js} +2 -2
- package/dist/_chunks/{practice-results-D0TAgL8v.js → practice-results-CqoB5YAv.js} +5 -5
- package/dist/_chunks/{prescription-history-CQuJmd4H.js → prescription-history-CxBM3gnm.js} +4 -4
- package/dist/_chunks/{privacy-mask-CrjD5PYW.js → privacy-mask-CaLBAxzj.js} +2 -2
- package/dist/_chunks/{product-hub-panel-NVpRuJeW.js → product-hub-panel-RJzrDcGp.js} +3 -3
- package/dist/_chunks/{public-header.agent-Dzo6ujrE.js → public-header.agent-B2CqVq4s.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-Kl1M0dtT.js → radiograph-panel.agent-kgCmmgZk.js} +2 -2
- package/dist/_chunks/{registration-form-AtRCt8n5.js → registration-form-Dbe1sFZb.js} +2 -2
- package/dist/_chunks/{registry-connection-panel-kdKbGQE6.js → registry-connection-panel-BkPPA3Fj.js} +3 -3
- package/dist/_chunks/{reserved.agent-CW0frsMv.js → reserved.agent-C-sMq0pb.js} +4 -4
- package/dist/_chunks/{reviews-panel-54AFY6uy.js → reviews-panel-jIz5aP2X.js} +3 -3
- package/dist/_chunks/rich-text-editor-DTadvKa7.js +4716 -0
- package/dist/_chunks/{scroll-area-CY5SLYNw.js → scroll-area-RQtcKkHf.js} +84 -79
- package/dist/_chunks/{sheet-CZDjW9Q-.js → sheet-1LXzej6Q.js} +2 -2
- package/dist/_chunks/{sidebar-D5DFYN5K.js → sidebar-BV9JCgS4.js} +2 -2
- package/dist/_chunks/{signed-out-frame-CC25CgKo.js → signed-out-frame-CKA8SSbU.js} +2 -2
- package/dist/_chunks/{signing-end-screen-Bq6tkFE6.js → signing-end-screen-HXkalppf.js} +2 -2
- package/dist/_chunks/{slot-grid-khIpy8Gx.js → slot-grid-DdqeF6PW.js} +2 -2
- package/dist/_chunks/{sync-tray-BQD-HuA4.js → sync-tray-CSVGzuur.js} +2 -2
- package/dist/_chunks/{task-editor-CIHQQRtP.js → task-editor-aXjGMwYA.js} +4 -4
- package/dist/_chunks/{task-tray-CxxcGGgx.js → task-tray-C48Vq8nt.js} +2 -2
- package/dist/_chunks/{tasks-panel-Bc_odkQN.js → tasks-panel-BdxHb-fX.js} +2 -2
- package/dist/_chunks/{tool-rail-CJBtqzMs.js → tool-rail-B4p6MmxA.js} +253 -250
- package/dist/_chunks/{toolbar-B9oh9XY9.js → toolbar-B2JJ_XDT.js} +2 -2
- package/dist/_chunks/tooth-chip-DOv925IH.js +41 -0
- package/dist/_chunks/{treatment-receipt-B6m47Jie.js → treatment-receipt-CZQV1NkJ.js} +45 -46
- package/dist/_chunks/{use-appointment-details-read-HVHbR0Zl.js → use-appointment-details-read-BR3TQOHx.js} +878 -809
- package/dist/_chunks/user-round-DZxRG9zq.js +15 -0
- package/dist/_chunks/{week-availability-D0tTll4q.js → week-availability-D00rMjsX.js} +2 -2
- package/dist/_chunks/{workflow-map-F7OThorL.js → workflow-map-DLUTUZ27.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/appointment-editor-panel/index.js +3 -3
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +1 -1
- package/dist/components/_shared/mark-adrift.d.ts +12 -0
- package/dist/components/_shared/safe-html.d.ts +6 -0
- package/dist/components/_shared/tooth-chip.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +9 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +9 -2
- package/dist/components/appointment-details-panel/description-length.d.ts +18 -0
- package/dist/components/appointment-details-panel/index.d.ts +1 -0
- package/dist/components/appointment-details-panel/index.js +7 -6
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/control-room-rail/control-room-rail.d.ts +24 -0
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-table/index.js +3 -3
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/feature-preview-switch/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/note-timeline/note-timeline.d.ts +8 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +18 -7
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/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/practice-results/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/registry-connection-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +16 -6
- package/dist/components/rich-text-editor/index.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/link-bar.d.ts +8 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +25 -3
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/scroll-area/scroll-area.d.ts +6 -0
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +11 -0
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +6 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/host-legacy.css +13 -1
- package/dist/i18n/locales/ar.d.ts +9 -0
- package/dist/i18n/locales/ar.js +11 -2
- package/dist/i18n/locales/de.d.ts +9 -0
- package/dist/i18n/locales/de.js +11 -2
- package/dist/i18n/locales/el.d.ts +9 -0
- package/dist/i18n/locales/el.js +11 -2
- package/dist/i18n/locales/en.d.ts +9 -0
- package/dist/i18n/locales/en.js +10 -1
- package/dist/i18n/locales/es.d.ts +9 -0
- package/dist/i18n/locales/es.js +11 -2
- package/dist/i18n/locales/fr.d.ts +9 -0
- package/dist/i18n/locales/fr.js +11 -2
- package/dist/i18n/locales/hi.d.ts +9 -0
- package/dist/i18n/locales/hi.js +11 -2
- package/dist/i18n/locales/it.d.ts +9 -0
- package/dist/i18n/locales/it.js +11 -2
- package/dist/i18n/locales/ja.d.ts +9 -0
- package/dist/i18n/locales/ja.js +11 -2
- package/dist/i18n/locales/nl.d.ts +9 -0
- package/dist/i18n/locales/nl.js +11 -2
- package/dist/i18n/locales/pl.d.ts +9 -0
- package/dist/i18n/locales/pl.js +11 -2
- package/dist/i18n/locales/pt.d.ts +9 -0
- package/dist/i18n/locales/pt.js +11 -2
- package/dist/i18n/locales/ro.d.ts +9 -0
- package/dist/i18n/locales/ro.js +11 -2
- package/dist/i18n/locales/ru.d.ts +9 -0
- package/dist/i18n/locales/ru.js +11 -2
- package/dist/i18n/locales/sq.d.ts +9 -0
- package/dist/i18n/locales/sq.js +11 -2
- package/dist/i18n/locales/sv.d.ts +9 -0
- package/dist/i18n/locales/sv.js +11 -2
- package/dist/i18n/locales/tr.d.ts +9 -0
- package/dist/i18n/locales/tr.js +11 -2
- package/dist/i18n/locales/zh.d.ts +9 -0
- package/dist/i18n/locales/zh.js +11 -2
- package/dist/index.js +817 -816
- package/dist/locales/ar.json +11 -2
- package/dist/locales/de.json +11 -2
- package/dist/locales/el.json +11 -2
- package/dist/locales/en.json +10 -1
- package/dist/locales/es.json +11 -2
- package/dist/locales/fr.json +11 -2
- package/dist/locales/hi.json +11 -2
- package/dist/locales/it.json +11 -2
- package/dist/locales/ja.json +11 -2
- package/dist/locales/nl.json +11 -2
- package/dist/locales/pl.json +11 -2
- package/dist/locales/pt.json +11 -2
- package/dist/locales/ro.json +11 -2
- package/dist/locales/ru.json +11 -2
- package/dist/locales/sq.json +11 -2
- package/dist/locales/sv.json +11 -2
- package/dist/locales/tr.json +11 -2
- package/dist/locales/zh.json +11 -2
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/error-page/index.js +2 -2
- 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/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/redactor.css +9 -0
- package/dist/safe-html/index.js +33 -19
- package/dist/tokens.css +61 -52
- package/dist/waiting-list-panel/index.js +3 -3
- package/package.json +1 -1
- package/dist/_chunks/appointment-peek-CGJ6kUvM.js +0 -213
- package/dist/_chunks/control-room-rail-4W1MFY-g.js +0 -416
- package/dist/_chunks/dev-bypass-button-BzfYGPuf.js +0 -33
- package/dist/_chunks/rich-text-editor-DCQEpaIv.js +0 -4523
- /package/dist/{patterns → components}/_shared/mark-pieces.d.ts +0 -0
|
@@ -3,7 +3,7 @@ import { forwardRef as Ne, useRef as _, useMemo as le, useId as Pe, useState as
|
|
|
3
3
|
import { c as G } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as fe } from "react-i18next";
|
|
5
5
|
import { M as Fe, A as Ve, u as Be } from "./maps-core-gate-CP8SEHH1.js";
|
|
6
|
-
import { E as De } from "./error-boundary-
|
|
6
|
+
import { E as De } from "./error-boundary-BDS1XStO.js";
|
|
7
7
|
import { u as Me, a as Se } from "./form-field-context-DtiROUJV.js";
|
|
8
8
|
import { c as Ue } from "./compose-refs-C0k0tdqF.js";
|
|
9
9
|
import { u as $e } from "./use-controllable-state-BiY4xTzM.js";
|
|
@@ -516,4 +516,4 @@ export {
|
|
|
516
516
|
Le as a,
|
|
517
517
|
ue as p
|
|
518
518
|
};
|
|
519
|
-
//# sourceMappingURL=address-autocomplete-
|
|
519
|
+
//# sourceMappingURL=address-autocomplete-Bt1nwxyn.js.map
|
|
@@ -8,7 +8,7 @@ import { P as W } from "./postal-code-input-dJdSAVkP.js";
|
|
|
8
8
|
import { C as Y } from "./city-input-DARVDJhH.js";
|
|
9
9
|
import { T as z } from "./text-input-B6iAgCr3.js";
|
|
10
10
|
import { F as y } from "./form-field-CyHfOVKF.js";
|
|
11
|
-
import { A as G } from "./address-autocomplete-
|
|
11
|
+
import { A as G } from "./address-autocomplete-Bt1nwxyn.js";
|
|
12
12
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
13
13
|
const Q = {
|
|
14
14
|
street: { type: "string" },
|
|
@@ -295,4 +295,4 @@ export {
|
|
|
295
295
|
te as A,
|
|
296
296
|
X as a
|
|
297
297
|
};
|
|
298
|
-
//# sourceMappingURL=address-fields-
|
|
298
|
+
//# sourceMappingURL=address-fields-COumFRSX.js.map
|
|
@@ -4,7 +4,7 @@ import { c as H } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
5
|
import { I as M } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { S as A } from "./skeleton-tTWJpvAq.js";
|
|
7
|
-
import { E as D } from "./empty-state-
|
|
7
|
+
import { E as D } from "./empty-state-qHtpcasr.js";
|
|
8
8
|
import { A as V } from "./agenda-card-B9wgX_Ed.js";
|
|
9
9
|
import { u as F } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as G } from "./calendar-days-BGWklvE-.js";
|
|
@@ -212,4 +212,4 @@ export {
|
|
|
212
212
|
U as A,
|
|
213
213
|
L as a
|
|
214
214
|
};
|
|
215
|
-
//# sourceMappingURL=agenda-tray-
|
|
215
|
+
//# sourceMappingURL=agenda-tray-CmfcYQhc.js.map
|
|
@@ -11,7 +11,7 @@ import { A as Et } from "./avatar-Dp5apm1d.js";
|
|
|
11
11
|
import { B as Qe } from "./badge-BUk4RjTS.js";
|
|
12
12
|
import { B as ue } from "./button-Dp4j9ygh.js";
|
|
13
13
|
import { I as Rt } from "./icon-button-u9VMQn3x.js";
|
|
14
|
-
import { E as b } from "./empty-state-
|
|
14
|
+
import { E as b } from "./empty-state-qHtpcasr.js";
|
|
15
15
|
import { E as Ct } from "./entity-summary-BNnTP1F6.js";
|
|
16
16
|
import { L as rt } from "./link-CeV7FoI6.js";
|
|
17
17
|
import { P as Xe } from "./panel-header-DTc5OFUg.js";
|
|
@@ -1042,4 +1042,4 @@ export {
|
|
|
1042
1042
|
Wt as A,
|
|
1043
1043
|
zt as a
|
|
1044
1044
|
};
|
|
1045
|
-
//# sourceMappingURL=ai-summary-panel-
|
|
1045
|
+
//# sourceMappingURL=ai-summary-panel-DyAHCqaj.js.map
|
|
@@ -4,7 +4,7 @@ import * as is from "@radix-ui/react-dialog";
|
|
|
4
4
|
import { useTranslation as w } from "react-i18next";
|
|
5
5
|
import { F as ds } from "./floating-action-button-BesoUmO_.js";
|
|
6
6
|
import { I as z } from "./icon-button-u9VMQn3x.js";
|
|
7
|
-
import { S as ee } from "./sheet-
|
|
7
|
+
import { S as ee } from "./sheet-1LXzej6Q.js";
|
|
8
8
|
import { X as Ie } from "./x-B5YnXwCz.js";
|
|
9
9
|
import { A as ls } from "./astroid-BN4f5VXU.js";
|
|
10
10
|
import { AliaAsteroidIcon as he } from "../alia-asteroid-icon/index.js";
|
|
@@ -1320,4 +1320,4 @@ export {
|
|
|
1320
1320
|
Ks as b,
|
|
1321
1321
|
Gs as c
|
|
1322
1322
|
};
|
|
1323
|
-
//# sourceMappingURL=alia-sidebar-
|
|
1323
|
+
//# sourceMappingURL=alia-sidebar-BqZjnVoF.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as q } from "react-i18next";
|
|
|
5
5
|
import { B as n } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as N } from "./card-n6W6LW-N.js";
|
|
7
7
|
import { A as z, b as G, c as Q, a as S } from "./accordion-Ch3xp0mX.js";
|
|
8
|
-
import { D as t } from "./description-list-
|
|
8
|
+
import { D as t } from "./description-list-DaldSpGy.js";
|
|
9
9
|
import { T as y } from "./timestamp-UMF1llBs.js";
|
|
10
10
|
import { T as w } from "./triangle-alert-CBnO6nq_.js";
|
|
11
11
|
const H = R("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
@@ -154,4 +154,4 @@ J.displayName = "AnamnesisCard";
|
|
|
154
154
|
export {
|
|
155
155
|
J as A
|
|
156
156
|
};
|
|
157
|
-
//# sourceMappingURL=anamnesis-card-
|
|
157
|
+
//# sourceMappingURL=anamnesis-card-CoiG7vDj.js.map
|
package/dist/_chunks/{anamnesis-summary-rows-CE-i9j-s.js → anamnesis-summary-rows-CFpaA1GP.js}
RENAMED
|
@@ -5,7 +5,7 @@ import { B as ie } from "./button-Dp4j9ygh.js";
|
|
|
5
5
|
import { I as de } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { C as le } from "./card-n6W6LW-N.js";
|
|
7
7
|
import { C as Zt, b as Yt, a as Jt } from "./collapsible-DVPM46bq.js";
|
|
8
|
-
import { E as Xe } from "./empty-state-
|
|
8
|
+
import { E as Xe } from "./empty-state-qHtpcasr.js";
|
|
9
9
|
import { F as M } from "./form-field-CyHfOVKF.js";
|
|
10
10
|
import { M as ln } from "./multi-select-DeMiHm8T.js";
|
|
11
11
|
import { N as ga } from "./number-input-Bi5Yk6PX.js";
|
|
@@ -18,7 +18,7 @@ import { S as te } from "./state-backed-text-input-DVETOhSS.js";
|
|
|
18
18
|
import { T as Ze } from "./timestamp-UMF1llBs.js";
|
|
19
19
|
import { D as sn } from "./date-picker-CD-PBzXM.js";
|
|
20
20
|
import { A as Ue } from "./alert-C4WKViaS.js";
|
|
21
|
-
import { D as L } from "./description-list-
|
|
21
|
+
import { D as L } from "./description-list-DaldSpGy.js";
|
|
22
22
|
import { c as Xt } from "./index-D2ZczOXr.js";
|
|
23
23
|
import { S as dn } from "./sparkline-SnniCoCl.js";
|
|
24
24
|
import { A as ei, a as ai } from "./arrow-up-BYvcvTkB.js";
|
|
@@ -20936,4 +20936,4 @@ export {
|
|
|
20936
20936
|
Vi as t,
|
|
20937
20937
|
od as u
|
|
20938
20938
|
};
|
|
20939
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
20939
|
+
//# sourceMappingURL=anamnesis-summary-rows-CFpaA1GP.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as V, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I, useRef as a, useState as c, useEffect as U, useCallback as Y, useMemo as q } from "react";
|
|
3
3
|
import { c as s } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as D } from "react-i18next";
|
|
5
|
-
import { S as G } from "./scroll-area-
|
|
5
|
+
import { S as G } from "./scroll-area-RQtcKkHf.js";
|
|
6
6
|
import { u as J } from "./use-media-query-CcAx5SMM.js";
|
|
7
7
|
import { u as j } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
8
8
|
import { A as K } from "./app-frame-context-CPszhDDb.js";
|
|
@@ -176,4 +176,4 @@ ne.displayName = "AppFrame";
|
|
|
176
176
|
export {
|
|
177
177
|
ne as A
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=app-frame-
|
|
179
|
+
//# sourceMappingURL=app-frame-XEjLsLGY.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as O } from "./createLucideIcon-DhHxpK9K.js";
|
|
2
2
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { s as
|
|
5
|
-
import { E as $ } from "./empty-state-
|
|
3
|
+
import { useTranslation as F } from "react-i18next";
|
|
4
|
+
import { s as E, D as P } from "./appointment-details-panel.identity-9hRo85Lx.js";
|
|
5
|
+
import { E as $ } from "./empty-state-qHtpcasr.js";
|
|
6
6
|
import { T as y } from "./timeline-BzGi_3GQ.js";
|
|
7
7
|
import { a as L } from "./workflow-status-Cg7yjnye.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import { T as
|
|
8
|
+
import { u as R } from "./appointment-workflow-status-S-lx81Yz.js";
|
|
9
|
+
import { C as W } from "./calendar-clock-hbObjfGY.js";
|
|
10
|
+
import { T as j } from "./trash-2-uumy3fy1.js";
|
|
11
11
|
import { A as z } from "./entity-card-p-LANpYt.js";
|
|
12
12
|
import { C as B } from "./copy-vRpqqHtY.js";
|
|
13
13
|
import { C as H } from "./calendar-plus-BFrIRE4r.js";
|
|
14
14
|
import { P as k } from "./pencil-B1sKKyuT.js";
|
|
15
|
-
import { C as
|
|
15
|
+
import { C as T } from "./clock-Drd4Wtis.js";
|
|
16
16
|
import { A as G } from "./arrow-right-KsIrLdt0.js";
|
|
17
17
|
/**
|
|
18
18
|
* @license lucide-react v1.22.0 - ISC
|
|
@@ -20,60 +20,66 @@ import { A as G } from "./arrow-right-KsIrLdt0.js";
|
|
|
20
20
|
* This source code is licensed under the ISC license.
|
|
21
21
|
* See the LICENSE file in the root directory of this source tree.
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const Y = [
|
|
24
24
|
["path", { d: "M11 14h10", key: "1w8e9d" }],
|
|
25
25
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v1.344", key: "1e62lh" }],
|
|
26
26
|
["path", { d: "m17 18 4-4-4-4", key: "z2g111" }],
|
|
27
27
|
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113", key: "bjbb7m" }],
|
|
28
28
|
["rect", { x: "8", y: "2", width: "8", height: "4", rx: "1", key: "ublpy" }]
|
|
29
|
-
],
|
|
29
|
+
], pt = O("clipboard-paste", Y);
|
|
30
30
|
/**
|
|
31
31
|
* @license lucide-react v1.22.0 - ISC
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the ISC license.
|
|
34
34
|
* See the LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
const
|
|
36
|
+
const K = [
|
|
37
37
|
["path", { d: "M12 2v20", key: "t6zp3m" }],
|
|
38
38
|
["path", { d: "m15 19-3 3-3-3", key: "11eu04" }],
|
|
39
39
|
["path", { d: "m19 9 3 3-3 3", key: "1mg7y2" }],
|
|
40
40
|
["path", { d: "M2 12h20", key: "9i4pu4" }],
|
|
41
41
|
["path", { d: "m5 9-3 3 3 3", key: "j64kie" }],
|
|
42
42
|
["path", { d: "m9 5 3-3 3 3", key: "l8vdw6" }]
|
|
43
|
-
],
|
|
44
|
-
|
|
43
|
+
], x = O("move", K), U = {
|
|
44
|
+
day: "numeric",
|
|
45
|
+
month: "short",
|
|
46
|
+
year: "numeric",
|
|
47
|
+
hour: "2-digit",
|
|
48
|
+
minute: "2-digit"
|
|
49
|
+
}, s = (o) => `calendarWorkspace.details.${o}`, V = /* @__PURE__ */ new Set(["patient", "care"]), S = /^#?(?:[0-9a-f]{3}|[0-9a-f]{6}|[0-9a-f]{8})$/i, X = (o) => {
|
|
50
|
+
switch (o.field) {
|
|
45
51
|
case "time":
|
|
46
|
-
return !!(
|
|
52
|
+
return !!(o.fromIso || o.toIso);
|
|
47
53
|
case "duration":
|
|
48
|
-
return
|
|
54
|
+
return o.fromMin !== void 0 || o.toMin !== void 0;
|
|
49
55
|
default:
|
|
50
|
-
return !!(
|
|
56
|
+
return !!(o.from || o.to);
|
|
51
57
|
}
|
|
52
58
|
};
|
|
53
|
-
function
|
|
54
|
-
const f =
|
|
55
|
-
|
|
56
|
-
),
|
|
59
|
+
function q(o) {
|
|
60
|
+
const f = o.kind === "moved" ? [{ field: "time", fromIso: o.fromIso, toIso: o.toIso }] : o.kind === "resized" ? [{ field: "duration", fromMin: o.fromMin, toMin: o.toMin }] : o.kind === "status" ? [{ field: "status", from: o.from, to: o.to }] : [], w = ("changes" in o ? o.changes ?? [] : []).filter(
|
|
61
|
+
X
|
|
62
|
+
), i = new Set(f.map((p) => p.field));
|
|
57
63
|
return [
|
|
58
64
|
...f,
|
|
59
|
-
...w.filter((p) =>
|
|
65
|
+
...w.filter((p) => i.has(p.field) ? !1 : (i.add(p.field), !0))
|
|
60
66
|
];
|
|
61
67
|
}
|
|
62
|
-
const
|
|
63
|
-
function
|
|
64
|
-
history:
|
|
68
|
+
const J = (o, f) => o.getFullYear() === f.getFullYear() && o.getMonth() === f.getMonth() && o.getDate() === f.getDate();
|
|
69
|
+
function ht({
|
|
70
|
+
history: o,
|
|
65
71
|
locale: f,
|
|
66
72
|
privacy: w = !1
|
|
67
73
|
}) {
|
|
68
|
-
const { t:
|
|
74
|
+
const { t: i, i18n: p } = F("ui"), { optionFor: I } = R(null), M = f ?? p.language, b = (t, d) => {
|
|
69
75
|
try {
|
|
70
|
-
return new Intl.DateTimeFormat(
|
|
76
|
+
return new Intl.DateTimeFormat(M, d).format(
|
|
71
77
|
new Date(t)
|
|
72
78
|
);
|
|
73
79
|
} catch {
|
|
74
80
|
return t;
|
|
75
81
|
}
|
|
76
|
-
}, N = (t) =>
|
|
82
|
+
}, N = (t) => b(t, P), g = i(s("history.notSet")), C = (t) => {
|
|
77
83
|
switch (t.field) {
|
|
78
84
|
case "status":
|
|
79
85
|
return {
|
|
@@ -81,7 +87,7 @@ function pt({
|
|
|
81
87
|
to: t.to && I(t.to).label
|
|
82
88
|
};
|
|
83
89
|
case "time": {
|
|
84
|
-
const d = t.fromIso && new Date(t.fromIso), a = t.toIso && new Date(t.toIso), l = d && a &&
|
|
90
|
+
const d = t.fromIso && new Date(t.fromIso), a = t.toIso && new Date(t.toIso), l = d && a && J(d, a) ? b(t.toIso, {
|
|
85
91
|
hour: "2-digit",
|
|
86
92
|
minute: "2-digit"
|
|
87
93
|
}) : void 0;
|
|
@@ -92,18 +98,18 @@ function pt({
|
|
|
92
98
|
}
|
|
93
99
|
case "duration":
|
|
94
100
|
return {
|
|
95
|
-
from: t.fromMin === void 0 ? void 0 :
|
|
96
|
-
to: t.toMin === void 0 ? void 0 :
|
|
101
|
+
from: t.fromMin === void 0 ? void 0 : i(s("history.minutes"), { n: t.fromMin }),
|
|
102
|
+
to: t.toMin === void 0 ? void 0 : i(s("history.minutes"), { n: t.toMin })
|
|
97
103
|
};
|
|
98
104
|
default:
|
|
99
105
|
return { from: t.from || void 0, to: t.to || void 0 };
|
|
100
106
|
}
|
|
101
|
-
},
|
|
102
|
-
const d =
|
|
103
|
-
return t.field === "colour" && [a, l].some((u) => u && S.test(u)) ?
|
|
107
|
+
}, A = (t) => {
|
|
108
|
+
const d = i(s(`history.fields.${t.field}`)), { from: a, to: l } = C(t);
|
|
109
|
+
return t.field === "colour" && [a, l].some((u) => u && S.test(u)) ? i(s("history.changed.colour")) : a && !l ? i(s("history.changeCleared"), { field: d, from: a }) : !a && l ? i(s("history.changeSet"), { field: d, to: l }) : i(s("history.changeFromTo"), {
|
|
104
110
|
field: d,
|
|
105
|
-
from: a ??
|
|
106
|
-
to: l ??
|
|
111
|
+
from: a ?? g,
|
|
112
|
+
to: l ?? g
|
|
107
113
|
});
|
|
108
114
|
}, v = (t) => {
|
|
109
115
|
const d = (n, c) => n && t.field === "colour" && S.test(n) ? /* @__PURE__ */ e(
|
|
@@ -120,16 +126,16 @@ function pt({
|
|
|
120
126
|
className: c ? "ds:min-w-0 ds:font-[var(--font-weight-medium)] ds:text-[color:var(--foreground)]" : "ds:min-w-0 ds:text-[color:var(--muted-foreground)]",
|
|
121
127
|
children: n
|
|
122
128
|
}
|
|
123
|
-
) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:text-[color:var(--muted-foreground)]", children:
|
|
129
|
+
) : /* @__PURE__ */ e("span", { className: "ds:min-w-0 ds:text-[color:var(--muted-foreground)]", children: g }), a = (n) => n ? /* @__PURE__ */ e(
|
|
124
130
|
L,
|
|
125
131
|
{
|
|
126
132
|
value: n,
|
|
127
133
|
option: I(n),
|
|
128
134
|
size: "sm"
|
|
129
135
|
}
|
|
130
|
-
) : d(void 0, !1), { from: l, to: u } =
|
|
136
|
+
) : d(void 0, !1), { from: l, to: u } = C(t);
|
|
131
137
|
return /* @__PURE__ */ h("div", { className: "ds:min-w-0", "data-history-change": t.field, children: [
|
|
132
|
-
/* @__PURE__ */ e("span", { className: "ds:sr-only", children:
|
|
138
|
+
/* @__PURE__ */ e("span", { className: "ds:sr-only", children: A(t) }),
|
|
133
139
|
/* @__PURE__ */ h(
|
|
134
140
|
"div",
|
|
135
141
|
{
|
|
@@ -149,49 +155,56 @@ function pt({
|
|
|
149
155
|
}
|
|
150
156
|
)
|
|
151
157
|
] });
|
|
152
|
-
},
|
|
158
|
+
}, D = (t) => {
|
|
153
159
|
switch (t.kind) {
|
|
154
160
|
case "created":
|
|
155
161
|
return {
|
|
156
|
-
title:
|
|
162
|
+
title: i(s("history.created")),
|
|
157
163
|
type: "success",
|
|
158
|
-
icon: /* @__PURE__ */ e(H, { size: 16, "aria-hidden": "true" })
|
|
164
|
+
icon: /* @__PURE__ */ e(H, { size: 16, "aria-hidden": "true" }),
|
|
165
|
+
/* A copy still begins with "Created": the line under it says
|
|
166
|
+
which appointment it is a copy of. */
|
|
167
|
+
detail: t.copiedFromIso ? /* @__PURE__ */ e("span", { "data-history-copy-of": "", children: i(s("history.copyOf"), {
|
|
168
|
+
/* With the year: a copy can be of an appointment from
|
|
169
|
+
another year, as a yearly recall is. */
|
|
170
|
+
date: b(t.copiedFromIso, U)
|
|
171
|
+
}) }) : void 0
|
|
159
172
|
};
|
|
160
173
|
case "copied":
|
|
161
174
|
return {
|
|
162
|
-
title:
|
|
163
|
-
type: "
|
|
175
|
+
title: i(s("history.copied")),
|
|
176
|
+
type: "info",
|
|
164
177
|
icon: /* @__PURE__ */ e(B, { size: 16, "aria-hidden": "true" })
|
|
165
178
|
};
|
|
166
179
|
case "confirmedByPatient": {
|
|
167
180
|
const r = z.confirmed.Icon;
|
|
168
181
|
return {
|
|
169
|
-
title:
|
|
182
|
+
title: i(s("history.confirmedByPatient")),
|
|
170
183
|
type: "success",
|
|
171
184
|
icon: /* @__PURE__ */ e(r, { size: 16, "aria-hidden": "true" })
|
|
172
185
|
};
|
|
173
186
|
}
|
|
174
187
|
case "deleted":
|
|
175
188
|
return {
|
|
176
|
-
title:
|
|
189
|
+
title: i(s("history.deleted")),
|
|
177
190
|
type: "error",
|
|
178
|
-
icon: /* @__PURE__ */ e(
|
|
191
|
+
icon: /* @__PURE__ */ e(j, { size: 16, "aria-hidden": "true" })
|
|
179
192
|
};
|
|
180
193
|
}
|
|
181
|
-
const d =
|
|
194
|
+
const d = q(t), a = w ? d.filter((r) => !V.has(r.field)) : d, l = new Set(a.map((r) => r.field)), u = [
|
|
182
195
|
...t.kind === "edited" ? t.fields : [],
|
|
183
196
|
...d.filter((r) => !l.has(r.field)).map((r) => r.field)
|
|
184
197
|
].filter(
|
|
185
198
|
(r, m, _) => r !== "status" && !l.has(r) && _.indexOf(r) === m
|
|
186
|
-
), n = u.length > 0 ?
|
|
187
|
-
fields: u.map((r) =>
|
|
199
|
+
), n = u.length > 0 ? i(s("history.editedDetail"), {
|
|
200
|
+
fields: u.map((r) => i(s(`history.fields.${r}`))).join(", ")
|
|
188
201
|
}) : void 0, [c] = a;
|
|
189
202
|
if (a.length === 1 && c && !n)
|
|
190
203
|
switch (c.field) {
|
|
191
204
|
case "status": {
|
|
192
205
|
const { to: r } = c, m = r ? z[r].Icon : k;
|
|
193
206
|
return {
|
|
194
|
-
title:
|
|
207
|
+
title: i(s("history.status")),
|
|
195
208
|
type: r === "cancelled" || r === "absent" ? "warning" : "neutral",
|
|
196
209
|
icon: /* @__PURE__ */ e(m, { size: 16, "aria-hidden": "true" }),
|
|
197
210
|
detail: v(c)
|
|
@@ -199,21 +212,21 @@ function pt({
|
|
|
199
212
|
}
|
|
200
213
|
case "time":
|
|
201
214
|
return {
|
|
202
|
-
title:
|
|
215
|
+
title: i(s("history.moved")),
|
|
203
216
|
type: "info",
|
|
204
|
-
icon: /* @__PURE__ */ e(
|
|
217
|
+
icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" }),
|
|
205
218
|
detail: v(c)
|
|
206
219
|
};
|
|
207
220
|
case "duration":
|
|
208
221
|
return {
|
|
209
|
-
title:
|
|
222
|
+
title: i(s("history.resized")),
|
|
210
223
|
type: "info",
|
|
211
|
-
icon: /* @__PURE__ */ e(
|
|
224
|
+
icon: /* @__PURE__ */ e(T, { size: 16, "aria-hidden": "true" }),
|
|
212
225
|
detail: v(c)
|
|
213
226
|
};
|
|
214
227
|
default:
|
|
215
228
|
return {
|
|
216
|
-
title:
|
|
229
|
+
title: i(s(`history.changed.${c.field}`)),
|
|
217
230
|
type: "neutral",
|
|
218
231
|
icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" }),
|
|
219
232
|
detail: v(c)
|
|
@@ -222,10 +235,10 @@ function pt({
|
|
|
222
235
|
if (a.length > 0) {
|
|
223
236
|
const r = t.kind === "moved" ? {
|
|
224
237
|
title: "history.moved",
|
|
225
|
-
icon: /* @__PURE__ */ e(
|
|
238
|
+
icon: /* @__PURE__ */ e(x, { size: 16, "aria-hidden": "true" })
|
|
226
239
|
} : t.kind === "resized" ? {
|
|
227
240
|
title: "history.resized",
|
|
228
|
-
icon: /* @__PURE__ */ e(
|
|
241
|
+
icon: /* @__PURE__ */ e(T, { size: 16, "aria-hidden": "true" })
|
|
229
242
|
} : t.kind === "status" ? {
|
|
230
243
|
title: "history.status",
|
|
231
244
|
icon: (() => {
|
|
@@ -237,17 +250,17 @@ function pt({
|
|
|
237
250
|
icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" })
|
|
238
251
|
};
|
|
239
252
|
return {
|
|
240
|
-
title:
|
|
253
|
+
title: i(s(r.title)),
|
|
241
254
|
type: t.kind === "moved" || t.kind === "resized" ? "info" : t.kind === "status" && (t.to === "cancelled" || t.to === "absent") ? "warning" : "neutral",
|
|
242
255
|
icon: r.icon,
|
|
243
256
|
detail: /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
244
257
|
/* @__PURE__ */ e(
|
|
245
258
|
"dl",
|
|
246
259
|
{
|
|
247
|
-
"aria-label":
|
|
260
|
+
"aria-label": i(s("history.changesLabel")),
|
|
248
261
|
className: "ds:m-0 ds:grid ds:grid-cols-[auto_minmax(0,1fr)] ds:items-baseline ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)]",
|
|
249
262
|
children: a.map((m) => /* @__PURE__ */ h("div", { className: "ds:contents", children: [
|
|
250
|
-
/* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children:
|
|
263
|
+
/* @__PURE__ */ e("dt", { className: "type-label ds:text-[color:var(--muted-foreground)]", children: i(s(`history.fields.${m.field}`)) }),
|
|
251
264
|
/* @__PURE__ */ e("dd", { className: "ds:m-0 ds:min-w-0", children: v(m) })
|
|
252
265
|
] }, m.field))
|
|
253
266
|
}
|
|
@@ -257,21 +270,21 @@ function pt({
|
|
|
257
270
|
};
|
|
258
271
|
}
|
|
259
272
|
return {
|
|
260
|
-
title:
|
|
273
|
+
title: i(s("history.edited")),
|
|
261
274
|
type: "neutral",
|
|
262
275
|
icon: /* @__PURE__ */ e(k, { size: 16, "aria-hidden": "true" }),
|
|
263
276
|
detail: n ?? void 0
|
|
264
277
|
};
|
|
265
278
|
};
|
|
266
|
-
return
|
|
279
|
+
return o.length === 0 ? /* @__PURE__ */ e(
|
|
267
280
|
$,
|
|
268
281
|
{
|
|
269
282
|
variant: "first-use",
|
|
270
283
|
size: "sm",
|
|
271
|
-
title:
|
|
284
|
+
title: i(s("historyEmpty"))
|
|
272
285
|
}
|
|
273
|
-
) : /* @__PURE__ */ e(y, { order: "newest-first", "aria-label":
|
|
274
|
-
const d =
|
|
286
|
+
) : /* @__PURE__ */ e(y, { order: "newest-first", "aria-label": i(s("historyTitle")), children: E(o).map((t) => {
|
|
287
|
+
const d = D(t);
|
|
275
288
|
return /* @__PURE__ */ h(
|
|
276
289
|
y.Event,
|
|
277
290
|
{
|
|
@@ -289,7 +302,7 @@ function pt({
|
|
|
289
302
|
actor: t.actor.trim() ? { name: t.actor } : void 0,
|
|
290
303
|
children: /* @__PURE__ */ h("span", { className: "ds:mt-[var(--spacing-sm)] ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
291
304
|
/* @__PURE__ */ e(
|
|
292
|
-
|
|
305
|
+
W,
|
|
293
306
|
{
|
|
294
307
|
"aria-hidden": "true",
|
|
295
308
|
className: "ds:size-4 ds:shrink-0 ds:text-[color:var(--muted-foreground)]"
|
|
@@ -300,7 +313,7 @@ function pt({
|
|
|
300
313
|
{
|
|
301
314
|
date: t.atIso,
|
|
302
315
|
relative: !1,
|
|
303
|
-
locale:
|
|
316
|
+
locale: M
|
|
304
317
|
}
|
|
305
318
|
)
|
|
306
319
|
] })
|
|
@@ -313,8 +326,8 @@ function pt({
|
|
|
313
326
|
}) });
|
|
314
327
|
}
|
|
315
328
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
329
|
+
ht as A,
|
|
330
|
+
pt as C,
|
|
331
|
+
x as M
|
|
319
332
|
};
|
|
320
|
-
//# sourceMappingURL=appointment-details-panel.history-
|
|
333
|
+
//# sourceMappingURL=appointment-details-panel.history-FSsTXj1t.js.map
|
|
@@ -226,10 +226,10 @@ export {
|
|
|
226
226
|
Y as e,
|
|
227
227
|
Z as f,
|
|
228
228
|
se as g,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
229
|
+
oe as h,
|
|
230
|
+
le as i,
|
|
231
|
+
X as j,
|
|
232
232
|
te as p,
|
|
233
233
|
ae as s
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=appointment-details-panel.identity-
|
|
235
|
+
//# sourceMappingURL=appointment-details-panel.identity-9hRo85Lx.js.map
|