@varlet/ui 2.17.1 → 2.18.0-alpha.1697511280107
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/es/action-sheet/actionSheet.css +1 -1
- package/es/drag/Drag.mjs +2 -2
- package/es/form/Form.mjs +3 -3
- package/es/image-preview/ImagePreview.mjs +2 -2
- package/es/index-bar/indexBar.css +1 -1
- package/es/index.bundle.mjs +13 -1
- package/es/index.mjs +11 -1
- package/es/input/Input.mjs +2 -2
- package/es/menu/style/index.mjs +1 -1
- package/es/menu-option/MenuOption.mjs +122 -0
- package/es/menu-option/MenuOptionSfc.css +0 -0
- package/es/menu-option/index.mjs +11 -0
- package/es/menu-option/menuOption.css +1 -0
- package/es/menu-option/props.mjs +8 -0
- package/es/menu-option/provide.mjs +19 -0
- package/es/menu-option/style/index.mjs +5 -0
- package/es/menu-select/MenuSelect.mjs +111 -0
- package/es/menu-select/MenuSelectSfc.css +0 -0
- package/es/menu-select/index.mjs +9 -0
- package/es/menu-select/menuSelect.css +1 -0
- package/es/menu-select/props.mjs +57 -0
- package/es/menu-select/provide.mjs +16 -0
- package/es/menu-select/style/index.mjs +5 -0
- package/es/pull-refresh/PullRefresh.mjs +2 -2
- package/es/ripple/index.mjs +2 -0
- package/es/select/Select.mjs +14 -47
- package/es/select/useSelectController.mjs +67 -0
- package/es/slider/Slider.mjs +2 -2
- package/es/style.css +1 -1
- package/es/style.mjs +2 -0
- package/es/swipe/Swipe.mjs +13 -13
- package/es/themes/dark/index.mjs +4 -2
- package/es/themes/dark/menuOption.mjs +6 -0
- package/es/themes/dark/menuSelect.mjs +6 -0
- package/es/time-picker/TimePicker.mjs +2 -2
- package/es/varlet.esm.js +5571 -5279
- package/highlight/web-types.en-US.json +327 -89
- package/highlight/web-types.zh-CN.json +240 -2
- package/lib/style.css +1 -1
- package/lib/varlet.cjs.js +1998 -1645
- package/package.json +7 -7
- package/types/index.d.ts +4 -0
- package/types/menuOption.d.ts +20 -0
- package/types/menuSelect.d.ts +69 -0
- package/umd/varlet.js +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.18.0-alpha.1697511280107",
|
|
5
5
|
"name": "VARLET",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -112,27 +112,27 @@
|
|
|
112
112
|
"events": [
|
|
113
113
|
{
|
|
114
114
|
"name": "select",
|
|
115
|
-
"description": "Triggered when
|
|
115
|
+
"description": "Triggered when selecting an action sheet"
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"name": "open",
|
|
119
|
-
"description": "Triggered when
|
|
119
|
+
"description": "Triggered when opening an action sheet"
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
"name": "opened",
|
|
123
|
-
"description": "Triggered when
|
|
123
|
+
"description": "Triggered when an action sheet open-animation ends"
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
126
|
"name": "close",
|
|
127
|
-
"description": "Triggered when
|
|
127
|
+
"description": "Triggered when closing an action sheet"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"name": "closed",
|
|
131
|
-
"description": "Triggered when
|
|
131
|
+
"description": "Triggered when an action sheet close-animation ends"
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
134
|
"name": "click-overlay",
|
|
135
|
-
"description": "Triggered when
|
|
135
|
+
"description": "Triggered when clicking on overlay"
|
|
136
136
|
}
|
|
137
137
|
],
|
|
138
138
|
"slots": [
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"name": "title-position",
|
|
181
|
-
"description": "Title location,
|
|
181
|
+
"description": "Title location, can be set to `left`, `center`, `right`",
|
|
182
182
|
"default": "left",
|
|
183
183
|
"value": {
|
|
184
184
|
"type": "string",
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"attributes": [
|
|
411
411
|
{
|
|
412
412
|
"name": "target",
|
|
413
|
-
"description": "The target to trigger scroll
|
|
413
|
+
"description": "The target to trigger scroll. If it is undefined, back top will listen to the nearest scrollable parent.",
|
|
414
414
|
"default": "-",
|
|
415
415
|
"value": {
|
|
416
416
|
"type": "string | HTMLElement",
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
"events": [
|
|
467
467
|
{
|
|
468
468
|
"name": "click",
|
|
469
|
-
"description": "
|
|
469
|
+
"description": "Triggered when click"
|
|
470
470
|
}
|
|
471
471
|
],
|
|
472
472
|
"slots": [
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
"attributes": [
|
|
482
482
|
{
|
|
483
483
|
"name": "type",
|
|
484
|
-
"description": "Badge type
|
|
484
|
+
"description": "Badge type, can be set to `default` `primary` `info` `success` `warning` `danger`",
|
|
485
485
|
"default": "default",
|
|
486
486
|
"value": {
|
|
487
487
|
"type": "string",
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
},
|
|
661
661
|
{
|
|
662
662
|
"name": "fab-click",
|
|
663
|
-
"description": "Triggered when fab button
|
|
663
|
+
"description": "Triggered when clicking fab button"
|
|
664
664
|
}
|
|
665
665
|
],
|
|
666
666
|
"slots": [
|
|
@@ -685,7 +685,7 @@
|
|
|
685
685
|
"attributes": [
|
|
686
686
|
{
|
|
687
687
|
"name": "separator",
|
|
688
|
-
"description": "
|
|
688
|
+
"description": "Separator",
|
|
689
689
|
"default": "-",
|
|
690
690
|
"value": {
|
|
691
691
|
"type": "string",
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
"attributes": [
|
|
716
716
|
{
|
|
717
717
|
"name": "separator",
|
|
718
|
-
"description": "
|
|
718
|
+
"description": "Separator",
|
|
719
719
|
"default": "/",
|
|
720
720
|
"value": {
|
|
721
721
|
"type": "string",
|
|
@@ -924,7 +924,7 @@
|
|
|
924
924
|
"attributes": [
|
|
925
925
|
{
|
|
926
926
|
"name": "type",
|
|
927
|
-
"description": "Button Group type,
|
|
927
|
+
"description": "Button Group type, can be set to `default` `primary` `info` `success` `warning` `danger`",
|
|
928
928
|
"default": "default",
|
|
929
929
|
"value": {
|
|
930
930
|
"type": "string",
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
935
|
"name": "size",
|
|
936
|
-
"description": "Button Group size,
|
|
936
|
+
"description": "Button Group size, can be set to `normal` `mini` `small` `large`",
|
|
937
937
|
"default": "normal",
|
|
938
938
|
"value": {
|
|
939
939
|
"type": "string",
|
|
@@ -942,7 +942,7 @@
|
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
"name": "mode",
|
|
945
|
-
"description": "Button Group mode,
|
|
945
|
+
"description": "Button Group mode, can be set to `normal` `text` `outline`",
|
|
946
946
|
"default": "normal",
|
|
947
947
|
"value": {
|
|
948
948
|
"type": "string",
|
|
@@ -990,7 +990,7 @@
|
|
|
990
990
|
"slots": [
|
|
991
991
|
{
|
|
992
992
|
"name": "default",
|
|
993
|
-
"description": "Button
|
|
993
|
+
"description": "Button Group content"
|
|
994
994
|
}
|
|
995
995
|
]
|
|
996
996
|
},
|
|
@@ -1028,7 +1028,7 @@
|
|
|
1028
1028
|
"events": [
|
|
1029
1029
|
{
|
|
1030
1030
|
"name": "click",
|
|
1031
|
-
"description": "Triggered when the
|
|
1031
|
+
"description": "Triggered when the card is click"
|
|
1032
1032
|
}
|
|
1033
1033
|
],
|
|
1034
1034
|
"slots": [
|
|
@@ -1285,7 +1285,7 @@
|
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
"name": "rules",
|
|
1288
|
-
"description": "The validation rules
|
|
1288
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
1289
1289
|
"default": "-",
|
|
1290
1290
|
"value": {
|
|
1291
1291
|
"type": "Array<(value: any) => any>",
|
|
@@ -1300,7 +1300,7 @@
|
|
|
1300
1300
|
},
|
|
1301
1301
|
{
|
|
1302
1302
|
"name": "change",
|
|
1303
|
-
"description": "
|
|
1303
|
+
"description": "Triggered on change"
|
|
1304
1304
|
}
|
|
1305
1305
|
],
|
|
1306
1306
|
"slots": [
|
|
@@ -1345,7 +1345,7 @@
|
|
|
1345
1345
|
},
|
|
1346
1346
|
{
|
|
1347
1347
|
"name": "direction",
|
|
1348
|
-
"description": "The layout direction
|
|
1348
|
+
"description": "The layout direction, optional value is `horizontal` `vertical`",
|
|
1349
1349
|
"default": "horizontal",
|
|
1350
1350
|
"value": {
|
|
1351
1351
|
"type": "string",
|
|
@@ -1354,7 +1354,7 @@
|
|
|
1354
1354
|
},
|
|
1355
1355
|
{
|
|
1356
1356
|
"name": "rules",
|
|
1357
|
-
"description": "The validation rules
|
|
1357
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
1358
1358
|
"default": "horizontal",
|
|
1359
1359
|
"value": {
|
|
1360
1360
|
"type": "Array<(value: any[]) => any>",
|
|
@@ -1365,13 +1365,13 @@
|
|
|
1365
1365
|
"events": [
|
|
1366
1366
|
{
|
|
1367
1367
|
"name": "change",
|
|
1368
|
-
"description": "
|
|
1368
|
+
"description": "Triggered on change"
|
|
1369
1369
|
}
|
|
1370
1370
|
],
|
|
1371
1371
|
"slots": [
|
|
1372
1372
|
{
|
|
1373
1373
|
"name": "default",
|
|
1374
|
-
"description": "Checkbox
|
|
1374
|
+
"description": "Checkbox Group content"
|
|
1375
1375
|
}
|
|
1376
1376
|
]
|
|
1377
1377
|
},
|
|
@@ -1380,7 +1380,7 @@
|
|
|
1380
1380
|
"attributes": [
|
|
1381
1381
|
{
|
|
1382
1382
|
"name": "type",
|
|
1383
|
-
"description": "Chip type,
|
|
1383
|
+
"description": "Chip type, can be set to `default` `primary` `info` `success` `warning` `danger`",
|
|
1384
1384
|
"default": "default",
|
|
1385
1385
|
"value": {
|
|
1386
1386
|
"type": "string",
|
|
@@ -1389,7 +1389,7 @@
|
|
|
1389
1389
|
},
|
|
1390
1390
|
{
|
|
1391
1391
|
"name": "size",
|
|
1392
|
-
"description": "Chip size,
|
|
1392
|
+
"description": "Chip size, can be set to `normal` `mini` `small` `large`",
|
|
1393
1393
|
"default": "normal",
|
|
1394
1394
|
"value": {
|
|
1395
1395
|
"type": "string",
|
|
@@ -1522,7 +1522,7 @@
|
|
|
1522
1522
|
},
|
|
1523
1523
|
{
|
|
1524
1524
|
"name": "justify",
|
|
1525
|
-
"description": "Main axis arrangement,
|
|
1525
|
+
"description": "Main axis arrangement, can be set to `flex-start` `flex-end` `center` `space-around` `space-between`",
|
|
1526
1526
|
"default": "-",
|
|
1527
1527
|
"value": {
|
|
1528
1528
|
"type": "string",
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
},
|
|
1532
1532
|
{
|
|
1533
1533
|
"name": "align",
|
|
1534
|
-
"description": "Cross axis arrangement,
|
|
1534
|
+
"description": "Cross axis arrangement, can be set to `stretch` `center` `flex-start` `flex-end` `baseline`",
|
|
1535
1535
|
"default": "-",
|
|
1536
1536
|
"value": {
|
|
1537
1537
|
"type": "string",
|
|
@@ -1587,7 +1587,7 @@
|
|
|
1587
1587
|
"events": [
|
|
1588
1588
|
{
|
|
1589
1589
|
"name": "click",
|
|
1590
|
-
"description": "Triggered
|
|
1590
|
+
"description": "Triggered on click"
|
|
1591
1591
|
}
|
|
1592
1592
|
],
|
|
1593
1593
|
"slots": [
|
|
@@ -1691,7 +1691,7 @@
|
|
|
1691
1691
|
},
|
|
1692
1692
|
{
|
|
1693
1693
|
"name": "disabled",
|
|
1694
|
-
"description": "Whether to
|
|
1694
|
+
"description": "Whether to disable collapse",
|
|
1695
1695
|
"default": "false",
|
|
1696
1696
|
"value": {
|
|
1697
1697
|
"type": "boolean",
|
|
@@ -1948,7 +1948,7 @@
|
|
|
1948
1948
|
},
|
|
1949
1949
|
{
|
|
1950
1950
|
"name": "rules",
|
|
1951
|
-
"description": "The validation rules
|
|
1951
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
1952
1952
|
"default": "-",
|
|
1953
1953
|
"value": {
|
|
1954
1954
|
"type": "Array<(value: number) => any>",
|
|
@@ -1990,7 +1990,7 @@
|
|
|
1990
1990
|
},
|
|
1991
1991
|
{
|
|
1992
1992
|
"name": "type",
|
|
1993
|
-
"description": "Picker type, optional values`date
|
|
1993
|
+
"description": "Picker type, optional values `date` `month`",
|
|
1994
1994
|
"default": "date",
|
|
1995
1995
|
"value": {
|
|
1996
1996
|
"type": "string",
|
|
@@ -2364,15 +2364,15 @@
|
|
|
2364
2364
|
},
|
|
2365
2365
|
{
|
|
2366
2366
|
"name": "confirm",
|
|
2367
|
-
"description": "
|
|
2367
|
+
"description": "Triggered on confirm"
|
|
2368
2368
|
},
|
|
2369
2369
|
{
|
|
2370
2370
|
"name": "cancel",
|
|
2371
|
-
"description": "
|
|
2371
|
+
"description": "Triggered on cancel"
|
|
2372
2372
|
},
|
|
2373
2373
|
{
|
|
2374
2374
|
"name": "click-overlay",
|
|
2375
|
-
"description": "Triggered when
|
|
2375
|
+
"description": "Triggered when clicking on overlay"
|
|
2376
2376
|
}
|
|
2377
2377
|
],
|
|
2378
2378
|
"slots": [
|
|
@@ -2391,7 +2391,7 @@
|
|
|
2391
2391
|
"attributes": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"name": "inset",
|
|
2394
|
-
"description": "Set the indentation distance, and the number plus or minus sign controls the direction of indentation
|
|
2394
|
+
"description": "Set the indentation distance, and the number plus or minus sign controls the direction of indentation. The default indentation is `72px` when `true` is passed (horizontal mode only)",
|
|
2395
2395
|
"default": "false",
|
|
2396
2396
|
"value": {
|
|
2397
2397
|
"type": "boolean | number | string",
|
|
@@ -2418,7 +2418,7 @@
|
|
|
2418
2418
|
},
|
|
2419
2419
|
{
|
|
2420
2420
|
"name": "hairline",
|
|
2421
|
-
"description": "Whether divider is 0.5px",
|
|
2421
|
+
"description": "Whether divider is `0.5px`",
|
|
2422
2422
|
"default": "false",
|
|
2423
2423
|
"value": {
|
|
2424
2424
|
"type": "boolean",
|
|
@@ -2457,7 +2457,7 @@
|
|
|
2457
2457
|
"attributes": [
|
|
2458
2458
|
{
|
|
2459
2459
|
"name": "direction",
|
|
2460
|
-
"description": "Drag direction, optional value is `x
|
|
2460
|
+
"description": "Drag direction, optional value is `x` `y` `xy`",
|
|
2461
2461
|
"default": "xy",
|
|
2462
2462
|
"value": {
|
|
2463
2463
|
"type": "string",
|
|
@@ -2466,7 +2466,7 @@
|
|
|
2466
2466
|
},
|
|
2467
2467
|
{
|
|
2468
2468
|
"name": "attraction",
|
|
2469
|
-
"description": "Attraction direction, optional value is `x
|
|
2469
|
+
"description": "Attraction direction, optional value is `x` `y` `xy`",
|
|
2470
2470
|
"default": "-",
|
|
2471
2471
|
"value": {
|
|
2472
2472
|
"type": "string",
|
|
@@ -2513,7 +2513,7 @@
|
|
|
2513
2513
|
"events": [
|
|
2514
2514
|
{
|
|
2515
2515
|
"name": "click",
|
|
2516
|
-
"description": "Triggered when
|
|
2516
|
+
"description": "Triggered when clicking drag component"
|
|
2517
2517
|
}
|
|
2518
2518
|
],
|
|
2519
2519
|
"slots": [
|
|
@@ -3197,7 +3197,7 @@
|
|
|
3197
3197
|
},
|
|
3198
3198
|
{
|
|
3199
3199
|
"name": "image-prevent-default",
|
|
3200
|
-
"description": "
|
|
3200
|
+
"description": "Whether to disable the default behavior of images",
|
|
3201
3201
|
"default": "false",
|
|
3202
3202
|
"value": {
|
|
3203
3203
|
"type": "boolean",
|
|
@@ -3527,7 +3527,7 @@
|
|
|
3527
3527
|
},
|
|
3528
3528
|
{
|
|
3529
3529
|
"name": "rules",
|
|
3530
|
-
"description": "The validation rules,
|
|
3530
|
+
"description": "The validation rules, return `true` to indicate that the validation passed,The remaining values are converted to text as user prompts",
|
|
3531
3531
|
"default": "-",
|
|
3532
3532
|
"value": {
|
|
3533
3533
|
"type": "Array<(v: string) => any>",
|
|
@@ -3547,7 +3547,7 @@
|
|
|
3547
3547
|
"events": [
|
|
3548
3548
|
{
|
|
3549
3549
|
"name": "focus",
|
|
3550
|
-
"description": "
|
|
3550
|
+
"description": "Triggered while focusing"
|
|
3551
3551
|
},
|
|
3552
3552
|
{
|
|
3553
3553
|
"name": "blur",
|
|
@@ -3563,11 +3563,11 @@
|
|
|
3563
3563
|
},
|
|
3564
3564
|
{
|
|
3565
3565
|
"name": "input",
|
|
3566
|
-
"description": "
|
|
3566
|
+
"description": "Triggered on input"
|
|
3567
3567
|
},
|
|
3568
3568
|
{
|
|
3569
3569
|
"name": "change",
|
|
3570
|
-
"description": "
|
|
3570
|
+
"description": "Triggered on change"
|
|
3571
3571
|
}
|
|
3572
3572
|
],
|
|
3573
3573
|
"slots": [
|
|
@@ -3596,7 +3596,7 @@
|
|
|
3596
3596
|
"attributes": [
|
|
3597
3597
|
{
|
|
3598
3598
|
"name": "type",
|
|
3599
|
-
"description": "Link type,
|
|
3599
|
+
"description": "Link type, can be set to `default` `primary` `info` `success` `warning` `danger`",
|
|
3600
3600
|
"default": "default",
|
|
3601
3601
|
"value": {
|
|
3602
3602
|
"type": "string",
|
|
@@ -3703,7 +3703,7 @@
|
|
|
3703
3703
|
"attributes": [
|
|
3704
3704
|
{
|
|
3705
3705
|
"name": "v-model:loading",
|
|
3706
|
-
"description": "
|
|
3706
|
+
"description": "Loading state",
|
|
3707
3707
|
"default": "false",
|
|
3708
3708
|
"value": {
|
|
3709
3709
|
"type": "boolean",
|
|
@@ -3712,7 +3712,7 @@
|
|
|
3712
3712
|
},
|
|
3713
3713
|
{
|
|
3714
3714
|
"name": "v-model:error",
|
|
3715
|
-
"description": "
|
|
3715
|
+
"description": "Error state",
|
|
3716
3716
|
"default": "false",
|
|
3717
3717
|
"value": {
|
|
3718
3718
|
"type": "boolean",
|
|
@@ -3886,7 +3886,7 @@
|
|
|
3886
3886
|
"attributes": [
|
|
3887
3887
|
{
|
|
3888
3888
|
"name": "v-model:show",
|
|
3889
|
-
"description": "
|
|
3889
|
+
"description": "Whether to show the menu",
|
|
3890
3890
|
"default": "default",
|
|
3891
3891
|
"value": {
|
|
3892
3892
|
"type": "string",
|
|
@@ -3895,7 +3895,7 @@
|
|
|
3895
3895
|
},
|
|
3896
3896
|
{
|
|
3897
3897
|
"name": "placement",
|
|
3898
|
-
"description": "
|
|
3898
|
+
"description": "Menu popup placement",
|
|
3899
3899
|
"default": "cover-top-start",
|
|
3900
3900
|
"value": {
|
|
3901
3901
|
"type": "Placement",
|
|
@@ -3904,7 +3904,7 @@
|
|
|
3904
3904
|
},
|
|
3905
3905
|
{
|
|
3906
3906
|
"name": "strategy",
|
|
3907
|
-
"description": "
|
|
3907
|
+
"description": "Menu position strategy, optional value is `absolute` `fixed`",
|
|
3908
3908
|
"default": "absolute",
|
|
3909
3909
|
"value": {
|
|
3910
3910
|
"type": "string",
|
|
@@ -3940,7 +3940,7 @@
|
|
|
3940
3940
|
},
|
|
3941
3941
|
{
|
|
3942
3942
|
"name": "disabled",
|
|
3943
|
-
"description": "
|
|
3943
|
+
"description": "Whether to disable the menu",
|
|
3944
3944
|
"default": "false",
|
|
3945
3945
|
"value": {
|
|
3946
3946
|
"type": "boolean",
|
|
@@ -4044,6 +4044,244 @@
|
|
|
4044
4044
|
}
|
|
4045
4045
|
]
|
|
4046
4046
|
},
|
|
4047
|
+
{
|
|
4048
|
+
"name": "var-menu-option",
|
|
4049
|
+
"attributes": [
|
|
4050
|
+
{
|
|
4051
|
+
"name": "label",
|
|
4052
|
+
"description": "The text that the option displays",
|
|
4053
|
+
"default": "-",
|
|
4054
|
+
"value": {
|
|
4055
|
+
"type": "any",
|
|
4056
|
+
"kind": "expression"
|
|
4057
|
+
}
|
|
4058
|
+
},
|
|
4059
|
+
{
|
|
4060
|
+
"name": "value",
|
|
4061
|
+
"description": "The value of the option binding",
|
|
4062
|
+
"default": "-",
|
|
4063
|
+
"value": {
|
|
4064
|
+
"type": "any",
|
|
4065
|
+
"kind": "expression"
|
|
4066
|
+
}
|
|
4067
|
+
},
|
|
4068
|
+
{
|
|
4069
|
+
"name": "disabled",
|
|
4070
|
+
"description": "Whether to disable",
|
|
4071
|
+
"default": "false",
|
|
4072
|
+
"value": {
|
|
4073
|
+
"type": "boolean",
|
|
4074
|
+
"kind": "expression"
|
|
4075
|
+
}
|
|
4076
|
+
}
|
|
4077
|
+
],
|
|
4078
|
+
"events": [],
|
|
4079
|
+
"slots": [
|
|
4080
|
+
{
|
|
4081
|
+
"name": "default",
|
|
4082
|
+
"description": "Options to display the content"
|
|
4083
|
+
}
|
|
4084
|
+
]
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
"name": "var-menu-select",
|
|
4088
|
+
"attributes": [
|
|
4089
|
+
{
|
|
4090
|
+
"name": "v-model",
|
|
4091
|
+
"description": "The value of the binding",
|
|
4092
|
+
"default": "-",
|
|
4093
|
+
"value": {
|
|
4094
|
+
"type": "any | any[]",
|
|
4095
|
+
"kind": "expression"
|
|
4096
|
+
}
|
|
4097
|
+
},
|
|
4098
|
+
{
|
|
4099
|
+
"name": "v-model:show",
|
|
4100
|
+
"description": "Whether to show the menu",
|
|
4101
|
+
"default": "default",
|
|
4102
|
+
"value": {
|
|
4103
|
+
"type": "string",
|
|
4104
|
+
"kind": "expression"
|
|
4105
|
+
}
|
|
4106
|
+
},
|
|
4107
|
+
{
|
|
4108
|
+
"name": "size",
|
|
4109
|
+
"description": "Menu size, optional values `normal` `mini` `small` `large`",
|
|
4110
|
+
"default": "normal",
|
|
4111
|
+
"value": {
|
|
4112
|
+
"type": "string",
|
|
4113
|
+
"kind": "expression"
|
|
4114
|
+
}
|
|
4115
|
+
},
|
|
4116
|
+
{
|
|
4117
|
+
"name": "multiple",
|
|
4118
|
+
"description": "Whether to select multiple",
|
|
4119
|
+
"default": "false",
|
|
4120
|
+
"value": {
|
|
4121
|
+
"type": "boolean",
|
|
4122
|
+
"kind": "expression"
|
|
4123
|
+
}
|
|
4124
|
+
},
|
|
4125
|
+
{
|
|
4126
|
+
"name": "scrollable",
|
|
4127
|
+
"description": "Whether to enable scrolling",
|
|
4128
|
+
"default": "false",
|
|
4129
|
+
"value": {
|
|
4130
|
+
"type": "boolean",
|
|
4131
|
+
"kind": "expression"
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
{
|
|
4135
|
+
"name": "close-on-select",
|
|
4136
|
+
"description": "Whether to close the menu when selected (selected options in multi-select mode never close the menu)",
|
|
4137
|
+
"default": "true",
|
|
4138
|
+
"value": {
|
|
4139
|
+
"type": "boolean",
|
|
4140
|
+
"kind": "expression"
|
|
4141
|
+
}
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
"name": "placement",
|
|
4145
|
+
"description": "Menu popup placement",
|
|
4146
|
+
"default": "cover-top-start",
|
|
4147
|
+
"value": {
|
|
4148
|
+
"type": "Placement",
|
|
4149
|
+
"kind": "expression"
|
|
4150
|
+
}
|
|
4151
|
+
},
|
|
4152
|
+
{
|
|
4153
|
+
"name": "strategy",
|
|
4154
|
+
"description": "Menu position strategy, optional value is `absolute` `fixed`",
|
|
4155
|
+
"default": "absolute",
|
|
4156
|
+
"value": {
|
|
4157
|
+
"type": "string",
|
|
4158
|
+
"kind": "expression"
|
|
4159
|
+
}
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"name": "offset-x",
|
|
4163
|
+
"description": "The x-axis offset, relative to the menu-aligned position",
|
|
4164
|
+
"default": "0",
|
|
4165
|
+
"value": {
|
|
4166
|
+
"type": "number | string",
|
|
4167
|
+
"kind": "expression"
|
|
4168
|
+
}
|
|
4169
|
+
},
|
|
4170
|
+
{
|
|
4171
|
+
"name": "offset-y",
|
|
4172
|
+
"description": "The y-axis offset, relative to the menu-aligned position",
|
|
4173
|
+
"default": "0",
|
|
4174
|
+
"value": {
|
|
4175
|
+
"type": "number | string",
|
|
4176
|
+
"kind": "expression"
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4179
|
+
{
|
|
4180
|
+
"name": "teleport",
|
|
4181
|
+
"description": "The location of the menu mount",
|
|
4182
|
+
"default": "body",
|
|
4183
|
+
"value": {
|
|
4184
|
+
"type": "TeleportProps['to'] | false",
|
|
4185
|
+
"kind": "expression"
|
|
4186
|
+
}
|
|
4187
|
+
},
|
|
4188
|
+
{
|
|
4189
|
+
"name": "disabled",
|
|
4190
|
+
"description": "Whether to disable the menu",
|
|
4191
|
+
"default": "false",
|
|
4192
|
+
"value": {
|
|
4193
|
+
"type": "boolean",
|
|
4194
|
+
"kind": "expression"
|
|
4195
|
+
}
|
|
4196
|
+
},
|
|
4197
|
+
{
|
|
4198
|
+
"name": "trigger",
|
|
4199
|
+
"description": "Menu trigger method, optional value is `click` `hover`, `click` is triggered when clicked, `hover` is triggered when hovered",
|
|
4200
|
+
"default": "click",
|
|
4201
|
+
"value": {
|
|
4202
|
+
"type": "string",
|
|
4203
|
+
"kind": "expression"
|
|
4204
|
+
}
|
|
4205
|
+
},
|
|
4206
|
+
{
|
|
4207
|
+
"name": "reference",
|
|
4208
|
+
"description": "The associated trigger element selector is used to specify specific child elements as trigger elements",
|
|
4209
|
+
"default": "-",
|
|
4210
|
+
"value": {
|
|
4211
|
+
"type": "string",
|
|
4212
|
+
"kind": "expression"
|
|
4213
|
+
}
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"name": "elevation",
|
|
4217
|
+
"description": "Elevation level, options `true` `false` and level of `0-24`",
|
|
4218
|
+
"default": "true",
|
|
4219
|
+
"value": {
|
|
4220
|
+
"type": "string | number | boolean",
|
|
4221
|
+
"kind": "expression"
|
|
4222
|
+
}
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
"name": "same-width",
|
|
4226
|
+
"description": "Whether to same width as trigger element",
|
|
4227
|
+
"default": "false",
|
|
4228
|
+
"value": {
|
|
4229
|
+
"type": "boolean",
|
|
4230
|
+
"kind": "expression"
|
|
4231
|
+
}
|
|
4232
|
+
},
|
|
4233
|
+
{
|
|
4234
|
+
"name": "popover-class",
|
|
4235
|
+
"description": "Class of the popover",
|
|
4236
|
+
"default": "-",
|
|
4237
|
+
"value": {
|
|
4238
|
+
"type": "string",
|
|
4239
|
+
"kind": "expression"
|
|
4240
|
+
}
|
|
4241
|
+
},
|
|
4242
|
+
{
|
|
4243
|
+
"name": "close-on-click-reference",
|
|
4244
|
+
"description": "Whether to close the menu when clicking the reference element",
|
|
4245
|
+
"default": "false",
|
|
4246
|
+
"value": {
|
|
4247
|
+
"type": "boolean",
|
|
4248
|
+
"kind": "expression"
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
],
|
|
4252
|
+
"events": [
|
|
4253
|
+
{
|
|
4254
|
+
"name": "open",
|
|
4255
|
+
"description": "Triggered when the menu is opened"
|
|
4256
|
+
},
|
|
4257
|
+
{
|
|
4258
|
+
"name": "opened",
|
|
4259
|
+
"description": "Triggered when the open menu animation ends"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"name": "close",
|
|
4263
|
+
"description": "Triggered when the menu is closed"
|
|
4264
|
+
},
|
|
4265
|
+
{
|
|
4266
|
+
"name": "closed",
|
|
4267
|
+
"description": "Triggered when the closing menu animation ends"
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"name": "click-outside",
|
|
4271
|
+
"description": "Triggered when clicking outside the menu"
|
|
4272
|
+
}
|
|
4273
|
+
],
|
|
4274
|
+
"slots": [
|
|
4275
|
+
{
|
|
4276
|
+
"name": "default",
|
|
4277
|
+
"description": "Menu select trigger element"
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"name": "options",
|
|
4281
|
+
"description": "Menu select options"
|
|
4282
|
+
}
|
|
4283
|
+
]
|
|
4284
|
+
},
|
|
4047
4285
|
{
|
|
4048
4286
|
"name": "var-option",
|
|
4049
4287
|
"attributes": [
|
|
@@ -4117,7 +4355,7 @@
|
|
|
4117
4355
|
"events": [
|
|
4118
4356
|
{
|
|
4119
4357
|
"name": "click",
|
|
4120
|
-
"description": "Triggered when
|
|
4358
|
+
"description": "Triggered when clicking on overlay"
|
|
4121
4359
|
}
|
|
4122
4360
|
],
|
|
4123
4361
|
"slots": [
|
|
@@ -4770,7 +5008,7 @@
|
|
|
4770
5008
|
},
|
|
4771
5009
|
{
|
|
4772
5010
|
"name": "target",
|
|
4773
|
-
"description": "The target to trigger scroll
|
|
5011
|
+
"description": "The target to trigger scroll. If it is undefined back top will listen to the nearest scrollable parent.",
|
|
4774
5012
|
"default": "-",
|
|
4775
5013
|
"value": {
|
|
4776
5014
|
"type": "string | HTMLElement",
|
|
@@ -4806,7 +5044,7 @@
|
|
|
4806
5044
|
},
|
|
4807
5045
|
{
|
|
4808
5046
|
"name": "color",
|
|
4809
|
-
"description": "
|
|
5047
|
+
"description": "Color of control",
|
|
4810
5048
|
"default": "#ffffff",
|
|
4811
5049
|
"value": {
|
|
4812
5050
|
"type": "string",
|
|
@@ -4824,7 +5062,7 @@
|
|
|
4824
5062
|
},
|
|
4825
5063
|
{
|
|
4826
5064
|
"name": "success-color",
|
|
4827
|
-
"description": "
|
|
5065
|
+
"description": "Color of control when the status is success",
|
|
4828
5066
|
"default": "ffffff",
|
|
4829
5067
|
"value": {
|
|
4830
5068
|
"type": "string",
|
|
@@ -4931,7 +5169,7 @@
|
|
|
4931
5169
|
},
|
|
4932
5170
|
{
|
|
4933
5171
|
"name": "rules",
|
|
4934
|
-
"description": "The validation rules
|
|
5172
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
4935
5173
|
"default": "-",
|
|
4936
5174
|
"value": {
|
|
4937
5175
|
"type": "Array<(value: any) => any>",
|
|
@@ -4942,11 +5180,11 @@
|
|
|
4942
5180
|
"events": [
|
|
4943
5181
|
{
|
|
4944
5182
|
"name": "click",
|
|
4945
|
-
"description": "Triggered on
|
|
5183
|
+
"description": "Triggered on click"
|
|
4946
5184
|
},
|
|
4947
5185
|
{
|
|
4948
5186
|
"name": "change",
|
|
4949
|
-
"description": "
|
|
5187
|
+
"description": "Triggered on change"
|
|
4950
5188
|
}
|
|
4951
5189
|
],
|
|
4952
5190
|
"slots": [
|
|
@@ -4978,7 +5216,7 @@
|
|
|
4978
5216
|
},
|
|
4979
5217
|
{
|
|
4980
5218
|
"name": "direction",
|
|
4981
|
-
"description": "The layout direction
|
|
5219
|
+
"description": "The layout direction, optional value is `horizontal` `vertical`",
|
|
4982
5220
|
"default": "horizontal",
|
|
4983
5221
|
"value": {
|
|
4984
5222
|
"type": "string",
|
|
@@ -4987,7 +5225,7 @@
|
|
|
4987
5225
|
},
|
|
4988
5226
|
{
|
|
4989
5227
|
"name": "rules",
|
|
4990
|
-
"description": "The validation rules
|
|
5228
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
4991
5229
|
"default": "-",
|
|
4992
5230
|
"value": {
|
|
4993
5231
|
"type": "Array<(value: any) => any>",
|
|
@@ -4998,13 +5236,13 @@
|
|
|
4998
5236
|
"events": [
|
|
4999
5237
|
{
|
|
5000
5238
|
"name": "change",
|
|
5001
|
-
"description": "
|
|
5239
|
+
"description": "Triggered on change"
|
|
5002
5240
|
}
|
|
5003
5241
|
],
|
|
5004
5242
|
"slots": [
|
|
5005
5243
|
{
|
|
5006
5244
|
"name": "default",
|
|
5007
|
-
"description": "Radio
|
|
5245
|
+
"description": "Radio Group content"
|
|
5008
5246
|
}
|
|
5009
5247
|
]
|
|
5010
5248
|
},
|
|
@@ -5024,7 +5262,7 @@
|
|
|
5024
5262
|
"attributes": [
|
|
5025
5263
|
{
|
|
5026
5264
|
"name": "type",
|
|
5027
|
-
"description": "Image type
|
|
5265
|
+
"description": "Image type, options `info` `success` `warning` `error` `question` `empty`",
|
|
5028
5266
|
"default": "success",
|
|
5029
5267
|
"value": {
|
|
5030
5268
|
"type": "string",
|
|
@@ -5128,7 +5366,7 @@
|
|
|
5128
5366
|
"events": [
|
|
5129
5367
|
{
|
|
5130
5368
|
"name": "click",
|
|
5131
|
-
"description": "Triggered when
|
|
5369
|
+
"description": "Triggered when clicking Row"
|
|
5132
5370
|
}
|
|
5133
5371
|
],
|
|
5134
5372
|
"slots": [
|
|
@@ -5278,7 +5516,7 @@
|
|
|
5278
5516
|
},
|
|
5279
5517
|
{
|
|
5280
5518
|
"name": "validate-trigger",
|
|
5281
|
-
"description": "Timing to trigger validation
|
|
5519
|
+
"description": "Timing to trigger validation, optional value is `onFocus` `onBlur` `onChange` `onClick` `onClear` `onClose`",
|
|
5282
5520
|
"default": "['onChange', 'onClear', 'onClose']",
|
|
5283
5521
|
"value": {
|
|
5284
5522
|
"type": "ValidateTriggers[]",
|
|
@@ -5287,7 +5525,7 @@
|
|
|
5287
5525
|
},
|
|
5288
5526
|
{
|
|
5289
5527
|
"name": "rules",
|
|
5290
|
-
"description": "The validation rules
|
|
5528
|
+
"description": "The validation rules, return `true` to indicate that the validation passed, The remaining values are converted to text as user prompts",
|
|
5291
5529
|
"default": "-",
|
|
5292
5530
|
"value": {
|
|
5293
5531
|
"type": "Array<(v: any | any[]) => any>",
|
|
@@ -5298,7 +5536,7 @@
|
|
|
5298
5536
|
"events": [
|
|
5299
5537
|
{
|
|
5300
5538
|
"name": "focus",
|
|
5301
|
-
"description": "
|
|
5539
|
+
"description": "Triggered when focusing"
|
|
5302
5540
|
},
|
|
5303
5541
|
{
|
|
5304
5542
|
"name": "blur",
|
|
@@ -5715,7 +5953,7 @@
|
|
|
5715
5953
|
},
|
|
5716
5954
|
{
|
|
5717
5955
|
"name": "loading-color",
|
|
5718
|
-
"description": "
|
|
5956
|
+
"description": "Loading color (see `Loading` component)",
|
|
5719
5957
|
"default": "currentColor",
|
|
5720
5958
|
"value": {
|
|
5721
5959
|
"type": "string",
|
|
@@ -5742,7 +5980,7 @@
|
|
|
5742
5980
|
},
|
|
5743
5981
|
{
|
|
5744
5982
|
"name": "forbid-click",
|
|
5745
|
-
"description": "
|
|
5983
|
+
"description": "Whether to penetrating clicks are forbidden",
|
|
5746
5984
|
"default": "false",
|
|
5747
5985
|
"value": {
|
|
5748
5986
|
"type": "boolean",
|
|
@@ -5797,7 +6035,7 @@
|
|
|
5797
6035
|
"attributes": [
|
|
5798
6036
|
{
|
|
5799
6037
|
"name": "direction",
|
|
5800
|
-
"description": "Layout direction,
|
|
6038
|
+
"description": "Layout direction, can be set to `row` `column`",
|
|
5801
6039
|
"default": "row",
|
|
5802
6040
|
"value": {
|
|
5803
6041
|
"type": "string",
|
|
@@ -5824,7 +6062,7 @@
|
|
|
5824
6062
|
},
|
|
5825
6063
|
{
|
|
5826
6064
|
"name": "size",
|
|
5827
|
-
"description": "
|
|
6065
|
+
"description": "Spacing, can be set to `mini` `small` `normal` `large` or `[Vertical, Horizontal]`(Support length unit)",
|
|
5828
6066
|
"default": "normal",
|
|
5829
6067
|
"value": {
|
|
5830
6068
|
"type": "string | number | [string | number, string | number]",
|
|
@@ -5938,7 +6176,7 @@
|
|
|
5938
6176
|
},
|
|
5939
6177
|
{
|
|
5940
6178
|
"name": "direction",
|
|
5941
|
-
"description": "Mode of steps,
|
|
6179
|
+
"description": "Mode of steps, can be set to `horizontal` `vertical`",
|
|
5942
6180
|
"default": "horizontal",
|
|
5943
6181
|
"value": {
|
|
5944
6182
|
"type": "string",
|
|
@@ -6316,7 +6554,7 @@
|
|
|
6316
6554
|
"attributes": [
|
|
6317
6555
|
{
|
|
6318
6556
|
"name": "name",
|
|
6319
|
-
"description": "
|
|
6557
|
+
"description": "Tab's name",
|
|
6320
6558
|
"default": "index",
|
|
6321
6559
|
"value": {
|
|
6322
6560
|
"type": "string | number",
|
|
@@ -6342,7 +6580,7 @@
|
|
|
6342
6580
|
"slots": [
|
|
6343
6581
|
{
|
|
6344
6582
|
"name": "default",
|
|
6345
|
-
"description": "
|
|
6583
|
+
"description": "Tab's content"
|
|
6346
6584
|
}
|
|
6347
6585
|
]
|
|
6348
6586
|
},
|
|
@@ -6351,7 +6589,7 @@
|
|
|
6351
6589
|
"attributes": [
|
|
6352
6590
|
{
|
|
6353
6591
|
"name": "name",
|
|
6354
|
-
"description": "
|
|
6592
|
+
"description": "View's name",
|
|
6355
6593
|
"default": "index",
|
|
6356
6594
|
"value": {
|
|
6357
6595
|
"type": "string | number",
|
|
@@ -6363,7 +6601,7 @@
|
|
|
6363
6601
|
"slots": [
|
|
6364
6602
|
{
|
|
6365
6603
|
"name": "default",
|
|
6366
|
-
"description": "
|
|
6604
|
+
"description": "TabItem's content"
|
|
6367
6605
|
}
|
|
6368
6606
|
]
|
|
6369
6607
|
},
|
|
@@ -6580,7 +6818,7 @@
|
|
|
6580
6818
|
"slots": [
|
|
6581
6819
|
{
|
|
6582
6820
|
"name": "default",
|
|
6583
|
-
"description": "
|
|
6821
|
+
"description": "Tabs content"
|
|
6584
6822
|
}
|
|
6585
6823
|
]
|
|
6586
6824
|
},
|
|
@@ -6643,7 +6881,7 @@
|
|
|
6643
6881
|
},
|
|
6644
6882
|
{
|
|
6645
6883
|
"name": "format",
|
|
6646
|
-
"description": "Picker type, optional values `ampm
|
|
6884
|
+
"description": "Picker type, optional values `ampm` `24hr`",
|
|
6647
6885
|
"default": "ampm",
|
|
6648
6886
|
"value": {
|
|
6649
6887
|
"type": "string",
|
|
@@ -6736,7 +6974,7 @@
|
|
|
6736
6974
|
"attributes": [
|
|
6737
6975
|
{
|
|
6738
6976
|
"name": "v-model:show",
|
|
6739
|
-
"description": "
|
|
6977
|
+
"description": "Whether to show the tooltip",
|
|
6740
6978
|
"default": "false",
|
|
6741
6979
|
"value": {
|
|
6742
6980
|
"type": "boolean",
|
|
@@ -6745,7 +6983,7 @@
|
|
|
6745
6983
|
},
|
|
6746
6984
|
{
|
|
6747
6985
|
"name": "content",
|
|
6748
|
-
"description": "
|
|
6986
|
+
"description": "Display content",
|
|
6749
6987
|
"default": "-",
|
|
6750
6988
|
"value": {
|
|
6751
6989
|
"type": "string",
|
|
@@ -6763,7 +7001,7 @@
|
|
|
6763
7001
|
},
|
|
6764
7002
|
{
|
|
6765
7003
|
"name": "type",
|
|
6766
|
-
"description": "Tooltip type,
|
|
7004
|
+
"description": "Tooltip type, can be set to `default` `primary` `info` `success` `warning` `danger`",
|
|
6767
7005
|
"default": "default",
|
|
6768
7006
|
"value": {
|
|
6769
7007
|
"type": "string",
|
|
@@ -6781,7 +7019,7 @@
|
|
|
6781
7019
|
},
|
|
6782
7020
|
{
|
|
6783
7021
|
"name": "strategy",
|
|
6784
|
-
"description": "Tooltip position strategy
|
|
7022
|
+
"description": "Tooltip position strategy, optional value is `absolute` `fixed`",
|
|
6785
7023
|
"default": "absolute",
|
|
6786
7024
|
"value": {
|
|
6787
7025
|
"type": "string",
|
|
@@ -6826,7 +7064,7 @@
|
|
|
6826
7064
|
},
|
|
6827
7065
|
{
|
|
6828
7066
|
"name": "disabled",
|
|
6829
|
-
"description": "
|
|
7067
|
+
"description": "Whether to disable the tooltip",
|
|
6830
7068
|
"default": "false",
|
|
6831
7069
|
"value": {
|
|
6832
7070
|
"type": "boolean",
|
|
@@ -7034,7 +7272,7 @@
|
|
|
7034
7272
|
},
|
|
7035
7273
|
{
|
|
7036
7274
|
"name": "validate-trigger",
|
|
7037
|
-
"description": "Timing to trigger validation
|
|
7275
|
+
"description": "Timing to trigger validation. The optional value is `onChange` `onRemove`",
|
|
7038
7276
|
"default": "['onChange', 'onRemove']",
|
|
7039
7277
|
"value": {
|
|
7040
7278
|
"type": "ValidateTriggers[]",
|
|
@@ -7043,7 +7281,7 @@
|
|
|
7043
7281
|
},
|
|
7044
7282
|
{
|
|
7045
7283
|
"name": "rules",
|
|
7046
|
-
"description": "The validation rules
|
|
7284
|
+
"description": "The validation rules, return `true` to indicate that the validation passed. The remaining values are converted to text as user prompts",
|
|
7047
7285
|
"default": "-",
|
|
7048
7286
|
"value": {
|
|
7049
7287
|
"type": "Array<(v: VarFile, u: VarFileUtils) => any>",
|
|
@@ -7058,7 +7296,7 @@
|
|
|
7058
7296
|
},
|
|
7059
7297
|
{
|
|
7060
7298
|
"name": "before-read",
|
|
7061
|
-
"description": "
|
|
7299
|
+
"description": "Triggered returns a false value before a file is read to prevent the file from being read(support promise)"
|
|
7062
7300
|
},
|
|
7063
7301
|
{
|
|
7064
7302
|
"name": "after-read",
|
|
@@ -7217,7 +7455,7 @@
|
|
|
7217
7455
|
"slots": [
|
|
7218
7456
|
{
|
|
7219
7457
|
"name": "content",
|
|
7220
|
-
"description": "The content of HTML `Watermark
|
|
7458
|
+
"description": "The content of HTML `Watermark`, only supports inline styles, does not support passing in self closing tags, priority higher than `content` or `image` attributes"
|
|
7221
7459
|
}
|
|
7222
7460
|
]
|
|
7223
7461
|
}
|