repo
stringlengths
7
64
file_url
stringlengths
81
338
file_path
stringlengths
5
257
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:25:31
2026-01-05 01:50:38
truncated
bool
2 classes
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/fit-text/demo/simple.tsx
src/fit-text/demo/simple.tsx
import React, { FC } from 'react'; import { FitText } from '@alitajs/antd-plus'; import './simple.less'; const Example: FC = () => { return ( <div className="fit-text-demo"> <div style={{ width: '30%' }}> <FitText> <h1>Hello World!</h1> </FitText> </div> <div style={{ ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/config-provider/context.tsx
src/config-provider/context.tsx
import { createContext } from 'react'; export interface ConfigConsumerProps { getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string; } export const ConfigContext = createContext<ConfigConsumerProps>({ getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => { if (customizePrefixCls...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/config-provider/types.ts
src/config-provider/types.ts
export type Theme = 'dark' | 'light';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/config-provider/index.ts
src/config-provider/index.ts
import { ConfigConsumer, ConfigContext } from './context'; export { ConfigConsumer, ConfigContext }; export default {}
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/config-provider/style/index.tsx
src/config-provider/style/index.tsx
import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/style/index.tsx
src/style/index.tsx
import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/range-picker-pro/utils.ts
src/range-picker-pro/utils.ts
import moment, { MomentInput } from 'moment'; import { RangePickerProps } from 'antd/es/date-picker'; import { PeriodData } from './'; /** * 获取禁用的时间 * @param start * @param end */ export function disabledRangeTime(start: number, end: number) { const result = []; for (let i = start; i < end; i++) { result.p...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/range-picker-pro/index.tsx
src/range-picker-pro/index.tsx
import React, { useState, useEffect, useCallback, useRef } from 'react'; import moment from 'moment'; import { DatePicker, Radio, Space } from 'antd'; import { RangePickerProps } from 'antd/es/date-picker'; import { RadioChangeEvent, RadioGroupProps } from 'antd/es/radio'; import { startOf, endOf, disabledAfterTodayDat...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/range-picker-pro/style/index.ts
src/range-picker-pro/style/index.ts
import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/range-picker-pro/demo/demo-01.tsx
src/range-picker-pro/demo/demo-01.tsx
import React from 'react'; import moment from 'moment'; // @ts-ignore import { RangePickerPro } from '@alitajs/antd-plus'; export default () => { return ( <> <RangePickerPro options={[ { label: '5秒钟', value: 'second', periodValue: 5 }, { label: '15分钟', value: 'minute', periodVal...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/range-picker-pro/demo/demo-02.tsx
src/range-picker-pro/demo/demo-02.tsx
import React from 'react'; import moment from 'moment'; import { RangePickerPro } from '@alitajs/antd-plus'; export default () => { return ( <RangePickerPro options={[ { label: '15分钟', value: 'minute', periodValue: 15 } ]} disabledSelect onChange={(values) => { if (!values...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/tags.tsx
src/tags/tags.tsx
import React, { FC, CSSProperties } from 'react'; import classNames from 'classnames'; import { Tag, Popover } from 'antd'; import FlexTags from './flex-tags'; import { ItemData } from './types'; export interface TagsProps { prefixCls?: string; className?: string; style?: CSSProperties; list?: ItemData[]; ma...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/index.tsx
src/tags/index.tsx
import Tags from './tags'; export default Tags;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/flex-tags.tsx
src/tags/flex-tags.tsx
import React, { FC, CSSProperties } from 'react'; import { Tag, Popover } from 'antd'; import { ItemData } from './types'; import useSize from '@pansy/hooks/es/use-size'; import { useMeasureBatch, useMeasure } from '../common/hooks/use-measure'; export interface FlexTagsProps { className?: string; style?: CSSPrope...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/types.ts
src/tags/types.ts
import { TagProps } from 'antd/es/tag'; export interface ItemData { text: string; icon?: TagProps['icon']; color?: TagProps['color']; }
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/style/index.ts
src/tags/style/index.ts
import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/demo/demo-01.tsx
src/tags/demo/demo-01.tsx
/** * title: 指定展示数量 * desc: 通过指定标签的数量,进行展示 */ import React, { FC } from 'react'; import { Tags } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <Tags max={4} list={[ { text: 'tag1' }, { text: 'tag2' }, { text: 'tag3' }, { text: 'tag4', color: 'red' ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/tags/demo/demo-02.tsx
src/tags/demo/demo-02.tsx
/** * title: 自适应展示标签 * desc: 通过计算容器宽度,自己计算需要展示的标签。可通过改变浏览器大小查看效果 */ import React, { FC } from 'react'; import { Tags } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <Tags flexible style={{ width: '100%' }} list={[ { text: 'tag01' }, { text: 'tag02' }, ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/common/hooks/use-measure.ts
src/common/hooks/use-measure.ts
import { DependencyList, useState, useCallback } from 'react'; export const useMeasure = ( deps: DependencyList = [] ): { rect: ClientRect; ref: any; } => { const [rect, setRect] = useState<ClientRect>({ bottom: 0, height: 0, left: 0, right: 0, top: 0, width: 0 }); const ref = useCa...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/fullscreen/index.tsx
src/fullscreen/index.tsx
import Fullscreen from '@pansy/react-fullscreen'; export default Fullscreen;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/fullscreen/style/index.tsx
src/fullscreen/style/index.tsx
import '../../style/index.less'; import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/fullscreen/demo/control-img.tsx
src/fullscreen/demo/control-img.tsx
import React, { FC, useState } from 'react'; import { Fullscreen } from '@alitajs/antd-plus'; const Example: FC = () => { const [enabled, setEnabled] = useState(false); const handleClick = () => { setEnabled(!enabled); }; return ( <div> <Fullscreen enabled={enabled}> <img onCl...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/fullscreen/demo/simple.tsx
src/fullscreen/demo/simple.tsx
import React, { FC } from 'react'; import { Button } from 'antd'; import { Fullscreen } from '@alitajs/antd-plus'; const Example: FC = () => { const [enabled, setEnabled] = React.useState(false); const handleClick = () => { setEnabled(!enabled); }; return ( <div> <Fullscreen enabled={en...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/el_GR.tsx
src/locale/el_GR.tsx
import elGR from 'antd/es/locale/el_GR'; export default { ...elGR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/nl_NL.tsx
src/locale/nl_NL.tsx
import nlNL from 'antd/es/locale/nl_NL'; export default { ...nlNL };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/en_GB.tsx
src/locale/en_GB.tsx
import enGB from 'antd/es/locale/en_GB'; export default { ...enGB };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ga_IE.tsx
src/locale/ga_IE.tsx
import gaIE from 'antd/es/locale/ga_IE'; export default { ...gaIE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/default.tsx
src/locale/default.tsx
import enUS from 'antd/es/locale/default'; import SendCode from '../send-code/locale/en_US'; import DaysRange from '../days-range/locale/zh_CN'; export default { ...enUS, SendCode, DaysRange, FullScreen: { back: 'Full screen' } };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/kn_IN.tsx
src/locale/kn_IN.tsx
import knIN from 'antd/es/locale/kn_IN'; export default { ...knIN };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/pt_PT.tsx
src/locale/pt_PT.tsx
import ptPT from 'antd/es/locale/pt_PT'; export default { ...ptPT };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/nl_BE.tsx
src/locale/nl_BE.tsx
import nlBE from 'antd/es/locale/nl_BE'; export default { ...nlBE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ne_NP.tsx
src/locale/ne_NP.tsx
import neNP from 'antd/es/locale/ne_NP'; export default { ...neNP };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/kmr_IQ.tsx
src/locale/kmr_IQ.tsx
import kmrIQ from 'antd/es/locale/kmr_IQ'; export default { ...kmrIQ };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/hu_HU.tsx
src/locale/hu_HU.tsx
import huHU from 'antd/es/locale/hu_HU'; export default { ...huHU };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ms_MY.tsx
src/locale/ms_MY.tsx
import msMY from 'antd/es/locale/ms_MY'; export default { ...msMY };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/sl_SI.tsx
src/locale/sl_SI.tsx
import slSI from 'antd/es/locale/sl_SI'; export default { ...slSI };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ca_ES.tsx
src/locale/ca_ES.tsx
import caES from 'antd/es/locale/ca_ES'; export default { ...caES };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/es_ES.tsx
src/locale/es_ES.tsx
import esES from 'antd/es/locale/es_ES'; export default { ...esES };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/pl_PL.tsx
src/locale/pl_PL.tsx
import plPL from 'antd/es/locale/pl_PL'; export default { ...plPL };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/sr_RS.tsx
src/locale/sr_RS.tsx
import srRS from 'antd/es/locale/sr_RS'; export default { ...srRS };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/th_TH.tsx
src/locale/th_TH.tsx
import thTH from 'antd/es/locale/th_TH'; export default { ...thTH };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/it_IT.tsx
src/locale/it_IT.tsx
import itIT from 'antd/es/locale/it_IT'; export default { ...itIT };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/en_US.tsx
src/locale/en_US.tsx
import defaultLocale from './default'; export default defaultLocale;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/hi_IN.tsx
src/locale/hi_IN.tsx
import hiIN from 'antd/es/locale/hi_IN'; export default { ...hiIN };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/mn_MN.tsx
src/locale/mn_MN.tsx
import mnMN from 'antd/es/locale/mn_MN'; export default { ...mnMN };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/fa_IR.tsx
src/locale/fa_IR.tsx
import faIR from 'antd/es/locale/fa_IR'; export default { ...faIR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/nb_NO.tsx
src/locale/nb_NO.tsx
import nbNO from 'antd/es/locale/nb_NO'; export default { ...nbNO };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/hr_HR.tsx
src/locale/hr_HR.tsx
import hrHR from 'antd/es/locale/hr_HR'; export default { ...hrHR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/pt_BR.tsx
src/locale/pt_BR.tsx
import ptBR from 'antd/es/locale/pt_BR'; export default { ...ptBR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/mk_MK.tsx
src/locale/mk_MK.tsx
import mkMK from 'antd/es/locale/mk_MK'; export default { ...mkMK };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/fr_BE.tsx
src/locale/fr_BE.tsx
import frBE from 'antd/es/locale/fr_BE'; export default { ...frBE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/et_EE.tsx
src/locale/et_EE.tsx
import et_EE from 'antd/es/locale/et_EE'; export default { ...et_EE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/da_DK.tsx
src/locale/da_DK.tsx
import daDK from 'antd/es/locale/da_DK'; export default { ...daDK };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/vi_VN.tsx
src/locale/vi_VN.tsx
import viVN from 'antd/es/locale/vi_VN'; export default { ...viVN };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/hy_AM.tsx
src/locale/hy_AM.tsx
import hyAM from 'antd/es/locale/hy_AM'; export default { ...hyAM };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ku_IQ.tsx
src/locale/ku_IQ.tsx
import kuIQ from 'antd/es/locale/ku_IQ'; export default { ...kuIQ };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ta_IN.tsx
src/locale/ta_IN.tsx
import taIN from 'antd/es/locale/ta_IN'; export default { ...taIN };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ro_RO.tsx
src/locale/ro_RO.tsx
import roRO from 'antd/es/locale/ro_RO'; export default { ...roRO };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/az_AZ.tsx
src/locale/az_AZ.tsx
import azAZ from 'antd/es/locale/az_AZ'; export default { ...azAZ };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ru_RU.tsx
src/locale/ru_RU.tsx
import ruRU from 'antd/es/locale/ru_RU'; export default { ...ruRU };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/sv_SE.tsx
src/locale/sv_SE.tsx
import svSE from 'antd/es/locale/sv_SE'; export default { ...svSE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/is_IS.tsx
src/locale/is_IS.tsx
import isIS from 'antd/es/locale/is_IS'; export default { ...isIS };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/gl_ES.tsx
src/locale/gl_ES.tsx
import glES from 'antd/es/locale/gl_ES'; export default { ...glES };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/he_IL.tsx
src/locale/he_IL.tsx
import heIL from 'antd/es/locale/he_IL'; export default { ...heIL };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/tr_TR.tsx
src/locale/tr_TR.tsx
import trTR from 'antd/es/locale/tr_TR'; export default { ...trTR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/lt_LT.tsx
src/locale/lt_LT.tsx
import ltLT from 'antd/es/locale/lt_LT'; export default { ...ltLT };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/zh_HK.tsx
src/locale/zh_HK.tsx
import zhHK from 'antd/es/locale/zh_HK'; export default { ...zhHK };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ja_JP.tsx
src/locale/ja_JP.tsx
import jaJP from 'antd/es/locale/ja_JP'; export default { ...jaJP };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ko_KR.tsx
src/locale/ko_KR.tsx
import koKR from 'antd/es/locale/ko_KR'; export default { ...koKR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/de_DE.tsx
src/locale/de_DE.tsx
import deDE from 'antd/es/locale/de_DE'; export default { ...deDE };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/sk_SK.tsx
src/locale/sk_SK.tsx
import skSK from 'antd/es/locale/sk_SK'; export default { ...skSK };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/zh_CN.tsx
src/locale/zh_CN.tsx
import zhCN from 'antd/es/locale/zh_CN'; import SendCode from '../send-code/locale/zh_CN'; import DaysRange from '../days-range/locale/zh_CN'; export default { ...zhCN, SendCode, DaysRange, FullScreen: { back: '切换全屏' } };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/id_ID.tsx
src/locale/id_ID.tsx
import idID from 'antd/es/locale/id_ID'; export default { ...idID };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/cs_CZ.tsx
src/locale/cs_CZ.tsx
import csCZ from 'antd/es/locale/cs_CZ'; export default { ...csCZ };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/lv_LV.tsx
src/locale/lv_LV.tsx
import lvLV from 'antd/es/locale/lv_LV'; export default { ...lvLV };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/bg_BG.tsx
src/locale/bg_BG.tsx
import bgBG from 'antd/es/locale/bg_BG'; export default { ...bgBG };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/zh_TW.tsx
src/locale/zh_TW.tsx
import zhTW from 'antd/es/locale/zh_TW'; export default { ...zhTW };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/fr_FR.tsx
src/locale/fr_FR.tsx
import frFR from 'antd/es/locale/fr_FR'; export default { ...frFR };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/ar_EG.tsx
src/locale/ar_EG.tsx
import arEG from 'antd/es/locale/ar_EG'; export default { ...arEG };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/fi_FI.tsx
src/locale/fi_FI.tsx
import fiFI from 'antd/es/locale/fi_FI'; export default { ...fiFI };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/locale/uk_UA.tsx
src/locale/uk_UA.tsx
import ukUA from 'antd/es/locale/uk_UA'; export default { ...ukUA };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/days-range.tsx
src/days-range/days-range.tsx
import React, { useState, useEffect, useCallback, useContext } from 'react'; import { Radio, DatePicker } from 'antd'; import { RangePickerProps } from 'antd/es/date-picker'; import { isNumber, isInteger, isObject, isNil } from 'lodash'; import { RadioChangeEvent } from 'antd/lib/radio/interface'; import moment, { Mome...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/utils.ts
src/days-range/utils.ts
import moment, { Moment } from 'moment'; import { round } from 'lodash'; import { TimeData } from './interface'; export type TimeRangeInput = (string | Moment)[]; /** * 处理查询时间 * 将开始时间处理为当天 day 00:00:00 * 将结束时间处理为当天 day 59:59:59 * @param dates * @example * ['2019-11-01', '2019-11-11'] * 处理成 ['2019-11-01...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/interface.ts
src/days-range/interface.ts
import { RadioGroupProps } from 'antd/lib/radio/interface'; export interface TimeData { startTime?: number; endTime?: number; } export interface DaysRangeLocale { day: string; week: string; month: string; year: string; customize: string; } export interface BaseProps<T> { /** * 额外的样式类 */ clas...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/fast.tsx
src/days-range/fast.tsx
import React, { useState, useEffect, useCallback, useContext } from 'react'; import { Radio, DatePicker } from 'antd'; import { isObject } from 'lodash'; import { RadioChangeEvent } from 'antd/es/radio/interface'; import { RangePickerProps } from 'antd/es/date-picker'; import LocaleReceiver from 'antd/es/locale-provide...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/index.ts
src/days-range/index.ts
import DaysRange from './days-range'; export default DaysRange;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/style/index.ts
src/days-range/style/index.ts
import './index.less';
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/locale/en_US.tsx
src/days-range/locale/en_US.tsx
export default { day: 'Today', week: 'This week', month: 'This month', year: 'This year', customize: 'Customize' };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/locale/zh_CN.tsx
src/days-range/locale/zh_CN.tsx
export default { day: '今日', week: '本周', month: '本月', year: '本年', customize: '自定义' };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/form.tsx
src/days-range/demo/form.tsx
import React, { FC, useEffect } from 'react'; import { Form, Button } from 'antd'; import { DaysRange } from '@alitajs/antd-plus'; const Example: FC = () => { const [form] = Form.useForm(); useEffect(() => { form.setFieldsValue({ times: 9 }); }, []); const handleSubmit = (vals: object) => { ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/radio.tsx
src/days-range/demo/radio.tsx
import React, { FC } from 'react'; import { DaysRange } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <DaysRange marks={[1, 30, 7]} type="radio" onChange={(data) => { console.log(data); }} /> ); }; export default Example;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/hide-customize.tsx
src/days-range/demo/hide-customize.tsx
import React, { FC } from 'react'; import { isNumber } from 'lodash'; import { DaysRange } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <div> <DaysRange showCustomize={false} onChange={(data) => { console.log(data); }} formatter={(val) => { ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/form1.tsx
src/days-range/demo/form1.tsx
import React from 'react'; import { Form, Button } from 'antd'; import { DaysRange } from '@alitajs/antd-plus'; export default () => { const [form] = Form.useForm(); const handleSubmit = (vals: object) => { console.log(vals); }; return ( <Form form={form} onFinish={handleSubmit} layout="horizontal"> ...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/demo-07.tsx
src/days-range/demo/demo-07.tsx
import React from 'react'; import { DaysRange } from '@alitajs/antd-plus'; export default () => { return ( <DaysRange.Fast onChange={(data) => { console.log(data); }} /> ); };
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/simple.tsx
src/days-range/demo/simple.tsx
import React, { FC } from 'react'; import { DaysRange } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <div> <DaysRange marks={[1, 30, 7]} onChange={(data) => { console.log(data); }} /> </div> ); }; export default Example;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/days-range/demo/disabled-mount-change.tsx
src/days-range/demo/disabled-mount-change.tsx
import React, { FC } from 'react'; import { DaysRange } from '@alitajs/antd-plus'; const Example: FC = () => { return ( <div> <DaysRange isMountChange={false} marks={[5, 20]} onChange={(data) => { console.log(data); }} /> </div> ); }; export default Ex...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/send-code/utils.ts
src/send-code/utils.ts
// 获取格式化的模板文本 export function getTemplateText(runText: string, second: number): string { if (runText?.indexOf('{%s}') !== -1) { return runText.replace(/\{([^{]*?)%s(.*?)\}/g, second?.toString()); } else { return runText; } }
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/send-code/index.tsx
src/send-code/index.tsx
import SendCode from './send-code'; export default SendCode;
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/send-code/utils.test.ts
src/send-code/utils.test.ts
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false
alitajs/ant-design-plus
https://github.com/alitajs/ant-design-plus/blob/8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60/src/send-code/send-code.tsx
src/send-code/send-code.tsx
import React, { useState, useEffect, useRef } from 'react'; import { Button } from 'antd'; import { ButtonProps } from 'antd/es/button'; import LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver'; import enUS from './locale/en_US'; import { getTemplateText } from './utils'; export interface SendCodeProps exte...
typescript
MIT
8a37f7aa5dff2ebdfe0b583ad2a34d75d01a5b60
2026-01-05T05:01:20.733925Z
false