From c069fec3832350a1f51b85332efbb12f9c74995c Mon Sep 17 00:00:00 2001 From: mengxiong10 <15623530290@163.com> Date: Wed, 13 Nov 2019 18:03:43 +0800 Subject: [PATCH] Deploy updates --- en.cca3a95f.html | 60 +++++++++++++++++++++++++++++++++++++++++++++ example.d4e17d8d.js | 2 +- zh-cn.b7f27867.html | 60 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 en.cca3a95f.html create mode 100644 zh-cn.b7f27867.html diff --git a/en.cca3a95f.html b/en.cca3a95f.html new file mode 100644 index 0000000..582100d --- /dev/null +++ b/en.cca3a95f.html @@ -0,0 +1,60 @@ + + +

Basic

+

You can select or input a date, month, year, time or datetime

+ + +

ValueType

+

You can set the type of the v-model value by valueType.

+ + + +

Range

+

Support to select a date range.

+ + +

DisabledDate & DisabledTime

+

Disabled part of dates and time by disabledDate and disabledTime respectively. +You should let the value of defaultValue not be disabled, when you use disabledDate or disabledTime. +The default value of defaultValue is new Date().setHour(0,0,0,0).

+ + +

Disabled & editable

+ + + +

Shortcut

+

You can set shortcuts to improve user experience. +Use the header slot or the footer slot to render extra element in panel for customized requirements.

+ + +

Control TimePanel visible(datetime mode)

+

The display or hiding of the time panel can be controlled by showTimePanel. +The time panel is displayed after the date is selected by default.

+ + +

Control Open

+

You can use the prop open to control the visible of popup. +This example shows how to close the popup when the seconds is selected.

+ + +

Hide seconds selection & display AMPM selection

+

The columns of the time Picker is displayed according to the value of format(HH:mm:ss) by default. +You can also set showHour showMinute showSecond to override the default value

+ + +

Interval and custom time options

+

Set stepped time options by hourStep minuteStep secondStep +Set custom time options by hourOptions minuteOptions secondOptions.

+ + +

Select fixed time list

+

You can provide a list of fixed time for users to choose by timePickerOptions

diff --git a/example.d4e17d8d.js b/example.d4e17d8d.js index 93163e1..4855e71 100644 --- a/example.d4e17d8d.js +++ b/example.d4e17d8d.js @@ -2755,5 +2755,5 @@ module.exports = function loadHTMLBundle(bundle) { }); }; },{}],0:[function(require,module,exports) { -var b=require("TUK3");b.register("html",require("A3BY"));b.load([["en.7d2f12ce.html","yxg7"],["zh-cn.a7e2c2e4.html","u7Vb"]]).then(function(){require("Focm");}); +var b=require("TUK3");b.register("html",require("A3BY"));b.load([["en.cca3a95f.html","yxg7"],["zh-cn.b7f27867.html","u7Vb"]]).then(function(){require("Focm");}); },{}]},{},[0], null) \ No newline at end of file diff --git a/zh-cn.b7f27867.html b/zh-cn.b7f27867.html new file mode 100644 index 0000000..399abaf --- /dev/null +++ b/zh-cn.b7f27867.html @@ -0,0 +1,60 @@ + + +

基本

+

可以选择或手动输入一个日期, 月, 年, 时间或者日期加时间

+ + +

绑定值的类型

+

通过valueType去设置v-model绑定的值的类型

+ + + +

日期范围

+

支持选择一个日期范围

+ + +

不可选择的日期和时间

+

可用 disabledDatedisabledTime 分别禁止选择部分日期和时间. +当你使用disabledDatedisabledTime的时候, 应该设置defaultValue的值是不被禁止选择的. +defaultValue的默认值是new Date().setHour(0,0,0,0)

+ + +

禁用和可编辑

+ + + +

快捷选项

+

可以通过设置 shortcuts 提升用户体验. +也可以使用 slot header 或者 footer 去设置额外的元素.

+ + +

控制时间选择的显示和隐藏(日期时间模式)

+

时间选择的显示可以通过 showTimePanel 控制. +默认情况下选择一个日期后时间面板就自动显示.

+ + +

控制弹窗打开

+

可以通过 open 去控制弹窗的显示 +下面的例子说明怎么关闭弹窗当选择秒的时候

+ + +

隐藏秒和显示 am/pm

+

时间选择的列是自动显示通过 format的设置. +你可以通过 showHour showMinute showSecond 覆盖默认值

+ + +

间隔的时间和自定义时间选择

+

设置间隔的时间通过hourStep minuteStep secondStep. +设置自定义的选择通过hourOptions minuteOptions secondOptions.

+ + +

固定的时间列表

+

可以通过 timePickerOptions 提供一个固定的时间列表选择