@discourse/types 2026.1.0-a5a0839 → 2026.1.0-c7e9cdd

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.
Files changed (179) hide show
  1. package/declarations/admin/components/admin-config-areas/upcoming-change-item.d.ts +1 -1
  2. package/declarations/admin/components/admin-config-areas/upcoming-changes.d.ts +5 -0
  3. package/declarations/admin/components/admin-config-areas/upcoming-changes.d.ts.map +1 -1
  4. package/declarations/admin/components/admin-theme-editor.d.ts +1 -1
  5. package/declarations/admin/components/edit-category-security.d.ts.map +1 -1
  6. package/declarations/admin/components/webhook-event.d.ts +2 -2
  7. package/declarations/admin/models/email-template.d.ts +1 -1
  8. package/declarations/admin/models/report.d.ts +12 -12
  9. package/declarations/app/components/bookmark-icon.d.ts +1 -1
  10. package/declarations/app/components/bookmark-menu.d.ts +1 -1
  11. package/declarations/app/components/category-permission-row.d.ts.map +1 -1
  12. package/declarations/app/components/composer-toggles.d.ts +1 -1
  13. package/declarations/app/components/d-navigation-item.d.ts +1 -1
  14. package/declarations/app/components/date-input.d.ts +1 -1
  15. package/declarations/app/components/date-picker.d.ts +1 -1
  16. package/declarations/app/components/group-smtp-email-settings.d.ts +1 -1
  17. package/declarations/app/components/header/contents.d.ts +1 -1
  18. package/declarations/app/components/header/logo.d.ts +1 -1
  19. package/declarations/app/components/header/search-menu-wrapper.d.ts +1 -1
  20. package/declarations/app/components/header/topic/info.d.ts +1 -1
  21. package/declarations/app/components/interface-color-selector.d.ts +1 -1
  22. package/declarations/app/components/light-dark-img.d.ts +1 -1
  23. package/declarations/app/components/modal/avatar-selector.d.ts +1 -1
  24. package/declarations/app/components/modal/move-to-topic.d.ts +1 -1
  25. package/declarations/app/components/post/menu/buttons/delete.d.ts +2 -2
  26. package/declarations/app/components/post/meta-data/reply-to-tab.d.ts.map +1 -1
  27. package/declarations/app/components/post/quoted-content.d.ts +1 -1
  28. package/declarations/app/components/post-language-selector.d.ts.map +1 -1
  29. package/declarations/app/components/post-list/item/index.d.ts +1 -1
  30. package/declarations/app/components/reviewable-bundled-action.d.ts +1 -1
  31. package/declarations/app/components/sidebar/common/custom-section.d.ts +3 -3
  32. package/declarations/app/components/sidebar/common/custom-section.d.ts.map +1 -1
  33. package/declarations/app/components/sidebar/edit-navigation-menu/categories-modal.d.ts.map +1 -1
  34. package/declarations/app/components/sidebar/user/tags-section.d.ts +2 -2
  35. package/declarations/app/components/sidebar/user/tags-section.d.ts.map +1 -1
  36. package/declarations/app/components/signup-progress-bar.d.ts +1 -1
  37. package/declarations/app/components/table-header-toggle.d.ts +1 -1
  38. package/declarations/app/components/topic-drafts-dropdown.d.ts +1 -1
  39. package/declarations/app/components/topic-list/item/replies-cell.d.ts +1 -1
  40. package/declarations/app/components/topic-map/topic-map-summary.d.ts +1 -1
  41. package/declarations/app/components/uppy-image-uploader.d.ts +1 -1
  42. package/declarations/app/controllers/review/index.d.ts +1 -1
  43. package/declarations/app/controllers/user-activity/bookmarks.d.ts +2 -2
  44. package/declarations/app/controllers/user.d.ts +2 -2
  45. package/declarations/app/form-kit/components/fk/control/password.d.ts +1 -1
  46. package/declarations/app/lib/deprecated.d.ts.map +1 -1
  47. package/declarations/app/lib/optional-service.d.ts +2 -2
  48. package/declarations/app/lib/optional-service.d.ts.map +1 -1
  49. package/declarations/app/lib/sidebar/common/community-section/faq-section-link.d.ts +2 -2
  50. package/declarations/app/lib/sidebar/user/community-section/my-posts-section-link.d.ts +1 -1
  51. package/declarations/app/models/badge.d.ts +1 -1
  52. package/declarations/app/models/bookmark.d.ts +3 -3
  53. package/declarations/app/models/group.d.ts +1 -1
  54. package/declarations/app/models/post-stream.d.ts +1 -1
  55. package/declarations/app/models/post.d.ts +1 -1
  56. package/declarations/app/models/reviewable.d.ts +1 -1
  57. package/declarations/app/models/tag-group.d.ts +1 -1
  58. package/declarations/app/models/user.d.ts +1 -1
  59. package/declarations/app/routes/badges/index.d.ts +1 -1
  60. package/declarations/app/routes/badges/show.d.ts +1 -1
  61. package/declarations/app/routes/invites/show.d.ts +1 -1
  62. package/declarations/app/routes/second-factor-auth.d.ts +1 -1
  63. package/declarations/app/services/composer.d.ts +1 -1
  64. package/declarations/app/services/composer.d.ts.map +1 -1
  65. package/declarations/app/services/pm-topic-tracking-state.d.ts +1 -1
  66. package/declarations/app/services/search.d.ts +1 -1
  67. package/declarations/app/static/prosemirror/core/serializer.d.ts +1 -0
  68. package/declarations/app/static/prosemirror/core/serializer.d.ts.map +1 -1
  69. package/declarations/select-kit/components/composer-actions.d.ts +1 -1
  70. package/declarations/select-kit/components/email-group-user-chooser.d.ts +1 -1
  71. package/declarations/tsconfig.tsbuildinfo +1 -1
  72. package/external-types/discourse-i18n/package.json +42 -0
  73. package/external-types/discourse-i18n/src/index.d.ts +70 -0
  74. package/external-types.d.ts +1 -0
  75. package/package.json +1 -1
  76. package/declarations/admin/compat-modules.d.ts +0 -3
  77. package/declarations/admin/compat-modules.d.ts.map +0 -1
  78. package/declarations/admin/controllers/admin-web-hooks/edit.d.ts +0 -19
  79. package/declarations/admin/controllers/admin-web-hooks/edit.d.ts.map +0 -1
  80. package/declarations/admin/controllers/admin-web-hooks/index.d.ts +0 -13
  81. package/declarations/admin/controllers/admin-web-hooks/index.d.ts.map +0 -1
  82. package/declarations/admin/templates/admin-config/welcome-banner.d.ts +0 -3
  83. package/declarations/admin/templates/admin-config/welcome-banner.d.ts.map +0 -1
  84. package/declarations/app/components/about-page-user.d.ts +0 -3
  85. package/declarations/app/components/about-page-user.d.ts.map +0 -1
  86. package/declarations/app/components/bootstrap-mode-notice.d.ts +0 -7
  87. package/declarations/app/components/bootstrap-mode-notice.d.ts.map +0 -1
  88. package/declarations/app/components/d-combo-button.d.ts +0 -3
  89. package/declarations/app/components/d-combo-button.d.ts.map +0 -1
  90. package/declarations/app/components/footer-message.d.ts +0 -5
  91. package/declarations/app/components/footer-message.d.ts.map +0 -1
  92. package/declarations/app/components/group-imap-email-settings.d.ts +0 -13
  93. package/declarations/app/components/group-imap-email-settings.d.ts.map +0 -1
  94. package/declarations/app/components/scrolling-post-stream.d.ts +0 -23
  95. package/declarations/app/components/scrolling-post-stream.d.ts.map +0 -1
  96. package/declarations/app/components/top-period-buttons.d.ts +0 -7
  97. package/declarations/app/components/top-period-buttons.d.ts.map +0 -1
  98. package/declarations/app/config/environment.d.ts +0 -3
  99. package/declarations/app/config/environment.d.ts.map +0 -1
  100. package/declarations/app/lib/autocomplete/emoji.d.ts +0 -4
  101. package/declarations/app/lib/autocomplete/emoji.d.ts.map +0 -1
  102. package/declarations/app/loader.d.ts +0 -4
  103. package/declarations/app/loader.d.ts.map +0 -1
  104. package/declarations/app/services/dialog.d.ts +0 -2
  105. package/declarations/app/services/dialog.d.ts.map +0 -1
  106. package/declarations/app/services/internal-tooltip.d.ts +0 -2
  107. package/declarations/app/services/internal-tooltip.d.ts.map +0 -1
  108. package/declarations/app/services/menu.d.ts +0 -2
  109. package/declarations/app/services/menu.d.ts.map +0 -1
  110. package/declarations/app/services/toasts.d.ts +0 -2
  111. package/declarations/app/services/toasts.d.ts.map +0 -1
  112. package/declarations/app/services/tooltip.d.ts +0 -2
  113. package/declarations/app/services/tooltip.d.ts.map +0 -1
  114. package/declarations/app/static/wizard/components/fields/checkbox.d.ts +0 -5
  115. package/declarations/app/static/wizard/components/fields/checkbox.d.ts.map +0 -1
  116. package/declarations/app/static/wizard/components/fields/checkboxes.d.ts +0 -7
  117. package/declarations/app/static/wizard/components/fields/checkboxes.d.ts.map +0 -1
  118. package/declarations/app/static/wizard/components/fields/image-previews/generic.d.ts +0 -5
  119. package/declarations/app/static/wizard/components/fields/image-previews/generic.d.ts.map +0 -1
  120. package/declarations/app/static/wizard/components/fields/image-previews/index.d.ts +0 -9
  121. package/declarations/app/static/wizard/components/fields/image-previews/index.d.ts.map +0 -1
  122. package/declarations/app/static/wizard/components/fields/image-previews/logo-small.d.ts +0 -13
  123. package/declarations/app/static/wizard/components/fields/image-previews/logo-small.d.ts.map +0 -1
  124. package/declarations/app/static/wizard/components/fields/image-previews/logo.d.ts +0 -19
  125. package/declarations/app/static/wizard/components/fields/image-previews/logo.d.ts.map +0 -1
  126. package/declarations/app/static/wizard/components/fields/image.d.ts +0 -15
  127. package/declarations/app/static/wizard/components/fields/image.d.ts.map +0 -1
  128. package/declarations/app/static/wizard/components/fields/styling-preview/-homepage-preview.d.ts +0 -29
  129. package/declarations/app/static/wizard/components/fields/styling-preview/-homepage-preview.d.ts.map +0 -1
  130. package/declarations/app/static/wizard/components/fields/styling-preview/-preview-base.d.ts +0 -34
  131. package/declarations/app/static/wizard/components/fields/styling-preview/-preview-base.d.ts.map +0 -1
  132. package/declarations/app/static/wizard/components/fields/styling-preview/index.d.ts +0 -38
  133. package/declarations/app/static/wizard/components/fields/styling-preview/index.d.ts.map +0 -1
  134. package/declarations/app/static/wizard/components/wizard-canvas.d.ts +0 -14
  135. package/declarations/app/static/wizard/components/wizard-canvas.d.ts.map +0 -1
  136. package/declarations/app/widgets/actions-summary.d.ts +0 -2
  137. package/declarations/app/widgets/actions-summary.d.ts.map +0 -1
  138. package/declarations/app/widgets/bookmark-menu.d.ts +0 -2
  139. package/declarations/app/widgets/bookmark-menu.d.ts.map +0 -1
  140. package/declarations/app/widgets/post-user-tip-shim.d.ts +0 -2
  141. package/declarations/app/widgets/post-user-tip-shim.d.ts.map +0 -1
  142. package/declarations/app/widgets/topic-status.d.ts +0 -2
  143. package/declarations/app/widgets/topic-status.d.ts.map +0 -1
  144. package/declarations/select-kit/compat-modules.d.ts +0 -3
  145. package/declarations/select-kit/compat-modules.d.ts.map +0 -1
  146. package/declarations/tests/acceptance/bootstrap-mode-notice-test.d.ts +0 -2
  147. package/declarations/tests/acceptance/bootstrap-mode-notice-test.d.ts.map +0 -1
  148. package/declarations/tests/integration/components/widgets/actions-summary-test.d.ts +0 -2
  149. package/declarations/tests/integration/components/widgets/actions-summary-test.d.ts.map +0 -1
  150. package/declarations/tests/integration/components/widgets/avatar-flair-test.d.ts +0 -2
  151. package/declarations/tests/integration/components/widgets/avatar-flair-test.d.ts.map +0 -1
  152. package/declarations/tests/integration/components/widgets/button-test.d.ts +0 -2
  153. package/declarations/tests/integration/components/widgets/button-test.d.ts.map +0 -1
  154. package/declarations/tests/integration/components/widgets/post-cooked-test.d.ts +0 -2
  155. package/declarations/tests/integration/components/widgets/post-cooked-test.d.ts.map +0 -1
  156. package/declarations/tests/integration/components/widgets/post-links-test.d.ts +0 -2
  157. package/declarations/tests/integration/components/widgets/post-links-test.d.ts.map +0 -1
  158. package/declarations/tests/integration/components/widgets/post-small-action-test.d.ts +0 -2
  159. package/declarations/tests/integration/components/widgets/post-small-action-test.d.ts.map +0 -1
  160. package/declarations/tests/integration/components/widgets/post-stream-test.d.ts +0 -2
  161. package/declarations/tests/integration/components/widgets/post-stream-test.d.ts.map +0 -1
  162. package/declarations/tests/integration/components/widgets/post-test.d.ts +0 -2
  163. package/declarations/tests/integration/components/widgets/post-test.d.ts.map +0 -1
  164. package/declarations/tests/integration/components/widgets/poster-name-test.d.ts +0 -2
  165. package/declarations/tests/integration/components/widgets/poster-name-test.d.ts.map +0 -1
  166. package/declarations/tests/integration/components/widgets/render-glimmer-test.d.ts +0 -1
  167. package/declarations/tests/integration/components/widgets/render-glimmer-test.d.ts.map +0 -1
  168. package/declarations/tests/integration/components/widgets/small-user-list-test.d.ts +0 -2
  169. package/declarations/tests/integration/components/widgets/small-user-list-test.d.ts.map +0 -1
  170. package/declarations/tests/integration/components/widgets/topic-status-test.d.ts +0 -2
  171. package/declarations/tests/integration/components/widgets/topic-status-test.d.ts.map +0 -1
  172. package/declarations/tests/integration/components/widgets/widget-dropdown-test.d.ts +0 -2
  173. package/declarations/tests/integration/components/widgets/widget-dropdown-test.d.ts.map +0 -1
  174. package/declarations/tests/integration/components/widgets/widget-test.d.ts +0 -2
  175. package/declarations/tests/integration/components/widgets/widget-test.d.ts.map +0 -1
  176. package/declarations/tests/set-test-env.d.ts +0 -2
  177. package/declarations/tests/set-test-env.d.ts.map +0 -1
  178. package/declarations/tests/test-i18n.d.ts +0 -1
  179. package/declarations/tests/test-i18n.d.ts.map +0 -1
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "discourse-i18n",
3
+ "version": "1.0.0",
4
+ "private": true,
5
+ "description": "Discourse's i18n",
6
+ "author": "Discourse <team@discourse.org>",
7
+ "license": "GPL-2.0-only",
8
+ "keywords": [
9
+ "ember-addon"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./src/index.d.ts",
14
+ "default": "./src/index.js"
15
+ },
16
+ "./addon-main.js": "./addon-main.cjs"
17
+ },
18
+ "files": [
19
+ "addon-main.cjs",
20
+ "src"
21
+ ],
22
+ "dependencies": {
23
+ "@embroider/addon-shim": "^1.9.0",
24
+ "@messageformat/runtime": "^3.0.2",
25
+ "make-plural": "^8.1.0"
26
+ },
27
+ "engines": {
28
+ "node": ">= 18",
29
+ "npm": "please-use-pnpm",
30
+ "yarn": "please-use-pnpm",
31
+ "pnpm": "^10"
32
+ },
33
+ "ember": {
34
+ "edition": "octane"
35
+ },
36
+ "ember-addon": {
37
+ "version": 2,
38
+ "type": "addon",
39
+ "main": "addon-main.cjs",
40
+ "app-js": {}
41
+ }
42
+ }
@@ -0,0 +1,70 @@
1
+ declare module 'discourse-i18n' {
2
+ export class I18n {
3
+ defaultLocale: string;
4
+ locale: any;
5
+ fallbackLocale: any;
6
+ translations: any;
7
+ extras: {};
8
+ noFallbacks: boolean;
9
+ testing: boolean;
10
+ verbose: boolean;
11
+ verboseIndices: Map<any, any>;
12
+ pluralizationRules: typeof Cardinals;
13
+ translate: (scope: any, options: any) => any;
14
+ t: (scope: any, options: any) => any;
15
+ currentLocale(): any;
16
+ get currentBcp47Locale(): any;
17
+ get pluralizationNormalizedLocale(): any;
18
+ enableVerboseLocalization(): void;
19
+ enableVerboseLocalizationSession(): string;
20
+ disableVerboseLocalizationSession(): string;
21
+ _translate(scope: any, options: any): any;
22
+ toNumber(number: any, options: any): string;
23
+ toHumanSize(number: any, options: any): any;
24
+ pluralize(translation: any, scope: any, options: any): any;
25
+ pluralizer(locale: any): any;
26
+ listJoiner(listOfStrings: any, delimiter: any): any;
27
+ interpolate(message: any, options: any, scope: any): any;
28
+ /**
29
+ * Extract the placeholders from the translated string before interpolation.
30
+ *
31
+ * @param {String} message The translated string.
32
+ *
33
+ * @returns {Map<String, Array<String>>} A Map keyed by the placeholder name, with the value set to
34
+ * how the placeholder appears in the string. If it appears multiple times, each instance will be
35
+ * recorded (eg, "foo" => ["%{foo}", "{{foo}}"]).
36
+ */
37
+ findPlaceholders(message: string): Map<string, Array<string>>;
38
+ findTranslation(scope: any, options: any): any;
39
+ /**
40
+ * Given the current options (and if fallback is enabled), find the translation
41
+ * for the given scope.
42
+ *
43
+ * @param {String} scope The reference for the translatable string.
44
+ * @param {Object} options Custom options for this string.
45
+ *
46
+ * @returns {Array<String>|String} The translated string, or array of strings for pluralizable translations.
47
+ */
48
+ findTranslationWithFallback(scope: string, options: any): Array<string> | string;
49
+ findAndTranslateValidNode(keys: any, translation: any): any;
50
+ lookup(scope: any, options?: {}): any;
51
+ missingTranslation(scope: any, key: any, options: any): string;
52
+ prepareOptions(...args: any[]): {};
53
+ isValidNode(obj: any, node: any): boolean;
54
+ messageFormat(key: any, options: any): any;
55
+ _verboseTranslate(scope: any, options: any): string;
56
+ loadData(): void;
57
+ _overrides: any;
58
+ _mfMessages: Messages;
59
+ #private;
60
+ }
61
+ export class I18nMissingInterpolationArgument extends Error {
62
+ constructor(message: any);
63
+ }
64
+ export default I18nInstance;
65
+ export function i18n(scope: any, options: any): any;
66
+ import * as Cardinals from "make-plural/cardinals";
67
+ import Messages from "@messageformat/runtime/messages";
68
+ declare const I18nInstance: I18n;
69
+ //# sourceMappingURL=index.d.ts.map
70
+ }
@@ -97,6 +97,7 @@
97
97
  /// <reference path="./external-types/@types__qunit/index.d.ts" />
98
98
  /// <reference path="./external-types/@types__rsvp/index.d.ts" />
99
99
  /// <reference path="./external-types/@types__sinon/index.d.ts" />
100
+ /// <reference path="./external-types/discourse-i18n/src/index.d.ts" />
100
101
  /// <reference path="./external-types/ember-modifier/declarations/index.d.ts" />
101
102
  /// <reference path="./external-types/ember-qunit/types/index.d.ts" />
102
103
  /// <reference path="./external-types/ember-qunit/types/local-types.d.ts" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discourse/types",
3
- "version": "2026.1.0-a5a0839",
3
+ "version": "2026.1.0-c7e9cdd",
4
4
  "description": "Types only",
5
5
  "license": "GPL-2.0-only",
6
6
  "author": "Discourse",
@@ -1,3 +0,0 @@
1
- export default adminCompatModules;
2
- declare const adminCompatModules: {};
3
- //# sourceMappingURL=compat-modules.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compat-modules.d.ts","sourceRoot":"","sources":["../../../discourse/admin/compat-modules.js"],"names":[],"mappings":";AAEA,qCAA8B"}
@@ -1,19 +0,0 @@
1
- export default class AdminWebHooksEditController extends Controller<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- router: any;
4
- siteSettings: any;
5
- adminWebHooks: any;
6
- groupedEventTypes: any;
7
- defaultEventTypes: any;
8
- contentTypes: any;
9
- showTagsFilter(): any;
10
- savingStatus(isSaving: any, saved: any, saveButtonDisabled: any): any;
11
- saveButtonText(isNew: any): any;
12
- secretValidation(secret: any): EmberObject;
13
- eventTypeValidation(isWildcard: any, eventTypes: any): EmberObject;
14
- saveButtonDisabled(isSaving: any, secretValidation: any, eventTypeValidation: any, payloadUrl: any): any;
15
- save(): Promise<void>;
16
- }
17
- import Controller from "@ember/controller";
18
- import EmberObject from "@ember/object";
19
- //# sourceMappingURL=edit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../../../discourse/admin/controllers/admin-web-hooks/edit.js"],"names":[],"mappings":"AASA;;IACE,YAAgB;IAChB,kBAAsB;IAEtB,mBAA0B;IAE1B,uBAA4D;IAC5D,uBAA4D;IAC5D,kBAAkD;IAElD,sBAGC;IAED,sEAUC;IAED,gCAKC;IAED,2CAiBC;IAED,mEAQC;IAED,yGAeC;IAED,sBAaC;CACF;uBAvGgD,mBAAmB;wBAChC,eAAe"}
@@ -1,13 +0,0 @@
1
- export default class AdminWebHooksIndexController extends Controller<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- dialog: any;
4
- adminWebHooks: any;
5
- contentTypes: any;
6
- defaultEventTypes: any;
7
- deliveryStatuses: any;
8
- eventTypes: any;
9
- destroyWebhook(webhook: any): any;
10
- loadMore(): void;
11
- }
12
- import Controller from "@ember/controller";
13
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../discourse/admin/controllers/admin-web-hooks/index.js"],"names":[],"mappings":"AAOA;;IACE,YAAgB;IAChB,mBAA0B;IAE1B,kBAAkD;IAClD,uBAA4D;IAC5D,sBAA0D;IAC1D,gBAA8C;IAG9C,kCAaC;IAED,iBAGC;CACF;uBApCgD,mBAAmB"}
@@ -1,3 +0,0 @@
1
- declare const _default: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
2
- export default _default;
3
- //# sourceMappingURL=welcome-banner.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"welcome-banner.d.ts","sourceRoot":"","sources":["../../../../../discourse/admin/templates/admin-config/welcome-banner.gjs"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export default AboutPageUser;
2
- declare const AboutPageUser: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
3
- //# sourceMappingURL=about-page-user.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"about-page-user.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/about-page-user.gjs"],"names":[],"mappings":";AA0CA,qZA+FG"}
@@ -1,7 +0,0 @@
1
- export default class BootstrapModeNotice extends Component<any> {
2
- constructor(owner: import("@ember/-internals/owner").default, args: any);
3
- siteSettings: any;
4
- routeToAdminGuide(): void;
5
- }
6
- import Component from "@glimmer/component";
7
- //# sourceMappingURL=bootstrap-mode-notice.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bootstrap-mode-notice.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/bootstrap-mode-notice.gjs"],"names":[],"mappings":"AA8BA;;IACE,kBAAsB;IAEtB,0BAKC;CAeF;sBA7BqB,oBAAoB"}
@@ -1,3 +0,0 @@
1
- export default DComboButton;
2
- declare const DComboButton: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
3
- //# sourceMappingURL=d-combo-button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"d-combo-button.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/d-combo-button.gjs"],"names":[],"mappings":";AAoGA,oZAYG"}
@@ -1,5 +0,0 @@
1
- export default class FooterMessage extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- }
4
- import Component from "@ember/component";
5
- //# sourceMappingURL=footer-message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"footer-message.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/footer-message.gjs"],"names":[],"mappings":"AAqBA;;CAaC;sBAhBqB,kBAAkB"}
@@ -1,13 +0,0 @@
1
- export default class GroupImapEmailSettings extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- form: any;
4
- missingSettings(email_username: any, email_password: any, imap_server: any, imap_port: any): boolean;
5
- mailboxes(imapMailboxes: any): any;
6
- mailboxSelected(mailboxName: any, mailboxesSize: any): boolean;
7
- resetSettingsValid(): void;
8
- _fillForm(): void;
9
- prefillSettings(provider: any, event: any): void;
10
- testImapSettings(): Promise<void>;
11
- }
12
- import Component from "@ember/component";
13
- //# sourceMappingURL=group-imap-email-settings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"group-imap-email-settings.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/group-imap-email-settings.gjs"],"names":[],"mappings":"AAyPA;;IAEE,UAAY;IAEZ,qGAUC;IAED,mCAMC;IAED,+DAGC;IAED,2BAGC;IAED,kBAUC;IAED,iDAIC;IAED,kCA2BC;CA8PF;sBAjWgC,kBAAkB"}
@@ -1,23 +0,0 @@
1
- export default class ScrollingPostStream {
2
- screenTrack: any;
3
- site: any;
4
- widget: string;
5
- _topVisible: any;
6
- _bottomVisible: any;
7
- _currentPostObj: any;
8
- _currentVisible: any;
9
- _currentPercent: any;
10
- buildArgs(): any;
11
- scrolled(): void;
12
- _previouslyNearby: Set<any>;
13
- _scrollTriggered(): void;
14
- _posted(staged: any): void;
15
- _refresh(args: any): void;
16
- _debouncedScroll(): void;
17
- didInsertElement(...args: any[]): void;
18
- willDestroyElement(...args: any[]): void;
19
- didUpdateAttrs(...args: any[]): void;
20
- _handleWidgetButtonHoverState(event: any): void;
21
- _removeWidgetButtonHoverState(): void;
22
- }
23
- //# sourceMappingURL=scrolling-post-stream.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scrolling-post-stream.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/scrolling-post-stream.js"],"names":[],"mappings":"AAiCA;IACE,iBAAqB;IACrB,UAAc;IAEd,eAAuB;IACvB,iBAAmB;IACnB,oBAAsB;IACtB,qBAAuB;IACvB,qBAAuB;IACvB,qBAAuB;IAEvB,iBAiBC;IAED,iBA+MC;IAFC,4BAAgC;IAIlC,yBAEC;IAED,2BAOC;IAED,0BAsBC;IAED,yBAGC;IAED,uCAuCC;IAED,yCAgBC;IAED,qCAGC;IAED,gDASC;IAED,sCAIC;CACF"}
@@ -1,7 +0,0 @@
1
- export default class TopPeriodButtons extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- periods(period: any): any;
4
- changePeriod(p: any): void;
5
- }
6
- import Component from "@ember/component";
7
- //# sourceMappingURL=top-period-buttons.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"top-period-buttons.d.ts","sourceRoot":"","sources":["../../../../discourse/app/components/top-period-buttons.gjs"],"names":[],"mappings":"AAwCA;;IAEE,0BAGC;IAED,2BAGC;CAsBF;sBAxCqB,kBAAkB"}
@@ -1,3 +0,0 @@
1
- export default output;
2
- declare let output: any;
3
- //# sourceMappingURL=environment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../../discourse/app/config/environment.js"],"names":[],"mappings":";AAGA,wBAAW"}
@@ -1,4 +0,0 @@
1
- export default function renderEmojiAutocomplete({ options }: {
2
- options: any;
3
- }): string;
4
- //# sourceMappingURL=emoji.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"emoji.d.ts","sourceRoot":"","sources":["../../../../../discourse/app/lib/autocomplete/emoji.js"],"names":[],"mappings":"AAWA;;WAQC"}
@@ -1,4 +0,0 @@
1
- export default exports;
2
- declare var exports: {};
3
- declare namespace ___Users_cvx_discourse_discourse_frontend_discourse_app_loader_ { }
4
- //# sourceMappingURL=loader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../../../discourse/app/loader.js"],"names":[],"mappings":";AAqFE,wBAAkC"}
@@ -1,2 +0,0 @@
1
- export { default } from "discourse/dialog-holder/services/dialog";
2
- //# sourceMappingURL=dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/dialog.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export { default } from "discourse/float-kit/services/internal-tooltip";
2
- //# sourceMappingURL=internal-tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"internal-tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/internal-tooltip.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export { default } from "discourse/float-kit/services/menu";
2
- //# sourceMappingURL=menu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/menu.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export { default } from "discourse/float-kit/services/toasts";
2
- //# sourceMappingURL=toasts.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"toasts.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/toasts.js"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export { default } from "discourse/float-kit/services/tooltip";
2
- //# sourceMappingURL=tooltip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../discourse/app/services/tooltip.js"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export default class Checkbox extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- }
4
- import Component from "@ember/component";
5
- //# sourceMappingURL=checkbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../../discourse/app/static/wizard/components/fields/checkbox.gjs"],"names":[],"mappings":"AA4CA;;CA0DC;sBAhEgC,kBAAkB"}
@@ -1,7 +0,0 @@
1
- export default class Checkboxes extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- init(...args: any[]): void;
4
- changed(checkbox: any): void;
5
- }
6
- import Component from "@ember/component";
7
- //# sourceMappingURL=checkboxes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"checkboxes.d.ts","sourceRoot":"","sources":["../../../../../../../discourse/app/static/wizard/components/fields/checkboxes.gjs"],"names":[],"mappings":"AA6DA;;IACE,2BASC;IAED,6BAgBC;CA6CF;sBA9EgC,kBAAkB"}
@@ -1,5 +0,0 @@
1
- export default class Generic extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- }
4
- import Component from "@ember/component";
5
- //# sourceMappingURL=generic.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"generic.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/image-previews/generic.gjs"],"names":[],"mappings":"AAcA;;CAeC;sBAlBqB,kBAAkB"}
@@ -1,9 +0,0 @@
1
- declare const _default: {
2
- generic: any;
3
- logo: typeof Logo;
4
- "logo-small": typeof LogoSmall;
5
- };
6
- export default _default;
7
- import Logo from "./logo";
8
- import LogoSmall from "./logo-small";
9
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/image-previews/index.js"],"names":[],"mappings":";;;;;;iBACiB,QAAQ;sBACH,cAAc"}
@@ -1,13 +0,0 @@
1
- export default class LogoSmall {
2
- width: number;
3
- height: number;
4
- image: any;
5
- didInsertElement(...args: any[]): void;
6
- willDestroyElement(...args: any[]): void;
7
- imageChanged(): void;
8
- images(): {
9
- image: any;
10
- };
11
- paint(options: any): void;
12
- }
13
- //# sourceMappingURL=logo-small.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logo-small.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/image-previews/logo-small.js"],"names":[],"mappings":"AAKA;IACE,cAAY;IACZ,eAAa;IACb,WAAa;IAEb,uCAGC;IAED,yCAGC;IAED,qBAGC;IAED;;MAEC;IAED,0BA+DC;CACF"}
@@ -1,19 +0,0 @@
1
- export default class Logo {
2
- width: number;
3
- height: number;
4
- image: any;
5
- didInsertElement(...args: any[]): void;
6
- willDestroyElement(...args: any[]): void;
7
- imageChanged(): void;
8
- images(): {
9
- image: any;
10
- };
11
- paint({ ctx, colors, font, width, height }: {
12
- ctx: any;
13
- colors: any;
14
- font: any;
15
- width: any;
16
- height: any;
17
- }): void;
18
- }
19
- //# sourceMappingURL=logo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/image-previews/logo.js"],"names":[],"mappings":"AAIA;IACE,cAAY;IACZ,eAAa;IACb,WAAa;IAEb,uCAGC;IAED,yCAGC;IAED,qBAGC;IAED;;MAEC;IAED;;;;;;aAoBC;CACF"}
@@ -1,15 +0,0 @@
1
- export default class Image extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- dialog: any;
4
- uploading: boolean;
5
- previewComponent(id: any): any;
6
- didInsertElement(...args: any[]): void;
7
- hasUpload(): boolean;
8
- setupUploads(): void;
9
- _uppyInstance: Uppy<{
10
- upload_type: string;
11
- }, Record<string, never>>;
12
- }
13
- import Component from "@ember/component";
14
- import Uppy from "@uppy/core";
15
- //# sourceMappingURL=image.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../../../../../discourse/app/static/wizard/components/fields/image.gjs"],"names":[],"mappings":"AA+IA;;IAEE,YAAgB;IAEhB,mBAAkB;IAElB,+BAGC;IAED,uCAGC;IAED,qBAOC;IAED,qBAuDC;IArDC;;8BAIE;CAyFL;sBAtIqB,kBAAkB;iBAKvB,YAAY"}
@@ -1,29 +0,0 @@
1
- export default class HomepagePreview {
2
- width: number;
3
- height: number;
4
- logo: any;
5
- avatar: any;
6
- didUpdateAttrs(...args: any[]): void;
7
- images(): {
8
- logo: any;
9
- avatar: string;
10
- };
11
- paint({ ctx, colors, font, width, height }: {
12
- ctx: any;
13
- colors: any;
14
- font: any;
15
- width: any;
16
- height: any;
17
- }): void;
18
- renderCategoriesBoxes(ctx: any, colors: any, font: any, width: any, height: any, opts: any): void;
19
- renderCategories(ctx: any, colors: any, font: any, width: any, height: any): void;
20
- renderCategoriesWithTopics(ctx: any, colors: any, font: any, width: any, height: any): void;
21
- getHomepageStyle(): any;
22
- getTitles(): any[];
23
- getHotTitles(): any[];
24
- getDescriptions(): any[];
25
- renderNonCategoryHomepage(ctx: any, colors: any, font: any, width: any, height: any, homepageStyle: any): void;
26
- fillTextMultiLine(ctx: any, text: any, x: any, y: any, lineHeight: any, maxWidth: any): number;
27
- drawSquare(ctx: any, from: any, to: any, edges?: any[]): void;
28
- }
29
- //# sourceMappingURL=-homepage-preview.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"-homepage-preview.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/styling-preview/-homepage-preview.js"],"names":[],"mappings":"AAIA;IACE,cAAY;IACZ,eAAa;IACb,UAAY;IACZ,YAAc;IAEd,qCAIC;IAED;;;MAKC;IAED;;;;;;aAqCC;IAED,kGAqEC;IAED,kFAiGC;IAED,4FAqHC;IAED,wBAEC;IAED,mBAOC;IAED,sBAOC;IAED,yBAMC;IAED,+GA6GC;IAED,+FAmBC;IAGD,8DAwBC;CACF"}
@@ -1,34 +0,0 @@
1
- export default class PreviewBase extends Component<any> {
2
- constructor(owner?: import("@ember/-internals/owner").default | undefined);
3
- ctx: any;
4
- loaded: boolean;
5
- loadingFontVariants: boolean;
6
- get elementWidth(): number;
7
- get elementHeight(): number;
8
- get canvasStyle(): import("@ember/template").SafeString;
9
- didInsertElement(...args: any[]): void;
10
- fontMap: any;
11
- loadedFonts: Set<any>;
12
- willDestroyElement(...args: any[]): void;
13
- themeChanged(): void;
14
- themeBodyFontChanged(): void;
15
- themeHeadingFontChanged(): void;
16
- themeFontChanged(): void;
17
- loadFontVariants(font: any): import("rsvp").default.Promise<any>;
18
- images(): void;
19
- loadFonts(): globalThis.Promise<FontFaceSet>;
20
- loadImages(): import("rsvp").default.Promise<any>;
21
- reload(): void;
22
- triggerRepaint(): void;
23
- repaint(): boolean;
24
- categories(): {
25
- name: any;
26
- color: string;
27
- }[];
28
- scaleImage(image: any, x: any, y: any, w: any, h: any): void;
29
- get headerHeight(): number;
30
- drawFullHeader(colors: any, font: any, logo: any): void;
31
- drawPills(colors: any, font: any, headerHeight: any, opts: any): void;
32
- }
33
- import Component from "@ember/component";
34
- //# sourceMappingURL=-preview-base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"-preview-base.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/styling-preview/-preview-base.gjs"],"names":[],"mappings":"AAwfA;;IACE,SAAW;IACX,gBAAe;IACf,6BAA4B;IAE5B,2BAEC;IAED,4BAEC;IAED,wDAEC;IAED,uCAmBC;IAjBC,aAA0C;IAC1C,sBAA4B;IAkB9B,yCAcC;IAED,qBAGC;IAED,6BAKC;IAED,gCAKC;IAED,yBAKC;IAED,iEA0CC;IAED,eAAW;IAKX,6CAEC;IAED,kDAUC;IAED,eAWC;IAED,uBAEC;IAED,mBAmCC;IAED;;;QAeC;IAED,6DAqBC;IAED,2BAEC;IAED,wDAqEC;IAED,sEAuGC;CAyBF;sBAxdqB,kBAAkB"}
@@ -1,38 +0,0 @@
1
- export default class Index {
2
- width: number;
3
- height: number;
4
- logo: any;
5
- avatar: any;
6
- previewTopic: boolean;
7
- draggingActive: boolean;
8
- startX: number;
9
- scrollLeft: number;
10
- HomepagePreview: typeof HomepagePreview;
11
- init(...args: any[]): void;
12
- willDestroy(...args: any[]): void;
13
- didInsertElement(...args: any[]): void;
14
- willDestroyElement(...args: any[]): void;
15
- mouseDown(e: any): void;
16
- handleMouseLeave(): void;
17
- mouseUp(): void;
18
- handleMouseMove(e: any): void;
19
- didUpdateAttrs(...args: any[]): void;
20
- onHomepageStyleChange(): void;
21
- scrollPreviewArea(): void;
22
- images(): {
23
- logo: any;
24
- avatar: string;
25
- };
26
- paint({ ctx, colors, font, headingFont, width, height }: {
27
- ctx: any;
28
- colors: any;
29
- font: any;
30
- headingFont: any;
31
- width: any;
32
- height: any;
33
- }): void;
34
- setPreviewHomepage(event: any): void;
35
- setPreviewTopic(event: any): void;
36
- }
37
- import HomepagePreview from "./-homepage-preview";
38
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../discourse/app/static/wizard/components/fields/styling-preview/index.gjs"],"names":[],"mappings":"AAySA;IACE,cAAY;IACZ,eAAa;IACb,UAAY;IACZ,YAAc;IACd,sBAAoB;IACpB,wBAAuB;IACvB,eAAW;IACX,mBAAe;IACf,wCAAkC;IAElC,2BAKC;IAED,kCAKC;IAED,uCAIC;IAED,yCAIC;IAED,wBAOC;IAED,yBAGC;IAED,gBAEC;IAED,8BAmBC;IAED,qCAIC;IAED,8BAGC;IAED,0BAQC;IAED;;;MAKC;IAED;;;;;;;aAwHC;IAED,qCAIC;IAED,kCAIC;CA8EF;4BA7T2B,qBAAqB"}
@@ -1,14 +0,0 @@
1
- export default class WizardCanvasComponent extends Component<any> {
2
- constructor(owner: import("@ember/-internals/owner").default, args: any);
3
- canvas: any;
4
- particles: any;
5
- get ready(): boolean;
6
- get ctx(): any;
7
- setup(canvas: any): void;
8
- teardown(): void;
9
- resized(): void;
10
- paint(): void;
11
- drawParticle(c: any, p: any): void;
12
- }
13
- import Component from "@glimmer/component";
14
- //# sourceMappingURL=wizard-canvas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wizard-canvas.d.ts","sourceRoot":"","sources":["../../../../../../discourse/app/static/wizard/components/wizard-canvas.gjs"],"names":[],"mappings":"AA+OA;;IACE,YAAc;IACd,eAAiB;IAEjB,qBAEC;IAED,eAEC;IAED,yBAeC;IAED,iBAIC;IAED,gBAIC;IAED,cAgBC;IAED,mCAoEC;CAeF;sBAjMqB,oBAAoB"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=actions-summary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"actions-summary.d.ts","sourceRoot":"","sources":["../../../../discourse/app/widgets/actions-summary.js"],"names":[],"mappings":""}