yks-element 1.2.9 → 1.3.1

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 CHANGED
@@ -18,6 +18,153 @@ import {
18
18
  Vue.component(Button.name, Button)
19
19
  ```
20
20
 
21
+ ### 1.3.1
22
+
23
+ ```text
24
+ * yks-waveview 播放音频显示轨迹
25
+ - Attribute
26
+ - processSlotClass waveview视图层class
27
+ - url 文件url
28
+ - styleWave 自定义样式
29
+ - loop 设置为循环播放
30
+ * yks-recorders 录音可显示音频轨迹
31
+ - Attribute
32
+ - fileSize 录音时长(单位S), = 0 表示不限制时长
33
+ - sampleRate 录音采样率
34
+ - bitRate 录音比特率
35
+ - type 录制的格式
36
+ - disabled 是否禁止录制
37
+ - processSlotClass 使用slot=process必须传入对应的class(processSlotClass=‘.xxx’)
38
+ - title 标题
39
+ - showProcess 是否显示录制轨迹
40
+ - Slot
41
+ - process 自定义录制轨迹
42
+ - Methods
43
+ - change 录制的数据
44
+ * yks-dialog 弹窗
45
+ - Attribute
46
+ - height Dialog 的高
47
+ - show 是否显示 Dialog,支持 .sync 修饰符
48
+ - loading 确定按钮loading
49
+ - disabledSure 确定按钮是否禁用
50
+ - footer 是否移除slot <footer>
51
+ - Slot
52
+ - title Dialog 标题区的内容
53
+ - footer Dialog 按钮操作区的内容
54
+ - Methods
55
+ - close Dialog 关闭的回调
56
+ - sure Dialog 确认的回调
57
+ * yks-multimedia 媒体文件显示
58
+ - Attribute
59
+ - data 文件信息
60
+ - visibleDel 是否显示删除
61
+ - width 视频宽度
62
+ - height 视频高度
63
+ - customize 自定义视频放大试卷
64
+ - visibleFileName 是否显示文件名称
65
+ - Slot
66
+ -
67
+ - Methods
68
+ - delete 删除的回调(和visibleDel联动)
69
+ * yks-pagination 分页
70
+ - Attribute
71
+ - pageOption 分页参数(total,page,pageSize)
72
+ - pageSizes 每页显示个数选择器的选项设置
73
+ - layout 组件布局,子组件名用逗号分隔
74
+ - background 是否为分页按钮添加背景色
75
+ - hidden 隐藏Pagination
76
+ - Slot
77
+ -
78
+ - Methods
79
+ - pagination
80
+ * yks-scrollbar
81
+ - Attribute
82
+ - height Scrollbar 的高
83
+ - Slot
84
+ -
85
+ - Methods
86
+ -
87
+ * yks-select
88
+ - Attribute
89
+ - domNum 每页渲染的dom数目
90
+ - data 数据列表
91
+ - valueKey Option 的自定义key
92
+ - allowBottom 是否出现底部吸底
93
+ - domLimit 是否渲染
94
+ - optionMap 自定义value,label,disabled名称
95
+ - Slot
96
+ - footer Select 操作区
97
+ - options Select Options
98
+ - empty Select 空白显示
99
+ - Methods
100
+ -
101
+ * yks-table
102
+ - Attribute
103
+ - dom 自定义列
104
+ - columns 表格列定义,对象属性参数完全继承 el-table-column
105
+ - emptyMsg 空白数据
106
+ - Slot
107
+ - append
108
+ - empty
109
+ - Methods
110
+ -
111
+ * yks-tinymce
112
+ - Attribute
113
+ - effect 默认提供的主题,可选default、simplicity
114
+ - videoWidth Video 宽
115
+ - videoHeight Video 高
116
+ - language 语言包,默认zh_CN
117
+ - toolbar 扩展bar
118
+ - charLimit 字数限制
119
+ - plugins 插件
120
+ - menubar 菜单栏
121
+ - fontsizeFormats 字体大小选择下拉工具栏按钮
122
+ - height Tinymce 高
123
+ - width Tinymce 宽
124
+ - inline 是否内置功能栏
125
+ - fileParams 音视频数据
126
+ - uploadFileToHwCloud 上传文件函数,抛出blobInfo函数,接收data src
127
+ - uploadFileFunction 上传音视频文件函数,抛出数组文件信息,接收data src
128
+ - externalPlugins 扩展插件
129
+ - Slot
130
+ -
131
+ - Methods
132
+ - input 获取内容
133
+ - delte 删除附件
134
+ - change 附件改变
135
+ - blur 获取是否在当前组件的焦点
136
+ * yks-uploadFile
137
+ - Attribute
138
+ - show 是否显示 YksUploadfile,只支持 .sync 修饰符
139
+ - title Dialog 的标题
140
+ - uploadFileFunction 上传函数
141
+ - fileData 文件信息
142
+ - excludeList 排除的文件类型
143
+ - Slot
144
+ - footer 按钮操作区的内容
145
+ - Methods
146
+ - sure 确定的回调
147
+ * yks-video
148
+ - Attribute
149
+ - src 视频url
150
+ - width 视频宽
151
+ - height 视频高
152
+ - customize 自定义全屏事件
153
+ - fullScreen 是否显示全屏
154
+ - Slot
155
+ -
156
+ - Methods
157
+ - fullScreen 是否显示全屏icon
158
+ ```
159
+
160
+ ### 更新依赖
161
+
162
+ ```shell
163
+ npm install yks-element@latest -S
164
+ or
165
+ yarn add yks-element@latest -S
166
+ ```
167
+
21
168
  ### 发布npm包
22
169
 
23
170
  ```shell
@@ -55,40 +202,6 @@ npm unpublish yks-element@0.0.1 --force
55
202
  * yks-icon-word
56
203
  ```
57
204
 
58
- ### 1.2.7
59
-
60
- ```text
61
- * 新增yks-waveview播放音频显示轨迹
62
- - Attribute
63
- - processSlotClass waveview视图层class
64
- - url 文件url
65
- - styleWave 自定义样式
66
- - loop 设置为循环播放
67
- * 新增yks-recorders录音可显示音频轨迹
68
- - Attribute
69
- - fileSize 录音时长(单位S), = 0 表示不限制时长
70
- - sampleRate 录音采样率
71
- - bitRate 录音比特率
72
- - type 录制的格式
73
- - disabled 是否禁止录制
74
- - processSlotClass 使用slot=process必须传入对应的class(processSlotClass=‘.xxx’)
75
- - title 标题
76
- - showProcess 是否显示录制轨迹
77
- - Slot
78
- - process 自定义录制轨迹
79
- - Methods
80
- - change 录制的数据
81
- * 优化yks-dialog
82
- * 优化yks-multimedia
83
- * 优化yks-pagination
84
- * 优化yks-scrollbar
85
- * 优化yks-select
86
- * 优化yks-table
87
- * 优化yks-tinymce
88
- * 优化yks-uploadFile
89
- * 优化yks-video
90
- ```
91
-
92
205
  ### LICENSE
93
206
 
94
207
  [MIT](LICENSE)