@jean-is/render 0.8.0-r4f6f65307b98 → 0.8.0-r5b1c2ce97a6c
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/brand.js +6 -7
- package/caps/charts/charts.css +5 -2
- package/caps/charts/charts.js +58 -28
- package/caps/charts/option.js +28 -1
- package/caps/files/extract.js +19 -12
- package/caps/files/midi.js +1 -1
- package/caps/files/numbers.js +193 -0
- package/caps/files/office.js +20 -13
- package/caps/files/pdf.js +3 -0
- package/caps/games/file.js +56 -0
- package/caps/games/frame.css +22 -0
- package/caps/games/guard.js +86 -0
- package/caps/games/page.js +52 -0
- package/caps/games/shell.js +260 -0
- package/caps/interactive/apps.js +26 -14
- package/caps/interactive/diagram.js +97 -23
- package/caps/interactive/interactive.css +25 -6
- package/caps/interactive/interactive.js +75 -21
- package/caps/interactive/live.js +96 -0
- package/caps/interactive/map.js +30 -4
- package/caps/interactive/mode.js +9 -6
- package/caps/interactive/page-diagram.js +6 -2
- package/caps/interactive/parts.js +124 -0
- package/caps/interactive/starts.js +15 -0
- package/caps/interactive/test.js +76 -0
- package/caps/interactive/view-parts.js +212 -0
- package/caps/layouts/layouts.css +12 -12
- package/caps/layouts/layouts.js +49 -40
- package/caps/layouts/shapes.js +50 -34
- package/caps/layouts/types.d.ts +8 -0
- package/caps/made/formats.js +84 -46
- package/caps/made/paper.js +142 -0
- package/caps/math/math.js +2 -2
- package/caps/receipt/certificate.js +1 -1
- package/caps/receipt/der.js +1 -1
- package/caps/scores/scores.css +10 -4
- package/caps/scores/scores.js +101 -53
- package/caps/share/view.js +3 -2
- package/caps/skills/directory.js +10 -3
- package/caps/skills/sources.js +4 -2
- package/caps/slides/edit.js +14 -4
- package/caps/slides/kit-page.css +8 -2
- package/caps/slides/kit-page.js +49 -39
- package/caps/slides/kit-sample.js +36 -0
- package/caps/slides/kit-slot.js +10 -0
- package/caps/slides/kit.js +3 -0
- package/caps/slides/save.js +24 -58
- package/caps/slides/slides.css +12 -9
- package/caps/slides/slides.js +29 -28
- package/caps/tables/formula.js +133 -0
- package/core/anthropic.js +10 -10
- package/core/conversations.js +151 -0
- package/core/deferred.js +39 -18
- package/core/events.js +5 -5
- package/core/files.js +15 -9
- package/core/fs.js +23 -85
- package/core/hooks.js +5 -5
- package/core/i18n.js +23 -20
- package/core/llm.js +47 -55
- package/core/loop.js +24 -22
- package/core/oauth.js +31 -0
- package/core/rules.js +1 -1
- package/core/search.js +1 -1
- package/core/settings.js +7 -60
- package/core/skills.js +4 -4
- package/core/vertex.js +37 -0
- package/core/zip.js +1 -1
- package/locales/am.json +48 -29
- package/locales/approvals/am.json +2 -3
- package/locales/approvals/ar.json +2 -3
- package/locales/approvals/bg.json +2 -3
- package/locales/approvals/bn.json +2 -3
- package/locales/approvals/br.json +8 -9
- package/locales/approvals/co.json +19 -20
- package/locales/approvals/cs.json +2 -3
- package/locales/approvals/da.json +2 -3
- package/locales/approvals/de.json +7 -8
- package/locales/approvals/el.json +2 -3
- package/locales/approvals/en.json +4 -5
- package/locales/approvals/es.json +8 -9
- package/locales/approvals/fa.json +2 -3
- package/locales/approvals/fi.json +2 -3
- package/locales/approvals/fr-CA.json +8 -9
- package/locales/approvals/fr.json +8 -9
- package/locales/approvals/ha.json +2 -3
- package/locales/approvals/he.json +2 -3
- package/locales/approvals/hi.json +2 -3
- package/locales/approvals/hr.json +2 -3
- package/locales/approvals/hu.json +2 -3
- package/locales/approvals/id.json +2 -3
- package/locales/approvals/it.json +11 -12
- package/locales/approvals/ja.json +9 -10
- package/locales/approvals/ko.json +21 -22
- package/locales/approvals/mr.json +2 -3
- package/locales/approvals/ms.json +2 -3
- package/locales/approvals/nl.json +2 -3
- package/locales/approvals/pl.json +2 -3
- package/locales/approvals/pt.json +7 -8
- package/locales/approvals/ro.json +2 -3
- package/locales/approvals/ru.json +2 -3
- package/locales/approvals/sk.json +2 -3
- package/locales/approvals/sv.json +2 -3
- package/locales/approvals/sw.json +2 -3
- package/locales/approvals/ta.json +2 -3
- package/locales/approvals/te.json +2 -3
- package/locales/approvals/th.json +2 -3
- package/locales/approvals/tl.json +2 -3
- package/locales/approvals/tr.json +2 -3
- package/locales/approvals/uk.json +2 -3
- package/locales/approvals/ur.json +2 -3
- package/locales/approvals/vi.json +2 -3
- package/locales/approvals/yo.json +2 -3
- package/locales/approvals/zh-Hans.json +6 -7
- package/locales/approvals/zh-Hant.json +5 -6
- package/locales/ar.json +52 -29
- package/locales/backup/de.json +1 -1
- package/locales/backup/ko.json +1 -1
- package/locales/backup/pt.json +1 -1
- package/locales/backup/zh-Hans.json +1 -1
- package/locales/bg.json +48 -29
- package/locales/bn.json +47 -28
- package/locales/br.json +71 -49
- package/locales/brain-local/ja.json +1 -1
- package/locales/brain-local/pt.json +3 -3
- package/locales/brain-local/zh-Hans.json +1 -1
- package/locales/brain-local/zh-Hant.json +3 -3
- package/locales/brains/am.json +7 -4
- package/locales/brains/ar.json +7 -4
- package/locales/brains/bg.json +7 -4
- package/locales/brains/bn.json +7 -4
- package/locales/brains/br.json +16 -13
- package/locales/brains/co.json +18 -15
- package/locales/brains/cs.json +7 -4
- package/locales/brains/da.json +7 -4
- package/locales/brains/de.json +13 -10
- package/locales/brains/el.json +7 -4
- package/locales/brains/en.json +12 -9
- package/locales/brains/es.json +20 -17
- package/locales/brains/fa.json +7 -4
- package/locales/brains/fi.json +7 -4
- package/locales/brains/fr-CA.json +14 -11
- package/locales/brains/fr.json +14 -11
- package/locales/brains/ha.json +7 -4
- package/locales/brains/he.json +7 -4
- package/locales/brains/hi.json +7 -4
- package/locales/brains/hr.json +7 -4
- package/locales/brains/hu.json +7 -4
- package/locales/brains/id.json +7 -4
- package/locales/brains/it.json +14 -11
- package/locales/brains/ja.json +15 -12
- package/locales/brains/ko.json +16 -13
- package/locales/brains/mr.json +7 -4
- package/locales/brains/ms.json +7 -4
- package/locales/brains/nl.json +7 -4
- package/locales/brains/pl.json +7 -4
- package/locales/brains/pt.json +16 -13
- package/locales/brains/ro.json +7 -4
- package/locales/brains/ru.json +7 -4
- package/locales/brains/sk.json +7 -4
- package/locales/brains/sv.json +7 -4
- package/locales/brains/sw.json +7 -4
- package/locales/brains/ta.json +7 -4
- package/locales/brains/te.json +7 -4
- package/locales/brains/th.json +7 -4
- package/locales/brains/tl.json +7 -4
- package/locales/brains/tr.json +7 -4
- package/locales/brains/uk.json +7 -4
- package/locales/brains/ur.json +7 -4
- package/locales/brains/vi.json +7 -4
- package/locales/brains/yo.json +7 -4
- package/locales/brains/zh-Hans.json +13 -10
- package/locales/brains/zh-Hant.json +20 -17
- package/locales/browser/co.json +2 -2
- package/locales/browser/es.json +1 -1
- package/locales/browser/it.json +1 -1
- package/locales/browser/ja.json +2 -2
- package/locales/browser/ko.json +6 -6
- package/locales/browser/pt.json +2 -2
- package/locales/camera/am.json +20 -0
- package/locales/camera/ar.json +20 -0
- package/locales/camera/bg.json +20 -0
- package/locales/camera/bn.json +20 -0
- package/locales/camera/br.json +20 -0
- package/locales/camera/co.json +20 -0
- package/locales/camera/cs.json +20 -0
- package/locales/camera/da.json +20 -0
- package/locales/camera/de.json +20 -0
- package/locales/camera/el.json +20 -0
- package/locales/camera/en.json +20 -0
- package/locales/camera/es.json +20 -0
- package/locales/camera/fa.json +20 -0
- package/locales/camera/fi.json +20 -0
- package/locales/camera/fr-CA.json +20 -0
- package/locales/camera/fr.json +20 -0
- package/locales/camera/ha.json +20 -0
- package/locales/camera/he.json +20 -0
- package/locales/camera/hi.json +20 -0
- package/locales/camera/hr.json +20 -0
- package/locales/camera/hu.json +20 -0
- package/locales/camera/id.json +20 -0
- package/locales/camera/it.json +20 -0
- package/locales/camera/ja.json +20 -0
- package/locales/camera/ko.json +20 -0
- package/locales/camera/mr.json +20 -0
- package/locales/camera/ms.json +20 -0
- package/locales/camera/nl.json +20 -0
- package/locales/camera/pl.json +20 -0
- package/locales/camera/pt.json +20 -0
- package/locales/camera/ro.json +20 -0
- package/locales/camera/ru.json +20 -0
- package/locales/camera/sk.json +20 -0
- package/locales/camera/sv.json +20 -0
- package/locales/camera/sw.json +20 -0
- package/locales/camera/ta.json +20 -0
- package/locales/camera/te.json +20 -0
- package/locales/camera/th.json +20 -0
- package/locales/camera/tl.json +20 -0
- package/locales/camera/tr.json +20 -0
- package/locales/camera/uk.json +20 -0
- package/locales/camera/ur.json +20 -0
- package/locales/camera/vi.json +20 -0
- package/locales/camera/yo.json +20 -0
- package/locales/camera/zh-Hans.json +20 -0
- package/locales/camera/zh-Hant.json +20 -0
- package/locales/case/br.json +1 -1
- package/locales/case/co.json +10 -10
- package/locales/case/de.json +1 -1
- package/locales/case/es.json +6 -6
- package/locales/case/fr-CA.json +9 -9
- package/locales/case/fr.json +9 -9
- package/locales/case/it.json +8 -8
- package/locales/case/ja.json +6 -6
- package/locales/case/ko.json +1 -1
- package/locales/case/pt.json +8 -8
- package/locales/case/zh-Hant.json +1 -1
- package/locales/certificates/co.json +7 -7
- package/locales/certificates/es.json +2 -2
- package/locales/certificates/fr-CA.json +7 -7
- package/locales/certificates/fr.json +7 -7
- package/locales/certificates/it.json +3 -3
- package/locales/certificates/ja.json +2 -2
- package/locales/certificates/ko.json +1 -1
- package/locales/certificates/pt.json +2 -2
- package/locales/certificates/zh-Hans.json +5 -5
- package/locales/certificates/zh-Hant.json +6 -6
- package/locales/charts/am.json +2 -0
- package/locales/charts/ar.json +2 -0
- package/locales/charts/bg.json +2 -0
- package/locales/charts/bn.json +2 -0
- package/locales/charts/br.json +2 -0
- package/locales/charts/co.json +2 -0
- package/locales/charts/cs.json +2 -0
- package/locales/charts/da.json +2 -0
- package/locales/charts/de.json +3 -1
- package/locales/charts/el.json +2 -0
- package/locales/charts/en.json +2 -0
- package/locales/charts/es.json +2 -0
- package/locales/charts/fa.json +2 -0
- package/locales/charts/fi.json +2 -0
- package/locales/charts/fr-CA.json +2 -0
- package/locales/charts/fr.json +2 -0
- package/locales/charts/ha.json +2 -0
- package/locales/charts/he.json +2 -0
- package/locales/charts/hi.json +2 -0
- package/locales/charts/hr.json +2 -0
- package/locales/charts/hu.json +2 -0
- package/locales/charts/id.json +2 -0
- package/locales/charts/it.json +2 -0
- package/locales/charts/ja.json +2 -0
- package/locales/charts/ko.json +3 -1
- package/locales/charts/mr.json +2 -0
- package/locales/charts/ms.json +2 -0
- package/locales/charts/nl.json +2 -0
- package/locales/charts/pl.json +2 -0
- package/locales/charts/pt.json +2 -0
- package/locales/charts/ro.json +2 -0
- package/locales/charts/ru.json +2 -0
- package/locales/charts/sk.json +2 -0
- package/locales/charts/sv.json +2 -0
- package/locales/charts/sw.json +2 -0
- package/locales/charts/ta.json +2 -0
- package/locales/charts/te.json +2 -0
- package/locales/charts/th.json +2 -0
- package/locales/charts/tl.json +2 -0
- package/locales/charts/tr.json +2 -0
- package/locales/charts/uk.json +2 -0
- package/locales/charts/ur.json +2 -0
- package/locales/charts/vi.json +2 -0
- package/locales/charts/yo.json +2 -0
- package/locales/charts/zh-Hans.json +2 -0
- package/locales/charts/zh-Hant.json +2 -0
- package/locales/co.json +62 -42
- package/locales/compact/es.json +1 -1
- package/locales/compact/fr-CA.json +1 -1
- package/locales/compact/fr.json +1 -1
- package/locales/compact/it.json +1 -1
- package/locales/compact/pt.json +2 -2
- package/locales/computer/br.json +8 -8
- package/locales/computer/co.json +14 -14
- package/locales/computer/de.json +4 -4
- package/locales/computer/en.json +6 -6
- package/locales/computer/es.json +10 -10
- package/locales/computer/fr-CA.json +17 -17
- package/locales/computer/fr.json +17 -17
- package/locales/computer/it.json +9 -9
- package/locales/computer/ja.json +8 -8
- package/locales/computer/ko.json +14 -14
- package/locales/computer/pt.json +10 -10
- package/locales/computer/zh-Hans.json +8 -8
- package/locales/computer/zh-Hant.json +9 -9
- package/locales/connections/am.json +4 -2
- package/locales/connections/ar.json +4 -2
- package/locales/connections/bg.json +4 -2
- package/locales/connections/bn.json +4 -2
- package/locales/connections/br.json +5 -3
- package/locales/connections/co.json +17 -15
- package/locales/connections/cs.json +4 -2
- package/locales/connections/da.json +4 -2
- package/locales/connections/de.json +4 -2
- package/locales/connections/el.json +4 -2
- package/locales/connections/en.json +5 -3
- package/locales/connections/es.json +7 -5
- package/locales/connections/fa.json +4 -2
- package/locales/connections/fi.json +4 -2
- package/locales/connections/fr-CA.json +5 -3
- package/locales/connections/fr.json +5 -3
- package/locales/connections/ha.json +4 -2
- package/locales/connections/he.json +4 -2
- package/locales/connections/hi.json +4 -2
- package/locales/connections/hr.json +4 -2
- package/locales/connections/hu.json +4 -2
- package/locales/connections/id.json +4 -2
- package/locales/connections/it.json +13 -11
- package/locales/connections/ja.json +28 -26
- package/locales/connections/ko.json +7 -5
- package/locales/connections/mr.json +4 -2
- package/locales/connections/ms.json +4 -2
- package/locales/connections/nl.json +4 -2
- package/locales/connections/pl.json +4 -2
- package/locales/connections/pt.json +10 -8
- package/locales/connections/ro.json +4 -2
- package/locales/connections/ru.json +4 -2
- package/locales/connections/sk.json +4 -2
- package/locales/connections/sv.json +4 -2
- package/locales/connections/sw.json +4 -2
- package/locales/connections/ta.json +4 -2
- package/locales/connections/te.json +4 -2
- package/locales/connections/th.json +4 -2
- package/locales/connections/tl.json +4 -2
- package/locales/connections/tr.json +4 -2
- package/locales/connections/uk.json +4 -2
- package/locales/connections/ur.json +4 -2
- package/locales/connections/vi.json +4 -2
- package/locales/connections/yo.json +4 -2
- package/locales/connections/zh-Hans.json +10 -8
- package/locales/connections/zh-Hant.json +23 -21
- package/locales/creations/am.json +16 -8
- package/locales/creations/ar.json +16 -8
- package/locales/creations/bg.json +16 -8
- package/locales/creations/bn.json +16 -8
- package/locales/creations/br.json +26 -18
- package/locales/creations/co.json +26 -18
- package/locales/creations/cs.json +16 -8
- package/locales/creations/da.json +16 -8
- package/locales/creations/de.json +17 -9
- package/locales/creations/el.json +16 -8
- package/locales/creations/en.json +17 -9
- package/locales/creations/es.json +22 -14
- package/locales/creations/fa.json +16 -8
- package/locales/creations/fi.json +16 -8
- package/locales/creations/fr-CA.json +17 -9
- package/locales/creations/fr.json +24 -16
- package/locales/creations/ha.json +16 -8
- package/locales/creations/he.json +16 -8
- package/locales/creations/hi.json +16 -8
- package/locales/creations/hr.json +16 -8
- package/locales/creations/hu.json +16 -8
- package/locales/creations/id.json +16 -8
- package/locales/creations/it.json +21 -13
- package/locales/creations/ja.json +17 -9
- package/locales/creations/ko.json +17 -9
- package/locales/creations/mr.json +16 -8
- package/locales/creations/ms.json +16 -8
- package/locales/creations/nl.json +16 -8
- package/locales/creations/pl.json +16 -8
- package/locales/creations/pt.json +22 -14
- package/locales/creations/ro.json +16 -8
- package/locales/creations/ru.json +16 -8
- package/locales/creations/sk.json +16 -8
- package/locales/creations/sv.json +16 -8
- package/locales/creations/sw.json +16 -8
- package/locales/creations/ta.json +16 -8
- package/locales/creations/te.json +16 -8
- package/locales/creations/th.json +16 -8
- package/locales/creations/tl.json +16 -8
- package/locales/creations/tr.json +16 -8
- package/locales/creations/uk.json +16 -8
- package/locales/creations/ur.json +16 -8
- package/locales/creations/vi.json +16 -8
- package/locales/creations/yo.json +16 -8
- package/locales/creations/zh-Hans.json +17 -9
- package/locales/creations/zh-Hant.json +17 -9
- package/locales/cs.json +50 -29
- package/locales/da.json +47 -28
- package/locales/data/am.json +5 -1
- package/locales/data/ar.json +5 -1
- package/locales/data/bg.json +5 -1
- package/locales/data/bn.json +5 -1
- package/locales/data/br.json +7 -3
- package/locales/data/co.json +8 -4
- package/locales/data/cs.json +5 -1
- package/locales/data/da.json +5 -1
- package/locales/data/de.json +5 -1
- package/locales/data/el.json +5 -1
- package/locales/data/en.json +5 -1
- package/locales/data/es.json +9 -5
- package/locales/data/fa.json +5 -1
- package/locales/data/fi.json +5 -1
- package/locales/data/fr-CA.json +5 -1
- package/locales/data/fr.json +5 -1
- package/locales/data/ha.json +5 -1
- package/locales/data/he.json +5 -1
- package/locales/data/hi.json +5 -1
- package/locales/data/hr.json +5 -1
- package/locales/data/hu.json +5 -1
- package/locales/data/id.json +5 -1
- package/locales/data/it.json +6 -2
- package/locales/data/ja.json +13 -9
- package/locales/data/ko.json +7 -3
- package/locales/data/mr.json +5 -1
- package/locales/data/ms.json +5 -1
- package/locales/data/nl.json +5 -1
- package/locales/data/pl.json +5 -1
- package/locales/data/pt.json +10 -6
- package/locales/data/ro.json +5 -1
- package/locales/data/ru.json +5 -1
- package/locales/data/sk.json +5 -1
- package/locales/data/sv.json +5 -1
- package/locales/data/sw.json +5 -1
- package/locales/data/ta.json +5 -1
- package/locales/data/te.json +5 -1
- package/locales/data/th.json +5 -1
- package/locales/data/tl.json +5 -1
- package/locales/data/tr.json +5 -1
- package/locales/data/uk.json +5 -1
- package/locales/data/ur.json +5 -1
- package/locales/data/vi.json +5 -1
- package/locales/data/yo.json +5 -1
- package/locales/data/zh-Hans.json +7 -3
- package/locales/data/zh-Hant.json +9 -5
- package/locales/de.json +63 -44
- package/locales/designs/am.json +0 -14
- package/locales/designs/ar.json +0 -14
- package/locales/designs/bg.json +0 -14
- package/locales/designs/bn.json +0 -14
- package/locales/designs/br.json +9 -23
- package/locales/designs/co.json +8 -22
- package/locales/designs/cs.json +0 -14
- package/locales/designs/da.json +0 -14
- package/locales/designs/de.json +1 -15
- package/locales/designs/el.json +0 -14
- package/locales/designs/en.json +3 -17
- package/locales/designs/es.json +0 -14
- package/locales/designs/fa.json +0 -14
- package/locales/designs/fi.json +0 -14
- package/locales/designs/fr-CA.json +4 -18
- package/locales/designs/fr.json +5 -19
- package/locales/designs/ha.json +0 -14
- package/locales/designs/he.json +0 -14
- package/locales/designs/hi.json +0 -14
- package/locales/designs/hr.json +0 -14
- package/locales/designs/hu.json +0 -14
- package/locales/designs/id.json +0 -14
- package/locales/designs/it.json +6 -20
- package/locales/designs/ja.json +10 -24
- package/locales/designs/ko.json +6 -20
- package/locales/designs/mr.json +0 -14
- package/locales/designs/ms.json +0 -14
- package/locales/designs/nl.json +0 -14
- package/locales/designs/pl.json +0 -14
- package/locales/designs/pt.json +3 -17
- package/locales/designs/ro.json +0 -14
- package/locales/designs/ru.json +0 -14
- package/locales/designs/sk.json +0 -14
- package/locales/designs/sv.json +0 -14
- package/locales/designs/sw.json +0 -14
- package/locales/designs/ta.json +0 -14
- package/locales/designs/te.json +0 -14
- package/locales/designs/th.json +0 -14
- package/locales/designs/tl.json +0 -14
- package/locales/designs/tr.json +0 -14
- package/locales/designs/uk.json +0 -14
- package/locales/designs/ur.json +0 -14
- package/locales/designs/vi.json +0 -14
- package/locales/designs/yo.json +0 -14
- package/locales/designs/zh-Hans.json +1 -15
- package/locales/designs/zh-Hant.json +1 -15
- package/locales/devices/am.json +79 -0
- package/locales/devices/ar.json +87 -0
- package/locales/devices/bg.json +79 -0
- package/locales/devices/bn.json +79 -0
- package/locales/devices/br.json +85 -0
- package/locales/devices/co.json +81 -0
- package/locales/devices/cs.json +83 -0
- package/locales/devices/da.json +79 -0
- package/locales/devices/de.json +79 -0
- package/locales/devices/el.json +79 -0
- package/locales/devices/en.json +79 -0
- package/locales/devices/es.json +81 -0
- package/locales/devices/fa.json +79 -0
- package/locales/devices/fi.json +79 -0
- package/locales/devices/fr-CA.json +81 -0
- package/locales/devices/fr.json +81 -0
- package/locales/devices/ha.json +79 -0
- package/locales/devices/he.json +81 -0
- package/locales/devices/hi.json +79 -0
- package/locales/devices/hr.json +81 -0
- package/locales/devices/hu.json +79 -0
- package/locales/devices/id.json +77 -0
- package/locales/devices/it.json +81 -0
- package/locales/devices/ja.json +77 -0
- package/locales/devices/ko.json +77 -0
- package/locales/devices/mr.json +79 -0
- package/locales/devices/ms.json +77 -0
- package/locales/devices/nl.json +79 -0
- package/locales/devices/pl.json +83 -0
- package/locales/devices/pt.json +81 -0
- package/locales/devices/ro.json +81 -0
- package/locales/devices/ru.json +83 -0
- package/locales/devices/sk.json +83 -0
- package/locales/devices/sv.json +79 -0
- package/locales/devices/sw.json +79 -0
- package/locales/devices/ta.json +79 -0
- package/locales/devices/te.json +79 -0
- package/locales/devices/th.json +77 -0
- package/locales/devices/tl.json +79 -0
- package/locales/devices/tr.json +79 -0
- package/locales/devices/uk.json +83 -0
- package/locales/devices/ur.json +79 -0
- package/locales/devices/vi.json +77 -0
- package/locales/devices/yo.json +77 -0
- package/locales/devices/zh-Hans.json +77 -0
- package/locales/devices/zh-Hant.json +77 -0
- package/locales/dialogs/am.json +26 -11
- package/locales/dialogs/ar.json +26 -11
- package/locales/dialogs/bg.json +26 -11
- package/locales/dialogs/bn.json +26 -11
- package/locales/dialogs/br.json +44 -29
- package/locales/dialogs/co.json +45 -30
- package/locales/dialogs/cs.json +26 -11
- package/locales/dialogs/da.json +26 -11
- package/locales/dialogs/de.json +38 -23
- package/locales/dialogs/el.json +26 -11
- package/locales/dialogs/en.json +33 -18
- package/locales/dialogs/es.json +52 -37
- package/locales/dialogs/fa.json +26 -11
- package/locales/dialogs/fi.json +26 -11
- package/locales/dialogs/fr-CA.json +45 -30
- package/locales/dialogs/fr.json +45 -30
- package/locales/dialogs/ha.json +26 -11
- package/locales/dialogs/he.json +26 -11
- package/locales/dialogs/hi.json +26 -11
- package/locales/dialogs/hr.json +26 -11
- package/locales/dialogs/hu.json +26 -11
- package/locales/dialogs/id.json +26 -11
- package/locales/dialogs/it.json +48 -33
- package/locales/dialogs/ja.json +76 -61
- package/locales/dialogs/ko.json +48 -33
- package/locales/dialogs/mr.json +26 -11
- package/locales/dialogs/ms.json +26 -11
- package/locales/dialogs/nl.json +26 -11
- package/locales/dialogs/pl.json +26 -11
- package/locales/dialogs/pt.json +51 -36
- package/locales/dialogs/ro.json +26 -11
- package/locales/dialogs/ru.json +26 -11
- package/locales/dialogs/sk.json +26 -11
- package/locales/dialogs/sv.json +26 -11
- package/locales/dialogs/sw.json +26 -11
- package/locales/dialogs/ta.json +26 -11
- package/locales/dialogs/te.json +26 -11
- package/locales/dialogs/th.json +26 -11
- package/locales/dialogs/tl.json +26 -11
- package/locales/dialogs/tr.json +26 -11
- package/locales/dialogs/uk.json +26 -11
- package/locales/dialogs/ur.json +26 -11
- package/locales/dialogs/vi.json +26 -11
- package/locales/dialogs/yo.json +26 -11
- package/locales/dialogs/zh-Hans.json +46 -31
- package/locales/dialogs/zh-Hant.json +54 -39
- package/locales/documents/am.json +18 -2
- package/locales/documents/ar.json +18 -2
- package/locales/documents/bg.json +18 -2
- package/locales/documents/bn.json +18 -2
- package/locales/documents/br.json +18 -2
- package/locales/documents/co.json +20 -4
- package/locales/documents/cs.json +18 -2
- package/locales/documents/da.json +18 -2
- package/locales/documents/de.json +20 -4
- package/locales/documents/el.json +18 -2
- package/locales/documents/en.json +19 -3
- package/locales/documents/es.json +19 -3
- package/locales/documents/fa.json +18 -2
- package/locales/documents/fi.json +18 -2
- package/locales/documents/fr-CA.json +19 -3
- package/locales/documents/fr.json +19 -3
- package/locales/documents/ha.json +18 -2
- package/locales/documents/he.json +18 -2
- package/locales/documents/hi.json +18 -2
- package/locales/documents/hr.json +18 -2
- package/locales/documents/hu.json +18 -2
- package/locales/documents/id.json +18 -2
- package/locales/documents/it.json +19 -3
- package/locales/documents/ja.json +32 -16
- package/locales/documents/ko.json +19 -3
- package/locales/documents/mr.json +18 -2
- package/locales/documents/ms.json +18 -2
- package/locales/documents/nl.json +18 -2
- package/locales/documents/pl.json +18 -2
- package/locales/documents/pt.json +21 -5
- package/locales/documents/ro.json +18 -2
- package/locales/documents/ru.json +18 -2
- package/locales/documents/sk.json +18 -2
- package/locales/documents/sv.json +18 -2
- package/locales/documents/sw.json +18 -2
- package/locales/documents/ta.json +18 -2
- package/locales/documents/te.json +18 -2
- package/locales/documents/th.json +18 -2
- package/locales/documents/tl.json +18 -2
- package/locales/documents/tr.json +18 -2
- package/locales/documents/uk.json +18 -2
- package/locales/documents/ur.json +18 -2
- package/locales/documents/vi.json +18 -2
- package/locales/documents/yo.json +18 -2
- package/locales/documents/zh-Hans.json +19 -3
- package/locales/documents/zh-Hant.json +19 -3
- package/locales/el.json +48 -29
- package/locales/en.json +54 -35
- package/locales/enterprise/am.json +29 -1
- package/locales/enterprise/ar.json +29 -1
- package/locales/enterprise/bg.json +29 -1
- package/locales/enterprise/bn.json +29 -1
- package/locales/enterprise/br.json +31 -3
- package/locales/enterprise/co.json +30 -2
- package/locales/enterprise/cs.json +29 -1
- package/locales/enterprise/da.json +29 -1
- package/locales/enterprise/de.json +30 -2
- package/locales/enterprise/el.json +29 -1
- package/locales/enterprise/en.json +30 -2
- package/locales/enterprise/es.json +30 -2
- package/locales/enterprise/fa.json +29 -1
- package/locales/enterprise/fi.json +29 -1
- package/locales/enterprise/fr-CA.json +31 -3
- package/locales/enterprise/fr.json +31 -3
- package/locales/enterprise/ha.json +29 -1
- package/locales/enterprise/he.json +29 -1
- package/locales/enterprise/hi.json +29 -1
- package/locales/enterprise/hr.json +29 -1
- package/locales/enterprise/hu.json +29 -1
- package/locales/enterprise/id.json +29 -1
- package/locales/enterprise/it.json +31 -3
- package/locales/enterprise/ja.json +37 -9
- package/locales/enterprise/ko.json +30 -2
- package/locales/enterprise/mr.json +29 -1
- package/locales/enterprise/ms.json +29 -1
- package/locales/enterprise/nl.json +29 -1
- package/locales/enterprise/pl.json +29 -1
- package/locales/enterprise/pt.json +30 -2
- package/locales/enterprise/ro.json +29 -1
- package/locales/enterprise/ru.json +29 -1
- package/locales/enterprise/sk.json +29 -1
- package/locales/enterprise/sv.json +29 -1
- package/locales/enterprise/sw.json +29 -1
- package/locales/enterprise/ta.json +29 -1
- package/locales/enterprise/te.json +29 -1
- package/locales/enterprise/th.json +29 -1
- package/locales/enterprise/tl.json +29 -1
- package/locales/enterprise/tr.json +29 -1
- package/locales/enterprise/uk.json +29 -1
- package/locales/enterprise/ur.json +29 -1
- package/locales/enterprise/vi.json +29 -1
- package/locales/enterprise/yo.json +29 -1
- package/locales/enterprise/zh-Hans.json +38 -10
- package/locales/enterprise/zh-Hant.json +38 -10
- package/locales/es.json +63 -43
- package/locales/extensions/am.json +2 -1
- package/locales/extensions/ar.json +2 -1
- package/locales/extensions/bg.json +2 -1
- package/locales/extensions/bn.json +2 -1
- package/locales/extensions/br.json +12 -11
- package/locales/extensions/co.json +8 -7
- package/locales/extensions/cs.json +2 -1
- package/locales/extensions/da.json +2 -1
- package/locales/extensions/de.json +3 -2
- package/locales/extensions/el.json +2 -1
- package/locales/extensions/en.json +3 -2
- package/locales/extensions/es.json +4 -3
- package/locales/extensions/fa.json +2 -1
- package/locales/extensions/fi.json +2 -1
- package/locales/extensions/fr-CA.json +7 -6
- package/locales/extensions/fr.json +7 -6
- package/locales/extensions/ha.json +2 -1
- package/locales/extensions/he.json +2 -1
- package/locales/extensions/hi.json +2 -1
- package/locales/extensions/hr.json +2 -1
- package/locales/extensions/hu.json +2 -1
- package/locales/extensions/id.json +2 -1
- package/locales/extensions/it.json +5 -4
- package/locales/extensions/ja.json +7 -6
- package/locales/extensions/ko.json +24 -23
- package/locales/extensions/mr.json +2 -1
- package/locales/extensions/ms.json +2 -1
- package/locales/extensions/nl.json +2 -1
- package/locales/extensions/pl.json +2 -1
- package/locales/extensions/pt.json +5 -4
- package/locales/extensions/ro.json +2 -1
- package/locales/extensions/ru.json +2 -1
- package/locales/extensions/sk.json +2 -1
- package/locales/extensions/sv.json +2 -1
- package/locales/extensions/sw.json +2 -1
- package/locales/extensions/ta.json +2 -1
- package/locales/extensions/te.json +2 -1
- package/locales/extensions/th.json +2 -1
- package/locales/extensions/tl.json +2 -1
- package/locales/extensions/tr.json +2 -1
- package/locales/extensions/uk.json +2 -1
- package/locales/extensions/ur.json +2 -1
- package/locales/extensions/vi.json +2 -1
- package/locales/extensions/yo.json +2 -1
- package/locales/extensions/zh-Hans.json +5 -4
- package/locales/extensions/zh-Hant.json +9 -8
- package/locales/fa.json +47 -28
- package/locales/feedback/am.json +7 -0
- package/locales/feedback/ar.json +7 -0
- package/locales/feedback/bg.json +7 -0
- package/locales/feedback/bn.json +7 -0
- package/locales/feedback/br.json +7 -0
- package/locales/feedback/co.json +7 -0
- package/locales/feedback/cs.json +7 -0
- package/locales/feedback/da.json +7 -0
- package/locales/feedback/de.json +7 -0
- package/locales/feedback/el.json +7 -0
- package/locales/feedback/en.json +7 -0
- package/locales/feedback/es.json +7 -0
- package/locales/feedback/fa.json +7 -0
- package/locales/feedback/fi.json +7 -0
- package/locales/feedback/fr-CA.json +7 -0
- package/locales/feedback/fr.json +7 -0
- package/locales/feedback/ha.json +7 -0
- package/locales/feedback/he.json +7 -0
- package/locales/feedback/hi.json +7 -0
- package/locales/feedback/hr.json +7 -0
- package/locales/feedback/hu.json +7 -0
- package/locales/feedback/id.json +7 -0
- package/locales/feedback/it.json +7 -0
- package/locales/feedback/ja.json +7 -0
- package/locales/feedback/ko.json +7 -0
- package/locales/feedback/mr.json +7 -0
- package/locales/feedback/ms.json +7 -0
- package/locales/feedback/nl.json +7 -0
- package/locales/feedback/pl.json +7 -0
- package/locales/feedback/pt.json +7 -0
- package/locales/feedback/ro.json +7 -0
- package/locales/feedback/ru.json +7 -0
- package/locales/feedback/sk.json +7 -0
- package/locales/feedback/sv.json +7 -0
- package/locales/feedback/sw.json +7 -0
- package/locales/feedback/ta.json +7 -0
- package/locales/feedback/te.json +7 -0
- package/locales/feedback/th.json +7 -0
- package/locales/feedback/tl.json +7 -0
- package/locales/feedback/tr.json +7 -0
- package/locales/feedback/uk.json +7 -0
- package/locales/feedback/ur.json +7 -0
- package/locales/feedback/vi.json +7 -0
- package/locales/feedback/yo.json +7 -0
- package/locales/feedback/zh-Hans.json +7 -0
- package/locales/feedback/zh-Hant.json +7 -0
- package/locales/fi.json +48 -29
- package/locales/files/am.json +10 -0
- package/locales/files/ar.json +10 -0
- package/locales/files/bg.json +10 -0
- package/locales/files/bn.json +10 -0
- package/locales/files/br.json +10 -0
- package/locales/files/co.json +10 -0
- package/locales/files/cs.json +10 -0
- package/locales/files/da.json +10 -0
- package/locales/files/de.json +10 -0
- package/locales/files/el.json +10 -0
- package/locales/files/en.json +10 -0
- package/locales/files/es.json +10 -0
- package/locales/files/fa.json +10 -0
- package/locales/files/fi.json +10 -0
- package/locales/files/fr-CA.json +10 -0
- package/locales/files/fr.json +10 -0
- package/locales/files/ha.json +10 -0
- package/locales/files/he.json +10 -0
- package/locales/files/hi.json +10 -0
- package/locales/files/hr.json +10 -0
- package/locales/files/hu.json +10 -0
- package/locales/files/id.json +10 -0
- package/locales/files/it.json +10 -0
- package/locales/files/ja.json +10 -0
- package/locales/files/ko.json +10 -0
- package/locales/files/mr.json +10 -0
- package/locales/files/ms.json +10 -0
- package/locales/files/nl.json +10 -0
- package/locales/files/pl.json +10 -0
- package/locales/files/pt.json +10 -0
- package/locales/files/ro.json +10 -0
- package/locales/files/ru.json +10 -0
- package/locales/files/sk.json +10 -0
- package/locales/files/sv.json +10 -0
- package/locales/files/sw.json +10 -0
- package/locales/files/ta.json +10 -0
- package/locales/files/te.json +10 -0
- package/locales/files/th.json +10 -0
- package/locales/files/tl.json +10 -0
- package/locales/files/tr.json +10 -0
- package/locales/files/uk.json +10 -0
- package/locales/files/ur.json +10 -0
- package/locales/files/vi.json +10 -0
- package/locales/files/yo.json +10 -0
- package/locales/files/zh-Hans.json +10 -0
- package/locales/files/zh-Hant.json +10 -0
- package/locales/first/br.json +5 -5
- package/locales/first/co.json +1 -1
- package/locales/first/es.json +4 -4
- package/locales/first/fr-CA.json +1 -1
- package/locales/first/fr.json +1 -1
- package/locales/first/it.json +1 -1
- package/locales/first/ja.json +7 -7
- package/locales/first/ko.json +3 -3
- package/locales/first/pt.json +3 -3
- package/locales/first/zh-Hans.json +2 -2
- package/locales/first/zh-Hant.json +3 -3
- package/locales/flows/am.json +3 -0
- package/locales/flows/ar.json +3 -0
- package/locales/flows/bg.json +3 -0
- package/locales/flows/bn.json +3 -0
- package/locales/flows/br.json +10 -7
- package/locales/flows/co.json +7 -4
- package/locales/flows/cs.json +3 -0
- package/locales/flows/da.json +3 -0
- package/locales/flows/de.json +5 -2
- package/locales/flows/el.json +3 -0
- package/locales/flows/en.json +3 -0
- package/locales/flows/es.json +5 -2
- package/locales/flows/fa.json +3 -0
- package/locales/flows/fi.json +3 -0
- package/locales/flows/fr-CA.json +6 -3
- package/locales/flows/fr.json +6 -3
- package/locales/flows/ha.json +3 -0
- package/locales/flows/he.json +3 -0
- package/locales/flows/hi.json +3 -0
- package/locales/flows/hr.json +3 -0
- package/locales/flows/hu.json +3 -0
- package/locales/flows/id.json +3 -0
- package/locales/flows/it.json +5 -2
- package/locales/flows/ja.json +7 -4
- package/locales/flows/ko.json +10 -7
- package/locales/flows/mr.json +3 -0
- package/locales/flows/ms.json +3 -0
- package/locales/flows/nl.json +3 -0
- package/locales/flows/pl.json +3 -0
- package/locales/flows/pt.json +9 -6
- package/locales/flows/ro.json +3 -0
- package/locales/flows/ru.json +3 -0
- package/locales/flows/sk.json +3 -0
- package/locales/flows/sv.json +3 -0
- package/locales/flows/sw.json +3 -0
- package/locales/flows/ta.json +3 -0
- package/locales/flows/te.json +3 -0
- package/locales/flows/th.json +3 -0
- package/locales/flows/tl.json +3 -0
- package/locales/flows/tr.json +3 -0
- package/locales/flows/uk.json +3 -0
- package/locales/flows/ur.json +3 -0
- package/locales/flows/vi.json +3 -0
- package/locales/flows/yo.json +3 -0
- package/locales/flows/zh-Hans.json +8 -5
- package/locales/flows/zh-Hant.json +11 -8
- package/locales/folders/br.json +4 -4
- package/locales/folders/de.json +1 -1
- package/locales/folders/es.json +2 -2
- package/locales/folders/ja.json +2 -2
- package/locales/folders/ko.json +3 -3
- package/locales/folders/pt.json +2 -2
- package/locales/folders/zh-Hans.json +2 -2
- package/locales/folders/zh-Hant.json +7 -7
- package/locales/fr-CA.json +83 -63
- package/locales/fr.json +80 -60
- package/locales/games/am.json +16 -0
- package/locales/games/ar.json +16 -0
- package/locales/games/bg.json +16 -0
- package/locales/games/bn.json +16 -0
- package/locales/games/br.json +16 -0
- package/locales/games/co.json +16 -0
- package/locales/games/cs.json +16 -0
- package/locales/games/da.json +16 -0
- package/locales/games/de.json +16 -0
- package/locales/games/el.json +16 -0
- package/locales/games/en.json +16 -0
- package/locales/games/es.json +16 -0
- package/locales/games/fa.json +16 -0
- package/locales/games/fi.json +16 -0
- package/locales/games/fr-CA.json +16 -0
- package/locales/games/fr.json +16 -0
- package/locales/games/ha.json +16 -0
- package/locales/games/he.json +16 -0
- package/locales/games/hi.json +16 -0
- package/locales/games/hr.json +16 -0
- package/locales/games/hu.json +16 -0
- package/locales/games/id.json +16 -0
- package/locales/games/it.json +16 -0
- package/locales/games/ja.json +16 -0
- package/locales/games/ko.json +16 -0
- package/locales/games/mr.json +16 -0
- package/locales/games/ms.json +16 -0
- package/locales/games/nl.json +16 -0
- package/locales/games/pl.json +16 -0
- package/locales/games/pt.json +16 -0
- package/locales/games/ro.json +16 -0
- package/locales/games/ru.json +16 -0
- package/locales/games/sk.json +16 -0
- package/locales/games/sv.json +16 -0
- package/locales/games/sw.json +16 -0
- package/locales/games/ta.json +16 -0
- package/locales/games/te.json +16 -0
- package/locales/games/th.json +16 -0
- package/locales/games/tl.json +16 -0
- package/locales/games/tr.json +16 -0
- package/locales/games/uk.json +16 -0
- package/locales/games/ur.json +16 -0
- package/locales/games/vi.json +16 -0
- package/locales/games/yo.json +16 -0
- package/locales/games/zh-Hans.json +16 -0
- package/locales/games/zh-Hant.json +16 -0
- package/locales/ha.json +47 -28
- package/locales/he.json +48 -28
- package/locales/hi.json +47 -28
- package/locales/hr.json +49 -29
- package/locales/hu.json +47 -28
- package/locales/id.json +47 -29
- package/locales/interactive/am.json +11 -2
- package/locales/interactive/ar.json +11 -2
- package/locales/interactive/bg.json +11 -2
- package/locales/interactive/bn.json +11 -2
- package/locales/interactive/br.json +12 -3
- package/locales/interactive/co.json +12 -3
- package/locales/interactive/cs.json +11 -2
- package/locales/interactive/da.json +11 -2
- package/locales/interactive/de.json +11 -2
- package/locales/interactive/el.json +11 -2
- package/locales/interactive/en.json +11 -2
- package/locales/interactive/es.json +12 -3
- package/locales/interactive/fa.json +11 -2
- package/locales/interactive/fi.json +11 -2
- package/locales/interactive/fr-CA.json +11 -2
- package/locales/interactive/fr.json +11 -2
- package/locales/interactive/ha.json +11 -2
- package/locales/interactive/he.json +11 -2
- package/locales/interactive/hi.json +11 -2
- package/locales/interactive/hr.json +11 -2
- package/locales/interactive/hu.json +11 -2
- package/locales/interactive/id.json +11 -2
- package/locales/interactive/it.json +12 -3
- package/locales/interactive/ja.json +12 -3
- package/locales/interactive/ko.json +12 -3
- package/locales/interactive/mr.json +11 -2
- package/locales/interactive/ms.json +11 -2
- package/locales/interactive/nl.json +11 -2
- package/locales/interactive/pl.json +11 -2
- package/locales/interactive/pt.json +12 -3
- package/locales/interactive/ro.json +11 -2
- package/locales/interactive/ru.json +11 -2
- package/locales/interactive/sk.json +11 -2
- package/locales/interactive/sv.json +11 -2
- package/locales/interactive/sw.json +11 -2
- package/locales/interactive/ta.json +11 -2
- package/locales/interactive/te.json +11 -2
- package/locales/interactive/th.json +11 -2
- package/locales/interactive/tl.json +11 -2
- package/locales/interactive/tr.json +11 -2
- package/locales/interactive/uk.json +11 -2
- package/locales/interactive/ur.json +11 -2
- package/locales/interactive/vi.json +11 -2
- package/locales/interactive/yo.json +11 -2
- package/locales/interactive/zh-Hans.json +11 -2
- package/locales/interactive/zh-Hant.json +13 -4
- package/locales/it.json +86 -66
- package/locales/ja.json +75 -57
- package/locales/ko.json +68 -50
- package/locales/layouts/ja.json +1 -1
- package/locales/layouts/zh-Hans.json +1 -1
- package/locales/layouts/zh-Hant.json +1 -1
- package/locales/lock/am.json +6 -3
- package/locales/lock/ar.json +6 -3
- package/locales/lock/bg.json +6 -3
- package/locales/lock/bn.json +6 -3
- package/locales/lock/br.json +8 -5
- package/locales/lock/co.json +8 -5
- package/locales/lock/cs.json +6 -3
- package/locales/lock/da.json +6 -3
- package/locales/lock/de.json +8 -5
- package/locales/lock/el.json +6 -3
- package/locales/lock/en.json +7 -4
- package/locales/lock/es.json +7 -4
- package/locales/lock/fa.json +6 -3
- package/locales/lock/fi.json +6 -3
- package/locales/lock/fr-CA.json +7 -4
- package/locales/lock/fr.json +7 -4
- package/locales/lock/ha.json +6 -3
- package/locales/lock/he.json +6 -3
- package/locales/lock/hi.json +6 -3
- package/locales/lock/hr.json +6 -3
- package/locales/lock/hu.json +6 -3
- package/locales/lock/id.json +6 -3
- package/locales/lock/it.json +10 -7
- package/locales/lock/ja.json +10 -7
- package/locales/lock/ko.json +8 -5
- package/locales/lock/mr.json +6 -3
- package/locales/lock/ms.json +6 -3
- package/locales/lock/nl.json +6 -3
- package/locales/lock/pl.json +6 -3
- package/locales/lock/pt.json +7 -4
- package/locales/lock/ro.json +6 -3
- package/locales/lock/ru.json +6 -3
- package/locales/lock/sk.json +6 -3
- package/locales/lock/sv.json +6 -3
- package/locales/lock/sw.json +6 -3
- package/locales/lock/ta.json +6 -3
- package/locales/lock/te.json +6 -3
- package/locales/lock/th.json +6 -3
- package/locales/lock/tl.json +6 -3
- package/locales/lock/tr.json +6 -3
- package/locales/lock/uk.json +6 -3
- package/locales/lock/ur.json +6 -3
- package/locales/lock/vi.json +6 -3
- package/locales/lock/yo.json +6 -3
- package/locales/lock/zh-Hans.json +7 -4
- package/locales/lock/zh-Hant.json +7 -4
- package/locales/look/am.json +10 -1
- package/locales/look/ar.json +10 -1
- package/locales/look/bg.json +10 -1
- package/locales/look/bn.json +10 -1
- package/locales/look/br.json +17 -8
- package/locales/look/co.json +10 -1
- package/locales/look/cs.json +10 -1
- package/locales/look/da.json +10 -1
- package/locales/look/de.json +10 -1
- package/locales/look/el.json +10 -1
- package/locales/look/en.json +10 -1
- package/locales/look/es.json +12 -3
- package/locales/look/fa.json +10 -1
- package/locales/look/fi.json +10 -1
- package/locales/look/fr-CA.json +10 -1
- package/locales/look/fr.json +10 -1
- package/locales/look/ha.json +10 -1
- package/locales/look/he.json +10 -1
- package/locales/look/hi.json +10 -1
- package/locales/look/hr.json +10 -1
- package/locales/look/hu.json +10 -1
- package/locales/look/id.json +10 -1
- package/locales/look/it.json +10 -1
- package/locales/look/ja.json +14 -5
- package/locales/look/ko.json +11 -2
- package/locales/look/mr.json +10 -1
- package/locales/look/ms.json +10 -1
- package/locales/look/nl.json +10 -1
- package/locales/look/pl.json +10 -1
- package/locales/look/pt.json +12 -3
- package/locales/look/ro.json +10 -1
- package/locales/look/ru.json +10 -1
- package/locales/look/sk.json +10 -1
- package/locales/look/sv.json +10 -1
- package/locales/look/sw.json +10 -1
- package/locales/look/ta.json +10 -1
- package/locales/look/te.json +10 -1
- package/locales/look/th.json +10 -1
- package/locales/look/tl.json +10 -1
- package/locales/look/tr.json +10 -1
- package/locales/look/uk.json +10 -1
- package/locales/look/ur.json +10 -1
- package/locales/look/vi.json +10 -1
- package/locales/look/yo.json +10 -1
- package/locales/look/zh-Hans.json +15 -6
- package/locales/look/zh-Hant.json +18 -9
- package/locales/machine/br.json +5 -5
- package/locales/machine/co.json +4 -4
- package/locales/machine/de.json +2 -2
- package/locales/machine/en.json +2 -2
- package/locales/machine/es.json +8 -8
- package/locales/machine/fr-CA.json +4 -4
- package/locales/machine/fr.json +4 -4
- package/locales/machine/it.json +9 -9
- package/locales/machine/ja.json +4 -4
- package/locales/machine/ko.json +10 -10
- package/locales/machine/pt.json +4 -4
- package/locales/machine/zh-Hans.json +7 -7
- package/locales/machine/zh-Hant.json +10 -10
- package/locales/made/am.json +6 -1
- package/locales/made/ar.json +6 -1
- package/locales/made/bg.json +6 -1
- package/locales/made/bn.json +6 -1
- package/locales/made/br.json +8 -3
- package/locales/made/co.json +6 -1
- package/locales/made/cs.json +6 -1
- package/locales/made/da.json +6 -1
- package/locales/made/de.json +6 -1
- package/locales/made/el.json +6 -1
- package/locales/made/en.json +6 -1
- package/locales/made/es.json +6 -1
- package/locales/made/fa.json +6 -1
- package/locales/made/fi.json +6 -1
- package/locales/made/fr-CA.json +9 -4
- package/locales/made/fr.json +9 -4
- package/locales/made/ha.json +6 -1
- package/locales/made/he.json +6 -1
- package/locales/made/hi.json +6 -1
- package/locales/made/hr.json +6 -1
- package/locales/made/hu.json +6 -1
- package/locales/made/id.json +6 -1
- package/locales/made/it.json +6 -1
- package/locales/made/ja.json +6 -1
- package/locales/made/ko.json +7 -2
- package/locales/made/mr.json +6 -1
- package/locales/made/ms.json +6 -1
- package/locales/made/nl.json +6 -1
- package/locales/made/pl.json +6 -1
- package/locales/made/pt.json +9 -4
- package/locales/made/ro.json +6 -1
- package/locales/made/ru.json +6 -1
- package/locales/made/sk.json +6 -1
- package/locales/made/sv.json +6 -1
- package/locales/made/sw.json +6 -1
- package/locales/made/ta.json +6 -1
- package/locales/made/te.json +6 -1
- package/locales/made/th.json +6 -1
- package/locales/made/tl.json +6 -1
- package/locales/made/tr.json +6 -1
- package/locales/made/uk.json +6 -1
- package/locales/made/ur.json +6 -1
- package/locales/made/vi.json +6 -1
- package/locales/made/yo.json +6 -1
- package/locales/made/zh-Hans.json +8 -3
- package/locales/made/zh-Hant.json +7 -2
- package/locales/mr.json +47 -28
- package/locales/ms.json +47 -29
- package/locales/{reader → natural-voice}/es.json +1 -1
- package/locales/natural-voice/ja.json +9 -0
- package/locales/{reader → natural-voice}/zh-Hans.json +1 -1
- package/locales/{reader → natural-voice}/zh-Hant.json +2 -2
- package/locales/nl.json +48 -29
- package/locales/notifications/br.json +2 -2
- package/locales/notifications/es.json +4 -4
- package/locales/notifications/it.json +2 -2
- package/locales/notifications/pt.json +2 -2
- package/locales/notifications/zh-Hans.json +1 -1
- package/locales/notifications/zh-Hant.json +2 -2
- package/locales/out/am.json +13 -0
- package/locales/out/ar.json +13 -0
- package/locales/out/bg.json +13 -0
- package/locales/out/bn.json +13 -0
- package/locales/out/br.json +13 -0
- package/locales/out/co.json +13 -0
- package/locales/out/cs.json +13 -0
- package/locales/out/da.json +13 -0
- package/locales/out/de.json +13 -0
- package/locales/out/el.json +13 -0
- package/locales/out/en.json +13 -0
- package/locales/out/es.json +13 -0
- package/locales/out/fa.json +13 -0
- package/locales/out/fi.json +13 -0
- package/locales/out/fr-CA.json +13 -0
- package/locales/out/fr.json +13 -0
- package/locales/out/ha.json +13 -0
- package/locales/out/he.json +13 -0
- package/locales/out/hi.json +13 -0
- package/locales/out/hr.json +13 -0
- package/locales/out/hu.json +13 -0
- package/locales/out/id.json +13 -0
- package/locales/out/it.json +13 -0
- package/locales/out/ja.json +13 -0
- package/locales/out/ko.json +13 -0
- package/locales/out/mr.json +13 -0
- package/locales/out/ms.json +13 -0
- package/locales/out/nl.json +13 -0
- package/locales/out/pl.json +13 -0
- package/locales/out/pt.json +13 -0
- package/locales/out/ro.json +13 -0
- package/locales/out/ru.json +13 -0
- package/locales/out/sk.json +13 -0
- package/locales/out/sv.json +13 -0
- package/locales/out/sw.json +13 -0
- package/locales/out/ta.json +13 -0
- package/locales/out/te.json +13 -0
- package/locales/out/th.json +13 -0
- package/locales/out/tl.json +13 -0
- package/locales/out/tr.json +13 -0
- package/locales/out/uk.json +13 -0
- package/locales/out/ur.json +13 -0
- package/locales/out/vi.json +13 -0
- package/locales/out/yo.json +13 -0
- package/locales/out/zh-Hans.json +13 -0
- package/locales/out/zh-Hant.json +13 -0
- package/locales/pictures/br.json +5 -5
- package/locales/pictures/co.json +5 -5
- package/locales/pictures/de.json +3 -3
- package/locales/pictures/en.json +2 -2
- package/locales/pictures/es.json +4 -4
- package/locales/pictures/fr-CA.json +6 -6
- package/locales/pictures/fr.json +4 -4
- package/locales/pictures/it.json +7 -7
- package/locales/pictures/ja.json +8 -8
- package/locales/pictures/ko.json +8 -8
- package/locales/pictures/pt.json +5 -5
- package/locales/pictures/zh-Hans.json +5 -5
- package/locales/pictures/zh-Hant.json +6 -6
- package/locales/pl.json +49 -28
- package/locales/plan/fr-CA.json +1 -1
- package/locales/plan/fr.json +1 -1
- package/locales/plan/it.json +2 -2
- package/locales/plan/ja.json +3 -3
- package/locales/plan/zh-Hans.json +2 -2
- package/locales/plan/zh-Hant.json +1 -1
- package/locales/policy/am.json +1 -0
- package/locales/policy/ar.json +1 -0
- package/locales/policy/bg.json +1 -0
- package/locales/policy/bn.json +1 -0
- package/locales/policy/br.json +1 -0
- package/locales/policy/co.json +3 -2
- package/locales/policy/cs.json +1 -0
- package/locales/policy/da.json +1 -0
- package/locales/policy/de.json +1 -0
- package/locales/policy/el.json +1 -0
- package/locales/policy/en.json +1 -0
- package/locales/policy/es.json +4 -3
- package/locales/policy/fa.json +1 -0
- package/locales/policy/fi.json +1 -0
- package/locales/policy/fr-CA.json +2 -1
- package/locales/policy/fr.json +2 -1
- package/locales/policy/ha.json +1 -0
- package/locales/policy/he.json +1 -0
- package/locales/policy/hi.json +1 -0
- package/locales/policy/hr.json +1 -0
- package/locales/policy/hu.json +1 -0
- package/locales/policy/id.json +1 -0
- package/locales/policy/it.json +4 -3
- package/locales/policy/ja.json +3 -2
- package/locales/policy/ko.json +1 -0
- package/locales/policy/mr.json +1 -0
- package/locales/policy/ms.json +1 -0
- package/locales/policy/nl.json +1 -0
- package/locales/policy/pl.json +1 -0
- package/locales/policy/pt.json +4 -3
- package/locales/policy/ro.json +1 -0
- package/locales/policy/ru.json +1 -0
- package/locales/policy/sk.json +1 -0
- package/locales/policy/sv.json +1 -0
- package/locales/policy/sw.json +1 -0
- package/locales/policy/ta.json +1 -0
- package/locales/policy/te.json +1 -0
- package/locales/policy/th.json +1 -0
- package/locales/policy/tl.json +1 -0
- package/locales/policy/tr.json +1 -0
- package/locales/policy/uk.json +1 -0
- package/locales/policy/ur.json +1 -0
- package/locales/policy/vi.json +1 -0
- package/locales/policy/yo.json +1 -0
- package/locales/policy/zh-Hans.json +9 -8
- package/locales/policy/zh-Hant.json +17 -16
- package/locales/profiles/am.json +5 -0
- package/locales/profiles/ar.json +5 -0
- package/locales/profiles/bg.json +5 -0
- package/locales/profiles/bn.json +5 -0
- package/locales/profiles/br.json +14 -9
- package/locales/profiles/co.json +12 -7
- package/locales/profiles/cs.json +5 -0
- package/locales/profiles/da.json +5 -0
- package/locales/profiles/de.json +6 -1
- package/locales/profiles/el.json +5 -0
- package/locales/profiles/en.json +7 -2
- package/locales/profiles/es.json +7 -2
- package/locales/profiles/fa.json +5 -0
- package/locales/profiles/fi.json +5 -0
- package/locales/profiles/fr-CA.json +10 -5
- package/locales/profiles/fr.json +10 -5
- package/locales/profiles/ha.json +5 -0
- package/locales/profiles/he.json +5 -0
- package/locales/profiles/hi.json +5 -0
- package/locales/profiles/hr.json +5 -0
- package/locales/profiles/hu.json +5 -0
- package/locales/profiles/id.json +5 -0
- package/locales/profiles/it.json +11 -6
- package/locales/profiles/ja.json +13 -8
- package/locales/profiles/ko.json +25 -20
- package/locales/profiles/mr.json +5 -0
- package/locales/profiles/ms.json +5 -0
- package/locales/profiles/nl.json +5 -0
- package/locales/profiles/pl.json +5 -0
- package/locales/profiles/pt.json +10 -5
- package/locales/profiles/ro.json +5 -0
- package/locales/profiles/ru.json +5 -0
- package/locales/profiles/sk.json +5 -0
- package/locales/profiles/sv.json +5 -0
- package/locales/profiles/sw.json +5 -0
- package/locales/profiles/ta.json +5 -0
- package/locales/profiles/te.json +5 -0
- package/locales/profiles/th.json +5 -0
- package/locales/profiles/tl.json +5 -0
- package/locales/profiles/tr.json +5 -0
- package/locales/profiles/uk.json +5 -0
- package/locales/profiles/ur.json +5 -0
- package/locales/profiles/vi.json +5 -0
- package/locales/profiles/yo.json +5 -0
- package/locales/profiles/zh-Hans.json +18 -13
- package/locales/profiles/zh-Hant.json +13 -8
- package/locales/projects/am.json +4 -0
- package/locales/projects/ar.json +4 -0
- package/locales/projects/bg.json +4 -0
- package/locales/projects/bn.json +4 -0
- package/locales/projects/br.json +4 -0
- package/locales/projects/co.json +4 -0
- package/locales/projects/cs.json +4 -0
- package/locales/projects/da.json +4 -0
- package/locales/projects/de.json +4 -0
- package/locales/projects/el.json +4 -0
- package/locales/projects/en.json +4 -0
- package/locales/projects/es.json +4 -0
- package/locales/projects/fa.json +4 -0
- package/locales/projects/fi.json +4 -0
- package/locales/projects/fr-CA.json +4 -0
- package/locales/projects/fr.json +4 -0
- package/locales/projects/ha.json +4 -0
- package/locales/projects/he.json +4 -0
- package/locales/projects/hi.json +4 -0
- package/locales/projects/hr.json +4 -0
- package/locales/projects/hu.json +4 -0
- package/locales/projects/id.json +4 -0
- package/locales/projects/it.json +4 -0
- package/locales/projects/ja.json +4 -0
- package/locales/projects/ko.json +4 -0
- package/locales/projects/mr.json +4 -0
- package/locales/projects/ms.json +4 -0
- package/locales/projects/nl.json +4 -0
- package/locales/projects/pl.json +4 -0
- package/locales/projects/pt.json +4 -0
- package/locales/projects/ro.json +4 -0
- package/locales/projects/ru.json +4 -0
- package/locales/projects/sk.json +4 -0
- package/locales/projects/sv.json +4 -0
- package/locales/projects/sw.json +4 -0
- package/locales/projects/ta.json +4 -0
- package/locales/projects/te.json +4 -0
- package/locales/projects/th.json +4 -0
- package/locales/projects/tl.json +4 -0
- package/locales/projects/tr.json +4 -0
- package/locales/projects/uk.json +4 -0
- package/locales/projects/ur.json +4 -0
- package/locales/projects/vi.json +4 -0
- package/locales/projects/yo.json +4 -0
- package/locales/projects/zh-Hans.json +4 -0
- package/locales/projects/zh-Hant.json +4 -0
- package/locales/pt.json +71 -51
- package/locales/receipt/am.json +14 -1
- package/locales/receipt/ar.json +14 -1
- package/locales/receipt/bg.json +14 -1
- package/locales/receipt/bn.json +14 -1
- package/locales/receipt/br.json +16 -3
- package/locales/receipt/co.json +16 -3
- package/locales/receipt/cs.json +14 -1
- package/locales/receipt/da.json +14 -1
- package/locales/receipt/de.json +16 -3
- package/locales/receipt/el.json +14 -1
- package/locales/receipt/en.json +16 -3
- package/locales/receipt/es.json +19 -6
- package/locales/receipt/fa.json +14 -1
- package/locales/receipt/fi.json +14 -1
- package/locales/receipt/fr-CA.json +16 -3
- package/locales/receipt/fr.json +16 -3
- package/locales/receipt/ha.json +14 -1
- package/locales/receipt/he.json +14 -1
- package/locales/receipt/hi.json +14 -1
- package/locales/receipt/hr.json +14 -1
- package/locales/receipt/hu.json +14 -1
- package/locales/receipt/id.json +14 -1
- package/locales/receipt/it.json +21 -8
- package/locales/receipt/ja.json +19 -6
- package/locales/receipt/ko.json +15 -2
- package/locales/receipt/mr.json +14 -1
- package/locales/receipt/ms.json +14 -1
- package/locales/receipt/nl.json +14 -1
- package/locales/receipt/pl.json +14 -1
- package/locales/receipt/pt.json +18 -5
- package/locales/receipt/ro.json +14 -1
- package/locales/receipt/ru.json +14 -1
- package/locales/receipt/sk.json +14 -1
- package/locales/receipt/sv.json +14 -1
- package/locales/receipt/sw.json +14 -1
- package/locales/receipt/ta.json +14 -1
- package/locales/receipt/te.json +14 -1
- package/locales/receipt/th.json +14 -1
- package/locales/receipt/tl.json +14 -1
- package/locales/receipt/tr.json +14 -1
- package/locales/receipt/uk.json +14 -1
- package/locales/receipt/ur.json +14 -1
- package/locales/receipt/vi.json +14 -1
- package/locales/receipt/yo.json +14 -1
- package/locales/receipt/zh-Hans.json +17 -4
- package/locales/receipt/zh-Hant.json +25 -12
- package/locales/ro.json +49 -29
- package/locales/routines/am.json +11 -0
- package/locales/routines/ar.json +11 -0
- package/locales/routines/bg.json +11 -0
- package/locales/routines/bn.json +11 -0
- package/locales/routines/br.json +18 -7
- package/locales/routines/co.json +15 -4
- package/locales/routines/cs.json +11 -0
- package/locales/routines/da.json +11 -0
- package/locales/routines/de.json +11 -0
- package/locales/routines/el.json +11 -0
- package/locales/routines/en.json +11 -0
- package/locales/routines/es.json +14 -3
- package/locales/routines/fa.json +11 -0
- package/locales/routines/fi.json +11 -0
- package/locales/routines/fr-CA.json +13 -2
- package/locales/routines/fr.json +13 -2
- package/locales/routines/ha.json +11 -0
- package/locales/routines/he.json +11 -0
- package/locales/routines/hi.json +11 -0
- package/locales/routines/hr.json +11 -0
- package/locales/routines/hu.json +11 -0
- package/locales/routines/id.json +11 -0
- package/locales/routines/it.json +11 -0
- package/locales/routines/ja.json +20 -9
- package/locales/routines/ko.json +12 -1
- package/locales/routines/mr.json +11 -0
- package/locales/routines/ms.json +11 -0
- package/locales/routines/nl.json +11 -0
- package/locales/routines/pl.json +11 -0
- package/locales/routines/pt.json +16 -5
- package/locales/routines/ro.json +11 -0
- package/locales/routines/ru.json +11 -0
- package/locales/routines/sk.json +11 -0
- package/locales/routines/sv.json +11 -0
- package/locales/routines/sw.json +11 -0
- package/locales/routines/ta.json +11 -0
- package/locales/routines/te.json +11 -0
- package/locales/routines/th.json +11 -0
- package/locales/routines/tl.json +11 -0
- package/locales/routines/tr.json +11 -0
- package/locales/routines/uk.json +11 -0
- package/locales/routines/ur.json +11 -0
- package/locales/routines/vi.json +11 -0
- package/locales/routines/yo.json +11 -0
- package/locales/routines/zh-Hans.json +12 -1
- package/locales/routines/zh-Hant.json +13 -2
- package/locales/ru.json +49 -28
- package/locales/scores/am.json +5 -1
- package/locales/scores/ar.json +5 -1
- package/locales/scores/bg.json +5 -1
- package/locales/scores/bn.json +5 -1
- package/locales/scores/br.json +5 -1
- package/locales/scores/co.json +5 -1
- package/locales/scores/cs.json +5 -1
- package/locales/scores/da.json +5 -1
- package/locales/scores/de.json +6 -2
- package/locales/scores/el.json +5 -1
- package/locales/scores/en.json +5 -1
- package/locales/scores/es.json +5 -1
- package/locales/scores/fa.json +5 -1
- package/locales/scores/fi.json +5 -1
- package/locales/scores/fr-CA.json +5 -1
- package/locales/scores/fr.json +5 -1
- package/locales/scores/ha.json +5 -1
- package/locales/scores/he.json +5 -1
- package/locales/scores/hi.json +5 -1
- package/locales/scores/hr.json +5 -1
- package/locales/scores/hu.json +5 -1
- package/locales/scores/id.json +5 -1
- package/locales/scores/it.json +5 -1
- package/locales/scores/ja.json +5 -1
- package/locales/scores/ko.json +5 -1
- package/locales/scores/mr.json +5 -1
- package/locales/scores/ms.json +5 -1
- package/locales/scores/nl.json +5 -1
- package/locales/scores/pl.json +5 -1
- package/locales/scores/pt.json +5 -1
- package/locales/scores/ro.json +5 -1
- package/locales/scores/ru.json +5 -1
- package/locales/scores/sk.json +5 -1
- package/locales/scores/sv.json +5 -1
- package/locales/scores/sw.json +5 -1
- package/locales/scores/ta.json +5 -1
- package/locales/scores/te.json +5 -1
- package/locales/scores/th.json +5 -1
- package/locales/scores/tl.json +5 -1
- package/locales/scores/tr.json +5 -1
- package/locales/scores/uk.json +5 -1
- package/locales/scores/ur.json +5 -1
- package/locales/scores/vi.json +5 -1
- package/locales/scores/yo.json +5 -1
- package/locales/scores/zh-Hans.json +5 -1
- package/locales/scores/zh-Hant.json +5 -1
- package/locales/screen/am.json +11 -0
- package/locales/screen/ar.json +11 -0
- package/locales/screen/bg.json +11 -0
- package/locales/screen/bn.json +11 -0
- package/locales/screen/br.json +11 -0
- package/locales/screen/co.json +11 -0
- package/locales/screen/cs.json +11 -0
- package/locales/screen/da.json +11 -0
- package/locales/screen/de.json +11 -0
- package/locales/screen/el.json +11 -0
- package/locales/screen/en.json +11 -0
- package/locales/screen/es.json +11 -0
- package/locales/screen/fa.json +11 -0
- package/locales/screen/fi.json +11 -0
- package/locales/screen/fr-CA.json +11 -0
- package/locales/screen/fr.json +11 -0
- package/locales/screen/ha.json +11 -0
- package/locales/screen/he.json +11 -0
- package/locales/screen/hi.json +11 -0
- package/locales/screen/hr.json +11 -0
- package/locales/screen/hu.json +11 -0
- package/locales/screen/id.json +11 -0
- package/locales/screen/it.json +11 -0
- package/locales/screen/ja.json +11 -0
- package/locales/screen/ko.json +11 -0
- package/locales/screen/mr.json +11 -0
- package/locales/screen/ms.json +11 -0
- package/locales/screen/nl.json +11 -0
- package/locales/screen/pl.json +11 -0
- package/locales/screen/pt.json +11 -0
- package/locales/screen/ro.json +11 -0
- package/locales/screen/ru.json +11 -0
- package/locales/screen/sk.json +11 -0
- package/locales/screen/sv.json +11 -0
- package/locales/screen/sw.json +11 -0
- package/locales/screen/ta.json +11 -0
- package/locales/screen/te.json +11 -0
- package/locales/screen/th.json +11 -0
- package/locales/screen/tl.json +11 -0
- package/locales/screen/tr.json +11 -0
- package/locales/screen/uk.json +11 -0
- package/locales/screen/ur.json +11 -0
- package/locales/screen/vi.json +11 -0
- package/locales/screen/yo.json +11 -0
- package/locales/screen/zh-Hans.json +11 -0
- package/locales/screen/zh-Hant.json +11 -0
- package/locales/share/br.json +6 -6
- package/locales/share/co.json +4 -4
- package/locales/share/de.json +2 -2
- package/locales/share/es.json +1 -1
- package/locales/share/fr-CA.json +5 -5
- package/locales/share/fr.json +3 -3
- package/locales/share/it.json +4 -4
- package/locales/share/ja.json +15 -15
- package/locales/share/ko.json +4 -4
- package/locales/share/pt.json +2 -2
- package/locales/share/zh-Hans.json +8 -8
- package/locales/share/zh-Hant.json +14 -14
- package/locales/signin/am.json +3 -1
- package/locales/signin/ar.json +3 -1
- package/locales/signin/bg.json +3 -1
- package/locales/signin/bn.json +3 -1
- package/locales/signin/br.json +3 -1
- package/locales/signin/co.json +3 -1
- package/locales/signin/cs.json +3 -1
- package/locales/signin/da.json +3 -1
- package/locales/signin/de.json +3 -1
- package/locales/signin/el.json +3 -1
- package/locales/signin/en.json +3 -1
- package/locales/signin/es.json +4 -2
- package/locales/signin/fa.json +3 -1
- package/locales/signin/fi.json +3 -1
- package/locales/signin/fr-CA.json +3 -1
- package/locales/signin/fr.json +3 -1
- package/locales/signin/ha.json +3 -1
- package/locales/signin/he.json +3 -1
- package/locales/signin/hi.json +3 -1
- package/locales/signin/hr.json +3 -1
- package/locales/signin/hu.json +3 -1
- package/locales/signin/id.json +3 -1
- package/locales/signin/it.json +3 -1
- package/locales/signin/ja.json +3 -1
- package/locales/signin/ko.json +3 -1
- package/locales/signin/mr.json +3 -1
- package/locales/signin/ms.json +3 -1
- package/locales/signin/nl.json +3 -1
- package/locales/signin/pl.json +3 -1
- package/locales/signin/pt.json +3 -1
- package/locales/signin/ro.json +3 -1
- package/locales/signin/ru.json +3 -1
- package/locales/signin/sk.json +3 -1
- package/locales/signin/sv.json +3 -1
- package/locales/signin/sw.json +3 -1
- package/locales/signin/ta.json +3 -1
- package/locales/signin/te.json +3 -1
- package/locales/signin/th.json +3 -1
- package/locales/signin/tl.json +3 -1
- package/locales/signin/tr.json +3 -1
- package/locales/signin/uk.json +3 -1
- package/locales/signin/ur.json +3 -1
- package/locales/signin/vi.json +3 -1
- package/locales/signin/yo.json +3 -1
- package/locales/signin/zh-Hans.json +3 -1
- package/locales/signin/zh-Hant.json +3 -1
- package/locales/sites/am.json +48 -0
- package/locales/sites/ar.json +52 -0
- package/locales/sites/bg.json +48 -0
- package/locales/sites/bn.json +48 -0
- package/locales/sites/br.json +51 -0
- package/locales/sites/co.json +49 -0
- package/locales/sites/cs.json +50 -0
- package/locales/sites/da.json +48 -0
- package/locales/sites/de.json +48 -0
- package/locales/sites/el.json +48 -0
- package/locales/sites/en.json +48 -0
- package/locales/sites/es.json +49 -0
- package/locales/sites/fa.json +48 -0
- package/locales/sites/fi.json +48 -0
- package/locales/sites/fr-CA.json +49 -0
- package/locales/sites/fr.json +49 -0
- package/locales/sites/ha.json +48 -0
- package/locales/sites/he.json +49 -0
- package/locales/sites/hi.json +48 -0
- package/locales/sites/hr.json +49 -0
- package/locales/sites/hu.json +48 -0
- package/locales/sites/id.json +47 -0
- package/locales/sites/it.json +49 -0
- package/locales/sites/ja.json +47 -0
- package/locales/sites/ko.json +47 -0
- package/locales/sites/mr.json +48 -0
- package/locales/sites/ms.json +47 -0
- package/locales/sites/nl.json +48 -0
- package/locales/sites/pl.json +50 -0
- package/locales/sites/pt.json +49 -0
- package/locales/sites/ro.json +49 -0
- package/locales/sites/ru.json +50 -0
- package/locales/sites/sk.json +50 -0
- package/locales/sites/sv.json +48 -0
- package/locales/sites/sw.json +48 -0
- package/locales/sites/ta.json +48 -0
- package/locales/sites/te.json +48 -0
- package/locales/sites/th.json +47 -0
- package/locales/sites/tl.json +48 -0
- package/locales/sites/tr.json +48 -0
- package/locales/sites/uk.json +50 -0
- package/locales/sites/ur.json +48 -0
- package/locales/sites/vi.json +47 -0
- package/locales/sites/yo.json +47 -0
- package/locales/sites/zh-Hans.json +47 -0
- package/locales/sites/zh-Hant.json +47 -0
- package/locales/sk.json +50 -29
- package/locales/skills/am.json +1 -0
- package/locales/skills/ar.json +1 -0
- package/locales/skills/bg.json +1 -0
- package/locales/skills/bn.json +1 -0
- package/locales/skills/br.json +8 -7
- package/locales/skills/co.json +8 -7
- package/locales/skills/cs.json +1 -0
- package/locales/skills/da.json +1 -0
- package/locales/skills/de.json +6 -5
- package/locales/skills/el.json +1 -0
- package/locales/skills/en.json +1 -0
- package/locales/skills/es.json +5 -4
- package/locales/skills/fa.json +1 -0
- package/locales/skills/fi.json +1 -0
- package/locales/skills/fr-CA.json +4 -3
- package/locales/skills/fr.json +4 -3
- package/locales/skills/ha.json +1 -0
- package/locales/skills/he.json +1 -0
- package/locales/skills/hi.json +1 -0
- package/locales/skills/hr.json +1 -0
- package/locales/skills/hu.json +1 -0
- package/locales/skills/id.json +1 -0
- package/locales/skills/it.json +2 -1
- package/locales/skills/ja.json +17 -16
- package/locales/skills/ko.json +2 -1
- package/locales/skills/mr.json +1 -0
- package/locales/skills/ms.json +1 -0
- package/locales/skills/nl.json +1 -0
- package/locales/skills/pl.json +1 -0
- package/locales/skills/pt.json +6 -5
- package/locales/skills/ro.json +1 -0
- package/locales/skills/ru.json +1 -0
- package/locales/skills/sk.json +1 -0
- package/locales/skills/sv.json +1 -0
- package/locales/skills/sw.json +1 -0
- package/locales/skills/ta.json +1 -0
- package/locales/skills/te.json +1 -0
- package/locales/skills/th.json +1 -0
- package/locales/skills/tl.json +1 -0
- package/locales/skills/tr.json +1 -0
- package/locales/skills/uk.json +1 -0
- package/locales/skills/ur.json +1 -0
- package/locales/skills/vi.json +1 -0
- package/locales/skills/yo.json +1 -0
- package/locales/skills/zh-Hans.json +3 -2
- package/locales/skills/zh-Hant.json +5 -4
- package/locales/slides/am.json +16 -11
- package/locales/slides/ar.json +16 -11
- package/locales/slides/bg.json +16 -11
- package/locales/slides/bn.json +16 -11
- package/locales/slides/br.json +26 -21
- package/locales/slides/co.json +41 -36
- package/locales/slides/cs.json +16 -11
- package/locales/slides/da.json +16 -11
- package/locales/slides/de.json +16 -11
- package/locales/slides/el.json +16 -11
- package/locales/slides/en.json +20 -15
- package/locales/slides/es.json +21 -16
- package/locales/slides/fa.json +16 -11
- package/locales/slides/fi.json +16 -11
- package/locales/slides/fr-CA.json +16 -11
- package/locales/slides/fr.json +16 -11
- package/locales/slides/ha.json +16 -11
- package/locales/slides/he.json +16 -11
- package/locales/slides/hi.json +16 -11
- package/locales/slides/hr.json +16 -11
- package/locales/slides/hu.json +16 -11
- package/locales/slides/id.json +16 -11
- package/locales/slides/it.json +20 -15
- package/locales/slides/ja.json +21 -16
- package/locales/slides/ko.json +29 -24
- package/locales/slides/mr.json +16 -11
- package/locales/slides/ms.json +16 -11
- package/locales/slides/nl.json +16 -11
- package/locales/slides/pl.json +16 -11
- package/locales/slides/pt.json +23 -18
- package/locales/slides/ro.json +16 -11
- package/locales/slides/ru.json +16 -11
- package/locales/slides/sk.json +16 -11
- package/locales/slides/sv.json +16 -11
- package/locales/slides/sw.json +16 -11
- package/locales/slides/ta.json +16 -11
- package/locales/slides/te.json +16 -11
- package/locales/slides/th.json +16 -11
- package/locales/slides/tl.json +16 -11
- package/locales/slides/tr.json +16 -11
- package/locales/slides/uk.json +16 -11
- package/locales/slides/ur.json +16 -11
- package/locales/slides/vi.json +16 -11
- package/locales/slides/yo.json +16 -11
- package/locales/slides/zh-Hans.json +20 -15
- package/locales/slides/zh-Hant.json +19 -14
- package/locales/sv.json +47 -28
- package/locales/sw.json +47 -28
- package/locales/sync/am.json +1 -0
- package/locales/sync/ar.json +1 -0
- package/locales/sync/bg.json +1 -0
- package/locales/sync/bn.json +1 -0
- package/locales/sync/br.json +3 -2
- package/locales/sync/co.json +1 -0
- package/locales/sync/cs.json +1 -0
- package/locales/sync/da.json +1 -0
- package/locales/sync/de.json +3 -2
- package/locales/sync/el.json +1 -0
- package/locales/sync/en.json +1 -0
- package/locales/sync/es.json +7 -6
- package/locales/sync/fa.json +1 -0
- package/locales/sync/fi.json +1 -0
- package/locales/sync/fr-CA.json +1 -0
- package/locales/sync/fr.json +1 -0
- package/locales/sync/ha.json +1 -0
- package/locales/sync/he.json +1 -0
- package/locales/sync/hi.json +1 -0
- package/locales/sync/hr.json +1 -0
- package/locales/sync/hu.json +1 -0
- package/locales/sync/id.json +1 -0
- package/locales/sync/it.json +2 -1
- package/locales/sync/ja.json +3 -2
- package/locales/sync/ko.json +1 -0
- package/locales/sync/mr.json +1 -0
- package/locales/sync/ms.json +1 -0
- package/locales/sync/nl.json +1 -0
- package/locales/sync/pl.json +1 -0
- package/locales/sync/pt.json +2 -1
- package/locales/sync/ro.json +1 -0
- package/locales/sync/ru.json +1 -0
- package/locales/sync/sk.json +1 -0
- package/locales/sync/sv.json +1 -0
- package/locales/sync/sw.json +1 -0
- package/locales/sync/ta.json +1 -0
- package/locales/sync/te.json +1 -0
- package/locales/sync/th.json +1 -0
- package/locales/sync/tl.json +1 -0
- package/locales/sync/tr.json +1 -0
- package/locales/sync/uk.json +1 -0
- package/locales/sync/ur.json +1 -0
- package/locales/sync/vi.json +1 -0
- package/locales/sync/yo.json +1 -0
- package/locales/sync/zh-Hans.json +1 -0
- package/locales/sync/zh-Hant.json +1 -0
- package/locales/ta.json +47 -28
- package/locales/tables/am.json +27 -2
- package/locales/tables/ar.json +35 -2
- package/locales/tables/bg.json +27 -2
- package/locales/tables/bn.json +27 -2
- package/locales/tables/br.json +35 -4
- package/locales/tables/co.json +37 -10
- package/locales/tables/cs.json +33 -4
- package/locales/tables/da.json +27 -2
- package/locales/tables/de.json +27 -2
- package/locales/tables/el.json +27 -2
- package/locales/tables/en.json +27 -2
- package/locales/tables/es.json +29 -2
- package/locales/tables/fa.json +27 -2
- package/locales/tables/fi.json +27 -2
- package/locales/tables/fr-CA.json +30 -3
- package/locales/tables/fr.json +30 -3
- package/locales/tables/ha.json +27 -2
- package/locales/tables/he.json +31 -4
- package/locales/tables/hi.json +27 -2
- package/locales/tables/hr.json +29 -2
- package/locales/tables/hu.json +27 -2
- package/locales/tables/id.json +25 -2
- package/locales/tables/it.json +29 -2
- package/locales/tables/ja.json +26 -3
- package/locales/tables/ko.json +27 -4
- package/locales/tables/mr.json +27 -2
- package/locales/tables/ms.json +25 -2
- package/locales/tables/nl.json +27 -2
- package/locales/tables/pl.json +31 -2
- package/locales/tables/pt.json +31 -4
- package/locales/tables/ro.json +29 -2
- package/locales/tables/ru.json +31 -2
- package/locales/tables/sk.json +33 -4
- package/locales/tables/sv.json +29 -4
- package/locales/tables/sw.json +27 -2
- package/locales/tables/ta.json +27 -2
- package/locales/tables/te.json +29 -4
- package/locales/tables/th.json +25 -2
- package/locales/tables/tl.json +29 -4
- package/locales/tables/tr.json +27 -2
- package/locales/tables/uk.json +31 -2
- package/locales/tables/ur.json +27 -2
- package/locales/tables/vi.json +27 -4
- package/locales/tables/yo.json +27 -4
- package/locales/tables/zh-Hans.json +28 -5
- package/locales/tables/zh-Hant.json +28 -5
- package/locales/te.json +47 -28
- package/locales/th.json +46 -28
- package/locales/tl.json +47 -28
- package/locales/tr.json +47 -28
- package/locales/uk.json +49 -28
- package/locales/ur.json +47 -28
- package/locales/vi.json +46 -28
- package/locales/{search → web-search}/am.json +10 -1
- package/locales/{search → web-search}/ar.json +10 -1
- package/locales/{search → web-search}/bg.json +10 -1
- package/locales/{search → web-search}/bn.json +10 -1
- package/locales/{search → web-search}/br.json +14 -5
- package/locales/{search → web-search}/co.json +14 -5
- package/locales/{search → web-search}/cs.json +10 -1
- package/locales/{search → web-search}/da.json +10 -1
- package/locales/{search → web-search}/de.json +10 -1
- package/locales/{search → web-search}/el.json +10 -1
- package/locales/{search → web-search}/en.json +10 -1
- package/locales/{search → web-search}/es.json +13 -4
- package/locales/{search → web-search}/fa.json +10 -1
- package/locales/{search → web-search}/fi.json +10 -1
- package/locales/{search → web-search}/fr-CA.json +10 -1
- package/locales/{search → web-search}/fr.json +10 -1
- package/locales/{search → web-search}/ha.json +10 -1
- package/locales/{search → web-search}/he.json +10 -1
- package/locales/{search → web-search}/hi.json +10 -1
- package/locales/{search → web-search}/hr.json +10 -1
- package/locales/{search → web-search}/hu.json +10 -1
- package/locales/{search → web-search}/id.json +10 -1
- package/locales/{search → web-search}/it.json +10 -1
- package/locales/{search → web-search}/ja.json +15 -6
- package/locales/{search → web-search}/ko.json +10 -1
- package/locales/{search → web-search}/mr.json +10 -1
- package/locales/{search → web-search}/ms.json +10 -1
- package/locales/{search → web-search}/nl.json +10 -1
- package/locales/{search → web-search}/pl.json +10 -1
- package/locales/{search → web-search}/pt.json +10 -1
- package/locales/{search → web-search}/ro.json +10 -1
- package/locales/{search → web-search}/ru.json +10 -1
- package/locales/{search → web-search}/sk.json +10 -1
- package/locales/{search → web-search}/sv.json +10 -1
- package/locales/{search → web-search}/sw.json +10 -1
- package/locales/{search → web-search}/ta.json +10 -1
- package/locales/{search → web-search}/te.json +10 -1
- package/locales/{search → web-search}/th.json +10 -1
- package/locales/{search → web-search}/tl.json +10 -1
- package/locales/{search → web-search}/tr.json +10 -1
- package/locales/{search → web-search}/uk.json +10 -1
- package/locales/{search → web-search}/ur.json +10 -1
- package/locales/{search → web-search}/vi.json +10 -1
- package/locales/{search → web-search}/yo.json +10 -1
- package/locales/{search → web-search}/zh-Hans.json +12 -3
- package/locales/web-search/zh-Hant.json +55 -0
- package/locales/yo.json +46 -28
- package/locales/you/br.json +13 -13
- package/locales/you/co.json +2 -2
- package/locales/you/de.json +1 -1
- package/locales/you/en.json +1 -1
- package/locales/you/es.json +2 -2
- package/locales/you/fr-CA.json +3 -3
- package/locales/you/fr.json +3 -3
- package/locales/you/it.json +10 -10
- package/locales/you/ja.json +9 -9
- package/locales/you/pt.json +11 -11
- package/locales/you/zh-Hans.json +3 -3
- package/locales/you/zh-Hant.json +3 -3
- package/locales/zh-Hans.json +64 -46
- package/locales/zh-Hant.json +74 -56
- package/package.json +5 -1
- package/preview.html +8 -2
- package/ui/base.js +33 -0
- package/ui/caps.js +18 -9
- package/ui/csp.js +2 -2
- package/ui/export.js +11 -5
- package/ui/icons.js +4 -3
- package/ui/kit.js +49 -13
- package/ui/language.js +172 -0
- package/ui/looks/classic.css +5 -2
- package/ui/looks/human.css +12 -13
- package/ui/looks/mail.css +1 -1
- package/ui/looks/minimal.css +1 -1
- package/ui/looks.js +3 -6
- package/ui/markdown.js +36 -21
- package/ui/menu-icons.js +11 -6
- package/ui/model.js +9 -3
- package/ui/pointed.js +22 -0
- package/ui/reader-state.js +5 -4
- package/ui/reader.js +1 -1
- package/ui/review.js +1 -1
- package/ui/save.js +16 -0
- package/ui/seal.js +67 -6
- package/ui/sheet.js +21 -2
- package/ui/shown.js +53 -0
- package/ui/style.css +73 -49
- package/ui/touches.js +26 -1
- package/ui/view.css +28 -2
- package/ui/view.js +47 -22
- package/vendor/LICENSES/babylonjs-core.txt +2 -0
- package/vendor/LICENSES/eventemitter3.txt +21 -0
- package/vendor/LICENSES/maplibre-gl.txt +1 -1
- package/vendor/LICENSES/phaser.txt +20 -0
- package/vendor/LICENSES/zzfx.txt +21 -0
- package/vendor/abcjs/abcjs.mjs +2 -2
- package/vendor/babylon/babylon.mjs +8122 -0
- package/vendor/deck/deck.css +2 -2
- package/vendor/deck/deck.mjs +37 -37
- package/vendor/deck/pptx.mjs +1 -1
- package/vendor/maplibre/maplibre-gl-worker.js +3 -3
- package/vendor/maplibre/maplibre-gl.css +1 -1
- package/vendor/maplibre/maplibre-gl.mjs +37 -37
- package/vendor/marked.esm.js +40 -38
- package/vendor/ooxml/abort-JztSoyw2.js +8 -0
- package/vendor/ooxml/{hyperlink-Cxzhet30.js → bounded-raw-part-cache-B8t03tSP.js} +4460 -7080
- package/vendor/ooxml/bundled-asset-url-BMJ8vNHP.js +13 -0
- package/vendor/ooxml/canvas-viewer-mechanics-DI38gHNV.js +653 -0
- package/vendor/ooxml/cfb-guard-BIaHdonq.js +516 -0
- package/vendor/ooxml/{chunk-DmhlhrBa.js → chunk-D5OxutzX.js} +0 -2
- package/vendor/ooxml/comment-overlay-controller-Crm5Syhx.js +974 -0
- package/vendor/ooxml/{comment-ui-runtime-CWGqn5Vr.js → comment-ui-runtime-BfEPgl5r.js} +5 -7
- package/vendor/ooxml/comment-ui-runtime-BtP_TpvT.js +2 -0
- package/vendor/ooxml/{comment-ui-runtime-DcJOYlw-.js → comment-ui-runtime-hfewTmVJ.js} +5 -7
- package/vendor/ooxml/delimited-text-worker-host-RwvuSsP2.js +21 -0
- package/vendor/ooxml/document-model-source-BUTSwkyP.js +247 -0
- package/vendor/ooxml/document-pull-client-C_D779tO.js +36230 -0
- package/vendor/ooxml/docx-BfLZeiwa.js +3509 -0
- package/vendor/ooxml/docx.mjs +7 -7
- package/vendor/ooxml/docx_parser_bg.wasm +0 -0
- package/vendor/ooxml/drawingml-shape-BcXkRayC.js +306 -0
- package/vendor/ooxml/duotone-BI7CoghW.js +122 -0
- package/vendor/ooxml/emf-DgUBx9BU.js +1788 -0
- package/vendor/ooxml/font-preload-demand-B6HPFxDp.js +2052 -0
- package/vendor/ooxml/graph.json +1 -1
- package/vendor/ooxml/grid-geometry-CqTDvpDr.js +379 -0
- package/vendor/ooxml/host-layout-Cz_lCuTZ.js +55 -0
- package/vendor/ooxml/line-distribute-DR9Qwd3u.js +2783 -0
- package/vendor/ooxml/{mathjax-DoyWZbSp.js → mathjax-DvwccQ8e.js} +0 -2
- package/vendor/ooxml/model-source-COXegBNA.js +177 -0
- package/vendor/ooxml/{pixel-budget-9P63Bsk5.js → pixel-budget-DI82Hn3R.js} +13 -12
- package/vendor/ooxml/plot-area-frame-D3JtHvov.js +41645 -0
- package/vendor/ooxml/pptx-CfCiVlNB.js +2888 -0
- package/vendor/ooxml/pptx.mjs +8 -7
- package/vendor/ooxml/pptx_parser_bg.wasm +0 -0
- package/vendor/ooxml/presentation-model-source-DL6duh5l.js +75 -0
- package/vendor/ooxml/raster-target-Ca3tyA0L.js +40 -0
- package/vendor/ooxml/{read-only-comment-decoration-Dz7eTQ4d.js → read-only-comment-decoration-B06YO2zk.js} +0 -4
- package/vendor/ooxml/{read-only-comment-margin-DkgzASAl.js → read-only-comment-margin-Ee9Y6vPg.js} +0 -2
- package/vendor/ooxml/renderer-IFuBkPvF.js +5197 -0
- package/vendor/ooxml/{renderer-module-contract-D91rkYHH.js → renderer-module-contract-BuTx2FWJ.js} +0 -2
- package/vendor/ooxml/renderer-xdugdcMd.js +5769 -0
- package/vendor/ooxml/resource-measurement-D2bu0Qfx.js +756 -0
- package/vendor/ooxml/slide-pull-client-BUuJQQVE.js +6431 -0
- package/vendor/ooxml/three-d-ByHGsYrX.js +868 -0
- package/vendor/ooxml/tiff-contract-DEd8CGuz.js +48 -0
- package/vendor/ooxml/{visible-index-BgiHEc1z.js → visible-index-vN-4BNn7.js} +0 -2
- package/vendor/ooxml/workbook-model-source-DBfVsWj7.js +92 -0
- package/vendor/ooxml/worker-source-C29EQNUj.js +18 -0
- package/vendor/ooxml/worker-source-D3NwPe6l.js +18 -0
- package/vendor/ooxml/worker-source-ZQE9C1j6.js +18 -0
- package/vendor/ooxml/worksheet-pull-client-Du0MuIro.js +565 -0
- package/vendor/ooxml/xlsx-CCMRAxPB.js +5812 -0
- package/vendor/ooxml/xlsx.mjs +8 -7
- package/vendor/ooxml/xlsx_parser_bg.wasm +0 -0
- package/vendor/pele/chunks/2CHDFZHC.js +1 -0
- package/vendor/pele/chunks/{GAP5KXLD.js → 2S3JPEOY.js} +1 -1
- package/vendor/pele/chunks/2U463FD2.js +11 -0
- package/vendor/pele/chunks/3OKCTCH7.js +1 -0
- package/vendor/pele/chunks/42UK3TL6.js +8 -0
- package/vendor/pele/chunks/43YPWK3Q.js +1 -0
- package/vendor/pele/chunks/45MVAN6X.js +1 -0
- package/vendor/pele/chunks/46GJKBLZ.js +1 -0
- package/vendor/pele/chunks/4WR52FRP.js +4 -0
- package/vendor/pele/chunks/63WH7YNF.js +1 -0
- package/vendor/pele/chunks/{2TH3V34D.js → 673H7YBG.js} +1 -1
- package/vendor/pele/chunks/6DDU7VKX.js +1 -0
- package/vendor/pele/chunks/{3MKGV5HX.js → 6Y6FML25.js} +1 -1
- package/vendor/pele/chunks/{4AG6A4TK.js → 7HQPULDG.js} +1 -1
- package/vendor/pele/chunks/7N3VAIG2.js +2 -0
- package/vendor/pele/chunks/{QFOMM5LR.js → 7NY54ILO.js} +1 -1
- package/vendor/pele/chunks/{VHJMZXCQ.js → BJNHMTN6.js} +1 -1
- package/vendor/pele/chunks/{6PEWY3TN.js → BK7N5KMP.js} +1 -1
- package/vendor/pele/chunks/CLQLV5VT.js +1 -0
- package/vendor/pele/chunks/CUSPXG5M.js +1 -0
- package/vendor/pele/chunks/D3L7O4X2.js +1 -0
- package/vendor/pele/chunks/{D4V2MWCI.js → D5TW5CPZ.js} +1 -1
- package/vendor/pele/chunks/DDVFZY3L.js +7 -0
- package/vendor/pele/chunks/{3S2YGJBL.js → DO6ND2WD.js} +5 -5
- package/vendor/pele/chunks/EGADTWYV.js +1 -0
- package/vendor/pele/chunks/EI4VGK5C.js +4 -0
- package/vendor/pele/chunks/EOJSJZXM.js +1 -0
- package/vendor/pele/chunks/F4O23KYR.js +5 -0
- package/vendor/pele/chunks/G2OEIG6X.js +1 -0
- package/vendor/pele/chunks/GER2CN75.js +2 -0
- package/vendor/pele/chunks/{RGVCULFG.js → GP5YUCAR.js} +1 -1
- package/vendor/pele/chunks/GXJ2T77W.js +1 -0
- package/vendor/pele/chunks/HX3UMAK7.js +1 -0
- package/vendor/pele/chunks/IU7WZTP6.js +4 -0
- package/vendor/pele/chunks/J3JF2HV4.js +12 -0
- package/vendor/pele/chunks/J5J2NR2G.js +1 -0
- package/vendor/pele/chunks/JRCWTJEL.js +1 -0
- package/vendor/pele/chunks/{M7II5KMO.js → K2ZHGJKH.js} +1 -1
- package/vendor/pele/chunks/{E3FWOBN4.js → KHUP5TOH.js} +3 -3
- package/vendor/pele/chunks/L74FQTH5.js +1 -0
- package/vendor/pele/chunks/LAV4ZXOS.js +1 -0
- package/vendor/pele/chunks/LBIZYCRR.js +1 -0
- package/vendor/pele/chunks/LFFXNLRS.js +1 -0
- package/vendor/pele/chunks/LJ44NU43.js +3 -0
- package/vendor/pele/chunks/LLLWOAQD.js +1 -0
- package/vendor/pele/chunks/LTY5LMQH.js +5 -0
- package/vendor/pele/chunks/LTYQZ5U5.js +1 -0
- package/vendor/pele/chunks/MJBOF5Q6.js +2 -0
- package/vendor/pele/chunks/NDSCUZ25.js +1 -0
- package/vendor/pele/chunks/NMN3IKWL.js +1 -0
- package/vendor/pele/chunks/NMUA3R2D.js +1 -0
- package/vendor/pele/chunks/NY5A6PPW.js +1 -0
- package/vendor/pele/chunks/O3ACPFEJ.js +8 -0
- package/vendor/pele/chunks/{A6VFOGAO.js → O4MQT6AV.js} +1 -1
- package/vendor/pele/chunks/{DUZNPW7S.js → OHJ2EJXK.js} +1 -1
- package/vendor/pele/chunks/OU2GIT2H.js +1 -0
- package/vendor/pele/chunks/{E65FQMJL.js → PDMLSE6I.js} +1 -1
- package/vendor/pele/chunks/PJ7X32S5.js +1 -0
- package/vendor/pele/chunks/RLLQ44NJ.js +1 -0
- package/vendor/pele/chunks/S6DWMCK5.js +1 -0
- package/vendor/pele/chunks/STIOTUT7.js +1 -0
- package/vendor/pele/chunks/{UO52YEYL.js → SXSLPWUD.js} +1 -1
- package/vendor/pele/chunks/TBJXKAT4.js +3 -0
- package/vendor/pele/chunks/TIVX74RS.js +2 -0
- package/vendor/pele/chunks/{KIF544NL.js → TK23BXEA.js} +1 -1
- package/vendor/pele/chunks/{STAXBNH4.js → TR4WJQGX.js} +1 -1
- package/vendor/pele/chunks/UWRPUF3N.js +1 -0
- package/vendor/pele/chunks/VMTWYMKQ.js +2 -0
- package/vendor/pele/chunks/VSWIZJ7B.js +1 -0
- package/vendor/pele/chunks/{STMK7JZH.js → W2WY5CQX.js} +2 -2
- package/vendor/pele/chunks/W77N5H3K.js +2 -0
- package/vendor/pele/chunks/WM7NR6YK.js +1 -0
- package/vendor/pele/chunks/WSTWNLCU.js +4 -0
- package/vendor/pele/chunks/WXKV2YEK.js +1 -0
- package/vendor/pele/chunks/XQ5S3AI3.js +13 -0
- package/vendor/pele/chunks/YNX532HU.js +1 -0
- package/vendor/pele/chunks/{DHKBVIA3.js → YUPSMAUO.js} +1 -1
- package/vendor/pele/chunks/{IHVFDU4A.js → YWXUFHC7.js} +7 -7
- package/vendor/pele/chunks/Z3ZRV7NH.js +2 -0
- package/vendor/pele/chunks/ZFRCZTLK.js +1 -0
- package/vendor/pele/chunks/ZZDR4CN3.js +1 -0
- package/vendor/pele/lazy.d.ts +1 -0
- package/vendor/pele/lazy.js +1 -1
- package/vendor/phaser/phaser.mjs +1 -0
- package/vendor/signals-core.mjs +1 -1
- package/vendor/spessasynth/fflate.mjs +1 -0
- package/vendor/spessasynth/spessasynth.mjs +37033 -15099
- package/vendor/temml/temml.mjs +1 -1
- package/vendor/zzfx/zzfx.mjs +1 -0
- package/locales/reader/ja.json +0 -9
- package/locales/search/zh-Hant.json +0 -46
- package/ui/acts.js +0 -12
- package/ui/looks/mondrian.css +0 -90
- package/ui/looks/paper.css +0 -51
- package/vendor/ooxml/bounded-raw-part-cache-Cg1BsSZQ.js +0 -119
- package/vendor/ooxml/canvas-viewer-mechanics-DbLz0rYW.js +0 -1384
- package/vendor/ooxml/cjk-fallback-bLI3z70h.js +0 -46
- package/vendor/ooxml/comment-occurrence-C8Y2uoVr.js +0 -6
- package/vendor/ooxml/comment-ui-runtime-BsK8pmUT.js +0 -2
- package/vendor/ooxml/comments-Diid5ujN.js +0 -246
- package/vendor/ooxml/delimited-text-worker-host-BVY-Ecni.js +0 -25
- package/vendor/ooxml/document-pull-client-B9PTM-pL.js +0 -27280
- package/vendor/ooxml/docx-BF9WXrYH.js +0 -3101
- package/vendor/ooxml/dom-interaction-boundary-Cnm8DSBN.js +0 -223
- package/vendor/ooxml/highlight-rect-C5hkRqUr.js +0 -13
- package/vendor/ooxml/line-distribute-D1WNHKz_.js +0 -1023
- package/vendor/ooxml/line-metrics-B60C86uh.js +0 -60
- package/vendor/ooxml/plot-area-frame-DLTYKHNP.js +0 -4354
- package/vendor/ooxml/pptx-DkyYBYoL.js +0 -3063
- package/vendor/ooxml/raster-target-ojDdQizC.js +0 -91
- package/vendor/ooxml/renderer-B4GZb5We.js +0 -6492
- package/vendor/ooxml/resource-measurement-SHQCbkh2.js +0 -150
- package/vendor/ooxml/slide-pull-client-DiPnm240.js +0 -6253
- package/vendor/ooxml/source-key-DIJG8BA0.js +0 -42
- package/vendor/ooxml/three-d-DJBl8g8M.js +0 -1162
- package/vendor/ooxml/transfer-p6iCC2R7.js +0 -6
- package/vendor/ooxml/units-BzZ0gAxs.js +0 -4
- package/vendor/ooxml/worksheet-pull-client-BM8ywvbu.js +0 -458
- package/vendor/ooxml/xlsx-C9NVjgaV.js +0 -8482
- package/vendor/pele/chunks/23I4SOAX.js +0 -1
- package/vendor/pele/chunks/25ITEZ43.js +0 -2
- package/vendor/pele/chunks/26H2HVXD.js +0 -1
- package/vendor/pele/chunks/2IZ5MNOH.js +0 -1
- package/vendor/pele/chunks/2P3CZEXH.js +0 -1
- package/vendor/pele/chunks/3E5HRNYT.js +0 -1
- package/vendor/pele/chunks/3JIRLDUO.js +0 -1
- package/vendor/pele/chunks/5MJ3UKSG.js +0 -1
- package/vendor/pele/chunks/63N73SV4.js +0 -1
- package/vendor/pele/chunks/A255FCTW.js +0 -1
- package/vendor/pele/chunks/AM43MQ64.js +0 -1
- package/vendor/pele/chunks/AOZTNTMC.js +0 -1
- package/vendor/pele/chunks/AQNLM6KG.js +0 -1
- package/vendor/pele/chunks/BNU2RHQB.js +0 -1
- package/vendor/pele/chunks/C5HTQT3I.js +0 -4
- package/vendor/pele/chunks/CPKRWH5G.js +0 -1
- package/vendor/pele/chunks/CPRVZL76.js +0 -11
- package/vendor/pele/chunks/CUVCMPQX.js +0 -1
- package/vendor/pele/chunks/D6K5RLPD.js +0 -5
- package/vendor/pele/chunks/EENBF6R3.js +0 -5
- package/vendor/pele/chunks/G3OATVW2.js +0 -1
- package/vendor/pele/chunks/GFBBR3DD.js +0 -13
- package/vendor/pele/chunks/IV52FOAS.js +0 -1
- package/vendor/pele/chunks/JTJEEBDN.js +0 -1
- package/vendor/pele/chunks/JX3HYMZ6.js +0 -8
- package/vendor/pele/chunks/K3TAFXGN.js +0 -3
- package/vendor/pele/chunks/K7FUICZ3.js +0 -1
- package/vendor/pele/chunks/LHH2HHRB.js +0 -1
- package/vendor/pele/chunks/LT5IS45C.js +0 -2
- package/vendor/pele/chunks/MSPQPZZY.js +0 -1
- package/vendor/pele/chunks/NY2EJWPH.js +0 -2
- package/vendor/pele/chunks/OB6ZFVKF.js +0 -1
- package/vendor/pele/chunks/OJBDHQO2.js +0 -4
- package/vendor/pele/chunks/PLTZDMI2.js +0 -1
- package/vendor/pele/chunks/R7EPXMMD.js +0 -1
- package/vendor/pele/chunks/S4GSSVLN.js +0 -3
- package/vendor/pele/chunks/SPBWZ4VS.js +0 -1
- package/vendor/pele/chunks/SR7OOV3Q.js +0 -1
- package/vendor/pele/chunks/STXEMZPJ.js +0 -2
- package/vendor/pele/chunks/SXFARSFO.js +0 -1
- package/vendor/pele/chunks/TC77ISAL.js +0 -1
- package/vendor/pele/chunks/TXE3YXUM.js +0 -2
- package/vendor/pele/chunks/TYIQQHVC.js +0 -1
- package/vendor/pele/chunks/TZUXETIT.js +0 -1
- package/vendor/pele/chunks/U7N72BGE.js +0 -1
- package/vendor/pele/chunks/UFPIB6EZ.js +0 -1
- package/vendor/pele/chunks/V52Z4AG3.js +0 -4
- package/vendor/pele/chunks/VBDLARNP.js +0 -4
- package/vendor/pele/chunks/VIK3ONSK.js +0 -1
- package/vendor/pele/chunks/VPGC3RUM.js +0 -7
- package/vendor/pele/chunks/VVVO4ZVP.js +0 -1
- package/vendor/pele/chunks/WRGXZO53.js +0 -1
- package/vendor/pele/chunks/X5SG7MGC.js +0 -1
- package/vendor/pele/chunks/XXYPNCD5.js +0 -1
- package/vendor/pele/chunks/XZO3CX7R.js +0 -12
- package/vendor/pele/chunks/YZBJM2QT.js +0 -2
- package/vendor/pele/chunks/YZHV477W.js +0 -2
- package/vendor/pele/chunks/Z6WRYFJC.js +0 -1
- package/vendor/pele/chunks/ZI2QNEGF.js +0 -8
- /package/locales/{reader → natural-voice}/am.json +0 -0
- /package/locales/{reader → natural-voice}/ar.json +0 -0
- /package/locales/{reader → natural-voice}/bg.json +0 -0
- /package/locales/{reader → natural-voice}/bn.json +0 -0
- /package/locales/{reader → natural-voice}/br.json +0 -0
- /package/locales/{reader → natural-voice}/co.json +0 -0
- /package/locales/{reader → natural-voice}/cs.json +0 -0
- /package/locales/{reader → natural-voice}/da.json +0 -0
- /package/locales/{reader → natural-voice}/de.json +0 -0
- /package/locales/{reader → natural-voice}/el.json +0 -0
- /package/locales/{reader → natural-voice}/en.json +0 -0
- /package/locales/{reader → natural-voice}/fa.json +0 -0
- /package/locales/{reader → natural-voice}/fi.json +0 -0
- /package/locales/{reader → natural-voice}/fr-CA.json +0 -0
- /package/locales/{reader → natural-voice}/fr.json +0 -0
- /package/locales/{reader → natural-voice}/ha.json +0 -0
- /package/locales/{reader → natural-voice}/he.json +0 -0
- /package/locales/{reader → natural-voice}/hi.json +0 -0
- /package/locales/{reader → natural-voice}/hr.json +0 -0
- /package/locales/{reader → natural-voice}/hu.json +0 -0
- /package/locales/{reader → natural-voice}/id.json +0 -0
- /package/locales/{reader → natural-voice}/it.json +0 -0
- /package/locales/{reader → natural-voice}/ko.json +0 -0
- /package/locales/{reader → natural-voice}/mr.json +0 -0
- /package/locales/{reader → natural-voice}/ms.json +0 -0
- /package/locales/{reader → natural-voice}/nl.json +0 -0
- /package/locales/{reader → natural-voice}/pl.json +0 -0
- /package/locales/{reader → natural-voice}/pt.json +0 -0
- /package/locales/{reader → natural-voice}/ro.json +0 -0
- /package/locales/{reader → natural-voice}/ru.json +0 -0
- /package/locales/{reader → natural-voice}/sk.json +0 -0
- /package/locales/{reader → natural-voice}/sv.json +0 -0
- /package/locales/{reader → natural-voice}/sw.json +0 -0
- /package/locales/{reader → natural-voice}/ta.json +0 -0
- /package/locales/{reader → natural-voice}/te.json +0 -0
- /package/locales/{reader → natural-voice}/th.json +0 -0
- /package/locales/{reader → natural-voice}/tl.json +0 -0
- /package/locales/{reader → natural-voice}/tr.json +0 -0
- /package/locales/{reader → natural-voice}/uk.json +0 -0
- /package/locales/{reader → natural-voice}/ur.json +0 -0
- /package/locales/{reader → natural-voice}/vi.json +0 -0
- /package/locales/{reader → natural-voice}/yo.json +0 -0
package/brand.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
// The only place the name lives. Display only: never use it in storage keys,
|
|
2
2
|
// file paths, cache names, CSS classes or element names (see AGENTS.md).
|
|
3
|
-
export const BRAND = Object.
|
|
3
|
+
export const BRAND = Object.seal({
|
|
4
4
|
name: 'Jean',
|
|
5
5
|
domain: 'jean.is',
|
|
6
6
|
})
|
|
7
7
|
|
|
8
|
-
// The brand's site's pages the app links to, by language (site
|
|
8
|
+
// The brand's site's pages the app links to, by language (site/), held to site/'s by test/home.test.js.
|
|
9
9
|
export const PAGES = Object.freeze({
|
|
10
|
-
|
|
11
|
-
family: { en: 'family', fr: 'fr/famille', ko: 'ko/family' },
|
|
12
|
-
work: { en: 'work', fr: 'fr/travail', ko: 'ko/work' },
|
|
13
|
-
teachers: { en: 'teachers', fr: 'fr/enseignants', ko: 'ko/teachers' },
|
|
14
|
-
enterprise: { en: 'enterprise', fr: 'fr/entreprise', ko: 'ko/enterprise' },
|
|
10
|
+
home: { en: '', ar: 'ar', fr: 'fr', ja: 'ja', ko: 'ko' },
|
|
15
11
|
help: { en: 'help', fr: 'fr/aide' },
|
|
12
|
+
'site-map': { en: 'site-map', fr: 'fr/plan-du-site' },
|
|
16
13
|
'help/key-refused': { en: 'help/key-refused', fr: 'fr/aide/cle-refusee' },
|
|
14
|
+
'help/couldnt-reach': { en: 'help/couldnt-reach', fr: 'fr/aide/injoignable' },
|
|
15
|
+
'help/plan-stopped': { en: 'help/plan-stopped', fr: 'fr/aide/forfait-arrete' },
|
|
17
16
|
})
|
package/caps/charts/charts.css
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/* Charts (D196): the chart in its frame, Copy at its top corner, shown on hover. */
|
|
2
2
|
app-chart { position: relative; }
|
|
3
|
-
|
|
3
|
+
/* `dir="ltr"` on the box keeps ECharts' anchors in place. In SVG (on a slide), each word then reads from its first letter, or a mixed one would flip; on a canvas, by `sideOf()`. */
|
|
4
|
+
app-chart .chart { block-size: clamp(15rem, 55vw, 22rem); } app-chart .chart > div { transform-origin: 0 0; } app-chart .chart text { unicode-bidi: plaintext; }
|
|
4
5
|
app-chart .drawn-foot { position: absolute; z-index: 1; inset-block-start: 0.4rem; inset-inline-end: 0.4rem; transition: opacity 0.2s; }
|
|
5
6
|
app-chart .drawn-foot .icon-button { background: var(--glass); }
|
|
6
7
|
@media (hover: hover) { app-chart:not(:hover, :focus-within) .drawn-foot { opacity: 0; } }
|
|
7
|
-
@media print { app-chart .drawn-foot { display: none; } }
|
|
8
|
+
@media print { app-chart :is(.drawn-foot, .chart-data) { display: none; } }
|
|
9
|
+
.chart-data { margin-block-start: 0.35rem; font-size: 0.875rem; } .chart-data summary { color: var(--ink-soft); cursor: pointer; }
|
|
10
|
+
.deck-slide .chart-data { position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 0; font-size: 0.75rem; } .deck-slide .chart-data[open] { inset: 0; overflow: auto; padding: 0.5rem; background: var(--room); }
|
|
8
11
|
/* While the answer is written, the chart's place; once it's written, why there is none. */
|
|
9
12
|
app-chart .drawn-status { margin: 0 0 0.6rem; }
|
|
10
13
|
.is-streaming app-chart .drawn-status { display: grid; place-items: center; min-block-size: clamp(15rem, 55vw, 22rem); margin: 0; }
|
package/caps/charts/charts.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Charts (D196): a ```echarts block in an answer, drawn by ECharts on a canvas, with the theme's
|
|
2
|
-
// light or dark, the room's type and numbers in the user's language; drawn again as its box, the
|
|
2
|
+
// light or dark (on a slide, its paper's), the room's type and numbers in the user's language; drawn again as its box, the
|
|
3
3
|
// theme, the look or the language changes; copied as its source and its picture, on light paper,
|
|
4
4
|
// at once. The block is data (./option.js). While it is written, what is whole of it so far is
|
|
5
5
|
// drawn, and the chart grows as more comes. Loaded by the first chart an answer holds; until then,
|
|
6
6
|
// or when it isn't a chart, it shows as code.
|
|
7
|
-
import { html, render } from 'lit-html'
|
|
7
|
+
import { html, nothing, render } from 'lit-html'
|
|
8
8
|
import { effect } from '@preact/signals-core'
|
|
9
9
|
import { app, theme, notify } from '../../ui/state.js'
|
|
10
10
|
import { copyDrawing } from '../../ui/save.js'
|
|
@@ -12,18 +12,17 @@ import { drawn } from '../../ui/markdown.js'
|
|
|
12
12
|
import { drawnActions } from '../../ui/caps.js'
|
|
13
13
|
import { icons } from '../../ui/icons.js'
|
|
14
14
|
import { styleSheet, still } from '../../ui/sheet.js'
|
|
15
|
-
import { t, locale, intlLocales, useStrings } from '../../core/i18n.js'
|
|
16
|
-
import { readOption, localize, titleOf } from './option.js'
|
|
15
|
+
import { t, dir, locale, intlLocales, useStrings } from '../../core/i18n.js'
|
|
16
|
+
import { readOption, localize, titleOf, namesIn, paperTheme, paperLabels, sideOf } from './option.js'
|
|
17
17
|
|
|
18
18
|
/** @typedef {import('./option.js').Option} Option */
|
|
19
19
|
|
|
20
|
-
const [echarts] = await Promise.all([
|
|
21
|
-
import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href),
|
|
22
|
-
useStrings('charts'),
|
|
23
|
-
styleSheet(new URL('charts.css', import.meta.url)),
|
|
24
|
-
])
|
|
20
|
+
const [echarts] = await Promise.all([import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href), useStrings('charts'), styleSheet(new URL('charts.css', import.meta.url))])
|
|
25
21
|
|
|
26
|
-
const contrast = matchMedia('(prefers-contrast: more), (forced-colors: active)')
|
|
22
|
+
const [contrast, forced] = [matchMedia('(prefers-contrast: more)'), matchMedia('(forced-colors: active)')]
|
|
23
|
+
let charts = 0
|
|
24
|
+
// Escape hides a tip.
|
|
25
|
+
addEventListener('keydown', (event) => { if (event.key === 'Escape') for (const one of document.querySelectorAll('app-chart')) /** @type {{ chart?: import('echarts').ECharts | null }} */ (one).chart?.dispatchAction({ type: 'hideTip' }) })
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
28
|
* The option as drawn here: numbers in the user's language, the room's type, no animation for
|
|
@@ -35,13 +34,23 @@ function dressed(option, font) {
|
|
|
35
34
|
...localize(option, new Intl.NumberFormat(intlLocales(locale.peek())).format),
|
|
36
35
|
textStyle: { fontFamily: font, ...option.textStyle },
|
|
37
36
|
...(still() && { animation: false }),
|
|
38
|
-
...(contrast.matches && { aria: { enabled: true, decal: { show: true } } }),
|
|
37
|
+
...((forced.matches || ({ more: true, usual: false }[document.documentElement.dataset.contrast ?? ''] ?? contrast.matches)) && { aria: { enabled: true, decal: { show: true } } }),
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
|
|
41
|
+
/** A chart's numbers as a table, its categories down the side and a column for each series; its source where it has neither. @param {Option} option @param {string} source */
|
|
42
|
+
function figures(option, source) {
|
|
43
|
+
const series = [option.series].flat().filter((one) => Array.isArray(one?.data)), axis = [option.xAxis, option.yAxis].flat().find((one) => Array.isArray(one?.data))?.data, value = (/** @type {any} */ one) => [one?.value ?? one].flat().join(', '), rows = Math.max(0, ...series.map((one) => one.data.length))
|
|
44
|
+
const links = [option.series].flat().flatMap((one) => one?.links ?? one?.edges ?? []), set = [option.dataset].flat()[0]?.source; if (links.length) return html`<ul>${links.map((/** @type {any} */ one) => html`<li dir="auto">${one.source} → ${one.target}${one.value == null ? '' : ` (${one.value})`}</li>`)}</ul>`
|
|
45
|
+
if (Array.isArray(set?.[0])) return html`<div class="table" tabindex="0"><table><thead><tr>${set[0].map((/** @type {any} */ head) => html`<th scope="col" dir="auto">${head}</th>`)}</tr></thead><tbody>${set.slice(1).map((/** @type {any[]} */ row) => html`<tr>${row.map((one, i) => (i ? html`<td>${one}</td>` : html`<th scope="row" dir="auto">${one}</th>`))}</tr>`)}</tbody></table></div>`
|
|
46
|
+
return rows ? html`<div class="table" tabindex="0"><table><thead><tr><td></td>${series.map((one) => html`<th scope="col" dir="auto">${one.name ?? titleOf(option)}</th>`)}</tr></thead><tbody>${Array.from({ length: rows }, (_, i) => html`<tr><th scope="row" dir="auto">${value(axis?.[i] ?? series[0].data[i]?.name ?? i + 1)}</th>${series.map((one) => html`<td>${value(one.data[i])}</td>`)}</tr>`)}</tbody></table></div>` : html`<pre dir="ltr" tabindex="0">${source}</pre>`
|
|
47
|
+
}
|
|
48
|
+
|
|
42
49
|
class AppChart extends HTMLElement {
|
|
43
50
|
/** `open` while its block's closing fence isn't written yet: the answer is still writing it. */
|
|
44
51
|
static observedAttributes = ['source', 'open']
|
|
52
|
+
/** Its figures' id, which its picture is described by. */
|
|
53
|
+
wordsId = `chart-words-${++charts}`
|
|
45
54
|
/** @type {any} ECharts' instance, while a chart is drawn */
|
|
46
55
|
chart = null
|
|
47
56
|
/** @type {Option | null} what it draws */
|
|
@@ -53,7 +62,7 @@ class AppChart extends HTMLElement {
|
|
|
53
62
|
/** @type {string | null} what the block held when last drawn while open, which more of it grows from */
|
|
54
63
|
growing = null
|
|
55
64
|
frame = 0
|
|
56
|
-
sized = new ResizeObserver(() => this.chart
|
|
65
|
+
sized = new ResizeObserver(() => this.chart && this.fit())
|
|
57
66
|
/** @type {(() => void) | undefined} */
|
|
58
67
|
unwatch
|
|
59
68
|
|
|
@@ -76,19 +85,17 @@ class AppChart extends HTMLElement {
|
|
|
76
85
|
this.growing = null
|
|
77
86
|
}
|
|
78
87
|
|
|
79
|
-
attributeChangedCallback() {
|
|
80
|
-
if (this.isConnected) this.draw()
|
|
81
|
-
}
|
|
88
|
+
attributeChangedCallback() { if (this.isConnected) this.draw() }
|
|
82
89
|
|
|
83
90
|
draw() {
|
|
84
91
|
const source = this.getAttribute('source') ?? ''
|
|
85
92
|
const open = this.hasAttribute('open')
|
|
86
|
-
const look = [theme.peek(), app.look.peek(), locale.peek()].join('\n')
|
|
93
|
+
const paper = this.paper(), look = [theme.peek(), app.look.peek(), locale.peek(), paper?.textStyle.color].join('\n')
|
|
87
94
|
const key = [look, open, source].join('\n')
|
|
88
95
|
if (key === this.drawn) return
|
|
89
96
|
this.drawn = key
|
|
90
|
-
// More of a block being written goes on the chart already drawn.
|
|
91
|
-
const more = Boolean(this.chart) && this.made === look && this.growing !== null && source.startsWith(this.growing)
|
|
97
|
+
// More of a block being written, or a page's chart that follows its form (`live`, D670), goes on the chart already drawn.
|
|
98
|
+
const more = Boolean(this.chart) && this.made === look && (this.hasAttribute('live') || (this.growing !== null && source.startsWith(this.growing)))
|
|
92
99
|
this.growing = open ? source : null
|
|
93
100
|
const option = readOption(source, open)
|
|
94
101
|
// Nothing whole has come since: what is drawn stays.
|
|
@@ -103,10 +110,11 @@ class AppChart extends HTMLElement {
|
|
|
103
110
|
if (!option || !box) return
|
|
104
111
|
try {
|
|
105
112
|
// In SVG on a slide (`svg`), which a deck saved as PowerPoint reads as it is drawn (D593).
|
|
106
|
-
this.chart ??= echarts.init(box, theme.peek() === 'dark' ? 'dark' : undefined, { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
|
|
113
|
+
this.chart ??= echarts.init(box, paper ?? (theme.peek() === 'dark' ? 'dark' : undefined), { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
|
|
114
|
+
if (!more) this.fit()
|
|
107
115
|
this.made = look
|
|
108
116
|
// Without animation while it grows: each would start again with the next few values.
|
|
109
|
-
this.chart.setOption({ ...dressed(option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
|
|
117
|
+
this.chart.setOption({ ...dressed(paper ? { ...option, series: paperLabels(option.series, paper.textStyle.color) } : option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
|
|
110
118
|
this.sized.observe(box)
|
|
111
119
|
} catch (error) {
|
|
112
120
|
// Half an option may not draw yet; a whole one that doesn't is worth a word.
|
|
@@ -117,16 +125,36 @@ class AppChart extends HTMLElement {
|
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
127
|
|
|
128
|
+
/** On a slide (`svg`), ECharts' theme for the paper under the chart, which a tile or a part may have over the slide's. */
|
|
129
|
+
paper() {
|
|
130
|
+
if (!this.hasAttribute('svg')) return null
|
|
131
|
+
/** @type {Element} */
|
|
132
|
+
let under = this
|
|
133
|
+
while (under.parentElement && !getComputedStyle(under).backgroundColor.startsWith('rgb(')) under = under.parentElement
|
|
134
|
+
return paperTheme(getComputedStyle(this).color, getComputedStyle(under).backgroundColor)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The chart to its box. On a slide (`svg`), drawn at a size of its own and scaled up to it, so that its words, lines and margins
|
|
139
|
+
* grow with the slide's as they all do, at any size of slide: ECharts' 12px as six tenths of the slide's type, or less in a short
|
|
140
|
+
* box (a tile, a node), for it never to be drawn under the 240px high that ECharts' margins, fixed in height, leave its marks room in.
|
|
141
|
+
*/
|
|
142
|
+
fit() {
|
|
143
|
+
const box = /** @type {HTMLElement} */ (this.querySelector('.chart')), scale = this.hasAttribute('svg') ? Math.min(parseFloat(getComputedStyle(box).fontSize) / 20, box.clientHeight / 240) : 1
|
|
144
|
+
this.chart.resize({ width: box.clientWidth / scale, height: box.clientHeight / scale })
|
|
145
|
+
box.querySelector('div')?.style.setProperty('scale', String(scale))
|
|
146
|
+
}
|
|
147
|
+
|
|
120
148
|
/** @param {string} source @param {Option | null} option */
|
|
121
149
|
paint(source, option) {
|
|
122
|
-
const title = option ? titleOf(option) : ''
|
|
123
|
-
render(option ? html`<div class="chart" dir="ltr" role="img" aria-label=${title || t('charts.chart')}></div>
|
|
124
|
-
<div class="drawn-foot">
|
|
150
|
+
const title = option ? titleOf(option) : '', names = option ? namesIn(option) : []
|
|
151
|
+
render(option ? html`<div class="chart" dir="ltr" role="img" aria-describedby=${this.wordsId} lang=${title ? nothing : locale.value} aria-label=${title || (names.length ? t('charts.of', { names: new Intl.ListFormat(intlLocales(), { type: 'unit' }).format(names) }) : t('charts.chart'))}></div>
|
|
152
|
+
<div class="drawn-foot" lang=${locale.value}>
|
|
125
153
|
<button class="icon-button subtle" aria-label=${t('action.copy')}
|
|
126
|
-
@click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed')))}>${icons.copy}</button>
|
|
154
|
+
@click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed'), { alert: true }))}>${icons.copy}</button>
|
|
127
155
|
${drawnActions('echarts', source)}
|
|
128
|
-
</div>`
|
|
129
|
-
: html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed">${t('charts.failed')}</span></p>
|
|
156
|
+
</div><details class="chart-data" id=${this.wordsId}><summary lang=${locale.value} dir=${dir()}>${t('charts.data')}</summary>${figures(option, source)}</details>`
|
|
157
|
+
: html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed" role="alert">${t('charts.failed')}</span></p>
|
|
130
158
|
<pre dir="ltr" tabindex="0"><code>${source}</code></pre>`, this)
|
|
131
159
|
}
|
|
132
160
|
|
|
@@ -136,8 +164,7 @@ class AppChart extends HTMLElement {
|
|
|
136
164
|
* @returns {Promise<Blob>}
|
|
137
165
|
*/
|
|
138
166
|
async picture() {
|
|
139
|
-
const { option } = this
|
|
140
|
-
const box = this.querySelector('.chart')
|
|
167
|
+
const { option } = this, box = this.querySelector('.chart')
|
|
141
168
|
if (!option || !box) throw new Error('No chart')
|
|
142
169
|
const paper = echarts.init(document.createElement('div'), undefined, { renderer: 'canvas', width: box.clientWidth, height: box.clientHeight })
|
|
143
170
|
try {
|
|
@@ -150,5 +177,8 @@ class AppChart extends HTMLElement {
|
|
|
150
177
|
}
|
|
151
178
|
}
|
|
152
179
|
|
|
180
|
+
// A canvas draws its words in the one direction it is given: each is given its own, for the box's `dir="ltr"` not to flip a mixed one (in SVG: charts.css).
|
|
181
|
+
echarts.setPlatformAPI({ createCanvas() { const canvas = document.createElement('canvas'), context = /** @type {any} */ (canvas.getContext('2d')); for (const draw of /** @type {const} */ (['fillText', 'strokeText'])) context[draw] = (/** @type {string} */ word, /** @type {[number, number]} */ ...at) => { context.direction = sideOf(word); CanvasRenderingContext2D.prototype[draw].call(context, word, ...at) }; return canvas } })
|
|
182
|
+
|
|
153
183
|
customElements.define('app-chart', AppChart)
|
|
154
184
|
drawn.value = { ...drawn.peek(), echarts: (source, open) => html`<app-chart source=${source} ?open=${open}></app-chart>` }
|
package/caps/charts/option.js
CHANGED
|
@@ -31,12 +31,13 @@ export function readOption(source, open = false) {
|
|
|
31
31
|
const one = (/** @type {any} */ item) => (Array.isArray(item) && item.length === 1 ? item[0] : Array.isArray(item?.value) && item.value.length === 1 ? { ...item, value: item.value[0] } : item)
|
|
32
32
|
for (const series of all(option.series)) if (/^(bar|line)$/.test(series?.type) && Array.isArray(series.data)) series.data = series.data.map(one)
|
|
33
33
|
delete option.toolbox
|
|
34
|
+
for (const legend of all(option.legend)) legend.selectedMode = false
|
|
34
35
|
option.backgroundColor = 'transparent'
|
|
35
36
|
for (const title of all(option.title)) {
|
|
36
37
|
delete title.link
|
|
37
38
|
delete title.sublink
|
|
38
39
|
}
|
|
39
|
-
const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText' })
|
|
40
|
+
const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText', triggerOn: 'click' })
|
|
40
41
|
option.tooltip = Array.isArray(option.tooltip) ? option.tooltip.map(tooltip) : tooltip(option.tooltip)
|
|
41
42
|
return option
|
|
42
43
|
}
|
|
@@ -121,6 +122,9 @@ export function soFar(source) {
|
|
|
121
122
|
return end ? source.slice(0, end) + closing : ''
|
|
122
123
|
}
|
|
123
124
|
|
|
125
|
+
/** A word's direction by its first letter, in the scripts written right to left (Hebrew, Arabic, Syriac, Thaana, N'Ko, their forms), as `unicode-bidi: plaintext` finds it; left to right without one. @param {string} word @returns {'rtl' | 'ltr'} */
|
|
126
|
+
export const sideOf = (word) => (/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/.test(/\p{L}/u.exec(word)?.[0] ?? '') ? 'rtl' : 'ltr')
|
|
127
|
+
|
|
124
128
|
/**
|
|
125
129
|
* Numbers as the user's language writes them, on value axes and in tooltips, unless the chart
|
|
126
130
|
* gives its own formatter. A y axis is a value axis, and an x axis a category one, unless they say.
|
|
@@ -137,5 +141,28 @@ export function localize(option, format) {
|
|
|
137
141
|
return option
|
|
138
142
|
}
|
|
139
143
|
|
|
144
|
+
/**
|
|
145
|
+
* ECharts' theme on a slide, whose paper isn't the room's: every word in the slide's colour where that reads on the paper under
|
|
146
|
+
* the chart at AA, else in black or white, whichever does. A theme, so that what the chart names itself stays. Colours as CSS
|
|
147
|
+
* computes them, `rgb(…)`. @param {string} words @param {string} paper
|
|
148
|
+
*/
|
|
149
|
+
export function paperTheme(words, paper) {
|
|
150
|
+
const luminance = (/** @type {string} */ colour) => (colour.match(/[\d.]+/g) ?? []).slice(0, 3).map((c) => Number(c) / 255).map((s) => (s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4)).reduce((sum, s, i) => sum + s * [0.2126, 0.7152, 0.0722][i], 0)
|
|
151
|
+
const under = luminance(paper), over = luminance(words), dark = under < 0.179
|
|
152
|
+
const color = (Math.max(under, over) + 0.05) / (Math.min(under, over) + 0.05) >= 4.5 ? words : dark ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)'
|
|
153
|
+
const axis = { axisLine: { lineStyle: { color } }, axisLabel: { color }, splitLine: { lineStyle: { color: color.replace('rgb(', 'rgba(').replace(')', ', 0.2)') } } }
|
|
154
|
+
return { darkMode: dark, textStyle: { color }, title: { textStyle: { color }, subtextStyle: { color } }, legend: { textStyle: { color }, pageTextStyle: { color } }, visualMap: { textStyle: { color } }, dataZoom: { textStyle: { color } }, timeline: { label: { color } },
|
|
155
|
+
calendar: { dayLabel: { color }, monthLabel: { color }, yearLabel: { color } }, matrix: { x: { label: { color } }, y: { label: { color } } }, gauge: { title: { color }, axisLabel: { color }, detail: { color } }, radar: { ...axis, axisName: { color } }, categoryAxis: axis, valueAxis: axis, timeAxis: axis, logAxis: axis }
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/** The series with their labels in `color` where they stand on the paper, not on their marks, as a bar's do unless it says. @param {unknown} series @param {string} color */
|
|
159
|
+
export const paperLabels = (series, color) => all(series).map((one) => (/in|center/.test(one.label?.position ?? (/^(bar|pictorialBar|heatmap|treemap|sunburst|graph|map)$/.test(one.type) ? 'in' : '')) ? one : { ...one, label: { color, ...one.label } }))
|
|
160
|
+
|
|
140
161
|
/** What a chart is called: its first title. @param {Option} option */
|
|
141
162
|
export const titleOf = (option) => String(all(option.title).find((title) => title.text)?.text ?? '')
|
|
163
|
+
|
|
164
|
+
/** What a chart with no title shows, to name it by: its series, else what its series or axes list. @param {Option} option @returns {string[]} */
|
|
165
|
+
export function namesIn(option) {
|
|
166
|
+
const series = all(option.series), named = series.map((one) => one?.name).filter(Boolean), listed = [...series.flatMap((one) => (Array.isArray(one?.data) ? one.data.map((/** @type {any} */ item) => item?.name) : [])), ...[option.xAxis, option.yAxis].flat().flatMap((axis) => axis?.data ?? [])]
|
|
167
|
+
return [...new Set((named.length ? named : listed).filter((name) => name && typeof name === 'string'))].slice(0, 5)
|
|
168
|
+
}
|
package/caps/files/extract.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Text out of the files people share: Word, PowerPoint and Excel (zips of XML),
|
|
2
|
-
// plain text. Returns pages, so the brain can read a long file a part at a time.
|
|
1
|
+
// Text out of the files people share: Word, PowerPoint and Excel (zips of XML), Numbers (numbers.js),
|
|
2
|
+
// and plain text. Returns pages, so the brain can read a long file a part at a time.
|
|
3
3
|
// A small tag scanner instead of DOMParser keeps this runnable in workers and Node.
|
|
4
4
|
// PDFs are read by pdf.js, in the Files capability; their pages' text is joined here.
|
|
5
5
|
import { readZip } from '../../core/zip.js'
|
|
@@ -11,7 +11,7 @@ const SHEET_ROWS = 200
|
|
|
11
11
|
const TEXT = /\.(txt|md|markdown|csv|tsv|json|xml|html?|log|ya?ml|ini|srt|vtt|sd-jwt)$/i
|
|
12
12
|
|
|
13
13
|
/** @param {string} name */
|
|
14
|
-
export const extractable = (name) => /\.(docx|pptx|xlsx)$/i.test(name) || TEXT.test(name)
|
|
14
|
+
export const extractable = (name) => /\.(docx|pptx|xlsx|numbers)$/i.test(name) || TEXT.test(name)
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @param {string} name file name, used for its extension
|
|
@@ -22,7 +22,8 @@ export async function extractPages(name, bytes) {
|
|
|
22
22
|
const ext = name.toLowerCase().split('.').pop()
|
|
23
23
|
// An .xls that is text, as many exports are, reads as its text; one of Excel's own isn't read.
|
|
24
24
|
if (TEXT.test(name) || (ext === 'xls' && !isBinary(bytes))) return paginate(decodeText(bytes).split('\n'))
|
|
25
|
-
if (ext !== 'docx' && ext !== 'pptx' && ext !== 'xlsx') return null
|
|
25
|
+
if (ext !== 'docx' && ext !== 'pptx' && ext !== 'xlsx' && ext !== 'numbers') return null
|
|
26
|
+
if (ext === 'numbers') return tablePages(await (await import('./numbers.js')).numbersTables(readZip(bytes)))
|
|
26
27
|
const entries = new Map(readZip(bytes).map((entry) => [entry.name, entry]))
|
|
27
28
|
/** @param {string} path */
|
|
28
29
|
const xml = async (path) => {
|
|
@@ -284,8 +285,7 @@ export function pageText(items, body = bodySize(items)) {
|
|
|
284
285
|
// ─── Excel ───────────────────────────────────────────────────────────────────
|
|
285
286
|
|
|
286
287
|
/**
|
|
287
|
-
* Each sheet as tab-separated rows
|
|
288
|
-
* column names. Values are as stored, but for dates, written as dates.
|
|
288
|
+
* Each sheet as tab-separated rows (tablePages). Values are as stored, but for dates, written as dates.
|
|
289
289
|
* @param {(path: string) => Promise<string | null>} xml
|
|
290
290
|
*/
|
|
291
291
|
async function xlsx(xml) {
|
|
@@ -293,20 +293,27 @@ async function xlsx(xml) {
|
|
|
293
293
|
const targets = relationships((await xml('xl/_rels/workbook.xml.rels')) ?? '')
|
|
294
294
|
const shared = sharedStrings((await xml('xl/sharedStrings.xml')) ?? '')
|
|
295
295
|
const dates = dateStyles((await xml('xl/styles.xml')) ?? '')
|
|
296
|
-
/** @type {string[]} */
|
|
297
|
-
const
|
|
296
|
+
/** @type {{ title: string, rows: string[] }[]} */
|
|
297
|
+
const sheets = []
|
|
298
298
|
for (const match of workbook.matchAll(/<sheet\b([^>]*)>/g)) {
|
|
299
|
-
const name = attr(match[1], 'name') ?? ''
|
|
300
299
|
const target = targets.get(attr(match[1], 'r:id') ?? '')
|
|
301
300
|
const source = target ? await xml(resolveTarget('xl', target)) : null
|
|
302
|
-
if (source
|
|
303
|
-
|
|
301
|
+
if (source !== null) sheets.push({ title: `Sheet: ${attr(match[1], 'name') ?? ''}`, rows: sheetRows(source, shared, dates) })
|
|
302
|
+
}
|
|
303
|
+
return tablePages(sheets)
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/** Tables' rows, SHEET_ROWS per page, each page headed by its table's title and its column names. @param {{ title: string, rows: string[] }[]} tables */
|
|
307
|
+
function tablePages(tables) {
|
|
308
|
+
/** @type {string[]} */
|
|
309
|
+
const pages = []
|
|
310
|
+
for (const { title, rows } of tables) {
|
|
304
311
|
for (let start = 0; start < Math.max(rows.length, 1); start += SHEET_ROWS) {
|
|
305
312
|
const chunk = rows.slice(start, start + SHEET_ROWS)
|
|
306
313
|
const range = rows.length > SHEET_ROWS ? ` (rows ${start + 1}–${start + chunk.length})` : ''
|
|
307
314
|
// Each page names its columns, as the first row does.
|
|
308
315
|
if (start) chunk.unshift(rows[0])
|
|
309
|
-
pages.push(
|
|
316
|
+
pages.push(`${title}${range}\n${chunk.join('\n')}`.trimEnd())
|
|
310
317
|
}
|
|
311
318
|
}
|
|
312
319
|
return pages.length ? pages : ['']
|
package/caps/files/midi.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// MIDI files
|
|
1
|
+
// MIDI files: no browser plays one, so Jean does. Its notes are read here, then played by a
|
|
2
2
|
// small synthesizer of Jean's own through the Web Audio API, faster than they last, into a WAV that
|
|
3
3
|
// the page's own player plays, with its seeking and its volume. No instruments fetched from another
|
|
4
4
|
// site: each of General MIDI's sixteen families of instruments has a wave and an envelope of its
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
// Apple Numbers' spreadsheets, as Numbers has saved them since 2013: a zip of .iwa parts, each a run of
|
|
2
|
+
// Snappy-compressed chunks holding protobuf messages that point at each other by id. No schema ships:
|
|
3
|
+
// the few fields read here are named where they are read, after Apple's own messages (TN, TST, TSWP).
|
|
4
|
+
// Loaded by extract.js only when a .numbers file comes.
|
|
5
|
+
|
|
6
|
+
/** @typedef {import('../../core/zip.js').ZipEntry} ZipEntry */
|
|
7
|
+
/** @typedef {Map<number, (number | Uint8Array)[]>} Message */
|
|
8
|
+
|
|
9
|
+
/** A varint: its value and where it ends. @param {Uint8Array} bytes @param {number} pos @returns {[number, number]} */
|
|
10
|
+
function varint(bytes, pos) {
|
|
11
|
+
let value = 0
|
|
12
|
+
for (let shift = 1; ; shift *= 128) {
|
|
13
|
+
const byte = bytes[pos++] ?? 0
|
|
14
|
+
value += (byte & 127) * shift
|
|
15
|
+
if (byte < 128) return [value, pos]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/** Snappy's raw format, which an .iwa chunk holds without the framing format's checksums. @param {Uint8Array} src */
|
|
20
|
+
export function unsnappy(src) {
|
|
21
|
+
let [size, pos] = varint(src, 0)
|
|
22
|
+
const out = new Uint8Array(size)
|
|
23
|
+
let at = 0
|
|
24
|
+
/** @param {number} n little-endian bytes */
|
|
25
|
+
const le = (n) => {
|
|
26
|
+
let value = 0
|
|
27
|
+
for (let i = 0; i < n; i++) value += src[pos++] * 256 ** i
|
|
28
|
+
return value
|
|
29
|
+
}
|
|
30
|
+
while (pos < src.length && at < out.length) {
|
|
31
|
+
const tag = src[pos++]
|
|
32
|
+
if ((tag & 3) === 0) {
|
|
33
|
+
const length = (tag >> 2 < 60 ? tag >> 2 : le((tag >> 2) - 59)) + 1
|
|
34
|
+
out.set(src.subarray(pos, pos + length), at)
|
|
35
|
+
pos += length
|
|
36
|
+
at += length
|
|
37
|
+
continue
|
|
38
|
+
}
|
|
39
|
+
const length = (tag & 3) === 1 ? ((tag >> 2) & 7) + 4 : (tag >> 2) + 1
|
|
40
|
+
const offset = (tag & 3) === 1 ? ((tag >> 5) << 8) | src[pos++] : le((tag & 3) === 2 ? 2 : 4)
|
|
41
|
+
for (let i = 0; i < length; i++, at++) out[at] = out[at - offset]
|
|
42
|
+
}
|
|
43
|
+
return out
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/** A protobuf message's fields by number: varints as numbers, everything else as its bytes. @param {Uint8Array} bytes @returns {Message} */
|
|
47
|
+
export function message(bytes) {
|
|
48
|
+
/** @type {Message} */
|
|
49
|
+
const fields = new Map()
|
|
50
|
+
for (let pos = 0, key = 0, n = 0; pos < bytes.length;) {
|
|
51
|
+
;[key, pos] = varint(bytes, pos)
|
|
52
|
+
const wire = key % 8
|
|
53
|
+
if (wire === 0 || wire === 2) [n, pos] = varint(bytes, pos)
|
|
54
|
+
else if (wire !== 1 && wire !== 5) break
|
|
55
|
+
const value = wire === 0 ? n : bytes.subarray(pos, (pos += wire === 2 ? n : wire === 1 ? 8 : 4))
|
|
56
|
+
fields.set(Math.floor(key / 8), [...(fields.get(Math.floor(key / 8)) ?? []), value])
|
|
57
|
+
}
|
|
58
|
+
return fields
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** @param {Message | undefined} m @param {number} field */
|
|
62
|
+
const one = (m, field) => m?.get(field)?.[0]
|
|
63
|
+
/** @param {Message | undefined} m @param {number} field */
|
|
64
|
+
const sub = (m, field) => message(/** @type {Uint8Array} */ (one(m, field) ?? new Uint8Array()))
|
|
65
|
+
/** @param {Message | undefined} m @param {number} field */
|
|
66
|
+
const subs = (m, field) => (m?.get(field) ?? []).map((bytes) => message(/** @type {Uint8Array} */ (bytes)))
|
|
67
|
+
/** The id a TSP.Reference in this field points at. @param {Message | undefined} m @param {number} field */
|
|
68
|
+
const ref = (m, field) => /** @type {number | undefined} */ (one(sub(m, field), 1))
|
|
69
|
+
/** @param {Message | undefined} m @param {number} field */
|
|
70
|
+
const text = (m, field) => new TextDecoder().decode(/** @type {Uint8Array} */ (one(m, field) ?? new Uint8Array()))
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Every object of every part, by id, as its first message's type and fields. A part is chunks of a
|
|
74
|
+
* zero, a 24-bit length and Snappy's bytes; unpacked, each object is an ArchiveInfo (its id, and
|
|
75
|
+
* each message's type and length) and then those messages.
|
|
76
|
+
* @param {ZipEntry[]} entries
|
|
77
|
+
*/
|
|
78
|
+
async function objects(entries) {
|
|
79
|
+
/** @type {Map<number, { type: number, data: Message }>} */
|
|
80
|
+
const found = new Map()
|
|
81
|
+
for (const entry of entries.filter((e) => /\.iwa$/i.test(e.name))) {
|
|
82
|
+
const bytes = await entry.read()
|
|
83
|
+
/** @type {Uint8Array[]} */
|
|
84
|
+
const chunks = []
|
|
85
|
+
for (let pos = 0; pos + 4 <= bytes.length; pos += 4 + (bytes[pos + 1] | (bytes[pos + 2] << 8) | (bytes[pos + 3] << 16))) {
|
|
86
|
+
chunks.push(unsnappy(bytes.subarray(pos + 4, pos + 4 + (bytes[pos + 1] | (bytes[pos + 2] << 8) | (bytes[pos + 3] << 16)))))
|
|
87
|
+
}
|
|
88
|
+
const all = new Uint8Array(chunks.reduce((n, chunk) => n + chunk.length, 0))
|
|
89
|
+
chunks.reduce((at, chunk) => (all.set(chunk, at), at + chunk.length), 0)
|
|
90
|
+
for (let pos = 0, length = 0; pos < all.length;) {
|
|
91
|
+
;[length, pos] = varint(all, pos)
|
|
92
|
+
const info = message(all.subarray(pos, (pos += length)))
|
|
93
|
+
const [first, ...rest] = subs(info, 2)
|
|
94
|
+
const size = (/** @type {Message} */ m) => Number(one(m, 3) ?? 0)
|
|
95
|
+
found.set(Number(one(info, 1)), { type: Number(one(first, 1)), data: message(all.subarray(pos, pos + size(first))) })
|
|
96
|
+
pos += size(first) + rest.reduce((n, m) => n + size(m), 0)
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return found
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** A Decimal128 as written, exactly: 113 bits of digits and a power of ten. @param {DataView} view @param {number} at */
|
|
103
|
+
function decimal(view, at) {
|
|
104
|
+
const high = view.getBigUint64(at + 8, true)
|
|
105
|
+
const digits = ((high & 0x1ffffffffffffn) << 64n | view.getBigUint64(at, true)).toString()
|
|
106
|
+
const power = Number((high >> 49n) & 0x3fffn) - 6176
|
|
107
|
+
const whole = power >= 0 ? digits + '0'.repeat(power) : digits.padStart(1 - power, '0')
|
|
108
|
+
const point = power >= 0 ? whole : `${whole.slice(0, power)}.${whole.slice(power)}`.replace(/\.?0+$/, '')
|
|
109
|
+
return (high >> 63n ? '-' : '') + point
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/** A date: seconds since 2001 began, as Numbers counts them. @param {number} seconds */
|
|
113
|
+
const date = (seconds) => new Date(Date.UTC(2001, 0, 1) + seconds * 1000).toISOString().slice(0, seconds % 86400 ? 16 : 10).replace('T', ' ')
|
|
114
|
+
|
|
115
|
+
/** A duration's seconds as hours, minutes and seconds. @param {number} seconds */
|
|
116
|
+
const duration = (seconds) => [Math.floor(seconds / 3600), Math.floor(seconds / 60) % 60, seconds % 60].map((n, i) => (i ? String(Math.round(n)).padStart(2, '0') : n)).join(':')
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* A cell, in storage version 5: its version and type, then from byte 8 the flags saying which
|
|
120
|
+
* values follow, in this order: a decimal, a double, a date, a string's key, a rich text's key.
|
|
121
|
+
* @param {Uint8Array} cell @param {(key: number) => string} string @param {(key: number) => string} rich
|
|
122
|
+
*/
|
|
123
|
+
export function cellText(cell, string, rich) {
|
|
124
|
+
const view = new DataView(cell.buffer, cell.byteOffset, cell.byteLength)
|
|
125
|
+
const flags = view.getUint32(8, true)
|
|
126
|
+
let at = 12
|
|
127
|
+
const take = (/** @type {number} */ flag, /** @type {number} */ size) => (flags & flag ? (at += size) - size : -1)
|
|
128
|
+
const [d128, double, seconds, key, richKey] = [take(1, 16), take(2, 8), take(4, 8), take(8, 4), take(16, 4)]
|
|
129
|
+
const number = d128 >= 0 ? decimal(view, d128) : double >= 0 ? String(view.getFloat64(double, true)) : ''
|
|
130
|
+
switch (cell[1]) {
|
|
131
|
+
case 2: case 10: return number
|
|
132
|
+
case 3: return key >= 0 ? string(view.getUint32(key, true)) : ''
|
|
133
|
+
case 5: return seconds >= 0 ? date(view.getFloat64(seconds, true)) : ''
|
|
134
|
+
case 6: return double >= 0 ? (view.getFloat64(double, true) ? 'TRUE' : 'FALSE') : ''
|
|
135
|
+
case 7: return double >= 0 ? duration(view.getFloat64(double, true)) : ''
|
|
136
|
+
case 8: return '#ERROR'
|
|
137
|
+
case 9: return richKey >= 0 ? rich(view.getUint32(richKey, true)) : ''
|
|
138
|
+
default: return ''
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Each sheet's tables (TN.SheetArchive's drawables that are a TST.TableInfoArchive) as named rows
|
|
144
|
+
* of tab-separated cells, and the words of its text boxes as one more, without rows' tabs.
|
|
145
|
+
* @param {ZipEntry[]} entries @returns {Promise<{ title: string, rows: string[] }[]>}
|
|
146
|
+
*/
|
|
147
|
+
export async function numbersTables(entries) {
|
|
148
|
+
const all = await objects(entries)
|
|
149
|
+
const get = (/** @type {number | undefined} */ id) => all.get(id ?? -1)
|
|
150
|
+
// A TSWP.StorageArchive's words.
|
|
151
|
+
const words = (/** @type {number | undefined} */ id) => (get(id)?.data.get(3) ?? []).map((bytes) => new TextDecoder().decode(/** @type {Uint8Array} */ (bytes))).join('')
|
|
152
|
+
/** @type {{ title: string, rows: string[] }[]} */
|
|
153
|
+
const tables = []
|
|
154
|
+
for (const sheet of (get(1)?.data.get(1) ?? []).map((bytes) => get(Number(one(message(/** @type {Uint8Array} */ (bytes)), 1))))) {
|
|
155
|
+
const name = text(sheet?.data, 1)
|
|
156
|
+
/** @type {string[]} */
|
|
157
|
+
const boxes = []
|
|
158
|
+
for (const drawable of (sheet?.data.get(2) ?? []).map((bytes) => get(Number(one(message(/** @type {Uint8Array} */ (bytes)), 1))))) {
|
|
159
|
+
if (drawable?.type === 2011) boxes.push(words(ref(drawable.data, 2)).trim())
|
|
160
|
+
const model = drawable?.type === 6000 ? get(ref(drawable.data, 2))?.data : undefined
|
|
161
|
+
if (!model) continue
|
|
162
|
+
// TST.TableDataStore: its tiles (3), its strings (4) and its rich texts (17), lists of entries by key.
|
|
163
|
+
const store = sub(model, 4)
|
|
164
|
+
const list = (/** @type {number} */ field) => new Map(subs(get(ref(store, field))?.data, 3).map((entry) => [one(entry, 1), entry]))
|
|
165
|
+
const strings = list(4)
|
|
166
|
+
const richTexts = list(17)
|
|
167
|
+
const string = (/** @type {number} */ key) => text(strings.get(key), 3)
|
|
168
|
+
const rich = (/** @type {number} */ key) => words(ref(get(ref(richTexts.get(key), 9))?.data, 1))
|
|
169
|
+
const tileSize = Number(one(sub(store, 3), 2) ?? 256)
|
|
170
|
+
/** @type {string[][]} */
|
|
171
|
+
const grid = []
|
|
172
|
+
for (const tile of subs(sub(store, 3), 1)) {
|
|
173
|
+
for (const row of subs(get(ref(tile, 2))?.data, 5)) {
|
|
174
|
+
// A row's cells (6) and where each starts (7), in 16-bit words of 4 bytes when wide (8), 0xffff for none.
|
|
175
|
+
const cells = /** @type {Uint8Array | undefined} */ (one(row, 6))
|
|
176
|
+
const offsets = /** @type {Uint8Array | undefined} */ (one(row, 7))
|
|
177
|
+
if (!cells || !offsets) continue
|
|
178
|
+
const index = Number(one(tile, 1) ?? 0) * tileSize + Number(one(row, 1) ?? 0)
|
|
179
|
+
const line = /** @type {string[]} */ (grid[index] = [])
|
|
180
|
+
for (let column = 0; column * 2 + 1 < offsets.length; column++) {
|
|
181
|
+
const offset = offsets[column * 2] | (offsets[column * 2 + 1] << 8)
|
|
182
|
+
if (offset !== 0xffff) line[column] = cellText(cells.subarray(offset * (one(row, 8) ? 4 : 1)), string, rich).replace(/[\t\n]+/g, ' ')
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
const rows = Array.from(grid, (line = []) => Array.from(line, (cell = '') => cell).join('\t').trimEnd())
|
|
187
|
+
while (rows.length && !rows.at(-1)) rows.pop()
|
|
188
|
+
tables.push({ title: `Sheet: ${name}, table: ${text(model, 8)}`, rows })
|
|
189
|
+
}
|
|
190
|
+
if (boxes.some(Boolean)) tables.push({ title: `Sheet: ${name}`, rows: boxes.filter(Boolean).join('\n\n').split('\n') })
|
|
191
|
+
}
|
|
192
|
+
return tables
|
|
193
|
+
}
|
package/caps/files/office.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
// Word, Excel and PowerPoint files as Office draws them (D183), in
|
|
1
|
+
// Word, Excel and PowerPoint files as Office draws them (D183), in a file's pane and the browser: by
|
|
2
2
|
// @silurus/ooxml, its parsers WebAssembly, its viewers drawing on a canvas, so nothing of the file
|
|
3
|
-
// becomes markup, in a frame of
|
|
4
|
-
// here: modules as
|
|
3
|
+
// becomes markup, in a frame of a file pane's kind (an opaque origin with no network), in a page made
|
|
4
|
+
// here: its modules as text the page makes blob: addresses of, under an import map it writes, the
|
|
5
|
+
// parser and the file as data.
|
|
5
6
|
import { encode } from '../../ui/seal.js'
|
|
6
7
|
import { t } from '../../core/i18n.js'
|
|
7
8
|
|
|
8
9
|
const BASE = new URL('../../vendor/ooxml/', import.meta.url)
|
|
9
10
|
const VIEWERS = /** @type {Record<string, string>} */ ({ docx: 'DocxScrollViewer', pptx: 'PptxScrollViewer', xlsx: 'XlsxViewer' })
|
|
10
|
-
/** A file of vendor/ooxml
|
|
11
|
-
const
|
|
11
|
+
/** A file of vendor/ooxml. @param {string} path */
|
|
12
|
+
const read = (path) => fetch(new URL(path, BASE))
|
|
12
13
|
let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefined)
|
|
13
14
|
|
|
14
15
|
/** Where a workbook was being looked at: its sheet, how far it was scrolled, the cell chosen. @typedef {{ sheet: number, x: number, y: number, ref: string }} Place */
|
|
@@ -16,7 +17,9 @@ let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefi
|
|
|
16
17
|
// A workbook's cells changed where they are (D229): a double click, F2 or typing opens a box over the cell
|
|
17
18
|
// chosen (Enter is the viewer's, for comments); Enter, Tab or leaving it sends Jean what it is to hold, and
|
|
18
19
|
// Jean keeps a new version and shows it again where it was; Escape leaves the box, as does Jean's answer
|
|
19
|
-
// that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet.
|
|
20
|
+
// that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet. A sheet is
|
|
21
|
+
// drawn before the viewer has read it whole, and can't say what a cell holds until then: the box waits for
|
|
22
|
+
// that, 10 s at most, unless another box opened meanwhile.
|
|
20
23
|
const CELLS = `
|
|
21
24
|
const box = Object.assign(document.createElement('input'), { dir: 'auto', spellcheck: false, autocomplete: 'off' })
|
|
22
25
|
box.style.cssText = 'position: fixed; display: none; box-sizing: border-box; margin: 0; padding: 0 4px; border: 2px solid #1a73e8; background: #fff; color: #111; font: 13px system-ui, sans-serif'
|
|
@@ -26,17 +29,19 @@ let was = ''
|
|
|
26
29
|
let back = null
|
|
27
30
|
const ref = ({ row, col }) => { let name = ''; for (let n = col; n > 0; n = Math.floor((n - 1) / 26)) name = String.fromCharCode(65 + ((n - 1) % 26)) + name; return name + row }
|
|
28
31
|
const close = (keys) => { cell = null; box.readOnly = false; box.style.display = 'none'; if (keys) back?.focus() }
|
|
29
|
-
const open = (typed) => {
|
|
32
|
+
const open = (typed, tries = 0) => {
|
|
30
33
|
const active = viewer.selectionState?.activeCell
|
|
31
34
|
const rect = active && viewer.getCellViewportRect(active)
|
|
32
35
|
if (!rect) return
|
|
33
|
-
const
|
|
36
|
+
const context = viewer.getSelectionContext()
|
|
37
|
+
if (!context) return void (tries < 200 && setTimeout(() => cell || open(typed, tries + 1), 50))
|
|
38
|
+
const known = context.cells?.find(({ address }) => address.row === active.row && address.col === active.col)
|
|
34
39
|
const grid = viewer.canvasElement.getBoundingClientRect()
|
|
35
40
|
cell = active
|
|
36
41
|
back = document.activeElement
|
|
37
42
|
was = known?.formula ? '=' + known.formula.replace(/^=/, '') : String(known?.value ?? '')
|
|
38
43
|
box.value = typed ?? was
|
|
39
|
-
box.
|
|
44
|
+
box.title = ref(active)
|
|
40
45
|
Object.assign(box.style, { display: 'block', left: grid.left + rect.x + 'px', top: grid.top + rect.y + 'px', width: rect.width + 'px', height: rect.height + 'px' })
|
|
41
46
|
box.focus()
|
|
42
47
|
}
|
|
@@ -67,22 +72,24 @@ addEventListener('message', ({ source, data }) => { if (source === parent && dat
|
|
|
67
72
|
`
|
|
68
73
|
|
|
69
74
|
/**
|
|
70
|
-
* A page that draws a Word document, a workbook or a deck; a workbook in
|
|
75
|
+
* A page that draws a Word document, a workbook or a deck; a workbook in its pane has cells to change,
|
|
71
76
|
* shown where it was looked at. @param {string} ext docx, xlsx or pptx @param {Uint8Array} bytes @param {string} name
|
|
72
77
|
* @param {{ at?: Place }} [cells] @param {string} [words] what a citation points at, found and shown by the viewer's own find (D481): its longest line
|
|
73
78
|
*/
|
|
74
79
|
export async function officePage(ext, bytes, name, cells, words) {
|
|
75
80
|
graph ??= fetch(new URL('graph.json', BASE)).then((response) => response.json())
|
|
76
|
-
|
|
81
|
+
// Its modules as blob: addresses the page makes, never data: ones: Chromium took 2.6 s over the 1.6 MB data: address of a Word
|
|
82
|
+
// document's largest module, on a fast computer, and fourteen on a busy one, and Jean's page, whose thread the frame shares, froze with it.
|
|
83
|
+
const modules = Object.fromEntries(await Promise.all((await graph)[ext].map(async (file) => [`ooxml/${file}`, await (await read(file)).text()])))
|
|
77
84
|
const failed = JSON.stringify(t('files.failed', { name })).replace(/</g, '\\u003c')
|
|
78
85
|
const at = JSON.stringify(cells?.at ?? null).replace(/</g, '\\u003c')
|
|
79
86
|
const find = words && JSON.stringify(words.replace(/^#+ /gm, '').split('\n').map((line) => line.trim()).sort((a, b) => b.length - a.length)[0]).replace(/</g, '\\u003c')
|
|
80
87
|
return /* html */ `<meta charset="utf-8"><style>html, body { block-size: 100%; margin: 0; background: #ececef; font: 0.9rem system-ui, sans-serif; } main { block-size: 100vh; } p { margin: 2rem; text-align: center; }</style>
|
|
81
|
-
<script type
|
|
88
|
+
<script>document.head.append(Object.assign(document.createElement('script'), { type: 'importmap', textContent: JSON.stringify({ imports: Object.fromEntries(Object.entries(${JSON.stringify(modules).replace(/</g, '\\u003c')}).map(([name, text]) => [name, URL.createObjectURL(new Blob([text], { type: 'text/javascript' }))])) }) }))</script><main></main>
|
|
82
89
|
<script type="module">
|
|
83
90
|
import { ${VIEWERS[ext]} as Viewer } from 'ooxml/${ext}.mjs'
|
|
84
91
|
const main = document.querySelector('main')
|
|
85
|
-
const viewer = new Viewer(main, { wasmUrl: '
|
|
92
|
+
const viewer = new Viewer(main, { wasmUrl: 'data:application/wasm;base64,${encode(new Uint8Array(await (await read(`${ext}_parser_bg.wasm`)).arrayBuffer()))}', enableTextSelection: true, background: '#ececef' })
|
|
86
93
|
viewer.load(Uint8Array.from(atob('${encode(bytes)}'), (char) => char.charCodeAt(0)).buffer)${find ? `
|
|
87
94
|
.then(() => viewer.findText(${find}).then(() => viewer.findNext()).catch(() => {}))` : ''}${ext === 'xlsx' && cells ? `
|
|
88
95
|
.then(async () => {
|