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
package/lib/locale/zh-CN.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
|
|
@@ -2242,8 +2243,8 @@ i18nRuntime.extendLocale('zh-CN', {
|
|
2242
2243
|
'5e75800641ec5c1198092bcf9d34f180': '控制所选的组件的启用/禁用',
|
2243
2244
|
'7854b52a889b3ef0590d9f542efeb4c8': '启用',
|
2244
2245
|
'd86d5919f595226b7a1e8264635ca23d': '启用/禁用',
|
2245
|
-
'c5a9b6e8c522de8a14ad7fab51c1a1e3': '
|
2246
|
-
'be4b778e7f5aa6aa5a811d7db4e1a8b3': '
|
2246
|
+
'c5a9b6e8c522de8a14ad7fab51c1a1e3': '重新请求数据',
|
2247
|
+
'be4b778e7f5aa6aa5a811d7db4e1a8b3': '如果开启发送数据,会先发送配置数据到目标组件,然后重新请求数据。',
|
2247
2248
|
'694fc5efa9e1d1c2c5eb6525e1c7fb29': '刷新',
|
2248
2249
|
'ea4d3723b350b2cb8f4c1a615e1b7df1': '设置组件数据',
|
2249
2250
|
'cb7add16ba6f0cd65d5ddcad71359813': '设置数据容器或表单项的数据',
|
@@ -3305,5 +3306,315 @@ i18nRuntime.extendLocale('zh-CN', {
|
|
3305
3306
|
'60e237a1b5e9a4cc3633898d527d5a38': '标签宽度',
|
3306
3307
|
'813a5158d9f7171d20e7df340c5b48f9': '组件上下文',
|
3307
3308
|
'8b3fd9147a07d27ad95c0ba2594fb67a': '当前数据域{{@1}}',
|
3308
|
-
'0383d6f467ed0dd89860a7b8cc793ce9': '上{{@1}}层{{@2}}'
|
3309
|
+
'0383d6f467ed0dd89860a7b8cc793ce9': '上{{@1}}层{{@2}}',
|
3310
|
+
'45f3a444853a11667f97e941b53266b0': 'API接口',
|
3311
|
+
'7658a7c761a4296d5526426d29ee7c68': '用来保存数据, 表单提交后将数据传入此接口。<br/>\n 接口响应体要求(如果data中有数据,该数据将被合并到表单上下文中):<br/>\n <pre>{{@1}}\n}, null, 2)}</pre>',
|
3312
|
+
'e7173f5a0462ffb0eb9dfc02e44155f8': '接口响应体要求:<br/>\n <pre>{{@1}},\n page: 0,\n total: 0\n}, null, 2)}</pre>',
|
3313
|
+
'319ec20dfe05d268928076e0cbb8e45a': '接口响应体要求:<br/>\n <pre>{{@1}}\n}, null, 2)}</pre>',
|
3314
|
+
'419b0a74c438b81124992616dd0a36f3': '快速编辑后用来批量保存的 API',
|
3315
|
+
'152e8c553fe6fbc51df7c72a45917107': '即时保存时使用的 API',
|
3316
|
+
'91aa2166ee4811414381c8d94e6567e6': 'API返回格式不正确,请查看接口响应格式要求',
|
3317
|
+
'c00a96da01a3cf0445df3b0d05918317': '查看数据',
|
3318
|
+
'7695a3b5bfbcfdb3e7b085f8cd6455be': '编辑数据',
|
3319
|
+
'6f2f7e3794aa8502d02cb20aba881df1': '批量编辑数据',
|
3320
|
+
'40f8f022c51542d282edda5b9ed4b512': '删除数据',
|
3321
|
+
'c1c29e445748fa076c5fee45274bdd36': '批量删除数据',
|
3322
|
+
'ebf98d77b1a002935ad5c41446f257b3': '确认要删除数据',
|
3323
|
+
'd00d3377afe33a0f1b63293f3a3e3a79': '确认要批量删除数据',
|
3324
|
+
'a094e5b7699ea4b61094cc4120170423': '数据来源',
|
3325
|
+
'6f99b6eed37795cb97d5f6370c32113b': '基本样式',
|
3326
|
+
'c8b9dbab4a3e3ad283d3d95a1663cd68': '当前行记录 : {{@1}}',
|
3327
|
+
'83c9828692e1bb250a069bbf37807190': '表格2.0',
|
3328
|
+
'63ddcc28ac20f6cbd4197671ae7e628c': '启动自动刷新',
|
3329
|
+
'd6ba60b5bbf5df4cc2959dc897c2f792': '停止自动刷新',
|
3330
|
+
'16ea2200bfba281fdf5e6870498790cc': '[amis-editor][CRUD2Plugin] dynamicControls的值必须是一个对象',
|
3331
|
+
'd45a439fa6e82798bc1e98d738cedea3': '开启后支持选择表格行数据',
|
3332
|
+
'e821ce185e41eac2ab846ef5cfde2363': '分页设置',
|
3333
|
+
'4d7080ff1405a1f08c5415a0f942c336': '分页模式',
|
3334
|
+
'290026b0b40b637e774c6af435b897b5': '过滤时刷新',
|
3335
|
+
'67584675004a48be903e9f61c733cb35': '在开启前端分页时,表头过滤后是否重新请求初始化 API',
|
3336
|
+
'8cc3589c442c478dde8ceb60aeb29e03': '翻页后回到顶部',
|
3337
|
+
'9cb14f1355b3a312ebd62ebff5e1e06b': '无限加载时,根据此项设置其每页加载数量,留空即不限制',
|
3338
|
+
'f300691f823aacea572e63bb7fb7ce8a': '点击编辑分页组件',
|
3339
|
+
'd81ad681a447abae7cba38779ffc0c9e': '未找到分页组件',
|
3340
|
+
'86b17bba54b65c6a62895357095f63a3': '接口轮询',
|
3341
|
+
'983a8ab6a97da0a0dec7b5c751cf02b1': '开启初始化接口轮询,开启后会按照设定的时间间隔轮询调用接口',
|
3342
|
+
'4cbec5cb54ba399ea81381a75f5f1f93': '轮询间隔',
|
3343
|
+
'3a5d9512f474ff7c2a017a13e7f8a9af': '停止条件',
|
3344
|
+
'fd649ca959662306b734f03438869bf0': '定时刷新停止表达式,条件满足后则停止定时刷新,否则会持续轮询调用初始化接口。',
|
3345
|
+
'0516133b87f03f859e23bf014d71ab57': '模态窗口期间停止',
|
3346
|
+
'52dce697d35795d7835e483d69f72419': '当页面中存在弹窗时停止接口轮询,避免中断操作',
|
3347
|
+
'6d5b1e5a235fa839c759d2362654d638': '静默拉取',
|
3348
|
+
'8b34b22a4da1b9b855a5efd33434f5e7': '刷新时是否隐藏加载动画',
|
3349
|
+
'32aaf2f04e983290deceb0674fb0d159': '表格区域',
|
3350
|
+
'e3e100dab1d8d13a2e3f9c391b0b108d': '顶部工具栏',
|
3351
|
+
'2aee96dd788b815f83b3d118188e7fd9': '底部工具栏',
|
3352
|
+
'cc6a173a3601403f2d96cae2180539b3': '用来实现对数据的增删改查,用来展示表格数据,可以配置列信息,然后关联数据便能完成展示。支持嵌套、超级表头、列固定、表头固顶、合并单元格等等。',
|
3353
|
+
'b58da2d7e87937280042e1deca1153fa': '流水线任务实例 ',
|
3354
|
+
'93b824b57d4c22085c1035f7254619db': '单元测试',
|
3355
|
+
'2a8249ce9e52240855dfabc0efc83a3a': '通过率',
|
3356
|
+
'09eb6d258fd00deaf350c2d1a0fd6f46': '任务实例',
|
3357
|
+
'a5cd4ea1820d5c17c35e86885b1ef10d': '报告',
|
3358
|
+
'3791ba5c2962a42a251489872342b7d6': '组件名称',
|
3359
|
+
'fcd70206ed8109b7ed361c7bce0922c4': '每行个数',
|
3360
|
+
'3ccfcb4c0daac7bb3ef1399b4389e3e5': '左右间距',
|
3361
|
+
'ab57255c391c3732b4b38ae78f55e058': '上下间距',
|
3362
|
+
'390d9ad686ba5622d49443d1e3659d51': '当前列表项',
|
3363
|
+
'b271e427962758c71e342a2c06df493a': '索引',
|
3364
|
+
'd63b707be8a6feb914a3f6899c38770f': '左切换图标',
|
3365
|
+
'911f1640e858c362bfb3ba9a55e8269a': '右切换图标',
|
3366
|
+
'8a0b967b90e89dd8e7311065c1de720a': '切换图标大小',
|
3367
|
+
'eabda74dd2ac5b4e6eab9229e0e63f79': '接口可以返回echart图表完整配置,或者图表数据,建议返回图表数据映射到 Echarts 配置中',
|
3368
|
+
'59688d1a484179aef8edc0ccbabb9fc1': '跟踪表达式',
|
3369
|
+
'3fd81a573ea309b203ab019c1aa95a2c': '如果这个表达式的值有变化时会更新图表,当 config 中用了数据映射时有用',
|
3370
|
+
'd0d852432ce09f627e6ae471b3f86b0a': '数据映射(dataFilter)',
|
3371
|
+
'06e89ed3cb501da6d57e35bc28a37089': '如果后端没有直接返回 Echart 配置,可以自己写一段函数来包装',
|
3372
|
+
'f25c9fd2852b85502157decbedd19082': '原始数据',
|
3373
|
+
'2695f318db820c2bfe4c886fed3697f0': 'echarts 对象',
|
3374
|
+
'b76e25de5689ea51af0688d0ea6d7b39': '如果配置了数据接口,接口返回的数据通过此变量传入',
|
3375
|
+
'45bc998df29cf75725df6141098d5cec': 'debugger; // 可以浏览器中断点调试\\n\\n// 查看原始数据\\nconsole.log(config)\\n\\n// 返回新的结果 \\nreturn {}',
|
3376
|
+
'e8f96ea47cb322f4f1a4c938c7b155ac': '默认为追加模式,新的配置会跟旧的配置合并,如果勾选将直接完全覆盖',
|
3377
|
+
'e732f4c0d8075670b6c75cc52bd1f7d5': '图表下钻',
|
3378
|
+
'00958a92c5804d56047c18fc206382e1': '宽高设置',
|
3379
|
+
'b3e991d11b9f0ee04f55627c62d4fcba': '默认高度为300px,值单位默认为 px,也支持百分比等单位 ,如:100%',
|
3380
|
+
'8e5ff4f20463c03f7935e0627888c03c': '折叠状态改变',
|
3381
|
+
'bcfcd9d31a7a469fa1f3a2ea9e3e3f89': '折叠器折叠状态改变时触发',
|
3382
|
+
'0e8638286319f6efb0afe2616714e8c3': '折叠器状态',
|
3383
|
+
'dce3879aaf11920ab97c94781ddaaed5': '折叠器展开',
|
3384
|
+
'0f680e944e33feb4719bd0dfe618aa50': '折叠器状态变更为展开时触发',
|
3385
|
+
'0469f19533c2fa1d63418b86ec203ab7': '折叠器收起',
|
3386
|
+
'3ffa0c7285daa4c39f7b7699a845860c': '折叠器状态变更为收起时触发',
|
3387
|
+
'578125c5d7586aefb797caca9111ed1f': '组件展开',
|
3388
|
+
'ae772db91ee1bd385ffafed3e9b8f4cc': '组件折叠状态变更为展开',
|
3389
|
+
'5882cb6b5133d35488c386965321c60b': '组件收起',
|
3390
|
+
'04e36bd57e0e1623da86ee2c19c2a885': '组件折叠状态变更为收起',
|
3391
|
+
'd2fa917958506736ea39edbef5e1cea5': '折叠面板折叠状态改变时触发',
|
3392
|
+
'58164864ad00f5d134f304d309055eda': '当前展开的索引列表',
|
3393
|
+
'44732aa2566399b71483e63252d3dbc7': '折叠器索引',
|
3394
|
+
'abd55237a0df8da6ffda1ef377982707': '列默认显示',
|
3395
|
+
'67a2d9746956b631dd3ae9d13b6ae9ff': '点击遮罩关闭',
|
3396
|
+
'36f5b682310bd52f19c63b077ec054d1': '隐藏按钮区',
|
3397
|
+
'6bdc97671296112658e3a1cd369c0686': '遮罩颜色',
|
3398
|
+
'b3b287010ea79586507a77e0580d9cad': '底部区',
|
3399
|
+
'38cf16f2204ffab8a6e0187070558721': '确定',
|
3400
|
+
'40d39c3bc7bebced7d63eace0191a0a8': '角度',
|
3401
|
+
'5d606821df2528b127c07333f5f403cd': '回访数量TOP1',
|
3402
|
+
'796011a5b11f78292d93a73ff284de50': '北京分公司',
|
3403
|
+
'7232042d4e1b0c8c7172d68048358619': '最大显示个数',
|
3404
|
+
'64095ae27232995731f776f12bf66d8d': '当前循环项',
|
3405
|
+
'23b3169341314eda02d860be90ebf487': '全选文本',
|
3406
|
+
'e2b67a7f51c977887d2b3c2de2727509': '操作区',
|
3407
|
+
'4f2ef285e13e20f551f7111f535cde11': '表单创建向导',
|
3408
|
+
'7efcb0ce09e8842951c5cfd298b4e7ee': '使用场景',
|
3409
|
+
'b4f035fa6f9faaa78707b72c352c6a8b': '[amis-editor][FormPlugin] dynamicControls的值必须是一个对象',
|
3410
|
+
'cd8b367599d0c748e74029da8c10d295': '本地缓存',
|
3411
|
+
'09a94b2400f7f05fbf2fc37a20b097d0': '提交成功后清空缓存',
|
3412
|
+
'69445b3c5ddb606c7d51fd941e4aae10': '自动填充数据域同名变量',
|
3413
|
+
'86f056f1cd4e25d5bd2bebddc971032b': '默认表单是可以获取到完整数据链中的数据的,如果想使表单的数据域独立,请关闭此配置',
|
3414
|
+
'5cd08fe4cd86fffe7cd23d934d4d3b32': '提交设置',
|
3415
|
+
'e59e1cb3f366d6e7012fe64748355b0a': '如果底部按钮不是自定义按钮时,可以通过该配置可以快速修改按钮名称,如果设置成空,则可以把默认按钮去掉。',
|
3416
|
+
'd3458f4ee2c2203bb51f9d138dfd0c05': '提交后重置表单',
|
3417
|
+
'e89bb79f0a0cb4fa4693c4a5ace130f4': '表单提交后,让所有表单项的值还原成初始值',
|
3418
|
+
'59c1b37b7ff983385a2521541cbcccf8': '阻止回车提交',
|
3419
|
+
'794020840d754ea7fb58ea3bf4394e1a': '默认按回车键触发表单提交,开启后将阻止这一行为',
|
3420
|
+
'87a6f142d80987db2e31569e403619f7': '提交后关闭对话框',
|
3421
|
+
'2e799a2e68a3303201d89752ae201a88': '组合校验',
|
3422
|
+
'585293753528cd2f74501f41fc2e2c30': '在表单顶部显示当前表单的数据',
|
3423
|
+
'86ed196f63524be7775e5a01b0152793': '标签对齐方式',
|
3424
|
+
'6bde56d911167d0f47aae6bab762cd70': 'Panel包裹',
|
3425
|
+
'019078f52f120a70fc23d94ccd364200': '吸附操作栏',
|
3426
|
+
'f9e5a5377c1f56f1d09ae2bc58bd2d5b': '开启后,滚动表单内容区时使底部操作区悬浮吸附',
|
3427
|
+
'cc6c35a3e0f97fb9747905dc13e9b625': '编码',
|
3428
|
+
'936b62c222fcf6ba10fde069212fcf97': '省份编码',
|
3429
|
+
'd7009d07f04d208f84e6c343fbc80ab7': '省份',
|
3430
|
+
'e982852e24060d47f29be600837b675a': '城市编码',
|
3431
|
+
'0dad46b34f0ddc802bce0351dc4745eb': '区域编码',
|
3432
|
+
'd3ce40d862f1c7e4748e6c28ffb0a007': '区域',
|
3433
|
+
'716c3dc1bd990ccebc4fee34eb9171cf': '街道',
|
3434
|
+
'fd3913adcb81427f1895ab5b79ebe0b2': '远程上传请求成功后返回的响应数据',
|
3435
|
+
'cfe5917c83c8c31d5e57ddeb1f3460a5': '请输入行号,为空则在尾部插入',
|
3436
|
+
'9a3af29bac4ff8dff3305e283acb2516': '根节点文案',
|
3437
|
+
'f273cc663180d6f62497ff3a28f4fdd7': '新增文案提示',
|
3438
|
+
'897deae9c4c3dc0baa4a6989bb8727b6': '添加子节点',
|
3439
|
+
'aefacb210d5fa5eff897a302269ed920': '编辑文案提示',
|
3440
|
+
'f9886b3adb1ec253d24432615b62151c': '编辑该节点',
|
3441
|
+
'b8079d1411b21dbc48749154a827a680': '删除文案提示',
|
3442
|
+
'176a53a7fc4759482d71312551d868ec': '移除该节点',
|
3443
|
+
'7650487a8758fd50c87d6c9cff0aa5ac': '地址',
|
3444
|
+
'3d18ca01ddd1b95e982ec44ffcda8165': '经度',
|
3445
|
+
'6acaee71fe6a23c17f18625df01bab23': '纬度',
|
3446
|
+
'40d58bb6ac9888b0c672f5bcff74da25': '地图厂商',
|
3447
|
+
'542241c52bd2efb24dc37b32cab2329c': '列全选',
|
3448
|
+
'd94ec7663ac9ad2d09fca5c86928b434': '列级全选功能',
|
3449
|
+
'7020fa7949a5ae24cc8eb696772d97fc': '行全选',
|
3450
|
+
'227c24282ff52f3f6f52dfdb853cc1ad': '行级全选功能',
|
3451
|
+
'83a60f8b752a1ef3ce6a240388d635aa': '默认当开启全选后居左排列',
|
3452
|
+
'316a639631f712780829a202258ec3cc': '居左',
|
3453
|
+
'e2aaec83377244c9d15f78f51cccfe6f': '居右',
|
3454
|
+
'b7fc7efe26efb867838223936b7fc467': '左侧选项展示',
|
3455
|
+
'505e204cdd98afd08c174d6dcec0dc09': '已选项',
|
3456
|
+
'9b1ddba55066e0f329ca3cca2e58909c': '可以通过接口获取检索结果,检索值可以通过变量\\${term}获取,如:"https://xxx/search?name=\\${term}"',
|
3457
|
+
'14079611c014884bbdffce4d0e5f4d73': '可以通过接口获取动态选项,一次拉取全部',
|
3458
|
+
'1fd65acd90f99791d70ca70e046c9f05': '假数据图片',
|
3459
|
+
'5789be67da4a1dc0fd9600bd626776a1': '只在编辑区显示的模拟图片,运行时将显示图片实际内容',
|
3460
|
+
'eded9ed93a453c3f790126e30b776a22': '标题文字',
|
3461
|
+
'11d938eaa50cff1b7e59c64b891de73d': '标题边距',
|
3462
|
+
'36285b8c01571203859d6b8ce7af0cba': '描述文字',
|
3463
|
+
'a7dcee68c68f8f19f39c9788e08fac31': '描述边距',
|
3464
|
+
'80dc1f6307e4acf29ece7ac2f6e04334': '放大图标',
|
3465
|
+
'faaadc447b1c2b1adc920d9c9aedcc25': '序号',
|
3466
|
+
'c4767bc3ad5c6812a8ea302e6126d988': '3月',
|
3467
|
+
'499d02b4034d1234b407042ccce614a8': '列表标题',
|
3468
|
+
'a302da1d8160ed0c72719c13346042a9': '这是内容简介,可以设置显示行数',
|
3469
|
+
'4e74ff55b36a0f35d511a761c264fce3': '内容区样式',
|
3470
|
+
'a67496c9ef1b1951fb9f104d1ef17997': '标题栏样式',
|
3471
|
+
'af608093f1d3c25e85bdb4ed17f8b947': '工具栏样式',
|
3472
|
+
'fa898e5ae4c0315061129c6cef47c326': '边栏样式',
|
3473
|
+
'087e631da111edc6db508289a7b5a95b': '分配不同的值段,用不同的颜色提示用户。若只配置一个颜色不配置value,默认value为100',
|
3474
|
+
'88f8919dd239f2018d267f79d71a672b': '搜索框、searchbox',
|
3475
|
+
'6fe93193cbd9f0eb9315a4ae83343786': '清空输入框',
|
3476
|
+
'985d97bfa88cbaed452ee5900ad26d45': '服务Service',
|
3477
|
+
'6f6f1e6feb9fa966acaddae627b73948': '接口配置',
|
3478
|
+
'270ac7e329c21eb9a5e4c342f202bbb4': 'Schema数据源',
|
3479
|
+
'bfa178f875f63957378fc2d0bd8d0f59': '配置schemaApi后,可以实现动态渲染页面内容',
|
3480
|
+
'dd22d42f40442605fbe0c5da03203ffb': '是否Schema初始加载',
|
3481
|
+
'eb1d029d107422d00f55c8b76e66ec75': 'WebSocket接口',
|
3482
|
+
'470e0b39b2486883a10c1048f2df9f40': 'Service 支持通过WebSocket(ws)获取数据,用于获取实时更新的数据。',
|
3483
|
+
'3bfc17446f0456f9692f25fc90383ec1': '对于复杂的数据获取情况,可以使用外部函数获取数据',
|
3484
|
+
'ec9b680403aab2f0498badb090f04364': '/**\n * @param data 上下文数据\n * @param setData 更新数据的函数\n * @param env 环境变量\n */\ninterface DataProvider {\n (data: any, setData: (data: any) => void, env: any): void;\n}\n',
|
3485
|
+
'642d94fa418e15a3997bcf7488315e4d': '原子表格',
|
3486
|
+
'dad6519c7c75a23bee8ccb576e4609a2': '数据源key',
|
3487
|
+
'cba09997ca646e67544f880c80ab97cb': '可拖拽条件',
|
3488
|
+
'cbe89f133fda6e0d1bec31eaf6aa7853': '保存排序',
|
3489
|
+
'413c6b52c23a1bf5cbc9fba1485f88ff': '[amis-editor][Table2Plugin] dynamicControls的值必须是一个对象',
|
3490
|
+
'5b11953888d7c376458b397f222d4533': '绑定当前上下文变量',
|
3491
|
+
'5e1872b4afc82fc5114b32aaf4477500': '选择类型',
|
3492
|
+
'443f46c76ebe6ec4eb502f95c451e4b0': '多选',
|
3493
|
+
'9fd1b7cb41cfa3b83bdfd2a44381417f': '单选',
|
3494
|
+
'9c5c1f96ba29b9c0a8915be950e91cb3': '固定选择列',
|
3495
|
+
'5fd9a061aa8d25137801caf78d8d0f42': '选择列列宽',
|
3496
|
+
'107ce5ae5c46f0e63565c593eb09a312': '全选所有',
|
3497
|
+
'f3993a00b12133950b96199dbf08fc43': '反选当页',
|
3498
|
+
'0cf1882623b2b50f0416030c980c3179': '清空所有',
|
3499
|
+
'b5a34b813ffd5d7d776eb8ca56a1b45d': '选择奇数行',
|
3500
|
+
'0c2a525c7e183c05b46caa6b52a21b9f': '选择偶数行',
|
3501
|
+
'df5a3392ee995cfaa13787b11a1e2652': '行可勾选条件',
|
3502
|
+
'76417db4eeb031b0bc15f4cf8178ae46': '最大选择条数',
|
3503
|
+
'4d250d2754fbdc9cbd131bf48d445894': '展开按钮位置',
|
3504
|
+
'ea7026a83bf0b63ecc31fd8e215766de': '可展开条件',
|
3505
|
+
'9e9b4716c08d4f15d9d52e00281f4265': '配置展开区域',
|
3506
|
+
'f09e007fa1c2e7eb9ec01f8481104d94': '嵌套字段',
|
3507
|
+
'1b4b8d809a7d253bb650d0f104d24ea2': '声明数据结构中作为子节点的字段名称,默认是<code>children</code>',
|
3508
|
+
'f53160d07e516a3b0d38d61822944b03': '行角标',
|
3509
|
+
'8952f4e24070a79741a505dc20bad8f0': '高度自适应',
|
3510
|
+
'dd7befc8e7c124f6f4ba9bbf3de9dc53': '缩进尺寸',
|
3511
|
+
'eedd7279409d000114e27194f3c8a5ea': '嵌套结构展示时,设置子节点的缩进值,单位为px',
|
3512
|
+
'4bf8b7a0b3385fcd34a8e0cd355d7964': '行类名',
|
3513
|
+
'a193a0f0b38ea06f46b1d3051c433cf5': '弹出框',
|
3514
|
+
'3c87936b95f844aa21605c75d217c8f9': '弹出框内容',
|
3515
|
+
'a0f14a16feaece37026df27feb9070a1': '配置弹出框',
|
3516
|
+
'44c9d7cb031327029dd0b1bc92689542': '[amis-editor][TableCell2Plugin] dynamicControls的值必须是一个对象',
|
3517
|
+
'f4a3780b66d65a315a762976ab5e781f': '操作按钮',
|
3518
|
+
'a0dbb2b0a000cdb3a265d096d4e5ed8d': '固定当前列',
|
3519
|
+
'00ed921de3ababcafcb0594ff0e9a997': '左侧固定',
|
3520
|
+
'a5b48f7807e3c1ddd80fa160f46f9cc9': '右侧固定',
|
3521
|
+
'5cbd7ad8a3ecf059b62219c17fa58cae': '标签内容',
|
3522
|
+
'3b4bcc788ee92004cae962801b471b8d': '自定义标题显示模板',
|
3523
|
+
'2328f91f1e160de6a06c2004d49ec53b': '配置标题显示模板',
|
3524
|
+
'11e6dfd7d3fcb0892c2cecb6d7549102': '请编辑标题内容',
|
3525
|
+
'3d95415ee75837db2660255ea1ca1b9b': '时间区',
|
3526
|
+
'2fe3c5280ea644639bc6378bcecc8b27': '详情区',
|
3527
|
+
'e1445cd3c4710c8abf7c1b3b1ce060d8': '浮层样式',
|
3528
|
+
'1f9ba0bdeb0cf0d3193cac269dd2f708': '最大显示行数',
|
3529
|
+
'2043742930f9833b4405aa0314a496b1': '填充假数据',
|
3530
|
+
'a903e51cb1915b56f94bf54a81816cf5': '只在编辑区显示的假数据文本,运行时将显示文本实际内容',
|
3531
|
+
'fd8f406e39d5c4b1f1f2251156eb34ef': '{\n // 上下文数据\n [key: string]: any;\n}',
|
3532
|
+
'ddca9c0f0e3d07c3341701b80f139cc0': '是否静默发送请求,屏蔽报错提示',
|
3533
|
+
'6de215632addbb664d254e00532d92aa': '最近n小时',
|
3534
|
+
'5bc676c0d274d9a4674f832ae07c6757': '序号「{{@1}}」的字段名称不能为空',
|
3535
|
+
'aa70a469e4ceb0dede9d73cb8d8d953a': '序号「{{@1}}」的字段名称「{{@2}}」不唯一',
|
3536
|
+
'acb3aec4d12f6ca06a1e45302030cdb1': '数据处理中...',
|
3537
|
+
'cdfd25057876424324682b5bdde38a3d': '请先填写初始化接口',
|
3538
|
+
'a9fea442707e26dee478b34a2f2ce263': '请先填写接口',
|
3539
|
+
'4cc6a76c146c0360a41ceaf5e212c891': '基于接口自动生成字段',
|
3540
|
+
'4484fa04e7b71db4c8293e5bcb53eca4': '添加字段',
|
3541
|
+
'eea3ebc33e69694e0c12d4ab2e07a553': '字段标题',
|
3542
|
+
'404f38ae7ac36860c0b3af6f2f4a13f9': '菜单名称必填',
|
3543
|
+
'822be91778b5ac22d31681f7256b849b': '不能将菜单拖入其自身内部',
|
3544
|
+
'088b54ee8f10a43977afa9d16ea5350f': '自定义菜单',
|
3545
|
+
'cd1e63aed43df0827cc09fb26521936c': '编辑菜单项',
|
3546
|
+
'648c5e847b923bdd51bf5c72436169ba': '添加菜单项',
|
3547
|
+
'8ee9f276a6356aab65f8178c4f30fabd': '菜单名称',
|
3548
|
+
'e3cc5bd7fc92d7287a14bf5398c4ecc3': '父级菜单',
|
3549
|
+
'24ceb2a06b1962b396b75286fc0960d1': '请选择,不选择默认为一级菜单',
|
3550
|
+
'9483042d09dbad731addc1791b5d207d': '菜单图标',
|
3551
|
+
'6107b3c4fd8587589210cb9fe2fcdad9': '请输入地址',
|
3552
|
+
'76b5162d1b7a16b4b6adf1b79231c96a': '跳转方式',
|
3553
|
+
'b2d1bffc689e4478519d8a010450192c': '当前页展开',
|
3554
|
+
'80fb2db8d3f212b3dd130d24da1c970e': '新标签页打开',
|
3555
|
+
'70b4d0676f9a9640c5a7b1d5f66faa64': '角标内容',
|
3556
|
+
'9f3cdf6aa12759fab68a5a88179462c4': '若为空则不展示角标',
|
3557
|
+
'07c60b53a84fd7751095864a5310cc7d': '自适应',
|
3558
|
+
'81522afdfef2e4121c9240d00583f531': '百分比',
|
3559
|
+
'9a8aed590bb7fcdd9198daca349b055a': '固定列宽',
|
3560
|
+
'e0dbf4a939e6c84610d28b8a9b1803c1': '百分比列宽',
|
3561
|
+
'41be5ce31e28742d0b259fe734e49c28': '至少保留一个根节点',
|
3562
|
+
'49198f84cea6c212cd5d463037827cd5': '添加列',
|
3563
|
+
'fb4c95bae088e3f216ea9312bcdb26ca': '列类型',
|
3564
|
+
'8eebb8ae809cf1ceaa23cd2fa2c73898': '字段列',
|
3565
|
+
'b302476563937e24190496ab668ebd26': '未找到对应列「{{@1}}」',
|
3566
|
+
'f9e759ac21d528e7d1e84b5feae4560a': '空列',
|
3567
|
+
'bcba3b2e1f7b4fb528213e999333d331': '确定要删除列「{{@1}}」吗?',
|
3568
|
+
'7202bba23492811d2964234485a909e5': '容器列',
|
3569
|
+
'4c2dc6491d29ef77f421daa19541c8ab': '字段加载中',
|
3570
|
+
'e11e888f47bc6cd5816a1147be05e792': '未找到目标组件',
|
3571
|
+
'e6413abdc2fd3ccbbf15327e4004b1b2': '去编辑目标组件',
|
3572
|
+
'fcebd5cda006253365b4453596290f48': '暂无字段',
|
3573
|
+
'161f53cdfabe18451e4067f2426cca0f': '未找到工具栏中对应操作「{{@1}}」',
|
3574
|
+
'4357955c64f836dd7f36af048d857f9b': '确定要删除工具栏中「{{@1}}」吗?',
|
3575
|
+
'dc858fed3c66a1194d5f9aec81faee3d': '暂无可添加操作',
|
3576
|
+
'fb3304d27d85c79d89ce6cac22a174b8': '自定义按钮',
|
3577
|
+
'e40c411876b4a57e24fbc6b4b4fd5027': '操作生成中',
|
3578
|
+
'0e7bb2c7879f0a34c02f547820b0b0b3': '错误忽略',
|
3579
|
+
'5d9fe78268b03e8aa41ac316ef610d9a': '动作发生错误时,是否忽略错误继续执行',
|
3580
|
+
'c0d5d68f5f1cc399311e92905ed2fa80': '忽略',
|
3581
|
+
'a165be161ac250720f6f25820dd2a5b3': '不忽略',
|
3582
|
+
'9cdfce42ef0fa346511538131e51328f': '预设',
|
3583
|
+
'17817a4d2da41f4261f4155ada59e395': '<%= data.ignoreError === false ? "找不到组件和动作执行失败都中断" : typeof data.ignoreError === "undefined" ? "找不到组件容忍,动作执行失败才中断" : ""%>',
|
3584
|
+
'0db9e779f5cd9ad8bd3d16d7e8a16b64': '弹窗消息',
|
3585
|
+
'4a502e748d1335385c2c05bf30e582e7': '打开弹窗,弹窗内支持复杂的交互设计',
|
3586
|
+
'c1b3a483bf057f5afa118f96644dc8a3': '弹窗来源',
|
3587
|
+
'0c5cbc9d345936876230a0b09aece2ff': '选择页面内已有弹窗',
|
3588
|
+
'a781b5903a4013c147783e1047f42e08': '新建弹窗',
|
3589
|
+
'53bed22bc03c0fd61fe4fb81101f712a': '弹窗标题',
|
3590
|
+
'953131d14e66fae5e3611f8b419b7ed5': '请输入弹窗标题',
|
3591
|
+
'7cc53692d650e049802d808b81efe7f5': '选择弹窗',
|
3592
|
+
'939402f3ff754d8d815eb7f6cc991bea': '弹窗类型',
|
3593
|
+
'139c619a4dbfc26fb61d76dc388e3e7d': '请求结果',
|
3594
|
+
'0eb4e63db88e158600dab0e723e8a213': '重新请求数据',
|
3595
|
+
'f16654604d6cb2f62469e5aa9db19871': '如果开启发送数据,会先发送配置数据到目标组件,然后重新请求数据。',
|
3596
|
+
'a0c117d927c6290bab55ae0e848a4d4b': '开启“发送数据”后,所配置的数据将发送给目标组件,这些数据将与目标组件数据域进行合并或覆盖',
|
3597
|
+
'eb6cd21b9ed45ded3ecdb12f62b590e1': '数据处理方式',
|
3598
|
+
'ac24ffeb131a7a9d2465b3ba7b14e10c': '提交结果',
|
3599
|
+
'0e3517fb21e2c4066bd0ab75c51bc6fb': '请输入存储提交结果的变量名称',
|
3600
|
+
'0e2ba6becfa8760853cfa31c9e15a94b': '如需执行多次表单提交,可以修改此变量名用于区分不同的提交结果',
|
3601
|
+
'4604d5023479171cb6e901dbeccf62c0': '错误信息',
|
3602
|
+
'71f6236494bfc8b023804abb0cca1639': '错误详情',
|
3603
|
+
'4e6bfc5ad98f719f9bc6b2ad3b6440ee': '提交请求的响应数据',
|
3604
|
+
'bf0f829689370b36d01ce871324e0bb6': '校验结果',
|
3605
|
+
'd23157205c994bde20bb2605c193fd27': '请输入存储校验结果的变量名称',
|
3606
|
+
'a422eb12ebbfdd3347c4deb5ec6b4b54': '如需执行多次表单校验,可以修改此变量名用于区分不同的校验结果',
|
3607
|
+
'0552d08957a270160d5203e0611661b2': '自定义样式仅对当前组件生效。示例:\n// 当前层级\nroot {\n color: #000;\n}\n// 子层级\n.text-color: {\n color: #fff;\n}\n',
|
3608
|
+
'aaf9656ba493b58fbab398d52efa9f7c': '编辑样式',
|
3609
|
+
'3ac7b489ba8cb811386c9f4fbfd1c6cc': '结尾字段名',
|
3610
|
+
'9da561f34a93e0275c56b84717ac9cf0': '配置了结尾字段名,该组件将开始和结尾存成两个字段',
|
3611
|
+
'475cdfcaf614f2b69d88e1e34ba76079': '主键',
|
3612
|
+
'c28f86f11fc814ea5696af5aa9464cbe': '每行记录的唯一标识符,通常用于行选择、批量操作等场景。',
|
3613
|
+
'fa66d1acaef7cd181f21f5fc2895becc': '启用严格模式将采用值严格相等比较',
|
3614
|
+
'9e3790244299ed296601d79e0bf43a5c': '新增按钮名称',
|
3615
|
+
'bbbeba31bfc391bd0741ac62ade78c5a': '编辑初始化接口',
|
3616
|
+
'ba62070c3a350918d542e990d3278b07': '新增{{@1}}',
|
3617
|
+
'06e2f88f428b7e26f7da3cd4d40ec2ed': '请输入名称',
|
3618
|
+
'c630aa278a251b72bebf09284095112a': '配置新增表单'
|
3309
3619
|
});
|
3620
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Alert.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
|
|
@@ -108,3 +109,4 @@ var AlertPlugin = /** @class */function (_super) {
|
|
108
109
|
amisEditorCore.registerEditorPlugin(AlertPlugin);
|
109
110
|
|
110
111
|
exports.AlertPlugin = AlertPlugin;
|
112
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/AnchorNav.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
|
|
@@ -126,8 +127,8 @@ var AnchorNavPlugin = /** @class */function (_super) {
|
|
126
127
|
if (!item.href) {
|
127
128
|
var key = findMinCanUsedKey(hrefs, value.length);
|
128
129
|
item.href = key;
|
129
|
-
item.title = "
|
130
|
-
item.body[0].tpl = "
|
130
|
+
item.title = i18nRuntime.i18n("6be15e9949e4be7fc485e1eaae472942").concat(key);
|
131
|
+
item.body[0].tpl = i18nRuntime.i18n("c624c875ea37f790665d0cae8959d4e2").concat(key);
|
131
132
|
}
|
132
133
|
});
|
133
134
|
return value;
|
@@ -283,3 +284,4 @@ var AnchorNavPlugin = /** @class */function (_super) {
|
|
283
284
|
amisEditorCore.registerEditorPlugin(AnchorNavPlugin);
|
284
285
|
|
285
286
|
exports.AnchorNavPlugin = AnchorNavPlugin;
|
287
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Audio.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
|
|
@@ -130,3 +131,4 @@ var AudioPlugin = /** @class */function (_super) {
|
|
130
131
|
amisEditorCore.registerEditorPlugin(AudioPlugin);
|
131
132
|
|
132
133
|
exports.AudioPlugin = AudioPlugin;
|
134
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Avatar.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
|
|
@@ -260,3 +261,4 @@ var AvatarPlugin = /** @class */function (_super) {
|
|
260
261
|
amisEditorCore.registerEditorPlugin(AvatarPlugin);
|
261
262
|
|
262
263
|
exports.AvatarPlugin = AvatarPlugin;
|
264
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Breadcrumb.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
|
|
@@ -94,3 +95,4 @@ var BreadcrumbPlugin = /** @class */function (_super) {
|
|
94
95
|
amisEditorCore.registerEditorPlugin(BreadcrumbPlugin);
|
95
96
|
|
96
97
|
exports.BreadcrumbPlugin = BreadcrumbPlugin;
|
98
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/Button.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
|
|
@@ -139,7 +140,7 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
139
140
|
name: "themeCss.className.radius:".concat(state),
|
140
141
|
visibleOn: visibleOn,
|
141
142
|
editorThemePath: "button1.size.${size}.body.border"
|
142
|
-
}), amisEditorCore.getSchemaTpl('theme:
|
143
|
+
}), amisEditorCore.getSchemaTpl('theme:select', {
|
143
144
|
label: i18nRuntime.i18n("7893f221dae53be8e3bfe72d2eb8a240"),
|
144
145
|
name: "themeCss.iconClassName.iconSize:".concat(state),
|
145
146
|
visibleOn: visibleOn,
|
@@ -273,7 +274,7 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
273
274
|
hidden: isInDropdown
|
274
275
|
})]
|
275
276
|
}, {
|
276
|
-
title: i18nRuntime.i18n("
|
277
|
+
title: i18nRuntime.i18n("6f99b6eed37795cb97d5f6370c32113b"),
|
277
278
|
body: tslib.__spreadArray(tslib.__spreadArray(tslib.__spreadArray([{
|
278
279
|
type: 'select',
|
279
280
|
name: 'editorState',
|
@@ -346,3 +347,4 @@ var ButtonPlugin = /** @class */function (_super) {
|
|
346
347
|
amisEditorCore.registerEditorPlugin(ButtonPlugin);
|
347
348
|
|
348
349
|
exports.ButtonPlugin = ButtonPlugin;
|
350
|
+
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
|
|
@@ -126,3 +127,4 @@ var ButtonGroupPlugin = /** @class */function (_super) {
|
|
126
127
|
amisEditorCore.registerEditorPlugin(ButtonGroupPlugin);
|
127
128
|
|
128
129
|
exports.ButtonGroupPlugin = ButtonGroupPlugin;
|
130
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|
package/lib/plugin/CRUD.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import React from 'react';
|
1
2
|
import { BasePlugin, BasicRendererInfo, BasicSubRenderInfo, ChangeEventContext, PluginEvent, RendererEventContext, RendererInfoResolveEventContext, ScaffoldForm, SubRendererInfo } from 'amis-editor-core';
|
2
3
|
import type { CRUDCommonSchema } from 'amis';
|
3
4
|
import type { EditorNodeType, RendererPluginAction, RendererPluginEvent } from 'amis-editor-core';
|
@@ -123,11 +124,11 @@ export declare class CRUDPlugin extends BasePlugin {
|
|
123
124
|
*/
|
124
125
|
buildSubRenderers(context: RendererEventContext, renderers: Array<SubRendererInfo>): BasicSubRenderInfo | Array<BasicSubRenderInfo> | void;
|
125
126
|
getRendererInfo(context: RendererInfoResolveEventContext): BasicRendererInfo | void;
|
126
|
-
renderEditableComponents(props: any): JSX.Element | null;
|
127
|
-
renderRenderer(props: any): JSX.Element;
|
127
|
+
renderEditableComponents(props: any): React.JSX.Element | null;
|
128
|
+
renderRenderer(props: any): React.JSX.Element;
|
128
129
|
filterProps(props: any): any;
|
129
130
|
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
130
|
-
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType): Promise<any>;
|
131
|
+
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType, parent?: EditorNodeType): Promise<any>;
|
131
132
|
rendererBeforeDispatchEvent(node: EditorNodeType, e: any, data: any): void;
|
132
133
|
/** crud 不同 mode 之间转换时候,主体的转换 */
|
133
134
|
transformByMode({ from, to, schema }: {
|
package/lib/plugin/CRUD.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
|
|
@@ -489,7 +490,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
489
490
|
var index = _a.index;
|
490
491
|
return React__default["default"].createElement("button", {
|
491
492
|
onClick: _this.handleBulkActionEdit.bind(_this, id, index),
|
492
|
-
"data-tooltip": "
|
493
|
+
"data-tooltip": i18nRuntime.i18n("8347a927c09a4ec2fe473b0a93f667d0"),
|
493
494
|
"data-position": "bottom",
|
494
495
|
className: "text-muted"
|
495
496
|
}, React__default["default"].createElement("i", {
|
@@ -536,7 +537,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
536
537
|
var index = _a.index;
|
537
538
|
return React__default["default"].createElement("button", {
|
538
539
|
onClick: _this.handleItemActionEdit.bind(_this, id, index),
|
539
|
-
"data-tooltip": "
|
540
|
+
"data-tooltip": i18nRuntime.i18n("8347a927c09a4ec2fe473b0a93f667d0"),
|
540
541
|
"data-position": "bottom",
|
541
542
|
className: "text-muted"
|
542
543
|
}, React__default["default"].createElement("i", {
|
@@ -700,7 +701,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
700
701
|
name: 'draggable',
|
701
702
|
label: i18nRuntime.i18n("d8905a70e93a33c7a86240f467c653d4")
|
702
703
|
}), amisEditorCore.getSchemaTpl('apiControl', {
|
703
|
-
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("040a78b24eaff47d4fa7e266473635b4"), "
|
704
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("040a78b24eaff47d4fa7e266473635b4"), i18nRuntime.i18n("9b39126b20e519bb1c6e9054f4b55784")),
|
704
705
|
name: 'saveOrderApi',
|
705
706
|
visibleOn: 'data.draggable'
|
706
707
|
}), {
|
@@ -1551,7 +1552,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1551
1552
|
className: "ae-EditableRender"
|
1552
1553
|
}, React__default["default"].createElement("div", {
|
1553
1554
|
className: "ae-EditableRender-title"
|
1554
|
-
}, "
|
1555
|
+
}, i18nRuntime.i18n("7f7c624a843b0d539a4ea59a696702f9")), React__default["default"].createElement("div", {
|
1555
1556
|
className: "ae-EditableRender-body"
|
1556
1557
|
}, bulkActions.map(function (action) {
|
1557
1558
|
return render('bulk-action', tslib.__assign({
|
@@ -1568,7 +1569,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1568
1569
|
className: "ae-EditableRender"
|
1569
1570
|
}, React__default["default"].createElement("div", {
|
1570
1571
|
className: "ae-EditableRender-title"
|
1571
|
-
}, "
|
1572
|
+
}, i18nRuntime.i18n("f13a0697d58d975d14eb3f3c72c2cbf2")), React__default["default"].createElement("div", {
|
1572
1573
|
className: "ae-EditableRender-body"
|
1573
1574
|
}, itemActions.map(function (action) {
|
1574
1575
|
return render('bulk-action', tslib.__assign({
|
@@ -1586,7 +1587,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1586
1587
|
className: "ae-EditableRenderers"
|
1587
1588
|
}, React__default["default"].createElement("div", {
|
1588
1589
|
className: "ae-EditableRenderers-tip"
|
1589
|
-
}, "
|
1590
|
+
}, i18nRuntime.i18n("5db6b2160b9169b9d89de247d14ab740")), doms);
|
1590
1591
|
};
|
1591
1592
|
CRUDPlugin.prototype.renderRenderer = function (props) {
|
1592
1593
|
var $$editor = props.$$editor,
|
@@ -1621,10 +1622,10 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1621
1622
|
}, 20);
|
1622
1623
|
}
|
1623
1624
|
};
|
1624
|
-
CRUDPlugin.prototype.buildDataSchemas = function (node, region, trigger) {
|
1625
|
+
CRUDPlugin.prototype.buildDataSchemas = function (node, region, trigger, parent) {
|
1625
1626
|
var _a, _b, _c, _d, _e, _f, _g;
|
1626
1627
|
return tslib.__awaiter(this, void 0, void 0, function () {
|
1627
|
-
var child, childSchame,
|
1628
|
+
var child, childSchame, itemsSchema_1, columns, rowsSchema, isColumnChild, scope, menberProps, tmpProperties_1, childScope;
|
1628
1629
|
return tslib.__generator(this, function (_h) {
|
1629
1630
|
switch (_h.label) {
|
1630
1631
|
case 0:
|
@@ -1635,45 +1636,49 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1635
1636
|
return [2 /*return*/];
|
1636
1637
|
}
|
1637
1638
|
|
1638
|
-
return [4 /*yield*/, child.info.plugin.buildDataSchemas(child, undefined, trigger)];
|
1639
|
+
return [4 /*yield*/, child.info.plugin.buildDataSchemas(child, undefined, trigger, node)];
|
1639
1640
|
case 1:
|
1640
1641
|
childSchame = _h.sent();
|
1641
1642
|
// 兼容table的rows,并自行merged异步数据
|
1642
1643
|
if (child.type === 'table') {
|
1643
|
-
cellProperties_1 = {};
|
1644
1644
|
itemsSchema_1 = {};
|
1645
1645
|
columns = child.children.find(function (item) {
|
1646
1646
|
return item.isRegion && item.region === 'columns';
|
1647
1647
|
});
|
1648
1648
|
rowsSchema = (_c = childSchame.properties.rows) === null || _c === void 0 ? void 0 : _c.items;
|
1649
1649
|
if (trigger) {
|
1650
|
-
|
1650
|
+
isColumnChild = amisCore.someTree(columns === null || columns === void 0 ? void 0 : columns.children, function (item) {
|
1651
1651
|
return item.id === trigger.id;
|
1652
1652
|
});
|
1653
1653
|
scope = this.manager.dataSchema.getScope("".concat(node.id, "-").concat(node.type));
|
1654
1654
|
menberProps = (_g = (_f = (_e = (_d = scope.getSchemaById('crudFetchInitedData')) === null || _d === void 0 ? void 0 : _d.properties) === null || _e === void 0 ? void 0 : _e.items) === null || _f === void 0 ? void 0 : _f.items) === null || _g === void 0 ? void 0 : _g.properties;
|
1655
1655
|
tmpProperties_1 = tslib.__assign(tslib.__assign({}, menberProps), rowsSchema === null || rowsSchema === void 0 ? void 0 : rowsSchema.properties);
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1656
|
+
if (isColumnChild) {
|
1657
|
+
Object.keys(tmpProperties_1).map(function (key) {
|
1658
|
+
itemsSchema_1[key] = tslib.__assign({}, tmpProperties_1[key]);
|
1659
|
+
});
|
1660
|
+
childScope = this.manager.dataSchema.getScope("".concat(child.id, "-").concat(child.type, "-currentRow"));
|
1661
|
+
if (childScope) {
|
1662
|
+
childScope === null || childScope === void 0 ? void 0 : childScope.setSchemas([{
|
1663
|
+
$id: "".concat(child.id, "-").concat(child.type, "-currentRow"),
|
1664
|
+
type: 'object',
|
1665
|
+
properties: itemsSchema_1
|
1666
|
+
}]);
|
1667
|
+
childScope.tag = "\u5F53\u524D\u884C\u8BB0\u5F55 : ".concat(node.type);
|
1662
1668
|
}
|
1663
|
-
|
1664
|
-
});
|
1669
|
+
}
|
1665
1670
|
}
|
1666
1671
|
childSchame = {
|
1667
1672
|
$id: childSchame.$id,
|
1668
1673
|
type: childSchame.type,
|
1669
|
-
properties:
|
1674
|
+
properties: {
|
1670
1675
|
items: childSchame.properties.rows,
|
1671
1676
|
selectedItems: tslib.__assign(tslib.__assign({}, childSchame.properties.selectedItems), {
|
1672
1677
|
items: tslib.__assign(tslib.__assign({}, childSchame.properties.selectedItems.items), {
|
1673
1678
|
properties: itemsSchema_1
|
1674
1679
|
})
|
1675
1680
|
}),
|
1676
|
-
unSelectedItems: tslib.__assign(tslib.__assign({}, childSchame.properties.
|
1681
|
+
unSelectedItems: tslib.__assign(tslib.__assign({}, childSchame.properties.unSelectedItems), {
|
1677
1682
|
items: tslib.__assign(tslib.__assign({}, childSchame.properties.unSelectedItems.items), {
|
1678
1683
|
properties: itemsSchema_1
|
1679
1684
|
})
|
@@ -1686,7 +1691,7 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1686
1691
|
type: 'number',
|
1687
1692
|
title: i18nRuntime.i18n("9a4fe969f1066e197fd2369a44d879ac")
|
1688
1693
|
}
|
1689
|
-
}
|
1694
|
+
}
|
1690
1695
|
};
|
1691
1696
|
}
|
1692
1697
|
return [2 /*return*/, childSchame];
|
@@ -1772,3 +1777,4 @@ var CRUDPlugin = /** @class */function (_super) {
|
|
1772
1777
|
amisEditorCore.registerEditorPlugin(CRUDPlugin);
|
1773
1778
|
|
1774
1779
|
exports.CRUDPlugin = CRUDPlugin;
|
1780
|
+
window.amisEditorVersionInfo={version:'5.5.2-beta.2',buildTime:'2023-09-28'};
|