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.
- package/@types/debug/package.json +4 -0
- package/Async/package.json +6 -0
- package/Blob/package.json +6 -0
- package/CHANGELOG.md +12 -0
- package/CssClass/package.json +6 -0
- package/Debug/package.json +6 -0
- package/DebugController/package.json +6 -0
- package/Enum/package.json +6 -0
- package/Error/package.json +6 -0
- package/Function/package.json +6 -0
- package/HTMLElement/package.json +6 -0
- package/Library/package.json +6 -0
- package/Object/package.json +6 -0
- package/Path/package.json +6 -0
- package/RegExp/package.json +6 -0
- package/ScriptUtils/CliUtils/package.json +6 -0
- package/ScriptUtils/CodeGenerator/package.json +6 -0
- package/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required/package.json +4 -0
- package/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines/package.json +4 -0
- package/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc/package.json +4 -0
- package/ScriptUtils/ESLint/ESLint/package.json +6 -0
- package/ScriptUtils/ESLint/eslint.config/package.json +6 -0
- package/ScriptUtils/ESLint/index/package.json +6 -0
- package/ScriptUtils/ESLint/package.json +6 -0
- package/ScriptUtils/Exec/package.json +6 -0
- package/ScriptUtils/Fs/package.json +6 -0
- package/ScriptUtils/JSON/package.json +6 -0
- package/ScriptUtils/NodeModules/package.json +6 -0
- package/ScriptUtils/Npm/package.json +6 -0
- package/ScriptUtils/NpmPublish/package.json +6 -0
- package/ScriptUtils/ObsidianDevUtilsRepoPaths/package.json +6 -0
- package/ScriptUtils/Root/package.json +6 -0
- package/ScriptUtils/build/package.json +6 -0
- package/ScriptUtils/cli/package.json +6 -0
- package/ScriptUtils/esbuild/Dependency/package.json +6 -0
- package/ScriptUtils/esbuild/ObsidianPluginBuilder/package.json +6 -0
- package/ScriptUtils/esbuild/changeExtensionPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/fixEsmPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/fixSourceMapsPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/index/package.json +6 -0
- package/ScriptUtils/esbuild/package.json +6 -0
- package/ScriptUtils/esbuild/preprocessPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/renameCssPlugin/package.json +6 -0
- package/ScriptUtils/esbuild/svelteWrapperPlugin/package.json +6 -0
- package/ScriptUtils/format/package.json +6 -0
- package/ScriptUtils/index/package.json +6 -0
- package/ScriptUtils/package.json +6 -0
- package/ScriptUtils/spellcheck/package.json +6 -0
- package/ScriptUtils/version/package.json +6 -0
- package/String/package.json +6 -0
- package/Transformers/DateTransformer/package.json +6 -0
- package/Transformers/DurationTransformer/package.json +6 -0
- package/Transformers/GroupTransformer/package.json +6 -0
- package/Transformers/SkipPrivatePropertyTransformer/package.json +6 -0
- package/Transformers/Transformer/package.json +6 -0
- package/Transformers/TypedTransformer/package.json +6 -0
- package/Transformers/index/package.json +6 -0
- package/Transformers/package.json +6 -0
- package/ValueProvider/package.json +6 -0
- package/codemirror/StateFieldSpec/package.json +6 -0
- package/codemirror/index/package.json +6 -0
- package/codemirror/package.json +6 -0
- package/dist/bin/cli.cjs +1 -1
- package/dist/lib/@types/debug.d.mts +16 -0
- package/dist/lib/Async.d.mts +153 -0
- package/dist/lib/Blob.d.mts +40 -0
- package/dist/lib/CssClass.d.mts +97 -0
- package/dist/lib/{Debug.d.ts → Debug.d.cts} +1 -1
- package/dist/lib/Debug.d.mts +41 -0
- package/dist/lib/DebugController.d.mts +85 -0
- package/dist/lib/Enum.d.mts +20 -0
- package/dist/lib/Error.d.mts +45 -0
- package/dist/lib/Function.d.mts +28 -0
- package/dist/lib/HTMLElement.d.mts +49 -0
- package/dist/lib/Library.cjs +1 -1
- package/dist/lib/Library.d.mts +16 -0
- package/dist/lib/Library.mjs +1 -1
- package/dist/lib/Object.d.mts +211 -0
- package/dist/lib/Path.d.mts +133 -0
- package/dist/lib/RegExp.d.mts +18 -0
- package/dist/lib/ScriptUtils/CliUtils.cjs +161 -0
- package/dist/lib/{scripts/CliUtils.d.ts → ScriptUtils/CliUtils.d.cts} +1 -1
- package/dist/lib/ScriptUtils/CliUtils.d.mts +70 -0
- package/dist/lib/ScriptUtils/CliUtils.mjs +135 -0
- package/dist/lib/{scripts → ScriptUtils}/CodeGenerator.cjs +1 -1
- package/dist/lib/ScriptUtils/CodeGenerator.d.mts +12 -0
- package/dist/lib/ScriptUtils/CodeGenerator.mjs +19 -0
- package/dist/lib/ScriptUtils/ESLint/@types/@guardian__eslint-plugin-tsdoc-required.d.mts +13 -0
- package/dist/lib/ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.mts +13 -0
- package/dist/lib/ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.mts +13 -0
- package/dist/lib/{scripts → ScriptUtils}/ESLint/ESLint.cjs +1 -1
- package/dist/lib/ScriptUtils/ESLint/ESLint.d.mts +13 -0
- package/dist/lib/ScriptUtils/ESLint/ESLint.mjs +28 -0
- package/dist/lib/ScriptUtils/ESLint/eslint.config.cjs +328 -0
- package/dist/lib/ScriptUtils/ESLint/eslint.config.d.mts +16 -0
- package/dist/lib/ScriptUtils/ESLint/eslint.config.mjs +294 -0
- package/dist/lib/ScriptUtils/ESLint/index.cjs +49 -0
- package/dist/lib/ScriptUtils/ESLint/index.d.cts +2 -0
- package/dist/lib/ScriptUtils/ESLint/index.d.mts +2 -0
- package/dist/lib/ScriptUtils/ESLint/index.mjs +14 -0
- package/dist/lib/ScriptUtils/Exec.cjs +119 -0
- package/dist/lib/ScriptUtils/Exec.d.mts +83 -0
- package/dist/lib/ScriptUtils/Exec.mjs +98 -0
- package/dist/lib/ScriptUtils/Fs.cjs +85 -0
- package/dist/lib/{scripts/Fs.d.ts → ScriptUtils/Fs.d.cts} +1 -1
- package/dist/lib/ScriptUtils/Fs.d.mts +72 -0
- package/dist/lib/ScriptUtils/Fs.mjs +64 -0
- package/dist/lib/ScriptUtils/JSON.cjs +83 -0
- package/dist/lib/{scripts/JSON.d.ts → ScriptUtils/JSON.d.cts} +1 -1
- package/dist/lib/ScriptUtils/JSON.d.mts +64 -0
- package/dist/lib/ScriptUtils/JSON.mjs +60 -0
- package/dist/lib/{scripts → ScriptUtils}/NodeModules.cjs +1 -1
- package/dist/lib/ScriptUtils/NodeModules.d.mts +14 -0
- package/dist/lib/ScriptUtils/NodeModules.mjs +62 -0
- package/dist/lib/ScriptUtils/Npm.cjs +138 -0
- package/dist/lib/{scripts/Npm.d.ts → ScriptUtils/Npm.d.cts} +1 -1
- package/dist/lib/ScriptUtils/Npm.d.mts +151 -0
- package/dist/lib/ScriptUtils/Npm.mjs +106 -0
- package/dist/lib/{scripts → ScriptUtils}/NpmPublish.cjs +1 -1
- package/dist/lib/ScriptUtils/NpmPublish.d.mts +9 -0
- package/dist/lib/ScriptUtils/NpmPublish.mjs +21 -0
- package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.cjs +77 -0
- package/dist/lib/{scripts/ObsidianDevUtilsRepoPaths.d.ts → ScriptUtils/ObsidianDevUtilsRepoPaths.d.cts} +10 -0
- package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.d.mts +88 -0
- package/dist/lib/ScriptUtils/ObsidianDevUtilsRepoPaths.mjs +53 -0
- package/dist/lib/ScriptUtils/Root.cjs +88 -0
- package/dist/lib/{scripts/Root.d.ts → ScriptUtils/Root.d.cts} +1 -1
- package/dist/lib/ScriptUtils/Root.d.mts +67 -0
- package/dist/lib/ScriptUtils/Root.mjs +66 -0
- package/dist/lib/ScriptUtils/build.cjs +82 -0
- package/dist/lib/ScriptUtils/build.d.mts +41 -0
- package/dist/lib/ScriptUtils/build.mjs +60 -0
- package/dist/lib/ScriptUtils/cli.cjs +88 -0
- package/dist/lib/ScriptUtils/cli.d.mts +14 -0
- package/dist/lib/ScriptUtils/cli.mjs +65 -0
- package/dist/lib/ScriptUtils/esbuild/Dependency.cjs +122 -0
- package/dist/lib/ScriptUtils/esbuild/Dependency.d.mts +18 -0
- package/dist/lib/ScriptUtils/esbuild/Dependency.mjs +95 -0
- package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.cjs +178 -0
- package/dist/lib/{scripts/esbuild/ObsidianPluginBuilder.d.ts → ScriptUtils/esbuild/ObsidianPluginBuilder.d.cts} +1 -1
- package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.d.mts +53 -0
- package/dist/lib/ScriptUtils/esbuild/ObsidianPluginBuilder.mjs +149 -0
- package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.cjs +68 -0
- package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.d.mts +12 -0
- package/dist/lib/ScriptUtils/esbuild/changeExtensionPlugin.mjs +44 -0
- package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.cjs +66 -0
- package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.mts +18 -0
- package/dist/lib/ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.mjs +50 -0
- package/dist/lib/{scripts → ScriptUtils}/esbuild/fixEsmPlugin.cjs +1 -1
- package/dist/lib/ScriptUtils/esbuild/fixEsmPlugin.d.mts +11 -0
- package/dist/lib/ScriptUtils/esbuild/fixEsmPlugin.mjs +25 -0
- package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.cjs +75 -0
- package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.d.mts +17 -0
- package/dist/lib/ScriptUtils/esbuild/fixSourceMapsPlugin.mjs +55 -0
- package/dist/lib/ScriptUtils/esbuild/index.cjs +70 -0
- package/dist/lib/ScriptUtils/esbuild/index.d.cts +9 -0
- package/dist/lib/ScriptUtils/esbuild/index.d.mts +9 -0
- package/dist/lib/ScriptUtils/esbuild/index.mjs +28 -0
- package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.cjs +146 -0
- package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.d.mts +23 -0
- package/dist/lib/ScriptUtils/esbuild/preprocessPlugin.mjs +128 -0
- package/dist/lib/{scripts → ScriptUtils}/esbuild/renameCssPlugin.cjs +1 -1
- package/dist/lib/ScriptUtils/esbuild/renameCssPlugin.d.mts +8 -0
- package/dist/lib/ScriptUtils/esbuild/renameCssPlugin.mjs +31 -0
- package/dist/lib/{scripts → ScriptUtils}/esbuild/svelteWrapperPlugin.cjs +1 -1
- package/dist/lib/ScriptUtils/esbuild/svelteWrapperPlugin.d.mts +8 -0
- package/dist/lib/ScriptUtils/esbuild/svelteWrapperPlugin.mjs +41 -0
- package/dist/lib/{scripts → ScriptUtils}/format.cjs +1 -1
- package/dist/lib/ScriptUtils/format.d.mts +10 -0
- package/dist/lib/ScriptUtils/format.mjs +41 -0
- package/dist/lib/ScriptUtils/index.cjs +94 -0
- package/dist/lib/ScriptUtils/index.d.cts +17 -0
- package/dist/lib/ScriptUtils/index.d.mts +17 -0
- package/dist/lib/ScriptUtils/index.mjs +44 -0
- package/dist/lib/{scripts → ScriptUtils}/spellcheck.cjs +1 -1
- package/dist/lib/ScriptUtils/spellcheck.d.mts +14 -0
- package/dist/lib/ScriptUtils/spellcheck.mjs +15 -0
- package/dist/lib/ScriptUtils/version.cjs +389 -0
- package/dist/lib/ScriptUtils/version.d.mts +171 -0
- package/dist/lib/ScriptUtils/version.mjs +365 -0
- package/dist/lib/{String.d.ts → String.d.cts} +1 -1
- package/dist/lib/String.d.mts +138 -0
- package/dist/lib/Transformers/{DateTransformer.d.ts → DateTransformer.d.cts} +1 -1
- package/dist/lib/Transformers/DateTransformer.d.mts +35 -0
- package/dist/lib/Transformers/{DurationTransformer.d.ts → DurationTransformer.d.cts} +1 -1
- package/dist/lib/Transformers/DurationTransformer.d.mts +34 -0
- package/dist/lib/Transformers/{GroupTransformer.d.ts → GroupTransformer.d.cts} +1 -1
- package/dist/lib/Transformers/GroupTransformer.d.mts +65 -0
- package/dist/lib/Transformers/{SkipPrivatePropertyTransformer.d.ts → SkipPrivatePropertyTransformer.d.cts} +1 -1
- package/dist/lib/Transformers/SkipPrivatePropertyTransformer.d.mts +32 -0
- package/dist/lib/Transformers/Transformer.d.mts +67 -0
- package/dist/lib/Transformers/{TypedTransformer.d.ts → TypedTransformer.d.cts} +1 -1
- package/dist/lib/Transformers/TypedTransformer.d.mts +37 -0
- package/dist/lib/Transformers/index.cjs +61 -0
- package/dist/lib/Transformers/index.d.cts +6 -0
- package/dist/lib/Transformers/index.d.mts +6 -0
- package/dist/lib/Transformers/index.mjs +22 -0
- package/dist/lib/{ValueProvider.d.ts → ValueProvider.d.cts} +1 -1
- package/dist/lib/ValueProvider.d.mts +22 -0
- package/dist/lib/codemirror/StateFieldSpec.d.mts +68 -0
- package/dist/lib/codemirror/index.cjs +46 -0
- package/dist/lib/codemirror/index.d.cts +1 -0
- package/dist/lib/codemirror/index.d.mts +1 -0
- package/dist/lib/codemirror/index.mjs +12 -0
- package/dist/lib/index.cjs +13 -1
- package/dist/lib/index.d.cts +20 -0
- package/dist/lib/index.d.mts +20 -0
- package/dist/lib/index.mjs +9 -1
- package/dist/lib/obsidian/@types/Dataview/api/{data-array.d.ts → data-array.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/api/data-array.d.mts +136 -0
- package/dist/lib/obsidian/@types/Dataview/api/{extensions.d.ts → extensions.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/api/extensions.d.mts +15 -0
- package/dist/lib/obsidian/@types/Dataview/api/{inline-api.d.ts → inline-api.d.cts} +9 -9
- package/dist/lib/obsidian/@types/Dataview/api/inline-api.d.mts +186 -0
- package/dist/lib/obsidian/@types/Dataview/api/{plugin-api.d.ts → plugin-api.d.cts} +10 -10
- package/dist/lib/obsidian/@types/Dataview/api/plugin-api.d.mts +209 -0
- package/dist/lib/obsidian/@types/Dataview/api/result.d.mts +38 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/common.d.mts +3 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/{csv.d.ts → csv.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-import/csv.d.mts +3 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/{inline-field.d.ts → inline-field.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-import/inline-field.d.mts +42 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/{markdown-file.d.ts → markdown-file.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/data-import/markdown-file.d.mts +52 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/{persister.d.ts → persister.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-import/persister.d.mts +32 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-entry.d.mts +1 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-impl.d.ts → import-impl.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-impl.d.mts +6 -0
- package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/import-manager.d.mts +37 -0
- package/dist/lib/obsidian/@types/Dataview/data-index/{index.d.ts → index.d.cts} +5 -5
- package/dist/lib/obsidian/@types/Dataview/data-index/index.d.mts +186 -0
- package/dist/lib/obsidian/@types/Dataview/data-index/{resolver.d.ts → resolver.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/data-index/resolver.d.mts +23 -0
- package/dist/lib/obsidian/@types/Dataview/data-index/source.d.mts +71 -0
- package/dist/lib/obsidian/@types/Dataview/data-model/{markdown.d.ts → markdown.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/data-model/markdown.d.mts +115 -0
- package/dist/lib/obsidian/@types/Dataview/data-model/serialized/{markdown.d.ts → markdown.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-model/serialized/markdown.d.mts +106 -0
- package/dist/lib/obsidian/@types/Dataview/data-model/transferable.d.mts +7 -0
- package/dist/lib/obsidian/@types/Dataview/data-model/{value.d.ts → value.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/data-model/value.d.mts +175 -0
- package/dist/lib/obsidian/@types/Dataview/expression/{binaryop.d.ts → binaryop.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/expression/binaryop.d.mts +43 -0
- package/dist/lib/obsidian/@types/Dataview/expression/{context.d.ts → context.d.cts} +6 -6
- package/dist/lib/obsidian/@types/Dataview/expression/context.d.mts +49 -0
- package/dist/lib/obsidian/@types/Dataview/expression/{field.d.ts → field.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/expression/field.d.mts +82 -0
- package/dist/lib/obsidian/@types/Dataview/expression/{functions.d.ts → functions.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/expression/functions.d.mts +149 -0
- package/dist/lib/obsidian/@types/Dataview/expression/{parse.d.ts → parse.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/expression/parse.d.mts +163 -0
- package/dist/lib/obsidian/@types/Dataview/{index.d.ts → index.d.cts} +11 -11
- package/dist/lib/obsidian/@types/Dataview/index.d.mts +55 -0
- package/dist/lib/obsidian/@types/Dataview/{main.d.ts → main.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/main.d.mts +52 -0
- package/dist/lib/obsidian/@types/Dataview/query/{engine.d.ts → engine.d.cts} +9 -9
- package/dist/lib/obsidian/@types/Dataview/query/engine.d.mts +103 -0
- package/dist/lib/obsidian/@types/Dataview/query/{parse.d.ts → parse.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/query/parse.d.mts +44 -0
- package/dist/lib/obsidian/@types/Dataview/query/{query.d.ts → query.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/query/query.d.mts +95 -0
- package/dist/lib/obsidian/@types/Dataview/settings.d.mts +60 -0
- package/dist/lib/obsidian/@types/Dataview/typings/{obsidian-ex.d.ts → obsidian-ex.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/typings/obsidian-ex.d.mts +28 -0
- package/dist/lib/obsidian/@types/Dataview/typings/workers.d.mts +4 -0
- package/dist/lib/obsidian/@types/Dataview/ui/export/{markdown.d.ts → markdown.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/ui/export/markdown.d.mts +15 -0
- package/dist/lib/obsidian/@types/Dataview/ui/{lp-render.d.ts → lp-render.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/ui/lp-render.d.mts +37 -0
- package/dist/lib/obsidian/@types/Dataview/ui/{markdown.d.ts → markdown.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/ui/markdown.d.mts +86 -0
- package/dist/lib/obsidian/@types/Dataview/ui/{refreshable-view.d.ts → refreshable-view.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/ui/refreshable-view.d.mts +18 -0
- package/dist/lib/obsidian/@types/Dataview/ui/{render.d.ts → render.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/ui/render.d.mts +33 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{calendar-view.d.ts → calendar-view.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/ui/views/calendar-view.d.mts +17 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{inline-field-live-preview.d.ts → inline-field-live-preview.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/ui/views/inline-field-live-preview.d.mts +42 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{inline-view.d.ts → inline-view.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/ui/views/inline-view.d.mts +28 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{js-view.d.ts → js-view.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/ui/views/js-view.d.mts +23 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{list-view.d.ts → list-view.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/ui/views/list-view.d.mts +25 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{table-view.d.ts → table-view.d.cts} +3 -3
- package/dist/lib/obsidian/@types/Dataview/ui/views/table-view.d.mts +28 -0
- package/dist/lib/obsidian/@types/Dataview/ui/views/{task-view.d.ts → task-view.d.cts} +4 -4
- package/dist/lib/obsidian/@types/Dataview/ui/views/task-view.d.mts +51 -0
- package/dist/lib/obsidian/@types/Dataview/util/hash.d.mts +1 -0
- package/dist/lib/obsidian/@types/Dataview/util/locale.d.mts +2 -0
- package/dist/lib/obsidian/@types/Dataview/util/{media.d.ts → media.d.cts} +1 -1
- package/dist/lib/obsidian/@types/Dataview/util/media.d.mts +6 -0
- package/dist/lib/obsidian/@types/Dataview/util/{normalize.d.ts → normalize.d.cts} +2 -2
- package/dist/lib/obsidian/@types/Dataview/util/normalize.d.mts +44 -0
- package/dist/lib/obsidian/App.d.mts +30 -0
- package/dist/lib/obsidian/{AttachmentPath.d.ts → AttachmentPath.d.cts} +1 -1
- package/dist/lib/obsidian/AttachmentPath.d.mts +54 -0
- package/dist/lib/obsidian/{Backlink.d.ts → Backlink.d.cts} +2 -2
- package/dist/lib/obsidian/Backlink.d.mts +60 -0
- package/dist/lib/obsidian/{Callout.d.ts → Callout.d.cts} +2 -2
- package/dist/lib/obsidian/Callout.d.mts +55 -0
- package/dist/lib/obsidian/Components/{DateComponent.d.ts → DateComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/DateComponent.d.mts +36 -0
- package/dist/lib/obsidian/Components/{DateTimeComponent.d.ts → DateTimeComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/DateTimeComponent.d.mts +36 -0
- package/dist/lib/obsidian/Components/{EmailComponent.d.ts → EmailComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/EmailComponent.d.mts +29 -0
- package/dist/lib/obsidian/Components/{FileComponent.d.ts → FileComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/FileComponent.d.mts +41 -0
- package/dist/lib/obsidian/Components/{MonthComponent.d.ts → MonthComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/MonthComponent.d.mts +49 -0
- package/dist/lib/obsidian/Components/MultipleDropdownComponent.cjs +12 -1
- package/dist/lib/obsidian/Components/{MultipleDropdownComponent.d.ts → MultipleDropdownComponent.d.cts} +11 -4
- package/dist/lib/obsidian/Components/MultipleDropdownComponent.d.mts +73 -0
- package/dist/lib/obsidian/Components/MultipleDropdownComponent.mjs +12 -1
- package/dist/lib/obsidian/Components/{MultipleEmailComponent.d.ts → MultipleEmailComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/MultipleEmailComponent.d.mts +36 -0
- package/dist/lib/obsidian/Components/{MultipleFileComponent.d.ts → MultipleFileComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/MultipleFileComponent.d.mts +41 -0
- package/dist/lib/obsidian/Components/MultipleTextComponent.cjs +22 -1
- package/dist/lib/obsidian/Components/{MultipleTextComponent.d.ts → MultipleTextComponent.d.cts} +18 -4
- package/dist/lib/obsidian/Components/MultipleTextComponent.d.mts +67 -0
- package/dist/lib/obsidian/Components/MultipleTextComponent.mjs +22 -1
- package/dist/lib/obsidian/Components/{NumberComponent.d.ts → NumberComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/NumberComponent.d.mts +29 -0
- package/dist/lib/obsidian/Components/{TimeComponent.d.ts → TimeComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/TimeComponent.d.mts +37 -0
- package/dist/lib/obsidian/Components/{TypedRangeTextComponent.d.ts → TypedRangeTextComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/TypedRangeTextComponent.d.mts +31 -0
- package/dist/lib/obsidian/Components/TypedTextComponent.cjs +2 -1
- package/dist/lib/obsidian/Components/{TypedTextComponent.d.ts → TypedTextComponent.d.cts} +5 -5
- package/dist/lib/obsidian/Components/TypedTextComponent.d.mts +84 -0
- package/dist/lib/obsidian/Components/TypedTextComponent.mjs +2 -1
- package/dist/lib/obsidian/Components/{UrlComponent.d.ts → UrlComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/UrlComponent.d.mts +29 -0
- package/dist/lib/obsidian/Components/{ValidatorComponent.d.ts → ValidatorComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/ValidatorComponent.d.mts +22 -0
- package/dist/lib/obsidian/Components/{ValueComponentWithChangeTracking.d.ts → ValueComponentWithChangeTracking.d.cts} +1 -1
- package/dist/lib/obsidian/Components/ValueComponentWithChangeTracking.d.mts +17 -0
- package/dist/lib/obsidian/Components/{WeekComponent.d.ts → WeekComponent.d.cts} +1 -1
- package/dist/lib/obsidian/Components/WeekComponent.d.mts +49 -0
- package/dist/lib/obsidian/Components/index.cjs +94 -0
- package/dist/lib/obsidian/Components/index.d.cts +17 -0
- package/dist/lib/obsidian/Components/index.d.mts +17 -0
- package/dist/lib/obsidian/Components/index.mjs +44 -0
- package/dist/lib/obsidian/{Dataview.d.ts → Dataview.d.cts} +6 -6
- package/dist/lib/obsidian/Dataview.d.mts +215 -0
- package/dist/lib/obsidian/{DataviewLink.d.ts → DataviewLink.d.cts} +2 -2
- package/dist/lib/obsidian/DataviewLink.d.mts +23 -0
- package/dist/lib/obsidian/{FileChange.d.ts → FileChange.d.cts} +3 -3
- package/dist/lib/obsidian/FileChange.d.mts +68 -0
- package/dist/lib/obsidian/{FileManager.d.ts → FileManager.d.cts} +4 -4
- package/dist/lib/obsidian/FileManager.d.mts +38 -0
- package/dist/lib/obsidian/FileSystem.d.mts +185 -0
- package/dist/lib/obsidian/Frontmatter.d.mts +69 -0
- package/dist/lib/obsidian/{Link.d.ts → Link.d.cts} +3 -3
- package/dist/lib/obsidian/Link.d.mts +366 -0
- package/dist/lib/obsidian/{Logger.d.ts → Logger.d.cts} +1 -1
- package/dist/lib/obsidian/Logger.d.mts +13 -0
- package/dist/lib/obsidian/{Loop.d.ts → Loop.d.cts} +1 -1
- package/dist/lib/obsidian/Loop.d.mts +36 -0
- package/dist/lib/obsidian/Markdown.d.mts +24 -0
- package/dist/lib/obsidian/{MarkdownCodeBlockProcessor.d.ts → MarkdownCodeBlockProcessor.d.cts} +1 -1
- package/dist/lib/obsidian/MarkdownCodeBlockProcessor.d.mts +23 -0
- package/dist/lib/obsidian/MarkdownView.d.mts +12 -0
- package/dist/lib/obsidian/{MetadataCache.d.ts → MetadataCache.d.cts} +3 -3
- package/dist/lib/obsidian/MetadataCache.d.mts +87 -0
- package/dist/lib/obsidian/Modals/Alert.d.mts +39 -0
- package/dist/lib/obsidian/Modals/Confirm.d.mts +43 -0
- package/dist/lib/obsidian/Modals/{ModalBase.d.ts → ModalBase.d.cts} +1 -1
- package/dist/lib/obsidian/Modals/ModalBase.d.mts +35 -0
- package/dist/lib/obsidian/Modals/Prompt.cjs +2 -2
- package/dist/lib/obsidian/Modals/{Prompt.d.ts → Prompt.d.cts} +1 -1
- package/dist/lib/obsidian/Modals/Prompt.d.mts +50 -0
- package/dist/lib/obsidian/Modals/Prompt.mjs +2 -2
- package/dist/lib/obsidian/Modals/SelectItem.d.mts +41 -0
- package/dist/lib/obsidian/Modals/index.cjs +58 -0
- package/dist/lib/obsidian/Modals/index.d.cts +5 -0
- package/dist/lib/obsidian/Modals/index.d.mts +5 -0
- package/dist/lib/obsidian/Modals/index.mjs +20 -0
- package/dist/lib/obsidian/ObsidianSettings.d.mts +17 -0
- package/dist/lib/obsidian/Pdf.d.mts +24 -0
- package/dist/lib/obsidian/Plugin/{EmptySettings.d.ts → EmptySettings.d.cts} +1 -1
- package/dist/lib/obsidian/Plugin/EmptySettings.d.mts +14 -0
- package/dist/lib/obsidian/Plugin/ObsidianPluginRepoPaths.d.mts +55 -0
- package/dist/lib/obsidian/Plugin/Plugin.d.mts +21 -0
- package/dist/lib/obsidian/Plugin/{PluginBase.d.ts → PluginBase.d.cts} +3 -3
- package/dist/lib/obsidian/Plugin/PluginBase.d.mts +108 -0
- package/dist/lib/obsidian/Plugin/PluginContext.d.mts +12 -0
- package/dist/lib/obsidian/Plugin/PluginId.d.mts +20 -0
- package/dist/lib/obsidian/Plugin/{PluginSettingsBase.d.ts → PluginSettingsBase.d.cts} +1 -1
- package/dist/lib/obsidian/Plugin/PluginSettingsBase.d.mts +31 -0
- package/dist/lib/obsidian/Plugin/{PluginSettingsTabBase.d.ts → PluginSettingsTabBase.d.cts} +5 -5
- package/dist/lib/obsidian/Plugin/PluginSettingsTabBase.d.mts +99 -0
- package/dist/lib/obsidian/Plugin/index.cjs +67 -0
- package/dist/lib/obsidian/Plugin/index.d.cts +8 -0
- package/dist/lib/obsidian/Plugin/index.d.mts +8 -0
- package/dist/lib/obsidian/Plugin/index.mjs +26 -0
- package/dist/lib/obsidian/{Queue.d.ts → Queue.d.cts} +1 -1
- package/dist/lib/obsidian/Queue.d.mts +30 -0
- package/dist/lib/obsidian/{Reference.d.ts → Reference.d.cts} +1 -1
- package/dist/lib/obsidian/Reference.d.mts +21 -0
- package/dist/lib/obsidian/RenameDeleteHandler.d.mts +49 -0
- package/dist/lib/obsidian/ResourceUrl.d.mts +14 -0
- package/dist/lib/obsidian/{SettingEx.d.ts → SettingEx.d.cts} +13 -13
- package/dist/lib/obsidian/SettingEx.d.mts +124 -0
- package/dist/lib/obsidian/{Vault.d.ts → Vault.d.cts} +3 -3
- package/dist/lib/obsidian/Vault.d.mts +130 -0
- package/dist/lib/obsidian/{VaultEx.d.ts → VaultEx.d.cts} +1 -1
- package/dist/lib/obsidian/VaultEx.d.mts +27 -0
- package/dist/lib/obsidian/index.cjs +130 -0
- package/dist/lib/obsidian/index.d.cts +29 -0
- package/dist/lib/obsidian/index.d.mts +29 -0
- package/dist/lib/obsidian/index.mjs +68 -0
- package/dist/lib/url.d.mts +11 -0
- package/index/package.json +6 -0
- package/obsidian/@types/Dataview/api/data-array/package.json +4 -0
- package/obsidian/@types/Dataview/api/extensions/package.json +4 -0
- package/obsidian/@types/Dataview/api/inline-api/package.json +4 -0
- package/obsidian/@types/Dataview/api/plugin-api/package.json +4 -0
- package/obsidian/@types/Dataview/api/result/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/common/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/csv/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/inline-field/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/markdown-file/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/persister/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/web-worker/import-entry/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/web-worker/import-impl/package.json +4 -0
- package/obsidian/@types/Dataview/data-import/web-worker/import-manager/package.json +4 -0
- package/obsidian/@types/Dataview/data-index/index/package.json +4 -0
- package/obsidian/@types/Dataview/data-index/package.json +4 -0
- package/obsidian/@types/Dataview/data-index/resolver/package.json +4 -0
- package/obsidian/@types/Dataview/data-index/source/package.json +4 -0
- package/obsidian/@types/Dataview/data-model/markdown/package.json +4 -0
- package/obsidian/@types/Dataview/data-model/serialized/markdown/package.json +4 -0
- package/obsidian/@types/Dataview/data-model/transferable/package.json +4 -0
- package/obsidian/@types/Dataview/data-model/value/package.json +4 -0
- package/obsidian/@types/Dataview/expression/binaryop/package.json +4 -0
- package/obsidian/@types/Dataview/expression/context/package.json +4 -0
- package/obsidian/@types/Dataview/expression/field/package.json +4 -0
- package/obsidian/@types/Dataview/expression/functions/package.json +4 -0
- package/obsidian/@types/Dataview/expression/parse/package.json +4 -0
- package/obsidian/@types/Dataview/index/package.json +4 -0
- package/obsidian/@types/Dataview/main/package.json +4 -0
- package/obsidian/@types/Dataview/package.json +4 -0
- package/obsidian/@types/Dataview/query/engine/package.json +4 -0
- package/obsidian/@types/Dataview/query/parse/package.json +4 -0
- package/obsidian/@types/Dataview/query/query/package.json +4 -0
- package/obsidian/@types/Dataview/settings/package.json +4 -0
- package/obsidian/@types/Dataview/typings/obsidian-ex/package.json +4 -0
- package/obsidian/@types/Dataview/typings/workers/package.json +4 -0
- package/obsidian/@types/Dataview/ui/export/markdown/package.json +4 -0
- package/obsidian/@types/Dataview/ui/lp-render/package.json +4 -0
- package/obsidian/@types/Dataview/ui/markdown/package.json +4 -0
- package/obsidian/@types/Dataview/ui/refreshable-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/render/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/calendar-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/inline-field-live-preview/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/inline-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/js-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/list-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/table-view/package.json +4 -0
- package/obsidian/@types/Dataview/ui/views/task-view/package.json +4 -0
- package/obsidian/@types/Dataview/util/hash/package.json +4 -0
- package/obsidian/@types/Dataview/util/locale/package.json +4 -0
- package/obsidian/@types/Dataview/util/media/package.json +4 -0
- package/obsidian/@types/Dataview/util/normalize/package.json +4 -0
- package/obsidian/App/package.json +6 -0
- package/obsidian/AttachmentPath/package.json +6 -0
- package/obsidian/Backlink/package.json +6 -0
- package/obsidian/Callout/package.json +6 -0
- package/obsidian/Components/DateComponent/package.json +6 -0
- package/obsidian/Components/DateTimeComponent/package.json +6 -0
- package/obsidian/Components/EmailComponent/package.json +6 -0
- package/obsidian/Components/FileComponent/package.json +6 -0
- package/obsidian/Components/MonthComponent/package.json +6 -0
- package/obsidian/Components/MultipleDropdownComponent/package.json +6 -0
- package/obsidian/Components/MultipleEmailComponent/package.json +6 -0
- package/obsidian/Components/MultipleFileComponent/package.json +6 -0
- package/obsidian/Components/MultipleTextComponent/package.json +6 -0
- package/obsidian/Components/NumberComponent/package.json +6 -0
- package/obsidian/Components/TimeComponent/package.json +6 -0
- package/obsidian/Components/TypedRangeTextComponent/package.json +6 -0
- package/obsidian/Components/TypedTextComponent/package.json +6 -0
- package/obsidian/Components/UrlComponent/package.json +6 -0
- package/obsidian/Components/ValidatorComponent/package.json +6 -0
- package/obsidian/Components/ValueComponentWithChangeTracking/package.json +6 -0
- package/obsidian/Components/WeekComponent/package.json +6 -0
- package/obsidian/Components/index/package.json +6 -0
- package/obsidian/Components/package.json +6 -0
- package/obsidian/Dataview/package.json +6 -0
- package/obsidian/DataviewLink/package.json +6 -0
- package/obsidian/FileChange/package.json +6 -0
- package/obsidian/FileManager/package.json +6 -0
- package/obsidian/FileSystem/package.json +6 -0
- package/obsidian/Frontmatter/package.json +6 -0
- package/obsidian/Link/package.json +6 -0
- package/obsidian/Logger/package.json +6 -0
- package/obsidian/Loop/package.json +6 -0
- package/obsidian/Markdown/package.json +6 -0
- package/obsidian/MarkdownCodeBlockProcessor/package.json +6 -0
- package/obsidian/MarkdownView/package.json +6 -0
- package/obsidian/MetadataCache/package.json +6 -0
- package/obsidian/Modals/Alert/package.json +6 -0
- package/obsidian/Modals/Confirm/package.json +6 -0
- package/obsidian/Modals/ModalBase/package.json +6 -0
- package/obsidian/Modals/Prompt/package.json +6 -0
- package/obsidian/Modals/SelectItem/package.json +6 -0
- package/obsidian/Modals/index/package.json +6 -0
- package/obsidian/Modals/package.json +6 -0
- package/obsidian/ObsidianSettings/package.json +6 -0
- package/obsidian/Pdf/package.json +6 -0
- package/obsidian/Plugin/EmptySettings/package.json +6 -0
- package/obsidian/Plugin/ObsidianPluginRepoPaths/package.json +6 -0
- package/obsidian/Plugin/Plugin/package.json +6 -0
- package/obsidian/Plugin/PluginBase/package.json +6 -0
- package/obsidian/Plugin/PluginContext/package.json +6 -0
- package/obsidian/Plugin/PluginId/package.json +6 -0
- package/obsidian/Plugin/PluginSettingsBase/package.json +6 -0
- package/obsidian/Plugin/PluginSettingsTabBase/package.json +6 -0
- package/obsidian/Plugin/index/package.json +6 -0
- package/obsidian/Plugin/package.json +6 -0
- package/obsidian/Queue/package.json +6 -0
- package/obsidian/Reference/package.json +6 -0
- package/obsidian/RenameDeleteHandler/package.json +6 -0
- package/obsidian/ResourceUrl/package.json +6 -0
- package/obsidian/SettingEx/package.json +6 -0
- package/obsidian/Vault/package.json +6 -0
- package/obsidian/VaultEx/package.json +6 -0
- package/obsidian/index/package.json +6 -0
- package/obsidian/package.json +6 -0
- package/package.json +186 -315
- package/url/package.json +6 -0
- package/dist/lib/index.d.ts +0 -16
- package/dist/lib/scripts/CliUtils.cjs +0 -161
- package/dist/lib/scripts/CliUtils.mjs +0 -135
- package/dist/lib/scripts/CodeGenerator.mjs +0 -19
- package/dist/lib/scripts/ESLint/ESLint.mjs +0 -28
- package/dist/lib/scripts/ESLint/eslint.config.cjs +0 -328
- package/dist/lib/scripts/ESLint/eslint.config.mjs +0 -294
- package/dist/lib/scripts/Exec.cjs +0 -119
- package/dist/lib/scripts/Exec.mjs +0 -98
- package/dist/lib/scripts/Fs.cjs +0 -85
- package/dist/lib/scripts/Fs.mjs +0 -64
- package/dist/lib/scripts/JSON.cjs +0 -83
- package/dist/lib/scripts/JSON.mjs +0 -60
- package/dist/lib/scripts/NodeModules.mjs +0 -62
- package/dist/lib/scripts/Npm.cjs +0 -138
- package/dist/lib/scripts/Npm.mjs +0 -106
- package/dist/lib/scripts/NpmPublish.mjs +0 -21
- package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.cjs +0 -72
- package/dist/lib/scripts/ObsidianDevUtilsRepoPaths.mjs +0 -48
- package/dist/lib/scripts/Root.cjs +0 -88
- package/dist/lib/scripts/Root.mjs +0 -66
- package/dist/lib/scripts/build.cjs +0 -82
- package/dist/lib/scripts/build.mjs +0 -60
- package/dist/lib/scripts/cli.cjs +0 -88
- package/dist/lib/scripts/cli.mjs +0 -65
- package/dist/lib/scripts/esbuild/Dependency.cjs +0 -122
- package/dist/lib/scripts/esbuild/Dependency.mjs +0 -95
- package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.cjs +0 -178
- package/dist/lib/scripts/esbuild/ObsidianPluginBuilder.mjs +0 -149
- package/dist/lib/scripts/esbuild/changeExtensionPlugin.cjs +0 -67
- package/dist/lib/scripts/esbuild/changeExtensionPlugin.mjs +0 -43
- package/dist/lib/scripts/esbuild/copyToObsidianPluginsFolderPlugin.cjs +0 -66
- package/dist/lib/scripts/esbuild/copyToObsidianPluginsFolderPlugin.mjs +0 -50
- package/dist/lib/scripts/esbuild/fixEsmPlugin.mjs +0 -25
- package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.cjs +0 -75
- package/dist/lib/scripts/esbuild/fixSourceMapsPlugin.mjs +0 -55
- package/dist/lib/scripts/esbuild/preprocessPlugin.cjs +0 -146
- package/dist/lib/scripts/esbuild/preprocessPlugin.mjs +0 -128
- package/dist/lib/scripts/esbuild/renameCssPlugin.mjs +0 -31
- package/dist/lib/scripts/esbuild/svelteWrapperPlugin.mjs +0 -41
- package/dist/lib/scripts/format.mjs +0 -41
- package/dist/lib/scripts/spellcheck.mjs +0 -15
- package/dist/lib/scripts/version.cjs +0 -389
- package/dist/lib/scripts/version.mjs +0 -365
- /package/dist/lib/@types/{debug.d.ts → debug.d.cts} +0 -0
- /package/dist/lib/{Async.d.ts → Async.d.cts} +0 -0
- /package/dist/lib/{Blob.d.ts → Blob.d.cts} +0 -0
- /package/dist/lib/{CssClass.d.ts → CssClass.d.cts} +0 -0
- /package/dist/lib/{DebugController.d.ts → DebugController.d.cts} +0 -0
- /package/dist/lib/{Enum.d.ts → Enum.d.cts} +0 -0
- /package/dist/lib/{Error.d.ts → Error.d.cts} +0 -0
- /package/dist/lib/{Function.d.ts → Function.d.cts} +0 -0
- /package/dist/lib/{HTMLElement.d.ts → HTMLElement.d.cts} +0 -0
- /package/dist/lib/{Library.d.ts → Library.d.cts} +0 -0
- /package/dist/lib/{Object.d.ts → Object.d.cts} +0 -0
- /package/dist/lib/{Path.d.ts → Path.d.cts} +0 -0
- /package/dist/lib/{RegExp.d.ts → RegExp.d.cts} +0 -0
- /package/dist/lib/{scripts/CodeGenerator.d.ts → ScriptUtils/CodeGenerator.d.cts} +0 -0
- /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
- /package/dist/lib/{scripts/ESLint/@types/eslint-plugin-modules-newlines.d.ts → ScriptUtils/ESLint/@types/eslint-plugin-modules-newlines.d.cts} +0 -0
- /package/dist/lib/{scripts/ESLint/@types/eslint-plugin-verify-tsdoc.d.ts → ScriptUtils/ESLint/@types/eslint-plugin-verify-tsdoc.d.cts} +0 -0
- /package/dist/lib/{scripts/ESLint/ESLint.d.ts → ScriptUtils/ESLint/ESLint.d.cts} +0 -0
- /package/dist/lib/{scripts/ESLint/eslint.config.d.ts → ScriptUtils/ESLint/eslint.config.d.cts} +0 -0
- /package/dist/lib/{scripts/Exec.d.ts → ScriptUtils/Exec.d.cts} +0 -0
- /package/dist/lib/{scripts/NodeModules.d.ts → ScriptUtils/NodeModules.d.cts} +0 -0
- /package/dist/lib/{scripts/NpmPublish.d.ts → ScriptUtils/NpmPublish.d.cts} +0 -0
- /package/dist/lib/{scripts/build.d.ts → ScriptUtils/build.d.cts} +0 -0
- /package/dist/lib/{scripts/cli.d.ts → ScriptUtils/cli.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/Dependency.d.ts → ScriptUtils/esbuild/Dependency.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/changeExtensionPlugin.d.ts → ScriptUtils/esbuild/changeExtensionPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/copyToObsidianPluginsFolderPlugin.d.ts → ScriptUtils/esbuild/copyToObsidianPluginsFolderPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/fixEsmPlugin.d.ts → ScriptUtils/esbuild/fixEsmPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/fixSourceMapsPlugin.d.ts → ScriptUtils/esbuild/fixSourceMapsPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/preprocessPlugin.d.ts → ScriptUtils/esbuild/preprocessPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/renameCssPlugin.d.ts → ScriptUtils/esbuild/renameCssPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/esbuild/svelteWrapperPlugin.d.ts → ScriptUtils/esbuild/svelteWrapperPlugin.d.cts} +0 -0
- /package/dist/lib/{scripts/format.d.ts → ScriptUtils/format.d.cts} +0 -0
- /package/dist/lib/{scripts/spellcheck.d.ts → ScriptUtils/spellcheck.d.cts} +0 -0
- /package/dist/lib/{scripts/version.d.ts → ScriptUtils/version.d.cts} +0 -0
- /package/dist/lib/Transformers/{Transformer.d.ts → Transformer.d.cts} +0 -0
- /package/dist/lib/codemirror/{StateFieldSpec.d.ts → StateFieldSpec.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/api/{result.d.ts → result.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/data-import/{common.d.ts → common.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-entry.d.ts → import-entry.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/data-import/web-worker/{import-manager.d.ts → import-manager.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/data-index/{source.d.ts → source.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/data-model/{transferable.d.ts → transferable.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/{settings.d.ts → settings.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/typings/{workers.d.ts → workers.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/util/{hash.d.ts → hash.d.cts} +0 -0
- /package/dist/lib/obsidian/@types/Dataview/util/{locale.d.ts → locale.d.cts} +0 -0
- /package/dist/lib/obsidian/{App.d.ts → App.d.cts} +0 -0
- /package/dist/lib/obsidian/{FileSystem.d.ts → FileSystem.d.cts} +0 -0
- /package/dist/lib/obsidian/{Frontmatter.d.ts → Frontmatter.d.cts} +0 -0
- /package/dist/lib/obsidian/{Markdown.d.ts → Markdown.d.cts} +0 -0
- /package/dist/lib/obsidian/{MarkdownView.d.ts → MarkdownView.d.cts} +0 -0
- /package/dist/lib/obsidian/Modals/{Alert.d.ts → Alert.d.cts} +0 -0
- /package/dist/lib/obsidian/Modals/{Confirm.d.ts → Confirm.d.cts} +0 -0
- /package/dist/lib/obsidian/Modals/{SelectItem.d.ts → SelectItem.d.cts} +0 -0
- /package/dist/lib/obsidian/{ObsidianSettings.d.ts → ObsidianSettings.d.cts} +0 -0
- /package/dist/lib/obsidian/{Pdf.d.ts → Pdf.d.cts} +0 -0
- /package/dist/lib/obsidian/Plugin/{ObsidianPluginRepoPaths.d.ts → ObsidianPluginRepoPaths.d.cts} +0 -0
- /package/dist/lib/obsidian/Plugin/{Plugin.d.ts → Plugin.d.cts} +0 -0
- /package/dist/lib/obsidian/Plugin/{PluginContext.d.ts → PluginContext.d.cts} +0 -0
- /package/dist/lib/obsidian/Plugin/{PluginId.d.ts → PluginId.d.cts} +0 -0
- /package/dist/lib/obsidian/{RenameDeleteHandler.d.ts → RenameDeleteHandler.d.cts} +0 -0
- /package/dist/lib/obsidian/{ResourceUrl.d.ts → ResourceUrl.d.cts} +0 -0
- /package/dist/lib/{url.d.ts → url.d.cts} +0 -0
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation NumberComponent
|
3
|
+
* Contains a component that displays and edits a number.
|
4
|
+
*/
|
5
|
+
import { TypedRangeTextComponent } from './TypedRangeTextComponent.mjs';
|
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
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Contains a component that displays and edits a time.
|
4
4
|
*/
|
5
5
|
import type { Duration } from 'moment';
|
6
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.
|
6
|
+
import { TypedRangeTextComponent } from './TypedRangeTextComponent.cjs';
|
7
7
|
/**
|
8
8
|
* A component that displays and edits a time.
|
9
9
|
*
|
@@ -0,0 +1,37 @@
|
|
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.mjs';
|
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
|
+
}
|
package/dist/lib/obsidian/Components/{TypedRangeTextComponent.d.ts → TypedRangeTextComponent.d.cts}
RENAMED
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation TypedRangeTextComponent
|
3
3
|
* Contains a component that displays and edits a text-based value with a range.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.
|
5
|
+
import { TypedTextComponent } from './TypedTextComponent.cjs';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a text-based value with a range.
|
8
8
|
*/
|
@@ -0,0 +1,31 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation TypedRangeTextComponent
|
3
|
+
* Contains a component that displays and edits a text-based value with a range.
|
4
|
+
*/
|
5
|
+
import { TypedTextComponent } from './TypedTextComponent.mjs';
|
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
|
+
}
|
@@ -89,6 +89,7 @@ class TypedTextComponent extends import_obsidian.ValueComponent {
|
|
89
89
|
*/
|
90
90
|
setDisabled(disabled) {
|
91
91
|
this.textComponent.setDisabled(disabled);
|
92
|
+
this.disabled = disabled;
|
92
93
|
return this;
|
93
94
|
}
|
94
95
|
/**
|
@@ -125,4 +126,4 @@ class TypedTextComponent extends import_obsidian.ValueComponent {
|
|
125
126
|
0 && (module.exports = {
|
126
127
|
TypedTextComponent
|
127
128
|
});
|
128
|
-
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL0NvbXBvbmVudHMvVHlwZWRUZXh0Q29tcG9uZW50LnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIvKipcbiAqIEBwYWNrYWdlRG9jdW1lbnRhdGlvbiBUeXBlZFRleHRDb21wb25lbnRcbiAqIENvbnRhaW5zIGEgY29tcG9uZW50IHRoYXQgZGlzcGxheXMgYW5kIGVkaXRzIGEgdGV4dC1iYXNlZCB2YWx1ZS5cbiAqL1xuXG5pbXBvcnQge1xuICBUZXh0Q29tcG9uZW50LFxuICBWYWx1ZUNvbXBvbmVudFxufSBmcm9tICdvYnNpZGlhbic7XG5cbmltcG9ydCB0eXBlIHsgTWF5YmVQcm9taXNlIH0gZnJvbSAnLi4vLi4vQXN5bmMudHMnO1xuaW1wb3J0IHR5cGUgeyBWYWxpZGF0b3JFbGVtZW50IH0gZnJvbSAnLi4vLi4vSFRNTEVsZW1lbnQudHMnO1xuaW1wb3J0IHR5cGUgeyBWYWxpZGF0b3JDb21wb25lbnQgfSBmcm9tICcuL1ZhbGlkYXRvckNvbXBvbmVudC50cyc7XG5pbXBvcnQgdHlwZSB7IFZhbHVlQ29tcG9uZW50V2l0aENoYW5nZVRyYWNraW5nIH0gZnJvbSAnLi9WYWx1ZUNvbXBvbmVudFdpdGhDaGFuZ2VUcmFja2luZy50cyc7XG5cbmltcG9ydCB7IENzc0NsYXNzIH0gZnJvbSAnLi4vLi4vQ3NzQ2xhc3MudHMnO1xuaW1wb3J0IHsgZ2V0UGx1Z2luSWQgfSBmcm9tICcuLi9QbHVnaW4vUGx1Z2luSWQudHMnO1xuXG4vKipcbiAqIEEgY29tcG9uZW50IHRoYXQgZGlzc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|
6
|
-
import type { MaybePromise } from '../../Async.
|
7
|
-
import type { ValidatorElement } from '../../HTMLElement.
|
8
|
-
import type { ValidatorComponent } from './ValidatorComponent.
|
9
|
-
import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.
|
10
|
-
import { CssClass } from '../../CssClass.
|
6
|
+
import type { MaybePromise } from '../../Async.cjs';
|
7
|
+
import type { ValidatorElement } from '../../HTMLElement.cjs';
|
8
|
+
import type { ValidatorComponent } from './ValidatorComponent.cjs';
|
9
|
+
import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.cjs';
|
10
|
+
import { CssClass } from '../../CssClass.cjs';
|
11
11
|
/**
|
12
12
|
* A component that displays and edits a text-based value.
|
13
13
|
*/
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation TypedTextComponent
|
3
|
+
* Contains a component that displays and edits a text-based value.
|
4
|
+
*/
|
5
|
+
import { ValueComponent } from 'obsidian';
|
6
|
+
import type { MaybePromise } from '../../Async.mjs';
|
7
|
+
import type { ValidatorElement } from '../../HTMLElement.mjs';
|
8
|
+
import type { ValidatorComponent } from './ValidatorComponent.mjs';
|
9
|
+
import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.mjs';
|
10
|
+
import { CssClass } from '../../CssClass.mjs';
|
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
|
+
}
|
@@ -69,6 +69,7 @@ class TypedTextComponent extends ValueComponent {
|
|
69
69
|
*/
|
70
70
|
setDisabled(disabled) {
|
71
71
|
this.textComponent.setDisabled(disabled);
|
72
|
+
this.disabled = disabled;
|
72
73
|
return this;
|
73
74
|
}
|
74
75
|
/**
|
@@ -104,4 +105,4 @@ class TypedTextComponent extends ValueComponent {
|
|
104
105
|
export {
|
105
106
|
TypedTextComponent
|
106
107
|
};
|
107
|
-
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL0NvbXBvbmVudHMvVHlwZWRUZXh0Q29tcG9uZW50LnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIvKipcbiAqIEBwYWNrYWdlRG9jdW1lbnRhdGlvbiBUeXBlZFRleHRDb21wb25lbnRcbiAqIENvbnRhaW5zIGEgY29tcG9uZW50IHRoYXQgZGlzcGxheXMgYW5kIGVkaXRzIGEgdGV4dC1iYXNlZCB2YWx1ZS5cbiAqL1xuXG5pbXBvcnQge1xuICBUZXh0Q29tcG9uZW50LFxuICBWYWx1ZUNvbXBvbmVudFxufSBmcm9tICdvYnNpZGlhbic7XG5cbmltcG9ydCB0eXBlIHsgTWF5YmVQcm9taXNlIH0gZnJvbSAnLi4vLi4vQXN5bmMudHMnO1xuaW1wb3J0IHR5cGUgeyBWYWxpZGF0b3JFbGVtZW50IH0gZnJvbSAnLi4vLi4vSFRNTEVsZW1lbnQudHMnO1xuaW1wb3J0IHR5cGUgeyBWYWxpZGF0b3JDb21wb25lbnQgfSBmcm9tICcuL1ZhbGlkYXRvckNvbXBvbmVudC50cyc7XG5pbXBvcnQgdHlwZSB7IFZhbHVlQ29tcG9uZW50V2l0aENoYW5nZVRyYWNraW5nIH0gZnJvbSAnLi9WYWx1ZUNvbXBvbmVudFdpdGhDaGFuZ2VUcmFja2luZy50cyc7XG5cbmltcG9ydCB7IENzc0NsYXNzIH0gZnJvbSAnLi4vLi4vQ3NzQ2xhc3MudHMnO1xuaW1wb3J0IHsgZ2V0UGx1Z2luSWQgfSBmcm9tICcuLi9QbHVna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3
|
* Contains a component that displays and edits an url.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.
|
5
|
+
import { TypedTextComponent } from './TypedTextComponent.cjs';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits an url.
|
8
8
|
*
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation UrlComponent
|
3
|
+
* Contains a component that displays and edits an url.
|
4
|
+
*/
|
5
|
+
import { TypedTextComponent } from './TypedTextComponent.mjs';
|
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
|
+
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Contains a component that has a validator element.
|
4
4
|
*/
|
5
5
|
import type { BaseComponent } from 'obsidian';
|
6
|
-
import type { ValidatorElement } from '../../HTMLElement.
|
6
|
+
import type { ValidatorElement } from '../../HTMLElement.cjs';
|
7
7
|
/**
|
8
8
|
* A component that has a validator element.
|
9
9
|
*/
|
@@ -0,0 +1,22 @@
|
|
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.mjs';
|
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;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
* Contains a type that extends ValueComponent to allow for change tracking.
|
4
4
|
*/
|
5
5
|
import { ValueComponent } from 'obsidian';
|
6
|
-
import type { MaybePromise } from '../../Async.
|
6
|
+
import type { MaybePromise } from '../../Async.cjs';
|
7
7
|
/**
|
8
8
|
* A ValueComponent that can track changes.
|
9
9
|
*/
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation ValueComponentWithChangeTracking
|
3
|
+
* Contains a type that extends ValueComponent to allow for change tracking.
|
4
|
+
*/
|
5
|
+
import { ValueComponent } from 'obsidian';
|
6
|
+
import type { MaybePromise } from '../../Async.mjs';
|
7
|
+
/**
|
8
|
+
* A ValueComponent that can track changes.
|
9
|
+
*/
|
10
|
+
export interface ValueComponentWithChangeTracking<T> extends ValueComponent<T> {
|
11
|
+
/**
|
12
|
+
* Sets a callback function to be called when the value of the component changes.
|
13
|
+
*
|
14
|
+
* @param callback - A callback function that is called when the value of the component changes.
|
15
|
+
*/
|
16
|
+
onChange(callback: (newValue: T) => MaybePromise<void>): this;
|
17
|
+
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation WeekComponent
|
3
3
|
* Contains a component that displays and edits a week.
|
4
4
|
*/
|
5
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.
|
5
|
+
import { TypedRangeTextComponent } from './TypedRangeTextComponent.cjs';
|
6
6
|
/**
|
7
7
|
* Represents an ISO 8601 week date.
|
8
8
|
*/
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* @packageDocumentation WeekComponent
|
3
|
+
* Contains a component that displays and edits a week.
|
4
|
+
*/
|
5
|
+
import { TypedRangeTextComponent } from './TypedRangeTextComponent.mjs';
|
6
|
+
/**
|
7
|
+
* Represents an ISO 8601 week date.
|
8
|
+
*/
|
9
|
+
export interface IsoWeek {
|
10
|
+
/**
|
11
|
+
* The ISO 8601 week number (1-53).
|
12
|
+
*/
|
13
|
+
weekNumber: number;
|
14
|
+
/**
|
15
|
+
* The year (1-9999).
|
16
|
+
*/
|
17
|
+
year: number;
|
18
|
+
}
|
19
|
+
/**
|
20
|
+
* A component that displays and edits a Week.
|
21
|
+
*
|
22
|
+
* You can add this component using {@link SettingEx.addWeek}.
|
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 WeekComponent extends TypedRangeTextComponent<IsoWeek> {
|
29
|
+
/**
|
30
|
+
* Creates a new Week component.
|
31
|
+
*
|
32
|
+
* @param containerEl - The container element of the component.
|
33
|
+
*/
|
34
|
+
constructor(containerEl: HTMLElement);
|
35
|
+
/**
|
36
|
+
* Converts a string to a Week.
|
37
|
+
*
|
38
|
+
* @param str - The string to convert.
|
39
|
+
* @returns The week.
|
40
|
+
*/
|
41
|
+
valueFromString(str: string): IsoWeek;
|
42
|
+
/**
|
43
|
+
* Converts a week to a string.
|
44
|
+
*
|
45
|
+
* @param value - The week to convert.
|
46
|
+
* @returns The string.
|
47
|
+
*/
|
48
|
+
valueToString(value: IsoWeek): string;
|
49
|
+
}
|
@@ -0,0 +1,94 @@
|
|
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 initCjs(){const globalThisRecord=globalThis;globalThisRecord["__name"]??=name;const originalRequire=require;if(originalRequire&&!originalRequire.__isPatched){require=Object.assign(id=>requirePatched(id),originalRequire,{__isPatched:true})}const newFuncs={__extractDefault:__name(()=>extractDefault,"__extractDefault"),process:__name(()=>{const browserProcess={browser:true,cwd:__name(()=>"/","cwd"),env:{},platform:"android"};return browserProcess},"process")};for(const key of Object.keys(newFuncs)){globalThisRecord[key]??=newFuncs[key]?.()}function name(obj){return obj}__name(name,"name");function extractDefault(module){return module&&module.__esModule&&module.default?module.default:module}__name(extractDefault,"extractDefault");function requirePatched(id){const module=originalRequire?.(id);if(module){return extractDefault(module)}if(id==="process"||id==="node:process"){console.error(`Module not found: ${id}. Fake process object is returned instead.`);return globalThis.process}console.error(`Module not found: ${id}. Empty object is returned instead.`);return{}}__name(requirePatched,"requirePatched")})();
|
7
|
+
|
8
|
+
"use strict";
|
9
|
+
var __create = Object.create;
|
10
|
+
var __defProp = Object.defineProperty;
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
13
|
+
var __getProtoOf = Object.getPrototypeOf;
|
14
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
15
|
+
var __export = (target, all) => {
|
16
|
+
for (var name in all)
|
17
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
18
|
+
};
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
21
|
+
for (let key of __getOwnPropNames(from))
|
22
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
23
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
24
|
+
}
|
25
|
+
return to;
|
26
|
+
};
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
28
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
+
// file that has been converted to a CommonJS file using a Babel-
|
30
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
33
|
+
mod
|
34
|
+
));
|
35
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
36
|
+
var Components_exports = {};
|
37
|
+
__export(Components_exports, {
|
38
|
+
DateComponent: () => DateComponent,
|
39
|
+
DateTimeComponent: () => DateTimeComponent,
|
40
|
+
EmailComponent: () => EmailComponent,
|
41
|
+
FileComponent: () => FileComponent,
|
42
|
+
MonthComponent: () => MonthComponent,
|
43
|
+
MultipleDropdownComponent: () => MultipleDropdownComponent,
|
44
|
+
MultipleEmailComponent: () => MultipleEmailComponent,
|
45
|
+
MultipleFileComponent: () => MultipleFileComponent,
|
46
|
+
MultipleTextComponent: () => MultipleTextComponent,
|
47
|
+
NumberComponent: () => NumberComponent,
|
48
|
+
TimeComponent: () => TimeComponent,
|
49
|
+
TypedRangeTextComponent: () => TypedRangeTextComponent,
|
50
|
+
TypedTextComponent: () => TypedTextComponent,
|
51
|
+
UrlComponent: () => UrlComponent,
|
52
|
+
ValidatorComponent: () => ValidatorComponent,
|
53
|
+
ValueComponentWithChangeTracking: () => ValueComponentWithChangeTracking,
|
54
|
+
WeekComponent: () => WeekComponent
|
55
|
+
});
|
56
|
+
module.exports = __toCommonJS(Components_exports);
|
57
|
+
var DateComponent = __toESM(__extractDefault(require('./DateComponent.cjs')), 1);
|
58
|
+
var DateTimeComponent = __toESM(__extractDefault(require('./DateTimeComponent.cjs')), 1);
|
59
|
+
var EmailComponent = __toESM(__extractDefault(require('./EmailComponent.cjs')), 1);
|
60
|
+
var FileComponent = __toESM(__extractDefault(require('./FileComponent.cjs')), 1);
|
61
|
+
var MonthComponent = __toESM(__extractDefault(require('./MonthComponent.cjs')), 1);
|
62
|
+
var MultipleDropdownComponent = __toESM(__extractDefault(require('./MultipleDropdownComponent.cjs')), 1);
|
63
|
+
var MultipleEmailComponent = __toESM(__extractDefault(require('./MultipleEmailComponent.cjs')), 1);
|
64
|
+
var MultipleFileComponent = __toESM(__extractDefault(require('./MultipleFileComponent.cjs')), 1);
|
65
|
+
var MultipleTextComponent = __toESM(__extractDefault(require('./MultipleTextComponent.cjs')), 1);
|
66
|
+
var NumberComponent = __toESM(__extractDefault(require('./NumberComponent.cjs')), 1);
|
67
|
+
var TimeComponent = __toESM(__extractDefault(require('./TimeComponent.cjs')), 1);
|
68
|
+
var TypedRangeTextComponent = __toESM(__extractDefault(require('./TypedRangeTextComponent.cjs')), 1);
|
69
|
+
var TypedTextComponent = __toESM(__extractDefault(require('./TypedTextComponent.cjs')), 1);
|
70
|
+
var UrlComponent = __toESM(__extractDefault(require('./UrlComponent.cjs')), 1);
|
71
|
+
var ValidatorComponent = __toESM(__extractDefault(require('./ValidatorComponent.cjs')), 1);
|
72
|
+
var ValueComponentWithChangeTracking = __toESM(__extractDefault(require('./ValueComponentWithChangeTracking.cjs')), 1);
|
73
|
+
var WeekComponent = __toESM(__extractDefault(require('./WeekComponent.cjs')), 1);
|
74
|
+
// Annotate the CommonJS export names for ESM import in node:
|
75
|
+
0 && (module.exports = {
|
76
|
+
DateComponent,
|
77
|
+
DateTimeComponent,
|
78
|
+
EmailComponent,
|
79
|
+
FileComponent,
|
80
|
+
MonthComponent,
|
81
|
+
MultipleDropdownComponent,
|
82
|
+
MultipleEmailComponent,
|
83
|
+
MultipleFileComponent,
|
84
|
+
MultipleTextComponent,
|
85
|
+
NumberComponent,
|
86
|
+
TimeComponent,
|
87
|
+
TypedRangeTextComponent,
|
88
|
+
TypedTextComponent,
|
89
|
+
UrlComponent,
|
90
|
+
ValidatorComponent,
|
91
|
+
ValueComponentWithChangeTracking,
|
92
|
+
WeekComponent
|
93
|
+
});
|
94
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL0NvbXBvbmVudHMvaW5kZXgudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbIi8qIFRISVMgSVMgQSBHRU5FUkFURUQvQlVORExFRCBGSUxFIEJZIEJVSUxEIFNDUklQVCAqL1xuXG5leHBvcnQgKiBhcyBEYXRlQ29tcG9uZW50IGZyb20gJy4vRGF0ZUNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBEYXRlVGltZUNvbXBvbmVudCBmcm9tICcuL0RhdGVUaW1lQ29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzIEVtYWlsQ29tcG9uZW50IGZyb20gJy4vRW1haWxDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgRmlsZUNvbXBvbmVudCBmcm9tICcuL0ZpbGVDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgTW9udGhDb21wb25lbnQgZnJvbSAnLi9Nb250aENvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZURyb3Bkb3duQ29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVEcm9wZG93bkNvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZUVtYWlsQ29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVFbWFpbENvbXBvbmVudC50cyc7XG5leHBvcnQgKiBhcyBNdWx0aXBsZUZpbGVDb21wb25lbnQgZnJvbSAnLi9NdWx0aXBsZUZpbGVDb21wb25lbnQudHMnO1xuZXhwb3J0ICogYXMgTXVsdGlwbGVUZXh0Q29tcG9uZW50IGZyb20gJy4vTXVsdGlwbGVUZXh0Q29tcG9uZW50LnRzJztcbmV4cG9ydCAqIGFzI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CO0FBQy9CLDhCQUF5QztBQUN6Qyx5QkFBb0M7QUFDcEMsbUJBQThCO0FBQzlCLHlCQUFvQztBQUNwQyx1Q0FBa0Q7QUFDbEQsb0JBQStCOyIsCiAgIm5hbWVzIjogW10KfQo=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export * as DateComponent from './DateComponent.cjs';
|
2
|
+
export * as DateTimeComponent from './DateTimeComponent.cjs';
|
3
|
+
export * as EmailComponent from './EmailComponent.cjs';
|
4
|
+
export * as FileComponent from './FileComponent.cjs';
|
5
|
+
export * as MonthComponent from './MonthComponent.cjs';
|
6
|
+
export * as MultipleDropdownComponent from './MultipleDropdownComponent.cjs';
|
7
|
+
export * as MultipleEmailComponent from './MultipleEmailComponent.cjs';
|
8
|
+
export * as MultipleFileComponent from './MultipleFileComponent.cjs';
|
9
|
+
export * as MultipleTextComponent from './MultipleTextComponent.cjs';
|
10
|
+
export * as NumberComponent from './NumberComponent.cjs';
|
11
|
+
export * as TimeComponent from './TimeComponent.cjs';
|
12
|
+
export * as TypedRangeTextComponent from './TypedRangeTextComponent.cjs';
|
13
|
+
export * as TypedTextComponent from './TypedTextComponent.cjs';
|
14
|
+
export * as UrlComponent from './UrlComponent.cjs';
|
15
|
+
export * as ValidatorComponent from './ValidatorComponent.cjs';
|
16
|
+
export * as ValueComponentWithChangeTracking from './ValueComponentWithChangeTracking.cjs';
|
17
|
+
export * as WeekComponent from './WeekComponent.cjs';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export * as DateComponent from './DateComponent.mjs';
|
2
|
+
export * as DateTimeComponent from './DateTimeComponent.mjs';
|
3
|
+
export * as EmailComponent from './EmailComponent.mjs';
|
4
|
+
export * as FileComponent from './FileComponent.mjs';
|
5
|
+
export * as MonthComponent from './MonthComponent.mjs';
|
6
|
+
export * as MultipleDropdownComponent from './MultipleDropdownComponent.mjs';
|
7
|
+
export * as MultipleEmailComponent from './MultipleEmailComponent.mjs';
|
8
|
+
export * as MultipleFileComponent from './MultipleFileComponent.mjs';
|
9
|
+
export * as MultipleTextComponent from './MultipleTextComponent.mjs';
|
10
|
+
export * as NumberComponent from './NumberComponent.mjs';
|
11
|
+
export * as TimeComponent from './TimeComponent.mjs';
|
12
|
+
export * as TypedRangeTextComponent from './TypedRangeTextComponent.mjs';
|
13
|
+
export * as TypedTextComponent from './TypedTextComponent.mjs';
|
14
|
+
export * as UrlComponent from './UrlComponent.mjs';
|
15
|
+
export * as ValidatorComponent from './ValidatorComponent.mjs';
|
16
|
+
export * as ValueComponentWithChangeTracking from './ValueComponentWithChangeTracking.mjs';
|
17
|
+
export * as WeekComponent from './WeekComponent.mjs';
|