@pie-players/pie-players-shared 0.3.67 → 0.3.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/README.md +59 -0
  2. package/dist/formative/index.d.ts +16 -0
  3. package/dist/formative/index.js +5 -0
  4. package/dist/formative/mastery.d.ts +16 -0
  5. package/dist/formative/mastery.js +43 -0
  6. package/dist/formative/outcome.d.ts +19 -0
  7. package/dist/formative/outcome.js +90 -0
  8. package/dist/formative/policy.d.ts +37 -0
  9. package/dist/formative/policy.js +86 -0
  10. package/dist/formative/session.d.ts +19 -0
  11. package/dist/formative/session.js +113 -0
  12. package/dist/formative/state.d.ts +60 -0
  13. package/dist/formative/state.js +140 -0
  14. package/dist/formative/types.d.ts +164 -0
  15. package/dist/formative/types.js +13 -0
  16. package/dist/i18n/catalogs.d.ts +38 -0
  17. package/dist/i18n/catalogs.js +47 -0
  18. package/dist/i18n/index.d.ts +28 -4
  19. package/dist/i18n/index.js +34 -3
  20. package/dist/i18n/language-tags.d.ts +51 -0
  21. package/dist/i18n/language-tags.js +84 -0
  22. package/dist/i18n/messages/en-US.d.ts +601 -0
  23. package/dist/i18n/messages/en-US.js +617 -0
  24. package/dist/i18n/messages/nl-NL.d.ts +516 -0
  25. package/dist/i18n/messages/nl-NL.js +516 -0
  26. package/dist/i18n/provider.d.ts +168 -0
  27. package/dist/i18n/provider.js +472 -0
  28. package/dist/i18n/types.d.ts +177 -28
  29. package/dist/i18n/types.js +6 -2
  30. package/dist/index.d.ts +3 -1
  31. package/dist/index.js +2 -0
  32. package/dist/pie/custom-element-define.d.ts +24 -0
  33. package/dist/pie/custom-element-define.js +36 -6
  34. package/dist/pie/index.d.ts +1 -1
  35. package/dist/pie/index.js +1 -1
  36. package/dist/pie/versioned-tag.js +3 -2
  37. package/dist/security/sanitize-forbidden-lists.d.ts +8 -0
  38. package/dist/security/sanitize-forbidden-lists.js +41 -0
  39. package/dist/security/sanitize-item-markup.js +3 -36
  40. package/dist/security/sanitize-svg-icon.js +3 -25
  41. package/dist/security/wrap-overwide-images.d.ts +5 -10
  42. package/dist/security/wrap-overwide-images.js +13 -62
  43. package/dist/security/wrap-overwide-tables.d.ts +5 -10
  44. package/dist/security/wrap-overwide-tables.js +13 -62
  45. package/dist/security/wrap-overwide.d.ts +51 -0
  46. package/dist/security/wrap-overwide.js +91 -0
  47. package/dist/server/npm-auth-env.d.ts +13 -0
  48. package/dist/server/npm-auth-env.js +64 -0
  49. package/dist/timed-media/index.d.ts +17 -0
  50. package/dist/timed-media/index.js +16 -0
  51. package/dist/timed-media/media-element-source.d.ts +36 -0
  52. package/dist/timed-media/media-element-source.js +121 -0
  53. package/dist/timed-media/policy.d.ts +36 -0
  54. package/dist/timed-media/policy.js +297 -0
  55. package/dist/timed-media/session.d.ts +21 -0
  56. package/dist/timed-media/session.js +85 -0
  57. package/dist/timed-media/state.d.ts +66 -0
  58. package/dist/timed-media/state.js +357 -0
  59. package/dist/timed-media/types.d.ts +343 -0
  60. package/dist/timed-media/types.js +12 -0
  61. package/dist/tools/term-lookup.d.ts +189 -0
  62. package/dist/tools/term-lookup.js +284 -0
  63. package/dist/types/index.d.ts +105 -1
  64. package/dist/ui/attribute-coercion.d.ts +1 -0
  65. package/dist/ui/attribute-coercion.js +19 -0
  66. package/dist/ui/first-focusable.d.ts +22 -0
  67. package/dist/ui/first-focusable.js +47 -0
  68. package/dist/ui/focus-trap.js +7 -2
  69. package/dist/ui/pointer-drag.d.ts +30 -0
  70. package/dist/ui/pointer-drag.js +34 -0
  71. package/package.json +38 -6
  72. package/dist/i18n/loader.d.ts +0 -35
  73. package/dist/i18n/loader.js +0 -132
  74. package/dist/i18n/simple-i18n.d.ts +0 -68
  75. package/dist/i18n/simple-i18n.js +0 -198
  76. package/dist/i18n/translations/ar/common.json +0 -36
  77. package/dist/i18n/translations/ar/toolkit.json +0 -48
  78. package/dist/i18n/translations/ar/tools.json +0 -103
  79. package/dist/i18n/translations/en/common.json +0 -36
  80. package/dist/i18n/translations/en/toolkit.json +0 -48
  81. package/dist/i18n/translations/en/tools.json +0 -103
  82. package/dist/i18n/translations/es/common.json +0 -36
  83. package/dist/i18n/translations/es/toolkit.json +0 -48
  84. package/dist/i18n/translations/es/tools.json +0 -103
  85. package/dist/i18n/translations/zh/common.json +0 -36
  86. package/dist/i18n/translations/zh/toolkit.json +0 -48
  87. package/dist/i18n/translations/zh/tools.json +0 -103
@@ -1,103 +0,0 @@
1
- {
2
- "tool": {
3
- "calculator": "计算器",
4
- "calculator_aria": "打开计算器",
5
- "graph": "图表",
6
- "graph_aria": "打开图表工具",
7
- "periodic_table": "元素周期表",
8
- "periodic_table_aria": "打开元素周期表",
9
- "protractor": "量角器",
10
- "protractor_aria": "打开量角器",
11
- "ruler": "尺子",
12
- "ruler_aria": "打开尺子",
13
- "line_reader": "行阅读器",
14
- "line_reader_aria": "打开行阅读器",
15
- "text_to_speech": "文字转语音",
16
- "text_to_speech_aria": "打开文字转语音",
17
- "color_scheme": "配色方案",
18
- "color_scheme_aria": "打开配色方案选择器",
19
- "annotation": "注释",
20
- "annotation_aria": "打开注释工具栏",
21
- "answer_eliminator": "答案消除器"
22
- },
23
- "tts": {
24
- "title": "文字转语音",
25
- "close_aria": "关闭文字转语音",
26
- "failed_init": "初始化 TTS 失败",
27
- "initializing": "初始化中...",
28
- "select_text": "选择页面上的文本以朗读。",
29
- "selected": "已选择 {count} {character}",
30
- "speed": "速度:",
31
- "rate_slow": "慢",
32
- "rate_slower": "较慢",
33
- "rate_normal": "正常",
34
- "rate_faster": "较快",
35
- "rate_fast": "快",
36
- "rate_very_fast": "很快",
37
- "play": "播放",
38
- "pause": "暂停",
39
- "resume": "继续",
40
- "stop": "停止",
41
- "speaking": "朗读中...",
42
- "paused": "已暂停"
43
- },
44
- "calculator": {
45
- "title": "计算器",
46
- "aria_label": "计算器工具 - 使用 Alt+箭头键移动,Escape 关闭",
47
- "settings": "计算器设置",
48
- "close": "关闭计算器",
49
- "settings_title": "计算器设置",
50
- "type": "计算器类型",
51
- "basic": "基础",
52
- "scientific": "科学",
53
- "graphing": "图形",
54
- "configuration": "配置",
55
- "config_help": "这些设置对测试很有用。在生产环境中可能对学生隐藏或限制。",
56
- "restricted_mode": "受限模式(测试模式)",
57
- "angle_mode": "角度模式",
58
- "degrees": "度数",
59
- "radians": "弧度",
60
- "qwerty": "QWERTY 键盘",
61
- "screen_reader": "屏幕阅读器支持",
62
- "accessible_display": "无障碍显示",
63
- "settings_menu": "设置菜单",
64
- "notes": "笔记",
65
- "folders": "文件夹",
66
- "sliders": "滑块",
67
- "display_mode": "显示模式",
68
- "classic": "经典",
69
- "mathprint": "MathPrint"
70
- },
71
- "color_scheme": {
72
- "title": "配色方案",
73
- "description": "选择配色方案以提高可读性并减少眼睛疲劳。",
74
- "close_aria": "关闭配色方案选择器",
75
- "select_aria": "选择配色方案",
76
- "default": "默认",
77
- "default_desc": "标准 PIE 颜色",
78
- "black_on_white": "黑底白字",
79
- "black_on_white_desc": "高对比度便于阅读",
80
- "white_on_black": "白底黑字",
81
- "white_on_black_desc": "反向高对比度",
82
- "rose_on_green": "玫瑰色底绿字",
83
- "rose_on_green_desc": "减少眩光",
84
- "yellow_on_blue": "黄底蓝字",
85
- "yellow_on_blue_desc": "高对比度替代方案",
86
- "black_on_rose": "黑底玫瑰色字",
87
- "black_on_rose_desc": "温暖的背景",
88
- "light_gray_on_dark_gray": "浅灰底深灰字",
89
- "light_gray_on_dark_gray_desc": "降低亮度"
90
- },
91
- "annotation": {
92
- "yellow_aria": "黄色高亮",
93
- "pink_aria": "粉色高亮",
94
- "blue_aria": "蓝色高亮",
95
- "green_aria": "绿色高亮",
96
- "read_selection": "朗读选择",
97
- "translation": "翻译请求",
98
- "clear": "清除高亮"
99
- },
100
- "ruler": {
101
- "switched_to": "已切换到 {unit}"
102
- }
103
- }