amis-editor 5.2.5-beta.1 → 5.2.5-beta.5
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.js +1 -1
- 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 +1 -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 +1 -1
- package/esm/icons/layout/layout-fixed.svg.js +15 -20
- package/esm/icons/layout/layout-free-container.svg.js +1 -1
- 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 -0
- package/esm/index.js +4 -1
- package/esm/locale/en-US.js +41 -3
- package/esm/locale/zh-CN.js +42 -4
- package/esm/plugin/Alert.d.ts +1 -0
- package/esm/plugin/Alert.js +7 -1
- package/esm/plugin/AnchorNav.js +1 -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 +15 -6
- 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 +75 -37
- package/esm/plugin/CRUD2.js +5 -4
- 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 +1 -1
- package/esm/plugin/CodeView.js +1 -1
- package/esm/plugin/Collapse.js +1 -1
- package/esm/plugin/CollapseGroup.js +1 -1
- package/esm/plugin/ColumnToggler.js +1 -1
- package/esm/plugin/Container.d.ts +1 -0
- package/esm/plugin/Container.js +7 -1
- package/esm/plugin/Custom.js +1 -1
- package/esm/plugin/CustomRegion.js +1 -1
- 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 +1 -1
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +7 -1
- package/esm/plugin/Drawer.js +1 -1
- package/esm/plugin/DropDownButton.d.ts +1 -0
- package/esm/plugin/DropDownButton.js +7 -1
- package/esm/plugin/Each.d.ts +1 -0
- package/esm/plugin/Each.js +7 -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.js +1 -1
- package/esm/plugin/Form/DiffEditor.js +1 -1
- package/esm/plugin/Form/FieldSet.js +1 -1
- package/esm/plugin/Form/Form.js +1 -1
- 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.js +1 -3
- package/esm/plugin/Form/InputSubForm.js +1 -1
- package/esm/plugin/Form/InputTable.js +3 -3
- 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 +4 -3
- 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.d.ts +1 -2
- package/esm/plugin/Form/LocationPicker.js +26 -70
- 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 +7 -1
- 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 +1 -1
- package/esm/plugin/Form/TreeSelect.js +1 -1
- package/esm/plugin/Form/UUID.js +1 -1
- package/esm/plugin/Grid.d.ts +1 -0
- package/esm/plugin/Grid.js +7 -1
- package/esm/plugin/HBox.d.ts +1 -0
- package/esm/plugin/HBox.js +7 -1
- package/esm/plugin/IFrame.js +4 -3
- 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 +1 -1
- 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 +1 -1
- package/esm/plugin/Layout/Layout_sorption_container.d.ts +1 -0
- package/esm/plugin/Layout/Layout_sorption_container.js +7 -1
- package/esm/plugin/Link.d.ts +1 -0
- package/esm/plugin/Link.js +7 -1
- package/esm/plugin/List.d.ts +1 -0
- package/esm/plugin/List.js +7 -1
- 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 +1 -1
- package/esm/plugin/Others/TableCell.js +2 -2
- package/esm/plugin/Page.js +1 -1
- package/esm/plugin/Pagination.js +1 -1
- package/esm/plugin/Panel.js +1 -1
- package/esm/plugin/Plain.js +1 -1
- 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.js +1 -1
- package/esm/plugin/Sparkline.js +1 -1
- package/esm/plugin/Status.d.ts +1 -0
- package/esm/plugin/Status.js +7 -1
- package/esm/plugin/Steps.js +1 -1
- package/esm/plugin/Submit.js +1 -1
- package/esm/plugin/Table.js +5 -4
- package/esm/plugin/Table2.js +15 -10
- package/esm/plugin/TableCell2.js +6 -4
- package/esm/plugin/TableView.js +1 -1
- package/esm/plugin/Tabs.js +7 -5
- package/esm/plugin/Tag.js +1 -1
- package/esm/plugin/Tasks.js +1 -1
- package/esm/plugin/Time.js +1 -1
- package/esm/plugin/Timeline.js +1 -1
- package/esm/plugin/TooltipWrapper.d.ts +1 -0
- package/esm/plugin/TooltipWrapper.js +7 -1
- package/esm/plugin/Tpl.d.ts +1 -0
- package/esm/plugin/Tpl.js +10 -3
- package/esm/plugin/Video.js +1 -1
- package/esm/plugin/WebComponent.js +1 -1
- package/esm/plugin/Wizard.js +5 -4
- package/esm/plugin/Wrapper.d.ts +1 -0
- package/esm/plugin/Wrapper.js +7 -1
- package/esm/renderer/APIControl.d.ts +26 -20
- package/esm/renderer/APIControl.js +5 -4
- 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 +5 -4
- package/esm/renderer/DataPickerControl.js +2 -2
- 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 +1 -1
- package/esm/renderer/RangePartsControl.js +1 -1
- package/esm/renderer/StatusControl.js +5 -4
- package/esm/renderer/SwitchMoreControl.js +1 -1
- package/esm/renderer/TimelineItemControl.js +1 -1
- package/esm/renderer/TransferTableControl.js +1 -1
- package/esm/renderer/TreeOptionControl.js +13 -6
- package/esm/renderer/ValidationControl.js +1 -1
- package/esm/renderer/ValidationItem.js +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +7 -5
- 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 +57 -40
- package/esm/renderer/event-control/index.js +1 -1
- 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 +2 -3
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/esm/renderer/textarea-formula/plugin.js +1 -1
- package/esm/renderer/textarea-formula/utils.js +1 -1
- package/esm/tpl/api.js +1 -1
- package/esm/tpl/common.js +37 -19
- package/esm/tpl/horizontal.js +1 -1
- package/esm/tpl/layout.js +1 -1
- package/esm/tpl/options.js +9 -1
- package/esm/tpl/remark.js +1 -1
- package/esm/tpl/style.js +1 -1
- package/esm/tpl/validations.js +1 -1
- package/esm/util.js +1 -1
- package/esm/validator.js +1 -1
- package/lib/component/BaseControl.js +1 -1
- 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 +1 -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 +1 -1
- package/lib/icons/layout/layout-fixed.svg.js +30 -35
- package/lib/icons/layout/layout-free-container.svg.js +1 -1
- 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 -0
- package/lib/index.js +4 -1
- package/lib/locale/en-US.js +41 -3
- package/lib/locale/zh-CN.js +42 -4
- package/lib/plugin/Alert.d.ts +1 -0
- package/lib/plugin/Alert.js +7 -1
- package/lib/plugin/AnchorNav.js +1 -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 +15 -6
- 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 +76 -37
- package/lib/plugin/CRUD2.js +4 -3
- 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 +1 -1
- package/lib/plugin/CodeView.js +1 -1
- package/lib/plugin/Collapse.js +1 -1
- package/lib/plugin/CollapseGroup.js +1 -1
- package/lib/plugin/ColumnToggler.js +1 -1
- package/lib/plugin/Container.d.ts +1 -0
- package/lib/plugin/Container.js +7 -1
- package/lib/plugin/Custom.js +1 -1
- package/lib/plugin/CustomRegion.js +1 -1
- 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 +1 -1
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +7 -1
- package/lib/plugin/Drawer.js +1 -1
- package/lib/plugin/DropDownButton.d.ts +1 -0
- package/lib/plugin/DropDownButton.js +7 -1
- package/lib/plugin/Each.d.ts +1 -0
- package/lib/plugin/Each.js +7 -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.js +1 -1
- package/lib/plugin/Form/DiffEditor.js +1 -1
- package/lib/plugin/Form/FieldSet.js +1 -1
- package/lib/plugin/Form/Form.js +1 -1
- 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 -0
- 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.js +1 -3
- package/lib/plugin/Form/InputSubForm.js +1 -1
- package/lib/plugin/Form/InputTable.js +3 -3
- 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 +4 -3
- 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.d.ts +1 -2
- package/lib/plugin/Form/LocationPicker.js +26 -70
- 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 +7 -1
- 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 +1 -1
- package/lib/plugin/Form/TreeSelect.js +1 -1
- package/lib/plugin/Form/UUID.js +1 -1
- package/lib/plugin/Grid.d.ts +1 -0
- package/lib/plugin/Grid.js +7 -1
- package/lib/plugin/HBox.d.ts +1 -0
- package/lib/plugin/HBox.js +7 -1
- package/lib/plugin/IFrame.js +4 -3
- 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 +1 -1
- 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 +1 -1
- package/lib/plugin/Layout/Layout_sorption_container.d.ts +1 -0
- package/lib/plugin/Layout/Layout_sorption_container.js +7 -1
- package/lib/plugin/Link.d.ts +1 -0
- package/lib/plugin/Link.js +7 -1
- package/lib/plugin/List.d.ts +1 -0
- package/lib/plugin/List.js +7 -1
- 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 +1 -1
- package/lib/plugin/Others/TableCell.js +2 -2
- package/lib/plugin/Page.js +1 -1
- package/lib/plugin/Pagination.js +1 -1
- package/lib/plugin/Panel.js +1 -1
- package/lib/plugin/Plain.js +1 -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.js +1 -1
- package/lib/plugin/Sparkline.js +1 -1
- package/lib/plugin/Status.d.ts +1 -0
- package/lib/plugin/Status.js +7 -1
- package/lib/plugin/Steps.js +1 -1
- package/lib/plugin/Submit.js +1 -1
- package/lib/plugin/Table.js +4 -3
- package/lib/plugin/Table2.js +15 -10
- package/lib/plugin/TableCell2.js +6 -4
- package/lib/plugin/TableView.js +1 -1
- package/lib/plugin/Tabs.js +7 -5
- package/lib/plugin/Tag.js +1 -1
- package/lib/plugin/Tasks.js +1 -1
- package/lib/plugin/Time.js +1 -1
- package/lib/plugin/Timeline.js +1 -1
- package/lib/plugin/TooltipWrapper.d.ts +1 -0
- package/lib/plugin/TooltipWrapper.js +7 -1
- package/lib/plugin/Tpl.d.ts +1 -0
- package/lib/plugin/Tpl.js +10 -3
- package/lib/plugin/Video.js +1 -1
- package/lib/plugin/WebComponent.js +1 -1
- package/lib/plugin/Wizard.js +4 -3
- package/lib/plugin/Wrapper.d.ts +1 -0
- package/lib/plugin/Wrapper.js +7 -1
- package/lib/renderer/APIControl.d.ts +26 -20
- package/lib/renderer/APIControl.js +4 -3
- package/lib/renderer/BadgeControl.d.ts +2 -2
- package/lib/renderer/BadgeControl.js +1 -1
- package/lib/renderer/DataBindingControl.js +1 -1
- package/lib/renderer/DataMappingControl.js +4 -3
- package/lib/renderer/DataPickerControl.js +2 -2
- 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 +1 -1
- package/lib/renderer/RangePartsControl.js +1 -1
- package/lib/renderer/StatusControl.js +4 -3
- package/lib/renderer/SwitchMoreControl.js +1 -1
- package/lib/renderer/TimelineItemControl.js +1 -1
- package/lib/renderer/TransferTableControl.js +1 -1
- package/lib/renderer/TreeOptionControl.js +13 -6
- package/lib/renderer/ValidationControl.js +1 -1
- package/lib/renderer/ValidationItem.js +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +6 -4
- 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 +56 -39
- package/lib/renderer/event-control/index.js +1 -1
- 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 +2 -3
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/lib/renderer/textarea-formula/plugin.js +1 -1
- package/lib/renderer/textarea-formula/utils.js +1 -1
- package/lib/tpl/api.js +1 -1
- package/lib/tpl/common.js +37 -19
- package/lib/tpl/horizontal.js +1 -1
- package/lib/tpl/layout.js +1 -1
- package/lib/tpl/options.js +9 -1
- package/lib/tpl/remark.js +1 -1
- package/lib/tpl/style.js +1 -1
- package/lib/tpl/validations.js +1 -1
- package/lib/util.js +1 -1
- package/lib/validator.js +1 -1
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -74,6 +74,12 @@ var Layout_fixed = /** @class */function (_super) {
|
|
74
74
|
});
|
75
75
|
return _this;
|
76
76
|
}
|
77
|
+
Object.defineProperty(Layout_fixed, "scene", {
|
78
|
+
enumerable: true,
|
79
|
+
configurable: true,
|
80
|
+
writable: true,
|
81
|
+
value: ['layout']
|
82
|
+
});
|
77
83
|
return Layout_fixed;
|
78
84
|
}(FlexPluginBase.FlexPluginBase);
|
79
85
|
amisEditorCore.registerEditorPlugin(Layout_fixed);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -81,6 +81,12 @@ var Layout_fixed_top = /** @class */function (_super) {
|
|
81
81
|
});
|
82
82
|
return _this;
|
83
83
|
}
|
84
|
+
Object.defineProperty(Layout_fixed_top, "scene", {
|
85
|
+
enumerable: true,
|
86
|
+
configurable: true,
|
87
|
+
writable: true,
|
88
|
+
value: ['layout']
|
89
|
+
});
|
84
90
|
return Layout_fixed_top;
|
85
91
|
}(FlexPluginBase.FlexPluginBase);
|
86
92
|
amisEditorCore.registerEditorPlugin(Layout_fixed_top);
|
package/lib/plugin/Link.d.ts
CHANGED
package/lib/plugin/Link.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -146,6 +146,12 @@ var LinkPlugin = /** @class */function (_super) {
|
|
146
146
|
});
|
147
147
|
return _this;
|
148
148
|
}
|
149
|
+
Object.defineProperty(LinkPlugin, "scene", {
|
150
|
+
enumerable: true,
|
151
|
+
configurable: true,
|
152
|
+
writable: true,
|
153
|
+
value: ['layout']
|
154
|
+
});
|
149
155
|
return LinkPlugin;
|
150
156
|
}(amisEditorCore.BasePlugin);
|
151
157
|
amisEditorCore.registerEditorPlugin(LinkPlugin);
|
package/lib/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;
|
package/lib/plugin/List.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -414,6 +414,12 @@ var ListPlugin = /** @class */function (_super) {
|
|
414
414
|
return _super.prototype.getRendererInfo.call(this, context);
|
415
415
|
}
|
416
416
|
});
|
417
|
+
Object.defineProperty(ListPlugin, "scene", {
|
418
|
+
enumerable: true,
|
419
|
+
configurable: true,
|
420
|
+
writable: true,
|
421
|
+
value: ['layout']
|
422
|
+
});
|
417
423
|
return ListPlugin;
|
418
424
|
}(amisEditorCore.BasePlugin);
|
419
425
|
amisEditorCore.registerEditorPlugin(ListPlugin);
|
package/lib/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/lib/plugin/ListItem.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -220,6 +220,12 @@ var ListItemPlugin = /** @class */function (_super) {
|
|
220
220
|
}
|
221
221
|
}
|
222
222
|
});
|
223
|
+
Object.defineProperty(ListItemPlugin, "scene", {
|
224
|
+
enumerable: true,
|
225
|
+
configurable: true,
|
226
|
+
writable: true,
|
227
|
+
value: ['layout']
|
228
|
+
});
|
223
229
|
return ListItemPlugin;
|
224
230
|
}(amisEditorCore.BasePlugin);
|
225
231
|
amisEditorCore.registerEditorPlugin(ListItemPlugin);
|
package/lib/plugin/Log.js
CHANGED
package/lib/plugin/Mapping.d.ts
CHANGED
package/lib/plugin/Mapping.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -266,6 +266,12 @@ var MappingPlugin = /** @class */function (_super) {
|
|
266
266
|
});
|
267
267
|
}
|
268
268
|
});
|
269
|
+
Object.defineProperty(MappingPlugin, "scene", {
|
270
|
+
enumerable: true,
|
271
|
+
configurable: true,
|
272
|
+
writable: true,
|
273
|
+
value: ['layout']
|
274
|
+
});
|
269
275
|
return MappingPlugin;
|
270
276
|
}(amisEditorCore.BasePlugin);
|
271
277
|
amisEditorCore.registerEditorPlugin(MappingPlugin);
|
package/lib/plugin/Markdown.d.ts
CHANGED
package/lib/plugin/Markdown.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -114,6 +114,12 @@ var MarkdownPlugin = /** @class */function (_super) {
|
|
114
114
|
});
|
115
115
|
return _this;
|
116
116
|
}
|
117
|
+
Object.defineProperty(MarkdownPlugin, "scene", {
|
118
|
+
enumerable: true,
|
119
|
+
configurable: true,
|
120
|
+
writable: true,
|
121
|
+
value: ['layout']
|
122
|
+
});
|
117
123
|
return MarkdownPlugin;
|
118
124
|
}(amisEditorCore.BasePlugin);
|
119
125
|
amisEditorCore.registerEditorPlugin(MarkdownPlugin);
|
package/lib/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/lib/plugin/Nav.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -8,9 +8,16 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
var tslib = require('tslib');
|
11
|
+
var React = require('react');
|
12
|
+
var amisUi = require('amis-ui');
|
11
13
|
var amisEditorCore = require('amis-editor-core');
|
14
|
+
var helper = require('../renderer/event-control/helper.js');
|
12
15
|
var i18nRuntime = require('i18n-runtime');
|
13
16
|
|
17
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
18
|
+
|
19
|
+
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
20
|
+
|
14
21
|
var NavPlugin = /** @class */function (_super) {
|
15
22
|
tslib.__extends(NavPlugin, _super);
|
16
23
|
function NavPlugin() {
|
@@ -80,10 +87,12 @@ var NavPlugin = /** @class */function (_super) {
|
|
80
87
|
stacked: true,
|
81
88
|
links: [{
|
82
89
|
label: i18nRuntime.i18n("4cb18f42ea06a97b382397c40ed64fb2"),
|
83
|
-
to: '?id=1'
|
90
|
+
to: '?id=1',
|
91
|
+
id: '0'
|
84
92
|
}, {
|
85
93
|
label: i18nRuntime.i18n("a004407ac524b6d331671fb7a013c3fc"),
|
86
|
-
to: '?id=2'
|
94
|
+
to: '?id=2',
|
95
|
+
id: '1'
|
87
96
|
}]
|
88
97
|
}
|
89
98
|
});
|
@@ -127,9 +136,21 @@ var NavPlugin = /** @class */function (_super) {
|
|
127
136
|
name: 'to',
|
128
137
|
label: i18nRuntime.i18n("7fa141f341e173e2339dcf0ce6869b5c"),
|
129
138
|
required: true
|
130
|
-
}, amisEditorCore.getSchemaTpl('
|
139
|
+
}, amisEditorCore.getSchemaTpl('switch', {
|
140
|
+
label: i18nRuntime.i18n("136ecd1380f3fa10c1fd99b93c63fc9b"),
|
141
|
+
name: 'target',
|
142
|
+
pipeIn: function (value) {
|
143
|
+
return value === '_parent';
|
144
|
+
},
|
145
|
+
pipeOut: function (value) {
|
146
|
+
return value ? '_parent' : '_blank';
|
147
|
+
}
|
148
|
+
}), amisEditorCore.getSchemaTpl('icon', {
|
131
149
|
name: 'icon',
|
132
150
|
label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a")
|
151
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
152
|
+
label: i18nRuntime.i18n("9778ba8e0cbbae9471485dfc28df8948"),
|
153
|
+
name: 'unfolded'
|
133
154
|
}), {
|
134
155
|
type: 'group',
|
135
156
|
label: i18nRuntime.i18n("720fc47e20be9b7a2e67a4ed808b3bf2"),
|
@@ -168,8 +189,6 @@ var NavPlugin = /** @class */function (_super) {
|
|
168
189
|
}, amisEditorCore.getSchemaTpl('switch', {
|
169
190
|
label: i18nRuntime.i18n("78b7cf23a2b93db1ec36e6c6cfe170db"),
|
170
191
|
name: 'children',
|
171
|
-
mode: 'inline',
|
172
|
-
className: 'block',
|
173
192
|
pipeIn: function (value) {
|
174
193
|
return !!value;
|
175
194
|
},
|
@@ -185,48 +204,230 @@ var NavPlugin = /** @class */function (_super) {
|
|
185
204
|
}), {
|
186
205
|
name: 'children',
|
187
206
|
$ref: 'links',
|
188
|
-
visibleOn: 'this.
|
207
|
+
visibleOn: 'this.children',
|
189
208
|
label: i18nRuntime.i18n("02f925f6a5136c2b65b5da8d1216b5b8"),
|
190
209
|
addButtonText: i18nRuntime.i18n("59ad4734917af165482774de9c2d50cc")
|
191
210
|
}]
|
192
211
|
}
|
193
212
|
}
|
194
213
|
});
|
214
|
+
// 事件定义
|
215
|
+
Object.defineProperty(_this, "events", {
|
216
|
+
enumerable: true,
|
217
|
+
configurable: true,
|
218
|
+
writable: true,
|
219
|
+
value: [{
|
220
|
+
eventName: 'click',
|
221
|
+
eventLabel: i18nRuntime.i18n("18eae9f567a9c425bf59147a2601ee6a"),
|
222
|
+
description: i18nRuntime.i18n("12b91237057ca7d81d50cca9873c8267"),
|
223
|
+
dataSchema: [{
|
224
|
+
type: 'object',
|
225
|
+
properties: {
|
226
|
+
'event.data': {
|
227
|
+
type: 'object',
|
228
|
+
title: i18nRuntime.i18n("66f1115691b0a3e434dd3e8a6e733730")
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}]
|
232
|
+
}, {
|
233
|
+
eventName: 'change',
|
234
|
+
eventLabel: i18nRuntime.i18n("0a974408aab362095e939e5364315971"),
|
235
|
+
description: i18nRuntime.i18n("4b5f4893cf06a9d9ea5b8486bef87c26"),
|
236
|
+
dataSchema: [{
|
237
|
+
type: 'object',
|
238
|
+
properties: {
|
239
|
+
'event.data': {
|
240
|
+
type: 'object',
|
241
|
+
title: i18nRuntime.i18n("66f1115691b0a3e434dd3e8a6e733730")
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}]
|
245
|
+
}, {
|
246
|
+
eventName: 'toggled',
|
247
|
+
eventLabel: i18nRuntime.i18n("9b317a5d43f72026b0c0699b1d596436"),
|
248
|
+
description: i18nRuntime.i18n("9ef3c85c39e1e686f6b8c58292352ce1"),
|
249
|
+
dataSchema: [{
|
250
|
+
type: 'object',
|
251
|
+
properties: {
|
252
|
+
'event.data': {
|
253
|
+
type: 'object',
|
254
|
+
title: i18nRuntime.i18n("66f1115691b0a3e434dd3e8a6e733730")
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}]
|
258
|
+
}, {
|
259
|
+
eventName: 'collapsed',
|
260
|
+
eventLabel: i18nRuntime.i18n("afce1df2e30a4674f507292d642fe270"),
|
261
|
+
description: i18nRuntime.i18n("4015091668f286adf085d60a040f89a1"),
|
262
|
+
dataSchema: [{
|
263
|
+
type: 'object',
|
264
|
+
properties: {
|
265
|
+
'event.data': {
|
266
|
+
type: 'object',
|
267
|
+
title: i18nRuntime.i18n("66f1115691b0a3e434dd3e8a6e733730")
|
268
|
+
}
|
269
|
+
}
|
270
|
+
}]
|
271
|
+
}, {
|
272
|
+
eventName: 'loaded',
|
273
|
+
eventLabel: i18nRuntime.i18n("2631c12c40aa18fff4c6a2793f03f95b"),
|
274
|
+
description: i18nRuntime.i18n("26a92da0738fed6a6178be565cfb3a59"),
|
275
|
+
dataSchema: [{
|
276
|
+
type: 'object',
|
277
|
+
properties: {
|
278
|
+
'event.data': {
|
279
|
+
type: 'object',
|
280
|
+
title: i18nRuntime.i18n("66f1115691b0a3e434dd3e8a6e733730")
|
281
|
+
}
|
282
|
+
}
|
283
|
+
}]
|
284
|
+
}]
|
285
|
+
});
|
286
|
+
// 动作定义
|
287
|
+
Object.defineProperty(_this, "actions", {
|
288
|
+
enumerable: true,
|
289
|
+
configurable: true,
|
290
|
+
writable: true,
|
291
|
+
value: [{
|
292
|
+
actionType: 'updateItems',
|
293
|
+
actionLabel: i18nRuntime.i18n("67d8dc76a8c8a3f0f52232969d72e8bb"),
|
294
|
+
description: i18nRuntime.i18n("12fbc0729d69e4243c4818093e96de8c")
|
295
|
+
}, {
|
296
|
+
actionType: 'collapse',
|
297
|
+
actionLabel: i18nRuntime.i18n("afce1df2e30a4674f507292d642fe270"),
|
298
|
+
description: i18nRuntime.i18n("ee621e1f1429f1150a69bd02eecf6964")
|
299
|
+
}, {
|
300
|
+
actionType: 'reload',
|
301
|
+
actionLabel: i18nRuntime.i18n("64ca9bab920a2983bcf270320d850d00"),
|
302
|
+
description: i18nRuntime.i18n("9ef5597ac0b4da662bcd967da37eceb4")
|
303
|
+
}]
|
304
|
+
});
|
195
305
|
Object.defineProperty(_this, "panelBodyCreator", {
|
196
306
|
enumerable: true,
|
197
307
|
configurable: true,
|
198
308
|
writable: true,
|
199
309
|
value: function (context) {
|
200
310
|
return amisEditorCore.getSchemaTpl('tabs', [{
|
201
|
-
title: i18nRuntime.i18n("
|
202
|
-
body:
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
311
|
+
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
312
|
+
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
313
|
+
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
314
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
315
|
+
value: 'left-top'
|
316
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
317
|
+
name: 'stacked',
|
318
|
+
label: i18nRuntime.i18n("e0e2b0cf2a3c8379b1d9144b10b3824d"),
|
319
|
+
pipeIn: function (value) {
|
320
|
+
return !value;
|
321
|
+
},
|
322
|
+
pipeOut: function (value) {
|
323
|
+
return !value;
|
324
|
+
}
|
325
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
326
|
+
name: 'mode',
|
327
|
+
label: [{
|
328
|
+
children: React__default["default"].createElement(amisUi.TooltipWrapper, {
|
329
|
+
tooltipClassName: "ae-nav-tooltip-wrapper",
|
330
|
+
trigger: "hover",
|
331
|
+
rootClose: true,
|
332
|
+
placement: "top",
|
333
|
+
tooltipTheme: "dark",
|
334
|
+
style: {
|
335
|
+
fontSize: '12px'
|
336
|
+
},
|
337
|
+
tooltip: {
|
338
|
+
children: function () {
|
339
|
+
return React__default["default"].createElement("div", null, React__default["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["default"].createElement("div", {
|
340
|
+
className: "nav-mode-gif"
|
341
|
+
}));
|
342
|
+
}
|
343
|
+
}
|
344
|
+
}, React__default["default"].createElement("span", null, "\u5B50\u83DC\u5355\u60AC\u6D6E\u5C55\u793A"))
|
345
|
+
}],
|
346
|
+
visibleOn: 'this.stacked',
|
347
|
+
pipeIn: function (value) {
|
348
|
+
return value === 'float';
|
349
|
+
},
|
350
|
+
pipeOut: function (value) {
|
351
|
+
return value ? 'float' : 'inline';
|
352
|
+
}
|
353
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
354
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("47b4e22880eb59ce9989b8419222e88a"), i18nRuntime.i18n("9dcb6b749d6682f1ac51b2dcdefd3208")),
|
355
|
+
visibleOn: 'this.stacked && this.mode !== "float"',
|
356
|
+
name: 'accordion'
|
357
|
+
}), {
|
358
|
+
type: 'input-number',
|
359
|
+
name: 'defaultOpenLevel',
|
360
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("49a84da9b39148af54903ba4c6ed257f"), i18nRuntime.i18n("d4b70ea3a756ec4d06c8ecb2f27330ab")),
|
361
|
+
visibleOn: 'this.stacked && this.mode !== "float"',
|
362
|
+
mode: 'horizontal',
|
363
|
+
labelAlign: 'left'
|
364
|
+
}, {
|
365
|
+
type: 'input-number',
|
366
|
+
name: 'level',
|
367
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("96198d14846a941a60824bd6ebda4d9e"), i18nRuntime.i18n("cac013d011fe1ac71c3b9f0bd0594d65")),
|
368
|
+
mode: 'horizontal',
|
369
|
+
labelAlign: 'left'
|
370
|
+
}]
|
207
371
|
}, {
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
372
|
+
title: i18nRuntime.i18n("7419d6bab78d959d5c3b7a38f9888258"),
|
373
|
+
body: [amisEditorCore.getSchemaTpl('navControl'),
|
374
|
+
// 角标
|
375
|
+
amisEditorCore.getSchemaTpl('nav-badge', {
|
376
|
+
visibleOn: 'this.links'
|
377
|
+
})
|
378
|
+
// 默认选中菜单
|
379
|
+
// getSchemaTpl('nav-default-active', {
|
380
|
+
// visibleOn: 'this.links'
|
381
|
+
// })
|
382
|
+
]
|
383
|
+
},
|
384
|
+
// {
|
385
|
+
// title: '高级',
|
386
|
+
// body: [
|
387
|
+
// getSchemaTpl('switch', {
|
388
|
+
// name: 'draggable',
|
389
|
+
// label: '拖拽排序',
|
390
|
+
// visibleOn:
|
391
|
+
// 'this.source && this.source !== "${amisStore.app.portalNav}"'
|
392
|
+
// }),
|
393
|
+
// getSchemaTpl('switch', {
|
394
|
+
// name: 'dragOnSameLevel',
|
395
|
+
// label: '仅同级拖拽',
|
396
|
+
// visibleOn: 'this.draggable'
|
397
|
+
// }),
|
398
|
+
// getSchemaTpl('apiControl', {
|
399
|
+
// name: 'saveOrderApi',
|
400
|
+
// label: '保存排序接口',
|
401
|
+
// mode: 'normal',
|
402
|
+
// visibleOn:
|
403
|
+
// 'this.source && this.source !== "${amisStore.app.portalNav}"'
|
404
|
+
// })
|
405
|
+
// ]
|
406
|
+
// },
|
407
|
+
{
|
408
|
+
title: i18nRuntime.i18n("3fea7ca76cdece641436d7ab0d02ab1b"),
|
409
|
+
body: [amisEditorCore.getSchemaTpl('hidden')]
|
410
|
+
}])
|
216
411
|
}, {
|
217
412
|
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
218
|
-
body:
|
219
|
-
name: 'stacked',
|
220
|
-
label: i18nRuntime.i18n("737669a8ef038ebd37fd7b2f3b5f389d")
|
221
|
-
}), amisEditorCore.getSchemaTpl('className')]
|
413
|
+
body: amisEditorCore.getSchemaTpl('collapseGroup', amisEditorCore.getSchemaTpl('style:common', ['layout']))
|
222
414
|
}, {
|
223
|
-
title: i18nRuntime.i18n("
|
224
|
-
|
415
|
+
title: i18nRuntime.i18n("10b2761db5a8e089049df39675abc550"),
|
416
|
+
className: 'p-none',
|
417
|
+
body: [amisEditorCore.getSchemaTpl('eventControl', tslib.__assign({
|
418
|
+
name: 'onEvent'
|
419
|
+
}, helper.getEventControlConfig(_this.manager, context)))]
|
225
420
|
}]);
|
226
421
|
}
|
227
422
|
});
|
228
423
|
return _this;
|
229
424
|
}
|
425
|
+
Object.defineProperty(NavPlugin, "scene", {
|
426
|
+
enumerable: true,
|
427
|
+
configurable: true,
|
428
|
+
writable: true,
|
429
|
+
value: ['layout']
|
430
|
+
});
|
230
431
|
return NavPlugin;
|
231
432
|
}(amisEditorCore.BasePlugin);
|
232
433
|
amisEditorCore.registerEditorPlugin(NavPlugin);
|
package/lib/plugin/Operation.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.5-beta.
|
2
|
+
* amis-editor v5.2.5-beta.5
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -71,7 +71,7 @@ var TableCellPlugin = /** @class */function (_super) {
|
|
71
71
|
name: 'groupName',
|
72
72
|
label: i18nRuntime.i18n("9db64f772c11c614ee00bb3cc066f46f"),
|
73
73
|
type: i18nEnabled ? 'input-text-i18n' : 'input-text',
|
74
|
-
description: i18nRuntime.i18n("
|
74
|
+
description: i18nRuntime.i18n("fea0f3f456153564218a9eefb78d8cec")
|
75
75
|
}, amisEditorCore.getSchemaTpl('switch', {
|
76
76
|
name: 'quickEdit',
|
77
77
|
label: i18nRuntime.i18n("19c4f5e98ad302574202de30dddbaf66"),
|
package/lib/plugin/Page.js
CHANGED
package/lib/plugin/Pagination.js
CHANGED
package/lib/plugin/Panel.js
CHANGED
package/lib/plugin/Plain.js
CHANGED