@mnaoumov/obsidian-lib 10.4.1 → 10.5.1

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 (118) hide show
  1. package/README.md +6 -0
  2. package/codemirror/incremental-parse-state-field/package.json +6 -0
  3. package/codemirror/markdown-editor-views/package.json +6 -0
  4. package/codemirror/range-set/package.json +6 -0
  5. package/command-handlers/open-bug-report-command-handler/package.json +6 -0
  6. package/components/embeddable-markdown-editor-component/package.json +6 -0
  7. package/components/reconfigurable-editor-extension-component/package.json +6 -0
  8. package/dist/lib/cjs/__merged.cjs +54 -1
  9. package/dist/lib/cjs/__merged.d.cts +14 -3
  10. package/dist/lib/cjs/attachment-path.cjs +3 -2
  11. package/dist/lib/cjs/backlink-index.cjs +44 -8
  12. package/dist/lib/cjs/backlink-index.d.cts +23 -0
  13. package/dist/lib/cjs/bug-report.cjs +241 -0
  14. package/dist/lib/cjs/bug-report.d.cts +161 -0
  15. package/dist/lib/cjs/bulk-operation-progress.cjs +16 -1
  16. package/dist/lib/cjs/bulk-operation-progress.d.cts +22 -0
  17. package/dist/lib/cjs/case-insensitive-file-index.cjs +9 -1
  18. package/dist/lib/cjs/codemirror/incremental-parse-state-field.cjs +162 -0
  19. package/dist/lib/cjs/codemirror/incremental-parse-state-field.d.cts +37 -0
  20. package/dist/lib/cjs/codemirror/index.cjs +10 -1
  21. package/dist/lib/cjs/codemirror/index.d.cts +3 -0
  22. package/dist/lib/cjs/codemirror/markdown-editor-views.cjs +142 -0
  23. package/dist/lib/cjs/codemirror/markdown-editor-views.d.cts +34 -0
  24. package/dist/lib/cjs/codemirror/range-set.cjs +106 -0
  25. package/dist/lib/cjs/codemirror/range-set.d.cts +35 -0
  26. package/dist/lib/cjs/command-handlers/index.cjs +4 -1
  27. package/dist/lib/cjs/command-handlers/index.d.cts +1 -0
  28. package/dist/lib/cjs/command-handlers/open-bug-report-command-handler.cjs +139 -0
  29. package/dist/lib/cjs/command-handlers/open-bug-report-command-handler.d.cts +53 -0
  30. package/dist/lib/cjs/command-handlers/open-settings-command-handler.cjs +6 -3
  31. package/dist/lib/cjs/community-plugins.cjs +19 -2
  32. package/dist/lib/cjs/community-plugins.d.cts +14 -0
  33. package/dist/lib/cjs/components/bulk-operation-commit-component.cjs +5 -2
  34. package/dist/lib/cjs/components/embeddable-markdown-editor-component.cjs +374 -0
  35. package/dist/lib/cjs/components/embeddable-markdown-editor-component.d.cts +221 -0
  36. package/dist/lib/cjs/components/index.cjs +7 -1
  37. package/dist/lib/cjs/components/index.d.cts +2 -0
  38. package/dist/lib/cjs/components/plugin-gate-component.cjs +6 -3
  39. package/dist/lib/cjs/components/reconfigurable-editor-extension-component.cjs +200 -0
  40. package/dist/lib/cjs/components/reconfigurable-editor-extension-component.d.cts +96 -0
  41. package/dist/lib/cjs/components/rename-delete-handler-component.cjs +105 -2
  42. package/dist/lib/cjs/desktop-bulk-operation-git.cjs +38 -13
  43. package/dist/lib/cjs/desktop-bulk-operation-git.d.cts +21 -1
  44. package/dist/lib/cjs/desktop-operating-system.cjs +101 -0
  45. package/dist/lib/cjs/desktop-operating-system.d.cts +15 -0
  46. package/dist/lib/cjs/generated-during-build.cjs +1 -1
  47. package/dist/lib/cjs/i18n/locales/en.cjs +2 -1
  48. package/dist/lib/cjs/i18n/locales/en.d.cts +1 -0
  49. package/dist/lib/cjs/i18n/locales/translations-map.d.cts +1 -0
  50. package/dist/lib/cjs/index.cjs +16 -1
  51. package/dist/lib/cjs/index.d.cts +5 -0
  52. package/dist/lib/cjs/menu.cjs +118 -0
  53. package/dist/lib/cjs/menu.d.cts +65 -0
  54. package/dist/lib/cjs/mobile-app-info.cjs +167 -0
  55. package/dist/lib/cjs/mobile-app-info.d.cts +32 -0
  56. package/dist/lib/cjs/modals/modal.cjs +8 -5
  57. package/dist/lib/cjs/modals/modal.d.cts +4 -0
  58. package/dist/lib/cjs/obsidian-settings.cjs +2 -2
  59. package/dist/lib/cjs/plugin/plugin.cjs +5 -2
  60. package/dist/lib/cjs/plugin/plugin.d.cts +2 -0
  61. package/dist/lib/cjs/settings-modal.cjs +103 -0
  62. package/dist/lib/cjs/settings-modal.d.cts +33 -0
  63. package/dist/lib/esm/__merged.d.mts +14 -3
  64. package/dist/lib/esm/__merged.mjs +50 -2
  65. package/dist/lib/esm/attachment-path.mjs +3 -2
  66. package/dist/lib/esm/backlink-index.d.mts +23 -0
  67. package/dist/lib/esm/backlink-index.mjs +42 -7
  68. package/dist/lib/esm/bug-report.d.mts +161 -0
  69. package/dist/lib/esm/bug-report.mjs +141 -0
  70. package/dist/lib/esm/bulk-operation-progress.d.mts +22 -0
  71. package/dist/lib/esm/bulk-operation-progress.mjs +14 -1
  72. package/dist/lib/esm/case-insensitive-file-index.mjs +9 -1
  73. package/dist/lib/esm/codemirror/incremental-parse-state-field.d.mts +37 -0
  74. package/dist/lib/esm/codemirror/incremental-parse-state-field.mjs +74 -0
  75. package/dist/lib/esm/codemirror/index.d.mts +3 -0
  76. package/dist/lib/esm/codemirror/index.mjs +7 -1
  77. package/dist/lib/esm/codemirror/markdown-editor-views.d.mts +34 -0
  78. package/dist/lib/esm/codemirror/markdown-editor-views.mjs +53 -0
  79. package/dist/lib/esm/codemirror/range-set.d.mts +35 -0
  80. package/dist/lib/esm/codemirror/range-set.mjs +18 -0
  81. package/dist/lib/esm/command-handlers/index.d.mts +1 -0
  82. package/dist/lib/esm/command-handlers/index.mjs +3 -1
  83. package/dist/lib/esm/command-handlers/open-bug-report-command-handler.d.mts +53 -0
  84. package/dist/lib/esm/command-handlers/open-bug-report-command-handler.mjs +51 -0
  85. package/dist/lib/esm/command-handlers/open-settings-command-handler.mjs +6 -3
  86. package/dist/lib/esm/community-plugins.d.mts +14 -0
  87. package/dist/lib/esm/community-plugins.mjs +18 -2
  88. package/dist/lib/esm/components/bulk-operation-commit-component.mjs +5 -2
  89. package/dist/lib/esm/components/embeddable-markdown-editor-component.d.mts +221 -0
  90. package/dist/lib/esm/components/embeddable-markdown-editor-component.mjs +293 -0
  91. package/dist/lib/esm/components/index.d.mts +2 -0
  92. package/dist/lib/esm/components/index.mjs +5 -1
  93. package/dist/lib/esm/components/plugin-gate-component.mjs +6 -3
  94. package/dist/lib/esm/components/reconfigurable-editor-extension-component.d.mts +96 -0
  95. package/dist/lib/esm/components/reconfigurable-editor-extension-component.mjs +112 -0
  96. package/dist/lib/esm/components/rename-delete-handler-component.mjs +105 -2
  97. package/dist/lib/esm/desktop-bulk-operation-git.d.mts +21 -1
  98. package/dist/lib/esm/desktop-bulk-operation-git.mjs +38 -13
  99. package/dist/lib/esm/desktop-operating-system.d.mts +15 -0
  100. package/dist/lib/esm/desktop-operating-system.mjs +16 -0
  101. package/dist/lib/esm/generated-during-build.mjs +1 -1
  102. package/dist/lib/esm/i18n/locales/en.d.mts +1 -0
  103. package/dist/lib/esm/i18n/locales/en.mjs +2 -1
  104. package/dist/lib/esm/i18n/locales/translations-map.d.mts +1 -0
  105. package/dist/lib/esm/index.d.mts +5 -0
  106. package/dist/lib/esm/index.mjs +11 -1
  107. package/dist/lib/esm/menu.d.mts +65 -0
  108. package/dist/lib/esm/menu.mjs +30 -0
  109. package/dist/lib/esm/mobile-app-info.d.mts +32 -0
  110. package/dist/lib/esm/mobile-app-info.mjs +84 -0
  111. package/dist/lib/esm/modals/modal.d.mts +4 -0
  112. package/dist/lib/esm/modals/modal.mjs +8 -5
  113. package/dist/lib/esm/obsidian-settings.mjs +6 -3
  114. package/dist/lib/esm/plugin/plugin.d.mts +2 -0
  115. package/dist/lib/esm/plugin/plugin.mjs +5 -2
  116. package/dist/lib/esm/settings-modal.d.mts +33 -0
  117. package/dist/lib/esm/settings-modal.mjs +15 -0
  118. package/package.json +9 -8
@@ -0,0 +1,103 @@
1
+ /*
2
+ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
3
+ if you want to view the source, please visit the github repository of this plugin
4
+ */
5
+ (function patchObsidianRequire() {
6
+ const originalRequire = require;
7
+ if (!originalRequire || originalRequire.__isPatched) {
8
+ return;
9
+ }
10
+ require = Object.assign(
11
+ (id) => requirePatched(id),
12
+ originalRequire,
13
+ {
14
+ __isPatched: true
15
+ }
16
+ );
17
+ function extractDefault($module) {
18
+ return $module && $module.__esModule && "default" in $module ? $module.default : $module;
19
+ }
20
+ const OBSIDIAN_BUILT_IN_MODULE_NAMES = /* @__PURE__ */ new Set([
21
+ "@codemirror/autocomplete",
22
+ "@codemirror/collab",
23
+ "@codemirror/commands",
24
+ "@codemirror/language",
25
+ "@codemirror/lint",
26
+ "@codemirror/search",
27
+ "@codemirror/state",
28
+ "@codemirror/text",
29
+ "@codemirror/view",
30
+ "@lezer/common",
31
+ "@lezer/highlight",
32
+ "@lezer/lr",
33
+ "obsidian"
34
+ ]);
35
+ const DEPRECATED_OBSIDIAN_BUILT_IN_MODULE_NAMES = /* @__PURE__ */ new Set([
36
+ "@codemirror/closebrackets",
37
+ "@codemirror/comment",
38
+ "@codemirror/fold",
39
+ "@codemirror/gutter",
40
+ "@codemirror/highlight",
41
+ "@codemirror/history",
42
+ "@codemirror/matchbrackets",
43
+ "@codemirror/panel",
44
+ "@codemirror/rangeset",
45
+ "@codemirror/rectangular-selection",
46
+ "@codemirror/stream-parser",
47
+ "@codemirror/tooltip"
48
+ ]);
49
+ function requirePatched(id) {
50
+ if (OBSIDIAN_BUILT_IN_MODULE_NAMES.has(id) || DEPRECATED_OBSIDIAN_BUILT_IN_MODULE_NAMES.has(id)) {
51
+ return originalRequire?.(id);
52
+ }
53
+ const app = globalThis.app;
54
+ if (app?.isMobile) {
55
+ if (id === "process" || id === "node:process") {
56
+ console.debug(`The most likely you can safely ignore this error. Module not found: ${id}. Fake process object is returned instead.`);
57
+ return process;
58
+ }
59
+ } else {
60
+ const $module = originalRequire?.(id);
61
+ if ($module) {
62
+ return extractDefault($module);
63
+ }
64
+ }
65
+ console.debug(`The most likely you can safely ignore this error. Module not found: ${id}. Empty object is returned instead.`);
66
+ return {};
67
+ }
68
+ })();
69
+
70
+ "use strict";
71
+ var __defProp = Object.defineProperty;
72
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
73
+ var __getOwnPropNames = Object.getOwnPropertyNames;
74
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
75
+ var __export = (target, all) => {
76
+ for (var name in all)
77
+ __defProp(target, name, { get: all[name], enumerable: true });
78
+ };
79
+ var __copyProps = (to, from, except, desc) => {
80
+ if (from && typeof from === "object" || typeof from === "function") {
81
+ for (let key of __getOwnPropNames(from))
82
+ if (!__hasOwnProp.call(to, key) && key !== except)
83
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
84
+ }
85
+ return to;
86
+ };
87
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
88
+ var settings_modal_exports = {};
89
+ __export(settings_modal_exports, {
90
+ openSettingTab: () => openSettingTab
91
+ });
92
+ module.exports = __toCommonJS(settings_modal_exports);
93
+ function openSettingTab(params) {
94
+ const { app, tabId } = params;
95
+ app.setting.open();
96
+ const activeTab = app.setting.activeTab;
97
+ return activeTab?.id === tabId ? activeTab : app.setting.openTabById(tabId);
98
+ }
99
+ // Annotate the CommonJS export names for ESM import in node:
100
+ 0 && (module.exports = {
101
+ openSettingTab
102
+ });
103
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zZXR0aW5ncy1tb2RhbC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBmaWxlXG4gKlxuICogSGVscGVycyBmb3IgT2JzaWRpYW4ncyBTZXR0aW5ncyBtb2RhbC5cbiAqL1xuXG5pbXBvcnQgdHlwZSB7XG4gIEFwcCxcbiAgU2V0dGluZ1RhYlxufSBmcm9tICdvYnNpZGlhbic7XG5cbi8qKlxuICogUGFyYW1ldGVycyBmb3Ige0BsaW5rIG9wZW5TZXR0aW5nVGFifS5cbiAqL1xuZXhwb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-references.d.cts" />
2
+ /**
3
+ * @file
4
+ *
5
+ * Helpers for Obsidian's Settings modal.
6
+ */
7
+ import type { App, SettingTab } from 'obsidian' with { 'resolution-mode': 'import' };
8
+ /**
9
+ * Parameters for {@link openSettingTab}.
10
+ */
11
+ export interface OpenSettingTabParams {
12
+ /**
13
+ * The Obsidian app instance.
14
+ */
15
+ readonly app: App;
16
+ /**
17
+ * The id of the tab to open: a plugin's id for its own tab, or a core tab id such as `'hotkeys'`.
18
+ */
19
+ readonly tabId: string;
20
+ }
21
+ /**
22
+ * Opens Settings on a tab, without opening that tab a second time when it is already the active one.
23
+ *
24
+ * Opening a tab hides the active tab and renders the new one, so opening the tab that is already shown
25
+ * runs its `display()` again for nothing, and a tab whose mount logic does not expect that can break.
26
+ * Settings re-opens its last tab by itself when it opens on desktop and tablet, but not on a phone, where
27
+ * it shows the tab list instead. So the check is on the tab that is active after Settings opened, not on
28
+ * the last tab id, which on a phone would leave the user on the list.
29
+ *
30
+ * @param params - The parameters.
31
+ * @returns The tab now shown, or `null` when no tab has that id.
32
+ */
33
+ export declare function openSettingTab(params: OpenSettingTabParams): null | SettingTab;
@@ -4,15 +4,19 @@ export { getApp } from './app.mjs';
4
4
  export { retryWithTimeoutNotice, runWithTimeoutNotice } from './async-with-notice.mjs';
5
5
  export { AttachmentPathContext, CUSTOM_ATTACHMENT_LOCATION_PLUGIN_ID, DUMMY_PATH, getAttachmentFilePath, getAttachmentFolderPath, getAttachmentFolderPathForAttachment, getAttachmentFolderPathSyncOrNull, getAvailablePathForAttachments, getCheckIsAttachmentUnitFolderFunction, hasOwnAttachmentFolder, isAtProperAttachmentPath } from './attachment-path.mjs';
6
6
  export { findAttachmentUnitFolderPath, rebasePathOntoFolder } from './attachment-unit-folder.mjs';
7
- export { getIndexedBacklinksForFile } from './backlink-index.mjs';
7
+ export { getIndexedBacklinksForFile, iterateReferencesAffectedByRename } from './backlink-index.mjs';
8
8
  export { renderBacklinksTable, renderDelayedBacklinks, renderDelayedBacklinksForFolder } from './backlink.mjs';
9
9
  export { PluginBasesViewRegistrar } from './bases-view-registrar.mjs';
10
- export { registerBulkOperationProgressListener, reportBulkOperationProgress } from './bulk-operation-progress.mjs';
10
+ export { BUG_REPORT_ISSUE_FORM_TEMPLATE, BugReportIssueFormFieldId, formatBugReportEnvironment, getBugReportEnvironment, getBugReportIssueFormUrl, getGitHubIssueFormUrl } from './bug-report.mjs';
11
+ export { BULK_OPERATION_HOLD_INTERVAL_IN_MILLISECONDS, holdBulkOperationWhile, registerBulkOperationProgressListener, reportBulkOperationProgress } from './bulk-operation-progress.mjs';
11
12
  export { buildBeforeOperationCommitSubject, buildOperationCommitMessage, BULK_OPERATION_LOCK_FILE_NAME, BULK_OPERATION_LOCK_STALE_AFTER_IN_MILLISECONDS, formatOperationId, getNextOperationId, isBulkOperationLock, isBulkOperationLockStale, OPERATION_TRAILER_KEY, parseBulkOperationCommit, parseOperationNumber, PLUGIN_TRAILER_KEY } from './bulk-operation.mjs';
12
13
  export { CalloutMode, renderCallout, wrapForCallout } from './callout.mjs';
13
14
  export { getCanvasReferences } from './canvas.mjs';
14
15
  export { CaseInsensitiveFileIndex, getCaseInsensitiveFileIndex, setCaseInsensitiveFileIndex, unsetCaseInsensitiveFileIndex } from './case-insensitive-file-index.mjs';
15
16
  export { createCodeBlockRegExp } from './code-block-reg-exp.mjs';
17
+ export { createIncrementalParseStateField } from './codemirror/incremental-parse-state-field.mjs';
18
+ export { dispatchToAllMarkdownEditorViews, getAllMarkdownEditorViews } from './codemirror/markdown-editor-views.mjs';
19
+ export { rangeSetToArray } from './codemirror/range-set.mjs';
16
20
  export { AbstractFileCommandHandler } from './command-handlers/abstract-file-command-handler.mjs';
17
21
  export { CommandHandlerComponent } from './command-handlers/command-handler-component.mjs';
18
22
  export { CommandHandler } from './command-handlers/command-handler.mjs';
@@ -20,12 +24,13 @@ export { EditorCommandHandler } from './command-handlers/editor-command-handler.
20
24
  export { FileCommandHandler } from './command-handlers/file-command-handler.mjs';
21
25
  export { FolderCommandHandler } from './command-handlers/folder-command-handler.mjs';
22
26
  export { GlobalCommandHandler } from './command-handlers/global-command-handler.mjs';
27
+ export { OpenBugReportCommandHandler } from './command-handlers/open-bug-report-command-handler.mjs';
23
28
  export { OpenDemoVaultCommandHandler } from './command-handlers/open-demo-vault-command-handler.mjs';
24
29
  export { OpenSettingsCommandHandler } from './command-handlers/open-settings-command-handler.mjs';
25
30
  export { UndoBulkOperationCommandHandler } from './command-handlers/undo-bulk-operation-command-handler.mjs';
26
31
  export { UnlockActiveNoteCommandHandler } from './command-handlers/unlock-active-note-command-handler.mjs';
27
32
  export { PluginCommandRegistrar } from './command-registrar.mjs';
28
- export { configureCommunityPlugin, ConfigureCommunityPluginResult, disableCommunityPlugin, enableCommunityPlugin, getCommunityPluginRepo, getLatestReleaseVersion, installCommunityPlugin, installConfigureEnableCommunityPlugin, searchCommunityPlugins, toggleEnableCommunityPlugin, toggleInstallCommunityPlugin, uninstallCommunityPlugin, updateCommunityPlugin, UpdateCommunityPluginResult } from './community-plugins.mjs';
33
+ export { configureCommunityPlugin, ConfigureCommunityPluginResult, disableCommunityPlugin, enableCommunityPlugin, getCommunityPluginRepo, getLatestReleaseVersion, installCommunityPlugin, installConfigureEnableCommunityPlugin, PluginEnableRefusedError, searchCommunityPlugins, toggleEnableCommunityPlugin, toggleInstallCommunityPlugin, uninstallCommunityPlugin, updateCommunityPlugin, UpdateCommunityPluginResult } from './community-plugins.mjs';
29
34
  export { AbortSignalComponent } from './components/abort-signal-component.mjs';
30
35
  export { AllWindowsEventComponent } from './components/all-windows-event-component.mjs';
31
36
  export { AsyncErrorHandlerComponent } from './components/async-error-handler-component.mjs';
@@ -37,6 +42,7 @@ export { ConsoleDebugComponent } from './components/console-debug-component.mjs'
37
42
  export { CorePluginToggleComponent } from './components/core-plugin-toggle-component.mjs';
38
43
  export { asDisposableComponent } from './components/disposable-component.mjs';
39
44
  export { EmbedExtensionsComponent } from './components/embed-extensions-component.mjs';
45
+ export { EmbeddableMarkdownEditorComponent } from './components/embeddable-markdown-editor-component.mjs';
40
46
  export { FileExplorerRootMenuComponent, FileExplorerRootMenuSpot, VAULT_NAME_SELECTORS } from './components/file-explorer-root-menu-component.mjs';
41
47
  export { GenerateMarkdownLinkDefaultParamsComponent } from './components/generate-markdown-link-default-params-component.mjs';
42
48
  export { IncrementalFileIndexComponent } from './components/incremental-file-index-component.mjs';
@@ -51,6 +57,7 @@ export { PluginSettingsComponentBase } from './components/plugin-settings-compon
51
57
  export { PluginSettingsTabComponent } from './components/plugin-settings-tab-component.mjs';
52
58
  export { PluginSuggestionComponent, SuggestedPluginState } from './components/plugin-suggestion-component.mjs';
53
59
  export { PointerPositionComponent } from './components/pointer-position-component.mjs';
60
+ export { ReconfigurableEditorExtensionComponent } from './components/reconfigurable-editor-extension-component.mjs';
54
61
  export { RegistryComponent } from './components/registry-component.mjs';
55
62
  export { ReleaseNotesComponent } from './components/release-notes-component.mjs';
56
63
  export { EmptyFolderBehavior, RenameDeleteHandlerComponent } from './components/rename-delete-handler-component.mjs';
@@ -73,6 +80,7 @@ export { bootstrapDemoVault } from './demo-vault-helper.mjs';
73
80
  export { getDemoVaultArchiveFileName, getDemoVaultFolderName } from './demo-vault-naming.mjs';
74
81
  export { BulkOperationGitRepo, GitCommandError } from './desktop-bulk-operation-git.mjs';
75
82
  export { openDemoVault } from './desktop-demo-vault-opener.mjs';
83
+ export { getDesktopOperatingSystem } from './desktop-operating-system.mjs';
76
84
  export { PluginEditorExtensionRegistrar } from './editor-extension-registrar.mjs';
77
85
  export { PluginEditorSuggestRegistrar } from './editor-suggest-registrar.mjs';
78
86
  export { syncOpenEditorBuffersForPath, toggleEditorReadOnly } from './editor.mjs';
@@ -104,7 +112,9 @@ export { getCodeBlockMarkdownInfo, insertAfterCodeBlock, insertBeforeCodeBlock,
104
112
  export { PluginMarkdownPostProcessorRegistrar } from './markdown-post-processor-registrar.mjs';
105
113
  export { getFullContentHtml } from './markdown-view.mjs';
106
114
  export { fullRender, markdownToHtml, registerLinkHandlers, renderExternalLink, renderInternalLink } from './markdown.mjs';
115
+ export { addSingleChoiceMenuItems } from './menu.mjs';
107
116
  export { ADVANCED_METADATA_CACHE_PLUGIN_ID, BACKLINK_CACHE_PLUGIN_ID, CachedMetadataExFeature, ensureMetadataCacheReady, getBacklinksForFileOrPath, getBacklinksForFileSafe, getCacheSafe, getFrontmatterSafe, getReferences, hasBacklinkCachePlugin, isCachedMetadataEx, parseMetadata, registerFileCacheForNonExistingFile, registerFiles, unregisterFileCacheForNonExistingFile, unregisterFiles } from './metadata-cache.mjs';
117
+ export { getMobileAppInfo } from './mobile-app-info.mjs';
108
118
  export { alert } from './modals/alert.mjs';
109
119
  export { confirm } from './modals/confirm.mjs';
110
120
  export { MinimizableModal } from './modals/minimizable-modal.mjs';
@@ -170,6 +180,7 @@ export { getValidatorComponent } from './setting-components/validator-component.
170
180
  export { WeekComponent } from './setting-components/week-component.mjs';
171
181
  export { adoptSettingEx, SettingEx } from './setting-ex.mjs';
172
182
  export { SettingGroupEx } from './setting-group-ex.mjs';
183
+ export { openSettingTab } from './settings-modal.mjs';
173
184
  export { PluginStatusBarItemRegistrar } from './status-bar-item-registrar.mjs';
174
185
  export { getTemplaterFunctions, getTemplaterRenderTargetFile, parseTemplate, requireTemplaterApi, resolveTemplaterApi, TEMPLATER_PLUGIN_ID, TemplaterActiveFileProvider, TemplaterRunMode, TemplaterUnavailabilityReason, TemplaterUnavailableError } from './templater.mjs';
175
186
  export { DurationTransformer } from './transformers/duration-transformer.mjs';