amis-ui 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/404.d.ts +54 -0
- package/dist/components/404.js +44 -0
- package/dist/components/Alert.d.ts +560 -0
- package/dist/components/Alert.js +201 -0
- package/dist/components/Alert2.d.ts +66 -0
- package/dist/components/Alert2.js +69 -0
- package/dist/components/AnchorNav.d.ts +118 -0
- package/dist/components/AnchorNav.js +181 -0
- package/dist/components/ArrayInput.d.ts +625 -0
- package/dist/components/ArrayInput.js +162 -0
- package/dist/components/AsideNav.d.ts +142 -0
- package/dist/components/AsideNav.js +139 -0
- package/dist/components/AssociatedSelection.d.ts +491 -0
- package/dist/components/AssociatedSelection.js +113 -0
- package/dist/components/Avatar.d.ts +113 -0
- package/dist/components/Avatar.js +150 -0
- package/dist/components/Badge.d.ts +120 -0
- package/dist/components/BaiduMapPicker.d.ts +86 -0
- package/dist/components/BarCode.d.ts +58 -0
- package/dist/components/Breadcrumb.d.ts +115 -0
- package/dist/components/Breadcrumb.js +173 -0
- package/dist/components/Button.d.ts +74 -0
- package/dist/components/Button.js +73 -0
- package/dist/components/CalendarMobile.d.ts +353 -0
- package/dist/components/CalendarMobile.js +541 -0
- package/dist/components/Card.d.ts +75 -0
- package/dist/components/Cascader.d.ts +109 -0
- package/dist/components/ChainedSelection.d.ts +480 -0
- package/dist/components/ChainedSelection.js +131 -0
- package/dist/components/Checkbox.d.ts +69 -0
- package/dist/components/Checkbox.js +73 -0
- package/dist/components/CityArea.d.ts +307 -0
- package/dist/components/CityDB.d.ts +13 -0
- package/dist/components/CodeMirror.d.ts +25 -0
- package/dist/components/CodeMirror.js +113 -0
- package/dist/components/Collapse.d.ts +92 -0
- package/dist/components/Collapse.js +166 -0
- package/dist/components/CollapseGroup.d.ts +68 -0
- package/dist/components/CollapseGroup.js +96 -0
- package/dist/components/ColorPicker.d.ts +524 -0
- package/dist/components/ContextMenu.d.ts +96 -0
- package/dist/components/ContextMenu.js +225 -0
- package/dist/components/DatePicker.d.ts +619 -0
- package/dist/components/DatePicker.js +534 -0
- package/dist/components/DateRangePicker.d.ts +876 -0
- package/dist/components/DateRangePicker.js +1050 -0
- package/dist/components/Drawer.d.ts +95 -0
- package/dist/components/Drawer.js +262 -0
- package/dist/components/Editor.d.ts +605 -0
- package/dist/components/Editor.js +245 -0
- package/dist/components/Form.d.ts +22 -0
- package/dist/components/FormField.d.ts +65 -0
- package/dist/components/GridNav.d.ts +52 -0
- package/dist/components/GroupedSelection.d.ts +467 -0
- package/dist/components/GroupedSelection.js +71 -0
- package/dist/components/Html.d.ts +83 -0
- package/dist/components/Html.js +61 -0
- package/dist/components/ImageGallery.d.ts +297 -0
- package/dist/components/Input.d.ts +16 -0
- package/dist/components/Input.js +70 -0
- package/dist/components/InputBox.d.ts +99 -0
- package/dist/components/InputBox.js +106 -0
- package/dist/components/InputBoxWithSuggestion.d.ts +280 -0
- package/dist/components/InputBoxWithSuggestion.js +75 -0
- package/dist/components/Layout.d.ts +144 -0
- package/dist/components/Layout.js +75 -0
- package/dist/components/Link.d.ts +62 -0
- package/dist/components/ListGroup.d.ts +76 -0
- package/dist/components/ListGroup.js +40 -0
- package/dist/components/ListMenu.d.ts +573 -0
- package/dist/components/LocationPicker.d.ts +427 -0
- package/dist/components/Markdown.d.ts +20 -0
- package/dist/components/Modal.d.ts +1278 -0
- package/dist/components/Modal.js +159 -0
- package/dist/components/ModalManager.d.ts +17 -0
- package/dist/components/ModalManager.js +53 -0
- package/dist/components/MonthRangePicker.d.ts +748 -0
- package/dist/components/NumberInput.d.ts +89 -0
- package/dist/components/NumberInput.js +147 -0
- package/dist/components/Overlay.d.ts +41 -0
- package/dist/components/Overlay.js +218 -0
- package/dist/components/Pagination.d.ts +685 -0
- package/dist/components/Picker.d.ts +284 -0
- package/dist/components/Picker.js +82 -0
- package/dist/components/PickerColumn.d.ts +63 -0
- package/dist/components/PickerColumn.js +285 -0
- package/dist/components/PickerContainer.d.ts +303 -0
- package/dist/components/PickerContainer.js +158 -0
- package/dist/components/PopOver.d.ts +90 -0
- package/dist/components/PopOver.js +98 -0
- package/dist/components/PopOverContainer.d.ts +28 -0
- package/dist/components/PopOverContainer.js +101 -0
- package/dist/components/PopUp.d.ts +578 -0
- package/dist/components/PopUp.js +96 -0
- package/dist/components/Progress.d.ts +68 -0
- package/dist/components/PullRefresh.d.ts +64 -0
- package/dist/components/PullRefresh.js +149 -0
- package/dist/components/Radios.d.ts +180 -0
- package/dist/components/Radios.js +121 -0
- package/dist/components/Range.d.ts +122 -0
- package/dist/components/Range.js +418 -0
- package/dist/components/Rating.d.ts +252 -0
- package/dist/components/Rating.js +324 -0
- package/dist/components/ResultBox.d.ts +290 -0
- package/dist/components/ResultBox.js +156 -0
- package/dist/components/ResultList.d.ts +319 -0
- package/dist/components/ResultList.js +192 -0
- package/dist/components/ResultTableList.d.ts +708 -0
- package/dist/components/ResultTableList.js +135 -0
- package/dist/components/ResultTreeList.d.ts +308 -0
- package/dist/components/ResultTreeList.js +217 -0
- package/dist/components/RichText.d.ts +45 -0
- package/dist/components/SearchBox.d.ts +504 -0
- package/dist/components/SearchBox.js +137 -0
- package/dist/components/Select.d.ts +6280 -0
- package/dist/components/Select.js +772 -0
- package/dist/components/Selection.d.ts +510 -0
- package/dist/components/Selection.js +151 -0
- package/dist/components/SparkLine.d.ts +403 -0
- package/dist/components/SparkLine.js +71 -0
- package/dist/components/Spinner.d.ts +174 -0
- package/dist/components/Spinner.js +77 -0
- package/dist/components/Steps.d.ts +110 -0
- package/dist/components/Switch.d.ts +101 -0
- package/dist/components/Switch.js +73 -0
- package/dist/components/TableSelection.d.ts +695 -0
- package/dist/components/TableSelection.js +88 -0
- package/dist/components/Tabs.d.ts +210 -0
- package/dist/components/Tabs.js +486 -0
- package/dist/components/TabsTransfer.d.ts +297 -0
- package/dist/components/TabsTransfer.js +220 -0
- package/dist/components/TabsTransferPicker.d.ts +273 -0
- package/dist/components/Tag.d.ts +104 -0
- package/dist/components/Textarea.d.ts +568 -0
- package/dist/components/Textarea.js +144 -0
- package/dist/components/Timeline.d.ts +47 -0
- package/dist/components/TimelineItem.d.ts +297 -0
- package/dist/components/Tinymce.d.ts +55 -0
- package/dist/components/TitleBar.d.ts +115 -0
- package/dist/components/TitleBar.js +57 -0
- package/dist/components/Toast.d.ts +358 -0
- package/dist/components/Toast.js +260 -0
- package/dist/components/Tooltip.d.ts +65 -0
- package/dist/components/Tooltip.js +45 -0
- package/dist/components/TooltipWrapper.d.ts +155 -0
- package/dist/components/TooltipWrapper.js +192 -0
- package/dist/components/Transfer.d.ts +1243 -0
- package/dist/components/Transfer.js +332 -0
- package/dist/components/TransferDropDown.d.ts +271 -0
- package/dist/components/TransferPicker.d.ts +277 -0
- package/dist/components/TransferSearch.d.ts +292 -0
- package/dist/components/TransferSearch.js +104 -0
- package/dist/components/Tree.d.ts +1708 -0
- package/dist/components/Tree.js +773 -0
- package/dist/components/TreeSelection.d.ts +526 -0
- package/dist/components/TreeSelection.js +209 -0
- package/dist/components/UserSelect.d.ts +500 -0
- package/dist/components/UserTabSelect.d.ts +320 -0
- package/dist/components/WithRemoteConfig.d.ts +386 -0
- package/dist/components/WithRemoteConfig.js +268 -0
- package/dist/components/WithStore.d.ts +75 -0
- package/dist/components/WithStore.js +57 -0
- package/dist/components/calendar/Calendar.d.ts +64 -0
- package/dist/components/calendar/Calendar.js +499 -0
- package/dist/components/calendar/CalendarContainer.d.ts +10 -0
- package/dist/components/calendar/CalendarContainer.js +35 -0
- package/dist/components/calendar/DaysView.d.ts +170 -0
- package/dist/components/calendar/DaysView.js +453 -0
- package/dist/components/calendar/MonthsView.d.ts +128 -0
- package/dist/components/calendar/MonthsView.js +168 -0
- package/dist/components/calendar/QuartersView.d.ts +92 -0
- package/dist/components/calendar/QuartersView.js +93 -0
- package/dist/components/calendar/TimeView.d.ts +178 -0
- package/dist/components/calendar/TimeView.js +474 -0
- package/dist/components/calendar/YearsView.d.ts +102 -0
- package/dist/components/calendar/YearsView.js +131 -0
- package/dist/components/condition-builder/Expression.d.ts +298 -0
- package/dist/components/condition-builder/Field.d.ts +280 -0
- package/dist/components/condition-builder/Formula.d.ts +269 -0
- package/dist/components/condition-builder/Func.d.ts +279 -0
- package/dist/components/condition-builder/Group.d.ts +296 -0
- package/dist/components/condition-builder/GroupOrItem.d.ts +72 -0
- package/dist/components/condition-builder/InputSwitch.d.ts +47 -0
- package/dist/components/condition-builder/Item.d.ts +292 -0
- package/dist/components/condition-builder/Value.d.ts +277 -0
- package/dist/components/condition-builder/config.d.ts +35 -0
- package/dist/components/condition-builder/index.d.ts +303 -0
- package/dist/components/condition-builder/types.d.ts +150 -0
- package/dist/components/formula/Editor.d.ts +362 -0
- package/dist/components/formula/Editor.js +217 -0
- package/dist/components/formula/FuncList.d.ts +48 -0
- package/dist/components/formula/FuncList.js +57 -0
- package/dist/components/formula/Picker.d.ts +440 -0
- package/dist/components/formula/Picker.js +231 -0
- package/dist/components/formula/VariableList.d.ts +54 -0
- package/dist/components/formula/VariableList.js +49 -0
- package/dist/components/formula/plugin.d.ts +27 -0
- package/dist/components/formula/plugin.js +211 -0
- package/dist/components/icons.d.ts +45 -0
- package/dist/components/icons.js +270 -0
- package/dist/components/index.d.ts +64 -0
- package/dist/components/json-schema/Array.d.ts +3 -0
- package/dist/components/json-schema/Array.js +136 -0
- package/dist/components/json-schema/Item.d.ts +3 -0
- package/dist/components/json-schema/Item.js +45 -0
- package/dist/components/json-schema/Object.d.ts +3 -0
- package/dist/components/json-schema/Object.js +189 -0
- package/dist/components/json-schema/index.d.ts +277 -0
- package/dist/components/json-schema/index.js +28 -0
- package/dist/components/schema-editor/Array.d.ts +11 -0
- package/dist/components/schema-editor/Common.d.ts +29 -0
- package/dist/components/schema-editor/Item.d.ts +8 -0
- package/dist/components/schema-editor/Object.d.ts +44 -0
- package/dist/components/schema-editor/SchemaVariableList.d.ts +193 -0
- package/dist/components/schema-editor/SchemaVariableList.js +83 -0
- package/dist/components/schema-editor/SchemaVariableListPicker.d.ts +186 -0
- package/dist/components/schema-editor/SchemaVariableListPicker.js +43 -0
- package/dist/components/schema-editor/index.d.ts +303 -0
- package/dist/components/table/Cell.d.ts +489 -0
- package/dist/components/table/Cell.js +47 -0
- package/dist/components/table/HeadCellDropDown.d.ts +293 -0
- package/dist/components/table/HeadCellDropDown.js +64 -0
- package/dist/components/table/HeadCellFilter.d.ts +419 -0
- package/dist/components/table/HeadCellFilter.js +146 -0
- package/dist/components/table/HeadCellSelect.d.ts +364 -0
- package/dist/components/table/HeadCellSelect.js +57 -0
- package/dist/components/table/HeadCellSort.d.ts +278 -0
- package/dist/components/table/HeadCellSort.js +83 -0
- package/dist/components/table/ItemActionsWrapper.d.ts +10 -0
- package/dist/components/table/ItemActionsWrapper.js +37 -0
- package/dist/components/table/index.d.ts +794 -0
- package/dist/components/table/index.js +1250 -0
- package/dist/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
- package/dist/components/virtual-list/SizeAndPositionManager.js +220 -0
- package/dist/components/virtual-list/constants.d.ts +34 -0
- package/dist/components/virtual-list/constants.js +53 -0
- package/dist/components/virtual-list/index.d.ts +94 -0
- package/dist/components/virtual-list/index.js +309 -0
- package/dist/hooks/index.d.ts +7 -0
- package/dist/hooks/use-set-state.d.ts +2 -0
- package/dist/hooks/use-set-state.js +27 -0
- package/dist/hooks/use-touch.d.ts +16 -0
- package/dist/hooks/use-touch.js +81 -0
- package/dist/hooks/use-update-effect.d.ts +3 -0
- package/dist/hooks/use-update-effect.js +25 -0
- package/dist/hooks/use-validation-resolver.d.ts +2 -0
- package/dist/hooks/use-validation-resolver.js +59 -0
- package/dist/icons/alert-danger.svg.js +48 -0
- package/dist/icons/alert-info.svg.js +48 -0
- package/dist/icons/alert-success.svg.js +48 -0
- package/dist/icons/alert-warning.svg.js +48 -0
- package/dist/icons/back.svg.js +47 -0
- package/dist/icons/calendar.svg.js +56 -0
- package/dist/icons/caret.svg.js +46 -0
- package/dist/icons/check.svg.js +45 -0
- package/dist/icons/clock.svg.js +56 -0
- package/dist/icons/close-small.svg.js +49 -0
- package/dist/icons/close.svg.js +45 -0
- package/dist/icons/cloud-upload.svg.js +57 -0
- package/dist/icons/column-filter.svg.js +47 -0
- package/dist/icons/columns.svg.js +46 -0
- package/dist/icons/compress-alt.svg.js +46 -0
- package/dist/icons/copy.svg.js +51 -0
- package/dist/icons/date.svg.js +52 -0
- package/dist/icons/department.svg.js +78 -0
- package/dist/icons/desk-empty.svg.js +99 -0
- package/dist/icons/dot.svg.js +62 -0
- package/dist/icons/down-arrow-bold.svg.js +48 -0
- package/dist/icons/download.svg.js +50 -0
- package/dist/icons/drag-bar.svg.js +79 -0
- package/dist/icons/drag.svg.js +48 -0
- package/dist/icons/edit.svg.js +48 -0
- package/dist/icons/ellipsis-v.svg.js +47 -0
- package/dist/icons/enter.svg.js +45 -0
- package/dist/icons/exchange.svg.js +47 -0
- package/dist/icons/expand-alt.svg.js +46 -0
- package/dist/icons/fail.svg.js +54 -0
- package/dist/icons/file.svg.js +47 -0
- package/dist/icons/filter.svg.js +46 -0
- package/dist/icons/folder.svg.js +49 -0
- package/dist/icons/function.svg.js +48 -0
- package/dist/icons/home.svg.js +46 -0
- package/dist/icons/image.svg.js +45 -0
- package/dist/icons/info-circle.svg.js +46 -0
- package/dist/icons/info.svg.js +52 -0
- package/dist/icons/input-clear.svg.js +48 -0
- package/dist/icons/invisible.svg.js +48 -0
- package/dist/icons/left-arrow.svg.js +46 -0
- package/dist/icons/loading-outline.svg.js +49 -0
- package/dist/icons/location.svg.js +46 -0
- package/dist/icons/menu.svg.js +48 -0
- package/dist/icons/minus.svg.js +46 -0
- package/dist/icons/move.svg.js +47 -0
- package/dist/icons/mute.svg.js +46 -0
- package/dist/icons/pause.svg.js +46 -0
- package/dist/icons/pencil.svg.js +46 -0
- package/dist/icons/play.svg.js +45 -0
- package/dist/icons/plus-cicle.svg.js +47 -0
- package/dist/icons/plus-fine.svg.js +48 -0
- package/dist/icons/plus.svg.js +47 -0
- package/dist/icons/post.svg.js +74 -0
- package/dist/icons/question-mark.svg.js +51 -0
- package/dist/icons/question.svg.js +46 -0
- package/dist/icons/redo.svg.js +46 -0
- package/dist/icons/refresh.svg.js +47 -0
- package/dist/icons/reload.svg.js +46 -0
- package/dist/icons/remove.svg.js +48 -0
- package/dist/icons/retry.svg.js +51 -0
- package/dist/icons/right-arrow-bold.svg.js +46 -0
- package/dist/icons/right-arrow.svg.js +46 -0
- package/dist/icons/role.svg.js +69 -0
- package/dist/icons/schedule.svg.js +49 -0
- package/dist/icons/search.svg.js +45 -0
- package/dist/icons/setting.svg.js +47 -0
- package/dist/icons/slider-handle-icon.svg.js +48 -0
- package/dist/icons/sort-asc.svg.js +46 -0
- package/dist/icons/sort-default.svg.js +47 -0
- package/dist/icons/sort-desc.svg.js +46 -0
- package/dist/icons/star.svg.js +47 -0
- package/dist/icons/status-close.svg.js +49 -0
- package/dist/icons/status-fail.svg.js +48 -0
- package/dist/icons/status-info.svg.js +52 -0
- package/dist/icons/status-success.svg.js +48 -0
- package/dist/icons/status-warning.svg.js +52 -0
- package/dist/icons/success.svg.js +52 -0
- package/dist/icons/transparent.svg.js +65 -0
- package/dist/icons/trash.svg.js +48 -0
- package/dist/icons/tree-down.svg.js +47 -0
- package/dist/icons/undo.svg.js +46 -0
- package/dist/icons/upload.svg.js +48 -0
- package/dist/icons/user-remove.svg.js +59 -0
- package/dist/icons/view.svg.js +48 -0
- package/dist/icons/volume.svg.js +49 -0
- package/dist/icons/warning-mark.svg.js +49 -0
- package/dist/icons/warning.svg.js +46 -0
- package/dist/icons/window-restore.svg.js +46 -0
- package/dist/icons/zoom-in.svg.js +46 -0
- package/dist/icons/zoom-out.svg.js +46 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +151 -0
- package/dist/locale/de-DE.d.ts +1 -0
- package/dist/locale/de-DE.js +344 -0
- package/dist/locale/en-US.d.ts +1 -0
- package/dist/locale/en-US.js +347 -0
- package/dist/locale/zh-CN.d.ts +1 -0
- package/dist/locale/zh-CN.js +358 -0
- package/dist/themes/ang.d.ts +3 -0
- package/dist/themes/ang.js +20 -0
- package/dist/themes/antd.d.ts +1 -0
- package/dist/themes/antd.js +44 -0
- package/dist/themes/cxd.d.ts +3 -0
- package/dist/themes/cxd.js +459 -0
- package/dist/themes/dark.d.ts +3 -0
- package/dist/themes/dark.js +28 -0
- package/dist/themes/default.d.ts +4 -0
- package/esm-dist/components/404.d.ts +54 -0
- package/esm-dist/components/404.js +35 -0
- package/esm-dist/components/Alert.d.ts +560 -0
- package/esm-dist/components/Alert.js +188 -0
- package/esm-dist/components/Alert2.d.ts +66 -0
- package/esm-dist/components/Alert2.js +60 -0
- package/esm-dist/components/AnchorNav.d.ts +118 -0
- package/esm-dist/components/AnchorNav.js +171 -0
- package/esm-dist/components/ArrayInput.d.ts +625 -0
- package/esm-dist/components/ArrayInput.js +152 -0
- package/esm-dist/components/AsideNav.d.ts +142 -0
- package/esm-dist/components/AsideNav.js +130 -0
- package/esm-dist/components/AssociatedSelection.d.ts +491 -0
- package/esm-dist/components/AssociatedSelection.js +104 -0
- package/esm-dist/components/Avatar.d.ts +113 -0
- package/esm-dist/components/Avatar.js +125 -0
- package/esm-dist/components/Badge.d.ts +120 -0
- package/esm-dist/components/BaiduMapPicker.d.ts +86 -0
- package/esm-dist/components/BarCode.d.ts +58 -0
- package/esm-dist/components/Breadcrumb.d.ts +115 -0
- package/esm-dist/components/Breadcrumb.js +163 -0
- package/esm-dist/components/Button.d.ts +74 -0
- package/esm-dist/components/Button.js +64 -0
- package/esm-dist/components/CalendarMobile.d.ts +353 -0
- package/esm-dist/components/CalendarMobile.js +531 -0
- package/esm-dist/components/Card.d.ts +75 -0
- package/esm-dist/components/Cascader.d.ts +109 -0
- package/esm-dist/components/ChainedSelection.d.ts +480 -0
- package/esm-dist/components/ChainedSelection.js +121 -0
- package/esm-dist/components/Checkbox.d.ts +69 -0
- package/esm-dist/components/Checkbox.js +64 -0
- package/esm-dist/components/CityArea.d.ts +307 -0
- package/esm-dist/components/CityDB.d.ts +13 -0
- package/esm-dist/components/CodeMirror.d.ts +25 -0
- package/esm-dist/components/CodeMirror.js +104 -0
- package/esm-dist/components/Collapse.d.ts +92 -0
- package/esm-dist/components/Collapse.js +156 -0
- package/esm-dist/components/CollapseGroup.d.ts +68 -0
- package/esm-dist/components/CollapseGroup.js +88 -0
- package/esm-dist/components/ColorPicker.d.ts +524 -0
- package/esm-dist/components/ContextMenu.d.ts +96 -0
- package/esm-dist/components/ContextMenu.js +213 -0
- package/esm-dist/components/DatePicker.d.ts +619 -0
- package/esm-dist/components/DatePicker.js +524 -0
- package/esm-dist/components/DateRangePicker.d.ts +876 -0
- package/esm-dist/components/DateRangePicker.js +1038 -0
- package/esm-dist/components/Drawer.d.ts +95 -0
- package/esm-dist/components/Drawer.js +250 -0
- package/esm-dist/components/Editor.d.ts +605 -0
- package/esm-dist/components/Editor.js +234 -0
- package/esm-dist/components/Form.d.ts +22 -0
- package/esm-dist/components/FormField.d.ts +65 -0
- package/esm-dist/components/GridNav.d.ts +52 -0
- package/esm-dist/components/GroupedSelection.d.ts +467 -0
- package/esm-dist/components/GroupedSelection.js +62 -0
- package/esm-dist/components/Html.d.ts +83 -0
- package/esm-dist/components/Html.js +52 -0
- package/esm-dist/components/ImageGallery.d.ts +297 -0
- package/esm-dist/components/Input.d.ts +16 -0
- package/esm-dist/components/Input.js +62 -0
- package/esm-dist/components/InputBox.d.ts +99 -0
- package/esm-dist/components/InputBox.js +97 -0
- package/esm-dist/components/InputBoxWithSuggestion.d.ts +280 -0
- package/esm-dist/components/InputBoxWithSuggestion.js +66 -0
- package/esm-dist/components/Layout.d.ts +144 -0
- package/esm-dist/components/Layout.js +66 -0
- package/esm-dist/components/Link.d.ts +62 -0
- package/esm-dist/components/ListGroup.d.ts +76 -0
- package/esm-dist/components/ListGroup.js +31 -0
- package/esm-dist/components/ListMenu.d.ts +573 -0
- package/esm-dist/components/LocationPicker.d.ts +427 -0
- package/esm-dist/components/Markdown.d.ts +20 -0
- package/esm-dist/components/Modal.d.ts +1278 -0
- package/esm-dist/components/Modal.js +148 -0
- package/esm-dist/components/ModalManager.d.ts +17 -0
- package/esm-dist/components/ModalManager.js +42 -0
- package/esm-dist/components/MonthRangePicker.d.ts +748 -0
- package/esm-dist/components/NumberInput.d.ts +89 -0
- package/esm-dist/components/NumberInput.js +136 -0
- package/esm-dist/components/Overlay.d.ts +41 -0
- package/esm-dist/components/Overlay.js +207 -0
- package/esm-dist/components/Pagination.d.ts +685 -0
- package/esm-dist/components/Picker.d.ts +284 -0
- package/esm-dist/components/Picker.js +74 -0
- package/esm-dist/components/PickerColumn.d.ts +63 -0
- package/esm-dist/components/PickerColumn.js +275 -0
- package/esm-dist/components/PickerContainer.d.ts +303 -0
- package/esm-dist/components/PickerContainer.js +149 -0
- package/esm-dist/components/PopOver.d.ts +90 -0
- package/esm-dist/components/PopOver.js +89 -0
- package/esm-dist/components/PopOverContainer.d.ts +28 -0
- package/esm-dist/components/PopOverContainer.js +92 -0
- package/esm-dist/components/PopUp.d.ts +578 -0
- package/esm-dist/components/PopUp.js +85 -0
- package/esm-dist/components/Progress.d.ts +68 -0
- package/esm-dist/components/PullRefresh.d.ts +64 -0
- package/esm-dist/components/PullRefresh.js +141 -0
- package/esm-dist/components/Radios.d.ts +180 -0
- package/esm-dist/components/Radios.js +112 -0
- package/esm-dist/components/Range.d.ts +122 -0
- package/esm-dist/components/Range.js +405 -0
- package/esm-dist/components/Rating.d.ts +252 -0
- package/esm-dist/components/Rating.js +315 -0
- package/esm-dist/components/ResultBox.d.ts +290 -0
- package/esm-dist/components/ResultBox.js +146 -0
- package/esm-dist/components/ResultList.d.ts +319 -0
- package/esm-dist/components/ResultList.js +182 -0
- package/esm-dist/components/ResultTableList.d.ts +708 -0
- package/esm-dist/components/ResultTableList.js +126 -0
- package/esm-dist/components/ResultTreeList.d.ts +308 -0
- package/esm-dist/components/ResultTreeList.js +208 -0
- package/esm-dist/components/RichText.d.ts +45 -0
- package/esm-dist/components/SearchBox.d.ts +504 -0
- package/esm-dist/components/SearchBox.js +127 -0
- package/esm-dist/components/Select.d.ts +6281 -0
- package/esm-dist/components/Select.js +756 -0
- package/esm-dist/components/Selection.d.ts +510 -0
- package/esm-dist/components/Selection.js +140 -0
- package/esm-dist/components/SparkLine.d.ts +403 -0
- package/esm-dist/components/SparkLine.js +62 -0
- package/esm-dist/components/Spinner.d.ts +174 -0
- package/esm-dist/components/Spinner.js +67 -0
- package/esm-dist/components/Steps.d.ts +110 -0
- package/esm-dist/components/Switch.d.ts +101 -0
- package/esm-dist/components/Switch.js +64 -0
- package/esm-dist/components/TableSelection.d.ts +695 -0
- package/esm-dist/components/TableSelection.js +79 -0
- package/esm-dist/components/Tabs.d.ts +210 -0
- package/esm-dist/components/Tabs.js +473 -0
- package/esm-dist/components/TabsTransfer.d.ts +297 -0
- package/esm-dist/components/TabsTransfer.js +210 -0
- package/esm-dist/components/TabsTransferPicker.d.ts +273 -0
- package/esm-dist/components/Tag.d.ts +104 -0
- package/esm-dist/components/Textarea.d.ts +568 -0
- package/esm-dist/components/Textarea.js +134 -0
- package/esm-dist/components/Timeline.d.ts +47 -0
- package/esm-dist/components/TimelineItem.d.ts +297 -0
- package/esm-dist/components/Tinymce.d.ts +55 -0
- package/esm-dist/components/TitleBar.d.ts +115 -0
- package/esm-dist/components/TitleBar.js +48 -0
- package/esm-dist/components/Toast.d.ts +358 -0
- package/esm-dist/components/Toast.js +247 -0
- package/esm-dist/components/Tooltip.d.ts +65 -0
- package/esm-dist/components/Tooltip.js +36 -0
- package/esm-dist/components/TooltipWrapper.d.ts +155 -0
- package/esm-dist/components/TooltipWrapper.js +183 -0
- package/esm-dist/components/Transfer.d.ts +1243 -0
- package/esm-dist/components/Transfer.js +323 -0
- package/esm-dist/components/TransferDropDown.d.ts +271 -0
- package/esm-dist/components/TransferPicker.d.ts +277 -0
- package/esm-dist/components/TransferSearch.d.ts +292 -0
- package/esm-dist/components/TransferSearch.js +95 -0
- package/esm-dist/components/Tree.d.ts +1708 -0
- package/esm-dist/components/Tree.js +764 -0
- package/esm-dist/components/TreeSelection.d.ts +526 -0
- package/esm-dist/components/TreeSelection.js +200 -0
- package/esm-dist/components/UserSelect.d.ts +500 -0
- package/esm-dist/components/UserTabSelect.d.ts +320 -0
- package/esm-dist/components/WithRemoteConfig.d.ts +386 -0
- package/esm-dist/components/WithRemoteConfig.js +257 -0
- package/esm-dist/components/WithStore.d.ts +75 -0
- package/esm-dist/components/WithStore.js +48 -0
- package/esm-dist/components/calendar/Calendar.d.ts +64 -0
- package/esm-dist/components/calendar/Calendar.js +489 -0
- package/esm-dist/components/calendar/CalendarContainer.d.ts +10 -0
- package/esm-dist/components/calendar/CalendarContainer.js +27 -0
- package/esm-dist/components/calendar/DaysView.d.ts +170 -0
- package/esm-dist/components/calendar/DaysView.js +440 -0
- package/esm-dist/components/calendar/MonthsView.d.ts +128 -0
- package/esm-dist/components/calendar/MonthsView.js +158 -0
- package/esm-dist/components/calendar/QuartersView.d.ts +92 -0
- package/esm-dist/components/calendar/QuartersView.js +83 -0
- package/esm-dist/components/calendar/TimeView.d.ts +178 -0
- package/esm-dist/components/calendar/TimeView.js +462 -0
- package/esm-dist/components/calendar/YearsView.d.ts +102 -0
- package/esm-dist/components/calendar/YearsView.js +121 -0
- package/esm-dist/components/condition-builder/Expression.d.ts +298 -0
- package/esm-dist/components/condition-builder/Field.d.ts +280 -0
- package/esm-dist/components/condition-builder/Formula.d.ts +269 -0
- package/esm-dist/components/condition-builder/Func.d.ts +279 -0
- package/esm-dist/components/condition-builder/Group.d.ts +296 -0
- package/esm-dist/components/condition-builder/GroupOrItem.d.ts +72 -0
- package/esm-dist/components/condition-builder/InputSwitch.d.ts +47 -0
- package/esm-dist/components/condition-builder/Item.d.ts +292 -0
- package/esm-dist/components/condition-builder/Value.d.ts +277 -0
- package/esm-dist/components/condition-builder/config.d.ts +35 -0
- package/esm-dist/components/condition-builder/index.d.ts +303 -0
- package/esm-dist/components/condition-builder/types.d.ts +150 -0
- package/esm-dist/components/formula/Editor.d.ts +362 -0
- package/esm-dist/components/formula/Editor.js +208 -0
- package/esm-dist/components/formula/FuncList.d.ts +48 -0
- package/esm-dist/components/formula/FuncList.js +48 -0
- package/esm-dist/components/formula/Picker.d.ts +440 -0
- package/esm-dist/components/formula/Picker.js +222 -0
- package/esm-dist/components/formula/VariableList.d.ts +54 -0
- package/esm-dist/components/formula/VariableList.js +41 -0
- package/esm-dist/components/formula/plugin.d.ts +27 -0
- package/esm-dist/components/formula/plugin.js +206 -0
- package/esm-dist/components/icons.d.ts +45 -0
- package/esm-dist/components/icons.js +249 -0
- package/esm-dist/components/index.d.ts +64 -0
- package/esm-dist/components/json-schema/Array.d.ts +3 -0
- package/esm-dist/components/json-schema/Array.js +128 -0
- package/esm-dist/components/json-schema/Item.d.ts +3 -0
- package/esm-dist/components/json-schema/Item.js +37 -0
- package/esm-dist/components/json-schema/Object.d.ts +3 -0
- package/esm-dist/components/json-schema/Object.js +181 -0
- package/esm-dist/components/json-schema/index.d.ts +277 -0
- package/esm-dist/components/json-schema/index.js +20 -0
- package/esm-dist/components/schema-editor/Array.d.ts +11 -0
- package/esm-dist/components/schema-editor/Common.d.ts +29 -0
- package/esm-dist/components/schema-editor/Item.d.ts +8 -0
- package/esm-dist/components/schema-editor/Object.d.ts +44 -0
- package/esm-dist/components/schema-editor/SchemaVariableList.d.ts +193 -0
- package/esm-dist/components/schema-editor/SchemaVariableList.js +74 -0
- package/esm-dist/components/schema-editor/SchemaVariableListPicker.d.ts +186 -0
- package/esm-dist/components/schema-editor/SchemaVariableListPicker.js +34 -0
- package/esm-dist/components/schema-editor/index.d.ts +303 -0
- package/esm-dist/components/table/Cell.d.ts +489 -0
- package/esm-dist/components/table/Cell.js +38 -0
- package/esm-dist/components/table/HeadCellDropDown.d.ts +293 -0
- package/esm-dist/components/table/HeadCellDropDown.js +55 -0
- package/esm-dist/components/table/HeadCellFilter.d.ts +419 -0
- package/esm-dist/components/table/HeadCellFilter.js +136 -0
- package/esm-dist/components/table/HeadCellSelect.d.ts +364 -0
- package/esm-dist/components/table/HeadCellSelect.js +48 -0
- package/esm-dist/components/table/HeadCellSort.d.ts +278 -0
- package/esm-dist/components/table/HeadCellSort.js +74 -0
- package/esm-dist/components/table/ItemActionsWrapper.d.ts +10 -0
- package/esm-dist/components/table/ItemActionsWrapper.js +29 -0
- package/esm-dist/components/table/index.d.ts +794 -0
- package/esm-dist/components/table/index.js +1234 -0
- package/esm-dist/components/virtual-list/SizeAndPositionManager.d.ts +70 -0
- package/esm-dist/components/virtual-list/SizeAndPositionManager.js +216 -0
- package/esm-dist/components/virtual-list/constants.d.ts +34 -0
- package/esm-dist/components/virtual-list/constants.js +45 -0
- package/esm-dist/components/virtual-list/index.d.ts +94 -0
- package/esm-dist/components/virtual-list/index.js +281 -0
- package/esm-dist/hooks/index.d.ts +7 -0
- package/esm-dist/hooks/use-set-state.d.ts +2 -0
- package/esm-dist/hooks/use-set-state.js +19 -0
- package/esm-dist/hooks/use-touch.d.ts +16 -0
- package/esm-dist/hooks/use-touch.js +77 -0
- package/esm-dist/hooks/use-update-effect.d.ts +3 -0
- package/esm-dist/hooks/use-update-effect.js +21 -0
- package/esm-dist/hooks/use-validation-resolver.d.ts +2 -0
- package/esm-dist/hooks/use-validation-resolver.js +49 -0
- package/esm-dist/icons/alert-danger.svg.js +24 -0
- package/esm-dist/icons/alert-info.svg.js +24 -0
- package/esm-dist/icons/alert-success.svg.js +24 -0
- package/esm-dist/icons/alert-warning.svg.js +24 -0
- package/esm-dist/icons/back.svg.js +23 -0
- package/esm-dist/icons/calendar.svg.js +32 -0
- package/esm-dist/icons/caret.svg.js +22 -0
- package/esm-dist/icons/check.svg.js +21 -0
- package/esm-dist/icons/clock.svg.js +32 -0
- package/esm-dist/icons/close-small.svg.js +25 -0
- package/esm-dist/icons/close.svg.js +21 -0
- package/esm-dist/icons/cloud-upload.svg.js +33 -0
- package/esm-dist/icons/column-filter.svg.js +23 -0
- package/esm-dist/icons/columns.svg.js +22 -0
- package/esm-dist/icons/compress-alt.svg.js +22 -0
- package/esm-dist/icons/copy.svg.js +27 -0
- package/esm-dist/icons/date.svg.js +28 -0
- package/esm-dist/icons/department.svg.js +54 -0
- package/esm-dist/icons/desk-empty.svg.js +75 -0
- package/esm-dist/icons/dot.svg.js +38 -0
- package/esm-dist/icons/down-arrow-bold.svg.js +24 -0
- package/esm-dist/icons/download.svg.js +26 -0
- package/esm-dist/icons/drag-bar.svg.js +55 -0
- package/esm-dist/icons/drag.svg.js +24 -0
- package/esm-dist/icons/edit.svg.js +24 -0
- package/esm-dist/icons/ellipsis-v.svg.js +23 -0
- package/esm-dist/icons/enter.svg.js +21 -0
- package/esm-dist/icons/exchange.svg.js +23 -0
- package/esm-dist/icons/expand-alt.svg.js +22 -0
- package/esm-dist/icons/fail.svg.js +30 -0
- package/esm-dist/icons/file.svg.js +23 -0
- package/esm-dist/icons/filter.svg.js +22 -0
- package/esm-dist/icons/folder.svg.js +25 -0
- package/esm-dist/icons/function.svg.js +24 -0
- package/esm-dist/icons/home.svg.js +22 -0
- package/esm-dist/icons/image.svg.js +21 -0
- package/esm-dist/icons/info-circle.svg.js +22 -0
- package/esm-dist/icons/info.svg.js +28 -0
- package/esm-dist/icons/input-clear.svg.js +24 -0
- package/esm-dist/icons/invisible.svg.js +24 -0
- package/esm-dist/icons/left-arrow.svg.js +22 -0
- package/esm-dist/icons/loading-outline.svg.js +25 -0
- package/esm-dist/icons/location.svg.js +22 -0
- package/esm-dist/icons/menu.svg.js +24 -0
- package/esm-dist/icons/minus.svg.js +22 -0
- package/esm-dist/icons/move.svg.js +23 -0
- package/esm-dist/icons/mute.svg.js +22 -0
- package/esm-dist/icons/pause.svg.js +22 -0
- package/esm-dist/icons/pencil.svg.js +22 -0
- package/esm-dist/icons/play.svg.js +21 -0
- package/esm-dist/icons/plus-cicle.svg.js +23 -0
- package/esm-dist/icons/plus-fine.svg.js +24 -0
- package/esm-dist/icons/plus.svg.js +23 -0
- package/esm-dist/icons/post.svg.js +50 -0
- package/esm-dist/icons/question-mark.svg.js +27 -0
- package/esm-dist/icons/question.svg.js +22 -0
- package/esm-dist/icons/redo.svg.js +22 -0
- package/esm-dist/icons/refresh.svg.js +23 -0
- package/esm-dist/icons/reload.svg.js +22 -0
- package/esm-dist/icons/remove.svg.js +24 -0
- package/esm-dist/icons/retry.svg.js +27 -0
- package/esm-dist/icons/right-arrow-bold.svg.js +22 -0
- package/esm-dist/icons/right-arrow.svg.js +22 -0
- package/esm-dist/icons/role.svg.js +45 -0
- package/esm-dist/icons/schedule.svg.js +25 -0
- package/esm-dist/icons/search.svg.js +21 -0
- package/esm-dist/icons/setting.svg.js +23 -0
- package/esm-dist/icons/slider-handle-icon.svg.js +24 -0
- package/esm-dist/icons/sort-asc.svg.js +22 -0
- package/esm-dist/icons/sort-default.svg.js +23 -0
- package/esm-dist/icons/sort-desc.svg.js +22 -0
- package/esm-dist/icons/star.svg.js +23 -0
- package/esm-dist/icons/status-close.svg.js +25 -0
- package/esm-dist/icons/status-fail.svg.js +24 -0
- package/esm-dist/icons/status-info.svg.js +28 -0
- package/esm-dist/icons/status-success.svg.js +24 -0
- package/esm-dist/icons/status-warning.svg.js +28 -0
- package/esm-dist/icons/success.svg.js +28 -0
- package/esm-dist/icons/transparent.svg.js +41 -0
- package/esm-dist/icons/trash.svg.js +24 -0
- package/esm-dist/icons/tree-down.svg.js +23 -0
- package/esm-dist/icons/undo.svg.js +22 -0
- package/esm-dist/icons/upload.svg.js +24 -0
- package/esm-dist/icons/user-remove.svg.js +35 -0
- package/esm-dist/icons/view.svg.js +24 -0
- package/esm-dist/icons/volume.svg.js +25 -0
- package/esm-dist/icons/warning-mark.svg.js +25 -0
- package/esm-dist/icons/warning.svg.js +22 -0
- package/esm-dist/icons/window-restore.svg.js +22 -0
- package/esm-dist/icons/zoom-in.svg.js +22 -0
- package/esm-dist/icons/zoom-out.svg.js +22 -0
- package/esm-dist/index.d.ts +10 -0
- package/esm-dist/index.js +74 -0
- package/esm-dist/locale/de-DE.d.ts +1 -0
- package/esm-dist/locale/de-DE.js +342 -0
- package/esm-dist/locale/en-US.d.ts +1 -0
- package/esm-dist/locale/en-US.js +345 -0
- package/esm-dist/locale/zh-CN.d.ts +1 -0
- package/esm-dist/locale/zh-CN.js +356 -0
- package/esm-dist/themes/ang.d.ts +3 -0
- package/esm-dist/themes/ang.js +15 -0
- package/esm-dist/themes/antd.d.ts +1 -0
- package/esm-dist/themes/antd.js +42 -0
- package/esm-dist/themes/cxd.d.ts +3 -0
- package/esm-dist/themes/cxd.js +455 -0
- package/esm-dist/themes/dark.d.ts +3 -0
- package/esm-dist/themes/dark.js +23 -0
- package/esm-dist/themes/default.d.ts +4 -0
- package/package.json +71 -0
- package/rollup.config.js +129 -0
- package/scss/README.md +9 -0
- package/scss/_functions.scss +101 -0
- package/scss/_mixins.scss +472 -0
- package/scss/_properties.scss +1702 -0
- package/scss/_thirds.scss +8 -0
- package/scss/_utilities.scss +1753 -0
- package/scss/_variables.scss +417 -0
- package/scss/base/_common.scss +3 -0
- package/scss/base/_normalize.scss +361 -0
- package/scss/base/_reset.scss +18 -0
- package/scss/base/_typography.scss +59 -0
- package/scss/components/_alert.scss +82 -0
- package/scss/components/_anchor-nav.scss +115 -0
- package/scss/components/_app.scss +31 -0
- package/scss/components/_array-input.scss +101 -0
- package/scss/components/_audio.scss +146 -0
- package/scss/components/_avatar.scss +55 -0
- package/scss/components/_badge.scss +136 -0
- package/scss/components/_barcode.scss +6 -0
- package/scss/components/_breadcrumb.scss +98 -0
- package/scss/components/_button-group.scss +131 -0
- package/scss/components/_button.scss +379 -0
- package/scss/components/_calendar.scss +395 -0
- package/scss/components/_card.scss +359 -0
- package/scss/components/_card2.scss +28 -0
- package/scss/components/_cards.scss +187 -0
- package/scss/components/_carousel.scss +197 -0
- package/scss/components/_cascader.scss +102 -0
- package/scss/components/_chart.scss +20 -0
- package/scss/components/_city-area.scss +29 -0
- package/scss/components/_collapse-group.scss +30 -0
- package/scss/components/_collapse.scss +120 -0
- package/scss/components/_color.scss +18 -0
- package/scss/components/_column-toggler.scss +244 -0
- package/scss/components/_condition-builder.scss +280 -0
- package/scss/components/_context-menu.scss +206 -0
- package/scss/components/_copyable.scss +10 -0
- package/scss/components/_crud.scss +151 -0
- package/scss/components/_debug.scss +170 -0
- package/scss/components/_divider.scss +11 -0
- package/scss/components/_drawer.scss +314 -0
- package/scss/components/_dropdown.scss +144 -0
- package/scss/components/_each.scss +7 -0
- package/scss/components/_formula.scss +407 -0
- package/scss/components/_grid-nav.scss +128 -0
- package/scss/components/_icon.scss +4 -0
- package/scss/components/_image-gallery.scss +205 -0
- package/scss/components/_images.scss +186 -0
- package/scss/components/_input-box.scss +74 -0
- package/scss/components/_json-schema-editor.scss +126 -0
- package/scss/components/_json-schema.scss +124 -0
- package/scss/components/_json.scss +7 -0
- package/scss/components/_link.scss +6 -0
- package/scss/components/_list-menu.scss +74 -0
- package/scss/components/_list.scss +249 -0
- package/scss/components/_log.scss +141 -0
- package/scss/components/_mapping.scss +6 -0
- package/scss/components/_markdown.scss +266 -0
- package/scss/components/_modal.scss +252 -0
- package/scss/components/_nav.scss +310 -0
- package/scss/components/_page.scss +144 -0
- package/scss/components/_pagination.scss +200 -0
- package/scss/components/_panel.scss +229 -0
- package/scss/components/_picker-columns.scss +140 -0
- package/scss/components/_popover.scss +54 -0
- package/scss/components/_popoverable.scss +62 -0
- package/scss/components/_popup.scss +160 -0
- package/scss/components/_portlet.scss +51 -0
- package/scss/components/_progress.scss +142 -0
- package/scss/components/_property.scss +47 -0
- package/scss/components/_pull-refresh.scss +25 -0
- package/scss/components/_quick-edit.scss +56 -0
- package/scss/components/_remark.scss +58 -0
- package/scss/components/_result-box.scss +246 -0
- package/scss/components/_search-box.scss +138 -0
- package/scss/components/_service.scss +3 -0
- package/scss/components/_sparkline.scss +18 -0
- package/scss/components/_spinner.scss +176 -0
- package/scss/components/_status.scss +102 -0
- package/scss/components/_steps.scss +394 -0
- package/scss/components/_table-v2.scss +912 -0
- package/scss/components/_table.scss +936 -0
- package/scss/components/_tabs.scss +1021 -0
- package/scss/components/_tag.scss +177 -0
- package/scss/components/_timeline.scss +198 -0
- package/scss/components/_toast.scss +272 -0
- package/scss/components/_tooltip.scss +339 -0
- package/scss/components/_tpl.scss +5 -0
- package/scss/components/_video.scss +38 -0
- package/scss/components/_wizard.scss +270 -0
- package/scss/components/_wrapper.scss +21 -0
- package/scss/components/form/_chained-select.scss +5 -0
- package/scss/components/form/_checks.scss +513 -0
- package/scss/components/form/_city.scss +33 -0
- package/scss/components/form/_color.scss +119 -0
- package/scss/components/form/_combo.scss +316 -0
- package/scss/components/form/_date-range.scss +222 -0
- package/scss/components/form/_date.scss +633 -0
- package/scss/components/form/_editor.scss +125 -0
- package/scss/components/form/_excel.scss +42 -0
- package/scss/components/form/_fieldset.scss +136 -0
- package/scss/components/form/_file.scss +246 -0
- package/scss/components/form/_form.scss +617 -0
- package/scss/components/form/_group.scss +116 -0
- package/scss/components/form/_icon-picker.scss +107 -0
- package/scss/components/form/_image.scss +266 -0
- package/scss/components/form/_input-group.scss +150 -0
- package/scss/components/form/_list.scss +122 -0
- package/scss/components/form/_location.scss +140 -0
- package/scss/components/form/_matrix.scss +5 -0
- package/scss/components/form/_nested-select.scss +106 -0
- package/scss/components/form/_number.scss +312 -0
- package/scss/components/form/_picker.scss +101 -0
- package/scss/components/form/_qr-code.scss +4 -0
- package/scss/components/form/_range.scss +274 -0
- package/scss/components/form/_rating.scss +74 -0
- package/scss/components/form/_repeat.scss +40 -0
- package/scss/components/form/_result-list.scss +87 -0
- package/scss/components/form/_rich-text.scss +116 -0
- package/scss/components/form/_select.scss +447 -0
- package/scss/components/form/_selection.scss +350 -0
- package/scss/components/form/_sub-form.scss +118 -0
- package/scss/components/form/_switch.scss +102 -0
- package/scss/components/form/_tag.scss +92 -0
- package/scss/components/form/_text.scss +307 -0
- package/scss/components/form/_textarea.scss +62 -0
- package/scss/components/form/_tinymce.scss +6 -0
- package/scss/components/form/_transfer.scss +320 -0
- package/scss/components/form/_tree-select.scss +39 -0
- package/scss/components/form/_tree.scss +317 -0
- package/scss/components/form/_user-select.scss +422 -0
- package/scss/components/react-datetime.scss +247 -0
- package/scss/helper/background/_background-color.scss +214 -0
- package/scss/helper/border/_border-color.scss +178 -0
- package/scss/helper/border/_border-radius.scss +152 -0
- package/scss/helper/border/_border-style.scss +40 -0
- package/scss/helper/border/_border-width.scss +72 -0
- package/scss/helper/box-alignment/_align-content.scss +44 -0
- package/scss/helper/box-alignment/_align-items.scss +41 -0
- package/scss/helper/box-alignment/_align-self.scss +40 -0
- package/scss/helper/box-alignment/_justify-content.scss +44 -0
- package/scss/helper/box-alignment/_justify-items.scss +40 -0
- package/scss/helper/box-alignment/_justify-self.scss +40 -0
- package/scss/helper/box-alignment/_place-content.scss +48 -0
- package/scss/helper/box-alignment/_place-items.scss +40 -0
- package/scss/helper/box-alignment/_place-self.scss +40 -0
- package/scss/helper/effect/_box-shadow.scss +74 -0
- package/scss/helper/effect/_opacity.scss +66 -0
- package/scss/helper/flex/_direction.scss +41 -0
- package/scss/helper/flex/_flex.scss +38 -0
- package/scss/helper/flex/_grow.scss +28 -0
- package/scss/helper/flex/_order.scss +56 -0
- package/scss/helper/flex/_shrink.scss +27 -0
- package/scss/helper/flex/_wrap.scss +36 -0
- package/scss/helper/grid/_auto-columns.scss +38 -0
- package/scss/helper/grid/_auto-flow.scss +38 -0
- package/scss/helper/grid/_auto-rows.scss +38 -0
- package/scss/helper/grid/_column-start-end.scss +201 -0
- package/scss/helper/grid/_columns.scss +74 -0
- package/scss/helper/grid/_gap.scss +154 -0
- package/scss/helper/grid/_row-start-end.scss +201 -0
- package/scss/helper/grid/_rows.scss +50 -0
- package/scss/helper/layout/_box-sizing.scss +51 -0
- package/scss/helper/layout/_clear.scss +56 -0
- package/scss/helper/layout/_display.scss +82 -0
- package/scss/helper/layout/_float.scss +71 -0
- package/scss/helper/layout/_overflow.scss +85 -0
- package/scss/helper/layout/_position.scss +55 -0
- package/scss/helper/layout/_top-right-bottom-left.scss +292 -0
- package/scss/helper/layout/_visibility.scss +42 -0
- package/scss/helper/layout/_z-index.scss +67 -0
- package/scss/helper/sizing/_height.scss +161 -0
- package/scss/helper/sizing/_width.scss +158 -0
- package/scss/helper/spacing/_margin.scss +821 -0
- package/scss/helper/spacing/_padding.scss +394 -0
- package/scss/helper/spacing/_space-between.scss +224 -0
- package/scss/helper/typography/_font-family.scss +28 -0
- package/scss/helper/typography/_font-size.scss +40 -0
- package/scss/helper/typography/_font-style.scss +31 -0
- package/scss/helper/typography/_font-weight.scss +49 -0
- package/scss/helper/typography/_letter-spacing.scss +43 -0
- package/scss/helper/typography/_line-height.scss +59 -0
- package/scss/helper/typography/_list-style-type.scss +43 -0
- package/scss/helper/typography/_text-align.scss +34 -0
- package/scss/helper/typography/_text-color.scss +184 -0
- package/scss/helper/typography/_text-decoration.scss +34 -0
- package/scss/helper/typography/_text-overflow.scss +40 -0
- package/scss/helper/typography/_text-transform.scss +40 -0
- package/scss/helper/typography/_vertical-align.scss +44 -0
- package/scss/helper/typography/_whitespace.scss +42 -0
- package/scss/helper/typography/_word-break.scss +36 -0
- package/scss/helper.scss +70 -0
- package/scss/layout/_aside.scss +361 -0
- package/scss/layout/_grid.scss +171 -0
- package/scss/layout/_hbox.scss +127 -0
- package/scss/layout/_header.scss +0 -0
- package/scss/layout/_layout.scss +458 -0
- package/scss/layout/_vbox.scss +38 -0
- package/scss/themes/_ang-variables.scss +132 -0
- package/scss/themes/_antd-colors.scss +149 -0
- package/scss/themes/_antd-variables.scss +171 -0
- package/scss/themes/_common.scss +138 -0
- package/scss/themes/_cxd-colors.scss +56 -0
- package/scss/themes/_cxd-variables.scss +687 -0
- package/scss/themes/_dark-variables.scss +129 -0
- package/scss/themes/ang-ie11.scss +1 -0
- package/scss/themes/ang.scss +4 -0
- package/scss/themes/antd-ie11.scss +1 -0
- package/scss/themes/antd.scss +5 -0
- package/scss/themes/cxd-ie11.scss +1 -0
- package/scss/themes/cxd.scss +426 -0
- package/scss/themes/dark-ie11.scss +1 -0
- package/scss/themes/dark.scss +3 -0
- package/scss/themes/default.scss +2 -0
- package/scss/themes/extract-antd-color.py +27 -0
- package/src/components/404.tsx +49 -0
- package/src/components/Alert.tsx +300 -0
- package/src/components/Alert2.tsx +117 -0
- package/src/components/AnchorNav.tsx +265 -0
- package/src/components/ArrayInput.tsx +234 -0
- package/src/components/AsideNav.tsx +280 -0
- package/src/components/AssociatedSelection.tsx +243 -0
- package/src/components/Avatar.tsx +255 -0
- package/src/components/Badge.tsx +300 -0
- package/src/components/BaiduMapPicker.tsx +394 -0
- package/src/components/BarCode.tsx +50 -0
- package/src/components/Breadcrumb.tsx +294 -0
- package/src/components/Button.tsx +149 -0
- package/src/components/CalendarMobile.tsx +803 -0
- package/src/components/Card.tsx +206 -0
- package/src/components/Cascader.tsx +596 -0
- package/src/components/ChainedSelection.tsx +253 -0
- package/src/components/Checkbox.tsx +117 -0
- package/src/components/CityArea.tsx +318 -0
- package/src/components/CityDB.ts +4109 -0
- package/src/components/CodeMirror.tsx +99 -0
- package/src/components/Collapse.tsx +253 -0
- package/src/components/CollapseGroup.tsx +133 -0
- package/src/components/ColorPicker.tsx +374 -0
- package/src/components/ContextMenu.tsx +313 -0
- package/src/components/DatePicker.tsx +879 -0
- package/src/components/DateRangePicker.tsx +1500 -0
- package/src/components/Drawer.tsx +357 -0
- package/src/components/Editor.tsx +341 -0
- package/src/components/Form.tsx +70 -0
- package/src/components/FormField.tsx +127 -0
- package/src/components/GridNav.tsx +233 -0
- package/src/components/GroupedSelection.tsx +123 -0
- package/src/components/Html.tsx +75 -0
- package/src/components/ImageGallery.tsx +179 -0
- package/src/components/Input.tsx +72 -0
- package/src/components/InputBox.tsx +126 -0
- package/src/components/InputBoxWithSuggestion.tsx +113 -0
- package/src/components/Layout.tsx +123 -0
- package/src/components/Link.tsx +85 -0
- package/src/components/ListGroup.tsx +72 -0
- package/src/components/ListMenu.tsx +112 -0
- package/src/components/LocationPicker.tsx +213 -0
- package/src/components/Markdown.tsx +53 -0
- package/src/components/Modal.tsx +294 -0
- package/src/components/ModalManager.ts +49 -0
- package/src/components/MonthRangePicker.tsx +699 -0
- package/src/components/NumberInput.tsx +255 -0
- package/src/components/Overlay.tsx +317 -0
- package/src/components/Pagination.tsx +526 -0
- package/src/components/Picker.tsx +161 -0
- package/src/components/PickerColumn.tsx +400 -0
- package/src/components/PickerContainer.tsx +178 -0
- package/src/components/PopOver.tsx +155 -0
- package/src/components/PopOverContainer.tsx +114 -0
- package/src/components/PopUp.tsx +161 -0
- package/src/components/Progress.tsx +173 -0
- package/src/components/PullRefresh.tsx +197 -0
- package/src/components/Radios.tsx +198 -0
- package/src/components/Range.tsx +561 -0
- package/src/components/Rating.tsx +421 -0
- package/src/components/ResultBox.tsx +224 -0
- package/src/components/ResultList.tsx +300 -0
- package/src/components/ResultTableList.tsx +229 -0
- package/src/components/ResultTreeList.tsx +312 -0
- package/src/components/RichText.tsx +312 -0
- package/src/components/SearchBox.tsx +175 -0
- package/src/components/Select.tsx +1229 -0
- package/src/components/Selection.tsx +232 -0
- package/src/components/SparkLine.tsx +111 -0
- package/src/components/Spinner.tsx +126 -0
- package/src/components/Steps.tsx +221 -0
- package/src/components/Switch.tsx +122 -0
- package/src/components/TableSelection.tsx +183 -0
- package/src/components/Tabs.tsx +747 -0
- package/src/components/TabsTransfer.tsx +422 -0
- package/src/components/TabsTransferPicker.tsx +111 -0
- package/src/components/Tag.tsx +179 -0
- package/src/components/Textarea.tsx +234 -0
- package/src/components/Timeline.tsx +36 -0
- package/src/components/TimelineItem.tsx +140 -0
- package/src/components/Tinymce.tsx +614 -0
- package/src/components/TitleBar.tsx +61 -0
- package/src/components/Toast.tsx +421 -0
- package/src/components/Tooltip.tsx +78 -0
- package/src/components/TooltipWrapper.tsx +366 -0
- package/src/components/Transfer.tsx +755 -0
- package/src/components/TransferDropDown.tsx +136 -0
- package/src/components/TransferPicker.tsx +118 -0
- package/src/components/TransferSearch.tsx +126 -0
- package/src/components/Tree.tsx +1183 -0
- package/src/components/TreeSelection.tsx +315 -0
- package/src/components/UserSelect.tsx +850 -0
- package/src/components/UserTabSelect.tsx +261 -0
- package/src/components/WithRemoteConfig.tsx +406 -0
- package/src/components/WithStore.tsx +73 -0
- package/src/components/calendar/Calendar.tsx +710 -0
- package/src/components/calendar/CalendarContainer.tsx +30 -0
- package/src/components/calendar/DaysView.tsx +812 -0
- package/src/components/calendar/MonthsView.tsx +288 -0
- package/src/components/calendar/QuartersView.tsx +156 -0
- package/src/components/calendar/TimeView.tsx +742 -0
- package/src/components/calendar/YearsView.tsx +214 -0
- package/src/components/condition-builder/Expression.tsx +244 -0
- package/src/components/condition-builder/Field.tsx +152 -0
- package/src/components/condition-builder/Formula.tsx +39 -0
- package/src/components/condition-builder/Func.tsx +141 -0
- package/src/components/condition-builder/Group.tsx +258 -0
- package/src/components/condition-builder/GroupOrItem.tsx +161 -0
- package/src/components/condition-builder/InputSwitch.tsx +51 -0
- package/src/components/condition-builder/Item.tsx +427 -0
- package/src/components/condition-builder/Value.tsx +162 -0
- package/src/components/condition-builder/config.ts +133 -0
- package/src/components/condition-builder/index.tsx +269 -0
- package/src/components/condition-builder/types.ts +218 -0
- package/src/components/formula/Editor.tsx +337 -0
- package/src/components/formula/FuncList.tsx +113 -0
- package/src/components/formula/Picker.tsx +415 -0
- package/src/components/formula/VariableList.tsx +126 -0
- package/src/components/formula/plugin.ts +252 -0
- package/src/components/icons.tsx +267 -0
- package/src/components/index.tsx +133 -0
- package/src/components/json-schema/Array.tsx +216 -0
- package/src/components/json-schema/Item.tsx +47 -0
- package/src/components/json-schema/Object.tsx +339 -0
- package/src/components/json-schema/index.tsx +48 -0
- package/src/components/schema-editor/Array.tsx +99 -0
- package/src/components/schema-editor/Common.tsx +191 -0
- package/src/components/schema-editor/Item.tsx +30 -0
- package/src/components/schema-editor/Object.tsx +302 -0
- package/src/components/schema-editor/SchemaVariableList.tsx +98 -0
- package/src/components/schema-editor/SchemaVariableListPicker.tsx +68 -0
- package/src/components/schema-editor/index.tsx +228 -0
- package/src/components/table/Cell.tsx +71 -0
- package/src/components/table/HeadCellDropDown.tsx +112 -0
- package/src/components/table/HeadCellFilter.tsx +230 -0
- package/src/components/table/HeadCellSelect.tsx +97 -0
- package/src/components/table/HeadCellSort.tsx +99 -0
- package/src/components/table/ItemActionsWrapper.tsx +37 -0
- package/src/components/table/index.tsx +2012 -0
- package/src/components/virtual-list/SizeAndPositionManager.ts +308 -0
- package/src/components/virtual-list/constants.ts +41 -0
- package/src/components/virtual-list/index.tsx +447 -0
- package/src/custom.d.ts +14 -0
- package/src/hooks/index.ts +7 -0
- package/src/hooks/use-set-state.ts +19 -0
- package/src/hooks/use-touch.ts +100 -0
- package/src/hooks/use-update-effect.ts +16 -0
- package/src/hooks/use-validation-resolver.ts +47 -0
- package/src/icons/alert-danger.svg +1 -0
- package/src/icons/alert-info.svg +1 -0
- package/src/icons/alert-success.svg +1 -0
- package/src/icons/alert-warning.svg +1 -0
- package/src/icons/back.svg +11 -0
- package/src/icons/calendar.svg +27 -0
- package/src/icons/caret.svg +7 -0
- package/src/icons/check.svg +9 -0
- package/src/icons/clock.svg +1 -0
- package/src/icons/close-small.svg +5 -0
- package/src/icons/close.svg +4 -0
- package/src/icons/cloud-upload.svg +22 -0
- package/src/icons/column-filter.svg +9 -0
- package/src/icons/columns.svg +7 -0
- package/src/icons/compress-alt.svg +3 -0
- package/src/icons/copy.svg +9 -0
- package/src/icons/date.svg +9 -0
- package/src/icons/department.svg +17 -0
- package/src/icons/desk-empty.svg +25 -0
- package/src/icons/dot.svg +11 -0
- package/src/icons/down-arrow-bold.svg +10 -0
- package/src/icons/download.svg +4 -0
- package/src/icons/drag-bar.svg +13 -0
- package/src/icons/drag.svg +8 -0
- package/src/icons/edit.svg +8 -0
- package/src/icons/ellipsis-v.svg +9 -0
- package/src/icons/enter.svg +4 -0
- package/src/icons/exchange.svg +7 -0
- package/src/icons/expand-alt.svg +3 -0
- package/src/icons/fail.svg +8 -0
- package/src/icons/file.svg +8 -0
- package/src/icons/filter.svg +7 -0
- package/src/icons/folder.svg +9 -0
- package/src/icons/function.svg +4 -0
- package/src/icons/home.svg +7 -0
- package/src/icons/image.svg +1 -0
- package/src/icons/info-circle.svg +7 -0
- package/src/icons/info.svg +8 -0
- package/src/icons/input-clear.svg +1 -0
- package/src/icons/invisible.svg +10 -0
- package/src/icons/left-arrow.svg +7 -0
- package/src/icons/loading-outline.svg +4 -0
- package/src/icons/location.svg +10 -0
- package/src/icons/menu.svg +2 -0
- package/src/icons/minus.svg +7 -0
- package/src/icons/move.svg +8 -0
- package/src/icons/mute.svg +4 -0
- package/src/icons/pause.svg +5 -0
- package/src/icons/pencil.svg +7 -0
- package/src/icons/play.svg +4 -0
- package/src/icons/plus-cicle.svg +9 -0
- package/src/icons/plus-fine.svg +10 -0
- package/src/icons/plus.svg +9 -0
- package/src/icons/post.svg +15 -0
- package/src/icons/question-mark.svg +12 -0
- package/src/icons/question.svg +7 -0
- package/src/icons/redo.svg +7 -0
- package/src/icons/refresh.svg +7 -0
- package/src/icons/reload.svg +6 -0
- package/src/icons/remove.svg +10 -0
- package/src/icons/retry.svg +8 -0
- package/src/icons/right-arrow-bold.svg +7 -0
- package/src/icons/right-arrow.svg +7 -0
- package/src/icons/role.svg +14 -0
- package/src/icons/schedule.svg +9 -0
- package/src/icons/search.svg +4 -0
- package/src/icons/setting.svg +9 -0
- package/src/icons/slider-handle-icon.svg +6 -0
- package/src/icons/sort-asc.svg +7 -0
- package/src/icons/sort-default.svg +9 -0
- package/src/icons/sort-desc.svg +7 -0
- package/src/icons/star.svg +12 -0
- package/src/icons/status-close.svg +10 -0
- package/src/icons/status-fail.svg +10 -0
- package/src/icons/status-info.svg +8 -0
- package/src/icons/status-success.svg +10 -0
- package/src/icons/status-warning.svg +8 -0
- package/src/icons/success.svg +10 -0
- package/src/icons/transparent.svg +11 -0
- package/src/icons/trash.svg +8 -0
- package/src/icons/tree-down.svg +5 -0
- package/src/icons/undo.svg +7 -0
- package/src/icons/upload.svg +9 -0
- package/src/icons/user-remove.svg +12 -0
- package/src/icons/view.svg +10 -0
- package/src/icons/volume.svg +5 -0
- package/src/icons/warning-mark.svg +13 -0
- package/src/icons/warning.svg +7 -0
- package/src/icons/window-restore.svg +7 -0
- package/src/icons/zoom-in.svg +7 -0
- package/src/icons/zoom-out.svg +7 -0
- package/src/index.tsx +11 -0
- package/src/locale/de-DE.ts +357 -0
- package/src/locale/en-US.ts +346 -0
- package/src/locale/zh-CN.ts +351 -0
- package/src/themes/ang.ts +8 -0
- package/src/themes/antd.ts +44 -0
- package/src/themes/cxd.ts +458 -0
- package/src/themes/dark.ts +16 -0
- package/src/themes/default.ts +5 -0
- package/tsconfig.json +14 -0
- package/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file 扩展 codemirror
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import type CodeMirror from 'codemirror';
|
|
6
|
+
import {eachTree} from 'amis-core';
|
|
7
|
+
import type {FormulaEditorProps, VariableItem} from './Editor';
|
|
8
|
+
|
|
9
|
+
export function editorFactory(
|
|
10
|
+
dom: HTMLElement,
|
|
11
|
+
cm: typeof CodeMirror,
|
|
12
|
+
props: any
|
|
13
|
+
) {
|
|
14
|
+
registerLaunguageMode(cm);
|
|
15
|
+
|
|
16
|
+
return cm(dom, {
|
|
17
|
+
value: props.value || '',
|
|
18
|
+
autofocus: true,
|
|
19
|
+
mode: props.evalMode ? 'text/formula' : 'text/formula-template'
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export class FormulaPlugin {
|
|
24
|
+
constructor(
|
|
25
|
+
readonly editor: CodeMirror.Editor,
|
|
26
|
+
readonly cm: typeof CodeMirror,
|
|
27
|
+
readonly getProps: () => FormulaEditorProps
|
|
28
|
+
) {
|
|
29
|
+
// editor.on('change', this.autoMarkText);
|
|
30
|
+
this.autoMarkText();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
autoMarkText() {
|
|
34
|
+
const {functions, variables, value} = this.getProps();
|
|
35
|
+
if (value) {
|
|
36
|
+
// todo functions 也需要自动替换
|
|
37
|
+
this.autoMark(variables!);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// 计算 `${`、`}` 括号的位置,如 ${a}+${b}, 结果是 [ { from: 0, to: 3 }, { from: 5, to: 8 } ]
|
|
42
|
+
computedBracesPosition(exp: string) {
|
|
43
|
+
const braces: {begin: number; end: number}[] = [];
|
|
44
|
+
|
|
45
|
+
exp?.replace(/\$\{/g, (val, offset) => {
|
|
46
|
+
if (val) {
|
|
47
|
+
const charArr = exp.slice(offset + val.length).split('');
|
|
48
|
+
const cache = ['${'];
|
|
49
|
+
|
|
50
|
+
for (let index = 0; index < charArr.length; index++) {
|
|
51
|
+
const char = charArr[index];
|
|
52
|
+
if (char === '$' && charArr[index + 1] === '{') {
|
|
53
|
+
cache.push('${');
|
|
54
|
+
} else if (char === '}') {
|
|
55
|
+
cache.pop();
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (cache.length === 0) {
|
|
59
|
+
braces.push({begin: offset + 2, end: index + offset + 2});
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return '';
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
return braces;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// 判断字符串是否在 ${} 中
|
|
71
|
+
checkStrIsInBraces(
|
|
72
|
+
[from, to]: number[],
|
|
73
|
+
braces: {begin: number; end: number}[]
|
|
74
|
+
) {
|
|
75
|
+
let isIn = false;
|
|
76
|
+
if (braces.length) {
|
|
77
|
+
for (let index = 0; index < braces.length; index++) {
|
|
78
|
+
const brace = braces[index];
|
|
79
|
+
if (from > brace.begin && to <= brace.end) {
|
|
80
|
+
isIn = true;
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return isIn;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
insertBraces(originFrom: CodeMirror.Position, originTo: CodeMirror.Position) {
|
|
89
|
+
const str = this.editor.getValue();
|
|
90
|
+
const braces = this.computedBracesPosition(str);
|
|
91
|
+
|
|
92
|
+
if (!this.checkStrIsInBraces([originFrom.ch, originTo.ch], braces)) {
|
|
93
|
+
this.editor.setCursor({
|
|
94
|
+
line: originFrom.line,
|
|
95
|
+
ch: originFrom.ch
|
|
96
|
+
});
|
|
97
|
+
this.editor.replaceSelection('${');
|
|
98
|
+
|
|
99
|
+
this.editor.setCursor({
|
|
100
|
+
line: originTo.line,
|
|
101
|
+
ch: originTo.ch + 2
|
|
102
|
+
});
|
|
103
|
+
this.editor.replaceSelection('}');
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
insertContent(value: any, type?: 'variable' | 'func') {
|
|
108
|
+
const from = this.editor.getCursor();
|
|
109
|
+
const {evalMode} = this.getProps();
|
|
110
|
+
if (type === 'variable') {
|
|
111
|
+
this.editor.replaceSelection(value.key);
|
|
112
|
+
const to = this.editor.getCursor();
|
|
113
|
+
|
|
114
|
+
this.markText(from, to, value.name, 'cm-field');
|
|
115
|
+
|
|
116
|
+
!evalMode && this.insertBraces(from, to);
|
|
117
|
+
} else if (type === 'func') {
|
|
118
|
+
this.editor.replaceSelection(`${value}()`);
|
|
119
|
+
const to = this.editor.getCursor();
|
|
120
|
+
|
|
121
|
+
this.markText(
|
|
122
|
+
from,
|
|
123
|
+
{
|
|
124
|
+
line: to.line,
|
|
125
|
+
ch: to.ch - 2
|
|
126
|
+
},
|
|
127
|
+
value,
|
|
128
|
+
'cm-func'
|
|
129
|
+
);
|
|
130
|
+
|
|
131
|
+
this.editor.setCursor({
|
|
132
|
+
line: to.line,
|
|
133
|
+
ch: to.ch - 1
|
|
134
|
+
});
|
|
135
|
+
|
|
136
|
+
if (!evalMode) {
|
|
137
|
+
this.insertBraces(from, to);
|
|
138
|
+
this.editor.setCursor({
|
|
139
|
+
line: to.line,
|
|
140
|
+
ch: to.ch + 1
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
} else if (typeof value === 'string') {
|
|
144
|
+
this.editor.replaceSelection(value);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
this.editor.focus();
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
markText(
|
|
151
|
+
from: CodeMirror.Position,
|
|
152
|
+
to: CodeMirror.Position,
|
|
153
|
+
label: string,
|
|
154
|
+
className = 'cm-func'
|
|
155
|
+
) {
|
|
156
|
+
const text = document.createElement('span');
|
|
157
|
+
text.className = className;
|
|
158
|
+
text.innerText = label;
|
|
159
|
+
this.editor.markText(from, to, {
|
|
160
|
+
atomic: true,
|
|
161
|
+
replacedWith: text
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
autoMark(variables: Array<VariableItem>) {
|
|
166
|
+
if (!Array.isArray(variables) || !variables.length) {
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
const varMap: {
|
|
170
|
+
[propname: string]: string;
|
|
171
|
+
} = {};
|
|
172
|
+
|
|
173
|
+
eachTree(variables, item => {
|
|
174
|
+
if (item.value) {
|
|
175
|
+
const key = item.value;
|
|
176
|
+
varMap[key] = item.label;
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
const vars = Object.keys(varMap).sort((a, b) => b.length - a.length);
|
|
180
|
+
|
|
181
|
+
const editor = this.editor;
|
|
182
|
+
const lines = editor.lineCount();
|
|
183
|
+
for (let line = 0; line < lines; line++) {
|
|
184
|
+
const content = editor.getLine(line);
|
|
185
|
+
|
|
186
|
+
// 标记方法调用
|
|
187
|
+
content.replace(/([A-Z]+)\s*\(/g, (_, func, pos) => {
|
|
188
|
+
this.markText(
|
|
189
|
+
{
|
|
190
|
+
line: line,
|
|
191
|
+
ch: pos
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
line: line,
|
|
195
|
+
ch: pos + func.length
|
|
196
|
+
},
|
|
197
|
+
func,
|
|
198
|
+
'cm-func'
|
|
199
|
+
);
|
|
200
|
+
return _;
|
|
201
|
+
});
|
|
202
|
+
|
|
203
|
+
// 标记变量
|
|
204
|
+
vars.forEach(v => {
|
|
205
|
+
let from = 0;
|
|
206
|
+
let idx = -1;
|
|
207
|
+
while (~(idx = content.indexOf(v, from))) {
|
|
208
|
+
this.markText(
|
|
209
|
+
{
|
|
210
|
+
line: line,
|
|
211
|
+
ch: idx
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
line: line,
|
|
215
|
+
ch: idx + v.length
|
|
216
|
+
},
|
|
217
|
+
varMap[v],
|
|
218
|
+
'cm-field'
|
|
219
|
+
);
|
|
220
|
+
from = idx + v.length;
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
dispose() {}
|
|
227
|
+
|
|
228
|
+
validate() {}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
let modeRegisted = false;
|
|
232
|
+
function registerLaunguageMode(cm: typeof CodeMirror) {
|
|
233
|
+
if (modeRegisted) {
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
modeRegisted = true;
|
|
237
|
+
|
|
238
|
+
// 对应 evalMode
|
|
239
|
+
cm.defineMode('formula', (config: any, parserConfig: any) => {
|
|
240
|
+
var formula = cm.getMode(config, 'javascript');
|
|
241
|
+
if (!parserConfig || !parserConfig.base) return formula;
|
|
242
|
+
|
|
243
|
+
return cm.multiplexingMode(cm.getMode(config, parserConfig.base), {
|
|
244
|
+
open: '${',
|
|
245
|
+
close: '}',
|
|
246
|
+
mode: formula
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
cm.defineMIME('text/formula', {name: 'formula'});
|
|
251
|
+
cm.defineMIME('text/formula-template', {name: 'formula', base: 'htmlmixed'});
|
|
252
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Icon
|
|
3
|
+
* @description
|
|
4
|
+
* @author fex
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
|
|
8
|
+
import CloseIcon from '../icons/close.svg';
|
|
9
|
+
import CloseSmallIcon from '../icons/close-small.svg';
|
|
10
|
+
import StatusCloseIcon from '../icons/status-close.svg';
|
|
11
|
+
import UnDoIcon from '../icons/undo.svg';
|
|
12
|
+
import ReDoIcon from '../icons/redo.svg';
|
|
13
|
+
import EnterIcon from '../icons/enter.svg';
|
|
14
|
+
import VolumeIcon from '../icons/volume.svg';
|
|
15
|
+
import MuteIcon from '../icons/mute.svg';
|
|
16
|
+
import PlayIcon from '../icons/play.svg';
|
|
17
|
+
import PauseIcon from '../icons/pause.svg';
|
|
18
|
+
import LeftArrowIcon from '../icons/left-arrow.svg';
|
|
19
|
+
import RightArrowIcon from '../icons/right-arrow.svg';
|
|
20
|
+
import CheckIcon from '../icons/check.svg';
|
|
21
|
+
import PlusIcon from '../icons/plus.svg';
|
|
22
|
+
import MinusIcon from '../icons/minus.svg';
|
|
23
|
+
import PencilIcon from '../icons/pencil.svg';
|
|
24
|
+
import ViewIcon from '../icons/view.svg';
|
|
25
|
+
import RemoveIcon from '../icons/remove.svg';
|
|
26
|
+
import RetryIcon from '../icons/retry.svg';
|
|
27
|
+
import UploadIcon from '../icons/upload.svg';
|
|
28
|
+
import DownloadIcon from '../icons/download.svg';
|
|
29
|
+
import FileIcon from '../icons/file.svg';
|
|
30
|
+
import StatusSuccessIcon from '../icons/status-success.svg';
|
|
31
|
+
import StatusFailIcon from '../icons/status-fail.svg';
|
|
32
|
+
import StatusInfoIcon from '../icons/status-info.svg';
|
|
33
|
+
import StatusWarningIcon from '../icons/status-warning.svg';
|
|
34
|
+
import SuccessIcon from '../icons/success.svg';
|
|
35
|
+
import FailIcon from '../icons/fail.svg';
|
|
36
|
+
import SearchIcon from '../icons/search.svg';
|
|
37
|
+
import BackIcon from '../icons/back.svg';
|
|
38
|
+
import MoveIcon from '../icons/move.svg';
|
|
39
|
+
import InfoIcon from '../icons/info.svg';
|
|
40
|
+
import LocationIcon from '../icons/location.svg';
|
|
41
|
+
import DragBarIcon from '../icons/drag-bar.svg';
|
|
42
|
+
import ReloadIcon from '../icons/reload.svg';
|
|
43
|
+
import ExchangeIcon from '../icons/exchange.svg';
|
|
44
|
+
import ColmunsIcon from '../icons/columns.svg';
|
|
45
|
+
import CalendarIcon from '../icons/calendar.svg';
|
|
46
|
+
import ClockIcon from '../icons/clock.svg';
|
|
47
|
+
import TreeDownIcon from '../icons/tree-down.svg';
|
|
48
|
+
import CloudUploadIcon from '../icons/cloud-upload.svg';
|
|
49
|
+
import ImageIcon from '../icons/image.svg';
|
|
50
|
+
import RefreshIcon from '../icons/refresh.svg';
|
|
51
|
+
import DragIcon from '../icons/drag.svg';
|
|
52
|
+
import EditIcon from '../icons/edit.svg';
|
|
53
|
+
import DeskEmptyIcon from '../icons/desk-empty.svg';
|
|
54
|
+
|
|
55
|
+
import CopyIcon from '../icons/copy.svg';
|
|
56
|
+
import FilterIcon from '../icons/filter.svg';
|
|
57
|
+
import CaretIcon from '../icons/caret.svg';
|
|
58
|
+
import RightArrowBoldIcon from '../icons/right-arrow-bold.svg';
|
|
59
|
+
import DownArrowBoldIcon from '../icons/down-arrow-bold.svg';
|
|
60
|
+
import ColumnFilterIcon from '../icons/column-filter.svg';
|
|
61
|
+
import ZoomInIcon from '../icons/zoom-in.svg';
|
|
62
|
+
import ZoomOutIcon from '../icons/zoom-out.svg';
|
|
63
|
+
import QuestionIcon from '../icons/question.svg';
|
|
64
|
+
import QuestionMarkIcon from '../icons/question-mark.svg';
|
|
65
|
+
import WindowRestoreIcon from '../icons/window-restore.svg';
|
|
66
|
+
import InfoCircleIcon from '../icons/info-circle.svg';
|
|
67
|
+
import WarningIcon from '../icons/warning.svg';
|
|
68
|
+
import WarningMarkIcon from '../icons/warning-mark.svg';
|
|
69
|
+
import ScheduleIcon from '../icons/schedule.svg';
|
|
70
|
+
import HomeIcon from '../icons/home.svg';
|
|
71
|
+
import FolderIcon from '../icons/folder.svg';
|
|
72
|
+
import SortDefaultIcon from '../icons/sort-default.svg';
|
|
73
|
+
import SortAscIcon from '../icons/sort-asc.svg';
|
|
74
|
+
import SortDescIcon from '../icons/sort-desc.svg';
|
|
75
|
+
import SettingIcon from '../icons/setting.svg';
|
|
76
|
+
import PlusCicleIcon from '../icons/plus-cicle.svg';
|
|
77
|
+
import PlusFineIcon from '../icons/plus-fine.svg';
|
|
78
|
+
import EllipsisVIcon from '../icons/ellipsis-v.svg';
|
|
79
|
+
import ExpandAltIcon from '../icons/expand-alt.svg';
|
|
80
|
+
import CompressAltIcon from '../icons/compress-alt.svg';
|
|
81
|
+
import TransparentIcon from '../icons/transparent.svg';
|
|
82
|
+
import LoadingOutline from '../icons/loading-outline.svg';
|
|
83
|
+
import Star from '../icons/star.svg';
|
|
84
|
+
import AlertSuccess from '../icons/alert-success.svg';
|
|
85
|
+
import AlertInfo from '../icons/alert-info.svg';
|
|
86
|
+
import AlertWarning from '../icons/alert-warning.svg';
|
|
87
|
+
import AlertDanger from '../icons/alert-danger.svg';
|
|
88
|
+
import FunctionIcon from '../icons/function.svg';
|
|
89
|
+
import InputClearIcon from '../icons/input-clear.svg';
|
|
90
|
+
import SliderHandleIcon from '../icons/slider-handle-icon.svg';
|
|
91
|
+
import TrashIcon from '../icons/trash.svg';
|
|
92
|
+
import MenuIcon from '../icons/menu.svg';
|
|
93
|
+
import UserRemove from '../icons/user-remove.svg';
|
|
94
|
+
import Role from '../icons/role.svg';
|
|
95
|
+
import Department from '../icons/department.svg';
|
|
96
|
+
import Post from '../icons/post.svg';
|
|
97
|
+
import DotIcon from '../icons/dot.svg';
|
|
98
|
+
import Invisible from '../icons/invisible.svg';
|
|
99
|
+
import DateIcon from '../icons/date.svg';
|
|
100
|
+
|
|
101
|
+
// 兼容原来的用法,后续不直接试用。
|
|
102
|
+
|
|
103
|
+
export const closeIcon = <CloseIcon />;
|
|
104
|
+
export const unDoIcon = <UnDoIcon />;
|
|
105
|
+
export const reDoIcon = <ReDoIcon />;
|
|
106
|
+
export const enterIcon = <EnterIcon />;
|
|
107
|
+
export const volumeIcon = <VolumeIcon />;
|
|
108
|
+
export const muteIcon = <MuteIcon />;
|
|
109
|
+
export const playIcon = <PlayIcon />;
|
|
110
|
+
export const pauseIcon = <PauseIcon />;
|
|
111
|
+
export const leftArrowIcon = <LeftArrowIcon />;
|
|
112
|
+
export const rightArrowIcon = <RightArrowIcon />;
|
|
113
|
+
const iconFactory: {
|
|
114
|
+
[propName: string]: React.ReactType<{}>;
|
|
115
|
+
} = {};
|
|
116
|
+
|
|
117
|
+
export function getIcon(key: string) {
|
|
118
|
+
return iconFactory[key];
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function hasIcon(iconName: string) {
|
|
122
|
+
return !!getIcon(iconName);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export function registerIcon(key: string, component: React.ReactType<{}>) {
|
|
126
|
+
iconFactory[key] = component;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
registerIcon('close', CloseIcon);
|
|
130
|
+
registerIcon('close-small', CloseSmallIcon);
|
|
131
|
+
registerIcon('status-close', StatusCloseIcon);
|
|
132
|
+
registerIcon('undo', UnDoIcon);
|
|
133
|
+
registerIcon('redo', ReDoIcon);
|
|
134
|
+
registerIcon('enter', EnterIcon);
|
|
135
|
+
registerIcon('volume', VolumeIcon);
|
|
136
|
+
registerIcon('mute', MuteIcon);
|
|
137
|
+
registerIcon('play', PlayIcon);
|
|
138
|
+
registerIcon('pause', PauseIcon);
|
|
139
|
+
registerIcon('left-arrow', LeftArrowIcon);
|
|
140
|
+
registerIcon('right-arrow', RightArrowIcon);
|
|
141
|
+
registerIcon('prev', LeftArrowIcon);
|
|
142
|
+
registerIcon('next', RightArrowIcon);
|
|
143
|
+
registerIcon('check', CheckIcon);
|
|
144
|
+
registerIcon('plus', PlusIcon);
|
|
145
|
+
registerIcon('add', PlusIcon);
|
|
146
|
+
registerIcon('minus', MinusIcon);
|
|
147
|
+
registerIcon('pencil', PencilIcon);
|
|
148
|
+
registerIcon('view', ViewIcon);
|
|
149
|
+
registerIcon('remove', RemoveIcon);
|
|
150
|
+
registerIcon('retry', RetryIcon);
|
|
151
|
+
registerIcon('upload', UploadIcon);
|
|
152
|
+
registerIcon('download', DownloadIcon);
|
|
153
|
+
registerIcon('file', FileIcon);
|
|
154
|
+
registerIcon('status-success', StatusSuccessIcon);
|
|
155
|
+
registerIcon('status-fail', StatusFailIcon);
|
|
156
|
+
registerIcon('status-info', StatusInfoIcon);
|
|
157
|
+
registerIcon('status-warning', StatusWarningIcon);
|
|
158
|
+
registerIcon('success', SuccessIcon);
|
|
159
|
+
registerIcon('fail', FailIcon);
|
|
160
|
+
registerIcon('warning', WarningIcon);
|
|
161
|
+
registerIcon('warning-mark', WarningMarkIcon);
|
|
162
|
+
registerIcon('search', SearchIcon);
|
|
163
|
+
registerIcon('back', BackIcon);
|
|
164
|
+
registerIcon('move', MoveIcon);
|
|
165
|
+
registerIcon('info', InfoIcon);
|
|
166
|
+
registerIcon('info-circle', InfoCircleIcon);
|
|
167
|
+
registerIcon('location', LocationIcon);
|
|
168
|
+
registerIcon('drag-bar', DragBarIcon);
|
|
169
|
+
registerIcon('reload', ReloadIcon);
|
|
170
|
+
registerIcon('exchange', ExchangeIcon);
|
|
171
|
+
registerIcon('columns', ColmunsIcon);
|
|
172
|
+
registerIcon('calendar', CalendarIcon);
|
|
173
|
+
registerIcon('clock', ClockIcon);
|
|
174
|
+
registerIcon('copy', CopyIcon);
|
|
175
|
+
registerIcon('filter', FilterIcon);
|
|
176
|
+
registerIcon('column-filter', ColumnFilterIcon);
|
|
177
|
+
registerIcon('caret', CaretIcon);
|
|
178
|
+
registerIcon('right-arrow-bold', RightArrowBoldIcon);
|
|
179
|
+
registerIcon('down-arrow-bold', DownArrowBoldIcon);
|
|
180
|
+
registerIcon('zoom-in', ZoomInIcon);
|
|
181
|
+
registerIcon('zoom-out', ZoomOutIcon);
|
|
182
|
+
registerIcon('question', QuestionIcon);
|
|
183
|
+
registerIcon('question-mark', QuestionMarkIcon);
|
|
184
|
+
registerIcon('window-restore', WindowRestoreIcon);
|
|
185
|
+
registerIcon('schedule', ScheduleIcon);
|
|
186
|
+
registerIcon('home', HomeIcon);
|
|
187
|
+
registerIcon('folder', FolderIcon);
|
|
188
|
+
registerIcon('sort-default', SortDefaultIcon);
|
|
189
|
+
registerIcon('sort-asc', SortAscIcon);
|
|
190
|
+
registerIcon('sort-desc', SortDescIcon);
|
|
191
|
+
registerIcon('setting', SettingIcon);
|
|
192
|
+
registerIcon('plus-cicle', PlusCicleIcon);
|
|
193
|
+
registerIcon('ellipsis-v', EllipsisVIcon);
|
|
194
|
+
registerIcon('expand-alt', ExpandAltIcon);
|
|
195
|
+
registerIcon('compress-alt', CompressAltIcon);
|
|
196
|
+
registerIcon('transparent', TransparentIcon);
|
|
197
|
+
registerIcon('loading-outline', LoadingOutline);
|
|
198
|
+
registerIcon('star', Star);
|
|
199
|
+
registerIcon('alert-success', AlertSuccess);
|
|
200
|
+
registerIcon('alert-info', AlertInfo);
|
|
201
|
+
registerIcon('alert-warning', AlertWarning);
|
|
202
|
+
registerIcon('alert-danger', AlertDanger);
|
|
203
|
+
registerIcon('tree-down', TreeDownIcon);
|
|
204
|
+
registerIcon('function', FunctionIcon);
|
|
205
|
+
registerIcon('input-clear', InputClearIcon);
|
|
206
|
+
registerIcon('slider-handle', SliderHandleIcon);
|
|
207
|
+
registerIcon('cloud-upload', CloudUploadIcon);
|
|
208
|
+
registerIcon('image', ImageIcon);
|
|
209
|
+
registerIcon('refresh', RefreshIcon);
|
|
210
|
+
registerIcon('trash', TrashIcon);
|
|
211
|
+
registerIcon('menu', MenuIcon);
|
|
212
|
+
registerIcon('user-remove', UserRemove);
|
|
213
|
+
registerIcon('role', Role);
|
|
214
|
+
registerIcon('department', Department);
|
|
215
|
+
registerIcon('post', Post);
|
|
216
|
+
registerIcon('dot', DotIcon);
|
|
217
|
+
registerIcon('drag', DragIcon);
|
|
218
|
+
registerIcon('edit', EditIcon);
|
|
219
|
+
registerIcon('desk-empty', DeskEmptyIcon);
|
|
220
|
+
registerIcon('invisible', Invisible);
|
|
221
|
+
registerIcon('plus-fine', PlusFineIcon);
|
|
222
|
+
registerIcon('date', DateIcon);
|
|
223
|
+
|
|
224
|
+
export function Icon({
|
|
225
|
+
icon,
|
|
226
|
+
className,
|
|
227
|
+
...rest
|
|
228
|
+
}: {
|
|
229
|
+
icon: string;
|
|
230
|
+
} & React.ComponentProps<any>) {
|
|
231
|
+
// jest 运行环境下,把指定的 icon 也输出到 snapshot 中。
|
|
232
|
+
if (typeof jest !== 'undefined') {
|
|
233
|
+
rest.icon = icon;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
const Component = getIcon(icon);
|
|
237
|
+
return Component ? (
|
|
238
|
+
<Component {...rest} className={`${className || ''} icon-${icon}`} />
|
|
239
|
+
) : (
|
|
240
|
+
<span className="text-danger">没有 icon {icon}</span>
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export {
|
|
245
|
+
InputClearIcon,
|
|
246
|
+
CloseIcon,
|
|
247
|
+
UnDoIcon,
|
|
248
|
+
ReDoIcon,
|
|
249
|
+
EnterIcon,
|
|
250
|
+
VolumeIcon,
|
|
251
|
+
MuteIcon,
|
|
252
|
+
PlayIcon,
|
|
253
|
+
PauseIcon,
|
|
254
|
+
ReloadIcon,
|
|
255
|
+
LeftArrowIcon,
|
|
256
|
+
RightArrowIcon,
|
|
257
|
+
CheckIcon,
|
|
258
|
+
PlusIcon,
|
|
259
|
+
MinusIcon,
|
|
260
|
+
PencilIcon,
|
|
261
|
+
FunctionIcon,
|
|
262
|
+
MenuIcon,
|
|
263
|
+
UserRemove,
|
|
264
|
+
Role,
|
|
265
|
+
Department,
|
|
266
|
+
Post
|
|
267
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Index
|
|
3
|
+
* @description
|
|
4
|
+
* @author fex
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import NotFound from './404';
|
|
8
|
+
import {default as Alert, alert, confirm, prompt} from './Alert';
|
|
9
|
+
import {default as ContextMenu, openContextMenus} from './ContextMenu';
|
|
10
|
+
import AsideNav from './AsideNav';
|
|
11
|
+
import Avatar from './Avatar';
|
|
12
|
+
import Button from './Button';
|
|
13
|
+
import Breadcrumb from './Breadcrumb';
|
|
14
|
+
import Checkbox from './Checkbox';
|
|
15
|
+
import Checkboxes from './Selection';
|
|
16
|
+
import Collapse from './Collapse';
|
|
17
|
+
import CollapseGroup from './CollapseGroup';
|
|
18
|
+
import DatePicker from './DatePicker';
|
|
19
|
+
import DateRangePicker from './DateRangePicker';
|
|
20
|
+
import Drawer from './Drawer';
|
|
21
|
+
import {default as Tabs, Tab} from './Tabs';
|
|
22
|
+
import Editor from './Editor';
|
|
23
|
+
import Html from './Html';
|
|
24
|
+
import * as Icons from './icons';
|
|
25
|
+
import Layout from './Layout';
|
|
26
|
+
import {LazyComponent} from 'amis-core';
|
|
27
|
+
import Modal from './Modal';
|
|
28
|
+
import Overlay from './Overlay';
|
|
29
|
+
import PopOver from './PopOver';
|
|
30
|
+
import Radios from './Radios';
|
|
31
|
+
import Range from './Range';
|
|
32
|
+
import Rating from './Rating';
|
|
33
|
+
// import RichText from './RichText';
|
|
34
|
+
import Select from './Select';
|
|
35
|
+
import SparkLine from './SparkLine';
|
|
36
|
+
import Spinner from './Spinner';
|
|
37
|
+
import Switch from './Switch';
|
|
38
|
+
import Textarea from './Textarea';
|
|
39
|
+
import TitleBar from './TitleBar';
|
|
40
|
+
import {default as ToastComponent, toast} from './Toast';
|
|
41
|
+
import Tooltip from './Tooltip';
|
|
42
|
+
import TooltipWrapper from './TooltipWrapper';
|
|
43
|
+
import Tree from './Tree';
|
|
44
|
+
import Alert2 from './Alert2';
|
|
45
|
+
import Transfer from './Transfer';
|
|
46
|
+
import TabsTransfer from './TabsTransfer';
|
|
47
|
+
import ResultBox from './ResultBox';
|
|
48
|
+
import InputBox from './InputBox';
|
|
49
|
+
import ListGroup from './ListGroup';
|
|
50
|
+
import NumberInput from './NumberInput';
|
|
51
|
+
import ArrayInput from './ArrayInput';
|
|
52
|
+
import SearchBox from './SearchBox';
|
|
53
|
+
import AnchorNav from './AnchorNav';
|
|
54
|
+
import Selection from './Selection';
|
|
55
|
+
import GroupedSelection from './GroupedSelection';
|
|
56
|
+
import ChainedSelection from './ChainedSelection';
|
|
57
|
+
import TableSelection from './TableSelection';
|
|
58
|
+
import TreeSelection from './TreeSelection';
|
|
59
|
+
import AssociatedSelection from './AssociatedSelection';
|
|
60
|
+
import PullRefresh from './PullRefresh';
|
|
61
|
+
import Table from './table';
|
|
62
|
+
import SchemaVariableListPicker from './schema-editor/SchemaVariableListPicker';
|
|
63
|
+
import SchemaVariableList from './schema-editor/SchemaVariableList';
|
|
64
|
+
import FormulaPicker from './formula/Picker';
|
|
65
|
+
import InputJSONSchema from './json-schema';
|
|
66
|
+
|
|
67
|
+
export {
|
|
68
|
+
NotFound,
|
|
69
|
+
Alert as AlertComponent,
|
|
70
|
+
alert,
|
|
71
|
+
Avatar,
|
|
72
|
+
confirm,
|
|
73
|
+
prompt,
|
|
74
|
+
ContextMenu,
|
|
75
|
+
openContextMenus,
|
|
76
|
+
Alert2,
|
|
77
|
+
AsideNav,
|
|
78
|
+
Button,
|
|
79
|
+
Breadcrumb,
|
|
80
|
+
Checkbox,
|
|
81
|
+
Checkboxes,
|
|
82
|
+
Collapse,
|
|
83
|
+
CollapseGroup,
|
|
84
|
+
DatePicker,
|
|
85
|
+
DateRangePicker,
|
|
86
|
+
Drawer,
|
|
87
|
+
Tabs,
|
|
88
|
+
Tab,
|
|
89
|
+
Editor,
|
|
90
|
+
Html,
|
|
91
|
+
Icons,
|
|
92
|
+
Layout,
|
|
93
|
+
LazyComponent,
|
|
94
|
+
Modal,
|
|
95
|
+
Overlay,
|
|
96
|
+
PopOver,
|
|
97
|
+
Radios,
|
|
98
|
+
Range,
|
|
99
|
+
Rating,
|
|
100
|
+
// RichText,
|
|
101
|
+
Select,
|
|
102
|
+
SparkLine,
|
|
103
|
+
Spinner,
|
|
104
|
+
Switch,
|
|
105
|
+
Textarea,
|
|
106
|
+
TitleBar,
|
|
107
|
+
ToastComponent,
|
|
108
|
+
toast,
|
|
109
|
+
Tooltip,
|
|
110
|
+
TooltipWrapper,
|
|
111
|
+
Tree,
|
|
112
|
+
Transfer,
|
|
113
|
+
TabsTransfer,
|
|
114
|
+
Selection,
|
|
115
|
+
GroupedSelection,
|
|
116
|
+
ChainedSelection,
|
|
117
|
+
TableSelection,
|
|
118
|
+
TreeSelection,
|
|
119
|
+
AssociatedSelection,
|
|
120
|
+
ResultBox,
|
|
121
|
+
InputBox,
|
|
122
|
+
SearchBox,
|
|
123
|
+
ListGroup,
|
|
124
|
+
NumberInput,
|
|
125
|
+
ArrayInput,
|
|
126
|
+
AnchorNav,
|
|
127
|
+
PullRefresh,
|
|
128
|
+
Table,
|
|
129
|
+
SchemaVariableListPicker,
|
|
130
|
+
SchemaVariableList,
|
|
131
|
+
FormulaPicker,
|
|
132
|
+
InputJSONSchema
|
|
133
|
+
};
|