amis-ui 3.1.1 → 3.3.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/components/404.js +1 -1
- package/esm/components/Alert.d.ts +122 -122
- package/esm/components/Alert.js +55 -17
- package/esm/components/Alert2.d.ts +20 -20
- package/esm/components/Alert2.js +5 -8
- package/esm/components/AnchorNav.d.ts +20 -20
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.d.ts +40 -40
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +120 -120
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.d.ts +102 -101
- package/esm/components/Avatar.js +4 -3
- package/esm/components/Badge.d.ts +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +27 -23
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +5 -9
- package/esm/components/Button.d.ts +20 -20
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.d.ts +41 -40
- package/esm/components/CalendarMobile.js +21 -5
- package/esm/components/Card.d.ts +100 -100
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +4 -3
- package/esm/components/Cascader.js +106 -105
- package/esm/components/ChainedDropdownSelection.d.ts +559 -0
- package/esm/components/ChainedDropdownSelection.js +104 -0
- package/esm/components/ChainedSelection.d.ts +120 -120
- package/esm/components/ChainedSelection.js +1 -1
- package/esm/components/Checkbox.d.ts +11 -10
- package/esm/components/Checkbox.js +3 -2
- package/esm/components/CityArea.js +3 -3
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.d.ts +162 -140
- package/esm/components/Collapse.js +11 -7
- package/esm/components/CollapseGroup.d.ts +53 -31
- package/esm/components/CollapseGroup.js +19 -14
- package/esm/components/ColorPicker.d.ts +84 -80
- package/esm/components/ColorPicker.js +32 -5
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.d.ts +82 -81
- package/esm/components/ConfirmBox.js +11 -4
- package/esm/components/ContextMenu.d.ts +2 -2
- package/esm/components/ContextMenu.js +25 -10
- package/esm/components/DatePicker.d.ts +85 -81
- package/esm/components/DatePicker.js +9 -6
- package/esm/components/DateRangePicker.d.ts +120 -120
- package/esm/components/DateRangePicker.js +38 -17
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.d.ts +30 -30
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.d.ts +555 -0
- package/esm/components/DropDownSelection.js +77 -0
- package/esm/components/Editor.d.ts +120 -120
- 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.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +120 -120
- package/esm/components/GroupedSelection.js +1 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +40 -40
- package/esm/components/ImageGallery.js +1 -1
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +11 -10
- package/esm/components/InputBox.js +5 -3
- package/esm/components/InputBoxWithSuggestion.d.ts +1 -0
- package/esm/components/InputBoxWithSuggestion.js +4 -4
- package/esm/components/InputTable.js +3 -3
- package/esm/components/Layout.d.ts +10 -10
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +5 -4
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +81 -80
- package/esm/components/ListMenu.js +6 -5
- package/esm/components/LocationPicker.d.ts +44 -40
- package/esm/components/LocationPicker.js +35 -8
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +80 -80
- package/esm/components/Modal.js +1 -1
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +120 -120
- package/esm/components/MultilineText.d.ts +40 -40
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.d.ts +22 -25
- package/esm/components/NumberInput.js +14 -7
- package/esm/components/Pagination.d.ts +86 -81
- package/esm/components/Pagination.js +13 -4
- package/esm/components/Picker.js +3 -3
- package/esm/components/PickerColumn.d.ts +1 -1
- package/esm/components/PickerColumn.js +2 -2
- package/esm/components/PickerContainer.d.ts +1 -0
- package/esm/components/PickerContainer.js +4 -4
- package/esm/components/PopOverContainer.d.ts +3 -0
- package/esm/components/PopOverContainer.js +14 -3
- package/esm/components/PopUp.d.ts +120 -120
- package/esm/components/PopUp.js +3 -3
- package/esm/components/Progress.d.ts +30 -30
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +11 -10
- package/esm/components/Radios.js +7 -6
- package/esm/components/Range.d.ts +2 -1
- package/esm/components/Range.js +67 -16
- package/esm/components/Rating.d.ts +20 -20
- package/esm/components/Rating.js +2 -2
- package/esm/components/ResultBox.d.ts +83 -41
- package/esm/components/ResultBox.js +6 -5
- package/esm/components/ResultList.d.ts +40 -40
- package/esm/components/ResultList.js +2 -2
- package/esm/components/ResultTableList.d.ts +120 -120
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.d.ts +40 -40
- package/esm/components/ResultTreeList.js +4 -2
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +83 -82
- package/esm/components/SearchBox.js +8 -7
- package/esm/components/Select.d.ts +1353 -1353
- package/esm/components/Select.js +16 -9
- package/esm/components/SelectMobile.d.ts +37 -0
- package/esm/components/SelectMobile.js +362 -0
- package/esm/components/Selection.d.ts +120 -120
- package/esm/components/Selection.js +1 -1
- package/esm/components/SparkLine.d.ts +40 -40
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +50 -50
- package/esm/components/Spinner.js +4 -4
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +10 -10
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +120 -120
- package/esm/components/TableSelection.js +3 -2
- package/esm/components/Tabs.d.ts +92 -80
- package/esm/components/Tabs.js +88 -13
- package/esm/components/TabsTransfer.d.ts +41 -40
- package/esm/components/TabsTransfer.js +7 -6
- package/esm/components/TabsTransferPicker.d.ts +2 -0
- package/esm/components/TabsTransferPicker.js +8 -8
- package/esm/components/Tag.d.ts +80 -80
- package/esm/components/Tag.js +5 -10
- package/esm/components/Textarea.d.ts +41 -40
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +1 -1
- package/esm/components/TimelineItem.js +4 -3
- package/esm/components/Tinymce.d.ts +1 -0
- package/esm/components/Tinymce.js +7 -3
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +80 -80
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +31 -31
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +134 -132
- package/esm/components/Transfer.js +26 -16
- package/esm/components/TransferDropDown.d.ts +124 -120
- package/esm/components/TransferDropDown.js +52 -18
- package/esm/components/TransferPicker.d.ts +2 -0
- package/esm/components/TransferPicker.js +8 -8
- package/esm/components/TransferSearch.js +3 -3
- package/esm/components/Tree.d.ts +161 -160
- package/esm/components/Tree.js +58 -23
- package/esm/components/TreeSelection.d.ts +120 -120
- package/esm/components/TreeSelection.js +3 -3
- package/esm/components/UserSelect.d.ts +40 -40
- package/esm/components/UserSelect.js +17 -9
- package/esm/components/UserTabSelect.d.ts +40 -40
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +7 -7
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +2 -0
- package/esm/components/calendar/Calendar.js +8 -4
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +3 -0
- package/esm/components/calendar/DaysView.js +17 -5
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +11 -0
- package/esm/components/calendar/QuartersView.js +47 -5
- package/esm/components/calendar/TimeView.js +4 -2
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.d.ts +3 -7
- package/esm/components/condition-builder/Field.js +14 -72
- package/esm/components/condition-builder/Formula.js +2 -2
- package/esm/components/condition-builder/Func.js +2 -2
- package/esm/components/condition-builder/Group.d.ts +10 -1
- package/esm/components/condition-builder/Group.js +9 -5
- package/esm/components/condition-builder/GroupOrItem.d.ts +10 -1
- package/esm/components/condition-builder/GroupOrItem.js +9 -6
- 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 +5 -6
- package/esm/components/condition-builder/Value.js +13 -8
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +10 -1
- package/esm/components/condition-builder/index.js +8 -4
- package/esm/components/formula/Editor.d.ts +57 -40
- package/esm/components/formula/Editor.js +124 -24
- package/esm/components/formula/FuncList.js +24 -10
- package/esm/components/formula/Input.d.ts +272 -0
- package/esm/components/formula/Input.js +115 -0
- package/esm/components/formula/Picker.d.ts +64 -45
- package/esm/components/formula/Picker.js +120 -28
- package/esm/components/formula/VariableList.d.ts +1 -0
- package/esm/components/formula/VariableList.js +127 -23
- package/esm/components/formula/plugin.d.ts +4 -2
- package/esm/components/formula/plugin.js +49 -25
- package/esm/components/icons.d.ts +11 -2
- package/esm/components/icons.js +64 -22
- package/esm/components/json-schema/Array.js +6 -4
- package/esm/components/json-schema/Item.js +4 -4
- package/esm/components/json-schema/Object.js +9 -5
- package/esm/components/json-schema/index.d.ts +1 -0
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +3 -2
- package/esm/components/menu/SubMenu.js +3 -3
- package/esm/components/menu/index.d.ts +65 -60
- package/esm/components/menu/index.js +34 -14
- package/esm/components/schema-editor/Array.js +3 -3
- package/esm/components/schema-editor/Common.d.ts +1 -0
- package/esm/components/schema-editor/Common.js +7 -7
- package/esm/components/schema-editor/Item.d.ts +1 -0
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +5 -5
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +41 -40
- package/esm/components/schema-editor/index.js +3 -3
- package/esm/components/table/Cell.d.ts +80 -80
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +40 -40
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.d.ts +40 -40
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.d.ts +5 -2
- package/esm/components/table/HeadCellSort.js +11 -11
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +121 -121
- package/esm/components/table/index.js +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.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 +15 -8
- 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 +1 -1
- 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.js +1 -1
- package/esm/locale/de-DE.js +7 -2
- package/esm/locale/en-US.js +7 -2
- package/esm/locale/zh-CN.js +8 -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 +4 -3
- package/esm/node_modules/rc-overflow/es/RawItem.js +2 -2
- package/esm/node_modules/rc-overflow/es/context.js +10 -0
- 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 +3 -4
- 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 +16 -2
- package/esm/node_modules/rc-util/es/raf.js +1 -1
- package/esm/node_modules/rc-util/es/ref.js +3 -4
- package/esm/node_modules/rc-util/es/warning.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/components/404.js +12 -13
- package/lib/components/Alert.d.ts +122 -122
- package/lib/components/Alert.js +64 -27
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +13 -17
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +10 -12
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +17 -14
- package/lib/components/AsideNav.d.ts +10 -10
- package/lib/components/AsideNav.js +13 -15
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +11 -17
- package/lib/components/Avatar.d.ts +102 -101
- package/lib/components/Avatar.js +10 -6
- package/lib/components/Badge.d.ts +1 -1
- package/lib/components/Badge.js +13 -13
- package/lib/components/BaiduMapPicker.js +41 -34
- package/lib/components/BarCode.js +5 -5
- package/lib/components/Breadcrumb.js +21 -25
- package/lib/components/Button.d.ts +30 -30
- package/lib/components/Button.js +7 -8
- package/lib/components/CalendarMobile.d.ts +81 -80
- package/lib/components/CalendarMobile.js +55 -41
- package/lib/components/Card.d.ts +110 -110
- package/lib/components/Card.js +22 -19
- package/lib/components/Cascader.d.ts +4 -3
- package/lib/components/Cascader.js +114 -114
- package/lib/components/ChainedDropdownSelection.d.ts +559 -0
- package/lib/components/ChainedDropdownSelection.js +116 -0
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +23 -20
- package/lib/components/Checkbox.d.ts +11 -10
- package/lib/components/Checkbox.js +10 -10
- package/lib/components/CityArea.js +10 -11
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +5 -2
- package/lib/components/Collapse.d.ts +152 -130
- package/lib/components/Collapse.js +19 -17
- package/lib/components/CollapseGroup.d.ts +53 -31
- package/lib/components/CollapseGroup.js +22 -19
- package/lib/components/ColorPicker.d.ts +84 -80
- package/lib/components/ColorPicker.js +44 -19
- package/lib/components/Combo.js +16 -73
- package/lib/components/ConfirmBox.d.ts +82 -81
- package/lib/components/ConfirmBox.js +31 -21
- package/lib/components/ContextMenu.d.ts +2 -2
- package/lib/components/ContextMenu.js +37 -19
- package/lib/components/DatePicker.d.ts +125 -121
- package/lib/components/DatePicker.js +28 -27
- package/lib/components/DateRangePicker.d.ts +280 -280
- package/lib/components/DateRangePicker.js +67 -48
- package/lib/components/DndContainer.js +6 -8
- package/lib/components/Drawer.d.ts +30 -30
- package/lib/components/Drawer.js +13 -15
- package/lib/components/DropDownSelection.d.ts +555 -0
- package/lib/components/DropDownSelection.js +84 -0
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +9 -11
- package/lib/components/Form.js +8 -5
- package/lib/components/FormField.js +20 -21
- package/lib/components/GaodeMapPicker.js +10 -7
- package/lib/components/GridNav.js +15 -16
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +22 -19
- package/lib/components/Html.js +5 -7
- package/lib/components/ImageGallery.d.ts +40 -40
- package/lib/components/ImageGallery.js +28 -25
- package/lib/components/Input.js +6 -3
- package/lib/components/InputBox.d.ts +21 -20
- package/lib/components/InputBox.js +11 -6
- package/lib/components/InputBoxWithSuggestion.d.ts +1 -0
- package/lib/components/InputBoxWithSuggestion.js +12 -9
- package/lib/components/InputTable.js +25 -22
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +13 -26
- package/lib/components/Link.js +8 -4
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +8 -5
- package/lib/components/ListMenu.d.ts +81 -80
- package/lib/components/ListMenu.js +14 -10
- package/lib/components/LocationPicker.d.ts +84 -80
- package/lib/components/LocationPicker.js +45 -15
- package/lib/components/Markdown.js +5 -2
- package/lib/components/Modal.d.ts +40 -40
- package/lib/components/Modal.js +15 -17
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +200 -200
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +9 -6
- package/lib/components/NumberInput.d.ts +32 -35
- package/lib/components/NumberInput.js +20 -10
- package/lib/components/Pagination.d.ts +86 -81
- package/lib/components/Pagination.js +40 -28
- package/lib/components/Picker.js +13 -14
- package/lib/components/PickerColumn.d.ts +1 -1
- package/lib/components/PickerColumn.js +7 -5
- package/lib/components/PickerContainer.d.ts +1 -0
- package/lib/components/PickerContainer.js +8 -5
- package/lib/components/PopOverContainer.d.ts +3 -0
- package/lib/components/PopOverContainer.js +19 -5
- package/lib/components/PopUp.d.ts +80 -80
- package/lib/components/PopUp.js +18 -20
- package/lib/components/Progress.d.ts +80 -80
- package/lib/components/Progress.js +14 -11
- package/lib/components/PullRefresh.js +8 -14
- package/lib/components/Radios.d.ts +41 -40
- package/lib/components/Radios.js +13 -24
- package/lib/components/Range.d.ts +2 -1
- package/lib/components/Range.js +83 -34
- package/lib/components/Rating.d.ts +30 -30
- package/lib/components/Rating.js +14 -15
- package/lib/components/ResultBox.d.ts +123 -81
- package/lib/components/ResultBox.js +34 -30
- package/lib/components/ResultList.d.ts +40 -40
- package/lib/components/ResultList.js +19 -15
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +13 -13
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +21 -13
- package/lib/components/RichText.js +6 -8
- package/lib/components/SearchBox.d.ts +83 -82
- package/lib/components/SearchBox.js +28 -24
- package/lib/components/Select.d.ts +1933 -1933
- package/lib/components/Select.js +66 -62
- package/lib/components/SelectMobile.d.ts +37 -0
- package/lib/components/SelectMobile.js +374 -0
- package/lib/components/Selection.d.ts +80 -80
- package/lib/components/Selection.js +7 -9
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +8 -5
- package/lib/components/Spinner.d.ts +50 -50
- package/lib/components/Spinner.js +13 -16
- package/lib/components/Steps.js +20 -21
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +8 -10
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +35 -29
- package/lib/components/Tabs.d.ts +92 -80
- package/lib/components/Tabs.js +122 -49
- package/lib/components/TabsTransfer.d.ts +41 -40
- package/lib/components/TabsTransfer.js +20 -16
- package/lib/components/TabsTransferPicker.d.ts +2 -0
- package/lib/components/TabsTransferPicker.js +10 -7
- package/lib/components/Tag.d.ts +90 -90
- package/lib/components/Tag.js +12 -17
- package/lib/components/Textarea.d.ts +41 -40
- package/lib/components/Textarea.js +9 -6
- package/lib/components/Timeline.js +6 -7
- package/lib/components/TimelineItem.d.ts +1 -1
- package/lib/components/TimelineItem.js +18 -14
- package/lib/components/Tinymce.d.ts +1 -0
- package/lib/components/Tinymce.js +11 -4
- package/lib/components/TitleBar.js +10 -16
- package/lib/components/Toast.d.ts +120 -120
- package/lib/components/Toast.js +14 -16
- package/lib/components/Tooltip.js +8 -10
- package/lib/components/TooltipWrapper.d.ts +31 -31
- package/lib/components/TooltipWrapper.js +6 -8
- package/lib/components/Transfer.d.ts +174 -172
- package/lib/components/Transfer.js +61 -42
- package/lib/components/TransferDropDown.d.ts +164 -160
- package/lib/components/TransferDropDown.js +59 -26
- package/lib/components/TransferPicker.d.ts +2 -0
- package/lib/components/TransferPicker.js +10 -7
- package/lib/components/TransferSearch.js +10 -6
- package/lib/components/Tree.d.ts +241 -240
- package/lib/components/Tree.js +104 -84
- package/lib/components/TreeSelection.d.ts +80 -80
- package/lib/components/TreeSelection.js +17 -18
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +98 -91
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +17 -18
- package/lib/components/WithRemoteConfig.js +11 -8
- package/lib/components/WithStore.js +5 -2
- package/lib/components/calendar/Calendar.d.ts +2 -0
- package/lib/components/calendar/Calendar.js +12 -5
- package/lib/components/calendar/CalendarContainer.js +5 -2
- package/lib/components/calendar/DaysView.d.ts +3 -0
- package/lib/components/calendar/DaysView.js +70 -56
- package/lib/components/calendar/MonthsView.js +18 -15
- package/lib/components/calendar/QuartersView.d.ts +11 -0
- package/lib/components/calendar/QuartersView.js +59 -14
- package/lib/components/calendar/TimeView.js +35 -30
- package/lib/components/calendar/YearsView.js +18 -15
- package/lib/components/condition-builder/Expression.d.ts +1 -1
- package/lib/components/condition-builder/Expression.js +10 -7
- package/lib/components/condition-builder/Field.d.ts +3 -7
- package/lib/components/condition-builder/Field.js +16 -71
- package/lib/components/condition-builder/Formula.js +6 -3
- package/lib/components/condition-builder/Func.js +16 -13
- package/lib/components/condition-builder/Group.d.ts +10 -1
- package/lib/components/condition-builder/Group.js +27 -20
- package/lib/components/condition-builder/GroupOrItem.d.ts +10 -1
- package/lib/components/condition-builder/GroupOrItem.js +19 -13
- package/lib/components/condition-builder/InputSwitch.js +10 -11
- package/lib/components/condition-builder/Item.d.ts +1 -1
- package/lib/components/condition-builder/Item.js +19 -17
- package/lib/components/condition-builder/Value.js +18 -10
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +10 -1
- package/lib/components/condition-builder/index.js +13 -6
- package/lib/components/formula/Editor.d.ts +57 -40
- package/lib/components/formula/Editor.js +128 -25
- package/lib/components/formula/FuncList.js +33 -16
- package/lib/components/formula/Input.d.ts +272 -0
- package/lib/components/formula/Input.js +128 -0
- package/lib/components/formula/Picker.d.ts +64 -45
- package/lib/components/formula/Picker.js +140 -44
- package/lib/components/formula/VariableList.d.ts +1 -0
- package/lib/components/formula/VariableList.js +128 -21
- package/lib/components/formula/plugin.d.ts +4 -2
- package/lib/components/formula/plugin.js +48 -24
- package/lib/components/icons.d.ts +11 -2
- package/lib/components/icons.js +76 -30
- package/lib/components/json-schema/Array.js +18 -13
- package/lib/components/json-schema/Item.js +11 -12
- package/lib/components/json-schema/Object.js +22 -15
- package/lib/components/json-schema/index.d.ts +1 -0
- package/lib/components/json-schema/index.js +6 -7
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +18 -19
- package/lib/components/menu/SubMenu.js +19 -21
- package/lib/components/menu/index.d.ts +75 -70
- package/lib/components/menu/index.js +46 -28
- package/lib/components/schema-editor/Array.js +11 -8
- package/lib/components/schema-editor/Common.d.ts +1 -0
- package/lib/components/schema-editor/Common.js +20 -17
- package/lib/components/schema-editor/Item.d.ts +1 -0
- package/lib/components/schema-editor/Item.js +5 -2
- package/lib/components/schema-editor/Object.js +16 -13
- package/lib/components/schema-editor/SchemaVariableList.js +9 -6
- package/lib/components/schema-editor/SchemaVariableListPicker.js +7 -4
- package/lib/components/schema-editor/index.d.ts +41 -40
- package/lib/components/schema-editor/index.js +7 -7
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +5 -6
- package/lib/components/table/HeadCellDropDown.js +8 -9
- package/lib/components/table/HeadCellFilter.d.ts +40 -40
- package/lib/components/table/HeadCellFilter.js +12 -13
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +6 -7
- package/lib/components/table/HeadCellSort.d.ts +5 -2
- package/lib/components/table/HeadCellSort.js +19 -20
- package/lib/components/table/ItemActionsWrapper.js +5 -2
- package/lib/components/table/index.d.ts +81 -81
- package/lib/components/table/index.js +62 -63
- package/lib/components/virtual-list/AutoSizer.js +5 -2
- 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 +6 -6
- package/lib/helper.css +159 -0
- 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 +7 -24
- package/lib/icons/alert-info.svg.js +7 -24
- package/lib/icons/alert-success.svg.js +7 -24
- package/lib/icons/alert-warning.svg.js +7 -24
- package/lib/icons/back.svg.js +7 -24
- package/lib/icons/calendar.svg.js +11 -28
- package/lib/icons/caret.svg.js +7 -24
- package/lib/icons/check.svg.js +7 -24
- package/lib/icons/clock.svg.js +9 -26
- package/lib/icons/close-small.svg.js +8 -25
- package/lib/icons/close.svg.js +7 -24
- package/lib/icons/cloud-upload.svg.js +7 -24
- package/lib/icons/column-filter.svg.js +7 -24
- package/lib/icons/columns.svg.js +7 -24
- package/lib/icons/compress-alt.svg.js +7 -24
- package/lib/icons/copy.svg.js +9 -26
- package/lib/icons/date.svg.js +9 -26
- package/lib/icons/department.svg.js +12 -29
- package/lib/icons/desk-empty.svg.js +19 -36
- package/lib/icons/dot.svg.js +10 -27
- package/lib/icons/down-arrow-bold.svg.js +7 -24
- package/lib/icons/down.svg.js +7 -24
- package/lib/icons/download.svg.js +7 -24
- package/lib/icons/drag-bar.svg.js +15 -32
- package/lib/icons/drag.svg.js +7 -24
- package/lib/icons/edit.svg.js +7 -24
- package/lib/icons/ellipsis-v.svg.js +7 -24
- package/lib/icons/enter.svg.js +7 -24
- package/lib/icons/exchange.svg.js +7 -24
- package/lib/icons/expand-alt.svg.js +7 -24
- package/lib/icons/fail.svg.js +9 -26
- package/lib/icons/file.svg.js +8 -25
- package/lib/icons/filter.svg.js +7 -24
- package/lib/icons/folder.svg.js +9 -26
- package/lib/icons/function.svg.js +20 -30
- package/lib/icons/home.svg.js +7 -24
- package/lib/icons/image.svg.js +7 -24
- package/lib/icons/info-circle.svg.js +7 -24
- package/lib/icons/info.svg.js +8 -25
- package/lib/icons/input-clear.svg.js +7 -24
- package/lib/icons/invisible.svg.js +7 -24
- package/lib/icons/left-arrow.svg.js +7 -24
- package/lib/icons/loading-outline.svg.js +7 -24
- package/lib/icons/location.svg.js +7 -24
- package/lib/icons/menu.svg.js +7 -24
- package/lib/icons/minus.svg.js +7 -24
- package/lib/icons/move.svg.js +7 -24
- package/lib/icons/mute.svg.js +7 -24
- package/lib/icons/new-edit.svg.js +7 -24
- package/lib/icons/pause.svg.js +7 -24
- package/lib/icons/pencil.svg.js +7 -24
- package/lib/icons/play.svg.js +7 -24
- package/lib/icons/plus-cicle.svg.js +7 -24
- package/lib/icons/plus-fine.svg.js +7 -24
- package/lib/icons/plus.svg.js +7 -24
- package/lib/icons/post.svg.js +12 -29
- package/lib/icons/question-mark.svg.js +8 -25
- package/lib/icons/question.svg.js +7 -24
- package/lib/icons/redo.svg.js +7 -24
- package/lib/icons/refresh.svg.js +7 -24
- package/lib/icons/reload.svg.js +7 -24
- package/lib/icons/remove.svg.js +7 -24
- package/lib/icons/retry.svg.js +9 -26
- package/lib/icons/right-arrow-bold.svg.js +7 -24
- package/lib/icons/right-arrow.svg.js +7 -24
- package/lib/icons/right-double-arrow.svg.js +7 -24
- package/lib/icons/role.svg.js +11 -28
- package/lib/icons/rotate-left.svg.js +8 -25
- package/lib/icons/rotate-right.svg.js +8 -25
- package/lib/icons/scale-origin.svg.js +9 -26
- package/lib/icons/schedule.svg.js +9 -26
- package/lib/icons/search.svg.js +7 -24
- package/lib/icons/setting.svg.js +7 -24
- package/lib/icons/slider-handle-icon.svg.js +7 -24
- package/lib/icons/sort-asc.svg.js +7 -24
- package/lib/icons/sort-default.svg.js +8 -25
- package/lib/icons/sort-desc.svg.js +7 -24
- package/lib/icons/star.svg.js +7 -24
- package/lib/icons/status-close.svg.js +7 -24
- package/lib/icons/steps-finsh.svg.js +7 -24
- package/lib/icons/success.svg.js +9 -26
- package/lib/icons/transparent.svg.js +12 -29
- package/lib/icons/trash.svg.js +7 -24
- package/lib/icons/tree-down.svg.js +7 -24
- package/lib/icons/undo.svg.js +7 -24
- package/lib/icons/upload.svg.js +7 -24
- package/lib/icons/user-remove.svg.js +9 -26
- package/lib/icons/view.svg.js +7 -24
- package/lib/icons/volume.svg.js +8 -25
- package/lib/icons/warning-mark.svg.js +8 -25
- package/lib/icons/warning.svg.js +7 -24
- package/lib/icons/window-restore.svg.js +7 -24
- package/lib/icons/zoom-in.svg.js +7 -24
- package/lib/icons/zoom-out.svg.js +7 -24
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +7 -2
- package/lib/locale/en-US.js +7 -2
- package/lib/locale/zh-CN.js +8 -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 +5 -5
- package/lib/node_modules/rc-overflow/es/RawItem.js +7 -7
- package/lib/node_modules/rc-overflow/es/context.js +18 -0
- 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 +3 -4
- 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 +16 -2
- package/lib/node_modules/rc-util/es/raf.js +1 -1
- package/lib/node_modules/rc-util/es/ref.js +3 -4
- package/lib/node_modules/rc-util/es/warning.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 +1280 -691
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +1280 -691
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +1280 -691
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +1280 -691
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +1280 -691
- package/package.json +10 -5
- package/scss/_components.scss +20 -9
- package/scss/_mixins.scss +0 -1
- package/scss/_properties.scss +30 -4
- package/scss/_variables.scss +20 -0
- package/scss/base/_common.scss +4 -0
- package/scss/components/_button-group.scss +1 -0
- package/scss/components/_calendar.scss +24 -14
- package/scss/components/_cards.scss +3 -10
- package/scss/components/_cascader.scss +26 -3
- package/scss/components/_city-area.scss +6 -0
- package/scss/components/_collapse-group.scss +11 -1
- package/scss/components/_collapse.scss +34 -1
- package/scss/components/_column-toggler.scss +11 -9
- package/scss/components/_condition-builder.scss +30 -4
- package/scss/components/_crud.scss +22 -12
- package/scss/components/_debug.scss +34 -1
- package/scss/components/_drawer.scss +10 -1
- package/scss/components/_dropdown.scss +13 -9
- package/scss/components/_formula.scss +139 -37
- package/scss/components/_input-box.scss +26 -1
- package/scss/components/_json-schema-editor.scss +2 -2
- package/scss/components/_json-schema.scss +30 -2
- package/scss/components/_list-menu.scss +40 -0
- package/scss/components/_list.scss +3 -10
- package/scss/components/_menu.scss +1 -0
- package/scss/components/_nav.scss +1 -0
- package/scss/components/_panel.scss +1 -1
- package/scss/components/_picker-columns.scss +2 -4
- package/scss/components/_popup.scss +8 -1
- package/scss/components/_progress.scss +1 -1
- package/scss/components/_result-box.scss +5 -0
- package/scss/components/_search-box.scss +12 -0
- package/scss/components/_steps.scss +5 -3
- package/scss/components/_table.scss +127 -129
- package/scss/components/_tabs.scss +12 -0
- package/scss/components/_timeline.scss +2 -1
- package/scss/components/form/_checks.scss +11 -1
- package/scss/components/form/_color.scss +31 -5
- package/scss/components/form/_combo.scss +27 -0
- package/scss/components/form/_date-range.scss +24 -5
- package/scss/components/form/_date.scss +13 -10
- package/scss/components/form/_editor.scss +4 -0
- package/scss/components/form/_fieldset.scss +13 -0
- package/scss/components/form/_form.scss +259 -109
- package/scss/components/form/_input-group.scss +6 -0
- package/scss/components/form/_list.scss +1 -1
- package/scss/components/form/_location.scss +39 -0
- package/scss/components/form/_matrix.scss +2 -0
- package/scss/components/form/_nested-select.scss +9 -3
- package/scss/components/form/_number.scss +8 -0
- package/scss/components/form/_picker.scss +12 -0
- package/scss/components/form/_range.scss +47 -5
- package/scss/components/form/_select.scss +39 -1
- package/scss/components/form/_selection.scss +46 -2
- package/scss/components/form/_text.scss +5 -6
- package/scss/components/form/_transfer.scss +50 -1
- package/scss/components/form/_tree.scss +34 -4
- package/scss/components/react-datetime.scss +8 -0
- package/scss/helper/sizing/_width.md +105 -94
- package/scss/helper/sizing/_width.scss +16 -0
- package/esm/_virtual/index.js +0 -8
- package/esm/_virtual/react-is.development.js +0 -8
- package/esm/_virtual/react-is.production.min.js +0 -8
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +0 -195
- package/esm/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +0 -31
- package/esm/node_modules/rc-util/node_modules/react-is/index.js +0 -17
- package/lib/_virtual/index.js +0 -12
- package/lib/_virtual/react-is.development.js +0 -12
- package/lib/_virtual/react-is.production.min.js +0 -12
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.js +0 -199
- package/lib/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.js +0 -35
- package/lib/node_modules/rc-util/node_modules/react-is/index.js +0 -19
|
@@ -2,97 +2,108 @@
|
|
|
2
2
|
title: Width
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
| Class | Properties
|
|
6
|
-
| ----------- |
|
|
7
|
-
| w-px
|
|
8
|
-
| w-0
|
|
9
|
-
| w-none
|
|
10
|
-
| w-0\.5
|
|
11
|
-
| w-1
|
|
12
|
-
| w-1\.5
|
|
13
|
-
| w-2
|
|
14
|
-
| w-2\.5
|
|
15
|
-
| w-3
|
|
16
|
-
| w-3\.5
|
|
17
|
-
| w-4
|
|
18
|
-
| w-5
|
|
19
|
-
| w-6
|
|
20
|
-
| w-7
|
|
21
|
-
| w-8
|
|
22
|
-
| w-9
|
|
23
|
-
| w-10
|
|
24
|
-
| w-11
|
|
25
|
-
| w-12
|
|
26
|
-
| w-14
|
|
27
|
-
| w-16
|
|
28
|
-
| w-18
|
|
29
|
-
| w-20
|
|
30
|
-
| w-24
|
|
31
|
-
| w-28
|
|
32
|
-
| w-32
|
|
33
|
-
| w-36
|
|
34
|
-
| w-40
|
|
35
|
-
| w-44
|
|
36
|
-
| w-48
|
|
37
|
-
| w-52
|
|
38
|
-
| w-56
|
|
39
|
-
| w-60
|
|
40
|
-
| w-64
|
|
41
|
-
| w-72
|
|
42
|
-
| w-80
|
|
43
|
-
| w-96
|
|
44
|
-
| w-auto
|
|
45
|
-
| w-1x
|
|
46
|
-
| w-2x
|
|
47
|
-
| w-3x
|
|
48
|
-
| w-1\/2
|
|
49
|
-
| w-1\/3
|
|
50
|
-
| w-2\/3
|
|
51
|
-
| w-1\/4
|
|
52
|
-
| w-2\/4
|
|
53
|
-
| w-3\/4
|
|
54
|
-
| w-1\/5
|
|
55
|
-
| w-2\/5
|
|
56
|
-
| w-3\/5
|
|
57
|
-
| w-4\/5
|
|
58
|
-
| w-1\/6
|
|
59
|
-
| w-2\/6
|
|
60
|
-
| w-3\/6
|
|
61
|
-
| w-4\/6
|
|
62
|
-
| w-5\/6
|
|
63
|
-
| w-1\/12
|
|
64
|
-
| w-2\/12
|
|
65
|
-
| w-3\/12
|
|
66
|
-
| w-4\/12
|
|
67
|
-
| w-5\/12
|
|
68
|
-
| w-6\/12
|
|
69
|
-
| w-7\/12
|
|
70
|
-
| w-8\/12
|
|
71
|
-
| w-9\/12
|
|
72
|
-
| w-10\/12
|
|
73
|
-
| w-11\/12
|
|
74
|
-
| w-full
|
|
75
|
-
| w-screen
|
|
76
|
-
| w-
|
|
77
|
-
| w-
|
|
78
|
-
| min-w-
|
|
79
|
-
| min-w-
|
|
80
|
-
| min-w-
|
|
81
|
-
| min-w-
|
|
82
|
-
|
|
|
83
|
-
|
|
|
84
|
-
|
|
|
85
|
-
|
|
|
86
|
-
|
|
|
87
|
-
|
|
|
88
|
-
|
|
|
89
|
-
|
|
|
90
|
-
|
|
|
91
|
-
|
|
|
92
|
-
|
|
|
93
|
-
| max-w-
|
|
94
|
-
| max-w-
|
|
95
|
-
| max-w-
|
|
96
|
-
| max-w-
|
|
97
|
-
| max-w-
|
|
98
|
-
| max-w-
|
|
5
|
+
| Class | Properties |
|
|
6
|
+
| ----------- | ---------------------- |
|
|
7
|
+
| w-px | width: 0.0625rem |
|
|
8
|
+
| w-0 | width: 0 |
|
|
9
|
+
| w-none | width: 0 |
|
|
10
|
+
| w-0\.5 | width: 0.125rem |
|
|
11
|
+
| w-1 | width: 0.25rem |
|
|
12
|
+
| w-1\.5 | width: 0.375rem |
|
|
13
|
+
| w-2 | width: 0.5rem |
|
|
14
|
+
| w-2\.5 | width: 0.625rem |
|
|
15
|
+
| w-3 | width: 0.75rem |
|
|
16
|
+
| w-3\.5 | width: 0.875rem |
|
|
17
|
+
| w-4 | width: 1rem |
|
|
18
|
+
| w-5 | width: 1.25rem |
|
|
19
|
+
| w-6 | width: 1.5rem |
|
|
20
|
+
| w-7 | width: 1.75rem |
|
|
21
|
+
| w-8 | width: 2rem |
|
|
22
|
+
| w-9 | width: 2.25rem |
|
|
23
|
+
| w-10 | width: 2.5rem |
|
|
24
|
+
| w-11 | width: 2.75rem |
|
|
25
|
+
| w-12 | width: 3rem |
|
|
26
|
+
| w-14 | width: 3.5rem |
|
|
27
|
+
| w-16 | width: 4rem |
|
|
28
|
+
| w-18 | width: 4.5rem |
|
|
29
|
+
| w-20 | width: 5rem |
|
|
30
|
+
| w-24 | width: 6rem |
|
|
31
|
+
| w-28 | width: 7rem |
|
|
32
|
+
| w-32 | width: 8rem |
|
|
33
|
+
| w-36 | width: 9rem |
|
|
34
|
+
| w-40 | width: 10rem |
|
|
35
|
+
| w-44 | width: 11rem |
|
|
36
|
+
| w-48 | width: 12rem |
|
|
37
|
+
| w-52 | width: 13rem |
|
|
38
|
+
| w-56 | width: 14rem |
|
|
39
|
+
| w-60 | width: 15rem |
|
|
40
|
+
| w-64 | width: 16rem |
|
|
41
|
+
| w-72 | width: 18rem |
|
|
42
|
+
| w-80 | width: 20rem |
|
|
43
|
+
| w-96 | width: 24rem |
|
|
44
|
+
| w-auto | width: auto |
|
|
45
|
+
| w-1x | width: 1em |
|
|
46
|
+
| w-2x | width: 2em |
|
|
47
|
+
| w-3x | width: 3em |
|
|
48
|
+
| w-1\/2 | width: 50% |
|
|
49
|
+
| w-1\/3 | width: 33.333333% |
|
|
50
|
+
| w-2\/3 | width: 66.666667% |
|
|
51
|
+
| w-1\/4 | width: 25% |
|
|
52
|
+
| w-2\/4 | width: 50% |
|
|
53
|
+
| w-3\/4 | width: 75% |
|
|
54
|
+
| w-1\/5 | width: 20% |
|
|
55
|
+
| w-2\/5 | width: 40% |
|
|
56
|
+
| w-3\/5 | width: 60% |
|
|
57
|
+
| w-4\/5 | width: 80% |
|
|
58
|
+
| w-1\/6 | width: 16.666667% |
|
|
59
|
+
| w-2\/6 | width: 33.333333% |
|
|
60
|
+
| w-3\/6 | width: 50% |
|
|
61
|
+
| w-4\/6 | width: 66.666667% |
|
|
62
|
+
| w-5\/6 | width: 83.333333% |
|
|
63
|
+
| w-1\/12 | width: 8.333333% |
|
|
64
|
+
| w-2\/12 | width: 16.666667% |
|
|
65
|
+
| w-3\/12 | width: 25% |
|
|
66
|
+
| w-4\/12 | width: 33.333333% |
|
|
67
|
+
| w-5\/12 | width: 41.666667% |
|
|
68
|
+
| w-6\/12 | width: 50% |
|
|
69
|
+
| w-7\/12 | width: 58.333333% |
|
|
70
|
+
| w-8\/12 | width: 66.666667% |
|
|
71
|
+
| w-9\/12 | width: 75% |
|
|
72
|
+
| w-10\/12 | width: 83.333333% |
|
|
73
|
+
| w-11\/12 | width: 91.666667% |
|
|
74
|
+
| w-full | width: 100% |
|
|
75
|
+
| w-screen | width: 100vw |
|
|
76
|
+
| min-w-none | min-width: none |
|
|
77
|
+
| min-w-0 | min-width: 0rem |
|
|
78
|
+
| min-w-xs | min-width: 20rem |
|
|
79
|
+
| min-w-sm | min-width: 24rem |
|
|
80
|
+
| min-w-md | min-width: 28rem |
|
|
81
|
+
| min-w-lg | min-width: 32rem |
|
|
82
|
+
| min-w-xl | min-width: 36rem |
|
|
83
|
+
| min-w-2xl | min-width: 42rem |
|
|
84
|
+
| min-w-3xl | min-width: 48rem |
|
|
85
|
+
| min-w-4xl | min-width: 56rem |
|
|
86
|
+
| min-w-5xl | min-width: 64rem |
|
|
87
|
+
| min-w-6xl | min-width: 72rem |
|
|
88
|
+
| min-w-7xl | min-width: 80rem |
|
|
89
|
+
| min-w-full | min-width: 100% |
|
|
90
|
+
| min-w-min | min-width: min-content |
|
|
91
|
+
| min-w-max | min-width: max-content |
|
|
92
|
+
| min-w-prose | min-width: 65ch |
|
|
93
|
+
| max-w-none | max-width: none |
|
|
94
|
+
| max-w-0 | max-width: 0rem |
|
|
95
|
+
| max-w-xs | max-width: 20rem |
|
|
96
|
+
| max-w-sm | max-width: 24rem |
|
|
97
|
+
| max-w-md | max-width: 28rem |
|
|
98
|
+
| max-w-lg | max-width: 32rem |
|
|
99
|
+
| max-w-xl | max-width: 36rem |
|
|
100
|
+
| max-w-2xl | max-width: 42rem |
|
|
101
|
+
| max-w-3xl | max-width: 48rem |
|
|
102
|
+
| max-w-4xl | max-width: 56rem |
|
|
103
|
+
| max-w-5xl | max-width: 64rem |
|
|
104
|
+
| max-w-6xl | max-width: 72rem |
|
|
105
|
+
| max-w-7xl | max-width: 80rem |
|
|
106
|
+
| max-w-full | max-width: 100% |
|
|
107
|
+
| max-w-min | max-width: min-content |
|
|
108
|
+
| max-w-max | max-width: max-content |
|
|
109
|
+
| max-w-prose | max-width: 65ch |
|
|
@@ -115,6 +115,21 @@ title: Width
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
*/
|
|
118
|
+
|
|
119
|
+
@mixin min-width-sizing($map: $minWidths, $prefix: '.') {
|
|
120
|
+
@each $name, $value in $map {
|
|
121
|
+
@if $name == default {
|
|
122
|
+
#{$prefix}min-w {
|
|
123
|
+
min-width: $value;
|
|
124
|
+
}
|
|
125
|
+
} @else {
|
|
126
|
+
#{$prefix}min-w-#{'' + selector-escape($name)} {
|
|
127
|
+
min-width: $value;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
118
133
|
@mixin max-width-sizing($map: $maxWidths, $prefix: '.') {
|
|
119
134
|
@each $name, $value in $map {
|
|
120
135
|
@if $name == default {
|
|
@@ -148,6 +163,7 @@ title: Width
|
|
|
148
163
|
}
|
|
149
164
|
|
|
150
165
|
@include max-width-sizing($maxWidths, $prefix);
|
|
166
|
+
@include min-width-sizing($minWidths, $prefix);
|
|
151
167
|
}
|
|
152
168
|
|
|
153
169
|
@include make-widths();
|
package/esm/_virtual/index.js
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* amis-ui v3.1.1
|
|
3
|
-
* Copyright 2018-2023 fex
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { __exports as reactIs_development } from '../../../../../_virtual/react-is.development.js';
|
|
7
|
-
|
|
8
|
-
/** @license React v16.13.1
|
|
9
|
-
* react-is.development.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
var hasRequiredReactIs_development;
|
|
18
|
-
|
|
19
|
-
function requireReactIs_development () {
|
|
20
|
-
if (hasRequiredReactIs_development) return reactIs_development;
|
|
21
|
-
hasRequiredReactIs_development = 1;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
if (process.env.NODE_ENV !== "production") {
|
|
26
|
-
(function() {
|
|
27
|
-
|
|
28
|
-
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
29
|
-
// nor polyfill, then a plain number is used for performance.
|
|
30
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
31
|
-
var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
32
|
-
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
33
|
-
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
34
|
-
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
35
|
-
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
36
|
-
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
37
|
-
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
|
|
38
|
-
// (unstable) APIs that have been removed. Can we remove the symbols?
|
|
39
|
-
|
|
40
|
-
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
41
|
-
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
42
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
43
|
-
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
44
|
-
var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
|
|
45
|
-
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
46
|
-
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
47
|
-
var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
|
48
|
-
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
|
|
49
|
-
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
|
|
50
|
-
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
|
51
|
-
|
|
52
|
-
function isValidElementType(type) {
|
|
53
|
-
return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
54
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
function typeOf(object) {
|
|
58
|
-
if (typeof object === 'object' && object !== null) {
|
|
59
|
-
var $$typeof = object.$$typeof;
|
|
60
|
-
|
|
61
|
-
switch ($$typeof) {
|
|
62
|
-
case REACT_ELEMENT_TYPE:
|
|
63
|
-
var type = object.type;
|
|
64
|
-
|
|
65
|
-
switch (type) {
|
|
66
|
-
case REACT_ASYNC_MODE_TYPE:
|
|
67
|
-
case REACT_CONCURRENT_MODE_TYPE:
|
|
68
|
-
case REACT_FRAGMENT_TYPE:
|
|
69
|
-
case REACT_PROFILER_TYPE:
|
|
70
|
-
case REACT_STRICT_MODE_TYPE:
|
|
71
|
-
case REACT_SUSPENSE_TYPE:
|
|
72
|
-
return type;
|
|
73
|
-
|
|
74
|
-
default:
|
|
75
|
-
var $$typeofType = type && type.$$typeof;
|
|
76
|
-
|
|
77
|
-
switch ($$typeofType) {
|
|
78
|
-
case REACT_CONTEXT_TYPE:
|
|
79
|
-
case REACT_FORWARD_REF_TYPE:
|
|
80
|
-
case REACT_LAZY_TYPE:
|
|
81
|
-
case REACT_MEMO_TYPE:
|
|
82
|
-
case REACT_PROVIDER_TYPE:
|
|
83
|
-
return $$typeofType;
|
|
84
|
-
|
|
85
|
-
default:
|
|
86
|
-
return $$typeof;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
case REACT_PORTAL_TYPE:
|
|
92
|
-
return $$typeof;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return undefined;
|
|
97
|
-
} // AsyncMode is deprecated along with isAsyncMode
|
|
98
|
-
|
|
99
|
-
var AsyncMode = REACT_ASYNC_MODE_TYPE;
|
|
100
|
-
var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
101
|
-
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
102
|
-
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
103
|
-
var Element = REACT_ELEMENT_TYPE;
|
|
104
|
-
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
105
|
-
var Fragment = REACT_FRAGMENT_TYPE;
|
|
106
|
-
var Lazy = REACT_LAZY_TYPE;
|
|
107
|
-
var Memo = REACT_MEMO_TYPE;
|
|
108
|
-
var Portal = REACT_PORTAL_TYPE;
|
|
109
|
-
var Profiler = REACT_PROFILER_TYPE;
|
|
110
|
-
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
111
|
-
var Suspense = REACT_SUSPENSE_TYPE;
|
|
112
|
-
var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
|
|
113
|
-
|
|
114
|
-
function isAsyncMode(object) {
|
|
115
|
-
{
|
|
116
|
-
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
117
|
-
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
118
|
-
|
|
119
|
-
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
|
|
124
|
-
}
|
|
125
|
-
function isConcurrentMode(object) {
|
|
126
|
-
return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
|
|
127
|
-
}
|
|
128
|
-
function isContextConsumer(object) {
|
|
129
|
-
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
130
|
-
}
|
|
131
|
-
function isContextProvider(object) {
|
|
132
|
-
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
133
|
-
}
|
|
134
|
-
function isElement(object) {
|
|
135
|
-
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
136
|
-
}
|
|
137
|
-
function isForwardRef(object) {
|
|
138
|
-
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
139
|
-
}
|
|
140
|
-
function isFragment(object) {
|
|
141
|
-
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
142
|
-
}
|
|
143
|
-
function isLazy(object) {
|
|
144
|
-
return typeOf(object) === REACT_LAZY_TYPE;
|
|
145
|
-
}
|
|
146
|
-
function isMemo(object) {
|
|
147
|
-
return typeOf(object) === REACT_MEMO_TYPE;
|
|
148
|
-
}
|
|
149
|
-
function isPortal(object) {
|
|
150
|
-
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
151
|
-
}
|
|
152
|
-
function isProfiler(object) {
|
|
153
|
-
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
154
|
-
}
|
|
155
|
-
function isStrictMode(object) {
|
|
156
|
-
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
157
|
-
}
|
|
158
|
-
function isSuspense(object) {
|
|
159
|
-
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
reactIs_development.AsyncMode = AsyncMode;
|
|
163
|
-
reactIs_development.ConcurrentMode = ConcurrentMode;
|
|
164
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
165
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
166
|
-
reactIs_development.Element = Element;
|
|
167
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
168
|
-
reactIs_development.Fragment = Fragment;
|
|
169
|
-
reactIs_development.Lazy = Lazy;
|
|
170
|
-
reactIs_development.Memo = Memo;
|
|
171
|
-
reactIs_development.Portal = Portal;
|
|
172
|
-
reactIs_development.Profiler = Profiler;
|
|
173
|
-
reactIs_development.StrictMode = StrictMode;
|
|
174
|
-
reactIs_development.Suspense = Suspense;
|
|
175
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
176
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
177
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
178
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
179
|
-
reactIs_development.isElement = isElement;
|
|
180
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
181
|
-
reactIs_development.isFragment = isFragment;
|
|
182
|
-
reactIs_development.isLazy = isLazy;
|
|
183
|
-
reactIs_development.isMemo = isMemo;
|
|
184
|
-
reactIs_development.isPortal = isPortal;
|
|
185
|
-
reactIs_development.isProfiler = isProfiler;
|
|
186
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
187
|
-
reactIs_development.isSuspense = isSuspense;
|
|
188
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
189
|
-
reactIs_development.typeOf = typeOf;
|
|
190
|
-
})();
|
|
191
|
-
}
|
|
192
|
-
return reactIs_development;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
export { requireReactIs_development as __require };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* amis-ui v3.1.1
|
|
3
|
-
* Copyright 2018-2023 fex
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { __exports as reactIs_production_min } from '../../../../../_virtual/react-is.production.min.js';
|
|
7
|
-
|
|
8
|
-
/** @license React v16.13.1
|
|
9
|
-
* react-is.production.min.js
|
|
10
|
-
*
|
|
11
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the MIT license found in the
|
|
14
|
-
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
var hasRequiredReactIs_production_min;
|
|
18
|
-
|
|
19
|
-
function requireReactIs_production_min () {
|
|
20
|
-
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
21
|
-
hasRequiredReactIs_production_min = 1;
|
|
22
|
-
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
|
23
|
-
Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
|
24
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
|
|
25
|
-
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
|
26
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
|
27
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
|
28
|
-
return reactIs_production_min;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { requireReactIs_production_min as __require };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* amis-ui v3.1.1
|
|
3
|
-
* Copyright 2018-2023 fex
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import { r as reactIs } from '../../../../_virtual/index.js';
|
|
7
|
-
import { __require as requireReactIs_production_min } from './cjs/react-is.production.min.js';
|
|
8
|
-
import { __require as requireReactIs_development } from './cjs/react-is.development.js';
|
|
9
|
-
|
|
10
|
-
(function (module) {
|
|
11
|
-
|
|
12
|
-
if (process.env.NODE_ENV === 'production') {
|
|
13
|
-
module.exports = requireReactIs_production_min();
|
|
14
|
-
} else {
|
|
15
|
-
module.exports = requireReactIs_development();
|
|
16
|
-
}
|
|
17
|
-
} (reactIs));
|
package/lib/_virtual/index.js
DELETED