file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
src/libFaad/sbr_e_nf.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_fbt.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_fbt.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_hfadj.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_hfadj.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_hfgen.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_hfgen.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_huff.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_huff.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_noise.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_qmf.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_qmf.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_qmf_c.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_syntax.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_syntax.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_tf_grid.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sbr_tf_grid.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/sine_win.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/specrec.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/specrec.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr_fb.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr_fb.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Ahead Software AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free S...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr_ipqf.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr_ipqf.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Ahead Software AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free S...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/ssr_win.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Ahead Software AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free S...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/structs.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/syntax.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/tns.c
C
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/libFaad/tns.h
C/C++ Header
/* ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding ** Copyright (C) 2003-2005 M. Bakker, Nero AG, http://www.nero.com ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Fo...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
src/test_player.cpp
C++
/* * MIT License * * Copyright (c) 2017 xiongziliang <771730766@qq.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
xia-chu/ZLMediaPlayer
45
一个简单的rtmp/rtsp播放器,支持windows/linux/macos
C
xia-chu
夏楚
.fatherrc.base.ts
TypeScript
import { defineConfig } from 'father'; export default defineConfig({ cjs: { output: 'dist', }, });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
.inularc.ts
TypeScript
export default { plugins: ['@umijs/plugin-docs'], mfsu: false, conventionRoutes: { exclude: [/\/components\//], }, azure: false, styles: [`.py-36 { padding-bottom: 0rem !important; }`], // TODO: ??? 为什么 esbuild 压缩会报错??? jsMinifier: 'terser', };
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
docs/components/Item.tsx
TypeScript (TSX)
import React from 'react'; interface Feature { icon: string; title: string; description: string; link?: string; } export function FeatureIItem(props: Feature) { return ( <div className="w-full md:w-1/2 lg:w-1/3 flex flex-row items-center justify-center mb-8 lg:mb-16"> <div className="flex ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/antd/.inularc.ts
TypeScript
import { defineConfig } from 'inula'; export default defineConfig({ title: 'antd', antd: {}, // TODO: ??? 为什么 esbuild 压缩会报错??? jsMinifier: 'terser', });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/antd/src/pages/index.tsx
TypeScript (TSX)
import { Button } from 'antd'; const Page = () => { return ( <div> <Button>1243</Button> </div> ); }; export default Page;
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/antd/typings.d.ts
TypeScript
import "inula/typings";
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/.inularc.ts
TypeScript
import { defineConfig } from 'inula'; export default defineConfig({ title: 'antd', antd: {}, // TODO: ??? 为什么 esbuild 压缩会报错??? jsMinifier: 'terser', });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/plugin.ts
TypeScript
import { IApi } from 'inula'; export default (api: IApi) => { api?._modifyBlockFile?.((memo) => { // TODO: 还有什么操作,都可以在这里处理 return memo.replaceAll('request', 'ir'); }); };
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/app.ts
TypeScript
import { ir, IrRequestConfig } from 'inula'; // 定义成功处理函数 const fulfilledHandler = (response) => { // 修改响应内容 return response?.data?.data ?? response?.data; }; // 定义失败处理函数 const rejectedHandler = (error) => { console.error('请求失败:', error); return Promise.reject(error); }; // 定义拦截器选项 const options = { synchro...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/Center.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { avatarHolder: { marginBottom: '24px', textAlign: 'center', '& > img': { width: '104px', height: '104px', marginBottom: '20px' }, }, name: { marginBottom: '4px', color: token.c...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/_mock.ts
TypeScript
// @ts-nocheck import type { Request, Response } from 'express'; import type { ListItemDataType } from './data.d'; const titles = [ 'Alipay', 'Angular', 'Ant Design', 'Ant Design Pro', 'Bootstrap', 'React', 'Vue', 'Webpack', ]; const avatars = [ 'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyM...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Applications/index.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { filterCardList: { marginBottom: '-24px', '.ant-card-meta-content': { marginTop: '0' }, '.ant-list .ant-list-item-content-single': { maxWidth: '100%' }, }, cardInfo: { marginTop: '16...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Applications/index.tsx
TypeScript (TSX)
import { DownloadOutlined, EditOutlined, EllipsisOutlined, ShareAltOutlined, } from '@ant-design/icons'; import { Avatar, Card, Dropdown, List, Menu, Tooltip } from 'antd'; import { useRequest } from 'inula'; import numeral from 'numeral'; import React from 'react'; import type { ListItemDataType } from '../../...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/ArticleListContent/index.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { description: { maxWidth: '720px', lineHeight: '22px', }, extra: { marginTop: '16px', color: token.colorTextSecondary, lineHeight: '22px', '& > em': { marginLeft:...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/ArticleListContent/index.tsx
TypeScript (TSX)
import { Avatar } from 'antd'; import moment from 'moment'; import React from 'react'; import useStyles from './index.style'; export type ApplicationsProps = { data: { content?: string; updatedAt?: any; avatar?: string; owner?: string; href?: string; }; }; const ArticleListContent: React.FC<App...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Articles/index.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { articleList: { '.ant-list-item:first-child': { paddingTop: '0' }, }, listItemMetaTitle: { color: token.colorTextHeading, }, }; }); export default useStyles;
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Articles/index.tsx
TypeScript (TSX)
import { LikeOutlined, MessageFilled, StarTwoTone } from '@ant-design/icons'; import { List, Tag } from 'antd'; import { useRequest } from 'inula'; import React from 'react'; import type { ListItemDataType } from '../../data.d'; import { queryFakeList } from '../../service'; import ArticleListContent from '../ArticleLi...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/AvatarList/index.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { avatarList: { display: 'inline-block', ul: { display: 'inline-block', marginLeft: '8px', fontSize: '0' }, }, avatarItem: { display: 'inline-block', width: token.controlHeight, ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/AvatarList/index.tsx
TypeScript (TSX)
import { Avatar, Tooltip } from 'antd'; import classNames from 'classnames'; import React from 'react'; import useStyles from './index.style'; export declare type SizeType = number | 'small' | 'default' | 'large'; export type AvatarItemProps = { tips: React.ReactNode; src: string; size?: SizeType; style?: Rea...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Projects/index.style.ts
TypeScript
import { createStyles } from 'antd-style'; const useStyles = createStyles(({ token }) => { return { card: { '.ant-card-meta-title': { marginBottom: '4px', '& > a': { display: 'inline-block', maxWidth: '100%', color: token.colorTextHeading, }, }, ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/components/Projects/index.tsx
TypeScript (TSX)
import { Card, List } from 'antd'; import { useRequest } from 'inula'; import moment from 'moment'; import React from 'react'; import type { ListItemDataType } from '../../data.d'; import { queryFakeList } from '../../service'; import AvatarList from '../AvatarList'; import useStyles from './index.style'; const Projec...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/data.d.ts
TypeScript
export type tabKeyType = 'articles' | 'applications' | 'projects'; export interface TagType { key: string; label: string; } export type GeographicType = { province: { label: string; key: string; }; city: { label: string; key: string; }; }; export type NoticeType = { id: string; title: ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/index.tsx
TypeScript (TSX)
import { ClusterOutlined, ContactsOutlined, HomeOutlined, PlusOutlined, } from '@ant-design/icons'; import { GridContent } from '@ant-design/pro-components'; import { Avatar, Card, Col, Divider, Input, InputRef, Row, Tag } from 'antd'; import { Link, useRequest } from 'inula'; import React, { useRef, useState }...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/abc/service.ts
TypeScript
import { ir } from 'inula'; import type { CurrentUser, ListItemDataType } from './data.d'; export async function queryCurrent(): Promise<{ data: CurrentUser }> { return ir('/api/currentUserDetail'); } export async function queryFakeList(params: { count: number; }): Promise<{ data: { list: ListItemDataType[] } }> ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/_mock.ts
TypeScript
import type { Request, Response } from 'express'; import moment from 'moment'; import type { AnalysisData, DataItem, RadarData } from './data.d'; // mock data const visitData: DataItem[] = []; const beginDay = new Date().getTime(); const fakeY = [7, 5, 4, 2, 4, 7, 5, 6, 5, 9, 6, 3, 1, 5, 3, 6, 5]; for (let i = 0; i <...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/Bar/index.tsx
TypeScript (TSX)
import { Axis, Chart, Geom, Tooltip } from 'bizcharts'; import React, { Component } from 'react'; import Debounce from 'lodash.debounce'; import autoHeight from '../autoHeight'; import styles from '../index.less'; export type BarProps = { title: React.ReactNode; color?: string; padding?: [number, number, number...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/ChartCard/index.less
LESS
@import '~antd/es/style/themes/default.less'; .chartCard { position: relative; .chartTop { position: relative; width: 100%; overflow: hidden; } .chartTopMargin { margin-bottom: 12px; } .chartTopHasMargin { margin-bottom: 20px; } .metaWrap { float: left; } .avatar { posit...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/ChartCard/index.tsx
TypeScript (TSX)
import { Card } from 'antd'; import type { CardProps } from 'antd/es/card'; import classNames from 'classnames'; import React from 'react'; import styles from './index.less'; type totalType = () => React.ReactNode; const renderTotal = (total?: number | totalType | React.ReactNode) => { if (!total && total !== 0) { ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/Field/index.less
LESS
@import '~antd/es/style/themes/default.less'; .field { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; .label, .number { font-size: @font-size-base; line-height: 22px; } .number { margin-left: 8px; color: @heading-color; } }
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/Field/index.tsx
TypeScript (TSX)
import React from 'react'; import styles from './index.less'; export type FieldProps = { label: React.ReactNode; value: React.ReactNode; style?: React.CSSProperties; }; const Field: React.FC<FieldProps> = ({ label, value, ...rest }) => ( <div className={styles.field} {...rest}> <span className={styles.lab...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/Gauge/index.tsx
TypeScript (TSX)
import { Axis, Chart, Coord, Geom, Guide, Shape } from 'bizcharts'; import React from 'react'; import autoHeight from '../autoHeight'; const { Arc, Html, Line } = Guide; export type GaugeProps = { title: React.ReactNode; color?: string; height?: number; bgColor?: number; percent: number; forceFit?: boole...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/MiniArea/index.tsx
TypeScript (TSX)
import type { AxisProps } from 'bizcharts'; import { Axis, Chart, Geom, Tooltip } from 'bizcharts'; import React from 'react'; import autoHeight from '../autoHeight'; import styles from '../index.less'; export type MiniAreaProps = { color?: string; height?: number; borderColor?: string; line?: boolean; anim...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/MiniBar/index.tsx
TypeScript (TSX)
import { Chart, Geom, Tooltip } from 'bizcharts'; import React from 'react'; import autoHeight from '../autoHeight'; import styles from '../index.less'; export type MiniBarProps = { color?: string; height?: number; data: { x: number | string; y: number; }[]; forceFit?: boolean; style?: React.CSSPr...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/MiniProgress/index.tsx
TypeScript (TSX)
import { Tooltip } from 'antd'; import React from 'react'; import styles from './index.less'; export type MiniProgressProps = { target: number; targetLabel?: string; color?: string; strokeWidth?: number; percent?: number; style?: React.CSSProperties; }; const MiniProgress: React.FC<MiniProgressProps> = ({...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/Pie/index.tsx
TypeScript (TSX)
import { Chart, Coord, Geom, Tooltip } from 'bizcharts'; import React, { Component } from 'react'; import { DataView } from '@antv/data-set'; import { Divider } from 'antd'; import classNames from 'classnames'; import Debounce from 'lodash.debounce'; import ReactFitText from 'react-fittext'; import autoHeight from '.....
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/TagCloud/index.tsx
TypeScript (TSX)
import { Chart, Coord, Geom, Shape, Tooltip } from 'bizcharts'; import React, { Component } from 'react'; import DataSet from '@antv/data-set'; import classNames from 'classnames'; import Debounce from 'lodash.debounce'; import autoHeight from '../autoHeight'; import styles from './index.less'; /* eslint no-underscor...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/TimelineChart/index.tsx
TypeScript (TSX)
import { Axis, Chart, Geom, Legend, Tooltip } from 'bizcharts'; import DataSet from '@antv/data-set'; import Slider from 'bizcharts-plugin-slider'; import React from 'react'; import autoHeight from '../autoHeight'; import styles from './index.less'; export type TimelineChartProps = { data: { x: number; y1: ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/WaterWave/index.tsx
TypeScript (TSX)
import React, { Component } from 'react'; import autoHeight from '../autoHeight'; import styles from './index.less'; /* eslint no-return-assign: 0 */ /* eslint no-mixed-operators: 0 */ // riddle: https://riddle.alibaba-inc.com/riddles/2d9a4b90 export type WaterWaveProps = { title: React.ReactNode; color?: string...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/autoHeight.tsx
TypeScript (TSX)
import React from 'react'; export type IReactComponent<P = any> = | React.StatelessComponent<P> | React.ComponentClass<P> | React.ClassicComponentClass<P>; function computeHeight(node: HTMLDivElement) { const { style } = node; style.height = '100%'; const totalHeight = parseInt(`${getComputedStyle(node).h...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/index.less
LESS
.miniChart { position: relative; width: 100%; .chartContent { position: absolute; bottom: -28px; width: 100%; > div { margin: 0 -5px; overflow: hidden; } } .chartLoading { position: absolute; top: 16px; left: 50%; margin-left: -7px; } }
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Charts/index.tsx
TypeScript (TSX)
import numeral from 'numeral'; import ChartCard from './ChartCard'; import Field from './Field'; const yuan = (val: number | string) => `¥ ${numeral(val).format('0,0')}`; const Charts = { yuan, ChartCard, Field, }; export { Charts as default, yuan, ChartCard, Field };
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/IntroduceRow.tsx
TypeScript (TSX)
import { Progress, TinyArea, TinyColumn } from '@ant-design/charts'; import { InfoCircleOutlined } from '@ant-design/icons'; import { Col, Row, Tooltip } from 'antd'; import numeral from 'numeral'; import type { DataItem } from '../data.d'; import styles from '../style.less'; import Yuan from '../utils/Yuan'; import { ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/NumberInfo/index.less
LESS
@import '~antd/es/style/themes/default.less'; .numberInfo { .suffix { margin-left: 4px; color: @text-color; font-size: 16px; font-style: normal; } .numberInfoTitle { margin-bottom: 16px; color: @text-color; font-size: @font-size-lg; transition: all 0.3s; } .numberInfoSubTitle ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/NumberInfo/index.tsx
TypeScript (TSX)
import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons'; import classNames from 'classnames'; import React from 'react'; import styles from './index.less'; export type NumberInfoProps = { title?: React.ReactNode | string; subTitle?: React.ReactNode | string; total?: React.ReactNode | string; sta...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/OfflineData.tsx
TypeScript (TSX)
import { Line, RingProgress } from '@ant-design/charts'; import { Card, Col, Row, Tabs } from 'antd'; import type { DataItem, OfflineDataType } from '../data.d'; import styles from '../style.less'; import NumberInfo from './NumberInfo'; const CustomTab = ({ data, currentTabKey: currentKey, }: { data: OfflineData...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/PageLoading/index.tsx
TypeScript (TSX)
import { Spin } from 'antd'; // loading components from code split // https://umijs.org/plugin/umi-plugin-react.html#dynamicimport export default () => ( <div style={{ paddingTop: 100, textAlign: 'center' }}> <Spin size="large" /> </div> );
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/ProportionSales.tsx
TypeScript (TSX)
import type { PieConfig } from '@ant-design/charts'; import { Pie } from '@ant-design/charts'; import { Card, Radio, Typography } from 'antd'; import type { RadioChangeEvent } from 'antd/es/radio'; import numeral from 'numeral'; import React from 'react'; import type { DataItem } from '../data.d'; import styles from '....
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/SalesCard.tsx
TypeScript (TSX)
import { Column } from '@ant-design/charts'; import { Card, Col, DatePicker, Row, Tabs } from 'antd'; import type { RangePickerProps } from 'antd/es/date-picker/generatePicker'; import type moment from 'moment'; import numeral from 'numeral'; import type { DataItem } from '../data.d'; import styles from '../style.less...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/TopSearch.tsx
TypeScript (TSX)
import { TinyArea } from '@ant-design/charts'; import { InfoCircleOutlined } from '@ant-design/icons'; import { Card, Col, Row, Table, Tooltip } from 'antd'; import numeral from 'numeral'; import React from 'react'; import type { DataItem } from '../data.d'; import styles from '../style.less'; import NumberInfo from '....
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Trend/index.less
LESS
@import '~antd/es/style/themes/default.less'; .trendItem { display: inline-block; font-size: @font-size-base; line-height: 22px; .up, .down { position: relative; top: 1px; margin-left: 4px; span { font-size: 12px; transform: scale(0.83); } } .up { color: @red-6; } ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/components/Trend/index.tsx
TypeScript (TSX)
import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons'; import classNames from 'classnames'; import React from 'react'; import styles from './index.less'; export type TrendProps = { colorful?: boolean; flag: 'up' | 'down'; style?: React.CSSProperties; reverseColor?: boolean; className?: strin...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/data.d.ts
TypeScript
import { DataItem } from '@antv/g2plot/esm/interface/config'; export { DataItem }; export interface VisitDataType { x: string; y: number; } export type SearchDataType = { index: number; keyword: string; count: number; range: number; status: number; }; export type OfflineDataType = { name: string; ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/index.tsx
TypeScript (TSX)
import { EllipsisOutlined } from '@ant-design/icons'; import { GridContent } from '@ant-design/pro-layout'; import { Col, Dropdown, Menu, Row } from 'antd'; import type { RangePickerProps } from 'antd/es/date-picker/generatePicker'; import type { RadioChangeEvent } from 'antd/es/radio'; import type moment from 'moment'...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/service.ts
TypeScript
import { ir } from 'umi'; import type { AnalysisData } from './data'; export async function fakeChartData(): Promise<{ data: AnalysisData }> { return ir('/api/fake_analysis_chart_data'); }
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/style.less
LESS
@import '~antd/es/style/themes/default.less'; .iconGroup { span.anticon { margin-left: 16px; color: @text-color-secondary; cursor: pointer; transition: color 0.32s; &:hover { color: @text-color; } } } .rankingList { margin: 25px 0 0; padding: 0; list-style: none; li { dis...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/utils/Yuan.tsx
TypeScript (TSX)
import React from 'react'; import { yuan } from '../components/Charts'; /** 减少使用 dangerouslySetInnerHTML */ export default class Yuan extends React.Component<{ children: React.ReactText; }> { main: HTMLSpanElement | undefined | null = null; componentDidMount() { this.renderToHtml(); } componentDidUpdate...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/utils/utils.less
LESS
.textOverflow() { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; word-break: break-all; } .textOverflowMulti(@line: 3, @bg: #fff) { position: relative; max-height: @line * 1.5em; margin-right: -1em; padding-right: 1em; overflow: hidden; line-height: 1.5em; text-align: justify; ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/home/utils/utils.ts
TypeScript
import type { RangePickerProps } from 'antd/es/date-picker/generatePicker'; import moment from 'moment'; type RangePickerValue = RangePickerProps<moment.Moment>['value']; export function fixedZero(val: number) { return val * 1 < 10 ? `0${val}` : val; } export function getTimeDistance( type: 'today' | 'week' | 'm...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/src/pages/index.tsx
TypeScript (TSX)
import { Button } from 'antd'; const Page = () => { return ( <div> <Button>1243</Button> </div> ); }; export default Page;
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/blocks/typings.d.ts
TypeScript
import "inula/typings";
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/boilerplate/.inularc.ts
TypeScript
import { defineConfig } from 'inula'; export default defineConfig({ title: 'boilerplate', });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/boilerplate/src/pages/index.tsx
TypeScript (TSX)
import { useStore } from 'inula'; const Page = () => { const store = useStore('hello'); return ( <div> hello {store.title} <button onClick={() => { store.changeName(); }} > 改名字啦 </button> </div> ); }; export default Page;
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/boilerplate/src/pages/store.ts
TypeScript
import { createStore } from 'inula'; export default createStore({ id: 'hello12', actions: { changeName: (state) => { state.title = 'openinula'; }, }, state: { title: 'inulajs', }, });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/boilerplate/src/stores/hello.ts
TypeScript
import { createStore } from 'inula'; export default createStore({ id: 'hello', actions: { changeName: (state) => { state.title = 'openinula'; }, }, state: { title: 'inulajs', }, });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/boilerplate/typings.d.ts
TypeScript
import "inula/typings";
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/cli/sdasd.js
JavaScript
const a = 'a12312'; const v = 'a12312'; const d = 'a12312';
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/intl/.inularc.ts
TypeScript
import { defineConfig } from 'inula'; export default defineConfig({ title: 'inula-intl', });
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏
examples/intl/src/locales/ar-EG.ts
TypeScript
export default { 'navBar.lang': 'لغة', 'layout.user.link.help': 'مساعده', 'layout.user.link.privacy': 'الخصوصية', 'layout.user.link.terms': 'شروط', 'app.preview.down.block': 'تنزيل هذه الصفحة إلى المشروع المحلي', 'app.welcome.link.fetch-blocks': 'الحصول على جميع الكتل', 'app.welcome.link.block-list': ...
xiaohuoni/inula
0
TypeScript
xiaohuoni
聪小陈
浮光陈氏