obsidian-dev-utils 18.4.0 → 19.0.0

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 (644) hide show
  1. package/@types/debug/package.json +4 -0
  2. package/Async/package.json +6 -0
  3. package/Blob/package.json +6 -0
  4. package/CHANGELOG.md +12 -0
  5. package/CssClass/package.json +6 -0
  6. package/Debug/package.json +6 -0
  7. package/DebugController/package.json +6 -0
  8. package/Enum/package.json +6 -0
  9. package/Error/package.json +6 -0
  10. package/Function/package.json +6 -0
  11. package/HTMLElement/package.json +6 -0
  12. package/Library/package.json +6 -0
  13. package/Object/package.json +6 -0
  14. package/Path/package.json +6 -0
  15. package/RegExp/package.json +6 -0
  16. package/ScriptUtils/CliUtils/package.json +6 -0
  17. package/ScriptUtils/CodeGenerator/package.json +6 -0
  18. package/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required/package.json +4 -0
  19. package/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines/package.json +4 -0
  20. package/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc/package.json +4 -0
  21. package/ScriptUtils/ESLint/ESLint/package.json +6 -0
  22. package/ScriptUtils/ESLint/eslint.config/package.json +6 -0
  23. package/ScriptUtils/ESLint/index/package.json +6 -0
  24. package/ScriptUtils/ESLint/package.json +6 -0
  25. package/ScriptUtils/Exec/package.json +6 -0
  26. package/ScriptUtils/Fs/package.json +6 -0
  27. package/ScriptUtils/JSON/package.json +6 -0
  28. package/ScriptUtils/NodeModules/package.json +6 -0
  29. package/ScriptUtils/Npm/package.json +6 -0
  30. package/ScriptUtils/NpmPublish/package.json +6 -0
  31. package/ScriptUtils/ObsidianDevUtilsRepoPaths/package.json +6 -0
  32. package/ScriptUtils/Root/package.json +6 -0
  33. package/ScriptUtils/build/package.json +6 -0
  34. package/ScriptUtils/cli/package.json +6 -0
  35. package/ScriptUtils/esbuild/Dependency/package.json +6 -0
  36. package/ScriptUtils/esbuild/ObsidianPluginBuilder/package.json +6 -0
  37. package/ScriptUtils/esbuild/changeExtensionPlugin/package.json +6 -0
  38. package/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin/package.json +6 -0
  39. package/ScriptUtils/esbuild/fixEsmPlugin/package.json +6 -0
  40. package/ScriptUtils/esbuild/fixSourceMapsPlugin/package.json +6 -0
  41. package/ScriptUtils/esbuild/index/package.json +6 -0
  42. package/ScriptUtils/esbuild/package.json +6 -0
  43. package/ScriptUtils/esbuild/preprocessPlugin/package.json +6 -0
  44. package/ScriptUtils/esbuild/renameCssPlugin/package.json +6 -0
  45. package/ScriptUtils/esbuild/svelteWrapperPlugin/package.json +6 -0
  46. package/ScriptUtils/format/package.json +6 -0
  47. package/ScriptUtils/index/package.json +6 -0
  48. package/ScriptUtils/package.json +6 -0
  49. package/ScriptUtils/spellcheck/package.json +6 -0
  50. package/ScriptUtils/version/package.json +6 -0
  51. package/String/package.json +6 -0
  52. package/Transformers/DateTransformer/package.json +6 -0
  53. package/Transformers/DurationTransformer/package.json +6 -0
  54. package/Transformers/GroupTransformer/package.json +6 -0
  55. package/Transformers/SkipPrivatePropertyTransformer/package.json +6 -0
  56. package/Transformers/Transformer/package.json +6 -0
  57. package/Transformers/TypedTransformer/package.json +6 -0
  58. package/Transformers/index/package.json +6 -0
  59. package/Transformers/package.json +6 -0
  60. package/ValueProvider/package.json +6 -0
  61. package/codemirror/StateFieldSpec/package.json +6 -0
  62. package/codemirror/index/package.json +6 -0
  63. package/codemirror/package.json +6 -0
  64. package/dist/bin/cli.cjs +1 -1
  65. package/dist/lib/@types/debug.d.mts +16 -0
  66. package/dist/lib/Async.d.mts +153 -0
  67. package/dist/lib/Blob.d.mts +40 -0
  68. package/dist/lib/CssClass.d.mts +97 -0
  69. package/dist/lib/{Debug.d.ts → Debug.d.cts} +1 -1
  70. package/dist/lib/Debug.d.mts +41 -0
  71. package/dist/lib/DebugController.d.mts +85 -0
  72. package/dist/lib/Enum.d.mts +20 -0
  73. package/dist/lib/Error.d.mts +45 -0
  74. package/dist/lib/Function.d.mts +28 -0
  75. package/dist/lib/HTMLElement.d.mts +49 -0
  76. package/dist/lib/Library.cjs +1 -1
  77. package/dist/lib/Library.d.mts +16 -0
  78. package/dist/lib/Library.mjs +1 -1
  79. package/dist/lib/Object.d.mts +211 -0
  80. package/dist/lib/Path.d.mts +133 -0
  81. package/dist/lib/RegExp.d.mts +18 -0
  82. package/dist/lib/ScriptUtils/CliUtils.cjs +161 -0
  83. package/dist/lib/{scripts/CliUtils.d.ts → ScriptUtils/CliUtils.d.cts} +1 -1
  84. package/dist/lib/ScriptUtils/CliUtils.d.mts +70 -0
  85. package/dist/lib/ScriptUtils/CliUtils.mjs +135 -0
  86. package/dist/lib/{scripts → ScriptUtils}/CodeGenerator.cjs +1 -1
  87. package/dist/lib/ScriptUtils/CodeGenerator.d.mts +12 -0
  88. package/dist/lib/ScriptUtils/CodeGenerator.mjs +19 -0
  89. package/dist/lib/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.mts +13 -0
  90. package/dist/lib/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.mts +13 -0
  91. package/dist/lib/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.mts +13 -0
  92. package/dist/lib/{scripts → ScriptUtils}/ESLint/ESLint.cjs +1 -1
  93. package/dist/lib/ScriptUtils/ESLint/ESLint.d.mts +13 -0
  94. package/dist/lib/ScriptUtils/ESLint/ESLint.mjs +28 -0
  95. package/dist/lib/ScriptUtils/ESLint/eslint.config.cjs +328 -0
  96. package/dist/lib/ScriptUtils/ESLint/eslint.config.d.mts +16 -0
  97. package/dist/lib/ScriptUtils/ESLint/eslint.config.mjs +294 -0
  98. package/dist/lib/ScriptUtils/ESLint/index.cjs +49 -0
  99. package/dist/lib/ScriptUtils/ESLint/index.d.cts +2 -0
  100. package/dist/lib/ScriptUtils/ESLint/index.d.mts +2 -0
  101. package/dist/lib/ScriptUtils/ESLint/index.mjs +14 -0
  102. package/dist/lib/ScriptUtils/Exec.cjs +119 -0
  103. package/dist/lib/ScriptUtils/Exec.d.mts +83 -0
  104. package/dist/lib/ScriptUtils/Exec.mjs +98 -0
  105. package/dist/lib/ScriptUtils/Fs.cjs +85 -0
  106. package/dist/lib/{scripts/Fs.d.ts → ScriptUtils/Fs.d.cts} +1 -1
  107. package/dist/lib/ScriptUtils/Fs.d.mts +72 -0
  108. package/dist/lib/ScriptUtils/Fs.mjs +64 -0
  109. package/dist/lib/ScriptUtils/JSON.cjs +83 -0
  110. package/dist/lib/{scripts/JSON.d.ts → ScriptUtils/JSON.d.cts} +1 -1
  111. package/dist/lib/ScriptUtils/JSON.d.mts +64 -0
  112. package/dist/lib/ScriptUtils/JSON.mjs +60 -0
  113. package/dist/lib/{scripts → ScriptUtils}/NodeModules.cjs +1 -1
  114. package/dist/lib/ScriptUtils/NodeModules.d.mts +14 -0
  115. package/dist/lib/ScriptUtils/NodeModules.mjs +62 -0
  116. package/dist/lib/ScriptUtils/Npm.cjs +138 -0
  117. package/dist/lib/{scripts/Npm.d.ts → ScriptUtils/Npm.d.cts} +1 -1
  118. package/dist/lib/ScriptUtils/Npm.d.mts +151 -0
  119. package/dist/lib/ScriptUtils/Npm.mjs +106 -0
  120. package/dist/lib/{scripts → ScriptUtils}/NpmPublish.cjs +1 -1
  121. package/dist/lib/ScriptUtils/NpmPublish.d.mts +9 -0
  122. package/dist/lib/ScriptUtils/NpmPublish.mjs +21 -0
  123. package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.cjs +77 -0
  124. package/dist/lib/{scripts/ObsidianDevUtilsRepoPaths.d.ts → ScriptUtils/ObsidianDevUtilsRepoPaths.d.cts} +10 -0
  125. package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +88 -0
  126. package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.mjs +53 -0
  127. package/dist/lib/ScriptUtils/Root.cjs +88 -0
  128. package/dist/lib/{scripts/Root.d.ts → ScriptUtils/Root.d.cts} +1 -1
  129. package/dist/lib/ScriptUtils/Root.d.mts +67 -0
  130. package/dist/lib/ScriptUtils/Root.mjs +66 -0
  131. package/dist/lib/ScriptUtils/build.cjs +82 -0
  132. package/dist/lib/ScriptUtils/build.d.mts +41 -0
  133. package/dist/lib/ScriptUtils/build.mjs +60 -0
  134. package/dist/lib/ScriptUtils/cli.cjs +88 -0
  135. package/dist/lib/ScriptUtils/cli.d.mts +14 -0
  136. package/dist/lib/ScriptUtils/cli.mjs +65 -0
  137. package/dist/lib/ScriptUtils/esbuild/Dependency.cjs +122 -0
  138. package/dist/lib/ScriptUtils/esbuild/Dependency.d.mts +18 -0
  139. package/dist/lib/ScriptUtils/esbuild/Dependency.mjs +95 -0
  140. package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.cjs +178 -0
  141. package/dist/lib/{scripts/esbuild/ObsidianPluginBuilder.d.ts → ScriptUtils/esbuild/ObsidianPluginBuilder.d.cts} +1 -1
  142. package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.d.mts +53 -0
  143. package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.mjs +149 -0
  144. package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.cjs +68 -0
  145. package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.d.mts +12 -0
  146. package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.mjs +44 -0
  147. package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.cjs +66 -0
  148. package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.mts +18 -0
  149. package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.mjs +50 -0
  150. package/dist/lib/{scripts → ScriptUtils}/esbuild/fixEsmPlugin.cjs +1 -1
  151. package/dist/lib/ScriptUtils/esbuild/fixEsmPlugin.d.mts +11 -0
  152. package/dist/lib/ScriptUtils/esbuild/fixEsmPlugin.mjs +25 -0
  153. package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.cjs +75 -0
  154. package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.d.mts +17 -0
  155. package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.mjs +55 -0
  156. package/dist/lib/ScriptUtils/esbuild/index.cjs +70 -0
  157. package/dist/lib/ScriptUtils/esbuild/index.d.cts +9 -0
  158. package/dist/lib/ScriptUtils/esbuild/index.d.mts +9 -0
  159. package/dist/lib/ScriptUtils/esbuild/index.mjs +28 -0
  160. package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.cjs +146 -0
  161. package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.d.mts +23 -0
  162. package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.mjs +128 -0
  163. package/dist/lib/{scripts → ScriptUtils}/esbuild/renameCssPlugin.cjs +1 -1
  164. package/dist/lib/ScriptUtils/esbuild/renameCssPlugin.d.mts +8 -0
  165. package/dist/lib/ScriptUtils/esbuild/renameCssPlugin.mjs +31 -0
  166. package/dist/lib/{scripts → ScriptUtils}/esbuild/svelteWrapperPlugin.cjs +1 -1
  167. package/dist/lib/ScriptUtils/esbuild/svelteWrapperPlugin.d.mts +8 -0
  168. package/dist/lib/ScriptUtils/esbuild/svelteWrapperPlugin.mjs +41 -0
  169. package/dist/lib/{scripts → ScriptUtils}/format.cjs +1 -1
  170. package/dist/lib/ScriptUtils/format.d.mts +10 -0
  171. package/dist/lib/ScriptUtils/format.mjs +41 -0
  172. package/dist/lib/ScriptUtils/index.cjs +94 -0
  173. package/dist/lib/ScriptUtils/index.d.cts +17 -0
  174. package/dist/lib/ScriptUtils/index.d.mts +17 -0
  175. package/dist/lib/ScriptUtils/index.mjs +44 -0
  176. package/dist/lib/{scripts → ScriptUtils}/spellcheck.cjs +1 -1
  177. package/dist/lib/ScriptUtils/spellcheck.d.mts +14 -0
  178. package/dist/lib/ScriptUtils/spellcheck.mjs +15 -0
  179. package/dist/lib/ScriptUtils/version.cjs +389 -0
  180. package/dist/lib/ScriptUtils/version.d.mts +171 -0
  181. package/dist/lib/ScriptUtils/version.mjs +365 -0
  182. package/dist/lib/{String.d.ts → String.d.cts} +1 -1
  183. package/dist/lib/String.d.mts +138 -0
  184. package/dist/lib/Transformers/{DateTransformer.d.ts → DateTransformer.d.cts} +1 -1
  185. package/dist/lib/Transformers/DateTransformer.d.mts +35 -0
  186. package/dist/lib/Transformers/{DurationTransformer.d.ts → DurationTransformer.d.cts} +1 -1
  187. package/dist/lib/Transformers/DurationTransformer.d.mts +34 -0
  188. package/dist/lib/Transformers/{GroupTransformer.d.ts → GroupTransformer.d.cts} +1 -1
  189. package/dist/lib/Transformers/GroupTransformer.d.mts +65 -0
  190. package/dist/lib/Transformers/{SkipPrivatePropertyTransformer.d.ts → SkipPrivatePropertyTransformer.d.cts} +1 -1
  191. package/dist/lib/Transformers/SkipPrivatePropertyTransformer.d.mts +32 -0
  192. package/dist/lib/Transformers/Transformer.d.mts +67 -0
  193. package/dist/lib/Transformers/{TypedTransformer.d.ts → TypedTransformer.d.cts} +1 -1
  194. package/dist/lib/Transformers/TypedTransformer.d.mts +37 -0
  195. package/dist/lib/Transformers/index.cjs +61 -0
  196. package/dist/lib/Transformers/index.d.cts +6 -0
  197. package/dist/lib/Transformers/index.d.mts +6 -0
  198. package/dist/lib/Transformers/index.mjs +22 -0
  199. package/dist/lib/{ValueProvider.d.ts → ValueProvider.d.cts} +1 -1
  200. package/dist/lib/ValueProvider.d.mts +22 -0
  201. package/dist/lib/codemirror/StateFieldSpec.d.mts +68 -0
  202. package/dist/lib/codemirror/index.cjs +46 -0
  203. package/dist/lib/codemirror/index.d.cts +1 -0
  204. package/dist/lib/codemirror/index.d.mts +1 -0
  205. package/dist/lib/codemirror/index.mjs +12 -0
  206. package/dist/lib/index.cjs +13 -1
  207. package/dist/lib/index.d.cts +20 -0
  208. package/dist/lib/index.d.mts +20 -0
  209. package/dist/lib/index.mjs +9 -1
  210. package/dist/lib/obsidian/@types/Dataview/api/{data-array.d.ts → data-array.d.cts} +1 -1
  211. package/dist/lib/obsidian/@types/Dataview/api/data-array.d.mts +136 -0
  212. package/dist/lib/obsidian/@types/Dataview/api/{extensions.d.ts → extensions.d.cts} +1 -1
  213. package/dist/lib/obsidian/@types/Dataview/api/extensions.d.mts +15 -0
  214. package/dist/lib/obsidian/@types/Dataview/api/{inline-api.d.ts → inline-api.d.cts} +9 -9
  215. package/dist/lib/obsidian/@types/Dataview/api/inline-api.d.mts +186 -0
  216. package/dist/lib/obsidian/@types/Dataview/api/{plugin-api.d.ts → plugin-api.d.cts} +10 -10
  217. package/dist/lib/obsidian/@types/Dataview/api/plugin-api.d.mts +209 -0
  218. package/dist/lib/obsidian/@types/Dataview/api/result.d.mts +38 -0
  219. package/dist/lib/obsidian/@types/Dataview/data-import/common.d.mts +3 -0
  220. package/dist/lib/obsidian/@types/Dataview/data-import/{csv.d.ts → csv.d.cts} +1 -1
  221. package/dist/lib/obsidian/@types/Dataview/data-import/csv.d.mts +3 -0
  222. package/dist/lib/obsidian/@types/Dataview/data-import/{inline-field.d.ts → inline-field.d.cts} +1 -1
  223. package/dist/lib/obsidian/@types/Dataview/data-import/inline-field.d.mts +42 -0
  224. package/dist/lib/obsidian/@types/Dataview/data-import/{markdown-file.d.ts → markdown-file.d.cts} +3 -3
  225. package/dist/lib/obsidian/@types/Dataview/data-import/markdown-file.d.mts +52 -0
  226. package/dist/lib/obsidian/@types/Dataview/data-import/{persister.d.ts → persister.d.cts} +1 -1
  227. package/dist/lib/obsidian/@types/Dataview/data-import/persister.d.mts +32 -0
  228. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-entry.d.mts +1 -0
  229. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-impl.d.ts → import-impl.d.cts} +1 -1
  230. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.mts +6 -0
  231. package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.mts +37 -0
  232. package/dist/lib/obsidian/@types/Dataview/data-index/{index.d.ts → index.d.cts} +5 -5
  233. package/dist/lib/obsidian/@types/Dataview/data-index/index.d.mts +186 -0
  234. package/dist/lib/obsidian/@types/Dataview/data-index/{resolver.d.ts → resolver.d.cts} +4 -4
  235. package/dist/lib/obsidian/@types/Dataview/data-index/resolver.d.mts +23 -0
  236. package/dist/lib/obsidian/@types/Dataview/data-index/source.d.mts +71 -0
  237. package/dist/lib/obsidian/@types/Dataview/data-model/{markdown.d.ts → markdown.d.cts} +4 -4
  238. package/dist/lib/obsidian/@types/Dataview/data-model/markdown.d.mts +115 -0
  239. package/dist/lib/obsidian/@types/Dataview/data-model/serialized/{markdown.d.ts → markdown.d.cts} +1 -1
  240. package/dist/lib/obsidian/@types/Dataview/data-model/serialized/markdown.d.mts +106 -0
  241. package/dist/lib/obsidian/@types/Dataview/data-model/transferable.d.mts +7 -0
  242. package/dist/lib/obsidian/@types/Dataview/data-model/{value.d.ts → value.d.cts} +1 -1
  243. package/dist/lib/obsidian/@types/Dataview/data-model/value.d.mts +175 -0
  244. package/dist/lib/obsidian/@types/Dataview/expression/{binaryop.d.ts → binaryop.d.cts} +4 -4
  245. package/dist/lib/obsidian/@types/Dataview/expression/binaryop.d.mts +43 -0
  246. package/dist/lib/obsidian/@types/Dataview/expression/{context.d.ts → context.d.cts} +6 -6
  247. package/dist/lib/obsidian/@types/Dataview/expression/context.d.mts +49 -0
  248. package/dist/lib/obsidian/@types/Dataview/expression/{field.d.ts → field.d.cts} +1 -1
  249. package/dist/lib/obsidian/@types/Dataview/expression/field.d.mts +82 -0
  250. package/dist/lib/obsidian/@types/Dataview/expression/{functions.d.ts → functions.d.cts} +3 -3
  251. package/dist/lib/obsidian/@types/Dataview/expression/functions.d.mts +149 -0
  252. package/dist/lib/obsidian/@types/Dataview/expression/{parse.d.ts → parse.d.cts} +4 -4
  253. package/dist/lib/obsidian/@types/Dataview/expression/parse.d.mts +163 -0
  254. package/dist/lib/obsidian/@types/Dataview/{index.d.ts → index.d.cts} +11 -11
  255. package/dist/lib/obsidian/@types/Dataview/index.d.mts +55 -0
  256. package/dist/lib/obsidian/@types/Dataview/{main.d.ts → main.d.cts} +4 -4
  257. package/dist/lib/obsidian/@types/Dataview/main.d.mts +52 -0
  258. package/dist/lib/obsidian/@types/Dataview/query/{engine.d.ts → engine.d.cts} +9 -9
  259. package/dist/lib/obsidian/@types/Dataview/query/engine.d.mts +103 -0
  260. package/dist/lib/obsidian/@types/Dataview/query/{parse.d.ts → parse.d.cts} +3 -3
  261. package/dist/lib/obsidian/@types/Dataview/query/parse.d.mts +44 -0
  262. package/dist/lib/obsidian/@types/Dataview/query/{query.d.ts → query.d.cts} +2 -2
  263. package/dist/lib/obsidian/@types/Dataview/query/query.d.mts +95 -0
  264. package/dist/lib/obsidian/@types/Dataview/settings.d.mts +60 -0
  265. package/dist/lib/obsidian/@types/Dataview/typings/{obsidian-ex.d.ts → obsidian-ex.d.cts} +1 -1
  266. package/dist/lib/obsidian/@types/Dataview/typings/obsidian-ex.d.mts +28 -0
  267. package/dist/lib/obsidian/@types/Dataview/typings/workers.d.mts +4 -0
  268. package/dist/lib/obsidian/@types/Dataview/ui/export/{markdown.d.ts → markdown.d.cts} +3 -3
  269. package/dist/lib/obsidian/@types/Dataview/ui/export/markdown.d.mts +15 -0
  270. package/dist/lib/obsidian/@types/Dataview/ui/{lp-render.d.ts → lp-render.d.cts} +3 -3
  271. package/dist/lib/obsidian/@types/Dataview/ui/lp-render.d.mts +37 -0
  272. package/dist/lib/obsidian/@types/Dataview/ui/{markdown.d.ts → markdown.d.cts} +3 -3
  273. package/dist/lib/obsidian/@types/Dataview/ui/markdown.d.mts +86 -0
  274. package/dist/lib/obsidian/@types/Dataview/ui/{refreshable-view.d.ts → refreshable-view.d.cts} +2 -2
  275. package/dist/lib/obsidian/@types/Dataview/ui/refreshable-view.d.mts +18 -0
  276. package/dist/lib/obsidian/@types/Dataview/ui/{render.d.ts → render.d.cts} +2 -2
  277. package/dist/lib/obsidian/@types/Dataview/ui/render.d.mts +33 -0
  278. package/dist/lib/obsidian/@types/Dataview/ui/views/{calendar-view.d.ts → calendar-view.d.cts} +4 -4
  279. package/dist/lib/obsidian/@types/Dataview/ui/views/calendar-view.d.mts +17 -0
  280. package/dist/lib/obsidian/@types/Dataview/ui/views/{inline-field-live-preview.d.ts → inline-field-live-preview.d.cts} +2 -2
  281. package/dist/lib/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.mts +42 -0
  282. package/dist/lib/obsidian/@types/Dataview/ui/views/{inline-view.d.ts → inline-view.d.cts} +4 -4
  283. package/dist/lib/obsidian/@types/Dataview/ui/views/inline-view.d.mts +28 -0
  284. package/dist/lib/obsidian/@types/Dataview/ui/views/{js-view.d.ts → js-view.d.cts} +2 -2
  285. package/dist/lib/obsidian/@types/Dataview/ui/views/js-view.d.mts +23 -0
  286. package/dist/lib/obsidian/@types/Dataview/ui/views/{list-view.d.ts → list-view.d.cts} +3 -3
  287. package/dist/lib/obsidian/@types/Dataview/ui/views/list-view.d.mts +25 -0
  288. package/dist/lib/obsidian/@types/Dataview/ui/views/{table-view.d.ts → table-view.d.cts} +3 -3
  289. package/dist/lib/obsidian/@types/Dataview/ui/views/table-view.d.mts +28 -0
  290. package/dist/lib/obsidian/@types/Dataview/ui/views/{task-view.d.ts → task-view.d.cts} +4 -4
  291. package/dist/lib/obsidian/@types/Dataview/ui/views/task-view.d.mts +51 -0
  292. package/dist/lib/obsidian/@types/Dataview/util/hash.d.mts +1 -0
  293. package/dist/lib/obsidian/@types/Dataview/util/locale.d.mts +2 -0
  294. package/dist/lib/obsidian/@types/Dataview/util/{media.d.ts → media.d.cts} +1 -1
  295. package/dist/lib/obsidian/@types/Dataview/util/media.d.mts +6 -0
  296. package/dist/lib/obsidian/@types/Dataview/util/{normalize.d.ts → normalize.d.cts} +2 -2
  297. package/dist/lib/obsidian/@types/Dataview/util/normalize.d.mts +44 -0
  298. package/dist/lib/obsidian/App.d.mts +30 -0
  299. package/dist/lib/obsidian/{AttachmentPath.d.ts → AttachmentPath.d.cts} +1 -1
  300. package/dist/lib/obsidian/AttachmentPath.d.mts +54 -0
  301. package/dist/lib/obsidian/{Backlink.d.ts → Backlink.d.cts} +2 -2
  302. package/dist/lib/obsidian/Backlink.d.mts +60 -0
  303. package/dist/lib/obsidian/{Callout.d.ts → Callout.d.cts} +2 -2
  304. package/dist/lib/obsidian/Callout.d.mts +55 -0
  305. package/dist/lib/obsidian/Components/{DateComponent.d.ts → DateComponent.d.cts} +1 -1
  306. package/dist/lib/obsidian/Components/DateComponent.d.mts +36 -0
  307. package/dist/lib/obsidian/Components/{DateTimeComponent.d.ts → DateTimeComponent.d.cts} +1 -1
  308. package/dist/lib/obsidian/Components/DateTimeComponent.d.mts +36 -0
  309. package/dist/lib/obsidian/Components/{EmailComponent.d.ts → EmailComponent.d.cts} +1 -1
  310. package/dist/lib/obsidian/Components/EmailComponent.d.mts +29 -0
  311. package/dist/lib/obsidian/Components/{FileComponent.d.ts → FileComponent.d.cts} +1 -1
  312. package/dist/lib/obsidian/Components/FileComponent.d.mts +41 -0
  313. package/dist/lib/obsidian/Components/{MonthComponent.d.ts → MonthComponent.d.cts} +1 -1
  314. package/dist/lib/obsidian/Components/MonthComponent.d.mts +49 -0
  315. package/dist/lib/obsidian/Components/MultipleDropdownComponent.cjs +12 -1
  316. package/dist/lib/obsidian/Components/{MultipleDropdownComponent.d.ts → MultipleDropdownComponent.d.cts} +11 -4
  317. package/dist/lib/obsidian/Components/MultipleDropdownComponent.d.mts +73 -0
  318. package/dist/lib/obsidian/Components/MultipleDropdownComponent.mjs +12 -1
  319. package/dist/lib/obsidian/Components/{MultipleEmailComponent.d.ts → MultipleEmailComponent.d.cts} +1 -1
  320. package/dist/lib/obsidian/Components/MultipleEmailComponent.d.mts +36 -0
  321. package/dist/lib/obsidian/Components/{MultipleFileComponent.d.ts → MultipleFileComponent.d.cts} +1 -1
  322. package/dist/lib/obsidian/Components/MultipleFileComponent.d.mts +41 -0
  323. package/dist/lib/obsidian/Components/MultipleTextComponent.cjs +22 -1
  324. package/dist/lib/obsidian/Components/{MultipleTextComponent.d.ts → MultipleTextComponent.d.cts} +18 -4
  325. package/dist/lib/obsidian/Components/MultipleTextComponent.d.mts +67 -0
  326. package/dist/lib/obsidian/Components/MultipleTextComponent.mjs +22 -1
  327. package/dist/lib/obsidian/Components/{NumberComponent.d.ts → NumberComponent.d.cts} +1 -1
  328. package/dist/lib/obsidian/Components/NumberComponent.d.mts +29 -0
  329. package/dist/lib/obsidian/Components/{TimeComponent.d.ts → TimeComponent.d.cts} +1 -1
  330. package/dist/lib/obsidian/Components/TimeComponent.d.mts +37 -0
  331. package/dist/lib/obsidian/Components/{TypedRangeTextComponent.d.ts → TypedRangeTextComponent.d.cts} +1 -1
  332. package/dist/lib/obsidian/Components/TypedRangeTextComponent.d.mts +31 -0
  333. package/dist/lib/obsidian/Components/TypedTextComponent.cjs +2 -1
  334. package/dist/lib/obsidian/Components/{TypedTextComponent.d.ts → TypedTextComponent.d.cts} +5 -5
  335. package/dist/lib/obsidian/Components/TypedTextComponent.d.mts +84 -0
  336. package/dist/lib/obsidian/Components/TypedTextComponent.mjs +2 -1
  337. package/dist/lib/obsidian/Components/{UrlComponent.d.ts → UrlComponent.d.cts} +1 -1
  338. package/dist/lib/obsidian/Components/UrlComponent.d.mts +29 -0
  339. package/dist/lib/obsidian/Components/{ValidatorComponent.d.ts → ValidatorComponent.d.cts} +1 -1
  340. package/dist/lib/obsidian/Components/ValidatorComponent.d.mts +22 -0
  341. package/dist/lib/obsidian/Components/{ValueComponentWithChangeTracking.d.ts → ValueComponentWithChangeTracking.d.cts} +1 -1
  342. package/dist/lib/obsidian/Components/ValueComponentWithChangeTracking.d.mts +17 -0
  343. package/dist/lib/obsidian/Components/{WeekComponent.d.ts → WeekComponent.d.cts} +1 -1
  344. package/dist/lib/obsidian/Components/WeekComponent.d.mts +49 -0
  345. package/dist/lib/obsidian/Components/index.cjs +94 -0
  346. package/dist/lib/obsidian/Components/index.d.cts +17 -0
  347. package/dist/lib/obsidian/Components/index.d.mts +17 -0
  348. package/dist/lib/obsidian/Components/index.mjs +44 -0
  349. package/dist/lib/obsidian/{Dataview.d.ts → Dataview.d.cts} +6 -6
  350. package/dist/lib/obsidian/Dataview.d.mts +215 -0
  351. package/dist/lib/obsidian/{DataviewLink.d.ts → DataviewLink.d.cts} +2 -2
  352. package/dist/lib/obsidian/DataviewLink.d.mts +23 -0
  353. package/dist/lib/obsidian/{FileChange.d.ts → FileChange.d.cts} +3 -3
  354. package/dist/lib/obsidian/FileChange.d.mts +68 -0
  355. package/dist/lib/obsidian/{FileManager.d.ts → FileManager.d.cts} +4 -4
  356. package/dist/lib/obsidian/FileManager.d.mts +38 -0
  357. package/dist/lib/obsidian/FileSystem.d.mts +185 -0
  358. package/dist/lib/obsidian/Frontmatter.d.mts +69 -0
  359. package/dist/lib/obsidian/{Link.d.ts → Link.d.cts} +3 -3
  360. package/dist/lib/obsidian/Link.d.mts +366 -0
  361. package/dist/lib/obsidian/{Logger.d.ts → Logger.d.cts} +1 -1
  362. package/dist/lib/obsidian/Logger.d.mts +13 -0
  363. package/dist/lib/obsidian/{Loop.d.ts → Loop.d.cts} +1 -1
  364. package/dist/lib/obsidian/Loop.d.mts +36 -0
  365. package/dist/lib/obsidian/Markdown.d.mts +24 -0
  366. package/dist/lib/obsidian/{MarkdownCodeBlockProcessor.d.ts → MarkdownCodeBlockProcessor.d.cts} +1 -1
  367. package/dist/lib/obsidian/MarkdownCodeBlockProcessor.d.mts +23 -0
  368. package/dist/lib/obsidian/MarkdownView.d.mts +12 -0
  369. package/dist/lib/obsidian/{MetadataCache.d.ts → MetadataCache.d.cts} +3 -3
  370. package/dist/lib/obsidian/MetadataCache.d.mts +87 -0
  371. package/dist/lib/obsidian/Modals/Alert.d.mts +39 -0
  372. package/dist/lib/obsidian/Modals/Confirm.d.mts +43 -0
  373. package/dist/lib/obsidian/Modals/{ModalBase.d.ts → ModalBase.d.cts} +1 -1
  374. package/dist/lib/obsidian/Modals/ModalBase.d.mts +35 -0
  375. package/dist/lib/obsidian/Modals/Prompt.cjs +2 -2
  376. package/dist/lib/obsidian/Modals/{Prompt.d.ts → Prompt.d.cts} +1 -1
  377. package/dist/lib/obsidian/Modals/Prompt.d.mts +50 -0
  378. package/dist/lib/obsidian/Modals/Prompt.mjs +2 -2
  379. package/dist/lib/obsidian/Modals/SelectItem.d.mts +41 -0
  380. package/dist/lib/obsidian/Modals/index.cjs +58 -0
  381. package/dist/lib/obsidian/Modals/index.d.cts +5 -0
  382. package/dist/lib/obsidian/Modals/index.d.mts +5 -0
  383. package/dist/lib/obsidian/Modals/index.mjs +20 -0
  384. package/dist/lib/obsidian/ObsidianSettings.d.mts +17 -0
  385. package/dist/lib/obsidian/Pdf.d.mts +24 -0
  386. package/dist/lib/obsidian/Plugin/{EmptySettings.d.ts → EmptySettings.d.cts} +1 -1
  387. package/dist/lib/obsidian/Plugin/EmptySettings.d.mts +14 -0
  388. package/dist/lib/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +55 -0
  389. package/dist/lib/obsidian/Plugin/Plugin.d.mts +21 -0
  390. package/dist/lib/obsidian/Plugin/{PluginBase.d.ts → PluginBase.d.cts} +3 -3
  391. package/dist/lib/obsidian/Plugin/PluginBase.d.mts +108 -0
  392. package/dist/lib/obsidian/Plugin/PluginContext.d.mts +12 -0
  393. package/dist/lib/obsidian/Plugin/PluginId.d.mts +20 -0
  394. package/dist/lib/obsidian/Plugin/{PluginSettingsBase.d.ts → PluginSettingsBase.d.cts} +1 -1
  395. package/dist/lib/obsidian/Plugin/PluginSettingsBase.d.mts +31 -0
  396. package/dist/lib/obsidian/Plugin/{PluginSettingsTabBase.d.ts → PluginSettingsTabBase.d.cts} +5 -5
  397. package/dist/lib/obsidian/Plugin/PluginSettingsTabBase.d.mts +99 -0
  398. package/dist/lib/obsidian/Plugin/index.cjs +67 -0
  399. package/dist/lib/obsidian/Plugin/index.d.cts +8 -0
  400. package/dist/lib/obsidian/Plugin/index.d.mts +8 -0
  401. package/dist/lib/obsidian/Plugin/index.mjs +26 -0
  402. package/dist/lib/obsidian/{Queue.d.ts → Queue.d.cts} +1 -1
  403. package/dist/lib/obsidian/Queue.d.mts +30 -0
  404. package/dist/lib/obsidian/{Reference.d.ts → Reference.d.cts} +1 -1
  405. package/dist/lib/obsidian/Reference.d.mts +21 -0
  406. package/dist/lib/obsidian/RenameDeleteHandler.d.mts +49 -0
  407. package/dist/lib/obsidian/ResourceUrl.d.mts +14 -0
  408. package/dist/lib/obsidian/{SettingEx.d.ts → SettingEx.d.cts} +13 -13
  409. package/dist/lib/obsidian/SettingEx.d.mts +124 -0
  410. package/dist/lib/obsidian/{Vault.d.ts → Vault.d.cts} +3 -3
  411. package/dist/lib/obsidian/Vault.d.mts +130 -0
  412. package/dist/lib/obsidian/{VaultEx.d.ts → VaultEx.d.cts} +1 -1
  413. package/dist/lib/obsidian/VaultEx.d.mts +27 -0
  414. package/dist/lib/obsidian/index.cjs +130 -0
  415. package/dist/lib/obsidian/index.d.cts +29 -0
  416. package/dist/lib/obsidian/index.d.mts +29 -0
  417. package/dist/lib/obsidian/index.mjs +68 -0
  418. package/dist/lib/url.d.mts +11 -0
  419. package/index/package.json +6 -0
  420. package/obsidian/@types/Dataview/api/data-array/package.json +4 -0
  421. package/obsidian/@types/Dataview/api/extensions/package.json +4 -0
  422. package/obsidian/@types/Dataview/api/inline-api/package.json +4 -0
  423. package/obsidian/@types/Dataview/api/plugin-api/package.json +4 -0
  424. package/obsidian/@types/Dataview/api/result/package.json +4 -0
  425. package/obsidian/@types/Dataview/data-import/common/package.json +4 -0
  426. package/obsidian/@types/Dataview/data-import/csv/package.json +4 -0
  427. package/obsidian/@types/Dataview/data-import/inline-field/package.json +4 -0
  428. package/obsidian/@types/Dataview/data-import/markdown-file/package.json +4 -0
  429. package/obsidian/@types/Dataview/data-import/persister/package.json +4 -0
  430. package/obsidian/@types/Dataview/data-import/web-worker/import-entry/package.json +4 -0
  431. package/obsidian/@types/Dataview/data-import/web-worker/import-impl/package.json +4 -0
  432. package/obsidian/@types/Dataview/data-import/web-worker/import-manager/package.json +4 -0
  433. package/obsidian/@types/Dataview/data-index/index/package.json +4 -0
  434. package/obsidian/@types/Dataview/data-index/package.json +4 -0
  435. package/obsidian/@types/Dataview/data-index/resolver/package.json +4 -0
  436. package/obsidian/@types/Dataview/data-index/source/package.json +4 -0
  437. package/obsidian/@types/Dataview/data-model/markdown/package.json +4 -0
  438. package/obsidian/@types/Dataview/data-model/serialized/markdown/package.json +4 -0
  439. package/obsidian/@types/Dataview/data-model/transferable/package.json +4 -0
  440. package/obsidian/@types/Dataview/data-model/value/package.json +4 -0
  441. package/obsidian/@types/Dataview/expression/binaryop/package.json +4 -0
  442. package/obsidian/@types/Dataview/expression/context/package.json +4 -0
  443. package/obsidian/@types/Dataview/expression/field/package.json +4 -0
  444. package/obsidian/@types/Dataview/expression/functions/package.json +4 -0
  445. package/obsidian/@types/Dataview/expression/parse/package.json +4 -0
  446. package/obsidian/@types/Dataview/index/package.json +4 -0
  447. package/obsidian/@types/Dataview/main/package.json +4 -0
  448. package/obsidian/@types/Dataview/package.json +4 -0
  449. package/obsidian/@types/Dataview/query/engine/package.json +4 -0
  450. package/obsidian/@types/Dataview/query/parse/package.json +4 -0
  451. package/obsidian/@types/Dataview/query/query/package.json +4 -0
  452. package/obsidian/@types/Dataview/settings/package.json +4 -0
  453. package/obsidian/@types/Dataview/typings/obsidian-ex/package.json +4 -0
  454. package/obsidian/@types/Dataview/typings/workers/package.json +4 -0
  455. package/obsidian/@types/Dataview/ui/export/markdown/package.json +4 -0
  456. package/obsidian/@types/Dataview/ui/lp-render/package.json +4 -0
  457. package/obsidian/@types/Dataview/ui/markdown/package.json +4 -0
  458. package/obsidian/@types/Dataview/ui/refreshable-view/package.json +4 -0
  459. package/obsidian/@types/Dataview/ui/render/package.json +4 -0
  460. package/obsidian/@types/Dataview/ui/views/calendar-view/package.json +4 -0
  461. package/obsidian/@types/Dataview/ui/views/inline-field-live-preview/package.json +4 -0
  462. package/obsidian/@types/Dataview/ui/views/inline-view/package.json +4 -0
  463. package/obsidian/@types/Dataview/ui/views/js-view/package.json +4 -0
  464. package/obsidian/@types/Dataview/ui/views/list-view/package.json +4 -0
  465. package/obsidian/@types/Dataview/ui/views/table-view/package.json +4 -0
  466. package/obsidian/@types/Dataview/ui/views/task-view/package.json +4 -0
  467. package/obsidian/@types/Dataview/util/hash/package.json +4 -0
  468. package/obsidian/@types/Dataview/util/locale/package.json +4 -0
  469. package/obsidian/@types/Dataview/util/media/package.json +4 -0
  470. package/obsidian/@types/Dataview/util/normalize/package.json +4 -0
  471. package/obsidian/App/package.json +6 -0
  472. package/obsidian/AttachmentPath/package.json +6 -0
  473. package/obsidian/Backlink/package.json +6 -0
  474. package/obsidian/Callout/package.json +6 -0
  475. package/obsidian/Components/DateComponent/package.json +6 -0
  476. package/obsidian/Components/DateTimeComponent/package.json +6 -0
  477. package/obsidian/Components/EmailComponent/package.json +6 -0
  478. package/obsidian/Components/FileComponent/package.json +6 -0
  479. package/obsidian/Components/MonthComponent/package.json +6 -0
  480. package/obsidian/Components/MultipleDropdownComponent/package.json +6 -0
  481. package/obsidian/Components/MultipleEmailComponent/package.json +6 -0
  482. package/obsidian/Components/MultipleFileComponent/package.json +6 -0
  483. package/obsidian/Components/MultipleTextComponent/package.json +6 -0
  484. package/obsidian/Components/NumberComponent/package.json +6 -0
  485. package/obsidian/Components/TimeComponent/package.json +6 -0
  486. package/obsidian/Components/TypedRangeTextComponent/package.json +6 -0
  487. package/obsidian/Components/TypedTextComponent/package.json +6 -0
  488. package/obsidian/Components/UrlComponent/package.json +6 -0
  489. package/obsidian/Components/ValidatorComponent/package.json +6 -0
  490. package/obsidian/Components/ValueComponentWithChangeTracking/package.json +6 -0
  491. package/obsidian/Components/WeekComponent/package.json +6 -0
  492. package/obsidian/Components/index/package.json +6 -0
  493. package/obsidian/Components/package.json +6 -0
  494. package/obsidian/Dataview/package.json +6 -0
  495. package/obsidian/DataviewLink/package.json +6 -0
  496. package/obsidian/FileChange/package.json +6 -0
  497. package/obsidian/FileManager/package.json +6 -0
  498. package/obsidian/FileSystem/package.json +6 -0
  499. package/obsidian/Frontmatter/package.json +6 -0
  500. package/obsidian/Link/package.json +6 -0
  501. package/obsidian/Logger/package.json +6 -0
  502. package/obsidian/Loop/package.json +6 -0
  503. package/obsidian/Markdown/package.json +6 -0
  504. package/obsidian/MarkdownCodeBlockProcessor/package.json +6 -0
  505. package/obsidian/MarkdownView/package.json +6 -0
  506. package/obsidian/MetadataCache/package.json +6 -0
  507. package/obsidian/Modals/Alert/package.json +6 -0
  508. package/obsidian/Modals/Confirm/package.json +6 -0
  509. package/obsidian/Modals/ModalBase/package.json +6 -0
  510. package/obsidian/Modals/Prompt/package.json +6 -0
  511. package/obsidian/Modals/SelectItem/package.json +6 -0
  512. package/obsidian/Modals/index/package.json +6 -0
  513. package/obsidian/Modals/package.json +6 -0
  514. package/obsidian/ObsidianSettings/package.json +6 -0
  515. package/obsidian/Pdf/package.json +6 -0
  516. package/obsidian/Plugin/EmptySettings/package.json +6 -0
  517. package/obsidian/Plugin/ObsidianPluginRepoPaths/package.json +6 -0
  518. package/obsidian/Plugin/Plugin/package.json +6 -0
  519. package/obsidian/Plugin/PluginBase/package.json +6 -0
  520. package/obsidian/Plugin/PluginContext/package.json +6 -0
  521. package/obsidian/Plugin/PluginId/package.json +6 -0
  522. package/obsidian/Plugin/PluginSettingsBase/package.json +6 -0
  523. package/obsidian/Plugin/PluginSettingsTabBase/package.json +6 -0
  524. package/obsidian/Plugin/index/package.json +6 -0
  525. package/obsidian/Plugin/package.json +6 -0
  526. package/obsidian/Queue/package.json +6 -0
  527. package/obsidian/Reference/package.json +6 -0
  528. package/obsidian/RenameDeleteHandler/package.json +6 -0
  529. package/obsidian/ResourceUrl/package.json +6 -0
  530. package/obsidian/SettingEx/package.json +6 -0
  531. package/obsidian/Vault/package.json +6 -0
  532. package/obsidian/VaultEx/package.json +6 -0
  533. package/obsidian/index/package.json +6 -0
  534. package/obsidian/package.json +6 -0
  535. package/package.json +186 -315
  536. package/url/package.json +6 -0
  537. package/dist/lib/index.d.ts +0 -16
  538. package/dist/lib/scripts/CliUtils.cjs +0 -161
  539. package/dist/lib/scripts/CliUtils.mjs +0 -135
  540. package/dist/lib/scripts/CodeGenerator.mjs +0 -19
  541. package/dist/lib/scripts/ESLint/ESLint.mjs +0 -28
  542. package/dist/lib/scripts/ESLint/eslint.config.cjs +0 -328
  543. package/dist/lib/scripts/ESLint/eslint.config.mjs +0 -294
  544. package/dist/lib/scripts/Exec.cjs +0 -119
  545. package/dist/lib/scripts/Exec.mjs +0 -98
  546. package/dist/lib/scripts/Fs.cjs +0 -85
  547. package/dist/lib/scripts/Fs.mjs +0 -64
  548. package/dist/lib/scripts/JSON.cjs +0 -83
  549. package/dist/lib/scripts/JSON.mjs +0 -60
  550. package/dist/lib/scripts/NodeModules.mjs +0 -62
  551. package/dist/lib/scripts/Npm.cjs +0 -138
  552. package/dist/lib/scripts/Npm.mjs +0 -106
  553. package/dist/lib/scripts/NpmPublish.mjs +0 -21
  554. package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.cjs +0 -72
  555. package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.mjs +0 -48
  556. package/dist/lib/scripts/Root.cjs +0 -88
  557. package/dist/lib/scripts/Root.mjs +0 -66
  558. package/dist/lib/scripts/build.cjs +0 -82
  559. package/dist/lib/scripts/build.mjs +0 -60
  560. package/dist/lib/scripts/cli.cjs +0 -88
  561. package/dist/lib/scripts/cli.mjs +0 -65
  562. package/dist/lib/scripts/esbuild/Dependency.cjs +0 -122
  563. package/dist/lib/scripts/esbuild/Dependency.mjs +0 -95
  564. package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.cjs +0 -178
  565. package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.mjs +0 -149
  566. package/dist/lib/scripts/esbuild/changeExtensionPlugin.cjs +0 -67
  567. package/dist/lib/scripts/esbuild/changeExtensionPlugin.mjs +0 -43
  568. package/dist/lib/scripts/esbuild/copyToObsidianPluginsFolderPlugin.cjs +0 -66
  569. package/dist/lib/scripts/esbuild/copyToObsidianPluginsFolderPlugin.mjs +0 -50
  570. package/dist/lib/scripts/esbuild/fixEsmPlugin.mjs +0 -25
  571. package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.cjs +0 -75
  572. package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.mjs +0 -55
  573. package/dist/lib/scripts/esbuild/preprocessPlugin.cjs +0 -146
  574. package/dist/lib/scripts/esbuild/preprocessPlugin.mjs +0 -128
  575. package/dist/lib/scripts/esbuild/renameCssPlugin.mjs +0 -31
  576. package/dist/lib/scripts/esbuild/svelteWrapperPlugin.mjs +0 -41
  577. package/dist/lib/scripts/format.mjs +0 -41
  578. package/dist/lib/scripts/spellcheck.mjs +0 -15
  579. package/dist/lib/scripts/version.cjs +0 -389
  580. package/dist/lib/scripts/version.mjs +0 -365
  581. /package/dist/lib/@types/{debug.d.ts → debug.d.cts} +0 -0
  582. /package/dist/lib/{Async.d.ts → Async.d.cts} +0 -0
  583. /package/dist/lib/{Blob.d.ts → Blob.d.cts} +0 -0
  584. /package/dist/lib/{CssClass.d.ts → CssClass.d.cts} +0 -0
  585. /package/dist/lib/{DebugController.d.ts → DebugController.d.cts} +0 -0
  586. /package/dist/lib/{Enum.d.ts → Enum.d.cts} +0 -0
  587. /package/dist/lib/{Error.d.ts → Error.d.cts} +0 -0
  588. /package/dist/lib/{Function.d.ts → Function.d.cts} +0 -0
  589. /package/dist/lib/{HTMLElement.d.ts → HTMLElement.d.cts} +0 -0
  590. /package/dist/lib/{Library.d.ts → Library.d.cts} +0 -0
  591. /package/dist/lib/{Object.d.ts → Object.d.cts} +0 -0
  592. /package/dist/lib/{Path.d.ts → Path.d.cts} +0 -0
  593. /package/dist/lib/{RegExp.d.ts → RegExp.d.cts} +0 -0
  594. /package/dist/lib/{scripts/CodeGenerator.d.ts → ScriptUtils/CodeGenerator.d.cts} +0 -0
  595. /package/dist/lib/{scripts/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.ts → ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.cts} +0 -0
  596. /package/dist/lib/{scripts/ESLint/@types/eslint-plugin-modules-newlines.d.ts → ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.cts} +0 -0
  597. /package/dist/lib/{scripts/ESLint/@types/eslint-plugin-verify-tsdoc.d.ts → ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.cts} +0 -0
  598. /package/dist/lib/{scripts/ESLint/ESLint.d.ts → ScriptUtils/ESLint/ESLint.d.cts} +0 -0
  599. /package/dist/lib/{scripts/ESLint/eslint.config.d.ts → ScriptUtils/ESLint/eslint.config.d.cts} +0 -0
  600. /package/dist/lib/{scripts/Exec.d.ts → ScriptUtils/Exec.d.cts} +0 -0
  601. /package/dist/lib/{scripts/NodeModules.d.ts → ScriptUtils/NodeModules.d.cts} +0 -0
  602. /package/dist/lib/{scripts/NpmPublish.d.ts → ScriptUtils/NpmPublish.d.cts} +0 -0
  603. /package/dist/lib/{scripts/build.d.ts → ScriptUtils/build.d.cts} +0 -0
  604. /package/dist/lib/{scripts/cli.d.ts → ScriptUtils/cli.d.cts} +0 -0
  605. /package/dist/lib/{scripts/esbuild/Dependency.d.ts → ScriptUtils/esbuild/Dependency.d.cts} +0 -0
  606. /package/dist/lib/{scripts/esbuild/changeExtensionPlugin.d.ts → ScriptUtils/esbuild/changeExtensionPlugin.d.cts} +0 -0
  607. /package/dist/lib/{scripts/esbuild/copyToObsidianPluginsFolderPlugin.d.ts → ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.cts} +0 -0
  608. /package/dist/lib/{scripts/esbuild/fixEsmPlugin.d.ts → ScriptUtils/esbuild/fixEsmPlugin.d.cts} +0 -0
  609. /package/dist/lib/{scripts/esbuild/fixSourceMapsPlugin.d.ts → ScriptUtils/esbuild/fixSourceMapsPlugin.d.cts} +0 -0
  610. /package/dist/lib/{scripts/esbuild/preprocessPlugin.d.ts → ScriptUtils/esbuild/preprocessPlugin.d.cts} +0 -0
  611. /package/dist/lib/{scripts/esbuild/renameCssPlugin.d.ts → ScriptUtils/esbuild/renameCssPlugin.d.cts} +0 -0
  612. /package/dist/lib/{scripts/esbuild/svelteWrapperPlugin.d.ts → ScriptUtils/esbuild/svelteWrapperPlugin.d.cts} +0 -0
  613. /package/dist/lib/{scripts/format.d.ts → ScriptUtils/format.d.cts} +0 -0
  614. /package/dist/lib/{scripts/spellcheck.d.ts → ScriptUtils/spellcheck.d.cts} +0 -0
  615. /package/dist/lib/{scripts/version.d.ts → ScriptUtils/version.d.cts} +0 -0
  616. /package/dist/lib/Transformers/{Transformer.d.ts → Transformer.d.cts} +0 -0
  617. /package/dist/lib/codemirror/{StateFieldSpec.d.ts → StateFieldSpec.d.cts} +0 -0
  618. /package/dist/lib/obsidian/@types/Dataview/api/{result.d.ts → result.d.cts} +0 -0
  619. /package/dist/lib/obsidian/@types/Dataview/data-import/{common.d.ts → common.d.cts} +0 -0
  620. /package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-entry.d.ts → import-entry.d.cts} +0 -0
  621. /package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-manager.d.ts → import-manager.d.cts} +0 -0
  622. /package/dist/lib/obsidian/@types/Dataview/data-index/{source.d.ts → source.d.cts} +0 -0
  623. /package/dist/lib/obsidian/@types/Dataview/data-model/{transferable.d.ts → transferable.d.cts} +0 -0
  624. /package/dist/lib/obsidian/@types/Dataview/{settings.d.ts → settings.d.cts} +0 -0
  625. /package/dist/lib/obsidian/@types/Dataview/typings/{workers.d.ts → workers.d.cts} +0 -0
  626. /package/dist/lib/obsidian/@types/Dataview/util/{hash.d.ts → hash.d.cts} +0 -0
  627. /package/dist/lib/obsidian/@types/Dataview/util/{locale.d.ts → locale.d.cts} +0 -0
  628. /package/dist/lib/obsidian/{App.d.ts → App.d.cts} +0 -0
  629. /package/dist/lib/obsidian/{FileSystem.d.ts → FileSystem.d.cts} +0 -0
  630. /package/dist/lib/obsidian/{Frontmatter.d.ts → Frontmatter.d.cts} +0 -0
  631. /package/dist/lib/obsidian/{Markdown.d.ts → Markdown.d.cts} +0 -0
  632. /package/dist/lib/obsidian/{MarkdownView.d.ts → MarkdownView.d.cts} +0 -0
  633. /package/dist/lib/obsidian/Modals/{Alert.d.ts → Alert.d.cts} +0 -0
  634. /package/dist/lib/obsidian/Modals/{Confirm.d.ts → Confirm.d.cts} +0 -0
  635. /package/dist/lib/obsidian/Modals/{SelectItem.d.ts → SelectItem.d.cts} +0 -0
  636. /package/dist/lib/obsidian/{ObsidianSettings.d.ts → ObsidianSettings.d.cts} +0 -0
  637. /package/dist/lib/obsidian/{Pdf.d.ts → Pdf.d.cts} +0 -0
  638. /package/dist/lib/obsidian/Plugin/{ObsidianPluginRepoPaths.d.ts → ObsidianPluginRepoPaths.d.cts} +0 -0
  639. /package/dist/lib/obsidian/Plugin/{Plugin.d.ts → Plugin.d.cts} +0 -0
  640. /package/dist/lib/obsidian/Plugin/{PluginContext.d.ts → PluginContext.d.cts} +0 -0
  641. /package/dist/lib/obsidian/Plugin/{PluginId.d.ts → PluginId.d.cts} +0 -0
  642. /package/dist/lib/obsidian/{RenameDeleteHandler.d.ts → RenameDeleteHandler.d.cts} +0 -0
  643. /package/dist/lib/obsidian/{ResourceUrl.d.ts → ResourceUrl.d.cts} +0 -0
  644. /package/dist/lib/{url.d.ts → url.d.cts} +0 -0
@@ -0,0 +1,44 @@
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
+
6
+ (function initEsm(){if(globalThis.process){return}const browserProcess={browser:true,cwd:__name(()=>"/","cwd"),env:{},platform:"android"};globalThis.process=browserProcess})();
7
+
8
+ import * as DateComponent from "./DateComponent.mjs";
9
+ import * as DateTimeComponent from "./DateTimeComponent.mjs";
10
+ import * as EmailComponent from "./EmailComponent.mjs";
11
+ import * as FileComponent from "./FileComponent.mjs";
12
+ import * as MonthComponent from "./MonthComponent.mjs";
13
+ import * as MultipleDropdownComponent from "./MultipleDropdownComponent.mjs";
14
+ import * as MultipleEmailComponent from "./MultipleEmailComponent.mjs";
15
+ import * as MultipleFileComponent from "./MultipleFileComponent.mjs";
16
+ import * as MultipleTextComponent from "./MultipleTextComponent.mjs";
17
+ import * as NumberComponent from "./NumberComponent.mjs";
18
+ import * as TimeComponent from "./TimeComponent.mjs";
19
+ import * as TypedRangeTextComponent from "./TypedRangeTextComponent.mjs";
20
+ import * as TypedTextComponent from "./TypedTextComponent.mjs";
21
+ import * as UrlComponent from "./UrlComponent.mjs";
22
+ import * as ValidatorComponent from "./ValidatorComponent.mjs";
23
+ import * as ValueComponentWithChangeTracking from "./ValueComponentWithChangeTracking.mjs";
24
+ import * as WeekComponent from "./WeekComponent.mjs";
25
+ export {
26
+ DateComponent,
27
+ DateTimeComponent,
28
+ EmailComponent,
29
+ FileComponent,
30
+ MonthComponent,
31
+ MultipleDropdownComponent,
32
+ MultipleEmailComponent,
33
+ MultipleFileComponent,
34
+ MultipleTextComponent,
35
+ NumberComponent,
36
+ TimeComponent,
37
+ TypedRangeTextComponent,
38
+ TypedTextComponent,
39
+ UrlComponent,
40
+ ValidatorComponent,
41
+ ValueComponentWithChangeTracking,
42
+ WeekComponent
43
+ };
44
+ //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL0NvbXBvbmVudHMvaW5kZXgudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbIi8qIFRISVMgSVMgQSBHRU5FUkFURUQvQlVORExFRCBGSUxFIEJZIEJVSUxEIFNDUklQVCAqL1xuXG5leHBvcnQgKiBhcyBEYXRlQ29tcG9uZW50IGZyb20gJy4vRGF0ZUNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBEYXRlVGltZUNvbXBvbmVudCBmcm9tICcuL0RhdGVUaW1lQ29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzIEVtYWlsQ29tcG9uZW50IGZyb20gJy4vRW1haWxDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgRmlsZUNvbXBvbmVudCBmcm9tICcuL0ZpbGVDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgTW9udGhDb21wb25lbnQgZnJvbSAnLi9Nb250aENvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZURyb3Bkb3duQ29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVEcm9wZG93bkNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZUVtYWlsQ29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVFbWFpbENvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZUZpbGVDb21wb25lbnQgZnJvbSAnLi9NdWx0aXBsZUZpbGVDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgTXVsdGlwbGVUZXh0Q29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVUZXh0Q29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzIE51bWJlckNvbXBvbmVudCBmcm9tICcuL051bWJlckNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBUaW1lQ29tcG9uZW50IGZyb20gJy4vVGltZUNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBUeXBlZFJhbmdlVGV4dENvbXBvbmVudCBmcm9tICcuL1R5cGVkUmFuZ2VUZXh0Q29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzIFR5cGVkVGV4dENvbXBvbmVudCBmcm9tICcuL1R5cGVkVGV4dENvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBVcmxDb21wb25lbnQgZnJvbSAnLi9VcmxDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgVmFsaWRhdG9yQ29tcG9uZW50IGZyb20gJy4vVmFsaWRhdG9yQ29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzIFZhbHVlQ29tcG9uZW50V2l0aENoYW5nZVRyYWNraW5nIGZyb20gJy4vVmFsdWVDb21wb25lbnRXaXRoQ2hhbmdlVHJhY2tpbmcudHMnO1xuZXhwb3J0ICogYXMgV2Vla0NvbXBvbmVudCBmcm9tICcuL1dlZWtDb21wb25lbnQudHMnO1xuIl0sCiAgIm1hcHBpbmdzIjogIjs7Ozs7OztBQUVBLFlBQVksbUJBQW1CO0FBQy9CLFlBQVksdUJBQXVCO0FBQ25DLFlBQVksb0JBQW9CO0FBQ2hDLFlBQVksbUJBQW1CO0FBQy9CLFlBQVksb0JBQW9CO0FBQ2hDLFlBQVksK0JBQStCO0FBQzNDLFlBQVksNEJBQTRCO0FBQ3hDLFlBQVksMkJBQTJCO0FBQ3ZDLFlBQVksMkJBQTJCO0FBQ3ZDLFlBQVkscUJBQXFCO0FBQ2pDLFlBQVksbUJBQW1CO0FBQy9CLFlBQVksNkJBQTZCO0FBQ3pDLFlBQVksd0JBQXdCO0FBQ3BDLFlBQVksa0JBQWtCO0FBQzlCLFlBQVksd0JBQXdCO0FBQ3BDLFlBQVksc0NBQXNDO0FBQ2xELFlBQVksbUJBQW1COyIsCiAgIm5hbWVzIjogW10KfQo=
@@ -2,15 +2,15 @@
2
2
  * @packageDocumentation Dataview
3
3
  * This module provides utility functions for working with Dataview in Obsidian.
4
4
  */
5
- import type { MaybePromise } from '../Async.ts';
6
- import type { DataviewInlineApi as DataviewInlineApiOriginal } from './@types/Dataview/api/inline-api.d.ts';
7
- import type { DataArray, DataviewApi, SMarkdownPage } from './@types/Dataview/index.d.ts';
8
- import type { PathOrFile } from './FileSystem.ts';
9
- import type { CombinedFrontmatter } from './Frontmatter.ts';
5
+ import type { MaybePromise } from '../Async.cjs';
6
+ import type { DataviewInlineApi as DataviewInlineApiOriginal } from './@types/Dataview/api/inline-api.d.cjs';
7
+ import type { DataArray, DataviewApi, SMarkdownPage } from './@types/Dataview/index.d.cjs';
8
+ import type { PathOrFile } from './FileSystem.cjs';
9
+ import type { CombinedFrontmatter } from './Frontmatter.cjs';
10
10
  /**
11
11
  * Export DateTime and Link types from the Dataview API.
12
12
  */
13
- export type { DateTime, Link } from './@types/Dataview/index.d.ts';
13
+ export type { DateTime, Link } from './@types/Dataview/index.d.cjs';
14
14
  declare global {
15
15
  /**
16
16
  * The DataviewAPI object represents the API for interacting with Dataview in Obsidian.
@@ -0,0 +1,215 @@
1
+ /**
2
+ * @packageDocumentation Dataview
3
+ * This module provides utility functions for working with Dataview in Obsidian.
4
+ */
5
+ import type { MaybePromise } from '../Async.mjs';
6
+ import type { DataviewInlineApi as DataviewInlineApiOriginal } from './@types/Dataview/api/inline-api.d.mjs';
7
+ import type { DataArray, DataviewApi, SMarkdownPage } from './@types/Dataview/index.d.mjs';
8
+ import type { PathOrFile } from './FileSystem.mjs';
9
+ import type { CombinedFrontmatter } from './Frontmatter.mjs';
10
+ /**
11
+ * Export DateTime and Link types from the Dataview API.
12
+ */
13
+ export type { DateTime, Link } from './@types/Dataview/index.d.mjs';
14
+ declare global {
15
+ /**
16
+ * The DataviewAPI object represents the API for interacting with Dataview in Obsidian.
17
+ */
18
+ var DataviewAPI: DataviewApi | undefined;
19
+ }
20
+ /**
21
+ * The combined page type, which includes the front matter and the SMarkdownPage.
22
+ */
23
+ export type CombinedPage<CustomFrontmatter = unknown> = CombinedFrontmatter<CustomFrontmatter> & SMarkdownPage;
24
+ /**
25
+ * Extended interface for the Dataview Inline API, providing additional methods for custom page types and array handling.
26
+ *
27
+ * @typeParam CustomPage - The type of the custom page. Defaults to `SMarkdownPage`.
28
+ */
29
+ export interface DataviewInlineApi extends DataviewInlineApiOriginal {
30
+ /**
31
+ * Wraps an array of items into a `DataArray` object.
32
+ *
33
+ * @typeParam T - The type of the items in the array.
34
+ * @param arr - The array of items to wrap.
35
+ * @returns A `DataArray` containing the items.
36
+ */
37
+ array<T>(arr: T[]): DataArray<T>;
38
+ /**
39
+ * Retrieves the current page, with an optional custom page type.
40
+ *
41
+ * @typeParam CustomPage - The type of the custom page. Defaults to `SMarkdownPage`.
42
+ * @returns The current page.
43
+ */
44
+ current<CustomFrontmatter = unknown>(): CombinedPage<CustomFrontmatter>;
45
+ /**
46
+ * Retrieves pages based on an optional query, with an optional custom page type.
47
+ *
48
+ * @typeParam CustomPage - The type of the custom page. Defaults to `SMarkdownPage`.
49
+ * @param query - An optional string query to filter the pages.
50
+ * @returns A `DataArray` of pages matching the query.
51
+ */
52
+ pages<CustomFrontmatter = unknown>(query?: string): DataArray<CombinedPage<CustomFrontmatter>>;
53
+ /**
54
+ * Creates a paragraph HTML element with the provided text and optional DOM element options.
55
+ *
56
+ * @param text - The content of the paragraph.
57
+ * @param options - Optional DOM element options, including an optional container.
58
+ * @returns The created HTML paragraph element.
59
+ */
60
+ paragraph(text: unknown, options?: DomElementInfoWithContainer): HTMLParagraphElement;
61
+ }
62
+ /**
63
+ * DomElementInfo with an optional container.
64
+ */
65
+ export type DomElementInfoWithContainer = {
66
+ container?: HTMLElement;
67
+ } & DomElementInfo;
68
+ /**
69
+ * The combined file type, which includes the front matter and the SMarkdownFile.
70
+ */
71
+ export type PageFile = SMarkdownPage['file'];
72
+ /**
73
+ * List of page files.
74
+ */
75
+ export type PageFiles = ArrayOrDataArray<PageFile>;
76
+ /**
77
+ * Reloads the current file cache using the Dataview API.
78
+ *
79
+ * @param dv - The DataviewInlineApi instance.
80
+ * @returns A promise that resolves when the cache is reloaded.
81
+ */
82
+ export declare function reloadCurrentFileCache(dv: DataviewInlineApi): Promise<void>;
83
+ /**
84
+ * Array or DataArray type.
85
+ */
86
+ export type ArrayOrDataArray<T> = DataArray<T> | T[];
87
+ /**
88
+ * Options for rendering an iframe in the Dataview container.
89
+ */
90
+ export interface RenderIframeOptions {
91
+ /**
92
+ * The DataviewInlineApi instance.
93
+ */
94
+ dv: DataviewInlineApi;
95
+ /**
96
+ * The height of the iframe.
97
+ */
98
+ height: string;
99
+ /**
100
+ * The relative path to the resource to be displayed in the iframe.
101
+ */
102
+ relativePathOrFile: PathOrFile;
103
+ /**
104
+ * The width of the iframe.
105
+ */
106
+ width: string;
107
+ }
108
+ /**
109
+ * Options for rendering a paginated list using the Dataview API.
110
+ */
111
+ export interface RenderPaginatedListOptions<T> {
112
+ /**
113
+ * The DataviewInlineApi instance.
114
+ */
115
+ dv: DataviewInlineApi;
116
+ /**
117
+ * Options for items per page. Defaults to `[10, 20, 50, 100]`.
118
+ */
119
+ itemsPerPageOptions?: number[];
120
+ /**
121
+ * The list of items to paginate.
122
+ */
123
+ rows: ArrayOrDataArray<T>;
124
+ }
125
+ /**
126
+ * Options for rendering a paginated element using the Dataview API.
127
+ */
128
+ export interface RenderPaginatedOptions<T> {
129
+ /**
130
+ * The DataviewInlineApi instance.
131
+ */
132
+ dv: DataviewInlineApi;
133
+ /**
134
+ * Options for items per page.
135
+ */
136
+ itemsPerPageOptions: number[];
137
+ /**
138
+ * The renderer function to display the paginated content.
139
+ * @param rowsForOnePage - The rows to render.
140
+ * @returns A promise that resolves when the content is rendered.
141
+ */
142
+ renderer: (rowsForOnePage: ArrayOrDataArray<T>) => MaybePromise<void>;
143
+ /**
144
+ * The rows to paginate.
145
+ */
146
+ rows: ArrayOrDataArray<T>;
147
+ }
148
+ /**
149
+ * Options for rendering a paginated table using the Dataview API.
150
+ */
151
+ export interface RenderPaginatedTableOptions<T> {
152
+ /**
153
+ * The DataviewInlineApi instance.
154
+ */
155
+ dv: DataviewInlineApi;
156
+ /**
157
+ * The headers of the table.
158
+ */
159
+ headers: string[];
160
+ /**
161
+ * Options for items per page. Defaults to `[10, 20, 50, 100]`.
162
+ */
163
+ itemsPerPageOptions?: number[];
164
+ /**
165
+ * The rows of the table to paginate.
166
+ */
167
+ rows: ArrayOrDataArray<T>;
168
+ }
169
+ /**
170
+ * Renders the content using the provided renderer function in a temporary container,
171
+ * and then returns the container.
172
+ *
173
+ * @param dv - The DataviewInlineApi instance.
174
+ * @param renderer - The function responsible for rendering the content.
175
+ * @returns A promise that resolves to the HTML paragraph element
176
+ * that was used as the temporary container.
177
+ */
178
+ export declare function getRenderedContainer(dv: DataviewInlineApi, renderer: () => MaybePromise<void>): Promise<HTMLParagraphElement>;
179
+ /**
180
+ * Inserts a code block into the specified Dataview instance using the provided language and code.
181
+ *
182
+ * @param dv - The DataviewInlineApi instance to insert the code block into.
183
+ * @param language - The language identifier for the code block.
184
+ * @param code - The code content to be inserted into the code block.
185
+ * @returns This function does not return a value.
186
+ */
187
+ export declare function insertCodeBlock(dv: DataviewInlineApi, language: string, code: string): void;
188
+ /**
189
+ * Renders an iframe in the Dataview container with the specified relative path, width, and height.
190
+ *
191
+ * @param options - The options for rendering the iframe.
192
+ *
193
+ * @returns This function does not return a value.
194
+ */
195
+ export declare function renderIframe(options: RenderIframeOptions): void;
196
+ /**
197
+ * Renders a paginated list using the provided DataviewInlineApi instance.
198
+ *
199
+ * @typeParam T - The type of items in the list.
200
+ *
201
+ * @param options - The options for rendering the paginated list.
202
+ *
203
+ * @returns A promise that resolves when the list is rendered.
204
+ */
205
+ export declare function renderPaginatedList<T>(options: RenderPaginatedListOptions<T>): Promise<void>;
206
+ /**
207
+ * Renders a paginated table using the provided DataviewInlineApi instance.
208
+ *
209
+ * @typeParam T - The type of items in the table rows.
210
+ *
211
+ * @param options - The options for rendering the paginated table.
212
+ *
213
+ * @returns A promise that resolves when the table is rendered.
214
+ */
215
+ export declare function renderPaginatedTable<T extends unknown[]>(options: RenderPaginatedTableOptions<T>): Promise<void>;
@@ -2,8 +2,8 @@
2
2
  * @packageDocumentation DataviewLink
3
3
  * This module provides utility functions for working with Dataview links in Obsidian
4
4
  */
5
- import type { DataviewInlineApi, Link } from './Dataview.ts';
6
- import type { PathOrFile } from './FileSystem.ts';
5
+ import type { DataviewInlineApi, Link } from './Dataview.cjs';
6
+ import type { PathOrFile } from './FileSystem.cjs';
7
7
  /**
8
8
  * Fixes the title of a file or folder note by generating a `Link` object with a proper title.
9
9
  *
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @packageDocumentation DataviewLink
3
+ * This module provides utility functions for working with Dataview links in Obsidian
4
+ */
5
+ import type { DataviewInlineApi, Link } from './Dataview.mjs';
6
+ import type { PathOrFile } from './FileSystem.mjs';
7
+ /**
8
+ * Fixes the title of a file or folder note by generating a `Link` object with a proper title.
9
+ *
10
+ * @param dv - The DataviewInlineApi instance used to create the file link.
11
+ * @param pathOrFile - The file path for which the title is to be fixed.
12
+ * @param isFolderNote - A boolean indicating whether the file is a folder note. Defaults to `false`.
13
+ * If true, the title is derived from the folder name. Defaults to `false`.
14
+ * @returns A Link object with the corrected title.
15
+ */
16
+ export declare function fixTitle(dv: DataviewInlineApi, pathOrFile: PathOrFile, isFolderNote?: boolean): Link;
17
+ /**
18
+ * Generates a string representation of a `Link` object that includes both the link text and the file path.
19
+ *
20
+ * @param link - The Link object to be converted to a string with its path.
21
+ * @returns A string representing the link in the format: "linkText (linkPath)".
22
+ */
23
+ export declare function makeLinkWithPath(link: Link): string;
@@ -3,9 +3,9 @@
3
3
  * Contains utility types and functions for handling file changes in Obsidian.
4
4
  */
5
5
  import type { App } from 'obsidian';
6
- import type { ValueProvider } from '../ValueProvider.ts';
7
- import type { PathOrFile } from './FileSystem.ts';
8
- import type { ProcessOptions } from './Vault.ts';
6
+ import type { ValueProvider } from '../ValueProvider.cjs';
7
+ import type { PathOrFile } from './FileSystem.cjs';
8
+ import type { ProcessOptions } from './Vault.cjs';
9
9
  /**
10
10
  * Represents a content body change in the Vault.
11
11
  */
@@ -0,0 +1,68 @@
1
+ /**
2
+ * @packageDocumentation FileChange
3
+ * Contains utility types and functions for handling file changes in Obsidian.
4
+ */
5
+ import type { App } from 'obsidian';
6
+ import type { ValueProvider } from '../ValueProvider.mjs';
7
+ import type { PathOrFile } from './FileSystem.mjs';
8
+ import type { ProcessOptions } from './Vault.mjs';
9
+ /**
10
+ * Represents a content body change in the Vault.
11
+ */
12
+ export interface ContentChange extends FileChange {
13
+ /**
14
+ * The end index of the change in the file content.
15
+ */
16
+ endIndex: number;
17
+ /**
18
+ * The start index of the change in the file content.
19
+ */
20
+ startIndex: number;
21
+ }
22
+ /**
23
+ * Represents a file change in the Vault.
24
+ */
25
+ export interface FileChange {
26
+ /**
27
+ * The new content to replace the old content.
28
+ */
29
+ newContent: string;
30
+ /**
31
+ * The old content that will be replaced.
32
+ */
33
+ oldContent: string;
34
+ }
35
+ /**
36
+ * Represents a frontmatter change in the Vault.
37
+ */
38
+ export interface FrontmatterChange extends FileChange {
39
+ /**
40
+ * The key in the frontmatter to use for the link.
41
+ */
42
+ frontmatterKey: string;
43
+ }
44
+ /**
45
+ * Applies a series of file changes to the specified file or path within the application.
46
+ *
47
+ * @param app - The application instance where the file changes will be applied.
48
+ * @param pathOrFile - The path or file to which the changes should be applied.
49
+ * @param changesProvider - A provider that returns an array of file changes to apply.
50
+ * @param processOptions - Optional options for processing/retrying the operation.
51
+ *
52
+ * @returns A promise that resolves when the file changes have been successfully applied.
53
+ */
54
+ export declare function applyFileChanges(app: App, pathOrFile: PathOrFile, changesProvider: ValueProvider<FileChange[]>, processOptions?: ProcessOptions): Promise<void>;
55
+ /**
56
+ * Checks if a file change is a content change.
57
+ *
58
+ * @param fileChange - The file change to check.
59
+ * @returns A boolean indicating whether the file change is a content change.
60
+ */
61
+ export declare function isContentChange(fileChange: FileChange): fileChange is ContentChange;
62
+ /**
63
+ * Checks if a file change is a frontmatter change.
64
+ *
65
+ * @param fileChange - The file change to check.
66
+ * @returns A boolean indicating whether the file change is a frontmatter change.
67
+ */
68
+ export declare function isFrontmatterChange(fileChange: FileChange): fileChange is FrontmatterChange;
@@ -3,10 +3,10 @@
3
3
  * Contains utility functions for managing files in Obsidian.
4
4
  */
5
5
  import type { App } from 'obsidian';
6
- import type { MaybePromise } from '../Async.ts';
7
- import type { PathOrFile } from './FileSystem.ts';
8
- import type { CombinedFrontmatter } from './Frontmatter.ts';
9
- import type { ProcessOptions } from './Vault.ts';
6
+ import type { MaybePromise } from '../Async.cjs';
7
+ import type { PathOrFile } from './FileSystem.cjs';
8
+ import type { CombinedFrontmatter } from './Frontmatter.cjs';
9
+ import type { ProcessOptions } from './Vault.cjs';
10
10
  /**
11
11
  * Adds an alias to the front matter of a given file if it does not already exist.
12
12
  *
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @packageDocumentation FileManager
3
+ * Contains utility functions for managing files in Obsidian.
4
+ */
5
+ import type { App } from 'obsidian';
6
+ import type { MaybePromise } from '../Async.mjs';
7
+ import type { PathOrFile } from './FileSystem.mjs';
8
+ import type { CombinedFrontmatter } from './Frontmatter.mjs';
9
+ import type { ProcessOptions } from './Vault.mjs';
10
+ /**
11
+ * Adds an alias to the front matter of a given file if it does not already exist.
12
+ *
13
+ * @param app - The Obsidian app instance.
14
+ * @param pathOrFile - The path or TFile object representing the note.
15
+ * @param alias - The alias to add.
16
+ * @returns A promise that resolves when the alias has been added.
17
+ */
18
+ export declare function addAlias(app: App, pathOrFile: PathOrFile, alias?: string): Promise<void>;
19
+ /**
20
+ * Deletes an alias from the front matter of a given file if it exists.
21
+ *
22
+ * @param app - The Obsidian app instance.
23
+ * @param pathOrFile - The path or TFile object representing the note.
24
+ * @param alias - The alias to delete.
25
+ * @returns A promise that resolves when the alias has been deleted.
26
+ */
27
+ export declare function deleteAlias(app: App, pathOrFile: PathOrFile, alias?: string): Promise<void>;
28
+ /**
29
+ * Processes the front matter of a given file, allowing modifications via a provided function.
30
+ *
31
+ * @typeParam CustomFrontmatter - The type of custom front matter.
32
+ * @param app - The Obsidian app instance.
33
+ * @param pathOrFile - The path or TFile object representing the note.
34
+ * @param frontmatterFn - A function that modifies the front matter.
35
+ * @param processOptions - Optional. Configuration options for retrying the process. If not provided, default options will be used.
36
+ * @returns A promise that resolves when the front matter has been processed and saved.
37
+ */
38
+ export declare function processFrontmatter<CustomFrontmatter = unknown>(app: App, pathOrFile: PathOrFile, frontmatterFn: (frontmatter: CombinedFrontmatter<CustomFrontmatter>) => MaybePromise<null | void>, processOptions?: ProcessOptions): Promise<void>;
@@ -0,0 +1,185 @@
1
+ /**
2
+ * @packageDocumentation FileSystem
3
+ * This module provides utility functions for working with TAbstractFile, TFile, and TFolder instances in Obsidian.
4
+ */
5
+ import { App, TAbstractFile, TFile, TFolder } from 'obsidian';
6
+ /**
7
+ * The file extension for Markdown files.
8
+ */
9
+ export declare const MARKDOWN_FILE_EXTENSION = "md";
10
+ /**
11
+ * Represents the file extension for canvas files.
12
+ */
13
+ export declare const CANVAS_FILE_EXTENSION = "canvas";
14
+ /**
15
+ * Represents a path or an instance of TAbstractFile.
16
+ */
17
+ export type PathOrAbstractFile = string | TAbstractFile;
18
+ /**
19
+ * Represents a path or a file.
20
+ */
21
+ export type PathOrFile = string | TFile;
22
+ /**
23
+ * Represents a path or an instance of TFolder.
24
+ */
25
+ export type PathOrFolder = string | TFolder;
26
+ /**
27
+ * Checks if the given path or file has the specified extension.
28
+ *
29
+ * @param app - The Obsidian App instance.
30
+ * @param pathOrFile - The path or abstract file to check.
31
+ * @param extension - The extension to compare against.
32
+ * @returns Returns `true` if the path or file has the specified extension, `false` otherwise.
33
+ */
34
+ export declare function checkExtension(app: App, pathOrFile: null | PathOrAbstractFile, extension: string): boolean;
35
+ /**
36
+ * Retrieves the TAbstractFile object for the given path or abstract file.
37
+ *
38
+ * @param app - The App instance.
39
+ * @param pathOrFile - The path or abstract file to retrieve the TAbstractFile for.
40
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
41
+ * @returns The TAbstractFile object.
42
+ * @throws Error if the abstract file is not found.
43
+ */
44
+ export declare function getAbstractFile(app: App, pathOrFile: PathOrAbstractFile, isCaseInsensitive?: boolean): TAbstractFile;
45
+ /**
46
+ * Retrieves an instance of TAbstractFile or null based on the provided path or abstract file.
47
+ *
48
+ * @param app - The application instance.
49
+ * @param pathOrFile - The path or abstract file to retrieve.
50
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
51
+ * @returns The instance of TAbstractFile if found, otherwise null.
52
+ */
53
+ export declare function getAbstractFileOrNull(app: App, pathOrFile: null | PathOrAbstractFile, isCaseInsensitive?: boolean): null | TAbstractFile;
54
+ /**
55
+ * Retrieves a TFile object based on the provided path or file.
56
+ *
57
+ * @param app - The Obsidian App instance.
58
+ * @param pathOrFile - The path or file to retrieve the TFile object for.
59
+ * @param shouldIncludeNonExisting - Whether to include a non-existing file.
60
+ * If `true`, a new TFile object is created for the provided path.
61
+ * If `false`, an error is thrown if the file is not found.
62
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
63
+ * @returns The TFile object corresponding to the provided path or file.
64
+ * @throws Error if the file is not found.
65
+ */
66
+ export declare function getFile(app: App, pathOrFile: PathOrFile, shouldIncludeNonExisting?: boolean, isCaseInsensitive?: boolean): TFile;
67
+ /**
68
+ * Retrieves a TFile object based on the provided path or file.
69
+ * If the provided argument is already a TFile object, it is returned as is.
70
+ * Otherwise, the function uses the app's vault to retrieve the TFile object by its path.
71
+ * @param app - The Obsidian App instance.
72
+ * @param pathOrFile - The path or TFile object.
73
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
74
+ * @returns The TFile object if found, otherwise null.
75
+ */
76
+ export declare function getFileOrNull(app: App, pathOrFile: null | PathOrFile, isCaseInsensitive?: boolean): null | TFile;
77
+ /**
78
+ * Retrieves a TFolder object based on the provided app and pathOrFolder.
79
+ *
80
+ * @param app - The Obsidian app instance.
81
+ * @param pathOrFolder - The path or folder identifier.
82
+ * @param shouldIncludeNonExisting - Whether to allow the folder to not exist.
83
+ * If `true`, a new TFolder object is created for the provided path.
84
+ * If `false`, an error is thrown if the folder is not found.
85
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
86
+ * @returns The retrieved TFolder object.
87
+ * @throws If the folder is not found.
88
+ */
89
+ export declare function getFolder(app: App, pathOrFolder: PathOrFolder, shouldIncludeNonExisting?: boolean, isCaseInsensitive?: boolean): TFolder;
90
+ /**
91
+ * Retrieves a TFolder object or null based on the provided path or folder.
92
+ *
93
+ * @param app - The Obsidian application instance.
94
+ * @param pathOrFolder - The path or folder to retrieve the TFolder from.
95
+ * @param isCaseInsensitive - Specifies whether to perform a case-insensitive search. Default is `false`.
96
+ * @returns The TFolder object if found, otherwise null.
97
+ */
98
+ export declare function getFolderOrNull(app: App, pathOrFolder: null | PathOrFolder, isCaseInsensitive?: boolean): null | TFolder;
99
+ /**
100
+ * Retrieves an array of TFile objects representing the markdown files within a specified folder or path.
101
+ *
102
+ * @param app - The Obsidian App instance.
103
+ * @param pathOrFolder - The path or folder to retrieve the markdown files from.
104
+ * @param isRecursive - Optional. Specifies whether to recursively search for markdown files within subfolders. Default is false.
105
+ * @returns An array of TFile objects representing the markdown files.
106
+ */
107
+ export declare function getMarkdownFiles(app: App, pathOrFolder: PathOrFolder, isRecursive?: boolean): TFile[];
108
+ /**
109
+ * Retrieves the TFile object for the given path or creates a new one if it does not exist.
110
+ *
111
+ * @param app - The Obsidian App instance.
112
+ * @param path - The path of the file to retrieve or create.
113
+ * @returns The TFile object representing the file
114
+ */
115
+ export declare function getOrCreateFile(app: App, path: string): Promise<TFile>;
116
+ /**
117
+ * Retrieves the TFolder object for the given path or creates a new one if it does not exist.
118
+ *
119
+ * @param app - The Obsidian App instance.
120
+ * @param path - The path of the folder to retrieve or create.
121
+ * @returns The TFolder object representing the folder.
122
+ */
123
+ export declare function getOrCreateFolder(app: App, path: string): Promise<TFolder>;
124
+ /**
125
+ * Returns the path of the given `pathOrFile`.
126
+ *
127
+ * @param app - The Obsidian App instance.
128
+ * @param pathOrFile - The path or abstract file.
129
+ * @returns The path of the `pathOrFile`.
130
+ */
131
+ export declare function getPath(app: App, pathOrFile: PathOrAbstractFile): string;
132
+ /**
133
+ * Checks if the given file is an instance of TAbstractFile.
134
+ *
135
+ * @param file - The file to check.
136
+ * @returns A boolean indicating whether the file is an instance of TAbstractFile.
137
+ */
138
+ export declare function isAbstractFile(file: unknown): file is TAbstractFile;
139
+ /**
140
+ * Checks if the given file is a canvas file.
141
+ *
142
+ * @param app - The Obsidian App instance.
143
+ * @param pathOrFile - The path or file to check.
144
+ * @returns A boolean indicating whether the file is a canvas file or not.
145
+ */
146
+ export declare function isCanvasFile(app: App, pathOrFile: null | PathOrAbstractFile): boolean;
147
+ /**
148
+ * Checks if the given file is an instance of TFile.
149
+ *
150
+ * @param file - The file to check.
151
+ * @returns A boolean indicating whether the file is an instance of TFile.
152
+ */
153
+ export declare function isFile(file: unknown): file is TFile;
154
+ /**
155
+ * Checks if the given file is a folder.
156
+ *
157
+ * @param file - The file to check.
158
+ * @returns `true` if the file is a folder, `false` otherwise.
159
+ */
160
+ export declare function isFolder(file: unknown): file is TFolder;
161
+ /**
162
+ * Checks if the given file is a Markdown file.
163
+ *
164
+ * @param app - The Obsidian App instance.
165
+ * @param pathOrFile - The path or file to check.
166
+ * @returns A boolean indicating whether the file is a Markdown file.
167
+ */
168
+ export declare function isMarkdownFile(app: App, pathOrFile: null | PathOrAbstractFile): boolean;
169
+ /**
170
+ * Checks if the given file is a note.
171
+ *
172
+ * @param app - The Obsidian App instance.
173
+ * @param pathOrFile - The path or file to check.
174
+ * @returns A boolean indicating whether the file is a note.
175
+ */
176
+ export declare function isNote(app: App, pathOrFile: null | PathOrAbstractFile): boolean;
177
+ /**
178
+ * Trims the markdown extension from the file path if the file is a markdown file.
179
+ * If the file is not a markdown file, the original file path is returned.
180
+ *
181
+ * @param app - The Obsidian App instance.
182
+ * @param file - The file to trim the markdown extension from.
183
+ * @returns The file path with the markdown extension trimmed.
184
+ */
185
+ export declare function trimMarkdownExtension(app: App, file: TAbstractFile): string;