@alfadocs/ui-kit 0.0.12
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/LICENSE +96 -0
- package/README.md +152 -0
- package/dist/_chunks/accordion-Dgcd38U_.js +117 -0
- package/dist/_chunks/accordion-Dgcd38U_.js.map +1 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js +17 -0
- package/dist/_chunks/accordion.agent-Cz-yglRa.js.map +1 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js +130 -0
- package/dist/_chunks/agenda-card-B2gq-gTq.js.map +1 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js +119 -0
- package/dist/_chunks/agenda-tray-twa8g_87.js.map +1 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js +379 -0
- package/dist/_chunks/ai-prompt-input-C6IY_Eds.js.map +1 -0
- package/dist/_chunks/alert-C5ud6CfE.js +187 -0
- package/dist/_chunks/alert-C5ud6CfE.js.map +1 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js +17 -0
- package/dist/_chunks/apexcharts-theme-cpBYmCcr.js.map +1 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js +129 -0
- package/dist/_chunks/app-frame-CmIUp9BD.js.map +1 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js +56 -0
- package/dist/_chunks/aspect-ratio-Bo3cZXmR.js.map +1 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js +375 -0
- package/dist/_chunks/audio-recorder-GkGNtW2X.js.map +1 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js +138 -0
- package/dist/_chunks/audio-visualiser-CIO3yy23.js.map +1 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js +371 -0
- package/dist/_chunks/autocomplete.agent-kb0nmr6F.js.map +1 -0
- package/dist/_chunks/avatar-BsV7vRA6.js +113 -0
- package/dist/_chunks/avatar-BsV7vRA6.js.map +1 -0
- package/dist/_chunks/badge--CmSr7ok.js +104 -0
- package/dist/_chunks/badge--CmSr7ok.js.map +1 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js +997 -0
- package/dist/_chunks/balance-cell-renderer-BQwN51rT.js.map +1 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js +292 -0
- package/dist/_chunks/breadcrumb-DnO6eHSS.js.map +1 -0
- package/dist/_chunks/button-CXL8bA8G.js +119 -0
- package/dist/_chunks/button-CXL8bA8G.js.map +1 -0
- package/dist/_chunks/button-group-CI7LFxt3.js +120 -0
- package/dist/_chunks/button-group-CI7LFxt3.js.map +1 -0
- package/dist/_chunks/button.agent-BuGZBktn.js +17 -0
- package/dist/_chunks/button.agent-BuGZBktn.js.map +1 -0
- package/dist/_chunks/calendar-BIXVzhkL.js +998 -0
- package/dist/_chunks/calendar-BIXVzhkL.js.map +1 -0
- package/dist/_chunks/card-n97MNPP2.js +158 -0
- package/dist/_chunks/card-n97MNPP2.js.map +1 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js +267 -0
- package/dist/_chunks/chart.agent-DkmVXNsI.js.map +1 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js +174 -0
- package/dist/_chunks/chat-container-SR3UWxbL.js.map +1 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js +22 -0
- package/dist/_chunks/chat-container.agent-Dhw9xCJt.js.map +1 -0
- package/dist/_chunks/chat-input-aphxDjZL.js +221 -0
- package/dist/_chunks/chat-input-aphxDjZL.js.map +1 -0
- package/dist/_chunks/chat-message-CdJSD18D.js +228 -0
- package/dist/_chunks/chat-message-CdJSD18D.js.map +1 -0
- package/dist/_chunks/check-DPdL_Sm7.js +12 -0
- package/dist/_chunks/check-DPdL_Sm7.js.map +1 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js +116 -0
- package/dist/_chunks/checkbox-CfiZ0FZc.js.map +1 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js +145 -0
- package/dist/_chunks/checkbox-group-D1aqVI0-.js.map +1 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js +12 -0
- package/dist/_chunks/chevron-down-BX_NP2Yh.js.map +1 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js +12 -0
- package/dist/_chunks/chevron-left-CX1jqD2M.js.map +1 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js +12 -0
- package/dist/_chunks/chevron-right-BrpYejk0.js.map +1 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js +12 -0
- package/dist/_chunks/chevron-up-zOEDrmBB.js.map +1 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js +26 -0
- package/dist/_chunks/chevrons-right-d9MwesPG.js.map +1 -0
- package/dist/_chunks/circle-BkqTgYmt.js +12 -0
- package/dist/_chunks/circle-BkqTgYmt.js.map +1 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js +16 -0
- package/dist/_chunks/circle-alert-ChA9opNA.js.map +1 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js +15 -0
- package/dist/_chunks/circle-check-9AeSgJD_.js.map +1 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js +16 -0
- package/dist/_chunks/circle-x-Du2CmjaU.js.map +1 -0
- package/dist/_chunks/clock-21AGPWJ5.js +15 -0
- package/dist/_chunks/clock-21AGPWJ5.js.map +1 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js +66 -0
- package/dist/_chunks/collapsible-jBFm7Ah8.js.map +1 -0
- package/dist/_chunks/color-picker-CiotzQJF.js +554 -0
- package/dist/_chunks/color-picker-CiotzQJF.js.map +1 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js +349 -0
- package/dist/_chunks/combobox.agent-B6RwDSct.js.map +1 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js +350 -0
- package/dist/_chunks/command-palette.agent-B87_OkmC.js.map +1 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js +10 -0
- package/dist/_chunks/compose-refs-C0k0tdqF.js.map +1 -0
- package/dist/_chunks/copy-B00HK7tj.js +15 -0
- package/dist/_chunks/copy-B00HK7tj.js.map +1 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js +117 -0
- package/dist/_chunks/createLucideIcon-CrFbzy84.js.map +1 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js +1726 -0
- package/dist/_chunks/date-picker-CdPuI3dK.js.map +1 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js +183 -0
- package/dist/_chunks/date-range-picker-DfK4cjln.js.map +1 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js +202 -0
- package/dist/_chunks/date-time-picker-CX_FMsLG.js.map +1 -0
- package/dist/_chunks/description-list-C5UPZgX6.js +187 -0
- package/dist/_chunks/description-list-C5UPZgX6.js.map +1 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js +147 -0
- package/dist/_chunks/dialog.agent-B276rAQF.js.map +1 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js +210 -0
- package/dist/_chunks/dropdown-menu-CJKvK7VG.js.map +1 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js +17 -0
- package/dist/_chunks/dropdown-menu.agent-Cry4Nmes.js.map +1 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js +16 -0
- package/dist/_chunks/ellipsis-rgGdiK_9.js.map +1 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js +303 -0
- package/dist/_chunks/empty-state-DiG7vYBM.js.map +1 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js +29 -0
- package/dist/_chunks/eye-off-xEXDAh5z.js.map +1 -0
- package/dist/_chunks/file-text-DSNuv2B8.js +24 -0
- package/dist/_chunks/file-text-DSNuv2B8.js.map +1 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js +649 -0
- package/dist/_chunks/file-upload.agent-BMow5yDY.js.map +1 -0
- package/dist/_chunks/flag-ChP784EM.js +635 -0
- package/dist/_chunks/flag-ChP784EM.js.map +1 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js +95 -0
- package/dist/_chunks/floating-action-button-BM9ib-Wf.js.map +1 -0
- package/dist/_chunks/form-field-B4bwrccN.js +121 -0
- package/dist/_chunks/form-field-B4bwrccN.js.map +1 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js +19 -0
- package/dist/_chunks/form-field-context-94LwgYTQ.js.map +1 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js +197 -0
- package/dist/_chunks/freemium-paywall-DVyNsQHS.js.map +1 -0
- package/dist/_chunks/globe-BkEFMNSg.js +16 -0
- package/dist/_chunks/globe-BkEFMNSg.js.map +1 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js +16 -0
- package/dist/_chunks/group-options-BvKhQ3xb.js.map +1 -0
- package/dist/_chunks/header-BpKaSL_v.js +310 -0
- package/dist/_chunks/header-BpKaSL_v.js.map +1 -0
- package/dist/_chunks/icon-button-C1vpylg3.js +45 -0
- package/dist/_chunks/icon-button-C1vpylg3.js.map +1 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js +204 -0
- package/dist/_chunks/icon-button-group-tERESY-n.js.map +1 -0
- package/dist/_chunks/index-4xgbg-sn.js +317 -0
- package/dist/_chunks/index-4xgbg-sn.js.map +1 -0
- package/dist/_chunks/index-CJE9uQmb.js +646 -0
- package/dist/_chunks/index-CJE9uQmb.js.map +1 -0
- package/dist/_chunks/index-CeY1nNvd.js +2853 -0
- package/dist/_chunks/index-CeY1nNvd.js.map +1 -0
- package/dist/_chunks/index-D2ZczOXr.js +48 -0
- package/dist/_chunks/index-D2ZczOXr.js.map +1 -0
- package/dist/_chunks/info-B9XNKn05.js +16 -0
- package/dist/_chunks/info-B9XNKn05.js.map +1 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js +32 -0
- package/dist/_chunks/input-surface-D5OMCB1W.js.map +1 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js +39 -0
- package/dist/_chunks/isSameDay-ecuM8PBB.js.map +1 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js +1307 -0
- package/dist/_chunks/isSameMonth-5wNF2f4I.js.map +1 -0
- package/dist/_chunks/kbd-0iPlQjgC.js +220 -0
- package/dist/_chunks/kbd-0iPlQjgC.js.map +1 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js +75 -0
- package/dist/_chunks/key-value-pair--Je59tAF.js.map +1 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js +755 -0
- package/dist/_chunks/leo-sidebar-9A9AWBxX.js.map +1 -0
- package/dist/_chunks/list-n8vI8Yvn.js +356 -0
- package/dist/_chunks/list-n8vI8Yvn.js.map +1 -0
- package/dist/_chunks/log-out-616hnn2-.js +16 -0
- package/dist/_chunks/log-out-616hnn2-.js.map +1 -0
- package/dist/_chunks/logo-BlIdYz3n.js +140 -0
- package/dist/_chunks/logo-BlIdYz3n.js.map +1 -0
- package/dist/_chunks/mail-C8irm52s.js +15 -0
- package/dist/_chunks/mail-C8irm52s.js.map +1 -0
- package/dist/_chunks/message-card-g5VS5Q80.js +275 -0
- package/dist/_chunks/message-card-g5VS5Q80.js.map +1 -0
- package/dist/_chunks/message-tray-CAk-iibU.js +302 -0
- package/dist/_chunks/message-tray-CAk-iibU.js.map +1 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js +449 -0
- package/dist/_chunks/multi-select.agent-Cf4pU636.js.map +1 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js +208 -0
- package/dist/_chunks/navigation-menu-DBDsAmXc.js.map +1 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js +7 -0
- package/dist/_chunks/normalize-diacritics-BNGbFNlJ.js.map +1 -0
- package/dist/_chunks/notification-card-CQxJporb.js +255 -0
- package/dist/_chunks/notification-card-CQxJporb.js.map +1 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js +324 -0
- package/dist/_chunks/notification-tray-CNWPuPZp.js.map +1 -0
- package/dist/_chunks/number-input-B1Th0DdC.js +248 -0
- package/dist/_chunks/number-input-B1Th0DdC.js.map +1 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js +188 -0
- package/dist/_chunks/otp-input-CmoBuZ4K.js.map +1 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js +379 -0
- package/dist/_chunks/pagination.agent-B5KLDCMN.js.map +1 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js +193 -0
- package/dist/_chunks/password-input-DnjNh-hQ.js.map +1 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js +193 -0
- package/dist/_chunks/patient-shell-BNrTtcbu.js.map +1 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js +579 -0
- package/dist/_chunks/payment-form-Cf7U6r5L.js.map +1 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js +26 -0
- package/dist/_chunks/payment-form.agent-BkEnRerR.js.map +1 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js +858 -0
- package/dist/_chunks/pdf-viewer.agent-DXjgDItg.js.map +1 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js +427 -0
- package/dist/_chunks/phone-input-C2dtIuxW.js.map +1 -0
- package/dist/_chunks/plus-CYKNmfuA.js +15 -0
- package/dist/_chunks/plus-CYKNmfuA.js.map +1 -0
- package/dist/_chunks/popover-D1woU9mP.js +222 -0
- package/dist/_chunks/popover-D1woU9mP.js.map +1 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js +13 -0
- package/dist/_chunks/popover.agent-C0qOx9WT.js.map +1 -0
- package/dist/_chunks/printer-CeVEWfQq.js +22 -0
- package/dist/_chunks/printer-CeVEWfQq.js.map +1 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js +130 -0
- package/dist/_chunks/privacy-lock-Bk5mIqMq.js.map +1 -0
- package/dist/_chunks/progress-DL3-izuO.js +252 -0
- package/dist/_chunks/progress-DL3-izuO.js.map +1 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js +22 -0
- package/dist/_chunks/progress.agent-CXkHURjX.js.map +1 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js +561 -0
- package/dist/_chunks/purify.es-DpIUMBYC.js.map +1 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js +185 -0
- package/dist/_chunks/radio-group-CXN9qNPe.js.map +1 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js +1824 -0
- package/dist/_chunks/react-day-picker-DQKDiJ37.js.map +1 -0
- package/dist/_chunks/registry-C9nwlNyL.js +21 -0
- package/dist/_chunks/registry-C9nwlNyL.js.map +1 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js +435 -0
- package/dist/_chunks/resizable.agent-DVk_jJur.js.map +1 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js +835 -0
- package/dist/_chunks/rich-text-editor.agent-BOjF4Xao.js.map +1 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js +14 -0
- package/dist/_chunks/safe-image-src-DstKgCo7.js.map +1 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js +144 -0
- package/dist/_chunks/scroll-area-DXn-YWHY.js.map +1 -0
- package/dist/_chunks/search-BonnQsHv.js +15 -0
- package/dist/_chunks/search-BonnQsHv.js.map +1 -0
- package/dist/_chunks/search-bar-DgSOAajC.js +396 -0
- package/dist/_chunks/search-bar-DgSOAajC.js.map +1 -0
- package/dist/_chunks/search-input-D4tC_Prn.js +197 -0
- package/dist/_chunks/search-input-D4tC_Prn.js.map +1 -0
- package/dist/_chunks/select-B4m4upMg.js +320 -0
- package/dist/_chunks/select-B4m4upMg.js.map +1 -0
- package/dist/_chunks/send-CySZIRPJ.js +21 -0
- package/dist/_chunks/send-CySZIRPJ.js.map +1 -0
- package/dist/_chunks/separator-DExI4amU.js +58 -0
- package/dist/_chunks/separator-DExI4amU.js.map +1 -0
- package/dist/_chunks/sheet-D6XOx0fK.js +188 -0
- package/dist/_chunks/sheet-D6XOx0fK.js.map +1 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js +13 -0
- package/dist/_chunks/sheet.agent-DwQlBqK9.js.map +1 -0
- package/dist/_chunks/sidebar-r645O-k9.js +1076 -0
- package/dist/_chunks/sidebar-r645O-k9.js.map +1 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js +17 -0
- package/dist/_chunks/sidebar.agent-B0fnH9CC.js.map +1 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js +88 -0
- package/dist/_chunks/sign-in-with-alfadocs-button-Gu7Qk2gq.js.map +1 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js +485 -0
- package/dist/_chunks/signature-capture.agent-L_1_-zVR.js.map +1 -0
- package/dist/_chunks/skeleton-vbTWUntB.js +95 -0
- package/dist/_chunks/skeleton-vbTWUntB.js.map +1 -0
- package/dist/_chunks/slider-B3DBwmcm.js +273 -0
- package/dist/_chunks/slider-B3DBwmcm.js.map +1 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js +491 -0
- package/dist/_chunks/slot-grid-DL_Tuj0p.js.map +1 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js +238 -0
- package/dist/_chunks/sparkline.agent-BDTXzTy9.js.map +1 -0
- package/dist/_chunks/spinner-77xUGpuX.js +163 -0
- package/dist/_chunks/spinner-77xUGpuX.js.map +1 -0
- package/dist/_chunks/square-CZoGU14v.js +14 -0
- package/dist/_chunks/square-CZoGU14v.js.map +1 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js +18 -0
- package/dist/_chunks/square-check-big-Jr-0202D.js.map +1 -0
- package/dist/_chunks/stat-CrumvZWf.js +208 -0
- package/dist/_chunks/stat-CrumvZWf.js.map +1 -0
- package/dist/_chunks/stepper-C-sIpRRU.js +7 -0
- package/dist/_chunks/stepper-C-sIpRRU.js.map +1 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js +232 -0
- package/dist/_chunks/stepper-accordion-BkvqQWPI.js.map +1 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js +569 -0
- package/dist/_chunks/stepper-calendar-BQMjrwzo.js.map +1 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js +128 -0
- package/dist/_chunks/stepper-progress-Bwfl-0rV.js.map +1 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js +104 -0
- package/dist/_chunks/streaming-text-Cu9YQe_1.js.map +1 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js +157 -0
- package/dist/_chunks/suggestion-chip-XkxDJiPW.js.map +1 -0
- package/dist/_chunks/switch-DyC0ThNT.js +137 -0
- package/dist/_chunks/switch-DyC0ThNT.js.map +1 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js +347 -0
- package/dist/_chunks/tabs.agent-FsGU3sZL.js.map +1 -0
- package/dist/_chunks/tag-BucAvfTX.js +194 -0
- package/dist/_chunks/tag-BucAvfTX.js.map +1 -0
- package/dist/_chunks/task-card-uxjApfcg.js +112 -0
- package/dist/_chunks/task-card-uxjApfcg.js.map +1 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js +99 -0
- package/dist/_chunks/task-tray-BdfM3p8N.js.map +1 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js +152 -0
- package/dist/_chunks/text-area-CKxZ7cS3.js.map +1 -0
- package/dist/_chunks/text-input-D16CcMlL.js +187 -0
- package/dist/_chunks/text-input-D16CcMlL.js.map +1 -0
- package/dist/_chunks/theme-root-vapFjsnt.js +18 -0
- package/dist/_chunks/theme-root-vapFjsnt.js.map +1 -0
- package/dist/_chunks/time-picker-BapZq0OY.js +321 -0
- package/dist/_chunks/time-picker-BapZq0OY.js.map +1 -0
- package/dist/_chunks/timeline-D3VOf4RT.js +219 -0
- package/dist/_chunks/timeline-D3VOf4RT.js.map +1 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js +108 -0
- package/dist/_chunks/timestamp-BLM-jjdw.js.map +1 -0
- package/dist/_chunks/toast-DSCqnDRl.js +884 -0
- package/dist/_chunks/toast-DSCqnDRl.js.map +1 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js +97 -0
- package/dist/_chunks/tooltip-DF6WjD1r.js.map +1 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js +762 -0
- package/dist/_chunks/tooth-scheme.agent-CFKl3iQr.js.map +1 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js +265 -0
- package/dist/_chunks/transcript-panel-aI14fHYA.js.map +1 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js +22 -0
- package/dist/_chunks/triangle-alert-CBPUIzQo.js.map +1 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js +81 -0
- package/dist/_chunks/typing-indicator-BTVDEpnd.js.map +1 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js +28 -0
- package/dist/_chunks/use-debounced-callback-BisrB-Fq.js.map +1 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js +40 -0
- package/dist/_chunks/use-direction-D6rvvG9G.js.map +1 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js +15 -0
- package/dist/_chunks/use-prefers-reduced-motion-BMwIQRjB.js.map +1 -0
- package/dist/_chunks/use-theme-BMUhembX.js +148 -0
- package/dist/_chunks/use-theme-BMUhembX.js.map +1 -0
- package/dist/_chunks/user-CPxpqFjJ.js +15 -0
- package/dist/_chunks/user-CPxpqFjJ.js.map +1 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js +179 -0
- package/dist/_chunks/warning-stack-Cyf_81SL.js.map +1 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js +1337 -0
- package/dist/_chunks/workflow-map-Uf-hHAO3.js.map +1 -0
- package/dist/_chunks/x-CCcI3eJp.js +15 -0
- package/dist/_chunks/x-CCcI3eJp.js.map +1 -0
- package/dist/agent/index.d.ts +5 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/registry.d.ts +26 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/types.d.ts +148 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent-catalog.json +813 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_BW.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +14 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +13 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts.map +1 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts +12 -0
- package/dist/brand/logo-asset/Alfadocs_Logo_Purple.d.ts.map +1 -0
- package/dist/brand/logo-asset/index.d.ts +6 -0
- package/dist/brand/logo-asset/index.d.ts.map +1 -0
- package/dist/components/_shared/calendar-chevron.d.ts +4 -0
- package/dist/components/_shared/calendar-chevron.d.ts.map +1 -0
- package/dist/components/_shared/compose-refs.d.ts +3 -0
- package/dist/components/_shared/compose-refs.d.ts.map +1 -0
- package/dist/components/_shared/date-locale.d.ts +5 -0
- package/dist/components/_shared/date-locale.d.ts.map +1 -0
- package/dist/components/_shared/date-picker-variants.d.ts +10 -0
- package/dist/components/_shared/date-picker-variants.d.ts.map +1 -0
- package/dist/components/_shared/date-utils.d.ts +3 -0
- package/dist/components/_shared/date-utils.d.ts.map +1 -0
- package/dist/components/_shared/group-options.d.ts +6 -0
- package/dist/components/_shared/group-options.d.ts.map +1 -0
- package/dist/components/_shared/index.d.ts +15 -0
- package/dist/components/_shared/index.d.ts.map +1 -0
- package/dist/components/_shared/input-surface.d.ts +23 -0
- package/dist/components/_shared/input-surface.d.ts.map +1 -0
- package/dist/components/_shared/normalize-diacritics.d.ts +2 -0
- package/dist/components/_shared/normalize-diacritics.d.ts.map +1 -0
- package/dist/components/_shared/option.d.ts +8 -0
- package/dist/components/_shared/option.d.ts.map +1 -0
- package/dist/components/_shared/safe-html.d.ts +30 -0
- package/dist/components/_shared/safe-html.d.ts.map +1 -0
- package/dist/components/_shared/safe-image-src.d.ts +3 -0
- package/dist/components/_shared/safe-image-src.d.ts.map +1 -0
- package/dist/components/_shared/stepper.d.ts +17 -0
- package/dist/components/_shared/stepper.d.ts.map +1 -0
- package/dist/components/_shared/time.d.ts +6 -0
- package/dist/components/_shared/time.d.ts.map +1 -0
- package/dist/components/_shared/use-debounced-callback.d.ts +6 -0
- package/dist/components/_shared/use-debounced-callback.d.ts.map +1 -0
- package/dist/components/_shared/use-direction.d.ts +19 -0
- package/dist/components/_shared/use-direction.d.ts.map +1 -0
- package/dist/components/accordion/accordion.agent.d.ts +3 -0
- package/dist/components/accordion/accordion.agent.d.ts.map +1 -0
- package/dist/components/accordion/accordion.d.ts +41 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/index.d.ts +4 -0
- package/dist/components/accordion/index.d.ts.map +1 -0
- package/dist/components/accordion/index.js +10 -0
- package/dist/components/accordion/index.js.map +1 -0
- package/dist/components/agenda-card/agenda-card.d.ts +36 -0
- package/dist/components/agenda-card/agenda-card.d.ts.map +1 -0
- package/dist/components/agenda-card/index.d.ts +3 -0
- package/dist/components/agenda-card/index.d.ts.map +1 -0
- package/dist/components/agenda-card/index.js +6 -0
- package/dist/components/agenda-card/index.js.map +1 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts +24 -0
- package/dist/components/agenda-tray/agenda-tray.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.d.ts +3 -0
- package/dist/components/agenda-tray/index.d.ts.map +1 -0
- package/dist/components/agenda-tray/index.js +5 -0
- package/dist/components/agenda-tray/index.js.map +1 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts +49 -0
- package/dist/components/ai-prompt-input/ai-prompt-input.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.d.ts +3 -0
- package/dist/components/ai-prompt-input/index.d.ts.map +1 -0
- package/dist/components/ai-prompt-input/index.js +5 -0
- package/dist/components/ai-prompt-input/index.js.map +1 -0
- package/dist/components/alert/alert.d.ts +23 -0
- package/dist/components/alert/alert.d.ts.map +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/alert/index.d.ts.map +1 -0
- package/dist/components/alert/index.js +5 -0
- package/dist/components/alert/index.js.map +1 -0
- package/dist/components/app-frame/app-frame.d.ts +33 -0
- package/dist/components/app-frame/app-frame.d.ts.map +1 -0
- package/dist/components/app-frame/index.d.ts +3 -0
- package/dist/components/app-frame/index.d.ts.map +1 -0
- package/dist/components/app-frame/index.js +5 -0
- package/dist/components/app-frame/index.js.map +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +16 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.d.ts +4 -0
- package/dist/components/aspect-ratio/index.d.ts.map +1 -0
- package/dist/components/aspect-ratio/index.js +7 -0
- package/dist/components/aspect-ratio/index.js.map +1 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts +26 -0
- package/dist/components/audio-recorder/audio-recorder.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.d.ts +3 -0
- package/dist/components/audio-recorder/index.d.ts.map +1 -0
- package/dist/components/audio-recorder/index.js +5 -0
- package/dist/components/audio-recorder/index.js.map +1 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts +18 -0
- package/dist/components/audio-visualiser/audio-visualiser.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.d.ts +3 -0
- package/dist/components/audio-visualiser/index.d.ts.map +1 -0
- package/dist/components/audio-visualiser/index.js +5 -0
- package/dist/components/audio-visualiser/index.js.map +1 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts +3 -0
- package/dist/components/autocomplete/autocomplete.agent.d.ts.map +1 -0
- package/dist/components/autocomplete/autocomplete.d.ts +41 -0
- package/dist/components/autocomplete/autocomplete.d.ts.map +1 -0
- package/dist/components/autocomplete/index.d.ts +4 -0
- package/dist/components/autocomplete/index.d.ts.map +1 -0
- package/dist/components/autocomplete/index.js +7 -0
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +29 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/index.d.ts +3 -0
- package/dist/components/avatar/index.d.ts.map +1 -0
- package/dist/components/avatar/index.js +7 -0
- package/dist/components/avatar/index.js.map +1 -0
- package/dist/components/badge/badge.d.ts +20 -0
- package/dist/components/badge/badge.d.ts.map +1 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/badge/index.d.ts.map +1 -0
- package/dist/components/badge/index.js +5 -0
- package/dist/components/badge/index.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +51 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.d.ts +3 -0
- package/dist/components/breadcrumb/index.d.ts.map +1 -0
- package/dist/components/breadcrumb/index.js +10 -0
- package/dist/components/breadcrumb/index.js.map +1 -0
- package/dist/components/button/button.agent.d.ts +3 -0
- package/dist/components/button/button.agent.d.ts.map +1 -0
- package/dist/components/button/button.d.ts +21 -0
- package/dist/components/button/button.d.ts.map +1 -0
- package/dist/components/button/icon-button.d.ts +29 -0
- package/dist/components/button/icon-button.d.ts.map +1 -0
- package/dist/components/button/index.d.ts +4 -0
- package/dist/components/button/index.d.ts.map +1 -0
- package/dist/components/button/index.js +9 -0
- package/dist/components/button/index.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +29 -0
- package/dist/components/button-group/button-group.d.ts.map +1 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-group/index.d.ts.map +1 -0
- package/dist/components/button-group/index.js +5 -0
- package/dist/components/button-group/index.js.map +1 -0
- package/dist/components/calendar/calendar.agent.d.ts +4 -0
- package/dist/components/calendar/calendar.agent.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +226 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -0
- package/dist/components/calendar/contrast-warning.d.ts +20 -0
- package/dist/components/calendar/contrast-warning.d.ts.map +1 -0
- package/dist/components/calendar/index.d.ts +4 -0
- package/dist/components/calendar/index.d.ts.map +1 -0
- package/dist/components/calendar/index.js +7 -0
- package/dist/components/calendar/index.js.map +1 -0
- package/dist/components/card/card.d.ts +29 -0
- package/dist/components/card/card.d.ts.map +1 -0
- package/dist/components/card/index.d.ts +3 -0
- package/dist/components/card/index.d.ts.map +1 -0
- package/dist/components/card/index.js +5 -0
- package/dist/components/card/index.js.map +1 -0
- package/dist/components/chart/chart.agent.d.ts +4 -0
- package/dist/components/chart/chart.agent.d.ts.map +1 -0
- package/dist/components/chart/chart.d.ts +45 -0
- package/dist/components/chart/chart.d.ts.map +1 -0
- package/dist/components/chart/index.d.ts +4 -0
- package/dist/components/chart/index.d.ts.map +1 -0
- package/dist/components/chart/index.js +7 -0
- package/dist/components/chart/index.js.map +1 -0
- package/dist/components/chat-container/chat-container.agent.d.ts +4 -0
- package/dist/components/chat-container/chat-container.agent.d.ts.map +1 -0
- package/dist/components/chat-container/chat-container.d.ts +36 -0
- package/dist/components/chat-container/chat-container.d.ts.map +1 -0
- package/dist/components/chat-container/index.d.ts +4 -0
- package/dist/components/chat-container/index.d.ts.map +1 -0
- package/dist/components/chat-container/index.js +7 -0
- package/dist/components/chat-container/index.js.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts +32 -0
- package/dist/components/chat-input/chat-input.d.ts.map +1 -0
- package/dist/components/chat-input/index.d.ts +3 -0
- package/dist/components/chat-input/index.d.ts.map +1 -0
- package/dist/components/chat-input/index.js +5 -0
- package/dist/components/chat-input/index.js.map +1 -0
- package/dist/components/chat-message/chat-message.d.ts +36 -0
- package/dist/components/chat-message/chat-message.d.ts.map +1 -0
- package/dist/components/chat-message/index.d.ts +3 -0
- package/dist/components/chat-message/index.d.ts.map +1 -0
- package/dist/components/chat-message/index.js +5 -0
- package/dist/components/chat-message/index.js.map +1 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts +9 -0
- package/dist/components/checkbox/checkbox-group-context.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +18 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/checkbox/index.js +7 -0
- package/dist/components/checkbox/index.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +30 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.d.ts +3 -0
- package/dist/components/checkbox-group/index.d.ts.map +1 -0
- package/dist/components/checkbox-group/index.js +5 -0
- package/dist/components/checkbox-group/index.js.map +1 -0
- package/dist/components/collapsible/collapsible.d.ts +18 -0
- package/dist/components/collapsible/collapsible.d.ts.map +1 -0
- package/dist/components/collapsible/index.d.ts +3 -0
- package/dist/components/collapsible/index.d.ts.map +1 -0
- package/dist/components/collapsible/index.js +7 -0
- package/dist/components/collapsible/index.js.map +1 -0
- package/dist/components/color-picker/color-picker.d.ts +18 -0
- package/dist/components/color-picker/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker/color-utils.d.ts +32 -0
- package/dist/components/color-picker/color-utils.d.ts.map +1 -0
- package/dist/components/color-picker/index.d.ts +6 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/color-picker/index.js +7 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/color-picker/palettes.d.ts +16 -0
- package/dist/components/color-picker/palettes.d.ts.map +1 -0
- package/dist/components/combobox/combobox.agent.d.ts +3 -0
- package/dist/components/combobox/combobox.agent.d.ts.map +1 -0
- package/dist/components/combobox/combobox.d.ts +46 -0
- package/dist/components/combobox/combobox.d.ts.map +1 -0
- package/dist/components/combobox/index.d.ts +4 -0
- package/dist/components/combobox/index.d.ts.map +1 -0
- package/dist/components/combobox/index.js +10 -0
- package/dist/components/combobox/index.js.map +1 -0
- package/dist/components/command-palette/command-palette.agent.d.ts +3 -0
- package/dist/components/command-palette/command-palette.agent.d.ts.map +1 -0
- package/dist/components/command-palette/command-palette.d.ts +81 -0
- package/dist/components/command-palette/command-palette.d.ts.map +1 -0
- package/dist/components/command-palette/index.d.ts +4 -0
- package/dist/components/command-palette/index.d.ts.map +1 -0
- package/dist/components/command-palette/index.js +17 -0
- package/dist/components/command-palette/index.js.map +1 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +23 -0
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/balance-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts +11 -0
- package/dist/components/data-table/cell-renderers/color-dot-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/currency-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts +10 -0
- package/dist/components/data-table/cell-renderers/date-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts +13 -0
- package/dist/components/data-table/cell-renderers/link-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/status-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts +6 -0
- package/dist/components/data-table/cell-renderers/tag-list-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/cell-renderers/toggle-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts +7 -0
- package/dist/components/data-table/cell-renderers/user-cell-renderer.d.ts.map +1 -0
- package/dist/components/data-table/data-table.agent.d.ts +4 -0
- package/dist/components/data-table/data-table.agent.d.ts.map +1 -0
- package/dist/components/data-table/data-table.d.ts +78 -0
- package/dist/components/data-table/data-table.d.ts.map +1 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts +16 -0
- package/dist/components/data-table/hooks/use-total-row.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts +27 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +19 -0
- package/dist/components/data-table/index.js.map +1 -0
- package/dist/components/data-table/toolbar.d.ts +49 -0
- package/dist/components/data-table/toolbar.d.ts.map +1 -0
- package/dist/components/date-picker/date-picker.d.ts +37 -0
- package/dist/components/date-picker/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker/index.d.ts +3 -0
- package/dist/components/date-picker/index.d.ts.map +1 -0
- package/dist/components/date-picker/index.js +5 -0
- package/dist/components/date-picker/index.js.map +1 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts +42 -0
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.d.ts +3 -0
- package/dist/components/date-range-picker/index.d.ts.map +1 -0
- package/dist/components/date-range-picker/index.js +5 -0
- package/dist/components/date-range-picker/index.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +35 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.d.ts +3 -0
- package/dist/components/date-time-picker/index.d.ts.map +1 -0
- package/dist/components/date-time-picker/index.js +5 -0
- package/dist/components/date-time-picker/index.js.map +1 -0
- package/dist/components/description-list/description-list.d.ts +25 -0
- package/dist/components/description-list/description-list.d.ts.map +1 -0
- package/dist/components/description-list/index.d.ts +3 -0
- package/dist/components/description-list/index.d.ts.map +1 -0
- package/dist/components/description-list/index.js +5 -0
- package/dist/components/description-list/index.js.map +1 -0
- package/dist/components/dialog/dialog.agent.d.ts +10 -0
- package/dist/components/dialog/dialog.agent.d.ts.map +1 -0
- package/dist/components/dialog/dialog.d.ts +34 -0
- package/dist/components/dialog/dialog.d.ts.map +1 -0
- package/dist/components/dialog/index.d.ts +4 -0
- package/dist/components/dialog/index.d.ts.map +1 -0
- package/dist/components/dialog/index.js +6 -0
- package/dist/components/dialog/index.js.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts +3 -0
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +54 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.d.ts +4 -0
- package/dist/components/dropdown-menu/index.d.ts.map +1 -0
- package/dist/components/dropdown-menu/index.js +7 -0
- package/dist/components/dropdown-menu/index.js.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +30 -0
- package/dist/components/empty-state/empty-state.d.ts.map +1 -0
- package/dist/components/empty-state/index.d.ts +3 -0
- package/dist/components/empty-state/index.d.ts.map +1 -0
- package/dist/components/empty-state/index.js +5 -0
- package/dist/components/empty-state/index.js.map +1 -0
- package/dist/components/file-upload/file-upload.agent.d.ts +3 -0
- package/dist/components/file-upload/file-upload.agent.d.ts.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +33 -0
- package/dist/components/file-upload/file-upload.d.ts.map +1 -0
- package/dist/components/file-upload/index.d.ts +4 -0
- package/dist/components/file-upload/index.d.ts.map +1 -0
- package/dist/components/file-upload/index.js +6 -0
- package/dist/components/file-upload/index.js.map +1 -0
- package/dist/components/flag/flag.d.ts +29 -0
- package/dist/components/flag/flag.d.ts.map +1 -0
- package/dist/components/flag/index.d.ts +3 -0
- package/dist/components/flag/index.d.ts.map +1 -0
- package/dist/components/flag/index.js +7 -0
- package/dist/components/flag/index.js.map +1 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts +24 -0
- package/dist/components/floating-action-button/floating-action-button.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.d.ts +2 -0
- package/dist/components/floating-action-button/index.d.ts.map +1 -0
- package/dist/components/floating-action-button/index.js +5 -0
- package/dist/components/floating-action-button/index.js.map +1 -0
- package/dist/components/form-field/form-field-context.d.ts +12 -0
- package/dist/components/form-field/form-field-context.d.ts.map +1 -0
- package/dist/components/form-field/form-field.d.ts +24 -0
- package/dist/components/form-field/form-field.d.ts.map +1 -0
- package/dist/components/form-field/index.d.ts +4 -0
- package/dist/components/form-field/index.d.ts.map +1 -0
- package/dist/components/form-field/index.js +8 -0
- package/dist/components/form-field/index.js.map +1 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +45 -0
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.d.ts +3 -0
- package/dist/components/freemium-paywall/index.d.ts.map +1 -0
- package/dist/components/freemium-paywall/index.js +5 -0
- package/dist/components/freemium-paywall/index.js.map +1 -0
- package/dist/components/header/header.d.ts +39 -0
- package/dist/components/header/header.d.ts.map +1 -0
- package/dist/components/header/index.d.ts +3 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.js +12 -0
- package/dist/components/header/index.js.map +1 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts +246 -0
- package/dist/components/icon-button-group/icon-button-group.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.d.ts +3 -0
- package/dist/components/icon-button-group/index.d.ts.map +1 -0
- package/dist/components/icon-button-group/index.js +5 -0
- package/dist/components/icon-button-group/index.js.map +1 -0
- package/dist/components/index.d.ts +111 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/kbd/index.d.ts +3 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js +6 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/kbd/kbd.d.ts +38 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.d.ts +3 -0
- package/dist/components/key-value-pair/index.d.ts.map +1 -0
- package/dist/components/key-value-pair/index.js +5 -0
- package/dist/components/key-value-pair/index.js.map +1 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts +21 -0
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -0
- package/dist/components/list/index.d.ts +3 -0
- package/dist/components/list/index.d.ts.map +1 -0
- package/dist/components/list/index.js +5 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list/list.d.ts +42 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/logo/index.d.ts +3 -0
- package/dist/components/logo/index.d.ts.map +1 -0
- package/dist/components/logo/index.js +5 -0
- package/dist/components/logo/index.js.map +1 -0
- package/dist/components/logo/logo.d.ts +35 -0
- package/dist/components/logo/logo.d.ts.map +1 -0
- package/dist/components/message-card/index.d.ts +3 -0
- package/dist/components/message-card/index.d.ts.map +1 -0
- package/dist/components/message-card/index.js +6 -0
- package/dist/components/message-card/index.js.map +1 -0
- package/dist/components/message-card/message-card.d.ts +73 -0
- package/dist/components/message-card/message-card.d.ts.map +1 -0
- package/dist/components/message-tray/index.d.ts +3 -0
- package/dist/components/message-tray/index.d.ts.map +1 -0
- package/dist/components/message-tray/index.js +5 -0
- package/dist/components/message-tray/index.js.map +1 -0
- package/dist/components/message-tray/message-tray.d.ts +40 -0
- package/dist/components/message-tray/message-tray.d.ts.map +1 -0
- package/dist/components/multi-select/index.d.ts +4 -0
- package/dist/components/multi-select/index.d.ts.map +1 -0
- package/dist/components/multi-select/index.js +7 -0
- package/dist/components/multi-select/index.js.map +1 -0
- package/dist/components/multi-select/multi-select.agent.d.ts +3 -0
- package/dist/components/multi-select/multi-select.agent.d.ts.map +1 -0
- package/dist/components/multi-select/multi-select.d.ts +30 -0
- package/dist/components/multi-select/multi-select.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.d.ts +3 -0
- package/dist/components/navigation-menu/index.d.ts.map +1 -0
- package/dist/components/navigation-menu/index.js +13 -0
- package/dist/components/navigation-menu/index.js.map +1 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts +30 -0
- package/dist/components/navigation-menu/navigation-menu.d.ts.map +1 -0
- package/dist/components/notification-card/index.d.ts +3 -0
- package/dist/components/notification-card/index.d.ts.map +1 -0
- package/dist/components/notification-card/index.js +6 -0
- package/dist/components/notification-card/index.js.map +1 -0
- package/dist/components/notification-card/notification-card.d.ts +62 -0
- package/dist/components/notification-card/notification-card.d.ts.map +1 -0
- package/dist/components/notification-tray/index.d.ts +3 -0
- package/dist/components/notification-tray/index.d.ts.map +1 -0
- package/dist/components/notification-tray/index.js +5 -0
- package/dist/components/notification-tray/index.js.map +1 -0
- package/dist/components/notification-tray/notification-tray.d.ts +38 -0
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -0
- package/dist/components/number-input/index.d.ts +5 -0
- package/dist/components/number-input/index.d.ts.map +1 -0
- package/dist/components/number-input/index.js +6 -0
- package/dist/components/number-input/index.js.map +1 -0
- package/dist/components/number-input/number-input.d.ts +34 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/use-locale-number.d.ts +15 -0
- package/dist/components/number-input/use-locale-number.d.ts.map +1 -0
- package/dist/components/otp-input/index.d.ts +3 -0
- package/dist/components/otp-input/index.d.ts.map +1 -0
- package/dist/components/otp-input/index.js +5 -0
- package/dist/components/otp-input/index.js.map +1 -0
- package/dist/components/otp-input/otp-input.d.ts +13 -0
- package/dist/components/otp-input/otp-input.d.ts.map +1 -0
- package/dist/components/pagination/index.d.ts +4 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +13 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/pagination/pagination.agent.d.ts +3 -0
- package/dist/components/pagination/pagination.agent.d.ts.map +1 -0
- package/dist/components/pagination/pagination.d.ts +64 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/password-input/index.d.ts +3 -0
- package/dist/components/password-input/index.d.ts.map +1 -0
- package/dist/components/password-input/index.js +5 -0
- package/dist/components/password-input/index.js.map +1 -0
- package/dist/components/password-input/password-input.d.ts +22 -0
- package/dist/components/password-input/password-input.d.ts.map +1 -0
- package/dist/components/payment-form/index.d.ts +4 -0
- package/dist/components/payment-form/index.d.ts.map +1 -0
- package/dist/components/payment-form/index.js +12 -0
- package/dist/components/payment-form/index.js.map +1 -0
- package/dist/components/payment-form/payment-form.agent.d.ts +4 -0
- package/dist/components/payment-form/payment-form.agent.d.ts.map +1 -0
- package/dist/components/payment-form/payment-form.d.ts +68 -0
- package/dist/components/payment-form/payment-form.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.d.ts +4 -0
- package/dist/components/pdf-viewer/index.d.ts.map +1 -0
- package/dist/components/pdf-viewer/index.js +6 -0
- package/dist/components/pdf-viewer/index.js.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts +4 -0
- package/dist/components/pdf-viewer/pdf-viewer.agent.d.ts.map +1 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts +36 -0
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -0
- package/dist/components/phone-input/index.d.ts +3 -0
- package/dist/components/phone-input/index.d.ts.map +1 -0
- package/dist/components/phone-input/index.js +8 -0
- package/dist/components/phone-input/index.js.map +1 -0
- package/dist/components/phone-input/phone-input.d.ts +50 -0
- package/dist/components/phone-input/phone-input.d.ts.map +1 -0
- package/dist/components/popover/index.d.ts +4 -0
- package/dist/components/popover/index.d.ts.map +1 -0
- package/dist/components/popover/index.js +7 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/popover/popover.agent.d.ts +3 -0
- package/dist/components/popover/popover.agent.d.ts.map +1 -0
- package/dist/components/popover/popover.d.ts +37 -0
- package/dist/components/popover/popover.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.d.ts +3 -0
- package/dist/components/privacy-lock/index.d.ts.map +1 -0
- package/dist/components/privacy-lock/index.js +5 -0
- package/dist/components/privacy-lock/index.js.map +1 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts +35 -0
- package/dist/components/privacy-lock/privacy-lock.d.ts.map +1 -0
- package/dist/components/progress/index.d.ts +4 -0
- package/dist/components/progress/index.d.ts.map +1 -0
- package/dist/components/progress/index.js +7 -0
- package/dist/components/progress/index.js.map +1 -0
- package/dist/components/progress/progress.agent.d.ts +4 -0
- package/dist/components/progress/progress.agent.d.ts.map +1 -0
- package/dist/components/progress/progress.d.ts +20 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/radio-group/index.d.ts +5 -0
- package/dist/components/radio-group/index.d.ts.map +1 -0
- package/dist/components/radio-group/index.js +6 -0
- package/dist/components/radio-group/index.js.map +1 -0
- package/dist/components/radio-group/radio-group-context.d.ts +7 -0
- package/dist/components/radio-group/radio-group-context.d.ts.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +19 -0
- package/dist/components/radio-group/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group/radio.d.ts +16 -0
- package/dist/components/radio-group/radio.d.ts.map +1 -0
- package/dist/components/resizable/index.d.ts +6 -0
- package/dist/components/resizable/index.d.ts.map +1 -0
- package/dist/components/resizable/index.js +10 -0
- package/dist/components/resizable/index.js.map +1 -0
- package/dist/components/resizable/resizable-context.d.ts +25 -0
- package/dist/components/resizable/resizable-context.d.ts.map +1 -0
- package/dist/components/resizable/resizable.agent.d.ts +3 -0
- package/dist/components/resizable/resizable.agent.d.ts.map +1 -0
- package/dist/components/resizable/resizable.d.ts +32 -0
- package/dist/components/resizable/resizable.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.d.ts +4 -0
- package/dist/components/rich-text-editor/index.d.ts.map +1 -0
- package/dist/components/rich-text-editor/index.js +10 -0
- package/dist/components/rich-text-editor/index.js.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts +4 -0
- package/dist/components/rich-text-editor/rich-text-editor.agent.d.ts.map +1 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +45 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -0
- package/dist/components/scroll-area/index.d.ts +4 -0
- package/dist/components/scroll-area/index.d.ts.map +1 -0
- package/dist/components/scroll-area/index.js +10 -0
- package/dist/components/scroll-area/index.js.map +1 -0
- package/dist/components/scroll-area/scroll-area.d.ts +29 -0
- package/dist/components/scroll-area/scroll-area.d.ts.map +1 -0
- package/dist/components/search-bar/index.d.ts +3 -0
- package/dist/components/search-bar/index.d.ts.map +1 -0
- package/dist/components/search-bar/index.js +6 -0
- package/dist/components/search-bar/index.js.map +1 -0
- package/dist/components/search-bar/search-bar.d.ts +59 -0
- package/dist/components/search-bar/search-bar.d.ts.map +1 -0
- package/dist/components/search-input/index.d.ts +3 -0
- package/dist/components/search-input/index.d.ts.map +1 -0
- package/dist/components/search-input/index.js +5 -0
- package/dist/components/search-input/index.js.map +1 -0
- package/dist/components/search-input/search-input.d.ts +28 -0
- package/dist/components/search-input/search-input.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/index.js +15 -0
- package/dist/components/select/index.js.map +1 -0
- package/dist/components/select/select.d.ts +78 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/separator/index.d.ts +3 -0
- package/dist/components/separator/index.d.ts.map +1 -0
- package/dist/components/separator/index.js +5 -0
- package/dist/components/separator/index.js.map +1 -0
- package/dist/components/separator/separator.d.ts +26 -0
- package/dist/components/separator/separator.d.ts.map +1 -0
- package/dist/components/sheet/index.d.ts +4 -0
- package/dist/components/sheet/index.d.ts.map +1 -0
- package/dist/components/sheet/index.js +7 -0
- package/dist/components/sheet/index.js.map +1 -0
- package/dist/components/sheet/sheet.agent.d.ts +3 -0
- package/dist/components/sheet/sheet.agent.d.ts.map +1 -0
- package/dist/components/sheet/sheet.d.ts +34 -0
- package/dist/components/sheet/sheet.d.ts.map +1 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +25 -0
- package/dist/components/sidebar/index.js.map +1 -0
- package/dist/components/sidebar/sidebar.agent.d.ts +3 -0
- package/dist/components/sidebar/sidebar.agent.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.d.ts +174 -0
- package/dist/components/sidebar/sidebar.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts +3 -0
- package/dist/components/sign-in-with-alfadocs-button/index.d.ts.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js +5 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js.map +1 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts +23 -0
- package/dist/components/sign-in-with-alfadocs-button/sign-in-with-alfadocs-button.d.ts.map +1 -0
- package/dist/components/signature-capture/index.d.ts +4 -0
- package/dist/components/signature-capture/index.d.ts.map +1 -0
- package/dist/components/signature-capture/index.js +6 -0
- package/dist/components/signature-capture/index.js.map +1 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts +4 -0
- package/dist/components/signature-capture/signature-capture.agent.d.ts.map +1 -0
- package/dist/components/signature-capture/signature-capture.d.ts +53 -0
- package/dist/components/signature-capture/signature-capture.d.ts.map +1 -0
- package/dist/components/skeleton/index.d.ts +3 -0
- package/dist/components/skeleton/index.d.ts.map +1 -0
- package/dist/components/skeleton/index.js +5 -0
- package/dist/components/skeleton/index.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +29 -0
- package/dist/components/skeleton/skeleton.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts +3 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/index.js +5 -0
- package/dist/components/slider/index.js.map +1 -0
- package/dist/components/slider/slider.d.ts +31 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slot-grid/index.d.ts +3 -0
- package/dist/components/slot-grid/index.d.ts.map +1 -0
- package/dist/components/slot-grid/index.js +7 -0
- package/dist/components/slot-grid/index.js.map +1 -0
- package/dist/components/slot-grid/slot-grid.d.ts +82 -0
- package/dist/components/slot-grid/slot-grid.d.ts.map +1 -0
- package/dist/components/sparkline/index.d.ts +6 -0
- package/dist/components/sparkline/index.d.ts.map +1 -0
- package/dist/components/sparkline/index.js +7 -0
- package/dist/components/sparkline/index.js.map +1 -0
- package/dist/components/sparkline/sparkline.agent.d.ts +4 -0
- package/dist/components/sparkline/sparkline.agent.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.d.ts +39 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/use-linear-trend.d.ts +7 -0
- package/dist/components/sparkline/use-linear-trend.d.ts.map +1 -0
- package/dist/components/spinner/index.d.ts +3 -0
- package/dist/components/spinner/index.d.ts.map +1 -0
- package/dist/components/spinner/index.js +5 -0
- package/dist/components/spinner/index.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +18 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/stat/index.d.ts +3 -0
- package/dist/components/stat/index.d.ts.map +1 -0
- package/dist/components/stat/index.js +5 -0
- package/dist/components/stat/index.js.map +1 -0
- package/dist/components/stat/stat.d.ts +32 -0
- package/dist/components/stat/stat.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.d.ts +4 -0
- package/dist/components/stepper-accordion/index.d.ts.map +1 -0
- package/dist/components/stepper-accordion/index.js +5 -0
- package/dist/components/stepper-accordion/index.js.map +1 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts +32 -0
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.d.ts +3 -0
- package/dist/components/stepper-calendar/index.d.ts.map +1 -0
- package/dist/components/stepper-calendar/index.js +5 -0
- package/dist/components/stepper-calendar/index.js.map +1 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts +44 -0
- package/dist/components/stepper-calendar/stepper-calendar.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.d.ts +3 -0
- package/dist/components/stepper-progress/index.d.ts.map +1 -0
- package/dist/components/stepper-progress/index.js +5 -0
- package/dist/components/stepper-progress/index.js.map +1 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts +28 -0
- package/dist/components/stepper-progress/stepper-progress.d.ts.map +1 -0
- package/dist/components/streaming-text/index.d.ts +3 -0
- package/dist/components/streaming-text/index.d.ts.map +1 -0
- package/dist/components/streaming-text/index.js +5 -0
- package/dist/components/streaming-text/index.js.map +1 -0
- package/dist/components/streaming-text/streaming-text.d.ts +23 -0
- package/dist/components/streaming-text/streaming-text.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.d.ts +3 -0
- package/dist/components/suggestion-chip/index.d.ts.map +1 -0
- package/dist/components/suggestion-chip/index.js +6 -0
- package/dist/components/suggestion-chip/index.js.map +1 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts +28 -0
- package/dist/components/suggestion-chip/suggestion-chip.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +2 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/index.js +5 -0
- package/dist/components/switch/index.js.map +1 -0
- package/dist/components/switch/switch.d.ts +21 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/tabs/index.d.ts +4 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +9 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/tabs.agent.d.ts +3 -0
- package/dist/components/tabs/tabs.agent.d.ts.map +1 -0
- package/dist/components/tabs/tabs.d.ts +63 -0
- package/dist/components/tabs/tabs.d.ts.map +1 -0
- package/dist/components/tag/index.d.ts +3 -0
- package/dist/components/tag/index.d.ts.map +1 -0
- package/dist/components/tag/index.js +5 -0
- package/dist/components/tag/index.js.map +1 -0
- package/dist/components/tag/tag.d.ts +25 -0
- package/dist/components/tag/tag.d.ts.map +1 -0
- package/dist/components/task-card/index.d.ts +3 -0
- package/dist/components/task-card/index.d.ts.map +1 -0
- package/dist/components/task-card/index.js +6 -0
- package/dist/components/task-card/index.js.map +1 -0
- package/dist/components/task-card/task-card.d.ts +40 -0
- package/dist/components/task-card/task-card.d.ts.map +1 -0
- package/dist/components/task-tray/index.d.ts +3 -0
- package/dist/components/task-tray/index.d.ts.map +1 -0
- package/dist/components/task-tray/index.js +5 -0
- package/dist/components/task-tray/index.js.map +1 -0
- package/dist/components/task-tray/task-tray.d.ts +28 -0
- package/dist/components/task-tray/task-tray.d.ts.map +1 -0
- package/dist/components/text-area/index.d.ts +3 -0
- package/dist/components/text-area/index.d.ts.map +1 -0
- package/dist/components/text-area/index.js +5 -0
- package/dist/components/text-area/index.js.map +1 -0
- package/dist/components/text-area/text-area.d.ts +19 -0
- package/dist/components/text-area/text-area.d.ts.map +1 -0
- package/dist/components/text-input/index.d.ts +3 -0
- package/dist/components/text-input/index.d.ts.map +1 -0
- package/dist/components/text-input/index.js +5 -0
- package/dist/components/text-input/index.js.map +1 -0
- package/dist/components/text-input/text-input.d.ts +22 -0
- package/dist/components/text-input/text-input.d.ts.map +1 -0
- package/dist/components/theme-root/index.d.ts +3 -0
- package/dist/components/theme-root/index.d.ts.map +1 -0
- package/dist/components/theme-root/index.js +5 -0
- package/dist/components/theme-root/index.js.map +1 -0
- package/dist/components/theme-root/theme-root.d.ts +16 -0
- package/dist/components/theme-root/theme-root.d.ts.map +1 -0
- package/dist/components/time-picker/index.d.ts +3 -0
- package/dist/components/time-picker/index.d.ts.map +1 -0
- package/dist/components/time-picker/index.js +5 -0
- package/dist/components/time-picker/index.js.map +1 -0
- package/dist/components/time-picker/time-picker.d.ts +38 -0
- package/dist/components/time-picker/time-picker.d.ts.map +1 -0
- package/dist/components/timeline/index.d.ts +3 -0
- package/dist/components/timeline/index.d.ts.map +1 -0
- package/dist/components/timeline/index.js +5 -0
- package/dist/components/timeline/index.js.map +1 -0
- package/dist/components/timeline/timeline.d.ts +47 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timestamp/index.d.ts +3 -0
- package/dist/components/timestamp/index.d.ts.map +1 -0
- package/dist/components/timestamp/index.js +5 -0
- package/dist/components/timestamp/index.js.map +1 -0
- package/dist/components/timestamp/timestamp.d.ts +51 -0
- package/dist/components/timestamp/timestamp.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +3 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +9 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/toast.d.ts +32 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/tooltip/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts.map +1 -0
- package/dist/components/tooltip/index.js +6 -0
- package/dist/components/tooltip/index.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +31 -0
- package/dist/components/tooltip/tooltip.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.d.ts +5 -0
- package/dist/components/tooth-scheme/index.d.ts.map +1 -0
- package/dist/components/tooth-scheme/index.js +20 -0
- package/dist/components/tooth-scheme/index.js.map +1 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts +91 -0
- package/dist/components/tooth-scheme/tooth-data.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +4 -0
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts.map +1 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +34 -0
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.d.ts +3 -0
- package/dist/components/transcript-panel/index.d.ts.map +1 -0
- package/dist/components/transcript-panel/index.js +5 -0
- package/dist/components/transcript-panel/index.js.map +1 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts +25 -0
- package/dist/components/transcript-panel/transcript-panel.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.d.ts +3 -0
- package/dist/components/typing-indicator/index.d.ts.map +1 -0
- package/dist/components/typing-indicator/index.js +5 -0
- package/dist/components/typing-indicator/index.js.map +1 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts +17 -0
- package/dist/components/typing-indicator/typing-indicator.d.ts.map +1 -0
- package/dist/components/warning-stack/index.d.ts +2 -0
- package/dist/components/warning-stack/index.d.ts.map +1 -0
- package/dist/components/warning-stack/index.js +5 -0
- package/dist/components/warning-stack/index.js.map +1 -0
- package/dist/components/warning-stack/warning-stack.d.ts +42 -0
- package/dist/components/warning-stack/warning-stack.d.ts.map +1 -0
- package/dist/components/workflow/index.d.ts +9 -0
- package/dist/components/workflow/index.d.ts.map +1 -0
- package/dist/components/workflow/index.js +14 -0
- package/dist/components/workflow/index.js.map +1 -0
- package/dist/components/workflow/workflow-card.d.ts +25 -0
- package/dist/components/workflow/workflow-card.d.ts.map +1 -0
- package/dist/components/workflow/workflow-editor.d.ts +29 -0
- package/dist/components/workflow/workflow-editor.d.ts.map +1 -0
- package/dist/components/workflow/workflow-map.d.ts +26 -0
- package/dist/components/workflow/workflow-map.d.ts.map +1 -0
- package/dist/components/workflow/workflow-types.d.ts +128 -0
- package/dist/components/workflow/workflow-types.d.ts.map +1 -0
- package/dist/fonts/SpaceGrotesk-VF.woff2 +0 -0
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +12 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts +10 -0
- package/dist/hooks/use-prefers-reduced-motion.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +51 -0
- package/dist/hooks/use-theme.d.ts.map +1 -0
- package/dist/i18n/config.d.ts +4 -0
- package/dist/i18n/config.d.ts.map +1 -0
- package/dist/i18n/config.js +2763 -0
- package/dist/i18n/config.js.map +1 -0
- package/dist/i18n/resources.d.ts +2809 -0
- package/dist/i18n/resources.d.ts.map +1 -0
- package/dist/index.js +434 -0
- package/dist/index.js.map +1 -0
- package/dist/locales/ar.json +1 -0
- package/dist/locales/de.json +921 -0
- package/dist/locales/en.json +945 -0
- package/dist/locales/it.json +921 -0
- package/dist/option/index.js +2 -0
- package/dist/option/index.js.map +1 -0
- package/dist/patterns/leo-assistant/index.d.ts +20 -0
- package/dist/patterns/leo-assistant/index.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/index.js +8 -0
- package/dist/patterns/leo-assistant/index.js.map +1 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts +3 -0
- package/dist/patterns/leo-assistant/leo-chat-surface.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-embedded.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts +13 -0
- package/dist/patterns/leo-assistant/leo-popout.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts +38 -0
- package/dist/patterns/leo-assistant/leo-sidebar.d.ts.map +1 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts +122 -0
- package/dist/patterns/leo-assistant/leo-types.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.d.ts +12 -0
- package/dist/patterns/patient-shell/index.d.ts.map +1 -0
- package/dist/patterns/patient-shell/index.js +5 -0
- package/dist/patterns/patient-shell/index.js.map +1 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts +62 -0
- package/dist/patterns/patient-shell/patient-shell.d.ts.map +1 -0
- package/dist/safe-html/index.js +66 -0
- package/dist/safe-html/index.js.map +1 -0
- package/dist/tokens/apexcharts-theme.d.ts +3 -0
- package/dist/tokens/apexcharts-theme.d.ts.map +1 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts +10 -0
- package/dist/tokens/themes/bridges/stripe-appearance.d.ts.map +1 -0
- package/dist/tokens.css +3 -0
- package/package.json +330 -0
|
@@ -0,0 +1,858 @@
|
|
|
1
|
+
import { jsx as a, jsxs as Z } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Te, useId as Ae, useMemo as Re, useState as h, useEffect as x, useRef as R, useCallback as L, useImperativeHandle as Oe } from "react";
|
|
3
|
+
import * as se from "pdfjs-dist";
|
|
4
|
+
import { c as W } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { useTranslation as ce } from "react-i18next";
|
|
6
|
+
import * as X from "@radix-ui/react-popover";
|
|
7
|
+
import je from "pdfjs-dist/build/pdf.worker.min.mjs?url";
|
|
8
|
+
import { S as Ve } from "./spinner-77xUGpuX.js";
|
|
9
|
+
import { A as ge } from "./alert-C5ud6CfE.js";
|
|
10
|
+
import { X as Fe } from "./x-CCcI3eJp.js";
|
|
11
|
+
import { C as Ee } from "./chevron-left-CX1jqD2M.js";
|
|
12
|
+
import { C as _e } from "./chevron-right-BrpYejk0.js";
|
|
13
|
+
import { c as ke } from "./createLucideIcon-CrFbzy84.js";
|
|
14
|
+
import { S as Le } from "./search-BonnQsHv.js";
|
|
15
|
+
import { P as Ze } from "./printer-CeVEWfQq.js";
|
|
16
|
+
/**
|
|
17
|
+
* @license lucide-react v1.8.0 - ISC
|
|
18
|
+
*
|
|
19
|
+
* This source code is licensed under the ISC license.
|
|
20
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
+
*/
|
|
22
|
+
const Be = [
|
|
23
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
24
|
+
["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
|
|
25
|
+
["line", { x1: "11", x2: "11", y1: "8", y2: "14", key: "1vmskp" }],
|
|
26
|
+
["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
|
|
27
|
+
], Ke = ke("zoom-in", Be);
|
|
28
|
+
/**
|
|
29
|
+
* @license lucide-react v1.8.0 - ISC
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the ISC license.
|
|
32
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/
|
|
34
|
+
const He = [
|
|
35
|
+
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
|
|
36
|
+
["line", { x1: "21", x2: "16.65", y1: "21", y2: "16.65", key: "13gj7c" }],
|
|
37
|
+
["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
|
|
38
|
+
], Qe = ke("zoom-out", He);
|
|
39
|
+
se.GlobalWorkerOptions.workerSrc = je;
|
|
40
|
+
const ve = W(
|
|
41
|
+
[
|
|
42
|
+
"pdf-viewer-alfadocs flex flex-col",
|
|
43
|
+
"gap-[var(--spacing-sm)]",
|
|
44
|
+
"bg-[var(--background)] text-[var(--foreground)]",
|
|
45
|
+
"rounded-[var(--radius-md)] border border-[color:var(--border)]",
|
|
46
|
+
"overflow-hidden",
|
|
47
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
48
|
+
"focus-visible:outline-solid",
|
|
49
|
+
"focus-visible:outline-[var(--ring)]",
|
|
50
|
+
"forced-colors:focus-visible:outline-[CanvasText]"
|
|
51
|
+
].join(" ")
|
|
52
|
+
), We = W(
|
|
53
|
+
[
|
|
54
|
+
"flex flex-wrap items-center gap-[var(--spacing-xs)]",
|
|
55
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
|
|
56
|
+
"pt-[var(--spacing-xs)] pb-[var(--spacing-xs)]",
|
|
57
|
+
"bg-[var(--background)]",
|
|
58
|
+
"border-b border-[color:var(--border)]"
|
|
59
|
+
].join(" ")
|
|
60
|
+
), be = W(
|
|
61
|
+
[
|
|
62
|
+
"inline-flex items-center justify-center",
|
|
63
|
+
"min-block-size-[var(--min-target-size)]",
|
|
64
|
+
"min-inline-size-[var(--min-target-size)]",
|
|
65
|
+
"gap-[var(--spacing-xs)]",
|
|
66
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
|
|
67
|
+
"rounded-[var(--radius-sm)] bg-transparent text-[var(--foreground)]",
|
|
68
|
+
"transition-colors duration-[var(--animation-duration)] motion-reduce:transition-none",
|
|
69
|
+
"hover:bg-[var(--muted)]",
|
|
70
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
71
|
+
"focus-visible:outline-solid",
|
|
72
|
+
"focus-visible:outline-[var(--ring)]",
|
|
73
|
+
"focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
74
|
+
"forced-colors:focus-visible:outline-[CanvasText]",
|
|
75
|
+
"aria-disabled:opacity-[var(--opacity-50)] aria-disabled:cursor-not-allowed"
|
|
76
|
+
].join(" ")
|
|
77
|
+
), ye = W(
|
|
78
|
+
[
|
|
79
|
+
"min-block-size-[var(--min-target-size)]",
|
|
80
|
+
"inline-size-[4rem] text-center",
|
|
81
|
+
"ps-[var(--spacing-xs)] pe-[var(--spacing-xs)]",
|
|
82
|
+
"rounded-[var(--radius-sm)] border border-[color:var(--border)]",
|
|
83
|
+
"bg-[var(--background)] text-[var(--foreground)]",
|
|
84
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
85
|
+
"focus-visible:outline-solid",
|
|
86
|
+
"focus-visible:outline-[var(--ring)]",
|
|
87
|
+
"forced-colors:focus-visible:outline-[CanvasText]"
|
|
88
|
+
].join(" ")
|
|
89
|
+
), qe = W(
|
|
90
|
+
[
|
|
91
|
+
"min-block-size-[var(--min-target-size)]",
|
|
92
|
+
"ps-[var(--spacing-sm)] pe-[var(--spacing-sm)]",
|
|
93
|
+
"rounded-[var(--radius-sm)] border border-[color:var(--border)]",
|
|
94
|
+
"bg-[var(--background)] text-[var(--foreground)]",
|
|
95
|
+
"focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
96
|
+
"focus-visible:outline-solid",
|
|
97
|
+
"focus-visible:outline-[var(--ring)]",
|
|
98
|
+
"forced-colors:focus-visible:outline-[CanvasText]"
|
|
99
|
+
].join(" ")
|
|
100
|
+
), Ue = W(
|
|
101
|
+
[
|
|
102
|
+
"relative flex flex-col items-center",
|
|
103
|
+
"gap-[var(--spacing-md)]",
|
|
104
|
+
"p-[var(--spacing-md)]",
|
|
105
|
+
"bg-[var(--muted)]",
|
|
106
|
+
"overflow-auto",
|
|
107
|
+
"min-block-size-[30rem]",
|
|
108
|
+
"max-block-size-[80vh]"
|
|
109
|
+
].join(" ")
|
|
110
|
+
), Je = W(
|
|
111
|
+
[
|
|
112
|
+
"relative flex items-center justify-center",
|
|
113
|
+
"bg-[var(--background)]",
|
|
114
|
+
"shadow-[var(--shadow-md)]",
|
|
115
|
+
"rounded-[var(--radius-sm)]"
|
|
116
|
+
].join(" ")
|
|
117
|
+
), $e = [
|
|
118
|
+
"fit-width",
|
|
119
|
+
"fit-page",
|
|
120
|
+
"actual-size",
|
|
121
|
+
0.5,
|
|
122
|
+
0.75,
|
|
123
|
+
1,
|
|
124
|
+
1.25,
|
|
125
|
+
1.5,
|
|
126
|
+
2
|
|
127
|
+
];
|
|
128
|
+
function J(o) {
|
|
129
|
+
return typeof o == "number";
|
|
130
|
+
}
|
|
131
|
+
function xe(o, t, u) {
|
|
132
|
+
if (J(o)) return o;
|
|
133
|
+
if (o === "actual-size" || !u) return 1;
|
|
134
|
+
const f = window.getComputedStyle(u), m = parseFloat(f.paddingInlineStart || "0") + parseFloat(f.paddingInlineEnd || "0"), g = parseFloat(f.paddingBlockStart || "0") + parseFloat(f.paddingBlockEnd || "0"), N = Math.max(u.clientWidth - m, 1), p = Math.max(u.clientHeight - g, 1), D = t.width, I = t.height;
|
|
135
|
+
return o === "fit-width" ? N / D : Math.min(N / D, p / I);
|
|
136
|
+
}
|
|
137
|
+
const Xe = Te(
|
|
138
|
+
({
|
|
139
|
+
src: o,
|
|
140
|
+
initialPage: t = 1,
|
|
141
|
+
initialZoom: u = "fit-width",
|
|
142
|
+
onPageChange: f,
|
|
143
|
+
onLoadComplete: m,
|
|
144
|
+
onError: g,
|
|
145
|
+
toolbar: N = !0,
|
|
146
|
+
ariaLabel: p,
|
|
147
|
+
className: D
|
|
148
|
+
}, I) => {
|
|
149
|
+
const { t: v } = ce(), q = Ae(), B = Re(
|
|
150
|
+
() => `pdf-${q.replace(/[^a-zA-Z0-9-_]/g, "")}`,
|
|
151
|
+
[q]
|
|
152
|
+
), [z, V] = h(!1), [K, b] = h(!1);
|
|
153
|
+
x(() => {
|
|
154
|
+
if (typeof document > "u") return;
|
|
155
|
+
V(document.documentElement.dir === "rtl");
|
|
156
|
+
const e = window.matchMedia("(prefers-reduced-motion: reduce)"), r = () => b(e.matches);
|
|
157
|
+
return r(), e.addEventListener("change", r), () => e.removeEventListener("change", r);
|
|
158
|
+
}, []);
|
|
159
|
+
const [i, F] = h(null), [E, d] = h(null), [c, w] = h(t), [P, S] = h(u), [O, j] = h(
|
|
160
|
+
{ start: Math.max(1, t - 1), end: t + 1 }
|
|
161
|
+
), [M, n] = h(""), [y, k] = h(!1), [le, de] = h(""), [ze, Pe] = h(
|
|
162
|
+
{ current: 0, total: 0 }
|
|
163
|
+
), G = R(f), Y = R(m), ee = R(g);
|
|
164
|
+
x(() => {
|
|
165
|
+
G.current = f, Y.current = m, ee.current = g;
|
|
166
|
+
}, [f, m, g]);
|
|
167
|
+
const ae = R(null);
|
|
168
|
+
x(() => {
|
|
169
|
+
ae.current = i;
|
|
170
|
+
}, [i]), x(() => {
|
|
171
|
+
let e = !1;
|
|
172
|
+
F(null), d(null);
|
|
173
|
+
const r = {
|
|
174
|
+
disableJavaScript: !0,
|
|
175
|
+
isEvalSupported: !1
|
|
176
|
+
}, l = se.getDocument(
|
|
177
|
+
typeof o == "string" ? { url: o, ...r } : o instanceof Uint8Array ? { data: o, ...r } : { data: new Uint8Array(o), ...r }
|
|
178
|
+
);
|
|
179
|
+
return l.promise.then(
|
|
180
|
+
async (s) => {
|
|
181
|
+
var H;
|
|
182
|
+
if (e) return;
|
|
183
|
+
let C;
|
|
184
|
+
try {
|
|
185
|
+
const Q = await s.getMetadata(), A = Q == null ? void 0 : Q.info;
|
|
186
|
+
C = A == null ? void 0 : A.Title;
|
|
187
|
+
} catch {
|
|
188
|
+
C = void 0;
|
|
189
|
+
}
|
|
190
|
+
if (e) {
|
|
191
|
+
try {
|
|
192
|
+
await s.destroy();
|
|
193
|
+
} catch {
|
|
194
|
+
}
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const _ = { doc: s, numPages: s.numPages, title: C };
|
|
198
|
+
F(_), (H = Y.current) == null || H.call(Y, { numPages: s.numPages, title: C });
|
|
199
|
+
},
|
|
200
|
+
(s) => {
|
|
201
|
+
var _;
|
|
202
|
+
if (e) return;
|
|
203
|
+
const C = s instanceof Error ? s : new Error(String(s));
|
|
204
|
+
d(C), (_ = ee.current) == null || _.call(ee, C);
|
|
205
|
+
}
|
|
206
|
+
), () => {
|
|
207
|
+
e = !0, l.destroy();
|
|
208
|
+
const s = ae.current;
|
|
209
|
+
if (s) {
|
|
210
|
+
try {
|
|
211
|
+
s.doc.destroy();
|
|
212
|
+
} catch {
|
|
213
|
+
}
|
|
214
|
+
ae.current = null;
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
}, [o]), x(() => {
|
|
218
|
+
var e;
|
|
219
|
+
i && (n(
|
|
220
|
+
v("pdf.pageOf", { current: c, total: i.numPages })
|
|
221
|
+
), (e = G.current) == null || e.call(G, c));
|
|
222
|
+
}, [c, i, v]);
|
|
223
|
+
const te = R(null), oe = R([]), T = L(
|
|
224
|
+
(e) => {
|
|
225
|
+
if (!i) return;
|
|
226
|
+
const r = Math.max(1, Math.min(e, i.numPages));
|
|
227
|
+
w(r);
|
|
228
|
+
const l = oe.current[r - 1];
|
|
229
|
+
l && l.scrollIntoView({
|
|
230
|
+
behavior: "auto",
|
|
231
|
+
block: "start"
|
|
232
|
+
});
|
|
233
|
+
},
|
|
234
|
+
[i, K]
|
|
235
|
+
), ue = L((e) => {
|
|
236
|
+
S(e);
|
|
237
|
+
}, []), $ = L(() => {
|
|
238
|
+
typeof window < "u" && window.print();
|
|
239
|
+
}, []), fe = L((e) => {
|
|
240
|
+
de(e), k(e.length > 0);
|
|
241
|
+
}, []);
|
|
242
|
+
Oe(
|
|
243
|
+
I,
|
|
244
|
+
() => ({
|
|
245
|
+
goToPage: T,
|
|
246
|
+
setZoom: ue,
|
|
247
|
+
search: fe,
|
|
248
|
+
print: $
|
|
249
|
+
}),
|
|
250
|
+
[T, ue, fe, $]
|
|
251
|
+
);
|
|
252
|
+
const Se = L(
|
|
253
|
+
(e) => {
|
|
254
|
+
if (!i) return;
|
|
255
|
+
const r = e.metaKey || e.ctrlKey;
|
|
256
|
+
if (e.key === "PageDown") {
|
|
257
|
+
e.preventDefault(), T(c + 1);
|
|
258
|
+
return;
|
|
259
|
+
}
|
|
260
|
+
if (e.key === "PageUp") {
|
|
261
|
+
e.preventDefault(), T(c - 1);
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
if (e.key === "Home") {
|
|
265
|
+
e.preventDefault(), T(1);
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
if (e.key === "End") {
|
|
269
|
+
e.preventDefault(), T(i.numPages);
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
if (r && e.key.toLowerCase() === "f") {
|
|
273
|
+
e.preventDefault(), k(!0);
|
|
274
|
+
return;
|
|
275
|
+
}
|
|
276
|
+
if (r && (e.key === "+" || e.key === "=")) {
|
|
277
|
+
e.preventDefault(), S((l) => J(l) ? Math.min(l * 1.25, 4) : 1.25);
|
|
278
|
+
return;
|
|
279
|
+
}
|
|
280
|
+
if (r && e.key === "-") {
|
|
281
|
+
e.preventDefault(), S((l) => J(l) ? Math.max(l / 1.25, 0.25) : 0.75);
|
|
282
|
+
return;
|
|
283
|
+
}
|
|
284
|
+
if (r && e.key === "0") {
|
|
285
|
+
e.preventDefault(), S("fit-width");
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
r && e.key.toLowerCase() === "p" && (e.preventDefault(), $());
|
|
289
|
+
},
|
|
290
|
+
[c, T, $, i]
|
|
291
|
+
), ie = R(c);
|
|
292
|
+
x(() => {
|
|
293
|
+
ie.current = c;
|
|
294
|
+
}, [c]), x(() => {
|
|
295
|
+
if (!i) return;
|
|
296
|
+
const e = te.current;
|
|
297
|
+
if (!e) return;
|
|
298
|
+
const r = /* @__PURE__ */ new Map(), l = new IntersectionObserver(
|
|
299
|
+
(s) => {
|
|
300
|
+
for (const A of s) {
|
|
301
|
+
const U = A.target.dataset.pageNumber;
|
|
302
|
+
if (!U) continue;
|
|
303
|
+
const Ie = Number(U);
|
|
304
|
+
r.set(Ie, A.intersectionRatio);
|
|
305
|
+
}
|
|
306
|
+
let C = ie.current, _ = 0, H = 1 / 0, Q = -1 / 0;
|
|
307
|
+
for (const [A, U] of r.entries())
|
|
308
|
+
U > _ && (C = A, _ = U), U > 0 && (H = Math.min(H, A), Q = Math.max(Q, A));
|
|
309
|
+
_ > 0 && C !== ie.current && w(C), H !== 1 / 0 && j({
|
|
310
|
+
start: Math.max(1, H - 1),
|
|
311
|
+
end: Math.min(i.numPages, Q + 1)
|
|
312
|
+
});
|
|
313
|
+
},
|
|
314
|
+
{ root: e, threshold: [0, 0.25, 0.5, 0.75, 1] }
|
|
315
|
+
);
|
|
316
|
+
return oe.current.forEach((s) => {
|
|
317
|
+
s && l.observe(s);
|
|
318
|
+
}), () => l.disconnect();
|
|
319
|
+
}, [i]);
|
|
320
|
+
const [Me, Ce] = h(0);
|
|
321
|
+
x(() => {
|
|
322
|
+
const e = te.current;
|
|
323
|
+
if (!e || typeof ResizeObserver > "u") return;
|
|
324
|
+
const r = new ResizeObserver(() => {
|
|
325
|
+
(P === "fit-width" || P === "fit-page") && Ce((l) => l + 1);
|
|
326
|
+
});
|
|
327
|
+
return r.observe(e), () => r.disconnect();
|
|
328
|
+
}, [P]);
|
|
329
|
+
const pe = R([]), [re, me] = h(0), Ne = L(
|
|
330
|
+
(e) => (r) => {
|
|
331
|
+
pe.current[e] = r;
|
|
332
|
+
},
|
|
333
|
+
[]
|
|
334
|
+
), he = L((e) => {
|
|
335
|
+
const r = pe.current[e];
|
|
336
|
+
r && r.focus();
|
|
337
|
+
}, []), ne = 8, De = L(
|
|
338
|
+
(e) => {
|
|
339
|
+
const r = z ? "ArrowLeft" : "ArrowRight", l = z ? "ArrowRight" : "ArrowLeft";
|
|
340
|
+
let s = null;
|
|
341
|
+
e.key === r ? s = (re + 1) % ne : e.key === l ? s = (re - 1 + ne) % ne : e.key === "Home" ? s = 0 : e.key === "End" && (s = ne - 1), s !== null && (e.preventDefault(), me(s), he(s));
|
|
342
|
+
},
|
|
343
|
+
[he, z, re]
|
|
344
|
+
);
|
|
345
|
+
return E ? /* @__PURE__ */ a(
|
|
346
|
+
"div",
|
|
347
|
+
{
|
|
348
|
+
className: [ve(), D].filter(Boolean).join(" "),
|
|
349
|
+
"aria-label": p ?? v("pdf.error"),
|
|
350
|
+
children: /* @__PURE__ */ a("div", { className: "p-[var(--spacing-lg)]", children: /* @__PURE__ */ a(ge, { variant: "error", live: "polite", children: /* @__PURE__ */ Z(ge.Description, { children: [
|
|
351
|
+
v("pdf.error"),
|
|
352
|
+
": ",
|
|
353
|
+
E.message
|
|
354
|
+
] }) }) })
|
|
355
|
+
}
|
|
356
|
+
) : /* @__PURE__ */ Z(
|
|
357
|
+
"div",
|
|
358
|
+
{
|
|
359
|
+
id: B,
|
|
360
|
+
role: "region",
|
|
361
|
+
"aria-label": p ?? v("pdf.toolbarLabel"),
|
|
362
|
+
className: [ve(), D].filter(Boolean).join(" "),
|
|
363
|
+
dir: z ? "rtl" : void 0,
|
|
364
|
+
onKeyDown: Se,
|
|
365
|
+
tabIndex: -1,
|
|
366
|
+
"data-component": "pdf-viewer",
|
|
367
|
+
children: [
|
|
368
|
+
N ? /* @__PURE__ */ a(
|
|
369
|
+
Ge,
|
|
370
|
+
{
|
|
371
|
+
currentPage: c,
|
|
372
|
+
numPages: (i == null ? void 0 : i.numPages) ?? 0,
|
|
373
|
+
zoom: P,
|
|
374
|
+
onPrev: () => T(c - 1),
|
|
375
|
+
onNext: () => T(c + 1),
|
|
376
|
+
onJump: (e) => T(e),
|
|
377
|
+
onZoomIn: () => {
|
|
378
|
+
S(
|
|
379
|
+
(e) => J(e) ? Math.min(e * 1.25, 4) : 1.25
|
|
380
|
+
);
|
|
381
|
+
},
|
|
382
|
+
onZoomOut: () => {
|
|
383
|
+
S(
|
|
384
|
+
(e) => J(e) ? Math.max(e / 1.25, 0.25) : 0.75
|
|
385
|
+
);
|
|
386
|
+
},
|
|
387
|
+
onZoomPreset: (e) => S(e),
|
|
388
|
+
onOpenSearch: () => k(!0),
|
|
389
|
+
onPrint: $,
|
|
390
|
+
searchOpen: y,
|
|
391
|
+
onSearchOpenChange: k,
|
|
392
|
+
searchQuery: le,
|
|
393
|
+
onSearchQueryChange: (e) => {
|
|
394
|
+
de(e);
|
|
395
|
+
},
|
|
396
|
+
searchMatches: ze,
|
|
397
|
+
register: Ne,
|
|
398
|
+
focusIndex: re,
|
|
399
|
+
setFocusIndex: me,
|
|
400
|
+
onToolbarKeyDown: De,
|
|
401
|
+
isRtl: z
|
|
402
|
+
}
|
|
403
|
+
) : null,
|
|
404
|
+
/* @__PURE__ */ a(
|
|
405
|
+
"div",
|
|
406
|
+
{
|
|
407
|
+
"aria-live": "polite",
|
|
408
|
+
"aria-atomic": "true",
|
|
409
|
+
className: "sr-only",
|
|
410
|
+
children: M
|
|
411
|
+
}
|
|
412
|
+
),
|
|
413
|
+
/* @__PURE__ */ a(
|
|
414
|
+
"div",
|
|
415
|
+
{
|
|
416
|
+
ref: te,
|
|
417
|
+
className: Ue(),
|
|
418
|
+
"data-testid": "pdf-pages-container",
|
|
419
|
+
children: i ? Array.from({ length: i.numPages }, (e, r) => r + 1).map(
|
|
420
|
+
(e) => /* @__PURE__ */ a(
|
|
421
|
+
Ye,
|
|
422
|
+
{
|
|
423
|
+
pageNumber: e,
|
|
424
|
+
totalPages: i.numPages,
|
|
425
|
+
doc: i.doc,
|
|
426
|
+
zoom: P,
|
|
427
|
+
container: te.current,
|
|
428
|
+
resizeTick: Me,
|
|
429
|
+
shouldRender: e >= O.start && e <= O.end,
|
|
430
|
+
registerRef: (r) => {
|
|
431
|
+
oe.current[e - 1] = r;
|
|
432
|
+
},
|
|
433
|
+
searchQuery: le,
|
|
434
|
+
onMatchCount: (r) => {
|
|
435
|
+
Pe((l) => r === 0 && l.total === 0 ? l : {
|
|
436
|
+
current: Math.min(l.current || 1, r || 1),
|
|
437
|
+
total: Math.max(l.total, r)
|
|
438
|
+
});
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
e
|
|
442
|
+
)
|
|
443
|
+
) : /* @__PURE__ */ Z(
|
|
444
|
+
"div",
|
|
445
|
+
{
|
|
446
|
+
className: "inline-flex items-center gap-[var(--spacing-sm)] text-[var(--muted-foreground)] p-[var(--spacing-lg)]",
|
|
447
|
+
children: [
|
|
448
|
+
/* @__PURE__ */ a(Ve, { size: "sm", label: v("pdf.loading") }),
|
|
449
|
+
/* @__PURE__ */ a("span", { children: v("pdf.loading") })
|
|
450
|
+
]
|
|
451
|
+
}
|
|
452
|
+
)
|
|
453
|
+
}
|
|
454
|
+
)
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
);
|
|
460
|
+
Xe.displayName = "PDFViewer";
|
|
461
|
+
function Ge(o) {
|
|
462
|
+
const { t } = ce(), {
|
|
463
|
+
currentPage: u,
|
|
464
|
+
numPages: f,
|
|
465
|
+
zoom: m,
|
|
466
|
+
onPrev: g,
|
|
467
|
+
onNext: N,
|
|
468
|
+
onJump: p,
|
|
469
|
+
onZoomIn: D,
|
|
470
|
+
onZoomOut: I,
|
|
471
|
+
onZoomPreset: v,
|
|
472
|
+
onOpenSearch: q,
|
|
473
|
+
onPrint: B,
|
|
474
|
+
searchOpen: z,
|
|
475
|
+
onSearchOpenChange: V,
|
|
476
|
+
searchQuery: K,
|
|
477
|
+
onSearchQueryChange: b,
|
|
478
|
+
searchMatches: i,
|
|
479
|
+
register: F,
|
|
480
|
+
focusIndex: E,
|
|
481
|
+
setFocusIndex: d,
|
|
482
|
+
onToolbarKeyDown: c
|
|
483
|
+
} = o, [w, P] = h(String(u));
|
|
484
|
+
x(() => {
|
|
485
|
+
P(String(u));
|
|
486
|
+
}, [u]);
|
|
487
|
+
const S = u <= 1, O = u >= f;
|
|
488
|
+
function j() {
|
|
489
|
+
const n = Number(w);
|
|
490
|
+
Number.isFinite(n) && n >= 1 ? p(Math.min(n, f)) : P(String(u));
|
|
491
|
+
}
|
|
492
|
+
function M(n) {
|
|
493
|
+
return /* @__PURE__ */ a(
|
|
494
|
+
"button",
|
|
495
|
+
{
|
|
496
|
+
type: "button",
|
|
497
|
+
ref: F(n.index),
|
|
498
|
+
tabIndex: n.index === E ? 0 : -1,
|
|
499
|
+
onFocus: () => d(n.index),
|
|
500
|
+
onKeyDown: c,
|
|
501
|
+
"aria-label": n.label,
|
|
502
|
+
"aria-disabled": n.disabled || void 0,
|
|
503
|
+
title: n.label,
|
|
504
|
+
onClick: (y) => {
|
|
505
|
+
if (n.disabled) {
|
|
506
|
+
y.preventDefault();
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
n.onActivate();
|
|
510
|
+
},
|
|
511
|
+
className: be(),
|
|
512
|
+
children: n.icon
|
|
513
|
+
}
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
return /* @__PURE__ */ Z(
|
|
517
|
+
"div",
|
|
518
|
+
{
|
|
519
|
+
role: "toolbar",
|
|
520
|
+
"aria-label": t("pdf.toolbarLabel"),
|
|
521
|
+
className: We(),
|
|
522
|
+
children: [
|
|
523
|
+
M({
|
|
524
|
+
index: 0,
|
|
525
|
+
label: t("pdf.previousPage"),
|
|
526
|
+
disabled: S,
|
|
527
|
+
onActivate: g,
|
|
528
|
+
icon: /* @__PURE__ */ a(
|
|
529
|
+
Ee,
|
|
530
|
+
{
|
|
531
|
+
"aria-hidden": "true",
|
|
532
|
+
className: "block-size-4 inline-size-4 rtl:rotate-180"
|
|
533
|
+
}
|
|
534
|
+
)
|
|
535
|
+
}),
|
|
536
|
+
M({
|
|
537
|
+
index: 1,
|
|
538
|
+
label: t("pdf.nextPage"),
|
|
539
|
+
disabled: O,
|
|
540
|
+
onActivate: N,
|
|
541
|
+
icon: /* @__PURE__ */ a(
|
|
542
|
+
_e,
|
|
543
|
+
{
|
|
544
|
+
"aria-hidden": "true",
|
|
545
|
+
className: "block-size-4 inline-size-4 rtl:rotate-180"
|
|
546
|
+
}
|
|
547
|
+
)
|
|
548
|
+
}),
|
|
549
|
+
/* @__PURE__ */ a(
|
|
550
|
+
"input",
|
|
551
|
+
{
|
|
552
|
+
type: "number",
|
|
553
|
+
min: 1,
|
|
554
|
+
max: Math.max(f, 1),
|
|
555
|
+
value: w,
|
|
556
|
+
onChange: (n) => P(n.target.value),
|
|
557
|
+
onKeyDown: (n) => {
|
|
558
|
+
n.key === "Enter" && (n.preventDefault(), j());
|
|
559
|
+
},
|
|
560
|
+
onBlur: j,
|
|
561
|
+
onFocus: () => d(2),
|
|
562
|
+
ref: F(2),
|
|
563
|
+
tabIndex: E === 2 ? 0 : -1,
|
|
564
|
+
"aria-label": t("pdf.currentPageInput"),
|
|
565
|
+
className: ye()
|
|
566
|
+
}
|
|
567
|
+
),
|
|
568
|
+
/* @__PURE__ */ a(
|
|
569
|
+
"span",
|
|
570
|
+
{
|
|
571
|
+
"aria-hidden": "true",
|
|
572
|
+
className: "type-body-sm text-[var(--muted-foreground)]",
|
|
573
|
+
children: t("pdf.pageOf", { current: u, total: f || 0 })
|
|
574
|
+
}
|
|
575
|
+
),
|
|
576
|
+
/* @__PURE__ */ a(
|
|
577
|
+
"span",
|
|
578
|
+
{
|
|
579
|
+
"aria-hidden": "true",
|
|
580
|
+
className: "inline-block block-size-6 inline-size-px bg-[var(--border)] ms-[var(--spacing-xs)] me-[var(--spacing-xs)]"
|
|
581
|
+
}
|
|
582
|
+
),
|
|
583
|
+
M({
|
|
584
|
+
index: 3,
|
|
585
|
+
label: t("pdf.zoom.out"),
|
|
586
|
+
onActivate: I,
|
|
587
|
+
icon: /* @__PURE__ */ a(Qe, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
588
|
+
}),
|
|
589
|
+
M({
|
|
590
|
+
index: 4,
|
|
591
|
+
label: t("pdf.zoom.in"),
|
|
592
|
+
onActivate: D,
|
|
593
|
+
icon: /* @__PURE__ */ a(Ke, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
594
|
+
}),
|
|
595
|
+
/* @__PURE__ */ Z(
|
|
596
|
+
"select",
|
|
597
|
+
{
|
|
598
|
+
"aria-label": t("pdf.zoom.preset"),
|
|
599
|
+
value: typeof m == "number" ? String(m) : m,
|
|
600
|
+
onChange: (n) => {
|
|
601
|
+
const y = n.target.value;
|
|
602
|
+
if (y === "fit-width" || y === "fit-page" || y === "actual-size")
|
|
603
|
+
v(y);
|
|
604
|
+
else {
|
|
605
|
+
const k = Number(y);
|
|
606
|
+
Number.isFinite(k) && v(k);
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
ref: F(5),
|
|
610
|
+
tabIndex: E === 5 ? 0 : -1,
|
|
611
|
+
onFocus: () => d(5),
|
|
612
|
+
onKeyDown: c,
|
|
613
|
+
className: qe(),
|
|
614
|
+
children: [
|
|
615
|
+
/* @__PURE__ */ a("option", { value: "fit-width", children: t("pdf.zoom.fitWidth") }),
|
|
616
|
+
/* @__PURE__ */ a("option", { value: "fit-page", children: t("pdf.zoom.fitPage") }),
|
|
617
|
+
/* @__PURE__ */ a("option", { value: "actual-size", children: t("pdf.zoom.actualSize") }),
|
|
618
|
+
$e.filter(J).map((n) => /* @__PURE__ */ a("option", { value: String(n), children: `${Math.round(n * 100)}%` }, n))
|
|
619
|
+
]
|
|
620
|
+
}
|
|
621
|
+
),
|
|
622
|
+
/* @__PURE__ */ Z(X.Root, { open: z, onOpenChange: V, children: [
|
|
623
|
+
/* @__PURE__ */ a(X.Trigger, { asChild: !0, children: M({
|
|
624
|
+
index: 6,
|
|
625
|
+
label: t("pdf.search.open"),
|
|
626
|
+
onActivate: q,
|
|
627
|
+
icon: /* @__PURE__ */ a(Le, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
628
|
+
}) }),
|
|
629
|
+
/* @__PURE__ */ a(X.Portal, { children: /* @__PURE__ */ Z(
|
|
630
|
+
X.Content,
|
|
631
|
+
{
|
|
632
|
+
sideOffset: 8,
|
|
633
|
+
className: [
|
|
634
|
+
"z-[var(--z-popover)]",
|
|
635
|
+
"bg-[var(--popover)] text-[var(--popover-foreground)]",
|
|
636
|
+
"rounded-[var(--radius-md)] border border-[color:var(--border)]",
|
|
637
|
+
"shadow-[var(--shadow-lg)]",
|
|
638
|
+
"p-[var(--spacing-sm)]",
|
|
639
|
+
"flex items-center gap-[var(--spacing-xs)]"
|
|
640
|
+
].join(" "),
|
|
641
|
+
children: [
|
|
642
|
+
/* @__PURE__ */ a(
|
|
643
|
+
"input",
|
|
644
|
+
{
|
|
645
|
+
type: "search",
|
|
646
|
+
autoFocus: !0,
|
|
647
|
+
value: K,
|
|
648
|
+
onChange: (n) => b(n.target.value),
|
|
649
|
+
placeholder: t("pdf.search.placeholder"),
|
|
650
|
+
"aria-label": t("pdf.search.placeholder"),
|
|
651
|
+
className: ye({ className: "inline-size-[16rem] text-start" })
|
|
652
|
+
}
|
|
653
|
+
),
|
|
654
|
+
/* @__PURE__ */ a(
|
|
655
|
+
"span",
|
|
656
|
+
{
|
|
657
|
+
"aria-live": "polite",
|
|
658
|
+
className: "type-meta text-[var(--muted-foreground)]",
|
|
659
|
+
children: i.total > 0 ? t("pdf.search.countOfTotal", {
|
|
660
|
+
current: i.current,
|
|
661
|
+
total: i.total
|
|
662
|
+
}) : K ? t("pdf.search.noResults") : ""
|
|
663
|
+
}
|
|
664
|
+
),
|
|
665
|
+
/* @__PURE__ */ a(X.Close, { asChild: !0, children: /* @__PURE__ */ a(
|
|
666
|
+
"button",
|
|
667
|
+
{
|
|
668
|
+
type: "button",
|
|
669
|
+
"aria-label": t("pdf.search.close"),
|
|
670
|
+
className: be(),
|
|
671
|
+
children: /* @__PURE__ */ a(Fe, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
672
|
+
}
|
|
673
|
+
) })
|
|
674
|
+
]
|
|
675
|
+
}
|
|
676
|
+
) })
|
|
677
|
+
] }),
|
|
678
|
+
M({
|
|
679
|
+
index: 7,
|
|
680
|
+
label: t("pdf.print"),
|
|
681
|
+
onActivate: B,
|
|
682
|
+
icon: /* @__PURE__ */ a(Ze, { "aria-hidden": "true", className: "block-size-4 inline-size-4" })
|
|
683
|
+
})
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
);
|
|
687
|
+
}
|
|
688
|
+
function Ye(o) {
|
|
689
|
+
const {
|
|
690
|
+
pageNumber: t,
|
|
691
|
+
totalPages: u,
|
|
692
|
+
doc: f,
|
|
693
|
+
zoom: m,
|
|
694
|
+
container: g,
|
|
695
|
+
resizeTick: N,
|
|
696
|
+
shouldRender: p,
|
|
697
|
+
registerRef: D,
|
|
698
|
+
searchQuery: I,
|
|
699
|
+
onMatchCount: v
|
|
700
|
+
} = o, { t: q } = ce(), B = R(null), z = R(null), [V, K] = h({
|
|
701
|
+
width: 612,
|
|
702
|
+
height: 792
|
|
703
|
+
}), [b, i] = h(null);
|
|
704
|
+
x(() => {
|
|
705
|
+
let d = !1;
|
|
706
|
+
return f.getPage(t).then((c) => {
|
|
707
|
+
d || i(c);
|
|
708
|
+
}), () => {
|
|
709
|
+
d = !0;
|
|
710
|
+
};
|
|
711
|
+
}, [f, t]), x(() => {
|
|
712
|
+
if (!b) return;
|
|
713
|
+
const d = b.getViewport({ scale: 1 }), c = xe(m, d, g), w = b.getViewport({ scale: c });
|
|
714
|
+
K({ width: Math.floor(w.width), height: Math.floor(w.height) });
|
|
715
|
+
}, [b, m, g, N]), x(() => {
|
|
716
|
+
if (!b || !p) {
|
|
717
|
+
const k = B.current;
|
|
718
|
+
k && !p && (k.width = 0);
|
|
719
|
+
return;
|
|
720
|
+
}
|
|
721
|
+
const d = B.current, c = z.current;
|
|
722
|
+
if (!d) return;
|
|
723
|
+
const w = d.getContext("2d");
|
|
724
|
+
if (!w) return;
|
|
725
|
+
const P = b.getViewport({ scale: 1 }), S = xe(m, P, g), O = b.getViewport({ scale: S }), j = Math.max(1, window.devicePixelRatio || 1);
|
|
726
|
+
d.width = Math.floor(O.width * j), d.height = Math.floor(O.height * j), w.setTransform(j, 0, 0, j, 0, 0);
|
|
727
|
+
const M = b.render({
|
|
728
|
+
canvas: d,
|
|
729
|
+
canvasContext: w,
|
|
730
|
+
viewport: O
|
|
731
|
+
});
|
|
732
|
+
let n = !1, y = null;
|
|
733
|
+
return M.promise.then(async () => {
|
|
734
|
+
if (n || !c) return;
|
|
735
|
+
c.textContent = "";
|
|
736
|
+
const k = await b.getTextContent();
|
|
737
|
+
n || (y = new se.TextLayer({
|
|
738
|
+
textContentSource: k,
|
|
739
|
+
container: c,
|
|
740
|
+
viewport: O
|
|
741
|
+
}), await y.render(), we(c, I, v));
|
|
742
|
+
}).catch(() => {
|
|
743
|
+
}), () => {
|
|
744
|
+
n = !0;
|
|
745
|
+
try {
|
|
746
|
+
M.cancel();
|
|
747
|
+
} catch {
|
|
748
|
+
}
|
|
749
|
+
if (y)
|
|
750
|
+
try {
|
|
751
|
+
y.cancel();
|
|
752
|
+
} catch {
|
|
753
|
+
}
|
|
754
|
+
};
|
|
755
|
+
}, [b, p, m, g, N, I, v]), x(() => {
|
|
756
|
+
if (!p) return;
|
|
757
|
+
const d = z.current;
|
|
758
|
+
d && we(d, I, v);
|
|
759
|
+
}, [I, p, v]);
|
|
760
|
+
const F = {
|
|
761
|
+
width: V.width,
|
|
762
|
+
height: V.height
|
|
763
|
+
}, E = {
|
|
764
|
+
width: V.width,
|
|
765
|
+
height: V.height
|
|
766
|
+
};
|
|
767
|
+
return /* @__PURE__ */ Z(
|
|
768
|
+
"article",
|
|
769
|
+
{
|
|
770
|
+
ref: (d) => {
|
|
771
|
+
D(d);
|
|
772
|
+
},
|
|
773
|
+
"data-page-number": t,
|
|
774
|
+
"aria-label": q("pdf.pageOf", { current: t, total: u }),
|
|
775
|
+
className: Je(),
|
|
776
|
+
style: E,
|
|
777
|
+
children: [
|
|
778
|
+
/* @__PURE__ */ a("canvas", { ref: B, style: F }),
|
|
779
|
+
/* @__PURE__ */ a(
|
|
780
|
+
"div",
|
|
781
|
+
{
|
|
782
|
+
ref: z,
|
|
783
|
+
"aria-hidden": "false",
|
|
784
|
+
className: [
|
|
785
|
+
"absolute inset-0",
|
|
786
|
+
"overflow-hidden",
|
|
787
|
+
"select-text",
|
|
788
|
+
"opacity-100",
|
|
789
|
+
"[&>span]:absolute [&>span]:whitespace-pre",
|
|
790
|
+
"[&>span]:text-transparent [&>span]:origin-[0_0]",
|
|
791
|
+
"[&_[data-match=true]]:bg-[color-mix(in_srgb,var(--warning)_35%,transparent)]",
|
|
792
|
+
"[&_[data-match=current]]:bg-[color-mix(in_srgb,var(--warning)_60%,transparent)]"
|
|
793
|
+
].join(" ")
|
|
794
|
+
}
|
|
795
|
+
)
|
|
796
|
+
]
|
|
797
|
+
}
|
|
798
|
+
);
|
|
799
|
+
}
|
|
800
|
+
function we(o, t, u) {
|
|
801
|
+
if (o.querySelectorAll("[data-match]").forEach((p) => {
|
|
802
|
+
p.removeAttribute("data-match");
|
|
803
|
+
}), !t) {
|
|
804
|
+
u(0);
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
const m = t.toLowerCase();
|
|
808
|
+
let g = 0;
|
|
809
|
+
o.querySelectorAll("span").forEach((p) => {
|
|
810
|
+
(p.textContent ?? "").toLowerCase().includes(m) && (p.setAttribute("data-match", "true"), g += 1);
|
|
811
|
+
}), u(g);
|
|
812
|
+
}
|
|
813
|
+
const pt = {
|
|
814
|
+
id: "pdf-viewer",
|
|
815
|
+
capabilities: ["paginate", "view_change", "filter"],
|
|
816
|
+
state: {},
|
|
817
|
+
actions: {
|
|
818
|
+
go_to_page: {
|
|
819
|
+
safety: "read",
|
|
820
|
+
argsType: "{ page: number }",
|
|
821
|
+
description: "Navigate to a specific 1-indexed page.",
|
|
822
|
+
invoke: (o, t) => {
|
|
823
|
+
o.goToPage(t.page);
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
set_zoom: {
|
|
827
|
+
safety: "read",
|
|
828
|
+
argsType: "{ zoom: PDFZoomPreset }",
|
|
829
|
+
description: "Apply a zoom preset.",
|
|
830
|
+
invoke: (o, t) => {
|
|
831
|
+
o.setZoom(t.zoom);
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
search: {
|
|
835
|
+
safety: "read",
|
|
836
|
+
argsType: "{ query: string }",
|
|
837
|
+
description: "Search the document for the given query and highlight matches.",
|
|
838
|
+
invoke: (o, t) => {
|
|
839
|
+
o.search(t.query);
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
print: {
|
|
843
|
+
safety: "read",
|
|
844
|
+
description: "Open the browser print dialog for the document.",
|
|
845
|
+
invoke: (o) => {
|
|
846
|
+
o.print();
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
domHooks: {
|
|
851
|
+
root: { attr: "data-component", value: "pdf-viewer" }
|
|
852
|
+
}
|
|
853
|
+
};
|
|
854
|
+
export {
|
|
855
|
+
Xe as P,
|
|
856
|
+
pt as p
|
|
857
|
+
};
|
|
858
|
+
//# sourceMappingURL=pdf-viewer.agent-DXjgDItg.js.map
|