amis-editor 5.5.0 → 5.6.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
package/esm/locale/en-US.js
CHANGED
@@ -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
|
|
@@ -3357,5 +3357,88 @@ extendLocale('en-US', {
|
|
3357
3357
|
'60e237a1b5e9a4cc3633898d527d5a38': 'Label width',
|
3358
3358
|
'813a5158d9f7171d20e7df340c5b48f9': 'Component Context',
|
3359
3359
|
'8b3fd9147a07d27ad95c0ba2594fb67a': 'Current data field {{@1}}',
|
3360
|
-
'0383d6f467ed0dd89860a7b8cc793ce9': 'Upper {{@1}} layer {{@2}}'
|
3360
|
+
'0383d6f467ed0dd89860a7b8cc793ce9': 'Upper {{@1}} layer {{@2}}',
|
3361
|
+
'c8b9dbab4a3e3ad283d3d95a1663cd68': 'Current row record: {{@1}}',
|
3362
|
+
'eabda74dd2ac5b4e6eab9229e0e63f79': 'The interface can return the complete configuration of the Echart chart or chart data. It is recommended to map the returned chart data to the Echarts configuration',
|
3363
|
+
'59688d1a484179aef8edc0ccbabb9fc1': 'Trace expression',
|
3364
|
+
'3fd81a573ea309b203ab019c1aa95a2c': 'If the value of this expression changes, the chart will be updated, which is useful when data mapping is used in config',
|
3365
|
+
'd0d852432ce09f627e6ae471b3f86b0a': 'Data Filter',
|
3366
|
+
'd4682dbfe2631fbeacce0242e3d6e259': 'If the backend does not directly return Echart configuration, you can write a function to wrap it yourself< p> Signature: (config, eccharts, data)=>config</p><p>Parameter Description</p><ul><li><code>config</code>Raw Data</li><li><code>eccharts</code>eccharts object</li><li><code>data</code>If a data interface is configured, The data returned by the interface is passed into the</li></ul><p>example</p><pre>debugger through this variable// Browser breakpoint debugging is possible//View the original data console. log (config)//Return a new result {}</pre>',
|
3367
|
+
'e8f96ea47cb322f4f1a4c938c7b155ac': 'The default is append mode, and the new configuration will be merged with the old configuration. If checked, it will be directly overwritten completely',
|
3368
|
+
'e732f4c0d8075670b6c75cc52bd1f7d5': 'Chart Drill Down',
|
3369
|
+
'00958a92c5804d56047c18fc206382e1': 'Width and height settings',
|
3370
|
+
'b3e991d11b9f0ee04f55627c62d4fcba': 'The default height is 300px, and the value unit is px. It also supports units such as percentage, such as 100%',
|
3371
|
+
'8e5ff4f20463c03f7935e0627888c03c': 'Folding state change',
|
3372
|
+
'bcfcd9d31a7a469fa1f3a2ea9e3e3f89': 'Triggered when the folding state of the folding device changes',
|
3373
|
+
'0e8638286319f6efb0afe2616714e8c3': 'Folder status',
|
3374
|
+
'd2fa917958506736ea39edbef5e1cea5': 'Triggered when the folding status of the folding panel changes',
|
3375
|
+
'58164864ad00f5d134f304d309055eda': 'Current expanded index list',
|
3376
|
+
'44732aa2566399b71483e63252d3dbc7': 'Folder Index',
|
3377
|
+
'b4875c6e5e3dd45e5c5318bf6e1ee089': 'Custom CSS Class Name',
|
3378
|
+
'38cf16f2204ffab8a6e0187070558721': 'determine',
|
3379
|
+
'23b3169341314eda02d860be90ebf487': 'Select All Text',
|
3380
|
+
'86ed196f63524be7775e5a01b0152793': 'Label alignment',
|
3381
|
+
'cc6c35a3e0f97fb9747905dc13e9b625': 'code',
|
3382
|
+
'936b62c222fcf6ba10fde069212fcf97': '省份编码',
|
3383
|
+
'd7009d07f04d208f84e6c343fbc80ab7': 'Province Code',
|
3384
|
+
'e982852e24060d47f29be600837b675a': 'City Code',
|
3385
|
+
'0dad46b34f0ddc802bce0351dc4745eb': 'region code',
|
3386
|
+
'd3ce40d862f1c7e4748e6c28ffb0a007': 'region',
|
3387
|
+
'716c3dc1bd990ccebc4fee34eb9171cf': 'street',
|
3388
|
+
'7650487a8758fd50c87d6c9cff0aa5ac': 'address',
|
3389
|
+
'3d18ca01ddd1b95e982ec44ffcda8165': 'longitude',
|
3390
|
+
'6acaee71fe6a23c17f18625df01bab23': 'latitude',
|
3391
|
+
'40d58bb6ac9888b0c672f5bcff74da25': 'vendor',
|
3392
|
+
'542241c52bd2efb24dc37b32cab2329c': 'Select All Columns',
|
3393
|
+
'd94ec7663ac9ad2d09fca5c86928b434': 'Column level all selection function',
|
3394
|
+
'7020fa7949a5ae24cc8eb696772d97fc': 'Select All Rows',
|
3395
|
+
'227c24282ff52f3f6f52dfdb853cc1ad': 'Row level all selection function',
|
3396
|
+
'83a60f8b752a1ef3ce6a240388d635aa': 'By default, when selecting all is enabled, align to the left',
|
3397
|
+
'316a639631f712780829a202258ec3cc': 'algin left',
|
3398
|
+
'e2aaec83377244c9d15f78f51cccfe6f': 'algin right',
|
3399
|
+
'087e631da111edc6db508289a7b5a95b': 'Assign different value ranges and prompt users with different colors. If only one color is configured without a value, the default value is 100',
|
3400
|
+
'3b4bcc788ee92004cae962801b471b8d': 'Custom Title Display Template',
|
3401
|
+
'2328f91f1e160de6a06c2004d49ec53b': 'Configure Title Display Template',
|
3402
|
+
'11e6dfd7d3fcb0892c2cecb6d7549102': 'Please edit the title content',
|
3403
|
+
'3d95415ee75837db2660255ea1ca1b9b': 'Time Zone',
|
3404
|
+
'2fe3c5280ea644639bc6378bcecc8b27': 'Details area',
|
3405
|
+
'404f38ae7ac36860c0b3af6f2f4a13f9': 'Menu name is required',
|
3406
|
+
'822be91778b5ac22d31681f7256b849b': 'Cannot drag a menu inside itself',
|
3407
|
+
'088b54ee8f10a43977afa9d16ea5350f': 'Customize Menu',
|
3408
|
+
'cd1e63aed43df0827cc09fb26521936c': 'Edit menu item',
|
3409
|
+
'648c5e847b923bdd51bf5c72436169ba': 'Add Menu Item',
|
3410
|
+
'8ee9f276a6356aab65f8178c4f30fabd': 'menu name',
|
3411
|
+
'e3cc5bd7fc92d7287a14bf5398c4ecc3': 'Parent Menu',
|
3412
|
+
'24ceb2a06b1962b396b75286fc0960d1': 'Please select. If not selected, it will default to the first level menu',
|
3413
|
+
'9483042d09dbad731addc1791b5d207d': 'Menu icon',
|
3414
|
+
'6107b3c4fd8587589210cb9fe2fcdad9': 'Please enter the address',
|
3415
|
+
'76b5162d1b7a16b4b6adf1b79231c96a': 'Jump Method',
|
3416
|
+
'b2d1bffc689e4478519d8a010450192c': 'Expand Current Page',
|
3417
|
+
'80fb2db8d3f212b3dd130d24da1c970e': 'New Tab Open',
|
3418
|
+
'70b4d0676f9a9640c5a7b1d5f66faa64': 'Content of corner markers',
|
3419
|
+
'9f3cdf6aa12759fab68a5a88179462c4': 'If empty, do not display corner markers',
|
3420
|
+
'0e7bb2c7879f0a34c02f547820b0b0b3': 'Error Ignored',
|
3421
|
+
'5d9fe78268b03e8aa41ac316ef610d9a': 'When an action error occurs, do you ignore the error and continue executing',
|
3422
|
+
'c0d5d68f5f1cc399311e92905ed2fa80': 'ignore',
|
3423
|
+
'a165be161ac250720f6f25820dd2a5b3': 'Do not ignore',
|
3424
|
+
'9cdfce42ef0fa346511538131e51328f': 'Presets',
|
3425
|
+
'17817a4d2da41f4261f4155ada59e395': '<%= data.ignoreError === false ? "Interrupt both component not found and action execution failure" : typeof data.ignoreError === "undefined" ? "Component tolerance not found, action execution failed before interruption" : ""%>',
|
3426
|
+
'139c619a4dbfc26fb61d76dc388e3e7d': 'Request Results',
|
3427
|
+
'0eb4e63db88e158600dab0e723e8a213': 'Requesting data again',
|
3428
|
+
'f16654604d6cb2f62469e5aa9db19871': 'If sending data is enabled, the configuration data will be sent to the target component first, and then the data will be requested again.',
|
3429
|
+
'a0c117d927c6290bab55ae0e848a4d4b': 'After turning on "Send Data", the configured data will be sent to the target component, which will be merged or overwritten with the target component data field',
|
3430
|
+
'eb6cd21b9ed45ded3ecdb12f62b590e1': 'Data processing method',
|
3431
|
+
'ac24ffeb131a7a9d2465b3ba7b14e10c': 'Submit Results',
|
3432
|
+
'0e3517fb21e2c4066bd0ab75c51bc6fb': 'Please enter the name of the variable that stores the submission results',
|
3433
|
+
'0e2ba6becfa8760853cfa31c9e15a94b': 'If you need to perform multiple form submissions, you can modify this variable name to distinguish different submission results',
|
3434
|
+
'4604d5023479171cb6e901dbeccf62c0': 'error message',
|
3435
|
+
'71f6236494bfc8b023804abb0cca1639': 'Error details',
|
3436
|
+
'4e6bfc5ad98f719f9bc6b2ad3b6440ee': 'Response data for submitting requests',
|
3437
|
+
'bf0f829689370b36d01ce871324e0bb6': 'Verification results',
|
3438
|
+
'd23157205c994bde20bb2605c193fd27': 'Please enter the name of the variable that stores the verification results',
|
3439
|
+
'a422eb12ebbfdd3347c4deb5ec6b4b54': 'If multiple form validations need to be performed, this variable name can be modified to distinguish different validation results',
|
3440
|
+
'e276a94ff48c08233fcb8b38335ad160': 'Additional fields',
|
3441
|
+
'513442a944a943c0d68283d08934f13a': 'Save as two fields',
|
3442
|
+
'6beb3a65798be5e96907c0cbec04f74b': 'After opening, save the selected range into two separate fields',
|
3443
|
+
'fa66d1acaef7cd181f21f5fc2895becc': 'Enabling strict mode will adopt strict equality comparison of values'
|
3361
3444
|
});
|
package/esm/locale/zh-CN.js
CHANGED
@@ -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
|
|
@@ -2240,8 +2240,8 @@ extendLocale('zh-CN', {
|
|
2240
2240
|
'5e75800641ec5c1198092bcf9d34f180': '控制所选的组件的启用/禁用',
|
2241
2241
|
'7854b52a889b3ef0590d9f542efeb4c8': '启用',
|
2242
2242
|
'd86d5919f595226b7a1e8264635ca23d': '启用/禁用',
|
2243
|
-
'c5a9b6e8c522de8a14ad7fab51c1a1e3': '
|
2244
|
-
'be4b778e7f5aa6aa5a811d7db4e1a8b3': '
|
2243
|
+
'c5a9b6e8c522de8a14ad7fab51c1a1e3': '重新请求数据',
|
2244
|
+
'be4b778e7f5aa6aa5a811d7db4e1a8b3': '如果开启发送数据,会先发送配置数据到目标组件,然后重新请求数据。',
|
2245
2245
|
'694fc5efa9e1d1c2c5eb6525e1c7fb29': '刷新',
|
2246
2246
|
'ea4d3723b350b2cb8f4c1a615e1b7df1': '设置组件数据',
|
2247
2247
|
'cb7add16ba6f0cd65d5ddcad71359813': '设置数据容器或表单项的数据',
|
@@ -3303,5 +3303,88 @@ extendLocale('zh-CN', {
|
|
3303
3303
|
'60e237a1b5e9a4cc3633898d527d5a38': '标签宽度',
|
3304
3304
|
'813a5158d9f7171d20e7df340c5b48f9': '组件上下文',
|
3305
3305
|
'8b3fd9147a07d27ad95c0ba2594fb67a': '当前数据域{{@1}}',
|
3306
|
-
'0383d6f467ed0dd89860a7b8cc793ce9': '上{{@1}}层{{@2}}'
|
3306
|
+
'0383d6f467ed0dd89860a7b8cc793ce9': '上{{@1}}层{{@2}}',
|
3307
|
+
'c8b9dbab4a3e3ad283d3d95a1663cd68': '当前行记录 : {{@1}}',
|
3308
|
+
'eabda74dd2ac5b4e6eab9229e0e63f79': '接口可以返回echart图表完整配置,或者图表数据,建议返回图表数据映射到 Echarts 配置中',
|
3309
|
+
'59688d1a484179aef8edc0ccbabb9fc1': '跟踪表达式',
|
3310
|
+
'3fd81a573ea309b203ab019c1aa95a2c': '如果这个表达式的值有变化时会更新图表,当 config 中用了数据映射时有用',
|
3311
|
+
'd0d852432ce09f627e6ae471b3f86b0a': '数据映射(dataFilter)',
|
3312
|
+
'd4682dbfe2631fbeacce0242e3d6e259': '\n 如果后端没有直接返回 Echart 配置,可以自己写一段函数来包装。\n <p>签名:(config, echarts, data) => config</p>\n <p>参数说明</p>\n <ul>\n <li><code>config</code> 原始数据</li>\n <li><code>echarts</code> echarts 对象</li>\n <li><code>data</code> 如果配置了数据接口,接口返回的数据通过此变量传入</li>\n </ul>\n <p>示例</p>\n <pre>debugger; // 可以浏览器中断点调试\\n\\n// 查看原始数据\\nconsole.log(config)\\n\\n// 返回新的结果 \\nreturn {}</pre>\n ',
|
3313
|
+
'e8f96ea47cb322f4f1a4c938c7b155ac': '默认为追加模式,新的配置会跟旧的配置合并,如果勾选将直接完全覆盖',
|
3314
|
+
'e732f4c0d8075670b6c75cc52bd1f7d5': '图表下钻',
|
3315
|
+
'00958a92c5804d56047c18fc206382e1': '宽高设置',
|
3316
|
+
'b3e991d11b9f0ee04f55627c62d4fcba': '默认高度为300px,值单位默认为 px,也支持百分比等单位 ,如:100%',
|
3317
|
+
'8e5ff4f20463c03f7935e0627888c03c': '折叠状态改变',
|
3318
|
+
'bcfcd9d31a7a469fa1f3a2ea9e3e3f89': '折叠器折叠状态改变时触发',
|
3319
|
+
'0e8638286319f6efb0afe2616714e8c3': '折叠器状态',
|
3320
|
+
'd2fa917958506736ea39edbef5e1cea5': '折叠面板折叠状态改变时触发',
|
3321
|
+
'58164864ad00f5d134f304d309055eda': '当前展开的索引列表',
|
3322
|
+
'44732aa2566399b71483e63252d3dbc7': '折叠器索引',
|
3323
|
+
'b4875c6e5e3dd45e5c5318bf6e1ee089': '自定义 CSS 类名',
|
3324
|
+
'38cf16f2204ffab8a6e0187070558721': '确定',
|
3325
|
+
'23b3169341314eda02d860be90ebf487': '全选文本',
|
3326
|
+
'86ed196f63524be7775e5a01b0152793': '标签对齐方式',
|
3327
|
+
'cc6c35a3e0f97fb9747905dc13e9b625': '编码',
|
3328
|
+
'936b62c222fcf6ba10fde069212fcf97': '省份编码',
|
3329
|
+
'd7009d07f04d208f84e6c343fbc80ab7': '省份',
|
3330
|
+
'e982852e24060d47f29be600837b675a': '城市编码',
|
3331
|
+
'0dad46b34f0ddc802bce0351dc4745eb': '区域编码',
|
3332
|
+
'd3ce40d862f1c7e4748e6c28ffb0a007': '区域',
|
3333
|
+
'716c3dc1bd990ccebc4fee34eb9171cf': '街道',
|
3334
|
+
'7650487a8758fd50c87d6c9cff0aa5ac': '地址',
|
3335
|
+
'3d18ca01ddd1b95e982ec44ffcda8165': '经度',
|
3336
|
+
'6acaee71fe6a23c17f18625df01bab23': '纬度',
|
3337
|
+
'40d58bb6ac9888b0c672f5bcff74da25': '地图厂商',
|
3338
|
+
'542241c52bd2efb24dc37b32cab2329c': '列全选',
|
3339
|
+
'd94ec7663ac9ad2d09fca5c86928b434': '列级全选功能',
|
3340
|
+
'7020fa7949a5ae24cc8eb696772d97fc': '行全选',
|
3341
|
+
'227c24282ff52f3f6f52dfdb853cc1ad': '行级全选功能',
|
3342
|
+
'83a60f8b752a1ef3ce6a240388d635aa': '默认当开启全选后居左排列',
|
3343
|
+
'316a639631f712780829a202258ec3cc': '居左',
|
3344
|
+
'e2aaec83377244c9d15f78f51cccfe6f': '居右',
|
3345
|
+
'087e631da111edc6db508289a7b5a95b': '分配不同的值段,用不同的颜色提示用户。若只配置一个颜色不配置value,默认value为100',
|
3346
|
+
'3b4bcc788ee92004cae962801b471b8d': '自定义标题显示模板',
|
3347
|
+
'2328f91f1e160de6a06c2004d49ec53b': '配置标题显示模板',
|
3348
|
+
'11e6dfd7d3fcb0892c2cecb6d7549102': '请编辑标题内容',
|
3349
|
+
'3d95415ee75837db2660255ea1ca1b9b': '时间区',
|
3350
|
+
'2fe3c5280ea644639bc6378bcecc8b27': '详情区',
|
3351
|
+
'404f38ae7ac36860c0b3af6f2f4a13f9': '菜单名称必填',
|
3352
|
+
'822be91778b5ac22d31681f7256b849b': '不能将菜单拖入其自身内部',
|
3353
|
+
'088b54ee8f10a43977afa9d16ea5350f': '自定义菜单',
|
3354
|
+
'cd1e63aed43df0827cc09fb26521936c': '编辑菜单项',
|
3355
|
+
'648c5e847b923bdd51bf5c72436169ba': '添加菜单项',
|
3356
|
+
'8ee9f276a6356aab65f8178c4f30fabd': '菜单名称',
|
3357
|
+
'e3cc5bd7fc92d7287a14bf5398c4ecc3': '父级菜单',
|
3358
|
+
'24ceb2a06b1962b396b75286fc0960d1': '请选择,不选择默认为一级菜单',
|
3359
|
+
'9483042d09dbad731addc1791b5d207d': '菜单图标',
|
3360
|
+
'6107b3c4fd8587589210cb9fe2fcdad9': '请输入地址',
|
3361
|
+
'76b5162d1b7a16b4b6adf1b79231c96a': '跳转方式',
|
3362
|
+
'b2d1bffc689e4478519d8a010450192c': '当前页展开',
|
3363
|
+
'80fb2db8d3f212b3dd130d24da1c970e': '新标签页打开',
|
3364
|
+
'70b4d0676f9a9640c5a7b1d5f66faa64': '角标内容',
|
3365
|
+
'9f3cdf6aa12759fab68a5a88179462c4': '若为空则不展示角标',
|
3366
|
+
'0e7bb2c7879f0a34c02f547820b0b0b3': '错误忽略',
|
3367
|
+
'5d9fe78268b03e8aa41ac316ef610d9a': '动作发生错误时,是否忽略错误继续执行',
|
3368
|
+
'c0d5d68f5f1cc399311e92905ed2fa80': '忽略',
|
3369
|
+
'a165be161ac250720f6f25820dd2a5b3': '不忽略',
|
3370
|
+
'9cdfce42ef0fa346511538131e51328f': '预设',
|
3371
|
+
'17817a4d2da41f4261f4155ada59e395': '<%= data.ignoreError === false ? "找不到组件和动作执行失败都中断" : typeof data.ignoreError === "undefined" ? "找不到组件容忍,动作执行失败才中断" : ""%>',
|
3372
|
+
'139c619a4dbfc26fb61d76dc388e3e7d': '请求结果',
|
3373
|
+
'0eb4e63db88e158600dab0e723e8a213': '重新请求数据',
|
3374
|
+
'f16654604d6cb2f62469e5aa9db19871': '如果开启发送数据,会先发送配置数据到目标组件,然后重新请求数据。',
|
3375
|
+
'a0c117d927c6290bab55ae0e848a4d4b': '开启“发送数据”后,所配置的数据将发送给目标组件,这些数据将与目标组件数据域进行合并或覆盖',
|
3376
|
+
'eb6cd21b9ed45ded3ecdb12f62b590e1': '数据处理方式',
|
3377
|
+
'ac24ffeb131a7a9d2465b3ba7b14e10c': '提交结果',
|
3378
|
+
'0e3517fb21e2c4066bd0ab75c51bc6fb': '请输入存储提交结果的变量名称',
|
3379
|
+
'0e2ba6becfa8760853cfa31c9e15a94b': '如需执行多次表单提交,可以修改此变量名用于区分不同的提交结果',
|
3380
|
+
'4604d5023479171cb6e901dbeccf62c0': '错误信息',
|
3381
|
+
'71f6236494bfc8b023804abb0cca1639': '错误详情',
|
3382
|
+
'4e6bfc5ad98f719f9bc6b2ad3b6440ee': '提交请求的响应数据',
|
3383
|
+
'bf0f829689370b36d01ce871324e0bb6': '校验结果',
|
3384
|
+
'd23157205c994bde20bb2605c193fd27': '请输入存储校验结果的变量名称',
|
3385
|
+
'a422eb12ebbfdd3347c4deb5ec6b4b54': '如需执行多次表单校验,可以修改此变量名用于区分不同的校验结果',
|
3386
|
+
'e276a94ff48c08233fcb8b38335ad160': '额外字段',
|
3387
|
+
'513442a944a943c0d68283d08934f13a': '存成两个字段',
|
3388
|
+
'6beb3a65798be5e96907c0cbec04f74b': '开启后将选中范围分别存成两个字段',
|
3389
|
+
'fa66d1acaef7cd181f21f5fc2895becc': '启用严格模式将采用值严格相等比较'
|
3307
3390
|
});
|
package/esm/plugin/Alert.js
CHANGED
package/esm/plugin/AnchorNav.js
CHANGED
@@ -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
|
|
@@ -117,8 +117,8 @@ var AnchorNavPlugin = /** @class */function (_super) {
|
|
117
117
|
if (!item.href) {
|
118
118
|
var key = findMinCanUsedKey(hrefs, value.length);
|
119
119
|
item.href = key;
|
120
|
-
item.title = "
|
121
|
-
item.body[0].tpl = "
|
120
|
+
item.title = i18n("6be15e9949e4be7fc485e1eaae472942").concat(key);
|
121
|
+
item.body[0].tpl = i18n("c624c875ea37f790665d0cae8959d4e2").concat(key);
|
122
122
|
}
|
123
123
|
});
|
124
124
|
return value;
|
package/esm/plugin/Audio.js
CHANGED
package/esm/plugin/Avatar.js
CHANGED
package/esm/plugin/Breadcrumb.js
CHANGED
package/esm/plugin/Button.js
CHANGED
package/esm/plugin/CRUD.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { BasePlugin, BasicRendererInfo, BasicSubRenderInfo, ChangeEventContext, PluginEvent, RendererEventContext, RendererInfoResolveEventContext, ScaffoldForm, SubRendererInfo } from 'amis-editor-core';
|
2
3
|
import type { CRUDCommonSchema } from 'amis';
|
3
4
|
import type { EditorNodeType, RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
@@ -123,11 +124,11 @@ export declare class CRUDPlugin extends BasePlugin {
|
|
123
124
|
*/
|
124
125
|
buildSubRenderers(context: RendererEventContext, renderers: Array<SubRendererInfo>): BasicSubRenderInfo | Array<BasicSubRenderInfo> | void;
|
125
126
|
getRendererInfo(context: RendererInfoResolveEventContext): BasicRendererInfo | void;
|
126
|
-
renderEditableComponents(props: any): JSX.Element | null;
|
127
|
-
renderRenderer(props: any): JSX.Element;
|
127
|
+
renderEditableComponents(props: any): React.JSX.Element | null;
|
128
|
+
renderRenderer(props: any): React.JSX.Element;
|
128
129
|
filterProps(props: any): any;
|
129
130
|
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
130
|
-
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType): Promise<any>;
|
131
|
+
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType, parent?: EditorNodeType): Promise<any>;
|
131
132
|
rendererBeforeDispatchEvent(node: EditorNodeType, e: any, data: any): void;
|
132
133
|
/** crud 不同 mode 之间转换时候,主体的转换 */
|
133
134
|
transformByMode({ from, to, schema }: {
|
package/esm/plugin/CRUD.js
CHANGED
@@ -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
|
|
@@ -478,7 +478,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
478
478
|
var index = _a.index;
|
479
479
|
return React__default.createElement("button", {
|
480
480
|
onClick: _this.handleBulkActionEdit.bind(_this, id, index),
|
481
|
-
"data-tooltip": "
|
481
|
+
"data-tooltip": i18n("8347a927c09a4ec2fe473b0a93f667d0"),
|
482
482
|
"data-position": "bottom",
|
483
483
|
className: "text-muted"
|
484
484
|
}, React__default.createElement("i", {
|
@@ -525,7 +525,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
525
525
|
var index = _a.index;
|
526
526
|
return React__default.createElement("button", {
|
527
527
|
onClick: _this.handleItemActionEdit.bind(_this, id, index),
|
528
|
-
"data-tooltip": "
|
528
|
+
"data-tooltip": i18n("8347a927c09a4ec2fe473b0a93f667d0"),
|
529
529
|
"data-position": "bottom",
|
530
530
|
className: "text-muted"
|
531
531
|
}, React__default.createElement("i", {
|
@@ -689,7 +689,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
689
689
|
name: 'draggable',
|
690
690
|
label: i18n("d8905a70e93a33c7a86240f467c653d4")
|
691
691
|
}), getSchemaTpl('apiControl', {
|
692
|
-
label: tipedLabel(i18n("040a78b24eaff47d4fa7e266473635b4"), "
|
692
|
+
label: tipedLabel(i18n("040a78b24eaff47d4fa7e266473635b4"), i18n("9b39126b20e519bb1c6e9054f4b55784")),
|
693
693
|
name: 'saveOrderApi',
|
694
694
|
visibleOn: 'data.draggable'
|
695
695
|
}), {
|
@@ -1540,7 +1540,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1540
1540
|
className: "ae-EditableRender"
|
1541
1541
|
}, React__default.createElement("div", {
|
1542
1542
|
className: "ae-EditableRender-title"
|
1543
|
-
}, "
|
1543
|
+
}, i18n("7f7c624a843b0d539a4ea59a696702f9")), React__default.createElement("div", {
|
1544
1544
|
className: "ae-EditableRender-body"
|
1545
1545
|
}, bulkActions.map(function (action) {
|
1546
1546
|
return render('bulk-action', __assign({
|
@@ -1557,7 +1557,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1557
1557
|
className: "ae-EditableRender"
|
1558
1558
|
}, React__default.createElement("div", {
|
1559
1559
|
className: "ae-EditableRender-title"
|
1560
|
-
}, "
|
1560
|
+
}, i18n("f13a0697d58d975d14eb3f3c72c2cbf2")), React__default.createElement("div", {
|
1561
1561
|
className: "ae-EditableRender-body"
|
1562
1562
|
}, itemActions.map(function (action) {
|
1563
1563
|
return render('bulk-action', __assign({
|
@@ -1575,7 +1575,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1575
1575
|
className: "ae-EditableRenderers"
|
1576
1576
|
}, React__default.createElement("div", {
|
1577
1577
|
className: "ae-EditableRenderers-tip"
|
1578
|
-
}, "
|
1578
|
+
}, i18n("5db6b2160b9169b9d89de247d14ab740")), doms);
|
1579
1579
|
};
|
1580
1580
|
CRUDPlugin.prototype.renderRenderer = function (props) {
|
1581
1581
|
var $$editor = props.$$editor,
|
@@ -1610,10 +1610,10 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1610
1610
|
}, 20);
|
1611
1611
|
}
|
1612
1612
|
};
|
1613
|
-
CRUDPlugin.prototype.buildDataSchemas = function (node, region, trigger) {
|
1613
|
+
CRUDPlugin.prototype.buildDataSchemas = function (node, region, trigger, parent) {
|
1614
1614
|
var _a, _b, _c, _d, _e, _f, _g;
|
1615
1615
|
return __awaiter(this, void 0, void 0, function () {
|
1616
|
-
var child, childSchame,
|
1616
|
+
var child, childSchame, itemsSchema_1, columns, rowsSchema, isColumnChild, scope, menberProps, tmpProperties_1, childScope;
|
1617
1617
|
return __generator(this, function (_h) {
|
1618
1618
|
switch (_h.label) {
|
1619
1619
|
case 0:
|
@@ -1624,45 +1624,49 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1624
1624
|
return [2 /*return*/];
|
1625
1625
|
}
|
1626
1626
|
|
1627
|
-
return [4 /*yield*/, child.info.plugin.buildDataSchemas(child, undefined, trigger)];
|
1627
|
+
return [4 /*yield*/, child.info.plugin.buildDataSchemas(child, undefined, trigger, node)];
|
1628
1628
|
case 1:
|
1629
1629
|
childSchame = _h.sent();
|
1630
1630
|
// 兼容table的rows,并自行merged异步数据
|
1631
1631
|
if (child.type === 'table') {
|
1632
|
-
cellProperties_1 = {};
|
1633
1632
|
itemsSchema_1 = {};
|
1634
1633
|
columns = child.children.find(function (item) {
|
1635
1634
|
return item.isRegion && item.region === 'columns';
|
1636
1635
|
});
|
1637
1636
|
rowsSchema = (_c = childSchame.properties.rows) === null || _c === void 0 ? void 0 : _c.items;
|
1638
1637
|
if (trigger) {
|
1639
|
-
|
1638
|
+
isColumnChild = someTree(columns === null || columns === void 0 ? void 0 : columns.children, function (item) {
|
1640
1639
|
return item.id === trigger.id;
|
1641
1640
|
});
|
1642
1641
|
scope = this.manager.dataSchema.getScope("".concat(node.id, "-").concat(node.type));
|
1643
1642
|
menberProps = (_g = (_f = (_e = (_d = scope.getSchemaById('crudFetchInitedData')) === null || _d === void 0 ? void 0 : _d.properties) === null || _e === void 0 ? void 0 : _e.items) === null || _f === void 0 ? void 0 : _f.items) === null || _g === void 0 ? void 0 : _g.properties;
|
1644
1643
|
tmpProperties_1 = __assign(__assign({}, menberProps), rowsSchema === null || rowsSchema === void 0 ? void 0 : rowsSchema.properties);
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1644
|
+
if (isColumnChild) {
|
1645
|
+
Object.keys(tmpProperties_1).map(function (key) {
|
1646
|
+
itemsSchema_1[key] = __assign({}, tmpProperties_1[key]);
|
1647
|
+
});
|
1648
|
+
childScope = this.manager.dataSchema.getScope("".concat(child.id, "-").concat(child.type, "-currentRow"));
|
1649
|
+
if (childScope) {
|
1650
|
+
childScope === null || childScope === void 0 ? void 0 : childScope.setSchemas([{
|
1651
|
+
$id: "".concat(child.id, "-").concat(child.type, "-currentRow"),
|
1652
|
+
type: 'object',
|
1653
|
+
properties: itemsSchema_1
|
1654
|
+
}]);
|
1655
|
+
childScope.tag = "\u5F53\u524D\u884C\u8BB0\u5F55 : ".concat(node.type);
|
1651
1656
|
}
|
1652
|
-
|
1653
|
-
});
|
1657
|
+
}
|
1654
1658
|
}
|
1655
1659
|
childSchame = {
|
1656
1660
|
$id: childSchame.$id,
|
1657
1661
|
type: childSchame.type,
|
1658
|
-
properties:
|
1662
|
+
properties: {
|
1659
1663
|
items: childSchame.properties.rows,
|
1660
1664
|
selectedItems: __assign(__assign({}, childSchame.properties.selectedItems), {
|
1661
1665
|
items: __assign(__assign({}, childSchame.properties.selectedItems.items), {
|
1662
1666
|
properties: itemsSchema_1
|
1663
1667
|
})
|
1664
1668
|
}),
|
1665
|
-
unSelectedItems: __assign(__assign({}, childSchame.properties.
|
1669
|
+
unSelectedItems: __assign(__assign({}, childSchame.properties.unSelectedItems), {
|
1666
1670
|
items: __assign(__assign({}, childSchame.properties.unSelectedItems.items), {
|
1667
1671
|
properties: itemsSchema_1
|
1668
1672
|
})
|
@@ -1675,7 +1679,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1675
1679
|
type: 'number',
|
1676
1680
|
title: i18n("9a4fe969f1066e197fd2369a44d879ac")
|
1677
1681
|
}
|
1678
|
-
}
|
1682
|
+
}
|
1679
1683
|
};
|
1680
1684
|
}
|
1681
1685
|
return [2 /*return*/, childSchame];
|
package/esm/plugin/CRUD2.js
CHANGED
@@ -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
|
|
@@ -7,7 +7,10 @@ import { __extends, __awaiter, __generator, __spreadArray, __read, __assign } fr
|
|
7
7
|
import cloneDeep from 'lodash/cloneDeep';
|
8
8
|
import React__default from 'react';
|
9
9
|
import { generateNodeId, getSchemaTpl, DSBuilderManager, tipedLabel, defaultValue, BasePlugin, registerEditorPlugin, DSFeature } from 'amis-editor-core';
|
10
|
-
import
|
10
|
+
import flattenDeep from 'lodash/flattenDeep';
|
11
|
+
import fromPairs from 'lodash/fromPairs';
|
12
|
+
import isObject from 'lodash/isObject';
|
13
|
+
import remove from 'lodash/remove';
|
11
14
|
import { findTree } from 'amis';
|
12
15
|
import { getArgsWrapper } from '../renderer/event-control/helper.js';
|
13
16
|
import { i18n } from 'i18n-runtime';
|
@@ -442,7 +445,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
442
445
|
descDetail: function (info) {
|
443
446
|
return React__default.createElement("div", null, React__default.createElement("span", {
|
444
447
|
className: "variable-right"
|
445
|
-
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), "
|
448
|
+
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), i18n("3a6ecf25c38317b21b8c6287100f053a"));
|
446
449
|
},
|
447
450
|
schema: getArgsWrapper(
|
448
451
|
/*
|
@@ -485,7 +488,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
485
488
|
descDetail: function (info) {
|
486
489
|
return React__default.createElement("div", null, React__default.createElement("span", {
|
487
490
|
className: "variable-right"
|
488
|
-
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), "
|
491
|
+
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), i18n("34e83e1be408c4f198464da1bf56bf9c"));
|
489
492
|
}
|
490
493
|
}];
|
491
494
|
_this.previewSchema = {
|
package/esm/plugin/Card.js
CHANGED
@@ -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
|
|
@@ -73,7 +73,7 @@ var CardPlugin = /** @class */function (_super) {
|
|
73
73
|
// this.manager.showInsertPanel('actions', context.id)
|
74
74
|
return _this.manager.showRendererPanel(i18n("fa966345577ba81af19408f203db968f"), i18n("0212e8c9b113143a031d1f3e25167794"));
|
75
75
|
}
|
76
|
-
}, "
|
76
|
+
}, i18n("f9f2b9cc91cd332db6b2b732c3869233"))
|
77
77
|
}, {
|
78
78
|
children: React__default.createElement("div", null, React__default.createElement(Button, {
|
79
79
|
block: true,
|
@@ -83,7 +83,7 @@ var CardPlugin = /** @class */function (_super) {
|
|
83
83
|
// this.manager.showInsertPanel('body', context.id)
|
84
84
|
return _this.manager.showRendererPanel(i18n("027446c2f9070b0f5b16a18208bf5fc7"), i18n("6312e80e416fa79ff3383e1577c243b8"));
|
85
85
|
}
|
86
|
-
}, "
|
86
|
+
}, i18n("a3cf7c9ee581ae71eb51d18b610b05b6")))
|
87
87
|
}, {
|
88
88
|
type: 'divider'
|
89
89
|
}, getSchemaTpl('cardTitle'), getSchemaTpl('cardSubTitle'), {
|
@@ -91,6 +91,10 @@ var CardPlugin = /** @class */function (_super) {
|
|
91
91
|
type: 'input-text',
|
92
92
|
label: i18n("f7a82c9758acc4ff4c5350182f2ca378"),
|
93
93
|
description: i18n("00a1f644f34b9ee43adf82cb3449158c")
|
94
|
+
}, {
|
95
|
+
name: 'href',
|
96
|
+
type: 'input-text',
|
97
|
+
label: i18n("a3f38735bf211edb2066ac4e51b55cb2")
|
94
98
|
}, getSchemaTpl('cardDesc'), {
|
95
99
|
name: 'header.highlight',
|
96
100
|
type: 'input-text',
|
@@ -158,7 +162,7 @@ var CardPlugin = /** @class */function (_super) {
|
|
158
162
|
"$schema": "/schemas/CardBodyField.json",
|
159
163
|
hostId: info.id,
|
160
164
|
memberIndex: index,
|
161
|
-
name: "".concat("
|
165
|
+
name: "".concat(i18n("9caecd931b956381e0763d05aa42835c").concat(index + 1)),
|
162
166
|
id: id,
|
163
167
|
draggable: false,
|
164
168
|
wrapperResolve: plugin.fieldWrapperResolve,
|
package/esm/plugin/Card2.js
CHANGED
package/esm/plugin/Cards.js
CHANGED
@@ -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
|
|
@@ -79,14 +79,10 @@ var CardsPlugin = /** @class */function (_super) {
|
|
79
79
|
size: "sm",
|
80
80
|
block: true,
|
81
81
|
onClick: _this.editDetail.bind(_this, context.id)
|
82
|
-
}, "
|
82
|
+
}, i18n("3983b9f5575ae146d2d06f8ec5447a4d")))
|
83
83
|
}, {
|
84
84
|
type: 'divider'
|
85
|
-
}, getSchemaTpl('title'), {
|
86
|
-
name: 'href',
|
87
|
-
type: 'input-text',
|
88
|
-
label: i18n("a3f38735bf211edb2066ac4e51b55cb2")
|
89
|
-
}, isCRUDBody ? null : {
|
85
|
+
}, getSchemaTpl('title'), isCRUDBody ? null : {
|
90
86
|
name: 'source',
|
91
87
|
type: 'input-text',
|
92
88
|
label: i18n("c11322c9cc43ce3c004cf03f5ac0acd0"),
|
package/esm/plugin/Carousel.js
CHANGED
@@ -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
|
|
@@ -134,6 +134,7 @@ var CarouselPlugin = /** @class */function (_super) {
|
|
134
134
|
type: 'image',
|
135
135
|
content: item.image,
|
136
136
|
title: item.title,
|
137
|
+
href: item.href,
|
137
138
|
titleClassName: item.titleClassName,
|
138
139
|
description: item.description,
|
139
140
|
descriptionClassName: item.descriptionClassName
|
@@ -146,6 +147,7 @@ var CarouselPlugin = /** @class */function (_super) {
|
|
146
147
|
html: item.content
|
147
148
|
} : {
|
148
149
|
image: item.content,
|
150
|
+
href: item.href,
|
149
151
|
title: item.title,
|
150
152
|
titleClassName: item.titleClassName,
|
151
153
|
description: item.description,
|
package/esm/plugin/Chart.d.ts
CHANGED
@@ -24,6 +24,7 @@ export declare class ChartPlugin extends BasePlugin {
|
|
24
24
|
data: number[];
|
25
25
|
type: string;
|
26
26
|
}[];
|
27
|
+
backgroundColor: string;
|
27
28
|
};
|
28
29
|
replaceChartOption: boolean;
|
29
30
|
};
|
@@ -41,12 +42,14 @@ export declare class ChartPlugin extends BasePlugin {
|
|
41
42
|
data: number[];
|
42
43
|
type: string;
|
43
44
|
}[];
|
45
|
+
backgroundColor: string;
|
44
46
|
};
|
45
47
|
replaceChartOption: boolean;
|
46
48
|
};
|
47
49
|
events: RendererPluginEvent[];
|
48
50
|
actions: RendererPluginAction[];
|
49
51
|
panelTitle: string;
|
52
|
+
panelJustify: boolean;
|
50
53
|
panelBodyCreator: (context: BaseEventContext) => any[];
|
51
54
|
editDrillDown(id: string): void;
|
52
55
|
}
|