amis-ui 2.1.1-beta.2 → 2.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.d.ts +33 -1
- package/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +494 -2
- package/esm/components/Alert.js +1 -1
- package/esm/components/Alert2.d.ts +33 -1
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.d.ts +67 -3
- package/esm/components/AnchorNav.js +9 -9
- package/esm/components/ArrayInput.d.ts +574 -2
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.d.ts +83 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.d.ts +454 -2
- package/esm/components/AssociatedSelection.js +3 -3
- package/esm/components/Avatar.d.ts +33 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.d.ts +54 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.d.ts +33 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.d.ts +33 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.d.ts +33 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.d.ts +33 -1
- package/esm/components/Button.js +4 -5
- package/esm/components/CalendarMobile.d.ts +254 -2
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.d.ts +33 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.d.ts +33 -1
- package/esm/components/Cascader.js +3 -9
- package/esm/components/ChainedSelection.d.ts +454 -2
- package/esm/components/ChainedSelection.js +7 -5
- package/esm/components/Checkbox.d.ts +33 -1
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.d.ts +254 -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 +33 -1
- package/esm/components/Collapse.js +1 -1
- package/esm/components/CollapseGroup.d.ts +33 -1
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.d.ts +454 -2
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/ContextMenu.d.ts +33 -1
- package/esm/components/ContextMenu.js +1 -1
- package/esm/components/DatePicker.d.ts +495 -2
- package/esm/components/DatePicker.js +3 -3
- package/esm/components/DateRangePicker.d.ts +787 -2
- package/esm/components/DateRangePicker.js +107 -37
- package/esm/components/Drawer.d.ts +33 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/Editor.d.ts +541 -3
- package/esm/components/Editor.js +9 -8
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.d.ts +254 -2
- package/esm/components/FormField.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.d.ts +455 -3
- package/esm/components/GroupedSelection.js +12 -5
- package/esm/components/Html.d.ts +53 -1
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +261 -2
- package/esm/components/ImageGallery.js +18 -6
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.d.ts +63 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.d.ts +254 -2
- package/esm/components/InputBoxWithSuggestion.js +1 -1
- package/esm/components/Layout.d.ts +93 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.d.ts +33 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +53 -1
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.d.ts +534 -2
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.d.ts +374 -2
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.d.ts +1200 -8
- package/esm/components/Modal.js +8 -3
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MonthRangePicker.d.ts +654 -2
- package/esm/components/NumberInput.d.ts +42 -1
- package/esm/components/NumberInput.js +39 -10
- package/esm/components/Pagination.d.ts +543 -2
- package/esm/components/Pagination.js +3 -3
- package/esm/components/Picker.d.ts +254 -2
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.d.ts +33 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.d.ts +254 -2
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.d.ts +1 -0
- package/esm/components/PopOverContainer.js +3 -3
- package/esm/components/PopUp.d.ts +534 -2
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.d.ts +39 -1
- package/esm/components/Progress.js +20 -2
- package/esm/components/PullRefresh.d.ts +33 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.d.ts +123 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.d.ts +33 -1
- package/esm/components/Range.js +7 -4
- package/esm/components/Rating.d.ts +173 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.d.ts +254 -2
- package/esm/components/ResultBox.js +1 -1
- package/esm/components/ResultList.d.ts +259 -4
- package/esm/components/ResultList.js +10 -8
- package/esm/components/ResultTableList.d.ts +655 -2
- package/esm/components/ResultTableList.js +3 -3
- package/esm/components/ResultTreeList.d.ts +255 -2
- package/esm/components/ResultTreeList.js +4 -4
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.d.ts +497 -2
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.d.ts +6201 -56
- package/esm/components/Select.js +1 -1
- package/esm/components/Selection.d.ts +456 -2
- package/esm/components/Selection.js +6 -3
- package/esm/components/SparkLine.d.ts +374 -2
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.d.ts +145 -1
- package/esm/components/Spinner.js +111 -23
- package/esm/components/Steps.d.ts +33 -1
- package/esm/components/Steps.js +1 -1
- package/esm/components/Switch.d.ts +63 -1
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.d.ts +654 -2
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.d.ts +239 -7
- package/esm/components/Tabs.js +39 -9
- package/esm/components/TabsTransfer.d.ts +254 -2
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.d.ts +254 -2
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.d.ts +66 -2
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.d.ts +494 -2
- package/esm/components/Textarea.js +2 -2
- package/esm/components/Timeline.d.ts +33 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.d.ts +254 -2
- package/esm/components/TimelineItem.js +2 -2
- package/esm/components/Tinymce.js +2 -2
- package/esm/components/TitleBar.d.ts +83 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.d.ts +254 -2
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.d.ts +33 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.d.ts +33 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.d.ts +1050 -6
- package/esm/components/Transfer.js +12 -12
- package/esm/components/TransferDropDown.d.ts +254 -2
- package/esm/components/TransferDropDown.js +4 -4
- package/esm/components/TransferPicker.d.ts +254 -2
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.d.ts +254 -4
- package/esm/components/TransferSearch.js +2 -8
- package/esm/components/Tree.d.ts +1534 -2
- package/esm/components/Tree.js +3 -2
- package/esm/components/TreeSelection.d.ts +494 -2
- package/esm/components/TreeSelection.js +1 -1
- package/esm/components/UserSelect.d.ts +419 -3
- package/esm/components/UserSelect.js +87 -28
- package/esm/components/UserTabSelect.d.ts +258 -5
- package/esm/components/UserTabSelect.js +64 -18
- package/esm/components/WithRemoteConfig.d.ts +260 -4
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.d.ts +63 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.d.ts +1 -0
- package/esm/components/calendar/Calendar.js +5 -2
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.d.ts +64 -2
- package/esm/components/calendar/DaysView.js +53 -24
- package/esm/components/calendar/MonthsView.d.ts +63 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.d.ts +63 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.d.ts +63 -2
- package/esm/components/calendar/TimeView.js +5 -6
- package/esm/components/calendar/YearsView.d.ts +63 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.d.ts +255 -2
- package/esm/components/condition-builder/Expression.js +3 -3
- package/esm/components/condition-builder/Field.d.ts +256 -3
- package/esm/components/condition-builder/Field.js +9 -5
- package/esm/components/condition-builder/Formula.d.ts +254 -2
- package/esm/components/condition-builder/Formula.js +1 -1
- package/esm/components/condition-builder/Func.d.ts +254 -2
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.d.ts +255 -2
- package/esm/components/condition-builder/Group.js +3 -3
- package/esm/components/condition-builder/GroupOrItem.d.ts +34 -1
- package/esm/components/condition-builder/GroupOrItem.js +3 -3
- package/esm/components/condition-builder/InputSwitch.d.ts +33 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.d.ts +255 -2
- package/esm/components/condition-builder/Item.js +3 -3
- package/esm/components/condition-builder/Value.d.ts +254 -2
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.d.ts +255 -2
- package/esm/components/condition-builder/index.js +3 -3
- package/esm/components/formula/Editor.d.ts +256 -2
- package/esm/components/formula/Editor.js +17 -6
- package/esm/components/formula/FuncList.d.ts +33 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Picker.d.ts +357 -4
- package/esm/components/formula/Picker.js +30 -8
- package/esm/components/formula/VariableList.d.ts +33 -1
- package/esm/components/formula/VariableList.js +1 -1
- package/esm/components/formula/plugin.d.ts +1 -1
- package/esm/components/formula/plugin.js +6 -4
- package/esm/components/icons.js +1 -1
- package/esm/components/json-schema/Array.d.ts +1 -0
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.d.ts +1 -0
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.d.ts +1 -0
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.d.ts +254 -2
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/schema-editor/Array.d.ts +1 -0
- 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.d.ts +1 -0
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.d.ts +164 -2
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.d.ts +164 -2
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.d.ts +263 -2
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.d.ts +456 -3
- package/esm/components/table/Cell.js +1 -1
- package/esm/components/table/HeadCellDropDown.d.ts +257 -3
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.d.ts +377 -4
- package/esm/components/table/HeadCellFilter.js +4 -4
- package/esm/components/table/HeadCellSelect.d.ts +337 -4
- package/esm/components/table/HeadCellSelect.js +4 -2
- package/esm/components/table/HeadCellSort.d.ts +258 -5
- package/esm/components/table/HeadCellSort.js +6 -6
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +586 -9
- package/esm/components/table/index.js +106 -59
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.d.ts +3 -3
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.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-circle.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 +1 -1
- package/esm/icons/status-fail.svg.js +1 -1
- package/esm/icons/status-info.svg.js +1 -1
- package/esm/icons/status-success.svg.js +1 -1
- package/esm/icons/status-warning.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 +26 -6
- package/esm/locale/en-US.js +22 -3
- package/esm/locale/zh-CN.js +24 -7
- 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.d.ts +33 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +494 -2
- package/lib/components/Alert.js +1 -1
- package/lib/components/Alert2.d.ts +33 -1
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +67 -3
- package/lib/components/AnchorNav.js +9 -9
- package/lib/components/ArrayInput.d.ts +574 -2
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.d.ts +83 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +454 -2
- package/lib/components/AssociatedSelection.js +3 -3
- package/lib/components/Avatar.d.ts +33 -1
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.d.ts +54 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.d.ts +33 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.d.ts +33 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.d.ts +33 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +33 -1
- package/lib/components/Button.js +4 -5
- package/lib/components/CalendarMobile.d.ts +254 -2
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +33 -1
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.d.ts +33 -1
- package/lib/components/Cascader.js +3 -9
- package/lib/components/ChainedSelection.d.ts +454 -2
- package/lib/components/ChainedSelection.js +7 -5
- package/lib/components/Checkbox.d.ts +33 -1
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.d.ts +254 -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 +33 -1
- package/lib/components/Collapse.js +1 -1
- package/lib/components/CollapseGroup.d.ts +33 -1
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +454 -2
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/ContextMenu.d.ts +33 -1
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/DatePicker.d.ts +495 -2
- package/lib/components/DatePicker.js +3 -3
- package/lib/components/DateRangePicker.d.ts +787 -2
- package/lib/components/DateRangePicker.js +108 -36
- package/lib/components/Drawer.d.ts +33 -1
- package/lib/components/Drawer.js +1 -1
- package/lib/components/Editor.d.ts +541 -3
- package/lib/components/Editor.js +9 -9
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.d.ts +254 -2
- package/lib/components/FormField.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +455 -3
- package/lib/components/GroupedSelection.js +12 -5
- package/lib/components/Html.d.ts +53 -1
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +261 -2
- package/lib/components/ImageGallery.js +18 -6
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +63 -1
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.d.ts +254 -2
- package/lib/components/InputBoxWithSuggestion.js +1 -1
- package/lib/components/Layout.d.ts +93 -1
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.d.ts +33 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +53 -1
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +534 -2
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +374 -2
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +1200 -8
- package/lib/components/Modal.js +8 -3
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +654 -2
- package/lib/components/NumberInput.d.ts +42 -1
- package/lib/components/NumberInput.js +39 -10
- package/lib/components/Pagination.d.ts +543 -2
- package/lib/components/Pagination.js +3 -3
- package/lib/components/Picker.d.ts +254 -2
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.d.ts +33 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.d.ts +254 -2
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.d.ts +1 -0
- package/lib/components/PopOverContainer.js +3 -3
- package/lib/components/PopUp.d.ts +534 -2
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +39 -1
- package/lib/components/Progress.js +20 -2
- package/lib/components/PullRefresh.d.ts +33 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +123 -1
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.d.ts +33 -1
- package/lib/components/Range.js +7 -4
- package/lib/components/Rating.d.ts +173 -1
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +254 -2
- package/lib/components/ResultBox.js +1 -1
- package/lib/components/ResultList.d.ts +259 -4
- package/lib/components/ResultList.js +10 -8
- package/lib/components/ResultTableList.d.ts +655 -2
- package/lib/components/ResultTableList.js +3 -3
- package/lib/components/ResultTreeList.d.ts +255 -2
- package/lib/components/ResultTreeList.js +4 -4
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +497 -2
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +6201 -56
- package/lib/components/Select.js +1 -1
- package/lib/components/Selection.d.ts +456 -2
- package/lib/components/Selection.js +6 -3
- package/lib/components/SparkLine.d.ts +374 -2
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +145 -1
- package/lib/components/Spinner.js +111 -23
- package/lib/components/Steps.d.ts +33 -1
- package/lib/components/Steps.js +1 -1
- package/lib/components/Switch.d.ts +63 -1
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +654 -2
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +239 -7
- package/lib/components/Tabs.js +39 -9
- package/lib/components/TabsTransfer.d.ts +254 -2
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.d.ts +254 -2
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +66 -2
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +494 -2
- package/lib/components/Textarea.js +2 -2
- package/lib/components/Timeline.d.ts +33 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.d.ts +254 -2
- package/lib/components/TimelineItem.js +2 -2
- package/lib/components/Tinymce.js +2 -2
- package/lib/components/TitleBar.d.ts +83 -1
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +254 -2
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.d.ts +33 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +33 -1
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +1050 -6
- package/lib/components/Transfer.js +12 -12
- package/lib/components/TransferDropDown.d.ts +254 -2
- package/lib/components/TransferDropDown.js +4 -4
- package/lib/components/TransferPicker.d.ts +254 -2
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.d.ts +254 -4
- package/lib/components/TransferSearch.js +2 -8
- package/lib/components/Tree.d.ts +1534 -2
- package/lib/components/Tree.js +3 -2
- package/lib/components/TreeSelection.d.ts +494 -2
- package/lib/components/TreeSelection.js +1 -1
- package/lib/components/UserSelect.d.ts +419 -3
- package/lib/components/UserSelect.js +86 -27
- package/lib/components/UserTabSelect.d.ts +258 -5
- package/lib/components/UserTabSelect.js +64 -18
- package/lib/components/WithRemoteConfig.d.ts +260 -4
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.d.ts +63 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.d.ts +1 -0
- package/lib/components/calendar/Calendar.js +5 -2
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.d.ts +64 -2
- package/lib/components/calendar/DaysView.js +57 -24
- package/lib/components/calendar/MonthsView.d.ts +63 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.d.ts +63 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.d.ts +63 -2
- package/lib/components/calendar/TimeView.js +5 -6
- package/lib/components/calendar/YearsView.d.ts +63 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.d.ts +255 -2
- package/lib/components/condition-builder/Expression.js +3 -3
- package/lib/components/condition-builder/Field.d.ts +256 -3
- package/lib/components/condition-builder/Field.js +9 -5
- package/lib/components/condition-builder/Formula.d.ts +254 -2
- package/lib/components/condition-builder/Formula.js +1 -1
- package/lib/components/condition-builder/Func.d.ts +254 -2
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.d.ts +255 -2
- package/lib/components/condition-builder/Group.js +3 -3
- package/lib/components/condition-builder/GroupOrItem.d.ts +34 -1
- package/lib/components/condition-builder/GroupOrItem.js +3 -3
- package/lib/components/condition-builder/InputSwitch.d.ts +33 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.d.ts +255 -2
- package/lib/components/condition-builder/Item.js +3 -3
- package/lib/components/condition-builder/Value.d.ts +254 -2
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.d.ts +255 -2
- package/lib/components/condition-builder/index.js +3 -3
- package/lib/components/formula/Editor.d.ts +256 -2
- package/lib/components/formula/Editor.js +17 -6
- package/lib/components/formula/FuncList.d.ts +33 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Picker.d.ts +357 -4
- package/lib/components/formula/Picker.js +30 -8
- package/lib/components/formula/VariableList.d.ts +33 -1
- package/lib/components/formula/VariableList.js +1 -1
- package/lib/components/formula/plugin.d.ts +1 -1
- package/lib/components/formula/plugin.js +6 -4
- package/lib/components/icons.js +1 -1
- package/lib/components/json-schema/Array.d.ts +1 -0
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.d.ts +1 -0
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.d.ts +1 -0
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.d.ts +254 -2
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/schema-editor/Array.d.ts +1 -0
- 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.d.ts +1 -0
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.d.ts +164 -2
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +164 -2
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +263 -2
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +456 -3
- package/lib/components/table/Cell.js +1 -1
- package/lib/components/table/HeadCellDropDown.d.ts +257 -3
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +377 -4
- package/lib/components/table/HeadCellFilter.js +4 -4
- package/lib/components/table/HeadCellSelect.d.ts +337 -4
- package/lib/components/table/HeadCellSelect.js +4 -2
- package/lib/components/table/HeadCellSort.d.ts +258 -5
- package/lib/components/table/HeadCellSort.js +6 -6
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +586 -9
- package/lib/components/table/index.js +106 -59
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.d.ts +3 -3
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/helper.css +0 -39
- package/lib/hooks/use-set-state.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-circle.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 +1 -1
- package/lib/icons/status-fail.svg.js +1 -1
- package/lib/icons/status-info.svg.js +1 -1
- package/lib/icons/status-success.svg.js +1 -1
- package/lib/icons/status-warning.svg.js +1 -1
- 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.js +1 -1
- package/lib/locale/de-DE.js +26 -6
- package/lib/locale/en-US.js +22 -3
- package/lib/locale/zh-CN.js +24 -7
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +9368 -5984
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +9483 -6105
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +9383 -6000
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +9458 -6073
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +9383 -6000
- package/package.json +26 -24
- package/scss/_mixins.scss +10 -0
- package/scss/_properties.scss +5 -2
- package/scss/_thirds.scss +6 -6
- package/scss/components/_anchor-nav.scss +9 -2
- package/scss/components/_collapse.scss +4 -4
- package/scss/components/_column-toggler.scss +7 -1
- package/scss/components/_drawer.scss +58 -5
- package/scss/components/_dropdown.scss +1 -0
- package/scss/components/_modal.scss +2 -7
- package/scss/components/_progress.scss +13 -0
- package/scss/components/_result-box.scss +0 -1
- package/scss/components/_spinner.scss +6 -0
- package/scss/components/_table.scss +42 -7
- package/scss/components/{_table-v2.scss → _table2.scss} +1 -1
- package/scss/components/_tabs.scss +53 -9
- package/scss/components/form/_date-range.scss +16 -2
- package/scss/components/form/_date.scss +4 -2
- package/scss/components/form/_editor.scss +11 -0
- package/scss/components/form/_fieldset.scss +20 -0
- package/scss/components/form/_form.scss +6 -2
- package/scss/components/form/_input-group.scss +5 -0
- package/scss/components/form/_select.scss +0 -2
- package/scss/components/form/_selection.scss +6 -1
- package/scss/components/form/_textarea.scss +4 -2
- package/scss/components/form/_transfer.scss +32 -7
- package/scss/components/form/_tree.scss +8 -9
- package/scss/components/form/_user-select.scss +35 -2
- package/scss/themes/_antd-variables.scss +4 -2
- package/scss/themes/_common.scss +1 -1
- package/scss/themes/_cxd-variables.scss +5 -1
- package/scss/themes/_dark-variables.scss +3 -0
- package/scss/themes/cxd.scss +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-ui v2.
|
|
2
|
+
* amis-ui v2.3.0
|
|
3
3
|
* Copyright 2018-2022 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -238,13 +238,14 @@ var Table = /** @class */ (function (_super) {
|
|
|
238
238
|
};
|
|
239
239
|
Table.prototype.componentDidMount = function () {
|
|
240
240
|
var _this = this;
|
|
241
|
-
var _a, _b;
|
|
241
|
+
var _a, _b, _c, _d;
|
|
242
|
+
(_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.onRef) === null || _b === void 0 ? void 0 : _b.call(_a, this);
|
|
242
243
|
if (this.props.loading) {
|
|
243
244
|
return;
|
|
244
245
|
}
|
|
245
246
|
this.updateTableFixedRows();
|
|
246
|
-
var current = (
|
|
247
|
-
if ((
|
|
247
|
+
var current = (_c = this.contentDom) === null || _c === void 0 ? void 0 : _c.current;
|
|
248
|
+
if ((_d = this.headerDom) === null || _d === void 0 ? void 0 : _d.current) {
|
|
248
249
|
// overflow设置为hidden的情况
|
|
249
250
|
var hiddenDomRefs = [this.headerDom, this.footDom];
|
|
250
251
|
hiddenDomRefs.forEach(function (ref) {
|
|
@@ -504,19 +505,25 @@ var Table = /** @class */ (function (_super) {
|
|
|
504
505
|
var _a = this.props, rowSelection = _a.rowSelection, cx = _a.classnames, expandable = _a.expandable, draggable = _a.draggable;
|
|
505
506
|
var tdColumns = this.tdColumns;
|
|
506
507
|
var isExpandable = this.isExpandableTable();
|
|
507
|
-
var extraCount = this.getExtraColumnCount();
|
|
508
|
+
var extraCount = this.getExtraColumnCount() - (this.isRightExpandable() ? 1 : 0);
|
|
509
|
+
var isLeftExpandable = this.isLeftExpandable();
|
|
510
|
+
var isRightExpandable = this.isRightExpandable();
|
|
511
|
+
var expandableCol = !draggable && isExpandable ? (React__default["default"].createElement("col", { className: cx('Table-expand-col'), style: {
|
|
512
|
+
width: ((expandable === null || expandable === void 0 ? void 0 : expandable.columnWidth) || DefaultCellWidth) + 'px'
|
|
513
|
+
} })) : null;
|
|
508
514
|
return (React__default["default"].createElement("colgroup", null,
|
|
509
515
|
draggable ? (React__default["default"].createElement("col", { className: cx('Table-drag-col'), style: { width: DefaultCellWidth + 'px' } })) : null,
|
|
510
516
|
!draggable && rowSelection ? (React__default["default"].createElement("col", { className: cx('Table-selection-col'), style: {
|
|
511
517
|
width: (rowSelection.columnWidth || DefaultCellWidth) + 'px'
|
|
512
518
|
} })) : null,
|
|
513
|
-
|
|
514
|
-
width: ((expandable === null || expandable === void 0 ? void 0 : expandable.columnWidth) || DefaultCellWidth) + 'px'
|
|
515
|
-
} })) : null,
|
|
519
|
+
isLeftExpandable ? expandableCol : null,
|
|
516
520
|
tdColumns.map(function (data, index) {
|
|
517
|
-
var width = colWidths
|
|
521
|
+
var width = colWidths
|
|
522
|
+
? colWidths[index + extraCount - (isRightExpandable ? 1 : 0)]
|
|
523
|
+
: data.width;
|
|
518
524
|
return (React__default["default"].createElement("col", { key: index, style: { width: typeof width === 'number' ? width + 'px' : width }, className: data.className ? cx("Table-colgroup-".concat(data.className)) : '' }));
|
|
519
|
-
})
|
|
525
|
+
}),
|
|
526
|
+
isRightExpandable ? expandableCol : null));
|
|
520
527
|
};
|
|
521
528
|
Table.prototype.onResizeMouseDown = function (event, index) {
|
|
522
529
|
var _a;
|
|
@@ -593,16 +600,22 @@ var Table = /** @class */ (function (_super) {
|
|
|
593
600
|
})
|
|
594
601
|
: this.state.dataSource;
|
|
595
602
|
var isExpandable = this.isExpandableTable();
|
|
603
|
+
var isLeftExpandable = this.isLeftExpandable();
|
|
604
|
+
var isRightExpandable = this.isRightExpandable();
|
|
605
|
+
var expandableCell = !draggable && isExpandable ? (React__default["default"].createElement(Cell["default"], { wrapperComponent: "th", rowSpan: thColumns.length, fixed: expandable && expandable.fixed ? 'left' : '', className: cx('Table-row-expand-icon-cell') })) : null;
|
|
596
606
|
var allRowKeys = [];
|
|
597
607
|
var allRows = [];
|
|
608
|
+
var maxSelectedLength = rowSelection === null || rowSelection === void 0 ? void 0 : rowSelection.maxSelectedLength;
|
|
598
609
|
dataList.forEach(function (data) {
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
610
|
+
if (!!maxSelectedLength && allRows.length < maxSelectedLength) {
|
|
611
|
+
allRowKeys.push(data[keyField]);
|
|
612
|
+
allRows.push(data);
|
|
613
|
+
if (!expandable && _this.hasChildrenRow(data)) {
|
|
614
|
+
allRowKeys = tslib.__spreadArray(tslib.__spreadArray([], allRowKeys, true), _this.getDataChildrenKeys(data), true);
|
|
615
|
+
data[_this.getChildrenColumnName()].forEach(function (item) {
|
|
616
|
+
return allRows.push(item);
|
|
617
|
+
});
|
|
618
|
+
}
|
|
606
619
|
}
|
|
607
620
|
});
|
|
608
621
|
return (React__default["default"].createElement("thead", { ref: this.theadDom, className: cx('Table-thead') }, thColumns.map(function (data, index) {
|
|
@@ -613,21 +626,21 @@ var Table = /** @class */ (function (_super) {
|
|
|
613
626
|
React__default["default"].createElement(Checkbox["default"], { key: "checkAll", partial: _this.state.selectedRowKeys.length > 0 &&
|
|
614
627
|
_this.state.selectedRowKeys.length <
|
|
615
628
|
allRowKeys.length, checked: _this.state.selectedRowKeys.length > 0, onChange: function (value) { return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
616
|
-
var
|
|
629
|
+
var selectedRows, selectedRowKeys, prevented;
|
|
617
630
|
var _this = this;
|
|
618
631
|
return tslib.__generator(this, function (_a) {
|
|
619
632
|
switch (_a.label) {
|
|
620
633
|
case 0:
|
|
621
634
|
if (value) {
|
|
622
|
-
|
|
635
|
+
dataList.filter(function (data) { return !_this.hasCheckedRows(data); });
|
|
623
636
|
}
|
|
624
637
|
else {
|
|
625
|
-
|
|
638
|
+
this.selectedRows;
|
|
626
639
|
}
|
|
627
640
|
selectedRows = value ? allRows : [];
|
|
628
641
|
selectedRowKeys = value ? allRowKeys : [];
|
|
629
642
|
if (!onSelectAll) return [3 /*break*/, 2];
|
|
630
|
-
return [4 /*yield*/, onSelectAll(selectedRows, value ? [] : selectedRows
|
|
643
|
+
return [4 /*yield*/, onSelectAll(selectedRows, value ? selectedRowKeys : [], value ? [] : selectedRows)];
|
|
631
644
|
case 1:
|
|
632
645
|
prevented = _a.sent();
|
|
633
646
|
if (prevented) {
|
|
@@ -644,7 +657,7 @@ var Table = /** @class */ (function (_super) {
|
|
|
644
657
|
rowSelection.selections.length > 0 ? (React__default["default"].createElement(HeadCellSelect["default"], { key: "checkSelection", keys: allRowKeys, selections: rowSelection.selections, popOverContainer: _this.getPopOverContainer })) : null
|
|
645
658
|
]
|
|
646
659
|
: null)) : null,
|
|
647
|
-
|
|
660
|
+
isLeftExpandable && index === 0 ? expandableCell : null,
|
|
648
661
|
data.map(function (item, i) {
|
|
649
662
|
var _a, _b;
|
|
650
663
|
var sort = null;
|
|
@@ -674,13 +687,13 @@ var Table = /** @class */ (function (_super) {
|
|
|
674
687
|
}
|
|
675
688
|
// th的最后一行才可调整列宽
|
|
676
689
|
// 分组情况下 最后一行才和列配置个数对应
|
|
677
|
-
// 就可以根据index找到col 不依赖
|
|
690
|
+
// 就可以根据index找到col 不依赖name
|
|
678
691
|
var noChildren = !((_a = item.children) === null || _a === void 0 ? void 0 : _a.length);
|
|
679
692
|
var cIndex = -1;
|
|
680
693
|
if (noChildren) {
|
|
681
|
-
// 根据
|
|
682
|
-
// 没设置
|
|
683
|
-
cIndex = tdColumns.findIndex(function (c) { return c.
|
|
694
|
+
// 根据name去tdColumns匹配出index
|
|
695
|
+
// 没设置name的 那一定不是要绑定数据的列 一般都是分组的上层 也不会出现调整列宽
|
|
696
|
+
cIndex = tdColumns.findIndex(function (c) { return c.name === item.name; });
|
|
684
697
|
}
|
|
685
698
|
var children = !((_b = item.children) === null || _b === void 0 ? void 0 : _b.length) ? (React__default["default"].createElement("span", null,
|
|
686
699
|
sort,
|
|
@@ -691,7 +704,8 @@ var Table = /** @class */ (function (_super) {
|
|
|
691
704
|
}), groupId: item.groupId, depth: item.depth }, typeof item.title === 'function'
|
|
692
705
|
? item.title(children)
|
|
693
706
|
: item.title));
|
|
694
|
-
})
|
|
707
|
+
}),
|
|
708
|
+
isRightExpandable && index === 0 ? expandableCell : null));
|
|
695
709
|
})));
|
|
696
710
|
};
|
|
697
711
|
Table.prototype.onRowClick = function (event, record, rowIndex) {
|
|
@@ -766,20 +780,24 @@ var Table = /** @class */ (function (_super) {
|
|
|
766
780
|
Table.prototype.onMouseLeave = function () {
|
|
767
781
|
this.setState({ hoverRow: null });
|
|
768
782
|
};
|
|
769
|
-
Table.prototype.
|
|
783
|
+
Table.prototype.onExpandRows = function (data) {
|
|
784
|
+
var _this = this;
|
|
770
785
|
var expandedRowKeys = this.state.expandedRowKeys;
|
|
771
786
|
var expandable = this.props.expandable;
|
|
772
|
-
var
|
|
773
|
-
this.setState({ expandedRowKeys: tslib.__spreadArray(tslib.__spreadArray([], expandedRowKeys, true),
|
|
787
|
+
var keys = data.map(function (d) { return d[_this.getExpandableKeyField()]; });
|
|
788
|
+
this.setState({ expandedRowKeys: tslib.__spreadArray(tslib.__spreadArray([], expandedRowKeys, true), keys, true) });
|
|
774
789
|
(expandable === null || expandable === void 0 ? void 0 : expandable.onExpand) && (expandable === null || expandable === void 0 ? void 0 : expandable.onExpand(true, data));
|
|
775
790
|
};
|
|
776
|
-
Table.prototype.
|
|
791
|
+
Table.prototype.onCollapseRows = function (data) {
|
|
792
|
+
var _this = this;
|
|
777
793
|
var expandedRowKeys = this.state.expandedRowKeys;
|
|
778
794
|
var expandable = this.props.expandable;
|
|
779
|
-
var
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
795
|
+
var keys = data.map(function (d) { return d[_this.getExpandableKeyField()]; });
|
|
796
|
+
this.setState({
|
|
797
|
+
expandedRowKeys: expandedRowKeys.filter(function (k) { return !keys.find(function (v) { return v == k; }); } // 模糊匹配 否则'3'、3匹配不上
|
|
798
|
+
)
|
|
799
|
+
});
|
|
800
|
+
(expandable === null || expandable === void 0 ? void 0 : expandable.onExpand) && (expandable === null || expandable === void 0 ? void 0 : expandable.onExpand(true, data));
|
|
783
801
|
};
|
|
784
802
|
Table.prototype.getChildrenColumnName = function () {
|
|
785
803
|
var childrenColumnName = this.props.childrenColumnName;
|
|
@@ -801,8 +819,8 @@ var Table = /** @class */ (function (_super) {
|
|
|
801
819
|
Table.prototype.isExpandableRow = function (data, rowIndex) {
|
|
802
820
|
var expandable = this.props.expandable;
|
|
803
821
|
return (expandable &&
|
|
804
|
-
expandable.rowExpandable
|
|
805
|
-
|
|
822
|
+
(!expandable.rowExpandable ||
|
|
823
|
+
(expandable.rowExpandable && expandable.rowExpandable(data, rowIndex))));
|
|
806
824
|
};
|
|
807
825
|
// 获取当前行数据所有子行的key值
|
|
808
826
|
Table.prototype.getDataChildrenKeys = function (data) {
|
|
@@ -831,10 +849,14 @@ var Table = /** @class */ (function (_super) {
|
|
|
831
849
|
var length = intersection__default["default"](selectedRowKeys, childrenKeys).length;
|
|
832
850
|
return length > 0;
|
|
833
851
|
};
|
|
834
|
-
Table.prototype.
|
|
852
|
+
Table.prototype.isExpanded = function (record) {
|
|
853
|
+
var _this = this;
|
|
854
|
+
return !!find__default["default"](this.state.expandedRowKeys, function (key) { return key == record[_this.getExpandableKeyField()]; }); // == 匹配 否则'3'、3匹配不上
|
|
855
|
+
};
|
|
856
|
+
Table.prototype.getExpandedIcons = function (record) {
|
|
835
857
|
var cx = this.props.classnames;
|
|
836
|
-
return isExpanded ? (React__default["default"].createElement("i", { className: cx('Table-expandBtn', 'is-active'), onClick: this.
|
|
837
|
-
React__default["default"].createElement(icons.Icon, { icon: "right-arrow-bold", className: "icon" }))) : (React__default["default"].createElement("i", { className: cx('Table-expandBtn'), onClick: this.
|
|
858
|
+
return this.isExpanded(record) ? (React__default["default"].createElement("i", { className: cx('Table-expandBtn', 'is-active'), onClick: this.onCollapseRows.bind(this, [record]) },
|
|
859
|
+
React__default["default"].createElement(icons.Icon, { icon: "right-arrow-bold", className: "icon" }))) : (React__default["default"].createElement("i", { className: cx('Table-expandBtn'), onClick: this.onExpandRows.bind(this, [record]) },
|
|
838
860
|
React__default["default"].createElement(icons.Icon, { icon: "right-arrow-bold", className: "icon" })));
|
|
839
861
|
};
|
|
840
862
|
Table.prototype.selectedSingleRow = function (value, data) {
|
|
@@ -889,11 +911,13 @@ var Table = /** @class */ (function (_super) {
|
|
|
889
911
|
var isExpandable = this.isExpandableTable();
|
|
890
912
|
var defaultKey = this.getRowSelectionKeyField();
|
|
891
913
|
var colCount = this.getExtraColumnCount();
|
|
914
|
+
var isLeftExpandable = this.isLeftExpandable();
|
|
915
|
+
var isRightExpandable = this.isRightExpandable();
|
|
892
916
|
// 当前行是否可展开
|
|
893
917
|
var isExpandableRow = this.isExpandableRow(data, rowIndex);
|
|
894
918
|
// 当前行是否有children
|
|
895
919
|
var hasChildrenRow = this.hasChildrenRow(data);
|
|
896
|
-
var isExpanded =
|
|
920
|
+
var isExpanded = this.isExpanded(data);
|
|
897
921
|
// 设置缩进效果
|
|
898
922
|
var indentDom = levels.length > 0 ? (React__default["default"].createElement("span", { className: cx('Table-row-indent', "indent-level-".concat(levels.length)), style: levels.length > 0
|
|
899
923
|
? { paddingLeft: indentSize * levels.length + 'px' }
|
|
@@ -901,7 +925,7 @@ var Table = /** @class */ (function (_super) {
|
|
|
901
925
|
var cells = tdColumns.map(function (item, i) {
|
|
902
926
|
var _a, _b;
|
|
903
927
|
var render = item.render && typeof item.render === 'function'
|
|
904
|
-
? item.render(data[item.
|
|
928
|
+
? item.render(data[item.name], data, rowIndex, i)
|
|
905
929
|
: null;
|
|
906
930
|
var props = { rowSpan: 1, colSpan: 1 };
|
|
907
931
|
var children = render;
|
|
@@ -925,10 +949,8 @@ var Table = /** @class */ (function (_super) {
|
|
|
925
949
|
_b[cx("Table-cell-height-".concat(lineHeight))] = !!lineHeight,
|
|
926
950
|
_b)) },
|
|
927
951
|
i === 0 && levels.length > 0 ? indentDom : null,
|
|
928
|
-
i === 0 && hasChildrenRow
|
|
929
|
-
|
|
930
|
-
: null,
|
|
931
|
-
render ? children : data[item.key])));
|
|
952
|
+
i === 0 && hasChildrenRow ? _this.getExpandedIcons(data) : null,
|
|
953
|
+
render ? children : data[item.name])));
|
|
932
954
|
});
|
|
933
955
|
var rowClassNameClass = rowClassName && typeof rowClassName === 'function'
|
|
934
956
|
? rowClassName(data, rowIndex)
|
|
@@ -956,6 +978,13 @@ var Table = /** @class */ (function (_super) {
|
|
|
956
978
|
var isChecked = !!find__default["default"](this.state.selectedRowKeys, function (key) { return key === data[defaultKey]; });
|
|
957
979
|
var hasChildrenChecked = this.hasCheckedChildrenRows(data);
|
|
958
980
|
var isRadio = rowSelection && rowSelection.type === 'radio';
|
|
981
|
+
var expandableCell = !draggable && isExpandable ? (React__default["default"].createElement(Cell["default"], { fixed: expandable && expandable.fixed
|
|
982
|
+
? isRightExpandable
|
|
983
|
+
? 'right'
|
|
984
|
+
: 'left'
|
|
985
|
+
: '', className: cx('Table-cell-expand-icon-cell') }, isExpandableRow || hasChildrenRow
|
|
986
|
+
? this.getExpandedIcons(data)
|
|
987
|
+
: null)) : null;
|
|
959
988
|
return [
|
|
960
989
|
React__default["default"].createElement("tr", { key: "".concat(data[keyField || 'key'] || rowIndex), "row-index": rowIndex, "row-levels": levels.join(','), className: cx('Table-row', "Table-row-level-".concat(levels.length), rowClassNameClass, {
|
|
961
990
|
'Table-row-disabled': !!checkboxProps.disabled
|
|
@@ -963,16 +992,15 @@ var Table = /** @class */ (function (_super) {
|
|
|
963
992
|
draggable ? (React__default["default"].createElement(Cell["default"], { className: cx('Table-dragCell') },
|
|
964
993
|
React__default["default"].createElement(icons.Icon, { icon: "drag-bar", className: "icon" }))) : null,
|
|
965
994
|
!draggable && rowSelection ? (React__default["default"].createElement(Cell["default"], { fixed: rowSelection.fixed ? 'left' : '', className: cx('Table-checkCell') },
|
|
966
|
-
React__default["default"].createElement(Checkbox["default"], tslib.__assign({ name: 'Table-checkbox', type: rowSelection.type || 'checkbox', partial: !isRadio && hasChildrenChecked && !isChecked, checked: isRadio ? isChecked : hasChildrenChecked || isChecked, onChange: function (value
|
|
995
|
+
React__default["default"].createElement(Checkbox["default"], tslib.__assign({ name: 'Table-checkbox', type: rowSelection.type || 'checkbox', partial: !isRadio && hasChildrenChecked && !isChecked, checked: isRadio ? isChecked : hasChildrenChecked || isChecked, onChange: function (value) {
|
|
967
996
|
if (!(rowSelection && rowSelection.rowClick)) {
|
|
968
997
|
_this.selectedSingleRow(value, data);
|
|
969
998
|
}
|
|
970
999
|
event && event.stopPropagation();
|
|
971
1000
|
} }, checkboxProps)))) : null,
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
cells),
|
|
1001
|
+
isLeftExpandable ? expandableCell : null,
|
|
1002
|
+
cells,
|
|
1003
|
+
isRightExpandable ? expandableCell : null),
|
|
976
1004
|
children
|
|
977
1005
|
];
|
|
978
1006
|
};
|
|
@@ -1000,19 +1028,31 @@ var Table = /** @class */ (function (_super) {
|
|
|
1000
1028
|
// 就不支持默认嵌套了
|
|
1001
1029
|
return !!expandable;
|
|
1002
1030
|
};
|
|
1031
|
+
// 展开列放到右侧 会影响之前的一些合并的规则
|
|
1032
|
+
Table.prototype.isRightExpandable = function () {
|
|
1033
|
+
var expandable = this.props.expandable;
|
|
1034
|
+
return expandable && expandable.position === 'right';
|
|
1035
|
+
};
|
|
1036
|
+
// 展开列放到左侧
|
|
1037
|
+
Table.prototype.isLeftExpandable = function () {
|
|
1038
|
+
var expandable = this.props.expandable;
|
|
1039
|
+
return (expandable && (!expandable.position || expandable.position === 'left'));
|
|
1040
|
+
};
|
|
1003
1041
|
Table.prototype.isNestedTable = function () {
|
|
1004
1042
|
var _this = this;
|
|
1005
1043
|
var dataSource = this.props.dataSource;
|
|
1006
1044
|
return !!find__default["default"](dataSource, function (item) { return _this.hasChildrenRow(item); });
|
|
1007
1045
|
};
|
|
1046
|
+
// 计算自动增加的列数
|
|
1047
|
+
// 选择、拖拽、展开
|
|
1008
1048
|
Table.prototype.getExtraColumnCount = function () {
|
|
1009
|
-
var _a = this.props, draggable = _a.draggable, rowSelection = _a.rowSelection;
|
|
1049
|
+
var _a = this.props, draggable = _a.draggable, rowSelection = _a.rowSelection, expandable = _a.expandable;
|
|
1010
1050
|
var count = 0;
|
|
1011
1051
|
if (draggable) {
|
|
1012
1052
|
count++;
|
|
1013
1053
|
}
|
|
1014
1054
|
else {
|
|
1015
|
-
if (this.isExpandableTable()) {
|
|
1055
|
+
if (this.isExpandableTable() && (expandable === null || expandable === void 0 ? void 0 : expandable.position) !== 'none') {
|
|
1016
1056
|
count++;
|
|
1017
1057
|
}
|
|
1018
1058
|
if (rowSelection) {
|
|
@@ -1027,17 +1067,26 @@ var Table = /** @class */ (function (_super) {
|
|
|
1027
1067
|
var cells = [];
|
|
1028
1068
|
var trs = [];
|
|
1029
1069
|
var colCount = this.getExtraColumnCount();
|
|
1070
|
+
var isRightExpandable = this.isRightExpandable() ? 1 : 0;
|
|
1030
1071
|
Array.isArray(summary)
|
|
1031
1072
|
? summary.forEach(function (s, index) {
|
|
1032
1073
|
Array.isArray(s)
|
|
1033
1074
|
? trs.push(React__default["default"].createElement("tr", { onMouseEnter: function (e) { return _this.onRowMouseEnter(e); }, onMouseLeave: function (e) { return _this.onRowMouseLeave(e); }, key: 'summary-tr-' + index, className: cx('Table-summary-row') }, s.map(function (d, i) {
|
|
1034
1075
|
// 将操作列自动添加到第一列,用户的colSpan只需要关心实际的列数
|
|
1035
|
-
var colSpan = i === 0
|
|
1076
|
+
var colSpan = i === 0
|
|
1077
|
+
? (d.colSpan || 1) + colCount - isRightExpandable
|
|
1078
|
+
: i === s.length - 1
|
|
1079
|
+
? (d.colSpan || 1) + isRightExpandable
|
|
1080
|
+
: d.colSpan;
|
|
1036
1081
|
return (React__default["default"].createElement(Cell["default"], { key: 'summary-tr-cell-' + i, fixed: d.fixed, colSpan: colSpan }, typeof d.render === 'function'
|
|
1037
1082
|
? d.render(dataSource)
|
|
1038
1083
|
: d.render));
|
|
1039
1084
|
})))
|
|
1040
|
-
: cells.push(React__default["default"].createElement(Cell["default"], { key: 'summary-cell-' + index, fixed: s.fixed, colSpan: cells.length === 0
|
|
1085
|
+
: cells.push(React__default["default"].createElement(Cell["default"], { key: 'summary-cell-' + index, fixed: s.fixed, colSpan: cells.length === 0
|
|
1086
|
+
? (s.colSpan || 1) + colCount - isRightExpandable
|
|
1087
|
+
: index === summary.length - 1
|
|
1088
|
+
? (s.colSpan || 1) + isRightExpandable
|
|
1089
|
+
: s.colSpan }, typeof s.render === 'function'
|
|
1041
1090
|
? s.render(dataSource)
|
|
1042
1091
|
: s.render));
|
|
1043
1092
|
})
|
|
@@ -1106,9 +1155,7 @@ var Table = /** @class */ (function (_super) {
|
|
|
1106
1155
|
// 设置了横向滚动轴 则table的table-layout为fixed
|
|
1107
1156
|
var hasScrollX = scroll && scroll.x;
|
|
1108
1157
|
var hoverRow = this.state.hoverRow;
|
|
1109
|
-
|
|
1110
|
-
var columnWidth = this.tdColumns.some(function (item) { return item.width; });
|
|
1111
|
-
var tableLayout = hasScrollX || columnWidth ? 'fixed' : 'auto';
|
|
1158
|
+
var tableLayout = hasScrollX ? 'fixed' : 'auto';
|
|
1112
1159
|
var tableStyle = hasScrollX ? { width: scroll.x + 'px' } : {};
|
|
1113
1160
|
return (React__default["default"].createElement("div", { ref: this.contentDom, className: cx('Table-content'), style: hasScrollX ? { overflow: 'auto hidden' } : {}, onMouseLeave: this.onMouseLeave.bind(this), onScroll: this.onTableContentScroll.bind(this) },
|
|
1114
1161
|
itemActions && hoverRow ? (React__default["default"].createElement(ItemActionsWrapper["default"], { dom: hoverRow.target, classnames: cx }, typeof itemActions === 'function'
|
|
@@ -1191,7 +1238,7 @@ var Table = /** @class */ (function (_super) {
|
|
|
1191
1238
|
var hasScrollY = scroll && scroll.y;
|
|
1192
1239
|
// 是否设置了横向滚动
|
|
1193
1240
|
var hasScrollX = scroll && scroll.x;
|
|
1194
|
-
return (React__default["default"].createElement("div", { ref: this.tableDom, className: cx('
|
|
1241
|
+
return (React__default["default"].createElement("div", { ref: this.tableDom, className: cx('Table2', className, (_a = {},
|
|
1195
1242
|
_a[cx('Table-scroll-horizontal')] = hasScrollX,
|
|
1196
1243
|
_a[cx("Table-".concat(size))] = size,
|
|
1197
1244
|
_a[cx('Table-bordered')] = bordered,
|
|
@@ -57,9 +57,9 @@ export default class VirtualList extends React.PureComponent<Props, State> {
|
|
|
57
57
|
};
|
|
58
58
|
static propTypes: {
|
|
59
59
|
estimatedItemSize: PropTypes.Requireable<number>;
|
|
60
|
-
height: PropTypes.Validator<string | number
|
|
60
|
+
height: PropTypes.Validator<NonNullable<NonNullable<string | number | null | undefined>>>;
|
|
61
61
|
itemCount: PropTypes.Validator<number>;
|
|
62
|
-
itemSize: PropTypes.Validator<number | any[] | ((...args: any[]) => any)
|
|
62
|
+
itemSize: PropTypes.Validator<NonNullable<NonNullable<number | any[] | ((...args: any[]) => any) | null | undefined>>>;
|
|
63
63
|
onScroll: PropTypes.Requireable<(...args: any[]) => any>;
|
|
64
64
|
onItemsRendered: PropTypes.Requireable<(...args: any[]) => any>;
|
|
65
65
|
overscanCount: PropTypes.Requireable<number>;
|
|
@@ -70,7 +70,7 @@ export default class VirtualList extends React.PureComponent<Props, State> {
|
|
|
70
70
|
scrollDirection: PropTypes.Requireable<DIRECTION>;
|
|
71
71
|
stickyIndices: PropTypes.Requireable<(number | null | undefined)[]>;
|
|
72
72
|
style: PropTypes.Requireable<object>;
|
|
73
|
-
width: PropTypes.Requireable<string | number
|
|
73
|
+
width: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
74
74
|
};
|
|
75
75
|
itemSizeGetter: (itemSize: Props['itemSize']) => (index: any) => any;
|
|
76
76
|
sizeAndPositionManager: SizeAndPositionManager;
|
package/lib/helper.css
CHANGED
|
@@ -556,7 +556,6 @@ a.text-black:hover {
|
|
|
556
556
|
.no-select {
|
|
557
557
|
-webkit-user-select: none;
|
|
558
558
|
-moz-user-select: none;
|
|
559
|
-
-ms-user-select: none;
|
|
560
559
|
user-select: none;
|
|
561
560
|
}
|
|
562
561
|
.l-h {
|
|
@@ -1617,11 +1616,6 @@ a.label:hover, a.label:focus {
|
|
|
1617
1616
|
.label-danger {
|
|
1618
1617
|
background: var(--label--danger-bg);
|
|
1619
1618
|
}
|
|
1620
|
-
@-webkit-keyframes apearSensor {
|
|
1621
|
-
from {
|
|
1622
|
-
opacity: 0;
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
1619
|
@keyframes apearSensor {
|
|
1626
1620
|
from {
|
|
1627
1621
|
opacity: 0;
|
|
@@ -20029,7 +20023,6 @@ https://www.w3school.com.cn/cssref/pr_class_position.asp
|
|
|
20029
20023
|
position: relative;
|
|
20030
20024
|
}
|
|
20031
20025
|
.sticky {
|
|
20032
|
-
position: -webkit-sticky;
|
|
20033
20026
|
position: sticky;
|
|
20034
20027
|
}
|
|
20035
20028
|
@media (max-width: 768px) {
|
|
@@ -20050,7 +20043,6 @@ https://www.w3school.com.cn/cssref/pr_class_position.asp
|
|
|
20050
20043
|
}
|
|
20051
20044
|
|
|
20052
20045
|
.m\:sticky {
|
|
20053
|
-
position: -webkit-sticky;
|
|
20054
20046
|
position: sticky;
|
|
20055
20047
|
}
|
|
20056
20048
|
}
|
|
@@ -20072,7 +20064,6 @@ https://www.w3school.com.cn/cssref/pr_class_position.asp
|
|
|
20072
20064
|
}
|
|
20073
20065
|
|
|
20074
20066
|
.pc\:sticky {
|
|
20075
|
-
position: -webkit-sticky;
|
|
20076
20067
|
position: sticky;
|
|
20077
20068
|
}
|
|
20078
20069
|
}
|
|
@@ -29032,11 +29023,9 @@ title: Grid Auto Columns
|
|
|
29032
29023
|
grid-auto-columns: auto;
|
|
29033
29024
|
}
|
|
29034
29025
|
.auto-cols-min {
|
|
29035
|
-
grid-auto-columns: -webkit-min-content;
|
|
29036
29026
|
grid-auto-columns: min-content;
|
|
29037
29027
|
}
|
|
29038
29028
|
.auto-cols-max {
|
|
29039
|
-
grid-auto-columns: -webkit-max-content;
|
|
29040
29029
|
grid-auto-columns: max-content;
|
|
29041
29030
|
}
|
|
29042
29031
|
.auto-cols-fr {
|
|
@@ -29048,12 +29037,10 @@ title: Grid Auto Columns
|
|
|
29048
29037
|
}
|
|
29049
29038
|
|
|
29050
29039
|
.m\:auto-cols-min {
|
|
29051
|
-
grid-auto-columns: -webkit-min-content;
|
|
29052
29040
|
grid-auto-columns: min-content;
|
|
29053
29041
|
}
|
|
29054
29042
|
|
|
29055
29043
|
.m\:auto-cols-max {
|
|
29056
|
-
grid-auto-columns: -webkit-max-content;
|
|
29057
29044
|
grid-auto-columns: max-content;
|
|
29058
29045
|
}
|
|
29059
29046
|
|
|
@@ -29067,12 +29054,10 @@ title: Grid Auto Columns
|
|
|
29067
29054
|
}
|
|
29068
29055
|
|
|
29069
29056
|
.pc\:auto-cols-min {
|
|
29070
|
-
grid-auto-columns: -webkit-min-content;
|
|
29071
29057
|
grid-auto-columns: min-content;
|
|
29072
29058
|
}
|
|
29073
29059
|
|
|
29074
29060
|
.pc\:auto-cols-max {
|
|
29075
|
-
grid-auto-columns: -webkit-max-content;
|
|
29076
29061
|
grid-auto-columns: max-content;
|
|
29077
29062
|
}
|
|
29078
29063
|
|
|
@@ -29160,11 +29145,9 @@ title: Grid Auto Flow
|
|
|
29160
29145
|
grid-auto-rows: auto;
|
|
29161
29146
|
}
|
|
29162
29147
|
.auto-rows-min {
|
|
29163
|
-
grid-auto-rows: -webkit-min-content;
|
|
29164
29148
|
grid-auto-rows: min-content;
|
|
29165
29149
|
}
|
|
29166
29150
|
.auto-rows-max {
|
|
29167
|
-
grid-auto-rows: -webkit-max-content;
|
|
29168
29151
|
grid-auto-rows: max-content;
|
|
29169
29152
|
}
|
|
29170
29153
|
.auto-rows-fr {
|
|
@@ -29176,12 +29159,10 @@ title: Grid Auto Flow
|
|
|
29176
29159
|
}
|
|
29177
29160
|
|
|
29178
29161
|
.m\:auto-rows-min {
|
|
29179
|
-
grid-auto-rows: -webkit-min-content;
|
|
29180
29162
|
grid-auto-rows: min-content;
|
|
29181
29163
|
}
|
|
29182
29164
|
|
|
29183
29165
|
.m\:auto-rows-max {
|
|
29184
|
-
grid-auto-rows: -webkit-max-content;
|
|
29185
29166
|
grid-auto-rows: max-content;
|
|
29186
29167
|
}
|
|
29187
29168
|
|
|
@@ -29195,12 +29176,10 @@ title: Grid Auto Flow
|
|
|
29195
29176
|
}
|
|
29196
29177
|
|
|
29197
29178
|
.pc\:auto-rows-min {
|
|
29198
|
-
grid-auto-rows: -webkit-min-content;
|
|
29199
29179
|
grid-auto-rows: min-content;
|
|
29200
29180
|
}
|
|
29201
29181
|
|
|
29202
29182
|
.pc\:auto-rows-max {
|
|
29203
|
-
grid-auto-rows: -webkit-max-content;
|
|
29204
29183
|
grid-auto-rows: max-content;
|
|
29205
29184
|
}
|
|
29206
29185
|
|
|
@@ -45545,12 +45524,10 @@ title: Width
|
|
|
45545
45524
|
width: 100vw;
|
|
45546
45525
|
}
|
|
45547
45526
|
.w-min {
|
|
45548
|
-
width: -webkit-min-content;
|
|
45549
45527
|
width: -moz-min-content;
|
|
45550
45528
|
width: min-content;
|
|
45551
45529
|
}
|
|
45552
45530
|
.w-max {
|
|
45553
|
-
width: -webkit-max-content;
|
|
45554
45531
|
width: -moz-max-content;
|
|
45555
45532
|
width: max-content;
|
|
45556
45533
|
}
|
|
@@ -45561,12 +45538,10 @@ title: Width
|
|
|
45561
45538
|
min-width: 100%;
|
|
45562
45539
|
}
|
|
45563
45540
|
.min-w-min {
|
|
45564
|
-
min-width: -webkit-min-content;
|
|
45565
45541
|
min-width: -moz-min-content;
|
|
45566
45542
|
min-width: min-content;
|
|
45567
45543
|
}
|
|
45568
45544
|
.min-w-max {
|
|
45569
|
-
min-width: -webkit-max-content;
|
|
45570
45545
|
min-width: -moz-max-content;
|
|
45571
45546
|
min-width: max-content;
|
|
45572
45547
|
}
|
|
@@ -45613,12 +45588,10 @@ title: Width
|
|
|
45613
45588
|
max-width: 100%;
|
|
45614
45589
|
}
|
|
45615
45590
|
.max-w-min {
|
|
45616
|
-
max-width: -webkit-min-content;
|
|
45617
45591
|
max-width: -moz-min-content;
|
|
45618
45592
|
max-width: min-content;
|
|
45619
45593
|
}
|
|
45620
45594
|
.max-w-max {
|
|
45621
|
-
max-width: -webkit-max-content;
|
|
45622
45595
|
max-width: -moz-max-content;
|
|
45623
45596
|
max-width: max-content;
|
|
45624
45597
|
}
|
|
@@ -45903,13 +45876,11 @@ title: Width
|
|
|
45903
45876
|
}
|
|
45904
45877
|
|
|
45905
45878
|
.m\:w-min {
|
|
45906
|
-
width: -webkit-min-content;
|
|
45907
45879
|
width: -moz-min-content;
|
|
45908
45880
|
width: min-content;
|
|
45909
45881
|
}
|
|
45910
45882
|
|
|
45911
45883
|
.m\:w-max {
|
|
45912
|
-
width: -webkit-max-content;
|
|
45913
45884
|
width: -moz-max-content;
|
|
45914
45885
|
width: max-content;
|
|
45915
45886
|
}
|
|
@@ -45923,13 +45894,11 @@ title: Width
|
|
|
45923
45894
|
}
|
|
45924
45895
|
|
|
45925
45896
|
.m\:min-w-min {
|
|
45926
|
-
min-width: -webkit-min-content;
|
|
45927
45897
|
min-width: -moz-min-content;
|
|
45928
45898
|
min-width: min-content;
|
|
45929
45899
|
}
|
|
45930
45900
|
|
|
45931
45901
|
.m\:min-w-max {
|
|
45932
|
-
min-width: -webkit-max-content;
|
|
45933
45902
|
min-width: -moz-max-content;
|
|
45934
45903
|
min-width: max-content;
|
|
45935
45904
|
}
|
|
@@ -45991,13 +45960,11 @@ title: Width
|
|
|
45991
45960
|
}
|
|
45992
45961
|
|
|
45993
45962
|
.m\:max-w-min {
|
|
45994
|
-
max-width: -webkit-min-content;
|
|
45995
45963
|
max-width: -moz-min-content;
|
|
45996
45964
|
max-width: min-content;
|
|
45997
45965
|
}
|
|
45998
45966
|
|
|
45999
45967
|
.m\:max-w-max {
|
|
46000
|
-
max-width: -webkit-max-content;
|
|
46001
45968
|
max-width: -moz-max-content;
|
|
46002
45969
|
max-width: max-content;
|
|
46003
45970
|
}
|
|
@@ -46284,13 +46251,11 @@ title: Width
|
|
|
46284
46251
|
}
|
|
46285
46252
|
|
|
46286
46253
|
.pc\:w-min {
|
|
46287
|
-
width: -webkit-min-content;
|
|
46288
46254
|
width: -moz-min-content;
|
|
46289
46255
|
width: min-content;
|
|
46290
46256
|
}
|
|
46291
46257
|
|
|
46292
46258
|
.pc\:w-max {
|
|
46293
|
-
width: -webkit-max-content;
|
|
46294
46259
|
width: -moz-max-content;
|
|
46295
46260
|
width: max-content;
|
|
46296
46261
|
}
|
|
@@ -46304,13 +46269,11 @@ title: Width
|
|
|
46304
46269
|
}
|
|
46305
46270
|
|
|
46306
46271
|
.pc\:min-w-min {
|
|
46307
|
-
min-width: -webkit-min-content;
|
|
46308
46272
|
min-width: -moz-min-content;
|
|
46309
46273
|
min-width: min-content;
|
|
46310
46274
|
}
|
|
46311
46275
|
|
|
46312
46276
|
.pc\:min-w-max {
|
|
46313
|
-
min-width: -webkit-max-content;
|
|
46314
46277
|
min-width: -moz-max-content;
|
|
46315
46278
|
min-width: max-content;
|
|
46316
46279
|
}
|
|
@@ -46372,13 +46335,11 @@ title: Width
|
|
|
46372
46335
|
}
|
|
46373
46336
|
|
|
46374
46337
|
.pc\:max-w-min {
|
|
46375
|
-
max-width: -webkit-min-content;
|
|
46376
46338
|
max-width: -moz-min-content;
|
|
46377
46339
|
max-width: min-content;
|
|
46378
46340
|
}
|
|
46379
46341
|
|
|
46380
46342
|
.pc\:max-w-max {
|
|
46381
|
-
max-width: -webkit-max-content;
|
|
46382
46343
|
max-width: -moz-max-content;
|
|
46383
46344
|
max-width: max-content;
|
|
46384
46345
|
}
|