ra-element 0.1.7 → 0.1.11
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 +1 -1
- package/docs/ra-table.md +6 -9
- package/docs/ra-tree-select.md +1 -1
- package/lib/components/ra-select/index.vue.d.ts +1 -5
- package/lib/components/ra-select/type.d.ts +5 -0
- package/lib/components/ra-tree-select/index.vue.d.ts +3 -8
- package/lib/components/ra-tree-select/type.d.ts +5 -0
- package/lib/ra-element.css +1 -1
- package/lib/ra-element.es.js +7223 -7259
- package/lib/ra-element.umd.js +18 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ pnpm
|
|
|
14
14
|
2、npm config set registry https://registry.npmjs.org (修改为发版包地址)
|
|
15
15
|
3、npm login
|
|
16
16
|
4、npm publish
|
|
17
|
-
5、npm config set registry http://registry.npmmirror.com/ (
|
|
17
|
+
5、npm config set registry http://registry.npmmirror.com/ (还原阿里源镜像,如果有代理可以不修改)
|
|
18
18
|
|
|
19
19
|
## npm代理
|
|
20
20
|
npm config set proxy http://127.0.0.1:7890
|
package/docs/ra-table.md
CHANGED
|
@@ -11,19 +11,16 @@
|
|
|
11
11
|
| border | Boolean | 表格边框:若cssStyle为1,则默认为false | undefined | |
|
|
12
12
|
| stripe | Boolean | 表格斑马线:若cssStyle为1,则默认为true | undefined | |
|
|
13
13
|
| paginationType | String | 分页类型,如果为manually,则使用手动分页,data传入所有数据即可,如果为axios使用后端分页使用axios请求数据 | '' | |
|
|
14
|
+
| total | Number | 总数量,paginationType为axios需要 | 0 | |
|
|
14
15
|
| layout | String | 分页layout布局,默认为total, prev, pager, next | 'total, prev, pager, next, sizes, jumper' | |
|
|
16
|
+
| enableTopLine | Boolean | 启用表格上方一层div,可以插入各个组件 | false | |
|
|
15
17
|
| enableSelection | Boolean | 启用选择功能 | false | |
|
|
16
|
-
| enableHeaderTitle | String | 启用表格头部相关功能-标题 | '' | |
|
|
17
18
|
| enableFilterColumn | Boolean | 是否开启显示列功能 | false | |
|
|
18
19
|
| defaultColumnKeys | Array | 默认显示列(enableFilterColumn需要设置为true) | | |
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
| localExportName | String | 导出文件名称 | '' | |
|
|
24
|
-
| hasIndex | Boolean | 序号 | false | |
|
|
25
|
-
| hasIndexName | String | 序号别名,默认:序号 | '序号' | |
|
|
26
|
-
| hasIndexFixed | Boolean | 序号固定 | false | |
|
|
20
|
+
| exportButtonText | String | 导出按钮默认文字(存在即开启) | '' | |
|
|
21
|
+
| exportNumberLimit | Number | 导出数量限制,0为不限制 | 0 | |
|
|
22
|
+
| indexName | String | 序号别名,默认:序号 | '序号' | |
|
|
23
|
+
| indexFixed | Boolean | 序号固定 | false | |
|
|
27
24
|
| paginationButtonNumber | Number | 最大页码按钮数量 | 7 | |
|
|
28
25
|
| smallPagination | Boolean | 是否开启小分页 | false | |
|
|
29
26
|
|
package/docs/ra-tree-select.md
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
| name | type | desc | default | required |
|
|
6
6
|
| ---- | ---- | ---- | ------- | -------- |
|
|
7
|
-
| options | Array
|
|
7
|
+
| options | Array | 每项独立配置 label,value | [] | |
|
|
8
8
|
| collapseTags | Boolean | 原属性,默认设置true | true | |
|
|
9
9
|
| clearable | Boolean | 原属性,默认设置true | true | |
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
interface TreeSelectOptions {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
[prop: string]: any;
|
|
5
|
-
}
|
|
6
1
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
2
|
options: {
|
|
8
|
-
type:
|
|
3
|
+
type: ArrayConstructor;
|
|
9
4
|
default: () => never[];
|
|
10
5
|
};
|
|
11
6
|
collapseTags: {
|
|
@@ -20,7 +15,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
20
15
|
componentRef: any;
|
|
21
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
22
17
|
options: {
|
|
23
|
-
type:
|
|
18
|
+
type: ArrayConstructor;
|
|
24
19
|
default: () => never[];
|
|
25
20
|
};
|
|
26
21
|
collapseTags: {
|
|
@@ -32,7 +27,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
32
27
|
default: boolean;
|
|
33
28
|
};
|
|
34
29
|
}>> & Readonly<{}>, {
|
|
35
|
-
options:
|
|
30
|
+
options: unknown[];
|
|
36
31
|
clearable: boolean;
|
|
37
32
|
collapseTags: boolean;
|
|
38
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|