@aks-dev/easyui 1.0.198 → 1.0.200
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.
Potentially problematic release.
This version of @aks-dev/easyui might be problematic. Click here for more details.
- package/dist/index.js +32 -20
- package/package.json +3 -2
- package/types/index.d.ts +0 -18
- package/types/index.d.ts.map +1 -1
- package/dist/components/AnimationModal/AnimationModal.js +0 -151
- package/dist/components/Badge/Badge.js +0 -35
- package/dist/components/DottedLine/DottedLine.js +0 -50
- package/dist/components/Echarts/EchartsView.js +0 -151
- package/dist/components/Echarts/helper.js +0 -64
- package/dist/components/MenuView/MenuView.js +0 -184
- package/dist/components/Modal/Modal.js +0 -8
- package/dist/components/MutiPictureView/MutiPictureView.js +0 -239
- package/dist/components/PictureViewer/PictureViewer.js +0 -54
- package/dist/components/RefreshList/RefreshList.js +0 -155
- package/dist/components/RichText/RichText.js +0 -56
- package/dist/components/StickHeaderView/StickHeaderView.js +0 -37
- package/dist/components/TableCell/TableCell.js +0 -97
- package/dist/components/TextInputArea/TextInputArea.js +0 -65
- package/dist/components/WithLoadingContainer/WithLoadingContainer.js +0 -77
- package/types/components/AnimationModal/AnimationModal.d.ts +0 -27
- package/types/components/AnimationModal/AnimationModal.d.ts.map +0 -1
- package/types/components/Badge/Badge.d.ts +0 -8
- package/types/components/Badge/Badge.d.ts.map +0 -1
- package/types/components/DottedLine/DottedLine.d.ts +0 -10
- package/types/components/DottedLine/DottedLine.d.ts.map +0 -1
- package/types/components/Echarts/EchartsView.d.ts +0 -12
- package/types/components/Echarts/EchartsView.d.ts.map +0 -1
- package/types/components/Echarts/helper.d.ts +0 -10
- package/types/components/Echarts/helper.d.ts.map +0 -1
- package/types/components/MenuView/MenuView.d.ts +0 -21
- package/types/components/MenuView/MenuView.d.ts.map +0 -1
- package/types/components/Modal/Modal.d.ts +0 -2
- package/types/components/Modal/Modal.d.ts.map +0 -1
- package/types/components/MutiPictureView/MutiPictureView.d.ts +0 -50
- package/types/components/MutiPictureView/MutiPictureView.d.ts.map +0 -1
- package/types/components/PictureViewer/PictureViewer.d.ts +0 -17
- package/types/components/PictureViewer/PictureViewer.d.ts.map +0 -1
- package/types/components/RefreshList/RefreshList.d.ts +0 -45
- package/types/components/RefreshList/RefreshList.d.ts.map +0 -1
- package/types/components/RichText/RichText.d.ts +0 -12
- package/types/components/RichText/RichText.d.ts.map +0 -1
- package/types/components/StickHeaderView/StickHeaderView.d.ts +0 -15
- package/types/components/StickHeaderView/StickHeaderView.d.ts.map +0 -1
- package/types/components/TableCell/TableCell.d.ts +0 -24
- package/types/components/TableCell/TableCell.d.ts.map +0 -1
- package/types/components/TextInputArea/TextInputArea.d.ts +0 -17
- package/types/components/TextInputArea/TextInputArea.d.ts.map +0 -1
- package/types/components/WithLoadingContainer/WithLoadingContainer.d.ts +0 -23
- package/types/components/WithLoadingContainer/WithLoadingContainer.d.ts.map +0 -1
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: shiguo
|
|
3
|
-
* @Date: 2022-07-11 15:42:16
|
|
4
|
-
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-07-11 16:15:02
|
|
6
|
-
* @FilePath: /@aks-dev/easyui/lib/RichText/RichText.tsx
|
|
7
|
-
*/
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { StyleSheet, Text } from "react-native";
|
|
10
|
-
import { px2sp } from "../../screen/px2sp";
|
|
11
|
-
import * as utils from "../../utils/lazy";
|
|
12
|
-
export default (props) => {
|
|
13
|
-
const { rich, richStyle, text, suffix, prefix, ...rest } = props;
|
|
14
|
-
let textStr = "";
|
|
15
|
-
let richStr = "";
|
|
16
|
-
if (utils.isString(text) || utils.isNumber(text)) {
|
|
17
|
-
textStr = String(text);
|
|
18
|
-
}
|
|
19
|
-
if (utils.isString(rich) || utils.isNumber(rich)) {
|
|
20
|
-
richStr = String(rich);
|
|
21
|
-
}
|
|
22
|
-
let positionStart = 0;
|
|
23
|
-
let positionEnd = 0;
|
|
24
|
-
if (textStr?.indexOf(richStr) >= 0) {
|
|
25
|
-
positionStart = textStr.indexOf(richStr);
|
|
26
|
-
positionEnd = positionStart + richStr.length;
|
|
27
|
-
}
|
|
28
|
-
if (prefix) {
|
|
29
|
-
return (<Text style={styles.container} {...rest}>
|
|
30
|
-
<Text style={{ ...styles.defaultRich, ...richStyle }}>{richStr}</Text>
|
|
31
|
-
{textStr}
|
|
32
|
-
</Text>);
|
|
33
|
-
}
|
|
34
|
-
if (suffix) {
|
|
35
|
-
return (<Text style={styles.container} {...rest}>
|
|
36
|
-
{textStr}
|
|
37
|
-
<Text style={{ ...styles.defaultRich, ...richStyle }}>{richStr}</Text>
|
|
38
|
-
</Text>);
|
|
39
|
-
}
|
|
40
|
-
return (<Text style={styles.container} {...rest}>
|
|
41
|
-
{textStr.substring(0, positionStart)}
|
|
42
|
-
{positionEnd > 0 && (<Text style={{ ...styles.defaultRich, ...richStyle }}>{richStr}</Text>)}
|
|
43
|
-
{textStr.substring(positionEnd, textStr.length)}
|
|
44
|
-
</Text>);
|
|
45
|
-
};
|
|
46
|
-
const styles = StyleSheet.create({
|
|
47
|
-
container: {
|
|
48
|
-
color: "#333333",
|
|
49
|
-
fontSize: px2sp(14),
|
|
50
|
-
},
|
|
51
|
-
defaultRich: {
|
|
52
|
-
color: "red",
|
|
53
|
-
fontSize: px2sp(14),
|
|
54
|
-
// fontWeight: 'bold'
|
|
55
|
-
},
|
|
56
|
-
});
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: shiguo
|
|
3
|
-
* @Date: 2022-04-29 10:22:16
|
|
4
|
-
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-04-29 10:27:44
|
|
6
|
-
* @FilePath: /@aks/easyui/lib/StickHeaderView/StickHeaderView.tsx
|
|
7
|
-
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
import { StyleSheet, Animated, } from "react-native";
|
|
10
|
-
const App = (props) => {
|
|
11
|
-
const { style, children, stickyHeaderY = -1, stickyScrollY = new Animated.Value(0), } = props;
|
|
12
|
-
const [stickyLayoutY, setStickyLayoutY] = React.useState(0);
|
|
13
|
-
// 兼容代码,防止没有传头部高度
|
|
14
|
-
const _onLayout = (event) => {
|
|
15
|
-
setStickyLayoutY(event.nativeEvent.layout.y);
|
|
16
|
-
};
|
|
17
|
-
const translateY = () => {
|
|
18
|
-
let y = stickyHeaderY !== -1 ? stickyHeaderY : stickyLayoutY;
|
|
19
|
-
return stickyScrollY.interpolate({
|
|
20
|
-
inputRange: [-1, 0, y, y + 1],
|
|
21
|
-
outputRange: [0, 0, 0, 1],
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
return (<Animated.View onLayout={_onLayout} style={[
|
|
25
|
-
style,
|
|
26
|
-
styles.container,
|
|
27
|
-
{ transform: [{ translateY: translateY() }] },
|
|
28
|
-
]}>
|
|
29
|
-
{children}
|
|
30
|
-
</Animated.View>);
|
|
31
|
-
};
|
|
32
|
-
const styles = StyleSheet.create({
|
|
33
|
-
container: {
|
|
34
|
-
zIndex: 100,
|
|
35
|
-
},
|
|
36
|
-
});
|
|
37
|
-
export default React.memo(App);
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { View, Text, StyleSheet, TouchableOpacity, Image, } from "react-native";
|
|
3
|
-
import { px2dp } from "../../screen/px2dp";
|
|
4
|
-
import { px2sp } from "../../screen/px2sp";
|
|
5
|
-
export default (props) => {
|
|
6
|
-
const { showNav = false, activeOpacity = 0.8 } = props;
|
|
7
|
-
return (<TouchableOpacity activeOpacity={props.onPress == undefined ? activeOpacity : 1} style={[styles.container, props.style]} disabled={props.onPress == undefined} onPress={() => props.onPress && props.onPress()}>
|
|
8
|
-
<View style={[
|
|
9
|
-
styles.warpper,
|
|
10
|
-
props.showUnderline
|
|
11
|
-
? {
|
|
12
|
-
borderBottomColor: "#f2f2f2",
|
|
13
|
-
// borderBottomWidth: StyleSheet.hairlineWidth,
|
|
14
|
-
borderBottomWidth: px2dp(1),
|
|
15
|
-
...props.underlineStyle,
|
|
16
|
-
}
|
|
17
|
-
: {},
|
|
18
|
-
]}>
|
|
19
|
-
{props.icon && (<Image style={[
|
|
20
|
-
{ width: px2dp(20), height: px2dp(20), marginRight: px2dp(8) },
|
|
21
|
-
props.iconStyle,
|
|
22
|
-
]} resizeMode="contain" source={props.icon}/>)}
|
|
23
|
-
<View style={[styles.middle, props.middleContaierStyle]}>
|
|
24
|
-
{/* 标题 */}
|
|
25
|
-
{(() => {
|
|
26
|
-
if (typeof props.title === "string" ||
|
|
27
|
-
typeof props.title === "number") {
|
|
28
|
-
return (<Text numberOfLines={1} {...props.titleOptions} style={[styles.title, props.titleOptions?.style]}>
|
|
29
|
-
{props.title}
|
|
30
|
-
</Text>);
|
|
31
|
-
}
|
|
32
|
-
if (React.isValidElement(props.title))
|
|
33
|
-
return props.title;
|
|
34
|
-
return <View style={styles.title}/>;
|
|
35
|
-
})()}
|
|
36
|
-
|
|
37
|
-
{(() => {
|
|
38
|
-
if (typeof props.content === "string" ||
|
|
39
|
-
typeof props.content === "number") {
|
|
40
|
-
return (<Text numberOfLines={1} {...props.contentOptions} style={[styles.content, props.contentOptions?.style]}>
|
|
41
|
-
{props.content}
|
|
42
|
-
</Text>);
|
|
43
|
-
}
|
|
44
|
-
if (React.isValidElement(props.content))
|
|
45
|
-
return props.content;
|
|
46
|
-
return undefined;
|
|
47
|
-
})()}
|
|
48
|
-
</View>
|
|
49
|
-
{showNav &&
|
|
50
|
-
(props.nav || (<Image style={{
|
|
51
|
-
width: px2dp(9),
|
|
52
|
-
height: px2dp(16),
|
|
53
|
-
marginLeft: px2dp(8),
|
|
54
|
-
}} source={require("./assets/back.png")}/>))}
|
|
55
|
-
</View>
|
|
56
|
-
</TouchableOpacity>);
|
|
57
|
-
};
|
|
58
|
-
const styles = StyleSheet.create({
|
|
59
|
-
container: {
|
|
60
|
-
display: "flex",
|
|
61
|
-
minHeight: px2dp(44),
|
|
62
|
-
paddingLeft: px2dp(15),
|
|
63
|
-
paddingRight: px2dp(10),
|
|
64
|
-
backgroundColor: "white",
|
|
65
|
-
},
|
|
66
|
-
warpper: {
|
|
67
|
-
flexGrow: 1,
|
|
68
|
-
display: "flex",
|
|
69
|
-
flexDirection: "row",
|
|
70
|
-
alignItems: "center",
|
|
71
|
-
position: "relative",
|
|
72
|
-
},
|
|
73
|
-
middle: {
|
|
74
|
-
flexGrow: 1,
|
|
75
|
-
flexShrink: 1,
|
|
76
|
-
display: "flex",
|
|
77
|
-
flexDirection: "row",
|
|
78
|
-
alignItems: "center",
|
|
79
|
-
justifyContent: "space-between",
|
|
80
|
-
// backgroundColor: 'cyan'
|
|
81
|
-
},
|
|
82
|
-
title: {
|
|
83
|
-
// backgroundColor: 'red',
|
|
84
|
-
flexGrow: 0,
|
|
85
|
-
flexShrink: 0,
|
|
86
|
-
fontSize: px2sp(14),
|
|
87
|
-
color: "#333333",
|
|
88
|
-
},
|
|
89
|
-
content: {
|
|
90
|
-
// backgroundColor: 'yellow',
|
|
91
|
-
flexGrow: 1,
|
|
92
|
-
flexShrink: 1,
|
|
93
|
-
fontSize: px2sp(14),
|
|
94
|
-
color: "#666666",
|
|
95
|
-
textAlign: "right",
|
|
96
|
-
},
|
|
97
|
-
});
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: shiguo
|
|
3
|
-
* @Date: 2022-04-24 13:56:47
|
|
4
|
-
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-09-09 10:59:38
|
|
6
|
-
* @FilePath: /@aks-dev/easyui/lib/TextInputArea/TextInputArea.tsx
|
|
7
|
-
*/
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { View, Text, TextInput, StyleSheet, } from "react-native";
|
|
10
|
-
import { px2dp } from "../../screen/px2dp";
|
|
11
|
-
import { px2sp } from "../../screen/px2sp";
|
|
12
|
-
export default React.forwardRef((props, ref) => {
|
|
13
|
-
const { defaultValue, placeholder, maxLength = 200, on, ...rest } = props;
|
|
14
|
-
const [value, setValue] = React.useState(defaultValue);
|
|
15
|
-
React.useLayoutEffect(() => {
|
|
16
|
-
setValue(defaultValue);
|
|
17
|
-
}, [defaultValue]);
|
|
18
|
-
React.useImperativeHandle(ref, () => ({
|
|
19
|
-
value: value,
|
|
20
|
-
}), [value]);
|
|
21
|
-
return (<View style={[styles.container, rest.style]}>
|
|
22
|
-
<TextInput {...rest} style={[styles.textInput, rest.textInputStyle]} value={value} onChangeText={(txt) => {
|
|
23
|
-
setValue(txt);
|
|
24
|
-
on && on(txt);
|
|
25
|
-
}} multiline={true} textAlignVertical={"top"} maxLength={maxLength} placeholder={placeholder}/>
|
|
26
|
-
|
|
27
|
-
<View style={styles.corner}>
|
|
28
|
-
<Text style={styles.limit}>
|
|
29
|
-
<Text style={{
|
|
30
|
-
...styles.limit,
|
|
31
|
-
color: value && value?.length > maxLength - 5 ? "red" : "#AFAFAF",
|
|
32
|
-
}}>
|
|
33
|
-
{value?.length || 0}
|
|
34
|
-
</Text>
|
|
35
|
-
/{maxLength}
|
|
36
|
-
</Text>
|
|
37
|
-
</View>
|
|
38
|
-
</View>);
|
|
39
|
-
});
|
|
40
|
-
const styles = StyleSheet.create({
|
|
41
|
-
container: {
|
|
42
|
-
// backgroundColor: '#F5F5F5',
|
|
43
|
-
minHeight: px2dp(200),
|
|
44
|
-
// borderRadius: px2dp(10),
|
|
45
|
-
backgroundColor: "white",
|
|
46
|
-
},
|
|
47
|
-
textInput: {
|
|
48
|
-
flex: 1,
|
|
49
|
-
margin: px2dp(15),
|
|
50
|
-
marginBottom: px2dp(8),
|
|
51
|
-
fontSize: px2sp(14),
|
|
52
|
-
// backgroundColor: 'red'
|
|
53
|
-
},
|
|
54
|
-
corner: {
|
|
55
|
-
// position: 'absolute',
|
|
56
|
-
// backgroundColor:'cyan',
|
|
57
|
-
marginHorizontal: px2dp(15),
|
|
58
|
-
marginBottom: px2dp(8),
|
|
59
|
-
},
|
|
60
|
-
limit: {
|
|
61
|
-
textAlign: "right",
|
|
62
|
-
fontSize: px2sp(10),
|
|
63
|
-
color: "#AFAFAF",
|
|
64
|
-
},
|
|
65
|
-
});
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: shiguo
|
|
3
|
-
* @Date: 2022-04-20 14:56:47
|
|
4
|
-
* @LastEditors: shiguo
|
|
5
|
-
* @LastEditTime: 2022-05-09 14:35:04
|
|
6
|
-
* @FilePath: /@aks/easyui/lib/WithLoadingContainer/WithLoadingContainer.tsx
|
|
7
|
-
*/
|
|
8
|
-
import React from "react";
|
|
9
|
-
import { View, Image, Text, StyleSheet, TouchableOpacity, } from "react-native";
|
|
10
|
-
const loading = require("./assets/loading.gif");
|
|
11
|
-
const loading3 = require("./assets/loading3.gif");
|
|
12
|
-
export var Status;
|
|
13
|
-
(function (Status) {
|
|
14
|
-
Status["NONE"] = "NONE";
|
|
15
|
-
Status["LOADING"] = "LOADING";
|
|
16
|
-
Status["FAIL"] = "FAIL";
|
|
17
|
-
Status["SUCCESS"] = "SUCCESS";
|
|
18
|
-
Status["EMPTY"] = "EMPTY";
|
|
19
|
-
Status["NOMORE"] = "NOMORE";
|
|
20
|
-
})(Status || (Status = {}));
|
|
21
|
-
export default (props) => {
|
|
22
|
-
const { status = Status.NONE, renderFailComponent, renderEmptyComponent, renderNomoreComponent, reload, failText = "网络请求失败,点击重新加载~", emptyText = "暂无数据", nomoreText = "没有更多数据了~", } = props;
|
|
23
|
-
return (<View style={props.style}>
|
|
24
|
-
<>
|
|
25
|
-
{(() => {
|
|
26
|
-
switch (status) {
|
|
27
|
-
case Status.NONE:
|
|
28
|
-
return undefined;
|
|
29
|
-
case Status.SUCCESS:
|
|
30
|
-
return props.children;
|
|
31
|
-
case Status.LOADING:
|
|
32
|
-
return <Loading />;
|
|
33
|
-
case Status.FAIL:
|
|
34
|
-
if (renderFailComponent)
|
|
35
|
-
return renderFailComponent();
|
|
36
|
-
return (<TouchableOpacity disabled={!reload} onPress={reload} style={styles.container}>
|
|
37
|
-
<Text style={styles.text}>{failText}</Text>
|
|
38
|
-
</TouchableOpacity>);
|
|
39
|
-
case Status.EMPTY:
|
|
40
|
-
if (renderEmptyComponent)
|
|
41
|
-
return renderEmptyComponent();
|
|
42
|
-
return (<TouchableOpacity disabled={!reload} onPress={reload} style={styles.container}>
|
|
43
|
-
<Text style={styles.text}>{emptyText}</Text>
|
|
44
|
-
</TouchableOpacity>);
|
|
45
|
-
case Status.NOMORE:
|
|
46
|
-
return (<>
|
|
47
|
-
{props.children}
|
|
48
|
-
{renderNomoreComponent ? (renderNomoreComponent()) : (<Text style={styles.text}>{nomoreText}</Text>)}
|
|
49
|
-
</>);
|
|
50
|
-
default:
|
|
51
|
-
return (<Text style={[styles.text, { lineHeight: 44 }]}>
|
|
52
|
-
(^_^)∠※ 送你一束小花
|
|
53
|
-
</Text>);
|
|
54
|
-
}
|
|
55
|
-
})()}
|
|
56
|
-
</>
|
|
57
|
-
</View>);
|
|
58
|
-
};
|
|
59
|
-
const Loading = () => {
|
|
60
|
-
return (<View style={styles.container}>
|
|
61
|
-
<Image source={loading3} style={{ width: 20, height: 20 }} resizeMode="contain"/>
|
|
62
|
-
</View>);
|
|
63
|
-
};
|
|
64
|
-
const styles = StyleSheet.create({
|
|
65
|
-
text: {
|
|
66
|
-
color: "#999999",
|
|
67
|
-
fontSize: 14,
|
|
68
|
-
// textAlign: 'center',
|
|
69
|
-
},
|
|
70
|
-
container: {
|
|
71
|
-
display: "flex",
|
|
72
|
-
minHeight: 44,
|
|
73
|
-
justifyContent: "center",
|
|
74
|
-
alignItems: "center",
|
|
75
|
-
paddingHorizontal: 15,
|
|
76
|
-
},
|
|
77
|
-
});
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ColorValue } from "react-native";
|
|
3
|
-
export type AnimationModalProps = {
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
/**
|
|
6
|
-
* 动画方向,默认 'from-bottom'
|
|
7
|
-
* center-in 动画暂未实现
|
|
8
|
-
* @deprecated
|
|
9
|
-
*/
|
|
10
|
-
animationType?: "from-bottom" | "center-in";
|
|
11
|
-
/**
|
|
12
|
-
* 是否有遮罩,默认没有
|
|
13
|
-
*/
|
|
14
|
-
mask?: boolean;
|
|
15
|
-
style?: {
|
|
16
|
-
backgroundColor?: ColorValue | undefined;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
type RefAttributes = {
|
|
20
|
-
show: () => RefAttributes;
|
|
21
|
-
hide: () => RefAttributes;
|
|
22
|
-
setData: (data?: any) => RefAttributes;
|
|
23
|
-
getData: () => any;
|
|
24
|
-
};
|
|
25
|
-
export declare const AnimationModal: React.ForwardRefExoticComponent<React.PropsWithoutRef<AnimationModalProps> & React.RefAttributes<RefAttributes>>;
|
|
26
|
-
export {};
|
|
27
|
-
//# sourceMappingURL=AnimationModal.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimationModal.d.ts","sourceRoot":"","sources":["../../../src/components/AnimationModal/AnimationModal.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAUL,UAAU,EACX,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC;IAC5C;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf,KAAK,CAAC,EAAE;QACN,eAAe,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;KAC1C,CAAC;CACH,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,IAAI,EAAE,MAAM,aAAa,CAAC;IAC1B,OAAO,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,aAAa,CAAC;IACvC,OAAO,EAAE,MAAM,GAAG,CAAC;CACpB,CAAC;AAMF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,yBAAyB,CAC1D,KAAK,CAAC,eAAe,CAAC,mBAAmB,CAAC,GACxC,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAkIpC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA4BtC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ViewProps } from "react-native";
|
|
3
|
-
export type DottedLineProps = {
|
|
4
|
-
vertical?: boolean;
|
|
5
|
-
dottedColor?: string;
|
|
6
|
-
dottedCount?: number;
|
|
7
|
-
} & ViewProps;
|
|
8
|
-
declare const _default: (props: DottedLineProps) => React.JSX.Element;
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=DottedLine.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DottedLine.d.ts","sourceRoot":"","sources":["../../../src/components/DottedLine/DottedLine.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3D,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,SAAS,CAAC;yBACE,OAAO,eAAe;AAAtC,wBAwBE"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ViewStyle, StyleProp } from "react-native";
|
|
3
|
-
export type EchartsViewProps = {
|
|
4
|
-
option: any;
|
|
5
|
-
style?: StyleProp<ViewStyle>;
|
|
6
|
-
renderLoading?: () => React.ReactElement;
|
|
7
|
-
};
|
|
8
|
-
declare const EchartsView: React.FC<EchartsViewProps>;
|
|
9
|
-
export default EchartsView;
|
|
10
|
-
import * as echarts from "echarts/core";
|
|
11
|
-
export { echarts };
|
|
12
|
-
//# sourceMappingURL=EchartsView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EchartsView.d.ts","sourceRoot":"","sources":["../../../src/components/Echarts/EchartsView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAIL,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,KAAK,CAAC,YAAY,CAAC;CAC1C,CAAC;AASF,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiK3C,CAAC;AAUF,eAAe,WAAW,CAAC;AAG3B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const getHtml: (props: {
|
|
2
|
-
backgroundColor: any;
|
|
3
|
-
}) => string;
|
|
4
|
-
/**
|
|
5
|
-
* https://res.actiiot.com/echarts/5.0.2/echarts.min.js
|
|
6
|
-
*
|
|
7
|
-
* https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.1/echarts.min.js
|
|
8
|
-
*/
|
|
9
|
-
export declare const toString: (obj: object) => string;
|
|
10
|
-
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/components/Echarts/helper.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,GAAI,OAAO;IAAE,eAAe,EAAE,GAAG,CAAA;CAAE,WAoCpD,CAAA;AAED;;;;GAIG;AAEH,eAAO,MAAM,QAAQ,GAAI,KAAK,MAAM,WAcnC,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ImageSourcePropType, StyleProp, ViewStyle, TouchableOpacityProps } from "react-native";
|
|
3
|
-
export type MenuItem = {
|
|
4
|
-
text: string;
|
|
5
|
-
icon?: ImageSourcePropType;
|
|
6
|
-
extra?: any;
|
|
7
|
-
};
|
|
8
|
-
export type MenuProps = {
|
|
9
|
-
defaultAlignVertical?: "bottom" | "top";
|
|
10
|
-
defaultAlignHorizontal?: "left" | "right";
|
|
11
|
-
style?: StyleProp<ViewStyle> | undefined;
|
|
12
|
-
data?: MenuItem[];
|
|
13
|
-
onItemClick?: (index: number, extra?: any) => void;
|
|
14
|
-
onContainerClick?: Function;
|
|
15
|
-
activeOpacity?: number;
|
|
16
|
-
} & Readonly<{
|
|
17
|
-
children?: React.ReactNode | undefined;
|
|
18
|
-
}> & TouchableOpacityProps;
|
|
19
|
-
declare const _default: (props: MenuProps) => React.JSX.Element;
|
|
20
|
-
export default _default;
|
|
21
|
-
//# sourceMappingURL=MenuView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MenuView.d.ts","sourceRoot":"","sources":["../../../src/components/MenuView/MenuView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EASL,mBAAmB,EACnB,SAAS,EACT,SAAS,EACT,qBAAqB,EACtB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,oBAAoB,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxC,sBAAsB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC;IACzC,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACnD,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,GAAG,QAAQ,CAAC;IAAE,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAA;CAAE,CAAC,GACtD,qBAAqB,CAAC;yBAMR,OAAO,SAAS;AAAhC,wBAuPE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { ImageSourcePropType, StyleProp, ViewStyle, ImageStyle, TextStyle } from "react-native";
|
|
3
|
-
type ViewModelProps = {
|
|
4
|
-
photos?: any[];
|
|
5
|
-
/**@deprecated disabled 图片点击状态,已弃用*/
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
imageViewer: {
|
|
8
|
-
imageUrls: any[];
|
|
9
|
-
index: number;
|
|
10
|
-
visible: boolean;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
type BindProps = {
|
|
14
|
-
viewModel: ViewModelProps;
|
|
15
|
-
setViewModel: (intent: Partial<ViewModelProps>) => void;
|
|
16
|
-
};
|
|
17
|
-
export type MutiPictureViewProps = {
|
|
18
|
-
/**@deprecated title 标题 ,已弃用*/
|
|
19
|
-
title?: string;
|
|
20
|
-
bind: BindProps;
|
|
21
|
-
/**default maxCount is 6 */
|
|
22
|
-
maxCount?: number;
|
|
23
|
-
/**default type is showImagePicker */
|
|
24
|
-
type?: "showImagePicker" | "openCamera";
|
|
25
|
-
style?: StyleProp<ViewStyle>;
|
|
26
|
-
addIcon?: ImageSourcePropType;
|
|
27
|
-
addIconStyle?: StyleProp<ImageStyle>;
|
|
28
|
-
addText?: string;
|
|
29
|
-
addTextStyle?: StyleProp<TextStyle>;
|
|
30
|
-
addIconContainerStyle?: StyleProp<ViewStyle>;
|
|
31
|
-
itemContainerStyle?: StyleProp<ViewStyle>;
|
|
32
|
-
delIcon?: ImageSourcePropType;
|
|
33
|
-
delIconStyle?: StyleProp<ImageStyle>;
|
|
34
|
-
/**外边距 */
|
|
35
|
-
spacingHorizontal?: number;
|
|
36
|
-
/**内边距 */
|
|
37
|
-
spacingInner?: number;
|
|
38
|
-
/**仅仅看看,不增减图片 */
|
|
39
|
-
editable?: boolean;
|
|
40
|
-
/**这个属性会覆盖bind.viewModel.photos */
|
|
41
|
-
value?: (string | {
|
|
42
|
-
uri: string;
|
|
43
|
-
})[];
|
|
44
|
-
/**default false 空视图占位 */
|
|
45
|
-
showEmptyPlaceHolder?: boolean;
|
|
46
|
-
emptyPlaceHolderStyle?: StyleProp<ViewStyle>;
|
|
47
|
-
};
|
|
48
|
-
declare const _default: React.NamedExoticComponent<MutiPictureViewProps>;
|
|
49
|
-
export default _default;
|
|
50
|
-
//# sourceMappingURL=MutiPictureView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MutiPictureView.d.ts","sourceRoot":"","sources":["../../../src/components/MutiPictureView/MutiPictureView.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAKL,mBAAmB,EAInB,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACV,MAAM,cAAc,CAAC;AAMtB,KAAK,cAAc,GAAG;IACpB,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE;QACX,SAAS,EAAE,GAAG,EAAE,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,SAAS,EAAE,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACzD,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG;IACjC,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,SAAS,CAAC;IAChB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,IAAI,CAAC,EAAE,iBAAiB,GAAG,YAAY,CAAC;IACxC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACpC,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,kBAAkB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,YAAY,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IACrC,SAAS;IACT,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS;IACT,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kCAAkC;IAClC,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACrC,yBAAyB;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9C,CAAC;;AAuVF,wBAA4E"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
type ViewModelProps = {
|
|
3
|
-
imageViewer: {
|
|
4
|
-
imageUrls: any[];
|
|
5
|
-
index: number;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type PictureViewerBindProps = {
|
|
10
|
-
viewModel: ViewModelProps;
|
|
11
|
-
setViewModel: (intent: Partial<ViewModelProps>) => void;
|
|
12
|
-
};
|
|
13
|
-
export declare const PictureViewer: React.FC<{
|
|
14
|
-
bind: PictureViewerBindProps;
|
|
15
|
-
}>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=PictureViewer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureViewer.d.ts","sourceRoot":"","sources":["../../../src/components/PictureViewer/PictureViewer.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,cAAc,GAAG;IACpB,WAAW,EAAE;QACX,SAAS,EAAE,GAAG,EAAE,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,EAAE,cAAc,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,sBAAsB,CAAA;CAAE,CA6DpE,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { FlatListProps, SectionListProps } from "react-native";
|
|
3
|
-
import { IPropsSwipeListView } from "react-native-swipe-list-view/types";
|
|
4
|
-
export declare const RefreshText: {
|
|
5
|
-
HeaderRefreshing: string;
|
|
6
|
-
FooterRefreshing: string;
|
|
7
|
-
Failure: string;
|
|
8
|
-
NoMoreData: string;
|
|
9
|
-
EmptyData: string;
|
|
10
|
-
Idle: string;
|
|
11
|
-
};
|
|
12
|
-
export declare enum RefreshState {
|
|
13
|
-
Idle = "Idle",
|
|
14
|
-
HeaderRefreshing = "HeaderRefreshing",
|
|
15
|
-
FooterRefreshing = "FooterRefreshing",
|
|
16
|
-
NoMoreData = "NoMoreData",
|
|
17
|
-
Failure = "Failure",
|
|
18
|
-
EmptyData = "EmptyData",
|
|
19
|
-
None = "None"
|
|
20
|
-
}
|
|
21
|
-
type CommonProps = {
|
|
22
|
-
onHeaderRefresh: (info: any) => void;
|
|
23
|
-
onFooterRefresh: (info: any) => void;
|
|
24
|
-
reload: () => void;
|
|
25
|
-
refreshState: RefreshState;
|
|
26
|
-
renderListEmptyComponent: () => React.ReactElement;
|
|
27
|
-
};
|
|
28
|
-
type SectionT = {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
};
|
|
31
|
-
type ItemT = any;
|
|
32
|
-
export type FlatListRefreshProps = {
|
|
33
|
-
mode?: "FlatList";
|
|
34
|
-
} & FlatListProps<ItemT> & Partial<CommonProps>;
|
|
35
|
-
export type SectionListRefreshProps = {
|
|
36
|
-
mode: "SectionList";
|
|
37
|
-
} & SectionListProps<ItemT, SectionT> & Partial<CommonProps>;
|
|
38
|
-
export type SwipeListViewRefreshProps = {
|
|
39
|
-
mode: "SwipeList";
|
|
40
|
-
data: ItemT[];
|
|
41
|
-
} & IPropsSwipeListView<ItemT> & Partial<CommonProps> & FlatListProps<ItemT>;
|
|
42
|
-
export type RefreshListProps = FlatListRefreshProps | SwipeListViewRefreshProps | SectionListRefreshProps;
|
|
43
|
-
declare const _default: React.ForwardRefExoticComponent<RefreshListProps & React.RefAttributes<any>>;
|
|
44
|
-
export default _default;
|
|
45
|
-
//# sourceMappingURL=RefreshList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RefreshList.d.ts","sourceRoot":"","sources":["../../../src/components/RefreshList/RefreshList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAOL,aAAa,EACb,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAEzE,eAAO,MAAM,WAAW;;;;;;;CAOvB,CAAC;AACF,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,gBAAgB,qBAAqB;IACrC,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,IAAI,SAAS;CACd;AACD,KAAK,WAAW,GAAG;IAEjB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,EAAE,YAAY,CAAC;IAC3B,wBAAwB,EAAE,MAAM,KAAK,CAAC,YAAY,CAAC;CACpD,CAAC;AAEF,KAAK,QAAQ,GAAG;IACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AACF,KAAK,KAAK,GAAG,GAAG,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,aAAa,CAAC,KAAK,CAAC,GACtB,OAAO,CAAC,WAAW,CAAC,CAAC;AAEvB,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,aAAa,CAAC;CACrB,GAAG,gBAAgB,CAAC,KAAK,EAAE,QAAQ,CAAC,GACnC,OAAO,CAAC,WAAW,CAAC,CAAC;AAEvB,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,EAAE,KAAK,EAAE,CAAC;CACf,GAAG,mBAAmB,CAAC,KAAK,CAAC,GAC5B,OAAO,CAAC,WAAW,CAAC,GACpB,aAAa,CAAC,KAAK,CAAC,CAAC;AAEvB,MAAM,MAAM,gBAAgB,GACxB,oBAAoB,GACpB,yBAAyB,GACzB,uBAAuB,CAAC;;AAE5B,wBA8JE"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { TextStyle } from "react-native";
|
|
3
|
-
export type RichTextProps = {
|
|
4
|
-
rich?: string | number;
|
|
5
|
-
richStyle?: TextStyle;
|
|
6
|
-
text?: string | number;
|
|
7
|
-
suffix?: boolean;
|
|
8
|
-
prefix?: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare const _default: (props: RichTextProps) => React.JSX.Element;
|
|
11
|
-
export default _default;
|
|
12
|
-
//# sourceMappingURL=RichText.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichText.d.ts","sourceRoot":"","sources":["../../../src/components/RichText/RichText.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAoB,SAAS,EAAE,MAAM,cAAc,CAAC;AAG3D,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;yBACc,OAAO,aAAa;AAApC,wBA6CE"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { Animated, ViewProps } from "react-native";
|
|
3
|
-
export type StickHeaderViewProps = {
|
|
4
|
-
/**
|
|
5
|
-
* 头部高度
|
|
6
|
-
*/
|
|
7
|
-
stickyHeaderY: number;
|
|
8
|
-
/**
|
|
9
|
-
* 滑动距离
|
|
10
|
-
*/
|
|
11
|
-
stickyScrollY: Animated.Value;
|
|
12
|
-
} & ViewProps;
|
|
13
|
-
declare const _default: React.NamedExoticComponent<StickHeaderViewProps>;
|
|
14
|
-
export default _default;
|
|
15
|
-
//# sourceMappingURL=StickHeaderView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StickHeaderView.d.ts","sourceRoot":"","sources":["../../../src/components/StickHeaderView/StickHeaderView.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,QAAQ,EAER,SAAS,EACV,MAAM,cAAc,CAAC;AAEtB,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC/B,GAAG,SAAS,CAAC;;AA4Cd,wBAA+B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { StyleProp, ViewStyle, ImageSourcePropType, ImageStyle, TextProps, ColorValue } from "react-native";
|
|
3
|
-
export type TableCellProps = {
|
|
4
|
-
icon: ImageSourcePropType;
|
|
5
|
-
iconStyle: StyleProp<ImageStyle>;
|
|
6
|
-
title: string | number | React.ReactElement | undefined;
|
|
7
|
-
titleOptions: TextProps;
|
|
8
|
-
style: StyleProp<ViewStyle> | undefined;
|
|
9
|
-
activeOpacity: number;
|
|
10
|
-
middleContaierStyle: StyleProp<ViewStyle> | undefined;
|
|
11
|
-
content: string | number | React.ReactElement | undefined;
|
|
12
|
-
contentOptions: TextProps;
|
|
13
|
-
onPress: () => void;
|
|
14
|
-
showUnderline: boolean;
|
|
15
|
-
underlineStyle?: {
|
|
16
|
-
borderBottomColor?: ColorValue | undefined;
|
|
17
|
-
borderBottomWidth?: number | undefined;
|
|
18
|
-
};
|
|
19
|
-
showNav: boolean;
|
|
20
|
-
nav: React.ReactElement;
|
|
21
|
-
};
|
|
22
|
-
declare const _default: (props: Partial<TableCellProps>) => React.JSX.Element;
|
|
23
|
-
export default _default;
|
|
24
|
-
//# sourceMappingURL=TableCell.d.ts.map
|