amis-editor 5.6.2 → 5.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/builder/ApiDSBuilder.d.ts +1 -1
- package/esm/builder/ApiDSBuilder.js +35 -24
- package/esm/builder/DSBuilder.js +3 -3
- package/esm/builder/DSBuilderManager.js +3 -3
- package/esm/builder/constants.js +3 -3
- package/esm/builder/utils.js +3 -3
- package/esm/component/BaseControl.js +9 -11
- 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 +3 -3
- 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 +3 -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 +1 -10
- package/esm/index.js +7 -15
- package/esm/locale/en-US.js +74 -4
- package/esm/locale/zh-CN.js +77 -4
- package/esm/plugin/Alert.js +3 -3
- package/esm/plugin/AnchorNav.js +3 -3
- package/esm/plugin/Audio.d.ts +1 -0
- package/esm/plugin/Audio.js +4 -3
- package/esm/plugin/Avatar.js +3 -3
- package/esm/plugin/Breadcrumb.js +3 -3
- package/esm/plugin/Button.js +10 -6
- package/esm/plugin/ButtonGroup.js +3 -3
- package/esm/plugin/CRUD.d.ts +18 -0
- package/esm/plugin/CRUD.js +146 -30
- package/esm/plugin/CRUD2/BaseCRUD.js +4 -6
- package/esm/plugin/CRUD2/CRUDTable.js +4 -4
- package/esm/plugin/CRUD2/constants.js +3 -3
- package/esm/plugin/CRUD2/utils.js +3 -3
- package/esm/plugin/Calendar.d.ts +29 -0
- package/esm/plugin/Calendar.js +162 -0
- package/esm/plugin/Card.js +3 -4
- package/esm/plugin/Card2.js +3 -3
- package/esm/plugin/Cards.d.ts +276 -126
- package/esm/plugin/Cards.js +189 -92
- package/esm/plugin/Carousel.js +3 -3
- package/esm/plugin/Chart.js +3 -4
- package/esm/plugin/CodeView.js +3 -3
- package/esm/plugin/Collapse.js +3 -3
- package/esm/plugin/CollapseGroup.d.ts +1 -0
- package/esm/plugin/CollapseGroup.js +4 -3
- package/esm/plugin/ColumnToggler.js +3 -3
- package/esm/plugin/Container.d.ts +1 -0
- package/esm/plugin/Container.js +4 -4
- package/esm/plugin/Custom.js +3 -3
- package/esm/plugin/CustomRegion.js +3 -3
- package/esm/plugin/Date.d.ts +2 -0
- package/esm/plugin/Date.js +5 -3
- package/esm/plugin/Datetime.d.ts +3 -0
- package/esm/plugin/Datetime.js +74 -17
- package/esm/plugin/Dialog.js +7 -4
- package/esm/plugin/Divider.d.ts +1 -0
- package/esm/plugin/Divider.js +8 -7
- package/esm/plugin/Drawer.js +3 -4
- package/esm/plugin/DropDownButton.js +3 -3
- package/esm/plugin/Each.d.ts +111 -50
- package/esm/plugin/Each.js +66 -36
- package/esm/plugin/Flex.js +3 -3
- package/esm/plugin/Form/ButtonGroupSelect.js +3 -4
- package/esm/plugin/Form/ButtonToolbar.js +3 -3
- package/esm/plugin/Form/ChainedSelect.js +3 -4
- package/esm/plugin/Form/Checkbox.js +3 -4
- package/esm/plugin/Form/Checkboxes.js +3 -4
- package/esm/plugin/Form/CodeEditor.js +3 -3
- package/esm/plugin/Form/Combo.js +26 -27
- package/esm/plugin/Form/ConditionBuilder.js +3 -3
- package/esm/plugin/Form/Control.js +3 -3
- package/esm/plugin/Form/DiffEditor.js +4 -4
- package/esm/plugin/Form/FieldSet.js +4 -4
- package/esm/plugin/Form/Form.d.ts +3 -0
- package/esm/plugin/Form/Form.js +143 -69
- package/esm/plugin/Form/Formula.js +3 -3
- package/esm/plugin/Form/Group.js +3 -3
- package/esm/plugin/Form/Hidden.js +4 -4
- package/esm/plugin/Form/InputArray.js +3 -3
- package/esm/plugin/Form/InputCity.js +3 -4
- package/esm/plugin/Form/InputColor.js +16 -12
- package/esm/plugin/Form/InputDate.js +6 -10
- 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.d.ts +1 -0
- package/esm/plugin/Form/InputExcel.js +4 -3
- package/esm/plugin/Form/InputFile.js +3 -3
- package/esm/plugin/Form/InputGroup.js +4 -4
- 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.js +20 -11
- 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.d.ts +2 -1
- package/esm/plugin/Form/InputRange.js +10 -5
- package/esm/plugin/Form/InputRating.js +3 -4
- package/esm/plugin/Form/InputRepeat.js +4 -4
- package/esm/plugin/Form/InputRichText.js +6 -6
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.js +136 -10
- package/esm/plugin/Form/InputTag.js +4 -5
- package/esm/plugin/Form/InputText.js +5 -6
- package/esm/plugin/Form/InputTime.js +3 -3
- package/esm/plugin/Form/InputTimeRange.js +3 -3
- package/esm/plugin/Form/InputTree.d.ts +1 -0
- package/esm/plugin/Form/InputTree.js +116 -19
- 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 -4
- package/esm/plugin/Form/ListSelect.d.ts +2 -1
- package/esm/plugin/Form/ListSelect.js +23 -23
- package/esm/plugin/Form/LocationPicker.d.ts +4 -4
- package/esm/plugin/Form/LocationPicker.js +105 -15
- package/esm/plugin/Form/MatrixCheckboxes.js +3 -3
- package/esm/plugin/Form/NestedSelect.js +3 -4
- package/esm/plugin/Form/Picker.d.ts +5 -0
- package/esm/plugin/Form/Picker.js +337 -49
- package/esm/plugin/Form/Radios.js +3 -4
- package/esm/plugin/Form/Select.js +3 -4
- package/esm/plugin/Form/Static.d.ts +2 -1
- package/esm/plugin/Form/Static.js +100 -25
- package/esm/plugin/Form/Switch.js +3 -4
- package/esm/plugin/Form/TabsTransfer.js +3 -4
- package/esm/plugin/Form/Textarea.js +4 -4
- package/esm/plugin/Form/Transfer.js +5 -6
- package/esm/plugin/Form/TreeSelect.d.ts +1 -0
- package/esm/plugin/Form/TreeSelect.js +34 -16
- package/esm/plugin/Form/UUID.js +4 -4
- package/esm/plugin/Grid.js +4 -4
- package/esm/plugin/HBox.js +3 -3
- package/esm/plugin/IFrame.d.ts +1 -0
- package/esm/plugin/IFrame.js +4 -3
- package/esm/plugin/Icon.js +13 -17
- package/esm/plugin/Image.d.ts +4 -0
- package/esm/plugin/Image.js +107 -5
- package/esm/plugin/Images.d.ts +1 -0
- package/esm/plugin/Images.js +5 -4
- package/esm/plugin/Json.js +3 -3
- package/esm/plugin/Layout/FlexPluginBase.d.ts +9 -2
- package/esm/plugin/Layout/FlexPluginBase.js +46 -24
- package/esm/plugin/Layout/Layout_fixed.d.ts +1 -0
- package/esm/plugin/Layout/Layout_fixed.js +14 -4
- 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 +7 -7
- package/esm/plugin/List.js +3 -3
- package/esm/plugin/List2.d.ts +220 -142
- package/esm/plugin/List2.js +140 -80
- package/esm/plugin/ListItem.js +3 -4
- package/esm/plugin/Log.js +4 -4
- package/esm/plugin/Mapping.d.ts +0 -1
- package/esm/plugin/Mapping.js +4 -9
- package/esm/plugin/Markdown.js +3 -3
- package/esm/plugin/Nav.d.ts +2 -0
- package/esm/plugin/Nav.js +4 -3
- package/esm/plugin/OfficeViewer.js +3 -3
- package/esm/plugin/Operation.js +3 -3
- package/esm/plugin/Others/Action.js +3 -3
- package/esm/plugin/Others/TableCell.js +34 -16
- package/esm/plugin/Page.js +4 -13
- package/esm/plugin/Pagination.d.ts +1 -0
- package/esm/plugin/Pagination.js +12 -8
- package/esm/plugin/Panel.js +3 -3
- package/esm/plugin/Plain.js +3 -3
- package/esm/plugin/Progress.js +3 -3
- package/esm/plugin/Property.js +3 -3
- package/esm/plugin/QRCode.d.ts +2 -0
- package/esm/plugin/QRCode.js +8 -3
- package/esm/plugin/Reset.js +3 -3
- package/esm/plugin/SearchBox.js +3 -3
- package/esm/plugin/Service.js +7 -8
- 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.js +31 -23
- package/esm/plugin/Table.js +27 -5
- package/esm/plugin/Table2.js +26 -4
- package/esm/plugin/TableCell2.js +28 -24
- package/esm/plugin/TableView.d.ts +1 -0
- package/esm/plugin/TableView.js +6 -8
- package/esm/plugin/Tabs.js +3 -3
- package/esm/plugin/Tag.js +3 -3
- package/esm/plugin/Tasks.js +4 -4
- package/esm/plugin/Time.d.ts +2 -0
- package/esm/plugin/Time.js +5 -3
- package/esm/plugin/Timeline.js +3 -3
- package/esm/plugin/TooltipWrapper.js +30 -17
- package/esm/plugin/Tpl.js +3 -3
- package/esm/plugin/Video.js +3 -3
- package/esm/plugin/WebComponent.js +7 -3
- package/esm/plugin/Wizard.js +3 -3
- package/esm/plugin/Wrapper.js +3 -3
- package/esm/plugin/index.d.ts +2 -1
- package/esm/renderer/APIAdaptorControl.d.ts +19 -0
- package/esm/renderer/APIAdaptorControl.js +4 -4
- package/esm/renderer/APIControl.js +4 -8
- package/esm/renderer/BadgeControl.js +3 -3
- package/esm/renderer/ButtonGroupControl.js +3 -3
- package/esm/renderer/DataBindingControl.js +3 -5
- 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 +4 -7
- package/esm/renderer/FeatureControl.js +3 -4
- package/esm/renderer/FieldSetting.js +6 -10
- package/esm/renderer/FlexSettingControl.js +3 -3
- package/esm/renderer/FormulaControl.js +3 -8
- 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.js +4 -4
- package/esm/renderer/ListItemControl.d.ts +0 -2
- package/esm/renderer/ListItemControl.js +12 -8
- 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 +8 -10
- package/esm/renderer/OptionControl.js +3 -4
- package/esm/renderer/RangePartsControl.d.ts +2 -2
- package/esm/renderer/RangePartsControl.js +13 -25
- package/esm/renderer/StatusControl.js +3 -3
- package/esm/renderer/SwitchMoreControl.js +3 -4
- package/esm/renderer/TableColumnWidthControl.js +3 -4
- package/esm/renderer/TimelineItemControl.js +3 -3
- package/esm/renderer/TplFormulaControl.js +4 -8
- package/esm/renderer/TransferTableControl.d.ts +3 -1
- package/esm/renderer/TransferTableControl.js +224 -225
- package/esm/renderer/TreeOptionControl.js +3 -3
- package/esm/renderer/ValidationControl.js +7 -5
- package/esm/renderer/ValidationItem.js +3 -3
- package/esm/renderer/crud2-control/AddColumnModal.js +7 -5
- package/esm/renderer/crud2-control/CRUDColumnControl.js +6 -8
- package/esm/renderer/crud2-control/CRUDFiltersControl.js +3 -10
- package/esm/renderer/crud2-control/CRUDToolbarControl.d.ts +1 -2
- package/esm/renderer/crud2-control/CRUDToolbarControl.js +31 -39
- package/esm/renderer/event-control/action-config-dialog.d.ts +1 -0
- package/esm/renderer/event-control/action-config-dialog.js +47 -7
- package/esm/renderer/event-control/action-config-panel.js +3 -3
- package/esm/renderer/event-control/comp-action-select.js +3 -3
- package/esm/renderer/event-control/helper.d.ts +4 -0
- package/esm/renderer/event-control/helper.js +81 -53
- package/esm/renderer/event-control/index.d.ts +5 -0
- package/esm/renderer/event-control/index.js +57 -15
- package/esm/renderer/event-control/types.d.ts +4 -0
- 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 -4
- 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 +2 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +13 -9
- package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +8 -0
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +18 -20
- package/esm/renderer/textarea-formula/plugin.js +3 -3
- package/esm/tpl/api.js +3 -6
- package/esm/tpl/common.js +23 -6
- package/esm/tpl/horizontal.js +3 -3
- package/esm/tpl/layout.js +38 -36
- package/esm/tpl/options.js +3 -4
- package/esm/tpl/remark.js +3 -3
- package/esm/tpl/style.js +3 -3
- package/esm/tpl/validations.js +3 -3
- package/esm/util.d.ts +7 -0
- package/esm/util.js +32 -4
- package/esm/validator.js +3 -3
- package/lib/builder/ApiDSBuilder.d.ts +5 -5
- package/lib/builder/ApiDSBuilder.js +35 -24
- package/lib/builder/DSBuilder.js +3 -3
- package/lib/builder/DSBuilderManager.js +3 -3
- 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 +9 -11
- 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 +3 -3
- 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 +3 -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 +1 -10
- package/lib/index.js +9 -15
- package/lib/locale/en-US.js +74 -4
- package/lib/locale/zh-CN.js +77 -4
- package/lib/plugin/Alert.js +3 -3
- package/lib/plugin/AnchorNav.js +3 -3
- package/lib/plugin/Audio.d.ts +1 -0
- package/lib/plugin/Audio.js +4 -3
- package/lib/plugin/Avatar.js +3 -3
- package/lib/plugin/Breadcrumb.js +3 -3
- package/lib/plugin/Button.js +10 -6
- package/lib/plugin/ButtonGroup.js +3 -3
- package/lib/plugin/CRUD.d.ts +18 -0
- package/lib/plugin/CRUD.js +146 -30
- package/lib/plugin/CRUD2/BaseCRUD.js +4 -6
- package/lib/plugin/CRUD2/CRUDTable.js +4 -4
- package/lib/plugin/CRUD2/constants.js +3 -3
- package/lib/plugin/CRUD2/utils.js +3 -3
- package/lib/plugin/Calendar.d.ts +29 -0
- package/lib/plugin/Calendar.js +166 -0
- package/lib/plugin/Card.js +3 -4
- package/lib/plugin/Card2.js +3 -3
- package/lib/plugin/Cards.d.ts +276 -126
- package/lib/plugin/Cards.js +189 -92
- package/lib/plugin/Carousel.js +3 -3
- package/lib/plugin/Chart.js +3 -4
- package/lib/plugin/CodeView.js +3 -3
- package/lib/plugin/Collapse.js +3 -3
- package/lib/plugin/CollapseGroup.d.ts +1 -0
- package/lib/plugin/CollapseGroup.js +4 -3
- package/lib/plugin/ColumnToggler.js +3 -3
- package/lib/plugin/Container.d.ts +1 -0
- package/lib/plugin/Container.js +4 -4
- package/lib/plugin/Custom.js +3 -3
- package/lib/plugin/CustomRegion.js +3 -3
- package/lib/plugin/Date.d.ts +2 -0
- package/lib/plugin/Date.js +5 -3
- package/lib/plugin/Datetime.d.ts +3 -0
- package/lib/plugin/Datetime.js +73 -16
- package/lib/plugin/Dialog.js +7 -4
- package/lib/plugin/Divider.d.ts +1 -0
- package/lib/plugin/Divider.js +8 -7
- package/lib/plugin/Drawer.js +3 -4
- package/lib/plugin/DropDownButton.js +3 -3
- package/lib/plugin/Each.d.ts +111 -50
- package/lib/plugin/Each.js +66 -36
- package/lib/plugin/Flex.js +3 -3
- package/lib/plugin/Form/ButtonGroupSelect.js +3 -4
- package/lib/plugin/Form/ButtonToolbar.js +3 -3
- package/lib/plugin/Form/ChainedSelect.js +3 -4
- package/lib/plugin/Form/Checkbox.js +3 -4
- package/lib/plugin/Form/Checkboxes.js +3 -4
- package/lib/plugin/Form/CodeEditor.js +3 -3
- package/lib/plugin/Form/Combo.js +26 -27
- package/lib/plugin/Form/ConditionBuilder.js +3 -3
- package/lib/plugin/Form/Control.js +3 -3
- package/lib/plugin/Form/DiffEditor.js +4 -4
- package/lib/plugin/Form/FieldSet.js +4 -4
- package/lib/plugin/Form/Form.d.ts +3 -0
- package/lib/plugin/Form/Form.js +140 -66
- package/lib/plugin/Form/Formula.js +3 -3
- package/lib/plugin/Form/Group.js +3 -3
- package/lib/plugin/Form/Hidden.js +4 -4
- package/lib/plugin/Form/InputArray.js +3 -3
- package/lib/plugin/Form/InputCity.js +3 -4
- package/lib/plugin/Form/InputColor.js +16 -12
- package/lib/plugin/Form/InputDate.js +6 -10
- 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.d.ts +1 -0
- package/lib/plugin/Form/InputExcel.js +4 -3
- package/lib/plugin/Form/InputFile.js +3 -3
- package/lib/plugin/Form/InputGroup.js +4 -4
- 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.js +20 -11
- 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.d.ts +2 -1
- package/lib/plugin/Form/InputRange.js +10 -5
- package/lib/plugin/Form/InputRating.js +3 -4
- package/lib/plugin/Form/InputRepeat.js +4 -4
- package/lib/plugin/Form/InputRichText.js +6 -6
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.js +136 -10
- package/lib/plugin/Form/InputTag.js +4 -5
- package/lib/plugin/Form/InputText.js +5 -6
- package/lib/plugin/Form/InputTime.js +3 -3
- package/lib/plugin/Form/InputTimeRange.js +3 -3
- package/lib/plugin/Form/InputTree.d.ts +1 -0
- package/lib/plugin/Form/InputTree.js +115 -17
- 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 -4
- package/lib/plugin/Form/ListSelect.d.ts +2 -1
- package/lib/plugin/Form/ListSelect.js +23 -23
- package/lib/plugin/Form/LocationPicker.d.ts +4 -4
- package/lib/plugin/Form/LocationPicker.js +104 -14
- package/lib/plugin/Form/MatrixCheckboxes.js +3 -3
- package/lib/plugin/Form/NestedSelect.js +3 -4
- package/lib/plugin/Form/Picker.d.ts +5 -0
- package/lib/plugin/Form/Picker.js +338 -48
- package/lib/plugin/Form/Radios.js +3 -4
- package/lib/plugin/Form/Select.js +3 -4
- package/lib/plugin/Form/Static.d.ts +2 -1
- package/lib/plugin/Form/Static.js +101 -25
- package/lib/plugin/Form/Switch.js +3 -4
- package/lib/plugin/Form/TabsTransfer.js +3 -4
- package/lib/plugin/Form/Textarea.js +4 -4
- package/lib/plugin/Form/Transfer.js +5 -6
- package/lib/plugin/Form/TreeSelect.d.ts +1 -0
- package/lib/plugin/Form/TreeSelect.js +33 -15
- package/lib/plugin/Form/UUID.js +4 -4
- package/lib/plugin/Grid.js +4 -4
- package/lib/plugin/HBox.js +3 -3
- package/lib/plugin/IFrame.d.ts +1 -0
- package/lib/plugin/IFrame.js +4 -3
- package/lib/plugin/Icon.js +12 -16
- package/lib/plugin/Image.d.ts +4 -0
- package/lib/plugin/Image.js +106 -4
- package/lib/plugin/Images.d.ts +1 -0
- package/lib/plugin/Images.js +5 -4
- package/lib/plugin/Json.js +3 -3
- package/lib/plugin/Layout/FlexPluginBase.d.ts +9 -2
- package/lib/plugin/Layout/FlexPluginBase.js +45 -23
- package/lib/plugin/Layout/Layout_fixed.d.ts +1 -0
- package/lib/plugin/Layout/Layout_fixed.js +14 -4
- 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 +7 -7
- package/lib/plugin/List.js +3 -3
- package/lib/plugin/List2.d.ts +220 -142
- package/lib/plugin/List2.js +140 -80
- package/lib/plugin/ListItem.js +3 -4
- package/lib/plugin/Log.js +4 -4
- package/lib/plugin/Mapping.d.ts +0 -1
- package/lib/plugin/Mapping.js +3 -8
- package/lib/plugin/Markdown.js +3 -3
- package/lib/plugin/Nav.d.ts +2 -0
- package/lib/plugin/Nav.js +4 -3
- package/lib/plugin/OfficeViewer.js +3 -3
- package/lib/plugin/Operation.js +3 -3
- package/lib/plugin/Others/Action.js +3 -3
- package/lib/plugin/Others/TableCell.js +35 -16
- package/lib/plugin/Page.js +4 -13
- package/lib/plugin/Pagination.d.ts +1 -0
- package/lib/plugin/Pagination.js +12 -8
- package/lib/plugin/Panel.js +3 -3
- package/lib/plugin/Plain.js +3 -3
- package/lib/plugin/Progress.js +3 -3
- package/lib/plugin/Property.js +3 -3
- package/lib/plugin/QRCode.d.ts +2 -0
- package/lib/plugin/QRCode.js +8 -3
- package/lib/plugin/Reset.js +3 -3
- package/lib/plugin/SearchBox.js +3 -3
- package/lib/plugin/Service.js +7 -8
- 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.js +31 -23
- package/lib/plugin/Table.js +27 -5
- package/lib/plugin/Table2.js +26 -4
- package/lib/plugin/TableCell2.js +28 -24
- package/lib/plugin/TableView.d.ts +1 -0
- package/lib/plugin/TableView.js +6 -8
- package/lib/plugin/Tabs.js +3 -3
- package/lib/plugin/Tag.js +3 -3
- package/lib/plugin/Tasks.js +4 -4
- package/lib/plugin/Time.d.ts +2 -0
- package/lib/plugin/Time.js +5 -3
- package/lib/plugin/Timeline.js +3 -3
- package/lib/plugin/TooltipWrapper.js +30 -17
- package/lib/plugin/Tpl.js +3 -3
- package/lib/plugin/Video.js +3 -3
- package/lib/plugin/WebComponent.js +7 -3
- package/lib/plugin/Wizard.js +3 -3
- package/lib/plugin/Wrapper.js +3 -3
- package/lib/plugin/index.d.ts +2 -1
- package/lib/renderer/APIAdaptorControl.d.ts +19 -0
- package/lib/renderer/APIAdaptorControl.js +4 -3
- package/lib/renderer/APIControl.js +4 -8
- 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 +3 -5
- 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 +4 -7
- package/lib/renderer/FeatureControl.js +3 -4
- package/lib/renderer/FieldSetting.js +6 -10
- package/lib/renderer/FlexSettingControl.js +3 -3
- package/lib/renderer/FormulaControl.js +3 -8
- 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.js +4 -4
- package/lib/renderer/ListItemControl.d.ts +0 -2
- package/lib/renderer/ListItemControl.js +11 -7
- package/lib/renderer/MapSourceControl.js +3 -3
- package/lib/renderer/NavBadgeControl.d.ts +8 -8
- package/lib/renderer/NavBadgeControl.js +3 -3
- package/lib/renderer/NavDefaultActive.js +3 -3
- package/lib/renderer/NavSourceControl.js +8 -10
- package/lib/renderer/OptionControl.js +3 -4
- package/lib/renderer/RangePartsControl.d.ts +2 -2
- package/lib/renderer/RangePartsControl.js +13 -25
- package/lib/renderer/StatusControl.js +3 -3
- package/lib/renderer/SwitchMoreControl.js +3 -4
- package/lib/renderer/TableColumnWidthControl.js +3 -4
- package/lib/renderer/TimelineItemControl.js +3 -3
- package/lib/renderer/TplFormulaControl.js +4 -8
- package/lib/renderer/TransferTableControl.d.ts +3 -1
- package/lib/renderer/TransferTableControl.js +224 -225
- package/lib/renderer/TreeOptionControl.js +3 -3
- package/lib/renderer/ValidationControl.js +7 -5
- package/lib/renderer/ValidationItem.js +3 -3
- package/lib/renderer/crud2-control/AddColumnModal.js +7 -5
- package/lib/renderer/crud2-control/CRUDColumnControl.js +6 -8
- package/lib/renderer/crud2-control/CRUDFiltersControl.js +3 -10
- package/lib/renderer/crud2-control/CRUDToolbarControl.d.ts +1 -2
- package/lib/renderer/crud2-control/CRUDToolbarControl.js +33 -40
- package/lib/renderer/event-control/action-config-dialog.d.ts +1 -0
- package/lib/renderer/event-control/action-config-dialog.js +45 -5
- package/lib/renderer/event-control/action-config-panel.js +3 -3
- package/lib/renderer/event-control/comp-action-select.js +3 -3
- package/lib/renderer/event-control/helper.d.ts +4 -0
- package/lib/renderer/event-control/helper.js +80 -51
- package/lib/renderer/event-control/index.d.ts +5 -0
- package/lib/renderer/event-control/index.js +56 -13
- package/lib/renderer/event-control/types.d.ts +4 -0
- 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 -4
- 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 +2 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +13 -9
- package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +8 -0
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +18 -20
- package/lib/renderer/textarea-formula/plugin.js +3 -3
- package/lib/tpl/api.js +3 -6
- package/lib/tpl/common.js +23 -6
- package/lib/tpl/horizontal.js +3 -3
- package/lib/tpl/layout.js +38 -36
- package/lib/tpl/options.js +3 -4
- package/lib/tpl/remark.js +3 -3
- package/lib/tpl/style.js +3 -3
- package/lib/tpl/validations.js +3 -3
- package/lib/util.d.ts +7 -0
- package/lib/util.js +32 -3
- package/lib/validator.js +3 -3
- package/package.json +4 -4
@@ -1,11 +1,13 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
7
7
|
import { __assign, __extends } from 'tslib';
|
8
8
|
import React__default from 'react';
|
9
|
+
import get from 'lodash/get';
|
10
|
+
import { getVariable } from 'amis-core';
|
9
11
|
import { Button } from 'amis';
|
10
12
|
import { setSchemaTpl, defaultValue, getSchemaTpl, tipedLabel, mockValue, BasePlugin, registerEditorPlugin } from 'amis-editor-core';
|
11
13
|
import { i18n } from 'i18n-runtime';
|
@@ -22,6 +24,14 @@ setSchemaTpl('quickEdit', function (patch, manager) {
|
|
22
24
|
pipeIn: function (value) {
|
23
25
|
return !!value;
|
24
26
|
},
|
27
|
+
trueValue: {
|
28
|
+
mode: 'popOver'
|
29
|
+
},
|
30
|
+
isChecked: function (e) {
|
31
|
+
var data = e.data,
|
32
|
+
name = e.name;
|
33
|
+
return !!get(data, name);
|
34
|
+
},
|
25
35
|
form: {
|
26
36
|
body: [{
|
27
37
|
label: i18n("ce0e89aa6a8e17562c265714b33b4f82"),
|
@@ -61,13 +71,32 @@ setSchemaTpl('quickEdit', function (patch, manager) {
|
|
61
71
|
data = _a.data;
|
62
72
|
if (value === true) {
|
63
73
|
value = {};
|
74
|
+
} else if (typeof value === 'undefined') {
|
75
|
+
value = getVariable(data, 'quickEdit');
|
64
76
|
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
}
|
70
|
-
|
77
|
+
value = __assign({}, value);
|
78
|
+
var originMode = value.mode || 'popOver';
|
79
|
+
if (value.mode) {
|
80
|
+
delete value.mode;
|
81
|
+
}
|
82
|
+
var originSaveImmediately = value.saveImmediately;
|
83
|
+
if (value.saveImmediately) {
|
84
|
+
delete value.saveImmediately;
|
85
|
+
}
|
86
|
+
value = value.body && ['container', 'wrapper'].includes(value.type) ? __assign({
|
87
|
+
// schema中存在容器,用自己的就行
|
88
|
+
type: 'wrapper',
|
89
|
+
wrap: false,
|
90
|
+
body: []
|
91
|
+
}, value) : {
|
92
|
+
// schema中不存在容器,打开子编辑器时需要包裹一层
|
93
|
+
type: 'wrapper',
|
94
|
+
wrap: false,
|
95
|
+
body: [__assign({
|
96
|
+
type: 'input-text',
|
97
|
+
name: data.name
|
98
|
+
}, value)]
|
99
|
+
};
|
71
100
|
// todo 多个快速编辑表单模式看来只能代码模式编辑了。
|
72
101
|
return React__default.createElement(Button, {
|
73
102
|
block: true,
|
@@ -76,15 +105,10 @@ setSchemaTpl('quickEdit', function (patch, manager) {
|
|
76
105
|
manager.openSubEditor({
|
77
106
|
title: i18n("c3ed36e4abb96c18a6c83350994cdea7"),
|
78
107
|
value: value,
|
79
|
-
slot: {
|
80
|
-
type: 'form',
|
81
|
-
mode: 'normal',
|
82
|
-
body: ['$$'],
|
83
|
-
wrapWithPanel: false
|
84
|
-
},
|
85
108
|
onChange: function (value) {
|
86
109
|
return onChange(__assign(__assign({}, value), {
|
87
|
-
mode: originMode
|
110
|
+
mode: originMode,
|
111
|
+
saveImmediately: originSaveImmediately
|
88
112
|
}), 'quickEdit');
|
89
113
|
}
|
90
114
|
});
|
@@ -224,7 +248,6 @@ var StaticControlPlugin = /** @class */function (_super) {
|
|
224
248
|
// 组件名称
|
225
249
|
_this.name = i18n("33e7b7433fdbeafa1ef71105ee28c061");
|
226
250
|
_this.isBaseComponent = true;
|
227
|
-
_this.disabledRendererPlugin = true;
|
228
251
|
_this.icon = 'fa fa-info';
|
229
252
|
_this.pluginIcon = 'static-plugin';
|
230
253
|
_this.description = i18n("b4482a3d9523f48e83a816fa85911185");
|
@@ -253,13 +276,7 @@ var StaticControlPlugin = /** @class */function (_super) {
|
|
253
276
|
title: i18n("24d67862f87f439db7ca957aecb77cce"),
|
254
277
|
body: getSchemaTpl('collapseGroup', [{
|
255
278
|
title: i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
256
|
-
body: [{
|
257
|
-
type: 'alert',
|
258
|
-
inline: false,
|
259
|
-
level: 'warning',
|
260
|
-
className: 'text-sm',
|
261
|
-
body: i18n("4602761ee85e2e6e5360cd13fe642a08")
|
262
|
-
}, getSchemaTpl('formItemName', {
|
279
|
+
body: [getSchemaTpl('formItemName', {
|
263
280
|
required: false
|
264
281
|
}), getSchemaTpl('label'),
|
265
282
|
// getSchemaTpl('value'),
|
@@ -313,12 +330,70 @@ var StaticControlPlugin = /** @class */function (_super) {
|
|
313
330
|
}])
|
314
331
|
}]);
|
315
332
|
};
|
333
|
+
// 事件定义
|
334
|
+
_this.events = [{
|
335
|
+
eventName: 'click',
|
336
|
+
eventLabel: i18n("4363c17ebb346b646af55bd8c8075915"),
|
337
|
+
description: i18n("7af5e3ef39ff71d39fe3f645c8079124"),
|
338
|
+
dataSchema: [{
|
339
|
+
type: 'object',
|
340
|
+
properties: {
|
341
|
+
context: {
|
342
|
+
type: 'object',
|
343
|
+
title: i18n("50f198f07fc820a4911d1c97a0ceb8c2"),
|
344
|
+
properties: {
|
345
|
+
nativeEvent: {
|
346
|
+
type: 'object',
|
347
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
348
|
+
}
|
349
|
+
}
|
350
|
+
}
|
351
|
+
}
|
352
|
+
}]
|
353
|
+
}, {
|
354
|
+
eventName: 'mouseenter',
|
355
|
+
eventLabel: i18n("f6d767f39ba3bf955077a3c0ce81e581"),
|
356
|
+
description: i18n("bcdd89d453da0dc0622a2f3189728357"),
|
357
|
+
dataSchema: [{
|
358
|
+
type: 'object',
|
359
|
+
properties: {
|
360
|
+
context: {
|
361
|
+
type: 'object',
|
362
|
+
title: i18n("50f198f07fc820a4911d1c97a0ceb8c2"),
|
363
|
+
properties: {
|
364
|
+
nativeEvent: {
|
365
|
+
type: 'object',
|
366
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
367
|
+
}
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
}]
|
372
|
+
}, {
|
373
|
+
eventName: 'mouseleave',
|
374
|
+
eventLabel: i18n("e272b0b8c7fedc670a87075514d9b49f"),
|
375
|
+
description: i18n("727309bc724ff237c5e2cdf7a90cf28e"),
|
376
|
+
dataSchema: [{
|
377
|
+
type: 'object',
|
378
|
+
properties: {
|
379
|
+
context: {
|
380
|
+
type: 'object',
|
381
|
+
title: i18n("50f198f07fc820a4911d1c97a0ceb8c2"),
|
382
|
+
properties: {
|
383
|
+
nativeEvent: {
|
384
|
+
type: 'object',
|
385
|
+
title: i18n("64561733c68085af3d09315c1d4d7ed6")
|
386
|
+
}
|
387
|
+
}
|
388
|
+
}
|
389
|
+
}
|
390
|
+
}]
|
391
|
+
}];
|
316
392
|
return _this;
|
317
393
|
/*exchangeRenderer(id: string) {
|
318
394
|
this.manager.showReplacePanel(id, '展示');
|
319
395
|
}*/
|
320
396
|
}
|
321
|
-
|
322
397
|
StaticControlPlugin.prototype.filterProps = function (props, node) {
|
323
398
|
props.$$id = node.id;
|
324
399
|
if (typeof props.value === 'undefined') {
|
@@ -333,4 +408,4 @@ var StaticControlPlugin = /** @class */function (_super) {
|
|
333
408
|
registerEditorPlugin(StaticControlPlugin);
|
334
409
|
|
335
410
|
export { StaticControlPlugin };
|
336
|
-
window.amisEditorVersionInfo={version:'5.6.
|
411
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -193,7 +193,6 @@ var SwitchControlPlugin = /** @class */function (_super) {
|
|
193
193
|
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
194
194
|
};
|
195
195
|
};
|
196
|
-
|
197
196
|
SwitchControlPlugin.id = 'SwitchControlPlugin';
|
198
197
|
SwitchControlPlugin.scene = ['layout'];
|
199
198
|
return SwitchControlPlugin;
|
@@ -201,4 +200,4 @@ var SwitchControlPlugin = /** @class */function (_super) {
|
|
201
200
|
registerEditorPlugin(SwitchControlPlugin);
|
202
201
|
|
203
202
|
export { SwitchControlPlugin };
|
204
|
-
window.amisEditorVersionInfo={version:'5.6.
|
203
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -303,7 +303,6 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
303
303
|
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
304
304
|
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
305
305
|
};
|
306
|
-
|
307
306
|
if ((_f = node.schema) === null || _f === void 0 ? void 0 : _f.extractValue) {
|
308
307
|
dataSchema = {
|
309
308
|
type: 'array',
|
@@ -335,4 +334,4 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
335
334
|
registerEditorPlugin(TabsTransferPlugin);
|
336
335
|
|
337
336
|
export { TabsTransferPlugin };
|
338
|
-
window.amisEditorVersionInfo={version:'5.6.
|
337
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -23,7 +23,7 @@ var TextareaControlPlugin = /** @class */function (_super) {
|
|
23
23
|
_this.icon = 'fa fa-paragraph';
|
24
24
|
_this.pluginIcon = 'textarea-plugin';
|
25
25
|
_this.description = i18n("2af7e3952d7430d1e4c86ea5aca4e4fa");
|
26
|
-
_this.searchKeywords =
|
26
|
+
_this.searchKeywords = i18n("828476b63e65ac62976920fc753a3071");
|
27
27
|
_this.docLink = '/amis/zh-CN/components/form/textarea';
|
28
28
|
_this.tags = [i18n("55b45c73ae417c4dead67905b1550e85")];
|
29
29
|
_this.scaffold = {
|
@@ -175,4 +175,4 @@ var TextareaControlPlugin = /** @class */function (_super) {
|
|
175
175
|
registerEditorPlugin(TextareaControlPlugin);
|
176
176
|
|
177
177
|
export { TextareaControlPlugin };
|
178
|
-
window.amisEditorVersionInfo={version:'5.6.
|
178
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -158,10 +158,10 @@ var TransferPlugin = /** @class */function (_super) {
|
|
158
158
|
});
|
159
159
|
},
|
160
160
|
visibleOn: 'data.options.length > 0'
|
161
|
-
}), getSchemaTpl('
|
161
|
+
}), getSchemaTpl('switch', {
|
162
162
|
label: i18n("439a19857be1fb8d3e6017258e32c486"),
|
163
163
|
name: 'statistics'
|
164
|
-
})]
|
164
|
+
}), getSchemaTpl('labelRemark'), getSchemaTpl('remark'), getSchemaTpl('description')]
|
165
165
|
}, {
|
166
166
|
title: i18n("a2888bca5f435690ff9f5a5d615a968a"),
|
167
167
|
body: [{
|
@@ -311,7 +311,6 @@ var TransferPlugin = /** @class */function (_super) {
|
|
311
311
|
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
312
312
|
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
313
313
|
};
|
314
|
-
|
315
314
|
if ((_f = node.schema) === null || _f === void 0 ? void 0 : _f.extractValue) {
|
316
315
|
dataSchema = {
|
317
316
|
type: 'array',
|
@@ -343,4 +342,4 @@ var TransferPlugin = /** @class */function (_super) {
|
|
343
342
|
registerEditorPlugin(TransferPlugin);
|
344
343
|
|
345
344
|
export { TransferPlugin };
|
346
|
-
window.amisEditorVersionInfo={version:'5.6.
|
345
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
@@ -1,15 +1,16 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { __extends, __assign } from 'tslib';
|
7
|
+
import { __extends, __assign, __spreadArray, __read } from 'tslib';
|
8
8
|
import { getSchemaTpl, getI18nEnabled, defaultValue, tipedLabel, BasePlugin, registerEditorPlugin } from 'amis-editor-core';
|
9
9
|
import cloneDeep from 'lodash/cloneDeep';
|
10
10
|
import { getEventControlConfig } from '../../renderer/event-control/helper.js';
|
11
11
|
import { ValidatorTag } from '../../validator.js';
|
12
12
|
import { resolveOptionType } from '../../util.js';
|
13
|
+
import { TreeCommonAction } from './InputTree.js';
|
13
14
|
import { i18n } from 'i18n-runtime';
|
14
15
|
|
15
16
|
var TreeSelectControlPlugin = /** @class */function (_super) {
|
@@ -20,17 +21,18 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
20
21
|
_this.rendererName = 'tree-select';
|
21
22
|
_this.$schema = '/schemas/TreeSelectControlSchema.json';
|
22
23
|
// 组件名称
|
23
|
-
_this.name =
|
24
|
+
_this.name = '树组件';
|
24
25
|
_this.isBaseComponent = true;
|
25
26
|
_this.disabledRendererPlugin = true;
|
26
27
|
_this.icon = 'fa fa-list-alt';
|
27
28
|
_this.pluginIcon = 'tree-select-plugin';
|
28
29
|
_this.description = i18n("912beb37a3785e50d6483852be41111f");
|
30
|
+
_this.searchKeywords = i18n("98cb62edf3436738df2561d01ee19ab0");
|
29
31
|
_this.docLink = '/amis/zh-CN/components/form/treeselect';
|
30
32
|
_this.tags = [i18n("55b45c73ae417c4dead67905b1550e85")];
|
31
33
|
_this.scaffold = {
|
32
34
|
type: 'tree-select',
|
33
|
-
label:
|
35
|
+
label: '树组件',
|
34
36
|
name: 'tree',
|
35
37
|
clearable: false,
|
36
38
|
options: [{
|
@@ -53,7 +55,10 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
53
55
|
className: 'text-left',
|
54
56
|
mode: 'horizontal',
|
55
57
|
wrapWithPanel: false,
|
56
|
-
body: __assign({}, _this.scaffold)
|
58
|
+
body: __assign(__assign({}, _this.scaffold), {
|
59
|
+
label: '树组件 - 浮层模式',
|
60
|
+
mode: 'normal'
|
61
|
+
})
|
57
62
|
};
|
58
63
|
_this.notRenderFormZone = true;
|
59
64
|
_this.panelTitle = i18n("f77f634e6892c6447c5d9df623e42aff");
|
@@ -72,6 +77,10 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
72
77
|
value: {
|
73
78
|
type: 'string',
|
74
79
|
title: i18n("e5369f1a5e8d2b3e64eeb627e69c4e9b")
|
80
|
+
},
|
81
|
+
items: {
|
82
|
+
type: 'array',
|
83
|
+
title: i18n("b2a18e08b0b0e0fd7e80554b89244aa0")
|
75
84
|
}
|
76
85
|
}
|
77
86
|
}
|
@@ -199,7 +208,7 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
199
208
|
}]
|
200
209
|
}];
|
201
210
|
// 动作定义
|
202
|
-
_this.actions = [{
|
211
|
+
_this.actions = __spreadArray(__spreadArray([], __read(TreeCommonAction), false), [{
|
203
212
|
actionType: 'clear',
|
204
213
|
actionLabel: i18n("288f0c404c4e546aa3683ff5054e85e2"),
|
205
214
|
description: i18n("d81f0b9079d5a38bbedffeacaad8b905")
|
@@ -211,7 +220,11 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
211
220
|
actionType: 'setValue',
|
212
221
|
actionLabel: i18n("8f40db3b25528063f1b6a59602a05cd5"),
|
213
222
|
description: i18n("0310aa5a05fe07147d8b7ef20616f659")
|
214
|
-
}
|
223
|
+
}, {
|
224
|
+
actionType: 'reload',
|
225
|
+
actionLabel: i18n("64ca9bab920a2983bcf270320d850d00"),
|
226
|
+
description: i18n("9ef5597ac0b4da662bcd967da37eceb4")
|
227
|
+
}], false);
|
215
228
|
_this.panelDefinitions = {
|
216
229
|
options: {
|
217
230
|
label: i18n("25ae4ca8d4b8a67b273066a97a516327"),
|
@@ -297,8 +310,12 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
297
310
|
visibleOn: 'data.type === "tree-select"'
|
298
311
|
}), getSchemaTpl('switch', {
|
299
312
|
label: i18n("dbdae74eb12668e2b9568b013bf27d45"),
|
300
|
-
name: 'searchable'
|
301
|
-
|
313
|
+
name: 'searchable'
|
314
|
+
}), getSchemaTpl('apiControl', {
|
315
|
+
name: 'searchApi',
|
316
|
+
label: '选项搜索接口',
|
317
|
+
labelClassName: 'none',
|
318
|
+
visibleOn: 'data.type === "input-tree" && data.searchable'
|
302
319
|
}), getSchemaTpl('multiple', {
|
303
320
|
body: [{
|
304
321
|
type: 'input-number',
|
@@ -341,7 +358,11 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
341
358
|
// 自定义选项模板
|
342
359
|
getSchemaTpl('optionsMenuTpl', {
|
343
360
|
manager: _this.manager
|
344
|
-
}), getSchemaTpl('
|
361
|
+
}), getSchemaTpl('apiControl', {
|
362
|
+
name: 'deferApi',
|
363
|
+
label: '懒加载接口',
|
364
|
+
labelClassName: 'none'
|
365
|
+
}), getSchemaTpl('deferField'), getSchemaTpl('loadingConfig', {
|
345
366
|
visibleOn: 'this.source || !this.options'
|
346
367
|
}, {
|
347
368
|
context: context
|
@@ -391,7 +412,6 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
391
412
|
body: [getSchemaTpl('valueFormula', {
|
392
413
|
name: 'highlightTxt',
|
393
414
|
label: i18n("2b3073b1ba5f9deab7818d8be02de3a1"),
|
394
|
-
type: 'input-text',
|
395
415
|
visibleOn: 'data.type === "input-tree"'
|
396
416
|
}), {
|
397
417
|
type: 'ae-Switch-More',
|
@@ -471,8 +491,7 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
471
491
|
}
|
472
492
|
}, getSchemaTpl('virtualThreshold'), getSchemaTpl('virtualItemHeight')]
|
473
493
|
}, getSchemaTpl('status', {
|
474
|
-
isFormItem: true
|
475
|
-
readonly: true
|
494
|
+
isFormItem: true
|
476
495
|
}), getSchemaTpl('validation', {
|
477
496
|
tag: ValidatorTag.Tree
|
478
497
|
})])
|
@@ -506,7 +525,6 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
506
525
|
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
507
526
|
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
508
527
|
};
|
509
|
-
|
510
528
|
if (((_f = node.schema) === null || _f === void 0 ? void 0 : _f.joinValues) === false) {
|
511
529
|
dataSchema = __assign(__assign({}, dataSchema), {
|
512
530
|
type: 'object',
|
@@ -547,4 +565,4 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
547
565
|
registerEditorPlugin(TreeSelectControlPlugin);
|
548
566
|
|
549
567
|
export { TreeSelectControlPlugin };
|
550
|
-
window.amisEditorVersionInfo={version:'5.6.
|
568
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/Form/UUID.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -21,7 +21,7 @@ var UUIDControlPlugin = /** @class */function (_super) {
|
|
21
21
|
_this.icon = 'fa fa-eye-slash';
|
22
22
|
_this.pluginIcon = 'uuid-plugin';
|
23
23
|
_this.description = i18n("43474db97aff2ed0a876a47b6f4cdc7d");
|
24
|
-
_this.searchKeywords =
|
24
|
+
_this.searchKeywords = i18n("895013340b5cba65de69aefc9f4f0dff");
|
25
25
|
_this.docLink = '/amis/zh-CN/components/form/uuid';
|
26
26
|
_this.tags = [i18n("55b45c73ae417c4dead67905b1550e85")];
|
27
27
|
_this.scaffold = {
|
@@ -51,4 +51,4 @@ var UUIDControlPlugin = /** @class */function (_super) {
|
|
51
51
|
registerEditorPlugin(UUIDControlPlugin);
|
52
52
|
|
53
53
|
export { UUIDControlPlugin };
|
54
|
-
window.amisEditorVersionInfo={version:'5.6.
|
54
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/Grid.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -21,7 +21,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
21
21
|
_this.name = i18n("2820712cac089483cf2b4a0c939fc780");
|
22
22
|
_this.isBaseComponent = true;
|
23
23
|
_this.description = i18n("9e17d57a0ba39254a75c0265aa3063ca");
|
24
|
-
_this.searchKeywords =
|
24
|
+
_this.searchKeywords = i18n("993844afdf1cd0bd368cda41fe2d39d7");
|
25
25
|
_this.docLink = '/amis/zh-CN/components/grid';
|
26
26
|
_this.tags = [i18n("b1b98c19058af70d8bd499e1899e93bc")];
|
27
27
|
_this.order = -2;
|
@@ -676,4 +676,4 @@ var GridPlugin = /** @class */function (_super) {
|
|
676
676
|
registerEditorPlugin(GridPlugin);
|
677
677
|
|
678
678
|
export { GridPlugin };
|
679
|
-
window.amisEditorVersionInfo={version:'5.6.
|
679
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/HBox.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -591,4 +591,4 @@ var HBoxPlugin = /** @class */function (_super) {
|
|
591
591
|
registerEditorPlugin(HBoxPlugin);
|
592
592
|
|
593
593
|
export { HBoxPlugin };
|
594
|
-
window.amisEditorVersionInfo={version:'5.6.
|
594
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/IFrame.d.ts
CHANGED
package/esm/plugin/IFrame.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -19,6 +19,7 @@ var IFramePlugin = /** @class */function (_super) {
|
|
19
19
|
_this.name = 'iFrame';
|
20
20
|
_this.isBaseComponent = true;
|
21
21
|
_this.description = i18n("713315591970d7c8b49d1c732fe54fde");
|
22
|
+
_this.docLink = '/amis/zh-CN/components/iframe';
|
22
23
|
_this.tags = [i18n("997c7a5d34f6fc628893f509d0df32e0")];
|
23
24
|
_this.icon = 'fa fa-window-maximize';
|
24
25
|
_this.pluginIcon = 'iframe-plugin';
|
@@ -75,4 +76,4 @@ var IFramePlugin = /** @class */function (_super) {
|
|
75
76
|
registerEditorPlugin(IFramePlugin);
|
76
77
|
|
77
78
|
export { IFramePlugin };
|
78
|
-
window.amisEditorVersionInfo={version:'5.6.
|
79
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/Icon.js
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.6.
|
3
|
-
* build time: 2023-
|
2
|
+
* amis-editor v5.6.3
|
3
|
+
* build time: 2023-12-08
|
4
4
|
* Copyright 2018-2023 @fex
|
5
5
|
*/
|
6
6
|
|
7
|
-
import { __extends } from 'tslib';
|
7
|
+
import { __extends, __assign } from 'tslib';
|
8
8
|
import { getSchemaTpl, BasePlugin, registerEditorPlugin } from 'amis-editor-core';
|
9
|
+
import '../renderer/event-control/index.js';
|
9
10
|
import { i18n } from 'i18n-runtime';
|
11
|
+
import { getEventControlConfig } from '../renderer/event-control/helper.js';
|
10
12
|
|
11
13
|
var IconPlugin = /** @class */function (_super) {
|
12
14
|
__extends(IconPlugin, _super);
|
@@ -118,20 +120,14 @@ var IconPlugin = /** @class */function (_super) {
|
|
118
120
|
label: i18n("e8ed49e9fde0bb778e2185876c2d2697")
|
119
121
|
})]
|
120
122
|
}])
|
121
|
-
}
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
// ...getEventControlConfig(this.manager, context)
|
129
|
-
// })
|
130
|
-
// ]
|
131
|
-
// }
|
132
|
-
])];
|
123
|
+
}, {
|
124
|
+
title: i18n("10b2761db5a8e089049df39675abc550"),
|
125
|
+
className: 'p-none',
|
126
|
+
body: [getSchemaTpl('eventControl', __assign({
|
127
|
+
name: 'onEvent'
|
128
|
+
}, getEventControlConfig(_this.manager, context)))]
|
129
|
+
}])];
|
133
130
|
};
|
134
|
-
|
135
131
|
return _this;
|
136
132
|
}
|
137
133
|
IconPlugin.id = 'IconPlugin';
|
@@ -140,4 +136,4 @@ var IconPlugin = /** @class */function (_super) {
|
|
140
136
|
registerEditorPlugin(IconPlugin);
|
141
137
|
|
142
138
|
export { IconPlugin };
|
143
|
-
window.amisEditorVersionInfo={version:'5.6.
|
139
|
+
window.amisEditorVersionInfo={version:'5.6.3',buildTime:'2023-12-08'};
|
package/esm/plugin/Image.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
1
2
|
import { ActiveEventContext, BasePlugin, PluginEvent, ResizeMoveEventContext } from 'amis-editor-core';
|
2
3
|
export declare class ImagePlugin extends BasePlugin {
|
3
4
|
static id: string;
|
@@ -7,6 +8,7 @@ export declare class ImagePlugin extends BasePlugin {
|
|
7
8
|
name: string;
|
8
9
|
isBaseComponent: boolean;
|
9
10
|
description: string;
|
11
|
+
docLink: string;
|
10
12
|
tags: string[];
|
11
13
|
icon: string;
|
12
14
|
pluginIcon: string;
|
@@ -18,6 +20,8 @@ export declare class ImagePlugin extends BasePlugin {
|
|
18
20
|
value: any;
|
19
21
|
type: string;
|
20
22
|
};
|
23
|
+
events: RendererPluginEvent[];
|
24
|
+
actions: RendererPluginAction[];
|
21
25
|
panelTitle: string;
|
22
26
|
panelJustify: boolean;
|
23
27
|
panelBodyCreator: (context: BaseEventContext) => any;
|