@capyclaw/ppt-workbench 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- /** 兼容层:op 分发器的通用实现位于 dsh-document-workbench/ops。 */
2
- export { createOpDispatcher } from 'dsh-document-workbench/ops'
1
+ /** 兼容层:op 分发器的通用实现位于 @capyclaw/document-workbench/ops。 */
2
+ export { createOpDispatcher } from '@capyclaw/document-workbench/ops'
package/core/ops/index.js CHANGED
@@ -1,39 +1,39 @@
1
- /** op 组装:按域合并为一张表,交给通用 op registry 分发。 */
2
- import { createOpDispatcher, createOpRegistry } from 'dsh-document-workbench/ops'
3
- import { deckOps } from './deck.js'
4
- import { textOps } from './text.js'
5
- import { elementOps } from './element.js'
6
- import { slideOps } from './slide.js'
7
- import { recolorOps } from './recolor.js'
8
- import { viewOps } from './view.js'
9
- import { historyOps } from './history.js'
10
- import { playbackOps } from './playback.js'
11
- import { chartOps } from './chart.js'
12
- import { tableOps } from './table.js'
13
- import { importOps } from './import.js'
14
-
15
- export const OP_MODULES = {
16
- deck: deckOps,
17
- text: textOps,
18
- element: elementOps,
19
- slide: slideOps,
20
- recolor: recolorOps,
21
- view: viewOps,
22
- history: historyOps,
23
- playback: playbackOps,
24
- chart: chartOps,
25
- table: tableOps,
26
- importer: importOps,
27
- }
28
-
29
- export const registry = createOpRegistry({
30
- modules: OP_MODULES,
31
- snapshot: (P) => P.snapshot?.(),
32
- })
33
-
34
- export const OP_DEFINITIONS = registry.definitions
35
- export const OP_NAMES = registry.names
36
- export const VIEW_OP_NAMES = registry.viewNames
37
- export const applyOp = registry.apply
38
-
39
- export { createOpDispatcher }
1
+ /** op 组装:按域合并为一张表,交给通用 op registry 分发。 */
2
+ import { createOpDispatcher, createOpRegistry } from '@capyclaw/document-workbench/ops'
3
+ import { deckOps } from './deck.js'
4
+ import { textOps } from './text.js'
5
+ import { elementOps } from './element.js'
6
+ import { slideOps } from './slide.js'
7
+ import { recolorOps } from './recolor.js'
8
+ import { viewOps } from './view.js'
9
+ import { historyOps } from './history.js'
10
+ import { playbackOps } from './playback.js'
11
+ import { chartOps } from './chart.js'
12
+ import { tableOps } from './table.js'
13
+ import { importOps } from './import.js'
14
+
15
+ export const OP_MODULES = {
16
+ deck: deckOps,
17
+ text: textOps,
18
+ element: elementOps,
19
+ slide: slideOps,
20
+ recolor: recolorOps,
21
+ view: viewOps,
22
+ history: historyOps,
23
+ playback: playbackOps,
24
+ chart: chartOps,
25
+ table: tableOps,
26
+ importer: importOps,
27
+ }
28
+
29
+ export const registry = createOpRegistry({
30
+ modules: OP_MODULES,
31
+ snapshot: (P) => P.snapshot?.(),
32
+ })
33
+
34
+ export const OP_DEFINITIONS = registry.definitions
35
+ export const OP_NAMES = registry.names
36
+ export const VIEW_OP_NAMES = registry.viewNames
37
+ export const applyOp = registry.apply
38
+
39
+ export { createOpDispatcher }