amis-editor 5.5.0 → 5.6.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.js +1 -1
- package/esm/component/InputComponentName.js +1 -1
- package/esm/component/TableViewEditor.d.ts +2 -2
- package/esm/component/TableViewEditor.js +2 -2
- 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/display/aBaseline.svg.js +2 -1
- package/esm/icons/display/aCenter.svg.js +2 -1
- package/esm/icons/display/aFlexEnd.svg.js +2 -1
- package/esm/icons/display/aFlexStart.svg.js +2 -1
- package/esm/icons/display/aStretch.svg.js +2 -1
- package/esm/icons/display/block.svg.js +2 -1
- package/esm/icons/display/dcolumn.svg.js +2 -1
- package/esm/icons/display/dcolumnReverse.svg.js +2 -1
- package/esm/icons/display/drow.svg.js +2 -1
- package/esm/icons/display/drowReverse.svg.js +2 -1
- package/esm/icons/display/flex.svg.js +2 -1
- package/esm/icons/display/inline-block.svg.js +2 -1
- package/esm/icons/display/inline.svg.js +2 -1
- package/esm/icons/display/jCenter.svg.js +2 -1
- package/esm/icons/display/jFlexEnd.svg.js +2 -1
- package/esm/icons/display/jFlexStart.svg.js +2 -1
- package/esm/icons/display/jSpaceAround.svg.js +2 -1
- package/esm/icons/display/jSpaceBetween.svg.js +2 -1
- package/esm/icons/feat/audio.svg.js +1 -1
- package/esm/icons/feat/custom.svg.js +1 -1
- package/esm/icons/feat/each.svg.js +1 -1
- package/esm/icons/feat/form.svg.js +1 -1
- package/esm/icons/feat/nav.svg.js +1 -1
- package/esm/icons/feat/qrcode.svg.js +1 -1
- package/esm/icons/feat/service.svg.js +1 -1
- package/esm/icons/feat/table.svg.js +1 -1
- package/esm/icons/feat/tasks.svg.js +1 -1
- package/esm/icons/feat/video.svg.js +1 -1
- package/esm/icons/feat/wizard.svg.js +1 -1
- package/esm/icons/form/chained-select.svg.js +1 -1
- package/esm/icons/form/checkbox.svg.js +1 -1
- package/esm/icons/form/checkboxes.svg.js +1 -1
- package/esm/icons/form/combo.svg.js +1 -1
- package/esm/icons/form/condition-builder.svg.js +1 -1
- package/esm/icons/form/diff-editor.svg.js +1 -1
- package/esm/icons/form/editor.svg.js +1 -1
- package/esm/icons/form/formula.svg.js +1 -1
- package/esm/icons/form/hidden.svg.js +1 -1
- package/esm/icons/form/input-city.svg.js +1 -1
- package/esm/icons/form/input-color.svg.js +1 -1
- package/esm/icons/form/input-date-range.svg.js +1 -1
- package/esm/icons/form/input-date.svg.js +1 -1
- package/esm/icons/form/input-datetime.svg.js +1 -1
- package/esm/icons/form/input-email.svg.js +1 -1
- package/esm/icons/form/input-excel.svg.js +1 -1
- package/esm/icons/form/input-file.svg.js +1 -1
- package/esm/icons/form/input-group.svg.js +1 -1
- package/esm/icons/form/input-image.svg.js +1 -1
- package/esm/icons/form/input-kv.svg.js +1 -1
- package/esm/icons/form/input-month-range.svg.js +1 -1
- package/esm/icons/form/input-number.svg.js +1 -1
- package/esm/icons/form/input-password.svg.js +1 -1
- package/esm/icons/form/input-quarter-range.svg.js +1 -1
- package/esm/icons/form/input-range.svg.js +1 -1
- package/esm/icons/form/input-rating.svg.js +1 -1
- package/esm/icons/form/input-repeat.svg.js +1 -1
- package/esm/icons/form/input-rich-text.svg.js +1 -1
- package/esm/icons/form/input-tag.svg.js +1 -1
- package/esm/icons/form/input-text.svg.js +1 -1
- package/esm/icons/form/input-time-range.svg.js +1 -1
- package/esm/icons/form/input-time.svg.js +1 -1
- package/esm/icons/form/input-tree.svg.js +1 -1
- package/esm/icons/form/input-url.svg.js +1 -1
- package/esm/icons/form/input-year.svg.js +1 -1
- package/esm/icons/form/inputArray.svg.js +1 -1
- package/esm/icons/form/list-select.svg.js +1 -1
- package/esm/icons/form/location-picker.svg.js +1 -1
- package/esm/icons/form/matrix-checkboxes.svg.js +1 -1
- package/esm/icons/form/month.svg.js +1 -1
- package/esm/icons/form/nested-select.svg.js +1 -1
- package/esm/icons/form/picker.svg.js +1 -1
- package/esm/icons/form/quarter.svg.js +1 -1
- package/esm/icons/form/radios.svg.js +1 -1
- package/esm/icons/form/select.svg.js +1 -1
- package/esm/icons/form/static.svg.js +1 -1
- package/esm/icons/form/sub-form.svg.js +1 -1
- package/esm/icons/form/switch.svg.js +1 -1
- package/esm/icons/form/tabs-transfer.svg.js +1 -1
- package/esm/icons/form/textarea.svg.js +1 -1
- package/esm/icons/form/transfer.svg.js +1 -1
- package/esm/icons/form/tree-select.svg.js +1 -1
- package/esm/icons/form/uuid.svg.js +1 -1
- package/esm/icons/index.js +1 -1
- package/esm/icons/layout/layout-1with2.svg.js +1 -1
- package/esm/icons/layout/layout-2cols.svg.js +1 -1
- package/esm/icons/layout/layout-2row.svg.js +1 -1
- package/esm/icons/layout/layout-2with1.svg.js +1 -1
- package/esm/icons/layout/layout-3cols.svg.js +1 -1
- package/esm/icons/layout/layout-3row.svg.js +1 -1
- package/esm/icons/layout/layout-absolute.svg.js +1 -1
- package/esm/icons/layout/layout-fixed-top.svg.js +1 -1
- package/esm/icons/layout/layout-fixed.svg.js +1 -1
- package/esm/icons/layout/layout-free-container.svg.js +1 -1
- package/esm/icons/layout/layout-full.svg.js +1 -1
- package/esm/icons/layout/layout1-2.svg.js +1 -1
- package/esm/icons/layout/layout2-1.svg.js +1 -1
- package/esm/icons/layout/layout3-1.svg.js +1 -1
- package/esm/icons/layout/layout3-2.svg.js +1 -1
- package/esm/icons/other/_fx.svg.js +1 -1
- package/esm/icons/other/divider.svg.js +1 -1
- package/esm/icons/other/fx.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/icons/theme/css.svg.js +1 -1
- package/esm/index.d.ts +1 -145
- package/esm/index.js +139 -139
- package/esm/locale/en-US.js +85 -2
- package/esm/locale/zh-CN.js +87 -4
- package/esm/plugin/Alert.js +1 -1
- package/esm/plugin/AnchorNav.js +3 -3
- package/esm/plugin/Audio.js +1 -1
- package/esm/plugin/Avatar.js +1 -1
- package/esm/plugin/Breadcrumb.js +1 -1
- package/esm/plugin/Button.js +1 -1
- package/esm/plugin/ButtonGroup.js +1 -1
- package/esm/plugin/CRUD.d.ts +4 -3
- package/esm/plugin/CRUD.js +27 -23
- package/esm/plugin/CRUD2.js +7 -4
- package/esm/plugin/Card.js +8 -4
- package/esm/plugin/Card2.js +1 -1
- package/esm/plugin/Cards.js +3 -7
- package/esm/plugin/Carousel.js +3 -1
- package/esm/plugin/Chart.d.ts +3 -0
- package/esm/plugin/Chart.js +135 -91
- package/esm/plugin/CodeView.js +1 -1
- package/esm/plugin/Collapse.js +7 -8
- package/esm/plugin/CollapseGroup.js +12 -13
- package/esm/plugin/ColumnToggler.js +1 -1
- package/esm/plugin/Container.d.ts +2 -1
- package/esm/plugin/Container.js +79 -9
- package/esm/plugin/Custom.js +3 -3
- package/esm/plugin/CustomRegion.js +1 -1
- package/esm/plugin/Date.js +1 -1
- package/esm/plugin/Datetime.js +1 -1
- package/esm/plugin/Dialog.d.ts +13 -2
- package/esm/plugin/Dialog.js +66 -3
- package/esm/plugin/Divider.js +1 -1
- package/esm/plugin/Drawer.d.ts +7 -1
- package/esm/plugin/Drawer.js +44 -3
- package/esm/plugin/DropDownButton.js +2 -2
- package/esm/plugin/Each.js +3 -3
- package/esm/plugin/Flex.js +1 -1
- package/esm/plugin/Form/ButtonGroupSelect.d.ts +2 -0
- package/esm/plugin/Form/ButtonGroupSelect.js +49 -1
- package/esm/plugin/Form/ButtonToolbar.js +1 -1
- package/esm/plugin/Form/ChainedSelect.d.ts +2 -0
- package/esm/plugin/Form/ChainedSelect.js +40 -2
- package/esm/plugin/Form/Checkbox.d.ts +6 -0
- package/esm/plugin/Form/Checkbox.js +11 -1
- package/esm/plugin/Form/Checkboxes.d.ts +2 -0
- package/esm/plugin/Form/Checkboxes.js +55 -2
- package/esm/plugin/Form/CodeEditor.js +1 -1
- package/esm/plugin/Form/Combo.d.ts +1 -0
- package/esm/plugin/Form/Combo.js +72 -2
- package/esm/plugin/Form/ConditionBuilder.js +3 -2
- package/esm/plugin/Form/Control.js +3 -3
- package/esm/plugin/Form/DiffEditor.js +1 -1
- package/esm/plugin/Form/FieldSet.js +2 -2
- package/esm/plugin/Form/Form.d.ts +6 -1
- package/esm/plugin/Form/Form.js +51 -65
- package/esm/plugin/Form/Formula.js +1 -1
- package/esm/plugin/Form/Group.js +3 -3
- package/esm/plugin/Form/Hidden.js +1 -1
- package/esm/plugin/Form/InputArray.js +2 -2
- package/esm/plugin/Form/InputCity.d.ts +2 -0
- package/esm/plugin/Form/InputCity.js +51 -1
- package/esm/plugin/Form/InputColor.js +1 -1
- package/esm/plugin/Form/InputDate.js +1 -1
- package/esm/plugin/Form/InputDateRange.js +2 -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.js +1 -1
- package/esm/plugin/Form/InputFile.js +1 -1
- package/esm/plugin/Form/InputGroup.js +1 -1
- package/esm/plugin/Form/InputImage.js +1 -1
- package/esm/plugin/Form/InputKV.js +1 -1
- package/esm/plugin/Form/InputMonth.js +1 -1
- package/esm/plugin/Form/InputMonthRange.js +1 -1
- package/esm/plugin/Form/InputNumber.d.ts +6 -1
- package/esm/plugin/Form/InputNumber.js +10 -1
- package/esm/plugin/Form/InputPassword.js +1 -1
- package/esm/plugin/Form/InputQuarter.js +1 -1
- package/esm/plugin/Form/InputQuarterRange.js +1 -1
- package/esm/plugin/Form/InputRange.d.ts +21 -1
- package/esm/plugin/Form/InputRange.js +28 -1
- package/esm/plugin/Form/InputRating.d.ts +6 -0
- package/esm/plugin/Form/InputRating.js +10 -1
- package/esm/plugin/Form/InputRepeat.js +1 -1
- package/esm/plugin/Form/InputRichText.js +1 -1
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.d.ts +1 -1
- package/esm/plugin/Form/InputTable.js +74 -58
- package/esm/plugin/Form/InputTag.d.ts +2 -0
- package/esm/plugin/Form/InputTag.js +40 -1
- package/esm/plugin/Form/InputText.d.ts +2 -0
- package/esm/plugin/Form/InputText.js +51 -1
- package/esm/plugin/Form/InputTime.js +1 -1
- package/esm/plugin/Form/InputTimeRange.js +1 -1
- package/esm/plugin/Form/InputTree.d.ts +2 -1
- package/esm/plugin/Form/InputTree.js +51 -3
- package/esm/plugin/Form/InputURL.js +1 -1
- package/esm/plugin/Form/InputYear.js +1 -1
- package/esm/plugin/Form/InputYearRange.js +1 -1
- package/esm/plugin/Form/Item.js +18 -15
- package/esm/plugin/Form/ListSelect.d.ts +2 -0
- package/esm/plugin/Form/ListSelect.js +49 -1
- package/esm/plugin/Form/LocationPicker.d.ts +28 -0
- package/esm/plugin/Form/LocationPicker.js +32 -1
- package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -2
- package/esm/plugin/Form/MatrixCheckboxes.js +30 -6
- package/esm/plugin/Form/NestedSelect.d.ts +2 -1
- package/esm/plugin/Form/NestedSelect.js +49 -1
- package/esm/plugin/Form/Picker.d.ts +2 -1
- package/esm/plugin/Form/Picker.js +51 -3
- package/esm/plugin/Form/Radios.d.ts +2 -0
- package/esm/plugin/Form/Radios.js +30 -1
- package/esm/plugin/Form/Select.d.ts +2 -0
- package/esm/plugin/Form/Select.js +49 -1
- package/esm/plugin/Form/Static.js +3 -3
- package/esm/plugin/Form/Switch.d.ts +6 -1
- package/esm/plugin/Form/Switch.js +11 -1
- package/esm/plugin/Form/TabsTransfer.d.ts +2 -0
- package/esm/plugin/Form/TabsTransfer.js +41 -2
- package/esm/plugin/Form/Textarea.js +1 -1
- package/esm/plugin/Form/Transfer.d.ts +2 -0
- package/esm/plugin/Form/Transfer.js +40 -1
- package/esm/plugin/Form/TreeSelect.d.ts +2 -1
- package/esm/plugin/Form/TreeSelect.js +49 -1
- package/esm/plugin/Form/UUID.js +1 -1
- package/esm/plugin/Grid.js +11 -8
- package/esm/plugin/HBox.js +8 -8
- package/esm/plugin/IFrame.js +1 -1
- package/esm/plugin/Icon.js +1 -1
- package/esm/plugin/Image.js +1 -1
- package/esm/plugin/Images.js +1 -1
- package/esm/plugin/Json.js +1 -1
- package/esm/plugin/Layout/FlexPluginBase.js +12 -9
- package/esm/plugin/Layout/Layout_fixed.js +1 -1
- package/esm/plugin/Layout/Layout_free_container.js +1 -1
- package/esm/plugin/Layout/Layout_sorption_container.js +1 -1
- package/esm/plugin/Link.js +1 -1
- package/esm/plugin/List.js +6 -6
- package/esm/plugin/ListItem.js +2 -2
- package/esm/plugin/Log.js +4 -4
- package/esm/plugin/Mapping.js +1 -1
- package/esm/plugin/Markdown.js +1 -1
- package/esm/plugin/Nav.d.ts +2 -0
- package/esm/plugin/Nav.js +5 -3
- package/esm/plugin/OfficeViewer.js +1 -1
- package/esm/plugin/Operation.js +2 -2
- package/esm/plugin/Others/Action.js +5 -5
- package/esm/plugin/Others/TableCell.js +3 -3
- package/esm/plugin/Page.d.ts +1 -1
- package/esm/plugin/Page.js +40 -19
- package/esm/plugin/Pagination.js +1 -1
- package/esm/plugin/Panel.js +2 -2
- package/esm/plugin/Plain.js +1 -1
- package/esm/plugin/Progress.js +35 -10
- package/esm/plugin/Property.js +1 -1
- package/esm/plugin/QRCode.js +1 -1
- package/esm/plugin/Reset.js +1 -1
- package/esm/plugin/SearchBox.js +1 -1
- package/esm/plugin/Service.d.ts +1 -0
- package/esm/plugin/Service.js +38 -7
- package/esm/plugin/Sparkline.d.ts +2 -1
- package/esm/plugin/Sparkline.js +33 -9
- package/esm/plugin/Status.js +1 -1
- package/esm/plugin/Steps.js +1 -1
- package/esm/plugin/Submit.js +1 -1
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +110 -106
- package/esm/plugin/Table2.js +1 -1
- package/esm/plugin/TableCell2.js +5 -5
- package/esm/plugin/TableView.d.ts +2 -1
- package/esm/plugin/TableView.js +1 -1
- package/esm/plugin/Tabs.d.ts +2 -1
- package/esm/plugin/Tabs.js +4 -4
- package/esm/plugin/Tag.js +1 -1
- package/esm/plugin/Tasks.js +1 -1
- package/esm/plugin/Time.js +1 -1
- package/esm/plugin/Timeline.d.ts +2 -1
- package/esm/plugin/Timeline.js +75 -4
- package/esm/plugin/TooltipWrapper.js +1 -1
- package/esm/plugin/Tpl.js +1 -1
- package/esm/plugin/Video.js +1 -1
- package/esm/plugin/WebComponent.js +1 -1
- package/esm/plugin/Wizard.js +5 -5
- package/esm/plugin/Wrapper.js +8 -8
- package/esm/plugin/index.d.ts +143 -0
- package/esm/renderer/APIAdaptorControl.d.ts +2 -2
- package/esm/renderer/APIAdaptorControl.js +8 -8
- package/esm/renderer/APIControl.d.ts +4 -4
- package/esm/renderer/APIControl.js +2 -2
- package/esm/renderer/ActionApiControl.d.ts +3 -3
- package/esm/renderer/BadgeControl.d.ts +1 -1
- package/esm/renderer/BadgeControl.js +6 -3
- package/esm/renderer/ButtonGroupControl.d.ts +1 -1
- package/esm/renderer/ButtonGroupControl.js +1 -1
- package/esm/renderer/ColumnControl.d.ts +1 -1
- package/esm/renderer/DataBindingControl.d.ts +2 -2
- package/esm/renderer/DataBindingControl.js +10 -6
- package/esm/renderer/DataMappingControl.js +1 -1
- package/esm/renderer/DataPickerControl.d.ts +1 -1
- package/esm/renderer/DataPickerControl.js +1 -1
- package/esm/renderer/DateShortCutControl.d.ts +2 -2
- package/esm/renderer/DateShortCutControl.js +2 -2
- package/esm/renderer/ExpressionFormulaControl.d.ts +1 -1
- package/esm/renderer/ExpressionFormulaControl.js +2 -2
- package/esm/renderer/FeatureControl.d.ts +2 -2
- package/esm/renderer/FeatureControl.js +3 -2
- package/esm/renderer/FlexSettingControl.d.ts +1 -1
- package/esm/renderer/FlexSettingControl.js +2 -2
- package/esm/renderer/FormulaControl.d.ts +2 -2
- package/esm/renderer/FormulaControl.js +1 -1
- package/esm/renderer/GoConfigControl.d.ts +1 -1
- package/esm/renderer/GoConfigControl.js +2 -2
- package/esm/renderer/MapSourceControl.d.ts +3 -3
- package/esm/renderer/MapSourceControl.js +2 -2
- package/esm/renderer/NavBadgeControl.d.ts +1 -1
- package/esm/renderer/NavBadgeControl.js +1 -1
- package/esm/renderer/NavDefaultActive.js +1 -1
- package/esm/renderer/NavSourceControl.d.ts +53 -35
- package/esm/renderer/NavSourceControl.js +599 -230
- package/esm/renderer/OptionControl.d.ts +3 -3
- package/esm/renderer/OptionControl.js +4 -4
- package/esm/renderer/RangePartsControl.d.ts +5 -5
- package/esm/renderer/RangePartsControl.js +4 -4
- package/esm/renderer/StatusControl.d.ts +2 -2
- package/esm/renderer/StatusControl.js +17 -3
- package/esm/renderer/SwitchMoreControl.d.ts +6 -5
- package/esm/renderer/SwitchMoreControl.js +10 -7
- package/esm/renderer/TimelineItemControl.d.ts +6 -6
- package/esm/renderer/TimelineItemControl.js +24 -7
- package/esm/renderer/TplFormulaControl.d.ts +1 -1
- package/esm/renderer/TplFormulaControl.js +1 -1
- package/esm/renderer/TransferTableControl.d.ts +3 -3
- package/esm/renderer/TransferTableControl.js +2 -2
- package/esm/renderer/TreeOptionControl.d.ts +3 -3
- package/esm/renderer/TreeOptionControl.js +8 -8
- package/esm/renderer/ValidationControl.d.ts +4 -4
- package/esm/renderer/ValidationControl.js +2 -2
- package/esm/renderer/ValidationItem.d.ts +3 -3
- package/esm/renderer/ValidationItem.js +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +27 -3
- package/esm/renderer/event-control/action-config-panel.js +1 -1
- package/esm/renderer/event-control/comp-action-select.d.ts +1 -1
- package/esm/renderer/event-control/comp-action-select.js +1 -1
- package/esm/renderer/event-control/helper.js +138 -90
- package/esm/renderer/event-control/index.d.ts +2 -2
- package/esm/renderer/event-control/index.js +2 -1
- package/esm/renderer/style-control/Background.d.ts +1 -1
- package/esm/renderer/style-control/Background.js +1 -1
- package/esm/renderer/style-control/Border.d.ts +2 -2
- package/esm/renderer/style-control/Border.js +8 -8
- package/esm/renderer/style-control/BoxModel.d.ts +2 -2
- package/esm/renderer/style-control/BoxModel.js +1 -1
- package/esm/renderer/style-control/BoxShadow.d.ts +2 -2
- package/esm/renderer/style-control/BoxShadow.js +1 -1
- package/esm/renderer/style-control/Display.d.ts +1 -1
- package/esm/renderer/style-control/Display.js +1 -1
- package/esm/renderer/style-control/Font.d.ts +1 -1
- package/esm/renderer/style-control/Font.js +1 -1
- package/esm/renderer/style-control/InsetBoxModel.d.ts +2 -2
- package/esm/renderer/style-control/InsetBoxModel.js +1 -1
- package/esm/renderer/style-control/ThemeCssCode.d.ts +1 -1
- package/esm/renderer/style-control/ThemeCssCode.js +5 -4
- package/esm/renderer/style-control/font-family.js +1 -1
- package/esm/renderer/style-control/helper.js +1 -1
- package/esm/renderer/style-control/themeLanguage.js +2 -2
- package/esm/renderer/style-control/transformation.js +1 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +3 -3
- package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +1 -1
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +2 -2
- package/esm/renderer/textarea-formula/plugin.js +1 -1
- package/esm/tpl/api.js +2 -2
- package/esm/tpl/common.js +30 -6
- package/esm/tpl/horizontal.js +2 -2
- package/esm/tpl/layout.js +8 -5
- package/esm/tpl/options.js +3 -2
- package/esm/tpl/remark.js +1 -1
- package/esm/tpl/style.js +1 -1
- package/esm/tpl/validations.js +1 -1
- package/esm/util.d.ts +6 -0
- package/esm/util.js +21 -3
- package/esm/validator.js +5 -5
- package/lib/component/BaseControl.js +1 -1
- package/lib/component/InputComponentName.js +1 -1
- package/lib/component/TableViewEditor.d.ts +2 -2
- package/lib/component/TableViewEditor.js +2 -2
- 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/display/aBaseline.svg.js +17 -16
- package/lib/icons/display/aCenter.svg.js +17 -16
- package/lib/icons/display/aFlexEnd.svg.js +17 -16
- package/lib/icons/display/aFlexStart.svg.js +17 -16
- package/lib/icons/display/aStretch.svg.js +17 -16
- package/lib/icons/display/block.svg.js +17 -16
- package/lib/icons/display/dcolumn.svg.js +17 -16
- package/lib/icons/display/dcolumnReverse.svg.js +17 -16
- package/lib/icons/display/drow.svg.js +17 -16
- package/lib/icons/display/drowReverse.svg.js +17 -16
- package/lib/icons/display/flex.svg.js +17 -16
- package/lib/icons/display/inline-block.svg.js +17 -16
- package/lib/icons/display/inline.svg.js +17 -16
- package/lib/icons/display/jCenter.svg.js +17 -16
- package/lib/icons/display/jFlexEnd.svg.js +17 -16
- package/lib/icons/display/jFlexStart.svg.js +17 -16
- package/lib/icons/display/jSpaceAround.svg.js +17 -16
- package/lib/icons/display/jSpaceBetween.svg.js +17 -16
- package/lib/icons/feat/audio.svg.js +1 -1
- package/lib/icons/feat/custom.svg.js +1 -1
- package/lib/icons/feat/each.svg.js +1 -1
- package/lib/icons/feat/form.svg.js +1 -1
- package/lib/icons/feat/nav.svg.js +1 -1
- package/lib/icons/feat/qrcode.svg.js +1 -1
- package/lib/icons/feat/service.svg.js +1 -1
- package/lib/icons/feat/table.svg.js +1 -1
- package/lib/icons/feat/tasks.svg.js +1 -1
- package/lib/icons/feat/video.svg.js +1 -1
- package/lib/icons/feat/wizard.svg.js +1 -1
- package/lib/icons/form/chained-select.svg.js +1 -1
- package/lib/icons/form/checkbox.svg.js +1 -1
- package/lib/icons/form/checkboxes.svg.js +1 -1
- package/lib/icons/form/combo.svg.js +1 -1
- package/lib/icons/form/condition-builder.svg.js +1 -1
- package/lib/icons/form/diff-editor.svg.js +1 -1
- package/lib/icons/form/editor.svg.js +1 -1
- package/lib/icons/form/formula.svg.js +1 -1
- package/lib/icons/form/hidden.svg.js +1 -1
- package/lib/icons/form/input-city.svg.js +1 -1
- package/lib/icons/form/input-color.svg.js +1 -1
- package/lib/icons/form/input-date-range.svg.js +1 -1
- package/lib/icons/form/input-date.svg.js +1 -1
- package/lib/icons/form/input-datetime.svg.js +1 -1
- package/lib/icons/form/input-email.svg.js +1 -1
- package/lib/icons/form/input-excel.svg.js +1 -1
- package/lib/icons/form/input-file.svg.js +1 -1
- package/lib/icons/form/input-group.svg.js +1 -1
- package/lib/icons/form/input-image.svg.js +1 -1
- package/lib/icons/form/input-kv.svg.js +1 -1
- package/lib/icons/form/input-month-range.svg.js +1 -1
- package/lib/icons/form/input-number.svg.js +1 -1
- package/lib/icons/form/input-password.svg.js +1 -1
- package/lib/icons/form/input-quarter-range.svg.js +1 -1
- package/lib/icons/form/input-range.svg.js +1 -1
- package/lib/icons/form/input-rating.svg.js +1 -1
- package/lib/icons/form/input-repeat.svg.js +1 -1
- package/lib/icons/form/input-rich-text.svg.js +1 -1
- package/lib/icons/form/input-tag.svg.js +1 -1
- package/lib/icons/form/input-text.svg.js +1 -1
- package/lib/icons/form/input-time-range.svg.js +1 -1
- package/lib/icons/form/input-time.svg.js +1 -1
- package/lib/icons/form/input-tree.svg.js +1 -1
- package/lib/icons/form/input-url.svg.js +1 -1
- package/lib/icons/form/input-year.svg.js +1 -1
- package/lib/icons/form/inputArray.svg.js +1 -1
- package/lib/icons/form/list-select.svg.js +1 -1
- package/lib/icons/form/location-picker.svg.js +1 -1
- package/lib/icons/form/matrix-checkboxes.svg.js +1 -1
- package/lib/icons/form/month.svg.js +1 -1
- package/lib/icons/form/nested-select.svg.js +1 -1
- package/lib/icons/form/picker.svg.js +1 -1
- package/lib/icons/form/quarter.svg.js +1 -1
- package/lib/icons/form/radios.svg.js +1 -1
- package/lib/icons/form/select.svg.js +1 -1
- package/lib/icons/form/static.svg.js +1 -1
- package/lib/icons/form/sub-form.svg.js +1 -1
- package/lib/icons/form/switch.svg.js +1 -1
- package/lib/icons/form/tabs-transfer.svg.js +1 -1
- package/lib/icons/form/textarea.svg.js +1 -1
- package/lib/icons/form/transfer.svg.js +1 -1
- package/lib/icons/form/tree-select.svg.js +1 -1
- package/lib/icons/form/uuid.svg.js +1 -1
- package/lib/icons/index.js +1 -1
- package/lib/icons/layout/layout-1with2.svg.js +1 -1
- package/lib/icons/layout/layout-2cols.svg.js +1 -1
- package/lib/icons/layout/layout-2row.svg.js +1 -1
- package/lib/icons/layout/layout-2with1.svg.js +1 -1
- package/lib/icons/layout/layout-3cols.svg.js +1 -1
- package/lib/icons/layout/layout-3row.svg.js +1 -1
- package/lib/icons/layout/layout-absolute.svg.js +1 -1
- package/lib/icons/layout/layout-fixed-top.svg.js +1 -1
- package/lib/icons/layout/layout-fixed.svg.js +1 -1
- package/lib/icons/layout/layout-free-container.svg.js +1 -1
- package/lib/icons/layout/layout-full.svg.js +1 -1
- package/lib/icons/layout/layout1-2.svg.js +1 -1
- package/lib/icons/layout/layout2-1.svg.js +1 -1
- package/lib/icons/layout/layout3-1.svg.js +1 -1
- package/lib/icons/layout/layout3-2.svg.js +1 -1
- package/lib/icons/other/_fx.svg.js +1 -1
- package/lib/icons/other/divider.svg.js +1 -1
- package/lib/icons/other/fx.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/icons/theme/css.svg.js +1 -1
- package/lib/index.d.ts +1 -145
- package/lib/index.js +281 -139
- package/lib/locale/en-US.js +85 -2
- package/lib/locale/zh-CN.js +87 -4
- package/lib/plugin/Alert.js +1 -1
- package/lib/plugin/AnchorNav.js +3 -3
- package/lib/plugin/Audio.js +1 -1
- package/lib/plugin/Avatar.js +1 -1
- package/lib/plugin/Breadcrumb.js +1 -1
- package/lib/plugin/Button.js +1 -1
- package/lib/plugin/ButtonGroup.js +1 -1
- package/lib/plugin/CRUD.d.ts +4 -3
- package/lib/plugin/CRUD.js +27 -23
- package/lib/plugin/CRUD2.js +18 -11
- package/lib/plugin/Card.js +8 -4
- package/lib/plugin/Card2.js +1 -1
- package/lib/plugin/Cards.js +3 -7
- package/lib/plugin/Carousel.js +3 -1
- package/lib/plugin/Chart.d.ts +3 -0
- package/lib/plugin/Chart.js +133 -89
- package/lib/plugin/CodeView.js +1 -1
- package/lib/plugin/Collapse.js +7 -8
- package/lib/plugin/CollapseGroup.js +12 -13
- package/lib/plugin/ColumnToggler.js +1 -1
- package/lib/plugin/Container.d.ts +2 -1
- package/lib/plugin/Container.js +79 -9
- package/lib/plugin/Custom.js +3 -3
- package/lib/plugin/CustomRegion.js +1 -1
- package/lib/plugin/Date.js +1 -1
- package/lib/plugin/Datetime.js +1 -1
- package/lib/plugin/Dialog.d.ts +13 -2
- package/lib/plugin/Dialog.js +65 -1
- package/lib/plugin/Divider.js +1 -1
- package/lib/plugin/Drawer.d.ts +7 -1
- package/lib/plugin/Drawer.js +46 -1
- package/lib/plugin/DropDownButton.js +2 -2
- package/lib/plugin/Each.js +3 -3
- package/lib/plugin/Flex.js +1 -1
- package/lib/plugin/Form/ButtonGroupSelect.d.ts +2 -0
- package/lib/plugin/Form/ButtonGroupSelect.js +49 -1
- package/lib/plugin/Form/ButtonToolbar.js +1 -1
- package/lib/plugin/Form/ChainedSelect.d.ts +2 -0
- package/lib/plugin/Form/ChainedSelect.js +40 -2
- package/lib/plugin/Form/Checkbox.d.ts +6 -0
- package/lib/plugin/Form/Checkbox.js +11 -1
- package/lib/plugin/Form/Checkboxes.d.ts +2 -0
- package/lib/plugin/Form/Checkboxes.js +55 -2
- package/lib/plugin/Form/CodeEditor.js +1 -1
- package/lib/plugin/Form/Combo.d.ts +1 -0
- package/lib/plugin/Form/Combo.js +71 -1
- package/lib/plugin/Form/ConditionBuilder.js +7 -4
- package/lib/plugin/Form/Control.js +3 -3
- package/lib/plugin/Form/DiffEditor.js +1 -1
- package/lib/plugin/Form/FieldSet.js +2 -2
- package/lib/plugin/Form/Form.d.ts +6 -1
- package/lib/plugin/Form/Form.js +50 -64
- package/lib/plugin/Form/Formula.js +1 -1
- package/lib/plugin/Form/Group.js +3 -3
- package/lib/plugin/Form/Hidden.js +1 -1
- package/lib/plugin/Form/InputArray.js +2 -2
- package/lib/plugin/Form/InputCity.d.ts +2 -0
- package/lib/plugin/Form/InputCity.js +51 -1
- package/lib/plugin/Form/InputColor.js +1 -1
- package/lib/plugin/Form/InputDate.js +1 -1
- package/lib/plugin/Form/InputDateRange.js +2 -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.js +1 -1
- package/lib/plugin/Form/InputFile.js +1 -1
- package/lib/plugin/Form/InputGroup.js +1 -1
- package/lib/plugin/Form/InputImage.js +1 -1
- package/lib/plugin/Form/InputKV.js +1 -1
- package/lib/plugin/Form/InputMonth.js +1 -1
- package/lib/plugin/Form/InputMonthRange.js +1 -1
- package/lib/plugin/Form/InputNumber.d.ts +6 -1
- package/lib/plugin/Form/InputNumber.js +10 -1
- package/lib/plugin/Form/InputPassword.js +1 -1
- package/lib/plugin/Form/InputQuarter.js +1 -1
- package/lib/plugin/Form/InputQuarterRange.js +1 -1
- package/lib/plugin/Form/InputRange.d.ts +21 -1
- package/lib/plugin/Form/InputRange.js +28 -1
- package/lib/plugin/Form/InputRating.d.ts +6 -0
- package/lib/plugin/Form/InputRating.js +10 -1
- package/lib/plugin/Form/InputRepeat.js +1 -1
- package/lib/plugin/Form/InputRichText.js +1 -1
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.d.ts +1 -1
- package/lib/plugin/Form/InputTable.js +72 -56
- package/lib/plugin/Form/InputTag.d.ts +2 -0
- package/lib/plugin/Form/InputTag.js +40 -1
- package/lib/plugin/Form/InputText.d.ts +2 -0
- package/lib/plugin/Form/InputText.js +51 -1
- package/lib/plugin/Form/InputTime.js +1 -1
- package/lib/plugin/Form/InputTimeRange.js +1 -1
- package/lib/plugin/Form/InputTree.d.ts +2 -1
- package/lib/plugin/Form/InputTree.js +51 -3
- package/lib/plugin/Form/InputURL.js +1 -1
- package/lib/plugin/Form/InputYear.js +1 -1
- package/lib/plugin/Form/InputYearRange.js +1 -1
- package/lib/plugin/Form/Item.js +18 -15
- package/lib/plugin/Form/ListSelect.d.ts +2 -0
- package/lib/plugin/Form/ListSelect.js +49 -1
- package/lib/plugin/Form/LocationPicker.d.ts +28 -0
- package/lib/plugin/Form/LocationPicker.js +32 -1
- package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -2
- package/lib/plugin/Form/MatrixCheckboxes.js +30 -6
- package/lib/plugin/Form/NestedSelect.d.ts +2 -1
- package/lib/plugin/Form/NestedSelect.js +49 -1
- package/lib/plugin/Form/Picker.d.ts +2 -1
- package/lib/plugin/Form/Picker.js +51 -3
- package/lib/plugin/Form/Radios.d.ts +2 -0
- package/lib/plugin/Form/Radios.js +30 -1
- package/lib/plugin/Form/Select.d.ts +2 -0
- package/lib/plugin/Form/Select.js +49 -1
- package/lib/plugin/Form/Static.js +3 -3
- package/lib/plugin/Form/Switch.d.ts +6 -1
- package/lib/plugin/Form/Switch.js +11 -1
- package/lib/plugin/Form/TabsTransfer.d.ts +2 -0
- package/lib/plugin/Form/TabsTransfer.js +41 -2
- package/lib/plugin/Form/Textarea.js +1 -1
- package/lib/plugin/Form/Transfer.d.ts +2 -0
- package/lib/plugin/Form/Transfer.js +40 -1
- package/lib/plugin/Form/TreeSelect.d.ts +2 -1
- package/lib/plugin/Form/TreeSelect.js +49 -1
- package/lib/plugin/Form/UUID.js +1 -1
- package/lib/plugin/Grid.js +11 -8
- package/lib/plugin/HBox.js +8 -8
- package/lib/plugin/IFrame.js +1 -1
- package/lib/plugin/Icon.js +1 -1
- package/lib/plugin/Image.js +1 -1
- package/lib/plugin/Images.js +1 -1
- package/lib/plugin/Json.js +1 -1
- package/lib/plugin/Layout/FlexPluginBase.js +12 -9
- package/lib/plugin/Layout/Layout_fixed.js +1 -1
- package/lib/plugin/Layout/Layout_free_container.js +1 -1
- package/lib/plugin/Layout/Layout_sorption_container.js +1 -1
- package/lib/plugin/Link.js +1 -1
- package/lib/plugin/List.js +6 -6
- package/lib/plugin/ListItem.js +2 -2
- package/lib/plugin/Log.js +4 -4
- package/lib/plugin/Mapping.js +1 -1
- package/lib/plugin/Markdown.js +1 -1
- package/lib/plugin/Nav.d.ts +2 -0
- package/lib/plugin/Nav.js +5 -3
- package/lib/plugin/OfficeViewer.js +1 -1
- package/lib/plugin/Operation.js +2 -2
- package/lib/plugin/Others/Action.js +5 -5
- package/lib/plugin/Others/TableCell.js +3 -3
- package/lib/plugin/Page.d.ts +1 -1
- package/lib/plugin/Page.js +39 -22
- package/lib/plugin/Pagination.js +1 -1
- package/lib/plugin/Panel.js +2 -2
- package/lib/plugin/Plain.js +1 -1
- package/lib/plugin/Progress.js +35 -10
- package/lib/plugin/Property.js +1 -1
- package/lib/plugin/QRCode.js +1 -1
- package/lib/plugin/Reset.js +1 -1
- package/lib/plugin/SearchBox.js +1 -1
- package/lib/plugin/Service.d.ts +1 -0
- package/lib/plugin/Service.js +36 -5
- package/lib/plugin/Sparkline.d.ts +2 -1
- package/lib/plugin/Sparkline.js +32 -8
- package/lib/plugin/Status.js +1 -1
- package/lib/plugin/Steps.js +1 -1
- package/lib/plugin/Submit.js +1 -1
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +109 -105
- package/lib/plugin/Table2.js +1 -1
- package/lib/plugin/TableCell2.js +7 -6
- package/lib/plugin/TableView.d.ts +2 -1
- package/lib/plugin/TableView.js +1 -1
- package/lib/plugin/Tabs.d.ts +2 -1
- package/lib/plugin/Tabs.js +4 -4
- package/lib/plugin/Tag.js +1 -1
- package/lib/plugin/Tasks.js +1 -1
- package/lib/plugin/Time.js +1 -1
- package/lib/plugin/Timeline.d.ts +2 -1
- package/lib/plugin/Timeline.js +74 -3
- package/lib/plugin/TooltipWrapper.js +1 -1
- package/lib/plugin/Tpl.js +1 -1
- package/lib/plugin/Video.js +1 -1
- package/lib/plugin/WebComponent.js +1 -1
- package/lib/plugin/Wizard.js +5 -5
- package/lib/plugin/Wrapper.js +8 -8
- package/lib/plugin/index.d.ts +143 -0
- package/lib/renderer/APIAdaptorControl.d.ts +2 -2
- package/lib/renderer/APIAdaptorControl.js +8 -8
- package/lib/renderer/APIControl.d.ts +4 -4
- package/lib/renderer/APIControl.js +2 -2
- package/lib/renderer/ActionApiControl.d.ts +3 -3
- package/lib/renderer/BadgeControl.d.ts +7 -7
- package/lib/renderer/BadgeControl.js +6 -3
- package/lib/renderer/ButtonGroupControl.d.ts +1 -1
- package/lib/renderer/ButtonGroupControl.js +1 -1
- package/lib/renderer/ColumnControl.d.ts +1 -1
- package/lib/renderer/DataBindingControl.d.ts +2 -2
- package/lib/renderer/DataBindingControl.js +11 -6
- package/lib/renderer/DataMappingControl.js +1 -1
- package/lib/renderer/DataPickerControl.d.ts +1 -1
- package/lib/renderer/DataPickerControl.js +1 -1
- package/lib/renderer/DateShortCutControl.d.ts +2 -2
- package/lib/renderer/DateShortCutControl.js +2 -2
- package/lib/renderer/ExpressionFormulaControl.d.ts +1 -1
- package/lib/renderer/ExpressionFormulaControl.js +2 -2
- package/lib/renderer/FeatureControl.d.ts +2 -2
- package/lib/renderer/FeatureControl.js +8 -5
- package/lib/renderer/FlexSettingControl.d.ts +1 -1
- package/lib/renderer/FlexSettingControl.js +2 -2
- package/lib/renderer/FormulaControl.d.ts +2 -2
- package/lib/renderer/FormulaControl.js +1 -1
- package/lib/renderer/GoConfigControl.d.ts +1 -1
- package/lib/renderer/GoConfigControl.js +2 -2
- package/lib/renderer/MapSourceControl.d.ts +3 -3
- package/lib/renderer/MapSourceControl.js +2 -2
- package/lib/renderer/NavBadgeControl.d.ts +7 -7
- package/lib/renderer/NavBadgeControl.js +1 -1
- package/lib/renderer/NavDefaultActive.js +1 -1
- package/lib/renderer/NavSourceControl.d.ts +53 -35
- package/lib/renderer/NavSourceControl.js +598 -227
- package/lib/renderer/OptionControl.d.ts +3 -3
- package/lib/renderer/OptionControl.js +4 -4
- package/lib/renderer/RangePartsControl.d.ts +5 -5
- package/lib/renderer/RangePartsControl.js +4 -4
- package/lib/renderer/StatusControl.d.ts +2 -2
- package/lib/renderer/StatusControl.js +17 -3
- package/lib/renderer/SwitchMoreControl.d.ts +6 -5
- package/lib/renderer/SwitchMoreControl.js +13 -8
- package/lib/renderer/TimelineItemControl.d.ts +6 -6
- package/lib/renderer/TimelineItemControl.js +24 -7
- package/lib/renderer/TplFormulaControl.d.ts +1 -1
- package/lib/renderer/TplFormulaControl.js +1 -1
- package/lib/renderer/TransferTableControl.d.ts +3 -3
- package/lib/renderer/TransferTableControl.js +2 -2
- package/lib/renderer/TreeOptionControl.d.ts +3 -3
- package/lib/renderer/TreeOptionControl.js +8 -8
- package/lib/renderer/ValidationControl.d.ts +4 -4
- package/lib/renderer/ValidationControl.js +2 -2
- package/lib/renderer/ValidationItem.d.ts +3 -3
- package/lib/renderer/ValidationItem.js +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +26 -2
- package/lib/renderer/event-control/action-config-panel.js +1 -1
- package/lib/renderer/event-control/comp-action-select.d.ts +1 -1
- package/lib/renderer/event-control/comp-action-select.js +1 -1
- package/lib/renderer/event-control/helper.js +138 -90
- package/lib/renderer/event-control/index.d.ts +2 -2
- package/lib/renderer/event-control/index.js +2 -1
- package/lib/renderer/style-control/Background.d.ts +1 -1
- package/lib/renderer/style-control/Background.js +1 -1
- package/lib/renderer/style-control/Border.d.ts +2 -2
- package/lib/renderer/style-control/Border.js +8 -8
- package/lib/renderer/style-control/BoxModel.d.ts +2 -2
- package/lib/renderer/style-control/BoxModel.js +1 -1
- package/lib/renderer/style-control/BoxShadow.d.ts +2 -2
- package/lib/renderer/style-control/BoxShadow.js +1 -1
- package/lib/renderer/style-control/Display.d.ts +1 -1
- package/lib/renderer/style-control/Display.js +1 -1
- package/lib/renderer/style-control/Font.d.ts +1 -1
- package/lib/renderer/style-control/Font.js +1 -1
- package/lib/renderer/style-control/InsetBoxModel.d.ts +2 -2
- package/lib/renderer/style-control/InsetBoxModel.js +1 -1
- package/lib/renderer/style-control/ThemeCssCode.d.ts +1 -1
- package/lib/renderer/style-control/ThemeCssCode.js +10 -7
- package/lib/renderer/style-control/font-family.js +1 -1
- package/lib/renderer/style-control/helper.js +1 -1
- package/lib/renderer/style-control/themeLanguage.js +7 -3
- package/lib/renderer/style-control/transformation.js +1 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +3 -3
- package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +1 -1
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +2 -2
- package/lib/renderer/textarea-formula/plugin.js +1 -1
- package/lib/tpl/api.js +6 -5
- package/lib/tpl/common.js +33 -6
- package/lib/tpl/horizontal.js +7 -3
- package/lib/tpl/layout.js +8 -5
- package/lib/tpl/options.js +3 -2
- package/lib/tpl/remark.js +1 -1
- package/lib/tpl/style.js +1 -1
- package/lib/tpl/validations.js +1 -1
- package/lib/util.d.ts +6 -0
- package/lib/util.js +20 -1
- package/lib/validator.js +5 -5
- package/package.json +2 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
2
|
+
* amis-editor v5.6.0-beta.0
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -150,7 +150,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
150
150
|
innerArgs: ['url', 'params', 'blank'],
|
151
151
|
descDetail: function (info) {
|
152
152
|
var _a;
|
153
|
-
return React__default["default"].createElement("div", null, "
|
153
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("c7a34a3465d1beea2f85d53edcff8235"), React__default["default"].createElement("span", {
|
154
154
|
className: "variable-left"
|
155
155
|
}, ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.url) || '-'));
|
156
156
|
},
|
@@ -199,9 +199,9 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
199
199
|
innerArgs: ['link', 'params', 'pageName', '__pageInputSchema'],
|
200
200
|
descDetail: function (info) {
|
201
201
|
var _a;
|
202
|
-
return React__default["default"].createElement("div", null, "
|
202
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("d7098f5050f017673319c5db1473ada7"), React__default["default"].createElement("span", {
|
203
203
|
className: "variable-left variable-right"
|
204
|
-
}, ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.pageName) || '-'), "
|
204
|
+
}, ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.pageName) || '-'), i18nRuntime.i18n("59ceff465ad16932d8972191ad815dfb"));
|
205
205
|
},
|
206
206
|
schema: getArgsWrapper([{
|
207
207
|
type: 'wrapper',
|
@@ -217,7 +217,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
217
217
|
actionType: 'goBack',
|
218
218
|
description: i18nRuntime.i18n("5f6b9e7a050ae3f34b38191435e14b24"),
|
219
219
|
descDetail: function (info) {
|
220
|
-
return React__default["default"].createElement("div", null, "
|
220
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("27e0ca877865238aad6940481b2984d4"));
|
221
221
|
}
|
222
222
|
}]
|
223
223
|
}, {
|
@@ -410,7 +410,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
410
410
|
innerArgs: ['title', 'msgType', 'msg', 'position', 'timeout', 'closeButton', 'showIcon', 'className'],
|
411
411
|
descDetail: function (info) {
|
412
412
|
var _a, _b;
|
413
|
-
return React__default["default"].createElement("div", null, MSG_TYPES[(_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.msgType] || '', "
|
413
|
+
return React__default["default"].createElement("div", null, MSG_TYPES[(_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.msgType] || '', i18nRuntime.i18n("4e5242a645864528e10f04dc2326a5c4"), React__default["default"].createElement("span", {
|
414
414
|
className: "variable-left"
|
415
415
|
}, ((_b = info === null || info === void 0 ? void 0 : info.args) === null || _b === void 0 ? void 0 : _b.msg) || '-'));
|
416
416
|
},
|
@@ -508,9 +508,9 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
508
508
|
if (typeof apiInfo === 'string') {
|
509
509
|
apiInfo = amisCore.normalizeApi(apiInfo);
|
510
510
|
}
|
511
|
-
return React__default["default"].createElement("div", null, "
|
511
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("1535fcfa4cb8e4d467127154977e9788"), React__default["default"].createElement("span", {
|
512
512
|
className: "variable-right variable-left"
|
513
|
-
}, (apiInfo === null || apiInfo === void 0 ? void 0 : apiInfo.method) || '-'), "
|
513
|
+
}, (apiInfo === null || apiInfo === void 0 ? void 0 : apiInfo.method) || '-'), i18nRuntime.i18n("c14a21300b61bb83b4420a1586497951"), React__default["default"].createElement("span", {
|
514
514
|
className: "variable-left"
|
515
515
|
}, (apiInfo === null || apiInfo === void 0 ? void 0 : apiInfo.url) || '-'));
|
516
516
|
},
|
@@ -580,7 +580,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
580
580
|
}, {
|
581
581
|
name: 'outputVar',
|
582
582
|
type: 'input-text',
|
583
|
-
label: i18nRuntime.i18n("
|
583
|
+
label: i18nRuntime.i18n("139c619a4dbfc26fb61d76dc388e3e7d"),
|
584
584
|
placeholder: i18nRuntime.i18n("4dca05af026848011eedee1b53efa61c"),
|
585
585
|
description: i18nRuntime.i18n("4da82260041107e5780bcbb3a14ef791"),
|
586
586
|
mode: 'horizontal',
|
@@ -654,23 +654,23 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
654
654
|
actions: [{
|
655
655
|
actionType: 'show',
|
656
656
|
descDetail: function (info) {
|
657
|
-
return React__default["default"].createElement("div", null, "
|
657
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("4d775d4cd79e2ed6a2fc66fd1e7139c8"), React__default["default"].createElement("span", {
|
658
658
|
className: "variable-left variable-right"
|
659
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
659
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
660
660
|
}
|
661
661
|
}, {
|
662
662
|
actionType: 'hidden',
|
663
663
|
descDetail: function (info) {
|
664
|
-
return React__default["default"].createElement("div", null, "
|
664
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("dce5379cb978a8259ecfca8f08f00817"), React__default["default"].createElement("span", {
|
665
665
|
className: "variable-left variable-right"
|
666
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
666
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
667
667
|
}
|
668
668
|
}, {
|
669
669
|
actionType: 'visibility',
|
670
670
|
descDetail: function (info) {
|
671
|
-
return React__default["default"].createElement("div", null, "
|
671
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"), React__default["default"].createElement("span", {
|
672
672
|
className: "variable-left variable-right"
|
673
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
673
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("7f019b96ffb7d72ec8d6ce8d76e5362f"));
|
674
674
|
}
|
675
675
|
}],
|
676
676
|
supportComponents: '*',
|
@@ -723,23 +723,23 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
723
723
|
actions: [{
|
724
724
|
actionType: 'enabled',
|
725
725
|
descDetail: function (info) {
|
726
|
-
return React__default["default"].createElement("div", null, "
|
726
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("7854b52a889b3ef0590d9f542efeb4c8"), React__default["default"].createElement("span", {
|
727
727
|
className: "variable-left variable-right"
|
728
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
728
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
729
729
|
}
|
730
730
|
}, {
|
731
731
|
actionType: 'disabled',
|
732
732
|
descDetail: function (info) {
|
733
|
-
return React__default["default"].createElement("div", null, "
|
733
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("710ad08b11419332713360d2750cd707"), React__default["default"].createElement("span", {
|
734
734
|
className: "variable-left variable-right"
|
735
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
735
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
736
736
|
}
|
737
737
|
}, {
|
738
738
|
actionType: 'usability',
|
739
739
|
descDetail: function (info) {
|
740
|
-
return React__default["default"].createElement("div", null, "
|
740
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"), React__default["default"].createElement("span", {
|
741
741
|
className: "variable-left variable-right"
|
742
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
742
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("7f019b96ffb7d72ec8d6ce8d76e5362f"));
|
743
743
|
}
|
744
744
|
}],
|
745
745
|
supportComponents: tslib.__spreadArray(tslib.__spreadArray(['form'], tslib.__read(FORMITEM_CMPTS), false), tslib.__read(SUPPORT_DISABLED_CMPTS), false),
|
@@ -793,14 +793,14 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
793
793
|
descDetail: function (info) {
|
794
794
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
795
795
|
className: "variable-right"
|
796
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
796
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("0e35b091e18032508758899735664df7"));
|
797
797
|
}
|
798
798
|
}, {
|
799
799
|
actionType: 'nonstatic',
|
800
800
|
descDetail: function (info) {
|
801
801
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
802
802
|
className: "variable-right"
|
803
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
803
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("34d361256526b04909e064c29d9a9b76"));
|
804
804
|
}
|
805
805
|
}],
|
806
806
|
supportComponents: tslib.__spreadArray(['form'], tslib.__read(SUPPORT_STATIC_FORMITEM_CMPTS), false),
|
@@ -822,19 +822,18 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
822
822
|
}]
|
823
823
|
}], false)
|
824
824
|
}, {
|
825
|
-
actionLabel: i18nRuntime.i18n("
|
825
|
+
actionLabel: i18nRuntime.i18n("0eb4e63db88e158600dab0e723e8a213"),
|
826
826
|
actionType: 'reload',
|
827
|
-
description: i18nRuntime.i18n("
|
827
|
+
description: i18nRuntime.i18n("f16654604d6cb2f62469e5aa9db19871"),
|
828
828
|
descDetail: function (info) {
|
829
|
-
return React__default["default"].createElement("div", null, "
|
829
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("694fc5efa9e1d1c2c5eb6525e1c7fb29"), React__default["default"].createElement("span", {
|
830
830
|
className: "variable-left variable-right"
|
831
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
831
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
832
832
|
},
|
833
833
|
supportComponents: 'byComponent',
|
834
834
|
schema: tslib.__spreadArray(tslib.__spreadArray([], tslib.__read(renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true, function (value, oldVal, data, form) {
|
835
835
|
form.setValueByName('args.resetPage', true);
|
836
|
-
form.setValueByName('__addParam',
|
837
|
-
form.setValueByName('__customData', false);
|
836
|
+
form.setValueByName('__addParam', false);
|
838
837
|
form.setValueByName('__containerType', 'all');
|
839
838
|
form.setValueByName('__reloadParam', []);
|
840
839
|
})), false), [{
|
@@ -849,21 +848,12 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
849
848
|
}, {
|
850
849
|
type: 'switch',
|
851
850
|
name: '__addParam',
|
852
|
-
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("
|
851
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("8f0064a9cfd7dcbb3c729f1357f11772"), i18nRuntime.i18n("a0c117d927c6290bab55ae0e848a4d4b")),
|
853
852
|
onText: i18nRuntime.i18n("0a60ac8f02ccd2cf723f927284877851"),
|
854
853
|
offText: i18nRuntime.i18n("c9744f45e76d885ae1c74d4f4a934b2e"),
|
855
854
|
mode: 'horizontal',
|
856
|
-
pipeIn: amisEditorCore.defaultValue(
|
857
|
-
visibleOn: "data.actionType === \"reload\" && data.__isScopeContainer"
|
858
|
-
}, {
|
859
|
-
type: 'switch',
|
860
|
-
name: '__customData',
|
861
|
-
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("fd951a59a7c635d5330bc1aeec22c813"), i18nRuntime.i18n("b62ce3df3c0d5772006c525b60d5eeab")),
|
862
|
-
onText: i18nRuntime.i18n("0a60ac8f02ccd2cf723f927284877851"),
|
863
|
-
offText: i18nRuntime.i18n("c9744f45e76d885ae1c74d4f4a934b2e"),
|
864
|
-
mode: 'horizontal',
|
865
|
-
pipeIn: amisEditorCore.defaultValue(true),
|
866
|
-
visibleOn: "data.__addParam && data.actionType === \"reload\" && data.__isScopeContainer",
|
855
|
+
pipeIn: amisEditorCore.defaultValue(false),
|
856
|
+
visibleOn: "data.actionType === \"reload\" && data.__isScopeContainer",
|
867
857
|
onChange: function (value, oldVal, data, form) {
|
868
858
|
form.setValueByName('__containerType', 'all');
|
869
859
|
}
|
@@ -873,7 +863,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
873
863
|
mode: 'horizontal',
|
874
864
|
label: '',
|
875
865
|
pipeIn: amisEditorCore.defaultValue('all'),
|
876
|
-
visibleOn: "data.__addParam && data.
|
866
|
+
visibleOn: "data.__addParam && data.actionType === \"reload\" && data.__isScopeContainer",
|
877
867
|
options: [{
|
878
868
|
label: i18nRuntime.i18n("77b1081c177fa3334cc93c99f0ecee75"),
|
879
869
|
value: 'all'
|
@@ -892,7 +882,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
892
882
|
size: 'lg',
|
893
883
|
mode: 'horizontal',
|
894
884
|
required: true,
|
895
|
-
visibleOn: "data.__addParam && data.
|
885
|
+
visibleOn: "data.__addParam && data.__containerType === \"all\" && data.actionType === \"reload\" && data.__isScopeContainer"
|
896
886
|
}), {
|
897
887
|
type: 'combo',
|
898
888
|
name: '__reloadParams',
|
@@ -916,12 +906,12 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
916
906
|
variables: '${variables}',
|
917
907
|
placeholder: i18nRuntime.i18n("bfed4943c5f487de1b63a82f7230cce2")
|
918
908
|
})],
|
919
|
-
visibleOn: "data.__addParam && data.
|
909
|
+
visibleOn: "data.__addParam && data.__containerType === \"appoint\" && data.actionType === \"reload\" && data.__isScopeContainer"
|
920
910
|
}, {
|
921
911
|
type: 'radios',
|
922
912
|
name: 'dataMergeMode',
|
923
913
|
mode: 'horizontal',
|
924
|
-
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("
|
914
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("eb6cd21b9ed45ded3ecdb12f62b590e1"), i18nRuntime.i18n("b67b01a3b9170f1daf78082cfd0df793")),
|
925
915
|
pipeIn: amisEditorCore.defaultValue('merge'),
|
926
916
|
visibleOn: "data.__addParam && data.actionType === \"reload\" && data.__isScopeContainer",
|
927
917
|
options: [{
|
@@ -939,11 +929,11 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
939
929
|
innerArgs: ['path', 'value', 'index', 'fromPage', 'fromApp', '__valueInput', '__comboType', '__containerType'],
|
940
930
|
descDetail: function (info) {
|
941
931
|
var _a;
|
942
|
-
return React__default["default"].createElement("div", null, typeof ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.path) === 'string' && !(info === null || info === void 0 ? void 0 : info.componentId) ? React__default["default"].createElement(React__default["default"].Fragment, null, "
|
932
|
+
return React__default["default"].createElement("div", null, typeof ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.path) === 'string' && !(info === null || info === void 0 ? void 0 : info.componentId) ? React__default["default"].createElement(React__default["default"].Fragment, null, i18nRuntime.i18n("c85c8d61a67014c4b5d44f25e49e87fc"), React__default["default"].createElement("span", {
|
943
933
|
className: "variable-left variable-right"
|
944
|
-
}, variableManager.getNameByPath(info.args.path)), "
|
934
|
+
}, variableManager.getNameByPath(info.args.path)), i18nRuntime.i18n("df24d894cd3331f53964bc75f5c192e2")) : React__default["default"].createElement(React__default["default"].Fragment, null, i18nRuntime.i18n("9e1bafbb00018beacc8f579c8ddfaa36"), React__default["default"].createElement("span", {
|
945
935
|
className: "variable-left variable-right"
|
946
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
936
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("df24d894cd3331f53964bc75f5c192e2")));
|
947
937
|
},
|
948
938
|
supportComponents: 'byComponent',
|
949
939
|
schema: [{
|
@@ -1164,20 +1154,52 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
1164
1154
|
actionType: 'submit',
|
1165
1155
|
description: i18nRuntime.i18n("a360c5d4e723ad78a5e52eb1f5f3f2a2"),
|
1166
1156
|
descDetail: function (info) {
|
1167
|
-
return React__default["default"].createElement("div", null, "
|
1157
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("939d5345ad4345dbaabe14798f6ac0f1"), React__default["default"].createElement("span", {
|
1168
1158
|
className: "variable-left variable-right"
|
1169
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
1159
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1170
1160
|
},
|
1171
1161
|
supportComponents: 'form',
|
1172
|
-
schema: renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)
|
1162
|
+
schema: tslib.__spreadArray(tslib.__spreadArray([], tslib.__read(renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)), false), [{
|
1163
|
+
name: 'outputVar',
|
1164
|
+
type: 'input-text',
|
1165
|
+
label: i18nRuntime.i18n("ac24ffeb131a7a9d2465b3ba7b14e10c"),
|
1166
|
+
placeholder: i18nRuntime.i18n("0e3517fb21e2c4066bd0ab75c51bc6fb"),
|
1167
|
+
description: i18nRuntime.i18n("0e2ba6becfa8760853cfa31c9e15a94b"),
|
1168
|
+
mode: 'horizontal',
|
1169
|
+
size: 'lg',
|
1170
|
+
value: 'submitResult',
|
1171
|
+
required: true
|
1172
|
+
}], false),
|
1173
|
+
outputVarDataSchema: [{
|
1174
|
+
type: 'object',
|
1175
|
+
title: 'submitResult',
|
1176
|
+
properties: {
|
1177
|
+
error: {
|
1178
|
+
type: 'string',
|
1179
|
+
title: i18nRuntime.i18n("4604d5023479171cb6e901dbeccf62c0")
|
1180
|
+
},
|
1181
|
+
errors: {
|
1182
|
+
type: 'object',
|
1183
|
+
title: i18nRuntime.i18n("71f6236494bfc8b023804abb0cca1639")
|
1184
|
+
},
|
1185
|
+
payload: {
|
1186
|
+
type: 'object',
|
1187
|
+
title: i18nRuntime.i18n("335d6c56c43204f9efcefe36f097d35a")
|
1188
|
+
},
|
1189
|
+
responseData: {
|
1190
|
+
type: 'object',
|
1191
|
+
title: i18nRuntime.i18n("4e6bfc5ad98f719f9bc6b2ad3b6440ee")
|
1192
|
+
}
|
1193
|
+
}
|
1194
|
+
}]
|
1173
1195
|
}, {
|
1174
1196
|
actionLabel: i18nRuntime.i18n("4a3deab45c0a7218b8ae58a33fd24c28"),
|
1175
1197
|
actionType: 'clear',
|
1176
1198
|
description: i18nRuntime.i18n("82986a4cab1d0efdbc23b3ac5f0fd509"),
|
1177
1199
|
descDetail: function (info) {
|
1178
|
-
return React__default["default"].createElement("div", null, "
|
1200
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("288f0c404c4e546aa3683ff5054e85e2"), React__default["default"].createElement("span", {
|
1179
1201
|
className: "variable-left variable-right"
|
1180
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
1202
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1181
1203
|
},
|
1182
1204
|
supportComponents: 'form',
|
1183
1205
|
schema: renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)
|
@@ -1186,9 +1208,9 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
1186
1208
|
actionType: 'reset',
|
1187
1209
|
description: i18nRuntime.i18n("f457845da8c119a8688e333a3554284f"),
|
1188
1210
|
descDetail: function (info) {
|
1189
|
-
return React__default["default"].createElement("div", null, "
|
1211
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("4b9c3271dc2f299dc3aeffb369187513"), React__default["default"].createElement("span", {
|
1190
1212
|
className: "variable-left variable-right"
|
1191
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
1213
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1192
1214
|
},
|
1193
1215
|
supportComponents: 'form',
|
1194
1216
|
schema: renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)
|
@@ -1197,12 +1219,40 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
1197
1219
|
actionType: 'validate',
|
1198
1220
|
description: i18nRuntime.i18n("a84a1311bea7370f1749341ffa6f75e1"),
|
1199
1221
|
descDetail: function (info) {
|
1200
|
-
return React__default["default"].createElement("div", null, "
|
1222
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("b7579706a363e5f23b1040fecfbcb677"), React__default["default"].createElement("span", {
|
1201
1223
|
className: "variable-left variable-right"
|
1202
|
-
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), "
|
1224
|
+
}, (info === null || info === void 0 ? void 0 : info.rendererLabel) || '-'), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1203
1225
|
},
|
1204
1226
|
supportComponents: 'form',
|
1205
|
-
schema: renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)
|
1227
|
+
schema: tslib.__spreadArray(tslib.__spreadArray([], tslib.__read(renderCmptSelect(i18nRuntime.i18n("6afde638796d237377b0755506d08ded"), true)), false), [{
|
1228
|
+
name: 'outputVar',
|
1229
|
+
type: 'input-text',
|
1230
|
+
label: i18nRuntime.i18n("bf0f829689370b36d01ce871324e0bb6"),
|
1231
|
+
placeholder: i18nRuntime.i18n("d23157205c994bde20bb2605c193fd27"),
|
1232
|
+
description: i18nRuntime.i18n("a422eb12ebbfdd3347c4deb5ec6b4b54"),
|
1233
|
+
mode: 'horizontal',
|
1234
|
+
size: 'lg',
|
1235
|
+
value: 'validateResult',
|
1236
|
+
required: true
|
1237
|
+
}], false),
|
1238
|
+
outputVarDataSchema: [{
|
1239
|
+
type: 'object',
|
1240
|
+
title: 'validateResult',
|
1241
|
+
properties: {
|
1242
|
+
error: {
|
1243
|
+
type: 'string',
|
1244
|
+
title: i18nRuntime.i18n("4604d5023479171cb6e901dbeccf62c0")
|
1245
|
+
},
|
1246
|
+
errors: {
|
1247
|
+
type: 'object',
|
1248
|
+
title: i18nRuntime.i18n("71f6236494bfc8b023804abb0cca1639")
|
1249
|
+
},
|
1250
|
+
payload: {
|
1251
|
+
type: 'object',
|
1252
|
+
title: i18nRuntime.i18n("335d6c56c43204f9efcefe36f097d35a")
|
1253
|
+
}
|
1254
|
+
}
|
1255
|
+
}]
|
1206
1256
|
}, {
|
1207
1257
|
actionLabel: i18nRuntime.i18n("51325230409d4b7c64aaeb3db9904801"),
|
1208
1258
|
actionType: 'component',
|
@@ -1220,7 +1270,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
1220
1270
|
innerArgs: ['content', 'copyFormat'],
|
1221
1271
|
descDetail: function (info) {
|
1222
1272
|
var _a;
|
1223
|
-
return React__default["default"].createElement("div", null, "
|
1273
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("5aa4369ec61715ddef3641992fad0d4d"), React__default["default"].createElement("span", {
|
1224
1274
|
className: "variable-left"
|
1225
1275
|
}, ((_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.content) || '-'));
|
1226
1276
|
},
|
@@ -1276,7 +1326,7 @@ var ACTION_TYPE_TREE = function (manager) {
|
|
1276
1326
|
folding: true
|
1277
1327
|
},
|
1278
1328
|
className: 'ae-event-control-action-js-editor',
|
1279
|
-
value:
|
1329
|
+
value: i18nRuntime.i18n("fbaa94ca6b6e6e76a07124e80733f109")
|
1280
1330
|
}
|
1281
1331
|
}
|
1282
1332
|
// {
|
@@ -1397,9 +1447,9 @@ var COMMON_ACTION_SCHEMA_MAP = {
|
|
1397
1447
|
setValue: {
|
1398
1448
|
innerArgs: ['value'],
|
1399
1449
|
descDetail: function (info) {
|
1400
|
-
return React__default["default"].createElement("div", null, "
|
1450
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("e366ccf1556c0672dcecba135ed5472e"), React__default["default"].createElement("span", {
|
1401
1451
|
className: "variable-left variable-right"
|
1402
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1452
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1403
1453
|
},
|
1404
1454
|
schema: getArgsWrapper({
|
1405
1455
|
type: 'wrapper',
|
@@ -1476,37 +1526,37 @@ var COMMON_ACTION_SCHEMA_MAP = {
|
|
1476
1526
|
},
|
1477
1527
|
reload: {
|
1478
1528
|
descDetail: function (info) {
|
1479
|
-
return React__default["default"].createElement("div", null, "
|
1529
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("694fc5efa9e1d1c2c5eb6525e1c7fb29"), React__default["default"].createElement("span", {
|
1480
1530
|
className: "variable-left variable-right"
|
1481
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1531
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("bb79667f37035e9562ec6bcffd6cf8ef"));
|
1482
1532
|
}
|
1483
1533
|
},
|
1484
1534
|
clear: {
|
1485
1535
|
descDetail: function (info) {
|
1486
|
-
return React__default["default"].createElement("div", null, "
|
1536
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("288f0c404c4e546aa3683ff5054e85e2"), React__default["default"].createElement("span", {
|
1487
1537
|
className: "variable-left variable-right"
|
1488
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1538
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1489
1539
|
}
|
1490
1540
|
},
|
1491
1541
|
reset: {
|
1492
1542
|
descDetail: function (info) {
|
1493
|
-
return React__default["default"].createElement("div", null, "
|
1543
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("4b9c3271dc2f299dc3aeffb369187513"), React__default["default"].createElement("span", {
|
1494
1544
|
className: "variable-left variable-right"
|
1495
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1545
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1496
1546
|
}
|
1497
1547
|
},
|
1498
1548
|
submit: {
|
1499
1549
|
descDetail: function (info) {
|
1500
|
-
return React__default["default"].createElement("div", null, "
|
1550
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("939d5345ad4345dbaabe14798f6ac0f1"), React__default["default"].createElement("span", {
|
1501
1551
|
className: "variable-left variable-right"
|
1502
1552
|
}, info === null || info === void 0 ? void 0 : info.rendererLabel), (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18nRuntime.i18n("fe9e25f4e4b3aeefeb9b7a9c368ede7e") : i18nRuntime.i18n("0d83078816aa273f2941c9b55ec82bf3"));
|
1503
1553
|
}
|
1504
1554
|
},
|
1505
1555
|
validate: {
|
1506
1556
|
descDetail: function (info) {
|
1507
|
-
return React__default["default"].createElement("div", null, "
|
1557
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("b7579706a363e5f23b1040fecfbcb677"), React__default["default"].createElement("span", {
|
1508
1558
|
className: "variable-left variable-right"
|
1509
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1559
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("b91ebe714155c83b6d3bc02b675a31e9"));
|
1510
1560
|
}
|
1511
1561
|
},
|
1512
1562
|
prev: {
|
@@ -1527,36 +1577,36 @@ var COMMON_ACTION_SCHEMA_MAP = {
|
|
1527
1577
|
descDetail: function (info) {
|
1528
1578
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
1529
1579
|
className: "variable-right"
|
1530
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1580
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("def9e98b60e3bfc493bcd7693e702096"));
|
1531
1581
|
}
|
1532
1582
|
},
|
1533
1583
|
selectAll: {
|
1534
1584
|
descDetail: function (info) {
|
1535
1585
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
1536
1586
|
className: "variable-right"
|
1537
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1587
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("8b3a9a5c912610c384bc8dc2c8514386"));
|
1538
1588
|
}
|
1539
1589
|
},
|
1540
1590
|
focus: {
|
1541
1591
|
descDetail: function (info) {
|
1542
1592
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
1543
1593
|
className: "variable-right"
|
1544
|
-
}, info === null || info === void 0 ? void 0 : info.rendererLabel), "
|
1594
|
+
}, info === null || info === void 0 ? void 0 : info.rendererLabel), i18nRuntime.i18n("ab0710b367acefa1d6a78e2338291e86"));
|
1545
1595
|
}
|
1546
1596
|
},
|
1547
1597
|
refresh: {
|
1548
1598
|
descDetail: function (info) {
|
1549
|
-
return React__default["default"].createElement("div", null, "
|
1599
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("39e107b7c4aa580f913ccbebc00f7534"));
|
1550
1600
|
}
|
1551
1601
|
},
|
1552
1602
|
alert: {
|
1553
1603
|
descDetail: function (info) {
|
1554
|
-
return React__default["default"].createElement("div", null, "
|
1604
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("211ae8c8666f8b803282a74f90fb0dc6"));
|
1555
1605
|
}
|
1556
1606
|
},
|
1557
1607
|
confirm: {
|
1558
1608
|
descDetail: function (info) {
|
1559
|
-
return React__default["default"].createElement("div", null, "
|
1609
|
+
return React__default["default"].createElement("div", null, i18nRuntime.i18n("56eafb82d11c72b65efe07b9bedb5c19"));
|
1560
1610
|
}
|
1561
1611
|
}
|
1562
1612
|
};
|
@@ -1763,7 +1813,7 @@ var getOldActionSchema = function (manager, context) {
|
|
1763
1813
|
});
|
1764
1814
|
},
|
1765
1815
|
block: true
|
1766
|
-
}, "
|
1816
|
+
}, i18nRuntime.i18n("c3c8422fcecd8c1cc922cba15ab5cbc0")) : null;
|
1767
1817
|
}
|
1768
1818
|
}, {
|
1769
1819
|
visibleOn: 'data.actionType == "drawer"',
|
@@ -1793,7 +1843,7 @@ var getOldActionSchema = function (manager, context) {
|
|
1793
1843
|
});
|
1794
1844
|
},
|
1795
1845
|
block: true
|
1796
|
-
}, "
|
1846
|
+
}, i18nRuntime.i18n("262c7c7b9874ae5607fb51da468d0e8c")) : null;
|
1797
1847
|
}
|
1798
1848
|
}, amisEditorCore.getSchemaTpl('api', {
|
1799
1849
|
label: i18nRuntime.i18n("5eb694a4252528628929ced97ca95823"),
|
@@ -1825,14 +1875,14 @@ var getOldActionSchema = function (manager, context) {
|
|
1825
1875
|
}
|
1826
1876
|
});
|
1827
1877
|
}
|
1828
|
-
}, "
|
1878
|
+
}, i18nRuntime.i18n("deb9089ed7ebcacd712117fc4204c65f")), value ? React__default["default"].createElement(amis.Button, {
|
1829
1879
|
size: "sm",
|
1830
1880
|
level: "link",
|
1831
1881
|
className: "m-l",
|
1832
1882
|
onClick: function () {
|
1833
1883
|
return onChange('');
|
1834
1884
|
}
|
1835
|
-
}, "
|
1885
|
+
}, i18nRuntime.i18n("215f64480a93893fc56c51aeb5d40f11")) : null) : null;
|
1836
1886
|
}
|
1837
1887
|
}, {
|
1838
1888
|
name: 'feedback.visibleOn',
|
@@ -2042,6 +2092,7 @@ var getEventControlConfig = function (manager, context) {
|
|
2042
2092
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
2043
2093
|
return tslib.__generator(this, function (_w) {
|
2044
2094
|
config = tslib.__assign({}, action);
|
2095
|
+
config.args = tslib.__assign({}, action.args);
|
2045
2096
|
if (['link', 'url'].includes(action.actionType) && ((_a = action.args) === null || _a === void 0 ? void 0 : _a.params)) {
|
2046
2097
|
config.args = tslib.__assign(tslib.__assign({}, config.args), {
|
2047
2098
|
params: objectToComboArray((_b = action.args) === null || _b === void 0 ? void 0 : _b.params)
|
@@ -2096,14 +2147,13 @@ var getEventControlConfig = function (manager, context) {
|
|
2096
2147
|
// 处理刷新组件动作的追加参数
|
2097
2148
|
if (config.actionType === 'reload') {
|
2098
2149
|
config.__resetPage = (_s = config.args) === null || _s === void 0 ? void 0 : _s.resetPage;
|
2099
|
-
config.__addParam =
|
2100
|
-
config.__customData = !!config.data;
|
2150
|
+
config.__addParam = !!config.data;
|
2101
2151
|
if (config.data && typeof config.data === 'object' || config.args && !Object.keys(config.args).length && config.data === undefined) {
|
2102
|
-
config.
|
2152
|
+
config.__addParam = true;
|
2103
2153
|
config.__containerType = 'appoint';
|
2104
2154
|
config.dataMergeMode = 'override';
|
2105
2155
|
}
|
2106
|
-
if (config.__addParam && config.
|
2156
|
+
if (config.__addParam && config.data) {
|
2107
2157
|
if (typeof config.data === 'string') {
|
2108
2158
|
config.__containerType = 'all';
|
2109
2159
|
config.__valueInput = config.data;
|
@@ -2193,17 +2243,15 @@ var getEventControlConfig = function (manager, context) {
|
|
2193
2243
|
}
|
2194
2244
|
// 刷新组件时,处理是否追加事件变量
|
2195
2245
|
if (config.actionType === 'reload') {
|
2196
|
-
action.data =
|
2246
|
+
action.data = undefined;
|
2197
2247
|
action.dataMergeMode = undefined;
|
2198
2248
|
action.args = action.__rendererName === 'crud' ? tslib.__assign(tslib.__assign({}, action.args), {
|
2199
2249
|
resetPage: (_b = config.__resetPage) !== null && _b !== void 0 ? _b : true
|
2200
2250
|
}) : undefined;
|
2251
|
+
action.data = undefined;
|
2201
2252
|
if (config.__addParam) {
|
2202
2253
|
action.dataMergeMode = config.dataMergeMode || 'merge';
|
2203
|
-
action.data =
|
2204
|
-
if (config.__customData) {
|
2205
|
-
action.data = config.__containerType === 'all' ? config.__valueInput : comboArrayToObject(config.__reloadParams || []);
|
2206
|
-
}
|
2254
|
+
action.data = config.__containerType === 'all' ? config.__valueInput : comboArrayToObject(config.__reloadParams || []);
|
2207
2255
|
}
|
2208
2256
|
}
|
2209
2257
|
// 转换下格式
|
@@ -96,11 +96,11 @@ export declare class EventControl extends React.Component<EventControlProps, Eve
|
|
96
96
|
buildEventDataSchema(data: any, manager: EditorManager): void;
|
97
97
|
buildContextSchema(data: any): Promise<any>;
|
98
98
|
activeActionDialog(data: Pick<EventControlState, 'showAcionDialog' | 'type' | 'actionData'>): Promise<void>;
|
99
|
-
renderDesc(action: ActionConfig): JSX.Element | null;
|
99
|
+
renderDesc(action: ActionConfig): React.JSX.Element | null;
|
100
100
|
onSubmit(type: string, config: any): void;
|
101
101
|
onClose(): void;
|
102
102
|
removeDataSchema(): void;
|
103
|
-
render(): JSX.Element;
|
103
|
+
render(): React.JSX.Element;
|
104
104
|
}
|
105
105
|
export declare class EventControlRenderer extends EventControl {
|
106
106
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
2
|
+
* amis-editor v5.6.0-beta.0
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -345,6 +345,7 @@ var EventControl = /** @class */function (_super) {
|
|
345
345
|
_this.setState({
|
346
346
|
onEvent: onEventConfig
|
347
347
|
});
|
348
|
+
_this.props.onChange && _this.props.onChange(onEventConfig);
|
348
349
|
}
|
349
350
|
});
|
350
351
|
};
|
@@ -13,5 +13,5 @@ interface BackgroundProps extends FormControlProps {
|
|
13
13
|
declare const Background: React.FC<BackgroundProps>;
|
14
14
|
export default Background;
|
15
15
|
export declare class BackgroundRenderer extends React.Component<FormControlProps> {
|
16
|
-
render(): JSX.Element;
|
16
|
+
render(): React.JSX.Element;
|
17
17
|
}
|