@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/route.
|
|
1
|
+
{"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/route.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,+BAA+B,CAAC;AAoB/D,OAAO,KAAK,gBAAgB,MAAM,8BAA8B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAoCpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AAsEH,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,cAAc;;IAC5C,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,gBAAgB,CAAC;IAE7C;;;;;;OAMG;IACH,IAAI,WAAW,IAAI,MAAM,CAExB;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,GAAE,gBAAqB,GAC7B,OAAO;CA2RX"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BlockCondition, type ConditionContext, type ConditionResolvedValue } from "./condition";
|
|
1
2
|
/**
|
|
2
3
|
* A condition that evaluates based on site setting or custom settings object values.
|
|
3
4
|
*
|
|
@@ -23,66 +24,58 @@
|
|
|
23
24
|
* access to the siteSettings service. Unknown settings will cause the condition to
|
|
24
25
|
* return false rather than throw an error at registration time.
|
|
25
26
|
*
|
|
26
|
-
* @class BlockSettingCondition
|
|
27
|
-
* @extends BlockCondition
|
|
28
|
-
*
|
|
29
|
-
* @param {string} name - The setting key to check (required).
|
|
30
|
-
* @param {Object} [source] - Custom settings object (e.g., theme settings). If not provided, uses siteSettings.
|
|
31
|
-
* @param {boolean} [enabled] - If true, passes when setting is truthy; if false, passes when falsy.
|
|
32
|
-
* @param {*} [equals] - Passes when setting exactly equals this value.
|
|
33
|
-
* @param {Array<*>} [includes] - For single-value settings: passes when setting value is in this array.
|
|
34
|
-
* @param {string} [contains] - For list settings: passes when the setting list contains this value.
|
|
35
|
-
* @param {Array<string>} [containsAny] - For list settings: passes when setting list contains ANY of these.
|
|
36
|
-
*
|
|
37
27
|
* @example
|
|
28
|
+
* ```
|
|
38
29
|
* // Boolean setting check
|
|
39
30
|
* { type: "setting", name: "enable_badges", enabled: true }
|
|
31
|
+
* ```
|
|
40
32
|
*
|
|
41
33
|
* @example
|
|
34
|
+
* ```
|
|
42
35
|
* // Exact value match
|
|
43
36
|
* { type: "setting", name: "desktop_category_page_style", equals: "categories_and_latest_topics" }
|
|
37
|
+
* ```
|
|
44
38
|
*
|
|
45
39
|
* @example
|
|
40
|
+
* ```
|
|
46
41
|
* // Setting is one of several values
|
|
47
42
|
* { type: "setting", name: "desktop_category_page_style", includes: ["categories_and_latest_topics", "categories_and_top_topics"] }
|
|
43
|
+
* ```
|
|
48
44
|
*
|
|
49
45
|
* @example
|
|
46
|
+
* ```
|
|
50
47
|
* // List setting contains value
|
|
51
48
|
* { type: "setting", name: "top_menu", contains: "hot" }
|
|
49
|
+
* ```
|
|
52
50
|
*
|
|
53
51
|
* @example
|
|
52
|
+
* ```
|
|
54
53
|
* // List setting contains any of values
|
|
55
54
|
* { type: "setting", name: "share_links", containsAny: ["twitter", "facebook"] }
|
|
55
|
+
* ```
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
58
|
+
* ```
|
|
58
59
|
* // Theme setting check (pass settings object from "virtual:theme")
|
|
59
60
|
* import { settings } from "virtual:theme";
|
|
60
61
|
* { type: "setting", source: settings, name: "show_sidebar", enabled: true }
|
|
62
|
+
* ```
|
|
61
63
|
*/
|
|
62
64
|
export default class BlockSettingCondition extends BlockCondition {
|
|
63
|
-
|
|
65
|
+
#private;
|
|
66
|
+
siteSettings: Record<string, unknown>;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the siteSettings service as the default source.
|
|
69
|
+
*/
|
|
70
|
+
get defaultSource(): Record<string, unknown>;
|
|
64
71
|
/**
|
|
65
72
|
* Evaluates whether the setting condition passes.
|
|
66
|
-
*
|
|
67
|
-
* @param {Object} args - The condition arguments.
|
|
68
|
-
* @param {Object} [context] - Evaluation context.
|
|
69
|
-
* @returns {boolean} True if the condition passes.
|
|
70
73
|
*/
|
|
71
|
-
evaluate(args:
|
|
74
|
+
evaluate(args: Record<string, unknown>, context?: ConditionContext): boolean;
|
|
72
75
|
/**
|
|
73
76
|
* Returns the resolved setting value for debug logging.
|
|
74
77
|
* Includes a warning note with "did you mean" suggestion if the setting doesn't exist.
|
|
75
|
-
*
|
|
76
|
-
* @param {Object} args - The condition arguments.
|
|
77
|
-
* @param {Object} [context] - Evaluation context.
|
|
78
|
-
* @returns {{ value: *, hasValue: true, note?: string }}
|
|
79
78
|
*/
|
|
80
|
-
getResolvedValueForLogging(args:
|
|
81
|
-
value: any;
|
|
82
|
-
hasValue: true;
|
|
83
|
-
note?: string;
|
|
84
|
-
};
|
|
85
|
-
#private;
|
|
79
|
+
getResolvedValueForLogging(args: Record<string, unknown>, context?: ConditionContext): ConditionResolvedValue;
|
|
86
80
|
}
|
|
87
|
-
import { BlockCondition } from "./condition";
|
|
88
81
|
//# sourceMappingURL=setting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/setting.
|
|
1
|
+
{"version":3,"file":"setting.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/setting.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC5B,MAAM,aAAa,CAAC;AA4BrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AAmBH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,cAAc;;IAI9C,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEvD;;OAEG;IACH,IAAI,aAAa,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAE3C;IAED;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO;IAwE5E;;;OAGG;IACH,0BAA0B,CACxB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,OAAO,CAAC,EAAE,gBAAgB,GACzB,sBAAsB;CAsC1B"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type User from "discourse/models/user";
|
|
2
|
+
import { BlockCondition, type ConditionContext } from "./condition";
|
|
1
3
|
/**
|
|
2
4
|
* A condition that evaluates based on user state.
|
|
3
5
|
*
|
|
@@ -12,9 +14,6 @@
|
|
|
12
14
|
* The only exception is the `groups` array itself, which uses OR logic internally
|
|
13
15
|
* (user must be in at least ONE of the specified groups).
|
|
14
16
|
*
|
|
15
|
-
* @class BlockUserCondition
|
|
16
|
-
* @extends BlockCondition
|
|
17
|
-
*
|
|
18
17
|
* ## Condition Configuration Properties
|
|
19
18
|
*
|
|
20
19
|
* These properties are passed as an args object to `evaluate()`:
|
|
@@ -31,47 +30,57 @@
|
|
|
31
30
|
* | `groups` | `string[]` | User must be in at least one of these groups (OR logic) |
|
|
32
31
|
*
|
|
33
32
|
* @example
|
|
33
|
+
* ```
|
|
34
34
|
* // Logged-in users only
|
|
35
35
|
* { type: "user", loggedIn: true }
|
|
36
|
+
* ```
|
|
36
37
|
*
|
|
37
38
|
* @example
|
|
39
|
+
* ```
|
|
38
40
|
* // Anonymous users only
|
|
39
41
|
* { type: "user", loggedIn: false }
|
|
42
|
+
* ```
|
|
40
43
|
*
|
|
41
44
|
* @example
|
|
45
|
+
* ```
|
|
42
46
|
* // Admin users only
|
|
43
47
|
* { type: "user", admin: true }
|
|
48
|
+
* ```
|
|
44
49
|
*
|
|
45
50
|
* @example
|
|
51
|
+
* ```
|
|
46
52
|
* // Trust level 2+ AND in specific groups
|
|
47
53
|
* { type: "user", minTrustLevel: 2, groups: ["beta-testers", "power-users"] }
|
|
54
|
+
* ```
|
|
48
55
|
*
|
|
49
56
|
* @example
|
|
57
|
+
* ```
|
|
50
58
|
* // Check a user from outlet args instead of currentUser
|
|
51
59
|
* { type: "user", source: "@outletArgs.topicAuthor", admin: true }
|
|
60
|
+
* ```
|
|
52
61
|
*
|
|
53
62
|
* @example
|
|
63
|
+
* ```
|
|
54
64
|
* // Check if source user IS the current logged-in user
|
|
55
65
|
* { type: "user", source: "@outletArgs.post.user", loggedIn: true }
|
|
66
|
+
* ```
|
|
56
67
|
*
|
|
57
68
|
* @example
|
|
69
|
+
* ```
|
|
58
70
|
* // Check if source user is NOT the current user (e.g., for "follow" button)
|
|
59
71
|
* { type: "user", source: "@outletArgs.user", loggedIn: false }
|
|
72
|
+
* ```
|
|
60
73
|
*/
|
|
61
74
|
export default class BlockUserCondition extends BlockCondition {
|
|
62
|
-
|
|
75
|
+
#private;
|
|
76
|
+
currentUser: User | null;
|
|
77
|
+
/**
|
|
78
|
+
* Returns the currentUser service as the default source.
|
|
79
|
+
*/
|
|
80
|
+
get defaultSource(): User | null;
|
|
63
81
|
/**
|
|
64
82
|
* Evaluates whether the user condition passes.
|
|
65
|
-
*
|
|
66
|
-
* @param {Object} args - The condition arguments.
|
|
67
|
-
* @param {Object} [context] - Evaluation context.
|
|
68
|
-
* @param {Object} [context.outletArgs] - Outlet args for source resolution.
|
|
69
|
-
* @returns {boolean} True if the condition passes.
|
|
70
83
|
*/
|
|
71
|
-
evaluate(args:
|
|
72
|
-
outletArgs?: any;
|
|
73
|
-
}): boolean;
|
|
74
|
-
#private;
|
|
84
|
+
evaluate(args: Record<string, unknown>, context?: ConditionContext): boolean;
|
|
75
85
|
}
|
|
76
|
-
import { BlockCondition } from "./condition";
|
|
77
86
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/user.
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/user.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AA4CpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AAqEH,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,cAAc;;IAC3C,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAE1C;;OAEG;IACH,IAAI,aAAa,IAAI,IAAI,GAAG,IAAI,CAE/B;IAED;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,OAAO;CA6H7E"}
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
+
import type { CapabilitiesService } from "discourse/services/capabilities";
|
|
2
|
+
import { BlockCondition } from "./condition";
|
|
1
3
|
/**
|
|
2
4
|
* A condition that evaluates based on viewport size and device capabilities.
|
|
3
5
|
*
|
|
4
6
|
* Uses the standard Discourse breakpoints from the capabilities service:
|
|
5
|
-
* - sm:
|
|
6
|
-
* - md:
|
|
7
|
-
* - lg:
|
|
8
|
-
* - xl:
|
|
9
|
-
* - 2xl:
|
|
7
|
+
* - sm: \>= 40rem (640px)
|
|
8
|
+
* - md: \>= 48rem (768px)
|
|
9
|
+
* - lg: \>= 64rem (1024px)
|
|
10
|
+
* - xl: \>= 80rem (1280px)
|
|
11
|
+
* - 2xl: \>= 96rem (1536px)
|
|
10
12
|
*
|
|
11
13
|
* **Note:** For simple show/hide based on viewport, CSS media queries are often
|
|
12
14
|
* more performant. Use this condition when you need to completely remove components
|
|
13
15
|
* from the DOM on certain viewports, or when the block content differs significantly
|
|
14
16
|
* between viewports.
|
|
15
17
|
*
|
|
16
|
-
* @class BlockViewportCondition
|
|
17
|
-
* @extends BlockCondition
|
|
18
|
-
*
|
|
19
|
-
* @param {string} [min] - Minimum breakpoint required (passes at this size and larger)
|
|
20
|
-
* @param {string} [max] - Maximum breakpoint allowed (passes at this size and smaller)
|
|
21
|
-
* @param {boolean} [touch] - If true, passes only on touch devices; if false, only on non-touch
|
|
22
|
-
*
|
|
23
18
|
* @example
|
|
19
|
+
* ```
|
|
24
20
|
* // Large screens only (lg and up)
|
|
25
21
|
* { type: "viewport", min: "lg" }
|
|
22
|
+
* ```
|
|
26
23
|
*
|
|
27
24
|
* @example
|
|
25
|
+
* ```
|
|
28
26
|
* // Small screens only (below md)
|
|
29
27
|
* { type: "viewport", max: "sm" }
|
|
28
|
+
* ```
|
|
30
29
|
*
|
|
31
30
|
* @example
|
|
31
|
+
* ```
|
|
32
32
|
* // Medium to large screens only
|
|
33
33
|
* { type: "viewport", min: "md", max: "xl" }
|
|
34
|
+
* ```
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
37
|
+
* ```
|
|
36
38
|
* // Touch devices only
|
|
37
39
|
* { type: "viewport", touch: true }
|
|
40
|
+
* ```
|
|
38
41
|
*/
|
|
39
42
|
export default class BlockViewportCondition extends BlockCondition {
|
|
40
|
-
capabilities:
|
|
43
|
+
capabilities: CapabilitiesService;
|
|
41
44
|
/**
|
|
42
45
|
* Evaluates whether the viewport condition passes.
|
|
43
|
-
*
|
|
44
|
-
* @param {Object} args - The condition arguments.
|
|
45
|
-
* @returns {boolean} True if the condition passes.
|
|
46
46
|
*/
|
|
47
|
-
evaluate(args:
|
|
47
|
+
evaluate(args: Record<string, unknown>): boolean;
|
|
48
48
|
}
|
|
49
|
-
import { BlockCondition } from "./condition";
|
|
50
49
|
//# sourceMappingURL=viewport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/viewport.
|
|
1
|
+
{"version":3,"file":"viewport.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/blocks/conditions/viewport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AA+B7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AAgCH,MAAM,CAAC,OAAO,OAAO,sBAAuB,SAAQ,cAAc;IAC/C,YAAY,EAAE,mBAAmB,CAAC;IAEnD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;CA6BjD"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public API block exports.
|
|
3
|
+
*
|
|
4
|
+
* @experimental This API is under active development and may change or be removed
|
|
5
|
+
* in future releases without prior notice. Use with caution in production environments.
|
|
6
|
+
*/
|
|
1
7
|
export { block } from "discourse/lib/blocks/-internals/decorator";
|
|
2
8
|
export { BlockCondition } from "discourse/blocks/conditions";
|
|
9
|
+
export type { ArgSchema, ArgType, BlockClassNames, BlockConstraints, BlockMetadata, BlockNamespaceType, BlockOptions, BlockValidateFn, ChildArgSchema, LayoutEntry, } from "discourse/blocks/types";
|
|
3
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../discourse/app/blocks/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../discourse/app/blocks/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,YAAY,EACV,SAAS,EACT,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,cAAc,EACd,WAAW,GACZ,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type Component from "@glimmer/component";
|
|
2
|
+
/**
|
|
3
|
+
* Public data shapes for the blocks API, shared by the `@block` decorator, the
|
|
4
|
+
* registry, and the render pipeline. Author-facing types live here (rather than
|
|
5
|
+
* under `-internals/`) so consumers can import them from `discourse/blocks`
|
|
6
|
+
* without reaching across the internal boundary.
|
|
7
|
+
*/
|
|
8
|
+
/** The namespace category a block name resolves to. */
|
|
9
|
+
export type BlockNamespaceType = "core" | "plugin" | "theme";
|
|
10
|
+
/** The value type of a block argument. */
|
|
11
|
+
export type ArgType = "string" | "number" | "boolean" | "array" | "object" | "any";
|
|
12
|
+
/**
|
|
13
|
+
* Additional CSS classes for a block, as a string, an array of strings, or a
|
|
14
|
+
* function computing them from the block's args.
|
|
15
|
+
*/
|
|
16
|
+
export type BlockClassNames = string | string[] | ((args: Record<string, unknown>) => string);
|
|
17
|
+
/** Custom cross-arg validation invoked with the block's resolved args. */
|
|
18
|
+
export type BlockValidateFn = (args: Record<string, unknown>) => unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Cross-arg validation constraints. The precise shape is defined and enforced by
|
|
21
|
+
* the constraints validator; treated opaquely at the type level here.
|
|
22
|
+
*/
|
|
23
|
+
export type BlockConstraints = Record<string, unknown>;
|
|
24
|
+
/** Schema describing and validating a single block argument. */
|
|
25
|
+
export interface ArgSchema {
|
|
26
|
+
/** The argument's value type. */
|
|
27
|
+
type: ArgType;
|
|
28
|
+
/** Whether the argument must be provided. Defaults to `false`. */
|
|
29
|
+
required?: boolean;
|
|
30
|
+
/** Default value applied when the argument is omitted. */
|
|
31
|
+
default?: unknown;
|
|
32
|
+
/** Element type for `array` arguments. */
|
|
33
|
+
itemType?: "string" | "number" | "boolean";
|
|
34
|
+
/** Regular expression a `string` value must match. */
|
|
35
|
+
pattern?: RegExp;
|
|
36
|
+
/** Minimum length for a `string` or `array` value. */
|
|
37
|
+
minLength?: number;
|
|
38
|
+
/** Maximum length for a `string` or `array` value. */
|
|
39
|
+
maxLength?: number;
|
|
40
|
+
/** Minimum value for a `number`. */
|
|
41
|
+
min?: number;
|
|
42
|
+
/** Maximum value for a `number`. */
|
|
43
|
+
max?: number;
|
|
44
|
+
/** Whether a `number` must be an integer. */
|
|
45
|
+
integer?: boolean;
|
|
46
|
+
/** Allowed values for the argument. */
|
|
47
|
+
enum?: unknown[];
|
|
48
|
+
/** Allowed values for individual items of an `array` argument. */
|
|
49
|
+
itemEnum?: unknown[];
|
|
50
|
+
/** Nested schema for an `object` argument's properties, validated recursively. */
|
|
51
|
+
properties?: Record<string, ArgSchema>;
|
|
52
|
+
/**
|
|
53
|
+
* Required class (or a `"model:*"` string, resolved via the registry) for an
|
|
54
|
+
* `object` argument's value. Mutually exclusive with `properties`.
|
|
55
|
+
*/
|
|
56
|
+
instanceOf?: (abstract new (...args: unknown[]) => object) | string;
|
|
57
|
+
/**
|
|
58
|
+
* Human-readable class name used in error messages when `instanceOf` is a
|
|
59
|
+
* class reference. Needed because the class's own `.name` isn't reliable
|
|
60
|
+
* (bundlers can rename anonymous classes; production builds minify names).
|
|
61
|
+
*/
|
|
62
|
+
instanceOfName?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Schema for a single `childArgs` argument (see `BlockOptions.childArgs`).
|
|
66
|
+
* Extends `ArgSchema` with the child-specific `unique` property.
|
|
67
|
+
*/
|
|
68
|
+
export interface ChildArgSchema extends ArgSchema {
|
|
69
|
+
/**
|
|
70
|
+
* Whether this arg's value must be unique among sibling children. Only
|
|
71
|
+
* supported for primitive types (string, number, boolean).
|
|
72
|
+
*/
|
|
73
|
+
unique?: boolean;
|
|
74
|
+
}
|
|
75
|
+
/** Options accepted by the `@block` decorator. */
|
|
76
|
+
export interface BlockOptions {
|
|
77
|
+
/** If `true`, this block can contain nested child blocks. */
|
|
78
|
+
container?: boolean;
|
|
79
|
+
/** Human-readable description of the block. */
|
|
80
|
+
description?: string;
|
|
81
|
+
/** Schema for the block's arguments, keyed by arg name. */
|
|
82
|
+
args?: Record<string, ArgSchema>;
|
|
83
|
+
/**
|
|
84
|
+
* Schema for args passed to this block's children. Only valid on container
|
|
85
|
+
* blocks (`container: true`).
|
|
86
|
+
*/
|
|
87
|
+
childArgs?: Record<string, ChildArgSchema>;
|
|
88
|
+
/** Cross-arg validation constraints. */
|
|
89
|
+
constraints?: BlockConstraints;
|
|
90
|
+
/** Custom validation function run against the block's args. */
|
|
91
|
+
validate?: BlockValidateFn;
|
|
92
|
+
/** Additional CSS classes for the block. */
|
|
93
|
+
classNames?: BlockClassNames;
|
|
94
|
+
/** Glob patterns for the outlets this block is allowed to render in. */
|
|
95
|
+
allowedOutlets?: string[];
|
|
96
|
+
/** Glob patterns for the outlets this block is forbidden from rendering in. */
|
|
97
|
+
deniedOutlets?: string[];
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Frozen metadata recorded for a class decorated with `@block`, returned by
|
|
101
|
+
* `getBlockMetadata()`.
|
|
102
|
+
*/
|
|
103
|
+
export interface BlockMetadata {
|
|
104
|
+
/** Full name identifier, e.g. `"theme:tactile:hero-banner"`. */
|
|
105
|
+
blockName: string;
|
|
106
|
+
/** Plain name without namespace, e.g. `"hero-banner"`. */
|
|
107
|
+
shortName: string;
|
|
108
|
+
/** Parsed namespace used for CSS, e.g. `"my-plugin"` / `"theme-tactile"`, or `null` for core. */
|
|
109
|
+
namespace: string | null;
|
|
110
|
+
/** The kind of namespace the block belongs to. */
|
|
111
|
+
namespaceType: BlockNamespaceType;
|
|
112
|
+
/** Human-readable description of the block. */
|
|
113
|
+
description: string;
|
|
114
|
+
/** Whether the block can contain nested child blocks. */
|
|
115
|
+
isContainer: boolean;
|
|
116
|
+
/** Additional CSS classes declared on the decorator. */
|
|
117
|
+
decoratorClassNames: BlockClassNames | null;
|
|
118
|
+
/** The block's args schema. */
|
|
119
|
+
args: Record<string, ArgSchema> | null;
|
|
120
|
+
/** The child-args schema (container blocks only). */
|
|
121
|
+
childArgs: Record<string, ChildArgSchema> | null;
|
|
122
|
+
/** Cross-arg validation constraints. */
|
|
123
|
+
constraints: BlockConstraints | null;
|
|
124
|
+
/** Custom validation function. */
|
|
125
|
+
validate: BlockValidateFn | null;
|
|
126
|
+
/** Allowed outlet glob patterns. */
|
|
127
|
+
allowedOutlets: readonly string[] | null;
|
|
128
|
+
/** Denied outlet glob patterns. */
|
|
129
|
+
deniedOutlets: readonly string[] | null;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* A single entry in an outlet layout, as passed to `api.renderBlocks()`.
|
|
133
|
+
*/
|
|
134
|
+
export interface LayoutEntry {
|
|
135
|
+
/**
|
|
136
|
+
* The block to render: a `@block`-decorated component class, or the string
|
|
137
|
+
* name of a registered block.
|
|
138
|
+
*/
|
|
139
|
+
block: typeof Component | string;
|
|
140
|
+
/** Args passed to the block component. */
|
|
141
|
+
args?: Record<string, unknown>;
|
|
142
|
+
/** Additional CSS classes for the block wrapper. */
|
|
143
|
+
classNames?: string | string[];
|
|
144
|
+
/** Nested entries, for container blocks only. */
|
|
145
|
+
children?: LayoutEntry[];
|
|
146
|
+
/** Conditions that must all pass for the block to render. */
|
|
147
|
+
conditions?: object | object[];
|
|
148
|
+
/** Values satisfying the parent container's `childArgs` schema. */
|
|
149
|
+
containerArgs?: Record<string, unknown>;
|
|
150
|
+
/** Unique identifier for targeting and BEM styling. */
|
|
151
|
+
id?: string;
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../discourse/app/blocks/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AAEH,uDAAuD;AACvD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE7D,0CAA0C;AAC1C,MAAM,MAAM,OAAO,GACf,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,KAAK,CAAC;AAEV;;;GAGG;AACH,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,MAAM,EAAE,GACR,CAAC,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,MAAM,CAAC,CAAC;AAEhD,0EAA0E;AAC1E,MAAM,MAAM,eAAe,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAEvD,gEAAgE;AAChE,MAAM,WAAW,SAAS;IACxB,iCAAiC;IACjC,IAAI,EAAE,OAAO,CAAC;IAEd,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IAE3C,sDAAsD;IACtD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,sDAAsD;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,oCAAoC;IACpC,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,6CAA6C;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,uCAAuC;IACvC,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;IAEjB,kEAAkE;IAClE,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IAErB,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAEvC;;;OAGG;IACH,UAAU,CAAC,EAAE,CAAC,QAAQ,MAAM,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,MAAM,CAAC,GAAG,MAAM,CAAC;IAEpE;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,kDAAkD;AAClD,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,2DAA2D;IAC3D,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAEjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC;IAE3C,wCAAwC;IACxC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAE/B,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,eAAe,CAAC;IAE3B,4CAA4C;IAC5C,UAAU,CAAC,EAAE,eAAe,CAAC;IAE7B,wEAAwE;IACxE,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,gEAAgE;IAChE,SAAS,EAAE,MAAM,CAAC;IAElB,0DAA0D;IAC1D,SAAS,EAAE,MAAM,CAAC;IAElB,iGAAiG;IACjG,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzB,kDAAkD;IAClD,aAAa,EAAE,kBAAkB,CAAC;IAElC,+CAA+C;IAC/C,WAAW,EAAE,MAAM,CAAC;IAEpB,yDAAyD;IACzD,WAAW,EAAE,OAAO,CAAC;IAErB,wDAAwD;IACxD,mBAAmB,EAAE,eAAe,GAAG,IAAI,CAAC;IAE5C,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAI,CAAC;IAEvC,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,GAAG,IAAI,CAAC;IAEjD,wCAAwC;IACxC,WAAW,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAErC,kCAAkC;IAClC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAC;IAEjC,oCAAoC;IACpC,cAAc,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;IAEzC,mCAAmC;IACnC,aAAa,EAAE,SAAS,MAAM,EAAE,GAAG,IAAI,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,KAAK,EAAE,OAAO,SAAS,GAAG,MAAM,CAAC;IAEjC,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE/B,iDAAiD;IACjD,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IAEzB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAE/B,mEAAmE;IACnE,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAExC,uDAAuD;IACvD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"about-page-extra-groups.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/about-page-extra-groups.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"about-page-extra-groups.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/about-page-extra-groups.gjs"],"names":[],"mappings":"AAgJA;IAOE,4BAGC;IATD,UAAc;IACd,kBAAsB;IAEtB,cAAqB;IACrB,iBAAyB;IAOzB,2BAEC;IAED,4BAqDC;IAED,+CASC;IAED,+CASC;IAED,gCAEC;IAED,8BAEC;CAkDF;sBA/JqB,oBAAoB"}
|
|
@@ -2,6 +2,8 @@ export default class AceEditor extends Component<any> {
|
|
|
2
2
|
constructor(...args: any[]);
|
|
3
3
|
appEvents: any;
|
|
4
4
|
isLoading: boolean;
|
|
5
|
+
/** The resized box, handed to the separator once the editor has built it. */
|
|
6
|
+
editorContainer: any;
|
|
5
7
|
editor: any;
|
|
6
8
|
ace: any;
|
|
7
9
|
skipChangePropagation: boolean;
|
|
@@ -26,6 +28,7 @@ export default class AceEditor extends Component<any> {
|
|
|
26
28
|
resize(): void;
|
|
27
29
|
focus(): void;
|
|
28
30
|
onResizeDrag(size: any): void;
|
|
31
|
+
onResizeEnd(): void;
|
|
29
32
|
}
|
|
30
33
|
import Component from "@glimmer/component";
|
|
31
34
|
//# sourceMappingURL=ace-editor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ace-editor.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/ace-editor.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ace-editor.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/ace-editor.gjs"],"names":[],"mappings":"AAqXA;IA4BE,4BAgBC;IA3CD,eAAmB;IAEnB,mBAA0B;IAE1B,6EAA6E;IAC7E,qBAAgC;IAChC,YAAc;IACd,SAAW;IACX,+BAA8B;IAE9B;;;;;;OAeG;IAgBD,kCAA0E;IAI5E,kCAQC;IAED,6BAyDC;IAED,gBAEC;IAED,yBAMC;IAED,wBAKC;IAED,oBAGC;IAED,2BAGC;IAED,4BAYC;IAED,6BA8BC;IAED,oBAQC;IAED,eAGC;IAED,cAMC;IAED,8BAIC;IAED,oBAGC;CAoDF;sBA9UqB,oBAAoB"}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
export default class AdminOnboardingBanner extends Component<any> {
|
|
2
|
-
constructor(
|
|
2
|
+
constructor(...args: any[]);
|
|
3
|
+
appEvents: any;
|
|
3
4
|
currentUser: any;
|
|
4
5
|
keyValueStore: any;
|
|
5
6
|
router: any;
|
|
6
7
|
toasts: any;
|
|
7
8
|
dismissed: boolean;
|
|
9
|
+
minimized: boolean;
|
|
10
|
+
completedStepNames: Set<string>;
|
|
11
|
+
willDestroy(...args: any[]): void;
|
|
12
|
+
markStepCompleted(name: any): void;
|
|
8
13
|
get shouldDisplay(): boolean;
|
|
14
|
+
get completedSteps(): number;
|
|
9
15
|
checkIfOnboardingIsComplete(): Promise<void>;
|
|
16
|
+
minimize(): void;
|
|
10
17
|
endOnboarding({ skipped }?: {
|
|
11
18
|
skipped?: boolean;
|
|
12
19
|
}): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/components/admin-onboarding/banner.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"banner.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/components/admin-onboarding/banner.gjs"],"names":[],"mappings":"AAkbA;IAgBE,4BAOC;IAtBD,eAAmB;IACnB,iBAAqB;IACrB,mBAAuB;IACvB,YAAgB;IAChB,YAAgB;IAEhB,mBAA2B;IAC3B,mBAA2B;IAE3B,gCAIE;IAWF,kCAOC;IAED,mCAGC;IAED,6BAWC;IAED,6BAEC;IAED,6CASC;IAED,iBAGC;IAED;;sBAiBC;CA0HF;sBAnWqB,oBAAoB"}
|
|
@@ -6,8 +6,8 @@ export default class OnboardingStep extends Component<any> {
|
|
|
6
6
|
completed: any;
|
|
7
7
|
i18nKey: string;
|
|
8
8
|
get name(): string;
|
|
9
|
-
get
|
|
10
|
-
get
|
|
9
|
+
get checkboxIcon(): "circle-check" | "far-circle";
|
|
10
|
+
get buttonLabel(): string;
|
|
11
11
|
performAction(): void;
|
|
12
12
|
markAsCompleted(): Promise<any>;
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/components/admin-onboarding/step.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/components/admin-onboarding/step.gjs"],"names":[],"mappings":"AA2GA;IACE,oBAEC;;IAED,mBAAuB;IACvB,eAAmB;IAEnB,eAC4E;IAE5E,gBAAqC;IAErC,mBAEC;IAED,kDAEC;IAED,0BAIC;IAED,sBAGC;IAID,gCAiBC;CA4DF;sBA1HqB,oBAAoB"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
export default AdvancedModeToggle
|
|
2
|
-
|
|
1
|
+
export default class AdvancedModeToggle extends Component<any> {
|
|
2
|
+
constructor(owner: import("@ember/-internals/owner").default, args: any);
|
|
3
|
+
capabilities: any;
|
|
4
|
+
get label(): "advanced_mode_toggle.simple_mode" | "advanced_mode_toggle.advanced_mode";
|
|
5
|
+
}
|
|
6
|
+
import Component from "@glimmer/component";
|
|
3
7
|
//# sourceMappingURL=advanced-mode-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"advanced-mode-toggle.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/advanced-mode-toggle.gjs"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"advanced-mode-toggle.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/advanced-mode-toggle.gjs"],"names":[],"mappings":"AA4BA;;IACE,kBAAsB;IAEtB,uFAIC;CAkBF;sBA7BqB,oBAAoB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default class BookmarkIcon extends Component<any> {
|
|
2
2
|
constructor(owner: import("@ember/-internals/owner").default, args: any);
|
|
3
|
-
get icon(): "
|
|
3
|
+
get icon(): "bookmark" | "far-bookmark" | "discourse-bookmark-clock";
|
|
4
4
|
get cssClasses(): "bookmark-icon bookmark-icon__bookmarked" | "bookmark-icon";
|
|
5
5
|
get title(): any;
|
|
6
6
|
}
|
|
@@ -160,7 +160,7 @@ export default class BookmarkMenu extends Component<any> {
|
|
|
160
160
|
get showEditDeleteMenu(): boolean;
|
|
161
161
|
get buttonTitle(): any;
|
|
162
162
|
get buttonClasses(): string;
|
|
163
|
-
get buttonIcon(): "
|
|
163
|
+
get buttonIcon(): "bookmark" | "far-bookmark" | "discourse-bookmark-clock";
|
|
164
164
|
get buttonLabel(): any;
|
|
165
165
|
reminderShortcutTimeTitle(option: any): any;
|
|
166
166
|
onBookmark(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bulk-select-topics-dropdown.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/bulk-select-topics-dropdown.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bulk-select-topics-dropdown.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/bulk-select-topics-dropdown.gjs"],"names":[],"mappings":"AA+eA,uDAuBC;AAED;;IACE,YAAgB;IAChB,WAAe;IACf,iBAAqB;IACrB,UAAc;IACd,kBAAsB;IACtB,YAAgB;IAEhB,qBAmKC;IAED,wEA8CC;IAED,uCAkJC;IAED,6BAoBC;IAED,qCAEC;IAED,8BAGC;IADC,WAAgB;CA4DnB;sBArfqB,oBAAoB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export default class CategoriesBoxes extends Component<any> {
|
|
2
2
|
constructor(owner?: import("@ember/-internals/owner").default | undefined);
|
|
3
|
+
discovery: any;
|
|
3
4
|
get anyLogos(): any;
|
|
4
5
|
get hasSubcategories(): any;
|
|
6
|
+
get page(): any;
|
|
5
7
|
categoryName(category: any): import("@ember/template").TrustedHTML;
|
|
6
8
|
}
|
|
7
9
|
import Component from "@ember/component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories-boxes.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/categories-boxes.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"categories-boxes.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/categories-boxes.gjs"],"names":[],"mappings":"AAsNA;;IAEE,eAAmB;IAEnB,oBAEC;IAED,4BAIC;IAED,gBAEC;IAED,mEAOC;CAsQF;sBArTqB,kBAAkB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default class CategoryListItem extends Component<any> {
|
|
2
2
|
constructor(owner?: import("@ember/-internals/owner").default | undefined);
|
|
3
|
+
discovery: any;
|
|
3
4
|
category: any;
|
|
4
5
|
listType: string;
|
|
5
6
|
get isHidden(): boolean;
|
|
@@ -7,6 +8,9 @@ export default class CategoryListItem extends Component<any> {
|
|
|
7
8
|
get unreadTopicsCount(): any;
|
|
8
9
|
get newTopicsCount(): any;
|
|
9
10
|
get slugPath(): any;
|
|
11
|
+
get page(): any;
|
|
12
|
+
get displayedSubcategories(): Category[];
|
|
13
|
+
get showsGrandchildren(): boolean;
|
|
10
14
|
applyValueTransformer(name: any, value: any, context: any): any;
|
|
11
15
|
}
|
|
12
16
|
import Component from "@ember/component";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-list-item.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/category-list-item.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"category-list-item.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/category-list-item.js"],"names":[],"mappings":"AAeA;;IAEE,eAAmB;IAEnB,cAAgB;IAChB,iBAA4B;IAE5B,wBAMC;IAED,uBAMC;IAED,6BAEC;IAED,0BAEC;IAED,oBAGC;IAED,gBAEC;IAED,yCAEC;IAED,kCAEC;IAED,gEAEC;CACF;sBAjEqB,kBAAkB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-login-form.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/code-login-form.gjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"code-login-form.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/code-login-form.gjs"],"names":[],"mappings":"AA65BA;;IACE,WAAe;IACf,UAAc;IACd,WAAe;IAEf,WAA8C;IAC9C,mBAA2B;IAC3B,eAAmB;IACnB,YAAgB;IAChB,uBAA4B;IAC5B,sBAA2B;IAC3B,gBAAoB;IACpB,iBAAqB;IACrB,aAAmB;IACnB,sBAA8B;IAC9B,eAAmB;IACnB,iBAAuB;IACvB,2BAAmC;IACnC,0BAAkC;IAClC,mBAAuB;IACvB,0BAAiC;IACjC,oBAAwB;IACxB,6BAAqC;IACrC,2BAAyD;IACzD,uBAA2B;IAC3B,2BAA+B;IAC/B,qBAA6B;IAC7B,4BAAoC;IACpC,6BAAqC;IACrC,0BAA8B;IAC9B,qCAAyC;IACzC,aAAU;IACV,uDAKG;IAIH,cAAyB;IAEzB,kCAGC;IAOD,wBAGC;IAPD,mBAEC;IAOD,wBAEC;IAED,2BAEC;IAED,0BAEC;IAED,kCAEC;IAID,wCAEC;IAED,gCAEC;IAED,8BAEC;IAGD;;;MA4BC;IAED,gCASC;IAED,4BAEC;IAGD,mCAEC;IAED,8DAIC;IAED,uBAOC;IAED,8BAEC;IAED;;aAQC;IAED,sCAIC;IAED,4BAWC;IAED,oBASC;IAED,8BAIC;IAED,qCA4FC;IAED,8BAIC;IAED,kCAaC;IAKD,mCAmBC;IAED,kCAMC;IAED,2CA4CC;IAED,8BAkBC;IAED,+BAQC;IAED,qCAyBC;IAED,oCAIC;IAED,2CAIC;IAED,qCAGC;IAED,wCAGC;IAED,gCAaC;IAED,6BAsBC;IAED,2CAUC;IAED,4BAIC;IAED,qBASC;;CAonBF;sBAvrCqB,oBAAoB;uCAwBH,6CAA6C"}
|