@lingxiteam/ebe-utils 0.5.6 → 0.5.8
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/lib/pcpublic/src/components/pcfactory/src/DynamicTabs/TabPage.tsx +5 -1
- package/lib/pcpublic/src/components/pcfactory/src/StdUpload/assets/closeIcon.png +0 -0
- package/lib/pcpublic/src/components/pcfactory/src/StdUpload/assets/fileName.png +0 -0
- package/lib/pcpublic/src/components/pcfactory/src/StdUpload/assets/img.png +0 -0
- package/lib/pcpublic/src/components/pcfactory/src/Table/hooks/useFormatCell.ts +279 -0
- package/lib/pcpublic/src/components/pcfactory/src/utils/Empty/customLocale.tsx +6 -0
- package/lib/public/src/components/ExpBusiObjModal/index.less +28 -0
- package/lib/public/src/components/ExpBusiObjModal/index.tsx +315 -0
- package/lib/public/src/components/PreviewFile/index.less +200 -0
- package/lib/public/src/components/PreviewFile/index.tsx +787 -0
- package/lib/public/src/components/PreviewFile/utils.ts +90 -0
- package/lib/public/src/components/common/PreviewFile/index.less +200 -0
- package/lib/public/src/components/common/PreviewFile/index.tsx +787 -0
- package/lib/public/src/components/common/PreviewFile/utils.ts +90 -0
- package/lib/public/src/components/pcfactory/src/Alert/index.tsx +22 -0
- package/lib/public/src/components/pcfactory/src/Animation/index.tsx +186 -0
- package/lib/public/src/components/pcfactory/src/Animation/useAnimation.ts +270 -0
- package/lib/public/src/components/pcfactory/src/Animation/useBackgroundStyle.ts +74 -0
- package/lib/public/src/components/pcfactory/src/Audio/index.tsx +240 -0
- package/lib/public/src/components/pcfactory/src/BarChart/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/Button/index.tsx +151 -0
- package/lib/public/src/components/pcfactory/src/Card/index.tsx +201 -0
- package/lib/public/src/components/pcfactory/src/Card/useExtendBtn.tsx +195 -0
- package/lib/public/src/components/pcfactory/src/Cascader/index.tsx +398 -0
- package/lib/public/src/components/pcfactory/src/ChartBar/index.tsx +15 -0
- package/lib/public/src/components/pcfactory/src/ChartBar/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/ChartLine/ChartLine.tsx +48 -0
- package/lib/public/src/components/pcfactory/src/ChartLine/PropsType.ts +88 -0
- package/lib/public/src/components/pcfactory/src/ChartLine/index.tsx +15 -0
- package/lib/public/src/components/pcfactory/src/ChartLine/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/Checkbox/index.tsx +144 -0
- package/lib/public/src/components/pcfactory/src/CheckboxGroup/index.tsx +319 -0
- package/lib/public/src/components/pcfactory/src/Collapse/index.tsx +195 -0
- package/lib/public/src/components/pcfactory/src/CollapsePanel/index.tsx +186 -0
- package/lib/public/src/components/pcfactory/src/Condition/index.tsx +22 -0
- package/lib/public/src/components/pcfactory/src/DatePicker/index.tsx +756 -0
- package/lib/public/src/components/pcfactory/src/Description/index.tsx +447 -0
- package/lib/public/src/components/pcfactory/src/Description/utils/getLabelSizeMode.ts +40 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/CenterLineDivider/index.tsx +190 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/CenterTabDivider/index.tsx +77 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LeftCardDivider/index.tsx +87 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LeftLineDivider/index.tsx +106 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LeftTabDivider/index.tsx +60 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LeftTopDivider/index.tsx +55 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LxDashed/index.module.less +10 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LxDashed/index.tsx +143 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LxSolid/index.module.less +10 -0
- package/lib/public/src/components/pcfactory/src/Divider/components/LxSolid/index.tsx +126 -0
- package/lib/public/src/components/pcfactory/src/Divider/index.tsx +210 -0
- package/lib/public/src/components/pcfactory/src/Dropdown/index.tsx +385 -0
- package/lib/public/src/components/pcfactory/src/DynamicTabs/PropsType.ts +31 -0
- package/lib/public/src/components/pcfactory/src/DynamicTabs/TabPage.tsx +63 -0
- package/lib/public/src/components/pcfactory/src/DynamicTabs/index.tsx +214 -0
- package/lib/public/src/components/pcfactory/src/Form/Form.tsx +600 -0
- package/lib/public/src/components/pcfactory/src/Form/WrapperForm.ts +14 -0
- package/lib/public/src/components/pcfactory/src/Form/index.tsx +15 -0
- package/lib/public/src/components/pcfactory/src/Form/useFormStatus.ts +47 -0
- package/lib/public/src/components/pcfactory/src/Form/useMonitor.ts +40 -0
- package/lib/public/src/components/pcfactory/src/FormGroup/TitleComp.tsx +107 -0
- package/lib/public/src/components/pcfactory/src/FormGroup/index.tsx +181 -0
- package/lib/public/src/components/pcfactory/src/FreeLayout/index.tsx +151 -0
- package/lib/public/src/components/pcfactory/src/Gantt/Gantt.tsx +460 -0
- package/lib/public/src/components/pcfactory/src/Gantt/const.ts +122 -0
- package/lib/public/src/components/pcfactory/src/Gantt/index.tsx +16 -0
- package/lib/public/src/components/pcfactory/src/Gantt/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/GridView/GridView.tsx +435 -0
- package/lib/public/src/components/pcfactory/src/GridView/index.tsx +24 -0
- package/lib/public/src/components/pcfactory/src/GridView/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/HorizontalView/index.tsx +32 -0
- package/lib/public/src/components/pcfactory/src/Icon/IconED/index.tsx +42 -0
- package/lib/public/src/components/pcfactory/src/Icon/PropsType.ts +57 -0
- package/lib/public/src/components/pcfactory/src/Icon/hooks/index.tsx +300 -0
- package/lib/public/src/components/pcfactory/src/Icon/index.tsx +69 -0
- package/lib/public/src/components/pcfactory/src/IconFont/index.tsx +24 -0
- package/lib/public/src/components/pcfactory/src/Img/BasicImage/index.tsx +90 -0
- package/lib/public/src/components/pcfactory/src/Img/assets/placeholder.png +0 -0
- package/lib/public/src/components/pcfactory/src/Img/index.tsx +91 -0
- package/lib/public/src/components/pcfactory/src/Input/index.tsx +425 -0
- package/lib/public/src/components/pcfactory/src/InputNumber/index.tsx +263 -0
- package/lib/public/src/components/pcfactory/src/LXPieChart/LXPieChart.tsx +23 -0
- package/lib/public/src/components/pcfactory/src/LXPieChart/PropsType.ts +11 -0
- package/lib/public/src/components/pcfactory/src/LXPieChart/index.less +6 -0
- package/lib/public/src/components/pcfactory/src/LXPieChart/index.tsx +15 -0
- package/lib/public/src/components/pcfactory/src/LXPieChart/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/LXRadarChart/LXRadarChat.tsx +25 -0
- package/lib/public/src/components/pcfactory/src/LXRadarChart/PropsType.ts +9 -0
- package/lib/public/src/components/pcfactory/src/LXRadarChart/index.less +7 -0
- package/lib/public/src/components/pcfactory/src/LXRadarChart/index.tsx +17 -0
- package/lib/public/src/components/pcfactory/src/LXRadarChart/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/Layout/index.tsx +130 -0
- package/lib/public/src/components/pcfactory/src/Layout/utils.ts +48 -0
- package/lib/public/src/components/pcfactory/src/LineChart/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/Link/index.tsx +117 -0
- package/lib/public/src/components/pcfactory/src/LoopList/index.tsx +551 -0
- package/lib/public/src/components/pcfactory/src/Menu/index.tsx +422 -0
- package/lib/public/src/components/pcfactory/src/ModalSelect/BaseModalSelect.tsx +95 -0
- package/lib/public/src/components/pcfactory/src/ModalSelect/index.tsx +453 -0
- package/lib/public/src/components/pcfactory/src/MultipleSelect/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/Pagination/index.tsx +104 -0
- package/lib/public/src/components/pcfactory/src/Password/index.tsx +88 -0
- package/lib/public/src/components/pcfactory/src/PictureVerifyCode/assets/placeholder.png +0 -0
- package/lib/public/src/components/pcfactory/src/PictureVerifyCode/index.tsx +76 -0
- package/lib/public/src/components/pcfactory/src/PieChart/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/Progress/index.tsx +155 -0
- package/lib/public/src/components/pcfactory/src/QRCode/const.ts +5 -0
- package/lib/public/src/components/pcfactory/src/QRCode/index.tsx +146 -0
- package/lib/public/src/components/pcfactory/src/QuillEditor/QuillEditor.tsx +197 -0
- package/lib/public/src/components/pcfactory/src/QuillEditor/index.tsx +37 -0
- package/lib/public/src/components/pcfactory/src/QuillEditor/loader.ts +12 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/RadarChartHook.ts +449 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/RadarChartType.ts +39 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/RadarECharts.tsx +86 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/index.tsx +16 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/RadarChart/radarDefaultConfig.js +55 -0
- package/lib/public/src/components/pcfactory/src/Radio/index.tsx +260 -0
- package/lib/public/src/components/pcfactory/src/RangePicker/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/Rate/index.tsx +187 -0
- package/lib/public/src/components/pcfactory/src/ReactECharts/PropsType.ts +37 -0
- package/lib/public/src/components/pcfactory/src/ReactECharts/ReactECharts.tsx +672 -0
- package/lib/public/src/components/pcfactory/src/ReactECharts/index.tsx +26 -0
- package/lib/public/src/components/pcfactory/src/ReactECharts/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/components/FishRender.tsx +31 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/components/ReactRender.tsx +55 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/components/VueRender.tsx +32 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/constant.ts +9 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/index.tsx +82 -0
- package/lib/public/src/components/pcfactory/src/RemoteComponent/remote-component.config.ts +12 -0
- package/lib/public/src/components/pcfactory/src/Result/index.tsx +27 -0
- package/lib/public/src/components/pcfactory/src/RichTextEditor/LcdpUeditorMain.tsx +105 -0
- package/lib/public/src/components/pcfactory/src/RichTextEditor/RichTextEditor.tsx +234 -0
- package/lib/public/src/components/pcfactory/src/RichTextEditor/RichTextEditorMain.tsx +41 -0
- package/lib/public/src/components/pcfactory/src/RichTextEditor/index.tsx +33 -0
- package/lib/public/src/components/pcfactory/src/RichTextEditor/loader.ts +12 -0
- package/lib/public/src/components/pcfactory/src/Row/Row.tsx +66 -0
- package/lib/public/src/components/pcfactory/src/Row/index.tsx +9 -0
- package/lib/public/src/components/pcfactory/src/Row/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/Select/index.tsx +628 -0
- package/lib/public/src/components/pcfactory/src/Select/selectUtils.ts +257 -0
- package/lib/public/src/components/pcfactory/src/Slider/index.tsx +351 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/DownloadProgress/DownloadProgress.tsx +27 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/DownloadProgress/index.ts +3 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/UploadItem.tsx +257 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/default.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/js.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/pdf.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/ppt.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/txt.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/word.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/xls.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/assets/zip.png +0 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/index.tsx +1050 -0
- package/lib/public/src/components/pcfactory/src/StdUpload/uploadItem.less +64 -0
- package/lib/public/src/components/pcfactory/src/Steps/constant/checkcircle.tsx +29 -0
- package/lib/public/src/components/pcfactory/src/Steps/constant/index.ts +2 -0
- package/lib/public/src/components/pcfactory/src/Steps/constant/vector.tsx +13 -0
- package/lib/public/src/components/pcfactory/src/Steps/index.tsx +343 -0
- package/lib/public/src/components/pcfactory/src/SuperSelect/ComSelect.tsx +538 -0
- package/lib/public/src/components/pcfactory/src/SuperSelect/index.tsx +127 -0
- package/lib/public/src/components/pcfactory/src/SuperSelect/loader.tsx +12 -0
- package/lib/public/src/components/pcfactory/src/Swiper/index.tsx +184 -0
- package/lib/public/src/components/pcfactory/src/Switch/index.tsx +219 -0
- package/lib/public/src/components/pcfactory/src/TabPane/index.tsx +145 -0
- package/lib/public/src/components/pcfactory/src/Table/BodyCell/index.tsx +278 -0
- package/lib/public/src/components/pcfactory/src/Table/EditComponent/index.tsx +554 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/GhostTag/index.tsx +34 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/Hyperlink/index.tsx +26 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/PointTag/index.tsx +41 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/PureColourFill/index.tsx +32 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/PureFadeColourTag/index.tsx +34 -0
- package/lib/public/src/components/pcfactory/src/Table/FormatCell/index.tsx +227 -0
- package/lib/public/src/components/pcfactory/src/Table/HeaderCell/HeaderCellTitle/index.tsx +63 -0
- package/lib/public/src/components/pcfactory/src/Table/HeaderCell/index.tsx +32 -0
- package/lib/public/src/components/pcfactory/src/Table/TableHead/index.tsx +501 -0
- package/lib/public/src/components/pcfactory/src/Table/TableSummaryRow/index.tsx +46 -0
- package/lib/public/src/components/pcfactory/src/Table/constant.ts +73 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/index.ts +32 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useCMDActions.ts +325 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useCheckStrict.ts +176 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useColumns.tsx +1851 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useCommon.ts +39 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useDataSource.ts +201 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useExpandable.tsx +324 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useFilter.tsx +274 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useFormatCell.ts +309 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/usePagination.ts +104 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useRowEdit.ts +302 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useRowMerge.ts +93 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useScroll.ts +120 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useSelection.ts +467 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useSort.ts +39 -0
- package/lib/public/src/components/pcfactory/src/Table/hooks/useSummaryCol.ts +191 -0
- package/lib/public/src/components/pcfactory/src/Table/index.tsx +525 -0
- package/lib/public/src/components/pcfactory/src/Table/utils/SequenceId.ts +104 -0
- package/lib/public/src/components/pcfactory/src/Table/utils/index.ts +442 -0
- package/lib/public/src/components/pcfactory/src/Tabs/index.tsx +209 -0
- package/lib/public/src/components/pcfactory/src/Tag/index.tsx +39 -0
- package/lib/public/src/components/pcfactory/src/Text/index.tsx +191 -0
- package/lib/public/src/components/pcfactory/src/TextArea/ForIETextArea.tsx +96 -0
- package/lib/public/src/components/pcfactory/src/TextArea/index.tsx +255 -0
- package/lib/public/src/components/pcfactory/src/TimePicker/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/TlrView/index.tsx +3 -0
- package/lib/public/src/components/pcfactory/src/TooltipView/PropsType.ts +22 -0
- package/lib/public/src/components/pcfactory/src/TooltipView/TooltipViewED/index.tsx +10 -0
- package/lib/public/src/components/pcfactory/src/TooltipView/hooks/index.tsx +90 -0
- package/lib/public/src/components/pcfactory/src/TooltipView/index.tsx +13 -0
- package/lib/public/src/components/pcfactory/src/Transfer/index.tsx +753 -0
- package/lib/public/src/components/pcfactory/src/Tree/TreeNodeMenu/index.tsx +102 -0
- package/lib/public/src/components/pcfactory/src/Tree/index.tsx +1303 -0
- package/lib/public/src/components/pcfactory/src/TreeSelect/index.tsx +639 -0
- package/lib/public/src/components/pcfactory/src/TreeTable/hooks/index.ts +4 -0
- package/lib/public/src/components/pcfactory/src/TreeTable/hooks/useCMDAction.ts +82 -0
- package/lib/public/src/components/pcfactory/src/TreeTable/hooks/useExpandable.tsx +61 -0
- package/lib/public/src/components/pcfactory/src/TreeTable/index.tsx +273 -0
- package/lib/public/src/components/pcfactory/src/Upload/Upload.tsx +740 -0
- package/lib/public/src/components/pcfactory/src/Upload/index.tsx +29 -0
- package/lib/public/src/components/pcfactory/src/Upload/loader.tsx +13 -0
- package/lib/public/src/components/pcfactory/src/VerificationCode/assets/placeholder.png +0 -0
- package/lib/public/src/components/pcfactory/src/VerificationCode/index.tsx +297 -0
- package/lib/public/src/components/pcfactory/src/VerticalView/index.tsx +25 -0
- package/lib/public/src/components/pcfactory/src/VideoPlayer/index.tsx +159 -0
- package/lib/public/src/components/pcfactory/src/View/index.tsx +150 -0
- package/lib/public/src/components/pcfactory/src/View/useBackgroundStyle.ts +75 -0
- package/lib/public/src/components/pcfactory/src/VirtualGroup/index.tsx +16 -0
- package/lib/public/src/components/pcfactory/src/Webview/index.tsx +104 -0
- package/lib/public/src/components/pcfactory/src/index.component.ts +253 -0
- package/lib/public/src/components/pcfactory/src/styles/common.less +107 -0
- package/lib/public/src/components/pcfactory/src/styles/compatible.less +976 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Alert.less +25 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Audio.less +198 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Button.less +32 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Card.less +155 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Cascader.less +54 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Checkbox.less +7 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Collapse.less +214 -0
- package/lib/public/src/components/pcfactory/src/styles/components/DatePicker.less +22 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Description.less +64 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Divider.less +530 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Drawer.less +54 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Dropdown.less +11 -0
- package/lib/public/src/components/pcfactory/src/styles/components/DynamicDataContainer.less +16 -0
- package/lib/public/src/components/pcfactory/src/styles/components/DynamicTabs.less +254 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Form.less +265 -0
- package/lib/public/src/components/pcfactory/src/styles/components/FormGroup.less +111 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Gantt.less +139 -0
- package/lib/public/src/components/pcfactory/src/styles/components/GridView.less +62 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Icon.less +20 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Input.less +164 -0
- package/lib/public/src/components/pcfactory/src/styles/components/InputNumber.less +124 -0
- package/lib/public/src/components/pcfactory/src/styles/components/InputPassword.less +3 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Link.less +4 -0
- package/lib/public/src/components/pcfactory/src/styles/components/LoopList.less +67 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Menu.less +54 -0
- package/lib/public/src/components/pcfactory/src/styles/components/ModalSelect.less +42 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Popconfirm.less +7 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Progress.less +57 -0
- package/lib/public/src/components/pcfactory/src/styles/components/QuillEditor.less +15 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Radio.less +7 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Rate.less +16 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Result.less +26 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Select.less +146 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Slider.less +78 -0
- package/lib/public/src/components/pcfactory/src/styles/components/StdUpload.less +225 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Step.less +91 -0
- package/lib/public/src/components/pcfactory/src/styles/components/SuperSelect.less +83 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Swiper.less +106 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Switch.less +49 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Table.less +1229 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Tabs.less +291 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Tag.less +107 -0
- package/lib/public/src/components/pcfactory/src/styles/components/TextArea.less +12 -0
- package/lib/public/src/components/pcfactory/src/styles/components/TooltipView.less +43 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Transfer.less +155 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Tree.less +329 -0
- package/lib/public/src/components/pcfactory/src/styles/components/TreeSelect.less +65 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Upload.less +26 -0
- package/lib/public/src/components/pcfactory/src/styles/components/VerificationCode.less +162 -0
- package/lib/public/src/components/pcfactory/src/styles/components/Webview.less +31 -0
- package/lib/public/src/components/pcfactory/src/styles/index.less +10 -0
- package/lib/public/src/components/pcfactory/src/styles/index.ued.less +65 -0
- package/lib/public/src/components/pcfactory/src/styles/theme/variables/antdVariables.less +84 -0
- package/lib/public/src/components/pcfactory/src/styles/theme/variables/common.less +9 -0
- package/lib/public/src/components/pcfactory/src/styles/theme/variables/customVariables.less +35 -0
- package/lib/public/src/components/pcfactory/src/styles/theme/variables/index.less +2 -0
- package/lib/public/src/components/pcfactory/src/utils/ChannelContainer.tsx +150 -0
- package/lib/public/src/components/pcfactory/src/utils/ChildRender.ts +103 -0
- package/lib/public/src/components/pcfactory/src/utils/CustomModule.tsx +134 -0
- package/lib/public/src/components/pcfactory/src/utils/DummyFormContext.ts +136 -0
- package/lib/public/src/components/pcfactory/src/utils/Empty/customLocale.tsx +6 -0
- package/lib/public/src/components/pcfactory/src/utils/Empty/empty.tsx +37 -0
- package/lib/public/src/components/pcfactory/src/utils/LoaderHelper.tsx +29 -0
- package/lib/public/src/components/pcfactory/src/utils/PropsType.ts +21 -0
- package/lib/public/src/components/pcfactory/src/utils/WithSyncValue.ts +218 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/index.ts +22 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useCreation.ts +23 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useDeepCompareEffect.ts +27 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useMap.ts +46 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useMemoizedFn.ts +27 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/usePrevious.ts +19 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useSafeState.ts +26 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useSetState.ts +26 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useUnmountedRef.ts +14 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useUpdate.ts +9 -0
- package/lib/public/src/components/pcfactory/src/utils/ahooks/useUpdateEffect.ts +16 -0
- package/lib/public/src/components/pcfactory/src/utils/basicStatusTransfer.ts +32 -0
- package/lib/public/src/components/pcfactory/src/utils/common.ts +367 -0
- package/lib/public/src/components/pcfactory/src/utils/dynamicUtils/DynamicContext.tsx +106 -0
- package/lib/public/src/components/pcfactory/src/utils/formUtils/FormContext.tsx +131 -0
- package/lib/public/src/components/pcfactory/src/utils/formUtils/FormFields.tsx +646 -0
- package/lib/public/src/components/pcfactory/src/utils/formUtils/WrapperContainer.tsx +123 -0
- package/lib/public/src/components/pcfactory/src/utils/formUtils/cmdHelper.ts +411 -0
- package/lib/public/src/components/pcfactory/src/utils/formUtils/common.ts +28 -0
- package/lib/public/src/components/pcfactory/src/utils/getExportDefaultObj.ts +11 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useCommonImperativeHandle.ts +140 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useDataMask.ts +83 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useDoubleClick.ts +63 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useFuncExpExecute.ts +86 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useGetStaticAttrData.ts +41 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useHiddenStyle.ts +43 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useInitReactQuill.ts +90 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useListenState.ts +26 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useLocale.ts +129 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/usePrintMode.tsx +80 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useRules.ts +89 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useTestHelper.ts +26 -0
- package/lib/public/src/components/pcfactory/src/utils/hooks/useToggleBoolean.ts +33 -0
- package/lib/public/src/components/pcfactory/src/utils/index.ts +19 -0
- package/lib/public/src/components/pcfactory/src/utils/polyfill.js +305 -0
- package/lib/public/src/components/pcfactory/src/utils/renderReadOnly.tsx +105 -0
- package/lib/public/src/components/pcfactory/src/variables.ts +2 -0
- package/lib/public/src/components/pcfactory/typings.d.ts +27 -0
- package/lib/public/src/hooks/useGenerateContext.ts +73 -0
- package/lib/public/src/styles/common.less +41 -0
- package/lib/public/src/styles/index.less +4 -0
- package/lib/public/src/styles/index.ts +1 -0
- package/lib/public/src/styles/theme/variables.less +130 -0
- package/lib/public/src/utils/LcdpSpin/index.less +13 -0
- package/lib/public/src/utils/LcdpSpin/index.tsx +12 -0
- package/lib/public/src/utils/ModalManager/Drawer/index.less +30 -0
- package/lib/public/src/utils/ModalManager/Drawer/index.tsx +109 -0
- package/lib/public/src/utils/ModalManager/Modal/index.less +7 -0
- package/lib/public/src/utils/ModalManager/Modal/index.tsx +96 -0
- package/lib/public/src/utils/ModalManager/index.tsx +278 -0
- package/lib/public/src/utils/Security/encipher/des.ts +52 -0
- package/lib/public/src/utils/customFuncMapping.ts +107 -0
- package/lib/public/src/utils/formUtils.ts +458 -0
- package/lib/public/src/utils/i18n/i18n.ts +15 -0
- package/lib/public/src/utils/i18n/index.ts +7 -0
- package/lib/public/src/utils/i18n/locale/app/en_US.ts +77 -0
- package/lib/public/src/utils/i18n/locale/app/index.ts +9 -0
- package/lib/public/src/utils/i18n/locale/app/otherLocale.ts +2 -0
- package/lib/public/src/utils/i18n/locale/app/zh_CN.ts +65 -0
- package/lib/public/src/utils/i18n/locale/app/zh_HK.ts +66 -0
- package/lib/public/src/utils/i18n/locale/base/en_US.ts +449 -0
- package/lib/public/src/utils/i18n/locale/base/index.ts +5 -0
- package/lib/public/src/utils/i18n/locale/base/zh_CN.ts +413 -0
- package/lib/public/src/utils/i18n/locale/base/zh_HK.ts +411 -0
- package/lib/public/src/utils/i18n/locale/pc/en_US.ts +131 -0
- package/lib/public/src/utils/i18n/locale/pc/index.ts +9 -0
- package/lib/public/src/utils/i18n/locale/pc/otherLocale.ts +2 -0
- package/lib/public/src/utils/i18n/locale/pc/zh_CN.ts +105 -0
- package/lib/public/src/utils/i18n/locale/pc/zh_HK.ts +105 -0
- package/lib/public/src/utils/i18n/localeMonitor.ts +71 -0
- package/lib/public/src/utils/i18n/locales.ts +30 -0
- package/lib/public/src/utils/i18n/replaceMessage.ts +29 -0
- package/lib/public/src/utils/i18n/types.ts +2 -0
- package/lib/public/src/utils/i18n/useLocale.ts +129 -0
- package/lib/public/src/utils/messageApi.ts +93 -0
- package/lib/public/src/utils/service/commonFetch.ts +1 -1
- package/lib/public/src/utils/useTool.ts +428 -0
- package/package.json +2 -2
- /package/lib/public/src/utils/functors/{dateAdd.ts → DATEADD.ts} +0 -0
|
@@ -0,0 +1,1229 @@
|
|
|
1
|
+
@import (reference) '../theme/variables/antdVariables.less';
|
|
2
|
+
/* --- 扩展组件: Table改造 --- */
|
|
3
|
+
@table-prefix-cls: ~'@{ant-prefix}-table';
|
|
4
|
+
@select-prefix-cls: ~'@{ant-prefix}-select';
|
|
5
|
+
@switch-prefix-cls: ~'@{ant-prefix}-switch';
|
|
6
|
+
@calendar-prefix-cls: ~'@{ant-prefix}-calendar';
|
|
7
|
+
@tableHead-prefix-cls: ~'table-head';
|
|
8
|
+
@form-prefix-cls: ~'@{ant-prefix}-form';
|
|
9
|
+
@form-item-prefix-cls: ~'@{form-prefix-cls}-item';
|
|
10
|
+
@cascader-prefix-cls: ~'@{ant-prefix}-cascader';
|
|
11
|
+
@table-selection-column: ~'@{table-prefix-cls}-selection-column';
|
|
12
|
+
|
|
13
|
+
.ued-table-filters,
|
|
14
|
+
.ued-table-wrap {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
background-color: #fff;
|
|
18
|
+
|
|
19
|
+
.@{ant-prefix}-table-expanded-row-fixed:has(.@{ant-prefix}-empty-normal) {
|
|
20
|
+
width: 100%!important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.@{ant-prefix}-table-summary {
|
|
24
|
+
background: transparent;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.table-head-default,
|
|
28
|
+
.table-head-middle {
|
|
29
|
+
margin-bottom: 16px;
|
|
30
|
+
font-size: @font-size-lg;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.table-head-small {
|
|
34
|
+
margin-bottom: 12px;
|
|
35
|
+
font-size: @font-size-base;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.ued-table {
|
|
39
|
+
flex: 1 1 auto;
|
|
40
|
+
|
|
41
|
+
.@{table-prefix-cls} {
|
|
42
|
+
line-height: @table-data-input-height;
|
|
43
|
+
|
|
44
|
+
.@{ant-prefix}-skeleton-element {
|
|
45
|
+
width: 100%;
|
|
46
|
+
|
|
47
|
+
.@{ant-prefix}-skeleton-input {
|
|
48
|
+
border-radius: 3px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// 覆盖原生样式颜色(跟随@link-color),改为跟随主题色
|
|
53
|
+
&-row-expand-icon {
|
|
54
|
+
&:focus,
|
|
55
|
+
&:hover {
|
|
56
|
+
color: color(~`colorPalette('@{primary-color}', 5) `);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:active {
|
|
60
|
+
color: color(~`colorPalette('@{primary-color}', 7) `);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 动态计算图展开列宽度
|
|
65
|
+
&-expand-icon-col {
|
|
66
|
+
width: (@table-padding-horizontal + ceil(@font-size-sm * 1.4))
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
table {
|
|
70
|
+
border-radius: 0;
|
|
71
|
+
.@{table-prefix-cls}-thead {
|
|
72
|
+
th {
|
|
73
|
+
background: tint(@primary-color, 90%);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
tr {
|
|
77
|
+
td,
|
|
78
|
+
th {
|
|
79
|
+
&.@{table-selection-column} {
|
|
80
|
+
label.@{checkbox-prefix-cls}-wrapper,
|
|
81
|
+
label.@{radio-prefix-cls}-wrapper {
|
|
82
|
+
line-height: @table-data-input-height - 2px;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
tr > td {
|
|
89
|
+
position: relative;
|
|
90
|
+
height: auto;
|
|
91
|
+
min-height: @table-td-height;
|
|
92
|
+
|
|
93
|
+
&:empty {
|
|
94
|
+
height: @table-td-height;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.@{ant-prefix}-input:not(textarea),
|
|
98
|
+
.@{ant-prefix}-input-number,
|
|
99
|
+
.@{calendar-prefix-cls}-picker,
|
|
100
|
+
.@{select-prefix-cls},
|
|
101
|
+
.modalSelect {
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.@{ant-prefix}-input:not(textarea),
|
|
106
|
+
.@{ant-prefix}-input-number,
|
|
107
|
+
.@{ant-prefix}-input-number-input,
|
|
108
|
+
.@{calendar-prefix-cls}-picker,
|
|
109
|
+
.@{switch-prefix-cls},
|
|
110
|
+
.@{select-prefix-cls},
|
|
111
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector,
|
|
112
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
113
|
+
height: @table-data-input-height;
|
|
114
|
+
line-height: @table-data-input-height;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.@{ant-prefix}-input:not(textarea) {
|
|
118
|
+
padding: 4px 8px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
textarea.@{ant-prefix}-input {
|
|
122
|
+
margin: 0 auto;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.@{select-prefix-cls} {
|
|
126
|
+
.@{select-prefix-cls}-selector {
|
|
127
|
+
.@{select-prefix-cls}-selection-item,
|
|
128
|
+
.@{select-prefix-cls}-selection-placeholder {
|
|
129
|
+
line-height: @table-data-input-height - 2px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&.@{select-prefix-cls}-multiple {
|
|
134
|
+
.@{select-prefix-cls}-selector {
|
|
135
|
+
padding-top: 0;
|
|
136
|
+
padding-bottom: 0;
|
|
137
|
+
|
|
138
|
+
&::after {
|
|
139
|
+
margin: 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
144
|
+
height: @table-data-input-height - 2px;
|
|
145
|
+
line-height: @table-data-input-height - 2px;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.@{switch-prefix-cls} {
|
|
151
|
+
margin: 0;
|
|
152
|
+
|
|
153
|
+
@switch-handle-input-height: @table-data-input-height - 4px;
|
|
154
|
+
min-width: @switch-handle-input-height * 2;
|
|
155
|
+
|
|
156
|
+
&-handle {
|
|
157
|
+
&::before {
|
|
158
|
+
border-radius: 50%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
width: @switch-handle-input-height;
|
|
162
|
+
height: @switch-handle-input-height;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&.@{switch-prefix-cls}-checked {
|
|
166
|
+
.@{switch-prefix-cls}-handle {
|
|
167
|
+
left: calc(~'100%' - @switch-handle-input-height - 2px);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.modalSelect {
|
|
173
|
+
.@{select-prefix-cls} {
|
|
174
|
+
position: relative;
|
|
175
|
+
top: 0;
|
|
176
|
+
margin-top: 0;
|
|
177
|
+
width: 100%;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.@{ant-prefix}-input-group-addon,
|
|
181
|
+
&.@{ant-prefix}-input-group {
|
|
182
|
+
line-height: @table-data-input-height - 2px;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.@{form-item-prefix-cls} {
|
|
187
|
+
height: 0;
|
|
188
|
+
line-height: @table-data-input-height - 2px;
|
|
189
|
+
|
|
190
|
+
.@{ant-prefix}-input:not(textarea),
|
|
191
|
+
.@{ant-prefix}-input-number,
|
|
192
|
+
.@{calendar-prefix-cls}-picker,
|
|
193
|
+
.@{select-prefix-cls},
|
|
194
|
+
.modalSelect {
|
|
195
|
+
width: 100%;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&-children {
|
|
199
|
+
display: flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
// height: 0px !important;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.has-error {
|
|
205
|
+
.@{form-prefix-cls}-explain {
|
|
206
|
+
position: relative;
|
|
207
|
+
top: 4px;
|
|
208
|
+
z-index: 1;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.@{ant-prefix}-picker {
|
|
212
|
+
border-color: @error-color;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.@{ant-prefix}-input:not(textarea),
|
|
216
|
+
.@{ant-prefix}-input-number,
|
|
217
|
+
.@{calendar-prefix-cls}-picker,
|
|
218
|
+
.@{select-prefix-cls},
|
|
219
|
+
.modalSelect {
|
|
220
|
+
position: relative;
|
|
221
|
+
top: 0;
|
|
222
|
+
margin-top: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.@{form-item-prefix-cls}-children {
|
|
226
|
+
height: auto !important;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&:not(.@{table-prefix-cls}-bordered) {
|
|
234
|
+
.@{table-prefix-cls}-thead {
|
|
235
|
+
tr {
|
|
236
|
+
th.@{table-prefix-cls}-cell {
|
|
237
|
+
&::before {
|
|
238
|
+
display: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&.divider {
|
|
242
|
+
&::before {
|
|
243
|
+
position: absolute;
|
|
244
|
+
top: 50%;
|
|
245
|
+
left: 0;
|
|
246
|
+
display: block;
|
|
247
|
+
width: 1px;
|
|
248
|
+
height: 1.6em;
|
|
249
|
+
background-color: rgba(0, 0, 0, 0.06);
|
|
250
|
+
transform: translateY(-50%);
|
|
251
|
+
transition: background-color 0.3s;
|
|
252
|
+
content: '';
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
&-thead {
|
|
261
|
+
> tr > th {
|
|
262
|
+
background: @table-header-bg;
|
|
263
|
+
border-bottom: @border-width-base @border-style-base @table-border-color;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
> tr:first-child {
|
|
267
|
+
> th:first-child,
|
|
268
|
+
> th:last-child {
|
|
269
|
+
border-radius: 0;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&-tbody {
|
|
275
|
+
> tr > td {
|
|
276
|
+
border-bottom: @border-width-base @border-style-base @table-border-color;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// 修补嵌套子表格的样式
|
|
280
|
+
// ========================= Nest Table ===========================
|
|
281
|
+
.@{table-prefix-cls}-wrapper:only-child,
|
|
282
|
+
.@{table-prefix-cls}-expanded-row-fixed > .@{table-prefix-cls}-wrapper:only-child {
|
|
283
|
+
.@{table-prefix-cls} {
|
|
284
|
+
margin: -@table-padding-vertical -@table-padding-horizontal -@table-padding-vertical (@table-padding-horizontal +
|
|
285
|
+
ceil(@font-size-sm * 1.4));
|
|
286
|
+
|
|
287
|
+
&-tbody > tr:last-child > td {
|
|
288
|
+
border-bottom: 0;
|
|
289
|
+
|
|
290
|
+
&:first-child,
|
|
291
|
+
&:last-child {
|
|
292
|
+
border-radius: 0;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&-small {
|
|
300
|
+
font-size: @font-size-sm;
|
|
301
|
+
line-height: @small-table-data-input-line-height;
|
|
302
|
+
border: none;
|
|
303
|
+
|
|
304
|
+
.@{table-prefix-cls}-container {
|
|
305
|
+
.@{table-prefix-cls}-body,
|
|
306
|
+
.@{table-prefix-cls}-content {
|
|
307
|
+
.@{table-prefix-cls}-row:last-child td {
|
|
308
|
+
border-bottom: @border-width-base @border-style-base @table-border-color;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.ued-table-actions {
|
|
312
|
+
.ued-table-actions-extendBtn {
|
|
313
|
+
height: 16px;
|
|
314
|
+
font-size: @font-size-sm;
|
|
315
|
+
|
|
316
|
+
.anticon {
|
|
317
|
+
font-size: @font-size-sm;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.@{table-prefix-cls}-body {
|
|
323
|
+
margin: 0;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
table {
|
|
329
|
+
tr {
|
|
330
|
+
td,
|
|
331
|
+
th {
|
|
332
|
+
&.@{table-selection-column} {
|
|
333
|
+
label.@{checkbox-prefix-cls}-wrapper,
|
|
334
|
+
label.@{radio-prefix-cls}-wrapper {
|
|
335
|
+
line-height: @small-table-data-input-height - 2px;
|
|
336
|
+
|
|
337
|
+
.@{checkbox-prefix-cls}-inner {
|
|
338
|
+
width: 14px;
|
|
339
|
+
height: 14px;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.@{checkbox-prefix-cls}-indeterminate {
|
|
343
|
+
.@{checkbox-prefix-cls}-inner {
|
|
344
|
+
&::after {
|
|
345
|
+
width: 7px;
|
|
346
|
+
height: 7px;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
tr > td {
|
|
356
|
+
min-height: @table-small-td-height;
|
|
357
|
+
|
|
358
|
+
&:empty {
|
|
359
|
+
height: @table-small-td-height;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.@{ant-prefix}-input:not(textarea),
|
|
363
|
+
.@{ant-prefix}-input-number,
|
|
364
|
+
.@{ant-prefix}-input-number-input,
|
|
365
|
+
.@{calendar-prefix-cls}-picker,
|
|
366
|
+
.@{switch-prefix-cls},
|
|
367
|
+
.@{select-prefix-cls},
|
|
368
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector,
|
|
369
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
370
|
+
height: @small-table-data-input-height;
|
|
371
|
+
font-size: @font-size-sm;
|
|
372
|
+
line-height: @small-table-data-input-line-height;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.@{ant-prefix}-input:not(textarea) {
|
|
376
|
+
padding: 0 8px;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.@{calendar-prefix-cls}-picker .@{calendar-prefix-cls}-picker-input input {
|
|
380
|
+
font-size: @font-size-sm;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.@{select-prefix-cls} {
|
|
384
|
+
.@{select-prefix-cls}-selector {
|
|
385
|
+
.@{select-prefix-cls}-selection-item,
|
|
386
|
+
.@{select-prefix-cls}-selection-placeholder {
|
|
387
|
+
line-height: @small-table-data-input-line-height - 2px;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
&.@{select-prefix-cls}-multiple {
|
|
392
|
+
.@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
393
|
+
height: @small-table-data-input-height - 2px;
|
|
394
|
+
line-height: @small-table-data-input-line-height - 2px;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.@{switch-prefix-cls} {
|
|
400
|
+
@small-switch-handle-input-height: @small-table-data-input-line-height - 4px;
|
|
401
|
+
min-width: @small-switch-handle-input-height * 2;
|
|
402
|
+
|
|
403
|
+
&-handle {
|
|
404
|
+
&::before {
|
|
405
|
+
border-radius: 50%;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
width: @small-switch-handle-input-height;
|
|
409
|
+
height: @small-switch-handle-input-height;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
&.@{switch-prefix-cls}-checked {
|
|
413
|
+
.@{switch-prefix-cls}-handle {
|
|
414
|
+
left: calc(~'100%' - @small-switch-handle-input-height - 2px);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.modalSelect {
|
|
420
|
+
.@{ant-prefix}-input-group-addon {
|
|
421
|
+
font-size: @font-size-sm;
|
|
422
|
+
line-height: @small-table-data-input-line-height - 2px;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
&.@{ant-prefix}-input-group {
|
|
426
|
+
line-height: @small-table-data-input-line-height - 2px;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.@{form-item-prefix-cls} {
|
|
431
|
+
line-height: @small-table-data-input-line-height - 2px;
|
|
432
|
+
|
|
433
|
+
.has-error {
|
|
434
|
+
.@{form-prefix-cls}-explain {
|
|
435
|
+
top: 2px;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.@{table-prefix-cls}-column-sorter .@{table-prefix-cls}-column-sorter-inner {
|
|
442
|
+
.@{table-prefix-cls}-column-sorter-up,
|
|
443
|
+
.@{table-prefix-cls}-column-sorter-down {
|
|
444
|
+
font-size: 9px;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
&-middle {
|
|
451
|
+
line-height: 24px;
|
|
452
|
+
|
|
453
|
+
table {
|
|
454
|
+
tr {
|
|
455
|
+
td,
|
|
456
|
+
th {
|
|
457
|
+
&.@{table-selection-column} {
|
|
458
|
+
label.@{checkbox-prefix-cls}-wrapper,
|
|
459
|
+
label.@{radio-prefix-cls}-wrapper {
|
|
460
|
+
line-height: @middle-table-data-input-height - 2px;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
tr > td {
|
|
467
|
+
min-height: @table-middle-td-height;
|
|
468
|
+
|
|
469
|
+
&:empty {
|
|
470
|
+
height: @table-middle-td-height;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.@{ant-prefix}-input:not(textarea),
|
|
474
|
+
.@{ant-prefix}-input-number,
|
|
475
|
+
.@{ant-prefix}-input-number-input,
|
|
476
|
+
.@{calendar-prefix-cls}-picker,
|
|
477
|
+
.@{switch-prefix-cls},
|
|
478
|
+
.@{select-prefix-cls},
|
|
479
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector,
|
|
480
|
+
.@{select-prefix-cls} .@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
481
|
+
height: @middle-table-data-input-height;
|
|
482
|
+
line-height: @middle-table-data-input-height;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.@{ant-prefix}-input:not(textarea) {
|
|
486
|
+
padding: 2px 8px;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.@{select-prefix-cls} {
|
|
490
|
+
.@{select-prefix-cls}-selector {
|
|
491
|
+
.@{select-prefix-cls}-selection-item,
|
|
492
|
+
.@{select-prefix-cls}-selection-placeholder {
|
|
493
|
+
line-height: @middle-table-data-input-height - 2px;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
&.@{select-prefix-cls}-multiple {
|
|
498
|
+
.@{select-prefix-cls}-selector .@{select-prefix-cls}-selection-search input {
|
|
499
|
+
height: @middle-table-data-input-height - 2px;
|
|
500
|
+
line-height: @middle-table-data-input-height - 2px;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.@{switch-prefix-cls} {
|
|
506
|
+
@middle-switch-handle-input-height: @middle-table-data-input-height - 4px;
|
|
507
|
+
min-width: @middle-switch-handle-input-height * 2;
|
|
508
|
+
|
|
509
|
+
&-handle {
|
|
510
|
+
&::before {
|
|
511
|
+
border-radius: 50%;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
width: @middle-switch-handle-input-height;
|
|
515
|
+
height: @middle-switch-handle-input-height;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
&.@{switch-prefix-cls}-checked {
|
|
519
|
+
.@{switch-prefix-cls}-handle {
|
|
520
|
+
left: calc(~'100%' - @middle-switch-handle-input-height - 2px);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.modalSelect {
|
|
526
|
+
.@{ant-prefix}-input-group-addon,
|
|
527
|
+
&.@{ant-prefix}-input-group {
|
|
528
|
+
line-height: @middle-table-data-input-height - 2px;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.@{form-item-prefix-cls} {
|
|
533
|
+
line-height: @middle-table-data-input-height - 2px;
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// 移除 webkit 内核下,固定头时,额外添加的滚动条边框线
|
|
541
|
+
.@{table-prefix-cls}-fixed-header .@{table-prefix-cls}-scroll .@{table-prefix-cls}-header {
|
|
542
|
+
&::-webkit-scrollbar {
|
|
543
|
+
border: none;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.@{table-prefix-cls}-bordered.@{table-prefix-cls}-fixed-header
|
|
548
|
+
.@{table-prefix-cls}-scroll
|
|
549
|
+
.@{table-prefix-cls}-header {
|
|
550
|
+
&::-webkit-scrollbar {
|
|
551
|
+
border: none;
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
// 表格线(边框线模式)
|
|
556
|
+
.@{table-prefix-cls}-bordered {
|
|
557
|
+
border: @border-width-base @border-style-base @table-border-color;
|
|
558
|
+
// // 注:右边框比较特殊,需要移除,然后交右 th与td单元格的右边框控制
|
|
559
|
+
// border-right: none;
|
|
560
|
+
|
|
561
|
+
.@{table-prefix-cls}-container {
|
|
562
|
+
// 注:左边框比较特殊,需要移除,然后交最外层border控制
|
|
563
|
+
border-left: none;
|
|
564
|
+
|
|
565
|
+
// 表格开启 scroll.y 时的情况处理
|
|
566
|
+
.@{table-prefix-cls}-header {
|
|
567
|
+
table {
|
|
568
|
+
// 注:上边框比较特殊,需要移除,然后交最外层border控制
|
|
569
|
+
border-top: none;
|
|
570
|
+
|
|
571
|
+
thead > tr > th:last-child {
|
|
572
|
+
// 注:右边框比较特殊,表头最后一个单元格需要移除,然后交最外层border控制
|
|
573
|
+
border-right: none;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.@{table-prefix-cls}-body {
|
|
579
|
+
table {
|
|
580
|
+
tbody > tr > td:last-child {
|
|
581
|
+
border-right: none;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
// 表格没有开启 scroll.y 时的情况处理
|
|
587
|
+
.@{table-prefix-cls}-content {
|
|
588
|
+
table {
|
|
589
|
+
// 注:上边框比较特殊,需要移除,然后交最外层border控制
|
|
590
|
+
border-top: none;
|
|
591
|
+
|
|
592
|
+
thead > tr > th:last-child {
|
|
593
|
+
// 注:右边框比较特殊,表头最后一个单元格需要移除,然后交最外层border控制
|
|
594
|
+
border-right: none;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
tbody > tr > td:last-child {
|
|
598
|
+
border-right: none;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.@{ant-prefix}-table-summary {
|
|
605
|
+
tr:first-child {
|
|
606
|
+
& > td {
|
|
607
|
+
border-top: 1px solid @table-border-color;
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
tr:last-child {
|
|
611
|
+
& > td {
|
|
612
|
+
border-bottom: none;
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
.@{ant-prefix}-table-summary {
|
|
616
|
+
tr:first-child {
|
|
617
|
+
& > td {
|
|
618
|
+
border-top: none;
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
// 固定右列时
|
|
625
|
+
.@{table-prefix-cls}-fixed-right {
|
|
626
|
+
table {
|
|
627
|
+
// 覆盖原生边框线颜色
|
|
628
|
+
border-left: @border-width-base @border-style-base @table-border-color;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
&.@{table-prefix-cls}-empty {
|
|
633
|
+
.@{table-prefix-cls}-placeholder {
|
|
634
|
+
border-bottom: none;
|
|
635
|
+
border-left: none;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// 内容滚动时
|
|
640
|
+
.@{table-prefix-cls}-content {
|
|
641
|
+
// 去除左部线,交给最外层border
|
|
642
|
+
& > .@{table-prefix-cls}-header > table,
|
|
643
|
+
& > .@{table-prefix-cls}-body > table,
|
|
644
|
+
& > .@{table-prefix-cls}-scroll .@{table-prefix-cls}-header > table,
|
|
645
|
+
& > .@{table-prefix-cls}-scroll .@{table-prefix-cls}-body > table,
|
|
646
|
+
& > .@{table-prefix-cls}-fixed-left table {
|
|
647
|
+
border-left: none;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
// 去除顶部线,交给最外层 border
|
|
651
|
+
& > .@{table-prefix-cls}-body > table,
|
|
652
|
+
& > .@{table-prefix-cls}-scroll .@{table-prefix-cls}-body > table,
|
|
653
|
+
& > .@{table-prefix-cls}-fixed-left table,
|
|
654
|
+
& > .@{table-prefix-cls}-fixed-right table,
|
|
655
|
+
.@{table-prefix-cls}-header > table {
|
|
656
|
+
border-top: none;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
// 去除底部线,交给最外层border
|
|
661
|
+
.@{table-prefix-cls}-tbody {
|
|
662
|
+
.@{table-prefix-cls}-row {
|
|
663
|
+
.last-td {
|
|
664
|
+
border-bottom: none;
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
tr:last-child {
|
|
669
|
+
td {
|
|
670
|
+
border-bottom: none;
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
&.@{table-prefix-cls}-small {
|
|
676
|
+
// 小尺寸-边框模式-固定左列下,固定内容右边框,颜色覆盖
|
|
677
|
+
.@{table-prefix-cls}-fixed-left {
|
|
678
|
+
.@{table-prefix-cls}-thead > tr > th,
|
|
679
|
+
.@{table-prefix-cls}-tbody > tr > td {
|
|
680
|
+
&:last-child {
|
|
681
|
+
border-right: @border-width-base @border-style-base @table-border-color;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
// 小尺寸-边框模式-固定右侧栏下,固定内容不需要左右板框,右边框交给最外层
|
|
687
|
+
.@{table-prefix-cls}-fixed-right {
|
|
688
|
+
border-right: 0;
|
|
689
|
+
border-left: 0;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
> .@{table-prefix-cls}-content {
|
|
693
|
+
border-right: none;
|
|
694
|
+
// 小尺寸-边框模式下,底部不需要线,底线交给最外层
|
|
695
|
+
.@{table-prefix-cls}-row:last-child td {
|
|
696
|
+
border-bottom: none;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
// 表头标题提示
|
|
703
|
+
&-header-cell-title-tip-wrapper {
|
|
704
|
+
display: flex;
|
|
705
|
+
align-items: center;
|
|
706
|
+
|
|
707
|
+
&-icon {
|
|
708
|
+
&:hover {
|
|
709
|
+
svg {
|
|
710
|
+
fill: @primary-color;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.ued-table-ed {
|
|
718
|
+
.@{ant-prefix}-table-fixed {
|
|
719
|
+
width: auto;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
// 编辑器的表格内置分页组件中,为了显示快速跳转,会人为的让页数变为 2页,所以要写死隐藏 第2页的跳转标识
|
|
723
|
+
.@{ant-prefix}-pagination-item-2 {
|
|
724
|
+
display: none;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
// 斑马纹
|
|
729
|
+
.ued-table-zebra-stripe {
|
|
730
|
+
.@{table-prefix-cls}-row {
|
|
731
|
+
&:nth-child(2n) {
|
|
732
|
+
background: @table-zebra-stripe-bg;
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.ued-table-page {
|
|
738
|
+
@pagination-prefix-cls: ~'@{ant-prefix}-pagination';
|
|
739
|
+
@normal-pagination-height: 24px;
|
|
740
|
+
|
|
741
|
+
display: flex;
|
|
742
|
+
justify-content: flex-end;
|
|
743
|
+
width: 100%;
|
|
744
|
+
&-default {
|
|
745
|
+
&.@{pagination-prefix-cls} {
|
|
746
|
+
margin: 16px 0 0 0;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
&-middle,
|
|
751
|
+
&-small {
|
|
752
|
+
&.@{pagination-prefix-cls} {
|
|
753
|
+
margin: 12px 0 0 0;
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.@{pagination-prefix-cls}-prev,
|
|
758
|
+
.@{pagination-prefix-cls}-item,
|
|
759
|
+
.@{pagination-prefix-cls}-next,
|
|
760
|
+
.@{pagination-prefix-cls}-jump-prev,
|
|
761
|
+
.@{pagination-prefix-cls}-jump-next {
|
|
762
|
+
min-width: @normal-pagination-height;
|
|
763
|
+
height: @normal-pagination-height;
|
|
764
|
+
line-height: @normal-pagination-height;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.@{pagination-prefix-cls}-item-link {
|
|
768
|
+
color: @custom-black-8;
|
|
769
|
+
font-size: @font-size-sm - 1px;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.@{pagination-prefix-cls}-item-active {
|
|
773
|
+
background: @primary-color;
|
|
774
|
+
|
|
775
|
+
& a {
|
|
776
|
+
color: #fff;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.@{pagination-prefix-cls}-total-text {
|
|
781
|
+
height: auto;
|
|
782
|
+
margin-right: 16px;
|
|
783
|
+
line-height: @normal-pagination-height;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.@{pagination-prefix-cls}-options {
|
|
787
|
+
margin-left: 16px;
|
|
788
|
+
&-quick-jumper {
|
|
789
|
+
height: @normal-pagination-height;
|
|
790
|
+
margin-left: 12px;
|
|
791
|
+
line-height: @normal-pagination-height;
|
|
792
|
+
|
|
793
|
+
input {
|
|
794
|
+
width: 36px;
|
|
795
|
+
height: @normal-pagination-height;
|
|
796
|
+
color: @custom-black-8;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
&-size-changer {
|
|
801
|
+
color: @custom-black-8;
|
|
802
|
+
.@{ant-prefix}-select-selector {
|
|
803
|
+
height: @normal-pagination-height;
|
|
804
|
+
|
|
805
|
+
.@{ant-prefix}-select-selection {
|
|
806
|
+
&-search-input {
|
|
807
|
+
height: @normal-pagination-height;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
&-item {
|
|
811
|
+
padding-right: 0;
|
|
812
|
+
line-height: @normal-pagination-height - 1px;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
.@{ant-prefix}-select-arrow {
|
|
818
|
+
display: none;
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
.@{ant-prefix}-select-dropdown {
|
|
823
|
+
.@{ant-prefix}-select-item-option {
|
|
824
|
+
min-height: @normal-pagination-height;
|
|
825
|
+
padding: 6px 8px;
|
|
826
|
+
line-height: @normal-pagination-height;
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
&-small {
|
|
832
|
+
font-size: @font-size-sm;
|
|
833
|
+
@small-pagination-height: 20px;
|
|
834
|
+
|
|
835
|
+
.@{pagination-prefix-cls}-prev,
|
|
836
|
+
.@{pagination-prefix-cls}-item,
|
|
837
|
+
.@{pagination-prefix-cls}-next,
|
|
838
|
+
.@{pagination-prefix-cls}-jump-prev,
|
|
839
|
+
.@{pagination-prefix-cls}-jump-next {
|
|
840
|
+
min-width: @small-pagination-height;
|
|
841
|
+
height: @small-pagination-height;
|
|
842
|
+
margin-right: 4px;
|
|
843
|
+
line-height: @small-pagination-height - 1px;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
.@{pagination-prefix-cls}-total-text {
|
|
847
|
+
line-height: @small-pagination-height;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
.@{pagination-prefix-cls}-options {
|
|
851
|
+
margin-left: 0;
|
|
852
|
+
&-quick-jumper {
|
|
853
|
+
height: @small-pagination-height;
|
|
854
|
+
margin-left: 8px;
|
|
855
|
+
line-height: @small-pagination-height;
|
|
856
|
+
|
|
857
|
+
input {
|
|
858
|
+
height: @small-pagination-height;
|
|
859
|
+
font-size: @font-size-sm;
|
|
860
|
+
}
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
&-size-changer {
|
|
864
|
+
.@{ant-prefix}-select-selector {
|
|
865
|
+
height: @small-pagination-height;
|
|
866
|
+
font-size: @font-size-sm;
|
|
867
|
+
|
|
868
|
+
.@{ant-prefix}-select-selection {
|
|
869
|
+
&-search-input {
|
|
870
|
+
height: @small-pagination-height;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
&-item {
|
|
874
|
+
line-height: @small-pagination-height - 1px;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.@{ant-prefix}-select-dropdown {
|
|
881
|
+
.@{ant-prefix}-select-item-option {
|
|
882
|
+
min-height: @small-pagination-height;
|
|
883
|
+
padding: 4px 7px;
|
|
884
|
+
font-size: @font-size-sm;
|
|
885
|
+
line-height: @small-pagination-height;
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
.ued-table-actions {
|
|
893
|
+
display: flex;
|
|
894
|
+
align-items: center;
|
|
895
|
+
|
|
896
|
+
:global(.@{ant-prefix}-btn + .@{ant-prefix}-btn),
|
|
897
|
+
.ued-table-actions-extendBtn + .ued-table-actions-extendBtn {
|
|
898
|
+
margin-left: @padding-sm;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
.@{ant-prefix}-divider {
|
|
902
|
+
&-vertical {
|
|
903
|
+
background: @table-border-color;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.ued-table-actions-antBtn {
|
|
908
|
+
height: auto;
|
|
909
|
+
padding: 0;
|
|
910
|
+
color: @primary-color;
|
|
911
|
+
border: 0;
|
|
912
|
+
|
|
913
|
+
&:disabled {
|
|
914
|
+
color: @custom-black-2;
|
|
915
|
+
}
|
|
916
|
+
> button {
|
|
917
|
+
height: auto;
|
|
918
|
+
padding: 0;
|
|
919
|
+
color: @primary-color;
|
|
920
|
+
border: 0;
|
|
921
|
+
|
|
922
|
+
&:disabled {
|
|
923
|
+
color: @custom-black-2;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.ued-table-actions-extendBtn {
|
|
929
|
+
// display: inline-block;
|
|
930
|
+
display: flex;
|
|
931
|
+
align-items: center;
|
|
932
|
+
// color: @primary-color;
|
|
933
|
+
cursor: pointer;
|
|
934
|
+
|
|
935
|
+
& + & {
|
|
936
|
+
margin-left: @padding-sm;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
&:hover {
|
|
940
|
+
color: @link-color;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.anticon {
|
|
944
|
+
font-size: @font-size-base;
|
|
945
|
+
|
|
946
|
+
&.actIcon-left {
|
|
947
|
+
margin-right: 4px;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
&.actIcon-right {
|
|
951
|
+
margin-left: 4px;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.ued-table-cell-ghostTag {
|
|
958
|
+
display: inline-block;
|
|
959
|
+
height: 18px;
|
|
960
|
+
font-size: 10px;
|
|
961
|
+
line-height: 16px;
|
|
962
|
+
border-radius: 14px;
|
|
963
|
+
border: 1px solid transparent;
|
|
964
|
+
padding: 0 6px;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
.ued-table-cell-pointTag {
|
|
968
|
+
display: inline-flex;
|
|
969
|
+
align-items: center;
|
|
970
|
+
|
|
971
|
+
&-point {
|
|
972
|
+
display: inline-block;
|
|
973
|
+
width: 4px;
|
|
974
|
+
height: 4px;
|
|
975
|
+
border-radius: 50%;
|
|
976
|
+
margin-right: 4px;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
&-text {
|
|
980
|
+
font-size: @font-size-sm;
|
|
981
|
+
color: @text-color;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.ued-table-cell-pureColourTag,
|
|
986
|
+
.ued-table-cell-fadeColourTag {
|
|
987
|
+
display: inline-block;
|
|
988
|
+
border-radius: 2px;
|
|
989
|
+
height: 18px;
|
|
990
|
+
font-size: 10px;
|
|
991
|
+
line-height: 18px;
|
|
992
|
+
padding: 0 6px;
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.ued-table-cell-pureColourFill {
|
|
996
|
+
color: #fff;
|
|
997
|
+
text-align: center;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
.ued-table-cell-hyperlink {
|
|
1001
|
+
color: @primary-color;
|
|
1002
|
+
text-decoration: underline;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.ued-table-cell-pointTag-click,
|
|
1006
|
+
.ued-table-cell-pureColourTag-click,
|
|
1007
|
+
.ued-table-cell-fadeColourTag-click,
|
|
1008
|
+
.ued-table-cell-pureColourFill-click,
|
|
1009
|
+
.ued-table-cell-hyperlink-click {
|
|
1010
|
+
&:hover {
|
|
1011
|
+
cursor: pointer;
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.ued-table-row-expand-custom-icon {
|
|
1016
|
+
border: none;
|
|
1017
|
+
&::after {
|
|
1018
|
+
display: none;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.ued-table-ed-box {
|
|
1024
|
+
height: 100%;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
// 表格头部样式
|
|
1028
|
+
.@{tableHead-prefix-cls} {
|
|
1029
|
+
display: flex;
|
|
1030
|
+
align-items: center;
|
|
1031
|
+
justify-content: space-between;
|
|
1032
|
+
|
|
1033
|
+
&-btn-default,
|
|
1034
|
+
&-btn-middle {
|
|
1035
|
+
height: 32px;
|
|
1036
|
+
font-size: 14px;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
&-btn-small {
|
|
1040
|
+
height: 28px;
|
|
1041
|
+
font-size: 12px;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
.title {
|
|
1045
|
+
// TODO: 不建议用 css module,统一移入 styles 管理,使用变量
|
|
1046
|
+
color: #1c242e;
|
|
1047
|
+
font-weight: 600;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.extend {
|
|
1051
|
+
display: flex;
|
|
1052
|
+
flex: 1 1 auto;
|
|
1053
|
+
align-items: center;
|
|
1054
|
+
justify-content: flex-end;
|
|
1055
|
+
text-align: right;
|
|
1056
|
+
|
|
1057
|
+
i {
|
|
1058
|
+
margin-left: 8px; /** TODO: $padding-s **/
|
|
1059
|
+
cursor: pointer;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.btn {
|
|
1063
|
+
margin-left: 8px; /** TODO: $padding-s **/
|
|
1064
|
+
|
|
1065
|
+
i {
|
|
1066
|
+
margin-left: 0;
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.iconBtn {
|
|
1071
|
+
height: auto;
|
|
1072
|
+
padding: 0;
|
|
1073
|
+
color: inherit;
|
|
1074
|
+
> button {
|
|
1075
|
+
height: auto;
|
|
1076
|
+
padding: 0;
|
|
1077
|
+
color: inherit;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
&-popContent {
|
|
1083
|
+
min-width: 224px;
|
|
1084
|
+
|
|
1085
|
+
.popHead {
|
|
1086
|
+
display: flex;
|
|
1087
|
+
align-items: center;
|
|
1088
|
+
justify-content: space-between;
|
|
1089
|
+
|
|
1090
|
+
.extend {
|
|
1091
|
+
display: flex;
|
|
1092
|
+
flex: 1 1 auto;
|
|
1093
|
+
align-items: center;
|
|
1094
|
+
justify-content: flex-end;
|
|
1095
|
+
text-align: right;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.tips {
|
|
1100
|
+
margin-top: 2px;
|
|
1101
|
+
color: rgba(28, 36, 46, 0.25);
|
|
1102
|
+
font-size: 12px;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
.icon {
|
|
1106
|
+
display: flex;
|
|
1107
|
+
align-items: center;
|
|
1108
|
+
margin-right: 20px;
|
|
1109
|
+
fill: #c6c8cb;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
.@{ant-prefix}-tree-switcher-noop {
|
|
1113
|
+
display: none;
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
.title {
|
|
1117
|
+
display: flex;
|
|
1118
|
+
align-items: center;
|
|
1119
|
+
|
|
1120
|
+
.checkbox {
|
|
1121
|
+
margin-right: 8px;
|
|
1122
|
+
line-height: 20px;
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.@{ant-prefix}-popover-arrow {
|
|
1127
|
+
display: none;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.@{ant-prefix}-popover-title {
|
|
1131
|
+
padding: 8px 12px;
|
|
1132
|
+
}
|
|
1133
|
+
.@{ant-prefix}-popover-inner-content {
|
|
1134
|
+
max-height: 270px;
|
|
1135
|
+
padding: 12px;
|
|
1136
|
+
overflow-y: auto;
|
|
1137
|
+
|
|
1138
|
+
.@{ant-prefix}-tree li {
|
|
1139
|
+
span.@{ant-prefix}-tree-node-content-wrapper {
|
|
1140
|
+
display: inline-block;
|
|
1141
|
+
width: 100%;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
span.@{ant-prefix}-tree-switcher.@{ant-prefix}-tree-switcher-noop {
|
|
1145
|
+
display: none;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
&-tooltip {
|
|
1152
|
+
.@{ant-prefix}-tooltip-content {
|
|
1153
|
+
font-size: 12px;
|
|
1154
|
+
|
|
1155
|
+
.@{ant-prefix}-tooltip-inner {
|
|
1156
|
+
min-height: fit-content;
|
|
1157
|
+
padding: 4px;
|
|
1158
|
+
background-color: rgba(0, 0, 0, 0.65);
|
|
1159
|
+
border-radius: 2px;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.@{ant-prefix}-tooltip-arrow::before {
|
|
1163
|
+
background-color: rgba(0, 0, 0, 0.65);
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
.ued-table-edit-space-block {
|
|
1170
|
+
position: absolute;
|
|
1171
|
+
top: 0;
|
|
1172
|
+
right: 0;
|
|
1173
|
+
bottom: 0;
|
|
1174
|
+
left: 0;
|
|
1175
|
+
z-index: 1;
|
|
1176
|
+
}
|
|
1177
|
+
.ued-table-more-pop {
|
|
1178
|
+
.@{ant-prefix}-popover-inner-content {
|
|
1179
|
+
padding: 0;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.ued-table-filters {
|
|
1184
|
+
max-height: 250px;
|
|
1185
|
+
min-width: 120px;
|
|
1186
|
+
overflow: hidden;
|
|
1187
|
+
display: flex;
|
|
1188
|
+
border-radius: 4px;
|
|
1189
|
+
flex-direction: column;
|
|
1190
|
+
&-content {
|
|
1191
|
+
padding: 4px;
|
|
1192
|
+
overflow-y: auto;
|
|
1193
|
+
flex: 1;
|
|
1194
|
+
.ued-table-filters-item {
|
|
1195
|
+
cursor: pointer;
|
|
1196
|
+
padding: 4px 8px;
|
|
1197
|
+
.@{ant-prefix}-checkbox-wrapper {
|
|
1198
|
+
display: flex;
|
|
1199
|
+
line-height: 28px;
|
|
1200
|
+
.@{ant-prefix}-checkbox + span {
|
|
1201
|
+
padding-right: 0;
|
|
1202
|
+
flex: 1;
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
&:hover {
|
|
1206
|
+
background-color: rgba(0, 0, 0, 0.04);
|
|
1207
|
+
}
|
|
1208
|
+
.ued-table-filters-dom {
|
|
1209
|
+
width: 100%;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
&-bottom {
|
|
1214
|
+
display: flex;
|
|
1215
|
+
align-items: center;
|
|
1216
|
+
justify-content: space-between;
|
|
1217
|
+
border-top: 1px solid rgba(0,0,0,.06);
|
|
1218
|
+
padding: 8px;
|
|
1219
|
+
}
|
|
1220
|
+
&-hidden {
|
|
1221
|
+
display: none;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
.ued-table-actions-overlay {
|
|
1226
|
+
.@{ant-prefix}-popover-inner-content {
|
|
1227
|
+
max-width: 240px;
|
|
1228
|
+
}
|
|
1229
|
+
}
|