amis-editor 5.2.0-beta.2 → 5.2.1-beta.15
Sign up to get free protection for your applications and to get access to all the features.
- package/esm/component/BaseControl.d.ts +5 -810
- package/esm/component/BaseControl.js +33 -43
- package/esm/component/InputComponentName.js +1 -1
- package/esm/component/TableViewEditor.js +547 -454
- package/esm/icons/btn/btn-group.svg.js +1 -3
- package/esm/icons/btn/btn-select.svg.js +1 -3
- package/esm/icons/btn/btn-toolbar.svg.js +1 -3
- package/esm/icons/btn/button.svg.js +1 -3
- package/esm/icons/btn/dropdown-btn.svg.js +1 -3
- package/esm/icons/container/anchor-nav.svg.js +1 -3
- package/esm/icons/container/collapse.svg.js +1 -3
- package/esm/icons/container/container.svg.js +1 -3
- package/esm/icons/container/flex-container.svg.js +1 -3
- package/esm/icons/container/form-group.svg.js +1 -3
- package/esm/icons/container/grid.svg.js +1 -3
- package/esm/icons/container/iframe.svg.js +1 -3
- package/esm/icons/container/panel.svg.js +1 -3
- package/esm/icons/container/table-view.svg.js +1 -3
- package/esm/icons/container/tabs.svg.js +1 -3
- package/esm/icons/container/tooltip-wrapper.svg.js +1 -3
- package/esm/icons/container/web-component.svg.js +1 -3
- package/esm/icons/feat/audio.svg.js +1 -3
- package/esm/icons/feat/custom.svg.js +1 -3
- package/esm/icons/feat/each.svg.js +1 -3
- package/esm/icons/feat/form.svg.js +1 -3
- package/esm/icons/feat/nav.svg.js +1 -3
- package/esm/icons/feat/qrcode.svg.js +1 -3
- package/esm/icons/feat/service.svg.js +1 -3
- package/esm/icons/feat/table.svg.js +1 -3
- package/esm/icons/feat/tasks.svg.js +1 -3
- package/esm/icons/feat/video.svg.js +1 -3
- package/esm/icons/feat/wizard.svg.js +1 -3
- package/esm/icons/form/chained-select.svg.js +1 -3
- package/esm/icons/form/checkbox.svg.js +1 -3
- package/esm/icons/form/checkboxes.svg.js +1 -3
- package/esm/icons/form/combo.svg.js +1 -3
- package/esm/icons/form/condition-builder.svg.js +1 -3
- package/esm/icons/form/diff-editor.svg.js +1 -3
- package/esm/icons/form/editor.svg.js +1 -3
- package/esm/icons/form/formula.svg.js +1 -3
- package/esm/icons/form/hidden.svg.js +1 -3
- package/esm/icons/form/input-city.svg.js +1 -3
- package/esm/icons/form/input-color.svg.js +1 -3
- package/esm/icons/form/input-date-range.svg.js +1 -3
- package/esm/icons/form/input-date.svg.js +1 -3
- package/esm/icons/form/input-datetime.svg.js +1 -3
- package/esm/icons/form/input-email.svg.js +1 -3
- package/esm/icons/form/input-excel.svg.js +1 -3
- package/esm/icons/form/input-file.svg.js +1 -3
- package/esm/icons/form/input-group.svg.js +1 -3
- package/esm/icons/form/input-image.svg.js +1 -3
- package/esm/icons/form/input-kv.svg.js +1 -3
- package/esm/icons/form/input-month-range.svg.js +1 -3
- package/esm/icons/form/input-number.svg.js +1 -3
- package/esm/icons/form/input-password.svg.js +1 -3
- package/esm/icons/form/input-quarter-range.svg.js +1 -3
- package/esm/icons/form/input-range.svg.js +1 -3
- package/esm/icons/form/input-rating.svg.js +1 -3
- package/esm/icons/form/input-repeat.svg.js +1 -3
- package/esm/icons/form/input-rich-text.svg.js +1 -3
- package/esm/icons/form/input-tag.svg.js +1 -3
- package/esm/icons/form/input-text.svg.js +1 -3
- package/esm/icons/form/input-time-range.svg.js +1 -3
- package/esm/icons/form/input-time.svg.js +1 -3
- package/esm/icons/form/input-tree.svg.js +1 -3
- package/esm/icons/form/input-url.svg.js +1 -3
- package/esm/icons/form/input-year.svg.js +1 -3
- package/esm/icons/form/inputArray.svg.js +1 -3
- package/esm/icons/form/list-select.svg.js +1 -3
- package/esm/icons/form/location-picker.svg.js +1 -3
- package/esm/icons/form/matrix-checkboxes.svg.js +1 -3
- package/esm/icons/form/month.svg.js +1 -3
- package/esm/icons/form/nested-select.svg.js +1 -3
- package/esm/icons/form/picker.svg.js +1 -3
- package/esm/icons/form/quarter.svg.js +1 -3
- package/esm/icons/form/radios.svg.js +1 -3
- package/esm/icons/form/select.svg.js +1 -3
- package/esm/icons/form/static.svg.js +1 -3
- package/esm/icons/form/sub-form.svg.js +1 -3
- package/esm/icons/form/switch.svg.js +1 -3
- package/esm/icons/form/tabs-transfer.svg.js +1 -3
- package/esm/icons/form/textarea.svg.js +1 -3
- package/esm/icons/form/transfer.svg.js +1 -3
- package/esm/icons/form/tree-select.svg.js +1 -3
- package/esm/icons/form/uuid.svg.js +1 -3
- package/esm/icons/index.js +28 -1
- package/esm/icons/layout/layout-1with2.svg.js +32 -0
- package/esm/icons/layout/layout-2cols.svg.js +32 -0
- package/esm/icons/layout/layout-2row.svg.js +32 -0
- package/esm/icons/layout/layout-2with1.svg.js +33 -0
- package/esm/icons/layout/layout-3cols.svg.js +32 -0
- package/esm/icons/layout/layout-3row.svg.js +33 -0
- package/esm/icons/layout/layout-absolute.svg.js +27 -0
- package/esm/icons/layout/layout-fixed.svg.js +27 -0
- package/esm/icons/layout/layout-full.svg.js +49 -0
- package/esm/icons/layout/layout1-2.svg.js +33 -0
- package/esm/icons/layout/layout2-1.svg.js +33 -0
- package/esm/icons/layout/layout3-1.svg.js +33 -0
- package/esm/icons/layout/layout3-2.svg.js +33 -0
- package/esm/icons/other/divider.svg.js +1 -3
- package/esm/icons/other/property-sheet.svg.js +1 -3
- package/esm/icons/other/tooltip.svg.js +1 -3
- package/esm/icons/show/URL.svg.js +1 -3
- package/esm/icons/show/avatar.svg.js +1 -3
- package/esm/icons/show/breadcrumb.svg.js +1 -3
- package/esm/icons/show/card.svg.js +1 -3
- package/esm/icons/show/cards.svg.js +1 -3
- package/esm/icons/show/carousel.svg.js +1 -3
- package/esm/icons/show/chart.svg.js +1 -3
- package/esm/icons/show/code.svg.js +1 -3
- package/esm/icons/show/date.svg.js +1 -3
- package/esm/icons/show/datetime.svg.js +1 -3
- package/esm/icons/show/image.svg.js +1 -3
- package/esm/icons/show/images.svg.js +1 -3
- package/esm/icons/show/json-view.svg.js +1 -3
- package/esm/icons/show/list.svg.js +1 -3
- package/esm/icons/show/log.svg.js +1 -3
- package/esm/icons/show/mapping.svg.js +1 -3
- package/esm/icons/show/markdown.svg.js +1 -3
- package/esm/icons/show/plain.svg.js +1 -3
- package/esm/icons/show/progress.svg.js +1 -3
- package/esm/icons/show/sparkline.svg.js +1 -3
- package/esm/icons/show/status.svg.js +1 -3
- package/esm/icons/show/steps.svg.js +1 -3
- package/esm/icons/show/time.svg.js +1 -3
- package/esm/index.d.ts +11 -2
- package/esm/index.js +13 -3
- package/esm/locale/en-US.js +315 -102
- package/esm/locale/zh-CN.js +218 -3
- package/esm/plugin/Alert.d.ts +1 -1
- package/esm/plugin/Alert.js +157 -89
- package/esm/plugin/AnchorNav.js +337 -263
- package/esm/plugin/Audio.d.ts +1 -1
- package/esm/plugin/Audio.js +165 -112
- package/esm/plugin/Avatar.d.ts +1 -1
- package/esm/plugin/Avatar.js +301 -238
- package/esm/plugin/Breadcrumb.js +138 -75
- package/esm/plugin/Button.d.ts +1 -1
- package/esm/plugin/Button.js +310 -228
- package/esm/plugin/ButtonGroup.d.ts +1 -1
- package/esm/plugin/ButtonGroup.js +174 -106
- package/esm/plugin/CRUD.d.ts +1 -1
- package/esm/plugin/CRUD.js +1426 -1351
- package/esm/plugin/CRUD2.d.ts +2 -3
- package/esm/plugin/CRUD2.js +1146 -1075
- package/esm/plugin/Card.d.ts +1 -1
- package/esm/plugin/Card.js +284 -208
- package/esm/plugin/Card2.d.ts +2 -1
- package/esm/plugin/Card2.js +139 -74
- package/esm/plugin/Cards.js +302 -234
- package/esm/plugin/Carousel.d.ts +2 -2
- package/esm/plugin/Carousel.js +344 -281
- package/esm/plugin/Chart.d.ts +2 -1
- package/esm/plugin/Chart.js +326 -158
- package/esm/plugin/CodeView.js +104 -44
- package/esm/plugin/Collapse.d.ts +1 -1
- package/esm/plugin/Collapse.js +168 -101
- package/esm/plugin/CollapseGroup.d.ts +1 -1
- package/esm/plugin/CollapseGroup.js +249 -187
- package/esm/plugin/ColumnToggler.d.ts +1 -1
- package/esm/plugin/ColumnToggler.js +140 -87
- package/esm/plugin/Container.d.ts +11 -9
- package/esm/plugin/Container.js +190 -68
- package/esm/plugin/Custom.js +144 -82
- package/esm/plugin/CustomRegion.js +173 -110
- package/esm/plugin/Date.d.ts +1 -1
- package/esm/plugin/Date.js +112 -59
- package/esm/plugin/Datetime.d.ts +0 -1
- package/esm/plugin/Datetime.js +81 -53
- package/esm/plugin/Dialog.d.ts +2 -2
- package/esm/plugin/Dialog.js +230 -179
- package/esm/plugin/Divider.js +82 -32
- package/esm/plugin/Drawer.d.ts +11 -2
- package/esm/plugin/Drawer.js +260 -194
- package/esm/plugin/DropDownButton.js +261 -182
- package/esm/plugin/Each.js +180 -115
- package/esm/plugin/Flex.d.ts +2 -27
- package/esm/plugin/Flex.js +25 -159
- package/esm/plugin/Form/ButtonGroupSelect.d.ts +2 -1
- package/esm/plugin/Form/ButtonGroupSelect.js +205 -126
- package/esm/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/esm/plugin/Form/ButtonToolbar.js +168 -94
- package/esm/plugin/Form/ChainedSelect.d.ts +1 -1
- package/esm/plugin/Form/ChainedSelect.js +209 -130
- package/esm/plugin/Form/Checkbox.d.ts +1 -1
- package/esm/plugin/Form/Checkbox.js +208 -131
- package/esm/plugin/Form/Checkboxes.d.ts +1 -1
- package/esm/plugin/Form/Checkboxes.js +236 -153
- package/esm/plugin/Form/CodeEditor.d.ts +0 -1
- package/esm/plugin/Form/CodeEditor.js +245 -146
- package/esm/plugin/Form/Combo.js +532 -423
- package/esm/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/esm/plugin/Form/ConditionBuilder.js +287 -221
- package/esm/plugin/Form/Control.d.ts +1 -1
- package/esm/plugin/Form/Control.js +130 -63
- package/esm/plugin/Form/DiffEditor.d.ts +0 -1
- package/esm/plugin/Form/DiffEditor.js +253 -151
- package/esm/plugin/Form/FieldSet.d.ts +1 -1
- package/esm/plugin/Form/FieldSet.js +174 -112
- package/esm/plugin/Form/Form.d.ts +1 -1
- package/esm/plugin/Form/Form.js +750 -705
- package/esm/plugin/Form/Formula.d.ts +1 -9
- package/esm/plugin/Form/Formula.js +126 -62
- package/esm/plugin/Form/Group.js +250 -183
- package/esm/plugin/Form/Hidden.js +106 -42
- package/esm/plugin/Form/InputArray.js +233 -157
- package/esm/plugin/Form/InputCity.d.ts +1 -1
- package/esm/plugin/Form/InputCity.js +181 -104
- package/esm/plugin/Form/InputColor.d.ts +1 -1
- package/esm/plugin/Form/InputColor.js +296 -224
- package/esm/plugin/Form/InputDate.d.ts +1 -1
- package/esm/plugin/Form/InputDate.js +299 -189
- package/esm/plugin/Form/InputDateRange.d.ts +1 -1
- package/esm/plugin/Form/InputDateRange.js +386 -265
- package/esm/plugin/Form/InputDateTime.js +93 -33
- package/esm/plugin/Form/InputDateTimeRange.js +99 -34
- package/esm/plugin/Form/InputEmail.js +80 -30
- package/esm/plugin/Form/InputExcel.d.ts +1 -1
- package/esm/plugin/Form/InputExcel.js +164 -91
- package/esm/plugin/Form/InputFile.d.ts +4 -1
- package/esm/plugin/Form/InputFile.js +352 -271
- package/esm/plugin/Form/InputGroup.js +132 -73
- package/esm/plugin/Form/InputImage.d.ts +4 -1
- package/esm/plugin/Form/InputImage.js +385 -303
- package/esm/plugin/Form/InputKV.d.ts +1 -1
- package/esm/plugin/Form/InputKV.js +168 -94
- package/esm/plugin/Form/InputMonth.js +91 -31
- package/esm/plugin/Form/InputMonthRange.js +99 -34
- package/esm/plugin/Form/InputNumber.d.ts +2 -1
- package/esm/plugin/Form/InputNumber.js +288 -201
- package/esm/plugin/Form/InputPassword.js +80 -30
- package/esm/plugin/Form/InputQuarter.js +91 -31
- package/esm/plugin/Form/InputQuarterRange.js +99 -34
- package/esm/plugin/Form/InputRange.d.ts +1 -1
- package/esm/plugin/Form/InputRange.js +316 -237
- package/esm/plugin/Form/InputRating.d.ts +1 -1
- package/esm/plugin/Form/InputRating.js +361 -293
- package/esm/plugin/Form/InputRepeat.js +105 -45
- package/esm/plugin/Form/InputRichText.d.ts +2 -1
- package/esm/plugin/Form/InputRichText.js +211 -152
- package/esm/plugin/Form/InputSubForm.js +225 -157
- package/esm/plugin/Form/InputTable.d.ts +1 -1
- package/esm/plugin/Form/InputTable.js +385 -320
- package/esm/plugin/Form/InputTag.d.ts +1 -1
- package/esm/plugin/Form/InputTag.js +208 -119
- package/esm/plugin/Form/InputText.d.ts +1 -1
- package/esm/plugin/Form/InputText.js +348 -263
- package/esm/plugin/Form/InputTime.js +93 -33
- package/esm/plugin/Form/InputTimeRange.js +99 -34
- package/esm/plugin/Form/InputTree.d.ts +1 -1
- package/esm/plugin/Form/InputTree.js +460 -367
- package/esm/plugin/Form/InputURL.js +86 -31
- package/esm/plugin/Form/InputYear.js +91 -31
- package/esm/plugin/Form/InputYearRange.js +99 -34
- package/esm/plugin/Form/Item.d.ts +1 -1
- package/esm/plugin/Form/Item.js +214 -190
- package/esm/plugin/Form/ListSelect.d.ts +1 -1
- package/esm/plugin/Form/ListSelect.js +174 -96
- package/esm/plugin/Form/LocationPicker.d.ts +1 -1
- package/esm/plugin/Form/LocationPicker.js +115 -57
- package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/esm/plugin/Form/MatrixCheckboxes.js +247 -170
- package/esm/plugin/Form/NestedSelect.d.ts +1 -1
- package/esm/plugin/Form/NestedSelect.js +329 -246
- package/esm/plugin/Form/Picker.js +260 -178
- package/esm/plugin/Form/Radios.d.ts +1 -1
- package/esm/plugin/Form/Radios.js +228 -136
- package/esm/plugin/Form/Select.d.ts +1 -1
- package/esm/plugin/Form/Select.js +333 -228
- package/esm/plugin/Form/Static.d.ts +1 -1
- package/esm/plugin/Form/Static.js +358 -280
- package/esm/plugin/Form/Switch.d.ts +2 -1
- package/esm/plugin/Form/Switch.js +257 -172
- package/esm/plugin/Form/TabsTransfer.d.ts +1 -1
- package/esm/plugin/Form/TabsTransfer.js +316 -238
- package/esm/plugin/Form/Textarea.d.ts +0 -1
- package/esm/plugin/Form/Textarea.js +219 -130
- package/esm/plugin/Form/Transfer.d.ts +1 -1
- package/esm/plugin/Form/Transfer.js +349 -259
- package/esm/plugin/Form/TreeSelect.d.ts +2 -1
- package/esm/plugin/Form/TreeSelect.js +451 -363
- package/esm/plugin/Form/UUID.js +106 -42
- package/esm/plugin/Grid.d.ts +1 -1
- package/esm/plugin/Grid.js +629 -556
- package/esm/plugin/HBox.d.ts +1 -1
- package/esm/plugin/HBox.js +578 -508
- package/esm/plugin/IFrame.d.ts +2 -10
- package/esm/plugin/IFrame.js +127 -64
- package/esm/plugin/Image.d.ts +2 -2
- package/esm/plugin/Image.js +277 -218
- package/esm/plugin/Images.d.ts +3 -3
- package/esm/plugin/Images.js +214 -160
- package/esm/plugin/Json.d.ts +1 -1
- package/esm/plugin/Json.js +111 -53
- package/esm/plugin/Layout/FlexPluginBase.d.ts +40 -0
- package/esm/plugin/Layout/FlexPluginBase.js +327 -0
- package/esm/plugin/Layout/Layout1_2_v4.d.ts +10 -0
- package/esm/plugin/Layout/Layout1_2_v4.js +144 -0
- package/esm/plugin/Layout/Layout_fixed.d.ts +10 -0
- package/esm/plugin/Layout/Layout_fixed.js +76 -0
- package/esm/plugin/Layout/Layout_fixed_bottom.d.ts +10 -0
- package/esm/plugin/Layout/Layout_fixed_bottom.js +83 -0
- package/esm/plugin/Layout/Layout_fixed_top.d.ts +10 -0
- package/esm/plugin/Layout/Layout_fixed_top.js +82 -0
- package/esm/plugin/Layout/Layout_scroll_x.d.ts +10 -0
- package/esm/plugin/Layout/Layout_scroll_x.js +166 -0
- package/esm/plugin/Layout/Layout_scroll_y.d.ts +10 -0
- package/esm/plugin/Layout/Layout_scroll_y.js +154 -0
- package/esm/plugin/Link.js +132 -86
- package/esm/plugin/List.js +279 -208
- package/esm/plugin/ListItem.js +217 -176
- package/esm/plugin/Log.d.ts +1 -1
- package/esm/plugin/Log.js +102 -44
- package/esm/plugin/Mapping.d.ts +1 -1
- package/esm/plugin/Mapping.js +168 -115
- package/esm/plugin/Markdown.d.ts +1 -1
- package/esm/plugin/Markdown.js +98 -40
- package/esm/plugin/Nav.js +202 -139
- package/esm/plugin/Operation.d.ts +1 -1
- package/esm/plugin/Operation.js +116 -59
- package/esm/plugin/Others/Action.js +329 -317
- package/esm/plugin/Others/TableCell.d.ts +1 -1
- package/esm/plugin/Others/TableCell.js +341 -329
- package/esm/plugin/Page.d.ts +2 -3
- package/esm/plugin/Page.js +374 -283
- package/esm/plugin/Pagination.d.ts +2 -1
- package/esm/plugin/Pagination.js +299 -219
- package/esm/plugin/Panel.d.ts +1 -1
- package/esm/plugin/Panel.js +256 -190
- package/esm/plugin/Plain.d.ts +1 -1
- package/esm/plugin/Plain.js +126 -64
- package/esm/plugin/Progress.d.ts +3 -1
- package/esm/plugin/Progress.js +280 -202
- package/esm/plugin/Property.js +163 -103
- package/esm/plugin/QRCode.js +130 -70
- package/esm/plugin/Reset.js +61 -22
- package/esm/plugin/Service.d.ts +1 -1
- package/esm/plugin/Service.js +254 -167
- package/esm/plugin/Sparkline.js +91 -32
- package/esm/plugin/Status.d.ts +1 -1
- package/esm/plugin/Status.js +116 -58
- package/esm/plugin/Steps.js +153 -93
- package/esm/plugin/Submit.js +56 -22
- package/esm/plugin/Table.d.ts +1 -1
- package/esm/plugin/Table.js +595 -522
- package/esm/plugin/{Table-v2.d.ts → Table2.d.ts} +2 -2
- package/esm/plugin/Table2.js +887 -0
- package/{lib/plugin/TableCell-v2.d.ts → esm/plugin/TableCell2.d.ts} +1 -1
- package/esm/plugin/TableCell2.js +485 -0
- package/esm/plugin/TableView.js +648 -599
- package/esm/plugin/Tabs.d.ts +1 -1
- package/esm/plugin/Tabs.js +470 -360
- package/esm/plugin/Tasks.js +246 -186
- package/esm/plugin/Time.d.ts +0 -1
- package/esm/plugin/Time.js +81 -53
- package/esm/plugin/Timeline.d.ts +1 -1
- package/esm/plugin/Timeline.js +165 -92
- package/esm/plugin/TooltipWrapper.d.ts +1 -1
- package/esm/plugin/TooltipWrapper.js +265 -195
- package/esm/plugin/Tpl.d.ts +1 -1
- package/esm/plugin/Tpl.js +127 -62
- package/esm/plugin/Video.d.ts +2 -2
- package/esm/plugin/Video.js +173 -103
- package/esm/plugin/WebComponent.d.ts +1 -1
- package/esm/plugin/WebComponent.js +128 -62
- package/esm/plugin/Wizard.js +751 -659
- package/esm/plugin/Wrapper.d.ts +2 -1
- package/esm/plugin/Wrapper.js +198 -91
- package/esm/renderer/APIControl.d.ts +278 -5068
- package/esm/renderer/APIControl.js +662 -687
- package/esm/renderer/ActionApiControl.d.ts +8 -6384
- package/esm/renderer/BadgeControl.d.ts +2 -2
- package/esm/renderer/BadgeControl.js +263 -250
- package/esm/renderer/DataBindingControl.js +196 -211
- package/esm/renderer/DataMappingControl.js +39 -29
- package/esm/renderer/DataPickerControl.js +50 -35
- package/esm/renderer/DateShortCutControl.d.ts +26 -25
- package/esm/renderer/DateShortCutControl.js +420 -286
- package/esm/renderer/ExpressionFormulaControl.d.ts +45 -0
- package/esm/renderer/ExpressionFormulaControl.js +245 -0
- package/esm/renderer/FeatureControl.d.ts +1 -1
- package/esm/renderer/FeatureControl.js +228 -212
- package/esm/renderer/FormulaControl.d.ts +33 -16
- package/esm/renderer/FormulaControl.js +431 -355
- package/esm/renderer/GoConfigControl.js +30 -34
- package/esm/renderer/OptionControl.d.ts +2 -2
- package/esm/renderer/OptionControl.js +750 -688
- package/esm/renderer/RangePartsControl.d.ts +2 -2
- package/esm/renderer/RangePartsControl.js +320 -326
- package/esm/renderer/StatusControl.d.ts +1 -1
- package/esm/renderer/StatusControl.js +145 -136
- package/esm/renderer/SwitchMoreControl.d.ts +47 -31
- package/esm/renderer/SwitchMoreControl.js +366 -318
- package/esm/renderer/TimelineItemControl.d.ts +3 -83
- package/esm/renderer/TimelineItemControl.js +531 -464
- package/esm/renderer/TransferTableControl.d.ts +2 -4
- package/esm/renderer/TransferTableControl.js +394 -369
- package/esm/renderer/TreeOptionControl.d.ts +1 -1
- package/esm/renderer/TreeOptionControl.js +588 -563
- package/esm/renderer/ValidationControl.d.ts +1 -1
- package/esm/renderer/ValidationControl.js +277 -269
- package/esm/renderer/ValidationItem.d.ts +1 -1
- package/esm/renderer/ValidationItem.js +145 -134
- package/esm/renderer/event-control/action-config-dialog.js +214 -207
- package/esm/renderer/event-control/action-config-panel.js +37 -44
- package/esm/renderer/event-control/actions.js +466 -145
- package/esm/renderer/event-control/comp-action-select.js +37 -27
- package/esm/renderer/event-control/helper.d.ts +19 -19
- package/esm/renderer/event-control/helper.js +231 -221
- package/esm/renderer/event-control/index.d.ts +1 -1
- package/esm/renderer/event-control/index.js +641 -631
- package/esm/renderer/event-control/types.d.ts +1 -0
- package/esm/renderer/style-control/Background.js +64 -116
- package/esm/renderer/style-control/Border.js +27 -38
- package/esm/renderer/style-control/BoxModel.d.ts +1 -1
- package/esm/renderer/style-control/BoxModel.js +11 -4
- package/esm/renderer/style-control/BoxShadow.js +17 -19
- package/esm/renderer/style-control/Display.js +13 -17
- package/esm/renderer/style-control/Font.js +14 -17
- package/esm/renderer/style-control/InsetBoxModel.d.ts +17 -0
- package/esm/renderer/style-control/InsetBoxModel.js +69 -0
- package/esm/renderer/style-control/font-family.js +2 -3
- package/esm/renderer/style-control/transformation.js +1 -1
- package/esm/renderer/style-control/types.d.ts +4 -4
- package/esm/renderer/textarea-formula/FormulaPicker.d.ts +12 -0
- package/esm/renderer/textarea-formula/FormulaPicker.js +37 -0
- package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +67 -0
- package/esm/renderer/textarea-formula/TextareaFormulaControl.js +334 -0
- package/esm/renderer/textarea-formula/plugin.d.ts +32 -0
- package/esm/renderer/textarea-formula/plugin.js +273 -0
- package/esm/renderer/textarea-formula/utils.d.ts +12 -0
- package/esm/renderer/textarea-formula/utils.js +76 -0
- package/esm/tpl/api.js +26 -37
- package/esm/tpl/common.js +192 -114
- package/esm/tpl/horizontal.js +4 -6
- package/esm/tpl/index.d.ts +1 -0
- package/esm/tpl/layout.d.ts +1 -0
- package/esm/tpl/layout.js +708 -0
- package/esm/tpl/options.js +5 -22
- package/esm/tpl/style.js +18 -18
- package/esm/tpl/validations.js +9 -24
- package/esm/util.d.ts +47 -0
- package/esm/util.js +22 -0
- package/esm/validator.d.ts +1 -2
- package/esm/validator.js +11 -24
- package/lib/component/BaseControl.d.ts +5 -810
- package/lib/component/BaseControl.js +32 -42
- package/lib/component/InputComponentName.js +1 -1
- package/lib/component/TableViewEditor.js +547 -454
- package/lib/icons/btn/btn-group.svg.js +1 -3
- package/lib/icons/btn/btn-select.svg.js +1 -3
- package/lib/icons/btn/btn-toolbar.svg.js +1 -3
- package/lib/icons/btn/button.svg.js +1 -3
- package/lib/icons/btn/dropdown-btn.svg.js +1 -3
- package/lib/icons/container/anchor-nav.svg.js +1 -3
- package/lib/icons/container/collapse.svg.js +1 -3
- package/lib/icons/container/container.svg.js +1 -3
- package/lib/icons/container/flex-container.svg.js +1 -3
- package/lib/icons/container/form-group.svg.js +1 -3
- package/lib/icons/container/grid.svg.js +1 -3
- package/lib/icons/container/iframe.svg.js +1 -3
- package/lib/icons/container/panel.svg.js +1 -3
- package/lib/icons/container/table-view.svg.js +1 -3
- package/lib/icons/container/tabs.svg.js +1 -3
- package/lib/icons/container/tooltip-wrapper.svg.js +1 -3
- package/lib/icons/container/web-component.svg.js +1 -3
- package/lib/icons/feat/audio.svg.js +1 -3
- package/lib/icons/feat/custom.svg.js +1 -3
- package/lib/icons/feat/each.svg.js +1 -3
- package/lib/icons/feat/form.svg.js +1 -3
- package/lib/icons/feat/nav.svg.js +1 -3
- package/lib/icons/feat/qrcode.svg.js +1 -3
- package/lib/icons/feat/service.svg.js +1 -3
- package/lib/icons/feat/table.svg.js +1 -3
- package/lib/icons/feat/tasks.svg.js +1 -3
- package/lib/icons/feat/video.svg.js +1 -3
- package/lib/icons/feat/wizard.svg.js +1 -3
- package/lib/icons/form/chained-select.svg.js +1 -3
- package/lib/icons/form/checkbox.svg.js +1 -3
- package/lib/icons/form/checkboxes.svg.js +1 -3
- package/lib/icons/form/combo.svg.js +1 -3
- package/lib/icons/form/condition-builder.svg.js +1 -3
- package/lib/icons/form/diff-editor.svg.js +1 -3
- package/lib/icons/form/editor.svg.js +1 -3
- package/lib/icons/form/formula.svg.js +1 -3
- package/lib/icons/form/hidden.svg.js +1 -3
- package/lib/icons/form/input-city.svg.js +1 -3
- package/lib/icons/form/input-color.svg.js +1 -3
- package/lib/icons/form/input-date-range.svg.js +1 -3
- package/lib/icons/form/input-date.svg.js +1 -3
- package/lib/icons/form/input-datetime.svg.js +1 -3
- package/lib/icons/form/input-email.svg.js +1 -3
- package/lib/icons/form/input-excel.svg.js +1 -3
- package/lib/icons/form/input-file.svg.js +1 -3
- package/lib/icons/form/input-group.svg.js +1 -3
- package/lib/icons/form/input-image.svg.js +1 -3
- package/lib/icons/form/input-kv.svg.js +1 -3
- package/lib/icons/form/input-month-range.svg.js +1 -3
- package/lib/icons/form/input-number.svg.js +1 -3
- package/lib/icons/form/input-password.svg.js +1 -3
- package/lib/icons/form/input-quarter-range.svg.js +1 -3
- package/lib/icons/form/input-range.svg.js +1 -3
- package/lib/icons/form/input-rating.svg.js +1 -3
- package/lib/icons/form/input-repeat.svg.js +1 -3
- package/lib/icons/form/input-rich-text.svg.js +1 -3
- package/lib/icons/form/input-tag.svg.js +1 -3
- package/lib/icons/form/input-text.svg.js +1 -3
- package/lib/icons/form/input-time-range.svg.js +1 -3
- package/lib/icons/form/input-time.svg.js +1 -3
- package/lib/icons/form/input-tree.svg.js +1 -3
- package/lib/icons/form/input-url.svg.js +1 -3
- package/lib/icons/form/input-year.svg.js +1 -3
- package/lib/icons/form/inputArray.svg.js +1 -3
- package/lib/icons/form/list-select.svg.js +1 -3
- package/lib/icons/form/location-picker.svg.js +1 -3
- package/lib/icons/form/matrix-checkboxes.svg.js +1 -3
- package/lib/icons/form/month.svg.js +1 -3
- package/lib/icons/form/nested-select.svg.js +1 -3
- package/lib/icons/form/picker.svg.js +1 -3
- package/lib/icons/form/quarter.svg.js +1 -3
- package/lib/icons/form/radios.svg.js +1 -3
- package/lib/icons/form/select.svg.js +1 -3
- package/lib/icons/form/static.svg.js +1 -3
- package/lib/icons/form/sub-form.svg.js +1 -3
- package/lib/icons/form/switch.svg.js +1 -3
- package/lib/icons/form/tabs-transfer.svg.js +1 -3
- package/lib/icons/form/textarea.svg.js +1 -3
- package/lib/icons/form/transfer.svg.js +1 -3
- package/lib/icons/form/tree-select.svg.js +1 -3
- package/lib/icons/form/uuid.svg.js +1 -3
- package/lib/icons/index.js +28 -1
- package/lib/icons/layout/layout-1with2.svg.js +56 -0
- package/lib/icons/layout/layout-2cols.svg.js +56 -0
- package/lib/icons/layout/layout-2row.svg.js +56 -0
- package/lib/icons/layout/layout-2with1.svg.js +57 -0
- package/lib/icons/layout/layout-3cols.svg.js +56 -0
- package/lib/icons/layout/layout-3row.svg.js +57 -0
- package/lib/icons/layout/layout-absolute.svg.js +51 -0
- package/lib/icons/layout/layout-fixed.svg.js +51 -0
- package/lib/icons/layout/layout-full.svg.js +73 -0
- package/lib/icons/layout/layout1-2.svg.js +57 -0
- package/lib/icons/layout/layout2-1.svg.js +57 -0
- package/lib/icons/layout/layout3-1.svg.js +57 -0
- package/lib/icons/layout/layout3-2.svg.js +57 -0
- package/lib/icons/other/divider.svg.js +1 -3
- package/lib/icons/other/property-sheet.svg.js +1 -3
- package/lib/icons/other/tooltip.svg.js +1 -3
- package/lib/icons/show/URL.svg.js +1 -3
- package/lib/icons/show/avatar.svg.js +1 -3
- package/lib/icons/show/breadcrumb.svg.js +1 -3
- package/lib/icons/show/card.svg.js +1 -3
- package/lib/icons/show/cards.svg.js +1 -3
- package/lib/icons/show/carousel.svg.js +1 -3
- package/lib/icons/show/chart.svg.js +1 -3
- package/lib/icons/show/code.svg.js +1 -3
- package/lib/icons/show/date.svg.js +1 -3
- package/lib/icons/show/datetime.svg.js +1 -3
- package/lib/icons/show/image.svg.js +1 -3
- package/lib/icons/show/images.svg.js +1 -3
- package/lib/icons/show/json-view.svg.js +1 -3
- package/lib/icons/show/list.svg.js +1 -3
- package/lib/icons/show/log.svg.js +1 -3
- package/lib/icons/show/mapping.svg.js +1 -3
- package/lib/icons/show/markdown.svg.js +1 -3
- package/lib/icons/show/plain.svg.js +1 -3
- package/lib/icons/show/progress.svg.js +1 -3
- package/lib/icons/show/sparkline.svg.js +1 -3
- package/lib/icons/show/status.svg.js +1 -3
- package/lib/icons/show/steps.svg.js +1 -3
- package/lib/icons/show/time.svg.js +1 -3
- package/lib/index.d.ts +11 -2
- package/lib/index.js +13 -3
- package/lib/locale/en-US.js +315 -102
- package/lib/locale/zh-CN.js +218 -3
- package/lib/plugin/Alert.d.ts +1 -1
- package/lib/plugin/Alert.js +157 -89
- package/lib/plugin/AnchorNav.js +337 -263
- package/lib/plugin/Audio.d.ts +1 -1
- package/lib/plugin/Audio.js +165 -112
- package/lib/plugin/Avatar.d.ts +1 -1
- package/lib/plugin/Avatar.js +301 -238
- package/lib/plugin/Breadcrumb.js +138 -75
- package/lib/plugin/Button.d.ts +1 -1
- package/lib/plugin/Button.js +310 -228
- package/lib/plugin/ButtonGroup.d.ts +1 -1
- package/lib/plugin/ButtonGroup.js +174 -106
- package/lib/plugin/CRUD.d.ts +1 -1
- package/lib/plugin/CRUD.js +1426 -1351
- package/lib/plugin/CRUD2.d.ts +2 -3
- package/lib/plugin/CRUD2.js +1152 -1081
- package/lib/plugin/Card.d.ts +1 -1
- package/lib/plugin/Card.js +284 -208
- package/lib/plugin/Card2.d.ts +2 -1
- package/lib/plugin/Card2.js +139 -74
- package/lib/plugin/Cards.js +302 -234
- package/lib/plugin/Carousel.d.ts +2 -2
- package/lib/plugin/Carousel.js +344 -281
- package/lib/plugin/Chart.d.ts +2 -1
- package/lib/plugin/Chart.js +326 -158
- package/lib/plugin/CodeView.js +104 -44
- package/lib/plugin/Collapse.d.ts +1 -1
- package/lib/plugin/Collapse.js +168 -101
- package/lib/plugin/CollapseGroup.d.ts +1 -1
- package/lib/plugin/CollapseGroup.js +249 -187
- package/lib/plugin/ColumnToggler.d.ts +1 -1
- package/lib/plugin/ColumnToggler.js +140 -87
- package/lib/plugin/Container.d.ts +11 -9
- package/lib/plugin/Container.js +190 -68
- package/lib/plugin/Custom.js +144 -82
- package/lib/plugin/CustomRegion.js +173 -110
- package/lib/plugin/Date.d.ts +1 -1
- package/lib/plugin/Date.js +112 -59
- package/lib/plugin/Datetime.d.ts +0 -1
- package/lib/plugin/Datetime.js +81 -53
- package/lib/plugin/Dialog.d.ts +2 -2
- package/lib/plugin/Dialog.js +230 -179
- package/lib/plugin/Divider.js +82 -32
- package/lib/plugin/Drawer.d.ts +11 -2
- package/lib/plugin/Drawer.js +260 -194
- package/lib/plugin/DropDownButton.js +261 -182
- package/lib/plugin/Each.js +180 -115
- package/lib/plugin/Flex.d.ts +2 -27
- package/lib/plugin/Flex.js +23 -157
- package/lib/plugin/Form/ButtonGroupSelect.d.ts +2 -1
- package/lib/plugin/Form/ButtonGroupSelect.js +205 -126
- package/lib/plugin/Form/ButtonToolbar.d.ts +1 -1
- package/lib/plugin/Form/ButtonToolbar.js +168 -94
- package/lib/plugin/Form/ChainedSelect.d.ts +1 -1
- package/lib/plugin/Form/ChainedSelect.js +209 -130
- package/lib/plugin/Form/Checkbox.d.ts +1 -1
- package/lib/plugin/Form/Checkbox.js +208 -131
- package/lib/plugin/Form/Checkboxes.d.ts +1 -1
- package/lib/plugin/Form/Checkboxes.js +236 -153
- package/lib/plugin/Form/CodeEditor.d.ts +0 -1
- package/lib/plugin/Form/CodeEditor.js +245 -146
- package/lib/plugin/Form/Combo.js +532 -423
- package/lib/plugin/Form/ConditionBuilder.d.ts +1 -1
- package/lib/plugin/Form/ConditionBuilder.js +288 -222
- package/lib/plugin/Form/Control.d.ts +1 -1
- package/lib/plugin/Form/Control.js +130 -63
- package/lib/plugin/Form/DiffEditor.d.ts +0 -1
- package/lib/plugin/Form/DiffEditor.js +252 -150
- package/lib/plugin/Form/FieldSet.d.ts +1 -1
- package/lib/plugin/Form/FieldSet.js +174 -112
- package/lib/plugin/Form/Form.d.ts +1 -1
- package/lib/plugin/Form/Form.js +750 -705
- package/lib/plugin/Form/Formula.d.ts +1 -9
- package/lib/plugin/Form/Formula.js +126 -62
- package/lib/plugin/Form/Group.js +250 -183
- package/lib/plugin/Form/Hidden.js +106 -42
- package/lib/plugin/Form/InputArray.js +233 -157
- package/lib/plugin/Form/InputCity.d.ts +1 -1
- package/lib/plugin/Form/InputCity.js +181 -104
- package/lib/plugin/Form/InputColor.d.ts +1 -1
- package/lib/plugin/Form/InputColor.js +296 -224
- package/lib/plugin/Form/InputDate.d.ts +1 -1
- package/lib/plugin/Form/InputDate.js +299 -189
- package/lib/plugin/Form/InputDateRange.d.ts +1 -1
- package/lib/plugin/Form/InputDateRange.js +385 -264
- package/lib/plugin/Form/InputDateTime.js +93 -33
- package/lib/plugin/Form/InputDateTimeRange.js +99 -34
- package/lib/plugin/Form/InputEmail.js +80 -30
- package/lib/plugin/Form/InputExcel.d.ts +1 -1
- package/lib/plugin/Form/InputExcel.js +164 -91
- package/lib/plugin/Form/InputFile.d.ts +4 -1
- package/lib/plugin/Form/InputFile.js +352 -271
- package/lib/plugin/Form/InputGroup.js +132 -73
- package/lib/plugin/Form/InputImage.d.ts +4 -1
- package/lib/plugin/Form/InputImage.js +385 -303
- package/lib/plugin/Form/InputKV.d.ts +1 -1
- package/lib/plugin/Form/InputKV.js +168 -94
- package/lib/plugin/Form/InputMonth.js +91 -31
- package/lib/plugin/Form/InputMonthRange.js +99 -34
- package/lib/plugin/Form/InputNumber.d.ts +2 -1
- package/lib/plugin/Form/InputNumber.js +287 -200
- package/lib/plugin/Form/InputPassword.js +80 -30
- package/lib/plugin/Form/InputQuarter.js +91 -31
- package/lib/plugin/Form/InputQuarterRange.js +99 -34
- package/lib/plugin/Form/InputRange.d.ts +1 -1
- package/lib/plugin/Form/InputRange.js +315 -236
- package/lib/plugin/Form/InputRating.d.ts +1 -1
- package/lib/plugin/Form/InputRating.js +361 -293
- package/lib/plugin/Form/InputRepeat.js +105 -45
- package/lib/plugin/Form/InputRichText.d.ts +2 -1
- package/lib/plugin/Form/InputRichText.js +211 -152
- package/lib/plugin/Form/InputSubForm.js +225 -157
- package/lib/plugin/Form/InputTable.d.ts +1 -1
- package/lib/plugin/Form/InputTable.js +385 -320
- package/lib/plugin/Form/InputTag.d.ts +1 -1
- package/lib/plugin/Form/InputTag.js +208 -119
- package/lib/plugin/Form/InputText.d.ts +1 -1
- package/lib/plugin/Form/InputText.js +348 -263
- package/lib/plugin/Form/InputTime.js +93 -33
- package/lib/plugin/Form/InputTimeRange.js +99 -34
- package/lib/plugin/Form/InputTree.d.ts +1 -1
- package/lib/plugin/Form/InputTree.js +460 -367
- package/lib/plugin/Form/InputURL.js +86 -31
- package/lib/plugin/Form/InputYear.js +91 -31
- package/lib/plugin/Form/InputYearRange.js +99 -34
- package/lib/plugin/Form/Item.d.ts +1 -1
- package/lib/plugin/Form/Item.js +213 -189
- package/lib/plugin/Form/ListSelect.d.ts +1 -1
- package/lib/plugin/Form/ListSelect.js +174 -96
- package/lib/plugin/Form/LocationPicker.d.ts +1 -1
- package/lib/plugin/Form/LocationPicker.js +115 -57
- package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -1
- package/lib/plugin/Form/MatrixCheckboxes.js +247 -170
- package/lib/plugin/Form/NestedSelect.d.ts +1 -1
- package/lib/plugin/Form/NestedSelect.js +329 -246
- package/lib/plugin/Form/Picker.js +260 -178
- package/lib/plugin/Form/Radios.d.ts +1 -1
- package/lib/plugin/Form/Radios.js +228 -136
- package/lib/plugin/Form/Select.d.ts +1 -1
- package/lib/plugin/Form/Select.js +333 -228
- package/lib/plugin/Form/Static.d.ts +1 -1
- package/lib/plugin/Form/Static.js +358 -280
- package/lib/plugin/Form/Switch.d.ts +2 -1
- package/lib/plugin/Form/Switch.js +257 -172
- package/lib/plugin/Form/TabsTransfer.d.ts +1 -1
- package/lib/plugin/Form/TabsTransfer.js +316 -238
- package/lib/plugin/Form/Textarea.d.ts +0 -1
- package/lib/plugin/Form/Textarea.js +219 -130
- package/lib/plugin/Form/Transfer.d.ts +1 -1
- package/lib/plugin/Form/Transfer.js +349 -259
- package/lib/plugin/Form/TreeSelect.d.ts +2 -1
- package/lib/plugin/Form/TreeSelect.js +451 -363
- package/lib/plugin/Form/UUID.js +106 -42
- package/lib/plugin/Grid.d.ts +1 -1
- package/lib/plugin/Grid.js +629 -556
- package/lib/plugin/HBox.d.ts +1 -1
- package/lib/plugin/HBox.js +578 -508
- package/lib/plugin/IFrame.d.ts +2 -10
- package/lib/plugin/IFrame.js +127 -64
- package/lib/plugin/Image.d.ts +2 -2
- package/lib/plugin/Image.js +277 -218
- package/lib/plugin/Images.d.ts +3 -3
- package/lib/plugin/Images.js +214 -160
- package/lib/plugin/Json.d.ts +1 -1
- package/lib/plugin/Json.js +111 -53
- package/lib/plugin/Layout/FlexPluginBase.d.ts +40 -0
- package/lib/plugin/Layout/FlexPluginBase.js +332 -0
- package/lib/plugin/Layout/Layout1_2_v4.d.ts +10 -0
- package/lib/plugin/Layout/Layout1_2_v4.js +148 -0
- package/lib/plugin/Layout/Layout_fixed.d.ts +10 -0
- package/lib/plugin/Layout/Layout_fixed.js +80 -0
- package/lib/plugin/Layout/Layout_fixed_bottom.d.ts +10 -0
- package/lib/plugin/Layout/Layout_fixed_bottom.js +87 -0
- package/lib/plugin/Layout/Layout_fixed_top.d.ts +10 -0
- package/lib/plugin/Layout/Layout_fixed_top.js +86 -0
- package/lib/plugin/Layout/Layout_scroll_x.d.ts +10 -0
- package/lib/plugin/Layout/Layout_scroll_x.js +170 -0
- package/lib/plugin/Layout/Layout_scroll_y.d.ts +10 -0
- package/lib/plugin/Layout/Layout_scroll_y.js +158 -0
- package/lib/plugin/Link.js +131 -85
- package/lib/plugin/List.js +279 -208
- package/lib/plugin/ListItem.js +217 -176
- package/lib/plugin/Log.d.ts +1 -1
- package/lib/plugin/Log.js +102 -44
- package/lib/plugin/Mapping.d.ts +1 -1
- package/lib/plugin/Mapping.js +168 -115
- package/lib/plugin/Markdown.d.ts +1 -1
- package/lib/plugin/Markdown.js +98 -40
- package/lib/plugin/Nav.js +202 -139
- package/lib/plugin/Operation.d.ts +1 -1
- package/lib/plugin/Operation.js +116 -59
- package/lib/plugin/Others/Action.js +329 -317
- package/lib/plugin/Others/TableCell.d.ts +1 -1
- package/lib/plugin/Others/TableCell.js +341 -329
- package/lib/plugin/Page.d.ts +2 -3
- package/lib/plugin/Page.js +374 -283
- package/lib/plugin/Pagination.d.ts +2 -1
- package/lib/plugin/Pagination.js +299 -219
- package/lib/plugin/Panel.d.ts +1 -1
- package/lib/plugin/Panel.js +256 -190
- package/lib/plugin/Plain.d.ts +1 -1
- package/lib/plugin/Plain.js +126 -64
- package/lib/plugin/Progress.d.ts +3 -1
- package/lib/plugin/Progress.js +280 -202
- package/lib/plugin/Property.js +163 -103
- package/lib/plugin/QRCode.js +130 -70
- package/lib/plugin/Reset.js +61 -22
- package/lib/plugin/Service.d.ts +1 -1
- package/lib/plugin/Service.js +254 -167
- package/lib/plugin/Sparkline.js +91 -32
- package/lib/plugin/Status.d.ts +1 -1
- package/lib/plugin/Status.js +116 -58
- package/lib/plugin/Steps.js +153 -93
- package/lib/plugin/Submit.js +56 -22
- package/lib/plugin/Table.d.ts +1 -1
- package/lib/plugin/Table.js +595 -522
- package/lib/plugin/{Table-v2.d.ts → Table2.d.ts} +2 -2
- package/lib/plugin/Table2.js +891 -0
- package/{esm/plugin/TableCell-v2.d.ts → lib/plugin/TableCell2.d.ts} +1 -1
- package/lib/plugin/TableCell2.js +493 -0
- package/lib/plugin/TableView.js +648 -599
- package/lib/plugin/Tabs.d.ts +1 -1
- package/lib/plugin/Tabs.js +470 -360
- package/lib/plugin/Tasks.js +246 -186
- package/lib/plugin/Time.d.ts +0 -1
- package/lib/plugin/Time.js +81 -53
- package/lib/plugin/Timeline.d.ts +1 -1
- package/lib/plugin/Timeline.js +165 -92
- package/lib/plugin/TooltipWrapper.d.ts +1 -1
- package/lib/plugin/TooltipWrapper.js +265 -195
- package/lib/plugin/Tpl.d.ts +1 -1
- package/lib/plugin/Tpl.js +126 -61
- package/lib/plugin/Video.d.ts +2 -2
- package/lib/plugin/Video.js +173 -103
- package/lib/plugin/WebComponent.d.ts +1 -1
- package/lib/plugin/WebComponent.js +128 -62
- package/lib/plugin/Wizard.js +751 -659
- package/lib/plugin/Wrapper.d.ts +2 -1
- package/lib/plugin/Wrapper.js +198 -91
- package/lib/renderer/APIControl.d.ts +278 -5068
- package/lib/renderer/APIControl.js +663 -688
- package/lib/renderer/ActionApiControl.d.ts +8 -6384
- package/lib/renderer/BadgeControl.d.ts +6 -6
- package/lib/renderer/BadgeControl.js +263 -250
- package/lib/renderer/DataBindingControl.js +197 -212
- package/lib/renderer/DataMappingControl.js +39 -29
- package/lib/renderer/DataPickerControl.js +50 -35
- package/lib/renderer/DateShortCutControl.d.ts +26 -25
- package/lib/renderer/DateShortCutControl.js +418 -284
- package/lib/renderer/ExpressionFormulaControl.d.ts +45 -0
- package/lib/renderer/ExpressionFormulaControl.js +254 -0
- package/lib/renderer/FeatureControl.d.ts +1 -1
- package/lib/renderer/FeatureControl.js +229 -213
- package/lib/renderer/FormulaControl.d.ts +33 -16
- package/lib/renderer/FormulaControl.js +429 -356
- package/lib/renderer/GoConfigControl.js +30 -34
- package/lib/renderer/OptionControl.d.ts +2 -2
- package/lib/renderer/OptionControl.js +750 -688
- package/lib/renderer/RangePartsControl.d.ts +2 -2
- package/lib/renderer/RangePartsControl.js +320 -326
- package/lib/renderer/StatusControl.d.ts +1 -1
- package/lib/renderer/StatusControl.js +145 -136
- package/lib/renderer/SwitchMoreControl.d.ts +67 -51
- package/lib/renderer/SwitchMoreControl.js +367 -319
- package/lib/renderer/TimelineItemControl.d.ts +3 -83
- package/lib/renderer/TimelineItemControl.js +531 -464
- package/lib/renderer/TransferTableControl.d.ts +2 -4
- package/lib/renderer/TransferTableControl.js +394 -369
- package/lib/renderer/TreeOptionControl.d.ts +1 -1
- package/lib/renderer/TreeOptionControl.js +588 -563
- package/lib/renderer/ValidationControl.d.ts +1 -1
- package/lib/renderer/ValidationControl.js +277 -269
- package/lib/renderer/ValidationItem.d.ts +1 -1
- package/lib/renderer/ValidationItem.js +145 -134
- package/lib/renderer/event-control/action-config-dialog.js +214 -207
- package/lib/renderer/event-control/action-config-panel.js +37 -44
- package/lib/renderer/event-control/actions.js +465 -144
- package/lib/renderer/event-control/comp-action-select.js +37 -27
- package/lib/renderer/event-control/helper.d.ts +19 -19
- package/lib/renderer/event-control/helper.js +232 -220
- package/lib/renderer/event-control/index.d.ts +1 -1
- package/lib/renderer/event-control/index.js +641 -630
- package/lib/renderer/event-control/types.d.ts +1 -0
- package/lib/renderer/style-control/Background.js +64 -116
- package/lib/renderer/style-control/Border.js +27 -38
- package/lib/renderer/style-control/BoxModel.d.ts +1 -1
- package/lib/renderer/style-control/BoxModel.js +11 -4
- package/lib/renderer/style-control/BoxShadow.js +17 -19
- package/lib/renderer/style-control/Display.js +13 -17
- package/lib/renderer/style-control/Font.js +14 -17
- package/lib/renderer/style-control/InsetBoxModel.d.ts +17 -0
- package/lib/renderer/style-control/InsetBoxModel.js +77 -0
- package/lib/renderer/style-control/font-family.js +2 -3
- package/lib/renderer/style-control/transformation.js +1 -1
- package/lib/renderer/style-control/types.d.ts +4 -4
- package/lib/renderer/textarea-formula/FormulaPicker.d.ts +12 -0
- package/lib/renderer/textarea-formula/FormulaPicker.js +47 -0
- package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +67 -0
- package/lib/renderer/textarea-formula/TextareaFormulaControl.js +345 -0
- package/lib/renderer/textarea-formula/plugin.d.ts +32 -0
- package/lib/renderer/textarea-formula/plugin.js +278 -0
- package/lib/renderer/textarea-formula/utils.d.ts +12 -0
- package/lib/renderer/textarea-formula/utils.js +81 -0
- package/lib/tpl/api.js +30 -41
- package/lib/tpl/common.js +192 -113
- package/lib/tpl/horizontal.js +6 -8
- package/lib/tpl/index.d.ts +1 -0
- package/lib/tpl/layout.d.ts +1 -0
- package/lib/tpl/layout.js +715 -0
- package/lib/tpl/options.js +5 -22
- package/lib/tpl/style.js +18 -18
- package/lib/tpl/validations.js +9 -24
- package/lib/util.d.ts +47 -0
- package/lib/util.js +30 -0
- package/lib/validator.d.ts +1 -2
- package/lib/validator.js +11 -24
- package/package.json +10 -28
- package/esm/plugin/Table-v2.js +0 -819
- package/esm/plugin/TableCell-v2.js +0 -499
- package/lib/plugin/Table-v2.js +0 -823
- package/lib/plugin/TableCell-v2.js +0 -507
package/lib/locale/zh-CN.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.1-beta.15
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -1884,7 +1884,7 @@ i18nRuntime.extendLocale('zh-CN', {
|
|
1884
1884
|
'9769ee568100b0c530a06ec3f0c0044d': '内容1',
|
1885
1885
|
'4be268145385303e8ebeb480458a380e': '选项卡2',
|
1886
1886
|
'c50159e2acff0f4ffdce4c67ec3513a3': '内容2',
|
1887
|
-
'c8794c58d0eb020ca40905d1904d88b2': '
|
1887
|
+
'c8794c58d0eb020ca40905d1904d88b2': '激活指定选项卡',
|
1888
1888
|
'fcd3abb110aab48ebd0ac2a1d7040d6d': '修改当前激活tab项的key',
|
1889
1889
|
'9d000284174ff09642502803887f28ed': '激活第',
|
1890
1890
|
'29645b509093191cad34c673c1b3efb7': '项',
|
@@ -2598,5 +2598,220 @@ i18nRuntime.extendLocale('zh-CN', {
|
|
2598
2598
|
'784cf5219012b5f16f2985b7f1fd52f5': '<div>当值为 __undefined时,表示删除对应的字段,可以结合{"&": "$$"}来达到黑名单效果。</div>',
|
2599
2599
|
'af9f27383daeec508815a33753247f42': '${data["&"] ? "已开启定制参数功能,可点击关闭该功能。" : "如果需要在默认数据的基础上定制参数,请配置开启参数定制再定义key和value。"}',
|
2600
2600
|
'ff0d36eac9b9c029d91c365cd2c7e6cf': '${data["&"] ? "立即关闭" : "立即开启"}',
|
2601
|
-
'7237d0dfa065bf451120d06330291b7d': "({\n isEmail: 'Email 格式不正确',\n isRequired: '这是必填项',\n isUrl: 'Url 格式不正确',\n isInt: '请输入整形数字',\n isAlpha: '请输入字母',\n isNumeric: '请输入数字',\n isAlphanumeric: '请输入字母或者数字',\n isFloat: '请输入浮点型数值',\n isWords: '请输入字母',\n isUrlPath: '只能输入字母、数字、\\`-\\` 和 \\`_\\`.',\n matchRegexp: '格式不正确, 请输入符合规则为 \\`$1\\` 的内容。',\n minLength: '请输入更多的内容,至少输入 $1 个字符。',\n maxLength: '请控制内容长度, 请不要输入 $1 个字符以上',\n maximum: '当前输入值超出最大值 $1,请检查',\n minimum: '当前输入值低于最小值 $1,请检查',\n isJson: '请检查 Json 格式。',\n isLength: '请输入长度为 $1 的内容',\n notEmptyString: '请不要全输入空白字符',\n equalsField: '输入的数据与 $1 值不一致',\n equals: '输入的数据与 $1 不一致',\n isPhoneNumber: '请输入合法的手机号码',\n isTelNumber: '请输入合法的电话号码',\n isZipcode: '请输入合法的邮编地址',\n isId: '请输入合法的身份证号',\n })[data.type] || ''"
|
2601
|
+
'7237d0dfa065bf451120d06330291b7d': "({\n isEmail: 'Email 格式不正确',\n isRequired: '这是必填项',\n isUrl: 'Url 格式不正确',\n isInt: '请输入整形数字',\n isAlpha: '请输入字母',\n isNumeric: '请输入数字',\n isAlphanumeric: '请输入字母或者数字',\n isFloat: '请输入浮点型数值',\n isWords: '请输入字母',\n isUrlPath: '只能输入字母、数字、\\`-\\` 和 \\`_\\`.',\n matchRegexp: '格式不正确, 请输入符合规则为 \\`$1\\` 的内容。',\n minLength: '请输入更多的内容,至少输入 $1 个字符。',\n maxLength: '请控制内容长度, 请不要输入 $1 个字符以上',\n maximum: '当前输入值超出最大值 $1,请检查',\n minimum: '当前输入值低于最小值 $1,请检查',\n isJson: '请检查 Json 格式。',\n isLength: '请输入长度为 $1 的内容',\n notEmptyString: '请不要全输入空白字符',\n equalsField: '输入的数据与 $1 值不一致',\n equals: '输入的数据与 $1 不一致',\n isPhoneNumber: '请输入合法的手机号码',\n isTelNumber: '请输入合法的电话号码',\n isZipcode: '请输入合法的邮编地址',\n isId: '请输入合法的身份证号',\n })[data.type] || ''",
|
2602
|
+
'5e568c42a5ecb74db2dc3d8531079dd6': '<a target="_blank" href="https://www.tiny.cloud/docs/general-configuration-guide/basic-setup/">参考文档</a>',
|
2603
|
+
'cadf0e302ddbc6fdbf005aed670b5e3e': '代码变化',
|
2604
|
+
'6006074bdabc639b86f42aa18876e33a': '代码变化时触发',
|
2605
|
+
'28e5fd494ea37a09fd2ad36d0f98bacc': '被删除的项',
|
2606
|
+
'046de1a6cb21ff83af74958342c0db64': '被激活的项',
|
2607
|
+
'f6e5fc909971d2e5f6ffe23edae93584': '如果数据比较多,比较卡顿时,可开启此配置项。',
|
2608
|
+
'31dae237cbd03ae0d2dcf7ad2fd4fb76': '初始化接口请求成功后返回的数据',
|
2609
|
+
'850c62f7b1ebfb4b89182ecd51202a7d': '表单提交成功后触发,如果事件源是按钮,且按钮的类型为“提交”,那么即便当前表单没有配置“保存接口”也将触发提交成功事件',
|
2610
|
+
'88b2930823f9fd6706473805e9b11797': '保存接口请求成功后返回的数据',
|
2611
|
+
'3e07258baf3c4389c1ffd4a98c20b8fe': '保存接口请求失败后返回的错误信息',
|
2612
|
+
'0d6581b6dd51f6c03a4edf26475d75c6': '被移除的项',
|
2613
|
+
'4ea280a2e54969de1d1b9bbd5b708e63': '点击选项',
|
2614
|
+
'f05520432bb87ced419a1da818c6cc9d': '选项被点击时触发',
|
2615
|
+
'91f7b7fdf9b91073ca3519260f7a62d7': '所点击的选项',
|
2616
|
+
'6afde638796d237377b0755506d08ded': '目标组件',
|
2617
|
+
'fee99f2bcced486e4753a8f58f511d3f': '追加数据',
|
2618
|
+
'3f3f4c71c1b736e7f01cf910a553ff43': '选择“是”时,会将源组件所在数据域变量同步到目标组件的数据域。<br/>如果目标组件是增删改查组件,且增删改查组件的数据拉取接口是get请求,则源组件所在数据域变量将追加到目标组件的初始化请求query中。',
|
2619
|
+
'2aecb19ca1655d66fc80fc27a783cc9e': '追加方式',
|
2620
|
+
'b67b01a3b9170f1daf78082cfd0df793': '选择“合并”时,会将数据合并到目标组件的数据域。<br/>选择“覆盖”时,数据会直接覆盖目标组件的数据域。',
|
2621
|
+
'bd81577a6fd4956e676cec499bb70d00': '合并',
|
2622
|
+
'e09fea40f7e4abd4b2a495b315940688': '覆盖',
|
2623
|
+
'9a5500b6013ec1ebf61bdf0e18452348': '数据默认为源组件所在数据域,可以选择“自定义”来定制所需数据',
|
2624
|
+
'f30bcdccf71b19e858c37d8881d2b206': '源组件所在数据域',
|
2625
|
+
'fa644cb20c66f7530d8a376d4fa6a36e': '组件数据',
|
2626
|
+
'7d9260bd45b2e85a09398f218c25f220': '更新目标组件的数据域或目标表单项的数据值',
|
2627
|
+
'e7af71fb102cc86ab3be6a2fb32b5e3f': '数据设置',
|
2628
|
+
'77b1081c177fa3334cc93c99f0ecee75': '直接赋值',
|
2629
|
+
'f5c5e3d69daee06ea1606378ef466765': '成员赋值',
|
2630
|
+
'697af73997072e0ce9ee65b15a7b3715': '重置页码',
|
2631
|
+
'd7bf42dd6e66f2818f9a232603c4a53b': '选择“是”时,将重新请求第一页数据。',
|
2632
|
+
'3e573fd37473d789211ee44335d82fad': '静态 CSS 类名',
|
2633
|
+
'905407c57ccd033cb6bd64bfad20a8c7': '静态展示时 的 CSS 类名',
|
2634
|
+
'0d1f68afa19f3f3dd88e28d17c98ddf9': '表格2',
|
2635
|
+
'e052287273ad39a1d3fa9fa3decb5fd9': '组件展示态',
|
2636
|
+
'506f28f48dbebd5d19e19dfc721e13be': '控制所选的组件的输入态/静态',
|
2637
|
+
'0e35b091e18032508758899735664df7': '组件切换为静态',
|
2638
|
+
'34d361256526b04909e064c29d9a9b76': '组件切换为输入态',
|
2639
|
+
'd2e930293da37452638759e17d771adf': '组件状态',
|
2640
|
+
'b535bea11c97ec5588b1494799de4d60': '表单输入',
|
2641
|
+
'f7784642f42d33f506ba05f3daefc3c4': '表单静态',
|
2642
|
+
'a8797a840f3c0bbb5297aada95f9b13a': '表单项静态',
|
2643
|
+
'7bb3e24cc54f4b8ee0a65d14fa4c067c': '激活指定选项卡',
|
2644
|
+
'fd951a59a7c635d5330bc1aeec22c813': '自定义数据',
|
2645
|
+
'b62ce3df3c0d5772006c525b60d5eeab': '数据默认为源组件所在数据域,开启“自定义”可以定制所需数据',
|
2646
|
+
'0f9803bd27434940d4017007c105a861': '当选择“是”,且目标组件是增删改查组件时,数据接口请求时将带上这些数据,其他类型的目标组件只有在数据接口是post请求时才会带上这些数据。',
|
2647
|
+
'81e1ff0bb8917a9df99d737982ee24b7': 'SubForm, 配置一个子 form 作为当前的表单项',
|
2648
|
+
'a5c2dba5ccf62851b24cfa12d4958ce2': '可以用来展现数据的,可以用来展示数组类型的数据,比如 multiple 的子 form',
|
2649
|
+
'74104c62ed33836f0bc74297539dd7c9': '配置 options 可以实现选择选项',
|
2650
|
+
'b5ade3d97d5b11bc784786111e011571': '树型结构来选择,可通过 options 来配置选项,也可通过 source 拉取选项',
|
2651
|
+
'2c05e451a6f2b2fe1cf55f7afb8c8423': '单选或者多选,支持 source 拉取选项,选项可配置图片,也可以自定义 HTML 配置',
|
2652
|
+
'c65c9862813c7a66c0df52e301e0e1d1': '适用于选项中含有子项,可通过 source 拉取选项,支持多选',
|
2653
|
+
'8f650b58c8421edecfb380d6f60ef40e': '通过 pickerSchema 配置可供选取的数据源进行选择需要的数据,支持多选',
|
2654
|
+
'b7a4abc1e4e975c9df5bb9d9cf4823ba': '通过 options 配置选项,可通过 source 拉取选项',
|
2655
|
+
'f2fc416c7d95a93a8da621f760be8417': '支持多选,输入提示,可使用 source 获取选项',
|
2656
|
+
'b4482a3d9523f48e83a816fa85911185': '纯用来展示数据,可用来展示 json、date、image、progress 等数据',
|
2657
|
+
'ecfd82eb65102274188011a502913d3a': '抽屉数据',
|
2658
|
+
'951f802ebd0c0d795fbae6767a5ee9b3': '初始化接口请求成功',
|
2659
|
+
'da0126992b4937a5fd847ef5366b02e6': '初始化接口请求成功返回的数据',
|
2660
|
+
'70b8342d743374233bfee0f56c7f0fc7': '节点示例数据',
|
2661
|
+
'38f85482d657cd4db1280c5efa1950fd': '{{@1}}对齐方式',
|
2662
|
+
'0a0574baedb8eb2abf7daf25159d8bb1': '设置子元素在主轴上的对齐方式',
|
2663
|
+
'5ccc4c05cd41195f202f550a4c307a64': '设置子元素在交叉轴上的对齐方式',
|
2664
|
+
'b1b98c19058af70d8bd499e1899e93bc': '布局容器',
|
2665
|
+
'03097563d201ad3a29c79165226764e5': '布局容器 是基于 CSS Flex 实现的布局效果,它比 Grid 和 HBox 对子节点位置的可控性更强,比用 CSS 类的方式更易用',
|
2666
|
+
'e151c86d57096bb74dcd390ade29362b': '新的一列',
|
2667
|
+
'e5f9b3a3655b8daddcee8b97b735887f': '向前插入布局容器',
|
2668
|
+
'577b33bf128fba16ed8e9bf7c395f455': '向后插入布局容器',
|
2669
|
+
'31f84d1bc6175fd0828a81b5bfd98736': '新增列级元素',
|
2670
|
+
'cbc1d00cc640b67ee34a29a694ef162a': '左侧(上侧)插入列级容器',
|
2671
|
+
'bb3cc092e17ff83e943554bde3d5771b': '右侧(下侧)插入列级容器',
|
2672
|
+
'b19b454fe603e03e98ad9772615c7c32': '定位模式',
|
2673
|
+
'8444f01399c0003fbb68eeff1310566c': '指定当前容器元素的定位类型',
|
2674
|
+
'5ddea41072a27a74a1715549dfb79bc2': '相对',
|
2675
|
+
'e9513a013011450c57cfe3ef51b7d4b0': '固定(相对窗口)',
|
2676
|
+
'3059599d8ebfec00a8ab53346d9b4fa3': '绝对(相对父容器)',
|
2677
|
+
'86a6b5a0a45bba5b6187cc2277e3375e': '布局位置',
|
2678
|
+
'6e72759ed1cbf9f9e8523197dd93888f': '指定当前容器元素的定位位置,用于配置 top、right、bottom、left。',
|
2679
|
+
'6896da744f8ae9633263d55af0fceae1': '层级',
|
2680
|
+
'6f649980c839dffca1506f20d534fe3d': '指定元素的堆叠顺序,层级高的元素总是会处于较低层级元素的上面。',
|
2681
|
+
'a8489cf57d7f44e889aff79434776f47': '默认为块级,可设置为弹性布局模式(flex布局容器)',
|
2682
|
+
'4180e30c34190007ffaa654e0959b8a3': '行内弹性布局',
|
2683
|
+
'ebe7bde5c9094813e2924473488d281a': '行内块级',
|
2684
|
+
'dde193342b8c350ae29795117c0c5b9a': '水平对齐方式',
|
2685
|
+
'5b15af1f73b4f2d5bb152410863602f4': '垂直对齐方式',
|
2686
|
+
'78d32d2bd35c0262fe77b517c5a4fb62': '排列方向',
|
2687
|
+
'3fa460b81736c0360f6f7571801935b1': '设置成水平排列方向,则从左到右放置子项;设置成垂直排列方向,则从上到下放置子项',
|
2688
|
+
'fa228d6bec96d052de0ad369407f5241': '水平(起点在右端)',
|
2689
|
+
'2df3bc66ab3fcb0de1caf11831eff595': '垂直(起点在下沿)',
|
2690
|
+
'98b2fea2d8f3ceb81e9ce32d66383f05': '如何换行',
|
2691
|
+
'9af509c2a9636343199b9072e001826c': '默认(不换行)',
|
2692
|
+
'd4054144c4341872496e3550fdb1b826': '自动换行(颠倒)',
|
2693
|
+
'ee2df1c1a0d99094f641166535948d4b': '弹性模式',
|
2694
|
+
'947c03e411c20563c7ac67d0a5ad741b': '设置为弹性模式后,自动适配当前所在区域',
|
2695
|
+
'f92626f9e56b3e2d0c47495a446acf71': '弹性宽度',
|
2696
|
+
'cf8852316501c22ea19c4e432c59e7d7': '默认宽度',
|
2697
|
+
'9cc69c8469b23b77519065d3df381113': '定义在分配多余空间之前,项目占据的主轴空间(main size)',
|
2698
|
+
'0ad8b3b736ae5b9e23cf16ac13e1e283': '占比设置',
|
2699
|
+
'fa6bb048a2f73975a40789b30c5b8a06': '定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大。',
|
2700
|
+
'c19b79073b676b9bade80613aba2dbfa': '固定高度',
|
2701
|
+
'd1b91a1a24f0d4935c2dd13e6a22b6d4': '最大宽度即当前元素最大的水平展示区域',
|
2702
|
+
'c18457fe4f249f06b48297ccfe6224e8': ' x轴滚动模式',
|
2703
|
+
'c2ed47a1f0f45cf7e2d22bddffc8a732': '用于设置水平方向的滚动模式',
|
2704
|
+
'cbc7af1d6422e88f4b87ade748e0f07d': '超出显示',
|
2705
|
+
'b48a90c77b5e792260d830c2d68c527e': '超出隐藏',
|
2706
|
+
'ddea62517e2bd1007712689746ebfe00': '滚动显示',
|
2707
|
+
'55becc96b40692cc9cf898b331d16976': '自动适配',
|
2708
|
+
'ede82efb4a69c35743185c6c73ab771e': '最小宽度即当前元素最小的水平展示区域',
|
2709
|
+
'6f420734edfaff00a8210a4c762a9207': '最大高度即当前元素最多的展示高度',
|
2710
|
+
'411f9d120093314cd38e6dd5cce398c6': '最小高度即当前元素最小的垂直展示区域',
|
2711
|
+
'ff9e9329fe186be342ef59ee711b9371': ' y轴滚动模式',
|
2712
|
+
'b31c6aaa78f8e24df665ce80ab5301e2': '用于设置垂直方向的滚动模式',
|
2713
|
+
'4fc0e68b093db41b45a4ea706fbe56f3': '居中显示',
|
2714
|
+
'55efb233147f9539de019d9abc7653f9': '通过将设置 margin: 0 auto 来达到居中显示',
|
2715
|
+
'2bf5bcbe21f39b254a601664fb8b264d': '默认(自动换行)',
|
2716
|
+
'b2d418355cb59a5613ecff7b150c588f': '不换行',
|
2717
|
+
'7d1313925f158b747c094a7f2480e535': '参考位置',
|
2718
|
+
'41a7494315a528f0f9618646f7e0dddf': '可设置为左上角、右上角、右下角、左下角,默认为右下角',
|
2719
|
+
'845c61ac8f51c6702dd22e5657c07e8d': '右下角(默认)',
|
2720
|
+
'2794fe303cf8ad4395fe93271fae7925': '布局容器主要用于设计复杂布局的容器组件,基于 CSS Flex 实现的布局效果,比 Grid 和 HBox 对子节点位置的可控性更强,比用 CSS 类的方式更简单易用',
|
2721
|
+
'abbd790f85282349e2004df9fd494e31': '在分配多余空间之前,其默认占据的主轴空间(main size)',
|
2722
|
+
'dbb93e8f413074ead24b6ed822247d98': '上方插入布局容器',
|
2723
|
+
'5b5765b3fd7e72e04a5cd3e2ef6218a4': '下方插入布局容器',
|
2724
|
+
'ee466872b9a43e720e296813dbc5adee': '{{@1}}插入列级容器',
|
2725
|
+
'14c495b1248756310c75396cd41f4fe9': '上方',
|
2726
|
+
'e33ac3a4c1a95a02a18f1555038804da': '下方',
|
2727
|
+
'e731c52010266b8ade1e7e78e25cdccc': '常见布局',
|
2728
|
+
'f80bd0a5546465336f4f9cafdfa8b67f': '默认高度',
|
2729
|
+
'ba9ccf1040d7abd0848046330ba3558c': '经典布局',
|
2730
|
+
'230d65546ea0d299907943403608233c': '常见布局:经典布局(基于 CSS Flex 实现的布局容器)。',
|
2731
|
+
'9bbb7cfaeb34a2b5c095ac253355f028': '悬浮容器',
|
2732
|
+
'a3e91631c1a3a43e09526ea7f6b8595c': '常见布局:悬浮容器(基于 CSS Flex 实现的布局容器)。',
|
2733
|
+
'd423930b823fc45f08c18922b19e4e9e': '吸底容器',
|
2734
|
+
'b8b4eb373d8ba6f98271b681fba2511d': '常见布局:吸底容器(基于 CSS Flex 实现的布局容器)。',
|
2735
|
+
'faaa6444a709917ff33e0d58948504dc': '吸顶容器',
|
2736
|
+
'1facf0bd0f56c66759857345e7434443': '常见布局:吸顶容器(基于 CSS Flex 实现的布局容器)。',
|
2737
|
+
'f416a3a2566dda04bc0ef67027e6f460': 'x轴滚动容器',
|
2738
|
+
'e3d9ad8453925764f2918dbfd6ff824e': '常见布局:x轴滚动容器(基于 CSS Flex 实现的布局容器)。',
|
2739
|
+
'053e0cbf18c8fe59b928d52fcd556b88': 'y轴滚动容器',
|
2740
|
+
'c9f089cefc06c217c6dddfe2fc772ea3': '常见布局:y轴滚动容器(基于 CSS Flex 实现的布局容器)。',
|
2741
|
+
'3587540660a01f8a8aff6a2c0409a404': '开启弹性模式后,自动适配当前所在区域',
|
2742
|
+
'2ea6f1f33dec7cb3c23a1bf1f9eab11a': '鼠标点击',
|
2743
|
+
'fe9228649853d08eebee72ad5521a3dd': '鼠标点击时触发',
|
2744
|
+
'a643d2fe12d205eb8fb5cffe92f62c35': '鼠标悬停时触发',
|
2745
|
+
'764c134791952dd1acb0f23587e75421': '切换图例选中状态',
|
2746
|
+
'262cd2f688751332c1907a659e686210': '切换图例选中状态时触发',
|
2747
|
+
'fd312ae2f1c24b8a14d9412bb3c6bb76': '最近n天',
|
2748
|
+
'68cba5f27ab003cfada5eb4c1f29eb21': 'n天以内',
|
2749
|
+
'34b06708894a178c440e6f6539e95e9e': '最近n周',
|
2750
|
+
'f0e1b8d8a6e731360d7348bc8301d44a': 'n周以内',
|
2751
|
+
'5cad2778bb8f01d1a1b1226082eb2117': '最近n月',
|
2752
|
+
'ff76f60b3da86a0d2c6663b170a7955a': 'n月以内',
|
2753
|
+
'9ff9b56c9ed633ee09396830e93113ad': '最近n季度',
|
2754
|
+
'2b80b20008b3ae81136217ae10a1fbaf': 'n季度以内',
|
2755
|
+
'84752114d27119dc50d8a7b9ac0b788b': '最近n年',
|
2756
|
+
'5df2352afebd73d1f568ebaa81e2db28': 'n年以内',
|
2757
|
+
'8572d14f815d840bd9e940cd8ee4e380': '通过键盘上下方向键来加减数据值',
|
2758
|
+
'925d31bb30d63576600299475a910c33': '输入内容前展示,不包含在数据值中',
|
2759
|
+
'42677544e2cbee28f7e7df216e685543': '输入内容后展示,不包含在数据值中',
|
2760
|
+
'046c6233e03af774df7b90b4504fa96c': '最近',
|
2761
|
+
'249aba763258bbe488af3e79a381d265': '天',
|
2762
|
+
'2f8ab07bea442bc6ce8a9e99ff88e5c1': '天以内',
|
2763
|
+
'a657f46f5bb00961adfae80d12e41b3d': '周',
|
2764
|
+
'b1599eaa05dc9b3d90be5aebc5c84338': '周以内',
|
2765
|
+
'e42b99d59954ce6437e66f416850425a': '月',
|
2766
|
+
'3c690347976de82df1909750cbc82b80': '月以内',
|
2767
|
+
'b62ba98a627851e911bef8fbb005bd4a': '季度以内',
|
2768
|
+
'465260fe80b0c3338d06194bb7a94446': '年',
|
2769
|
+
'137bcb84f52bbd48623c37d8dfdebdff': '年以内',
|
2770
|
+
'279d93f2d745ed08e9034022941510dc': '常用跨度',
|
2771
|
+
'7a1e5f93e362d371519bcb2bfdb0fc9a': '自定义跨度',
|
2772
|
+
'4a12e9b9fc5443e5e9999b5a7c56c19a': '默认(占满)',
|
2773
|
+
'2cb472ff9cad0c89a033c53996b52053': '初始化',
|
2774
|
+
'76ddcc0ad85aa4be6875b73244a64faf': '组件实例被创建并插入 DOM 中时触发',
|
2775
|
+
'584e4b6108e132be92c9de09d7bbed72': '当前数据域',
|
2776
|
+
'9328b90ded33d16a873db5c0dbd815b8': '初始化数据接口请求成功',
|
2777
|
+
'f3b97bd71a77cca1e9288089a537cf3b': '远程初始化数据接口请求成功时触发',
|
2778
|
+
'9787088794f42c7e476cf7580f81447e': '初始化数据接口请求成功返回的数据',
|
2779
|
+
'029e280e119b028bffc51424d909c07d': '选中的项',
|
2780
|
+
'a6eebb9b4fc7148e2dc41335c74e6393': '初始化Schema接口请求成功',
|
2781
|
+
'887954cd9bdb290003984fe9a6eb99e2': '远程初始化Schema接口请求成功时触发',
|
2782
|
+
'8f0064a9cfd7dcbb3c729f1357f11772': '发送数据',
|
2783
|
+
'6d33298a54888a30753373ca5bfe3bc2': '返回数据',
|
2784
|
+
'542e06175ff4f7407c467bbde90de56a': '如果需要对返回结果中的data做额外的数据处理,请开启此选项',
|
2785
|
+
'7c583ecdf795ce4f1f40d7960ead9344': '默认提示文案',
|
2786
|
+
'70941a02776496ec446f21f98ebf754e': '请求成功',
|
2787
|
+
'f50bf418323ee425eca7208c09a4577e': '请求失败',
|
2788
|
+
'f3dc08e3617d1e19cf8135be4412a80b': '点击后先询问用户,由手动确认后再执行动作,避免误触。可从数据域变量中取值。',
|
2789
|
+
'faa29265819714253843e23437b9193e': '正常状态下的提示内容,不填则不弹出提示。可从数据域变量中取值。',
|
2790
|
+
'f855f46ce6146aa17a9ed423da16bfa2': '禁用状态下的提示内容,不填则弹出正常提示。可从数据域变量中取值。',
|
2791
|
+
'037becbe8bff2f8838d141cc7b6b2df7': '支持例如: <code>now、+3days、-2weeks、+1hour、+2years</code> 等(minute|min|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
|
2792
|
+
'8f7ae284d0039fe05b9f57fd5ae3ede9': '请选择静态值',
|
2793
|
+
'98229308e2e9484583fde4ae363a979f': '表达式或相对值',
|
2794
|
+
'6b3c2a07db1bb3c229bbc5df48068792': '支持例如: <code>now、+3days、-2weeks、+1hour、+2years</code> 等(minute|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
|
2795
|
+
'dcc94ea1715bd502c709c5d5092e9c82': '支持例如: <code>3days、2weeks、1hour、2years</code> 等(minute|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
|
2796
|
+
'13ce82d026daa5a30e50105bd2a204a6': '请输入相对值',
|
2797
|
+
'31c29c46536a5007522032d2a42db56a': '数值模板',
|
2798
|
+
'a6a41d1bfb5896210eb527d183a07958': '值渲染模板,支持JSX、数据域变量使用, 默认 ${value}%',
|
2799
|
+
'eadd1d64cd6ceb2c50554281cd2d3be0': '根据该数据来动态重复渲染所配置的选项卡',
|
2800
|
+
'0d9d899edb456e8806a99850e9c38212': '已配置表达式',
|
2801
|
+
'fbb96f7ea104d34fc4b7bd625d892c45': '点击编写表达式',
|
2802
|
+
'e0c7ac5eb397512fdbe71600baa09dab': '请输入静态值',
|
2803
|
+
'48942ef507ea38d8ead03f8bfdffae5a': '已配置相对值',
|
2804
|
+
'49041f245018a6d799fee3c6f177c782': '退出全屏',
|
2805
|
+
'185926bf986c784d03a9a73102da6542': '全屏',
|
2806
|
+
'891ec6336d4243714c25eecb2f8f774a': '选项文本',
|
2807
|
+
'fb7ea2b05ca7328ee16a562d90c2eb96': '选项字段',
|
2808
|
+
'1ca87f0171481e27d94e81b477150b7d': '选项模板',
|
2809
|
+
'd6ecb32a380c91887a9346653c2427e9': '自定义选项渲染模板,支持JSX、数据域变量使用',
|
2810
|
+
'cb048b2d8426afd464dc01b72c446342': '块级(默认)',
|
2811
|
+
'3b6e8d54b7b2ae890d5357b7eaaeaaf2': '不换行(默认)',
|
2812
|
+
'0611733b53e0098e6fd880bd44b2806f': '最小高度即当前元素最小的垂直展示区域',
|
2813
|
+
'03bfb834c8a5fef58d885e448a4e13b4': '虚拟列表阈值',
|
2814
|
+
'50437e080edc71ab624c93d419472919': '当选项数量超过阈值后,会开启虚拟列表以优化性能',
|
2815
|
+
'02b9880e1d2df8a07e90e9878080c739': '选项高度',
|
2816
|
+
'a3f66655c3d2bcfecc6afba0e4424460': '开启虚拟列表时每个选项的高度'
|
2602
2817
|
});
|
package/lib/plugin/Alert.d.ts
CHANGED
package/lib/plugin/Alert.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* amis-editor v5.2.
|
2
|
+
* amis-editor v5.2.1-beta.15
|
3
3
|
* Copyright 2018-2022 @fex
|
4
4
|
*/
|
5
5
|
|
@@ -11,99 +11,167 @@ var tslib = require('tslib');
|
|
11
11
|
var amisEditorCore = require('amis-editor-core');
|
12
12
|
var i18nRuntime = require('i18n-runtime');
|
13
13
|
|
14
|
-
var AlertPlugin =
|
15
|
-
/** @class */
|
16
|
-
function (_super) {
|
14
|
+
var AlertPlugin = /** @class */function (_super) {
|
17
15
|
tslib.__extends(AlertPlugin, _super);
|
18
|
-
|
19
16
|
function AlertPlugin() {
|
20
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
_this
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
};
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
_this
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
17
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
18
|
+
// 关联渲染器名字
|
19
|
+
Object.defineProperty(_this, "rendererName", {
|
20
|
+
enumerable: true,
|
21
|
+
configurable: true,
|
22
|
+
writable: true,
|
23
|
+
value: 'alert'
|
24
|
+
});
|
25
|
+
Object.defineProperty(_this, "$schema", {
|
26
|
+
enumerable: true,
|
27
|
+
configurable: true,
|
28
|
+
writable: true,
|
29
|
+
value: '/schemas/AlertSchema.json'
|
30
|
+
});
|
31
|
+
// 组件名称
|
32
|
+
Object.defineProperty(_this, "name", {
|
33
|
+
enumerable: true,
|
34
|
+
configurable: true,
|
35
|
+
writable: true,
|
36
|
+
value: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca")
|
37
|
+
});
|
38
|
+
Object.defineProperty(_this, "isBaseComponent", {
|
39
|
+
enumerable: true,
|
40
|
+
configurable: true,
|
41
|
+
writable: true,
|
42
|
+
value: true
|
43
|
+
});
|
44
|
+
Object.defineProperty(_this, "description", {
|
45
|
+
enumerable: true,
|
46
|
+
configurable: true,
|
47
|
+
writable: true,
|
48
|
+
value: i18nRuntime.i18n("4be3194e93cdd2899d06b499c184195b")
|
49
|
+
});
|
50
|
+
Object.defineProperty(_this, "docLink", {
|
51
|
+
enumerable: true,
|
52
|
+
configurable: true,
|
53
|
+
writable: true,
|
54
|
+
value: '/amis/zh-CN/components/alert'
|
55
|
+
});
|
56
|
+
Object.defineProperty(_this, "icon", {
|
57
|
+
enumerable: true,
|
58
|
+
configurable: true,
|
59
|
+
writable: true,
|
60
|
+
value: 'fa fa-exclamation-circle'
|
61
|
+
});
|
62
|
+
Object.defineProperty(_this, "pluginIcon", {
|
63
|
+
enumerable: true,
|
64
|
+
configurable: true,
|
65
|
+
writable: true,
|
66
|
+
value: 'tooltip-plugin'
|
67
|
+
});
|
68
|
+
Object.defineProperty(_this, "scaffold", {
|
69
|
+
enumerable: true,
|
70
|
+
configurable: true,
|
71
|
+
writable: true,
|
72
|
+
value: {
|
73
|
+
type: 'alert',
|
74
|
+
body: {
|
75
|
+
type: 'tpl',
|
76
|
+
tpl: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76"),
|
77
|
+
inline: false
|
78
|
+
},
|
79
|
+
level: 'info'
|
80
|
+
}
|
81
|
+
});
|
82
|
+
Object.defineProperty(_this, "previewSchema", {
|
83
|
+
enumerable: true,
|
84
|
+
configurable: true,
|
85
|
+
writable: true,
|
86
|
+
value: tslib.__assign(tslib.__assign({}, _this.scaffold), {
|
87
|
+
className: 'text-left',
|
88
|
+
showCloseButton: true
|
89
|
+
})
|
90
|
+
});
|
91
|
+
// 普通容器类渲染器配置
|
92
|
+
Object.defineProperty(_this, "regions", {
|
93
|
+
enumerable: true,
|
94
|
+
configurable: true,
|
95
|
+
writable: true,
|
96
|
+
value: [{
|
97
|
+
key: 'body',
|
98
|
+
label: i18nRuntime.i18n("132a78bdf68d6d17bde00aa807bbf032"),
|
99
|
+
placeholder: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76")
|
100
|
+
}]
|
101
|
+
});
|
102
|
+
Object.defineProperty(_this, "notRenderFormZone", {
|
103
|
+
enumerable: true,
|
104
|
+
configurable: true,
|
105
|
+
writable: true,
|
106
|
+
value: true
|
107
|
+
});
|
108
|
+
Object.defineProperty(_this, "panelTitle", {
|
109
|
+
enumerable: true,
|
110
|
+
configurable: true,
|
111
|
+
writable: true,
|
112
|
+
value: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca")
|
113
|
+
});
|
114
|
+
Object.defineProperty(_this, "panelJustify", {
|
115
|
+
enumerable: true,
|
116
|
+
configurable: true,
|
117
|
+
writable: true,
|
118
|
+
value: true
|
119
|
+
});
|
120
|
+
Object.defineProperty(_this, "panelBodyCreator", {
|
121
|
+
enumerable: true,
|
122
|
+
configurable: true,
|
123
|
+
writable: true,
|
124
|
+
value: function (context) {
|
125
|
+
return amisEditorCore.getSchemaTpl('tabs', [{
|
126
|
+
title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
|
127
|
+
body: amisEditorCore.getSchemaTpl('collapseGroup', [{
|
128
|
+
title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
|
129
|
+
body: [{
|
130
|
+
label: i18nRuntime.i18n("226b0912184333c81babf2f1894ec0c1"),
|
131
|
+
name: 'level',
|
132
|
+
type: 'select',
|
133
|
+
options: [{
|
134
|
+
label: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca"),
|
135
|
+
value: 'info'
|
136
|
+
}, {
|
137
|
+
label: i18nRuntime.i18n("330363dfc524cff2488f2ebde0500896"),
|
138
|
+
value: 'success'
|
139
|
+
}, {
|
140
|
+
label: i18nRuntime.i18n("900c70fa5f7dbc014e6f762d5e0e885c"),
|
141
|
+
value: 'warning'
|
142
|
+
}, {
|
143
|
+
label: i18nRuntime.i18n("e2e27a87257599f83c817c43e724b6aa"),
|
144
|
+
value: 'danger'
|
145
|
+
}]
|
146
|
+
}, amisEditorCore.getSchemaTpl('label', {
|
147
|
+
name: 'title'
|
148
|
+
}), amisEditorCore.getSchemaTpl('switch', {
|
149
|
+
label: i18nRuntime.i18n("cbda486dbec5bdacb593294e240c5e63"),
|
150
|
+
name: 'showCloseButton'
|
151
|
+
}), {
|
152
|
+
type: 'ae-switch-more',
|
153
|
+
mode: 'normal',
|
154
|
+
name: 'showIcon',
|
155
|
+
label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a"),
|
156
|
+
hiddenOnDefault: !context.schema.icon,
|
157
|
+
formType: 'extend',
|
158
|
+
form: {
|
159
|
+
body: [amisEditorCore.getSchemaTpl('icon', {
|
160
|
+
label: i18nRuntime.i18n("7372dc9f39a173dd0c75a185373245b1")
|
161
|
+
})]
|
162
|
+
}
|
76
163
|
}]
|
77
|
-
}, amisEditorCore.getSchemaTpl('
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
})
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a"),
|
87
|
-
hiddenOnDefault: !context.schema.icon,
|
88
|
-
formType: 'extend',
|
89
|
-
form: {
|
90
|
-
body: [amisEditorCore.getSchemaTpl('icon', {
|
91
|
-
label: i18nRuntime.i18n("7372dc9f39a173dd0c75a185373245b1")
|
92
|
-
})]
|
93
|
-
}
|
94
|
-
}]
|
95
|
-
}, amisEditorCore.getSchemaTpl('status')])
|
96
|
-
}, {
|
97
|
-
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
98
|
-
body: amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('style:classNames', {
|
99
|
-
isFormItem: false
|
100
|
-
})])
|
101
|
-
}]);
|
102
|
-
};
|
103
|
-
|
164
|
+
}, amisEditorCore.getSchemaTpl('status')])
|
165
|
+
}, {
|
166
|
+
title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
|
167
|
+
body: amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('style:classNames', {
|
168
|
+
isFormItem: false
|
169
|
+
})])
|
170
|
+
}]);
|
171
|
+
}
|
172
|
+
});
|
104
173
|
return _this;
|
105
174
|
}
|
106
|
-
|
107
175
|
return AlertPlugin;
|
108
176
|
}(amisEditorCore.BasePlugin);
|
109
177
|
amisEditorCore.registerEditorPlugin(AlertPlugin);
|