@dckj-npm/dc-material 0.1.87 → 0.1.88
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/build/lowcode/assets-daily.json +13 -13
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +13 -13
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +5 -5
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +2 -2
- package/dist/BizComps.js.map +1 -1
- package/es/components/notice-bar/components/ScrollSwitcher.js +45 -0
- package/es/components/notice-bar/components/ScrollSwitcher.scss +17 -0
- package/es/components/notice-bar/index.scss +17 -4
- package/es/components/notice-bar/notice-bar-item.js +2 -0
- package/es/components/notice-bar/notice-bar.js +51 -17
- package/es/utils/time-util.js +18 -0
- package/lib/components/notice-bar/components/ScrollSwitcher.js +52 -0
- package/lib/components/notice-bar/components/ScrollSwitcher.scss +17 -0
- package/lib/components/notice-bar/index.scss +17 -4
- package/lib/components/notice-bar/notice-bar-item.js +2 -0
- package/lib/components/notice-bar/notice-bar.js +53 -17
- package/lib/utils/time-util.js +22 -0
- package/lowcode_es/meta.js +1 -1
- package/lowcode_lib/meta.js +1 -1
- package/package.json +2 -2
- package/es/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/es/components/bottom-navigation/index.d.ts +0 -3
- package/es/components/button/button.d.ts +0 -14
- package/es/components/button/index.d.ts +0 -6
- package/es/components/carousel/carousel.d.ts +0 -14
- package/es/components/colorful-button/colorful-button.d.ts +0 -12
- package/es/components/colorful-button/index.d.ts +0 -3
- package/es/components/colorful-input/colorful-input.d.ts +0 -8
- package/es/components/colorful-input/index.d.ts +0 -3
- package/es/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/es/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/es/components/goods-card-list/index.d.ts +0 -4
- package/es/components/goods-card-list/types.d.ts +0 -45
- package/es/components/grid-nav/grid-nav.d.ts +0 -13
- package/es/components/grid-nav/index.d.ts +0 -3
- package/es/components/integral-task/index.d.ts +0 -6
- package/es/components/integral-task/integral-task.d.ts +0 -40
- package/es/components/menu-list/index.d.ts +0 -6
- package/es/components/menu-list/menu-list-item.d.ts +0 -5
- package/es/components/menu-list/menu-list.d.ts +0 -5
- package/es/components/menu-list/types.d.ts +0 -23
- package/es/components/message-list/index.d.ts +0 -6
- package/es/components/message-list/message-list-item.d.ts +0 -33
- package/es/components/message-list/message-list.d.ts +0 -28
- package/es/components/notice-bar/index.d.ts +0 -3
- package/es/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/es/components/notice-bar/notice-bar.d.ts +0 -37
- package/es/components/position/entity.d.ts +0 -5
- package/es/components/position/index.d.ts +0 -3
- package/es/components/position/position-left.d.ts +0 -9
- package/es/components/position/position-list.d.ts +0 -12
- package/es/components/position/position.d.ts +0 -8
- package/es/components/radio-group/index.d.ts +0 -8
- package/es/components/radio-group/radio-group-item.d.ts +0 -48
- package/es/components/radio-group/radio-group.d.ts +0 -52
- package/es/components/rich-text/index.d.ts +0 -6
- package/es/components/rich-text/rich-text.d.ts +0 -14
- package/es/components/search-bar/index.d.ts +0 -3
- package/es/components/search-bar/search-bar.d.ts +0 -7
- package/es/components/swiper/index.d.ts +0 -3
- package/es/components/swiper/swiper.d.ts +0 -47
- package/es/components/tab/index.d.ts +0 -6
- package/es/components/tab/tab.d.ts +0 -27
- package/es/components/tab-container/index.d.ts +0 -3
- package/es/components/tab-container/tab-container.d.ts +0 -10
- package/es/components/tab-container-item/index.d.ts +0 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/es/components/tag/index.d.ts +0 -6
- package/es/components/tag/tag.d.ts +0 -14
- package/es/components/teletext-list/index.d.ts +0 -6
- package/es/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/es/components/teletext-list/teletext-list.d.ts +0 -52
- package/es/components/title/index.d.ts +0 -8
- package/es/components/title/title-1.d.ts +0 -10
- package/es/components/title/title-2.d.ts +0 -18
- package/es/index.d.ts +0 -42
- package/es/utils/children-node-handle.d.ts +0 -9
- package/es/utils/component-wrapper.d.ts +0 -9
- package/es/utils/debounce.d.ts +0 -1
- package/es/variables.d.ts +0 -2
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +0 -15
- package/lib/components/bottom-navigation/index.d.ts +0 -3
- package/lib/components/button/button.d.ts +0 -14
- package/lib/components/button/index.d.ts +0 -6
- package/lib/components/carousel/carousel.d.ts +0 -14
- package/lib/components/colorful-button/colorful-button.d.ts +0 -12
- package/lib/components/colorful-button/index.d.ts +0 -3
- package/lib/components/colorful-input/colorful-input.d.ts +0 -8
- package/lib/components/colorful-input/index.d.ts +0 -3
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +0 -5
- package/lib/components/goods-card-list/goods-card-list.d.ts +0 -5
- package/lib/components/goods-card-list/index.d.ts +0 -4
- package/lib/components/goods-card-list/types.d.ts +0 -45
- package/lib/components/grid-nav/grid-nav.d.ts +0 -13
- package/lib/components/grid-nav/index.d.ts +0 -3
- package/lib/components/integral-task/index.d.ts +0 -6
- package/lib/components/integral-task/integral-task.d.ts +0 -40
- package/lib/components/menu-list/index.d.ts +0 -6
- package/lib/components/menu-list/menu-list-item.d.ts +0 -5
- package/lib/components/menu-list/menu-list.d.ts +0 -5
- package/lib/components/menu-list/types.d.ts +0 -23
- package/lib/components/message-list/index.d.ts +0 -6
- package/lib/components/message-list/message-list-item.d.ts +0 -33
- package/lib/components/message-list/message-list.d.ts +0 -28
- package/lib/components/notice-bar/index.d.ts +0 -3
- package/lib/components/notice-bar/notice-bar-item.d.ts +0 -18
- package/lib/components/notice-bar/notice-bar.d.ts +0 -37
- package/lib/components/position/entity.d.ts +0 -5
- package/lib/components/position/index.d.ts +0 -3
- package/lib/components/position/position-left.d.ts +0 -9
- package/lib/components/position/position-list.d.ts +0 -12
- package/lib/components/position/position.d.ts +0 -8
- package/lib/components/radio-group/index.d.ts +0 -8
- package/lib/components/radio-group/radio-group-item.d.ts +0 -48
- package/lib/components/radio-group/radio-group.d.ts +0 -52
- package/lib/components/rich-text/index.d.ts +0 -6
- package/lib/components/rich-text/rich-text.d.ts +0 -14
- package/lib/components/search-bar/index.d.ts +0 -3
- package/lib/components/search-bar/search-bar.d.ts +0 -7
- package/lib/components/swiper/index.d.ts +0 -3
- package/lib/components/swiper/swiper.d.ts +0 -47
- package/lib/components/tab/index.d.ts +0 -6
- package/lib/components/tab/tab.d.ts +0 -27
- package/lib/components/tab-container/index.d.ts +0 -3
- package/lib/components/tab-container/tab-container.d.ts +0 -10
- package/lib/components/tab-container-item/index.d.ts +0 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +0 -11
- package/lib/components/tag/index.d.ts +0 -6
- package/lib/components/tag/tag.d.ts +0 -14
- package/lib/components/teletext-list/index.d.ts +0 -6
- package/lib/components/teletext-list/teletext-list-item.d.ts +0 -33
- package/lib/components/teletext-list/teletext-list.d.ts +0 -52
- package/lib/components/title/index.d.ts +0 -8
- package/lib/components/title/title-1.d.ts +0 -10
- package/lib/components/title/title-2.d.ts +0 -18
- package/lib/index.d.ts +0 -42
- package/lib/utils/children-node-handle.d.ts +0 -9
- package/lib/utils/component-wrapper.d.ts +0 -9
- package/lib/utils/debounce.d.ts +0 -1
- package/lib/variables.d.ts +0 -2
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
/**
|
|
4
|
-
* 数据
|
|
5
|
-
*/
|
|
6
|
-
interface DataProps {
|
|
7
|
-
/**
|
|
8
|
-
* 标题
|
|
9
|
-
*/
|
|
10
|
-
title?: string;
|
|
11
|
-
/**
|
|
12
|
-
* 图片地址
|
|
13
|
-
*/
|
|
14
|
-
image?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* 说明
|
|
17
|
-
*/
|
|
18
|
-
description?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 标签列表
|
|
21
|
-
*/
|
|
22
|
-
tags?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 链接地址
|
|
25
|
-
*/
|
|
26
|
-
link?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface TeletextListProps {
|
|
29
|
-
/**
|
|
30
|
-
* 标题
|
|
31
|
-
*/
|
|
32
|
-
title?: string;
|
|
33
|
-
/**
|
|
34
|
-
* 数据
|
|
35
|
-
*/
|
|
36
|
-
dataList?: DataProps[];
|
|
37
|
-
/**
|
|
38
|
-
* 点击事件
|
|
39
|
-
* @param e
|
|
40
|
-
*/
|
|
41
|
-
onClick?: (e: any) => void;
|
|
42
|
-
/**
|
|
43
|
-
* 子节点
|
|
44
|
-
*/
|
|
45
|
-
children: React.ReactChild;
|
|
46
|
-
/**
|
|
47
|
-
* 图片位置
|
|
48
|
-
*/
|
|
49
|
-
imagePlacement?: 'left' | 'right' | 'none';
|
|
50
|
-
}
|
|
51
|
-
declare const TeletextList: React.FC<TeletextListProps>;
|
|
52
|
-
export default TeletextList;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './title-2.scss';
|
|
3
|
-
export interface Title2Props {
|
|
4
|
-
/**
|
|
5
|
-
* 标题
|
|
6
|
-
*/
|
|
7
|
-
title?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 颜色
|
|
10
|
-
*/
|
|
11
|
-
color?: string;
|
|
12
|
-
/**
|
|
13
|
-
* tip颜色
|
|
14
|
-
*/
|
|
15
|
-
tipColor?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const Title2: React.FC<Title2Props>;
|
|
18
|
-
export default Title2;
|
package/es/index.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export type { ComponentProps } from './components/swiper';
|
|
2
|
-
export { default as Swiper } from './components/swiper';
|
|
3
|
-
export type { NavigationProps } from './components/bottom-navigation';
|
|
4
|
-
export { default as Navigation } from './components/bottom-navigation';
|
|
5
|
-
export type { MenuListDataProps, MenuListProps } from './components/menu-list';
|
|
6
|
-
export { default as MenuList } from './components/menu-list';
|
|
7
|
-
export type { TeletextListProps } from './components/teletext-list';
|
|
8
|
-
export { TeletextList } from './components/teletext-list';
|
|
9
|
-
export type { Title1Props } from './components/title';
|
|
10
|
-
export { Title1 } from './components/title';
|
|
11
|
-
export type { Title2Props } from './components/title';
|
|
12
|
-
export { Title2 } from './components/title';
|
|
13
|
-
export type { GridNavProps } from './components/grid-nav';
|
|
14
|
-
export { default as GridNav } from './components/grid-nav';
|
|
15
|
-
export type { SearchBarProps } from './components/search-bar';
|
|
16
|
-
export { default as SearchBar } from './components/search-bar';
|
|
17
|
-
export type { LocationProps } from './components/position';
|
|
18
|
-
export { default as Position } from './components/position';
|
|
19
|
-
export type { TagProps } from './components/tag';
|
|
20
|
-
export { default as TagC } from './components/tag';
|
|
21
|
-
export type { MessageListProps } from './components/message-list';
|
|
22
|
-
export { default as MessageList } from './components/message-list';
|
|
23
|
-
export type { TabProps } from './components/tab';
|
|
24
|
-
export { default as TabMessage } from './components/tab';
|
|
25
|
-
export type { NoticeBarProps } from './components/notice-bar';
|
|
26
|
-
export { default as NoticeBar } from './components/notice-bar';
|
|
27
|
-
export type { TabContainerProps } from './components/tab-container';
|
|
28
|
-
export { default as TabContainer } from './components/tab-container';
|
|
29
|
-
export type { TabContainerItemProps } from './components/tab-container-item';
|
|
30
|
-
export { default as TabContainerItem } from './components/tab-container-item';
|
|
31
|
-
export type { IntegralTaskProps } from './components/integral-task';
|
|
32
|
-
export { default as IntegralTask } from './components/integral-task';
|
|
33
|
-
export type { ButtonProps } from './components/button';
|
|
34
|
-
export { default as Button2 } from './components/button';
|
|
35
|
-
export type { RadioGroupProps, RadioGroupItemProps } from './components/radio-group';
|
|
36
|
-
export { CustomRadioGroup, CustomRadioGroupItem } from './components/radio-group';
|
|
37
|
-
export type { GoodsCardListProps } from './components/goods-card-list';
|
|
38
|
-
export { GoodsCardList, GoodsCardListCommon } from './components/goods-card-list';
|
|
39
|
-
export type { RichTextProps } from './components/rich-text';
|
|
40
|
-
export { RichText } from './components/rich-text';
|
|
41
|
-
declare const bizCssPrefix = "bizpack";
|
|
42
|
-
export { bizCssPrefix };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 从children数组中获取指定组件
|
|
3
|
-
* @author ZhuGangMin
|
|
4
|
-
* @date 2024-09-21 14:07:02
|
|
5
|
-
* @param children 父组件传递过来children
|
|
6
|
-
* @param key 组件的key
|
|
7
|
-
* @param props 要覆盖的属性
|
|
8
|
-
*/
|
|
9
|
-
export declare function convertChildren(children: any, key: string, props?: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const ValueWrapper: (NextFormComponent: React.ElementType, displayName: string) => {
|
|
3
|
-
(props: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
4
|
-
displayName: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const DynamicPropWrapper: (prop: string, NextFormComponent: React.ElementType, displayName: string) => {
|
|
7
|
-
(props: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
8
|
-
displayName: string;
|
|
9
|
-
};
|
package/es/utils/debounce.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function debounce<T extends (...args: any[]) => void>(func: T, delay: number): (this: any, ...args: Parameters<T>) => void;
|
package/es/variables.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
interface Navigation {
|
|
4
|
-
text: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
selectedIcon: string;
|
|
7
|
-
pageId: string;
|
|
8
|
-
}
|
|
9
|
-
export interface NavigationProps {
|
|
10
|
-
itemArray: Navigation[];
|
|
11
|
-
selectedColor: string;
|
|
12
|
-
onClick?: (pageId: string) => void;
|
|
13
|
-
}
|
|
14
|
-
declare const Navigation: React.FC<NavigationProps>;
|
|
15
|
-
export default Navigation;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './carousel.scss';
|
|
3
|
-
export interface CarouselProps {
|
|
4
|
-
/**
|
|
5
|
-
* 图片列表
|
|
6
|
-
*/
|
|
7
|
-
images: string[];
|
|
8
|
-
/**
|
|
9
|
-
* 定时播放的时间
|
|
10
|
-
*/
|
|
11
|
-
interval?: number;
|
|
12
|
-
}
|
|
13
|
-
declare const Carousel: React.FC<CarouselProps>;
|
|
14
|
-
export default Carousel;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
export interface ColorfulButtonProps {
|
|
4
|
-
/**
|
|
5
|
-
* 类型
|
|
6
|
-
*/
|
|
7
|
-
type?: "primary" | "secondary" | "normal";
|
|
8
|
-
color?: string;
|
|
9
|
-
style?: object;
|
|
10
|
-
}
|
|
11
|
-
declare const ColorfulButton: React.FC<ColorfulButtonProps>;
|
|
12
|
-
export default ColorfulButton;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export interface GoodsCardListProps {
|
|
2
|
-
/**
|
|
3
|
-
* 卡片列表数据
|
|
4
|
-
*/
|
|
5
|
-
dataList: GoodsCardListItemProps[];
|
|
6
|
-
/**
|
|
7
|
-
* 最大销量
|
|
8
|
-
*/
|
|
9
|
-
maxSales?: number;
|
|
10
|
-
/**
|
|
11
|
-
* 点击事件
|
|
12
|
-
* @param item
|
|
13
|
-
*/
|
|
14
|
-
onClick?: (item: GoodsCardListItemProps) => void;
|
|
15
|
-
}
|
|
16
|
-
export interface GoodsCardListItemProps {
|
|
17
|
-
/**
|
|
18
|
-
* 唯一标识
|
|
19
|
-
*/
|
|
20
|
-
key: string;
|
|
21
|
-
/**
|
|
22
|
-
* 缩略图列表
|
|
23
|
-
*/
|
|
24
|
-
imageList: string[];
|
|
25
|
-
/**
|
|
26
|
-
* 标题
|
|
27
|
-
*/
|
|
28
|
-
title: string;
|
|
29
|
-
/**
|
|
30
|
-
* 简介
|
|
31
|
-
*/
|
|
32
|
-
desc: string;
|
|
33
|
-
/**
|
|
34
|
-
* 价格
|
|
35
|
-
*/
|
|
36
|
-
price: string;
|
|
37
|
-
/**
|
|
38
|
-
* 促销价格
|
|
39
|
-
*/
|
|
40
|
-
activePrice?: string;
|
|
41
|
-
/**
|
|
42
|
-
* 销量
|
|
43
|
-
*/
|
|
44
|
-
sales: number;
|
|
45
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface GridNavProps {
|
|
3
|
-
dataSourceSetting: [];
|
|
4
|
-
columns: number;
|
|
5
|
-
iconSize: string;
|
|
6
|
-
fontWeight: string;
|
|
7
|
-
fontSize: number;
|
|
8
|
-
fontColor: string;
|
|
9
|
-
lineHeight: string;
|
|
10
|
-
lineNum: number;
|
|
11
|
-
}
|
|
12
|
-
declare const GridNav: React.ForwardRefExoticComponent<GridNavProps & React.RefAttributes<any>>;
|
|
13
|
-
export default GridNav;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
interface DataProps {
|
|
4
|
-
/**
|
|
5
|
-
* 任务名称
|
|
6
|
-
*/
|
|
7
|
-
name: string;
|
|
8
|
-
/**
|
|
9
|
-
* 积分
|
|
10
|
-
*/
|
|
11
|
-
integral: number;
|
|
12
|
-
/**
|
|
13
|
-
* 状态 0 未完成 1 已完成
|
|
14
|
-
*/
|
|
15
|
-
status: number;
|
|
16
|
-
}
|
|
17
|
-
export interface IntegralTaskProps {
|
|
18
|
-
/**
|
|
19
|
-
* 任务名称
|
|
20
|
-
*/
|
|
21
|
-
list: DataProps[];
|
|
22
|
-
/**
|
|
23
|
-
* 图标
|
|
24
|
-
*/
|
|
25
|
-
icon: string;
|
|
26
|
-
/**
|
|
27
|
-
* 图片
|
|
28
|
-
*/
|
|
29
|
-
images: string[];
|
|
30
|
-
/**
|
|
31
|
-
* 完成文案
|
|
32
|
-
*/
|
|
33
|
-
completeLabel: string;
|
|
34
|
-
/**
|
|
35
|
-
* 未完成文案
|
|
36
|
-
*/
|
|
37
|
-
undoneLabel: string;
|
|
38
|
-
}
|
|
39
|
-
declare const IntegralTask: React.FC<IntegralTaskProps>;
|
|
40
|
-
export default IntegralTask;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 数据
|
|
3
|
-
*/
|
|
4
|
-
export interface MenuListDataProps {
|
|
5
|
-
/**
|
|
6
|
-
* 菜单名称
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* 菜单图标地址
|
|
11
|
-
*/
|
|
12
|
-
iconUrl?: string;
|
|
13
|
-
/**
|
|
14
|
-
* 点击事件
|
|
15
|
-
*/
|
|
16
|
-
handleClick?: Function;
|
|
17
|
-
}
|
|
18
|
-
export interface MenuListProps {
|
|
19
|
-
/**
|
|
20
|
-
* 数据
|
|
21
|
-
*/
|
|
22
|
-
dataList?: MenuListDataProps[];
|
|
23
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './message-list-item.scss';
|
|
3
|
-
/**
|
|
4
|
-
* 数据
|
|
5
|
-
*/
|
|
6
|
-
export interface DataProps {
|
|
7
|
-
/**
|
|
8
|
-
* 标题
|
|
9
|
-
*/
|
|
10
|
-
title?: string;
|
|
11
|
-
/**
|
|
12
|
-
* 图片地址
|
|
13
|
-
*/
|
|
14
|
-
image?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 说明
|
|
17
|
-
*/
|
|
18
|
-
description?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 发布时间
|
|
21
|
-
*/
|
|
22
|
-
gmtCreate?: string;
|
|
23
|
-
/**
|
|
24
|
-
* 点击事件
|
|
25
|
-
*/
|
|
26
|
-
onClick?: (e: any) => void;
|
|
27
|
-
/**
|
|
28
|
-
* 是否已读
|
|
29
|
-
*/
|
|
30
|
-
isRead?: boolean;
|
|
31
|
-
}
|
|
32
|
-
declare const MessageListItem: React.FC<DataProps>;
|
|
33
|
-
export default MessageListItem;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { DataProps } from './message-list-item';
|
|
4
|
-
export interface MessageListProps {
|
|
5
|
-
/**
|
|
6
|
-
* 全部的数据
|
|
7
|
-
*/
|
|
8
|
-
dataList?: DataProps[];
|
|
9
|
-
/**
|
|
10
|
-
* 点击事件
|
|
11
|
-
* @param e
|
|
12
|
-
*/
|
|
13
|
-
onClick?: (e: any) => void;
|
|
14
|
-
/**
|
|
15
|
-
* 子节点
|
|
16
|
-
*/
|
|
17
|
-
children: React.ReactChild;
|
|
18
|
-
/**
|
|
19
|
-
* 图片
|
|
20
|
-
*/
|
|
21
|
-
images: string[];
|
|
22
|
-
/**
|
|
23
|
-
* 切换数据源
|
|
24
|
-
*/
|
|
25
|
-
handleDataList: (key: string) => DataProps[];
|
|
26
|
-
}
|
|
27
|
-
declare const MessageList: React.FC<MessageListProps>;
|
|
28
|
-
export default MessageList;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './notice-bar-item.scss';
|
|
3
|
-
interface NoticeBarItemProps {
|
|
4
|
-
/**
|
|
5
|
-
* 内容
|
|
6
|
-
*/
|
|
7
|
-
content?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 发布时间
|
|
10
|
-
*/
|
|
11
|
-
releaseTime?: string;
|
|
12
|
-
/**
|
|
13
|
-
* 是否置顶
|
|
14
|
-
*/
|
|
15
|
-
isTop?: number;
|
|
16
|
-
}
|
|
17
|
-
declare const NoticeBarItem: React.FC<NoticeBarItemProps>;
|
|
18
|
-
export default NoticeBarItem;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
interface DataProps {
|
|
4
|
-
/**
|
|
5
|
-
* 内容
|
|
6
|
-
*/
|
|
7
|
-
content?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 发布时间
|
|
10
|
-
*/
|
|
11
|
-
releaseTime?: string;
|
|
12
|
-
/**
|
|
13
|
-
* 是否置顶
|
|
14
|
-
*/
|
|
15
|
-
isTop?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface NoticeBarProps {
|
|
18
|
-
/**
|
|
19
|
-
* 数据
|
|
20
|
-
*/
|
|
21
|
-
dataList?: DataProps[];
|
|
22
|
-
/**
|
|
23
|
-
* 点击事件
|
|
24
|
-
* @param e
|
|
25
|
-
*/
|
|
26
|
-
onClick?: (e: any) => void;
|
|
27
|
-
/**
|
|
28
|
-
* 子节点
|
|
29
|
-
*/
|
|
30
|
-
children: React.ReactChild;
|
|
31
|
-
/**
|
|
32
|
-
* 左侧图标
|
|
33
|
-
*/
|
|
34
|
-
icon: string;
|
|
35
|
-
}
|
|
36
|
-
declare const NoticeBar: React.FC<NoticeBarProps>;
|
|
37
|
-
export default NoticeBar;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { Location } from "./entity";
|
|
4
|
-
export interface LocationProps {
|
|
5
|
-
currentLocation: Location;
|
|
6
|
-
clickHandle: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const NavigationLeft: React.FC<LocationProps>;
|
|
9
|
-
export default NavigationLeft;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { Location } from "./position";
|
|
4
|
-
interface LocationProps {
|
|
5
|
-
itemArray: Location[];
|
|
6
|
-
currentLocation: Location;
|
|
7
|
-
open: boolean;
|
|
8
|
-
setIsOpen: () => void;
|
|
9
|
-
setCurrent: (data: Location) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const ContentList: React.FC<LocationProps>;
|
|
12
|
-
export default ContentList;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 单选按钮组
|
|
3
|
-
*/
|
|
4
|
-
import RadioGroup from './radio-group';
|
|
5
|
-
import RadioGroupItem from './radio-group-item';
|
|
6
|
-
export type { RadioGroupProps } from './radio-group';
|
|
7
|
-
export type { RadioGroupItemProps } from './radio-group-item';
|
|
8
|
-
export { RadioGroup as CustomRadioGroup, RadioGroupItem as CustomRadioGroupItem, };
|