anytrek-front-public-component 1.4.86 → 1.4.87
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 +4 -0
- package/anytrek-front-public-component.mjs +6340 -6214
- package/anytrek-front-public-component.umd.js +28 -28
- package/package.json +1 -1
- package/style.css +1 -1
package/README.md
CHANGED
|
@@ -80,6 +80,8 @@ function onRangeChange(start: string, end: string, tz: string) {
|
|
|
80
80
|
| `disableDayFuntion` | `一个用来判断该日期是否被禁用的函数,接受一个Date对象作为参数。 应该返回一个Boolean值。` | `(date:String,tz:String ) => Boolean` | |
|
|
81
81
|
| `disableHourFuntion` | `禁止选择部分小时选项。数组内有效的值为0-23` | `(date:String,tz:String ) => Number[]` | |
|
|
82
82
|
| `disableMinuteFuntion` | `禁止选择部分分钟选项。数组内有效的值为0-59` | `(date:String,hour:String,tz:String ) => Number[]` | |
|
|
83
|
+
| `showTime` | `没选时间时默认指定哪个月份(最好为15号)` | `String` | `YYYY-MM-DDTHH:mm:ssZ` |
|
|
84
|
+
| `quarterMessage` | `当前只能选择哪个季度` | `Object` | `{ year: Number, quarter: Number }` |
|
|
83
85
|
|
|
84
86
|
## 🧩 Component: `<anytrekTimePick>`
|
|
85
87
|
Select a time
|
|
@@ -121,6 +123,8 @@ function timeChange(time: string, tz: string) {
|
|
|
121
123
|
| `needNowTimeZone` | `是否需要在时区列表显示当前网页时区` | `Boolean` | `true` |
|
|
122
124
|
| `needMaxIndex` | `是否需要弹框在最上层` | `Boolean` | `false` |
|
|
123
125
|
| `showTimeZoneChoose` | `是否允许选择时区` | `Boolean` | `true` |
|
|
126
|
+
| `showTime` | `没选时间时默认指定哪个月份(最好为15号)` | `String` | `YYYY-MM-DDTHH:mm:ssZ` |
|
|
127
|
+
| `quarterMessage` | `当前只能选择哪个季度` | `Object` | `{ year: Number, quarter: Number }` |
|
|
124
128
|
|
|
125
129
|
## 🧩 Component: `<vehicle-select>`
|
|
126
130
|
Viewing and selecting vehicles
|