@yoka-ui/ui 1.0.1
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/@Docs-yoka/exports.generated.md +93 -0
- package/@Docs-yoka/llms.txt +23 -0
- package/README.md +113 -0
- package/dist/es/Themes/InputTheme/index.d.ts +6 -0
- package/dist/es/Themes/InputTheme/index.js +22 -0
- package/dist/es/Themes/InputTheme/index.js.map +7 -0
- package/dist/es/Themes/TableTheme/index.d.ts +7 -0
- package/dist/es/Themes/TableTheme/index.js +31 -0
- package/dist/es/Themes/TableTheme/index.js.map +7 -0
- package/dist/es/Themes/TableTheme/index.less +46 -0
- package/dist/es/assets/image/YKUI-logo.png +0 -0
- package/dist/es/assets/less/ant-reset.less +402 -0
- package/dist/es/assets/less/index.less +1 -0
- package/dist/es/assets/less/variables.less +16 -0
- package/dist/es/business/AiChat/MarkdownRender.d.ts +9 -0
- package/dist/es/business/AiChat/MarkdownRender.js +72 -0
- package/dist/es/business/AiChat/MarkdownRender.js.map +7 -0
- package/dist/es/business/AiChat/index.d.ts +16 -0
- package/dist/es/business/AiChat/index.js +733 -0
- package/dist/es/business/AiChat/index.js.map +7 -0
- package/dist/es/business/AiChat/intentRecognizer.d.ts +33 -0
- package/dist/es/business/AiChat/intentRecognizer.js +166 -0
- package/dist/es/business/AiChat/intentRecognizer.js.map +7 -0
- package/dist/es/business/AiChat/navigationManager.d.ts +94 -0
- package/dist/es/business/AiChat/navigationManager.js +208 -0
- package/dist/es/business/AiChat/navigationManager.js.map +7 -0
- package/dist/es/business/AiChat/sse.d.ts +16 -0
- package/dist/es/business/AiChat/sse.js +171 -0
- package/dist/es/business/AiChat/sse.js.map +7 -0
- package/dist/es/business/AiChat/type.d.ts +156 -0
- package/dist/es/business/AiChat/type.js +1 -0
- package/dist/es/business/AiChat/type.js.map +7 -0
- package/dist/es/business/AiChat/useAiChat.d.ts +2 -0
- package/dist/es/business/AiChat/useAiChat.js +268 -0
- package/dist/es/business/AiChat/useAiChat.js.map +7 -0
- package/dist/es/business/AiChat/useTaskWorkflow.d.ts +25 -0
- package/dist/es/business/AiChat/useTaskWorkflow.js +196 -0
- package/dist/es/business/AiChat/useTaskWorkflow.js.map +7 -0
- package/dist/es/business/DrawerPageInfo/index.d.ts +35 -0
- package/dist/es/business/DrawerPageInfo/index.js +133 -0
- package/dist/es/business/DrawerPageInfo/index.js.map +7 -0
- package/dist/es/business/DrawerPageInfo/index.module.less +87 -0
- package/dist/es/business/DrawerPageInfo/test.png +0 -0
- package/dist/es/business/Editor/index.d.ts +11 -0
- package/dist/es/business/Editor/index.js +86 -0
- package/dist/es/business/Editor/index.js.map +7 -0
- package/dist/es/business/Editor/index.less +31 -0
- package/dist/es/business/Empty/empty.png +0 -0
- package/dist/es/business/Empty/index.d.ts +19 -0
- package/dist/es/business/Empty/index.js +51 -0
- package/dist/es/business/Empty/index.js.map +7 -0
- package/dist/es/business/ModCommonFilter/assets/images/empty.png +0 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconClose.d.ts +13 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconClose.js +51 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconClose.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconXiala.d.ts +13 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconXiala.js +51 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/IconXiala.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/index.d.ts +25 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/index.js +30 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/index.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/FilterButton/index.module.less +97 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Category.d.ts +18 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Category.js +74 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Category.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Content.d.ts +37 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Content.js +216 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Content.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Selected.d.ts +26 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Selected.js +102 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/Selected.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/index.d.ts +51 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/index.js +71 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/index.js.map +7 -0
- package/dist/es/business/ModCommonFilter/components/PopoverContent/index.module.less +260 -0
- package/dist/es/business/ModCommonFilter/index.d.ts +53 -0
- package/dist/es/business/ModCommonFilter/index.js +129 -0
- package/dist/es/business/ModCommonFilter/index.js.map +7 -0
- package/dist/es/business/ModCommonFilter/index.module.less +7 -0
- package/dist/es/business/ModCommonFilter/typing.d.ts +20 -0
- package/dist/es/business/ModCommonFilter/typing.js +1 -0
- package/dist/es/business/ModCommonFilter/typing.js.map +7 -0
- package/dist/es/business/YkPorjectSelect/icon-product.png +0 -0
- package/dist/es/business/YkPorjectSelect/index.d.ts +51 -0
- package/dist/es/business/YkPorjectSelect/index.js +260 -0
- package/dist/es/business/YkPorjectSelect/index.js.map +7 -0
- package/dist/es/business/YkPorjectSelect/index.module.less +334 -0
- package/dist/es/business/YkPorjectSelect/product-close.png +0 -0
- package/dist/es/components/Clock/index.d.ts +19 -0
- package/dist/es/components/Clock/index.js +55 -0
- package/dist/es/components/Clock/index.js.map +7 -0
- package/dist/es/components/DebounceInput/index.d.ts +16 -0
- package/dist/es/components/DebounceInput/index.js +77 -0
- package/dist/es/components/DebounceInput/index.js.map +7 -0
- package/dist/es/components/DebounceInput/index.module.less +23 -0
- package/dist/es/components/MultipleSelect/index.d.ts +23 -0
- package/dist/es/components/MultipleSelect/index.js +249 -0
- package/dist/es/components/MultipleSelect/index.js.map +7 -0
- package/dist/es/components/MultipleSelect/index.module.less +174 -0
- package/dist/es/components/NumericInput/index.d.ts +19 -0
- package/dist/es/components/NumericInput/index.js +56 -0
- package/dist/es/components/NumericInput/index.js.map +7 -0
- package/dist/es/components/RefreshButton/index.d.ts +8 -0
- package/dist/es/components/RefreshButton/index.js +21 -0
- package/dist/es/components/RefreshButton/index.js.map +7 -0
- package/dist/es/components/SearchWithHistory/index.d.ts +21 -0
- package/dist/es/components/SearchWithHistory/index.js +115 -0
- package/dist/es/components/SearchWithHistory/index.js.map +7 -0
- package/dist/es/components/SearchWithHistory/index.module.less +64 -0
- package/dist/es/components/TextWithInput/index.d.ts +15 -0
- package/dist/es/components/TextWithInput/index.js +35 -0
- package/dist/es/components/TextWithInput/index.js.map +7 -0
- package/dist/es/components/TextWithToolTip/index.d.ts +17 -0
- package/dist/es/components/TextWithToolTip/index.js +118 -0
- package/dist/es/components/TextWithToolTip/index.js.map +7 -0
- package/dist/es/components/TreeTransfer/components/TreeTransferPanel/index.d.ts +28 -0
- package/dist/es/components/TreeTransfer/components/TreeTransferPanel/index.js +161 -0
- package/dist/es/components/TreeTransfer/components/TreeTransferPanel/index.js.map +7 -0
- package/dist/es/components/TreeTransfer/components/TreeTransferPanel/index.less +151 -0
- package/dist/es/components/TreeTransfer/index.d.ts +28 -0
- package/dist/es/components/TreeTransfer/index.js +210 -0
- package/dist/es/components/TreeTransfer/index.js.map +7 -0
- package/dist/es/components/TreeTransfer/index.less +69 -0
- package/dist/es/components/TreeTransfer/types.d.ts +122 -0
- package/dist/es/components/TreeTransfer/types.js +6 -0
- package/dist/es/components/TreeTransfer/types.js.map +7 -0
- package/dist/es/components/TreeTransfer/utils/index.d.ts +120 -0
- package/dist/es/components/TreeTransfer/utils/index.js +195 -0
- package/dist/es/components/TreeTransfer/utils/index.js.map +7 -0
- package/dist/es/components/YkDateRangePicker/YkDateRangePicker.mdx +180 -0
- package/dist/es/components/YkDateRangePicker/index.d.ts +61 -0
- package/dist/es/components/YkDateRangePicker/index.js +317 -0
- package/dist/es/components/YkDateRangePicker/index.js.map +7 -0
- package/dist/es/components/YkDateRangePicker/index.module.less +304 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.d.ts +16 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.js +193 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.js.map +7 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSRange.d.ts +31 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSRange.js +576 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSRange.js.map +7 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.d.ts +16 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.js +55 -0
- package/dist/es/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.js.map +7 -0
- package/dist/es/components/YkRangeDateWithVS/index.d.ts +62 -0
- package/dist/es/components/YkRangeDateWithVS/index.js +130 -0
- package/dist/es/components/YkRangeDateWithVS/index.js.map +7 -0
- package/dist/es/components/YkRangeDateWithVS/index.module.less +566 -0
- package/dist/es/components/YkRangeDateWithVS/styles.d.ts +2 -0
- package/dist/es/components/YkRangeDateWithVS/styles.js +18 -0
- package/dist/es/components/YkRangeDateWithVS/styles.js.map +7 -0
- package/dist/es/components/YkRangeDateWithVS/typing.d.ts +15 -0
- package/dist/es/components/YkRangeTimeWithRecent/constants.d.ts +48 -0
- package/dist/es/components/YkRangeTimeWithRecent/constants.js +288 -0
- package/dist/es/components/YkRangeTimeWithRecent/constants.js.map +7 -0
- package/dist/es/components/YkRangeTimeWithRecent/index.d.ts +26 -0
- package/dist/es/components/YkRangeTimeWithRecent/index.js +647 -0
- package/dist/es/components/YkRangeTimeWithRecent/index.js.map +7 -0
- package/dist/es/components/YkRangeTimeWithRecent/index.module.less +263 -0
- package/dist/es/creative/ButtonRadioWithInfo/index.d.ts +17 -0
- package/dist/es/creative/ButtonRadioWithInfo/index.js +103 -0
- package/dist/es/creative/ButtonRadioWithInfo/index.js.map +7 -0
- package/dist/es/creative/ButtonRadioWithInfo/index.less +106 -0
- package/dist/es/creative/ButtonWithProgress/index.d.ts +11 -0
- package/dist/es/creative/ButtonWithProgress/index.js +79 -0
- package/dist/es/creative/ButtonWithProgress/index.js.map +7 -0
- package/dist/es/creative/ButtonWithProgress/index.less +66 -0
- package/dist/es/global.less +12 -0
- package/dist/es/index.d.ts +43 -0
- package/dist/es/index.js +87 -0
- package/dist/es/index.js.map +7 -0
- package/dist/es/index.less +35 -0
- package/dist/es/layout/FlexGrid/index.d.ts +25 -0
- package/dist/es/layout/FlexGrid/index.js +63 -0
- package/dist/es/layout/FlexGrid/index.js.map +7 -0
- package/dist/es/layout/YkContainer/index.d.ts +27 -0
- package/dist/es/layout/YkContainer/index.js +79 -0
- package/dist/es/layout/YkContainer/index.js.map +7 -0
- package/dist/es/layout/YkDrawer/index.d.ts +22 -0
- package/dist/es/layout/YkDrawer/index.js +160 -0
- package/dist/es/layout/YkDrawer/index.js.map +7 -0
- package/dist/es/layout/YkDrawer/index.module.less +45 -0
- package/dist/es/ui/LabelSelect/demo.d.ts +3 -0
- package/dist/es/ui/LabelSelect/demo.js +83 -0
- package/dist/es/ui/LabelSelect/demo.js.map +7 -0
- package/dist/es/ui/LabelSelect/index.d.ts +41 -0
- package/dist/es/ui/LabelSelect/index.js +136 -0
- package/dist/es/ui/LabelSelect/index.js.map +7 -0
- package/dist/es/ui/LogicOperator/index.d.ts +10 -0
- package/dist/es/ui/LogicOperator/index.js +12 -0
- package/dist/es/ui/LogicOperator/index.js.map +7 -0
- package/dist/es/ui/LogicOperator/index.module.less +97 -0
- package/dist/es/ui/YkButton/index.d.ts +9 -0
- package/dist/es/ui/YkButton/index.js +59 -0
- package/dist/es/ui/YkButton/index.js.map +7 -0
- package/dist/es/ui/YkCard/index.d.ts +4 -0
- package/dist/es/ui/YkCard/index.js +79 -0
- package/dist/es/ui/YkCard/index.js.map +7 -0
- package/dist/es/ui/YkCard/index.module.less +30 -0
- package/dist/es/ui/YkCheckbox/index.d.ts +4 -0
- package/dist/es/ui/YkCheckbox/index.js +45 -0
- package/dist/es/ui/YkCheckbox/index.js.map +7 -0
- package/dist/es/ui/YkCheckbox/index.module.less +22 -0
- package/dist/es/ui/YkDescriptions/index.d.ts +4 -0
- package/dist/es/ui/YkDescriptions/index.js +41 -0
- package/dist/es/ui/YkDescriptions/index.js.map +7 -0
- package/dist/es/ui/YkPagination/index.d.ts +4 -0
- package/dist/es/ui/YkPagination/index.js +63 -0
- package/dist/es/ui/YkPagination/index.js.map +7 -0
- package/dist/es/ui/YkPagination/index.module.less +22 -0
- package/dist/es/ui/YkRadio/index.d.ts +4 -0
- package/dist/es/ui/YkRadio/index.js +51 -0
- package/dist/es/ui/YkRadio/index.js.map +7 -0
- package/dist/es/ui/YkRadio/index.module.less +22 -0
- package/dist/es/ui/YkRadioBtnSpecial/index.d.ts +15 -0
- package/dist/es/ui/YkRadioBtnSpecial/index.js +23 -0
- package/dist/es/ui/YkRadioBtnSpecial/index.js.map +7 -0
- package/dist/es/ui/YkRadioBtnSpecial/index.module.less +112 -0
- package/dist/es/ui/YkSegmented/index.d.ts +4 -0
- package/dist/es/ui/YkSegmented/index.js +41 -0
- package/dist/es/ui/YkSegmented/index.js.map +7 -0
- package/dist/es/ui/YkSelect/index.d.ts +7 -0
- package/dist/es/ui/YkSelect/index.js +54 -0
- package/dist/es/ui/YkSelect/index.js.map +7 -0
- package/dist/es/ui/YkSpin/index.d.ts +4 -0
- package/dist/es/ui/YkSpin/index.js +41 -0
- package/dist/es/ui/YkSpin/index.js.map +7 -0
- package/dist/es/ui/YkStatistic/index.d.ts +4 -0
- package/dist/es/ui/YkStatistic/index.js +41 -0
- package/dist/es/ui/YkStatistic/index.js.map +7 -0
- package/dist/es/ui/YkSwitch/index.d.ts +4 -0
- package/dist/es/ui/YkSwitch/index.js +51 -0
- package/dist/es/ui/YkSwitch/index.js.map +7 -0
- package/dist/es/ui/YkTabs/index.d.ts +12 -0
- package/dist/es/ui/YkTabs/index.js +75 -0
- package/dist/es/ui/YkTabs/index.js.map +7 -0
- package/dist/es/ui/YkTabs/index.module.less +11 -0
- package/dist/es/ui/YkTooltip/index.d.ts +4 -0
- package/dist/es/ui/YkTooltip/index.js +50 -0
- package/dist/es/ui/YkTooltip/index.js.map +7 -0
- package/dist/es/utils/styleUtils.d.ts +18 -0
- package/dist/es/utils/styleUtils.js +57 -0
- package/dist/es/utils/styleUtils.js.map +7 -0
- package/dist/es/utils/ykStorybookDoc.d.ts +17 -0
- package/dist/es/utils/ykStorybookDoc.js +18 -0
- package/dist/es/utils/ykStorybookDoc.js.map +7 -0
- package/dist/lib/Themes/InputTheme/index.d.ts +6 -0
- package/dist/lib/Themes/InputTheme/index.js +52 -0
- package/dist/lib/Themes/InputTheme/index.js.map +7 -0
- package/dist/lib/Themes/TableTheme/index.d.ts +7 -0
- package/dist/lib/Themes/TableTheme/index.js +61 -0
- package/dist/lib/Themes/TableTheme/index.js.map +7 -0
- package/dist/lib/Themes/TableTheme/index.less +46 -0
- package/dist/lib/assets/image/YKUI-logo.png +0 -0
- package/dist/lib/assets/less/ant-reset.less +402 -0
- package/dist/lib/assets/less/index.less +1 -0
- package/dist/lib/assets/less/variables.less +16 -0
- package/dist/lib/business/AiChat/MarkdownRender.d.ts +9 -0
- package/dist/lib/business/AiChat/MarkdownRender.js +102 -0
- package/dist/lib/business/AiChat/MarkdownRender.js.map +7 -0
- package/dist/lib/business/AiChat/index.d.ts +16 -0
- package/dist/lib/business/AiChat/index.js +723 -0
- package/dist/lib/business/AiChat/index.js.map +7 -0
- package/dist/lib/business/AiChat/intentRecognizer.d.ts +33 -0
- package/dist/lib/business/AiChat/intentRecognizer.js +193 -0
- package/dist/lib/business/AiChat/intentRecognizer.js.map +7 -0
- package/dist/lib/business/AiChat/navigationManager.d.ts +94 -0
- package/dist/lib/business/AiChat/navigationManager.js +214 -0
- package/dist/lib/business/AiChat/navigationManager.js.map +7 -0
- package/dist/lib/business/AiChat/sse.d.ts +16 -0
- package/dist/lib/business/AiChat/sse.js +171 -0
- package/dist/lib/business/AiChat/sse.js.map +7 -0
- package/dist/lib/business/AiChat/type.d.ts +156 -0
- package/dist/lib/business/AiChat/type.js +18 -0
- package/dist/lib/business/AiChat/type.js.map +7 -0
- package/dist/lib/business/AiChat/useAiChat.d.ts +2 -0
- package/dist/lib/business/AiChat/useAiChat.js +252 -0
- package/dist/lib/business/AiChat/useAiChat.js.map +7 -0
- package/dist/lib/business/AiChat/useTaskWorkflow.d.ts +25 -0
- package/dist/lib/business/AiChat/useTaskWorkflow.js +182 -0
- package/dist/lib/business/AiChat/useTaskWorkflow.js.map +7 -0
- package/dist/lib/business/DrawerPageInfo/index.d.ts +35 -0
- package/dist/lib/business/DrawerPageInfo/index.js +163 -0
- package/dist/lib/business/DrawerPageInfo/index.js.map +7 -0
- package/dist/lib/business/DrawerPageInfo/index.module.less +87 -0
- package/dist/lib/business/DrawerPageInfo/test.png +0 -0
- package/dist/lib/business/Editor/index.d.ts +11 -0
- package/dist/lib/business/Editor/index.js +99 -0
- package/dist/lib/business/Editor/index.js.map +7 -0
- package/dist/lib/business/Editor/index.less +31 -0
- package/dist/lib/business/Empty/empty.png +0 -0
- package/dist/lib/business/Empty/index.d.ts +19 -0
- package/dist/lib/business/Empty/index.js +65 -0
- package/dist/lib/business/Empty/index.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/assets/images/empty.png +0 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconClose.d.ts +13 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconClose.js +50 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconClose.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconXiala.d.ts +13 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconXiala.js +50 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/IconXiala.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/index.d.ts +25 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/index.js +60 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/index.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/FilterButton/index.module.less +97 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Category.d.ts +18 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Category.js +69 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Category.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Content.d.ts +37 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Content.js +211 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Content.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Selected.d.ts +26 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Selected.js +97 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/Selected.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/index.d.ts +51 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/index.js +101 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/index.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/components/PopoverContent/index.module.less +260 -0
- package/dist/lib/business/ModCommonFilter/index.d.ts +53 -0
- package/dist/lib/business/ModCommonFilter/index.js +143 -0
- package/dist/lib/business/ModCommonFilter/index.js.map +7 -0
- package/dist/lib/business/ModCommonFilter/index.module.less +7 -0
- package/dist/lib/business/ModCommonFilter/typing.d.ts +20 -0
- package/dist/lib/business/ModCommonFilter/typing.js +18 -0
- package/dist/lib/business/ModCommonFilter/typing.js.map +7 -0
- package/dist/lib/business/YkPorjectSelect/icon-product.png +0 -0
- package/dist/lib/business/YkPorjectSelect/index.d.ts +51 -0
- package/dist/lib/business/YkPorjectSelect/index.js +235 -0
- package/dist/lib/business/YkPorjectSelect/index.js.map +7 -0
- package/dist/lib/business/YkPorjectSelect/index.module.less +334 -0
- package/dist/lib/business/YkPorjectSelect/product-close.png +0 -0
- package/dist/lib/components/Clock/index.d.ts +19 -0
- package/dist/lib/components/Clock/index.js +85 -0
- package/dist/lib/components/Clock/index.js.map +7 -0
- package/dist/lib/components/DebounceInput/index.d.ts +16 -0
- package/dist/lib/components/DebounceInput/index.js +107 -0
- package/dist/lib/components/DebounceInput/index.js.map +7 -0
- package/dist/lib/components/DebounceInput/index.module.less +23 -0
- package/dist/lib/components/MultipleSelect/index.d.ts +23 -0
- package/dist/lib/components/MultipleSelect/index.js +279 -0
- package/dist/lib/components/MultipleSelect/index.js.map +7 -0
- package/dist/lib/components/MultipleSelect/index.module.less +174 -0
- package/dist/lib/components/NumericInput/index.d.ts +19 -0
- package/dist/lib/components/NumericInput/index.js +67 -0
- package/dist/lib/components/NumericInput/index.js.map +7 -0
- package/dist/lib/components/RefreshButton/index.d.ts +8 -0
- package/dist/lib/components/RefreshButton/index.js +51 -0
- package/dist/lib/components/RefreshButton/index.js.map +7 -0
- package/dist/lib/components/SearchWithHistory/index.d.ts +21 -0
- package/dist/lib/components/SearchWithHistory/index.js +145 -0
- package/dist/lib/components/SearchWithHistory/index.js.map +7 -0
- package/dist/lib/components/SearchWithHistory/index.module.less +64 -0
- package/dist/lib/components/TextWithInput/index.d.ts +15 -0
- package/dist/lib/components/TextWithInput/index.js +65 -0
- package/dist/lib/components/TextWithInput/index.js.map +7 -0
- package/dist/lib/components/TextWithToolTip/index.d.ts +17 -0
- package/dist/lib/components/TextWithToolTip/index.js +134 -0
- package/dist/lib/components/TextWithToolTip/index.js.map +7 -0
- package/dist/lib/components/TreeTransfer/components/TreeTransferPanel/index.d.ts +28 -0
- package/dist/lib/components/TreeTransfer/components/TreeTransferPanel/index.js +191 -0
- package/dist/lib/components/TreeTransfer/components/TreeTransferPanel/index.js.map +7 -0
- package/dist/lib/components/TreeTransfer/components/TreeTransferPanel/index.less +151 -0
- package/dist/lib/components/TreeTransfer/index.d.ts +28 -0
- package/dist/lib/components/TreeTransfer/index.js +214 -0
- package/dist/lib/components/TreeTransfer/index.js.map +7 -0
- package/dist/lib/components/TreeTransfer/index.less +69 -0
- package/dist/lib/components/TreeTransfer/types.d.ts +122 -0
- package/dist/lib/components/TreeTransfer/types.js +30 -0
- package/dist/lib/components/TreeTransfer/types.js.map +7 -0
- package/dist/lib/components/TreeTransfer/utils/index.d.ts +120 -0
- package/dist/lib/components/TreeTransfer/utils/index.js +208 -0
- package/dist/lib/components/TreeTransfer/utils/index.js.map +7 -0
- package/dist/lib/components/YkDateRangePicker/YkDateRangePicker.mdx +180 -0
- package/dist/lib/components/YkDateRangePicker/index.d.ts +61 -0
- package/dist/lib/components/YkDateRangePicker/index.js +338 -0
- package/dist/lib/components/YkDateRangePicker/index.js.map +7 -0
- package/dist/lib/components/YkDateRangePicker/index.module.less +304 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.d.ts +16 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.js +223 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSCompare.js.map +7 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSRange.d.ts +31 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSRange.js +587 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSRange.js.map +7 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.d.ts +16 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.js +85 -0
- package/dist/lib/components/YkRangeDateWithVS/YkRangeDateWithVSSelect.js.map +7 -0
- package/dist/lib/components/YkRangeDateWithVS/index.d.ts +62 -0
- package/dist/lib/components/YkRangeDateWithVS/index.js +140 -0
- package/dist/lib/components/YkRangeDateWithVS/index.js.map +7 -0
- package/dist/lib/components/YkRangeDateWithVS/index.module.less +566 -0
- package/dist/lib/components/YkRangeDateWithVS/styles.d.ts +2 -0
- package/dist/lib/components/YkRangeDateWithVS/styles.js +48 -0
- package/dist/lib/components/YkRangeDateWithVS/styles.js.map +7 -0
- package/dist/lib/components/YkRangeDateWithVS/typing.d.ts +15 -0
- package/dist/lib/components/YkRangeTimeWithRecent/constants.d.ts +48 -0
- package/dist/lib/components/YkRangeTimeWithRecent/constants.js +333 -0
- package/dist/lib/components/YkRangeTimeWithRecent/constants.js.map +7 -0
- package/dist/lib/components/YkRangeTimeWithRecent/index.d.ts +26 -0
- package/dist/lib/components/YkRangeTimeWithRecent/index.js +647 -0
- package/dist/lib/components/YkRangeTimeWithRecent/index.js.map +7 -0
- package/dist/lib/components/YkRangeTimeWithRecent/index.module.less +263 -0
- package/dist/lib/creative/ButtonRadioWithInfo/index.d.ts +17 -0
- package/dist/lib/creative/ButtonRadioWithInfo/index.js +102 -0
- package/dist/lib/creative/ButtonRadioWithInfo/index.js.map +7 -0
- package/dist/lib/creative/ButtonRadioWithInfo/index.less +106 -0
- package/dist/lib/creative/ButtonWithProgress/index.d.ts +11 -0
- package/dist/lib/creative/ButtonWithProgress/index.js +70 -0
- package/dist/lib/creative/ButtonWithProgress/index.js.map +7 -0
- package/dist/lib/creative/ButtonWithProgress/index.less +66 -0
- package/dist/lib/global.less +12 -0
- package/dist/lib/index.d.ts +43 -0
- package/dist/lib/index.js +161 -0
- package/dist/lib/index.js.map +7 -0
- package/dist/lib/index.less +35 -0
- package/dist/lib/layout/FlexGrid/index.d.ts +25 -0
- package/dist/lib/layout/FlexGrid/index.js +77 -0
- package/dist/lib/layout/FlexGrid/index.js.map +7 -0
- package/dist/lib/layout/YkContainer/index.d.ts +27 -0
- package/dist/lib/layout/YkContainer/index.js +79 -0
- package/dist/lib/layout/YkContainer/index.js.map +7 -0
- package/dist/lib/layout/YkDrawer/index.d.ts +22 -0
- package/dist/lib/layout/YkDrawer/index.js +152 -0
- package/dist/lib/layout/YkDrawer/index.js.map +7 -0
- package/dist/lib/layout/YkDrawer/index.module.less +45 -0
- package/dist/lib/ui/LabelSelect/demo.d.ts +3 -0
- package/dist/lib/ui/LabelSelect/demo.js +113 -0
- package/dist/lib/ui/LabelSelect/demo.js.map +7 -0
- package/dist/lib/ui/LabelSelect/index.d.ts +41 -0
- package/dist/lib/ui/LabelSelect/index.js +124 -0
- package/dist/lib/ui/LabelSelect/index.js.map +7 -0
- package/dist/lib/ui/LogicOperator/index.d.ts +10 -0
- package/dist/lib/ui/LogicOperator/index.js +42 -0
- package/dist/lib/ui/LogicOperator/index.js.map +7 -0
- package/dist/lib/ui/LogicOperator/index.module.less +97 -0
- package/dist/lib/ui/YkButton/index.d.ts +9 -0
- package/dist/lib/ui/YkButton/index.js +55 -0
- package/dist/lib/ui/YkButton/index.js.map +7 -0
- package/dist/lib/ui/YkCard/index.d.ts +4 -0
- package/dist/lib/ui/YkCard/index.js +76 -0
- package/dist/lib/ui/YkCard/index.js.map +7 -0
- package/dist/lib/ui/YkCard/index.module.less +30 -0
- package/dist/lib/ui/YkCheckbox/index.d.ts +4 -0
- package/dist/lib/ui/YkCheckbox/index.js +42 -0
- package/dist/lib/ui/YkCheckbox/index.js.map +7 -0
- package/dist/lib/ui/YkCheckbox/index.module.less +22 -0
- package/dist/lib/ui/YkDescriptions/index.d.ts +4 -0
- package/dist/lib/ui/YkDescriptions/index.js +41 -0
- package/dist/lib/ui/YkDescriptions/index.js.map +7 -0
- package/dist/lib/ui/YkPagination/index.d.ts +4 -0
- package/dist/lib/ui/YkPagination/index.js +60 -0
- package/dist/lib/ui/YkPagination/index.js.map +7 -0
- package/dist/lib/ui/YkPagination/index.module.less +22 -0
- package/dist/lib/ui/YkRadio/index.d.ts +4 -0
- package/dist/lib/ui/YkRadio/index.js +51 -0
- package/dist/lib/ui/YkRadio/index.js.map +7 -0
- package/dist/lib/ui/YkRadio/index.module.less +22 -0
- package/dist/lib/ui/YkRadioBtnSpecial/index.d.ts +15 -0
- package/dist/lib/ui/YkRadioBtnSpecial/index.js +53 -0
- package/dist/lib/ui/YkRadioBtnSpecial/index.js.map +7 -0
- package/dist/lib/ui/YkRadioBtnSpecial/index.module.less +112 -0
- package/dist/lib/ui/YkSegmented/index.d.ts +4 -0
- package/dist/lib/ui/YkSegmented/index.js +41 -0
- package/dist/lib/ui/YkSegmented/index.js.map +7 -0
- package/dist/lib/ui/YkSelect/index.d.ts +7 -0
- package/dist/lib/ui/YkSelect/index.js +54 -0
- package/dist/lib/ui/YkSelect/index.js.map +7 -0
- package/dist/lib/ui/YkSpin/index.d.ts +4 -0
- package/dist/lib/ui/YkSpin/index.js +41 -0
- package/dist/lib/ui/YkSpin/index.js.map +7 -0
- package/dist/lib/ui/YkStatistic/index.d.ts +4 -0
- package/dist/lib/ui/YkStatistic/index.js +41 -0
- package/dist/lib/ui/YkStatistic/index.js.map +7 -0
- package/dist/lib/ui/YkSwitch/index.d.ts +4 -0
- package/dist/lib/ui/YkSwitch/index.js +51 -0
- package/dist/lib/ui/YkSwitch/index.js.map +7 -0
- package/dist/lib/ui/YkTabs/index.d.ts +12 -0
- package/dist/lib/ui/YkTabs/index.js +70 -0
- package/dist/lib/ui/YkTabs/index.js.map +7 -0
- package/dist/lib/ui/YkTabs/index.module.less +11 -0
- package/dist/lib/ui/YkTooltip/index.d.ts +4 -0
- package/dist/lib/ui/YkTooltip/index.js +45 -0
- package/dist/lib/ui/YkTooltip/index.js.map +7 -0
- package/dist/lib/utils/styleUtils.d.ts +18 -0
- package/dist/lib/utils/styleUtils.js +84 -0
- package/dist/lib/utils/styleUtils.js.map +7 -0
- package/dist/lib/utils/ykStorybookDoc.d.ts +17 -0
- package/dist/lib/utils/ykStorybookDoc.js +41 -0
- package/dist/lib/utils/ykStorybookDoc.js.map +7 -0
- package/package.json +148 -0
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
.ykPorjectSelect {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.ykPorjectSelectShow {
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
align-self: flex-start;
|
|
10
|
+
width: fit-content;
|
|
11
|
+
max-width: 100%;
|
|
12
|
+
height: 35px;
|
|
13
|
+
padding: 0 15px 0 20px;
|
|
14
|
+
background-color: #f7f8fa;
|
|
15
|
+
border-radius: 18px;
|
|
16
|
+
box-shadow: inset 0px 0px 0px 0px rgba(20, 31, 62, 0.5);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: #f2f3f8;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.ykPorjectSelectShowIcon {
|
|
25
|
+
position: relative;
|
|
26
|
+
width: 25px;
|
|
27
|
+
height: 25px;
|
|
28
|
+
background-size: 100% 100%;
|
|
29
|
+
border-radius: 5px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ykPorjectSelectShowText {
|
|
33
|
+
width: 150px;
|
|
34
|
+
margin-right: 10px;
|
|
35
|
+
margin-left: 10px;
|
|
36
|
+
overflow: hidden;
|
|
37
|
+
color: #252934;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-size: 15px;
|
|
40
|
+
font-family:
|
|
41
|
+
PingFangSC-Regular,
|
|
42
|
+
PingFang SC;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
text-overflow: ellipsis;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ykPorjectSelectContent {
|
|
49
|
+
position: relative;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
width: 350px;
|
|
53
|
+
padding: 0;
|
|
54
|
+
background-color: #fff;
|
|
55
|
+
border-radius: 4px;
|
|
56
|
+
|
|
57
|
+
.ykPorjectSelectHeader {
|
|
58
|
+
flex-shrink: 0;
|
|
59
|
+
padding: 10px 4px;
|
|
60
|
+
border-bottom: 1px solid #e7e7e7;
|
|
61
|
+
|
|
62
|
+
.ykPorjectSelectSearchInput {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 30px;
|
|
67
|
+
line-height: 30px;
|
|
68
|
+
border: none;
|
|
69
|
+
box-shadow: none;
|
|
70
|
+
|
|
71
|
+
:global {
|
|
72
|
+
input {
|
|
73
|
+
line-height: 30px;
|
|
74
|
+
caret-color: #1890ff;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
input::placeholder {
|
|
78
|
+
font-size: 12px;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ykPorjectSelectSoltContainer {
|
|
85
|
+
border-bottom: 1px solid #e7e7e7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.contentHeader {
|
|
89
|
+
height: 20px;
|
|
90
|
+
margin: 10px 0;
|
|
91
|
+
padding-left: 20px;
|
|
92
|
+
color: #999;
|
|
93
|
+
font-weight: 500;
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
line-height: 20px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ykPorjectSelectFollowed {
|
|
99
|
+
flex-shrink: 0;
|
|
100
|
+
|
|
101
|
+
.ykPorjectSelectFollowedList {
|
|
102
|
+
position: relative;
|
|
103
|
+
display: flex;
|
|
104
|
+
gap: 14px;
|
|
105
|
+
padding: 0 20px 10px 20px;
|
|
106
|
+
border-bottom: 1px solid #ecedf1;
|
|
107
|
+
|
|
108
|
+
.ykPorjectSelectFollowedItem {
|
|
109
|
+
position: relative;
|
|
110
|
+
|
|
111
|
+
&:hover {
|
|
112
|
+
.closeIcon {
|
|
113
|
+
opacity: 1;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.ykPorjectSelectFollowedItemIcon {
|
|
118
|
+
width: 40px;
|
|
119
|
+
height: 40px;
|
|
120
|
+
border-radius: 5px;
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.closeIcon {
|
|
125
|
+
position: absolute;
|
|
126
|
+
top: -2px;
|
|
127
|
+
right: -2px;
|
|
128
|
+
width: 14px;
|
|
129
|
+
height: 14px;
|
|
130
|
+
font-size: 14px;
|
|
131
|
+
background: url('./product-close.png') no-repeat center center;
|
|
132
|
+
background-size: 100% 100%;
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
opacity: 0;
|
|
135
|
+
transition: all 0.2s linear;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
// 列表区:flex 子项需 min-height:0,否则 Scrollbars 会被内容撑满、无法内部滚动
|
|
142
|
+
.ykPorjectSelectListSection {
|
|
143
|
+
display: flex;
|
|
144
|
+
flex: 1;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
min-height: 0;
|
|
147
|
+
margin-bottom: 5px;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.ykPorjectSelectProductPanelTabs {
|
|
152
|
+
flex-shrink: 0;
|
|
153
|
+
margin-top: 15px;
|
|
154
|
+
margin-bottom: 0;
|
|
155
|
+
border-bottom: 1px solid #ecedf1;
|
|
156
|
+
|
|
157
|
+
:global {
|
|
158
|
+
.ant-tabs-nav {
|
|
159
|
+
margin-bottom: 0;
|
|
160
|
+
|
|
161
|
+
&:before {
|
|
162
|
+
border-bottom: none;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.ant-tabs-nav-wrap {
|
|
166
|
+
.ant-tabs-nav-list {
|
|
167
|
+
.ant-tabs-tab-active {
|
|
168
|
+
.ant-tabs-tab-btn {
|
|
169
|
+
color: #666;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.ant-tabs-tab {
|
|
174
|
+
padding: 5px 0 6px 0;
|
|
175
|
+
color: #999;
|
|
176
|
+
font-weight: 400;
|
|
177
|
+
font-size: 14px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.ant-tabs-ink-bar {
|
|
181
|
+
height: 2px;
|
|
182
|
+
border-radius: 3px;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.ykPorjectSelectScrollBarsBox {
|
|
191
|
+
flex: 1;
|
|
192
|
+
min-height: 0;
|
|
193
|
+
|
|
194
|
+
:global(> div:first-of-type) {
|
|
195
|
+
padding: 0 10px;
|
|
196
|
+
overscroll-behavior: contain;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.contentItem {
|
|
200
|
+
position: relative;
|
|
201
|
+
padding: 4px 0 4px 10px;
|
|
202
|
+
color: #666666;
|
|
203
|
+
font-weight: 400;
|
|
204
|
+
font-size: 14px;
|
|
205
|
+
transition: 0.2s linear all;
|
|
206
|
+
|
|
207
|
+
&:hover {
|
|
208
|
+
background: #f0f9ff;
|
|
209
|
+
|
|
210
|
+
:global {
|
|
211
|
+
.ant-rate {
|
|
212
|
+
opacity: 1 !important;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.contentItemSpan {
|
|
217
|
+
color: #333;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.contentItemSpanProName {
|
|
221
|
+
color: #333 !important;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&.contentItemActive {
|
|
226
|
+
background: #f0f9ff;
|
|
227
|
+
border-radius: 4px;
|
|
228
|
+
|
|
229
|
+
.contentItemSpan {
|
|
230
|
+
color: #1677ff;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.contentItemSpanProName {
|
|
234
|
+
color: #1677ff !important;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.contentItemSpanProId {
|
|
238
|
+
color: #1677ff !important;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
:global {
|
|
243
|
+
.ant-flex-align-center {
|
|
244
|
+
border-radius: 6px;
|
|
245
|
+
cursor: pointer;
|
|
246
|
+
transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.contentItemStar {
|
|
251
|
+
width: 45px;
|
|
252
|
+
height: 37px;
|
|
253
|
+
line-height: 37px;
|
|
254
|
+
text-align: center;
|
|
255
|
+
cursor: pointer;
|
|
256
|
+
|
|
257
|
+
&.contentItemStarDisabled {
|
|
258
|
+
cursor: not-allowed !important;
|
|
259
|
+
|
|
260
|
+
:global {
|
|
261
|
+
.ant-rate-star {
|
|
262
|
+
cursor: not-allowed !important;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
:global {
|
|
268
|
+
.ant-rate-star {
|
|
269
|
+
cursor: pointer;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.ant-rate-star > div {
|
|
273
|
+
transform: scale(1) !important;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.contentItemSpan {
|
|
279
|
+
display: flex;
|
|
280
|
+
flex: 1;
|
|
281
|
+
align-items: center;
|
|
282
|
+
padding: 2px 0 1px 0;
|
|
283
|
+
overflow: hidden;
|
|
284
|
+
color: #666666;
|
|
285
|
+
font-weight: 400;
|
|
286
|
+
font-size: 14px;
|
|
287
|
+
white-space: nowrap;
|
|
288
|
+
text-overflow: ellipsis;
|
|
289
|
+
|
|
290
|
+
.contentItemSpanIcon {
|
|
291
|
+
width: 30px;
|
|
292
|
+
height: 30px;
|
|
293
|
+
margin-right: 10px;
|
|
294
|
+
border-radius: 5px;
|
|
295
|
+
transform: translateY(-1px);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.contentItemSpanDev {
|
|
299
|
+
display: flex;
|
|
300
|
+
flex-direction: column;
|
|
301
|
+
justify-content: center;
|
|
302
|
+
color: #666666;
|
|
303
|
+
font-weight: 400;
|
|
304
|
+
font-size: 14px;
|
|
305
|
+
|
|
306
|
+
.contentItemSpanProName {
|
|
307
|
+
display: flex;
|
|
308
|
+
gap: 10px;
|
|
309
|
+
align-items: center;
|
|
310
|
+
color: #555555;
|
|
311
|
+
line-height: 20px;
|
|
312
|
+
|
|
313
|
+
.recentVisit {
|
|
314
|
+
height: 20px;
|
|
315
|
+
padding: 2px 4px;
|
|
316
|
+
color: #0a6bfd;
|
|
317
|
+
font-size: 10px;
|
|
318
|
+
line-height: 14px;
|
|
319
|
+
background: #f6f8ff;
|
|
320
|
+
border: 1px solid #e2ebfd;
|
|
321
|
+
border-radius: 2px;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.contentItemSpanProId {
|
|
326
|
+
color: #999;
|
|
327
|
+
font-size: 12px;
|
|
328
|
+
line-height: 14px;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 倒计时时钟组件的 Props
|
|
4
|
+
*/
|
|
5
|
+
type props = {
|
|
6
|
+
/** 根节点类名,可选,用于样式覆盖 */
|
|
7
|
+
className?: string;
|
|
8
|
+
/** 秒数后的文案,默认「秒后更新数据」,展示为「{time} {text}」 */
|
|
9
|
+
text?: string;
|
|
10
|
+
/** 是否隐藏文案,默认 false */
|
|
11
|
+
hideText?: boolean;
|
|
12
|
+
/** 剩余 1 秒时触发的回调,常用于刷新数据 */
|
|
13
|
+
cellBack: () => void;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* 倒计时时钟:展示距下一整分钟的剩余秒数,带环形进度条,剩 1 秒时调用 cellBack。
|
|
17
|
+
*/
|
|
18
|
+
declare const Clock: React.FC<props>;
|
|
19
|
+
export default Clock;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/Clock/index.tsx
|
|
30
|
+
var Clock_exports = {};
|
|
31
|
+
__export(Clock_exports, {
|
|
32
|
+
default: () => Clock_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(Clock_exports);
|
|
35
|
+
var import_classnames = __toESM(require("classnames"));
|
|
36
|
+
var import_react = __toESM(require("react"));
|
|
37
|
+
var Clock = ({ className, text = "秒后更新数据", hideText = false, cellBack }) => {
|
|
38
|
+
const formatTime = (date) => {
|
|
39
|
+
return 60 - date.getSeconds();
|
|
40
|
+
};
|
|
41
|
+
const [time, setTime] = (0, import_react.useState)(formatTime(/* @__PURE__ */ new Date()));
|
|
42
|
+
const cellBackRef = (0, import_react.useRef)(cellBack);
|
|
43
|
+
(0, import_react.useEffect)(() => {
|
|
44
|
+
cellBackRef.current = cellBack;
|
|
45
|
+
}, [cellBack]);
|
|
46
|
+
(0, import_react.useEffect)(() => {
|
|
47
|
+
const timer = setInterval(() => {
|
|
48
|
+
const newTime = formatTime(/* @__PURE__ */ new Date());
|
|
49
|
+
setTime(newTime);
|
|
50
|
+
if (newTime === 1) {
|
|
51
|
+
cellBackRef.current();
|
|
52
|
+
}
|
|
53
|
+
}, 1e3);
|
|
54
|
+
return () => {
|
|
55
|
+
clearInterval(timer);
|
|
56
|
+
};
|
|
57
|
+
}, []);
|
|
58
|
+
const progress = time / 60 * 100;
|
|
59
|
+
const radius = 16 / 2;
|
|
60
|
+
const circumference = 2 * Math.PI * radius;
|
|
61
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
62
|
+
"div",
|
|
63
|
+
{
|
|
64
|
+
className: (0, import_classnames.default)("op-clock", className),
|
|
65
|
+
style: { display: "flex", alignItems: "baseline", marginLeft: 15 }
|
|
66
|
+
},
|
|
67
|
+
/* @__PURE__ */ import_react.default.createElement("div", { className: "op-clock-icon" }, /* @__PURE__ */ import_react.default.createElement("svg", { style: { width: 18, height: 18, transform: "translateY(20%)" } }, /* @__PURE__ */ import_react.default.createElement("circle", { r: radius, cx: "9", cy: "9", stroke: "#EDEFF4", strokeWidth: "2", fill: "transparent" }), /* @__PURE__ */ import_react.default.createElement(
|
|
68
|
+
"circle",
|
|
69
|
+
{
|
|
70
|
+
r: radius,
|
|
71
|
+
cx: "9",
|
|
72
|
+
cy: "9",
|
|
73
|
+
stroke: "#65DAAA",
|
|
74
|
+
strokeWidth: "2",
|
|
75
|
+
fill: "transparent",
|
|
76
|
+
strokeDasharray: circumference,
|
|
77
|
+
strokeDashoffset: `${circumference * (100 - progress) / 100}`,
|
|
78
|
+
transform: "rotate(-90 9 9)"
|
|
79
|
+
}
|
|
80
|
+
))),
|
|
81
|
+
/* @__PURE__ */ import_react.default.createElement("div", { style: { color: "#6b7981", fontSize: 12, marginLeft: 7 } }, hideText ? "" : `${time} ${text}`)
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
var Clock_default = Clock;
|
|
85
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/Clock/index.tsx"],
|
|
4
|
+
"sourcesContent": ["import classNames from 'classnames';\nimport React, { useEffect, useRef, useState } from 'react';\n\n/**\n * 倒计时时钟组件的 Props\n */\ntype props = {\n /** 根节点类名,可选,用于样式覆盖 */\n className?: string;\n /** 秒数后的文案,默认「秒后更新数据」,展示为「{time} {text}」 */\n text?: string;\n /** 是否隐藏文案,默认 false */\n hideText?: boolean;\n /** 剩余 1 秒时触发的回调,常用于刷新数据 */\n cellBack: () => void;\n};\n\n/**\n * 倒计时时钟:展示距下一整分钟的剩余秒数,带环形进度条,剩 1 秒时调用 cellBack。\n */\nconst Clock: React.FC<props> = ({ className, text = '秒后更新数据', hideText = false, cellBack }) => {\n /** 计算距下一整分钟的秒数:60 - 当前秒数 */\n const formatTime = (date: Date) => {\n return 60 - date.getSeconds();\n };\n\n /** 当前剩余秒数,每秒更新 */\n const [time, setTime] = useState(formatTime(new Date()));\n const cellBackRef = useRef(cellBack);\n\n /** 保证 interval 内始终调用到最新的 cellBack,避免闭包旧引用 */\n useEffect(() => {\n cellBackRef.current = cellBack;\n }, [cellBack]);\n\n /** 每秒更新剩余秒数,并在剩 1 秒时执行 cellBack */\n useEffect(() => {\n const timer = setInterval(() => {\n const newTime = formatTime(new Date());\n setTime(newTime);\n\n if (newTime === 1) {\n cellBackRef.current();\n }\n }, 1000);\n\n return () => {\n clearInterval(timer);\n };\n }, []);\n\n /** 进度条百分比(0~100),时间越少进度越少 */\n const progress = (time / 60) * 100;\n const radius = 16 / 2;\n const circumference = 2 * Math.PI * radius;\n\n return (\n <div\n className={classNames('op-clock', className)}\n style={{ display: 'flex', alignItems: 'baseline', marginLeft: 15 }}\n >\n <div className='op-clock-icon'>\n <svg style={{ width: 18, height: 18, transform: 'translateY(20%)' }}>\n <circle r={radius} cx='9' cy='9' stroke='#EDEFF4' strokeWidth='2' fill='transparent' />\n <circle\n r={radius}\n cx='9'\n cy='9'\n stroke='#65DAAA'\n strokeWidth='2'\n fill='transparent'\n strokeDasharray={circumference}\n strokeDashoffset={`${(circumference * (100 - progress)) / 100}`}\n transform='rotate(-90 9 9)'\n />\n </svg>\n </div>\n <div style={{ color: '#6b7981', fontSize: 12, marginLeft: 7 }}>{hideText ? '' : `${time} ${text}`}</div>\n </div>\n );\n};\n\nexport default Clock;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAuB;AACvB,mBAAmD;AAmBnD,IAAM,QAAyB,CAAC,EAAE,WAAW,OAAO,UAAU,WAAW,OAAO,SAAS,MAAM;AAE7F,QAAM,aAAa,CAAC,SAAe;AACjC,WAAO,KAAK,KAAK,WAAW;AAAA,EAC9B;AAGA,QAAM,CAAC,MAAM,OAAO,QAAI,uBAAS,WAAW,oBAAI,KAAK,CAAC,CAAC;AACvD,QAAM,kBAAc,qBAAO,QAAQ;AAGnC,8BAAU,MAAM;AACd,gBAAY,UAAU;AAAA,EACxB,GAAG,CAAC,QAAQ,CAAC;AAGb,8BAAU,MAAM;AACd,UAAM,QAAQ,YAAY,MAAM;AAC9B,YAAM,UAAU,WAAW,oBAAI,KAAK,CAAC;AACrC,cAAQ,OAAO;AAEf,UAAI,YAAY,GAAG;AACjB,oBAAY,QAAQ;AAAA,MACtB;AAAA,IACF,GAAG,GAAI;AAEP,WAAO,MAAM;AACX,oBAAc,KAAK;AAAA,IACrB;AAAA,EACF,GAAG,CAAC,CAAC;AAGL,QAAM,WAAY,OAAO,KAAM;AAC/B,QAAM,SAAS,KAAK;AACpB,QAAM,gBAAgB,IAAI,KAAK,KAAK;AAEpC,SACE,6BAAAA,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,eAAW,kBAAAC,SAAW,YAAY,SAAS;AAAA,MAC3C,OAAO,EAAE,SAAS,QAAQ,YAAY,YAAY,YAAY,GAAG;AAAA;AAAA,IAEjE,6BAAAD,QAAA,cAAC,SAAI,WAAU,mBACb,6BAAAA,QAAA,cAAC,SAAI,OAAO,EAAE,OAAO,IAAI,QAAQ,IAAI,WAAW,kBAAkB,KAChE,6BAAAA,QAAA,cAAC,YAAO,GAAG,QAAQ,IAAG,KAAI,IAAG,KAAI,QAAO,WAAU,aAAY,KAAI,MAAK,eAAc,GACrF,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,GAAG;AAAA,QACH,IAAG;AAAA,QACH,IAAG;AAAA,QACH,QAAO;AAAA,QACP,aAAY;AAAA,QACZ,MAAK;AAAA,QACL,iBAAiB;AAAA,QACjB,kBAAkB,GAAI,iBAAiB,MAAM,YAAa;AAAA,QAC1D,WAAU;AAAA;AAAA,IACZ,CACF,CACF;AAAA,IACA,6BAAAA,QAAA,cAAC,SAAI,OAAO,EAAE,OAAO,WAAW,UAAU,IAAI,YAAY,EAAE,KAAI,WAAW,KAAK,GAAG,QAAQ,MAAO;AAAA,EACpG;AAEJ;AAEA,IAAO,gBAAQ;",
|
|
6
|
+
"names": ["React", "classNames"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type PropsType = {
|
|
3
|
+
noDebounced?: boolean;
|
|
4
|
+
currentValue: string | undefined;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
delay?: number;
|
|
8
|
+
inputClass?: any;
|
|
9
|
+
allowClear?: boolean;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
noPrefixIcon?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
icon?: React.ReactNode;
|
|
14
|
+
};
|
|
15
|
+
declare const DebouncedInput: React.FC<PropsType>;
|
|
16
|
+
export default DebouncedInput;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/DebounceInput/index.tsx
|
|
30
|
+
var DebounceInput_exports = {};
|
|
31
|
+
__export(DebounceInput_exports, {
|
|
32
|
+
default: () => DebounceInput_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(DebounceInput_exports);
|
|
35
|
+
var import_ahooks = require("ahooks");
|
|
36
|
+
var import_antd = require("antd");
|
|
37
|
+
var import_classnames = __toESM(require("classnames"));
|
|
38
|
+
var import_react = __toESM(require("react"));
|
|
39
|
+
var import_index_module = __toESM(require("./index.module.less"));
|
|
40
|
+
var DebouncedInput = ({
|
|
41
|
+
noDebounced = false,
|
|
42
|
+
currentValue = "",
|
|
43
|
+
placeholder = "搜索",
|
|
44
|
+
onChange = (value) => {
|
|
45
|
+
},
|
|
46
|
+
delay = 150,
|
|
47
|
+
inputClass,
|
|
48
|
+
allowClear = true,
|
|
49
|
+
style = {},
|
|
50
|
+
noPrefixIcon = false,
|
|
51
|
+
disabled = false,
|
|
52
|
+
icon
|
|
53
|
+
}) => {
|
|
54
|
+
const [value, setValue] = (0, import_react.useState)(currentValue);
|
|
55
|
+
const lock = (0, import_react.useRef)(false);
|
|
56
|
+
const changeFlag = (0, import_react.useRef)(false);
|
|
57
|
+
(0, import_react.useEffect)(() => {
|
|
58
|
+
if (changeFlag.current) {
|
|
59
|
+
changeFlag.current = false;
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
setValue(currentValue);
|
|
63
|
+
}, [currentValue]);
|
|
64
|
+
const { run } = (0, import_ahooks.useDebounceFn)(
|
|
65
|
+
() => {
|
|
66
|
+
onChange(value);
|
|
67
|
+
},
|
|
68
|
+
{ wait: delay }
|
|
69
|
+
);
|
|
70
|
+
function handleChange(e) {
|
|
71
|
+
const type = e.type;
|
|
72
|
+
if (type === "compositionstart") {
|
|
73
|
+
lock.current = true;
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const value2 = e.target.value;
|
|
77
|
+
setValue(value2);
|
|
78
|
+
if (e.type === "compositionend") {
|
|
79
|
+
lock.current = false;
|
|
80
|
+
}
|
|
81
|
+
if (!lock.current) {
|
|
82
|
+
changeFlag.current = true;
|
|
83
|
+
if (noDebounced) {
|
|
84
|
+
onChange(value2);
|
|
85
|
+
} else {
|
|
86
|
+
run();
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
91
|
+
import_antd.Input,
|
|
92
|
+
{
|
|
93
|
+
allowClear,
|
|
94
|
+
style,
|
|
95
|
+
className: (0, import_classnames.default)(import_index_module.default.search, inputClass),
|
|
96
|
+
placeholder,
|
|
97
|
+
prefix: !noPrefixIcon && (icon || /* @__PURE__ */ import_react.default.createElement("i", { className: "iconfont icon-sousuo", style: { fontSize: 14, lineHeight: "28px", color: "#999" } })),
|
|
98
|
+
value,
|
|
99
|
+
onChange: handleChange,
|
|
100
|
+
onCompositionStart: handleChange,
|
|
101
|
+
onCompositionEnd: handleChange,
|
|
102
|
+
disabled
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
};
|
|
106
|
+
var DebounceInput_default = DebouncedInput;
|
|
107
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/components/DebounceInput/index.tsx"],
|
|
4
|
+
"sourcesContent": ["/**\n * 组件名称:DebouncedInput\n * 组件描述:一个用于搜索的输入框组件,支持防抖\n * 组件使用场景:在需要搜索的场景中使用,如筛选、排序等\n * 组件参数说明:\n * - noDebounced: 是否不使用防抖\n * - currentValue: 当前值\n * - placeholder: 输入框提示文字\n * - onChange: 值改变时的回调\n * - delay: 防抖时间\n * - inputClass: 输入框样式类名\n * - allowClear: 是否允许清空\n * - style: 组件样式\n */\nimport { useDebounceFn } from 'ahooks';\nimport { Input } from 'antd';\nimport classNames from 'classnames';\nimport React, { useEffect, useRef, useState } from 'react';\nimport styles from './index.module.less';\ntype PropsType = {\n noDebounced?: boolean;\n currentValue: string | undefined;\n placeholder?: string;\n onChange: (value: string) => void;\n delay?: number;\n inputClass?: any;\n allowClear?: boolean;\n style?: React.CSSProperties;\n noPrefixIcon?: boolean;\n disabled?: boolean;\n icon?: React.ReactNode;\n};\nconst DebouncedInput: React.FC<PropsType> = ({\n noDebounced = false,\n currentValue = '',\n placeholder = '搜索',\n onChange = (value: string) => {},\n delay = 150,\n inputClass,\n allowClear = true,\n style = {},\n noPrefixIcon = false,\n disabled = false,\n icon,\n}) => {\n const [value, setValue] = useState(currentValue);\n const lock = useRef(false);\n const changeFlag = useRef(false);\n useEffect(() => {\n if (changeFlag.current) {\n changeFlag.current = false;\n return;\n }\n setValue(currentValue);\n }, [currentValue]);\n\n const { run } = useDebounceFn(\n () => {\n onChange(value);\n },\n { wait: delay },\n );\n function handleChange(e: any) {\n const type = e.type;\n if (type === 'compositionstart') {\n lock.current = true;\n return;\n }\n const value = e.target.value;\n setValue(value);\n if (e.type === 'compositionend') {\n lock.current = false;\n }\n if (!lock.current) {\n changeFlag.current = true;\n if (noDebounced) {\n onChange(value);\n } else {\n run();\n }\n }\n }\n return (\n <Input\n allowClear={allowClear}\n style={style}\n className={classNames(styles.search, inputClass)}\n placeholder={placeholder}\n prefix={\n !noPrefixIcon &&\n (icon || <i className='iconfont icon-sousuo' style={{ fontSize: 14, lineHeight: '28px', color: '#999' }} />)\n }\n value={value}\n onChange={handleChange}\n onCompositionStart={handleChange}\n onCompositionEnd={handleChange}\n disabled={disabled}\n />\n );\n};\n\nexport default DebouncedInput;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAcA,oBAA8B;AAC9B,kBAAsB;AACtB,wBAAuB;AACvB,mBAAmD;AACnD,0BAAmB;AAcnB,IAAM,iBAAsC,CAAC;AAAA,EAC3C,cAAc;AAAA,EACd,eAAe;AAAA,EACf,cAAc;AAAA,EACd,WAAW,CAAC,UAAkB;AAAA,EAAC;AAAA,EAC/B,QAAQ;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,QAAQ,CAAC;AAAA,EACT,eAAe;AAAA,EACf,WAAW;AAAA,EACX;AACF,MAAM;AACJ,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAS,YAAY;AAC/C,QAAM,WAAO,qBAAO,KAAK;AACzB,QAAM,iBAAa,qBAAO,KAAK;AAC/B,8BAAU,MAAM;AACd,QAAI,WAAW,SAAS;AACtB,iBAAW,UAAU;AACrB;AAAA,IACF;AACA,aAAS,YAAY;AAAA,EACvB,GAAG,CAAC,YAAY,CAAC;AAEjB,QAAM,EAAE,IAAI,QAAI;AAAA,IACd,MAAM;AACJ,eAAS,KAAK;AAAA,IAChB;AAAA,IACA,EAAE,MAAM,MAAM;AAAA,EAChB;AACA,WAAS,aAAa,GAAQ;AAC5B,UAAM,OAAO,EAAE;AACf,QAAI,SAAS,oBAAoB;AAC/B,WAAK,UAAU;AACf;AAAA,IACF;AACA,UAAMA,SAAQ,EAAE,OAAO;AACvB,aAASA,MAAK;AACd,QAAI,EAAE,SAAS,kBAAkB;AAC/B,WAAK,UAAU;AAAA,IACjB;AACA,QAAI,CAAC,KAAK,SAAS;AACjB,iBAAW,UAAU;AACrB,UAAI,aAAa;AACf,iBAASA,MAAK;AAAA,MAChB,OAAO;AACL,YAAI;AAAA,MACN;AAAA,IACF;AAAA,EACF;AACA,SACE,6BAAAC,QAAA;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA,eAAW,kBAAAC,SAAW,oBAAAC,QAAO,QAAQ,UAAU;AAAA,MAC/C;AAAA,MACA,QACE,CAAC,iBACA,QAAQ,6BAAAF,QAAA,cAAC,OAAE,WAAU,wBAAuB,OAAO,EAAE,UAAU,IAAI,YAAY,QAAQ,OAAO,OAAO,GAAG;AAAA,MAE3G;AAAA,MACA,UAAU;AAAA,MACV,oBAAoB;AAAA,MACpB,kBAAkB;AAAA,MAClB;AAAA;AAAA,EACF;AAEJ;AAEA,IAAO,wBAAQ;",
|
|
6
|
+
"names": ["value", "React", "classNames", "styles"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.search {
|
|
2
|
+
width: 225px;
|
|
3
|
+
height: 30px;
|
|
4
|
+
padding: 0 10px;
|
|
5
|
+
border: 1px solid #e7e7e7;
|
|
6
|
+
border-radius: 2px;
|
|
7
|
+
|
|
8
|
+
input {
|
|
9
|
+
height: 28px;
|
|
10
|
+
line-height: 28px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.ant-input-prefix {
|
|
14
|
+
.iconfont {
|
|
15
|
+
color: #100f0f;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
& > input::placeholder {
|
|
20
|
+
color: rgba(0, 0, 0, 0.25);
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type PageTypes = {
|
|
4
|
+
name?: string;
|
|
5
|
+
value: (string | number)[];
|
|
6
|
+
onChange: (value: (string | number)[]) => void;
|
|
7
|
+
options: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string | number;
|
|
10
|
+
isSelectAll?: boolean;
|
|
11
|
+
}[];
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
popoverStyle?: React.CSSProperties;
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
noXiala?: boolean;
|
|
16
|
+
minCount?: number;
|
|
17
|
+
disabledItems?: (string | number)[] | undefined;
|
|
18
|
+
disabledMessages?: string;
|
|
19
|
+
noAllSelect?: boolean;
|
|
20
|
+
autoConfirm?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const MultipleSelect: FC<PageTypes>;
|
|
23
|
+
export default MultipleSelect;
|