amis-editor 5.2.1-beta.35 → 5.2.3-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.js +2 -2
- package/esm/component/InputComponentName.js +2 -2
- package/esm/component/TableViewEditor.js +2 -2
- package/esm/icons/btn/btn-group.svg.js +2 -2
- package/esm/icons/btn/btn-select.svg.js +2 -2
- package/esm/icons/btn/btn-toolbar.svg.js +2 -2
- package/esm/icons/btn/button.svg.js +2 -2
- package/esm/icons/btn/dropdown-btn.svg.js +2 -2
- package/esm/icons/container/anchor-nav.svg.js +2 -2
- package/esm/icons/container/collapse.svg.js +2 -2
- package/esm/icons/container/container.svg.js +2 -2
- package/esm/icons/container/flex-container.svg.js +2 -2
- package/esm/icons/container/form-group.svg.js +2 -2
- package/esm/icons/container/grid.svg.js +2 -2
- package/esm/icons/container/iframe.svg.js +2 -2
- package/esm/icons/container/panel.svg.js +2 -2
- package/esm/icons/container/table-view.svg.js +2 -2
- package/esm/icons/container/tabs.svg.js +2 -2
- package/esm/icons/container/tooltip-wrapper.svg.js +2 -2
- package/esm/icons/container/web-component.svg.js +2 -2
- package/esm/icons/feat/audio.svg.js +2 -2
- package/esm/icons/feat/custom.svg.js +2 -2
- package/esm/icons/feat/each.svg.js +2 -2
- package/esm/icons/feat/form.svg.js +2 -2
- package/esm/icons/feat/nav.svg.js +2 -2
- package/esm/icons/feat/qrcode.svg.js +2 -2
- package/esm/icons/feat/service.svg.js +2 -2
- package/esm/icons/feat/table.svg.js +2 -2
- package/esm/icons/feat/tasks.svg.js +2 -2
- package/esm/icons/feat/video.svg.js +2 -2
- package/esm/icons/feat/wizard.svg.js +2 -2
- package/esm/icons/form/chained-select.svg.js +2 -2
- package/esm/icons/form/checkbox.svg.js +2 -2
- package/esm/icons/form/checkboxes.svg.js +2 -2
- package/esm/icons/form/combo.svg.js +2 -2
- package/esm/icons/form/condition-builder.svg.js +2 -2
- package/esm/icons/form/diff-editor.svg.js +2 -2
- package/esm/icons/form/editor.svg.js +2 -2
- package/esm/icons/form/formula.svg.js +2 -2
- package/esm/icons/form/hidden.svg.js +2 -2
- package/esm/icons/form/input-city.svg.js +2 -2
- package/esm/icons/form/input-color.svg.js +2 -2
- package/esm/icons/form/input-date-range.svg.js +2 -2
- package/esm/icons/form/input-date.svg.js +2 -2
- package/esm/icons/form/input-datetime.svg.js +2 -2
- package/esm/icons/form/input-email.svg.js +2 -2
- package/esm/icons/form/input-excel.svg.js +2 -2
- package/esm/icons/form/input-file.svg.js +2 -2
- package/esm/icons/form/input-group.svg.js +2 -2
- package/esm/icons/form/input-image.svg.js +2 -2
- package/esm/icons/form/input-kv.svg.js +2 -2
- package/esm/icons/form/input-month-range.svg.js +2 -2
- package/esm/icons/form/input-number.svg.js +2 -2
- package/esm/icons/form/input-password.svg.js +2 -2
- package/esm/icons/form/input-quarter-range.svg.js +2 -2
- package/esm/icons/form/input-range.svg.js +2 -2
- package/esm/icons/form/input-rating.svg.js +2 -2
- package/esm/icons/form/input-repeat.svg.js +2 -2
- package/esm/icons/form/input-rich-text.svg.js +2 -2
- package/esm/icons/form/input-tag.svg.js +2 -2
- package/esm/icons/form/input-text.svg.js +2 -2
- package/esm/icons/form/input-time-range.svg.js +2 -2
- package/esm/icons/form/input-time.svg.js +2 -2
- package/esm/icons/form/input-tree.svg.js +2 -2
- package/esm/icons/form/input-url.svg.js +2 -2
- package/esm/icons/form/input-year.svg.js +2 -2
- package/esm/icons/form/inputArray.svg.js +2 -2
- package/esm/icons/form/list-select.svg.js +2 -2
- package/esm/icons/form/location-picker.svg.js +2 -2
- package/esm/icons/form/matrix-checkboxes.svg.js +2 -2
- package/esm/icons/form/month.svg.js +2 -2
- package/esm/icons/form/nested-select.svg.js +2 -2
- package/esm/icons/form/picker.svg.js +2 -2
- package/esm/icons/form/quarter.svg.js +2 -2
- package/esm/icons/form/radios.svg.js +2 -2
- package/esm/icons/form/select.svg.js +2 -2
- package/esm/icons/form/static.svg.js +2 -2
- package/esm/icons/form/sub-form.svg.js +2 -2
- package/esm/icons/form/switch.svg.js +2 -2
- package/esm/icons/form/tabs-transfer.svg.js +2 -2
- package/esm/icons/form/textarea.svg.js +2 -2
- package/esm/icons/form/transfer.svg.js +2 -2
- package/esm/icons/form/tree-select.svg.js +2 -2
- package/esm/icons/form/uuid.svg.js +2 -2
- package/esm/icons/index.js +2 -2
- package/esm/icons/layout/layout-1with2.svg.js +2 -2
- package/esm/icons/layout/layout-2cols.svg.js +2 -2
- package/esm/icons/layout/layout-2row.svg.js +2 -2
- package/esm/icons/layout/layout-2with1.svg.js +2 -2
- package/esm/icons/layout/layout-3cols.svg.js +2 -2
- package/esm/icons/layout/layout-3row.svg.js +2 -2
- package/esm/icons/layout/layout-absolute.svg.js +2 -2
- package/esm/icons/layout/layout-fixed.svg.js +2 -2
- package/esm/icons/layout/layout-full.svg.js +2 -2
- package/esm/icons/layout/layout1-2.svg.js +2 -2
- package/esm/icons/layout/layout2-1.svg.js +2 -2
- package/esm/icons/layout/layout3-1.svg.js +2 -2
- package/esm/icons/layout/layout3-2.svg.js +2 -2
- package/esm/icons/other/divider.svg.js +2 -2
- package/esm/icons/other/property-sheet.svg.js +2 -2
- package/esm/icons/other/tooltip.svg.js +2 -2
- package/esm/icons/show/URL.svg.js +2 -2
- package/esm/icons/show/avatar.svg.js +2 -2
- package/esm/icons/show/breadcrumb.svg.js +2 -2
- package/esm/icons/show/card.svg.js +2 -2
- package/esm/icons/show/cards.svg.js +2 -2
- package/esm/icons/show/carousel.svg.js +2 -2
- package/esm/icons/show/chart.svg.js +2 -2
- package/esm/icons/show/code.svg.js +2 -2
- package/esm/icons/show/date.svg.js +2 -2
- package/esm/icons/show/datetime.svg.js +2 -2
- package/esm/icons/show/image.svg.js +2 -2
- package/esm/icons/show/images.svg.js +2 -2
- package/esm/icons/show/json-view.svg.js +2 -2
- package/esm/icons/show/list.svg.js +2 -2
- package/esm/icons/show/log.svg.js +2 -2
- package/esm/icons/show/mapping.svg.js +2 -2
- package/esm/icons/show/markdown.svg.js +2 -2
- package/esm/icons/show/plain.svg.js +2 -2
- package/esm/icons/show/progress.svg.js +2 -2
- package/esm/icons/show/sparkline.svg.js +2 -2
- package/esm/icons/show/status.svg.js +2 -2
- package/esm/icons/show/steps.svg.js +2 -2
- package/esm/icons/show/time.svg.js +2 -2
- package/esm/index.js +2 -2
- package/esm/locale/en-US.js +13 -7
- package/esm/locale/zh-CN.js +9 -3
- package/esm/plugin/Alert.js +2 -2
- package/esm/plugin/AnchorNav.js +2 -2
- package/esm/plugin/Audio.js +2 -2
- package/esm/plugin/Avatar.js +2 -2
- package/esm/plugin/Breadcrumb.js +2 -2
- package/esm/plugin/Button.js +32 -5
- package/esm/plugin/ButtonGroup.js +2 -2
- package/esm/plugin/CRUD.d.ts +1 -1
- package/esm/plugin/CRUD.js +12 -7
- package/esm/plugin/CRUD2.js +2 -2
- package/esm/plugin/Card.js +2 -2
- package/esm/plugin/Card2.js +2 -2
- package/esm/plugin/Cards.js +6 -2
- package/esm/plugin/Carousel.js +2 -2
- package/esm/plugin/Chart.js +2 -2
- package/esm/plugin/CodeView.d.ts +2 -2
- package/esm/plugin/CodeView.js +25 -23
- package/esm/plugin/Collapse.js +2 -2
- package/esm/plugin/CollapseGroup.js +2 -2
- package/esm/plugin/ColumnToggler.js +2 -2
- package/esm/plugin/Container.js +8 -7
- package/esm/plugin/Custom.js +2 -2
- package/esm/plugin/CustomRegion.js +2 -2
- package/esm/plugin/Date.js +2 -2
- package/esm/plugin/Datetime.js +2 -2
- package/esm/plugin/Dialog.js +2 -2
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +13 -3
- package/esm/plugin/Drawer.js +2 -2
- package/esm/plugin/DropDownButton.js +2 -2
- package/esm/plugin/Each.js +2 -2
- package/esm/plugin/Flex.js +2 -2
- package/esm/plugin/Form/ButtonGroupSelect.js +3 -7
- package/esm/plugin/Form/ButtonToolbar.js +2 -2
- package/esm/plugin/Form/ChainedSelect.js +2 -2
- package/esm/plugin/Form/Checkbox.js +2 -2
- package/esm/plugin/Form/Checkboxes.js +2 -6
- package/esm/plugin/Form/CodeEditor.js +2 -2
- package/esm/plugin/Form/Combo.js +2 -2
- package/esm/plugin/Form/ConditionBuilder.js +2 -2
- package/esm/plugin/Form/Control.js +2 -2
- package/esm/plugin/Form/DiffEditor.js +2 -2
- package/esm/plugin/Form/FieldSet.js +2 -2
- package/esm/plugin/Form/Form.js +2 -2
- package/esm/plugin/Form/Formula.js +2 -2
- package/esm/plugin/Form/Group.js +2 -2
- package/esm/plugin/Form/Hidden.js +2 -2
- package/esm/plugin/Form/InputArray.js +2 -2
- package/esm/plugin/Form/InputCity.js +2 -4
- package/esm/plugin/Form/InputColor.js +2 -2
- package/esm/plugin/Form/InputDate.js +2 -2
- package/esm/plugin/Form/InputDateRange.js +2 -2
- package/esm/plugin/Form/InputDateTime.js +2 -2
- package/esm/plugin/Form/InputDateTimeRange.js +2 -2
- package/esm/plugin/Form/InputEmail.js +2 -2
- package/esm/plugin/Form/InputExcel.js +2 -2
- package/esm/plugin/Form/InputFile.js +2 -2
- package/esm/plugin/Form/InputGroup.js +2 -2
- package/esm/plugin/Form/InputImage.js +2 -2
- package/esm/plugin/Form/InputKV.js +2 -2
- package/esm/plugin/Form/InputMonth.js +2 -2
- package/esm/plugin/Form/InputMonthRange.js +2 -2
- package/esm/plugin/Form/InputNumber.js +2 -2
- package/esm/plugin/Form/InputPassword.js +2 -2
- package/esm/plugin/Form/InputQuarter.js +2 -2
- package/esm/plugin/Form/InputQuarterRange.js +2 -2
- package/esm/plugin/Form/InputRange.js +2 -2
- package/esm/plugin/Form/InputRating.js +2 -2
- package/esm/plugin/Form/InputRepeat.js +2 -2
- package/esm/plugin/Form/InputRichText.js +2 -2
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.js +2 -2
- package/esm/plugin/Form/InputTag.js +2 -2
- package/esm/plugin/Form/InputText.js +2 -2
- package/esm/plugin/Form/InputTime.js +2 -2
- package/esm/plugin/Form/InputTimeRange.js +2 -2
- package/esm/plugin/Form/InputTree.js +2 -2
- package/esm/plugin/Form/InputURL.js +2 -2
- package/esm/plugin/Form/InputYear.js +2 -2
- package/esm/plugin/Form/InputYearRange.js +2 -2
- package/esm/plugin/Form/Item.js +2 -2
- package/esm/plugin/Form/ListSelect.js +2 -6
- package/esm/plugin/Form/LocationPicker.js +2 -2
- package/esm/plugin/Form/MatrixCheckboxes.js +2 -2
- package/esm/plugin/Form/NestedSelect.js +2 -2
- package/esm/plugin/Form/Picker.js +2 -2
- package/esm/plugin/Form/Radios.js +2 -6
- package/esm/plugin/Form/Select.js +2 -2
- package/esm/plugin/Form/Static.js +2 -2
- package/esm/plugin/Form/Switch.js +2 -2
- package/esm/plugin/Form/TabsTransfer.js +2 -2
- package/esm/plugin/Form/Textarea.js +2 -2
- package/esm/plugin/Form/Transfer.js +2 -2
- package/esm/plugin/Form/TreeSelect.js +2 -2
- package/esm/plugin/Form/UUID.js +2 -2
- package/esm/plugin/Grid.js +5 -3
- package/esm/plugin/HBox.js +2 -2
- package/esm/plugin/IFrame.js +2 -2
- package/esm/plugin/Image.js +2 -2
- package/esm/plugin/Images.js +2 -2
- package/esm/plugin/Json.js +2 -2
- package/esm/plugin/Layout/FlexPluginBase.js +5 -3
- package/esm/plugin/Layout/Layout1_2_v4.js +2 -2
- package/esm/plugin/Layout/Layout_fixed.js +2 -2
- package/esm/plugin/Layout/Layout_free_container.js +2 -2
- package/esm/plugin/Layout/Layout_sorption_container.js +2 -2
- package/esm/plugin/Link.js +2 -2
- package/esm/plugin/List.js +2 -2
- package/esm/plugin/ListItem.js +2 -2
- package/esm/plugin/Log.js +2 -2
- package/esm/plugin/Mapping.js +2 -2
- package/esm/plugin/Markdown.js +2 -2
- package/esm/plugin/Nav.js +2 -2
- package/esm/plugin/Operation.js +2 -2
- package/esm/plugin/Others/Action.js +2 -2
- package/esm/plugin/Others/TableCell.js +2 -2
- package/esm/plugin/Page.js +3 -3
- package/esm/plugin/Pagination.js +2 -2
- package/esm/plugin/Panel.js +6 -6
- package/esm/plugin/Plain.d.ts +3 -0
- package/esm/plugin/Plain.js +63 -3
- package/esm/plugin/Progress.js +2 -2
- package/esm/plugin/Property.js +2 -2
- package/esm/plugin/QRCode.js +2 -2
- package/esm/plugin/Reset.js +2 -2
- package/esm/plugin/Service.js +2 -2
- package/esm/plugin/Sparkline.js +2 -2
- package/esm/plugin/Status.js +2 -2
- package/esm/plugin/Steps.js +2 -2
- package/esm/plugin/Submit.js +2 -2
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +18 -8
- package/esm/plugin/Table2.d.ts +1 -1
- package/esm/plugin/Table2.js +18 -11
- package/esm/plugin/TableCell2.js +2 -2
- package/esm/plugin/TableView.js +2 -2
- package/esm/plugin/Tabs.js +2 -2
- package/esm/plugin/Tasks.js +2 -2
- package/esm/plugin/Time.js +2 -2
- package/esm/plugin/Timeline.js +2 -2
- package/esm/plugin/TooltipWrapper.js +2 -2
- package/esm/plugin/Tpl.d.ts +3 -0
- package/esm/plugin/Tpl.js +63 -3
- package/esm/plugin/Video.js +2 -2
- package/esm/plugin/WebComponent.js +6 -6
- package/esm/plugin/Wizard.js +2 -2
- package/esm/plugin/Wrapper.js +5 -3
- package/esm/renderer/APIControl.js +2 -2
- package/esm/renderer/BadgeControl.js +2 -2
- package/esm/renderer/DataBindingControl.js +2 -2
- package/esm/renderer/DataMappingControl.js +2 -2
- package/esm/renderer/DataPickerControl.js +2 -2
- package/esm/renderer/DateShortCutControl.js +2 -2
- package/esm/renderer/ExpressionFormulaControl.js +2 -2
- package/esm/renderer/FeatureControl.js +2 -2
- package/esm/renderer/FormulaControl.js +2 -2
- package/esm/renderer/GoConfigControl.js +2 -2
- package/esm/renderer/OptionControl.js +2 -2
- package/esm/renderer/RangePartsControl.js +2 -2
- package/esm/renderer/StatusControl.js +2 -2
- package/esm/renderer/SwitchMoreControl.js +2 -2
- package/esm/renderer/TimelineItemControl.js +2 -2
- package/esm/renderer/TransferTableControl.js +2 -2
- package/esm/renderer/TreeOptionControl.js +2 -2
- package/esm/renderer/ValidationControl.js +2 -2
- package/esm/renderer/ValidationItem.js +2 -2
- package/esm/renderer/event-control/action-config-dialog.js +2 -2
- package/esm/renderer/event-control/action-config-panel.js +2 -2
- package/esm/renderer/event-control/comp-action-select.js +2 -2
- package/esm/renderer/event-control/helper.d.ts +22 -21
- package/esm/renderer/event-control/helper.js +1305 -109
- package/esm/renderer/event-control/index.js +4 -4
- package/esm/renderer/style-control/Background.js +2 -2
- package/esm/renderer/style-control/Border.js +2 -2
- package/esm/renderer/style-control/BoxModel.js +2 -2
- package/esm/renderer/style-control/BoxShadow.js +2 -2
- package/esm/renderer/style-control/Display.js +2 -2
- package/esm/renderer/style-control/Font.js +2 -2
- package/esm/renderer/style-control/InsetBoxModel.js +2 -2
- package/esm/renderer/style-control/font-family.js +2 -2
- package/esm/renderer/style-control/transformation.js +2 -2
- package/esm/renderer/textarea-formula/FormulaPicker.js +2 -2
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +2 -2
- package/esm/renderer/textarea-formula/plugin.js +2 -2
- package/esm/renderer/textarea-formula/utils.js +2 -2
- package/esm/tpl/api.js +2 -2
- package/esm/tpl/common.js +3 -3
- package/esm/tpl/horizontal.js +2 -2
- package/esm/tpl/layout.js +91 -23
- package/esm/tpl/options.js +2 -2
- package/esm/tpl/style.js +2 -2
- package/esm/tpl/validations.js +2 -2
- package/esm/util.js +2 -3
- package/esm/validator.js +2 -2
- package/lib/component/BaseControl.js +2 -2
- package/lib/component/InputComponentName.js +2 -2
- package/lib/component/TableViewEditor.js +2 -2
- package/lib/icons/btn/btn-group.svg.js +2 -2
- package/lib/icons/btn/btn-select.svg.js +2 -2
- package/lib/icons/btn/btn-toolbar.svg.js +2 -2
- package/lib/icons/btn/button.svg.js +2 -2
- package/lib/icons/btn/dropdown-btn.svg.js +2 -2
- package/lib/icons/container/anchor-nav.svg.js +2 -2
- package/lib/icons/container/collapse.svg.js +2 -2
- package/lib/icons/container/container.svg.js +2 -2
- package/lib/icons/container/flex-container.svg.js +2 -2
- package/lib/icons/container/form-group.svg.js +2 -2
- package/lib/icons/container/grid.svg.js +2 -2
- package/lib/icons/container/iframe.svg.js +2 -2
- package/lib/icons/container/panel.svg.js +2 -2
- package/lib/icons/container/table-view.svg.js +2 -2
- package/lib/icons/container/tabs.svg.js +2 -2
- package/lib/icons/container/tooltip-wrapper.svg.js +2 -2
- package/lib/icons/container/web-component.svg.js +2 -2
- package/lib/icons/feat/audio.svg.js +2 -2
- package/lib/icons/feat/custom.svg.js +2 -2
- package/lib/icons/feat/each.svg.js +2 -2
- package/lib/icons/feat/form.svg.js +2 -2
- package/lib/icons/feat/nav.svg.js +2 -2
- package/lib/icons/feat/qrcode.svg.js +2 -2
- package/lib/icons/feat/service.svg.js +2 -2
- package/lib/icons/feat/table.svg.js +2 -2
- package/lib/icons/feat/tasks.svg.js +2 -2
- package/lib/icons/feat/video.svg.js +2 -2
- package/lib/icons/feat/wizard.svg.js +2 -2
- package/lib/icons/form/chained-select.svg.js +2 -2
- package/lib/icons/form/checkbox.svg.js +2 -2
- package/lib/icons/form/checkboxes.svg.js +2 -2
- package/lib/icons/form/combo.svg.js +2 -2
- package/lib/icons/form/condition-builder.svg.js +2 -2
- package/lib/icons/form/diff-editor.svg.js +2 -2
- package/lib/icons/form/editor.svg.js +2 -2
- package/lib/icons/form/formula.svg.js +2 -2
- package/lib/icons/form/hidden.svg.js +2 -2
- package/lib/icons/form/input-city.svg.js +2 -2
- package/lib/icons/form/input-color.svg.js +2 -2
- package/lib/icons/form/input-date-range.svg.js +2 -2
- package/lib/icons/form/input-date.svg.js +2 -2
- package/lib/icons/form/input-datetime.svg.js +2 -2
- package/lib/icons/form/input-email.svg.js +2 -2
- package/lib/icons/form/input-excel.svg.js +2 -2
- package/lib/icons/form/input-file.svg.js +2 -2
- package/lib/icons/form/input-group.svg.js +2 -2
- package/lib/icons/form/input-image.svg.js +2 -2
- package/lib/icons/form/input-kv.svg.js +2 -2
- package/lib/icons/form/input-month-range.svg.js +2 -2
- package/lib/icons/form/input-number.svg.js +2 -2
- package/lib/icons/form/input-password.svg.js +2 -2
- package/lib/icons/form/input-quarter-range.svg.js +2 -2
- package/lib/icons/form/input-range.svg.js +2 -2
- package/lib/icons/form/input-rating.svg.js +2 -2
- package/lib/icons/form/input-repeat.svg.js +2 -2
- package/lib/icons/form/input-rich-text.svg.js +2 -2
- package/lib/icons/form/input-tag.svg.js +2 -2
- package/lib/icons/form/input-text.svg.js +2 -2
- package/lib/icons/form/input-time-range.svg.js +2 -2
- package/lib/icons/form/input-time.svg.js +2 -2
- package/lib/icons/form/input-tree.svg.js +2 -2
- package/lib/icons/form/input-url.svg.js +2 -2
- package/lib/icons/form/input-year.svg.js +2 -2
- package/lib/icons/form/inputArray.svg.js +2 -2
- package/lib/icons/form/list-select.svg.js +2 -2
- package/lib/icons/form/location-picker.svg.js +2 -2
- package/lib/icons/form/matrix-checkboxes.svg.js +2 -2
- package/lib/icons/form/month.svg.js +2 -2
- package/lib/icons/form/nested-select.svg.js +2 -2
- package/lib/icons/form/picker.svg.js +2 -2
- package/lib/icons/form/quarter.svg.js +2 -2
- package/lib/icons/form/radios.svg.js +2 -2
- package/lib/icons/form/select.svg.js +2 -2
- package/lib/icons/form/static.svg.js +2 -2
- package/lib/icons/form/sub-form.svg.js +2 -2
- package/lib/icons/form/switch.svg.js +2 -2
- package/lib/icons/form/tabs-transfer.svg.js +2 -2
- package/lib/icons/form/textarea.svg.js +2 -2
- package/lib/icons/form/transfer.svg.js +2 -2
- package/lib/icons/form/tree-select.svg.js +2 -2
- package/lib/icons/form/uuid.svg.js +2 -2
- package/lib/icons/index.js +2 -2
- package/lib/icons/layout/layout-1with2.svg.js +2 -2
- package/lib/icons/layout/layout-2cols.svg.js +2 -2
- package/lib/icons/layout/layout-2row.svg.js +2 -2
- package/lib/icons/layout/layout-2with1.svg.js +2 -2
- package/lib/icons/layout/layout-3cols.svg.js +2 -2
- package/lib/icons/layout/layout-3row.svg.js +2 -2
- package/lib/icons/layout/layout-absolute.svg.js +2 -2
- package/lib/icons/layout/layout-fixed.svg.js +2 -2
- package/lib/icons/layout/layout-full.svg.js +2 -2
- package/lib/icons/layout/layout1-2.svg.js +2 -2
- package/lib/icons/layout/layout2-1.svg.js +2 -2
- package/lib/icons/layout/layout3-1.svg.js +2 -2
- package/lib/icons/layout/layout3-2.svg.js +2 -2
- package/lib/icons/other/divider.svg.js +2 -2
- package/lib/icons/other/property-sheet.svg.js +2 -2
- package/lib/icons/other/tooltip.svg.js +2 -2
- package/lib/icons/show/URL.svg.js +2 -2
- package/lib/icons/show/avatar.svg.js +2 -2
- package/lib/icons/show/breadcrumb.svg.js +2 -2
- package/lib/icons/show/card.svg.js +2 -2
- package/lib/icons/show/cards.svg.js +2 -2
- package/lib/icons/show/carousel.svg.js +2 -2
- package/lib/icons/show/chart.svg.js +2 -2
- package/lib/icons/show/code.svg.js +2 -2
- package/lib/icons/show/date.svg.js +2 -2
- package/lib/icons/show/datetime.svg.js +2 -2
- package/lib/icons/show/image.svg.js +2 -2
- package/lib/icons/show/images.svg.js +2 -2
- package/lib/icons/show/json-view.svg.js +2 -2
- package/lib/icons/show/list.svg.js +2 -2
- package/lib/icons/show/log.svg.js +2 -2
- package/lib/icons/show/mapping.svg.js +2 -2
- package/lib/icons/show/markdown.svg.js +2 -2
- package/lib/icons/show/plain.svg.js +2 -2
- package/lib/icons/show/progress.svg.js +2 -2
- package/lib/icons/show/sparkline.svg.js +2 -2
- package/lib/icons/show/status.svg.js +2 -2
- package/lib/icons/show/steps.svg.js +2 -2
- package/lib/icons/show/time.svg.js +2 -2
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +13 -7
- package/lib/locale/zh-CN.js +9 -3
- package/lib/plugin/Alert.js +2 -2
- package/lib/plugin/AnchorNav.js +2 -2
- package/lib/plugin/Audio.js +2 -2
- package/lib/plugin/Avatar.js +2 -2
- package/lib/plugin/Breadcrumb.js +2 -2
- package/lib/plugin/Button.js +32 -5
- package/lib/plugin/ButtonGroup.js +2 -2
- package/lib/plugin/CRUD.d.ts +1 -1
- package/lib/plugin/CRUD.js +12 -7
- package/lib/plugin/CRUD2.d.ts +1 -1
- package/lib/plugin/CRUD2.js +2 -2
- package/lib/plugin/Card.js +2 -2
- package/lib/plugin/Card2.js +2 -2
- package/lib/plugin/Cards.js +6 -2
- package/lib/plugin/Carousel.js +2 -2
- package/lib/plugin/Chart.js +2 -2
- package/lib/plugin/CodeView.d.ts +2 -2
- package/lib/plugin/CodeView.js +25 -23
- package/lib/plugin/Collapse.js +2 -2
- package/lib/plugin/CollapseGroup.js +2 -2
- package/lib/plugin/ColumnToggler.js +2 -2
- package/lib/plugin/Container.js +8 -7
- package/lib/plugin/Custom.js +2 -2
- package/lib/plugin/CustomRegion.js +2 -2
- package/lib/plugin/Date.js +2 -2
- package/lib/plugin/Datetime.js +2 -2
- package/lib/plugin/Dialog.js +2 -2
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +13 -3
- package/lib/plugin/Drawer.js +2 -2
- package/lib/plugin/DropDownButton.js +2 -2
- package/lib/plugin/Each.js +2 -2
- package/lib/plugin/Flex.js +2 -2
- package/lib/plugin/Form/ButtonGroupSelect.js +3 -7
- package/lib/plugin/Form/ButtonToolbar.js +2 -2
- package/lib/plugin/Form/ChainedSelect.js +2 -2
- package/lib/plugin/Form/Checkbox.js +2 -2
- package/lib/plugin/Form/Checkboxes.js +2 -6
- package/lib/plugin/Form/CodeEditor.js +2 -2
- package/lib/plugin/Form/Combo.js +2 -2
- package/lib/plugin/Form/ConditionBuilder.js +2 -2
- package/lib/plugin/Form/Control.js +2 -2
- package/lib/plugin/Form/DiffEditor.js +2 -2
- package/lib/plugin/Form/FieldSet.js +2 -2
- package/lib/plugin/Form/Form.js +2 -2
- package/lib/plugin/Form/Formula.js +2 -2
- package/lib/plugin/Form/Group.js +2 -2
- package/lib/plugin/Form/Hidden.js +2 -2
- package/lib/plugin/Form/InputArray.js +2 -2
- package/lib/plugin/Form/InputCity.js +2 -4
- package/lib/plugin/Form/InputColor.js +2 -2
- package/lib/plugin/Form/InputDate.js +2 -2
- package/lib/plugin/Form/InputDateRange.js +2 -2
- package/lib/plugin/Form/InputDateTime.js +2 -2
- package/lib/plugin/Form/InputDateTimeRange.js +2 -2
- package/lib/plugin/Form/InputEmail.js +2 -2
- package/lib/plugin/Form/InputExcel.js +2 -2
- package/lib/plugin/Form/InputFile.js +2 -2
- package/lib/plugin/Form/InputGroup.js +2 -2
- package/lib/plugin/Form/InputImage.js +2 -2
- package/lib/plugin/Form/InputKV.js +2 -2
- package/lib/plugin/Form/InputMonth.js +2 -2
- package/lib/plugin/Form/InputMonthRange.js +2 -2
- package/lib/plugin/Form/InputNumber.js +2 -2
- package/lib/plugin/Form/InputPassword.js +2 -2
- package/lib/plugin/Form/InputQuarter.js +2 -2
- package/lib/plugin/Form/InputQuarterRange.js +2 -2
- package/lib/plugin/Form/InputRange.js +2 -2
- package/lib/plugin/Form/InputRating.js +2 -2
- package/lib/plugin/Form/InputRepeat.js +2 -2
- package/lib/plugin/Form/InputRichText.js +2 -2
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.js +2 -2
- package/lib/plugin/Form/InputTag.js +2 -2
- package/lib/plugin/Form/InputText.js +2 -2
- package/lib/plugin/Form/InputTime.js +2 -2
- package/lib/plugin/Form/InputTimeRange.js +2 -2
- package/lib/plugin/Form/InputTree.js +2 -2
- package/lib/plugin/Form/InputURL.js +2 -2
- package/lib/plugin/Form/InputYear.js +2 -2
- package/lib/plugin/Form/InputYearRange.js +2 -2
- package/lib/plugin/Form/Item.js +2 -2
- package/lib/plugin/Form/ListSelect.js +2 -6
- package/lib/plugin/Form/LocationPicker.js +2 -2
- package/lib/plugin/Form/MatrixCheckboxes.js +2 -2
- package/lib/plugin/Form/NestedSelect.js +2 -2
- package/lib/plugin/Form/Picker.js +2 -2
- package/lib/plugin/Form/Radios.js +2 -6
- package/lib/plugin/Form/Select.js +2 -2
- package/lib/plugin/Form/Static.js +2 -2
- package/lib/plugin/Form/Switch.js +2 -2
- package/lib/plugin/Form/TabsTransfer.js +2 -2
- package/lib/plugin/Form/Textarea.js +2 -2
- package/lib/plugin/Form/Transfer.js +2 -2
- package/lib/plugin/Form/TreeSelect.js +2 -2
- package/lib/plugin/Form/UUID.js +2 -2
- package/lib/plugin/Grid.js +5 -3
- package/lib/plugin/HBox.js +2 -2
- package/lib/plugin/IFrame.js +2 -2
- package/lib/plugin/Image.js +2 -2
- package/lib/plugin/Images.js +2 -2
- package/lib/plugin/Json.js +2 -2
- package/lib/plugin/Layout/FlexPluginBase.js +5 -3
- package/lib/plugin/Layout/Layout1_2_v4.js +2 -2
- package/lib/plugin/Layout/Layout_fixed.js +2 -2
- package/lib/plugin/Layout/Layout_free_container.js +2 -2
- package/lib/plugin/Layout/Layout_sorption_container.js +2 -2
- package/lib/plugin/Link.js +2 -2
- package/lib/plugin/List.js +2 -2
- package/lib/plugin/ListItem.js +2 -2
- package/lib/plugin/Log.js +2 -2
- package/lib/plugin/Mapping.js +2 -2
- package/lib/plugin/Markdown.js +2 -2
- package/lib/plugin/Nav.js +2 -2
- package/lib/plugin/Operation.js +2 -2
- package/lib/plugin/Others/Action.js +2 -2
- package/lib/plugin/Others/TableCell.js +2 -2
- package/lib/plugin/Page.js +3 -3
- package/lib/plugin/Pagination.js +2 -2
- package/lib/plugin/Panel.js +6 -6
- package/lib/plugin/Plain.d.ts +3 -0
- package/lib/plugin/Plain.js +62 -2
- package/lib/plugin/Progress.js +2 -2
- package/lib/plugin/Property.js +2 -2
- package/lib/plugin/QRCode.js +2 -2
- package/lib/plugin/Reset.js +2 -2
- package/lib/plugin/Service.js +2 -2
- package/lib/plugin/Sparkline.js +2 -2
- package/lib/plugin/Status.js +2 -2
- package/lib/plugin/Steps.js +2 -2
- package/lib/plugin/Submit.js +2 -2
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +17 -7
- package/lib/plugin/Table2.d.ts +1 -1
- package/lib/plugin/Table2.js +17 -10
- package/lib/plugin/TableCell2.js +2 -2
- package/lib/plugin/TableView.js +2 -2
- package/lib/plugin/Tabs.d.ts +1 -0
- package/lib/plugin/Tabs.js +2 -2
- package/lib/plugin/Tasks.js +2 -2
- package/lib/plugin/Time.js +2 -2
- package/lib/plugin/Timeline.js +2 -2
- package/lib/plugin/TooltipWrapper.js +2 -2
- package/lib/plugin/Tpl.d.ts +3 -0
- package/lib/plugin/Tpl.js +62 -2
- package/lib/plugin/Video.js +2 -2
- package/lib/plugin/WebComponent.js +6 -6
- package/lib/plugin/Wizard.js +2 -2
- package/lib/plugin/Wrapper.js +5 -3
- package/lib/renderer/APIControl.d.ts +2 -2
- package/lib/renderer/APIControl.js +2 -2
- package/lib/renderer/BadgeControl.d.ts +10 -10
- package/lib/renderer/BadgeControl.js +2 -2
- package/lib/renderer/DataBindingControl.js +2 -2
- package/lib/renderer/DataMappingControl.js +2 -2
- package/lib/renderer/DataPickerControl.js +2 -2
- package/lib/renderer/DateShortCutControl.js +2 -2
- package/lib/renderer/ExpressionFormulaControl.js +2 -2
- package/lib/renderer/FeatureControl.js +2 -2
- package/lib/renderer/FormulaControl.js +2 -2
- package/lib/renderer/GoConfigControl.js +2 -2
- package/lib/renderer/OptionControl.js +2 -2
- package/lib/renderer/RangePartsControl.js +2 -2
- package/lib/renderer/StatusControl.js +2 -2
- package/lib/renderer/SwitchMoreControl.d.ts +62 -62
- package/lib/renderer/SwitchMoreControl.js +2 -2
- package/lib/renderer/TimelineItemControl.js +2 -2
- package/lib/renderer/TransferTableControl.js +2 -2
- package/lib/renderer/TreeOptionControl.js +2 -2
- package/lib/renderer/ValidationControl.js +2 -2
- package/lib/renderer/ValidationItem.js +2 -2
- package/lib/renderer/event-control/action-config-dialog.js +2 -2
- package/lib/renderer/event-control/action-config-panel.js +2 -2
- package/lib/renderer/event-control/comp-action-select.js +2 -2
- package/lib/renderer/event-control/helper.d.ts +22 -21
- package/lib/renderer/event-control/helper.js +1305 -108
- package/lib/renderer/event-control/index.js +4 -3
- package/lib/renderer/style-control/Background.js +2 -2
- package/lib/renderer/style-control/Border.js +2 -2
- package/lib/renderer/style-control/BoxModel.js +2 -2
- package/lib/renderer/style-control/BoxShadow.js +2 -2
- package/lib/renderer/style-control/Display.js +2 -2
- package/lib/renderer/style-control/Font.js +2 -2
- package/lib/renderer/style-control/InsetBoxModel.js +2 -2
- package/lib/renderer/style-control/font-family.js +2 -2
- package/lib/renderer/style-control/transformation.js +2 -2
- package/lib/renderer/textarea-formula/FormulaPicker.js +2 -2
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +2 -2
- package/lib/renderer/textarea-formula/plugin.js +2 -2
- package/lib/renderer/textarea-formula/utils.js +2 -2
- package/lib/tpl/api.js +2 -2
- package/lib/tpl/common.js +3 -3
- package/lib/tpl/horizontal.js +2 -2
- package/lib/tpl/layout.js +91 -23
- package/lib/tpl/options.js +2 -2
- package/lib/tpl/style.js +2 -2
- package/lib/tpl/validations.js +2 -2
- package/lib/util.js +2 -3
- package/lib/validator.js +2 -2
- package/package.json +1 -5
- package/esm/renderer/event-control/actions.d.ts +0 -3
- package/esm/renderer/event-control/actions.js +0 -1211
- package/lib/renderer/event-control/actions.d.ts +0 -3
- package/lib/renderer/event-control/actions.js +0 -1219
package/esm/locale/en-US.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { extendLocale } from 'i18n-runtime';
|
@@ -1011,7 +1011,7 @@ extendLocale('en-US', {
|
|
1011
1011
|
'f2996845b6bf0a07fe26f74f35e42ebe': 'Units',
|
1012
1012
|
'e48d95a94e49b81b12a0113a5c253d8f': 'Value label',
|
1013
1013
|
'a465db53b8c98f42caa15ca5662f9c90': 'Direction',
|
1014
|
-
'3aed2c11e95a9c0ea1d853d4aee72e8c': '
|
1014
|
+
'3aed2c11e95a9c0ea1d853d4aee72e8c': 'Auto',
|
1015
1015
|
'1d1a0bd85740653320d80f0d6e0918e7': 'Inputtable',
|
1016
1016
|
'd22aa5f57ff8679ee7b7d473ef31417d': 'Resettable',
|
1017
1017
|
'15628d1d85aee23c229c528a70419414': 'Track',
|
@@ -2904,8 +2904,8 @@ extendLocale('en-US', {
|
|
2904
2904
|
'969e9e56b3812abffa3994f35ea31835': 'Adsorption vessel',
|
2905
2905
|
'bb0e1fea25aafbe731886295fcef9a2e': 'Adsorption container: It can be set as a ceiling or ceiling display.',
|
2906
2906
|
'7d30297d4e1f310c73b27be88c748026': 'Adsorption position',
|
2907
|
-
'2ea76e2ffc1b92911d6f7decfa993360': '
|
2908
|
-
'8cfc818a76662085cb64752d6d592fbe': 'Bottom
|
2907
|
+
'2ea76e2ffc1b92911d6f7decfa993360': 'Top',
|
2908
|
+
'8cfc818a76662085cb64752d6d592fbe': 'Bottom',
|
2909
2909
|
'e2f6535e21570a0703c7c65f41b30eaa': 'Rolling adsorption',
|
2910
2910
|
'1c5ea0ffb2b15713cb22c41a02576924': 'When rolling adsorption is enabled, the adsorption mode will be automatically enabled when rolling to the upper and lower edges of the parent container.',
|
2911
2911
|
'5f9be0002394f0b58952969d5952e24c': 'Used to set the position of rolling adsorption',
|
@@ -2921,7 +2921,13 @@ extendLocale('en-US', {
|
|
2921
2921
|
'c6a65a86cd2bd74a6f72df0a7b81d3cb': 'After the event is configured, the default verification, submission to the api or target and other behaviors will not be triggered when the form is submitted. All behaviors need to be configured by yourself',
|
2922
2922
|
'c207ba29769aca6ffd45db9f80bcb29e': 'Zero as head',
|
2923
2923
|
'f02f876ee64cc016d97fa4dc498d4857': 'Height setting',
|
2924
|
-
'091885db07e43ff7cbe60c3b664b0b50': '
|
2924
|
+
'091885db07e43ff7cbe60c3b664b0b50': 'Elastic',
|
2925
2925
|
'363165ccee78341a65f1d42174e8b08f': 'Adaptation',
|
2926
|
-
'eb44269adb6ba70569cd62ea88cb2750': 'Elastic Settings'
|
2926
|
+
'eb44269adb6ba70569cd62ea88cb2750': 'Elastic Settings',
|
2927
|
+
'64561733c68085af3d09315c1d4d7ed6': 'Mouse Event Object',
|
2928
|
+
'052f93928af33d4d7035e7c8e8a73f17': 'The alignment is set by the margin value, where margin: 0 auto is used to set the center alignment',
|
2929
|
+
'a738a8594bd2b71002d09277b84d86dd': 'Left',
|
2930
|
+
'fc0f19e9e47e352d36d36cf6eb653210': 'Right',
|
2931
|
+
'c70638412c6cffd150117ae403dea939': 'Component static data',
|
2932
|
+
'77fdd35933c099cdcb64b71f3fbe7a6c': 'Data List'
|
2927
2933
|
});
|
package/esm/locale/zh-CN.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { extendLocale } from 'i18n-runtime';
|
@@ -2854,5 +2854,11 @@ extendLocale('zh-CN', {
|
|
2854
2854
|
'f02f876ee64cc016d97fa4dc498d4857': '高度设置',
|
2855
2855
|
'091885db07e43ff7cbe60c3b664b0b50': '弹性',
|
2856
2856
|
'363165ccee78341a65f1d42174e8b08f': '适配',
|
2857
|
-
'eb44269adb6ba70569cd62ea88cb2750': '弹性设置'
|
2857
|
+
'eb44269adb6ba70569cd62ea88cb2750': '弹性设置',
|
2858
|
+
'64561733c68085af3d09315c1d4d7ed6': '鼠标事件对象',
|
2859
|
+
'052f93928af33d4d7035e7c8e8a73f17': '通过 margin 数值来设置对齐方式,其中 margin: 0 auto 用于设置居中对齐',
|
2860
|
+
'a738a8594bd2b71002d09277b84d86dd': '靠左',
|
2861
|
+
'fc0f19e9e47e352d36d36cf6eb653210': '靠右',
|
2862
|
+
'c70638412c6cffd150117ae403dea939': '组件静态数据',
|
2863
|
+
'77fdd35933c099cdcb64b71f3fbe7a6c': '数据列表'
|
2858
2864
|
});
|
package/esm/plugin/Alert.js
CHANGED
package/esm/plugin/AnchorNav.js
CHANGED
package/esm/plugin/Audio.js
CHANGED
package/esm/plugin/Avatar.js
CHANGED
package/esm/plugin/Breadcrumb.js
CHANGED
package/esm/plugin/Button.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign } from 'tslib';
|
@@ -102,15 +102,42 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
102
102
|
eventName: 'click',
|
103
103
|
eventLabel: i18n("4363c17ebb346b646af55bd8c8075915"),
|
104
104
|
description: i18n("7af5e3ef39ff71d39fe3f645c8079124"),
|
105
|
-
defaultShow: true
|
105
|
+
defaultShow: true,
|
106
|
+
dataSchema: [{
|
107
|
+
type: 'object',
|
108
|
+
properties: {
|
109
|
+
nativeEvent: {
|
110
|
+
type: 'object',
|
111
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}]
|
106
115
|
}, {
|
107
116
|
eventName: 'mouseenter',
|
108
117
|
eventLabel: i18n("f6d767f39ba3bf955077a3c0ce81e581"),
|
109
|
-
description: i18n("bcdd89d453da0dc0622a2f3189728357")
|
118
|
+
description: i18n("bcdd89d453da0dc0622a2f3189728357"),
|
119
|
+
dataSchema: [{
|
120
|
+
type: 'object',
|
121
|
+
properties: {
|
122
|
+
nativeEvent: {
|
123
|
+
type: 'object',
|
124
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}]
|
110
128
|
}, {
|
111
129
|
eventName: 'mouseleave',
|
112
130
|
eventLabel: i18n("e272b0b8c7fedc670a87075514d9b49f"),
|
113
|
-
description: i18n("727309bc724ff237c5e2cdf7a90cf28e")
|
131
|
+
description: i18n("727309bc724ff237c5e2cdf7a90cf28e"),
|
132
|
+
dataSchema: [{
|
133
|
+
type: 'object',
|
134
|
+
properties: {
|
135
|
+
nativeEvent: {
|
136
|
+
type: 'object',
|
137
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}]
|
114
141
|
}
|
115
142
|
// {
|
116
143
|
// eventName: 'doubleClick',
|
package/esm/plugin/CRUD.d.ts
CHANGED
@@ -124,5 +124,5 @@ export declare class CRUDPlugin extends BasePlugin {
|
|
124
124
|
renderRenderer(props: any): JSX.Element;
|
125
125
|
filterProps(props: any): any;
|
126
126
|
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
127
|
-
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType): Promise<any>;
|
127
|
+
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType): Promise<any>;
|
128
128
|
}
|
package/esm/plugin/CRUD.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __awaiter, __generator, __rest, __assign } from 'tslib';
|
@@ -1483,11 +1483,16 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1483
1483
|
configurable: true,
|
1484
1484
|
writable: true,
|
1485
1485
|
value: function (props) {
|
1486
|
-
var $$editor = props.$$editor
|
1486
|
+
var $$editor = props.$$editor,
|
1487
|
+
style = props.style,
|
1488
|
+
rest = __rest(props, ["$$editor", "style"]);
|
1487
1489
|
var renderer = $$editor.renderer;
|
1488
1490
|
return React__default.createElement("div", {
|
1489
|
-
className: "ae-CRUDEditor"
|
1490
|
-
|
1491
|
+
className: "ae-CRUDEditor",
|
1492
|
+
style: style
|
1493
|
+
}, this.renderEditableComponents(props), React__default.createElement(renderer.component, __assign({
|
1494
|
+
"$$editor": $$editor
|
1495
|
+
}, rest)));
|
1491
1496
|
}
|
1492
1497
|
});
|
1493
1498
|
Object.defineProperty(CRUDPlugin.prototype, "filterProps", {
|
@@ -1525,7 +1530,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1525
1530
|
enumerable: false,
|
1526
1531
|
configurable: true,
|
1527
1532
|
writable: true,
|
1528
|
-
value: function (node, region) {
|
1533
|
+
value: function (node, region, trigger) {
|
1529
1534
|
var _a, _b;
|
1530
1535
|
return __awaiter(this, void 0, void 0, function () {
|
1531
1536
|
var child;
|
@@ -1537,7 +1542,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1537
1542
|
return [2 /*return*/];
|
1538
1543
|
}
|
1539
1544
|
|
1540
|
-
return [2 /*return*/, child.info.plugin.buildDataSchemas(child)];
|
1545
|
+
return [2 /*return*/, child.info.plugin.buildDataSchemas(child, undefined, trigger)];
|
1541
1546
|
});
|
1542
1547
|
});
|
1543
1548
|
}
|
package/esm/plugin/CRUD2.js
CHANGED
package/esm/plugin/Card.js
CHANGED
package/esm/plugin/Card2.js
CHANGED
package/esm/plugin/Cards.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign, __rest } from 'tslib';
|
@@ -125,10 +125,14 @@ var CardsPlugin = /** @class */function (_super) {
|
|
125
125
|
configurable: true,
|
126
126
|
writable: true,
|
127
127
|
value: function (context) {
|
128
|
+
var _a, _b;
|
128
129
|
var isCRUDBody = context.schema.type === 'crud';
|
130
|
+
var curPosition = (_b = (_a = context === null || context === void 0 ? void 0 : context.schema) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b.position;
|
131
|
+
var isAbsolute = curPosition === 'fixed' || curPosition === 'absolute';
|
129
132
|
return [getSchemaTpl('tabs', [{
|
130
133
|
title: i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
131
134
|
body: [getSchemaTpl('layout:originPosition', {
|
135
|
+
visibleOn: isAbsolute ? isAbsolute : undefined,
|
132
136
|
value: 'left-top'
|
133
137
|
}), {
|
134
138
|
children: React__default.createElement("div", {
|
package/esm/plugin/Carousel.js
CHANGED
package/esm/plugin/Chart.js
CHANGED
package/esm/plugin/CodeView.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BaseEventContext, BasePlugin } from 'amis-editor-core';
|
2
2
|
export declare class CodeViewPlugin extends BasePlugin {
|
3
3
|
rendererName: string;
|
4
4
|
$schema: string;
|
@@ -16,5 +16,5 @@ export declare class CodeViewPlugin extends BasePlugin {
|
|
16
16
|
};
|
17
17
|
previewSchema: any;
|
18
18
|
panelTitle: string;
|
19
|
-
|
19
|
+
panelBodyCreator: (context: BaseEventContext) => any;
|
20
20
|
}
|
package/esm/plugin/CodeView.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign } from 'tslib';
|
@@ -89,31 +89,33 @@ var CodeViewPlugin = /** @class */function (_super) {
|
|
89
89
|
writable: true,
|
90
90
|
value: i18n("38bbd995a790f5a67211e034b007c145")
|
91
91
|
});
|
92
|
-
Object.defineProperty(_this, "
|
92
|
+
Object.defineProperty(_this, "panelBodyCreator", {
|
93
93
|
enumerable: true,
|
94
94
|
configurable: true,
|
95
95
|
writable: true,
|
96
|
-
value:
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
96
|
+
value: function (context) {
|
97
|
+
return getSchemaTpl('tabs', [{
|
98
|
+
title: i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
99
|
+
body: [getSchemaTpl('layout:originPosition', {
|
100
|
+
value: 'left-top'
|
101
|
+
}), {
|
102
|
+
type: 'input-text',
|
103
|
+
label: i18n("d7ec2d3fea4756bc1642e0f10c180cf5"),
|
104
|
+
name: 'name'
|
105
|
+
}, {
|
106
|
+
type: 'editor',
|
107
|
+
label: i18n("86e38e6425f722ba725718af2366ac08"),
|
108
|
+
allowFullscreen: true,
|
109
|
+
name: 'value'
|
110
|
+
}]
|
104
111
|
}, {
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
body: [getSchemaTpl('className')]
|
113
|
-
}, {
|
114
|
-
title: i18n("33bf801796fd255b5f6147e33146669b"),
|
115
|
-
body: [getSchemaTpl('ref'), getSchemaTpl('visible')]
|
116
|
-
}])]
|
112
|
+
title: i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
113
|
+
body: [getSchemaTpl('className')]
|
114
|
+
}, {
|
115
|
+
title: i18n("33bf801796fd255b5f6147e33146669b"),
|
116
|
+
body: [getSchemaTpl('ref'), getSchemaTpl('visible')]
|
117
|
+
}]);
|
118
|
+
}
|
117
119
|
});
|
118
120
|
return _this;
|
119
121
|
}
|
package/esm/plugin/Collapse.js
CHANGED
package/esm/plugin/Container.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign, __spreadArray } from 'tslib';
|
@@ -212,8 +212,9 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
212
212
|
body: [{
|
213
213
|
name: 'wrapperComponent',
|
214
214
|
label: i18n("a823cfa70cfa46c788e1eedae043f6e5"),
|
215
|
-
type: '
|
216
|
-
|
215
|
+
type: 'select',
|
216
|
+
searchable: true,
|
217
|
+
options: ['div', 'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'article', 'aside', 'code', 'footer', 'header', 'section'],
|
217
218
|
pipeIn: defaultValue('div'),
|
218
219
|
validations: {
|
219
220
|
isAlphanumeric: true,
|
@@ -228,7 +229,9 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
228
229
|
}]
|
229
230
|
}, {
|
230
231
|
title: i18n("5aefca559c5a41d10078e21e6d616825"),
|
231
|
-
body: __spreadArray(__spreadArray([getSchemaTpl('layout:position'
|
232
|
+
body: __spreadArray(__spreadArray([getSchemaTpl('layout:position', {
|
233
|
+
visibleOn: '!data.stickyStatus'
|
234
|
+
}), getSchemaTpl('layout:originPosition'), getSchemaTpl('layout:inset', {
|
232
235
|
mode: 'vertical'
|
233
236
|
})], !isFreeContainer ? displayTpl : [], true), [isFlexItem ? getSchemaTpl('layout:flex', {
|
234
237
|
isFlexColumnItem: isFlexColumnItem,
|
@@ -262,8 +265,6 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
262
265
|
visibleOn: "".concat(!isFlexItem || isFlexColumnItem)
|
263
266
|
}), getSchemaTpl('layout:min-width', {
|
264
267
|
visibleOn: "".concat(!isFlexItem || isFlexColumnItem)
|
265
|
-
}), getSchemaTpl('layout:overflow-x', {
|
266
|
-
visibleOn: "".concat(isFlexItem && !isFlexColumnItem, " && data.style.flex === '0 0 150px'")
|
267
268
|
}), getSchemaTpl('layout:overflow-x', {
|
268
269
|
visibleOn: "".concat(!isFlexItem || isFlexColumnItem, " && (data.isFixedWidth || data.style && data.style.maxWidth)")
|
269
270
|
}), !isFlexItem ? getSchemaTpl('layout:margin-center') : null, getSchemaTpl('layout:z-index'), getSchemaTpl('layout:sticky'), getSchemaTpl('layout:stickyPosition')], false)
|
package/esm/plugin/Custom.js
CHANGED
package/esm/plugin/Date.js
CHANGED
package/esm/plugin/Datetime.js
CHANGED
package/esm/plugin/Dialog.js
CHANGED
package/esm/plugin/Divider.d.ts
CHANGED
package/esm/plugin/Divider.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends } from 'tslib';
|
@@ -78,13 +78,23 @@ var DividerPlugin = /** @class */function (_super) {
|
|
78
78
|
writable: true,
|
79
79
|
value: i18n("7e1eb2c588aa1301f4aa19395ef0a177")
|
80
80
|
});
|
81
|
+
Object.defineProperty(_this, "panelJustify", {
|
82
|
+
enumerable: true,
|
83
|
+
configurable: true,
|
84
|
+
writable: true,
|
85
|
+
value: true
|
86
|
+
});
|
81
87
|
Object.defineProperty(_this, "panelBody", {
|
82
88
|
enumerable: true,
|
83
89
|
configurable: true,
|
84
90
|
writable: true,
|
85
91
|
value: getSchemaTpl('tabs', [{
|
86
92
|
title: i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
87
|
-
body: [getSchemaTpl('
|
93
|
+
body: [getSchemaTpl('layout:originPosition', {
|
94
|
+
value: 'left-top'
|
95
|
+
}), getSchemaTpl('layout:width:v2', {
|
96
|
+
visibleOn: 'data.style && data.style.position && (data.style.position === "fixed" || data.style.position === "absolute")'
|
97
|
+
}), getSchemaTpl('className')]
|
88
98
|
}, {
|
89
99
|
title: i18n("33bf801796fd255b5f6147e33146669b"),
|
90
100
|
body: [getSchemaTpl('ref'), getSchemaTpl('visible')]
|
package/esm/plugin/Drawer.js
CHANGED
package/esm/plugin/Each.js
CHANGED
package/esm/plugin/Flex.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
3
|
-
* Copyright 2018-
|
2
|
+
* amis-editor v5.2.3-beta.12
|
3
|
+
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
6
6
|
import { __extends, __assign } from 'tslib';
|
@@ -182,11 +182,7 @@ var ButtonGroupControlPlugin = /** @class */function (_super) {
|
|
182
182
|
})]
|
183
183
|
}, {
|
184
184
|
title: i18n("66774850742a81e8b2393195290b7330"),
|
185
|
-
body: [getSchemaTpl('optionControlV2')
|
186
|
-
visibleOn: 'this.source || !this.options'
|
187
|
-
}, {
|
188
|
-
context: context
|
189
|
-
})]
|
185
|
+
body: [getSchemaTpl('optionControlV2')]
|
190
186
|
}, getSchemaTpl('status', {
|
191
187
|
isFormItem: true
|
192
188
|
})])]
|