amis-editor 5.5.0 → 5.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/builder/ApiDSBuilder.d.ts +491 -0
- package/esm/builder/ApiDSBuilder.js +1212 -0
- package/esm/builder/DSBuilder.d.ts +171 -0
- package/esm/builder/DSBuilder.js +49 -0
- package/esm/builder/DSBuilderManager.d.ts +62 -0
- package/esm/builder/DSBuilderManager.js +207 -0
- package/esm/builder/constants.d.ts +97 -0
- package/esm/builder/constants.js +135 -0
- package/esm/builder/index.d.ts +6 -0
- package/esm/builder/type.d.ts +96 -0
- package/esm/builder/utils.d.ts +10 -0
- package/esm/builder/utils.js +93 -0
- package/esm/component/BaseControl.js +5 -3
- package/esm/component/InputComponentName.js +3 -1
- package/esm/component/TableViewEditor.d.ts +2 -2
- package/esm/component/TableViewEditor.js +4 -2
- package/esm/icons/btn/btn-group.svg.js +3 -1
- package/esm/icons/btn/btn-select.svg.js +3 -1
- package/esm/icons/btn/btn-toolbar.svg.js +3 -1
- package/esm/icons/btn/button.svg.js +3 -1
- package/esm/icons/btn/dropdown-btn.svg.js +3 -1
- package/esm/icons/container/anchor-nav.svg.js +3 -1
- package/esm/icons/container/collapse.svg.js +3 -1
- package/esm/icons/container/container.svg.js +3 -1
- package/esm/icons/container/flex-container.svg.js +3 -1
- package/esm/icons/container/form-group.svg.js +3 -1
- package/esm/icons/container/grid.svg.js +3 -1
- package/esm/icons/container/iframe.svg.js +3 -1
- package/esm/icons/container/panel.svg.js +3 -1
- package/esm/icons/container/table-view.svg.js +3 -1
- package/esm/icons/container/tabs.svg.js +3 -1
- package/esm/icons/container/tooltip-wrapper.svg.js +3 -1
- package/esm/icons/container/web-component.svg.js +3 -1
- package/esm/icons/crud/column-add.svg.js +26 -0
- package/esm/icons/crud/column-delete.svg.js +24 -0
- package/esm/icons/crud/column-setting.svg.js +24 -0
- package/esm/icons/crud/share-link.svg.js +22 -0
- package/esm/icons/display/aBaseline.svg.js +4 -1
- package/esm/icons/display/aCenter.svg.js +4 -1
- package/esm/icons/display/aFlexEnd.svg.js +4 -1
- package/esm/icons/display/aFlexStart.svg.js +4 -1
- package/esm/icons/display/aStretch.svg.js +4 -1
- package/esm/icons/display/block.svg.js +4 -1
- package/esm/icons/display/dcolumn.svg.js +4 -1
- package/esm/icons/display/dcolumnReverse.svg.js +4 -1
- package/esm/icons/display/drow.svg.js +4 -1
- package/esm/icons/display/drowReverse.svg.js +4 -1
- package/esm/icons/display/flex.svg.js +4 -1
- package/esm/icons/display/inline-block.svg.js +4 -1
- package/esm/icons/display/inline.svg.js +4 -1
- package/esm/icons/display/jCenter.svg.js +4 -1
- package/esm/icons/display/jFlexEnd.svg.js +4 -1
- package/esm/icons/display/jFlexStart.svg.js +4 -1
- package/esm/icons/display/jSpaceAround.svg.js +4 -1
- package/esm/icons/display/jSpaceBetween.svg.js +4 -1
- package/esm/icons/feat/audio.svg.js +3 -1
- package/esm/icons/feat/custom.svg.js +3 -1
- package/esm/icons/feat/each.svg.js +3 -1
- package/esm/icons/feat/form.svg.js +3 -1
- package/esm/icons/feat/nav.svg.js +3 -1
- package/esm/icons/feat/qrcode.svg.js +3 -1
- package/esm/icons/feat/service.svg.js +3 -1
- package/esm/icons/feat/table.svg.js +3 -1
- package/esm/icons/feat/tasks.svg.js +3 -1
- package/esm/icons/feat/video.svg.js +3 -1
- package/esm/icons/feat/wizard.svg.js +3 -1
- package/esm/icons/form/chained-select.svg.js +3 -1
- package/esm/icons/form/checkbox.svg.js +3 -1
- package/esm/icons/form/checkboxes.svg.js +3 -1
- package/esm/icons/form/combo.svg.js +3 -1
- package/esm/icons/form/condition-builder.svg.js +3 -1
- package/esm/icons/form/diff-editor.svg.js +3 -1
- package/esm/icons/form/editor.svg.js +3 -1
- package/esm/icons/form/formula.svg.js +3 -1
- package/esm/icons/form/hidden.svg.js +3 -1
- package/esm/icons/form/input-city.svg.js +3 -1
- package/esm/icons/form/input-color.svg.js +3 -1
- package/esm/icons/form/input-date-range.svg.js +3 -1
- package/esm/icons/form/input-date.svg.js +3 -1
- package/esm/icons/form/input-datetime.svg.js +3 -1
- package/esm/icons/form/input-email.svg.js +3 -1
- package/esm/icons/form/input-excel.svg.js +3 -1
- package/esm/icons/form/input-file.svg.js +3 -1
- package/esm/icons/form/input-group.svg.js +3 -1
- package/esm/icons/form/input-image.svg.js +3 -1
- package/esm/icons/form/input-kv.svg.js +3 -1
- package/esm/icons/form/input-month-range.svg.js +3 -1
- package/esm/icons/form/input-number.svg.js +3 -1
- package/esm/icons/form/input-password.svg.js +3 -1
- package/esm/icons/form/input-quarter-range.svg.js +3 -1
- package/esm/icons/form/input-range.svg.js +3 -1
- package/esm/icons/form/input-rating.svg.js +3 -1
- package/esm/icons/form/input-repeat.svg.js +3 -1
- package/esm/icons/form/input-rich-text.svg.js +3 -1
- package/esm/icons/form/input-tag.svg.js +3 -1
- package/esm/icons/form/input-text.svg.js +3 -1
- package/esm/icons/form/input-time-range.svg.js +3 -1
- package/esm/icons/form/input-time.svg.js +3 -1
- package/esm/icons/form/input-tree.svg.js +3 -1
- package/esm/icons/form/input-url.svg.js +3 -1
- package/esm/icons/form/input-year.svg.js +3 -1
- package/esm/icons/form/inputArray.svg.js +3 -1
- package/esm/icons/form/list-select.svg.js +3 -1
- package/esm/icons/form/location-picker.svg.js +3 -1
- package/esm/icons/form/matrix-checkboxes.svg.js +3 -1
- package/esm/icons/form/month.svg.js +3 -1
- package/esm/icons/form/nested-select.svg.js +3 -1
- package/esm/icons/form/picker.svg.js +3 -1
- package/esm/icons/form/quarter.svg.js +3 -1
- package/esm/icons/form/radios.svg.js +3 -1
- package/esm/icons/form/select.svg.js +3 -1
- package/esm/icons/form/static.svg.js +3 -1
- package/esm/icons/form/sub-form.svg.js +3 -1
- package/esm/icons/form/switch.svg.js +3 -1
- package/esm/icons/form/tabs-transfer.svg.js +3 -1
- package/esm/icons/form/textarea.svg.js +3 -1
- package/esm/icons/form/transfer.svg.js +3 -1
- package/esm/icons/form/tree-select.svg.js +3 -1
- package/esm/icons/form/uuid.svg.js +3 -1
- package/esm/icons/index.js +12 -1
- package/esm/icons/layout/layout-1with2.svg.js +3 -1
- package/esm/icons/layout/layout-2cols.svg.js +3 -1
- package/esm/icons/layout/layout-2row.svg.js +3 -1
- package/esm/icons/layout/layout-2with1.svg.js +3 -1
- package/esm/icons/layout/layout-3cols.svg.js +3 -1
- package/esm/icons/layout/layout-3row.svg.js +3 -1
- package/esm/icons/layout/layout-absolute.svg.js +3 -1
- package/esm/icons/layout/layout-fixed-top.svg.js +3 -1
- package/esm/icons/layout/layout-fixed.svg.js +3 -1
- package/esm/icons/layout/layout-free-container.svg.js +3 -1
- package/esm/icons/layout/layout-full.svg.js +3 -1
- package/esm/icons/layout/layout1-2.svg.js +3 -1
- package/esm/icons/layout/layout2-1.svg.js +3 -1
- package/esm/icons/layout/layout3-1.svg.js +3 -1
- package/esm/icons/layout/layout3-2.svg.js +3 -1
- package/esm/icons/other/_fx.svg.js +3 -1
- package/esm/icons/other/divider.svg.js +3 -1
- package/esm/icons/other/fx.svg.js +3 -1
- package/esm/icons/other/property-sheet.svg.js +3 -1
- package/esm/icons/other/tooltip.svg.js +3 -1
- package/esm/icons/show/URL.svg.js +3 -1
- package/esm/icons/show/avatar.svg.js +3 -1
- package/esm/icons/show/breadcrumb.svg.js +3 -1
- package/esm/icons/show/card.svg.js +3 -1
- package/esm/icons/show/cards.svg.js +3 -1
- package/esm/icons/show/carousel.svg.js +3 -1
- package/esm/icons/show/chart.svg.js +3 -1
- package/esm/icons/show/code.svg.js +3 -1
- package/esm/icons/show/date.svg.js +3 -1
- package/esm/icons/show/datetime.svg.js +3 -1
- package/esm/icons/show/image.svg.js +3 -1
- package/esm/icons/show/images.svg.js +3 -1
- package/esm/icons/show/json-view.svg.js +3 -1
- package/esm/icons/show/list.svg.js +3 -1
- package/esm/icons/show/log.svg.js +3 -1
- package/esm/icons/show/mapping.svg.js +3 -1
- package/esm/icons/show/markdown.svg.js +3 -1
- package/esm/icons/show/plain.svg.js +3 -1
- package/esm/icons/show/progress.svg.js +3 -1
- package/esm/icons/show/sparkline.svg.js +3 -1
- package/esm/icons/show/status.svg.js +3 -1
- package/esm/icons/show/steps.svg.js +3 -1
- package/esm/icons/show/time.svg.js +3 -1
- package/esm/icons/theme/css.svg.js +3 -1
- package/esm/index.d.ts +9 -145
- package/esm/index.js +154 -139
- package/esm/locale/en-US.js +307 -2
- package/esm/locale/zh-CN.js +315 -4
- package/esm/plugin/Alert.js +3 -1
- package/esm/plugin/AnchorNav.js +5 -3
- package/esm/plugin/Audio.js +3 -1
- package/esm/plugin/Avatar.js +3 -1
- package/esm/plugin/Breadcrumb.js +3 -1
- package/esm/plugin/Button.js +5 -3
- package/esm/plugin/ButtonGroup.js +3 -1
- package/esm/plugin/CRUD.d.ts +4 -3
- package/esm/plugin/CRUD.js +29 -23
- package/esm/plugin/CRUD2/BaseCRUD.d.ts +233 -0
- package/esm/plugin/CRUD2/BaseCRUD.js +1045 -0
- package/esm/plugin/CRUD2/CRUDCards.d.ts +53 -0
- package/esm/plugin/CRUD2/CRUDList.d.ts +53 -0
- package/esm/plugin/CRUD2/CRUDTable.d.ts +21 -0
- package/esm/plugin/CRUD2/CRUDTable.js +48 -0
- package/esm/plugin/CRUD2/constants.d.ts +32 -0
- package/esm/plugin/CRUD2/constants.js +75 -0
- package/esm/plugin/CRUD2/utils.d.ts +8 -0
- package/esm/plugin/CRUD2/utils.js +91 -0
- package/esm/plugin/Card.js +10 -4
- package/esm/plugin/Card2.js +3 -1
- package/esm/plugin/Cards.d.ts +547 -41
- package/esm/plugin/Cards.js +368 -174
- package/esm/plugin/Carousel.js +122 -97
- package/esm/plugin/Chart.d.ts +3 -0
- package/esm/plugin/Chart.js +147 -91
- package/esm/plugin/CodeView.js +3 -1
- package/esm/plugin/Collapse.d.ts +2 -1
- package/esm/plugin/Collapse.js +56 -8
- package/esm/plugin/CollapseGroup.js +14 -13
- package/esm/plugin/ColumnToggler.d.ts +11 -6
- package/esm/plugin/ColumnToggler.js +69 -10
- package/esm/plugin/Container.d.ts +4 -1
- package/esm/plugin/Container.js +79 -9
- package/esm/plugin/Custom.js +5 -3
- package/esm/plugin/CustomRegion.js +5 -2
- package/esm/plugin/Date.js +3 -1
- package/esm/plugin/Datetime.js +3 -1
- package/esm/plugin/Dialog.d.ts +26 -3
- package/esm/plugin/Dialog.js +217 -23
- package/esm/plugin/Divider.js +72 -6
- package/esm/plugin/Drawer.d.ts +7 -1
- package/esm/plugin/Drawer.js +134 -44
- package/esm/plugin/DropDownButton.js +4 -2
- package/esm/plugin/Each.d.ts +226 -11
- package/esm/plugin/Each.js +238 -89
- package/esm/plugin/Flex.js +3 -1
- package/esm/plugin/Form/ButtonGroupSelect.d.ts +2 -0
- package/esm/plugin/Form/ButtonGroupSelect.js +52 -2
- package/esm/plugin/Form/ButtonToolbar.js +3 -1
- package/esm/plugin/Form/ChainedSelect.d.ts +2 -0
- package/esm/plugin/Form/ChainedSelect.js +43 -3
- package/esm/plugin/Form/Checkbox.d.ts +6 -0
- package/esm/plugin/Form/Checkbox.js +61 -12
- package/esm/plugin/Form/Checkboxes.d.ts +2 -0
- package/esm/plugin/Form/Checkboxes.js +66 -22
- package/esm/plugin/Form/CodeEditor.js +3 -1
- package/esm/plugin/Form/Combo.d.ts +4 -2
- package/esm/plugin/Form/Combo.js +79 -6
- package/esm/plugin/Form/ConditionBuilder.js +5 -2
- package/esm/plugin/Form/Control.js +5 -3
- package/esm/plugin/Form/DiffEditor.js +3 -1
- package/esm/plugin/Form/FieldSet.js +4 -2
- package/esm/plugin/Form/Form.d.ts +37 -8
- package/esm/plugin/Form/Form.js +629 -491
- package/esm/plugin/Form/Formula.js +3 -1
- package/esm/plugin/Form/Group.js +5 -3
- package/esm/plugin/Form/Hidden.js +3 -1
- package/esm/plugin/Form/InputArray.js +4 -2
- package/esm/plugin/Form/InputCity.d.ts +2 -0
- package/esm/plugin/Form/InputCity.js +56 -2
- package/esm/plugin/Form/InputColor.js +3 -1
- package/esm/plugin/Form/InputDate.js +29 -43
- package/esm/plugin/Form/InputDateRange.js +42 -31
- package/esm/plugin/Form/InputDateTime.js +3 -1
- package/esm/plugin/Form/InputDateTimeRange.js +3 -1
- package/esm/plugin/Form/InputEmail.js +3 -1
- package/esm/plugin/Form/InputExcel.js +3 -1
- package/esm/plugin/Form/InputFile.js +8 -2
- package/esm/plugin/Form/InputGroup.d.ts +1 -0
- package/esm/plugin/Form/InputGroup.js +3 -1
- package/esm/plugin/Form/InputImage.js +12 -6
- package/esm/plugin/Form/InputKV.js +3 -1
- package/esm/plugin/Form/InputMonth.js +3 -1
- package/esm/plugin/Form/InputMonthRange.js +3 -1
- package/esm/plugin/Form/InputNumber.d.ts +6 -1
- package/esm/plugin/Form/InputNumber.js +12 -1
- package/esm/plugin/Form/InputPassword.js +3 -1
- package/esm/plugin/Form/InputQuarter.js +3 -1
- package/esm/plugin/Form/InputQuarterRange.js +3 -1
- package/esm/plugin/Form/InputRange.d.ts +21 -1
- package/esm/plugin/Form/InputRange.js +50 -35
- package/esm/plugin/Form/InputRating.d.ts +6 -0
- package/esm/plugin/Form/InputRating.js +12 -1
- package/esm/plugin/Form/InputRepeat.js +3 -1
- package/esm/plugin/Form/InputRichText.js +3 -1
- package/esm/plugin/Form/InputSubForm.js +5 -3
- package/esm/plugin/Form/InputTable.d.ts +4 -3
- package/esm/plugin/Form/InputTable.js +85 -64
- package/esm/plugin/Form/InputTag.d.ts +6 -1
- package/esm/plugin/Form/InputTag.js +54 -4
- package/esm/plugin/Form/InputText.d.ts +2 -0
- package/esm/plugin/Form/InputText.js +51 -1
- package/esm/plugin/Form/InputTime.js +3 -1
- package/esm/plugin/Form/InputTimeRange.js +3 -1
- package/esm/plugin/Form/InputTree.d.ts +2 -1
- package/esm/plugin/Form/InputTree.js +98 -35
- package/esm/plugin/Form/InputURL.js +3 -1
- package/esm/plugin/Form/InputYear.js +3 -1
- package/esm/plugin/Form/InputYearRange.js +3 -1
- package/esm/plugin/Form/Item.js +20 -15
- package/esm/plugin/Form/ListSelect.d.ts +2 -0
- package/esm/plugin/Form/ListSelect.js +52 -2
- package/esm/plugin/Form/LocationPicker.d.ts +28 -0
- package/esm/plugin/Form/LocationPicker.js +34 -1
- package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -2
- package/esm/plugin/Form/MatrixCheckboxes.js +32 -6
- package/esm/plugin/Form/NestedSelect.d.ts +2 -1
- package/esm/plugin/Form/NestedSelect.js +52 -2
- package/esm/plugin/Form/Picker.d.ts +2 -1
- package/esm/plugin/Form/Picker.js +51 -3
- package/esm/plugin/Form/Radios.d.ts +2 -0
- package/esm/plugin/Form/Radios.js +33 -2
- package/esm/plugin/Form/Select.d.ts +9 -7
- package/esm/plugin/Form/Select.js +68 -51
- package/esm/plugin/Form/Static.js +5 -3
- package/esm/plugin/Form/Switch.d.ts +6 -1
- package/esm/plugin/Form/Switch.js +13 -1
- package/esm/plugin/Form/TabsTransfer.d.ts +4 -3
- package/esm/plugin/Form/TabsTransfer.js +81 -28
- package/esm/plugin/Form/Textarea.js +3 -1
- package/esm/plugin/Form/Transfer.d.ts +2 -0
- package/esm/plugin/Form/Transfer.js +46 -5
- package/esm/plugin/Form/TreeSelect.d.ts +2 -1
- package/esm/plugin/Form/TreeSelect.js +86 -30
- package/esm/plugin/Form/UUID.js +3 -1
- package/esm/plugin/Grid.js +13 -8
- package/esm/plugin/HBox.js +10 -8
- package/esm/plugin/IFrame.js +3 -1
- package/esm/plugin/Icon.js +5 -3
- package/esm/plugin/Image.js +54 -31
- package/esm/plugin/Images.js +22 -10
- package/esm/plugin/Json.js +3 -1
- package/esm/plugin/Layout/FlexPluginBase.js +18 -16
- package/esm/plugin/Layout/Layout_fixed.js +3 -1
- package/esm/plugin/Layout/Layout_free_container.js +3 -1
- package/esm/plugin/Layout/Layout_sorption_container.js +3 -1
- package/esm/plugin/Link.js +17 -5
- package/esm/plugin/List.d.ts +5 -0
- package/esm/plugin/List.js +59 -23
- package/esm/plugin/List2.d.ts +545 -0
- package/esm/plugin/List2.js +380 -0
- package/esm/plugin/ListItem.js +4 -2
- package/esm/plugin/Log.js +6 -4
- package/esm/plugin/Mapping.js +3 -1
- package/esm/plugin/Markdown.js +3 -1
- package/esm/plugin/Nav.d.ts +2 -0
- package/esm/plugin/Nav.js +7 -3
- package/esm/plugin/OfficeViewer.js +3 -1
- package/esm/plugin/Operation.js +4 -3
- package/esm/plugin/Others/Action.js +7 -5
- package/esm/plugin/Others/TableCell.js +5 -3
- package/esm/plugin/Page.d.ts +1 -1
- package/esm/plugin/Page.js +66 -20
- package/esm/plugin/Pagination.d.ts +0 -1
- package/esm/plugin/Pagination.js +35 -19
- package/esm/plugin/Panel.js +4 -2
- package/esm/plugin/Plain.js +3 -1
- package/esm/plugin/Progress.js +37 -10
- package/esm/plugin/Property.js +3 -1
- package/esm/plugin/QRCode.js +3 -1
- package/esm/plugin/Reset.js +3 -1
- package/esm/plugin/SearchBox.d.ts +3 -1
- package/esm/plugin/SearchBox.js +14 -1
- package/esm/plugin/Service.d.ts +20 -13
- package/esm/plugin/Service.js +203 -94
- package/esm/plugin/Sparkline.d.ts +2 -1
- package/esm/plugin/Sparkline.js +32 -9
- package/esm/plugin/Status.js +3 -1
- package/esm/plugin/Steps.js +3 -1
- package/esm/plugin/Submit.js +3 -1
- package/esm/plugin/Table.d.ts +10 -1
- package/esm/plugin/Table.js +160 -107
- package/esm/plugin/Table2.d.ts +24 -10
- package/esm/plugin/Table2.js +668 -420
- package/esm/plugin/TableCell2.d.ts +14 -2
- package/esm/plugin/TableCell2.js +510 -365
- package/esm/plugin/TableView.d.ts +2 -1
- package/esm/plugin/TableView.js +3 -1
- package/esm/plugin/Tabs.d.ts +2 -1
- package/esm/plugin/Tabs.js +6 -4
- package/esm/plugin/Tag.js +10 -2
- package/esm/plugin/Tasks.js +3 -1
- package/esm/plugin/Time.js +3 -1
- package/esm/plugin/Timeline.d.ts +2 -1
- package/esm/plugin/Timeline.js +77 -4
- package/esm/plugin/TooltipWrapper.js +12 -9
- package/esm/plugin/Tpl.js +21 -3
- package/esm/plugin/Video.js +3 -1
- package/esm/plugin/WebComponent.js +3 -1
- package/esm/plugin/Wizard.js +7 -5
- package/esm/plugin/Wrapper.js +10 -8
- package/esm/plugin/index.d.ts +144 -0
- package/esm/renderer/APIAdaptorControl.d.ts +16 -2
- package/esm/renderer/APIAdaptorControl.js +33 -47
- package/esm/renderer/APIControl.d.ts +4 -4
- package/esm/renderer/APIControl.js +13 -3
- package/esm/renderer/ActionApiControl.d.ts +9 -3
- package/esm/renderer/BadgeControl.d.ts +7 -7
- package/esm/renderer/BadgeControl.js +8 -3
- package/esm/renderer/ButtonGroupControl.d.ts +1 -1
- package/esm/renderer/ButtonGroupControl.js +3 -1
- package/esm/renderer/ColumnControl.d.ts +1 -1
- package/esm/renderer/DataBindingControl.d.ts +3 -3
- package/esm/renderer/DataBindingControl.js +12 -6
- package/esm/renderer/DataMappingControl.js +3 -1
- package/esm/renderer/DataPickerControl.d.ts +1 -1
- package/esm/renderer/DataPickerControl.js +3 -1
- package/esm/renderer/DateShortCutControl.d.ts +3 -2
- package/esm/renderer/DateShortCutControl.js +10 -6
- package/esm/renderer/ExpressionFormulaControl.d.ts +1 -1
- package/esm/renderer/ExpressionFormulaControl.js +4 -2
- package/esm/renderer/FeatureControl.d.ts +18 -5
- package/esm/renderer/FeatureControl.js +74 -12
- package/esm/renderer/FieldSetting.d.ts +66 -0
- package/esm/renderer/FieldSetting.js +492 -0
- package/esm/renderer/FlexSettingControl.d.ts +1 -1
- package/esm/renderer/FlexSettingControl.js +4 -2
- package/esm/renderer/FormulaControl.d.ts +8 -3
- package/esm/renderer/FormulaControl.js +24 -7
- package/esm/renderer/FunctionEditorControl.d.ts +79 -0
- package/esm/renderer/FunctionEditorControl.js +107 -0
- package/esm/renderer/GoConfigControl.d.ts +1 -1
- package/esm/renderer/GoConfigControl.js +4 -2
- package/esm/renderer/InputRangeValueControl.d.ts +15 -0
- package/esm/renderer/InputRangeValueControl.js +121 -0
- package/esm/renderer/MapSourceControl.d.ts +3 -3
- package/esm/renderer/MapSourceControl.js +4 -2
- package/esm/renderer/NavBadgeControl.d.ts +7 -7
- package/esm/renderer/NavBadgeControl.js +3 -1
- package/esm/renderer/NavDefaultActive.js +3 -1
- package/esm/renderer/NavSourceControl.d.ts +53 -35
- package/esm/renderer/NavSourceControl.js +601 -230
- package/esm/renderer/OptionControl.d.ts +5 -3
- package/esm/renderer/OptionControl.js +37 -25
- package/esm/renderer/RangePartsControl.d.ts +5 -5
- package/esm/renderer/RangePartsControl.js +6 -4
- package/esm/renderer/StatusControl.d.ts +2 -2
- package/esm/renderer/StatusControl.js +19 -3
- package/esm/renderer/SwitchMoreControl.d.ts +12 -5
- package/esm/renderer/SwitchMoreControl.js +23 -8
- package/esm/renderer/TableColumnWidthControl.d.ts +29 -0
- package/esm/renderer/TableColumnWidthControl.js +177 -0
- package/esm/renderer/TimelineItemControl.d.ts +6 -6
- package/esm/renderer/TimelineItemControl.js +26 -7
- package/esm/renderer/TplFormulaControl.d.ts +1 -1
- package/esm/renderer/TplFormulaControl.js +3 -1
- package/esm/renderer/TransferTableControl.d.ts +3 -3
- package/esm/renderer/TransferTableControl.js +4 -2
- package/esm/renderer/TreeOptionControl.d.ts +4 -4
- package/esm/renderer/TreeOptionControl.js +15 -13
- package/esm/renderer/ValidationControl.d.ts +4 -4
- package/esm/renderer/ValidationControl.js +4 -2
- package/esm/renderer/ValidationItem.d.ts +3 -3
- package/esm/renderer/ValidationItem.js +3 -1
- package/esm/renderer/crud2-control/AddColumnModal.d.ts +6 -0
- package/esm/renderer/crud2-control/AddColumnModal.js +256 -0
- package/esm/renderer/crud2-control/CRUDColumnControl.d.ts +68 -0
- package/esm/renderer/crud2-control/CRUDColumnControl.js +473 -0
- package/esm/renderer/crud2-control/CRUDFiltersControl.d.ts +53 -0
- package/esm/renderer/crud2-control/CRUDFiltersControl.js +691 -0
- package/esm/renderer/crud2-control/CRUDToolbarControl.d.ts +49 -0
- package/esm/renderer/crud2-control/CRUDToolbarControl.js +417 -0
- package/esm/renderer/event-control/action-config-dialog.d.ts +1 -1
- package/esm/renderer/event-control/action-config-dialog.js +30 -4
- package/esm/renderer/event-control/action-config-panel.js +3 -1
- package/esm/renderer/event-control/comp-action-select.d.ts +1 -1
- package/esm/renderer/event-control/comp-action-select.js +3 -1
- package/esm/renderer/event-control/helper.d.ts +2 -1
- package/esm/renderer/event-control/helper.js +307 -206
- package/esm/renderer/event-control/index.d.ts +28 -19
- package/esm/renderer/event-control/index.js +115 -22
- package/esm/renderer/style-control/Background.d.ts +1 -1
- package/esm/renderer/style-control/Background.js +3 -1
- package/esm/renderer/style-control/Border.d.ts +2 -2
- package/esm/renderer/style-control/Border.js +10 -8
- package/esm/renderer/style-control/BoxModel.d.ts +2 -2
- package/esm/renderer/style-control/BoxModel.js +3 -1
- package/esm/renderer/style-control/BoxShadow.d.ts +2 -2
- package/esm/renderer/style-control/BoxShadow.js +3 -1
- package/esm/renderer/style-control/Display.d.ts +1 -1
- package/esm/renderer/style-control/Display.js +3 -1
- package/esm/renderer/style-control/Font.d.ts +1 -1
- package/esm/renderer/style-control/Font.js +3 -1
- package/esm/renderer/style-control/InsetBoxModel.d.ts +2 -2
- package/esm/renderer/style-control/InsetBoxModel.js +3 -1
- package/esm/renderer/style-control/ThemeCssCode.d.ts +1 -1
- package/esm/renderer/style-control/ThemeCssCode.js +134 -282
- package/esm/renderer/style-control/font-family.js +3 -1
- package/esm/renderer/style-control/helper.js +3 -1
- package/esm/renderer/style-control/transformation.js +3 -1
- package/esm/renderer/textarea-formula/FormulaPicker.js +5 -3
- package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +3 -1
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +77 -8
- package/esm/renderer/textarea-formula/plugin.js +5 -3
- package/esm/tpl/api.js +16 -11
- package/esm/tpl/common.js +60 -18
- package/esm/tpl/horizontal.js +4 -2
- package/esm/tpl/layout.js +16 -10
- package/esm/tpl/options.d.ts +10 -1
- package/esm/tpl/options.js +251 -11
- package/esm/tpl/remark.js +3 -1
- package/esm/tpl/style.js +99 -60
- package/esm/tpl/validations.js +3 -1
- package/esm/util.d.ts +14 -0
- package/esm/util.js +39 -3
- package/esm/validator.js +7 -5
- package/lib/builder/ApiDSBuilder.d.ts +491 -0
- package/lib/builder/ApiDSBuilder.js +1226 -0
- package/lib/builder/DSBuilder.d.ts +171 -0
- package/lib/builder/DSBuilder.js +55 -0
- package/lib/builder/DSBuilderManager.d.ts +62 -0
- package/lib/builder/DSBuilderManager.js +211 -0
- package/lib/builder/constants.d.ts +97 -0
- package/lib/builder/constants.js +144 -0
- package/lib/builder/index.d.ts +6 -0
- package/lib/builder/type.d.ts +96 -0
- package/lib/builder/utils.d.ts +10 -0
- package/lib/builder/utils.js +104 -0
- package/lib/component/BaseControl.js +5 -3
- package/lib/component/InputComponentName.js +3 -1
- package/lib/component/TableViewEditor.d.ts +2 -2
- package/lib/component/TableViewEditor.js +4 -2
- package/lib/icons/btn/btn-group.svg.js +3 -1
- package/lib/icons/btn/btn-select.svg.js +3 -1
- package/lib/icons/btn/btn-toolbar.svg.js +3 -1
- package/lib/icons/btn/button.svg.js +3 -1
- package/lib/icons/btn/dropdown-btn.svg.js +3 -1
- package/lib/icons/container/anchor-nav.svg.js +3 -1
- package/lib/icons/container/collapse.svg.js +3 -1
- package/lib/icons/container/container.svg.js +3 -1
- package/lib/icons/container/flex-container.svg.js +3 -1
- package/lib/icons/container/form-group.svg.js +3 -1
- package/lib/icons/container/grid.svg.js +3 -1
- package/lib/icons/container/iframe.svg.js +3 -1
- package/lib/icons/container/panel.svg.js +3 -1
- package/lib/icons/container/table-view.svg.js +3 -1
- package/lib/icons/container/tabs.svg.js +3 -1
- package/lib/icons/container/tooltip-wrapper.svg.js +3 -1
- package/lib/icons/container/web-component.svg.js +3 -1
- package/lib/icons/crud/column-add.svg.js +50 -0
- package/lib/icons/crud/column-delete.svg.js +48 -0
- package/lib/icons/crud/column-setting.svg.js +48 -0
- package/lib/icons/crud/share-link.svg.js +46 -0
- package/lib/icons/display/aBaseline.svg.js +19 -16
- package/lib/icons/display/aCenter.svg.js +19 -16
- package/lib/icons/display/aFlexEnd.svg.js +19 -16
- package/lib/icons/display/aFlexStart.svg.js +19 -16
- package/lib/icons/display/aStretch.svg.js +19 -16
- package/lib/icons/display/block.svg.js +19 -16
- package/lib/icons/display/dcolumn.svg.js +19 -16
- package/lib/icons/display/dcolumnReverse.svg.js +19 -16
- package/lib/icons/display/drow.svg.js +19 -16
- package/lib/icons/display/drowReverse.svg.js +19 -16
- package/lib/icons/display/flex.svg.js +19 -16
- package/lib/icons/display/inline-block.svg.js +19 -16
- package/lib/icons/display/inline.svg.js +19 -16
- package/lib/icons/display/jCenter.svg.js +19 -16
- package/lib/icons/display/jFlexEnd.svg.js +19 -16
- package/lib/icons/display/jFlexStart.svg.js +19 -16
- package/lib/icons/display/jSpaceAround.svg.js +19 -16
- package/lib/icons/display/jSpaceBetween.svg.js +19 -16
- package/lib/icons/feat/audio.svg.js +3 -1
- package/lib/icons/feat/custom.svg.js +3 -1
- package/lib/icons/feat/each.svg.js +3 -1
- package/lib/icons/feat/form.svg.js +3 -1
- package/lib/icons/feat/nav.svg.js +3 -1
- package/lib/icons/feat/qrcode.svg.js +3 -1
- package/lib/icons/feat/service.svg.js +3 -1
- package/lib/icons/feat/table.svg.js +3 -1
- package/lib/icons/feat/tasks.svg.js +3 -1
- package/lib/icons/feat/video.svg.js +3 -1
- package/lib/icons/feat/wizard.svg.js +3 -1
- package/lib/icons/form/chained-select.svg.js +3 -1
- package/lib/icons/form/checkbox.svg.js +3 -1
- package/lib/icons/form/checkboxes.svg.js +3 -1
- package/lib/icons/form/combo.svg.js +3 -1
- package/lib/icons/form/condition-builder.svg.js +3 -1
- package/lib/icons/form/diff-editor.svg.js +3 -1
- package/lib/icons/form/editor.svg.js +3 -1
- package/lib/icons/form/formula.svg.js +3 -1
- package/lib/icons/form/hidden.svg.js +3 -1
- package/lib/icons/form/input-city.svg.js +3 -1
- package/lib/icons/form/input-color.svg.js +3 -1
- package/lib/icons/form/input-date-range.svg.js +3 -1
- package/lib/icons/form/input-date.svg.js +3 -1
- package/lib/icons/form/input-datetime.svg.js +3 -1
- package/lib/icons/form/input-email.svg.js +3 -1
- package/lib/icons/form/input-excel.svg.js +3 -1
- package/lib/icons/form/input-file.svg.js +3 -1
- package/lib/icons/form/input-group.svg.js +3 -1
- package/lib/icons/form/input-image.svg.js +3 -1
- package/lib/icons/form/input-kv.svg.js +3 -1
- package/lib/icons/form/input-month-range.svg.js +3 -1
- package/lib/icons/form/input-number.svg.js +3 -1
- package/lib/icons/form/input-password.svg.js +3 -1
- package/lib/icons/form/input-quarter-range.svg.js +3 -1
- package/lib/icons/form/input-range.svg.js +3 -1
- package/lib/icons/form/input-rating.svg.js +3 -1
- package/lib/icons/form/input-repeat.svg.js +3 -1
- package/lib/icons/form/input-rich-text.svg.js +3 -1
- package/lib/icons/form/input-tag.svg.js +3 -1
- package/lib/icons/form/input-text.svg.js +3 -1
- package/lib/icons/form/input-time-range.svg.js +3 -1
- package/lib/icons/form/input-time.svg.js +3 -1
- package/lib/icons/form/input-tree.svg.js +3 -1
- package/lib/icons/form/input-url.svg.js +3 -1
- package/lib/icons/form/input-year.svg.js +3 -1
- package/lib/icons/form/inputArray.svg.js +3 -1
- package/lib/icons/form/list-select.svg.js +3 -1
- package/lib/icons/form/location-picker.svg.js +3 -1
- package/lib/icons/form/matrix-checkboxes.svg.js +3 -1
- package/lib/icons/form/month.svg.js +3 -1
- package/lib/icons/form/nested-select.svg.js +3 -1
- package/lib/icons/form/picker.svg.js +3 -1
- package/lib/icons/form/quarter.svg.js +3 -1
- package/lib/icons/form/radios.svg.js +3 -1
- package/lib/icons/form/select.svg.js +3 -1
- package/lib/icons/form/static.svg.js +3 -1
- package/lib/icons/form/sub-form.svg.js +3 -1
- package/lib/icons/form/switch.svg.js +3 -1
- package/lib/icons/form/tabs-transfer.svg.js +3 -1
- package/lib/icons/form/textarea.svg.js +3 -1
- package/lib/icons/form/transfer.svg.js +3 -1
- package/lib/icons/form/tree-select.svg.js +3 -1
- package/lib/icons/form/uuid.svg.js +3 -1
- package/lib/icons/index.js +12 -1
- package/lib/icons/layout/layout-1with2.svg.js +3 -1
- package/lib/icons/layout/layout-2cols.svg.js +3 -1
- package/lib/icons/layout/layout-2row.svg.js +3 -1
- package/lib/icons/layout/layout-2with1.svg.js +3 -1
- package/lib/icons/layout/layout-3cols.svg.js +3 -1
- package/lib/icons/layout/layout-3row.svg.js +3 -1
- package/lib/icons/layout/layout-absolute.svg.js +3 -1
- package/lib/icons/layout/layout-fixed-top.svg.js +3 -1
- package/lib/icons/layout/layout-fixed.svg.js +3 -1
- package/lib/icons/layout/layout-free-container.svg.js +3 -1
- package/lib/icons/layout/layout-full.svg.js +3 -1
- package/lib/icons/layout/layout1-2.svg.js +3 -1
- package/lib/icons/layout/layout2-1.svg.js +3 -1
- package/lib/icons/layout/layout3-1.svg.js +3 -1
- package/lib/icons/layout/layout3-2.svg.js +3 -1
- package/lib/icons/other/_fx.svg.js +3 -1
- package/lib/icons/other/divider.svg.js +3 -1
- package/lib/icons/other/fx.svg.js +3 -1
- package/lib/icons/other/property-sheet.svg.js +3 -1
- package/lib/icons/other/tooltip.svg.js +3 -1
- package/lib/icons/show/URL.svg.js +3 -1
- package/lib/icons/show/avatar.svg.js +3 -1
- package/lib/icons/show/breadcrumb.svg.js +3 -1
- package/lib/icons/show/card.svg.js +3 -1
- package/lib/icons/show/cards.svg.js +3 -1
- package/lib/icons/show/carousel.svg.js +3 -1
- package/lib/icons/show/chart.svg.js +3 -1
- package/lib/icons/show/code.svg.js +3 -1
- package/lib/icons/show/date.svg.js +3 -1
- package/lib/icons/show/datetime.svg.js +3 -1
- package/lib/icons/show/image.svg.js +3 -1
- package/lib/icons/show/images.svg.js +3 -1
- package/lib/icons/show/json-view.svg.js +3 -1
- package/lib/icons/show/list.svg.js +3 -1
- package/lib/icons/show/log.svg.js +3 -1
- package/lib/icons/show/mapping.svg.js +3 -1
- package/lib/icons/show/markdown.svg.js +3 -1
- package/lib/icons/show/plain.svg.js +3 -1
- package/lib/icons/show/progress.svg.js +3 -1
- package/lib/icons/show/sparkline.svg.js +3 -1
- package/lib/icons/show/status.svg.js +3 -1
- package/lib/icons/show/steps.svg.js +3 -1
- package/lib/icons/show/time.svg.js +3 -1
- package/lib/icons/theme/css.svg.js +3 -1
- package/lib/index.d.ts +9 -145
- package/lib/index.js +322 -139
- package/lib/locale/en-US.js +307 -2
- package/lib/locale/zh-CN.js +315 -4
- package/lib/plugin/Alert.js +3 -1
- package/lib/plugin/AnchorNav.js +5 -3
- package/lib/plugin/Audio.js +3 -1
- package/lib/plugin/Avatar.js +3 -1
- package/lib/plugin/Breadcrumb.js +3 -1
- package/lib/plugin/Button.js +5 -3
- package/lib/plugin/ButtonGroup.js +3 -1
- package/lib/plugin/CRUD.d.ts +4 -3
- package/lib/plugin/CRUD.js +29 -23
- package/lib/plugin/CRUD2/BaseCRUD.d.ts +233 -0
- package/lib/plugin/CRUD2/BaseCRUD.js +1060 -0
- package/lib/plugin/CRUD2/CRUDCards.d.ts +53 -0
- package/lib/plugin/CRUD2/CRUDList.d.ts +53 -0
- package/lib/plugin/CRUD2/CRUDTable.d.ts +21 -0
- package/lib/plugin/CRUD2/CRUDTable.js +52 -0
- package/lib/plugin/CRUD2/constants.d.ts +32 -0
- package/lib/plugin/CRUD2/constants.js +81 -0
- package/lib/plugin/CRUD2/utils.d.ts +8 -0
- package/lib/plugin/CRUD2/utils.js +103 -0
- package/lib/plugin/Card.js +10 -4
- package/lib/plugin/Card2.js +3 -1
- package/lib/plugin/Cards.d.ts +547 -41
- package/lib/plugin/Cards.js +365 -171
- package/lib/plugin/Carousel.js +122 -97
- package/lib/plugin/Chart.d.ts +3 -0
- package/lib/plugin/Chart.js +145 -89
- package/lib/plugin/CodeView.js +3 -1
- package/lib/plugin/Collapse.d.ts +2 -1
- package/lib/plugin/Collapse.js +56 -8
- package/lib/plugin/CollapseGroup.js +14 -13
- package/lib/plugin/ColumnToggler.d.ts +11 -6
- package/lib/plugin/ColumnToggler.js +72 -9
- package/lib/plugin/Container.d.ts +4 -1
- package/lib/plugin/Container.js +79 -9
- package/lib/plugin/Custom.js +5 -3
- package/lib/plugin/CustomRegion.js +5 -2
- package/lib/plugin/Date.js +3 -1
- package/lib/plugin/Datetime.js +3 -1
- package/lib/plugin/Dialog.d.ts +26 -3
- package/lib/plugin/Dialog.js +215 -20
- package/lib/plugin/Divider.js +72 -6
- package/lib/plugin/Drawer.d.ts +7 -1
- package/lib/plugin/Drawer.js +136 -42
- package/lib/plugin/DropDownButton.js +4 -2
- package/lib/plugin/Each.d.ts +226 -11
- package/lib/plugin/Each.js +234 -89
- package/lib/plugin/Flex.js +3 -1
- package/lib/plugin/Form/ButtonGroupSelect.d.ts +2 -0
- package/lib/plugin/Form/ButtonGroupSelect.js +52 -2
- package/lib/plugin/Form/ButtonToolbar.js +3 -1
- package/lib/plugin/Form/ChainedSelect.d.ts +2 -0
- package/lib/plugin/Form/ChainedSelect.js +43 -3
- package/lib/plugin/Form/Checkbox.d.ts +6 -0
- package/lib/plugin/Form/Checkbox.js +65 -12
- package/lib/plugin/Form/Checkboxes.d.ts +2 -0
- package/lib/plugin/Form/Checkboxes.js +66 -22
- package/lib/plugin/Form/CodeEditor.js +3 -1
- package/lib/plugin/Form/Combo.d.ts +4 -2
- package/lib/plugin/Form/Combo.js +78 -5
- package/lib/plugin/Form/ConditionBuilder.js +9 -4
- package/lib/plugin/Form/Control.js +5 -3
- package/lib/plugin/Form/DiffEditor.js +3 -1
- package/lib/plugin/Form/FieldSet.js +4 -2
- package/lib/plugin/Form/Form.d.ts +37 -8
- package/lib/plugin/Form/Form.js +633 -489
- package/lib/plugin/Form/Formula.js +3 -1
- package/lib/plugin/Form/Group.js +5 -3
- package/lib/plugin/Form/Hidden.js +3 -1
- package/lib/plugin/Form/InputArray.js +4 -2
- package/lib/plugin/Form/InputCity.d.ts +2 -0
- package/lib/plugin/Form/InputCity.js +56 -2
- package/lib/plugin/Form/InputColor.js +3 -1
- package/lib/plugin/Form/InputDate.js +29 -43
- package/lib/plugin/Form/InputDateRange.js +42 -31
- package/lib/plugin/Form/InputDateTime.js +3 -1
- package/lib/plugin/Form/InputDateTimeRange.js +3 -1
- package/lib/plugin/Form/InputEmail.js +3 -1
- package/lib/plugin/Form/InputExcel.js +3 -1
- package/lib/plugin/Form/InputFile.js +8 -2
- package/lib/plugin/Form/InputGroup.d.ts +1 -0
- package/lib/plugin/Form/InputGroup.js +3 -1
- package/lib/plugin/Form/InputImage.js +12 -6
- package/lib/plugin/Form/InputKV.js +3 -1
- package/lib/plugin/Form/InputMonth.js +3 -1
- package/lib/plugin/Form/InputMonthRange.js +3 -1
- package/lib/plugin/Form/InputNumber.d.ts +6 -1
- package/lib/plugin/Form/InputNumber.js +12 -1
- package/lib/plugin/Form/InputPassword.js +3 -1
- package/lib/plugin/Form/InputQuarter.js +3 -1
- package/lib/plugin/Form/InputQuarterRange.js +3 -1
- package/lib/plugin/Form/InputRange.d.ts +21 -1
- package/lib/plugin/Form/InputRange.js +50 -35
- package/lib/plugin/Form/InputRating.d.ts +6 -0
- package/lib/plugin/Form/InputRating.js +12 -1
- package/lib/plugin/Form/InputRepeat.js +3 -1
- package/lib/plugin/Form/InputRichText.js +3 -1
- package/lib/plugin/Form/InputSubForm.js +5 -3
- package/lib/plugin/Form/InputTable.d.ts +4 -3
- package/lib/plugin/Form/InputTable.js +82 -61
- package/lib/plugin/Form/InputTag.d.ts +6 -1
- package/lib/plugin/Form/InputTag.js +54 -4
- package/lib/plugin/Form/InputText.d.ts +2 -0
- package/lib/plugin/Form/InputText.js +51 -1
- package/lib/plugin/Form/InputTime.js +3 -1
- package/lib/plugin/Form/InputTimeRange.js +3 -1
- package/lib/plugin/Form/InputTree.d.ts +2 -1
- package/lib/plugin/Form/InputTree.js +98 -35
- package/lib/plugin/Form/InputURL.js +3 -1
- package/lib/plugin/Form/InputYear.js +3 -1
- package/lib/plugin/Form/InputYearRange.js +3 -1
- package/lib/plugin/Form/Item.js +20 -15
- package/lib/plugin/Form/ListSelect.d.ts +2 -0
- package/lib/plugin/Form/ListSelect.js +52 -2
- package/lib/plugin/Form/LocationPicker.d.ts +28 -0
- package/lib/plugin/Form/LocationPicker.js +34 -1
- package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -2
- package/lib/plugin/Form/MatrixCheckboxes.js +32 -6
- package/lib/plugin/Form/NestedSelect.d.ts +2 -1
- package/lib/plugin/Form/NestedSelect.js +52 -2
- package/lib/plugin/Form/Picker.d.ts +2 -1
- package/lib/plugin/Form/Picker.js +51 -3
- package/lib/plugin/Form/Radios.d.ts +2 -0
- package/lib/plugin/Form/Radios.js +33 -2
- package/lib/plugin/Form/Select.d.ts +9 -7
- package/lib/plugin/Form/Select.js +68 -51
- package/lib/plugin/Form/Static.js +5 -3
- package/lib/plugin/Form/Switch.d.ts +6 -1
- package/lib/plugin/Form/Switch.js +13 -1
- package/lib/plugin/Form/TabsTransfer.d.ts +4 -3
- package/lib/plugin/Form/TabsTransfer.js +80 -27
- package/lib/plugin/Form/Textarea.js +3 -1
- package/lib/plugin/Form/Transfer.d.ts +2 -0
- package/lib/plugin/Form/Transfer.js +46 -5
- package/lib/plugin/Form/TreeSelect.d.ts +2 -1
- package/lib/plugin/Form/TreeSelect.js +86 -30
- package/lib/plugin/Form/UUID.js +3 -1
- package/lib/plugin/Grid.js +13 -8
- package/lib/plugin/HBox.js +10 -8
- package/lib/plugin/IFrame.js +3 -1
- package/lib/plugin/Icon.js +5 -3
- package/lib/plugin/Image.js +54 -31
- package/lib/plugin/Images.js +22 -10
- package/lib/plugin/Json.js +3 -1
- package/lib/plugin/Layout/FlexPluginBase.js +18 -16
- package/lib/plugin/Layout/Layout_fixed.js +3 -1
- package/lib/plugin/Layout/Layout_free_container.js +3 -1
- package/lib/plugin/Layout/Layout_sorption_container.js +3 -1
- package/lib/plugin/Link.js +17 -5
- package/lib/plugin/List.d.ts +5 -0
- package/lib/plugin/List.js +58 -21
- package/lib/plugin/List2.d.ts +545 -0
- package/lib/plugin/List2.js +388 -0
- package/lib/plugin/ListItem.js +4 -2
- package/lib/plugin/Log.js +6 -4
- package/lib/plugin/Mapping.js +3 -1
- package/lib/plugin/Markdown.js +3 -1
- package/lib/plugin/Nav.d.ts +2 -0
- package/lib/plugin/Nav.js +7 -3
- package/lib/plugin/OfficeViewer.js +3 -1
- package/lib/plugin/Operation.js +4 -3
- package/lib/plugin/Others/Action.js +7 -5
- package/lib/plugin/Others/TableCell.js +5 -3
- package/lib/plugin/Page.d.ts +1 -1
- package/lib/plugin/Page.js +65 -23
- package/lib/plugin/Pagination.d.ts +0 -1
- package/lib/plugin/Pagination.js +38 -18
- package/lib/plugin/Panel.js +4 -2
- package/lib/plugin/Plain.js +3 -1
- package/lib/plugin/Progress.js +37 -10
- package/lib/plugin/Property.js +3 -1
- package/lib/plugin/QRCode.js +3 -1
- package/lib/plugin/Reset.js +3 -1
- package/lib/plugin/SearchBox.d.ts +3 -1
- package/lib/plugin/SearchBox.js +14 -1
- package/lib/plugin/Service.d.ts +20 -13
- package/lib/plugin/Service.js +201 -92
- package/lib/plugin/Sparkline.d.ts +2 -1
- package/lib/plugin/Sparkline.js +31 -8
- package/lib/plugin/Status.js +3 -1
- package/lib/plugin/Steps.js +3 -1
- package/lib/plugin/Submit.js +3 -1
- package/lib/plugin/Table.d.ts +10 -1
- package/lib/plugin/Table.js +159 -106
- package/lib/plugin/Table2.d.ts +24 -10
- package/lib/plugin/Table2.js +672 -418
- package/lib/plugin/TableCell2.d.ts +14 -2
- package/lib/plugin/TableCell2.js +509 -362
- package/lib/plugin/TableView.d.ts +2 -1
- package/lib/plugin/TableView.js +3 -1
- package/lib/plugin/Tabs.d.ts +2 -1
- package/lib/plugin/Tabs.js +6 -4
- package/lib/plugin/Tag.js +10 -2
- package/lib/plugin/Tasks.js +3 -1
- package/lib/plugin/Time.js +3 -1
- package/lib/plugin/Timeline.d.ts +2 -1
- package/lib/plugin/Timeline.js +76 -3
- package/lib/plugin/TooltipWrapper.js +12 -9
- package/lib/plugin/Tpl.js +21 -3
- package/lib/plugin/Video.js +3 -1
- package/lib/plugin/WebComponent.js +3 -1
- package/lib/plugin/Wizard.js +7 -5
- package/lib/plugin/Wrapper.js +10 -8
- package/lib/plugin/index.d.ts +144 -0
- package/lib/renderer/APIAdaptorControl.d.ts +16 -2
- package/lib/renderer/APIAdaptorControl.js +34 -46
- package/lib/renderer/APIControl.d.ts +4 -4
- package/lib/renderer/APIControl.js +13 -3
- package/lib/renderer/ActionApiControl.d.ts +9 -3
- package/lib/renderer/BadgeControl.d.ts +9 -9
- package/lib/renderer/BadgeControl.js +8 -3
- package/lib/renderer/ButtonGroupControl.d.ts +1 -1
- package/lib/renderer/ButtonGroupControl.js +3 -1
- package/lib/renderer/ColumnControl.d.ts +1 -1
- package/lib/renderer/DataBindingControl.d.ts +3 -3
- package/lib/renderer/DataBindingControl.js +13 -6
- package/lib/renderer/DataMappingControl.js +3 -1
- package/lib/renderer/DataPickerControl.d.ts +1 -1
- package/lib/renderer/DataPickerControl.js +3 -1
- package/lib/renderer/DateShortCutControl.d.ts +3 -2
- package/lib/renderer/DateShortCutControl.js +10 -6
- package/lib/renderer/ExpressionFormulaControl.d.ts +1 -1
- package/lib/renderer/ExpressionFormulaControl.js +4 -2
- package/lib/renderer/FeatureControl.d.ts +18 -5
- package/lib/renderer/FeatureControl.js +81 -16
- package/lib/renderer/FieldSetting.d.ts +66 -0
- package/lib/renderer/FieldSetting.js +503 -0
- package/lib/renderer/FlexSettingControl.d.ts +1 -1
- package/lib/renderer/FlexSettingControl.js +4 -2
- package/lib/renderer/FormulaControl.d.ts +8 -3
- package/lib/renderer/FormulaControl.js +23 -6
- package/lib/renderer/FunctionEditorControl.d.ts +79 -0
- package/lib/renderer/FunctionEditorControl.js +115 -0
- package/lib/renderer/GoConfigControl.d.ts +1 -1
- package/lib/renderer/GoConfigControl.js +4 -2
- package/lib/renderer/InputRangeValueControl.d.ts +15 -0
- package/lib/renderer/InputRangeValueControl.js +127 -0
- package/lib/renderer/MapSourceControl.d.ts +3 -3
- package/lib/renderer/MapSourceControl.js +4 -2
- package/lib/renderer/NavBadgeControl.d.ts +7 -7
- package/lib/renderer/NavBadgeControl.js +3 -1
- package/lib/renderer/NavDefaultActive.js +3 -1
- package/lib/renderer/NavSourceControl.d.ts +53 -35
- package/lib/renderer/NavSourceControl.js +600 -227
- package/lib/renderer/OptionControl.d.ts +5 -3
- package/lib/renderer/OptionControl.js +37 -25
- package/lib/renderer/RangePartsControl.d.ts +5 -5
- package/lib/renderer/RangePartsControl.js +6 -4
- package/lib/renderer/StatusControl.d.ts +2 -2
- package/lib/renderer/StatusControl.js +19 -3
- package/lib/renderer/SwitchMoreControl.d.ts +12 -5
- package/lib/renderer/SwitchMoreControl.js +26 -9
- package/lib/renderer/TableColumnWidthControl.d.ts +29 -0
- package/lib/renderer/TableColumnWidthControl.js +186 -0
- package/lib/renderer/TimelineItemControl.d.ts +6 -6
- package/lib/renderer/TimelineItemControl.js +26 -7
- package/lib/renderer/TplFormulaControl.d.ts +1 -1
- package/lib/renderer/TplFormulaControl.js +3 -1
- package/lib/renderer/TransferTableControl.d.ts +3 -3
- package/lib/renderer/TransferTableControl.js +4 -2
- package/lib/renderer/TreeOptionControl.d.ts +4 -4
- package/lib/renderer/TreeOptionControl.js +15 -13
- package/lib/renderer/ValidationControl.d.ts +4 -4
- package/lib/renderer/ValidationControl.js +4 -2
- package/lib/renderer/ValidationItem.d.ts +3 -3
- package/lib/renderer/ValidationItem.js +3 -1
- package/lib/renderer/crud2-control/AddColumnModal.d.ts +6 -0
- package/lib/renderer/crud2-control/AddColumnModal.js +265 -0
- package/lib/renderer/crud2-control/CRUDColumnControl.d.ts +68 -0
- package/lib/renderer/crud2-control/CRUDColumnControl.js +482 -0
- package/lib/renderer/crud2-control/CRUDFiltersControl.d.ts +53 -0
- package/lib/renderer/crud2-control/CRUDFiltersControl.js +701 -0
- package/lib/renderer/crud2-control/CRUDToolbarControl.d.ts +49 -0
- package/lib/renderer/crud2-control/CRUDToolbarControl.js +426 -0
- package/lib/renderer/event-control/action-config-dialog.d.ts +1 -1
- package/lib/renderer/event-control/action-config-dialog.js +29 -3
- package/lib/renderer/event-control/action-config-panel.js +3 -1
- package/lib/renderer/event-control/comp-action-select.d.ts +1 -1
- package/lib/renderer/event-control/comp-action-select.js +3 -1
- package/lib/renderer/event-control/helper.d.ts +2 -1
- package/lib/renderer/event-control/helper.js +305 -204
- package/lib/renderer/event-control/index.d.ts +28 -19
- package/lib/renderer/event-control/index.js +115 -22
- package/lib/renderer/style-control/Background.d.ts +1 -1
- package/lib/renderer/style-control/Background.js +3 -1
- package/lib/renderer/style-control/Border.d.ts +2 -2
- package/lib/renderer/style-control/Border.js +10 -8
- package/lib/renderer/style-control/BoxModel.d.ts +2 -2
- package/lib/renderer/style-control/BoxModel.js +3 -1
- package/lib/renderer/style-control/BoxShadow.d.ts +2 -2
- package/lib/renderer/style-control/BoxShadow.js +3 -1
- package/lib/renderer/style-control/Display.d.ts +1 -1
- package/lib/renderer/style-control/Display.js +3 -1
- package/lib/renderer/style-control/Font.d.ts +1 -1
- package/lib/renderer/style-control/Font.js +3 -1
- package/lib/renderer/style-control/InsetBoxModel.d.ts +2 -2
- package/lib/renderer/style-control/InsetBoxModel.js +3 -1
- package/lib/renderer/style-control/ThemeCssCode.d.ts +1 -1
- package/lib/renderer/style-control/ThemeCssCode.js +136 -282
- package/lib/renderer/style-control/font-family.js +3 -1
- package/lib/renderer/style-control/helper.js +3 -1
- package/lib/renderer/style-control/transformation.js +3 -1
- package/lib/renderer/textarea-formula/FormulaPicker.js +5 -3
- package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +3 -1
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +76 -7
- package/lib/renderer/textarea-formula/plugin.js +5 -3
- package/lib/tpl/api.js +19 -13
- package/lib/tpl/common.js +63 -18
- package/lib/tpl/horizontal.js +9 -3
- package/lib/tpl/layout.js +17 -10
- package/lib/tpl/options.d.ts +10 -1
- package/lib/tpl/options.js +251 -10
- package/lib/tpl/remark.js +3 -1
- package/lib/tpl/style.js +99 -60
- package/lib/tpl/validations.js +3 -1
- package/lib/util.d.ts +14 -0
- package/lib/util.js +39 -1
- package/lib/validator.js +7 -5
- package/package.json +2 -1
- package/esm/plugin/CRUD2.d.ts +0 -78
- package/esm/plugin/CRUD2.js +0 -1553
- package/esm/renderer/style-control/themeLanguage.d.ts +0 -1
- package/esm/renderer/style-control/themeLanguage.js +0 -1894
- package/lib/plugin/CRUD2.d.ts +0 -78
- package/lib/plugin/CRUD2.js +0 -1565
- package/lib/renderer/style-control/themeLanguage.d.ts +0 -1
- package/lib/renderer/style-control/themeLanguage.js +0 -1898
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -187,6 +188,16 @@ var SwitchControlPlugin = /** @class */function (_super) {
|
|
187
188
|
};
|
188
189
|
return _this;
|
189
190
|
}
|
191
|
+
SwitchControlPlugin.prototype.buildDataSchemas = function (node, region) {
|
192
|
+
var _a, _b, _c, _d, _e;
|
193
|
+
// 默认trueValue和falseValue是同类型
|
194
|
+
return {
|
195
|
+
type: ((_a = node.schema) === null || _a === void 0 ? void 0 : _a.trueValue) ? typeof ((_b = node.schema) === null || _b === void 0 ? void 0 : _b.trueValue) : 'boolean',
|
196
|
+
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
197
|
+
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
198
|
+
};
|
199
|
+
};
|
200
|
+
|
190
201
|
SwitchControlPlugin.id = 'SwitchControlPlugin';
|
191
202
|
SwitchControlPlugin.scene = ['layout'];
|
192
203
|
return SwitchControlPlugin;
|
@@ -194,3 +205,4 @@ var SwitchControlPlugin = /** @class */function (_super) {
|
|
194
205
|
amisEditorCore.registerEditorPlugin(SwitchControlPlugin);
|
195
206
|
|
196
207
|
exports.SwitchControlPlugin = SwitchControlPlugin;
|
208
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EditorNodeType } from 'amis-editor-core';
|
1
2
|
import { BasePlugin } from 'amis-editor-core';
|
2
3
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
4
|
export declare class TabsTransferPlugin extends BasePlugin {
|
@@ -15,13 +16,12 @@ export declare class TabsTransferPlugin extends BasePlugin {
|
|
15
16
|
label: string;
|
16
17
|
type: string;
|
17
18
|
name: string;
|
18
|
-
|
19
|
-
searchable: boolean;
|
19
|
+
selectMode: string;
|
20
20
|
options: {
|
21
21
|
label: string;
|
22
|
-
selectMode: string;
|
23
22
|
children: {
|
24
23
|
label: string;
|
24
|
+
value: string;
|
25
25
|
children: {
|
26
26
|
label: string;
|
27
27
|
value: string;
|
@@ -67,4 +67,5 @@ export declare class TabsTransferPlugin extends BasePlugin {
|
|
67
67
|
};
|
68
68
|
};
|
69
69
|
panelBodyCreator: (context: BaseEventContext) => any;
|
70
|
+
buildDataSchemas(node: EditorNodeType, region: EditorNodeType): any;
|
70
71
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -11,6 +12,7 @@ var tslib = require('tslib');
|
|
11
12
|
var React = require('react');
|
12
13
|
var amisEditorCore = require('amis-editor-core');
|
13
14
|
var helper = require('../../renderer/event-control/helper.js');
|
15
|
+
var util = require('../../util.js');
|
14
16
|
var i18nRuntime = require('i18n-runtime');
|
15
17
|
|
16
18
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -35,20 +37,20 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
35
37
|
_this.scaffold = {
|
36
38
|
label: i18nRuntime.i18n("617a63f1b19b5aad029f973479bac917"),
|
37
39
|
type: 'tabs-transfer',
|
38
|
-
name: '
|
39
|
-
|
40
|
-
searchable: true,
|
40
|
+
name: 'tabsTransfer',
|
41
|
+
selectMode: 'tree',
|
41
42
|
options: [{
|
42
43
|
label: i18nRuntime.i18n("ab5dea29793d933fa7b5487a7309df6a"),
|
43
|
-
selectMode: 'tree',
|
44
44
|
children: [{
|
45
45
|
label: i18nRuntime.i18n("71f8043aefd52572b172e7d1fbd5af57"),
|
46
|
+
value: 'fashi',
|
46
47
|
children: [{
|
47
48
|
label: i18nRuntime.i18n("fda93c79275b812a6c1c189fbebf8b08"),
|
48
49
|
value: 'zhugeliang'
|
49
50
|
}]
|
50
51
|
}, {
|
51
52
|
label: i18nRuntime.i18n("573cb0d34bd1cdc7b368c59db9b7bb7d"),
|
53
|
+
value: 'zhanshi',
|
52
54
|
children: [{
|
53
55
|
label: i18nRuntime.i18n("e37a86d1a1dbed0cd53c95582977f075"),
|
54
56
|
value: 'caocao'
|
@@ -58,6 +60,7 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
58
60
|
}]
|
59
61
|
}, {
|
60
62
|
label: i18nRuntime.i18n("c0db8e7b42528eeae96310c6629e53b3"),
|
63
|
+
value: 'daye',
|
61
64
|
children: [{
|
62
65
|
label: i18nRuntime.i18n("293040fc607f40caf6d6e16042012182"),
|
63
66
|
value: 'libai'
|
@@ -71,15 +74,16 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
71
74
|
}]
|
72
75
|
}, {
|
73
76
|
label: i18nRuntime.i18n("1fd02a90c38333badc226309fea6fecb"),
|
74
|
-
selectMode: 'chained',
|
75
77
|
children: [{
|
76
78
|
label: i18nRuntime.i18n("71f8043aefd52572b172e7d1fbd5af57"),
|
79
|
+
value: 'fashi2',
|
77
80
|
children: [{
|
78
81
|
label: i18nRuntime.i18n("fda93c79275b812a6c1c189fbebf8b08"),
|
79
82
|
value: 'zhugeliang2'
|
80
83
|
}]
|
81
84
|
}, {
|
82
85
|
label: i18nRuntime.i18n("573cb0d34bd1cdc7b368c59db9b7bb7d"),
|
86
|
+
value: 'zhanshi2',
|
83
87
|
children: [{
|
84
88
|
label: i18nRuntime.i18n("e37a86d1a1dbed0cd53c95582977f075"),
|
85
89
|
value: 'caocao2'
|
@@ -89,6 +93,7 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
89
93
|
}]
|
90
94
|
}, {
|
91
95
|
label: i18nRuntime.i18n("c0db8e7b42528eeae96310c6629e53b3"),
|
96
|
+
value: 'daye2',
|
92
97
|
children: [{
|
93
98
|
label: i18nRuntime.i18n("293040fc607f40caf6d6e16042012182"),
|
94
99
|
value: 'libai2'
|
@@ -169,7 +174,7 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
169
174
|
descDetail: function (info) {
|
170
175
|
return React__default["default"].createElement("div", null, React__default["default"].createElement("span", {
|
171
176
|
className: "variable-right"
|
172
|
-
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), "
|
177
|
+
}, info === null || info === void 0 ? void 0 : info.__rendererLabel), i18nRuntime.i18n("2ac24a383a1faae33f81772b757b2817"));
|
173
178
|
}
|
174
179
|
}, {
|
175
180
|
actionType: 'setValue',
|
@@ -223,14 +228,11 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
223
228
|
value: 'left-top'
|
224
229
|
}), amisEditorCore.getSchemaTpl('formItemName', {
|
225
230
|
required: true
|
226
|
-
}), amisEditorCore.getSchemaTpl('label'),
|
227
|
-
label: i18nRuntime.i18n("
|
228
|
-
name: '
|
229
|
-
}), {
|
230
|
-
label: i18nRuntime.i18n("6eaeb8ccaa8473e2b985095be2bf3cd1"),
|
231
|
-
name: 'searchResultMode',
|
231
|
+
}), amisEditorCore.getSchemaTpl('label'), {
|
232
|
+
label: i18nRuntime.i18n("b7fc7efe26efb867838223936b7fc467"),
|
233
|
+
name: 'selectMode',
|
232
234
|
type: 'select',
|
233
|
-
|
235
|
+
value: 'tree',
|
234
236
|
options: [{
|
235
237
|
label: i18nRuntime.i18n("6541f1702af367c41a3127ed8511eb50"),
|
236
238
|
value: 'list'
|
@@ -244,31 +246,45 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
244
246
|
label: i18nRuntime.i18n("6c5358b981a475da2a83e95e4170647a"),
|
245
247
|
value: 'chained'
|
246
248
|
}]
|
247
|
-
}, amisEditorCore.getSchemaTpl('sortable'), {
|
248
|
-
label: i18nRuntime.i18n("0911a348aaf24601e633e318ccb8aace"),
|
249
|
-
name: 'selectTitle',
|
250
|
-
type: 'input-text',
|
251
|
-
inputClassName: 'is-inline '
|
252
249
|
}, {
|
253
250
|
label: i18nRuntime.i18n("84a76ba52297727f6bb47d8a1cc74094"),
|
254
251
|
name: 'resultTitle',
|
255
252
|
type: 'input-text',
|
256
|
-
inputClassName: 'is-inline '
|
257
|
-
|
253
|
+
inputClassName: 'is-inline ',
|
254
|
+
placeholder: i18nRuntime.i18n("505e204cdd98afd08c174d6dcec0dc09")
|
255
|
+
}, amisEditorCore.getSchemaTpl('sortable'), amisEditorCore.getSchemaTpl('searchable', {
|
256
|
+
onChange: function (value, origin, item, form) {
|
257
|
+
if (!value) {
|
258
|
+
form.setValues({
|
259
|
+
searchApi: undefined
|
260
|
+
});
|
261
|
+
}
|
262
|
+
}
|
263
|
+
}), amisEditorCore.getSchemaTpl('apiControl', {
|
264
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("791959f9b90734dce08da79f4ac27a41"), i18nRuntime.i18n("9b1ddba55066e0f329ca3cca2e58909c")),
|
265
|
+
mode: 'normal',
|
266
|
+
name: 'searchApi',
|
267
|
+
visibleOn: '!!searchable'
|
268
|
+
})]
|
258
269
|
}, {
|
259
270
|
title: i18nRuntime.i18n("ea15ae2b7fba76c83eec6d0986d15197"),
|
260
271
|
body: [{
|
261
272
|
$ref: 'options',
|
262
273
|
name: 'options'
|
263
|
-
}, amisEditorCore.getSchemaTpl('
|
274
|
+
}, amisEditorCore.getSchemaTpl('apiControl', {
|
275
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("1395eba8d9efe27aa1ecd1a45e3e5dcd"), i18nRuntime.i18n("14079611c014884bbdffce4d0e5f4d73")),
|
276
|
+
mode: 'normal',
|
277
|
+
name: 'source'
|
278
|
+
}), amisEditorCore.getSchemaTpl('loadingConfig', {
|
264
279
|
visibleOn: 'this.source || !this.options'
|
265
280
|
}, {
|
266
281
|
context: context
|
267
|
-
}), amisEditorCore.getSchemaTpl('joinValues'), amisEditorCore.getSchemaTpl('delimiter'), amisEditorCore.getSchemaTpl('extractValue')
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
})
|
282
|
+
}), amisEditorCore.getSchemaTpl('joinValues'), amisEditorCore.getSchemaTpl('delimiter'), amisEditorCore.getSchemaTpl('extractValue')
|
283
|
+
// getSchemaTpl('autoFillApi', {
|
284
|
+
// visibleOn:
|
285
|
+
// '!this.autoFill || this.autoFill.scene && this.autoFill.action'
|
286
|
+
// })
|
287
|
+
]
|
272
288
|
}, {
|
273
289
|
title: i18nRuntime.i18n("dfac151de712ab0b3618072c8a7f0a0f"),
|
274
290
|
body: [amisEditorCore.getSchemaTpl('virtualThreshold'), amisEditorCore.getSchemaTpl('virtualItemHeight')]
|
@@ -285,9 +301,46 @@ var TabsTransferPlugin = /** @class */function (_super) {
|
|
285
301
|
};
|
286
302
|
return _this;
|
287
303
|
}
|
304
|
+
TabsTransferPlugin.prototype.buildDataSchemas = function (node, region) {
|
305
|
+
var _a;
|
306
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
307
|
+
var type = util.resolveOptionType((_b = node.schema) === null || _b === void 0 ? void 0 : _b.options);
|
308
|
+
// todo:异步数据case
|
309
|
+
var dataSchema = {
|
310
|
+
type: type,
|
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
|
+
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
313
|
+
};
|
314
|
+
|
315
|
+
if ((_f = node.schema) === null || _f === void 0 ? void 0 : _f.extractValue) {
|
316
|
+
dataSchema = {
|
317
|
+
type: 'array',
|
318
|
+
title: ((_g = node.schema) === null || _g === void 0 ? void 0 : _g.label) || ((_h = node.schema) === null || _h === void 0 ? void 0 : _h.name)
|
319
|
+
};
|
320
|
+
} else if (((_j = node.schema) === null || _j === void 0 ? void 0 : _j.joinValues) === false) {
|
321
|
+
dataSchema = {
|
322
|
+
type: 'array',
|
323
|
+
title: ((_k = node.schema) === null || _k === void 0 ? void 0 : _k.label) || ((_l = node.schema) === null || _l === void 0 ? void 0 : _l.name),
|
324
|
+
items: {
|
325
|
+
type: 'object',
|
326
|
+
title: i18nRuntime.i18n("ab5dea29793d933fa7b5487a7309df6a"),
|
327
|
+
properties: (_a = {}, _a[((_m = node.schema) === null || _m === void 0 ? void 0 : _m.labelField) || 'label'] = {
|
328
|
+
type: 'string',
|
329
|
+
title: i18nRuntime.i18n("97d07614380da93d257f9fbf81aa56fb")
|
330
|
+
}, _a[((_o = node.schema) === null || _o === void 0 ? void 0 : _o.valueField) || 'value'] = {
|
331
|
+
type: type,
|
332
|
+
title: i18nRuntime.i18n("fe7509e0ed085b86f07e3e9975cc5b3d")
|
333
|
+
}, _a)
|
334
|
+
},
|
335
|
+
originalValue: dataSchema.originalValue
|
336
|
+
};
|
337
|
+
}
|
338
|
+
return dataSchema;
|
339
|
+
};
|
288
340
|
TabsTransferPlugin.id = 'TabsTransferPlugin';
|
289
341
|
return TabsTransferPlugin;
|
290
342
|
}(amisEditorCore.BasePlugin);
|
291
343
|
amisEditorCore.registerEditorPlugin(TabsTransferPlugin);
|
292
344
|
|
293
345
|
exports.TabsTransferPlugin = TabsTransferPlugin;
|
346
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -177,3 +178,4 @@ var TextareaControlPlugin = /** @class */function (_super) {
|
|
177
178
|
amisEditorCore.registerEditorPlugin(TextareaControlPlugin);
|
178
179
|
|
179
180
|
exports.TextareaControlPlugin = TextareaControlPlugin;
|
181
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EditorNodeType } from 'amis-editor-core';
|
1
2
|
import { BasePlugin } from 'amis-editor-core';
|
2
3
|
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
3
4
|
export declare class TransferPlugin extends BasePlugin {
|
@@ -59,4 +60,5 @@ export declare class TransferPlugin extends BasePlugin {
|
|
59
60
|
notRenderFormZone: boolean;
|
60
61
|
panelJustify: boolean;
|
61
62
|
panelBodyCreator: (context: BaseEventContext) => any;
|
63
|
+
buildDataSchemas(node: EditorNodeType, region: EditorNodeType): any;
|
62
64
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -11,6 +12,7 @@ var tslib = require('tslib');
|
|
11
12
|
var amisEditorCore = require('amis-editor-core');
|
12
13
|
var helper = require('../../renderer/event-control/helper.js');
|
13
14
|
var validator = require('../../validator.js');
|
15
|
+
var util = require('../../util.js');
|
14
16
|
var i18nRuntime = require('i18n-runtime');
|
15
17
|
|
16
18
|
var TransferPlugin = /** @class */function (_super) {
|
@@ -153,10 +155,12 @@ var TransferPlugin = /** @class */function (_super) {
|
|
153
155
|
}), amisEditorCore.getSchemaTpl('formItemName', {
|
154
156
|
required: true
|
155
157
|
}), amisEditorCore.getSchemaTpl('label'), amisEditorCore.getSchemaTpl('valueFormula', {
|
156
|
-
rendererSchema:
|
157
|
-
|
158
|
-
|
159
|
-
|
158
|
+
rendererSchema: function (schema) {
|
159
|
+
return tslib.__assign(tslib.__assign({}, schema), {
|
160
|
+
type: 'select',
|
161
|
+
multiple: true
|
162
|
+
});
|
163
|
+
},
|
160
164
|
visibleOn: 'data.options.length > 0'
|
161
165
|
}), amisEditorCore.getSchemaTpl('labelRemark'), amisEditorCore.getSchemaTpl('remark'), amisEditorCore.getSchemaTpl('description'), amisEditorCore.getSchemaTpl('switch', {
|
162
166
|
label: i18nRuntime.i18n("439a19857be1fb8d3e6017258e32c486"),
|
@@ -301,9 +305,46 @@ var TransferPlugin = /** @class */function (_super) {
|
|
301
305
|
};
|
302
306
|
return _this;
|
303
307
|
}
|
308
|
+
TransferPlugin.prototype.buildDataSchemas = function (node, region) {
|
309
|
+
var _a;
|
310
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
311
|
+
var type = util.resolveOptionType((_b = node.schema) === null || _b === void 0 ? void 0 : _b.options);
|
312
|
+
// todo:异步数据case
|
313
|
+
var dataSchema = {
|
314
|
+
type: type,
|
315
|
+
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
316
|
+
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
317
|
+
};
|
318
|
+
|
319
|
+
if ((_f = node.schema) === null || _f === void 0 ? void 0 : _f.extractValue) {
|
320
|
+
dataSchema = {
|
321
|
+
type: 'array',
|
322
|
+
title: ((_g = node.schema) === null || _g === void 0 ? void 0 : _g.label) || ((_h = node.schema) === null || _h === void 0 ? void 0 : _h.name)
|
323
|
+
};
|
324
|
+
} else if (((_j = node.schema) === null || _j === void 0 ? void 0 : _j.joinValues) === false) {
|
325
|
+
dataSchema = {
|
326
|
+
type: 'array',
|
327
|
+
title: ((_k = node.schema) === null || _k === void 0 ? void 0 : _k.label) || ((_l = node.schema) === null || _l === void 0 ? void 0 : _l.name),
|
328
|
+
items: {
|
329
|
+
type: 'object',
|
330
|
+
title: i18nRuntime.i18n("ab5dea29793d933fa7b5487a7309df6a"),
|
331
|
+
properties: (_a = {}, _a[((_m = node.schema) === null || _m === void 0 ? void 0 : _m.labelField) || 'label'] = {
|
332
|
+
type: 'string',
|
333
|
+
title: i18nRuntime.i18n("97d07614380da93d257f9fbf81aa56fb")
|
334
|
+
}, _a[((_o = node.schema) === null || _o === void 0 ? void 0 : _o.valueField) || 'value'] = {
|
335
|
+
type: type,
|
336
|
+
title: i18nRuntime.i18n("fe7509e0ed085b86f07e3e9975cc5b3d")
|
337
|
+
}, _a)
|
338
|
+
},
|
339
|
+
originalValue: dataSchema.originalValue
|
340
|
+
};
|
341
|
+
}
|
342
|
+
return dataSchema;
|
343
|
+
};
|
304
344
|
TransferPlugin.id = 'TransferPlugin';
|
305
345
|
return TransferPlugin;
|
306
346
|
}(amisEditorCore.BasePlugin);
|
307
347
|
amisEditorCore.registerEditorPlugin(TransferPlugin);
|
308
348
|
|
309
349
|
exports.TransferPlugin = TransferPlugin;
|
350
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
1
|
+
import { EditorNodeType, RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
2
2
|
import { BasePlugin } from 'amis-editor-core';
|
3
3
|
export declare class TreeSelectControlPlugin extends BasePlugin {
|
4
4
|
static id: string;
|
@@ -67,4 +67,5 @@ export declare class TreeSelectControlPlugin extends BasePlugin {
|
|
67
67
|
};
|
68
68
|
panelJustify: boolean;
|
69
69
|
panelBodyCreator: (context: BaseEventContext) => any;
|
70
|
+
buildDataSchemas(node: EditorNodeType, region: EditorNodeType): any;
|
70
71
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -12,6 +13,7 @@ var amisEditorCore = require('amis-editor-core');
|
|
12
13
|
var cloneDeep = require('lodash/cloneDeep');
|
13
14
|
var helper = require('../../renderer/event-control/helper.js');
|
14
15
|
var validator = require('../../validator.js');
|
16
|
+
var util = require('../../util.js');
|
15
17
|
var i18nRuntime = require('i18n-runtime');
|
16
18
|
|
17
19
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
@@ -350,35 +352,43 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
350
352
|
}), amisEditorCore.getSchemaTpl('switch', {
|
351
353
|
label: i18nRuntime.i18n("a0e965072593eb1b19b4568fa26d977c"),
|
352
354
|
name: 'onlyLeaf'
|
353
|
-
}),
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
355
|
+
}), /** 新增选项 */
|
356
|
+
amisEditorCore.getSchemaTpl('optionAddControl', {
|
357
|
+
manager: _this.manager,
|
358
|
+
collections: [amisEditorCore.getSchemaTpl('switch', {
|
359
|
+
label: i18nRuntime.i18n("bc560e477282dafc3c37b7a665af4f9c"),
|
360
|
+
value: true,
|
361
|
+
name: 'rootCreatable'
|
362
|
+
}), {
|
363
|
+
type: 'input-text',
|
364
|
+
label: i18nRuntime.i18n("9a3af29bac4ff8dff3305e283acb2516"),
|
365
|
+
value: i18nRuntime.i18n("b4eab506cf436d3cdd1cd68fc857ec04"),
|
366
|
+
name: 'rootCreateTip',
|
367
|
+
hiddenOn: '!data.rootCreatable'
|
368
|
+
}, {
|
369
|
+
type: 'input-text',
|
370
|
+
label: i18nRuntime.i18n("f273cc663180d6f62497ff3a28f4fdd7"),
|
371
|
+
value: i18nRuntime.i18n("897deae9c4c3dc0baa4a6989bb8727b6"),
|
372
|
+
name: 'createTip'
|
373
|
+
}]
|
374
|
+
}), /** 编辑选项 */
|
375
|
+
amisEditorCore.getSchemaTpl('optionEditControl', {
|
376
|
+
manager: _this.manager,
|
377
|
+
collections: [{
|
378
|
+
type: 'input-text',
|
379
|
+
label: i18nRuntime.i18n("aefacb210d5fa5eff897a302269ed920"),
|
380
|
+
value: i18nRuntime.i18n("f9886b3adb1ec253d24432615b62151c"),
|
381
|
+
name: 'editTip'
|
382
|
+
}]
|
383
|
+
}), /** 删除选项 */
|
384
|
+
amisEditorCore.getSchemaTpl('optionDeleteControl', {
|
385
|
+
manager: _this.manager,
|
386
|
+
collections: [{
|
387
|
+
type: 'input-text',
|
388
|
+
label: i18nRuntime.i18n("b8079d1411b21dbc48749154a827a680"),
|
389
|
+
value: i18nRuntime.i18n("176a53a7fc4759482d71312551d868ec"),
|
390
|
+
name: 'removeTip'
|
391
|
+
}]
|
382
392
|
})]
|
383
393
|
}, {
|
384
394
|
title: i18nRuntime.i18n("dfac151de712ab0b3618072c8a7f0a0f"),
|
@@ -490,9 +500,55 @@ var TreeSelectControlPlugin = /** @class */function (_super) {
|
|
490
500
|
};
|
491
501
|
return _this;
|
492
502
|
}
|
503
|
+
TreeSelectControlPlugin.prototype.buildDataSchemas = function (node, region) {
|
504
|
+
var _a;
|
505
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
506
|
+
var type = util.resolveOptionType((_b = node.schema) === null || _b === void 0 ? void 0 : _b.options);
|
507
|
+
// todo:异步数据case
|
508
|
+
var dataSchema = {
|
509
|
+
type: type,
|
510
|
+
title: ((_c = node.schema) === null || _c === void 0 ? void 0 : _c.label) || ((_d = node.schema) === null || _d === void 0 ? void 0 : _d.name),
|
511
|
+
originalValue: (_e = node.schema) === null || _e === void 0 ? void 0 : _e.value // 记录原始值,循环引用检测需要
|
512
|
+
};
|
513
|
+
|
514
|
+
if (((_f = node.schema) === null || _f === void 0 ? void 0 : _f.joinValues) === false) {
|
515
|
+
dataSchema = tslib.__assign(tslib.__assign({}, dataSchema), {
|
516
|
+
type: 'object',
|
517
|
+
title: ((_g = node.schema) === null || _g === void 0 ? void 0 : _g.label) || ((_h = node.schema) === null || _h === void 0 ? void 0 : _h.name),
|
518
|
+
properties: (_a = {}, _a[((_j = node.schema) === null || _j === void 0 ? void 0 : _j.labelField) || 'label'] = {
|
519
|
+
type: 'string',
|
520
|
+
title: i18nRuntime.i18n("97d07614380da93d257f9fbf81aa56fb")
|
521
|
+
}, _a[((_k = node.schema) === null || _k === void 0 ? void 0 : _k.valueField) || 'value'] = {
|
522
|
+
type: type,
|
523
|
+
title: i18nRuntime.i18n("fe7509e0ed085b86f07e3e9975cc5b3d")
|
524
|
+
}, _a)
|
525
|
+
});
|
526
|
+
}
|
527
|
+
if ((_l = node.schema) === null || _l === void 0 ? void 0 : _l.multiple) {
|
528
|
+
if ((_m = node.schema) === null || _m === void 0 ? void 0 : _m.extractValue) {
|
529
|
+
dataSchema = {
|
530
|
+
type: 'array',
|
531
|
+
title: ((_o = node.schema) === null || _o === void 0 ? void 0 : _o.label) || ((_p = node.schema) === null || _p === void 0 ? void 0 : _p.name)
|
532
|
+
};
|
533
|
+
} else if (((_q = node.schema) === null || _q === void 0 ? void 0 : _q.joinValues) === false) {
|
534
|
+
dataSchema = {
|
535
|
+
type: 'array',
|
536
|
+
title: ((_r = node.schema) === null || _r === void 0 ? void 0 : _r.label) || ((_s = node.schema) === null || _s === void 0 ? void 0 : _s.name),
|
537
|
+
items: {
|
538
|
+
type: 'object',
|
539
|
+
title: i18nRuntime.i18n("ab5dea29793d933fa7b5487a7309df6a"),
|
540
|
+
properties: dataSchema.properties
|
541
|
+
},
|
542
|
+
originalValue: dataSchema.originalValue
|
543
|
+
};
|
544
|
+
}
|
545
|
+
}
|
546
|
+
return dataSchema;
|
547
|
+
};
|
493
548
|
TreeSelectControlPlugin.id = 'TreeSelectControlPlugin';
|
494
549
|
return TreeSelectControlPlugin;
|
495
550
|
}(amisEditorCore.BasePlugin);
|
496
551
|
amisEditorCore.registerEditorPlugin(TreeSelectControlPlugin);
|
497
552
|
|
498
553
|
exports.TreeSelectControlPlugin = TreeSelectControlPlugin;
|
554
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Form/UUID.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -53,3 +54,4 @@ var UUIDControlPlugin = /** @class */function (_super) {
|
|
53
54
|
amisEditorCore.registerEditorPlugin(UUIDControlPlugin);
|
54
55
|
|
55
56
|
exports.UUIDControlPlugin = UUIDControlPlugin;
|
57
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Grid.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.5.
|
2
|
+
* amis-editor v5.5.2-beta.2
|
3
|
+
* build time: 2023-09-28
|
3
4
|
* Copyright 2018-2023 @fex
|
4
5
|
*/
|
5
6
|
|
@@ -199,7 +200,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
199
200
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
200
201
|
className: "icon",
|
201
202
|
icon: "arrow-to-bottom"
|
202
|
-
}), React__default["default"].createElement("span", null, "
|
203
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("3c43c5860b4dfaced296d7a63eae1513")))
|
203
204
|
}, host.isSecondFactor ? null : {
|
204
205
|
children: React__default["default"].createElement(amis.Button, {
|
205
206
|
size: "sm",
|
@@ -209,7 +210,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
209
210
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
210
211
|
className: "icon",
|
211
212
|
icon: "top-arrow-to-top"
|
212
|
-
}), React__default["default"].createElement("span", null, "
|
213
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("decaeded2b6f2c66f191ff34b868b1eb")))
|
213
214
|
}, {
|
214
215
|
children: React__default["default"].createElement(amis.Button, {
|
215
216
|
size: "sm",
|
@@ -219,7 +220,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
219
220
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
220
221
|
className: "icon",
|
221
222
|
icon: "left-arrow-to-left"
|
222
|
-
}), React__default["default"].createElement("span", null, "
|
223
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("0d9eb53682343f1cbd562c9a944ef5bf")))
|
223
224
|
}, {
|
224
225
|
children: React__default["default"].createElement(amis.Button, {
|
225
226
|
size: "sm",
|
@@ -229,7 +230,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
229
230
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
230
231
|
className: "icon",
|
231
232
|
icon: "arrow-to-right"
|
232
|
-
}), React__default["default"].createElement("span", null, "
|
233
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("814276d30e338eccbaee96c3e6bacb61")))
|
233
234
|
}].filter(function (item) {
|
234
235
|
return item;
|
235
236
|
})
|
@@ -276,6 +277,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
276
277
|
label: false,
|
277
278
|
tiled: true,
|
278
279
|
clearable: true,
|
280
|
+
inputClassName: 'flex-nowrap',
|
279
281
|
options: [{
|
280
282
|
value: 'top',
|
281
283
|
label: i18nRuntime.i18n("2a6ad292447e6354ca39ee7f40d2fcc8")
|
@@ -321,7 +323,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
321
323
|
"$schema": "/schemas/GridColumn.json",
|
322
324
|
hostId: info.id,
|
323
325
|
memberIndex: index,
|
324
|
-
name: "\u7B2C".concat(index + 1, "
|
326
|
+
name: "\u7B2C".concat(index + 1, i18nRuntime.i18n("e63907bf0db529e84866d1ae737bfc0d")),
|
325
327
|
id: node.$$id,
|
326
328
|
draggable: false,
|
327
329
|
schemaPath: "".concat(info.schemaPath, "/grid/").concat(index),
|
@@ -369,7 +371,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
369
371
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
370
372
|
className: "icon",
|
371
373
|
icon: "arrow-to-bottom"
|
372
|
-
}), React__default["default"].createElement("span", null, "
|
374
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("3c43c5860b4dfaced296d7a63eae1513")))
|
373
375
|
}, {
|
374
376
|
children: React__default["default"].createElement(amis.Button, {
|
375
377
|
size: "sm",
|
@@ -379,7 +381,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
379
381
|
}, React__default["default"].createElement(amisEditorCore.Icon, {
|
380
382
|
className: "icon",
|
381
383
|
icon: "top-arrow-to-top"
|
382
|
-
}), React__default["default"].createElement("span", null, "
|
384
|
+
}), React__default["default"].createElement("span", null, i18nRuntime.i18n("decaeded2b6f2c66f191ff34b868b1eb")))
|
383
385
|
}]
|
384
386
|
}].filter(function (item) {
|
385
387
|
return item;
|
@@ -447,6 +449,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
447
449
|
label: i18nRuntime.i18n("98d695d6a6a48cfb4bc2f6396ee64787"),
|
448
450
|
tiled: true,
|
449
451
|
pipeIn: amisEditorCore.defaultValue('left'),
|
452
|
+
inputClassName: 'flex-nowrap',
|
450
453
|
options: [{
|
451
454
|
value: 'left',
|
452
455
|
label: i18nRuntime.i18n("413f48cc71f71083ce532a86e3efdc21")
|
@@ -467,6 +470,7 @@ var GridPlugin = /** @class */function (_super) {
|
|
467
470
|
label: i18nRuntime.i18n("11b7fc50778c89572391ec4c6c4b55e1"),
|
468
471
|
tiled: true,
|
469
472
|
pipeIn: amisEditorCore.defaultValue('top'),
|
473
|
+
inputClassName: 'flex-nowrap',
|
470
474
|
options: [{
|
471
475
|
value: 'top',
|
472
476
|
label: i18nRuntime.i18n("2a6ad292447e6354ca39ee7f40d2fcc8")
|
@@ -679,3 +683,4 @@ var GridPlugin = /** @class */function (_super) {
|
|
679
683
|
amisEditorCore.registerEditorPlugin(GridPlugin);
|
680
684
|
|
681
685
|
exports.GridPlugin = GridPlugin;
|
686
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|