@alfadocs/ui-kit-debug 0.47.0 → 0.48.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/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
- package/dist/_chunks/agenda-card-BaSfVfrL.js.map +1 -0
- package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
- package/dist/_chunks/agenda-tray-DQayYmQ0.js.map +1 -0
- package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
- package/dist/_chunks/ai-consent-banner-DO5ingMq.js.map +1 -0
- package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
- package/dist/_chunks/ai-tools-rail-CxYG04cw.js.map +1 -0
- package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
- package/dist/_chunks/alia-sidebar-DlvyXgVC.js.map +1 -0
- package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
- package/dist/_chunks/anamnesis-card-CmkBVAln.js.map +1 -0
- package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
- package/dist/_chunks/appointment-tray-BwDHhWWC.js.map +1 -0
- package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
- package/dist/_chunks/{bmi-calculator-CQqXTVNL.js.map → bmi-calculator-DdylQzT6.js.map} +1 -1
- package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
- package/dist/_chunks/booking-WV2GSru5.js.map +1 -0
- package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
- package/dist/_chunks/{calculator-dialog-D-nfvteH.js.map → calculator-dialog-CFk4I91b.js.map} +1 -1
- package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
- package/dist/_chunks/calendar-days-C4BmpCZg.js.map +1 -0
- package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
- package/dist/_chunks/calendar-oYWOCrnf.js.map +1 -0
- package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
- package/dist/_chunks/care-plan-card-QmNpGggC.js.map +1 -0
- package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
- package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js.map +1 -0
- package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
- package/dist/_chunks/chat-message-Dm8U2RY1.js.map +1 -0
- package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
- package/dist/_chunks/clinical-note-card-BYo437dU.js.map +1 -0
- package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
- package/dist/_chunks/contact-profile-card-DvvVfAA2.js.map +1 -0
- package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
- package/dist/_chunks/{cycle-calculator-KxA8dqDf.js.map → cycle-calculator-DYvGm_m1.js.map} +1 -1
- package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
- package/dist/_chunks/dialog-DMGnSelc.js.map +1 -0
- package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
- package/dist/_chunks/{due-date-calculator-mFxpHLml.js.map → due-date-calculator-BXd3ANj7.js.map} +1 -1
- package/dist/_chunks/entity-card-COhmqHly.js +69 -0
- package/dist/_chunks/entity-card-COhmqHly.js.map +1 -0
- package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js.map → gestational-age-calculator-Crj6FgZw.js.map} +1 -1
- package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
- package/dist/_chunks/insert-result-DNdi_JYW.js.map +1 -0
- package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
- package/dist/_chunks/is-safe-url-DkETxeHz.js.map +1 -0
- package/dist/_chunks/languages-DsVf_WzT.js +19 -0
- package/dist/_chunks/languages-DsVf_WzT.js.map +1 -0
- package/dist/_chunks/layers-pzGcbLPj.js +34 -0
- package/dist/_chunks/layers-pzGcbLPj.js.map +1 -0
- package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
- package/dist/_chunks/message-card-Dvl1TgaN.js.map +1 -0
- package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
- package/dist/_chunks/{message-tray-hSQff9u4.js.map → message-tray-Dl6GQaaV.js.map} +1 -1
- package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
- package/dist/_chunks/operator-hero-CM8949Hd.js.map +1 -0
- package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
- package/dist/_chunks/patient-summary-card-BnTqxcTr.js.map +1 -0
- package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
- package/dist/_chunks/payment-request-card-B_lyobd0.js.map +1 -0
- package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
- package/dist/_chunks/pdf-viewer-G8SU6Azw.js.map +1 -0
- package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
- package/dist/_chunks/periodontal-chart-card-BYs9hax1.js.map +1 -0
- package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
- package/dist/_chunks/phone-Bi5yUm4I.js.map +1 -0
- package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
- package/dist/_chunks/{practice-results-DDi-kvaD.js.map → practice-results-BFL_mcDW.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js.map → pregnancy-weight-gain-C7dK89jE.js.map} +1 -1
- package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
- package/dist/_chunks/scan-line-lGioFwLC.js.map +1 -0
- package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
- package/dist/_chunks/shield-check-BjCGH_Sr.js.map +1 -0
- package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
- package/dist/_chunks/{sign-document-BCyLpFHJ.js.map → sign-document-DPI2pY9V.js.map} +1 -1
- package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
- package/dist/_chunks/{transaction-chip-B8ujzowA.js.map → transaction-chip-BZCa6XDn.js.map} +1 -1
- package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
- package/dist/_chunks/{unit-converter-u3CwNDpP.js.map → unit-converter-jWp3Z85y.js.map} +1 -1
- package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
- package/dist/_chunks/user-cog-BS_qc8nA.js.map +1 -0
- package/dist/_chunks/video-BAeICxCT.js +21 -0
- package/dist/_chunks/video-BAeICxCT.js.map +1 -0
- package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
- package/dist/_chunks/workflow-map-ZXw-zsZ8.js.map +1 -0
- package/dist/agent-catalog.json +324 -1
- package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts.map +1 -0
- package/dist/components/_shared/entity-card/index.d.ts +3 -0
- package/dist/components/_shared/entity-card/index.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts +2 -0
- package/dist/components/_shared/index.d.ts.map +1 -1
- package/dist/components/_shared/is-safe-url.d.ts +13 -0
- package/dist/components/_shared/is-safe-url.d.ts.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts +1 -2
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -1
- package/dist/components/agenda-card/index.d.ts +2 -1
- package/dist/components/agenda-card/index.d.ts.map +1 -1
- package/dist/components/agenda-card/index.js +6 -5
- package/dist/components/agenda-card/index.js.map +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
- package/dist/components/ai-consent-banner/ai-consent-banner.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/index.d.ts +4 -0
- package/dist/components/ai-consent-banner/index.d.ts.map +1 -0
- package/dist/components/ai-consent-banner/index.js +6 -0
- package/dist/components/ai-consent-banner/index.js.map +1 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/index.d.ts +4 -0
- package/dist/components/ai-tools-rail/index.d.ts.map +1 -0
- package/dist/components/ai-tools-rail/index.js +6 -0
- package/dist/components/ai-tools-rail/index.js.map +1 -0
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
- package/dist/components/anamnesis-card/anamnesis-card.d.ts.map +1 -0
- package/dist/components/anamnesis-card/index.d.ts +3 -0
- package/dist/components/anamnesis-card/index.d.ts.map +1 -0
- package/dist/components/anamnesis-card/index.js +5 -0
- package/dist/components/anamnesis-card/index.js.map +1 -0
- package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
- package/dist/components/appointment-card/appointment-card.agent.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-card.d.ts +93 -0
- package/dist/components/appointment-card/appointment-card.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
- package/dist/components/appointment-card/appointment-tray.agent.d.ts.map +1 -0
- package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
- package/dist/components/appointment-card/appointment-tray.d.ts.map +1 -0
- package/dist/components/appointment-card/index.d.ts +8 -0
- package/dist/components/appointment-card/index.d.ts.map +1 -0
- package/dist/components/appointment-card/index.js +10 -0
- package/dist/components/appointment-card/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/card/card.d.ts +1 -1
- package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
- package/dist/components/care-plan-card/care-plan-card.agent.d.ts.map +1 -0
- package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
- package/dist/components/care-plan-card/care-plan-card.d.ts.map +1 -0
- package/dist/components/care-plan-card/index.d.ts +4 -0
- package/dist/components/care-plan-card/index.d.ts.map +1 -0
- package/dist/components/care-plan-card/index.js +6 -0
- package/dist/components/care-plan-card/index.js.map +1 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
- package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/index.d.ts +4 -0
- package/dist/components/care-plan-entry-card/index.d.ts.map +1 -0
- package/dist/components/care-plan-entry-card/index.js +6 -0
- package/dist/components/care-plan-entry-card/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +7 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
- package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts.map +1 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
- package/dist/components/clinical-note-card/clinical-note-card.d.ts.map +1 -0
- package/dist/components/clinical-note-card/index.d.ts +4 -0
- package/dist/components/clinical-note-card/index.d.ts.map +1 -0
- package/dist/components/clinical-note-card/index.js +6 -0
- package/dist/components/clinical-note-card/index.js.map +1 -0
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +7 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/message-card/index.js +5 -4
- package/dist/components/message-card/index.js.map +1 -1
- package/dist/components/message-card/message-card.d.ts +1 -2
- package/dist/components/message-card/message-card.d.ts.map +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.agent.d.ts.map +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +9 -0
- package/dist/components/operator-hero/operator-hero.d.ts.map +1 -1
- package/dist/components/patient-summary-card/index.d.ts +4 -0
- package/dist/components/patient-summary-card/index.d.ts.map +1 -0
- package/dist/components/patient-summary-card/index.js +6 -0
- package/dist/components/patient-summary-card/index.js.map +1 -0
- package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
- package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts.map +1 -0
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
- package/dist/components/patient-summary-card/patient-summary-card.d.ts.map +1 -0
- package/dist/components/payment-card/index.d.ts +7 -0
- package/dist/components/payment-card/index.d.ts.map +1 -0
- package/dist/components/payment-card/index.js +8 -0
- package/dist/components/payment-card/index.js.map +1 -0
- package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-card.agent.d.ts.map +1 -0
- package/dist/components/payment-card/payment-card.d.ts +71 -0
- package/dist/components/payment-card/payment-card.d.ts.map +1 -0
- package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
- package/dist/components/payment-card/payment-request-card.agent.d.ts.map +1 -0
- package/dist/components/payment-card/payment-request-card.d.ts +43 -0
- package/dist/components/payment-card/payment-request-card.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
- package/dist/components/periodontal-chart-card/index.d.ts +4 -0
- package/dist/components/periodontal-chart-card/index.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/index.js +7 -0
- package/dist/components/periodontal-chart-card/index.js.map +1 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts.map +1 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts.map +1 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +351 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +351 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +351 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +351 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +351 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +351 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +351 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +351 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +351 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +351 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +351 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +351 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +351 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +351 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +351 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +351 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +351 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +351 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +351 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +351 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +351 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +351 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +351 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +351 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +351 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +351 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +351 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +351 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +351 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +351 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +351 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +351 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +351 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +351 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +351 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +351 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +527 -491
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +351 -0
- package/dist/locales/de.json +351 -0
- package/dist/locales/el.json +351 -0
- package/dist/locales/en.json +351 -0
- package/dist/locales/es.json +351 -0
- package/dist/locales/fr.json +351 -0
- package/dist/locales/hi.json +351 -0
- package/dist/locales/it.json +351 -0
- package/dist/locales/ja.json +351 -0
- package/dist/locales/nl.json +351 -0
- package/dist/locales/pl.json +351 -0
- package/dist/locales/pt.json +351 -0
- package/dist/locales/ro.json +351 -0
- package/dist/locales/ru.json +351 -0
- package/dist/locales/sq.json +351 -0
- package/dist/locales/sv.json +351 -0
- package/dist/locales/tr.json +351 -0
- package/dist/locales/zh.json +351 -0
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
- package/dist/patterns/alia-assistant/alia-types.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +42 -1
- package/dist/_chunks/agenda-card-CFyWSX7Z.js.map +0 -1
- package/dist/_chunks/agenda-tray-Dyj9ChHC.js.map +0 -1
- package/dist/_chunks/alia-sidebar-CVIPrdc9.js.map +0 -1
- package/dist/_chunks/booking-DlDVuWMd.js.map +0 -1
- package/dist/_chunks/calendar-YHFknAGv.js.map +0 -1
- package/dist/_chunks/chat-message-B5JpFj0F.js.map +0 -1
- package/dist/_chunks/contact-profile-card-DHyuAPXM.js.map +0 -1
- package/dist/_chunks/dialog-BTpZV6It.js.map +0 -1
- package/dist/_chunks/insert-result-C5ABnzDl.js.map +0 -1
- package/dist/_chunks/message-card-DSPw5ghw.js.map +0 -1
- package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
- package/dist/_chunks/operator-hero-7LiiP7zi.js.map +0 -1
- package/dist/_chunks/pdf-viewer-CWEXTlwq.js.map +0 -1
- package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
- package/dist/_chunks/shield-check-C73ma9Cs.js.map +0 -1
- package/dist/_chunks/workflow-map-Djn1QMJc.js.map +0 -1
|
@@ -1,50 +1,22 @@
|
|
|
1
|
-
import { jsxs as G, jsx as
|
|
2
|
-
import { forwardRef as it, useRef as
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { c as
|
|
5
|
-
import { B as
|
|
6
|
-
import {
|
|
7
|
-
import { I as
|
|
1
|
+
import { jsxs as G, jsx as g } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as it, useRef as Lt } from "react";
|
|
3
|
+
import { useTranslation as Tt } from "react-i18next";
|
|
4
|
+
import { c as Mt } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { B as It } from "./button-DD_0Xdmr.js";
|
|
6
|
+
import { L as Ct } from "./layers-pzGcbLPj.js";
|
|
7
|
+
import { I as Bt } from "./image-C6RM5hfF.js";
|
|
8
|
+
import { c as Et } from "./createLucideIcon-CrFbzy84.js";
|
|
8
9
|
/**
|
|
9
10
|
* @license lucide-react v1.8.0 - ISC
|
|
10
11
|
*
|
|
11
12
|
* This source code is licensed under the ISC license.
|
|
12
13
|
* See the LICENSE file in the root directory of this source tree.
|
|
13
14
|
*/
|
|
14
|
-
const
|
|
15
|
-
[
|
|
16
|
-
"path",
|
|
17
|
-
{
|
|
18
|
-
d: "M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",
|
|
19
|
-
key: "zw3jo"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
[
|
|
23
|
-
"path",
|
|
24
|
-
{
|
|
25
|
-
d: "M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",
|
|
26
|
-
key: "1wduqc"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
[
|
|
30
|
-
"path",
|
|
31
|
-
{
|
|
32
|
-
d: "M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",
|
|
33
|
-
key: "kqbvx6"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
], Et = lt("layers", Bt);
|
|
37
|
-
/**
|
|
38
|
-
* @license lucide-react v1.8.0 - ISC
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the ISC license.
|
|
41
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/
|
|
43
|
-
const _t = [
|
|
15
|
+
const At = [
|
|
44
16
|
["path", { d: "M12 4v16", key: "1654pz" }],
|
|
45
17
|
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
|
|
46
18
|
["path", { d: "M9 20h6", key: "s66wpe" }]
|
|
47
|
-
],
|
|
19
|
+
], _t = Et("type", At), St = 15, J = 40, Yt = [18.5, 25, 30];
|
|
48
20
|
function bn() {
|
|
49
21
|
return {
|
|
50
22
|
bands: [
|
|
@@ -53,19 +25,19 @@ function bn() {
|
|
|
53
25
|
{ upTo: 30, colorToken: "--warning-readable" },
|
|
54
26
|
{ upTo: J, colorToken: "--destructive" }
|
|
55
27
|
],
|
|
56
|
-
min:
|
|
28
|
+
min: St,
|
|
57
29
|
max: J,
|
|
58
|
-
ticks: [...
|
|
30
|
+
ticks: [...Yt]
|
|
59
31
|
};
|
|
60
32
|
}
|
|
61
|
-
const P = 14, U = 12,
|
|
33
|
+
const P = 14, U = 12, Nt = U / 2, Q = 18, Gt = 12, Ht = 16;
|
|
62
34
|
function S(t, n, i, a, r) {
|
|
63
35
|
if (i <= n) return a;
|
|
64
36
|
const s = (t - n) / (i - n);
|
|
65
37
|
return a + s * (r - a);
|
|
66
38
|
}
|
|
67
|
-
function
|
|
68
|
-
const a = P, r = n - P, s = Q +
|
|
39
|
+
function lt(t, { width: n, height: i }) {
|
|
40
|
+
const a = P, r = n - P, s = Q + Gt, e = Q, c = s + U + Ht;
|
|
69
41
|
let u = t.min;
|
|
70
42
|
const d = t.bands.map((l) => {
|
|
71
43
|
const L = Math.max(t.min, Math.min(u, t.max)), y = Math.max(t.min, Math.min(l.upTo, t.max));
|
|
@@ -83,7 +55,7 @@ function ct(t, { width: n, height: i }) {
|
|
|
83
55
|
barEnd: r,
|
|
84
56
|
barY: s,
|
|
85
57
|
barH: U,
|
|
86
|
-
barRadius:
|
|
58
|
+
barRadius: Nt,
|
|
87
59
|
bands: d,
|
|
88
60
|
marker: {
|
|
89
61
|
x: v,
|
|
@@ -99,35 +71,35 @@ function ct(t, { width: n, height: i }) {
|
|
|
99
71
|
ariaLabel: t.ariaLabel
|
|
100
72
|
};
|
|
101
73
|
}
|
|
102
|
-
const o = (t) => Math.round(t * 100) / 100,
|
|
103
|
-
function
|
|
74
|
+
const o = (t) => Math.round(t * 100) / 100, B = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
75
|
+
function ct(t, n, i, a, r, s) {
|
|
104
76
|
const e = t + i, c = n + a, u = s > 0 ? `A${s} ${s} 0 0 1 ${o(e)} ${o(n + s)}` : "", d = s > 0 ? `A${s} ${s} 0 0 1 ${o(e - s)} ${o(c)}` : "", f = r > 0 ? `A${r} ${r} 0 0 1 ${o(t)} ${o(c - r)}` : "", p = r > 0 ? `A${r} ${r} 0 0 1 ${o(t + r)} ${o(n)}` : "";
|
|
105
77
|
return `M${o(t + r)} ${o(n)} H${o(e - s)} ${u} V${o(
|
|
106
78
|
c - s
|
|
107
79
|
)} ${d} H${o(t + r)} ${f} V${o(n + r)} ${p} Z`;
|
|
108
80
|
}
|
|
109
|
-
function
|
|
110
|
-
const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c =
|
|
81
|
+
function Rt(t, n) {
|
|
82
|
+
const { resolve: i, font: a, fg: r, muted: s, track: e } = n, c = B(a), u = `<rect x="${o(t.barStart)}" y="${o(
|
|
111
83
|
t.barY
|
|
112
|
-
)}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m,
|
|
113
|
-
const I = i(m.colorToken), _ =
|
|
114
|
-
return `<path d="${
|
|
84
|
+
)}" width="${o(t.barEnd - t.barStart)}" height="${t.barH}" rx="${t.barRadius}" fill="${e}"/>`, d = t.bands.length, f = t.bands.map((m, x) => {
|
|
85
|
+
const I = i(m.colorToken), _ = x === 0 ? t.barRadius : 0, wt = x === d - 1 ? t.barRadius : 0;
|
|
86
|
+
return `<path d="${ct(
|
|
115
87
|
m.x,
|
|
116
88
|
t.barY,
|
|
117
89
|
m.w,
|
|
118
90
|
t.barH,
|
|
119
91
|
_,
|
|
120
|
-
|
|
92
|
+
wt
|
|
121
93
|
)}" fill="${I}"/>`;
|
|
122
94
|
}).join(""), p = t.barY + t.barH, v = p + 4, h = t.ticks.map((m) => {
|
|
123
|
-
const
|
|
95
|
+
const x = `<line x1="${o(m.x)}" y1="${o(p)}" x2="${o(
|
|
124
96
|
m.x
|
|
125
97
|
)}" y2="${o(v)}" stroke="${e}" stroke-width="1"/>`, I = `<text x="${o(
|
|
126
98
|
m.x
|
|
127
|
-
)}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${
|
|
99
|
+
)}" y="${o(t.tickLabelY)}" text-anchor="middle" font-family="${c}" font-size="9" fill="${s}">${B(
|
|
128
100
|
String(m.value)
|
|
129
101
|
)}</text>`;
|
|
130
|
-
return
|
|
102
|
+
return x + I;
|
|
131
103
|
}).join(""), $ = o(t.marker.x), l = t.barY - 3, L = t.barY + t.barH + 3, y = `<line x1="${$}" y1="${o(l)}" x2="${$}" y2="${o(
|
|
132
104
|
L
|
|
133
105
|
)}" stroke="${r}" stroke-width="2" stroke-linecap="round"/>`, b = t.barY - 4, T = `<polygon points="${$},${o(t.barY + 1)} ${o(
|
|
@@ -137,41 +109,41 @@ function Dt(t, n) {
|
|
|
137
109
|
if (t.marker.overflow) {
|
|
138
110
|
const m = t.barY + t.barH / 2;
|
|
139
111
|
if (t.marker.overflow === "start") {
|
|
140
|
-
const
|
|
141
|
-
M = `<polyline points="${o(
|
|
142
|
-
|
|
143
|
-
)},${o(m)} ${o(
|
|
112
|
+
const x = t.barStart - 2;
|
|
113
|
+
M = `<polyline points="${o(x + 5)},${o(m - 4)} ${o(
|
|
114
|
+
x
|
|
115
|
+
)},${o(m)} ${o(x + 5)},${o(
|
|
144
116
|
m + 4
|
|
145
117
|
)}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
|
|
146
118
|
} else {
|
|
147
|
-
const
|
|
148
|
-
M = `<polyline points="${o(
|
|
149
|
-
|
|
150
|
-
)},${o(m)} ${o(
|
|
119
|
+
const x = t.barEnd + 2;
|
|
120
|
+
M = `<polyline points="${o(x - 5)},${o(m - 4)} ${o(
|
|
121
|
+
x
|
|
122
|
+
)},${o(m)} ${o(x - 5)},${o(
|
|
151
123
|
m + 4
|
|
152
124
|
)}" fill="none" stroke="${r}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`;
|
|
153
125
|
}
|
|
154
126
|
}
|
|
155
|
-
const
|
|
127
|
+
const C = `<text x="${o(
|
|
156
128
|
t.barStart
|
|
157
|
-
)}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${
|
|
129
|
+
)}" y="${o(t.valueLabelY)}" font-family="${c}" font-size="13" font-weight="700" fill="${r}">${B(
|
|
158
130
|
t.valueLabel
|
|
159
131
|
)}</text>`, R = t.summaryLabel ? `<text x="${o(t.barEnd)}" y="${o(
|
|
160
132
|
t.valueLabelY
|
|
161
|
-
)}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${
|
|
133
|
+
)}" text-anchor="end" font-family="${c}" font-size="10" fill="${s}">${B(
|
|
162
134
|
t.summaryLabel
|
|
163
|
-
)}</text>` : "", D = `<title>${
|
|
164
|
-
return `<g role="img" aria-label="${
|
|
135
|
+
)}</text>` : "", D = `<title>${B(t.ariaLabel)}</title>`;
|
|
136
|
+
return `<g role="img" aria-label="${B(
|
|
165
137
|
t.ariaLabel
|
|
166
|
-
)}">${D}${u}${f}${h}${y}${T}${M}${
|
|
138
|
+
)}">${D}${u}${f}${h}${y}${T}${M}${C}${R}</g>`;
|
|
167
139
|
}
|
|
168
|
-
const
|
|
169
|
-
function
|
|
140
|
+
const Dt = 260, V = 64;
|
|
141
|
+
function Ot(t) {
|
|
170
142
|
return `var(${t})`;
|
|
171
143
|
}
|
|
172
|
-
const
|
|
173
|
-
function({ model: n, width: i =
|
|
174
|
-
const e =
|
|
144
|
+
const Pt = it(
|
|
145
|
+
function({ model: n, width: i = Dt, height: a = V, className: r }, s) {
|
|
146
|
+
const e = lt(n, { width: i, height: a }), c = e.barY + e.barH, u = c + 4, d = e.barY - 3, f = e.barY + e.barH + 3, p = e.barY - 4, v = e.bands.length, h = e.barY + e.barH / 2;
|
|
175
147
|
return /* @__PURE__ */ G(
|
|
176
148
|
"svg",
|
|
177
149
|
{
|
|
@@ -185,8 +157,8 @@ const Ut = it(
|
|
|
185
157
|
viewBox: `0 0 ${i} ${a}`,
|
|
186
158
|
className: ["ds:[font-family:var(--font-sans)]", r].filter(Boolean).join(" "),
|
|
187
159
|
children: [
|
|
188
|
-
/* @__PURE__ */
|
|
189
|
-
/* @__PURE__ */
|
|
160
|
+
/* @__PURE__ */ g("title", { children: e.ariaLabel }),
|
|
161
|
+
/* @__PURE__ */ g(
|
|
190
162
|
"rect",
|
|
191
163
|
{
|
|
192
164
|
x: o(e.barStart),
|
|
@@ -197,10 +169,10 @@ const Ut = it(
|
|
|
197
169
|
className: "ds:fill-[color:var(--muted)]"
|
|
198
170
|
}
|
|
199
171
|
),
|
|
200
|
-
e.bands.map(($, l) => /* @__PURE__ */
|
|
172
|
+
e.bands.map(($, l) => /* @__PURE__ */ g(
|
|
201
173
|
"path",
|
|
202
174
|
{
|
|
203
|
-
d:
|
|
175
|
+
d: ct(
|
|
204
176
|
$.x,
|
|
205
177
|
e.barY,
|
|
206
178
|
$.w,
|
|
@@ -208,12 +180,12 @@ const Ut = it(
|
|
|
208
180
|
l === 0 ? e.barRadius : 0,
|
|
209
181
|
l === v - 1 ? e.barRadius : 0
|
|
210
182
|
),
|
|
211
|
-
fill:
|
|
183
|
+
fill: Ot($.colorToken)
|
|
212
184
|
},
|
|
213
185
|
`${$.colorToken}-${l}`
|
|
214
186
|
)),
|
|
215
187
|
e.ticks.map(($) => /* @__PURE__ */ G("g", { children: [
|
|
216
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ g(
|
|
217
189
|
"line",
|
|
218
190
|
{
|
|
219
191
|
x1: o($.x),
|
|
@@ -224,7 +196,7 @@ const Ut = it(
|
|
|
224
196
|
className: "ds:stroke-[color:var(--border)]"
|
|
225
197
|
}
|
|
226
198
|
),
|
|
227
|
-
/* @__PURE__ */
|
|
199
|
+
/* @__PURE__ */ g(
|
|
228
200
|
"text",
|
|
229
201
|
{
|
|
230
202
|
x: o($.x),
|
|
@@ -236,7 +208,7 @@ const Ut = it(
|
|
|
236
208
|
}
|
|
237
209
|
)
|
|
238
210
|
] }, $.value)),
|
|
239
|
-
/* @__PURE__ */
|
|
211
|
+
/* @__PURE__ */ g(
|
|
240
212
|
"line",
|
|
241
213
|
{
|
|
242
214
|
x1: o(e.marker.x),
|
|
@@ -248,7 +220,7 @@ const Ut = it(
|
|
|
248
220
|
className: "ds:stroke-[color:var(--foreground)]"
|
|
249
221
|
}
|
|
250
222
|
),
|
|
251
|
-
/* @__PURE__ */
|
|
223
|
+
/* @__PURE__ */ g(
|
|
252
224
|
"polygon",
|
|
253
225
|
{
|
|
254
226
|
points: `${o(e.marker.x)},${o(e.barY + 1)} ${o(
|
|
@@ -257,7 +229,7 @@ const Ut = it(
|
|
|
257
229
|
className: "ds:fill-[color:var(--foreground)]"
|
|
258
230
|
}
|
|
259
231
|
),
|
|
260
|
-
e.marker.overflow === "start" ? /* @__PURE__ */
|
|
232
|
+
e.marker.overflow === "start" ? /* @__PURE__ */ g(
|
|
261
233
|
"polyline",
|
|
262
234
|
{
|
|
263
235
|
points: `${o(e.barStart + 3)},${o(h - 4)} ${o(
|
|
@@ -270,7 +242,7 @@ const Ut = it(
|
|
|
270
242
|
className: "ds:stroke-[color:var(--foreground)]"
|
|
271
243
|
}
|
|
272
244
|
) : null,
|
|
273
|
-
e.marker.overflow === "end" ? /* @__PURE__ */
|
|
245
|
+
e.marker.overflow === "end" ? /* @__PURE__ */ g(
|
|
274
246
|
"polyline",
|
|
275
247
|
{
|
|
276
248
|
points: `${o(e.barEnd - 3)},${o(h - 4)} ${o(
|
|
@@ -283,7 +255,7 @@ const Ut = it(
|
|
|
283
255
|
className: "ds:stroke-[color:var(--foreground)]"
|
|
284
256
|
}
|
|
285
257
|
) : null,
|
|
286
|
-
/* @__PURE__ */
|
|
258
|
+
/* @__PURE__ */ g(
|
|
287
259
|
"text",
|
|
288
260
|
{
|
|
289
261
|
x: o(e.barStart),
|
|
@@ -294,7 +266,7 @@ const Ut = it(
|
|
|
294
266
|
children: e.valueLabel
|
|
295
267
|
}
|
|
296
268
|
),
|
|
297
|
-
e.summaryLabel ? /* @__PURE__ */
|
|
269
|
+
e.summaryLabel ? /* @__PURE__ */ g(
|
|
298
270
|
"text",
|
|
299
271
|
{
|
|
300
272
|
x: o(e.barEnd),
|
|
@@ -310,8 +282,8 @@ const Ut = it(
|
|
|
310
282
|
);
|
|
311
283
|
}
|
|
312
284
|
);
|
|
313
|
-
|
|
314
|
-
const
|
|
285
|
+
Pt.displayName = "BandedGauge";
|
|
286
|
+
const Ut = 24, ut = 18, Y = 12, dt = {
|
|
315
287
|
activity: '<path d="M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"/>',
|
|
316
288
|
scale: '<path d="M12 3v18"/><path d="m19 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1"/><path d="m5 8 3 8a5 5 0 0 1-6 0zV7"/><path d="M7 21h10"/>',
|
|
317
289
|
ruler: '<path d="M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"/><path d="m14.5 12.5 2-2"/><path d="m11.5 9.5 2-2"/><path d="m8.5 6.5 2-2"/><path d="m17.5 15.5 2-2"/>',
|
|
@@ -325,22 +297,22 @@ const zt = 24, dt = 18, Y = 12, ft = {
|
|
|
325
297
|
"trending-up": '<path d="M16 7h6v6"/><path d="m22 7-8.5 8.5-5-5L2 17"/>',
|
|
326
298
|
percent: '<line x1="19" x2="5" y1="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/>'
|
|
327
299
|
};
|
|
328
|
-
function
|
|
329
|
-
return Object.prototype.hasOwnProperty.call(
|
|
300
|
+
function ft(t) {
|
|
301
|
+
return Object.prototype.hasOwnProperty.call(dt, t);
|
|
330
302
|
}
|
|
331
303
|
function tt(t, n, i, a, r) {
|
|
332
|
-
if (
|
|
333
|
-
const s = r /
|
|
334
|
-
return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${
|
|
304
|
+
if (!ft(t)) return "";
|
|
305
|
+
const s = r / Ut;
|
|
306
|
+
return `<g transform="translate(${i} ${a}) scale(${s})" fill="none" color="${n}" stroke="${n}" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${dt[t]}</g>`;
|
|
335
307
|
}
|
|
336
|
-
function
|
|
308
|
+
function A(t) {
|
|
337
309
|
return t.variant === "banded";
|
|
338
310
|
}
|
|
339
|
-
const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary",
|
|
340
|
-
function
|
|
311
|
+
const Ft = ["fg", "muted", "accent", "border", "bg"], j = "--primary", K = 380, $t = (t) => t.trim().replace(/^--/, "");
|
|
312
|
+
function zt(t) {
|
|
341
313
|
return `ds:text-[color:var(${t})]`;
|
|
342
314
|
}
|
|
343
|
-
function
|
|
315
|
+
function ht(t) {
|
|
344
316
|
return t.highlightToken ?? j;
|
|
345
317
|
}
|
|
346
318
|
function O(t) {
|
|
@@ -349,15 +321,15 @@ function O(t) {
|
|
|
349
321
|
const a = t.highlightToken ?? j;
|
|
350
322
|
n.add(a), n.add(`${a}-foreground`);
|
|
351
323
|
}
|
|
352
|
-
const i =
|
|
324
|
+
const i = ht(t);
|
|
353
325
|
if (n.add(i), t.gauge)
|
|
354
|
-
if (
|
|
326
|
+
if (A(t.gauge))
|
|
355
327
|
for (const a of t.gauge.bands) n.add(a.colorToken);
|
|
356
328
|
else
|
|
357
329
|
n.add(t.gauge.colorToken);
|
|
358
330
|
return [...n];
|
|
359
331
|
}
|
|
360
|
-
function
|
|
332
|
+
function F(t, n = []) {
|
|
361
333
|
const i = {
|
|
362
334
|
fg: "currentColor",
|
|
363
335
|
muted: "currentColor",
|
|
@@ -374,7 +346,7 @@ function z(t, n = []) {
|
|
|
374
346
|
}, r = {};
|
|
375
347
|
for (const s of n) {
|
|
376
348
|
const e = t.querySelector(
|
|
377
|
-
`[data-token="${
|
|
349
|
+
`[data-token="${$t(s)}"]`
|
|
378
350
|
);
|
|
379
351
|
if (e) {
|
|
380
352
|
const c = getComputedStyle(e).color;
|
|
@@ -396,19 +368,19 @@ function H(t, n, i) {
|
|
|
396
368
|
return n ? ((a = t.tokens) == null ? void 0 : a[n]) ?? i : i;
|
|
397
369
|
}
|
|
398
370
|
const k = (t) => t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
399
|
-
function
|
|
371
|
+
function pt(t) {
|
|
400
372
|
const n = [t.title];
|
|
401
373
|
t.highlight && n.push(t.highlight);
|
|
402
374
|
for (const i of t.fields) n.push(`• ${i.label}: ${i.value}`);
|
|
403
375
|
return n.join(`
|
|
404
376
|
`);
|
|
405
377
|
}
|
|
406
|
-
function
|
|
378
|
+
function bt(t) {
|
|
407
379
|
const n = t.fields.map((a) => `<li>${k(a.label)}: ${k(a.value)}</li>`).join(""), i = t.highlight ? `<p><strong>${k(t.highlight)}</strong></p>` : "";
|
|
408
380
|
return `<p><strong>${k(t.title)}</strong></p>${i}<ul>${n}</ul>`;
|
|
409
381
|
}
|
|
410
|
-
const w = 20,
|
|
411
|
-
function
|
|
382
|
+
const w = 20, E = w + 18, N = 22, Wt = 10, z = 22, nt = 16, et = 12, Xt = 12, mt = 34, W = 9, X = (mt + W) * 2, Vt = 16, at = ut, jt = 6;
|
|
383
|
+
function q(t, n) {
|
|
412
384
|
const i = n !== void 0 ? n : t.brand;
|
|
413
385
|
return typeof i == "string" ? i : !1;
|
|
414
386
|
}
|
|
@@ -419,7 +391,7 @@ function Kt(t) {
|
|
|
419
391
|
return Number.isFinite(n) && typeof t.max == "number" && t.max > 0 ? Math.min(1, Math.max(0, n / t.max)) : 1;
|
|
420
392
|
}
|
|
421
393
|
function gt(t, n) {
|
|
422
|
-
const i = !!t.highlight, a =
|
|
394
|
+
const i = !!t.highlight, a = E + Wt, r = (i ? a + N + nt : E + nt) + z - 6, s = r + Math.max(0, t.fields.length - 1) * z, e = t.gauge && A(t.gauge), d = t.gauge && !A(t.gauge) ? (i ? a : E) + X : 0, f = e ? s + Vt : null, p = f !== null ? f + V : 0, v = Math.max(s, d, p), h = n ? v + et + Xt - 4 : v, $ = Math.round(h + (n ? et : w));
|
|
423
395
|
return {
|
|
424
396
|
hasChip: i,
|
|
425
397
|
chipY: a,
|
|
@@ -430,11 +402,11 @@ function gt(t, n) {
|
|
|
430
402
|
height: $
|
|
431
403
|
};
|
|
432
404
|
}
|
|
433
|
-
function
|
|
405
|
+
function xt(t, n) {
|
|
434
406
|
return gt(t, n !== !1).height;
|
|
435
407
|
}
|
|
436
|
-
function
|
|
437
|
-
const s =
|
|
408
|
+
function qt(t, n, i, a, r) {
|
|
409
|
+
const s = mt, e = 2 * Math.PI * s, c = Kt(t), u = H(n, t.colorToken, n.accent), d = typeof t.segments == "number" && t.segments > 1 ? t.segments : 0, f = d ? 3 : 0, p = d ? e / d - f : e, v = d ? `${p} ${f}` : "", h = `${e * c} ${e}`, $ = `transform="rotate(-90 ${a} ${r})"`, l = k(
|
|
438
410
|
t.label ? `${t.value} — ${t.label}` : t.value
|
|
439
411
|
), L = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${n.border}" stroke-width="${W}"${v ? ` stroke-dasharray="${v}"` : ""} ${$}/>`, y = `<circle cx="${a}" cy="${r}" r="${s}" fill="none" stroke="${u}" stroke-width="${W}" stroke-linecap="round" stroke-dasharray="${h}" ${$}/>`, b = `<text x="${a}" y="${r + 1}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="16" font-weight="700" fill="${n.fg}">${k(
|
|
440
412
|
t.value
|
|
@@ -443,8 +415,8 @@ function Zt(t, n, i, a, r) {
|
|
|
443
415
|
)}</text>` : "";
|
|
444
416
|
return `<g role="img" aria-label="${l}"><title>${l}</title>${L}${y}${b}${T}</g>`;
|
|
445
417
|
}
|
|
446
|
-
function
|
|
447
|
-
const r = w - P, s = i - 2 * r, e =
|
|
418
|
+
function Zt(t, n, i, a) {
|
|
419
|
+
const r = w - P, s = i - 2 * r, e = lt(
|
|
448
420
|
{
|
|
449
421
|
value: t.value,
|
|
450
422
|
bands: t.bands,
|
|
@@ -457,7 +429,7 @@ function Jt(t, n, i, a) {
|
|
|
457
429
|
ticks: t.ticks
|
|
458
430
|
},
|
|
459
431
|
{ width: s, height: V }
|
|
460
|
-
), c =
|
|
432
|
+
), c = Rt(e, {
|
|
461
433
|
resolve: (u) => H(n, u, n.accent),
|
|
462
434
|
// Raw theme font — buildBandedGaugeSvgString escapes it once. Passing the
|
|
463
435
|
// card's already-escaped `font` here would double-escape and break it.
|
|
@@ -479,67 +451,67 @@ function rt([t, n, i]) {
|
|
|
479
451
|
};
|
|
480
452
|
return 0.2126 * a(t) + 0.7152 * a(n) + 0.0722 * a(i);
|
|
481
453
|
}
|
|
482
|
-
function
|
|
454
|
+
function Jt(t, n) {
|
|
483
455
|
const i = ot(t), a = ot(n);
|
|
484
456
|
if (!i || !a) return 0;
|
|
485
457
|
const r = rt(i), s = rt(a);
|
|
486
458
|
return (Math.max(r, s) + 0.05) / (Math.min(r, s) + 0.05);
|
|
487
459
|
}
|
|
488
|
-
function
|
|
489
|
-
const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c =
|
|
460
|
+
function Qt(t, n, i, a) {
|
|
461
|
+
const r = t.highlight, s = t.highlightToken ?? j, e = H(n, s, n.accent), c = Jt(n.bg, e) >= 3 ? n.bg : n.fg, u = Math.round(r.length * 7.2 + 28), d = w + u / 2, f = a + N / 2 + 1;
|
|
490
462
|
return `<rect x="${w}" y="${a}" width="${u}" height="${N}" rx="${N / 2}" fill="${e}"/><text x="${d}" y="${f}" text-anchor="middle" dominant-baseline="middle" font-family="${i}" font-size="12" font-weight="600" fill="${c}">${k(
|
|
491
463
|
r
|
|
492
464
|
)}</text>`;
|
|
493
465
|
}
|
|
494
466
|
function Z(t, n, i = !1) {
|
|
495
|
-
const a =
|
|
467
|
+
const a = K, r = gt(t, i !== !1), s = r.height, e = k(n.font), c = ht(t), u = H(n, c, n.accent), d = t.icon ? tt(
|
|
496
468
|
t.icon,
|
|
497
469
|
u,
|
|
498
470
|
a - w - at,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
) : "", f = w + Y +
|
|
502
|
-
const M = r.firstFieldY + T *
|
|
471
|
+
E - at + 2,
|
|
472
|
+
ut
|
|
473
|
+
) : "", f = w + Y + jt, p = t.fields.map((b, T) => {
|
|
474
|
+
const M = r.firstFieldY + T * z, C = T === 0, R = C ? 14 : 13, D = C ? 700 : 500, m = C ? u : n.fg, x = M - 4;
|
|
503
475
|
let I;
|
|
504
|
-
if (b.icon &&
|
|
476
|
+
if (b.icon && ft(b.icon)) {
|
|
505
477
|
const _ = u;
|
|
506
478
|
I = tt(
|
|
507
479
|
b.icon,
|
|
508
480
|
_,
|
|
509
481
|
w,
|
|
510
|
-
|
|
482
|
+
x - Y / 2,
|
|
511
483
|
Y
|
|
512
484
|
);
|
|
513
485
|
} else
|
|
514
|
-
I = `<circle cx="${w + Y / 2}" cy="${
|
|
486
|
+
I = `<circle cx="${w + Y / 2}" cy="${x}" r="2" fill="${n.muted}"/>`;
|
|
515
487
|
return `${I}<text x="${f}" y="${M}" font-family="${e}" font-size="13"><tspan fill="${n.muted}">${k(
|
|
516
488
|
b.label
|
|
517
489
|
)}: </tspan><tspan font-size="${R}" font-weight="${D}" fill="${m}">${k(
|
|
518
490
|
b.value
|
|
519
491
|
)}</tspan></text>`;
|
|
520
|
-
}).join(""), v = r.hasChip ?
|
|
492
|
+
}).join(""), v = r.hasChip ? Qt(t, n, e, r.chipY) : "";
|
|
521
493
|
let h = "";
|
|
522
|
-
t.gauge && (
|
|
494
|
+
t.gauge && (A(t.gauge) && r.bandedGaugeY !== null ? h = Zt(t.gauge, n, a, r.bandedGaugeY) : A(t.gauge) || (h = qt(
|
|
523
495
|
t.gauge,
|
|
524
496
|
n,
|
|
525
497
|
e,
|
|
526
498
|
a - w - X / 2,
|
|
527
|
-
(r.hasChip ? r.chipY :
|
|
499
|
+
(r.hasChip ? r.chipY : E) + X / 2
|
|
528
500
|
)));
|
|
529
501
|
const $ = i !== !1 ? `<text x="${w}" y="${r.footerY}" font-family="${e}" font-size="10" font-weight="500" fill="${n.muted}">${k(
|
|
530
502
|
i
|
|
531
|
-
)}</text>` : "", l = `<text x="${w}" y="${
|
|
503
|
+
)}</text>` : "", l = `<text x="${w}" y="${E}" font-family="${e}" font-size="16" font-weight="700" fill="${n.fg}">${k(
|
|
532
504
|
t.title
|
|
533
505
|
)}</text>`, L = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="${n.bg}"/>`, y = `<rect x="0.5" y="0.5" width="${a - 1}" height="${s - 1}" rx="12" fill="none" stroke="${n.border}"/>`;
|
|
534
506
|
return `<svg xmlns="http://www.w3.org/2000/svg" width="${a}" height="${s}" viewBox="0 0 ${a} ${s}" role="img" aria-label="${k(
|
|
535
507
|
t.title
|
|
536
508
|
)}">${L}${l}${d}${v}${h}${p}${$}${y}</svg>`;
|
|
537
509
|
}
|
|
538
|
-
function
|
|
510
|
+
function tn() {
|
|
539
511
|
var t;
|
|
540
512
|
return typeof navigator < "u" && typeof ((t = navigator.clipboard) == null ? void 0 : t.write) == "function" && typeof ClipboardItem < "u";
|
|
541
513
|
}
|
|
542
|
-
function
|
|
514
|
+
function vt(t, n, i) {
|
|
543
515
|
return new Promise((a, r) => {
|
|
544
516
|
const s = new Image();
|
|
545
517
|
s.decoding = "async", s.onload = () => {
|
|
@@ -556,46 +528,46 @@ function kt(t, n, i) {
|
|
|
556
528
|
}, s.onerror = () => r(new Error("SVG failed to decode as an image")), s.src = t;
|
|
557
529
|
});
|
|
558
530
|
}
|
|
559
|
-
function
|
|
531
|
+
function kt() {
|
|
560
532
|
const t = typeof window < "u" && typeof window.devicePixelRatio == "number" ? window.devicePixelRatio : 1;
|
|
561
533
|
return Math.max(2, t);
|
|
562
534
|
}
|
|
563
535
|
async function mn(t, n = {}) {
|
|
564
|
-
return (await
|
|
536
|
+
return (await yt(t, n)).dataUri;
|
|
565
537
|
}
|
|
566
|
-
async function
|
|
567
|
-
const { colours: i, scale: a =
|
|
538
|
+
async function yt(t, n = {}) {
|
|
539
|
+
const { colours: i, scale: a = kt() } = n, r = i ?? F(null), s = q(t, n.brand), e = Z(t, r, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = K, d = xt(t, s), f = await vt(
|
|
568
540
|
c,
|
|
569
541
|
Math.round(u * a),
|
|
570
542
|
Math.round(d * a)
|
|
571
543
|
);
|
|
572
|
-
return { dataUri: await
|
|
544
|
+
return { dataUri: await nn(f), width: u, height: d };
|
|
573
545
|
}
|
|
574
|
-
function
|
|
546
|
+
function nn(t) {
|
|
575
547
|
return new Promise((n, i) => {
|
|
576
548
|
const a = new FileReader();
|
|
577
549
|
a.onload = () => n(String(a.result)), a.onerror = () => i(a.error ?? new Error("FileReader error")), a.readAsDataURL(t);
|
|
578
550
|
});
|
|
579
551
|
}
|
|
580
|
-
async function
|
|
581
|
-
const a =
|
|
552
|
+
async function en(t, n, i) {
|
|
553
|
+
const a = pt(n), r = new Blob([a], { type: "text/plain" });
|
|
582
554
|
if (t === "text")
|
|
583
555
|
return new ClipboardItem({ "text/plain": r });
|
|
584
|
-
const s =
|
|
556
|
+
const s = q(n, void 0), e = Z(n, i, s), c = `data:image/svg+xml,${encodeURIComponent(e)}`, u = kt(), d = await vt(
|
|
585
557
|
c,
|
|
586
|
-
Math.round(
|
|
587
|
-
Math.round(
|
|
558
|
+
Math.round(K * u),
|
|
559
|
+
Math.round(xt(n, s) * u)
|
|
588
560
|
);
|
|
589
561
|
if (t === "image")
|
|
590
562
|
return new ClipboardItem({ "image/png": d, "text/plain": r });
|
|
591
|
-
const f = new Blob([
|
|
563
|
+
const f = new Blob([bt(n)], { type: "text/html" });
|
|
592
564
|
return new ClipboardItem({
|
|
593
565
|
"text/html": f,
|
|
594
566
|
"image/png": d,
|
|
595
567
|
"text/plain": r
|
|
596
568
|
});
|
|
597
569
|
}
|
|
598
|
-
const
|
|
570
|
+
const an = Mt(
|
|
599
571
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
600
572
|
{
|
|
601
573
|
variants: {
|
|
@@ -606,10 +578,10 @@ const on = It(
|
|
|
606
578
|
},
|
|
607
579
|
defaultVariants: { variant: "insert" }
|
|
608
580
|
}
|
|
609
|
-
),
|
|
610
|
-
text: /* @__PURE__ */
|
|
611
|
-
image: /* @__PURE__ */
|
|
612
|
-
"text-image": /* @__PURE__ */
|
|
581
|
+
), on = ["text", "image", "text-image"], rn = {
|
|
582
|
+
text: /* @__PURE__ */ g(_t, { "aria-hidden": !0 }),
|
|
583
|
+
image: /* @__PURE__ */ g(Bt, { "aria-hidden": !0 }),
|
|
584
|
+
"text-image": /* @__PURE__ */ g(Ct, { "aria-hidden": !0 })
|
|
613
585
|
}, st = {
|
|
614
586
|
insert: {
|
|
615
587
|
text: "insert.text",
|
|
@@ -621,7 +593,7 @@ const on = It(
|
|
|
621
593
|
image: "insert.copyImage",
|
|
622
594
|
"text-image": "insert.copyTextImage"
|
|
623
595
|
}
|
|
624
|
-
},
|
|
596
|
+
}, sn = it(
|
|
625
597
|
function({
|
|
626
598
|
card: n,
|
|
627
599
|
variant: i = "insert",
|
|
@@ -631,23 +603,23 @@ const on = It(
|
|
|
631
603
|
size: e = "sm",
|
|
632
604
|
intent: c = "primary"
|
|
633
605
|
}, u) {
|
|
634
|
-
const { t: d } =
|
|
635
|
-
const L =
|
|
606
|
+
const { t: d } = Tt(), f = Lt(null), p = (l) => {
|
|
607
|
+
const L = pt(n), y = bt(n);
|
|
636
608
|
let b = "", T = "";
|
|
637
|
-
const M = l === "text" ? null :
|
|
638
|
-
return M && (b = Z(n, M,
|
|
609
|
+
const M = l === "text" ? null : F(f.current, O(n));
|
|
610
|
+
return M && (b = Z(n, M, q(n, void 0)), T = `data:image/svg+xml,${encodeURIComponent(b)}`), { mode: l, text: L, html: y, svg: b, imageDataUri: T, pngDataUri: () => M ? yt(n, { colours: M }) : Promise.resolve({ dataUri: "", width: 0, height: 0 }) };
|
|
639
611
|
}, $ = i === "copy" ? (l) => {
|
|
640
|
-
if (!
|
|
612
|
+
if (!tn()) {
|
|
641
613
|
s == null || s(new Error("Clipboard write unavailable in this context"));
|
|
642
614
|
return;
|
|
643
615
|
}
|
|
644
|
-
const L =
|
|
616
|
+
const L = F(
|
|
645
617
|
f.current,
|
|
646
618
|
O(n)
|
|
647
619
|
);
|
|
648
620
|
(async () => {
|
|
649
621
|
try {
|
|
650
|
-
const y = await
|
|
622
|
+
const y = await en(l, n, L);
|
|
651
623
|
await navigator.clipboard.write([y]), r == null || r(l);
|
|
652
624
|
} catch (y) {
|
|
653
625
|
s == null || s(y);
|
|
@@ -662,10 +634,10 @@ const on = It(
|
|
|
662
634
|
ref: u,
|
|
663
635
|
"data-component": "insert-result",
|
|
664
636
|
"data-variant": i,
|
|
665
|
-
className:
|
|
637
|
+
className: an({ variant: i }),
|
|
666
638
|
children: [
|
|
667
639
|
/* @__PURE__ */ G("span", { ref: f, "aria-hidden": !0, className: "ds:sr-only", children: [
|
|
668
|
-
Ft.map((l) => /* @__PURE__ */
|
|
640
|
+
Ft.map((l) => /* @__PURE__ */ g(
|
|
669
641
|
"span",
|
|
670
642
|
{
|
|
671
643
|
"data-k": l,
|
|
@@ -673,22 +645,22 @@ const on = It(
|
|
|
673
645
|
},
|
|
674
646
|
l
|
|
675
647
|
)),
|
|
676
|
-
O(n).map((l) => /* @__PURE__ */
|
|
648
|
+
O(n).map((l) => /* @__PURE__ */ g(
|
|
677
649
|
"span",
|
|
678
650
|
{
|
|
679
|
-
"data-token":
|
|
680
|
-
className:
|
|
651
|
+
"data-token": $t(l),
|
|
652
|
+
className: zt(l)
|
|
681
653
|
},
|
|
682
654
|
l
|
|
683
655
|
))
|
|
684
656
|
] }),
|
|
685
|
-
|
|
686
|
-
|
|
657
|
+
on.map((l) => /* @__PURE__ */ g(
|
|
658
|
+
It,
|
|
687
659
|
{
|
|
688
660
|
type: "button",
|
|
689
661
|
intent: c,
|
|
690
662
|
size: e,
|
|
691
|
-
startIcon:
|
|
663
|
+
startIcon: rn[l],
|
|
692
664
|
"aria-label": d(st[i][l]),
|
|
693
665
|
onClick: () => $(l),
|
|
694
666
|
children: d(st[i][l])
|
|
@@ -700,12 +672,12 @@ const on = It(
|
|
|
700
672
|
);
|
|
701
673
|
}
|
|
702
674
|
);
|
|
703
|
-
|
|
675
|
+
sn.displayName = "InsertButton";
|
|
704
676
|
export {
|
|
705
|
-
|
|
706
|
-
|
|
677
|
+
Pt as B,
|
|
678
|
+
sn as I,
|
|
707
679
|
mn as a,
|
|
708
680
|
bn as b,
|
|
709
|
-
|
|
681
|
+
yt as s
|
|
710
682
|
};
|
|
711
|
-
//# sourceMappingURL=insert-result-
|
|
683
|
+
//# sourceMappingURL=insert-result-DNdi_JYW.js.map
|