br-dionysus 1.15.2 → 1.15.4

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
@@ -589,8 +589,9 @@ const options: Option[] = [{
589
589
  value: 'b'
590
590
  }]
591
591
 
592
- // const testFun = (p: number) => {
593
- // console.log('p', p)
592
+ // const change = (data: any) => {
593
+ // console.log('test', test.value)
594
+ // console.log('data', data)
594
595
  // }
595
596
  </script>
596
597
 
@@ -1130,10 +1131,37 @@ const options: Option[] = [{
1130
1131
 
1131
1132
  <template>
1132
1133
  <div class="g-box">
1134
+ <h3>普通表格</h3>
1135
+ <MTable
1136
+ :data="tableData1"
1137
+ border
1138
+ :filtersValue="filtersValue"
1139
+ scrollbarAlwaysOn
1140
+ v-model:tableConfig="tableConfig"
1141
+ @selectionChange="handleSelectionChange"
1142
+ >
1143
+ <el-table-column
1144
+ fixed="left"
1145
+ type="selection"
1146
+ />
1147
+ <MTableColumn
1148
+ v-for="item in tableTitle"
1149
+ :key="item.prop"
1150
+ :prop="item.prop"
1151
+ :label="item.label"
1152
+ :align="item.align"
1153
+ :minWidth="item.minWidth"
1154
+ :className="item.className"
1155
+ :filters="item.filters"
1156
+ :headerAlign="item.headerAlign"
1157
+ :fixed="item.fixed"
1158
+ v-model:filtersValue="filtersValue"
1159
+ showOverflowTooltip
1160
+ ></MTableColumn>
1161
+ </MTable>
1133
1162
  <h3>展开列</h3>
1134
1163
  <p @click="zzzz">{{ tableConfig }}</p>
1135
1164
  <MTable
1136
- class="style.box"
1137
1165
  :data="tableData"
1138
1166
  border
1139
1167
  @headerDragend="headerDragend"
@@ -1190,7 +1218,6 @@ const options: Option[] = [{
1190
1218
  </MTable>
1191
1219
  <h3>树状表格</h3>
1192
1220
  <MTable
1193
- class="style.box"
1194
1221
  :data="tableData"
1195
1222
  border
1196
1223
  @headerDragend="headerDragend"
@@ -1339,6 +1366,64 @@ tableData.value = [{
1339
1366
  tag: 'Office',
1340
1367
  pid: 0
1341
1368
  }]
1369
+
1370
+ const tableData1 = ref<any[]>([])
1371
+ tableData1.value = [{
1372
+ id: 1,
1373
+ sn: 1,
1374
+ date: '2016-05-03',
1375
+ name: 'Tom1',
1376
+ address: 'No. 189, Grove St, Los Angeles',
1377
+ tag: 'Home',
1378
+ pid: 0
1379
+ }, {
1380
+ id: 2,
1381
+ sn: 2,
1382
+ date: '2016-05-02',
1383
+ name: 'Tom2',
1384
+ address: 'No. 189, Grove St, Los Angeles',
1385
+ tag: 'Office',
1386
+ pid: 0
1387
+ }, {
1388
+ id: 3,
1389
+ sn: 3,
1390
+ date: '2016-05-04',
1391
+ name: 'Tom3',
1392
+ address: 'No. 189, Grove St, Los Angeles',
1393
+ tag: 'Home',
1394
+ pid: 0
1395
+ }, {
1396
+ id: 4,
1397
+ sn: 4,
1398
+ date: '2016-05-01',
1399
+ name: 'Tom4',
1400
+ address: 'No. 189, Grove St, Los Angeles',
1401
+ tag: 'Office',
1402
+ pid: 0
1403
+ }, {
1404
+ id: 5,
1405
+ sn: 5,
1406
+ date: '2016-05-05',
1407
+ name: 'Tom4',
1408
+ address: 'No. 189, Grove St, Los Angeles',
1409
+ tag: 'Office',
1410
+ pid: 0
1411
+ }, {
1412
+ id: 6,
1413
+ sn: 6,
1414
+ date: '2016-06-01',
1415
+ name: 'Tom4',
1416
+ address: 'No. 189, Grove St, Los Angeles',
1417
+ tag: 'Office',
1418
+ pid: 0
1419
+ }]
1420
+
1421
+ // 选中项
1422
+ const multipleSelection = ref<number[]>([])
1423
+ const handleSelectionChange = (val: any[]) => {
1424
+ multipleSelection.value = val.map(item => item.sn)
1425
+ tableData1.value[0].name = tableData1.value[0].name + 'd'
1426
+ }
1342
1427
  </script>
1343
1428
 
1344
1429
  <style lang="scss" scoped>
@@ -1352,14 +1437,14 @@ tableData.value = [{
1352
1437
 
1353
1438
  ### 2) Attributes
1354
1439
 
1355
- | 参数 | 说明 | 类型 | 可选值 | 默认值 |
1356
- |----------------|-----------------------------|------------------|-----|-----------------------------------------------------|
1357
- | data | 表格的数据 | Array | - | [ ] |
1358
- | sole | 行的唯一值 | String , number | - | key |
1359
- | filtersValue | 表格内容筛选(当为null时,不显示筛选图标) | Function \| null | - | null |
1360
- | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
1361
- | tableConfigKey | 表格配置key | string | - | '' |
1362
- | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
1440
+ | 参数 | 说明 | 类型 | 可选值 | 默认值 |
1441
+ |----------------|-----------------------------|-----------------------|-----|-----------------------------------------------------|
1442
+ | data | 表格的数据 | Record<string, any>[] | - | [ ] |
1443
+ | sole | 行的唯一值 | String , number | - | key |
1444
+ | filtersValue | 表格内容筛选(当为null时,不显示筛选图标) | Function \| null | - | null |
1445
+ | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
1446
+ | tableConfigKey | 表格配置key | string | - | '' |
1447
+ | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
1363
1448
 
1364
1449
  ## 要求
1365
1450
 
@@ -3578,8 +3663,9 @@ const options: Option[] = [{
3578
3663
  value: 'b'
3579
3664
  }]
3580
3665
 
3581
- // const testFun = (p: number) => {
3582
- // console.log('p', p)
3666
+ // const change = (data: any) => {
3667
+ // console.log('test', test.value)
3668
+ // console.log('data', data)
3583
3669
  // }
3584
3670
  </script>
3585
3671
 
@@ -4119,10 +4205,37 @@ const options: Option[] = [{
4119
4205
 
4120
4206
  <template>
4121
4207
  <div class="g-box">
4208
+ <h3>普通表格</h3>
4209
+ <MTable
4210
+ :data="tableData1"
4211
+ border
4212
+ :filtersValue="filtersValue"
4213
+ scrollbarAlwaysOn
4214
+ v-model:tableConfig="tableConfig"
4215
+ @selectionChange="handleSelectionChange"
4216
+ >
4217
+ <el-table-column
4218
+ fixed="left"
4219
+ type="selection"
4220
+ />
4221
+ <MTableColumn
4222
+ v-for="item in tableTitle"
4223
+ :key="item.prop"
4224
+ :prop="item.prop"
4225
+ :label="item.label"
4226
+ :align="item.align"
4227
+ :minWidth="item.minWidth"
4228
+ :className="item.className"
4229
+ :filters="item.filters"
4230
+ :headerAlign="item.headerAlign"
4231
+ :fixed="item.fixed"
4232
+ v-model:filtersValue="filtersValue"
4233
+ showOverflowTooltip
4234
+ ></MTableColumn>
4235
+ </MTable>
4122
4236
  <h3>展开列</h3>
4123
4237
  <p @click="zzzz">{{ tableConfig }}</p>
4124
4238
  <MTable
4125
- class="style.box"
4126
4239
  :data="tableData"
4127
4240
  border
4128
4241
  @headerDragend="headerDragend"
@@ -4179,7 +4292,6 @@ const options: Option[] = [{
4179
4292
  </MTable>
4180
4293
  <h3>树状表格</h3>
4181
4294
  <MTable
4182
- class="style.box"
4183
4295
  :data="tableData"
4184
4296
  border
4185
4297
  @headerDragend="headerDragend"
@@ -4328,6 +4440,64 @@ tableData.value = [{
4328
4440
  tag: 'Office',
4329
4441
  pid: 0
4330
4442
  }]
4443
+
4444
+ const tableData1 = ref<any[]>([])
4445
+ tableData1.value = [{
4446
+ id: 1,
4447
+ sn: 1,
4448
+ date: '2016-05-03',
4449
+ name: 'Tom1',
4450
+ address: 'No. 189, Grove St, Los Angeles',
4451
+ tag: 'Home',
4452
+ pid: 0
4453
+ }, {
4454
+ id: 2,
4455
+ sn: 2,
4456
+ date: '2016-05-02',
4457
+ name: 'Tom2',
4458
+ address: 'No. 189, Grove St, Los Angeles',
4459
+ tag: 'Office',
4460
+ pid: 0
4461
+ }, {
4462
+ id: 3,
4463
+ sn: 3,
4464
+ date: '2016-05-04',
4465
+ name: 'Tom3',
4466
+ address: 'No. 189, Grove St, Los Angeles',
4467
+ tag: 'Home',
4468
+ pid: 0
4469
+ }, {
4470
+ id: 4,
4471
+ sn: 4,
4472
+ date: '2016-05-01',
4473
+ name: 'Tom4',
4474
+ address: 'No. 189, Grove St, Los Angeles',
4475
+ tag: 'Office',
4476
+ pid: 0
4477
+ }, {
4478
+ id: 5,
4479
+ sn: 5,
4480
+ date: '2016-05-05',
4481
+ name: 'Tom4',
4482
+ address: 'No. 189, Grove St, Los Angeles',
4483
+ tag: 'Office',
4484
+ pid: 0
4485
+ }, {
4486
+ id: 6,
4487
+ sn: 6,
4488
+ date: '2016-06-01',
4489
+ name: 'Tom4',
4490
+ address: 'No. 189, Grove St, Los Angeles',
4491
+ tag: 'Office',
4492
+ pid: 0
4493
+ }]
4494
+
4495
+ // 选中项
4496
+ const multipleSelection = ref<number[]>([])
4497
+ const handleSelectionChange = (val: any[]) => {
4498
+ multipleSelection.value = val.map(item => item.sn)
4499
+ tableData1.value[0].name = tableData1.value[0].name + 'd'
4500
+ }
4331
4501
  </script>
4332
4502
 
4333
4503
  <style lang="scss" scoped>
@@ -4341,14 +4511,14 @@ tableData.value = [{
4341
4511
 
4342
4512
  ### 2) Attributes
4343
4513
 
4344
- | 参数 | 说明 | 类型 | 可选值 | 默认值 |
4345
- |----------------|-----------------------------|------------------|-----|-----------------------------------------------------|
4346
- | data | 表格的数据 | Array | - | [ ] |
4347
- | sole | 行的唯一值 | String , number | - | key |
4348
- | filtersValue | 表格内容筛选(当为null时,不显示筛选图标) | Function \| null | - | null |
4349
- | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
4350
- | tableConfigKey | 表格配置key | string | - | '' |
4351
- | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
4514
+ | 参数 | 说明 | 类型 | 可选值 | 默认值 |
4515
+ |----------------|-----------------------------|-----------------------|-----|-----------------------------------------------------|
4516
+ | data | 表格的数据 | Record<string, any>[] | - | [ ] |
4517
+ | sole | 行的唯一值 | String , number | - | key |
4518
+ | filtersValue | 表格内容筛选(当为null时,不显示筛选图标) | Function \| null | - | null |
4519
+ | expandProp | 展开图标列(如使用这个属性则必须存在rowKey属性) | string | - | '' |
4520
+ | tableConfigKey | 表格配置key | string | - | '' |
4521
+ | 其余参数 | 参考el官网的table | any | - | https://element-plus.org/zh-CN/component/table.html |
4352
4522
 
4353
4523
  ## 要求
4354
4524
 
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/drawerMode":{"type":"boolean","description":"抽屉模式"},"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/configKey":{"type":"string","description":"配置key"},"m-inline/model":{"type":"Record<string, any> | null","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/modelValue":{"type":"any","description":"选中项绑定值"},"m-select/update:modelValue":{"type":"[value: number | string | Array<number | string>]","description":""},"m-select/change":{"type":"[value: any]","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/selectChange":{"type":"[values: string | number | Array<string | number>]","description":"勾选数据change事件"},"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/modelValue":{"type":"ValueType","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: ValueType]","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 | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"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 | null","description":"列筛选过滤条件(当为null时,不显示筛选图标)"},"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":"string","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"type":"any","description":""},"m-table-v2/size":{"type":"'small' | 'large' | 'default'","description":""},"m-table-v2/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table-v2/height":{"type":"number","description":"表格高度"},"m-table-v2/border":{"type":"boolean","description":"显示边框"},"m-table-v2/columns":{"type":"TableV2Title[]","description":"表格列配置"},"m-table-v2/filtersValue":{"type":"FilterValue | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table-v2/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table-v2/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-v2/fixed":{"type":"boolean","description":"单元格宽度是自适应还是固定"},"m-table-v2/estimatedRowHeight":{"type":"number | null","description":"渲染动态的单元格的预估高度"},"m-table-v2/headerHeight":{"type":"number | number[] | null","description":"Header 的高度由height设置。 如果传入数组,它会使 header row 等于数组长度"},"m-table-v2/cellWidthAdaptive":{"type":"boolean","description":"单元格宽度自适应"},"m-table-v2/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-v2/update:tableConfig":{"type":"[tableConfig: TableConfig]","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/drawerMode":{"type":"boolean","description":"抽屉模式"},"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/configKey":{"type":"string","description":"配置key"},"m-inline/model":{"type":"Record<string, any> | null","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/modelValue":{"type":"any","description":"选中项绑定值"},"m-select/update:modelValue":{"type":"[value: number | string | Array<number | string>]","description":""},"m-select/change":{"type":"[value: any]","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/selectChange":{"type":"[values: string | number | Array<string | number>]","description":"勾选数据change事件"},"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/modelValue":{"type":"ValueType","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: ValueType]","description":""},"m-table/size":{"type":"'small' | 'large' | ''","description":""},"m-table/sole":{"type":"string","description":""},"m-table/data":{"type":"Record<string, any>[]","description":""},"m-table/filtersValue":{"type":"FilterValue | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"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 | null","description":"列筛选过滤条件(当为null时,不显示筛选图标)"},"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":"string","description":"表格配置key"},"m-table-column-set/update:modelValue":{"type":"any","description":""},"m-table-column-set/change":{"type":"any","description":""},"m-table-v2/size":{"type":"'small' | 'large' | 'default'","description":""},"m-table-v2/data":{"type":"Array<{\n [key: string]: any\n }>","description":""},"m-table-v2/height":{"type":"number","description":"表格高度"},"m-table-v2/border":{"type":"boolean","description":"显示边框"},"m-table-v2/columns":{"type":"TableV2Title[]","description":"表格列配置"},"m-table-v2/filtersValue":{"type":"FilterValue | null","description":"表格内容筛选(当为null时,不显示筛选图标)"},"m-table-v2/tableConfig":{"type":"TableConfig | null","description":"表格配置"},"m-table-v2/tableConfigKey":{"type":"string","description":"表格配置key"},"m-table-v2/fixed":{"type":"boolean","description":"单元格宽度是自适应还是固定"},"m-table-v2/estimatedRowHeight":{"type":"number | null","description":"渲染动态的单元格的预估高度"},"m-table-v2/headerHeight":{"type":"number | number[] | null","description":"Header 的高度由height设置。 如果传入数组,它会使 header row 等于数组长度"},"m-table-v2/cellWidthAdaptive":{"type":"boolean","description":"单元格宽度自适应"},"m-table-v2/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-v2/update:tableConfig":{"type":"[tableConfig: TableConfig]","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":""}}