amis-editor 3.3.9 → 4.0.1-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/150a58f3318ca7541ed9.png +0 -0
- package/dist/471adb97c322b226e589.png +0 -0
- package/dist/4de5f42360bc5946c3c2.png +0 -0
- package/dist/4e9968bba3855f088fed.png +0 -0
- package/dist/7f09c38ebc687fea847a.png +0 -0
- package/dist/c94073576487510314ea.png +0 -0
- package/dist/component/AvailableRenderersPanel.d.ts +13 -1
- package/dist/component/BackTop.d.ts +26 -0
- package/dist/component/Breadcrumb.d.ts +1 -1
- package/dist/component/ContextMenuPanel.d.ts +8 -0
- package/dist/component/InputComponentName.d.ts +8 -0
- package/dist/component/Outline.d.ts +6 -0
- package/dist/component/Preview.d.ts +2 -0
- package/dist/component/RegionHLBox.d.ts +1 -8
- package/dist/dnd/default.d.ts +1 -1
- package/dist/dnd/index.d.ts +1 -1
- package/dist/index.d.ts +3 -4
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +442 -0
- package/dist/plugin/BasicToolbar.d.ts +1 -1
- package/dist/plugin/Date.d.ts +1 -0
- package/dist/plugin/Datetime.d.ts +3 -0
- package/dist/plugin/Form/FieldSet.d.ts +1 -0
- package/dist/plugin/Form/Group.d.ts +1 -0
- package/dist/plugin/Form/InputExcel.d.ts +13 -1
- package/dist/plugin/Form/InputGroup.d.ts +0 -2
- package/dist/plugin/Form/InputKV.d.ts +28 -0
- package/dist/plugin/Form/Item.d.ts +1 -1
- package/dist/plugin/Grid.d.ts +17 -20
- package/dist/plugin/HBox.d.ts +1 -0
- package/dist/plugin/Log.d.ts +1 -0
- package/dist/plugin/Plain.d.ts +1 -0
- package/dist/plugin/Reset.d.ts +1 -0
- package/dist/plugin/Steps.d.ts +1 -7
- package/dist/plugin/Submit.d.ts +1 -0
- package/dist/plugin/Time.d.ts +3 -0
- package/dist/plugin/WebComponent.d.ts +1 -0
- package/dist/plugin/Wrapper.d.ts +1 -0
- package/dist/plugin.d.ts +19 -0
- package/dist/store/editor.d.ts +6 -1
- package/dist/style.css +1 -1
- package/dist/util.d.ts +1 -1
- package/package.json +15 -8
- package/.editorconfig +0 -12
- package/.fecsrc +0 -8
- package/.prettierrc +0 -20
- package/dist/npm/src/compat.d.ts +0 -30
- package/dist/npm/src/component/AvailableRenderersPanel.d.ts +0 -8
- package/dist/npm/src/component/Breadcrumb.d.ts +0 -12
- package/dist/npm/src/component/ClassNameControl.d.ts +0 -31
- package/dist/npm/src/component/CodeEditor.d.ts +0 -34
- package/dist/npm/src/component/CodeEditorPanel.d.ts +0 -12
- package/dist/npm/src/component/ContainerWrapper.d.ts +0 -12
- package/dist/npm/src/component/Editor.d.ts +0 -48
- package/dist/npm/src/component/ErrorRenderer.d.ts +0 -4
- package/dist/npm/src/component/HighlightBox.d.ts +0 -13
- package/dist/npm/src/component/InsertSubRendererPanel.d.ts +0 -11
- package/dist/npm/src/component/MiniEditor.d.ts +0 -8
- package/dist/npm/src/component/NodeWrapper.d.ts +0 -20
- package/dist/npm/src/component/Outline.d.ts +0 -12
- package/dist/npm/src/component/Panels.d.ts +0 -17
- package/dist/npm/src/component/Preview.d.ts +0 -43
- package/dist/npm/src/component/RegionHLBox.d.ts +0 -27
- package/dist/npm/src/component/RegionWrapper.d.ts +0 -150
- package/dist/npm/src/component/RendererThumb.d.ts +0 -23
- package/dist/npm/src/component/ScaffoldModal.d.ts +0 -53
- package/dist/npm/src/component/SubEditor.d.ts +0 -71
- package/dist/npm/src/component/VRenderer.d.ts +0 -142
- package/dist/npm/src/component/schemaTpl.d.ts +0 -4
- package/dist/npm/src/dnd/default.d.ts +0 -47
- package/dist/npm/src/dnd/index.d.ts +0 -119
- package/dist/npm/src/dnd/interface.d.ts +0 -14
- package/dist/npm/src/dnd/position-h.d.ts +0 -7
- package/dist/npm/src/env.d.ts +0 -5
- package/dist/npm/src/index.d.ts +0 -126
- package/dist/npm/src/mocker.d.ts +0 -1
- package/dist/npm/src/plugin/Action.d.ts +0 -6
- package/dist/npm/src/plugin/Alert.d.ts +0 -18
- package/dist/npm/src/plugin/Audio.d.ts +0 -21
- package/dist/npm/src/plugin/AvailableRenderers.d.ts +0 -8
- package/dist/npm/src/plugin/BasicToolbar.d.ts +0 -9
- package/dist/npm/src/plugin/Button.d.ts +0 -24
- package/dist/npm/src/plugin/ButtonGroup.d.ts +0 -59
- package/dist/npm/src/plugin/ButtonToolbar.d.ts +0 -35
- package/dist/npm/src/plugin/CRUD.d.ts +0 -28
- package/dist/npm/src/plugin/Card.d.ts +0 -55
- package/dist/npm/src/plugin/Cards.d.ts +0 -69
- package/dist/npm/src/plugin/Carousel.d.ts +0 -31
- package/dist/npm/src/plugin/Chart.d.ts +0 -44
- package/dist/npm/src/plugin/Code.d.ts +0 -9
- package/dist/npm/src/plugin/Collapse.d.ts +0 -21
- package/dist/npm/src/plugin/Container.d.ts +0 -20
- package/dist/npm/src/plugin/Date.d.ts +0 -19
- package/dist/npm/src/plugin/Datetime.d.ts +0 -10
- package/dist/npm/src/plugin/Dialog.d.ts +0 -18
- package/dist/npm/src/plugin/DiffEditor.d.ts +0 -19
- package/dist/npm/src/plugin/Divider.d.ts +0 -13
- package/dist/npm/src/plugin/Drawer.d.ts +0 -16
- package/dist/npm/src/plugin/DropDownButton.d.ts +0 -41
- package/dist/npm/src/plugin/Each.d.ts +0 -35
- package/dist/npm/src/plugin/ErrorRenderer.d.ts +0 -6
- package/dist/npm/src/plugin/Form/Array.d.ts +0 -26
- package/dist/npm/src/plugin/Form/Button.d.ts +0 -11
- package/dist/npm/src/plugin/Form/ButtonGroup.d.ts +0 -21
- package/dist/npm/src/plugin/Form/ButtonToolbar.d.ts +0 -26
- package/dist/npm/src/plugin/Form/ChainedSelect.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Checkbox.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Checkboxes.d.ts +0 -23
- package/dist/npm/src/plugin/Form/City.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Color.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Combo.d.ts +0 -37
- package/dist/npm/src/plugin/Form/Container.d.ts +0 -36
- package/dist/npm/src/plugin/Form/Date.d.ts +0 -20
- package/dist/npm/src/plugin/Form/DateRange.d.ts +0 -20
- package/dist/npm/src/plugin/Form/DateTime.d.ts +0 -19
- package/dist/npm/src/plugin/Form/DiffEditor.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Editor.d.ts +0 -39
- package/dist/npm/src/plugin/Form/Email.d.ts +0 -24
- package/dist/npm/src/plugin/Form/FieldSet.d.ts +0 -25
- package/dist/npm/src/plugin/Form/File.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Form.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Formula.d.ts +0 -50
- package/dist/npm/src/plugin/Form/Grid.d.ts +0 -32
- package/dist/npm/src/plugin/Form/Group.d.ts +0 -23
- package/dist/npm/src/plugin/Form/HBox.d.ts +0 -72
- package/dist/npm/src/plugin/Form/Hidden.d.ts +0 -22
- package/dist/npm/src/plugin/Form/Image.d.ts +0 -19
- package/dist/npm/src/plugin/Form/InputGroup.d.ts +0 -33
- package/dist/npm/src/plugin/Form/Item.d.ts +0 -10
- package/dist/npm/src/plugin/Form/List.d.ts +0 -23
- package/dist/npm/src/plugin/Form/Matrix.d.ts +0 -25
- package/dist/npm/src/plugin/Form/NestedSelect.d.ts +0 -72
- package/dist/npm/src/plugin/Form/Number.d.ts +0 -19
- package/dist/npm/src/plugin/Form/Panel.d.ts +0 -23
- package/dist/npm/src/plugin/Form/Password.d.ts +0 -24
- package/dist/npm/src/plugin/Form/Picker.d.ts +0 -25
- package/dist/npm/src/plugin/Form/QRCode.d.ts +0 -19
- package/dist/npm/src/plugin/Form/Radios.d.ts +0 -23
- package/dist/npm/src/plugin/Form/Range.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Rating.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Repeat.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Reset.d.ts +0 -6
- package/dist/npm/src/plugin/Form/RichText.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Select.d.ts +0 -23
- package/dist/npm/src/plugin/Form/Service.d.ts +0 -23
- package/dist/npm/src/plugin/Form/Static.d.ts +0 -22
- package/dist/npm/src/plugin/Form/SubForm.d.ts +0 -62
- package/dist/npm/src/plugin/Form/Submit.d.ts +0 -6
- package/dist/npm/src/plugin/Form/Switch.d.ts +0 -19
- package/dist/npm/src/plugin/Form/Table.d.ts +0 -33
- package/dist/npm/src/plugin/Form/Tabs.d.ts +0 -16
- package/dist/npm/src/plugin/Form/Tag.d.ts +0 -20
- package/dist/npm/src/plugin/Form/Text.d.ts +0 -19
- package/dist/npm/src/plugin/Form/Textarea.d.ts +0 -19
- package/dist/npm/src/plugin/Form/Time.d.ts +0 -18
- package/dist/npm/src/plugin/Form/Tree.d.ts +0 -72
- package/dist/npm/src/plugin/Form/TreeSelect.d.ts +0 -72
- package/dist/npm/src/plugin/Form/Url.d.ts +0 -24
- package/dist/npm/src/plugin/Grid.d.ts +0 -30
- package/dist/npm/src/plugin/HBox.d.ts +0 -32
- package/dist/npm/src/plugin/IFrame.d.ts +0 -28
- package/dist/npm/src/plugin/Image.d.ts +0 -19
- package/dist/npm/src/plugin/Images.d.ts +0 -24
- package/dist/npm/src/plugin/Json.d.ts +0 -24
- package/dist/npm/src/plugin/Link.d.ts +0 -20
- package/dist/npm/src/plugin/List.d.ts +0 -53
- package/dist/npm/src/plugin/ListItem.d.ts +0 -16
- package/dist/npm/src/plugin/Mapping.d.ts +0 -35
- package/dist/npm/src/plugin/Nav.d.ts +0 -161
- package/dist/npm/src/plugin/Operation.d.ts +0 -25
- package/dist/npm/src/plugin/Page.d.ts +0 -26
- package/dist/npm/src/plugin/Panel.d.ts +0 -16
- package/dist/npm/src/plugin/Plain.d.ts +0 -18
- package/dist/npm/src/plugin/Progress.d.ts +0 -19
- package/dist/npm/src/plugin/QRCode.d.ts +0 -19
- package/dist/npm/src/plugin/Reset.d.ts +0 -10
- package/dist/npm/src/plugin/Service.d.ts +0 -24
- package/dist/npm/src/plugin/Status.d.ts +0 -19
- package/dist/npm/src/plugin/Submit.d.ts +0 -10
- package/dist/npm/src/plugin/Switch.d.ts +0 -21
- package/dist/npm/src/plugin/Table.d.ts +0 -18
- package/dist/npm/src/plugin/TableCell.d.ts +0 -8
- package/dist/npm/src/plugin/Tabs.d.ts +0 -43
- package/dist/npm/src/plugin/Tasks.d.ts +0 -41
- package/dist/npm/src/plugin/Time.d.ts +0 -10
- package/dist/npm/src/plugin/Tpl.d.ts +0 -16
- package/dist/npm/src/plugin/Unknown.d.ts +0 -5
- package/dist/npm/src/plugin/Video.d.ts +0 -24
- package/dist/npm/src/plugin/Wizard.d.ts +0 -40
- package/dist/npm/src/plugin/Wrapper.d.ts +0 -20
- package/dist/npm/src/plugin.d.ts +0 -486
- package/dist/npm/src/store/editor.d.ts +0 -731
- package/dist/npm/src/store/node.d.ts +0 -208
- package/dist/npm/src/util.d.ts +0 -45
- package/dist/plugin/DiffEditor.d.ts +0 -19
- package/dist/plugin/Form/AnchorNav.d.ts +0 -17
- package/dist/plugin/Form/Array.d.ts +0 -27
- package/dist/plugin/Form/Button.d.ts +0 -11
- package/dist/plugin/Form/ButtonGroup.d.ts +0 -22
- package/dist/plugin/Form/City.d.ts +0 -19
- package/dist/plugin/Form/Color.d.ts +0 -39
- package/dist/plugin/Form/Container.d.ts +0 -37
- package/dist/plugin/Form/Date.d.ts +0 -20
- package/dist/plugin/Form/DateRange.d.ts +0 -20
- package/dist/plugin/Form/DateTime.d.ts +0 -19
- package/dist/plugin/Form/Email.d.ts +0 -25
- package/dist/plugin/Form/File.d.ts +0 -19
- package/dist/plugin/Form/Grid.d.ts +0 -32
- package/dist/plugin/Form/HBox.d.ts +0 -73
- package/dist/plugin/Form/Image.d.ts +0 -20
- package/dist/plugin/Form/List.d.ts +0 -24
- package/dist/plugin/Form/Location.d.ts +0 -48
- package/dist/plugin/Form/Matrix.d.ts +0 -26
- package/dist/plugin/Form/Month.d.ts +0 -16
- package/dist/plugin/Form/MonthRange.d.ts +0 -20
- package/dist/plugin/Form/Number.d.ts +0 -20
- package/dist/plugin/Form/Panel.d.ts +0 -24
- package/dist/plugin/Form/Password.d.ts +0 -25
- package/dist/plugin/Form/QRCode.d.ts +0 -20
- package/dist/plugin/Form/Range.d.ts +0 -19
- package/dist/plugin/Form/Rating.d.ts +0 -19
- package/dist/plugin/Form/Repeat.d.ts +0 -19
- package/dist/plugin/Form/Reset.d.ts +0 -7
- package/dist/plugin/Form/RichText.d.ts +0 -19
- package/dist/plugin/Form/Service.d.ts +0 -24
- package/dist/plugin/Form/SubForm.d.ts +0 -64
- package/dist/plugin/Form/Submit.d.ts +0 -6
- package/dist/plugin/Form/Table.d.ts +0 -34
- package/dist/plugin/Form/Tabs.d.ts +0 -17
- package/dist/plugin/Form/Tag.d.ts +0 -21
- package/dist/plugin/Form/Text.d.ts +0 -20
- package/dist/plugin/Form/Time.d.ts +0 -19
- package/dist/plugin/Form/Tree.d.ts +0 -73
- package/dist/plugin/Form/Url.d.ts +0 -25
- package/dist/plugin/Form/Year.d.ts +0 -16
- package/dist/plugin/Switch.d.ts +0 -21
- package/dist/src/compat.d.ts +0 -30
- package/dist/src/component/AvailableRenderersPanel.d.ts +0 -8
- package/dist/src/component/Breadcrumb.d.ts +0 -12
- package/dist/src/component/ClassNameControl.d.ts +0 -31
- package/dist/src/component/CodeEditor.d.ts +0 -37
- package/dist/src/component/CodeEditorPanel.d.ts +0 -12
- package/dist/src/component/CommonConfigWrapper.d.ts +0 -6
- package/dist/src/component/ContainerWrapper.d.ts +0 -12
- package/dist/src/component/Editor.d.ts +0 -60
- package/dist/src/component/ErrorRenderer.d.ts +0 -4
- package/dist/src/component/HighlightBox.d.ts +0 -22
- package/dist/src/component/IFrameBridge.d.ts +0 -32
- package/dist/src/component/IFramePreview.d.ts +0 -37
- package/dist/src/component/InsertSubRendererPanel.d.ts +0 -11
- package/dist/src/component/MiniEditor.d.ts +0 -9
- package/dist/src/component/NodeWrapper.d.ts +0 -20
- package/dist/src/component/Outline.d.ts +0 -12
- package/dist/src/component/Panels.d.ts +0 -17
- package/dist/src/component/PopOverForm.d.ts +0 -22
- package/dist/src/component/Preview.d.ts +0 -62
- package/dist/src/component/RegionHLBox.d.ts +0 -27
- package/dist/src/component/RegionWrapper.d.ts +0 -181
- package/dist/src/component/RendererThumb.d.ts +0 -22
- package/dist/src/component/ScaffoldModal.d.ts +0 -24
- package/dist/src/component/SubEditor.d.ts +0 -67
- package/dist/src/component/TableViewEditor.d.ts +0 -79
- package/dist/src/component/TargetNamePanel.d.ts +0 -7
- package/dist/src/component/VRenderer.d.ts +0 -169
- package/dist/src/component/schemaTpl.d.ts +0 -4
- package/dist/src/dnd/default.d.ts +0 -47
- package/dist/src/dnd/index.d.ts +0 -119
- package/dist/src/dnd/interface.d.ts +0 -14
- package/dist/src/dnd/position-h.d.ts +0 -7
- package/dist/src/env.d.ts +0 -5
- package/dist/src/icons/index.d.ts +0 -2
- package/dist/src/index.d.ts +0 -151
- package/dist/src/mocker.d.ts +0 -1
- package/dist/src/plugin/Action.d.ts +0 -6
- package/dist/src/plugin/Alert.d.ts +0 -19
- package/dist/src/plugin/AnchorNav.d.ts +0 -66
- package/dist/src/plugin/Audio.d.ts +0 -21
- package/dist/src/plugin/AvailableRenderers.d.ts +0 -8
- package/dist/src/plugin/Avatar.d.ts +0 -17
- package/dist/src/plugin/BasicToolbar.d.ts +0 -11
- package/dist/src/plugin/Breadcrumb.d.ts +0 -25
- package/dist/src/plugin/Button.d.ts +0 -24
- package/dist/src/plugin/ButtonGroup.d.ts +0 -59
- package/dist/src/plugin/ButtonToolbar.d.ts +0 -35
- package/dist/src/plugin/CRUD.d.ts +0 -144
- package/dist/src/plugin/Card.d.ts +0 -55
- package/dist/src/plugin/Cards.d.ts +0 -69
- package/dist/src/plugin/Carousel.d.ts +0 -38
- package/dist/src/plugin/Chart.d.ts +0 -46
- package/dist/src/plugin/Code.d.ts +0 -9
- package/dist/src/plugin/CodeView.d.ts +0 -18
- package/dist/src/plugin/Collapse.d.ts +0 -21
- package/dist/src/plugin/Container.d.ts +0 -20
- package/dist/src/plugin/Custom.d.ts +0 -23
- package/dist/src/plugin/DataDebug.d.ts +0 -20
- package/dist/src/plugin/Date.d.ts +0 -19
- package/dist/src/plugin/Datetime.d.ts +0 -13
- package/dist/src/plugin/Dialog.d.ts +0 -20
- package/dist/src/plugin/DiffEditor.d.ts +0 -19
- package/dist/src/plugin/Divider.d.ts +0 -14
- package/dist/src/plugin/Drawer.d.ts +0 -17
- package/dist/src/plugin/DropDownButton.d.ts +0 -41
- package/dist/src/plugin/Each.d.ts +0 -35
- package/dist/src/plugin/ErrorRenderer.d.ts +0 -6
- package/dist/src/plugin/Flex.d.ts +0 -28
- package/dist/src/plugin/Form/Array.d.ts +0 -26
- package/dist/src/plugin/Form/Button.d.ts +0 -11
- package/dist/src/plugin/Form/ButtonGroup.d.ts +0 -21
- package/dist/src/plugin/Form/ButtonGroupSelect.d.ts +0 -22
- package/dist/src/plugin/Form/ButtonToolbar.d.ts +0 -27
- package/dist/src/plugin/Form/ChainedSelect.d.ts +0 -19
- package/dist/src/plugin/Form/Checkbox.d.ts +0 -19
- package/dist/src/plugin/Form/Checkboxes.d.ts +0 -24
- package/dist/src/plugin/Form/City.d.ts +0 -18
- package/dist/src/plugin/Form/Color.d.ts +0 -39
- package/dist/src/plugin/Form/Combo.d.ts +0 -38
- package/dist/src/plugin/Form/ConditionBuilder.d.ts +0 -43
- package/dist/src/plugin/Form/Container.d.ts +0 -36
- package/dist/src/plugin/Form/Control.d.ts +0 -21
- package/dist/src/plugin/Form/Date.d.ts +0 -20
- package/dist/src/plugin/Form/DateRange.d.ts +0 -20
- package/dist/src/plugin/Form/DateTime.d.ts +0 -19
- package/dist/src/plugin/Form/DiffEditor.d.ts +0 -19
- package/dist/src/plugin/Form/Editor.d.ts +0 -40
- package/dist/src/plugin/Form/Email.d.ts +0 -24
- package/dist/src/plugin/Form/FieldSet.d.ts +0 -26
- package/dist/src/plugin/Form/File.d.ts +0 -18
- package/dist/src/plugin/Form/Form.d.ts +0 -18
- package/dist/src/plugin/Form/Formula.d.ts +0 -51
- package/dist/src/plugin/Form/Grid.d.ts +0 -32
- package/dist/src/plugin/Form/Group.d.ts +0 -25
- package/dist/src/plugin/Form/HBox.d.ts +0 -72
- package/dist/src/plugin/Form/Hidden.d.ts +0 -24
- package/dist/src/plugin/Form/Image.d.ts +0 -19
- package/dist/src/plugin/Form/InputArray.d.ts +0 -27
- package/dist/src/plugin/Form/InputCity.d.ts +0 -19
- package/dist/src/plugin/Form/InputDate.d.ts +0 -20
- package/dist/src/plugin/Form/InputDateRange.d.ts +0 -20
- package/dist/src/plugin/Form/InputDateTime.d.ts +0 -19
- package/dist/src/plugin/Form/InputDateTimeRange.d.ts +0 -20
- package/dist/src/plugin/Form/InputEmail.d.ts +0 -25
- package/dist/src/plugin/Form/InputFile.d.ts +0 -19
- package/dist/src/plugin/Form/InputGroup.d.ts +0 -34
- package/dist/src/plugin/Form/InputImage.d.ts +0 -20
- package/dist/src/plugin/Form/InputMonth.d.ts +0 -16
- package/dist/src/plugin/Form/InputMonthRange.d.ts +0 -20
- package/dist/src/plugin/Form/InputNumber.d.ts +0 -20
- package/dist/src/plugin/Form/InputPassword.d.ts +0 -25
- package/dist/src/plugin/Form/InputQuarter.d.ts +0 -16
- package/dist/src/plugin/Form/InputQuarterRange.d.ts +0 -20
- package/dist/src/plugin/Form/InputRange.d.ts +0 -19
- package/dist/src/plugin/Form/InputRating.d.ts +0 -19
- package/dist/src/plugin/Form/InputRepeat.d.ts +0 -19
- package/dist/src/plugin/Form/InputRichText.d.ts +0 -19
- package/dist/src/plugin/Form/InputSubForm.d.ts +0 -64
- package/dist/src/plugin/Form/InputTable.d.ts +0 -40
- package/dist/src/plugin/Form/InputTag.d.ts +0 -21
- package/dist/src/plugin/Form/InputText.d.ts +0 -20
- package/dist/src/plugin/Form/InputTime.d.ts +0 -19
- package/dist/src/plugin/Form/InputTree.d.ts +0 -73
- package/dist/src/plugin/Form/InputURL.d.ts +0 -25
- package/dist/src/plugin/Form/InputYear.d.ts +0 -16
- package/dist/src/plugin/Form/Item.d.ts +0 -10
- package/dist/src/plugin/Form/List.d.ts +0 -23
- package/dist/src/plugin/Form/ListSelect.d.ts +0 -24
- package/dist/src/plugin/Form/LocationPicker.d.ts +0 -48
- package/dist/src/plugin/Form/Matrix.d.ts +0 -25
- package/dist/src/plugin/Form/MatrixCheckboxes.d.ts +0 -26
- package/dist/src/plugin/Form/NestedSelect.d.ts +0 -73
- package/dist/src/plugin/Form/Number.d.ts +0 -19
- package/dist/src/plugin/Form/Panel.d.ts +0 -23
- package/dist/src/plugin/Form/Password.d.ts +0 -24
- package/dist/src/plugin/Form/Picker.d.ts +0 -26
- package/dist/src/plugin/Form/QRCode.d.ts +0 -19
- package/dist/src/plugin/Form/Radios.d.ts +0 -24
- package/dist/src/plugin/Form/Range.d.ts +0 -18
- package/dist/src/plugin/Form/Rating.d.ts +0 -18
- package/dist/src/plugin/Form/Repeat.d.ts +0 -18
- package/dist/src/plugin/Form/Reset.d.ts +0 -7
- package/dist/src/plugin/Form/RichText.d.ts +0 -18
- package/dist/src/plugin/Form/Select.d.ts +0 -24
- package/dist/src/plugin/Form/Service.d.ts +0 -23
- package/dist/src/plugin/Form/Static.d.ts +0 -23
- package/dist/src/plugin/Form/SubForm.d.ts +0 -62
- package/dist/src/plugin/Form/Submit.d.ts +0 -6
- package/dist/src/plugin/Form/Switch.d.ts +0 -20
- package/dist/src/plugin/Form/Table.d.ts +0 -33
- package/dist/src/plugin/Form/Tabs.d.ts +0 -16
- package/dist/src/plugin/Form/TabsTransfer.d.ts +0 -74
- package/dist/src/plugin/Form/Tag.d.ts +0 -20
- package/dist/src/plugin/Form/Text.d.ts +0 -19
- package/dist/src/plugin/Form/Textarea.d.ts +0 -20
- package/dist/src/plugin/Form/Time.d.ts +0 -18
- package/dist/src/plugin/Form/Transfer.d.ts +0 -68
- package/dist/src/plugin/Form/Tree.d.ts +0 -72
- package/dist/src/plugin/Form/TreeSelect.d.ts +0 -73
- package/dist/src/plugin/Form/UUID.d.ts +0 -23
- package/dist/src/plugin/Form/Url.d.ts +0 -24
- package/dist/src/plugin/Grid.d.ts +0 -49
- package/dist/src/plugin/HBox.d.ts +0 -44
- package/dist/src/plugin/IFrame.d.ts +0 -28
- package/dist/src/plugin/Image.d.ts +0 -19
- package/dist/src/plugin/Images.d.ts +0 -24
- package/dist/src/plugin/Json.d.ts +0 -24
- package/dist/src/plugin/Link.d.ts +0 -20
- package/dist/src/plugin/List.d.ts +0 -53
- package/dist/src/plugin/ListItem.d.ts +0 -16
- package/dist/src/plugin/Log.d.ts +0 -16
- package/dist/src/plugin/Mapping.d.ts +0 -35
- package/dist/src/plugin/Markdown.d.ts +0 -19
- package/dist/src/plugin/Name.d.ts +0 -8
- package/dist/src/plugin/Nav.d.ts +0 -161
- package/dist/src/plugin/Operation.d.ts +0 -25
- package/dist/src/plugin/Page.d.ts +0 -27
- package/dist/src/plugin/Panel.d.ts +0 -17
- package/dist/src/plugin/Plain.d.ts +0 -19
- package/dist/src/plugin/Progress.d.ts +0 -19
- package/dist/src/plugin/Property.d.ts +0 -26
- package/dist/src/plugin/QRCode.d.ts +0 -19
- package/dist/src/plugin/Reset.d.ts +0 -11
- package/dist/src/plugin/Service.d.ts +0 -24
- package/dist/src/plugin/Sparkline.d.ts +0 -28
- package/dist/src/plugin/Status.d.ts +0 -19
- package/dist/src/plugin/Steps.d.ts +0 -43
- package/dist/src/plugin/Submit.d.ts +0 -10
- package/dist/src/plugin/Switch.d.ts +0 -21
- package/dist/src/plugin/Table.d.ts +0 -19
- package/dist/src/plugin/TableCell.d.ts +0 -9
- package/dist/src/plugin/TableView.d.ts +0 -132
- package/dist/src/plugin/Tabs.d.ts +0 -43
- package/dist/src/plugin/Tasks.d.ts +0 -41
- package/dist/src/plugin/Time.d.ts +0 -13
- package/dist/src/plugin/Tpl.d.ts +0 -18
- package/dist/src/plugin/Unknown.d.ts +0 -5
- package/dist/src/plugin/Video.d.ts +0 -24
- package/dist/src/plugin/WebComponent.d.ts +0 -47
- package/dist/src/plugin/Wizard.d.ts +0 -40
- package/dist/src/plugin/Wrapper.d.ts +0 -20
- package/dist/src/plugin.d.ts +0 -560
- package/dist/src/store/editor.d.ts +0 -891
- package/dist/src/store/node.d.ts +0 -247
- package/dist/src/util.d.ts +0 -62
- package/rollup.config.js +0 -24
@@ -1,47 +0,0 @@
|
|
1
|
-
import { EditorDNDManager } from '.';
|
2
|
-
import { EditorNodeType } from '../store/node';
|
3
|
-
import { DNDModeInterface } from './interface';
|
4
|
-
export declare class DefaultDNDMode implements DNDModeInterface {
|
5
|
-
readonly dnd: EditorDNDManager;
|
6
|
-
readonly region: EditorNodeType;
|
7
|
-
readonly constainer: HTMLElement;
|
8
|
-
dropBeforeId?: string;
|
9
|
-
constructor(dnd: EditorDNDManager, region: EditorNodeType);
|
10
|
-
/**
|
11
|
-
* 记录上次交换时的鼠标位置。
|
12
|
-
*/
|
13
|
-
exchangeX: number;
|
14
|
-
exchangeY: number;
|
15
|
-
/**
|
16
|
-
* 首次拖入,把 ghost 插入进来。让用户有个直观感受。
|
17
|
-
* @param e
|
18
|
-
* @param ghost
|
19
|
-
*/
|
20
|
-
enter(e: DragEvent, ghost: HTMLElement): void;
|
21
|
-
/**
|
22
|
-
* 拖出去了,就移除 ghost
|
23
|
-
* @param e
|
24
|
-
* @param ghost
|
25
|
-
*/
|
26
|
-
leave(e: DragEvent, ghost: HTMLElement): void;
|
27
|
-
over(e: DragEvent, ghost: HTMLElement): void;
|
28
|
-
/**
|
29
|
-
* 返回个相对位置,如果没有数据会插入到结尾。
|
30
|
-
*/
|
31
|
-
getDropBeforeId(): string | undefined;
|
32
|
-
/**
|
33
|
-
* 获取当时拖动到了哪个节点上面。
|
34
|
-
*/
|
35
|
-
getTarget(e: DragEvent): HTMLElement | null;
|
36
|
-
/**
|
37
|
-
* 获取区域的直接孩子,因为有时候会在孩子的孩子里面。
|
38
|
-
* 但是插入 ghost 的相对位置,insertBefore 只能是当前孩子。
|
39
|
-
* @param dom
|
40
|
-
* @param descend
|
41
|
-
*/
|
42
|
-
getChild(dom: HTMLElement, descend: HTMLElement): HTMLElement;
|
43
|
-
/**
|
44
|
-
* 好像没啥要弄的。
|
45
|
-
*/
|
46
|
-
dispose(): void;
|
47
|
-
}
|
@@ -1,119 +0,0 @@
|
|
1
|
-
import { EditorManager } from '../manager';
|
2
|
-
import { EditorStoreType } from '../store/editor';
|
3
|
-
import { EditorNodeType } from '../store/node';
|
4
|
-
import { DNDModeInterface } from './interface';
|
5
|
-
export declare class EditorDNDManager {
|
6
|
-
readonly manager: EditorManager;
|
7
|
-
readonly store: EditorStoreType;
|
8
|
-
toDispose: Array<() => void>;
|
9
|
-
/**
|
10
|
-
* 这个会随着 region 的切换,每次动态创建。
|
11
|
-
*/
|
12
|
-
dndMode?: DNDModeInterface;
|
13
|
-
/**
|
14
|
-
* 拖拽对象 dom。
|
15
|
-
*/
|
16
|
-
readonly dragGhost: HTMLElement;
|
17
|
-
/**
|
18
|
-
* 统计dragEnter 的次数,因为这个方法会调用很多次,
|
19
|
-
* 有时候只想第一次进来的时候处理逻辑
|
20
|
-
*/
|
21
|
-
dragEnterCount: number;
|
22
|
-
/**
|
23
|
-
* 当前被拖动的渲染器元素。注意这里不一定是 e.target。
|
24
|
-
*/
|
25
|
-
dragElement?: HTMLElement;
|
26
|
-
/**
|
27
|
-
* 这个是跟拖动中随鼠标的那个那个元素。
|
28
|
-
*/
|
29
|
-
dragImage?: HTMLElement;
|
30
|
-
/**
|
31
|
-
* 记录上次鼠标位置信息,协助拖拽计算的。
|
32
|
-
*/
|
33
|
-
lastX: number;
|
34
|
-
lastY: number;
|
35
|
-
lastMoveAt: number;
|
36
|
-
constructor(manager: EditorManager, store: EditorStoreType);
|
37
|
-
/**
|
38
|
-
* 创建拖拽跟随元素,如果用默认太大了,而且有时候不统一。
|
39
|
-
* @param id
|
40
|
-
* @param node
|
41
|
-
*/
|
42
|
-
createDragImage(id: string, node: EditorNodeType): HTMLDivElement;
|
43
|
-
/**
|
44
|
-
* 销毁拖拽跟随元素
|
45
|
-
*/
|
46
|
-
disposeDragImage(): void;
|
47
|
-
/**
|
48
|
-
* 切换到目标区域。
|
49
|
-
* @param e
|
50
|
-
* @param id
|
51
|
-
* @param region
|
52
|
-
*/
|
53
|
-
switchToRegion(e: DragEvent, id: string, region: string): boolean;
|
54
|
-
/**
|
55
|
-
* 根据区域的配置,创建拖拽模式实例。
|
56
|
-
* 比如 table 列区域的拖拽就是放根线表示拖入的位置。
|
57
|
-
* @param region
|
58
|
-
*/
|
59
|
-
makeDNDModeInstance(region: EditorNodeType): void;
|
60
|
-
/**
|
61
|
-
* 拖拽入口,一个是拖拽按钮 toolbar,一个是 outline 里面的导航项
|
62
|
-
* @param id
|
63
|
-
* @param e
|
64
|
-
*/
|
65
|
-
startDrag(id: string, e: DragEvent): void;
|
66
|
-
/**
|
67
|
-
* 有东西拖进来了。目前只支持内部面边里面的可用组件,后续还会支持其他类型。
|
68
|
-
* @param e
|
69
|
-
*/
|
70
|
-
dragEnter(e: DragEvent): void;
|
71
|
-
/**
|
72
|
-
* 拖入后的每一次移动,除了切换区域的逻辑外都丢给 DNDMode 那个去处理了。
|
73
|
-
* @param e
|
74
|
-
*/
|
75
|
-
dragOver(e: DragEvent): void;
|
76
|
-
/**
|
77
|
-
* 拖拽释放的逻辑。
|
78
|
-
* @param e
|
79
|
-
*/
|
80
|
-
drop(e: DragEvent): Promise<void>;
|
81
|
-
/**
|
82
|
-
* 拖拽离开时调用。
|
83
|
-
* @param e
|
84
|
-
*/
|
85
|
-
dragLeave(e: DragEvent): void;
|
86
|
-
/**
|
87
|
-
* 拖拽结束了。
|
88
|
-
* @param e
|
89
|
-
*/
|
90
|
-
dragEnd(e: DragEvent): void;
|
91
|
-
/**
|
92
|
-
* 自动给正在拖拽的元素加 is-draging 之类的 css。
|
93
|
-
*/
|
94
|
-
updateDragElements(dragId: string): void;
|
95
|
-
/**
|
96
|
-
* 自动给拖入的区域添加 is-dragenter 之类的 css。
|
97
|
-
*/
|
98
|
-
updateDropRegion(value: {
|
99
|
-
id: string;
|
100
|
-
region: string;
|
101
|
-
}, oldValue?: {
|
102
|
-
id: string;
|
103
|
-
region: string;
|
104
|
-
}): void;
|
105
|
-
/**
|
106
|
-
* 自动给即将激活的区域添加高亮。
|
107
|
-
*/
|
108
|
-
updatePlanDropRegion(value: {
|
109
|
-
id: string;
|
110
|
-
region: string;
|
111
|
-
}, oldValue?: {
|
112
|
-
id: string;
|
113
|
-
region: string;
|
114
|
-
}): void;
|
115
|
-
/**
|
116
|
-
* 销毁函数。
|
117
|
-
*/
|
118
|
-
dispose(): void;
|
119
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { EditorNodeType } from '../store/node';
|
2
|
-
import { EditorDNDManager } from './index';
|
3
|
-
/**
|
4
|
-
* 每种拖拽模式都需要实现这些约定。
|
5
|
-
*/
|
6
|
-
export interface DNDModeInterface {
|
7
|
-
readonly dnd: EditorDNDManager;
|
8
|
-
readonly region: EditorNodeType;
|
9
|
-
enter: (e: DragEvent, ghost: HTMLElement) => void;
|
10
|
-
leave: (e: DragEvent, ghost: HTMLElement) => void;
|
11
|
-
over: (e: DragEvent, ghost: HTMLElement) => void;
|
12
|
-
getDropBeforeId: () => string | undefined;
|
13
|
-
dispose: () => void;
|
14
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { DefaultDNDMode } from './default';
|
2
|
-
import { DNDModeInterface } from './interface';
|
3
|
-
export declare class PositionHDNDMode extends DefaultDNDMode implements DNDModeInterface {
|
4
|
-
enter(e: DragEvent, ghost: HTMLElement): void;
|
5
|
-
leave(e: DragEvent, ghost: HTMLElement): void;
|
6
|
-
over(e: DragEvent, ghost: HTMLElement): void;
|
7
|
-
}
|
package/dist/npm/src/env.d.ts
DELETED
package/dist/npm/src/index.d.ts
DELETED
@@ -1,126 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @file 总入口
|
3
|
-
*/
|
4
|
-
import Editor from './component/Editor';
|
5
|
-
import './component/ClassNameControl';
|
6
|
-
import './plugin/AvailableRenderers';
|
7
|
-
import './plugin/Code';
|
8
|
-
import './plugin/ErrorRenderer';
|
9
|
-
import './plugin/BasicToolbar';
|
10
|
-
import './plugin/Unknown';
|
11
|
-
import './plugin/Form/Array';
|
12
|
-
import './plugin/Form/Button';
|
13
|
-
import './plugin/Form/ButtonGroup';
|
14
|
-
import './plugin/Form/ButtonToolbar';
|
15
|
-
import './plugin/Form/ChainedSelect';
|
16
|
-
import './plugin/Form/Checkbox';
|
17
|
-
import './plugin/Form/Checkboxes';
|
18
|
-
import './plugin/Form/City';
|
19
|
-
import './plugin/Form/Color';
|
20
|
-
import './plugin/Form/Combo';
|
21
|
-
import './plugin/Form/Container';
|
22
|
-
import './plugin/Form/Date';
|
23
|
-
import './plugin/Form/DateRange';
|
24
|
-
import './plugin/Form/DateTime';
|
25
|
-
import './plugin/Form/DiffEditor';
|
26
|
-
import './plugin/Form/Editor';
|
27
|
-
import './plugin/Form/Email';
|
28
|
-
import './plugin/Form/FieldSet';
|
29
|
-
import './plugin/Form/File';
|
30
|
-
import './plugin/Form/Form';
|
31
|
-
import './plugin/Form/Formula';
|
32
|
-
import './plugin/Form/Grid';
|
33
|
-
import './plugin/Form/Group';
|
34
|
-
import './plugin/Form/HBox';
|
35
|
-
import './plugin/Form/Hidden';
|
36
|
-
import './plugin/Form/Image';
|
37
|
-
import './plugin/Form/InputGroup';
|
38
|
-
import './plugin/Form/Item';
|
39
|
-
import './plugin/Form/List';
|
40
|
-
import './plugin/Form/Matrix';
|
41
|
-
import './plugin/Form/NestedSelect';
|
42
|
-
import './plugin/Form/Number';
|
43
|
-
import './plugin/Form/Panel';
|
44
|
-
import './plugin/Form/Password';
|
45
|
-
import './plugin/Form/Picker';
|
46
|
-
import './plugin/Form/QRCode';
|
47
|
-
import './plugin/Form/Radios';
|
48
|
-
import './plugin/Form/Range';
|
49
|
-
import './plugin/Form/Rating';
|
50
|
-
import './plugin/Form/Repeat';
|
51
|
-
import './plugin/Form/Reset';
|
52
|
-
import './plugin/Form/RichText';
|
53
|
-
import './plugin/Form/Select';
|
54
|
-
import './plugin/Form/Service';
|
55
|
-
import './plugin/Form/Static';
|
56
|
-
import './plugin/Form/SubForm';
|
57
|
-
import './plugin/Form/Submit';
|
58
|
-
import './plugin/Form/Switch';
|
59
|
-
import './plugin/Form/Table';
|
60
|
-
import './plugin/Form/Tabs';
|
61
|
-
import './plugin/Form/Tag';
|
62
|
-
import './plugin/Form/Text';
|
63
|
-
import './plugin/Form/Textarea';
|
64
|
-
import './plugin/Form/Time';
|
65
|
-
import './plugin/Form/Tree';
|
66
|
-
import './plugin/Form/TreeSelect';
|
67
|
-
import './plugin/Form/Url';
|
68
|
-
import './plugin/Action';
|
69
|
-
import './plugin/Alert';
|
70
|
-
import './plugin/Audio';
|
71
|
-
import './plugin/Button';
|
72
|
-
import './plugin/ButtonGroup';
|
73
|
-
import './plugin/ButtonToolbar';
|
74
|
-
import './plugin/Card';
|
75
|
-
import './plugin/Cards';
|
76
|
-
import './plugin/Carousel';
|
77
|
-
import './plugin/Chart';
|
78
|
-
import './plugin/Collapse';
|
79
|
-
import './plugin/Container';
|
80
|
-
import './plugin/CRUD';
|
81
|
-
import './plugin/Date';
|
82
|
-
import './plugin/Datetime';
|
83
|
-
import './plugin/Dialog';
|
84
|
-
import './plugin/DiffEditor';
|
85
|
-
import './plugin/Divider';
|
86
|
-
import './plugin/Drawer';
|
87
|
-
import './plugin/DropDownButton';
|
88
|
-
import './plugin/Each';
|
89
|
-
import './plugin/Grid';
|
90
|
-
import './plugin/HBox';
|
91
|
-
import './plugin/IFrame';
|
92
|
-
import './plugin/Image';
|
93
|
-
import './plugin/Images';
|
94
|
-
import './plugin/Json';
|
95
|
-
import './plugin/Link';
|
96
|
-
import './plugin/List';
|
97
|
-
import './plugin/ListItem';
|
98
|
-
import './plugin/Mapping';
|
99
|
-
import './plugin/Nav';
|
100
|
-
import './plugin/Operation';
|
101
|
-
import './plugin/Page';
|
102
|
-
import './plugin/Panel';
|
103
|
-
import './plugin/Plain';
|
104
|
-
import './plugin/Progress';
|
105
|
-
import './plugin/QRCode';
|
106
|
-
import './plugin/Reset';
|
107
|
-
import './plugin/Service';
|
108
|
-
import './plugin/Status';
|
109
|
-
import './plugin/Submit';
|
110
|
-
import './plugin/Switch';
|
111
|
-
import './plugin/Table';
|
112
|
-
import './plugin/TableCell';
|
113
|
-
import './plugin/Tabs';
|
114
|
-
import './plugin/Tasks';
|
115
|
-
import './plugin/Time';
|
116
|
-
import './plugin/Tpl';
|
117
|
-
import './plugin/Video';
|
118
|
-
import './plugin/Wizard';
|
119
|
-
import './plugin/Wrapper';
|
120
|
-
import * as utils from './util';
|
121
|
-
import { getSchemaTpl } from './component/schemaTpl';
|
122
|
-
import { registerEditorPlugin } from './manager';
|
123
|
-
import { BasePlugin } from './plugin';
|
124
|
-
import { BasicEditor, RendererEditor } from './compat';
|
125
|
-
import MiniEditor from './component/MiniEditor';
|
126
|
-
export { Editor, MiniEditor, utils, BasePlugin, getSchemaTpl, registerEditorPlugin, RendererEditor, BasicEditor };
|
package/dist/npm/src/mocker.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare function mockValue(schema: any): string;
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { BaseEventContext, BasePlugin, BasicPanelItem } from '../plugin';
|
2
|
-
export declare class ActionPlugin extends BasePlugin {
|
3
|
-
panelTitle: string;
|
4
|
-
panelControlsCreator: (context: BaseEventContext) => any[];
|
5
|
-
buildEditorPanel(context: BaseEventContext, panels: Array<BasicPanelItem>): void;
|
6
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { SchemaObject } from '@fex/amis';
|
2
|
-
import { BasePlugin } from '../plugin';
|
3
|
-
export declare class PagePlugin extends BasePlugin {
|
4
|
-
rendererName: string;
|
5
|
-
$schema: string;
|
6
|
-
name: string;
|
7
|
-
description: string;
|
8
|
-
docLink: string;
|
9
|
-
icon: string;
|
10
|
-
scaffold: SchemaObject;
|
11
|
-
previewSchema: any;
|
12
|
-
regions: {
|
13
|
-
key: string;
|
14
|
-
label: string;
|
15
|
-
}[];
|
16
|
-
panelTitle: string;
|
17
|
-
panelControls: any;
|
18
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
import { BaseEventContext, BasePlugin } from '../plugin';
|
2
|
-
export declare class AudioPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
description: string;
|
7
|
-
tags: never[];
|
8
|
-
icon: string;
|
9
|
-
scaffold: {
|
10
|
-
type: string;
|
11
|
-
autoPlay: boolean;
|
12
|
-
src: string;
|
13
|
-
};
|
14
|
-
previewSchema: {
|
15
|
-
type: string;
|
16
|
-
autoPlay: boolean;
|
17
|
-
src: string;
|
18
|
-
};
|
19
|
-
panelTitle: string;
|
20
|
-
panelControlsCreator: (context: BaseEventContext) => any[];
|
21
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { BasePlugin, BaseEventContext, BasicPanelItem } from '../plugin';
|
2
|
-
/**
|
3
|
-
* 添加源码编辑功能
|
4
|
-
*/
|
5
|
-
export declare class AvailableRenderersPlugin extends BasePlugin {
|
6
|
-
order: number;
|
7
|
-
buildEditorPanel(context: BaseEventContext, panels: Array<BasicPanelItem>): void;
|
8
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { BasePlugin, BaseEventContext, BasicToolbarItem, ContextMenuItem, ContextMenuEventContext } from '../plugin';
|
2
|
-
/**
|
3
|
-
* 用来添加一些基本的工具栏按钮。
|
4
|
-
*/
|
5
|
-
export declare class BasicToolbarPlugin extends BasePlugin {
|
6
|
-
order: number;
|
7
|
-
buildEditorToolbar({ id, schema }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
|
8
|
-
buildEditorContextMenu({ id, schema, region }: ContextMenuEventContext, menus: Array<ContextMenuItem>): void;
|
9
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import { SchemaObject } from '@fex/amis';
|
2
|
-
import { BaseEventContext, BasePlugin, BasicRendererInfo, RendererInfoResolveEventContext } from '../plugin';
|
3
|
-
export declare class ButtonPlugin extends BasePlugin {
|
4
|
-
rendererName: string;
|
5
|
-
$schema: string;
|
6
|
-
name: string;
|
7
|
-
description: string;
|
8
|
-
docLink: string;
|
9
|
-
tags: string[];
|
10
|
-
icon: string;
|
11
|
-
scaffold: SchemaObject;
|
12
|
-
previewSchema: any;
|
13
|
-
panelTitle: string;
|
14
|
-
panelControlsCreator: (context: BaseEventContext) => any[];
|
15
|
-
/**
|
16
|
-
* 如果禁用了没办法编辑
|
17
|
-
*/
|
18
|
-
filterProps(props: any): any;
|
19
|
-
/**
|
20
|
-
* 如果配置里面有 rendererName 自动返回渲染器信息。
|
21
|
-
* @param renderer
|
22
|
-
*/
|
23
|
-
getRendererInfo({ renderer, schema }: RendererInfoResolveEventContext): BasicRendererInfo | void;
|
24
|
-
}
|
@@ -1,59 +0,0 @@
|
|
1
|
-
import { BasePlugin, RegionConfig } from '../plugin';
|
2
|
-
export declare class ButtonGroupPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
description: string;
|
7
|
-
tags: string[];
|
8
|
-
icon: string;
|
9
|
-
docLink: string;
|
10
|
-
scaffold: {
|
11
|
-
type: string;
|
12
|
-
buttons: {
|
13
|
-
type: string;
|
14
|
-
label: string;
|
15
|
-
actionType: string;
|
16
|
-
dialog: {
|
17
|
-
title: string;
|
18
|
-
body: string;
|
19
|
-
};
|
20
|
-
}[];
|
21
|
-
};
|
22
|
-
previewSchema: {
|
23
|
-
type: string;
|
24
|
-
buttons: {
|
25
|
-
type: string;
|
26
|
-
label: string;
|
27
|
-
actionType: string;
|
28
|
-
dialog: {
|
29
|
-
title: string;
|
30
|
-
body: string;
|
31
|
-
};
|
32
|
-
}[];
|
33
|
-
};
|
34
|
-
panelTitle: string;
|
35
|
-
panelControls: {
|
36
|
-
name: string;
|
37
|
-
type: string;
|
38
|
-
label: string;
|
39
|
-
multiple: boolean;
|
40
|
-
addable: boolean;
|
41
|
-
minLength: number;
|
42
|
-
draggable: boolean;
|
43
|
-
draggableTip: string;
|
44
|
-
editable: boolean;
|
45
|
-
visibleOn: string;
|
46
|
-
controls: {
|
47
|
-
type: string;
|
48
|
-
inline: boolean;
|
49
|
-
className: string;
|
50
|
-
tpl: string;
|
51
|
-
}[];
|
52
|
-
addButtonText: string;
|
53
|
-
scaffold: {
|
54
|
-
type: string;
|
55
|
-
label: string;
|
56
|
-
};
|
57
|
-
}[];
|
58
|
-
regions: Array<RegionConfig>;
|
59
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
import { BasePlugin } from '../plugin';
|
2
|
-
export declare class ButtonToolbarPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
description: string;
|
7
|
-
tags: never[];
|
8
|
-
icon: string;
|
9
|
-
scaffold: {
|
10
|
-
type: string;
|
11
|
-
buttons: {
|
12
|
-
type: string;
|
13
|
-
label: string;
|
14
|
-
actionType: string;
|
15
|
-
dialog: {
|
16
|
-
title: string;
|
17
|
-
body: string;
|
18
|
-
};
|
19
|
-
}[];
|
20
|
-
};
|
21
|
-
previewSchema: {
|
22
|
-
type: string;
|
23
|
-
buttons: {
|
24
|
-
type: string;
|
25
|
-
label: string;
|
26
|
-
actionType: string;
|
27
|
-
dialog: {
|
28
|
-
title: string;
|
29
|
-
body: string;
|
30
|
-
};
|
31
|
-
}[];
|
32
|
-
};
|
33
|
-
panelTitle: string;
|
34
|
-
panelControls: any[];
|
35
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { SchemaObject } from '@fex/amis';
|
2
|
-
import { BaseEventContext, BasePlugin, ChangeEventContext, PluginEvent, ScaffoldForm } from '../plugin';
|
3
|
-
export declare class CRUDPlugin extends BasePlugin {
|
4
|
-
rendererName: string;
|
5
|
-
$schema: string;
|
6
|
-
order: number;
|
7
|
-
name: string;
|
8
|
-
description: string;
|
9
|
-
docLink: string;
|
10
|
-
tags: string[];
|
11
|
-
icon: string;
|
12
|
-
scaffold: SchemaObject;
|
13
|
-
scaffoldForm: ScaffoldForm;
|
14
|
-
multifactor: boolean;
|
15
|
-
previewSchema: any;
|
16
|
-
oldFilter?: any;
|
17
|
-
panelTitle: string;
|
18
|
-
panelControlsCreator: (context: BaseEventContext) => any;
|
19
|
-
handleBulkActionEdit(id: string, index: number): void;
|
20
|
-
handleItemActionEdit(id: string, index: number): void;
|
21
|
-
wrapperProps: {
|
22
|
-
affixHeader: boolean;
|
23
|
-
};
|
24
|
-
renderEditableComponents(props: any): JSX.Element | null;
|
25
|
-
renderRenderer(props: any): JSX.Element;
|
26
|
-
filterProps(props: any): any;
|
27
|
-
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
28
|
-
}
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import { BaseEventContext, BasePlugin, InsertEventContext, PluginEvent, RegionConfig, VRendererConfig } from '../plugin';
|
2
|
-
export declare class CardPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
description: string;
|
7
|
-
tags: never[];
|
8
|
-
icon: string;
|
9
|
-
scaffold: {
|
10
|
-
type: string;
|
11
|
-
header: {
|
12
|
-
title: string;
|
13
|
-
subTitle: string;
|
14
|
-
avatar: string;
|
15
|
-
};
|
16
|
-
body: string;
|
17
|
-
actions: {
|
18
|
-
type: string;
|
19
|
-
label: string;
|
20
|
-
actionType: string;
|
21
|
-
dialog: {
|
22
|
-
title: string;
|
23
|
-
body: string;
|
24
|
-
};
|
25
|
-
}[];
|
26
|
-
};
|
27
|
-
previewSchema: {
|
28
|
-
type: string;
|
29
|
-
header: {
|
30
|
-
title: string;
|
31
|
-
subTitle: string;
|
32
|
-
avatar: string;
|
33
|
-
};
|
34
|
-
body: string;
|
35
|
-
actions: {
|
36
|
-
type: string;
|
37
|
-
label: string;
|
38
|
-
actionType: string;
|
39
|
-
dialog: {
|
40
|
-
title: string;
|
41
|
-
body: string;
|
42
|
-
};
|
43
|
-
}[];
|
44
|
-
};
|
45
|
-
regions: Array<RegionConfig>;
|
46
|
-
panelTitle: string;
|
47
|
-
panelControlsCreator: (context: BaseEventContext) => any[];
|
48
|
-
exchangeRenderer(id: string): void;
|
49
|
-
fieldWrapperResolve: (dom: HTMLElement) => HTMLElement;
|
50
|
-
overrides: {
|
51
|
-
renderFeild: (this: any, region: string, field: any, index: any, props: any) => any;
|
52
|
-
};
|
53
|
-
vRendererConfig: VRendererConfig;
|
54
|
-
beforeInsert(event: PluginEvent<InsertEventContext>): void;
|
55
|
-
}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import { BaseEventContext, BasePlugin, BasicRendererInfo, BasicToolbarItem, ContextMenuEventContext, ContextMenuItem, RendererInfoResolveEventContext } from '../plugin';
|
2
|
-
export declare class CardsPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
description: string;
|
7
|
-
tags: never[];
|
8
|
-
icon: string;
|
9
|
-
scaffold: {
|
10
|
-
type: string;
|
11
|
-
data: {
|
12
|
-
items: {
|
13
|
-
a: number;
|
14
|
-
b: number;
|
15
|
-
}[];
|
16
|
-
};
|
17
|
-
columnsCount: number;
|
18
|
-
card: {
|
19
|
-
type: string;
|
20
|
-
className: string;
|
21
|
-
header: {
|
22
|
-
title: string;
|
23
|
-
subTitle: string;
|
24
|
-
};
|
25
|
-
body: {
|
26
|
-
name: string;
|
27
|
-
label: string;
|
28
|
-
}[];
|
29
|
-
actions: {
|
30
|
-
label: string;
|
31
|
-
type: string;
|
32
|
-
}[];
|
33
|
-
};
|
34
|
-
};
|
35
|
-
previewSchema: {
|
36
|
-
className: string;
|
37
|
-
type: string;
|
38
|
-
data: {
|
39
|
-
items: {
|
40
|
-
a: number;
|
41
|
-
b: number;
|
42
|
-
}[];
|
43
|
-
};
|
44
|
-
columnsCount: number;
|
45
|
-
card: {
|
46
|
-
type: string;
|
47
|
-
className: string;
|
48
|
-
header: {
|
49
|
-
title: string;
|
50
|
-
subTitle: string;
|
51
|
-
};
|
52
|
-
body: {
|
53
|
-
name: string;
|
54
|
-
label: string;
|
55
|
-
}[];
|
56
|
-
actions: {
|
57
|
-
label: string;
|
58
|
-
type: string;
|
59
|
-
}[];
|
60
|
-
};
|
61
|
-
};
|
62
|
-
panelTitle: string;
|
63
|
-
panelControlsCreator: (context: BaseEventContext) => any[];
|
64
|
-
editDetail(id: string): void;
|
65
|
-
buildEditorToolbar({ id, info, schema }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
|
66
|
-
buildEditorContextMenu({ id, schema, region, info }: ContextMenuEventContext, menus: Array<ContextMenuItem>): void;
|
67
|
-
filterProps(props: any): any;
|
68
|
-
getRendererInfo(context: RendererInfoResolveEventContext): BasicRendererInfo | void;
|
69
|
-
}
|