@xtdev/xt-miniprogram-ui 1.2.59 → 1.2.60

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.
Files changed (82) hide show
  1. package/package.json +1 -1
  2. package/libs/package.json +0 -1
  3. package/libs/xt-button/README.md +0 -60
  4. package/libs/xt-button/index.js +0 -116
  5. package/libs/xt-button/index.json +0 -7
  6. package/libs/xt-button/index.wxml +0 -31
  7. package/libs/xt-button/index.wxss +0 -70
  8. package/libs/xt-card-cell/README.md +0 -67
  9. package/libs/xt-card-cell/index.js +0 -43
  10. package/libs/xt-card-cell/index.json +0 -6
  11. package/libs/xt-card-cell/index.wxml +0 -34
  12. package/libs/xt-card-cell/index.wxss +0 -89
  13. package/libs/xt-cell/README.md +0 -41
  14. package/libs/xt-cell/index.js +0 -42
  15. package/libs/xt-cell/index.json +0 -7
  16. package/libs/xt-cell/index.wxml +0 -12
  17. package/libs/xt-cell/index.wxss +0 -50
  18. package/libs/xt-date-picker/README.md +0 -77
  19. package/libs/xt-date-picker/index.js +0 -443
  20. package/libs/xt-date-picker/index.json +0 -7
  21. package/libs/xt-date-picker/index.wxml +0 -58
  22. package/libs/xt-date-picker/index.wxss +0 -118
  23. package/libs/xt-date-picker-loop/README.md +0 -77
  24. package/libs/xt-date-picker-loop/index.js +0 -684
  25. package/libs/xt-date-picker-loop/index.json +0 -8
  26. package/libs/xt-date-picker-loop/index.wxml +0 -61
  27. package/libs/xt-date-picker-loop/index.wxss +0 -117
  28. package/libs/xt-dialog/README.md +0 -157
  29. package/libs/xt-dialog/index.js +0 -142
  30. package/libs/xt-dialog/index.json +0 -5
  31. package/libs/xt-dialog/index.wxml +0 -64
  32. package/libs/xt-dialog/index.wxss +0 -129
  33. package/libs/xt-form/index.js +0 -83
  34. package/libs/xt-form/index.json +0 -5
  35. package/libs/xt-form/index.wxml +0 -67
  36. package/libs/xt-form/index.wxss +0 -141
  37. package/libs/xt-icon/README.md +0 -39
  38. package/libs/xt-icon/index.js +0 -25
  39. package/libs/xt-icon/index.json +0 -5
  40. package/libs/xt-icon/index.wxml +0 -2
  41. package/libs/xt-icon/index.wxss +0 -159
  42. package/libs/xt-popover/README.md +0 -71
  43. package/libs/xt-popover/index.js +0 -209
  44. package/libs/xt-popover/index.json +0 -7
  45. package/libs/xt-popover/index.wxml +0 -43
  46. package/libs/xt-popover/index.wxss +0 -135
  47. package/libs/xt-search/README.md +0 -55
  48. package/libs/xt-search/index.js +0 -88
  49. package/libs/xt-search/index.json +0 -7
  50. package/libs/xt-search/index.wxml +0 -17
  51. package/libs/xt-search/index.wxss +0 -82
  52. package/libs/xt-stepper/README.md +0 -52
  53. package/libs/xt-stepper/index.js +0 -158
  54. package/libs/xt-stepper/index.json +0 -5
  55. package/libs/xt-stepper/index.wxml +0 -11
  56. package/libs/xt-stepper/index.wxss +0 -77
  57. package/libs/xt-steps/README.md +0 -79
  58. package/libs/xt-steps/index.js +0 -37
  59. package/libs/xt-steps/index.json +0 -7
  60. package/libs/xt-steps/index.wxml +0 -34
  61. package/libs/xt-steps/index.wxss +0 -186
  62. package/libs/xt-tabs/README.md +0 -98
  63. package/libs/xt-tabs/index.js +0 -35
  64. package/libs/xt-tabs/index.json +0 -6
  65. package/libs/xt-tabs/index.wxml +0 -10
  66. package/libs/xt-tabs/index.wxss +0 -76
  67. package/libs/xt-tag/README.md +0 -65
  68. package/libs/xt-tag/index.js +0 -38
  69. package/libs/xt-tag/index.json +0 -7
  70. package/libs/xt-tag/index.wxml +0 -5
  71. package/libs/xt-tag/index.wxss +0 -36
  72. package/libs/xt-toast/README.md +0 -65
  73. package/libs/xt-toast/index.js +0 -85
  74. package/libs/xt-toast/index.json +0 -7
  75. package/libs/xt-toast/index.wxml +0 -6
  76. package/libs/xt-toast/index.wxss +0 -27
  77. package/libs/xt-uploader/README.md +0 -46
  78. package/libs/xt-uploader/index.js +0 -233
  79. package/libs/xt-uploader/index.json +0 -7
  80. package/libs/xt-uploader/index.wxml +0 -15
  81. package/libs/xt-uploader/index.wxss +0 -68
  82. package/libs/xt-uploader/utils.js +0 -69
@@ -1,77 +0,0 @@
1
- <!--
2
- * @Author: Mr.Hu
3
- * @Date: 2024-01-04 16:02:07
4
- * @Description:
5
- * @LastEditors: Mr.Hu
6
- -->
7
- # 时间选择器
8
-
9
- ### 介绍
10
- 用于选择单个时间点或时间范围
11
-
12
- ### 效果图
13
- ![效果图](https://img.tanjiu.cn/home/jejaRihM8wyBbSekBeneansB3GCTwCD8.png "时间选择器")
14
-
15
- ### 引入
16
- 在app.json或页面配置json中引入
17
- ```
18
- "usingComponents": {
19
- "xt-date-picker": "@xtdev/xt-miniprogram-ui/xt-date-picker",
20
- }
21
- ```
22
-
23
- ## 代码演示
24
-
25
- ### 基础用法
26
- ![效果图](https://img.tanjiu.cn/home/jejaRihM8wyBbSekBeneansB3GCTwCD8.png "基础用法")
27
-
28
- ```
29
- <xt-date-picker show="{{true}}" />
30
- ```
31
-
32
- ### 指定为按日筛选
33
- ![效果图](https://img.tanjiu.cn/home/bX2eCnbwTyAjaxCFasTHedKfZQEdEDzD.png "指定为按日筛选")
34
-
35
- ```
36
- <xt-date-picker show="{{true}}" type="date" />
37
- ```
38
- ### 指定最小和最大可选日期
39
- ![效果图](https://img.tanjiu.cn/home/DCHaTGQBHMy74W5n2YCZeZ6hc3fnkn3D.png "指定最小和最大可选日期")
40
-
41
- ```
42
- <xt-date-picker show="{{true}}" minDate="2023-4-1" maxDate="2024-4-1"/>
43
- ```
44
- ### 指定选择器默认选中日期
45
- ![效果图](https://img.tanjiu.cn/home/cfwHk7JrBpGRpihQG2w6HDbw3TsQbs2p.png "指定选择器默认选中日期")
46
-
47
- ```
48
- <xt-date-picker show="{{true}}" currentDate="2022-4-1"/>
49
- ```
50
- ### 展示切换模式按钮
51
- ![效果图](https://img.tanjiu.cn/home/sfawPWDsenpxtjWnPhXCxFcsnhQYBhHQ.png "展示切换模式按钮")
52
-
53
- ```
54
- <xt-date-picker show="{{true}}" showChangeTab="{{true}}"/>
55
- ```
56
-
57
- ## API
58
-
59
- #### xt-date-picker props
60
-
61
- | 参数 | 说明 | 类型 |
62
- | ----------- | ----------- | ---------- |
63
- | show | 是否显示时间选择器,默认false | `Boolean` |
64
- | title | 选择器标题 | `String` |
65
- | type | 选择模式,默认`dateRange`(可选值为`date`、`dateRange`) | `String` |
66
- | minDate | 最小可选日期 | `String` |
67
- | maxDate | 最大可选日期 | `String` |
68
- | currentDate | 选择器默认选中的日期,默认为当天 | `Number` |
69
- | showChangeTab | 是否展示切换模式按钮,默认false | `Boolean` |
70
- | confirmButtonText | 确认按钮文字 | `String` |
71
- | cancelButtonText | 取消按钮文字 | `String` |
72
-
73
- ## Event
74
-
75
- | 事件名 | 说明 | 回调参数 |
76
- | ----------- | ----------- | ----------- |
77
- | getDateValue | 点击确认按钮时触发 | `String` |