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,48 +0,0 @@
|
|
1
|
-
import React, { Component } from 'react';
|
2
|
-
import { EditorStoreType } from '../store/editor';
|
3
|
-
import { SchemaObject } from '@fex/amis/lib/Schema';
|
4
|
-
import { EditorManager } from '../manager';
|
5
|
-
import { RenderOptions } from '@fex/amis/lib/factory';
|
6
|
-
import { PluginEventListener, PluginInterface } from '../plugin';
|
7
|
-
export interface EditorProps extends PluginEventListener {
|
8
|
-
value: SchemaObject;
|
9
|
-
onChange: (value: SchemaObject) => void;
|
10
|
-
preview?: boolean;
|
11
|
-
isMobile?: boolean;
|
12
|
-
autoFocus?: boolean;
|
13
|
-
className?: string;
|
14
|
-
$schemaUrl?: string;
|
15
|
-
theme?: string;
|
16
|
-
/**
|
17
|
-
* Preview 预览前可以修改配置。
|
18
|
-
* 比如把api地址替换成 proxy 地址。
|
19
|
-
*/
|
20
|
-
schemaFilter?: (schema: any) => any;
|
21
|
-
amisEnv?: RenderOptions;
|
22
|
-
data?: any;
|
23
|
-
plugins?: Array<new (manager: EditorManager) => PluginInterface>;
|
24
|
-
/**
|
25
|
-
* 传给预览器的其他属性
|
26
|
-
*/
|
27
|
-
previewProps?: any;
|
28
|
-
}
|
29
|
-
export default class Editor extends Component<EditorProps> {
|
30
|
-
readonly store: EditorStoreType;
|
31
|
-
readonly manager: EditorManager;
|
32
|
-
unReaction: () => void;
|
33
|
-
lastResult: any;
|
34
|
-
static defaultProps: {
|
35
|
-
autoFocus: boolean;
|
36
|
-
};
|
37
|
-
isInternalChange: boolean;
|
38
|
-
constructor(props: EditorProps);
|
39
|
-
componentDidMount(): void;
|
40
|
-
componentDidUpdate(prevProps: EditorProps): void;
|
41
|
-
componentWillUnmount(): void;
|
42
|
-
handleContextMenu(e: React.MouseEvent<HTMLElement>): void;
|
43
|
-
canUndo(): boolean;
|
44
|
-
canRedo(): boolean;
|
45
|
-
undo(): void;
|
46
|
-
redo(): void;
|
47
|
-
render(): JSX.Element;
|
48
|
-
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorStoreType } from '../store/editor';
|
3
|
-
import { EditorNodeType } from '../store/node';
|
4
|
-
export interface HighlightBoxProps {
|
5
|
-
store: EditorStoreType;
|
6
|
-
node: EditorNodeType;
|
7
|
-
id: string;
|
8
|
-
className?: string;
|
9
|
-
title: string;
|
10
|
-
}
|
11
|
-
export default class HighlightBox extends React.Component<HighlightBoxProps> {
|
12
|
-
render(): JSX.Element;
|
13
|
-
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PanelProps } from '../plugin';
|
3
|
-
export declare class InsertSubRendererPanel extends React.Component<PanelProps> {
|
4
|
-
handleLeftClick(e: React.MouseEvent): void;
|
5
|
-
handleClick(e: React.MouseEvent): void;
|
6
|
-
hadnlDBClick(e: React.MouseEvent): void;
|
7
|
-
handleInsert(): void;
|
8
|
-
handleReplace(): void;
|
9
|
-
handleCancel(): void;
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import Editor, { EditorProps } from './Editor';
|
2
|
-
import { BaseEventContext, PluginEvent } from '../plugin';
|
3
|
-
export default class MiniEditor extends Editor {
|
4
|
-
constructor(props: EditorProps);
|
5
|
-
componentWillUnmount(): void;
|
6
|
-
buildPanels(event: PluginEvent<BaseEventContext>): void;
|
7
|
-
render(): JSX.Element;
|
8
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { RendererProps } from '@fex/amis/lib/factory';
|
2
|
-
import React from 'react';
|
3
|
-
import { RendererInfo } from '../plugin';
|
4
|
-
import { EditorNodeType } from '../store/node';
|
5
|
-
export interface NodeWrapperProps extends RendererProps {
|
6
|
-
$$editor: RendererInfo;
|
7
|
-
$$node?: EditorNodeType;
|
8
|
-
}
|
9
|
-
export declare class NodeWrapper extends React.Component<NodeWrapperProps> {
|
10
|
-
componentDidMount(): void;
|
11
|
-
componentDidUpdate(prevProps: NodeWrapperProps): void;
|
12
|
-
ref: any;
|
13
|
-
getWrappedInstance(): any;
|
14
|
-
refFn(ref: any): void;
|
15
|
-
/**
|
16
|
-
* 弄点标记
|
17
|
-
*/
|
18
|
-
markDom(id: string): void;
|
19
|
-
render(): any;
|
20
|
-
}
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { PanelProps } from '../plugin';
|
3
|
-
import { EditorNodeType } from '../store/node';
|
4
|
-
export declare class OutlinePanel extends React.Component<PanelProps> {
|
5
|
-
handleClick(e: React.MouseEvent<HTMLAnchorElement>): void;
|
6
|
-
handleEnter(e: React.MouseEvent): void;
|
7
|
-
handleDragStart(e: React.DragEvent): void;
|
8
|
-
handleDragOver(e: React.DragEvent): void;
|
9
|
-
handleDrop(e: React.DragEvent): void;
|
10
|
-
renderItem(option: EditorNodeType, index: number): JSX.Element | null;
|
11
|
-
render(): JSX.Element;
|
12
|
-
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorManager } from '../manager';
|
3
|
-
import { EditorStoreType } from '../store/editor';
|
4
|
-
export interface PanelsProps {
|
5
|
-
store: EditorStoreType;
|
6
|
-
manager: EditorManager;
|
7
|
-
theme?: string;
|
8
|
-
isLeftPanel?: boolean;
|
9
|
-
}
|
10
|
-
export declare class Panels extends React.Component<PanelsProps> {
|
11
|
-
isLeftPanel: boolean;
|
12
|
-
handleSelect(key: string): void;
|
13
|
-
getPopOverContainer(): HTMLElement;
|
14
|
-
resizeSensor?: () => void;
|
15
|
-
innerRef(ref: any): void;
|
16
|
-
render(): JSX.Element;
|
17
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import React, { Component } from 'react';
|
2
|
-
import { RendererConfig, RenderOptions } from '@fex/amis/lib/factory';
|
3
|
-
import { Schema } from '@fex/amis/lib/types';
|
4
|
-
import { EditorStoreType } from '../store/editor';
|
5
|
-
import { EditorManager } from '../manager';
|
6
|
-
export interface PreviewProps {
|
7
|
-
theme?: string;
|
8
|
-
amisEnv?: any;
|
9
|
-
className?: string;
|
10
|
-
editable?: boolean;
|
11
|
-
isMobile?: boolean;
|
12
|
-
store: EditorStoreType;
|
13
|
-
manager: EditorManager;
|
14
|
-
data?: any;
|
15
|
-
}
|
16
|
-
export interface PreviewState {
|
17
|
-
ready?: boolean;
|
18
|
-
}
|
19
|
-
export default class Preview extends Component<PreviewProps> {
|
20
|
-
id: string;
|
21
|
-
env: RenderOptions;
|
22
|
-
widgetsLayer?: HTMLDivElement;
|
23
|
-
iframeDeafultContent: string;
|
24
|
-
componentDidMount(): void;
|
25
|
-
componentWillUnmount(): void;
|
26
|
-
unSensor?: () => void;
|
27
|
-
layer?: HTMLDivElement;
|
28
|
-
contentsRef(ref: HTMLDivElement | null): void;
|
29
|
-
readonly unReaction: () => void;
|
30
|
-
handlePanelChange(): void;
|
31
|
-
getHighlightNodes(): string[];
|
32
|
-
calculateHighlightBox(ids: Array<string>): void;
|
33
|
-
handleClick(e: MouseEvent): void;
|
34
|
-
handleMouseMove(e: MouseEvent): void;
|
35
|
-
handleMouseLeave(): void;
|
36
|
-
handeMouseOver(e: MouseEvent): void;
|
37
|
-
handleDragEnter(e: React.DragEvent): void;
|
38
|
-
handleDragLeave(e: React.DragEvent): void;
|
39
|
-
handleDragOver(e: React.DragEvent): void;
|
40
|
-
handleDrop(e: React.DragEvent): void;
|
41
|
-
rendererResolver(path: string, schema: Schema, props: any): RendererConfig;
|
42
|
-
render(): JSX.Element;
|
43
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorStoreType } from '../store/editor';
|
3
|
-
import { EditorManager } from '../manager';
|
4
|
-
import { EditorNodeType } from '../store/node';
|
5
|
-
export declare const AddBTNSvg = "<svg viewBox=\"0 0 12 12\">\n<g stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n <g id=\"plus\" fill=\"currentColor\" fill-rule=\"nonzero\">\n <polygon points=\"6.6 6.6 6.6 12 5.4 12 5.4 6.6 0 6.6 0 5.4 5.4 5.4 5.4 0 6.6 0 6.6 5.4 12 5.4 12 6.6\"></polygon>\n </g>\n</g>\n</svg>";
|
6
|
-
export interface HighlightBoxProps {
|
7
|
-
store: EditorStoreType;
|
8
|
-
node: EditorNodeType;
|
9
|
-
name: string;
|
10
|
-
id: string;
|
11
|
-
className?: string;
|
12
|
-
title: string;
|
13
|
-
preferTag?: string;
|
14
|
-
manager: EditorManager;
|
15
|
-
}
|
16
|
-
export default class RegionHighlightBox extends React.Component<HighlightBoxProps> {
|
17
|
-
addBtn: HTMLElement;
|
18
|
-
constructor(props: HighlightBoxProps);
|
19
|
-
componentDidMount(): void;
|
20
|
-
componentDidUpdate(): void;
|
21
|
-
componentWillUnmount(): void;
|
22
|
-
attachAddBtn(): void;
|
23
|
-
handleClick(): void;
|
24
|
-
handleMouseEnter(): void;
|
25
|
-
handleMouseLeave(): void;
|
26
|
-
render(): JSX.Element;
|
27
|
-
}
|
@@ -1,150 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorManager } from '../manager';
|
3
|
-
import { RegionConfig } from '../plugin';
|
4
|
-
import { EditorStoreType } from '../store/editor';
|
5
|
-
import { EditorNodeType } from '../store/node';
|
6
|
-
export interface RegionWrapperProps {
|
7
|
-
name: string;
|
8
|
-
label: string;
|
9
|
-
preferTag?: string;
|
10
|
-
wrapperResolve?: (dom: HTMLElement) => HTMLElement;
|
11
|
-
editorStore: EditorStoreType;
|
12
|
-
manager: EditorManager;
|
13
|
-
rendererName?: string;
|
14
|
-
regionConfig: RegionConfig;
|
15
|
-
}
|
16
|
-
export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
17
|
-
static contextType: React.Context<({
|
18
|
-
parentId: string;
|
19
|
-
parentRegion: string;
|
20
|
-
id: string;
|
21
|
-
label: string;
|
22
|
-
info: (import("../plugin").RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RendererInfo, import("../plugin").RendererInfo, import("../plugin").RendererInfo>>>) | undefined;
|
23
|
-
regionInfo: (RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>>) | undefined;
|
24
|
-
path: string;
|
25
|
-
schemaPath: string;
|
26
|
-
region: string;
|
27
|
-
preferTag: string;
|
28
|
-
memberIndex: number;
|
29
|
-
folded: boolean;
|
30
|
-
patched: boolean;
|
31
|
-
x: number;
|
32
|
-
y: number;
|
33
|
-
w: number;
|
34
|
-
h: number;
|
35
|
-
children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
|
36
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
37
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
38
|
-
} & {
|
39
|
-
readonly clickable: boolean;
|
40
|
-
readonly draggable: boolean;
|
41
|
-
readonly moveable: boolean;
|
42
|
-
readonly removable: boolean;
|
43
|
-
readonly duplicatable: boolean;
|
44
|
-
readonly replaceable: boolean;
|
45
|
-
memberImmutable(region: string): boolean;
|
46
|
-
readonly isRegion: boolean;
|
47
|
-
readonly childRegions: any[];
|
48
|
-
readonly uniqueChildren: any[];
|
49
|
-
readonly sameIdChild: any;
|
50
|
-
readonly singleRegion: boolean;
|
51
|
-
isExists(id: string): boolean;
|
52
|
-
getChildById(id: string): any;
|
53
|
-
readonly parent: any;
|
54
|
-
readonly host: any;
|
55
|
-
readonly prevSibling: any;
|
56
|
-
readonly nextSibling: any;
|
57
|
-
readonly schema: any;
|
58
|
-
readonly schemaParent: any;
|
59
|
-
} & {
|
60
|
-
addChild(props: {
|
61
|
-
id: string;
|
62
|
-
label: string;
|
63
|
-
path: string;
|
64
|
-
info?: import("../plugin").RendererInfo | undefined;
|
65
|
-
region?: string | undefined;
|
66
|
-
getData?: (() => any) | undefined;
|
67
|
-
preferTag?: string | undefined;
|
68
|
-
schemaPath?: string | undefined;
|
69
|
-
regionInfo?: RegionConfig | undefined;
|
70
|
-
}): any;
|
71
|
-
removeChild(child: any): void;
|
72
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
73
|
-
patch(store: any, force?: boolean): void;
|
74
|
-
setComponent(value: any): void;
|
75
|
-
getComponent(): any;
|
76
|
-
calculateHighlightBox(root?: any): void;
|
77
|
-
resetHighlightBox(root: any): void;
|
78
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
79
|
-
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
80
|
-
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
81
|
-
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
82
|
-
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
83
|
-
info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RendererInfo, import("../plugin").RendererInfo, import("../plugin").RendererInfo>>;
|
84
|
-
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>;
|
85
|
-
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
86
|
-
schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
|
87
|
-
region: import("mobx-state-tree").IType<string | undefined, string, string>;
|
88
|
-
preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
|
89
|
-
memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
|
90
|
-
folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
91
|
-
patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
92
|
-
x: import("mobx-state-tree").IType<number | undefined, number, number>;
|
93
|
-
y: import("mobx-state-tree").IType<number | undefined, number, number>;
|
94
|
-
w: import("mobx-state-tree").IType<number | undefined, number, number>;
|
95
|
-
h: import("mobx-state-tree").IType<number | undefined, number, number>;
|
96
|
-
children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
|
97
|
-
}, {
|
98
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
99
|
-
} & {
|
100
|
-
readonly clickable: boolean;
|
101
|
-
readonly draggable: boolean;
|
102
|
-
readonly moveable: boolean;
|
103
|
-
readonly removable: boolean;
|
104
|
-
readonly duplicatable: boolean;
|
105
|
-
readonly replaceable: boolean;
|
106
|
-
memberImmutable(region: string): boolean;
|
107
|
-
readonly isRegion: boolean;
|
108
|
-
readonly childRegions: any[];
|
109
|
-
readonly uniqueChildren: any[];
|
110
|
-
readonly sameIdChild: any;
|
111
|
-
readonly singleRegion: boolean;
|
112
|
-
isExists(id: string): boolean;
|
113
|
-
getChildById(id: string): any;
|
114
|
-
readonly parent: any;
|
115
|
-
readonly host: any;
|
116
|
-
readonly prevSibling: any;
|
117
|
-
readonly nextSibling: any;
|
118
|
-
readonly schema: any;
|
119
|
-
readonly schemaParent: any;
|
120
|
-
} & {
|
121
|
-
addChild(props: {
|
122
|
-
id: string;
|
123
|
-
label: string;
|
124
|
-
path: string;
|
125
|
-
info?: import("../plugin").RendererInfo | undefined;
|
126
|
-
region?: string | undefined;
|
127
|
-
getData?: (() => any) | undefined;
|
128
|
-
preferTag?: string | undefined;
|
129
|
-
schemaPath?: string | undefined;
|
130
|
-
regionInfo?: RegionConfig | undefined;
|
131
|
-
}): any;
|
132
|
-
removeChild(child: any): void;
|
133
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
134
|
-
patch(store: any, force?: boolean): void;
|
135
|
-
setComponent(value: any): void;
|
136
|
-
getComponent(): any;
|
137
|
-
calculateHighlightBox(root?: any): void;
|
138
|
-
resetHighlightBox(root: any): void;
|
139
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null>;
|
140
|
-
editorNode: EditorNodeType;
|
141
|
-
componentWillMount(): void;
|
142
|
-
componentDidMount(): void;
|
143
|
-
componentDidUpdate(prevProps: RegionWrapperProps): void;
|
144
|
-
componentWillUnmount(): void;
|
145
|
-
/**
|
146
|
-
* 弄点标记
|
147
|
-
*/
|
148
|
-
markDom(id: string, region: string, rendererName?: string): void;
|
149
|
-
render(): JSX.Element;
|
150
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Schema } from '@fex/amis/lib/types';
|
3
|
-
interface ThumbProps {
|
4
|
-
schema: Schema;
|
5
|
-
theme?: string;
|
6
|
-
}
|
7
|
-
export declare class RendererThumb extends React.Component<ThumbProps> {
|
8
|
-
ref: HTMLDivElement;
|
9
|
-
unSensor: Function;
|
10
|
-
state: {
|
11
|
-
scale: boolean;
|
12
|
-
};
|
13
|
-
env: {
|
14
|
-
session: string;
|
15
|
-
};
|
16
|
-
componentWillMount(): void;
|
17
|
-
componentWillUnmount(): void;
|
18
|
-
rootRef(ref: HTMLDivElement): void;
|
19
|
-
syncHeight(): void;
|
20
|
-
handleClick(e: React.MouseEvent): void;
|
21
|
-
render(): JSX.Element;
|
22
|
-
}
|
23
|
-
export {};
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorManager } from '../manager';
|
3
|
-
import { EditorStoreType } from '../store/editor';
|
4
|
-
export interface SubEditorProps {
|
5
|
-
store: EditorStoreType;
|
6
|
-
manager: EditorManager;
|
7
|
-
theme?: string;
|
8
|
-
}
|
9
|
-
export declare class ScaffoldModal extends React.Component<SubEditorProps> {
|
10
|
-
handleConfirm([values]: any): void;
|
11
|
-
buildSchema(): {
|
12
|
-
show: boolean;
|
13
|
-
size: "full" | "xs" | "sm" | "md" | "lg";
|
14
|
-
title: string | undefined;
|
15
|
-
onClose: () => void;
|
16
|
-
onConfirm: ([values]: any) => void;
|
17
|
-
body: {
|
18
|
-
type: string;
|
19
|
-
mode: string;
|
20
|
-
wrapperComponent: string;
|
21
|
-
data: any;
|
22
|
-
onValidate: ((values: any) => void | {
|
23
|
-
[propName: string]: string;
|
24
|
-
} | Promise<void | {
|
25
|
-
[propName: string]: string;
|
26
|
-
}>) | undefined;
|
27
|
-
controls: any[];
|
28
|
-
tpl?: undefined;
|
29
|
-
} | {
|
30
|
-
type: string;
|
31
|
-
tpl: string;
|
32
|
-
mode?: undefined;
|
33
|
-
wrapperComponent?: undefined;
|
34
|
-
data?: undefined;
|
35
|
-
onValidate?: undefined;
|
36
|
-
controls?: undefined;
|
37
|
-
};
|
38
|
-
actions: ({
|
39
|
-
type: string;
|
40
|
-
label: string;
|
41
|
-
level: string;
|
42
|
-
actionType?: undefined;
|
43
|
-
} | {
|
44
|
-
type: string;
|
45
|
-
label: string;
|
46
|
-
actionType: string;
|
47
|
-
level?: undefined;
|
48
|
-
})[][];
|
49
|
-
closeOnEsc: boolean;
|
50
|
-
bodyClassName: string;
|
51
|
-
};
|
52
|
-
render(): JSX.Element;
|
53
|
-
}
|
@@ -1,71 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { EditorManager } from '../manager';
|
3
|
-
import { EditorStoreType } from '../store/editor';
|
4
|
-
import { BuildPanelEventContext, PluginEvent, RendererInfoResolveEventContext } from '../plugin';
|
5
|
-
export interface SubEditorProps {
|
6
|
-
store: EditorStoreType;
|
7
|
-
manager: EditorManager;
|
8
|
-
theme?: string;
|
9
|
-
}
|
10
|
-
export declare class SubEditor extends React.Component<SubEditorProps> {
|
11
|
-
afterResolveEditorInfo(event: PluginEvent<RendererInfoResolveEventContext>): void;
|
12
|
-
handleBuildPanels(event: PluginEvent<BuildPanelEventContext>): void;
|
13
|
-
buildSchema(): {
|
14
|
-
show: boolean;
|
15
|
-
size: string;
|
16
|
-
title: string | undefined;
|
17
|
-
onClose: () => void;
|
18
|
-
onConfirm: ([valueRaw]: any) => void;
|
19
|
-
body: {
|
20
|
-
type: string;
|
21
|
-
mode: string;
|
22
|
-
wrapperComponent: string;
|
23
|
-
data: {
|
24
|
-
schema: any;
|
25
|
-
};
|
26
|
-
onValidate: (value: any) => Promise<{
|
27
|
-
schema: string;
|
28
|
-
} | undefined>;
|
29
|
-
onChange: () => void;
|
30
|
-
controls: {
|
31
|
-
name: string;
|
32
|
-
children: ({ value, onChange }: {
|
33
|
-
value: any;
|
34
|
-
onChange: (value: any) => void;
|
35
|
-
}) => JSX.Element;
|
36
|
-
}[];
|
37
|
-
tpl?: undefined;
|
38
|
-
} | {
|
39
|
-
type: string;
|
40
|
-
tpl: string;
|
41
|
-
mode?: undefined;
|
42
|
-
wrapperComponent?: undefined;
|
43
|
-
data?: undefined;
|
44
|
-
onValidate?: undefined;
|
45
|
-
onChange?: undefined;
|
46
|
-
controls?: undefined;
|
47
|
-
};
|
48
|
-
actions: ({
|
49
|
-
children: JSX.Element | null;
|
50
|
-
type?: undefined;
|
51
|
-
label?: undefined;
|
52
|
-
level?: undefined;
|
53
|
-
actionType?: undefined;
|
54
|
-
} | {
|
55
|
-
type: string;
|
56
|
-
label: string;
|
57
|
-
level: string;
|
58
|
-
children?: undefined;
|
59
|
-
actionType?: undefined;
|
60
|
-
} | {
|
61
|
-
type: string;
|
62
|
-
label: string;
|
63
|
-
actionType: string;
|
64
|
-
children?: undefined;
|
65
|
-
level?: undefined;
|
66
|
-
})[][];
|
67
|
-
closeOnEsc: boolean;
|
68
|
-
bodyClassName: string;
|
69
|
-
};
|
70
|
-
render(): JSX.Element;
|
71
|
-
}
|
@@ -1,142 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { RendererInfo } from '../plugin';
|
3
|
-
import { EditorNodeType } from '../store/node';
|
4
|
-
export interface VRendererProps extends RendererInfo {
|
5
|
-
path: string;
|
6
|
-
data?: any;
|
7
|
-
}
|
8
|
-
export declare class VRenderer extends React.Component<VRendererProps> {
|
9
|
-
static contextType: React.Context<({
|
10
|
-
parentId: string;
|
11
|
-
parentRegion: string;
|
12
|
-
id: string;
|
13
|
-
label: string;
|
14
|
-
info: (RendererInfo & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>>) | undefined;
|
15
|
-
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
|
16
|
-
path: string;
|
17
|
-
schemaPath: string;
|
18
|
-
region: string;
|
19
|
-
preferTag: string;
|
20
|
-
memberIndex: number;
|
21
|
-
folded: boolean;
|
22
|
-
patched: boolean;
|
23
|
-
x: number;
|
24
|
-
y: number;
|
25
|
-
w: number;
|
26
|
-
h: number;
|
27
|
-
children: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>>;
|
28
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
29
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
30
|
-
} & {
|
31
|
-
readonly clickable: boolean;
|
32
|
-
readonly draggable: boolean;
|
33
|
-
readonly moveable: boolean;
|
34
|
-
readonly removable: boolean;
|
35
|
-
readonly duplicatable: boolean;
|
36
|
-
readonly replaceable: boolean;
|
37
|
-
memberImmutable(region: string): boolean;
|
38
|
-
readonly isRegion: boolean;
|
39
|
-
readonly childRegions: any[];
|
40
|
-
readonly uniqueChildren: any[];
|
41
|
-
readonly sameIdChild: any;
|
42
|
-
readonly singleRegion: boolean;
|
43
|
-
isExists(id: string): boolean;
|
44
|
-
getChildById(id: string): any;
|
45
|
-
readonly parent: any;
|
46
|
-
readonly host: any;
|
47
|
-
readonly prevSibling: any;
|
48
|
-
readonly nextSibling: any;
|
49
|
-
readonly schema: any;
|
50
|
-
readonly schemaParent: any;
|
51
|
-
} & {
|
52
|
-
addChild(props: {
|
53
|
-
id: string;
|
54
|
-
label: string;
|
55
|
-
path: string;
|
56
|
-
info?: RendererInfo | undefined;
|
57
|
-
region?: string | undefined;
|
58
|
-
getData?: (() => any) | undefined;
|
59
|
-
preferTag?: string | undefined;
|
60
|
-
schemaPath?: string | undefined;
|
61
|
-
regionInfo?: import("../plugin").RegionConfig | undefined;
|
62
|
-
}): any;
|
63
|
-
removeChild(child: any): void;
|
64
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
65
|
-
patch(store: any, force?: boolean): void;
|
66
|
-
setComponent(value: any): void;
|
67
|
-
getComponent(): any;
|
68
|
-
calculateHighlightBox(root?: any): void;
|
69
|
-
resetHighlightBox(root: any): void;
|
70
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
71
|
-
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
72
|
-
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
73
|
-
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
74
|
-
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
75
|
-
info: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RendererInfo, RendererInfo, RendererInfo>>;
|
76
|
-
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
|
77
|
-
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
78
|
-
schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
|
79
|
-
region: import("mobx-state-tree").IType<string | undefined, string, string>;
|
80
|
-
preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
|
81
|
-
memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
|
82
|
-
folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
83
|
-
patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
84
|
-
x: import("mobx-state-tree").IType<number | undefined, number, number>;
|
85
|
-
y: import("mobx-state-tree").IType<number | undefined, number, number>;
|
86
|
-
w: import("mobx-state-tree").IType<number | undefined, number, number>;
|
87
|
-
h: import("mobx-state-tree").IType<number | undefined, number, number>;
|
88
|
-
children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>, [undefined]>;
|
89
|
-
}, {
|
90
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
91
|
-
} & {
|
92
|
-
readonly clickable: boolean;
|
93
|
-
readonly draggable: boolean;
|
94
|
-
readonly moveable: boolean;
|
95
|
-
readonly removable: boolean;
|
96
|
-
readonly duplicatable: boolean;
|
97
|
-
readonly replaceable: boolean;
|
98
|
-
memberImmutable(region: string): boolean;
|
99
|
-
readonly isRegion: boolean;
|
100
|
-
readonly childRegions: any[];
|
101
|
-
readonly uniqueChildren: any[];
|
102
|
-
readonly sameIdChild: any;
|
103
|
-
readonly singleRegion: boolean;
|
104
|
-
isExists(id: string): boolean;
|
105
|
-
getChildById(id: string): any;
|
106
|
-
readonly parent: any;
|
107
|
-
readonly host: any;
|
108
|
-
readonly prevSibling: any;
|
109
|
-
readonly nextSibling: any;
|
110
|
-
readonly schema: any;
|
111
|
-
readonly schemaParent: any;
|
112
|
-
} & {
|
113
|
-
addChild(props: {
|
114
|
-
id: string;
|
115
|
-
label: string;
|
116
|
-
path: string;
|
117
|
-
info?: RendererInfo | undefined;
|
118
|
-
region?: string | undefined;
|
119
|
-
getData?: (() => any) | undefined;
|
120
|
-
preferTag?: string | undefined;
|
121
|
-
schemaPath?: string | undefined;
|
122
|
-
regionInfo?: import("../plugin").RegionConfig | undefined;
|
123
|
-
}): any;
|
124
|
-
removeChild(child: any): void;
|
125
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
126
|
-
patch(store: any, force?: boolean): void;
|
127
|
-
setComponent(value: any): void;
|
128
|
-
getComponent(): any;
|
129
|
-
calculateHighlightBox(root?: any): void;
|
130
|
-
resetHighlightBox(root: any): void;
|
131
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null>;
|
132
|
-
editorNode: EditorNodeType;
|
133
|
-
componentWillMount(): void;
|
134
|
-
componentDidMount(): void;
|
135
|
-
componentDidUpdate(): void;
|
136
|
-
componentWillUnmount(): void;
|
137
|
-
/**
|
138
|
-
* 弄点标记
|
139
|
-
*/
|
140
|
-
markDom(id: string): void;
|
141
|
-
render(): JSX.Element;
|
142
|
-
}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
export declare function getSchemaTpl(name: string, patch?: object): any;
|
2
|
-
export declare function setSchemaTpl(name: string, value: any): void;
|
3
|
-
export declare function valuePipeOut(value: any): any;
|
4
|
-
export declare function defaultValue(defaultValue: any, strictMode?: boolean): (value: any) => any;
|