anytrek-front-public-component 1.4.72 → 1.4.74
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.
- package/README.md +5 -0
- package/anytrek-front-public-component.mjs +9401 -9187
- package/anytrek-front-public-component.umd.js +38 -38
- package/package.json +1 -1
- package/style.css +1 -1
package/README.md
CHANGED
|
@@ -75,6 +75,11 @@ function onRangeChange(start: string, end: string, tz: string) {
|
|
|
75
75
|
| `needMaxIndex` | `是否需要弹框在最上层` | `Boolean` | `false` |
|
|
76
76
|
| `timeZoneList` | `时区选项` | `Object[]` | `[{value:'PST',label:'PST'},{value:'PDT',label:'PDT'},{value:'MST',label:'MST'},{value:'MDT',label:'MDT'},{value:'CST',label:'CST'},{value:'CDT',label:'CDT'},{value:'EST',label:'EST'},{value:'EDT',label:'EDT'},{value:'AST',label:'AST'},{value:'ADT',label:'ADT'},{value:'AKST',label:'AKST'},{value:'AKDT',label:'AKDT'}]` |
|
|
77
77
|
| `unlinkPanels` | `是否取消两个日期面板之间的联动` | `Boolean` | `true` |
|
|
78
|
+
| `isLast` | `默认快捷选项都是最近一天,最近一年,要想设置成当天、当月就得把这个值改成false` | `Boolean` | `true` |
|
|
79
|
+
| `showTimeZoneChoose` | `是否允许选择时区` | `Boolean` | `true` |
|
|
80
|
+
| `disableDayFuntion` | `一个用来判断该日期是否被禁用的函数,接受一个Date对象作为参数。 应该返回一个Boolean值。` | `(date:String,tz:String ) => Boolean` | |
|
|
81
|
+
| `disableHourFuntion` | `禁止选择部分小时选项。数组内有效的值为0-23` | `(date:String,tz:String ) => Number[]` | |
|
|
82
|
+
| `disableMinuteFuntion` | `禁止选择部分分钟选项。数组内有效的值为0-59` | `(date:String,hour:String,tz:String ) => Number[]` | |
|
|
78
83
|
|
|
79
84
|
## 🧩 Component: `<anytrekTimePick>`
|
|
80
85
|
Select a time
|