br-dionysus 1.7.2-beta.3 → 1.7.2-beta.5

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
@@ -1005,7 +1005,12 @@ const options: Option[] = [{
1005
1005
  rowKey="id"
1006
1006
  tableConfigKey="tableConfigKey"
1007
1007
  expandProp="sn"
1008
+ @privateExpandChange="privateExpandChange"
1008
1009
  >
1010
+ <el-table-column
1011
+ fixed="left"
1012
+ type="selection"
1013
+ />
1009
1014
  <MTableColumn
1010
1015
  type="expand"
1011
1016
  width="1"
@@ -1014,10 +1019,6 @@ const options: Option[] = [{
1014
1019
  <h1>测试</h1>
1015
1020
  </template>
1016
1021
  </MTableColumn>
1017
- <el-table-column
1018
- fixed="left"
1019
- type="selection"
1020
- />
1021
1022
  <MTableColumn
1022
1023
  v-for="item in tableTitle"
1023
1024
  :key="item.prop"
@@ -1045,6 +1046,7 @@ const options: Option[] = [{
1045
1046
  v-model:tableConfig="tableConfig"
1046
1047
  rowKey="id"
1047
1048
  tableConfigKey="tableConfigKey"
1049
+ @expandChange="privateExpandChange"
1048
1050
  >
1049
1051
  <MTableColumn
1050
1052
  v-for="item in tableTitle"
@@ -1069,8 +1071,9 @@ const options: Option[] = [{
1069
1071
  import { ref } from 'vue'
1070
1072
  import { useTableConfig } from 'packages/index'
1071
1073
 
1072
- const test = (data: any) => {
1073
- console.log('data', data)
1074
+ const privateExpandChange = (row: any, expandedRows: any[]) => {
1075
+ console.log('row', row)
1076
+ console.log('expandedRows', expandedRows)
1074
1077
  }
1075
1078
 
1076
1079
  const tableData = ref<any[]>([])
@@ -1093,6 +1096,25 @@ const { tableTitle, headerDragend, tableConfig, filtersValue } = useTableConfig(
1093
1096
  minWidth: 200
1094
1097
  }], tableData)
1095
1098
 
1099
+ const childTableTitle: TableTitle[] = [{
1100
+ label: '序号',
1101
+ prop: 'sn',
1102
+ minWidth: 200,
1103
+ fixed: 'left'
1104
+ }, {
1105
+ label: 'Date',
1106
+ prop: 'date',
1107
+ minWidth: 200
1108
+ }, {
1109
+ label: 'Address',
1110
+ prop: 'address',
1111
+ minWidth: 200
1112
+ }, {
1113
+ label: 'name',
1114
+ prop: 'name',
1115
+ minWidth: 200
1116
+ }]
1117
+
1096
1118
  tableData.value = [{
1097
1119
  id: 1,
1098
1120
  sn: 1,
@@ -1154,14 +1176,14 @@ tableData.value = [{
1154
1176
 
1155
1177
  ### 2) Attributes
1156
1178
 
1157
- | 参数 | 说明 | 类型 | 可选值 | 默认值 |
1158
- |-----------------|---------------------------------------------|-----------------|-----|-----------------------------------------------------|
1159
- | data | 表格的数据 | Array | - | [ ] |
1160
- | sole | 行的唯一值 | String , number | - | key |
1161
- | filtersValue | 表格内容筛选 | Function | - | () => void |
1162
- | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性,并且expand列必须为第一列) | string | - | '' |
1163
- | tableConfigKey | 表格配置key | string | - | '' |
1164
- | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
1179
+ | 参数 | 说明 | 类型 | 可选值 | 默认值 |
1180
+ |----------------|-----------------------------|-----------------|-----|-----------------------------------------------------|
1181
+ | data | 表格的数据 | Array | - | [ ] |
1182
+ | sole | 行的唯一值 | String , number | - | key |
1183
+ | filtersValue | 表格内容筛选 | Function | - | () => void |
1184
+ | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
1185
+ | tableConfigKey | 表格配置key | string | - | '' |
1186
+ | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
1165
1187
 
1166
1188
  ## 要求
1167
1189
 
@@ -1171,10 +1193,12 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
1171
1193
 
1172
1194
  ### 3) Events
1173
1195
 
1174
- | 方法名 | 说明 | 回调参数 |
1175
- |-----------|--------------|-----------------------------------------------------|
1176
- | pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
1177
- | 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
1196
+ | 方法名 | 说明 | 回调参数 |
1197
+ |--------------------|-------------------------------------------------------------------------|-----------------------------------------------------|
1198
+ | pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
1199
+ | update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig] |
1200
+ | expandChange | 当用户对某一行展开或者关闭的时候会触发该事件(展开行时,回调的第二个参数为 expandedRows;树形表格时第二参数为 expanded) | [row: any, expandedRows: any[] \| boolean] |
1201
+ | 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
1178
1202
 
1179
1203
  ### 4) PasteAction
1180
1204
 
@@ -3247,7 +3271,12 @@ const options: Option[] = [{
3247
3271
  rowKey="id"
3248
3272
  tableConfigKey="tableConfigKey"
3249
3273
  expandProp="sn"
3274
+ @privateExpandChange="privateExpandChange"
3250
3275
  >
3276
+ <el-table-column
3277
+ fixed="left"
3278
+ type="selection"
3279
+ />
3251
3280
  <MTableColumn
3252
3281
  type="expand"
3253
3282
  width="1"
@@ -3256,10 +3285,6 @@ const options: Option[] = [{
3256
3285
  <h1>测试</h1>
3257
3286
  </template>
3258
3287
  </MTableColumn>
3259
- <el-table-column
3260
- fixed="left"
3261
- type="selection"
3262
- />
3263
3288
  <MTableColumn
3264
3289
  v-for="item in tableTitle"
3265
3290
  :key="item.prop"
@@ -3287,6 +3312,7 @@ const options: Option[] = [{
3287
3312
  v-model:tableConfig="tableConfig"
3288
3313
  rowKey="id"
3289
3314
  tableConfigKey="tableConfigKey"
3315
+ @expandChange="privateExpandChange"
3290
3316
  >
3291
3317
  <MTableColumn
3292
3318
  v-for="item in tableTitle"
@@ -3311,8 +3337,9 @@ const options: Option[] = [{
3311
3337
  import { ref } from 'vue'
3312
3338
  import { useTableConfig } from 'packages/index'
3313
3339
 
3314
- const test = (data: any) => {
3315
- console.log('data', data)
3340
+ const privateExpandChange = (row: any, expandedRows: any[]) => {
3341
+ console.log('row', row)
3342
+ console.log('expandedRows', expandedRows)
3316
3343
  }
3317
3344
 
3318
3345
  const tableData = ref<any[]>([])
@@ -3335,6 +3362,25 @@ const { tableTitle, headerDragend, tableConfig, filtersValue } = useTableConfig(
3335
3362
  minWidth: 200
3336
3363
  }], tableData)
3337
3364
 
3365
+ const childTableTitle: TableTitle[] = [{
3366
+ label: '序号',
3367
+ prop: 'sn',
3368
+ minWidth: 200,
3369
+ fixed: 'left'
3370
+ }, {
3371
+ label: 'Date',
3372
+ prop: 'date',
3373
+ minWidth: 200
3374
+ }, {
3375
+ label: 'Address',
3376
+ prop: 'address',
3377
+ minWidth: 200
3378
+ }, {
3379
+ label: 'name',
3380
+ prop: 'name',
3381
+ minWidth: 200
3382
+ }]
3383
+
3338
3384
  tableData.value = [{
3339
3385
  id: 1,
3340
3386
  sn: 1,
@@ -3396,14 +3442,14 @@ tableData.value = [{
3396
3442
 
3397
3443
  ### 2) Attributes
3398
3444
 
3399
- | 参数 | 说明 | 类型 | 可选值 | 默认值 |
3400
- |-----------------|---------------------------------------------|-----------------|-----|-----------------------------------------------------|
3401
- | data | 表格的数据 | Array | - | [ ] |
3402
- | sole | 行的唯一值 | String , number | - | key |
3403
- | filtersValue | 表格内容筛选 | Function | - | () => void |
3404
- | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性,并且expand列必须为第一列) | string | - | '' |
3405
- | tableConfigKey | 表格配置key | string | - | '' |
3406
- | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
3445
+ | 参数 | 说明 | 类型 | 可选值 | 默认值 |
3446
+ |----------------|-----------------------------|-----------------|-----|-----------------------------------------------------|
3447
+ | data | 表格的数据 | Array | - | [ ] |
3448
+ | sole | 行的唯一值 | String , number | - | key |
3449
+ | filtersValue | 表格内容筛选 | Function | - | () => void |
3450
+ | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
3451
+ | tableConfigKey | 表格配置key | string | - | '' |
3452
+ | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
3407
3453
 
3408
3454
  ## 要求
3409
3455
 
@@ -3413,10 +3459,12 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
3413
3459
 
3414
3460
  ### 3) Events
3415
3461
 
3416
- | 方法名 | 说明 | 回调参数 |
3417
- |-----------|--------------|-----------------------------------------------------|
3418
- | pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
3419
- | 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
3462
+ | 方法名 | 说明 | 回调参数 |
3463
+ |--------------------|-------------------------------------------------------------------------|-----------------------------------------------------|
3464
+ | pasteData | 表格粘贴方法 | 共有2个参数,依次为粘贴动作的数据PasteAction ,表格原始数据tableData |
3465
+ | update:tableConfig | 表格配置更新 | \[tableConfig: TableConfig] |
3466
+ | expandChange | 当用户对某一行展开或者关闭的时候会触发该事件(展开行时,回调的第二个参数为 expandedRows;树形表格时第二参数为 expanded) | [row: any, expandedRows: any[] \| boolean] |
3467
+ | 其余方法 | 参考el官网的table | https://element-plus.org/zh-CN/component/table.html |
3420
3468
 
3421
3469
  ### 4) PasteAction
3422
3470
 
package/attributes.json CHANGED
@@ -1 +1 @@
1
- {"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/insideHeight":{"type":"number | null","description":"对话框内部空间的高度,默认为null"},"m-dialog/minInsideHeight":{"type":"number","description":"对话框内部空间的最小高度,默认为0(当同时存在maxHeight和minInsideHeight时,以maxHeight为准)"},"m-dialog/maxInsideHeight":{"type":"number","description":"对话框内部空间的最大高度,默认为Infinity"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/insideClassName":{"type":"string","description":"对话框内部空间的className"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[number]","description":"更新内部容器高度"},"m-dialog/update:modelValue":{"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 | Array<number | string>","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":"TableTitle[]","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":"[values: string | number | Array<string | number>, rows: Option[] | Option]","description":"单选或多选之后的回调"},"m-select-table/selectMultiple":{"type":"[values: Array<string | number>, rows: Option[]]","description":"多选确认按钮时的回调 配合isAffirmBtn使用"},"m-select-table/toPage":{"type":"[page: Page, query?: string]","description":"当没有使用filterMethod时候才会有回调否则没有"},"m-select-table/update:modelValue":{"type":"[value: string | number | Array<string | number>]","description":""},"m-select-table/clear":{"type":"[]","description":"用户点击清空按钮时触发"},"m-select-table/removeTag":{"type":"[tag: any]","description":"多选模式下移除tag时触发"},"m-select-table-v1/modelValue":{"type":"string | number","description":""},"m-select-table-v1/placeholder":{"type":"string","description":""},"m-select-table-v1/disabled":{"type":"boolean","description":""},"m-select-table-v1/options":{"type":"Option[]","description":""},"m-select-table-v1/tableTitle":{"type":"any[]","description":""},"m-select-table-v1/remoteMethod":{"type":"Function","description":""},"m-select-table-v1/allowCreate":{"type":"boolean","description":""},"m-select-table-v1/focusShow":{"type":"boolean","description":""},"m-select-table-v1/isSelect":{"type":"boolean","description":""},"m-select-table-v1/clearable":{"type":"boolean","description":""},"m-select-table-v1/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table-v1/labelKey":{"type":"string","description":""},"m-select-table-v1/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table-v1/total":{"type":"number | null","description":""},"m-select-table-v1/update:modelValue":{"type":"any","description":""},"m-select-table-v1/selectMultiple":{"type":"any","description":""},"m-select-table-v1/change":{"type":"any","description":""},"m-select-table-v1/selected":{"type":"any","description":""},"m-select-table-v1/clear":{"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/size":{"type":"'small' | 'large' | ''","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table/filtersValue":{"type":"FilterValue","description":""},"m-table/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table/expandProp":{"type":"string","description":"展开图标列(如使用这个属性则必须存在rowKey属性,并且expand列必须为第一列) (标记,约束条件后面解决)"},"m-table/expandRowKeys":{"type":"any[]","description":"可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。"},"m-table/rowKey":{"type":"Function | string","description":"行数据的 Key,用来优化 Table 的渲染; 在使用reserve-selection功能与显示树形数据时,该属性是必填的。 类型为 String 时,支持多层访问:user.info.id,但不支持 user.info[0].id,此种情况请使用 Function。"},"m-table/tableConfigKey":{"type":"string","description":"表格配置key"},"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/update:tableConfig":{"type":"[tableConfig: TableConfig]","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 | null","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/tableConfigKey":{"type":"''","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"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":""}}
1
+ {"m-dialog/modelValue":{"type":"boolean","description":""},"m-dialog/width":{"type":"string | number","description":"对话框的宽度,默认值为 50%"},"m-dialog/insideHeight":{"type":"number | null","description":"对话框内部空间的高度,默认为null"},"m-dialog/minInsideHeight":{"type":"number","description":"对话框内部空间的最小高度,默认为0(当同时存在maxHeight和minInsideHeight时,以maxHeight为准)"},"m-dialog/maxInsideHeight":{"type":"number","description":"对话框内部空间的最大高度,默认为Infinity"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/insideClassName":{"type":"string","description":"对话框内部空间的className"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[number]","description":"更新内部容器高度"},"m-dialog/update:modelValue":{"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 | Array<number | string>","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":"TableTitle[]","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":"[values: string | number | Array<string | number>, rows: Option[] | Option]","description":"单选或多选之后的回调"},"m-select-table/selectMultiple":{"type":"[values: Array<string | number>, rows: Option[]]","description":"多选确认按钮时的回调 配合isAffirmBtn使用"},"m-select-table/toPage":{"type":"[page: Page, query?: string]","description":"当没有使用filterMethod时候才会有回调否则没有"},"m-select-table/update:modelValue":{"type":"[value: string | number | Array<string | number>]","description":""},"m-select-table/clear":{"type":"[]","description":"用户点击清空按钮时触发"},"m-select-table/removeTag":{"type":"[tag: any]","description":"多选模式下移除tag时触发"},"m-select-table-v1/modelValue":{"type":"string | number","description":""},"m-select-table-v1/placeholder":{"type":"string","description":""},"m-select-table-v1/disabled":{"type":"boolean","description":""},"m-select-table-v1/options":{"type":"Option[]","description":""},"m-select-table-v1/tableTitle":{"type":"any[]","description":""},"m-select-table-v1/remoteMethod":{"type":"Function","description":""},"m-select-table-v1/allowCreate":{"type":"boolean","description":""},"m-select-table-v1/focusShow":{"type":"boolean","description":""},"m-select-table-v1/isSelect":{"type":"boolean","description":""},"m-select-table-v1/clearable":{"type":"boolean","description":""},"m-select-table-v1/size":{"type":"'small' | 'large' | ''","description":""},"m-select-table-v1/labelKey":{"type":"string","description":""},"m-select-table-v1/scrollbarAlwaysOn":{"type":"boolean","description":""},"m-select-table-v1/total":{"type":"number | null","description":""},"m-select-table-v1/update:modelValue":{"type":"any","description":""},"m-select-table-v1/selectMultiple":{"type":"any","description":""},"m-select-table-v1/change":{"type":"any","description":""},"m-select-table-v1/selected":{"type":"any","description":""},"m-select-table-v1/clear":{"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/size":{"type":"'small' | 'large' | ''","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table/filtersValue":{"type":"FilterValue","description":""},"m-table/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table/expandProp":{"type":"string","description":"展开图标列(如使用这个属性则必须存在rowKey属性) (标记,约束条件后面解决)"},"m-table/expandRowKeys":{"type":"any[]","description":"可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。"},"m-table/rowKey":{"type":"Function | string","description":"行数据的 Key,用来优化 Table 的渲染; 在使用reserve-selection功能与显示树形数据时,该属性是必填的。 类型为 String 时,支持多层访问:user.info.id,但不支持 user.info[0].id,此种情况请使用 Function。"},"m-table/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table/pasteData":{"type":"[\n 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/update:tableConfig":{"type":"[tableConfig: TableConfig]","description":"表格配置更新"},"m-table/privateExpandChange":{"type":"[row: any, expandedRows: any[]]","description":"expandProp模式下 当用户对某一行展开或者关闭的时候会触发该事件"},"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 | null","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/tableConfigKey":{"type":"''","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"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":""}}