PluginProbe
Tableberg – Simple Gutenberg Table Block / 1.1.5
Tableberg – Simple Gutenberg Table Block v1.1.5
1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 trunk 0.0.2 0.2.1 0.3.2 0.3.3 0.4.1 0.5.0 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 All 42 releases
tableberg / src / pro-host-api.ts

pro-host-api.ts in Tableberg – Simple Gutenberg Table Block 1.1.5, at src/pro-host-api.ts

45 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { elementAlignmentToJustifyContent } from "./alignment";
2 import { DynamicDataPanel } from "./components/DynamicDataPanel";
3 import { ElementDeleteButton } from "./components/ElementDeleteButton";
4 import { ElementOptionsButton } from "./components/ElementOptionsButton";
5 import { useDynamicDataBindings } from "./dynamic-data/hooks/useDynamicData";
6 import { useBlockCardUpdateShim } from "./hooks/block-editor-compat";
7 import { useClickOutside } from "./hooks/useClickOutside";
8 import { registerNativeElementBlock } from "./blocks/element-bridge";
9 import { useTableStore } from "./store";
10 import { ListElement, listAttrDefaults } from "./blocks/list/element";
11
12 declare global {
13 interface Window {
14 TablebergProHost?: {
15 DynamicDataPanel: typeof DynamicDataPanel;
16 ElementDeleteButton: typeof ElementDeleteButton;
17 ElementOptionsButton: typeof ElementOptionsButton;
18 elementAlignmentToJustifyContent: typeof elementAlignmentToJustifyContent;
19 useBlockCardUpdateShim: typeof useBlockCardUpdateShim;
20 useClickOutside: typeof useClickOutside;
21 useDynamicDataBindings: typeof useDynamicDataBindings;
22 useTableStore: typeof useTableStore;
23 ListElement: typeof ListElement;
24 listAttrDefaults: typeof listAttrDefaults;
25 registerNativeElementBlock: typeof registerNativeElementBlock;
26 };
27 }
28 }
29
30 if (!window.TablebergProHost) {
31 window.TablebergProHost = {
32 DynamicDataPanel,
33 ElementDeleteButton,
34 ElementOptionsButton,
35 elementAlignmentToJustifyContent,
36 useBlockCardUpdateShim,
37 useClickOutside,
38 useDynamicDataBindings,
39 useTableStore,
40 ListElement,
41 listAttrDefaults,
42 registerNativeElementBlock,
43 };
44 }
45