Skip to content

Commit dba6385

Browse files
committed
日期选择
1 parent 1fded8f commit dba6385

4 files changed

Lines changed: 15 additions & 629 deletions

File tree

designer-demo/public/mock/bundle.json

Lines changed: 11 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -26786,7 +26786,7 @@
2678626786
"name": {
2678726787
"zh_CN": "日期选择"
2678826788
},
26789-
"component": "uDatetimePicker",
26789+
"component": "uDate",
2679026790
"icon": "datepick",
2679126791
"description": "用于输入或选择日期",
2679226792
"docUrl": "",
@@ -26796,7 +26796,7 @@
2679626796
"devMode": "proCode",
2679726797
"npm": {
2679826798
"package": "@shqy/mobile",
26799-
"exportName": "uDatetimePicker",
26799+
"exportName": "uDate",
2680026800
"version": "",
2680126801
"destructuring": true
2680226802
},
@@ -26828,38 +26828,17 @@
2682826828
"required": true,
2682926829
"readOnly": false,
2683026830
"disabled": false,
26831-
"cols": 12,
2683226831
"widget": {
2683326832
"component": "MetaField",
2683426833
"props": {}
2683526834
},
2683626835
"description": {
2683726836
"zh_CN": "双向绑定值"
2683826837
},
26839-
"labelPosition": "left"
26840-
},
26841-
{
26842-
"property": "show",
26843-
"label": {
26844-
"text": {
26845-
"zh_CN": "清除按钮"
26846-
}
26847-
},
26848-
"required": true,
26849-
"readOnly": false,
26850-
"disabled": false,
26851-
"cols": 12,
26852-
"widget": {
26853-
"component": "MetaSwitch",
26854-
"props": {}
26855-
},
26856-
"description": {
26857-
"zh_CN": "是否显示清除按钮"
26858-
},
26859-
"labelPosition": "left"
26838+
"labelPosition": "top"
2686026839
},
2686126840
{
26862-
"property": "type",
26841+
"property": "mode",
2686326842
"label": {
2686426843
"text": {
2686526844
"zh_CN": "类型"
@@ -26878,32 +26857,12 @@
2687826857
"value": "datetime"
2687926858
},
2688026859
{
26881-
"label": "日期范围",
26882-
"value": "daterange"
26883-
},
26884-
{
26885-
"label": "日期时间范围",
26886-
"value": "datetimerange"
26887-
},
26888-
{
26889-
"label": "周",
26890-
"value": "week"
26891-
},
26892-
{
26893-
"label": "月份",
26894-
"value": "month"
26895-
},
26896-
{
26897-
"label": "月份范围",
26898-
"value": "monthrange"
26899-
},
26900-
{
26901-
"label": "季度",
26902-
"value": "quarter"
26860+
"label": "时间",
26861+
"value": "time"
2690326862
},
2690426863
{
26905-
"label": "年份",
26906-
"value": "year"
26864+
"label": "年份-月份",
26865+
"value": "year-month"
2690726866
}
2690826867
]
2690926868
}
@@ -26932,46 +26891,6 @@
2693226891
},
2693326892
"labelPosition": "left"
2693426893
},
26935-
{
26936-
"property": "time-format",
26937-
"label": {
26938-
"text": {
26939-
"zh_CN": "时间显示的格式"
26940-
}
26941-
},
26942-
"required": false,
26943-
"readOnly": false,
26944-
"disabled": false,
26945-
"cols": 12,
26946-
"widget": {
26947-
"component": "MetaBindI18n",
26948-
"props": {}
26949-
},
26950-
"description": {
26951-
"zh_CN": "当自定义的 format 格式无法自动区分时间与日期时,可配置该选项用来辅助确定格式"
26952-
},
26953-
"labelPosition": "left"
26954-
},
26955-
{
26956-
"property": "value-format",
26957-
"label": {
26958-
"text": {
26959-
"zh_CN": "指定绑定值的格式"
26960-
}
26961-
},
26962-
"required": false,
26963-
"readOnly": false,
26964-
"disabled": false,
26965-
"cols": 12,
26966-
"widget": {
26967-
"component": "MetaBindI18n",
26968-
"props": {}
26969-
},
26970-
"description": {
26971-
"zh_CN": "指定绑定值的格式,不指定则绑定值为 Date 对象"
26972-
},
26973-
"labelPosition": "left"
26974-
},
2697526894
{
2697626895
"property": "placeholder",
2697726896
"label": {
@@ -27049,40 +26968,6 @@
2704926968
"description": {
2705026969
"zh_CN": ""
2705126970
}
27052-
},
27053-
{
27054-
"property": "size",
27055-
"label": {
27056-
"text": {
27057-
"zh_CN": "尺寸"
27058-
}
27059-
},
27060-
"required": true,
27061-
"readOnly": false,
27062-
"disabled": false,
27063-
"cols": 12,
27064-
"widget": {
27065-
"component": "MetaSelect",
27066-
"props": {
27067-
"options": [
27068-
{
27069-
"label": "medium",
27070-
"value": "medium"
27071-
},
27072-
{
27073-
"label": "small",
27074-
"value": "small"
27075-
},
27076-
{
27077-
"label": "mini",
27078-
"value": "mini"
27079-
}
27080-
]
27081-
}
27082-
},
27083-
"description": {
27084-
"zh_CN": "日期框尺寸。该属性的可选值为 medium / small / mini"
27085-
}
2708626971
}
2708726972
]
2708826973
}
@@ -33927,9 +33812,9 @@
3392733812
},
3392833813
"icon": "datepick",
3392933814
"screenshot": "",
33930-
"snippetName": "uDatetimePicker",
33815+
"snippetName": "uDate",
3393133816
"schema": {
33932-
"componentName": "uDatetimePicker",
33817+
"componentName": "uDate",
3393333818
"props": {
3393433819
"modelValue": ""
3393533820
}
@@ -33939,7 +33824,7 @@
3393933824

3394033825
]
3394133826
}
33942-
] ,
33827+
],
3394333828
"packages": [
3394433829
{
3394533830
"name": "TinyVueHuicharts组件库",

0 commit comments

Comments
 (0)