gantt-renderer 0.12.11 → 0.12.13

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 (54) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/index.d.mts +29 -16
  3. package/dist/index.mjs +5 -3
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/locales/all.d.mts +0 -1
  6. package/dist/locales/ar.d.mts +0 -1
  7. package/dist/locales/be.d.mts +0 -1
  8. package/dist/locales/bg.d.mts +0 -1
  9. package/dist/locales/ca.d.mts +0 -1
  10. package/dist/locales/cs.d.mts +0 -1
  11. package/dist/locales/cy.d.mts +0 -1
  12. package/dist/locales/da.d.mts +0 -1
  13. package/dist/locales/de.d.mts +0 -1
  14. package/dist/locales/el.d.mts +0 -1
  15. package/dist/locales/en.d.mts +0 -1
  16. package/dist/locales/es.d.mts +0 -1
  17. package/dist/locales/et.d.mts +0 -1
  18. package/dist/locales/eu.d.mts +0 -1
  19. package/dist/locales/fi.d.mts +0 -1
  20. package/dist/locales/fr.d.mts +0 -1
  21. package/dist/locales/ga.d.mts +0 -1
  22. package/dist/locales/hi.d.mts +0 -1
  23. package/dist/locales/hr.d.mts +0 -1
  24. package/dist/locales/hu.d.mts +0 -1
  25. package/dist/locales/id.d.mts +0 -1
  26. package/dist/locales/it.d.mts +0 -1
  27. package/dist/locales/ja.d.mts +0 -1
  28. package/dist/locales/ko.d.mts +0 -1
  29. package/dist/locales/load.d.mts +0 -1
  30. package/dist/locales/load.mjs +132 -44
  31. package/dist/locales/load.mjs.map +1 -1
  32. package/dist/locales/lt.d.mts +0 -1
  33. package/dist/locales/lv.d.mts +0 -1
  34. package/dist/locales/mk.d.mts +0 -1
  35. package/dist/locales/mt.d.mts +0 -1
  36. package/dist/locales/nb.d.mts +0 -1
  37. package/dist/locales/nl.d.mts +0 -1
  38. package/dist/locales/pl.d.mts +0 -1
  39. package/dist/locales/pt-BR.d.mts +0 -1
  40. package/dist/locales/pt-PT.d.mts +0 -1
  41. package/dist/locales/registry.d.mts +0 -1
  42. package/dist/locales/ro.d.mts +0 -1
  43. package/dist/locales/ru.d.mts +0 -1
  44. package/dist/locales/sk.d.mts +0 -1
  45. package/dist/locales/sl.d.mts +0 -1
  46. package/dist/locales/sq.d.mts +0 -1
  47. package/dist/locales/sr.d.mts +0 -1
  48. package/dist/locales/sv.d.mts +0 -1
  49. package/dist/locales/th.d.mts +0 -1
  50. package/dist/locales/tr.d.mts +0 -1
  51. package/dist/locales/uk.d.mts +0 -1
  52. package/dist/locales/zh-Hans.d.mts +0 -1
  53. package/dist/locales/zh-Hant.d.mts +0 -1
  54. package/package.json +18 -18
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/all.d.ts
4
3
  declare const ALL_LOCALES: Map<string, ChartLocale>;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ar.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/be.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/bg.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ca.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/cs.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/cy.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/da.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/de.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/el.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/en.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/es.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/et.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/eu.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/fi.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/fr.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ga.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/hi.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/hr.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/hu.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/id.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/it.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ja.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ko.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/loadLocale.d.ts
4
3
  declare const SUPPORTED_LOCALE_CODES: string[];
5
4
  declare function loadLocale(code: string): Promise<ChartLocale>;
@@ -1,49 +1,137 @@
1
1
  //#region src/lib/locales/loadLocale.ts
2
2
  const _importMap = {
3
- en: async () => await import("./en.mjs"),
4
- "zh-Hans": async () => await import("./zh-Hans.mjs"),
5
- "zh-Hant": async () => await import("./zh-Hant.mjs"),
6
- es: async () => await import("./es.mjs"),
7
- "pt-BR": async () => await import("./pt-BR.mjs"),
8
- "pt-PT": async () => await import("./pt-PT.mjs"),
9
- fr: async () => await import("./fr.mjs"),
10
- de: async () => await import("./de.mjs"),
11
- ru: async () => await import("./ru.mjs"),
12
- ja: async () => await import("./ja.mjs"),
13
- ko: async () => await import("./ko.mjs"),
14
- ar: async () => await import("./ar.mjs"),
15
- hi: async () => await import("./hi.mjs"),
16
- id: async () => await import("./id.mjs"),
17
- th: async () => await import("./th.mjs"),
18
- tr: async () => await import("./tr.mjs"),
19
- it: async () => await import("./it.mjs"),
20
- pl: async () => await import("./pl.mjs"),
21
- nl: async () => await import("./nl.mjs"),
22
- sv: async () => await import("./sv.mjs"),
23
- da: async () => await import("./da.mjs"),
24
- nb: async () => await import("./nb.mjs"),
25
- fi: async () => await import("./fi.mjs"),
26
- uk: async () => await import("./uk.mjs"),
27
- ro: async () => await import("./ro.mjs"),
28
- cs: async () => await import("./cs.mjs"),
29
- hu: async () => await import("./hu.mjs"),
30
- el: async () => await import("./el.mjs"),
31
- sk: async () => await import("./sk.mjs"),
32
- bg: async () => await import("./bg.mjs"),
33
- hr: async () => await import("./hr.mjs"),
34
- sr: async () => await import("./sr.mjs"),
35
- lt: async () => await import("./lt.mjs"),
36
- lv: async () => await import("./lv.mjs"),
37
- et: async () => await import("./et.mjs"),
38
- sl: async () => await import("./sl.mjs"),
39
- be: async () => await import("./be.mjs"),
40
- sq: async () => await import("./sq.mjs"),
41
- mk: async () => await import("./mk.mjs"),
42
- ca: async () => await import("./ca.mjs"),
43
- eu: async () => await import("./eu.mjs"),
44
- cy: async () => await import("./cy.mjs"),
45
- ga: async () => await import("./ga.mjs"),
46
- mt: async () => await import("./mt.mjs")
3
+ en: async () => {
4
+ return await import("./en.mjs");
5
+ },
6
+ "zh-Hans": async () => {
7
+ return await import("./zh-Hans.mjs");
8
+ },
9
+ "zh-Hant": async () => {
10
+ return await import("./zh-Hant.mjs");
11
+ },
12
+ es: async () => {
13
+ return await import("./es.mjs");
14
+ },
15
+ "pt-BR": async () => {
16
+ return await import("./pt-BR.mjs");
17
+ },
18
+ "pt-PT": async () => {
19
+ return await import("./pt-PT.mjs");
20
+ },
21
+ fr: async () => {
22
+ return await import("./fr.mjs");
23
+ },
24
+ de: async () => {
25
+ return await import("./de.mjs");
26
+ },
27
+ ru: async () => {
28
+ return await import("./ru.mjs");
29
+ },
30
+ ja: async () => {
31
+ return await import("./ja.mjs");
32
+ },
33
+ ko: async () => {
34
+ return await import("./ko.mjs");
35
+ },
36
+ ar: async () => {
37
+ return await import("./ar.mjs");
38
+ },
39
+ hi: async () => {
40
+ return await import("./hi.mjs");
41
+ },
42
+ id: async () => {
43
+ return await import("./id.mjs");
44
+ },
45
+ th: async () => {
46
+ return await import("./th.mjs");
47
+ },
48
+ tr: async () => {
49
+ return await import("./tr.mjs");
50
+ },
51
+ it: async () => {
52
+ return await import("./it.mjs");
53
+ },
54
+ pl: async () => {
55
+ return await import("./pl.mjs");
56
+ },
57
+ nl: async () => {
58
+ return await import("./nl.mjs");
59
+ },
60
+ sv: async () => {
61
+ return await import("./sv.mjs");
62
+ },
63
+ da: async () => {
64
+ return await import("./da.mjs");
65
+ },
66
+ nb: async () => {
67
+ return await import("./nb.mjs");
68
+ },
69
+ fi: async () => {
70
+ return await import("./fi.mjs");
71
+ },
72
+ uk: async () => {
73
+ return await import("./uk.mjs");
74
+ },
75
+ ro: async () => {
76
+ return await import("./ro.mjs");
77
+ },
78
+ cs: async () => {
79
+ return await import("./cs.mjs");
80
+ },
81
+ hu: async () => {
82
+ return await import("./hu.mjs");
83
+ },
84
+ el: async () => {
85
+ return await import("./el.mjs");
86
+ },
87
+ sk: async () => {
88
+ return await import("./sk.mjs");
89
+ },
90
+ bg: async () => {
91
+ return await import("./bg.mjs");
92
+ },
93
+ hr: async () => {
94
+ return await import("./hr.mjs");
95
+ },
96
+ sr: async () => {
97
+ return await import("./sr.mjs");
98
+ },
99
+ lt: async () => {
100
+ return await import("./lt.mjs");
101
+ },
102
+ lv: async () => {
103
+ return await import("./lv.mjs");
104
+ },
105
+ et: async () => {
106
+ return await import("./et.mjs");
107
+ },
108
+ sl: async () => {
109
+ return await import("./sl.mjs");
110
+ },
111
+ be: async () => {
112
+ return await import("./be.mjs");
113
+ },
114
+ sq: async () => {
115
+ return await import("./sq.mjs");
116
+ },
117
+ mk: async () => {
118
+ return await import("./mk.mjs");
119
+ },
120
+ ca: async () => {
121
+ return await import("./ca.mjs");
122
+ },
123
+ eu: async () => {
124
+ return await import("./eu.mjs");
125
+ },
126
+ cy: async () => {
127
+ return await import("./cy.mjs");
128
+ },
129
+ ga: async () => {
130
+ return await import("./ga.mjs");
131
+ },
132
+ mt: async () => {
133
+ return await import("./mt.mjs");
134
+ }
47
135
  };
48
136
  const SUPPORTED_LOCALE_CODES = Object.keys(_importMap);
49
137
  async function loadLocale(code) {
@@ -1 +1 @@
1
- {"version":3,"file":"load.mjs","names":[],"sources":["../../src/lib/locales/loadLocale.ts"],"sourcesContent":["import {type ChartLocale} from '../locale.ts';\n\ntype LocaleImport = {CHART_LOCALE: ChartLocale};\n\nconst _importMap: Record<string, () => Promise<LocaleImport>> = {\n\ten: async () => (await import('./en.ts')) as unknown as LocaleImport,\n\t'zh-Hans': async () => (await import('./zh-Hans.ts')) as unknown as LocaleImport,\n\t'zh-Hant': async () => (await import('./zh-Hant.ts')) as unknown as LocaleImport,\n\tes: async () => (await import('./es.ts')) as unknown as LocaleImport,\n\t'pt-BR': async () => (await import('./pt-BR.ts')) as unknown as LocaleImport,\n\t'pt-PT': async () => (await import('./pt-PT.ts')) as unknown as LocaleImport,\n\tfr: async () => (await import('./fr.ts')) as unknown as LocaleImport,\n\tde: async () => (await import('./de.ts')) as unknown as LocaleImport,\n\tru: async () => (await import('./ru.ts')) as unknown as LocaleImport,\n\tja: async () => (await import('./ja.ts')) as unknown as LocaleImport,\n\tko: async () => (await import('./ko.ts')) as unknown as LocaleImport,\n\tar: async () => (await import('./ar.ts')) as unknown as LocaleImport,\n\thi: async () => (await import('./hi.ts')) as unknown as LocaleImport,\n\tid: async () => (await import('./id.ts')) as unknown as LocaleImport,\n\tth: async () => (await import('./th.ts')) as unknown as LocaleImport,\n\ttr: async () => (await import('./tr.ts')) as unknown as LocaleImport,\n\tit: async () => (await import('./it.ts')) as unknown as LocaleImport,\n\tpl: async () => (await import('./pl.ts')) as unknown as LocaleImport,\n\tnl: async () => (await import('./nl.ts')) as unknown as LocaleImport,\n\tsv: async () => (await import('./sv.ts')) as unknown as LocaleImport,\n\tda: async () => (await import('./da.ts')) as unknown as LocaleImport,\n\tnb: async () => (await import('./nb.ts')) as unknown as LocaleImport,\n\tfi: async () => (await import('./fi.ts')) as unknown as LocaleImport,\n\tuk: async () => (await import('./uk.ts')) as unknown as LocaleImport,\n\tro: async () => (await import('./ro.ts')) as unknown as LocaleImport,\n\tcs: async () => (await import('./cs.ts')) as unknown as LocaleImport,\n\thu: async () => (await import('./hu.ts')) as unknown as LocaleImport,\n\tel: async () => (await import('./el.ts')) as unknown as LocaleImport,\n\tsk: async () => (await import('./sk.ts')) as unknown as LocaleImport,\n\tbg: async () => (await import('./bg.ts')) as unknown as LocaleImport,\n\thr: async () => (await import('./hr.ts')) as unknown as LocaleImport,\n\tsr: async () => (await import('./sr.ts')) as unknown as LocaleImport,\n\tlt: async () => (await import('./lt.ts')) as unknown as LocaleImport,\n\tlv: async () => (await import('./lv.ts')) as unknown as LocaleImport,\n\tet: async () => (await import('./et.ts')) as unknown as LocaleImport,\n\tsl: async () => (await import('./sl.ts')) as unknown as LocaleImport,\n\tbe: async () => (await import('./be.ts')) as unknown as LocaleImport,\n\tsq: async () => (await import('./sq.ts')) as unknown as LocaleImport,\n\tmk: async () => (await import('./mk.ts')) as unknown as LocaleImport,\n\tca: async () => (await import('./ca.ts')) as unknown as LocaleImport,\n\teu: async () => (await import('./eu.ts')) as unknown as LocaleImport,\n\tcy: async () => (await import('./cy.ts')) as unknown as LocaleImport,\n\tga: async () => (await import('./ga.ts')) as unknown as LocaleImport,\n\tmt: async () => (await import('./mt.ts')) as unknown as LocaleImport,\n};\n\nexport const SUPPORTED_LOCALE_CODES = Object.keys(_importMap);\n\nexport async function loadLocale(code: string): Promise<ChartLocale> {\n\tconst loader = _importMap[code];\n\tif (loader === undefined) {\n\t\tthrow new Error(`Unsupported locale: ${code}`);\n\t}\n\tconst mod = await loader();\n\treturn mod.CHART_LOCALE;\n}\n"],"mappings":";AAIA,MAAM,aAA0D;CAC/D,IAAI,YAAa,MAAM,OAAO;CAC9B,WAAW,YAAa,MAAM,OAAO;CACrC,WAAW,YAAa,MAAM,OAAO;CACrC,IAAI,YAAa,MAAM,OAAO;CAC9B,SAAS,YAAa,MAAM,OAAO;CACnC,SAAS,YAAa,MAAM,OAAO;CACnC,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;CAC9B,IAAI,YAAa,MAAM,OAAO;AAC/B;AAEA,MAAa,yBAAyB,OAAO,KAAK,UAAU;AAE5D,eAAsB,WAAW,MAAoC;CACpE,MAAM,SAAS,WAAW;CAC1B,IAAI,WAAW,KAAA,GACd,MAAM,IAAI,MAAM,uBAAuB,MAAM;CAG9C,QAAO,MADW,OAAO,EAAA,CACd;AACZ"}
1
+ {"version":3,"file":"load.mjs","names":[],"sources":["../../src/lib/locales/loadLocale.ts"],"sourcesContent":["import {type ChartLocale} from '../locale.ts';\n\ntype LocaleImport = {CHART_LOCALE: ChartLocale};\n\nconst _importMap: Record<string, () => Promise<LocaleImport>> = {\n\ten: async () => {\n\t\tconst mod = await import('./en.ts');\n\t\treturn mod;\n\t},\n\t'zh-Hans': async () => {\n\t\tconst mod = await import('./zh-Hans.ts');\n\t\treturn mod;\n\t},\n\t'zh-Hant': async () => {\n\t\tconst mod = await import('./zh-Hant.ts');\n\t\treturn mod;\n\t},\n\tes: async () => {\n\t\tconst mod = await import('./es.ts');\n\t\treturn mod;\n\t},\n\t'pt-BR': async () => {\n\t\tconst mod = await import('./pt-BR.ts');\n\t\treturn mod;\n\t},\n\t'pt-PT': async () => {\n\t\tconst mod = await import('./pt-PT.ts');\n\t\treturn mod;\n\t},\n\tfr: async () => {\n\t\tconst mod = await import('./fr.ts');\n\t\treturn mod;\n\t},\n\tde: async () => {\n\t\tconst mod = await import('./de.ts');\n\t\treturn mod;\n\t},\n\tru: async () => {\n\t\tconst mod = await import('./ru.ts');\n\t\treturn mod;\n\t},\n\tja: async () => {\n\t\tconst mod = await import('./ja.ts');\n\t\treturn mod;\n\t},\n\tko: async () => {\n\t\tconst mod = await import('./ko.ts');\n\t\treturn mod;\n\t},\n\tar: async () => {\n\t\tconst mod = await import('./ar.ts');\n\t\treturn mod;\n\t},\n\thi: async () => {\n\t\tconst mod = await import('./hi.ts');\n\t\treturn mod;\n\t},\n\tid: async () => {\n\t\tconst mod = await import('./id.ts');\n\t\treturn mod;\n\t},\n\tth: async () => {\n\t\tconst mod = await import('./th.ts');\n\t\treturn mod;\n\t},\n\ttr: async () => {\n\t\tconst mod = await import('./tr.ts');\n\t\treturn mod;\n\t},\n\tit: async () => {\n\t\tconst mod = await import('./it.ts');\n\t\treturn mod;\n\t},\n\tpl: async () => {\n\t\tconst mod = await import('./pl.ts');\n\t\treturn mod;\n\t},\n\tnl: async () => {\n\t\tconst mod = await import('./nl.ts');\n\t\treturn mod;\n\t},\n\tsv: async () => {\n\t\tconst mod = await import('./sv.ts');\n\t\treturn mod;\n\t},\n\tda: async () => {\n\t\tconst mod = await import('./da.ts');\n\t\treturn mod;\n\t},\n\tnb: async () => {\n\t\tconst mod = await import('./nb.ts');\n\t\treturn mod;\n\t},\n\tfi: async () => {\n\t\tconst mod = await import('./fi.ts');\n\t\treturn mod;\n\t},\n\tuk: async () => {\n\t\tconst mod = await import('./uk.ts');\n\t\treturn mod;\n\t},\n\tro: async () => {\n\t\tconst mod = await import('./ro.ts');\n\t\treturn mod;\n\t},\n\tcs: async () => {\n\t\tconst mod = await import('./cs.ts');\n\t\treturn mod;\n\t},\n\thu: async () => {\n\t\tconst mod = await import('./hu.ts');\n\t\treturn mod;\n\t},\n\tel: async () => {\n\t\tconst mod = await import('./el.ts');\n\t\treturn mod;\n\t},\n\tsk: async () => {\n\t\tconst mod = await import('./sk.ts');\n\t\treturn mod;\n\t},\n\tbg: async () => {\n\t\tconst mod = await import('./bg.ts');\n\t\treturn mod;\n\t},\n\thr: async () => {\n\t\tconst mod = await import('./hr.ts');\n\t\treturn mod;\n\t},\n\tsr: async () => {\n\t\tconst mod = await import('./sr.ts');\n\t\treturn mod;\n\t},\n\tlt: async () => {\n\t\tconst mod = await import('./lt.ts');\n\t\treturn mod;\n\t},\n\tlv: async () => {\n\t\tconst mod = await import('./lv.ts');\n\t\treturn mod;\n\t},\n\tet: async () => {\n\t\tconst mod = await import('./et.ts');\n\t\treturn mod;\n\t},\n\tsl: async () => {\n\t\tconst mod = await import('./sl.ts');\n\t\treturn mod;\n\t},\n\tbe: async () => {\n\t\tconst mod = await import('./be.ts');\n\t\treturn mod;\n\t},\n\tsq: async () => {\n\t\tconst mod = await import('./sq.ts');\n\t\treturn mod;\n\t},\n\tmk: async () => {\n\t\tconst mod = await import('./mk.ts');\n\t\treturn mod;\n\t},\n\tca: async () => {\n\t\tconst mod = await import('./ca.ts');\n\t\treturn mod;\n\t},\n\teu: async () => {\n\t\tconst mod = await import('./eu.ts');\n\t\treturn mod;\n\t},\n\tcy: async () => {\n\t\tconst mod = await import('./cy.ts');\n\t\treturn mod;\n\t},\n\tga: async () => {\n\t\tconst mod = await import('./ga.ts');\n\t\treturn mod;\n\t},\n\tmt: async () => {\n\t\tconst mod = await import('./mt.ts');\n\t\treturn mod;\n\t},\n};\n\nexport const SUPPORTED_LOCALE_CODES = Object.keys(_importMap);\n\nexport async function loadLocale(code: string): Promise<ChartLocale> {\n\tconst loader = _importMap[code];\n\tif (loader === undefined) {\n\t\tthrow new Error(`Unsupported locale: ${code}`);\n\t}\n\tconst mod = await loader();\n\treturn mod.CHART_LOCALE;\n}\n"],"mappings":";AAIA,MAAM,aAA0D;CAC/D,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,WAAW,YAAY;EAEtB,OAAO,MADW,OAAO;CAE1B;CACA,WAAW,YAAY;EAEtB,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,SAAS,YAAY;EAEpB,OAAO,MADW,OAAO;CAE1B;CACA,SAAS,YAAY;EAEpB,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;CACA,IAAI,YAAY;EAEf,OAAO,MADW,OAAO;CAE1B;AACD;AAEA,MAAa,yBAAyB,OAAO,KAAK,UAAU;AAE5D,eAAsB,WAAW,MAAoC;CACpE,MAAM,SAAS,WAAW;CAC1B,IAAI,WAAW,KAAA,GACd,MAAM,IAAI,MAAM,uBAAuB,MAAM;CAG9C,QAAO,MADW,OAAO,EAAA,CACd;AACZ"}
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/lt.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/lv.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/mk.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/mt.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/nb.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/nl.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/pl.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/pt-BR.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/pt-PT.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/registry.d.ts
4
3
  declare function registerLocale(locale: ChartLocale): void;
5
4
  declare function getRegisteredLocale(code: string): ChartLocale | undefined;
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ro.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/ru.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/sk.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/sl.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/sq.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/sr.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/sv.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/th.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/tr.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/uk.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/zh-Hans.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
@@ -1,5 +1,4 @@
1
1
  import { t as ChartLocale } from "../locale-3A5xWe8q.mjs";
2
-
3
2
  //#region src/lib/locales/zh-Hant.d.ts
4
3
  declare const CHART_LOCALE: ChartLocale;
5
4
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantt-renderer",
3
- "version": "0.12.11",
3
+ "version": "0.12.13",
4
4
  "description": "A TypeScript Gantt chart renderer for precalculated project plans",
5
5
  "keywords": [
6
6
  "chart",
@@ -227,31 +227,31 @@
227
227
  "zod": "4.4.3"
228
228
  },
229
229
  "devDependencies": {
230
- "@commitlint/cli": "21.1.0",
231
- "@commitlint/config-conventional": "21.1.0",
230
+ "@commitlint/cli": "21.2.1",
231
+ "@commitlint/config-conventional": "21.2.0",
232
232
  "@playwright/test": "1.61.1",
233
- "@tsdown/css": "0.22.3",
234
- "@types/node": "26.0.1",
235
- "@vitest/browser": "4.1.9",
236
- "@vitest/browser-playwright": "4.1.9",
237
- "@vitest/coverage-istanbul": "4.1.9",
238
- "@vitest/coverage-v8": "4.1.9",
239
- "conventional-changelog": "8.0.0",
240
- "conventional-changelog-angular": "9.2.0",
233
+ "@tsdown/css": "0.22.7",
234
+ "@types/node": "26.1.1",
235
+ "@vitest/browser": "4.1.10",
236
+ "@vitest/browser-playwright": "4.1.10",
237
+ "@vitest/coverage-istanbul": "4.1.10",
238
+ "@vitest/coverage-v8": "4.1.10",
239
+ "conventional-changelog": "8.1.0",
240
+ "conventional-changelog-angular": "9.2.1",
241
241
  "eslint-plugin-regexp": "3.1.1",
242
242
  "husky": "9.1.7",
243
- "oxfmt": "0.56.0",
244
- "oxlint": "1.71.0",
245
- "oxlint-tsgolint": "0.23.0",
243
+ "oxfmt": "0.59.0",
244
+ "oxlint": "1.74.0",
245
+ "oxlint-tsgolint": "0.24.0",
246
246
  "playwright": "1.61.1",
247
247
  "release-it": "20.2.1",
248
248
  "stylelint": "17.14.0",
249
249
  "stylelint-config-standard": "40.0.0",
250
- "tsdown": "0.22.3",
251
- "typedoc": "0.28.19",
250
+ "tsdown": "0.22.7",
251
+ "typedoc": "0.28.20",
252
252
  "typescript": "6.0.3",
253
- "vite": "8.1.0",
254
- "vitest": "4.1.9"
253
+ "vite": "8.1.4",
254
+ "vitest": "4.1.10"
255
255
  },
256
256
  "scripts": {
257
257
  "typecheck": "tsc --noEmit",