@vocab/vite 0.2.4 → 0.2.5-tsdown-20250922064614
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/dist/chunk-nOFOJqeH.js +30 -0
- package/dist/chunks.d.mts +13 -0
- package/dist/chunks.d.ts +13 -0
- package/dist/chunks.js +36 -0
- package/dist/chunks.js.map +1 -0
- package/dist/chunks.mjs +35 -0
- package/dist/chunks.mjs.map +1 -0
- package/dist/get-chunk-name-BXaBbR1f.js +14 -0
- package/dist/get-chunk-name-BXaBbR1f.js.map +1 -0
- package/dist/get-chunk-name-C-VEd843.mjs +8 -0
- package/dist/get-chunk-name-C-VEd843.mjs.map +1 -0
- package/dist/get-chunk-name-CLQqsYYm.d.ts +5 -0
- package/dist/get-chunk-name-CogJ8I9H.d.mts +5 -0
- package/dist/get-chunk-name.d.mts +2 -0
- package/dist/get-chunk-name.d.ts +2 -0
- package/dist/get-chunk-name.js +3 -0
- package/dist/get-chunk-name.mjs +3 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +111 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +107 -0
- package/dist/index.mjs.map +1 -0
- package/dist/logger-BBoxZFcH.js +16 -0
- package/dist/logger-BBoxZFcH.js.map +1 -0
- package/dist/logger-OmOg8OXO.mjs +9 -0
- package/dist/logger-OmOg8OXO.mjs.map +1 -0
- package/dist/runtime.d.mts +8 -0
- package/dist/runtime.d.ts +8 -0
- package/dist/runtime.js +36 -0
- package/dist/runtime.js.map +1 -0
- package/dist/runtime.mjs +27 -0
- package/dist/runtime.mjs.map +1 -0
- package/package.json +19 -23
- package/README.md +0 -827
- package/chunks/dist/vocab-vite-chunks.cjs.d.ts +0 -2
- package/chunks/dist/vocab-vite-chunks.cjs.dev.js +0 -57
- package/chunks/dist/vocab-vite-chunks.cjs.js +0 -7
- package/chunks/dist/vocab-vite-chunks.cjs.prod.js +0 -57
- package/chunks/dist/vocab-vite-chunks.esm.js +0 -52
- package/chunks/package.json +0 -4
- package/dist/declarations/src/chunks.d.ts +0 -2
- package/dist/declarations/src/create-language.d.ts +0 -2
- package/dist/declarations/src/create-vocab-chunks.d.ts +0 -5
- package/dist/declarations/src/get-chunk-name.d.ts +0 -1
- package/dist/declarations/src/index.d.ts +0 -6
- package/dist/declarations/src/runtime.d.ts +0 -2
- package/dist/logger-0d92b2c5.cjs.prod.js +0 -12
- package/dist/logger-3e3dccee.cjs.dev.js +0 -12
- package/dist/logger-e3a4b043.esm.js +0 -6
- package/dist/vocab-vite.cjs.d.ts +0 -3
- package/dist/vocab-vite.cjs.dev.js +0 -148
- package/dist/vocab-vite.cjs.js +0 -7
- package/dist/vocab-vite.cjs.prod.js +0 -148
- package/dist/vocab-vite.esm.js +0 -123
- package/runtime/dist/vocab-vite-runtime.cjs.d.ts +0 -2
- package/runtime/dist/vocab-vite-runtime.cjs.dev.js +0 -34
- package/runtime/dist/vocab-vite-runtime.cjs.js +0 -7
- package/runtime/dist/vocab-vite-runtime.cjs.prod.js +0 -34
- package/runtime/dist/vocab-vite-runtime.esm.js +0 -26
- package/runtime/package.json +0 -4
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "../../dist/declarations/src/runtime.js";
|
|
2
|
-
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9jYWItdml0ZS1ydW50aW1lLmNqcy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZGlzdC9kZWNsYXJhdGlvbnMvc3JjL3J1bnRpbWUuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var translationFile = require('@vocab/core/translation-file');
|
|
6
|
-
var icuHandler = require('@vocab/core/icu-handler');
|
|
7
|
-
|
|
8
|
-
const createLanguage = loadImport => {
|
|
9
|
-
let promiseValue;
|
|
10
|
-
let resolvedValue;
|
|
11
|
-
return {
|
|
12
|
-
getValue: locale => {
|
|
13
|
-
if (!resolvedValue) {
|
|
14
|
-
return undefined;
|
|
15
|
-
}
|
|
16
|
-
return icuHandler.getParsedICUMessages(resolvedValue, locale);
|
|
17
|
-
},
|
|
18
|
-
load: () => {
|
|
19
|
-
if (!promiseValue) {
|
|
20
|
-
promiseValue = loadImport();
|
|
21
|
-
promiseValue.then(value => {
|
|
22
|
-
resolvedValue = value.default;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return promiseValue;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, 'createTranslationFile', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return translationFile.createTranslationFile; }
|
|
33
|
-
});
|
|
34
|
-
exports.createLanguage = createLanguage;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var translationFile = require('@vocab/core/translation-file');
|
|
6
|
-
var icuHandler = require('@vocab/core/icu-handler');
|
|
7
|
-
|
|
8
|
-
const createLanguage = loadImport => {
|
|
9
|
-
let promiseValue;
|
|
10
|
-
let resolvedValue;
|
|
11
|
-
return {
|
|
12
|
-
getValue: locale => {
|
|
13
|
-
if (!resolvedValue) {
|
|
14
|
-
return undefined;
|
|
15
|
-
}
|
|
16
|
-
return icuHandler.getParsedICUMessages(resolvedValue, locale);
|
|
17
|
-
},
|
|
18
|
-
load: () => {
|
|
19
|
-
if (!promiseValue) {
|
|
20
|
-
promiseValue = loadImport();
|
|
21
|
-
promiseValue.then(value => {
|
|
22
|
-
resolvedValue = value.default;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return promiseValue;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, 'createTranslationFile', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () { return translationFile.createTranslationFile; }
|
|
33
|
-
});
|
|
34
|
-
exports.createLanguage = createLanguage;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export { createTranslationFile } from '@vocab/core/translation-file';
|
|
2
|
-
import { getParsedICUMessages } from '@vocab/core/icu-handler';
|
|
3
|
-
|
|
4
|
-
const createLanguage = loadImport => {
|
|
5
|
-
let promiseValue;
|
|
6
|
-
let resolvedValue;
|
|
7
|
-
return {
|
|
8
|
-
getValue: locale => {
|
|
9
|
-
if (!resolvedValue) {
|
|
10
|
-
return undefined;
|
|
11
|
-
}
|
|
12
|
-
return getParsedICUMessages(resolvedValue, locale);
|
|
13
|
-
},
|
|
14
|
-
load: () => {
|
|
15
|
-
if (!promiseValue) {
|
|
16
|
-
promiseValue = loadImport();
|
|
17
|
-
promiseValue.then(value => {
|
|
18
|
-
resolvedValue = value.default;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return promiseValue;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { createLanguage };
|
package/runtime/package.json
DELETED