amis-ui 2.9.0 → 3.0.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.js +1 -1
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +10 -10
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.js +2 -2
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +10 -10
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +40 -40
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +0 -1
- package/esm/components/DatePicker.js +1 -2
- package/esm/components/DateRangePicker.js +8 -6
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +2 -2
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- 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.js +1 -1
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.d.ts +11 -10
- package/esm/components/Html.js +3 -3
- package/esm/components/ImageGallery.d.ts +45 -41
- package/esm/components/ImageGallery.js +5 -3
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +14 -2
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +23 -12
- package/esm/components/NumberInput.js +10 -5
- package/esm/components/Pagination.js +1 -1
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +22 -1
- package/esm/components/Range.js +35 -4
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.js +1 -1
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.d.ts +1 -0
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +3 -3
- package/esm/components/Steps.d.ts +2 -2
- package/esm/components/Steps.js +4 -2
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.d.ts +41 -40
- package/esm/components/TabsTransfer.js +4 -4
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +20 -4
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +2 -0
- package/esm/components/Toast.js +5 -5
- package/esm/components/Tooltip.d.ts +1 -0
- package/esm/components/Tooltip.js +3 -3
- package/esm/components/TooltipWrapper.d.ts +8 -0
- package/esm/components/TooltipWrapper.js +3 -3
- package/esm/components/Transfer.js +1 -1
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +8 -6
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.js +3 -1
- package/esm/components/UserTabSelect.js +3 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- 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.js +3 -3
- package/esm/components/calendar/MonthsView.js +8 -8
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +1 -1
- package/esm/components/condition-builder/Item.js +7 -7
- package/esm/components/condition-builder/Value.js +3 -12
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/condition-builder/types.d.ts +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +4 -4
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +1 -1
- package/esm/components/index.d.ts +5 -1
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.d.ts +0 -3
- package/esm/components/menu/MenuItem.js +5 -24
- package/esm/components/menu/SubMenu.d.ts +0 -3
- package/esm/components/menu/SubMenu.js +13 -28
- package/esm/components/menu/index.d.ts +25 -28
- package/esm/components/menu/index.js +8 -9
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +5 -2
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +5 -5
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +2 -2
- package/esm/components/table/index.js +98 -57
- 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.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 +4 -1
- package/esm/locale/de-DE.js +2 -2
- package/esm/locale/en-US.js +3 -2
- package/esm/locale/zh-CN.js +4 -3
- 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.js +1 -1
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +10 -10
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedSelection.js +1 -1
- package/lib/components/Checkbox.js +2 -2
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +10 -10
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +40 -40
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +0 -1
- package/lib/components/DatePicker.js +1 -2
- package/lib/components/DateRangePicker.js +8 -6
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.js +2 -2
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- 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.js +1 -1
- package/lib/components/GroupedSelection.js +1 -1
- package/lib/components/Html.d.ts +11 -10
- package/lib/components/Html.js +3 -3
- package/lib/components/ImageGallery.d.ts +45 -41
- package/lib/components/ImageGallery.js +5 -3
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.js +14 -2
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.js +1 -1
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +23 -12
- package/lib/components/NumberInput.js +10 -5
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +22 -1
- package/lib/components/Range.js +35 -4
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.js +1 -1
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.d.ts +1 -0
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.js +1 -1
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.js +3 -3
- package/lib/components/Steps.d.ts +2 -2
- package/lib/components/Steps.js +4 -2
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +41 -40
- package/lib/components/TabsTransfer.js +3 -3
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.js +20 -4
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +2 -0
- package/lib/components/Toast.js +5 -5
- package/lib/components/Tooltip.d.ts +1 -0
- package/lib/components/Tooltip.js +3 -3
- package/lib/components/TooltipWrapper.d.ts +8 -0
- package/lib/components/TooltipWrapper.js +3 -3
- package/lib/components/Transfer.js +1 -1
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.js +8 -6
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.js +3 -1
- package/lib/components/UserTabSelect.js +3 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- 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.js +3 -3
- package/lib/components/calendar/MonthsView.js +7 -7
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +1 -1
- package/lib/components/condition-builder/Item.js +6 -6
- package/lib/components/condition-builder/Value.js +3 -12
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/condition-builder/types.d.ts +1 -1
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +3 -3
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +1 -1
- package/lib/components/index.d.ts +5 -1
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.d.ts +0 -3
- package/lib/components/menu/MenuItem.js +5 -24
- package/lib/components/menu/SubMenu.d.ts +0 -3
- package/lib/components/menu/SubMenu.js +13 -28
- package/lib/components/menu/index.d.ts +25 -28
- package/lib/components/menu/index.js +8 -9
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.js +5 -2
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +5 -5
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +2 -2
- package/lib/components/table/index.js +98 -57
- 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.js +1 -1
- package/lib/helper.css +9569 -1234
- 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 +7 -1
- package/lib/locale/de-DE.js +2 -2
- package/lib/locale/en-US.js +3 -2
- package/lib/locale/zh-CN.js +4 -3
- 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 +2767 -1920
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +2767 -1920
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +2767 -1920
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +2767 -1920
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +2767 -1920
- package/package.json +5 -5
- package/scss/_components.scss +1296 -115
- package/scss/_mixins.scss +1 -1
- package/scss/_properties.scss +5 -374
- package/scss/base/_common.scss +4 -0
- package/scss/components/_alert.scss +30 -9
- package/scss/components/_button-group.scss +0 -1
- 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 +243 -609
- package/scss/components/_modal.scss +22 -12
- 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 +6 -4
- package/scss/components/_status.scss +27 -11
- package/scss/components/_steps.scss +60 -20
- 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 +13 -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 +16 -0
- package/scss/components/form/_icon-select.scss +18 -0
- package/scss/components/form/_image.scss +43 -7
- package/scss/components/form/_number.scss +10 -0
- 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
|
@@ -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,8 @@ export interface ImageGalleryState {
|
|
|
44
45
|
rotate: number;
|
|
45
46
|
/** 是否开启操作栏 */
|
|
46
47
|
showToolbar?: boolean;
|
|
48
|
+
/** 放大详情图类名 */
|
|
49
|
+
imageGallaryClassName?: string;
|
|
47
50
|
/** 工具栏配置 */
|
|
48
51
|
actions?: ImageAction[];
|
|
49
52
|
}
|
|
@@ -66,6 +69,7 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
|
|
|
66
69
|
caption?: string;
|
|
67
70
|
index?: number;
|
|
68
71
|
showToolbar?: boolean;
|
|
72
|
+
imageGallaryClassName?: string;
|
|
69
73
|
toolbarActions?: ImageAction[];
|
|
70
74
|
}): void;
|
|
71
75
|
resetImageAction(): void;
|
|
@@ -78,7 +82,7 @@ export declare class ImageGallery extends React.Component<ImageGalleryProps, Ima
|
|
|
78
82
|
render(): JSX.Element;
|
|
79
83
|
}
|
|
80
84
|
declare const _default: {
|
|
81
|
-
new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
85
|
+
new (props: Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
82
86
|
actions?: ImageAction[] | undefined;
|
|
83
87
|
} & {} & {
|
|
84
88
|
locale?: string | undefined;
|
|
@@ -89,14 +93,14 @@ declare const _default: {
|
|
|
89
93
|
getWrappedInstance(): any;
|
|
90
94
|
render(): JSX.Element;
|
|
91
95
|
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"> & {
|
|
96
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
93
97
|
actions?: ImageAction[] | undefined;
|
|
94
98
|
} & {} & {
|
|
95
99
|
locale?: string | undefined;
|
|
96
100
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
97
101
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
98
102
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
99
|
-
readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
103
|
+
readonly props: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
100
104
|
actions?: ImageAction[] | undefined;
|
|
101
105
|
} & {} & {
|
|
102
106
|
locale?: string | undefined;
|
|
@@ -107,7 +111,7 @@ declare const _default: {
|
|
|
107
111
|
[key: string]: React.ReactInstance;
|
|
108
112
|
};
|
|
109
113
|
componentDidMount?(): void;
|
|
110
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
114
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
111
115
|
actions?: ImageAction[] | undefined;
|
|
112
116
|
} & {} & {
|
|
113
117
|
locale?: string | undefined;
|
|
@@ -115,39 +119,39 @@ declare const _default: {
|
|
|
115
119
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
116
120
|
componentWillUnmount?(): void;
|
|
117
121
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
118
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
122
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
119
123
|
actions?: ImageAction[] | undefined;
|
|
120
124
|
} & {} & {
|
|
121
125
|
locale?: string | undefined;
|
|
122
126
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
123
127
|
}, 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"> & {
|
|
128
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
125
129
|
actions?: ImageAction[] | undefined;
|
|
126
130
|
} & {} & {
|
|
127
131
|
locale?: string | undefined;
|
|
128
132
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
129
133
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
130
|
-
componentWillMount?(): void;
|
|
134
|
+
componentWillMount?(): void;
|
|
131
135
|
UNSAFE_componentWillMount?(): void;
|
|
132
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
136
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
133
137
|
actions?: ImageAction[] | undefined;
|
|
134
138
|
} & {} & {
|
|
135
139
|
locale?: string | undefined;
|
|
136
140
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
137
141
|
}, 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"> & {
|
|
142
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
139
143
|
actions?: ImageAction[] | undefined;
|
|
140
144
|
} & {} & {
|
|
141
145
|
locale?: string | undefined;
|
|
142
146
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
143
147
|
}, 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"> & {
|
|
148
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
145
149
|
actions?: ImageAction[] | undefined;
|
|
146
150
|
} & {} & {
|
|
147
151
|
locale?: string | undefined;
|
|
148
152
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
149
153
|
}, 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"> & {
|
|
154
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
151
155
|
actions?: ImageAction[] | undefined;
|
|
152
156
|
} & {} & {
|
|
153
157
|
locale?: string | undefined;
|
|
@@ -157,7 +161,7 @@ declare const _default: {
|
|
|
157
161
|
displayName: string;
|
|
158
162
|
contextType: React.Context<string>;
|
|
159
163
|
ComposedComponent: React.ComponentType<{
|
|
160
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
164
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
161
165
|
actions?: ImageAction[] | undefined;
|
|
162
166
|
} & {} & {
|
|
163
167
|
locale?: string | undefined;
|
|
@@ -168,14 +172,14 @@ declare const _default: {
|
|
|
168
172
|
getWrappedInstance(): any;
|
|
169
173
|
render(): JSX.Element;
|
|
170
174
|
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"> & {
|
|
175
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
172
176
|
actions?: ImageAction[] | undefined;
|
|
173
177
|
} & {} & {
|
|
174
178
|
locale?: string | undefined;
|
|
175
179
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
176
180
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
177
181
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
178
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
182
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
179
183
|
actions?: ImageAction[] | undefined;
|
|
180
184
|
} & {} & {
|
|
181
185
|
locale?: string | undefined;
|
|
@@ -186,7 +190,7 @@ declare const _default: {
|
|
|
186
190
|
[key: string]: React.ReactInstance;
|
|
187
191
|
};
|
|
188
192
|
componentDidMount?(): void;
|
|
189
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
193
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
190
194
|
actions?: ImageAction[] | undefined;
|
|
191
195
|
} & {} & {
|
|
192
196
|
locale?: string | undefined;
|
|
@@ -194,13 +198,13 @@ declare const _default: {
|
|
|
194
198
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
195
199
|
componentWillUnmount?(): void;
|
|
196
200
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
197
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
201
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
198
202
|
actions?: ImageAction[] | undefined;
|
|
199
203
|
} & {} & {
|
|
200
204
|
locale?: string | undefined;
|
|
201
205
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
202
206
|
}>, prevState: Readonly<{}>): any;
|
|
203
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
207
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
204
208
|
actions?: ImageAction[] | undefined;
|
|
205
209
|
} & {} & {
|
|
206
210
|
locale?: string | undefined;
|
|
@@ -208,25 +212,25 @@ declare const _default: {
|
|
|
208
212
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
209
213
|
componentWillMount?(): void;
|
|
210
214
|
UNSAFE_componentWillMount?(): void;
|
|
211
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
215
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
212
216
|
actions?: ImageAction[] | undefined;
|
|
213
217
|
} & {} & {
|
|
214
218
|
locale?: string | undefined;
|
|
215
219
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
216
220
|
}>, nextContext: any): void;
|
|
217
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
221
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
218
222
|
actions?: ImageAction[] | undefined;
|
|
219
223
|
} & {} & {
|
|
220
224
|
locale?: string | undefined;
|
|
221
225
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
222
226
|
}>, nextContext: any): void;
|
|
223
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
227
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
224
228
|
actions?: ImageAction[] | undefined;
|
|
225
229
|
} & {} & {
|
|
226
230
|
locale?: string | undefined;
|
|
227
231
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
228
232
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
229
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
233
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
230
234
|
actions?: ImageAction[] | undefined;
|
|
231
235
|
} & {} & {
|
|
232
236
|
locale?: string | undefined;
|
|
@@ -240,7 +244,7 @@ declare const _default: {
|
|
|
240
244
|
ComposedComponent: typeof ImageGallery;
|
|
241
245
|
}>;
|
|
242
246
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
243
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
247
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
244
248
|
actions?: ImageAction[] | undefined;
|
|
245
249
|
} & {} & {
|
|
246
250
|
locale?: string | undefined;
|
|
@@ -251,14 +255,14 @@ declare const _default: {
|
|
|
251
255
|
getWrappedInstance(): any;
|
|
252
256
|
render(): JSX.Element;
|
|
253
257
|
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"> & {
|
|
258
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
255
259
|
actions?: ImageAction[] | undefined;
|
|
256
260
|
} & {} & {
|
|
257
261
|
locale?: string | undefined;
|
|
258
262
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
259
263
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
260
264
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
261
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
265
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
262
266
|
actions?: ImageAction[] | undefined;
|
|
263
267
|
} & {} & {
|
|
264
268
|
locale?: string | undefined;
|
|
@@ -269,7 +273,7 @@ declare const _default: {
|
|
|
269
273
|
[key: string]: React.ReactInstance;
|
|
270
274
|
};
|
|
271
275
|
componentDidMount?(): void;
|
|
272
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
276
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
273
277
|
actions?: ImageAction[] | undefined;
|
|
274
278
|
} & {} & {
|
|
275
279
|
locale?: string | undefined;
|
|
@@ -277,13 +281,13 @@ declare const _default: {
|
|
|
277
281
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
278
282
|
componentWillUnmount?(): void;
|
|
279
283
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
280
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
284
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
281
285
|
actions?: ImageAction[] | undefined;
|
|
282
286
|
} & {} & {
|
|
283
287
|
locale?: string | undefined;
|
|
284
288
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
285
289
|
}>, prevState: Readonly<{}>): any;
|
|
286
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
290
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
287
291
|
actions?: ImageAction[] | undefined;
|
|
288
292
|
} & {} & {
|
|
289
293
|
locale?: string | undefined;
|
|
@@ -291,25 +295,25 @@ declare const _default: {
|
|
|
291
295
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
292
296
|
componentWillMount?(): void;
|
|
293
297
|
UNSAFE_componentWillMount?(): void;
|
|
294
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
298
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
295
299
|
actions?: ImageAction[] | undefined;
|
|
296
300
|
} & {} & {
|
|
297
301
|
locale?: string | undefined;
|
|
298
302
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
299
303
|
}>, nextContext: any): void;
|
|
300
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
304
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
301
305
|
actions?: ImageAction[] | undefined;
|
|
302
306
|
} & {} & {
|
|
303
307
|
locale?: string | undefined;
|
|
304
308
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
305
309
|
}>, nextContext: any): void;
|
|
306
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
310
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
307
311
|
actions?: ImageAction[] | undefined;
|
|
308
312
|
} & {} & {
|
|
309
313
|
locale?: string | undefined;
|
|
310
314
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
311
315
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
312
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
316
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
313
317
|
actions?: ImageAction[] | undefined;
|
|
314
318
|
} & {} & {
|
|
315
319
|
locale?: string | undefined;
|
|
@@ -323,7 +327,7 @@ declare const _default: {
|
|
|
323
327
|
ComposedComponent: typeof ImageGallery;
|
|
324
328
|
}, {}> & {
|
|
325
329
|
ComposedComponent: {
|
|
326
|
-
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
330
|
+
new (props: Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
327
331
|
actions?: ImageAction[] | undefined;
|
|
328
332
|
} & {} & {
|
|
329
333
|
locale?: string | undefined;
|
|
@@ -334,14 +338,14 @@ declare const _default: {
|
|
|
334
338
|
getWrappedInstance(): any;
|
|
335
339
|
render(): JSX.Element;
|
|
336
340
|
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"> & {
|
|
341
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
338
342
|
actions?: ImageAction[] | undefined;
|
|
339
343
|
} & {} & {
|
|
340
344
|
locale?: string | undefined;
|
|
341
345
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
342
346
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
343
347
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
344
|
-
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
348
|
+
readonly props: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
345
349
|
actions?: ImageAction[] | undefined;
|
|
346
350
|
} & {} & {
|
|
347
351
|
locale?: string | undefined;
|
|
@@ -352,7 +356,7 @@ declare const _default: {
|
|
|
352
356
|
[key: string]: React.ReactInstance;
|
|
353
357
|
};
|
|
354
358
|
componentDidMount?(): void;
|
|
355
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
359
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
356
360
|
actions?: ImageAction[] | undefined;
|
|
357
361
|
} & {} & {
|
|
358
362
|
locale?: string | undefined;
|
|
@@ -360,13 +364,13 @@ declare const _default: {
|
|
|
360
364
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
361
365
|
componentWillUnmount?(): void;
|
|
362
366
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
363
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
367
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
364
368
|
actions?: ImageAction[] | undefined;
|
|
365
369
|
} & {} & {
|
|
366
370
|
locale?: string | undefined;
|
|
367
371
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
368
372
|
}>, prevState: Readonly<{}>): any;
|
|
369
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
373
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
370
374
|
actions?: ImageAction[] | undefined;
|
|
371
375
|
} & {} & {
|
|
372
376
|
locale?: string | undefined;
|
|
@@ -374,25 +378,25 @@ declare const _default: {
|
|
|
374
378
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
375
379
|
componentWillMount?(): void;
|
|
376
380
|
UNSAFE_componentWillMount?(): void;
|
|
377
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
381
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
378
382
|
actions?: ImageAction[] | undefined;
|
|
379
383
|
} & {} & {
|
|
380
384
|
locale?: string | undefined;
|
|
381
385
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
382
386
|
}>, nextContext: any): void;
|
|
383
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
387
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
384
388
|
actions?: ImageAction[] | undefined;
|
|
385
389
|
} & {} & {
|
|
386
390
|
locale?: string | undefined;
|
|
387
391
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
388
392
|
}>, nextContext: any): void;
|
|
389
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
393
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
390
394
|
actions?: ImageAction[] | undefined;
|
|
391
395
|
} & {} & {
|
|
392
396
|
locale?: string | undefined;
|
|
393
397
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
394
398
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
395
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer"> & {
|
|
399
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<ImageGalleryProps, keyof LocaleProps>, "classPrefix" | "classnames" | "children" | "className" | "style" | "theme" | "modalContainer" | "imageGallaryClassName"> & {
|
|
396
400
|
actions?: ImageAction[] | undefined;
|
|
397
401
|
} & {} & {
|
|
398
402
|
locale?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui
|
|
2
|
+
* amis-ui v3.0.0
|
|
3
3
|
* Copyright 2018-2023 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -43,6 +43,7 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
43
43
|
scale: 1,
|
|
44
44
|
rotate: 0,
|
|
45
45
|
showToolbar: false,
|
|
46
|
+
imageGallaryClassName: '',
|
|
46
47
|
actions: ImageGallery.defaultProps.actions
|
|
47
48
|
};
|
|
48
49
|
_this.handleToolbarAction = debounce__default["default"](function (action) {
|
|
@@ -112,6 +113,7 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
112
113
|
index: info.index || 0,
|
|
113
114
|
/* children组件可以控制工具栏的展示 */
|
|
114
115
|
showToolbar: !!info.showToolbar,
|
|
116
|
+
imageGallaryClassName: info.imageGallaryClassName,
|
|
115
117
|
/** 外部传入合法key值的actions才会生效 */
|
|
116
118
|
actions: Array.isArray(info.toolbarActions)
|
|
117
119
|
? info.toolbarActions.filter(function (action) {
|
|
@@ -159,13 +161,13 @@ var ImageGallery = /** @class */ (function (_super) {
|
|
|
159
161
|
ImageGallery.prototype.render = function () {
|
|
160
162
|
var _this = this;
|
|
161
163
|
var _a = this.props, children = _a.children, cx = _a.classnames, modalContainer = _a.modalContainer;
|
|
162
|
-
var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, actions = _b.actions;
|
|
164
|
+
var _b = this.state, index = _b.index, items = _b.items, rotate = _b.rotate, scale = _b.scale, showToolbar = _b.showToolbar, actions = _b.actions, imageGallaryClassName = _b.imageGallaryClassName;
|
|
163
165
|
var __ = this.props.translate;
|
|
164
166
|
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
165
167
|
React__default["default"].cloneElement(children, {
|
|
166
168
|
onImageEnlarge: this.handleImageEnlarge
|
|
167
169
|
}),
|
|
168
|
-
React__default["default"].createElement(Modal["default"], { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery'), container: modalContainer },
|
|
170
|
+
React__default["default"].createElement(Modal["default"], { closeOnEsc: true, size: "full", onHide: this.close, show: this.state.isOpened, contentClassName: cx('ImageGallery', imageGallaryClassName), container: modalContainer },
|
|
169
171
|
React__default["default"].createElement("a", { "data-tooltip": __('Dialog.close'), "data-position": "left", className: cx('ImageGallery-close'), onClick: this.close },
|
|
170
172
|
React__default["default"].createElement(icons.Icon, { icon: "close", className: "icon" })),
|
|
171
173
|
~index && items[index] ? (React__default["default"].createElement(React__default["default"].Fragment, null,
|
package/lib/components/Input.js
CHANGED
package/lib/components/Layout.js
CHANGED
package/lib/components/Link.js
CHANGED