obsidian-dev-utils 40.1.3 → 40.3.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/CHANGELOG.md +8 -0
- package/dist/lib/cjs/Library.cjs +1 -1
- package/dist/lib/cjs/obsidian/@types/i18next.d.cts +13 -0
- package/dist/lib/cjs/obsidian/Dataview.cjs +6 -4
- package/dist/lib/cjs/obsidian/MetadataCache.cjs +1 -1
- package/dist/lib/cjs/obsidian/Modals/Alert.cjs +3 -2
- package/dist/lib/cjs/obsidian/Modals/Confirm.cjs +4 -3
- package/dist/lib/cjs/obsidian/Modals/Prompt.cjs +4 -3
- package/dist/lib/cjs/obsidian/Plugin/PluginBase.cjs +21 -4
- package/dist/lib/cjs/obsidian/Plugin/PluginBase.d.cts +13 -0
- package/dist/lib/cjs/obsidian/Plugin/PluginTypesBase.cjs +1 -1
- package/dist/lib/cjs/obsidian/Plugin/PluginTypesBase.d.cts +5 -0
- package/dist/lib/cjs/obsidian/VaultEx.cjs +3 -2
- package/dist/lib/cjs/obsidian/i18n/CustomTypeOptionsBase.cjs +25 -0
- package/dist/lib/cjs/obsidian/i18n/CustomTypeOptionsBase.d.cts +31 -0
- package/dist/lib/cjs/obsidian/i18n/DefaultTranslationsBase.cjs +25 -0
- package/dist/lib/cjs/obsidian/i18n/DefaultTranslationsBase.d.cts +21 -0
- package/dist/lib/cjs/obsidian/i18n/i18n.cjs +83 -0
- package/dist/lib/cjs/obsidian/i18n/i18n.d.cts +36 -0
- package/dist/lib/cjs/obsidian/i18n/index.cjs +55 -0
- package/dist/lib/cjs/obsidian/i18n/index.d.cts +4 -0
- package/dist/lib/cjs/obsidian/i18n/locales/en.cjs +51 -0
- package/dist/lib/cjs/obsidian/i18n/locales/en.d.cts +24 -0
- package/dist/lib/cjs/obsidian/i18n/locales/index.cjs +49 -0
- package/dist/lib/cjs/obsidian/i18n/locales/index.d.cts +2 -0
- package/dist/lib/cjs/obsidian/i18n/locales/translationsMap.cjs +43 -0
- package/dist/lib/cjs/obsidian/i18n/locales/translationsMap.d.cts +34 -0
- package/dist/lib/cjs/obsidian/index.cjs +6 -3
- package/dist/lib/cjs/obsidian/index.d.cts +1 -0
- package/dist/lib/esm/Library.mjs +1 -1
- package/dist/lib/esm/obsidian/@types/i18next.d.mts +13 -0
- package/dist/lib/esm/obsidian/Dataview.mjs +6 -4
- package/dist/lib/esm/obsidian/MetadataCache.mjs +1 -1
- package/dist/lib/esm/obsidian/Modals/Alert.mjs +3 -2
- package/dist/lib/esm/obsidian/Modals/Confirm.mjs +4 -3
- package/dist/lib/esm/obsidian/Modals/Prompt.mjs +4 -3
- package/dist/lib/esm/obsidian/Plugin/PluginBase.d.mts +13 -0
- package/dist/lib/esm/obsidian/Plugin/PluginBase.mjs +24 -4
- package/dist/lib/esm/obsidian/Plugin/PluginTypesBase.d.mts +5 -0
- package/dist/lib/esm/obsidian/VaultEx.mjs +3 -2
- package/dist/lib/esm/obsidian/i18n/CustomTypeOptionsBase.d.mts +31 -0
- package/dist/lib/esm/obsidian/i18n/CustomTypeOptionsBase.mjs +9 -0
- package/dist/lib/esm/obsidian/i18n/DefaultTranslationsBase.d.mts +21 -0
- package/dist/lib/esm/obsidian/i18n/DefaultTranslationsBase.mjs +9 -0
- package/dist/lib/esm/obsidian/i18n/i18n.d.mts +36 -0
- package/dist/lib/esm/obsidian/i18n/i18n.mjs +50 -0
- package/dist/lib/esm/obsidian/i18n/index.d.mts +4 -0
- package/dist/lib/esm/obsidian/i18n/index.mjs +18 -0
- package/dist/lib/esm/obsidian/i18n/locales/en.d.mts +24 -0
- package/dist/lib/esm/obsidian/i18n/locales/en.mjs +27 -0
- package/dist/lib/esm/obsidian/i18n/locales/index.d.mts +2 -0
- package/dist/lib/esm/obsidian/i18n/locales/index.mjs +14 -0
- package/dist/lib/esm/obsidian/i18n/locales/translationsMap.d.mts +34 -0
- package/dist/lib/esm/obsidian/i18n/locales/translationsMap.mjs +18 -0
- package/dist/lib/esm/obsidian/index.d.mts +1 -0
- package/dist/lib/esm/obsidian/index.mjs +4 -2
- package/obsidian/@types/i18next/package.json +4 -0
- package/obsidian/i18n/CustomTypeOptionsBase/package.json +6 -0
- package/obsidian/i18n/DefaultTranslationsBase/package.json +6 -0
- package/obsidian/i18n/i18n/package.json +6 -0
- package/obsidian/i18n/index/package.json +6 -0
- package/obsidian/i18n/locales/en/package.json +6 -0
- package/obsidian/i18n/locales/index/package.json +6 -0
- package/obsidian/i18n/locales/package.json +6 -0
- package/obsidian/i18n/locales/translationsMap/package.json +6 -0
- package/obsidian/i18n/package.json +6 -0
- package/package.json +42 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
*
|
|
4
|
+
* This file defines the English translations for the `i18n` module.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The English translations.
|
|
8
|
+
*/
|
|
9
|
+
export declare const en: {
|
|
10
|
+
readonly obsidianDevUtils: {
|
|
11
|
+
readonly buttons: {
|
|
12
|
+
readonly cancel: "Cancel";
|
|
13
|
+
readonly ok: "OK";
|
|
14
|
+
};
|
|
15
|
+
readonly dataview: {
|
|
16
|
+
readonly itemsPerPage: "Items per page:";
|
|
17
|
+
readonly jumpToPage: "Jump to page:";
|
|
18
|
+
};
|
|
19
|
+
readonly notices: {
|
|
20
|
+
readonly attachmentIsStillUsed: "Attachment {{attachmentPath}} is still used by other notes. It will not be deleted.";
|
|
21
|
+
readonly unhandledError: "An unhandled error occurred. Please check the console for more information.";
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
|
3
|
+
if you want to view the source, please visit the github repository of this plugin
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
(function initEsm(){if(globalThis.process){return}const browserProcess={browser:true,cwd(){return"/"},env:{},platform:"android"};globalThis.process=browserProcess})();
|
|
7
|
+
|
|
8
|
+
const en = {
|
|
9
|
+
obsidianDevUtils: {
|
|
10
|
+
buttons: {
|
|
11
|
+
cancel: "Cancel",
|
|
12
|
+
ok: "OK"
|
|
13
|
+
},
|
|
14
|
+
dataview: {
|
|
15
|
+
itemsPerPage: "Items per page:",
|
|
16
|
+
jumpToPage: "Jump to page:"
|
|
17
|
+
},
|
|
18
|
+
notices: {
|
|
19
|
+
attachmentIsStillUsed: "Attachment {{attachmentPath}} is still used by other notes. It will not be deleted.",
|
|
20
|
+
unhandledError: "An unhandled error occurred. Please check the console for more information."
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
export {
|
|
25
|
+
en
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL2kxOG4vbG9jYWxlcy9lbi50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyoqXG4gKiBAcGFja2FnZURvY3VtZW50YXRpb25cbiAqXG4gKiBUaGlzIGZpbGUgZGVmaW5lcyB0aGUgRW5nbGlzaCB0cmFuc2xhdGlvbnMgZm9yIHRoZSBgaTE4bmAgbW9kdWxlLlxuICovXG5cbi8qKlxuICogVGhlIEVuZ2xpc2ggdHJhbnNsYXRpb25zLlxuICovXG5leHBvcnQgY29uc3QgZW4gPSB7XG4gIG9ic2lkaWFuRGV2VXRpbHM6IHtcbiAgICBidXR0b25zOiB7XG4gICAgICBjYW5jZWw6ICdDYW5jZWwnLFxuICAgICAgb2s6ICdPSydcbiAgICB9LFxuICAgIGRhdGF2aWV3OiB7XG4gICAgICBpdGVtc1BlclBhZ2U6ICdJdGVtcyBwZXIgcGFnZTonLFxuICAgICAganVtcFRvUGFnZTogJ0p1bXAgdG8gcGFnZTonXG4gICAgfSxcbiAgICBub3RpY2VzOiB7XG4gICAgICBhdHRhY2htZW50SXNTdGlsbFVzZWQ6ICdBdHRhY2htZW50IHt7YXR0YWNobWVudFBhdGh9fSBpcyBzdGlsbCB1c2VkIGJ5IG90aGVyIG5vdGVzLiBJdCB3aWxsIG5vdCBiZSBkZWxldGVkLicsXG4gICAgICB1bmhhbmRsZWRFcnJvcjogJ0FuIHVuaGFuZGxlZCBlcnJvciBvY2N1cnJlZC4gUGxlYXNlIGNoZWNrIHRoZSBjb25zb2xlIGZvciBtb3JlIGluZm9ybWF0aW9uLidcbiAgICB9XG4gIH1cbn0gYXMgY29uc3Q7XG4iXSwKICAibWFwcGluZ3MiOiAiOzs7Ozs7O0FBU08sTUFBTSxLQUFLO0FBQUEsRUFDaEIsa0JBQWtCO0FBQUEsSUFDaEIsU0FBUztBQUFBLE1BQ1AsUUFBUTtBQUFBLE1BQ1IsSUFBSTtBQUFBLElBQ047QUFBQSxJQUNBLFVBQVU7QUFBQSxNQUNSLGNBQWM7QUFBQSxNQUNkLFlBQVk7QUFBQSxJQUNkO0FBQUEsSUFDQSxTQUFTO0FBQUEsTUFDUCx1QkFBdUI7QUFBQSxNQUN2QixnQkFBZ0I7QUFBQSxJQUNsQjtBQUFBLEVBQ0Y7QUFDRjsiLAogICJuYW1lcyI6IFtdCn0K
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
|
3
|
+
if you want to view the source, please visit the github repository of this plugin
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
(function initEsm(){if(globalThis.process){return}const browserProcess={browser:true,cwd(){return"/"},env:{},platform:"android"};globalThis.process=browserProcess})();
|
|
7
|
+
|
|
8
|
+
import * as en from "./en.mjs";
|
|
9
|
+
import * as translationsMap from "./translationsMap.mjs";
|
|
10
|
+
export {
|
|
11
|
+
en,
|
|
12
|
+
translationsMap
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL2kxOG4vbG9jYWxlcy9pbmRleC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiLyogVEhJUyBJUyBBIEdFTkVSQVRFRC9CVU5ETEVEIEZJTEUgQlkgQlVJTEQgU0NSSVBUICovXG5cbmV4cG9ydCAqIGFzIGVuIGZyb20gJy4vZW4udHMnO1xuZXhwb3J0ICogYXMgdHJhbnNsYXRpb25zTWFwIGZyb20gJy4vdHJhbnNsYXRpb25zTWFwLnRzJztcbiJdLAogICJtYXBwaW5ncyI6ICI7Ozs7Ozs7QUFFQSxZQUFZLFFBQVE7QUFDcEIsWUFBWSxxQkFBcUI7IiwKICAibmFtZXMiOiBbXQp9Cg==
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @packageDocumentation
|
|
3
|
+
*
|
|
4
|
+
* This file defines the translations map for the `i18n` module.
|
|
5
|
+
*/
|
|
6
|
+
import type { PluginTypesBase } from '../../Plugin/PluginTypesBase.mjs';
|
|
7
|
+
import type { TranslationsMap } from '../i18n.mjs';
|
|
8
|
+
/**
|
|
9
|
+
* The default language.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_LANGUAGE: keyof typeof translationsMapImpl;
|
|
12
|
+
declare const translationsMapImpl: {
|
|
13
|
+
readonly en: {
|
|
14
|
+
readonly obsidianDevUtils: {
|
|
15
|
+
readonly buttons: {
|
|
16
|
+
readonly cancel: "Cancel";
|
|
17
|
+
readonly ok: "OK";
|
|
18
|
+
};
|
|
19
|
+
readonly dataview: {
|
|
20
|
+
readonly itemsPerPage: "Items per page:";
|
|
21
|
+
readonly jumpToPage: "Jump to page:";
|
|
22
|
+
};
|
|
23
|
+
readonly notices: {
|
|
24
|
+
readonly attachmentIsStillUsed: "Attachment {{attachmentPath}} is still used by other notes. It will not be deleted.";
|
|
25
|
+
readonly unhandledError: "An unhandled error occurred. Please check the console for more information.";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* The default translations map.
|
|
32
|
+
*/
|
|
33
|
+
export declare const defaultTranslationsMap: TranslationsMap<PluginTypesBase>;
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
|
3
|
+
if you want to view the source, please visit the github repository of this plugin
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
(function initEsm(){if(globalThis.process){return}const browserProcess={browser:true,cwd(){return"/"},env:{},platform:"android"};globalThis.process=browserProcess})();
|
|
7
|
+
|
|
8
|
+
import { en } from "./en.mjs";
|
|
9
|
+
const DEFAULT_LANGUAGE = "en";
|
|
10
|
+
const translationsMapImpl = {
|
|
11
|
+
en
|
|
12
|
+
};
|
|
13
|
+
const defaultTranslationsMap = translationsMapImpl;
|
|
14
|
+
export {
|
|
15
|
+
DEFAULT_LANGUAGE,
|
|
16
|
+
defaultTranslationsMap
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL2kxOG4vbG9jYWxlcy90cmFuc2xhdGlvbnNNYXAudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbIi8qKlxuICogQHBhY2thZ2VEb2N1bWVudGF0aW9uXG4gKlxuICogVGhpcyBmaWxlIGRlZmluZXMgdGhlIHRyYW5zbGF0aW9ucyBtYXAgZm9yIHRoZSBgaTE4bmAgbW9kdWxlLlxuICovXG5cbmltcG9ydCB0eXBlIHsgUGx1Z2luVHlwZXNCYXNlIH0gZnJvbSAnLi4vLi4vUGx1Z2luL1BsdWdpblR5cGVzQmFzZS50cyc7XG5pbXBvcnQgdHlwZSB7IFRyYW5zbGF0aW9uc01hcCB9IGZyb20gJy4uL2kxOG4udHMnO1xuXG5pbXBvcnQgeyBlbiB9IGZyb20gJy4vZW4udHMnO1xuXG4vKipcbiAqIFRoZSBkZWZhdWx0IGxhbmd1YWdlLlxuICovXG5leHBvcnQgY29uc3QgREVGQVVMVF9MQU5HVUFHRToga2V5b2YgdHlwZW9mIHRyYW5zbGF0aW9uc01hcEltcGwgPSAnZW4nO1xuXG5jb25zdCB0cmFuc2xhdGlvbnNNYXBJbXBsID0ge1xuICBlblxufSBhcyBjb25zdDtcblxuLyoqXG4gKiBUaGUgZGVmYXVsdCB0cmFuc2xhdGlvbnMgbWFwLlxuICovXG5leHBvcnQgY29uc3QgZGVmYXVsdFRyYW5zbGF0aW9uc01hcDogVHJhbnNsYXRpb25zTWFwPFBsdWdpblR5cGVzQmFzZT4gPSB0cmFuc2xhdGlvbnNNYXBJbXBsO1xuIl0sCiAgIm1hcHBpbmdzIjogIjs7Ozs7OztBQVNBLFNBQVMsVUFBVTtBQUtaLE1BQU0sbUJBQXFEO0FBRWxFLE1BQU0sc0JBQXNCO0FBQUEsRUFDMUI7QUFDRjtBQUtPLE1BQU0seUJBQTJEOyIsCiAgIm5hbWVzIjogW10KfQo=
|
|
@@ -11,6 +11,7 @@ export * as FileManager from './FileManager.mjs';
|
|
|
11
11
|
export * as FileSystem from './FileSystem.mjs';
|
|
12
12
|
export * as Frontmatter from './Frontmatter.mjs';
|
|
13
13
|
export * as FrontmatterLinkCacheWithOffsets from './FrontmatterLinkCacheWithOffsets.mjs';
|
|
14
|
+
export * as i18n from './i18n/index.mjs';
|
|
14
15
|
export * as Link from './Link.mjs';
|
|
15
16
|
export * as Logger from './Logger.mjs';
|
|
16
17
|
export * as Loop from './Loop.mjs';
|
|
@@ -18,6 +18,7 @@ import * as FileManager from "./FileManager.mjs";
|
|
|
18
18
|
import * as FileSystem from "./FileSystem.mjs";
|
|
19
19
|
import * as Frontmatter from "./Frontmatter.mjs";
|
|
20
20
|
import * as FrontmatterLinkCacheWithOffsets from "./FrontmatterLinkCacheWithOffsets.mjs";
|
|
21
|
+
import * as i18n from "./i18n/index.mjs";
|
|
21
22
|
import * as Link from "./Link.mjs";
|
|
22
23
|
import * as Logger from "./Logger.mjs";
|
|
23
24
|
import * as Loop from "./Loop.mjs";
|
|
@@ -73,6 +74,7 @@ export {
|
|
|
73
74
|
SettingEx,
|
|
74
75
|
Validation,
|
|
75
76
|
Vault,
|
|
76
|
-
VaultEx
|
|
77
|
+
VaultEx,
|
|
78
|
+
i18n
|
|
77
79
|
};
|
|
78
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
80
|
+
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiLi4vLi4vLi4vLi4vc3JjL29ic2lkaWFuL2luZGV4LnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyIvKiBUSElTIElTIEEgR0VORVJBVEVEL0JVTkRMRUQgRklMRSBCWSBCVUlMRCBTQ1JJUFQgKi9cblxuZXhwb3J0ICogYXMgQXBwIGZyb20gJy4vQXBwLnRzJztcbmV4cG9ydCAqIGFzIEF0dGFjaG1lbnRQYXRoIGZyb20gJy4vQXR0YWNobWVudFBhdGgudHMnO1xuZXhwb3J0ICogYXMgQmFja2xpbmsgZnJvbSAnLi9CYWNrbGluay50cyc7XG5leHBvcnQgKiBhcyBDYWxsb3V0IGZyb20gJy4vQ2FsbG91dC50cyc7XG5leHBvcnQgKiBhcyBDb2RlQmxvY2tNYXJrZG93bkluZm9ybWF0aW9uIGZyb20gJy4vQ29kZUJsb2NrTWFya2Rvd25JbmZvcm1hdGlvbi50cyc7XG5leHBvcnQgKiBhcyBDb21wb25lbnRzIGZyb20gJy4vQ29tcG9uZW50cy9pbmRleC50cyc7XG5leHBvcnQgKiBhcyBEYXRhdmlldyBmcm9tICcuL0RhdGF2aWV3LnRzJztcbmV4cG9ydCAqIGFzIERhdGF2aWV3TGluayBmcm9tICcuL0RhdGF2aWV3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UN0QixZQUFZLFVBQVU7QUFDdEIsWUFBWSxZQUFZO0FBQ3hCLFlBQVksVUFBVTtBQUN0QixZQUFZLGNBQWM7QUFDMUIsWUFBWSxnQ0FBZ0M7QUFDNUMsWUFBWSxrQkFBa0I7QUFDOUIsWUFBWSxtQkFBbUI7QUFDL0IsWUFBWSxZQUFZO0FBQ3hCLFlBQVksa0JBQWtCO0FBQzlCLFlBQVksc0JBQXNCO0FBQ2xDLFlBQVksU0FBUztBQUNyQixZQUFZLFlBQVk7QUFDeEIsWUFBWSxXQUFXO0FBQ3ZCLFlBQVksV0FBVztBQUN2QixZQUFZLGVBQWU7QUFDM0IsWUFBWSx5QkFBeUI7QUFDckMsWUFBWSxpQkFBaUI7QUFDN0IsWUFBWSxlQUFlO0FBQzNCLFlBQVksZ0JBQWdCO0FBQzVCLFlBQVksV0FBVztBQUN2QixZQUFZLGFBQWE7IiwKICAibmFtZXMiOiBbXQp9Cg==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "obsidian-dev-utils",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.3.0",
|
|
4
4
|
"description": "This is the collection of useful functions that you can use for your Obsidian plugin development",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"obsidian"
|
|
@@ -408,6 +408,46 @@
|
|
|
408
408
|
"types": "./dist/lib/cjs/obsidian/React/*.d.cts",
|
|
409
409
|
"default": "./dist/lib/cjs/obsidian/React/*.cjs"
|
|
410
410
|
}
|
|
411
|
+
},
|
|
412
|
+
"./obsidian/i18n": {
|
|
413
|
+
"import": {
|
|
414
|
+
"types": "./dist/lib/esm/obsidian/i18n/index.d.mts",
|
|
415
|
+
"default": "./dist/lib/esm/obsidian/i18n/index.mjs"
|
|
416
|
+
},
|
|
417
|
+
"require": {
|
|
418
|
+
"types": "./dist/lib/cjs/obsidian/i18n/index.d.cts",
|
|
419
|
+
"default": "./dist/lib/cjs/obsidian/i18n/index.cjs"
|
|
420
|
+
}
|
|
421
|
+
},
|
|
422
|
+
"./obsidian/i18n/*": {
|
|
423
|
+
"import": {
|
|
424
|
+
"types": "./dist/lib/esm/obsidian/i18n/*.d.mts",
|
|
425
|
+
"default": "./dist/lib/esm/obsidian/i18n/*.mjs"
|
|
426
|
+
},
|
|
427
|
+
"require": {
|
|
428
|
+
"types": "./dist/lib/cjs/obsidian/i18n/*.d.cts",
|
|
429
|
+
"default": "./dist/lib/cjs/obsidian/i18n/*.cjs"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"./obsidian/i18n/locales": {
|
|
433
|
+
"import": {
|
|
434
|
+
"types": "./dist/lib/esm/obsidian/i18n/locales/index.d.mts",
|
|
435
|
+
"default": "./dist/lib/esm/obsidian/i18n/locales/index.mjs"
|
|
436
|
+
},
|
|
437
|
+
"require": {
|
|
438
|
+
"types": "./dist/lib/cjs/obsidian/i18n/locales/index.d.cts",
|
|
439
|
+
"default": "./dist/lib/cjs/obsidian/i18n/locales/index.cjs"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"./obsidian/i18n/locales/*": {
|
|
443
|
+
"import": {
|
|
444
|
+
"types": "./dist/lib/esm/obsidian/i18n/locales/*.d.mts",
|
|
445
|
+
"default": "./dist/lib/esm/obsidian/i18n/locales/*.mjs"
|
|
446
|
+
},
|
|
447
|
+
"require": {
|
|
448
|
+
"types": "./dist/lib/cjs/obsidian/i18n/locales/*.d.cts",
|
|
449
|
+
"default": "./dist/lib/cjs/obsidian/i18n/locales/*.cjs"
|
|
450
|
+
}
|
|
411
451
|
}
|
|
412
452
|
},
|
|
413
453
|
"main": "./dist/lib/cjs/index.cjs",
|
|
@@ -480,6 +520,7 @@
|
|
|
480
520
|
"eslint-plugin-perfectionist": "^4.15.0",
|
|
481
521
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
482
522
|
"glob": "^11.0.3",
|
|
523
|
+
"i18next": "^25.5.2",
|
|
483
524
|
"jiti": "^2.5.1",
|
|
484
525
|
"localforage": "^1.10.0",
|
|
485
526
|
"lru-cache": "^11.1.0",
|