@eigenpal/docx-editor-i18n 0.0.0 → 1.0.1

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/index.js CHANGED
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  createT: () => createT,
24
24
  de: () => de,
25
25
  deepMerge: () => deepMerge,
@@ -31,7 +31,7 @@ __export(src_exports, {
31
31
  tr: () => tr,
32
32
  zhCN: () => zhCN
33
33
  });
34
- module.exports = __toCommonJS(src_exports);
34
+ module.exports = __toCommonJS(index_exports);
35
35
 
36
36
  // en.json
37
37
  var en_default = {
package/dist/pl.d.mts ADDED
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @eigenpal/docx-editor-i18n/pl
3
+ *
4
+ * Polish (`pl`) — direct locale subpath for per-locale code-splitting.
5
+ *
6
+ * ```ts
7
+ * // Static — bundler ships only this locale's strings
8
+ * import pl from '@eigenpal/docx-editor-i18n/pl';
9
+ *
10
+ * // Dynamic — splits into its own chunk, loaded on demand
11
+ * const pl = (await import('@eigenpal/docx-editor-i18n/pl')).default;
12
+ * ```
13
+ *
14
+ * For multi-locale apps, prefer the per-locale subpaths over importing
15
+ * `locales` from the package root — `locales` pulls every locale into
16
+ * the bundle.
17
+ *
18
+ * @packageDocumentation
19
+ * @public
20
+ */
21
+ import { PartialLocaleStrings } from './index.mjs';
22
+
23
+ /**
24
+ * Polish (`pl`) locale strings. Community-maintained; null leaves fall back to English.
25
+ *
26
+ * Identical content to the named `pl` export from the package root;
27
+ * this subpath just lets bundlers code-split it.
28
+ *
29
+ * @public
30
+ */
31
+ declare const pl: PartialLocaleStrings;
32
+
33
+ export { pl as default, pl };
package/dist/pl.d.ts ADDED
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @eigenpal/docx-editor-i18n/pl
3
+ *
4
+ * Polish (`pl`) — direct locale subpath for per-locale code-splitting.
5
+ *
6
+ * ```ts
7
+ * // Static — bundler ships only this locale's strings
8
+ * import pl from '@eigenpal/docx-editor-i18n/pl';
9
+ *
10
+ * // Dynamic — splits into its own chunk, loaded on demand
11
+ * const pl = (await import('@eigenpal/docx-editor-i18n/pl')).default;
12
+ * ```
13
+ *
14
+ * For multi-locale apps, prefer the per-locale subpaths over importing
15
+ * `locales` from the package root — `locales` pulls every locale into
16
+ * the bundle.
17
+ *
18
+ * @packageDocumentation
19
+ * @public
20
+ */
21
+ import { PartialLocaleStrings } from './index.js';
22
+
23
+ /**
24
+ * Polish (`pl`) locale strings. Community-maintained; null leaves fall back to English.
25
+ *
26
+ * Identical content to the named `pl` export from the package root;
27
+ * this subpath just lets bundlers code-split it.
28
+ *
29
+ * @public
30
+ */
31
+ declare const pl: PartialLocaleStrings;
32
+
33
+ export { pl as default, pl };