@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.
Files changed (61) hide show
  1. package/dist/chunk-nOFOJqeH.js +30 -0
  2. package/dist/chunks.d.mts +13 -0
  3. package/dist/chunks.d.ts +13 -0
  4. package/dist/chunks.js +36 -0
  5. package/dist/chunks.js.map +1 -0
  6. package/dist/chunks.mjs +35 -0
  7. package/dist/chunks.mjs.map +1 -0
  8. package/dist/get-chunk-name-BXaBbR1f.js +14 -0
  9. package/dist/get-chunk-name-BXaBbR1f.js.map +1 -0
  10. package/dist/get-chunk-name-C-VEd843.mjs +8 -0
  11. package/dist/get-chunk-name-C-VEd843.mjs.map +1 -0
  12. package/dist/get-chunk-name-CLQqsYYm.d.ts +5 -0
  13. package/dist/get-chunk-name-CogJ8I9H.d.mts +5 -0
  14. package/dist/get-chunk-name.d.mts +2 -0
  15. package/dist/get-chunk-name.d.ts +2 -0
  16. package/dist/get-chunk-name.js +3 -0
  17. package/dist/get-chunk-name.mjs +3 -0
  18. package/dist/index.d.mts +13 -0
  19. package/dist/index.d.ts +13 -0
  20. package/dist/index.js +111 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/index.mjs +107 -0
  23. package/dist/index.mjs.map +1 -0
  24. package/dist/logger-BBoxZFcH.js +16 -0
  25. package/dist/logger-BBoxZFcH.js.map +1 -0
  26. package/dist/logger-OmOg8OXO.mjs +9 -0
  27. package/dist/logger-OmOg8OXO.mjs.map +1 -0
  28. package/dist/runtime.d.mts +8 -0
  29. package/dist/runtime.d.ts +8 -0
  30. package/dist/runtime.js +36 -0
  31. package/dist/runtime.js.map +1 -0
  32. package/dist/runtime.mjs +27 -0
  33. package/dist/runtime.mjs.map +1 -0
  34. package/package.json +19 -23
  35. package/README.md +0 -827
  36. package/chunks/dist/vocab-vite-chunks.cjs.d.ts +0 -2
  37. package/chunks/dist/vocab-vite-chunks.cjs.dev.js +0 -57
  38. package/chunks/dist/vocab-vite-chunks.cjs.js +0 -7
  39. package/chunks/dist/vocab-vite-chunks.cjs.prod.js +0 -57
  40. package/chunks/dist/vocab-vite-chunks.esm.js +0 -52
  41. package/chunks/package.json +0 -4
  42. package/dist/declarations/src/chunks.d.ts +0 -2
  43. package/dist/declarations/src/create-language.d.ts +0 -2
  44. package/dist/declarations/src/create-vocab-chunks.d.ts +0 -5
  45. package/dist/declarations/src/get-chunk-name.d.ts +0 -1
  46. package/dist/declarations/src/index.d.ts +0 -6
  47. package/dist/declarations/src/runtime.d.ts +0 -2
  48. package/dist/logger-0d92b2c5.cjs.prod.js +0 -12
  49. package/dist/logger-3e3dccee.cjs.dev.js +0 -12
  50. package/dist/logger-e3a4b043.esm.js +0 -6
  51. package/dist/vocab-vite.cjs.d.ts +0 -3
  52. package/dist/vocab-vite.cjs.dev.js +0 -148
  53. package/dist/vocab-vite.cjs.js +0 -7
  54. package/dist/vocab-vite.cjs.prod.js +0 -148
  55. package/dist/vocab-vite.esm.js +0 -123
  56. package/runtime/dist/vocab-vite-runtime.cjs.d.ts +0 -2
  57. package/runtime/dist/vocab-vite-runtime.cjs.dev.js +0 -34
  58. package/runtime/dist/vocab-vite-runtime.cjs.js +0 -7
  59. package/runtime/dist/vocab-vite-runtime.cjs.prod.js +0 -34
  60. package/runtime/dist/vocab-vite-runtime.esm.js +0 -26
  61. 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,7 +0,0 @@
1
- 'use strict';
2
-
3
- if (process.env.NODE_ENV === "production") {
4
- module.exports = require("./vocab-vite-runtime.cjs.prod.js");
5
- } else {
6
- module.exports = require("./vocab-vite-runtime.cjs.dev.js");
7
- }
@@ -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 };
@@ -1,4 +0,0 @@
1
- {
2
- "main": "dist/vocab-vite-runtime.cjs.js",
3
- "module": "dist/vocab-vite-runtime.esm.js"
4
- }