@jnrs/vue-core 1.2.8 → 1.2.10

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
@@ -78,18 +78,6 @@ import { useAuthStore } from '@jnrs/vue-core/pinia'
78
78
  | count | 数据总数 | `number` |
79
79
 
80
80
 
81
- #### @jnrs/vue-core/request 模块
82
- 函数
83
- ``` typescript
84
- /**
85
- * axios 请求方法(泛型拓展)
86
- * @param options 请求配置项
87
- * @returns Promise<T> 响应数据
88
- */
89
- axiosRequest: <T = BusinessResponse<unknown>>(options: BusinessRequest) => Promise<T>
90
- ```
91
-
92
-
93
81
  #### @jnrs/vue-core/pinia 模块
94
82
  函数
95
83
  ``` typescript
@@ -141,7 +129,7 @@ axiosRequest: <T = BusinessResponse<unknown>>(options: BusinessRequest) => Promi
141
129
 
142
130
  #### @jnrs/vue-core/components 模块
143
131
  Vue 组件
144
- - JnTable.vue 表格组件
132
+ - JnTable 表格组件
145
133
 
146
134
  | 属性名 | 描述 | 类型 | 默认值 |
147
135
  |--------|------|------|--------|
@@ -156,7 +144,7 @@ Vue 组件
156
144
  | showMouseSelection | 是否开启鼠标框选 | `boolean` | `false` |
157
145
  | pagination | 当前页码和每页大小(用于序号计算) | `Pagination` | `{ pageNo: 0, pageSize: 0 }` |
158
146
 
159
- - JnSelectTemplate.vue 选择组件通用模板
147
+ - JnSelectTemplate 选择组件通用模板
160
148
 
161
149
  | 属性名 | 描述 | 类型 | 默认值 |
162
150
  |--------|------|------|--------|
@@ -186,7 +174,7 @@ Vue 组件
186
174
  | initialParams | 初始查询参数 | `Record<string, unknown>` | — |
187
175
  | remoteFilterKey | 下拉框查询参数远程过滤参数的 key 值 | `string` | `'name'` |
188
176
 
189
- - JnPdfView.vue PDF 文件预览组件
177
+ - JnPdfView PDF 文件预览组件
190
178
 
191
179
  | 属性名 | 描述 | 类型 | 默认值 |
192
180
  |--------|------|------|--------|
@@ -196,7 +184,7 @@ Vue 组件
196
184
  | windowWidth | 预览窗口宽度 | `number` | `800` |
197
185
  | windowHeight | 预览窗口高度 | `number` | `600` |
198
186
 
199
- - JnPagination.vue 分页组件
187
+ - JnPagination 分页组件
200
188
 
201
189
  | 属性名 | 描述 | 类型 | 默认值 |
202
190
  |--------|------|------|--------|
@@ -206,7 +194,7 @@ Vue 组件
206
194
  | background | 是否带背景色 | `boolean` | `true` |
207
195
  | marginTop | 上边距 | `string` | `'10px'` |
208
196
 
209
- - JnImportAndExport.vue 导入 & 导出,此组件依赖 JnFileUpload 文件上传组件
197
+ - JnImportAndExport 导入 & 导出,此组件依赖 JnFileUpload 文件上传组件
210
198
 
211
199
  | 属性名 | 描述 | 类型 | 默认值 |
212
200
  |--------|------|------|--------|
@@ -230,7 +218,7 @@ Vue 组件
230
218
  | text | 是否为文字按钮 | `boolean` | `false` |
231
219
  | icon | 是否显示图标 | `boolean` | `true` |
232
220
 
233
- - JnImageView.vue 图片预览组件
221
+ - JnImageView 图片预览组件
234
222
 
235
223
  | 属性名 | 描述 | 类型 | 默认值 |
236
224
  |--------|------|------|--------|
@@ -240,7 +228,7 @@ Vue 组件
240
228
  | height | 图片高度 | `string` | — |
241
229
  | maxHeight | 图片最大高度 | `string` | `'200px'` |
242
230
 
243
- - JnFileUpload.vue 通用上传 & 回显组件
231
+ - JnFileUpload 通用上传 & 回显组件
244
232
 
245
233
  | 属性名 | 描述 | 类型 | 默认值 |
246
234
  |--------|------|------|--------|
@@ -258,14 +246,14 @@ Vue 组件
258
246
  | downloadFileFn | 文件下载的函数 | `(data: Attachment) => void` | — |
259
247
  | autoUploadApi | 自动上传文件的 api 函数 | `(data: File) => void` | — |
260
248
 
261
- - JnDialog.vue 表格编辑组件
249
+ - JnDialog 表格编辑组件
262
250
 
263
251
  | 属性名 | 描述 | 类型 | 默认值 |
264
252
  |--------|------|------|--------|
265
253
  | title | 对话框的标题 | `string` | `''` |
266
254
  | width | 对话框的宽度 | `string \| number` | `'50%'` |
267
255
 
268
- - JnDatetime.vue 显示时间格式化,第一行是日期,第二行是时间
256
+ - JnDatetime 显示时间格式化,第一行是日期,第二行是时间
269
257
 
270
258
  | 属性名 | 描述 | 类型 | 默认值 |
271
259
  |--------|------|------|--------|
@@ -1,4 +1,4 @@
1
- interface Props {
1
+ export interface Props {
2
2
  value: string;
3
3
  color?: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- interface Props {
1
+ export interface Props {
2
2
  /**
3
3
  * 对话框的宽度,默认值为 50%
4
4
  */