amis-editor 6.14.0-beta.1 → 6.14.0-beta.10
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/builder/ApiDSBuilder.d.ts +112 -18
- package/esm/builder/ApiDSBuilder.js +36 -36
- package/esm/builder/DSBuilder.js +2 -2
- package/esm/builder/DSBuilderManager.js +2 -2
- package/esm/builder/constants.d.ts +1 -1
- package/esm/builder/constants.js +2 -2
- package/esm/builder/utils.js +2 -2
- package/esm/component/BaseControl.js +2 -2
- package/esm/component/InputComponentName.js +2 -2
- package/esm/component/ModalSettingPanel.js +2 -2
- package/esm/component/OptionAutoFill.js +2 -2
- package/esm/component/TableViewEditor.js +2 -2
- package/esm/icons/btn/btn-group.svg.js +2 -2
- package/esm/icons/btn/btn-select.svg.js +2 -2
- package/esm/icons/btn/btn-toolbar.svg.js +2 -2
- package/esm/icons/btn/button.svg.js +2 -2
- package/esm/icons/btn/dropdown-btn.svg.js +2 -2
- package/esm/icons/container/anchor-nav.svg.js +2 -2
- package/esm/icons/container/collapse.svg.js +2 -2
- package/esm/icons/container/container.svg.js +2 -2
- package/esm/icons/container/flex-container.svg.js +2 -2
- package/esm/icons/container/form-group.svg.js +2 -2
- package/esm/icons/container/grid.svg.js +2 -2
- package/esm/icons/container/iframe.svg.js +2 -2
- package/esm/icons/container/panel.svg.js +2 -2
- package/esm/icons/container/switch-container.svg.js +2 -2
- package/esm/icons/container/table-view.svg.js +2 -2
- package/esm/icons/container/tabs.svg.js +2 -2
- package/esm/icons/container/tooltip-wrapper.svg.js +2 -2
- package/esm/icons/container/web-component.svg.js +2 -2
- package/esm/icons/crud/column-add.svg.js +2 -2
- package/esm/icons/crud/column-delete.svg.js +2 -2
- package/esm/icons/crud/column-setting.svg.js +2 -2
- package/esm/icons/crud/share-link.svg.js +2 -2
- package/esm/icons/display/aBaseline.svg.js +2 -2
- package/esm/icons/display/aCenter.svg.js +2 -2
- package/esm/icons/display/aFlexEnd.svg.js +2 -2
- package/esm/icons/display/aFlexStart.svg.js +2 -2
- package/esm/icons/display/aStretch.svg.js +2 -2
- package/esm/icons/display/block.svg.js +2 -2
- package/esm/icons/display/dcolumn.svg.js +2 -2
- package/esm/icons/display/dcolumnReverse.svg.js +2 -2
- package/esm/icons/display/drow.svg.js +2 -2
- package/esm/icons/display/drowReverse.svg.js +2 -2
- package/esm/icons/display/flex.svg.js +2 -2
- package/esm/icons/display/inline-block.svg.js +2 -2
- package/esm/icons/display/inline.svg.js +2 -2
- package/esm/icons/display/jCenter.svg.js +2 -2
- package/esm/icons/display/jFlexEnd.svg.js +2 -2
- package/esm/icons/display/jFlexStart.svg.js +2 -2
- package/esm/icons/display/jSpaceAround.svg.js +2 -2
- package/esm/icons/display/jSpaceBetween.svg.js +2 -2
- package/esm/icons/feat/audio.svg.js +2 -2
- package/esm/icons/feat/custom.svg.js +2 -2
- package/esm/icons/feat/each.svg.js +2 -2
- package/esm/icons/feat/form.svg.js +2 -2
- package/esm/icons/feat/nav.svg.js +2 -2
- package/esm/icons/feat/qrcode.svg.js +2 -2
- package/esm/icons/feat/service.svg.js +2 -2
- package/esm/icons/feat/table.svg.js +2 -2
- package/esm/icons/feat/tasks.svg.js +2 -2
- package/esm/icons/feat/video.svg.js +2 -2
- package/esm/icons/feat/wizard.svg.js +2 -2
- package/esm/icons/form/chained-select.svg.js +2 -2
- package/esm/icons/form/checkbox.svg.js +2 -2
- package/esm/icons/form/checkboxes.svg.js +2 -2
- package/esm/icons/form/combo.svg.js +2 -2
- package/esm/icons/form/condition-builder.svg.js +2 -2
- package/esm/icons/form/diff-editor.svg.js +2 -2
- package/esm/icons/form/editor.svg.js +2 -2
- package/esm/icons/form/formula.svg.js +2 -2
- package/esm/icons/form/hidden.svg.js +2 -2
- package/esm/icons/form/input-city.svg.js +2 -2
- package/esm/icons/form/input-color.svg.js +2 -2
- package/esm/icons/form/input-date-range.svg.js +2 -2
- package/esm/icons/form/input-date.svg.js +2 -2
- package/esm/icons/form/input-datetime.svg.js +2 -2
- package/esm/icons/form/input-email.svg.js +2 -2
- package/esm/icons/form/input-excel.svg.js +2 -2
- package/esm/icons/form/input-file.svg.js +2 -2
- package/esm/icons/form/input-group.svg.js +2 -2
- package/esm/icons/form/input-image.svg.js +2 -2
- package/esm/icons/form/input-kv.svg.js +2 -2
- package/esm/icons/form/input-month-range.svg.js +2 -2
- package/esm/icons/form/input-number.svg.js +2 -2
- package/esm/icons/form/input-password.svg.js +2 -2
- package/esm/icons/form/input-quarter-range.svg.js +2 -2
- package/esm/icons/form/input-range.svg.js +2 -2
- package/esm/icons/form/input-rating.svg.js +2 -2
- package/esm/icons/form/input-repeat.svg.js +2 -2
- package/esm/icons/form/input-rich-text.svg.js +2 -2
- package/esm/icons/form/input-signature.svg.js +2 -2
- package/esm/icons/form/input-tag.svg.js +2 -2
- package/esm/icons/form/input-text.svg.js +2 -2
- package/esm/icons/form/input-time-range.svg.js +2 -2
- package/esm/icons/form/input-time.svg.js +2 -2
- package/esm/icons/form/input-tree.svg.js +2 -2
- package/esm/icons/form/input-url.svg.js +2 -2
- package/esm/icons/form/input-year.svg.js +2 -2
- package/esm/icons/form/inputArray.svg.js +2 -2
- package/esm/icons/form/list-select.svg.js +2 -2
- package/esm/icons/form/location-picker.svg.js +2 -2
- package/esm/icons/form/matrix-checkboxes.svg.js +2 -2
- package/esm/icons/form/month.svg.js +2 -2
- package/esm/icons/form/nested-select.svg.js +2 -2
- package/esm/icons/form/picker.svg.js +2 -2
- package/esm/icons/form/quarter.svg.js +2 -2
- package/esm/icons/form/radios.svg.js +2 -2
- package/esm/icons/form/select.svg.js +2 -2
- package/esm/icons/form/static.svg.js +2 -2
- package/esm/icons/form/sub-form.svg.js +2 -2
- package/esm/icons/form/switch.svg.js +2 -2
- package/esm/icons/form/tabs-transfer.svg.js +2 -2
- package/esm/icons/form/textarea.svg.js +2 -2
- package/esm/icons/form/transfer.svg.js +2 -2
- package/esm/icons/form/tree-select.svg.js +2 -2
- package/esm/icons/form/uuid.svg.js +2 -2
- package/esm/icons/index.js +2 -2
- package/esm/icons/layout/layout-1with2.svg.js +2 -2
- package/esm/icons/layout/layout-2cols.svg.js +2 -2
- package/esm/icons/layout/layout-2row.svg.js +2 -2
- package/esm/icons/layout/layout-2with1.svg.js +2 -2
- package/esm/icons/layout/layout-3cols.svg.js +2 -2
- package/esm/icons/layout/layout-3row.svg.js +2 -2
- package/esm/icons/layout/layout-absolute.svg.js +2 -2
- package/esm/icons/layout/layout-fixed-top.svg.js +2 -2
- package/esm/icons/layout/layout-fixed.svg.js +2 -2
- package/esm/icons/layout/layout-free-container.svg.js +2 -2
- package/esm/icons/layout/layout-full.svg.js +2 -2
- package/esm/icons/layout/layout1-2.svg.js +2 -2
- package/esm/icons/layout/layout2-1.svg.js +2 -2
- package/esm/icons/layout/layout3-1.svg.js +2 -2
- package/esm/icons/layout/layout3-2.svg.js +2 -2
- package/esm/icons/other/_fx.svg.js +2 -2
- package/esm/icons/other/divider.svg.js +2 -2
- package/esm/icons/other/fx.svg.js +2 -2
- package/esm/icons/other/global-var.svg.js +2 -2
- package/esm/icons/other/modal-setting.svg.js +2 -2
- package/esm/icons/other/property-sheet.svg.js +2 -2
- package/esm/icons/other/tooltip.svg.js +2 -2
- package/esm/icons/show/URL.svg.js +2 -2
- package/esm/icons/show/avatar.svg.js +2 -2
- package/esm/icons/show/breadcrumb.svg.js +2 -2
- package/esm/icons/show/card.svg.js +2 -2
- package/esm/icons/show/cards.svg.js +2 -2
- package/esm/icons/show/carousel.svg.js +2 -2
- package/esm/icons/show/chart.svg.js +2 -2
- package/esm/icons/show/code.svg.js +2 -2
- package/esm/icons/show/date.svg.js +2 -2
- package/esm/icons/show/datetime.svg.js +2 -2
- package/esm/icons/show/image.svg.js +2 -2
- package/esm/icons/show/images.svg.js +2 -2
- package/esm/icons/show/json-view.svg.js +2 -2
- package/esm/icons/show/list.svg.js +2 -2
- package/esm/icons/show/log.svg.js +2 -2
- package/esm/icons/show/mapping.svg.js +2 -2
- package/esm/icons/show/markdown.svg.js +2 -2
- package/esm/icons/show/plain.svg.js +2 -2
- package/esm/icons/show/progress.svg.js +2 -2
- package/esm/icons/show/sparkline.svg.js +2 -2
- package/esm/icons/show/status.svg.js +2 -2
- package/esm/icons/show/steps.svg.js +2 -2
- package/esm/icons/show/time.svg.js +2 -2
- package/esm/icons/theme/css.svg.js +2 -2
- package/esm/index.js +2 -2
- package/esm/locale/en-US.js +2 -2
- package/esm/locale/zh-CN.js +2 -2
- package/esm/plugin/Alert.d.ts +1 -1
- package/esm/plugin/Alert.js +5 -5
- package/esm/plugin/AnchorNav.js +6 -6
- package/esm/plugin/Audio.d.ts +1 -1
- package/esm/plugin/Audio.js +5 -5
- package/esm/plugin/Avatar.d.ts +1 -1
- package/esm/plugin/Avatar.js +5 -5
- package/esm/plugin/Breadcrumb.js +5 -5
- package/esm/plugin/Button.d.ts +1 -1
- package/esm/plugin/Button.js +6 -5
- package/esm/plugin/ButtonGroup.d.ts +1 -1
- package/esm/plugin/ButtonGroup.js +5 -5
- package/esm/plugin/CRUD.d.ts +3 -3
- package/esm/plugin/CRUD.js +6 -6
- package/esm/plugin/CRUD2/BaseCRUD.d.ts +2 -2
- package/esm/plugin/CRUD2/BaseCRUD.js +6 -5
- package/esm/plugin/CRUD2/CRUDTable.d.ts +1 -1
- package/esm/plugin/CRUD2/CRUDTable.js +3 -3
- package/esm/plugin/CRUD2/constants.js +2 -2
- package/esm/plugin/CRUD2/utils.d.ts +2 -2
- package/esm/plugin/CRUD2/utils.js +2 -2
- package/esm/plugin/Calendar.d.ts +1 -1
- package/esm/plugin/Calendar.js +5 -5
- package/esm/plugin/Card.d.ts +1 -1
- package/esm/plugin/Card.js +6 -6
- package/esm/plugin/Card2.d.ts +1 -1
- package/esm/plugin/Card2.js +5 -5
- package/esm/plugin/Cards.d.ts +1 -1
- package/esm/plugin/Cards.js +5 -5
- package/esm/plugin/Carousel.js +5 -5
- package/esm/plugin/Chart.d.ts +1 -1
- package/esm/plugin/Chart.js +5 -5
- package/esm/plugin/CodeView.d.ts +1 -1
- package/esm/plugin/CodeView.js +5 -5
- package/esm/plugin/Collapse.d.ts +1 -1
- package/esm/plugin/Collapse.js +5 -5
- package/esm/plugin/CollapseGroup.d.ts +1 -1
- package/esm/plugin/CollapseGroup.js +5 -5
- package/esm/plugin/ColumnToggler.d.ts +1 -1
- package/esm/plugin/ColumnToggler.js +5 -5
- package/esm/plugin/Container.d.ts +1 -1
- package/esm/plugin/Container.js +5 -5
- package/esm/plugin/Custom.js +5 -5
- package/esm/plugin/CustomRegion.js +5 -5
- package/esm/plugin/Date.d.ts +1 -1
- package/esm/plugin/Date.js +5 -5
- package/esm/plugin/Datetime.d.ts +1 -0
- package/esm/plugin/Datetime.js +4 -4
- package/esm/plugin/Dialog.d.ts +1 -1
- package/esm/plugin/Dialog.js +10 -8
- package/esm/plugin/Divider.d.ts +1 -1
- package/esm/plugin/Divider.js +5 -5
- package/esm/plugin/Drawer.d.ts +1 -1
- package/esm/plugin/Drawer.js +9 -8
- package/esm/plugin/DropDownButton.js +5 -5
- package/esm/plugin/Each.d.ts +1 -1
- package/esm/plugin/Each.js +5 -5
- package/esm/plugin/Flex.js +4 -4
- package/esm/plugin/Form/ButtonGroupSelect.d.ts +1 -1
- package/esm/plugin/Form/ButtonGroupSelect.js +5 -5
- package/esm/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/esm/plugin/Form/ButtonToolbar.js +5 -5
- package/esm/plugin/Form/ChainedSelect.d.ts +1 -1
- package/esm/plugin/Form/ChainedSelect.js +6 -5
- package/esm/plugin/Form/Checkbox.d.ts +1 -1
- package/esm/plugin/Form/Checkbox.js +6 -5
- package/esm/plugin/Form/Checkboxes.d.ts +1 -1
- package/esm/plugin/Form/Checkboxes.js +5 -5
- package/esm/plugin/Form/CodeEditor.d.ts +1 -0
- package/esm/plugin/Form/CodeEditor.js +5 -5
- package/esm/plugin/Form/Combo.d.ts +1 -1
- package/esm/plugin/Form/Combo.js +5 -5
- package/esm/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/esm/plugin/Form/ConditionBuilder.js +7 -7
- package/esm/plugin/Form/Control.d.ts +1 -1
- package/esm/plugin/Form/Control.js +5 -5
- package/esm/plugin/Form/DiffEditor.d.ts +1 -0
- package/esm/plugin/Form/DiffEditor.js +5 -5
- package/esm/plugin/Form/FieldSet.d.ts +1 -1
- package/esm/plugin/Form/FieldSet.js +5 -5
- package/esm/plugin/Form/Form.js +5 -5
- package/esm/plugin/Form/Formula.js +5 -5
- package/esm/plugin/Form/Group.js +5 -5
- package/esm/plugin/Form/Hidden.js +5 -5
- package/esm/plugin/Form/InputArray.js +5 -5
- package/esm/plugin/Form/InputCity.d.ts +1 -1
- package/esm/plugin/Form/InputCity.js +5 -5
- package/esm/plugin/Form/InputColor.d.ts +1 -1
- package/esm/plugin/Form/InputColor.js +5 -5
- package/esm/plugin/Form/InputDate.d.ts +1 -1
- package/esm/plugin/Form/InputDate.js +6 -4
- package/esm/plugin/Form/InputDateRange.d.ts +1 -1
- package/esm/plugin/Form/InputDateRange.js +8 -4
- package/esm/plugin/Form/InputDateTime.js +5 -5
- package/esm/plugin/Form/InputDateTimeRange.js +5 -5
- package/esm/plugin/Form/InputEmail.js +5 -5
- package/esm/plugin/Form/InputExcel.d.ts +1 -1
- package/esm/plugin/Form/InputExcel.js +5 -5
- package/esm/plugin/Form/InputFile.d.ts +1 -1
- package/esm/plugin/Form/InputFile.js +6 -5
- package/esm/plugin/Form/InputGroup.d.ts +1 -2
- package/esm/plugin/Form/InputGroup.js +5 -5
- package/esm/plugin/Form/InputImage.d.ts +1 -1
- package/esm/plugin/Form/InputImage.js +5 -5
- package/esm/plugin/Form/InputKV.d.ts +1 -1
- package/esm/plugin/Form/InputKV.js +5 -5
- package/esm/plugin/Form/InputMonth.js +5 -5
- package/esm/plugin/Form/InputMonthRange.js +5 -5
- package/esm/plugin/Form/InputNumber.d.ts +1 -1
- package/esm/plugin/Form/InputNumber.js +7 -5
- package/esm/plugin/Form/InputPassword.js +5 -5
- package/esm/plugin/Form/InputQuarter.js +5 -5
- package/esm/plugin/Form/InputQuarterRange.js +5 -5
- package/esm/plugin/Form/InputRange.d.ts +1 -1
- package/esm/plugin/Form/InputRange.js +8 -5
- package/esm/plugin/Form/InputRating.d.ts +1 -1
- package/esm/plugin/Form/InputRating.js +7 -5
- package/esm/plugin/Form/InputRepeat.js +5 -5
- package/esm/plugin/Form/InputRichText.d.ts +1 -1
- package/esm/plugin/Form/InputRichText.js +5 -5
- package/esm/plugin/Form/InputSignature.d.ts +1 -1
- package/esm/plugin/Form/InputSignature.js +5 -5
- package/esm/plugin/Form/InputSubForm.d.ts +1 -0
- package/esm/plugin/Form/InputSubForm.js +6 -6
- package/esm/plugin/Form/InputTable.d.ts +1 -1
- package/esm/plugin/Form/InputTable.js +5 -5
- package/esm/plugin/Form/InputTag.d.ts +1 -1
- package/esm/plugin/Form/InputTag.js +5 -5
- package/esm/plugin/Form/InputText.d.ts +1 -1
- package/esm/plugin/Form/InputText.js +5 -5
- package/esm/plugin/Form/InputTime.js +5 -5
- package/esm/plugin/Form/InputTimeRange.js +5 -5
- package/esm/plugin/Form/InputTree.d.ts +1 -1
- package/esm/plugin/Form/InputTree.js +5 -5
- package/esm/plugin/Form/InputURL.js +5 -5
- package/esm/plugin/Form/InputYear.js +5 -5
- package/esm/plugin/Form/InputYearRange.js +5 -5
- package/esm/plugin/Form/Item.d.ts +1 -1
- package/esm/plugin/Form/Item.js +3 -3
- package/esm/plugin/Form/ListSelect.d.ts +1 -1
- package/esm/plugin/Form/ListSelect.js +6 -5
- package/esm/plugin/Form/LocationPicker.d.ts +1 -1
- package/esm/plugin/Form/LocationPicker.js +5 -5
- package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/esm/plugin/Form/MatrixCheckboxes.js +5 -5
- package/esm/plugin/Form/NestedSelect.d.ts +1 -1
- package/esm/plugin/Form/NestedSelect.js +5 -5
- package/esm/plugin/Form/Picker.js +5 -5
- package/esm/plugin/Form/Radios.d.ts +1 -1
- package/esm/plugin/Form/Radios.js +6 -5
- package/esm/plugin/Form/Select.d.ts +1 -1
- package/esm/plugin/Form/Select.js +31 -7
- package/esm/plugin/Form/Static.d.ts +1 -1
- package/esm/plugin/Form/Static.js +5 -5
- package/esm/plugin/Form/Switch.d.ts +1 -1
- package/esm/plugin/Form/Switch.js +6 -5
- package/esm/plugin/Form/TabsTransfer.d.ts +1 -1
- package/esm/plugin/Form/TabsTransfer.js +5 -5
- package/esm/plugin/Form/Textarea.d.ts +1 -0
- package/esm/plugin/Form/Textarea.js +5 -5
- package/esm/plugin/Form/Transfer.d.ts +1 -1
- package/esm/plugin/Form/Transfer.js +5 -5
- package/esm/plugin/Form/TransferPicker.js +5 -5
- package/esm/plugin/Form/TreeSelect.d.ts +1 -1
- package/esm/plugin/Form/TreeSelect.js +5 -5
- package/esm/plugin/Form/UUID.js +5 -5
- package/esm/plugin/GlobalVar.js +3 -2
- package/esm/plugin/Grid.d.ts +1 -0
- package/esm/plugin/Grid.js +5 -5
- package/esm/plugin/HBox.d.ts +1 -0
- package/esm/plugin/HBox.js +5 -5
- package/esm/plugin/IFrame.d.ts +1 -1
- package/esm/plugin/IFrame.js +4 -4
- package/esm/plugin/Icon.d.ts +1 -1
- package/esm/plugin/Icon.js +5 -5
- package/esm/plugin/Image.d.ts +1 -1
- package/esm/plugin/Image.js +5 -5
- package/esm/plugin/Images.d.ts +1 -1
- package/esm/plugin/Images.js +5 -5
- package/esm/plugin/Json.d.ts +1 -1
- package/esm/plugin/Json.js +5 -5
- package/esm/plugin/Layout/FlexPluginBase.d.ts +2 -1
- package/esm/plugin/Layout/FlexPluginBase.js +4 -4
- package/esm/plugin/Layout/Layout_fixed.js +4 -4
- package/esm/plugin/Layout/Layout_free_container.js +4 -4
- package/esm/plugin/Layout/Layout_sorption_container.js +4 -4
- package/esm/plugin/Link.js +5 -5
- package/esm/plugin/List.js +7 -5
- package/esm/plugin/List2.d.ts +1 -1
- package/esm/plugin/List2.js +5 -5
- package/esm/plugin/ListItem.d.ts +1 -1
- package/esm/plugin/ListItem.js +6 -6
- package/esm/plugin/Log.d.ts +1 -1
- package/esm/plugin/Log.js +5 -5
- package/esm/plugin/Mapping.js +5 -5
- package/esm/plugin/Markdown.d.ts +1 -1
- package/esm/plugin/Markdown.js +5 -5
- package/esm/plugin/Nav.d.ts +1 -1
- package/esm/plugin/Nav.js +5 -5
- package/esm/plugin/OfficeViewer.d.ts +1 -1
- package/esm/plugin/OfficeViewer.js +5 -5
- package/esm/plugin/Operation.d.ts +1 -1
- package/esm/plugin/Operation.js +5 -5
- package/esm/plugin/Others/Action.d.ts +1 -0
- package/esm/plugin/Others/Action.js +5 -5
- package/esm/plugin/Others/TableCell.d.ts +1 -1
- package/esm/plugin/Others/TableCell.js +5 -5
- package/esm/plugin/Page.d.ts +1 -1
- package/esm/plugin/Page.js +6 -6
- package/esm/plugin/Pagination.d.ts +1 -1
- package/esm/plugin/Pagination.js +5 -5
- package/esm/plugin/Panel.d.ts +1 -1
- package/esm/plugin/Panel.js +4 -4
- package/esm/plugin/PdfViewer.d.ts +1 -1
- package/esm/plugin/PdfViewer.js +5 -5
- package/esm/plugin/Plain.d.ts +1 -1
- package/esm/plugin/Plain.js +5 -5
- package/esm/plugin/Progress.d.ts +1 -1
- package/esm/plugin/Progress.js +5 -5
- package/esm/plugin/Property.js +5 -5
- package/esm/plugin/QRCode.js +5 -5
- package/esm/plugin/Reset.js +4 -4
- package/esm/plugin/SearchBox.d.ts +1 -1
- package/esm/plugin/SearchBox.js +5 -5
- package/esm/plugin/Service.d.ts +1 -1
- package/esm/plugin/Service.js +4 -4
- package/esm/plugin/Slider.js +5 -5
- package/esm/plugin/Sparkline.d.ts +1 -1
- package/esm/plugin/Sparkline.js +5 -5
- package/esm/plugin/Status.d.ts +1 -1
- package/esm/plugin/Status.js +5 -5
- package/esm/plugin/Steps.js +5 -5
- package/esm/plugin/Submit.js +4 -4
- package/esm/plugin/SwitchContainer.js +5 -5
- package/esm/plugin/Table.d.ts +3 -3
- package/esm/plugin/Table.js +7 -5
- package/esm/plugin/Table2.js +18 -18
- package/esm/plugin/TableCell2.js +7 -6
- package/esm/plugin/TableView.js +7 -7
- package/esm/plugin/Tabs.js +6 -6
- package/esm/plugin/Tag.d.ts +1 -1
- package/esm/plugin/Tag.js +5 -5
- package/esm/plugin/Tasks.d.ts +1 -0
- package/esm/plugin/Tasks.js +5 -5
- package/esm/plugin/Time.d.ts +1 -0
- package/esm/plugin/Time.js +4 -4
- package/esm/plugin/Timeline.js +5 -5
- package/esm/plugin/TooltipWrapper.d.ts +1 -1
- package/esm/plugin/TooltipWrapper.js +5 -5
- package/esm/plugin/Tpl.d.ts +1 -1
- package/esm/plugin/Tpl.js +4 -4
- package/esm/plugin/Video.d.ts +1 -1
- package/esm/plugin/Video.js +5 -5
- package/esm/plugin/WebComponent.d.ts +1 -1
- package/esm/plugin/WebComponent.js +5 -5
- package/esm/plugin/Wizard.js +6 -6
- package/esm/plugin/Wrapper.d.ts +1 -1
- package/esm/plugin/Wrapper.js +5 -5
- package/esm/renderer/APIAdaptorControl.d.ts +25 -25
- package/esm/renderer/APIAdaptorControl.js +3 -2
- package/esm/renderer/APIControl.d.ts +9 -9
- package/esm/renderer/APIControl.js +12 -11
- package/esm/renderer/ActionApiControl.d.ts +6 -6
- package/esm/renderer/BadgeControl.d.ts +12 -12
- package/esm/renderer/BadgeControl.js +2 -2
- package/esm/renderer/ButtonGroupControl.js +2 -2
- package/esm/renderer/ConditionFormulaControl.js +7 -7
- package/esm/renderer/DataBindingControl.d.ts +0 -1
- package/esm/renderer/DataBindingControl.js +2 -2
- package/esm/renderer/DataMappingControl.js +2 -2
- package/esm/renderer/DataPickerControl.js +6 -6
- package/esm/renderer/DateShortCutControl.js +3 -4
- package/esm/renderer/ExpressionFormulaControl.js +2 -2
- package/esm/renderer/FeatureControl.js +2 -2
- package/esm/renderer/FieldSetting.d.ts +0 -1
- package/esm/renderer/FieldSetting.js +11 -12
- package/esm/renderer/FlexSettingControl.js +2 -2
- package/esm/renderer/FormulaControl.d.ts +2 -2
- package/esm/renderer/FormulaControl.js +6 -6
- package/esm/renderer/FunctionEditorControl.d.ts +25 -25
- package/esm/renderer/FunctionEditorControl.js +3 -3
- package/esm/renderer/GoConfigControl.js +2 -2
- package/esm/renderer/InputRangeValueControl.js +2 -2
- package/esm/renderer/KeyValueMapControl.js +2 -2
- package/esm/renderer/ListItemControl.js +2 -2
- package/esm/renderer/MapSourceControl.d.ts +0 -1
- package/esm/renderer/MapSourceControl.js +2 -2
- package/esm/renderer/NavBadgeControl.d.ts +8 -8
- package/esm/renderer/NavBadgeControl.js +2 -2
- package/esm/renderer/NavDefaultActive.js +2 -2
- package/esm/renderer/NavSourceControl.js +2 -2
- package/esm/renderer/OptionControl.js +2 -2
- package/esm/renderer/RangePartsControl.js +2 -2
- package/esm/renderer/StatusControl.js +2 -2
- package/esm/renderer/SwitchMoreControl.js +2 -2
- package/esm/renderer/TableColumnWidthControl.js +2 -2
- package/esm/renderer/TimelineItemControl.js +2 -2
- package/esm/renderer/TplFormulaControl.js +7 -7
- package/esm/renderer/TransferTableControl.js +2 -2
- package/esm/renderer/TreeOptionControl.js +3 -2
- package/esm/renderer/ValidateApiControl.js +2 -2
- package/esm/renderer/ValidationControl.js +2 -2
- package/esm/renderer/ValidationItem.js +2 -2
- package/esm/renderer/ValueFormatControl.js +2 -2
- package/esm/renderer/crud2-control/AddColumnModal.js +2 -2
- package/esm/renderer/crud2-control/CRUDColumnControl.js +6 -6
- package/esm/renderer/crud2-control/CRUDFiltersControl.js +42 -42
- package/esm/renderer/crud2-control/CRUDToolbarControl.js +10 -10
- package/esm/renderer/event-control/DialogActionPanel.js +2 -2
- package/esm/renderer/event-control/action-config-dialog.js +3 -2
- package/esm/renderer/event-control/action-config-panel.js +2 -2
- package/esm/renderer/event-control/actionsPanelManager.d.ts +1 -1
- package/esm/renderer/event-control/actionsPanelManager.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/clear.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/component.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.d.ts +4 -3
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reload.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reset.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/setValue.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/staticStatus.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/submit.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/usability.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validate.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validateFormItem.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/visibility.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/closeDialog.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/openDialog.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/toast.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/broadcast.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/copy.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/custom.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/goBack.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/refresh.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/url.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/serverActionsPanel/ajax.js +2 -2
- package/esm/renderer/event-control/actionsPanelPlugins/serverActionsPanel/download.js +2 -2
- package/esm/renderer/event-control/comp-action-select.js +2 -2
- package/esm/renderer/event-control/constants.js +2 -2
- package/esm/renderer/event-control/eventControlConfigHelper.d.ts +5 -4
- package/esm/renderer/event-control/eventControlConfigHelper.js +2 -2
- package/esm/renderer/event-control/helper.d.ts +7 -6
- package/esm/renderer/event-control/helper.js +2 -2
- package/esm/renderer/event-control/index.js +11 -10
- package/esm/renderer/global-var-control/GlobalVarBuiltinPanel.js +2 -2
- package/esm/renderer/global-var-control/GlobalVarManagerPanel.js +2 -2
- package/esm/renderer/style-control/Background.js +2 -2
- package/esm/renderer/style-control/Border.js +2 -2
- package/esm/renderer/style-control/BoxModel.js +2 -2
- package/esm/renderer/style-control/BoxShadow.js +2 -2
- package/esm/renderer/style-control/ColCount.js +2 -2
- package/esm/renderer/style-control/ColSize.js +2 -2
- package/esm/renderer/style-control/Display.js +2 -2
- package/esm/renderer/style-control/FlexLayout.js +2 -2
- package/esm/renderer/style-control/Font.js +2 -2
- package/esm/renderer/style-control/InsetBoxModel.js +2 -2
- package/esm/renderer/style-control/LabelAlign.js +2 -2
- package/esm/renderer/style-control/SingleThemeCssCode.js +2 -2
- package/esm/renderer/style-control/ThemeCssCode.js +2 -2
- package/esm/renderer/style-control/font-family.js +2 -2
- package/esm/renderer/style-control/helper.js +2 -2
- package/esm/renderer/style-control/transformation.js +2 -2
- package/esm/renderer/textarea-formula/FormulaPicker.js +2 -2
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +6 -6
- package/esm/renderer/textarea-formula/plugin.js +2 -2
- package/esm/tpl/api.js +2 -2
- package/esm/tpl/common.js +3 -2
- package/esm/tpl/horizontal.js +2 -2
- package/esm/tpl/layout.js +6 -2
- package/esm/tpl/options.js +22 -25
- package/esm/tpl/remark.js +2 -2
- package/esm/tpl/style.js +2 -2
- package/esm/tpl/validations.js +2 -2
- package/esm/util.d.ts +1 -0
- package/esm/util.js +2 -2
- package/esm/validator.d.ts +2 -2
- package/esm/validator.js +2 -2
- package/lib/builder/ApiDSBuilder.d.ts +111 -17
- package/lib/builder/ApiDSBuilder.js +35 -35
- package/lib/builder/DSBuilder.js +2 -2
- package/lib/builder/DSBuilderManager.js +2 -2
- package/lib/builder/constants.d.ts +1 -1
- package/lib/builder/constants.js +2 -2
- package/lib/builder/utils.js +2 -2
- package/lib/component/BaseControl.d.ts +1 -1
- package/lib/component/BaseControl.js +2 -2
- package/lib/component/InputComponentName.js +2 -2
- package/lib/component/ModalSettingPanel.js +2 -2
- package/lib/component/OptionAutoFill.js +2 -2
- package/lib/component/TableViewEditor.js +2 -2
- package/lib/icons/btn/btn-group.svg.js +2 -2
- package/lib/icons/btn/btn-select.svg.js +2 -2
- package/lib/icons/btn/btn-toolbar.svg.js +2 -2
- package/lib/icons/btn/button.svg.js +2 -2
- package/lib/icons/btn/dropdown-btn.svg.js +2 -2
- package/lib/icons/container/anchor-nav.svg.js +2 -2
- package/lib/icons/container/collapse.svg.js +2 -2
- package/lib/icons/container/container.svg.js +2 -2
- package/lib/icons/container/flex-container.svg.js +2 -2
- package/lib/icons/container/form-group.svg.js +2 -2
- package/lib/icons/container/grid.svg.js +2 -2
- package/lib/icons/container/iframe.svg.js +2 -2
- package/lib/icons/container/panel.svg.js +2 -2
- package/lib/icons/container/switch-container.svg.js +2 -2
- package/lib/icons/container/table-view.svg.js +2 -2
- package/lib/icons/container/tabs.svg.js +2 -2
- package/lib/icons/container/tooltip-wrapper.svg.js +2 -2
- package/lib/icons/container/web-component.svg.js +2 -2
- package/lib/icons/crud/column-add.svg.js +2 -2
- package/lib/icons/crud/column-delete.svg.js +2 -2
- package/lib/icons/crud/column-setting.svg.js +2 -2
- package/lib/icons/crud/share-link.svg.js +2 -2
- package/lib/icons/display/aBaseline.svg.js +2 -2
- package/lib/icons/display/aCenter.svg.js +2 -2
- package/lib/icons/display/aFlexEnd.svg.js +2 -2
- package/lib/icons/display/aFlexStart.svg.js +2 -2
- package/lib/icons/display/aStretch.svg.js +2 -2
- package/lib/icons/display/block.svg.js +2 -2
- package/lib/icons/display/dcolumn.svg.js +2 -2
- package/lib/icons/display/dcolumnReverse.svg.js +2 -2
- package/lib/icons/display/drow.svg.js +2 -2
- package/lib/icons/display/drowReverse.svg.js +2 -2
- package/lib/icons/display/flex.svg.js +2 -2
- package/lib/icons/display/inline-block.svg.js +2 -2
- package/lib/icons/display/inline.svg.js +2 -2
- package/lib/icons/display/jCenter.svg.js +2 -2
- package/lib/icons/display/jFlexEnd.svg.js +2 -2
- package/lib/icons/display/jFlexStart.svg.js +2 -2
- package/lib/icons/display/jSpaceAround.svg.js +2 -2
- package/lib/icons/display/jSpaceBetween.svg.js +2 -2
- package/lib/icons/feat/audio.svg.js +2 -2
- package/lib/icons/feat/custom.svg.js +2 -2
- package/lib/icons/feat/each.svg.js +2 -2
- package/lib/icons/feat/form.svg.js +2 -2
- package/lib/icons/feat/nav.svg.js +2 -2
- package/lib/icons/feat/qrcode.svg.js +2 -2
- package/lib/icons/feat/service.svg.js +2 -2
- package/lib/icons/feat/table.svg.js +2 -2
- package/lib/icons/feat/tasks.svg.js +2 -2
- package/lib/icons/feat/video.svg.js +2 -2
- package/lib/icons/feat/wizard.svg.js +2 -2
- package/lib/icons/form/chained-select.svg.js +2 -2
- package/lib/icons/form/checkbox.svg.js +2 -2
- package/lib/icons/form/checkboxes.svg.js +2 -2
- package/lib/icons/form/combo.svg.js +2 -2
- package/lib/icons/form/condition-builder.svg.js +2 -2
- package/lib/icons/form/diff-editor.svg.js +2 -2
- package/lib/icons/form/editor.svg.js +2 -2
- package/lib/icons/form/formula.svg.js +2 -2
- package/lib/icons/form/hidden.svg.js +2 -2
- package/lib/icons/form/input-city.svg.js +2 -2
- package/lib/icons/form/input-color.svg.js +2 -2
- package/lib/icons/form/input-date-range.svg.js +2 -2
- package/lib/icons/form/input-date.svg.js +2 -2
- package/lib/icons/form/input-datetime.svg.js +2 -2
- package/lib/icons/form/input-email.svg.js +2 -2
- package/lib/icons/form/input-excel.svg.js +2 -2
- package/lib/icons/form/input-file.svg.js +2 -2
- package/lib/icons/form/input-group.svg.js +2 -2
- package/lib/icons/form/input-image.svg.js +2 -2
- package/lib/icons/form/input-kv.svg.js +2 -2
- package/lib/icons/form/input-month-range.svg.js +2 -2
- package/lib/icons/form/input-number.svg.js +2 -2
- package/lib/icons/form/input-password.svg.js +2 -2
- package/lib/icons/form/input-quarter-range.svg.js +2 -2
- package/lib/icons/form/input-range.svg.js +2 -2
- package/lib/icons/form/input-rating.svg.js +2 -2
- package/lib/icons/form/input-repeat.svg.js +2 -2
- package/lib/icons/form/input-rich-text.svg.js +2 -2
- package/lib/icons/form/input-signature.svg.js +2 -2
- package/lib/icons/form/input-tag.svg.js +2 -2
- package/lib/icons/form/input-text.svg.js +2 -2
- package/lib/icons/form/input-time-range.svg.js +2 -2
- package/lib/icons/form/input-time.svg.js +2 -2
- package/lib/icons/form/input-tree.svg.js +2 -2
- package/lib/icons/form/input-url.svg.js +2 -2
- package/lib/icons/form/input-year.svg.js +2 -2
- package/lib/icons/form/inputArray.svg.js +2 -2
- package/lib/icons/form/list-select.svg.js +2 -2
- package/lib/icons/form/location-picker.svg.js +2 -2
- package/lib/icons/form/matrix-checkboxes.svg.js +2 -2
- package/lib/icons/form/month.svg.js +2 -2
- package/lib/icons/form/nested-select.svg.js +2 -2
- package/lib/icons/form/picker.svg.js +2 -2
- package/lib/icons/form/quarter.svg.js +2 -2
- package/lib/icons/form/radios.svg.js +2 -2
- package/lib/icons/form/select.svg.js +2 -2
- package/lib/icons/form/static.svg.js +2 -2
- package/lib/icons/form/sub-form.svg.js +2 -2
- package/lib/icons/form/switch.svg.js +2 -2
- package/lib/icons/form/tabs-transfer.svg.js +2 -2
- package/lib/icons/form/textarea.svg.js +2 -2
- package/lib/icons/form/transfer.svg.js +2 -2
- package/lib/icons/form/tree-select.svg.js +2 -2
- package/lib/icons/form/uuid.svg.js +2 -2
- package/lib/icons/index.js +2 -2
- package/lib/icons/layout/layout-1with2.svg.js +2 -2
- package/lib/icons/layout/layout-2cols.svg.js +2 -2
- package/lib/icons/layout/layout-2row.svg.js +2 -2
- package/lib/icons/layout/layout-2with1.svg.js +2 -2
- package/lib/icons/layout/layout-3cols.svg.js +2 -2
- package/lib/icons/layout/layout-3row.svg.js +2 -2
- package/lib/icons/layout/layout-absolute.svg.js +2 -2
- package/lib/icons/layout/layout-fixed-top.svg.js +2 -2
- package/lib/icons/layout/layout-fixed.svg.js +2 -2
- package/lib/icons/layout/layout-free-container.svg.js +2 -2
- package/lib/icons/layout/layout-full.svg.js +2 -2
- package/lib/icons/layout/layout1-2.svg.js +2 -2
- package/lib/icons/layout/layout2-1.svg.js +2 -2
- package/lib/icons/layout/layout3-1.svg.js +2 -2
- package/lib/icons/layout/layout3-2.svg.js +2 -2
- package/lib/icons/other/_fx.svg.js +2 -2
- package/lib/icons/other/divider.svg.js +2 -2
- package/lib/icons/other/fx.svg.js +2 -2
- package/lib/icons/other/global-var.svg.js +2 -2
- package/lib/icons/other/modal-setting.svg.js +2 -2
- package/lib/icons/other/property-sheet.svg.js +2 -2
- package/lib/icons/other/tooltip.svg.js +2 -2
- package/lib/icons/show/URL.svg.js +2 -2
- package/lib/icons/show/avatar.svg.js +2 -2
- package/lib/icons/show/breadcrumb.svg.js +2 -2
- package/lib/icons/show/card.svg.js +2 -2
- package/lib/icons/show/cards.svg.js +2 -2
- package/lib/icons/show/carousel.svg.js +2 -2
- package/lib/icons/show/chart.svg.js +2 -2
- package/lib/icons/show/code.svg.js +2 -2
- package/lib/icons/show/date.svg.js +2 -2
- package/lib/icons/show/datetime.svg.js +2 -2
- package/lib/icons/show/image.svg.js +2 -2
- package/lib/icons/show/images.svg.js +2 -2
- package/lib/icons/show/json-view.svg.js +2 -2
- package/lib/icons/show/list.svg.js +2 -2
- package/lib/icons/show/log.svg.js +2 -2
- package/lib/icons/show/mapping.svg.js +2 -2
- package/lib/icons/show/markdown.svg.js +2 -2
- package/lib/icons/show/plain.svg.js +2 -2
- package/lib/icons/show/progress.svg.js +2 -2
- package/lib/icons/show/sparkline.svg.js +2 -2
- package/lib/icons/show/status.svg.js +2 -2
- package/lib/icons/show/steps.svg.js +2 -2
- package/lib/icons/show/time.svg.js +2 -2
- package/lib/icons/theme/css.svg.js +2 -2
- package/lib/index.js +2 -2
- package/lib/locale/en-US.js +2 -2
- package/lib/locale/zh-CN.js +2 -2
- package/lib/plugin/Alert.d.ts +1 -1
- package/lib/plugin/Alert.js +4 -4
- package/lib/plugin/AnchorNav.js +5 -5
- package/lib/plugin/Audio.d.ts +1 -1
- package/lib/plugin/Audio.js +4 -4
- package/lib/plugin/Avatar.d.ts +1 -1
- package/lib/plugin/Avatar.js +4 -4
- package/lib/plugin/Breadcrumb.js +4 -4
- package/lib/plugin/Button.d.ts +1 -1
- package/lib/plugin/Button.js +5 -4
- package/lib/plugin/ButtonGroup.d.ts +1 -1
- package/lib/plugin/ButtonGroup.js +4 -4
- package/lib/plugin/CRUD.d.ts +3 -3
- package/lib/plugin/CRUD.js +5 -5
- package/lib/plugin/CRUD2/BaseCRUD.d.ts +2 -2
- package/lib/plugin/CRUD2/BaseCRUD.js +6 -5
- package/lib/plugin/CRUD2/CRUDTable.d.ts +1 -1
- package/lib/plugin/CRUD2/CRUDTable.js +3 -3
- package/lib/plugin/CRUD2/constants.js +2 -2
- package/lib/plugin/CRUD2/utils.d.ts +2 -2
- package/lib/plugin/CRUD2/utils.js +2 -2
- package/lib/plugin/Calendar.d.ts +1 -1
- package/lib/plugin/Calendar.js +4 -4
- package/lib/plugin/Card.d.ts +1 -1
- package/lib/plugin/Card.js +5 -5
- package/lib/plugin/Card2.d.ts +1 -1
- package/lib/plugin/Card2.js +4 -4
- package/lib/plugin/Cards.d.ts +1 -1
- package/lib/plugin/Cards.js +4 -4
- package/lib/plugin/Carousel.js +4 -4
- package/lib/plugin/Chart.d.ts +1 -1
- package/lib/plugin/Chart.js +4 -4
- package/lib/plugin/CodeView.d.ts +1 -1
- package/lib/plugin/CodeView.js +4 -4
- package/lib/plugin/Collapse.d.ts +1 -1
- package/lib/plugin/Collapse.js +4 -4
- package/lib/plugin/CollapseGroup.d.ts +1 -1
- package/lib/plugin/CollapseGroup.js +4 -4
- package/lib/plugin/ColumnToggler.d.ts +1 -1
- package/lib/plugin/ColumnToggler.js +4 -4
- package/lib/plugin/Container.d.ts +1 -1
- package/lib/plugin/Container.js +4 -4
- package/lib/plugin/Custom.js +4 -4
- package/lib/plugin/CustomRegion.js +4 -4
- package/lib/plugin/Date.d.ts +1 -1
- package/lib/plugin/Date.js +4 -4
- package/lib/plugin/Datetime.d.ts +1 -0
- package/lib/plugin/Datetime.js +3 -3
- package/lib/plugin/Dialog.d.ts +1 -1
- package/lib/plugin/Dialog.js +10 -8
- package/lib/plugin/Divider.d.ts +1 -1
- package/lib/plugin/Divider.js +4 -4
- package/lib/plugin/Drawer.d.ts +1 -1
- package/lib/plugin/Drawer.js +9 -8
- package/lib/plugin/DropDownButton.js +4 -4
- package/lib/plugin/Each.d.ts +1 -1
- package/lib/plugin/Each.js +4 -4
- package/lib/plugin/Flex.js +3 -3
- package/lib/plugin/Form/ButtonGroupSelect.d.ts +1 -1
- package/lib/plugin/Form/ButtonGroupSelect.js +4 -4
- package/lib/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/lib/plugin/Form/ButtonToolbar.js +4 -4
- package/lib/plugin/Form/ChainedSelect.d.ts +1 -1
- package/lib/plugin/Form/ChainedSelect.js +5 -4
- package/lib/plugin/Form/Checkbox.d.ts +1 -1
- package/lib/plugin/Form/Checkbox.js +5 -4
- package/lib/plugin/Form/Checkboxes.d.ts +1 -1
- package/lib/plugin/Form/Checkboxes.js +4 -4
- package/lib/plugin/Form/CodeEditor.d.ts +1 -0
- package/lib/plugin/Form/CodeEditor.js +4 -4
- package/lib/plugin/Form/Combo.d.ts +1 -1
- package/lib/plugin/Form/Combo.js +5 -5
- package/lib/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/lib/plugin/Form/ConditionBuilder.js +6 -6
- package/lib/plugin/Form/Control.d.ts +1 -1
- package/lib/plugin/Form/Control.js +4 -4
- package/lib/plugin/Form/DiffEditor.d.ts +1 -0
- package/lib/plugin/Form/DiffEditor.js +4 -4
- package/lib/plugin/Form/FieldSet.d.ts +1 -1
- package/lib/plugin/Form/FieldSet.js +4 -4
- package/lib/plugin/Form/Form.js +5 -5
- package/lib/plugin/Form/Formula.js +4 -4
- package/lib/plugin/Form/Group.js +4 -4
- package/lib/plugin/Form/Hidden.js +4 -4
- package/lib/plugin/Form/InputArray.js +4 -4
- package/lib/plugin/Form/InputCity.d.ts +1 -1
- package/lib/plugin/Form/InputCity.js +4 -4
- package/lib/plugin/Form/InputColor.d.ts +1 -1
- package/lib/plugin/Form/InputColor.js +4 -4
- package/lib/plugin/Form/InputDate.d.ts +1 -1
- package/lib/plugin/Form/InputDate.js +6 -4
- package/lib/plugin/Form/InputDateRange.d.ts +1 -1
- package/lib/plugin/Form/InputDateRange.js +8 -4
- package/lib/plugin/Form/InputDateTime.js +4 -4
- package/lib/plugin/Form/InputDateTimeRange.js +4 -4
- package/lib/plugin/Form/InputEmail.js +4 -4
- package/lib/plugin/Form/InputExcel.d.ts +1 -1
- package/lib/plugin/Form/InputExcel.js +4 -4
- package/lib/plugin/Form/InputFile.d.ts +1 -1
- package/lib/plugin/Form/InputFile.js +5 -4
- package/lib/plugin/Form/InputGroup.d.ts +1 -2
- package/lib/plugin/Form/InputGroup.js +4 -4
- package/lib/plugin/Form/InputImage.d.ts +1 -1
- package/lib/plugin/Form/InputImage.js +4 -4
- package/lib/plugin/Form/InputKV.d.ts +1 -1
- package/lib/plugin/Form/InputKV.js +4 -4
- package/lib/plugin/Form/InputMonth.js +4 -4
- package/lib/plugin/Form/InputMonthRange.js +4 -4
- package/lib/plugin/Form/InputNumber.d.ts +1 -1
- package/lib/plugin/Form/InputNumber.js +6 -4
- package/lib/plugin/Form/InputPassword.js +4 -4
- package/lib/plugin/Form/InputQuarter.js +4 -4
- package/lib/plugin/Form/InputQuarterRange.js +4 -4
- package/lib/plugin/Form/InputRange.d.ts +1 -1
- package/lib/plugin/Form/InputRange.js +7 -4
- package/lib/plugin/Form/InputRating.d.ts +1 -1
- package/lib/plugin/Form/InputRating.js +6 -4
- package/lib/plugin/Form/InputRepeat.js +4 -4
- package/lib/plugin/Form/InputRichText.d.ts +1 -1
- package/lib/plugin/Form/InputRichText.js +4 -4
- package/lib/plugin/Form/InputSignature.d.ts +1 -1
- package/lib/plugin/Form/InputSignature.js +4 -4
- package/lib/plugin/Form/InputSubForm.d.ts +1 -0
- package/lib/plugin/Form/InputSubForm.js +5 -5
- package/lib/plugin/Form/InputTable.d.ts +1 -1
- package/lib/plugin/Form/InputTable.js +5 -5
- package/lib/plugin/Form/InputTag.d.ts +1 -1
- package/lib/plugin/Form/InputTag.js +4 -4
- package/lib/plugin/Form/InputText.d.ts +1 -1
- package/lib/plugin/Form/InputText.js +4 -4
- package/lib/plugin/Form/InputTime.js +4 -4
- package/lib/plugin/Form/InputTimeRange.js +4 -4
- package/lib/plugin/Form/InputTree.d.ts +1 -1
- package/lib/plugin/Form/InputTree.js +4 -4
- package/lib/plugin/Form/InputURL.js +4 -4
- package/lib/plugin/Form/InputYear.js +4 -4
- package/lib/plugin/Form/InputYearRange.js +4 -4
- package/lib/plugin/Form/Item.d.ts +1 -1
- package/lib/plugin/Form/Item.js +3 -3
- package/lib/plugin/Form/ListSelect.d.ts +1 -1
- package/lib/plugin/Form/ListSelect.js +5 -4
- package/lib/plugin/Form/LocationPicker.d.ts +1 -1
- package/lib/plugin/Form/LocationPicker.js +4 -4
- package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/lib/plugin/Form/MatrixCheckboxes.js +4 -4
- package/lib/plugin/Form/NestedSelect.d.ts +1 -1
- package/lib/plugin/Form/NestedSelect.js +4 -4
- package/lib/plugin/Form/Picker.js +4 -4
- package/lib/plugin/Form/Radios.d.ts +1 -1
- package/lib/plugin/Form/Radios.js +5 -4
- package/lib/plugin/Form/Select.d.ts +1 -1
- package/lib/plugin/Form/Select.js +30 -6
- package/lib/plugin/Form/Static.d.ts +1 -1
- package/lib/plugin/Form/Static.js +4 -4
- package/lib/plugin/Form/Switch.d.ts +1 -1
- package/lib/plugin/Form/Switch.js +5 -4
- package/lib/plugin/Form/TabsTransfer.d.ts +1 -1
- package/lib/plugin/Form/TabsTransfer.js +4 -4
- package/lib/plugin/Form/Textarea.d.ts +1 -0
- package/lib/plugin/Form/Textarea.js +4 -4
- package/lib/plugin/Form/Transfer.d.ts +1 -1
- package/lib/plugin/Form/Transfer.js +4 -4
- package/lib/plugin/Form/TransferPicker.js +4 -4
- package/lib/plugin/Form/TreeSelect.d.ts +1 -1
- package/lib/plugin/Form/TreeSelect.js +4 -4
- package/lib/plugin/Form/UUID.js +4 -4
- package/lib/plugin/GlobalVar.js +3 -2
- package/lib/plugin/Grid.d.ts +1 -0
- package/lib/plugin/Grid.js +5 -5
- package/lib/plugin/HBox.d.ts +1 -0
- package/lib/plugin/HBox.js +4 -4
- package/lib/plugin/IFrame.d.ts +1 -1
- package/lib/plugin/IFrame.js +4 -4
- package/lib/plugin/Icon.d.ts +1 -1
- package/lib/plugin/Icon.js +4 -4
- package/lib/plugin/Image.d.ts +1 -1
- package/lib/plugin/Image.js +4 -4
- package/lib/plugin/Images.d.ts +1 -1
- package/lib/plugin/Images.js +4 -4
- package/lib/plugin/Json.d.ts +1 -1
- package/lib/plugin/Json.js +4 -4
- package/lib/plugin/Layout/FlexPluginBase.d.ts +2 -1
- package/lib/plugin/Layout/FlexPluginBase.js +4 -4
- package/lib/plugin/Layout/Layout_fixed.js +3 -3
- package/lib/plugin/Layout/Layout_free_container.js +3 -3
- package/lib/plugin/Layout/Layout_sorption_container.js +3 -3
- package/lib/plugin/Link.js +4 -4
- package/lib/plugin/List.js +6 -4
- package/lib/plugin/List2.d.ts +1 -1
- package/lib/plugin/List2.js +4 -4
- package/lib/plugin/ListItem.d.ts +1 -1
- package/lib/plugin/ListItem.js +5 -5
- package/lib/plugin/Log.d.ts +1 -1
- package/lib/plugin/Log.js +4 -4
- package/lib/plugin/Mapping.js +4 -4
- package/lib/plugin/Markdown.d.ts +1 -1
- package/lib/plugin/Markdown.js +4 -4
- package/lib/plugin/Nav.d.ts +1 -1
- package/lib/plugin/Nav.js +4 -4
- package/lib/plugin/OfficeViewer.d.ts +1 -1
- package/lib/plugin/OfficeViewer.js +4 -4
- package/lib/plugin/Operation.d.ts +1 -1
- package/lib/plugin/Operation.js +4 -4
- package/lib/plugin/Others/Action.d.ts +1 -0
- package/lib/plugin/Others/Action.js +4 -4
- package/lib/plugin/Others/TableCell.d.ts +1 -1
- package/lib/plugin/Others/TableCell.js +4 -4
- package/lib/plugin/Page.d.ts +1 -1
- package/lib/plugin/Page.js +5 -5
- package/lib/plugin/Pagination.d.ts +1 -1
- package/lib/plugin/Pagination.js +4 -4
- package/lib/plugin/Panel.d.ts +1 -1
- package/lib/plugin/Panel.js +4 -4
- package/lib/plugin/PdfViewer.d.ts +1 -1
- package/lib/plugin/PdfViewer.js +4 -4
- package/lib/plugin/Plain.d.ts +1 -1
- package/lib/plugin/Plain.js +4 -4
- package/lib/plugin/Progress.d.ts +1 -1
- package/lib/plugin/Progress.js +4 -4
- package/lib/plugin/Property.js +4 -4
- package/lib/plugin/QRCode.js +4 -4
- package/lib/plugin/Reset.js +3 -3
- package/lib/plugin/SearchBox.d.ts +1 -1
- package/lib/plugin/SearchBox.js +4 -4
- package/lib/plugin/Service.d.ts +1 -1
- package/lib/plugin/Service.js +4 -4
- package/lib/plugin/Slider.js +4 -4
- package/lib/plugin/Sparkline.d.ts +1 -1
- package/lib/plugin/Sparkline.js +4 -4
- package/lib/plugin/Status.d.ts +1 -1
- package/lib/plugin/Status.js +4 -4
- package/lib/plugin/Steps.js +4 -4
- package/lib/plugin/Submit.js +3 -3
- package/lib/plugin/SwitchContainer.js +4 -4
- package/lib/plugin/Table.d.ts +3 -3
- package/lib/plugin/Table.js +7 -5
- package/lib/plugin/Table2.js +18 -18
- package/lib/plugin/TableCell2.js +6 -5
- package/lib/plugin/TableView.js +6 -6
- package/lib/plugin/Tabs.js +5 -5
- package/lib/plugin/Tag.d.ts +1 -1
- package/lib/plugin/Tag.js +4 -4
- package/lib/plugin/Tasks.d.ts +1 -0
- package/lib/plugin/Tasks.js +4 -4
- package/lib/plugin/Time.d.ts +1 -0
- package/lib/plugin/Time.js +3 -3
- package/lib/plugin/Timeline.js +4 -4
- package/lib/plugin/TooltipWrapper.d.ts +1 -1
- package/lib/plugin/TooltipWrapper.js +4 -4
- package/lib/plugin/Tpl.d.ts +1 -1
- package/lib/plugin/Tpl.js +4 -4
- package/lib/plugin/Video.d.ts +1 -1
- package/lib/plugin/Video.js +4 -4
- package/lib/plugin/WebComponent.d.ts +1 -1
- package/lib/plugin/WebComponent.js +4 -4
- package/lib/plugin/Wizard.js +5 -5
- package/lib/plugin/Wrapper.d.ts +1 -1
- package/lib/plugin/Wrapper.js +4 -4
- package/lib/renderer/APIAdaptorControl.d.ts +25 -25
- package/lib/renderer/APIAdaptorControl.js +3 -2
- package/lib/renderer/APIControl.d.ts +9 -9
- package/lib/renderer/APIControl.js +12 -11
- package/lib/renderer/ActionApiControl.d.ts +6 -6
- package/lib/renderer/BadgeControl.d.ts +12 -12
- package/lib/renderer/BadgeControl.js +2 -2
- package/lib/renderer/ButtonGroupControl.js +2 -2
- package/lib/renderer/ConditionFormulaControl.js +7 -7
- package/lib/renderer/DataBindingControl.d.ts +0 -1
- package/lib/renderer/DataBindingControl.js +2 -2
- package/lib/renderer/DataMappingControl.js +2 -2
- package/lib/renderer/DataPickerControl.js +6 -6
- package/lib/renderer/DateShortCutControl.js +3 -4
- package/lib/renderer/ExpressionFormulaControl.js +2 -2
- package/lib/renderer/FeatureControl.js +2 -2
- package/lib/renderer/FieldSetting.d.ts +0 -1
- package/lib/renderer/FieldSetting.js +11 -12
- package/lib/renderer/FlexSettingControl.js +2 -2
- package/lib/renderer/FormulaControl.d.ts +2 -2
- package/lib/renderer/FormulaControl.js +6 -6
- package/lib/renderer/FunctionEditorControl.d.ts +25 -25
- package/lib/renderer/FunctionEditorControl.js +3 -3
- package/lib/renderer/GoConfigControl.js +2 -2
- package/lib/renderer/InputRangeValueControl.js +2 -2
- package/lib/renderer/KeyValueMapControl.js +2 -2
- package/lib/renderer/ListItemControl.js +2 -2
- package/lib/renderer/MapSourceControl.d.ts +0 -1
- package/lib/renderer/MapSourceControl.js +2 -2
- package/lib/renderer/NavBadgeControl.d.ts +8 -8
- package/lib/renderer/NavBadgeControl.js +2 -2
- package/lib/renderer/NavDefaultActive.js +2 -2
- package/lib/renderer/NavSourceControl.js +2 -2
- package/lib/renderer/OptionControl.js +2 -2
- package/lib/renderer/RangePartsControl.js +2 -2
- package/lib/renderer/StatusControl.js +2 -2
- package/lib/renderer/SwitchMoreControl.js +2 -2
- package/lib/renderer/TableColumnWidthControl.js +2 -2
- package/lib/renderer/TimelineItemControl.js +2 -2
- package/lib/renderer/TplFormulaControl.js +7 -7
- package/lib/renderer/TransferTableControl.js +2 -2
- package/lib/renderer/TreeOptionControl.js +3 -2
- package/lib/renderer/ValidateApiControl.js +2 -2
- package/lib/renderer/ValidationControl.js +2 -2
- package/lib/renderer/ValidationItem.js +2 -2
- package/lib/renderer/ValueFormatControl.js +2 -2
- package/lib/renderer/crud2-control/AddColumnModal.js +2 -2
- package/lib/renderer/crud2-control/CRUDColumnControl.js +6 -6
- package/lib/renderer/crud2-control/CRUDFiltersControl.js +42 -42
- package/lib/renderer/crud2-control/CRUDToolbarControl.js +10 -10
- package/lib/renderer/event-control/DialogActionPanel.js +2 -2
- package/lib/renderer/event-control/action-config-dialog.js +3 -2
- package/lib/renderer/event-control/action-config-panel.js +2 -2
- package/lib/renderer/event-control/actionsPanelManager.d.ts +1 -1
- package/lib/renderer/event-control/actionsPanelManager.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/clear.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/component.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.d.ts +4 -3
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reload.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reset.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/setValue.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/staticStatus.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/submit.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/usability.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validate.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validateFormItem.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/visibility.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/closeDialog.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/openDialog.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/toast.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/broadcast.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/copy.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/custom.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/goBack.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/refresh.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/url.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/serverActionsPanel/ajax.js +2 -2
- package/lib/renderer/event-control/actionsPanelPlugins/serverActionsPanel/download.js +2 -2
- package/lib/renderer/event-control/comp-action-select.js +2 -2
- package/lib/renderer/event-control/constants.js +2 -2
- package/lib/renderer/event-control/eventControlConfigHelper.d.ts +5 -4
- package/lib/renderer/event-control/eventControlConfigHelper.js +2 -2
- package/lib/renderer/event-control/helper.d.ts +7 -6
- package/lib/renderer/event-control/helper.js +2 -2
- package/lib/renderer/event-control/index.js +11 -10
- package/lib/renderer/global-var-control/GlobalVarBuiltinPanel.js +2 -2
- package/lib/renderer/global-var-control/GlobalVarManagerPanel.js +2 -2
- package/lib/renderer/style-control/Background.js +2 -2
- package/lib/renderer/style-control/Border.js +2 -2
- package/lib/renderer/style-control/BoxModel.js +2 -2
- package/lib/renderer/style-control/BoxShadow.js +2 -2
- package/lib/renderer/style-control/ColCount.js +2 -2
- package/lib/renderer/style-control/ColSize.js +2 -2
- package/lib/renderer/style-control/Display.js +2 -2
- package/lib/renderer/style-control/FlexLayout.js +2 -2
- package/lib/renderer/style-control/Font.js +2 -2
- package/lib/renderer/style-control/InsetBoxModel.js +2 -2
- package/lib/renderer/style-control/LabelAlign.js +2 -2
- package/lib/renderer/style-control/SingleThemeCssCode.js +2 -2
- package/lib/renderer/style-control/ThemeCssCode.js +2 -2
- package/lib/renderer/style-control/font-family.js +2 -2
- package/lib/renderer/style-control/helper.js +2 -2
- package/lib/renderer/style-control/transformation.js +2 -2
- package/lib/renderer/textarea-formula/FormulaPicker.js +2 -2
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +6 -6
- package/lib/renderer/textarea-formula/plugin.js +2 -2
- package/lib/tpl/api.js +2 -2
- package/lib/tpl/common.js +3 -2
- package/lib/tpl/horizontal.js +2 -2
- package/lib/tpl/layout.js +6 -2
- package/lib/tpl/options.js +22 -25
- package/lib/tpl/remark.js +2 -2
- package/lib/tpl/style.js +2 -2
- package/lib/tpl/validations.js +2 -2
- package/lib/util.d.ts +1 -0
- package/lib/util.js +2 -2
- package/lib/validator.d.ts +2 -2
- package/lib/validator.js +2 -2
- package/package.json +5 -5
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { RendererPluginAction } from 'amis-editor-core';
|
|
1
|
+
import { BaseEventContext, EditorManager, PluginActions, RendererPluginAction } from 'amis-editor-core';
|
|
2
|
+
import { Schema } from 'amis-core';
|
|
2
3
|
import { ActionConfig, ComponentInfo } from './types';
|
|
3
4
|
import { ActionData } from '.';
|
|
4
5
|
export declare const findSubActionNode: (actions: RendererPluginAction[], actionType: string) => any;
|
|
@@ -6,14 +7,14 @@ export declare const getActionType: (action: ActionConfig, hasSubActionNode: Ren
|
|
|
6
7
|
export declare const hasActionType: (actionType: string, actions?: RendererPluginAction[]) => boolean;
|
|
7
8
|
export declare const getPropOfAcion: (action: ActionConfig, propName: string, actionTree: RendererPluginAction[], pluginActions: PluginActions, commonActions?: {
|
|
8
9
|
[propName: string]: RendererPluginAction;
|
|
9
|
-
}
|
|
10
|
+
}, allComponents?: ComponentInfo[]) => any;
|
|
10
11
|
export declare const checkComponent: (manager: EditorManager) => (node: any, action: RendererPluginAction) => boolean;
|
|
11
12
|
export declare const findActionNode: (actions: RendererPluginAction[], actionType: string) => any;
|
|
12
|
-
export declare const getContextSchemasHoc: (manager: EditorManager, context?:
|
|
13
|
+
export declare const getContextSchemasHoc: (manager: EditorManager, context?: BaseEventContext) => (id?: string, withoutSuper?: boolean) => Promise<any>;
|
|
13
14
|
export declare const getComponentsHoc: (manager: EditorManager) => (action: RendererPluginAction) => any;
|
|
14
15
|
export declare const getRootManager: (manager: EditorManager) => EditorManager;
|
|
15
16
|
export declare const actionConfigInitFormatterHoc: (manager: EditorManager, actionTree: RendererPluginAction[], commonActions: any, allComponents: ComponentInfo[]) => (action: ActionConfig) => Promise<{
|
|
16
17
|
actionType: any;
|
|
17
18
|
args: any;
|
|
18
19
|
}>;
|
|
19
|
-
export declare const actionConfigSubmitFormatterHoc: (actionTree: any) => (config: ActionConfig, type?: string, actionData?: ActionData, shcema?:
|
|
20
|
+
export declare const actionConfigSubmitFormatterHoc: (actionTree: any) => (config: ActionConfig, type?: string, actionData?: ActionData, shcema?: Schema) => ActionConfig;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @file 一些处理方法
|
|
3
3
|
*/
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
|
5
|
+
import { BaseEventContext, EditorManager, RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
|
6
|
+
import { Schema, Option } from 'amis-core';
|
|
6
7
|
import { ActionConfig } from './types';
|
|
7
8
|
import CmptActionSelect from './comp-action-select';
|
|
8
9
|
import { ActionData } from '.';
|
|
@@ -13,7 +14,7 @@ export declare const getArgsWrapper: (items: any, multiple?: boolean, patch?: {}
|
|
|
13
14
|
multiple: boolean;
|
|
14
15
|
strictMode: boolean;
|
|
15
16
|
};
|
|
16
|
-
export declare const renderCmptSelect: (componentLabel: string, required: boolean, onChange?: (
|
|
17
|
+
export declare const renderCmptSelect: (componentLabel: string, required: boolean, onChange?: (value: string, oldVal: any, data: any, form: any) => void, hideAutoFill?: boolean) => {
|
|
17
18
|
type: string;
|
|
18
19
|
name: string;
|
|
19
20
|
label: string;
|
|
@@ -33,7 +34,7 @@ export declare const renderCmptSelect: (componentLabel: string, required: boolea
|
|
|
33
34
|
};
|
|
34
35
|
onChange: (value: string, oldVal: any, data: any, form: any) => Promise<void>;
|
|
35
36
|
}[];
|
|
36
|
-
export declare const renderCmptActionSelect: (componentLabel: string, required: boolean, onChange?: (
|
|
37
|
+
export declare const renderCmptActionSelect: (componentLabel: string, required: boolean, onChange?: (value: string, oldVal: any, data: any, form: any) => void, hideAutoFill?: boolean, manager?: EditorManager) => ({
|
|
37
38
|
type: string;
|
|
38
39
|
name: string;
|
|
39
40
|
label: string;
|
|
@@ -77,7 +78,7 @@ export declare const renderCmptActionSelect: (componentLabel: string, required:
|
|
|
77
78
|
size?: undefined;
|
|
78
79
|
onChange?: undefined;
|
|
79
80
|
})[];
|
|
80
|
-
export declare const renderCmptIdInput: (onChange?: (
|
|
81
|
+
export declare const renderCmptIdInput: (onChange?: (value: string, oldVal: any, data: any, form: any) => void) => {
|
|
81
82
|
type: string;
|
|
82
83
|
name: string;
|
|
83
84
|
mode: string;
|
|
@@ -131,13 +132,13 @@ export declare const getEventControlConfig: (manager: EditorManager, context: Ba
|
|
|
131
132
|
addBroadcast: any;
|
|
132
133
|
removeBroadcast: any;
|
|
133
134
|
allComponents: any;
|
|
134
|
-
getContextSchemas: (id?: string
|
|
135
|
+
getContextSchemas: (id?: string, withoutSuper?: boolean) => Promise<any>;
|
|
135
136
|
getComponents: (action: RendererPluginAction) => any;
|
|
136
137
|
actionConfigInitFormatter: (action: ActionConfig) => Promise<{
|
|
137
138
|
actionType: any;
|
|
138
139
|
args: any;
|
|
139
140
|
}>;
|
|
140
|
-
actionConfigSubmitFormatter: (config: ActionConfig, type?: string
|
|
141
|
+
actionConfigSubmitFormatter: (config: ActionConfig, type?: string, actionData?: ActionData, shcema?: Schema) => ActionConfig;
|
|
141
142
|
};
|
|
142
143
|
/**
|
|
143
144
|
* 更新localStorage存储的常用动作
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-editor v6.14.0-beta.
|
|
3
|
-
* build time: 2025-
|
|
2
|
+
* amis-editor v6.14.0-beta.10
|
|
3
|
+
* build time: 2025-10-29
|
|
4
4
|
* Copyright 2018-2025 @fex
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -244,6 +244,7 @@ var EventControl = /** @class */function (_super) {
|
|
|
244
244
|
if (config.actionType === 'broadcast') {
|
|
245
245
|
typeof addBroadcast === 'function' && addBroadcast({
|
|
246
246
|
owner: owner,
|
|
247
|
+
// TODO:标记来源
|
|
247
248
|
isBroadcast: true,
|
|
248
249
|
eventName: config.eventName,
|
|
249
250
|
eventLabel: config.eventLabel,
|
|
@@ -531,13 +532,13 @@ var EventControl = /** @class */function (_super) {
|
|
|
531
532
|
}, 'event-variable');
|
|
532
533
|
};
|
|
533
534
|
EventControl.prototype.buildContextSchema = function (data) {
|
|
534
|
-
var _a;
|
|
535
535
|
return __awaiter(this, void 0, void 0, function () {
|
|
536
|
-
var
|
|
536
|
+
var _a, manager, currentNode, variables, appVariables;
|
|
537
|
+
var _b;
|
|
537
538
|
return __generator(this, function (_c) {
|
|
538
539
|
switch (_c.label) {
|
|
539
540
|
case 0:
|
|
540
|
-
|
|
541
|
+
_a = this.props, manager = _a.manager, currentNode = _a.node;
|
|
541
542
|
variables = [];
|
|
542
543
|
// 获取上下文
|
|
543
544
|
return [4 /*yield*/, manager.getContextSchemas(currentNode.id)];
|
|
@@ -549,7 +550,7 @@ var EventControl = /** @class */function (_super) {
|
|
|
549
550
|
this.buildEventDataSchema(data, manager);
|
|
550
551
|
manager.dataSchema.switchTo('event-variable');
|
|
551
552
|
variables = manager.dataSchema.getDataPropsAsOptions();
|
|
552
|
-
appVariables = ((
|
|
553
|
+
appVariables = ((_b = manager === null || manager === void 0 ? void 0 : manager.variableManager) === null || _b === void 0 ? void 0 : _b.getVariableFormulaOptions()) || [];
|
|
553
554
|
appVariables.forEach(function (item) {
|
|
554
555
|
if (Array.isArray(item === null || item === void 0 ? void 0 : item.children) && item.children.length) {
|
|
555
556
|
variables.push(item);
|
|
@@ -562,13 +563,13 @@ var EventControl = /** @class */function (_super) {
|
|
|
562
563
|
};
|
|
563
564
|
// 唤起动作配置弹窗
|
|
564
565
|
EventControl.prototype.activeActionDialog = function (data) {
|
|
565
|
-
var _a;
|
|
566
566
|
return __awaiter(this, void 0, void 0, function () {
|
|
567
|
-
var
|
|
567
|
+
var _a, pluginActions, getContextSchemas, actionConfigInitFormatter, getComponents, actionTree, allComponents, manager, variables, action_1, actionConfig, actionNode, hasSubActionNode, supportComponents, node, setValueDs, contextSchema, dataSchema, targetVariables, actionGroupType;
|
|
568
|
+
var _b;
|
|
568
569
|
return __generator(this, function (_c) {
|
|
569
570
|
switch (_c.label) {
|
|
570
571
|
case 0:
|
|
571
|
-
|
|
572
|
+
_a = this.props, pluginActions = _a.actions, getContextSchemas = _a.getContextSchemas, actionConfigInitFormatter = _a.actionConfigInitFormatter, getComponents = _a.getComponents, actionTree = _a.actionTree, allComponents = _a.allComponents, manager = _a.manager, _a.node;
|
|
572
573
|
return [4 /*yield*/, this.buildContextSchema(data)];
|
|
573
574
|
case 1:
|
|
574
575
|
variables = _c.sent();
|
|
@@ -604,7 +605,7 @@ var EventControl = /** @class */function (_super) {
|
|
|
604
605
|
getContextSchemas: getContextSchemas
|
|
605
606
|
}, actionConfig), {
|
|
606
607
|
groupType: actionGroupType,
|
|
607
|
-
__actionDesc: (
|
|
608
|
+
__actionDesc: (_b = actionNode === null || actionNode === void 0 ? void 0 : actionNode.description) !== null && _b !== void 0 ? _b : '',
|
|
608
609
|
__actionSchema: actionNode.schema,
|
|
609
610
|
__subActions: hasSubActionNode === null || hasSubActionNode === void 0 ? void 0 : hasSubActionNode.actions,
|
|
610
611
|
__cmptTreeSource: supportComponents !== null && supportComponents !== void 0 ? supportComponents : [],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-editor v6.14.0-beta.
|
|
3
|
-
* build time: 2025-
|
|
2
|
+
* amis-editor v6.14.0-beta.10
|
|
3
|
+
* build time: 2025-10-29
|
|
4
4
|
* Copyright 2018-2025 @fex
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -187,14 +187,14 @@ var TextareaFormulaControl = /** @class */function (_super) {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
TextareaFormulaControl.prototype.handleFormulaEditorOpen = function () {
|
|
190
|
-
var _a;
|
|
191
190
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
|
-
var
|
|
191
|
+
var _a, node, manager, data, onFormulaEditorOpen, res, variables, error_1;
|
|
192
|
+
var _b;
|
|
193
193
|
return __generator(this, function (_c) {
|
|
194
194
|
switch (_c.label) {
|
|
195
195
|
case 0:
|
|
196
|
-
|
|
197
|
-
onFormulaEditorOpen = (
|
|
196
|
+
_a = this.props, node = _a.node, manager = _a.manager, data = _a.data;
|
|
197
|
+
onFormulaEditorOpen = (_b = manager === null || manager === void 0 ? void 0 : manager.config) === null || _b === void 0 ? void 0 : _b.onFormulaEditorOpen;
|
|
198
198
|
this.setState({
|
|
199
199
|
loading: true
|
|
200
200
|
});
|
package/esm/tpl/api.js
CHANGED
package/esm/tpl/common.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-editor v6.14.0-beta.
|
|
3
|
-
* build time: 2025-
|
|
2
|
+
* amis-editor v6.14.0-beta.10
|
|
3
|
+
* build time: 2025-10-29
|
|
4
4
|
* Copyright 2018-2025 @fex
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -267,6 +267,7 @@ setSchemaTpl('tabs', function (config) {
|
|
|
267
267
|
return {
|
|
268
268
|
type: 'tabs',
|
|
269
269
|
tabsMode: 'line',
|
|
270
|
+
// tiled
|
|
270
271
|
className: 'editor-prop-config-tabs',
|
|
271
272
|
linksClassName: 'editor-prop-config-tabs-links aa',
|
|
272
273
|
contentClassName: 'no-border editor-prop-config-tabs-cont hoverShowScrollBar',
|
package/esm/tpl/horizontal.js
CHANGED
package/esm/tpl/layout.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-editor v6.14.0-beta.
|
|
3
|
-
* build time: 2025-
|
|
2
|
+
* amis-editor v6.14.0-beta.10
|
|
3
|
+
* build time: 2025-10-29
|
|
4
4
|
* Copyright 2018-2025 @fex
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -257,6 +257,7 @@ setSchemaTpl('layout:alignItems', function (config) {
|
|
|
257
257
|
label: (config === null || config === void 0 ? void 0 : config.label) || tipedLabel(i18n("5b15af1f73b4f2d5bb152410863602f4"), i18n("5ccc4c05cd41195f202f550a4c307a64")),
|
|
258
258
|
name: (config === null || config === void 0 ? void 0 : config.name) || 'style.alignItems',
|
|
259
259
|
value: (config === null || config === void 0 ? void 0 : config.value) || 'stretch',
|
|
260
|
+
// 如果项目未设置高度或设为auto,将占满整个容器的高度。
|
|
260
261
|
visibleOn: config === null || config === void 0 ? void 0 : config.visibleOn,
|
|
261
262
|
pipeIn: config === null || config === void 0 ? void 0 : config.pipeIn,
|
|
262
263
|
pipeOut: config === null || config === void 0 ? void 0 : config.pipeOut,
|
|
@@ -971,6 +972,7 @@ setSchemaTpl('layout:padding', function (config) {
|
|
|
971
972
|
name: (config === null || config === void 0 ? void 0 : config.name) || 'size',
|
|
972
973
|
size: 'xs',
|
|
973
974
|
mode: (config === null || config === void 0 ? void 0 : config.mode) || 'horizontal',
|
|
975
|
+
// horizontal、vertical
|
|
974
976
|
visibleOn: config === null || config === void 0 ? void 0 : config.visibleOn,
|
|
975
977
|
pipeIn: (config === null || config === void 0 ? void 0 : config.pipeIn) || defaultValue(''),
|
|
976
978
|
pipeOut: config === null || config === void 0 ? void 0 : config.pipeOut,
|
|
@@ -1003,6 +1005,7 @@ setSchemaTpl('layout:textAlign', function (config) {
|
|
|
1003
1005
|
name: (config === null || config === void 0 ? void 0 : config.name) || 'textAlign',
|
|
1004
1006
|
// size: 'xs',
|
|
1005
1007
|
mode: (config === null || config === void 0 ? void 0 : config.mode) || 'horizontal',
|
|
1008
|
+
// horizontal、vertical
|
|
1006
1009
|
visibleOn: config === null || config === void 0 ? void 0 : config.visibleOn,
|
|
1007
1010
|
pipeIn: (config === null || config === void 0 ? void 0 : config.pipeIn) || defaultValue(''),
|
|
1008
1011
|
pipeOut: config === null || config === void 0 ? void 0 : config.pipeOut,
|
|
@@ -1045,6 +1048,7 @@ setSchemaTpl('layout:flex-setting', function (config) {
|
|
|
1045
1048
|
type: 'flex-layout-setting',
|
|
1046
1049
|
name: (config === null || config === void 0 ? void 0 : config.name) || 'style',
|
|
1047
1050
|
mode: 'vertical',
|
|
1051
|
+
// horizontal、vertical
|
|
1048
1052
|
label: (_a = config === null || config === void 0 ? void 0 : config.label) !== null && _a !== void 0 ? _a : false,
|
|
1049
1053
|
visibleOn: config === null || config === void 0 ? void 0 : config.visibleOn,
|
|
1050
1054
|
direction: config === null || config === void 0 ? void 0 : config.direction,
|
package/esm/tpl/options.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-editor v6.14.0-beta.
|
|
3
|
-
* build time: 2025-
|
|
2
|
+
* amis-editor v6.14.0-beta.10
|
|
3
|
+
* build time: 2025-10-29
|
|
4
4
|
* Copyright 2018-2025 @fex
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { __assign, __spreadArray, __read } from 'tslib';
|
|
8
8
|
import React__default from 'react';
|
|
9
9
|
import { setSchemaTpl, getI18nEnabled, getSchemaTpl, tipedLabel, defaultValue, JSONPipeOut } from 'amis-editor-core';
|
|
10
|
-
import { findObjectsWithKey } from 'amis-core';
|
|
11
10
|
import { Button, Icon } from 'amis-ui';
|
|
12
11
|
import assign from 'lodash/assign';
|
|
13
12
|
import cloneDeep from 'lodash/cloneDeep';
|
|
@@ -453,12 +452,9 @@ setSchemaTpl('optionAddControl', function (params) {
|
|
|
453
452
|
title: createBtnLabel || i18n("66ab5e9f24c8f46012a25c89919fb191").concat(optionLabel || i18n("ea15ae2b7fba76c83eec6d0986d15197"))
|
|
454
453
|
}, addDialog), {
|
|
455
454
|
body: {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
'api': addApi,
|
|
460
|
-
/** 这里是为了兼容旧版,比如type: text类型的组件会被渲染为input-text */
|
|
461
|
-
'controls': __spreadArray([], __read(value ? Array.isArray(value) ? value : [value] : [/** FIXME: 这里是没做任何配置时的默认 scaffold */
|
|
455
|
+
type: 'form',
|
|
456
|
+
api: addApi,
|
|
457
|
+
body: __spreadArray([], __read(value ? Array.isArray(value) ? value : [value] : [/** FIXME: 这里是没做任何配置时的默认 scaffold */
|
|
462
458
|
{
|
|
463
459
|
type: 'input-text',
|
|
464
460
|
name: 'label',
|
|
@@ -478,15 +474,17 @@ setSchemaTpl('optionAddControl', function (params) {
|
|
|
478
474
|
manager.openSubEditor({
|
|
479
475
|
title: i18n("c630aa278a251b72bebf09284095112a"),
|
|
480
476
|
value: scaffold,
|
|
477
|
+
memberImmutable: true,
|
|
478
|
+
typeMutable: false,
|
|
481
479
|
onChange: function (value, diff) {
|
|
482
|
-
var _a
|
|
480
|
+
var _a;
|
|
483
481
|
var pureSchema = JSONPipeOut(value, function (key, propValue) {
|
|
484
482
|
return key.substring(0, 2) === '__' || key === 'id';
|
|
485
483
|
});
|
|
486
484
|
var addDialog = omit(pureSchema, ['type', 'body', 'id']);
|
|
487
|
-
var targetForm =
|
|
488
|
-
var addApi =
|
|
489
|
-
var addControls = (
|
|
485
|
+
var targetForm = pureSchema.body[0];
|
|
486
|
+
var addApi = targetForm === null || targetForm === void 0 ? void 0 : targetForm.api;
|
|
487
|
+
var addControls = (_a = targetForm === null || targetForm === void 0 ? void 0 : targetForm.controls) !== null && _a !== void 0 ? _a : targetForm === null || targetForm === void 0 ? void 0 : targetForm.body;
|
|
490
488
|
onBulkChange({
|
|
491
489
|
addApi: addApi,
|
|
492
490
|
addDialog: addDialog,
|
|
@@ -575,13 +573,10 @@ setSchemaTpl('optionEditControl', function (params) {
|
|
|
575
573
|
title: i18n("cd994c38456676f5a55c5593b6a652bf")
|
|
576
574
|
}, editDialog), {
|
|
577
575
|
body: {
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
'initApi': editInitApi,
|
|
583
|
-
/** 这里是为了兼容旧版,比如type: text类型的组件会被渲染为input-text */
|
|
584
|
-
'controls': __spreadArray([], __read(value ? Array.isArray(value) ? value : [value] : [/** FIXME: 这里是没做任何配置时的默认 scaffold */
|
|
576
|
+
type: 'form',
|
|
577
|
+
api: editApi,
|
|
578
|
+
initApi: editInitApi,
|
|
579
|
+
body: __spreadArray([], __read(value ? Array.isArray(value) ? value : [value] : [/** FIXME: 这里是没做任何配置时的默认 scaffold */
|
|
585
580
|
{
|
|
586
581
|
type: 'input-text',
|
|
587
582
|
name: 'label',
|
|
@@ -601,16 +596,18 @@ setSchemaTpl('optionEditControl', function (params) {
|
|
|
601
596
|
manager.openSubEditor({
|
|
602
597
|
title: i18n("fba91204d335ae6eda35809023a94f7f"),
|
|
603
598
|
value: scaffold,
|
|
599
|
+
memberImmutable: true,
|
|
600
|
+
typeMutable: false,
|
|
604
601
|
onChange: function (value, diff) {
|
|
605
|
-
var _a
|
|
602
|
+
var _a;
|
|
606
603
|
var pureSchema = JSONPipeOut(value, function (key, propValue) {
|
|
607
604
|
return key.substring(0, 2) === '__' || key === 'id';
|
|
608
605
|
});
|
|
609
606
|
var editDialog = omit(pureSchema, ['type', 'body', 'id']);
|
|
610
|
-
var targetForm =
|
|
611
|
-
var editApi =
|
|
612
|
-
var editInitApi =
|
|
613
|
-
var editControls = (
|
|
607
|
+
var targetForm = pureSchema.body[0];
|
|
608
|
+
var editApi = targetForm === null || targetForm === void 0 ? void 0 : targetForm.api;
|
|
609
|
+
var editInitApi = targetForm === null || targetForm === void 0 ? void 0 : targetForm.initApi;
|
|
610
|
+
var editControls = (_a = targetForm === null || targetForm === void 0 ? void 0 : targetForm.controls) !== null && _a !== void 0 ? _a : targetForm === null || targetForm === void 0 ? void 0 : targetForm.body;
|
|
614
611
|
onBulkChange({
|
|
615
612
|
editApi: editApi,
|
|
616
613
|
editInitApi: editInitApi,
|
package/esm/tpl/remark.js
CHANGED
package/esm/tpl/style.js
CHANGED
package/esm/tpl/validations.js
CHANGED
package/esm/util.d.ts
CHANGED
package/esm/util.js
CHANGED