@discourse/types 2026.8.0-b88e77d4 → 2026.9.0-eb242063
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-badges-show.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/components.d.ts.map +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
- package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-plugin-config-page.d.ts +1 -0
- package/declarations/admin/components/admin-plugin-config-page.d.ts.map +1 -1
- package/declarations/admin/components/admin-plugins-list-item.d.ts.map +1 -1
- package/declarations/admin/components/admin-report-stacked-chart.d.ts +1 -1
- package/declarations/admin/components/admin-report-stacked-chart.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/engagement/headline.d.ts +4 -3
- package/declarations/admin/components/dashboard/engagement/headline.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/report-error-state.d.ts +3 -0
- package/declarations/admin/components/dashboard/report-error-state.d.ts.map +1 -0
- package/declarations/admin/components/dashboard/reports.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/search.d.ts +5 -3
- package/declarations/admin/components/dashboard/search.d.ts.map +1 -1
- package/declarations/admin/components/dashboard/traffic.d.ts +8 -0
- package/declarations/admin/components/dashboard/traffic.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-localizations.d.ts.map +1 -1
- package/declarations/admin/components/edit-category-panel.d.ts +0 -5
- package/declarations/admin/components/edit-category-panel.d.ts.map +1 -1
- package/declarations/admin/components/form-template/form.d.ts.map +1 -1
- package/declarations/admin/components/modal/badge-preview.d.ts.map +1 -1
- package/declarations/admin/components/redesigned-admin-dashboard.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/field.d.ts +2 -1
- package/declarations/admin/components/schema-setting/field.d.ts.map +1 -1
- package/declarations/admin/components/schema-setting/types/icon.d.ts +10 -0
- package/declarations/admin/components/schema-setting/types/icon.d.ts.map +1 -0
- package/declarations/admin/components/site-setting.d.ts +12 -1
- package/declarations/admin/components/site-setting.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/icon.d.ts.map +1 -1
- package/declarations/admin/components/site-settings/integer.d.ts +0 -1
- package/declarations/admin/components/site-settings/integer.d.ts.map +1 -1
- package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts +21 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-card.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts +10 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-modal.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-breakdown-row.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts +8 -0
- package/declarations/admin/components/site-traffic-explorer-dimension-label.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts +16 -0
- package/declarations/admin/components/site-traffic-explorer-filter-pills.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-metric.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-metric.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts +3 -0
- package/declarations/admin/components/site-traffic-explorer-pageview-count.d.ts.map +1 -0
- package/declarations/admin/components/site-traffic-explorer.d.ts +67 -0
- package/declarations/admin/components/site-traffic-explorer.d.ts.map +1 -0
- package/declarations/admin/components/upsert-category/appearance.d.ts +6 -10
- package/declarations/admin/components/upsert-category/appearance.d.ts.map +1 -1
- package/declarations/admin/components/version-checks.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/dashboard/general.d.ts +1 -2
- package/declarations/admin/controllers/admin/dashboard/general.d.ts.map +1 -1
- package/declarations/admin/controllers/admin/dashboard.d.ts +1 -3
- package/declarations/admin/controllers/admin/dashboard.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts +2 -0
- package/declarations/admin/controllers/admin-customize-themes/show/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-plugins/index.d.ts +0 -3
- package/declarations/admin/controllers/admin-plugins/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-plugins.d.ts +2 -2
- package/declarations/admin/controllers/admin-plugins.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-search-logs/index.d.ts +2 -1
- package/declarations/admin/controllers/admin-search-logs/index.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-search-logs/term.d.ts +2 -1
- package/declarations/admin/controllers/admin-search-logs/term.d.ts.map +1 -1
- package/declarations/admin/controllers/admin-site-traffic.d.ts +50 -0
- package/declarations/admin/controllers/admin-site-traffic.d.ts.map +1 -0
- package/declarations/admin/controllers/admin-watched-words/action.d.ts +2 -0
- package/declarations/admin/controllers/admin-watched-words/action.d.ts.map +1 -1
- package/declarations/admin/lib/color-scheme-manager.d.ts +44 -0
- package/declarations/admin/lib/color-scheme-manager.d.ts.map +1 -1
- package/declarations/admin/lib/constants.d.ts.map +1 -1
- package/declarations/admin/lib/dashboard-format.d.ts +1 -0
- package/declarations/admin/lib/dashboard-format.d.ts.map +1 -1
- package/declarations/admin/lib/engagement-headline.d.ts +2 -0
- package/declarations/admin/lib/engagement-headline.d.ts.map +1 -0
- package/declarations/admin/lib/format-pageview-count.d.ts +4 -0
- package/declarations/admin/lib/format-pageview-count.d.ts.map +1 -0
- package/declarations/admin/lib/search-headline.d.ts +2 -0
- package/declarations/admin/lib/search-headline.d.ts.map +1 -0
- package/declarations/admin/models/admin-dashboard.d.ts +1 -1
- package/declarations/admin/models/admin-dashboard.d.ts.map +1 -1
- package/declarations/admin/models/site-setting.d.ts +2 -0
- 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-route-map.d.ts.map +1 -1
- package/declarations/admin/routes/admin-site-traffic.d.ts +52 -0
- package/declarations/admin/routes/admin-site-traffic.d.ts.map +1 -0
- package/declarations/admin/routes/new-category.d.ts.map +1 -1
- package/declarations/admin/services/admin-emojis.d.ts.map +1 -1
- package/declarations/admin/templates/admin-site-traffic-loading.d.ts +3 -0
- package/declarations/admin/templates/admin-site-traffic-loading.d.ts.map +1 -0
- package/declarations/admin/templates/admin-site-traffic.d.ts +3 -0
- package/declarations/admin/templates/admin-site-traffic.d.ts.map +1 -0
- package/declarations/app/adapters/topic-list.d.ts +2 -1
- package/declarations/app/adapters/topic-list.d.ts.map +1 -1
- package/declarations/app/app.d.ts +1 -1
- package/declarations/app/blocks/block-outlet.d.ts +51 -76
- package/declarations/app/blocks/block-outlet.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/block-group.d.ts +10 -4
- package/declarations/app/blocks/builtin/block-group.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/block-head.d.ts +19 -11
- package/declarations/app/blocks/builtin/block-head.d.ts.map +1 -1
- package/declarations/app/blocks/builtin/index.d.ts +30 -0
- package/declarations/app/blocks/builtin/index.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/condition.d.ts +71 -52
- package/declarations/app/blocks/conditions/condition.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/decorator.d.ts +29 -20
- package/declarations/app/blocks/conditions/decorator.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/index.d.ts +2 -0
- package/declarations/app/blocks/conditions/index.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/outlet-arg.d.ts +17 -36
- package/declarations/app/blocks/conditions/outlet-arg.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/route.d.ts +19 -21
- package/declarations/app/blocks/conditions/route.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/setting.d.ts +21 -28
- package/declarations/app/blocks/conditions/setting.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/user.d.ts +23 -14
- package/declarations/app/blocks/conditions/user.d.ts.map +1 -1
- package/declarations/app/blocks/conditions/viewport.d.ts +17 -18
- package/declarations/app/blocks/conditions/viewport.d.ts.map +1 -1
- package/declarations/app/blocks/index.d.ts +7 -0
- package/declarations/app/blocks/index.d.ts.map +1 -1
- package/declarations/app/blocks/types.d.ts +153 -0
- package/declarations/app/blocks/types.d.ts.map +1 -0
- package/declarations/app/components/about-page-extra-groups.d.ts.map +1 -1
- package/declarations/app/components/ace-editor.d.ts +3 -0
- package/declarations/app/components/ace-editor.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/banner.d.ts +8 -1
- package/declarations/app/components/admin-onboarding/banner.d.ts.map +1 -1
- package/declarations/app/components/admin-onboarding/step.d.ts +2 -2
- package/declarations/app/components/admin-onboarding/step.d.ts.map +1 -1
- package/declarations/app/components/advanced-mode-toggle.d.ts +6 -2
- package/declarations/app/components/advanced-mode-toggle.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 +1 -0
- package/declarations/app/components/bulk-select-topics-dropdown.d.ts.map +1 -1
- package/declarations/app/components/categories-boxes.d.ts +2 -0
- package/declarations/app/components/categories-boxes.d.ts.map +1 -1
- package/declarations/app/components/category-list-item.d.ts +4 -0
- package/declarations/app/components/category-list-item.d.ts.map +1 -1
- package/declarations/app/components/code-login-form.d.ts.map +1 -1
- package/declarations/app/components/composer-action-title.d.ts +0 -8
- package/declarations/app/components/composer-action-title.d.ts.map +1 -1
- package/declarations/app/components/{composer-actions-new.d.ts → composer-actions.d.ts} +1 -1
- package/declarations/app/components/composer-actions.d.ts.map +1 -0
- package/declarations/app/components/composer-body.d.ts +1 -1
- package/declarations/app/components/composer-body.d.ts.map +1 -1
- package/declarations/app/components/composer-container.d.ts +4 -2
- package/declarations/app/components/composer-container.d.ts.map +1 -1
- package/declarations/app/components/composer-editor.d.ts +3 -0
- package/declarations/app/components/composer-editor.d.ts.map +1 -1
- package/declarations/app/components/composer-messages.d.ts.map +1 -1
- package/declarations/app/components/create-topic-button.d.ts +5 -0
- package/declarations/app/components/create-topic-button.d.ts.map +1 -1
- package/declarations/app/components/design-wizard/colors-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/colors-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/controls.d.ts +23 -0
- package/declarations/app/components/design-wizard/controls.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/fonts-section.d.ts +9 -0
- package/declarations/app/components/design-wizard/fonts-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/homepage-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/homepage-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/section.d.ts +3 -0
- package/declarations/app/components/design-wizard/section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard/theme-section.d.ts +3 -0
- package/declarations/app/components/design-wizard/theme-section.d.ts.map +1 -0
- package/declarations/app/components/design-wizard-panel.d.ts +9 -0
- package/declarations/app/components/design-wizard-panel.d.ts.map +1 -0
- package/declarations/app/components/docked-composer.d.ts.map +1 -1
- package/declarations/app/components/form-template-field/composer.d.ts +8 -1
- package/declarations/app/components/form-template-field/composer.d.ts.map +1 -1
- package/declarations/app/components/group-flair-inputs.d.ts +0 -1
- package/declarations/app/components/group-flair-inputs.d.ts.map +1 -1
- package/declarations/app/components/header/icons.d.ts.map +1 -1
- package/declarations/app/components/header/topic/info.d.ts.map +1 -1
- package/declarations/app/components/invite-panel.d.ts.map +1 -1
- package/declarations/app/components/language-switcher.d.ts.map +1 -1
- package/declarations/app/components/modal/bookmark.d.ts.map +1 -1
- package/declarations/app/components/modal/bulk-topic-actions.d.ts.map +1 -1
- package/declarations/app/components/modal/content-language-preferences.d.ts +3 -1
- package/declarations/app/components/modal/content-language-preferences.d.ts.map +1 -1
- package/declarations/app/components/modal/create-invite-with-roles.d.ts +11 -3
- package/declarations/app/components/modal/create-invite-with-roles.d.ts.map +1 -1
- package/declarations/app/components/modal/create-invite.d.ts.map +1 -1
- package/declarations/app/components/modal/flag.d.ts +2 -2
- package/declarations/app/components/modal/history.d.ts +1 -1
- package/declarations/app/components/modal/keyboard-shortcuts-help.d.ts.map +1 -1
- package/declarations/app/components/modal/sidebar-section-form.d.ts +53 -19
- package/declarations/app/components/modal/sidebar-section-form.d.ts.map +1 -1
- package/declarations/app/components/parent-category-row.d.ts +1 -0
- package/declarations/app/components/parent-category-row.d.ts.map +1 -1
- package/declarations/app/components/plugin-outlet.d.ts +11 -1
- package/declarations/app/components/plugin-outlet.d.ts.map +1 -1
- package/declarations/app/components/post/menu/liked-users-list.d.ts +2 -13
- 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.map +1 -1
- package/declarations/app/components/post-stream.d.ts +2 -5
- 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/reviewable/index.d.ts +2 -5
- package/declarations/app/components/reviewable/index.d.ts.map +1 -1
- package/declarations/app/components/reviewable/insights.d.ts.map +1 -1
- package/declarations/app/components/reviewable/item.d.ts +10 -12
- package/declarations/app/components/reviewable/item.d.ts.map +1 -1
- package/declarations/app/components/reviewable/timeline.d.ts +1 -7
- package/declarations/app/components/reviewable/timeline.d.ts.map +1 -1
- package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
- package/declarations/app/components/reviewable-bundled-action.d.ts.map +1 -1
- package/declarations/app/components/setting-definition-field.d.ts.map +1 -1
- package/declarations/app/components/setting-field/category.d.ts +7 -0
- package/declarations/app/components/setting-field/category.d.ts.map +1 -0
- package/declarations/app/components/setting-field/enum.d.ts +5 -0
- package/declarations/app/components/setting-field/enum.d.ts.map +1 -1
- package/declarations/app/components/setting-field/group.d.ts +9 -0
- package/declarations/app/components/setting-field/group.d.ts.map +1 -0
- package/declarations/app/components/setting-field/icon.d.ts +3 -0
- package/declarations/app/components/setting-field/icon.d.ts.map +1 -0
- package/declarations/app/components/setting-field/integer.d.ts +1 -0
- package/declarations/app/components/setting-field/integer.d.ts.map +1 -1
- package/declarations/app/components/setting-field/locale-enum.d.ts +5 -0
- package/declarations/app/components/setting-field/locale-enum.d.ts.map +1 -0
- package/declarations/app/components/setting-field/tag-group-list.d.ts +7 -0
- package/declarations/app/components/setting-field/tag-group-list.d.ts.map +1 -0
- package/declarations/app/components/setting-field/tag-list.d.ts +7 -0
- package/declarations/app/components/setting-field/tag-list.d.ts.map +1 -0
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/anonymous/sections.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/anonymous/tags-section.d.ts +2 -0
- package/declarations/app/components/sidebar/anonymous/tags-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/api-section.d.ts +6 -2
- package/declarations/app/components/sidebar/api-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/api-sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts +6 -2
- package/declarations/app/components/sidebar/common/all-categories-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts +6 -2
- package/declarations/app/components/sidebar/common/all-tags-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/custom-section.d.ts +1 -0
- package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/common/custom-sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-links.d.ts +2 -0
- package/declarations/app/components/sidebar/more-section-links.d.ts.map +1 -1
- package/declarations/app/components/sidebar/more-section-trigger.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-form-link.d.ts +0 -2
- package/declarations/app/components/sidebar/section-form-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section-link.d.ts.map +1 -1
- package/declarations/app/components/sidebar/section.d.ts +57 -1
- package/declarations/app/components/sidebar/section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/categories-section.d.ts +2 -0
- package/declarations/app/components/sidebar/user/categories-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/sections.d.ts +38 -0
- package/declarations/app/components/sidebar/user/sections.d.ts.map +1 -1
- package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -0
- package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
- package/declarations/app/components/sidebar.d.ts +12 -0
- package/declarations/app/components/sidebar.d.ts.map +1 -1
- package/declarations/app/components/subcategories-with-featured-topics.d.ts +1 -0
- package/declarations/app/components/subcategories-with-featured-topics.d.ts.map +1 -1
- package/declarations/app/components/tag-settings.d.ts.map +1 -1
- package/declarations/app/components/topic-bookmarks-menu.d.ts +1 -1
- package/declarations/app/components/topic-category.d.ts.map +1 -1
- package/declarations/app/components/topic-dismiss-buttons.d.ts.map +1 -1
- package/declarations/app/components/topic-drafts-dropdown.d.ts.map +1 -1
- package/declarations/app/components/topic-footer-buttons.d.ts +0 -2
- package/declarations/app/components/topic-footer-buttons.d.ts.map +1 -1
- package/declarations/app/components/topic-list/header/sortable-column.d.ts +1 -0
- package/declarations/app/components/topic-list/header/sortable-column.d.ts.map +1 -1
- package/declarations/app/components/topic-post-badges.d.ts.map +1 -1
- package/declarations/app/components/topic-timeline/container.d.ts.map +1 -1
- package/declarations/app/components/topic-timeline/scroller.d.ts.map +1 -1
- package/declarations/app/components/user/users-popup.d.ts +7 -0
- package/declarations/app/components/user/users-popup.d.ts.map +1 -1
- package/declarations/app/components/user-menu/bookmarks-list.d.ts.map +1 -1
- package/declarations/app/components/user-menu/items-list.d.ts +1 -1
- package/declarations/app/components/user-menu/items-list.d.ts.map +1 -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.map +1 -1
- package/declarations/app/components/user-menu/notifications-list.d.ts.map +1 -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.map +1 -1
- package/declarations/app/components/welcome-banner.d.ts.map +1 -1
- package/declarations/app/controllers/exception.d.ts +5 -6
- package/declarations/app/controllers/exception.d.ts.map +1 -1
- package/declarations/app/controllers/full-page-search.d.ts.map +1 -1
- package/declarations/app/controllers/preferences/interface.d.ts +0 -1
- package/declarations/app/controllers/preferences/interface.d.ts.map +1 -1
- package/declarations/app/controllers/topic.d.ts.map +1 -1
- package/declarations/app/deprecation-workflow.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/checkbox.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/icon.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/input.d.ts +2 -0
- package/declarations/app/form-kit/components/fk/control/input.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/password.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/control/tag-chooser.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/field-data.d.ts +15 -4
- package/declarations/app/form-kit/components/fk/field-data.d.ts.map +1 -1
- package/declarations/app/form-kit/components/fk/form.d.ts.map +1 -1
- package/declarations/app/form-kit/lib/constants.d.ts +0 -1
- package/declarations/app/form-kit/lib/constants.d.ts.map +1 -1
- package/declarations/app/form-kit/lib/validator.d.ts.map +1 -1
- package/declarations/app/helpers/category-list-subcategories.d.ts +30 -0
- package/declarations/app/helpers/category-list-subcategories.d.ts.map +1 -0
- package/declarations/app/initializers/dev-tools.d.ts +10 -3
- package/declarations/app/initializers/dev-tools.d.ts.map +1 -1
- package/declarations/app/initializers/freeze-block-registry.d.ts +21 -6
- package/declarations/app/initializers/freeze-block-registry.d.ts.map +1 -1
- package/declarations/app/instance-initializers/topic-footer-buttons.d.ts.map +1 -1
- package/declarations/app/instance-initializers/video-placeholder.d.ts.map +1 -1
- package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts +17 -0
- package/declarations/app/lib/-internals/drag-and-drop/consumer-may-throw.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts +64 -0
- package/declarations/app/lib/-internals/drag-and-drop/drag-dwell.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts +145 -0
- package/declarations/app/lib/-internals/drag-and-drop/drop-target-kernel.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts +63 -0
- package/declarations/app/lib/-internals/drag-and-drop/external-vocabulary.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts +60 -0
- package/declarations/app/lib/-internals/drag-and-drop/native-drag-adoption.d.ts.map +1 -0
- package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts +81 -0
- package/declarations/app/lib/-internals/drag-and-drop/vocabulary.d.ts.map +1 -0
- package/declarations/app/lib/api.d.ts +1 -0
- package/declarations/app/lib/api.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts +14 -78
- package/declarations/app/lib/blocks/-internals/components/block-layout-wrapper.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts +10 -7
- package/declarations/app/lib/blocks/-internals/components/block-outlet-inline-error.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts +21 -12
- package/declarations/app/lib/blocks/-internals/components/block-outlet-root-container.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/css.d.ts +21 -24
- package/declarations/app/lib/blocks/-internals/css.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts +193 -138
- package/declarations/app/lib/blocks/-internals/debug-hooks.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/decorator.d.ts +43 -216
- package/declarations/app/lib/blocks/-internals/decorator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts +61 -129
- package/declarations/app/lib/blocks/-internals/entry-processing.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/error.d.ts +61 -69
- package/declarations/app/lib/blocks/-internals/error.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts +18 -12
- package/declarations/app/lib/blocks/-internals/matching/condition-evaluator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts +64 -37
- package/declarations/app/lib/blocks/-internals/matching/outlet-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts +105 -106
- package/declarations/app/lib/blocks/-internals/matching/page-definitions.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts +19 -11
- package/declarations/app/lib/blocks/-internals/matching/url-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts +42 -34
- package/declarations/app/lib/blocks/-internals/matching/value-matcher.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/patterns.d.ts +85 -83
- package/declarations/app/lib/blocks/-internals/patterns.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/block.d.ts +47 -85
- package/declarations/app/lib/blocks/-internals/registry/block.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/condition.d.ts +26 -26
- package/declarations/app/lib/blocks/-internals/registry/condition.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts +54 -47
- package/declarations/app/lib/blocks/-internals/registry/helpers.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts +30 -25
- package/declarations/app/lib/blocks/-internals/registry/outlet.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/types.d.ts +58 -0
- package/declarations/app/lib/blocks/-internals/types.d.ts.map +1 -0
- package/declarations/app/lib/blocks/-internals/utils.d.ts +59 -86
- package/declarations/app/lib/blocks/-internals/utils.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/args.d.ts +178 -224
- package/declarations/app/lib/blocks/-internals/validation/args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts +32 -23
- package/declarations/app/lib/blocks/-internals/validation/block-args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts +23 -17
- package/declarations/app/lib/blocks/-internals/validation/block-decorator.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts +26 -16
- package/declarations/app/lib/blocks/-internals/validation/condition-args.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts +23 -18
- package/declarations/app/lib/blocks/-internals/validation/conditions.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts +31 -17
- package/declarations/app/lib/blocks/-internals/validation/constraints.d.ts.map +1 -1
- package/declarations/app/lib/blocks/-internals/validation/layout.d.ts +77 -85
- package/declarations/app/lib/blocks/-internals/validation/layout.d.ts.map +1 -1
- package/declarations/app/lib/blocks/index.d.ts +127 -2
- package/declarations/app/lib/blocks/index.d.ts.map +1 -1
- package/declarations/app/lib/codeblock-buttons.d.ts.map +1 -1
- package/declarations/app/lib/composer/actions-registry.d.ts +4 -0
- package/declarations/app/lib/composer/actions-registry.d.ts.map +1 -0
- package/declarations/app/lib/composer/composer-position.d.ts.map +1 -1
- package/declarations/app/lib/composer/rich-editor-extensions.d.ts +7 -0
- package/declarations/app/lib/composer/rich-editor-extensions.d.ts.map +1 -1
- package/declarations/app/lib/composer/text-manipulation.d.ts +4 -0
- package/declarations/app/lib/composer/text-manipulation.d.ts.map +1 -1
- package/declarations/app/lib/composer/toolbar.d.ts.map +1 -1
- package/declarations/app/lib/content-localization.d.ts +14 -1
- package/declarations/app/lib/content-localization.d.ts.map +1 -1
- package/declarations/app/lib/customization-source.d.ts +26 -0
- package/declarations/app/lib/customization-source.d.ts.map +1 -0
- package/declarations/app/lib/dag.d.ts +73 -79
- package/declarations/app/lib/dag.d.ts.map +1 -1
- package/declarations/app/lib/deprecated.d.ts +21 -3
- package/declarations/app/lib/deprecated.d.ts.map +1 -1
- package/declarations/app/lib/design-wizard-preview.d.ts +52 -0
- package/declarations/app/lib/design-wizard-preview.d.ts.map +1 -0
- package/declarations/app/lib/download-blob.d.ts +3 -0
- package/declarations/app/lib/download-blob.d.ts.map +1 -0
- package/declarations/app/lib/download-strategy.d.ts +2 -0
- package/declarations/app/lib/download-strategy.d.ts.map +1 -0
- package/declarations/app/lib/element-class-lease.d.ts +37 -0
- package/declarations/app/lib/element-class-lease.d.ts.map +1 -0
- package/declarations/app/lib/filter-mode.d.ts +9 -0
- package/declarations/app/lib/filter-mode.d.ts.map +1 -1
- package/declarations/app/lib/geometry.d.ts +11 -0
- package/declarations/app/lib/geometry.d.ts.map +1 -0
- package/declarations/app/lib/helpers.d.ts +43 -9
- package/declarations/app/lib/helpers.d.ts.map +1 -1
- package/declarations/app/lib/icon-library.d.ts +7 -3
- package/declarations/app/lib/icon-library.d.ts.map +1 -1
- package/declarations/app/lib/later.d.ts +3 -1
- package/declarations/app/lib/later.d.ts.map +1 -1
- package/declarations/app/lib/locale-normalizer.d.ts +11 -0
- package/declarations/app/lib/locale-normalizer.d.ts.map +1 -0
- package/declarations/app/lib/plugin-api.d.ts +36 -5
- package/declarations/app/lib/plugin-api.d.ts.map +1 -1
- package/declarations/app/lib/registry/block-outlets.d.ts +2 -2
- package/declarations/app/lib/registry/block-outlets.d.ts.map +1 -1
- package/declarations/app/lib/registry/transformers.d.ts.map +1 -1
- package/declarations/app/lib/report-client-error.d.ts +10 -0
- package/declarations/app/lib/report-client-error.d.ts.map +1 -0
- package/declarations/app/lib/resize-measurements.d.ts +43 -0
- package/declarations/app/lib/resize-measurements.d.ts.map +1 -0
- package/declarations/app/lib/reviewable-registry.d.ts +12 -0
- package/declarations/app/lib/reviewable-registry.d.ts.map +1 -0
- package/declarations/app/lib/search.d.ts.map +1 -1
- package/declarations/app/lib/setting-field-registry.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/active-link.d.ts +25 -0
- package/declarations/app/lib/sidebar/active-link.d.ts.map +1 -0
- package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts +50 -0
- package/declarations/app/lib/sidebar/base-custom-sidebar-section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/custom-sections.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/link-drop.d.ts +37 -0
- package/declarations/app/lib/sidebar/link-drop.d.ts.map +1 -0
- package/declarations/app/lib/sidebar/section.d.ts +12 -0
- package/declarations/app/lib/sidebar/section.d.ts.map +1 -1
- package/declarations/app/lib/sidebar/user/tags-section/tag-section-link.d.ts +1 -1
- package/declarations/app/lib/svg-sprite-loader.d.ts +31 -0
- package/declarations/app/lib/svg-sprite-loader.d.ts.map +1 -1
- package/declarations/app/lib/textarea-text-manipulation.d.ts.map +1 -1
- package/declarations/app/lib/url.d.ts +0 -1
- package/declarations/app/lib/url.d.ts.map +1 -1
- package/declarations/app/models/category.d.ts.map +1 -1
- package/declarations/app/models/composer.d.ts.map +1 -1
- package/declarations/app/models/post.d.ts +1 -0
- package/declarations/app/models/post.d.ts.map +1 -1
- package/declarations/app/models/reviewable-history.d.ts +2 -4
- package/declarations/app/models/reviewable-history.d.ts.map +1 -1
- package/declarations/app/models/reviewable.d.ts +40 -0
- package/declarations/app/models/reviewable.d.ts.map +1 -1
- package/declarations/app/models/site.d.ts +2 -0
- package/declarations/app/models/site.d.ts.map +1 -1
- package/declarations/app/models/topic-tracking-state.d.ts.map +1 -1
- package/declarations/app/models/user.d.ts +0 -1
- package/declarations/app/models/user.d.ts.map +1 -1
- package/declarations/app/resolver.d.ts +1 -1
- package/declarations/app/routes/application.d.ts +1 -0
- package/declarations/app/routes/application.d.ts.map +1 -1
- package/declarations/app/routes/build-category-route.d.ts.map +1 -1
- package/declarations/app/routes/user-activity-stream.d.ts +3 -3
- package/declarations/app/routes/user-activity-stream.d.ts.map +1 -1
- package/declarations/app/routes/wizard.d.ts +1 -0
- package/declarations/app/routes/wizard.d.ts.map +1 -1
- package/declarations/app/services/blocks.d.ts +41 -49
- package/declarations/app/services/blocks.d.ts.map +1 -1
- package/declarations/app/services/composer.d.ts +1 -1
- package/declarations/app/services/deprecation-warning-handler.d.ts.map +1 -1
- package/declarations/app/services/design-wizard.d.ts +46 -0
- package/declarations/app/services/design-wizard.d.ts.map +1 -0
- package/declarations/app/services/discovery.d.ts +9 -0
- package/declarations/app/services/discovery.d.ts.map +1 -1
- package/declarations/app/services/drag-and-drop.d.ts +52 -0
- package/declarations/app/services/drag-and-drop.d.ts.map +1 -0
- package/declarations/app/services/exception.d.ts +15 -0
- package/declarations/app/services/exception.d.ts.map +1 -0
- package/declarations/app/services/human-activity-tracker.d.ts +1 -1
- package/declarations/app/services/human-activity-tracker.d.ts.map +1 -1
- package/declarations/app/services/loading-slider.d.ts +3 -1
- package/declarations/app/services/loading-slider.d.ts.map +1 -1
- package/declarations/app/services/presence.d.ts +1 -1
- package/declarations/app/services/presence.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/block-info.d.ts +30 -18
- 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 +7 -8
- package/declarations/app/static/dev-tools/block-debug/button.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts +31 -9
- package/declarations/app/static/dev-tools/block-debug/conditions-tree.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts +86 -76
- package/declarations/app/static/dev-tools/block-debug/debug-logger.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/block-debug/ghost-block.d.ts +35 -84
- 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 +21 -50
- 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 +1 -1
- package/declarations/app/static/dev-tools/block-debug/patch.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/entrypoint.d.ts +2 -1
- package/declarations/app/static/dev-tools/entrypoint.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/toolbar.d.ts +11 -7
- package/declarations/app/static/dev-tools/toolbar.d.ts.map +1 -1
- package/declarations/app/static/dev-tools/tools.d.ts +15 -0
- package/declarations/app/static/dev-tools/tools.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts +3 -1
- package/declarations/app/static/prosemirror/components/prosemirror-editor.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/core/keymap.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/code-block.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/html-inline.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/mention.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/onebox.d.ts +1 -1
- package/declarations/app/static/prosemirror/extensions/quote.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/register-default.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/strong.d.ts +4 -0
- package/declarations/app/static/prosemirror/extensions/strong.d.ts.map +1 -0
- package/declarations/app/static/prosemirror/extensions/trailing-inline-space.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts +0 -1
- package/declarations/app/static/prosemirror/extensions/word-paste.d.ts.map +1 -1
- package/declarations/app/static/prosemirror/lib/text-manipulation.d.ts.map +1 -1
- package/declarations/app/templates/review/show.d.ts +2 -5
- package/declarations/app/templates/review/show.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-access-control-field.d.ts +11 -0
- package/declarations/app/ui-kit/d-access-control-field.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-access-control.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-async-content.d.ts +10 -0
- package/declarations/app/ui-kit/d-async-content.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-button.d.ts +2 -2
- package/declarations/app/ui-kit/d-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-combo-button.d.ts +74 -2
- package/declarations/app/ui-kit/d-combo-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-copy-button.d.ts +17 -8
- package/declarations/app/ui-kit/d-copy-button.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-date-input.d.ts +1 -1
- package/declarations/app/ui-kit/d-date-picker.d.ts +1 -1
- package/declarations/app/ui-kit/d-editor.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-filter-controls.d.ts +11 -1
- package/declarations/app/ui-kit/d-filter-controls.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-filter-input.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-icon-grid-picker/content.d.ts +62 -17
- 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 +6 -8
- package/declarations/app/ui-kit/d-icon-grid-picker/index.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-load-more.d.ts +78 -19
- package/declarations/app/ui-kit/d-load-more.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-modal.d.ts.map +1 -1
- package/declarations/app/ui-kit/d-resize-handles.d.ts +243 -0
- package/declarations/app/ui-kit/d-resize-handles.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-resize-separator.d.ts +222 -0
- package/declarations/app/ui-kit/d-resize-separator.d.ts.map +1 -0
- package/declarations/app/ui-kit/d-skeleton.d.ts +99 -0
- package/declarations/app/ui-kit/d-skeleton.d.ts.map +1 -0
- package/declarations/app/ui-kit/helpers/d-category-link.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts +108 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-auto-scroll.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts +80 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-external-target.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts +80 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-monitor.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts +249 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-source.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts +102 -0
- package/declarations/app/ui-kit/modifiers/d-drag-and-drop-target.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts +215 -0
- package/declarations/app/ui-kit/modifiers/d-drag-dwell.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-draggable.d.ts +15 -0
- package/declarations/app/ui-kit/modifiers/d-draggable.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts +3 -0
- package/declarations/app/ui-kit/modifiers/d-on-resize.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts +215 -0
- package/declarations/app/ui-kit/modifiers/d-pointer-drag.d.ts.map +1 -0
- package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts +101 -17
- package/declarations/app/ui-kit/modifiers/d-resize-edge.d.ts.map +1 -1
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts +8 -0
- package/declarations/app/ui-kit/modifiers/d-swipe.d.ts.map +1 -1
- package/declarations/float-kit/components/d-float-body.d.ts +39 -0
- package/declarations/float-kit/components/d-float-body.d.ts.map +1 -1
- package/declarations/float-kit/components/d-headless-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-inline-float.d.ts +8 -6
- package/declarations/float-kit/components/d-inline-float.d.ts.map +1 -1
- package/declarations/float-kit/components/d-menu.d.ts +35 -4
- package/declarations/float-kit/components/d-menu.d.ts.map +1 -1
- package/declarations/float-kit/components/d-tooltip.d.ts +2 -0
- package/declarations/float-kit/components/d-tooltip.d.ts.map +1 -1
- package/declarations/float-kit/lib/constants.d.ts +63 -4
- package/declarations/float-kit/lib/constants.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-menu-instance.d.ts +8 -2
- package/declarations/float-kit/lib/d-menu-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/d-tooltip-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/float-kit-instance.d.ts +48 -0
- package/declarations/float-kit/lib/float-kit-instance.d.ts.map +1 -1
- package/declarations/float-kit/lib/tab-order.d.ts +36 -0
- package/declarations/float-kit/lib/tab-order.d.ts.map +1 -0
- package/declarations/float-kit/lib/update-position.d.ts +11 -0
- package/declarations/float-kit/lib/update-position.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/apply-floating-ui.d.ts.map +1 -1
- package/declarations/float-kit/modifiers/notify-positioned.d.ts +19 -0
- package/declarations/float-kit/modifiers/notify-positioned.d.ts.map +1 -0
- package/declarations/float-kit/modifiers/tab-order-inline.d.ts +55 -0
- package/declarations/float-kit/modifiers/tab-order-inline.d.ts.map +1 -0
- package/declarations/float-kit/services/menu.d.ts +11 -0
- package/declarations/float-kit/services/menu.d.ts.map +1 -1
- package/declarations/select-kit/components/dropdown-select-box.d.ts.map +1 -1
- package/declarations/select-kit/components/icon-picker.d.ts +3 -2
- package/declarations/select-kit/components/icon-picker.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select/multi-select-header.d.ts.map +1 -1
- package/declarations/select-kit/components/multi-select.d.ts.map +1 -1
- package/declarations/select-kit/components/select-kit/select-kit-row.d.ts.map +1 -1
- package/declarations/select-kit/components/tag-chooser.d.ts +3 -1
- package/declarations/select-kit/components/tag-chooser.d.ts.map +1 -1
- package/declarations/tests/acceptance/category-default-view-test.d.ts +2 -0
- package/declarations/tests/acceptance/category-default-view-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/exception-test.d.ts +2 -0
- package/declarations/tests/acceptance/exception-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts +2 -0
- package/declarations/tests/acceptance/sidebar-link-drop-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/topic-list-preload-test.d.ts +2 -0
- package/declarations/tests/acceptance/topic-list-preload-test.d.ts.map +1 -0
- package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts +2 -0
- package/declarations/tests/acceptance/transformers/composer-minimum-post-length-test.d.ts.map +1 -0
- package/declarations/tests/fixtures/site-fixtures.d.ts +3 -0
- package/declarations/tests/fixtures/site-fixtures.d.ts.map +1 -1
- package/declarations/tests/fixtures/user-fixtures.d.ts +0 -1
- package/declarations/tests/fixtures/user-fixtures.d.ts.map +1 -1
- package/declarations/tests/helpers/qunit-helpers.d.ts.map +1 -1
- package/declarations/tests/helpers/review-pretender.d.ts.map +1 -1
- package/declarations/tests/helpers/rich-editor-helper.d.ts +2 -2
- package/declarations/tests/helpers/rich-editor-helper.d.ts.map +1 -1
- package/declarations/tests/helpers/stub-intersection-observer.d.ts +4 -2
- package/declarations/tests/helpers/stub-intersection-observer.d.ts.map +1 -1
- package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts +178 -0
- package/declarations/tests/helpers/ui-kit/drag-and-drop-helper.d.ts.map +1 -0
- package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts +81 -0
- package/declarations/tests/helpers/ui-kit/pointer-gesture-helper.d.ts.map +1 -0
- package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts +2 -0
- package/declarations/tests/integration/components/admin-plugin-config-page-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/category-list-subcategories-test.d.ts +2 -0
- package/declarations/tests/integration/components/category-list-subcategories-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/composer-container-test.d.ts +2 -0
- package/declarations/tests/integration/components/composer-container-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/search-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/search-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dashboard/traffic-test.d.ts +2 -0
- package/declarations/tests/integration/components/dashboard/traffic-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/design-wizard-sections-test.d.ts +2 -0
- package/declarations/tests/integration/components/design-wizard-sections-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts +2 -0
- package/declarations/tests/integration/components/dev-tools-toolbar-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts +2 -0
- package/declarations/tests/integration/components/float-kit/apply-floating-ui-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts +2 -0
- package/declarations/tests/integration/components/float-kit/tab-order-inline-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts +2 -0
- package/declarations/tests/integration/components/modal/content-language-preferences-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts +2 -0
- package/declarations/tests/integration/components/prosemirror-editor/open-document-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/sidebar-section-form-test.d.ts +2 -0
- package/declarations/tests/integration/components/sidebar-section-form-test.d.ts.map +1 -0
- package/declarations/tests/integration/components/topic-post-badges-test.d.ts +2 -0
- package/declarations/tests/integration/components/topic-post-badges-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-combo-button-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-resize-handles-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-resize-separator-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/d-skeleton-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-adoption-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-auto-scroll-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-external-target-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-monitor-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-and-drop-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-drag-dwell-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-draggable-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-observe-intersection-test.d.ts.map +1 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts +2 -0
- package/declarations/tests/integration/ui-kit/modifiers/d-pointer-drag-test.d.ts.map +1 -0
- package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts +2 -0
- package/declarations/tests/unit/admin/lib/color-scheme-manager-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts +2 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/drag-dwell-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts +2 -0
- package/declarations/tests/unit/lib/-internals/drag-and-drop/vocabulary-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts +2 -0
- package/declarations/tests/unit/lib/blocks/core/decorator-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/customization-source-test.d.ts +2 -0
- package/declarations/tests/unit/lib/customization-source-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/dag-test.d.ts.map +1 -1
- package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts +2 -0
- package/declarations/tests/unit/lib/dashboard-reports-loader-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/download-blob-test.d.ts +2 -0
- package/declarations/tests/unit/lib/download-blob-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/download-strategy-test.d.ts +2 -0
- package/declarations/tests/unit/lib/download-strategy-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/filter-mode-test.d.ts +2 -0
- package/declarations/tests/unit/lib/filter-mode-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/locale-normalizer-test.d.ts +2 -0
- package/declarations/tests/unit/lib/locale-normalizer-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/resize-measurements-test.d.ts +2 -0
- package/declarations/tests/unit/lib/resize-measurements-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts +2 -0
- package/declarations/tests/unit/lib/sidebar/active-link-test.d.ts.map +1 -0
- package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts +2 -0
- package/declarations/tests/unit/lib/sidebar/link-drop-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/discovery-test.d.ts +2 -0
- package/declarations/tests/unit/services/discovery-test.d.ts.map +1 -0
- package/declarations/tests/unit/services/drag-and-drop-test.d.ts +2 -0
- package/declarations/tests/unit/services/drag-and-drop-test.d.ts.map +1 -0
- package/declarations/tsconfig.tsbuildinfo +1 -1
- package/declarations/type-tests/blocks/public-api-test.d.ts +2 -0
- package/declarations/type-tests/blocks/public-api-test.d.ts.map +1 -0
- package/declarations/type-tests/lib/dag-test.d.ts +2 -0
- package/declarations/type-tests/lib/dag-test.d.ts.map +1 -0
- package/declarations/type-tests/lib/later-test.d.ts +2 -0
- package/declarations/type-tests/lib/later-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts +2 -0
- package/declarations/type-tests/ui-kit/create-drag-dwell-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-combo-button-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-adoption-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-external-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-and-drop-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-drag-dwell-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts +8 -0
- package/declarations/type-tests/ui-kit/d-pointer-drag-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-args-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-box-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-payload-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-handles-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-errors-test.d.ts.map +1 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts +3 -0
- package/declarations/type-tests/ui-kit/d-resize-separator-test.d.ts.map +1 -0
- package/package.json +10 -1
- package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts +0 -13
- package/declarations/app/components/admin-onboarding/modal/theme-picker.d.ts.map +0 -1
- package/declarations/app/components/composer-actions-new.d.ts.map +0 -1
- package/declarations/app/components/link-to-input.d.ts +0 -7
- package/declarations/app/components/link-to-input.d.ts.map +0 -1
- package/declarations/app/helpers/reviewable-history-description.d.ts +0 -2
- package/declarations/app/helpers/reviewable-history-description.d.ts.map +0 -1
- package/declarations/app/modifiers/grippie-drag-resize.d.ts +0 -40
- package/declarations/app/modifiers/grippie-drag-resize.d.ts.map +0 -1
- package/declarations/select-kit/components/composer-actions.d.ts +0 -39
- package/declarations/select-kit/components/composer-actions.d.ts.map +0 -1
- package/declarations/tests/acceptance/composer-actions-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/composer-actions-new-test.d.ts.map +0 -1
- package/declarations/tests/acceptance/composer-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/composer-new-test.d.ts.map +0 -1
- package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts +0 -2
- package/declarations/tests/acceptance/keyboard-shortcuts-new-test.d.ts.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type FloatKitInstance from "discourse/float-kit/lib/float-kit-instance";
|
|
2
|
+
/**
|
|
3
|
+
* Reports a float as positioned for the render path that has no positioning step: the mobile
|
|
4
|
+
* modal, which the browser lays out itself instead of going through `updatePosition`.
|
|
5
|
+
*
|
|
6
|
+
* A positioned float fires `onPositioned` from `updatePosition`, once per placement. A modal has
|
|
7
|
+
* no placement to compute and never repositions, so the equivalent moment is the render after it
|
|
8
|
+
* is inserted — the first point at which its content has a size to measure. Scheduled on the
|
|
9
|
+
* runloop so `settled()` covers it.
|
|
10
|
+
*/
|
|
11
|
+
declare const _default: import("ember-modifier").FunctionBasedModifier<{
|
|
12
|
+
Args: {
|
|
13
|
+
Positional: [FloatKitInstance];
|
|
14
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
15
|
+
};
|
|
16
|
+
Element: HTMLElement;
|
|
17
|
+
}>;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=notify-positioned.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notify-positioned.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/modifiers/notify-positioned.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,gBAAgB,MAAM,4CAA4C,CAAC;AAE/E;;;;;;;;GAQG;;;;;;;;AACH,wBAQE"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type Owner from "@ember/owner";
|
|
2
|
+
import Modifier, { type ArgsFor } from "ember-modifier";
|
|
3
|
+
interface FloatKitTabOrderInlineSignature {
|
|
4
|
+
Element: HTMLElement;
|
|
5
|
+
Args: {
|
|
6
|
+
Positional: [
|
|
7
|
+
/** The trigger the float hangs from, whose place in the page Tab should follow. */
|
|
8
|
+
trigger: HTMLElement | null | undefined,
|
|
9
|
+
/** Dismisses the float once focus has left it. */
|
|
10
|
+
close: () => void
|
|
11
|
+
];
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Gives a float's content the tab order it would have had if it were rendered inline, directly
|
|
16
|
+
* after its trigger.
|
|
17
|
+
*
|
|
18
|
+
* A float is portaled out of its trigger's subtree, and sequential focus follows document order,
|
|
19
|
+
* so the portal's position in the document — not the trigger's — is what Tab actually follows.
|
|
20
|
+
* That breaks the sequence in both directions: Tab off the end of the float's controls lands
|
|
21
|
+
* wherever the portal sits, and the float's own controls are never reached at all, since nothing
|
|
22
|
+
* leads into them from the trigger. Both halves are repaired here:
|
|
23
|
+
*
|
|
24
|
+
* - **Into** the float: a forward Tab at the trigger's last stop moves to the float's first stop,
|
|
25
|
+
* when it has one. A float offering nothing focusable is left alone, so Tab passes over it and
|
|
26
|
+
* out of the widget — which is what a plain listbox wants, since its rows are reached with the
|
|
27
|
+
* arrow keys rather than by tabbing.
|
|
28
|
+
* - **Out of** the float: a Tab that would step off the end of the float's own stops dismisses it
|
|
29
|
+
* and continues from the TRIGGER. Forward that is the stop after the trigger; backward it is
|
|
30
|
+
* the trigger's own last stop, which is where the reader came in.
|
|
31
|
+
*
|
|
32
|
+
* The float is treated as one logical segment beside the trigger. Every Tab within the segment is
|
|
33
|
+
* handled from a freshly computed local sequence, so dynamic controls, radio groups, and positive
|
|
34
|
+
* tabindex values cannot make the browser and the edge check disagree.
|
|
35
|
+
*
|
|
36
|
+
* This is the alternative to `trapTab`, not a companion to it. Containment suits a float that is
|
|
37
|
+
* genuinely modal — a real `aria-modal` dialog, which owns the screen until dismissed — and
|
|
38
|
+
* strands a reader anywhere else, since a non-modal float shows nothing to say that Tab has
|
|
39
|
+
* stopped meaning "move on".
|
|
40
|
+
*
|
|
41
|
+
* A float that also holds a scroll container should keep it out of the tab sequence with an
|
|
42
|
+
* explicit `tabindex="-1"`: a browser that adopts scrollers as tab stops does so invisibly, so
|
|
43
|
+
* such an element consumes a Tab press while being absent from the enumerations below.
|
|
44
|
+
*/
|
|
45
|
+
export default class FloatKitTabOrderInline extends Modifier<FloatKitTabOrderInlineSignature> {
|
|
46
|
+
#private;
|
|
47
|
+
constructor(owner: Owner, args: ArgsFor<FloatKitTabOrderInlineSignature>);
|
|
48
|
+
modify(element: HTMLElement, [trigger, close]: FloatKitTabOrderInlineSignature["Args"]["Positional"]): void;
|
|
49
|
+
/** Forward Tab at the trigger's last stop enters the float, when the float has a stop to offer. */
|
|
50
|
+
handleTriggerKeydown(event: KeyboardEvent): void;
|
|
51
|
+
/** Moves within the float's logical segment, or leaves it from the trigger's page position. */
|
|
52
|
+
handleContentKeydown(event: KeyboardEvent): void;
|
|
53
|
+
}
|
|
54
|
+
export {};
|
|
55
|
+
//# sourceMappingURL=tab-order-inline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-order-inline.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/modifiers/tab-order-inline.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,EAAE,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAOxD,UAAU,+BAA+B;IACvC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,UAAU,EAAE;YACV,mFAAmF;YACnF,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS;YACvC,kDAAkD;YAClD,KAAK,EAAE,MAAM,IAAI;SAClB,CAAC;KACH,CAAC;CACH;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,QAAQ,CAAC,+BAA+B,CAAC;;gBAM/E,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,CAAC,+BAA+B,CAAC;IAKxE,MAAM,CACJ,OAAO,EAAE,WAAW,EACpB,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,+BAA+B,CAAC,MAAM,CAAC,CAAC,YAAY,CAAC;IAyBzE,mGAAmG;IAEnG,oBAAoB,CAAC,KAAK,EAAE,aAAa;IAkCzC,+FAA+F;IAE/F,oBAAoB,CAAC,KAAK,EAAE,aAAa;CAuD1C"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Service from "@ember/service";
|
|
2
2
|
import type { FloatKitTrigger, MenuOptions } from "discourse/float-kit/lib/constants";
|
|
3
3
|
import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
|
|
4
|
+
import type Site from "discourse/models/site";
|
|
4
5
|
/**
|
|
5
6
|
* The service that shows menus imperatively, outside the `<DMenu />` component.
|
|
6
7
|
* It tracks every registered menu, enforces that only one menu per `identifier`
|
|
@@ -9,7 +10,17 @@ import DMenuInstance from "discourse/float-kit/lib/d-menu-instance";
|
|
|
9
10
|
* and content directly.
|
|
10
11
|
*/
|
|
11
12
|
export default class Menu extends Service {
|
|
13
|
+
site: Site;
|
|
12
14
|
registeredMenus: Set<DMenuInstance>;
|
|
15
|
+
/**
|
|
16
|
+
* Whether a menu with the given `modalForMobile` option renders as a mobile modal (an
|
|
17
|
+
* `aria-modal` dialog) rather than an inline popover. This is the instance-less accessor a
|
|
18
|
+
* caller uses before a menu exists; it delegates to the shared formula in
|
|
19
|
+
* {@link FloatKitInstance.resolveRenderInModal}, so it can't drift from what `<DMenu>` renders.
|
|
20
|
+
*
|
|
21
|
+
* @param modalForMobile - the menu's `@modalForMobile` option.
|
|
22
|
+
*/
|
|
23
|
+
shouldRenderInModal(modalForMobile?: boolean): boolean;
|
|
13
24
|
/**
|
|
14
25
|
* Render a menu.
|
|
15
26
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/services/menu.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../discourse/float-kit/services/menu.ts"],"names":[],"mappings":"AAIA,OAAO,OAAoB,MAAM,gBAAgB,CAAC;AAClD,OAAO,KAAK,EACV,eAAe,EACf,WAAW,EACZ,MAAM,mCAAmC,CAAC;AAC3C,OAAO,aAAa,MAAM,yCAAyC,CAAC;AAEpE,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAE9C;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,OAAO;IACtB,IAAI,EAAE,IAAI,CAAC;IAE5B,eAAe,qBAA+B;IAE9C;;;;;;;OAOG;IACH,mBAAmB,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO;IAItD;;;;;;;;OAQG;IAEG,IAAI,CACR,iBAAiB,EAAE,eAAe,GAAG,aAAa,EAClD,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IAsDhC;;;;;;;;OAQG;IACH,WAAW,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;IAQpE;;;;OAIG;IACH,eAAe,CAAC,UAAU,EAAE,MAAM;IAMlC;;;;OAIG;IAEG,KAAK,CAAC,IAAI,CAAC,EAAE,aAAa,GAAG,MAAM;IAwBzC;;;;;;;;OAQG;IAEH,QAAQ,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,GAAE,OAAO,CAAC,WAAW,CAAM;CAStE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-select-box.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/dropdown-select-box.js"],"names":[],"mappings":"AAMA;
|
|
1
|
+
{"version":3,"file":"dropdown-select-box.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/dropdown-select-box.js"],"names":[],"mappings":"AAMA;IAeE,qDAEC;CACF;kCAvBiC,+CAA+C;iCAEhD,+CAA+C"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
export default class IconPicker extends MultiSelectComponent {
|
|
2
2
|
_cachedIconsList: any;
|
|
3
|
-
|
|
3
|
+
_cachedHasMore: any;
|
|
4
|
+
_hasMore: any;
|
|
4
5
|
modifyComponentForCollection(collection: any): 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>>);
|
|
5
6
|
modifyContentForCollection(collection: any): {
|
|
6
|
-
shouldShowMoreTip:
|
|
7
|
+
shouldShowMoreTip: any;
|
|
7
8
|
};
|
|
8
9
|
get content(): {
|
|
9
10
|
id: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-picker.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/icon-picker.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon-picker.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/icon-picker.js"],"names":[],"mappings":"AAiBA;IAYI,sBAA4B;IAC5B,oBAA2B;IAC3B,cAAqB;IAKvB,uaAIC;IAED;;MAMC;IAED;;;;QAGC;IAED,6BAqBC;IAED;;;;MASC;IAUD,uCAQC;CACF;iCAlGgC,8CAA8C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-select-header.d.ts","sourceRoot":"","sources":["../../../../../discourse/select-kit/components/multi-select/multi-select-header.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multi-select-header.d.ts","sourceRoot":"","sources":["../../../../../discourse/select-kit/components/multi-select/multi-select-header.gjs"],"names":[],"mappings":"AAuIA;IAIE,0BAA8B;IAC9B,4BAAgC;IAChC,wBAA4B;IAU5B,4BAEC;IAVD,uBAMC;IAcD,8BAEC;IAVD,yBAMC;IAcD,0BAEC;IAVD,qBAMC;IAMD,qBAGC;CAqFF;qCAxIoC,8DAA8D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-select.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/multi-select.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"multi-select.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/multi-select.gjs"],"names":[],"mappings":"AA2TA;IAoBE,wBAMC;IAQD,0BAuBC;IAED,0BAaC;IAoDD,2BA8BC;IAED,gCAiCC;CA0HF;+BA/TM,4CAA4C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-kit-row.d.ts","sourceRoot":"","sources":["../../../../../discourse/select-kit/components/select-kit/select-kit-row.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-kit-row.d.ts","sourceRoot":"","sources":["../../../../../discourse/select-kit/components/select-kit/select-kit-row.gjs"],"names":[],"mappings":"AAgRA;;IAwBE,iBAAa;IACb,cAAU;IAEV,mBAAuB;IAEvB,2BAEC;IAED,yCAGC;IAUD,qBAEC;IAVD,gBAMC;IAMD,uCAOC;IAED,yCAOC;IAED,sBAGC;IAED,mBAGC;IAED,oCAMC;IAED,iBAKC;IAED,8BAGC;IAED,iBAgBC;IAED,sCAWC;IAED,mBAKC;IAED,4BAGC;IAED,6BAGC;IAED,0BAGC;IAED,4BAMC;IAED,2BAOC;IAED,4BAIC;IAED,0BAEC;IAED,6BA0CC;CAsBF;sBAlQqB,kBAAkB"}
|
|
@@ -12,7 +12,9 @@ export default class TagChooser extends MultiSelectComponent {
|
|
|
12
12
|
validateCreate(filter: any, content: any): any;
|
|
13
13
|
get _normalizedBlockedTags(): any[];
|
|
14
14
|
search(query: any): any;
|
|
15
|
-
_transformJson(json: any
|
|
15
|
+
_transformJson(json: any, { skipSort }?: {
|
|
16
|
+
skipSort?: boolean;
|
|
17
|
+
}): any;
|
|
16
18
|
}
|
|
17
19
|
import MultiSelectComponent from "discourse/select-kit/components/multi-select";
|
|
18
20
|
import SelectKitRow from "./select-kit/select-kit-row";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag-chooser.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/tag-chooser.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tag-chooser.d.ts","sourceRoot":"","sources":["../../../../discourse/select-kit/components/tag-chooser.js"],"names":[],"mappings":"AAeA;IAaE,cAAkB;IAKlB,iBAAmB;IACnB,yBAAwB;IACxB,4BAA2B;IAY3B,uEAMC;IAED,wBAGC;IAED,8BAYC;IAED,iBAUC;IAED,mBAkBC;IAED,wCAOC;IAED,+CAeC;IAMD,oCAEC;IAED,wBAmDC;IAED;;YA0BC;CACF;iCArNgC,8CAA8C;yBAKtD,6BAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category-default-view-test.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/acceptance/category-default-view-test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exception-test.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/acceptance/exception-test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-link-drop-test.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/acceptance/sidebar-link-drop-test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topic-list-preload-test.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/acceptance/topic-list-preload-test.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composer-minimum-post-length-test.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/acceptance/transformers/composer-minimum-post-length-test.js"],"names":[],"mappings":""}
|
|
@@ -71,8 +71,11 @@ declare const siteFixtures: {
|
|
|
71
71
|
groups: {
|
|
72
72
|
id: number;
|
|
73
73
|
name: string;
|
|
74
|
+
full_name: string;
|
|
75
|
+
automatic: boolean;
|
|
74
76
|
}[];
|
|
75
77
|
filters: string[];
|
|
78
|
+
anonymous_list_filters: string[];
|
|
76
79
|
homepage_choices: string[];
|
|
77
80
|
periods: string[];
|
|
78
81
|
top_menu_items: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"site-fixtures.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/fixtures/site-fixtures.js"],"names":[],"mappings":";AAEA
|
|
1
|
+
{"version":3,"file":"site-fixtures.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/fixtures/site-fixtures.js"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAk2BE"}
|
|
@@ -896,7 +896,6 @@ declare const userFixtures: {
|
|
|
896
896
|
enable_quoting: boolean;
|
|
897
897
|
enable_smart_lists: boolean;
|
|
898
898
|
enable_markdown_monospace_font: boolean;
|
|
899
|
-
enable_defer: boolean;
|
|
900
899
|
digest_after_minutes: number;
|
|
901
900
|
automatically_unpin_topics: boolean;
|
|
902
901
|
auto_track_topics_after_msecs: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-fixtures.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/fixtures/user-fixtures.js"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"user-fixtures.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/fixtures/user-fixtures.js"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAugHE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qunit-helpers.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/qunit-helpers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"qunit-helpers.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/qunit-helpers.js"],"names":[],"mappings":"AA8HA,mCAIC;AAID,yCAEC;AAED,sCAEC;AAED,yDAIC;AAGD,uCASC;AAGD,oCAEC;AAED,wGAOC;AAED,oFAOC;AAID,6CAQC;AAED,0EAKC;AAGD,4DAoGC;AAQD,+DA4CC;AAED,+DAQC;AAED,2DAyGC;AAED,gDAKC;AA8BD,oEAMC;AAED,oEAWC;AAED,2CAEC;AAiCD,kDAQC;AAED,gDAEC;AAED,6CAEC;AAED,+CAEC;AAED,qFASC;AAED,0EAyBC;AAED,gFAIC;AAED,2DAEC;AAED,4DAEC;AAED,2FAUC;AAED,2EASC;AAED,yFAUC;AAED,mEAuBC;AAED,qEAIC;AAKD,iDAIC;AAED;;EAAsE;kBA3rBpD,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-pretender.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/review-pretender.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"review-pretender.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/review-pretender.js"],"names":[],"mappings":"AAoDA,qDA0PC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function setupRichEditor(assert: any, markdown: any,
|
|
1
|
+
export function setupRichEditor(assert: any, markdown: any, opts?: {}): Promise<(string | {
|
|
2
2
|
value: any;
|
|
3
3
|
view: any;
|
|
4
4
|
})[]>;
|
|
5
|
-
export function testMarkdown(assert: any, markdown: any, expectedHtml: any, expectedMarkdown: any,
|
|
5
|
+
export function testMarkdown(assert: any, markdown: any, expectedHtml: any, expectedMarkdown: any, opts?: {}): Promise<void>;
|
|
6
6
|
/**
|
|
7
7
|
* Helper to test rendered markdown with DOM assertions
|
|
8
8
|
* @param {string} markdown - The markdown to render
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-editor-helper.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/rich-editor-helper.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rich-editor-helper.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/rich-editor-helper.gjs"],"names":[],"mappings":"AA6HA;;;MAuEC;AAED,6HAwBC;AAED;;;;;GAKG;AACH,+CAJW,MAAM,kCAiBhB"}
|
|
@@ -3,12 +3,14 @@
|
|
|
3
3
|
* The real one needs viewport scroll state, which the Ember testing container
|
|
4
4
|
* can't reliably provide.
|
|
5
5
|
*
|
|
6
|
-
* @returns {Array<{element, trigger: (overrides?: object) => Promise<void>}>}
|
|
7
|
-
* Entries appended on each `observe()`.
|
|
6
|
+
* @returns {Array<{element, options, trigger: (overrides?: object) => Promise<void>}>}
|
|
7
|
+
* Entries appended on each `observe()`. `options` is the bag the observer was constructed
|
|
8
|
+
* with, so a test can assert how a consumer resolved `root` and `rootMargin`.
|
|
8
9
|
* `await entry.trigger()` fires an intersection event.
|
|
9
10
|
*/
|
|
10
11
|
export default function stubIntersectionObserver(): Array<{
|
|
11
12
|
element: any;
|
|
13
|
+
options: any;
|
|
12
14
|
trigger: (overrides?: object) => Promise<void>;
|
|
13
15
|
}>;
|
|
14
16
|
//# sourceMappingURL=stub-intersection-observer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stub-intersection-observer.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/stub-intersection-observer.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"stub-intersection-observer.d.ts","sourceRoot":"","sources":["../../../../discourse/tests/helpers/stub-intersection-observer.js"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,oDALa,KAAK,CAAC;IAAC,OAAO,MAAC;IAAC,OAAO,MAAC;IAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAAC,CAAC,CAkCrF"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/** A point on the viewport, in the shape every drag event has to carry. */
|
|
2
|
+
interface ClientPoint {
|
|
3
|
+
clientX: number;
|
|
4
|
+
clientY: number;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* The center-point client coordinates of an element.
|
|
8
|
+
*
|
|
9
|
+
* Every synthetic drag event must carry finite `clientX` / `clientY`: the
|
|
10
|
+
* underlying library resolves the pointer with `elementsFromPoint`, which
|
|
11
|
+
* throws on non-finite values.
|
|
12
|
+
*
|
|
13
|
+
* @param selector - CSS selector for the element to measure.
|
|
14
|
+
* @returns The element's center point.
|
|
15
|
+
*/
|
|
16
|
+
export declare function centerOf(selector: string): ClientPoint;
|
|
17
|
+
/**
|
|
18
|
+
* A `DataTransfer` carrying plain text, the way a selection dragged in from
|
|
19
|
+
* another window arrives.
|
|
20
|
+
*
|
|
21
|
+
* @param text - The `text/plain` payload.
|
|
22
|
+
*/
|
|
23
|
+
export declare function textTransfer(text?: string): DataTransfer;
|
|
24
|
+
/**
|
|
25
|
+
* A `DataTransfer` carrying one file, the way a drag from the OS file manager
|
|
26
|
+
* arrives.
|
|
27
|
+
*
|
|
28
|
+
* @param name - The file's name, as `getFiles()` reports it.
|
|
29
|
+
*/
|
|
30
|
+
export declare function fileTransfer(name?: string): DataTransfer;
|
|
31
|
+
/**
|
|
32
|
+
* Throws unless the element is registered as an external drop target; the
|
|
33
|
+
* external counterpart of {@link assertDragRegistered}.
|
|
34
|
+
*
|
|
35
|
+
* @param targetSelector - CSS selector for the element the drag is aimed at.
|
|
36
|
+
*/
|
|
37
|
+
export declare function assertExternalTargetRegistered(targetSelector: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Dispatches one synthetic drag event, then waits one animation frame.
|
|
40
|
+
*
|
|
41
|
+
* The frame wait is the point of this wrapper; every other helper here
|
|
42
|
+
* dispatches through it. The underlying library runs `onDragStart` in a
|
|
43
|
+
* `requestAnimationFrame` and throttles `onDrag` to a frame.
|
|
44
|
+
*
|
|
45
|
+
* Ember's `settled()` does not pump animation frames, so without the wait
|
|
46
|
+
* those callbacks have not fired when the caller's next step runs. One frame
|
|
47
|
+
* is enough: ours is queued after the library's.
|
|
48
|
+
*
|
|
49
|
+
* A drop cancels a still-pending `onDrag`, so a frame after every `dragover`
|
|
50
|
+
* is also what lets `onDrag` be observed. Use {@link dragEventNow} when a test
|
|
51
|
+
* needs two events in one task, with no frame between them.
|
|
52
|
+
*
|
|
53
|
+
* @param target - CSS selector for the event target, or the element itself.
|
|
54
|
+
* @param type - The drag event type (e.g. `"dragstart"`, `"drop"`).
|
|
55
|
+
* @param options - Forwarded to `triggerEvent`; must include the shared
|
|
56
|
+
* `dataTransfer` and finite client coordinates (see {@link centerOf}).
|
|
57
|
+
*/
|
|
58
|
+
export declare function dragEvent(target: string | Element, type: string, options?: Record<string, unknown>): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Dispatches one native drag event synchronously, with no frame wait.
|
|
61
|
+
*
|
|
62
|
+
* The counterpart of {@link dragEvent} for the timing it hides. The underlying
|
|
63
|
+
* library reports a hierarchy change synchronously but throttles the drag
|
|
64
|
+
* update that follows to a frame, and a drop cancels that frame.
|
|
65
|
+
*
|
|
66
|
+
* The source likewise defers its consumer callbacks past the drop into the
|
|
67
|
+
* next runloop task. A test probing either window lands a second event, or a
|
|
68
|
+
* teardown, in the same task as the first, so nothing here may yield.
|
|
69
|
+
*
|
|
70
|
+
* @param target - CSS selector for the event target, or the element itself.
|
|
71
|
+
* @param type - The drag event type (e.g. `"dragenter"`, `"drop"`).
|
|
72
|
+
* @param options - The shared `dataTransfer` and finite client coordinates.
|
|
73
|
+
*/
|
|
74
|
+
export declare function dragEventNow(target: string | Element, type: string, { dataTransfer, clientX, clientY, }: {
|
|
75
|
+
dataTransfer: DataTransfer;
|
|
76
|
+
} & ClientPoint): void;
|
|
77
|
+
/** How a drag event, or a short run of them, is aimed at one element. */
|
|
78
|
+
interface AimedDragOptions {
|
|
79
|
+
/** Shared payload every event of one drag must carry. */
|
|
80
|
+
dataTransfer: DataTransfer;
|
|
81
|
+
/** Coordinates merged over the addressed element's center. */
|
|
82
|
+
coordinates?: Partial<ClientPoint>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Begins an element drag on a source and leaves it in flight, without moving
|
|
86
|
+
* it anywhere.
|
|
87
|
+
*
|
|
88
|
+
* `sourceSelector` names the row. A row that scopes its drag to a handle is
|
|
89
|
+
* registered on the handle, so `dragstart` is dispatched on whichever element
|
|
90
|
+
* the registration sits on; the coordinates are the row's center either way.
|
|
91
|
+
*
|
|
92
|
+
* @param sourceSelector - CSS selector for the source row.
|
|
93
|
+
* @param options - The shared payload and any coordinate override.
|
|
94
|
+
*/
|
|
95
|
+
export declare function startDrag(sourceSelector: string, { dataTransfer, coordinates }: AimedDragOptions): Promise<void>;
|
|
96
|
+
/**
|
|
97
|
+
* Brings an in-flight element drag over a target and leaves it hovering,
|
|
98
|
+
* without dropping, so a caller can assert on state a completed drop would
|
|
99
|
+
* already have cleared.
|
|
100
|
+
*
|
|
101
|
+
* @param targetSelector - CSS selector for the target element.
|
|
102
|
+
* @param options - The shared payload and any coordinate override.
|
|
103
|
+
*/
|
|
104
|
+
export declare function dragOver(targetSelector: string, { dataTransfer, coordinates }: AimedDragOptions): Promise<void>;
|
|
105
|
+
/**
|
|
106
|
+
* Drives a complete element drag from a source to a target: `dragstart`,
|
|
107
|
+
* `dragenter`, `dragover`, `drop`, `dragend`, each through {@link dragEvent}.
|
|
108
|
+
*
|
|
109
|
+
* Coordinates default to each element's center. Override them when the
|
|
110
|
+
* pointer position matters: a bare center only ever exercises the `after`
|
|
111
|
+
* branch of a midpoint comparison.
|
|
112
|
+
*
|
|
113
|
+
* `sourceSelector` names the row; see {@link startDrag}.
|
|
114
|
+
*
|
|
115
|
+
* @param sourceSelector - CSS selector for the source element.
|
|
116
|
+
* @param targetSelector - CSS selector for the target element.
|
|
117
|
+
*/
|
|
118
|
+
export declare function simulateDrag(sourceSelector: string, targetSelector: string, { dataTransfer, sourceCoordinates, targetCoordinates, }: {
|
|
119
|
+
/** Shared payload every event of one drag must carry. */
|
|
120
|
+
dataTransfer: DataTransfer;
|
|
121
|
+
/** Coordinates merged over the source element's center. */
|
|
122
|
+
sourceCoordinates?: Partial<ClientPoint>;
|
|
123
|
+
/** Coordinates merged over the target element's center. */
|
|
124
|
+
targetCoordinates?: Partial<ClientPoint>;
|
|
125
|
+
}): Promise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Drives a browser-started drag from page content no source registered.
|
|
128
|
+
*
|
|
129
|
+
* The event sequence matches an element drag. The guards prove the source is
|
|
130
|
+
* unsourced and the destination is an element target, so this cannot quietly
|
|
131
|
+
* exercise the registered-source or external path instead.
|
|
132
|
+
*
|
|
133
|
+
* @param sourceSelector - CSS selector for the unregistered element to drag.
|
|
134
|
+
* @param targetSelector - CSS selector for the target element.
|
|
135
|
+
*/
|
|
136
|
+
export declare function simulateUnsourcedDrag(sourceSelector: string, targetSelector: string, { dataTransfer, sourceCoordinates, targetCoordinates, }: {
|
|
137
|
+
dataTransfer: DataTransfer;
|
|
138
|
+
sourceCoordinates?: Partial<ClientPoint>;
|
|
139
|
+
targetCoordinates?: Partial<ClientPoint>;
|
|
140
|
+
}): Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* Brings an external drag over a target and leaves it hovering there, without
|
|
143
|
+
* dropping.
|
|
144
|
+
*
|
|
145
|
+
* Deliberately no `dragstart`: a drag that began outside the page never fires
|
|
146
|
+
* one, and its absence is what routes the drag to the external adapter rather
|
|
147
|
+
* than the element one.
|
|
148
|
+
*
|
|
149
|
+
* Stops short of the drop so a caller can assert on state a completed drop
|
|
150
|
+
* would already have cleared. Use {@link simulateExternalDrag} when the drop
|
|
151
|
+
* itself is the subject.
|
|
152
|
+
*
|
|
153
|
+
* @param targetSelector - CSS selector for the target element.
|
|
154
|
+
* @param options - The shared payload and any coordinate override.
|
|
155
|
+
*/
|
|
156
|
+
export declare function externalDragOver(targetSelector: string, { dataTransfer, coordinates }: AimedDragOptions): Promise<void>;
|
|
157
|
+
/**
|
|
158
|
+
* Drives a complete external drag onto a target and drops it there; the
|
|
159
|
+
* external counterpart of {@link simulateDrag}.
|
|
160
|
+
*
|
|
161
|
+
* Override the coordinates when the pointer position matters: a bare center
|
|
162
|
+
* only ever exercises the `after` branch of a midpoint comparison.
|
|
163
|
+
*
|
|
164
|
+
* @param targetSelector - CSS selector for the target element.
|
|
165
|
+
* @param options - The shared payload and any coordinate override.
|
|
166
|
+
*/
|
|
167
|
+
export declare function simulateExternalDrag(targetSelector: string, { dataTransfer, coordinates }: AimedDragOptions): Promise<void>;
|
|
168
|
+
/**
|
|
169
|
+
* Ends any drag the underlying library still considers in flight. A no-op when
|
|
170
|
+
* nothing is in flight. Call from the global test teardown.
|
|
171
|
+
*
|
|
172
|
+
* A drag whose `dragend` / `drop` never reached the library (source torn down
|
|
173
|
+
* mid-drag, assertion thrown) leaves its global state active, and the next
|
|
174
|
+
* test's `dragstart` is silently ignored.
|
|
175
|
+
*/
|
|
176
|
+
export declare function resetDragAndDropForTesting(): void;
|
|
177
|
+
export {};
|
|
178
|
+
//# sourceMappingURL=drag-and-drop-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drag-and-drop-helper.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/helpers/ui-kit/drag-and-drop-helper.ts"],"names":[],"mappings":"AAEA,2EAA2E;AAC3E,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,WAAW,CAQtD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,SAAiB,gBAIjD;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,IAAI,SAAU,gBAI1C;AA4BD;;;;;GAKG;AACH,wBAAgB,8BAA8B,CAAC,cAAc,EAAE,MAAM,QAQpE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,SAAS,CAC7B,MAAM,EAAE,MAAM,GAAG,OAAO,EACxB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,iBAIlC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAC1B,MAAM,EAAE,MAAM,GAAG,OAAO,EACxB,IAAI,EAAE,MAAM,EACZ,EACE,YAAY,EACZ,OAAO,EACP,OAAO,GACR,EAAE;IAAE,YAAY,EAAE,YAAY,CAAA;CAAE,GAAG,WAAW,QAehD;AAED,yEAAyE;AACzE,UAAU,gBAAgB;IACxB,yDAAyD;IACzD,YAAY,EAAE,YAAY,CAAC;IAE3B,8DAA8D;IAC9D,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CACpC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,SAAS,CAC7B,cAAc,EAAE,MAAM,EACtB,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,gBAAgB,iBAOhD;AAED;;;;;;;GAOG;AACH,wBAAsB,QAAQ,CAC5B,cAAc,EAAE,MAAM,EACtB,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,gBAAgB,iBAKhD;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,YAAY,CAChC,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,MAAM,EACtB,EACE,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,GAClB,EAAE;IACD,yDAAyD;IACzD,YAAY,EAAE,YAAY,CAAC;IAE3B,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAEzC,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CAC1C,iBAYF;AAiBD;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CACzC,cAAc,EAAE,MAAM,EACtB,cAAc,EAAE,MAAM,EACtB,EACE,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,GAClB,EAAE;IACD,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACzC,iBAAiB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;CAC1C,iBAuBF;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,gBAAgB,CACpC,cAAc,EAAE,MAAM,EACtB,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,gBAAgB,iBAMhD;AAED;;;;;;;;;GASG;AACH,wBAAsB,oBAAoB,CACxC,cAAc,EAAE,MAAM,EACtB,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,gBAAgB,iBAKhD;AAED;;;;;;;GAOG;AACH,wBAAgB,0BAA0B,SAQzC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Makes an element accept pointer capture for a pointer that was never real.
|
|
3
|
+
*
|
|
4
|
+
* The gesture engine captures the pointer before telling anyone a drag started, and
|
|
5
|
+
* aborts if that fails — deliberately, since a gesture that cannot receive its own
|
|
6
|
+
* release would strand itself. A browser rejects `setPointerCapture` for a synthetic
|
|
7
|
+
* pointer ID, so without this every synthetic drag stops at the press, silently and
|
|
8
|
+
* with nothing to indicate why.
|
|
9
|
+
*
|
|
10
|
+
* `captured` and `released` are exposed for the tests that assert the capture itself
|
|
11
|
+
* was taken and given back; most callers only need the side effect.
|
|
12
|
+
*
|
|
13
|
+
* @param target - The element that will receive the press, or a selector for it.
|
|
14
|
+
* @returns The element, the pointer IDs it currently holds, and those it has given
|
|
15
|
+
* back in order.
|
|
16
|
+
*/
|
|
17
|
+
export declare function stubPointerCapture(target: string | HTMLElement): {
|
|
18
|
+
element: HTMLElement;
|
|
19
|
+
captured: Set<number>;
|
|
20
|
+
released: number[];
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Like {@link stubPointerCapture}, but models the browser's one pending
|
|
24
|
+
* capture override per pointer across a set of elements.
|
|
25
|
+
*
|
|
26
|
+
* The per-element stub gives each element an independent record, so it cannot
|
|
27
|
+
* express displacement: in a real browser a second element's
|
|
28
|
+
* `setPointerCapture` during the same dispatch replaces the first's pending
|
|
29
|
+
* override, and a release by the displacing element clears the override
|
|
30
|
+
* entirely. Tests about contested claims on one bubbling press need exactly
|
|
31
|
+
* that shape — who ends up owning the pointer is the assertion.
|
|
32
|
+
*
|
|
33
|
+
* @param targets - The elements contending for capture, or selectors for them.
|
|
34
|
+
* @returns Per-element records in input order, and `ownerOf` to ask which
|
|
35
|
+
* element currently holds a pointer's capture.
|
|
36
|
+
*/
|
|
37
|
+
export declare function stubSharedPointerCapture(targets: (string | HTMLElement)[]): {
|
|
38
|
+
stubs: {
|
|
39
|
+
element: HTMLElement;
|
|
40
|
+
released: number[];
|
|
41
|
+
}[];
|
|
42
|
+
ownerOf: (pointerId: number) => HTMLElement;
|
|
43
|
+
};
|
|
44
|
+
interface DragPointerOptions {
|
|
45
|
+
/** The client coordinate the press lands on, along the axis. */
|
|
46
|
+
from: number;
|
|
47
|
+
/** The client coordinate the pointer moves to. */
|
|
48
|
+
to: number;
|
|
49
|
+
/** Which client coordinate the gesture reads. Defaults to `"vertical"`. */
|
|
50
|
+
axis?: "vertical" | "horizontal";
|
|
51
|
+
/** Distinguishes concurrent gestures, and reused IDs across sequential ones. */
|
|
52
|
+
pointerId?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to release at the end. Pass `false` to leave the gesture open, for
|
|
55
|
+
* tests about what happens while one is still held.
|
|
56
|
+
*/
|
|
57
|
+
release?: boolean;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Presses, moves and releases a pointer over one element.
|
|
61
|
+
*
|
|
62
|
+
* Capture is stubbed here rather than left to the caller, because a drag whose
|
|
63
|
+
* capture was never stubbed stops at the press without saying so: the assertions
|
|
64
|
+
* that follow then describe a gesture that never ran.
|
|
65
|
+
*
|
|
66
|
+
* @param target - The element to drag, or a selector for it.
|
|
67
|
+
* @param options - Where the gesture starts and ends, and how it is identified.
|
|
68
|
+
*/
|
|
69
|
+
export declare function dragPointer(target: string | HTMLElement, { from, to, axis, pointerId, release, }: DragPointerOptions): Promise<HTMLElement>;
|
|
70
|
+
/**
|
|
71
|
+
* Waits for a gesture's pending report to land.
|
|
72
|
+
*
|
|
73
|
+
* Pointer moves are coalesced into an animation frame, so the size or position a
|
|
74
|
+
* gesture computes is reported on the next frame rather than during the move that
|
|
75
|
+
* caused it. `settled` does not await frames, so a test that presses, moves, and
|
|
76
|
+
* asserts reads the value from before the move and quietly passes or fails on the
|
|
77
|
+
* wrong basis. Await this between a move and any assertion about what the move did.
|
|
78
|
+
*/
|
|
79
|
+
export declare function settleGestureFrame(): Promise<void>;
|
|
80
|
+
export {};
|
|
81
|
+
//# sourceMappingURL=pointer-gesture-helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pointer-gesture-helper.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/helpers/ui-kit/pointer-gesture-helper.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,WAAW;;;;EAiB9D;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE;;;;;yBAuBjD,MAAM;EAE9B;AAED,UAAU,kBAAkB;IAC1B,gEAAgE;IAChE,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,IAAI,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;IACjC,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,wBAAsB,WAAW,CAC/B,MAAM,EAAE,MAAM,GAAG,WAAW,EAC5B,EACE,IAAI,EACJ,EAAE,EACF,IAAiB,EACjB,SAAa,EACb,OAAc,GACf,EAAE,kBAAkB,wBA2BtB;AAED;;;;;;;;GAQG;AACH,wBAAsB,kBAAkB,kBAGvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-plugin-config-page-test.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/integration/components/admin-plugin-config-page-test.gjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category-list-subcategories-test.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/integration/components/category-list-subcategories-test.gjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composer-container-test.d.ts","sourceRoot":"","sources":["../../../../../discourse/tests/integration/components/composer-container-test.gjs"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-test.d.ts","sourceRoot":"","sources":["../../../../../../discourse/tests/integration/components/dashboard/search-test.gjs"],"names":[],"mappings":""}
|