amis-editor 5.6.1 → 5.6.2
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/builder/ApiDSBuilder.js +5 -5
- package/esm/builder/DSBuilder.js +3 -3
- package/esm/builder/DSBuilderManager.d.ts +1 -1
- package/esm/builder/DSBuilderManager.js +5 -5
- package/esm/builder/constants.js +3 -3
- package/esm/builder/utils.js +3 -3
- package/esm/component/BaseControl.js +4 -4
- package/esm/component/InputComponentName.js +3 -3
- package/esm/component/TableViewEditor.js +3 -3
- package/esm/icons/btn/btn-group.svg.js +3 -3
- package/esm/icons/btn/btn-select.svg.js +3 -3
- package/esm/icons/btn/btn-toolbar.svg.js +3 -3
- package/esm/icons/btn/button.svg.js +3 -3
- package/esm/icons/btn/dropdown-btn.svg.js +3 -3
- package/esm/icons/container/anchor-nav.svg.js +3 -3
- package/esm/icons/container/collapse.svg.js +3 -3
- package/esm/icons/container/container.svg.js +3 -3
- package/esm/icons/container/flex-container.svg.js +3 -3
- package/esm/icons/container/form-group.svg.js +3 -3
- package/esm/icons/container/grid.svg.js +3 -3
- package/esm/icons/container/iframe.svg.js +3 -3
- package/esm/icons/container/panel.svg.js +3 -3
- package/esm/icons/container/switch-container.svg.js +22 -0
- package/esm/icons/container/table-view.svg.js +3 -3
- package/esm/icons/container/tabs.svg.js +3 -3
- package/esm/icons/container/tooltip-wrapper.svg.js +3 -3
- package/esm/icons/container/web-component.svg.js +3 -3
- package/esm/icons/crud/column-add.svg.js +3 -3
- package/esm/icons/crud/column-delete.svg.js +3 -3
- package/esm/icons/crud/column-setting.svg.js +3 -3
- package/esm/icons/crud/share-link.svg.js +3 -3
- package/esm/icons/display/aBaseline.svg.js +3 -3
- package/esm/icons/display/aCenter.svg.js +3 -3
- package/esm/icons/display/aFlexEnd.svg.js +3 -3
- package/esm/icons/display/aFlexStart.svg.js +3 -3
- package/esm/icons/display/aStretch.svg.js +3 -3
- package/esm/icons/display/block.svg.js +3 -3
- package/esm/icons/display/dcolumn.svg.js +3 -3
- package/esm/icons/display/dcolumnReverse.svg.js +3 -3
- package/esm/icons/display/drow.svg.js +3 -3
- package/esm/icons/display/drowReverse.svg.js +3 -3
- package/esm/icons/display/flex.svg.js +3 -3
- package/esm/icons/display/inline-block.svg.js +3 -3
- package/esm/icons/display/inline.svg.js +3 -3
- package/esm/icons/display/jCenter.svg.js +3 -3
- package/esm/icons/display/jFlexEnd.svg.js +3 -3
- package/esm/icons/display/jFlexStart.svg.js +3 -3
- package/esm/icons/display/jSpaceAround.svg.js +3 -3
- package/esm/icons/display/jSpaceBetween.svg.js +3 -3
- package/esm/icons/feat/audio.svg.js +3 -3
- package/esm/icons/feat/custom.svg.js +3 -3
- package/esm/icons/feat/each.svg.js +3 -3
- package/esm/icons/feat/form.svg.js +3 -3
- package/esm/icons/feat/nav.svg.js +3 -3
- package/esm/icons/feat/qrcode.svg.js +3 -3
- package/esm/icons/feat/service.svg.js +3 -3
- package/esm/icons/feat/table.svg.js +3 -3
- package/esm/icons/feat/tasks.svg.js +3 -3
- package/esm/icons/feat/video.svg.js +3 -3
- package/esm/icons/feat/wizard.svg.js +3 -3
- package/esm/icons/form/chained-select.svg.js +3 -3
- package/esm/icons/form/checkbox.svg.js +3 -3
- package/esm/icons/form/checkboxes.svg.js +3 -3
- package/esm/icons/form/combo.svg.js +3 -3
- package/esm/icons/form/condition-builder.svg.js +3 -3
- package/esm/icons/form/diff-editor.svg.js +3 -3
- package/esm/icons/form/editor.svg.js +3 -3
- package/esm/icons/form/formula.svg.js +3 -3
- package/esm/icons/form/hidden.svg.js +3 -3
- package/esm/icons/form/input-city.svg.js +3 -3
- package/esm/icons/form/input-color.svg.js +3 -3
- package/esm/icons/form/input-date-range.svg.js +3 -3
- package/esm/icons/form/input-date.svg.js +3 -3
- package/esm/icons/form/input-datetime.svg.js +3 -3
- package/esm/icons/form/input-email.svg.js +3 -3
- package/esm/icons/form/input-excel.svg.js +3 -3
- package/esm/icons/form/input-file.svg.js +3 -3
- package/esm/icons/form/input-group.svg.js +3 -3
- package/esm/icons/form/input-image.svg.js +3 -3
- package/esm/icons/form/input-kv.svg.js +3 -3
- package/esm/icons/form/input-month-range.svg.js +3 -3
- package/esm/icons/form/input-number.svg.js +3 -3
- package/esm/icons/form/input-password.svg.js +3 -3
- package/esm/icons/form/input-quarter-range.svg.js +3 -3
- package/esm/icons/form/input-range.svg.js +3 -3
- package/esm/icons/form/input-rating.svg.js +3 -3
- package/esm/icons/form/input-repeat.svg.js +3 -3
- package/esm/icons/form/input-rich-text.svg.js +3 -3
- package/esm/icons/form/input-tag.svg.js +3 -3
- package/esm/icons/form/input-text.svg.js +3 -3
- package/esm/icons/form/input-time-range.svg.js +3 -3
- package/esm/icons/form/input-time.svg.js +3 -3
- package/esm/icons/form/input-tree.svg.js +3 -3
- package/esm/icons/form/input-url.svg.js +3 -3
- package/esm/icons/form/input-year.svg.js +3 -3
- package/esm/icons/form/inputArray.svg.js +3 -3
- package/esm/icons/form/list-select.svg.js +3 -3
- package/esm/icons/form/location-picker.svg.js +3 -3
- package/esm/icons/form/matrix-checkboxes.svg.js +3 -3
- package/esm/icons/form/month.svg.js +3 -3
- package/esm/icons/form/nested-select.svg.js +3 -3
- package/esm/icons/form/picker.svg.js +3 -3
- package/esm/icons/form/quarter.svg.js +3 -3
- package/esm/icons/form/radios.svg.js +3 -3
- package/esm/icons/form/select.svg.js +3 -3
- package/esm/icons/form/static.svg.js +3 -3
- package/esm/icons/form/sub-form.svg.js +3 -3
- package/esm/icons/form/switch.svg.js +3 -3
- package/esm/icons/form/tabs-transfer.svg.js +3 -3
- package/esm/icons/form/textarea.svg.js +3 -3
- package/esm/icons/form/transfer.svg.js +3 -3
- package/esm/icons/form/tree-select.svg.js +3 -3
- package/esm/icons/form/uuid.svg.js +3 -3
- package/esm/icons/index.js +5 -3
- package/esm/icons/layout/layout-1with2.svg.js +3 -3
- package/esm/icons/layout/layout-2cols.svg.js +3 -3
- package/esm/icons/layout/layout-2row.svg.js +3 -3
- package/esm/icons/layout/layout-2with1.svg.js +3 -3
- package/esm/icons/layout/layout-3cols.svg.js +3 -3
- package/esm/icons/layout/layout-3row.svg.js +3 -3
- package/esm/icons/layout/layout-absolute.svg.js +3 -3
- package/esm/icons/layout/layout-fixed-top.svg.js +3 -3
- package/esm/icons/layout/layout-fixed.svg.js +3 -3
- package/esm/icons/layout/layout-free-container.svg.js +3 -3
- package/esm/icons/layout/layout-full.svg.js +3 -3
- package/esm/icons/layout/layout1-2.svg.js +3 -3
- package/esm/icons/layout/layout2-1.svg.js +3 -3
- package/esm/icons/layout/layout3-1.svg.js +3 -3
- package/esm/icons/layout/layout3-2.svg.js +3 -3
- package/esm/icons/other/_fx.svg.js +3 -3
- package/esm/icons/other/divider.svg.js +3 -3
- package/esm/icons/other/fx.svg.js +3 -3
- package/esm/icons/other/property-sheet.svg.js +3 -3
- package/esm/icons/other/tooltip.svg.js +3 -3
- package/esm/icons/show/URL.svg.js +3 -3
- package/esm/icons/show/avatar.svg.js +3 -3
- package/esm/icons/show/breadcrumb.svg.js +3 -3
- package/esm/icons/show/card.svg.js +3 -3
- package/esm/icons/show/cards.svg.js +3 -3
- package/esm/icons/show/carousel.svg.js +3 -3
- package/esm/icons/show/chart.svg.js +3 -3
- package/esm/icons/show/code.svg.js +3 -3
- package/esm/icons/show/date.svg.js +3 -3
- package/esm/icons/show/datetime.svg.js +3 -3
- package/esm/icons/show/image.svg.js +3 -3
- package/esm/icons/show/images.svg.js +3 -3
- package/esm/icons/show/json-view.svg.js +3 -3
- package/esm/icons/show/list.svg.js +3 -3
- package/esm/icons/show/log.svg.js +3 -3
- package/esm/icons/show/mapping.svg.js +3 -3
- package/esm/icons/show/markdown.svg.js +3 -3
- package/esm/icons/show/plain.svg.js +3 -3
- package/esm/icons/show/progress.svg.js +3 -3
- package/esm/icons/show/sparkline.svg.js +3 -3
- package/esm/icons/show/status.svg.js +3 -3
- package/esm/icons/show/steps.svg.js +3 -3
- package/esm/icons/show/time.svg.js +3 -3
- package/esm/icons/theme/css.svg.js +3 -3
- package/esm/index.d.ts +2 -0
- package/esm/index.js +7 -3
- package/esm/locale/en-US.js +4 -4
- package/esm/locale/zh-CN.js +3 -3
- package/esm/plugin/Alert.js +3 -3
- package/esm/plugin/AnchorNav.js +3 -3
- package/esm/plugin/Audio.js +3 -3
- package/esm/plugin/Avatar.js +3 -3
- package/esm/plugin/Breadcrumb.js +3 -3
- package/esm/plugin/Button.js +3 -3
- package/esm/plugin/ButtonGroup.js +3 -3
- package/esm/plugin/CRUD.js +3 -3
- package/esm/plugin/CRUD2/BaseCRUD.js +4 -4
- package/esm/plugin/CRUD2/CRUDTable.js +3 -3
- package/esm/plugin/CRUD2/constants.js +3 -3
- package/esm/plugin/CRUD2/utils.js +74 -7
- package/esm/plugin/Card.js +3 -14
- package/esm/plugin/Card2.js +3 -3
- package/esm/plugin/Cards.d.ts +1 -0
- package/esm/plugin/Cards.js +4 -3
- package/esm/plugin/Carousel.js +3 -3
- package/esm/plugin/Chart.js +3 -3
- package/esm/plugin/CodeView.js +3 -3
- package/esm/plugin/Collapse.js +3 -3
- package/esm/plugin/CollapseGroup.js +3 -3
- package/esm/plugin/ColumnToggler.js +3 -3
- package/esm/plugin/Container.js +3 -3
- package/esm/plugin/Custom.js +3 -3
- package/esm/plugin/CustomRegion.js +3 -3
- package/esm/plugin/Date.js +3 -3
- package/esm/plugin/Datetime.js +3 -3
- package/esm/plugin/Dialog.js +5 -4
- package/esm/plugin/Divider.d.ts +1 -1
- package/esm/plugin/Divider.js +150 -76
- package/esm/plugin/Drawer.js +3 -3
- package/esm/plugin/DropDownButton.d.ts +1 -0
- package/esm/plugin/DropDownButton.js +4 -3
- package/esm/plugin/Each.d.ts +1 -0
- package/esm/plugin/Each.js +4 -3
- package/esm/plugin/Flex.js +3 -3
- package/esm/plugin/Form/ButtonGroupSelect.js +3 -3
- package/esm/plugin/Form/ButtonToolbar.js +3 -3
- package/esm/plugin/Form/ChainedSelect.js +3 -3
- package/esm/plugin/Form/Checkbox.js +3 -3
- package/esm/plugin/Form/Checkboxes.js +7 -3
- package/esm/plugin/Form/CodeEditor.js +3 -3
- package/esm/plugin/Form/Combo.js +3 -3
- package/esm/plugin/Form/ConditionBuilder.js +3 -3
- package/esm/plugin/Form/Control.js +3 -3
- package/esm/plugin/Form/DiffEditor.d.ts +1 -0
- package/esm/plugin/Form/DiffEditor.js +4 -3
- package/esm/plugin/Form/FieldSet.d.ts +1 -0
- package/esm/plugin/Form/FieldSet.js +4 -3
- package/esm/plugin/Form/Form.js +40 -31
- package/esm/plugin/Form/Formula.js +3 -3
- package/esm/plugin/Form/Group.js +3 -3
- package/esm/plugin/Form/Hidden.d.ts +1 -0
- package/esm/plugin/Form/Hidden.js +4 -3
- package/esm/plugin/Form/InputArray.js +3 -3
- package/esm/plugin/Form/InputCity.d.ts +1 -0
- package/esm/plugin/Form/InputCity.js +4 -3
- package/esm/plugin/Form/InputColor.d.ts +1 -0
- package/esm/plugin/Form/InputColor.js +4 -3
- package/esm/plugin/Form/InputDate.js +6 -6
- package/esm/plugin/Form/InputDateRange.js +4 -4
- package/esm/plugin/Form/InputDateTime.js +3 -3
- package/esm/plugin/Form/InputDateTimeRange.js +3 -3
- package/esm/plugin/Form/InputEmail.js +3 -3
- package/esm/plugin/Form/InputExcel.js +3 -3
- package/esm/plugin/Form/InputFile.js +3 -3
- package/esm/plugin/Form/InputGroup.d.ts +1 -0
- package/esm/plugin/Form/InputGroup.js +4 -3
- package/esm/plugin/Form/InputImage.js +3 -3
- package/esm/plugin/Form/InputKV.js +3 -3
- package/esm/plugin/Form/InputMonth.js +3 -3
- package/esm/plugin/Form/InputMonthRange.js +3 -3
- package/esm/plugin/Form/InputNumber.d.ts +1 -0
- package/esm/plugin/Form/InputNumber.js +25 -14
- package/esm/plugin/Form/InputPassword.js +3 -3
- package/esm/plugin/Form/InputQuarter.js +3 -3
- package/esm/plugin/Form/InputQuarterRange.js +3 -3
- package/esm/plugin/Form/InputRange.js +3 -3
- package/esm/plugin/Form/InputRating.js +3 -3
- package/esm/plugin/Form/InputRepeat.d.ts +1 -0
- package/esm/plugin/Form/InputRepeat.js +4 -3
- package/esm/plugin/Form/InputRichText.d.ts +2 -0
- package/esm/plugin/Form/InputRichText.js +31 -3
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.js +28 -4
- package/esm/plugin/Form/InputTag.d.ts +1 -0
- package/esm/plugin/Form/InputTag.js +4 -3
- package/esm/plugin/Form/InputText.js +4 -4
- package/esm/plugin/Form/InputTime.js +3 -3
- package/esm/plugin/Form/InputTimeRange.js +3 -3
- package/esm/plugin/Form/InputTree.js +8 -4
- package/esm/plugin/Form/InputURL.js +3 -3
- package/esm/plugin/Form/InputYear.js +3 -3
- package/esm/plugin/Form/InputYearRange.js +3 -3
- package/esm/plugin/Form/Item.js +3 -3
- package/esm/plugin/Form/ListSelect.d.ts +8 -1
- package/esm/plugin/Form/ListSelect.js +108 -7
- package/esm/plugin/Form/LocationPicker.js +3 -3
- package/esm/plugin/Form/MatrixCheckboxes.js +3 -3
- package/esm/plugin/Form/NestedSelect.js +3 -3
- package/esm/plugin/Form/Picker.d.ts +1 -0
- package/esm/plugin/Form/Picker.js +4 -3
- package/esm/plugin/Form/Radios.js +3 -3
- package/esm/plugin/Form/Select.d.ts +1 -0
- package/esm/plugin/Form/Select.js +4 -4
- package/esm/plugin/Form/Static.js +3 -3
- package/esm/plugin/Form/Switch.js +3 -3
- package/esm/plugin/Form/TabsTransfer.js +3 -3
- package/esm/plugin/Form/Textarea.d.ts +1 -0
- package/esm/plugin/Form/Textarea.js +4 -3
- package/esm/plugin/Form/Transfer.js +3 -3
- package/esm/plugin/Form/TreeSelect.js +7 -3
- package/esm/plugin/Form/UUID.d.ts +1 -0
- package/esm/plugin/Form/UUID.js +4 -3
- package/esm/plugin/Grid.d.ts +1 -0
- package/esm/plugin/Grid.js +4 -3
- package/esm/plugin/HBox.js +3 -3
- package/esm/plugin/IFrame.js +3 -3
- package/esm/plugin/Icon.js +4 -4
- package/esm/plugin/Image.js +3 -3
- package/esm/plugin/Images.js +3 -3
- package/esm/plugin/Json.js +3 -3
- package/esm/plugin/Layout/FlexPluginBase.js +3 -3
- package/esm/plugin/Layout/Layout_fixed.js +3 -3
- package/esm/plugin/Layout/Layout_free_container.js +3 -3
- package/esm/plugin/Layout/Layout_sorption_container.js +3 -3
- package/esm/plugin/Link.js +3 -3
- package/esm/plugin/List.js +3 -3
- package/esm/plugin/List2.js +3 -3
- package/esm/plugin/ListItem.js +3 -3
- package/esm/plugin/Log.d.ts +1 -0
- package/esm/plugin/Log.js +4 -3
- package/esm/plugin/Mapping.js +3 -3
- package/esm/plugin/Markdown.js +3 -3
- package/esm/plugin/Nav.js +4 -4
- package/esm/plugin/OfficeViewer.js +3 -3
- package/esm/plugin/Operation.d.ts +1 -1
- package/esm/plugin/Operation.js +9 -17
- package/esm/plugin/Others/Action.js +3 -3
- package/esm/plugin/Others/TableCell.js +3 -3
- package/esm/plugin/Page.js +3 -3
- package/esm/plugin/Pagination.d.ts +2 -1
- package/esm/plugin/Pagination.js +26 -6
- package/esm/plugin/Panel.js +3 -3
- package/esm/plugin/Plain.js +3 -3
- package/esm/plugin/Progress.js +3 -15
- package/esm/plugin/Property.js +3 -3
- package/esm/plugin/QRCode.js +3 -3
- package/esm/plugin/Reset.js +3 -3
- package/esm/plugin/SearchBox.js +3 -3
- package/esm/plugin/Service.d.ts +1 -0
- package/esm/plugin/Service.js +5 -4
- package/esm/plugin/Sparkline.js +3 -3
- package/esm/plugin/Status.js +3 -3
- package/esm/plugin/Steps.js +3 -3
- package/esm/plugin/Submit.js +3 -3
- package/esm/plugin/SwitchContainer.d.ts +64 -0
- package/esm/plugin/SwitchContainer.js +355 -0
- package/esm/plugin/Table.js +5 -10
- package/esm/plugin/Table2.js +3 -3
- package/esm/plugin/TableCell2.js +3 -3
- package/esm/plugin/TableView.d.ts +1 -0
- package/esm/plugin/TableView.js +4 -3
- package/esm/plugin/Tabs.js +3 -3
- package/esm/plugin/Tag.js +3 -3
- package/esm/plugin/Tasks.d.ts +1 -0
- package/esm/plugin/Tasks.js +4 -3
- package/esm/plugin/Time.js +3 -3
- package/esm/plugin/Timeline.js +3 -3
- package/esm/plugin/TooltipWrapper.d.ts +1 -0
- package/esm/plugin/TooltipWrapper.js +4 -3
- package/esm/plugin/Tpl.js +3 -3
- package/esm/plugin/Video.js +3 -3
- package/esm/plugin/WebComponent.js +3 -3
- package/esm/plugin/Wizard.js +3 -3
- package/esm/plugin/Wrapper.js +3 -3
- package/esm/plugin/index.d.ts +2 -0
- package/esm/renderer/APIAdaptorControl.js +3 -3
- package/esm/renderer/APIControl.d.ts +2 -1
- package/esm/renderer/APIControl.js +11 -9
- package/esm/renderer/ActionApiControl.d.ts +0 -6
- package/esm/renderer/BadgeControl.js +3 -3
- package/esm/renderer/ButtonGroupControl.js +3 -3
- package/esm/renderer/DataBindingControl.js +5 -4
- package/esm/renderer/DataMappingControl.js +3 -3
- package/esm/renderer/DataPickerControl.js +3 -3
- package/esm/renderer/DateShortCutControl.js +3 -3
- package/esm/renderer/ExpressionFormulaControl.js +3 -3
- package/esm/renderer/FeatureControl.js +3 -3
- package/esm/renderer/FieldSetting.js +23 -18
- package/esm/renderer/FlexSettingControl.js +3 -3
- package/esm/renderer/FormulaControl.js +6 -7
- package/esm/renderer/FunctionEditorControl.js +3 -3
- package/esm/renderer/GoConfigControl.js +3 -3
- package/esm/renderer/InputRangeValueControl.js +3 -3
- package/esm/renderer/KeyValueMapControl.d.ts +110 -0
- package/esm/renderer/KeyValueMapControl.js +350 -0
- package/esm/renderer/ListItemControl.d.ts +65 -0
- package/esm/renderer/ListItemControl.js +350 -0
- package/esm/renderer/MapSourceControl.js +3 -3
- package/esm/renderer/NavBadgeControl.js +3 -3
- package/esm/renderer/NavDefaultActive.js +3 -3
- package/esm/renderer/NavSourceControl.js +3 -3
- package/esm/renderer/OptionControl.js +5 -4
- package/esm/renderer/RangePartsControl.js +3 -3
- package/esm/renderer/StatusControl.d.ts +1 -0
- package/esm/renderer/StatusControl.js +6 -5
- package/esm/renderer/SwitchMoreControl.js +3 -3
- package/esm/renderer/TableColumnWidthControl.js +3 -3
- package/esm/renderer/TimelineItemControl.js +3 -3
- package/esm/renderer/TplFormulaControl.js +3 -3
- package/esm/renderer/TransferTableControl.js +3 -3
- package/esm/renderer/TreeOptionControl.js +3 -3
- package/esm/renderer/ValidationControl.js +3 -3
- package/esm/renderer/ValidationItem.js +3 -3
- package/esm/renderer/crud2-control/AddColumnModal.js +3 -3
- package/esm/renderer/crud2-control/CRUDColumnControl.js +3 -3
- package/esm/renderer/crud2-control/CRUDFiltersControl.js +3 -3
- package/esm/renderer/crud2-control/CRUDToolbarControl.js +3 -3
- package/esm/renderer/event-control/action-config-dialog.js +3 -3
- package/esm/renderer/event-control/action-config-panel.js +6 -5
- package/esm/renderer/event-control/comp-action-select.js +11 -4
- package/esm/renderer/event-control/helper.d.ts +39 -9
- package/esm/renderer/event-control/helper.js +296 -94
- package/esm/renderer/event-control/index.js +5 -5
- package/esm/renderer/style-control/Background.js +3 -3
- package/esm/renderer/style-control/Border.js +3 -3
- package/esm/renderer/style-control/BoxModel.js +3 -3
- package/esm/renderer/style-control/BoxShadow.js +3 -3
- package/esm/renderer/style-control/Display.js +3 -3
- package/esm/renderer/style-control/Font.js +3 -3
- package/esm/renderer/style-control/InsetBoxModel.js +3 -3
- package/esm/renderer/style-control/ThemeCssCode.js +3 -3
- package/esm/renderer/style-control/font-family.js +3 -3
- package/esm/renderer/style-control/helper.js +3 -3
- package/esm/renderer/style-control/transformation.js +3 -3
- package/esm/renderer/textarea-formula/FormulaPicker.d.ts +1 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +5 -5
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +9 -5
- package/esm/renderer/textarea-formula/plugin.js +3 -3
- package/esm/tpl/api.js +3 -3
- package/esm/tpl/common.js +15 -14
- package/esm/tpl/horizontal.js +3 -3
- package/esm/tpl/layout.js +3 -3
- package/esm/tpl/options.js +3 -3
- package/esm/tpl/remark.js +3 -3
- package/esm/tpl/style.js +3 -3
- package/esm/tpl/validations.js +3 -3
- package/esm/util.js +3 -3
- package/esm/validator.js +3 -3
- package/lib/builder/ApiDSBuilder.d.ts +8 -8
- package/lib/builder/ApiDSBuilder.js +5 -5
- package/lib/builder/DSBuilder.js +3 -3
- package/lib/builder/DSBuilderManager.d.ts +1 -1
- package/lib/builder/DSBuilderManager.js +5 -5
- package/lib/builder/constants.d.ts +1 -1
- package/lib/builder/constants.js +3 -3
- package/lib/builder/utils.js +3 -3
- package/lib/component/BaseControl.d.ts +1 -1
- package/lib/component/BaseControl.js +4 -4
- package/lib/component/InputComponentName.js +3 -3
- package/lib/component/TableViewEditor.js +3 -3
- package/lib/icons/btn/btn-group.svg.js +3 -3
- package/lib/icons/btn/btn-select.svg.js +3 -3
- package/lib/icons/btn/btn-toolbar.svg.js +3 -3
- package/lib/icons/btn/button.svg.js +3 -3
- package/lib/icons/btn/dropdown-btn.svg.js +3 -3
- package/lib/icons/container/anchor-nav.svg.js +3 -3
- package/lib/icons/container/collapse.svg.js +3 -3
- package/lib/icons/container/container.svg.js +3 -3
- package/lib/icons/container/flex-container.svg.js +3 -3
- package/lib/icons/container/form-group.svg.js +3 -3
- package/lib/icons/container/grid.svg.js +3 -3
- package/lib/icons/container/iframe.svg.js +3 -3
- package/lib/icons/container/panel.svg.js +3 -3
- package/lib/icons/container/switch-container.svg.js +46 -0
- package/lib/icons/container/table-view.svg.js +3 -3
- package/lib/icons/container/tabs.svg.js +3 -3
- package/lib/icons/container/tooltip-wrapper.svg.js +3 -3
- package/lib/icons/container/web-component.svg.js +3 -3
- package/lib/icons/crud/column-add.svg.js +3 -3
- package/lib/icons/crud/column-delete.svg.js +3 -3
- package/lib/icons/crud/column-setting.svg.js +3 -3
- package/lib/icons/crud/share-link.svg.js +3 -3
- package/lib/icons/display/aBaseline.svg.js +3 -3
- package/lib/icons/display/aCenter.svg.js +3 -3
- package/lib/icons/display/aFlexEnd.svg.js +3 -3
- package/lib/icons/display/aFlexStart.svg.js +3 -3
- package/lib/icons/display/aStretch.svg.js +3 -3
- package/lib/icons/display/block.svg.js +3 -3
- package/lib/icons/display/dcolumn.svg.js +3 -3
- package/lib/icons/display/dcolumnReverse.svg.js +3 -3
- package/lib/icons/display/drow.svg.js +3 -3
- package/lib/icons/display/drowReverse.svg.js +3 -3
- package/lib/icons/display/flex.svg.js +3 -3
- package/lib/icons/display/inline-block.svg.js +3 -3
- package/lib/icons/display/inline.svg.js +3 -3
- package/lib/icons/display/jCenter.svg.js +3 -3
- package/lib/icons/display/jFlexEnd.svg.js +3 -3
- package/lib/icons/display/jFlexStart.svg.js +3 -3
- package/lib/icons/display/jSpaceAround.svg.js +3 -3
- package/lib/icons/display/jSpaceBetween.svg.js +3 -3
- package/lib/icons/feat/audio.svg.js +3 -3
- package/lib/icons/feat/custom.svg.js +3 -3
- package/lib/icons/feat/each.svg.js +3 -3
- package/lib/icons/feat/form.svg.js +3 -3
- package/lib/icons/feat/nav.svg.js +3 -3
- package/lib/icons/feat/qrcode.svg.js +3 -3
- package/lib/icons/feat/service.svg.js +3 -3
- package/lib/icons/feat/table.svg.js +3 -3
- package/lib/icons/feat/tasks.svg.js +3 -3
- package/lib/icons/feat/video.svg.js +3 -3
- package/lib/icons/feat/wizard.svg.js +3 -3
- package/lib/icons/form/chained-select.svg.js +3 -3
- package/lib/icons/form/checkbox.svg.js +3 -3
- package/lib/icons/form/checkboxes.svg.js +3 -3
- package/lib/icons/form/combo.svg.js +3 -3
- package/lib/icons/form/condition-builder.svg.js +3 -3
- package/lib/icons/form/diff-editor.svg.js +3 -3
- package/lib/icons/form/editor.svg.js +3 -3
- package/lib/icons/form/formula.svg.js +3 -3
- package/lib/icons/form/hidden.svg.js +3 -3
- package/lib/icons/form/input-city.svg.js +3 -3
- package/lib/icons/form/input-color.svg.js +3 -3
- package/lib/icons/form/input-date-range.svg.js +3 -3
- package/lib/icons/form/input-date.svg.js +3 -3
- package/lib/icons/form/input-datetime.svg.js +3 -3
- package/lib/icons/form/input-email.svg.js +3 -3
- package/lib/icons/form/input-excel.svg.js +3 -3
- package/lib/icons/form/input-file.svg.js +3 -3
- package/lib/icons/form/input-group.svg.js +3 -3
- package/lib/icons/form/input-image.svg.js +3 -3
- package/lib/icons/form/input-kv.svg.js +3 -3
- package/lib/icons/form/input-month-range.svg.js +3 -3
- package/lib/icons/form/input-number.svg.js +3 -3
- package/lib/icons/form/input-password.svg.js +3 -3
- package/lib/icons/form/input-quarter-range.svg.js +3 -3
- package/lib/icons/form/input-range.svg.js +3 -3
- package/lib/icons/form/input-rating.svg.js +3 -3
- package/lib/icons/form/input-repeat.svg.js +3 -3
- package/lib/icons/form/input-rich-text.svg.js +3 -3
- package/lib/icons/form/input-tag.svg.js +3 -3
- package/lib/icons/form/input-text.svg.js +3 -3
- package/lib/icons/form/input-time-range.svg.js +3 -3
- package/lib/icons/form/input-time.svg.js +3 -3
- package/lib/icons/form/input-tree.svg.js +3 -3
- package/lib/icons/form/input-url.svg.js +3 -3
- package/lib/icons/form/input-year.svg.js +3 -3
- package/lib/icons/form/inputArray.svg.js +3 -3
- package/lib/icons/form/list-select.svg.js +3 -3
- package/lib/icons/form/location-picker.svg.js +3 -3
- package/lib/icons/form/matrix-checkboxes.svg.js +3 -3
- package/lib/icons/form/month.svg.js +3 -3
- package/lib/icons/form/nested-select.svg.js +3 -3
- package/lib/icons/form/picker.svg.js +3 -3
- package/lib/icons/form/quarter.svg.js +3 -3
- package/lib/icons/form/radios.svg.js +3 -3
- package/lib/icons/form/select.svg.js +3 -3
- package/lib/icons/form/static.svg.js +3 -3
- package/lib/icons/form/sub-form.svg.js +3 -3
- package/lib/icons/form/switch.svg.js +3 -3
- package/lib/icons/form/tabs-transfer.svg.js +3 -3
- package/lib/icons/form/textarea.svg.js +3 -3
- package/lib/icons/form/transfer.svg.js +3 -3
- package/lib/icons/form/tree-select.svg.js +3 -3
- package/lib/icons/form/uuid.svg.js +3 -3
- package/lib/icons/index.js +5 -3
- package/lib/icons/layout/layout-1with2.svg.js +3 -3
- package/lib/icons/layout/layout-2cols.svg.js +3 -3
- package/lib/icons/layout/layout-2row.svg.js +3 -3
- package/lib/icons/layout/layout-2with1.svg.js +3 -3
- package/lib/icons/layout/layout-3cols.svg.js +3 -3
- package/lib/icons/layout/layout-3row.svg.js +3 -3
- package/lib/icons/layout/layout-absolute.svg.js +3 -3
- package/lib/icons/layout/layout-fixed-top.svg.js +3 -3
- package/lib/icons/layout/layout-fixed.svg.js +3 -3
- package/lib/icons/layout/layout-free-container.svg.js +3 -3
- package/lib/icons/layout/layout-full.svg.js +3 -3
- package/lib/icons/layout/layout1-2.svg.js +3 -3
- package/lib/icons/layout/layout2-1.svg.js +3 -3
- package/lib/icons/layout/layout3-1.svg.js +3 -3
- package/lib/icons/layout/layout3-2.svg.js +3 -3
- package/lib/icons/other/_fx.svg.js +3 -3
- package/lib/icons/other/divider.svg.js +3 -3
- package/lib/icons/other/fx.svg.js +3 -3
- package/lib/icons/other/property-sheet.svg.js +3 -3
- package/lib/icons/other/tooltip.svg.js +3 -3
- package/lib/icons/show/URL.svg.js +3 -3
- package/lib/icons/show/avatar.svg.js +3 -3
- package/lib/icons/show/breadcrumb.svg.js +3 -3
- package/lib/icons/show/card.svg.js +3 -3
- package/lib/icons/show/cards.svg.js +3 -3
- package/lib/icons/show/carousel.svg.js +3 -3
- package/lib/icons/show/chart.svg.js +3 -3
- package/lib/icons/show/code.svg.js +3 -3
- package/lib/icons/show/date.svg.js +3 -3
- package/lib/icons/show/datetime.svg.js +3 -3
- package/lib/icons/show/image.svg.js +3 -3
- package/lib/icons/show/images.svg.js +3 -3
- package/lib/icons/show/json-view.svg.js +3 -3
- package/lib/icons/show/list.svg.js +3 -3
- package/lib/icons/show/log.svg.js +3 -3
- package/lib/icons/show/mapping.svg.js +3 -3
- package/lib/icons/show/markdown.svg.js +3 -3
- package/lib/icons/show/plain.svg.js +3 -3
- package/lib/icons/show/progress.svg.js +3 -3
- package/lib/icons/show/sparkline.svg.js +3 -3
- package/lib/icons/show/status.svg.js +3 -3
- package/lib/icons/show/steps.svg.js +3 -3
- package/lib/icons/show/time.svg.js +3 -3
- package/lib/icons/theme/css.svg.js +3 -3
- package/lib/index.d.ts +2 -0
- package/lib/index.js +13 -3
- package/lib/locale/en-US.js +4 -4
- package/lib/locale/zh-CN.js +3 -3
- package/lib/plugin/Alert.js +3 -3
- package/lib/plugin/AnchorNav.js +3 -3
- package/lib/plugin/Audio.js +3 -3
- package/lib/plugin/Avatar.js +3 -3
- package/lib/plugin/Breadcrumb.js +3 -3
- package/lib/plugin/Button.js +3 -3
- package/lib/plugin/ButtonGroup.js +3 -3
- package/lib/plugin/CRUD.js +3 -3
- package/lib/plugin/CRUD2/BaseCRUD.js +4 -4
- package/lib/plugin/CRUD2/CRUDTable.js +3 -3
- package/lib/plugin/CRUD2/constants.js +3 -3
- package/lib/plugin/CRUD2/utils.js +76 -5
- package/lib/plugin/Card.js +3 -14
- package/lib/plugin/Card2.js +3 -3
- package/lib/plugin/Cards.d.ts +1 -0
- package/lib/plugin/Cards.js +4 -3
- package/lib/plugin/Carousel.js +3 -3
- package/lib/plugin/Chart.js +3 -3
- package/lib/plugin/CodeView.js +3 -3
- package/lib/plugin/Collapse.js +3 -3
- package/lib/plugin/CollapseGroup.js +3 -3
- package/lib/plugin/ColumnToggler.js +3 -3
- package/lib/plugin/Container.js +3 -3
- package/lib/plugin/Custom.js +3 -3
- package/lib/plugin/CustomRegion.js +3 -3
- package/lib/plugin/Date.js +3 -3
- package/lib/plugin/Datetime.js +3 -3
- package/lib/plugin/Dialog.js +5 -4
- package/lib/plugin/Divider.d.ts +1 -1
- package/lib/plugin/Divider.js +149 -75
- package/lib/plugin/Drawer.js +3 -3
- package/lib/plugin/DropDownButton.d.ts +1 -0
- package/lib/plugin/DropDownButton.js +4 -3
- package/lib/plugin/Each.d.ts +1 -0
- package/lib/plugin/Each.js +4 -3
- package/lib/plugin/Flex.js +3 -3
- package/lib/plugin/Form/ButtonGroupSelect.js +3 -3
- package/lib/plugin/Form/ButtonToolbar.js +3 -3
- package/lib/plugin/Form/ChainedSelect.js +3 -3
- package/lib/plugin/Form/Checkbox.js +3 -3
- package/lib/plugin/Form/Checkboxes.js +7 -3
- package/lib/plugin/Form/CodeEditor.js +3 -3
- package/lib/plugin/Form/Combo.js +3 -3
- package/lib/plugin/Form/ConditionBuilder.js +3 -3
- package/lib/plugin/Form/Control.js +3 -3
- package/lib/plugin/Form/DiffEditor.d.ts +1 -0
- package/lib/plugin/Form/DiffEditor.js +4 -3
- package/lib/plugin/Form/FieldSet.d.ts +1 -0
- package/lib/plugin/Form/FieldSet.js +4 -3
- package/lib/plugin/Form/Form.js +39 -30
- package/lib/plugin/Form/Formula.js +3 -3
- package/lib/plugin/Form/Group.js +3 -3
- package/lib/plugin/Form/Hidden.d.ts +1 -0
- package/lib/plugin/Form/Hidden.js +4 -3
- package/lib/plugin/Form/InputArray.js +3 -3
- package/lib/plugin/Form/InputCity.d.ts +1 -0
- package/lib/plugin/Form/InputCity.js +4 -3
- package/lib/plugin/Form/InputColor.d.ts +1 -0
- package/lib/plugin/Form/InputColor.js +4 -3
- package/lib/plugin/Form/InputDate.js +6 -6
- package/lib/plugin/Form/InputDateRange.js +4 -4
- package/lib/plugin/Form/InputDateTime.js +3 -3
- package/lib/plugin/Form/InputDateTimeRange.js +3 -3
- package/lib/plugin/Form/InputEmail.js +3 -3
- package/lib/plugin/Form/InputExcel.js +3 -3
- package/lib/plugin/Form/InputFile.js +3 -3
- package/lib/plugin/Form/InputGroup.d.ts +1 -0
- package/lib/plugin/Form/InputGroup.js +4 -3
- package/lib/plugin/Form/InputImage.js +3 -3
- package/lib/plugin/Form/InputKV.js +3 -3
- package/lib/plugin/Form/InputMonth.js +3 -3
- package/lib/plugin/Form/InputMonthRange.js +3 -3
- package/lib/plugin/Form/InputNumber.d.ts +1 -0
- package/lib/plugin/Form/InputNumber.js +24 -13
- package/lib/plugin/Form/InputPassword.js +3 -3
- package/lib/plugin/Form/InputQuarter.js +3 -3
- package/lib/plugin/Form/InputQuarterRange.js +3 -3
- package/lib/plugin/Form/InputRange.js +3 -3
- package/lib/plugin/Form/InputRating.js +3 -3
- package/lib/plugin/Form/InputRepeat.d.ts +1 -0
- package/lib/plugin/Form/InputRepeat.js +4 -3
- package/lib/plugin/Form/InputRichText.d.ts +2 -0
- package/lib/plugin/Form/InputRichText.js +31 -3
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.js +28 -4
- package/lib/plugin/Form/InputTag.d.ts +1 -0
- package/lib/plugin/Form/InputTag.js +4 -3
- package/lib/plugin/Form/InputText.js +4 -4
- package/lib/plugin/Form/InputTime.js +3 -3
- package/lib/plugin/Form/InputTimeRange.js +3 -3
- package/lib/plugin/Form/InputTree.js +8 -4
- package/lib/plugin/Form/InputURL.js +3 -3
- package/lib/plugin/Form/InputYear.js +3 -3
- package/lib/plugin/Form/InputYearRange.js +3 -3
- package/lib/plugin/Form/Item.js +3 -3
- package/lib/plugin/Form/ListSelect.d.ts +8 -1
- package/lib/plugin/Form/ListSelect.js +106 -5
- package/lib/plugin/Form/LocationPicker.js +3 -3
- package/lib/plugin/Form/MatrixCheckboxes.js +3 -3
- package/lib/plugin/Form/NestedSelect.js +3 -3
- package/lib/plugin/Form/Picker.d.ts +1 -0
- package/lib/plugin/Form/Picker.js +4 -3
- package/lib/plugin/Form/Radios.js +3 -3
- package/lib/plugin/Form/Select.d.ts +1 -0
- package/lib/plugin/Form/Select.js +4 -4
- package/lib/plugin/Form/Static.js +3 -3
- package/lib/plugin/Form/Switch.js +3 -3
- package/lib/plugin/Form/TabsTransfer.js +3 -3
- package/lib/plugin/Form/Textarea.d.ts +1 -0
- package/lib/plugin/Form/Textarea.js +4 -3
- package/lib/plugin/Form/Transfer.js +3 -3
- package/lib/plugin/Form/TreeSelect.js +7 -3
- package/lib/plugin/Form/UUID.d.ts +1 -0
- package/lib/plugin/Form/UUID.js +4 -3
- package/lib/plugin/Grid.d.ts +1 -0
- package/lib/plugin/Grid.js +4 -3
- package/lib/plugin/HBox.js +3 -3
- package/lib/plugin/IFrame.js +3 -3
- package/lib/plugin/Icon.js +4 -4
- package/lib/plugin/Image.js +3 -3
- package/lib/plugin/Images.js +3 -3
- package/lib/plugin/Json.js +3 -3
- package/lib/plugin/Layout/FlexPluginBase.js +3 -3
- 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 +3 -3
- package/lib/plugin/List.js +3 -3
- package/lib/plugin/List2.js +3 -3
- package/lib/plugin/ListItem.js +3 -3
- package/lib/plugin/Log.d.ts +1 -0
- package/lib/plugin/Log.js +4 -3
- package/lib/plugin/Mapping.js +3 -3
- package/lib/plugin/Markdown.js +3 -3
- package/lib/plugin/Nav.js +4 -4
- package/lib/plugin/OfficeViewer.js +3 -3
- package/lib/plugin/Operation.d.ts +1 -1
- package/lib/plugin/Operation.js +9 -21
- package/lib/plugin/Others/Action.js +3 -3
- package/lib/plugin/Others/TableCell.js +3 -3
- package/lib/plugin/Page.js +3 -3
- package/lib/plugin/Pagination.d.ts +2 -1
- package/lib/plugin/Pagination.js +26 -6
- package/lib/plugin/Panel.js +3 -3
- package/lib/plugin/Plain.js +3 -3
- package/lib/plugin/Progress.js +3 -15
- package/lib/plugin/Property.js +3 -3
- package/lib/plugin/QRCode.js +3 -3
- package/lib/plugin/Reset.js +3 -3
- package/lib/plugin/SearchBox.js +3 -3
- package/lib/plugin/Service.d.ts +1 -0
- package/lib/plugin/Service.js +5 -4
- package/lib/plugin/Sparkline.js +3 -3
- package/lib/plugin/Status.js +3 -3
- package/lib/plugin/Steps.js +3 -3
- package/lib/plugin/Submit.js +3 -3
- package/lib/plugin/SwitchContainer.d.ts +64 -0
- package/lib/plugin/SwitchContainer.js +363 -0
- package/lib/plugin/Table.js +5 -10
- package/lib/plugin/Table2.js +3 -3
- package/lib/plugin/TableCell2.js +3 -3
- package/lib/plugin/TableView.d.ts +1 -0
- package/lib/plugin/TableView.js +4 -3
- package/lib/plugin/Tabs.js +3 -3
- package/lib/plugin/Tag.js +3 -3
- package/lib/plugin/Tasks.d.ts +1 -0
- package/lib/plugin/Tasks.js +4 -3
- package/lib/plugin/Time.js +3 -3
- package/lib/plugin/Timeline.js +3 -3
- package/lib/plugin/TooltipWrapper.d.ts +1 -0
- package/lib/plugin/TooltipWrapper.js +4 -3
- package/lib/plugin/Tpl.js +3 -3
- package/lib/plugin/Video.js +3 -3
- package/lib/plugin/WebComponent.js +3 -3
- package/lib/plugin/Wizard.js +3 -3
- package/lib/plugin/Wrapper.js +3 -3
- package/lib/plugin/index.d.ts +2 -0
- package/lib/renderer/APIAdaptorControl.js +3 -3
- package/lib/renderer/APIControl.d.ts +2 -1
- package/lib/renderer/APIControl.js +12 -9
- package/lib/renderer/ActionApiControl.d.ts +0 -6
- package/lib/renderer/BadgeControl.d.ts +8 -8
- package/lib/renderer/BadgeControl.js +3 -3
- package/lib/renderer/ButtonGroupControl.js +3 -3
- package/lib/renderer/DataBindingControl.js +5 -4
- package/lib/renderer/DataMappingControl.js +3 -3
- package/lib/renderer/DataPickerControl.js +3 -3
- package/lib/renderer/DateShortCutControl.js +3 -3
- package/lib/renderer/ExpressionFormulaControl.js +3 -3
- package/lib/renderer/FeatureControl.js +3 -3
- package/lib/renderer/FieldSetting.js +23 -18
- package/lib/renderer/FlexSettingControl.js +3 -3
- package/lib/renderer/FormulaControl.js +5 -6
- package/lib/renderer/FunctionEditorControl.js +3 -3
- package/lib/renderer/GoConfigControl.js +3 -3
- package/lib/renderer/InputRangeValueControl.js +3 -3
- package/lib/renderer/KeyValueMapControl.d.ts +110 -0
- package/lib/renderer/KeyValueMapControl.js +357 -0
- package/lib/renderer/ListItemControl.d.ts +65 -0
- package/lib/renderer/ListItemControl.js +361 -0
- package/lib/renderer/MapSourceControl.js +3 -3
- package/lib/renderer/NavBadgeControl.d.ts +4 -4
- package/lib/renderer/NavBadgeControl.js +3 -3
- package/lib/renderer/NavDefaultActive.js +3 -3
- package/lib/renderer/NavSourceControl.js +3 -3
- package/lib/renderer/OptionControl.js +6 -4
- package/lib/renderer/RangePartsControl.js +3 -3
- package/lib/renderer/StatusControl.d.ts +1 -0
- package/lib/renderer/StatusControl.js +6 -5
- package/lib/renderer/SwitchMoreControl.js +3 -3
- package/lib/renderer/TableColumnWidthControl.js +3 -3
- package/lib/renderer/TimelineItemControl.js +3 -3
- package/lib/renderer/TplFormulaControl.js +3 -3
- package/lib/renderer/TransferTableControl.js +3 -3
- package/lib/renderer/TreeOptionControl.js +3 -3
- package/lib/renderer/ValidationControl.js +3 -3
- package/lib/renderer/ValidationItem.js +3 -3
- package/lib/renderer/crud2-control/AddColumnModal.js +3 -3
- package/lib/renderer/crud2-control/CRUDColumnControl.js +3 -3
- package/lib/renderer/crud2-control/CRUDFiltersControl.js +3 -3
- package/lib/renderer/crud2-control/CRUDToolbarControl.js +3 -3
- package/lib/renderer/event-control/action-config-dialog.js +3 -3
- package/lib/renderer/event-control/action-config-panel.js +6 -5
- package/lib/renderer/event-control/comp-action-select.js +11 -4
- package/lib/renderer/event-control/helper.d.ts +39 -9
- package/lib/renderer/event-control/helper.js +295 -92
- package/lib/renderer/event-control/index.js +5 -4
- package/lib/renderer/style-control/Background.js +3 -3
- package/lib/renderer/style-control/Border.js +3 -3
- package/lib/renderer/style-control/BoxModel.js +3 -3
- package/lib/renderer/style-control/BoxShadow.js +3 -3
- package/lib/renderer/style-control/Display.js +3 -3
- package/lib/renderer/style-control/Font.js +3 -3
- package/lib/renderer/style-control/InsetBoxModel.js +3 -3
- package/lib/renderer/style-control/ThemeCssCode.js +3 -3
- package/lib/renderer/style-control/font-family.js +3 -3
- package/lib/renderer/style-control/helper.js +3 -3
- package/lib/renderer/style-control/transformation.js +3 -3
- package/lib/renderer/textarea-formula/FormulaPicker.d.ts +1 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +5 -5
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +9 -5
- package/lib/renderer/textarea-formula/plugin.js +3 -3
- package/lib/tpl/api.js +3 -3
- package/lib/tpl/common.js +15 -14
- package/lib/tpl/horizontal.js +3 -3
- package/lib/tpl/layout.js +3 -3
- package/lib/tpl/options.js +3 -3
- package/lib/tpl/remark.js +3 -3
- package/lib/tpl/style.js +3 -3
- package/lib/tpl/validations.js +3 -3
- package/lib/util.js +3 -3
- package/lib/validator.js +3 -3
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -14,7 +14,7 @@ import cloneDeep from 'lodash/cloneDeep';
|
|
14
14
|
import { findTree, autobind } from 'amis-core';
|
15
15
|
import ActionDialog from './action-config-dialog.js';
|
16
16
|
import { getPropOfAcion, findActionNode, findSubActionNode, SELECT_PROPS_CONTAINER, getActionType, getEventStrongDesc, getEventDesc, getEventLabel } from './helper.js';
|
17
|
-
export { ACTION_TYPE_TREE, COMMON_ACTION_SCHEMA_MAP, DATA_CONTAINER, FORMITEM_CMPTS, SELECT_PROPS_CONTAINER, SHOW_SELECT_PROP, SUPPORT_DISABLED_CMPTS, SUPPORT_STATIC_FORMITEM_CMPTS, findActionNode, findSubActionNode, getActionType, getArgsWrapper, getEventControlConfig, getEventDesc, getEventLabel, getEventStrongDesc, getOldActionSchema, getPropOfAcion, hasActionType, renderCmptActionSelect, renderCmptSelect } from './helper.js';
|
17
|
+
export { ACTION_TYPE_TREE, COMMON_ACTION_SCHEMA_MAP, DATA_CONTAINER, FORMITEM_CMPTS, SELECT_PROPS_CONTAINER, SHOW_SELECT_PROP, SUPPORT_DISABLED_CMPTS, SUPPORT_STATIC_FORMITEM_CMPTS, findActionNode, findSubActionNode, getActionType, getArgsWrapper, getEventControlConfig, getEventDesc, getEventLabel, getEventStrongDesc, getOldActionSchema, getPropOfAcion, hasActionType, renderCmptActionSelect, renderCmptIdInput, renderCmptSelect } from './helper.js';
|
18
18
|
import { updateComponentContext, getDialogActions, getFixDialogType } from 'amis-editor-core';
|
19
19
|
import { i18n } from 'i18n-runtime';
|
20
20
|
import { reaction } from 'mobx';
|
@@ -173,7 +173,7 @@ var EventControl = /** @class */function (_super) {
|
|
173
173
|
activeConfig[event] = true;
|
174
174
|
if (config.actionType) {
|
175
175
|
onEventConfig[event] = __assign(__assign({}, onEventConfig[event]), {
|
176
|
-
actions: onEventConfig[event].actions.concat(config)
|
176
|
+
actions: (onEventConfig[event].actions || []).concat(config)
|
177
177
|
});
|
178
178
|
}
|
179
179
|
this.setState({
|
@@ -978,4 +978,4 @@ var EventControl = /** @class */function (_super) {
|
|
978
978
|
})(EventControl);
|
979
979
|
|
980
980
|
export { EventControl };
|
981
|
-
window.amisEditorVersionInfo={version:'5.
|
981
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -481,4 +481,4 @@ var Background = function (props) {
|
|
481
481
|
})(React__default.Component);
|
482
482
|
|
483
483
|
export { Background as default };
|
484
|
-
window.amisEditorVersionInfo={version:'5.
|
484
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -216,4 +216,4 @@ observer(BoxBorder);
|
|
216
216
|
})], BorderRenderer);
|
217
217
|
return BorderRenderer;
|
218
218
|
})(React__default.Component);
|
219
|
-
window.amisEditorVersionInfo={version:'5.
|
219
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -66,4 +66,4 @@ observer(BoxModel);
|
|
66
66
|
], BoxModelRenderer);
|
67
67
|
return BoxModelRenderer;
|
68
68
|
})(React__default.Component));
|
69
|
-
window.amisEditorVersionInfo={version:'5.
|
69
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -113,4 +113,4 @@ function BoxShadow(_a) {
|
|
113
113
|
})(React__default.Component);
|
114
114
|
|
115
115
|
export { BoxShadow as default };
|
116
|
-
window.amisEditorVersionInfo={version:'5.
|
116
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -183,4 +183,4 @@ var Display = function (props) {
|
|
183
183
|
})], DisplayRenderer);
|
184
184
|
return DisplayRenderer;
|
185
185
|
})(React__default.Component);
|
186
|
-
window.amisEditorVersionInfo={version:'5.
|
186
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -179,4 +179,4 @@ var Font = function (props) {
|
|
179
179
|
})(React__default.Component);
|
180
180
|
|
181
181
|
export { Font as default };
|
182
|
-
window.amisEditorVersionInfo={version:'5.
|
182
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -63,4 +63,4 @@ observer(InsetBoxModel);
|
|
63
63
|
], BoxModelRenderer);
|
64
64
|
return BoxModelRenderer;
|
65
65
|
})(React__default.Component));
|
66
|
-
window.amisEditorVersionInfo={version:'5.
|
66
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -196,4 +196,4 @@ function ThemeCssCode(props) {
|
|
196
196
|
})], ThemeCssCodeRenderer);
|
197
197
|
return ThemeCssCodeRenderer;
|
198
198
|
})(React__default.Component);
|
199
|
-
window.amisEditorVersionInfo={version:'5.
|
199
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -144,4 +144,4 @@ fontFamilyList.reduce(function (memo, current) {
|
|
144
144
|
}, {});
|
145
145
|
|
146
146
|
export { fontFamilyList };
|
147
|
-
window.amisEditorVersionInfo={version:'5.
|
147
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -62,4 +62,4 @@ var inputStateFunc = function (visibleOn, state, className, path, options) {
|
|
62
62
|
};
|
63
63
|
|
64
64
|
export { inputStateFunc, inputStateTpl };
|
65
|
-
window.amisEditorVersionInfo={version:'5.
|
65
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -74,4 +74,4 @@ function normalizeBoxShadow(config) {
|
|
74
74
|
}
|
75
75
|
|
76
76
|
export { normalizeBoxShadow, parseBoxShadow };
|
77
|
-
window.amisEditorVersionInfo={version:'5.
|
77
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -16,13 +16,13 @@ var FormulaPicker = function (props) {
|
|
16
16
|
variableMode = props.variableMode,
|
17
17
|
_a = props.evalMode,
|
18
18
|
evalMode = _a === void 0 ? true : _a;
|
19
|
-
var _b = __read(React__default.useState(
|
19
|
+
var _b = __read(React__default.useState(undefined), 2),
|
20
20
|
formula = _b[0],
|
21
21
|
setFormula = _b[1];
|
22
22
|
useEffect(function () {
|
23
23
|
var initable = props.initable,
|
24
24
|
value = props.value;
|
25
|
-
if (initable
|
25
|
+
if (initable) {
|
26
26
|
setFormula(value);
|
27
27
|
}
|
28
28
|
}, [props.value]);
|
@@ -57,4 +57,4 @@ var FormulaPicker = function (props) {
|
|
57
57
|
};
|
58
58
|
|
59
59
|
export { FormulaPicker as default };
|
60
|
-
window.amisEditorVersionInfo={version:'5.
|
60
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -69,10 +69,11 @@ var TextareaFormulaControl = /** @class */function (_super) {
|
|
69
69
|
TextareaFormulaControl.prototype.componentDidUpdate = function (prevProps) {
|
70
70
|
return __awaiter(this, void 0, void 0, function () {
|
71
71
|
return __generator(this, function (_a) {
|
72
|
-
if (this.state.value !== this.props.value) {
|
72
|
+
if (this.state.value !== this.props.value && prevProps.value !== this.props.value) {
|
73
73
|
this.setState({
|
74
74
|
value: this.props.value
|
75
75
|
}, this.editorAutoMark);
|
76
|
+
this.editorPlugin.setValue(this.props.value || '');
|
76
77
|
}
|
77
78
|
return [2 /*return*/];
|
78
79
|
});
|
@@ -135,6 +136,9 @@ var TextareaFormulaControl = /** @class */function (_super) {
|
|
135
136
|
};
|
136
137
|
TextareaFormulaControl.prototype.handleOnChange = function (value) {
|
137
138
|
var _a, _b;
|
139
|
+
this.setState({
|
140
|
+
value: value
|
141
|
+
});
|
138
142
|
(_b = (_a = this.props).onChange) === null || _b === void 0 ? void 0 : _b.call(_a, value);
|
139
143
|
};
|
140
144
|
TextareaFormulaControl.prototype.editorFactory = function (dom, cm) {
|
@@ -301,7 +305,7 @@ var TextareaFormulaControl = /** @class */function (_super) {
|
|
301
305
|
editorFactory: this.editorFactory,
|
302
306
|
editorDidMount: this.handleEditorMounted,
|
303
307
|
onBlur: this.editorAutoMark
|
304
|
-
}), !this.
|
308
|
+
}), !this.state.value && React__default.createElement("div", {
|
305
309
|
className: "ae-TextareaResultBox-placeholder"
|
306
310
|
}, placeholder), React__default.createElement("ul", {
|
307
311
|
className: "ae-TextareaResultBox-footer"
|
@@ -417,4 +421,4 @@ var TextareaFormulaControl = /** @class */function (_super) {
|
|
417
421
|
})(TextareaFormulaControl);
|
418
422
|
|
419
423
|
export { TextareaFormulaControl };
|
420
|
-
window.amisEditorVersionInfo={version:'5.
|
424
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -231,4 +231,4 @@ var FormulaPlugin = /** @class */ (function () {
|
|
231
231
|
}());
|
232
232
|
|
233
233
|
export { FormulaPlugin, editorFactory };
|
234
|
-
window.amisEditorVersionInfo={version:'5.
|
234
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/api.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -548,4 +548,4 @@ setSchemaTpl('loadingConfig', function (patch, _a) {
|
|
548
548
|
}
|
549
549
|
});
|
550
550
|
});
|
551
|
-
window.amisEditorVersionInfo={version:'5.
|
551
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/common.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -629,7 +629,7 @@ setSchemaTpl('combo-container', function (config) {
|
|
629
629
|
setSchemaTpl('status', function (config) {
|
630
630
|
return {
|
631
631
|
title: i18n("3fea7ca76cdece641436d7ab0d02ab1b"),
|
632
|
-
body: [getSchemaTpl('
|
632
|
+
body: [getSchemaTpl('visible'), getSchemaTpl('hidden'), !(config === null || config === void 0 ? void 0 : config.unsupportStatic) && (config === null || config === void 0 ? void 0 : config.isFormItem) ? getSchemaTpl('static') : null, (config === null || config === void 0 ? void 0 : config.readonly) ? getSchemaTpl('readonly') : null, (config === null || config === void 0 ? void 0 : config.disabled) || (config === null || config === void 0 ? void 0 : config.isFormItem) ? getSchemaTpl('disabled') : null, (config === null || config === void 0 ? void 0 : config.isFormItem) ? getSchemaTpl('clearValueOnHidden') : null].filter(Boolean)
|
633
633
|
};
|
634
634
|
});
|
635
635
|
setSchemaTpl('autoFill', {
|
@@ -681,6 +681,7 @@ setSchemaTpl('readonly', {
|
|
681
681
|
});
|
682
682
|
setSchemaTpl('visible', {
|
683
683
|
type: 'ae-StatusControl',
|
684
|
+
defaultTrue: true,
|
684
685
|
label: i18n("4d681c4aa93c8d005ec2ca2370618d6e"),
|
685
686
|
mode: 'normal',
|
686
687
|
name: 'visible',
|
@@ -693,15 +694,6 @@ setSchemaTpl('static', {
|
|
693
694
|
name: 'static',
|
694
695
|
expressionName: 'staticOn'
|
695
696
|
});
|
696
|
-
// 新版配置面板兼容 [可见] 状态
|
697
|
-
setSchemaTpl('newVisible', {
|
698
|
-
type: 'ae-StatusControl',
|
699
|
-
label: i18n("4d681c4aa93c8d005ec2ca2370618d6e"),
|
700
|
-
mode: 'normal',
|
701
|
-
name: 'visible',
|
702
|
-
expressionName: 'visibleOn',
|
703
|
-
visibleOn: 'data.visible || data.visible === false || data.visibleOn !== undefined'
|
704
|
-
});
|
705
697
|
setSchemaTpl('hidden', {
|
706
698
|
type: 'ae-StatusControl',
|
707
699
|
label: i18n("dce5379cb978a8259ecfca8f08f00817"),
|
@@ -869,7 +861,16 @@ setSchemaTpl('buttonLevel', {
|
|
869
861
|
label: i18n("ac3880323853de9adc4f66bc06d438ff"),
|
870
862
|
type: 'select',
|
871
863
|
name: 'level',
|
872
|
-
menuTpl:
|
864
|
+
menuTpl: {
|
865
|
+
type: 'container',
|
866
|
+
bodyClassName: 'ae-ButtonLevel-MenuTpl',
|
867
|
+
body: {
|
868
|
+
type: 'button',
|
869
|
+
label: '${label}',
|
870
|
+
size: 'sm',
|
871
|
+
level: '${value}'
|
872
|
+
}
|
873
|
+
},
|
873
874
|
options: [{
|
874
875
|
label: i18n("18c63459a2c069022c7790430f761214"),
|
875
876
|
value: 'default',
|
@@ -1407,4 +1408,4 @@ setSchemaTpl('primaryField', {
|
|
1407
1408
|
return value;
|
1408
1409
|
}
|
1409
1410
|
});
|
1410
|
-
window.amisEditorVersionInfo={version:'5.
|
1411
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/horizontal.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -253,4 +253,4 @@ setSchemaTpl('subFormHorizontal', {
|
|
253
253
|
}
|
254
254
|
}]
|
255
255
|
});
|
256
|
-
window.amisEditorVersionInfo={version:'5.
|
256
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/layout.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -978,4 +978,4 @@ setSchemaTpl('layout:wrapper-contanier', function (config) {
|
|
978
978
|
visibleOn: config === null || config === void 0 ? void 0 : config.visibleOn
|
979
979
|
};
|
980
980
|
});
|
981
|
-
window.amisEditorVersionInfo={version:'5.
|
981
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/options.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -634,4 +634,4 @@ setSchemaTpl('optionDeleteControl', function (params) {
|
|
634
634
|
}
|
635
635
|
}));
|
636
636
|
});
|
637
|
-
window.amisEditorVersionInfo={version:'5.
|
637
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/remark.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -18,4 +18,4 @@ setSchemaTpl('labelRemark', remarkTpl({
|
|
18
18
|
label: i18n("3ba265c6b63bde0319822afd6b9a649d"),
|
19
19
|
labelRemark: i18n("7ad83bbe4646a0011ece7fd338d1e189")
|
20
20
|
}));
|
21
|
-
window.amisEditorVersionInfo={version:'5.
|
21
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/style.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -607,4 +607,4 @@ setSchemaTpl('theme:common', function (option) {
|
|
607
607
|
return !~exclude.indexOf(item.key || '');
|
608
608
|
});
|
609
609
|
});
|
610
|
-
window.amisEditorVersionInfo={version:'5.
|
610
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/tpl/validations.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -485,4 +485,4 @@ setSchemaTpl('validationControl', function (value) {
|
|
485
485
|
value: value
|
486
486
|
};
|
487
487
|
});
|
488
|
-
window.amisEditorVersionInfo={version:'5.
|
488
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/util.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -69,4 +69,4 @@ function escapeFormula(conf, keys) {
|
|
69
69
|
}
|
70
70
|
|
71
71
|
export { escapeFormula, isAuto, resolveArrayDatasource, resolveOptionType, schemaArrayFormat, schemaToArray };
|
72
|
-
window.amisEditorVersionInfo={version:'5.
|
72
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/esm/validator.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -312,4 +312,4 @@ registerValidator.apply(void 0, __spreadArray([{
|
|
312
312
|
})), false));
|
313
313
|
|
314
314
|
export { ValidationGroup, ValidatorTag, getValidator, getValidatorsByTag, registerValidator };
|
315
|
-
window.amisEditorVersionInfo={version:'5.
|
315
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -42,7 +42,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
42
42
|
isDefault: boolean;
|
43
43
|
readonly name: string;
|
44
44
|
readonly order: number;
|
45
|
-
readonly features: ("
|
45
|
+
readonly features: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[];
|
46
46
|
/**
|
47
47
|
* 获取键值。
|
48
48
|
*/
|
@@ -58,7 +58,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
58
58
|
name: string;
|
59
59
|
label: string | boolean;
|
60
60
|
renderer: DSRendererType;
|
61
|
-
feat: "
|
61
|
+
feat: "List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery";
|
62
62
|
fieldKeys: string[];
|
63
63
|
config: {
|
64
64
|
showInputType: boolean;
|
@@ -269,7 +269,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
269
269
|
flexWrap: string;
|
270
270
|
alignItems: string;
|
271
271
|
};
|
272
|
-
behavior?: ("
|
272
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
273
273
|
type: string;
|
274
274
|
align: "left" | "right";
|
275
275
|
};
|
@@ -295,7 +295,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
295
295
|
flexWrap: string;
|
296
296
|
alignItems: string;
|
297
297
|
};
|
298
|
-
behavior?: ("
|
298
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
299
299
|
type: string;
|
300
300
|
align: "left" | "right";
|
301
301
|
}[];
|
@@ -322,7 +322,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
322
322
|
flexWrap: string;
|
323
323
|
alignItems: string;
|
324
324
|
};
|
325
|
-
behavior?: ("
|
325
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
326
326
|
type: string;
|
327
327
|
align: "left" | "right";
|
328
328
|
}[];
|
@@ -349,7 +349,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
349
349
|
flexWrap: string;
|
350
350
|
alignItems: string;
|
351
351
|
};
|
352
|
-
behavior?: ("
|
352
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
353
353
|
type: string;
|
354
354
|
align: "left" | "right";
|
355
355
|
}[];
|
@@ -385,7 +385,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
385
385
|
flexWrap: string;
|
386
386
|
alignItems: string;
|
387
387
|
};
|
388
|
-
behavior?: ("
|
388
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
389
389
|
type: string;
|
390
390
|
align: "left" | "right";
|
391
391
|
}[];
|
@@ -412,7 +412,7 @@ export declare class ApiDSBuilder extends DSBuilder<ApiDSBuilderOptions<DSRender
|
|
412
412
|
flexWrap: string;
|
413
413
|
alignItems: string;
|
414
414
|
};
|
415
|
-
behavior?: ("
|
415
|
+
behavior?: ("List" | "Insert" | "View" | "Edit" | "Delete" | "BulkEdit" | "BulkDelete" | "Import" | "Export" | "SimpleQuery" | "FuzzyQuery" | "AdvancedQuery")[] | undefined;
|
416
416
|
type: string;
|
417
417
|
align: "left" | "right";
|
418
418
|
}[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -61,8 +61,8 @@ var ApiDSBuilder = /** @class */function (_super) {
|
|
61
61
|
ApiDSBuilder.prototype.match = function (schema, key) {
|
62
62
|
var sourceKey = key && typeof key === 'string' ? key : 'api';
|
63
63
|
var apiSchema = schema === null || schema === void 0 ? void 0 : schema[sourceKey];
|
64
|
-
if ((schema === null || schema === void 0 ? void 0 : schema.dsType)
|
65
|
-
return
|
64
|
+
if ((schema === null || schema === void 0 ? void 0 : schema.dsType) != null || (apiSchema === null || apiSchema === void 0 ? void 0 : apiSchema.sourceType) != null) {
|
65
|
+
return (schema === null || schema === void 0 ? void 0 : schema.dsType) === this.key || (apiSchema === null || apiSchema === void 0 ? void 0 : apiSchema.sourceType) === this.key;
|
66
66
|
}
|
67
67
|
/**
|
68
68
|
* 携带 jsonql 一定不是 API 接口
|
@@ -1223,4 +1223,4 @@ var ApiDSBuilder = /** @class */function (_super) {
|
|
1223
1223
|
DSBuilder.registerDSBuilder(ApiDSBuilder);
|
1224
1224
|
|
1225
1225
|
exports.ApiDSBuilder = ApiDSBuilder;
|
1226
|
-
window.amisEditorVersionInfo={version:'5.
|
1226
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
package/lib/builder/DSBuilder.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.2
|
3
|
+
* build time: 2023-10-31
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -52,4 +52,4 @@ var registerDSBuilder = function (klass) {
|
|
52
52
|
exports.DSBuilder = DSBuilder;
|
53
53
|
exports.builderFactory = builderFactory;
|
54
54
|
exports.registerDSBuilder = registerDSBuilder;
|
55
|
-
window.amisEditorVersionInfo={version:'5.
|
55
|
+
window.amisEditorVersionInfo={version:'5.6.2',buildTime:'2023-10-31'};
|
@@ -11,7 +11,7 @@ export declare class DSBuilderManager {
|
|
11
11
|
get size(): number;
|
12
12
|
getBuilderByKey(key: string): DSBuilderInterface<import("./DSBuilder").DSBuilderBaseOptions> | undefined;
|
13
13
|
getBuilderByScaffoldSetting(scaffoldConfig: any): DSBuilderInterface<import("./DSBuilder").DSBuilderBaseOptions> | undefined;
|
14
|
-
getBuilderBySchema(schema: any): DSBuilderInterface<import("./DSBuilder").DSBuilderBaseOptions>;
|
14
|
+
getBuilderBySchema(schema: any, sourceKey?: string): DSBuilderInterface<import("./DSBuilder").DSBuilderBaseOptions>;
|
15
15
|
/**
|
16
16
|
* 获取默认构建器Key
|
17
17
|
*
|