br-dionysus 1.6.14 → 1.6.16
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 +124 -28
- package/attributes.json +1 -1
- package/dist/br-dionysus.es.js +1712 -1710
- package/dist/br-dionysus.umd.js +5 -5
- package/dist/packages/MDialog/src/MDialog.vue.d.ts +20 -2
- package/package.json +1 -1
- package/packages/MDialog/docs/README.md +7 -5
- package/packages/MDialog/docs/demo.vue +55 -9
- package/packages/MDialog/src/MDialog.vue +30 -8
- package/tags.json +1 -1
- package/web-types.json +1 -1
package/README.md
CHANGED
|
@@ -47,11 +47,28 @@
|
|
|
47
47
|
<template>
|
|
48
48
|
<div>
|
|
49
49
|
<p>弹窗</p>
|
|
50
|
-
<el-button @click="
|
|
50
|
+
<el-button @click="open">默认</el-button>
|
|
51
|
+
<m-dialog
|
|
52
|
+
v-model="dialogVisible"
|
|
53
|
+
draggable
|
|
54
|
+
title="这是标题"
|
|
55
|
+
resize
|
|
56
|
+
>
|
|
57
|
+
<div class="u-box">
|
|
58
|
+
<p>这是测试是数据</p>
|
|
59
|
+
</div>
|
|
60
|
+
<template #footer>
|
|
61
|
+
<div class="dialog-footer">
|
|
62
|
+
<el-button @click="dialogVisible = false">取消</el-button>
|
|
63
|
+
<el-button type="primary" @click="dialogVisible = false">确认</el-button>
|
|
64
|
+
</div>
|
|
65
|
+
</template>
|
|
66
|
+
</m-dialog>
|
|
67
|
+
|
|
51
68
|
<p>设置弹窗高(弹框高度为{{ insideHeight }})</p>
|
|
52
69
|
<el-button @click="open2">设置容器高度为300px</el-button>
|
|
53
70
|
<m-dialog
|
|
54
|
-
v-model="
|
|
71
|
+
v-model="dialogVisible2"
|
|
55
72
|
draggable
|
|
56
73
|
title="这是标题"
|
|
57
74
|
resize
|
|
@@ -71,10 +88,28 @@
|
|
|
71
88
|
</div>
|
|
72
89
|
<template #footer>
|
|
73
90
|
<div class="dialog-footer">
|
|
74
|
-
<el-button @click="
|
|
75
|
-
<el-button type="primary" @click="
|
|
76
|
-
|
|
77
|
-
|
|
91
|
+
<el-button @click="dialogVisible2 = false">取消</el-button>
|
|
92
|
+
<el-button type="primary" @click="dialogVisible2 = false">确认</el-button>
|
|
93
|
+
</div>
|
|
94
|
+
</template>
|
|
95
|
+
</m-dialog>
|
|
96
|
+
|
|
97
|
+
<p>设置弹窗高对话框的最小高度(弹框高度为{{ insideHeight3 }})</p>
|
|
98
|
+
<el-button @click="open3">对话框的最小高度为100px</el-button>
|
|
99
|
+
<m-dialog
|
|
100
|
+
v-model="dialogVisible3"
|
|
101
|
+
draggable
|
|
102
|
+
title="这是标题"
|
|
103
|
+
resize
|
|
104
|
+
:minInsideHeight="minInsideHeight"
|
|
105
|
+
:maxInsideHeight="600"
|
|
106
|
+
v-model:insideHeight="insideHeight3"
|
|
107
|
+
>
|
|
108
|
+
<p class="u-box">这是内容-弹框高度为{{ insideHeight3 }}</p>
|
|
109
|
+
<template #footer>
|
|
110
|
+
<div class="dialog-footer">
|
|
111
|
+
<el-button @click="dialogVisible3 = false">取消</el-button>
|
|
112
|
+
<el-button type="primary" @click="dialogVisible3 = false">确认</el-button>
|
|
78
113
|
</div>
|
|
79
114
|
</template>
|
|
80
115
|
</m-dialog>
|
|
@@ -87,20 +122,31 @@ import { MDialog } from 'packages/MDialog'
|
|
|
87
122
|
import { useRemainingSpace } from 'packages/index'
|
|
88
123
|
|
|
89
124
|
const dialogVisible = ref<boolean>(false)
|
|
125
|
+
const open = () => {
|
|
126
|
+
dialogVisible.value = true
|
|
127
|
+
}
|
|
90
128
|
|
|
129
|
+
const dialogVisible2 = ref<boolean>(false)
|
|
91
130
|
const test = (size: { width: number, height: number }) => {
|
|
92
131
|
// console.log('size', size)
|
|
93
132
|
}
|
|
94
|
-
|
|
95
133
|
const { height, init } = useRemainingSpace('j-box', 'j-table')
|
|
96
134
|
const opened = () => {
|
|
97
135
|
init()
|
|
98
136
|
}
|
|
99
|
-
|
|
100
137
|
const insideHeight = ref<number>(0)
|
|
101
138
|
const open2 = () => {
|
|
102
139
|
insideHeight.value = 300
|
|
103
|
-
|
|
140
|
+
dialogVisible2.value = true
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
const dialogVisible3 = ref<boolean>(false)
|
|
144
|
+
const insideHeight3 = ref<number>(0)
|
|
145
|
+
const minHeight = ref<number>(0)
|
|
146
|
+
const minInsideHeight = ref<number>(0)
|
|
147
|
+
const open3 = () => {
|
|
148
|
+
minInsideHeight.value = 100
|
|
149
|
+
dialogVisible3.value = true
|
|
104
150
|
}
|
|
105
151
|
</script>
|
|
106
152
|
|
|
@@ -131,11 +177,13 @@ const open2 = () => {
|
|
|
131
177
|
|
|
132
178
|
### 2) Attributes
|
|
133
179
|
|
|
134
|
-
| 参数
|
|
135
|
-
|
|
136
|
-
| resize
|
|
137
|
-
| insideHeight
|
|
138
|
-
|
|
|
180
|
+
| 参数 | 说明 | 类型 | 是否必填 | 可选值 | 默认值 |
|
|
181
|
+
|-----------------|:-------------:|:--------------:|:-----|:---:|:-----------------------------------------------:|
|
|
182
|
+
| resize | 是否开启拖拽改变大小 | boolean | 否 | - | false |
|
|
183
|
+
| insideHeight | 对话框内部空间的高度 | number \| null | 否 | - | null |
|
|
184
|
+
| minInsideHeight | 对话框内部空间的最小高度 | number | 否 | - | 0 |
|
|
185
|
+
| maxInsideHeight | 对话框内部空间的最大高度 | number | 否 | - | Infinity |
|
|
186
|
+
| 其余参数 | 参考el官网的dialog | - | - | - | https://element-plus.org/zh-CN/component/dialog |
|
|
139
187
|
|
|
140
188
|
### 2) Events
|
|
141
189
|
|
|
@@ -2170,11 +2218,28 @@ const list = ref<{ name: string, className: string }[]>([
|
|
|
2170
2218
|
<template>
|
|
2171
2219
|
<div>
|
|
2172
2220
|
<p>弹窗</p>
|
|
2173
|
-
<el-button @click="
|
|
2221
|
+
<el-button @click="open">默认</el-button>
|
|
2222
|
+
<m-dialog
|
|
2223
|
+
v-model="dialogVisible"
|
|
2224
|
+
draggable
|
|
2225
|
+
title="这是标题"
|
|
2226
|
+
resize
|
|
2227
|
+
>
|
|
2228
|
+
<div class="u-box">
|
|
2229
|
+
<p>这是测试是数据</p>
|
|
2230
|
+
</div>
|
|
2231
|
+
<template #footer>
|
|
2232
|
+
<div class="dialog-footer">
|
|
2233
|
+
<el-button @click="dialogVisible = false">取消</el-button>
|
|
2234
|
+
<el-button type="primary" @click="dialogVisible = false">确认</el-button>
|
|
2235
|
+
</div>
|
|
2236
|
+
</template>
|
|
2237
|
+
</m-dialog>
|
|
2238
|
+
|
|
2174
2239
|
<p>设置弹窗高(弹框高度为{{ insideHeight }})</p>
|
|
2175
2240
|
<el-button @click="open2">设置容器高度为300px</el-button>
|
|
2176
2241
|
<m-dialog
|
|
2177
|
-
v-model="
|
|
2242
|
+
v-model="dialogVisible2"
|
|
2178
2243
|
draggable
|
|
2179
2244
|
title="这是标题"
|
|
2180
2245
|
resize
|
|
@@ -2194,10 +2259,28 @@ const list = ref<{ name: string, className: string }[]>([
|
|
|
2194
2259
|
</div>
|
|
2195
2260
|
<template #footer>
|
|
2196
2261
|
<div class="dialog-footer">
|
|
2197
|
-
<el-button @click="
|
|
2198
|
-
<el-button type="primary" @click="
|
|
2199
|
-
|
|
2200
|
-
|
|
2262
|
+
<el-button @click="dialogVisible2 = false">取消</el-button>
|
|
2263
|
+
<el-button type="primary" @click="dialogVisible2 = false">确认</el-button>
|
|
2264
|
+
</div>
|
|
2265
|
+
</template>
|
|
2266
|
+
</m-dialog>
|
|
2267
|
+
|
|
2268
|
+
<p>设置弹窗高对话框的最小高度(弹框高度为{{ insideHeight3 }})</p>
|
|
2269
|
+
<el-button @click="open3">对话框的最小高度为100px</el-button>
|
|
2270
|
+
<m-dialog
|
|
2271
|
+
v-model="dialogVisible3"
|
|
2272
|
+
draggable
|
|
2273
|
+
title="这是标题"
|
|
2274
|
+
resize
|
|
2275
|
+
:minInsideHeight="minInsideHeight"
|
|
2276
|
+
:maxInsideHeight="600"
|
|
2277
|
+
v-model:insideHeight="insideHeight3"
|
|
2278
|
+
>
|
|
2279
|
+
<p class="u-box">这是内容-弹框高度为{{ insideHeight3 }}</p>
|
|
2280
|
+
<template #footer>
|
|
2281
|
+
<div class="dialog-footer">
|
|
2282
|
+
<el-button @click="dialogVisible3 = false">取消</el-button>
|
|
2283
|
+
<el-button type="primary" @click="dialogVisible3 = false">确认</el-button>
|
|
2201
2284
|
</div>
|
|
2202
2285
|
</template>
|
|
2203
2286
|
</m-dialog>
|
|
@@ -2210,20 +2293,31 @@ import { MDialog } from 'packages/MDialog'
|
|
|
2210
2293
|
import { useRemainingSpace } from 'packages/index'
|
|
2211
2294
|
|
|
2212
2295
|
const dialogVisible = ref<boolean>(false)
|
|
2296
|
+
const open = () => {
|
|
2297
|
+
dialogVisible.value = true
|
|
2298
|
+
}
|
|
2213
2299
|
|
|
2300
|
+
const dialogVisible2 = ref<boolean>(false)
|
|
2214
2301
|
const test = (size: { width: number, height: number }) => {
|
|
2215
2302
|
// console.log('size', size)
|
|
2216
2303
|
}
|
|
2217
|
-
|
|
2218
2304
|
const { height, init } = useRemainingSpace('j-box', 'j-table')
|
|
2219
2305
|
const opened = () => {
|
|
2220
2306
|
init()
|
|
2221
2307
|
}
|
|
2222
|
-
|
|
2223
2308
|
const insideHeight = ref<number>(0)
|
|
2224
2309
|
const open2 = () => {
|
|
2225
2310
|
insideHeight.value = 300
|
|
2226
|
-
|
|
2311
|
+
dialogVisible2.value = true
|
|
2312
|
+
}
|
|
2313
|
+
|
|
2314
|
+
const dialogVisible3 = ref<boolean>(false)
|
|
2315
|
+
const insideHeight3 = ref<number>(0)
|
|
2316
|
+
const minHeight = ref<number>(0)
|
|
2317
|
+
const minInsideHeight = ref<number>(0)
|
|
2318
|
+
const open3 = () => {
|
|
2319
|
+
minInsideHeight.value = 100
|
|
2320
|
+
dialogVisible3.value = true
|
|
2227
2321
|
}
|
|
2228
2322
|
</script>
|
|
2229
2323
|
|
|
@@ -2254,11 +2348,13 @@ const open2 = () => {
|
|
|
2254
2348
|
|
|
2255
2349
|
### 2) Attributes
|
|
2256
2350
|
|
|
2257
|
-
| 参数
|
|
2258
|
-
|
|
2259
|
-
| resize
|
|
2260
|
-
| insideHeight
|
|
2261
|
-
|
|
|
2351
|
+
| 参数 | 说明 | 类型 | 是否必填 | 可选值 | 默认值 |
|
|
2352
|
+
|-----------------|:-------------:|:--------------:|:-----|:---:|:-----------------------------------------------:|
|
|
2353
|
+
| resize | 是否开启拖拽改变大小 | boolean | 否 | - | false |
|
|
2354
|
+
| insideHeight | 对话框内部空间的高度 | number \| null | 否 | - | null |
|
|
2355
|
+
| minInsideHeight | 对话框内部空间的最小高度 | number | 否 | - | 0 |
|
|
2356
|
+
| maxInsideHeight | 对话框内部空间的最大高度 | number | 否 | - | Infinity |
|
|
2357
|
+
| 其余参数 | 参考el官网的dialog | - | - | - | https://element-plus.org/zh-CN/component/dialog |
|
|
2262
2358
|
|
|
2263
2359
|
### 2) Events
|
|
2264
2360
|
|
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":"对话框内部空间的高度,默认为0"},"m-dialog/resize":{"type":"boolean","description":"是否开启拖拽改变大小"},"m-dialog/draggable":{"type":"boolean","description":"是否可拖动"},"m-dialog/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[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 | 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/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/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/resized":{"type":"[contentsSize: { width: number, height: number }]","description":"窗口大小改变完成事件"},"m-dialog/update:insideHeight":{"type":"[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 | 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/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/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":""}}
|