mdui 2.0.0 → 2.0.1
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/LICENSE +21 -21
- package/custom-elements.json +1579 -1579
- package/html-data.zh-cn.json +242 -242
- package/mdui.esm.js +7 -7
- package/mdui.global.js +2 -2
- package/package.json +3 -3
- package/web-types.zh-cn.json +387 -387
package/web-types.zh-cn.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/web-types",
|
|
3
3
|
"name": "mdui",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"description-markup": "markdown",
|
|
7
7
|
"framework-config": {
|
|
@@ -1392,6 +1392,238 @@
|
|
|
1392
1392
|
]
|
|
1393
1393
|
}
|
|
1394
1394
|
},
|
|
1395
|
+
{
|
|
1396
|
+
"name": "mdui-card",
|
|
1397
|
+
"description": "卡片组件\n\n```html\n<mdui-card>card content</mdui-card>\n```",
|
|
1398
|
+
"attributes": [
|
|
1399
|
+
{
|
|
1400
|
+
"name": "variant",
|
|
1401
|
+
"description": "卡片形状。可选值为:\n\n* `elevated`:具有阴影,与背景的分离度比 `filled` 更高,但小于 `outlined`\n* `filled`:与背景的分离度最小\n* `outlined`:具有边框,与背景的分离度最大",
|
|
1402
|
+
"value": {
|
|
1403
|
+
"type": [
|
|
1404
|
+
"'elevated'",
|
|
1405
|
+
"'filled'",
|
|
1406
|
+
"'outlined'"
|
|
1407
|
+
]
|
|
1408
|
+
},
|
|
1409
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-variant"
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
"name": "clickable",
|
|
1413
|
+
"description": "是否可点击。为 `true` 时,会添加鼠标悬浮效果、及点击涟漪效果",
|
|
1414
|
+
"value": {
|
|
1415
|
+
"type": "boolean"
|
|
1416
|
+
},
|
|
1417
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-clickable"
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"name": "disabled",
|
|
1421
|
+
"description": "是否禁用",
|
|
1422
|
+
"value": {
|
|
1423
|
+
"type": "boolean"
|
|
1424
|
+
},
|
|
1425
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-disabled"
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "href",
|
|
1429
|
+
"description": "链接指向的页面的 URL。\n\n若指定了该属性,则组件内部会渲染为 `<a>` 元素,并可以使用链接相关的属性",
|
|
1430
|
+
"value": {
|
|
1431
|
+
"type": "string"
|
|
1432
|
+
},
|
|
1433
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-href"
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
"name": "download",
|
|
1437
|
+
"description": "被下载的超链接目标。\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1438
|
+
"value": {
|
|
1439
|
+
"type": "string"
|
|
1440
|
+
},
|
|
1441
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-download"
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "target",
|
|
1445
|
+
"description": "在何处打开链接。可选值为:\n\n* `_blank`:在新窗口中打开链接\n* `_parent`:在父框架中打开链接\n* `_self`:默认。在相同的框架中打开链接\n* `_top`:在整个窗口中打开链接\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1446
|
+
"value": {
|
|
1447
|
+
"type": [
|
|
1448
|
+
"'_blank'",
|
|
1449
|
+
"'_parent'",
|
|
1450
|
+
"'_self'",
|
|
1451
|
+
"'_top'"
|
|
1452
|
+
]
|
|
1453
|
+
},
|
|
1454
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-target"
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "rel",
|
|
1458
|
+
"description": "当前文档与被链接文档之间的关系。可选值为:\n\n* `alternate`:当前文档的替代描述\n* `author`:当前文档或文章的作者\n* `bookmark`:到最近祖先章节的永久链接\n* `external`:引用的文档与当前的文档不属于同一个站点\n* `help`:链接到上下文相关的帮助\n* `license`:表示当前文档的主要内容由被引用文件描述的版权许可所涵盖\n* `me`:表示当前文档代表拥有链接内容的人\n* `next`:表示当前文档是一个系列的一部分,被引用的文档是该系列中的下一个文档\n* `nofollow`:表示当前文档的原作者或出版商不认可被引用的文件\n* `noreferrer`:不会包含 `Referer` 标头。和 `noopener` 效果类似\n* `opener`:如果超链接会创建一个非辅助浏览上下文的顶级浏览上下文(即以 `_blank` 作为 `target` 属性值),则创建一个辅助浏览上下文\n* `prev`:表示当前文档是系列的一部分,被引用的文档是该系列中的上一个文档\n* `search`:给出一个资源的链接,可以用来搜索当前文件及其相关页面\n* `tag`:给出一个适用于当前文档的标签(由给定地址识别)\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1459
|
+
"value": {
|
|
1460
|
+
"type": [
|
|
1461
|
+
"'alternate'",
|
|
1462
|
+
"'author'",
|
|
1463
|
+
"'bookmark'",
|
|
1464
|
+
"'external'",
|
|
1465
|
+
"'help'",
|
|
1466
|
+
"'license'",
|
|
1467
|
+
"'me'",
|
|
1468
|
+
"'next'",
|
|
1469
|
+
"'nofollow'",
|
|
1470
|
+
"'noreferrer'",
|
|
1471
|
+
"'opener'",
|
|
1472
|
+
"'prev'",
|
|
1473
|
+
"'search'",
|
|
1474
|
+
"'tag'"
|
|
1475
|
+
]
|
|
1476
|
+
},
|
|
1477
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-rel"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "autofocus",
|
|
1481
|
+
"description": "是否在页面加载完成后自动获得焦点",
|
|
1482
|
+
"value": {
|
|
1483
|
+
"type": "boolean"
|
|
1484
|
+
},
|
|
1485
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-autofocus"
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"name": "tabindex",
|
|
1489
|
+
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
1490
|
+
"value": {
|
|
1491
|
+
"type": "number"
|
|
1492
|
+
},
|
|
1493
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-tabindex"
|
|
1494
|
+
}
|
|
1495
|
+
],
|
|
1496
|
+
"priority": "highest",
|
|
1497
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card",
|
|
1498
|
+
"slots": [
|
|
1499
|
+
{
|
|
1500
|
+
"name": "",
|
|
1501
|
+
"description": "卡片内容",
|
|
1502
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#slot-"
|
|
1503
|
+
}
|
|
1504
|
+
],
|
|
1505
|
+
"js": {
|
|
1506
|
+
"properties": [
|
|
1507
|
+
{
|
|
1508
|
+
"name": "variant",
|
|
1509
|
+
"description": "卡片形状。可选值为:\n\n* `elevated`:具有阴影,与背景的分离度比 `filled` 更高,但小于 `outlined`\n* `filled`:与背景的分离度最小\n* `outlined`:具有边框,与背景的分离度最大",
|
|
1510
|
+
"value": {
|
|
1511
|
+
"type": [
|
|
1512
|
+
"'elevated'",
|
|
1513
|
+
"'filled'",
|
|
1514
|
+
"'outlined'"
|
|
1515
|
+
]
|
|
1516
|
+
},
|
|
1517
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-variant"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "clickable",
|
|
1521
|
+
"description": "是否可点击。为 `true` 时,会添加鼠标悬浮效果、及点击涟漪效果",
|
|
1522
|
+
"value": {
|
|
1523
|
+
"type": "boolean"
|
|
1524
|
+
},
|
|
1525
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-clickable"
|
|
1526
|
+
},
|
|
1527
|
+
{
|
|
1528
|
+
"name": "disabled",
|
|
1529
|
+
"description": "是否禁用",
|
|
1530
|
+
"value": {
|
|
1531
|
+
"type": "boolean"
|
|
1532
|
+
},
|
|
1533
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-disabled"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"name": "href",
|
|
1537
|
+
"description": "链接指向的页面的 URL。\n\n若指定了该属性,则组件内部会渲染为 `<a>` 元素,并可以使用链接相关的属性",
|
|
1538
|
+
"value": {
|
|
1539
|
+
"type": "string"
|
|
1540
|
+
},
|
|
1541
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-href"
|
|
1542
|
+
},
|
|
1543
|
+
{
|
|
1544
|
+
"name": "download",
|
|
1545
|
+
"description": "被下载的超链接目标。\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1546
|
+
"value": {
|
|
1547
|
+
"type": "string"
|
|
1548
|
+
},
|
|
1549
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-download"
|
|
1550
|
+
},
|
|
1551
|
+
{
|
|
1552
|
+
"name": "target",
|
|
1553
|
+
"description": "在何处打开链接。可选值为:\n\n* `_blank`:在新窗口中打开链接\n* `_parent`:在父框架中打开链接\n* `_self`:默认。在相同的框架中打开链接\n* `_top`:在整个窗口中打开链接\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1554
|
+
"value": {
|
|
1555
|
+
"type": [
|
|
1556
|
+
"'_blank'",
|
|
1557
|
+
"'_parent'",
|
|
1558
|
+
"'_self'",
|
|
1559
|
+
"'_top'"
|
|
1560
|
+
]
|
|
1561
|
+
},
|
|
1562
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-target"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"name": "rel",
|
|
1566
|
+
"description": "当前文档与被链接文档之间的关系。可选值为:\n\n* `alternate`:当前文档的替代描述\n* `author`:当前文档或文章的作者\n* `bookmark`:到最近祖先章节的永久链接\n* `external`:引用的文档与当前的文档不属于同一个站点\n* `help`:链接到上下文相关的帮助\n* `license`:表示当前文档的主要内容由被引用文件描述的版权许可所涵盖\n* `me`:表示当前文档代表拥有链接内容的人\n* `next`:表示当前文档是一个系列的一部分,被引用的文档是该系列中的下一个文档\n* `nofollow`:表示当前文档的原作者或出版商不认可被引用的文件\n* `noreferrer`:不会包含 `Referer` 标头。和 `noopener` 效果类似\n* `opener`:如果超链接会创建一个非辅助浏览上下文的顶级浏览上下文(即以 `_blank` 作为 `target` 属性值),则创建一个辅助浏览上下文\n* `prev`:表示当前文档是系列的一部分,被引用的文档是该系列中的上一个文档\n* `search`:给出一个资源的链接,可以用来搜索当前文件及其相关页面\n* `tag`:给出一个适用于当前文档的标签(由给定地址识别)\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
1567
|
+
"value": {
|
|
1568
|
+
"type": [
|
|
1569
|
+
"'alternate'",
|
|
1570
|
+
"'author'",
|
|
1571
|
+
"'bookmark'",
|
|
1572
|
+
"'external'",
|
|
1573
|
+
"'help'",
|
|
1574
|
+
"'license'",
|
|
1575
|
+
"'me'",
|
|
1576
|
+
"'next'",
|
|
1577
|
+
"'nofollow'",
|
|
1578
|
+
"'noreferrer'",
|
|
1579
|
+
"'opener'",
|
|
1580
|
+
"'prev'",
|
|
1581
|
+
"'search'",
|
|
1582
|
+
"'tag'"
|
|
1583
|
+
]
|
|
1584
|
+
},
|
|
1585
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-rel"
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
"name": "autofocus",
|
|
1589
|
+
"description": "是否在页面加载完成后自动获得焦点",
|
|
1590
|
+
"value": {
|
|
1591
|
+
"type": "boolean"
|
|
1592
|
+
},
|
|
1593
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-autofocus"
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"name": "tabIndex",
|
|
1597
|
+
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
1598
|
+
"value": {
|
|
1599
|
+
"type": "number"
|
|
1600
|
+
},
|
|
1601
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-tabIndex"
|
|
1602
|
+
}
|
|
1603
|
+
],
|
|
1604
|
+
"events": [
|
|
1605
|
+
{
|
|
1606
|
+
"name": "focus",
|
|
1607
|
+
"description": "获得焦点时触发",
|
|
1608
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#event-focus"
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"name": "blur",
|
|
1612
|
+
"description": "失去焦点时触发",
|
|
1613
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#event-blur"
|
|
1614
|
+
}
|
|
1615
|
+
]
|
|
1616
|
+
},
|
|
1617
|
+
"css": {
|
|
1618
|
+
"properties": [
|
|
1619
|
+
{
|
|
1620
|
+
"name": "--shape-corner",
|
|
1621
|
+
"description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐[引用设计令牌](https://www.mdui.org/docs/2/styles/design-tokens#shape-corner)",
|
|
1622
|
+
"doc-url": "https://www.mdui.org/docs/2/components/card#css-properties-shape-corner"
|
|
1623
|
+
}
|
|
1624
|
+
]
|
|
1625
|
+
}
|
|
1626
|
+
},
|
|
1395
1627
|
{
|
|
1396
1628
|
"name": "mdui-checkbox",
|
|
1397
1629
|
"description": "复选框组件\n\n```html\n<mdui-checkbox>Checkbox</mdui-checkbox>\n```",
|
|
@@ -2241,308 +2473,39 @@
|
|
|
2241
2473
|
"doc-url": "https://www.mdui.org/docs/2/components/chip#attributes-validity"
|
|
2242
2474
|
},
|
|
2243
2475
|
{
|
|
2244
|
-
"name": "validationMessage",
|
|
2245
|
-
"description": "表单验证的错误提示信息",
|
|
2246
|
-
"value": {
|
|
2247
|
-
"type": "string"
|
|
2248
|
-
},
|
|
2249
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#attributes-validationMessage"
|
|
2250
|
-
}
|
|
2251
|
-
],
|
|
2252
|
-
"events": [
|
|
2253
|
-
{
|
|
2254
|
-
"name": "focus",
|
|
2255
|
-
"description": "获得焦点时触发",
|
|
2256
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-focus"
|
|
2257
|
-
},
|
|
2258
|
-
{
|
|
2259
|
-
"name": "blur",
|
|
2260
|
-
"description": "失去焦点时触发",
|
|
2261
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-blur"
|
|
2262
|
-
},
|
|
2263
|
-
{
|
|
2264
|
-
"name": "invalid",
|
|
2265
|
-
"description": "表单字段验证未通过时触发",
|
|
2266
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-invalid"
|
|
2267
|
-
},
|
|
2268
|
-
{
|
|
2269
|
-
"name": "change",
|
|
2270
|
-
"description": "选中状态变更时触发",
|
|
2271
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-change"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"name": "delete",
|
|
2275
|
-
"description": "点击删除图标时触发",
|
|
2276
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-delete"
|
|
2277
|
-
}
|
|
2278
|
-
]
|
|
2279
|
-
},
|
|
2280
|
-
"css": {
|
|
2281
|
-
"properties": [
|
|
2282
|
-
{
|
|
2283
|
-
"name": "--shape-corner",
|
|
2284
|
-
"description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐[引用设计令牌](https://www.mdui.org/docs/2/styles/design-tokens#shape-corner)",
|
|
2285
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-properties-shape-corner"
|
|
2286
|
-
}
|
|
2287
|
-
],
|
|
2288
|
-
"parts": [
|
|
2289
|
-
{
|
|
2290
|
-
"name": "button",
|
|
2291
|
-
"description": "内部的 `button` 或 `a` 元素",
|
|
2292
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-button"
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"name": "label",
|
|
2296
|
-
"description": "文本",
|
|
2297
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-label"
|
|
2298
|
-
},
|
|
2299
|
-
{
|
|
2300
|
-
"name": "icon",
|
|
2301
|
-
"description": "左侧图标",
|
|
2302
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-icon"
|
|
2303
|
-
},
|
|
2304
|
-
{
|
|
2305
|
-
"name": "end-icon",
|
|
2306
|
-
"description": "右侧图标",
|
|
2307
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-end-icon"
|
|
2308
|
-
},
|
|
2309
|
-
{
|
|
2310
|
-
"name": "selected-icon",
|
|
2311
|
-
"description": "选中状态的左侧图标",
|
|
2312
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-selected-icon"
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
"name": "delete-icon",
|
|
2316
|
-
"description": "可删除时,右侧的删除图标",
|
|
2317
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-delete-icon"
|
|
2318
|
-
},
|
|
2319
|
-
{
|
|
2320
|
-
"name": "loading",
|
|
2321
|
-
"description": "加载中状态的 `<mdui-circular-progress>` 元素",
|
|
2322
|
-
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-loading"
|
|
2323
|
-
}
|
|
2324
|
-
]
|
|
2325
|
-
}
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
"name": "mdui-card",
|
|
2329
|
-
"description": "卡片组件\n\n```html\n<mdui-card>card content</mdui-card>\n```",
|
|
2330
|
-
"attributes": [
|
|
2331
|
-
{
|
|
2332
|
-
"name": "variant",
|
|
2333
|
-
"description": "卡片形状。可选值为:\n\n* `elevated`:具有阴影,与背景的分离度比 `filled` 更高,但小于 `outlined`\n* `filled`:与背景的分离度最小\n* `outlined`:具有边框,与背景的分离度最大",
|
|
2334
|
-
"value": {
|
|
2335
|
-
"type": [
|
|
2336
|
-
"'elevated'",
|
|
2337
|
-
"'filled'",
|
|
2338
|
-
"'outlined'"
|
|
2339
|
-
]
|
|
2340
|
-
},
|
|
2341
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-variant"
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
"name": "clickable",
|
|
2345
|
-
"description": "是否可点击。为 `true` 时,会添加鼠标悬浮效果、及点击涟漪效果",
|
|
2346
|
-
"value": {
|
|
2347
|
-
"type": "boolean"
|
|
2348
|
-
},
|
|
2349
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-clickable"
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"name": "disabled",
|
|
2353
|
-
"description": "是否禁用",
|
|
2354
|
-
"value": {
|
|
2355
|
-
"type": "boolean"
|
|
2356
|
-
},
|
|
2357
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-disabled"
|
|
2358
|
-
},
|
|
2359
|
-
{
|
|
2360
|
-
"name": "href",
|
|
2361
|
-
"description": "链接指向的页面的 URL。\n\n若指定了该属性,则组件内部会渲染为 `<a>` 元素,并可以使用链接相关的属性",
|
|
2362
|
-
"value": {
|
|
2363
|
-
"type": "string"
|
|
2364
|
-
},
|
|
2365
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-href"
|
|
2366
|
-
},
|
|
2367
|
-
{
|
|
2368
|
-
"name": "download",
|
|
2369
|
-
"description": "被下载的超链接目标。\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2370
|
-
"value": {
|
|
2371
|
-
"type": "string"
|
|
2372
|
-
},
|
|
2373
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-download"
|
|
2374
|
-
},
|
|
2375
|
-
{
|
|
2376
|
-
"name": "target",
|
|
2377
|
-
"description": "在何处打开链接。可选值为:\n\n* `_blank`:在新窗口中打开链接\n* `_parent`:在父框架中打开链接\n* `_self`:默认。在相同的框架中打开链接\n* `_top`:在整个窗口中打开链接\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2378
|
-
"value": {
|
|
2379
|
-
"type": [
|
|
2380
|
-
"'_blank'",
|
|
2381
|
-
"'_parent'",
|
|
2382
|
-
"'_self'",
|
|
2383
|
-
"'_top'"
|
|
2384
|
-
]
|
|
2385
|
-
},
|
|
2386
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-target"
|
|
2387
|
-
},
|
|
2388
|
-
{
|
|
2389
|
-
"name": "rel",
|
|
2390
|
-
"description": "当前文档与被链接文档之间的关系。可选值为:\n\n* `alternate`:当前文档的替代描述\n* `author`:当前文档或文章的作者\n* `bookmark`:到最近祖先章节的永久链接\n* `external`:引用的文档与当前的文档不属于同一个站点\n* `help`:链接到上下文相关的帮助\n* `license`:表示当前文档的主要内容由被引用文件描述的版权许可所涵盖\n* `me`:表示当前文档代表拥有链接内容的人\n* `next`:表示当前文档是一个系列的一部分,被引用的文档是该系列中的下一个文档\n* `nofollow`:表示当前文档的原作者或出版商不认可被引用的文件\n* `noreferrer`:不会包含 `Referer` 标头。和 `noopener` 效果类似\n* `opener`:如果超链接会创建一个非辅助浏览上下文的顶级浏览上下文(即以 `_blank` 作为 `target` 属性值),则创建一个辅助浏览上下文\n* `prev`:表示当前文档是系列的一部分,被引用的文档是该系列中的上一个文档\n* `search`:给出一个资源的链接,可以用来搜索当前文件及其相关页面\n* `tag`:给出一个适用于当前文档的标签(由给定地址识别)\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2391
|
-
"value": {
|
|
2392
|
-
"type": [
|
|
2393
|
-
"'alternate'",
|
|
2394
|
-
"'author'",
|
|
2395
|
-
"'bookmark'",
|
|
2396
|
-
"'external'",
|
|
2397
|
-
"'help'",
|
|
2398
|
-
"'license'",
|
|
2399
|
-
"'me'",
|
|
2400
|
-
"'next'",
|
|
2401
|
-
"'nofollow'",
|
|
2402
|
-
"'noreferrer'",
|
|
2403
|
-
"'opener'",
|
|
2404
|
-
"'prev'",
|
|
2405
|
-
"'search'",
|
|
2406
|
-
"'tag'"
|
|
2407
|
-
]
|
|
2408
|
-
},
|
|
2409
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-rel"
|
|
2410
|
-
},
|
|
2411
|
-
{
|
|
2412
|
-
"name": "autofocus",
|
|
2413
|
-
"description": "是否在页面加载完成后自动获得焦点",
|
|
2414
|
-
"value": {
|
|
2415
|
-
"type": "boolean"
|
|
2416
|
-
},
|
|
2417
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-autofocus"
|
|
2418
|
-
},
|
|
2419
|
-
{
|
|
2420
|
-
"name": "tabindex",
|
|
2421
|
-
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
2422
|
-
"value": {
|
|
2423
|
-
"type": "number"
|
|
2424
|
-
},
|
|
2425
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-tabindex"
|
|
2426
|
-
}
|
|
2427
|
-
],
|
|
2428
|
-
"priority": "highest",
|
|
2429
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card",
|
|
2430
|
-
"slots": [
|
|
2431
|
-
{
|
|
2432
|
-
"name": "",
|
|
2433
|
-
"description": "卡片内容",
|
|
2434
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#slot-"
|
|
2435
|
-
}
|
|
2436
|
-
],
|
|
2437
|
-
"js": {
|
|
2438
|
-
"properties": [
|
|
2439
|
-
{
|
|
2440
|
-
"name": "variant",
|
|
2441
|
-
"description": "卡片形状。可选值为:\n\n* `elevated`:具有阴影,与背景的分离度比 `filled` 更高,但小于 `outlined`\n* `filled`:与背景的分离度最小\n* `outlined`:具有边框,与背景的分离度最大",
|
|
2442
|
-
"value": {
|
|
2443
|
-
"type": [
|
|
2444
|
-
"'elevated'",
|
|
2445
|
-
"'filled'",
|
|
2446
|
-
"'outlined'"
|
|
2447
|
-
]
|
|
2448
|
-
},
|
|
2449
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-variant"
|
|
2450
|
-
},
|
|
2451
|
-
{
|
|
2452
|
-
"name": "clickable",
|
|
2453
|
-
"description": "是否可点击。为 `true` 时,会添加鼠标悬浮效果、及点击涟漪效果",
|
|
2454
|
-
"value": {
|
|
2455
|
-
"type": "boolean"
|
|
2456
|
-
},
|
|
2457
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-clickable"
|
|
2458
|
-
},
|
|
2459
|
-
{
|
|
2460
|
-
"name": "disabled",
|
|
2461
|
-
"description": "是否禁用",
|
|
2462
|
-
"value": {
|
|
2463
|
-
"type": "boolean"
|
|
2464
|
-
},
|
|
2465
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-disabled"
|
|
2466
|
-
},
|
|
2467
|
-
{
|
|
2468
|
-
"name": "href",
|
|
2469
|
-
"description": "链接指向的页面的 URL。\n\n若指定了该属性,则组件内部会渲染为 `<a>` 元素,并可以使用链接相关的属性",
|
|
2470
|
-
"value": {
|
|
2471
|
-
"type": "string"
|
|
2472
|
-
},
|
|
2473
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-href"
|
|
2474
|
-
},
|
|
2475
|
-
{
|
|
2476
|
-
"name": "download",
|
|
2477
|
-
"description": "被下载的超链接目标。\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2478
|
-
"value": {
|
|
2479
|
-
"type": "string"
|
|
2480
|
-
},
|
|
2481
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-download"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
"name": "target",
|
|
2485
|
-
"description": "在何处打开链接。可选值为:\n\n* `_blank`:在新窗口中打开链接\n* `_parent`:在父框架中打开链接\n* `_self`:默认。在相同的框架中打开链接\n* `_top`:在整个窗口中打开链接\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2486
|
-
"value": {
|
|
2487
|
-
"type": [
|
|
2488
|
-
"'_blank'",
|
|
2489
|
-
"'_parent'",
|
|
2490
|
-
"'_self'",
|
|
2491
|
-
"'_top'"
|
|
2492
|
-
]
|
|
2493
|
-
},
|
|
2494
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-target"
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
"name": "rel",
|
|
2498
|
-
"description": "当前文档与被链接文档之间的关系。可选值为:\n\n* `alternate`:当前文档的替代描述\n* `author`:当前文档或文章的作者\n* `bookmark`:到最近祖先章节的永久链接\n* `external`:引用的文档与当前的文档不属于同一个站点\n* `help`:链接到上下文相关的帮助\n* `license`:表示当前文档的主要内容由被引用文件描述的版权许可所涵盖\n* `me`:表示当前文档代表拥有链接内容的人\n* `next`:表示当前文档是一个系列的一部分,被引用的文档是该系列中的下一个文档\n* `nofollow`:表示当前文档的原作者或出版商不认可被引用的文件\n* `noreferrer`:不会包含 `Referer` 标头。和 `noopener` 效果类似\n* `opener`:如果超链接会创建一个非辅助浏览上下文的顶级浏览上下文(即以 `_blank` 作为 `target` 属性值),则创建一个辅助浏览上下文\n* `prev`:表示当前文档是系列的一部分,被引用的文档是该系列中的上一个文档\n* `search`:给出一个资源的链接,可以用来搜索当前文件及其相关页面\n* `tag`:给出一个适用于当前文档的标签(由给定地址识别)\n\n**Note**:仅在指定了 `href` 属性时可用",
|
|
2499
|
-
"value": {
|
|
2500
|
-
"type": [
|
|
2501
|
-
"'alternate'",
|
|
2502
|
-
"'author'",
|
|
2503
|
-
"'bookmark'",
|
|
2504
|
-
"'external'",
|
|
2505
|
-
"'help'",
|
|
2506
|
-
"'license'",
|
|
2507
|
-
"'me'",
|
|
2508
|
-
"'next'",
|
|
2509
|
-
"'nofollow'",
|
|
2510
|
-
"'noreferrer'",
|
|
2511
|
-
"'opener'",
|
|
2512
|
-
"'prev'",
|
|
2513
|
-
"'search'",
|
|
2514
|
-
"'tag'"
|
|
2515
|
-
]
|
|
2516
|
-
},
|
|
2517
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-rel"
|
|
2518
|
-
},
|
|
2519
|
-
{
|
|
2520
|
-
"name": "autofocus",
|
|
2521
|
-
"description": "是否在页面加载完成后自动获得焦点",
|
|
2522
|
-
"value": {
|
|
2523
|
-
"type": "boolean"
|
|
2524
|
-
},
|
|
2525
|
-
"doc-url": "https://www.mdui.org/docs/2/components/card#attributes-autofocus"
|
|
2526
|
-
},
|
|
2527
|
-
{
|
|
2528
|
-
"name": "tabIndex",
|
|
2529
|
-
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
2476
|
+
"name": "validationMessage",
|
|
2477
|
+
"description": "表单验证的错误提示信息",
|
|
2530
2478
|
"value": {
|
|
2531
|
-
"type": "
|
|
2479
|
+
"type": "string"
|
|
2532
2480
|
},
|
|
2533
|
-
"doc-url": "https://www.mdui.org/docs/2/components/
|
|
2481
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#attributes-validationMessage"
|
|
2534
2482
|
}
|
|
2535
2483
|
],
|
|
2536
2484
|
"events": [
|
|
2537
2485
|
{
|
|
2538
2486
|
"name": "focus",
|
|
2539
2487
|
"description": "获得焦点时触发",
|
|
2540
|
-
"doc-url": "https://www.mdui.org/docs/2/components/
|
|
2488
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-focus"
|
|
2541
2489
|
},
|
|
2542
2490
|
{
|
|
2543
2491
|
"name": "blur",
|
|
2544
2492
|
"description": "失去焦点时触发",
|
|
2545
|
-
"doc-url": "https://www.mdui.org/docs/2/components/
|
|
2493
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-blur"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "invalid",
|
|
2497
|
+
"description": "表单字段验证未通过时触发",
|
|
2498
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-invalid"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "change",
|
|
2502
|
+
"description": "选中状态变更时触发",
|
|
2503
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-change"
|
|
2504
|
+
},
|
|
2505
|
+
{
|
|
2506
|
+
"name": "delete",
|
|
2507
|
+
"description": "点击删除图标时触发",
|
|
2508
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#event-delete"
|
|
2546
2509
|
}
|
|
2547
2510
|
]
|
|
2548
2511
|
},
|
|
@@ -2551,7 +2514,88 @@
|
|
|
2551
2514
|
{
|
|
2552
2515
|
"name": "--shape-corner",
|
|
2553
2516
|
"description": "组件的圆角大小。可以指定一个具体的像素值;但更推荐[引用设计令牌](https://www.mdui.org/docs/2/styles/design-tokens#shape-corner)",
|
|
2554
|
-
"doc-url": "https://www.mdui.org/docs/2/components/
|
|
2517
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-properties-shape-corner"
|
|
2518
|
+
}
|
|
2519
|
+
],
|
|
2520
|
+
"parts": [
|
|
2521
|
+
{
|
|
2522
|
+
"name": "button",
|
|
2523
|
+
"description": "内部的 `button` 或 `a` 元素",
|
|
2524
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-button"
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"name": "label",
|
|
2528
|
+
"description": "文本",
|
|
2529
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-label"
|
|
2530
|
+
},
|
|
2531
|
+
{
|
|
2532
|
+
"name": "icon",
|
|
2533
|
+
"description": "左侧图标",
|
|
2534
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-icon"
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"name": "end-icon",
|
|
2538
|
+
"description": "右侧图标",
|
|
2539
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-end-icon"
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "selected-icon",
|
|
2543
|
+
"description": "选中状态的左侧图标",
|
|
2544
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-selected-icon"
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "delete-icon",
|
|
2548
|
+
"description": "可删除时,右侧的删除图标",
|
|
2549
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-delete-icon"
|
|
2550
|
+
},
|
|
2551
|
+
{
|
|
2552
|
+
"name": "loading",
|
|
2553
|
+
"description": "加载中状态的 `<mdui-circular-progress>` 元素",
|
|
2554
|
+
"doc-url": "https://www.mdui.org/docs/2/components/chip#css-parts-loading"
|
|
2555
|
+
}
|
|
2556
|
+
]
|
|
2557
|
+
}
|
|
2558
|
+
},
|
|
2559
|
+
{
|
|
2560
|
+
"name": "mdui-circular-progress",
|
|
2561
|
+
"description": "圆形进度指示器组件\n\n```html\n<mdui-circular-progress></mdui-circular-progress>\n```",
|
|
2562
|
+
"attributes": [
|
|
2563
|
+
{
|
|
2564
|
+
"name": "max",
|
|
2565
|
+
"description": "进度指示器的最大值,默认为 1",
|
|
2566
|
+
"value": {
|
|
2567
|
+
"type": "number"
|
|
2568
|
+
},
|
|
2569
|
+
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-max"
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"name": "value",
|
|
2573
|
+
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2574
|
+
"value": {
|
|
2575
|
+
"type": "number"
|
|
2576
|
+
},
|
|
2577
|
+
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-value"
|
|
2578
|
+
}
|
|
2579
|
+
],
|
|
2580
|
+
"priority": "highest",
|
|
2581
|
+
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress",
|
|
2582
|
+
"js": {
|
|
2583
|
+
"properties": [
|
|
2584
|
+
{
|
|
2585
|
+
"name": "max",
|
|
2586
|
+
"description": "进度指示器的最大值,默认为 1",
|
|
2587
|
+
"value": {
|
|
2588
|
+
"type": "number"
|
|
2589
|
+
},
|
|
2590
|
+
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-max"
|
|
2591
|
+
},
|
|
2592
|
+
{
|
|
2593
|
+
"name": "value",
|
|
2594
|
+
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2595
|
+
"value": {
|
|
2596
|
+
"type": "number"
|
|
2597
|
+
},
|
|
2598
|
+
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-value"
|
|
2555
2599
|
}
|
|
2556
2600
|
]
|
|
2557
2601
|
}
|
|
@@ -2768,50 +2812,6 @@
|
|
|
2768
2812
|
]
|
|
2769
2813
|
}
|
|
2770
2814
|
},
|
|
2771
|
-
{
|
|
2772
|
-
"name": "mdui-circular-progress",
|
|
2773
|
-
"description": "圆形进度指示器组件\n\n```html\n<mdui-circular-progress></mdui-circular-progress>\n```",
|
|
2774
|
-
"attributes": [
|
|
2775
|
-
{
|
|
2776
|
-
"name": "max",
|
|
2777
|
-
"description": "进度指示器的最大值,默认为 1",
|
|
2778
|
-
"value": {
|
|
2779
|
-
"type": "number"
|
|
2780
|
-
},
|
|
2781
|
-
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-max"
|
|
2782
|
-
},
|
|
2783
|
-
{
|
|
2784
|
-
"name": "value",
|
|
2785
|
-
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2786
|
-
"value": {
|
|
2787
|
-
"type": "number"
|
|
2788
|
-
},
|
|
2789
|
-
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-value"
|
|
2790
|
-
}
|
|
2791
|
-
],
|
|
2792
|
-
"priority": "highest",
|
|
2793
|
-
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress",
|
|
2794
|
-
"js": {
|
|
2795
|
-
"properties": [
|
|
2796
|
-
{
|
|
2797
|
-
"name": "max",
|
|
2798
|
-
"description": "进度指示器的最大值,默认为 1",
|
|
2799
|
-
"value": {
|
|
2800
|
-
"type": "number"
|
|
2801
|
-
},
|
|
2802
|
-
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-max"
|
|
2803
|
-
},
|
|
2804
|
-
{
|
|
2805
|
-
"name": "value",
|
|
2806
|
-
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2807
|
-
"value": {
|
|
2808
|
-
"type": "number"
|
|
2809
|
-
},
|
|
2810
|
-
"doc-url": "https://www.mdui.org/docs/2/components/circular-progress#attributes-value"
|
|
2811
|
-
}
|
|
2812
|
-
]
|
|
2813
|
-
}
|
|
2814
|
-
},
|
|
2815
2815
|
{
|
|
2816
2816
|
"name": "mdui-dialog",
|
|
2817
2817
|
"description": "对话框组件\n\n```html\n<mdui-dialog>content</mdui-dialog>\n```",
|
|
@@ -3364,57 +3364,6 @@
|
|
|
3364
3364
|
]
|
|
3365
3365
|
}
|
|
3366
3366
|
},
|
|
3367
|
-
{
|
|
3368
|
-
"name": "mdui-icon",
|
|
3369
|
-
"description": "图标组件\n\n```html\n<mdui-icon name=\"search\"></mdui-icon>\n```",
|
|
3370
|
-
"attributes": [
|
|
3371
|
-
{
|
|
3372
|
-
"name": "name",
|
|
3373
|
-
"description": "Material Icons 图标名",
|
|
3374
|
-
"value": {
|
|
3375
|
-
"type": "string"
|
|
3376
|
-
},
|
|
3377
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-name"
|
|
3378
|
-
},
|
|
3379
|
-
{
|
|
3380
|
-
"name": "src",
|
|
3381
|
-
"description": "svg 图标的路径",
|
|
3382
|
-
"value": {
|
|
3383
|
-
"type": "string"
|
|
3384
|
-
},
|
|
3385
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-src"
|
|
3386
|
-
}
|
|
3387
|
-
],
|
|
3388
|
-
"priority": "highest",
|
|
3389
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon",
|
|
3390
|
-
"slots": [
|
|
3391
|
-
{
|
|
3392
|
-
"name": "",
|
|
3393
|
-
"description": "`svg` 图标的内容",
|
|
3394
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon#slot-"
|
|
3395
|
-
}
|
|
3396
|
-
],
|
|
3397
|
-
"js": {
|
|
3398
|
-
"properties": [
|
|
3399
|
-
{
|
|
3400
|
-
"name": "name",
|
|
3401
|
-
"description": "Material Icons 图标名",
|
|
3402
|
-
"value": {
|
|
3403
|
-
"type": "string"
|
|
3404
|
-
},
|
|
3405
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-name"
|
|
3406
|
-
},
|
|
3407
|
-
{
|
|
3408
|
-
"name": "src",
|
|
3409
|
-
"description": "svg 图标的路径",
|
|
3410
|
-
"value": {
|
|
3411
|
-
"type": "string"
|
|
3412
|
-
},
|
|
3413
|
-
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-src"
|
|
3414
|
-
}
|
|
3415
|
-
]
|
|
3416
|
-
}
|
|
3417
|
-
},
|
|
3418
3367
|
{
|
|
3419
3368
|
"name": "mdui-fab",
|
|
3420
3369
|
"description": "浮动操作按钮组件\n\n```html\n<mdui-fab icon=\"edit\"></mdui-fab>\n```",
|
|
@@ -3939,6 +3888,57 @@
|
|
|
3939
3888
|
]
|
|
3940
3889
|
}
|
|
3941
3890
|
},
|
|
3891
|
+
{
|
|
3892
|
+
"name": "mdui-icon",
|
|
3893
|
+
"description": "图标组件\n\n```html\n<mdui-icon name=\"search\"></mdui-icon>\n```",
|
|
3894
|
+
"attributes": [
|
|
3895
|
+
{
|
|
3896
|
+
"name": "name",
|
|
3897
|
+
"description": "Material Icons 图标名",
|
|
3898
|
+
"value": {
|
|
3899
|
+
"type": "string"
|
|
3900
|
+
},
|
|
3901
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-name"
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"name": "src",
|
|
3905
|
+
"description": "svg 图标的路径",
|
|
3906
|
+
"value": {
|
|
3907
|
+
"type": "string"
|
|
3908
|
+
},
|
|
3909
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-src"
|
|
3910
|
+
}
|
|
3911
|
+
],
|
|
3912
|
+
"priority": "highest",
|
|
3913
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon",
|
|
3914
|
+
"slots": [
|
|
3915
|
+
{
|
|
3916
|
+
"name": "",
|
|
3917
|
+
"description": "`svg` 图标的内容",
|
|
3918
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon#slot-"
|
|
3919
|
+
}
|
|
3920
|
+
],
|
|
3921
|
+
"js": {
|
|
3922
|
+
"properties": [
|
|
3923
|
+
{
|
|
3924
|
+
"name": "name",
|
|
3925
|
+
"description": "Material Icons 图标名",
|
|
3926
|
+
"value": {
|
|
3927
|
+
"type": "string"
|
|
3928
|
+
},
|
|
3929
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-name"
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
"name": "src",
|
|
3933
|
+
"description": "svg 图标的路径",
|
|
3934
|
+
"value": {
|
|
3935
|
+
"type": "string"
|
|
3936
|
+
},
|
|
3937
|
+
"doc-url": "https://www.mdui.org/docs/2/components/icon#attributes-src"
|
|
3938
|
+
}
|
|
3939
|
+
]
|
|
3940
|
+
}
|
|
3941
|
+
},
|
|
3942
3942
|
{
|
|
3943
3943
|
"name": "mdui-layout-item",
|
|
3944
3944
|
"description": "布局项组件\n\n```html\n<mdui-layout>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-item></mdui-layout-item>\n <mdui-layout-main></mdui-layout-main>\n</mdui-layout>\n```",
|