themelia-react-ui 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/LICENSE +21 -0
- package/README.md +249 -2
- package/THIRD_PARTY_NOTICES.md +65 -0
- package/dist/accordion-BRWh3BM1.js +205 -0
- package/dist/accordion-BRWh3BM1.js.map +1 -0
- package/dist/action-menu-Cx3SdfbN.js +265 -0
- package/dist/action-menu-Cx3SdfbN.js.map +1 -0
- package/dist/action-presentation.js +11 -0
- package/dist/action-presentation.js.map +1 -0
- package/dist/affordance-geometry.generated-DXl-Zb3Z.js +23 -0
- package/dist/affordance-geometry.generated-DXl-Zb3Z.js.map +1 -0
- package/dist/ai-artifact-DkOArd3-.js +1121 -0
- package/dist/ai-artifact-DkOArd3-.js.map +1 -0
- package/dist/anchored-positioning-DPnKTvNs.js +6 -0
- package/dist/anchored-positioning-DPnKTvNs.js.map +1 -0
- package/dist/app-shell-BH_bGcE2.js +235 -0
- package/dist/app-shell-BH_bGcE2.js.map +1 -0
- package/dist/attachment-DsLgNHXt.js +244 -0
- package/dist/attachment-DsLgNHXt.js.map +1 -0
- package/dist/auth-BDB1V_2q.js +704 -0
- package/dist/auth-BDB1V_2q.js.map +1 -0
- package/dist/avatar-CsnWaYmt.js +173 -0
- package/dist/avatar-CsnWaYmt.js.map +1 -0
- package/dist/badge-BZXZT9wd.js +92 -0
- package/dist/badge-BZXZT9wd.js.map +1 -0
- package/dist/base/accordion.js +3 -0
- package/dist/base/action-menu.js +3 -0
- package/dist/base/attachment.js +3 -0
- package/dist/base/avatar.js +3 -0
- package/dist/base/badge.js +3 -0
- package/dist/base/buttons.js +3 -0
- package/dist/base/cards.js +4 -0
- package/dist/base/carousel.js +251 -0
- package/dist/base/carousel.js.map +1 -0
- package/dist/base/cascader.js +361 -0
- package/dist/base/cascader.js.map +1 -0
- package/dist/base/chart.js +3 -0
- package/dist/base/choice-inputs.js +3 -0
- package/dist/base/code-block.js +3 -0
- package/dist/base/combobox.js +3 -0
- package/dist/base/command.js +3 -0
- package/dist/base/copyable.js +3 -0
- package/dist/base/date-pickers.js +4 -0
- package/dist/base/display.js +8 -0
- package/dist/base/feedback.js +4 -0
- package/dist/base/forms-numeric.js +3 -0
- package/dist/base/forms.js +4 -0
- package/dist/base/item.js +3 -0
- package/dist/base/media-gallery.js +3 -0
- package/dist/base/navigation.js +8 -0
- package/dist/base/popover-menu.js +3 -0
- package/dist/base/popover.js +3 -0
- package/dist/base/qr-code.js +63 -0
- package/dist/base/qr-code.js.map +1 -0
- package/dist/base/repeaters.js +620 -0
- package/dist/base/repeaters.js.map +1 -0
- package/dist/base/sheet.js +3 -0
- package/dist/base/sidebar.js +3 -0
- package/dist/base/signature-pad.js +364 -0
- package/dist/base/signature-pad.js.map +1 -0
- package/dist/base/skeleton.js +3 -0
- package/dist/base/spinner.js +3 -0
- package/dist/base/structure.js +3 -0
- package/dist/base/table.js +3 -0
- package/dist/base/text-inputs.js +4 -0
- package/dist/base/toaster.js +102 -0
- package/dist/base/toaster.js.map +1 -0
- package/dist/base/tree.js +3 -0
- package/dist/base/upload-queue.js +3 -0
- package/dist/base/upload.js +5 -0
- package/dist/base/value-inputs.js +3 -0
- package/dist/blocks/admin.js +478 -0
- package/dist/blocks/admin.js.map +1 -0
- package/dist/blocks/ai.js +1021 -0
- package/dist/blocks/ai.js.map +1 -0
- package/dist/blocks/analytics.js +1499 -0
- package/dist/blocks/analytics.js.map +1 -0
- package/dist/blocks/collaboration.js +3 -0
- package/dist/blocks/commerce/receipt.js +3 -0
- package/dist/blocks/commerce.js +3393 -0
- package/dist/blocks/commerce.js.map +1 -0
- package/dist/blocks/data-display.js +3 -0
- package/dist/blocks/onboarding.js +128 -0
- package/dist/blocks/onboarding.js.map +1 -0
- package/dist/blocks/timelines.js +3 -0
- package/dist/breadcrumbs-DdQ_I5ra.js +127 -0
- package/dist/breadcrumbs-DdQ_I5ra.js.map +1 -0
- package/dist/button-BS6l5JUw.js +47 -0
- package/dist/button-BS6l5JUw.js.map +1 -0
- package/dist/buttons-Co6GavvM.js +674 -0
- package/dist/buttons-Co6GavvM.js.map +1 -0
- package/dist/cards-BMB0laLG.js +66 -0
- package/dist/cards-BMB0laLG.js.map +1 -0
- package/dist/chart-DVfcwQu6.js +149 -0
- package/dist/chart-DVfcwQu6.js.map +1 -0
- package/dist/choice-inputs-CavA-SGV.js +644 -0
- package/dist/choice-inputs-CavA-SGV.js.map +1 -0
- package/dist/code-block-DIlqzoiD.js +183 -0
- package/dist/code-block-DIlqzoiD.js.map +1 -0
- package/dist/collapsible-DsnktFNv.js +81 -0
- package/dist/collapsible-DsnktFNv.js.map +1 -0
- package/dist/collection-content-C4fthJV_.js +53 -0
- package/dist/collection-content-C4fthJV_.js.map +1 -0
- package/dist/combobox-CHD750do.js +850 -0
- package/dist/combobox-CHD750do.js.map +1 -0
- package/dist/combobox-HDftpzxt.js +273 -0
- package/dist/combobox-HDftpzxt.js.map +1 -0
- package/dist/command-D0kWBZfd.js +421 -0
- package/dist/command-D0kWBZfd.js.map +1 -0
- package/dist/comments-CvYeglMS.js +1132 -0
- package/dist/comments-CvYeglMS.js.map +1 -0
- package/dist/component-vocabulary.js +26 -0
- package/dist/component-vocabulary.js.map +1 -0
- package/dist/components/base/accordion/accordion-variants.d.ts +36 -0
- package/dist/components/base/accordion/accordion.d.ts +20 -0
- package/dist/components/base/accordion/accordion.strings.d.ts +15 -0
- package/dist/components/base/accordion/accordion.types.d.ts +74 -0
- package/dist/components/base/accordion/index.d.ts +4 -0
- package/dist/components/base/accordion/smart-accordion.d.ts +7 -0
- package/dist/components/base/action-menu/action-menu.d.ts +147 -0
- package/dist/components/base/action-menu/action-menu.strings.d.ts +4 -0
- package/dist/components/base/action-menu/index.d.ts +11 -0
- package/dist/components/base/attachment/attachment.d.ts +17 -0
- package/dist/components/base/attachment/attachment.types.d.ts +49 -0
- package/dist/components/base/attachment/index.d.ts +2 -0
- package/dist/components/base/avatar/avatar.d.ts +24 -0
- package/dist/components/base/avatar/index.d.ts +14 -0
- package/dist/components/base/avatar/stacked-avatars.d.ts +39 -0
- package/dist/components/base/badge/badge.d.ts +22 -0
- package/dist/components/base/badge/badge.recipes.d.ts +20 -0
- package/dist/components/base/badge/index.d.ts +2 -0
- package/dist/components/base/buttons/base-button.d.ts +24 -0
- package/dist/components/base/buttons/button-group.d.ts +28 -0
- package/dist/components/base/buttons/button-group.recipes.d.ts +6 -0
- package/dist/components/base/buttons/button.d.ts +47 -0
- package/dist/components/base/buttons/button.recipes.d.ts +23 -0
- package/dist/components/base/buttons/button.variants.d.ts +8 -0
- package/dist/components/base/buttons/index.d.ts +7 -0
- package/dist/components/base/buttons/loader-button.d.ts +40 -0
- package/dist/components/base/buttons/text-button.d.ts +19 -0
- package/dist/components/base/buttons/tooltip-button.d.ts +7 -0
- package/dist/components/base/cards/card-actions.d.ts +41 -0
- package/dist/components/base/cards/card.recipes.d.ts +28 -0
- package/dist/components/base/cards/index.d.ts +5 -0
- package/dist/components/base/cards/partials/card-primitives.d.ts +21 -0
- package/dist/components/base/cards/partials/has-renderable-content.d.ts +8 -0
- package/dist/components/base/cards/partials/smart-card-actions-menu.d.ts +8 -0
- package/dist/components/base/cards/partials/smart-card-alert.d.ts +20 -0
- package/dist/components/base/cards/partials/smart-card-header-row.d.ts +33 -0
- package/dist/components/base/cards/partials/smart-card-skeleton.d.ts +16 -0
- package/dist/components/base/cards/smart-card.d.ts +9 -0
- package/dist/components/base/cards/smart-card.strings.d.ts +18 -0
- package/dist/components/base/cards/smart-card.tokens.d.ts +44 -0
- package/dist/components/base/cards/smart-card.types.d.ts +144 -0
- package/dist/components/base/carousel/carousel.d.ts +105 -0
- package/dist/components/base/carousel/carousel.strings.d.ts +6 -0
- package/dist/components/base/carousel/index.d.ts +2 -0
- package/dist/components/base/cascader/cascader.d.ts +2 -0
- package/dist/components/base/cascader/cascader.types.d.ts +57 -0
- package/dist/components/base/cascader/index.d.ts +2 -0
- package/dist/components/base/chart/chart.d.ts +99 -0
- package/dist/components/base/chart/index.d.ts +9 -0
- package/dist/components/base/choice-inputs/card-checkbox-group.d.ts +27 -0
- package/dist/components/base/choice-inputs/card-radio-group.d.ts +19 -0
- package/dist/components/base/choice-inputs/checkbox.d.ts +17 -0
- package/dist/components/base/choice-inputs/choice-types.d.ts +57 -0
- package/dist/components/base/choice-inputs/index.d.ts +28 -0
- package/dist/components/base/choice-inputs/list-radio-group.d.ts +13 -0
- package/dist/components/base/choice-inputs/pill-radio-group.d.ts +27 -0
- package/dist/components/base/choice-inputs/select-popup.d.ts +26 -0
- package/dist/components/base/choice-inputs/select.d.ts +94 -0
- package/dist/components/base/choice-inputs/switch-card.d.ts +36 -0
- package/dist/components/base/choice-inputs/switch.d.ts +38 -0
- package/dist/components/base/choice-inputs/toggle-field.d.ts +41 -0
- package/dist/components/base/code-block/code-block.d.ts +3 -0
- package/dist/components/base/code-block/code-block.types.d.ts +46 -0
- package/dist/components/base/code-block/index.d.ts +2 -0
- package/dist/components/base/code-block/use-code-copy.d.ts +6 -0
- package/dist/components/base/combobox/index.d.ts +27 -0
- package/dist/components/base/command/command.d.ts +73 -0
- package/dist/components/base/command/index.d.ts +1 -0
- package/dist/components/base/copyable/copyable.d.ts +36 -0
- package/dist/components/base/copyable/index.d.ts +1 -0
- package/dist/components/base/date-pickers/date-picker-footer.d.ts +14 -0
- package/dist/components/base/date-pickers/date-picker-header.d.ts +10 -0
- package/dist/components/base/date-pickers/date-picker-helpers.d.ts +87 -0
- package/dist/components/base/date-pickers/date-picker-internals.d.ts +10 -0
- package/dist/components/base/date-pickers/date-picker-multiple.d.ts +20 -0
- package/dist/components/base/date-pickers/date-picker-range.d.ts +15 -0
- package/dist/components/base/date-pickers/date-picker-single.d.ts +15 -0
- package/dist/components/base/date-pickers/date-picker.d.ts +3 -0
- package/dist/components/base/date-pickers/date-picker.recipes.d.ts +18 -0
- package/dist/components/base/date-pickers/date-pickers.strings.d.ts +14 -0
- package/dist/components/base/date-pickers/datepicker.types.d.ts +285 -0
- package/dist/components/base/date-pickers/index.d.ts +7 -0
- package/dist/components/base/date-pickers/month-year-picker.d.ts +4 -0
- package/dist/components/base/date-pickers/time-picker.d.ts +70 -0
- package/dist/components/base/display/alert-dialog.d.ts +25 -0
- package/dist/components/base/display/boolean-indicator.d.ts +25 -0
- package/dist/components/base/display/collapsible.d.ts +21 -0
- package/dist/components/base/display/content-block.d.ts +73 -0
- package/dist/components/base/display/content-block.strings.d.ts +5 -0
- package/dist/components/base/display/date-block.d.ts +70 -0
- package/dist/components/base/display/dialog.d.ts +35 -0
- package/dist/components/base/display/icon-badge/icon-badge.d.ts +45 -0
- package/dist/components/base/display/icon-badge/index.d.ts +1 -0
- package/dist/components/base/display/icon-size.d.ts +5 -0
- package/dist/components/base/display/index.d.ts +31 -0
- package/dist/components/base/display/placeholder-pattern.d.ts +7 -0
- package/dist/components/base/display/scroll-area.d.ts +12 -0
- package/dist/components/base/display/separator.d.ts +10 -0
- package/dist/components/base/display/surface-title.d.ts +10 -0
- package/dist/components/base/display/tooltip.d.ts +28 -0
- package/dist/components/base/display/visually-hidden.d.ts +14 -0
- package/dist/components/base/feedback/alert.d.ts +49 -0
- package/dist/components/base/feedback/empty.d.ts +48 -0
- package/dist/components/base/feedback/index.d.ts +27 -0
- package/dist/components/base/feedback/progress.d.ts +81 -0
- package/dist/components/base/feedback/progress.strings.d.ts +5 -0
- package/dist/components/base/feedback/state-display.d.ts +39 -0
- package/dist/components/base/forms/controlled-form-field.d.ts +32 -0
- package/dist/components/base/forms/controlled-form-field.strings.d.ts +7 -0
- package/dist/components/base/forms/form-field.d.ts +38 -0
- package/dist/components/base/forms/form-sizing.d.ts +86 -0
- package/dist/components/base/forms/index.d.ts +4 -0
- package/dist/components/base/forms/operation-password-form.d.ts +16 -0
- package/dist/components/base/forms/workflow.d.ts +68 -0
- package/dist/components/base/forms-numeric/coordinates-input.d.ts +47 -0
- package/dist/components/base/forms-numeric/currency-input.d.ts +44 -0
- package/dist/components/base/forms-numeric/decimal-input.d.ts +53 -0
- package/dist/components/base/forms-numeric/dimensions-input.d.ts +79 -0
- package/dist/components/base/forms-numeric/index.d.ts +21 -0
- package/dist/components/base/forms-numeric/money-input.d.ts +67 -0
- package/dist/components/base/forms-numeric/money-input.strings.d.ts +6 -0
- package/dist/components/base/forms-numeric/percentage-input.d.ts +8 -0
- package/dist/components/base/forms-numeric/rounding-mode-select.d.ts +12 -0
- package/dist/components/base/forms-numeric/weight-input.d.ts +54 -0
- package/dist/components/base/item/index.d.ts +2 -0
- package/dist/components/base/item/item.d.ts +12 -0
- package/dist/components/base/item/item.types.d.ts +100 -0
- package/dist/components/base/media-gallery/index.d.ts +2 -0
- package/dist/components/base/media-gallery/media-gallery.d.ts +45 -0
- package/dist/components/base/navigation/breadcrumbs.d.ts +37 -0
- package/dist/components/base/navigation/dropdown-menu.d.ts +45 -0
- package/dist/components/base/navigation/index.d.ts +21 -0
- package/dist/components/base/navigation/language-switcher.d.ts +12 -0
- package/dist/components/base/navigation/navigation-tabs.d.ts +40 -0
- package/dist/components/base/navigation/overflow-tab-bar.d.ts +43 -0
- package/dist/components/base/navigation/page-header/index.d.ts +1 -0
- package/dist/components/base/navigation/page-header/page-header.d.ts +88 -0
- package/dist/components/base/navigation/pagination.d.ts +61 -0
- package/dist/components/base/navigation/tab-scroll-viewport.d.ts +12 -0
- package/dist/components/base/navigation/tabs.d.ts +23 -0
- package/dist/components/base/popover/collection-content.d.ts +22 -0
- package/dist/components/base/popover/index.d.ts +1 -0
- package/dist/components/base/popover/popover.d.ts +54 -0
- package/dist/components/base/popover/popover.recipes.d.ts +29 -0
- package/dist/components/base/popover-menu/index.d.ts +3 -0
- package/dist/components/base/popover-menu/popover-menu.d.ts +82 -0
- package/dist/components/base/popover-menu/popover-menu.types.d.ts +30 -0
- package/dist/components/base/qr-code/index.d.ts +8 -0
- package/dist/components/base/qr-code/qr-code.d.ts +13 -0
- package/dist/components/base/repeaters/index.d.ts +21 -0
- package/dist/components/base/repeaters/key-value-editor.d.ts +27 -0
- package/dist/components/base/repeaters/localized-object-field.d.ts +35 -0
- package/dist/components/base/repeaters/localized-string-field.d.ts +25 -0
- package/dist/components/base/repeaters/localized-string-repeater.d.ts +44 -0
- package/dist/components/base/repeaters/object-repeater.d.ts +66 -0
- package/dist/components/base/repeaters/repeater.d.ts +87 -0
- package/dist/components/base/repeaters/repeaters.strings.d.ts +16 -0
- package/dist/components/base/repeaters/string-repeater.d.ts +65 -0
- package/dist/components/base/repeaters/string-repeater.utils.d.ts +2 -0
- package/dist/components/base/sheet/index.d.ts +1 -0
- package/dist/components/base/sheet/sheet.d.ts +35 -0
- package/dist/components/base/sidebar/index.d.ts +6 -0
- package/dist/components/base/sidebar/sidebar.d.ts +135 -0
- package/dist/components/base/signature-pad/index.d.ts +4 -0
- package/dist/components/base/signature-pad/signature-pad.d.ts +4 -0
- package/dist/components/base/signature-pad/signature-pad.types.d.ts +66 -0
- package/dist/components/base/signature-pad/signature-pad.utils.d.ts +8 -0
- package/dist/components/base/skeleton/index.d.ts +14 -0
- package/dist/components/base/skeleton/skeleton.d.ts +54 -0
- package/dist/components/base/spinner/index.d.ts +1 -0
- package/dist/components/base/spinner/spinner.d.ts +32 -0
- package/dist/components/base/structure/adaptive-grid.d.ts +3 -0
- package/dist/components/base/structure/grid-cell.d.ts +3 -0
- package/dist/components/base/structure/grid.d.ts +3 -0
- package/dist/components/base/structure/index.d.ts +5 -0
- package/dist/components/base/structure/stack.d.ts +3 -0
- package/dist/components/base/structure/structure.context.d.ts +6 -0
- package/dist/components/base/structure/structure.recipes.d.ts +27 -0
- package/dist/components/base/structure/structure.responsive.d.ts +5 -0
- package/dist/components/base/structure/structure.types.d.ts +51 -0
- package/dist/components/base/table/index.d.ts +18 -0
- package/dist/components/base/text-inputs/hooks/index.d.ts +1 -0
- package/dist/components/base/text-inputs/hooks/use-form-field-state.d.ts +48 -0
- package/dist/components/base/text-inputs/index.d.ts +21 -0
- package/dist/components/base/text-inputs/input-group.d.ts +46 -0
- package/dist/components/base/text-inputs/input.d.ts +45 -0
- package/dist/components/base/text-inputs/password-input.d.ts +28 -0
- package/dist/components/base/text-inputs/slug-field.d.ts +21 -0
- package/dist/components/base/text-inputs/textarea.d.ts +37 -0
- package/dist/components/base/toaster/index.d.ts +1 -0
- package/dist/components/base/toaster/toaster.d.ts +6 -0
- package/dist/components/base/tree/hierarchy.d.ts +11 -0
- package/dist/components/base/tree/index.d.ts +2 -0
- package/dist/components/base/tree/tree.d.ts +3 -0
- package/dist/components/base/tree/tree.types.d.ts +47 -0
- package/dist/components/base/upload/avatar-upload.d.ts +39 -0
- package/dist/components/base/upload/dropzone.d.ts +40 -0
- package/dist/components/base/upload/file-picker-input.d.ts +15 -0
- package/dist/components/base/upload/file-upload.d.ts +9 -0
- package/dist/components/base/upload/file-upload.strings.d.ts +18 -0
- package/dist/components/base/upload/file-upload.types.d.ts +68 -0
- package/dist/components/base/upload/file-upload.validation.d.ts +21 -0
- package/dist/components/base/upload/image-upload.d.ts +57 -0
- package/dist/components/base/upload/index.d.ts +26 -0
- package/dist/components/base/upload/use-file-drop-target.d.ts +22 -0
- package/dist/components/base/upload-queue/index.d.ts +3 -0
- package/dist/components/base/upload-queue/upload-progress-list.d.ts +55 -0
- package/dist/components/base/upload-queue/upload-tray.d.ts +46 -0
- package/dist/components/base/value-inputs/color-input.d.ts +26 -0
- package/dist/components/base/value-inputs/date-time-input.d.ts +19 -0
- package/dist/components/base/value-inputs/index.d.ts +25 -0
- package/dist/components/base/value-inputs/phone-input.d.ts +48 -0
- package/dist/components/base/value-inputs/slider.d.ts +59 -0
- package/dist/components/base/value-inputs/tags-input.d.ts +67 -0
- package/dist/components/blocks/admin/action-surfaces/index.d.ts +127 -0
- package/dist/components/blocks/admin/admin.strings.d.ts +11 -0
- package/dist/components/blocks/admin/api-key-list/api-key-list.d.ts +2 -0
- package/dist/components/blocks/admin/api-key-list/api-key-list.strings.d.ts +16 -0
- package/dist/components/blocks/admin/api-key-list/api-key-list.types.d.ts +58 -0
- package/dist/components/blocks/admin/api-key-list/index.d.ts +3 -0
- package/dist/components/blocks/admin/index.d.ts +4 -0
- package/dist/components/blocks/admin/role-permission/index.d.ts +2 -0
- package/dist/components/blocks/admin/role-permission/role-permission.d.ts +5 -0
- package/dist/components/blocks/admin/role-permission/types.d.ts +26 -0
- package/dist/components/blocks/ai/ai-agent/ai-agent.d.ts +5 -0
- package/dist/components/blocks/ai/ai-agent/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-agent/types.d.ts +30 -0
- package/dist/components/blocks/ai/ai-artifact/ai-artifact.d.ts +5 -0
- package/dist/components/blocks/ai/ai-artifact/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-artifact/types.d.ts +50 -0
- package/dist/components/blocks/ai/ai-attachment/ai-attachment.d.ts +5 -0
- package/dist/components/blocks/ai/ai-attachment/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-attachment/types.d.ts +35 -0
- package/dist/components/blocks/ai/ai-chain-of-thought/ai-chain-of-thought.d.ts +5 -0
- package/dist/components/blocks/ai/ai-chain-of-thought/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-chain-of-thought/types.d.ts +36 -0
- package/dist/components/blocks/ai/ai-citation/ai-citation.d.ts +5 -0
- package/dist/components/blocks/ai/ai-citation/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-citation/types.d.ts +38 -0
- package/dist/components/blocks/ai/ai-classification/ai-classification.d.ts +2 -0
- package/dist/components/blocks/ai/ai-classification/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-classification/types.d.ts +27 -0
- package/dist/components/blocks/ai/ai-code-block/ai-code-block.d.ts +6 -0
- package/dist/components/blocks/ai/ai-code-block/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-code-block/types.d.ts +38 -0
- package/dist/components/blocks/ai/ai-confidence/ai-confidence.d.ts +5 -0
- package/dist/components/blocks/ai/ai-confidence/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-confidence/types.d.ts +25 -0
- package/dist/components/blocks/ai/ai-confirmation/ai-confirmation.d.ts +5 -0
- package/dist/components/blocks/ai/ai-confirmation/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-confirmation/types.d.ts +40 -0
- package/dist/components/blocks/ai/ai-feedback/ai-feedback.d.ts +5 -0
- package/dist/components/blocks/ai/ai-feedback/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-feedback/types.d.ts +24 -0
- package/dist/components/blocks/ai/ai-file-tree/ai-file-tree.d.ts +5 -0
- package/dist/components/blocks/ai/ai-file-tree/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-file-tree/types.d.ts +59 -0
- package/dist/components/blocks/ai/ai-inline-citation/ai-inline-citation.d.ts +5 -0
- package/dist/components/blocks/ai/ai-inline-citation/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-inline-citation/types.d.ts +22 -0
- package/dist/components/blocks/ai/ai-message-bubble/ai-message-bubble.d.ts +6 -0
- package/dist/components/blocks/ai/ai-message-bubble/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-message-bubble/types.d.ts +35 -0
- package/dist/components/blocks/ai/ai-package-info/ai-package-info.d.ts +5 -0
- package/dist/components/blocks/ai/ai-package-info/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-package-info/types.d.ts +39 -0
- package/dist/components/blocks/ai/ai-prompt-suggestions/ai-prompt-suggestions.d.ts +5 -0
- package/dist/components/blocks/ai/ai-prompt-suggestions/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-prompt-suggestions/types.d.ts +26 -0
- package/dist/components/blocks/ai/ai-reasoning/ai-reasoning.d.ts +5 -0
- package/dist/components/blocks/ai/ai-reasoning/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-reasoning/types.d.ts +32 -0
- package/dist/components/blocks/ai/ai-shimmer/ai-shimmer.d.ts +5 -0
- package/dist/components/blocks/ai/ai-shimmer/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-shimmer/types.d.ts +11 -0
- package/dist/components/blocks/ai/ai-sources/ai-sources.d.ts +5 -0
- package/dist/components/blocks/ai/ai-sources/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-sources/types.d.ts +44 -0
- package/dist/components/blocks/ai/ai-summary/ai-summary.d.ts +2 -0
- package/dist/components/blocks/ai/ai-summary/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-summary/types.d.ts +32 -0
- package/dist/components/blocks/ai/ai-task/ai-task.d.ts +5 -0
- package/dist/components/blocks/ai/ai-task/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-task/types.d.ts +38 -0
- package/dist/components/blocks/ai/ai-token-usage/ai-token-usage.d.ts +5 -0
- package/dist/components/blocks/ai/ai-token-usage/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-token-usage/types.d.ts +22 -0
- package/dist/components/blocks/ai/ai-tool-call/ai-tool-call.d.ts +5 -0
- package/dist/components/blocks/ai/ai-tool-call/index.d.ts +2 -0
- package/dist/components/blocks/ai/ai-tool-call/types.d.ts +38 -0
- package/dist/components/blocks/ai/ai.strings.d.ts +36 -0
- package/dist/components/blocks/ai/index.d.ts +24 -0
- package/dist/components/blocks/ai/use-copy-feedback.d.ts +6 -0
- package/dist/components/blocks/analytics/activity-heatmap/activity-heatmap.d.ts +5 -0
- package/dist/components/blocks/analytics/activity-heatmap/index.d.ts +2 -0
- package/dist/components/blocks/analytics/activity-heatmap/types.d.ts +20 -0
- package/dist/components/blocks/analytics/analytics.strings.d.ts +35 -0
- package/dist/components/blocks/analytics/atoms/metric-skeleton.d.ts +13 -0
- package/dist/components/blocks/analytics/atoms/metric-sparkline.d.ts +15 -0
- package/dist/components/blocks/analytics/atoms/metric-trend-chip.d.ts +15 -0
- package/dist/components/blocks/analytics/chart-card/chart-card.d.ts +42 -0
- package/dist/components/blocks/analytics/chart-card/index.d.ts +1 -0
- package/dist/components/blocks/analytics/format-metric-value.d.ts +8 -0
- package/dist/components/blocks/analytics/index.d.ts +34 -0
- package/dist/components/blocks/analytics/metric/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric/metric.d.ts +28 -0
- package/dist/components/blocks/analytics/metric-bar/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric-bar/metric-bar.d.ts +22 -0
- package/dist/components/blocks/analytics/metric-comparison/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric-comparison/metric-comparison.d.ts +26 -0
- package/dist/components/blocks/analytics/metric-gradient/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric-gradient/metric-gradient.d.ts +19 -0
- package/dist/components/blocks/analytics/metric-grid/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric-grid/metric-grid.d.ts +33 -0
- package/dist/components/blocks/analytics/metric-micro-grid/index.d.ts +1 -0
- package/dist/components/blocks/analytics/metric-micro-grid/metric-micro-grid.d.ts +23 -0
- package/dist/components/blocks/analytics/time-ruler/index.d.ts +2 -0
- package/dist/components/blocks/analytics/time-ruler/time-ruler.d.ts +5 -0
- package/dist/components/blocks/analytics/time-ruler/types.d.ts +32 -0
- package/dist/components/blocks/analytics/types.d.ts +83 -0
- package/dist/components/blocks/collaboration/index.d.ts +1 -0
- package/dist/components/blocks/collaboration/message/index.d.ts +2 -0
- package/dist/components/blocks/collaboration/message/message.d.ts +8 -0
- package/dist/components/blocks/collaboration/message/message.types.d.ts +30 -0
- package/dist/components/blocks/commerce/address-card/address-card.d.ts +5 -0
- package/dist/components/blocks/commerce/address-card/index.d.ts +2 -0
- package/dist/components/blocks/commerce/address-card/types.d.ts +43 -0
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.d.ts +12 -0
- package/dist/components/blocks/commerce/booking-calendar-event-card/booking-calendar-event-card.types.d.ts +36 -0
- package/dist/components/blocks/commerce/booking-calendar-event-card/index.d.ts +2 -0
- package/dist/components/blocks/commerce/cart-summary/cart-summary.d.ts +5 -0
- package/dist/components/blocks/commerce/cart-summary/index.d.ts +2 -0
- package/dist/components/blocks/commerce/cart-summary/types.d.ts +53 -0
- package/dist/components/blocks/commerce/coupon-input/coupon-input.d.ts +5 -0
- package/dist/components/blocks/commerce/coupon-input/index.d.ts +2 -0
- package/dist/components/blocks/commerce/coupon-input/types.d.ts +35 -0
- package/dist/components/blocks/commerce/discount-stack/discount-stack.d.ts +5 -0
- package/dist/components/blocks/commerce/discount-stack/index.d.ts +2 -0
- package/dist/components/blocks/commerce/discount-stack/types.d.ts +27 -0
- package/dist/components/blocks/commerce/format-signed-amount.d.ts +22 -0
- package/dist/components/blocks/commerce/giftcard-card/giftcard-card.d.ts +62 -0
- package/dist/components/blocks/commerce/giftcard-card/index.d.ts +2 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-compact.d.ts +10 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-copy-button.d.ts +9 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-dark.d.ts +7 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-full.d.ts +11 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-illustrated.d.ts +10 -0
- package/dist/components/blocks/commerce/giftcard-card/partials/giftcard-minimal.d.ts +10 -0
- package/dist/components/blocks/commerce/giftcard-card/types.d.ts +83 -0
- package/dist/components/blocks/commerce/index.d.ts +34 -0
- package/dist/components/blocks/commerce/inventory-level/index.d.ts +3 -0
- package/dist/components/blocks/commerce/inventory-level/inventory-level.d.ts +5 -0
- package/dist/components/blocks/commerce/inventory-level/inventory-level.strings.d.ts +10 -0
- package/dist/components/blocks/commerce/inventory-level/types.d.ts +20 -0
- package/dist/components/blocks/commerce/inventory-section/index.d.ts +2 -0
- package/dist/components/blocks/commerce/inventory-section/inventory-section.d.ts +5 -0
- package/dist/components/blocks/commerce/inventory-section/types.d.ts +105 -0
- package/dist/components/blocks/commerce/invoice-header/index.d.ts +2 -0
- package/dist/components/blocks/commerce/invoice-header/invoice-header.d.ts +5 -0
- package/dist/components/blocks/commerce/invoice-header/types.d.ts +51 -0
- package/dist/components/blocks/commerce/invoice-line-items/index.d.ts +2 -0
- package/dist/components/blocks/commerce/invoice-line-items/invoice-line-items.d.ts +5 -0
- package/dist/components/blocks/commerce/invoice-line-items/types.d.ts +64 -0
- package/dist/components/blocks/commerce/invoice-mini/index.d.ts +2 -0
- package/dist/components/blocks/commerce/invoice-mini/invoice-mini.d.ts +5 -0
- package/dist/components/blocks/commerce/invoice-mini/types.d.ts +28 -0
- package/dist/components/blocks/commerce/loyalty-points/index.d.ts +2 -0
- package/dist/components/blocks/commerce/loyalty-points/loyalty-points.d.ts +5 -0
- package/dist/components/blocks/commerce/loyalty-points/types.d.ts +32 -0
- package/dist/components/blocks/commerce/order-status/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-status/order-status.d.ts +5 -0
- package/dist/components/blocks/commerce/order-status/types.d.ts +35 -0
- package/dist/components/blocks/commerce/order-timeline/index.d.ts +2 -0
- package/dist/components/blocks/commerce/order-timeline/order-timeline.d.ts +5 -0
- package/dist/components/blocks/commerce/order-timeline/types.d.ts +22 -0
- package/dist/components/blocks/commerce/payment-method/index.d.ts +2 -0
- package/dist/components/blocks/commerce/payment-method/payment-method.d.ts +5 -0
- package/dist/components/blocks/commerce/payment-method/types.d.ts +33 -0
- package/dist/components/blocks/commerce/payment-timeline/index.d.ts +2 -0
- package/dist/components/blocks/commerce/payment-timeline/payment-timeline.d.ts +5 -0
- package/dist/components/blocks/commerce/payment-timeline/types.d.ts +15 -0
- package/dist/components/blocks/commerce/receipt/index.d.ts +3 -0
- package/dist/components/blocks/commerce/receipt/receipt-items.d.ts +2 -0
- package/dist/components/blocks/commerce/receipt/receipt.d.ts +3 -0
- package/dist/components/blocks/commerce/receipt/types.d.ts +42 -0
- package/dist/components/blocks/commerce/refund-status/index.d.ts +2 -0
- package/dist/components/blocks/commerce/refund-status/refund-status.d.ts +5 -0
- package/dist/components/blocks/commerce/refund-status/types.d.ts +37 -0
- package/dist/components/blocks/commerce/seo-listing/index.d.ts +3 -0
- package/dist/components/blocks/commerce/seo-listing/seo-listing-card.d.ts +5 -0
- package/dist/components/blocks/commerce/seo-listing/seo-listing-score.d.ts +5 -0
- package/dist/components/blocks/commerce/seo-listing/types.d.ts +92 -0
- package/dist/components/blocks/commerce/shipment-tracking/index.d.ts +2 -0
- package/dist/components/blocks/commerce/shipment-tracking/shipment-tracking.d.ts +5 -0
- package/dist/components/blocks/commerce/shipment-tracking/types.d.ts +44 -0
- package/dist/components/blocks/commerce/subscription-summary/index.d.ts +2 -0
- package/dist/components/blocks/commerce/subscription-summary/subscription-summary.d.ts +5 -0
- package/dist/components/blocks/commerce/subscription-summary/types.d.ts +39 -0
- package/dist/components/blocks/commerce/tax-breakdown/index.d.ts +2 -0
- package/dist/components/blocks/commerce/tax-breakdown/tax-breakdown.d.ts +5 -0
- package/dist/components/blocks/commerce/tax-breakdown/types.d.ts +34 -0
- package/dist/components/blocks/commerce/upcoming-booking/index.d.ts +2 -0
- package/dist/components/blocks/commerce/upcoming-booking/types.d.ts +29 -0
- package/dist/components/blocks/commerce/upcoming-booking/upcoming-booking.d.ts +5 -0
- package/dist/components/blocks/commerce/vendor-profile/index.d.ts +3 -0
- package/dist/components/blocks/commerce/vendor-profile/types.d.ts +86 -0
- package/dist/components/blocks/commerce/vendor-profile/vendor-profile.d.ts +2 -0
- package/dist/components/blocks/commerce/voucher-entry/index.d.ts +2 -0
- package/dist/components/blocks/commerce/voucher-entry/types.d.ts +33 -0
- package/dist/components/blocks/commerce/voucher-entry/voucher-entry.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/dense-info.strings.d.ts +6 -0
- package/dist/components/blocks/data-display/dense-info-card/helpers.d.ts +19 -0
- package/dist/components/blocks/data-display/dense-info-card/index.d.ts +7 -0
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-classification.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-dashboard.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-financial.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-project.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/partials/dense-info-score.d.ts +5 -0
- package/dist/components/blocks/data-display/dense-info-card/types.d.ts +183 -0
- package/dist/components/blocks/data-display/empty-state/empty-state.d.ts +2 -0
- package/dist/components/blocks/data-display/empty-state/empty-state.strings.d.ts +19 -0
- package/dist/components/blocks/data-display/empty-state/empty-state.types.d.ts +86 -0
- package/dist/components/blocks/data-display/empty-state/index.d.ts +5 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/document-stack.d.ts +9 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/inbox-clean.d.ts +9 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/index.d.ts +25 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/search-glass.d.ts +9 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/stacked-cards.d.ts +11 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/types.d.ts +4 -0
- package/dist/components/blocks/data-display/empty-state/partials/illustrations/users-circle.d.ts +9 -0
- package/dist/components/blocks/data-display/index.d.ts +6 -0
- package/dist/components/blocks/data-display/inline-stat/index.d.ts +1 -0
- package/dist/components/blocks/data-display/inline-stat/inline-stat.d.ts +35 -0
- package/dist/components/blocks/data-display/metadata/index.d.ts +4 -0
- package/dist/components/blocks/data-display/metadata/metadata-list.d.ts +78 -0
- package/dist/components/blocks/data-display/metadata/metadata-list.strings.d.ts +18 -0
- package/dist/components/blocks/data-display/metadata/metadata-value.d.ts +142 -0
- package/dist/components/blocks/data-display/relationship-card-frame.d.ts +40 -0
- package/dist/components/blocks/onboarding/checklist/checklist.d.ts +2 -0
- package/dist/components/blocks/onboarding/checklist/checklist.strings.d.ts +15 -0
- package/dist/components/blocks/onboarding/checklist/checklist.types.d.ts +64 -0
- package/dist/components/blocks/onboarding/checklist/index.d.ts +4 -0
- package/dist/components/blocks/onboarding/checklist/partials/step-status-indicator.d.ts +12 -0
- package/dist/components/blocks/onboarding/index.d.ts +7 -0
- package/dist/components/blocks/timelines/changelog/changelog-timeline.d.ts +5 -0
- package/dist/components/blocks/timelines/changelog/index.d.ts +2 -0
- package/dist/components/blocks/timelines/changelog/types.d.ts +33 -0
- package/dist/components/blocks/timelines/index.d.ts +5 -0
- package/dist/components/blocks/timelines/milestones/index.d.ts +2 -0
- package/dist/components/blocks/timelines/milestones/milestones-timeline.d.ts +5 -0
- package/dist/components/blocks/timelines/milestones/types.d.ts +32 -0
- package/dist/components/blocks/timelines/shared/index.d.ts +1 -0
- package/dist/components/blocks/timelines/shared/timeline.d.ts +40 -0
- package/dist/components/blocks/timelines/steps-card/index.d.ts +2 -0
- package/dist/components/blocks/timelines/steps-card/steps-card.d.ts +9 -0
- package/dist/components/blocks/timelines/steps-card/types.d.ts +38 -0
- package/dist/components/features/activities/activities-feed.d.ts +5 -0
- package/dist/components/features/activities/activities.config.d.ts +6 -0
- package/dist/components/features/activities/activities.strings.d.ts +38 -0
- package/dist/components/features/activities/activities.types.d.ts +431 -0
- package/dist/components/features/activities/activity-event-adapter.d.ts +38 -0
- package/dist/components/features/activities/activity-log.d.ts +6 -0
- package/dist/components/features/activities/hooks/index.d.ts +2 -0
- package/dist/components/features/activities/hooks/use-activity-feed.d.ts +44 -0
- package/dist/components/features/activities/hooks/use-activity-resources.d.ts +22 -0
- package/dist/components/features/activities/index.d.ts +8 -0
- package/dist/components/features/activities/partials/activity-actions-menu.d.ts +11 -0
- package/dist/components/features/activities/partials/activity-changes.d.ts +8 -0
- package/dist/components/features/activities/partials/activity-date-label.d.ts +9 -0
- package/dist/components/features/activities/partials/activity-empty-state.d.ts +9 -0
- package/dist/components/features/activities/partials/activity-headline.d.ts +20 -0
- package/dist/components/features/activities/partials/activity-marker.d.ts +25 -0
- package/dist/components/features/activities/partials/activity-resource-tag.d.ts +11 -0
- package/dist/components/features/activities/partials/activity-row.d.ts +68 -0
- package/dist/components/features/activities/partials/index.d.ts +8 -0
- package/dist/components/features/activities/partials/tone-tokens.d.ts +25 -0
- package/dist/components/features/ai-chat/ai-chat.d.ts +81 -0
- package/dist/components/features/ai-chat/ai-chat.strings.d.ts +56 -0
- package/dist/components/features/ai-chat/ai-chat.types.d.ts +170 -0
- package/dist/components/features/ai-chat/hooks/index.d.ts +1 -0
- package/dist/components/features/ai-chat/hooks/use-ai-chat-scroll.d.ts +15 -0
- package/dist/components/features/ai-chat/index.d.ts +5 -0
- package/dist/components/features/ai-chat/partials/ai-chat-attachments-strip.d.ts +15 -0
- package/dist/components/features/ai-chat/partials/ai-chat-conversation.d.ts +28 -0
- package/dist/components/features/ai-chat/partials/ai-chat-empty-state.d.ts +22 -0
- package/dist/components/features/ai-chat/partials/ai-chat-message.d.ts +21 -0
- package/dist/components/features/ai-chat/partials/ai-chat-prompt-input.d.ts +59 -0
- package/dist/components/features/ai-chat/partials/ai-chat-queue.d.ts +19 -0
- package/dist/components/features/ai-chat/partials/ai-chat-suggestions-row.d.ts +18 -0
- package/dist/components/features/ai-chat/partials/index.d.ts +7 -0
- package/dist/components/features/async-preview/async-preview.d.ts +84 -0
- package/dist/components/features/async-preview/async-preview.strings.d.ts +14 -0
- package/dist/components/features/async-preview/async-preview.types.d.ts +133 -0
- package/dist/components/features/async-preview/hooks/index.d.ts +1 -0
- package/dist/components/features/async-preview/hooks/use-async-preview.d.ts +8 -0
- package/dist/components/features/async-preview/index.d.ts +6 -0
- package/dist/components/features/async-preview/partials/index.d.ts +1 -0
- package/dist/components/features/async-preview/preview-trigger-cell.d.ts +45 -0
- package/dist/components/features/combobox/async-resource-combobox.d.ts +94 -0
- package/dist/components/features/combobox/combobox.d.ts +20 -0
- package/dist/components/features/combobox/combobox.strings.d.ts +14 -0
- package/dist/components/features/combobox/components/combobox-dropdown.d.ts +57 -0
- package/dist/components/features/combobox/components/error-message.d.ts +15 -0
- package/dist/components/features/combobox/components/highlighted-text.d.ts +14 -0
- package/dist/components/features/combobox/components/index.d.ts +13 -0
- package/dist/components/features/combobox/components/loading-more.d.ts +15 -0
- package/dist/components/features/combobox/components/status-content.d.ts +21 -0
- package/dist/components/features/combobox/constants.d.ts +19 -0
- package/dist/components/features/combobox/hooks/index.d.ts +2 -0
- package/dist/components/features/combobox/hooks/use-combobox-core.d.ts +30 -0
- package/dist/components/features/combobox/hooks/use-debounced-search.d.ts +10 -0
- package/dist/components/features/combobox/hooks/use-grouped-items.d.ts +9 -0
- package/dist/components/features/combobox/hooks/use-load-more.d.ts +12 -0
- package/dist/components/features/combobox/index.d.ts +13 -0
- package/dist/components/features/combobox/types.d.ts +184 -0
- package/dist/components/features/comments/comments-provider.d.ts +15 -0
- package/dist/components/features/comments/comments.d.ts +2 -0
- package/dist/components/features/comments/comments.strings.d.ts +91 -0
- package/dist/components/features/comments/comments.types.d.ts +369 -0
- package/dist/components/features/comments/hooks/index.d.ts +4 -0
- package/dist/components/features/comments/hooks/use-attachment-upload.d.ts +28 -0
- package/dist/components/features/comments/hooks/use-comments.d.ts +34 -0
- package/dist/components/features/comments/index.d.ts +8 -0
- package/dist/components/features/comments/partials/comment-attachment-chip.d.ts +23 -0
- package/dist/components/features/comments/partials/comment-composer.d.ts +12 -0
- package/dist/components/features/comments/partials/comment-content.d.ts +13 -0
- package/dist/components/features/comments/partials/comment-empty.d.ts +12 -0
- package/dist/components/features/comments/partials/comment-item.d.ts +3 -0
- package/dist/components/features/comments/partials/comment-timeline.d.ts +3 -0
- package/dist/components/features/comments/partials/index.d.ts +9 -0
- package/dist/components/features/data-view/data-view-filtering.d.ts +3 -0
- package/dist/components/features/data-view/data-view.d.ts +7 -0
- package/dist/components/features/data-view/data-view.strings.d.ts +9 -0
- package/dist/components/features/data-view/data-view.types.d.ts +191 -0
- package/dist/components/features/data-view/hooks/index.d.ts +1 -0
- package/dist/components/features/data-view/hooks/use-data-view.d.ts +2 -0
- package/dist/components/features/data-view/index.d.ts +4 -0
- package/dist/components/features/email-composer/document.d.ts +8 -0
- package/dist/components/features/email-composer/email-composer.d.ts +2 -0
- package/dist/components/features/email-composer/email-html.d.ts +5 -0
- package/dist/components/features/email-composer/engine.d.ts +18 -0
- package/dist/components/features/email-composer/http.d.ts +6 -0
- package/dist/components/features/email-composer/index.d.ts +6 -0
- package/dist/components/features/email-composer/partials/body-editor.d.ts +11 -0
- package/dist/components/features/email-composer/partials/data-status.d.ts +8 -0
- package/dist/components/features/email-composer/partials/html-preview.d.ts +6 -0
- package/dist/components/features/email-composer/partials/recipients.d.ts +14 -0
- package/dist/components/features/email-composer/partials/variables.d.ts +11 -0
- package/dist/components/features/email-composer/strings.d.ts +79 -0
- package/dist/components/features/email-composer/types.d.ts +195 -0
- package/dist/components/features/email-composer/use-composer.d.ts +119 -0
- package/dist/components/features/event-calendar/colors.d.ts +29 -0
- package/dist/components/features/event-calendar/event-calendar-day-cell.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar-event-badge.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar-event-card.d.ts +16 -0
- package/dist/components/features/event-calendar/event-calendar-header.d.ts +8 -0
- package/dist/components/features/event-calendar/event-calendar-legend.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar.d.ts +5 -0
- package/dist/components/features/event-calendar/event-calendar.types.d.ts +350 -0
- package/dist/components/features/event-calendar/index.d.ts +11 -0
- package/dist/components/features/event-calendar/use-event-calendar-data.d.ts +15 -0
- package/dist/components/features/event-calendar/use-event-calendar.d.ts +24 -0
- package/dist/components/features/filters/facets/async-select-facet.d.ts +28 -0
- package/dist/components/features/filters/facets/date-facet.d.ts +18 -0
- package/dist/components/features/filters/facets/range-facet.d.ts +30 -0
- package/dist/components/features/filters/facets/search-facet.d.ts +27 -0
- package/dist/components/features/filters/facets/select-facet.d.ts +19 -0
- package/dist/components/features/filters/facets/tags-facet.d.ts +27 -0
- package/dist/components/features/filters/filter-context.d.ts +61 -0
- package/dist/components/features/filters/filter-layout.d.ts +16 -0
- package/dist/components/features/filters/filter-query.d.ts +21 -0
- package/dist/components/features/filters/filters.strings.d.ts +103 -0
- package/dist/components/features/filters/filters.types.d.ts +222 -0
- package/dist/components/features/filters/hooks/index.d.ts +3 -0
- package/dist/components/features/filters/hooks/use-async-options.d.ts +16 -0
- package/dist/components/features/filters/hooks/use-filter-groups.d.ts +16 -0
- package/dist/components/features/filters/index.d.ts +42 -0
- package/dist/components/features/filters/operator-options.d.ts +9 -0
- package/dist/components/features/filters/partials/active-filter-item.d.ts +37 -0
- package/dist/components/features/filters/partials/async-filter-content.d.ts +21 -0
- package/dist/components/features/filters/partials/date-filter-content.d.ts +14 -0
- package/dist/components/features/filters/partials/filter-error-boundary.d.ts +9 -0
- package/dist/components/features/filters/partials/filter-list-content.d.ts +24 -0
- package/dist/components/features/filters/partials/filter-list-item.d.ts +19 -0
- package/dist/components/features/filters/partials/filter-operator-select.d.ts +22 -0
- package/dist/components/features/filters/partials/filter-pill.d.ts +26 -0
- package/dist/components/features/filters/partials/filter-popover-content.d.ts +36 -0
- package/dist/components/features/filters/partials/filter-tabs.d.ts +14 -0
- package/dist/components/features/filters/partials/filter-value-display.d.ts +21 -0
- package/dist/components/features/filters/partials/filters-button.d.ts +32 -0
- package/dist/components/features/filters/partials/index.d.ts +14 -0
- package/dist/components/features/filters/partials/regular-filter-content.d.ts +28 -0
- package/dist/components/features/filters/partials/search-filters-list.d.ts +25 -0
- package/dist/components/features/filters/partials/tags-filter-content.d.ts +28 -0
- package/dist/components/features/filters/utils/filter-utils.d.ts +37 -0
- package/dist/components/features/filters/validators.d.ts +63 -0
- package/dist/components/features/global-search/global-search-dialog.d.ts +13 -0
- package/dist/components/features/global-search/global-search.d.ts +52 -0
- package/dist/components/features/global-search/global-search.strings.d.ts +36 -0
- package/dist/components/features/global-search/global-search.types.d.ts +105 -0
- package/dist/components/features/global-search/hooks/index.d.ts +2 -0
- package/dist/components/features/global-search/hooks/use-global-search.d.ts +33 -0
- package/dist/components/features/global-search/index.d.ts +9 -0
- package/dist/components/features/global-search/partials/global-search-empty-state.d.ts +7 -0
- package/dist/components/features/global-search/partials/global-search-footer.d.ts +13 -0
- package/dist/components/features/global-search/partials/global-search-idle-state.d.ts +12 -0
- package/dist/components/features/global-search/partials/global-search-input.d.ts +17 -0
- package/dist/components/features/global-search/partials/global-search-result-row.d.ts +16 -0
- package/dist/components/features/global-search/partials/global-search-tabs.d.ts +13 -0
- package/dist/components/features/global-search/partials/index.d.ts +12 -0
- package/dist/components/features/global-search/partials/tone-palettes.d.ts +8 -0
- package/dist/components/features/kanban/hooks/index.d.ts +1 -0
- package/dist/components/features/kanban/hooks/use-kanban.d.ts +32 -0
- package/dist/components/features/kanban/index.d.ts +5 -0
- package/dist/components/features/kanban/kanban-context.d.ts +25 -0
- package/dist/components/features/kanban/kanban-keyboard.d.ts +10 -0
- package/dist/components/features/kanban/kanban.d.ts +38 -0
- package/dist/components/features/kanban/kanban.strings.d.ts +24 -0
- package/dist/components/features/kanban/kanban.types.d.ts +168 -0
- package/dist/components/features/map/index.d.ts +13 -0
- package/dist/components/features/map/map.d.ts +166 -0
- package/dist/components/features/map/place-autocomplete.d.ts +97 -0
- package/dist/components/features/map/public-leaflet.types.d.ts +71 -0
- package/dist/components/features/map/use-map-color-scheme.d.ts +2 -0
- package/dist/components/features/media-library/hooks/index.d.ts +1 -0
- package/dist/components/features/media-library/hooks/use-media-library.d.ts +5 -0
- package/dist/components/features/media-library/index.d.ts +6 -0
- package/dist/components/features/media-library/media-library.d.ts +3 -0
- package/dist/components/features/media-library/media-library.strings.d.ts +124 -0
- package/dist/components/features/media-library/media-library.types.d.ts +568 -0
- package/dist/components/features/media-library/media-resource-gallery.d.ts +2 -0
- package/dist/components/features/media-library/partials/index.d.ts +1 -0
- package/dist/components/features/media-library/partials/media-library-partials.d.ts +10 -0
- package/dist/components/features/mentions/hooks/index.d.ts +2 -0
- package/dist/components/features/mentions/hooks/use-mentions-search.d.ts +41 -0
- package/dist/components/features/mentions/hooks/use-mentions.d.ts +35 -0
- package/dist/components/features/mentions/index.d.ts +5 -0
- package/dist/components/features/mentions/mentions.strings.d.ts +26 -0
- package/dist/components/features/mentions/mentions.types.d.ts +100 -0
- package/dist/components/features/mentions/partials/index.d.ts +4 -0
- package/dist/components/features/mentions/partials/mention-chip.d.ts +29 -0
- package/dist/components/features/mentions/partials/mention-content.d.ts +22 -0
- package/dist/components/features/mentions/partials/mention-inline-suggestions.d.ts +36 -0
- package/dist/components/features/mentions/partials/mention-picker.d.ts +31 -0
- package/dist/components/features/mentions/utils/build-mention-html.d.ts +24 -0
- package/dist/components/features/mentions/utils/index.d.ts +3 -0
- package/dist/components/features/mentions/utils/parse-mentions-from-html.d.ts +13 -0
- package/dist/components/features/mentions/utils/split-html-by-mentions.d.ts +16 -0
- package/dist/components/features/overlays/alert-dialog.d.ts +4 -0
- package/dist/components/features/overlays/dialog.d.ts +4 -0
- package/dist/components/features/overlays/drawer.d.ts +4 -0
- package/dist/components/features/overlays/hooks/index.d.ts +2 -0
- package/dist/components/features/overlays/hooks/use-overlay-actions.d.ts +24 -0
- package/dist/components/features/overlays/hooks/use-overlay-visibility.d.ts +36 -0
- package/dist/components/features/overlays/index.d.ts +6 -0
- package/dist/components/features/overlays/overlays.strings.d.ts +19 -0
- package/dist/components/features/overlays/overlays.types.d.ts +169 -0
- package/dist/components/features/products/components/index.d.ts +17 -0
- package/dist/components/features/products/components/product-contract-overview.d.ts +5 -0
- package/dist/components/features/products/components/product-details-card.d.ts +5 -0
- package/dist/components/features/products/components/product-operations-card.d.ts +5 -0
- package/dist/components/features/products/components/product-option-action-menu.d.ts +5 -0
- package/dist/components/features/products/components/product-options-matrix.d.ts +5 -0
- package/dist/components/features/products/components/product-options-summary.d.ts +5 -0
- package/dist/components/features/products/components/product-overview.d.ts +5 -0
- package/dist/components/features/products/components/product-policies-card.d.ts +5 -0
- package/dist/components/features/products/components/product-quote-preview-card.d.ts +5 -0
- package/dist/components/features/products/components/product-readiness-card.d.ts +5 -0
- package/dist/components/features/products/components/product-structure-card.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-action-menu.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-details.d.ts +5 -0
- package/dist/components/features/products/components/product-variant-editor.d.ts +5 -0
- package/dist/components/features/products/components/product-variants-bulk-table.d.ts +5 -0
- package/dist/components/features/products/components/product-variants-manager.d.ts +5 -0
- package/dist/components/features/products/components/product-variants-table.d.ts +5 -0
- package/dist/components/features/products/index.d.ts +3 -0
- package/dist/components/features/products/partials/index.d.ts +7 -0
- package/dist/components/features/products/partials/product-actions.d.ts +10 -0
- package/dist/components/features/products/partials/product-empty-state.d.ts +10 -0
- package/dist/components/features/products/partials/product-metric-tile.d.ts +4 -0
- package/dist/components/features/products/partials/product-rows.d.ts +35 -0
- package/dist/components/features/products/partials/product-tone.d.ts +8 -0
- package/dist/components/features/products/partials/product-values.d.ts +1 -0
- package/dist/components/features/products/partials/product-variant-table-parts.d.ts +28 -0
- package/dist/components/features/products/products.strings.d.ts +308 -0
- package/dist/components/features/products/products.types.d.ts +906 -0
- package/dist/components/features/questionnaire/index.d.ts +3 -0
- package/dist/components/features/questionnaire/questionnaire-control.d.ts +3 -0
- package/dist/components/features/questionnaire/questionnaire.d.ts +2 -0
- package/dist/components/features/questionnaire/questionnaire.types.d.ts +98 -0
- package/dist/components/features/questionnaire/questionnaire.utils.d.ts +5 -0
- package/dist/components/features/resource/index.d.ts +3 -0
- package/dist/components/features/resource/resource.d.ts +8 -0
- package/dist/components/features/resource/resource.strings.d.ts +12 -0
- package/dist/components/features/resource/resource.types.d.ts +161 -0
- package/dist/components/features/resource-assignment/hooks/index.d.ts +2 -0
- package/dist/components/features/resource-assignment/hooks/use-shared-resource-card.d.ts +32 -0
- package/dist/components/features/resource-assignment/index.d.ts +6 -0
- package/dist/components/features/resource-assignment/partials/default-shared-resource-partials.d.ts +31 -0
- package/dist/components/features/resource-assignment/partials/index.d.ts +1 -0
- package/dist/components/features/resource-assignment/resource-assignment.d.ts +12 -0
- package/dist/components/features/resource-assignment/resource-assignment.strings.d.ts +17 -0
- package/dist/components/features/resource-assignment/resource-assignment.types.d.ts +193 -0
- package/dist/components/features/rich-text-editor/form-rich-text-editor.d.ts +6 -0
- package/dist/components/features/rich-text-editor/index.d.ts +5 -0
- package/dist/components/features/rich-text-editor/partials/caret-helpers.d.ts +28 -0
- package/dist/components/features/rich-text-editor/partials/counts-footer.d.ts +32 -0
- package/dist/components/features/rich-text-editor/partials/html-helpers.d.ts +7 -0
- package/dist/components/features/rich-text-editor/partials/index.d.ts +7 -0
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-fallback.d.ts +8 -0
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-tiptap.d.ts +3 -0
- package/dist/components/features/rich-text-editor/partials/rich-text-editor-toolbar.d.ts +33 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.d.ts +3 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.recipes.d.ts +6 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.strings.d.ts +32 -0
- package/dist/components/features/rich-text-editor/rich-text-editor.types.d.ts +111 -0
- package/dist/components/features/schema-form/hooks/index.d.ts +1 -0
- package/dist/components/features/schema-form/hooks/use-schema-form.d.ts +23 -0
- package/dist/components/features/schema-form/index.d.ts +5 -0
- package/dist/components/features/schema-form/partials/index.d.ts +3 -0
- package/dist/components/features/schema-form/partials/schema-form-actions.d.ts +23 -0
- package/dist/components/features/schema-form/partials/schema-form-empty.d.ts +12 -0
- package/dist/components/features/schema-form/partials/schema-form-field.d.ts +12 -0
- package/dist/components/features/schema-form/schema-form.d.ts +5 -0
- package/dist/components/features/schema-form/schema-form.strings.d.ts +11 -0
- package/dist/components/features/schema-form/schema-form.types.d.ts +271 -0
- package/dist/components/features/schema-form/schema-form.utils.d.ts +18 -0
- package/dist/components/features/suggestions/hooks/index.d.ts +1 -0
- package/dist/components/features/suggestions/hooks/use-suggestions.d.ts +9 -0
- package/dist/components/features/suggestions/index.d.ts +4 -0
- package/dist/components/features/suggestions/suggestions.d.ts +5 -0
- package/dist/components/features/suggestions/suggestions.strings.d.ts +16 -0
- package/dist/components/features/suggestions/suggestions.types.d.ts +79 -0
- package/dist/components/features/sync/index.d.ts +3 -0
- package/dist/components/features/sync/sync-range-dialog-form.d.ts +5 -0
- package/dist/components/features/sync/sync.strings.d.ts +18 -0
- package/dist/components/features/sync/sync.types.d.ts +44 -0
- package/dist/components/features/table/column-visibility-toggle.d.ts +5 -0
- package/dist/components/features/table/data-table.d.ts +6 -0
- package/dist/components/features/table/filter-bar.d.ts +5 -0
- package/dist/components/features/table/hooks.d.ts +47 -0
- package/dist/components/features/table/index.d.ts +16 -0
- package/dist/components/features/table/pagination.d.ts +5 -0
- package/dist/components/features/table/partials/cell-renderers.d.ts +141 -0
- package/dist/components/features/table/partials/cell-value.d.ts +121 -0
- package/dist/components/features/table/partials/fullscreen-toggle.d.ts +16 -0
- package/dist/components/features/table/partials/resource-cell.d.ts +63 -0
- package/dist/components/features/table/partials/table-link.d.ts +3 -0
- package/dist/components/features/table/table-actions.d.ts +5 -0
- package/dist/components/features/table/table-body.d.ts +5 -0
- package/dist/components/features/table/table-header.d.ts +6 -0
- package/dist/components/features/table/table-helpers.d.ts +39 -0
- package/dist/components/features/table/table-toolbar.d.ts +5 -0
- package/dist/components/features/table/table.strings.d.ts +3 -0
- package/dist/components/features/table/table.types.d.ts +489 -0
- package/dist/components/features/theme-tweaker/admin-ui-theme-provider.d.ts +6 -0
- package/dist/components/features/theme-tweaker/index.d.ts +10 -0
- package/dist/components/features/theme-tweaker/theme-provider-settings.d.ts +49 -0
- package/dist/components/features/theme-tweaker/theme-scope.d.ts +7 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.d.ts +2 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.fields.d.ts +7 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.recipes.d.ts +25 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.strings.d.ts +75 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.types.d.ts +161 -0
- package/dist/components/features/theme-tweaker/theme-tweaker.utils.d.ts +23 -0
- package/dist/components/features/theme-tweaker/use-applied-theme.d.ts +11 -0
- package/dist/components/layout/app-shell/app-layout.d.ts +12 -0
- package/dist/components/layout/app-shell/app-shell.types.d.ts +151 -0
- package/dist/components/layout/app-shell/index.d.ts +6 -0
- package/dist/components/layout/app-shell/sidebar-inset-layout.d.ts +2 -0
- package/dist/components/layout/app-shell/stacked-layout.d.ts +2 -0
- package/dist/components/layout/app-shell/topbar-sidebar-layout.d.ts +2 -0
- package/dist/components/layout/auth/auth-card.d.ts +2 -0
- package/dist/components/layout/auth/auth-footer-links.d.ts +2 -0
- package/dist/components/layout/auth/auth-form.d.ts +11 -0
- package/dist/components/layout/auth/auth-hooks.d.ts +4 -0
- package/dist/components/layout/auth/auth-method-switch.d.ts +4 -0
- package/dist/components/layout/auth/auth-shell.d.ts +2 -0
- package/dist/components/layout/auth/auth-social-providers.d.ts +3 -0
- package/dist/components/layout/auth/auth-split-panel.d.ts +2 -0
- package/dist/components/layout/auth/auth.strings.d.ts +21 -0
- package/dist/components/layout/auth/auth.types.d.ts +282 -0
- package/dist/components/layout/auth/index.d.ts +10 -0
- package/dist/components/layout/containers/container.recipes.d.ts +5 -0
- package/dist/components/layout/containers/containers.types.d.ts +17 -0
- package/dist/components/layout/containers/content-container.d.ts +3 -0
- package/dist/components/layout/containers/index.d.ts +5 -0
- package/dist/components/layout/containers/page-viewport.d.ts +3 -0
- package/dist/components/layout/containers/section.d.ts +3 -0
- package/dist/components/layout/containers/two-column-layout.d.ts +27 -0
- package/dist/components/layout/header/header.d.ts +2 -0
- package/dist/components/layout/header/header.types.d.ts +198 -0
- package/dist/components/layout/header/index.d.ts +9 -0
- package/dist/components/layout/header/partials/header-breadcrumbs.d.ts +4 -0
- package/dist/components/layout/header/partials/header-global-search-trigger.d.ts +2 -0
- package/dist/components/layout/header/partials/header-notifications.d.ts +2 -0
- package/dist/components/layout/header/partials/header-search.d.ts +2 -0
- package/dist/components/layout/header/partials/header-tool-button.d.ts +4 -0
- package/dist/components/layout/header/partials/header-tool-popover.d.ts +2 -0
- package/dist/components/layout/header/partials/header-user-menu.d.ts +2 -0
- package/dist/components/layout/hooks/index.d.ts +3 -0
- package/dist/components/layout/hooks/use-active-path.d.ts +1 -0
- package/dist/components/layout/hooks/use-command-shortcut.d.ts +7 -0
- package/dist/components/layout/hooks/use-layout-link.d.ts +2 -0
- package/dist/components/layout/index.d.ts +24 -0
- package/dist/components/layout/layout.types.d.ts +91 -0
- package/dist/components/layout/navigation/breadcrumb-progress/breadcrumb-progress.d.ts +5 -0
- package/dist/components/layout/navigation/breadcrumb-progress/index.d.ts +2 -0
- package/dist/components/layout/navigation/breadcrumb-progress/types.d.ts +24 -0
- package/dist/components/layout/navigation/category-nav/category-nav.d.ts +5 -0
- package/dist/components/layout/navigation/category-nav/index.d.ts +2 -0
- package/dist/components/layout/navigation/category-nav/types.d.ts +22 -0
- package/dist/components/layout/navigation/index.d.ts +17 -0
- package/dist/components/layout/navigation/section-nav/index.d.ts +1 -0
- package/dist/components/layout/navigation/section-nav/section-nav.d.ts +29 -0
- package/dist/components/layout/navigation/side-nav.d.ts +58 -0
- package/dist/components/layout/page/index.d.ts +4 -0
- package/dist/components/layout/page/page.d.ts +3 -0
- package/dist/components/layout/page/page.types.d.ts +138 -0
- package/dist/components/layout/page/partials/page-actions.d.ts +2 -0
- package/dist/components/layout/page/partials/page-header.d.ts +2 -0
- package/dist/components/layout/settings/index.d.ts +1 -0
- package/dist/components/layout/settings/settings.d.ts +65 -0
- package/dist/components/layout/sidebar/app-sidebar.d.ts +7 -0
- package/dist/components/layout/sidebar/components/sidebar-grouped-navigation.d.ts +4 -0
- package/dist/components/layout/sidebar/components/sidebar-logo.d.ts +10 -0
- package/dist/components/layout/sidebar/components/sidebar-navigation-footer.d.ts +2 -0
- package/dist/components/layout/sidebar/components/sidebar-navigation-user.d.ts +23 -0
- package/dist/components/layout/sidebar/components/sidebar-navigation.d.ts +4 -0
- package/dist/components/layout/sidebar/components/sidebar-workspace-dropdown.d.ts +2 -0
- package/dist/components/layout/sidebar/index.d.ts +11 -0
- package/dist/components/layout/sidebar/sidebar.context.d.ts +17 -0
- package/dist/components/layout/sidebar/sidebar.d.ts +9 -0
- package/dist/components/layout/sidebar/sidebar.types.d.ts +218 -0
- package/dist/components/layout/sidebar/sidebar.utils.d.ts +29 -0
- package/dist/components/layout/workspace/index.d.ts +3 -0
- package/dist/components/layout/workspace/workspace.d.ts +6 -0
- package/dist/components/layout/workspace/workspace.strings.d.ts +18 -0
- package/dist/components/layout/workspace/workspace.types.d.ts +141 -0
- package/dist/components/primitives/date.d.ts +63 -0
- package/dist/components/primitives/dimensions.d.ts +30 -0
- package/dist/components/primitives/duration.d.ts +23 -0
- package/dist/components/primitives/file-size.d.ts +23 -0
- package/dist/components/primitives/index.d.ts +11 -0
- package/dist/components/primitives/initials-format.d.ts +21 -0
- package/dist/components/primitives/initials.d.ts +16 -0
- package/dist/components/primitives/link.d.ts +28 -0
- package/dist/components/primitives/money.d.ts +79 -0
- package/dist/components/primitives/name.d.ts +16 -0
- package/dist/components/primitives/number.d.ts +23 -0
- package/dist/components/primitives/value.d.ts +23 -0
- package/dist/components/typography/content-typography.d.ts +4 -0
- package/dist/components/typography/display-label.d.ts +5 -0
- package/dist/components/typography/heading.d.ts +16 -0
- package/dist/components/typography/index.d.ts +10 -0
- package/dist/components/typography/label.d.ts +8 -0
- package/dist/components/typography/rich-text/index.d.ts +2 -0
- package/dist/components/typography/rich-text/rich-text.d.ts +6 -0
- package/dist/components/typography/text-link.d.ts +7 -0
- package/dist/components/typography/text.d.ts +17 -0
- package/dist/components/typography/text.styles.d.ts +50 -0
- package/dist/components/ui/accordion.d.ts +6 -0
- package/dist/components/ui/alert-dialog.d.ts +21 -0
- package/dist/components/ui/avatar.d.ts +11 -0
- package/dist/components/ui/badge.d.ts +5 -0
- package/dist/components/ui/breadcrumb.d.ts +11 -0
- package/dist/components/ui/button-group.d.ts +12 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/calendar.d.ts +10 -0
- package/dist/components/ui/card.d.ts +11 -0
- package/dist/components/ui/checkbox.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts +9 -0
- package/dist/components/ui/combobox.d.ts +40 -0
- package/dist/components/ui/command.d.ts +50 -0
- package/dist/components/ui/dialog.d.ts +26 -0
- package/dist/components/ui/disclosure-panel.d.ts +14 -0
- package/dist/components/ui/empty.d.ts +11 -0
- package/dist/components/ui/input-group.d.ts +18 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/item.d.ts +22 -0
- package/dist/components/ui/overlay.recipes.d.ts +2 -0
- package/dist/components/ui/pagination.d.ts +17 -0
- package/dist/components/ui/popover.d.ts +22 -0
- package/dist/components/ui/select.d.ts +18 -0
- package/dist/components/ui/separator.d.ts +3 -0
- package/dist/components/ui/sheet.d.ts +25 -0
- package/dist/components/ui/sidebar.d.ts +64 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/slot.d.ts +6 -0
- package/dist/components/ui/sonner.d.ts +3 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/table.d.ts +13 -0
- package/dist/components/ui/tabs.d.ts +10 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts +13 -0
- package/dist/containers-CPNyNo1_.js +124 -0
- package/dist/containers-CPNyNo1_.js.map +1 -0
- package/dist/content-typography-CnwgMJ37.js +6 -0
- package/dist/content-typography-CnwgMJ37.js.map +1 -0
- package/dist/copyable-B7SBXJMr.js +65 -0
- package/dist/copyable-B7SBXJMr.js.map +1 -0
- package/dist/data-display-b3d1TfL4.js +1129 -0
- package/dist/data-display-b3d1TfL4.js.map +1 -0
- package/dist/date-BFNMnrS5.js +140 -0
- package/dist/date-BFNMnrS5.js.map +1 -0
- package/dist/date-picker-DI6kPNof.js +1521 -0
- package/dist/date-picker-DI6kPNof.js.map +1 -0
- package/dist/date-pickers-ByP6Cv2z.js +224 -0
- package/dist/date-pickers-ByP6Cv2z.js.map +1 -0
- package/dist/disclosure-panel-B0HFNZ9x.js +35 -0
- package/dist/disclosure-panel-B0HFNZ9x.js.map +1 -0
- package/dist/display-ByI5tkqy.js +343 -0
- package/dist/display-ByI5tkqy.js.map +1 -0
- package/dist/dropdown-menu-BlnyHr-9.js +186 -0
- package/dist/dropdown-menu-BlnyHr-9.js.map +1 -0
- package/dist/editable-text-recipe-Bkm6wKHp.js +10 -0
- package/dist/editable-text-recipe-Bkm6wKHp.js.map +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/features/activities.js +1360 -0
- package/dist/features/activities.js.map +1 -0
- package/dist/features/ai-chat.js +567 -0
- package/dist/features/ai-chat.js.map +1 -0
- package/dist/features/async-preview.js +478 -0
- package/dist/features/async-preview.js.map +1 -0
- package/dist/features/combobox.js +3 -0
- package/dist/features/comments.js +3 -0
- package/dist/features/data-view.js +519 -0
- package/dist/features/data-view.js.map +1 -0
- package/dist/features/email-composer/engine.js +2 -0
- package/dist/features/email-composer.js +1099 -0
- package/dist/features/email-composer.js.map +1 -0
- package/dist/features/event-calendar.js +711 -0
- package/dist/features/event-calendar.js.map +1 -0
- package/dist/features/filters.js +3 -0
- package/dist/features/global-search.js +593 -0
- package/dist/features/global-search.js.map +1 -0
- package/dist/features/kanban.js +425 -0
- package/dist/features/kanban.js.map +1 -0
- package/dist/features/map/images/layers-2x.png +0 -0
- package/dist/features/map/images/layers.png +0 -0
- package/dist/features/map/images/marker-icon-2x.png +0 -0
- package/dist/features/map/images/marker-icon.png +0 -0
- package/dist/features/map/images/marker-shadow.png +0 -0
- package/dist/features/map/images/spritesheet-2x.png +0 -0
- package/dist/features/map/images/spritesheet.png +0 -0
- package/dist/features/map/images/spritesheet.svg +156 -0
- package/dist/features/map/style.css +809 -0
- package/dist/features/map.js +1052 -0
- package/dist/features/map.js.map +1 -0
- package/dist/features/media-library.js +2007 -0
- package/dist/features/media-library.js.map +1 -0
- package/dist/features/mentions.js +3 -0
- package/dist/features/overlays.js +3 -0
- package/dist/features/products.js +3076 -0
- package/dist/features/products.js.map +1 -0
- package/dist/features/questionnaire.js +365 -0
- package/dist/features/questionnaire.js.map +1 -0
- package/dist/features/resource-assignment.js +317 -0
- package/dist/features/resource-assignment.js.map +1 -0
- package/dist/features/resource.js +254 -0
- package/dist/features/resource.js.map +1 -0
- package/dist/features/rich-text-editor.js +23 -0
- package/dist/features/rich-text-editor.js.map +1 -0
- package/dist/features/schema-form.js +744 -0
- package/dist/features/schema-form.js.map +1 -0
- package/dist/features/suggestions.js +149 -0
- package/dist/features/suggestions.js.map +1 -0
- package/dist/features/sync.js +136 -0
- package/dist/features/sync.js.map +1 -0
- package/dist/features/table.js +3 -0
- package/dist/features/theme-tweaker.js +2083 -0
- package/dist/features/theme-tweaker.js.map +1 -0
- package/dist/feedback-a9j9J-9A.js +391 -0
- package/dist/feedback-a9j9J-9A.js.map +1 -0
- package/dist/field-affordance-recipes-CHdUtn2Z.js +17 -0
- package/dist/field-affordance-recipes-CHdUtn2Z.js.map +1 -0
- package/dist/field-state-recipes-CBTRt9Bt.js +11 -0
- package/dist/field-state-recipes-CBTRt9Bt.js.map +1 -0
- package/dist/filters-qtrcv1hf.js +2203 -0
- package/dist/filters-qtrcv1hf.js.map +1 -0
- package/dist/form-field-C6W-y2hR.js +48 -0
- package/dist/form-field-C6W-y2hR.js.map +1 -0
- package/dist/form-sizing-39NohSqn.js +99 -0
- package/dist/form-sizing-39NohSqn.js.map +1 -0
- package/dist/format-iamDSqs2.js +110 -0
- package/dist/format-iamDSqs2.js.map +1 -0
- package/dist/forms-BF-HSbff.js +194 -0
- package/dist/forms-BF-HSbff.js.map +1 -0
- package/dist/forms-numeric-Y15Bg5Nr.js +867 -0
- package/dist/forms-numeric-Y15Bg5Nr.js.map +1 -0
- package/dist/header-B8ex54cY.js +452 -0
- package/dist/header-B8ex54cY.js.map +1 -0
- package/dist/hooks/use-debounce.d.ts +1 -0
- package/dist/hooks/use-debounced-callback.d.ts +40 -0
- package/dist/hooks/use-files.d.ts +48 -0
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/useFormErrors.d.ts +7 -0
- package/dist/hooks-D6UBVzf2.js +88 -0
- package/dist/hooks-D6UBVzf2.js.map +1 -0
- package/dist/http-CLTVJc5I.js +331 -0
- package/dist/http-CLTVJc5I.js.map +1 -0
- package/dist/icon-badge-Dv0RYQwj.js +53 -0
- package/dist/icon-badge-Dv0RYQwj.js.map +1 -0
- package/dist/icon-size-B6PVwjbC.js +18 -0
- package/dist/icon-size-B6PVwjbC.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +7 -0
- package/dist/initials-format-CDoQEOd_.js +35 -0
- package/dist/initials-format-CDoQEOd_.js.map +1 -0
- package/dist/input-DMorJiTI.js +202 -0
- package/dist/input-DMorJiTI.js.map +1 -0
- package/dist/input-ci9fIgFH.js +20 -0
- package/dist/input-ci9fIgFH.js.map +1 -0
- package/dist/item-pJ0GsOiJ.js +257 -0
- package/dist/item-pJ0GsOiJ.js.map +1 -0
- package/dist/layout/app-shell.js +3 -0
- package/dist/layout/auth.js +3 -0
- package/dist/layout/containers.js +3 -0
- package/dist/layout/header.js +3 -0
- package/dist/layout/hooks.js +3 -0
- package/dist/layout/navigation.js +3 -0
- package/dist/layout/page.js +3 -0
- package/dist/layout/settings.js +3 -0
- package/dist/layout/sidebar.js +4 -0
- package/dist/layout/workspace.js +3 -0
- package/dist/layout.js +13 -0
- package/dist/layout.types-Cn7aUzJp.js +20 -0
- package/dist/layout.types-Cn7aUzJp.js.map +1 -0
- package/dist/lib/action-presentation.d.ts +15 -0
- package/dist/lib/affordance-geometry.generated.d.ts +18 -0
- package/dist/lib/anchored-positioning.d.ts +5 -0
- package/dist/lib/command-filter.d.ts +1 -0
- package/dist/lib/component-vocabulary.d.ts +12 -0
- package/dist/lib/editable-text-recipe.d.ts +6 -0
- package/dist/lib/email-composer.d.ts +6 -0
- package/dist/lib/field-affordance-recipes.d.ts +20 -0
- package/dist/lib/field-state-recipes.d.ts +10 -0
- package/dist/lib/format.d.ts +53 -0
- package/dist/lib/motion-recipes.d.ts +8 -0
- package/dist/lib/navigation-row-recipes.d.ts +26 -0
- package/dist/lib/overlay-anatomy-recipes.d.ts +8 -0
- package/dist/lib/row-recipes.d.ts +3 -0
- package/dist/lib/sanitize-html.d.ts +8 -0
- package/dist/lib/strings.d.ts +16 -0
- package/dist/lib/strings.js +32 -0
- package/dist/lib/strings.js.map +1 -0
- package/dist/lib/surface-recipes.d.ts +27 -0
- package/dist/lib/theme-scope.d.ts +31 -0
- package/dist/lib/token-merge.generated.d.ts +2 -0
- package/dist/lib/track-recipes.d.ts +4 -0
- package/dist/lib/ui-provider/defaults.d.ts +12 -0
- package/dist/lib/ui-provider/hooks.d.ts +13 -0
- package/dist/lib/ui-provider/index.d.ts +28 -0
- package/dist/lib/ui-provider/provider.d.ts +15 -0
- package/dist/lib/ui-provider/scale.d.ts +5 -0
- package/dist/lib/ui-provider/store.d.ts +11 -0
- package/dist/lib/ui-provider/types.d.ts +157 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/lib/utils.js +2 -0
- package/dist/map-demo-tile.svg +1 -0
- package/dist/media-gallery-Ca4YmvBi.js +200 -0
- package/dist/media-gallery-Ca4YmvBi.js.map +1 -0
- package/dist/mentions-CRio8mTm.js +563 -0
- package/dist/mentions-CRio8mTm.js.map +1 -0
- package/dist/message-B5-6LeYl.js +108 -0
- package/dist/message-B5-6LeYl.js.map +1 -0
- package/dist/motion-recipes-B6jKXEcN.js +27 -0
- package/dist/motion-recipes-B6jKXEcN.js.map +1 -0
- package/dist/navigation-BTrEb5u4.js +267 -0
- package/dist/navigation-BTrEb5u4.js.map +1 -0
- package/dist/navigation-DqEITuD2.js +265 -0
- package/dist/navigation-DqEITuD2.js.map +1 -0
- package/dist/navigation-row-recipes-BFpvGPGE.js +29 -0
- package/dist/navigation-row-recipes-BFpvGPGE.js.map +1 -0
- package/dist/number-BNT_BIzJ.js +269 -0
- package/dist/number-BNT_BIzJ.js.map +1 -0
- package/dist/overlay.recipes-BxW5FIfK.js +6 -0
- package/dist/overlay.recipes-BxW5FIfK.js.map +1 -0
- package/dist/overlays-DBqV0J_V.js +982 -0
- package/dist/overlays-DBqV0J_V.js.map +1 -0
- package/dist/page-BMBGjJY8.js +202 -0
- package/dist/page-BMBGjJY8.js.map +1 -0
- package/dist/page-header-BH41wCyY.js +112 -0
- package/dist/page-header-BH41wCyY.js.map +1 -0
- package/dist/pagination-C29vvt3I.js +149 -0
- package/dist/pagination-C29vvt3I.js.map +1 -0
- package/dist/popover-TInGXsjg.js +194 -0
- package/dist/popover-TInGXsjg.js.map +1 -0
- package/dist/popover-menu-BzqXqE72.js +99 -0
- package/dist/popover-menu-BzqXqE72.js.map +1 -0
- package/dist/popover.recipes-zgBhMlUu.js +34 -0
- package/dist/popover.recipes-zgBhMlUu.js.map +1 -0
- package/dist/primitives-DKPOGVpj.js +330 -0
- package/dist/primitives-DKPOGVpj.js.map +1 -0
- package/dist/primitives.js +7 -0
- package/dist/receipt-DYWTQGEc.js +113 -0
- package/dist/receipt-DYWTQGEc.js.map +1 -0
- package/dist/rich-text-B7sBAdDG.js +32 -0
- package/dist/rich-text-B7sBAdDG.js.map +1 -0
- package/dist/rich-text-editor-BZSJchAF.js +575 -0
- package/dist/rich-text-editor-BZSJchAF.js.map +1 -0
- package/dist/rich-text-editor.recipes-DxvOE0Lp.js +72 -0
- package/dist/rich-text-editor.recipes-DxvOE0Lp.js.map +1 -0
- package/dist/rich-text-editor.strings-BpnIQgMl.js +25 -0
- package/dist/rich-text-editor.strings-BpnIQgMl.js.map +1 -0
- package/dist/row-recipes-DL8n7t_b.js +10 -0
- package/dist/row-recipes-DL8n7t_b.js.map +1 -0
- package/dist/sanitize-html-BG9FGe-j.js +64 -0
- package/dist/sanitize-html-BG9FGe-j.js.map +1 -0
- package/dist/scroll-area-BheMQ270.js +47 -0
- package/dist/scroll-area-BheMQ270.js.map +1 -0
- package/dist/select-B2mb-qN2.js +108 -0
- package/dist/select-B2mb-qN2.js.map +1 -0
- package/dist/separator-DO0EbCEm.js +17 -0
- package/dist/separator-DO0EbCEm.js.map +1 -0
- package/dist/separator-Gk_WXH-l.js +21 -0
- package/dist/separator-Gk_WXH-l.js.map +1 -0
- package/dist/services/actions/action-adapters.d.ts +77 -0
- package/dist/services/actions/action-overlay-outlet.d.ts +3 -0
- package/dist/services/actions/action-provider.d.ts +7 -0
- package/dist/services/actions/action-scope.d.ts +3 -0
- package/dist/services/actions/action-store.d.ts +55 -0
- package/dist/services/actions/actions.strings.d.ts +2 -0
- package/dist/services/actions/actions.types.d.ts +322 -0
- package/dist/services/actions/hooks.d.ts +8 -0
- package/dist/services/actions/index.d.ts +8 -0
- package/dist/services/actions.js +811 -0
- package/dist/services/actions.js.map +1 -0
- package/dist/settings-D9f_wdIC.js +160 -0
- package/dist/settings-D9f_wdIC.js.map +1 -0
- package/dist/sheet-vOUloJ4O.js +205 -0
- package/dist/sheet-vOUloJ4O.js.map +1 -0
- package/dist/sidebar-C3UKkbC5.js +501 -0
- package/dist/sidebar-C3UKkbC5.js.map +1 -0
- package/dist/sidebar-CNBKFDRW.js +598 -0
- package/dist/sidebar-CNBKFDRW.js.map +1 -0
- package/dist/skeleton-BvRhK8y-.js +264 -0
- package/dist/skeleton-BvRhK8y-.js.map +1 -0
- package/dist/slot-CLF9kLrS.js +16 -0
- package/dist/slot-CLF9kLrS.js.map +1 -0
- package/dist/smart-card-B5FcKODh.js +577 -0
- package/dist/smart-card-B5FcKODh.js.map +1 -0
- package/dist/spinner-JtlFJ7Nc.js +78 -0
- package/dist/spinner-JtlFJ7Nc.js.map +1 -0
- package/dist/structure-BvW4vG4H.js +95 -0
- package/dist/structure-BvW4vG4H.js.map +1 -0
- package/dist/structure.recipes-DjqnBpwz.js +548 -0
- package/dist/structure.recipes-DjqnBpwz.js.map +1 -0
- package/dist/style.css +3 -0
- package/dist/surface-recipes-CQfRr-VL.js +27 -0
- package/dist/surface-recipes-CQfRr-VL.js.map +1 -0
- package/dist/table-DnlAJ-xR.js +146 -0
- package/dist/table-DnlAJ-xR.js.map +1 -0
- package/dist/table-ghtAQ-JJ.js +1424 -0
- package/dist/table-ghtAQ-JJ.js.map +1 -0
- package/dist/tabs-DY09eoZg.js +187 -0
- package/dist/tabs-DY09eoZg.js.map +1 -0
- package/dist/text-inputs-BhOcedTo.js +331 -0
- package/dist/text-inputs-BhOcedTo.js.map +1 -0
- package/dist/text.styles-BwB7vAF2.js +64 -0
- package/dist/text.styles-BwB7vAF2.js.map +1 -0
- package/dist/theme-scope-kStaAer0.js +39 -0
- package/dist/theme-scope-kStaAer0.js.map +1 -0
- package/dist/theme.css +872 -0
- package/dist/timelines-CnZ2S_Gr.js +446 -0
- package/dist/timelines-CnZ2S_Gr.js.map +1 -0
- package/dist/track-recipes-LLPNVwFg.js +10 -0
- package/dist/track-recipes-LLPNVwFg.js.map +1 -0
- package/dist/tree-COD9BGdU.js +185 -0
- package/dist/tree-COD9BGdU.js.map +1 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/locale.types.d.ts +7 -0
- package/dist/types/pagination.types.d.ts +24 -0
- package/dist/typography/rich-text.js +3 -0
- package/dist/typography-Cv8MT-82.js +96 -0
- package/dist/typography-Cv8MT-82.js.map +1 -0
- package/dist/typography.js +3 -0
- package/dist/ui-provider-CftIB6TY.js +128 -0
- package/dist/ui-provider-CftIB6TY.js.map +1 -0
- package/dist/ui-provider.js +4 -0
- package/dist/upload-DIzw1dx1.js +849 -0
- package/dist/upload-DIzw1dx1.js.map +1 -0
- package/dist/upload-queue-xRJ3qDmd.js +410 -0
- package/dist/upload-queue-xRJ3qDmd.js.map +1 -0
- package/dist/use-debounce-DZ_1ZBPa.js +18 -0
- package/dist/use-debounce-DZ_1ZBPa.js.map +1 -0
- package/dist/use-debounced-callback-Cx1h-hdv.js +30 -0
- package/dist/use-debounced-callback-Cx1h-hdv.js.map +1 -0
- package/dist/use-file-drop-target-BX7GnhoQ.js +39 -0
- package/dist/use-file-drop-target-BX7GnhoQ.js.map +1 -0
- package/dist/use-mobile-vaLKwgyf.js +15 -0
- package/dist/use-mobile-vaLKwgyf.js.map +1 -0
- package/dist/utils-C2EKeIw3.js +72 -0
- package/dist/utils-C2EKeIw3.js.map +1 -0
- package/dist/value-inputs-Co1fu-xv.js +824 -0
- package/dist/value-inputs-Co1fu-xv.js.map +1 -0
- package/dist/workspace-Cbqz4FzN.js +402 -0
- package/dist/workspace-Cbqz4FzN.js.map +1 -0
- package/docs/consumer-skill/SKILL.md +32 -0
- package/docs/consumer-skill/examples/app-layout.tsx +31 -0
- package/docs/consumer-skill/examples/composition.tsx +37 -0
- package/docs/consumer-skill/examples/content-workflow.tsx +13 -0
- package/docs/consumer-skill/examples/destructive-confirm.tsx +42 -0
- package/docs/consumer-skill/examples/detail.tsx +28 -0
- package/docs/consumer-skill/examples/edit.tsx +61 -0
- package/docs/consumer-skill/examples/email-composer.tsx +25 -0
- package/docs/consumer-skill/examples/hierarchy-capture.tsx +25 -0
- package/docs/consumer-skill/examples/index-table.tsx +36 -0
- package/docs/consumer-skill/examples/manifest.json +94 -0
- package/docs/consumer-skill/examples/receipt.tsx +19 -0
- package/docs/consumer-skill/references/composition.md +170 -0
- package/docs/consumer-skill/references/design-contract.md +145 -0
- package/docs/consumer-skill/references/discovery.md +33 -0
- package/docs/consumer-skill/references/installation.md +66 -0
- package/docs/consumer-skill/references/integration.md +57 -0
- package/docs/consumer-skill/references/public-api.json +17527 -0
- package/docs/consumer-skill/references/theming.md +56 -0
- package/docs/consumer-skill/references/tokens.json +422 -0
- package/docs/consumer-skill/references/workflows.md +39 -0
- package/docs/consumer-skill/scripts/discovery.mjs +79 -0
- package/docs/consumer-skill/scripts/find-components.mjs +11 -0
- package/package.json +621 -4
|
@@ -0,0 +1,1360 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { o as e } from "../ui-provider-CftIB6TY.js";
|
|
3
|
+
import { useStrings as t } from "../lib/strings.js";
|
|
4
|
+
import { t as n } from "../utils-C2EKeIw3.js";
|
|
5
|
+
import { n as r } from "../buttons-Co6GavvM.js";
|
|
6
|
+
import { a as i, t as a } from "../typography-Cv8MT-82.js";
|
|
7
|
+
import { r as o, t as s } from "../structure-BvW4vG4H.js";
|
|
8
|
+
import { n as c } from "../action-menu-Cx3SdfbN.js";
|
|
9
|
+
import { t as l } from "../badge-BZXZT9wd.js";
|
|
10
|
+
import { l as u } from "../data-display-b3d1TfL4.js";
|
|
11
|
+
import { o as d, r as f, u as p } from "../comments-CvYeglMS.js";
|
|
12
|
+
import { o as m } from "../mentions-CRio8mTm.js";
|
|
13
|
+
import { Fragment as h, useCallback as g, useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
|
|
14
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
15
|
+
import { Activity as w, AlertTriangle as T, ArrowLeftRight as E, Ban as D, Check as O, ChevronDown as ee, ChevronRight as te, CircleDot as k, FileEdit as A, Flag as j, Heart as M, LinkIcon as N, Mail as P, MailCheck as F, MailOpen as I, MailX as L, MessageCircle as ne, MessageSquare as R, Pencil as z, Plus as B, ShieldCheck as V, ShoppingBag as H, Sparkles as U, Star as W, Trash2 as G, UserMinus as re, UserPlus as K } from "lucide-react";
|
|
16
|
+
import { format as q, formatDistanceToNow as J, isToday as Y, isValid as X, isYesterday as Z, parseISO as ie } from "date-fns";
|
|
17
|
+
//#region src/components/features/activities/activities.config.ts
|
|
18
|
+
var ae = {
|
|
19
|
+
icon: k,
|
|
20
|
+
tone: "neutral"
|
|
21
|
+
}, oe = {
|
|
22
|
+
created: {
|
|
23
|
+
icon: B,
|
|
24
|
+
tone: "success",
|
|
25
|
+
label: "Created"
|
|
26
|
+
},
|
|
27
|
+
updated: {
|
|
28
|
+
icon: z,
|
|
29
|
+
tone: "info",
|
|
30
|
+
label: "Updated"
|
|
31
|
+
},
|
|
32
|
+
edited: {
|
|
33
|
+
icon: A,
|
|
34
|
+
tone: "info",
|
|
35
|
+
label: "Edited"
|
|
36
|
+
},
|
|
37
|
+
deleted: {
|
|
38
|
+
icon: G,
|
|
39
|
+
tone: "destructive",
|
|
40
|
+
label: "Deleted"
|
|
41
|
+
},
|
|
42
|
+
cancelled: {
|
|
43
|
+
icon: D,
|
|
44
|
+
tone: "destructive",
|
|
45
|
+
label: "Cancelled"
|
|
46
|
+
},
|
|
47
|
+
restored: {
|
|
48
|
+
icon: U,
|
|
49
|
+
tone: "success",
|
|
50
|
+
label: "Restored"
|
|
51
|
+
},
|
|
52
|
+
status_changed: {
|
|
53
|
+
icon: E,
|
|
54
|
+
tone: "primary",
|
|
55
|
+
label: "Status changed"
|
|
56
|
+
},
|
|
57
|
+
status_transition: {
|
|
58
|
+
icon: E,
|
|
59
|
+
tone: "primary",
|
|
60
|
+
label: "Status changed"
|
|
61
|
+
},
|
|
62
|
+
status_override: {
|
|
63
|
+
icon: E,
|
|
64
|
+
tone: "warning",
|
|
65
|
+
label: "Status overridden"
|
|
66
|
+
},
|
|
67
|
+
assigned: {
|
|
68
|
+
icon: K,
|
|
69
|
+
tone: "info",
|
|
70
|
+
label: "Assigned"
|
|
71
|
+
},
|
|
72
|
+
unassigned: {
|
|
73
|
+
icon: re,
|
|
74
|
+
tone: "destructive",
|
|
75
|
+
label: "Unassigned"
|
|
76
|
+
},
|
|
77
|
+
mail_sent: {
|
|
78
|
+
icon: P,
|
|
79
|
+
tone: "info",
|
|
80
|
+
label: "Email sent"
|
|
81
|
+
},
|
|
82
|
+
mail_delivered: {
|
|
83
|
+
icon: F,
|
|
84
|
+
tone: "success",
|
|
85
|
+
label: "Email delivered"
|
|
86
|
+
},
|
|
87
|
+
mail_opened: {
|
|
88
|
+
icon: I,
|
|
89
|
+
tone: "info",
|
|
90
|
+
label: "Email opened"
|
|
91
|
+
},
|
|
92
|
+
mail_clicked: {
|
|
93
|
+
icon: I,
|
|
94
|
+
tone: "info",
|
|
95
|
+
label: "Email clicked"
|
|
96
|
+
},
|
|
97
|
+
mail_bounced: {
|
|
98
|
+
icon: L,
|
|
99
|
+
tone: "destructive",
|
|
100
|
+
label: "Email bounced"
|
|
101
|
+
},
|
|
102
|
+
mail_failed: {
|
|
103
|
+
icon: L,
|
|
104
|
+
tone: "destructive",
|
|
105
|
+
label: "Email failed"
|
|
106
|
+
},
|
|
107
|
+
comment_created: {
|
|
108
|
+
icon: R,
|
|
109
|
+
tone: "warning",
|
|
110
|
+
label: "Comment posted"
|
|
111
|
+
},
|
|
112
|
+
comment_deleted: {
|
|
113
|
+
icon: R,
|
|
114
|
+
tone: "destructive",
|
|
115
|
+
label: "Comment deleted"
|
|
116
|
+
},
|
|
117
|
+
paid: {
|
|
118
|
+
icon: O,
|
|
119
|
+
tone: "success",
|
|
120
|
+
label: "Paid"
|
|
121
|
+
},
|
|
122
|
+
refunded: {
|
|
123
|
+
icon: E,
|
|
124
|
+
tone: "warning",
|
|
125
|
+
label: "Refunded"
|
|
126
|
+
},
|
|
127
|
+
confirmed: {
|
|
128
|
+
icon: V,
|
|
129
|
+
tone: "success",
|
|
130
|
+
label: "Confirmed"
|
|
131
|
+
},
|
|
132
|
+
favorited: {
|
|
133
|
+
icon: M,
|
|
134
|
+
tone: "warning",
|
|
135
|
+
label: "Favorited"
|
|
136
|
+
},
|
|
137
|
+
ordered: {
|
|
138
|
+
icon: H,
|
|
139
|
+
tone: "primary",
|
|
140
|
+
label: "Order placed"
|
|
141
|
+
},
|
|
142
|
+
published: {
|
|
143
|
+
icon: W,
|
|
144
|
+
tone: "success",
|
|
145
|
+
label: "Published"
|
|
146
|
+
},
|
|
147
|
+
flagged: {
|
|
148
|
+
icon: j,
|
|
149
|
+
tone: "warning",
|
|
150
|
+
label: "Flagged"
|
|
151
|
+
},
|
|
152
|
+
linked: {
|
|
153
|
+
icon: N,
|
|
154
|
+
tone: "info",
|
|
155
|
+
label: "Linked"
|
|
156
|
+
},
|
|
157
|
+
failed: {
|
|
158
|
+
icon: T,
|
|
159
|
+
tone: "destructive",
|
|
160
|
+
label: "Failed"
|
|
161
|
+
},
|
|
162
|
+
health_check_failed: {
|
|
163
|
+
icon: T,
|
|
164
|
+
tone: "destructive",
|
|
165
|
+
label: "Health check failed"
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
function Q(e, t) {
|
|
169
|
+
return t[e] ?? ae;
|
|
170
|
+
}
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/components/features/activities/activities.strings.ts
|
|
173
|
+
var se = {
|
|
174
|
+
title: "Activity",
|
|
175
|
+
empty: "No activity yet.",
|
|
176
|
+
loading: "Loading activity…",
|
|
177
|
+
today: "Today",
|
|
178
|
+
yesterday: "Yesterday",
|
|
179
|
+
undated: "Undated",
|
|
180
|
+
you: "You",
|
|
181
|
+
showChanges: "Show details",
|
|
182
|
+
hideChanges: "Hide details",
|
|
183
|
+
actionsLabel: "Activity actions",
|
|
184
|
+
moreLabel: "more",
|
|
185
|
+
sources: {
|
|
186
|
+
comment: "Comment",
|
|
187
|
+
mail: "Mail",
|
|
188
|
+
booking_log: "Booking log",
|
|
189
|
+
activity_log: "",
|
|
190
|
+
system: "System"
|
|
191
|
+
},
|
|
192
|
+
events: {}
|
|
193
|
+
};
|
|
194
|
+
function ce(e, t) {
|
|
195
|
+
return e.replace(/\{\{\s*(\w+)\s*\}\}/g, (e, n) => {
|
|
196
|
+
let r = t[n];
|
|
197
|
+
return r === void 0 ? e : String(r);
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
//#endregion
|
|
201
|
+
//#region src/components/features/activities/hooks/use-activity-feed.ts
|
|
202
|
+
function le(e, t, n) {
|
|
203
|
+
if (!e) return t.undated;
|
|
204
|
+
let r = new Date(e);
|
|
205
|
+
if (!X(r)) return t.undated;
|
|
206
|
+
if (Y(r)) return t.today;
|
|
207
|
+
if (Z(r)) return t.yesterday;
|
|
208
|
+
try {
|
|
209
|
+
return q(r, "PPP", n ? { locale: n } : void 0);
|
|
210
|
+
} catch {
|
|
211
|
+
return e;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
function ue({ activities: e, groupByDate: t = !0, expandedByDefault: n = !1, defaultExpandedIds: r, expandedIds: i, onExpandedIdsChange: a, locale: o, strings: s, formatDateGroupLabel: c }) {
|
|
215
|
+
let [l, u] = b({}), d = i !== void 0, f = v(() => {
|
|
216
|
+
let t = /* @__PURE__ */ new Map();
|
|
217
|
+
return e.map((e) => {
|
|
218
|
+
let n = [
|
|
219
|
+
String(e.id ?? "").trim(),
|
|
220
|
+
String(e.createdAt ?? "").trim(),
|
|
221
|
+
String(e.event ?? "").trim(),
|
|
222
|
+
String(e.source ?? "").trim()
|
|
223
|
+
].join(":"), r = (t.get(n) ?? 0) + 1;
|
|
224
|
+
return t.set(n, r), {
|
|
225
|
+
activity: e,
|
|
226
|
+
key: `${n}:${r}`
|
|
227
|
+
};
|
|
228
|
+
});
|
|
229
|
+
}, [e]), p = v(() => {
|
|
230
|
+
if (!t) return f.length > 0 ? [{
|
|
231
|
+
label: "",
|
|
232
|
+
items: f
|
|
233
|
+
}] : [];
|
|
234
|
+
let e = [], n = "__init__", r = [], i = (e) => c ? c(e, s) : le(e, s, o);
|
|
235
|
+
for (let t of f) {
|
|
236
|
+
let a = i(t.activity.createdAt ?? null);
|
|
237
|
+
a === n ? r.push(t) : (r.length > 0 && e.push({
|
|
238
|
+
label: n,
|
|
239
|
+
items: r
|
|
240
|
+
}), n = a, r = [t]);
|
|
241
|
+
}
|
|
242
|
+
return r.length > 0 && e.push({
|
|
243
|
+
label: n,
|
|
244
|
+
items: r
|
|
245
|
+
}), e;
|
|
246
|
+
}, [
|
|
247
|
+
f,
|
|
248
|
+
t,
|
|
249
|
+
o,
|
|
250
|
+
s,
|
|
251
|
+
c
|
|
252
|
+
]), m = v(() => {
|
|
253
|
+
let e = new Set(r ?? []);
|
|
254
|
+
for (let t of f) t.activity.defaultExpanded === !0 && e.add(t.activity.id);
|
|
255
|
+
return e;
|
|
256
|
+
}, [f, r]), h = v(() => new Set(i ?? []), [i]), _ = g((e, t) => {
|
|
257
|
+
let r = d ? Array.from(h) : f.filter((e) => l[e.activity.id] ?? (m.has(e.activity.id) || n)).map((e) => e.activity.id), i = new Set(r);
|
|
258
|
+
t ? i.add(e) : i.delete(e);
|
|
259
|
+
let o = Array.from(i);
|
|
260
|
+
d || u((n) => ({
|
|
261
|
+
...n,
|
|
262
|
+
[e]: t
|
|
263
|
+
})), a?.(o);
|
|
264
|
+
}, [
|
|
265
|
+
h,
|
|
266
|
+
m,
|
|
267
|
+
n,
|
|
268
|
+
l,
|
|
269
|
+
d,
|
|
270
|
+
f,
|
|
271
|
+
a
|
|
272
|
+
]), y = g((e) => d ? h.has(e) : l[e] ?? (m.has(e) || n), [
|
|
273
|
+
h,
|
|
274
|
+
m,
|
|
275
|
+
n,
|
|
276
|
+
l,
|
|
277
|
+
d
|
|
278
|
+
]), x = g((e) => {
|
|
279
|
+
_(e, !y(e));
|
|
280
|
+
}, [y, _]), S = g(() => {
|
|
281
|
+
let e = {};
|
|
282
|
+
for (let t of f) e[t.activity.id] = !0;
|
|
283
|
+
d || u(e), a?.(f.map((e) => e.activity.id));
|
|
284
|
+
}, [
|
|
285
|
+
d,
|
|
286
|
+
f,
|
|
287
|
+
a
|
|
288
|
+
]), C = g(() => {
|
|
289
|
+
let e = {};
|
|
290
|
+
for (let t of f) e[t.activity.id] = !1;
|
|
291
|
+
d || u(e), a?.([]);
|
|
292
|
+
}, [
|
|
293
|
+
d,
|
|
294
|
+
f,
|
|
295
|
+
a
|
|
296
|
+
]);
|
|
297
|
+
return {
|
|
298
|
+
groups: p,
|
|
299
|
+
total: f.length,
|
|
300
|
+
isExpanded: y,
|
|
301
|
+
toggleExpanded: x,
|
|
302
|
+
setExpanded: _,
|
|
303
|
+
expandAll: S,
|
|
304
|
+
collapseAll: C
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
//#endregion
|
|
308
|
+
//#region src/components/features/activities/hooks/use-activity-resources.ts
|
|
309
|
+
function de({ resources: e, onResourcesChange: t } = {}) {
|
|
310
|
+
let [n, r] = b(() => e ?? {}), i = y(e);
|
|
311
|
+
_(() => {
|
|
312
|
+
e !== i.current && (i.current = e, r(e ?? {}));
|
|
313
|
+
}, [e]);
|
|
314
|
+
let a = y(t);
|
|
315
|
+
_(() => {
|
|
316
|
+
a.current = t;
|
|
317
|
+
}, [t]);
|
|
318
|
+
let o = g((e) => {
|
|
319
|
+
a.current?.(e);
|
|
320
|
+
}, []), s = g((e, t) => {
|
|
321
|
+
r((n) => {
|
|
322
|
+
let r = {
|
|
323
|
+
...n,
|
|
324
|
+
[e]: t
|
|
325
|
+
};
|
|
326
|
+
return o(r), r;
|
|
327
|
+
});
|
|
328
|
+
}, [o]), c = g((e, t) => {
|
|
329
|
+
r((n) => {
|
|
330
|
+
let r = n[e];
|
|
331
|
+
if (!r) return n;
|
|
332
|
+
let i = {
|
|
333
|
+
...n,
|
|
334
|
+
[e]: {
|
|
335
|
+
...r,
|
|
336
|
+
...t
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
return o(i), i;
|
|
340
|
+
});
|
|
341
|
+
}, [o]), l = g((e) => {
|
|
342
|
+
r((t) => {
|
|
343
|
+
if (!(e in t)) return t;
|
|
344
|
+
let n = { ...t };
|
|
345
|
+
return delete n[e], o(n), n;
|
|
346
|
+
});
|
|
347
|
+
}, [o]), u = g((e) => {
|
|
348
|
+
r(e), o(e);
|
|
349
|
+
}, [o]), d = g(() => {
|
|
350
|
+
let e = i.current ?? {};
|
|
351
|
+
r(e), o(e);
|
|
352
|
+
}, [o]);
|
|
353
|
+
return {
|
|
354
|
+
registry: n,
|
|
355
|
+
get: g((e) => {
|
|
356
|
+
let t = typeof e == "string" ? e : e.key;
|
|
357
|
+
return n[t];
|
|
358
|
+
}, [n]),
|
|
359
|
+
register: s,
|
|
360
|
+
update: c,
|
|
361
|
+
remove: l,
|
|
362
|
+
setAll: u,
|
|
363
|
+
reset: d
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
//#endregion
|
|
367
|
+
//#region src/components/features/activities/partials/activity-actions-menu.tsx
|
|
368
|
+
function fe(e) {
|
|
369
|
+
if (e === "destructive") return "destructive";
|
|
370
|
+
if (e === "primary" || e === "secondary") return e;
|
|
371
|
+
}
|
|
372
|
+
function pe({ activity: e, actions: t, onAction: n, label: r }) {
|
|
373
|
+
if (t.length === 0) return null;
|
|
374
|
+
let i = t.map((t) => ({
|
|
375
|
+
id: t.id,
|
|
376
|
+
icon: t.icon,
|
|
377
|
+
label: t.label,
|
|
378
|
+
href: t.href,
|
|
379
|
+
disabled: t.disabled,
|
|
380
|
+
variant: fe(t.tone),
|
|
381
|
+
onClick: () => {
|
|
382
|
+
t.onClick?.(e), n?.(t.id, e);
|
|
383
|
+
}
|
|
384
|
+
}));
|
|
385
|
+
return /* @__PURE__ */ S(c, {
|
|
386
|
+
actions: i,
|
|
387
|
+
srText: r,
|
|
388
|
+
align: "end",
|
|
389
|
+
density: "table",
|
|
390
|
+
closeOnSelect: !0,
|
|
391
|
+
labelVisibility: "hidden",
|
|
392
|
+
buttonProps: {
|
|
393
|
+
size: "sm",
|
|
394
|
+
iconOnly: !0,
|
|
395
|
+
className: "activity-actions-menu--component size-action-sm text-muted-foreground"
|
|
396
|
+
}
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
//#endregion
|
|
400
|
+
//#region src/components/features/activities/partials/activity-changes.tsx
|
|
401
|
+
function me({ change: e }) {
|
|
402
|
+
let t = e.old !== null && e.old !== void 0, n = e.new !== null && e.new !== void 0;
|
|
403
|
+
return !t && !n ? /* @__PURE__ */ S(i, {
|
|
404
|
+
tag: "span",
|
|
405
|
+
children: e.description
|
|
406
|
+
}) : /* @__PURE__ */ C(i, {
|
|
407
|
+
tag: "span",
|
|
408
|
+
className: "inline-flex flex-wrap items-baseline gap-space-xs",
|
|
409
|
+
children: [
|
|
410
|
+
!!t && /* @__PURE__ */ S(i, {
|
|
411
|
+
tag: "span",
|
|
412
|
+
size: "inherit",
|
|
413
|
+
className: "rounded bg-destructive/10 text-destructive line-through px-1 py-px",
|
|
414
|
+
children: e.old
|
|
415
|
+
}),
|
|
416
|
+
t && n && /* @__PURE__ */ S(i, {
|
|
417
|
+
tag: "span",
|
|
418
|
+
size: "inherit",
|
|
419
|
+
type: "secondary",
|
|
420
|
+
children: "→"
|
|
421
|
+
}),
|
|
422
|
+
!!n && /* @__PURE__ */ S(i, {
|
|
423
|
+
tag: "span",
|
|
424
|
+
size: "inherit",
|
|
425
|
+
className: "rounded bg-success/15 text-success px-1 py-px",
|
|
426
|
+
children: e.new
|
|
427
|
+
})
|
|
428
|
+
]
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
function he({ changes: e, className: t }) {
|
|
432
|
+
return e.length === 0 ? null : /* @__PURE__ */ S("div", {
|
|
433
|
+
className: n("activity-changes--component", "rounded-radius border border-border/60 bg-muted/30 p-surface-xs", t),
|
|
434
|
+
children: /* @__PURE__ */ S(s, {
|
|
435
|
+
gap: "sm",
|
|
436
|
+
children: e.map((e) => /* @__PURE__ */ C("div", {
|
|
437
|
+
className: "flex items-baseline gap-space-md",
|
|
438
|
+
children: [/* @__PURE__ */ S(i, {
|
|
439
|
+
size: "xs",
|
|
440
|
+
type: "secondary",
|
|
441
|
+
weight: "medium",
|
|
442
|
+
className: "shrink-0",
|
|
443
|
+
children: e.label
|
|
444
|
+
}), /* @__PURE__ */ S(me, { change: e })]
|
|
445
|
+
}, `${e.key}-${e.label}`))
|
|
446
|
+
})
|
|
447
|
+
});
|
|
448
|
+
}
|
|
449
|
+
//#endregion
|
|
450
|
+
//#region src/components/features/activities/partials/activity-date-label.tsx
|
|
451
|
+
function ge({ label: e, first: t, className: r }) {
|
|
452
|
+
return e === "" ? null : /* @__PURE__ */ S(i, {
|
|
453
|
+
size: "xs",
|
|
454
|
+
type: "secondary",
|
|
455
|
+
weight: "medium",
|
|
456
|
+
className: n("activity-date-label--component", "uppercase tracking-wider", !t && "mt-space-md", r),
|
|
457
|
+
children: e
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region src/components/features/activities/partials/activity-empty-state.tsx
|
|
462
|
+
function _e({ title: e, hint: t, className: r }) {
|
|
463
|
+
return /* @__PURE__ */ S(u, {
|
|
464
|
+
title: e,
|
|
465
|
+
description: t ?? !1,
|
|
466
|
+
media: /* @__PURE__ */ S(w, {
|
|
467
|
+
className: "size-icon",
|
|
468
|
+
"aria-hidden": "true"
|
|
469
|
+
}),
|
|
470
|
+
mediaVariant: "icon-soft",
|
|
471
|
+
padding: "md",
|
|
472
|
+
className: n("activity-empty-state--component", r)
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
//#endregion
|
|
476
|
+
//#region src/components/features/activities/partials/tone-tokens.ts
|
|
477
|
+
var ve = {
|
|
478
|
+
primary: {
|
|
479
|
+
bg: "bg-primary/10",
|
|
480
|
+
fg: "text-primary-accent",
|
|
481
|
+
dot: "bg-primary",
|
|
482
|
+
line: "bg-primary/30",
|
|
483
|
+
chipBg: "bg-primary/5",
|
|
484
|
+
chipFg: "text-primary-accent"
|
|
485
|
+
},
|
|
486
|
+
success: {
|
|
487
|
+
bg: "bg-success/10",
|
|
488
|
+
fg: "text-success",
|
|
489
|
+
dot: "bg-success",
|
|
490
|
+
line: "bg-success/30",
|
|
491
|
+
chipBg: "bg-success/10",
|
|
492
|
+
chipFg: "text-success"
|
|
493
|
+
},
|
|
494
|
+
warning: {
|
|
495
|
+
bg: "bg-warning/10",
|
|
496
|
+
fg: "text-warning-accent",
|
|
497
|
+
dot: "bg-warning",
|
|
498
|
+
line: "bg-warning/30",
|
|
499
|
+
chipBg: "bg-warning/10",
|
|
500
|
+
chipFg: "text-warning-accent"
|
|
501
|
+
},
|
|
502
|
+
destructive: {
|
|
503
|
+
bg: "bg-destructive/10",
|
|
504
|
+
fg: "text-destructive",
|
|
505
|
+
dot: "bg-destructive",
|
|
506
|
+
line: "bg-destructive/30",
|
|
507
|
+
chipBg: "bg-destructive/10",
|
|
508
|
+
chipFg: "text-destructive"
|
|
509
|
+
},
|
|
510
|
+
info: {
|
|
511
|
+
bg: "bg-info/10",
|
|
512
|
+
fg: "text-info",
|
|
513
|
+
dot: "bg-info",
|
|
514
|
+
line: "bg-info/30",
|
|
515
|
+
chipBg: "bg-info/10",
|
|
516
|
+
chipFg: "text-info"
|
|
517
|
+
},
|
|
518
|
+
neutral: {
|
|
519
|
+
bg: "bg-muted",
|
|
520
|
+
fg: "text-muted-foreground",
|
|
521
|
+
dot: "bg-muted-foreground/60",
|
|
522
|
+
line: "bg-border",
|
|
523
|
+
chipBg: "bg-muted",
|
|
524
|
+
chipFg: "text-muted-foreground"
|
|
525
|
+
},
|
|
526
|
+
secondary: {
|
|
527
|
+
bg: "bg-muted",
|
|
528
|
+
fg: "text-muted-foreground",
|
|
529
|
+
dot: "bg-muted-foreground/60",
|
|
530
|
+
line: "bg-border",
|
|
531
|
+
chipBg: "bg-muted",
|
|
532
|
+
chipFg: "text-muted-foreground"
|
|
533
|
+
}
|
|
534
|
+
}, ye = {
|
|
535
|
+
primary: "primary",
|
|
536
|
+
success: "success",
|
|
537
|
+
warning: "warning",
|
|
538
|
+
destructive: "destructive",
|
|
539
|
+
info: "info",
|
|
540
|
+
neutral: "secondary",
|
|
541
|
+
secondary: "secondary"
|
|
542
|
+
};
|
|
543
|
+
//#endregion
|
|
544
|
+
//#region src/components/features/activities/partials/activity-resource-tag.tsx
|
|
545
|
+
function be({ resource: e, config: t, fallbackText: a, onClick: o }) {
|
|
546
|
+
let s = ve[t?.tone ?? "neutral"], c = t?.icon ?? k, u = t?.label ?? a ?? e.label ?? e.key, d = typeof o == "function", f = /* @__PURE__ */ C(x, { children: [
|
|
547
|
+
/* @__PURE__ */ S(c, { className: n("size-icon-sm shrink-0", s.fg) }),
|
|
548
|
+
/* @__PURE__ */ S(i, {
|
|
549
|
+
tag: "span",
|
|
550
|
+
weight: "medium",
|
|
551
|
+
lineHeight: "none",
|
|
552
|
+
className: s.chipFg,
|
|
553
|
+
children: u
|
|
554
|
+
}),
|
|
555
|
+
!!t?.tags && t.tags.length > 0 && /* @__PURE__ */ S(i, {
|
|
556
|
+
tag: "span",
|
|
557
|
+
size: "xs",
|
|
558
|
+
type: "secondary",
|
|
559
|
+
className: "ml-space-2xs border-l border-border pl-space-sm",
|
|
560
|
+
children: t.tags.join(" · ")
|
|
561
|
+
}),
|
|
562
|
+
!!t?.badge && /* @__PURE__ */ S(l, {
|
|
563
|
+
inline: !0,
|
|
564
|
+
size: "sm",
|
|
565
|
+
tone: ye[t.badge.tone ?? "neutral"],
|
|
566
|
+
className: "ml-space-2xs",
|
|
567
|
+
children: t.badge.label
|
|
568
|
+
})
|
|
569
|
+
] }), p = n("inline-flex items-center gap-space-xs rounded-full px-space-sm py-px align-baseline", "border border-border/50 shadow-none", s.chipBg, d && "cursor-pointer transition-colors hover:bg-foreground/5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring");
|
|
570
|
+
return d ? /* @__PURE__ */ S(r, {
|
|
571
|
+
type: "button",
|
|
572
|
+
tone: "secondary",
|
|
573
|
+
buttonStyle: "ghost",
|
|
574
|
+
size: "sm",
|
|
575
|
+
onClick: (e) => {
|
|
576
|
+
e.stopPropagation(), o?.();
|
|
577
|
+
},
|
|
578
|
+
className: n("activity-resource-tag--component", p, "h-auto rounded-full"),
|
|
579
|
+
title: t?.note,
|
|
580
|
+
children: f
|
|
581
|
+
}) : /* @__PURE__ */ S("span", {
|
|
582
|
+
className: n("activity-resource-tag--component", p),
|
|
583
|
+
title: t?.note,
|
|
584
|
+
children: f
|
|
585
|
+
});
|
|
586
|
+
}
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region src/components/features/activities/partials/activity-headline.tsx
|
|
589
|
+
function xe({ actorId: e, text: t, href: n, activity: o, youLabel: s, currentUserId: c, onActorClick: l }) {
|
|
590
|
+
let u = c !== void 0 && e !== void 0 && c === e ? s : t, d = o.actor ?? {
|
|
591
|
+
id: e,
|
|
592
|
+
name: t
|
|
593
|
+
};
|
|
594
|
+
return n ? /* @__PURE__ */ S(a, {
|
|
595
|
+
href: n,
|
|
596
|
+
size: "inherit",
|
|
597
|
+
underline: !1,
|
|
598
|
+
onClick: (e) => {
|
|
599
|
+
l && (e.preventDefault(), e.stopPropagation(), l(d, o));
|
|
600
|
+
},
|
|
601
|
+
className: "font-semibold text-foreground underline-offset-2 hover:underline",
|
|
602
|
+
children: u
|
|
603
|
+
}) : l ? /* @__PURE__ */ S(r, {
|
|
604
|
+
type: "button",
|
|
605
|
+
tone: "secondary",
|
|
606
|
+
buttonStyle: "ghost",
|
|
607
|
+
size: "sm",
|
|
608
|
+
onClick: (e) => {
|
|
609
|
+
e.stopPropagation(), l(d, o);
|
|
610
|
+
},
|
|
611
|
+
className: "h-auto rounded px-0 py-0 text-foreground underline-offset-2 hover:underline",
|
|
612
|
+
children: /* @__PURE__ */ S(i, {
|
|
613
|
+
tag: "span",
|
|
614
|
+
weight: "semibold",
|
|
615
|
+
children: u
|
|
616
|
+
})
|
|
617
|
+
}) : /* @__PURE__ */ S(i, {
|
|
618
|
+
tag: "span",
|
|
619
|
+
weight: "semibold",
|
|
620
|
+
children: u
|
|
621
|
+
});
|
|
622
|
+
}
|
|
623
|
+
function Se(e, t) {
|
|
624
|
+
return e.map((e, n) => {
|
|
625
|
+
let r = `seg-${n}-${e.type}`;
|
|
626
|
+
switch (e.type) {
|
|
627
|
+
case "actor": return /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ S(xe, {
|
|
628
|
+
actorId: e.actorId,
|
|
629
|
+
text: e.text,
|
|
630
|
+
href: e.href,
|
|
631
|
+
activity: t.activity,
|
|
632
|
+
youLabel: t.youLabel,
|
|
633
|
+
currentUserId: t.currentUserId,
|
|
634
|
+
onActorClick: t.onActorClick
|
|
635
|
+
}), " "] }, r);
|
|
636
|
+
case "field":
|
|
637
|
+
case "value": return /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ S(i, {
|
|
638
|
+
tag: "span",
|
|
639
|
+
weight: "semibold",
|
|
640
|
+
children: e.text
|
|
641
|
+
}), " "] }, r);
|
|
642
|
+
case "status": return /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ S(l, {
|
|
643
|
+
inline: !0,
|
|
644
|
+
size: "sm",
|
|
645
|
+
tone: ye[e.tone ?? "neutral"],
|
|
646
|
+
children: e.text
|
|
647
|
+
}), " "] }, r);
|
|
648
|
+
case "resource": {
|
|
649
|
+
let n = t.getResourceConfig?.(e.resource);
|
|
650
|
+
return /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ S(be, {
|
|
651
|
+
resource: e.resource,
|
|
652
|
+
config: n,
|
|
653
|
+
fallbackText: e.text,
|
|
654
|
+
onClick: t.onResourceClick ? () => t.onResourceClick?.(e.resource, n, t.activity) : void 0
|
|
655
|
+
}), " "] }, r);
|
|
656
|
+
}
|
|
657
|
+
default: return /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ S(i, {
|
|
658
|
+
tag: "span",
|
|
659
|
+
children: e.text
|
|
660
|
+
}), " "] }, r);
|
|
661
|
+
}
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
function Ce(e) {
|
|
665
|
+
let { activity: t } = e, n = t.headline ?? t.event, r = t.actor?.name;
|
|
666
|
+
if (!r || !n.includes(r)) return /* @__PURE__ */ S(i, {
|
|
667
|
+
tag: "span",
|
|
668
|
+
children: n
|
|
669
|
+
});
|
|
670
|
+
let [a, ...o] = n.split(r);
|
|
671
|
+
return /* @__PURE__ */ C(x, { children: [
|
|
672
|
+
!!a && /* @__PURE__ */ S(i, {
|
|
673
|
+
tag: "span",
|
|
674
|
+
children: a
|
|
675
|
+
}),
|
|
676
|
+
/* @__PURE__ */ S(xe, {
|
|
677
|
+
actorId: t.actor?.id,
|
|
678
|
+
text: r,
|
|
679
|
+
href: t.actor?.href,
|
|
680
|
+
activity: t,
|
|
681
|
+
youLabel: e.youLabel,
|
|
682
|
+
currentUserId: e.currentUserId,
|
|
683
|
+
onActorClick: e.onActorClick
|
|
684
|
+
}),
|
|
685
|
+
o.length > 0 && /* @__PURE__ */ S(i, {
|
|
686
|
+
tag: "span",
|
|
687
|
+
children: o.join(r)
|
|
688
|
+
})
|
|
689
|
+
] });
|
|
690
|
+
}
|
|
691
|
+
function we(e) {
|
|
692
|
+
let t = e.activity.segments;
|
|
693
|
+
return t && t.length > 0 ? /* @__PURE__ */ S("span", {
|
|
694
|
+
className: "activity-headline--component leading-snug [&>span]:leading-snug",
|
|
695
|
+
children: Se(t, e)
|
|
696
|
+
}) : /* @__PURE__ */ S("span", {
|
|
697
|
+
className: "activity-headline--component leading-snug",
|
|
698
|
+
children: Ce(e)
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
//#endregion
|
|
702
|
+
//#region src/components/features/activities/partials/activity-marker.tsx
|
|
703
|
+
function Te({ icon: e, tone: t, density: r, last: i, className: a }) {
|
|
704
|
+
let o = ve[t];
|
|
705
|
+
return r === "compact" ? /* @__PURE__ */ C("div", {
|
|
706
|
+
className: n("activity-marker--component flex flex-col items-center", a),
|
|
707
|
+
children: [/* @__PURE__ */ S("span", {
|
|
708
|
+
"aria-hidden": !0,
|
|
709
|
+
className: n("mt-1.5 size-2 shrink-0 rounded-full", o.dot)
|
|
710
|
+
}), !i && /* @__PURE__ */ S("span", {
|
|
711
|
+
"aria-hidden": !0,
|
|
712
|
+
className: n("mt-1 w-px flex-1", o.line)
|
|
713
|
+
})]
|
|
714
|
+
}) : r === "rich" ? /* @__PURE__ */ C("div", {
|
|
715
|
+
className: n("activity-marker--component flex flex-col items-center", a),
|
|
716
|
+
children: [/* @__PURE__ */ S("span", {
|
|
717
|
+
className: n("flex size-7 shrink-0 items-center justify-center rounded-full ring-1 ring-border/60", o.bg, o.fg),
|
|
718
|
+
children: /* @__PURE__ */ S(e, { className: "size-icon-md" })
|
|
719
|
+
}), !i && /* @__PURE__ */ S("span", {
|
|
720
|
+
"aria-hidden": !0,
|
|
721
|
+
className: n("mt-1 w-px flex-1", o.line)
|
|
722
|
+
})]
|
|
723
|
+
}) : /* @__PURE__ */ C("div", {
|
|
724
|
+
className: n("activity-marker--component flex flex-col items-center", a),
|
|
725
|
+
children: [/* @__PURE__ */ S("span", {
|
|
726
|
+
className: n("flex size-icon-lg shrink-0 items-center justify-center rounded-full", o.bg, o.fg),
|
|
727
|
+
children: /* @__PURE__ */ S(e, { className: "size-icon-sm" })
|
|
728
|
+
}), !i && /* @__PURE__ */ S("span", {
|
|
729
|
+
"aria-hidden": !0,
|
|
730
|
+
className: n("mt-1 w-px flex-1", o.line)
|
|
731
|
+
})]
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
//#endregion
|
|
735
|
+
//#region src/components/features/activities/partials/activity-row.tsx
|
|
736
|
+
function Ee({ metadata: e, moreLabel: t }) {
|
|
737
|
+
let n = e.slice(0, 3), r = e.length - n.length;
|
|
738
|
+
return /* @__PURE__ */ C("div", {
|
|
739
|
+
className: "activity-row--metadata-preview mt-space-xs flex min-w-0 flex-wrap items-center gap-x-space-sm gap-y-space-2xs",
|
|
740
|
+
children: [n.map((e, t) => /* @__PURE__ */ C(h, { children: [/* @__PURE__ */ C(i, {
|
|
741
|
+
tag: "span",
|
|
742
|
+
type: "secondary",
|
|
743
|
+
className: "inline-flex min-w-0 items-baseline gap-space-xs leading-snug",
|
|
744
|
+
children: [/* @__PURE__ */ C(i, {
|
|
745
|
+
tag: "span",
|
|
746
|
+
size: "xs",
|
|
747
|
+
type: "discrete",
|
|
748
|
+
className: "shrink-0",
|
|
749
|
+
children: [
|
|
750
|
+
e.label,
|
|
751
|
+
":",
|
|
752
|
+
" "
|
|
753
|
+
]
|
|
754
|
+
}), /* @__PURE__ */ S(i, {
|
|
755
|
+
tag: "span",
|
|
756
|
+
size: "inherit",
|
|
757
|
+
className: "min-w-0 truncate",
|
|
758
|
+
children: e.value
|
|
759
|
+
})]
|
|
760
|
+
}), t < n.length - 1 && /* @__PURE__ */ S(i, {
|
|
761
|
+
tag: "span",
|
|
762
|
+
size: "xs",
|
|
763
|
+
type: "discrete",
|
|
764
|
+
className: "leading-snug",
|
|
765
|
+
"aria-hidden": "true",
|
|
766
|
+
children: " · "
|
|
767
|
+
})] }, e.label)), r > 0 && /* @__PURE__ */ C(i, {
|
|
768
|
+
tag: "span",
|
|
769
|
+
size: "xs",
|
|
770
|
+
type: "discrete",
|
|
771
|
+
className: "leading-snug",
|
|
772
|
+
children: [
|
|
773
|
+
"+",
|
|
774
|
+
r,
|
|
775
|
+
" ",
|
|
776
|
+
t
|
|
777
|
+
]
|
|
778
|
+
})]
|
|
779
|
+
});
|
|
780
|
+
}
|
|
781
|
+
function De({ metadata: e }) {
|
|
782
|
+
return /* @__PURE__ */ S(o, {
|
|
783
|
+
columns: {
|
|
784
|
+
base: 1,
|
|
785
|
+
sm: 2
|
|
786
|
+
},
|
|
787
|
+
gap: "xs",
|
|
788
|
+
className: "activity-row--metadata",
|
|
789
|
+
children: e.map((e) => /* @__PURE__ */ C("div", {
|
|
790
|
+
className: "min-w-0 rounded-radius-md border border-border/60 bg-background/70 px-space-sm py-space-xs",
|
|
791
|
+
children: [/* @__PURE__ */ S(i, {
|
|
792
|
+
tag: "div",
|
|
793
|
+
size: "xs",
|
|
794
|
+
type: "discrete",
|
|
795
|
+
weight: "medium",
|
|
796
|
+
className: "leading-snug",
|
|
797
|
+
children: e.label
|
|
798
|
+
}), /* @__PURE__ */ S(i, {
|
|
799
|
+
tag: "div",
|
|
800
|
+
className: "mt-space-2xs min-w-0 break-words leading-snug",
|
|
801
|
+
children: e.value
|
|
802
|
+
})]
|
|
803
|
+
}, e.label))
|
|
804
|
+
});
|
|
805
|
+
}
|
|
806
|
+
function Oe(e) {
|
|
807
|
+
let { activity: t, density: a, itemSpacing: o, eventConfig: c, tone: u, last: d, expanded: f, onExpandedChange: p, detailsCollapsible: m, relativeTime: h, absoluteTime: g, sourceLabel: _, youLabel: v, showChangesLabel: y, hideChangesLabel: b, moreLabel: x, actionsLabel: w, currentUserId: T, actions: E, onActivityClick: D, onActorClick: O, onResourceClick: k, onAction: A, getResourceConfig: j, headlineOverride: M, markerOverride: N, customDetails: P, rowClassName: F, markerClassName: I, contentClassName: L, detailsClassName: ne } = e, R = t.iconOverride ?? c.icon, z = (t.changes?.length ?? 0) > 0, B = t.metadata ?? [], V = B.length > 0, H = (t.resources?.length ?? 0) > 0, U = t.details !== void 0 && t.details !== null && t.details !== !1, W = P != null && P !== !1, G = V || z || U || W, re = t.description !== void 0 && t.description !== null && t.description !== "", K = a !== "compact", q = a === "rich", J = m ?? (V || z), Y = q && G && (!J || f), X = q && V && J && !f, Z = E.filter((e) => e.presentation === "inline"), ie = E.filter((e) => e.presentation !== "inline"), ae = M ?? /* @__PURE__ */ S(we, {
|
|
808
|
+
activity: t,
|
|
809
|
+
currentUserId: T,
|
|
810
|
+
youLabel: v,
|
|
811
|
+
onActorClick: O,
|
|
812
|
+
onResourceClick: k,
|
|
813
|
+
getResourceConfig: j
|
|
814
|
+
}), oe = N ?? /* @__PURE__ */ S(Te, {
|
|
815
|
+
icon: R,
|
|
816
|
+
tone: u,
|
|
817
|
+
density: a,
|
|
818
|
+
last: d,
|
|
819
|
+
className: I
|
|
820
|
+
}), Q = typeof D == "function", se = z || H || ie.length > 0 || Z.length > 0 || typeof O == "function" || typeof k == "function", ce = Q && !se, le = a === "rich" ? "gap-space-md py-space-xs" : a === "compact" ? "gap-space-sm py-space-2xs" : "gap-space-md py-space-2xs", ue = d ? "" : o === "compact" ? "pb-space-sm" : o === "relaxed" ? "pb-space-xl" : "pb-space-md";
|
|
821
|
+
return /* @__PURE__ */ C("div", {
|
|
822
|
+
className: n("activity-row--component relative flex", le, Q && "cursor-pointer rounded-radius-md hover:bg-muted/40", F),
|
|
823
|
+
onClick: Q ? () => D?.(t) : void 0,
|
|
824
|
+
role: ce ? "button" : void 0,
|
|
825
|
+
tabIndex: ce ? 0 : void 0,
|
|
826
|
+
onKeyDown: ce ? (e) => {
|
|
827
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), D?.(t));
|
|
828
|
+
} : void 0,
|
|
829
|
+
children: [oe, /* @__PURE__ */ C("div", {
|
|
830
|
+
className: n("activity-row--content min-w-0 flex-1", ue, L),
|
|
831
|
+
children: [
|
|
832
|
+
/* @__PURE__ */ C("div", {
|
|
833
|
+
className: "activity-row--summary grid min-w-0 grid-cols-1 items-start gap-x-space-lg gap-y-space-sm sm:grid-cols-[minmax(0,1fr)_max-content]",
|
|
834
|
+
children: [/* @__PURE__ */ C(s, {
|
|
835
|
+
gap: "dense",
|
|
836
|
+
className: "min-w-0",
|
|
837
|
+
children: [/* @__PURE__ */ C("div", {
|
|
838
|
+
className: "activity-row--headline flex min-w-0 flex-wrap items-center gap-x-space-sm gap-y-space-xs",
|
|
839
|
+
children: [/* @__PURE__ */ S(i, {
|
|
840
|
+
tag: "span",
|
|
841
|
+
size: "inherit",
|
|
842
|
+
lineHeight: "snug",
|
|
843
|
+
className: "min-w-0 break-words [overflow-wrap:anywhere]",
|
|
844
|
+
children: ae
|
|
845
|
+
}), !!_ && /* @__PURE__ */ S(l, {
|
|
846
|
+
inline: !0,
|
|
847
|
+
size: "sm",
|
|
848
|
+
tone: "secondary",
|
|
849
|
+
children: _
|
|
850
|
+
})]
|
|
851
|
+
}), X && /* @__PURE__ */ S(Ee, {
|
|
852
|
+
metadata: B,
|
|
853
|
+
moreLabel: x
|
|
854
|
+
})]
|
|
855
|
+
}), /* @__PURE__ */ C(s, {
|
|
856
|
+
direction: "horizontal",
|
|
857
|
+
gap: "xs",
|
|
858
|
+
justify: {
|
|
859
|
+
base: "between",
|
|
860
|
+
sm: "end"
|
|
861
|
+
},
|
|
862
|
+
wrap: !1,
|
|
863
|
+
className: "activity-row--trailing w-full shrink-0 justify-self-start sm:w-auto sm:justify-self-end",
|
|
864
|
+
children: [
|
|
865
|
+
!!h && /* @__PURE__ */ S(i, {
|
|
866
|
+
size: "xs",
|
|
867
|
+
type: "secondary",
|
|
868
|
+
className: "whitespace-nowrap tabular-nums leading-snug",
|
|
869
|
+
title: g ?? void 0,
|
|
870
|
+
children: h
|
|
871
|
+
}),
|
|
872
|
+
q && G && J && /* @__PURE__ */ S(r, {
|
|
873
|
+
type: "button",
|
|
874
|
+
size: "sm",
|
|
875
|
+
iconOnly: !0,
|
|
876
|
+
tone: "secondary",
|
|
877
|
+
buttonStyle: "ghost",
|
|
878
|
+
className: "size-action-sm text-muted-foreground",
|
|
879
|
+
onClick: (e) => {
|
|
880
|
+
e.stopPropagation(), p(!f);
|
|
881
|
+
},
|
|
882
|
+
title: f ? b : y,
|
|
883
|
+
"aria-label": f ? b : y,
|
|
884
|
+
"aria-expanded": f,
|
|
885
|
+
children: S(f ? ee : te, { className: "size-icon-sm" })
|
|
886
|
+
}),
|
|
887
|
+
q && ie.length > 0 && /* @__PURE__ */ S(pe, {
|
|
888
|
+
activity: t,
|
|
889
|
+
actions: ie,
|
|
890
|
+
onAction: A,
|
|
891
|
+
label: w
|
|
892
|
+
})
|
|
893
|
+
]
|
|
894
|
+
})]
|
|
895
|
+
}),
|
|
896
|
+
!!K && re && /* @__PURE__ */ S(i, {
|
|
897
|
+
tag: "div",
|
|
898
|
+
type: "secondary",
|
|
899
|
+
className: "mt-space-xs max-w-3xl leading-relaxed",
|
|
900
|
+
children: t.description
|
|
901
|
+
}),
|
|
902
|
+
!!q && H && t.resources && /* @__PURE__ */ S(s, {
|
|
903
|
+
direction: "horizontal",
|
|
904
|
+
gap: "xs",
|
|
905
|
+
className: "mt-space-sm",
|
|
906
|
+
children: t.resources.map((e) => {
|
|
907
|
+
let n = j?.(e);
|
|
908
|
+
return /* @__PURE__ */ S(be, {
|
|
909
|
+
resource: e,
|
|
910
|
+
config: n,
|
|
911
|
+
onClick: k ? () => k(e, n, t) : void 0
|
|
912
|
+
}, e.key);
|
|
913
|
+
})
|
|
914
|
+
}),
|
|
915
|
+
q && Z.length > 0 && /* @__PURE__ */ S(s, {
|
|
916
|
+
direction: "horizontal",
|
|
917
|
+
gap: "xs",
|
|
918
|
+
className: "activity-row--inline-actions mt-space-sm",
|
|
919
|
+
children: Z.map((e) => {
|
|
920
|
+
let n = e.icon;
|
|
921
|
+
return /* @__PURE__ */ S(r, {
|
|
922
|
+
type: "button",
|
|
923
|
+
size: "sm",
|
|
924
|
+
tone: e.tone === "destructive" ? "destructive" : "secondary",
|
|
925
|
+
buttonStyle: "ghost",
|
|
926
|
+
icon: n,
|
|
927
|
+
disabled: e.disabled,
|
|
928
|
+
className: "h-auto min-h-action-sm px-control-sm py-space-xs",
|
|
929
|
+
onClick: (n) => {
|
|
930
|
+
n.stopPropagation(), A?.(e.id, t), e.onClick?.(t);
|
|
931
|
+
},
|
|
932
|
+
children: e.label
|
|
933
|
+
}, e.id);
|
|
934
|
+
})
|
|
935
|
+
}),
|
|
936
|
+
Y && /* @__PURE__ */ S("div", {
|
|
937
|
+
className: "mt-space-sm",
|
|
938
|
+
children: /* @__PURE__ */ S("div", {
|
|
939
|
+
className: n("activity-row--details rounded-radius border border-border/60 bg-card/70 p-surface shadow-xs", ne),
|
|
940
|
+
children: /* @__PURE__ */ C(s, {
|
|
941
|
+
gap: "sm",
|
|
942
|
+
children: [
|
|
943
|
+
V && /* @__PURE__ */ S(De, { metadata: B }),
|
|
944
|
+
z && t.changes && /* @__PURE__ */ S(he, {
|
|
945
|
+
changes: t.changes,
|
|
946
|
+
className: "border-0 bg-transparent p-0"
|
|
947
|
+
}),
|
|
948
|
+
U && /* @__PURE__ */ S("div", {
|
|
949
|
+
className: n(z && "pt-space-xs"),
|
|
950
|
+
children: t.details
|
|
951
|
+
}),
|
|
952
|
+
W && /* @__PURE__ */ S("div", {
|
|
953
|
+
className: n((z || U) && "pt-space-xs"),
|
|
954
|
+
children: P
|
|
955
|
+
})
|
|
956
|
+
]
|
|
957
|
+
})
|
|
958
|
+
})
|
|
959
|
+
})
|
|
960
|
+
]
|
|
961
|
+
})]
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
//#endregion
|
|
965
|
+
//#region src/components/features/activities/activities-feed.tsx
|
|
966
|
+
function ke(e, t) {
|
|
967
|
+
try {
|
|
968
|
+
let n = new Date(e);
|
|
969
|
+
return X(n) ? q(n, "PP p", t ? { locale: t } : void 0) : e;
|
|
970
|
+
} catch {
|
|
971
|
+
return e;
|
|
972
|
+
}
|
|
973
|
+
}
|
|
974
|
+
function Ae(e, t) {
|
|
975
|
+
return typeof e == "function" ? e(t) : e;
|
|
976
|
+
}
|
|
977
|
+
function je(e, t) {
|
|
978
|
+
return e.toneOverride ?? t;
|
|
979
|
+
}
|
|
980
|
+
function Me(r) {
|
|
981
|
+
let { activities: a = [], density: o = "default", itemSpacing: c = "relaxed", groupByDate: l = !0, expandedByDefault: u = !1, detailsCollapsible: d, defaultExpandedIds: f, expandedIds: p, onExpandedIdsChange: m, currentUserId: h, loading: g = !1, eventConfig: _, strings: y, slots: b, rowClassNames: x, className: w, locale: T, formatRelativeTime: E, formatAbsoluteTime: D, formatDateGroupLabel: O, getEventLabel: ee, getSourceLabel: te, actionsForActivity: k, onActivityClick: A, onActorClick: j, onResourceClick: M, onAction: N, onActivityExpandedChange: P, resources: F, onResourcesChange: I } = r, L = t(se, y), ne = v(() => ({
|
|
982
|
+
...oe,
|
|
983
|
+
..._
|
|
984
|
+
}), [_]), R = de({
|
|
985
|
+
resources: F,
|
|
986
|
+
onResourcesChange: I
|
|
987
|
+
}), z = e(), B = T ?? z.locale, V = ue({
|
|
988
|
+
activities: a,
|
|
989
|
+
groupByDate: l,
|
|
990
|
+
expandedByDefault: u,
|
|
991
|
+
defaultExpandedIds: f,
|
|
992
|
+
expandedIds: p,
|
|
993
|
+
onExpandedIdsChange: m,
|
|
994
|
+
locale: B,
|
|
995
|
+
strings: L,
|
|
996
|
+
formatDateGroupLabel: O
|
|
997
|
+
}), H = E ?? z.formatRelativeTime ?? ((e) => e), U = D ?? ((e) => ke(e, B));
|
|
998
|
+
if (g) return /* @__PURE__ */ S("div", {
|
|
999
|
+
className: n("activities-feed--component", "px-space-md py-space-xl", w),
|
|
1000
|
+
children: b?.loading ?? /* @__PURE__ */ S(i, {
|
|
1001
|
+
type: "secondary",
|
|
1002
|
+
align: "center",
|
|
1003
|
+
children: L.loading
|
|
1004
|
+
})
|
|
1005
|
+
});
|
|
1006
|
+
if (a.length === 0) return /* @__PURE__ */ S("div", {
|
|
1007
|
+
className: n("activities-feed--component", "px-space-md py-space-md", w),
|
|
1008
|
+
children: b?.empty ?? /* @__PURE__ */ S(_e, { title: L.empty })
|
|
1009
|
+
});
|
|
1010
|
+
let W = V.groups.reduce((e, t) => e + t.items.length, 0), G = 0;
|
|
1011
|
+
return /* @__PURE__ */ C(s, {
|
|
1012
|
+
gap: "xl",
|
|
1013
|
+
className: n("activities-feed--component", w),
|
|
1014
|
+
children: [
|
|
1015
|
+
!!b?.header && /* @__PURE__ */ S("div", { children: b.header }),
|
|
1016
|
+
/* @__PURE__ */ S("div", {
|
|
1017
|
+
className: "flex flex-col",
|
|
1018
|
+
children: V.groups.map((e, t) => {
|
|
1019
|
+
let r = t === 0;
|
|
1020
|
+
return /* @__PURE__ */ C("div", {
|
|
1021
|
+
className: n(r ? "" : "mt-1"),
|
|
1022
|
+
children: [b?.renderDateLabel ? b.renderDateLabel(e.label, r) : /* @__PURE__ */ S(ge, {
|
|
1023
|
+
label: e.label,
|
|
1024
|
+
first: r
|
|
1025
|
+
}), /* @__PURE__ */ S("div", {
|
|
1026
|
+
className: n("flex flex-col", !!e.label && "mt-space-md"),
|
|
1027
|
+
children: e.items.map((e, t) => {
|
|
1028
|
+
let n = e.activity, r = t === 0, i = ++G === W, a = Q(n.event, ne), s = je(n, a.tone), l = n.timestamp ?? (n.createdAt ? H(n.createdAt) : null), u = n.createdAt ? U(n.createdAt) : null, f = n.source ? te?.(n.source) ?? L.sources[n.source] ?? a.sourceLabel ?? null : a.sourceLabel ?? null, p = f && f.trim().length > 0 ? f : null, m = k?.(n) ?? [], g = {
|
|
1029
|
+
density: o,
|
|
1030
|
+
isLast: i,
|
|
1031
|
+
isFirstInGroup: r,
|
|
1032
|
+
activity: n,
|
|
1033
|
+
eventConfig: a,
|
|
1034
|
+
tone: s,
|
|
1035
|
+
relativeTime: l,
|
|
1036
|
+
absoluteTime: u,
|
|
1037
|
+
sourceLabel: p,
|
|
1038
|
+
expanded: V.isExpanded(n.id),
|
|
1039
|
+
itemSpacing: c,
|
|
1040
|
+
setExpanded: (e) => V.setExpanded(n.id, e),
|
|
1041
|
+
toggleExpanded: () => V.toggleExpanded(n.id)
|
|
1042
|
+
}, _ = b?.renderDetails?.(n, g), v = b?.renderRow?.(n, g);
|
|
1043
|
+
if (v !== void 0) return /* @__PURE__ */ S("div", { children: v }, e.key);
|
|
1044
|
+
let y = b?.renderHeadline?.(n, g), C = b?.renderMarker?.(n, g);
|
|
1045
|
+
return /* @__PURE__ */ S(Oe, {
|
|
1046
|
+
activity: n,
|
|
1047
|
+
density: o,
|
|
1048
|
+
itemSpacing: c,
|
|
1049
|
+
eventConfig: a,
|
|
1050
|
+
tone: s,
|
|
1051
|
+
last: i,
|
|
1052
|
+
expanded: g.expanded,
|
|
1053
|
+
onExpandedChange: (e) => {
|
|
1054
|
+
V.setExpanded(n.id, e), P?.(n, e);
|
|
1055
|
+
},
|
|
1056
|
+
detailsCollapsible: n.collapsible ?? d,
|
|
1057
|
+
relativeTime: l,
|
|
1058
|
+
absoluteTime: u,
|
|
1059
|
+
sourceLabel: p,
|
|
1060
|
+
youLabel: L.you,
|
|
1061
|
+
showChangesLabel: L.showChanges,
|
|
1062
|
+
hideChangesLabel: L.hideChanges,
|
|
1063
|
+
moreLabel: L.moreLabel,
|
|
1064
|
+
actionsLabel: L.actionsLabel,
|
|
1065
|
+
currentUserId: h,
|
|
1066
|
+
actions: m,
|
|
1067
|
+
onActivityClick: A,
|
|
1068
|
+
onActorClick: j,
|
|
1069
|
+
onResourceClick: M,
|
|
1070
|
+
onAction: N,
|
|
1071
|
+
getResourceConfig: (e) => R.get(e),
|
|
1072
|
+
headlineOverride: y,
|
|
1073
|
+
markerOverride: C,
|
|
1074
|
+
customDetails: _,
|
|
1075
|
+
rowClassName: Ae(x?.row, n),
|
|
1076
|
+
markerClassName: Ae(x?.marker, n),
|
|
1077
|
+
contentClassName: Ae(x?.content, n),
|
|
1078
|
+
detailsClassName: Ae(x?.details, n)
|
|
1079
|
+
}, e.key);
|
|
1080
|
+
})
|
|
1081
|
+
})]
|
|
1082
|
+
}, `${e.label}-${t}`);
|
|
1083
|
+
})
|
|
1084
|
+
}),
|
|
1085
|
+
!!b?.footer && /* @__PURE__ */ S("div", { children: b.footer })
|
|
1086
|
+
]
|
|
1087
|
+
});
|
|
1088
|
+
}
|
|
1089
|
+
Me.displayName = "ActivityFeed";
|
|
1090
|
+
//#endregion
|
|
1091
|
+
//#region src/components/features/activities/activity-log.tsx
|
|
1092
|
+
function Ne(e, t) {
|
|
1093
|
+
let n = [...e];
|
|
1094
|
+
return n.sort((e, n) => {
|
|
1095
|
+
let r = e.timestamp ? new Date(e.timestamp).getTime() : 0, i = n.timestamp ? new Date(n.timestamp).getTime() : 0;
|
|
1096
|
+
return t === "asc" ? r - i : i - r;
|
|
1097
|
+
}), n;
|
|
1098
|
+
}
|
|
1099
|
+
function Pe(e) {
|
|
1100
|
+
return e ?? "secondary";
|
|
1101
|
+
}
|
|
1102
|
+
function Fe(e) {
|
|
1103
|
+
if (e) return typeof e == "string" ? { name: e } : e;
|
|
1104
|
+
}
|
|
1105
|
+
function Ie(e) {
|
|
1106
|
+
return e != null && e !== !1;
|
|
1107
|
+
}
|
|
1108
|
+
function $(e, t) {
|
|
1109
|
+
if (e && t && t.kind !== "comment") return typeof e == "function" ? e(t) : e;
|
|
1110
|
+
}
|
|
1111
|
+
function Le(e, t) {
|
|
1112
|
+
let n = Fe(e.actor), r = e.descriptionHtml ? /* @__PURE__ */ S(m, {
|
|
1113
|
+
html: e.descriptionHtml,
|
|
1114
|
+
mentions: e.mentions,
|
|
1115
|
+
resources: t
|
|
1116
|
+
}) : e.description;
|
|
1117
|
+
return {
|
|
1118
|
+
id: e.id,
|
|
1119
|
+
event: e.event ?? e.kind,
|
|
1120
|
+
source: typeof e.label == "string" ? e.label : e.kind,
|
|
1121
|
+
actor: n,
|
|
1122
|
+
createdAt: e.timestamp,
|
|
1123
|
+
timestamp: void 0,
|
|
1124
|
+
iconOverride: e.icon,
|
|
1125
|
+
toneOverride: Pe(e.tone),
|
|
1126
|
+
headline: typeof e.headline == "string" ? e.headline : void 0,
|
|
1127
|
+
description: r,
|
|
1128
|
+
metadata: e.metadata,
|
|
1129
|
+
changes: e.changes,
|
|
1130
|
+
details: e.details,
|
|
1131
|
+
collapsible: e.collapsible,
|
|
1132
|
+
defaultExpanded: e.defaultExpanded,
|
|
1133
|
+
data: e,
|
|
1134
|
+
segments: e.action || e.target || e.label || !e.headline ? [
|
|
1135
|
+
...n ? [{
|
|
1136
|
+
type: "actor",
|
|
1137
|
+
text: n.name,
|
|
1138
|
+
actorId: n.id
|
|
1139
|
+
}] : [],
|
|
1140
|
+
...e.action ? [{
|
|
1141
|
+
type: "text",
|
|
1142
|
+
text: e.action
|
|
1143
|
+
}] : [],
|
|
1144
|
+
...Ie(e.target) ? [{
|
|
1145
|
+
type: "value",
|
|
1146
|
+
text: String(e.target)
|
|
1147
|
+
}] : [],
|
|
1148
|
+
...!n && !e.action && !e.target && e.headline ? [{
|
|
1149
|
+
type: "text",
|
|
1150
|
+
text: String(e.headline)
|
|
1151
|
+
}] : []
|
|
1152
|
+
] : void 0
|
|
1153
|
+
};
|
|
1154
|
+
}
|
|
1155
|
+
function Re(r) {
|
|
1156
|
+
let { entries: a, order: o = "desc", itemSpacing: c = "relaxed", resources: l, onResourceSearch: u, canModerate: m, onCommentDelete: h, onCommentReact: _, onCommentReply: y, onCommentPinToggle: b, strings: x, activityStrings: w, renderers: T, renderEventDetails: E, eventDetailsCollapsible: D = !0, defaultExpandedIds: O, expandedIds: ee, onExpandedIdsChange: te, onEventExpandedChange: k, onEventAction: A, classNames: j, composer: M, bare: N = !1, title: P, getMediaUrl: F, getMediaName: I, getStatusLabel: L, formatRelativeTime: R, className: z } = r, B = t(se, w), V = e(), H = g((e) => {
|
|
1157
|
+
let t = R ?? V.formatRelativeTime;
|
|
1158
|
+
if (t) return t(e);
|
|
1159
|
+
let n = ie(e);
|
|
1160
|
+
if (!X(n)) return e;
|
|
1161
|
+
let r = V.locale;
|
|
1162
|
+
return J(n, {
|
|
1163
|
+
addSuffix: !0,
|
|
1164
|
+
...r ? { locale: r } : {}
|
|
1165
|
+
});
|
|
1166
|
+
}, [
|
|
1167
|
+
V.formatRelativeTime,
|
|
1168
|
+
V.locale,
|
|
1169
|
+
R
|
|
1170
|
+
]), U = p({
|
|
1171
|
+
onSubmit: M?.onSubmit,
|
|
1172
|
+
onAfterMutate: M?.onAfterMutate,
|
|
1173
|
+
onError: M?.onError
|
|
1174
|
+
}), W = v(() => Ne(a, o), [a, o]), G = v(() => W.map((e) => e.kind === "comment" ? {
|
|
1175
|
+
id: e.id,
|
|
1176
|
+
event: "comment",
|
|
1177
|
+
source: "comment",
|
|
1178
|
+
createdAt: e.timestamp,
|
|
1179
|
+
data: e
|
|
1180
|
+
} : Le(e, l)), [l, W]), re = v(() => ({
|
|
1181
|
+
row: (e) => $(j?.eventRow, e.data),
|
|
1182
|
+
marker: (e) => $(j?.eventMarker, e.data),
|
|
1183
|
+
content: (e) => $(j?.eventContent, e.data),
|
|
1184
|
+
details: (e) => $(j?.eventDetails, e.data)
|
|
1185
|
+
}), [j]), K = M?.enabled ? /* @__PURE__ */ S("div", {
|
|
1186
|
+
className: "activity-log--composer",
|
|
1187
|
+
children: /* @__PURE__ */ S(d, {
|
|
1188
|
+
context: M.context,
|
|
1189
|
+
canComment: !0,
|
|
1190
|
+
submitting: U.isSubmitting,
|
|
1191
|
+
errors: U.formErrors,
|
|
1192
|
+
resetKey: U.resetKey,
|
|
1193
|
+
onSubmit: U.submit,
|
|
1194
|
+
resources: l,
|
|
1195
|
+
onResourceSearch: u,
|
|
1196
|
+
strings: x,
|
|
1197
|
+
placeholder: M.placeholder,
|
|
1198
|
+
autoFocus: M.autoFocus,
|
|
1199
|
+
inlineSubmit: M.inlineSubmit ?? !1
|
|
1200
|
+
})
|
|
1201
|
+
}) : null, q = M?.position ?? "top", Y = /* @__PURE__ */ S(Me, {
|
|
1202
|
+
activities: G,
|
|
1203
|
+
density: "rich",
|
|
1204
|
+
itemSpacing: c,
|
|
1205
|
+
groupByDate: !0,
|
|
1206
|
+
resources: {},
|
|
1207
|
+
strings: w,
|
|
1208
|
+
detailsCollapsible: D,
|
|
1209
|
+
defaultExpandedIds: O,
|
|
1210
|
+
expandedIds: ee,
|
|
1211
|
+
onExpandedIdsChange: te,
|
|
1212
|
+
formatRelativeTime: H,
|
|
1213
|
+
getSourceLabel: (e) => B.sources[e] ?? e,
|
|
1214
|
+
actionsForActivity: (e) => {
|
|
1215
|
+
let t = e.data;
|
|
1216
|
+
if (!t || t.kind === "comment") return [];
|
|
1217
|
+
let n = t;
|
|
1218
|
+
return (n.actions ?? []).map((e) => ({
|
|
1219
|
+
id: e.id,
|
|
1220
|
+
label: e.label,
|
|
1221
|
+
icon: e.icon,
|
|
1222
|
+
href: e.href,
|
|
1223
|
+
disabled: e.disabled,
|
|
1224
|
+
tone: e.tone,
|
|
1225
|
+
presentation: e.presentation,
|
|
1226
|
+
onClick: () => e.onSelect?.(n)
|
|
1227
|
+
}));
|
|
1228
|
+
},
|
|
1229
|
+
rowClassNames: re,
|
|
1230
|
+
onAction: (e, t) => {
|
|
1231
|
+
let n = t.data;
|
|
1232
|
+
n && n.kind !== "comment" && A?.(e, n);
|
|
1233
|
+
},
|
|
1234
|
+
onActivityExpandedChange: (e, t) => {
|
|
1235
|
+
let n = e.data;
|
|
1236
|
+
n && n.kind !== "comment" && k?.(n, t);
|
|
1237
|
+
},
|
|
1238
|
+
slots: {
|
|
1239
|
+
header: q === "top" ? K : void 0,
|
|
1240
|
+
footer: q === "bottom" ? K : void 0,
|
|
1241
|
+
renderRow: (e, t) => {
|
|
1242
|
+
let r = e.data;
|
|
1243
|
+
if (!r) return;
|
|
1244
|
+
let i = T?.[r.kind];
|
|
1245
|
+
if (i) return i(r, {
|
|
1246
|
+
resources: l,
|
|
1247
|
+
accessors: {
|
|
1248
|
+
getMediaUrl: F,
|
|
1249
|
+
getMediaName: I,
|
|
1250
|
+
getStatusLabel: L,
|
|
1251
|
+
formatRelativeTime: H
|
|
1252
|
+
},
|
|
1253
|
+
strings: x
|
|
1254
|
+
});
|
|
1255
|
+
if (r.kind !== "comment") return;
|
|
1256
|
+
let a = r;
|
|
1257
|
+
return /* @__PURE__ */ C(s, {
|
|
1258
|
+
direction: "horizontal",
|
|
1259
|
+
gap: "md",
|
|
1260
|
+
align: "stretch",
|
|
1261
|
+
wrap: !1,
|
|
1262
|
+
className: n("activity-log--comment-row relative py-space-xs", !t.isLast && (t.itemSpacing === "compact" ? "pb-space-sm" : t.itemSpacing === "relaxed" ? "pb-space-xl" : "pb-space-md")),
|
|
1263
|
+
"data-event-id": a.id,
|
|
1264
|
+
children: [/* @__PURE__ */ S(Te, {
|
|
1265
|
+
icon: ne,
|
|
1266
|
+
tone: "neutral",
|
|
1267
|
+
density: t.density,
|
|
1268
|
+
last: t.isLast
|
|
1269
|
+
}), /* @__PURE__ */ S("div", {
|
|
1270
|
+
className: "activity-log--comment min-w-0 flex-1",
|
|
1271
|
+
children: /* @__PURE__ */ S(f, {
|
|
1272
|
+
comment: a.comment,
|
|
1273
|
+
canModerate: m,
|
|
1274
|
+
onDelete: h,
|
|
1275
|
+
onPinToggle: b,
|
|
1276
|
+
onReact: _,
|
|
1277
|
+
onReply: y,
|
|
1278
|
+
strings: x,
|
|
1279
|
+
resources: l,
|
|
1280
|
+
getMediaUrl: F,
|
|
1281
|
+
getMediaName: I,
|
|
1282
|
+
getStatusLabel: L,
|
|
1283
|
+
formatRelativeTime: H
|
|
1284
|
+
})
|
|
1285
|
+
})]
|
|
1286
|
+
});
|
|
1287
|
+
},
|
|
1288
|
+
renderDetails: (e, t) => {
|
|
1289
|
+
let n = e.data;
|
|
1290
|
+
return !n || n.kind === "comment" ? null : E?.(n, {
|
|
1291
|
+
expanded: t.expanded,
|
|
1292
|
+
setExpanded: t.setExpanded,
|
|
1293
|
+
relativeTime: t.relativeTime,
|
|
1294
|
+
isLast: t.isLast,
|
|
1295
|
+
resources: l
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1298
|
+
},
|
|
1299
|
+
className: n("activity-log--component", j?.list, N && z)
|
|
1300
|
+
});
|
|
1301
|
+
if (N) return Y;
|
|
1302
|
+
let Z = P ?? B.title, ae = typeof Z == "string" ? Z : void 0;
|
|
1303
|
+
return /* @__PURE__ */ C(s, {
|
|
1304
|
+
render: /* @__PURE__ */ S("section", {}),
|
|
1305
|
+
gap: "lg",
|
|
1306
|
+
"data-component": "activity-log",
|
|
1307
|
+
"data-slot": "activity-log",
|
|
1308
|
+
className: n("activity-log--component", z),
|
|
1309
|
+
"aria-label": ae,
|
|
1310
|
+
children: [!!Z && /* @__PURE__ */ S(i, {
|
|
1311
|
+
weight: "semibold",
|
|
1312
|
+
children: Z
|
|
1313
|
+
}), Y]
|
|
1314
|
+
});
|
|
1315
|
+
}
|
|
1316
|
+
Re.displayName = "ActivityLog";
|
|
1317
|
+
//#endregion
|
|
1318
|
+
//#region src/components/features/activities/activity-event-adapter.ts
|
|
1319
|
+
function ze(e) {
|
|
1320
|
+
if (typeof e == "object" && e && "kind" in e) {
|
|
1321
|
+
let t = e.kind;
|
|
1322
|
+
if (typeof t == "string") return t;
|
|
1323
|
+
}
|
|
1324
|
+
return "event";
|
|
1325
|
+
}
|
|
1326
|
+
function Be(e, t) {
|
|
1327
|
+
let n = t.kind?.(e) ?? ze(e), r = t.id(e), i = t.timestamp(e), a = t.comment?.(e);
|
|
1328
|
+
return n === "comment" && a ? {
|
|
1329
|
+
id: r,
|
|
1330
|
+
kind: "comment",
|
|
1331
|
+
timestamp: i,
|
|
1332
|
+
comment: a
|
|
1333
|
+
} : {
|
|
1334
|
+
id: r,
|
|
1335
|
+
kind: typeof n == "string" ? n : "event",
|
|
1336
|
+
timestamp: i,
|
|
1337
|
+
event: t.event?.(e),
|
|
1338
|
+
actor: t.actor?.(e),
|
|
1339
|
+
action: t.action?.(e),
|
|
1340
|
+
target: t.target?.(e) ?? t.status?.(e),
|
|
1341
|
+
label: t.source?.(e),
|
|
1342
|
+
headline: t.title?.(e),
|
|
1343
|
+
description: t.description?.(e),
|
|
1344
|
+
descriptionHtml: t.descriptionHtml?.(e),
|
|
1345
|
+
mentions: t.mentions?.(e),
|
|
1346
|
+
tone: t.tone?.(e),
|
|
1347
|
+
metadata: t.metadata?.(e),
|
|
1348
|
+
changes: t.changes?.(e),
|
|
1349
|
+
details: t.details?.(e),
|
|
1350
|
+
actions: t.rowActions?.(e),
|
|
1351
|
+
data: t.data?.(e) ?? e
|
|
1352
|
+
};
|
|
1353
|
+
}
|
|
1354
|
+
function Ve(e) {
|
|
1355
|
+
return (t) => Be(t, e);
|
|
1356
|
+
}
|
|
1357
|
+
//#endregion
|
|
1358
|
+
export { pe as ActivityActionsMenu, he as ActivityChanges, ge as ActivityDateLabel, _e as ActivityEmptyState, Me as ActivityFeed, we as ActivityHeadline, Re as ActivityLog, Te as ActivityMarker, be as ActivityResourceTag, Oe as ActivityRow, Ve as createActivityEventAdapter, se as defaultActivitiesStrings, oe as defaultActivityEventConfig, ae as defaultEventConfig, ce as interpolateActivityString, Q as resolveEventConfig, Be as toActivityLogEntry, ue as useActivityFeed, de as useActivityResources };
|
|
1359
|
+
|
|
1360
|
+
//# sourceMappingURL=activities.js.map
|