amis-editor 4.2.0-beta.2 → 5.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/6dbcbb49b6fd405190a9.png +0 -0
- package/dist/component/Control/APIControl.d.ts +1101 -447
- package/dist/component/Control/ActionAPIControl.d.ts +1158 -0
- package/dist/component/Control/BadgeControl.d.ts +133 -0
- package/dist/component/Control/BaseControl.d.ts +248 -0
- package/dist/component/Control/DataBindingControl.d.ts +14 -0
- package/dist/component/Control/DataPickerControl.d.ts +13 -0
- package/dist/component/Control/DateShortCutControl.d.ts +83 -0
- package/dist/component/Control/FormulaControl.d.ts +51 -0
- package/dist/component/Control/OptionControl.d.ts +23 -34
- package/dist/component/Control/StatusControl.d.ts +39 -0
- package/dist/component/Control/SwitchMoreControl.d.ts +224 -0
- package/dist/component/Control/ValidationControl.d.ts +50 -15
- package/dist/component/Control/ValidationItem.d.ts +46 -0
- package/dist/component/Control/style-control/Background.d.ts +17 -0
- package/dist/component/Control/style-control/Border.d.ts +18 -0
- package/dist/component/Control/style-control/BoxModel.d.ts +17 -0
- package/dist/component/Control/style-control/BoxShadow.d.ts +18 -0
- package/dist/component/Control/style-control/Display.d.ts +14 -0
- package/dist/component/Control/style-control/Font.d.ts +16 -0
- package/dist/component/Control/style-control/font-family.d.ts +11 -0
- package/dist/component/Control/style-control/transformation.d.ts +29 -0
- package/dist/component/Control/style-control/types.d.ts +8 -0
- package/dist/component/Editor.d.ts +16 -0
- package/dist/component/RegionWrapper.d.ts +10 -0
- package/dist/component/VRenderer.d.ts +10 -0
- package/dist/component/schemaTpl.d.ts +8 -0
- package/dist/component/validator.d.ts +62 -0
- package/dist/dnd/index.d.ts +1 -1
- package/dist/event-action/action-config-panel.d.ts +8 -0
- package/dist/event-action/actions.d.ts +3 -0
- package/dist/event-action/comp-action-select.d.ts +11 -0
- package/dist/event-action/config.d.ts +13 -0
- package/dist/event-action/index.d.ts +459 -0
- package/dist/event-action/schema.d.ts +32 -0
- package/dist/exports.min.js +1 -1
- package/dist/index.d.ts +23 -5
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +46 -1
- package/dist/plugin/Alert.d.ts +4 -2
- package/dist/plugin/Button.d.ts +5 -1
- package/dist/plugin/ButtonGroup.d.ts +13 -34
- package/dist/plugin/ButtonToolbar.d.ts +4 -10
- package/dist/plugin/CRUD.d.ts +2 -0
- package/dist/plugin/Chart.d.ts +2 -0
- package/dist/plugin/Collapse.d.ts +1 -0
- package/dist/plugin/CollapseGroup.d.ts +28 -4
- package/dist/plugin/Container.d.ts +2 -1
- package/dist/plugin/Dialog.d.ts +12 -2
- package/dist/plugin/Drawer.d.ts +12 -2
- package/dist/plugin/DropDownButton.d.ts +11 -11
- package/dist/plugin/Form/ButtonGroupSelect.d.ts +7 -2
- package/dist/plugin/Form/ButtonToolbar.d.ts +8 -7
- package/dist/plugin/Form/ChainedSelect.d.ts +3 -0
- package/dist/plugin/Form/Checkbox.d.ts +7 -2
- package/dist/plugin/Form/Checkboxes.d.ts +8 -2
- package/dist/plugin/Form/CodeEditor.d.ts +7 -22
- package/dist/plugin/Form/Combo.d.ts +3 -0
- package/dist/plugin/Form/Control.d.ts +6 -2
- package/dist/plugin/Form/DiffEditor.d.ts +7 -1
- package/dist/plugin/Form/Form.d.ts +6 -0
- package/dist/plugin/Form/Formula.d.ts +1 -25
- package/dist/plugin/Form/InputDate.d.ts +8 -2
- package/dist/plugin/Form/InputDateRange.d.ts +8 -2
- package/dist/plugin/Form/InputDateTime.d.ts +4 -4
- package/dist/plugin/Form/InputDateTimeRange.d.ts +4 -4
- package/dist/plugin/Form/InputEmail.d.ts +1 -0
- package/dist/plugin/Form/InputExcel.d.ts +6 -41
- package/dist/plugin/Form/InputFile.d.ts +7 -3
- package/dist/plugin/Form/InputKV.d.ts +6 -0
- package/dist/plugin/Form/InputMonth.d.ts +1 -0
- package/dist/plugin/Form/InputMonthRange.d.ts +4 -4
- package/dist/plugin/Form/InputPassword.d.ts +1 -0
- package/dist/plugin/Form/InputQuarter.d.ts +1 -0
- package/dist/plugin/Form/InputQuarterRange.d.ts +4 -4
- package/dist/plugin/Form/InputRange.d.ts +3 -0
- package/dist/plugin/Form/InputRating.d.ts +9 -3
- package/dist/plugin/Form/InputText.d.ts +24 -2
- package/dist/plugin/Form/InputTime.d.ts +3 -3
- package/dist/plugin/Form/InputTimeRange.d.ts +20 -0
- package/dist/plugin/Form/InputTree.d.ts +6 -2
- package/dist/plugin/Form/InputURL.d.ts +1 -0
- package/dist/plugin/Form/InputYear.d.ts +1 -0
- package/dist/plugin/Form/InputYearRange.d.ts +20 -0
- package/dist/plugin/Form/ListSelect.d.ts +6 -2
- package/dist/plugin/Form/LocationPicker.d.ts +1 -31
- package/dist/plugin/Form/NestedSelect.d.ts +5 -2
- package/dist/plugin/Form/Radios.d.ts +7 -2
- package/dist/plugin/Form/Select.d.ts +7 -2
- package/dist/plugin/Form/Switch.d.ts +7 -2
- package/dist/plugin/Form/TabsTransfer.d.ts +5 -2
- package/dist/plugin/Form/Textarea.d.ts +7 -1
- package/dist/plugin/Form/Transfer.d.ts +5 -2
- package/dist/plugin/Form/TreeSelect.d.ts +6 -2
- package/dist/plugin/IFrame.d.ts +2 -2
- package/dist/plugin/Nav.d.ts +1 -116
- package/dist/plugin/Others/Action.d.ts +5 -1
- package/dist/plugin/Page.d.ts +5 -2
- package/dist/plugin/Progress.d.ts +5 -1
- package/dist/plugin/Table.d.ts +2 -0
- package/dist/plugin/Tabs.d.ts +33 -2
- package/dist/plugin/TooltipWrapper.d.ts +10 -0
- package/dist/plugin/Tpl.d.ts +2 -1
- package/dist/plugin/Wizard.d.ts +4 -1
- package/dist/plugin.d.ts +37 -1
- package/dist/store/editor.d.ts +65 -38
- package/dist/store/node.d.ts +16 -0
- package/dist/style.css +1 -1
- package/dist/util.d.ts +36 -3
- package/package.json +14 -8
- package/src/component/schemaTpl.tsx +1198 -474
- package/src/plugin/.DS_Store +0 -0
- package/src/plugin/Alert.tsx +69 -48
- package/src/plugin/AnchorNav.tsx +1 -0
- package/src/plugin/Audio.tsx +9 -15
- package/src/plugin/Avatar.tsx +2 -1
- package/src/plugin/Breadcrumb.tsx +2 -1
- package/src/plugin/Button.tsx +257 -188
- package/src/plugin/ButtonGroup.tsx +99 -38
- package/src/plugin/ButtonToolbar.tsx +7 -13
- package/src/plugin/CRUD.tsx +77 -135
- package/src/plugin/Card.tsx +1 -0
- package/src/plugin/Cards.tsx +8 -14
- package/src/plugin/Carousel.tsx +1 -1
- package/src/plugin/Chart.tsx +26 -14
- package/src/plugin/Collapse.tsx +78 -78
- package/src/plugin/CollapseGroup.tsx +165 -83
- package/src/plugin/Container.tsx +59 -6
- package/src/plugin/Custom.tsx +2 -8
- package/src/plugin/CustomRegion.tsx +4 -3
- package/src/plugin/Dialog.tsx +55 -24
- package/src/plugin/Drawer.tsx +65 -35
- package/src/plugin/DropDownButton.tsx +95 -79
- package/src/plugin/Flex.tsx +123 -65
- package/src/plugin/Form/ButtonGroupSelect.tsx +114 -26
- package/src/plugin/Form/ButtonToolbar.tsx +62 -55
- package/src/plugin/Form/ChainedSelect.tsx +45 -0
- package/src/plugin/Form/Checkbox.tsx +122 -33
- package/src/plugin/Form/Checkboxes.tsx +154 -87
- package/src/plugin/Form/CodeEditor.tsx +163 -34
- package/src/plugin/Form/Combo.tsx +104 -65
- package/src/plugin/Form/Control.tsx +16 -70
- package/src/plugin/Form/DiffEditor.tsx +158 -54
- package/src/plugin/Form/FieldSet.tsx +6 -11
- package/src/plugin/Form/Form.tsx +277 -70
- package/src/plugin/Form/Formula.tsx +8 -14
- package/src/plugin/Form/InputArray.tsx +7 -16
- package/src/plugin/Form/InputCity.tsx +1 -1
- package/src/plugin/Form/InputDate.tsx +344 -121
- package/src/plugin/Form/InputDateRange.tsx +303 -161
- package/src/plugin/Form/InputDateTime.tsx +6 -150
- package/src/plugin/Form/InputDateTimeRange.tsx +7 -187
- package/src/plugin/Form/InputEmail.tsx +1 -0
- package/src/plugin/Form/InputExcel.tsx +70 -27
- package/src/plugin/Form/InputFile.tsx +326 -152
- package/src/plugin/Form/InputImage.tsx +1 -1
- package/src/plugin/Form/InputKV.tsx +61 -0
- package/src/plugin/Form/InputMonth.tsx +3 -1
- package/src/plugin/Form/InputMonthRange.tsx +6 -160
- package/src/plugin/Form/InputNumber.tsx +1 -1
- package/src/plugin/Form/InputPassword.tsx +2 -0
- package/src/plugin/Form/InputQuarter.tsx +3 -1
- package/src/plugin/Form/InputQuarterRange.tsx +6 -160
- package/src/plugin/Form/InputRange.tsx +74 -4
- package/src/plugin/Form/InputRating.tsx +347 -35
- package/src/plugin/Form/InputRichText.tsx +2 -3
- package/src/plugin/Form/InputTable.tsx +33 -49
- package/src/plugin/Form/InputTag.tsx +1 -1
- package/src/plugin/Form/InputText.tsx +310 -132
- package/src/plugin/Form/InputTime.tsx +4 -53
- package/src/plugin/Form/InputTimeRange.tsx +41 -0
- package/src/plugin/Form/InputTree.tsx +196 -46
- package/src/plugin/Form/InputURL.tsx +2 -0
- package/src/plugin/Form/InputYear.tsx +2 -0
- package/src/plugin/Form/InputYearRange.tsx +41 -0
- package/src/plugin/Form/Item.tsx +17 -18
- package/src/plugin/Form/ListSelect.tsx +75 -20
- package/src/plugin/Form/LocationPicker.tsx +2 -7
- package/src/plugin/Form/MatrixCheckboxes.tsx +1 -1
- package/src/plugin/Form/NestedSelect.tsx +110 -43
- package/src/plugin/Form/Picker.tsx +2 -5
- package/src/plugin/Form/Radios.tsx +122 -52
- package/src/plugin/Form/Select.tsx +239 -168
- package/src/plugin/Form/Static.tsx +1 -1
- package/src/plugin/Form/Switch.tsx +170 -58
- package/src/plugin/Form/TabsTransfer.tsx +175 -79
- package/src/plugin/Form/Textarea.tsx +146 -36
- package/src/plugin/Form/Transfer.tsx +295 -233
- package/src/plugin/Form/TreeSelect.tsx +287 -146
- package/src/plugin/Grid.tsx +340 -312
- package/src/plugin/HBox.tsx +1 -0
- package/src/plugin/IFrame.tsx +21 -12
- package/src/plugin/Image.tsx +7 -12
- package/src/plugin/Images.tsx +7 -12
- package/src/plugin/Link.tsx +6 -12
- package/src/plugin/List.tsx +6 -10
- package/src/plugin/ListItem.tsx +1 -0
- package/src/plugin/Nav.tsx +7 -9
- package/src/plugin/Others/Action.tsx +16 -10
- package/src/plugin/Others/BasicToolbar.tsx +4 -1
- package/src/plugin/Others/TableCell.tsx +19 -39
- package/src/plugin/Page.tsx +315 -229
- package/src/plugin/Panel.tsx +6 -7
- package/src/plugin/Plain.tsx +3 -6
- package/src/plugin/Progress.tsx +234 -94
- package/src/plugin/Service.tsx +10 -6
- package/src/plugin/Table.tsx +49 -20
- package/src/plugin/TableView.tsx +212 -106
- package/src/plugin/Tabs.tsx +306 -146
- package/src/plugin/TooltipWrapper.tsx +231 -135
- package/src/plugin/Tpl.tsx +68 -52
- package/src/plugin/Video.tsx +9 -20
- package/src/plugin/Wizard.tsx +537 -336
- package/src/plugin/Wrapper.tsx +82 -61
- package/src/plugin.ts +66 -4
- package/static/empty.png +0 -0
package/src/plugin/Wrapper.tsx
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
import {Button} from 'amis';
|
2
|
-
import React from 'react';
|
3
1
|
import {registerEditorPlugin} from '../manager';
|
4
2
|
import {BasePlugin, RegionConfig, RendererInfo} from '../plugin';
|
5
3
|
import {defaultValue, getSchemaTpl} from '../component/schemaTpl';
|
@@ -36,69 +34,92 @@ export class WrapperPlugin extends BasePlugin {
|
|
36
34
|
panelBody = [
|
37
35
|
getSchemaTpl('tabs', [
|
38
36
|
{
|
39
|
-
title: '
|
37
|
+
title: '属性',
|
38
|
+
className: 'p-none',
|
40
39
|
body: [
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
40
|
+
getSchemaTpl('collapseGroup', [
|
41
|
+
{
|
42
|
+
title: '常用',
|
43
|
+
body: [
|
44
|
+
{
|
45
|
+
label: '内间距',
|
46
|
+
type: 'button-group-select',
|
47
|
+
name: 'size',
|
48
|
+
size: 'xs',
|
49
|
+
mode: 'row',
|
50
|
+
className: 'ae-buttonGroupSelect--justify',
|
51
|
+
options: [
|
52
|
+
{
|
53
|
+
label: '极小',
|
54
|
+
value: 'xs'
|
55
|
+
},
|
56
|
+
{
|
57
|
+
label: '小',
|
58
|
+
value: 'sm'
|
59
|
+
},
|
60
|
+
{
|
61
|
+
label: '默认',
|
62
|
+
value: ''
|
63
|
+
},
|
64
|
+
{
|
65
|
+
label: '中',
|
66
|
+
value: 'md'
|
67
|
+
},
|
68
|
+
{
|
69
|
+
label: '大',
|
70
|
+
value: 'lg'
|
71
|
+
},
|
72
|
+
{
|
73
|
+
label: '无',
|
74
|
+
value: 'none'
|
75
|
+
}
|
76
|
+
],
|
77
|
+
pipeIn: defaultValue('')
|
78
|
+
}
|
79
|
+
]
|
80
|
+
},
|
81
|
+
{
|
82
|
+
title: '子节点管理',
|
83
|
+
body: [
|
84
|
+
{
|
85
|
+
name: 'body',
|
86
|
+
label: false,
|
87
|
+
type: 'combo',
|
88
|
+
scaffold: {
|
89
|
+
type: 'tpl',
|
90
|
+
tpl: '子节点',
|
91
|
+
inline: false
|
92
|
+
},
|
93
|
+
multiple: true,
|
94
|
+
draggableTip: '',
|
95
|
+
items: [
|
96
|
+
{
|
97
|
+
type: 'tpl',
|
98
|
+
tpl:
|
99
|
+
'<span class="label label-default">子节点${index | plus}</span>'
|
100
|
+
}
|
101
|
+
]
|
102
|
+
}
|
103
|
+
]
|
104
|
+
}
|
105
|
+
])
|
90
106
|
]
|
91
107
|
},
|
92
|
-
|
93
108
|
{
|
94
|
-
title: '
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
109
|
+
title: '外观',
|
110
|
+
className: 'p-none',
|
111
|
+
body: getSchemaTpl('collapseGroup', [
|
112
|
+
...getSchemaTpl('style:common'),
|
113
|
+
{
|
114
|
+
title: 'CSS 类名',
|
115
|
+
body: [
|
116
|
+
getSchemaTpl('className', {
|
117
|
+
description: '设置样式后,大小设置将无效。',
|
118
|
+
pipeIn: defaultValue('bg-white')
|
119
|
+
})
|
120
|
+
]
|
121
|
+
}
|
122
|
+
])
|
102
123
|
}
|
103
124
|
])
|
104
125
|
];
|
package/src/plugin.ts
CHANGED
@@ -11,6 +11,7 @@ import {EditorDNDManager} from './dnd';
|
|
11
11
|
import React from 'react';
|
12
12
|
import {DiffChange} from './util';
|
13
13
|
import find from 'lodash/find';
|
14
|
+
import {RendererAction, RendererEvent} from './event-action';
|
14
15
|
import type {RendererConfig} from 'amis-core/lib/factory';
|
15
16
|
import type {MenuDivider, MenuItem} from 'amis-ui/lib/components/ContextMenu';
|
16
17
|
import type {BaseSchema} from 'amis/lib/Schema';
|
@@ -130,6 +131,12 @@ export interface VRendererConfig {
|
|
130
131
|
*/
|
131
132
|
panelControls?: Array<any>;
|
132
133
|
panelDefinitions?: any;
|
134
|
+
|
135
|
+
/**
|
136
|
+
* 配置面板两端对齐布局
|
137
|
+
*/
|
138
|
+
panelJustify?: boolean;
|
139
|
+
|
133
140
|
/**
|
134
141
|
* @deprecated 用panelBodyCreator 代替
|
135
142
|
*/
|
@@ -154,6 +161,9 @@ export interface RendererScaffoldInfo {
|
|
154
161
|
// 图标
|
155
162
|
icon?: string;
|
156
163
|
|
164
|
+
// 组件搜索关键字
|
165
|
+
searchKeywords?: string;
|
166
|
+
|
157
167
|
// 组件描述信息
|
158
168
|
description?: string;
|
159
169
|
|
@@ -259,6 +269,7 @@ export interface RendererInfo extends RendererScaffoldInfo {
|
|
259
269
|
|
260
270
|
// 自动填入,不用配置
|
261
271
|
id: string;
|
272
|
+
type: string;
|
262
273
|
plugin: PluginInterface;
|
263
274
|
extraPlugin?: PluginInterface; // 辅助插件,看需求。
|
264
275
|
renderer: RendererConfig;
|
@@ -281,7 +292,7 @@ export interface RendererInfo extends RendererScaffoldInfo {
|
|
281
292
|
|
282
293
|
export type BasicRendererInfo = Omit<
|
283
294
|
RendererInfo,
|
284
|
-
'id' | 'plugin' | 'renderer' | 'schemaPath'
|
295
|
+
'id' | 'type' | 'plugin' | 'renderer' | 'schemaPath'
|
285
296
|
>;
|
286
297
|
|
287
298
|
export interface PopOverForm {
|
@@ -415,6 +426,7 @@ export interface PanelItem {
|
|
415
426
|
position?: 'left' | 'right';
|
416
427
|
render?: (props: PanelProps) => JSX.Element;
|
417
428
|
menus?: Array<any>;
|
429
|
+
isNotConfigPanel?: boolean; // 可用于标记非组件属性配置面板
|
418
430
|
}
|
419
431
|
|
420
432
|
export type BasicPanelItem = Omit<PanelItem, 'order'> &
|
@@ -555,6 +567,9 @@ export type PluginEvent<T, P = any> = {
|
|
555
567
|
prevented?: boolean;
|
556
568
|
stoped?: boolean;
|
557
569
|
|
570
|
+
// 用来支持异步场景
|
571
|
+
pending?: Promise<any>;
|
572
|
+
|
558
573
|
// 当前值
|
559
574
|
data?: P;
|
560
575
|
};
|
@@ -720,6 +735,29 @@ export interface PluginInterface
|
|
720
735
|
panelApi?: any;
|
721
736
|
panelSubmitOnChange?: boolean;
|
722
737
|
|
738
|
+
/**
|
739
|
+
* 隐藏右侧面板表单项Tab
|
740
|
+
* TODO: 正式上线后要干掉这个属性
|
741
|
+
*/
|
742
|
+
notRenderFormZone?: boolean;
|
743
|
+
|
744
|
+
/**
|
745
|
+
*
|
746
|
+
* 事件定义集合
|
747
|
+
*/
|
748
|
+
events?: RendererEvent[];
|
749
|
+
|
750
|
+
/**
|
751
|
+
*
|
752
|
+
* 专有动作定义集合
|
753
|
+
*/
|
754
|
+
actions?: RendererAction[];
|
755
|
+
|
756
|
+
/**
|
757
|
+
* 右侧面板是否需要两端对齐布局
|
758
|
+
*/
|
759
|
+
panelJustify?: boolean;
|
760
|
+
|
723
761
|
/**
|
724
762
|
* @deprecated 用 panelBodyCreator
|
725
763
|
*/
|
@@ -787,6 +825,23 @@ export interface PluginInterface
|
|
787
825
|
) => void;
|
788
826
|
|
789
827
|
markDom?: (dom: HTMLElement | Array<HTMLElement>, props: any) => void;
|
828
|
+
|
829
|
+
/**
|
830
|
+
* 获取上下文数据结构
|
831
|
+
*
|
832
|
+
* @param node 当前容器节点
|
833
|
+
* @param region 所属容器节点
|
834
|
+
*/
|
835
|
+
buildDataSchemas?: (
|
836
|
+
node: EditorNodeType,
|
837
|
+
region?: EditorNodeType
|
838
|
+
) => any | Promise<any>;
|
839
|
+
|
840
|
+
rendererBeforeDispatchEvent?: (
|
841
|
+
node: EditorNodeType,
|
842
|
+
e: any,
|
843
|
+
data: any
|
844
|
+
) => void;
|
790
845
|
}
|
791
846
|
|
792
847
|
/**
|
@@ -870,7 +925,9 @@ export abstract class BasePlugin implements PluginInterface {
|
|
870
925
|
: plugin.panelBody!,
|
871
926
|
controls: plugin.panelControlsCreator
|
872
927
|
? plugin.panelControlsCreator(context)
|
873
|
-
: plugin.panelControls
|
928
|
+
: plugin.panelControls!,
|
929
|
+
justify: plugin.panelJustify,
|
930
|
+
panelById: store.activeId
|
874
931
|
})
|
875
932
|
});
|
876
933
|
} else if (
|
@@ -894,7 +951,9 @@ export abstract class BasePlugin implements PluginInterface {
|
|
894
951
|
: plugin.vRendererConfig.panelControls!,
|
895
952
|
body: plugin.vRendererConfig.panelBodyCreator
|
896
953
|
? plugin.vRendererConfig.panelBodyCreator(context)
|
897
|
-
: plugin.vRendererConfig.panelBody
|
954
|
+
: plugin.vRendererConfig.panelBody!,
|
955
|
+
justify: plugin.vRendererConfig.panelJustify,
|
956
|
+
panelById: store.activeId
|
898
957
|
})
|
899
958
|
});
|
900
959
|
}
|
@@ -915,7 +974,9 @@ export abstract class BasePlugin implements PluginInterface {
|
|
915
974
|
} else if (
|
916
975
|
panel.key === 'outline' ||
|
917
976
|
panel.key === 'commonConfig' ||
|
918
|
-
panel.key === '
|
977
|
+
panel.key === 'page-setting' ||
|
978
|
+
panel.key === 'name-list' ||
|
979
|
+
panel.isNotConfigPanel
|
919
980
|
) {
|
920
981
|
// do nothing
|
921
982
|
} else {
|
@@ -959,6 +1020,7 @@ export abstract class BasePlugin implements PluginInterface {
|
|
959
1020
|
}));
|
960
1021
|
} else if (plugin.name && plugin.description) {
|
961
1022
|
return {
|
1023
|
+
searchKeywords: plugin.searchKeywords,
|
962
1024
|
name: plugin.name,
|
963
1025
|
icon: plugin.icon,
|
964
1026
|
description: plugin.description,
|
package/static/empty.png
ADDED
Binary file
|