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
package/dist/src/store/node.d.ts
DELETED
@@ -1,247 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @file 每个渲染器的节点信息存在这了。
|
3
|
-
* Outline 就是靠这个生成的。
|
4
|
-
*/
|
5
|
-
import { IAnyModelType, Instance } from 'mobx-state-tree';
|
6
|
-
import { RegionConfig, RendererInfo } from '../plugin';
|
7
|
-
import React from 'react';
|
8
|
-
export declare const EditorNode: import("mobx-state-tree").IModelType<{
|
9
|
-
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
10
|
-
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
11
|
-
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
12
|
-
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
13
|
-
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
14
|
-
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>;
|
15
|
-
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
16
|
-
schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
|
17
|
-
region: import("mobx-state-tree").IType<string | undefined, string, string>;
|
18
|
-
preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
|
19
|
-
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
20
|
-
widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
21
|
-
memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
|
22
|
-
folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
23
|
-
patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
24
|
-
x: import("mobx-state-tree").IType<number | undefined, number, number>;
|
25
|
-
y: import("mobx-state-tree").IType<number | undefined, number, number>;
|
26
|
-
w: import("mobx-state-tree").IType<number | undefined, number, number>;
|
27
|
-
h: import("mobx-state-tree").IType<number | undefined, number, number>;
|
28
|
-
children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<IAnyModelType>, [undefined]>;
|
29
|
-
}, {
|
30
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
31
|
-
} & {
|
32
|
-
readonly info: RendererInfo;
|
33
|
-
setInfo(value: RendererInfo): void;
|
34
|
-
readonly isVitualRenderer: boolean;
|
35
|
-
readonly clickable: boolean;
|
36
|
-
readonly draggable: boolean;
|
37
|
-
readonly moveable: boolean;
|
38
|
-
readonly removable: boolean;
|
39
|
-
readonly duplicatable: boolean;
|
40
|
-
readonly replaceable: boolean;
|
41
|
-
memberImmutable(region: string): boolean;
|
42
|
-
readonly isRegion: boolean;
|
43
|
-
readonly childRegions: any[];
|
44
|
-
readonly uniqueChildren: any[];
|
45
|
-
readonly sameIdChild: any;
|
46
|
-
readonly singleRegion: boolean;
|
47
|
-
isExists(id: string): boolean;
|
48
|
-
getChildById(id: string): any;
|
49
|
-
readonly parent: any;
|
50
|
-
readonly host: any;
|
51
|
-
readonly firstChild: any;
|
52
|
-
readonly index: any;
|
53
|
-
readonly prevSibling: any;
|
54
|
-
readonly nextSibling: any;
|
55
|
-
readonly schema: any;
|
56
|
-
readonly schemaParent: any;
|
57
|
-
} & {
|
58
|
-
updateIsCommonConfig: (value: boolean) => void;
|
59
|
-
addChild(props: {
|
60
|
-
id: string;
|
61
|
-
label: string;
|
62
|
-
path: string;
|
63
|
-
isCommonConfig?: boolean;
|
64
|
-
info?: RendererInfo;
|
65
|
-
region?: string;
|
66
|
-
getData?: () => any;
|
67
|
-
preferTag?: string;
|
68
|
-
schemaPath?: string;
|
69
|
-
regionInfo?: RegionConfig;
|
70
|
-
widthMutable?: boolean;
|
71
|
-
memberIndex?: number;
|
72
|
-
}): any;
|
73
|
-
removeChild(child: any): void;
|
74
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
75
|
-
patch(store: any, force?: boolean): void;
|
76
|
-
updateSchema(value: any): void;
|
77
|
-
setComponent(value: any): void;
|
78
|
-
getComponent(): any;
|
79
|
-
/**
|
80
|
-
* 计算高亮区域信息。
|
81
|
-
* @param layer
|
82
|
-
* @param root
|
83
|
-
*/
|
84
|
-
calculateHighlightBox(root?: any): void;
|
85
|
-
resetHighlightBox(root: any): void;
|
86
|
-
updateState(state: any, replace?: boolean): void;
|
87
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
88
|
-
export declare const EditorNodeContext: React.Context<({
|
89
|
-
parentId: string;
|
90
|
-
parentRegion: string;
|
91
|
-
isCommonConfig: boolean;
|
92
|
-
id: string;
|
93
|
-
label: string;
|
94
|
-
regionInfo: (RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>>) | undefined;
|
95
|
-
path: string;
|
96
|
-
schemaPath: string;
|
97
|
-
region: string;
|
98
|
-
preferTag: string;
|
99
|
-
state: any;
|
100
|
-
widthMutable: boolean;
|
101
|
-
memberIndex: number;
|
102
|
-
folded: boolean;
|
103
|
-
patched: boolean;
|
104
|
-
x: number;
|
105
|
-
y: number;
|
106
|
-
w: number;
|
107
|
-
h: number;
|
108
|
-
children: import("mobx-state-tree").IMSTArray<IAnyModelType> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<IAnyModelType>, [undefined]>>;
|
109
|
-
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
110
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
111
|
-
} & {
|
112
|
-
readonly info: RendererInfo;
|
113
|
-
setInfo(value: RendererInfo): void;
|
114
|
-
readonly isVitualRenderer: boolean;
|
115
|
-
readonly clickable: boolean;
|
116
|
-
readonly draggable: boolean;
|
117
|
-
readonly moveable: boolean;
|
118
|
-
readonly removable: boolean;
|
119
|
-
readonly duplicatable: boolean;
|
120
|
-
readonly replaceable: boolean;
|
121
|
-
memberImmutable(region: string): boolean;
|
122
|
-
readonly isRegion: boolean;
|
123
|
-
readonly childRegions: any[];
|
124
|
-
readonly uniqueChildren: any[];
|
125
|
-
readonly sameIdChild: any;
|
126
|
-
readonly singleRegion: boolean;
|
127
|
-
isExists(id: string): boolean;
|
128
|
-
getChildById(id: string): any;
|
129
|
-
readonly parent: any;
|
130
|
-
readonly host: any;
|
131
|
-
readonly firstChild: any;
|
132
|
-
readonly index: any;
|
133
|
-
readonly prevSibling: any;
|
134
|
-
readonly nextSibling: any;
|
135
|
-
readonly schema: any;
|
136
|
-
readonly schemaParent: any;
|
137
|
-
} & {
|
138
|
-
updateIsCommonConfig: (value: boolean) => void;
|
139
|
-
addChild(props: {
|
140
|
-
id: string;
|
141
|
-
label: string;
|
142
|
-
path: string;
|
143
|
-
isCommonConfig?: boolean;
|
144
|
-
info?: RendererInfo;
|
145
|
-
region?: string;
|
146
|
-
getData?: () => any;
|
147
|
-
preferTag?: string;
|
148
|
-
schemaPath?: string;
|
149
|
-
regionInfo?: RegionConfig;
|
150
|
-
widthMutable?: boolean;
|
151
|
-
memberIndex?: number;
|
152
|
-
}): any;
|
153
|
-
removeChild(child: any): void;
|
154
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
155
|
-
patch(store: any, force?: boolean): void;
|
156
|
-
updateSchema(value: any): void;
|
157
|
-
setComponent(value: any): void;
|
158
|
-
getComponent(): any;
|
159
|
-
/**
|
160
|
-
* 计算高亮区域信息。
|
161
|
-
* @param layer
|
162
|
-
* @param root
|
163
|
-
*/
|
164
|
-
calculateHighlightBox(root?: any): void;
|
165
|
-
resetHighlightBox(root: any): void;
|
166
|
-
updateState(state: any, replace?: boolean): void;
|
167
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
168
|
-
parentId: import("mobx-state-tree").IType<string | undefined, string, string>;
|
169
|
-
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
170
|
-
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
171
|
-
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
172
|
-
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
173
|
-
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>;
|
174
|
-
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
175
|
-
schemaPath: import("mobx-state-tree").IType<string | undefined, string, string>;
|
176
|
-
region: import("mobx-state-tree").IType<string | undefined, string, string>;
|
177
|
-
preferTag: import("mobx-state-tree").IType<string | undefined, string, string>;
|
178
|
-
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
179
|
-
widthMutable: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
180
|
-
memberIndex: import("mobx-state-tree").IType<number | undefined, number, number>;
|
181
|
-
folded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
182
|
-
patched: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
183
|
-
x: import("mobx-state-tree").IType<number | undefined, number, number>;
|
184
|
-
y: import("mobx-state-tree").IType<number | undefined, number, number>;
|
185
|
-
w: import("mobx-state-tree").IType<number | undefined, number, number>;
|
186
|
-
h: import("mobx-state-tree").IType<number | undefined, number, number>;
|
187
|
-
children: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<IAnyModelType>, [undefined]>;
|
188
|
-
}, {
|
189
|
-
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
|
190
|
-
} & {
|
191
|
-
readonly info: RendererInfo;
|
192
|
-
setInfo(value: RendererInfo): void;
|
193
|
-
readonly isVitualRenderer: boolean;
|
194
|
-
readonly clickable: boolean;
|
195
|
-
readonly draggable: boolean;
|
196
|
-
readonly moveable: boolean;
|
197
|
-
readonly removable: boolean;
|
198
|
-
readonly duplicatable: boolean;
|
199
|
-
readonly replaceable: boolean;
|
200
|
-
memberImmutable(region: string): boolean;
|
201
|
-
readonly isRegion: boolean;
|
202
|
-
readonly childRegions: any[];
|
203
|
-
readonly uniqueChildren: any[];
|
204
|
-
readonly sameIdChild: any;
|
205
|
-
readonly singleRegion: boolean;
|
206
|
-
isExists(id: string): boolean;
|
207
|
-
getChildById(id: string): any;
|
208
|
-
readonly parent: any;
|
209
|
-
readonly host: any;
|
210
|
-
readonly firstChild: any;
|
211
|
-
readonly index: any;
|
212
|
-
readonly prevSibling: any;
|
213
|
-
readonly nextSibling: any;
|
214
|
-
readonly schema: any;
|
215
|
-
readonly schemaParent: any;
|
216
|
-
} & {
|
217
|
-
updateIsCommonConfig: (value: boolean) => void;
|
218
|
-
addChild(props: {
|
219
|
-
id: string;
|
220
|
-
label: string;
|
221
|
-
path: string;
|
222
|
-
isCommonConfig?: boolean;
|
223
|
-
info?: RendererInfo;
|
224
|
-
region?: string;
|
225
|
-
getData?: () => any;
|
226
|
-
preferTag?: string;
|
227
|
-
schemaPath?: string;
|
228
|
-
regionInfo?: RegionConfig;
|
229
|
-
widthMutable?: boolean;
|
230
|
-
memberIndex?: number;
|
231
|
-
}): any;
|
232
|
-
removeChild(child: any): void;
|
233
|
-
toggleFold(e: React.MouseEvent<HTMLAnchorElement>): void;
|
234
|
-
patch(store: any, force?: boolean): void;
|
235
|
-
updateSchema(value: any): void;
|
236
|
-
setComponent(value: any): void;
|
237
|
-
getComponent(): any;
|
238
|
-
/**
|
239
|
-
* 计算高亮区域信息。
|
240
|
-
* @param layer
|
241
|
-
* @param root
|
242
|
-
*/
|
243
|
-
calculateHighlightBox(root?: any): void;
|
244
|
-
resetHighlightBox(root: any): void;
|
245
|
-
updateState(state: any, replace?: boolean): void;
|
246
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null>;
|
247
|
-
export declare type EditorNodeType = Instance<typeof EditorNode>;
|
package/dist/src/util.d.ts
DELETED
@@ -1,62 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @file 功能类函数集合。
|
3
|
-
*/
|
4
|
-
import { utils } from 'amis';
|
5
|
-
import { Diff } from 'deep-diff';
|
6
|
-
declare const guid: typeof utils.guid, omitControls: typeof utils.omitControls, isObjectShallowModified: typeof utils.isObjectShallowModified, isObject: typeof utils.isObject, anyChanged: typeof utils.anyChanged, noop: typeof utils.noop, makeHorizontalDeeper: typeof utils.makeHorizontalDeeper;
|
7
|
-
export { guid, isObjectShallowModified, isObject, anyChanged, noop, makeHorizontalDeeper, omitControls };
|
8
|
-
export declare function __uri(id: string): string;
|
9
|
-
export declare function cleanUndefined(obj: any): any;
|
10
|
-
/**
|
11
|
-
* 把 schema 处理一下传给 Preview 去渲染
|
12
|
-
* 给每个节点加个 $$id 这样方便编辑
|
13
|
-
* @param obj
|
14
|
-
*/
|
15
|
-
export declare function JSONPipeIn(obj: any): any;
|
16
|
-
export declare function JSONPipeOut(obj: any, filterHiddenProps?: boolean | ((key: string, prop: any) => boolean)): any;
|
17
|
-
export declare function JSONGetByPath(json: any, paths: Array<string>, stacks?: Array<any>): any;
|
18
|
-
export declare function JSONGetPathById(json: any, id: string): Array<string> | null;
|
19
|
-
export declare function JSONGetById(json: any, id: string): any;
|
20
|
-
export declare function JSONGetParentById(json: any, id: string, skipArray?: boolean): any;
|
21
|
-
export declare function JSONUpdate(json: any, id: string, value: any, replace?: boolean): any;
|
22
|
-
export declare function JSONDelete(json: any, id: string, pathsRef?: Array<string>, deleteIfEmpty?: boolean): any;
|
23
|
-
export declare function JSONMerge(json: any, target: any): any;
|
24
|
-
export declare function JSONChangeInArray(json: any, id: string, operation: (arr: Array<any>, node: any, index: number) => void): any;
|
25
|
-
export declare function JSONCanMoveUp(json: any, id: string): boolean;
|
26
|
-
export declare function JSONMoveUpById(json: any, id: string): any;
|
27
|
-
export declare function JSONCanMoveDown(json: any, id: string): boolean | 0;
|
28
|
-
export declare function JSONMoveDownById(json: any, id: string): any;
|
29
|
-
export declare function JSONDuplicate(json: any, id: string): any;
|
30
|
-
export declare function createElementFromHTML(htmlString: string): HTMLElement;
|
31
|
-
export declare function deepFind(schema: any, keyValue: any, result?: any): any;
|
32
|
-
/**
|
33
|
-
* 处理一下schema的$$commonSchema
|
34
|
-
* @param schema
|
35
|
-
* @valueWithConfig 带commonConfig 配置项的schema
|
36
|
-
*/
|
37
|
-
export declare function filterSchemaForConfig(schema: any, valueWithConfig?: any): any;
|
38
|
-
/**
|
39
|
-
* 给编辑器前处理一下,把 visibleOn, hiddenOn 什么的处理掉,要不没办法编辑。
|
40
|
-
* @param schema
|
41
|
-
*/
|
42
|
-
export declare function filterSchemaForEditor(schema: any): any;
|
43
|
-
export declare function blackList(list: Array<string>): (str: string) => boolean;
|
44
|
-
export declare function sortByList(list: Array<string>, attr: string | Function): (a: any, b: any) => 1 | -1 | 0;
|
45
|
-
export declare function persistGet(key: string, defaultValue?: any): any;
|
46
|
-
export declare function persistSet(key: string, value: any): void;
|
47
|
-
export declare function normalizeId(id: string): string;
|
48
|
-
export declare const autobind: typeof import("amis/lib/utils/autobind").autobindMethod;
|
49
|
-
export declare function addDragingClass(el: HTMLElement): void;
|
50
|
-
export declare function removeDragingClass(el: HTMLElement): void;
|
51
|
-
export declare function camelize(str: string): string;
|
52
|
-
export declare const reactionWithOldValue: <T>(expression: () => T, effect: (newValue: T, oldValue?: T | undefined) => void) => import("mobx").IReactionDisposer;
|
53
|
-
export declare function repeatArray<T>(child: T, count?: number): Array<T>;
|
54
|
-
export declare type DiffChange = Diff<any, any>;
|
55
|
-
export declare function diff(left: any, right: any, prefilter?: (currentPath: Array<string>, key: string) => boolean): Array<DiffChange> | undefined;
|
56
|
-
export declare function patchDiff(left: any, changes: Array<DiffChange> | undefined): any;
|
57
|
-
/**
|
58
|
-
* 遍历 schema
|
59
|
-
* @param json
|
60
|
-
* @param mapper
|
61
|
-
*/
|
62
|
-
export declare function JSONTraverse(json: any, mapper: (value: any, key: string | number, host: Object) => any): void;
|
package/rollup.config.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
3
|
-
import typescript from '@rollup/plugin-typescript';
|
4
|
-
|
5
|
-
export default {
|
6
|
-
input: 'src/index.ts',
|
7
|
-
output: {
|
8
|
-
dir: './dist',
|
9
|
-
entryFileNames: 'index.min.js',
|
10
|
-
format: 'umd',
|
11
|
-
name: 'amis-editor'
|
12
|
-
},
|
13
|
-
plugins: [
|
14
|
-
typescript({
|
15
|
-
exclude: 'node_modules/**',
|
16
|
-
declaration: true,
|
17
|
-
declarationDir: './dist',
|
18
|
-
rootDir: './src',
|
19
|
-
sourceMap: false,
|
20
|
-
allowJs: false
|
21
|
-
}),
|
22
|
-
commonjs({extensions: ['.js', '.ts'], transformMixedEsModules: true}) // the ".ts" extension is required
|
23
|
-
]
|
24
|
-
};
|