@genesislcap/foundation-ui 15.10.5 → 15.10.6
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/dist/custom-elements.json +829 -810
- package/dist/dts/combobox/combobox.d.ts.map +1 -1
- package/dist/dts/options-datasource/options-datasource.d.ts +8 -2
- package/dist/dts/options-datasource/options-datasource.d.ts.map +1 -1
- package/dist/dts/react.d.ts +8 -8
- package/dist/dts/utils/base-datasource.d.ts.map +1 -1
- package/dist/esm/combobox/combobox.js +21 -3
- package/dist/esm/options-datasource/options-datasource.js +36 -10
- package/dist/esm/utils/base-datasource.js +13 -9
- package/dist/foundation-ui.d.ts +8 -2
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +19 -19
|
@@ -1350,472 +1350,6 @@
|
|
|
1350
1350
|
}
|
|
1351
1351
|
]
|
|
1352
1352
|
},
|
|
1353
|
-
{
|
|
1354
|
-
"kind": "javascript-module",
|
|
1355
|
-
"path": "src/_common/affix-mixin.ts",
|
|
1356
|
-
"declarations": [
|
|
1357
|
-
{
|
|
1358
|
-
"kind": "mixin",
|
|
1359
|
-
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
1360
|
-
"name": "AffixMixin",
|
|
1361
|
-
"members": [
|
|
1362
|
-
{
|
|
1363
|
-
"kind": "field",
|
|
1364
|
-
"name": "prefix",
|
|
1365
|
-
"type": {
|
|
1366
|
-
"text": "string"
|
|
1367
|
-
},
|
|
1368
|
-
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
"kind": "field",
|
|
1372
|
-
"name": "suffix",
|
|
1373
|
-
"type": {
|
|
1374
|
-
"text": "string"
|
|
1375
|
-
},
|
|
1376
|
-
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
"kind": "field",
|
|
1380
|
-
"name": "hideAffixFromScreenReader",
|
|
1381
|
-
"type": {
|
|
1382
|
-
"text": "boolean"
|
|
1383
|
-
},
|
|
1384
|
-
"default": "false",
|
|
1385
|
-
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
1386
|
-
}
|
|
1387
|
-
],
|
|
1388
|
-
"parameters": [
|
|
1389
|
-
{
|
|
1390
|
-
"name": "Base",
|
|
1391
|
-
"type": {
|
|
1392
|
-
"text": "TBase"
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
]
|
|
1396
|
-
}
|
|
1397
|
-
],
|
|
1398
|
-
"exports": [
|
|
1399
|
-
{
|
|
1400
|
-
"kind": "js",
|
|
1401
|
-
"name": "AffixMixin",
|
|
1402
|
-
"declaration": {
|
|
1403
|
-
"name": "AffixMixin",
|
|
1404
|
-
"module": "src/_common/affix-mixin.ts"
|
|
1405
|
-
}
|
|
1406
|
-
}
|
|
1407
|
-
]
|
|
1408
|
-
},
|
|
1409
|
-
{
|
|
1410
|
-
"kind": "javascript-module",
|
|
1411
|
-
"path": "src/_common/base-file-component.ts",
|
|
1412
|
-
"declarations": [
|
|
1413
|
-
{
|
|
1414
|
-
"kind": "class",
|
|
1415
|
-
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
1416
|
-
"name": "BaseFileComponent",
|
|
1417
|
-
"members": [
|
|
1418
|
-
{
|
|
1419
|
-
"kind": "field",
|
|
1420
|
-
"name": "fileInput",
|
|
1421
|
-
"type": {
|
|
1422
|
-
"text": "HTMLInputElement"
|
|
1423
|
-
},
|
|
1424
|
-
"privacy": "public"
|
|
1425
|
-
},
|
|
1426
|
-
{
|
|
1427
|
-
"kind": "field",
|
|
1428
|
-
"name": "selectedFile",
|
|
1429
|
-
"type": {
|
|
1430
|
-
"text": "File | null"
|
|
1431
|
-
},
|
|
1432
|
-
"privacy": "protected",
|
|
1433
|
-
"default": "null"
|
|
1434
|
-
},
|
|
1435
|
-
{
|
|
1436
|
-
"kind": "field",
|
|
1437
|
-
"name": "label",
|
|
1438
|
-
"type": {
|
|
1439
|
-
"text": "string"
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
"kind": "field",
|
|
1444
|
-
"name": "accept",
|
|
1445
|
-
"type": {
|
|
1446
|
-
"text": "string"
|
|
1447
|
-
},
|
|
1448
|
-
"default": "''"
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
"kind": "field",
|
|
1452
|
-
"name": "fileSizeLimitBytes",
|
|
1453
|
-
"default": "10_485_760",
|
|
1454
|
-
"type": {
|
|
1455
|
-
"text": "number"
|
|
1456
|
-
}
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
"kind": "field",
|
|
1460
|
-
"name": "fileName",
|
|
1461
|
-
"type": {
|
|
1462
|
-
"text": "string"
|
|
1463
|
-
},
|
|
1464
|
-
"default": "''"
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"kind": "field",
|
|
1468
|
-
"name": "isProcessing",
|
|
1469
|
-
"type": {
|
|
1470
|
-
"text": "boolean"
|
|
1471
|
-
},
|
|
1472
|
-
"default": "false"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"kind": "method",
|
|
1476
|
-
"name": "handleClick",
|
|
1477
|
-
"privacy": "public",
|
|
1478
|
-
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
"kind": "method",
|
|
1482
|
-
"name": "onInputChange",
|
|
1483
|
-
"privacy": "public",
|
|
1484
|
-
"parameters": [
|
|
1485
|
-
{
|
|
1486
|
-
"name": "e",
|
|
1487
|
-
"type": {
|
|
1488
|
-
"text": "Event"
|
|
1489
|
-
},
|
|
1490
|
-
"description": "The change event from the file input"
|
|
1491
|
-
}
|
|
1492
|
-
],
|
|
1493
|
-
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
1494
|
-
},
|
|
1495
|
-
{
|
|
1496
|
-
"kind": "method",
|
|
1497
|
-
"name": "clearSelection",
|
|
1498
|
-
"privacy": "public",
|
|
1499
|
-
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"kind": "method",
|
|
1503
|
-
"name": "getSelectedFile",
|
|
1504
|
-
"privacy": "public",
|
|
1505
|
-
"description": "Gets the currently selected file object",
|
|
1506
|
-
"return": {
|
|
1507
|
-
"type": {
|
|
1508
|
-
"text": ""
|
|
1509
|
-
}
|
|
1510
|
-
}
|
|
1511
|
-
},
|
|
1512
|
-
{
|
|
1513
|
-
"kind": "method",
|
|
1514
|
-
"name": "showError",
|
|
1515
|
-
"privacy": "protected",
|
|
1516
|
-
"parameters": [
|
|
1517
|
-
{
|
|
1518
|
-
"name": "title",
|
|
1519
|
-
"type": {
|
|
1520
|
-
"text": "string"
|
|
1521
|
-
},
|
|
1522
|
-
"description": "The error title"
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
"name": "message",
|
|
1526
|
-
"type": {
|
|
1527
|
-
"text": "string"
|
|
1528
|
-
},
|
|
1529
|
-
"description": "The error message"
|
|
1530
|
-
}
|
|
1531
|
-
],
|
|
1532
|
-
"description": "Shows an error notification using the unified error handling system"
|
|
1533
|
-
},
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "method",
|
|
1536
|
-
"name": "onFileSelected",
|
|
1537
|
-
"privacy": "protected",
|
|
1538
|
-
"return": {
|
|
1539
|
-
"type": {
|
|
1540
|
-
"text": "void"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
"parameters": [
|
|
1544
|
-
{
|
|
1545
|
-
"name": "files",
|
|
1546
|
-
"type": {
|
|
1547
|
-
"text": "File[]"
|
|
1548
|
-
},
|
|
1549
|
-
"description": "The selected file"
|
|
1550
|
-
}
|
|
1551
|
-
],
|
|
1552
|
-
"description": "Abstract method called when a file is selected"
|
|
1553
|
-
},
|
|
1554
|
-
{
|
|
1555
|
-
"kind": "method",
|
|
1556
|
-
"name": "onFileCleared",
|
|
1557
|
-
"privacy": "protected",
|
|
1558
|
-
"return": {
|
|
1559
|
-
"type": {
|
|
1560
|
-
"text": "void"
|
|
1561
|
-
}
|
|
1562
|
-
},
|
|
1563
|
-
"description": "Abstract method called when file selection is cleared"
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
"kind": "field",
|
|
1567
|
-
"name": "_presentation",
|
|
1568
|
-
"type": {
|
|
1569
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1570
|
-
},
|
|
1571
|
-
"privacy": "private",
|
|
1572
|
-
"default": "void 0",
|
|
1573
|
-
"inheritedFrom": {
|
|
1574
|
-
"name": "FoundationElement",
|
|
1575
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1576
|
-
}
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
"kind": "field",
|
|
1580
|
-
"name": "$presentation",
|
|
1581
|
-
"type": {
|
|
1582
|
-
"text": "ComponentPresentation | null"
|
|
1583
|
-
},
|
|
1584
|
-
"privacy": "public",
|
|
1585
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1586
|
-
"inheritedFrom": {
|
|
1587
|
-
"name": "FoundationElement",
|
|
1588
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1589
|
-
}
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
"kind": "field",
|
|
1593
|
-
"name": "template",
|
|
1594
|
-
"type": {
|
|
1595
|
-
"text": "ElementViewTemplate | void | null"
|
|
1596
|
-
},
|
|
1597
|
-
"privacy": "public",
|
|
1598
|
-
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
1599
|
-
"inheritedFrom": {
|
|
1600
|
-
"name": "FoundationElement",
|
|
1601
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1602
|
-
}
|
|
1603
|
-
},
|
|
1604
|
-
{
|
|
1605
|
-
"kind": "method",
|
|
1606
|
-
"name": "templateChanged",
|
|
1607
|
-
"privacy": "protected",
|
|
1608
|
-
"return": {
|
|
1609
|
-
"type": {
|
|
1610
|
-
"text": "void"
|
|
1611
|
-
}
|
|
1612
|
-
},
|
|
1613
|
-
"inheritedFrom": {
|
|
1614
|
-
"name": "FoundationElement",
|
|
1615
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1616
|
-
}
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"kind": "field",
|
|
1620
|
-
"name": "styles",
|
|
1621
|
-
"type": {
|
|
1622
|
-
"text": "ElementStyles | void | null"
|
|
1623
|
-
},
|
|
1624
|
-
"privacy": "public",
|
|
1625
|
-
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
1626
|
-
"inheritedFrom": {
|
|
1627
|
-
"name": "FoundationElement",
|
|
1628
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1629
|
-
}
|
|
1630
|
-
},
|
|
1631
|
-
{
|
|
1632
|
-
"kind": "method",
|
|
1633
|
-
"name": "stylesChanged",
|
|
1634
|
-
"privacy": "protected",
|
|
1635
|
-
"return": {
|
|
1636
|
-
"type": {
|
|
1637
|
-
"text": "void"
|
|
1638
|
-
}
|
|
1639
|
-
},
|
|
1640
|
-
"inheritedFrom": {
|
|
1641
|
-
"name": "FoundationElement",
|
|
1642
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
{
|
|
1646
|
-
"kind": "method",
|
|
1647
|
-
"name": "compose",
|
|
1648
|
-
"privacy": "public",
|
|
1649
|
-
"static": true,
|
|
1650
|
-
"return": {
|
|
1651
|
-
"type": {
|
|
1652
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1653
|
-
}
|
|
1654
|
-
},
|
|
1655
|
-
"parameters": [
|
|
1656
|
-
{
|
|
1657
|
-
"name": "this",
|
|
1658
|
-
"type": {
|
|
1659
|
-
"text": "K"
|
|
1660
|
-
}
|
|
1661
|
-
},
|
|
1662
|
-
{
|
|
1663
|
-
"name": "elementDefinition",
|
|
1664
|
-
"type": {
|
|
1665
|
-
"text": "T"
|
|
1666
|
-
},
|
|
1667
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1668
|
-
}
|
|
1669
|
-
],
|
|
1670
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1671
|
-
"inheritedFrom": {
|
|
1672
|
-
"name": "FoundationElement",
|
|
1673
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1676
|
-
],
|
|
1677
|
-
"events": [
|
|
1678
|
-
{
|
|
1679
|
-
"description": "Fired when file size validation fails. detail: `Error`",
|
|
1680
|
-
"name": "error"
|
|
1681
|
-
},
|
|
1682
|
-
{
|
|
1683
|
-
"description": "Fired when selection is cleared",
|
|
1684
|
-
"name": "clear"
|
|
1685
|
-
}
|
|
1686
|
-
],
|
|
1687
|
-
"attributes": [
|
|
1688
|
-
{
|
|
1689
|
-
"name": "label",
|
|
1690
|
-
"type": {
|
|
1691
|
-
"text": "string"
|
|
1692
|
-
},
|
|
1693
|
-
"fieldName": "label"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
"name": "accept",
|
|
1697
|
-
"type": {
|
|
1698
|
-
"text": "string"
|
|
1699
|
-
},
|
|
1700
|
-
"default": "''",
|
|
1701
|
-
"fieldName": "accept"
|
|
1702
|
-
},
|
|
1703
|
-
{
|
|
1704
|
-
"name": "file-size-limit-bytes",
|
|
1705
|
-
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
1706
|
-
"resolveInitializer": {
|
|
1707
|
-
"module": "src/_common/base-file-component.ts"
|
|
1708
|
-
},
|
|
1709
|
-
"fieldName": "fileSizeLimitBytes"
|
|
1710
|
-
}
|
|
1711
|
-
],
|
|
1712
|
-
"superclass": {
|
|
1713
|
-
"name": "FoundationElement",
|
|
1714
|
-
"package": "@microsoft/fast-foundation"
|
|
1715
|
-
}
|
|
1716
|
-
}
|
|
1717
|
-
],
|
|
1718
|
-
"exports": [
|
|
1719
|
-
{
|
|
1720
|
-
"kind": "js",
|
|
1721
|
-
"name": "BaseFileComponent",
|
|
1722
|
-
"declaration": {
|
|
1723
|
-
"name": "BaseFileComponent",
|
|
1724
|
-
"module": "src/_common/base-file-component.ts"
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
]
|
|
1728
|
-
},
|
|
1729
|
-
{
|
|
1730
|
-
"kind": "javascript-module",
|
|
1731
|
-
"path": "src/_common/field-styles.ts",
|
|
1732
|
-
"declarations": [
|
|
1733
|
-
{
|
|
1734
|
-
"kind": "variable",
|
|
1735
|
-
"name": "sharedFieldStyles",
|
|
1736
|
-
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
1737
|
-
}
|
|
1738
|
-
],
|
|
1739
|
-
"exports": [
|
|
1740
|
-
{
|
|
1741
|
-
"kind": "js",
|
|
1742
|
-
"name": "sharedFieldStyles",
|
|
1743
|
-
"declaration": {
|
|
1744
|
-
"name": "sharedFieldStyles",
|
|
1745
|
-
"module": "src/_common/field-styles.ts"
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
]
|
|
1749
|
-
},
|
|
1750
|
-
{
|
|
1751
|
-
"kind": "javascript-module",
|
|
1752
|
-
"path": "src/_common/icons.ts",
|
|
1753
|
-
"declarations": [
|
|
1754
|
-
{
|
|
1755
|
-
"kind": "function",
|
|
1756
|
-
"name": "closeIcon",
|
|
1757
|
-
"parameters": [
|
|
1758
|
-
{
|
|
1759
|
-
"name": "slot",
|
|
1760
|
-
"default": "'start'"
|
|
1761
|
-
},
|
|
1762
|
-
{
|
|
1763
|
-
"name": "fill",
|
|
1764
|
-
"default": "'#879ba6'"
|
|
1765
|
-
}
|
|
1766
|
-
]
|
|
1767
|
-
}
|
|
1768
|
-
],
|
|
1769
|
-
"exports": [
|
|
1770
|
-
{
|
|
1771
|
-
"kind": "js",
|
|
1772
|
-
"name": "closeIcon",
|
|
1773
|
-
"declaration": {
|
|
1774
|
-
"name": "closeIcon",
|
|
1775
|
-
"module": "src/_common/icons.ts"
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
]
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"kind": "javascript-module",
|
|
1782
|
-
"path": "src/_common/index.ts",
|
|
1783
|
-
"declarations": [],
|
|
1784
|
-
"exports": [
|
|
1785
|
-
{
|
|
1786
|
-
"kind": "js",
|
|
1787
|
-
"name": "*",
|
|
1788
|
-
"declaration": {
|
|
1789
|
-
"name": "*",
|
|
1790
|
-
"package": "./affix-mixin"
|
|
1791
|
-
}
|
|
1792
|
-
},
|
|
1793
|
-
{
|
|
1794
|
-
"kind": "js",
|
|
1795
|
-
"name": "*",
|
|
1796
|
-
"declaration": {
|
|
1797
|
-
"name": "*",
|
|
1798
|
-
"package": "./base-file-component"
|
|
1799
|
-
}
|
|
1800
|
-
},
|
|
1801
|
-
{
|
|
1802
|
-
"kind": "js",
|
|
1803
|
-
"name": "*",
|
|
1804
|
-
"declaration": {
|
|
1805
|
-
"name": "*",
|
|
1806
|
-
"package": "./field-styles"
|
|
1807
|
-
}
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"kind": "js",
|
|
1811
|
-
"name": "*",
|
|
1812
|
-
"declaration": {
|
|
1813
|
-
"name": "*",
|
|
1814
|
-
"package": "./icons"
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
]
|
|
1818
|
-
},
|
|
1819
1353
|
{
|
|
1820
1354
|
"kind": "javascript-module",
|
|
1821
1355
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -2998,11 +2532,11 @@
|
|
|
2998
2532
|
},
|
|
2999
2533
|
{
|
|
3000
2534
|
"kind": "javascript-module",
|
|
3001
|
-
"path": "src/
|
|
2535
|
+
"path": "src/ai-indicator/ai-indicator.styles.ts",
|
|
3002
2536
|
"declarations": [
|
|
3003
2537
|
{
|
|
3004
2538
|
"kind": "function",
|
|
3005
|
-
"name": "
|
|
2539
|
+
"name": "foundationAiIndicatorStyles",
|
|
3006
2540
|
"return": {
|
|
3007
2541
|
"type": {
|
|
3008
2542
|
"text": "ElementStyles"
|
|
@@ -3027,246 +2561,609 @@
|
|
|
3027
2561
|
"exports": [
|
|
3028
2562
|
{
|
|
3029
2563
|
"kind": "js",
|
|
3030
|
-
"name": "
|
|
2564
|
+
"name": "foundationAiIndicatorStyles",
|
|
3031
2565
|
"declaration": {
|
|
3032
|
-
"name": "
|
|
3033
|
-
"module": "src/
|
|
2566
|
+
"name": "foundationAiIndicatorStyles",
|
|
2567
|
+
"module": "src/ai-indicator/ai-indicator.styles.ts"
|
|
3034
2568
|
}
|
|
3035
2569
|
}
|
|
3036
2570
|
]
|
|
3037
2571
|
},
|
|
3038
2572
|
{
|
|
3039
2573
|
"kind": "javascript-module",
|
|
3040
|
-
"path": "src/
|
|
2574
|
+
"path": "src/ai-indicator/ai-indicator.template.ts",
|
|
3041
2575
|
"declarations": [
|
|
3042
2576
|
{
|
|
3043
|
-
"kind": "
|
|
3044
|
-
"name": "
|
|
3045
|
-
"
|
|
3046
|
-
"
|
|
3047
|
-
"text": "ViewTemplate<Accordion>"
|
|
3048
|
-
}
|
|
2577
|
+
"kind": "variable",
|
|
2578
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2579
|
+
"type": {
|
|
2580
|
+
"text": "ViewTemplate<AiIndicator>"
|
|
3049
2581
|
},
|
|
3050
|
-
"
|
|
3051
|
-
{
|
|
3052
|
-
"name": "context",
|
|
3053
|
-
"type": {
|
|
3054
|
-
"text": "ElementDefinitionContext"
|
|
3055
|
-
}
|
|
3056
|
-
},
|
|
3057
|
-
{
|
|
3058
|
-
"name": "definition",
|
|
3059
|
-
"type": {
|
|
3060
|
-
"text": "FoundationElementDefinition"
|
|
3061
|
-
}
|
|
3062
|
-
}
|
|
3063
|
-
]
|
|
2582
|
+
"default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
|
|
3064
2583
|
}
|
|
3065
2584
|
],
|
|
3066
2585
|
"exports": [
|
|
3067
2586
|
{
|
|
3068
2587
|
"kind": "js",
|
|
3069
|
-
"name": "
|
|
2588
|
+
"name": "foundationAiIndicatorTemplate",
|
|
3070
2589
|
"declaration": {
|
|
3071
|
-
"name": "
|
|
3072
|
-
"module": "src/
|
|
2590
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2591
|
+
"module": "src/ai-indicator/ai-indicator.template.ts"
|
|
3073
2592
|
}
|
|
3074
2593
|
}
|
|
3075
2594
|
]
|
|
3076
2595
|
},
|
|
3077
2596
|
{
|
|
3078
2597
|
"kind": "javascript-module",
|
|
3079
|
-
"path": "src/
|
|
2598
|
+
"path": "src/ai-indicator/ai-indicator.ts",
|
|
3080
2599
|
"declarations": [
|
|
3081
2600
|
{
|
|
3082
2601
|
"kind": "class",
|
|
3083
2602
|
"description": "",
|
|
3084
|
-
"name": "
|
|
3085
|
-
"
|
|
3086
|
-
"name": "FASTAccordion",
|
|
3087
|
-
"package": "@microsoft/fast-foundation"
|
|
3088
|
-
},
|
|
3089
|
-
"tagName": "%%prefix%%-accordion",
|
|
3090
|
-
"customElement": true,
|
|
3091
|
-
"attributes": [
|
|
2603
|
+
"name": "AiIndicator",
|
|
2604
|
+
"members": [
|
|
3092
2605
|
{
|
|
3093
|
-
"
|
|
2606
|
+
"kind": "field",
|
|
2607
|
+
"name": "providerRegistry",
|
|
3094
2608
|
"type": {
|
|
3095
|
-
"text": "
|
|
3096
|
-
},
|
|
3097
|
-
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3098
|
-
"fieldName": "expandmode",
|
|
3099
|
-
"inheritedFrom": {
|
|
3100
|
-
"name": "Accordion",
|
|
3101
|
-
"module": "src/accordion/accordion.ts"
|
|
2609
|
+
"text": "AIProviderRegistry"
|
|
3102
2610
|
}
|
|
3103
|
-
}
|
|
3104
|
-
],
|
|
3105
|
-
"members": [
|
|
2611
|
+
},
|
|
3106
2612
|
{
|
|
3107
2613
|
"kind": "field",
|
|
3108
|
-
"name": "
|
|
2614
|
+
"name": "aiProvider",
|
|
3109
2615
|
"type": {
|
|
3110
|
-
"text": "
|
|
2616
|
+
"text": "AIProvider | undefined"
|
|
3111
2617
|
},
|
|
3112
|
-
"privacy": "
|
|
3113
|
-
"description": "
|
|
3114
|
-
"
|
|
3115
|
-
"name": "Accordion",
|
|
3116
|
-
"module": "src/accordion/accordion.ts"
|
|
3117
|
-
}
|
|
2618
|
+
"privacy": "private",
|
|
2619
|
+
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
2620
|
+
"readonly": true
|
|
3118
2621
|
},
|
|
3119
2622
|
{
|
|
3120
2623
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
2624
|
+
"name": "status",
|
|
3122
2625
|
"type": {
|
|
3123
|
-
"text": "
|
|
2626
|
+
"text": "AIStatus | null"
|
|
3124
2627
|
},
|
|
3125
|
-
"
|
|
3126
|
-
"inheritedFrom": {
|
|
3127
|
-
"name": "Accordion",
|
|
3128
|
-
"module": "src/accordion/accordion.ts"
|
|
3129
|
-
}
|
|
2628
|
+
"default": "null"
|
|
3130
2629
|
},
|
|
3131
2630
|
{
|
|
3132
2631
|
"kind": "field",
|
|
3133
|
-
"name": "
|
|
2632
|
+
"name": "open",
|
|
3134
2633
|
"type": {
|
|
3135
|
-
"text": "
|
|
2634
|
+
"text": "boolean"
|
|
3136
2635
|
},
|
|
3137
|
-
"
|
|
3138
|
-
"default": "0",
|
|
3139
|
-
"inheritedFrom": {
|
|
3140
|
-
"name": "Accordion",
|
|
3141
|
-
"module": "src/accordion/accordion.ts"
|
|
3142
|
-
}
|
|
2636
|
+
"default": "false"
|
|
3143
2637
|
},
|
|
3144
2638
|
{
|
|
3145
2639
|
"kind": "field",
|
|
3146
|
-
"name": "
|
|
2640
|
+
"name": "state",
|
|
3147
2641
|
"type": {
|
|
3148
|
-
"text": "
|
|
2642
|
+
"text": "AIIndicatorState"
|
|
2643
|
+
},
|
|
2644
|
+
"default": "'none'"
|
|
2645
|
+
},
|
|
2646
|
+
{
|
|
2647
|
+
"kind": "field",
|
|
2648
|
+
"name": "isInstalling",
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "boolean"
|
|
2651
|
+
},
|
|
2652
|
+
"default": "false"
|
|
2653
|
+
},
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "field",
|
|
2656
|
+
"name": "pollTimer",
|
|
2657
|
+
"type": {
|
|
2658
|
+
"text": "ReturnType<typeof setInterval> | null"
|
|
3149
2659
|
},
|
|
3150
2660
|
"privacy": "private",
|
|
3151
|
-
"
|
|
3152
|
-
"name": "Accordion",
|
|
3153
|
-
"module": "src/accordion/accordion.ts"
|
|
3154
|
-
}
|
|
2661
|
+
"default": "null"
|
|
3155
2662
|
},
|
|
3156
2663
|
{
|
|
3157
2664
|
"kind": "field",
|
|
3158
|
-
"name": "
|
|
2665
|
+
"name": "clickOutside",
|
|
2666
|
+
"privacy": "private"
|
|
2667
|
+
},
|
|
2668
|
+
{
|
|
2669
|
+
"kind": "field",
|
|
2670
|
+
"name": "chromeStatusLabel",
|
|
2671
|
+
"type": {
|
|
2672
|
+
"text": "string | null"
|
|
2673
|
+
},
|
|
2674
|
+
"readonly": true
|
|
2675
|
+
},
|
|
2676
|
+
{
|
|
2677
|
+
"kind": "field",
|
|
2678
|
+
"name": "canInstall",
|
|
2679
|
+
"type": {
|
|
2680
|
+
"text": "boolean"
|
|
2681
|
+
},
|
|
2682
|
+
"readonly": true
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"kind": "field",
|
|
2686
|
+
"name": "isDownloading",
|
|
2687
|
+
"type": {
|
|
2688
|
+
"text": "boolean"
|
|
2689
|
+
},
|
|
2690
|
+
"readonly": true
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"kind": "method",
|
|
2694
|
+
"name": "openChanged",
|
|
2695
|
+
"return": {
|
|
2696
|
+
"type": {
|
|
2697
|
+
"text": "void"
|
|
2698
|
+
}
|
|
2699
|
+
}
|
|
2700
|
+
},
|
|
2701
|
+
{
|
|
2702
|
+
"kind": "method",
|
|
2703
|
+
"name": "handleClickOutside",
|
|
3159
2704
|
"privacy": "private",
|
|
3160
|
-
"
|
|
3161
|
-
|
|
3162
|
-
|
|
2705
|
+
"parameters": [
|
|
2706
|
+
{
|
|
2707
|
+
"name": "event",
|
|
2708
|
+
"type": {
|
|
2709
|
+
"text": "MouseEvent"
|
|
2710
|
+
}
|
|
2711
|
+
}
|
|
2712
|
+
]
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"kind": "method",
|
|
2716
|
+
"name": "toggleDropdown"
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
"kind": "method",
|
|
2720
|
+
"name": "refreshStatus",
|
|
2721
|
+
"return": {
|
|
2722
|
+
"type": {
|
|
2723
|
+
"text": "Promise<void>"
|
|
2724
|
+
}
|
|
3163
2725
|
}
|
|
3164
2726
|
},
|
|
3165
2727
|
{
|
|
3166
2728
|
"kind": "method",
|
|
3167
|
-
"name": "
|
|
2729
|
+
"name": "deriveState",
|
|
3168
2730
|
"privacy": "private",
|
|
3169
2731
|
"return": {
|
|
3170
2732
|
"type": {
|
|
3171
|
-
"text": "
|
|
2733
|
+
"text": "AIIndicatorState"
|
|
3172
2734
|
}
|
|
3173
2735
|
},
|
|
3174
|
-
"
|
|
3175
|
-
|
|
3176
|
-
|
|
2736
|
+
"parameters": [
|
|
2737
|
+
{
|
|
2738
|
+
"name": "s",
|
|
2739
|
+
"type": {
|
|
2740
|
+
"text": "AIStatus | null"
|
|
2741
|
+
}
|
|
2742
|
+
}
|
|
2743
|
+
]
|
|
2744
|
+
},
|
|
2745
|
+
{
|
|
2746
|
+
"kind": "method",
|
|
2747
|
+
"name": "maybeStartPolling",
|
|
2748
|
+
"privacy": "private",
|
|
2749
|
+
"return": {
|
|
2750
|
+
"type": {
|
|
2751
|
+
"text": "void"
|
|
2752
|
+
}
|
|
3177
2753
|
}
|
|
3178
2754
|
},
|
|
3179
2755
|
{
|
|
3180
|
-
"kind": "
|
|
3181
|
-
"name": "
|
|
2756
|
+
"kind": "method",
|
|
2757
|
+
"name": "startPolling",
|
|
3182
2758
|
"privacy": "private",
|
|
3183
|
-
"
|
|
3184
|
-
"
|
|
3185
|
-
|
|
2759
|
+
"return": {
|
|
2760
|
+
"type": {
|
|
2761
|
+
"text": "void"
|
|
2762
|
+
}
|
|
3186
2763
|
}
|
|
3187
2764
|
},
|
|
3188
2765
|
{
|
|
3189
2766
|
"kind": "method",
|
|
3190
|
-
"name": "
|
|
2767
|
+
"name": "stopPolling",
|
|
3191
2768
|
"privacy": "private",
|
|
3192
2769
|
"return": {
|
|
3193
2770
|
"type": {
|
|
3194
2771
|
"text": "void"
|
|
3195
2772
|
}
|
|
2773
|
+
}
|
|
2774
|
+
},
|
|
2775
|
+
{
|
|
2776
|
+
"kind": "method",
|
|
2777
|
+
"name": "onInstall",
|
|
2778
|
+
"return": {
|
|
2779
|
+
"type": {
|
|
2780
|
+
"text": "Promise<void>"
|
|
2781
|
+
}
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"kind": "field",
|
|
2786
|
+
"name": "_presentation",
|
|
2787
|
+
"type": {
|
|
2788
|
+
"text": "ComponentPresentation | null | undefined"
|
|
3196
2789
|
},
|
|
2790
|
+
"privacy": "private",
|
|
2791
|
+
"default": "void 0",
|
|
3197
2792
|
"inheritedFrom": {
|
|
3198
|
-
"name": "
|
|
3199
|
-
"module": "src/
|
|
2793
|
+
"name": "FoundationElement",
|
|
2794
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3200
2795
|
}
|
|
3201
2796
|
},
|
|
3202
2797
|
{
|
|
3203
2798
|
"kind": "field",
|
|
3204
|
-
"name": "
|
|
3205
|
-
"
|
|
2799
|
+
"name": "$presentation",
|
|
2800
|
+
"type": {
|
|
2801
|
+
"text": "ComponentPresentation | null"
|
|
2802
|
+
},
|
|
2803
|
+
"privacy": "public",
|
|
2804
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3206
2805
|
"inheritedFrom": {
|
|
3207
|
-
"name": "
|
|
3208
|
-
"module": "src/
|
|
2806
|
+
"name": "FoundationElement",
|
|
2807
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3209
2808
|
}
|
|
3210
2809
|
},
|
|
3211
2810
|
{
|
|
3212
2811
|
"kind": "field",
|
|
3213
|
-
"name": "
|
|
3214
|
-
"
|
|
2812
|
+
"name": "template",
|
|
2813
|
+
"type": {
|
|
2814
|
+
"text": "ElementViewTemplate | void | null"
|
|
2815
|
+
},
|
|
2816
|
+
"privacy": "public",
|
|
2817
|
+
"description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
|
|
3215
2818
|
"inheritedFrom": {
|
|
3216
|
-
"name": "
|
|
3217
|
-
"module": "src/
|
|
2819
|
+
"name": "FoundationElement",
|
|
2820
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3218
2821
|
}
|
|
3219
2822
|
},
|
|
3220
2823
|
{
|
|
3221
2824
|
"kind": "method",
|
|
3222
|
-
"name": "
|
|
3223
|
-
"privacy": "
|
|
2825
|
+
"name": "templateChanged",
|
|
2826
|
+
"privacy": "protected",
|
|
3224
2827
|
"return": {
|
|
3225
2828
|
"type": {
|
|
3226
|
-
"text": "
|
|
2829
|
+
"text": "void"
|
|
3227
2830
|
}
|
|
3228
2831
|
},
|
|
3229
2832
|
"inheritedFrom": {
|
|
3230
|
-
"name": "
|
|
3231
|
-
"module": "src/
|
|
2833
|
+
"name": "FoundationElement",
|
|
2834
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2835
|
+
}
|
|
2836
|
+
},
|
|
2837
|
+
{
|
|
2838
|
+
"kind": "field",
|
|
2839
|
+
"name": "styles",
|
|
2840
|
+
"type": {
|
|
2841
|
+
"text": "ElementStyles | void | null"
|
|
2842
|
+
},
|
|
2843
|
+
"privacy": "public",
|
|
2844
|
+
"description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
|
|
2845
|
+
"inheritedFrom": {
|
|
2846
|
+
"name": "FoundationElement",
|
|
2847
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3232
2848
|
}
|
|
3233
2849
|
},
|
|
3234
2850
|
{
|
|
3235
2851
|
"kind": "method",
|
|
3236
|
-
"name": "
|
|
3237
|
-
"privacy": "
|
|
2852
|
+
"name": "stylesChanged",
|
|
2853
|
+
"privacy": "protected",
|
|
3238
2854
|
"return": {
|
|
3239
2855
|
"type": {
|
|
3240
|
-
"text": "
|
|
2856
|
+
"text": "void"
|
|
3241
2857
|
}
|
|
3242
2858
|
},
|
|
3243
2859
|
"inheritedFrom": {
|
|
3244
|
-
"name": "
|
|
3245
|
-
"module": "src/
|
|
2860
|
+
"name": "FoundationElement",
|
|
2861
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
3246
2862
|
}
|
|
3247
2863
|
},
|
|
3248
2864
|
{
|
|
3249
|
-
"kind": "
|
|
3250
|
-
"name": "
|
|
3251
|
-
"privacy": "
|
|
2865
|
+
"kind": "method",
|
|
2866
|
+
"name": "compose",
|
|
2867
|
+
"privacy": "public",
|
|
2868
|
+
"static": true,
|
|
2869
|
+
"return": {
|
|
2870
|
+
"type": {
|
|
2871
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
2872
|
+
}
|
|
2873
|
+
},
|
|
2874
|
+
"parameters": [
|
|
2875
|
+
{
|
|
2876
|
+
"name": "this",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "K"
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"name": "elementDefinition",
|
|
2883
|
+
"type": {
|
|
2884
|
+
"text": "T"
|
|
2885
|
+
},
|
|
2886
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
2887
|
+
}
|
|
2888
|
+
],
|
|
2889
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3252
2890
|
"inheritedFrom": {
|
|
3253
|
-
"name": "
|
|
3254
|
-
"module": "src/
|
|
2891
|
+
"name": "FoundationElement",
|
|
2892
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
],
|
|
2896
|
+
"superclass": {
|
|
2897
|
+
"name": "FoundationElement",
|
|
2898
|
+
"package": "@microsoft/fast-foundation"
|
|
2899
|
+
},
|
|
2900
|
+
"tagName": "%%prefix%%-ai-indicator",
|
|
2901
|
+
"customElement": true
|
|
2902
|
+
},
|
|
2903
|
+
{
|
|
2904
|
+
"kind": "variable",
|
|
2905
|
+
"name": "foundationAiIndicator"
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
"exports": [
|
|
2909
|
+
{
|
|
2910
|
+
"kind": "js",
|
|
2911
|
+
"name": "AiIndicator",
|
|
2912
|
+
"declaration": {
|
|
2913
|
+
"name": "AiIndicator",
|
|
2914
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2915
|
+
}
|
|
2916
|
+
},
|
|
2917
|
+
{
|
|
2918
|
+
"kind": "js",
|
|
2919
|
+
"name": "foundationAiIndicator",
|
|
2920
|
+
"declaration": {
|
|
2921
|
+
"name": "foundationAiIndicator",
|
|
2922
|
+
"module": "src/ai-indicator/ai-indicator.ts"
|
|
2923
|
+
}
|
|
2924
|
+
}
|
|
2925
|
+
]
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"kind": "javascript-module",
|
|
2929
|
+
"path": "src/ai-indicator/index.ts",
|
|
2930
|
+
"declarations": [],
|
|
2931
|
+
"exports": [
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "js",
|
|
2934
|
+
"name": "AiIndicator",
|
|
2935
|
+
"declaration": {
|
|
2936
|
+
"name": "AiIndicator",
|
|
2937
|
+
"module": "./ai-indicator"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "js",
|
|
2942
|
+
"name": "foundationAiIndicator",
|
|
2943
|
+
"declaration": {
|
|
2944
|
+
"name": "foundationAiIndicator",
|
|
2945
|
+
"module": "./ai-indicator"
|
|
2946
|
+
}
|
|
2947
|
+
},
|
|
2948
|
+
{
|
|
2949
|
+
"kind": "js",
|
|
2950
|
+
"name": "type",
|
|
2951
|
+
"declaration": {
|
|
2952
|
+
"name": "type",
|
|
2953
|
+
"module": "./ai-indicator"
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
{
|
|
2957
|
+
"kind": "js",
|
|
2958
|
+
"name": "AIIndicatorState",
|
|
2959
|
+
"declaration": {
|
|
2960
|
+
"name": "AIIndicatorState",
|
|
2961
|
+
"module": "./ai-indicator"
|
|
2962
|
+
}
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "js",
|
|
2966
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2967
|
+
"declaration": {
|
|
2968
|
+
"name": "foundationAiIndicatorTemplate",
|
|
2969
|
+
"module": "./ai-indicator.template"
|
|
2970
|
+
}
|
|
2971
|
+
},
|
|
2972
|
+
{
|
|
2973
|
+
"kind": "js",
|
|
2974
|
+
"name": "foundationAiIndicatorStyles",
|
|
2975
|
+
"declaration": {
|
|
2976
|
+
"name": "foundationAiIndicatorStyles",
|
|
2977
|
+
"module": "./ai-indicator.styles"
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
]
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"kind": "javascript-module",
|
|
2984
|
+
"path": "src/_common/affix-mixin.ts",
|
|
2985
|
+
"declarations": [
|
|
2986
|
+
{
|
|
2987
|
+
"kind": "mixin",
|
|
2988
|
+
"description": "Mixin that adds prefix/suffix affix support with screen-reader handling to an input field component.\nShared between TextField and NumberField to keep the behaviour consistent and avoid duplication.",
|
|
2989
|
+
"name": "AffixMixin",
|
|
2990
|
+
"members": [
|
|
2991
|
+
{
|
|
2992
|
+
"kind": "field",
|
|
2993
|
+
"name": "prefix",
|
|
2994
|
+
"type": {
|
|
2995
|
+
"text": "string"
|
|
2996
|
+
},
|
|
2997
|
+
"description": "Optional non-editable label shown on the left inside the field, before the input."
|
|
2998
|
+
},
|
|
2999
|
+
{
|
|
3000
|
+
"kind": "field",
|
|
3001
|
+
"name": "suffix",
|
|
3002
|
+
"type": {
|
|
3003
|
+
"text": "string"
|
|
3004
|
+
},
|
|
3005
|
+
"description": "Optional non-editable suffix (e.g. unit label) shown on the right inside the field."
|
|
3006
|
+
},
|
|
3007
|
+
{
|
|
3008
|
+
"kind": "field",
|
|
3009
|
+
"name": "hideAffixFromScreenReader",
|
|
3010
|
+
"type": {
|
|
3011
|
+
"text": "boolean"
|
|
3012
|
+
},
|
|
3013
|
+
"default": "false",
|
|
3014
|
+
"description": "When true, prefix/suffix are not exposed to assistive technology (`aria-hidden` on affixes,\nand their ids are omitted from the control's `aria-describedby`).\nUse only when the unit or symbol is redundant with the visible label or other text."
|
|
3015
|
+
}
|
|
3016
|
+
],
|
|
3017
|
+
"parameters": [
|
|
3018
|
+
{
|
|
3019
|
+
"name": "Base",
|
|
3020
|
+
"type": {
|
|
3021
|
+
"text": "TBase"
|
|
3022
|
+
}
|
|
3023
|
+
}
|
|
3024
|
+
]
|
|
3025
|
+
}
|
|
3026
|
+
],
|
|
3027
|
+
"exports": [
|
|
3028
|
+
{
|
|
3029
|
+
"kind": "js",
|
|
3030
|
+
"name": "AffixMixin",
|
|
3031
|
+
"declaration": {
|
|
3032
|
+
"name": "AffixMixin",
|
|
3033
|
+
"module": "src/_common/affix-mixin.ts"
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
]
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"kind": "javascript-module",
|
|
3040
|
+
"path": "src/_common/base-file-component.ts",
|
|
3041
|
+
"declarations": [
|
|
3042
|
+
{
|
|
3043
|
+
"kind": "class",
|
|
3044
|
+
"description": "Abstract base class for file handling components\nProvides common functionality for file selection, validation, and UI state management",
|
|
3045
|
+
"name": "BaseFileComponent",
|
|
3046
|
+
"members": [
|
|
3047
|
+
{
|
|
3048
|
+
"kind": "field",
|
|
3049
|
+
"name": "fileInput",
|
|
3050
|
+
"type": {
|
|
3051
|
+
"text": "HTMLInputElement"
|
|
3052
|
+
},
|
|
3053
|
+
"privacy": "public"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
"kind": "field",
|
|
3057
|
+
"name": "selectedFile",
|
|
3058
|
+
"type": {
|
|
3059
|
+
"text": "File | null"
|
|
3060
|
+
},
|
|
3061
|
+
"privacy": "protected",
|
|
3062
|
+
"default": "null"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"kind": "field",
|
|
3066
|
+
"name": "label",
|
|
3067
|
+
"type": {
|
|
3068
|
+
"text": "string"
|
|
3255
3069
|
}
|
|
3256
3070
|
},
|
|
3257
3071
|
{
|
|
3258
3072
|
"kind": "field",
|
|
3259
|
-
"name": "
|
|
3260
|
-
"
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3073
|
+
"name": "accept",
|
|
3074
|
+
"type": {
|
|
3075
|
+
"text": "string"
|
|
3076
|
+
},
|
|
3077
|
+
"default": "''"
|
|
3078
|
+
},
|
|
3079
|
+
{
|
|
3080
|
+
"kind": "field",
|
|
3081
|
+
"name": "fileSizeLimitBytes",
|
|
3082
|
+
"default": "10_485_760",
|
|
3083
|
+
"type": {
|
|
3084
|
+
"text": "number"
|
|
3264
3085
|
}
|
|
3265
3086
|
},
|
|
3087
|
+
{
|
|
3088
|
+
"kind": "field",
|
|
3089
|
+
"name": "fileName",
|
|
3090
|
+
"type": {
|
|
3091
|
+
"text": "string"
|
|
3092
|
+
},
|
|
3093
|
+
"default": "''"
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "field",
|
|
3097
|
+
"name": "isProcessing",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "boolean"
|
|
3100
|
+
},
|
|
3101
|
+
"default": "false"
|
|
3102
|
+
},
|
|
3266
3103
|
{
|
|
3267
3104
|
"kind": "method",
|
|
3268
|
-
"name": "
|
|
3269
|
-
"privacy": "
|
|
3105
|
+
"name": "handleClick",
|
|
3106
|
+
"privacy": "public",
|
|
3107
|
+
"description": "Opens the file picker dialog\nClears any previous file selection before opening"
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "method",
|
|
3111
|
+
"name": "onInputChange",
|
|
3112
|
+
"privacy": "public",
|
|
3113
|
+
"parameters": [
|
|
3114
|
+
{
|
|
3115
|
+
"name": "e",
|
|
3116
|
+
"type": {
|
|
3117
|
+
"text": "Event"
|
|
3118
|
+
},
|
|
3119
|
+
"description": "The change event from the file input"
|
|
3120
|
+
}
|
|
3121
|
+
],
|
|
3122
|
+
"description": "Handles file selection from the file input\nValidates file size and sets up for processing"
|
|
3123
|
+
},
|
|
3124
|
+
{
|
|
3125
|
+
"kind": "method",
|
|
3126
|
+
"name": "clearSelection",
|
|
3127
|
+
"privacy": "public",
|
|
3128
|
+
"description": "Clears all file selection and processing state\nResets the component to its initial state"
|
|
3129
|
+
},
|
|
3130
|
+
{
|
|
3131
|
+
"kind": "method",
|
|
3132
|
+
"name": "getSelectedFile",
|
|
3133
|
+
"privacy": "public",
|
|
3134
|
+
"description": "Gets the currently selected file object",
|
|
3135
|
+
"return": {
|
|
3136
|
+
"type": {
|
|
3137
|
+
"text": ""
|
|
3138
|
+
}
|
|
3139
|
+
}
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"kind": "method",
|
|
3143
|
+
"name": "showError",
|
|
3144
|
+
"privacy": "protected",
|
|
3145
|
+
"parameters": [
|
|
3146
|
+
{
|
|
3147
|
+
"name": "title",
|
|
3148
|
+
"type": {
|
|
3149
|
+
"text": "string"
|
|
3150
|
+
},
|
|
3151
|
+
"description": "The error title"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"name": "message",
|
|
3155
|
+
"type": {
|
|
3156
|
+
"text": "string"
|
|
3157
|
+
},
|
|
3158
|
+
"description": "The error message"
|
|
3159
|
+
}
|
|
3160
|
+
],
|
|
3161
|
+
"description": "Shows an error notification using the unified error handling system"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"kind": "method",
|
|
3165
|
+
"name": "onFileSelected",
|
|
3166
|
+
"privacy": "protected",
|
|
3270
3167
|
"return": {
|
|
3271
3168
|
"type": {
|
|
3272
3169
|
"text": "void"
|
|
@@ -3274,30 +3171,25 @@
|
|
|
3274
3171
|
},
|
|
3275
3172
|
"parameters": [
|
|
3276
3173
|
{
|
|
3277
|
-
"name": "
|
|
3174
|
+
"name": "files",
|
|
3278
3175
|
"type": {
|
|
3279
|
-
"text": "
|
|
3280
|
-
}
|
|
3176
|
+
"text": "File[]"
|
|
3177
|
+
},
|
|
3178
|
+
"description": "The selected file"
|
|
3281
3179
|
}
|
|
3282
3180
|
],
|
|
3283
|
-
"
|
|
3284
|
-
"name": "Accordion",
|
|
3285
|
-
"module": "src/accordion/accordion.ts"
|
|
3286
|
-
}
|
|
3181
|
+
"description": "Abstract method called when a file is selected"
|
|
3287
3182
|
},
|
|
3288
3183
|
{
|
|
3289
3184
|
"kind": "method",
|
|
3290
|
-
"name": "
|
|
3291
|
-
"privacy": "
|
|
3185
|
+
"name": "onFileCleared",
|
|
3186
|
+
"privacy": "protected",
|
|
3292
3187
|
"return": {
|
|
3293
3188
|
"type": {
|
|
3294
3189
|
"text": "void"
|
|
3295
3190
|
}
|
|
3296
3191
|
},
|
|
3297
|
-
"
|
|
3298
|
-
"name": "Accordion",
|
|
3299
|
-
"module": "src/accordion/accordion.ts"
|
|
3300
|
-
}
|
|
3192
|
+
"description": "Abstract method called when file selection is cleared"
|
|
3301
3193
|
},
|
|
3302
3194
|
{
|
|
3303
3195
|
"kind": "field",
|
|
@@ -3413,76 +3305,110 @@
|
|
|
3413
3305
|
],
|
|
3414
3306
|
"events": [
|
|
3415
3307
|
{
|
|
3416
|
-
"description": "
|
|
3417
|
-
"name": "
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3308
|
+
"description": "Fired when file size validation fails. detail: `Error`",
|
|
3309
|
+
"name": "error"
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"description": "Fired when selection is cleared",
|
|
3313
|
+
"name": "clear"
|
|
3422
3314
|
}
|
|
3423
|
-
]
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3315
|
+
],
|
|
3316
|
+
"attributes": [
|
|
3317
|
+
{
|
|
3318
|
+
"name": "label",
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "string"
|
|
3321
|
+
},
|
|
3322
|
+
"fieldName": "label"
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
"name": "accept",
|
|
3326
|
+
"type": {
|
|
3327
|
+
"text": "string"
|
|
3328
|
+
},
|
|
3329
|
+
"default": "''",
|
|
3330
|
+
"fieldName": "accept"
|
|
3331
|
+
},
|
|
3332
|
+
{
|
|
3333
|
+
"name": "file-size-limit-bytes",
|
|
3334
|
+
"default": "DEFAULT_FILE_SIZE_LIMIT",
|
|
3335
|
+
"resolveInitializer": {
|
|
3336
|
+
"module": "src/_common/base-file-component.ts"
|
|
3337
|
+
},
|
|
3338
|
+
"fieldName": "fileSizeLimitBytes"
|
|
3339
|
+
}
|
|
3340
|
+
],
|
|
3341
|
+
"superclass": {
|
|
3342
|
+
"name": "FoundationElement",
|
|
3343
|
+
"package": "@microsoft/fast-foundation"
|
|
3344
|
+
}
|
|
3446
3345
|
}
|
|
3447
3346
|
],
|
|
3448
3347
|
"exports": [
|
|
3449
3348
|
{
|
|
3450
3349
|
"kind": "js",
|
|
3451
|
-
"name": "
|
|
3350
|
+
"name": "BaseFileComponent",
|
|
3452
3351
|
"declaration": {
|
|
3453
|
-
"name": "
|
|
3454
|
-
"module": "src/
|
|
3352
|
+
"name": "BaseFileComponent",
|
|
3353
|
+
"module": "src/_common/base-file-component.ts"
|
|
3455
3354
|
}
|
|
3456
|
-
}
|
|
3355
|
+
}
|
|
3356
|
+
]
|
|
3357
|
+
},
|
|
3358
|
+
{
|
|
3359
|
+
"kind": "javascript-module",
|
|
3360
|
+
"path": "src/_common/field-styles.ts",
|
|
3361
|
+
"declarations": [
|
|
3457
3362
|
{
|
|
3458
|
-
"kind": "
|
|
3459
|
-
"name": "
|
|
3460
|
-
"
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
},
|
|
3363
|
+
"kind": "variable",
|
|
3364
|
+
"name": "sharedFieldStyles",
|
|
3365
|
+
"default": "css`\n .label-hidden {\n margin: 0;\n }\n\n .control-field {\n display: flex;\n flex: 1 1 0%;\n min-width: 0;\n align-self: stretch;\n align-items: stretch;\n }\n\n .control-field .control {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n\n .prefix,\n .suffix {\n display: flex;\n align-items: center;\n flex-shrink: 0;\n box-sizing: border-box;\n padding: 0 calc(var(--design-unit) * 2px);\n user-select: none;\n white-space: nowrap;\n background-color: var(--neutral-fill-rest);\n color: var(--neutral-foreground-hint);\n font-size: var(--type-ramp-base-font-size);\n font-family: inherit;\n line-height: 1;\n }\n\n .prefix {\n border-right: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n .suffix {\n border-left: 1px solid var(--neutral-stroke-divider-rest);\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-prefix:not(.has-suffix)) .control-field .control {\n border-radius: 0 calc(var(--control-corner-radius) * 1px)\n calc(var(--control-corner-radius) * 1px) 0;\n }\n\n :host(.has-suffix:not(.has-prefix)) .control-field .control {\n border-radius: calc(var(--control-corner-radius) * 1px) 0 0\n calc(var(--control-corner-radius) * 1px);\n }\n\n :host(.has-prefix.has-suffix) .control-field .control {\n border-radius: 0;\n }\n`"
|
|
3366
|
+
}
|
|
3367
|
+
],
|
|
3368
|
+
"exports": [
|
|
3465
3369
|
{
|
|
3466
3370
|
"kind": "js",
|
|
3467
|
-
"name": "
|
|
3371
|
+
"name": "sharedFieldStyles",
|
|
3468
3372
|
"declaration": {
|
|
3469
|
-
"name": "
|
|
3470
|
-
"module": "src/
|
|
3373
|
+
"name": "sharedFieldStyles",
|
|
3374
|
+
"module": "src/_common/field-styles.ts"
|
|
3471
3375
|
}
|
|
3472
|
-
}
|
|
3376
|
+
}
|
|
3377
|
+
]
|
|
3378
|
+
},
|
|
3379
|
+
{
|
|
3380
|
+
"kind": "javascript-module",
|
|
3381
|
+
"path": "src/_common/icons.ts",
|
|
3382
|
+
"declarations": [
|
|
3383
|
+
{
|
|
3384
|
+
"kind": "function",
|
|
3385
|
+
"name": "closeIcon",
|
|
3386
|
+
"parameters": [
|
|
3387
|
+
{
|
|
3388
|
+
"name": "slot",
|
|
3389
|
+
"default": "'start'"
|
|
3390
|
+
},
|
|
3391
|
+
{
|
|
3392
|
+
"name": "fill",
|
|
3393
|
+
"default": "'#879ba6'"
|
|
3394
|
+
}
|
|
3395
|
+
]
|
|
3396
|
+
}
|
|
3397
|
+
],
|
|
3398
|
+
"exports": [
|
|
3473
3399
|
{
|
|
3474
3400
|
"kind": "js",
|
|
3475
|
-
"name": "
|
|
3401
|
+
"name": "closeIcon",
|
|
3476
3402
|
"declaration": {
|
|
3477
|
-
"name": "
|
|
3478
|
-
"module": "src/
|
|
3403
|
+
"name": "closeIcon",
|
|
3404
|
+
"module": "src/_common/icons.ts"
|
|
3479
3405
|
}
|
|
3480
3406
|
}
|
|
3481
3407
|
]
|
|
3482
3408
|
},
|
|
3483
3409
|
{
|
|
3484
3410
|
"kind": "javascript-module",
|
|
3485
|
-
"path": "src/
|
|
3411
|
+
"path": "src/_common/index.ts",
|
|
3486
3412
|
"declarations": [],
|
|
3487
3413
|
"exports": [
|
|
3488
3414
|
{
|
|
@@ -3490,7 +3416,7 @@
|
|
|
3490
3416
|
"name": "*",
|
|
3491
3417
|
"declaration": {
|
|
3492
3418
|
"name": "*",
|
|
3493
|
-
"package": "./
|
|
3419
|
+
"package": "./affix-mixin"
|
|
3494
3420
|
}
|
|
3495
3421
|
},
|
|
3496
3422
|
{
|
|
@@ -3498,7 +3424,7 @@
|
|
|
3498
3424
|
"name": "*",
|
|
3499
3425
|
"declaration": {
|
|
3500
3426
|
"name": "*",
|
|
3501
|
-
"package": "./
|
|
3427
|
+
"package": "./base-file-component"
|
|
3502
3428
|
}
|
|
3503
3429
|
},
|
|
3504
3430
|
{
|
|
@@ -3506,7 +3432,15 @@
|
|
|
3506
3432
|
"name": "*",
|
|
3507
3433
|
"declaration": {
|
|
3508
3434
|
"name": "*",
|
|
3509
|
-
"package": "./
|
|
3435
|
+
"package": "./field-styles"
|
|
3436
|
+
}
|
|
3437
|
+
},
|
|
3438
|
+
{
|
|
3439
|
+
"kind": "js",
|
|
3440
|
+
"name": "*",
|
|
3441
|
+
"declaration": {
|
|
3442
|
+
"name": "*",
|
|
3443
|
+
"package": "./icons"
|
|
3510
3444
|
}
|
|
3511
3445
|
}
|
|
3512
3446
|
]
|
|
@@ -3544,11 +3478,11 @@
|
|
|
3544
3478
|
},
|
|
3545
3479
|
{
|
|
3546
3480
|
"kind": "javascript-module",
|
|
3547
|
-
"path": "src/
|
|
3481
|
+
"path": "src/accordion/accordion.styles.ts",
|
|
3548
3482
|
"declarations": [
|
|
3549
3483
|
{
|
|
3550
3484
|
"kind": "function",
|
|
3551
|
-
"name": "
|
|
3485
|
+
"name": "foundationAccordionStyles",
|
|
3552
3486
|
"return": {
|
|
3553
3487
|
"type": {
|
|
3554
3488
|
"text": "ElementStyles"
|
|
@@ -3573,224 +3507,276 @@
|
|
|
3573
3507
|
"exports": [
|
|
3574
3508
|
{
|
|
3575
3509
|
"kind": "js",
|
|
3576
|
-
"name": "
|
|
3510
|
+
"name": "foundationAccordionStyles",
|
|
3577
3511
|
"declaration": {
|
|
3578
|
-
"name": "
|
|
3579
|
-
"module": "src/
|
|
3512
|
+
"name": "foundationAccordionStyles",
|
|
3513
|
+
"module": "src/accordion/accordion.styles.ts"
|
|
3580
3514
|
}
|
|
3581
3515
|
}
|
|
3582
3516
|
]
|
|
3583
3517
|
},
|
|
3584
3518
|
{
|
|
3585
3519
|
"kind": "javascript-module",
|
|
3586
|
-
"path": "src/
|
|
3520
|
+
"path": "src/accordion/accordion.template.ts",
|
|
3587
3521
|
"declarations": [
|
|
3588
3522
|
{
|
|
3589
|
-
"kind": "
|
|
3590
|
-
"name": "
|
|
3591
|
-
"
|
|
3592
|
-
"
|
|
3523
|
+
"kind": "function",
|
|
3524
|
+
"name": "foundationAccordionTemplate",
|
|
3525
|
+
"return": {
|
|
3526
|
+
"type": {
|
|
3527
|
+
"text": "ViewTemplate<Accordion>"
|
|
3528
|
+
}
|
|
3593
3529
|
},
|
|
3594
|
-
"
|
|
3530
|
+
"parameters": [
|
|
3531
|
+
{
|
|
3532
|
+
"name": "context",
|
|
3533
|
+
"type": {
|
|
3534
|
+
"text": "ElementDefinitionContext"
|
|
3535
|
+
}
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "definition",
|
|
3539
|
+
"type": {
|
|
3540
|
+
"text": "FoundationElementDefinition"
|
|
3541
|
+
}
|
|
3542
|
+
}
|
|
3543
|
+
]
|
|
3595
3544
|
}
|
|
3596
3545
|
],
|
|
3597
3546
|
"exports": [
|
|
3598
3547
|
{
|
|
3599
3548
|
"kind": "js",
|
|
3600
|
-
"name": "
|
|
3549
|
+
"name": "foundationAccordionTemplate",
|
|
3601
3550
|
"declaration": {
|
|
3602
|
-
"name": "
|
|
3603
|
-
"module": "src/
|
|
3551
|
+
"name": "foundationAccordionTemplate",
|
|
3552
|
+
"module": "src/accordion/accordion.template.ts"
|
|
3604
3553
|
}
|
|
3605
3554
|
}
|
|
3606
3555
|
]
|
|
3607
3556
|
},
|
|
3608
3557
|
{
|
|
3609
3558
|
"kind": "javascript-module",
|
|
3610
|
-
"path": "src/
|
|
3559
|
+
"path": "src/accordion/accordion.ts",
|
|
3611
3560
|
"declarations": [
|
|
3612
3561
|
{
|
|
3613
3562
|
"kind": "class",
|
|
3614
3563
|
"description": "",
|
|
3615
|
-
"name": "
|
|
3616
|
-
"
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
},
|
|
3624
|
-
{
|
|
3625
|
-
"kind": "field",
|
|
3626
|
-
"name": "aiProvider",
|
|
3627
|
-
"type": {
|
|
3628
|
-
"text": "AIProvider | undefined"
|
|
3629
|
-
},
|
|
3630
|
-
"privacy": "private",
|
|
3631
|
-
"description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
|
|
3632
|
-
"readonly": true
|
|
3633
|
-
},
|
|
3564
|
+
"name": "Accordion",
|
|
3565
|
+
"superclass": {
|
|
3566
|
+
"name": "FASTAccordion",
|
|
3567
|
+
"package": "@microsoft/fast-foundation"
|
|
3568
|
+
},
|
|
3569
|
+
"tagName": "%%prefix%%-accordion",
|
|
3570
|
+
"customElement": true,
|
|
3571
|
+
"attributes": [
|
|
3634
3572
|
{
|
|
3635
|
-
"
|
|
3636
|
-
"name": "status",
|
|
3573
|
+
"name": "expand-mode",
|
|
3637
3574
|
"type": {
|
|
3638
|
-
"text": "
|
|
3575
|
+
"text": "AccordionExpandMode"
|
|
3639
3576
|
},
|
|
3640
|
-
"
|
|
3641
|
-
|
|
3577
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3578
|
+
"fieldName": "expandmode",
|
|
3579
|
+
"inheritedFrom": {
|
|
3580
|
+
"name": "Accordion",
|
|
3581
|
+
"module": "src/accordion/accordion.ts"
|
|
3582
|
+
}
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3585
|
+
"members": [
|
|
3642
3586
|
{
|
|
3643
3587
|
"kind": "field",
|
|
3644
|
-
"name": "
|
|
3588
|
+
"name": "expandmode",
|
|
3645
3589
|
"type": {
|
|
3646
|
-
"text": "
|
|
3590
|
+
"text": "AccordionExpandMode"
|
|
3647
3591
|
},
|
|
3648
|
-
"
|
|
3592
|
+
"privacy": "public",
|
|
3593
|
+
"description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
|
|
3594
|
+
"inheritedFrom": {
|
|
3595
|
+
"name": "Accordion",
|
|
3596
|
+
"module": "src/accordion/accordion.ts"
|
|
3597
|
+
}
|
|
3649
3598
|
},
|
|
3650
3599
|
{
|
|
3651
3600
|
"kind": "field",
|
|
3652
|
-
"name": "
|
|
3601
|
+
"name": "activeid",
|
|
3653
3602
|
"type": {
|
|
3654
|
-
"text": "
|
|
3603
|
+
"text": "string | null"
|
|
3655
3604
|
},
|
|
3656
|
-
"
|
|
3605
|
+
"privacy": "private",
|
|
3606
|
+
"inheritedFrom": {
|
|
3607
|
+
"name": "Accordion",
|
|
3608
|
+
"module": "src/accordion/accordion.ts"
|
|
3609
|
+
}
|
|
3657
3610
|
},
|
|
3658
3611
|
{
|
|
3659
3612
|
"kind": "field",
|
|
3660
|
-
"name": "
|
|
3613
|
+
"name": "activeItemIndex",
|
|
3661
3614
|
"type": {
|
|
3662
|
-
"text": "
|
|
3615
|
+
"text": "number"
|
|
3663
3616
|
},
|
|
3664
|
-
"
|
|
3617
|
+
"privacy": "private",
|
|
3618
|
+
"default": "0",
|
|
3619
|
+
"inheritedFrom": {
|
|
3620
|
+
"name": "Accordion",
|
|
3621
|
+
"module": "src/accordion/accordion.ts"
|
|
3622
|
+
}
|
|
3665
3623
|
},
|
|
3666
3624
|
{
|
|
3667
3625
|
"kind": "field",
|
|
3668
|
-
"name": "
|
|
3626
|
+
"name": "accordionIds",
|
|
3669
3627
|
"type": {
|
|
3670
|
-
"text": "
|
|
3628
|
+
"text": "Array<string | null>"
|
|
3671
3629
|
},
|
|
3672
3630
|
"privacy": "private",
|
|
3673
|
-
"
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
"name": "clickOutside",
|
|
3678
|
-
"privacy": "private"
|
|
3631
|
+
"inheritedFrom": {
|
|
3632
|
+
"name": "Accordion",
|
|
3633
|
+
"module": "src/accordion/accordion.ts"
|
|
3634
|
+
}
|
|
3679
3635
|
},
|
|
3680
3636
|
{
|
|
3681
3637
|
"kind": "field",
|
|
3682
|
-
"name": "
|
|
3683
|
-
"
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3638
|
+
"name": "change",
|
|
3639
|
+
"privacy": "private",
|
|
3640
|
+
"inheritedFrom": {
|
|
3641
|
+
"name": "Accordion",
|
|
3642
|
+
"module": "src/accordion/accordion.ts"
|
|
3643
|
+
}
|
|
3687
3644
|
},
|
|
3688
3645
|
{
|
|
3689
|
-
"kind": "
|
|
3690
|
-
"name": "
|
|
3691
|
-
"
|
|
3692
|
-
|
|
3646
|
+
"kind": "method",
|
|
3647
|
+
"name": "findExpandedItem",
|
|
3648
|
+
"privacy": "private",
|
|
3649
|
+
"return": {
|
|
3650
|
+
"type": {
|
|
3651
|
+
"text": "AccordionItem | null"
|
|
3652
|
+
}
|
|
3693
3653
|
},
|
|
3694
|
-
"
|
|
3654
|
+
"inheritedFrom": {
|
|
3655
|
+
"name": "Accordion",
|
|
3656
|
+
"module": "src/accordion/accordion.ts"
|
|
3657
|
+
}
|
|
3695
3658
|
},
|
|
3696
3659
|
{
|
|
3697
3660
|
"kind": "field",
|
|
3698
|
-
"name": "
|
|
3699
|
-
"
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3661
|
+
"name": "setItems",
|
|
3662
|
+
"privacy": "private",
|
|
3663
|
+
"inheritedFrom": {
|
|
3664
|
+
"name": "Accordion",
|
|
3665
|
+
"module": "src/accordion/accordion.ts"
|
|
3666
|
+
}
|
|
3703
3667
|
},
|
|
3704
3668
|
{
|
|
3705
3669
|
"kind": "method",
|
|
3706
|
-
"name": "
|
|
3670
|
+
"name": "resetItems",
|
|
3671
|
+
"privacy": "private",
|
|
3707
3672
|
"return": {
|
|
3708
3673
|
"type": {
|
|
3709
3674
|
"text": "void"
|
|
3710
3675
|
}
|
|
3676
|
+
},
|
|
3677
|
+
"inheritedFrom": {
|
|
3678
|
+
"name": "Accordion",
|
|
3679
|
+
"module": "src/accordion/accordion.ts"
|
|
3711
3680
|
}
|
|
3712
3681
|
},
|
|
3713
3682
|
{
|
|
3714
|
-
"kind": "
|
|
3715
|
-
"name": "
|
|
3683
|
+
"kind": "field",
|
|
3684
|
+
"name": "removeItemListeners",
|
|
3716
3685
|
"privacy": "private",
|
|
3717
|
-
"
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
"text": "MouseEvent"
|
|
3722
|
-
}
|
|
3723
|
-
}
|
|
3724
|
-
]
|
|
3686
|
+
"inheritedFrom": {
|
|
3687
|
+
"name": "Accordion",
|
|
3688
|
+
"module": "src/accordion/accordion.ts"
|
|
3689
|
+
}
|
|
3725
3690
|
},
|
|
3726
3691
|
{
|
|
3727
|
-
"kind": "
|
|
3728
|
-
"name": "
|
|
3692
|
+
"kind": "field",
|
|
3693
|
+
"name": "activeItemChange",
|
|
3694
|
+
"privacy": "private",
|
|
3695
|
+
"inheritedFrom": {
|
|
3696
|
+
"name": "Accordion",
|
|
3697
|
+
"module": "src/accordion/accordion.ts"
|
|
3698
|
+
}
|
|
3729
3699
|
},
|
|
3730
3700
|
{
|
|
3731
3701
|
"kind": "method",
|
|
3732
|
-
"name": "
|
|
3702
|
+
"name": "getItemIds",
|
|
3703
|
+
"privacy": "private",
|
|
3733
3704
|
"return": {
|
|
3734
3705
|
"type": {
|
|
3735
|
-
"text": "
|
|
3706
|
+
"text": "Array<string | null>"
|
|
3736
3707
|
}
|
|
3708
|
+
},
|
|
3709
|
+
"inheritedFrom": {
|
|
3710
|
+
"name": "Accordion",
|
|
3711
|
+
"module": "src/accordion/accordion.ts"
|
|
3737
3712
|
}
|
|
3738
3713
|
},
|
|
3739
3714
|
{
|
|
3740
3715
|
"kind": "method",
|
|
3741
|
-
"name": "
|
|
3716
|
+
"name": "isSingleExpandMode",
|
|
3742
3717
|
"privacy": "private",
|
|
3743
3718
|
"return": {
|
|
3744
3719
|
"type": {
|
|
3745
|
-
"text": "
|
|
3720
|
+
"text": "boolean"
|
|
3746
3721
|
}
|
|
3747
3722
|
},
|
|
3748
|
-
"
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
"text": "AIStatus | null"
|
|
3753
|
-
}
|
|
3754
|
-
}
|
|
3755
|
-
]
|
|
3723
|
+
"inheritedFrom": {
|
|
3724
|
+
"name": "Accordion",
|
|
3725
|
+
"module": "src/accordion/accordion.ts"
|
|
3726
|
+
}
|
|
3756
3727
|
},
|
|
3757
3728
|
{
|
|
3758
|
-
"kind": "
|
|
3759
|
-
"name": "
|
|
3729
|
+
"kind": "field",
|
|
3730
|
+
"name": "handleItemKeyDown",
|
|
3760
3731
|
"privacy": "private",
|
|
3761
|
-
"
|
|
3762
|
-
"
|
|
3763
|
-
|
|
3764
|
-
}
|
|
3732
|
+
"inheritedFrom": {
|
|
3733
|
+
"name": "Accordion",
|
|
3734
|
+
"module": "src/accordion/accordion.ts"
|
|
3765
3735
|
}
|
|
3766
3736
|
},
|
|
3767
3737
|
{
|
|
3768
|
-
"kind": "
|
|
3769
|
-
"name": "
|
|
3738
|
+
"kind": "field",
|
|
3739
|
+
"name": "handleItemFocus",
|
|
3770
3740
|
"privacy": "private",
|
|
3771
|
-
"
|
|
3772
|
-
"
|
|
3773
|
-
|
|
3774
|
-
}
|
|
3741
|
+
"inheritedFrom": {
|
|
3742
|
+
"name": "Accordion",
|
|
3743
|
+
"module": "src/accordion/accordion.ts"
|
|
3775
3744
|
}
|
|
3776
3745
|
},
|
|
3777
3746
|
{
|
|
3778
3747
|
"kind": "method",
|
|
3779
|
-
"name": "
|
|
3748
|
+
"name": "adjust",
|
|
3780
3749
|
"privacy": "private",
|
|
3781
3750
|
"return": {
|
|
3782
3751
|
"type": {
|
|
3783
3752
|
"text": "void"
|
|
3784
3753
|
}
|
|
3754
|
+
},
|
|
3755
|
+
"parameters": [
|
|
3756
|
+
{
|
|
3757
|
+
"name": "adjustment",
|
|
3758
|
+
"type": {
|
|
3759
|
+
"text": "number"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
],
|
|
3763
|
+
"inheritedFrom": {
|
|
3764
|
+
"name": "Accordion",
|
|
3765
|
+
"module": "src/accordion/accordion.ts"
|
|
3785
3766
|
}
|
|
3786
3767
|
},
|
|
3787
3768
|
{
|
|
3788
3769
|
"kind": "method",
|
|
3789
|
-
"name": "
|
|
3770
|
+
"name": "focusItem",
|
|
3771
|
+
"privacy": "private",
|
|
3790
3772
|
"return": {
|
|
3791
3773
|
"type": {
|
|
3792
|
-
"text": "
|
|
3774
|
+
"text": "void"
|
|
3793
3775
|
}
|
|
3776
|
+
},
|
|
3777
|
+
"inheritedFrom": {
|
|
3778
|
+
"name": "Accordion",
|
|
3779
|
+
"module": "src/accordion/accordion.ts"
|
|
3794
3780
|
}
|
|
3795
3781
|
},
|
|
3796
3782
|
{
|
|
@@ -3905,88 +3891,102 @@
|
|
|
3905
3891
|
}
|
|
3906
3892
|
}
|
|
3907
3893
|
],
|
|
3908
|
-
"
|
|
3909
|
-
|
|
3910
|
-
|
|
3894
|
+
"events": [
|
|
3895
|
+
{
|
|
3896
|
+
"description": "Fires a custom 'change' event when the active item changes",
|
|
3897
|
+
"name": "change",
|
|
3898
|
+
"inheritedFrom": {
|
|
3899
|
+
"name": "Accordion",
|
|
3900
|
+
"module": "src/accordion/accordion.ts"
|
|
3901
|
+
}
|
|
3902
|
+
}
|
|
3903
|
+
]
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "variable",
|
|
3907
|
+
"name": "foundationAccordionShadowOptions",
|
|
3908
|
+
"type": {
|
|
3909
|
+
"text": "ShadowRootInit"
|
|
3911
3910
|
},
|
|
3912
|
-
"
|
|
3913
|
-
"customElement": true
|
|
3911
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
3914
3912
|
},
|
|
3915
3913
|
{
|
|
3916
3914
|
"kind": "variable",
|
|
3917
|
-
"name": "
|
|
3915
|
+
"name": "defaultAccordionConfig",
|
|
3916
|
+
"type": {
|
|
3917
|
+
"text": "object"
|
|
3918
|
+
},
|
|
3919
|
+
"default": "{}"
|
|
3920
|
+
},
|
|
3921
|
+
{
|
|
3922
|
+
"kind": "variable",
|
|
3923
|
+
"name": "foundationAccordion",
|
|
3924
|
+
"description": "The Foundation Accordion",
|
|
3925
|
+
"privacy": "public"
|
|
3918
3926
|
}
|
|
3919
3927
|
],
|
|
3920
3928
|
"exports": [
|
|
3921
3929
|
{
|
|
3922
3930
|
"kind": "js",
|
|
3923
|
-
"name": "
|
|
3931
|
+
"name": "Accordion",
|
|
3924
3932
|
"declaration": {
|
|
3925
|
-
"name": "
|
|
3926
|
-
"module": "src/
|
|
3933
|
+
"name": "Accordion",
|
|
3934
|
+
"module": "src/accordion/accordion.ts"
|
|
3927
3935
|
}
|
|
3928
3936
|
},
|
|
3929
3937
|
{
|
|
3930
3938
|
"kind": "js",
|
|
3931
|
-
"name": "
|
|
3932
|
-
"declaration": {
|
|
3933
|
-
"name": "foundationAiIndicator",
|
|
3934
|
-
"module": "src/ai-indicator/ai-indicator.ts"
|
|
3935
|
-
}
|
|
3936
|
-
}
|
|
3937
|
-
]
|
|
3938
|
-
},
|
|
3939
|
-
{
|
|
3940
|
-
"kind": "javascript-module",
|
|
3941
|
-
"path": "src/ai-indicator/index.ts",
|
|
3942
|
-
"declarations": [],
|
|
3943
|
-
"exports": [
|
|
3944
|
-
{
|
|
3945
|
-
"kind": "js",
|
|
3946
|
-
"name": "AiIndicator",
|
|
3939
|
+
"name": "foundationAccordionShadowOptions",
|
|
3947
3940
|
"declaration": {
|
|
3948
|
-
"name": "
|
|
3949
|
-
"module": "
|
|
3941
|
+
"name": "foundationAccordionShadowOptions",
|
|
3942
|
+
"module": "src/accordion/accordion.ts"
|
|
3950
3943
|
}
|
|
3951
3944
|
},
|
|
3952
3945
|
{
|
|
3953
3946
|
"kind": "js",
|
|
3954
|
-
"name": "
|
|
3947
|
+
"name": "defaultAccordionConfig",
|
|
3955
3948
|
"declaration": {
|
|
3956
|
-
"name": "
|
|
3957
|
-
"module": "
|
|
3949
|
+
"name": "defaultAccordionConfig",
|
|
3950
|
+
"module": "src/accordion/accordion.ts"
|
|
3958
3951
|
}
|
|
3959
3952
|
},
|
|
3960
3953
|
{
|
|
3961
3954
|
"kind": "js",
|
|
3962
|
-
"name": "
|
|
3955
|
+
"name": "foundationAccordion",
|
|
3963
3956
|
"declaration": {
|
|
3964
|
-
"name": "
|
|
3965
|
-
"module": "
|
|
3957
|
+
"name": "foundationAccordion",
|
|
3958
|
+
"module": "src/accordion/accordion.ts"
|
|
3966
3959
|
}
|
|
3967
|
-
}
|
|
3960
|
+
}
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
{
|
|
3964
|
+
"kind": "javascript-module",
|
|
3965
|
+
"path": "src/accordion/index.ts",
|
|
3966
|
+
"declarations": [],
|
|
3967
|
+
"exports": [
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "js",
|
|
3970
|
-
"name": "
|
|
3970
|
+
"name": "*",
|
|
3971
3971
|
"declaration": {
|
|
3972
|
-
"name": "
|
|
3973
|
-
"
|
|
3972
|
+
"name": "*",
|
|
3973
|
+
"package": "./accordion.template"
|
|
3974
3974
|
}
|
|
3975
3975
|
},
|
|
3976
3976
|
{
|
|
3977
3977
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3978
|
+
"name": "*",
|
|
3979
3979
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"
|
|
3980
|
+
"name": "*",
|
|
3981
|
+
"package": "./accordion.styles"
|
|
3982
3982
|
}
|
|
3983
3983
|
},
|
|
3984
3984
|
{
|
|
3985
3985
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3986
|
+
"name": "*",
|
|
3987
3987
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"
|
|
3988
|
+
"name": "*",
|
|
3989
|
+
"package": "./accordion"
|
|
3990
3990
|
}
|
|
3991
3991
|
}
|
|
3992
3992
|
]
|
|
@@ -37432,6 +37432,25 @@
|
|
|
37432
37432
|
"name": "attachListboxScrollListener",
|
|
37433
37433
|
"privacy": "private"
|
|
37434
37434
|
},
|
|
37435
|
+
{
|
|
37436
|
+
"kind": "method",
|
|
37437
|
+
"name": "isNearListboxBottom",
|
|
37438
|
+
"privacy": "private",
|
|
37439
|
+
"return": {
|
|
37440
|
+
"type": {
|
|
37441
|
+
"text": "boolean"
|
|
37442
|
+
}
|
|
37443
|
+
},
|
|
37444
|
+
"parameters": [
|
|
37445
|
+
{
|
|
37446
|
+
"name": "listbox",
|
|
37447
|
+
"type": {
|
|
37448
|
+
"text": "HTMLElement"
|
|
37449
|
+
}
|
|
37450
|
+
}
|
|
37451
|
+
],
|
|
37452
|
+
"description": "Also true when the options do not fill the listbox: it cannot be scrolled, so the\nbottom is already in view."
|
|
37453
|
+
},
|
|
37435
37454
|
{
|
|
37436
37455
|
"kind": "field",
|
|
37437
37456
|
"name": "listboxScrollHandler",
|
|
@@ -37446,7 +37465,7 @@
|
|
|
37446
37465
|
"kind": "method",
|
|
37447
37466
|
"name": "topUpVisibleListbox",
|
|
37448
37467
|
"privacy": "private",
|
|
37449
|
-
"description": "
|
|
37468
|
+
"description": "Keeps requesting pages while the bottom of the listbox is in view — either because\nthe loaded options do not fill it, or because the user is already scrolled there and\nappending rows fires no further scroll event."
|
|
37450
37469
|
},
|
|
37451
37470
|
{
|
|
37452
37471
|
"kind": "field",
|