@open-slide/core 1.1.0 → 1.2.0

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 (31) hide show
  1. package/dist/{build-DSqSio-T.js → build-6BeQ3cxb.js} +1 -1
  2. package/dist/cli/bin.js +3 -3
  3. package/dist/{config-KdiYeWtK.js → config-AxZ5OE1u.js} +673 -211
  4. package/dist/{config-C7vMYzFD.d.ts → config-CtT8K4VF.d.ts} +1 -1
  5. package/dist/{dev-B_GVbr11.js → dev-C9eLmUEq.js} +1 -1
  6. package/dist/index.d.ts +2 -2
  7. package/dist/locale/index.d.ts +1 -1
  8. package/dist/locale/index.js +96 -20
  9. package/dist/{preview-D_mxhj7w.js → preview-Cunm-f4i.js} +1 -1
  10. package/dist/{types-DYgVpIGo.d.ts → types-CRHIeoNq.d.ts} +28 -4
  11. package/dist/vite/index.d.ts +2 -2
  12. package/dist/vite/index.js +1 -1
  13. package/package.json +1 -1
  14. package/skills/current-slide/SKILL.md +110 -0
  15. package/skills/slide-authoring/SKILL.md +48 -1
  16. package/src/app/components/inspector/image-crop-dialog.tsx +64 -20
  17. package/src/app/components/inspector/inspector-panel.tsx +44 -13
  18. package/src/app/components/inspector/inspector-provider.tsx +60 -7
  19. package/src/app/components/notes-drawer.tsx +117 -0
  20. package/src/app/components/player.tsx +11 -7
  21. package/src/app/components/present/overview-grid.tsx +2 -2
  22. package/src/app/components/thumbnail-rail.tsx +119 -24
  23. package/src/app/components/ui/context-menu.tsx +237 -0
  24. package/src/app/lib/inspector/use-notes.ts +134 -0
  25. package/src/app/routes/home.tsx +34 -12
  26. package/src/app/routes/slide.tsx +209 -74
  27. package/src/locale/en.ts +26 -4
  28. package/src/locale/ja.ts +26 -4
  29. package/src/locale/types.ts +29 -4
  30. package/src/locale/zh-cn.ts +26 -4
  31. package/src/locale/zh-tw.ts +26 -4
@@ -81,6 +81,9 @@ export const zhTW: Locale = {
81
81
  },
82
82
 
83
83
  slide: {
84
+ agentConnected: 'Agent 已連線',
85
+ agentConnectedTooltip:
86
+ 'Dev server 正在把你目前在哪張 slide、Inspector 選了哪個元素發布給 agent。直接到聊天說「這張 slide」或「這個元素」就行。Production build 不會出現。',
84
87
  home: '首頁',
85
88
  backToHome: '返回首頁',
86
89
  download: '下載',
@@ -192,10 +195,13 @@ export const zhTW: Locale = {
192
195
  cropFitContain: '完整顯示',
193
196
  cropApply: '套用',
194
197
  cropResetAria: '重設裁切',
195
- noteForAgent: '給代理的備註',
196
- noteAgentPlaceholder: '描述你希望代理進行的修改…',
197
- noteShortcutHint: '⌘↵ 送出',
198
- addNote: '新增備註',
198
+ agentWatching: 'Agent 正在關注',
199
+ agentWatchingTooltip:
200
+ 'Agent 已經透過 dev server 看到你選的元素了,直接到聊天請它修改就行。想累積幾個再一次問才需要在這裡留 comments。',
201
+ leaveComment: '留個 comment',
202
+ commentPlaceholder: '描述你希望代理進行的修改…',
203
+ commentShortcutHint: '⌘↵ 新增',
204
+ addComment: '新增 comment',
199
205
  unsavedChanges: {
200
206
  one: '{count} 項未儲存的變更',
201
207
  other: '{count} 項未儲存的變更',
@@ -288,6 +294,13 @@ export const zhTW: Locale = {
288
294
  thumbnailRail: {
289
295
  pages: '頁面',
290
296
  goToPageAria: '前往第 {n} 頁',
297
+ duplicatePage: '複製',
298
+ deletePage: '刪除',
299
+ pageActionsAria: '第 {n} 頁的操作',
300
+ toastDuplicated: '已複製第 {n} 頁',
301
+ toastDeleted: '已刪除第 {n} 頁',
302
+ toastDuplicateFailed: '無法複製頁面',
303
+ toastDeleteFailed: '無法刪除頁面',
291
304
  },
292
305
 
293
306
  pdfToast: {
@@ -309,4 +322,13 @@ export const zhTW: Locale = {
309
322
  prevAria: '上一頁',
310
323
  nextAria: '下一頁',
311
324
  },
325
+
326
+ notesDrawer: {
327
+ toggle: '講稿',
328
+ pageLabel: '第 {n} / {total} 頁',
329
+ placeholder: '為這一頁撰寫演講備忘…',
330
+ statusSaving: '儲存中…',
331
+ statusSaved: '已儲存',
332
+ statusError: '儲存失敗:{msg}',
333
+ },
312
334
  };