You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
887 B
40 lines
887 B
import { superStyleProps } from '../../util';
|
|
// 默认文本样式
|
|
export var LABEL_TEXT_STYLE = superStyleProps({
|
|
fill: 'rgba(0,0,0,0.45)',
|
|
fontSize: 10,
|
|
textAlign: 'start',
|
|
textBaseline: 'middle',
|
|
overflow: 'clip',
|
|
}, 'label');
|
|
export var CHECKBOX_RECT_STYLE = {
|
|
default: {
|
|
width: 12,
|
|
height: 12,
|
|
radius: 2,
|
|
stroke: '#dadada',
|
|
lineWidth: 1,
|
|
fill: '#ffffff',
|
|
cursor: 'pointer',
|
|
},
|
|
selected: {
|
|
width: 12,
|
|
height: 12,
|
|
radius: 2,
|
|
stroke: '#3471F9',
|
|
lineWidth: 1,
|
|
fill: '#3471F9',
|
|
cursor: 'pointer',
|
|
},
|
|
};
|
|
var CHECKED_SHAPE_PATH = [
|
|
['M', 3, 6],
|
|
['L', '5', '8.5'],
|
|
['L', '8.5', '4'],
|
|
];
|
|
export var CHECKED_SHAPE_STYLE = {
|
|
d: CHECKED_SHAPE_PATH,
|
|
lineWidth: 1,
|
|
cursor: 'pointer',
|
|
};
|
|
//# sourceMappingURL=constant.js.map
|