amis-editor 6.6.0 → 6.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/builder/ApiDSBuilder.js +7 -5
- package/esm/builder/DSBuilder.js +3 -3
- package/esm/builder/DSBuilderManager.js +3 -3
- package/esm/builder/constants.js +3 -3
- package/esm/builder/utils.js +3 -3
- package/esm/component/BaseControl.js +3 -3
- package/esm/component/InputComponentName.js +3 -3
- package/esm/component/ModalSettingPanel.js +3 -3
- package/esm/component/TableViewEditor.js +3 -3
- package/esm/icons/btn/btn-group.svg.js +3 -3
- package/esm/icons/btn/btn-select.svg.js +3 -3
- package/esm/icons/btn/btn-toolbar.svg.js +3 -3
- package/esm/icons/btn/button.svg.js +3 -3
- package/esm/icons/btn/dropdown-btn.svg.js +3 -3
- package/esm/icons/container/anchor-nav.svg.js +3 -3
- package/esm/icons/container/collapse.svg.js +3 -3
- package/esm/icons/container/container.svg.js +3 -3
- package/esm/icons/container/flex-container.svg.js +3 -3
- package/esm/icons/container/form-group.svg.js +3 -3
- package/esm/icons/container/grid.svg.js +3 -3
- package/esm/icons/container/iframe.svg.js +3 -3
- package/esm/icons/container/panel.svg.js +3 -3
- package/esm/icons/container/switch-container.svg.js +3 -3
- package/esm/icons/container/table-view.svg.js +3 -3
- package/esm/icons/container/tabs.svg.js +3 -3
- package/esm/icons/container/tooltip-wrapper.svg.js +3 -3
- package/esm/icons/container/web-component.svg.js +3 -3
- package/esm/icons/crud/column-add.svg.js +3 -3
- package/esm/icons/crud/column-delete.svg.js +3 -3
- package/esm/icons/crud/column-setting.svg.js +3 -3
- package/esm/icons/crud/share-link.svg.js +3 -3
- package/esm/icons/display/aBaseline.svg.js +3 -3
- package/esm/icons/display/aCenter.svg.js +3 -3
- package/esm/icons/display/aFlexEnd.svg.js +3 -3
- package/esm/icons/display/aFlexStart.svg.js +3 -3
- package/esm/icons/display/aStretch.svg.js +3 -3
- package/esm/icons/display/block.svg.js +3 -3
- package/esm/icons/display/dcolumn.svg.js +3 -3
- package/esm/icons/display/dcolumnReverse.svg.js +3 -3
- package/esm/icons/display/drow.svg.js +3 -3
- package/esm/icons/display/drowReverse.svg.js +3 -3
- package/esm/icons/display/flex.svg.js +3 -3
- package/esm/icons/display/inline-block.svg.js +3 -3
- package/esm/icons/display/inline.svg.js +3 -3
- package/esm/icons/display/jCenter.svg.js +3 -3
- package/esm/icons/display/jFlexEnd.svg.js +3 -3
- package/esm/icons/display/jFlexStart.svg.js +3 -3
- package/esm/icons/display/jSpaceAround.svg.js +3 -3
- package/esm/icons/display/jSpaceBetween.svg.js +3 -3
- package/esm/icons/feat/audio.svg.js +3 -3
- package/esm/icons/feat/custom.svg.js +3 -3
- package/esm/icons/feat/each.svg.js +3 -3
- package/esm/icons/feat/form.svg.js +3 -3
- package/esm/icons/feat/nav.svg.js +3 -3
- package/esm/icons/feat/qrcode.svg.js +3 -3
- package/esm/icons/feat/service.svg.js +3 -3
- package/esm/icons/feat/table.svg.js +3 -3
- package/esm/icons/feat/tasks.svg.js +3 -3
- package/esm/icons/feat/video.svg.js +3 -3
- package/esm/icons/feat/wizard.svg.js +3 -3
- package/esm/icons/form/chained-select.svg.js +3 -3
- package/esm/icons/form/checkbox.svg.js +3 -3
- package/esm/icons/form/checkboxes.svg.js +3 -3
- package/esm/icons/form/combo.svg.js +3 -3
- package/esm/icons/form/condition-builder.svg.js +3 -3
- package/esm/icons/form/diff-editor.svg.js +3 -3
- package/esm/icons/form/editor.svg.js +3 -3
- package/esm/icons/form/formula.svg.js +3 -3
- package/esm/icons/form/hidden.svg.js +3 -3
- package/esm/icons/form/input-city.svg.js +3 -3
- package/esm/icons/form/input-color.svg.js +3 -3
- package/esm/icons/form/input-date-range.svg.js +3 -3
- package/esm/icons/form/input-date.svg.js +3 -3
- package/esm/icons/form/input-datetime.svg.js +3 -3
- package/esm/icons/form/input-email.svg.js +3 -3
- package/esm/icons/form/input-excel.svg.js +3 -3
- package/esm/icons/form/input-file.svg.js +3 -3
- package/esm/icons/form/input-group.svg.js +3 -3
- package/esm/icons/form/input-image.svg.js +3 -3
- package/esm/icons/form/input-kv.svg.js +3 -3
- package/esm/icons/form/input-month-range.svg.js +3 -3
- package/esm/icons/form/input-number.svg.js +3 -3
- package/esm/icons/form/input-password.svg.js +3 -3
- package/esm/icons/form/input-quarter-range.svg.js +3 -3
- package/esm/icons/form/input-range.svg.js +3 -3
- package/esm/icons/form/input-rating.svg.js +3 -3
- package/esm/icons/form/input-repeat.svg.js +3 -3
- package/esm/icons/form/input-rich-text.svg.js +3 -3
- package/esm/icons/form/input-signature.svg.js +3 -3
- package/esm/icons/form/input-tag.svg.js +3 -3
- package/esm/icons/form/input-text.svg.js +3 -3
- package/esm/icons/form/input-time-range.svg.js +3 -3
- package/esm/icons/form/input-time.svg.js +3 -3
- package/esm/icons/form/input-tree.svg.js +3 -3
- package/esm/icons/form/input-url.svg.js +3 -3
- package/esm/icons/form/input-year.svg.js +3 -3
- package/esm/icons/form/inputArray.svg.js +3 -3
- package/esm/icons/form/list-select.svg.js +3 -3
- package/esm/icons/form/location-picker.svg.js +3 -3
- package/esm/icons/form/matrix-checkboxes.svg.js +3 -3
- package/esm/icons/form/month.svg.js +3 -3
- package/esm/icons/form/nested-select.svg.js +3 -3
- package/esm/icons/form/picker.svg.js +3 -3
- package/esm/icons/form/quarter.svg.js +3 -3
- package/esm/icons/form/radios.svg.js +3 -3
- package/esm/icons/form/select.svg.js +3 -3
- package/esm/icons/form/static.svg.js +3 -3
- package/esm/icons/form/sub-form.svg.js +3 -3
- package/esm/icons/form/switch.svg.js +3 -3
- package/esm/icons/form/tabs-transfer.svg.js +3 -3
- package/esm/icons/form/textarea.svg.js +3 -3
- package/esm/icons/form/transfer.svg.js +3 -3
- package/esm/icons/form/tree-select.svg.js +3 -3
- package/esm/icons/form/uuid.svg.js +3 -3
- package/esm/icons/index.js +3 -3
- package/esm/icons/layout/layout-1with2.svg.js +3 -3
- package/esm/icons/layout/layout-2cols.svg.js +3 -3
- package/esm/icons/layout/layout-2row.svg.js +3 -3
- package/esm/icons/layout/layout-2with1.svg.js +3 -3
- package/esm/icons/layout/layout-3cols.svg.js +3 -3
- package/esm/icons/layout/layout-3row.svg.js +3 -3
- package/esm/icons/layout/layout-absolute.svg.js +3 -3
- package/esm/icons/layout/layout-fixed-top.svg.js +3 -3
- package/esm/icons/layout/layout-fixed.svg.js +3 -3
- package/esm/icons/layout/layout-free-container.svg.js +3 -3
- package/esm/icons/layout/layout-full.svg.js +3 -3
- package/esm/icons/layout/layout1-2.svg.js +3 -3
- package/esm/icons/layout/layout2-1.svg.js +3 -3
- package/esm/icons/layout/layout3-1.svg.js +3 -3
- package/esm/icons/layout/layout3-2.svg.js +3 -3
- package/esm/icons/other/_fx.svg.js +3 -3
- package/esm/icons/other/divider.svg.js +3 -3
- package/esm/icons/other/fx.svg.js +3 -3
- package/esm/icons/other/modal-setting.svg.js +3 -3
- package/esm/icons/other/property-sheet.svg.js +3 -3
- package/esm/icons/other/tooltip.svg.js +3 -3
- package/esm/icons/show/URL.svg.js +3 -3
- package/esm/icons/show/avatar.svg.js +3 -3
- package/esm/icons/show/breadcrumb.svg.js +3 -3
- package/esm/icons/show/card.svg.js +3 -3
- package/esm/icons/show/cards.svg.js +3 -3
- package/esm/icons/show/carousel.svg.js +3 -3
- package/esm/icons/show/chart.svg.js +3 -3
- package/esm/icons/show/code.svg.js +3 -3
- package/esm/icons/show/date.svg.js +3 -3
- package/esm/icons/show/datetime.svg.js +3 -3
- package/esm/icons/show/image.svg.js +3 -3
- package/esm/icons/show/images.svg.js +3 -3
- package/esm/icons/show/json-view.svg.js +3 -3
- package/esm/icons/show/list.svg.js +3 -3
- package/esm/icons/show/log.svg.js +3 -3
- package/esm/icons/show/mapping.svg.js +3 -3
- package/esm/icons/show/markdown.svg.js +3 -3
- package/esm/icons/show/plain.svg.js +3 -3
- package/esm/icons/show/progress.svg.js +3 -3
- package/esm/icons/show/sparkline.svg.js +3 -3
- package/esm/icons/show/status.svg.js +3 -3
- package/esm/icons/show/steps.svg.js +3 -3
- package/esm/icons/show/time.svg.js +3 -3
- package/esm/icons/theme/css.svg.js +3 -3
- package/esm/index.d.ts +3 -0
- package/esm/index.js +6 -3
- package/esm/locale/en-US.js +3 -3
- package/esm/locale/zh-CN.js +3 -3
- package/esm/plugin/Alert.js +3 -3
- package/esm/plugin/AnchorNav.js +3 -3
- package/esm/plugin/Audio.js +3 -3
- package/esm/plugin/Avatar.js +3 -3
- package/esm/plugin/Breadcrumb.js +3 -3
- package/esm/plugin/Button.js +18 -9
- package/esm/plugin/ButtonGroup.js +3 -3
- package/esm/plugin/CRUD.js +3 -3
- package/esm/plugin/CRUD2/BaseCRUD.js +10 -4
- package/esm/plugin/CRUD2/CRUDTable.js +3 -3
- package/esm/plugin/CRUD2/constants.js +3 -3
- package/esm/plugin/CRUD2/utils.js +3 -3
- package/esm/plugin/Calendar.js +3 -3
- package/esm/plugin/Card.js +3 -3
- package/esm/plugin/Card2.js +3 -3
- package/esm/plugin/Cards.js +3 -3
- package/esm/plugin/Carousel.js +3 -3
- package/esm/plugin/Chart.js +3 -3
- package/esm/plugin/CodeView.js +3 -3
- package/esm/plugin/Collapse.js +3 -3
- package/esm/plugin/CollapseGroup.js +3 -3
- package/esm/plugin/ColumnToggler.js +3 -3
- package/esm/plugin/Container.js +3 -3
- package/esm/plugin/Custom.js +3 -3
- package/esm/plugin/CustomRegion.js +3 -3
- package/esm/plugin/Date.js +3 -3
- package/esm/plugin/Datetime.js +3 -3
- package/esm/plugin/Dialog.js +3 -3
- package/esm/plugin/Divider.js +3 -3
- package/esm/plugin/Drawer.js +3 -3
- package/esm/plugin/DropDownButton.js +3 -3
- package/esm/plugin/Each.js +3 -3
- package/esm/plugin/Flex.js +3 -3
- package/esm/plugin/Form/ButtonGroupSelect.js +3 -3
- package/esm/plugin/Form/ButtonToolbar.js +3 -3
- package/esm/plugin/Form/ChainedSelect.js +3 -3
- package/esm/plugin/Form/Checkbox.js +3 -3
- package/esm/plugin/Form/Checkboxes.js +3 -3
- package/esm/plugin/Form/CodeEditor.js +3 -3
- package/esm/plugin/Form/Combo.js +3 -3
- package/esm/plugin/Form/ConditionBuilder.js +3 -3
- package/esm/plugin/Form/Control.js +3 -3
- package/esm/plugin/Form/DiffEditor.js +3 -3
- package/esm/plugin/Form/FieldSet.js +3 -3
- package/esm/plugin/Form/Form.js +168 -15
- package/esm/plugin/Form/Formula.js +3 -3
- package/esm/plugin/Form/Group.js +3 -3
- package/esm/plugin/Form/Hidden.js +3 -3
- package/esm/plugin/Form/InputArray.js +3 -3
- package/esm/plugin/Form/InputCity.js +3 -3
- package/esm/plugin/Form/InputColor.js +3 -3
- package/esm/plugin/Form/InputDate.js +10 -4
- package/esm/plugin/Form/InputDateRange.js +10 -4
- package/esm/plugin/Form/InputDateTime.js +3 -3
- package/esm/plugin/Form/InputDateTimeRange.js +3 -3
- package/esm/plugin/Form/InputEmail.js +3 -3
- package/esm/plugin/Form/InputExcel.js +3 -3
- package/esm/plugin/Form/InputFile.js +3 -3
- package/esm/plugin/Form/InputGroup.js +3 -3
- package/esm/plugin/Form/InputImage.js +11 -11
- package/esm/plugin/Form/InputKV.js +3 -3
- package/esm/plugin/Form/InputMonth.js +3 -3
- package/esm/plugin/Form/InputMonthRange.js +3 -3
- package/esm/plugin/Form/InputNumber.js +5 -6
- package/esm/plugin/Form/InputPassword.js +3 -3
- package/esm/plugin/Form/InputQuarter.js +3 -3
- package/esm/plugin/Form/InputQuarterRange.js +3 -3
- package/esm/plugin/Form/InputRange.js +19 -8
- package/esm/plugin/Form/InputRating.js +3 -3
- package/esm/plugin/Form/InputRepeat.js +3 -3
- package/esm/plugin/Form/InputRichText.js +3 -3
- package/esm/plugin/Form/InputSignature.js +3 -3
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.js +3 -3
- package/esm/plugin/Form/InputTag.js +3 -3
- package/esm/plugin/Form/InputText.js +6 -8
- package/esm/plugin/Form/InputTime.js +3 -3
- package/esm/plugin/Form/InputTimeRange.js +3 -3
- package/esm/plugin/Form/InputTree.js +3 -3
- package/esm/plugin/Form/InputURL.js +3 -3
- package/esm/plugin/Form/InputYear.js +3 -3
- package/esm/plugin/Form/InputYearRange.js +3 -3
- package/esm/plugin/Form/Item.js +3 -3
- package/esm/plugin/Form/ListSelect.js +3 -3
- package/esm/plugin/Form/LocationPicker.js +3 -3
- package/esm/plugin/Form/MatrixCheckboxes.js +3 -3
- package/esm/plugin/Form/NestedSelect.js +3 -3
- package/esm/plugin/Form/Picker.js +16 -45
- package/esm/plugin/Form/Radios.js +3 -3
- package/esm/plugin/Form/Select.js +13 -6
- package/esm/plugin/Form/Static.js +3 -3
- package/esm/plugin/Form/Switch.js +3 -3
- package/esm/plugin/Form/TabsTransfer.js +3 -3
- package/esm/plugin/Form/Textarea.js +14 -9
- package/esm/plugin/Form/Transfer.js +3 -3
- package/esm/plugin/Form/TransferPicker.js +3 -3
- package/esm/plugin/Form/TreeSelect.js +3 -3
- package/esm/plugin/Form/UUID.js +3 -3
- package/esm/plugin/Grid.js +3 -3
- package/esm/plugin/HBox.js +3 -3
- package/esm/plugin/IFrame.js +3 -3
- package/esm/plugin/Icon.js +3 -3
- package/esm/plugin/Image.js +9 -7
- package/esm/plugin/Images.js +3 -3
- package/esm/plugin/Json.js +3 -3
- package/esm/plugin/Layout/FlexPluginBase.js +3 -3
- package/esm/plugin/Layout/Layout_fixed.js +3 -3
- package/esm/plugin/Layout/Layout_free_container.js +3 -3
- package/esm/plugin/Layout/Layout_sorption_container.js +3 -3
- package/esm/plugin/Link.js +3 -3
- package/esm/plugin/List.js +3 -3
- package/esm/plugin/List2.js +3 -3
- package/esm/plugin/ListItem.js +3 -3
- package/esm/plugin/Log.js +3 -3
- package/esm/plugin/Mapping.js +3 -3
- package/esm/plugin/Markdown.js +3 -3
- package/esm/plugin/Nav.js +3 -3
- package/esm/plugin/OfficeViewer.js +3 -3
- package/esm/plugin/Operation.js +3 -3
- package/esm/plugin/Others/Action.js +3 -3
- package/esm/plugin/Others/TableCell.js +58 -4
- package/esm/plugin/Page.js +3 -3
- package/esm/plugin/Pagination.js +3 -3
- package/esm/plugin/Panel.js +3 -3
- package/esm/plugin/PdfViewer.js +3 -3
- package/esm/plugin/Plain.js +3 -3
- package/esm/plugin/Progress.js +3 -3
- package/esm/plugin/Property.js +3 -3
- package/esm/plugin/QRCode.js +3 -3
- package/esm/plugin/Reset.js +3 -3
- package/esm/plugin/SearchBox.js +3 -3
- package/esm/plugin/Service.js +3 -3
- package/esm/plugin/Sparkline.js +3 -3
- package/esm/plugin/Status.js +3 -3
- package/esm/plugin/Steps.js +3 -3
- package/esm/plugin/Submit.js +3 -3
- package/esm/plugin/SwitchContainer.js +3 -3
- package/esm/plugin/Table.js +3 -3
- package/esm/plugin/Table2.js +100 -61
- package/esm/plugin/TableCell2.js +15 -10
- package/esm/plugin/TableView.js +3 -3
- package/esm/plugin/Tabs.js +3 -3
- package/esm/plugin/Tag.js +3 -3
- package/esm/plugin/Tasks.js +3 -3
- package/esm/plugin/Time.js +3 -3
- package/esm/plugin/Timeline.js +3 -3
- package/esm/plugin/TooltipWrapper.js +3 -3
- package/esm/plugin/Tpl.js +3 -3
- package/esm/plugin/Video.js +3 -3
- package/esm/plugin/WebComponent.js +3 -3
- package/esm/plugin/Wizard.js +3 -3
- package/esm/plugin/Wrapper.js +3 -3
- package/esm/renderer/APIAdaptorControl.js +3 -3
- package/esm/renderer/APIControl.js +3 -3
- package/esm/renderer/BadgeControl.js +11 -9
- package/esm/renderer/ButtonGroupControl.js +3 -3
- package/esm/renderer/ConditionFormulaControl.js +3 -3
- package/esm/renderer/DataBindingControl.js +3 -3
- package/esm/renderer/DataMappingControl.js +3 -3
- package/esm/renderer/DataPickerControl.js +3 -3
- package/esm/renderer/DateShortCutControl.js +3 -3
- package/esm/renderer/ExpressionFormulaControl.js +3 -3
- package/esm/renderer/FeatureControl.js +3 -3
- package/esm/renderer/FieldSetting.js +3 -3
- package/esm/renderer/FlexSettingControl.js +3 -3
- package/esm/renderer/FormulaControl.js +7 -6
- package/esm/renderer/FunctionEditorControl.js +3 -3
- package/esm/renderer/GoConfigControl.js +3 -3
- package/esm/renderer/InputRangeValueControl.js +6 -4
- package/esm/renderer/KeyValueMapControl.js +3 -3
- package/esm/renderer/ListItemControl.js +3 -3
- package/esm/renderer/MapSourceControl.js +3 -3
- package/esm/renderer/NavBadgeControl.js +3 -3
- package/esm/renderer/NavDefaultActive.js +3 -3
- package/esm/renderer/NavSourceControl.js +3 -3
- package/esm/renderer/OptionControl.js +3 -3
- package/esm/renderer/RangePartsControl.js +3 -3
- package/esm/renderer/StatusControl.js +3 -3
- package/esm/renderer/SwitchMoreControl.js +3 -3
- package/esm/renderer/TableColumnWidthControl.js +3 -3
- package/esm/renderer/TimelineItemControl.js +3 -3
- package/esm/renderer/TplFormulaControl.js +3 -3
- package/esm/renderer/TransferTableControl.js +3 -3
- package/esm/renderer/TreeOptionControl.js +3 -3
- package/esm/renderer/ValidateApiControl.js +3 -3
- package/esm/renderer/ValidationControl.d.ts +5 -0
- package/esm/renderer/ValidationControl.js +58 -5
- package/esm/renderer/ValidationItem.d.ts +2 -1
- package/esm/renderer/ValidationItem.js +20 -15
- package/esm/renderer/ValueFormatControl.js +3 -3
- package/esm/renderer/crud2-control/AddColumnModal.js +3 -3
- package/esm/renderer/crud2-control/CRUDColumnControl.js +3 -3
- package/esm/renderer/crud2-control/CRUDFiltersControl.js +3 -3
- package/esm/renderer/crud2-control/CRUDToolbarControl.js +3 -3
- package/esm/renderer/event-control/DialogActionPanel.js +13 -9
- package/esm/renderer/event-control/action-config-dialog.js +3 -3
- package/esm/renderer/event-control/action-config-panel.js +3 -3
- package/esm/renderer/event-control/comp-action-select.js +3 -3
- package/esm/renderer/event-control/helper.js +6 -6
- package/esm/renderer/event-control/index.js +8 -9
- package/esm/renderer/style-control/Background.js +3 -3
- package/esm/renderer/style-control/Border.js +3 -3
- package/esm/renderer/style-control/BoxModel.js +3 -3
- package/esm/renderer/style-control/BoxShadow.js +3 -3
- package/esm/renderer/style-control/ColCount.d.ts +5 -0
- package/esm/renderer/style-control/ColCount.js +54 -0
- package/esm/renderer/style-control/ColSize.d.ts +5 -0
- package/esm/renderer/style-control/ColSize.js +147 -0
- package/esm/renderer/style-control/Display.js +3 -3
- package/esm/renderer/style-control/FlexLayout.js +3 -3
- package/esm/renderer/style-control/Font.js +3 -3
- package/esm/renderer/style-control/InsetBoxModel.js +3 -3
- package/esm/renderer/style-control/LabelAlign.d.ts +5 -0
- package/esm/renderer/style-control/LabelAlign.js +70 -0
- package/esm/renderer/style-control/ThemeCssCode.js +3 -3
- package/esm/renderer/style-control/font-family.js +3 -3
- package/esm/renderer/style-control/helper.d.ts +4 -2
- package/esm/renderer/style-control/helper.js +34 -18
- package/esm/renderer/style-control/transformation.js +3 -3
- package/esm/renderer/textarea-formula/FormulaPicker.js +3 -3
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +3 -3
- package/esm/renderer/textarea-formula/plugin.js +3 -3
- package/esm/tpl/api.js +3 -3
- package/esm/tpl/common.js +22 -4
- package/esm/tpl/horizontal.js +3 -3
- package/esm/tpl/layout.js +3 -3
- package/esm/tpl/options.js +3 -3
- package/esm/tpl/remark.js +3 -3
- package/esm/tpl/style.js +115 -32
- package/esm/tpl/validations.js +3 -3
- package/esm/util.js +3 -3
- package/esm/validator.js +3 -3
- package/lib/builder/ApiDSBuilder.d.ts +6 -6
- package/lib/builder/ApiDSBuilder.js +7 -5
- package/lib/builder/DSBuilder.js +3 -3
- package/lib/builder/DSBuilderManager.js +3 -3
- package/lib/builder/constants.js +3 -3
- package/lib/builder/utils.js +3 -3
- package/lib/component/BaseControl.d.ts +1 -1
- package/lib/component/BaseControl.js +3 -3
- package/lib/component/InputComponentName.js +3 -3
- package/lib/component/ModalSettingPanel.js +3 -3
- package/lib/component/TableViewEditor.js +3 -3
- package/lib/icons/btn/btn-group.svg.js +3 -3
- package/lib/icons/btn/btn-select.svg.js +3 -3
- package/lib/icons/btn/btn-toolbar.svg.js +3 -3
- package/lib/icons/btn/button.svg.js +3 -3
- package/lib/icons/btn/dropdown-btn.svg.js +3 -3
- package/lib/icons/container/anchor-nav.svg.js +3 -3
- package/lib/icons/container/collapse.svg.js +3 -3
- package/lib/icons/container/container.svg.js +3 -3
- package/lib/icons/container/flex-container.svg.js +3 -3
- package/lib/icons/container/form-group.svg.js +3 -3
- package/lib/icons/container/grid.svg.js +3 -3
- package/lib/icons/container/iframe.svg.js +3 -3
- package/lib/icons/container/panel.svg.js +3 -3
- package/lib/icons/container/switch-container.svg.js +3 -3
- package/lib/icons/container/table-view.svg.js +3 -3
- package/lib/icons/container/tabs.svg.js +3 -3
- package/lib/icons/container/tooltip-wrapper.svg.js +3 -3
- package/lib/icons/container/web-component.svg.js +3 -3
- package/lib/icons/crud/column-add.svg.js +3 -3
- package/lib/icons/crud/column-delete.svg.js +3 -3
- package/lib/icons/crud/column-setting.svg.js +3 -3
- package/lib/icons/crud/share-link.svg.js +3 -3
- package/lib/icons/display/aBaseline.svg.js +3 -3
- package/lib/icons/display/aCenter.svg.js +3 -3
- package/lib/icons/display/aFlexEnd.svg.js +3 -3
- package/lib/icons/display/aFlexStart.svg.js +3 -3
- package/lib/icons/display/aStretch.svg.js +3 -3
- package/lib/icons/display/block.svg.js +3 -3
- package/lib/icons/display/dcolumn.svg.js +3 -3
- package/lib/icons/display/dcolumnReverse.svg.js +3 -3
- package/lib/icons/display/drow.svg.js +3 -3
- package/lib/icons/display/drowReverse.svg.js +3 -3
- package/lib/icons/display/flex.svg.js +3 -3
- package/lib/icons/display/inline-block.svg.js +3 -3
- package/lib/icons/display/inline.svg.js +3 -3
- package/lib/icons/display/jCenter.svg.js +3 -3
- package/lib/icons/display/jFlexEnd.svg.js +3 -3
- package/lib/icons/display/jFlexStart.svg.js +3 -3
- package/lib/icons/display/jSpaceAround.svg.js +3 -3
- package/lib/icons/display/jSpaceBetween.svg.js +3 -3
- package/lib/icons/feat/audio.svg.js +3 -3
- package/lib/icons/feat/custom.svg.js +3 -3
- package/lib/icons/feat/each.svg.js +3 -3
- package/lib/icons/feat/form.svg.js +3 -3
- package/lib/icons/feat/nav.svg.js +3 -3
- package/lib/icons/feat/qrcode.svg.js +3 -3
- package/lib/icons/feat/service.svg.js +3 -3
- package/lib/icons/feat/table.svg.js +3 -3
- package/lib/icons/feat/tasks.svg.js +3 -3
- package/lib/icons/feat/video.svg.js +3 -3
- package/lib/icons/feat/wizard.svg.js +3 -3
- package/lib/icons/form/chained-select.svg.js +3 -3
- package/lib/icons/form/checkbox.svg.js +3 -3
- package/lib/icons/form/checkboxes.svg.js +3 -3
- package/lib/icons/form/combo.svg.js +3 -3
- package/lib/icons/form/condition-builder.svg.js +3 -3
- package/lib/icons/form/diff-editor.svg.js +3 -3
- package/lib/icons/form/editor.svg.js +3 -3
- package/lib/icons/form/formula.svg.js +3 -3
- package/lib/icons/form/hidden.svg.js +3 -3
- package/lib/icons/form/input-city.svg.js +3 -3
- package/lib/icons/form/input-color.svg.js +3 -3
- package/lib/icons/form/input-date-range.svg.js +3 -3
- package/lib/icons/form/input-date.svg.js +3 -3
- package/lib/icons/form/input-datetime.svg.js +3 -3
- package/lib/icons/form/input-email.svg.js +3 -3
- package/lib/icons/form/input-excel.svg.js +3 -3
- package/lib/icons/form/input-file.svg.js +3 -3
- package/lib/icons/form/input-group.svg.js +3 -3
- package/lib/icons/form/input-image.svg.js +3 -3
- package/lib/icons/form/input-kv.svg.js +3 -3
- package/lib/icons/form/input-month-range.svg.js +3 -3
- package/lib/icons/form/input-number.svg.js +3 -3
- package/lib/icons/form/input-password.svg.js +3 -3
- package/lib/icons/form/input-quarter-range.svg.js +3 -3
- package/lib/icons/form/input-range.svg.js +3 -3
- package/lib/icons/form/input-rating.svg.js +3 -3
- package/lib/icons/form/input-repeat.svg.js +3 -3
- package/lib/icons/form/input-rich-text.svg.js +3 -3
- package/lib/icons/form/input-signature.svg.js +3 -3
- package/lib/icons/form/input-tag.svg.js +3 -3
- package/lib/icons/form/input-text.svg.js +3 -3
- package/lib/icons/form/input-time-range.svg.js +3 -3
- package/lib/icons/form/input-time.svg.js +3 -3
- package/lib/icons/form/input-tree.svg.js +3 -3
- package/lib/icons/form/input-url.svg.js +3 -3
- package/lib/icons/form/input-year.svg.js +3 -3
- package/lib/icons/form/inputArray.svg.js +3 -3
- package/lib/icons/form/list-select.svg.js +3 -3
- package/lib/icons/form/location-picker.svg.js +3 -3
- package/lib/icons/form/matrix-checkboxes.svg.js +3 -3
- package/lib/icons/form/month.svg.js +3 -3
- package/lib/icons/form/nested-select.svg.js +3 -3
- package/lib/icons/form/picker.svg.js +3 -3
- package/lib/icons/form/quarter.svg.js +3 -3
- package/lib/icons/form/radios.svg.js +3 -3
- package/lib/icons/form/select.svg.js +3 -3
- package/lib/icons/form/static.svg.js +3 -3
- package/lib/icons/form/sub-form.svg.js +3 -3
- package/lib/icons/form/switch.svg.js +3 -3
- package/lib/icons/form/tabs-transfer.svg.js +3 -3
- package/lib/icons/form/textarea.svg.js +3 -3
- package/lib/icons/form/transfer.svg.js +3 -3
- package/lib/icons/form/tree-select.svg.js +3 -3
- package/lib/icons/form/uuid.svg.js +3 -3
- package/lib/icons/index.js +3 -3
- package/lib/icons/layout/layout-1with2.svg.js +3 -3
- package/lib/icons/layout/layout-2cols.svg.js +3 -3
- package/lib/icons/layout/layout-2row.svg.js +3 -3
- package/lib/icons/layout/layout-2with1.svg.js +3 -3
- package/lib/icons/layout/layout-3cols.svg.js +3 -3
- package/lib/icons/layout/layout-3row.svg.js +3 -3
- package/lib/icons/layout/layout-absolute.svg.js +3 -3
- package/lib/icons/layout/layout-fixed-top.svg.js +3 -3
- package/lib/icons/layout/layout-fixed.svg.js +3 -3
- package/lib/icons/layout/layout-free-container.svg.js +3 -3
- package/lib/icons/layout/layout-full.svg.js +3 -3
- package/lib/icons/layout/layout1-2.svg.js +3 -3
- package/lib/icons/layout/layout2-1.svg.js +3 -3
- package/lib/icons/layout/layout3-1.svg.js +3 -3
- package/lib/icons/layout/layout3-2.svg.js +3 -3
- package/lib/icons/other/_fx.svg.js +3 -3
- package/lib/icons/other/divider.svg.js +3 -3
- package/lib/icons/other/fx.svg.js +3 -3
- package/lib/icons/other/modal-setting.svg.js +3 -3
- package/lib/icons/other/property-sheet.svg.js +3 -3
- package/lib/icons/other/tooltip.svg.js +3 -3
- package/lib/icons/show/URL.svg.js +3 -3
- package/lib/icons/show/avatar.svg.js +3 -3
- package/lib/icons/show/breadcrumb.svg.js +3 -3
- package/lib/icons/show/card.svg.js +3 -3
- package/lib/icons/show/cards.svg.js +3 -3
- package/lib/icons/show/carousel.svg.js +3 -3
- package/lib/icons/show/chart.svg.js +3 -3
- package/lib/icons/show/code.svg.js +3 -3
- package/lib/icons/show/date.svg.js +3 -3
- package/lib/icons/show/datetime.svg.js +3 -3
- package/lib/icons/show/image.svg.js +3 -3
- package/lib/icons/show/images.svg.js +3 -3
- package/lib/icons/show/json-view.svg.js +3 -3
- package/lib/icons/show/list.svg.js +3 -3
- package/lib/icons/show/log.svg.js +3 -3
- package/lib/icons/show/mapping.svg.js +3 -3
- package/lib/icons/show/markdown.svg.js +3 -3
- package/lib/icons/show/plain.svg.js +3 -3
- package/lib/icons/show/progress.svg.js +3 -3
- package/lib/icons/show/sparkline.svg.js +3 -3
- package/lib/icons/show/status.svg.js +3 -3
- package/lib/icons/show/steps.svg.js +3 -3
- package/lib/icons/show/time.svg.js +3 -3
- package/lib/icons/theme/css.svg.js +3 -3
- package/lib/index.d.ts +3 -0
- package/lib/index.js +6 -3
- package/lib/locale/en-US.js +3 -3
- package/lib/locale/zh-CN.js +3 -3
- package/lib/plugin/Alert.js +3 -3
- package/lib/plugin/AnchorNav.js +3 -3
- package/lib/plugin/Audio.js +3 -3
- package/lib/plugin/Avatar.js +3 -3
- package/lib/plugin/Breadcrumb.js +3 -3
- package/lib/plugin/Button.js +18 -9
- package/lib/plugin/ButtonGroup.js +3 -3
- package/lib/plugin/CRUD.js +3 -3
- package/lib/plugin/CRUD2/BaseCRUD.js +10 -4
- package/lib/plugin/CRUD2/CRUDTable.js +3 -3
- package/lib/plugin/CRUD2/constants.js +3 -3
- package/lib/plugin/CRUD2/utils.js +3 -3
- package/lib/plugin/Calendar.js +3 -3
- package/lib/plugin/Card.js +3 -3
- package/lib/plugin/Card2.js +3 -3
- package/lib/plugin/Cards.js +3 -3
- package/lib/plugin/Carousel.js +3 -3
- package/lib/plugin/Chart.js +3 -3
- package/lib/plugin/CodeView.js +3 -3
- package/lib/plugin/Collapse.js +3 -3
- package/lib/plugin/CollapseGroup.js +3 -3
- package/lib/plugin/ColumnToggler.js +3 -3
- package/lib/plugin/Container.js +3 -3
- package/lib/plugin/Custom.js +3 -3
- package/lib/plugin/CustomRegion.js +3 -3
- package/lib/plugin/Date.js +3 -3
- package/lib/plugin/Datetime.js +3 -3
- package/lib/plugin/Dialog.js +3 -3
- package/lib/plugin/Divider.js +3 -3
- package/lib/plugin/Drawer.js +3 -3
- package/lib/plugin/DropDownButton.js +3 -3
- package/lib/plugin/Each.js +3 -3
- package/lib/plugin/Flex.js +3 -3
- package/lib/plugin/Form/ButtonGroupSelect.js +3 -3
- package/lib/plugin/Form/ButtonToolbar.js +3 -3
- package/lib/plugin/Form/ChainedSelect.js +3 -3
- package/lib/plugin/Form/Checkbox.js +3 -3
- package/lib/plugin/Form/Checkboxes.js +3 -3
- package/lib/plugin/Form/CodeEditor.js +3 -3
- package/lib/plugin/Form/Combo.js +3 -3
- package/lib/plugin/Form/ConditionBuilder.js +3 -3
- package/lib/plugin/Form/Control.js +3 -3
- package/lib/plugin/Form/DiffEditor.js +3 -3
- package/lib/plugin/Form/FieldSet.js +3 -3
- package/lib/plugin/Form/Form.js +167 -14
- package/lib/plugin/Form/Formula.js +3 -3
- package/lib/plugin/Form/Group.js +3 -3
- package/lib/plugin/Form/Hidden.js +3 -3
- package/lib/plugin/Form/InputArray.js +3 -3
- package/lib/plugin/Form/InputCity.js +3 -3
- package/lib/plugin/Form/InputColor.js +3 -3
- package/lib/plugin/Form/InputDate.js +10 -4
- package/lib/plugin/Form/InputDateRange.js +10 -4
- package/lib/plugin/Form/InputDateTime.js +3 -3
- package/lib/plugin/Form/InputDateTimeRange.js +3 -3
- package/lib/plugin/Form/InputEmail.js +3 -3
- package/lib/plugin/Form/InputExcel.js +3 -3
- package/lib/plugin/Form/InputFile.js +3 -3
- package/lib/plugin/Form/InputGroup.js +3 -3
- package/lib/plugin/Form/InputImage.js +11 -11
- package/lib/plugin/Form/InputKV.js +3 -3
- package/lib/plugin/Form/InputMonth.js +3 -3
- package/lib/plugin/Form/InputMonthRange.js +3 -3
- package/lib/plugin/Form/InputNumber.js +5 -6
- package/lib/plugin/Form/InputPassword.js +3 -3
- package/lib/plugin/Form/InputQuarter.js +3 -3
- package/lib/plugin/Form/InputQuarterRange.js +3 -3
- package/lib/plugin/Form/InputRange.js +18 -7
- package/lib/plugin/Form/InputRating.js +3 -3
- package/lib/plugin/Form/InputRepeat.js +3 -3
- package/lib/plugin/Form/InputRichText.js +3 -3
- package/lib/plugin/Form/InputSignature.js +3 -3
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.js +3 -3
- package/lib/plugin/Form/InputTag.js +3 -3
- package/lib/plugin/Form/InputText.js +6 -8
- package/lib/plugin/Form/InputTime.js +3 -3
- package/lib/plugin/Form/InputTimeRange.js +3 -3
- package/lib/plugin/Form/InputTree.js +3 -3
- package/lib/plugin/Form/InputURL.js +3 -3
- package/lib/plugin/Form/InputYear.js +3 -3
- package/lib/plugin/Form/InputYearRange.js +3 -3
- package/lib/plugin/Form/Item.js +3 -3
- package/lib/plugin/Form/ListSelect.js +3 -3
- package/lib/plugin/Form/LocationPicker.js +3 -3
- package/lib/plugin/Form/MatrixCheckboxes.js +3 -3
- package/lib/plugin/Form/NestedSelect.js +3 -3
- package/lib/plugin/Form/Picker.js +16 -45
- package/lib/plugin/Form/Radios.js +3 -3
- package/lib/plugin/Form/Select.js +15 -8
- package/lib/plugin/Form/Static.js +3 -3
- package/lib/plugin/Form/Switch.js +3 -3
- package/lib/plugin/Form/TabsTransfer.js +3 -3
- package/lib/plugin/Form/Textarea.js +15 -10
- package/lib/plugin/Form/Transfer.js +3 -3
- package/lib/plugin/Form/TransferPicker.js +3 -3
- package/lib/plugin/Form/TreeSelect.js +3 -3
- package/lib/plugin/Form/UUID.js +3 -3
- package/lib/plugin/Grid.js +3 -3
- package/lib/plugin/HBox.js +3 -3
- package/lib/plugin/IFrame.js +3 -3
- package/lib/plugin/Icon.js +3 -3
- package/lib/plugin/Image.js +9 -7
- package/lib/plugin/Images.js +3 -3
- package/lib/plugin/Json.js +3 -3
- package/lib/plugin/Layout/FlexPluginBase.js +3 -3
- package/lib/plugin/Layout/Layout_fixed.js +3 -3
- package/lib/plugin/Layout/Layout_free_container.js +3 -3
- package/lib/plugin/Layout/Layout_sorption_container.js +3 -3
- package/lib/plugin/Link.js +3 -3
- package/lib/plugin/List.js +3 -3
- package/lib/plugin/List2.js +3 -3
- package/lib/plugin/ListItem.js +3 -3
- package/lib/plugin/Log.js +3 -3
- package/lib/plugin/Mapping.js +3 -3
- package/lib/plugin/Markdown.js +3 -3
- package/lib/plugin/Nav.js +3 -3
- package/lib/plugin/OfficeViewer.js +3 -3
- package/lib/plugin/Operation.js +3 -3
- package/lib/plugin/Others/Action.js +3 -3
- package/lib/plugin/Others/TableCell.js +58 -4
- package/lib/plugin/Page.js +3 -3
- package/lib/plugin/Pagination.js +3 -3
- package/lib/plugin/Panel.js +3 -3
- package/lib/plugin/PdfViewer.js +3 -3
- package/lib/plugin/Plain.js +3 -3
- package/lib/plugin/Progress.js +3 -3
- package/lib/plugin/Property.js +3 -3
- package/lib/plugin/QRCode.js +3 -3
- package/lib/plugin/Reset.js +3 -3
- package/lib/plugin/SearchBox.js +3 -3
- package/lib/plugin/Service.js +3 -3
- package/lib/plugin/Sparkline.js +3 -3
- package/lib/plugin/Status.js +3 -3
- package/lib/plugin/Steps.js +3 -3
- package/lib/plugin/Submit.js +3 -3
- package/lib/plugin/SwitchContainer.js +3 -3
- package/lib/plugin/Table.js +3 -3
- package/lib/plugin/Table2.js +100 -61
- package/lib/plugin/TableCell2.js +15 -10
- package/lib/plugin/TableView.js +3 -3
- package/lib/plugin/Tabs.js +3 -3
- package/lib/plugin/Tag.js +3 -3
- package/lib/plugin/Tasks.js +3 -3
- package/lib/plugin/Time.js +3 -3
- package/lib/plugin/Timeline.js +3 -3
- package/lib/plugin/TooltipWrapper.js +3 -3
- package/lib/plugin/Tpl.js +3 -3
- package/lib/plugin/Video.js +3 -3
- package/lib/plugin/WebComponent.js +3 -3
- package/lib/plugin/Wizard.js +3 -3
- package/lib/plugin/Wrapper.js +3 -3
- package/lib/renderer/APIAdaptorControl.js +3 -3
- package/lib/renderer/APIControl.js +3 -3
- package/lib/renderer/BadgeControl.d.ts +6 -6
- package/lib/renderer/BadgeControl.js +11 -9
- package/lib/renderer/ButtonGroupControl.js +3 -3
- package/lib/renderer/ConditionFormulaControl.js +3 -3
- package/lib/renderer/DataBindingControl.js +3 -3
- package/lib/renderer/DataMappingControl.js +3 -3
- package/lib/renderer/DataPickerControl.js +3 -3
- package/lib/renderer/DateShortCutControl.js +3 -3
- package/lib/renderer/ExpressionFormulaControl.js +3 -3
- package/lib/renderer/FeatureControl.js +3 -3
- package/lib/renderer/FieldSetting.js +3 -3
- package/lib/renderer/FlexSettingControl.js +3 -3
- package/lib/renderer/FormulaControl.js +6 -5
- package/lib/renderer/FunctionEditorControl.js +3 -3
- package/lib/renderer/GoConfigControl.js +3 -3
- package/lib/renderer/InputRangeValueControl.js +6 -4
- package/lib/renderer/KeyValueMapControl.js +3 -3
- package/lib/renderer/ListItemControl.js +3 -3
- package/lib/renderer/MapSourceControl.js +3 -3
- package/lib/renderer/NavBadgeControl.d.ts +4 -4
- package/lib/renderer/NavBadgeControl.js +3 -3
- package/lib/renderer/NavDefaultActive.js +3 -3
- package/lib/renderer/NavSourceControl.d.ts +1 -1
- package/lib/renderer/NavSourceControl.js +3 -3
- package/lib/renderer/OptionControl.js +3 -3
- package/lib/renderer/RangePartsControl.js +3 -3
- package/lib/renderer/StatusControl.js +3 -3
- package/lib/renderer/SwitchMoreControl.js +3 -3
- package/lib/renderer/TableColumnWidthControl.js +3 -3
- package/lib/renderer/TimelineItemControl.js +3 -3
- package/lib/renderer/TplFormulaControl.js +3 -3
- package/lib/renderer/TransferTableControl.js +3 -3
- package/lib/renderer/TreeOptionControl.js +3 -3
- package/lib/renderer/ValidateApiControl.js +3 -3
- package/lib/renderer/ValidationControl.d.ts +5 -0
- package/lib/renderer/ValidationControl.js +58 -4
- package/lib/renderer/ValidationItem.d.ts +2 -1
- package/lib/renderer/ValidationItem.js +20 -15
- package/lib/renderer/ValueFormatControl.js +3 -3
- package/lib/renderer/crud2-control/AddColumnModal.js +3 -3
- package/lib/renderer/crud2-control/CRUDColumnControl.js +3 -3
- package/lib/renderer/crud2-control/CRUDFiltersControl.js +3 -3
- package/lib/renderer/crud2-control/CRUDToolbarControl.js +3 -3
- package/lib/renderer/event-control/DialogActionPanel.js +13 -9
- package/lib/renderer/event-control/action-config-dialog.js +3 -3
- package/lib/renderer/event-control/action-config-panel.js +3 -3
- package/lib/renderer/event-control/comp-action-select.js +3 -3
- package/lib/renderer/event-control/helper.js +6 -6
- package/lib/renderer/event-control/index.js +8 -9
- package/lib/renderer/style-control/Background.js +3 -3
- package/lib/renderer/style-control/Border.js +3 -3
- package/lib/renderer/style-control/BoxModel.js +3 -3
- package/lib/renderer/style-control/BoxShadow.js +3 -3
- package/lib/renderer/style-control/ColCount.d.ts +5 -0
- package/lib/renderer/style-control/ColCount.js +61 -0
- package/lib/renderer/style-control/ColSize.d.ts +5 -0
- package/lib/renderer/style-control/ColSize.js +154 -0
- package/lib/renderer/style-control/Display.js +3 -3
- package/lib/renderer/style-control/FlexLayout.js +3 -3
- package/lib/renderer/style-control/Font.js +3 -3
- package/lib/renderer/style-control/InsetBoxModel.js +3 -3
- package/lib/renderer/style-control/LabelAlign.d.ts +5 -0
- package/lib/renderer/style-control/LabelAlign.js +76 -0
- package/lib/renderer/style-control/ThemeCssCode.js +3 -3
- package/lib/renderer/style-control/font-family.js +3 -3
- package/lib/renderer/style-control/helper.d.ts +4 -2
- package/lib/renderer/style-control/helper.js +34 -18
- package/lib/renderer/style-control/transformation.js +3 -3
- package/lib/renderer/textarea-formula/FormulaPicker.js +3 -3
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +3 -3
- package/lib/renderer/textarea-formula/plugin.js +3 -3
- package/lib/tpl/api.js +3 -3
- package/lib/tpl/common.js +22 -4
- package/lib/tpl/horizontal.js +3 -3
- package/lib/tpl/layout.js +3 -3
- package/lib/tpl/options.js +3 -3
- package/lib/tpl/remark.js +3 -3
- package/lib/tpl/style.js +115 -32
- package/lib/tpl/validations.js +3 -3
- package/lib/util.js +3 -3
- package/lib/validator.js +3 -3
- package/package.json +2 -2
package/lib/plugin/Form/Form.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -79,7 +79,13 @@ var FormPlugin = /** @class */function (_super) {
|
|
79
79
|
return !!(elem === null || elem === void 0 ? void 0 : elem.props.noValidate);
|
80
80
|
},
|
81
81
|
renderMethod: 'renderBody',
|
82
|
-
preferTag: i18nRuntime.i18n("55b45c73ae417c4dead67905b1550e85")
|
82
|
+
preferTag: i18nRuntime.i18n("55b45c73ae417c4dead67905b1550e85"),
|
83
|
+
dndMode: function (schema) {
|
84
|
+
if (schema.mode === 'flex') {
|
85
|
+
return 'flex';
|
86
|
+
}
|
87
|
+
return 'default';
|
88
|
+
}
|
83
89
|
}, {
|
84
90
|
label: i18nRuntime.i18n("e2b67a7f51c977887d2b3c2de2727509"),
|
85
91
|
key: 'actions',
|
@@ -617,19 +623,64 @@ var FormPlugin = /** @class */function (_super) {
|
|
617
623
|
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
618
624
|
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
619
625
|
title: i18nRuntime.i18n("5aefca559c5a41d10078e21e6d616825"),
|
620
|
-
body: [
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
626
|
+
body: [{
|
627
|
+
label: i18nRuntime.i18n("5aefca559c5a41d10078e21e6d616825"),
|
628
|
+
name: 'mode',
|
629
|
+
type: 'select',
|
630
|
+
pipeIn: amisEditorCore.defaultValue('flex'),
|
631
|
+
options: [{
|
632
|
+
label: '网格',
|
633
|
+
value: 'flex'
|
634
|
+
}, {
|
635
|
+
label: i18nRuntime.i18n("2dd25b8c21efbfee4a198787810d65d8"),
|
636
|
+
value: 'inline'
|
637
|
+
}, {
|
638
|
+
label: i18nRuntime.i18n("4cde06e6162ed66720e3133cb83bc059"),
|
639
|
+
value: 'horizontal'
|
640
|
+
}, {
|
641
|
+
label: i18nRuntime.i18n("75ac842f8e77305846f1d776f97dfaf8"),
|
642
|
+
value: 'normal'
|
643
|
+
}],
|
644
|
+
pipeOut: function (v) {
|
645
|
+
return v ? v : undefined;
|
646
|
+
},
|
647
|
+
onChange: function (value, oldValue, model, form) {
|
648
|
+
var body = tslib.__spreadArray([], tslib.__read(form.data.body), false);
|
649
|
+
var temp = body;
|
650
|
+
if (value === 'flex') {
|
651
|
+
temp = body === null || body === void 0 ? void 0 : body.map(function (item, index) {
|
652
|
+
return tslib.__assign(tslib.__assign({}, item), {
|
653
|
+
row: index,
|
654
|
+
mode: undefined
|
655
|
+
});
|
656
|
+
});
|
657
|
+
} else {
|
658
|
+
temp = body === null || body === void 0 ? void 0 : body.map(function (item, index) {
|
659
|
+
return tslib.__assign(tslib.__assign({}, item), {
|
660
|
+
row: undefined,
|
661
|
+
colSize: undefined,
|
662
|
+
labelAlign: undefined,
|
663
|
+
mode: undefined
|
664
|
+
});
|
665
|
+
});
|
666
|
+
}
|
667
|
+
form.setValueByName('body', temp);
|
668
|
+
}
|
669
|
+
}, {
|
670
|
+
type: 'col-count',
|
671
|
+
name: '__rolCount',
|
672
|
+
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("eb22d47f16f92e6f621c2b9d87119303"), '仅对PC页面生效'),
|
673
|
+
visibleOn: 'this.mode === "flex"'
|
674
|
+
}, {
|
625
675
|
label: i18nRuntime.i18n("eb22d47f16f92e6f621c2b9d87119303"),
|
626
676
|
name: 'columnCount',
|
627
677
|
type: 'input-number',
|
628
678
|
step: 1,
|
629
|
-
min:
|
679
|
+
min: 1,
|
630
680
|
precision: 0,
|
631
681
|
resetValue: '',
|
632
682
|
unitOptions: [i18nRuntime.i18n("cb2f68c9c24e85d21e6b090b6e5657d8")],
|
683
|
+
hiddenOn: 'this.mode === "flex"',
|
633
684
|
pipeOut: function (value) {
|
634
685
|
if (value && typeof value === 'string') {
|
635
686
|
var count = Number.parseInt(value === null || value === void 0 ? void 0 : value.replace(/\D+/g, ''), 10);
|
@@ -640,10 +691,7 @@ var FormPlugin = /** @class */function (_super) {
|
|
640
691
|
return undefined;
|
641
692
|
}
|
642
693
|
}
|
643
|
-
}
|
644
|
-
}, {
|
645
|
-
title: i18nRuntime.i18n("0d98c74797e49d00bcc4c17c9d557a2b"),
|
646
|
-
body: [amisEditorCore.getSchemaTpl('switch', {
|
694
|
+
}, amisEditorCore.getSchemaTpl('switch', {
|
647
695
|
name: 'wrapWithPanel',
|
648
696
|
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("6bde56d911167d0f47aae6bab762cd70"), i18nRuntime.i18n("1cb01363e2463443bc8105f544ce2736")),
|
649
697
|
pipeIn: amisEditorCore.defaultValue(true)
|
@@ -652,6 +700,111 @@ var FormPlugin = /** @class */function (_super) {
|
|
652
700
|
label: amisEditorCore.tipedLabel(i18nRuntime.i18n("019078f52f120a70fc23d94ccd364200"), i18nRuntime.i18n("f9e5a5377c1f56f1d09ae2bc58bd2d5b")),
|
653
701
|
visibleOn: isWrapped
|
654
702
|
})]
|
703
|
+
}, amisEditorCore.getSchemaTpl('theme:base', {
|
704
|
+
classname: 'formControlClassName',
|
705
|
+
title: '表单样式',
|
706
|
+
needState: false,
|
707
|
+
hiddenOn: isWrapped
|
708
|
+
}), amisEditorCore.getSchemaTpl('theme:base', {
|
709
|
+
classname: 'panelClassName',
|
710
|
+
title: 'Panel样式',
|
711
|
+
editorValueToken: '--Panel',
|
712
|
+
hidePadding: true,
|
713
|
+
needState: false,
|
714
|
+
visibleOn: isWrapped
|
715
|
+
}), amisEditorCore.getSchemaTpl('theme:base', {
|
716
|
+
classname: 'headerControlClassName',
|
717
|
+
title: '标题区样式',
|
718
|
+
visibleOn: isWrapped,
|
719
|
+
editorValueToken: '--Panel-heading',
|
720
|
+
hideRadius: true,
|
721
|
+
hideShadow: true,
|
722
|
+
hideMargin: true,
|
723
|
+
needState: false,
|
724
|
+
extra: [amisEditorCore.getSchemaTpl('theme:font', {
|
725
|
+
name: 'themeCss.headerTitleControlClassName.font',
|
726
|
+
editorValueToken: '--Panel-heading'
|
727
|
+
})]
|
728
|
+
}), amisEditorCore.getSchemaTpl('theme:base', {
|
729
|
+
classname: 'bodyControlClassName',
|
730
|
+
title: i18nRuntime.i18n("4e74ff55b36a0f35d511a761c264fce3"),
|
731
|
+
editorValueToken: '--Panel-body',
|
732
|
+
hideRadius: true,
|
733
|
+
hideShadow: true,
|
734
|
+
hideBorder: true,
|
735
|
+
hideMargin: true,
|
736
|
+
hideBackground: true,
|
737
|
+
needState: false,
|
738
|
+
visibleOn: isWrapped
|
739
|
+
}), {
|
740
|
+
title: '表单项样式',
|
741
|
+
body: [{
|
742
|
+
type: 'select',
|
743
|
+
name: 'labelAlign',
|
744
|
+
label: i18nRuntime.i18n("3a8647306ee6456517b7bf9c8bc7de23"),
|
745
|
+
selectFirst: true,
|
746
|
+
hiddenOn: 'this.mode === "normal" || this.mode === "inline" || this.mode === "horizontal"',
|
747
|
+
options: [{
|
748
|
+
label: '上下布局',
|
749
|
+
value: 'top'
|
750
|
+
}, {
|
751
|
+
label: '水平居左',
|
752
|
+
value: 'left'
|
753
|
+
}, {
|
754
|
+
label: '水平居右',
|
755
|
+
value: 'right'
|
756
|
+
}]
|
757
|
+
}, {
|
758
|
+
type: 'select',
|
759
|
+
name: 'labelAlign',
|
760
|
+
label: i18nRuntime.i18n("3a8647306ee6456517b7bf9c8bc7de23"),
|
761
|
+
selectFirst: true,
|
762
|
+
hiddenOn: 'this.mode === "normal" || this.mode === "inline" || this.mode === "flex"',
|
763
|
+
options: [{
|
764
|
+
label: '水平居左',
|
765
|
+
value: 'left'
|
766
|
+
}, {
|
767
|
+
label: '水平居右',
|
768
|
+
value: 'right'
|
769
|
+
}]
|
770
|
+
}, amisEditorCore.getSchemaTpl('theme:select', {
|
771
|
+
label: i18nRuntime.i18n("73ec114993142f627ab6c3e6706fa3c3"),
|
772
|
+
name: 'labelWidth',
|
773
|
+
hiddenOn: 'this.mode === "normal" || this.labelAlign === "top"'
|
774
|
+
}), amisEditorCore.getSchemaTpl('theme:font', {
|
775
|
+
label: i18nRuntime.i18n("eded9ed93a453c3f790126e30b776a22"),
|
776
|
+
editorValueToken: '--Form-item',
|
777
|
+
hasSenior: false,
|
778
|
+
name: 'themeCss.itemLabelClassName.font'
|
779
|
+
}), amisEditorCore.getSchemaTpl('theme:paddingAndMargin', {
|
780
|
+
label: i18nRuntime.i18n("11d938eaa50cff1b7e59c64b891de73d"),
|
781
|
+
hidePadding: true,
|
782
|
+
name: 'themeCss.itemLabelClassName.padding-and-margin'
|
783
|
+
}), amisEditorCore.getSchemaTpl('theme:paddingAndMargin', {
|
784
|
+
label: '表单项边距',
|
785
|
+
hidePadding: true,
|
786
|
+
name: 'themeCss.itemClassName.padding-and-margin'
|
787
|
+
}), amisEditorCore.getSchemaTpl('theme:font', {
|
788
|
+
label: '静态展示文字',
|
789
|
+
editorValueToken: '--Form-static',
|
790
|
+
name: 'themeCss.staticClassName.font',
|
791
|
+
visibleOn: '!!this.static || !!this.staticOn'
|
792
|
+
})]
|
793
|
+
}, amisEditorCore.getSchemaTpl('theme:base', {
|
794
|
+
classname: 'actionsControlClassName',
|
795
|
+
title: '操作区样式',
|
796
|
+
editorValueToken: '--Panel-footer',
|
797
|
+
hideRadius: true,
|
798
|
+
hideShadow: true,
|
799
|
+
hideMargin: true,
|
800
|
+
needState: false,
|
801
|
+
visibleOn: isWrapped
|
802
|
+
}), {
|
803
|
+
title: i18nRuntime.i18n("f01c3cd99ecb0c534cc47081d3433c9f"),
|
804
|
+
body: [{
|
805
|
+
type: 'theme-cssCode',
|
806
|
+
label: false
|
807
|
+
}]
|
655
808
|
}, /** */
|
656
809
|
amisEditorCore.getSchemaTpl('style:classNames', {
|
657
810
|
isFormItem: false,
|
@@ -1051,4 +1204,4 @@ var FormPlugin = /** @class */function (_super) {
|
|
1051
1204
|
amisEditorCore.registerEditorPlugin(FormPlugin);
|
1052
1205
|
|
1053
1206
|
exports.FormPlugin = FormPlugin;
|
1054
|
-
window.amisEditorVersionInfo={version:'6.
|
1207
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -80,4 +80,4 @@ var FormulaControlPlugin = /** @class */function (_super) {
|
|
80
80
|
amisEditorCore.registerEditorPlugin(FormulaControlPlugin);
|
81
81
|
|
82
82
|
exports.FormulaControlPlugin = FormulaControlPlugin;
|
83
|
-
window.amisEditorVersionInfo={version:'6.
|
83
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
package/lib/plugin/Form/Group.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -215,4 +215,4 @@ var GroupControlPlugin = /** @class */function (_super) {
|
|
215
215
|
amisEditorCore.registerEditorPlugin(GroupControlPlugin);
|
216
216
|
|
217
217
|
exports.GroupControlPlugin = GroupControlPlugin;
|
218
|
-
window.amisEditorVersionInfo={version:'6.
|
218
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -55,4 +55,4 @@ var HiddenControlPlugin = /** @class */function (_super) {
|
|
55
55
|
amisEditorCore.registerEditorPlugin(HiddenControlPlugin);
|
56
56
|
|
57
57
|
exports.HiddenControlPlugin = HiddenControlPlugin;
|
58
|
-
window.amisEditorVersionInfo={version:'6.
|
58
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -183,4 +183,4 @@ var ArrayControlPlugin = /** @class */function (_super) {
|
|
183
183
|
amisEditorCore.registerEditorPlugin(ArrayControlPlugin);
|
184
184
|
|
185
185
|
exports.ArrayControlPlugin = ArrayControlPlugin;
|
186
|
-
window.amisEditorVersionInfo={version:'6.
|
186
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -228,4 +228,4 @@ var CityControlPlugin = /** @class */function (_super) {
|
|
228
228
|
amisEditorCore.registerEditorPlugin(CityControlPlugin);
|
229
229
|
|
230
230
|
exports.CityControlPlugin = CityControlPlugin;
|
231
|
-
window.amisEditorVersionInfo={version:'6.
|
231
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -258,4 +258,4 @@ var ColorControlPlugin = /** @class */function (_super) {
|
|
258
258
|
amisEditorCore.registerEditorPlugin(ColorControlPlugin);
|
259
259
|
|
260
260
|
exports.ColorControlPlugin = ColorControlPlugin;
|
261
|
-
window.amisEditorVersionInfo={version:'6.
|
261
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -292,7 +292,13 @@ var DateControlPlugin = /** @class */function (_super) {
|
|
292
292
|
}, amisEditorCore.getSchemaTpl('status', {
|
293
293
|
isFormItem: true
|
294
294
|
}), amisEditorCore.getSchemaTpl('validation', {
|
295
|
-
tag: validator.ValidatorTag.Date
|
295
|
+
tag: validator.ValidatorTag.Date,
|
296
|
+
rendererSchema: function (schema) {
|
297
|
+
return tslib.__assign(tslib.__assign({}, schema), {
|
298
|
+
label: i18nRuntime.i18n("2c8c25bb51dfd9ddfc74fd75a8a380a1"),
|
299
|
+
validateName: 'equals'
|
300
|
+
});
|
301
|
+
}
|
296
302
|
})], tslib.__assign(tslib.__assign({}, context === null || context === void 0 ? void 0 : context.schema), {
|
297
303
|
configTitle: 'props'
|
298
304
|
}))
|
@@ -339,4 +345,4 @@ var DateControlPlugin = /** @class */function (_super) {
|
|
339
345
|
amisEditorCore.registerEditorPlugin(DateControlPlugin);
|
340
346
|
|
341
347
|
exports.DateControlPlugin = DateControlPlugin;
|
342
|
-
window.amisEditorVersionInfo={version:'6.
|
348
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -354,7 +354,13 @@ var DateRangeControlPlugin = /** @class */function (_super) {
|
|
354
354
|
}, amisEditorCore.getSchemaTpl('status', {
|
355
355
|
isFormItem: true
|
356
356
|
}), amisEditorCore.getSchemaTpl('validation', {
|
357
|
-
tag: validator.ValidatorTag.Date
|
357
|
+
tag: validator.ValidatorTag.Date,
|
358
|
+
rendererSchema: function (schema) {
|
359
|
+
return tslib.__assign(tslib.__assign({}, schema), {
|
360
|
+
label: i18nRuntime.i18n("2c8c25bb51dfd9ddfc74fd75a8a380a1"),
|
361
|
+
validateName: 'equals'
|
362
|
+
});
|
363
|
+
}
|
358
364
|
})], tslib.__assign(tslib.__assign({}, context === null || context === void 0 ? void 0 : context.schema), {
|
359
365
|
configTitle: 'props'
|
360
366
|
}))
|
@@ -410,4 +416,4 @@ var DateRangeControlPlugin = /** @class */function (_super) {
|
|
410
416
|
amisEditorCore.registerEditorPlugin(DateRangeControlPlugin);
|
411
417
|
|
412
418
|
exports.DateRangeControlPlugin = DateRangeControlPlugin;
|
413
|
-
window.amisEditorVersionInfo={version:'6.
|
419
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -50,4 +50,4 @@ var DateTimeControlPlugin = /** @class */function (_super) {
|
|
50
50
|
amisEditorCore.registerEditorPlugin(DateTimeControlPlugin);
|
51
51
|
|
52
52
|
exports.DateTimeControlPlugin = DateTimeControlPlugin;
|
53
|
-
window.amisEditorVersionInfo={version:'6.
|
53
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -50,4 +50,4 @@ var DateTimeRangeControlPlugin = /** @class */function (_super) {
|
|
50
50
|
amisEditorCore.registerEditorPlugin(DateTimeRangeControlPlugin);
|
51
51
|
|
52
52
|
exports.DateTimeRangeControlPlugin = DateTimeRangeControlPlugin;
|
53
|
-
window.amisEditorVersionInfo={version:'6.
|
53
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -47,4 +47,4 @@ var EmailControlPlugin = /** @class */function (_super) {
|
|
47
47
|
amisEditorCore.registerEditorPlugin(EmailControlPlugin);
|
48
48
|
|
49
49
|
exports.EmailControlPlugin = EmailControlPlugin;
|
50
|
-
window.amisEditorVersionInfo={version:'6.
|
50
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -117,4 +117,4 @@ var ExcelControlPlugin = /** @class */function (_super) {
|
|
117
117
|
amisEditorCore.registerEditorPlugin(ExcelControlPlugin);
|
118
118
|
|
119
119
|
exports.ExcelControlPlugin = ExcelControlPlugin;
|
120
|
-
window.amisEditorVersionInfo={version:'6.
|
120
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -334,4 +334,4 @@ var FileControlPlugin = /** @class */function (_super) {
|
|
334
334
|
amisEditorCore.registerEditorPlugin(FileControlPlugin);
|
335
335
|
|
336
336
|
exports.FileControlPlugin = FileControlPlugin;
|
337
|
-
window.amisEditorVersionInfo={version:'6.
|
337
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -94,4 +94,4 @@ var InputGroupControlPlugin = /** @class */function (_super) {
|
|
94
94
|
amisEditorCore.registerEditorPlugin(InputGroupControlPlugin);
|
95
95
|
|
96
96
|
exports.InputGroupControlPlugin = InputGroupControlPlugin;
|
97
|
-
window.amisEditorVersionInfo={version:'6.
|
97
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -16,18 +16,18 @@ var i18nRuntime = require('i18n-runtime');
|
|
16
16
|
|
17
17
|
var addBtnCssClassName = 'themeCss.addBtnControlClassName';
|
18
18
|
var IconCssClassName = 'themeCss.iconControlClassName';
|
19
|
-
var editorPath = 'inputImage
|
19
|
+
var editorPath = '--inputImage-base';
|
20
20
|
var inputStateFunc = function (visibleOn, state) {
|
21
21
|
return [amisEditorCore.getSchemaTpl('theme:border', {
|
22
22
|
name: "".concat(addBtnCssClassName, ".border:").concat(state),
|
23
23
|
visibleOn: visibleOn,
|
24
|
-
|
24
|
+
editorValueToken: "".concat(editorPath, "-").concat(state)
|
25
25
|
}), amisEditorCore.getSchemaTpl('theme:colorPicker', {
|
26
26
|
label: i18nRuntime.i18n("ca746b1ff10193a3ce20878dec04a733"),
|
27
27
|
name: "".concat(addBtnCssClassName, ".color:").concat(state),
|
28
28
|
labelMode: 'input',
|
29
29
|
visibleOn: visibleOn,
|
30
|
-
|
30
|
+
editorValueToken: "".concat(editorPath, "-").concat(state, "-color")
|
31
31
|
}), amisEditorCore.getSchemaTpl('theme:colorPicker', {
|
32
32
|
label: i18nRuntime.i18n("8e1b944f4389bdaab6f11d5bc83190c8"),
|
33
33
|
name: "".concat(addBtnCssClassName, ".background:").concat(state),
|
@@ -35,13 +35,13 @@ var inputStateFunc = function (visibleOn, state) {
|
|
35
35
|
needGradient: true,
|
36
36
|
needImage: true,
|
37
37
|
visibleOn: visibleOn,
|
38
|
-
|
38
|
+
editorValueToken: "".concat(editorPath, "-").concat(state, "-bg-color")
|
39
39
|
}), amisEditorCore.getSchemaTpl('theme:colorPicker', {
|
40
40
|
label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a"),
|
41
41
|
name: "".concat(addBtnCssClassName, ".icon-color:").concat(state),
|
42
42
|
labelMode: 'input',
|
43
43
|
visibleOn: visibleOn,
|
44
|
-
|
44
|
+
editorValueToken: "".concat(editorPath, "-").concat(state, "-icon-color")
|
45
45
|
})];
|
46
46
|
};
|
47
47
|
var ImageControlPlugin = /** @class */function (_super) {
|
@@ -391,7 +391,7 @@ var ImageControlPlugin = /** @class */function (_super) {
|
|
391
391
|
}], tslib.__read(inputStateFunc("${__editorState == 'default' || !__editorState}", 'default')), false), tslib.__read(inputStateFunc("${__editorState == 'hover'}", 'hover')), false), tslib.__read(inputStateFunc("${__editorState == 'active'}", 'active')), false), [amisEditorCore.getSchemaTpl('theme:radius', {
|
392
392
|
name: "".concat(addBtnCssClassName, ".border-radius"),
|
393
393
|
label: i18nRuntime.i18n("0103eb2d3dca70270d1a74e9ec987ac9"),
|
394
|
-
|
394
|
+
editorValueToken: "".concat(editorPath, "-default")
|
395
395
|
}), {
|
396
396
|
name: "".concat(addBtnCssClassName, ".--inputImage-base-default-icon"),
|
397
397
|
label: i18nRuntime.i18n("598f69a9b640508d8e124fd7d33131f0"),
|
@@ -400,11 +400,11 @@ var ImageControlPlugin = /** @class */function (_super) {
|
|
400
400
|
}, amisEditorCore.getSchemaTpl('theme:select', {
|
401
401
|
name: "".concat(IconCssClassName, ".iconSize"),
|
402
402
|
label: i18nRuntime.i18n("ef79da787ad206e5d5f8cf62e195c836"),
|
403
|
-
|
403
|
+
editorValueToken: "".concat(editorPath, "-default-icon-size")
|
404
404
|
}), amisEditorCore.getSchemaTpl('theme:select', {
|
405
405
|
name: "".concat(IconCssClassName, ".margin-bottom"),
|
406
406
|
label: i18nRuntime.i18n("ff58428ef8221c4c1bbf532dd3c77113"),
|
407
|
-
|
407
|
+
editorValueToken: "".concat(editorPath, "-default-icon-margin")
|
408
408
|
})], false)
|
409
409
|
}, amisEditorCore.getSchemaTpl('theme:cssCode', {
|
410
410
|
themeClass: [{
|
@@ -437,4 +437,4 @@ var ImageControlPlugin = /** @class */function (_super) {
|
|
437
437
|
amisEditorCore.registerEditorPlugin(ImageControlPlugin);
|
438
438
|
|
439
439
|
exports.ImageControlPlugin = ImageControlPlugin;
|
440
|
-
window.amisEditorVersionInfo={version:'6.
|
440
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -140,4 +140,4 @@ var KVControlPlugin = /** @class */function (_super) {
|
|
140
140
|
amisEditorCore.registerEditorPlugin(KVControlPlugin);
|
141
141
|
|
142
142
|
exports.KVControlPlugin = KVControlPlugin;
|
143
|
-
window.amisEditorVersionInfo={version:'6.
|
143
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -48,4 +48,4 @@ var MonthControlPlugin = /** @class */function (_super) {
|
|
48
48
|
amisEditorCore.registerEditorPlugin(MonthControlPlugin);
|
49
49
|
|
50
50
|
exports.MonthControlPlugin = MonthControlPlugin;
|
51
|
-
window.amisEditorVersionInfo={version:'6.
|
51
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -50,4 +50,4 @@ var MonthRangeControlPlugin = /** @class */function (_super) {
|
|
50
50
|
amisEditorCore.registerEditorPlugin(MonthRangeControlPlugin);
|
51
51
|
|
52
52
|
exports.MonthRangeControlPlugin = MonthRangeControlPlugin;
|
53
|
-
window.amisEditorVersionInfo={version:'6.
|
53
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -229,8 +229,7 @@ var NumberControlPlugin = /** @class */function (_super) {
|
|
229
229
|
}))
|
230
230
|
}, {
|
231
231
|
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
232
|
-
body: [amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('
|
233
|
-
renderer: context.info.renderer,
|
232
|
+
body: [amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('theme:formItem', {
|
234
233
|
schema: [{
|
235
234
|
label: i18nRuntime.i18n("8c80ed1f85135cc9153d0b7406ac5b38"),
|
236
235
|
name: 'displayMode',
|
@@ -246,7 +245,7 @@ var NumberControlPlugin = /** @class */function (_super) {
|
|
246
245
|
}]
|
247
246
|
}), amisEditorCore.getSchemaTpl('theme:form-label'), amisEditorCore.getSchemaTpl('theme:form-description'), {
|
248
247
|
title: i18nRuntime.i18n("bade9c4e0b8a75a251c1a2760571d3c3"),
|
249
|
-
body: tslib.__spreadArray([], tslib.__read(helper.inputStateTpl('themeCss.inputControlClassName', 'inputNumber
|
248
|
+
body: tslib.__spreadArray([], tslib.__read(helper.inputStateTpl('themeCss.inputControlClassName', '--inputNumber-${displayMode || "base"}')), false)
|
250
249
|
}, amisEditorCore.getSchemaTpl('theme:cssCode', {
|
251
250
|
themeClass: [{
|
252
251
|
name: i18nRuntime.i18n("53069052573de671c6e5108de745b036"),
|
@@ -282,4 +281,4 @@ var NumberControlPlugin = /** @class */function (_super) {
|
|
282
281
|
amisEditorCore.registerEditorPlugin(NumberControlPlugin);
|
283
282
|
|
284
283
|
exports.NumberControlPlugin = NumberControlPlugin;
|
285
|
-
window.amisEditorVersionInfo={version:'6.
|
284
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.7.0
|
3
|
+
* build time: 2024-08-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -47,4 +47,4 @@ var PasswordControlPlugin = /** @class */function (_super) {
|
|
47
47
|
amisEditorCore.registerEditorPlugin(PasswordControlPlugin);
|
48
48
|
|
49
49
|
exports.PasswordControlPlugin = PasswordControlPlugin;
|
50
|
-
window.amisEditorVersionInfo={version:'6.
|
50
|
+
window.amisEditorVersionInfo={version:'6.7.0',buildTime:'2024-08-06'};
|