amis-editor 5.2.4-beta.31 → 5.2.5-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.d.ts +3 -107
- package/esm/component/BaseControl.js +2 -6
- package/esm/component/InputComponentName.js +1 -1
- package/esm/component/TableViewEditor.js +1 -1
- package/esm/icons/btn/btn-group.svg.js +1 -1
- package/esm/icons/btn/btn-select.svg.js +1 -1
- package/esm/icons/btn/btn-toolbar.svg.js +1 -1
- package/esm/icons/btn/button.svg.js +1 -1
- package/esm/icons/btn/dropdown-btn.svg.js +1 -1
- package/esm/icons/container/anchor-nav.svg.js +1 -1
- package/esm/icons/container/collapse.svg.js +1 -1
- package/esm/icons/container/container.svg.js +1 -1
- package/esm/icons/container/flex-container.svg.js +1 -1
- package/esm/icons/container/form-group.svg.js +1 -1
- package/esm/icons/container/grid.svg.js +1 -1
- package/esm/icons/container/iframe.svg.js +1 -1
- package/esm/icons/container/panel.svg.js +1 -1
- package/esm/icons/container/table-view.svg.js +1 -1
- package/esm/icons/container/tabs.svg.js +1 -1
- package/esm/icons/container/tooltip-wrapper.svg.js +1 -1
- package/esm/icons/container/web-component.svg.js +1 -1
- package/esm/icons/feat/audio.svg.js +1 -1
- package/esm/icons/feat/custom.svg.js +1 -1
- package/esm/icons/feat/each.svg.js +1 -1
- package/esm/icons/feat/form.svg.js +1 -1
- package/esm/icons/feat/nav.svg.js +1 -1
- package/esm/icons/feat/qrcode.svg.js +1 -1
- package/esm/icons/feat/service.svg.js +1 -1
- package/esm/icons/feat/table.svg.js +1 -1
- package/esm/icons/feat/tasks.svg.js +1 -1
- package/esm/icons/feat/video.svg.js +1 -1
- package/esm/icons/feat/wizard.svg.js +1 -1
- package/esm/icons/form/chained-select.svg.js +1 -1
- package/esm/icons/form/checkbox.svg.js +1 -1
- package/esm/icons/form/checkboxes.svg.js +1 -1
- package/esm/icons/form/combo.svg.js +1 -1
- package/esm/icons/form/condition-builder.svg.js +1 -1
- package/esm/icons/form/diff-editor.svg.js +1 -1
- package/esm/icons/form/editor.svg.js +1 -1
- package/esm/icons/form/formula.svg.js +1 -1
- package/esm/icons/form/hidden.svg.js +1 -1
- package/esm/icons/form/input-city.svg.js +1 -1
- package/esm/icons/form/input-color.svg.js +1 -1
- package/esm/icons/form/input-date-range.svg.js +1 -1
- package/esm/icons/form/input-date.svg.js +1 -1
- package/esm/icons/form/input-datetime.svg.js +1 -1
- package/esm/icons/form/input-email.svg.js +1 -1
- package/esm/icons/form/input-excel.svg.js +1 -1
- package/esm/icons/form/input-file.svg.js +1 -1
- package/esm/icons/form/input-group.svg.js +1 -1
- package/esm/icons/form/input-image.svg.js +1 -1
- package/esm/icons/form/input-kv.svg.js +1 -1
- package/esm/icons/form/input-month-range.svg.js +1 -1
- package/esm/icons/form/input-number.svg.js +1 -1
- package/esm/icons/form/input-password.svg.js +1 -1
- package/esm/icons/form/input-quarter-range.svg.js +1 -1
- package/esm/icons/form/input-range.svg.js +1 -1
- package/esm/icons/form/input-rating.svg.js +1 -1
- package/esm/icons/form/input-repeat.svg.js +1 -1
- package/esm/icons/form/input-rich-text.svg.js +1 -1
- package/esm/icons/form/input-tag.svg.js +1 -1
- package/esm/icons/form/input-text.svg.js +1 -1
- package/esm/icons/form/input-time-range.svg.js +1 -1
- package/esm/icons/form/input-time.svg.js +1 -1
- package/esm/icons/form/input-tree.svg.js +1 -1
- package/esm/icons/form/input-url.svg.js +1 -1
- package/esm/icons/form/input-year.svg.js +1 -1
- package/esm/icons/form/inputArray.svg.js +1 -1
- package/esm/icons/form/list-select.svg.js +1 -1
- package/esm/icons/form/location-picker.svg.js +1 -1
- package/esm/icons/form/matrix-checkboxes.svg.js +1 -1
- package/esm/icons/form/month.svg.js +1 -1
- package/esm/icons/form/nested-select.svg.js +1 -1
- package/esm/icons/form/picker.svg.js +1 -1
- package/esm/icons/form/quarter.svg.js +1 -1
- package/esm/icons/form/radios.svg.js +1 -1
- package/esm/icons/form/select.svg.js +1 -1
- package/esm/icons/form/static.svg.js +1 -1
- package/esm/icons/form/sub-form.svg.js +1 -1
- package/esm/icons/form/switch.svg.js +1 -1
- package/esm/icons/form/tabs-transfer.svg.js +1 -1
- package/esm/icons/form/textarea.svg.js +1 -1
- package/esm/icons/form/transfer.svg.js +1 -1
- package/esm/icons/form/tree-select.svg.js +1 -1
- package/esm/icons/form/uuid.svg.js +1 -1
- package/esm/icons/index.js +5 -1
- package/esm/icons/layout/layout-1with2.svg.js +1 -1
- package/esm/icons/layout/layout-2cols.svg.js +1 -1
- package/esm/icons/layout/layout-2row.svg.js +1 -1
- package/esm/icons/layout/layout-2with1.svg.js +1 -1
- package/esm/icons/layout/layout-3cols.svg.js +1 -1
- package/esm/icons/layout/layout-3row.svg.js +1 -1
- package/esm/icons/layout/layout-absolute.svg.js +1 -1
- package/esm/icons/layout/layout-fixed-top.svg.js +31 -0
- package/esm/icons/layout/layout-fixed.svg.js +1 -1
- package/esm/icons/layout/layout-free-container.svg.js +31 -0
- package/esm/icons/layout/layout-full.svg.js +1 -1
- package/esm/icons/layout/layout1-2.svg.js +1 -1
- package/esm/icons/layout/layout2-1.svg.js +1 -1
- package/esm/icons/layout/layout3-1.svg.js +1 -1
- package/esm/icons/layout/layout3-2.svg.js +1 -1
- package/esm/icons/other/divider.svg.js +1 -1
- package/esm/icons/other/property-sheet.svg.js +1 -1
- package/esm/icons/other/tooltip.svg.js +1 -1
- package/esm/icons/show/URL.svg.js +1 -1
- package/esm/icons/show/avatar.svg.js +1 -1
- package/esm/icons/show/breadcrumb.svg.js +1 -1
- package/esm/icons/show/card.svg.js +1 -1
- package/esm/icons/show/cards.svg.js +1 -1
- package/esm/icons/show/carousel.svg.js +1 -1
- package/esm/icons/show/chart.svg.js +1 -1
- package/esm/icons/show/code.svg.js +1 -1
- package/esm/icons/show/date.svg.js +1 -1
- package/esm/icons/show/datetime.svg.js +1 -1
- package/esm/icons/show/image.svg.js +1 -1
- package/esm/icons/show/images.svg.js +1 -1
- package/esm/icons/show/json-view.svg.js +1 -1
- package/esm/icons/show/list.svg.js +1 -1
- package/esm/icons/show/log.svg.js +1 -1
- package/esm/icons/show/mapping.svg.js +1 -1
- package/esm/icons/show/markdown.svg.js +1 -1
- package/esm/icons/show/plain.svg.js +1 -1
- package/esm/icons/show/progress.svg.js +1 -1
- package/esm/icons/show/sparkline.svg.js +1 -1
- package/esm/icons/show/status.svg.js +1 -1
- package/esm/icons/show/steps.svg.js +1 -1
- package/esm/icons/show/time.svg.js +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.js +5 -2
- package/esm/locale/en-US.js +120 -2
- package/esm/locale/zh-CN.js +121 -2
- package/esm/plugin/Alert.d.ts +1 -0
- package/esm/plugin/Alert.js +8 -1
- package/esm/plugin/AnchorNav.d.ts +2 -0
- package/esm/plugin/AnchorNav.js +5 -1
- package/esm/plugin/Audio.d.ts +1 -0
- package/esm/plugin/Audio.js +7 -1
- package/esm/plugin/Avatar.d.ts +1 -0
- package/esm/plugin/Avatar.js +7 -1
- package/esm/plugin/Breadcrumb.js +1 -1
- package/esm/plugin/Button.d.ts +1 -0
- package/esm/plugin/Button.js +7 -1
- package/esm/plugin/ButtonGroup.d.ts +1 -0
- package/esm/plugin/ButtonGroup.js +7 -1
- package/esm/plugin/CRUD.d.ts +22 -0
- package/esm/plugin/CRUD.js +111 -53
- package/esm/plugin/CRUD2.js +3 -1
- package/esm/plugin/Card.d.ts +1 -0
- package/esm/plugin/Card.js +7 -1
- package/esm/plugin/Card2.d.ts +1 -0
- package/esm/plugin/Card2.js +7 -1
- package/esm/plugin/Cards.d.ts +1 -0
- package/esm/plugin/Cards.js +7 -1
- package/esm/plugin/Carousel.js +1 -1
- package/esm/plugin/Chart.js +2 -2
- package/esm/plugin/CodeView.js +1 -1
- package/esm/plugin/Collapse.d.ts +2 -0
- package/esm/plugin/Collapse.js +2 -1
- package/esm/plugin/CollapseGroup.d.ts +4 -0
- package/esm/plugin/CollapseGroup.js +4 -1
- package/esm/plugin/ColumnToggler.js +1 -1
- package/esm/plugin/Container.d.ts +1 -1
- package/esm/plugin/Container.js +11 -9
- package/esm/plugin/Custom.js +1 -1
- package/esm/plugin/CustomRegion.d.ts +2 -0
- package/esm/plugin/CustomRegion.js +3 -2
- package/esm/plugin/Date.d.ts +1 -0
- package/esm/plugin/Date.js +7 -1
- package/esm/plugin/Datetime.d.ts +1 -0
- package/esm/plugin/Datetime.js +7 -1
- package/esm/plugin/Dialog.js +2 -2
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +7 -1
- package/esm/plugin/Drawer.js +2 -2
- package/esm/plugin/DropDownButton.d.ts +1 -0
- package/esm/plugin/DropDownButton.js +7 -1
- package/esm/plugin/Each.d.ts +3 -0
- package/esm/plugin/Each.js +8 -1
- package/esm/plugin/Flex.d.ts +1 -0
- package/esm/plugin/Flex.js +7 -1
- package/esm/plugin/Form/ButtonGroupSelect.js +2 -2
- package/esm/plugin/Form/ButtonToolbar.d.ts +1 -0
- package/esm/plugin/Form/ButtonToolbar.js +7 -1
- package/esm/plugin/Form/ChainedSelect.js +1 -1
- package/esm/plugin/Form/Checkbox.d.ts +1 -0
- package/esm/plugin/Form/Checkbox.js +7 -1
- package/esm/plugin/Form/Checkboxes.js +1 -1
- package/esm/plugin/Form/CodeEditor.js +1 -1
- package/esm/plugin/Form/Combo.js +4 -3
- package/esm/plugin/Form/ConditionBuilder.js +1 -1
- package/esm/plugin/Form/Control.d.ts +1 -0
- package/esm/plugin/Form/Control.js +2 -1
- package/esm/plugin/Form/DiffEditor.js +1 -1
- package/esm/plugin/Form/FieldSet.js +1 -1
- package/esm/plugin/Form/Form.js +2 -2
- package/esm/plugin/Form/Formula.js +1 -1
- package/esm/plugin/Form/Group.js +1 -1
- package/esm/plugin/Form/Hidden.js +1 -1
- package/esm/plugin/Form/InputArray.js +1 -1
- package/esm/plugin/Form/InputCity.d.ts +1 -0
- package/esm/plugin/Form/InputCity.js +7 -1
- package/esm/plugin/Form/InputColor.d.ts +1 -0
- package/esm/plugin/Form/InputColor.js +7 -1
- package/esm/plugin/Form/InputDate.js +1 -1
- package/esm/plugin/Form/InputDateRange.js +1 -1
- package/esm/plugin/Form/InputDateTime.js +1 -1
- package/esm/plugin/Form/InputDateTimeRange.js +1 -1
- package/esm/plugin/Form/InputEmail.js +1 -1
- package/esm/plugin/Form/InputExcel.js +1 -1
- package/esm/plugin/Form/InputFile.js +1 -1
- package/esm/plugin/Form/InputGroup.d.ts +1 -0
- package/esm/plugin/Form/InputGroup.js +7 -1
- package/esm/plugin/Form/InputImage.js +1 -1
- package/esm/plugin/Form/InputKV.d.ts +1 -0
- package/esm/plugin/Form/InputKV.js +7 -1
- package/esm/plugin/Form/InputMonth.js +1 -1
- package/esm/plugin/Form/InputMonthRange.js +1 -1
- package/esm/plugin/Form/InputNumber.js +1 -1
- package/esm/plugin/Form/InputPassword.js +1 -1
- package/esm/plugin/Form/InputQuarter.js +1 -1
- package/esm/plugin/Form/InputQuarterRange.js +1 -1
- package/esm/plugin/Form/InputRange.js +1 -1
- package/esm/plugin/Form/InputRating.js +1 -1
- package/esm/plugin/Form/InputRepeat.js +1 -1
- package/esm/plugin/Form/InputRichText.d.ts +3 -1
- package/esm/plugin/Form/InputRichText.js +207 -110
- package/esm/plugin/Form/InputSubForm.js +1 -1
- package/esm/plugin/Form/InputTable.d.ts +26 -1
- package/esm/plugin/Form/InputTable.js +607 -216
- package/esm/plugin/Form/InputTag.d.ts +1 -0
- package/esm/plugin/Form/InputTag.js +7 -1
- package/esm/plugin/Form/InputText.d.ts +1 -0
- package/esm/plugin/Form/InputText.js +7 -1
- package/esm/plugin/Form/InputTime.js +1 -1
- package/esm/plugin/Form/InputTimeRange.js +1 -1
- package/esm/plugin/Form/InputTree.js +1 -1
- package/esm/plugin/Form/InputURL.js +1 -1
- package/esm/plugin/Form/InputYear.js +1 -1
- package/esm/plugin/Form/InputYearRange.js +1 -1
- package/esm/plugin/Form/Item.js +1 -1
- package/esm/plugin/Form/ListSelect.js +1 -1
- package/esm/plugin/Form/LocationPicker.js +1 -1
- package/esm/plugin/Form/MatrixCheckboxes.js +1 -1
- package/esm/plugin/Form/NestedSelect.js +1 -1
- package/esm/plugin/Form/Picker.js +1 -1
- package/esm/plugin/Form/Radios.d.ts +1 -0
- package/esm/plugin/Form/Radios.js +7 -1
- package/esm/plugin/Form/Select.d.ts +1 -0
- package/esm/plugin/Form/Select.js +7 -1
- package/esm/plugin/Form/Static.d.ts +1 -0
- package/esm/plugin/Form/Static.js +8 -2
- package/esm/plugin/Form/Switch.d.ts +1 -0
- package/esm/plugin/Form/Switch.js +7 -1
- package/esm/plugin/Form/TabsTransfer.js +1 -1
- package/esm/plugin/Form/Textarea.js +1 -1
- package/esm/plugin/Form/Transfer.js +2 -2
- package/esm/plugin/Form/TreeSelect.js +1 -1
- package/esm/plugin/Form/UUID.js +1 -1
- package/esm/plugin/Grid.d.ts +2 -0
- package/esm/plugin/Grid.js +13 -1
- package/esm/plugin/HBox.d.ts +1 -0
- package/esm/plugin/HBox.js +7 -1
- package/esm/plugin/IFrame.js +1 -1
- package/esm/plugin/Image.d.ts +1 -0
- package/esm/plugin/Image.js +7 -1
- package/esm/plugin/Images.d.ts +1 -0
- package/esm/plugin/Images.js +7 -1
- package/esm/plugin/Json.js +1 -1
- package/esm/plugin/Layout/FlexPluginBase.js +5 -3
- package/esm/plugin/Layout/Layout1_2_v4.d.ts +1 -0
- package/esm/plugin/Layout/Layout_fixed.d.ts +1 -0
- package/esm/plugin/Layout/Layout_fixed.js +7 -1
- package/esm/plugin/Layout/Layout_free_container.js +2 -2
- package/esm/plugin/Layout/Layout_sorption_container.d.ts +1 -0
- package/esm/plugin/Layout/Layout_sorption_container.js +8 -2
- package/esm/plugin/Link.d.ts +1 -0
- package/esm/plugin/Link.js +7 -1
- package/esm/plugin/List.d.ts +3 -0
- package/esm/plugin/List.js +9 -2
- package/esm/plugin/ListItem.d.ts +1 -0
- package/esm/plugin/ListItem.js +7 -1
- package/esm/plugin/Log.js +1 -1
- package/esm/plugin/Mapping.d.ts +1 -0
- package/esm/plugin/Mapping.js +7 -1
- package/esm/plugin/Markdown.d.ts +1 -0
- package/esm/plugin/Markdown.js +7 -1
- package/esm/plugin/Nav.d.ts +6 -2
- package/esm/plugin/Nav.js +225 -28
- package/esm/plugin/Operation.js +1 -1
- package/esm/plugin/Others/Action.js +4 -4
- package/esm/plugin/Others/TableCell.js +1 -1
- package/esm/plugin/Page.d.ts +2 -0
- package/esm/plugin/Page.js +16 -6
- package/esm/plugin/Pagination.js +1 -1
- package/esm/plugin/Panel.js +1 -1
- package/esm/plugin/Plain.d.ts +3 -0
- package/esm/plugin/Plain.js +62 -2
- package/esm/plugin/Progress.d.ts +1 -0
- package/esm/plugin/Progress.js +7 -1
- package/esm/plugin/Property.js +1 -1
- package/esm/plugin/QRCode.d.ts +1 -0
- package/esm/plugin/QRCode.js +7 -1
- package/esm/plugin/Reset.js +1 -1
- package/esm/plugin/Service.d.ts +2 -0
- package/esm/plugin/Service.js +3 -1
- package/esm/plugin/Sparkline.js +1 -1
- package/esm/plugin/Status.d.ts +13 -0
- package/esm/plugin/Status.js +235 -28
- package/esm/plugin/Steps.js +1 -1
- package/esm/plugin/Submit.js +1 -1
- package/esm/plugin/Table.js +1 -1
- package/esm/plugin/Table2.js +4 -1
- package/esm/plugin/TableCell2.js +1 -1
- package/esm/plugin/TableView.d.ts +6 -0
- package/esm/plugin/TableView.js +10 -1
- package/esm/plugin/Tabs.js +1 -1
- package/esm/plugin/Tag.js +1 -1
- package/esm/plugin/Tasks.js +5 -4
- package/esm/plugin/Time.js +1 -1
- package/esm/plugin/Timeline.js +4 -1
- package/esm/plugin/TooltipWrapper.d.ts +3 -0
- package/esm/plugin/TooltipWrapper.js +8 -1
- package/esm/plugin/Tpl.d.ts +1 -0
- package/esm/plugin/Tpl.js +7 -1
- package/esm/plugin/Video.js +1 -1
- package/esm/plugin/WebComponent.js +1 -1
- package/esm/plugin/Wizard.js +3 -3
- package/esm/plugin/Wrapper.d.ts +1 -0
- package/esm/plugin/Wrapper.js +7 -1
- package/esm/renderer/APIControl.js +1 -1
- package/esm/renderer/BadgeControl.d.ts +2 -2
- package/esm/renderer/BadgeControl.js +1 -1
- package/esm/renderer/DataBindingControl.js +1 -1
- package/esm/renderer/DataMappingControl.js +1 -1
- package/esm/renderer/DataPickerControl.js +1 -1
- package/esm/renderer/DateShortCutControl.js +1 -1
- package/esm/renderer/ExpressionFormulaControl.js +1 -1
- package/esm/renderer/FeatureControl.js +1 -1
- package/esm/renderer/FormulaControl.js +1 -1
- package/esm/renderer/GoConfigControl.js +1 -1
- package/esm/renderer/MapSourceControl.js +1 -1
- package/esm/renderer/NavBadgeControl.d.ts +82 -0
- package/esm/renderer/NavBadgeControl.js +318 -0
- package/esm/renderer/NavDefaultActive.d.ts +19 -0
- package/esm/renderer/NavDefaultActive.js +114 -0
- package/esm/renderer/NavSourceControl.d.ts +68 -0
- package/esm/renderer/NavSourceControl.js +464 -0
- package/esm/renderer/OptionControl.js +3 -3
- package/esm/renderer/RangePartsControl.js +1 -1
- package/esm/renderer/StatusControl.js +1 -1
- package/esm/renderer/SwitchMoreControl.js +1 -1
- package/esm/renderer/TimelineItemControl.js +1 -1
- package/esm/renderer/TransferTableControl.js +3 -3
- package/esm/renderer/TreeOptionControl.js +15 -8
- package/esm/renderer/ValidationControl.js +1 -1
- package/esm/renderer/ValidationItem.js +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +1 -1
- package/esm/renderer/event-control/action-config-panel.js +1 -1
- package/esm/renderer/event-control/comp-action-select.js +1 -1
- package/esm/renderer/event-control/helper.js +342 -215
- package/esm/renderer/event-control/index.js +33 -11
- package/esm/renderer/style-control/Background.js +1 -1
- package/esm/renderer/style-control/Border.js +1 -1
- package/esm/renderer/style-control/BoxModel.js +1 -1
- package/esm/renderer/style-control/BoxShadow.js +1 -1
- package/esm/renderer/style-control/Display.js +1 -1
- package/esm/renderer/style-control/Font.js +1 -1
- package/esm/renderer/style-control/InsetBoxModel.js +1 -1
- package/esm/renderer/style-control/ThemeClassName.js +1 -1
- package/esm/renderer/style-control/font-family.js +1 -1
- package/esm/renderer/style-control/transformation.js +1 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +1 -1
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/esm/renderer/textarea-formula/plugin.js +1 -1
- package/esm/renderer/textarea-formula/utils.d.ts +1 -1
- package/esm/renderer/textarea-formula/utils.js +75 -59
- package/esm/tpl/api.js +1 -1
- package/esm/tpl/common.js +49 -20
- package/esm/tpl/horizontal.js +1 -1
- package/esm/tpl/index.d.ts +1 -0
- package/esm/tpl/layout.js +7 -5
- package/esm/tpl/options.js +58 -53
- package/esm/tpl/remark.d.ts +1 -0
- package/esm/tpl/remark.js +19 -0
- package/esm/tpl/style.js +2 -2
- package/esm/tpl/validations.js +1 -1
- package/esm/util.js +1 -1
- package/esm/validator.js +1 -1
- package/lib/component/BaseControl.d.ts +3 -107
- package/lib/component/BaseControl.js +2 -6
- package/lib/component/InputComponentName.js +1 -1
- package/lib/component/TableViewEditor.js +1 -1
- package/lib/icons/btn/btn-group.svg.js +1 -1
- package/lib/icons/btn/btn-select.svg.js +1 -1
- package/lib/icons/btn/btn-toolbar.svg.js +1 -1
- package/lib/icons/btn/button.svg.js +1 -1
- package/lib/icons/btn/dropdown-btn.svg.js +1 -1
- package/lib/icons/container/anchor-nav.svg.js +1 -1
- package/lib/icons/container/collapse.svg.js +1 -1
- package/lib/icons/container/container.svg.js +1 -1
- package/lib/icons/container/flex-container.svg.js +1 -1
- package/lib/icons/container/form-group.svg.js +1 -1
- package/lib/icons/container/grid.svg.js +1 -1
- package/lib/icons/container/iframe.svg.js +1 -1
- package/lib/icons/container/panel.svg.js +1 -1
- package/lib/icons/container/table-view.svg.js +1 -1
- package/lib/icons/container/tabs.svg.js +1 -1
- package/lib/icons/container/tooltip-wrapper.svg.js +1 -1
- package/lib/icons/container/web-component.svg.js +1 -1
- package/lib/icons/feat/audio.svg.js +1 -1
- package/lib/icons/feat/custom.svg.js +1 -1
- package/lib/icons/feat/each.svg.js +1 -1
- package/lib/icons/feat/form.svg.js +1 -1
- package/lib/icons/feat/nav.svg.js +1 -1
- package/lib/icons/feat/qrcode.svg.js +1 -1
- package/lib/icons/feat/service.svg.js +1 -1
- package/lib/icons/feat/table.svg.js +1 -1
- package/lib/icons/feat/tasks.svg.js +1 -1
- package/lib/icons/feat/video.svg.js +1 -1
- package/lib/icons/feat/wizard.svg.js +1 -1
- package/lib/icons/form/chained-select.svg.js +1 -1
- package/lib/icons/form/checkbox.svg.js +1 -1
- package/lib/icons/form/checkboxes.svg.js +1 -1
- package/lib/icons/form/combo.svg.js +1 -1
- package/lib/icons/form/condition-builder.svg.js +1 -1
- package/lib/icons/form/diff-editor.svg.js +1 -1
- package/lib/icons/form/editor.svg.js +1 -1
- package/lib/icons/form/formula.svg.js +1 -1
- package/lib/icons/form/hidden.svg.js +1 -1
- package/lib/icons/form/input-city.svg.js +1 -1
- package/lib/icons/form/input-color.svg.js +1 -1
- package/lib/icons/form/input-date-range.svg.js +1 -1
- package/lib/icons/form/input-date.svg.js +1 -1
- package/lib/icons/form/input-datetime.svg.js +1 -1
- package/lib/icons/form/input-email.svg.js +1 -1
- package/lib/icons/form/input-excel.svg.js +1 -1
- package/lib/icons/form/input-file.svg.js +1 -1
- package/lib/icons/form/input-group.svg.js +1 -1
- package/lib/icons/form/input-image.svg.js +1 -1
- package/lib/icons/form/input-kv.svg.js +1 -1
- package/lib/icons/form/input-month-range.svg.js +1 -1
- package/lib/icons/form/input-number.svg.js +1 -1
- package/lib/icons/form/input-password.svg.js +1 -1
- package/lib/icons/form/input-quarter-range.svg.js +1 -1
- package/lib/icons/form/input-range.svg.js +1 -1
- package/lib/icons/form/input-rating.svg.js +1 -1
- package/lib/icons/form/input-repeat.svg.js +1 -1
- package/lib/icons/form/input-rich-text.svg.js +1 -1
- package/lib/icons/form/input-tag.svg.js +1 -1
- package/lib/icons/form/input-text.svg.js +1 -1
- package/lib/icons/form/input-time-range.svg.js +1 -1
- package/lib/icons/form/input-time.svg.js +1 -1
- package/lib/icons/form/input-tree.svg.js +1 -1
- package/lib/icons/form/input-url.svg.js +1 -1
- package/lib/icons/form/input-year.svg.js +1 -1
- package/lib/icons/form/inputArray.svg.js +1 -1
- package/lib/icons/form/list-select.svg.js +1 -1
- package/lib/icons/form/location-picker.svg.js +1 -1
- package/lib/icons/form/matrix-checkboxes.svg.js +1 -1
- package/lib/icons/form/month.svg.js +1 -1
- package/lib/icons/form/nested-select.svg.js +1 -1
- package/lib/icons/form/picker.svg.js +1 -1
- package/lib/icons/form/quarter.svg.js +1 -1
- package/lib/icons/form/radios.svg.js +1 -1
- package/lib/icons/form/select.svg.js +1 -1
- package/lib/icons/form/static.svg.js +1 -1
- package/lib/icons/form/sub-form.svg.js +1 -1
- package/lib/icons/form/switch.svg.js +1 -1
- package/lib/icons/form/tabs-transfer.svg.js +1 -1
- package/lib/icons/form/textarea.svg.js +1 -1
- package/lib/icons/form/transfer.svg.js +1 -1
- package/lib/icons/form/tree-select.svg.js +1 -1
- package/lib/icons/form/uuid.svg.js +1 -1
- package/lib/icons/index.js +5 -1
- package/lib/icons/layout/layout-1with2.svg.js +1 -1
- package/lib/icons/layout/layout-2cols.svg.js +1 -1
- package/lib/icons/layout/layout-2row.svg.js +1 -1
- package/lib/icons/layout/layout-2with1.svg.js +1 -1
- package/lib/icons/layout/layout-3cols.svg.js +1 -1
- package/lib/icons/layout/layout-3row.svg.js +1 -1
- package/lib/icons/layout/layout-absolute.svg.js +1 -1
- package/lib/icons/layout/layout-fixed-top.svg.js +55 -0
- package/lib/icons/layout/layout-fixed.svg.js +1 -1
- package/lib/icons/layout/layout-free-container.svg.js +55 -0
- package/lib/icons/layout/layout-full.svg.js +1 -1
- package/lib/icons/layout/layout1-2.svg.js +1 -1
- package/lib/icons/layout/layout2-1.svg.js +1 -1
- package/lib/icons/layout/layout3-1.svg.js +1 -1
- package/lib/icons/layout/layout3-2.svg.js +1 -1
- package/lib/icons/other/divider.svg.js +1 -1
- package/lib/icons/other/property-sheet.svg.js +1 -1
- package/lib/icons/other/tooltip.svg.js +1 -1
- package/lib/icons/show/URL.svg.js +1 -1
- package/lib/icons/show/avatar.svg.js +1 -1
- package/lib/icons/show/breadcrumb.svg.js +1 -1
- package/lib/icons/show/card.svg.js +1 -1
- package/lib/icons/show/cards.svg.js +1 -1
- package/lib/icons/show/carousel.svg.js +1 -1
- package/lib/icons/show/chart.svg.js +1 -1
- package/lib/icons/show/code.svg.js +1 -1
- package/lib/icons/show/date.svg.js +1 -1
- package/lib/icons/show/datetime.svg.js +1 -1
- package/lib/icons/show/image.svg.js +1 -1
- package/lib/icons/show/images.svg.js +1 -1
- package/lib/icons/show/json-view.svg.js +1 -1
- package/lib/icons/show/list.svg.js +1 -1
- package/lib/icons/show/log.svg.js +1 -1
- package/lib/icons/show/mapping.svg.js +1 -1
- package/lib/icons/show/markdown.svg.js +1 -1
- package/lib/icons/show/plain.svg.js +1 -1
- package/lib/icons/show/progress.svg.js +1 -1
- package/lib/icons/show/sparkline.svg.js +1 -1
- package/lib/icons/show/status.svg.js +1 -1
- package/lib/icons/show/steps.svg.js +1 -1
- package/lib/icons/show/time.svg.js +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.js +5 -2
- package/lib/locale/en-US.js +120 -2
- package/lib/locale/zh-CN.js +121 -2
- package/lib/plugin/Alert.d.ts +1 -0
- package/lib/plugin/Alert.js +8 -1
- package/lib/plugin/AnchorNav.d.ts +2 -0
- package/lib/plugin/AnchorNav.js +5 -1
- package/lib/plugin/Audio.d.ts +1 -0
- package/lib/plugin/Audio.js +7 -1
- package/lib/plugin/Avatar.d.ts +1 -0
- package/lib/plugin/Avatar.js +7 -1
- package/lib/plugin/Breadcrumb.js +1 -1
- package/lib/plugin/Button.d.ts +1 -0
- package/lib/plugin/Button.js +7 -1
- package/lib/plugin/ButtonGroup.d.ts +1 -0
- package/lib/plugin/ButtonGroup.js +7 -1
- package/lib/plugin/CRUD.d.ts +22 -0
- package/lib/plugin/CRUD.js +110 -51
- package/lib/plugin/CRUD2.js +3 -1
- package/lib/plugin/Card.d.ts +1 -0
- package/lib/plugin/Card.js +7 -1
- package/lib/plugin/Card2.d.ts +1 -0
- package/lib/plugin/Card2.js +7 -1
- package/lib/plugin/Cards.d.ts +1 -0
- package/lib/plugin/Cards.js +7 -1
- package/lib/plugin/Carousel.js +1 -1
- package/lib/plugin/Chart.js +2 -2
- package/lib/plugin/CodeView.js +1 -1
- package/lib/plugin/Collapse.d.ts +2 -0
- package/lib/plugin/Collapse.js +2 -1
- package/lib/plugin/CollapseGroup.d.ts +4 -0
- package/lib/plugin/CollapseGroup.js +4 -1
- package/lib/plugin/ColumnToggler.js +1 -1
- package/lib/plugin/Container.d.ts +1 -1
- package/lib/plugin/Container.js +11 -9
- package/lib/plugin/Custom.js +1 -1
- package/lib/plugin/CustomRegion.d.ts +2 -0
- package/lib/plugin/CustomRegion.js +3 -2
- package/lib/plugin/Date.d.ts +1 -0
- package/lib/plugin/Date.js +7 -1
- package/lib/plugin/Datetime.d.ts +1 -0
- package/lib/plugin/Datetime.js +7 -1
- package/lib/plugin/Dialog.js +2 -2
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +7 -1
- package/lib/plugin/Drawer.js +2 -2
- package/lib/plugin/DropDownButton.d.ts +1 -0
- package/lib/plugin/DropDownButton.js +7 -1
- package/lib/plugin/Each.d.ts +3 -0
- package/lib/plugin/Each.js +8 -1
- package/lib/plugin/Flex.d.ts +1 -0
- package/lib/plugin/Flex.js +7 -1
- package/lib/plugin/Form/ButtonGroupSelect.js +2 -2
- package/lib/plugin/Form/ButtonToolbar.d.ts +1 -0
- package/lib/plugin/Form/ButtonToolbar.js +7 -1
- package/lib/plugin/Form/ChainedSelect.js +1 -1
- package/lib/plugin/Form/Checkbox.d.ts +1 -0
- package/lib/plugin/Form/Checkbox.js +7 -1
- package/lib/plugin/Form/Checkboxes.js +1 -1
- package/lib/plugin/Form/CodeEditor.js +1 -1
- package/lib/plugin/Form/Combo.js +4 -3
- package/lib/plugin/Form/ConditionBuilder.js +1 -1
- package/lib/plugin/Form/Control.d.ts +1 -0
- package/lib/plugin/Form/Control.js +2 -1
- package/lib/plugin/Form/DiffEditor.js +1 -1
- package/lib/plugin/Form/FieldSet.js +1 -1
- package/lib/plugin/Form/Form.js +2 -2
- package/lib/plugin/Form/Formula.js +1 -1
- package/lib/plugin/Form/Group.js +1 -1
- package/lib/plugin/Form/Hidden.js +1 -1
- package/lib/plugin/Form/InputArray.js +1 -1
- package/lib/plugin/Form/InputCity.d.ts +1 -0
- package/lib/plugin/Form/InputCity.js +7 -1
- package/lib/plugin/Form/InputColor.d.ts +1 -0
- package/lib/plugin/Form/InputColor.js +7 -1
- package/lib/plugin/Form/InputDate.js +1 -1
- package/lib/plugin/Form/InputDateRange.js +1 -1
- package/lib/plugin/Form/InputDateTime.js +1 -1
- package/lib/plugin/Form/InputDateTimeRange.js +1 -1
- package/lib/plugin/Form/InputEmail.js +1 -1
- package/lib/plugin/Form/InputExcel.js +1 -1
- package/lib/plugin/Form/InputFile.js +1 -1
- package/lib/plugin/Form/InputGroup.d.ts +1 -1
- package/lib/plugin/Form/InputGroup.js +7 -1
- package/lib/plugin/Form/InputImage.js +1 -1
- package/lib/plugin/Form/InputKV.d.ts +1 -0
- package/lib/plugin/Form/InputKV.js +7 -1
- package/lib/plugin/Form/InputMonth.js +1 -1
- package/lib/plugin/Form/InputMonthRange.js +1 -1
- package/lib/plugin/Form/InputNumber.js +1 -1
- package/lib/plugin/Form/InputPassword.js +1 -1
- package/lib/plugin/Form/InputQuarter.js +1 -1
- package/lib/plugin/Form/InputQuarterRange.js +1 -1
- package/lib/plugin/Form/InputRange.js +1 -1
- package/lib/plugin/Form/InputRating.js +1 -1
- package/lib/plugin/Form/InputRepeat.js +1 -1
- package/lib/plugin/Form/InputRichText.d.ts +3 -1
- package/lib/plugin/Form/InputRichText.js +205 -108
- package/lib/plugin/Form/InputSubForm.js +1 -1
- package/lib/plugin/Form/InputTable.d.ts +26 -1
- package/lib/plugin/Form/InputTable.js +607 -216
- package/lib/plugin/Form/InputTag.d.ts +1 -0
- package/lib/plugin/Form/InputTag.js +7 -1
- package/lib/plugin/Form/InputText.d.ts +1 -0
- package/lib/plugin/Form/InputText.js +7 -1
- package/lib/plugin/Form/InputTime.js +1 -1
- package/lib/plugin/Form/InputTimeRange.js +1 -1
- package/lib/plugin/Form/InputTree.js +1 -1
- package/lib/plugin/Form/InputURL.js +1 -1
- package/lib/plugin/Form/InputYear.js +1 -1
- package/lib/plugin/Form/InputYearRange.js +1 -1
- package/lib/plugin/Form/Item.js +1 -1
- package/lib/plugin/Form/ListSelect.js +1 -1
- package/lib/plugin/Form/LocationPicker.js +1 -1
- package/lib/plugin/Form/MatrixCheckboxes.js +1 -1
- package/lib/plugin/Form/NestedSelect.js +1 -1
- package/lib/plugin/Form/Picker.js +1 -1
- package/lib/plugin/Form/Radios.d.ts +1 -0
- package/lib/plugin/Form/Radios.js +7 -1
- package/lib/plugin/Form/Select.d.ts +1 -0
- package/lib/plugin/Form/Select.js +7 -1
- package/lib/plugin/Form/Static.d.ts +1 -0
- package/lib/plugin/Form/Static.js +8 -2
- package/lib/plugin/Form/Switch.d.ts +1 -0
- package/lib/plugin/Form/Switch.js +7 -1
- package/lib/plugin/Form/TabsTransfer.js +1 -1
- package/lib/plugin/Form/Textarea.js +1 -1
- package/lib/plugin/Form/Transfer.js +2 -2
- package/lib/plugin/Form/TreeSelect.js +1 -1
- package/lib/plugin/Form/UUID.js +1 -1
- package/lib/plugin/Grid.d.ts +2 -0
- package/lib/plugin/Grid.js +13 -1
- package/lib/plugin/HBox.d.ts +1 -0
- package/lib/plugin/HBox.js +7 -1
- package/lib/plugin/IFrame.js +1 -1
- package/lib/plugin/Image.d.ts +1 -0
- package/lib/plugin/Image.js +7 -1
- package/lib/plugin/Images.d.ts +1 -0
- package/lib/plugin/Images.js +7 -1
- package/lib/plugin/Json.js +1 -1
- package/lib/plugin/Layout/FlexPluginBase.js +5 -3
- package/lib/plugin/Layout/Layout1_2_v4.d.ts +1 -0
- package/lib/plugin/Layout/Layout_fixed.d.ts +1 -0
- package/lib/plugin/Layout/Layout_fixed.js +7 -1
- package/lib/plugin/Layout/Layout_free_container.js +2 -2
- package/lib/plugin/Layout/Layout_sorption_container.d.ts +1 -0
- package/lib/plugin/Layout/Layout_sorption_container.js +8 -2
- package/lib/plugin/Link.d.ts +1 -0
- package/lib/plugin/Link.js +7 -1
- package/lib/plugin/List.d.ts +3 -0
- package/lib/plugin/List.js +9 -2
- package/lib/plugin/ListItem.d.ts +1 -0
- package/lib/plugin/ListItem.js +7 -1
- package/lib/plugin/Log.js +1 -1
- package/lib/plugin/Mapping.d.ts +1 -0
- package/lib/plugin/Mapping.js +7 -1
- package/lib/plugin/Markdown.d.ts +1 -0
- package/lib/plugin/Markdown.js +7 -1
- package/lib/plugin/Nav.d.ts +6 -2
- package/lib/plugin/Nav.js +228 -27
- package/lib/plugin/Operation.js +1 -1
- package/lib/plugin/Others/Action.js +4 -4
- package/lib/plugin/Others/TableCell.js +1 -1
- package/lib/plugin/Page.d.ts +2 -0
- package/lib/plugin/Page.js +16 -6
- package/lib/plugin/Pagination.js +1 -1
- package/lib/plugin/Panel.js +1 -1
- package/lib/plugin/Plain.d.ts +3 -0
- package/lib/plugin/Plain.js +61 -1
- package/lib/plugin/Progress.d.ts +1 -0
- package/lib/plugin/Progress.js +7 -1
- package/lib/plugin/Property.js +1 -1
- package/lib/plugin/QRCode.d.ts +1 -0
- package/lib/plugin/QRCode.js +7 -1
- package/lib/plugin/Reset.js +1 -1
- package/lib/plugin/Service.d.ts +2 -0
- package/lib/plugin/Service.js +3 -1
- package/lib/plugin/Sparkline.js +1 -1
- package/lib/plugin/Status.d.ts +13 -0
- package/lib/plugin/Status.js +240 -27
- package/lib/plugin/Steps.js +1 -1
- package/lib/plugin/Submit.js +1 -1
- package/lib/plugin/Table.js +1 -1
- package/lib/plugin/Table2.js +4 -1
- package/lib/plugin/TableCell2.js +1 -1
- package/lib/plugin/TableView.d.ts +6 -0
- package/lib/plugin/TableView.js +10 -1
- package/lib/plugin/Tabs.d.ts +0 -1
- package/lib/plugin/Tabs.js +1 -1
- package/lib/plugin/Tag.js +1 -1
- package/lib/plugin/Tasks.js +4 -3
- package/lib/plugin/Time.js +1 -1
- package/lib/plugin/Timeline.js +4 -1
- package/lib/plugin/TooltipWrapper.d.ts +3 -0
- package/lib/plugin/TooltipWrapper.js +8 -1
- package/lib/plugin/Tpl.d.ts +1 -0
- package/lib/plugin/Tpl.js +7 -1
- package/lib/plugin/Video.js +1 -1
- package/lib/plugin/WebComponent.js +1 -1
- package/lib/plugin/Wizard.js +3 -3
- package/lib/plugin/Wrapper.d.ts +1 -0
- package/lib/plugin/Wrapper.js +7 -1
- package/lib/renderer/APIControl.js +1 -1
- package/lib/renderer/BadgeControl.d.ts +12 -12
- package/lib/renderer/BadgeControl.js +1 -1
- package/lib/renderer/DataBindingControl.js +1 -1
- package/lib/renderer/DataMappingControl.js +1 -1
- package/lib/renderer/DataPickerControl.js +1 -1
- package/lib/renderer/DateShortCutControl.js +1 -1
- package/lib/renderer/ExpressionFormulaControl.js +1 -1
- package/lib/renderer/FeatureControl.js +1 -1
- package/lib/renderer/FormulaControl.js +1 -1
- package/lib/renderer/GoConfigControl.js +1 -1
- package/lib/renderer/MapSourceControl.js +1 -1
- package/lib/renderer/NavBadgeControl.d.ts +82 -0
- package/lib/renderer/NavBadgeControl.js +327 -0
- package/lib/renderer/NavDefaultActive.d.ts +19 -0
- package/lib/renderer/NavDefaultActive.js +124 -0
- package/lib/renderer/NavSourceControl.d.ts +68 -0
- package/lib/renderer/NavSourceControl.js +475 -0
- package/lib/renderer/OptionControl.js +3 -3
- package/lib/renderer/RangePartsControl.js +1 -1
- package/lib/renderer/StatusControl.js +1 -1
- package/lib/renderer/SwitchMoreControl.d.ts +46 -46
- package/lib/renderer/SwitchMoreControl.js +1 -1
- package/lib/renderer/TimelineItemControl.js +1 -1
- package/lib/renderer/TransferTableControl.js +3 -3
- package/lib/renderer/TreeOptionControl.js +15 -8
- package/lib/renderer/ValidationControl.js +1 -1
- package/lib/renderer/ValidationItem.js +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +1 -1
- package/lib/renderer/event-control/action-config-panel.js +1 -1
- package/lib/renderer/event-control/comp-action-select.js +1 -1
- package/lib/renderer/event-control/helper.js +342 -215
- package/lib/renderer/event-control/index.js +33 -11
- package/lib/renderer/style-control/Background.js +1 -1
- package/lib/renderer/style-control/Border.js +1 -1
- package/lib/renderer/style-control/BoxModel.js +1 -1
- package/lib/renderer/style-control/BoxShadow.js +1 -1
- package/lib/renderer/style-control/Display.js +1 -1
- package/lib/renderer/style-control/Font.js +1 -1
- package/lib/renderer/style-control/InsetBoxModel.js +1 -1
- package/lib/renderer/style-control/ThemeClassName.js +1 -1
- package/lib/renderer/style-control/font-family.js +1 -1
- package/lib/renderer/style-control/transformation.js +1 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +1 -1
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/lib/renderer/textarea-formula/plugin.js +1 -1
- package/lib/renderer/textarea-formula/utils.d.ts +1 -1
- package/lib/renderer/textarea-formula/utils.js +75 -59
- package/lib/tpl/api.js +1 -1
- package/lib/tpl/common.js +49 -20
- package/lib/tpl/horizontal.js +1 -1
- package/lib/tpl/index.d.ts +1 -0
- package/lib/tpl/layout.js +7 -5
- package/lib/tpl/options.js +59 -53
- package/lib/tpl/remark.d.ts +1 -0
- package/lib/tpl/remark.js +21 -0
- package/lib/tpl/style.js +2 -2
- package/lib/tpl/validations.js +1 -1
- package/lib/util.js +1 -1
- package/lib/validator.js +1 -1
- package/package.json +1 -1
- package/esm/plugin/Layout/Layout1_2_v4.js +0 -142
- package/lib/plugin/Layout/Layout1_2_v4.js +0 -146
package/esm/plugin/Link.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -142,6 +142,12 @@ var LinkPlugin = /** @class */function (_super) {
|
|
142
142
|
});
|
143
143
|
return _this;
|
144
144
|
}
|
145
|
+
Object.defineProperty(LinkPlugin, "scene", {
|
146
|
+
enumerable: true,
|
147
|
+
configurable: true,
|
148
|
+
writable: true,
|
149
|
+
value: ['layout']
|
150
|
+
});
|
145
151
|
return LinkPlugin;
|
146
152
|
}(BasePlugin);
|
147
153
|
registerEditorPlugin(LinkPlugin);
|
package/esm/plugin/List.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BaseEventContext, BasePlugin, BasicRendererInfo, BasicToolbarItem, ContextMenuEventContext, ContextMenuItem, RendererInfoResolveEventContext } from 'amis-editor-core';
|
2
2
|
export declare class ListPlugin extends BasePlugin {
|
3
|
+
static scene: string[];
|
3
4
|
rendererName: string;
|
4
5
|
$schema: string;
|
5
6
|
name: string;
|
@@ -15,6 +16,7 @@ export declare class ListPlugin extends BasePlugin {
|
|
15
16
|
body: {
|
16
17
|
type: string;
|
17
18
|
tpl: string;
|
19
|
+
wrapperComponent: string;
|
18
20
|
}[];
|
19
21
|
actions: {
|
20
22
|
icon: string;
|
@@ -32,6 +34,7 @@ export declare class ListPlugin extends BasePlugin {
|
|
32
34
|
body: {
|
33
35
|
type: string;
|
34
36
|
tpl: string;
|
37
|
+
wrapperComponent: string;
|
35
38
|
}[];
|
36
39
|
actions: {
|
37
40
|
icon: string;
|
package/esm/plugin/List.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -78,7 +78,8 @@ var ListPlugin = /** @class */function (_super) {
|
|
78
78
|
listItem: {
|
79
79
|
body: [{
|
80
80
|
type: 'tpl',
|
81
|
-
tpl: i18n("3bb4d608c6bee2b7b6d788417cde04e3")
|
81
|
+
tpl: i18n("3bb4d608c6bee2b7b6d788417cde04e3"),
|
82
|
+
wrapperComponent: ''
|
82
83
|
}],
|
83
84
|
actions: [{
|
84
85
|
icon: 'fa fa-eye',
|
@@ -405,6 +406,12 @@ var ListPlugin = /** @class */function (_super) {
|
|
405
406
|
return _super.prototype.getRendererInfo.call(this, context);
|
406
407
|
}
|
407
408
|
});
|
409
|
+
Object.defineProperty(ListPlugin, "scene", {
|
410
|
+
enumerable: true,
|
411
|
+
configurable: true,
|
412
|
+
writable: true,
|
413
|
+
value: ['layout']
|
414
|
+
});
|
408
415
|
return ListPlugin;
|
409
416
|
}(BasePlugin);
|
410
417
|
registerEditorPlugin(ListPlugin);
|
package/esm/plugin/ListItem.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { BaseEventContext, BasePlugin, BasicRendererInfo, InsertEventContext, PluginEvent, RegionConfig, RendererInfoResolveEventContext, VRendererConfig } from 'amis-editor-core';
|
2
2
|
export declare class ListItemPlugin extends BasePlugin {
|
3
|
+
static scene: string[];
|
3
4
|
rendererName: string;
|
4
5
|
isBaseComponent: boolean;
|
5
6
|
$schema: string;
|
package/esm/plugin/ListItem.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -212,6 +212,12 @@ var ListItemPlugin = /** @class */function (_super) {
|
|
212
212
|
}
|
213
213
|
}
|
214
214
|
});
|
215
|
+
Object.defineProperty(ListItemPlugin, "scene", {
|
216
|
+
enumerable: true,
|
217
|
+
configurable: true,
|
218
|
+
writable: true,
|
219
|
+
value: ['layout']
|
220
|
+
});
|
215
221
|
return ListItemPlugin;
|
216
222
|
}(BasePlugin);
|
217
223
|
registerEditorPlugin(ListItemPlugin);
|
package/esm/plugin/Log.js
CHANGED
package/esm/plugin/Mapping.d.ts
CHANGED
package/esm/plugin/Mapping.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -262,6 +262,12 @@ var MappingPlugin = /** @class */function (_super) {
|
|
262
262
|
});
|
263
263
|
}
|
264
264
|
});
|
265
|
+
Object.defineProperty(MappingPlugin, "scene", {
|
266
|
+
enumerable: true,
|
267
|
+
configurable: true,
|
268
|
+
writable: true,
|
269
|
+
value: ['layout']
|
270
|
+
});
|
265
271
|
return MappingPlugin;
|
266
272
|
}(BasePlugin);
|
267
273
|
registerEditorPlugin(MappingPlugin);
|
package/esm/plugin/Markdown.d.ts
CHANGED
package/esm/plugin/Markdown.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -110,6 +110,12 @@ var MarkdownPlugin = /** @class */function (_super) {
|
|
110
110
|
});
|
111
111
|
return _this;
|
112
112
|
}
|
113
|
+
Object.defineProperty(MarkdownPlugin, "scene", {
|
114
|
+
enumerable: true,
|
115
|
+
configurable: true,
|
116
|
+
writable: true,
|
117
|
+
value: ['layout']
|
118
|
+
});
|
113
119
|
return MarkdownPlugin;
|
114
120
|
}(BasePlugin);
|
115
121
|
registerEditorPlugin(MarkdownPlugin);
|
package/esm/plugin/Nav.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { BaseEventContext } from 'amis-editor-core';
|
2
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext, RendererPluginEvent, RendererPluginAction } from 'amis-editor-core';
|
3
2
|
export declare class NavPlugin extends BasePlugin {
|
3
|
+
static scene: string[];
|
4
4
|
rendererName: string;
|
5
5
|
$schema: string;
|
6
6
|
name: string;
|
@@ -16,6 +16,7 @@ export declare class NavPlugin extends BasePlugin {
|
|
16
16
|
links: {
|
17
17
|
label: string;
|
18
18
|
to: string;
|
19
|
+
id: string;
|
19
20
|
}[];
|
20
21
|
};
|
21
22
|
previewSchema: {
|
@@ -24,6 +25,7 @@ export declare class NavPlugin extends BasePlugin {
|
|
24
25
|
links: {
|
25
26
|
label: string;
|
26
27
|
to: string;
|
28
|
+
id: string;
|
27
29
|
}[];
|
28
30
|
};
|
29
31
|
panelTitle: string;
|
@@ -46,5 +48,7 @@ export declare class NavPlugin extends BasePlugin {
|
|
46
48
|
items: any[];
|
47
49
|
};
|
48
50
|
};
|
51
|
+
events: RendererPluginEvent[];
|
52
|
+
actions: RendererPluginAction[];
|
49
53
|
panelBodyCreator: (context: BaseEventContext) => any;
|
50
54
|
}
|
package/esm/plugin/Nav.js
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign } from 'tslib';
|
7
|
-
import
|
7
|
+
import React__default from 'react';
|
8
|
+
import { TooltipWrapper } from 'amis-ui';
|
9
|
+
import { getSchemaTpl, tipedLabel, BasePlugin, registerEditorPlugin } from 'amis-editor-core';
|
10
|
+
import { getEventControlConfig } from '../renderer/event-control/helper.js';
|
8
11
|
import { i18n } from 'i18n-runtime';
|
9
12
|
|
10
13
|
var NavPlugin = /** @class */function (_super) {
|
@@ -76,10 +79,12 @@ var NavPlugin = /** @class */function (_super) {
|
|
76
79
|
stacked: true,
|
77
80
|
links: [{
|
78
81
|
label: i18n("4cb18f42ea06a97b382397c40ed64fb2"),
|
79
|
-
to: '?id=1'
|
82
|
+
to: '?id=1',
|
83
|
+
id: '0'
|
80
84
|
}, {
|
81
85
|
label: i18n("a004407ac524b6d331671fb7a013c3fc"),
|
82
|
-
to: '?id=2'
|
86
|
+
to: '?id=2',
|
87
|
+
id: '1'
|
83
88
|
}]
|
84
89
|
}
|
85
90
|
});
|
@@ -123,9 +128,21 @@ var NavPlugin = /** @class */function (_super) {
|
|
123
128
|
name: 'to',
|
124
129
|
label: i18n("7fa141f341e173e2339dcf0ce6869b5c"),
|
125
130
|
required: true
|
126
|
-
}, getSchemaTpl('
|
131
|
+
}, getSchemaTpl('switch', {
|
132
|
+
label: i18n("136ecd1380f3fa10c1fd99b93c63fc9b"),
|
133
|
+
name: 'target',
|
134
|
+
pipeIn: function (value) {
|
135
|
+
return value === '_parent';
|
136
|
+
},
|
137
|
+
pipeOut: function (value) {
|
138
|
+
return value ? '_parent' : '_blank';
|
139
|
+
}
|
140
|
+
}), getSchemaTpl('icon', {
|
127
141
|
name: 'icon',
|
128
142
|
label: i18n("5ef69f62dc668c1a3e68b51c50a2530a")
|
143
|
+
}), getSchemaTpl('switch', {
|
144
|
+
label: i18n("9778ba8e0cbbae9471485dfc28df8948"),
|
145
|
+
name: 'unfolded'
|
129
146
|
}), {
|
130
147
|
type: 'group',
|
131
148
|
label: i18n("720fc47e20be9b7a2e67a4ed808b3bf2"),
|
@@ -164,8 +181,6 @@ var NavPlugin = /** @class */function (_super) {
|
|
164
181
|
}, getSchemaTpl('switch', {
|
165
182
|
label: i18n("78b7cf23a2b93db1ec36e6c6cfe170db"),
|
166
183
|
name: 'children',
|
167
|
-
mode: 'inline',
|
168
|
-
className: 'block',
|
169
184
|
pipeIn: function (value) {
|
170
185
|
return !!value;
|
171
186
|
},
|
@@ -181,48 +196,230 @@ var NavPlugin = /** @class */function (_super) {
|
|
181
196
|
}), {
|
182
197
|
name: 'children',
|
183
198
|
$ref: 'links',
|
184
|
-
visibleOn: 'this.
|
199
|
+
visibleOn: 'this.children',
|
185
200
|
label: i18n("02f925f6a5136c2b65b5da8d1216b5b8"),
|
186
201
|
addButtonText: i18n("59ad4734917af165482774de9c2d50cc")
|
187
202
|
}]
|
188
203
|
}
|
189
204
|
}
|
190
205
|
});
|
206
|
+
// 事件定义
|
207
|
+
Object.defineProperty(_this, "events", {
|
208
|
+
enumerable: true,
|
209
|
+
configurable: true,
|
210
|
+
writable: true,
|
211
|
+
value: [{
|
212
|
+
eventName: 'click',
|
213
|
+
eventLabel: i18n("18eae9f567a9c425bf59147a2601ee6a"),
|
214
|
+
description: i18n("12b91237057ca7d81d50cca9873c8267"),
|
215
|
+
dataSchema: [{
|
216
|
+
type: 'object',
|
217
|
+
properties: {
|
218
|
+
'event.data': {
|
219
|
+
type: 'object',
|
220
|
+
title: i18n("66f1115691b0a3e434dd3e8a6e733730")
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}]
|
224
|
+
}, {
|
225
|
+
eventName: 'change',
|
226
|
+
eventLabel: i18n("0a974408aab362095e939e5364315971"),
|
227
|
+
description: i18n("4b5f4893cf06a9d9ea5b8486bef87c26"),
|
228
|
+
dataSchema: [{
|
229
|
+
type: 'object',
|
230
|
+
properties: {
|
231
|
+
'event.data': {
|
232
|
+
type: 'object',
|
233
|
+
title: i18n("66f1115691b0a3e434dd3e8a6e733730")
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}]
|
237
|
+
}, {
|
238
|
+
eventName: 'toggled',
|
239
|
+
eventLabel: i18n("9b317a5d43f72026b0c0699b1d596436"),
|
240
|
+
description: i18n("9ef3c85c39e1e686f6b8c58292352ce1"),
|
241
|
+
dataSchema: [{
|
242
|
+
type: 'object',
|
243
|
+
properties: {
|
244
|
+
'event.data': {
|
245
|
+
type: 'object',
|
246
|
+
title: i18n("66f1115691b0a3e434dd3e8a6e733730")
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}]
|
250
|
+
}, {
|
251
|
+
eventName: 'collapsed',
|
252
|
+
eventLabel: i18n("afce1df2e30a4674f507292d642fe270"),
|
253
|
+
description: i18n("4015091668f286adf085d60a040f89a1"),
|
254
|
+
dataSchema: [{
|
255
|
+
type: 'object',
|
256
|
+
properties: {
|
257
|
+
'event.data': {
|
258
|
+
type: 'object',
|
259
|
+
title: i18n("66f1115691b0a3e434dd3e8a6e733730")
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}]
|
263
|
+
}, {
|
264
|
+
eventName: 'loaded',
|
265
|
+
eventLabel: i18n("2631c12c40aa18fff4c6a2793f03f95b"),
|
266
|
+
description: i18n("26a92da0738fed6a6178be565cfb3a59"),
|
267
|
+
dataSchema: [{
|
268
|
+
type: 'object',
|
269
|
+
properties: {
|
270
|
+
'event.data': {
|
271
|
+
type: 'object',
|
272
|
+
title: i18n("66f1115691b0a3e434dd3e8a6e733730")
|
273
|
+
}
|
274
|
+
}
|
275
|
+
}]
|
276
|
+
}]
|
277
|
+
});
|
278
|
+
// 动作定义
|
279
|
+
Object.defineProperty(_this, "actions", {
|
280
|
+
enumerable: true,
|
281
|
+
configurable: true,
|
282
|
+
writable: true,
|
283
|
+
value: [{
|
284
|
+
actionType: 'updateItems',
|
285
|
+
actionLabel: i18n("67d8dc76a8c8a3f0f52232969d72e8bb"),
|
286
|
+
description: i18n("12fbc0729d69e4243c4818093e96de8c")
|
287
|
+
}, {
|
288
|
+
actionType: 'collapse',
|
289
|
+
actionLabel: i18n("afce1df2e30a4674f507292d642fe270"),
|
290
|
+
description: i18n("ee621e1f1429f1150a69bd02eecf6964")
|
291
|
+
}, {
|
292
|
+
actionType: 'reload',
|
293
|
+
actionLabel: i18n("64ca9bab920a2983bcf270320d850d00"),
|
294
|
+
description: i18n("9ef5597ac0b4da662bcd967da37eceb4")
|
295
|
+
}]
|
296
|
+
});
|
191
297
|
Object.defineProperty(_this, "panelBodyCreator", {
|
192
298
|
enumerable: true,
|
193
299
|
configurable: true,
|
194
300
|
writable: true,
|
195
301
|
value: function (context) {
|
196
302
|
return getSchemaTpl('tabs', [{
|
197
|
-
title: i18n("
|
198
|
-
body:
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
303
|
+
title: i18n("24d67862f87f439db7ca957aecb77cce"),
|
304
|
+
body: getSchemaTpl('collapseGroup', [{
|
305
|
+
title: i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
306
|
+
body: [getSchemaTpl('layout:originPosition', {
|
307
|
+
value: 'left-top'
|
308
|
+
}), getSchemaTpl('switch', {
|
309
|
+
name: 'stacked',
|
310
|
+
label: i18n("e0e2b0cf2a3c8379b1d9144b10b3824d"),
|
311
|
+
pipeIn: function (value) {
|
312
|
+
return !value;
|
313
|
+
},
|
314
|
+
pipeOut: function (value) {
|
315
|
+
return !value;
|
316
|
+
}
|
317
|
+
}), getSchemaTpl('switch', {
|
318
|
+
name: 'mode',
|
319
|
+
label: [{
|
320
|
+
children: React__default.createElement(TooltipWrapper, {
|
321
|
+
tooltipClassName: "ae-nav-tooltip-wrapper",
|
322
|
+
trigger: "hover",
|
323
|
+
rootClose: true,
|
324
|
+
placement: "top",
|
325
|
+
tooltipTheme: "dark",
|
326
|
+
style: {
|
327
|
+
fontSize: '12px'
|
328
|
+
},
|
329
|
+
tooltip: {
|
330
|
+
children: function () {
|
331
|
+
return React__default.createElement("div", null, React__default.createElement("span", null, "\u9ED8\u8BA4\u4E3A\u5185\u8054\u6A21\u5F0F\uFF0C\u5F00\u542F\u540E\u5B50\u83DC\u5355\u4E0D\u5728\u7236\u7EA7\u4E0B\u65B9\u5C55\u5F00\uFF0C\u4F1A\u60AC\u6D6E\u5728\u83DC\u5355\u7684\u4FA7\u8FB9\u5C55\u793A"), React__default.createElement("div", {
|
332
|
+
className: "nav-mode-gif"
|
333
|
+
}));
|
334
|
+
}
|
335
|
+
}
|
336
|
+
}, React__default.createElement("span", null, "\u5B50\u83DC\u5355\u60AC\u6D6E\u5C55\u793A"))
|
337
|
+
}],
|
338
|
+
visibleOn: 'this.stacked',
|
339
|
+
pipeIn: function (value) {
|
340
|
+
return value === 'float';
|
341
|
+
},
|
342
|
+
pipeOut: function (value) {
|
343
|
+
return value ? 'float' : 'inline';
|
344
|
+
}
|
345
|
+
}), getSchemaTpl('switch', {
|
346
|
+
label: tipedLabel(i18n("47b4e22880eb59ce9989b8419222e88a"), i18n("9dcb6b749d6682f1ac51b2dcdefd3208")),
|
347
|
+
visibleOn: 'this.stacked && this.mode !== "float"',
|
348
|
+
name: 'accordion'
|
349
|
+
}), {
|
350
|
+
type: 'input-number',
|
351
|
+
name: 'defaultOpenLevel',
|
352
|
+
label: tipedLabel(i18n("49a84da9b39148af54903ba4c6ed257f"), i18n("d4b70ea3a756ec4d06c8ecb2f27330ab")),
|
353
|
+
visibleOn: 'this.stacked && this.mode !== "float"',
|
354
|
+
mode: 'horizontal',
|
355
|
+
labelAlign: 'left'
|
356
|
+
}, {
|
357
|
+
type: 'input-number',
|
358
|
+
name: 'level',
|
359
|
+
label: tipedLabel(i18n("96198d14846a941a60824bd6ebda4d9e"), i18n("cac013d011fe1ac71c3b9f0bd0594d65")),
|
360
|
+
mode: 'horizontal',
|
361
|
+
labelAlign: 'left'
|
362
|
+
}]
|
203
363
|
}, {
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
364
|
+
title: i18n("7419d6bab78d959d5c3b7a38f9888258"),
|
365
|
+
body: [getSchemaTpl('navControl'),
|
366
|
+
// 角标
|
367
|
+
getSchemaTpl('nav-badge', {
|
368
|
+
visibleOn: 'this.links'
|
369
|
+
})
|
370
|
+
// 默认选中菜单
|
371
|
+
// getSchemaTpl('nav-default-active', {
|
372
|
+
// visibleOn: 'this.links'
|
373
|
+
// })
|
374
|
+
]
|
375
|
+
},
|
376
|
+
// {
|
377
|
+
// title: '高级',
|
378
|
+
// body: [
|
379
|
+
// getSchemaTpl('switch', {
|
380
|
+
// name: 'draggable',
|
381
|
+
// label: '拖拽排序',
|
382
|
+
// visibleOn:
|
383
|
+
// 'this.source && this.source !== "${amisStore.app.portalNav}"'
|
384
|
+
// }),
|
385
|
+
// getSchemaTpl('switch', {
|
386
|
+
// name: 'dragOnSameLevel',
|
387
|
+
// label: '仅同级拖拽',
|
388
|
+
// visibleOn: 'this.draggable'
|
389
|
+
// }),
|
390
|
+
// getSchemaTpl('apiControl', {
|
391
|
+
// name: 'saveOrderApi',
|
392
|
+
// label: '保存排序接口',
|
393
|
+
// mode: 'normal',
|
394
|
+
// visibleOn:
|
395
|
+
// 'this.source && this.source !== "${amisStore.app.portalNav}"'
|
396
|
+
// })
|
397
|
+
// ]
|
398
|
+
// },
|
399
|
+
{
|
400
|
+
title: i18n("3fea7ca76cdece641436d7ab0d02ab1b"),
|
401
|
+
body: [getSchemaTpl('hidden')]
|
402
|
+
}])
|
212
403
|
}, {
|
213
404
|
title: i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
214
|
-
body:
|
215
|
-
name: 'stacked',
|
216
|
-
label: i18n("737669a8ef038ebd37fd7b2f3b5f389d")
|
217
|
-
}), getSchemaTpl('className')]
|
405
|
+
body: getSchemaTpl('collapseGroup', getSchemaTpl('style:common', ['layout']))
|
218
406
|
}, {
|
219
|
-
title: i18n("
|
220
|
-
|
407
|
+
title: i18n("10b2761db5a8e089049df39675abc550"),
|
408
|
+
className: 'p-none',
|
409
|
+
body: [getSchemaTpl('eventControl', __assign({
|
410
|
+
name: 'onEvent'
|
411
|
+
}, getEventControlConfig(_this.manager, context)))]
|
221
412
|
}]);
|
222
413
|
}
|
223
414
|
});
|
224
415
|
return _this;
|
225
416
|
}
|
417
|
+
Object.defineProperty(NavPlugin, "scene", {
|
418
|
+
enumerable: true,
|
419
|
+
configurable: true,
|
420
|
+
writable: true,
|
421
|
+
value: ['layout']
|
422
|
+
});
|
226
423
|
return NavPlugin;
|
227
424
|
}(BasePlugin);
|
228
425
|
registerEditorPlugin(NavPlugin);
|
package/esm/plugin/Operation.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -110,7 +110,7 @@ var ActionPlugin = /** @class */function (_super) {
|
|
110
110
|
name: 'dialog',
|
111
111
|
pipeIn: defaultValue({
|
112
112
|
title: i18n("8a089992349df754f182a5d02de8e8e0"),
|
113
|
-
body: i18n("
|
113
|
+
body: i18n("1a9aaf05889002e65708c4950012a652"),
|
114
114
|
showCloseButton: true,
|
115
115
|
showErrorMsg: true,
|
116
116
|
showLoading: true
|
@@ -143,7 +143,7 @@ var ActionPlugin = /** @class */function (_super) {
|
|
143
143
|
name: 'drawer',
|
144
144
|
pipeIn: defaultValue({
|
145
145
|
title: i18n("8a089992349df754f182a5d02de8e8e0"),
|
146
|
-
body: i18n("
|
146
|
+
body: i18n("1a9aaf05889002e65708c4950012a652")
|
147
147
|
}),
|
148
148
|
asFormItem: true,
|
149
149
|
children: function (_a) {
|
@@ -175,7 +175,7 @@ var ActionPlugin = /** @class */function (_super) {
|
|
175
175
|
name: 'feedback',
|
176
176
|
pipeIn: defaultValue({
|
177
177
|
title: i18n("8a089992349df754f182a5d02de8e8e0"),
|
178
|
-
body: i18n("
|
178
|
+
body: i18n("2d711b09bd0db0ad240cc83b30dd8014")
|
179
179
|
}),
|
180
180
|
asFormItem: true,
|
181
181
|
children: function (_a) {
|
package/esm/plugin/Page.d.ts
CHANGED
package/esm/plugin/Page.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.5-beta.3
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -38,9 +38,19 @@ var PagePlugin = /** @class */function (_super) {
|
|
38
38
|
writable: true,
|
39
39
|
value: true
|
40
40
|
});
|
41
|
-
//
|
42
|
-
|
43
|
-
|
41
|
+
// 只有顶级才会用到这个page组件
|
42
|
+
Object.defineProperty(_this, "disabledRendererPlugin", {
|
43
|
+
enumerable: true,
|
44
|
+
configurable: true,
|
45
|
+
writable: true,
|
46
|
+
value: true
|
47
|
+
});
|
48
|
+
Object.defineProperty(_this, "description", {
|
49
|
+
enumerable: true,
|
50
|
+
configurable: true,
|
51
|
+
writable: true,
|
52
|
+
value: i18n("243e91d5fbc5a03a5c54da6d8e662e4f")
|
53
|
+
});
|
44
54
|
Object.defineProperty(_this, "docLink", {
|
45
55
|
enumerable: true,
|
46
56
|
configurable: true,
|
@@ -134,7 +144,7 @@ var PagePlugin = /** @class */function (_super) {
|
|
134
144
|
description: i18n("9ef5597ac0b4da662bcd967da37eceb4")
|
135
145
|
}, {
|
136
146
|
actionType: 'setValue',
|
137
|
-
actionLabel: i18n("
|
147
|
+
actionLabel: i18n("e22855f53b7a1ab33e920375c0cd0e3d"),
|
138
148
|
description: i18n("0310aa5a05fe07147d8b7ef20616f659")
|
139
149
|
}]
|
140
150
|
});
|
@@ -342,7 +352,7 @@ var PagePlugin = /** @class */function (_super) {
|
|
342
352
|
// ...obj,
|
343
353
|
// [current.key || '']: current.value
|
344
354
|
// ? current.value
|
345
|
-
// : {type: 'tpl', tpl: '内容'}
|
355
|
+
// : {type: 'tpl', tpl: '内容', wrapperComponent: ''}
|
346
356
|
// }),
|
347
357
|
// {}
|
348
358
|
// )
|
package/esm/plugin/Pagination.js
CHANGED
package/esm/plugin/Panel.js
CHANGED
package/esm/plugin/Plain.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
1
2
|
import { BaseEventContext, BasePlugin } from 'amis-editor-core';
|
2
3
|
export declare class PlainPlugin extends BasePlugin {
|
3
4
|
rendererName: string;
|
@@ -19,5 +20,7 @@ export declare class PlainPlugin extends BasePlugin {
|
|
19
20
|
scaffold: any;
|
20
21
|
panelTitle: string;
|
21
22
|
panelJustify: boolean;
|
23
|
+
events: RendererPluginEvent[];
|
24
|
+
actions: RendererPluginAction[];
|
22
25
|
panelBodyCreator: (context: BaseEventContext) => any[];
|
23
26
|
}
|