amis-editor 6.2.2 → 6.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/builder/ApiDSBuilder.js +3 -3
- 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.d.ts +9 -0
- package/esm/component/ModalSettingPanel.js +49 -0
- 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 +23 -0
- 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 +7 -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 +24 -0
- package/esm/icons/other/property-sheet.svg.js +3 -3
- package/esm/icons/other/tooltip.svg.js +3 -3
- package/esm/icons/show/URL.svg.js +3 -3
- package/esm/icons/show/avatar.svg.js +3 -3
- package/esm/icons/show/breadcrumb.svg.js +3 -3
- package/esm/icons/show/card.svg.js +3 -3
- package/esm/icons/show/cards.svg.js +3 -3
- package/esm/icons/show/carousel.svg.js +3 -3
- package/esm/icons/show/chart.svg.js +3 -3
- package/esm/icons/show/code.svg.js +3 -3
- package/esm/icons/show/date.svg.js +3 -3
- package/esm/icons/show/datetime.svg.js +3 -3
- package/esm/icons/show/image.svg.js +3 -3
- package/esm/icons/show/images.svg.js +3 -3
- package/esm/icons/show/json-view.svg.js +3 -3
- package/esm/icons/show/list.svg.js +3 -3
- package/esm/icons/show/log.svg.js +3 -3
- package/esm/icons/show/mapping.svg.js +3 -3
- package/esm/icons/show/markdown.svg.js +3 -3
- package/esm/icons/show/plain.svg.js +3 -3
- package/esm/icons/show/progress.svg.js +3 -3
- package/esm/icons/show/sparkline.svg.js +3 -3
- package/esm/icons/show/status.svg.js +3 -3
- package/esm/icons/show/steps.svg.js +3 -3
- package/esm/icons/show/time.svg.js +3 -3
- package/esm/icons/theme/css.svg.js +3 -3
- package/esm/index.d.ts +1 -0
- package/esm/index.js +7 -3
- package/esm/locale/en-US.js +4 -5
- package/esm/locale/zh-CN.js +4 -4
- 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 +5 -5
- package/esm/plugin/ButtonGroup.js +3 -3
- package/esm/plugin/CRUD.js +33 -16
- package/esm/plugin/CRUD2/BaseCRUD.js +10 -6
- 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 +4 -4
- package/esm/plugin/Card.js +3 -3
- package/esm/plugin/Card2.js +3 -3
- package/esm/plugin/Cards.js +7 -4
- 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.d.ts +14 -1
- package/esm/plugin/Container.js +241 -35
- 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.d.ts +4 -7
- package/esm/plugin/Dialog.js +105 -20
- package/esm/plugin/Divider.js +3 -3
- package/esm/plugin/Drawer.d.ts +1 -6
- package/esm/plugin/Drawer.js +34 -10
- package/esm/plugin/DropDownButton.js +3 -3
- package/esm/plugin/Each.js +9 -6
- package/esm/plugin/Flex.js +3 -3
- package/esm/plugin/Form/ButtonGroupSelect.js +4 -4
- package/esm/plugin/Form/ButtonToolbar.js +3 -3
- package/esm/plugin/Form/ChainedSelect.js +4 -4
- package/esm/plugin/Form/Checkbox.js +4 -4
- package/esm/plugin/Form/Checkboxes.js +4 -4
- package/esm/plugin/Form/CodeEditor.js +4 -4
- package/esm/plugin/Form/Combo.js +47 -4
- package/esm/plugin/Form/ConditionBuilder.js +3 -3
- package/esm/plugin/Form/Control.js +3 -3
- package/esm/plugin/Form/DiffEditor.js +4 -4
- package/esm/plugin/Form/FieldSet.js +3 -3
- package/esm/plugin/Form/Form.js +3 -3
- 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 +4 -4
- package/esm/plugin/Form/InputDateRange.js +4 -4
- package/esm/plugin/Form/InputDateTime.js +3 -3
- package/esm/plugin/Form/InputDateTimeRange.js +3 -3
- package/esm/plugin/Form/InputEmail.js +3 -3
- package/esm/plugin/Form/InputExcel.js +4 -4
- package/esm/plugin/Form/InputFile.js +3 -3
- package/esm/plugin/Form/InputGroup.js +3 -3
- package/esm/plugin/Form/InputImage.js +5 -5
- package/esm/plugin/Form/InputKV.d.ts +1 -0
- package/esm/plugin/Form/InputKV.js +12 -4
- package/esm/plugin/Form/InputMonth.js +3 -3
- package/esm/plugin/Form/InputMonthRange.js +3 -3
- package/esm/plugin/Form/InputNumber.js +6 -4
- 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 +4 -4
- package/esm/plugin/Form/InputRating.js +4 -4
- package/esm/plugin/Form/InputRepeat.js +3 -3
- package/esm/plugin/Form/InputRichText.js +3 -3
- package/esm/plugin/Form/InputSignature.d.ts +32 -0
- package/esm/plugin/Form/InputSignature.js +166 -0
- package/esm/plugin/Form/InputSubForm.js +3 -3
- package/esm/plugin/Form/InputTable.js +77 -6
- package/esm/plugin/Form/InputTag.js +3 -3
- package/esm/plugin/Form/InputText.js +4 -4
- package/esm/plugin/Form/InputTime.js +3 -3
- package/esm/plugin/Form/InputTimeRange.js +3 -3
- package/esm/plugin/Form/InputTree.js +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 +4 -4
- package/esm/plugin/Form/LocationPicker.js +4 -4
- package/esm/plugin/Form/MatrixCheckboxes.js +3 -3
- package/esm/plugin/Form/NestedSelect.js +4 -4
- package/esm/plugin/Form/Picker.js +5 -5
- package/esm/plugin/Form/Radios.js +4 -4
- package/esm/plugin/Form/Select.js +4 -4
- package/esm/plugin/Form/Static.js +3 -3
- package/esm/plugin/Form/Switch.js +53 -27
- package/esm/plugin/Form/TabsTransfer.js +3 -3
- package/esm/plugin/Form/Textarea.js +4 -4
- package/esm/plugin/Form/Transfer.js +40 -7
- package/esm/plugin/Form/TransferPicker.d.ts +26 -0
- package/esm/plugin/Form/TransferPicker.js +57 -0
- 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 +4 -3
- package/esm/plugin/Images.js +3 -3
- package/esm/plugin/Json.js +3 -3
- package/esm/plugin/Layout/FlexPluginBase.d.ts +4 -8
- package/esm/plugin/Layout/FlexPluginBase.js +153 -20
- 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 +7 -4
- 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 +18 -16
- package/esm/plugin/Others/TableCell.js +3 -3
- 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.d.ts +23 -0
- package/esm/plugin/PdfViewer.js +85 -0
- 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 +23 -3
- package/esm/plugin/Table2.js +3 -3
- package/esm/plugin/TableCell2.js +6 -4
- package/esm/plugin/TableView.js +3 -3
- package/esm/plugin/Tabs.d.ts +2 -0
- package/esm/plugin/Tabs.js +7 -6
- 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/plugin/index.d.ts +3 -0
- package/esm/renderer/APIAdaptorControl.js +3 -3
- package/esm/renderer/APIControl.js +3 -3
- package/esm/renderer/BadgeControl.js +3 -3
- package/esm/renderer/ButtonGroupControl.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 +61 -35
- package/esm/renderer/FeatureControl.js +14 -12
- package/esm/renderer/FieldSetting.js +3 -3
- package/esm/renderer/FlexSettingControl.js +4 -4
- package/esm/renderer/FormulaControl.d.ts +6 -1
- package/esm/renderer/FormulaControl.js +71 -49
- package/esm/renderer/FunctionEditorControl.js +3 -3
- package/esm/renderer/GoConfigControl.js +3 -3
- package/esm/renderer/InputRangeValueControl.js +3 -3
- package/esm/renderer/KeyValueMapControl.js +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 +4 -5
- package/esm/renderer/SwitchMoreControl.js +3 -3
- package/esm/renderer/TableColumnWidthControl.js +3 -3
- package/esm/renderer/TimelineItemControl.js +4 -4
- package/esm/renderer/TplFormulaControl.js +34 -25
- package/esm/renderer/TransferTableControl.d.ts +1 -3
- package/esm/renderer/TransferTableControl.js +4 -3
- package/esm/renderer/TreeOptionControl.js +3 -3
- package/esm/renderer/ValidationControl.js +5 -4
- package/esm/renderer/ValidationItem.js +3 -3
- 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.d.ts +28 -0
- package/esm/renderer/event-control/DialogActionPanel.js +636 -0
- package/esm/renderer/event-control/action-config-dialog.d.ts +3 -0
- package/esm/renderer/event-control/action-config-dialog.js +11 -6
- 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 +107 -191
- package/esm/renderer/event-control/index.d.ts +7 -8
- package/esm/renderer/event-control/index.js +73 -112
- package/esm/renderer/style-control/Background.js +3 -3
- package/esm/renderer/style-control/Border.js +3 -3
- package/esm/renderer/style-control/BoxModel.js +3 -3
- package/esm/renderer/style-control/BoxShadow.js +3 -3
- package/esm/renderer/style-control/Display.js +3 -3
- package/esm/renderer/style-control/FlexLayout.d.ts +8 -0
- package/esm/renderer/style-control/FlexLayout.js +89 -0
- package/esm/renderer/style-control/Font.js +3 -3
- package/esm/renderer/style-control/InsetBoxModel.js +3 -3
- package/esm/renderer/style-control/ThemeCssCode.js +3 -3
- package/esm/renderer/style-control/font-family.js +3 -3
- package/esm/renderer/style-control/helper.js +5 -5
- package/esm/renderer/style-control/transformation.js +3 -3
- package/esm/renderer/textarea-formula/FormulaPicker.js +4 -4
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +5 -5
- package/esm/renderer/textarea-formula/plugin.js +3 -3
- package/esm/tpl/api.js +3 -3
- package/esm/tpl/common.js +45 -6
- package/esm/tpl/horizontal.js +3 -3
- package/esm/tpl/layout.js +34 -17
- package/esm/tpl/options.js +3 -3
- package/esm/tpl/remark.js +3 -3
- package/esm/tpl/style.js +13 -13
- package/esm/tpl/validations.js +3 -3
- package/esm/util.js +11 -4
- package/esm/validator.js +3 -3
- package/lib/builder/ApiDSBuilder.d.ts +8 -8
- package/lib/builder/ApiDSBuilder.js +3 -3
- package/lib/builder/DSBuilder.js +3 -3
- package/lib/builder/DSBuilderManager.js +3 -3
- package/lib/builder/constants.d.ts +1 -1
- package/lib/builder/constants.js +3 -3
- package/lib/builder/utils.js +3 -3
- package/lib/component/BaseControl.js +3 -3
- package/lib/component/InputComponentName.js +3 -3
- package/lib/component/ModalSettingPanel.d.ts +9 -0
- package/lib/component/ModalSettingPanel.js +57 -0
- 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 +47 -0
- 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 +7 -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 +48 -0
- package/lib/icons/other/property-sheet.svg.js +3 -3
- package/lib/icons/other/tooltip.svg.js +3 -3
- package/lib/icons/show/URL.svg.js +3 -3
- package/lib/icons/show/avatar.svg.js +3 -3
- package/lib/icons/show/breadcrumb.svg.js +3 -3
- package/lib/icons/show/card.svg.js +3 -3
- package/lib/icons/show/cards.svg.js +3 -3
- package/lib/icons/show/carousel.svg.js +3 -3
- package/lib/icons/show/chart.svg.js +3 -3
- package/lib/icons/show/code.svg.js +3 -3
- package/lib/icons/show/date.svg.js +3 -3
- package/lib/icons/show/datetime.svg.js +3 -3
- package/lib/icons/show/image.svg.js +3 -3
- package/lib/icons/show/images.svg.js +3 -3
- package/lib/icons/show/json-view.svg.js +3 -3
- package/lib/icons/show/list.svg.js +3 -3
- package/lib/icons/show/log.svg.js +3 -3
- package/lib/icons/show/mapping.svg.js +3 -3
- package/lib/icons/show/markdown.svg.js +3 -3
- package/lib/icons/show/plain.svg.js +3 -3
- package/lib/icons/show/progress.svg.js +3 -3
- package/lib/icons/show/sparkline.svg.js +3 -3
- package/lib/icons/show/status.svg.js +3 -3
- package/lib/icons/show/steps.svg.js +3 -3
- package/lib/icons/show/time.svg.js +3 -3
- package/lib/icons/theme/css.svg.js +3 -3
- package/lib/index.d.ts +1 -0
- package/lib/index.js +10 -3
- package/lib/locale/en-US.js +4 -5
- package/lib/locale/zh-CN.js +4 -4
- 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 +5 -5
- package/lib/plugin/ButtonGroup.js +3 -3
- package/lib/plugin/CRUD.js +33 -16
- package/lib/plugin/CRUD2/BaseCRUD.js +10 -6
- 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 +4 -4
- package/lib/plugin/Card.js +3 -3
- package/lib/plugin/Card2.js +3 -3
- package/lib/plugin/Cards.js +8 -4
- 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.d.ts +14 -1
- package/lib/plugin/Container.js +244 -34
- 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.d.ts +4 -7
- package/lib/plugin/Dialog.js +104 -18
- package/lib/plugin/Divider.js +3 -3
- package/lib/plugin/Drawer.d.ts +1 -6
- package/lib/plugin/Drawer.js +33 -9
- package/lib/plugin/DropDownButton.js +3 -3
- package/lib/plugin/Each.js +15 -7
- package/lib/plugin/Flex.js +3 -3
- package/lib/plugin/Form/ButtonGroupSelect.js +4 -4
- package/lib/plugin/Form/ButtonToolbar.js +3 -3
- package/lib/plugin/Form/ChainedSelect.js +4 -4
- package/lib/plugin/Form/Checkbox.js +4 -4
- package/lib/plugin/Form/Checkboxes.js +4 -4
- package/lib/plugin/Form/CodeEditor.js +4 -4
- package/lib/plugin/Form/Combo.js +47 -4
- package/lib/plugin/Form/ConditionBuilder.js +3 -3
- package/lib/plugin/Form/Control.js +3 -3
- package/lib/plugin/Form/DiffEditor.js +4 -4
- package/lib/plugin/Form/FieldSet.js +3 -3
- package/lib/plugin/Form/Form.js +3 -3
- 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 +4 -4
- package/lib/plugin/Form/InputDateRange.js +4 -4
- package/lib/plugin/Form/InputDateTime.js +3 -3
- package/lib/plugin/Form/InputDateTimeRange.js +3 -3
- package/lib/plugin/Form/InputEmail.js +3 -3
- package/lib/plugin/Form/InputExcel.js +4 -4
- package/lib/plugin/Form/InputFile.js +3 -3
- package/lib/plugin/Form/InputGroup.js +3 -3
- package/lib/plugin/Form/InputImage.js +5 -5
- package/lib/plugin/Form/InputKV.d.ts +1 -0
- package/lib/plugin/Form/InputKV.js +12 -4
- package/lib/plugin/Form/InputMonth.js +3 -3
- package/lib/plugin/Form/InputMonthRange.js +3 -3
- package/lib/plugin/Form/InputNumber.js +6 -4
- 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 +4 -4
- package/lib/plugin/Form/InputRating.js +4 -4
- package/lib/plugin/Form/InputRepeat.js +3 -3
- package/lib/plugin/Form/InputRichText.js +3 -3
- package/lib/plugin/Form/InputSignature.d.ts +32 -0
- package/lib/plugin/Form/InputSignature.js +170 -0
- package/lib/plugin/Form/InputSubForm.js +3 -3
- package/lib/plugin/Form/InputTable.js +77 -6
- package/lib/plugin/Form/InputTag.js +3 -3
- package/lib/plugin/Form/InputText.js +4 -4
- package/lib/plugin/Form/InputTime.js +3 -3
- package/lib/plugin/Form/InputTimeRange.js +3 -3
- package/lib/plugin/Form/InputTree.js +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 +4 -4
- package/lib/plugin/Form/LocationPicker.js +4 -4
- package/lib/plugin/Form/MatrixCheckboxes.js +3 -3
- package/lib/plugin/Form/NestedSelect.js +4 -4
- package/lib/plugin/Form/Picker.js +5 -5
- package/lib/plugin/Form/Radios.js +4 -4
- package/lib/plugin/Form/Select.js +4 -4
- package/lib/plugin/Form/Static.js +3 -3
- package/lib/plugin/Form/Switch.js +55 -25
- package/lib/plugin/Form/TabsTransfer.js +3 -3
- package/lib/plugin/Form/Textarea.js +4 -4
- package/lib/plugin/Form/Transfer.js +38 -5
- package/lib/plugin/Form/TransferPicker.d.ts +26 -0
- package/lib/plugin/Form/TransferPicker.js +61 -0
- 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 +4 -3
- package/lib/plugin/Images.js +3 -3
- package/lib/plugin/Json.js +3 -3
- package/lib/plugin/Layout/FlexPluginBase.d.ts +4 -8
- package/lib/plugin/Layout/FlexPluginBase.js +156 -19
- 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 +8 -4
- 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 +18 -16
- package/lib/plugin/Others/TableCell.js +3 -3
- 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.d.ts +23 -0
- package/lib/plugin/PdfViewer.js +89 -0
- 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 +23 -3
- package/lib/plugin/Table2.js +3 -3
- package/lib/plugin/TableCell2.js +6 -4
- package/lib/plugin/TableView.js +3 -3
- package/lib/plugin/Tabs.d.ts +2 -0
- package/lib/plugin/Tabs.js +7 -6
- 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/plugin/index.d.ts +3 -0
- package/lib/renderer/APIAdaptorControl.js +3 -3
- package/lib/renderer/APIControl.js +3 -3
- package/lib/renderer/BadgeControl.d.ts +2 -2
- package/lib/renderer/BadgeControl.js +3 -3
- package/lib/renderer/ButtonGroupControl.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 +59 -33
- package/lib/renderer/FeatureControl.js +15 -13
- package/lib/renderer/FieldSetting.js +3 -3
- package/lib/renderer/FlexSettingControl.js +4 -4
- package/lib/renderer/FormulaControl.d.ts +6 -1
- package/lib/renderer/FormulaControl.js +69 -47
- package/lib/renderer/FunctionEditorControl.js +3 -3
- package/lib/renderer/GoConfigControl.js +3 -3
- package/lib/renderer/InputRangeValueControl.js +3 -3
- package/lib/renderer/KeyValueMapControl.js +3 -3
- package/lib/renderer/ListItemControl.js +3 -3
- package/lib/renderer/MapSourceControl.js +3 -3
- package/lib/renderer/NavBadgeControl.d.ts +2 -2
- package/lib/renderer/NavBadgeControl.js +3 -3
- package/lib/renderer/NavDefaultActive.js +3 -3
- package/lib/renderer/NavSourceControl.js +3 -3
- package/lib/renderer/OptionControl.js +3 -3
- package/lib/renderer/RangePartsControl.js +3 -3
- package/lib/renderer/StatusControl.js +4 -5
- package/lib/renderer/SwitchMoreControl.js +3 -3
- package/lib/renderer/TableColumnWidthControl.js +3 -3
- package/lib/renderer/TimelineItemControl.js +4 -4
- package/lib/renderer/TplFormulaControl.js +34 -25
- package/lib/renderer/TransferTableControl.js +4 -3
- package/lib/renderer/TreeOptionControl.js +3 -3
- package/lib/renderer/ValidationControl.js +5 -4
- package/lib/renderer/ValidationItem.js +3 -3
- 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.d.ts +28 -0
- package/lib/renderer/event-control/DialogActionPanel.js +644 -0
- package/lib/renderer/event-control/action-config-dialog.d.ts +3 -0
- package/lib/renderer/event-control/action-config-dialog.js +11 -6
- 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 +104 -188
- package/lib/renderer/event-control/index.d.ts +7 -8
- package/lib/renderer/event-control/index.js +73 -112
- package/lib/renderer/style-control/Background.js +3 -3
- package/lib/renderer/style-control/Border.js +3 -3
- package/lib/renderer/style-control/BoxModel.js +3 -3
- package/lib/renderer/style-control/BoxShadow.js +3 -3
- package/lib/renderer/style-control/Display.js +3 -3
- package/lib/renderer/style-control/FlexLayout.d.ts +8 -0
- package/lib/renderer/style-control/FlexLayout.js +96 -0
- package/lib/renderer/style-control/Font.js +3 -3
- package/lib/renderer/style-control/InsetBoxModel.js +3 -3
- package/lib/renderer/style-control/ThemeCssCode.js +3 -3
- package/lib/renderer/style-control/font-family.js +3 -3
- package/lib/renderer/style-control/helper.js +5 -5
- package/lib/renderer/style-control/transformation.js +3 -3
- package/lib/renderer/textarea-formula/FormulaPicker.js +5 -6
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +5 -5
- package/lib/renderer/textarea-formula/plugin.js +3 -3
- package/lib/tpl/api.js +3 -3
- package/lib/tpl/common.js +45 -6
- package/lib/tpl/horizontal.js +3 -3
- package/lib/tpl/layout.js +34 -17
- package/lib/tpl/options.js +3 -3
- package/lib/tpl/remark.js +3 -3
- package/lib/tpl/style.js +13 -13
- package/lib/tpl/validations.js +3 -3
- package/lib/util.js +11 -4
- package/lib/validator.js +3 -3
- package/package.json +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -159,4 +159,4 @@ var ColumnToggler = /** @class */function (_super) {
|
|
159
159
|
registerEditorPlugin(ColumnToggler);
|
160
160
|
|
161
161
|
export { ColumnToggler };
|
162
|
-
window.amisEditorVersionInfo={version:'6.
|
162
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { LayoutBasePlugin, RegionConfig, RendererPluginEvent } from 'amis-editor-core';
|
1
|
+
import { ActiveEventContext, LayoutBasePlugin, RegionConfig, PluginEvent, ResizeMoveEventContext, RendererPluginEvent } from 'amis-editor-core';
|
2
2
|
export declare class ContainerPlugin extends LayoutBasePlugin {
|
3
3
|
static id: string;
|
4
4
|
static scene: string[];
|
@@ -18,6 +18,10 @@ export declare class ContainerPlugin extends LayoutBasePlugin {
|
|
18
18
|
style: {
|
19
19
|
position: string;
|
20
20
|
display: string;
|
21
|
+
inset: string;
|
22
|
+
flexWrap: string;
|
23
|
+
flexDirection: string;
|
24
|
+
alignItems: string;
|
21
25
|
};
|
22
26
|
size: string;
|
23
27
|
wrapperBody: boolean;
|
@@ -28,6 +32,10 @@ export declare class ContainerPlugin extends LayoutBasePlugin {
|
|
28
32
|
style: {
|
29
33
|
position: string;
|
30
34
|
display: string;
|
35
|
+
inset: string;
|
36
|
+
flexWrap: string;
|
37
|
+
flexDirection: string;
|
38
|
+
alignItems: string;
|
31
39
|
};
|
32
40
|
size: string;
|
33
41
|
wrapperBody: boolean;
|
@@ -36,5 +44,10 @@ export declare class ContainerPlugin extends LayoutBasePlugin {
|
|
36
44
|
panelTitle: string;
|
37
45
|
panelJustify: boolean;
|
38
46
|
events: RendererPluginEvent[];
|
47
|
+
onActive(event: PluginEvent<ActiveEventContext>): void;
|
48
|
+
onWidthChangeStart(event: PluginEvent<ResizeMoveEventContext, {
|
49
|
+
onMove(e: MouseEvent): void;
|
50
|
+
onEnd(e: MouseEvent): void;
|
51
|
+
}>): void;
|
39
52
|
panelBodyCreator: (context: BaseEventContext) => any;
|
40
53
|
}
|
package/esm/plugin/Container.js
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
7
7
|
import { __extends, __assign, __spreadArray, __read } from 'tslib';
|
8
|
-
import
|
8
|
+
import React__default from 'react';
|
9
|
+
import { Button } from 'amis';
|
10
|
+
import { getSchemaTpl, Icon, LayoutBasePlugin, registerEditorPlugin } from 'amis-editor-core';
|
9
11
|
import '../renderer/event-control/index.js';
|
12
|
+
import { defaultFlexColumnSchema } from './Layout/FlexPluginBase.js';
|
10
13
|
import { i18n } from 'i18n-runtime';
|
11
14
|
import { getEventControlConfig } from '../renderer/event-control/helper.js';
|
12
15
|
|
@@ -30,8 +33,12 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
30
33
|
type: 'container',
|
31
34
|
body: [],
|
32
35
|
style: {
|
33
|
-
position: '
|
34
|
-
display: '
|
36
|
+
position: 'relative',
|
37
|
+
display: 'flex',
|
38
|
+
inset: 'auto',
|
39
|
+
flexWrap: 'nowrap',
|
40
|
+
flexDirection: 'column',
|
41
|
+
alignItems: 'flex-start'
|
35
42
|
},
|
36
43
|
size: 'none',
|
37
44
|
wrapperBody: false
|
@@ -102,14 +109,31 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
102
109
|
}
|
103
110
|
}]
|
104
111
|
}];
|
112
|
+
// onHeightChangeStart(
|
113
|
+
// event: PluginEvent<
|
114
|
+
// ResizeMoveEventContext,
|
115
|
+
// {
|
116
|
+
// onMove(e: MouseEvent): void;
|
117
|
+
// onEnd(e: MouseEvent): void;
|
118
|
+
// }
|
119
|
+
// >
|
120
|
+
// ) {
|
121
|
+
// // console.log('on height change start');
|
122
|
+
// // return this.onSizeChangeStart(event, 'vertical');
|
123
|
+
// }
|
105
124
|
_this.panelBodyCreator = function (context) {
|
106
|
-
var _a, _b;
|
125
|
+
var _a, _b, _c, _d;
|
107
126
|
var curRendererSchema = context === null || context === void 0 ? void 0 : context.schema;
|
108
127
|
(curRendererSchema === null || curRendererSchema === void 0 ? void 0 : curRendererSchema.direction) === 'row' || (curRendererSchema === null || curRendererSchema === void 0 ? void 0 : curRendererSchema.direction) === 'row-reverse';
|
109
128
|
// const isFlexContainer = this.manager?.isFlexContainer(context?.id);
|
110
129
|
var isFreeContainer = (curRendererSchema === null || curRendererSchema === void 0 ? void 0 : curRendererSchema.isFreeContainer) || false;
|
111
130
|
var isFlexItem = (_a = _this.manager) === null || _a === void 0 ? void 0 : _a.isFlexItem(context === null || context === void 0 ? void 0 : context.id);
|
112
131
|
var isFlexColumnItem = (_b = _this.manager) === null || _b === void 0 ? void 0 : _b.isFlexColumnItem(context === null || context === void 0 ? void 0 : context.id);
|
132
|
+
var node = context.node;
|
133
|
+
var parent = (_c = node.parent) === null || _c === void 0 ? void 0 : _c.schema;
|
134
|
+
var draggableContainer = _this.manager.draggableContainer(context === null || context === void 0 ? void 0 : context.id);
|
135
|
+
var canAppendSiblings = parent && isFlexItem && !draggableContainer && ((_d = _this.manager) === null || _d === void 0 ? void 0 : _d.canAppendSiblings());
|
136
|
+
var newItemSchema = isFlexColumnItem ? defaultFlexColumnSchema('', false) : defaultFlexColumnSchema();
|
113
137
|
var displayTpl = [getSchemaTpl('layout:display'), getSchemaTpl('layout:flex-setting', {
|
114
138
|
visibleOn: 'data.style && (data.style.display === "flex" || data.style.display === "inline-flex")',
|
115
139
|
direction: curRendererSchema.direction,
|
@@ -120,31 +144,83 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
120
144
|
})];
|
121
145
|
return getSchemaTpl('tabs', [{
|
122
146
|
title: i18n("24d67862f87f439db7ca957aecb77cce"),
|
123
|
-
body: getSchemaTpl('collapseGroup', [
|
147
|
+
body: getSchemaTpl('collapseGroup', [
|
148
|
+
// {
|
149
|
+
// title: '基本',
|
150
|
+
// body: [
|
151
|
+
// {
|
152
|
+
// name: 'wrapperComponent',
|
153
|
+
// label: '容器标签',
|
154
|
+
// type: 'select',
|
155
|
+
// searchable: true,
|
156
|
+
// options: [
|
157
|
+
// 'div',
|
158
|
+
// 'p',
|
159
|
+
// 'h1',
|
160
|
+
// 'h2',
|
161
|
+
// 'h3',
|
162
|
+
// 'h4',
|
163
|
+
// 'h5',
|
164
|
+
// 'h6',
|
165
|
+
// 'article',
|
166
|
+
// 'aside',
|
167
|
+
// 'code',
|
168
|
+
// 'footer',
|
169
|
+
// 'header',
|
170
|
+
// 'section'
|
171
|
+
// ],
|
172
|
+
// pipeIn: defaultValue('div'),
|
173
|
+
// validations: {
|
174
|
+
// isAlphanumeric: true,
|
175
|
+
// matchRegexp: '/^(?!.*script).*$/' // 禁用一下script标签
|
176
|
+
// },
|
177
|
+
// validationErrors: {
|
178
|
+
// isAlpha: 'HTML标签不合法,请重新输入',
|
179
|
+
// matchRegexp: 'HTML标签不合法,请重新输入'
|
180
|
+
// },
|
181
|
+
// validateOnChange: false
|
182
|
+
// },
|
183
|
+
// getSchemaTpl('layout:padding')
|
184
|
+
// ]
|
185
|
+
// },
|
186
|
+
{
|
124
187
|
title: i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
125
|
-
body: [{
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
},
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
188
|
+
body: __spreadArray(__spreadArray(__spreadArray([canAppendSiblings && {
|
189
|
+
type: 'wrapper',
|
190
|
+
size: 'none',
|
191
|
+
className: 'grid grid-cols-2 gap-4 mb-4',
|
192
|
+
body: [{
|
193
|
+
children: React__default.createElement(Button, {
|
194
|
+
size: "sm",
|
195
|
+
onClick: function () {
|
196
|
+
return _this.manager.appendSiblingSchema(newItemSchema, true, true);
|
197
|
+
}
|
198
|
+
}, React__default.createElement(Icon, {
|
199
|
+
className: "icon",
|
200
|
+
icon: isFlexColumnItem ? 'top-arrow-to-top' : 'left-arrow-to-left'
|
201
|
+
}), React__default.createElement("span", null, isFlexColumnItem ? i18n("14c495b1248756310c75396cd41f4fe9") : i18n("39a2cb79c6d9762783e20522ea86dcff"), "\u63D2\u5165\u4E00", isFlexColumnItem ? '行' : i18n("cb2f68c9c24e85d21e6b090b6e5657d8")))
|
202
|
+
}, {
|
203
|
+
children: React__default.createElement(Button, {
|
204
|
+
size: "sm",
|
205
|
+
onClick: function () {
|
206
|
+
return _this.manager.appendSiblingSchema(newItemSchema, false, true);
|
207
|
+
}
|
208
|
+
}, React__default.createElement(Icon, {
|
209
|
+
className: "icon",
|
210
|
+
icon: isFlexColumnItem ? 'arrow-to-bottom' : 'arrow-to-right'
|
211
|
+
}), React__default.createElement("span", null, isFlexColumnItem ? i18n("e33ac3a4c1a95a02a18f1555038804da") : i18n("de2a774bf98944b8f0ec8755d5f59d64"), "\u63D2\u5165\u4E00", isFlexColumnItem ? '行' : i18n("cb2f68c9c24e85d21e6b090b6e5657d8")))
|
212
|
+
}]
|
213
|
+
}, getSchemaTpl('theme:paddingAndMargin', {
|
214
|
+
name: 'themeCss.baseControlClassName.padding-and-margin:default'
|
215
|
+
}), getSchemaTpl('theme:border', {
|
216
|
+
name: "themeCss.baseControlClassName.border:default"
|
217
|
+
}), getSchemaTpl('theme:colorPicker', {
|
218
|
+
name: 'themeCss.baseControlClassName.background:default',
|
219
|
+
label: i18n("8e1b944f4389bdaab6f11d5bc83190c8"),
|
220
|
+
needCustom: true,
|
221
|
+
needGradient: true,
|
222
|
+
needImage: true,
|
223
|
+
labelMode: 'input'
|
148
224
|
})], __read(!isFreeContainer ? displayTpl : []), false), __read(isFlexItem ? [getSchemaTpl('layout:flex', {
|
149
225
|
isFlexColumnItem: isFlexColumnItem,
|
150
226
|
label: isFlexColumnItem ? i18n("f02f876ee64cc016d97fa4dc498d4857") : i18n("a170a375b264f7fe0c02a7ca8c268784"),
|
@@ -175,7 +251,10 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
175
251
|
}), getSchemaTpl('layout:isFixedWidth', {
|
176
252
|
visibleOn: "".concat(!isFlexItem || isFlexColumnItem),
|
177
253
|
onChange: function (value) {
|
178
|
-
|
254
|
+
var _a, _b;
|
255
|
+
if (!isFlexItem || ((_b = (_a = context.node.parent) === null || _a === void 0 ? void 0 : _a.children) === null || _b === void 0 ? void 0 : _b.length) > 1) {
|
256
|
+
context === null || context === void 0 ? void 0 : context.node.setWidthMutable(value);
|
257
|
+
}
|
179
258
|
}
|
180
259
|
}), getSchemaTpl('layout:width', {
|
181
260
|
visibleOn: "".concat(!isFlexItem || isFlexColumnItem)
|
@@ -189,10 +268,17 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
189
268
|
name: 'style.textAlign',
|
190
269
|
label: i18n("a3221d2d224767df4afa7a8653ded8fe"),
|
191
270
|
visibleOn: 'data.style && data.style.display !== "flex" && data.style.display !== "inline-flex"'
|
192
|
-
}) : null, getSchemaTpl('layout:z-index'),
|
271
|
+
}) : null, getSchemaTpl('layout:z-index')], false)
|
272
|
+
}, getSchemaTpl('status'), {
|
273
|
+
title: i18n("dfac151de712ab0b3618072c8a7f0a0f"),
|
274
|
+
body: [getSchemaTpl('layout:position', {
|
275
|
+
visibleOn: '!data.stickyStatus'
|
276
|
+
}), getSchemaTpl('layout:originPosition'), getSchemaTpl('layout:inset', {
|
277
|
+
mode: 'vertical'
|
278
|
+
}), getSchemaTpl('layout:sticky', {
|
193
279
|
visibleOn: 'data.style && (data.style.position !== "fixed" && data.style.position !== "absolute")'
|
194
|
-
}), getSchemaTpl('layout:stickyPosition')]
|
195
|
-
}
|
280
|
+
}), getSchemaTpl('layout:stickyPosition')]
|
281
|
+
}])
|
196
282
|
}, {
|
197
283
|
title: i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
198
284
|
className: 'p-none',
|
@@ -209,6 +295,126 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
209
295
|
};
|
210
296
|
return _this;
|
211
297
|
}
|
298
|
+
ContainerPlugin.prototype.onActive = function (event) {
|
299
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
300
|
+
var context = event.context;
|
301
|
+
if (((_a = context.info) === null || _a === void 0 ? void 0 : _a.plugin) !== this || !context.node) {
|
302
|
+
return;
|
303
|
+
}
|
304
|
+
var node = context.node;
|
305
|
+
var isFlexItem = (_b = this.manager) === null || _b === void 0 ? void 0 : _b.isFlexItem(node.id);
|
306
|
+
if (isFlexItem) {
|
307
|
+
var isColumnFlex = this.manager.isFlexColumnItem(node.id);
|
308
|
+
context === null || context === void 0 ? void 0 : context.node.setHeightMutable(((_c = node === null || node === void 0 ? void 0 : node.schema) === null || _c === void 0 ? void 0 : _c.isFixedHeight) && !isColumnFlex);
|
309
|
+
context === null || context === void 0 ? void 0 : context.node.setWidthMutable(!isColumnFlex && ((_e = (_d = context.node.parent) === null || _d === void 0 ? void 0 : _d.children) === null || _e === void 0 ? void 0 : _e.length) > 1 || ((_g = (_f = node.schema) === null || _f === void 0 ? void 0 : _f.style) === null || _g === void 0 ? void 0 : _g.flex) === '0 0 150px');
|
310
|
+
} else {
|
311
|
+
context === null || context === void 0 ? void 0 : context.node.setHeightMutable((_h = node.schema) === null || _h === void 0 ? void 0 : _h.isFixedHeight);
|
312
|
+
context === null || context === void 0 ? void 0 : context.node.setWidthMutable((_j = node.schema) === null || _j === void 0 ? void 0 : _j.isFixedWidth);
|
313
|
+
}
|
314
|
+
};
|
315
|
+
ContainerPlugin.prototype.onWidthChangeStart = function (event) {
|
316
|
+
var _a, _b, _c, _d, _e;
|
317
|
+
var context = event.context;
|
318
|
+
var node = context.node;
|
319
|
+
var host = node.host;
|
320
|
+
var dom = context.dom;
|
321
|
+
var parent = dom.parentElement;
|
322
|
+
if (!parent) {
|
323
|
+
return;
|
324
|
+
}
|
325
|
+
var resizer = context.resizer;
|
326
|
+
var frameRect = parent.getBoundingClientRect();
|
327
|
+
var rect = dom.getBoundingClientRect();
|
328
|
+
var isFlexItem = (_a = this.manager) === null || _a === void 0 ? void 0 : _a.isFlexItem(node.id);
|
329
|
+
var isColumnFlex = (_b = this.manager) === null || _b === void 0 ? void 0 : _b.isFlexColumnItem(node.id);
|
330
|
+
var schema = node.schema;
|
331
|
+
var index = node.index;
|
332
|
+
var isFlexSize = ((_c = schema.style) === null || _c === void 0 ? void 0 : _c.flex) === '1 1 auto' && (((_d = schema.style) === null || _d === void 0 ? void 0 : _d.position) === 'static' || ((_e = schema.style) === null || _e === void 0 ? void 0 : _e.position) === 'relative');
|
333
|
+
var flexGrow = 1;
|
334
|
+
var width = 0;
|
335
|
+
event.setData({
|
336
|
+
onMove: function (e) {
|
337
|
+
var _a;
|
338
|
+
var children = parent.children;
|
339
|
+
width = e.pageX - rect.left;
|
340
|
+
flexGrow = Math.max(1, Math.min(12, Math.round(12 * width / frameRect.width)));
|
341
|
+
resizer.setAttribute('data-value', isFlexSize ? "".concat(flexGrow) : width + 'px');
|
342
|
+
if (isFlexSize) {
|
343
|
+
// 需重新计算flex下各子组件占比,按照12等分计算
|
344
|
+
for (var i = 0; i < children.length; i++) {
|
345
|
+
if (i !== index) {
|
346
|
+
var width_1 = children[i].clientWidth;
|
347
|
+
if (width_1 > 0) {
|
348
|
+
var grow = Math.max(1, Math.min(12, Math.round(12 * width_1 / frameRect.width)));
|
349
|
+
(_a = host.children[i]) === null || _a === void 0 ? void 0 : _a.updateState({
|
350
|
+
style: __assign(__assign({}, host.children[i].schema.style), {
|
351
|
+
flexGrow: grow
|
352
|
+
})
|
353
|
+
});
|
354
|
+
}
|
355
|
+
} else {
|
356
|
+
node.updateState({
|
357
|
+
style: __assign(__assign({}, node.schema.style), {
|
358
|
+
flexGrow: +flexGrow
|
359
|
+
})
|
360
|
+
});
|
361
|
+
}
|
362
|
+
}
|
363
|
+
} else {
|
364
|
+
if (isFlexItem && !isColumnFlex) {
|
365
|
+
node.updateState({
|
366
|
+
style: __assign(__assign({}, node.schema.style), {
|
367
|
+
flex: '0 0 150px',
|
368
|
+
flexBasis: "".concat(width, "px")
|
369
|
+
})
|
370
|
+
});
|
371
|
+
} else {
|
372
|
+
node.updateState({
|
373
|
+
style: __assign(__assign({}, node.schema.style), {
|
374
|
+
width: "".concat(width, "px")
|
375
|
+
})
|
376
|
+
});
|
377
|
+
}
|
378
|
+
}
|
379
|
+
requestAnimationFrame(function () {
|
380
|
+
node.calculateHighlightBox();
|
381
|
+
});
|
382
|
+
},
|
383
|
+
onEnd: function () {
|
384
|
+
resizer.removeAttribute('data-value');
|
385
|
+
if (isFlexSize) {
|
386
|
+
host === null || host === void 0 ? void 0 : host.children.forEach(function (item) {
|
387
|
+
var _a, _b;
|
388
|
+
item.updateSchema({
|
389
|
+
style: __assign(__assign({}, node.schema.style), {
|
390
|
+
flexGrow: (_b = (_a = item.state.style) === null || _a === void 0 ? void 0 : _a.flexGrow) !== null && _b !== void 0 ? _b : 1
|
391
|
+
})
|
392
|
+
});
|
393
|
+
item.updateState({}, true);
|
394
|
+
});
|
395
|
+
} else {
|
396
|
+
if (isFlexItem && !isColumnFlex) {
|
397
|
+
node.updateSchema({
|
398
|
+
style: __assign(__assign({}, node.schema.style), {
|
399
|
+
flex: "0 0 150px",
|
400
|
+
flexBasis: "".concat(width, "px")
|
401
|
+
})
|
402
|
+
});
|
403
|
+
} else {
|
404
|
+
node.updateSchema({
|
405
|
+
style: __assign(__assign({}, node.schema.style), {
|
406
|
+
width: "".concat(width, "px")
|
407
|
+
})
|
408
|
+
});
|
409
|
+
}
|
410
|
+
node.updateState({}, true);
|
411
|
+
}
|
412
|
+
requestAnimationFrame(function () {
|
413
|
+
node.calculateHighlightBox();
|
414
|
+
});
|
415
|
+
}
|
416
|
+
});
|
417
|
+
};
|
212
418
|
ContainerPlugin.id = 'ContainerPlugin';
|
213
419
|
ContainerPlugin.scene = ['layout'];
|
214
420
|
return ContainerPlugin;
|
@@ -216,4 +422,4 @@ var ContainerPlugin = /** @class */function (_super) {
|
|
216
422
|
registerEditorPlugin(ContainerPlugin);
|
217
423
|
|
218
424
|
export { ContainerPlugin };
|
219
|
-
window.amisEditorVersionInfo={version:'6.
|
425
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
package/esm/plugin/Custom.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -96,4 +96,4 @@ var CustomPlugin = /** @class */function (_super) {
|
|
96
96
|
registerEditorPlugin(CustomPlugin);
|
97
97
|
|
98
98
|
export { CustomPlugin };
|
99
|
-
window.amisEditorVersionInfo={version:'6.
|
99
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -130,4 +130,4 @@ var CustomPlugin = /** @class */function (_super) {
|
|
130
130
|
registerEditorPlugin(CustomPlugin);
|
131
131
|
|
132
132
|
export { CustomPlugin };
|
133
|
-
window.amisEditorVersionInfo={version:'6.
|
133
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
package/esm/plugin/Date.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -93,4 +93,4 @@ var DatePlugin = /** @class */function (_super) {
|
|
93
93
|
registerEditorPlugin(DatePlugin);
|
94
94
|
|
95
95
|
export { DatePlugin };
|
96
|
-
window.amisEditorVersionInfo={version:'6.
|
96
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
package/esm/plugin/Datetime.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v6.
|
3
|
-
* build time: 2024-
|
2
|
+
* amis-editor v6.4.0
|
3
|
+
* build time: 2024-05-06
|
4
4
|
* Copyright 2018-2024 @fex
|
5
5
|
*/
|
6
6
|
|
@@ -143,4 +143,4 @@ var DatetimePlugin = /** @class */function (_super) {
|
|
143
143
|
registerEditorPlugin(DatetimePlugin);
|
144
144
|
|
145
145
|
export { DatetimePlugin };
|
146
|
-
window.amisEditorVersionInfo={version:'6.
|
146
|
+
window.amisEditorVersionInfo={version:'6.4.0',buildTime:'2024-05-06'};
|
package/esm/plugin/Dialog.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
import { BasePlugin, RegionConfig, EditorNodeType } from 'amis-editor-core';
|
2
|
+
import { BasePlugin, RegionConfig, EditorNodeType, BuildPanelEventContext, BasicPanelItem, PluginEvent, ChangeEventContext } from 'amis-editor-core';
|
3
3
|
import type { RendererConfig, Schema } from 'amis-core';
|
4
4
|
import { ModalProps } from 'amis-ui/src/components/Modal';
|
5
5
|
interface InlineModalProps extends ModalProps {
|
@@ -47,17 +47,14 @@ export declare class DialogPlugin extends BasePlugin {
|
|
47
47
|
panelTitle: string;
|
48
48
|
panelJustify: boolean;
|
49
49
|
panelBodyCreator: (context: BaseEventContext) => any;
|
50
|
+
afterUpdate(event: PluginEvent<ChangeEventContext>): void;
|
50
51
|
buildSubRenderers(): void;
|
51
|
-
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType): Promise<
|
52
|
-
$id: string;
|
53
|
-
type: string;
|
54
|
-
title: any;
|
55
|
-
properties: any;
|
56
|
-
}>;
|
52
|
+
buildDataSchemas(node: EditorNodeType, region?: EditorNodeType, trigger?: EditorNodeType): Promise<any>;
|
57
53
|
/**
|
58
54
|
* 为了让 dialog 的按钮可以点击编辑
|
59
55
|
*/
|
60
56
|
patchSchema(schema: Schema, info: RendererConfig, props?: any): any;
|
57
|
+
buildEditorPanel(context: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
|
61
58
|
}
|
62
59
|
export declare class InlineModal extends React.Component<InlineModalProps, any> {
|
63
60
|
componentDidMount(): void;
|