{ "name": "@antd/datePicker", "version": "1.0.1", "dependencies": { "bcore": "0.0.18", "jquery": "2.1.4", "lodash": "4.6.1", "react": "17.0.2", "react-dom": "17.0.2", "antd": "5.14.2", "dayjs": "1.11.10" }, "scripts": { "build": "cube build ./ --output=../../../datavComponent --remote=pandav --smart" }, "pandav": { "cn_name": "时间选择器", "icon": "/civ_pandaview_component/pandabi-component/assets/a9q8a8oaz8_1634807743436_m9bi1ghamn.gif", "protocol": 2, "level": "2", "type": [ "DataV-6:media" ], "view": { "width": "300", "height": "40", "minWidth": "100", "minHeight": "100" }, "apis": { "source": { "handler": "render", "description": "数据接口", "fields": { "s": { "description": "系列", "type": "string" }, "option": { "description": "选项", "type": "string" } } } }, "config": { "options": { "type": "menu", "children": { "chart": { "type": "menuChild", "name": "全局", "children": { "dateFormat": { "type": "select", "name": "日期格式", "default": "YYYY-MM-DD", "options": [ { "name": "无", "value": "" }, { "name": "2017年1月1日", "value": "YYYY年M月D日" }, { "name": "2017年1月", "value": "YYYY年M月" }, { "name": "2017年", "value": "YYYY年" }, { "name": "1月1日", "value": "M月D日" }, { "name": "1(月)", "value": "M月" }, { "name": "1(日)", "value": "D日" }, { "name": "2017-01-01", "value": "YYYY-MM-DD" }, { "name": "2017/01/01", "value": "YYYY/MM/DD" }, { "name": "2017.01.01", "value": "YYYY.MM.DD" }, { "name": "2017-01", "value": "YYYY-MM" }, { "name": "2017/01", "value": "YYYY/MM" }, { "name": "2017.01", "value": "YYYY.MM" }, { "name": "2017", "value": "YYYY" } ] }, "time": { "name": "时间", "type": "switch", "default": false, "statusText": true }, "timeFormat": { "type": "select", "name": "时间格式", "default": "HH:mm:ss", "show": [ [ ".time", "$eq", true ] ], "options": [ { "name": "8时0分0秒", "value": "H时m分s秒" }, { "name": "8时0分", "value": "H时m分" }, { "name": "8时", "value": "H时" }, { "name": "0分", "value": "m分" }, { "name": "0秒", "value": "s秒" }, { "name": "08:00:00", "value": "HH:mm:ss" }, { "name": "08:00", "value": "HH:mm" }, { "name": "08(时)", "value": "HH" } ] } } }, "selector": { "type": "menuChild", "name": "选择器", "children": { "font": { "type": "font", "name": "文本样式", "default": { "fontFamily": "Mircosoft Yahei", "fontSize": 16, "color": "#FFFFFF", "fontWeight": "normal", "italic": "normal", "letterSpacing": 0 } }, "backgroundColor": { "name": "背景色", "type": "color", "default": "#0A1015" }, "paddingLeft": { "name": "缩进", "type": "number", "default": 10, "suffix": "px" }, "borderConfig": { "name": "边框", "type": "group", "fold": true, "enableHide": true, "children": { "show": { "default": true }, "width": { "name": "粗细", "default": 1, "type": "number", "suffix": "px" }, "defaultColor": { "name": "默认颜色", "type": "color", "default": "#cccccc" }, "focusColor": { "name": "激活颜色", "type": "color", "default": "#eeeeee" } } } } }, "calendarConfig": { "type": "menuChild", "name": "日历框", "children": { "layout": { "name": "位置", "default": "bottomLeft", "type": "select", "options": [ { "name": "在选择器左上方", "value": "topLeft" }, { "name": "在选择器右上方", "value": "topRight" }, { "name": "在选择器左下方", "value": "bottomLeft" }, { "name": "在选择器右下方", "value": "bottomRight" } ] }, "backgroundColor": { "name": "背景色", "type": "color", "default": "#091015" }, "selectColor": { "name": "主题色块", "type": "color", "default": "#4281f7" }, "hoverColor": { "name": "触摸颜色", "type": "color", "default": "rgba(66, 129, 247, 0.7)" }, "style": { "type": "group", "name": "样式", "children": { "font": { "type": "font", "name": "文本样式", "default": { "fontFamily": "Mircosoft Yahei", "fontSize": 14, "color": "#FFFFFF", "fontWeight": "normal", "italic": "normal", "letterSpacing": 0 } } } } } } } } }, "api_data": { "source": [ { "startTime": "2000-01-01 00:00:00", "value": "2021-08-31 00:00:00", "endTime": "2040-01-01 00:00:00" } ] }, "events": { "onChange": { "name": "时间变化", "type": "object", "fields": { "value": { "type": "string", "description": "时间字符串" } }, "data": { "value": "2025-3-2" } } }, "publicHandler": {}, "thumbnail": "/civ_pandaview_component/pandabi-component/assets/a9q8a8oaz8_1634807743436_m9bi1ghamn.gif" } }