br-dionysus 1.0.18 → 1.1.0
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 +108 -58
- package/attributes.json +1 -1
- package/dist/br-dionysus.es.js +3581 -3576
- package/dist/br-dionysus.umd.js +8 -8
- package/dist/index.css +1 -1
- package/dist/packages/MDialog/src/MDialog.vue.d.ts +19 -2
- package/dist/packages/MInputNumber/src/MInputNumber.vue.d.ts +20 -20
- package/dist/packages/MSelectTable/src/MSelectTable.vue.d.ts +16 -11
- package/package.json +1 -1
- package/packages/MDialog/docs/README.md +4 -3
- package/packages/MDialog/docs/demo.vue +5 -0
- package/packages/MDialog/src/MDialog.vue +27 -6
- package/packages/MInputNumber/src/MInputNumber.vue +10 -10
- package/packages/MSelectTable/docs/README.md +51 -49
- package/packages/MSelectTable/docs/demo.vue +48 -6
- package/packages/MSelectTable/src/MSelectTable.vue +40 -20
- package/packages/SkinConfig/src/useSkin.ts +5 -0
- package/packages/TabPage/src/TabPage.vue +0 -1
- package/tags.json +1 -1
- package/web-types.json +1 -1
package/README.md
CHANGED
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
draggable
|
|
52
52
|
title="这是标题"
|
|
53
53
|
resize
|
|
54
|
+
@resized="test"
|
|
54
55
|
>
|
|
55
56
|
<span>这是一条消息</span>
|
|
56
57
|
<template #footer>
|
|
@@ -70,6 +71,10 @@ import { ref } from 'vue'
|
|
|
70
71
|
import { MDialog } from 'packages/MDialog'
|
|
71
72
|
|
|
72
73
|
const dialogVisible = ref<boolean>(false)
|
|
74
|
+
|
|
75
|
+
const test = (size: { width: number, height: number }) => {
|
|
76
|
+
console.log('size', size)
|
|
77
|
+
}
|
|
73
78
|
</script>
|
|
74
79
|
|
|
75
80
|
<style scoped lang="scss">
|
|
@@ -88,9 +93,10 @@ const dialogVisible = ref<boolean>(false)
|
|
|
88
93
|
|
|
89
94
|
### 2) Events
|
|
90
95
|
|
|
91
|
-
| 方法名
|
|
92
|
-
|
|
93
|
-
|
|
|
96
|
+
| 方法名 | 说明 | 参数 |
|
|
97
|
+
|---------|:-------------:|:------------------------------------------------------:|
|
|
98
|
+
| resized | 窗口大小改变完成事件 | (contentsSize: { width: number, height: number })内容物大小 |
|
|
99
|
+
| 其余参数 | 参考el官网的dialog | https://element-plus.org/zh-CN/component/dialog |
|
|
94
100
|
|
|
95
101
|
|
|
96
102
|
|
|
@@ -399,7 +405,7 @@ const options: Option[] = [{
|
|
|
399
405
|
placeholder="请选择单号"
|
|
400
406
|
:tableTitle="commodityOptionsTitle"
|
|
401
407
|
:options="options"
|
|
402
|
-
:keywords="{label: 'ApprovedQtyPU',value: 'DocNo' }"
|
|
408
|
+
:keywords="{ label: 'ApprovedQtyPU', value: 'DocNo' }"
|
|
403
409
|
@selected="selected"
|
|
404
410
|
@selectMultiple="selectMultiple"
|
|
405
411
|
tableHeight="200"
|
|
@@ -413,16 +419,40 @@ const options: Option[] = [{
|
|
|
413
419
|
border
|
|
414
420
|
:remoteMethod="remoteMethod"
|
|
415
421
|
></m-select-table>
|
|
416
|
-
<p
|
|
417
|
-
<p
|
|
422
|
+
<p>多选单绑定的value为字符串类型</p>
|
|
423
|
+
<p>第二个选择器的值: {{ code2 }}</p>
|
|
418
424
|
<m-select-table
|
|
419
425
|
class="u-select"
|
|
420
426
|
ref="selectRef"
|
|
421
427
|
v-model="code2"
|
|
428
|
+
:name="code2Name"
|
|
429
|
+
placeholder="请选择单号"
|
|
430
|
+
:tableTitle="commodityOptionsTitle"
|
|
431
|
+
:options="options"
|
|
432
|
+
:keywords="{ label: 'ApprovedQtyPU', value: 'DocNo' }"
|
|
433
|
+
@selected="selected"
|
|
434
|
+
@selectMultiple="selectMultiple"
|
|
435
|
+
tableHeight="200"
|
|
436
|
+
@toPage="toPage"
|
|
437
|
+
:total="total"
|
|
438
|
+
scrollbarAlwaysOn
|
|
439
|
+
filterable
|
|
440
|
+
remote
|
|
441
|
+
multiple
|
|
442
|
+
border
|
|
443
|
+
:remoteMethod="remoteMethod"
|
|
444
|
+
@clear="test"
|
|
445
|
+
></m-select-table>
|
|
446
|
+
<p>单选</p>
|
|
447
|
+
<p>第三个择器的值: {{ code3 }}</p>
|
|
448
|
+
<m-select-table
|
|
449
|
+
class="u-select"
|
|
450
|
+
ref="selectRef"
|
|
451
|
+
v-model="code3"
|
|
422
452
|
placeholder="请选择单号"
|
|
423
453
|
:tableTitle="commodityOptionsTitle"
|
|
424
454
|
:options="options"
|
|
425
|
-
:keywords="{ label: 'ApprovedQtyPU',value: 'DocNo' }"
|
|
455
|
+
:keywords="{ label: 'ApprovedQtyPU', value: 'DocNo' }"
|
|
426
456
|
@selected="selected"
|
|
427
457
|
@selectMultiple="selectMultiple"
|
|
428
458
|
tableHeight="200"
|
|
@@ -435,6 +465,17 @@ const options: Option[] = [{
|
|
|
435
465
|
:remoteMethod="remoteMethod"
|
|
436
466
|
:popupWidth="800"
|
|
437
467
|
></m-select-table>
|
|
468
|
+
<!--<el-select-->
|
|
469
|
+
<!-- v-model="code2"-->
|
|
470
|
+
<!-- multiple-->
|
|
471
|
+
<!-->-->
|
|
472
|
+
<!-- <el-option-->
|
|
473
|
+
<!-- v-for="item in options"-->
|
|
474
|
+
<!-- :key="item.DocNo"-->
|
|
475
|
+
<!-- :label="item.ApprovedQtyPU"-->
|
|
476
|
+
<!-- :value="item.DocNo"-->
|
|
477
|
+
<!-- ></el-option>-->
|
|
478
|
+
<!--</el-select>-->
|
|
438
479
|
</div>
|
|
439
480
|
</template>
|
|
440
481
|
|
|
@@ -442,6 +483,10 @@ const options: Option[] = [{
|
|
|
442
483
|
import { ref, onMounted } from 'vue'
|
|
443
484
|
import { Page } from 'packages/typings/class'
|
|
444
485
|
|
|
486
|
+
const test = () => {
|
|
487
|
+
console.log('xxx')
|
|
488
|
+
}
|
|
489
|
+
|
|
445
490
|
const commodityOptionsTitle: TableTitle[] = [{
|
|
446
491
|
prop: 'PRDocType',
|
|
447
492
|
label: '单据类型'
|
|
@@ -464,6 +509,7 @@ const selectRef: any = ref<HTMLElement | null>(null)
|
|
|
464
509
|
|
|
465
510
|
const code = ref<string | number | Array<string | number>>([])
|
|
466
511
|
const code2 = ref<string | number | Array<string | number>>('')
|
|
512
|
+
const code2Name = ref<string | number | Array<string | number>>([])
|
|
467
513
|
const code3 = ref<string | number | Array<string | number>>('')
|
|
468
514
|
|
|
469
515
|
const total = ref(0)
|
|
@@ -497,7 +543,9 @@ setTimeout(() => {
|
|
|
497
543
|
ACCode: 'xxxACCode2'
|
|
498
544
|
}]
|
|
499
545
|
code.value = [1, 2]
|
|
500
|
-
code2.value =
|
|
546
|
+
code2.value = ''
|
|
547
|
+
code2Name.value = ['xxxApprovedQtyPU2', 'xxxApprovedQtyPU3', 'xxxApprovedQtyPU4']
|
|
548
|
+
code3.value = 1
|
|
501
549
|
|
|
502
550
|
// setTimeout(() => {
|
|
503
551
|
// options.value = []
|
|
@@ -544,7 +592,7 @@ onMounted(() => {
|
|
|
544
592
|
|
|
545
593
|
<style>
|
|
546
594
|
.u-select {
|
|
547
|
-
width:
|
|
595
|
+
width: 240px;
|
|
548
596
|
}
|
|
549
597
|
</style>
|
|
550
598
|
|
|
@@ -553,77 +601,79 @@ onMounted(() => {
|
|
|
553
601
|
|
|
554
602
|
### 2) Attributes
|
|
555
603
|
|
|
556
|
-
| 参数
|
|
557
|
-
|
|
558
|
-
| value / v-model | 绑定值
|
|
559
|
-
| name | 显示值,有值时覆盖所有显示逻辑,直接显示name
|
|
560
|
-
| placeholder | 占位符
|
|
561
|
-
| disabled | 是否禁用
|
|
562
|
-
| size | 大小
|
|
563
|
-
| options | 下拉表的 表内数据,详情见Option接口
|
|
564
|
-
| total | 总数量 当有值时,出现分页器
|
|
565
|
-
| filterMethod | 自定义搜索方法 (使用时必须传递filterable)
|
|
566
|
-
| filterable | 是否开启筛选 (如果开启但没有传递自定义搜索方法 效果为筛选当前页数据的 keywords[label]) | boolean | - |
|
|
567
|
-
| remote | 是否使用远程搜索
|
|
568
|
-
| remoteMethod | 自定义远程搜索方法 (使用时必须传递filterable和remote)
|
|
569
|
-
| tableTitle | 下拉表的 表头定义,详情见TableTitle接口
|
|
570
|
-
| multiple | 是否开启多选
|
|
571
|
-
| keywords | 关键字配置(value-key 配置)映射关键字
|
|
572
|
-
| reserveSelection | 是否打开翻页多选 需要是多选才有效
|
|
573
|
-
| tableHeight | 表格高度
|
|
574
|
-
| isAffirmBtn | 是否有确认按钮 当使用此按钮时 selected事件无效 需使用selectMultiple事件
|
|
575
|
-
| scrollbarAlwaysOn | 是否常态显示滚动条
|
|
576
|
-
| allowCreate | 是否能够创建条目
|
|
577
|
-
| popupWidth | 弹窗的宽度
|
|
578
|
-
| border
|
|
604
|
+
| 参数 | 说明 | 类型 | 可选 | 是否必填 | 默认值 |
|
|
605
|
+
|-------------------|----------------------------------------------------------|-------------------------------------|---------------------------|:----:|---------------------------------|
|
|
606
|
+
| value / v-model | 绑定值 | number,string, Array<number,string> | - | 否 | '' |
|
|
607
|
+
| name | 显示值,有值时覆盖所有显示逻辑,直接显示name | number,string, Array<number,string> | - | 否 | '' |
|
|
608
|
+
| placeholder | 占位符 | string | - | 否 | 请选择 |
|
|
609
|
+
| disabled | 是否禁用 | boolean | - | 否 | false |
|
|
610
|
+
| size | 大小 | enum | large \| default \| small | 否 | default |
|
|
611
|
+
| options | 下拉表的 表内数据,详情见Option接口 | Option[] | - | 否 | [] |
|
|
612
|
+
| total | 总数量 当有值时,出现分页器 | number | null | 否 | null |
|
|
613
|
+
| filterMethod | 自定义搜索方法 (使用时必须传递filterable) | Function | null | 否 | null |
|
|
614
|
+
| filterable | 是否开启筛选 (如果开启但没有传递自定义搜索方法 效果为筛选当前页数据的 keywords[label]) | boolean | - | 否 | false |
|
|
615
|
+
| remote | 是否使用远程搜索 | boolean | - | 否 | false |
|
|
616
|
+
| remoteMethod | 自定义远程搜索方法 (使用时必须传递filterable和remote) | Function | - | 否 | {} |
|
|
617
|
+
| tableTitle | 下拉表的 表头定义,详情见TableTitle接口 | TableTitle[] | - | 否 | [] |
|
|
618
|
+
| multiple | 是否开启多选 | boolean | - | 否 | false |
|
|
619
|
+
| keywords | 关键字配置(value-key 配置)映射关键字 | Option | - | 否 | {label: 'label' ,value:'value'} |
|
|
620
|
+
| reserveSelection | 是否打开翻页多选 需要是多选才有效 | boolean | - | 否 | false |
|
|
621
|
+
| tableHeight | 表格高度 | string | number | 否 | 200 |
|
|
622
|
+
| isAffirmBtn | 是否有确认按钮 当使用此按钮时 selected事件无效 需使用selectMultiple事件 | boolean | - | 否 | false |
|
|
623
|
+
| scrollbarAlwaysOn | 是否常态显示滚动条 | boolean | - | 否 | false |
|
|
624
|
+
| allowCreate | 是否能够创建条目 | boolean | - | 否 | false |
|
|
625
|
+
| popupWidth | 弹窗的宽度 | string,number | - | 否 | 500 |
|
|
626
|
+
| border | 表格边框 | boolean | - | 否 | false |
|
|
579
627
|
|
|
580
628
|
#### Options(选项接口)
|
|
581
629
|
|
|
582
|
-
| 参数
|
|
583
|
-
|
|
584
|
-
| label | 选项的标签,若不设置则默认与value相同 | string |
|
|
585
|
-
| value |
|
|
586
|
-
| disabled |
|
|
587
|
-
| \[propName: string] |
|
|
630
|
+
| 参数 | 说明 | 类型 | 可选值 | 是否必填 |
|
|
631
|
+
|---------------------|:---------------------:|:-----------------:|:---:|:----:|
|
|
632
|
+
| label | 选项的标签,若不设置则默认与value相同 | string | - | 是 |
|
|
633
|
+
| value | 选项的值 | string \| number | - | 是 |
|
|
634
|
+
| disabled | 是否禁用该选项 | boolean | - | 否 |
|
|
635
|
+
| \[propName: string] | 额外字段 | string \| number | - | 否 |
|
|
588
636
|
|
|
589
637
|
#### Page (分页对象)
|
|
590
638
|
|
|
591
|
-
| 参数
|
|
592
|
-
|
|
593
|
-
| total | 总数
|
|
594
|
-
| pageSize | 分页大小
|
|
595
|
-
| currentPage | 页码
|
|
639
|
+
| 参数 | 说明 | 类型 |
|
|
640
|
+
|------------------|---------|----------|
|
|
641
|
+
| total | 总数 | number |
|
|
642
|
+
| pageSize | 分页大小 | number |
|
|
643
|
+
| currentPage | 页码 | number |
|
|
596
644
|
| pageSizesOptions | 分页大小可选项 | number[] |
|
|
597
645
|
|
|
598
646
|
### 3) events
|
|
599
647
|
|
|
600
|
-
| 事件名
|
|
601
|
-
|
|
602
|
-
| selected | 单选或多选之后的回调
|
|
603
|
-
| toPage | 当没有使用filterMethod时候才会有回调否则没有 | page 表格分页
|
|
604
|
-
| selectMultiple | 多选确认按钮时的回调 配合isAffirmBtn使用
|
|
648
|
+
| 事件名 | 说明 | 回调参数 |
|
|
649
|
+
|----------------|------------------------------|---------------------------------------------------------------|
|
|
650
|
+
| selected | 单选或多选之后的回调 | 根据多选和单选的模式不同 返回的也有所区别 单选为 (value,row) 多选为(values[],rows[]) |
|
|
651
|
+
| toPage | 当没有使用filterMethod时候才会有回调否则没有 | page 表格分页 |
|
|
652
|
+
| selectMultiple | 多选确认按钮时的回调 配合isAffirmBtn使用 | (values: Array<string \| number>, rows: Option[]) |
|
|
653
|
+
| clear | 用户点击清空按钮时触发 | - |
|
|
654
|
+
| removeTag | 多选模式下移除tag时触发 | (tag: any) |
|
|
605
655
|
|
|
606
656
|
### 4) Methods
|
|
607
657
|
|
|
608
|
-
| 方法名
|
|
609
|
-
|
|
658
|
+
| 方法名 | 说明 |
|
|
659
|
+
|----------------------|--------------------------------------------------------------------------|
|
|
610
660
|
| defaultBackFillValue | 手动重载反填 使用场景 当前开启多选 并且开启翻页多选的时候 这个时候需要默认反填上值的话 需要赋值之后 延迟调用此方法 其余场景 为默认反填 |
|
|
611
|
-
| clear | 清空已选择
|
|
612
|
-
| focus | 聚焦下拉框
|
|
661
|
+
| clear | 清空已选择 |
|
|
662
|
+
| focus | 聚焦下拉框 |
|
|
613
663
|
|
|
614
664
|
#### filterMethod
|
|
615
665
|
|
|
616
|
-
| 返回值
|
|
617
|
-
|
|
666
|
+
| 返回值 | 类型 | 说明 |
|
|
667
|
+
|-------------|--------|--------|
|
|
618
668
|
| searchValue | string | 返回输入的值 |
|
|
619
|
-
| Page | Page | 整个分页类
|
|
669
|
+
| Page | Page | 整个分页类 |
|
|
620
670
|
|
|
621
671
|
#### remoteMethod
|
|
622
672
|
|
|
623
|
-
| 返回值
|
|
624
|
-
|
|
673
|
+
| 返回值 | 类型 | 说明 |
|
|
674
|
+
|-------------|--------|--------|
|
|
625
675
|
| searchValue | string | 返回输入的值 |
|
|
626
|
-
| Page | Page | 整个分页类
|
|
676
|
+
| Page | Page | 整个分页类 |
|
|
627
677
|
|
|
628
678
|
|
|
629
679
|
|
package/attributes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-inline/minWidth":{"type":"number","description":"列最小宽度"},"m-inline/maxWidth":{"type":"number","description":"列最大宽度"},"m-inline/size":{"type":"Size","description":"组件尺寸"},"m-inline/switch":{"type":"[status: boolean]","description":"切换折叠展开事件"},"m-input-number/modelValue":{"type":"string | number","description":""},"m-input-number/placeholder":{"type":"string","description":""},"m-input-number/disabled":{"type":"boolean","description":"是否禁用数值输入框"},"m-input-number/size":{"type":"string","description":"数值输入框尺寸"},"m-input-number/min":{"type":"number","description":"设置数值输入框允许的最小值"},"m-input-number/max":{"type":"number","description":"设置数值输入框允许的最大值"},"m-input-number/step":{"type":"number","description":"数值输入框步长"},"m-input-number/stepStrictly":{"type":"boolean","description":"是否只能输入 step 的倍数"},"m-input-number/thousandthPlace":{"type":"boolean","description":"输入框是否显示千分位"},"m-input-number/noBorder":{"type":"boolean","description":"是否不要边框"},"m-input-number/noSpacing":{"type":"boolean","description":"不要边距"},"m-input-number/update:modelValue":{"type":"any","description":""},"m-input-number/change":{"type":"any","description":""},"m-input-number/focus":{"type":"any","description":""},"m-input-number/blur":{"type":"any","description":""},"m-select/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select/multiple":{"type":"boolean","description":"多选"},"m-select-table/modelValue":{"type":"string | number","description":""},"m-select-table/name":{"type":"string","description":"显示值"},"m-select-table/placeholder":{"type":"string","description":""},"m-select-table/disabled":{"type":"boolean","description":""},"m-select-table/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table/total":{"type":"number | null","description":""},"m-select-table/filterMethod":{"type":"Function | null","description":"自定义搜索"},"m-select-table/filterable":{"type":"boolean","description":"是否使用搜索"},"m-select-table/remote":{"type":"boolean","description":"是否使用 远程搜索"},"m-select-table/remoteMethod":{"type":"Function","description":""},"m-select-table/options":{"type":"Option[]","description":""},"m-select-table/tableTitle":{"type":"any[]","description":""},"m-select-table/multiple":{"type":"boolean","description":"是否多选"},"m-select-table/keywords":{"type":"Option","description":"定义默认的 label 和value"},"m-select-table/reserveSelection":{"type":"boolean","description":"是否开启翻页多选"},"m-select-table/tableHeight":{"type":"string | number","description":""},"m-select-table/isAffirmBtn":{"type":"boolean","description":"是否有确认按钮"},"m-select-table/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table/allowCreate":{"type":"boolean","description":""},"m-select-table/border":{"type":"boolean","description":"表格边框"},"m-select-table/popupWidth":{"type":"number | string","description":"弹窗的宽度"},"m-select-table/selected":{"type":"any","description":""},"m-select-table/selectMultiple":{"type":"any","description":""},"m-select-table/toPage":{"type":"
|
|
1
|
+
{"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-inline/minWidth":{"type":"number","description":"列最小宽度"},"m-inline/maxWidth":{"type":"number","description":"列最大宽度"},"m-inline/size":{"type":"Size","description":"组件尺寸"},"m-inline/switch":{"type":"[status: boolean]","description":"切换折叠展开事件"},"m-input-number/modelValue":{"type":"string | number","description":""},"m-input-number/placeholder":{"type":"string","description":""},"m-input-number/disabled":{"type":"boolean","description":"是否禁用数值输入框"},"m-input-number/size":{"type":"string","description":"数值输入框尺寸"},"m-input-number/min":{"type":"number","description":"设置数值输入框允许的最小值"},"m-input-number/max":{"type":"number","description":"设置数值输入框允许的最大值"},"m-input-number/step":{"type":"number","description":"数值输入框步长"},"m-input-number/stepStrictly":{"type":"boolean","description":"是否只能输入 step 的倍数"},"m-input-number/thousandthPlace":{"type":"boolean","description":"输入框是否显示千分位"},"m-input-number/noBorder":{"type":"boolean","description":"是否不要边框"},"m-input-number/noSpacing":{"type":"boolean","description":"不要边距"},"m-input-number/update:modelValue":{"type":"any","description":""},"m-input-number/change":{"type":"any","description":""},"m-input-number/focus":{"type":"any","description":""},"m-input-number/blur":{"type":"any","description":""},"m-select/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select/multiple":{"type":"boolean","description":"多选"},"m-select-table/modelValue":{"type":"string | number","description":""},"m-select-table/name":{"type":"string | number | Array<number | string>","description":"显示值"},"m-select-table/placeholder":{"type":"string","description":""},"m-select-table/disabled":{"type":"boolean","description":""},"m-select-table/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table/total":{"type":"number | null","description":""},"m-select-table/filterMethod":{"type":"Function | null","description":"自定义搜索"},"m-select-table/filterable":{"type":"boolean","description":"是否使用搜索"},"m-select-table/remote":{"type":"boolean","description":"是否使用 远程搜索"},"m-select-table/remoteMethod":{"type":"Function","description":""},"m-select-table/options":{"type":"Option[]","description":""},"m-select-table/tableTitle":{"type":"any[]","description":""},"m-select-table/multiple":{"type":"boolean","description":"是否多选"},"m-select-table/keywords":{"type":"Option","description":"定义默认的 label 和value"},"m-select-table/reserveSelection":{"type":"boolean","description":"是否开启翻页多选"},"m-select-table/tableHeight":{"type":"string | number","description":""},"m-select-table/isAffirmBtn":{"type":"boolean","description":"是否有确认按钮"},"m-select-table/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table/allowCreate":{"type":"boolean","description":""},"m-select-table/border":{"type":"boolean","description":"表格边框"},"m-select-table/popupWidth":{"type":"number | string","description":"弹窗的宽度"},"m-select-table/selected":{"type":"any","description":""},"m-select-table/selectMultiple":{"type":"any","description":""},"m-select-table/toPage":{"type":"[page: Page, query?: string]","description":"当没有使用filterMethod时候才会有回调否则没有"},"m-select-table/update:modelValue":{"type":"any","description":""},"m-select-table/clear":{"type":"any","description":""},"m-select-table/removeTag":{"type":"[tag: any]","description":"多选模式下移除tag时触发"},"m-select-table/focusShow":{"type":"boolean","description":""},"m-select-table/isSelect":{"type":"boolean","description":""},"m-select-table/clearable":{"type":"boolean","description":""},"m-select-table/labelKey":{"type":"string","description":""},"m-select-table/change":{"type":"any","description":""},"m-select-v2/checkboxMode":{"type":"boolean","description":"是否为checkbox模式"},"m-select-v2/multiple":{"type":"boolean","description":"多选"},"m-select-v2/showAll":{"type":"boolean","description":"是否显示全选"},"m-select-v2/options":{"type":"Option[]","description":"选项"},"m-select-v2/update:modelValue":{"type":"[data: any]","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Array<{\n [key: string]: string | number\n }>","description":""},"m-table/filtersValue":{"type":"FilterValue","description":""},"m-table/pasteData":{"type":"[data: {\n /** 粘贴行的行数据 */\n editRow: { [key: string]: any },\n /** 粘贴列的列名 */\n editColumn: string,\n /** 粘贴的数据 */\n arr: Array<string | number>,\n /** 起始行 */\n rowIndex: number,\n },\n /** 粘贴完成后的表格数据 */\n tableData: Array<{ [key: string]: any\n }>]","description":""},"m-table-column/filtersValue":{"type":"FilterValue","description":""},"m-table-column/filters":{"type":"Array<{ text: string | number, value: string | number }>","description":""},"m-table-column/filterMethod":{"type":"Function","description":""},"m-table-column/children":{"type":"Array<PropChildren>","description":""},"m-table-column/update:filtersValue":{"type":"any","description":""},"m-table-column-set/modelValue":{"type":"TableConfig","description":""},"m-table-column-set/foldMode":{"type":"boolean","description":""},"m-table-column-set/link":{"type":"boolean","description":"是否为链接按钮"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"skin-config/change":{"type":"any","description":""},"tab-page/modelValue":{"type":"MenuItem[]","description":""},"tab-page/activeKey":{"type":"string","description":""},"tab-page/showRightClickMenu":{"type":"boolean","description":""},"tab-page/primaryColor":{"type":"string","description":""},"tab-page/primaryBackgroundColor":{"type":"string | null","description":""},"tab-page/close":{"type":"any","description":""},"tab-page/click":{"type":"any","description":""}}
|