amis-editor 5.2.1-beta.33 → 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.d.ts +1 -1
- package/esm/component/BaseControl.js +2 -2
- package/esm/component/InputComponentName.js +2 -2
- package/esm/component/TableViewEditor.d.ts +1 -0
- package/esm/component/TableViewEditor.js +8 -4
- 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.d.ts +2 -4
- package/esm/index.js +4 -6
- package/esm/locale/en-US.js +50 -5
- package/esm/locale/zh-CN.js +48 -3
- package/esm/plugin/Alert.js +5 -3
- package/esm/plugin/AnchorNav.js +5 -3
- package/esm/plugin/Audio.js +5 -3
- package/esm/plugin/Avatar.js +5 -3
- package/esm/plugin/Breadcrumb.js +5 -3
- package/esm/plugin/Button.js +35 -6
- package/esm/plugin/ButtonGroup.js +5 -3
- package/esm/plugin/CRUD.d.ts +1 -1
- package/esm/plugin/CRUD.js +19 -8
- package/esm/plugin/CRUD2.js +2 -2
- package/esm/plugin/Card.js +5 -3
- package/esm/plugin/Card2.js +5 -3
- package/esm/plugin/Cards.js +9 -3
- package/esm/plugin/Carousel.js +5 -3
- package/esm/plugin/Chart.js +5 -3
- package/esm/plugin/CodeView.d.ts +2 -2
- package/esm/plugin/CodeView.js +25 -21
- package/esm/plugin/Collapse.js +5 -3
- package/esm/plugin/CollapseGroup.js +5 -3
- package/esm/plugin/ColumnToggler.js +2 -2
- package/esm/plugin/Container.d.ts +1 -0
- package/esm/plugin/Container.js +106 -30
- package/esm/plugin/Custom.js +5 -3
- package/esm/plugin/CustomRegion.js +5 -3
- package/esm/plugin/Date.js +5 -3
- package/esm/plugin/Datetime.js +5 -3
- package/esm/plugin/Dialog.js +5 -3
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +13 -3
- package/esm/plugin/Drawer.js +5 -3
- package/esm/plugin/DropDownButton.js +5 -3
- package/esm/plugin/Each.js +6 -4
- package/esm/plugin/Flex.js +2 -2
- package/esm/plugin/Form/ButtonGroupSelect.js +5 -3
- package/esm/plugin/Form/ButtonToolbar.js +5 -3
- package/esm/plugin/Form/ChainedSelect.js +9 -3
- package/esm/plugin/Form/Checkbox.js +5 -3
- package/esm/plugin/Form/Checkboxes.js +5 -3
- package/esm/plugin/Form/CodeEditor.js +5 -3
- package/esm/plugin/Form/Combo.js +6 -4
- package/esm/plugin/Form/ConditionBuilder.js +5 -3
- package/esm/plugin/Form/Control.js +2 -2
- package/esm/plugin/Form/DiffEditor.js +5 -3
- package/esm/plugin/Form/FieldSet.js +5 -3
- package/esm/plugin/Form/Form.js +25 -21
- package/esm/plugin/Form/Formula.d.ts +1 -0
- package/esm/plugin/Form/Formula.js +6 -4
- package/esm/plugin/Form/Group.js +5 -3
- package/esm/plugin/Form/Hidden.d.ts +11 -7
- package/esm/plugin/Form/Hidden.js +7 -11
- package/esm/plugin/Form/InputArray.js +5 -3
- package/esm/plugin/Form/InputCity.js +5 -3
- package/esm/plugin/Form/InputColor.js +5 -3
- package/esm/plugin/Form/InputDate.js +5 -3
- package/esm/plugin/Form/InputDateRange.js +5 -3
- 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 +5 -3
- package/esm/plugin/Form/InputFile.js +5 -3
- package/esm/plugin/Form/InputGroup.js +5 -3
- package/esm/plugin/Form/InputImage.js +5 -3
- package/esm/plugin/Form/InputKV.d.ts +1 -11
- package/esm/plugin/Form/InputKV.js +6 -4
- package/esm/plugin/Form/InputMonth.js +2 -2
- package/esm/plugin/Form/InputMonthRange.js +2 -2
- package/esm/plugin/Form/InputNumber.js +5 -3
- 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 +5 -3
- package/esm/plugin/Form/InputRating.js +5 -3
- package/esm/plugin/Form/InputRepeat.js +5 -3
- package/esm/plugin/Form/InputRichText.js +5 -3
- package/esm/plugin/Form/InputSubForm.js +6 -4
- package/esm/plugin/Form/InputTable.js +5 -3
- package/esm/plugin/Form/InputTag.js +5 -3
- package/esm/plugin/Form/InputText.js +5 -3
- package/esm/plugin/Form/InputTime.js +2 -2
- package/esm/plugin/Form/InputTimeRange.js +2 -2
- package/esm/plugin/Form/InputTree.js +9 -3
- 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 +5 -3
- package/esm/plugin/Form/ListSelect.js +5 -3
- package/esm/plugin/Form/LocationPicker.js +5 -3
- package/esm/plugin/Form/MatrixCheckboxes.js +7 -3
- package/esm/plugin/Form/NestedSelect.js +10 -4
- package/esm/plugin/Form/Picker.js +5 -3
- package/esm/plugin/Form/Radios.js +5 -3
- package/esm/plugin/Form/Select.js +10 -4
- package/esm/plugin/Form/Static.js +5 -3
- package/esm/plugin/Form/Switch.js +5 -3
- package/esm/plugin/Form/TabsTransfer.js +10 -4
- package/esm/plugin/Form/Textarea.js +5 -3
- package/esm/plugin/Form/Transfer.js +9 -3
- package/esm/plugin/Form/TreeSelect.js +9 -3
- package/esm/plugin/Form/UUID.d.ts +11 -6
- package/esm/plugin/Form/UUID.js +7 -11
- package/esm/plugin/Grid.d.ts +1 -0
- package/esm/plugin/Grid.js +15 -5
- package/esm/plugin/HBox.js +5 -3
- package/esm/plugin/IFrame.d.ts +1 -0
- package/esm/plugin/IFrame.js +6 -4
- package/esm/plugin/Image.js +5 -3
- package/esm/plugin/Images.js +7 -3
- package/esm/plugin/Json.js +5 -3
- package/esm/plugin/Layout/FlexPluginBase.d.ts +1 -0
- package/esm/plugin/Layout/FlexPluginBase.js +97 -26
- package/esm/plugin/Layout/Layout1_2_v4.d.ts +0 -1
- package/esm/plugin/Layout/Layout1_2_v4.js +10 -12
- package/esm/plugin/Layout/Layout_fixed.d.ts +1 -1
- package/esm/plugin/Layout/Layout_fixed.js +10 -9
- package/esm/plugin/Layout/{Layout_fixed_bottom.d.ts → Layout_free_container.d.ts} +4 -3
- package/esm/plugin/Layout/{Layout_fixed_bottom.js → Layout_free_container.js} +31 -35
- package/{lib/plugin/Layout/Layout_fixed_top.d.ts → esm/plugin/Layout/Layout_sorption_container.d.ts} +1 -1
- package/esm/plugin/Layout/{Layout_fixed_top.js → Layout_sorption_container.js} +13 -11
- package/esm/plugin/Link.js +5 -3
- package/esm/plugin/List.js +5 -3
- package/esm/plugin/ListItem.js +5 -3
- package/esm/plugin/Log.js +5 -3
- package/esm/plugin/Mapping.js +5 -3
- package/esm/plugin/Markdown.js +5 -3
- package/esm/plugin/Nav.d.ts +2 -1
- package/esm/plugin/Nav.js +30 -24
- 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 +5 -3
- package/esm/plugin/Panel.js +5 -3
- package/esm/plugin/Plain.d.ts +3 -0
- package/esm/plugin/Plain.js +66 -4
- package/esm/plugin/Progress.js +5 -3
- package/esm/plugin/Property.js +5 -3
- package/esm/plugin/QRCode.js +5 -3
- package/esm/plugin/Reset.js +2 -2
- package/esm/plugin/Service.js +11 -4
- package/esm/plugin/Sparkline.d.ts +1 -5
- package/esm/plugin/Sparkline.js +6 -4
- package/esm/plugin/Status.js +5 -3
- package/esm/plugin/Steps.js +6 -4
- package/esm/plugin/Submit.js +2 -2
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +24 -10
- package/esm/plugin/Table2.d.ts +1 -1
- package/esm/plugin/Table2.js +24 -13
- package/esm/plugin/TableCell2.js +2 -2
- package/esm/plugin/TableView.js +5 -3
- package/esm/plugin/Tabs.js +5 -3
- package/esm/plugin/Tasks.d.ts +2 -1
- package/esm/plugin/Tasks.js +159 -151
- package/esm/plugin/Time.js +5 -3
- package/esm/plugin/Timeline.js +5 -3
- package/esm/plugin/TooltipWrapper.js +5 -3
- package/esm/plugin/Tpl.d.ts +3 -0
- package/esm/plugin/Tpl.js +66 -4
- package/esm/plugin/Video.js +5 -3
- package/esm/plugin/WebComponent.js +5 -3
- package/esm/plugin/Wizard.js +9 -3
- package/esm/plugin/Wrapper.js +87 -20
- package/esm/renderer/APIControl.d.ts +12 -36
- package/esm/renderer/APIControl.js +2 -2
- package/esm/renderer/BadgeControl.d.ts +8 -8
- 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.d.ts +50 -50
- 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 +3 -3
- 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 +7 -7
- 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 +65 -2
- package/esm/tpl/common.js +3 -3
- package/esm/tpl/horizontal.js +2 -2
- package/esm/tpl/layout.js +253 -82
- 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.d.ts +1 -0
- package/lib/component/TableViewEditor.js +8 -4
- 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.d.ts +2 -4
- package/lib/index.js +4 -6
- package/lib/locale/en-US.js +50 -5
- package/lib/locale/zh-CN.js +48 -3
- package/lib/plugin/Alert.js +5 -3
- package/lib/plugin/AnchorNav.js +5 -3
- package/lib/plugin/Audio.js +5 -3
- package/lib/plugin/Avatar.js +5 -3
- package/lib/plugin/Breadcrumb.js +5 -3
- package/lib/plugin/Button.js +35 -6
- package/lib/plugin/ButtonGroup.js +5 -3
- package/lib/plugin/CRUD.d.ts +1 -1
- package/lib/plugin/CRUD.js +19 -8
- package/lib/plugin/CRUD2.d.ts +1 -1
- package/lib/plugin/CRUD2.js +2 -2
- package/lib/plugin/Card.js +5 -3
- package/lib/plugin/Card2.js +5 -3
- package/lib/plugin/Cards.js +9 -3
- package/lib/plugin/Carousel.js +5 -3
- package/lib/plugin/Chart.js +5 -3
- package/lib/plugin/CodeView.d.ts +2 -2
- package/lib/plugin/CodeView.js +25 -21
- package/lib/plugin/Collapse.js +5 -3
- package/lib/plugin/CollapseGroup.js +5 -3
- package/lib/plugin/ColumnToggler.js +2 -2
- package/lib/plugin/Container.d.ts +1 -0
- package/lib/plugin/Container.js +106 -30
- package/lib/plugin/Custom.js +5 -3
- package/lib/plugin/CustomRegion.js +5 -3
- package/lib/plugin/Date.js +5 -3
- package/lib/plugin/Datetime.js +5 -3
- package/lib/plugin/Dialog.js +5 -3
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +13 -3
- package/lib/plugin/Drawer.js +5 -3
- package/lib/plugin/DropDownButton.js +5 -3
- package/lib/plugin/Each.js +5 -3
- package/lib/plugin/Flex.js +2 -2
- package/lib/plugin/Form/ButtonGroupSelect.js +5 -3
- package/lib/plugin/Form/ButtonToolbar.js +5 -3
- package/lib/plugin/Form/ChainedSelect.js +9 -3
- package/lib/plugin/Form/Checkbox.js +5 -3
- package/lib/plugin/Form/Checkboxes.js +5 -3
- package/lib/plugin/Form/CodeEditor.js +5 -3
- package/lib/plugin/Form/Combo.js +5 -3
- package/lib/plugin/Form/ConditionBuilder.js +5 -3
- package/lib/plugin/Form/Control.js +2 -2
- package/lib/plugin/Form/DiffEditor.js +5 -3
- package/lib/plugin/Form/FieldSet.js +5 -3
- package/lib/plugin/Form/Form.js +25 -21
- package/lib/plugin/Form/Formula.d.ts +1 -0
- package/lib/plugin/Form/Formula.js +6 -4
- package/lib/plugin/Form/Group.js +5 -3
- package/lib/plugin/Form/Hidden.d.ts +11 -7
- package/lib/plugin/Form/Hidden.js +6 -14
- package/lib/plugin/Form/InputArray.js +5 -3
- package/lib/plugin/Form/InputCity.js +5 -3
- package/lib/plugin/Form/InputColor.js +5 -3
- package/lib/plugin/Form/InputDate.js +5 -3
- package/lib/plugin/Form/InputDateRange.js +5 -3
- 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 +5 -3
- package/lib/plugin/Form/InputFile.js +5 -3
- package/lib/plugin/Form/InputGroup.js +5 -3
- package/lib/plugin/Form/InputImage.js +5 -3
- package/lib/plugin/Form/InputKV.d.ts +1 -11
- package/lib/plugin/Form/InputKV.js +5 -3
- package/lib/plugin/Form/InputMonth.js +2 -2
- package/lib/plugin/Form/InputMonthRange.js +2 -2
- package/lib/plugin/Form/InputNumber.js +5 -3
- 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 +5 -3
- package/lib/plugin/Form/InputRating.js +5 -3
- package/lib/plugin/Form/InputRepeat.js +5 -3
- package/lib/plugin/Form/InputRichText.js +5 -3
- package/lib/plugin/Form/InputSubForm.js +5 -3
- package/lib/plugin/Form/InputTable.js +5 -3
- package/lib/plugin/Form/InputTag.js +5 -3
- package/lib/plugin/Form/InputText.js +5 -3
- package/lib/plugin/Form/InputTime.js +2 -2
- package/lib/plugin/Form/InputTimeRange.js +2 -2
- package/lib/plugin/Form/InputTree.js +9 -3
- 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 +5 -3
- package/lib/plugin/Form/ListSelect.js +5 -3
- package/lib/plugin/Form/LocationPicker.js +5 -3
- package/lib/plugin/Form/MatrixCheckboxes.js +7 -3
- package/lib/plugin/Form/NestedSelect.js +10 -4
- package/lib/plugin/Form/Picker.js +5 -3
- package/lib/plugin/Form/Radios.js +5 -3
- package/lib/plugin/Form/Select.js +10 -4
- package/lib/plugin/Form/Static.js +5 -3
- package/lib/plugin/Form/Switch.js +5 -3
- package/lib/plugin/Form/TabsTransfer.js +10 -4
- package/lib/plugin/Form/Textarea.js +5 -3
- package/lib/plugin/Form/Transfer.js +9 -3
- package/lib/plugin/Form/TreeSelect.js +9 -3
- package/lib/plugin/Form/UUID.d.ts +11 -6
- package/lib/plugin/Form/UUID.js +6 -14
- package/lib/plugin/Grid.d.ts +1 -0
- package/lib/plugin/Grid.js +15 -5
- package/lib/plugin/HBox.js +5 -3
- package/lib/plugin/IFrame.d.ts +1 -0
- package/lib/plugin/IFrame.js +6 -4
- package/lib/plugin/Image.js +5 -3
- package/lib/plugin/Images.js +7 -3
- package/lib/plugin/Json.js +5 -3
- package/lib/plugin/Layout/FlexPluginBase.d.ts +1 -0
- package/lib/plugin/Layout/FlexPluginBase.js +97 -26
- package/lib/plugin/Layout/Layout1_2_v4.d.ts +0 -1
- package/lib/plugin/Layout/Layout1_2_v4.js +10 -12
- package/lib/plugin/Layout/Layout_fixed.d.ts +1 -1
- package/lib/plugin/Layout/Layout_fixed.js +10 -9
- package/{esm/plugin/Layout/Layout_scroll_x.d.ts → lib/plugin/Layout/Layout_free_container.d.ts} +4 -3
- package/lib/plugin/Layout/{Layout_fixed_bottom.js → Layout_free_container.js} +31 -35
- package/{esm/plugin/Layout/Layout_fixed_top.d.ts → lib/plugin/Layout/Layout_sorption_container.d.ts} +1 -1
- package/lib/plugin/Layout/{Layout_fixed_top.js → Layout_sorption_container.js} +13 -11
- package/lib/plugin/Link.js +5 -3
- package/lib/plugin/List.js +5 -3
- package/lib/plugin/ListItem.js +5 -3
- package/lib/plugin/Log.js +5 -3
- package/lib/plugin/Mapping.js +5 -3
- package/lib/plugin/Markdown.js +5 -3
- package/lib/plugin/Nav.d.ts +2 -1
- package/lib/plugin/Nav.js +30 -24
- 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 +5 -3
- package/lib/plugin/Panel.js +5 -3
- package/lib/plugin/Plain.d.ts +3 -0
- package/lib/plugin/Plain.js +65 -3
- package/lib/plugin/Progress.js +5 -3
- package/lib/plugin/Property.js +5 -3
- package/lib/plugin/QRCode.js +5 -3
- package/lib/plugin/Reset.js +2 -2
- package/lib/plugin/Service.js +11 -4
- package/lib/plugin/Sparkline.d.ts +1 -5
- package/lib/plugin/Sparkline.js +5 -3
- package/lib/plugin/Status.js +5 -3
- package/lib/plugin/Steps.js +6 -4
- package/lib/plugin/Submit.js +2 -2
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +23 -9
- package/lib/plugin/Table2.d.ts +1 -1
- package/lib/plugin/Table2.js +23 -12
- package/lib/plugin/TableCell2.js +2 -2
- package/lib/plugin/TableView.js +5 -3
- package/lib/plugin/Tabs.d.ts +1 -0
- package/lib/plugin/Tabs.js +5 -3
- package/lib/plugin/Tasks.d.ts +2 -1
- package/lib/plugin/Tasks.js +159 -151
- package/lib/plugin/Time.js +5 -3
- package/lib/plugin/Timeline.js +5 -3
- package/lib/plugin/TooltipWrapper.js +5 -3
- package/lib/plugin/Tpl.d.ts +3 -0
- package/lib/plugin/Tpl.js +65 -3
- package/lib/plugin/Video.js +5 -3
- package/lib/plugin/WebComponent.js +5 -3
- package/lib/plugin/Wizard.js +9 -3
- package/lib/plugin/Wrapper.js +87 -20
- package/lib/renderer/APIControl.d.ts +14 -38
- package/lib/renderer/APIControl.js +2 -2
- package/lib/renderer/BadgeControl.d.ts +12 -12
- 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 +64 -64
- 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 +3 -3
- 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 +7 -6
- 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 +65 -2
- package/lib/tpl/common.js +3 -3
- package/lib/tpl/horizontal.js +2 -2
- package/lib/tpl/layout.js +253 -82
- 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/plugin/Layout/Layout_scroll_x.js +0 -166
- package/esm/plugin/Layout/Layout_scroll_y.d.ts +0 -10
- package/esm/plugin/Layout/Layout_scroll_y.js +0 -154
- package/esm/renderer/event-control/actions.d.ts +0 -3
- package/esm/renderer/event-control/actions.js +0 -1211
- package/lib/plugin/Layout/Layout_fixed_bottom.d.ts +0 -10
- package/lib/plugin/Layout/Layout_scroll_x.d.ts +0 -10
- package/lib/plugin/Layout/Layout_scroll_x.js +0 -170
- package/lib/plugin/Layout/Layout_scroll_y.d.ts +0 -10
- package/lib/plugin/Layout/Layout_scroll_y.js +0 -158
- package/lib/renderer/event-control/actions.d.ts +0 -3
- package/lib/renderer/event-control/actions.js +0 -1219
package/lib/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
|
'use strict';
|
@@ -2817,5 +2817,50 @@ i18nRuntime.extendLocale('zh-CN', {
|
|
2817
2817
|
'a2b62974f4d7564bb68b570116f25a10': '最小宽度',
|
2818
2818
|
'2bd921d0ea7a73b77ee0fcddb1afcc84': '最小高度',
|
2819
2819
|
'eb7366583485f478e3d8c2b105ea51ff': '定义项目的放大比例,如果设置为0,即使父容器存在剩余空间,也不放大。',
|
2820
|
-
'5d3d48de1ba22368eacdc1c69fb044ce': '组件内层 CSS 类名'
|
2820
|
+
'5d3d48de1ba22368eacdc1c69fb044ce': '组件内层 CSS 类名',
|
2821
|
+
'72c32b47c5e4dcd58ddabdb8fde761a0': '悬浮容器: 基于 CSS Flex 实现的特殊布局容器。',
|
2822
|
+
'a03384e93b62e3110aa92c9e345111ba': '吸底容器: 基于 CSS Flex 实现的布局容器。',
|
2823
|
+
'f564e3e66dd2aca0e080cb6484c95a5e': '吸顶容器: 基于 CSS Flex 实现的布局容器。',
|
2824
|
+
'db805d4e361ac2d3fc6047eaea1a7c69': '自由容器',
|
2825
|
+
'9ccbfde404798593fa6fdeac9dbef200': '自由容器: 其直接子元素支持拖拽调整位置。',
|
2826
|
+
'f20ca09e513399510ce34ba2cb05b7d9': 'x轴滚动容器: 基于 CSS Flex 实现的布局容器。',
|
2827
|
+
'47ef0cec2c3436377a42390e10de4567': 'y轴滚动容器: 基于 CSS Flex 实现的布局容器。',
|
2828
|
+
'8c2bb89f516205027b9ed6609fb17726': '阻断条件',
|
2829
|
+
'46a3c6ab94da0b16a707bdd3b74c9e09': '满足条件时,将会阻断当前事件的后续动作的执行',
|
2830
|
+
'6e6d4269d0dc3324d551062350a2ae9f': '静默请求',
|
2831
|
+
'56e13c39822a814ab39b0d5a0867d7dc': '开启后,服务请求将以静默模式发送,即不会弹出成功或报错提示。',
|
2832
|
+
'7f019b96ffb7d72ec8d6ce8d76e5362f': '表达式已配置',
|
2833
|
+
'699829ed5bab67dfb360764c3bbaed4e': '{{@1}}-事件配置',
|
2834
|
+
'5ba999eb762f60324033b735e55d989c': '事件防重',
|
2835
|
+
'7fe94616be0e8fb5ef5ab40a7397f0aa': '开启事件防重后,防重时间内多次触发事件只会执行最后一次',
|
2836
|
+
'91b72e901f1663637157cda638ac4dcc': '防重时间',
|
2837
|
+
'969e9e56b3812abffa3994f35ea31835': '吸附容器',
|
2838
|
+
'bb0e1fea25aafbe731886295fcef9a2e': '吸附容器: 可设置成吸顶或者吸顶展示。',
|
2839
|
+
'7d30297d4e1f310c73b27be88c748026': '吸附位置',
|
2840
|
+
'2ea76e2ffc1b92911d6f7decfa993360': '吸顶',
|
2841
|
+
'8cfc818a76662085cb64752d6d592fbe': '吸底',
|
2842
|
+
'e2f6535e21570a0703c7c65f41b30eaa': '滚动吸附',
|
2843
|
+
'1c5ea0ffb2b15713cb22c41a02576924': '开启滚动吸附后,当滚动至父容器上下边沿时会自动开启吸附模式。',
|
2844
|
+
'5f9be0002394f0b58952969d5952e24c': '用于设置滚动吸附时的位置',
|
2845
|
+
'28968f372fe88c0ef855c7f79f42bbad': '均匀分布',
|
2846
|
+
'd481ed97681365f18cf20ef914473a02': '起点对齐',
|
2847
|
+
'02f6ac7a3bf6a8b4440a2a1c3e1daeea': '终点对齐',
|
2848
|
+
'cbac406a3f51abad691702015b0784ba': '高度撑满',
|
2849
|
+
'5a4e41af91746f8a3905aa9f66048955': '加载设置',
|
2850
|
+
'6ade3082696deb00357f5c0359093cd4': '合并到上层loading',
|
2851
|
+
'b6ac896eff6a6502e4ae7079b3e507a5': '不展示loading',
|
2852
|
+
'0e9ffe1f1cf3f7a620970ea75dba9f39': '使用页面全局loading',
|
2853
|
+
'b1119174b1beedd2218e0b359ef14aec': '表单提交',
|
2854
|
+
'c6a65a86cd2bd74a6f72df0a7b81d3cb': '配置该事件后将不会触发表单提交时默认的校验、提交到api或者target等行为,所有行为需要自己配置',
|
2855
|
+
'c207ba29769aca6ffd45db9f80bcb29e': '以零为头部',
|
2856
|
+
'f02f876ee64cc016d97fa4dc498d4857': '高度设置',
|
2857
|
+
'091885db07e43ff7cbe60c3b664b0b50': '弹性',
|
2858
|
+
'363165ccee78341a65f1d42174e8b08f': '适配',
|
2859
|
+
'eb44269adb6ba70569cd62ea88cb2750': '弹性设置',
|
2860
|
+
'64561733c68085af3d09315c1d4d7ed6': '鼠标事件对象',
|
2861
|
+
'052f93928af33d4d7035e7c8e8a73f17': '通过 margin 数值来设置对齐方式,其中 margin: 0 auto 用于设置居中对齐',
|
2862
|
+
'a738a8594bd2b71002d09277b84d86dd': '靠左',
|
2863
|
+
'fc0f19e9e47e352d36d36cf6eb653210': '靠右',
|
2864
|
+
'c70638412c6cffd150117ae403dea939': '组件静态数据',
|
2865
|
+
'77fdd35933c099cdcb64b71f3fbe7a6c': '数据列表'
|
2821
2866
|
});
|
package/lib/plugin/Alert.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
|
'use strict';
|
@@ -126,7 +126,9 @@ var AlertPlugin = /** @class */function (_super) {
|
|
126
126
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
127
127
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
128
128
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
129
|
-
body: [{
|
129
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
130
|
+
value: 'left-top'
|
131
|
+
}), {
|
130
132
|
label: i18nRuntime.i18n("226b0912184333c81babf2f1894ec0c1"),
|
131
133
|
name: 'level',
|
132
134
|
type: 'select',
|
package/lib/plugin/AnchorNav.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
|
'use strict';
|
@@ -138,7 +138,9 @@ var AnchorNavPlugin = /** @class */function (_super) {
|
|
138
138
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
139
139
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
140
140
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
141
|
-
body: [amisEditorCore.getSchemaTpl('
|
141
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
142
|
+
value: 'left-top'
|
143
|
+
}), amisEditorCore.getSchemaTpl('combo-container', {
|
142
144
|
type: 'combo',
|
143
145
|
name: 'links',
|
144
146
|
label: i18nRuntime.i18n("9ad515106f02f3909974b75d22625b0d"),
|
package/lib/plugin/Audio.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
|
'use strict';
|
@@ -95,7 +95,9 @@ var AudioPlugin = /** @class */function (_super) {
|
|
95
95
|
var isUnderField = /\/field\/\w+$/.test(context.path);
|
96
96
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
97
97
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
98
|
-
body: [
|
98
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
99
|
+
value: 'left-top'
|
100
|
+
}), isUnderField ? {
|
99
101
|
type: 'tpl',
|
100
102
|
inline: false,
|
101
103
|
className: 'text-info text-sm',
|
package/lib/plugin/Avatar.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
|
'use strict';
|
@@ -127,7 +127,9 @@ var AvatarPlugin = /** @class */function (_super) {
|
|
127
127
|
body: [amisEditorCore.getSchemaTpl('collapseGroup', [{
|
128
128
|
className: 'p-none',
|
129
129
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
130
|
-
body: [
|
130
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
131
|
+
value: 'left-top'
|
132
|
+
}),
|
131
133
|
// 如果同时存在 src、text 和 icon,会优先用 src、接着 text、最后 icon
|
132
134
|
{
|
133
135
|
type: 'button-group-select',
|
package/lib/plugin/Breadcrumb.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
|
'use strict';
|
@@ -112,7 +112,9 @@ var BreadcrumbPlugin = /** @class */function (_super) {
|
|
112
112
|
writable: true,
|
113
113
|
value: [amisEditorCore.getSchemaTpl('tabs', [{
|
114
114
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
115
|
-
body: [{
|
115
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
116
|
+
value: 'left-top'
|
117
|
+
}), {
|
116
118
|
label: i18nRuntime.i18n("894b94fbb15650da7f9290e7106446f3"),
|
117
119
|
type: 'input-text',
|
118
120
|
name: 'separator'
|
package/lib/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
|
'use strict';
|
@@ -106,15 +106,42 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
106
106
|
eventName: 'click',
|
107
107
|
eventLabel: i18nRuntime.i18n("4363c17ebb346b646af55bd8c8075915"),
|
108
108
|
description: i18nRuntime.i18n("7af5e3ef39ff71d39fe3f645c8079124"),
|
109
|
-
defaultShow: true
|
109
|
+
defaultShow: true,
|
110
|
+
dataSchema: [{
|
111
|
+
type: 'object',
|
112
|
+
properties: {
|
113
|
+
nativeEvent: {
|
114
|
+
type: 'object',
|
115
|
+
title: i18nRuntime.i18n("64561733c68085af3d09315c1d4d7ed6")
|
116
|
+
}
|
117
|
+
}
|
118
|
+
}]
|
110
119
|
}, {
|
111
120
|
eventName: 'mouseenter',
|
112
121
|
eventLabel: i18nRuntime.i18n("f6d767f39ba3bf955077a3c0ce81e581"),
|
113
|
-
description: i18nRuntime.i18n("bcdd89d453da0dc0622a2f3189728357")
|
122
|
+
description: i18nRuntime.i18n("bcdd89d453da0dc0622a2f3189728357"),
|
123
|
+
dataSchema: [{
|
124
|
+
type: 'object',
|
125
|
+
properties: {
|
126
|
+
nativeEvent: {
|
127
|
+
type: 'object',
|
128
|
+
title: i18nRuntime.i18n("64561733c68085af3d09315c1d4d7ed6")
|
129
|
+
}
|
130
|
+
}
|
131
|
+
}]
|
114
132
|
}, {
|
115
133
|
eventName: 'mouseleave',
|
116
134
|
eventLabel: i18nRuntime.i18n("e272b0b8c7fedc670a87075514d9b49f"),
|
117
|
-
description: i18nRuntime.i18n("727309bc724ff237c5e2cdf7a90cf28e")
|
135
|
+
description: i18nRuntime.i18n("727309bc724ff237c5e2cdf7a90cf28e"),
|
136
|
+
dataSchema: [{
|
137
|
+
type: 'object',
|
138
|
+
properties: {
|
139
|
+
nativeEvent: {
|
140
|
+
type: 'object',
|
141
|
+
title: i18nRuntime.i18n("64561733c68085af3d09315c1d4d7ed6")
|
142
|
+
}
|
143
|
+
}
|
144
|
+
}]
|
118
145
|
}
|
119
146
|
// {
|
120
147
|
// eventName: 'doubleClick',
|
@@ -150,7 +177,9 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
150
177
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
151
178
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
152
179
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
153
|
-
body: [{
|
180
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
181
|
+
value: 'left-top'
|
182
|
+
}), {
|
154
183
|
label: i18nRuntime.i18n("d7ec2d3fea4756bc1642e0f10c180cf5"),
|
155
184
|
type: 'input-text',
|
156
185
|
name: 'label'
|
@@ -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
|
'use strict';
|
@@ -114,7 +114,9 @@ var ButtonGroupPlugin = /** @class */function (_super) {
|
|
114
114
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
115
115
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
116
116
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
117
|
-
body: [{
|
117
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
118
|
+
value: 'left-top'
|
119
|
+
}), {
|
118
120
|
type: 'button-group-select',
|
119
121
|
name: 'vertical',
|
120
122
|
label: i18nRuntime.i18n("de26e1294acedb55155a418630d57924"),
|
package/lib/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/lib/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
|
'use strict';
|
@@ -559,7 +559,9 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
559
559
|
var id = context.id;
|
560
560
|
return amisEditorCore.getSchemaTpl('tabs', [{
|
561
561
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
562
|
-
body: [amisEditorCore.getSchemaTpl('
|
562
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
563
|
+
value: 'left-top'
|
564
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
563
565
|
name: 'filter',
|
564
566
|
label: i18nRuntime.i18n("07a88fae7dd11f87891af91fb54a74bb"),
|
565
567
|
visibleOn: 'data.api && data.api.url',
|
@@ -846,6 +848,10 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
846
848
|
description: i18nRuntime.i18n("38db6e045e214ffcd03ede695002271c")
|
847
849
|
}), {
|
848
850
|
type: 'divider'
|
851
|
+
}, amisEditorCore.getSchemaTpl('loadingConfig', {}, {
|
852
|
+
context: context
|
853
|
+
}), {
|
854
|
+
type: 'divider'
|
849
855
|
}, {
|
850
856
|
label: i18nRuntime.i18n("522110866c19dace2ce38336617405c2"),
|
851
857
|
type: 'combo',
|
@@ -1487,11 +1493,16 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1487
1493
|
configurable: true,
|
1488
1494
|
writable: true,
|
1489
1495
|
value: function (props) {
|
1490
|
-
var $$editor = props.$$editor
|
1496
|
+
var $$editor = props.$$editor,
|
1497
|
+
style = props.style,
|
1498
|
+
rest = tslib.__rest(props, ["$$editor", "style"]);
|
1491
1499
|
var renderer = $$editor.renderer;
|
1492
1500
|
return React__default["default"].createElement("div", {
|
1493
|
-
className: "ae-CRUDEditor"
|
1494
|
-
|
1501
|
+
className: "ae-CRUDEditor",
|
1502
|
+
style: style
|
1503
|
+
}, this.renderEditableComponents(props), React__default["default"].createElement(renderer.component, tslib.__assign({
|
1504
|
+
"$$editor": $$editor
|
1505
|
+
}, rest)));
|
1495
1506
|
}
|
1496
1507
|
});
|
1497
1508
|
Object.defineProperty(CRUDPlugin.prototype, "filterProps", {
|
@@ -1529,7 +1540,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1529
1540
|
enumerable: false,
|
1530
1541
|
configurable: true,
|
1531
1542
|
writable: true,
|
1532
|
-
value: function (node, region) {
|
1543
|
+
value: function (node, region, trigger) {
|
1533
1544
|
var _a, _b;
|
1534
1545
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
1535
1546
|
var child;
|
@@ -1541,7 +1552,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1541
1552
|
return [2 /*return*/];
|
1542
1553
|
}
|
1543
1554
|
|
1544
|
-
return [2 /*return*/, child.info.plugin.buildDataSchemas(child)];
|
1555
|
+
return [2 /*return*/, child.info.plugin.buildDataSchemas(child, undefined, trigger)];
|
1545
1556
|
});
|
1546
1557
|
});
|
1547
1558
|
}
|
package/lib/plugin/CRUD2.d.ts
CHANGED
@@ -40,7 +40,7 @@ export declare class CRUDPlugin extends BasePlugin {
|
|
40
40
|
previewSchema: any;
|
41
41
|
getRendererInfo(context: RendererInfoResolveEventContext): BasicRendererInfo | void;
|
42
42
|
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType): Promise<any>;
|
43
|
-
getAvailableContextFields(scopeNode: EditorNodeType, node: EditorNodeType, region?: EditorNodeType): Promise<string | void | import("amis/lib/renderers/
|
43
|
+
getAvailableContextFields(scopeNode: EditorNodeType, node: EditorNodeType, region?: EditorNodeType): Promise<string | void | import("amis/lib/renderers/Page").PageSchema | import("amis/lib/renderers/Tpl").TplSchema | import("amis/lib/renderers/Remark").RemarkSchema | import("amis/lib/renderers/Action").VanillaAction | import("amis/lib/renderers/Alert").AlertSchema | import("amis/lib/renderers/Audio").AudioSchema | import("amis/lib/renderers/Avatar").AvatarSchema | import("amis/lib/renderers/ButtonGroup").ButtonGroupSchema | import("amis/lib/renderers/Form/ButtonToolbar").ButtonToolbarSchema | import("amis/lib/renderers/Calendar").CalendarSchema | import("amis/lib/renderers/Card").CardSchema | import("amis/lib/renderers/Cards").CardsSchema | import("amis/lib/renderers/Carousel").CarouselSchema | import("amis/lib/renderers/Chart").ChartSchema | import("amis/lib/renderers/Collapse").CollapseSchema | import("amis/lib/renderers/CollapseGroup").CollapseGroupSchema | import("amis/lib/renderers/Color").ColorSchema | import("amis/lib/renderers/Container").ContainerSchema | import("amis/lib/renderers/CRUD").CRUDCardsSchema | import("amis/lib/renderers/List").ListSchema | import("amis/lib/renderers/CRUD").CRUDListSchema | import("amis/lib/renderers/Table").TableSchema | import("amis/lib/renderers/CRUD").CRUDTableSchema | import("amis/lib/renderers/CRUD2").CRUD2CardsSchema | import("amis/lib/renderers/CRUD2").CRUD2ListSchema | import("amis/lib/renderers/Table2").TableSchema2 | import("amis/lib/renderers/CRUD2").CRUD2TableSchema | import("amis/lib/renderers/Date").DateSchema | import("amis/lib/renderers/Dialog").DialogSchema | import("amis/lib/renderers/Divider").DividerSchema | import("amis/lib/renderers/Drawer").DrawerSchema | import("amis/lib/renderers/DropDownButton").DropdownButtonSchema | import("amis/lib/renderers/Each").EachSchema | import("amis/lib/renderers/Grid").GridSchema | import("amis/lib/renderers/Grid2D").Grid2DSchema | import("amis/lib/renderers/HBox").HBoxSchema | import("amis/lib/renderers/Icon").IconSchema | import("amis/lib/renderers/IFrame").IFrameSchema | import("amis/lib/renderers/Image").ImageSchema | import("amis/lib/renderers/Images").ImagesSchema | import("amis/lib/renderers/Json").JsonSchema | import("amis/lib/renderers/Link").LinkSchema | import("amis/lib/renderers/Mapping").MappingSchema | import("amis/lib/renderers/Nav").NavSchema | import("amis/lib/renderers/Operation").OperationSchema | import("amis/lib/renderers/Pagination").PaginationSchema | import("amis/lib/renderers/PaginationWrapper").PaginationWrapperSchema | import("amis/lib/renderers/Panel").PanelSchema | import("amis/lib/renderers/Plain").PlainSchema | import("amis/lib/renderers/Progress").ProgressSchema | import("amis/lib/renderers/QRCode").QRCodeSchema | import("amis/lib/renderers/SearchBox").SearchBoxSchema | import("amis/lib/renderers/Service").ServiceSchema | import("amis/lib/renderers/SparkLine").SparkLineSchema | import("amis/lib/renderers/Status").StatusSchema | import("amis/lib/renderers/Spinner").SpinnerSchema | import("amis/lib/renderers/Tabs").TabsSchema | import("amis/lib/renderers/Tasks").TasksSchema | import("amis/lib/renderers/VBox").VBoxSchema | import("amis/lib/renderers/Video").VideoSchema | import("amis/lib/renderers/Wizard").WizardSchema | import("amis/lib/renderers/Wrapper").WrapperSchema | import("amis/lib/renderers/TooltipWrapper").TooltipWrapperSchema | FormSchema | import("amis/lib/renderers/AnchorNav").AnchorNavSchema | import("amis/lib/renderers/Steps").StepsSchema | import("amis/lib/renderers/Portlet").PortletSchema | import("amis/lib/renderers/Timeline").TimelineSchema | import("amis/lib/renderers/Form/Control").FormControlSchema | import("amis/lib/renderers/Form/InputArray").ArrayControlSchema | import("amis/lib/renderers/Form/ButtonGroupSelect").ButtonGroupControlSchema | import("amis/lib/renderers/Form/ChainedSelect").ChainedSelectControlSchema | import("amis/lib/renderers/Form/Checkbox").CheckboxControlSchema | import("amis/lib/renderers/Form/Checkboxes").CheckboxesControlSchema | import("amis/lib/renderers/Form/InputCity").InputCityControlSchema | import("amis/lib/renderers/Form/InputColor").InputColorControlSchema | import("amis/lib/renderers/Form/Combo").ComboControlSchema | import("amis/lib/renderers/Form/ConditionBuilder").ConditionBuilderControlSchema | import("amis/lib/renderers/Form/InputDate").DateControlSchema | import("amis/lib/renderers/Form/InputDate").DateTimeControlSchema | import("amis/lib/renderers/Form/InputDate").TimeControlSchema | import("amis/lib/renderers/Form/InputDate").MonthControlSchema | import("amis/lib/renderers/Form/InputDate").QuarterControlSchema | import("amis/lib/renderers/Form/InputDate").YearControlSchema | import("amis/lib/renderers/Form/InputDateRange").DateRangeControlSchema | import("amis/lib/renderers/Form/DiffEditor").DiffControlSchema | import("amis/lib/renderers/Form/Editor").EditorControlSchema | import("amis/lib/renderers/Form/FieldSet").FieldSetControlSchema | import("amis/lib/renderers/Form/InputFile").FileControlSchema | import("amis/lib/renderers/Form/Formula").FormulaControlSchema | import("amis/lib/renderers/Form/Group").GroupControlSchema | import("amis/lib/renderers/Form/Hidden").HiddenControlSchema | import("amis/lib/renderers/Form/IconPicker").IconPickerControlSchema | import("amis/lib/renderers/Form/InputImage").ImageControlSchema | import("amis/lib/renderers/Form/InputGroup").InputGroupControlSchema | import("amis/lib/renderers/Form/ListSelect").ListControlSchema | import("amis/lib/renderers/Form/JSONSchemaEditor").JSONSchemaEditorControlSchema | import("amis/lib/renderers/Form/LocationPicker").LocationControlSchema | import("amis/lib/renderers/Form/UUID").UUIDControlSchema | import("amis/lib/renderers/Form/MatrixCheckboxes").MatrixControlSchema | import("amis/lib/renderers/Form/InputMonthRange").MonthRangeControlSchema | import("amis/lib/renderers/Form/InputQuarterRange").QuarterRangeControlSchema | import("amis/lib/renderers/Form/NestedSelect").NestedSelectControlSchema | import("amis/lib/renderers/Form/InputNumber").NumberControlSchema | import("amis/lib/renderers/Form/Picker").PickerControlSchema | import("amis/lib/renderers/Form/Radios").RadiosControlSchema | import("amis/lib/renderers/Form/InputRange").RangeControlSchema | import("amis/lib/renderers/Form/InputRating").RatingControlSchema | import("amis/lib/renderers/Form/InputRichText").RichTextControlSchema | import("amis/lib/renderers/Form/InputRepeat").RepeatControlSchema | import("amis/lib/renderers/Form/Select").SelectControlSchema | import("amis/lib/renderers/Form/InputSubForm").SubFormControlSchema | import("amis/lib/renderers/Form/Switch").SwitchControlSchema | import("amis/lib/renderers/Form/Static").StaticExactControlSchema | import("amis/lib/renderers/Form/InputTable").TableControlSchema | import("amis/lib/renderers/Form/TabsTransfer").TabsTransferControlSchema | import("amis/lib/renderers/Form/InputTag").TagControlSchema | import("amis/lib/renderers/Form/InputText").TextControlSchema | import("amis/lib/renderers/Form/Textarea").TextareaControlSchema | import("amis/lib/renderers/Form/Transfer").TransferControlSchema | import("amis/lib/renderers/Form/TransferPicker").TransferPickerControlSchema | import("amis/lib/renderers/Form/TabsTransferPicker").TabsTransferPickerControlSchema | import("amis/lib/renderers/Form/InputTree").TreeControlSchema | import("amis/lib/renderers/Form/TreeSelect").TreeSelectControlSchema | import("amis/lib/renderers/Form/UserSelect").UserSelectControlSchema | import("amis/lib/renderers/DateRange").DateRangeSchema | import("amis/lib/renderers/MultilineText").MultilineTextSchema | import("amis/lib/renderers/Password").PasswordSchema | import("amis/lib/renderers/Words").WordsSchema | (string | SchemaObject)[]>;
|
44
44
|
}
|
45
45
|
export declare class TableCRUDPlugin extends CRUDPlugin {
|
46
46
|
name: string;
|
package/lib/plugin/CRUD2.js
CHANGED
package/lib/plugin/Card.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
|
'use strict';
|
@@ -139,7 +139,9 @@ var CardPlugin = /** @class */function (_super) {
|
|
139
139
|
value: function (context) {
|
140
140
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
141
141
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
142
|
-
body: flatten__default["default"]([{
|
142
|
+
body: flatten__default["default"]([amisEditorCore.getSchemaTpl('layout:originPosition', {
|
143
|
+
value: 'left-top'
|
144
|
+
}), {
|
143
145
|
children: React__default["default"].createElement(amisUi.Button, {
|
144
146
|
size: "sm",
|
145
147
|
className: "m-b-sm",
|
package/lib/plugin/Card2.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
|
'use strict';
|
@@ -112,7 +112,9 @@ var Card2Plugin = /** @class */function (_super) {
|
|
112
112
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
113
113
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
114
114
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
115
|
-
body: [{
|
115
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
116
|
+
value: 'left-top'
|
117
|
+
}), {
|
116
118
|
type: 'button-group-select',
|
117
119
|
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("97d03d4621f0024cf045afbd901197a5"), i18nRuntime.i18n("44705bb94d83e7bd6b3b6c1480ebfb38")),
|
118
120
|
name: 'checkOnItemClick',
|
package/lib/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
|
'use strict';
|
@@ -133,10 +133,16 @@ var CardsPlugin = /** @class */function (_super) {
|
|
133
133
|
configurable: true,
|
134
134
|
writable: true,
|
135
135
|
value: function (context) {
|
136
|
+
var _a, _b;
|
136
137
|
var isCRUDBody = context.schema.type === 'crud';
|
138
|
+
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;
|
139
|
+
var isAbsolute = curPosition === 'fixed' || curPosition === 'absolute';
|
137
140
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
138
141
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
139
|
-
body: [{
|
142
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
143
|
+
visibleOn: isAbsolute ? isAbsolute : undefined,
|
144
|
+
value: 'left-top'
|
145
|
+
}), {
|
140
146
|
children: React__default["default"].createElement("div", {
|
141
147
|
className: "m-b"
|
142
148
|
}, React__default["default"].createElement(amis.Button, {
|
package/lib/plugin/Carousel.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
|
'use strict';
|
@@ -110,7 +110,9 @@ var CarouselPlugin = /** @class */function (_super) {
|
|
110
110
|
var isUnderField = /\/field\/\w+$/.test(context.path);
|
111
111
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
112
112
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
113
|
-
body: [
|
113
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
114
|
+
value: 'left-top'
|
115
|
+
}), isUnderField ? {
|
114
116
|
type: 'tpl',
|
115
117
|
inline: false,
|
116
118
|
className: 'text-info text-sm',
|
package/lib/plugin/Chart.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
|
'use strict';
|
@@ -239,7 +239,9 @@ var ChartPlugin = /** @class */function (_super) {
|
|
239
239
|
value: function (context) {
|
240
240
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
241
241
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
242
|
-
body: [amisEditorCore.getSchemaTpl('
|
242
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
243
|
+
value: 'left-top'
|
244
|
+
}), amisEditorCore.getSchemaTpl('api', {
|
243
245
|
label: i18nRuntime.i18n("3d6abfdea70af544603da70f93ed3d24"),
|
244
246
|
description: i18nRuntime.i18n("03677b68a73eb59e5faf281f49f3c130")
|
245
247
|
}), amisEditorCore.getSchemaTpl('switch', {
|
package/lib/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/lib/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
|
'use strict';
|
@@ -93,29 +93,33 @@ var CodeViewPlugin = /** @class */function (_super) {
|
|
93
93
|
writable: true,
|
94
94
|
value: i18nRuntime.i18n("38bbd995a790f5a67211e034b007c145")
|
95
95
|
});
|
96
|
-
Object.defineProperty(_this, "
|
96
|
+
Object.defineProperty(_this, "panelBodyCreator", {
|
97
97
|
enumerable: true,
|
98
98
|
configurable: true,
|
99
99
|
writable: true,
|
100
|
-
value:
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
100
|
+
value: function (context) {
|
101
|
+
return amisEditorCore.getSchemaTpl('tabs', [{
|
102
|
+
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
103
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
104
|
+
value: 'left-top'
|
105
|
+
}), {
|
106
|
+
type: 'input-text',
|
107
|
+
label: i18nRuntime.i18n("d7ec2d3fea4756bc1642e0f10c180cf5"),
|
108
|
+
name: 'name'
|
109
|
+
}, {
|
110
|
+
type: 'editor',
|
111
|
+
label: i18nRuntime.i18n("86e38e6425f722ba725718af2366ac08"),
|
112
|
+
allowFullscreen: true,
|
113
|
+
name: 'value'
|
114
|
+
}]
|
106
115
|
}, {
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
body: [amisEditorCore.getSchemaTpl('className')]
|
115
|
-
}, {
|
116
|
-
title: i18nRuntime.i18n("33bf801796fd255b5f6147e33146669b"),
|
117
|
-
body: [amisEditorCore.getSchemaTpl('ref'), amisEditorCore.getSchemaTpl('visible')]
|
118
|
-
}])]
|
116
|
+
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
117
|
+
body: [amisEditorCore.getSchemaTpl('className')]
|
118
|
+
}, {
|
119
|
+
title: i18nRuntime.i18n("33bf801796fd255b5f6147e33146669b"),
|
120
|
+
body: [amisEditorCore.getSchemaTpl('ref'), amisEditorCore.getSchemaTpl('visible')]
|
121
|
+
}]);
|
122
|
+
}
|
119
123
|
});
|
120
124
|
return _this;
|
121
125
|
}
|
package/lib/plugin/Collapse.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
|
'use strict';
|
@@ -113,7 +113,9 @@ var CollapsePlugin = /** @class */function (_super) {
|
|
113
113
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
114
114
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
115
115
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
116
|
-
body: [{
|
116
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
117
|
+
value: 'left-top'
|
118
|
+
}), {
|
117
119
|
name: 'header',
|
118
120
|
label: i18nRuntime.i18n("32c65d8d7431e76029678ec7bb73a5ab"),
|
119
121
|
type: 'input-text',
|
@@ -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
|
'use strict';
|
@@ -127,7 +127,9 @@ var CollapseGroupPlugin = /** @class */function (_super) {
|
|
127
127
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
128
128
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
129
129
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
130
|
-
body: [{
|
130
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
131
|
+
value: 'left-top'
|
132
|
+
}), {
|
131
133
|
name: 'expandIconPosition',
|
132
134
|
label: i18nRuntime.i18n("0431ee7033364800e261d1e560808231"),
|
133
135
|
type: 'button-group-select',
|