amis-editor 5.2.5-beta.7 → 5.3.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 +1 -1
- package/esm/component/TableViewEditor.js +1 -1
- package/esm/icons/btn/btn-group.svg.js +1 -1
- package/esm/icons/btn/btn-select.svg.js +1 -1
- package/esm/icons/btn/btn-toolbar.svg.js +1 -1
- package/esm/icons/btn/button.svg.js +1 -1
- package/esm/icons/btn/dropdown-btn.svg.js +1 -1
- package/esm/icons/container/anchor-nav.svg.js +1 -1
- package/esm/icons/container/collapse.svg.js +1 -1
- package/esm/icons/container/container.svg.js +1 -1
- package/esm/icons/container/flex-container.svg.js +1 -1
- package/esm/icons/container/form-group.svg.js +1 -1
- package/esm/icons/container/grid.svg.js +1 -1
- package/esm/icons/container/iframe.svg.js +1 -1
- package/esm/icons/container/panel.svg.js +1 -1
- package/esm/icons/container/table-view.svg.js +1 -1
- package/esm/icons/container/tabs.svg.js +1 -1
- package/esm/icons/container/tooltip-wrapper.svg.js +1 -1
- package/esm/icons/container/web-component.svg.js +1 -1
- package/esm/icons/display/aBaseline.svg.js +1 -1
- package/esm/icons/display/aCenter.svg.js +1 -1
- package/esm/icons/display/aFlexEnd.svg.js +1 -1
- package/esm/icons/display/aFlexStart.svg.js +1 -1
- package/esm/icons/display/aStretch.svg.js +1 -1
- package/esm/icons/display/block.svg.js +1 -1
- package/esm/icons/display/dcolumn.svg.js +1 -1
- package/esm/icons/display/dcolumnReverse.svg.js +1 -1
- package/esm/icons/display/drow.svg.js +1 -1
- package/esm/icons/display/drowReverse.svg.js +1 -1
- package/esm/icons/display/flex.svg.js +1 -1
- package/esm/icons/display/inline-block.svg.js +1 -1
- package/esm/icons/display/inline.svg.js +1 -1
- package/esm/icons/display/jCenter.svg.js +1 -1
- package/esm/icons/display/jFlexEnd.svg.js +1 -1
- package/esm/icons/display/jFlexStart.svg.js +1 -1
- package/esm/icons/display/jSpaceAround.svg.js +1 -1
- package/esm/icons/display/jSpaceBetween.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 +6 -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 +20 -15
- 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 +42 -0
- package/esm/icons/other/divider.svg.js +1 -1
- package/esm/icons/other/fx.svg.js +27 -0
- 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 +107 -101
- package/esm/index.js +108 -103
- package/esm/locale/en-US.js +112 -3
- package/esm/locale/zh-CN.js +123 -5
- package/esm/plugin/Alert.d.ts +2 -1
- package/esm/plugin/Alert.js +2 -1
- package/esm/plugin/AnchorNav.js +2 -2
- 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.d.ts +2 -1
- package/esm/plugin/Button.js +4 -3
- package/esm/plugin/ButtonGroup.js +2 -2
- package/esm/plugin/CRUD.d.ts +1 -1
- package/esm/plugin/CRUD.js +3 -3
- package/esm/plugin/CRUD2.d.ts +1 -1
- package/esm/plugin/CRUD2.js +3 -2
- package/esm/plugin/Card.js +1 -1
- package/esm/plugin/Card2.js +1 -1
- package/esm/plugin/Cards.js +9 -4
- package/esm/plugin/Carousel.d.ts +1 -0
- package/esm/plugin/Carousel.js +47 -38
- package/esm/plugin/Chart.js +1 -1
- package/esm/plugin/CodeView.js +1 -1
- package/esm/plugin/Collapse.js +1 -1
- package/esm/plugin/CollapseGroup.js +2 -2
- package/esm/plugin/ColumnToggler.js +1 -1
- package/esm/plugin/Container.js +2 -2
- package/esm/plugin/Custom.js +1 -1
- package/esm/plugin/CustomRegion.js +1 -1
- package/esm/plugin/Date.js +29 -7
- package/esm/plugin/Datetime.js +29 -7
- package/esm/plugin/Dialog.js +1 -1
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +2 -1
- package/esm/plugin/Drawer.js +1 -1
- package/esm/plugin/DropDownButton.js +2 -2
- package/esm/plugin/Each.js +1 -1
- package/esm/plugin/Flex.js +2 -2
- package/esm/plugin/Form/ButtonGroupSelect.js +5 -4
- package/esm/plugin/Form/ButtonToolbar.js +2 -2
- package/esm/plugin/Form/ChainedSelect.js +1 -1
- package/esm/plugin/Form/Checkbox.js +1 -1
- package/esm/plugin/Form/Checkboxes.d.ts +0 -1
- package/esm/plugin/Form/Checkboxes.js +1 -2
- package/esm/plugin/Form/CodeEditor.js +4 -4
- package/esm/plugin/Form/Combo.js +4 -6
- package/esm/plugin/Form/ConditionBuilder.js +1 -1
- package/esm/plugin/Form/Control.js +1 -1
- package/esm/plugin/Form/DiffEditor.js +4 -4
- package/esm/plugin/Form/FieldSet.js +1 -1
- package/esm/plugin/Form/Form.d.ts +0 -1
- package/esm/plugin/Form/Form.js +2 -3
- package/esm/plugin/Form/Formula.js +1 -1
- package/esm/plugin/Form/Group.js +1 -1
- package/esm/plugin/Form/Hidden.js +1 -1
- package/esm/plugin/Form/InputArray.js +1 -1
- package/esm/plugin/Form/InputCity.js +1 -1
- package/esm/plugin/Form/InputColor.js +1 -1
- package/esm/plugin/Form/InputDate.d.ts +0 -1
- package/esm/plugin/Form/InputDate.js +19 -3
- package/esm/plugin/Form/InputDateRange.d.ts +0 -1
- package/esm/plugin/Form/InputDateRange.js +91 -27
- package/esm/plugin/Form/InputDateTime.js +1 -1
- package/esm/plugin/Form/InputDateTimeRange.d.ts +0 -1
- package/esm/plugin/Form/InputDateTimeRange.js +1 -2
- 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 +81 -21
- package/esm/plugin/Form/InputKV.js +1 -1
- package/esm/plugin/Form/InputMonth.js +1 -1
- package/esm/plugin/Form/InputMonthRange.d.ts +0 -1
- package/esm/plugin/Form/InputMonthRange.js +1 -2
- package/esm/plugin/Form/InputNumber.d.ts +0 -1
- package/esm/plugin/Form/InputNumber.js +3 -4
- package/esm/plugin/Form/InputPassword.js +1 -1
- package/esm/plugin/Form/InputQuarter.js +1 -1
- package/esm/plugin/Form/InputQuarterRange.d.ts +0 -1
- package/esm/plugin/Form/InputQuarterRange.js +1 -2
- package/esm/plugin/Form/InputRange.js +1 -1
- package/esm/plugin/Form/InputRating.js +1 -1
- package/esm/plugin/Form/InputRepeat.js +1 -1
- package/esm/plugin/Form/InputRichText.js +1 -1
- package/esm/plugin/Form/InputSubForm.d.ts +0 -1
- package/esm/plugin/Form/InputSubForm.js +1 -1
- package/esm/plugin/Form/InputTable.d.ts +2 -1
- package/esm/plugin/Form/InputTable.js +78 -4
- package/esm/plugin/Form/InputTag.d.ts +1 -1
- package/esm/plugin/Form/InputTag.js +3 -3
- package/esm/plugin/Form/InputText.js +11 -4
- package/esm/plugin/Form/InputTime.js +1 -1
- package/esm/plugin/Form/InputTimeRange.d.ts +0 -1
- package/esm/plugin/Form/InputTimeRange.js +1 -2
- package/esm/plugin/Form/InputTree.js +1 -1
- package/esm/plugin/Form/InputURL.js +1 -1
- package/esm/plugin/Form/InputYear.js +1 -1
- package/esm/plugin/Form/InputYearRange.d.ts +0 -1
- package/esm/plugin/Form/InputYearRange.js +1 -2
- package/esm/plugin/Form/Item.js +1 -1
- package/esm/plugin/Form/ListSelect.d.ts +0 -1
- package/esm/plugin/Form/ListSelect.js +2 -5
- package/esm/plugin/Form/LocationPicker.js +4 -4
- package/esm/plugin/Form/MatrixCheckboxes.js +1 -1
- package/esm/plugin/Form/NestedSelect.js +1 -1
- package/esm/plugin/Form/Picker.d.ts +1 -0
- package/esm/plugin/Form/Picker.js +3 -2
- package/esm/plugin/Form/Radios.d.ts +0 -1
- package/esm/plugin/Form/Radios.js +3 -12
- package/esm/plugin/Form/Select.d.ts +0 -1
- package/esm/plugin/Form/Select.js +2 -3
- package/esm/plugin/Form/Static.d.ts +0 -1
- package/esm/plugin/Form/Static.js +177 -183
- package/esm/plugin/Form/Switch.d.ts +0 -1
- package/esm/plugin/Form/Switch.js +1 -2
- package/esm/plugin/Form/TabsTransfer.js +1 -1
- package/esm/plugin/Form/Textarea.d.ts +0 -1
- package/esm/plugin/Form/Textarea.js +8 -3
- package/esm/plugin/Form/Transfer.js +1 -1
- package/esm/plugin/Form/TreeSelect.js +1 -1
- package/esm/plugin/Form/UUID.js +1 -1
- package/esm/plugin/Grid.js +6 -9
- package/esm/plugin/HBox.js +1 -1
- package/esm/plugin/IFrame.js +2 -2
- package/esm/plugin/Icon.d.ts +23 -0
- package/esm/plugin/Icon.js +122 -0
- package/esm/plugin/Image.js +1 -1
- package/esm/plugin/Images.d.ts +2 -0
- package/esm/plugin/Images.js +6 -8
- package/esm/plugin/Json.js +1 -1
- package/esm/plugin/Layout/FlexPluginBase.js +4 -4
- package/esm/plugin/Layout/Layout_fixed.js +2 -2
- package/esm/plugin/Layout/Layout_free_container.d.ts +0 -1
- package/esm/plugin/Layout/Layout_free_container.js +3 -3
- package/esm/plugin/Layout/Layout_sorption_container.js +2 -2
- package/esm/plugin/Link.js +1 -1
- package/esm/plugin/List.d.ts +0 -1
- package/esm/plugin/List.js +15 -15
- package/esm/plugin/ListItem.js +1 -1
- package/esm/plugin/Log.js +1 -1
- package/esm/plugin/Mapping.js +9 -6
- package/esm/plugin/Markdown.js +1 -1
- package/esm/plugin/Nav.js +1 -1
- package/esm/plugin/OfficeViewer.d.ts +2 -0
- package/esm/plugin/Operation.js +1 -1
- package/esm/plugin/Others/Action.d.ts +3 -1
- package/esm/plugin/Others/Action.js +15 -14
- package/esm/plugin/Others/TableCell.js +2 -2
- package/esm/plugin/Page.d.ts +1 -1
- package/esm/plugin/Page.js +1 -1
- package/esm/plugin/Pagination.js +1 -1
- package/esm/plugin/Panel.d.ts +1 -1
- package/esm/plugin/Panel.js +2 -2
- package/esm/plugin/Plain.js +1 -1
- package/esm/plugin/Progress.d.ts +2 -0
- package/esm/plugin/Progress.js +3 -2
- package/esm/plugin/Property.js +7 -2
- package/esm/plugin/QRCode.js +1 -1
- package/esm/plugin/Reset.js +1 -1
- package/esm/plugin/SearchBox.d.ts +25 -0
- package/esm/plugin/SearchBox.js +146 -0
- package/esm/plugin/Service.js +2 -2
- package/esm/plugin/Sparkline.js +1 -1
- package/esm/plugin/Status.js +1 -1
- package/esm/plugin/Steps.js +4 -4
- package/esm/plugin/Submit.js +1 -1
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +13 -16
- package/esm/plugin/Table2.d.ts +1 -1
- package/esm/plugin/Table2.js +4 -4
- package/esm/plugin/TableCell2.js +1 -1
- package/esm/plugin/TableView.js +2 -2
- package/esm/plugin/Tabs.js +4 -6
- package/esm/plugin/Tag.js +33 -2
- package/esm/plugin/Tasks.js +1 -1
- package/esm/plugin/Time.js +31 -7
- package/esm/plugin/Timeline.js +2 -2
- package/esm/plugin/TooltipWrapper.js +3 -3
- package/esm/plugin/Tpl.d.ts +1 -0
- package/esm/plugin/Tpl.js +2 -1
- package/esm/plugin/Video.js +1 -1
- package/esm/plugin/WebComponent.js +2 -2
- package/esm/plugin/Wizard.js +1 -1
- package/esm/plugin/Wrapper.js +1 -1
- package/esm/renderer/APIAdaptorControl.d.ts +150 -0
- package/esm/renderer/APIAdaptorControl.js +300 -0
- package/esm/renderer/APIControl.d.ts +8 -824
- package/esm/renderer/APIControl.js +5 -26
- package/esm/renderer/ActionApiControl.d.ts +8 -366
- package/esm/renderer/BadgeControl.d.ts +7 -7
- package/esm/renderer/BadgeControl.js +9 -3
- package/esm/renderer/ButtonGroupControl.js +2 -2
- package/esm/renderer/DataBindingControl.d.ts +3 -2
- 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.d.ts +1 -2
- package/esm/renderer/ExpressionFormulaControl.js +12 -25
- package/esm/renderer/FeatureControl.js +1 -1
- package/esm/renderer/FlexSettingControl.js +8 -8
- package/esm/renderer/FormulaControl.d.ts +9 -2
- package/esm/renderer/FormulaControl.js +106 -80
- package/esm/renderer/GoConfigControl.js +1 -1
- package/esm/renderer/MapSourceControl.d.ts +3 -2
- package/esm/renderer/MapSourceControl.js +16 -5
- package/esm/renderer/NavBadgeControl.d.ts +7 -7
- package/esm/renderer/NavBadgeControl.js +1 -1
- package/esm/renderer/NavDefaultActive.js +1 -1
- package/esm/renderer/NavSourceControl.d.ts +1 -1
- package/esm/renderer/NavSourceControl.js +1 -1
- package/esm/renderer/OptionControl.d.ts +21 -5
- package/esm/renderer/OptionControl.js +121 -27
- package/esm/renderer/RangePartsControl.js +1 -1
- package/esm/renderer/StatusControl.d.ts +5 -2
- package/esm/renderer/StatusControl.js +17 -4
- package/esm/renderer/SwitchMoreControl.d.ts +26 -133
- package/esm/renderer/SwitchMoreControl.js +1 -1
- package/esm/renderer/TimelineItemControl.d.ts +1 -1
- package/esm/renderer/TimelineItemControl.js +1 -1
- package/esm/renderer/TplFormulaControl.d.ts +75 -0
- package/esm/renderer/TplFormulaControl.js +391 -0
- package/esm/renderer/TransferTableControl.d.ts +4 -3
- package/esm/renderer/TransferTableControl.js +16 -5
- package/esm/renderer/TreeOptionControl.d.ts +4 -3
- package/esm/renderer/TreeOptionControl.js +26 -18
- package/esm/renderer/ValidationControl.d.ts +1 -0
- package/esm/renderer/ValidationControl.js +47 -3
- package/esm/renderer/ValidationItem.js +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +1 -1
- package/esm/renderer/event-control/action-config-panel.js +5 -9
- package/esm/renderer/event-control/comp-action-select.js +1 -1
- package/esm/renderer/event-control/helper.d.ts +4 -0
- package/esm/renderer/event-control/helper.js +154 -65
- package/esm/renderer/event-control/index.js +5 -3
- 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/ThemeCssCode.js +6 -6
- package/esm/renderer/style-control/font-family.js +1 -1
- package/esm/renderer/style-control/helper.js +6 -15
- package/esm/renderer/style-control/themeLanguage.js +1874 -3092
- package/esm/renderer/style-control/transformation.js +1 -1
- package/esm/renderer/textarea-formula/FormulaPicker.d.ts +4 -0
- package/esm/renderer/textarea-formula/FormulaPicker.js +44 -24
- package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +56 -14
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +132 -50
- package/esm/renderer/textarea-formula/plugin.d.ts +17 -7
- package/esm/renderer/textarea-formula/plugin.js +67 -35
- package/esm/renderer/textarea-formula/utils.js +4 -2
- package/esm/tpl/api.js +1 -1
- package/esm/tpl/common.js +28 -2
- package/esm/tpl/horizontal.js +1 -1
- package/esm/tpl/layout.js +16 -7
- package/esm/tpl/options.js +10 -4
- package/esm/tpl/remark.js +1 -1
- package/esm/tpl/style.js +31 -5
- package/esm/tpl/validations.js +1 -1
- package/esm/util.d.ts +10 -0
- package/esm/util.js +20 -3
- package/esm/validator.js +1 -1
- package/lib/component/BaseControl.js +1 -1
- package/lib/component/InputComponentName.js +1 -1
- package/lib/component/TableViewEditor.d.ts +1 -1
- package/lib/component/TableViewEditor.js +1 -1
- package/lib/icons/btn/btn-group.svg.js +1 -1
- package/lib/icons/btn/btn-select.svg.js +1 -1
- package/lib/icons/btn/btn-toolbar.svg.js +1 -1
- package/lib/icons/btn/button.svg.js +1 -1
- package/lib/icons/btn/dropdown-btn.svg.js +1 -1
- package/lib/icons/container/anchor-nav.svg.js +1 -1
- package/lib/icons/container/collapse.svg.js +1 -1
- package/lib/icons/container/container.svg.js +1 -1
- package/lib/icons/container/flex-container.svg.js +1 -1
- package/lib/icons/container/form-group.svg.js +1 -1
- package/lib/icons/container/grid.svg.js +1 -1
- package/lib/icons/container/iframe.svg.js +1 -1
- package/lib/icons/container/panel.svg.js +1 -1
- package/lib/icons/container/table-view.svg.js +1 -1
- package/lib/icons/container/tabs.svg.js +1 -1
- package/lib/icons/container/tooltip-wrapper.svg.js +1 -1
- package/lib/icons/container/web-component.svg.js +1 -1
- package/lib/icons/display/aBaseline.svg.js +1 -1
- package/lib/icons/display/aCenter.svg.js +1 -1
- package/lib/icons/display/aFlexEnd.svg.js +1 -1
- package/lib/icons/display/aFlexStart.svg.js +1 -1
- package/lib/icons/display/aStretch.svg.js +1 -1
- package/lib/icons/display/block.svg.js +1 -1
- package/lib/icons/display/dcolumn.svg.js +1 -1
- package/lib/icons/display/dcolumnReverse.svg.js +1 -1
- package/lib/icons/display/drow.svg.js +1 -1
- package/lib/icons/display/drowReverse.svg.js +1 -1
- package/lib/icons/display/flex.svg.js +1 -1
- package/lib/icons/display/inline-block.svg.js +1 -1
- package/lib/icons/display/inline.svg.js +1 -1
- package/lib/icons/display/jCenter.svg.js +1 -1
- package/lib/icons/display/jFlexEnd.svg.js +1 -1
- package/lib/icons/display/jFlexStart.svg.js +1 -1
- package/lib/icons/display/jSpaceAround.svg.js +1 -1
- package/lib/icons/display/jSpaceBetween.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 +6 -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 +35 -30
- 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 +66 -0
- package/lib/icons/other/divider.svg.js +1 -1
- package/lib/icons/other/fx.svg.js +51 -0
- 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 +107 -101
- package/lib/index.js +108 -103
- package/lib/locale/en-US.js +112 -3
- package/lib/locale/zh-CN.js +123 -5
- package/lib/plugin/Alert.d.ts +2 -1
- package/lib/plugin/Alert.js +2 -1
- package/lib/plugin/AnchorNav.js +2 -2
- 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.d.ts +2 -1
- package/lib/plugin/Button.js +4 -3
- package/lib/plugin/ButtonGroup.js +2 -2
- package/lib/plugin/CRUD.d.ts +1 -1
- package/lib/plugin/CRUD.js +3 -3
- package/lib/plugin/CRUD2.d.ts +1 -1
- package/lib/plugin/CRUD2.js +3 -2
- package/lib/plugin/Card.js +1 -1
- package/lib/plugin/Card2.js +1 -1
- package/lib/plugin/Cards.js +8 -3
- package/lib/plugin/Carousel.d.ts +1 -0
- package/lib/plugin/Carousel.js +47 -38
- package/lib/plugin/Chart.js +1 -1
- package/lib/plugin/CodeView.js +1 -1
- package/lib/plugin/Collapse.js +1 -1
- package/lib/plugin/CollapseGroup.js +2 -2
- package/lib/plugin/ColumnToggler.js +1 -1
- package/lib/plugin/Container.js +2 -2
- package/lib/plugin/Custom.js +1 -1
- package/lib/plugin/CustomRegion.js +1 -1
- package/lib/plugin/Date.js +28 -6
- package/lib/plugin/Datetime.js +28 -6
- package/lib/plugin/Dialog.js +1 -1
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +2 -1
- package/lib/plugin/Drawer.js +1 -1
- package/lib/plugin/DropDownButton.js +2 -2
- package/lib/plugin/Each.js +1 -1
- package/lib/plugin/Flex.js +2 -2
- package/lib/plugin/Form/ButtonGroupSelect.js +5 -4
- package/lib/plugin/Form/ButtonToolbar.js +2 -2
- package/lib/plugin/Form/ChainedSelect.js +1 -1
- package/lib/plugin/Form/Checkbox.js +1 -1
- package/lib/plugin/Form/Checkboxes.d.ts +0 -1
- package/lib/plugin/Form/Checkboxes.js +1 -2
- package/lib/plugin/Form/CodeEditor.js +4 -4
- package/lib/plugin/Form/Combo.js +3 -5
- package/lib/plugin/Form/ConditionBuilder.js +1 -1
- package/lib/plugin/Form/Control.js +1 -1
- package/lib/plugin/Form/DiffEditor.js +4 -4
- package/lib/plugin/Form/FieldSet.js +1 -1
- package/lib/plugin/Form/Form.d.ts +0 -1
- package/lib/plugin/Form/Form.js +2 -3
- package/lib/plugin/Form/Formula.js +1 -1
- package/lib/plugin/Form/Group.js +1 -1
- package/lib/plugin/Form/Hidden.js +1 -1
- package/lib/plugin/Form/InputArray.js +1 -1
- package/lib/plugin/Form/InputCity.js +1 -1
- package/lib/plugin/Form/InputColor.js +1 -1
- package/lib/plugin/Form/InputDate.d.ts +0 -1
- package/lib/plugin/Form/InputDate.js +19 -3
- package/lib/plugin/Form/InputDateRange.d.ts +0 -1
- package/lib/plugin/Form/InputDateRange.js +90 -26
- package/lib/plugin/Form/InputDateTime.js +1 -1
- package/lib/plugin/Form/InputDateTimeRange.d.ts +0 -1
- package/lib/plugin/Form/InputDateTimeRange.js +1 -2
- 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 +80 -20
- package/lib/plugin/Form/InputKV.js +1 -1
- package/lib/plugin/Form/InputMonth.js +1 -1
- package/lib/plugin/Form/InputMonthRange.d.ts +0 -1
- package/lib/plugin/Form/InputMonthRange.js +1 -2
- package/lib/plugin/Form/InputNumber.d.ts +0 -1
- package/lib/plugin/Form/InputNumber.js +3 -4
- package/lib/plugin/Form/InputPassword.js +1 -1
- package/lib/plugin/Form/InputQuarter.js +1 -1
- package/lib/plugin/Form/InputQuarterRange.d.ts +0 -1
- package/lib/plugin/Form/InputQuarterRange.js +1 -2
- package/lib/plugin/Form/InputRange.js +1 -1
- package/lib/plugin/Form/InputRating.js +1 -1
- package/lib/plugin/Form/InputRepeat.js +1 -1
- package/lib/plugin/Form/InputRichText.js +1 -1
- package/lib/plugin/Form/InputSubForm.d.ts +0 -1
- package/lib/plugin/Form/InputSubForm.js +1 -1
- package/lib/plugin/Form/InputTable.d.ts +2 -1
- package/lib/plugin/Form/InputTable.js +77 -3
- package/lib/plugin/Form/InputTag.d.ts +1 -1
- package/lib/plugin/Form/InputTag.js +3 -3
- package/lib/plugin/Form/InputText.js +11 -4
- package/lib/plugin/Form/InputTime.js +1 -1
- package/lib/plugin/Form/InputTimeRange.d.ts +0 -1
- package/lib/plugin/Form/InputTimeRange.js +1 -2
- package/lib/plugin/Form/InputTree.js +1 -1
- package/lib/plugin/Form/InputURL.js +1 -1
- package/lib/plugin/Form/InputYear.js +1 -1
- package/lib/plugin/Form/InputYearRange.d.ts +0 -1
- package/lib/plugin/Form/InputYearRange.js +1 -2
- package/lib/plugin/Form/Item.js +1 -1
- package/lib/plugin/Form/ListSelect.d.ts +0 -1
- package/lib/plugin/Form/ListSelect.js +2 -5
- package/lib/plugin/Form/LocationPicker.js +4 -4
- package/lib/plugin/Form/MatrixCheckboxes.js +1 -1
- package/lib/plugin/Form/NestedSelect.js +1 -1
- package/lib/plugin/Form/Picker.d.ts +1 -0
- package/lib/plugin/Form/Picker.js +3 -2
- package/lib/plugin/Form/Radios.d.ts +0 -1
- package/lib/plugin/Form/Radios.js +3 -12
- package/lib/plugin/Form/Select.d.ts +0 -1
- package/lib/plugin/Form/Select.js +2 -3
- package/lib/plugin/Form/Static.d.ts +0 -1
- package/lib/plugin/Form/Static.js +178 -184
- package/lib/plugin/Form/Switch.d.ts +0 -1
- package/lib/plugin/Form/Switch.js +1 -2
- package/lib/plugin/Form/TabsTransfer.js +1 -1
- package/lib/plugin/Form/Textarea.d.ts +0 -1
- package/lib/plugin/Form/Textarea.js +8 -3
- package/lib/plugin/Form/Transfer.js +1 -1
- package/lib/plugin/Form/TreeSelect.js +1 -1
- package/lib/plugin/Form/UUID.js +1 -1
- package/lib/plugin/Grid.js +5 -8
- package/lib/plugin/HBox.js +1 -1
- package/lib/plugin/IFrame.js +2 -2
- package/lib/plugin/Icon.d.ts +23 -0
- package/lib/plugin/Icon.js +126 -0
- package/lib/plugin/Image.js +1 -1
- package/lib/plugin/Images.d.ts +2 -0
- package/lib/plugin/Images.js +6 -8
- package/lib/plugin/Json.js +1 -1
- package/lib/plugin/Layout/FlexPluginBase.js +4 -4
- package/lib/plugin/Layout/Layout_fixed.js +2 -2
- package/lib/plugin/Layout/Layout_free_container.d.ts +0 -1
- package/lib/plugin/Layout/Layout_free_container.js +3 -3
- package/lib/plugin/Layout/Layout_sorption_container.js +2 -2
- package/lib/plugin/Link.js +1 -1
- package/lib/plugin/List.d.ts +0 -1
- package/lib/plugin/List.js +14 -14
- package/lib/plugin/ListItem.js +1 -1
- package/lib/plugin/Log.js +1 -1
- package/lib/plugin/Mapping.js +9 -6
- package/lib/plugin/Markdown.js +1 -1
- package/lib/plugin/Nav.js +1 -1
- package/lib/plugin/OfficeViewer.d.ts +2 -0
- package/lib/plugin/Operation.js +1 -1
- package/lib/plugin/Others/Action.d.ts +3 -1
- package/lib/plugin/Others/Action.js +15 -14
- package/lib/plugin/Others/TableCell.js +2 -2
- package/lib/plugin/Page.d.ts +1 -1
- package/lib/plugin/Page.js +1 -1
- package/lib/plugin/Pagination.js +1 -1
- package/lib/plugin/Panel.d.ts +1 -1
- package/lib/plugin/Panel.js +2 -2
- package/lib/plugin/Plain.js +1 -1
- package/lib/plugin/Progress.d.ts +2 -0
- package/lib/plugin/Progress.js +3 -2
- package/lib/plugin/Property.js +7 -2
- package/lib/plugin/QRCode.js +1 -1
- package/lib/plugin/Reset.js +1 -1
- package/lib/plugin/SearchBox.d.ts +25 -0
- package/lib/plugin/SearchBox.js +150 -0
- package/lib/plugin/Service.js +2 -2
- package/lib/plugin/Sparkline.js +1 -1
- package/lib/plugin/Status.js +1 -1
- package/lib/plugin/Steps.js +4 -4
- package/lib/plugin/Submit.js +1 -1
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +11 -14
- package/lib/plugin/Table2.d.ts +1 -1
- package/lib/plugin/Table2.js +4 -4
- package/lib/plugin/TableCell2.js +1 -1
- package/lib/plugin/TableView.js +2 -2
- package/lib/plugin/Tabs.js +4 -6
- package/lib/plugin/Tag.js +33 -2
- package/lib/plugin/Tasks.js +1 -1
- package/lib/plugin/Time.js +30 -6
- package/lib/plugin/Timeline.js +2 -2
- package/lib/plugin/TooltipWrapper.js +3 -3
- package/lib/plugin/Tpl.d.ts +1 -0
- package/lib/plugin/Tpl.js +2 -1
- package/lib/plugin/Video.js +1 -1
- package/lib/plugin/WebComponent.js +2 -2
- package/lib/plugin/Wizard.js +1 -1
- package/lib/plugin/Wrapper.js +1 -1
- package/lib/renderer/APIAdaptorControl.d.ts +150 -0
- package/lib/renderer/APIAdaptorControl.js +319 -0
- package/lib/renderer/APIControl.d.ts +8 -824
- package/lib/renderer/APIControl.js +5 -26
- package/lib/renderer/ActionApiControl.d.ts +8 -366
- package/lib/renderer/BadgeControl.d.ts +7 -7
- package/lib/renderer/BadgeControl.js +9 -3
- package/lib/renderer/ButtonGroupControl.js +2 -2
- package/lib/renderer/DataBindingControl.d.ts +3 -2
- 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.d.ts +1 -2
- package/lib/renderer/ExpressionFormulaControl.js +14 -27
- package/lib/renderer/FeatureControl.js +1 -1
- package/lib/renderer/FlexSettingControl.js +8 -8
- package/lib/renderer/FormulaControl.d.ts +9 -2
- package/lib/renderer/FormulaControl.js +105 -78
- package/lib/renderer/GoConfigControl.js +1 -1
- package/lib/renderer/MapSourceControl.d.ts +3 -2
- package/lib/renderer/MapSourceControl.js +16 -5
- 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 +1 -1
- package/lib/renderer/NavSourceControl.js +1 -1
- package/lib/renderer/OptionControl.d.ts +21 -5
- package/lib/renderer/OptionControl.js +121 -26
- package/lib/renderer/RangePartsControl.js +1 -1
- package/lib/renderer/StatusControl.d.ts +5 -2
- package/lib/renderer/StatusControl.js +17 -4
- package/lib/renderer/SwitchMoreControl.d.ts +26 -133
- package/lib/renderer/SwitchMoreControl.js +1 -1
- package/lib/renderer/TimelineItemControl.d.ts +1 -1
- package/lib/renderer/TimelineItemControl.js +1 -1
- package/lib/renderer/TplFormulaControl.d.ts +75 -0
- package/lib/renderer/TplFormulaControl.js +400 -0
- package/lib/renderer/TransferTableControl.d.ts +4 -3
- package/lib/renderer/TransferTableControl.js +16 -5
- package/lib/renderer/TreeOptionControl.d.ts +4 -3
- package/lib/renderer/TreeOptionControl.js +26 -18
- package/lib/renderer/ValidationControl.d.ts +1 -0
- package/lib/renderer/ValidationControl.js +46 -2
- package/lib/renderer/ValidationItem.js +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +1 -1
- package/lib/renderer/event-control/action-config-panel.js +5 -9
- package/lib/renderer/event-control/comp-action-select.js +1 -1
- package/lib/renderer/event-control/helper.d.ts +4 -0
- package/lib/renderer/event-control/helper.js +153 -65
- package/lib/renderer/event-control/index.js +4 -3
- 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/ThemeCssCode.js +6 -6
- package/lib/renderer/style-control/font-family.js +1 -1
- package/lib/renderer/style-control/helper.js +6 -15
- package/lib/renderer/style-control/themeLanguage.js +1874 -3092
- package/lib/renderer/style-control/transformation.js +1 -1
- package/lib/renderer/textarea-formula/FormulaPicker.d.ts +4 -0
- package/lib/renderer/textarea-formula/FormulaPicker.js +44 -24
- package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +56 -14
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +131 -51
- package/lib/renderer/textarea-formula/plugin.d.ts +17 -7
- package/lib/renderer/textarea-formula/plugin.js +66 -34
- package/lib/renderer/textarea-formula/utils.js +4 -2
- package/lib/tpl/api.js +1 -1
- package/lib/tpl/common.js +28 -2
- package/lib/tpl/horizontal.js +1 -1
- package/lib/tpl/layout.js +16 -7
- package/lib/tpl/options.js +10 -4
- package/lib/tpl/remark.js +1 -1
- package/lib/tpl/style.js +31 -5
- package/lib/tpl/validations.js +1 -1
- package/lib/util.d.ts +10 -0
- package/lib/util.js +22 -2
- package/lib/validator.js +1 -1
- package/package.json +2 -3
- package/esm/plugin/OfficeViewer.js +0 -91
- package/lib/plugin/OfficeViewer.js +0 -95
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
2
|
+
* amis-editor v5.3.0
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -353,7 +353,8 @@ var APIControl = /** @class */function (_super) {
|
|
353
353
|
var _a = this.props;
|
354
354
|
_a.messageDesc;
|
355
355
|
var _b = _a.debug,
|
356
|
-
debug = _b === void 0 ? false : _b
|
356
|
+
debug = _b === void 0 ? false : _b,
|
357
|
+
name = _a.name;
|
357
358
|
return {
|
358
359
|
type: 'form',
|
359
360
|
className: 'ae-ApiControl-form',
|
@@ -625,18 +626,7 @@ var APIControl = /** @class */function (_super) {
|
|
625
626
|
placeholder: 'Value',
|
626
627
|
name: 'value'
|
627
628
|
})]
|
628
|
-
}, {
|
629
|
-
label: i18nRuntime.i18n("417125a06b1d2bfff025e83a4e067bf0"),
|
630
|
-
name: 'requestAdaptor',
|
631
|
-
type: 'js-editor',
|
632
|
-
mode: 'horizontal',
|
633
|
-
horizontal: {
|
634
|
-
justify: true
|
635
|
-
},
|
636
|
-
clasName: 'm-t-sm',
|
637
|
-
allowFullscreen: true,
|
638
|
-
description: i18nRuntime.i18n("62efcb25e5b21da47c09780119da3458")
|
639
|
-
}, {
|
629
|
+
}, amisEditorCore.getSchemaTpl('apiRequestAdaptor'), {
|
640
630
|
type: 'switch',
|
641
631
|
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("6d33298a54888a30753373ca5bfe3bc2"), i18nRuntime.i18n("542e06175ff4f7407c467bbde90de56a")),
|
642
632
|
name: 'responseData',
|
@@ -697,18 +687,7 @@ var APIControl = /** @class */function (_super) {
|
|
697
687
|
type: 'input-text',
|
698
688
|
name: 'value'
|
699
689
|
}]
|
700
|
-
},
|
701
|
-
label: i18nRuntime.i18n("6eb8944029108ad3b6bb3572a648fafa"),
|
702
|
-
name: 'adaptor',
|
703
|
-
type: 'js-editor',
|
704
|
-
mode: 'horizontal',
|
705
|
-
horizontal: {
|
706
|
-
justify: true
|
707
|
-
},
|
708
|
-
clasName: 'm-t-sm',
|
709
|
-
allowFullscreen: true,
|
710
|
-
description: i18nRuntime.i18n("e83cbec70e17988749c4a02a3b73f55c")
|
711
|
-
}]
|
690
|
+
}, amisEditorCore.getSchemaTpl(name === 'validateApi' ? 'validateApiAdaptor' : 'apiAdaptor')]
|
712
691
|
}, {
|
713
692
|
title: i18nRuntime.i18n("99c74120cc62f4bf31d661e3212b7121"),
|
714
693
|
tab: [{
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import type { SchemaObject, SchemaCollection, SchemaApi } from 'amis
|
2
|
+
import type { SchemaObject, SchemaCollection, SchemaApi } from 'amis';
|
3
3
|
import type { FormControlProps } from 'amis-core';
|
4
|
-
import type { ActionSchema } from 'amis
|
4
|
+
import type { ActionSchema } from 'amis';
|
5
5
|
export interface APIControlProps extends FormControlProps {
|
6
6
|
name?: string;
|
7
7
|
label?: string;
|
@@ -127,9 +127,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
127
127
|
description?: undefined;
|
128
128
|
disabled?: undefined;
|
129
129
|
pipeIn?: undefined;
|
130
|
-
/**
|
131
|
-
* Picker绑定的Name
|
132
|
-
*/
|
133
130
|
pipeOut?: undefined;
|
134
131
|
min?: undefined;
|
135
132
|
step?: undefined;
|
@@ -150,9 +147,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
150
147
|
description?: undefined;
|
151
148
|
disabled?: undefined;
|
152
149
|
pipeIn?: undefined;
|
153
|
-
/**
|
154
|
-
* Picker绑定的Name
|
155
|
-
*/
|
156
150
|
pipeOut?: undefined;
|
157
151
|
min?: undefined;
|
158
152
|
step?: undefined;
|
@@ -173,9 +167,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
173
167
|
required?: undefined;
|
174
168
|
disabled?: undefined;
|
175
169
|
pipeIn?: undefined;
|
176
|
-
/**
|
177
|
-
* Picker绑定的Name
|
178
|
-
*/
|
179
170
|
pipeOut?: undefined;
|
180
171
|
min?: undefined;
|
181
172
|
step?: undefined;
|
@@ -199,9 +190,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
199
190
|
placeholder?: undefined;
|
200
191
|
required?: undefined;
|
201
192
|
pipeIn?: undefined;
|
202
|
-
/**
|
203
|
-
* Picker绑定的Name
|
204
|
-
*/
|
205
193
|
pipeOut?: undefined;
|
206
194
|
min?: undefined;
|
207
195
|
step?: undefined;
|
@@ -245,9 +233,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
245
233
|
placeholder?: undefined;
|
246
234
|
required?: undefined;
|
247
235
|
disabled?: undefined;
|
248
|
-
/**
|
249
|
-
* Picker绑定的Name
|
250
|
-
*/
|
251
236
|
pipeOut?: undefined;
|
252
237
|
direction?: undefined;
|
253
238
|
body?: undefined;
|
@@ -285,9 +270,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
285
270
|
required?: undefined;
|
286
271
|
disabled?: undefined;
|
287
272
|
pipeIn?: undefined;
|
288
|
-
/**
|
289
|
-
* Picker绑定的Name
|
290
|
-
*/
|
291
273
|
pipeOut?: undefined;
|
292
274
|
min?: undefined;
|
293
275
|
step?: undefined;
|
@@ -343,9 +325,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
343
325
|
description?: undefined;
|
344
326
|
disabled?: undefined;
|
345
327
|
pipeIn?: undefined;
|
346
|
-
/**
|
347
|
-
* Picker绑定的Name
|
348
|
-
*/
|
349
328
|
pipeOut?: undefined;
|
350
329
|
min?: undefined;
|
351
330
|
step?: undefined;
|
@@ -385,9 +364,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
385
364
|
required?: undefined;
|
386
365
|
disabled?: undefined;
|
387
366
|
pipeIn?: undefined;
|
388
|
-
/**
|
389
|
-
* Picker绑定的Name
|
390
|
-
*/
|
391
367
|
pipeOut?: undefined;
|
392
368
|
min?: undefined;
|
393
369
|
direction?: undefined;
|
@@ -407,9 +383,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
407
383
|
required?: undefined;
|
408
384
|
disabled?: undefined;
|
409
385
|
pipeIn?: undefined;
|
410
|
-
/**
|
411
|
-
* Picker绑定的Name
|
412
|
-
*/
|
413
386
|
pipeOut?: undefined;
|
414
387
|
min?: undefined;
|
415
388
|
step?: undefined;
|
@@ -433,9 +406,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
433
406
|
description?: undefined;
|
434
407
|
disabled?: undefined;
|
435
408
|
pipeIn?: undefined;
|
436
|
-
/**
|
437
|
-
* Picker绑定的Name
|
438
|
-
*/
|
439
409
|
pipeOut?: undefined;
|
440
410
|
min?: undefined;
|
441
411
|
step?: undefined;
|
@@ -444,161 +414,12 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
444
414
|
})[];
|
445
415
|
} | {
|
446
416
|
title: string;
|
447
|
-
tab:
|
448
|
-
type: string;
|
449
|
-
title: string;
|
450
|
-
headingClassName: string;
|
451
|
-
body: ({
|
452
|
-
type: string;
|
453
|
-
label: any;
|
454
|
-
name: string;
|
455
|
-
mode: string;
|
456
|
-
pipeIn: (value: any) => boolean;
|
457
|
-
pipeOut: (value: any) => {
|
458
|
-
'&': string;
|
459
|
-
} | null;
|
460
|
-
syncDefaultValue?: undefined;
|
461
|
-
renderLabel?: undefined;
|
462
|
-
visibleOn?: undefined;
|
463
|
-
descriptionClassName?: undefined;
|
464
|
-
description?: undefined;
|
465
|
-
multiple?: undefined;
|
466
|
-
items?: undefined;
|
467
|
-
horizontal?: undefined;
|
468
|
-
clasName?: undefined;
|
469
|
-
allowFullscreen?: undefined;
|
470
|
-
} | {
|
471
|
-
type: string;
|
472
|
-
syncDefaultValue: boolean;
|
473
|
-
name: string;
|
474
|
-
mode: string;
|
475
|
-
renderLabel: boolean;
|
476
|
-
visibleOn: string;
|
477
|
-
descriptionClassName: string;
|
478
|
-
description: string;
|
479
|
-
multiple: boolean;
|
480
|
-
pipeIn: (value: any) => any;
|
481
|
-
pipeOut: (value: any) => any;
|
482
|
-
items: ({
|
483
|
-
placeholder: string;
|
484
|
-
type: string;
|
485
|
-
unique: boolean;
|
486
|
-
name: string;
|
487
|
-
required: boolean;
|
488
|
-
} | {
|
489
|
-
placeholder: string;
|
490
|
-
type: string;
|
491
|
-
name: string;
|
492
|
-
unique?: undefined;
|
493
|
-
required?: undefined;
|
494
|
-
})[];
|
495
|
-
label?: undefined;
|
496
|
-
horizontal?: undefined;
|
497
|
-
clasName?: undefined;
|
498
|
-
allowFullscreen?: undefined;
|
499
|
-
} | {
|
500
|
-
type: string;
|
501
|
-
syncDefaultValue: boolean;
|
502
|
-
name: string;
|
503
|
-
mode: string;
|
504
|
-
renderLabel: boolean;
|
505
|
-
visibleOn: string;
|
506
|
-
descriptionClassName: string;
|
507
|
-
multiple: boolean;
|
508
|
-
pipeIn: (value: any) => any;
|
509
|
-
pipeOut: (value: any) => any;
|
510
|
-
items: ({
|
511
|
-
placeholder: string;
|
512
|
-
type: string;
|
513
|
-
unique: boolean;
|
514
|
-
name: string;
|
515
|
-
required: boolean;
|
516
|
-
} | {
|
517
|
-
placeholder: string;
|
518
|
-
type: string;
|
519
|
-
name: string;
|
520
|
-
unique?: undefined;
|
521
|
-
required?: undefined;
|
522
|
-
})[];
|
523
|
-
label?: undefined;
|
524
|
-
description?: undefined;
|
525
|
-
horizontal?: undefined;
|
526
|
-
clasName?: undefined;
|
527
|
-
allowFullscreen?: undefined;
|
528
|
-
} | {
|
529
|
-
label: string;
|
530
|
-
name: string;
|
531
|
-
type: string;
|
532
|
-
mode: string;
|
533
|
-
horizontal: {
|
534
|
-
justify: boolean;
|
535
|
-
};
|
536
|
-
clasName: string;
|
537
|
-
allowFullscreen: boolean;
|
538
|
-
description: string;
|
539
|
-
pipeIn?: undefined;
|
540
|
-
/**
|
541
|
-
* Picker绑定的Name
|
542
|
-
*/
|
543
|
-
pipeOut?: undefined;
|
544
|
-
syncDefaultValue?: undefined;
|
545
|
-
renderLabel?: undefined;
|
546
|
-
visibleOn?: undefined;
|
547
|
-
descriptionClassName?: undefined;
|
548
|
-
multiple?: undefined;
|
549
|
-
items?: undefined;
|
550
|
-
})[];
|
551
|
-
} | {
|
417
|
+
tab: {
|
552
418
|
type: string;
|
553
419
|
title: string;
|
554
420
|
headingClassName: string;
|
555
|
-
body:
|
556
|
-
|
557
|
-
label: any;
|
558
|
-
name: string;
|
559
|
-
mode: string;
|
560
|
-
className: string;
|
561
|
-
pipeIn: (value: any) => boolean;
|
562
|
-
pipeOut: (value: any) => {
|
563
|
-
'': string;
|
564
|
-
} | null;
|
565
|
-
syncDefaultValue?: undefined;
|
566
|
-
multiple?: undefined;
|
567
|
-
visibleOn?: undefined;
|
568
|
-
items?: undefined;
|
569
|
-
} | {
|
570
|
-
type: string;
|
571
|
-
name: string;
|
572
|
-
mode: string;
|
573
|
-
syncDefaultValue: boolean;
|
574
|
-
multiple: boolean;
|
575
|
-
visibleOn: string;
|
576
|
-
items: ({
|
577
|
-
type: string;
|
578
|
-
name: string;
|
579
|
-
placeholder: string;
|
580
|
-
unique: boolean;
|
581
|
-
required: boolean;
|
582
|
-
options: {
|
583
|
-
label: string;
|
584
|
-
value: string;
|
585
|
-
}[];
|
586
|
-
disabled?: undefined;
|
587
|
-
} | {
|
588
|
-
type: string;
|
589
|
-
name: string;
|
590
|
-
placeholder: string;
|
591
|
-
disabled: boolean;
|
592
|
-
unique?: undefined;
|
593
|
-
required?: undefined;
|
594
|
-
options?: undefined;
|
595
|
-
})[];
|
596
|
-
pipeIn: (value: any) => any;
|
597
|
-
pipeOut: (value: any) => any;
|
598
|
-
label?: undefined;
|
599
|
-
className?: undefined;
|
600
|
-
})[];
|
601
|
-
})[];
|
421
|
+
body: any[];
|
422
|
+
}[];
|
602
423
|
} | {
|
603
424
|
title: string;
|
604
425
|
tab: {
|
@@ -648,9 +469,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
648
469
|
description?: undefined;
|
649
470
|
disabled?: undefined;
|
650
471
|
pipeIn?: undefined;
|
651
|
-
/**
|
652
|
-
* Picker绑定的Name
|
653
|
-
*/
|
654
472
|
pipeOut?: undefined;
|
655
473
|
min?: undefined;
|
656
474
|
step?: undefined;
|
@@ -671,9 +489,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
671
489
|
description?: undefined;
|
672
490
|
disabled?: undefined;
|
673
491
|
pipeIn?: undefined;
|
674
|
-
/**
|
675
|
-
* Picker绑定的Name
|
676
|
-
*/
|
677
492
|
pipeOut?: undefined;
|
678
493
|
min?: undefined;
|
679
494
|
step?: undefined;
|
@@ -694,9 +509,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
694
509
|
required?: undefined;
|
695
510
|
disabled?: undefined;
|
696
511
|
pipeIn?: undefined;
|
697
|
-
/**
|
698
|
-
* Picker绑定的Name
|
699
|
-
*/
|
700
512
|
pipeOut?: undefined;
|
701
513
|
min?: undefined;
|
702
514
|
step?: undefined;
|
@@ -720,9 +532,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
720
532
|
placeholder?: undefined;
|
721
533
|
required?: undefined;
|
722
534
|
pipeIn?: undefined;
|
723
|
-
/**
|
724
|
-
* Picker绑定的Name
|
725
|
-
*/
|
726
535
|
pipeOut?: undefined;
|
727
536
|
min?: undefined;
|
728
537
|
step?: undefined;
|
@@ -766,9 +575,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
766
575
|
placeholder?: undefined;
|
767
576
|
required?: undefined;
|
768
577
|
disabled?: undefined;
|
769
|
-
/**
|
770
|
-
* Picker绑定的Name
|
771
|
-
*/
|
772
578
|
pipeOut?: undefined;
|
773
579
|
direction?: undefined;
|
774
580
|
body?: undefined;
|
@@ -806,9 +612,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
806
612
|
required?: undefined;
|
807
613
|
disabled?: undefined;
|
808
614
|
pipeIn?: undefined;
|
809
|
-
/**
|
810
|
-
* Picker绑定的Name
|
811
|
-
*/
|
812
615
|
pipeOut?: undefined;
|
813
616
|
min?: undefined;
|
814
617
|
step?: undefined;
|
@@ -864,9 +667,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
864
667
|
description?: undefined;
|
865
668
|
disabled?: undefined;
|
866
669
|
pipeIn?: undefined;
|
867
|
-
/**
|
868
|
-
* Picker绑定的Name
|
869
|
-
*/
|
870
670
|
pipeOut?: undefined;
|
871
671
|
min?: undefined;
|
872
672
|
step?: undefined;
|
@@ -906,9 +706,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
906
706
|
required?: undefined;
|
907
707
|
disabled?: undefined;
|
908
708
|
pipeIn?: undefined;
|
909
|
-
/**
|
910
|
-
* Picker绑定的Name
|
911
|
-
*/
|
912
709
|
pipeOut?: undefined;
|
913
710
|
min?: undefined;
|
914
711
|
direction?: undefined;
|
@@ -928,9 +725,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
928
725
|
required?: undefined;
|
929
726
|
disabled?: undefined;
|
930
727
|
pipeIn?: undefined;
|
931
|
-
/**
|
932
|
-
* Picker绑定的Name
|
933
|
-
*/
|
934
728
|
pipeOut?: undefined;
|
935
729
|
min?: undefined;
|
936
730
|
step?: undefined;
|
@@ -954,9 +748,6 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
954
748
|
description?: undefined;
|
955
749
|
disabled?: undefined;
|
956
750
|
pipeIn?: undefined;
|
957
|
-
/**
|
958
|
-
* Picker绑定的Name
|
959
|
-
*/
|
960
751
|
pipeOut?: undefined;
|
961
752
|
min?: undefined;
|
962
753
|
step?: undefined;
|
@@ -965,161 +756,12 @@ export default class APIControl extends React.Component<APIControlProps, APICont
|
|
965
756
|
})[];
|
966
757
|
} | {
|
967
758
|
title: string;
|
968
|
-
tab:
|
969
|
-
type: string;
|
970
|
-
title: string;
|
971
|
-
headingClassName: string;
|
972
|
-
body: ({
|
973
|
-
type: string;
|
974
|
-
label: any;
|
975
|
-
name: string;
|
976
|
-
mode: string;
|
977
|
-
pipeIn: (value: any) => boolean;
|
978
|
-
pipeOut: (value: any) => {
|
979
|
-
'&': string;
|
980
|
-
} | null;
|
981
|
-
syncDefaultValue?: undefined;
|
982
|
-
renderLabel?: undefined;
|
983
|
-
visibleOn?: undefined;
|
984
|
-
descriptionClassName?: undefined;
|
985
|
-
description?: undefined;
|
986
|
-
multiple?: undefined;
|
987
|
-
items?: undefined;
|
988
|
-
horizontal?: undefined;
|
989
|
-
clasName?: undefined;
|
990
|
-
allowFullscreen?: undefined;
|
991
|
-
} | {
|
992
|
-
type: string;
|
993
|
-
syncDefaultValue: boolean;
|
994
|
-
name: string;
|
995
|
-
mode: string;
|
996
|
-
renderLabel: boolean;
|
997
|
-
visibleOn: string;
|
998
|
-
descriptionClassName: string;
|
999
|
-
description: string;
|
1000
|
-
multiple: boolean;
|
1001
|
-
pipeIn: (value: any) => any;
|
1002
|
-
pipeOut: (value: any) => any;
|
1003
|
-
items: ({
|
1004
|
-
placeholder: string;
|
1005
|
-
type: string;
|
1006
|
-
unique: boolean;
|
1007
|
-
name: string;
|
1008
|
-
required: boolean;
|
1009
|
-
} | {
|
1010
|
-
placeholder: string;
|
1011
|
-
type: string;
|
1012
|
-
name: string;
|
1013
|
-
unique?: undefined;
|
1014
|
-
required?: undefined;
|
1015
|
-
})[];
|
1016
|
-
label?: undefined;
|
1017
|
-
horizontal?: undefined;
|
1018
|
-
clasName?: undefined;
|
1019
|
-
allowFullscreen?: undefined;
|
1020
|
-
} | {
|
1021
|
-
type: string;
|
1022
|
-
syncDefaultValue: boolean;
|
1023
|
-
name: string;
|
1024
|
-
mode: string;
|
1025
|
-
renderLabel: boolean;
|
1026
|
-
visibleOn: string;
|
1027
|
-
descriptionClassName: string;
|
1028
|
-
multiple: boolean;
|
1029
|
-
pipeIn: (value: any) => any;
|
1030
|
-
pipeOut: (value: any) => any;
|
1031
|
-
items: ({
|
1032
|
-
placeholder: string;
|
1033
|
-
type: string;
|
1034
|
-
unique: boolean;
|
1035
|
-
name: string;
|
1036
|
-
required: boolean;
|
1037
|
-
} | {
|
1038
|
-
placeholder: string;
|
1039
|
-
type: string;
|
1040
|
-
name: string;
|
1041
|
-
unique?: undefined;
|
1042
|
-
required?: undefined;
|
1043
|
-
})[];
|
1044
|
-
label?: undefined;
|
1045
|
-
description?: undefined;
|
1046
|
-
horizontal?: undefined;
|
1047
|
-
clasName?: undefined;
|
1048
|
-
allowFullscreen?: undefined;
|
1049
|
-
} | {
|
1050
|
-
label: string;
|
1051
|
-
name: string;
|
1052
|
-
type: string;
|
1053
|
-
mode: string;
|
1054
|
-
horizontal: {
|
1055
|
-
justify: boolean;
|
1056
|
-
};
|
1057
|
-
clasName: string;
|
1058
|
-
allowFullscreen: boolean;
|
1059
|
-
description: string;
|
1060
|
-
pipeIn?: undefined;
|
1061
|
-
/**
|
1062
|
-
* Picker绑定的Name
|
1063
|
-
*/
|
1064
|
-
pipeOut?: undefined;
|
1065
|
-
syncDefaultValue?: undefined;
|
1066
|
-
renderLabel?: undefined;
|
1067
|
-
visibleOn?: undefined;
|
1068
|
-
descriptionClassName?: undefined;
|
1069
|
-
multiple?: undefined;
|
1070
|
-
items?: undefined;
|
1071
|
-
})[];
|
1072
|
-
} | {
|
759
|
+
tab: {
|
1073
760
|
type: string;
|
1074
761
|
title: string;
|
1075
762
|
headingClassName: string;
|
1076
|
-
body:
|
1077
|
-
|
1078
|
-
label: any;
|
1079
|
-
name: string;
|
1080
|
-
mode: string;
|
1081
|
-
className: string;
|
1082
|
-
pipeIn: (value: any) => boolean;
|
1083
|
-
pipeOut: (value: any) => {
|
1084
|
-
'': string;
|
1085
|
-
} | null;
|
1086
|
-
syncDefaultValue?: undefined;
|
1087
|
-
multiple?: undefined;
|
1088
|
-
visibleOn?: undefined;
|
1089
|
-
items?: undefined;
|
1090
|
-
} | {
|
1091
|
-
type: string;
|
1092
|
-
name: string;
|
1093
|
-
mode: string;
|
1094
|
-
syncDefaultValue: boolean;
|
1095
|
-
multiple: boolean;
|
1096
|
-
visibleOn: string;
|
1097
|
-
items: ({
|
1098
|
-
type: string;
|
1099
|
-
name: string;
|
1100
|
-
placeholder: string;
|
1101
|
-
unique: boolean;
|
1102
|
-
required: boolean;
|
1103
|
-
options: {
|
1104
|
-
label: string;
|
1105
|
-
value: string;
|
1106
|
-
}[];
|
1107
|
-
disabled?: undefined;
|
1108
|
-
} | {
|
1109
|
-
type: string;
|
1110
|
-
name: string;
|
1111
|
-
placeholder: string;
|
1112
|
-
disabled: boolean;
|
1113
|
-
unique?: undefined;
|
1114
|
-
required?: undefined;
|
1115
|
-
options?: undefined;
|
1116
|
-
})[];
|
1117
|
-
pipeIn: (value: any) => any;
|
1118
|
-
pipeOut: (value: any) => any;
|
1119
|
-
label?: undefined;
|
1120
|
-
className?: undefined;
|
1121
|
-
})[];
|
1122
|
-
})[];
|
763
|
+
body: any[];
|
764
|
+
}[];
|
1123
765
|
} | {
|
1124
766
|
title: string;
|
1125
767
|
tab: {
|
@@ -3,7 +3,7 @@
|
|
3
3
|
*/
|
4
4
|
import React from 'react';
|
5
5
|
import type { FormControlProps } from 'amis-core';
|
6
|
-
import type { SchemaExpression } from 'amis
|
6
|
+
import type { SchemaExpression } from 'amis';
|
7
7
|
export interface BadgeControlProps extends FormControlProps {
|
8
8
|
/**
|
9
9
|
* 角标类型
|
@@ -71,12 +71,12 @@ export default class BadgeControl extends React.Component<BadgeControlProps, Bad
|
|
71
71
|
style?: {
|
72
72
|
[propName: string]: any;
|
73
73
|
} | undefined;
|
74
|
-
visibleOn?: any;
|
75
74
|
text?: string | number | undefined;
|
76
|
-
mode?: "text" | "dot" | "ribbon" | undefined;
|
77
75
|
level?: any;
|
78
|
-
|
76
|
+
visibleOn?: any;
|
77
|
+
mode?: "text" | "dot" | "ribbon" | undefined;
|
79
78
|
position?: "top-right" | "top-left" | "bottom-left" | "bottom-right" | undefined;
|
79
|
+
animation?: boolean | undefined;
|
80
80
|
overflowCount?: number | undefined;
|
81
81
|
} | {
|
82
82
|
offset: [number, number];
|
@@ -84,12 +84,12 @@ export default class BadgeControl extends React.Component<BadgeControlProps, Bad
|
|
84
84
|
style?: {
|
85
85
|
[propName: string]: any;
|
86
86
|
} | undefined;
|
87
|
-
visibleOn?: any;
|
88
87
|
text?: string | number | undefined;
|
89
|
-
mode?: "text" | "dot" | "ribbon" | undefined;
|
90
88
|
level?: any;
|
91
|
-
|
89
|
+
visibleOn?: any;
|
90
|
+
mode?: "text" | "dot" | "ribbon" | undefined;
|
92
91
|
position?: "top-right" | "top-left" | "bottom-left" | "bottom-right" | undefined;
|
92
|
+
animation?: boolean | undefined;
|
93
93
|
overflowCount?: number | undefined;
|
94
94
|
};
|
95
95
|
handleSwitchChange(checked: boolean): void;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
2
|
+
* amis-editor v5.3.0
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -41,11 +41,17 @@ var BadgeControl = /** @class */function (_super) {
|
|
41
41
|
}
|
42
42
|
};
|
43
43
|
BadgeControl.prototype.transformBadgeValue = function () {
|
44
|
-
var _a, _b;
|
45
|
-
var
|
44
|
+
var _a, _b, _c, _d;
|
45
|
+
var _e = this.props,
|
46
|
+
ctx = _e.data,
|
47
|
+
node = _e.node;
|
46
48
|
var badge = (_a = ctx === null || ctx === void 0 ? void 0 : ctx.badge) !== null && _a !== void 0 ? _a : {};
|
47
49
|
// 避免获取到上层的size
|
48
50
|
var size = (_b = ctx === null || ctx === void 0 ? void 0 : ctx.badge) === null || _b === void 0 ? void 0 : _b.size;
|
51
|
+
if (node.type === 'button-group-select') {
|
52
|
+
badge = (_d = (_c = ctx === null || ctx === void 0 ? void 0 : ctx.option) === null || _c === void 0 ? void 0 : _c.badge) !== null && _d !== void 0 ? _d : {};
|
53
|
+
size = badge === null || badge === void 0 ? void 0 : badge.size;
|
54
|
+
}
|
49
55
|
var offset = [0, 0];
|
50
56
|
// 转换成combo可以识别的格式
|
51
57
|
if (Array.isArray(badge === null || badge === void 0 ? void 0 : badge.offset) && (badge === null || badge === void 0 ? void 0 : badge.offset.length) >= 2) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
2
|
+
* amis-editor v5.3.0
|
3
3
|
* Copyright 2018-2023 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -37,7 +37,7 @@ var ButtonGroupControl = /** @class */ (function (_super) {
|
|
37
37
|
}
|
38
38
|
ButtonGroupControlRenderer = tslib.__decorate([
|
39
39
|
amis.FormItem({
|
40
|
-
type: 'button-
|
40
|
+
type: 'icon-button-group'
|
41
41
|
})
|
42
42
|
], ButtonGroupControlRenderer);
|
43
43
|
return ButtonGroupControlRenderer;
|
@@ -1,8 +1,9 @@
|
|
1
1
|
/// <reference types="lodash" />
|
2
2
|
import { FormControlProps, RendererProps } from 'amis-core';
|
3
3
|
import React from 'react';
|
4
|
-
import { EditorManager, EditorNodeType
|
5
|
-
import {
|
4
|
+
import { EditorManager, EditorNodeType } from 'amis-editor-core';
|
5
|
+
import type { DSField, DSFieldGroup } from 'amis-editor-core';
|
6
|
+
import type { SchemaCollection } from 'amis';
|
6
7
|
export interface DataBindingProps extends FormControlProps {
|
7
8
|
node: EditorNodeType;
|
8
9
|
manager: EditorManager;
|