amis-editor 4.1.0-beta.21 → 4.1.0-beta.24
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/exports.min.js +1 -1
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +10 -0
- package/dist/plugin/Cards.d.ts +1 -1
- package/dist/plugin/CustomRegion.d.ts +2 -5
- package/dist/plugin/DropDownButton.d.ts +1 -1
- package/dist/plugin/Each.d.ts +1 -1
- package/dist/plugin/Form/Switch.d.ts +2 -0
- package/dist/plugin/List.d.ts +1 -1
- package/dist/plugin.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
- package/src/component/schemaTpl.tsx +2 -0
- package/src/plugin/Cards.tsx +4 -1
- package/src/plugin/CustomRegion.tsx +10 -4
- package/src/plugin/DropDownButton.tsx +4 -1
- package/src/plugin/Each.tsx +4 -1
- package/src/plugin/Form/Item.tsx +3 -1
- package/src/plugin/Form/Switch.tsx +3 -1
- package/src/plugin/List.tsx +4 -1
- package/src/plugin/Wizard.tsx +1 -1
- package/src/plugin/Wrapper.tsx +1 -1
- package/src/plugin.ts +2 -0
package/src/plugin.ts
CHANGED
@@ -644,6 +644,8 @@ export interface PluginEventListener {
|
|
644
644
|
|
645
645
|
onBuildContextMenus?: (event: PluginEvent<ContextMenuEventContext>) => void;
|
646
646
|
|
647
|
+
onBuildToolbars?: (event: PluginEvent<BaseEventContext>) => void;
|
648
|
+
|
647
649
|
onSelectionChange?: (event: PluginEvent<SelectionEventContext>) => void;
|
648
650
|
|
649
651
|
onPreventClick?: (
|