obsidian-dev-utils 19.1.2-beta.3 → 19.1.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/lib/cjs/Library.cjs +1 -1
- package/dist/lib/cjs/ScriptUtils/ESLint/index.d.cts +2 -2
- package/dist/lib/cjs/ScriptUtils/esbuild/index.d.cts +9 -9
- package/dist/lib/cjs/ScriptUtils/index.d.cts +17 -17
- package/dist/lib/cjs/Transformers/DateTransformer.d.cts +1 -1
- package/dist/lib/cjs/Transformers/GroupTransformer.d.cts +1 -1
- package/dist/lib/cjs/Transformers/SkipPrivatePropertyTransformer.d.cts +1 -1
- package/dist/lib/cjs/Transformers/TypedTransformer.d.cts +1 -1
- package/dist/lib/cjs/Transformers/index.d.cts +6 -6
- package/dist/lib/cjs/codemirror/index.d.cts +1 -1
- package/dist/lib/cjs/index.d.cts +20 -20
- package/dist/lib/cjs/obsidian/@types/Dataview/index.d.cts +10 -10
- package/dist/lib/cjs/obsidian/@types/Dataview/query/parse.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/DateComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/DateTimeComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/EmailComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/FileComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/MonthComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/MultipleDropdownComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/MultipleEmailComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/MultipleFileComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/MultipleTextComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/NumberComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/TypedRangeTextComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/TypedTextComponent.d.cts +2 -2
- package/dist/lib/cjs/obsidian/Components/UrlComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/ValueComponentWithChangeTracking.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/WeekComponent.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Components/index.d.cts +17 -17
- package/dist/lib/cjs/obsidian/Dataview.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Modals/Prompt.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Modals/index.d.cts +5 -5
- package/dist/lib/cjs/obsidian/Plugin/EmptySettings.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginSettingsBase.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginSettingsTabBase.d.cts +1 -1
- package/dist/lib/cjs/obsidian/Plugin/index.d.cts +8 -8
- package/dist/lib/cjs/obsidian/SettingEx.d.cts +12 -12
- package/dist/lib/cjs/obsidian/index.d.cts +29 -29
- package/dist/lib/esm/Library.mjs +1 -1
- package/dist/lib/esm/ScriptUtils/ESLint/index.d.mts +2 -2
- package/dist/lib/esm/ScriptUtils/esbuild/index.d.mts +9 -9
- package/dist/lib/esm/ScriptUtils/index.d.mts +17 -17
- package/dist/lib/esm/Transformers/DateTransformer.d.mts +1 -1
- package/dist/lib/esm/Transformers/GroupTransformer.d.mts +1 -1
- package/dist/lib/esm/Transformers/SkipPrivatePropertyTransformer.d.mts +1 -1
- package/dist/lib/esm/Transformers/TypedTransformer.d.mts +1 -1
- package/dist/lib/esm/Transformers/index.d.mts +6 -6
- package/dist/lib/esm/codemirror/index.d.mts +1 -1
- package/dist/lib/esm/index.d.mts +20 -20
- package/dist/lib/esm/obsidian/@types/Dataview/index.d.mts +10 -10
- package/dist/lib/esm/obsidian/@types/Dataview/query/parse.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/DateComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/DateTimeComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/EmailComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/FileComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/MonthComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/MultipleDropdownComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/MultipleEmailComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/MultipleFileComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/MultipleTextComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/NumberComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/TypedRangeTextComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/TypedTextComponent.d.mts +2 -2
- package/dist/lib/esm/obsidian/Components/UrlComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/ValueComponentWithChangeTracking.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/WeekComponent.d.mts +1 -1
- package/dist/lib/esm/obsidian/Components/index.d.mts +17 -17
- package/dist/lib/esm/obsidian/Dataview.d.mts +1 -1
- package/dist/lib/esm/obsidian/Modals/Prompt.d.mts +1 -1
- package/dist/lib/esm/obsidian/Modals/index.d.mts +5 -5
- package/dist/lib/esm/obsidian/Plugin/EmptySettings.d.mts +1 -1
- package/dist/lib/esm/obsidian/Plugin/PluginSettingsBase.d.mts +1 -1
- package/dist/lib/esm/obsidian/Plugin/PluginSettingsTabBase.d.mts +1 -1
- package/dist/lib/esm/obsidian/Plugin/index.d.mts +8 -8
- package/dist/lib/esm/obsidian/SettingEx.d.mts +12 -12
- package/dist/lib/esm/obsidian/index.d.mts +29 -29
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/lib/cjs/Library.cjs
CHANGED
@@ -30,7 +30,7 @@ __export(Library_exports, {
|
|
30
30
|
LIBRARY_VERSION: () => LIBRARY_VERSION
|
31
31
|
});
|
32
32
|
module.exports = __toCommonJS(Library_exports);
|
33
|
-
const LIBRARY_VERSION = "19.1.2-beta.
|
33
|
+
const LIBRARY_VERSION = "19.1.2-beta.4";
|
34
34
|
const LIBRARY_NAME = "obsidian-dev-utils";
|
35
35
|
const LIBRARY_STYLES = ".obsidian-dev-utils :invalid {\n box-shadow: 0 0 0 2px var(--text-error);\n}\n.obsidian-dev-utils.modal-container .ok-button {\n margin-right: 10px;\n margin-top: 20px;\n}\n.obsidian-dev-utils .multiple-dropdown-component select,\n.obsidian-dev-utils .multiple-dropdown-component select:focus,\n.obsidian-dev-utils .multiple-dropdown-component .dropdown {\n height: auto;\n}\n.obsidian-dev-utils .multiple-dropdown-component select option:checked,\n.obsidian-dev-utils .multiple-dropdown-component select:focus option:checked,\n.obsidian-dev-utils .multiple-dropdown-component .dropdown option:checked {\n background-color: #1967d2;\n color: #fff;\n}\n.obsidian-dev-utils.prompt-modal .text-box {\n width: 100%;\n}\n\n/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22../src/styles/main.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AACE;EACE;;AAIA;EACE;EACA;;AAKF;AAAA;AAAA;EAGE;;AAEA;AAAA;AAAA;EACE;EACA;;AAMJ;EACE%22,%22file%22:%22styles.css%22,%22sourcesContent%22:%5B%22.obsidian-dev-utils%20%7B%5Cn%20%20:invalid%20%7B%5Cn%20%20%20%20box-shadow:%200%200%200%202px%20var(--text-error);%5Cn%20%20%7D%5Cn%5Cn%20%20&.modal-container%20%7B%5Cn%20%20%20%20.ok-button%20%7B%5Cn%20%20%20%20%20%20margin-right:%2010px;%5Cn%20%20%20%20%20%20margin-top:%2020px;%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%5Cn%20%20.multiple-dropdown-component%20%7B%5Cn%20%20%20%20select,%5Cn%20%20%20%20select:focus,%5Cn%20%20%20%20.dropdown%20%7B%5Cn%20%20%20%20%20%20height:%20auto;%5Cn%5Cn%20%20%20%20%20%20option:checked%20%7B%5Cn%20%20%20%20%20%20%20%20background-color:%20%231967d2;%5Cn%20%20%20%20%20%20%20%20color:%20%23fff;%5Cn%20%20%20%20%20%20%7D%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%5Cn%20%20&.prompt-modal%20%7B%5Cn%20%20%20%20.text-box%20%7B%5Cn%20%20%20%20%20%20width:%20100%25;%5Cn%20%20%20%20%7D%5Cn%20%20%7D%5Cn%7D%5Cn%22%5D%7D */\n";
|
36
36
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * as eslint_config from './eslint.config.
|
2
|
-
export * as ESLint from './ESLint.
|
1
|
+
export * as eslint_config from './eslint.config.ts';
|
2
|
+
export * as ESLint from './ESLint.ts';
|
@@ -1,9 +1,9 @@
|
|
1
|
-
export * as changeExtensionPlugin from './changeExtensionPlugin.
|
2
|
-
export * as copyToObsidianPluginsFolderPlugin from './copyToObsidianPluginsFolderPlugin.
|
3
|
-
export * as Dependency from './Dependency.
|
4
|
-
export * as fixEsmPlugin from './fixEsmPlugin.
|
5
|
-
export * as fixSourceMapsPlugin from './fixSourceMapsPlugin.
|
6
|
-
export * as ObsidianPluginBuilder from './ObsidianPluginBuilder.
|
7
|
-
export * as preprocessPlugin from './preprocessPlugin.
|
8
|
-
export * as renameCssPlugin from './renameCssPlugin.
|
9
|
-
export * as svelteWrapperPlugin from './svelteWrapperPlugin.
|
1
|
+
export * as changeExtensionPlugin from './changeExtensionPlugin.ts';
|
2
|
+
export * as copyToObsidianPluginsFolderPlugin from './copyToObsidianPluginsFolderPlugin.ts';
|
3
|
+
export * as Dependency from './Dependency.ts';
|
4
|
+
export * as fixEsmPlugin from './fixEsmPlugin.ts';
|
5
|
+
export * as fixSourceMapsPlugin from './fixSourceMapsPlugin.ts';
|
6
|
+
export * as ObsidianPluginBuilder from './ObsidianPluginBuilder.ts';
|
7
|
+
export * as preprocessPlugin from './preprocessPlugin.ts';
|
8
|
+
export * as renameCssPlugin from './renameCssPlugin.ts';
|
9
|
+
export * as svelteWrapperPlugin from './svelteWrapperPlugin.ts';
|
@@ -1,17 +1,17 @@
|
|
1
|
-
export * as build from './build.
|
2
|
-
export * as cli from './cli.
|
3
|
-
export * as CliUtils from './CliUtils.
|
4
|
-
export * as CodeGenerator from './CodeGenerator.
|
5
|
-
export * as esbuild from './esbuild/index.
|
6
|
-
export * as ESLint from './ESLint/index.
|
7
|
-
export * as Exec from './Exec.
|
8
|
-
export * as format from './format.
|
9
|
-
export * as Fs from './Fs.
|
10
|
-
export * as JSON from './JSON.
|
11
|
-
export * as NodeModules from './NodeModules.
|
12
|
-
export * as Npm from './Npm.
|
13
|
-
export * as NpmPublish from './NpmPublish.
|
14
|
-
export * as ObsidianDevUtilsRepoPaths from './ObsidianDevUtilsRepoPaths.
|
15
|
-
export * as Root from './Root.
|
16
|
-
export * as spellcheck from './spellcheck.
|
17
|
-
export * as version from './version.
|
1
|
+
export * as build from './build.ts';
|
2
|
+
export * as cli from './cli.ts';
|
3
|
+
export * as CliUtils from './CliUtils.ts';
|
4
|
+
export * as CodeGenerator from './CodeGenerator.ts';
|
5
|
+
export * as esbuild from './esbuild/index.ts';
|
6
|
+
export * as ESLint from './ESLint/index.ts';
|
7
|
+
export * as Exec from './Exec.ts';
|
8
|
+
export * as format from './format.ts';
|
9
|
+
export * as Fs from './Fs.ts';
|
10
|
+
export * as JSON from './JSON.ts';
|
11
|
+
export * as NodeModules from './NodeModules.ts';
|
12
|
+
export * as Npm from './Npm.ts';
|
13
|
+
export * as NpmPublish from './NpmPublish.ts';
|
14
|
+
export * as ObsidianDevUtilsRepoPaths from './ObsidianDevUtilsRepoPaths.ts';
|
15
|
+
export * as Root from './Root.ts';
|
16
|
+
export * as spellcheck from './spellcheck.ts';
|
17
|
+
export * as version from './version.ts';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation DateTransformer
|
3
3
|
* A transformer that can transform Date to an ISO string and back.
|
4
4
|
*/
|
5
|
-
import { TypedTransformer } from './TypedTransformer.d.cts';
|
5
|
+
import type { TypedTransformer } from './TypedTransformer.d.cts';
|
6
6
|
/**
|
7
7
|
* A transformer that can transform Date to an ISO string and back.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation GroupTransformer
|
3
3
|
* A transformer that combines multiple transformers.
|
4
4
|
*/
|
5
|
-
import { Transformer } from './Transformer.d.cts';
|
5
|
+
import type { Transformer } from './Transformer.d.cts';
|
6
6
|
/**
|
7
7
|
* A transformer that combines multiple transformers.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation SkipPrivatePropertyTransformer
|
3
3
|
* A transformer that skips private properties.
|
4
4
|
*/
|
5
|
-
import { Transformer } from './Transformer.d.cts';
|
5
|
+
import type { Transformer } from './Transformer.d.cts';
|
6
6
|
/**
|
7
7
|
* A transformer that skips private properties.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation TypedTransformer
|
3
3
|
* A base class for transformers that can transform and restore a specific type.
|
4
4
|
*/
|
5
|
-
import { Transformer } from './Transformer.d.cts';
|
5
|
+
import type { Transformer } from './Transformer.d.cts';
|
6
6
|
/**
|
7
7
|
* A transformer that can transform and restore a specific type.
|
8
8
|
*
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export * as DateTransformer from './DateTransformer.
|
2
|
-
export * as DurationTransformer from './DurationTransformer.
|
3
|
-
export * as GroupTransformer from './GroupTransformer.
|
4
|
-
export * as SkipPrivatePropertyTransformer from './SkipPrivatePropertyTransformer.
|
5
|
-
export * as Transformer from './Transformer.
|
6
|
-
export * as TypedTransformer from './TypedTransformer.
|
1
|
+
export * as DateTransformer from './DateTransformer.ts';
|
2
|
+
export * as DurationTransformer from './DurationTransformer.ts';
|
3
|
+
export * as GroupTransformer from './GroupTransformer.ts';
|
4
|
+
export * as SkipPrivatePropertyTransformer from './SkipPrivatePropertyTransformer.ts';
|
5
|
+
export * as Transformer from './Transformer.ts';
|
6
|
+
export * as TypedTransformer from './TypedTransformer.ts';
|
@@ -1 +1 @@
|
|
1
|
-
export * as StateFieldSpec from './StateFieldSpec.
|
1
|
+
export * as StateFieldSpec from './StateFieldSpec.ts';
|
package/dist/lib/cjs/index.d.cts
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
export * as Async from './Async.
|
2
|
-
export * as Blob from './Blob.
|
3
|
-
export * as codemirror from './codemirror/index.
|
4
|
-
export * as CssClass from './CssClass.
|
5
|
-
export * as Debug from './Debug.
|
6
|
-
export * as DebugController from './DebugController.
|
7
|
-
export * as Enum from './Enum.
|
8
|
-
export * as Error from './Error.
|
9
|
-
export * as Function from './Function.
|
10
|
-
export * as HTMLElement from './HTMLElement.
|
11
|
-
export * as Library from './Library.
|
12
|
-
export * as Object from './Object.
|
13
|
-
export * as obsidian from './obsidian/index.
|
14
|
-
export * as Path from './Path.
|
15
|
-
export * as RegExp from './RegExp.
|
16
|
-
export * as ScriptUtils from './ScriptUtils/index.
|
17
|
-
export * as String from './String.
|
18
|
-
export * as Transformers from './Transformers/index.
|
19
|
-
export * as url from './url.
|
20
|
-
export * as ValueProvider from './ValueProvider.
|
1
|
+
export * as Async from './Async.ts';
|
2
|
+
export * as Blob from './Blob.ts';
|
3
|
+
export * as codemirror from './codemirror/index.ts';
|
4
|
+
export * as CssClass from './CssClass.ts';
|
5
|
+
export * as Debug from './Debug.ts';
|
6
|
+
export * as DebugController from './DebugController.ts';
|
7
|
+
export * as Enum from './Enum.ts';
|
8
|
+
export * as Error from './Error.ts';
|
9
|
+
export * as Function from './Function.ts';
|
10
|
+
export * as HTMLElement from './HTMLElement.ts';
|
11
|
+
export * as Library from './Library.ts';
|
12
|
+
export * as Object from './Object.ts';
|
13
|
+
export * as obsidian from './obsidian/index.ts';
|
14
|
+
export * as Path from './Path.ts';
|
15
|
+
export * as RegExp from './RegExp.ts';
|
16
|
+
export * as ScriptUtils from './ScriptUtils/index.ts';
|
17
|
+
export * as String from './String.ts';
|
18
|
+
export * as Transformers from './Transformers/index.ts';
|
19
|
+
export * as url from './url.ts';
|
20
|
+
export * as ValueProvider from './ValueProvider.ts';
|
@@ -2,27 +2,27 @@ export type {
|
|
2
2
|
DateTime,
|
3
3
|
Duration
|
4
4
|
} from 'luxon';
|
5
|
-
export type { DataArray } from './api/data-array.d.
|
6
|
-
export type { DataviewApi } from './api/plugin-api.d.
|
5
|
+
export type { DataArray } from './api/data-array.d.ts';
|
6
|
+
export type { DataviewApi } from './api/plugin-api.d.ts';
|
7
7
|
export type {
|
8
8
|
Failure,
|
9
9
|
Result,
|
10
10
|
Success
|
11
|
-
} from './api/result.d.
|
11
|
+
} from './api/result.d.ts';
|
12
12
|
export type {
|
13
13
|
FullIndex,
|
14
14
|
IndexMap,
|
15
15
|
PrefixIndex
|
16
|
-
} from './data-index/index.d.
|
16
|
+
} from './data-index/index.d.ts';
|
17
17
|
export type {
|
18
18
|
ListItem,
|
19
19
|
PageMetadata
|
20
|
-
} from './data-model/markdown.d.
|
20
|
+
} from './data-model/markdown.d.ts';
|
21
21
|
export type {
|
22
22
|
SListEntry,
|
23
23
|
SMarkdownPage,
|
24
24
|
STask
|
25
|
-
} from './data-model/serialized/markdown.d.
|
25
|
+
} from './data-model/serialized/markdown.d.ts';
|
26
26
|
export type {
|
27
27
|
DataObject,
|
28
28
|
Link,
|
@@ -32,7 +32,7 @@ export type {
|
|
32
32
|
LiteralWrapper,
|
33
33
|
Widget,
|
34
34
|
WrappedLiteral
|
35
|
-
} from './data-model/value.d.
|
35
|
+
} from './data-model/value.d.ts';
|
36
36
|
export type {
|
37
37
|
DATE_SHORTHANDS,
|
38
38
|
DURATION_TYPES,
|
@@ -40,9 +40,9 @@ export type {
|
|
40
40
|
ExpressionLanguage,
|
41
41
|
KEYWORDS,
|
42
42
|
parseField
|
43
|
-
} from './expression/parse.d.
|
44
|
-
export type { QUERY_LANGUAGE } from './query/parse.d.
|
45
|
-
export type { Query } from './query/query.d.
|
43
|
+
} from './expression/parse.d.ts';
|
44
|
+
export type { QUERY_LANGUAGE } from './query/parse.d.ts';
|
45
|
+
export type { Query } from './query/query.d.ts';
|
46
46
|
import type { DataviewApi } from './api/plugin-api.d.d.cts';
|
47
47
|
import 'obsidian';
|
48
48
|
import type { App } from 'obsidian';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation DateComponent
|
3
3
|
* Contains a component that displays and edits a date.
|
4
4
|
*/
|
5
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
5
|
+
import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a date.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation DateTimeComponent
|
3
3
|
* Contains a component that displays and edits a date and time.
|
4
4
|
*/
|
5
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
5
|
+
import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a date and time.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation EmailComponent
|
3
3
|
* Contains a component that displays and edits an email address.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits an email address.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation FileComponent
|
3
3
|
* Contains a component that displays and edits a file.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a file.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation MonthComponent
|
3
3
|
* Contains a component that displays and edits a month.
|
4
4
|
*/
|
5
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
5
|
+
import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* An ISO 8601 month.
|
8
8
|
*/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation MultipleDropdownComponent
|
3
3
|
* Contains a component that displays and edits a multi-select dropdown.
|
4
4
|
*/
|
5
|
-
import { ValueComponent } from 'obsidian';
|
5
|
+
import type { ValueComponent } from 'obsidian';
|
6
6
|
import type { MaybePromise } from '../../Async.d.cts';
|
7
7
|
import type { ValidatorElement } from '../../HTMLElement.d.cts';
|
8
8
|
import type { ValidatorComponent } from './ValidatorComponent.d.cts';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation MultipleEmailComponent
|
3
3
|
* Contains a component that displays and edits multiple email addresses.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits multiple email addresses.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation MultipleFileComponent
|
3
3
|
* Contains a component that displays and edits multiple files.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits multiple files.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation MultipleTextComponent
|
3
3
|
* Contains a component that displays and edits multiple text values.
|
4
4
|
*/
|
5
|
-
import { ValueComponent } from 'obsidian';
|
5
|
+
import type { ValueComponent } from 'obsidian';
|
6
6
|
import type { MaybePromise } from '../../Async.d.cts';
|
7
7
|
import type { ValidatorElement } from '../../HTMLElement.d.cts';
|
8
8
|
import type { ValidatorComponent } from './ValidatorComponent.d.cts';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation NumberComponent
|
3
3
|
* Contains a component that displays and edits a number.
|
4
4
|
*/
|
5
|
-
import { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
5
|
+
import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a number.
|
8
8
|
*
|
@@ -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.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits a text-based value with a range.
|
8
8
|
*/
|
@@ -2,12 +2,12 @@
|
|
2
2
|
* @packageDocumentation TypedTextComponent
|
3
3
|
* Contains a component that displays and edits a text-based value.
|
4
4
|
*/
|
5
|
-
import { ValueComponent } from 'obsidian';
|
5
|
+
import type { ValueComponent } from 'obsidian';
|
6
6
|
import type { MaybePromise } from '../../Async.d.cts';
|
7
7
|
import type { ValidatorElement } from '../../HTMLElement.d.cts';
|
8
8
|
import type { ValidatorComponent } from './ValidatorComponent.d.cts';
|
9
9
|
import type { ValueComponentWithChangeTracking } from './ValueComponentWithChangeTracking.d.cts';
|
10
|
-
import { CssClass } from '../../CssClass.d.cts';
|
10
|
+
import type { CssClass } from '../../CssClass.d.cts';
|
11
11
|
/**
|
12
12
|
* A component that displays and edits a text-based value.
|
13
13
|
*/
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation UrlComponent
|
3
3
|
* Contains a component that displays and edits an url.
|
4
4
|
*/
|
5
|
-
import { TypedTextComponent } from './TypedTextComponent.d.cts';
|
5
|
+
import type { TypedTextComponent } from './TypedTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* A component that displays and edits an url.
|
8
8
|
*
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation ValueComponentWithChangeTracking
|
3
3
|
* Contains a type that extends ValueComponent to allow for change tracking.
|
4
4
|
*/
|
5
|
-
import { ValueComponent } from 'obsidian';
|
5
|
+
import type { ValueComponent } from 'obsidian';
|
6
6
|
import type { MaybePromise } from '../../Async.d.cts';
|
7
7
|
/**
|
8
8
|
* A ValueComponent that can track changes.
|
@@ -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.d.cts';
|
5
|
+
import type { TypedRangeTextComponent } from './TypedRangeTextComponent.d.cts';
|
6
6
|
/**
|
7
7
|
* Represents an ISO 8601 week date.
|
8
8
|
*/
|
@@ -1,17 +1,17 @@
|
|
1
|
-
export * as DateComponent from './DateComponent.
|
2
|
-
export * as DateTimeComponent from './DateTimeComponent.
|
3
|
-
export * as EmailComponent from './EmailComponent.
|
4
|
-
export * as FileComponent from './FileComponent.
|
5
|
-
export * as MonthComponent from './MonthComponent.
|
6
|
-
export * as MultipleDropdownComponent from './MultipleDropdownComponent.
|
7
|
-
export * as MultipleEmailComponent from './MultipleEmailComponent.
|
8
|
-
export * as MultipleFileComponent from './MultipleFileComponent.
|
9
|
-
export * as MultipleTextComponent from './MultipleTextComponent.
|
10
|
-
export * as NumberComponent from './NumberComponent.
|
11
|
-
export * as TimeComponent from './TimeComponent.
|
12
|
-
export * as TypedRangeTextComponent from './TypedRangeTextComponent.
|
13
|
-
export * as TypedTextComponent from './TypedTextComponent.
|
14
|
-
export * as UrlComponent from './UrlComponent.
|
15
|
-
export * as ValidatorComponent from './ValidatorComponent.
|
16
|
-
export * as ValueComponentWithChangeTracking from './ValueComponentWithChangeTracking.
|
17
|
-
export * as WeekComponent from './WeekComponent.
|
1
|
+
export * as DateComponent from './DateComponent.ts';
|
2
|
+
export * as DateTimeComponent from './DateTimeComponent.ts';
|
3
|
+
export * as EmailComponent from './EmailComponent.ts';
|
4
|
+
export * as FileComponent from './FileComponent.ts';
|
5
|
+
export * as MonthComponent from './MonthComponent.ts';
|
6
|
+
export * as MultipleDropdownComponent from './MultipleDropdownComponent.ts';
|
7
|
+
export * as MultipleEmailComponent from './MultipleEmailComponent.ts';
|
8
|
+
export * as MultipleFileComponent from './MultipleFileComponent.ts';
|
9
|
+
export * as MultipleTextComponent from './MultipleTextComponent.ts';
|
10
|
+
export * as NumberComponent from './NumberComponent.ts';
|
11
|
+
export * as TimeComponent from './TimeComponent.ts';
|
12
|
+
export * as TypedRangeTextComponent from './TypedRangeTextComponent.ts';
|
13
|
+
export * as TypedTextComponent from './TypedTextComponent.ts';
|
14
|
+
export * as UrlComponent from './UrlComponent.ts';
|
15
|
+
export * as ValidatorComponent from './ValidatorComponent.ts';
|
16
|
+
export * as ValueComponentWithChangeTracking from './ValueComponentWithChangeTracking.ts';
|
17
|
+
export * as WeekComponent from './WeekComponent.ts';
|
@@ -10,7 +10,7 @@ import type { CombinedFrontmatter } from './Frontmatter.d.cts';
|
|
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.
|
13
|
+
export type { DateTime, Link } from './@types/Dataview/index.d.ts';
|
14
14
|
declare global {
|
15
15
|
/**
|
16
16
|
* The DataviewAPI object represents the API for interacting with Dataview in Obsidian.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*
|
5
5
|
* This module exports a function to display a modal that prompts the user for input. The modal includes "OK" and "Cancel" buttons.
|
6
6
|
*/
|
7
|
-
import { App } from 'obsidian';
|
7
|
+
import type { App } from 'obsidian';
|
8
8
|
import type { MaybePromise } from '../../Async.d.cts';
|
9
9
|
/**
|
10
10
|
* The options for the prompt modal.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * as Alert from './Alert.
|
2
|
-
export * as Confirm from './Confirm.
|
3
|
-
export * as ModalBase from './ModalBase.
|
4
|
-
export * as Prompt from './Prompt.
|
5
|
-
export * as SelectItem from './SelectItem.
|
1
|
+
export * as Alert from './Alert.ts';
|
2
|
+
export * as Confirm from './Confirm.ts';
|
3
|
+
export * as ModalBase from './ModalBase.ts';
|
4
|
+
export * as Prompt from './Prompt.ts';
|
5
|
+
export * as SelectItem from './SelectItem.ts';
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation EmptySettings
|
3
3
|
* Empty settings class.
|
4
4
|
*/
|
5
|
-
import { PluginSettingsBase } from './PluginSettingsBase.d.cts';
|
5
|
+
import type { PluginSettingsBase } from './PluginSettingsBase.d.cts';
|
6
6
|
/**
|
7
7
|
* @packageDocumentation EmptySettings
|
8
8
|
* Empty settings class.
|
@@ -2,7 +2,7 @@
|
|
2
2
|
* @packageDocumentation PluginSettingsBase
|
3
3
|
* Base class for plugin settings.
|
4
4
|
*/
|
5
|
-
import { Transformer } from '../../Transformers/Transformer.d.cts';
|
5
|
+
import type { Transformer } from '../../Transformers/Transformer.d.cts';
|
6
6
|
/**
|
7
7
|
* Base class for plugin settings.
|
8
8
|
*/
|
@@ -9,7 +9,7 @@ import type { MaybePromise } from '../../Async.d.cts';
|
|
9
9
|
import type { KeysMatching } from '../../Object.d.cts';
|
10
10
|
import type { ValueComponentWithChangeTracking } from '../Components/ValueComponentWithChangeTracking.d.cts';
|
11
11
|
import type { PluginSettingsBase } from './PluginSettingsBase.d.cts';
|
12
|
-
import { PluginBase } from './PluginBase.d.cts';
|
12
|
+
import type { PluginBase } from './PluginBase.d.cts';
|
13
13
|
/**
|
14
14
|
* Options for binding a value component to a plugin setting.
|
15
15
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
|
-
export * as EmptySettings from './EmptySettings.
|
2
|
-
export * as ObsidianPluginRepoPaths from './ObsidianPluginRepoPaths.
|
3
|
-
export * as Plugin from './Plugin.
|
4
|
-
export * as PluginBase from './PluginBase.
|
5
|
-
export * as PluginContext from './PluginContext.
|
6
|
-
export * as PluginId from './PluginId.
|
7
|
-
export * as PluginSettingsBase from './PluginSettingsBase.
|
8
|
-
export * as PluginSettingsTabBase from './PluginSettingsTabBase.
|
1
|
+
export * as EmptySettings from './EmptySettings.ts';
|
2
|
+
export * as ObsidianPluginRepoPaths from './ObsidianPluginRepoPaths.ts';
|
3
|
+
export * as Plugin from './Plugin.ts';
|
4
|
+
export * as PluginBase from './PluginBase.ts';
|
5
|
+
export * as PluginContext from './PluginContext.ts';
|
6
|
+
export * as PluginId from './PluginId.ts';
|
7
|
+
export * as PluginSettingsBase from './PluginSettingsBase.ts';
|
8
|
+
export * as PluginSettingsTabBase from './PluginSettingsTabBase.ts';
|
@@ -5,18 +5,18 @@
|
|
5
5
|
import type { BaseComponent } from 'obsidian';
|
6
6
|
import { Setting } from 'obsidian';
|
7
7
|
import { DateComponent } from './Components/DateComponent.d.cts';
|
8
|
-
import { DateTimeComponent } from './Components/DateTimeComponent.d.cts';
|
9
|
-
import { EmailComponent } from './Components/EmailComponent.d.cts';
|
10
|
-
import { FileComponent } from './Components/FileComponent.d.cts';
|
11
|
-
import { MonthComponent } from './Components/MonthComponent.d.cts';
|
12
|
-
import { MultipleDropdownComponent } from './Components/MultipleDropdownComponent.d.cts';
|
13
|
-
import { MultipleEmailComponent } from './Components/MultipleEmailComponent.d.cts';
|
14
|
-
import { MultipleFileComponent } from './Components/MultipleFileComponent.d.cts';
|
15
|
-
import { MultipleTextComponent } from './Components/MultipleTextComponent.d.cts';
|
16
|
-
import { NumberComponent } from './Components/NumberComponent.d.cts';
|
17
|
-
import { TimeComponent } from './Components/TimeComponent.d.cts';
|
18
|
-
import { UrlComponent } from './Components/UrlComponent.d.cts';
|
19
|
-
import { WeekComponent } from './Components/WeekComponent.d.cts';
|
8
|
+
import type { DateTimeComponent } from './Components/DateTimeComponent.d.cts';
|
9
|
+
import type { EmailComponent } from './Components/EmailComponent.d.cts';
|
10
|
+
import type { FileComponent } from './Components/FileComponent.d.cts';
|
11
|
+
import type { MonthComponent } from './Components/MonthComponent.d.cts';
|
12
|
+
import type { MultipleDropdownComponent } from './Components/MultipleDropdownComponent.d.cts';
|
13
|
+
import type { MultipleEmailComponent } from './Components/MultipleEmailComponent.d.cts';
|
14
|
+
import type { MultipleFileComponent } from './Components/MultipleFileComponent.d.cts';
|
15
|
+
import type { MultipleTextComponent } from './Components/MultipleTextComponent.d.cts';
|
16
|
+
import type { NumberComponent } from './Components/NumberComponent.d.cts';
|
17
|
+
import type { TimeComponent } from './Components/TimeComponent.d.cts';
|
18
|
+
import type { UrlComponent } from './Components/UrlComponent.d.cts';
|
19
|
+
import type { WeekComponent } from './Components/WeekComponent.d.cts';
|
20
20
|
/**
|
21
21
|
* Extends the Setting class with additional methods for adding components.
|
22
22
|
*/
|