@alfadocs/ui-kit 0.69.0 → 0.71.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-fields-CPbFJ8e8.js +246 -0
- package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
- package/dist/_chunks/{agenda-tray-g0kg7HwB.js → agenda-tray-CGXRk58j.js} +2 -2
- package/dist/_chunks/{ai-consent-banner-CXlsNX1c.js → ai-consent-banner-Be-h9mRI.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-CuhTo9mh.js → ai-prompt-input-V4DdOeqv.js} +2 -2
- package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
- package/dist/_chunks/{alia-sidebar-B47qRQb5.js → alia-sidebar-DvIUzIX9.js} +107 -106
- package/dist/_chunks/{anamnesis-card-DRmE24OQ.js → anamnesis-card-DvYCa16e.js} +2 -2
- package/dist/_chunks/anatomy-scheme-CXSk11UJ.js +2445 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
- package/dist/_chunks/{app-frame-BYx1gcV7.js → app-frame-DIEMIC5V.js} +67 -56
- package/dist/_chunks/appointment-card-DVaeJNVB.js +294 -0
- package/dist/_chunks/appointment-timeline-PJgnrjFb.js +388 -0
- package/dist/_chunks/appointment-tray-B16QPGbm.js +193 -0
- package/dist/_chunks/{audio-recorder-DYXXnGug.js → audio-recorder-DNDsOLqO.js} +3 -3
- package/dist/_chunks/{autocomplete-DOeGouCL.js → autocomplete-BrONKN8l.js} +168 -146
- package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
- package/dist/_chunks/{bishop-score-PJI3AXzA.js → bishop-score-Cym_TeQY.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BZtIJ53x.js → bmi-calculator-zjeY4E7J.js} +2 -2
- package/dist/_chunks/{booking-C3VqFReX.js → booking-C7do4vaR.js} +7 -7
- package/dist/_chunks/{button-group-Ciq6J4IW.js → button-group-CvEnVzY7.js} +32 -35
- package/dist/_chunks/{care-plan-card-CvFGXa2z.js → care-plan-card-DzPDYgtK.js} +5 -5
- package/dist/_chunks/{care-plan-entry-card-C3E_gClk.js → care-plan-entry-card-CEnQy7YP.js} +5 -5
- package/dist/_chunks/care-plan-header-DcXFXWit.js +198 -0
- package/dist/_chunks/{chat-message-3V54YipB.js → chat-message-DzpcJR-q.js} +25 -23
- package/dist/_chunks/city-input-Dkgaak7I.js +169 -0
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
- package/dist/_chunks/clipboard-list-S7s-MXQq.js +25 -0
- package/dist/_chunks/{combobox-Clum7gJ1.js → combobox-DnqSF0IH.js} +131 -114
- package/dist/_chunks/connection-status-CY1HV8Wg.js +108 -0
- package/dist/_chunks/{contact-profile-card-Dramqa9C.js → contact-profile-card-DDPwRFiP.js} +2 -2
- package/dist/_chunks/control-room-rail-FAQZrGVL.js +333 -0
- package/dist/_chunks/country-select-BwUZQvTa.js +709 -0
- package/dist/_chunks/{cycle-calculator-DmRGJNaT.js → cycle-calculator-CCmPwcBl.js} +2 -2
- package/dist/_chunks/{dependent-selector-CG_FOHya.js → dependent-selector-DUV4thxX.js} +2 -2
- package/dist/_chunks/{document-scanner-CTubA0-N.js → document-scanner-C_AxLooF.js} +3 -3
- package/dist/_chunks/{due-date-calculator-BTmsIQqD.js → due-date-calculator-Brdj-euS.js} +3 -3
- package/dist/_chunks/editable-currency-cell-renderer-CGELrkIj.js +410 -0
- package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
- package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-DmrgYSEX.js} +38 -20
- package/dist/_chunks/entity-summary-CaM1Y-xE.js +291 -0
- package/dist/_chunks/{fetal-weight-CRz7KE2D.js → fetal-weight-DNCkyeVo.js} +2 -2
- package/dist/_chunks/field-array-siUZzfYe.js +146 -0
- package/dist/_chunks/field-value-3jMM0uDx.js +415 -0
- package/dist/_chunks/{file-upload-5ScQd4fE.js → file-upload-DwZcAK8D.js} +2 -1
- package/dist/_chunks/{freemium-paywall-DZ2mBS3w.js → freemium-paywall-WYlNO7yT.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-BleUdhbI.js → gestational-age-calculator-DKzEV5Qi.js} +4 -4
- package/dist/_chunks/hash-CysBBS_N.js +17 -0
- package/dist/_chunks/{hcg-doubling-CnjDXX6U.js → hcg-doubling-C7bmuaU3.js} +2 -2
- package/dist/_chunks/iban-input-B0TWzR1R.js +436 -0
- package/dist/_chunks/icon-picker-0B7KhrF1.js +272 -0
- package/dist/_chunks/image-cropper-D9jqJy19.js +367 -0
- package/dist/_chunks/{actions-cell-renderer-DrcaxB0w.js → link-cell-renderer-De_SLjSq.js} +792 -668
- package/dist/_chunks/list-checks-BUs75d_o.js +18 -0
- package/dist/_chunks/lock-CKOIn0IK.js +15 -0
- package/dist/_chunks/{marketplace-app-shell-6T9W4Knl.js → marketplace-app-shell-BGqkywsi.js} +5 -5
- package/dist/_chunks/message-card-DsHFFiL1.js +319 -0
- package/dist/_chunks/{message-tray-DwrBLJlf.js → message-tray-C0a6CL1_.js} +172 -135
- package/dist/_chunks/{multi-select-BdHHDrRN.js → multi-select-WE4S9FIF.js} +75 -63
- package/dist/_chunks/nav-grid-9xphY3FM.js +169 -0
- package/dist/_chunks/notes-panel-DXiMfuvp.js +320 -0
- package/dist/_chunks/notification-card-BMqNzCIt.js +290 -0
- package/dist/_chunks/{notification-tray-Btb9oQeZ.js → notification-tray-BmUlCx3g.js} +201 -166
- package/dist/_chunks/{operator-hero-CP2Nhupm.js → operator-hero-BO8TqzX2.js} +3 -3
- package/dist/_chunks/panel-header-D313n_9-.js +105 -0
- package/dist/_chunks/patient-details-DgfTJimE.js +759 -0
- package/dist/_chunks/{patient-search-CBC_ySF6.js → patient-search-CSWQKOSP.js} +3 -3
- package/dist/_chunks/{patient-shell-DV3XEtIB.js → patient-shell-BMwsIKlW.js} +3 -3
- package/dist/_chunks/patient-summary-card-D4NdgYJB.js +452 -0
- package/dist/_chunks/patient-table-CERknpd8.js +1110 -0
- package/dist/_chunks/{payment-form-DvjwYVIT.js → payment-form-CxqIXqw7.js} +2 -2
- package/dist/_chunks/{payment-request-card-DioWKBUq.js → payment-request-card-Blf-MFNY.js} +125 -136
- package/dist/_chunks/{pdf-viewer-D6BPfW2D.js → pdf-viewer-QfebdLOd.js} +192 -214
- package/dist/_chunks/{periodontal-chart-card-BuDEMbHE.js → periodontal-chart-card-hRRJY1NN.js} +2 -2
- package/dist/_chunks/permission-matrix-Bw5oexUt.js +174 -0
- package/dist/_chunks/position-grid-CcvqHaKN.js +169 -0
- package/dist/_chunks/postal-code-input-UCOYuRY2.js +192 -0
- package/dist/_chunks/{practice-results-KrTHqZua.js → practice-results-El5Z-oVp.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-DORUAOHB.js → pregnancy-dating-CunHrOpO.js} +4 -4
- package/dist/_chunks/{pregnancy-weight-gain-DVz4rr7-.js → pregnancy-weight-gain-BUNpTsH-.js} +2 -2
- package/dist/_chunks/{product-hub-panel-e6pW220e.js → product-hub-panel-DtU7KXxm.js} +257 -217
- package/dist/_chunks/province-select-D_TZvix3.js +261 -0
- package/dist/_chunks/{public-header.agent-DqkqA-ca.js → public-header.agent-TxmC_x1I.js} +2 -2
- package/dist/_chunks/radiograph-panel.agent-tWjN2nHX.js +553 -0
- package/dist/_chunks/reviews-panel-DxkSrgMl.js +559 -0
- package/dist/_chunks/rich-text-editor-C8tyGjfb.js +2621 -0
- package/dist/_chunks/{scroll-area-5wNK0Cyz.js → scroll-area-BZOvUhwQ.js} +2 -2
- package/dist/_chunks/{select-DMLG44F5.js → select-KsyRr8WH.js} +114 -102
- package/dist/_chunks/{sheet-BxsE7eQm.js → sheet-umkfZjF6.js} +53 -42
- package/dist/_chunks/{sidebar-DY9jGjgt.js → sidebar-QCp9wHNP.js} +125 -113
- package/dist/_chunks/{sign-document-B4DeRhTe.js → sign-document-By6hMOra.js} +2 -2
- package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
- package/dist/_chunks/{tabs-BxcOziCo.js → tabs-CYZVKKDl.js} +2 -2
- package/dist/_chunks/task-card-DCdsI0ZT.js +189 -0
- package/dist/_chunks/{task-tray-qOEQflu4.js → task-tray-DNVejijD.js} +2 -2
- package/dist/_chunks/tasks-panel-C9odmawT.js +757 -0
- package/dist/_chunks/token-insert-menu-CFQqTe_n.js +147 -0
- package/dist/_chunks/tool-rail-BZx0-yIr.js +524 -0
- package/dist/_chunks/tooth-scheme-DJZtzfeY.js +2133 -0
- package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
- package/dist/_chunks/{transcript-panel-3THQX6nJ.js → transcript-panel-CHGHHHdT.js} +95 -83
- package/dist/_chunks/{unit-converter-YEpD9evj.js → unit-converter-CwlZbfdn.js} +2 -2
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
- package/dist/_chunks/{warning-stack-BsgaEbL8.js → warning-stack--sTrrBDA.js} +86 -101
- package/dist/_chunks/{workflow-map-Bdam9pGp.js → workflow-map-M8MBBHQm.js} +107 -119
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
- package/dist/agent/index.js +5 -4
- package/dist/agent/types.d.ts +19 -2
- package/dist/agent-catalog.json +3325 -322
- package/dist/agent-i18n/en.json +314 -14
- package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/field-value.d.ts +21 -0
- package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
- package/dist/components/_shared/field-visibility.d.ts +36 -0
- package/dist/components/_shared/option.d.ts +2 -0
- package/dist/components/_shared/patient-fields.d.ts +119 -0
- package/dist/components/address-fields/address-fields.agent.d.ts +9 -0
- package/dist/components/address-fields/address-fields.d.ts +29 -0
- package/dist/components/address-fields/index.d.ts +5 -0
- package/dist/components/address-fields/index.js +6 -0
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
- package/dist/components/anatomy-scheme/index.d.ts +6 -0
- package/dist/components/anatomy-scheme/index.js +17 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
- package/dist/components/annotation-marker/index.d.ts +3 -0
- package/dist/components/annotation-marker/index.js +7 -0
- package/dist/components/app-frame/app-frame.d.ts +2 -2
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +25 -1
- package/dist/components/appointment-card/index.js +6 -5
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
- package/dist/components/appointment-timeline/index.d.ts +4 -0
- package/dist/components/appointment-timeline/index.js +6 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +10 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/badge/badge.d.ts +6 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/care-plan-header.agent.d.ts +4 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts +111 -0
- package/dist/components/care-plan-header/index.d.ts +4 -0
- package/dist/components/care-plan-header/index.js +6 -0
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/city-input/city-input.agent.d.ts +8 -0
- package/dist/components/city-input/city-input.d.ts +57 -0
- package/dist/components/city-input/index.d.ts +5 -0
- package/dist/components/city-input/index.js +6 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +17 -0
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/connection-status/connection-status.agent.d.ts +4 -0
- package/dist/components/connection-status/connection-status.d.ts +36 -0
- package/dist/components/connection-status/index.d.ts +4 -0
- package/dist/components/connection-status/index.js +6 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
- package/dist/components/control-room-rail/control-room-rail.agent.d.ts +4 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
- package/dist/components/control-room-rail/index.d.ts +6 -0
- package/dist/components/control-room-rail/index.js +10 -0
- package/dist/components/counter/counter.d.ts +1 -1
- package/dist/components/country-select/country-select.agent.d.ts +8 -0
- package/dist/components/country-select/country-select.d.ts +51 -0
- package/dist/components/country-select/index.d.ts +6 -0
- package/dist/components/country-select/index.js +9 -0
- package/dist/components/country-select/iso-3166.d.ts +15 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/reorder-cell-renderer.d.ts +34 -0
- package/dist/components/data-table/index.d.ts +3 -1
- package/dist/components/data-table/index.js +35 -32
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.agent.d.ts +4 -0
- package/dist/components/entity-summary/entity-summary.d.ts +92 -0
- package/dist/components/entity-summary/index.d.ts +3 -0
- package/dist/components/entity-summary/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/field-array.agent.d.ts +4 -0
- package/dist/components/field-array/field-array.d.ts +45 -0
- package/dist/components/field-array/index.d.ts +4 -0
- package/dist/components/field-array/index.js +6 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +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/iban-input/iban-input.agent.d.ts +4 -0
- package/dist/components/iban-input/iban-input.d.ts +51 -0
- package/dist/components/iban-input/index.d.ts +5 -0
- package/dist/components/iban-input/index.js +13 -0
- package/dist/components/iban-input/is-valid-iban.d.ts +31 -0
- package/dist/components/icon-picker/icon-picker.agent.d.ts +4 -0
- package/dist/components/icon-picker/icon-picker.d.ts +41 -0
- package/dist/components/icon-picker/index.d.ts +4 -0
- package/dist/components/icon-picker/index.js +6 -0
- package/dist/components/image-cropper/crop-geometry.d.ts +30 -0
- package/dist/components/image-cropper/image-cropper.agent.d.ts +4 -0
- package/dist/components/image-cropper/image-cropper.d.ts +32 -0
- package/dist/components/image-cropper/index.d.ts +5 -0
- package/dist/components/image-cropper/index.js +11 -0
- package/dist/components/index.d.ts +25 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +14 -0
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts +4 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/nav-grid/index.d.ts +4 -0
- package/dist/components/nav-grid/index.js +7 -0
- package/dist/components/nav-grid/nav-grid.agent.d.ts +4 -0
- package/dist/components/nav-grid/nav-grid.d.ts +41 -0
- package/dist/components/notes-panel/index.d.ts +3 -0
- package/dist/components/notes-panel/index.js +5 -0
- package/dist/components/notes-panel/notes-panel.agent.d.ts +4 -0
- package/dist/components/notes-panel/notes-panel.d.ts +94 -0
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-card/notification-card.d.ts +15 -0
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts +4 -0
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/panel-header/index.d.ts +3 -0
- package/dist/components/panel-header/index.js +7 -0
- package/dist/components/panel-header/panel-header.d.ts +41 -0
- package/dist/components/patient-details/index.d.ts +5 -0
- package/dist/components/patient-details/index.js +6 -0
- package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
- package/dist/components/patient-details/patient-details.d.ts +96 -0
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +40 -1
- package/dist/components/patient-table/columns.d.ts +69 -40
- package/dist/components/patient-table/index.d.ts +2 -6
- package/dist/components/patient-table/index.js +8 -9
- package/dist/components/patient-table/patient-table.d.ts +38 -4
- package/dist/components/patient-table/types.d.ts +52 -2
- package/dist/components/patient-table/use-responsive-columns.d.ts +8 -6
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/permission-matrix/index.d.ts +4 -0
- package/dist/components/permission-matrix/index.js +7 -0
- package/dist/components/permission-matrix/permission-matrix.agent.d.ts +4 -0
- package/dist/components/permission-matrix/permission-matrix.d.ts +47 -0
- package/dist/components/position-grid/index.d.ts +4 -0
- package/dist/components/position-grid/index.js +7 -0
- package/dist/components/position-grid/position-grid.agent.d.ts +4 -0
- package/dist/components/position-grid/position-grid.d.ts +39 -0
- package/dist/components/postal-code-input/index.d.ts +5 -0
- package/dist/components/postal-code-input/index.js +6 -0
- package/dist/components/postal-code-input/postal-code-input.agent.d.ts +8 -0
- package/dist/components/postal-code-input/postal-code-input.d.ts +27 -0
- 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/product-hub-tray/product-hub-tray.d.ts +13 -1
- package/dist/components/province-select/index.d.ts +6 -0
- package/dist/components/province-select/index.js +7 -0
- package/dist/components/province-select/it-provinces.d.ts +8 -0
- package/dist/components/province-select/province-select.agent.d.ts +8 -0
- package/dist/components/province-select/province-select.d.ts +38 -0
- package/dist/components/public-footer/public-footer.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.d.ts +4 -0
- package/dist/components/radiograph-panel/index.js +7 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +17 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/scroll-area/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +8 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +2 -2
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tab-bar/tab-bar.d.ts +18 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-card/task-card.d.ts +14 -6
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.d.ts +4 -0
- package/dist/components/tasks-panel/index.js +6 -0
- package/dist/components/tasks-panel/tasks-panel.agent.d.ts +4 -0
- package/dist/components/tasks-panel/tasks-panel.d.ts +152 -0
- package/dist/components/token-insert-menu/index.d.ts +4 -0
- package/dist/components/token-insert-menu/index.js +6 -0
- package/dist/components/token-insert-menu/token-insert-menu.agent.d.ts +4 -0
- package/dist/components/token-insert-menu/token-insert-menu.d.ts +33 -0
- package/dist/components/tool-rail/index.d.ts +4 -0
- package/dist/components/tool-rail/index.js +6 -0
- package/dist/components/tool-rail/tool-rail.agent.d.ts +4 -0
- package/dist/components/tool-rail/tool-rail.d.ts +160 -0
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.js +30 -23
- package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +84 -11
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/transcript-panel/transcript-panel.d.ts +2 -2
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +10 -7
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +24 -22
- package/dist/hooks/use-clamp-overflow.d.ts +19 -0
- package/dist/hooks/use-edge-resize.d.ts +2 -2
- package/dist/hooks/use-overflow-collapse.d.ts +46 -0
- package/dist/hooks/use-persistent-state.d.ts +7 -1
- package/dist/hooks/use-scroll-overflow.d.ts +36 -0
- package/dist/i18n/locales/ar.d.ts +475 -26
- package/dist/i18n/locales/ar.js +478 -31
- package/dist/i18n/locales/de.d.ts +475 -26
- package/dist/i18n/locales/de.js +480 -31
- package/dist/i18n/locales/el.d.ts +475 -26
- package/dist/i18n/locales/el.js +485 -31
- package/dist/i18n/locales/en.d.ts +476 -34
- package/dist/i18n/locales/en.js +492 -39
- package/dist/i18n/locales/es.d.ts +475 -26
- package/dist/i18n/locales/es.js +477 -31
- package/dist/i18n/locales/fr.d.ts +475 -26
- package/dist/i18n/locales/fr.js +480 -31
- package/dist/i18n/locales/hi.d.ts +475 -26
- package/dist/i18n/locales/hi.js +476 -31
- package/dist/i18n/locales/it.d.ts +475 -26
- package/dist/i18n/locales/it.js +480 -31
- package/dist/i18n/locales/ja.d.ts +475 -26
- package/dist/i18n/locales/ja.js +481 -31
- package/dist/i18n/locales/nl.d.ts +475 -26
- package/dist/i18n/locales/nl.js +473 -31
- package/dist/i18n/locales/pl.d.ts +475 -26
- package/dist/i18n/locales/pl.js +481 -31
- package/dist/i18n/locales/pt.d.ts +475 -26
- package/dist/i18n/locales/pt.js +485 -31
- package/dist/i18n/locales/ro.d.ts +475 -26
- package/dist/i18n/locales/ro.js +485 -31
- package/dist/i18n/locales/ru.d.ts +475 -26
- package/dist/i18n/locales/ru.js +478 -31
- package/dist/i18n/locales/sq.d.ts +475 -26
- package/dist/i18n/locales/sq.js +482 -31
- package/dist/i18n/locales/sv.d.ts +475 -26
- package/dist/i18n/locales/sv.js +480 -31
- package/dist/i18n/locales/tr.d.ts +475 -26
- package/dist/i18n/locales/tr.js +478 -31
- package/dist/i18n/locales/zh.d.ts +475 -26
- package/dist/i18n/locales/zh.js +473 -31
- package/dist/index.js +826 -709
- package/dist/locales/ar.json +480 -31
- package/dist/locales/de.json +480 -31
- package/dist/locales/el.json +480 -31
- package/dist/locales/en.json +480 -31
- package/dist/locales/es.json +480 -31
- package/dist/locales/fr.json +480 -31
- package/dist/locales/hi.json +480 -31
- package/dist/locales/it.json +480 -31
- package/dist/locales/ja.json +480 -31
- package/dist/locales/nl.json +480 -31
- package/dist/locales/pl.json +480 -31
- package/dist/locales/pt.json +480 -31
- package/dist/locales/ro.json +480 -31
- package/dist/locales/ru.json +480 -31
- package/dist/locales/sq.json +480 -31
- package/dist/locales/sv.json +480 -31
- package/dist/locales/tr.json +480 -31
- package/dist/locales/zh.json +480 -31
- package/dist/patterns/alia-assistant/alia-types.d.ts +9 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +9 -1
- package/package.json +101 -5
- package/dist/_chunks/ai-tools-rail-BA_sqy1A.js +0 -373
- package/dist/_chunks/appointment-tray-CZtvtaH-.js +0 -431
- package/dist/_chunks/clinical-note-card-DqQYf_D4.js +0 -333
- package/dist/_chunks/editable-currency-cell-renderer-kgqp_mIw.js +0 -448
- package/dist/_chunks/email-input-B_Y55f5G.js +0 -396
- package/dist/_chunks/message-card-Bx4GmLvf.js +0 -277
- package/dist/_chunks/notification-card-BiESdm8q.js +0 -255
- package/dist/_chunks/patient-summary-card-B836_fDB.js +0 -435
- package/dist/_chunks/patient-table-CDuosVru.js +0 -889
- package/dist/_chunks/reviews-panel-Dq7LMDcH.js +0 -555
- package/dist/_chunks/rich-text-editor-BsV7zUdg.js +0 -2142
- package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
- package/dist/_chunks/task-card-BwY9jaV1.js +0 -124
- package/dist/_chunks/tooth-scheme-yBr53cvv.js +0 -1330
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +0 -4
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +0 -68
- package/dist/components/ai-tools-rail/index.d.ts +0 -4
- package/dist/components/ai-tools-rail/index.js +0 -6
- package/dist/components/patient-table/cell-renderers/contact-cell.d.ts +0 -45
- package/dist/components/patient-table/cell-renderers/patient-identity-cell.d.ts +0 -26
|
@@ -0,0 +1,709 @@
|
|
|
1
|
+
import { jsx as O } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as P, useMemo as n, useCallback as x, useRef as aa, useEffect as ea } from "react";
|
|
3
|
+
import { useTranslation as ra } from "react-i18next";
|
|
4
|
+
import { C as ia } from "./combobox-DnqSF0IH.js";
|
|
5
|
+
import { h as ca, a as sa } from "./flag-DZ6V7-hU.js";
|
|
6
|
+
import { u as ta } from "./use-controllable-state-BiY4xTzM.js";
|
|
7
|
+
import { u as oa } from "./registry-DvAUVLHh.js";
|
|
8
|
+
const N = {
|
|
9
|
+
ad: "Europe",
|
|
10
|
+
// Andorra
|
|
11
|
+
ae: "Asia",
|
|
12
|
+
// United Arab Emirates
|
|
13
|
+
af: "Asia",
|
|
14
|
+
// Afghanistan
|
|
15
|
+
ag: "Americas",
|
|
16
|
+
// Antigua and Barbuda
|
|
17
|
+
ai: "Americas",
|
|
18
|
+
// Anguilla
|
|
19
|
+
al: "Europe",
|
|
20
|
+
// Albania
|
|
21
|
+
am: "Asia",
|
|
22
|
+
// Armenia
|
|
23
|
+
ao: "Africa",
|
|
24
|
+
// Angola
|
|
25
|
+
aq: "Antarctica",
|
|
26
|
+
// Antarctica
|
|
27
|
+
ar: "Americas",
|
|
28
|
+
// Argentina
|
|
29
|
+
as: "Oceania",
|
|
30
|
+
// American Samoa
|
|
31
|
+
at: "Europe",
|
|
32
|
+
// Austria
|
|
33
|
+
au: "Oceania",
|
|
34
|
+
// Australia
|
|
35
|
+
aw: "Americas",
|
|
36
|
+
// Aruba
|
|
37
|
+
ax: "Europe",
|
|
38
|
+
// Åland Islands
|
|
39
|
+
az: "Asia",
|
|
40
|
+
// Azerbaijan
|
|
41
|
+
ba: "Europe",
|
|
42
|
+
// Bosnia and Herzegovina
|
|
43
|
+
bb: "Americas",
|
|
44
|
+
// Barbados
|
|
45
|
+
bd: "Asia",
|
|
46
|
+
// Bangladesh
|
|
47
|
+
be: "Europe",
|
|
48
|
+
// Belgium
|
|
49
|
+
bf: "Africa",
|
|
50
|
+
// Burkina Faso
|
|
51
|
+
bg: "Europe",
|
|
52
|
+
// Bulgaria
|
|
53
|
+
bh: "Asia",
|
|
54
|
+
// Bahrain
|
|
55
|
+
bi: "Africa",
|
|
56
|
+
// Burundi
|
|
57
|
+
bj: "Africa",
|
|
58
|
+
// Benin
|
|
59
|
+
bl: "Americas",
|
|
60
|
+
// Saint Barthélemy
|
|
61
|
+
bm: "Americas",
|
|
62
|
+
// Bermuda
|
|
63
|
+
bn: "Asia",
|
|
64
|
+
// Brunei Darussalam
|
|
65
|
+
bo: "Americas",
|
|
66
|
+
// Bolivia, Plurinational State of
|
|
67
|
+
bq: "Americas",
|
|
68
|
+
// Bonaire, Sint Eustatius and Saba
|
|
69
|
+
br: "Americas",
|
|
70
|
+
// Brazil
|
|
71
|
+
bs: "Americas",
|
|
72
|
+
// Bahamas
|
|
73
|
+
bt: "Asia",
|
|
74
|
+
// Bhutan
|
|
75
|
+
bv: "Antarctica",
|
|
76
|
+
// Bouvet Island
|
|
77
|
+
bw: "Africa",
|
|
78
|
+
// Botswana
|
|
79
|
+
by: "Europe",
|
|
80
|
+
// Belarus
|
|
81
|
+
bz: "Americas",
|
|
82
|
+
// Belize
|
|
83
|
+
ca: "Americas",
|
|
84
|
+
// Canada
|
|
85
|
+
cc: "Oceania",
|
|
86
|
+
// Cocos (Keeling) Islands
|
|
87
|
+
cd: "Africa",
|
|
88
|
+
// Congo, Democratic Republic of the
|
|
89
|
+
cf: "Africa",
|
|
90
|
+
// Central African Republic
|
|
91
|
+
cg: "Africa",
|
|
92
|
+
// Congo
|
|
93
|
+
ch: "Europe",
|
|
94
|
+
// Switzerland
|
|
95
|
+
ci: "Africa",
|
|
96
|
+
// Côte d'Ivoire
|
|
97
|
+
ck: "Oceania",
|
|
98
|
+
// Cook Islands
|
|
99
|
+
cl: "Americas",
|
|
100
|
+
// Chile
|
|
101
|
+
cm: "Africa",
|
|
102
|
+
// Cameroon
|
|
103
|
+
cn: "Asia",
|
|
104
|
+
// China
|
|
105
|
+
co: "Americas",
|
|
106
|
+
// Colombia
|
|
107
|
+
cr: "Americas",
|
|
108
|
+
// Costa Rica
|
|
109
|
+
cu: "Americas",
|
|
110
|
+
// Cuba
|
|
111
|
+
cv: "Africa",
|
|
112
|
+
// Cabo Verde
|
|
113
|
+
cw: "Americas",
|
|
114
|
+
// Curaçao
|
|
115
|
+
cx: "Oceania",
|
|
116
|
+
// Christmas Island
|
|
117
|
+
cy: "Asia",
|
|
118
|
+
// Cyprus
|
|
119
|
+
cz: "Europe",
|
|
120
|
+
// Czechia
|
|
121
|
+
de: "Europe",
|
|
122
|
+
// Germany
|
|
123
|
+
dj: "Africa",
|
|
124
|
+
// Djibouti
|
|
125
|
+
dk: "Europe",
|
|
126
|
+
// Denmark
|
|
127
|
+
dm: "Americas",
|
|
128
|
+
// Dominica
|
|
129
|
+
do: "Americas",
|
|
130
|
+
// Dominican Republic
|
|
131
|
+
dz: "Africa",
|
|
132
|
+
// Algeria
|
|
133
|
+
ec: "Americas",
|
|
134
|
+
// Ecuador
|
|
135
|
+
ee: "Europe",
|
|
136
|
+
// Estonia
|
|
137
|
+
eg: "Africa",
|
|
138
|
+
// Egypt
|
|
139
|
+
eh: "Africa",
|
|
140
|
+
// Western Sahara
|
|
141
|
+
er: "Africa",
|
|
142
|
+
// Eritrea
|
|
143
|
+
es: "Europe",
|
|
144
|
+
// Spain
|
|
145
|
+
et: "Africa",
|
|
146
|
+
// Ethiopia
|
|
147
|
+
fi: "Europe",
|
|
148
|
+
// Finland
|
|
149
|
+
fj: "Oceania",
|
|
150
|
+
// Fiji
|
|
151
|
+
fk: "Americas",
|
|
152
|
+
// Falkland Islands (Malvinas)
|
|
153
|
+
fm: "Oceania",
|
|
154
|
+
// Micronesia, Federated States of
|
|
155
|
+
fo: "Europe",
|
|
156
|
+
// Faroe Islands
|
|
157
|
+
fr: "Europe",
|
|
158
|
+
// France
|
|
159
|
+
ga: "Africa",
|
|
160
|
+
// Gabon
|
|
161
|
+
gb: "Europe",
|
|
162
|
+
// United Kingdom
|
|
163
|
+
gd: "Americas",
|
|
164
|
+
// Grenada
|
|
165
|
+
ge: "Asia",
|
|
166
|
+
// Georgia
|
|
167
|
+
gf: "Americas",
|
|
168
|
+
// French Guiana
|
|
169
|
+
gg: "Europe",
|
|
170
|
+
// Guernsey
|
|
171
|
+
gh: "Africa",
|
|
172
|
+
// Ghana
|
|
173
|
+
gi: "Europe",
|
|
174
|
+
// Gibraltar
|
|
175
|
+
gl: "Americas",
|
|
176
|
+
// Greenland
|
|
177
|
+
gm: "Africa",
|
|
178
|
+
// Gambia
|
|
179
|
+
gn: "Africa",
|
|
180
|
+
// Guinea
|
|
181
|
+
gp: "Americas",
|
|
182
|
+
// Guadeloupe
|
|
183
|
+
gq: "Africa",
|
|
184
|
+
// Equatorial Guinea
|
|
185
|
+
gr: "Europe",
|
|
186
|
+
// Greece
|
|
187
|
+
gs: "Antarctica",
|
|
188
|
+
// South Georgia and the South Sandwich Islands
|
|
189
|
+
gt: "Americas",
|
|
190
|
+
// Guatemala
|
|
191
|
+
gu: "Oceania",
|
|
192
|
+
// Guam
|
|
193
|
+
gw: "Africa",
|
|
194
|
+
// Guinea-Bissau
|
|
195
|
+
gy: "Americas",
|
|
196
|
+
// Guyana
|
|
197
|
+
hk: "Asia",
|
|
198
|
+
// Hong Kong
|
|
199
|
+
hm: "Antarctica",
|
|
200
|
+
// Heard Island and McDonald Islands
|
|
201
|
+
hn: "Americas",
|
|
202
|
+
// Honduras
|
|
203
|
+
hr: "Europe",
|
|
204
|
+
// Croatia
|
|
205
|
+
ht: "Americas",
|
|
206
|
+
// Haiti
|
|
207
|
+
hu: "Europe",
|
|
208
|
+
// Hungary
|
|
209
|
+
id: "Asia",
|
|
210
|
+
// Indonesia
|
|
211
|
+
ie: "Europe",
|
|
212
|
+
// Ireland
|
|
213
|
+
il: "Asia",
|
|
214
|
+
// Israel
|
|
215
|
+
im: "Europe",
|
|
216
|
+
// Isle of Man
|
|
217
|
+
in: "Asia",
|
|
218
|
+
// India
|
|
219
|
+
io: "Africa",
|
|
220
|
+
// British Indian Ocean Territory
|
|
221
|
+
iq: "Asia",
|
|
222
|
+
// Iraq
|
|
223
|
+
ir: "Asia",
|
|
224
|
+
// Iran, Islamic Republic of
|
|
225
|
+
is: "Europe",
|
|
226
|
+
// Iceland
|
|
227
|
+
it: "Europe",
|
|
228
|
+
// Italy
|
|
229
|
+
je: "Europe",
|
|
230
|
+
// Jersey
|
|
231
|
+
jm: "Americas",
|
|
232
|
+
// Jamaica
|
|
233
|
+
jo: "Asia",
|
|
234
|
+
// Jordan
|
|
235
|
+
jp: "Asia",
|
|
236
|
+
// Japan
|
|
237
|
+
ke: "Africa",
|
|
238
|
+
// Kenya
|
|
239
|
+
kg: "Asia",
|
|
240
|
+
// Kyrgyzstan
|
|
241
|
+
kh: "Asia",
|
|
242
|
+
// Cambodia
|
|
243
|
+
ki: "Oceania",
|
|
244
|
+
// Kiribati
|
|
245
|
+
km: "Africa",
|
|
246
|
+
// Comoros
|
|
247
|
+
kn: "Americas",
|
|
248
|
+
// Saint Kitts and Nevis
|
|
249
|
+
kp: "Asia",
|
|
250
|
+
// Korea, Democratic People's Republic of
|
|
251
|
+
kr: "Asia",
|
|
252
|
+
// Korea, Republic of
|
|
253
|
+
kw: "Asia",
|
|
254
|
+
// Kuwait
|
|
255
|
+
ky: "Americas",
|
|
256
|
+
// Cayman Islands
|
|
257
|
+
kz: "Asia",
|
|
258
|
+
// Kazakhstan
|
|
259
|
+
la: "Asia",
|
|
260
|
+
// Lao People's Democratic Republic
|
|
261
|
+
lb: "Asia",
|
|
262
|
+
// Lebanon
|
|
263
|
+
lc: "Americas",
|
|
264
|
+
// Saint Lucia
|
|
265
|
+
li: "Europe",
|
|
266
|
+
// Liechtenstein
|
|
267
|
+
lk: "Asia",
|
|
268
|
+
// Sri Lanka
|
|
269
|
+
lr: "Africa",
|
|
270
|
+
// Liberia
|
|
271
|
+
ls: "Africa",
|
|
272
|
+
// Lesotho
|
|
273
|
+
lt: "Europe",
|
|
274
|
+
// Lithuania
|
|
275
|
+
lu: "Europe",
|
|
276
|
+
// Luxembourg
|
|
277
|
+
lv: "Europe",
|
|
278
|
+
// Latvia
|
|
279
|
+
ly: "Africa",
|
|
280
|
+
// Libya
|
|
281
|
+
ma: "Africa",
|
|
282
|
+
// Morocco
|
|
283
|
+
mc: "Europe",
|
|
284
|
+
// Monaco
|
|
285
|
+
md: "Europe",
|
|
286
|
+
// Moldova, Republic of
|
|
287
|
+
me: "Europe",
|
|
288
|
+
// Montenegro
|
|
289
|
+
mf: "Americas",
|
|
290
|
+
// Saint Martin (French part)
|
|
291
|
+
mg: "Africa",
|
|
292
|
+
// Madagascar
|
|
293
|
+
mh: "Oceania",
|
|
294
|
+
// Marshall Islands
|
|
295
|
+
mk: "Europe",
|
|
296
|
+
// North Macedonia
|
|
297
|
+
ml: "Africa",
|
|
298
|
+
// Mali
|
|
299
|
+
mm: "Asia",
|
|
300
|
+
// Myanmar
|
|
301
|
+
mn: "Asia",
|
|
302
|
+
// Mongolia
|
|
303
|
+
mo: "Asia",
|
|
304
|
+
// Macao
|
|
305
|
+
mp: "Oceania",
|
|
306
|
+
// Northern Mariana Islands
|
|
307
|
+
mq: "Americas",
|
|
308
|
+
// Martinique
|
|
309
|
+
mr: "Africa",
|
|
310
|
+
// Mauritania
|
|
311
|
+
ms: "Americas",
|
|
312
|
+
// Montserrat
|
|
313
|
+
mt: "Europe",
|
|
314
|
+
// Malta
|
|
315
|
+
mu: "Africa",
|
|
316
|
+
// Mauritius
|
|
317
|
+
mv: "Asia",
|
|
318
|
+
// Maldives
|
|
319
|
+
mw: "Africa",
|
|
320
|
+
// Malawi
|
|
321
|
+
mx: "Americas",
|
|
322
|
+
// Mexico
|
|
323
|
+
my: "Asia",
|
|
324
|
+
// Malaysia
|
|
325
|
+
mz: "Africa",
|
|
326
|
+
// Mozambique
|
|
327
|
+
na: "Africa",
|
|
328
|
+
// Namibia
|
|
329
|
+
nc: "Oceania",
|
|
330
|
+
// New Caledonia
|
|
331
|
+
ne: "Africa",
|
|
332
|
+
// Niger
|
|
333
|
+
nf: "Oceania",
|
|
334
|
+
// Norfolk Island
|
|
335
|
+
ng: "Africa",
|
|
336
|
+
// Nigeria
|
|
337
|
+
ni: "Americas",
|
|
338
|
+
// Nicaragua
|
|
339
|
+
nl: "Europe",
|
|
340
|
+
// Netherlands
|
|
341
|
+
no: "Europe",
|
|
342
|
+
// Norway
|
|
343
|
+
np: "Asia",
|
|
344
|
+
// Nepal
|
|
345
|
+
nr: "Oceania",
|
|
346
|
+
// Nauru
|
|
347
|
+
nu: "Oceania",
|
|
348
|
+
// Niue
|
|
349
|
+
nz: "Oceania",
|
|
350
|
+
// New Zealand
|
|
351
|
+
om: "Asia",
|
|
352
|
+
// Oman
|
|
353
|
+
pa: "Americas",
|
|
354
|
+
// Panama
|
|
355
|
+
pe: "Americas",
|
|
356
|
+
// Peru
|
|
357
|
+
pf: "Oceania",
|
|
358
|
+
// French Polynesia
|
|
359
|
+
pg: "Oceania",
|
|
360
|
+
// Papua New Guinea
|
|
361
|
+
ph: "Asia",
|
|
362
|
+
// Philippines
|
|
363
|
+
pk: "Asia",
|
|
364
|
+
// Pakistan
|
|
365
|
+
pl: "Europe",
|
|
366
|
+
// Poland
|
|
367
|
+
pm: "Americas",
|
|
368
|
+
// Saint Pierre and Miquelon
|
|
369
|
+
pn: "Oceania",
|
|
370
|
+
// Pitcairn
|
|
371
|
+
pr: "Americas",
|
|
372
|
+
// Puerto Rico
|
|
373
|
+
ps: "Asia",
|
|
374
|
+
// Palestine, State of
|
|
375
|
+
pt: "Europe",
|
|
376
|
+
// Portugal
|
|
377
|
+
pw: "Oceania",
|
|
378
|
+
// Palau
|
|
379
|
+
py: "Americas",
|
|
380
|
+
// Paraguay
|
|
381
|
+
qa: "Asia",
|
|
382
|
+
// Qatar
|
|
383
|
+
re: "Africa",
|
|
384
|
+
// Réunion
|
|
385
|
+
ro: "Europe",
|
|
386
|
+
// Romania
|
|
387
|
+
rs: "Europe",
|
|
388
|
+
// Serbia
|
|
389
|
+
ru: "Europe",
|
|
390
|
+
// Russian Federation
|
|
391
|
+
rw: "Africa",
|
|
392
|
+
// Rwanda
|
|
393
|
+
sa: "Asia",
|
|
394
|
+
// Saudi Arabia
|
|
395
|
+
sb: "Oceania",
|
|
396
|
+
// Solomon Islands
|
|
397
|
+
sc: "Africa",
|
|
398
|
+
// Seychelles
|
|
399
|
+
sd: "Africa",
|
|
400
|
+
// Sudan
|
|
401
|
+
se: "Europe",
|
|
402
|
+
// Sweden
|
|
403
|
+
sg: "Asia",
|
|
404
|
+
// Singapore
|
|
405
|
+
sh: "Africa",
|
|
406
|
+
// Saint Helena, Ascension and Tristan da Cunha
|
|
407
|
+
si: "Europe",
|
|
408
|
+
// Slovenia
|
|
409
|
+
sj: "Europe",
|
|
410
|
+
// Svalbard and Jan Mayen
|
|
411
|
+
sk: "Europe",
|
|
412
|
+
// Slovakia
|
|
413
|
+
sl: "Africa",
|
|
414
|
+
// Sierra Leone
|
|
415
|
+
sm: "Europe",
|
|
416
|
+
// San Marino
|
|
417
|
+
sn: "Africa",
|
|
418
|
+
// Senegal
|
|
419
|
+
so: "Africa",
|
|
420
|
+
// Somalia
|
|
421
|
+
sr: "Americas",
|
|
422
|
+
// Suriname
|
|
423
|
+
ss: "Africa",
|
|
424
|
+
// South Sudan
|
|
425
|
+
st: "Africa",
|
|
426
|
+
// Sao Tome and Principe
|
|
427
|
+
sv: "Americas",
|
|
428
|
+
// El Salvador
|
|
429
|
+
sx: "Americas",
|
|
430
|
+
// Sint Maarten (Dutch part)
|
|
431
|
+
sy: "Asia",
|
|
432
|
+
// Syrian Arab Republic
|
|
433
|
+
sz: "Africa",
|
|
434
|
+
// Eswatini
|
|
435
|
+
tc: "Americas",
|
|
436
|
+
// Turks and Caicos Islands
|
|
437
|
+
td: "Africa",
|
|
438
|
+
// Chad
|
|
439
|
+
tf: "Antarctica",
|
|
440
|
+
// French Southern Territories
|
|
441
|
+
tg: "Africa",
|
|
442
|
+
// Togo
|
|
443
|
+
th: "Asia",
|
|
444
|
+
// Thailand
|
|
445
|
+
tj: "Asia",
|
|
446
|
+
// Tajikistan
|
|
447
|
+
tk: "Oceania",
|
|
448
|
+
// Tokelau
|
|
449
|
+
tl: "Asia",
|
|
450
|
+
// Timor-Leste
|
|
451
|
+
tm: "Asia",
|
|
452
|
+
// Turkmenistan
|
|
453
|
+
tn: "Africa",
|
|
454
|
+
// Tunisia
|
|
455
|
+
to: "Oceania",
|
|
456
|
+
// Tonga
|
|
457
|
+
tr: "Asia",
|
|
458
|
+
// Türkiye
|
|
459
|
+
tt: "Americas",
|
|
460
|
+
// Trinidad and Tobago
|
|
461
|
+
tv: "Oceania",
|
|
462
|
+
// Tuvalu
|
|
463
|
+
tw: "Asia",
|
|
464
|
+
// Taiwan, Province of China
|
|
465
|
+
tz: "Africa",
|
|
466
|
+
// Tanzania, United Republic of
|
|
467
|
+
ua: "Europe",
|
|
468
|
+
// Ukraine
|
|
469
|
+
ug: "Africa",
|
|
470
|
+
// Uganda
|
|
471
|
+
um: "Oceania",
|
|
472
|
+
// United States Minor Outlying Islands
|
|
473
|
+
us: "Americas",
|
|
474
|
+
// United States of America
|
|
475
|
+
uy: "Americas",
|
|
476
|
+
// Uruguay
|
|
477
|
+
uz: "Asia",
|
|
478
|
+
// Uzbekistan
|
|
479
|
+
va: "Europe",
|
|
480
|
+
// Holy See
|
|
481
|
+
vc: "Americas",
|
|
482
|
+
// Saint Vincent and the Grenadines
|
|
483
|
+
ve: "Americas",
|
|
484
|
+
// Venezuela, Bolivarian Republic of
|
|
485
|
+
vg: "Americas",
|
|
486
|
+
// Virgin Islands (British)
|
|
487
|
+
vi: "Americas",
|
|
488
|
+
// Virgin Islands (U.S.)
|
|
489
|
+
vn: "Asia",
|
|
490
|
+
// Viet Nam
|
|
491
|
+
vu: "Oceania",
|
|
492
|
+
// Vanuatu
|
|
493
|
+
wf: "Oceania",
|
|
494
|
+
// Wallis and Futuna
|
|
495
|
+
ws: "Oceania",
|
|
496
|
+
// Samoa
|
|
497
|
+
ye: "Asia",
|
|
498
|
+
// Yemen
|
|
499
|
+
yt: "Africa",
|
|
500
|
+
// Mayotte
|
|
501
|
+
za: "Africa",
|
|
502
|
+
// South Africa
|
|
503
|
+
zm: "Africa",
|
|
504
|
+
// Zambia
|
|
505
|
+
zw: "Africa"
|
|
506
|
+
// Zimbabwe
|
|
507
|
+
}, na = Object.keys(N).sort();
|
|
508
|
+
function Aa(i) {
|
|
509
|
+
return N[i.toLowerCase()];
|
|
510
|
+
}
|
|
511
|
+
const ua = {
|
|
512
|
+
id: "country-select",
|
|
513
|
+
// Persisted single choice of an ISO country code.
|
|
514
|
+
capabilities: ["select_single", "set_value"],
|
|
515
|
+
state: {
|
|
516
|
+
value: {
|
|
517
|
+
type: "string | null",
|
|
518
|
+
descriptionKey: "ui.agent.countrySelect.state.value",
|
|
519
|
+
description: "Selected ISO 3166-1 alpha-2 country code (lowercased), or null when nothing is selected.",
|
|
520
|
+
read: (i) => i.getValue()
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
actions: {
|
|
524
|
+
set_value: {
|
|
525
|
+
safety: "write",
|
|
526
|
+
argsType: "{ value: string | null }",
|
|
527
|
+
argsSchema: {
|
|
528
|
+
type: "object",
|
|
529
|
+
properties: {
|
|
530
|
+
value: {
|
|
531
|
+
type: ["string", "null"],
|
|
532
|
+
description: "ISO 3166-1 alpha-2 country code (lowercased) to select, or null to clear."
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
required: ["value"]
|
|
536
|
+
},
|
|
537
|
+
idempotent: !0,
|
|
538
|
+
descriptionKey: "ui.agent.countrySelect.actions.setValue",
|
|
539
|
+
description: "Set the selected country by ISO alpha-2 code.",
|
|
540
|
+
examples: [{ args: { value: "it" }, note: "Select Italy." }],
|
|
541
|
+
invoke: (i, t) => {
|
|
542
|
+
i.setValue(t.value);
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
clear_selection: {
|
|
546
|
+
safety: "destructive",
|
|
547
|
+
idempotent: !0,
|
|
548
|
+
descriptionKey: "ui.agent.countrySelect.actions.clearSelection",
|
|
549
|
+
description: "Clear the selected country.",
|
|
550
|
+
invoke: (i) => {
|
|
551
|
+
i.clear();
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
domHooks: {
|
|
556
|
+
root: { attr: "data-component", value: "country-select" },
|
|
557
|
+
instanceId: {
|
|
558
|
+
attr: "data-component-id",
|
|
559
|
+
sourceProp: "id",
|
|
560
|
+
description: "Sourced from the id prop."
|
|
561
|
+
},
|
|
562
|
+
// The inner Combobox emits `data-option-id` and registers its own
|
|
563
|
+
// `combobox` adapter; both adapters intentionally coexist (the registry
|
|
564
|
+
// keys by id + instanceId), so this hook is reachable from this root too.
|
|
565
|
+
item: {
|
|
566
|
+
attr: "data-option-id",
|
|
567
|
+
description: "Each country option emits its alpha-2 code as data-option-id."
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
}, pa = [
|
|
571
|
+
"Europe",
|
|
572
|
+
"Americas",
|
|
573
|
+
"Asia",
|
|
574
|
+
"Africa",
|
|
575
|
+
"Oceania",
|
|
576
|
+
"Antarctica"
|
|
577
|
+
], la = P(
|
|
578
|
+
function({
|
|
579
|
+
value: t,
|
|
580
|
+
defaultValue: m,
|
|
581
|
+
onValueChange: q,
|
|
582
|
+
countries: w,
|
|
583
|
+
popularCountries: S,
|
|
584
|
+
grouped: f = !0,
|
|
585
|
+
nameOverrides: A,
|
|
586
|
+
showFlag: v = !0,
|
|
587
|
+
placeholder: L,
|
|
588
|
+
clearable: F,
|
|
589
|
+
disabled: V,
|
|
590
|
+
readOnly: D,
|
|
591
|
+
required: G,
|
|
592
|
+
name: H,
|
|
593
|
+
id: g,
|
|
594
|
+
size: K = "md",
|
|
595
|
+
tone: M = "default",
|
|
596
|
+
"aria-label": T,
|
|
597
|
+
"aria-invalid": U,
|
|
598
|
+
"aria-describedby": B,
|
|
599
|
+
className: $
|
|
600
|
+
}, J) {
|
|
601
|
+
const { t: o, i18n: u } = ra(), [p, l] = ta({
|
|
602
|
+
// Normalise incoming codes — a consumer may pass `'IT'` from a server
|
|
603
|
+
// payload, but option values are lowercase, so an un-normalised value
|
|
604
|
+
// would never match and the field would render blank.
|
|
605
|
+
value: t == null ? void 0 : t.toLowerCase(),
|
|
606
|
+
defaultValue: m == null ? void 0 : m.toLowerCase(),
|
|
607
|
+
onChange: q
|
|
608
|
+
}), k = n(() => {
|
|
609
|
+
try {
|
|
610
|
+
return new Intl.DisplayNames([u.language], { type: "region" });
|
|
611
|
+
} catch {
|
|
612
|
+
return new Intl.DisplayNames(["en"], { type: "region" });
|
|
613
|
+
}
|
|
614
|
+
}, [u.language]), d = n(
|
|
615
|
+
() => new Intl.Collator(u.language),
|
|
616
|
+
[u.language]
|
|
617
|
+
), y = n(
|
|
618
|
+
() => (w ?? na).map((e) => e.toLowerCase()),
|
|
619
|
+
[w]
|
|
620
|
+
), c = x(
|
|
621
|
+
(e) => (A == null ? void 0 : A[e]) ?? k.of(e.toUpperCase()) ?? e.toUpperCase(),
|
|
622
|
+
[A, k]
|
|
623
|
+
), C = x(
|
|
624
|
+
(e) => v && ca(e) ? /* @__PURE__ */ O(sa, { country: e, size: "sm", rounded: "sm" }) : void 0,
|
|
625
|
+
[v]
|
|
626
|
+
), Q = n(() => {
|
|
627
|
+
const e = new Set(y), j = (S ?? []).map((a) => a.toLowerCase()).filter((a) => e.has(a)), X = new Set(j), E = (a, r) => ({
|
|
628
|
+
value: a,
|
|
629
|
+
label: c(a),
|
|
630
|
+
group: r,
|
|
631
|
+
startAdornment: C(a)
|
|
632
|
+
}), Y = f ? o("inputs.countrySelect.popular", "Popular") : void 0, I = j.map((a) => E(a, Y)), R = y.filter((a) => !X.has(a));
|
|
633
|
+
if (!f) {
|
|
634
|
+
const a = [...R].sort(
|
|
635
|
+
(r, s) => d.compare(c(r), c(s))
|
|
636
|
+
);
|
|
637
|
+
return [...I, ...a.map((r) => E(r))];
|
|
638
|
+
}
|
|
639
|
+
const b = /* @__PURE__ */ new Map();
|
|
640
|
+
for (const a of R) {
|
|
641
|
+
const r = Aa(a) ?? "Antarctica", s = b.get(r);
|
|
642
|
+
s ? s.push(a) : b.set(r, [a]);
|
|
643
|
+
}
|
|
644
|
+
const _ = [];
|
|
645
|
+
for (const a of pa) {
|
|
646
|
+
const r = b.get(a);
|
|
647
|
+
if (!r) continue;
|
|
648
|
+
r.sort((h, Z) => d.compare(c(h), c(Z)));
|
|
649
|
+
const s = o(
|
|
650
|
+
`inputs.countrySelect.regions.${a.toLowerCase()}`,
|
|
651
|
+
a
|
|
652
|
+
);
|
|
653
|
+
for (const h of r) _.push(E(h, s));
|
|
654
|
+
}
|
|
655
|
+
return [...I, ..._];
|
|
656
|
+
}, [y, S, f, c, C, d, o]), z = aa(p);
|
|
657
|
+
ea(() => {
|
|
658
|
+
z.current = p;
|
|
659
|
+
}, [p]);
|
|
660
|
+
const W = n(
|
|
661
|
+
() => ({
|
|
662
|
+
getValue: () => z.current || null,
|
|
663
|
+
setValue: (e) => l(e ?? ""),
|
|
664
|
+
clear: () => l("")
|
|
665
|
+
}),
|
|
666
|
+
[l]
|
|
667
|
+
);
|
|
668
|
+
return oa(ua, W, g), /* @__PURE__ */ O(
|
|
669
|
+
"div",
|
|
670
|
+
{
|
|
671
|
+
"data-component": "country-select",
|
|
672
|
+
"data-component-id": g,
|
|
673
|
+
className: ["ds:w-full", $].filter(Boolean).join(" "),
|
|
674
|
+
children: /* @__PURE__ */ O(
|
|
675
|
+
ia,
|
|
676
|
+
{
|
|
677
|
+
ref: J,
|
|
678
|
+
options: Q,
|
|
679
|
+
value: p ?? "",
|
|
680
|
+
onValueChange: (e) => l(e),
|
|
681
|
+
placeholder: L ?? o("inputs.countrySelect.placeholder", "Search countries"),
|
|
682
|
+
emptyMessage: o("inputs.countrySelect.empty", "No countries found"),
|
|
683
|
+
clearable: F,
|
|
684
|
+
disabled: V,
|
|
685
|
+
readOnly: D,
|
|
686
|
+
required: G,
|
|
687
|
+
name: H,
|
|
688
|
+
id: g,
|
|
689
|
+
size: K,
|
|
690
|
+
tone: M,
|
|
691
|
+
autoComplete: "country",
|
|
692
|
+
"aria-label": T,
|
|
693
|
+
"aria-invalid": U,
|
|
694
|
+
"aria-describedby": B
|
|
695
|
+
}
|
|
696
|
+
)
|
|
697
|
+
}
|
|
698
|
+
);
|
|
699
|
+
}
|
|
700
|
+
);
|
|
701
|
+
la.displayName = "CountrySelect";
|
|
702
|
+
export {
|
|
703
|
+
la as C,
|
|
704
|
+
na as I,
|
|
705
|
+
N as a,
|
|
706
|
+
ua as c,
|
|
707
|
+
Aa as r
|
|
708
|
+
};
|
|
709
|
+
//# sourceMappingURL=country-select-BwUZQvTa.js.map
|
|
@@ -6,7 +6,7 @@ import { F as L } from "./form-field-BOm9hK35.js";
|
|
|
6
6
|
import { D as z } from "./date-picker-Dl9RKxaV.js";
|
|
7
7
|
import { N as D } from "./number-input-DxphVG_A.js";
|
|
8
8
|
import { C as E } from "./card-DPmk26CL.js";
|
|
9
|
-
import { B as P } from "./badge-
|
|
9
|
+
import { B as P } from "./badge-DCOqV9mI.js";
|
|
10
10
|
import { I as B } from "./insert-result-njqBthzT.js";
|
|
11
11
|
import { a as i } from "./date-picker-variants-DAcSLTua.js";
|
|
12
12
|
import { C as G } from "./check-DPdL_Sm7.js";
|
|
@@ -249,4 +249,4 @@ export {
|
|
|
249
249
|
U as L,
|
|
250
250
|
O as p
|
|
251
251
|
};
|
|
252
|
-
//# sourceMappingURL=cycle-calculator-
|
|
252
|
+
//# sourceMappingURL=cycle-calculator-CCmPwcBl.js.map
|