amis-editor 5.2.1-beta.32 → 5.2.1-beta.35
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.d.ts +800 -2
- package/esm/component/BaseControl.js +1 -1
- package/esm/component/InputComponentName.js +1 -1
- package/esm/component/TableViewEditor.d.ts +1 -0
- package/esm/component/TableViewEditor.js +7 -3
- package/esm/icons/btn/btn-group.svg.js +1 -1
- package/esm/icons/btn/btn-select.svg.js +1 -1
- package/esm/icons/btn/btn-toolbar.svg.js +1 -1
- package/esm/icons/btn/button.svg.js +1 -1
- package/esm/icons/btn/dropdown-btn.svg.js +1 -1
- package/esm/icons/container/anchor-nav.svg.js +1 -1
- package/esm/icons/container/collapse.svg.js +1 -1
- package/esm/icons/container/container.svg.js +1 -1
- package/esm/icons/container/flex-container.svg.js +1 -1
- package/esm/icons/container/form-group.svg.js +1 -1
- package/esm/icons/container/grid.svg.js +1 -1
- package/esm/icons/container/iframe.svg.js +1 -1
- package/esm/icons/container/panel.svg.js +1 -1
- package/esm/icons/container/table-view.svg.js +1 -1
- package/esm/icons/container/tabs.svg.js +1 -1
- package/esm/icons/container/tooltip-wrapper.svg.js +1 -1
- package/esm/icons/container/web-component.svg.js +1 -1
- package/esm/icons/feat/audio.svg.js +1 -1
- package/esm/icons/feat/custom.svg.js +1 -1
- package/esm/icons/feat/each.svg.js +1 -1
- package/esm/icons/feat/form.svg.js +1 -1
- package/esm/icons/feat/nav.svg.js +1 -1
- package/esm/icons/feat/qrcode.svg.js +1 -1
- package/esm/icons/feat/service.svg.js +1 -1
- package/esm/icons/feat/table.svg.js +1 -1
- package/esm/icons/feat/tasks.svg.js +1 -1
- package/esm/icons/feat/video.svg.js +1 -1
- package/esm/icons/feat/wizard.svg.js +1 -1
- package/esm/icons/form/chained-select.svg.js +1 -1
- package/esm/icons/form/checkbox.svg.js +1 -1
- package/esm/icons/form/checkboxes.svg.js +1 -1
- package/esm/icons/form/combo.svg.js +1 -1
- package/esm/icons/form/condition-builder.svg.js +1 -1
- package/esm/icons/form/diff-editor.svg.js +1 -1
- package/esm/icons/form/editor.svg.js +1 -1
- package/esm/icons/form/formula.svg.js +1 -1
- package/esm/icons/form/hidden.svg.js +1 -1
- package/esm/icons/form/input-city.svg.js +1 -1
- package/esm/icons/form/input-color.svg.js +1 -1
- package/esm/icons/form/input-date-range.svg.js +1 -1
- package/esm/icons/form/input-date.svg.js +1 -1
- package/esm/icons/form/input-datetime.svg.js +1 -1
- package/esm/icons/form/input-email.svg.js +1 -1
- package/esm/icons/form/input-excel.svg.js +1 -1
- package/esm/icons/form/input-file.svg.js +1 -1
- package/esm/icons/form/input-group.svg.js +1 -1
- package/esm/icons/form/input-image.svg.js +1 -1
- package/esm/icons/form/input-kv.svg.js +1 -1
- package/esm/icons/form/input-month-range.svg.js +1 -1
- package/esm/icons/form/input-number.svg.js +1 -1
- package/esm/icons/form/input-password.svg.js +1 -1
- package/esm/icons/form/input-quarter-range.svg.js +1 -1
- package/esm/icons/form/input-range.svg.js +1 -1
- package/esm/icons/form/input-rating.svg.js +1 -1
- package/esm/icons/form/input-repeat.svg.js +1 -1
- package/esm/icons/form/input-rich-text.svg.js +1 -1
- package/esm/icons/form/input-tag.svg.js +1 -1
- package/esm/icons/form/input-text.svg.js +1 -1
- package/esm/icons/form/input-time-range.svg.js +1 -1
- package/esm/icons/form/input-time.svg.js +1 -1
- package/esm/icons/form/input-tree.svg.js +1 -1
- package/esm/icons/form/input-url.svg.js +1 -1
- package/esm/icons/form/input-year.svg.js +1 -1
- package/esm/icons/form/inputArray.svg.js +1 -1
- package/esm/icons/form/list-select.svg.js +1 -1
- package/esm/icons/form/location-picker.svg.js +1 -1
- package/esm/icons/form/matrix-checkboxes.svg.js +1 -1
- package/esm/icons/form/month.svg.js +1 -1
- package/esm/icons/form/nested-select.svg.js +1 -1
- package/esm/icons/form/picker.svg.js +1 -1
- package/esm/icons/form/quarter.svg.js +1 -1
- package/esm/icons/form/radios.svg.js +1 -1
- package/esm/icons/form/select.svg.js +1 -1
- package/esm/icons/form/static.svg.js +1 -1
- package/esm/icons/form/sub-form.svg.js +1 -1
- package/esm/icons/form/switch.svg.js +1 -1
- package/esm/icons/form/tabs-transfer.svg.js +1 -1
- package/esm/icons/form/textarea.svg.js +1 -1
- package/esm/icons/form/transfer.svg.js +1 -1
- package/esm/icons/form/tree-select.svg.js +1 -1
- package/esm/icons/form/uuid.svg.js +1 -1
- package/esm/icons/index.js +1 -1
- package/esm/icons/layout/layout-1with2.svg.js +1 -1
- package/esm/icons/layout/layout-2cols.svg.js +1 -1
- package/esm/icons/layout/layout-2row.svg.js +1 -1
- package/esm/icons/layout/layout-2with1.svg.js +1 -1
- package/esm/icons/layout/layout-3cols.svg.js +1 -1
- package/esm/icons/layout/layout-3row.svg.js +1 -1
- package/esm/icons/layout/layout-absolute.svg.js +1 -1
- package/esm/icons/layout/layout-fixed.svg.js +1 -1
- package/esm/icons/layout/layout-full.svg.js +1 -1
- package/esm/icons/layout/layout1-2.svg.js +1 -1
- package/esm/icons/layout/layout2-1.svg.js +1 -1
- package/esm/icons/layout/layout3-1.svg.js +1 -1
- package/esm/icons/layout/layout3-2.svg.js +1 -1
- package/esm/icons/other/divider.svg.js +1 -1
- package/esm/icons/other/property-sheet.svg.js +1 -1
- package/esm/icons/other/tooltip.svg.js +1 -1
- package/esm/icons/show/URL.svg.js +1 -1
- package/esm/icons/show/avatar.svg.js +1 -1
- package/esm/icons/show/breadcrumb.svg.js +1 -1
- package/esm/icons/show/card.svg.js +1 -1
- package/esm/icons/show/cards.svg.js +1 -1
- package/esm/icons/show/carousel.svg.js +1 -1
- package/esm/icons/show/chart.svg.js +1 -1
- package/esm/icons/show/code.svg.js +1 -1
- package/esm/icons/show/date.svg.js +1 -1
- package/esm/icons/show/datetime.svg.js +1 -1
- package/esm/icons/show/image.svg.js +1 -1
- package/esm/icons/show/images.svg.js +1 -1
- package/esm/icons/show/json-view.svg.js +1 -1
- package/esm/icons/show/list.svg.js +1 -1
- package/esm/icons/show/log.svg.js +1 -1
- package/esm/icons/show/mapping.svg.js +1 -1
- package/esm/icons/show/markdown.svg.js +1 -1
- package/esm/icons/show/plain.svg.js +1 -1
- package/esm/icons/show/progress.svg.js +1 -1
- package/esm/icons/show/sparkline.svg.js +1 -1
- package/esm/icons/show/status.svg.js +1 -1
- package/esm/icons/show/steps.svg.js +1 -1
- package/esm/icons/show/time.svg.js +1 -1
- package/esm/index.d.ts +2 -4
- package/esm/index.js +3 -5
- package/esm/locale/en-US.js +43 -3
- package/esm/locale/zh-CN.js +42 -2
- package/esm/plugin/Alert.d.ts +1 -1
- package/esm/plugin/Alert.js +4 -2
- package/esm/plugin/AnchorNav.js +4 -2
- package/esm/plugin/Audio.d.ts +1 -1
- package/esm/plugin/Audio.js +4 -2
- package/esm/plugin/Avatar.d.ts +1 -1
- package/esm/plugin/Avatar.js +4 -2
- package/esm/plugin/Breadcrumb.js +4 -2
- package/esm/plugin/Button.d.ts +1 -1
- package/esm/plugin/Button.js +4 -2
- package/esm/plugin/ButtonGroup.d.ts +1 -1
- package/esm/plugin/ButtonGroup.js +4 -2
- package/esm/plugin/CRUD.d.ts +1 -1
- package/esm/plugin/CRUD.js +8 -2
- package/esm/plugin/CRUD2.d.ts +2 -1
- package/esm/plugin/CRUD2.js +1 -1
- package/esm/plugin/Card.d.ts +1 -1
- package/esm/plugin/Card.js +4 -2
- package/esm/plugin/Card2.d.ts +1 -1
- package/esm/plugin/Card2.js +4 -2
- package/esm/plugin/Cards.js +4 -2
- package/esm/plugin/Carousel.d.ts +2 -2
- package/esm/plugin/Carousel.js +4 -2
- package/esm/plugin/Chart.d.ts +1 -1
- package/esm/plugin/Chart.js +4 -2
- package/esm/plugin/CodeView.js +4 -2
- package/esm/plugin/Collapse.d.ts +1 -1
- package/esm/plugin/Collapse.js +4 -2
- package/esm/plugin/CollapseGroup.d.ts +1 -1
- package/esm/plugin/CollapseGroup.js +4 -2
- package/esm/plugin/ColumnToggler.d.ts +1 -1
- package/esm/plugin/ColumnToggler.js +1 -1
- package/esm/plugin/Container.d.ts +2 -1
- package/esm/plugin/Container.js +102 -27
- package/esm/plugin/Custom.js +4 -2
- package/esm/plugin/CustomRegion.js +4 -2
- package/esm/plugin/Date.d.ts +1 -1
- package/esm/plugin/Date.js +4 -2
- package/esm/plugin/Datetime.d.ts +1 -0
- package/esm/plugin/Datetime.js +4 -2
- package/esm/plugin/Dialog.d.ts +2 -2
- package/esm/plugin/Dialog.js +4 -2
- package/esm/plugin/Divider.js +1 -1
- package/esm/plugin/Drawer.d.ts +2 -2
- package/esm/plugin/Drawer.js +4 -2
- package/esm/plugin/DropDownButton.js +4 -2
- package/esm/plugin/Each.js +5 -3
- package/esm/plugin/Flex.js +1 -1
- package/esm/plugin/Form/ButtonGroupSelect.d.ts +1 -1
- package/esm/plugin/Form/ButtonGroupSelect.js +9 -3
- package/esm/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/esm/plugin/Form/ButtonToolbar.js +4 -2
- package/esm/plugin/Form/ChainedSelect.d.ts +1 -1
- package/esm/plugin/Form/ChainedSelect.js +8 -2
- package/esm/plugin/Form/Checkbox.d.ts +1 -1
- package/esm/plugin/Form/Checkbox.js +4 -2
- package/esm/plugin/Form/Checkboxes.d.ts +1 -1
- package/esm/plugin/Form/Checkboxes.js +8 -2
- package/esm/plugin/Form/CodeEditor.d.ts +1 -0
- package/esm/plugin/Form/CodeEditor.js +4 -2
- package/esm/plugin/Form/Combo.js +5 -3
- package/esm/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/esm/plugin/Form/ConditionBuilder.js +4 -2
- package/esm/plugin/Form/Control.d.ts +1 -1
- package/esm/plugin/Form/Control.js +1 -1
- package/esm/plugin/Form/DiffEditor.d.ts +1 -0
- package/esm/plugin/Form/DiffEditor.js +4 -2
- package/esm/plugin/Form/FieldSet.d.ts +1 -1
- package/esm/plugin/Form/FieldSet.js +4 -2
- package/esm/plugin/Form/Form.d.ts +1 -1
- package/esm/plugin/Form/Form.js +24 -20
- package/esm/plugin/Form/Formula.d.ts +10 -1
- package/esm/plugin/Form/Formula.js +5 -3
- package/esm/plugin/Form/Group.js +4 -2
- package/esm/plugin/Form/Hidden.d.ts +11 -7
- package/esm/plugin/Form/Hidden.js +6 -10
- package/esm/plugin/Form/InputArray.js +4 -2
- package/esm/plugin/Form/InputCity.d.ts +1 -1
- package/esm/plugin/Form/InputCity.js +6 -2
- package/esm/plugin/Form/InputColor.d.ts +1 -1
- package/esm/plugin/Form/InputColor.js +4 -2
- package/esm/plugin/Form/InputDate.d.ts +1 -1
- package/esm/plugin/Form/InputDate.js +4 -2
- package/esm/plugin/Form/InputDateRange.d.ts +1 -1
- package/esm/plugin/Form/InputDateRange.js +4 -2
- package/esm/plugin/Form/InputDateTime.js +1 -1
- package/esm/plugin/Form/InputDateTimeRange.js +1 -1
- package/esm/plugin/Form/InputEmail.js +1 -1
- package/esm/plugin/Form/InputExcel.d.ts +1 -1
- package/esm/plugin/Form/InputExcel.js +4 -2
- package/esm/plugin/Form/InputFile.d.ts +1 -1
- package/esm/plugin/Form/InputFile.js +4 -2
- package/esm/plugin/Form/InputGroup.js +4 -2
- package/esm/plugin/Form/InputImage.d.ts +1 -1
- package/esm/plugin/Form/InputImage.js +4 -2
- package/esm/plugin/Form/InputKV.d.ts +1 -11
- package/esm/plugin/Form/InputKV.js +5 -3
- package/esm/plugin/Form/InputMonth.js +1 -1
- package/esm/plugin/Form/InputMonthRange.js +1 -1
- package/esm/plugin/Form/InputNumber.d.ts +1 -1
- package/esm/plugin/Form/InputNumber.js +4 -2
- package/esm/plugin/Form/InputPassword.js +1 -1
- package/esm/plugin/Form/InputQuarter.js +1 -1
- package/esm/plugin/Form/InputQuarterRange.js +1 -1
- package/esm/plugin/Form/InputRange.d.ts +1 -1
- package/esm/plugin/Form/InputRange.js +4 -2
- package/esm/plugin/Form/InputRating.d.ts +1 -1
- package/esm/plugin/Form/InputRating.js +4 -2
- package/esm/plugin/Form/InputRepeat.js +4 -2
- package/esm/plugin/Form/InputRichText.d.ts +1 -0
- package/esm/plugin/Form/InputRichText.js +4 -2
- package/esm/plugin/Form/InputSubForm.js +4 -2
- package/esm/plugin/Form/InputTable.d.ts +1 -1
- package/esm/plugin/Form/InputTable.js +4 -2
- package/esm/plugin/Form/InputTag.d.ts +1 -1
- package/esm/plugin/Form/InputTag.js +4 -2
- package/esm/plugin/Form/InputText.d.ts +1 -1
- package/esm/plugin/Form/InputText.js +4 -2
- package/esm/plugin/Form/InputTime.js +1 -1
- package/esm/plugin/Form/InputTimeRange.js +1 -1
- package/esm/plugin/Form/InputTree.d.ts +1 -1
- package/esm/plugin/Form/InputTree.js +8 -2
- package/esm/plugin/Form/InputURL.js +1 -1
- package/esm/plugin/Form/InputYear.js +1 -1
- package/esm/plugin/Form/InputYearRange.js +1 -1
- package/esm/plugin/Form/Item.d.ts +1 -1
- package/esm/plugin/Form/Item.js +4 -2
- package/esm/plugin/Form/ListSelect.d.ts +1 -1
- package/esm/plugin/Form/ListSelect.js +8 -2
- package/esm/plugin/Form/LocationPicker.d.ts +1 -1
- package/esm/plugin/Form/LocationPicker.js +4 -2
- package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/esm/plugin/Form/MatrixCheckboxes.js +6 -2
- package/esm/plugin/Form/NestedSelect.d.ts +1 -1
- package/esm/plugin/Form/NestedSelect.js +9 -3
- package/esm/plugin/Form/Picker.js +4 -2
- package/esm/plugin/Form/Radios.d.ts +1 -1
- package/esm/plugin/Form/Radios.js +8 -2
- package/esm/plugin/Form/Select.d.ts +1 -1
- package/esm/plugin/Form/Select.js +9 -3
- package/esm/plugin/Form/Static.d.ts +1 -1
- package/esm/plugin/Form/Static.js +4 -2
- package/esm/plugin/Form/Switch.d.ts +1 -1
- package/esm/plugin/Form/Switch.js +4 -2
- package/esm/plugin/Form/TabsTransfer.d.ts +1 -1
- package/esm/plugin/Form/TabsTransfer.js +9 -3
- package/esm/plugin/Form/Textarea.d.ts +1 -0
- package/esm/plugin/Form/Textarea.js +4 -2
- package/esm/plugin/Form/Transfer.d.ts +1 -1
- package/esm/plugin/Form/Transfer.js +8 -2
- package/esm/plugin/Form/TreeSelect.d.ts +1 -1
- package/esm/plugin/Form/TreeSelect.js +8 -2
- package/esm/plugin/Form/UUID.d.ts +11 -6
- package/esm/plugin/Form/UUID.js +6 -10
- package/esm/plugin/Grid.d.ts +1 -0
- package/esm/plugin/Grid.js +11 -3
- package/esm/plugin/HBox.js +4 -2
- package/esm/plugin/IFrame.d.ts +11 -2
- package/esm/plugin/IFrame.js +5 -3
- package/esm/plugin/Image.d.ts +2 -2
- package/esm/plugin/Image.js +7 -2
- package/esm/plugin/Images.d.ts +3 -3
- package/esm/plugin/Images.js +6 -2
- package/esm/plugin/Json.d.ts +1 -1
- package/esm/plugin/Json.js +4 -2
- package/esm/plugin/Layout/FlexPluginBase.d.ts +1 -0
- package/esm/plugin/Layout/FlexPluginBase.js +94 -25
- package/esm/plugin/Layout/Layout1_2_v4.d.ts +0 -1
- package/esm/plugin/Layout/Layout1_2_v4.js +9 -11
- package/esm/plugin/Layout/Layout_fixed.d.ts +1 -1
- package/esm/plugin/Layout/Layout_fixed.js +9 -8
- 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} +30 -34
- 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} +12 -10
- package/esm/plugin/Link.js +4 -2
- package/esm/plugin/List.js +4 -2
- package/esm/plugin/ListItem.js +4 -2
- package/esm/plugin/Log.d.ts +1 -1
- package/esm/plugin/Log.js +4 -2
- package/esm/plugin/Mapping.d.ts +1 -1
- package/esm/plugin/Mapping.js +4 -2
- package/esm/plugin/Markdown.d.ts +1 -1
- package/esm/plugin/Markdown.js +4 -2
- package/esm/plugin/Nav.d.ts +2 -1
- package/esm/plugin/Nav.js +29 -23
- package/esm/plugin/Operation.d.ts +1 -1
- package/esm/plugin/Operation.js +1 -1
- package/esm/plugin/Others/Action.js +1 -1
- package/esm/plugin/Others/TableCell.d.ts +1 -1
- package/esm/plugin/Others/TableCell.js +1 -1
- package/esm/plugin/Page.d.ts +3 -2
- package/esm/plugin/Page.js +1 -1
- package/esm/plugin/Pagination.d.ts +1 -1
- package/esm/plugin/Pagination.js +4 -2
- package/esm/plugin/Panel.d.ts +1 -1
- package/esm/plugin/Panel.js +4 -2
- package/esm/plugin/Plain.d.ts +1 -1
- package/esm/plugin/Plain.js +4 -2
- package/esm/plugin/Progress.d.ts +1 -1
- package/esm/plugin/Progress.js +4 -2
- package/esm/plugin/Property.js +4 -2
- package/esm/plugin/QRCode.js +4 -2
- package/esm/plugin/Reset.js +1 -1
- package/esm/plugin/Service.d.ts +1 -1
- package/esm/plugin/Service.js +10 -3
- package/esm/plugin/Sparkline.d.ts +1 -5
- package/esm/plugin/Sparkline.js +5 -3
- package/esm/plugin/Status.d.ts +1 -1
- package/esm/plugin/Status.js +4 -2
- package/esm/plugin/Steps.js +5 -3
- package/esm/plugin/Submit.js +1 -1
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +7 -3
- package/esm/plugin/Table2.d.ts +1 -1
- package/esm/plugin/Table2.js +7 -3
- package/esm/plugin/TableCell2.js +1 -1
- package/esm/plugin/TableView.js +4 -2
- package/esm/plugin/Tabs.js +4 -2
- package/esm/plugin/Tasks.d.ts +2 -1
- package/esm/plugin/Tasks.js +158 -150
- package/esm/plugin/Time.d.ts +1 -0
- package/esm/plugin/Time.js +4 -2
- package/esm/plugin/Timeline.d.ts +1 -1
- package/esm/plugin/Timeline.js +4 -2
- package/esm/plugin/TooltipWrapper.d.ts +1 -1
- package/esm/plugin/TooltipWrapper.js +4 -2
- package/esm/plugin/Tpl.d.ts +1 -1
- package/esm/plugin/Tpl.js +4 -2
- package/esm/plugin/Video.d.ts +2 -2
- package/esm/plugin/Video.js +4 -2
- package/esm/plugin/WebComponent.d.ts +1 -1
- package/esm/plugin/WebComponent.js +4 -2
- package/esm/plugin/Wizard.js +8 -2
- package/esm/plugin/Wrapper.d.ts +1 -1
- package/esm/plugin/Wrapper.js +84 -19
- package/esm/renderer/APIControl.d.ts +4788 -6
- package/esm/renderer/APIControl.js +1 -1
- package/esm/renderer/ActionApiControl.d.ts +6384 -8
- package/esm/renderer/BadgeControl.d.ts +6 -6
- package/esm/renderer/BadgeControl.js +1 -1
- package/esm/renderer/DataBindingControl.js +3 -4
- package/esm/renderer/DataMappingControl.js +1 -1
- package/esm/renderer/DataPickerControl.js +1 -1
- package/esm/renderer/DateShortCutControl.js +1 -1
- package/esm/renderer/ExpressionFormulaControl.js +1 -1
- package/esm/renderer/FeatureControl.js +1 -1
- package/esm/renderer/FormulaControl.js +1 -1
- package/esm/renderer/GoConfigControl.js +1 -1
- package/esm/renderer/OptionControl.js +1 -1
- package/esm/renderer/RangePartsControl.js +1 -1
- package/esm/renderer/StatusControl.js +1 -1
- package/esm/renderer/SwitchMoreControl.d.ts +66 -64
- package/esm/renderer/SwitchMoreControl.js +1 -1
- package/esm/renderer/TimelineItemControl.js +1 -1
- package/esm/renderer/TransferTableControl.js +1 -1
- package/esm/renderer/TreeOptionControl.js +1 -1
- package/esm/renderer/ValidationControl.js +1 -1
- package/esm/renderer/ValidationItem.js +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +10 -17
- package/esm/renderer/event-control/action-config-panel.js +1 -1
- package/esm/renderer/event-control/actions.js +82 -51
- package/esm/renderer/event-control/comp-action-select.js +1 -1
- package/esm/renderer/event-control/helper.d.ts +18 -15
- package/esm/renderer/event-control/helper.js +29 -11
- package/esm/renderer/event-control/index.d.ts +14 -0
- package/esm/renderer/event-control/index.js +135 -21
- package/esm/renderer/event-control/types.d.ts +3 -0
- package/esm/renderer/style-control/Background.js +1 -1
- package/esm/renderer/style-control/Border.js +1 -1
- package/esm/renderer/style-control/BoxModel.js +1 -1
- package/esm/renderer/style-control/BoxShadow.js +1 -1
- package/esm/renderer/style-control/Display.js +1 -1
- package/esm/renderer/style-control/Font.js +1 -1
- package/esm/renderer/style-control/InsetBoxModel.js +1 -1
- package/esm/renderer/style-control/font-family.js +1 -1
- package/esm/renderer/style-control/transformation.js +1 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +1 -1
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/esm/renderer/textarea-formula/plugin.js +1 -1
- package/esm/renderer/textarea-formula/utils.js +1 -1
- package/esm/tpl/api.js +64 -1
- package/esm/tpl/common.js +1 -1
- package/esm/tpl/horizontal.js +1 -1
- package/esm/tpl/layout.js +164 -60
- package/esm/tpl/options.js +1 -1
- package/esm/tpl/style.js +1 -1
- package/esm/tpl/validations.js +1 -1
- package/esm/util.d.ts +11 -8
- package/esm/util.js +1 -1
- package/esm/validator.js +1 -1
- package/lib/component/BaseControl.d.ts +800 -2
- package/lib/component/BaseControl.js +1 -1
- package/lib/component/InputComponentName.js +1 -1
- package/lib/component/TableViewEditor.d.ts +1 -0
- package/lib/component/TableViewEditor.js +7 -3
- package/lib/icons/btn/btn-group.svg.js +1 -1
- package/lib/icons/btn/btn-select.svg.js +1 -1
- package/lib/icons/btn/btn-toolbar.svg.js +1 -1
- package/lib/icons/btn/button.svg.js +1 -1
- package/lib/icons/btn/dropdown-btn.svg.js +1 -1
- package/lib/icons/container/anchor-nav.svg.js +1 -1
- package/lib/icons/container/collapse.svg.js +1 -1
- package/lib/icons/container/container.svg.js +1 -1
- package/lib/icons/container/flex-container.svg.js +1 -1
- package/lib/icons/container/form-group.svg.js +1 -1
- package/lib/icons/container/grid.svg.js +1 -1
- package/lib/icons/container/iframe.svg.js +1 -1
- package/lib/icons/container/panel.svg.js +1 -1
- package/lib/icons/container/table-view.svg.js +1 -1
- package/lib/icons/container/tabs.svg.js +1 -1
- package/lib/icons/container/tooltip-wrapper.svg.js +1 -1
- package/lib/icons/container/web-component.svg.js +1 -1
- package/lib/icons/feat/audio.svg.js +1 -1
- package/lib/icons/feat/custom.svg.js +1 -1
- package/lib/icons/feat/each.svg.js +1 -1
- package/lib/icons/feat/form.svg.js +1 -1
- package/lib/icons/feat/nav.svg.js +1 -1
- package/lib/icons/feat/qrcode.svg.js +1 -1
- package/lib/icons/feat/service.svg.js +1 -1
- package/lib/icons/feat/table.svg.js +1 -1
- package/lib/icons/feat/tasks.svg.js +1 -1
- package/lib/icons/feat/video.svg.js +1 -1
- package/lib/icons/feat/wizard.svg.js +1 -1
- package/lib/icons/form/chained-select.svg.js +1 -1
- package/lib/icons/form/checkbox.svg.js +1 -1
- package/lib/icons/form/checkboxes.svg.js +1 -1
- package/lib/icons/form/combo.svg.js +1 -1
- package/lib/icons/form/condition-builder.svg.js +1 -1
- package/lib/icons/form/diff-editor.svg.js +1 -1
- package/lib/icons/form/editor.svg.js +1 -1
- package/lib/icons/form/formula.svg.js +1 -1
- package/lib/icons/form/hidden.svg.js +1 -1
- package/lib/icons/form/input-city.svg.js +1 -1
- package/lib/icons/form/input-color.svg.js +1 -1
- package/lib/icons/form/input-date-range.svg.js +1 -1
- package/lib/icons/form/input-date.svg.js +1 -1
- package/lib/icons/form/input-datetime.svg.js +1 -1
- package/lib/icons/form/input-email.svg.js +1 -1
- package/lib/icons/form/input-excel.svg.js +1 -1
- package/lib/icons/form/input-file.svg.js +1 -1
- package/lib/icons/form/input-group.svg.js +1 -1
- package/lib/icons/form/input-image.svg.js +1 -1
- package/lib/icons/form/input-kv.svg.js +1 -1
- package/lib/icons/form/input-month-range.svg.js +1 -1
- package/lib/icons/form/input-number.svg.js +1 -1
- package/lib/icons/form/input-password.svg.js +1 -1
- package/lib/icons/form/input-quarter-range.svg.js +1 -1
- package/lib/icons/form/input-range.svg.js +1 -1
- package/lib/icons/form/input-rating.svg.js +1 -1
- package/lib/icons/form/input-repeat.svg.js +1 -1
- package/lib/icons/form/input-rich-text.svg.js +1 -1
- package/lib/icons/form/input-tag.svg.js +1 -1
- package/lib/icons/form/input-text.svg.js +1 -1
- package/lib/icons/form/input-time-range.svg.js +1 -1
- package/lib/icons/form/input-time.svg.js +1 -1
- package/lib/icons/form/input-tree.svg.js +1 -1
- package/lib/icons/form/input-url.svg.js +1 -1
- package/lib/icons/form/input-year.svg.js +1 -1
- package/lib/icons/form/inputArray.svg.js +1 -1
- package/lib/icons/form/list-select.svg.js +1 -1
- package/lib/icons/form/location-picker.svg.js +1 -1
- package/lib/icons/form/matrix-checkboxes.svg.js +1 -1
- package/lib/icons/form/month.svg.js +1 -1
- package/lib/icons/form/nested-select.svg.js +1 -1
- package/lib/icons/form/picker.svg.js +1 -1
- package/lib/icons/form/quarter.svg.js +1 -1
- package/lib/icons/form/radios.svg.js +1 -1
- package/lib/icons/form/select.svg.js +1 -1
- package/lib/icons/form/static.svg.js +1 -1
- package/lib/icons/form/sub-form.svg.js +1 -1
- package/lib/icons/form/switch.svg.js +1 -1
- package/lib/icons/form/tabs-transfer.svg.js +1 -1
- package/lib/icons/form/textarea.svg.js +1 -1
- package/lib/icons/form/transfer.svg.js +1 -1
- package/lib/icons/form/tree-select.svg.js +1 -1
- package/lib/icons/form/uuid.svg.js +1 -1
- package/lib/icons/index.js +1 -1
- package/lib/icons/layout/layout-1with2.svg.js +1 -1
- package/lib/icons/layout/layout-2cols.svg.js +1 -1
- package/lib/icons/layout/layout-2row.svg.js +1 -1
- package/lib/icons/layout/layout-2with1.svg.js +1 -1
- package/lib/icons/layout/layout-3cols.svg.js +1 -1
- package/lib/icons/layout/layout-3row.svg.js +1 -1
- package/lib/icons/layout/layout-absolute.svg.js +1 -1
- package/lib/icons/layout/layout-fixed.svg.js +1 -1
- package/lib/icons/layout/layout-full.svg.js +1 -1
- package/lib/icons/layout/layout1-2.svg.js +1 -1
- package/lib/icons/layout/layout2-1.svg.js +1 -1
- package/lib/icons/layout/layout3-1.svg.js +1 -1
- package/lib/icons/layout/layout3-2.svg.js +1 -1
- package/lib/icons/other/divider.svg.js +1 -1
- package/lib/icons/other/property-sheet.svg.js +1 -1
- package/lib/icons/other/tooltip.svg.js +1 -1
- package/lib/icons/show/URL.svg.js +1 -1
- package/lib/icons/show/avatar.svg.js +1 -1
- package/lib/icons/show/breadcrumb.svg.js +1 -1
- package/lib/icons/show/card.svg.js +1 -1
- package/lib/icons/show/cards.svg.js +1 -1
- package/lib/icons/show/carousel.svg.js +1 -1
- package/lib/icons/show/chart.svg.js +1 -1
- package/lib/icons/show/code.svg.js +1 -1
- package/lib/icons/show/date.svg.js +1 -1
- package/lib/icons/show/datetime.svg.js +1 -1
- package/lib/icons/show/image.svg.js +1 -1
- package/lib/icons/show/images.svg.js +1 -1
- package/lib/icons/show/json-view.svg.js +1 -1
- package/lib/icons/show/list.svg.js +1 -1
- package/lib/icons/show/log.svg.js +1 -1
- package/lib/icons/show/mapping.svg.js +1 -1
- package/lib/icons/show/markdown.svg.js +1 -1
- package/lib/icons/show/plain.svg.js +1 -1
- package/lib/icons/show/progress.svg.js +1 -1
- package/lib/icons/show/sparkline.svg.js +1 -1
- package/lib/icons/show/status.svg.js +1 -1
- package/lib/icons/show/steps.svg.js +1 -1
- package/lib/icons/show/time.svg.js +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.js +3 -5
- package/lib/locale/en-US.js +43 -3
- package/lib/locale/zh-CN.js +42 -2
- package/lib/plugin/Alert.d.ts +1 -1
- package/lib/plugin/Alert.js +4 -2
- package/lib/plugin/AnchorNav.js +4 -2
- package/lib/plugin/Audio.d.ts +1 -1
- package/lib/plugin/Audio.js +4 -2
- package/lib/plugin/Avatar.d.ts +1 -1
- package/lib/plugin/Avatar.js +4 -2
- package/lib/plugin/Breadcrumb.js +4 -2
- package/lib/plugin/Button.d.ts +1 -1
- package/lib/plugin/Button.js +4 -2
- package/lib/plugin/ButtonGroup.d.ts +1 -1
- package/lib/plugin/ButtonGroup.js +4 -2
- package/lib/plugin/CRUD.d.ts +1 -1
- package/lib/plugin/CRUD.js +8 -2
- package/lib/plugin/CRUD2.d.ts +2 -1
- package/lib/plugin/CRUD2.js +1 -1
- package/lib/plugin/Card.d.ts +1 -1
- package/lib/plugin/Card.js +4 -2
- package/lib/plugin/Card2.d.ts +1 -1
- package/lib/plugin/Card2.js +4 -2
- package/lib/plugin/Cards.js +4 -2
- package/lib/plugin/Carousel.d.ts +2 -2
- package/lib/plugin/Carousel.js +4 -2
- package/lib/plugin/Chart.d.ts +1 -1
- package/lib/plugin/Chart.js +4 -2
- package/lib/plugin/CodeView.js +4 -2
- package/lib/plugin/Collapse.d.ts +1 -1
- package/lib/plugin/Collapse.js +4 -2
- package/lib/plugin/CollapseGroup.d.ts +1 -1
- package/lib/plugin/CollapseGroup.js +4 -2
- package/lib/plugin/ColumnToggler.d.ts +1 -1
- package/lib/plugin/ColumnToggler.js +1 -1
- package/lib/plugin/Container.d.ts +2 -1
- package/lib/plugin/Container.js +102 -27
- package/lib/plugin/Custom.js +4 -2
- package/lib/plugin/CustomRegion.js +4 -2
- package/lib/plugin/Date.d.ts +1 -1
- package/lib/plugin/Date.js +4 -2
- package/lib/plugin/Datetime.d.ts +1 -0
- package/lib/plugin/Datetime.js +4 -2
- package/lib/plugin/Dialog.d.ts +2 -2
- package/lib/plugin/Dialog.js +4 -2
- package/lib/plugin/Divider.js +1 -1
- package/lib/plugin/Drawer.d.ts +2 -2
- package/lib/plugin/Drawer.js +4 -2
- package/lib/plugin/DropDownButton.js +4 -2
- package/lib/plugin/Each.js +4 -2
- package/lib/plugin/Flex.js +1 -1
- package/lib/plugin/Form/ButtonGroupSelect.d.ts +1 -1
- package/lib/plugin/Form/ButtonGroupSelect.js +9 -3
- package/lib/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/lib/plugin/Form/ButtonToolbar.js +4 -2
- package/lib/plugin/Form/ChainedSelect.d.ts +1 -1
- package/lib/plugin/Form/ChainedSelect.js +8 -2
- package/lib/plugin/Form/Checkbox.d.ts +1 -1
- package/lib/plugin/Form/Checkbox.js +4 -2
- package/lib/plugin/Form/Checkboxes.d.ts +1 -1
- package/lib/plugin/Form/Checkboxes.js +8 -2
- package/lib/plugin/Form/CodeEditor.d.ts +1 -0
- package/lib/plugin/Form/CodeEditor.js +4 -2
- package/lib/plugin/Form/Combo.js +4 -2
- package/lib/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/lib/plugin/Form/ConditionBuilder.js +4 -2
- package/lib/plugin/Form/Control.d.ts +1 -1
- package/lib/plugin/Form/Control.js +1 -1
- package/lib/plugin/Form/DiffEditor.d.ts +1 -0
- package/lib/plugin/Form/DiffEditor.js +4 -2
- package/lib/plugin/Form/FieldSet.d.ts +1 -1
- package/lib/plugin/Form/FieldSet.js +4 -2
- package/lib/plugin/Form/Form.d.ts +1 -1
- package/lib/plugin/Form/Form.js +24 -20
- package/lib/plugin/Form/Formula.d.ts +10 -1
- package/lib/plugin/Form/Formula.js +5 -3
- package/lib/plugin/Form/Group.js +4 -2
- package/lib/plugin/Form/Hidden.d.ts +11 -7
- package/lib/plugin/Form/Hidden.js +5 -13
- package/lib/plugin/Form/InputArray.js +4 -2
- package/lib/plugin/Form/InputCity.d.ts +1 -1
- package/lib/plugin/Form/InputCity.js +6 -2
- package/lib/plugin/Form/InputColor.d.ts +1 -1
- package/lib/plugin/Form/InputColor.js +4 -2
- package/lib/plugin/Form/InputDate.d.ts +1 -1
- package/lib/plugin/Form/InputDate.js +4 -2
- package/lib/plugin/Form/InputDateRange.d.ts +1 -1
- package/lib/plugin/Form/InputDateRange.js +4 -2
- package/lib/plugin/Form/InputDateTime.js +1 -1
- package/lib/plugin/Form/InputDateTimeRange.js +1 -1
- package/lib/plugin/Form/InputEmail.js +1 -1
- package/lib/plugin/Form/InputExcel.d.ts +1 -1
- package/lib/plugin/Form/InputExcel.js +4 -2
- package/lib/plugin/Form/InputFile.d.ts +1 -1
- package/lib/plugin/Form/InputFile.js +4 -2
- package/lib/plugin/Form/InputGroup.js +4 -2
- package/lib/plugin/Form/InputImage.d.ts +1 -1
- package/lib/plugin/Form/InputImage.js +4 -2
- package/lib/plugin/Form/InputKV.d.ts +1 -11
- package/lib/plugin/Form/InputKV.js +4 -2
- package/lib/plugin/Form/InputMonth.js +1 -1
- package/lib/plugin/Form/InputMonthRange.js +1 -1
- package/lib/plugin/Form/InputNumber.d.ts +1 -1
- package/lib/plugin/Form/InputNumber.js +4 -2
- package/lib/plugin/Form/InputPassword.js +1 -1
- package/lib/plugin/Form/InputQuarter.js +1 -1
- package/lib/plugin/Form/InputQuarterRange.js +1 -1
- package/lib/plugin/Form/InputRange.d.ts +1 -1
- package/lib/plugin/Form/InputRange.js +4 -2
- package/lib/plugin/Form/InputRating.d.ts +1 -1
- package/lib/plugin/Form/InputRating.js +4 -2
- package/lib/plugin/Form/InputRepeat.js +4 -2
- package/lib/plugin/Form/InputRichText.d.ts +1 -0
- package/lib/plugin/Form/InputRichText.js +4 -2
- package/lib/plugin/Form/InputSubForm.js +4 -2
- package/lib/plugin/Form/InputTable.d.ts +1 -1
- package/lib/plugin/Form/InputTable.js +4 -2
- package/lib/plugin/Form/InputTag.d.ts +1 -1
- package/lib/plugin/Form/InputTag.js +4 -2
- package/lib/plugin/Form/InputText.d.ts +1 -1
- package/lib/plugin/Form/InputText.js +4 -2
- package/lib/plugin/Form/InputTime.js +1 -1
- package/lib/plugin/Form/InputTimeRange.js +1 -1
- package/lib/plugin/Form/InputTree.d.ts +1 -1
- package/lib/plugin/Form/InputTree.js +8 -2
- package/lib/plugin/Form/InputURL.js +1 -1
- package/lib/plugin/Form/InputYear.js +1 -1
- package/lib/plugin/Form/InputYearRange.js +1 -1
- package/lib/plugin/Form/Item.d.ts +1 -1
- package/lib/plugin/Form/Item.js +4 -2
- package/lib/plugin/Form/ListSelect.d.ts +1 -1
- package/lib/plugin/Form/ListSelect.js +8 -2
- package/lib/plugin/Form/LocationPicker.d.ts +1 -1
- package/lib/plugin/Form/LocationPicker.js +4 -2
- package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/lib/plugin/Form/MatrixCheckboxes.js +6 -2
- package/lib/plugin/Form/NestedSelect.d.ts +1 -1
- package/lib/plugin/Form/NestedSelect.js +9 -3
- package/lib/plugin/Form/Picker.js +4 -2
- package/lib/plugin/Form/Radios.d.ts +1 -1
- package/lib/plugin/Form/Radios.js +8 -2
- package/lib/plugin/Form/Select.d.ts +1 -1
- package/lib/plugin/Form/Select.js +9 -3
- package/lib/plugin/Form/Static.d.ts +1 -1
- package/lib/plugin/Form/Static.js +4 -2
- package/lib/plugin/Form/Switch.d.ts +1 -1
- package/lib/plugin/Form/Switch.js +4 -2
- package/lib/plugin/Form/TabsTransfer.d.ts +1 -1
- package/lib/plugin/Form/TabsTransfer.js +9 -3
- package/lib/plugin/Form/Textarea.d.ts +1 -0
- package/lib/plugin/Form/Textarea.js +4 -2
- package/lib/plugin/Form/Transfer.d.ts +1 -1
- package/lib/plugin/Form/Transfer.js +8 -2
- package/lib/plugin/Form/TreeSelect.d.ts +1 -1
- package/lib/plugin/Form/TreeSelect.js +8 -2
- package/lib/plugin/Form/UUID.d.ts +11 -6
- package/lib/plugin/Form/UUID.js +5 -13
- package/lib/plugin/Grid.d.ts +1 -0
- package/lib/plugin/Grid.js +11 -3
- package/lib/plugin/HBox.js +4 -2
- package/lib/plugin/IFrame.d.ts +11 -2
- package/lib/plugin/IFrame.js +5 -3
- package/lib/plugin/Image.d.ts +2 -2
- package/lib/plugin/Image.js +7 -2
- package/lib/plugin/Images.d.ts +3 -3
- package/lib/plugin/Images.js +6 -2
- package/lib/plugin/Json.d.ts +1 -1
- package/lib/plugin/Json.js +4 -2
- package/lib/plugin/Layout/FlexPluginBase.d.ts +1 -0
- package/lib/plugin/Layout/FlexPluginBase.js +94 -25
- package/lib/plugin/Layout/Layout1_2_v4.d.ts +0 -1
- package/lib/plugin/Layout/Layout1_2_v4.js +9 -11
- package/lib/plugin/Layout/Layout_fixed.d.ts +1 -1
- package/lib/plugin/Layout/Layout_fixed.js +9 -8
- 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} +30 -34
- 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} +12 -10
- package/lib/plugin/Link.js +4 -2
- package/lib/plugin/List.js +4 -2
- package/lib/plugin/ListItem.js +4 -2
- package/lib/plugin/Log.d.ts +1 -1
- package/lib/plugin/Log.js +4 -2
- package/lib/plugin/Mapping.d.ts +1 -1
- package/lib/plugin/Mapping.js +4 -2
- package/lib/plugin/Markdown.d.ts +1 -1
- package/lib/plugin/Markdown.js +4 -2
- package/lib/plugin/Nav.d.ts +2 -1
- package/lib/plugin/Nav.js +29 -23
- package/lib/plugin/Operation.d.ts +1 -1
- package/lib/plugin/Operation.js +1 -1
- package/lib/plugin/Others/Action.js +1 -1
- package/lib/plugin/Others/TableCell.d.ts +1 -1
- package/lib/plugin/Others/TableCell.js +1 -1
- package/lib/plugin/Page.d.ts +3 -2
- package/lib/plugin/Page.js +1 -1
- package/lib/plugin/Pagination.d.ts +1 -1
- package/lib/plugin/Pagination.js +4 -2
- package/lib/plugin/Panel.d.ts +1 -1
- package/lib/plugin/Panel.js +4 -2
- package/lib/plugin/Plain.d.ts +1 -1
- package/lib/plugin/Plain.js +4 -2
- package/lib/plugin/Progress.d.ts +1 -1
- package/lib/plugin/Progress.js +4 -2
- package/lib/plugin/Property.js +4 -2
- package/lib/plugin/QRCode.js +4 -2
- package/lib/plugin/Reset.js +1 -1
- package/lib/plugin/Service.d.ts +1 -1
- package/lib/plugin/Service.js +10 -3
- package/lib/plugin/Sparkline.d.ts +1 -5
- package/lib/plugin/Sparkline.js +4 -2
- package/lib/plugin/Status.d.ts +1 -1
- package/lib/plugin/Status.js +4 -2
- package/lib/plugin/Steps.js +5 -3
- package/lib/plugin/Submit.js +1 -1
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +7 -3
- package/lib/plugin/Table2.d.ts +1 -1
- package/lib/plugin/Table2.js +7 -3
- package/lib/plugin/TableCell2.js +1 -1
- package/lib/plugin/TableView.js +4 -2
- package/lib/plugin/Tabs.d.ts +0 -1
- package/lib/plugin/Tabs.js +4 -2
- package/lib/plugin/Tasks.d.ts +2 -1
- package/lib/plugin/Tasks.js +158 -150
- package/lib/plugin/Time.d.ts +1 -0
- package/lib/plugin/Time.js +4 -2
- package/lib/plugin/Timeline.d.ts +1 -1
- package/lib/plugin/Timeline.js +4 -2
- package/lib/plugin/TooltipWrapper.d.ts +1 -1
- package/lib/plugin/TooltipWrapper.js +4 -2
- package/lib/plugin/Tpl.d.ts +1 -1
- package/lib/plugin/Tpl.js +4 -2
- package/lib/plugin/Video.d.ts +2 -2
- package/lib/plugin/Video.js +4 -2
- package/lib/plugin/WebComponent.d.ts +1 -1
- package/lib/plugin/WebComponent.js +4 -2
- package/lib/plugin/Wizard.js +8 -2
- package/lib/plugin/Wrapper.d.ts +1 -1
- package/lib/plugin/Wrapper.js +84 -19
- package/lib/renderer/APIControl.d.ts +4790 -8
- package/lib/renderer/APIControl.js +1 -1
- package/lib/renderer/ActionApiControl.d.ts +6384 -8
- package/lib/renderer/BadgeControl.d.ts +10 -10
- package/lib/renderer/BadgeControl.js +1 -1
- package/lib/renderer/DataBindingControl.js +2 -3
- package/lib/renderer/DataMappingControl.js +1 -1
- package/lib/renderer/DataPickerControl.js +1 -1
- package/lib/renderer/DateShortCutControl.js +1 -1
- package/lib/renderer/ExpressionFormulaControl.js +1 -1
- package/lib/renderer/FeatureControl.js +1 -1
- package/lib/renderer/FormulaControl.js +1 -1
- package/lib/renderer/GoConfigControl.js +1 -1
- package/lib/renderer/OptionControl.js +1 -1
- package/lib/renderer/RangePartsControl.js +1 -1
- package/lib/renderer/StatusControl.js +1 -1
- package/lib/renderer/SwitchMoreControl.d.ts +78 -76
- package/lib/renderer/SwitchMoreControl.js +1 -1
- package/lib/renderer/TimelineItemControl.js +1 -1
- package/lib/renderer/TransferTableControl.js +1 -1
- package/lib/renderer/TreeOptionControl.js +1 -1
- package/lib/renderer/ValidationControl.js +1 -1
- package/lib/renderer/ValidationItem.js +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +10 -17
- package/lib/renderer/event-control/action-config-panel.js +1 -1
- package/lib/renderer/event-control/actions.js +81 -50
- package/lib/renderer/event-control/comp-action-select.js +1 -1
- package/lib/renderer/event-control/helper.d.ts +18 -15
- package/lib/renderer/event-control/helper.js +29 -11
- package/lib/renderer/event-control/index.d.ts +14 -0
- package/lib/renderer/event-control/index.js +131 -17
- package/lib/renderer/event-control/types.d.ts +3 -0
- package/lib/renderer/style-control/Background.js +1 -1
- package/lib/renderer/style-control/Border.js +1 -1
- package/lib/renderer/style-control/BoxModel.js +1 -1
- package/lib/renderer/style-control/BoxShadow.js +1 -1
- package/lib/renderer/style-control/Display.js +1 -1
- package/lib/renderer/style-control/Font.js +1 -1
- package/lib/renderer/style-control/InsetBoxModel.js +1 -1
- package/lib/renderer/style-control/font-family.js +1 -1
- package/lib/renderer/style-control/transformation.js +1 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +1 -1
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
- package/lib/renderer/textarea-formula/plugin.js +1 -1
- package/lib/renderer/textarea-formula/utils.js +1 -1
- package/lib/tpl/api.js +64 -1
- package/lib/tpl/common.js +1 -1
- package/lib/tpl/horizontal.js +1 -1
- package/lib/tpl/layout.js +164 -60
- package/lib/tpl/options.js +1 -1
- package/lib/tpl/style.js +1 -1
- package/lib/tpl/validations.js +1 -1
- package/lib/util.d.ts +11 -8
- package/lib/util.js +1 -1
- package/lib/validator.js +1 -1
- package/package.json +5 -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/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
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -322,7 +322,9 @@ var TreeControlPlugin = /** @class */function (_super) {
|
|
322
322
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
323
323
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
324
324
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
325
|
-
body: [amisEditorCore.getSchemaTpl('
|
325
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
326
|
+
value: 'left-top'
|
327
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
326
328
|
required: true
|
327
329
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('multiple', {
|
328
330
|
body: [{
|
@@ -362,6 +364,10 @@ var TreeControlPlugin = /** @class */function (_super) {
|
|
362
364
|
body: [amisEditorCore.getSchemaTpl('treeOptionControl', {
|
363
365
|
label: i18nRuntime.i18n("0d83078816aa273f2941c9b55ec82bf3"),
|
364
366
|
showIconField: true
|
367
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
368
|
+
visibleOn: 'this.source || !this.options'
|
369
|
+
}, {
|
370
|
+
context: context
|
365
371
|
}), amisEditorCore.getSchemaTpl('switch', {
|
366
372
|
label: i18nRuntime.i18n("a0e965072593eb1b19b4568fa26d977c"),
|
367
373
|
name: 'onlyLeaf'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin, BasicPanelItem, PluginEvent, ChangeEventContext, ReplaceEventContext, BuildPanelEventContext, ContextMenuEventContext, ContextMenuItem } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext, BasicPanelItem, PluginEvent, ChangeEventContext, ReplaceEventContext, BuildPanelEventContext, ContextMenuEventContext, ContextMenuItem } from 'amis-editor-core';
|
2
2
|
export declare class ItemPlugin extends BasePlugin {
|
3
3
|
panelTitle: string;
|
4
4
|
order: number;
|
package/lib/plugin/Form/Item.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -55,7 +55,9 @@ var ItemPlugin = /** @class */function (_super) {
|
|
55
55
|
var renderer = context.info.renderer;
|
56
56
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
57
57
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
58
|
-
body: [
|
58
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
59
|
+
value: 'left-top'
|
60
|
+
}), ignoreName ? null : amisEditorCore.getSchemaTpl('formItemName', {
|
59
61
|
required: notRequiredName ? false : true
|
60
62
|
}), renderer.renderLabel !== false ? amisEditorCore.getSchemaTpl('label') : null, hasReadOnly ? amisEditorCore.getSchemaTpl('switch', {
|
61
63
|
name: 'readOnly',
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class ListControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -172,7 +172,9 @@ var ListControlPlugin = /** @class */function (_super) {
|
|
172
172
|
return BaseControl.formItemControl({
|
173
173
|
common: {
|
174
174
|
replace: true,
|
175
|
-
body: [amisEditorCore.getSchemaTpl('
|
175
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
176
|
+
value: 'left-top'
|
177
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
176
178
|
required: true
|
177
179
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('multiple'), amisEditorCore.getSchemaTpl('extractValue'), amisEditorCore.getSchemaTpl('valueFormula', {
|
178
180
|
rendererSchema: context === null || context === void 0 ? void 0 : context.schema,
|
@@ -184,6 +186,10 @@ var ListControlPlugin = /** @class */function (_super) {
|
|
184
186
|
option: {
|
185
187
|
body: [amisEditorCore.getSchemaTpl('optionControlV2', {
|
186
188
|
description: i18nRuntime.i18n("6f6fa31a91b516b28ebee7a86a9b13e2")
|
189
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
190
|
+
visibleOn: 'this.source'
|
191
|
+
}, {
|
192
|
+
context: context
|
187
193
|
})]
|
188
194
|
},
|
189
195
|
status: {}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -104,7 +104,9 @@ var LocationControlPlugin = /** @class */function (_super) {
|
|
104
104
|
configurable: true,
|
105
105
|
writable: true,
|
106
106
|
value: function (context) {
|
107
|
-
return [amisEditorCore.getSchemaTpl('
|
107
|
+
return [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
108
|
+
value: 'left-top'
|
109
|
+
}), amisEditorCore.getSchemaTpl('clearable'), {
|
108
110
|
type: 'input-text',
|
109
111
|
name: 'ak',
|
110
112
|
label: i18nRuntime.i18n("dffd9d86d2003615897b12ce7597d77b"),
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class MatrixControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -176,7 +176,9 @@ var MatrixControlPlugin = /** @class */function (_super) {
|
|
176
176
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
177
177
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
178
178
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
179
|
-
body: [amisEditorCore.getSchemaTpl('
|
179
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
180
|
+
value: 'left-top'
|
181
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
180
182
|
required: true
|
181
183
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('multiple', {
|
182
184
|
value: true
|
@@ -243,6 +245,8 @@ var MatrixControlPlugin = /** @class */function (_super) {
|
|
243
245
|
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("54ea89b497ec3bb319c68844dfa3687f"), i18nRuntime.i18n("75bf5fd49520bce97de632700fc8a129")),
|
244
246
|
name: 'source',
|
245
247
|
mode: 'normal'
|
248
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {}, {
|
249
|
+
context: context
|
246
250
|
})
|
247
251
|
// getSchemaTpl('value')
|
248
252
|
]
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
2
|
-
import { BasePlugin } from 'amis-editor-core';
|
2
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
3
3
|
export declare class NestedSelectControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
5
5
|
$schema: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -256,7 +256,9 @@ var NestedSelectControlPlugin = /** @class */function (_super) {
|
|
256
256
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
257
257
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
258
258
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
259
|
-
body: [amisEditorCore.getSchemaTpl('
|
259
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
260
|
+
value: 'left-top'
|
261
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
260
262
|
required: true
|
261
263
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('clearable'), {
|
262
264
|
type: 'ae-Switch-More',
|
@@ -325,7 +327,11 @@ var NestedSelectControlPlugin = /** @class */function (_super) {
|
|
325
327
|
}), amisEditorCore.getSchemaTpl('hideNodePathLabel'), amisEditorCore.getSchemaTpl('labelRemark'), amisEditorCore.getSchemaTpl('remark'), amisEditorCore.getSchemaTpl('placeholder'), amisEditorCore.getSchemaTpl('description'), amisEditorCore.getSchemaTpl('autoFillApi')]
|
326
328
|
}, {
|
327
329
|
title: i18nRuntime.i18n("ea15ae2b7fba76c83eec6d0986d15197"),
|
328
|
-
body: [amisEditorCore.getSchemaTpl('treeOptionControl')
|
330
|
+
body: [amisEditorCore.getSchemaTpl('treeOptionControl'), amisEditorCore.getSchemaTpl('loadingConfig', {
|
331
|
+
visibleOn: 'this.source || !this.options'
|
332
|
+
}, {
|
333
|
+
context: context
|
334
|
+
})]
|
329
335
|
}, amisEditorCore.getSchemaTpl('status', {
|
330
336
|
isFormItem: true
|
331
337
|
}), amisEditorCore.getSchemaTpl('validation', {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -157,7 +157,9 @@ var PickerControlPlugin = /** @class */function (_super) {
|
|
157
157
|
value: function (context) {
|
158
158
|
return amisEditorCore.getSchemaTpl('tabs', [{
|
159
159
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
160
|
-
body: [amisEditorCore.getSchemaTpl('
|
160
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
161
|
+
value: 'left-top'
|
162
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
161
163
|
name: 'embed',
|
162
164
|
label: i18nRuntime.i18n("dc0c50a5c9832b393df34835111c34a3")
|
163
165
|
}), amisEditorCore.getSchemaTpl('switchDefaultValue'), {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class RadiosControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -188,7 +188,9 @@ var RadiosControlPlugin = /** @class */function (_super) {
|
|
188
188
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
189
189
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
190
190
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
191
|
-
body: [amisEditorCore.getSchemaTpl('
|
191
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
192
|
+
value: 'left-top'
|
193
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
192
194
|
required: true
|
193
195
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('valueFormula', {
|
194
196
|
rendererSchema: context === null || context === void 0 ? void 0 : context.schema,
|
@@ -207,6 +209,10 @@ var RadiosControlPlugin = /** @class */function (_super) {
|
|
207
209
|
left: 5
|
208
210
|
},
|
209
211
|
visibleOn: '!this.options'
|
212
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
213
|
+
visibleOn: 'this.source || !this.options'
|
214
|
+
}, {
|
215
|
+
context: context
|
210
216
|
})]
|
211
217
|
}, amisEditorCore.getSchemaTpl('status', {
|
212
218
|
isFormItem: true
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class SelectControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -271,7 +271,9 @@ var SelectControlPlugin = /** @class */function (_super) {
|
|
271
271
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
272
272
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
273
273
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
274
|
-
body: [amisEditorCore.getSchemaTpl('
|
274
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
275
|
+
value: 'left-top'
|
276
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
275
277
|
required: true
|
276
278
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('clearable'), amisEditorCore.getSchemaTpl('searchable'), amisEditorCore.getSchemaTpl('multiple', {
|
277
279
|
body: [amisEditorCore.getSchemaTpl('switch', {
|
@@ -287,7 +289,11 @@ var SelectControlPlugin = /** @class */function (_super) {
|
|
287
289
|
}), amisEditorCore.getSchemaTpl('labelRemark'), amisEditorCore.getSchemaTpl('remark'), amisEditorCore.getSchemaTpl('placeholder'), amisEditorCore.getSchemaTpl('description')]
|
288
290
|
}, {
|
289
291
|
title: i18nRuntime.i18n("ea15ae2b7fba76c83eec6d0986d15197"),
|
290
|
-
body: [amisEditorCore.getSchemaTpl('optionControlV2'),
|
292
|
+
body: [amisEditorCore.getSchemaTpl('optionControlV2'), amisEditorCore.getSchemaTpl('loadingConfig', {
|
293
|
+
visibleOn: 'this.source || !this.options'
|
294
|
+
}, {
|
295
|
+
context: context
|
296
|
+
}),
|
291
297
|
// 模板
|
292
298
|
amisEditorCore.getSchemaTpl('optionsMenuTpl', {
|
293
299
|
manager: _this.manager,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -134,7 +134,9 @@ var StaticControlPlugin = /** @class */function (_super) {
|
|
134
134
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
135
135
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
136
136
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
137
|
-
body: [amisEditorCore.getSchemaTpl('
|
137
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
138
|
+
value: 'left-top'
|
139
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
138
140
|
required: false
|
139
141
|
}), amisEditorCore.getSchemaTpl('label'),
|
140
142
|
// getSchemaTpl('value'),
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import type { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class SwitchControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -163,7 +163,9 @@ var SwitchControlPlugin = /** @class */function (_super) {
|
|
163
163
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
164
164
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
165
165
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
166
|
-
body: [amisEditorCore.getSchemaTpl('
|
166
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
167
|
+
value: 'left-top'
|
168
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
167
169
|
required: true
|
168
170
|
}), amisEditorCore.getSchemaTpl('label'), {
|
169
171
|
name: 'option',
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class TabsTransferPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -297,7 +297,9 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
297
297
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
298
298
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
299
299
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
300
|
-
body: [amisEditorCore.getSchemaTpl('
|
300
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
301
|
+
value: 'left-top'
|
302
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
301
303
|
required: true
|
302
304
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('searchable'), amisEditorCore.getSchemaTpl('api', {
|
303
305
|
label: i18nRuntime.i18n("791959f9b90734dce08da79f4ac27a41"),
|
@@ -336,7 +338,11 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
336
338
|
body: [{
|
337
339
|
$ref: 'options',
|
338
340
|
name: 'options'
|
339
|
-
}, amisEditorCore.getSchemaTpl('source'), amisEditorCore.getSchemaTpl('
|
341
|
+
}, amisEditorCore.getSchemaTpl('source'), amisEditorCore.getSchemaTpl('loadingConfig', {
|
342
|
+
visibleOn: 'this.source || !this.options'
|
343
|
+
}, {
|
344
|
+
context: context
|
345
|
+
}), amisEditorCore.getSchemaTpl('joinValues'), amisEditorCore.getSchemaTpl('delimiter'), amisEditorCore.getSchemaTpl('extractValue'), amisEditorCore.getSchemaTpl('autoFillApi', {
|
340
346
|
visibleOn: '!this.autoFill || this.autoFill.scene && this.autoFill.action'
|
341
347
|
}), amisEditorCore.getSchemaTpl('autoFill', {
|
342
348
|
visibleOn: '!this.autoFill || !this.autoFill.scene && !this.autoFill.action'
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { BasePlugin } from 'amis-editor-core';
|
2
|
+
import type { BaseEventContext } from 'amis-editor-core';
|
2
3
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
4
|
export declare class TextareaControlPlugin extends BasePlugin {
|
4
5
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -191,7 +191,9 @@ var TextareaControlPlugin = /** @class */function (_super) {
|
|
191
191
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
192
192
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
193
193
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
194
|
-
body: [amisEditorCore.getSchemaTpl('
|
194
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
195
|
+
value: 'left-top'
|
196
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
195
197
|
required: true
|
196
198
|
}), amisEditorCore.getSchemaTpl('label'),
|
197
199
|
// getSchemaTpl('valueFormula', {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { BasePlugin } from 'amis-editor-core';
|
1
|
+
import { BasePlugin, BaseEventContext } from 'amis-editor-core';
|
2
2
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
3
|
export declare class TransferPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -230,7 +230,9 @@ var TransferPlugin = /** @class */function (_super) {
|
|
230
230
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
231
231
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
232
232
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
233
|
-
body: [amisEditorCore.getSchemaTpl('
|
233
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
234
|
+
value: 'left-top'
|
235
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
234
236
|
required: true
|
235
237
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('valueFormula', {
|
236
238
|
rendererSchema: tslib.__assign(tslib.__assign({}, context === null || context === void 0 ? void 0 : context.schema), {
|
@@ -276,6 +278,10 @@ var TransferPlugin = /** @class */function (_super) {
|
|
276
278
|
}, amisEditorCore.getSchemaTpl('optionControlV2', {
|
277
279
|
visibleOn: 'data.selectMode === "list"',
|
278
280
|
multiple: true
|
281
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
282
|
+
visibleOn: 'this.source || !this.options'
|
283
|
+
}, {
|
284
|
+
context: context
|
279
285
|
}), {
|
280
286
|
type: 'ae-transferTableControl',
|
281
287
|
label: i18nRuntime.i18n("0d83078816aa273f2941c9b55ec82bf3"),
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
2
|
-
import { BasePlugin } from 'amis-editor-core';
|
2
|
+
import { BaseEventContext, BasePlugin } from 'amis-editor-core';
|
3
3
|
export declare class TreeSelectControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
5
5
|
$schema: string;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -306,7 +306,9 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
306
306
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
307
307
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
308
308
|
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
309
|
-
body: [amisEditorCore.getSchemaTpl('
|
309
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
310
|
+
value: 'left-top'
|
311
|
+
}), amisEditorCore.getSchemaTpl('formItemName', {
|
310
312
|
required: true
|
311
313
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('clearable', {
|
312
314
|
mode: 'horizontal',
|
@@ -353,6 +355,10 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
353
355
|
body: [amisEditorCore.getSchemaTpl('treeOptionControl', {
|
354
356
|
label: i18nRuntime.i18n("0d83078816aa273f2941c9b55ec82bf3"),
|
355
357
|
showIconField: true
|
358
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
359
|
+
visibleOn: 'this.source || !this.options'
|
360
|
+
}, {
|
361
|
+
context: context
|
356
362
|
}), amisEditorCore.getSchemaTpl('switch', {
|
357
363
|
label: i18nRuntime.i18n("a0e965072593eb1b19b4568fa26d977c"),
|
358
364
|
name: 'onlyLeaf'
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
import React from 'react';
|
2
2
|
import { BasePlugin } from 'amis-editor-core';
|
3
3
|
export declare class UUIDControlPlugin extends BasePlugin {
|
4
4
|
rendererName: string;
|
@@ -16,9 +16,14 @@ export declare class UUIDControlPlugin extends BasePlugin {
|
|
16
16
|
};
|
17
17
|
previewSchema: any;
|
18
18
|
panelTitle: string;
|
19
|
-
panelBody:
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
panelBody: any[];
|
20
|
+
renderRenderer(props: any): React.DetailedReactHTMLElement<{
|
21
|
+
key: any;
|
22
|
+
className: string;
|
23
|
+
style: any;
|
24
|
+
children: React.DetailedReactHTMLElement<{
|
25
|
+
className: string;
|
26
|
+
children: string;
|
27
|
+
}, HTMLElement>;
|
28
|
+
}, HTMLElement>;
|
24
29
|
}
|
package/lib/plugin/Form/UUID.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -8,14 +8,9 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
var tslib = require('tslib');
|
11
|
-
var React = require('react');
|
12
11
|
var amisEditorCore = require('amis-editor-core');
|
13
12
|
var i18nRuntime = require('i18n-runtime');
|
14
13
|
|
15
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
16
|
-
|
17
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
18
|
-
|
19
14
|
var UUIDControlPlugin = /** @class */function (_super) {
|
20
15
|
tslib.__extends(UUIDControlPlugin, _super);
|
21
16
|
function UUIDControlPlugin() {
|
@@ -105,7 +100,9 @@ var UUIDControlPlugin = /** @class */function (_super) {
|
|
105
100
|
enumerable: true,
|
106
101
|
configurable: true,
|
107
102
|
writable: true,
|
108
|
-
value: [{
|
103
|
+
value: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
104
|
+
value: 'left-top'
|
105
|
+
}), {
|
109
106
|
type: 'static',
|
110
107
|
value: i18nRuntime.i18n("43e1548e15272e1007051d7c8b70adf6")
|
111
108
|
}]
|
@@ -117,12 +114,7 @@ var UUIDControlPlugin = /** @class */function (_super) {
|
|
117
114
|
configurable: true,
|
118
115
|
writable: true,
|
119
116
|
value: function (props) {
|
120
|
-
return
|
121
|
-
key: props.key,
|
122
|
-
className: "wrapper-sm b-a b-light m-b-sm"
|
123
|
-
}, React__default["default"].createElement("span", {
|
124
|
-
className: "text-muted"
|
125
|
-
}, "UUID\uFF08\u5C55\u73B0\u5C06\u9690\u85CF\uFF09"));
|
117
|
+
return this.renderPlaceholder(i18nRuntime.i18n("844d72db7e57be4d77881ee9b4294e75"), props.key, props.style);
|
126
118
|
}
|
127
119
|
});
|
128
120
|
return UUIDControlPlugin;
|
package/lib/plugin/Grid.d.ts
CHANGED
package/lib/plugin/Grid.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -63,7 +63,13 @@ var GridPlugin = /** @class */function (_super) {
|
|
63
63
|
enumerable: true,
|
64
64
|
configurable: true,
|
65
65
|
writable: true,
|
66
|
-
value: [i18nRuntime.i18n("
|
66
|
+
value: [i18nRuntime.i18n("5aefca559c5a41d10078e21e6d616825")]
|
67
|
+
});
|
68
|
+
Object.defineProperty(_this, "order", {
|
69
|
+
enumerable: true,
|
70
|
+
configurable: true,
|
71
|
+
writable: true,
|
72
|
+
value: 505
|
67
73
|
});
|
68
74
|
Object.defineProperty(_this, "icon", {
|
69
75
|
enumerable: true,
|
@@ -244,7 +250,9 @@ var GridPlugin = /** @class */function (_super) {
|
|
244
250
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
245
251
|
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
246
252
|
className: 'p-none',
|
247
|
-
body: [amisEditorCore.getSchemaTpl('collapseGroup', [{
|
253
|
+
body: [amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
254
|
+
value: 'left-top'
|
255
|
+
}), {
|
248
256
|
title: i18nRuntime.i18n("9bdb07e72d3a9a6084201a7398523f5a"),
|
249
257
|
body: [{
|
250
258
|
type: 'wrapper',
|
package/lib/plugin/HBox.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.1-beta.
|
2
|
+
* amis-editor v5.2.1-beta.35
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -121,7 +121,9 @@ var HBoxPlugin = /** @class */function (_super) {
|
|
121
121
|
value: function (context) {
|
122
122
|
return [amisEditorCore.getSchemaTpl('tabs', [{
|
123
123
|
title: i18nRuntime.i18n("22b777e6fcb613b8ba83ced9594cd07e"),
|
124
|
-
body: [amisEditorCore.getSchemaTpl('
|
124
|
+
body: [amisEditorCore.getSchemaTpl('layout:originPosition', {
|
125
|
+
value: 'left-top'
|
126
|
+
}), amisEditorCore.getSchemaTpl('fieldSet', {
|
125
127
|
title: i18nRuntime.i18n("9bdb07e72d3a9a6084201a7398523f5a"),
|
126
128
|
collapsable: false,
|
127
129
|
body: [{
|