br-dionysus 1.8.6 → 1.9.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 +118 -76
- package/attributes.json +1 -1
- package/dist/br-dionysus.es.js +4036 -3938
- package/dist/br-dionysus.umd.js +8 -8
- package/dist/index.css +1 -1
- package/dist/packages/Hook/useFormInline/useFormInline.d.ts +1 -1
- package/dist/packages/Hook/usePackageConfig/usePackageConfig.d.ts +1 -1
- package/dist/packages/MInline/src/MInline.vue.d.ts +8 -1
- package/dist/packages/MTable/src/token.d.ts +1 -1
- package/dist/packages/MTableColumnSet/src/MTableColumnSet.vue.d.ts +1 -1
- package/dist/packages/MTableSuper/src/token.d.ts +1 -1
- package/dist/packages/SkinConfig/src/useSkin.d.ts +1 -1
- package/dist/packages/index.d.ts +2 -0
- package/package.json +1 -1
- package/packages/Hook/useFormInline/useFormInline.ts +16 -6
- package/packages/Hook/usePackageConfig/demo.vue +1 -1
- package/packages/Hook/usePackageConfig/usePackageConfig.ts +3 -7
- package/packages/Hook/useRemainingSpace/demo.vue +1 -1
- package/packages/Hook/useTableConfig/demo.vue +1 -1
- package/packages/Hook/useTableV2Config/demo.vue +1 -1
- package/packages/MDialog/docs/demo.vue +2 -2
- package/packages/MInline/docs/README.md +7 -6
- package/packages/MInline/docs/demo.vue +43 -23
- package/packages/MInline/src/MInline.vue +249 -100
- package/packages/MSelect/src/MOption.vue +1 -1
- package/packages/MSelect/src/MSelect.vue +1 -1
- package/packages/MSelectTable/docs/demo.vue +1 -1
- package/packages/MTable/docs/demo.vue +2 -2
- package/packages/MTable/src/token.ts +1 -1
- package/packages/MTableColumnSet/src/MTableColumnSet.vue +1 -1
- package/packages/MTableSuper/docs/demo.vue +2 -2
- package/packages/MTableSuper/src/MTableSuper.vue +2 -2
- package/packages/MTableSuper/src/token.ts +1 -1
- package/packages/MTableV2/docs/demo.vue +1 -1
- package/packages/MTableV2/src/MTableV2.vue +1 -1
- package/packages/SkinConfig/docs/demo.vue +1 -1
- package/packages/SkinConfig/src/SkinConfig.vue +3 -3
- package/packages/SkinConfig/src/useSkin.ts +3 -3
- package/packages/Tool/slotsToData/slotsToData.ts +2 -0
- package/packages/index.ts +23 -21
- package/src/App.vue +4 -2
- package/tags.json +1 -1
- package/web-types.json +1 -1
package/README.md
CHANGED
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
|
|
149
149
|
<script setup lang="ts">
|
|
150
150
|
import { ref } from 'vue'
|
|
151
|
-
import { MDialog } from '
|
|
152
|
-
import { useRemainingSpace } from '
|
|
151
|
+
import { MDialog } from './../../MDialog'
|
|
152
|
+
import { useRemainingSpace } from './../../index'
|
|
153
153
|
|
|
154
154
|
const dialogVisible = ref<boolean>(false)
|
|
155
155
|
const open = () => {
|
|
@@ -242,7 +242,11 @@ const open3 = () => {
|
|
|
242
242
|
|
|
243
243
|
<template>
|
|
244
244
|
<div class="g-demo-m-inline-box">
|
|
245
|
-
<m-inline
|
|
245
|
+
<m-inline
|
|
246
|
+
size="small"
|
|
247
|
+
:model="formInline"
|
|
248
|
+
:configKey="configKey"
|
|
249
|
+
>
|
|
246
250
|
<template #inlineBtn>
|
|
247
251
|
<el-button
|
|
248
252
|
type="primary"
|
|
@@ -277,7 +281,7 @@ const open3 = () => {
|
|
|
277
281
|
>
|
|
278
282
|
<el-form-item
|
|
279
283
|
label="编码"
|
|
280
|
-
prop="
|
|
284
|
+
prop="code3"
|
|
281
285
|
data-item
|
|
282
286
|
>
|
|
283
287
|
<el-input
|
|
@@ -287,18 +291,18 @@ const open3 = () => {
|
|
|
287
291
|
>
|
|
288
292
|
</el-input>
|
|
289
293
|
</el-form-item>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
294
|
+
<!--<el-form-item-->
|
|
295
|
+
<!-- label="角色名"-->
|
|
296
|
+
<!-- prop="name"-->
|
|
297
|
+
<!-- data-item-->
|
|
298
|
+
<!-->-->
|
|
299
|
+
<!-- <el-input-->
|
|
300
|
+
<!-- v-model="formInline.name"-->
|
|
301
|
+
<!-- clearable-->
|
|
302
|
+
<!-- placeholder="请输入角色名"-->
|
|
303
|
+
<!-- >-->
|
|
304
|
+
<!-- </el-input>-->
|
|
305
|
+
<!--</el-form-item>-->
|
|
302
306
|
<el-form-item
|
|
303
307
|
label="时间"
|
|
304
308
|
prop="time"
|
|
@@ -357,28 +361,44 @@ const open3 = () => {
|
|
|
357
361
|
>
|
|
358
362
|
搜索
|
|
359
363
|
</el-button>
|
|
364
|
+
<el-button
|
|
365
|
+
icon="refresh"
|
|
366
|
+
size="small"
|
|
367
|
+
@click="formInline.reset"
|
|
368
|
+
>
|
|
369
|
+
重置
|
|
370
|
+
</el-button>
|
|
360
371
|
</template>
|
|
361
372
|
</m-inline>
|
|
373
|
+
<p>{{ formInline }}</p>
|
|
362
374
|
</div>
|
|
363
375
|
</template>
|
|
364
376
|
|
|
365
377
|
<script setup lang="ts">
|
|
366
|
-
import
|
|
378
|
+
import useFormInline from './../../Hook/useFormInline/useFormInline'
|
|
367
379
|
|
|
368
380
|
// 列表过滤条件表单
|
|
369
|
-
const
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
381
|
+
const configKey = 'FormInline'
|
|
382
|
+
const formInline = useFormInline<{
|
|
383
|
+
name: string;
|
|
384
|
+
code: string;
|
|
385
|
+
time: string;
|
|
386
|
+
type: string;
|
|
387
|
+
region: string;
|
|
388
|
+
level: string;
|
|
389
|
+
}>(configKey, {
|
|
390
|
+
name: '111',
|
|
391
|
+
code: '222',
|
|
392
|
+
time: '333',
|
|
393
|
+
type: '444',
|
|
394
|
+
region: '555',
|
|
395
|
+
level: '666'
|
|
376
396
|
})
|
|
377
397
|
</script>
|
|
378
398
|
|
|
379
399
|
<style scoped>
|
|
380
400
|
.g-demo-m-inline-box {
|
|
381
|
-
max-width:
|
|
401
|
+
max-width: 1100px;
|
|
382
402
|
}
|
|
383
403
|
</style>
|
|
384
404
|
|
|
@@ -387,12 +407,13 @@ const formInline = reactive({
|
|
|
387
407
|
|
|
388
408
|
### 2) Attributes
|
|
389
409
|
|
|
390
|
-
| 参数 | 说明 |
|
|
391
|
-
|
|
392
|
-
| minWidth | 列最小宽度 |
|
|
393
|
-
| maxWidth | 列最大宽度 |
|
|
394
|
-
| size | 组件尺寸 |
|
|
395
|
-
| configKey | 配置key |
|
|
410
|
+
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
|
411
|
+
|-----------|:-----:|:---------------------------:|:-------------------------:|:-------:|
|
|
412
|
+
| minWidth | 列最小宽度 | number | - | 200 |
|
|
413
|
+
| maxWidth | 列最大宽度 | number | - | 300 |
|
|
414
|
+
| size | 组件尺寸 | enum | large \| default \| small | default |
|
|
415
|
+
| configKey | 配置key | string | - | - |
|
|
416
|
+
| model | 筛选对象 | Record<string, any> \| null | - | null |
|
|
396
417
|
|
|
397
418
|
### 2) Events
|
|
398
419
|
|
|
@@ -654,7 +675,7 @@ const options: Option[] = [{
|
|
|
654
675
|
|
|
655
676
|
<script setup lang="ts">
|
|
656
677
|
import { ref, onMounted } from 'vue'
|
|
657
|
-
import { Page } from '
|
|
678
|
+
import { Page } from './../../typings/class'
|
|
658
679
|
|
|
659
680
|
const commodityOptionsTitle: TableTitle[] = [{
|
|
660
681
|
prop: 'PRDocType',
|
|
@@ -1152,8 +1173,8 @@ const options: Option[] = [{
|
|
|
1152
1173
|
|
|
1153
1174
|
<script setup lang="ts">
|
|
1154
1175
|
import { ref } from 'vue'
|
|
1155
|
-
import { useTableConfig } from '
|
|
1156
|
-
import { MTableColumn } from '
|
|
1176
|
+
import { useTableConfig } from './../../index'
|
|
1177
|
+
import { MTableColumn } from './../../MTableColumn'
|
|
1157
1178
|
|
|
1158
1179
|
const privateExpandChange = (row: any, expandedRows: any[]) => {
|
|
1159
1180
|
console.log('row', row)
|
|
@@ -1688,8 +1709,8 @@ const tableConfig = ref({
|
|
|
1688
1709
|
|
|
1689
1710
|
<script setup lang="ts">
|
|
1690
1711
|
import { ref } from 'vue'
|
|
1691
|
-
import { useTableConfig } from '
|
|
1692
|
-
import { MTableColumn } from '
|
|
1712
|
+
import { useTableConfig } from './../../index'
|
|
1713
|
+
import { MTableColumn } from './../../MTableColumn'
|
|
1693
1714
|
|
|
1694
1715
|
const privateExpandChange = (row: any, expandedRows: any[]) => {
|
|
1695
1716
|
console.log('row', row)
|
|
@@ -1862,7 +1883,7 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
|
|
|
1862
1883
|
|
|
1863
1884
|
<script setup lang="ts">
|
|
1864
1885
|
import { ref } from 'vue'
|
|
1865
|
-
import useTableV2Config from '
|
|
1886
|
+
import useTableV2Config from './../../Hook/useTableV2Config/useTableV2Config'
|
|
1866
1887
|
|
|
1867
1888
|
const tableData = ref<any[]>([])
|
|
1868
1889
|
const { tableTitle, tableConfig, filtersValue } = useTableV2Config('MTableV2Demo', [{
|
|
@@ -2028,7 +2049,7 @@ for (let i = 0; i < 1000; i++) {
|
|
|
2028
2049
|
|
|
2029
2050
|
<script setup lang="ts">
|
|
2030
2051
|
import { ref, onMounted } from 'vue'
|
|
2031
|
-
import { SkinConfig } from '
|
|
2052
|
+
import { SkinConfig } from './../../SkinConfig'
|
|
2032
2053
|
|
|
2033
2054
|
const size = ref<string>('')
|
|
2034
2055
|
const shinConfigRef = ref<InstanceType<typeof SkinConfig> | null>(null)
|
|
@@ -3057,8 +3078,8 @@ const list = ref<{ name: string, className: string }[]>([
|
|
|
3057
3078
|
|
|
3058
3079
|
<script setup lang="ts">
|
|
3059
3080
|
import { ref } from 'vue'
|
|
3060
|
-
import { MDialog } from '
|
|
3061
|
-
import { useRemainingSpace } from '
|
|
3081
|
+
import { MDialog } from './../../MDialog'
|
|
3082
|
+
import { useRemainingSpace } from './../../index'
|
|
3062
3083
|
|
|
3063
3084
|
const dialogVisible = ref<boolean>(false)
|
|
3064
3085
|
const open = () => {
|
|
@@ -3151,7 +3172,11 @@ const open3 = () => {
|
|
|
3151
3172
|
|
|
3152
3173
|
<template>
|
|
3153
3174
|
<div class="g-demo-m-inline-box">
|
|
3154
|
-
<m-inline
|
|
3175
|
+
<m-inline
|
|
3176
|
+
size="small"
|
|
3177
|
+
:model="formInline"
|
|
3178
|
+
:configKey="configKey"
|
|
3179
|
+
>
|
|
3155
3180
|
<template #inlineBtn>
|
|
3156
3181
|
<el-button
|
|
3157
3182
|
type="primary"
|
|
@@ -3186,7 +3211,7 @@ const open3 = () => {
|
|
|
3186
3211
|
>
|
|
3187
3212
|
<el-form-item
|
|
3188
3213
|
label="编码"
|
|
3189
|
-
prop="
|
|
3214
|
+
prop="code3"
|
|
3190
3215
|
data-item
|
|
3191
3216
|
>
|
|
3192
3217
|
<el-input
|
|
@@ -3196,18 +3221,18 @@ const open3 = () => {
|
|
|
3196
3221
|
>
|
|
3197
3222
|
</el-input>
|
|
3198
3223
|
</el-form-item>
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3224
|
+
<!--<el-form-item-->
|
|
3225
|
+
<!-- label="角色名"-->
|
|
3226
|
+
<!-- prop="name"-->
|
|
3227
|
+
<!-- data-item-->
|
|
3228
|
+
<!-->-->
|
|
3229
|
+
<!-- <el-input-->
|
|
3230
|
+
<!-- v-model="formInline.name"-->
|
|
3231
|
+
<!-- clearable-->
|
|
3232
|
+
<!-- placeholder="请输入角色名"-->
|
|
3233
|
+
<!-- >-->
|
|
3234
|
+
<!-- </el-input>-->
|
|
3235
|
+
<!--</el-form-item>-->
|
|
3211
3236
|
<el-form-item
|
|
3212
3237
|
label="时间"
|
|
3213
3238
|
prop="time"
|
|
@@ -3266,28 +3291,44 @@ const open3 = () => {
|
|
|
3266
3291
|
>
|
|
3267
3292
|
搜索
|
|
3268
3293
|
</el-button>
|
|
3294
|
+
<el-button
|
|
3295
|
+
icon="refresh"
|
|
3296
|
+
size="small"
|
|
3297
|
+
@click="formInline.reset"
|
|
3298
|
+
>
|
|
3299
|
+
重置
|
|
3300
|
+
</el-button>
|
|
3269
3301
|
</template>
|
|
3270
3302
|
</m-inline>
|
|
3303
|
+
<p>{{ formInline }}</p>
|
|
3271
3304
|
</div>
|
|
3272
3305
|
</template>
|
|
3273
3306
|
|
|
3274
3307
|
<script setup lang="ts">
|
|
3275
|
-
import
|
|
3308
|
+
import useFormInline from './../../Hook/useFormInline/useFormInline'
|
|
3276
3309
|
|
|
3277
3310
|
// 列表过滤条件表单
|
|
3278
|
-
const
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3311
|
+
const configKey = 'FormInline'
|
|
3312
|
+
const formInline = useFormInline<{
|
|
3313
|
+
name: string;
|
|
3314
|
+
code: string;
|
|
3315
|
+
time: string;
|
|
3316
|
+
type: string;
|
|
3317
|
+
region: string;
|
|
3318
|
+
level: string;
|
|
3319
|
+
}>(configKey, {
|
|
3320
|
+
name: '111',
|
|
3321
|
+
code: '222',
|
|
3322
|
+
time: '333',
|
|
3323
|
+
type: '444',
|
|
3324
|
+
region: '555',
|
|
3325
|
+
level: '666'
|
|
3285
3326
|
})
|
|
3286
3327
|
</script>
|
|
3287
3328
|
|
|
3288
3329
|
<style scoped>
|
|
3289
3330
|
.g-demo-m-inline-box {
|
|
3290
|
-
max-width:
|
|
3331
|
+
max-width: 1100px;
|
|
3291
3332
|
}
|
|
3292
3333
|
</style>
|
|
3293
3334
|
|
|
@@ -3296,12 +3337,13 @@ const formInline = reactive({
|
|
|
3296
3337
|
|
|
3297
3338
|
### 2) Attributes
|
|
3298
3339
|
|
|
3299
|
-
| 参数 | 说明 |
|
|
3300
|
-
|
|
3301
|
-
| minWidth | 列最小宽度 |
|
|
3302
|
-
| maxWidth | 列最大宽度 |
|
|
3303
|
-
| size | 组件尺寸 |
|
|
3304
|
-
| configKey | 配置key |
|
|
3340
|
+
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
|
3341
|
+
|-----------|:-----:|:---------------------------:|:-------------------------:|:-------:|
|
|
3342
|
+
| minWidth | 列最小宽度 | number | - | 200 |
|
|
3343
|
+
| maxWidth | 列最大宽度 | number | - | 300 |
|
|
3344
|
+
| size | 组件尺寸 | enum | large \| default \| small | default |
|
|
3345
|
+
| configKey | 配置key | string | - | - |
|
|
3346
|
+
| model | 筛选对象 | Record<string, any> \| null | - | null |
|
|
3305
3347
|
|
|
3306
3348
|
### 2) Events
|
|
3307
3349
|
|
|
@@ -3563,7 +3605,7 @@ const options: Option[] = [{
|
|
|
3563
3605
|
|
|
3564
3606
|
<script setup lang="ts">
|
|
3565
3607
|
import { ref, onMounted } from 'vue'
|
|
3566
|
-
import { Page } from '
|
|
3608
|
+
import { Page } from './../../typings/class'
|
|
3567
3609
|
|
|
3568
3610
|
const commodityOptionsTitle: TableTitle[] = [{
|
|
3569
3611
|
prop: 'PRDocType',
|
|
@@ -4061,8 +4103,8 @@ const options: Option[] = [{
|
|
|
4061
4103
|
|
|
4062
4104
|
<script setup lang="ts">
|
|
4063
4105
|
import { ref } from 'vue'
|
|
4064
|
-
import { useTableConfig } from '
|
|
4065
|
-
import { MTableColumn } from '
|
|
4106
|
+
import { useTableConfig } from './../../index'
|
|
4107
|
+
import { MTableColumn } from './../../MTableColumn'
|
|
4066
4108
|
|
|
4067
4109
|
const privateExpandChange = (row: any, expandedRows: any[]) => {
|
|
4068
4110
|
console.log('row', row)
|
|
@@ -4597,8 +4639,8 @@ const tableConfig = ref({
|
|
|
4597
4639
|
|
|
4598
4640
|
<script setup lang="ts">
|
|
4599
4641
|
import { ref } from 'vue'
|
|
4600
|
-
import { useTableConfig } from '
|
|
4601
|
-
import { MTableColumn } from '
|
|
4642
|
+
import { useTableConfig } from './../../index'
|
|
4643
|
+
import { MTableColumn } from './../../MTableColumn'
|
|
4602
4644
|
|
|
4603
4645
|
const privateExpandChange = (row: any, expandedRows: any[]) => {
|
|
4604
4646
|
console.log('row', row)
|
|
@@ -4771,7 +4813,7 @@ sole 必须传递在表格数据内为唯一的值 如id key 等不会发生重
|
|
|
4771
4813
|
|
|
4772
4814
|
<script setup lang="ts">
|
|
4773
4815
|
import { ref } from 'vue'
|
|
4774
|
-
import useTableV2Config from '
|
|
4816
|
+
import useTableV2Config from './../../Hook/useTableV2Config/useTableV2Config'
|
|
4775
4817
|
|
|
4776
4818
|
const tableData = ref<any[]>([])
|
|
4777
4819
|
const { tableTitle, tableConfig, filtersValue } = useTableV2Config('MTableV2Demo', [{
|
|
@@ -4937,7 +4979,7 @@ for (let i = 0; i < 1000; i++) {
|
|
|
4937
4979
|
|
|
4938
4980
|
<script setup lang="ts">
|
|
4939
4981
|
import { ref, onMounted } from 'vue'
|
|
4940
|
-
import { SkinConfig } from '
|
|
4982
|
+
import { SkinConfig } from './../../SkinConfig'
|
|
4941
4983
|
|
|
4942
4984
|
const size = ref<string>('')
|
|
4943
4985
|
const shinConfigRef = ref<InstanceType<typeof SkinConfig> | null>(null)
|
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/configKey":{"type":"string","description":"配置key"},"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/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/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-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/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":""}}
|