obsidian-dev-utils 19.1.2-beta.2 → 19.1.2-beta.4

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 (275) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/lib/cjs/Debug.d.cts +1 -1
  3. package/dist/lib/cjs/Library.cjs +1 -1
  4. package/dist/lib/cjs/ScriptUtils/CliUtils.d.cts +1 -1
  5. package/dist/lib/cjs/ScriptUtils/ESLint/index.d.cts +2 -2
  6. package/dist/lib/cjs/ScriptUtils/Fs.d.cts +1 -1
  7. package/dist/lib/cjs/ScriptUtils/JSON.d.cts +1 -1
  8. package/dist/lib/cjs/ScriptUtils/Npm.d.cts +1 -1
  9. package/dist/lib/cjs/ScriptUtils/Root.d.cts +1 -1
  10. package/dist/lib/cjs/ScriptUtils/esbuild/ObsidianPluginBuilder.d.cts +1 -1
  11. package/dist/lib/cjs/ScriptUtils/esbuild/index.d.cts +9 -9
  12. package/dist/lib/cjs/ScriptUtils/index.d.cts +17 -17
  13. package/dist/lib/cjs/String.d.cts +1 -1
  14. package/dist/lib/cjs/Transformers/DateTransformer.d.cts +1 -1
  15. package/dist/lib/cjs/Transformers/DurationTransformer.d.cts +1 -1
  16. package/dist/lib/cjs/Transformers/GroupTransformer.d.cts +1 -1
  17. package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.d.cts +1 -1
  18. package/dist/lib/cjs/Transformers/TypedTransformer.d.cts +1 -1
  19. package/dist/lib/cjs/Transformers/index.d.cts +6 -6
  20. package/dist/lib/cjs/ValueProvider.d.cts +1 -1
  21. package/dist/lib/cjs/codemirror/index.d.cts +1 -1
  22. package/dist/lib/cjs/index.d.cts +20 -20
  23. package/dist/lib/cjs/obsidian/@types/Dataview/api/data-array.d.cts +1 -1
  24. package/dist/lib/cjs/obsidian/@types/Dataview/api/extensions.d.cts +1 -1
  25. package/dist/lib/cjs/obsidian/@types/Dataview/api/inline-api.d.cts +9 -9
  26. package/dist/lib/cjs/obsidian/@types/Dataview/api/plugin-api.d.cts +10 -10
  27. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/csv.d.cts +1 -1
  28. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/inline-field.d.cts +1 -1
  29. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/markdown-file.d.cts +3 -3
  30. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/persister.d.cts +1 -1
  31. package/dist/lib/cjs/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.cts +1 -1
  32. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/index.d.cts +5 -5
  33. package/dist/lib/cjs/obsidian/@types/Dataview/data-index/resolver.d.cts +4 -4
  34. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/markdown.d.cts +4 -4
  35. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/serialized/markdown.d.cts +1 -1
  36. package/dist/lib/cjs/obsidian/@types/Dataview/data-model/value.d.cts +1 -1
  37. package/dist/lib/cjs/obsidian/@types/Dataview/expression/binaryop.d.cts +4 -4
  38. package/dist/lib/cjs/obsidian/@types/Dataview/expression/context.d.cts +6 -6
  39. package/dist/lib/cjs/obsidian/@types/Dataview/expression/field.d.cts +1 -1
  40. package/dist/lib/cjs/obsidian/@types/Dataview/expression/functions.d.cts +3 -3
  41. package/dist/lib/cjs/obsidian/@types/Dataview/expression/parse.d.cts +4 -4
  42. package/dist/lib/cjs/obsidian/@types/Dataview/index.d.cts +11 -11
  43. package/dist/lib/cjs/obsidian/@types/Dataview/main.d.cts +4 -4
  44. package/dist/lib/cjs/obsidian/@types/Dataview/query/engine.d.cts +9 -9
  45. package/dist/lib/cjs/obsidian/@types/Dataview/query/parse.d.cts +4 -4
  46. package/dist/lib/cjs/obsidian/@types/Dataview/query/query.d.cts +2 -2
  47. package/dist/lib/cjs/obsidian/@types/Dataview/typings/obsidian-ex.d.cts +1 -1
  48. package/dist/lib/cjs/obsidian/@types/Dataview/ui/export/markdown.d.cts +3 -3
  49. package/dist/lib/cjs/obsidian/@types/Dataview/ui/lp-render.d.cts +3 -3
  50. package/dist/lib/cjs/obsidian/@types/Dataview/ui/markdown.d.cts +3 -3
  51. package/dist/lib/cjs/obsidian/@types/Dataview/ui/refreshable-view.d.cts +2 -2
  52. package/dist/lib/cjs/obsidian/@types/Dataview/ui/render.d.cts +2 -2
  53. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/calendar-view.d.cts +4 -4
  54. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.cts +2 -2
  55. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/inline-view.d.cts +4 -4
  56. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/js-view.d.cts +2 -2
  57. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/list-view.d.cts +3 -3
  58. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/table-view.d.cts +3 -3
  59. package/dist/lib/cjs/obsidian/@types/Dataview/ui/views/task-view.d.cts +4 -4
  60. package/dist/lib/cjs/obsidian/@types/Dataview/util/media.d.cts +1 -1
  61. package/dist/lib/cjs/obsidian/@types/Dataview/util/normalize.d.cts +2 -2
  62. package/dist/lib/cjs/obsidian/AttachmentPath.d.cts +1 -1
  63. package/dist/lib/cjs/obsidian/Backlink.d.cts +2 -2
  64. package/dist/lib/cjs/obsidian/Callout.d.cts +2 -2
  65. package/dist/lib/cjs/obsidian/Components/DateComponent.d.cts +1 -1
  66. package/dist/lib/cjs/obsidian/Components/DateTimeComponent.d.cts +1 -1
  67. package/dist/lib/cjs/obsidian/Components/EmailComponent.d.cts +1 -1
  68. package/dist/lib/cjs/obsidian/Components/FileComponent.d.cts +1 -1
  69. package/dist/lib/cjs/obsidian/Components/MonthComponent.d.cts +1 -1
  70. package/dist/lib/cjs/obsidian/Components/MultipleDropdownComponent.d.cts +5 -5
  71. package/dist/lib/cjs/obsidian/Components/MultipleEmailComponent.d.cts +1 -1
  72. package/dist/lib/cjs/obsidian/Components/MultipleFileComponent.d.cts +1 -1
  73. package/dist/lib/cjs/obsidian/Components/MultipleTextComponent.d.cts +5 -5
  74. package/dist/lib/cjs/obsidian/Components/NumberComponent.d.cts +1 -1
  75. package/dist/lib/cjs/obsidian/Components/TimeComponent.d.cts +1 -1
  76. package/dist/lib/cjs/obsidian/Components/TypedRangeTextComponent.d.cts +1 -1
  77. package/dist/lib/cjs/obsidian/Components/TypedTextComponent.d.cts +6 -6
  78. package/dist/lib/cjs/obsidian/Components/UrlComponent.d.cts +1 -1
  79. package/dist/lib/cjs/obsidian/Components/ValidatorComponent.d.cts +1 -1
  80. package/dist/lib/cjs/obsidian/Components/ValueComponentWithChangeTracking.d.cts +2 -2
  81. package/dist/lib/cjs/obsidian/Components/WeekComponent.d.cts +1 -1
  82. package/dist/lib/cjs/obsidian/Components/index.d.cts +17 -17
  83. package/dist/lib/cjs/obsidian/Dataview.d.cts +6 -6
  84. package/dist/lib/cjs/obsidian/DataviewLink.d.cts +2 -2
  85. package/dist/lib/cjs/obsidian/FileChange.d.cts +3 -3
  86. package/dist/lib/cjs/obsidian/FileManager.d.cts +4 -4
  87. package/dist/lib/cjs/obsidian/Link.d.cts +3 -3
  88. package/dist/lib/cjs/obsidian/Logger.d.cts +1 -1
  89. package/dist/lib/cjs/obsidian/Loop.d.cts +1 -1
  90. package/dist/lib/cjs/obsidian/MarkdownCodeBlockProcessor.d.cts +1 -1
  91. package/dist/lib/cjs/obsidian/MetadataCache.d.cts +3 -3
  92. package/dist/lib/cjs/obsidian/Modals/ModalBase.d.cts +1 -1
  93. package/dist/lib/cjs/obsidian/Modals/Prompt.d.cts +2 -2
  94. package/dist/lib/cjs/obsidian/Modals/index.d.cts +5 -5
  95. package/dist/lib/cjs/obsidian/Plugin/EmptySettings.d.cts +1 -1
  96. package/dist/lib/cjs/obsidian/Plugin/PluginBase.d.cts +3 -3
  97. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsBase.d.cts +1 -1
  98. package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.d.cts +5 -5
  99. package/dist/lib/cjs/obsidian/Plugin/index.d.cts +8 -8
  100. package/dist/lib/cjs/obsidian/Queue.d.cts +1 -1
  101. package/dist/lib/cjs/obsidian/Reference.d.cts +1 -1
  102. package/dist/lib/cjs/obsidian/SettingEx.d.cts +13 -13
  103. package/dist/lib/cjs/obsidian/Vault.d.cts +3 -3
  104. package/dist/lib/cjs/obsidian/VaultEx.d.cts +1 -1
  105. package/dist/lib/cjs/obsidian/index.d.cts +29 -29
  106. package/dist/lib/esm/@types/debug.d.mts +16 -1
  107. package/dist/lib/esm/Async.d.mts +153 -1
  108. package/dist/lib/esm/Blob.d.mts +40 -1
  109. package/dist/lib/esm/CssClass.d.mts +97 -1
  110. package/dist/lib/esm/Debug.d.mts +41 -1
  111. package/dist/lib/esm/DebugController.d.mts +85 -1
  112. package/dist/lib/esm/Enum.d.mts +20 -1
  113. package/dist/lib/esm/Error.d.mts +45 -1
  114. package/dist/lib/esm/Function.d.mts +28 -1
  115. package/dist/lib/esm/HTMLElement.d.mts +49 -1
  116. package/dist/lib/esm/Library.d.mts +16 -1
  117. package/dist/lib/esm/Library.mjs +1 -1
  118. package/dist/lib/esm/Object.d.mts +211 -1
  119. package/dist/lib/esm/Path.d.mts +133 -1
  120. package/dist/lib/esm/RegExp.d.mts +18 -1
  121. package/dist/lib/esm/ScriptUtils/CliUtils.d.mts +70 -1
  122. package/dist/lib/esm/ScriptUtils/CodeGenerator.d.mts +12 -1
  123. package/dist/lib/esm/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.mts +13 -1
  124. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.mts +13 -1
  125. package/dist/lib/esm/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.mts +13 -1
  126. package/dist/lib/esm/ScriptUtils/ESLint/ESLint.d.mts +13 -1
  127. package/dist/lib/esm/ScriptUtils/ESLint/eslint.config.d.mts +16 -1
  128. package/dist/lib/esm/ScriptUtils/ESLint/index.d.mts +2 -1
  129. package/dist/lib/esm/ScriptUtils/Exec.d.mts +83 -1
  130. package/dist/lib/esm/ScriptUtils/Fs.d.mts +72 -1
  131. package/dist/lib/esm/ScriptUtils/JSON.d.mts +64 -1
  132. package/dist/lib/esm/ScriptUtils/NodeModules.d.mts +14 -1
  133. package/dist/lib/esm/ScriptUtils/Npm.d.mts +151 -1
  134. package/dist/lib/esm/ScriptUtils/NpmPublish.d.mts +9 -1
  135. package/dist/lib/esm/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +106 -1
  136. package/dist/lib/esm/ScriptUtils/Root.d.mts +67 -1
  137. package/dist/lib/esm/ScriptUtils/build.d.mts +41 -1
  138. package/dist/lib/esm/ScriptUtils/cli.d.mts +14 -1
  139. package/dist/lib/esm/ScriptUtils/esbuild/Dependency.d.mts +18 -1
  140. package/dist/lib/esm/ScriptUtils/esbuild/ObsidianPluginBuilder.d.mts +53 -1
  141. package/dist/lib/esm/ScriptUtils/esbuild/changeExtensionPlugin.d.mts +12 -1
  142. package/dist/lib/esm/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.mts +18 -1
  143. package/dist/lib/esm/ScriptUtils/esbuild/fixEsmPlugin.d.mts +11 -1
  144. package/dist/lib/esm/ScriptUtils/esbuild/fixSourceMapsPlugin.d.mts +17 -1
  145. package/dist/lib/esm/ScriptUtils/esbuild/index.d.mts +9 -1
  146. package/dist/lib/esm/ScriptUtils/esbuild/preprocessPlugin.d.mts +23 -1
  147. package/dist/lib/esm/ScriptUtils/esbuild/renameCssPlugin.d.mts +8 -1
  148. package/dist/lib/esm/ScriptUtils/esbuild/svelteWrapperPlugin.d.mts +8 -1
  149. package/dist/lib/esm/ScriptUtils/format.d.mts +10 -1
  150. package/dist/lib/esm/ScriptUtils/index.d.mts +17 -1
  151. package/dist/lib/esm/ScriptUtils/spellcheck.d.mts +14 -1
  152. package/dist/lib/esm/ScriptUtils/version.d.mts +171 -1
  153. package/dist/lib/esm/String.d.mts +138 -1
  154. package/dist/lib/esm/Transformers/DateTransformer.d.mts +35 -1
  155. package/dist/lib/esm/Transformers/DurationTransformer.d.mts +34 -1
  156. package/dist/lib/esm/Transformers/GroupTransformer.d.mts +65 -1
  157. package/dist/lib/esm/Transformers/SkipPrivatePropertyTransformer.d.mts +32 -1
  158. package/dist/lib/esm/Transformers/Transformer.d.mts +67 -1
  159. package/dist/lib/esm/Transformers/TypedTransformer.d.mts +37 -1
  160. package/dist/lib/esm/Transformers/index.d.mts +6 -1
  161. package/dist/lib/esm/ValueProvider.d.mts +22 -1
  162. package/dist/lib/esm/codemirror/StateFieldSpec.d.mts +68 -1
  163. package/dist/lib/esm/codemirror/index.d.mts +1 -1
  164. package/dist/lib/esm/index.d.mts +20 -1
  165. package/dist/lib/esm/obsidian/@types/Dataview/api/data-array.d.mts +136 -1
  166. package/dist/lib/esm/obsidian/@types/Dataview/api/extensions.d.mts +15 -1
  167. package/dist/lib/esm/obsidian/@types/Dataview/api/inline-api.d.mts +186 -1
  168. package/dist/lib/esm/obsidian/@types/Dataview/api/plugin-api.d.mts +209 -1
  169. package/dist/lib/esm/obsidian/@types/Dataview/api/result.d.mts +38 -1
  170. package/dist/lib/esm/obsidian/@types/Dataview/data-import/common.d.mts +3 -1
  171. package/dist/lib/esm/obsidian/@types/Dataview/data-import/csv.d.mts +3 -1
  172. package/dist/lib/esm/obsidian/@types/Dataview/data-import/inline-field.d.mts +42 -1
  173. package/dist/lib/esm/obsidian/@types/Dataview/data-import/markdown-file.d.mts +52 -1
  174. package/dist/lib/esm/obsidian/@types/Dataview/data-import/persister.d.mts +32 -1
  175. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-entry.d.mts +1 -1
  176. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.mts +6 -1
  177. package/dist/lib/esm/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.mts +37 -1
  178. package/dist/lib/esm/obsidian/@types/Dataview/data-index/index.d.mts +186 -1
  179. package/dist/lib/esm/obsidian/@types/Dataview/data-index/resolver.d.mts +23 -1
  180. package/dist/lib/esm/obsidian/@types/Dataview/data-index/source.d.mts +71 -1
  181. package/dist/lib/esm/obsidian/@types/Dataview/data-model/markdown.d.mts +115 -1
  182. package/dist/lib/esm/obsidian/@types/Dataview/data-model/serialized/markdown.d.mts +106 -1
  183. package/dist/lib/esm/obsidian/@types/Dataview/data-model/transferable.d.mts +7 -1
  184. package/dist/lib/esm/obsidian/@types/Dataview/data-model/value.d.mts +175 -1
  185. package/dist/lib/esm/obsidian/@types/Dataview/expression/binaryop.d.mts +43 -1
  186. package/dist/lib/esm/obsidian/@types/Dataview/expression/context.d.mts +49 -1
  187. package/dist/lib/esm/obsidian/@types/Dataview/expression/field.d.mts +82 -1
  188. package/dist/lib/esm/obsidian/@types/Dataview/expression/functions.d.mts +149 -1
  189. package/dist/lib/esm/obsidian/@types/Dataview/expression/parse.d.mts +163 -1
  190. package/dist/lib/esm/obsidian/@types/Dataview/index.d.mts +55 -1
  191. package/dist/lib/esm/obsidian/@types/Dataview/main.d.mts +52 -1
  192. package/dist/lib/esm/obsidian/@types/Dataview/query/engine.d.mts +103 -1
  193. package/dist/lib/esm/obsidian/@types/Dataview/query/parse.d.mts +44 -1
  194. package/dist/lib/esm/obsidian/@types/Dataview/query/query.d.mts +95 -1
  195. package/dist/lib/esm/obsidian/@types/Dataview/settings.d.mts +60 -1
  196. package/dist/lib/esm/obsidian/@types/Dataview/typings/obsidian-ex.d.mts +28 -1
  197. package/dist/lib/esm/obsidian/@types/Dataview/typings/workers.d.mts +4 -1
  198. package/dist/lib/esm/obsidian/@types/Dataview/ui/export/markdown.d.mts +15 -1
  199. package/dist/lib/esm/obsidian/@types/Dataview/ui/lp-render.d.mts +37 -1
  200. package/dist/lib/esm/obsidian/@types/Dataview/ui/markdown.d.mts +86 -1
  201. package/dist/lib/esm/obsidian/@types/Dataview/ui/refreshable-view.d.mts +18 -1
  202. package/dist/lib/esm/obsidian/@types/Dataview/ui/render.d.mts +33 -1
  203. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/calendar-view.d.mts +17 -1
  204. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.mts +42 -1
  205. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/inline-view.d.mts +28 -1
  206. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/js-view.d.mts +23 -1
  207. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/list-view.d.mts +25 -1
  208. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/table-view.d.mts +28 -1
  209. package/dist/lib/esm/obsidian/@types/Dataview/ui/views/task-view.d.mts +51 -1
  210. package/dist/lib/esm/obsidian/@types/Dataview/util/hash.d.mts +1 -1
  211. package/dist/lib/esm/obsidian/@types/Dataview/util/locale.d.mts +2 -1
  212. package/dist/lib/esm/obsidian/@types/Dataview/util/media.d.mts +6 -1
  213. package/dist/lib/esm/obsidian/@types/Dataview/util/normalize.d.mts +44 -1
  214. package/dist/lib/esm/obsidian/App.d.mts +30 -1
  215. package/dist/lib/esm/obsidian/AttachmentPath.d.mts +54 -1
  216. package/dist/lib/esm/obsidian/Backlink.d.mts +60 -1
  217. package/dist/lib/esm/obsidian/Callout.d.mts +55 -1
  218. package/dist/lib/esm/obsidian/Components/DateComponent.d.mts +36 -1
  219. package/dist/lib/esm/obsidian/Components/DateTimeComponent.d.mts +36 -1
  220. package/dist/lib/esm/obsidian/Components/EmailComponent.d.mts +29 -1
  221. package/dist/lib/esm/obsidian/Components/FileComponent.d.mts +41 -1
  222. package/dist/lib/esm/obsidian/Components/MonthComponent.d.mts +49 -1
  223. package/dist/lib/esm/obsidian/Components/MultipleDropdownComponent.d.mts +73 -1
  224. package/dist/lib/esm/obsidian/Components/MultipleEmailComponent.d.mts +36 -1
  225. package/dist/lib/esm/obsidian/Components/MultipleFileComponent.d.mts +41 -1
  226. package/dist/lib/esm/obsidian/Components/MultipleTextComponent.d.mts +67 -1
  227. package/dist/lib/esm/obsidian/Components/NumberComponent.d.mts +29 -1
  228. package/dist/lib/esm/obsidian/Components/TimeComponent.d.mts +37 -1
  229. package/dist/lib/esm/obsidian/Components/TypedRangeTextComponent.d.mts +31 -1
  230. package/dist/lib/esm/obsidian/Components/TypedTextComponent.d.mts +84 -1
  231. package/dist/lib/esm/obsidian/Components/UrlComponent.d.mts +29 -1
  232. package/dist/lib/esm/obsidian/Components/ValidatorComponent.d.mts +22 -1
  233. package/dist/lib/esm/obsidian/Components/ValueComponentWithChangeTracking.d.mts +17 -1
  234. package/dist/lib/esm/obsidian/Components/WeekComponent.d.mts +49 -1
  235. package/dist/lib/esm/obsidian/Components/index.d.mts +17 -1
  236. package/dist/lib/esm/obsidian/Dataview.d.mts +215 -1
  237. package/dist/lib/esm/obsidian/DataviewLink.d.mts +23 -1
  238. package/dist/lib/esm/obsidian/FileChange.d.mts +68 -1
  239. package/dist/lib/esm/obsidian/FileManager.d.mts +38 -1
  240. package/dist/lib/esm/obsidian/FileSystem.d.mts +185 -1
  241. package/dist/lib/esm/obsidian/Frontmatter.d.mts +69 -1
  242. package/dist/lib/esm/obsidian/Link.d.mts +366 -1
  243. package/dist/lib/esm/obsidian/Logger.d.mts +13 -1
  244. package/dist/lib/esm/obsidian/Loop.d.mts +36 -1
  245. package/dist/lib/esm/obsidian/Markdown.d.mts +24 -1
  246. package/dist/lib/esm/obsidian/MarkdownCodeBlockProcessor.d.mts +23 -1
  247. package/dist/lib/esm/obsidian/MarkdownView.d.mts +12 -1
  248. package/dist/lib/esm/obsidian/MetadataCache.d.mts +87 -1
  249. package/dist/lib/esm/obsidian/Modals/Alert.d.mts +39 -1
  250. package/dist/lib/esm/obsidian/Modals/Confirm.d.mts +43 -1
  251. package/dist/lib/esm/obsidian/Modals/ModalBase.d.mts +35 -1
  252. package/dist/lib/esm/obsidian/Modals/Prompt.d.mts +50 -1
  253. package/dist/lib/esm/obsidian/Modals/SelectItem.d.mts +41 -1
  254. package/dist/lib/esm/obsidian/Modals/index.d.mts +5 -1
  255. package/dist/lib/esm/obsidian/ObsidianSettings.d.mts +17 -1
  256. package/dist/lib/esm/obsidian/Pdf.d.mts +24 -1
  257. package/dist/lib/esm/obsidian/Plugin/EmptySettings.d.mts +14 -1
  258. package/dist/lib/esm/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +53 -1
  259. package/dist/lib/esm/obsidian/Plugin/Plugin.d.mts +21 -1
  260. package/dist/lib/esm/obsidian/Plugin/PluginBase.d.mts +108 -1
  261. package/dist/lib/esm/obsidian/Plugin/PluginContext.d.mts +12 -1
  262. package/dist/lib/esm/obsidian/Plugin/PluginId.d.mts +20 -1
  263. package/dist/lib/esm/obsidian/Plugin/PluginSettingsBase.d.mts +31 -1
  264. package/dist/lib/esm/obsidian/Plugin/PluginSettingsTabBase.d.mts +99 -1
  265. package/dist/lib/esm/obsidian/Plugin/index.d.mts +8 -1
  266. package/dist/lib/esm/obsidian/Queue.d.mts +30 -1
  267. package/dist/lib/esm/obsidian/Reference.d.mts +21 -1
  268. package/dist/lib/esm/obsidian/RenameDeleteHandler.d.mts +49 -1
  269. package/dist/lib/esm/obsidian/ResourceUrl.d.mts +14 -1
  270. package/dist/lib/esm/obsidian/SettingEx.d.mts +124 -1
  271. package/dist/lib/esm/obsidian/Vault.d.mts +130 -1
  272. package/dist/lib/esm/obsidian/VaultEx.d.mts +27 -1
  273. package/dist/lib/esm/obsidian/index.d.mts +29 -1
  274. package/dist/lib/esm/url.d.mts +11 -1
  275. package/package.json +1 -1
@@ -1 +1,36 @@
1
- export * from '../../../cjs/obsidian/Components/DateComponent.cjs';
1
+ /**
2
+ * @packageDocumentation DateComponent
3
+ * Contains a component that displays and edits a date.
4
+ */
5
+ import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits a date.
8
+ *
9
+ * You can add this component using {@link SettingEx.addDate}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class DateComponent extends TypedRangeTextComponent<Date> {
16
+ /**
17
+ * Creates a new date component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to a date.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The date.
27
+ */
28
+ valueFromString(str: string): Date;
29
+ /**
30
+ * Converts a date to a string.
31
+ *
32
+ * @param value - The date to convert.
33
+ * @returns The string.
34
+ */
35
+ valueToString(value: Date): string;
36
+ }
@@ -1 +1,36 @@
1
- export * from '../../../cjs/obsidian/Components/DateTimeComponent.cjs';
1
+ /**
2
+ * @packageDocumentation DateTimeComponent
3
+ * Contains a component that displays and edits a date and time.
4
+ */
5
+ import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits a date and time.
8
+ *
9
+ * You can add this component using {@link SettingEx.addDateTime}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class DateTimeComponent extends TypedRangeTextComponent<Date> {
16
+ /**
17
+ * Creates a new date and time component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to a date.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The date.
27
+ */
28
+ valueFromString(str: string): Date;
29
+ /**
30
+ * Converts a date to a string.
31
+ *
32
+ * @param value - The date to convert.
33
+ * @returns The string.
34
+ */
35
+ valueToString(value: Date): string;
36
+ }
@@ -1 +1,29 @@
1
- export * from '../../../cjs/obsidian/Components/EmailComponent.cjs';
1
+ /**
2
+ * @packageDocumentation EmailComponent
3
+ * Contains a component that displays and edits an email address.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits an email address.
8
+ *
9
+ * You can add this component using {@link SettingEx.addEmail}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class EmailComponent extends TypedTextComponent<string> {
16
+ /**
17
+ * Creates a new email component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to an email address.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The email address.
27
+ */
28
+ valueFromString(str: string): string;
29
+ }
@@ -1 +1,41 @@
1
- export * from '../../../cjs/obsidian/Components/FileComponent.cjs';
1
+ /**
2
+ * @packageDocumentation FileComponent
3
+ * Contains a component that displays and edits a file.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits a file.
8
+ *
9
+ * You can add this component using {@link SettingEx.addFile}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class FileComponent extends TypedTextComponent<File | null> {
16
+ /**
17
+ * Creates a new file component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Gets the value of the component.
24
+ *
25
+ * @returns The value of the component.
26
+ */
27
+ getValue(): File | null;
28
+ /**
29
+ * Converts a string to a file.
30
+ *
31
+ * @returns The file.
32
+ */
33
+ valueFromString(): File | null;
34
+ /**
35
+ * Converts a file to a string.
36
+ *
37
+ * @param value - The file to convert.
38
+ * @returns The string.
39
+ */
40
+ valueToString(value: File | null): string;
41
+ }
@@ -1 +1,49 @@
1
- export * from '../../../cjs/obsidian/Components/MonthComponent.cjs';
1
+ /**
2
+ * @packageDocumentation MonthComponent
3
+ * Contains a component that displays and edits a month.
4
+ */
5
+ import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.mts';
6
+ /**
7
+ * An ISO 8601 month.
8
+ */
9
+ export interface IsoMonth {
10
+ /**
11
+ * The month (1-12).
12
+ */
13
+ month: number;
14
+ /**
15
+ * The year (1-9999).
16
+ */
17
+ year: number;
18
+ }
19
+ /**
20
+ * A component that displays and edits a month.
21
+ *
22
+ * You can add this component using {@link SettingEx.addMonth}.
23
+ *
24
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
25
+ *
26
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
27
+ */
28
+ export declare class MonthComponent extends TypedRangeTextComponent<IsoMonth> {
29
+ /**
30
+ * Creates a new month component.
31
+ *
32
+ * @param containerEl - The container element of the component.
33
+ */
34
+ constructor(containerEl: HTMLElement);
35
+ /**
36
+ * Converts a string to a month.
37
+ *
38
+ * @param str - The string to convert.
39
+ * @returns The month.
40
+ */
41
+ valueFromString(str: string): IsoMonth;
42
+ /**
43
+ * Converts a month to a string.
44
+ *
45
+ * @param value - The month to convert.
46
+ * @returns The string.
47
+ */
48
+ valueToString(value: IsoMonth): string;
49
+ }
@@ -1 +1,73 @@
1
- export * from '../../../cjs/obsidian/Components/MultipleDropdownComponent.cjs';
1
+ /**
2
+ * @packageDocumentation MultipleDropdownComponent
3
+ * Contains a component that displays and edits a multi-select dropdown.
4
+ */
5
+ import type { ValueComponent } from 'obsidian';
6
+ import type { MaybePromise } from '../../Async.d.mts';
7
+ import type { ValidatorElement } from '../../HTMLElement.d.mts';
8
+ import type { ValidatorComponent } from './ValidatorComponent.d.mts';
9
+ import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.d.mts';
10
+ /**
11
+ * A multi-select dropdown component.
12
+ *
13
+ * You can add this component using {@link SettingEx.addMultipleDropdown}.
14
+ *
15
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
16
+ *
17
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
18
+ */
19
+ export declare class MultipleDropdownComponent extends ValueComponent<string[]> implements ValidatorComponent, ValueComponentWithChangeTracking<string[]> {
20
+ /**
21
+ * The validator element of the component.
22
+ */
23
+ get validatorEl(): ValidatorElement;
24
+ private readonly dropdownComponent;
25
+ /**
26
+ * Creates a new multiple dropdown component.
27
+ *
28
+ * @param containerEl - The container element of the component.
29
+ */
30
+ constructor(containerEl: HTMLElement);
31
+ /**
32
+ * Adds an option to the dropdown.
33
+ *
34
+ * @param value - The value of the option.
35
+ * @param display - The display text of the option.
36
+ * @returns The component.
37
+ */
38
+ addOption(value: string, display: string): this;
39
+ /**
40
+ * Adds multiple options to the dropdown.
41
+ *
42
+ * @param options - The options to add.
43
+ * @returns The component.
44
+ */
45
+ addOptions(options: Record<string, string>): this;
46
+ /**
47
+ * Gets the value of the component.
48
+ *
49
+ * @returns The value of the component.
50
+ */
51
+ getValue(): string[];
52
+ /**
53
+ * Sets the callback function to be called when the component is changed.
54
+ *
55
+ * @param callback - The callback function to be called when the component is changed.
56
+ * @returns The component.
57
+ */
58
+ onChange(callback: (value: string[]) => MaybePromise<void>): this;
59
+ /**
60
+ * Sets the disabled state of the component.
61
+ *
62
+ * @param disabled - The disabled state to set.
63
+ * @returns The component.
64
+ */
65
+ setDisabled(disabled: boolean): this;
66
+ /**
67
+ * Sets the value of the component.
68
+ *
69
+ * @param value - The value to set.
70
+ * @returns The component.
71
+ */
72
+ setValue(value: string[]): this;
73
+ }
@@ -1 +1,36 @@
1
- export * from '../../../cjs/obsidian/Components/MultipleEmailComponent.cjs';
1
+ /**
2
+ * @packageDocumentation MultipleEmailComponent
3
+ * Contains a component that displays and edits multiple email addresses.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits multiple email addresses.
8
+ *
9
+ * You can add this component using {@link SettingEx.addMultipleEmail}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class MultipleEmailComponent extends TypedTextComponent<string[]> {
16
+ /**
17
+ * Creates a new multiple emails component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to an email address.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The email address.
27
+ */
28
+ valueFromString(str: string): string[];
29
+ /**
30
+ * Converts an email address to a string.
31
+ *
32
+ * @param value - The email address to convert.
33
+ * @returns The string.
34
+ */
35
+ valueToString(value: string[]): string;
36
+ }
@@ -1 +1,41 @@
1
- export * from '../../../cjs/obsidian/Components/MultipleFileComponent.cjs';
1
+ /**
2
+ * @packageDocumentation MultipleFileComponent
3
+ * Contains a component that displays and edits multiple files.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits multiple files.
8
+ *
9
+ * You can add this component using {@link SettingEx.addMultipleFile}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class MultipleFileComponent extends TypedTextComponent<File[]> {
16
+ /**
17
+ * Creates a new multiple file component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Gets the value of the component.
24
+ *
25
+ * @returns The value of the component.
26
+ */
27
+ getValue(): File[];
28
+ /**
29
+ * Converts a string to a file.
30
+ *
31
+ * @returns The file.
32
+ */
33
+ valueFromString(): File[];
34
+ /**
35
+ * Converts a file to a string.
36
+ *
37
+ * @param value - The file to convert.
38
+ * @returns The string.
39
+ */
40
+ valueToString(value: File[]): string;
41
+ }
@@ -1 +1,67 @@
1
- export * from '../../../cjs/obsidian/Components/MultipleTextComponent.cjs';
1
+ /**
2
+ * @packageDocumentation MultipleTextComponent
3
+ * Contains a component that displays and edits multiple text values.
4
+ */
5
+ import type { ValueComponent } from 'obsidian';
6
+ import type { MaybePromise } from '../../Async.d.mts';
7
+ import type { ValidatorElement } from '../../HTMLElement.d.mts';
8
+ import type { ValidatorComponent } from './ValidatorComponent.d.mts';
9
+ import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.d.mts';
10
+ /**
11
+ * A component that displays and edits multiple text values.
12
+ *
13
+ * You can add this component using {@link SettingEx.addMultipleText}.
14
+ *
15
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
16
+ *
17
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
18
+ */
19
+ export declare class MultipleTextComponent extends ValueComponent<string[]> implements ValidatorComponent, ValueComponentWithChangeTracking<string[]> {
20
+ /**
21
+ * Gets the validator element of the component.
22
+ *
23
+ * @returns The validator element of the component.
24
+ */
25
+ get validatorEl(): ValidatorElement;
26
+ private readonly textAreaComponent;
27
+ /**
28
+ * Creates a new multiple text component.
29
+ *
30
+ * @param containerEl - The container element of the component.
31
+ */
32
+ constructor(containerEl: HTMLElement);
33
+ /**
34
+ * Gets the value of the component.
35
+ *
36
+ * @returns The value of the component.
37
+ */
38
+ getValue(): string[];
39
+ /**
40
+ * Adds a change listener to the component.
41
+ *
42
+ * @param callback - The callback to call when the value changes.
43
+ * @returns The component.
44
+ */
45
+ onChange(callback: (newValue: string[]) => MaybePromise<void>): this;
46
+ /**
47
+ * Sets the disabled state of the component.
48
+ *
49
+ * @param disabled - The disabled state to set.
50
+ * @returns The component.
51
+ */
52
+ setDisabled(disabled: boolean): this;
53
+ /**
54
+ * Sets the placeholder of the component.
55
+ *
56
+ * @param placeholder - The placeholder to set.
57
+ * @returns The component.
58
+ */
59
+ setPlaceholder(placeholder: string): this;
60
+ /**
61
+ * Sets the value of the component.
62
+ *
63
+ * @param value - The value to set.
64
+ * @returns The component.
65
+ */
66
+ setValue(value: string[]): this;
67
+ }
@@ -1 +1,29 @@
1
- export * from '../../../cjs/obsidian/Components/NumberComponent.cjs';
1
+ /**
2
+ * @packageDocumentation NumberComponent
3
+ * Contains a component that displays and edits a number.
4
+ */
5
+ import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits a number.
8
+ *
9
+ * You can add this component using {@link SettingEx.addNumber}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class NumberComponent extends TypedRangeTextComponent<number> {
16
+ /**
17
+ * Creates a new number component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to a number.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The number.
27
+ */
28
+ valueFromString(str: string): number;
29
+ }
@@ -1 +1,37 @@
1
- export * from '../../../cjs/obsidian/Components/TimeComponent.cjs';
1
+ /**
2
+ * @packageDocumentation TimeComponent
3
+ * Contains a component that displays and edits a time.
4
+ */
5
+ import type { Duration } from 'moment';
6
+ import { TypedRangeTextComponent } from './TypedRangeTextComponent.d.mts';
7
+ /**
8
+ * A component that displays and edits a time.
9
+ *
10
+ * You can add this component using {@link SettingEx.addTime}.
11
+ *
12
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
13
+ *
14
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
15
+ */
16
+ export declare class TimeComponent extends TypedRangeTextComponent<Duration> {
17
+ /**
18
+ * Creates a new time component.
19
+ *
20
+ * @param containerEl - The container element of the component.
21
+ */
22
+ constructor(containerEl: HTMLElement);
23
+ /**
24
+ * Converts a string to a time.
25
+ *
26
+ * @param str - The string to convert.
27
+ * @returns The date.
28
+ */
29
+ valueFromString(str: string): Duration;
30
+ /**
31
+ * Converts a time to a string.
32
+ *
33
+ * @param value - The time to convert.
34
+ * @returns The string.
35
+ */
36
+ valueToString(value: Duration): string;
37
+ }
@@ -1 +1,31 @@
1
- export * from '../../../cjs/obsidian/Components/TypedRangeTextComponent.cjs';
1
+ /**
2
+ * @packageDocumentation TypedRangeTextComponent
3
+ * Contains a component that displays and edits a text-based value with a range.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits a text-based value with a range.
8
+ */
9
+ export declare abstract class TypedRangeTextComponent<T> extends TypedTextComponent<T> {
10
+ /**
11
+ * Sets the maximum value of the component.
12
+ *
13
+ * @param max - The maximum value.
14
+ * @returns The component.
15
+ */
16
+ setMax(max: T): this;
17
+ /**
18
+ * Sets the minimum value of the component.
19
+ *
20
+ * @param min - The minimum value.
21
+ * @returns The component.
22
+ */
23
+ setMin(min: T): this;
24
+ /**
25
+ * Sets the step value of the component.
26
+ *
27
+ * @param step - The step value.
28
+ * @returns The component.
29
+ */
30
+ setStep(step: number): this;
31
+ }
@@ -1 +1,84 @@
1
- export * from '../../../cjs/obsidian/Components/TypedTextComponent.cjs';
1
+ /**
2
+ * @packageDocumentation TypedTextComponent
3
+ * Contains a component that displays and edits a text-based value.
4
+ */
5
+ import type { ValueComponent } from 'obsidian';
6
+ import type { MaybePromise } from '../../Async.d.mts';
7
+ import type { ValidatorElement } from '../../HTMLElement.d.mts';
8
+ import type { ValidatorComponent } from './ValidatorComponent.d.mts';
9
+ import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.d.mts';
10
+ import type { CssClass } from '../../CssClass.d.mts';
11
+ /**
12
+ * A component that displays and edits a text-based value.
13
+ */
14
+ export declare abstract class TypedTextComponent<T> extends ValueComponent<T> implements ValidatorComponent, ValueComponentWithChangeTracking<T> {
15
+ /**
16
+ * The input element of the component.
17
+ */
18
+ readonly inputEl: HTMLInputElement;
19
+ /**
20
+ * The validator element of the component.
21
+ */
22
+ get validatorEl(): ValidatorElement;
23
+ private readonly textComponent;
24
+ /**
25
+ * Creates a new typed text component.
26
+ *
27
+ * @param containerEl - The container element of the component.
28
+ * @param type - The type of the input element.
29
+ * @param cssClass - The CSS class of the component.
30
+ */
31
+ constructor(containerEl: HTMLElement, type: string, cssClass: CssClass);
32
+ /**
33
+ * Gets the value of the component.
34
+ *
35
+ * @returns The value of the component.
36
+ */
37
+ getValue(): T;
38
+ /**
39
+ * Sets the callback function to be called when the component is changed.
40
+ *
41
+ * @param callback - The callback function to be called when the component is changed.
42
+ * @returns The component.
43
+ */
44
+ onChange(callback: (value: T) => MaybePromise<void>): this;
45
+ /**
46
+ * Called when the component is changed.
47
+ */
48
+ onChanged(): void;
49
+ /**
50
+ * Sets the disabled state of the component.
51
+ *
52
+ * @param disabled - Whether the component is disabled.
53
+ * @returns The component.
54
+ */
55
+ setDisabled(disabled: boolean): this;
56
+ /**
57
+ * Sets the placeholder of the component.
58
+ *
59
+ * @param placeholder - The placeholder to set.
60
+ * @returns The component.
61
+ */
62
+ setPlaceholder(placeholder: string): this;
63
+ /**
64
+ * Sets the value of the component.
65
+ *
66
+ * @param value - The value to set.
67
+ * @returns The component.
68
+ */
69
+ setValue(value: T): this;
70
+ /**
71
+ * Converts a string to a value.
72
+ *
73
+ * @param str - The string to convert.
74
+ * @returns The value.
75
+ */
76
+ abstract valueFromString(str: string): T;
77
+ /**
78
+ * Converts a value to a string.
79
+ *
80
+ * @param value - The value to convert.
81
+ * @returns The string.
82
+ */
83
+ valueToString(value: T): string;
84
+ }
@@ -1 +1,29 @@
1
- export * from '../../../cjs/obsidian/Components/UrlComponent.cjs';
1
+ /**
2
+ * @packageDocumentation UrlComponent
3
+ * Contains a component that displays and edits an url.
4
+ */
5
+ import type { TypedTextComponent } from './TypedTextComponent.d.mts';
6
+ /**
7
+ * A component that displays and edits an url.
8
+ *
9
+ * You can add this component using {@link SettingEx.addUrl}.
10
+ *
11
+ * In order to add the styles for the component, use {@link initPluginContext} in your plugin's `onload()` function.
12
+ *
13
+ * Alternatively, you can copy styles from {@link https://github.com/mnaoumov/obsidian-dev-utils/releases/latest/download/styles.css}.
14
+ */
15
+ export declare class UrlComponent extends TypedTextComponent<string> {
16
+ /**
17
+ * Creates a new Url component.
18
+ *
19
+ * @param containerEl - The container element of the component.
20
+ */
21
+ constructor(containerEl: HTMLElement);
22
+ /**
23
+ * Converts a string to an url.
24
+ *
25
+ * @param str - The string to convert.
26
+ * @returns The url.
27
+ */
28
+ valueFromString(str: string): string;
29
+ }
@@ -1 +1,22 @@
1
- export * from '../../../cjs/obsidian/Components/ValidatorComponent.cjs';
1
+ /**
2
+ * @packageDocumentation ValidatorComponent
3
+ * Contains a component that has a validator element.
4
+ */
5
+ import type { BaseComponent } from 'obsidian';
6
+ import type { ValidatorElement } from '../../HTMLElement.d.mts';
7
+ /**
8
+ * A component that has a validator element.
9
+ */
10
+ export interface ValidatorComponent {
11
+ /**
12
+ * The validator element of the component.
13
+ */
14
+ readonly validatorEl: ValidatorElement;
15
+ }
16
+ /**
17
+ * Gets a validator component related to the base component
18
+ *
19
+ * @param baseComponent - A base component
20
+ * @returns related validator component or `null` if no related validator component is found
21
+ */
22
+ export declare function getValidatorComponent(baseComponent: BaseComponent): null | ValidatorComponent;