@discourse/types 2026.7.0-ded677e0 → 2026.8.0-fb9247e0
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/declarations/admin/components/admin-backups-logs.d.ts +7 -12
- package/declarations/admin/components/admin-backups-logs.d.ts.map +1 -1
- package/declarations/admin/components/admin-badges-list.d.ts.map +1 -1
- package/declarations/admin/components/admin-category-management-list.d.ts +27 -0
- package/declarations/admin/components/admin-category-management-list.d.ts.map +1 -0
- package/declarations/admin/components/admin-config-areas/components.d.ts +2 -2
- package/declarations/admin/components/admin-config-areas/components.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/emojis-import.d.ts +25 -0
- package/declarations/admin/components/admin-config-areas/emojis-import.d.ts.map +1 -0
- package/declarations/admin/components/admin-config-areas/emojis-list.d.ts +5 -2
- package/declarations/admin/components/admin-config-areas/emojis-list.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/themes.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-badges.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +2 -0
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-changes.d.ts.map +1 -1
- package/declarations/admin/components/admin-notice.d.ts.map +1 -1
- package/declarations/admin/{templates/admin/dashboard-reports.d.ts → components/admin-report-body.d.ts} +1 -1
- package/declarations/admin/components/admin-report-body.d.ts.map +1 -0
- package/declarations/admin/components/admin-report-chart.d.ts +5 -5
- package/declarations/admin/components/admin-report-chart.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-stacked-chart.d.ts +4 -3
- package/declarations/admin/components/admin-report-stacked-chart.d.ts.map +1 -1
- package/declarations/admin/components/admin-report.d.ts +4 -1
- package/declarations/admin/components/admin-report.d.ts.map +1 -1
- package/declarations/admin/components/admin-reports.d.ts +5 -0
- package/declarations/admin/components/admin-reports.d.ts.map +1 -1
- package/declarations/admin/components/admin-section-landing-item.d.ts +7 -1
- package/declarations/admin/components/admin-section-landing-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-theme-editor.d.ts +3 -2
- package/declarations/admin/components/admin-theme-editor.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/activity-by-category.d.ts +2 -0
- package/declarations/admin/components/dashboard/engagement/activity-by-category.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/headline.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/trust-level-pipeline.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts +9 -7
- package/declarations/admin/components/dashboard/engagement/whos-posting.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/kpi-tile.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/reports.d.ts +1 -0
- package/declarations/admin/components/dashboard/reports.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/search.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/section.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/site-advice.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/traffic.d.ts +5 -0
- package/declarations/admin/components/dashboard/traffic.d.ts.map +1 -1
- package/declarations/admin/components/dashboard-new-feature-item.d.ts.map +1 -1
- package/declarations/admin/components/dashboard-new-features.d.ts +2 -0
- package/declarations/admin/components/dashboard-new-features.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-localizations.d.ts +4 -1
- package/declarations/admin/components/edit-category-localizations.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-topic-template.d.ts +4 -1
- package/declarations/admin/components/edit-category-topic-template.d.ts.map +1 -1
- package/declarations/admin/components/email-logs-list.d.ts +3 -0
- package/declarations/admin/components/email-logs-list.d.ts.map +1 -1
- package/declarations/admin/components/modal/install-theme.d.ts +3 -0
- package/declarations/admin/components/modal/install-theme.d.ts.map +1 -1
- package/declarations/admin/components/modal/manage-reports.d.ts.map +1 -1
- package/declarations/admin/components/redesigned-admin-dashboard.d.ts.map +1 -1
- package/declarations/admin/components/report-filters/category-list.d.ts +7 -0
- package/declarations/admin/components/report-filters/category-list.d.ts.map +1 -0
- package/declarations/admin/components/schema-setting/field.d.ts +3 -1
- package/declarations/admin/components/schema-setting/field.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/categories.d.ts +2 -3
- package/declarations/admin/components/schema-setting/types/categories.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/float.d.ts +2 -1
- package/declarations/admin/components/schema-setting/types/float.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/groups.d.ts +3 -1
- package/declarations/admin/components/schema-setting/types/groups.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/integer.d.ts +2 -1
- package/declarations/admin/components/schema-setting/types/integer.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/tags.d.ts +2 -2
- package/declarations/admin/components/schema-setting/types/tags.d.ts.map +1 -1
- package/declarations/admin/components/site-setting.d.ts +12 -4
- package/declarations/admin/components/site-setting.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/date.d.ts +7 -0
- package/declarations/admin/components/site-settings/date.d.ts.map +1 -0
- package/declarations/admin/components/site-settings/group-list.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/uploaded-image-list.d.ts.map +1 -1
- package/declarations/admin/components/tags-admin-dropdown.d.ts +1 -1
- package/declarations/admin/components/theme-setting-editor.d.ts +2 -1
- package/declarations/admin/components/theme-setting-editor.d.ts.map +1 -1
- package/declarations/admin/components/theme-setting-relatives-selector.d.ts +2 -1
- package/declarations/admin/components/theme-setting-relatives-selector.d.ts.map +1 -1
- package/declarations/admin/components/theme-site-setting-editor.d.ts +2 -1
- package/declarations/admin/components/theme-site-setting-editor.d.ts.map +1 -1
- package/declarations/admin/components/theme-translation.d.ts +2 -3
- package/declarations/admin/components/theme-translation.d.ts.map +1 -1
- package/declarations/admin/components/upsert-category/settings.d.ts.map +1 -1
- package/declarations/admin/components/upsert-category/tags.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/dashboard.d.ts +1 -1
- package/declarations/admin/controllers/admin/dashboard.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/whats-new.d.ts +2 -0
- package/declarations/admin/controllers/admin/whats-new.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-config/category-management/settings.d.ts +4 -0
- package/declarations/admin/controllers/admin-config/category-management/settings.d.ts.map +1 -0
- package/declarations/admin/controllers/admin-email-templates/index.d.ts +1 -0
- package/declarations/admin/controllers/admin-email-templates/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-emojis.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-permalinks/index.d.ts +3 -2
- package/declarations/admin/controllers/admin-permalinks/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-reports/show.d.ts +10 -0
- package/declarations/admin/controllers/admin-reports/show.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-reports.d.ts +0 -3
- package/declarations/admin/controllers/admin-reports.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-user/index.d.ts +1 -6
- package/declarations/admin/controllers/admin-user/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-users-list/show.d.ts +7 -4
- package/declarations/admin/controllers/admin-users-list/show.d.ts.map +1 -1
- package/declarations/admin/lib/admin-dashboard-sections.d.ts +4 -0
- package/declarations/admin/lib/admin-dashboard-sections.d.ts.map +1 -0
- package/declarations/admin/lib/dashboard-format.d.ts +5 -0
- package/declarations/admin/lib/dashboard-format.d.ts.map +1 -0
- package/declarations/admin/lib/setting-object-helper.d.ts.map +1 -1
- package/declarations/admin/lib/site-setting-filter.d.ts +3 -0
- package/declarations/admin/lib/site-setting-filter.d.ts.map +1 -1
- package/declarations/admin/lib/site-setting-matcher.d.ts +3 -0
- package/declarations/admin/lib/site-setting-matcher.d.ts.map +1 -1
- package/declarations/admin/models/admin-user.d.ts +2 -2
- package/declarations/admin/models/admin-user.d.ts.map +1 -1
- package/declarations/admin/models/report.d.ts +8 -8
- package/declarations/admin/models/site-setting.d.ts +12 -4
- package/declarations/admin/models/site-setting.d.ts.map +1 -1
- package/declarations/admin/models/staff-action-log.d.ts.map +1 -1
- package/declarations/admin/routes/admin/dashboard-reports.d.ts +0 -3
- package/declarations/admin/routes/admin/dashboard-reports.d.ts.map +1 -1
- package/declarations/admin/routes/admin-config/category-management/index.d.ts +6 -0
- package/declarations/admin/routes/admin-config/category-management/index.d.ts.map +1 -0
- package/declarations/admin/routes/admin-config/category-management/settings.d.ts +5 -0
- package/declarations/admin/routes/admin-config/category-management/settings.d.ts.map +1 -0
- package/declarations/admin/routes/admin-config/category-management/type.d.ts +7 -0
- package/declarations/admin/routes/admin-config/category-management/type.d.ts.map +1 -0
- package/declarations/admin/routes/admin-config/category-management.d.ts +5 -0
- package/declarations/admin/routes/admin-config/category-management.d.ts.map +1 -0
- package/declarations/admin/routes/admin-config/upcoming-changes.d.ts.map +1 -1
- package/declarations/admin/routes/admin-email-templates/index.d.ts +1 -1
- package/declarations/admin/routes/admin-email-templates/index.d.ts.map +1 -1
- package/declarations/admin/routes/admin-emojis/import.d.ts +5 -0
- package/declarations/admin/routes/admin-emojis/import.d.ts.map +1 -0
- package/declarations/admin/routes/admin-emojis/index.d.ts +6 -0
- package/declarations/admin/routes/admin-emojis/index.d.ts.map +1 -0
- package/declarations/admin/routes/admin-reports/show.d.ts +7 -0
- package/declarations/admin/routes/admin-reports/show.d.ts.map +1 -1
- package/declarations/admin/routes/admin-route-map.d.ts.map +1 -1
- package/declarations/admin/routes/admin-users-list/show.d.ts +0 -3
- package/declarations/admin/routes/admin-users-list/show.d.ts.map +1 -1
- package/declarations/admin/services/admin-emojis.d.ts +11 -4
- package/declarations/admin/services/admin-emojis.d.ts.map +1 -1
- package/declarations/admin/services/admin-sidebar-state-manager.d.ts +2 -1
- package/declarations/admin/services/admin-sidebar-state-manager.d.ts.map +1 -1
- package/declarations/admin/services/admin-site-setting-store.d.ts +3 -1
- package/declarations/admin/services/admin-site-setting-store.d.ts.map +1 -1
- package/declarations/admin/services/admin-tools.d.ts +30 -0
- package/declarations/admin/services/admin-tools.d.ts.map +1 -1
- package/declarations/admin/services/site-setting-change-tracker.d.ts.map +1 -1
- package/declarations/admin/{components/admin-report-new.d.ts → templates/admin-config/category-management/settings.d.ts} +1 -1
- package/declarations/admin/templates/admin-config/category-management/settings.d.ts.map +1 -0
- package/declarations/{app/components/setting-field/string.d.ts → admin/templates/admin-config/category-management/type.d.ts} +1 -1
- package/declarations/admin/templates/admin-config/category-management/type.d.ts.map +1 -0
- package/declarations/admin/templates/admin-config/category-management.d.ts +6 -0
- package/declarations/admin/templates/admin-config/category-management.d.ts.map +1 -0
- package/declarations/admin/{components/admin-report-legacy.d.ts → templates/admin-emojis/import.d.ts} +1 -1
- package/declarations/admin/templates/admin-emojis/import.d.ts.map +1 -0
- package/declarations/admin/templates/admin-emojis.d.ts +2 -2
- package/declarations/admin/templates/admin-emojis.d.ts.map +1 -1
- package/declarations/app/app.d.ts.map +1 -1
- package/declarations/app/blocks/block-outlet.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/index.d.ts +2 -1
- package/declarations/app/components/admin-onboarding/banner.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/predefined-topics-option.d.ts +2 -2
- package/declarations/app/components/admin-onboarding/predefined-topics-option.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/step.d.ts +1 -1
- package/declarations/app/components/admin-onboarding/step.d.ts.map +1 -1
- package/declarations/app/components/basic-topic-list.d.ts +0 -2
- package/declarations/app/components/basic-topic-list.d.ts.map +1 -1
- package/declarations/app/components/bookmark-icon.d.ts +1 -1
- package/declarations/app/components/bookmark-menu.d.ts +1 -1
- package/declarations/app/components/bulk-select-topics-dropdown.d.ts.map +1 -1
- package/declarations/app/components/code-login-form.d.ts +8 -0
- package/declarations/app/components/code-login-form.d.ts.map +1 -1
- package/declarations/app/components/composer-actions-new.d.ts +6 -0
- package/declarations/app/components/composer-actions-new.d.ts.map +1 -1
- package/declarations/app/components/composer-container.d.ts +8 -0
- package/declarations/app/components/composer-container.d.ts.map +1 -1
- package/declarations/app/components/composer-editor.d.ts +1 -9
- package/declarations/app/components/composer-editor.d.ts.map +1 -1
- package/declarations/app/components/composer-title.d.ts.map +1 -1
- package/declarations/app/components/composer-toggles.d.ts +5 -2
- package/declarations/app/components/composer-toggles.d.ts.map +1 -1
- package/declarations/app/components/d-editor-original-translation-preview.d.ts.map +1 -1
- package/declarations/app/components/date-picker-future.d.ts +2 -1
- package/declarations/app/components/date-picker-future.d.ts.map +1 -1
- package/declarations/app/components/date-picker-past.d.ts +2 -1
- package/declarations/app/components/date-picker-past.d.ts.map +1 -1
- package/declarations/app/components/discourse-topic.d.ts +1 -0
- package/declarations/app/components/discourse-topic.d.ts.map +1 -1
- package/declarations/app/components/emoji-picker/content.d.ts +4 -1
- package/declarations/app/components/emoji-picker/content.d.ts.map +1 -1
- package/declarations/app/components/featured-topic.d.ts +0 -1
- package/declarations/app/components/featured-topic.d.ts.map +1 -1
- package/declarations/app/components/form-template-field/wrapper.d.ts +13 -8
- package/declarations/app/components/form-template-field/wrapper.d.ts.map +1 -1
- package/declarations/app/components/form.d.ts +1 -0
- package/declarations/app/components/form.d.ts.map +1 -1
- package/declarations/app/components/glimmer-site-header.d.ts +1 -1
- package/declarations/app/components/group-manage-logs-row.d.ts.map +1 -1
- package/declarations/app/components/groups-form-membership-fields.d.ts +1 -1
- package/declarations/app/components/groups-form-membership-fields.d.ts.map +1 -1
- package/declarations/app/components/header/contents.d.ts +1 -1
- package/declarations/app/components/header/icons.d.ts.map +1 -1
- package/declarations/app/components/mobile-category-topic.d.ts +0 -2
- package/declarations/app/components/mobile-category-topic.d.ts.map +1 -1
- package/declarations/app/components/mobile-nav.d.ts +13 -7
- package/declarations/app/components/mobile-nav.d.ts.map +1 -1
- package/declarations/app/components/modal/avatar-selector.d.ts.map +1 -1
- package/declarations/app/components/modal/bulk-topic-actions/manage-tags-form.d.ts.map +1 -1
- package/declarations/app/components/modal/change-owner.d.ts.map +1 -1
- package/declarations/app/components/modal/create-invite-with-roles.d.ts +89 -0
- package/declarations/app/components/modal/create-invite-with-roles.d.ts.map +1 -0
- package/declarations/app/components/modal/flag.d.ts +0 -1
- package/declarations/app/components/modal/flag.d.ts.map +1 -1
- package/declarations/app/components/modal/gifs.d.ts +4 -2
- package/declarations/app/components/modal/gifs.d.ts.map +1 -1
- package/declarations/app/components/modal/history/revisions.d.ts.map +1 -1
- package/declarations/app/components/modal/history.d.ts +1 -0
- package/declarations/app/components/modal/history.d.ts.map +1 -1
- package/declarations/app/components/modal/post-translations.d.ts +23 -0
- package/declarations/app/components/modal/post-translations.d.ts.map +1 -1
- package/declarations/app/components/modal/share-topic.d.ts +0 -1
- package/declarations/app/components/modal/share-topic.d.ts.map +1 -1
- package/declarations/app/components/modal/sidebar-section-form.d.ts +38 -4
- package/declarations/app/components/modal/sidebar-section-form.d.ts.map +1 -1
- package/declarations/app/components/nested/op.d.ts +1 -0
- package/declarations/app/components/nested/op.d.ts.map +1 -1
- package/declarations/app/components/nested/post-children.d.ts +4 -2
- package/declarations/app/components/nested/post-children.d.ts.map +1 -1
- package/declarations/app/components/nested/post.d.ts +1 -0
- package/declarations/app/components/nested/post.d.ts.map +1 -1
- package/declarations/app/components/nested/sort-selector.d.ts +2 -1
- package/declarations/app/components/nested/sort-selector.d.ts.map +1 -1
- package/declarations/app/components/nested.d.ts +4 -0
- package/declarations/app/components/nested.d.ts.map +1 -1
- package/declarations/app/components/post/avatar.d.ts.map +1 -1
- package/declarations/app/components/post/menu/buttons/add-translation.d.ts +1 -1
- package/declarations/app/components/post/menu/buttons/add-translation.d.ts.map +1 -1
- package/declarations/app/components/post/menu/buttons/delete.d.ts +1 -1
- package/declarations/app/components/post/menu/liked-users-list.d.ts.map +1 -1
- package/declarations/app/components/post/menu/liked-users-menu.d.ts +3 -1
- package/declarations/app/components/post/menu/liked-users-menu.d.ts.map +1 -1
- package/declarations/app/components/post/meta-data/date.d.ts +2 -0
- package/declarations/app/components/post/meta-data/date.d.ts.map +1 -1
- package/declarations/app/components/post/meta-data/poster-name.d.ts.map +1 -1
- package/declarations/app/components/post/notice/returning-user.d.ts +2 -1
- package/declarations/app/components/post/notice/returning-user.d.ts.map +1 -1
- package/declarations/app/components/post/quoted-content.d.ts +7 -2
- package/declarations/app/components/post/quoted-content.d.ts.map +1 -1
- package/declarations/app/components/post/visited-line.d.ts.map +1 -1
- package/declarations/app/components/post-action-description.d.ts.map +1 -1
- package/declarations/app/components/post-stream.d.ts.map +1 -1
- package/declarations/app/components/post.d.ts +1 -1
- package/declarations/app/components/post.d.ts.map +1 -1
- package/declarations/app/components/push-notification-select.d.ts +16 -0
- package/declarations/app/components/push-notification-select.d.ts.map +1 -0
- package/declarations/app/components/reviewable/item.d.ts +1 -0
- package/declarations/app/components/reviewable/item.d.ts.map +1 -1
- package/declarations/app/components/reviewable/timeline.d.ts.map +1 -1
- package/declarations/app/components/reviewable-post-edits.d.ts +1 -1
- package/declarations/app/components/reviewable-post-edits.d.ts.map +1 -1
- package/declarations/app/components/rich-hashtag-autocomplete-results.d.ts.map +1 -1
- package/declarations/app/components/search-menu/results/types.d.ts.map +1 -1
- package/declarations/app/components/search-menu.d.ts +7 -0
- package/declarations/app/components/search-menu.d.ts.map +1 -1
- package/declarations/app/components/setting-definition-field.d.ts +1 -0
- package/declarations/app/components/setting-definition-field.d.ts.map +1 -1
- package/declarations/app/components/setting-field/category-list.d.ts +3 -1
- package/declarations/app/components/setting-field/category-list.d.ts.map +1 -1
- package/declarations/app/components/setting-field/compact-list.d.ts +5 -1
- package/declarations/app/components/setting-field/compact-list.d.ts.map +1 -1
- package/declarations/app/components/setting-field/enum.d.ts +9 -2
- package/declarations/app/components/setting-field/enum.d.ts.map +1 -1
- package/declarations/app/components/setting-field/group-list.d.ts +6 -3
- package/declarations/app/components/setting-field/group-list.d.ts.map +1 -1
- package/declarations/app/components/setting-field/radio-group.d.ts +3 -0
- package/declarations/app/components/setting-field/radio-group.d.ts.map +1 -0
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts +2 -2
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/anonymous/custom-sections.d.ts +2 -2
- package/declarations/app/components/sidebar/anonymous/custom-sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-form-link.d.ts +2 -0
- package/declarations/app/components/sidebar/section-form-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-link.d.ts +2 -0
- package/declarations/app/components/sidebar/section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/categories-section.d.ts +2 -2
- package/declarations/app/components/sidebar/user/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/custom-sections.d.ts +2 -1
- package/declarations/app/components/sidebar/user/custom-sections.d.ts.map +1 -1
- package/declarations/app/components/signup-progress-bar.d.ts +1 -1
- package/declarations/app/components/tag-settings/localizations.d.ts.map +1 -1
- package/declarations/app/components/topic-bookmarks-menu.d.ts +1 -1
- package/declarations/app/components/topic-list/featured-topic.d.ts.map +1 -1
- package/declarations/app/components/topic-list/item/replies-cell.d.ts +6 -1
- package/declarations/app/components/topic-list/item/replies-cell.d.ts.map +1 -1
- package/declarations/app/components/topic-list/topic-link.d.ts.map +1 -1
- package/declarations/app/components/topic-map/private-message-map.d.ts.map +1 -1
- package/declarations/app/components/topic-map/topic-map-summary.d.ts +1 -1
- package/declarations/app/components/topic-navigation.d.ts +38 -25
- package/declarations/app/components/topic-navigation.d.ts.map +1 -1
- package/declarations/app/components/topic-post-badges.d.ts.map +1 -1
- package/declarations/app/components/topic-status.d.ts +6 -1
- package/declarations/app/components/topic-status.d.ts.map +1 -1
- package/declarations/app/components/topic-timeline/scroller.d.ts +1 -1
- package/declarations/app/components/topic-timeline/scroller.d.ts.map +1 -1
- package/declarations/app/components/uppy-image-uploader.d.ts +1 -1
- package/declarations/app/components/user-menu/bookmarks-list.d.ts +0 -1
- package/declarations/app/components/user-menu/bookmarks-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/likes-notifications-list.d.ts +0 -1
- package/declarations/app/components/user-menu/likes-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/messages-list.d.ts +0 -1
- package/declarations/app/components/user-menu/messages-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/notifications-list.d.ts +2 -6
- package/declarations/app/components/user-menu/notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/other-notifications-list.d.ts +0 -1
- package/declarations/app/components/user-menu/other-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/replies-notifications-list.d.ts +0 -1
- package/declarations/app/components/user-menu/replies-notifications-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/reviewables-list.d.ts +2 -1
- package/declarations/app/components/user-menu/reviewables-list.d.ts.map +1 -1
- package/declarations/app/components/welcome-banner.d.ts +7 -0
- package/declarations/app/components/welcome-banner.d.ts.map +1 -1
- package/declarations/app/components/wrap-attributes-modal.d.ts.map +1 -1
- package/declarations/app/connectors/category-custom-settings/nested-replies-settings-upsert.d.ts +11 -0
- package/declarations/app/connectors/category-custom-settings/nested-replies-settings-upsert.d.ts.map +1 -1
- package/declarations/app/controllers/discovery/list.d.ts +0 -1
- package/declarations/app/controllers/discovery/list.d.ts.map +1 -1
- package/declarations/app/controllers/nested.d.ts +3 -1
- package/declarations/app/controllers/nested.d.ts.map +1 -1
- package/declarations/app/controllers/preferences/interface.d.ts.map +1 -1
- package/declarations/app/controllers/preferences/notifications.d.ts.map +1 -1
- package/declarations/app/controllers/user-activity/pending.d.ts +9 -0
- package/declarations/app/controllers/user-activity/pending.d.ts.map +1 -0
- package/declarations/app/controllers/user.d.ts +1 -7
- package/declarations/app/controllers/user.d.ts.map +1 -1
- package/declarations/app/deprecation-workflow.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/calendar.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/calendar.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/checkbox.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/checkbox.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/code.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/code.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/color.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/color.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/composer.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/composer.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/custom.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/custom.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/emoji.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/emoji.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/icon.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/icon.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/image.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/image.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/input.d.ts +2 -2
- package/declarations/app/form-kit/components/fk/control/input.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/menu.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/menu.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/password.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/password.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/question.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/question.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/radio-group.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/radio-group.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/select.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/select.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/textarea.d.ts +8 -2
- package/declarations/app/form-kit/components/fk/control/textarea.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/toggle.d.ts +2 -1
- package/declarations/app/form-kit/components/fk/control/toggle.d.ts.map +1 -1
- package/declarations/app/form-kit/lib/fk-form-data.d.ts.map +1 -1
- package/declarations/app/instance-initializers/detect-human-activity.d.ts +6 -0
- package/declarations/app/instance-initializers/detect-human-activity.d.ts.map +1 -0
- package/declarations/app/instance-initializers/register-media-optimization-upload-processor.d.ts +1 -0
- package/declarations/app/instance-initializers/register-media-optimization-upload-processor.d.ts.map +1 -1
- package/declarations/app/lib/admin-onboarding.d.ts +11 -0
- package/declarations/app/lib/admin-onboarding.d.ts.map +1 -0
- package/declarations/app/lib/automation-detection.d.ts +2 -0
- package/declarations/app/lib/automation-detection.d.ts.map +1 -0
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts +2 -2
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts +2 -2
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts.map +1 -1
- package/declarations/app/lib/body-scroll-lock.d.ts.map +1 -1
- package/declarations/app/lib/caret-position.d.ts +1 -5
- package/declarations/app/lib/caret-position.d.ts.map +1 -1
- package/declarations/app/lib/chart-legend-icon.d.ts +4 -0
- package/declarations/app/lib/chart-legend-icon.d.ts.map +1 -0
- package/declarations/app/lib/click-track.d.ts.map +1 -1
- package/declarations/app/lib/composer/composer-position.d.ts +3 -1
- package/declarations/app/lib/composer/composer-position.d.ts.map +1 -1
- package/declarations/app/lib/constants.d.ts +0 -1
- package/declarations/app/lib/constants.d.ts.map +1 -1
- package/declarations/app/lib/dom-utils.d.ts +2 -0
- package/declarations/app/lib/dom-utils.d.ts.map +1 -1
- package/declarations/app/lib/formatter.d.ts +1 -0
- package/declarations/app/lib/formatter.d.ts.map +1 -1
- package/declarations/app/lib/group-list-setting-aliasing.d.ts +3 -0
- package/declarations/app/lib/group-list-setting-aliasing.d.ts.map +1 -0
- package/declarations/app/lib/intercept-click.d.ts +1 -1
- package/declarations/app/lib/intercept-click.d.ts.map +1 -1
- package/declarations/app/lib/invite-modal.d.ts +10 -0
- package/declarations/app/lib/invite-modal.d.ts.map +1 -0
- package/declarations/app/lib/load-codemirror.d.ts +1 -1
- package/declarations/app/lib/load-codemirror.d.ts.map +1 -1
- package/declarations/app/lib/load-rich-editor.d.ts +1 -1
- package/declarations/app/lib/load-rich-editor.d.ts.map +1 -1
- package/declarations/app/lib/model-extensions.d.ts +16 -0
- package/declarations/app/lib/model-extensions.d.ts.map +1 -0
- package/declarations/app/lib/nested-topic-model.d.ts +2 -0
- package/declarations/app/lib/nested-topic-model.d.ts.map +1 -1
- package/declarations/app/lib/nested-view-cache-snapshot.d.ts +3 -1
- package/declarations/app/lib/nested-view-cache-snapshot.d.ts.map +1 -1
- package/declarations/app/lib/notification-types/upcoming-change-automatically-promoted.d.ts.map +1 -1
- package/declarations/app/lib/plugin-api.d.ts +193 -1
- package/declarations/app/lib/plugin-api.d.ts.map +1 -1
- package/declarations/app/lib/popular-themes.d.ts.map +1 -1
- package/declarations/app/lib/preload-store.d.ts +1 -0
- package/declarations/app/lib/preload-store.d.ts.map +1 -1
- package/declarations/app/lib/registry/transformers.d.ts.map +1 -1
- package/declarations/app/lib/rem-to-px.d.ts +2 -0
- package/declarations/app/lib/rem-to-px.d.ts.map +1 -0
- package/declarations/app/lib/render-tag.d.ts.map +1 -1
- package/declarations/app/lib/selection/preserve-list-structure.d.ts.map +1 -1
- package/declarations/app/lib/serialize-tags.d.ts.map +1 -1
- package/declarations/app/lib/setting-field-registry.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/admin-nav-map.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/section.d.ts +1 -1
- package/declarations/app/lib/sidebar/section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/user/categories-section/category-section-link.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/user/community-section/admin-section.d.ts +1 -1
- package/declarations/app/lib/sidebar/user/community-section/admin-section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/user/tags-section/base-tag-section-link.d.ts.map +1 -1
- package/declarations/app/lib/swipe-events.d.ts +2 -0
- package/declarations/app/lib/swipe-events.d.ts.map +1 -1
- package/declarations/app/lib/textarea-text-manipulation.d.ts +5 -4
- package/declarations/app/lib/textarea-text-manipulation.d.ts.map +1 -1
- package/declarations/app/lib/to-markdown.d.ts.map +1 -1
- package/declarations/app/lib/url.d.ts +3 -0
- package/declarations/app/lib/url.d.ts.map +1 -1
- package/declarations/app/lib/user-menu/base-item.d.ts +1 -1
- package/declarations/app/lib/user-menu/base-item.d.ts.map +1 -1
- package/declarations/app/lib/utilities.d.ts +1 -0
- package/declarations/app/lib/utilities.d.ts.map +1 -1
- package/declarations/app/lib/wrap-utils.d.ts.map +1 -1
- package/declarations/app/models/category-list.d.ts.map +1 -1
- package/declarations/app/models/category.d.ts +3 -4
- package/declarations/app/models/category.d.ts.map +1 -1
- package/declarations/app/models/composer.d.ts +6 -2
- package/declarations/app/models/composer.d.ts.map +1 -1
- package/declarations/app/models/group.d.ts.map +1 -1
- package/declarations/app/models/pending-post.d.ts +0 -1
- package/declarations/app/models/pending-post.d.ts.map +1 -1
- package/declarations/app/models/post-localization.d.ts +1 -0
- package/declarations/app/models/post-localization.d.ts.map +1 -1
- package/declarations/app/models/post-stream.d.ts.map +1 -1
- package/declarations/app/models/post.d.ts +4 -3
- package/declarations/app/models/post.d.ts.map +1 -1
- package/declarations/app/models/rest.d.ts +2 -0
- package/declarations/app/models/rest.d.ts.map +1 -1
- package/declarations/app/models/topic-list.d.ts.map +1 -1
- package/declarations/app/models/topic-localization.d.ts +1 -0
- package/declarations/app/models/topic-localization.d.ts.map +1 -1
- package/declarations/app/models/topic.d.ts +2 -3
- package/declarations/app/models/topic.d.ts.map +1 -1
- package/declarations/app/models/user-drafts-stream.d.ts +0 -1
- package/declarations/app/models/user-drafts-stream.d.ts.map +1 -1
- package/declarations/app/models/user.d.ts +3 -0
- package/declarations/app/models/user.d.ts.map +1 -1
- package/declarations/app/resolver-shims.d.ts +0 -1
- package/declarations/app/routes/new-invite.d.ts +0 -1
- package/declarations/app/routes/new-invite.d.ts.map +1 -1
- package/declarations/app/routes/topic/from-params.d.ts +1 -0
- package/declarations/app/routes/topic/from-params.d.ts.map +1 -1
- package/declarations/app/routes/topic.d.ts +3 -0
- package/declarations/app/routes/topic.d.ts.map +1 -1
- package/declarations/app/services/a11y.d.ts.map +1 -1
- package/declarations/app/services/app-events.d.ts +7 -2
- package/declarations/app/services/app-events.d.ts.map +1 -1
- package/declarations/app/services/capabilities.d.ts +3 -2
- package/declarations/app/services/capabilities.d.ts.map +1 -1
- package/declarations/app/services/composer.d.ts +2 -3
- package/declarations/app/services/composer.d.ts.map +1 -1
- package/declarations/app/services/desktop-notifications.d.ts +1 -0
- package/declarations/app/services/desktop-notifications.d.ts.map +1 -1
- package/declarations/app/services/group-automatic-members-dialog.d.ts.map +1 -1
- package/declarations/app/services/human-activity-tracker.d.ts +13 -0
- package/declarations/app/services/human-activity-tracker.d.ts.map +1 -0
- package/declarations/app/services/media-optimization-worker.d.ts +5 -3
- package/declarations/app/services/media-optimization-worker.d.ts.map +1 -1
- package/declarations/app/services/search.d.ts +1 -1
- package/declarations/app/static/dev-tools/block-debug/block-info.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/button.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts +3 -3
- package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/outlet-info.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/patch.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/core/serializer.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/grid.d.ts +1 -0
- package/declarations/app/static/prosemirror/extensions/grid.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/onebox.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts +1 -0
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/lib/expel-boundary-punctuation.d.ts +3 -0
- package/declarations/app/static/prosemirror/lib/expel-boundary-punctuation.d.ts.map +1 -0
- package/declarations/app/static/wizard/components/fields/index.d.ts +3 -0
- package/declarations/app/static/wizard/components/fields/index.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-access-control-grantee-chooser.d.ts +33 -0
- package/declarations/app/ui-kit/d-access-control-grantee-chooser.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-access-control.d.ts +32 -6
- package/declarations/app/ui-kit/d-access-control.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-async-content.d.ts +110 -8
- package/declarations/app/ui-kit/d-async-content.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-breadcrumbs-item.d.ts +1 -1
- package/declarations/app/ui-kit/d-breadcrumbs-item.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-button.d.ts +31 -138
- package/declarations/app/ui-kit/d-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-conditional-in-element.d.ts +16 -1
- package/declarations/app/ui-kit/d-conditional-in-element.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-conditional-loading-spinner.d.ts +15 -1
- package/declarations/app/ui-kit/d-conditional-loading-spinner.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-date-time-input-range.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-editor.d.ts +0 -1
- package/declarations/app/ui-kit/d-editor.d.ts.map +1 -1
- package/declarations/{admin/components/admin-filter-controls.d.ts → app/ui-kit/d-filter-controls.d.ts} +20 -5
- package/declarations/app/ui-kit/d-filter-controls.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-filter-input.d.ts +31 -7
- package/declarations/app/ui-kit/d-filter-input.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-flash-message.d.ts +15 -3
- package/declarations/app/ui-kit/d-flash-message.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts +10 -10
- package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-modal.d.ts +116 -32
- package/declarations/app/ui-kit/d-modal.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-nav-item.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-otp/index.d.ts +4 -4
- package/declarations/app/ui-kit/d-otp/index.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-overflow-controls.d.ts +43 -0
- package/declarations/app/ui-kit/d-overflow-controls.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-post-accordion-item.d.ts +2 -0
- package/declarations/app/ui-kit/d-post-accordion-item.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-text-field.d.ts +28 -1
- package/declarations/app/ui-kit/d-text-field.d.ts.map +1 -1
- package/declarations/app/ui-kit/helpers/d-category-link.d.ts.map +1 -1
- package/declarations/app/ui-kit/helpers/d-element.d.ts +23 -6
- package/declarations/app/ui-kit/helpers/d-element.d.ts.map +1 -1
- package/declarations/app/ui-kit/helpers/d-topic-link.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts +24 -7
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts +87 -56
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-trap-tab.d.ts +23 -13
- package/declarations/app/ui-kit/modifiers/d-trap-tab.d.ts.map +1 -1
- package/declarations/app/workers/media-optimization/codecs.d.ts +0 -1
- package/declarations/app/workers/media-optimization/codecs.d.ts.map +1 -1
- package/declarations/float-kit/components/d-button-tooltip.d.ts +20 -1
- package/declarations/float-kit/components/d-button-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/components/d-default-toast.d.ts +13 -1
- package/declarations/float-kit/components/d-default-toast.d.ts.map +1 -1
- package/declarations/float-kit/components/d-float-body.d.ts +45 -10
- package/declarations/float-kit/components/d-float-body.d.ts.map +1 -1
- package/declarations/float-kit/components/d-float-portal.d.ts +23 -4
- package/declarations/float-kit/components/d-float-portal.d.ts.map +1 -1
- package/declarations/float-kit/components/d-headless-menu.d.ts +18 -1
- package/declarations/float-kit/components/d-headless-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-headless-tooltip.d.ts +18 -1
- package/declarations/float-kit/components/d-headless-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/components/d-inline-float.d.ts +31 -4
- package/declarations/float-kit/components/d-inline-float.d.ts.map +1 -1
- package/declarations/float-kit/components/d-menu.d.ts +83 -19
- package/declarations/float-kit/components/d-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-menus.d.ts +10 -4
- package/declarations/float-kit/components/d-menus.d.ts.map +1 -1
- package/declarations/float-kit/components/d-popover.d.ts +19 -5
- package/declarations/float-kit/components/d-popover.d.ts.map +1 -1
- package/declarations/float-kit/components/d-toast.d.ts +23 -8
- package/declarations/float-kit/components/d-toast.d.ts.map +1 -1
- package/declarations/float-kit/components/d-toasts.d.ts +8 -4
- package/declarations/float-kit/components/d-toasts.d.ts.map +1 -1
- package/declarations/float-kit/components/d-tooltip.d.ts +57 -46
- package/declarations/float-kit/components/d-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/components/d-tooltips.d.ts +11 -4
- package/declarations/float-kit/components/d-tooltips.d.ts.map +1 -1
- package/declarations/float-kit/lib/constants.d.ts +218 -127
- package/declarations/float-kit/lib/constants.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-menu-instance.d.ts +38 -63
- package/declarations/float-kit/lib/d-menu-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-toast-instance.d.ts +15 -5
- package/declarations/float-kit/lib/d-toast-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-tooltip-instance.d.ts +31 -59
- package/declarations/float-kit/lib/d-tooltip-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/float-kit-instance.d.ts +50 -16
- package/declarations/float-kit/lib/float-kit-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/get-scroll-parent.d.ts +2 -1
- package/declarations/float-kit/lib/get-scroll-parent.d.ts.map +1 -1
- package/declarations/float-kit/lib/update-position.d.ts +34 -1
- package/declarations/float-kit/lib/update-position.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/apply-floating-ui.d.ts +25 -7
- package/declarations/float-kit/modifiers/apply-floating-ui.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/auto-close-toast.d.ts +31 -18
- package/declarations/float-kit/modifiers/auto-close-toast.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/close-on-escape.d.ts +18 -7
- package/declarations/float-kit/modifiers/close-on-escape.d.ts.map +1 -1
- package/declarations/float-kit/services/internal-tooltip.d.ts +3 -2
- package/declarations/float-kit/services/internal-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/services/menu.d.ts +39 -33
- package/declarations/float-kit/services/menu.d.ts.map +1 -1
- package/declarations/float-kit/services/toasts.d.ts +39 -45
- package/declarations/float-kit/services/toasts.d.ts.map +1 -1
- package/declarations/float-kit/services/tooltip.d.ts +26 -24
- package/declarations/float-kit/services/tooltip.d.ts.map +1 -1
- package/declarations/select-kit/components/category-chooser.d.ts +3 -4
- package/declarations/select-kit/components/category-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/category-drop/category-drop-header.d.ts +2 -1
- package/declarations/select-kit/components/category-drop/category-drop-header.d.ts.map +1 -1
- package/declarations/select-kit/components/category-drop.d.ts +4 -5
- package/declarations/select-kit/components/category-drop.d.ts.map +1 -1
- package/declarations/select-kit/components/category-selector.d.ts +4 -3
- package/declarations/select-kit/components/category-selector.d.ts.map +1 -1
- package/declarations/select-kit/components/color-palette-picker/color-palette-picker-row.d.ts +2 -1
- package/declarations/select-kit/components/color-palette-picker/color-palette-picker-row.d.ts.map +1 -1
- package/declarations/select-kit/components/color-palette-picker.d.ts +2 -1
- package/declarations/select-kit/components/color-palette-picker.d.ts.map +1 -1
- package/declarations/select-kit/components/color-palettes/color-palettes-row.d.ts +2 -1
- package/declarations/select-kit/components/color-palettes/color-palettes-row.d.ts.map +1 -1
- package/declarations/select-kit/components/color-palettes.d.ts +2 -1
- package/declarations/select-kit/components/color-palettes.d.ts.map +1 -1
- package/declarations/select-kit/components/combo-box/combo-box-header.d.ts +2 -1
- package/declarations/select-kit/components/combo-box/combo-box-header.d.ts.map +1 -1
- package/declarations/select-kit/components/combo-box.d.ts +2 -2
- package/declarations/select-kit/components/combo-box.d.ts.map +1 -1
- package/declarations/select-kit/components/composer-actions.d.ts +2 -2
- package/declarations/select-kit/components/composer-actions.d.ts.map +1 -1
- package/declarations/select-kit/components/create-color-row.d.ts +2 -2
- package/declarations/select-kit/components/create-color-row.d.ts.map +1 -1
- package/declarations/select-kit/components/dropdown-select-box/dropdown-select-box-header.d.ts +2 -1
- package/declarations/select-kit/components/dropdown-select-box/dropdown-select-box-header.d.ts.map +1 -1
- package/declarations/select-kit/components/dropdown-select-box/dropdown-select-box-row.d.ts +2 -1
- package/declarations/select-kit/components/dropdown-select-box/dropdown-select-box-row.d.ts.map +1 -1
- package/declarations/select-kit/components/dropdown-select-box.d.ts +4 -2
- package/declarations/select-kit/components/dropdown-select-box.d.ts.map +1 -1
- package/declarations/select-kit/components/email-group-user-chooser-filter.d.ts +2 -2
- package/declarations/select-kit/components/email-group-user-chooser-filter.d.ts.map +1 -1
- package/declarations/select-kit/components/email-group-user-chooser-row.d.ts +5 -1
- package/declarations/select-kit/components/email-group-user-chooser-row.d.ts.map +1 -1
- package/declarations/select-kit/components/email-group-user-chooser.d.ts +2 -1
- package/declarations/select-kit/components/email-group-user-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/flair-chooser.d.ts +2 -2
- package/declarations/select-kit/components/flair-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/flair-row.d.ts +2 -1
- package/declarations/select-kit/components/flair-row.d.ts.map +1 -1
- package/declarations/select-kit/components/font-selector/font-selector-row.d.ts +2 -1
- package/declarations/select-kit/components/font-selector/font-selector-row.d.ts.map +1 -1
- package/declarations/select-kit/components/form-template-chooser.d.ts +3 -4
- package/declarations/select-kit/components/form-template-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/future-date-input-selector/future-date-input-selector-header.d.ts +2 -1
- package/declarations/select-kit/components/future-date-input-selector/future-date-input-selector-header.d.ts.map +1 -1
- package/declarations/select-kit/components/future-date-input-selector/future-date-input-selector-row.d.ts +2 -1
- package/declarations/select-kit/components/future-date-input-selector/future-date-input-selector-row.d.ts.map +1 -1
- package/declarations/select-kit/components/future-date-input-selector.d.ts +2 -2
- package/declarations/select-kit/components/future-date-input-selector.d.ts.map +1 -1
- package/declarations/select-kit/components/group-chooser.d.ts +3 -4
- package/declarations/select-kit/components/group-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/group-dropdown.d.ts +0 -2
- package/declarations/select-kit/components/group-dropdown.d.ts.map +1 -1
- package/declarations/select-kit/components/homepage-style-selector/homepage-style-selector-row.d.ts +2 -1
- package/declarations/select-kit/components/homepage-style-selector/homepage-style-selector-row.d.ts.map +1 -1
- package/declarations/select-kit/components/homepage-style-selector.d.ts +2 -1
- package/declarations/select-kit/components/homepage-style-selector.d.ts.map +1 -1
- package/declarations/select-kit/components/icon-picker.d.ts +3 -4
- package/declarations/select-kit/components/icon-picker.d.ts.map +1 -1
- package/declarations/select-kit/components/list-setting.d.ts +7 -3
- package/declarations/select-kit/components/list-setting.d.ts.map +1 -1
- package/declarations/select-kit/components/mini-tag-chooser.d.ts +7 -8
- package/declarations/select-kit/components/mini-tag-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select/multi-select-filter.d.ts +2 -1
- package/declarations/select-kit/components/multi-select/multi-select-filter.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select/selected-category.d.ts +2 -1
- package/declarations/select-kit/components/multi-select/selected-category.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select/selected-color.d.ts +2 -1
- package/declarations/select-kit/components/multi-select/selected-color.d.ts.map +1 -1
- package/declarations/select-kit/components/none-category-row.d.ts +2 -2
- package/declarations/select-kit/components/none-category-row.d.ts.map +1 -1
- package/declarations/select-kit/components/notifications-button/notifications-button-row.d.ts +2 -4
- package/declarations/select-kit/components/notifications-button/notifications-button-row.d.ts.map +1 -1
- package/declarations/select-kit/components/notifications-button.d.ts +0 -2
- package/declarations/select-kit/components/notifications-button.d.ts.map +1 -1
- package/declarations/select-kit/components/notifications-filter/notifications-filter-header.d.ts +2 -1
- package/declarations/select-kit/components/notifications-filter/notifications-filter-header.d.ts.map +1 -1
- package/declarations/select-kit/components/notifications-filter.d.ts +0 -1
- package/declarations/select-kit/components/notifications-filter.d.ts.map +1 -1
- package/declarations/select-kit/components/period-chooser/period-chooser-header.d.ts +2 -1
- package/declarations/select-kit/components/period-chooser/period-chooser-header.d.ts.map +1 -1
- package/declarations/select-kit/components/period-chooser/period-chooser-row.d.ts +2 -2
- package/declarations/select-kit/components/period-chooser/period-chooser-row.d.ts.map +1 -1
- package/declarations/select-kit/components/period-chooser.d.ts +0 -2
- package/declarations/select-kit/components/period-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/select-kit/select-kit-create-row.d.ts +2 -1
- package/declarations/select-kit/components/select-kit/select-kit-create-row.d.ts.map +1 -1
- package/declarations/select-kit/components/select-kit/select-kit-filter.d.ts.map +1 -1
- package/declarations/select-kit/components/select-kit/select-kit-none-row.d.ts +2 -1
- package/declarations/select-kit/components/select-kit/select-kit-none-row.d.ts.map +1 -1
- package/declarations/select-kit/components/select-kit.d.ts +2 -1
- package/declarations/select-kit/components/select-kit.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-choice-category.d.ts +2 -1
- package/declarations/select-kit/components/selected-choice-category.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-choice-color.d.ts +2 -1
- package/declarations/select-kit/components/selected-choice-color.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-color.d.ts +2 -1
- package/declarations/select-kit/components/selected-color.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-flair.d.ts +2 -1
- package/declarations/select-kit/components/selected-flair.d.ts.map +1 -1
- package/declarations/select-kit/components/selected-font.d.ts +2 -1
- package/declarations/select-kit/components/selected-font.d.ts.map +1 -1
- package/declarations/select-kit/components/single-select.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-chooser-row.d.ts +2 -1
- package/declarations/select-kit/components/tag-chooser-row.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-chooser.d.ts +4 -6
- package/declarations/select-kit/components/tag-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-drop/tag-drop-header.d.ts +2 -1
- package/declarations/select-kit/components/tag-drop/tag-drop-header.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-drop.d.ts +3 -6
- package/declarations/select-kit/components/tag-drop.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-dropdown.d.ts +0 -4
- package/declarations/select-kit/components/tag-dropdown.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-group-chooser.d.ts +4 -3
- package/declarations/select-kit/components/tag-group-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-row.d.ts +2 -1
- package/declarations/select-kit/components/tag-row.d.ts.map +1 -1
- package/declarations/select-kit/components/tags-intersection-chooser.d.ts +0 -1
- package/declarations/select-kit/components/tags-intersection-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/timezone-input.d.ts +1 -1
- package/declarations/select-kit/components/timezone-input.d.ts.map +1 -1
- package/declarations/select-kit/components/topic-chooser.d.ts +2 -2
- package/declarations/select-kit/components/topic-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/topic-row.d.ts +2 -1
- package/declarations/select-kit/components/topic-row.d.ts.map +1 -1
- package/declarations/select-kit/components/user-chooser/user-row.d.ts +2 -1
- package/declarations/select-kit/components/user-chooser/user-row.d.ts.map +1 -1
- package/declarations/select-kit/components/user-chooser.d.ts +4 -3
- package/declarations/select-kit/components/user-chooser.d.ts.map +1 -1
- package/declarations/select-kit/components/watched-words.d.ts +2 -1
- package/declarations/select-kit/components/watched-words.d.ts.map +1 -1
- package/declarations/tests/acceptance/admin-email-templates-test.d.ts +2 -0
- package/declarations/tests/acceptance/admin-email-templates-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/admin-emoji-test.d.ts +2 -0
- package/declarations/tests/acceptance/admin-emoji-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/admin-upcoming-changes-test.d.ts +2 -0
- package/declarations/tests/acceptance/admin-upcoming-changes-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/composer-swipe-to-collapse-test.d.ts +2 -0
- package/declarations/tests/acceptance/composer-swipe-to-collapse-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/topic-unread-posts-announcement-test.d.ts +2 -0
- package/declarations/tests/acceptance/topic-unread-posts-announcement-test.d.ts.map +1 -0
- package/declarations/tests/fixtures/pending-posts.d.ts.map +1 -1
- package/declarations/tests/fixtures/reports-bulk.d.ts.map +1 -1
- package/declarations/tests/fixtures/site-fixtures.d.ts +1 -0
- package/declarations/tests/fixtures/site-fixtures.d.ts.map +1 -1
- package/declarations/tests/helpers/create-pretender.d.ts.map +1 -1
- package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
- package/declarations/tests/helpers/rich-editor-helper.d.ts.map +1 -1
- package/declarations/tests/helpers/select-kit-helper.d.ts.map +1 -1
- package/declarations/tests/integration/components/admin-backups-logs-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-backups-logs-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/admin-notice-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-notice-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/create-invite-with-roles-test.d.ts +2 -0
- package/declarations/tests/integration/components/create-invite-with-roles-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/reports-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/reports-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/site-advice-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/site-advice-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/nested-replies-settings-upsert-test.d.ts +2 -0
- package/declarations/tests/integration/components/nested-replies-settings-upsert-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/post/meta-data/date-test.d.ts +2 -0
- package/declarations/tests/integration/components/post/meta-data/date-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/post-action-description-test.d.ts +2 -0
- package/declarations/tests/integration/components/post-action-description-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/push-notification-select-test.d.ts +2 -0
- package/declarations/tests/integration/components/push-notification-select-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/reviewable/timeline-test.d.ts +2 -0
- package/declarations/tests/integration/components/reviewable/timeline-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/site-settings/date-test.d.ts +2 -0
- package/declarations/tests/integration/components/site-settings/date-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-filter-controls-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-filter-controls-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-overflow-controls-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-overflow-controls-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-user-avatar-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-user-avatar-test.d.ts.map +1 -0
- package/declarations/tests/setup-tests.d.ts.map +1 -1
- package/declarations/tests/unit/admin/lib/dashboard-format-test.d.ts +2 -0
- package/declarations/tests/unit/admin/lib/dashboard-format-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/admin-dashboard-sections-test.d.ts +2 -0
- package/declarations/tests/unit/lib/admin-dashboard-sections-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/caret-position-test.d.ts +2 -0
- package/declarations/tests/unit/lib/caret-position-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/composer-position-test.d.ts +2 -0
- package/declarations/tests/unit/lib/composer-position-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/flag-targets/post-flag-test.d.ts +2 -0
- package/declarations/tests/unit/lib/flag-targets/post-flag-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/format-minutes-seconds-test.d.ts +2 -0
- package/declarations/tests/unit/lib/format-minutes-seconds-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/group-list-setting-aliasing-test.d.ts +2 -0
- package/declarations/tests/unit/lib/group-list-setting-aliasing-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/model-extensions-test.d.ts +2 -0
- package/declarations/tests/unit/lib/model-extensions-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/nested-topic-model-test.d.ts +2 -0
- package/declarations/tests/unit/lib/nested-topic-model-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/serialize-tags-test.d.ts +2 -0
- package/declarations/tests/unit/lib/serialize-tags-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/swipe-events-test.d.ts +2 -0
- package/declarations/tests/unit/lib/swipe-events-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/wrap-utils-test.d.ts +2 -0
- package/declarations/tests/unit/lib/wrap-utils-test.d.ts.map +1 -0
- package/declarations/tests/unit/routes/admin-backups-test.d.ts +2 -0
- package/declarations/tests/unit/routes/admin-backups-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/human-activity-tracker-test.d.ts +2 -0
- package/declarations/tests/unit/services/human-activity-tracker-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/site-setting-change-tracker-test.d.ts +2 -0
- package/declarations/tests/unit/services/site-setting-change-tracker-test.d.ts.map +1 -0
- package/declarations/tests/unit/static/prosemirror/expel-boundary-punctuation-test.d.ts +2 -0
- package/declarations/tests/unit/static/prosemirror/expel-boundary-punctuation-test.d.ts.map +1 -0
- package/declarations/truth-helpers/helpers/and.d.ts +1 -1
- package/declarations/truth-helpers/helpers/and.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/eq.d.ts +1 -1
- package/declarations/truth-helpers/helpers/eq.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/gt.d.ts +1 -3
- package/declarations/truth-helpers/helpers/gt.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/gte.d.ts +1 -3
- package/declarations/truth-helpers/helpers/gte.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/has.d.ts +3 -1
- package/declarations/truth-helpers/helpers/has.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/includes.d.ts +3 -1
- package/declarations/truth-helpers/helpers/includes.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/is-array.d.ts +2 -0
- package/declarations/truth-helpers/helpers/is-array.d.ts.map +1 -0
- package/declarations/truth-helpers/helpers/is-empty.d.ts +2 -0
- package/declarations/truth-helpers/helpers/is-empty.d.ts.map +1 -0
- package/declarations/truth-helpers/helpers/is-equal.d.ts +2 -0
- package/declarations/truth-helpers/helpers/is-equal.d.ts.map +1 -0
- package/declarations/truth-helpers/helpers/lt.d.ts +1 -3
- package/declarations/truth-helpers/helpers/lt.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/lte.d.ts +1 -3
- package/declarations/truth-helpers/helpers/lte.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/not-eq.d.ts +1 -1
- package/declarations/truth-helpers/helpers/not-eq.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/not.d.ts +1 -1
- package/declarations/truth-helpers/helpers/not.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/or.d.ts +1 -1
- package/declarations/truth-helpers/helpers/or.d.ts.map +1 -1
- package/declarations/truth-helpers/helpers/xor.d.ts +2 -0
- package/declarations/truth-helpers/helpers/xor.d.ts.map +1 -0
- package/declarations/truth-helpers/index.d.ts +4 -0
- package/declarations/truth-helpers/index.d.ts.map +1 -1
- package/declarations/truth-helpers/utils/truth-convert.d.ts +2 -1
- package/declarations/truth-helpers/utils/truth-convert.d.ts.map +1 -1
- package/declarations/tsconfig.tsbuildinfo +1 -1
- package/declarations/type-tests/truth-helpers/boolean-helpers-test.d.ts +2 -0
- package/declarations/type-tests/truth-helpers/boolean-helpers-test.d.ts.map +1 -0
- package/declarations/type-tests/truth-helpers/glint-test.d.ts +10 -0
- package/declarations/type-tests/truth-helpers/glint-test.d.ts.map +1 -0
- package/declarations/type-tests/truth-helpers/truth-convert-test.d.ts +2 -0
- package/declarations/type-tests/truth-helpers/truth-convert-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-element-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-element-test.d.ts.map +1 -0
- package/external-types/discourse-i18n/index.d.ts +3 -3
- package/external-types/ember-modifier/index.d.ts +4 -4
- package/external-types/ember-truth-helpers/LICENSE.md +9 -0
- package/external-types/ember-truth-helpers/index.d.ts +161 -0
- package/external-types/ember-truth-helpers/package.json +161 -0
- package/external-types/ember__test-helpers/index.d.ts +60 -60
- package/external-types/glint__template/index.d.ts +38 -30
- package/external-types/glint__template/package.json +1 -1
- package/package.json +4 -1
- package/tsconfig-plugin.json +3 -3
- package/declarations/admin/components/admin-filter-controls.d.ts.map +0 -1
- package/declarations/admin/components/admin-report-legacy.d.ts.map +0 -1
- package/declarations/admin/components/admin-report-new.d.ts.map +0 -1
- package/declarations/admin/controllers/admin/dashboard-reports.d.ts +0 -9
- package/declarations/admin/controllers/admin/dashboard-reports.d.ts.map +0 -1
- package/declarations/admin/templates/admin/dashboard-reports.d.ts.map +0 -1
- package/declarations/app/components/composer/toolbar-scroll-container.d.ts +0 -15
- package/declarations/app/components/composer/toolbar-scroll-container.d.ts.map +0 -1
- package/declarations/app/components/setting-field/string.d.ts.map +0 -1
- package/declarations/app/components/topic-entrance.d.ts +0 -33
- package/declarations/app/components/topic-entrance.d.ts.map +0 -1
- package/declarations/app/instance-initializers/jquery-plugins.d.ts +0 -5
- package/declarations/app/instance-initializers/jquery-plugins.d.ts.map +0 -1
- package/declarations/app/lib/media-optimization-utils.d.ts +0 -2
- package/declarations/app/lib/media-optimization-utils.d.ts.map +0 -1
- package/declarations/tests/acceptance/transformers/category-description-text-test.d.ts +0 -2
- package/declarations/tests/acceptance/transformers/category-description-text-test.d.ts.map +0 -1
- package/declarations/tests/integration/components/admin-filter-controls-test.d.ts +0 -2
- package/declarations/tests/integration/components/admin-filter-controls-test.d.ts.map +0 -1
|
@@ -1,3 +1,74 @@
|
|
|
1
|
+
import type Owner from "@ember/owner";
|
|
2
|
+
import Modifier, { type ArgsFor } from "ember-modifier";
|
|
3
|
+
import type Site from "discourse/models/site";
|
|
4
|
+
/**
|
|
5
|
+
* The gesture state reported by the `swipe-events` custom events and handed to the
|
|
6
|
+
* start, move, and end callbacks.
|
|
7
|
+
*/
|
|
8
|
+
export interface SwipeState {
|
|
9
|
+
/** The pointer coordinates where the gesture started. */
|
|
10
|
+
startLocation: {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
14
|
+
/** The current pointer coordinates. */
|
|
15
|
+
center: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
};
|
|
19
|
+
/** The horizontal velocity, in pixels per millisecond. */
|
|
20
|
+
velocityX: number;
|
|
21
|
+
/** The vertical velocity, in pixels per millisecond. */
|
|
22
|
+
velocityY: number;
|
|
23
|
+
/** The horizontal displacement from `startLocation`, in pixels. */
|
|
24
|
+
deltaX: number;
|
|
25
|
+
/** The vertical displacement from `startLocation`, in pixels. */
|
|
26
|
+
deltaY: number;
|
|
27
|
+
/** Whether this is the first state of the gesture. */
|
|
28
|
+
start: boolean;
|
|
29
|
+
/** When this state was produced, as an epoch timestamp in milliseconds. */
|
|
30
|
+
timestamp: number;
|
|
31
|
+
/** The dominant direction of the gesture, fixed once first determined. */
|
|
32
|
+
direction: "up" | "down" | "left" | "right";
|
|
33
|
+
/** The element the gesture is tracked on. */
|
|
34
|
+
element: HTMLElement;
|
|
35
|
+
/** Returns whether the gesture direction is `"up"`. */
|
|
36
|
+
goingUp: () => boolean;
|
|
37
|
+
/** Returns whether the gesture direction is `"down"`. */
|
|
38
|
+
goingDown: () => boolean;
|
|
39
|
+
/** The underlying DOM event that produced this state. */
|
|
40
|
+
originalEvent?: Event;
|
|
41
|
+
}
|
|
42
|
+
/** The detail reported when a gesture is cancelled. */
|
|
43
|
+
export interface SwipeCancelDetail {
|
|
44
|
+
/** The underlying DOM event that triggered the cancellation. */
|
|
45
|
+
originalEvent: Event;
|
|
46
|
+
}
|
|
47
|
+
interface DSwipeSignature {
|
|
48
|
+
/** The element the swipe listeners are attached to. */
|
|
49
|
+
Element: HTMLElement;
|
|
50
|
+
Args: {
|
|
51
|
+
Named: {
|
|
52
|
+
/**
|
|
53
|
+
* Called when a gesture starts. Calling `preventDefault()` on the event
|
|
54
|
+
* cancels the gesture: the body is not locked and no further swipe events
|
|
55
|
+
* fire for it.
|
|
56
|
+
*/
|
|
57
|
+
onDidStartSwipe?: (state: SwipeState, event: Event) => void;
|
|
58
|
+
/** Called on each pointer move while the gesture is in progress. */
|
|
59
|
+
onDidSwipe?: (state: SwipeState) => void;
|
|
60
|
+
/** Called when the gesture ends. */
|
|
61
|
+
onDidEndSwipe?: (state: SwipeState) => void;
|
|
62
|
+
/** Called when the gesture is cancelled, e.g. by a second touch. */
|
|
63
|
+
onDidCancelSwipe?: (detail: SwipeCancelDetail) => void;
|
|
64
|
+
/** Whether swipe handling is enabled. Defaults to `true`; always off on desktop. */
|
|
65
|
+
enabled?: boolean;
|
|
66
|
+
/** Whether to lock body scrolling for the duration of the gesture. Defaults to `true`. */
|
|
67
|
+
lockBody?: boolean;
|
|
68
|
+
};
|
|
69
|
+
Positional: [];
|
|
70
|
+
};
|
|
71
|
+
}
|
|
1
72
|
/**
|
|
2
73
|
* A modifier for handling swipe gestures on an element.
|
|
3
74
|
*
|
|
@@ -17,81 +88,41 @@
|
|
|
17
88
|
* >
|
|
18
89
|
* Swipe here
|
|
19
90
|
* </div>
|
|
20
|
-
*
|
|
21
|
-
* @extends Modifier
|
|
22
|
-
*/
|
|
23
|
-
/**
|
|
24
|
-
* SwipeModifier class.
|
|
25
91
|
*/
|
|
26
|
-
export default class DSwipeModifier extends Modifier<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
* @param {Object} args - The arguments.
|
|
31
|
-
*/
|
|
32
|
-
constructor(owner: Owner, args: any);
|
|
33
|
-
site: any;
|
|
92
|
+
export default class DSwipeModifier extends Modifier<DSwipeSignature> {
|
|
93
|
+
#private;
|
|
94
|
+
site: Site;
|
|
95
|
+
constructor(owner: Owner, args: ArgsFor<DSwipeSignature>);
|
|
34
96
|
/**
|
|
35
97
|
* Modifies the element for swipe functionality.
|
|
36
|
-
*
|
|
37
|
-
* @param
|
|
38
|
-
* @param
|
|
39
|
-
* @param
|
|
40
|
-
* @param {Function} options.onDidSwipe - Callback function when swipe occurs.
|
|
41
|
-
* @param {Function} options.onDidEndSwipe - Callback function when swipe ends.
|
|
42
|
-
* @param {Function} options.onDidCancelSwipe - Callback function when swipe is canceled.
|
|
43
|
-
* @param {boolean} options.enabled - Flag to enable/disable swipe.
|
|
44
|
-
* @param {boolean} options.lockBody - Automatically enable/disable body scroll lock.
|
|
98
|
+
*
|
|
99
|
+
* @param element - The element to modify.
|
|
100
|
+
* @param _positional - Unused positional arguments.
|
|
101
|
+
* @param named - Options for modifying the swipe behavior.
|
|
45
102
|
*/
|
|
46
|
-
modify(element: HTMLElement,
|
|
47
|
-
onDidStartSwipe: Function;
|
|
48
|
-
onDidSwipe: Function;
|
|
49
|
-
onDidEndSwipe: Function;
|
|
50
|
-
onDidCancelSwipe: Function;
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
lockBody: boolean;
|
|
53
|
-
}): void;
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
lockBody: boolean;
|
|
56
|
-
element: HTMLElement;
|
|
57
|
-
onDidSwipeCallback: Function;
|
|
58
|
-
onDidStartSwipeCallback: Function;
|
|
59
|
-
onDidCancelSwipeCallback: Function;
|
|
60
|
-
onDidEndSwipeCallback: Function;
|
|
61
|
-
_swipeEvents: SwipeEvents;
|
|
103
|
+
modify(element: HTMLElement, _positional: [], { onDidStartSwipe, onDidSwipe, onDidEndSwipe, onDidCancelSwipe, enabled, lockBody, }: DSwipeSignature["Args"]["Named"]): void;
|
|
62
104
|
/**
|
|
63
|
-
* Handler for swipe start event. The callback can cancel the gesture by
|
|
105
|
+
* Handler for the swipe start event. The callback can cancel the gesture by
|
|
64
106
|
* calling `preventDefault()` on the event, in which case the body is not
|
|
65
107
|
* locked and no further swipe events are fired for this gesture.
|
|
66
|
-
* @param {Event} event - The swipe start event.
|
|
67
108
|
*/
|
|
68
109
|
onDidStartSwipe(event: Event): void;
|
|
69
|
-
bodyLocked: boolean;
|
|
70
110
|
/**
|
|
71
|
-
* Handler for swipe end event.
|
|
72
|
-
* @param {Event} event - The swipe end event.
|
|
111
|
+
* Handler for the swipe end event.
|
|
73
112
|
*/
|
|
74
113
|
onDidEndSwipe(event: Event): void;
|
|
75
114
|
/**
|
|
76
|
-
* Handler for swipe event.
|
|
77
|
-
* @param {Event} event - The swipe event.
|
|
115
|
+
* Handler for the swipe event.
|
|
78
116
|
*/
|
|
79
117
|
onDidSwipe(event: Event): void;
|
|
80
118
|
/**
|
|
81
|
-
* Handler for swipe cancel event.
|
|
82
|
-
* @param {Event} event - The swipe cancel event.
|
|
119
|
+
* Handler for the swipe cancel event.
|
|
83
120
|
*/
|
|
84
121
|
onDidCancelSwipe(event: Event): void;
|
|
85
122
|
/**
|
|
86
|
-
* Handler for scroll event. Prevents scrolling while swiping.
|
|
87
|
-
*/
|
|
88
|
-
onScroll(event: any): void;
|
|
89
|
-
/**
|
|
90
|
-
* Cleans up the swipe modifier.
|
|
123
|
+
* Handler for the scroll event. Prevents scrolling while swiping.
|
|
91
124
|
*/
|
|
92
|
-
|
|
93
|
-
#private;
|
|
125
|
+
onScroll(event: Event): void;
|
|
94
126
|
}
|
|
95
|
-
|
|
96
|
-
import SwipeEvents from "discourse/lib/swipe-events";
|
|
127
|
+
export {};
|
|
97
128
|
//# sourceMappingURL=d-swipe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-swipe.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-swipe.
|
|
1
|
+
{"version":3,"file":"d-swipe.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-swipe.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAIxD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAE9C;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,yDAAyD;IACzD,aAAa,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAExC,uCAAuC;IACvC,MAAM,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAEjC,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAElB,wDAAwD;IACxD,SAAS,EAAE,MAAM,CAAC;IAElB,mEAAmE;IACnE,MAAM,EAAE,MAAM,CAAC;IAEf,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IAEf,sDAAsD;IACtD,KAAK,EAAE,OAAO,CAAC;IAEf,2EAA2E;IAC3E,SAAS,EAAE,MAAM,CAAC;IAElB,0EAA0E;IAC1E,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAE5C,6CAA6C;IAC7C,OAAO,EAAE,WAAW,CAAC;IAErB,uDAAuD;IACvD,OAAO,EAAE,MAAM,OAAO,CAAC;IAEvB,yDAAyD;IACzD,SAAS,EAAE,MAAM,OAAO,CAAC;IAEzB,yDAAyD;IACzD,aAAa,CAAC,EAAE,KAAK,CAAC;CACvB;AAED,uDAAuD;AACvD,MAAM,WAAW,iBAAiB;IAChC,gEAAgE;IAChE,aAAa,EAAE,KAAK,CAAC;CACtB;AAED,UAAU,eAAe;IACvB,uDAAuD;IACvD,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL;;;;eAIG;YACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;YAE5D,oEAAoE;YACpE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;YAEzC,oCAAoC;YACpC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;YAE5C,oEAAoE;YACpE,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;YAEvD,oFAAoF;YACpF,OAAO,CAAC,EAAE,OAAO,CAAC;YAElB,0FAA0F;YAC1F,QAAQ,CAAC,EAAE,OAAO,CAAC;SACpB,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,QAAQ,CAAC,eAAe,CAAC;;IAClD,IAAI,EAAE,IAAI,CAAC;gBAYhB,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,eAAe,CAAC;IAKxD;;;;;;OAMG;IACH,MAAM,CACJ,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,EAAE,EACf,EACE,eAAe,EACf,UAAU,EACV,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,QAAQ,GACT,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;IAwBrC;;;;OAIG;IAEH,eAAe,CAAC,KAAK,EAAE,KAAK;IAgB5B;;OAEG;IAEH,aAAa,CAAC,KAAK,EAAE,KAAK;IAM1B;;OAEG;IAEH,UAAU,CAAC,KAAK,EAAE,KAAK;IAKvB;;OAEG;IAEH,gBAAgB,CAAC,KAAK,EAAE,KAAK;IAM7B;;OAEG;IAEH,QAAQ,CAAC,KAAK,EAAE,KAAK;CAwBtB"}
|
|
@@ -1,15 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import type Owner from "@ember/owner";
|
|
2
|
+
import Modifier, { type ArgsFor } from "ember-modifier";
|
|
3
|
+
import type { CapabilitiesService } from "discourse/services/capabilities";
|
|
4
|
+
interface DTrapTabSignature {
|
|
5
|
+
/** The element the tab trap is attached to. */
|
|
6
|
+
Element: HTMLElement;
|
|
7
|
+
Args: {
|
|
8
|
+
Named: {
|
|
9
|
+
/** Whether focusing an element should prevent scrolling. Defaults to `true`. */
|
|
10
|
+
preventScroll?: boolean;
|
|
11
|
+
/** Whether to focus the first focusable element on setup. Defaults to `true`. */
|
|
12
|
+
autofocus?: boolean;
|
|
13
|
+
};
|
|
14
|
+
Positional: [];
|
|
15
|
+
};
|
|
13
16
|
}
|
|
14
|
-
|
|
17
|
+
export default class DTrapTabModifier extends Modifier<DTrapTabSignature> {
|
|
18
|
+
#private;
|
|
19
|
+
capabilities: CapabilitiesService;
|
|
20
|
+
constructor(owner: Owner, args: ArgsFor<DTrapTabSignature>);
|
|
21
|
+
modify(element: HTMLElement, _positional: [], { preventScroll, autofocus }: DTrapTabSignature["Args"]["Named"]): void;
|
|
22
|
+
trapTab(event: KeyboardEvent): void;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
15
25
|
//# sourceMappingURL=d-trap-tab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-trap-tab.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-trap-tab.
|
|
1
|
+
{"version":3,"file":"d-trap-tab.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/ui-kit/modifiers/d-trap-tab.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AAEtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAK3E,UAAU,iBAAiB;IACzB,+CAA+C;IAC/C,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,gFAAgF;YAChF,aAAa,CAAC,EAAE,OAAO,CAAC;YAExB,iFAAiF;YACjF,SAAS,CAAC,EAAE,OAAO,CAAC;SACrB,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,QAAQ,CAAC,iBAAiB,CAAC;;IACtD,YAAY,EAAE,mBAAmB,CAAC;gBAMvC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,iBAAiB,CAAC;IAK1D,MAAM,CACJ,OAAO,EAAE,WAAW,EACpB,WAAW,EAAE,EAAE,EACf,EAAE,aAAa,EAAE,SAAS,EAAE,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC;IAyClE,OAAO,CAAC,KAAK,EAAE,aAAa;CAqC7B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export function optimize(imageData: any, fileName: any, width: any, height: any, originalFileSize: any, settings: any): Promise<ArrayBuffer>;
|
|
2
1
|
export function convert(fileBuffer: any, fileName: any, fileType: any, originalFileSize: any, settings: any): Promise<{
|
|
3
2
|
data: ArrayBuffer;
|
|
4
3
|
outputType: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codecs.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/workers/media-optimization/codecs.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"codecs.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/workers/media-optimization/codecs.js"],"names":[],"mappings":"AA0IA;;;GAgFC;AAED;;;GA8BC"}
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from "@ember/component/template-only";
|
|
2
|
+
interface DButtonTooltipSignature {
|
|
3
|
+
Element: HTMLDivElement;
|
|
4
|
+
Blocks: {
|
|
5
|
+
/** The action button, rendered first. */
|
|
6
|
+
button: [];
|
|
7
|
+
/**
|
|
8
|
+
* The tooltip trigger rendered next to the button, typically a
|
|
9
|
+
* `<DTooltip />`. It is often shown conditionally, e.g. an info icon that
|
|
10
|
+
* appears only while the button is disabled to explain why.
|
|
11
|
+
*/
|
|
12
|
+
tooltip: [];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Lays out an action button beside a tooltip trigger so the two sit inline
|
|
17
|
+
* together, sharing a single wrapper. This keeps a button and an adjacent
|
|
18
|
+
* explanatory tooltip aligned without the caller styling the pairing itself.
|
|
19
|
+
*/
|
|
20
|
+
declare const DButtonTooltip: TemplateOnlyComponent<DButtonTooltipSignature>;
|
|
1
21
|
export default DButtonTooltip;
|
|
2
|
-
declare const DButtonTooltip: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
|
|
3
22
|
//# sourceMappingURL=d-button-tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-button-tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-button-tooltip.
|
|
1
|
+
{"version":3,"file":"d-button-tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-button-tooltip.gts"],"names":[],"mappings":"AAAA,OA+BO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,UAAU,uBAAuB;IAC/B,OAAO,EAAE,cAAc,CAAC;IACxB,MAAM,EAAE;QACN,yCAAyC;QACzC,MAAM,EAAE,EAAE,CAAC;QAEX;;;;WAIG;QACH,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;GAIG;AACH,QAAA,MAAM,cAAc,EAAE,qBAAqB,CAAC,uBAAuB,CAcjE,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from "@ember/component/template-only";
|
|
2
|
+
import type { ToastComponentArgs } from "discourse/float-kit/lib/constants";
|
|
3
|
+
interface DDefaultToastSignature {
|
|
4
|
+
Element: HTMLDivElement;
|
|
5
|
+
Args: ToastComponentArgs;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The default component rendered inside a toast when the caller does not supply
|
|
9
|
+
* one. It lays out the toast's icon, title, message, and action buttons from
|
|
10
|
+
* `@data`, an optional auto-close progress bar, and a close button, applying the
|
|
11
|
+
* theme in `@data.theme` (e.g. `"success"` or `"error"`).
|
|
12
|
+
*/
|
|
13
|
+
declare const DDefaultToast: TemplateOnlyComponent<DDefaultToastSignature>;
|
|
1
14
|
export default DDefaultToast;
|
|
2
|
-
declare const DDefaultToast: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
|
|
3
15
|
//# sourceMappingURL=d-default-toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-default-toast.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-default-toast.
|
|
1
|
+
{"version":3,"file":"d-default-toast.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-default-toast.gts"],"names":[],"mappings":"AAAA,OAiFO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAI5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAM5E,UAAU,sBAAsB;IAC9B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED;;;;;GAKG;AACH,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAmI/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1,5 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import Component from "@glimmer/component";
|
|
2
|
+
import type FloatKitInstance from "discourse/float-kit/lib/float-kit-instance";
|
|
3
|
+
interface DFloatBodySignature {
|
|
4
|
+
Element: HTMLDivElement;
|
|
5
|
+
Args: {
|
|
6
|
+
/** The float instance this body renders. */
|
|
7
|
+
instance: FloatKitInstance;
|
|
8
|
+
/** Whether to render in place instead of into the portal outlet. */
|
|
9
|
+
inline?: boolean | null;
|
|
10
|
+
/** A class added to the outer float element. */
|
|
11
|
+
mainClass?: string;
|
|
12
|
+
/** A class added to the inner content element. */
|
|
13
|
+
innerClass?: string;
|
|
14
|
+
/** The ARIA role for the content. */
|
|
15
|
+
role?: string;
|
|
16
|
+
/** Whether to trap Tab focus within the content. */
|
|
17
|
+
trapTab?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The element to render into. Some callers forward this even though the body
|
|
20
|
+
* reads `@instance.portalOutletElement`.
|
|
21
|
+
*/
|
|
22
|
+
portalOutletElement?: HTMLElement | null;
|
|
23
|
+
};
|
|
24
|
+
Blocks: {
|
|
25
|
+
/** The float content, rendered inside the positioned element. */
|
|
26
|
+
default: [];
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The shared content body that both menus and tooltips render through. It
|
|
31
|
+
* portals the content (see `DFloatPortal`), positions it against the trigger
|
|
32
|
+
* with floating-ui, and wires the dismissal and focus behaviors the instance
|
|
33
|
+
* asks for in its options: close on click-outside, Escape, or scroll, and a Tab
|
|
34
|
+
* focus trap. It reads all of that from `@instance`, so callers only supply the
|
|
35
|
+
* instance plus a few presentational overrides.
|
|
36
|
+
*/
|
|
37
|
+
export default class DFloatBody extends Component<DFloatBodySignature> {
|
|
3
38
|
closeOnScroll: import("ember-modifier").FunctionBasedModifier<{
|
|
4
39
|
Args: {
|
|
5
40
|
Positional: unknown[];
|
|
@@ -12,15 +47,15 @@ export default class DFloatBody extends Component<any> {
|
|
|
12
47
|
Positional: unknown[];
|
|
13
48
|
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
14
49
|
};
|
|
15
|
-
Element:
|
|
50
|
+
Element: HTMLElement;
|
|
16
51
|
}>;
|
|
17
|
-
get supportsCloseOnClickOutside():
|
|
18
|
-
get supportsCloseOnEscape():
|
|
19
|
-
get supportsCloseOnScroll():
|
|
20
|
-
get trigger():
|
|
21
|
-
get content():
|
|
22
|
-
get options():
|
|
52
|
+
get supportsCloseOnClickOutside(): boolean;
|
|
53
|
+
get supportsCloseOnEscape(): boolean;
|
|
54
|
+
get supportsCloseOnScroll(): boolean;
|
|
55
|
+
get trigger(): import("@floating-ui/dom").ReferenceElement;
|
|
56
|
+
get content(): HTMLElement;
|
|
57
|
+
get options(): import("../lib/constants").TooltipOptions;
|
|
23
58
|
get style(): import("@ember/template").TrustedHTML;
|
|
24
59
|
}
|
|
25
|
-
|
|
60
|
+
export {};
|
|
26
61
|
//# sourceMappingURL=d-float-body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-float-body.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-body.
|
|
1
|
+
{"version":3,"file":"d-float-body.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-body.gts"],"names":[],"mappings":"AAAA,OA8JO,SAAS,MAAM,oBAAoB,CAAC;AAK3C,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAQ/E,UAAU,mBAAmB;IAC3B,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,4CAA4C;QAC5C,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAExB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB;;;WAGG;QACH,mBAAmB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;KAC1C,CAAC;IACF,MAAM,EAAE;QACN,iEAAiE;QACjE,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,SAAS,CAAC,mBAAmB,CAAC;IACpE,aAAa;;;;;;OAYV;IAEH,0BAA0B;;;;;;OAWvB;IAEH,IAAI,2BAA2B,YAE9B;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,OAAO,gDAEV;IAED,IAAI,OAAO,gBAEV;IAED,IAAI,OAAO,8CAEV;IAED,IAAI,KAAK,0CAOR;CAuDF"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
export default class DFloatPortal extends Component<any> {
|
|
2
|
-
constructor(owner: import("@ember/-internals/owner").default, args: any);
|
|
3
|
-
get inline(): any;
|
|
4
|
-
}
|
|
5
1
|
import Component from "@glimmer/component";
|
|
2
|
+
interface DFloatPortalSignature {
|
|
3
|
+
Args: {
|
|
4
|
+
/** Whether to render in place instead of into the portal outlet. */
|
|
5
|
+
inline?: boolean | null;
|
|
6
|
+
/** The element to render into, instead of the default portal outlet. */
|
|
7
|
+
portalOutletElement?: HTMLElement | null;
|
|
8
|
+
};
|
|
9
|
+
Blocks: {
|
|
10
|
+
/** The content to render in place or teleport into the portal outlet. */
|
|
11
|
+
default: [];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The lowest-level teleport primitive shared by every float. It either renders
|
|
16
|
+
* its content in place or moves it (via `{{in-element}}`) into a portal outlet
|
|
17
|
+
* mounted near the document root, so the content escapes any `overflow` clipping
|
|
18
|
+
* or stacking context of its trigger. Rendering is forced in place under tests,
|
|
19
|
+
* where there is no portal outlet to teleport into.
|
|
20
|
+
*/
|
|
21
|
+
export default class DFloatPortal extends Component<DFloatPortalSignature> {
|
|
22
|
+
get inline(): boolean;
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
6
25
|
//# sourceMappingURL=d-float-portal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-float-portal.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-portal.
|
|
1
|
+
{"version":3,"file":"d-float-portal.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-float-portal.gts"],"names":[],"mappings":"AAAA,OAuCO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAExB,wEAAwE;QACxE,mBAAmB,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;KAC1C,CAAC;IACF,MAAM,EAAE;QACN,yEAAyE;QACzE,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACxE,IAAI,MAAM,YAET;CAiBF"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from "@ember/component/template-only";
|
|
2
|
+
import type DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
|
|
3
|
+
interface DHeadlessMenuSignature {
|
|
4
|
+
Args: {
|
|
5
|
+
/** The menu instance to render. */
|
|
6
|
+
menu: DMenuInstance;
|
|
7
|
+
/** Whether to render in place instead of into the portal outlet. */
|
|
8
|
+
inline?: boolean | null;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders a menu instance created through the `menu` service, whose trigger
|
|
13
|
+
* lives elsewhere in the DOM rather than being owned by this component. It is
|
|
14
|
+
* mounted once by `DMenus` at the app root, which iterates every registered
|
|
15
|
+
* menu with a detached trigger. Compare `DMenu`, the declarative component that
|
|
16
|
+
* owns both its trigger and its instance.
|
|
17
|
+
*/
|
|
18
|
+
declare const DHeadlessMenu: TemplateOnlyComponent<DHeadlessMenuSignature>;
|
|
1
19
|
export default DHeadlessMenu;
|
|
2
|
-
declare const DHeadlessMenu: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
|
|
3
20
|
//# sourceMappingURL=d-headless-menu.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-headless-menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-menu.
|
|
1
|
+
{"version":3,"file":"d-headless-menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-menu.gts"],"names":[],"mappings":"AAAA,OAiCO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,KAAK,aAAa,MAAM,yCAAyC,CAAC;AAEzE,UAAU,sBAAsB;IAC9B,IAAI,EAAE;QACJ,mCAAmC;QACnC,IAAI,EAAE,aAAa,CAAC;QAEpB,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,qBAAqB,CAAC,sBAAsB,CAW/D,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
import type { TemplateOnlyComponent } from "@ember/component/template-only";
|
|
2
|
+
import type DTooltipInstance from "discourse/float-kit/lib/d-tooltip-instance";
|
|
3
|
+
interface DHeadlessTooltipSignature {
|
|
4
|
+
Args: {
|
|
5
|
+
/** The tooltip instance to render. */
|
|
6
|
+
tooltip: DTooltipInstance;
|
|
7
|
+
/** Whether to render in place instead of into the portal outlet. */
|
|
8
|
+
inline?: boolean | null;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Renders a tooltip instance created through the `tooltip` service, whose
|
|
13
|
+
* trigger lives elsewhere in the DOM rather than being owned by this component.
|
|
14
|
+
* It is mounted once by `DTooltips` at the app root, which iterates every
|
|
15
|
+
* registered tooltip with a detached trigger. Compare `DTooltip`, the
|
|
16
|
+
* declarative component that owns both its trigger and its instance.
|
|
17
|
+
*/
|
|
18
|
+
declare const DHeadlessTooltip: TemplateOnlyComponent<DHeadlessTooltipSignature>;
|
|
1
19
|
export default DHeadlessTooltip;
|
|
2
|
-
declare const DHeadlessTooltip: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
|
|
3
20
|
//# sourceMappingURL=d-headless-tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-headless-tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-tooltip.
|
|
1
|
+
{"version":3,"file":"d-headless-tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-headless-tooltip.gts"],"names":[],"mappings":"AAAA,OAmCO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAE5E,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAG/E,UAAU,yBAAyB;IACjC,IAAI,EAAE;QACJ,sCAAsC;QACtC,OAAO,EAAE,gBAAgB,CAAC;QAE1B,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;GAMG;AACH,QAAA,MAAM,gBAAgB,EAAE,qBAAqB,CAAC,yBAAyB,CAYrE,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,6 +1,33 @@
|
|
|
1
|
-
export default class DInlineFloat extends Component<any> {
|
|
2
|
-
constructor(owner: import("@ember/-internals/owner").default, args: any);
|
|
3
|
-
site: any;
|
|
4
|
-
}
|
|
5
1
|
import Component from "@glimmer/component";
|
|
2
|
+
import type FloatKitInstance from "discourse/float-kit/lib/float-kit-instance";
|
|
3
|
+
import type Site from "discourse/models/site";
|
|
4
|
+
interface DInlineFloatSignature {
|
|
5
|
+
Args: {
|
|
6
|
+
/** The float instance to render. */
|
|
7
|
+
instance: FloatKitInstance;
|
|
8
|
+
/** Whether to trap Tab focus within the content. */
|
|
9
|
+
trapTab?: boolean;
|
|
10
|
+
/** A class added to the outer float element. */
|
|
11
|
+
mainClass?: string;
|
|
12
|
+
/** A class added to the inner content element. */
|
|
13
|
+
innerClass?: string;
|
|
14
|
+
/** The ARIA role for the content. */
|
|
15
|
+
role?: string;
|
|
16
|
+
/** Whether to render in place instead of into the portal outlet. */
|
|
17
|
+
inline?: boolean | null;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Renders an already-created float instance, choosing how to present it: a
|
|
22
|
+
* full-screen modal on mobile when the instance opts into `modalForMobile`, and
|
|
23
|
+
* otherwise the standard positioned body (see `DFloatBody`). It only renders
|
|
24
|
+
* while the instance is expanded. This is the render path for floats created
|
|
25
|
+
* through the service API, whose trigger lives elsewhere (see `DHeadlessMenu`
|
|
26
|
+
* and `DHeadlessTooltip`); the declarative components render their own body
|
|
27
|
+
* inline instead.
|
|
28
|
+
*/
|
|
29
|
+
export default class DInlineFloat extends Component<DInlineFloatSignature> {
|
|
30
|
+
site: Site;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
6
33
|
//# sourceMappingURL=d-inline-float.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"d-inline-float.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-inline-float.
|
|
1
|
+
{"version":3,"file":"d-inline-float.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/components/d-inline-float.gts"],"names":[],"mappings":"AAAA,OAyFO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAC/E,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,oCAAoC;QACpC,QAAQ,EAAE,gBAAgB,CAAC;QAE3B,oDAAoD;QACpD,OAAO,CAAC,EAAE,OAAO,CAAC;QAElB,gDAAgD;QAChD,SAAS,CAAC,EAAE,MAAM,CAAC;QAEnB,kDAAkD;QAClD,UAAU,CAAC,EAAE,MAAM,CAAC;QAEpB,qCAAqC;QACrC,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,oEAAoE;QACpE,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KACzB,CAAC;CACH;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,SAAS,CAAC,qBAAqB,CAAC;IACvD,IAAI,EAAE,IAAI,CAAC;CA0D7B"}
|
|
@@ -1,35 +1,99 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import Component from "@glimmer/component";
|
|
2
|
+
import { type ComponentLike } from "@glint/template";
|
|
3
|
+
import { type FloatCallback, type MenuOptions } from "discourse/float-kit/lib/constants";
|
|
4
|
+
import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
|
|
5
|
+
import type Site from "discourse/models/site";
|
|
6
|
+
/** The object yielded to each of the menu's blocks and passed to a rendered component. */
|
|
7
|
+
export interface DMenuComponentArgs<Data = unknown> {
|
|
8
|
+
/** Closes the menu. */
|
|
9
|
+
close: FloatCallback;
|
|
10
|
+
/** Opens the menu. */
|
|
11
|
+
show: FloatCallback;
|
|
12
|
+
/** The `@data` passed to the menu. */
|
|
13
|
+
data?: Data;
|
|
14
|
+
}
|
|
15
|
+
type DMenuOptionArgs<Data> = Partial<Omit<MenuOptions, "data" | "component" | "onRegisterApi">> & {
|
|
16
|
+
/** The data passed to the content block and rendered component. */
|
|
17
|
+
data?: Data;
|
|
18
|
+
/** A component rendered as the content; it receives the `@data` and `@close` arguments. */
|
|
19
|
+
component?: ComponentLike<{
|
|
20
|
+
Args: {
|
|
21
|
+
data?: Data;
|
|
22
|
+
close?: FloatCallback;
|
|
23
|
+
};
|
|
24
|
+
}>;
|
|
25
|
+
/** Called with the menu instance when it is created, so callers can control it programmatically. */
|
|
26
|
+
onRegisterApi?: (instance: DMenuInstance) => void;
|
|
27
|
+
};
|
|
28
|
+
interface DMenuSignature<Data = unknown> {
|
|
29
|
+
Element: HTMLElement;
|
|
30
|
+
Args: DMenuOptionArgs<Data> & {
|
|
31
|
+
/** Called on keydown on the default trigger button. */
|
|
32
|
+
onKeydown?: (event: KeyboardEvent) => unknown;
|
|
33
|
+
/** A component rendered as the trigger, instead of the default button. */
|
|
34
|
+
triggerComponent?: ComponentLike;
|
|
35
|
+
/** The icon ID for the default trigger button. */
|
|
36
|
+
icon?: string;
|
|
37
|
+
/** The label for the default trigger button. */
|
|
38
|
+
label?: string;
|
|
39
|
+
/** The aria-label for the default trigger button. */
|
|
40
|
+
ariaLabel?: string;
|
|
41
|
+
/** The title for the default trigger button. */
|
|
42
|
+
title?: string;
|
|
43
|
+
/** Whether the default trigger button is disabled. */
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
/** Whether the default trigger button shows a loading state. */
|
|
46
|
+
isLoading?: boolean;
|
|
47
|
+
};
|
|
48
|
+
Blocks: {
|
|
49
|
+
/** The menu content; takes precedence over the `content` block. Yields the menu api. */
|
|
50
|
+
default: [DMenuComponentArgs<Data>];
|
|
51
|
+
/** Rendered as the trigger, replacing the default button. Yields the menu api. */
|
|
52
|
+
trigger: [DMenuComponentArgs<Data>];
|
|
53
|
+
/** The menu content, used when no default block is given. Yields the menu api. */
|
|
54
|
+
content: [DMenuComponentArgs<Data>];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The declarative menu component: it renders a trigger (the default button, a
|
|
59
|
+
* supplied `triggerComponent`, or a `trigger` block) and, while open, the menu
|
|
60
|
+
* content in a positioned float. It creates and owns its own `DMenuInstance`,
|
|
61
|
+
* populating the instance options from its arguments, so a template can drop in
|
|
62
|
+
* a menu without touching the `menu` service. For a menu whose trigger is
|
|
63
|
+
* managed separately through that service, see `DHeadlessMenu`.
|
|
64
|
+
*/
|
|
65
|
+
export default class DMenu<Data = unknown> extends Component<DMenuSignature<Data>> {
|
|
66
|
+
#private;
|
|
67
|
+
site: Site;
|
|
4
68
|
menuInstance: DMenuInstance;
|
|
5
69
|
registerTrigger: import("ember-modifier").FunctionBasedModifier<{
|
|
6
70
|
Args: {
|
|
7
71
|
Positional: unknown[];
|
|
8
72
|
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
9
73
|
};
|
|
10
|
-
Element:
|
|
74
|
+
Element: HTMLElement;
|
|
11
75
|
}>;
|
|
12
76
|
registerFloatBody: import("ember-modifier").FunctionBasedModifier<{
|
|
13
77
|
Args: {
|
|
14
78
|
Positional: unknown[];
|
|
15
79
|
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
16
80
|
};
|
|
17
|
-
Element:
|
|
81
|
+
Element: HTMLElement;
|
|
18
82
|
}>;
|
|
19
|
-
body: Element;
|
|
20
83
|
teardownFloatBody(): void;
|
|
21
|
-
forwardTabToContent(event:
|
|
22
|
-
get options():
|
|
23
|
-
get componentArgs():
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
84
|
+
forwardTabToContent(event: KeyboardEvent): unknown;
|
|
85
|
+
get options(): MenuOptions;
|
|
86
|
+
get componentArgs(): DMenuComponentArgs<Data>;
|
|
87
|
+
get triggerComponent(): ComponentLike<{
|
|
88
|
+
Element: HTMLElement;
|
|
89
|
+
Args: {
|
|
90
|
+
componentArgs?: DMenuComponentArgs<Data>;
|
|
91
|
+
};
|
|
92
|
+
Blocks: {
|
|
93
|
+
default: [];
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
96
|
+
get allowedProperties(): Record<string, unknown>;
|
|
32
97
|
}
|
|
33
|
-
|
|
34
|
-
import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
|
|
98
|
+
export {};
|
|
35
99
|
//# sourceMappingURL=d-menu.d.ts.map
|