amis-ui 2.9.0 → 3.1.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/esm/_virtual/index.js +1 -1
- package/esm/_virtual/react-is.development.js +1 -1
- package/esm/_virtual/react-is.production.min.js +1 -1
- package/esm/components/404.d.ts +2 -2
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +144 -88
- package/esm/components/Alert.js +37 -14
- package/esm/components/Alert2.d.ts +2 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +5 -5
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +47 -47
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +4 -4
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +45 -45
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +2 -2
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +5 -5
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +2 -2
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +2 -2
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +6 -6
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +3 -3
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +10 -10
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +12 -12
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +5 -5
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.d.ts +48 -48
- package/esm/components/ChainedSelection.js +2 -1
- package/esm/components/Checkbox.d.ts +2 -2
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.d.ts +4 -4
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.d.ts +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +12 -12
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +85 -85
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.d.ts +6 -9
- package/esm/components/Combo.js +8 -2
- package/esm/components/ConfirmBox.d.ts +45 -45
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +3 -3
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +94 -91
- package/esm/components/DatePicker.js +39 -26
- package/esm/components/DateRangePicker.d.ts +305 -260
- package/esm/components/DateRangePicker.js +73 -43
- package/esm/components/DndContainer.d.ts +4 -4
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +6 -5
- package/esm/components/Drawer.js +26 -10
- package/esm/components/Editor.d.ts +5 -5
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.d.ts +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +9 -15
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.d.ts +89 -0
- package/esm/components/GaodeMapPicker.js +204 -0
- package/esm/components/GridNav.d.ts +4 -4
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +46 -46
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +13 -12
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +57 -47
- package/esm/components/ImageGallery.js +8 -5
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +12 -12
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +5 -5
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.d.ts +7 -7
- package/esm/components/InputTable.js +21 -14
- package/esm/components/Layout.d.ts +13 -12
- package/esm/components/Layout.js +8 -6
- package/esm/components/Link.d.ts +2 -2
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +13 -13
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +6 -6
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +45 -45
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.d.ts +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +33 -32
- package/esm/components/Modal.js +25 -9
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +253 -249
- package/esm/components/MultilineText.d.ts +5 -5
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +35 -24
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.d.ts +7 -28
- package/esm/components/Pagination.js +4 -3
- package/esm/components/Picker.d.ts +4 -4
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +2 -7
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +6 -5
- package/esm/components/PickerContainer.js +3 -3
- package/esm/components/PopOverContainer.d.ts +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.d.ts +45 -45
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +3 -3
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.d.ts +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +24 -24
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +16 -2
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.d.ts +5 -5
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +46 -46
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +8 -8
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.d.ts +47 -47
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +7 -7
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +2 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +8 -8
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +416 -408
- package/esm/components/Select.js +7 -6
- package/esm/components/Selection.d.ts +47 -46
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +6 -6
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +3 -3
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +5 -4
- package/esm/components/Steps.js +8 -6
- package/esm/components/Switch.d.ts +2 -2
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +53 -53
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +50 -50
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +49 -48
- package/esm/components/TabsTransfer.js +14 -14
- package/esm/components/TabsTransferPicker.d.ts +5 -5
- package/esm/components/TabsTransferPicker.js +4 -4
- package/esm/components/Tag.d.ts +5 -5
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.d.ts +5 -5
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.d.ts +2 -2
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +5 -5
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.d.ts +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.d.ts +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +8 -6
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +3 -2
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +10 -2
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.d.ts +192 -152
- package/esm/components/Transfer.js +20 -18
- package/esm/components/TransferDropDown.d.ts +85 -45
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.d.ts +5 -5
- package/esm/components/TransferPicker.js +4 -4
- package/esm/components/TransferSearch.d.ts +5 -5
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.d.ts +91 -89
- package/esm/components/Tree.js +20 -10
- package/esm/components/TreeSelection.d.ts +46 -46
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +49 -49
- package/esm/components/UserSelect.js +7 -96
- package/esm/components/UserTabSelect.d.ts +45 -45
- package/esm/components/UserTabSelect.js +4 -95
- package/esm/components/WithRemoteConfig.d.ts +5 -5
- package/esm/components/WithRemoteConfig.js +7 -3
- package/esm/components/WithStore.d.ts +2 -2
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +3 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +7 -7
- package/esm/components/calendar/DaysView.js +3 -3
- package/esm/components/calendar/MonthsView.d.ts +4 -4
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.d.ts +4 -4
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +5 -5
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.d.ts +4 -4
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +5 -5
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +5 -5
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.d.ts +5 -5
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +6 -6
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +5 -5
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.d.ts +2 -2
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +10 -10
- package/esm/components/condition-builder/Item.js +12 -9
- package/esm/components/condition-builder/Value.d.ts +5 -5
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +8 -8
- package/esm/components/condition-builder/index.js +2 -2
- package/esm/components/condition-builder/types.d.ts +1 -1
- package/esm/components/formula/Editor.d.ts +10 -5
- package/esm/components/formula/Editor.js +14 -3
- package/esm/components/formula/FuncList.d.ts +2 -2
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +47 -46
- package/esm/components/formula/Picker.js +3 -3
- package/esm/components/formula/VariableList.d.ts +2 -2
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.d.ts +12 -11
- package/esm/components/icons.js +8 -3
- package/esm/components/index.d.ts +6 -3
- package/esm/components/json-schema/Array.d.ts +2 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +2 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +2 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +5 -5
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +3 -6
- package/esm/components/menu/MenuItem.js +5 -24
- package/esm/components/menu/SubMenu.d.ts +3 -6
- package/esm/components/menu/SubMenu.js +13 -28
- package/esm/components/menu/index.d.ts +42 -43
- package/esm/components/menu/index.js +9 -13
- package/esm/components/schema-editor/Array.d.ts +3 -2
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +3 -2
- package/esm/components/schema-editor/Common.js +3 -3
- package/esm/components/schema-editor/Item.d.ts +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.d.ts +3 -2
- package/esm/components/schema-editor/Object.js +3 -3
- package/esm/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +55 -45
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.d.ts +5 -5
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +5 -5
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +5 -5
- package/esm/components/table/HeadCellFilter.js +5 -2
- package/esm/components/table/HeadCellSelect.d.ts +5 -5
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -5
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.d.ts +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +18 -18
- package/esm/components/table/index.js +100 -59
- package/esm/components/virtual-list/AutoSizer.d.ts +1 -1
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +2 -2
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.d.ts +3 -0
- package/esm/index.js +6 -3
- package/esm/locale/de-DE.js +5 -3
- package/esm/locale/en-US.js +6 -3
- package/esm/locale/zh-CN.js +7 -4
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/esm/node_modules/rc-overflow/es/Item.js +1 -1
- package/esm/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/esm/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/esm/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/esm/node_modules/rc-overflow/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/index.js +1 -1
- package/esm/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/esm/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/esm/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/esm/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +1 -1
- package/esm/node_modules/rc-util/es/warning.js +8 -2
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/esm/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/_virtual/index.js +1 -1
- package/lib/_virtual/react-is.development.js +1 -1
- package/lib/_virtual/react-is.production.min.js +1 -1
- package/lib/components/404.d.ts +2 -2
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +104 -48
- package/lib/components/Alert.js +37 -14
- package/lib/components/Alert2.d.ts +22 -22
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +25 -25
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +47 -47
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +14 -14
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +125 -125
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +112 -112
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +5 -5
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +2 -2
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +2 -2
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +6 -6
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -33
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +50 -50
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +102 -102
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +5 -5
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.d.ts +128 -128
- package/lib/components/ChainedSelection.js +2 -1
- package/lib/components/Checkbox.d.ts +12 -12
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.d.ts +4 -4
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.d.ts +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +122 -122
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +32 -32
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +85 -85
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.d.ts +6 -9
- package/lib/components/Combo.js +8 -2
- package/lib/components/ConfirmBox.d.ts +85 -85
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +3 -3
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +95 -92
- package/lib/components/DatePicker.js +38 -25
- package/lib/components/DateRangePicker.d.ts +265 -220
- package/lib/components/DateRangePicker.js +73 -43
- package/lib/components/DndContainer.d.ts +4 -4
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +36 -35
- package/lib/components/Drawer.js +26 -10
- package/lib/components/Editor.d.ts +125 -125
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.d.ts +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +9 -15
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.d.ts +89 -0
- package/lib/components/GaodeMapPicker.js +214 -0
- package/lib/components/GridNav.d.ts +4 -4
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +126 -126
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +13 -12
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +57 -47
- package/lib/components/ImageGallery.js +8 -5
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +22 -22
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +5 -5
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.d.ts +7 -7
- package/lib/components/InputTable.js +21 -14
- package/lib/components/Layout.d.ts +13 -12
- package/lib/components/Layout.js +8 -6
- package/lib/components/Link.d.ts +2 -2
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +13 -13
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +86 -86
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +85 -85
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.d.ts +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +113 -112
- package/lib/components/Modal.js +25 -9
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +213 -209
- package/lib/components/MultilineText.d.ts +45 -45
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +45 -34
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.d.ts +87 -108
- package/lib/components/Pagination.js +4 -3
- package/lib/components/Picker.d.ts +4 -4
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +2 -7
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +6 -5
- package/lib/components/PickerContainer.js +3 -3
- package/lib/components/PopOverContainer.d.ts +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +45 -45
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +63 -63
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.d.ts +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +34 -34
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +16 -2
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.d.ts +35 -35
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +86 -86
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +48 -48
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.d.ts +127 -127
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +47 -47
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +2 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +88 -88
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1977 -1969
- package/lib/components/Select.js +7 -5
- package/lib/components/Selection.d.ts +127 -126
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.d.ts +46 -46
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +73 -73
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +5 -4
- package/lib/components/Steps.js +8 -6
- package/lib/components/Switch.d.ts +12 -12
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +133 -133
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +90 -90
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +49 -48
- package/lib/components/TabsTransfer.js +13 -13
- package/lib/components/TabsTransferPicker.d.ts +5 -5
- package/lib/components/TabsTransferPicker.js +4 -4
- package/lib/components/Tag.d.ts +75 -75
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.d.ts +45 -45
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.d.ts +2 -2
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +5 -5
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.d.ts +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +88 -86
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +3 -2
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +40 -32
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.d.ts +312 -272
- package/lib/components/Transfer.js +20 -18
- package/lib/components/TransferDropDown.d.ts +205 -165
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.d.ts +5 -5
- package/lib/components/TransferPicker.js +4 -4
- package/lib/components/TransferSearch.d.ts +5 -5
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +211 -209
- package/lib/components/Tree.js +20 -10
- package/lib/components/TreeSelection.d.ts +126 -126
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +89 -89
- package/lib/components/UserSelect.js +7 -96
- package/lib/components/UserTabSelect.d.ts +45 -45
- package/lib/components/UserTabSelect.js +4 -95
- package/lib/components/WithRemoteConfig.d.ts +5 -6
- package/lib/components/WithRemoteConfig.js +6 -2
- package/lib/components/WithStore.d.ts +2 -2
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +3 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +7 -7
- package/lib/components/calendar/DaysView.js +3 -3
- package/lib/components/calendar/MonthsView.d.ts +4 -4
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.d.ts +4 -4
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +5 -5
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.d.ts +4 -4
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +5 -5
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.d.ts +5 -5
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.d.ts +5 -5
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +6 -6
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +5 -5
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.d.ts +2 -2
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.d.ts +2 -2
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +10 -10
- package/lib/components/condition-builder/Item.js +11 -8
- package/lib/components/condition-builder/Value.d.ts +5 -5
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +8 -8
- package/lib/components/condition-builder/index.js +2 -2
- package/lib/components/condition-builder/types.d.ts +1 -1
- package/lib/components/formula/Editor.d.ts +50 -45
- package/lib/components/formula/Editor.js +13 -2
- package/lib/components/formula/FuncList.d.ts +2 -2
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +47 -46
- package/lib/components/formula/Picker.js +3 -3
- package/lib/components/formula/VariableList.d.ts +2 -2
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.d.ts +12 -11
- package/lib/components/icons.js +8 -2
- package/lib/components/index.d.ts +6 -3
- package/lib/components/json-schema/Array.d.ts +2 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +2 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +2 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +5 -5
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +3 -6
- package/lib/components/menu/MenuItem.js +5 -24
- package/lib/components/menu/SubMenu.d.ts +3 -6
- package/lib/components/menu/SubMenu.js +13 -28
- package/lib/components/menu/index.d.ts +92 -93
- package/lib/components/menu/index.js +9 -13
- package/lib/components/schema-editor/Array.d.ts +3 -2
- package/lib/components/schema-editor/Array.js +3 -3
- package/lib/components/schema-editor/Common.d.ts +3 -2
- package/lib/components/schema-editor/Common.js +3 -3
- package/lib/components/schema-editor/Item.d.ts +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.d.ts +3 -2
- package/lib/components/schema-editor/Object.js +3 -3
- package/lib/components/schema-editor/SchemaVariableList.d.ts +6 -6
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +5 -5
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +55 -45
- package/lib/components/schema-editor/index.js +3 -3
- package/lib/components/table/Cell.d.ts +45 -45
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +5 -5
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +45 -45
- package/lib/components/table/HeadCellFilter.js +5 -2
- package/lib/components/table/HeadCellSelect.d.ts +45 -45
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.d.ts +5 -5
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.d.ts +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +98 -98
- package/lib/components/table/index.js +100 -59
- package/lib/components/virtual-list/AutoSizer.d.ts +1 -1
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +2 -2
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.js +11 -4
- package/lib/locale/de-DE.js +5 -3
- package/lib/locale/en-US.js +6 -3
- package/lib/locale/zh-CN.js +7 -4
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createClass.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/createSuper.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/defineProperty.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/inherits.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/typeof.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +1 -1
- package/lib/node_modules/rc-overflow/es/Item.js +1 -1
- package/lib/node_modules/rc-overflow/es/Overflow.js +1 -1
- package/lib/node_modules/rc-overflow/es/RawItem.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/channelUpdate.js +1 -1
- package/lib/node_modules/rc-overflow/es/hooks/useEffectState.js +1 -1
- package/lib/node_modules/rc-overflow/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/Collection.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/SingleObserver/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/index.js +1 -1
- package/lib/node_modules/rc-resize-observer/es/utils/observerUtil.js +1 -1
- package/lib/node_modules/rc-util/es/Children/toArray.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/canUseDom.js +1 -1
- package/lib/node_modules/rc-util/es/Dom/findDOMNode.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useEvent.js +1 -1
- package/lib/node_modules/rc-util/es/hooks/useLayoutEffect.js +1 -1
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +1 -1
- package/lib/node_modules/rc-util/es/warning.js +8 -2
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +1 -1
- package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
- package/lib/packages/amis-ui/scss/helper.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/ang.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/antd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/cxd.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/dark.scss.js +1 -1
- package/lib/packages/amis-ui/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +2721 -1720
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2721 -1720
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +2721 -1720
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +2721 -1720
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +2721 -1720
- package/package.json +5 -5
- package/scss/_components.scss +1305 -124
- package/scss/_mixins.scss +33 -1
- package/scss/_properties.scss +5 -374
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_app.scss +10 -0
- package/scss/components/_button-group.scss +0 -1
- package/scss/components/_button.scss +0 -38
- package/scss/components/_calendar.scss +14 -0
- package/scss/components/_column-toggler.scss +5 -2
- package/scss/components/_condition-builder.scss +38 -22
- package/scss/components/_crud.scss +21 -5
- package/scss/components/_crud2.scss +21 -5
- package/scss/components/_drawer.scss +20 -12
- package/scss/components/_image-gallery.scss +9 -6
- package/scss/components/_images.scss +13 -5
- package/scss/components/_menu.scss +251 -626
- package/scss/components/_modal.scss +23 -13
- package/scss/components/_nav.scss +6 -354
- package/scss/components/_progress.scss +11 -2
- package/scss/components/_result-box.scss +1 -0
- package/scss/components/_spinner.scss +7 -5
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +68 -20
- package/scss/components/_table.scss +7 -7
- package/scss/components/_table2.scss +84 -40
- package/scss/components/_tag.scss +42 -36
- package/scss/components/_timeline.scss +20 -9
- package/scss/components/_toast.scss +64 -12
- package/scss/components/_wizard.scss +28 -7
- package/scss/components/form/_checks.scss +17 -3
- package/scss/components/form/_color.scss +5 -0
- package/scss/components/form/_combo.scss +28 -18
- package/scss/components/form/_date-range.scss +5 -0
- package/scss/components/form/_date.scss +8 -1
- package/scss/components/form/_fieldset.scss +62 -28
- package/scss/components/form/_form.scss +32 -3
- package/scss/components/form/_icon-select.scss +21 -0
- package/scss/components/form/_image.scss +50 -7
- package/scss/components/form/_nested-select.scss +2 -0
- package/scss/components/form/_number.scss +14 -6
- package/scss/components/form/_picker.scss +105 -12
- package/scss/components/form/_range.scss +6 -0
- package/scss/components/form/_rich-text.scss +81 -35
- package/scss/components/form/_tag.scss +56 -6
- package/scss/components/form/_text.scss +8 -0
- package/scss/components/form/_transfer.scss +18 -26
- package/scss/components/form/_tree.scss +55 -23
- package/scss/layout/_layout.scss +42 -10
|
@@ -28,6 +28,7 @@ export interface ImageGalleryProps extends ThemeProps, LocaleProps {
|
|
|
28
28
|
modalContainer?: () => HTMLElement;
|
|
29
29
|
/** 操作栏 */
|
|
30
30
|
actions?: ImageAction[];
|
|
31
|
+
imageGallaryClassName?: string;
|
|
31
32
|
}
|
|
32
33
|
export interface ImageGalleryState {
|
|
33
34
|
isOpened: boolean;
|
|
@@ -44,6 +45,10 @@ export interface ImageGalleryState {
|
|
|
44
45
|
rotate: number;
|
|
45
46
|
/** 是否开启操作栏 */
|
|
46
47
|
showToolbar?: boolean;
|
|
48
|
+
/** 是否显示底部图片集 */
|
|
49
|
+
enlargeWithGallary?: boolean;
|
|
50
|
+
/** 放大详情图类名 */
|
|
51
|
+
imageGallaryClassName?: string;
|
|
47
52
|
/** 工具栏配置 */
|
|
48
53
|
actions?: ImageAction[];
|
|
49
54
|
}
|
|
@@ -66,7 +71,9 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
|
|
|
66
71
|
caption?: string;
|
|
67
72
|
index?: number;
|
|
68
73
|
showToolbar?: boolean;
|
|
74
|
+
imageGallaryClassName?: string;
|
|
69
75
|
toolbarActions?: ImageAction[];
|
|
76
|
+
enlargeWithGallary?: boolean;
|
|
70
77
|
}): void;
|
|
71
78
|
resetImageAction(): void;
|
|
72
79
|
close(): void;
|
|
@@ -74,11 +81,11 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
|
|
|
74
81
|
next(): void;
|
|
75
82
|
handleItemClick(e: React.MouseEvent<HTMLDivElement>): void;
|
|
76
83
|
handleToolbarAction: import("lodash").DebouncedFuncLeading<(action: ImageAction) => void>;
|
|
77
|
-
renderToolbar(actions: ImageAction[]): JSX.Element;
|
|
78
|
-
render(): JSX.Element;
|
|
84
|
+
renderToolbar(actions: ImageAction[]): React.JSX.Element;
|
|
85
|
+
render(): React.JSX.Element;
|
|
79
86
|
}
|
|
80
87
|
declare const _default: {
|
|
81
|
-
new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
88
|
+
new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
82
89
|
actions?: ImageAction[] | undefined;
|
|
83
90
|
} & {} & {
|
|
84
91
|
locale?: string | undefined;
|
|
@@ -87,16 +94,16 @@ declare const _default: {
|
|
|
87
94
|
ref: any;
|
|
88
95
|
childRef(ref: any): void;
|
|
89
96
|
getWrappedInstance(): any;
|
|
90
|
-
render(): JSX.Element;
|
|
97
|
+
render(): React.JSX.Element;
|
|
91
98
|
context: unknown;
|
|
92
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
99
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
93
100
|
actions?: ImageAction[] | undefined;
|
|
94
101
|
} & {} & {
|
|
95
102
|
locale?: string | undefined;
|
|
96
103
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
104
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
98
105
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
99
|
-
readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
106
|
+
readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
100
107
|
actions?: ImageAction[] | undefined;
|
|
101
108
|
} & {} & {
|
|
102
109
|
locale?: string | undefined;
|
|
@@ -107,7 +114,7 @@ declare const _default: {
|
|
|
107
114
|
[key: string]: React.ReactInstance;
|
|
108
115
|
};
|
|
109
116
|
componentDidMount?(): void;
|
|
110
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
117
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
111
118
|
actions?: ImageAction[] | undefined;
|
|
112
119
|
} & {} & {
|
|
113
120
|
locale?: string | undefined;
|
|
@@ -115,39 +122,39 @@ declare const _default: {
|
|
|
115
122
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
116
123
|
componentWillUnmount?(): void;
|
|
117
124
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
118
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
125
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
119
126
|
actions?: ImageAction[] | undefined;
|
|
120
127
|
} & {} & {
|
|
121
128
|
locale?: string | undefined;
|
|
122
129
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
123
130
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
124
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
131
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
125
132
|
actions?: ImageAction[] | undefined;
|
|
126
133
|
} & {} & {
|
|
127
134
|
locale?: string | undefined;
|
|
128
135
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
129
136
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
130
|
-
componentWillMount?(): void;
|
|
137
|
+
componentWillMount?(): void;
|
|
131
138
|
UNSAFE_componentWillMount?(): void;
|
|
132
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
139
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
133
140
|
actions?: ImageAction[] | undefined;
|
|
134
141
|
} & {} & {
|
|
135
142
|
locale?: string | undefined;
|
|
136
143
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
137
144
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
138
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
145
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
139
146
|
actions?: ImageAction[] | undefined;
|
|
140
147
|
} & {} & {
|
|
141
148
|
locale?: string | undefined;
|
|
142
149
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
143
150
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextContext: any): void;
|
|
144
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
151
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
145
152
|
actions?: ImageAction[] | undefined;
|
|
146
153
|
} & {} & {
|
|
147
154
|
locale?: string | undefined;
|
|
148
155
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
149
156
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
150
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
157
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
151
158
|
actions?: ImageAction[] | undefined;
|
|
152
159
|
} & {} & {
|
|
153
160
|
locale?: string | undefined;
|
|
@@ -157,7 +164,7 @@ declare const _default: {
|
|
|
157
164
|
displayName: string;
|
|
158
165
|
contextType: React.Context<string>;
|
|
159
166
|
ComposedComponent: React.ComponentType<{
|
|
160
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
167
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
161
168
|
actions?: ImageAction[] | undefined;
|
|
162
169
|
} & {} & {
|
|
163
170
|
locale?: string | undefined;
|
|
@@ -166,16 +173,17 @@ declare const _default: {
|
|
|
166
173
|
ref: any;
|
|
167
174
|
childRef(ref: any): void;
|
|
168
175
|
getWrappedInstance(): any;
|
|
169
|
-
|
|
176
|
+
/** 是否显示底部图片集 */
|
|
177
|
+
render(): React.JSX.Element;
|
|
170
178
|
context: unknown;
|
|
171
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
179
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
172
180
|
actions?: ImageAction[] | undefined;
|
|
173
181
|
} & {} & {
|
|
174
182
|
locale?: string | undefined;
|
|
175
183
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
176
184
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
177
185
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
178
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
186
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
179
187
|
actions?: ImageAction[] | undefined;
|
|
180
188
|
} & {} & {
|
|
181
189
|
locale?: string | undefined;
|
|
@@ -186,7 +194,7 @@ declare const _default: {
|
|
|
186
194
|
[key: string]: React.ReactInstance;
|
|
187
195
|
};
|
|
188
196
|
componentDidMount?(): void;
|
|
189
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
197
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
190
198
|
actions?: ImageAction[] | undefined;
|
|
191
199
|
} & {} & {
|
|
192
200
|
locale?: string | undefined;
|
|
@@ -194,13 +202,13 @@ declare const _default: {
|
|
|
194
202
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
195
203
|
componentWillUnmount?(): void;
|
|
196
204
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
197
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
205
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
198
206
|
actions?: ImageAction[] | undefined;
|
|
199
207
|
} & {} & {
|
|
200
208
|
locale?: string | undefined;
|
|
201
209
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
202
210
|
}>, prevState: Readonly<{}>): any;
|
|
203
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
211
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
204
212
|
actions?: ImageAction[] | undefined;
|
|
205
213
|
} & {} & {
|
|
206
214
|
locale?: string | undefined;
|
|
@@ -208,25 +216,25 @@ declare const _default: {
|
|
|
208
216
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
209
217
|
componentWillMount?(): void;
|
|
210
218
|
UNSAFE_componentWillMount?(): void;
|
|
211
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
219
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
212
220
|
actions?: ImageAction[] | undefined;
|
|
213
221
|
} & {} & {
|
|
214
222
|
locale?: string | undefined;
|
|
215
223
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
216
224
|
}>, nextContext: any): void;
|
|
217
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
225
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
218
226
|
actions?: ImageAction[] | undefined;
|
|
219
227
|
} & {} & {
|
|
220
228
|
locale?: string | undefined;
|
|
221
229
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
222
230
|
}>, nextContext: any): void;
|
|
223
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
231
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
224
232
|
actions?: ImageAction[] | undefined;
|
|
225
233
|
} & {} & {
|
|
226
234
|
locale?: string | undefined;
|
|
227
235
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
228
236
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
229
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
237
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
230
238
|
actions?: ImageAction[] | undefined;
|
|
231
239
|
} & {} & {
|
|
232
240
|
locale?: string | undefined;
|
|
@@ -240,7 +248,7 @@ declare const _default: {
|
|
|
240
248
|
ComposedComponent: typeof ImageGallery;
|
|
241
249
|
}>;
|
|
242
250
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
243
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
251
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
244
252
|
actions?: ImageAction[] | undefined;
|
|
245
253
|
} & {} & {
|
|
246
254
|
locale?: string | undefined;
|
|
@@ -249,16 +257,17 @@ declare const _default: {
|
|
|
249
257
|
ref: any;
|
|
250
258
|
childRef(ref: any): void;
|
|
251
259
|
getWrappedInstance(): any;
|
|
252
|
-
|
|
260
|
+
/** 是否显示底部图片集 */
|
|
261
|
+
render(): React.JSX.Element;
|
|
253
262
|
context: unknown;
|
|
254
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
263
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
255
264
|
actions?: ImageAction[] | undefined;
|
|
256
265
|
} & {} & {
|
|
257
266
|
locale?: string | undefined;
|
|
258
267
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
259
268
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
260
269
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
261
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
270
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
262
271
|
actions?: ImageAction[] | undefined;
|
|
263
272
|
} & {} & {
|
|
264
273
|
locale?: string | undefined;
|
|
@@ -269,7 +278,7 @@ declare const _default: {
|
|
|
269
278
|
[key: string]: React.ReactInstance;
|
|
270
279
|
};
|
|
271
280
|
componentDidMount?(): void;
|
|
272
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
281
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
273
282
|
actions?: ImageAction[] | undefined;
|
|
274
283
|
} & {} & {
|
|
275
284
|
locale?: string | undefined;
|
|
@@ -277,13 +286,13 @@ declare const _default: {
|
|
|
277
286
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
278
287
|
componentWillUnmount?(): void;
|
|
279
288
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
280
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
289
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
281
290
|
actions?: ImageAction[] | undefined;
|
|
282
291
|
} & {} & {
|
|
283
292
|
locale?: string | undefined;
|
|
284
293
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
285
294
|
}>, prevState: Readonly<{}>): any;
|
|
286
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
295
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
287
296
|
actions?: ImageAction[] | undefined;
|
|
288
297
|
} & {} & {
|
|
289
298
|
locale?: string | undefined;
|
|
@@ -291,25 +300,25 @@ declare const _default: {
|
|
|
291
300
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
292
301
|
componentWillMount?(): void;
|
|
293
302
|
UNSAFE_componentWillMount?(): void;
|
|
294
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
303
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
295
304
|
actions?: ImageAction[] | undefined;
|
|
296
305
|
} & {} & {
|
|
297
306
|
locale?: string | undefined;
|
|
298
307
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
299
308
|
}>, nextContext: any): void;
|
|
300
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
309
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
301
310
|
actions?: ImageAction[] | undefined;
|
|
302
311
|
} & {} & {
|
|
303
312
|
locale?: string | undefined;
|
|
304
313
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
305
314
|
}>, nextContext: any): void;
|
|
306
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
315
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
307
316
|
actions?: ImageAction[] | undefined;
|
|
308
317
|
} & {} & {
|
|
309
318
|
locale?: string | undefined;
|
|
310
319
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
311
320
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
312
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
321
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
313
322
|
actions?: ImageAction[] | undefined;
|
|
314
323
|
} & {} & {
|
|
315
324
|
locale?: string | undefined;
|
|
@@ -323,7 +332,7 @@ declare const _default: {
|
|
|
323
332
|
ComposedComponent: typeof ImageGallery;
|
|
324
333
|
}, {}> & {
|
|
325
334
|
ComposedComponent: {
|
|
326
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
335
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
327
336
|
actions?: ImageAction[] | undefined;
|
|
328
337
|
} & {} & {
|
|
329
338
|
locale?: string | undefined;
|
|
@@ -332,16 +341,17 @@ declare const _default: {
|
|
|
332
341
|
ref: any;
|
|
333
342
|
childRef(ref: any): void;
|
|
334
343
|
getWrappedInstance(): any;
|
|
335
|
-
|
|
344
|
+
/** 是否显示底部图片集 */
|
|
345
|
+
render(): React.JSX.Element;
|
|
336
346
|
context: unknown;
|
|
337
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
347
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
338
348
|
actions?: ImageAction[] | undefined;
|
|
339
349
|
} & {} & {
|
|
340
350
|
locale?: string | undefined;
|
|
341
351
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
342
352
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
343
353
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
344
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
354
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
345
355
|
actions?: ImageAction[] | undefined;
|
|
346
356
|
} & {} & {
|
|
347
357
|
locale?: string | undefined;
|
|
@@ -352,7 +362,7 @@ declare const _default: {
|
|
|
352
362
|
[key: string]: React.ReactInstance;
|
|
353
363
|
};
|
|
354
364
|
componentDidMount?(): void;
|
|
355
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
365
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
356
366
|
actions?: ImageAction[] | undefined;
|
|
357
367
|
} & {} & {
|
|
358
368
|
locale?: string | undefined;
|
|
@@ -360,13 +370,13 @@ declare const _default: {
|
|
|
360
370
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
361
371
|
componentWillUnmount?(): void;
|
|
362
372
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
363
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
373
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
364
374
|
actions?: ImageAction[] | undefined;
|
|
365
375
|
} & {} & {
|
|
366
376
|
locale?: string | undefined;
|
|
367
377
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
368
378
|
}>, prevState: Readonly<{}>): any;
|
|
369
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
379
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
370
380
|
actions?: ImageAction[] | undefined;
|
|
371
381
|
} & {} & {
|
|
372
382
|
locale?: string | undefined;
|
|
@@ -374,25 +384,25 @@ declare const _default: {
|
|
|
374
384
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
375
385
|
componentWillMount?(): void;
|
|
376
386
|
UNSAFE_componentWillMount?(): void;
|
|
377
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
387
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
378
388
|
actions?: ImageAction[] | undefined;
|
|
379
389
|
} & {} & {
|
|
380
390
|
locale?: string | undefined;
|
|
381
391
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
382
392
|
}>, nextContext: any): void;
|
|
383
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
393
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
384
394
|
actions?: ImageAction[] | undefined;
|
|
385
395
|
} & {} & {
|
|
386
396
|
locale?: string | undefined;
|
|
387
397
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
388
398
|
}>, nextContext: any): void;
|
|
389
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
399
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
390
400
|
actions?: ImageAction[] | undefined;
|
|
391
401
|
} & {} & {
|
|
392
402
|
locale?: string | undefined;
|
|
393
403
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
394
404
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
395
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
405
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
396
406
|
actions?: ImageAction[] | undefined;
|
|
397
407
|
} & {} & {
|
|
398
408
|
locale?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v3.1.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -34,6 +34,7 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
34
34
|
scale: 1,
|
|
35
35
|
rotate: 0,
|
|
36
36
|
showToolbar: false,
|
|
37
|
+
imageGallaryClassName: '',
|
|
37
38
|
actions: ImageGallery.defaultProps.actions
|
|
38
39
|
};
|
|
39
40
|
_this.handleToolbarAction = debounce(function (action) {
|
|
@@ -103,6 +104,8 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
103
104
|
index: info.index || 0,
|
|
104
105
|
/* children组件可以控制工具栏的展示 */
|
|
105
106
|
showToolbar: !!info.showToolbar,
|
|
107
|
+
enlargeWithGallary: info.enlargeWithGallary,
|
|
108
|
+
imageGallaryClassName: info.imageGallaryClassName,
|
|
106
109
|
/** 外部传入合法key值的actions才会生效 */
|
|
107
110
|
actions: Array.isArray(info.toolbarActions)
|
|
108
111
|
? info.toolbarActions.filter(function (action) {
|
|
@@ -150,13 +153,13 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
150
153
|
ImageGallery.prototype.render = function () {
|
|
151
154
|
var _this = this;
|
|
152
155
|
var _a = this.props, children = _a.children, cx = _a.classnames, modalContainer = _a.modalContainer;
|
|
153
|
-
var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, actions = _b.actions;
|
|
156
|
+
var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, enlargeWithGallary = _b.enlargeWithGallary, actions = _b.actions, imageGallaryClassName = _b.imageGallaryClassName;
|
|
154
157
|
var __ = this.props.translate;
|
|
155
158
|
return (React__default.createElement(React__default.Fragment, null,
|
|
156
159
|
React__default.cloneElement(children, {
|
|
157
160
|
onImageEnlarge: this.handleImageEnlarge
|
|
158
161
|
}),
|
|
159
|
-
React__default.createElement(FinalModal, { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery'), container: modalContainer },
|
|
162
|
+
React__default.createElement(FinalModal, { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery', imageGallaryClassName), container: modalContainer },
|
|
160
163
|
React__default.createElement("a", { "data-tooltip": __('Dialog.close'), "data-position": "left", className: cx('ImageGallery-close'), onClick: this.close },
|
|
161
164
|
React__default.createElement(Icon, { icon: "close", className: "icon" })),
|
|
162
165
|
~index && items[index] ? (React__default.createElement(React__default.Fragment, null,
|
|
@@ -166,12 +169,12 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
166
169
|
showToolbar && Array.isArray(actions) && actions.length > 0
|
|
167
170
|
? this.renderToolbar(actions)
|
|
168
171
|
: null,
|
|
169
|
-
items.length > 1 ? (React__default.createElement(React__default.Fragment, null,
|
|
172
|
+
items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement(React__default.Fragment, null,
|
|
170
173
|
React__default.createElement("a", { className: cx('ImageGallery-prevBtn', index <= 0 ? 'is-disabled' : ''), onClick: this.prev },
|
|
171
174
|
React__default.createElement(Icon, { icon: "prev", className: "icon" })),
|
|
172
175
|
React__default.createElement("a", { className: cx('ImageGallery-nextBtn', index >= items.length - 1 ? 'is-disabled' : ''), onClick: this.next },
|
|
173
176
|
React__default.createElement(Icon, { icon: "next", className: "icon" })))) : null))) : null,
|
|
174
|
-
items.length > 1 ? (React__default.createElement("div", { className: cx('ImageGallery-footer') },
|
|
177
|
+
items.length > 1 && enlargeWithGallary !== false ? (React__default.createElement("div", { className: cx('ImageGallery-footer') },
|
|
175
178
|
React__default.createElement("a", { className: cx('ImageGallery-prevList is-disabled') },
|
|
176
179
|
React__default.createElement(Icon, { icon: "prev", className: "icon" })),
|
|
177
180
|
React__default.createElement("div", { className: cx('ImageGallery-itemsWrap') },
|
package/esm/components/Input.js
CHANGED