@genesislcap/foundation-ui 14.402.1 → 14.403.0-ai-assistant.2

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1021 -1021
  2. package/package.json +19 -19
@@ -1289,11 +1289,11 @@
1289
1289
  },
1290
1290
  {
1291
1291
  "kind": "javascript-module",
1292
- "path": "src/actions-menu/actions-menu.styles.ts",
1292
+ "path": "src/accordion/accordion.styles.ts",
1293
1293
  "declarations": [
1294
1294
  {
1295
1295
  "kind": "function",
1296
- "name": "actionsMenuBaseStyles",
1296
+ "name": "foundationAccordionStyles",
1297
1297
  "return": {
1298
1298
  "type": {
1299
1299
  "text": "ElementStyles"
@@ -1313,13 +1313,29 @@
1313
1313
  }
1314
1314
  }
1315
1315
  ]
1316
- },
1316
+ }
1317
+ ],
1318
+ "exports": [
1319
+ {
1320
+ "kind": "js",
1321
+ "name": "foundationAccordionStyles",
1322
+ "declaration": {
1323
+ "name": "foundationAccordionStyles",
1324
+ "module": "src/accordion/accordion.styles.ts"
1325
+ }
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "kind": "javascript-module",
1331
+ "path": "src/accordion/accordion.template.ts",
1332
+ "declarations": [
1317
1333
  {
1318
1334
  "kind": "function",
1319
- "name": "foundationActionsMenuStyles",
1335
+ "name": "foundationAccordionTemplate",
1320
1336
  "return": {
1321
1337
  "type": {
1322
- "text": "ElementStyles"
1338
+ "text": "ViewTemplate<Accordion>"
1323
1339
  }
1324
1340
  },
1325
1341
  "parameters": [
@@ -1341,269 +1357,330 @@
1341
1357
  "exports": [
1342
1358
  {
1343
1359
  "kind": "js",
1344
- "name": "actionsMenuBaseStyles",
1345
- "declaration": {
1346
- "name": "actionsMenuBaseStyles",
1347
- "module": "src/actions-menu/actions-menu.styles.ts"
1348
- }
1349
- },
1350
- {
1351
- "kind": "js",
1352
- "name": "foundationActionsMenuStyles",
1360
+ "name": "foundationAccordionTemplate",
1353
1361
  "declaration": {
1354
- "name": "foundationActionsMenuStyles",
1355
- "module": "src/actions-menu/actions-menu.styles.ts"
1362
+ "name": "foundationAccordionTemplate",
1363
+ "module": "src/accordion/accordion.template.ts"
1356
1364
  }
1357
1365
  }
1358
1366
  ]
1359
1367
  },
1360
1368
  {
1361
1369
  "kind": "javascript-module",
1362
- "path": "src/actions-menu/actions-menu.template.ts",
1370
+ "path": "src/accordion/accordion.ts",
1363
1371
  "declarations": [
1364
1372
  {
1365
- "kind": "function",
1366
- "name": "menuTemplate",
1367
- "parameters": [
1368
- {
1369
- "name": "prefix",
1370
- "type": {
1371
- "text": "string"
1372
- }
1373
- }
1374
- ]
1373
+ "kind": "class",
1374
+ "description": "",
1375
+ "name": "Accordion",
1376
+ "superclass": {
1377
+ "name": "FASTAccordion",
1378
+ "package": "@microsoft/fast-foundation"
1379
+ },
1380
+ "tagName": "%%prefix%%-accordion",
1381
+ "customElement": true
1375
1382
  },
1376
1383
  {
1377
- "kind": "function",
1378
- "name": "singleOptionTemplate",
1379
- "parameters": [
1380
- {
1381
- "name": "prefix",
1382
- "type": {
1383
- "text": "string"
1384
- }
1385
- }
1386
- ]
1384
+ "kind": "variable",
1385
+ "name": "foundationAccordionShadowOptions",
1386
+ "type": {
1387
+ "text": "ShadowRootInit"
1388
+ },
1389
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1387
1390
  },
1388
1391
  {
1389
1392
  "kind": "variable",
1390
- "name": "foundationActionsMenuTemplate",
1393
+ "name": "defaultAccordionConfig",
1391
1394
  "type": {
1392
- "text": "ViewTemplate<ActionsMenu>"
1395
+ "text": "object"
1393
1396
  },
1394
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1397
+ "default": "{}"
1398
+ },
1399
+ {
1400
+ "kind": "variable",
1401
+ "name": "foundationAccordion",
1402
+ "description": "The Foundation Accordion",
1403
+ "privacy": "public"
1395
1404
  }
1396
1405
  ],
1397
1406
  "exports": [
1398
1407
  {
1399
1408
  "kind": "js",
1400
- "name": "menuTemplate",
1409
+ "name": "Accordion",
1401
1410
  "declaration": {
1402
- "name": "menuTemplate",
1403
- "module": "src/actions-menu/actions-menu.template.ts"
1411
+ "name": "Accordion",
1412
+ "module": "src/accordion/accordion.ts"
1404
1413
  }
1405
1414
  },
1406
1415
  {
1407
1416
  "kind": "js",
1408
- "name": "singleOptionTemplate",
1417
+ "name": "foundationAccordionShadowOptions",
1409
1418
  "declaration": {
1410
- "name": "singleOptionTemplate",
1411
- "module": "src/actions-menu/actions-menu.template.ts"
1419
+ "name": "foundationAccordionShadowOptions",
1420
+ "module": "src/accordion/accordion.ts"
1412
1421
  }
1413
1422
  },
1414
1423
  {
1415
1424
  "kind": "js",
1416
- "name": "foundationActionsMenuTemplate",
1425
+ "name": "defaultAccordionConfig",
1417
1426
  "declaration": {
1418
- "name": "foundationActionsMenuTemplate",
1419
- "module": "src/actions-menu/actions-menu.template.ts"
1427
+ "name": "defaultAccordionConfig",
1428
+ "module": "src/accordion/accordion.ts"
1429
+ }
1430
+ },
1431
+ {
1432
+ "kind": "js",
1433
+ "name": "foundationAccordion",
1434
+ "declaration": {
1435
+ "name": "foundationAccordion",
1436
+ "module": "src/accordion/accordion.ts"
1420
1437
  }
1421
1438
  }
1422
1439
  ]
1423
1440
  },
1424
1441
  {
1425
1442
  "kind": "javascript-module",
1426
- "path": "src/actions-menu/actions-menu.ts",
1443
+ "path": "src/accordion/index.ts",
1444
+ "declarations": [],
1445
+ "exports": [
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./accordion.template"
1452
+ }
1453
+ },
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "*",
1457
+ "declaration": {
1458
+ "name": "*",
1459
+ "package": "./accordion.styles"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "*",
1465
+ "declaration": {
1466
+ "name": "*",
1467
+ "package": "./accordion"
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ {
1473
+ "kind": "javascript-module",
1474
+ "path": "src/_config/index.ts",
1475
+ "declarations": [],
1476
+ "exports": [
1477
+ {
1478
+ "kind": "js",
1479
+ "name": "*",
1480
+ "declaration": {
1481
+ "name": "*",
1482
+ "package": "./styles"
1483
+ }
1484
+ },
1485
+ {
1486
+ "kind": "js",
1487
+ "name": "*",
1488
+ "declaration": {
1489
+ "name": "*",
1490
+ "package": "./tokens"
1491
+ }
1492
+ },
1493
+ {
1494
+ "kind": "js",
1495
+ "name": "*",
1496
+ "declaration": {
1497
+ "name": "*",
1498
+ "package": "./values"
1499
+ }
1500
+ }
1501
+ ]
1502
+ },
1503
+ {
1504
+ "kind": "javascript-module",
1505
+ "path": "src/accordion-item/accordion-item.styles.ts",
1427
1506
  "declarations": [
1428
1507
  {
1429
- "kind": "class",
1430
- "description": "",
1431
- "name": "ActionsMenu",
1432
- "members": [
1508
+ "kind": "function",
1509
+ "name": "foundationAccordionItemStyles",
1510
+ "return": {
1511
+ "type": {
1512
+ "text": "ElementStyles"
1513
+ }
1514
+ },
1515
+ "parameters": [
1433
1516
  {
1434
- "kind": "field",
1435
- "name": "actions",
1517
+ "name": "context",
1436
1518
  "type": {
1437
- "text": "ActionMenuItem[]"
1519
+ "text": "ElementDefinitionContext"
1438
1520
  }
1439
1521
  },
1440
1522
  {
1441
- "kind": "field",
1442
- "name": "isVertical",
1443
- "type": {
1444
- "text": "boolean"
1445
- },
1446
- "default": "false"
1447
- },
1448
- {
1449
- "kind": "field",
1450
- "name": "addDefaultActions",
1451
- "type": {
1452
- "text": "boolean"
1453
- },
1454
- "default": "true"
1455
- },
1456
- {
1457
- "kind": "field",
1458
- "name": "autoCloseOnAction",
1523
+ "name": "definition",
1459
1524
  "type": {
1460
- "text": "boolean"
1461
- },
1462
- "default": "true"
1463
- },
1525
+ "text": "FoundationElementDefinition"
1526
+ }
1527
+ }
1528
+ ]
1529
+ }
1530
+ ],
1531
+ "exports": [
1532
+ {
1533
+ "kind": "js",
1534
+ "name": "foundationAccordionItemStyles",
1535
+ "declaration": {
1536
+ "name": "foundationAccordionItemStyles",
1537
+ "module": "src/accordion-item/accordion-item.styles.ts"
1538
+ }
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "kind": "javascript-module",
1544
+ "path": "src/accordion-item/accordion-item.template.ts",
1545
+ "declarations": [
1546
+ {
1547
+ "kind": "function",
1548
+ "name": "foundationAccordionItemTemplate",
1549
+ "return": {
1550
+ "type": {
1551
+ "text": "ViewTemplate<AccordionItem>"
1552
+ }
1553
+ },
1554
+ "parameters": [
1464
1555
  {
1465
- "kind": "field",
1466
- "name": "classNames",
1556
+ "name": "context",
1467
1557
  "type": {
1468
- "text": "string"
1558
+ "text": "ElementDefinitionContext"
1469
1559
  }
1470
1560
  },
1471
1561
  {
1472
- "kind": "field",
1473
1562
  "name": "definition",
1474
1563
  "type": {
1475
- "text": "any"
1564
+ "text": "FoundationElementDefinition"
1476
1565
  }
1477
- },
1566
+ }
1567
+ ]
1568
+ }
1569
+ ],
1570
+ "exports": [
1571
+ {
1572
+ "kind": "js",
1573
+ "name": "foundationAccordionItemTemplate",
1574
+ "declaration": {
1575
+ "name": "foundationAccordionItemTemplate",
1576
+ "module": "src/accordion-item/accordion-item.template.ts"
1577
+ }
1578
+ }
1579
+ ]
1580
+ },
1581
+ {
1582
+ "kind": "javascript-module",
1583
+ "path": "src/accordion-item/accordion-item.ts",
1584
+ "declarations": [
1585
+ {
1586
+ "kind": "class",
1587
+ "description": "",
1588
+ "name": "AccordionItem",
1589
+ "superclass": {
1590
+ "name": "FASTAccordionItem",
1591
+ "package": "@microsoft/fast-components"
1592
+ },
1593
+ "tagName": "%%prefix%%-accordion-item",
1594
+ "customElement": true,
1595
+ "attributes": [
1478
1596
  {
1479
- "kind": "field",
1480
- "name": "name",
1597
+ "name": "heading-level",
1481
1598
  "type": {
1482
- "text": "string"
1599
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1483
1600
  },
1484
- "default": "'Actions'"
1601
+ "default": "2",
1602
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1603
+ "fieldName": "headinglevel",
1604
+ "inheritedFrom": {
1605
+ "name": "AccordionItem",
1606
+ "module": "src/accordion-item/accordion-item.ts"
1607
+ }
1485
1608
  },
1486
1609
  {
1487
- "kind": "field",
1488
- "name": "open",
1489
1610
  "type": {
1490
1611
  "text": "boolean"
1491
1612
  },
1492
- "default": "false"
1613
+ "default": "false",
1614
+ "description": "Expands or collapses the item.",
1615
+ "fieldName": "expanded",
1616
+ "inheritedFrom": {
1617
+ "name": "AccordionItem",
1618
+ "module": "src/accordion-item/accordion-item.ts"
1619
+ }
1493
1620
  },
1494
1621
  {
1495
- "kind": "field",
1496
- "name": "buttonAppearance",
1622
+ "name": "id",
1497
1623
  "type": {
1498
1624
  "text": "string"
1625
+ },
1626
+ "description": "The item ID",
1627
+ "fieldName": "id",
1628
+ "inheritedFrom": {
1629
+ "name": "AccordionItem",
1630
+ "module": "src/accordion-item/accordion-item.ts"
1499
1631
  }
1500
- },
1632
+ }
1633
+ ],
1634
+ "members": [
1501
1635
  {
1502
1636
  "kind": "field",
1503
- "name": "hideDisabled",
1637
+ "name": "headinglevel",
1504
1638
  "type": {
1505
- "text": "boolean"
1639
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1506
1640
  },
1507
- "default": "false"
1641
+ "privacy": "public",
1642
+ "default": "2",
1643
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1644
+ "inheritedFrom": {
1645
+ "name": "AccordionItem",
1646
+ "module": "src/accordion-item/accordion-item.ts"
1647
+ }
1508
1648
  },
1509
1649
  {
1510
1650
  "kind": "field",
1511
- "name": "hideMenuSingleOption",
1651
+ "name": "expanded",
1512
1652
  "type": {
1513
1653
  "text": "boolean"
1514
1654
  },
1515
- "default": "false"
1516
- },
1517
- {
1518
- "kind": "field",
1519
- "name": "singleOption",
1520
- "type": {
1521
- "text": "ActionMenuItem"
1522
- }
1523
- },
1524
- {
1525
- "kind": "field",
1526
- "name": "actionsMenu",
1527
- "type": {
1528
- "text": "HTMLElement"
1655
+ "privacy": "public",
1656
+ "default": "false",
1657
+ "description": "Expands or collapses the item.",
1658
+ "inheritedFrom": {
1659
+ "name": "AccordionItem",
1660
+ "module": "src/accordion-item/accordion-item.ts"
1529
1661
  }
1530
1662
  },
1531
- {
1532
- "kind": "method",
1533
- "name": "definitionChanged",
1534
- "privacy": "protected",
1535
- "parameters": [
1536
- {
1537
- "name": "oldValue",
1538
- "type": {
1539
- "text": "any"
1540
- }
1541
- },
1542
- {
1543
- "name": "newValue",
1544
- "type": {
1545
- "text": "any"
1546
- }
1547
- }
1548
- ]
1549
- },
1550
- {
1551
- "kind": "method",
1552
- "name": "openChanged",
1553
- "privacy": "protected"
1554
- },
1555
- {
1556
- "kind": "method",
1557
- "name": "toggleActionsMenuVisibility"
1558
- },
1559
- {
1560
- "kind": "method",
1561
- "name": "onActionMenuItemClick",
1562
- "parameters": [
1563
- {
1564
- "name": "callback",
1565
- "type": {
1566
- "text": "(rowData) => void | any"
1567
- }
1568
- }
1569
- ]
1570
- },
1571
1663
  {
1572
1664
  "kind": "field",
1573
- "name": "allActions",
1665
+ "name": "id",
1574
1666
  "type": {
1575
- "text": "ActionMenuItem[]"
1667
+ "text": "string"
1576
1668
  },
1577
- "readonly": true
1669
+ "privacy": "public",
1670
+ "description": "The item ID",
1671
+ "inheritedFrom": {
1672
+ "name": "AccordionItem",
1673
+ "module": "src/accordion-item/accordion-item.ts"
1674
+ }
1578
1675
  },
1579
1676
  {
1580
1677
  "kind": "field",
1581
- "name": "rowData",
1582
- "readonly": true
1583
- },
1584
- {
1585
- "kind": "method",
1586
- "name": "getLabel",
1587
- "parameters": [
1588
- {
1589
- "name": "name",
1590
- "type": {
1591
- "text": "string | ((rowData: any) => string)"
1592
- }
1593
- }
1594
- ]
1595
- },
1596
- {
1597
- "kind": "method",
1598
- "name": "getTemplate",
1599
- "parameters": [
1600
- {
1601
- "name": "prefix",
1602
- "type": {
1603
- "text": "string"
1604
- }
1605
- }
1606
- ]
1678
+ "name": "change",
1679
+ "privacy": "private",
1680
+ "inheritedFrom": {
1681
+ "name": "AccordionItem",
1682
+ "module": "src/accordion-item/accordion-item.ts"
1683
+ }
1607
1684
  },
1608
1685
  {
1609
1686
  "kind": "field",
@@ -1717,138 +1794,78 @@
1717
1794
  }
1718
1795
  }
1719
1796
  ],
1720
- "attributes": [
1721
- {
1722
- "name": "is-vertical",
1723
- "type": {
1724
- "text": "boolean"
1725
- },
1726
- "default": "false",
1727
- "fieldName": "isVertical"
1728
- },
1729
- {
1730
- "name": "add-default-actions",
1731
- "type": {
1732
- "text": "boolean"
1733
- },
1734
- "default": "true",
1735
- "fieldName": "addDefaultActions"
1736
- },
1737
- {
1738
- "name": "auto-close-on-action",
1739
- "type": {
1740
- "text": "boolean"
1741
- },
1742
- "default": "true",
1743
- "fieldName": "autoCloseOnAction"
1744
- },
1745
- {
1746
- "name": "name",
1747
- "type": {
1748
- "text": "string"
1749
- },
1750
- "default": "'Actions'",
1751
- "fieldName": "name"
1752
- },
1753
- {
1754
- "name": "open",
1755
- "type": {
1756
- "text": "boolean"
1757
- },
1758
- "default": "false",
1759
- "fieldName": "open"
1760
- },
1761
- {
1762
- "name": "buttonAppearance",
1763
- "type": {
1764
- "text": "string"
1765
- },
1766
- "fieldName": "buttonAppearance"
1767
- },
1768
- {
1769
- "name": "hide-disabled",
1770
- "type": {
1771
- "text": "boolean"
1772
- },
1773
- "default": "false",
1774
- "fieldName": "hideDisabled"
1775
- },
1797
+ "events": [
1776
1798
  {
1777
- "name": "hide-menu-single-option",
1778
- "type": {
1779
- "text": "boolean"
1780
- },
1781
- "default": "false",
1782
- "fieldName": "hideMenuSingleOption"
1799
+ "description": "Fires a custom 'change' event when the button is invoked",
1800
+ "name": "change",
1801
+ "inheritedFrom": {
1802
+ "name": "AccordionItem",
1803
+ "module": "src/accordion-item/accordion-item.ts"
1804
+ }
1783
1805
  }
1784
- ],
1785
- "superclass": {
1786
- "name": "FoundationElement",
1787
- "package": "@microsoft/fast-foundation"
1806
+ ]
1807
+ },
1808
+ {
1809
+ "kind": "variable",
1810
+ "name": "foundationAccordionItemShadowOptions",
1811
+ "type": {
1812
+ "text": "ShadowRootInit"
1788
1813
  },
1789
- "tagName": "%%prefix%%-actions-menu",
1790
- "customElement": true
1814
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1791
1815
  },
1792
1816
  {
1793
1817
  "kind": "variable",
1794
- "name": "foundationActionsMenu",
1795
- "description": "The Foundation Actions Menu",
1818
+ "name": "defaultAccordionItemConfig",
1819
+ "type": {
1820
+ "text": "object"
1821
+ },
1822
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1823
+ },
1824
+ {
1825
+ "kind": "variable",
1826
+ "name": "foundationAccordionItem",
1827
+ "description": "The Foundation Accordion Item",
1796
1828
  "privacy": "public"
1797
1829
  }
1798
1830
  ],
1799
1831
  "exports": [
1800
1832
  {
1801
1833
  "kind": "js",
1802
- "name": "ActionsMenu",
1834
+ "name": "AccordionItem",
1803
1835
  "declaration": {
1804
- "name": "ActionsMenu",
1805
- "module": "src/actions-menu/actions-menu.ts"
1836
+ "name": "AccordionItem",
1837
+ "module": "src/accordion-item/accordion-item.ts"
1806
1838
  }
1807
1839
  },
1808
1840
  {
1809
1841
  "kind": "js",
1810
- "name": "foundationActionsMenu",
1811
- "declaration": {
1812
- "name": "foundationActionsMenu",
1813
- "module": "src/actions-menu/actions-menu.ts"
1814
- }
1815
- }
1816
- ]
1817
- },
1818
- {
1819
- "kind": "javascript-module",
1820
- "path": "src/actions-menu/index.ts",
1821
- "declarations": [],
1822
- "exports": [
1823
- {
1824
- "kind": "js",
1825
- "name": "*",
1842
+ "name": "foundationAccordionItemShadowOptions",
1826
1843
  "declaration": {
1827
- "name": "*",
1828
- "package": "./actions-menu.styles"
1844
+ "name": "foundationAccordionItemShadowOptions",
1845
+ "module": "src/accordion-item/accordion-item.ts"
1829
1846
  }
1830
1847
  },
1831
1848
  {
1832
1849
  "kind": "js",
1833
- "name": "*",
1850
+ "name": "defaultAccordionItemConfig",
1834
1851
  "declaration": {
1835
- "name": "*",
1836
- "package": "./actions-menu.template"
1852
+ "name": "defaultAccordionItemConfig",
1853
+ "module": "src/accordion-item/accordion-item.ts"
1837
1854
  }
1838
1855
  },
1839
1856
  {
1840
1857
  "kind": "js",
1841
- "name": "*",
1858
+ "name": "foundationAccordionItem",
1842
1859
  "declaration": {
1843
- "name": "*",
1844
- "package": "./actions-menu"
1860
+ "name": "foundationAccordionItem",
1861
+ "module": "src/accordion-item/accordion-item.ts"
1845
1862
  }
1846
1863
  }
1847
1864
  ]
1848
1865
  },
1849
1866
  {
1850
1867
  "kind": "javascript-module",
1851
- "path": "src/_config/index.ts",
1868
+ "path": "src/accordion-item/index.ts",
1852
1869
  "declarations": [],
1853
1870
  "exports": [
1854
1871
  {
@@ -1856,7 +1873,7 @@
1856
1873
  "name": "*",
1857
1874
  "declaration": {
1858
1875
  "name": "*",
1859
- "package": "./styles"
1876
+ "package": "./accordion-item.template"
1860
1877
  }
1861
1878
  },
1862
1879
  {
@@ -1864,7 +1881,7 @@
1864
1881
  "name": "*",
1865
1882
  "declaration": {
1866
1883
  "name": "*",
1867
- "package": "./tokens"
1884
+ "package": "./accordion-item.styles"
1868
1885
  }
1869
1886
  },
1870
1887
  {
@@ -1872,226 +1889,232 @@
1872
1889
  "name": "*",
1873
1890
  "declaration": {
1874
1891
  "name": "*",
1875
- "package": "./values"
1892
+ "package": "./accordion-item"
1876
1893
  }
1877
1894
  }
1878
1895
  ]
1879
1896
  },
1880
1897
  {
1881
1898
  "kind": "javascript-module",
1882
- "path": "src/accordion-item/accordion-item.styles.ts",
1899
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1883
1900
  "declarations": [
1884
1901
  {
1885
- "kind": "function",
1886
- "name": "foundationAccordionItemStyles",
1887
- "return": {
1888
- "type": {
1889
- "text": "ElementStyles"
1890
- }
1891
- },
1892
- "parameters": [
1893
- {
1894
- "name": "context",
1895
- "type": {
1896
- "text": "ElementDefinitionContext"
1897
- }
1898
- },
1899
- {
1900
- "name": "definition",
1901
- "type": {
1902
- "text": "FoundationElementDefinition"
1903
- }
1904
- }
1905
- ]
1902
+ "kind": "variable",
1903
+ "name": "foundationAiCriteriaSearchStyles",
1904
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
1906
1905
  }
1907
1906
  ],
1908
1907
  "exports": [
1909
1908
  {
1910
1909
  "kind": "js",
1911
- "name": "foundationAccordionItemStyles",
1910
+ "name": "foundationAiCriteriaSearchStyles",
1912
1911
  "declaration": {
1913
- "name": "foundationAccordionItemStyles",
1914
- "module": "src/accordion-item/accordion-item.styles.ts"
1912
+ "name": "foundationAiCriteriaSearchStyles",
1913
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1915
1914
  }
1916
1915
  }
1917
1916
  ]
1918
1917
  },
1919
1918
  {
1920
1919
  "kind": "javascript-module",
1921
- "path": "src/accordion-item/accordion-item.template.ts",
1920
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1922
1921
  "declarations": [
1923
1922
  {
1924
- "kind": "function",
1925
- "name": "foundationAccordionItemTemplate",
1926
- "return": {
1927
- "type": {
1928
- "text": "ViewTemplate<AccordionItem>"
1929
- }
1923
+ "kind": "variable",
1924
+ "name": "foundationAiCriteriaSearchTemplate",
1925
+ "type": {
1926
+ "text": "ViewTemplate<AiCriteriaSearch>"
1930
1927
  },
1931
- "parameters": [
1932
- {
1933
- "name": "context",
1934
- "type": {
1935
- "text": "ElementDefinitionContext"
1936
- }
1937
- },
1938
- {
1939
- "name": "definition",
1940
- "type": {
1941
- "text": "FoundationElementDefinition"
1942
- }
1943
- }
1944
- ]
1928
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
1945
1929
  }
1946
1930
  ],
1947
1931
  "exports": [
1948
1932
  {
1949
1933
  "kind": "js",
1950
- "name": "foundationAccordionItemTemplate",
1934
+ "name": "foundationAiCriteriaSearchTemplate",
1951
1935
  "declaration": {
1952
- "name": "foundationAccordionItemTemplate",
1953
- "module": "src/accordion-item/accordion-item.template.ts"
1936
+ "name": "foundationAiCriteriaSearchTemplate",
1937
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
1954
1938
  }
1955
1939
  }
1956
1940
  ]
1957
1941
  },
1958
1942
  {
1959
1943
  "kind": "javascript-module",
1960
- "path": "src/accordion-item/accordion-item.ts",
1944
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
1961
1945
  "declarations": [
1962
1946
  {
1963
1947
  "kind": "class",
1964
1948
  "description": "",
1965
- "name": "AccordionItem",
1966
- "superclass": {
1967
- "name": "FASTAccordionItem",
1968
- "package": "@microsoft/fast-components"
1969
- },
1970
- "tagName": "%%prefix%%-accordion-item",
1971
- "customElement": true,
1972
- "attributes": [
1973
- {
1974
- "name": "heading-level",
1975
- "type": {
1976
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1977
- },
1978
- "default": "2",
1979
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1980
- "fieldName": "headinglevel",
1981
- "inheritedFrom": {
1982
- "name": "AccordionItem",
1983
- "module": "src/accordion-item/accordion-item.ts"
1984
- }
1985
- },
1949
+ "name": "AiCriteriaSearch",
1950
+ "members": [
1986
1951
  {
1952
+ "kind": "field",
1953
+ "name": "aiProvider",
1987
1954
  "type": {
1988
- "text": "boolean"
1989
- },
1990
- "default": "false",
1991
- "description": "Expands or collapses the item.",
1992
- "fieldName": "expanded",
1993
- "inheritedFrom": {
1994
- "name": "AccordionItem",
1995
- "module": "src/accordion-item/accordion-item.ts"
1955
+ "text": "AIProvider"
1996
1956
  }
1997
1957
  },
1998
1958
  {
1999
- "name": "id",
1959
+ "kind": "field",
1960
+ "name": "placeholder",
2000
1961
  "type": {
2001
1962
  "text": "string"
2002
1963
  },
2003
- "description": "The item ID",
2004
- "fieldName": "id",
2005
- "inheritedFrom": {
2006
- "name": "AccordionItem",
2007
- "module": "src/accordion-item/accordion-item.ts"
2008
- }
2009
- }
2010
- ],
2011
- "members": [
1964
+ "default": "'Describe your search criteria in natural language...'"
1965
+ },
2012
1966
  {
2013
1967
  "kind": "field",
2014
- "name": "headinglevel",
1968
+ "name": "disabled",
2015
1969
  "type": {
2016
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2017
- },
2018
- "privacy": "public",
2019
- "default": "2",
2020
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2021
- "inheritedFrom": {
2022
- "name": "AccordionItem",
2023
- "module": "src/accordion-item/accordion-item.ts"
1970
+ "text": "boolean"
2024
1971
  }
2025
1972
  },
2026
1973
  {
2027
1974
  "kind": "field",
2028
- "name": "expanded",
1975
+ "name": "mode",
2029
1976
  "type": {
2030
- "text": "boolean"
1977
+ "text": "'append' | 'replace'"
2031
1978
  },
2032
- "privacy": "public",
2033
- "default": "false",
2034
- "description": "Expands or collapses the item.",
2035
- "inheritedFrom": {
2036
- "name": "AccordionItem",
2037
- "module": "src/accordion-item/accordion-item.ts"
2038
- }
1979
+ "default": "'replace'"
2039
1980
  },
2040
1981
  {
2041
1982
  "kind": "field",
2042
- "name": "id",
1983
+ "name": "inputValue",
2043
1984
  "type": {
2044
1985
  "text": "string"
2045
1986
  },
2046
- "privacy": "public",
2047
- "description": "The item ID",
2048
- "inheritedFrom": {
2049
- "name": "AccordionItem",
2050
- "module": "src/accordion-item/accordion-item.ts"
2051
- }
1987
+ "default": "''"
2052
1988
  },
2053
1989
  {
2054
1990
  "kind": "field",
2055
- "name": "change",
2056
- "privacy": "private",
2057
- "inheritedFrom": {
2058
- "name": "AccordionItem",
2059
- "module": "src/accordion-item/accordion-item.ts"
2060
- }
1991
+ "name": "isInterpreting",
1992
+ "type": {
1993
+ "text": "boolean"
1994
+ },
1995
+ "default": "false"
2061
1996
  },
2062
1997
  {
2063
1998
  "kind": "field",
2064
- "name": "_presentation",
1999
+ "name": "lastValidCriteria",
2065
2000
  "type": {
2066
- "text": "ComponentPresentation | null | undefined"
2001
+ "text": "string | null"
2067
2002
  },
2068
- "privacy": "private",
2069
- "default": "void 0",
2070
- "inheritedFrom": {
2071
- "name": "FoundationElement",
2072
- "module": "src/foundation-element/foundation-element.ts"
2073
- }
2003
+ "default": "null"
2074
2004
  },
2075
2005
  {
2076
2006
  "kind": "field",
2077
- "name": "$presentation",
2007
+ "name": "fieldMetadata",
2078
2008
  "type": {
2079
- "text": "ComponentPresentation | null"
2009
+ "text": "MetadataDetail[] | string[]"
2080
2010
  },
2081
- "privacy": "public",
2082
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2083
- "inheritedFrom": {
2084
- "name": "FoundationElement",
2085
- "module": "src/foundation-element/foundation-element.ts"
2086
- }
2011
+ "default": "[]"
2087
2012
  },
2088
2013
  {
2089
2014
  "kind": "field",
2090
- "name": "template",
2015
+ "name": "isRecording",
2091
2016
  "type": {
2092
- "text": "ElementViewTemplate | void | null"
2017
+ "text": "boolean"
2093
2018
  },
2094
- "privacy": "public",
2019
+ "default": "false"
2020
+ },
2021
+ {
2022
+ "kind": "field",
2023
+ "name": "textAreaRef",
2024
+ "type": {
2025
+ "text": "HTMLTextAreaElement"
2026
+ },
2027
+ "privacy": "public"
2028
+ },
2029
+ {
2030
+ "kind": "field",
2031
+ "name": "stopRecording",
2032
+ "type": {
2033
+ "text": "(() => void) | null"
2034
+ },
2035
+ "privacy": "private",
2036
+ "default": "null"
2037
+ },
2038
+ {
2039
+ "kind": "field",
2040
+ "name": "speechApplyDebounceTimer",
2041
+ "type": {
2042
+ "text": "ReturnType<typeof setTimeout> | null"
2043
+ },
2044
+ "privacy": "private",
2045
+ "default": "null"
2046
+ },
2047
+ {
2048
+ "kind": "field",
2049
+ "name": "baseInputForAppend",
2050
+ "type": {
2051
+ "text": "string"
2052
+ },
2053
+ "privacy": "private",
2054
+ "default": "''"
2055
+ },
2056
+ {
2057
+ "kind": "field",
2058
+ "name": "speechAvailable",
2059
+ "type": {
2060
+ "text": "boolean"
2061
+ },
2062
+ "readonly": true
2063
+ },
2064
+ {
2065
+ "kind": "method",
2066
+ "name": "handleSubmit"
2067
+ },
2068
+ {
2069
+ "kind": "method",
2070
+ "name": "handleBlur"
2071
+ },
2072
+ {
2073
+ "kind": "method",
2074
+ "name": "clear"
2075
+ },
2076
+ {
2077
+ "kind": "method",
2078
+ "name": "toggleSpeechInput"
2079
+ },
2080
+ {
2081
+ "kind": "method",
2082
+ "name": "clearSpeechApplyDebounce",
2083
+ "privacy": "private"
2084
+ },
2085
+ {
2086
+ "kind": "field",
2087
+ "name": "_presentation",
2088
+ "type": {
2089
+ "text": "ComponentPresentation | null | undefined"
2090
+ },
2091
+ "privacy": "private",
2092
+ "default": "void 0",
2093
+ "inheritedFrom": {
2094
+ "name": "FoundationElement",
2095
+ "module": "src/foundation-element/foundation-element.ts"
2096
+ }
2097
+ },
2098
+ {
2099
+ "kind": "field",
2100
+ "name": "$presentation",
2101
+ "type": {
2102
+ "text": "ComponentPresentation | null"
2103
+ },
2104
+ "privacy": "public",
2105
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2106
+ "inheritedFrom": {
2107
+ "name": "FoundationElement",
2108
+ "module": "src/foundation-element/foundation-element.ts"
2109
+ }
2110
+ },
2111
+ {
2112
+ "kind": "field",
2113
+ "name": "template",
2114
+ "type": {
2115
+ "text": "ElementViewTemplate | void | null"
2116
+ },
2117
+ "privacy": "public",
2095
2118
  "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.",
2096
2119
  "inheritedFrom": {
2097
2120
  "name": "FoundationElement",
@@ -2171,86 +2194,144 @@
2171
2194
  }
2172
2195
  }
2173
2196
  ],
2174
- "events": [
2197
+ "attributes": [
2175
2198
  {
2176
- "description": "Fires a custom 'change' event when the button is invoked",
2177
- "name": "change",
2178
- "inheritedFrom": {
2179
- "name": "AccordionItem",
2180
- "module": "src/accordion-item/accordion-item.ts"
2181
- }
2199
+ "name": "placeholder",
2200
+ "type": {
2201
+ "text": "string"
2202
+ },
2203
+ "default": "'Describe your search criteria in natural language...'",
2204
+ "fieldName": "placeholder"
2205
+ },
2206
+ {
2207
+ "type": {
2208
+ "text": "boolean"
2209
+ },
2210
+ "fieldName": "disabled"
2211
+ },
2212
+ {
2213
+ "name": "mode",
2214
+ "type": {
2215
+ "text": "'append' | 'replace'"
2216
+ },
2217
+ "default": "'replace'",
2218
+ "fieldName": "mode"
2182
2219
  }
2183
- ]
2220
+ ],
2221
+ "superclass": {
2222
+ "name": "FoundationElement",
2223
+ "package": "@microsoft/fast-foundation"
2224
+ },
2225
+ "tagName": "%%prefix%%-ai-criteria-search",
2226
+ "customElement": true
2184
2227
  },
2185
2228
  {
2186
2229
  "kind": "variable",
2187
- "name": "foundationAccordionItemShadowOptions",
2230
+ "name": "foundationAiCriteriaSearchShadowOptions",
2188
2231
  "type": {
2189
2232
  "text": "ShadowRootInit"
2190
2233
  },
2191
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2234
+ "default": "undefined"
2192
2235
  },
2193
2236
  {
2194
2237
  "kind": "variable",
2195
- "name": "defaultAccordionItemConfig",
2238
+ "name": "defaultAiCriteriaSearchConfig",
2196
2239
  "type": {
2197
2240
  "text": "object"
2198
2241
  },
2199
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2242
+ "default": "{}"
2200
2243
  },
2201
2244
  {
2202
2245
  "kind": "variable",
2203
- "name": "foundationAccordionItem",
2204
- "description": "The Foundation Accordion Item",
2205
- "privacy": "public"
2246
+ "name": "foundationAiCriteriaSearch"
2206
2247
  }
2207
2248
  ],
2208
2249
  "exports": [
2209
2250
  {
2210
2251
  "kind": "js",
2211
- "name": "AccordionItem",
2252
+ "name": "AiCriteriaSearch",
2212
2253
  "declaration": {
2213
- "name": "AccordionItem",
2214
- "module": "src/accordion-item/accordion-item.ts"
2254
+ "name": "AiCriteriaSearch",
2255
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2215
2256
  }
2216
2257
  },
2217
2258
  {
2218
2259
  "kind": "js",
2219
- "name": "foundationAccordionItemShadowOptions",
2260
+ "name": "foundationAiCriteriaSearchShadowOptions",
2220
2261
  "declaration": {
2221
- "name": "foundationAccordionItemShadowOptions",
2222
- "module": "src/accordion-item/accordion-item.ts"
2262
+ "name": "foundationAiCriteriaSearchShadowOptions",
2263
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2223
2264
  }
2224
2265
  },
2225
2266
  {
2226
2267
  "kind": "js",
2227
- "name": "defaultAccordionItemConfig",
2268
+ "name": "defaultAiCriteriaSearchConfig",
2228
2269
  "declaration": {
2229
- "name": "defaultAccordionItemConfig",
2230
- "module": "src/accordion-item/accordion-item.ts"
2270
+ "name": "defaultAiCriteriaSearchConfig",
2271
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2231
2272
  }
2232
2273
  },
2233
2274
  {
2234
2275
  "kind": "js",
2235
- "name": "foundationAccordionItem",
2276
+ "name": "foundationAiCriteriaSearch",
2236
2277
  "declaration": {
2237
- "name": "foundationAccordionItem",
2238
- "module": "src/accordion-item/accordion-item.ts"
2278
+ "name": "foundationAiCriteriaSearch",
2279
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2239
2280
  }
2240
2281
  }
2241
2282
  ]
2242
2283
  },
2243
2284
  {
2244
2285
  "kind": "javascript-module",
2245
- "path": "src/accordion-item/index.ts",
2286
+ "path": "src/ai-criteria-search/index.ts",
2246
2287
  "declarations": [],
2247
2288
  "exports": [
2248
2289
  {
2249
2290
  "kind": "js",
2250
- "name": "*",
2291
+ "name": "AiCriteriaSearch",
2251
2292
  "declaration": {
2252
- "name": "*",
2253
- "package": "./accordion-item.template"
2293
+ "name": "AiCriteriaSearch",
2294
+ "module": "./ai-criteria-search"
2295
+ }
2296
+ },
2297
+ {
2298
+ "kind": "js",
2299
+ "name": "defaultAiCriteriaSearchConfig",
2300
+ "declaration": {
2301
+ "name": "defaultAiCriteriaSearchConfig",
2302
+ "module": "./ai-criteria-search"
2303
+ }
2304
+ },
2305
+ {
2306
+ "kind": "js",
2307
+ "name": "foundationAiCriteriaSearch",
2308
+ "declaration": {
2309
+ "name": "foundationAiCriteriaSearch",
2310
+ "module": "./ai-criteria-search"
2311
+ }
2312
+ },
2313
+ {
2314
+ "kind": "js",
2315
+ "name": "foundationAiCriteriaSearchShadowOptions",
2316
+ "declaration": {
2317
+ "name": "foundationAiCriteriaSearchShadowOptions",
2318
+ "module": "./ai-criteria-search"
2319
+ }
2320
+ },
2321
+ {
2322
+ "kind": "js",
2323
+ "name": "foundationAiCriteriaSearchStyles",
2324
+ "declaration": {
2325
+ "name": "foundationAiCriteriaSearchStyles",
2326
+ "module": "./ai-criteria-search.styles"
2327
+ }
2328
+ },
2329
+ {
2330
+ "kind": "js",
2331
+ "name": "foundationAiCriteriaSearchTemplate",
2332
+ "declaration": {
2333
+ "name": "foundationAiCriteriaSearchTemplate",
2334
+ "module": "./ai-criteria-search.template"
2254
2335
  }
2255
2336
  },
2256
2337
  {
@@ -2258,7 +2339,7 @@
2258
2339
  "name": "*",
2259
2340
  "declaration": {
2260
2341
  "name": "*",
2261
- "package": "./accordion-item.styles"
2342
+ "package": "./validation/criteria-ir"
2262
2343
  }
2263
2344
  },
2264
2345
  {
@@ -2266,106 +2347,184 @@
2266
2347
  "name": "*",
2267
2348
  "declaration": {
2268
2349
  "name": "*",
2269
- "package": "./accordion-item"
2350
+ "package": "./validation/operator-map"
2270
2351
  }
2271
- }
2272
- ]
2273
- },
2274
- {
2275
- "kind": "javascript-module",
2276
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2277
- "declarations": [
2278
- {
2279
- "kind": "variable",
2280
- "name": "foundationAiCriteriaSearchStyles",
2281
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .mode-control {\n flex-shrink: 0;\n }\n`"
2282
- }
2283
- ],
2284
- "exports": [
2352
+ },
2285
2353
  {
2286
2354
  "kind": "js",
2287
- "name": "foundationAiCriteriaSearchStyles",
2355
+ "name": "*",
2288
2356
  "declaration": {
2289
- "name": "foundationAiCriteriaSearchStyles",
2290
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2357
+ "name": "*",
2358
+ "package": "./validation/schema-validator"
2291
2359
  }
2292
2360
  }
2293
2361
  ]
2294
2362
  },
2295
2363
  {
2296
2364
  "kind": "javascript-module",
2297
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2365
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2298
2366
  "declarations": [
2299
2367
  {
2300
- "kind": "variable",
2301
- "name": "foundationAiCriteriaSearchTemplate",
2302
- "type": {
2303
- "text": "ViewTemplate<AiCriteriaSearch>"
2368
+ "kind": "function",
2369
+ "name": "formatValidationErrors",
2370
+ "return": {
2371
+ "type": {
2372
+ "text": "string"
2373
+ }
2304
2374
  },
2305
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2375
+ "parameters": [
2376
+ {
2377
+ "name": "errors",
2378
+ "type": {
2379
+ "text": "ValidationError[]"
2380
+ }
2381
+ }
2382
+ ],
2383
+ "description": "Formats validation errors into a user-friendly message."
2384
+ },
2385
+ {
2386
+ "kind": "function",
2387
+ "name": "showCriteriaError",
2388
+ "return": {
2389
+ "type": {
2390
+ "text": "void"
2391
+ }
2392
+ },
2393
+ "parameters": [
2394
+ {
2395
+ "name": "title",
2396
+ "type": {
2397
+ "text": "string"
2398
+ },
2399
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2400
+ },
2401
+ {
2402
+ "name": "body",
2403
+ "type": {
2404
+ "text": "string"
2405
+ },
2406
+ "description": "Error message to display"
2407
+ },
2408
+ {
2409
+ "name": "tagName",
2410
+ "type": {
2411
+ "text": "string"
2412
+ },
2413
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2414
+ }
2415
+ ],
2416
+ "description": "Shows a criteria error as a toast notification."
2306
2417
  }
2307
2418
  ],
2308
2419
  "exports": [
2309
2420
  {
2310
2421
  "kind": "js",
2311
- "name": "foundationAiCriteriaSearchTemplate",
2422
+ "name": "formatValidationErrors",
2312
2423
  "declaration": {
2313
- "name": "foundationAiCriteriaSearchTemplate",
2314
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2424
+ "name": "formatValidationErrors",
2425
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2426
+ }
2427
+ },
2428
+ {
2429
+ "kind": "js",
2430
+ "name": "showCriteriaError",
2431
+ "declaration": {
2432
+ "name": "showCriteriaError",
2433
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2315
2434
  }
2316
2435
  }
2317
2436
  ]
2318
2437
  },
2319
2438
  {
2320
2439
  "kind": "javascript-module",
2321
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2440
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2322
2441
  "declarations": [
2323
2442
  {
2324
- "kind": "class",
2325
- "description": "",
2326
- "name": "AiCriteriaSearch",
2327
- "members": [
2443
+ "kind": "function",
2444
+ "name": "foundationAiIndicatorStyles",
2445
+ "return": {
2446
+ "type": {
2447
+ "text": "ElementStyles"
2448
+ }
2449
+ },
2450
+ "parameters": [
2328
2451
  {
2329
- "kind": "field",
2330
- "name": "aiProvider",
2452
+ "name": "context",
2331
2453
  "type": {
2332
- "text": "AIProvider"
2454
+ "text": "ElementDefinitionContext"
2333
2455
  }
2334
2456
  },
2335
2457
  {
2336
- "kind": "field",
2337
- "name": "placeholder",
2338
- "type": {
2339
- "text": "string"
2340
- },
2341
- "default": "'Describe your search criteria in natural language...'"
2342
- },
2343
- {
2344
- "kind": "field",
2345
- "name": "disabled",
2458
+ "name": "definition",
2346
2459
  "type": {
2347
- "text": "boolean"
2460
+ "text": "FoundationElementDefinition"
2348
2461
  }
2349
- },
2462
+ }
2463
+ ]
2464
+ }
2465
+ ],
2466
+ "exports": [
2467
+ {
2468
+ "kind": "js",
2469
+ "name": "foundationAiIndicatorStyles",
2470
+ "declaration": {
2471
+ "name": "foundationAiIndicatorStyles",
2472
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2473
+ }
2474
+ }
2475
+ ]
2476
+ },
2477
+ {
2478
+ "kind": "javascript-module",
2479
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2480
+ "declarations": [
2481
+ {
2482
+ "kind": "variable",
2483
+ "name": "foundationAiIndicatorTemplate",
2484
+ "type": {
2485
+ "text": "ViewTemplate<AiIndicator>"
2486
+ },
2487
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2488
+ }
2489
+ ],
2490
+ "exports": [
2491
+ {
2492
+ "kind": "js",
2493
+ "name": "foundationAiIndicatorTemplate",
2494
+ "declaration": {
2495
+ "name": "foundationAiIndicatorTemplate",
2496
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2497
+ }
2498
+ }
2499
+ ]
2500
+ },
2501
+ {
2502
+ "kind": "javascript-module",
2503
+ "path": "src/ai-indicator/ai-indicator.ts",
2504
+ "declarations": [
2505
+ {
2506
+ "kind": "class",
2507
+ "description": "",
2508
+ "name": "AiIndicator",
2509
+ "members": [
2350
2510
  {
2351
2511
  "kind": "field",
2352
- "name": "mode",
2512
+ "name": "aiProvider",
2353
2513
  "type": {
2354
- "text": "'append' | 'replace'"
2355
- },
2356
- "default": "'replace'"
2514
+ "text": "AIProvider"
2515
+ }
2357
2516
  },
2358
2517
  {
2359
2518
  "kind": "field",
2360
- "name": "inputValue",
2519
+ "name": "status",
2361
2520
  "type": {
2362
- "text": "string"
2521
+ "text": "AIStatus | null"
2363
2522
  },
2364
- "default": "''"
2523
+ "default": "null"
2365
2524
  },
2366
2525
  {
2367
2526
  "kind": "field",
2368
- "name": "isInterpreting",
2527
+ "name": "open",
2369
2528
  "type": {
2370
2529
  "text": "boolean"
2371
2530
  },
@@ -2373,23 +2532,15 @@
2373
2532
  },
2374
2533
  {
2375
2534
  "kind": "field",
2376
- "name": "lastValidCriteria",
2377
- "type": {
2378
- "text": "string | null"
2379
- },
2380
- "default": "null"
2381
- },
2382
- {
2383
- "kind": "field",
2384
- "name": "fieldMetadata",
2535
+ "name": "state",
2385
2536
  "type": {
2386
- "text": "MetadataDetail[] | string[]"
2537
+ "text": "AIIndicatorState"
2387
2538
  },
2388
- "default": "[]"
2539
+ "default": "'none'"
2389
2540
  },
2390
2541
  {
2391
2542
  "kind": "field",
2392
- "name": "isRecording",
2543
+ "name": "isInstalling",
2393
2544
  "type": {
2394
2545
  "text": "boolean"
2395
2546
  },
@@ -2397,42 +2548,37 @@
2397
2548
  },
2398
2549
  {
2399
2550
  "kind": "field",
2400
- "name": "textAreaRef",
2551
+ "name": "pollTimer",
2401
2552
  "type": {
2402
- "text": "HTMLTextAreaElement"
2553
+ "text": "ReturnType<typeof setInterval> | null"
2403
2554
  },
2404
- "privacy": "public"
2555
+ "privacy": "private",
2556
+ "default": "null"
2405
2557
  },
2406
2558
  {
2407
2559
  "kind": "field",
2408
- "name": "stopRecording",
2409
- "type": {
2410
- "text": "(() => void) | null"
2411
- },
2412
- "privacy": "private",
2413
- "default": "null"
2560
+ "name": "clickOutside",
2561
+ "privacy": "private"
2414
2562
  },
2415
2563
  {
2416
2564
  "kind": "field",
2417
- "name": "speechApplyDebounceTimer",
2565
+ "name": "chromeStatusLabel",
2418
2566
  "type": {
2419
- "text": "ReturnType<typeof setTimeout> | null"
2567
+ "text": "string | null"
2420
2568
  },
2421
- "privacy": "private",
2422
- "default": "null"
2569
+ "readonly": true
2423
2570
  },
2424
2571
  {
2425
2572
  "kind": "field",
2426
- "name": "baseInputForAppend",
2573
+ "name": "canInstall",
2427
2574
  "type": {
2428
- "text": "string"
2575
+ "text": "boolean"
2429
2576
  },
2430
- "privacy": "private",
2431
- "default": "''"
2577
+ "readonly": true
2432
2578
  },
2433
2579
  {
2434
2580
  "kind": "field",
2435
- "name": "speechAvailable",
2581
+ "name": "isDownloading",
2436
2582
  "type": {
2437
2583
  "text": "boolean"
2438
2584
  },
@@ -2440,40 +2586,111 @@
2440
2586
  },
2441
2587
  {
2442
2588
  "kind": "method",
2443
- "name": "handleSubmit"
2589
+ "name": "openChanged",
2590
+ "return": {
2591
+ "type": {
2592
+ "text": "void"
2593
+ }
2594
+ }
2444
2595
  },
2445
2596
  {
2446
2597
  "kind": "method",
2447
- "name": "handleBlur"
2598
+ "name": "handleClickOutside",
2599
+ "privacy": "private",
2600
+ "parameters": [
2601
+ {
2602
+ "name": "event",
2603
+ "type": {
2604
+ "text": "MouseEvent"
2605
+ }
2606
+ }
2607
+ ]
2448
2608
  },
2449
2609
  {
2450
2610
  "kind": "method",
2451
- "name": "clear"
2611
+ "name": "toggleDropdown"
2452
2612
  },
2453
2613
  {
2454
2614
  "kind": "method",
2455
- "name": "toggleSpeechInput"
2615
+ "name": "refreshStatus",
2616
+ "return": {
2617
+ "type": {
2618
+ "text": "Promise<void>"
2619
+ }
2620
+ }
2456
2621
  },
2457
2622
  {
2458
2623
  "kind": "method",
2459
- "name": "clearSpeechApplyDebounce",
2460
- "privacy": "private"
2461
- },
2462
- {
2463
- "kind": "field",
2464
- "name": "_presentation",
2465
- "type": {
2466
- "text": "ComponentPresentation | null | undefined"
2467
- },
2624
+ "name": "deriveState",
2468
2625
  "privacy": "private",
2469
- "default": "void 0",
2470
- "inheritedFrom": {
2471
- "name": "FoundationElement",
2472
- "module": "src/foundation-element/foundation-element.ts"
2473
- }
2626
+ "return": {
2627
+ "type": {
2628
+ "text": "AIIndicatorState"
2629
+ }
2630
+ },
2631
+ "parameters": [
2632
+ {
2633
+ "name": "s",
2634
+ "type": {
2635
+ "text": "AIStatus | null"
2636
+ }
2637
+ }
2638
+ ]
2474
2639
  },
2475
2640
  {
2476
- "kind": "field",
2641
+ "kind": "method",
2642
+ "name": "maybeStartPolling",
2643
+ "privacy": "private",
2644
+ "return": {
2645
+ "type": {
2646
+ "text": "void"
2647
+ }
2648
+ }
2649
+ },
2650
+ {
2651
+ "kind": "method",
2652
+ "name": "startPolling",
2653
+ "privacy": "private",
2654
+ "return": {
2655
+ "type": {
2656
+ "text": "void"
2657
+ }
2658
+ }
2659
+ },
2660
+ {
2661
+ "kind": "method",
2662
+ "name": "stopPolling",
2663
+ "privacy": "private",
2664
+ "return": {
2665
+ "type": {
2666
+ "text": "void"
2667
+ }
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "method",
2672
+ "name": "onInstall",
2673
+ "return": {
2674
+ "type": {
2675
+ "text": "Promise<void>"
2676
+ }
2677
+ }
2678
+ },
2679
+ {
2680
+ "kind": "field",
2681
+ "name": "_presentation",
2682
+ "type": {
2683
+ "text": "ComponentPresentation | null | undefined"
2684
+ },
2685
+ "privacy": "private",
2686
+ "default": "void 0",
2687
+ "inheritedFrom": {
2688
+ "name": "FoundationElement",
2689
+ "module": "src/foundation-element/foundation-element.ts"
2690
+ }
2691
+ },
2692
+ {
2693
+ "kind": "field",
2477
2694
  "name": "$presentation",
2478
2695
  "type": {
2479
2696
  "text": "ComponentPresentation | null"
@@ -2571,487 +2788,409 @@
2571
2788
  }
2572
2789
  }
2573
2790
  ],
2574
- "attributes": [
2575
- {
2576
- "name": "placeholder",
2577
- "type": {
2578
- "text": "string"
2579
- },
2580
- "default": "'Describe your search criteria in natural language...'",
2581
- "fieldName": "placeholder"
2582
- },
2583
- {
2584
- "type": {
2585
- "text": "boolean"
2586
- },
2587
- "fieldName": "disabled"
2588
- },
2589
- {
2590
- "name": "mode",
2591
- "type": {
2592
- "text": "'append' | 'replace'"
2593
- },
2594
- "default": "'replace'",
2595
- "fieldName": "mode"
2596
- }
2597
- ],
2598
2791
  "superclass": {
2599
2792
  "name": "FoundationElement",
2600
2793
  "package": "@microsoft/fast-foundation"
2601
2794
  },
2602
- "tagName": "%%prefix%%-ai-criteria-search",
2795
+ "tagName": "%%prefix%%-ai-indicator",
2603
2796
  "customElement": true
2604
2797
  },
2605
2798
  {
2606
2799
  "kind": "variable",
2607
- "name": "foundationAiCriteriaSearchShadowOptions",
2608
- "type": {
2609
- "text": "ShadowRootInit"
2610
- },
2611
- "default": "undefined"
2612
- },
2613
- {
2614
- "kind": "variable",
2615
- "name": "defaultAiCriteriaSearchConfig",
2616
- "type": {
2617
- "text": "object"
2618
- },
2619
- "default": "{}"
2620
- },
2621
- {
2622
- "kind": "variable",
2623
- "name": "foundationAiCriteriaSearch"
2800
+ "name": "foundationAiIndicator"
2624
2801
  }
2625
2802
  ],
2626
2803
  "exports": [
2627
2804
  {
2628
2805
  "kind": "js",
2629
- "name": "AiCriteriaSearch",
2630
- "declaration": {
2631
- "name": "AiCriteriaSearch",
2632
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2633
- }
2634
- },
2635
- {
2636
- "kind": "js",
2637
- "name": "foundationAiCriteriaSearchShadowOptions",
2638
- "declaration": {
2639
- "name": "foundationAiCriteriaSearchShadowOptions",
2640
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2641
- }
2642
- },
2643
- {
2644
- "kind": "js",
2645
- "name": "defaultAiCriteriaSearchConfig",
2806
+ "name": "AiIndicator",
2646
2807
  "declaration": {
2647
- "name": "defaultAiCriteriaSearchConfig",
2648
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2808
+ "name": "AiIndicator",
2809
+ "module": "src/ai-indicator/ai-indicator.ts"
2649
2810
  }
2650
2811
  },
2651
2812
  {
2652
2813
  "kind": "js",
2653
- "name": "foundationAiCriteriaSearch",
2814
+ "name": "foundationAiIndicator",
2654
2815
  "declaration": {
2655
- "name": "foundationAiCriteriaSearch",
2656
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2816
+ "name": "foundationAiIndicator",
2817
+ "module": "src/ai-indicator/ai-indicator.ts"
2657
2818
  }
2658
2819
  }
2659
2820
  ]
2660
2821
  },
2661
2822
  {
2662
2823
  "kind": "javascript-module",
2663
- "path": "src/ai-criteria-search/index.ts",
2824
+ "path": "src/ai-indicator/index.ts",
2664
2825
  "declarations": [],
2665
2826
  "exports": [
2666
2827
  {
2667
2828
  "kind": "js",
2668
- "name": "AiCriteriaSearch",
2669
- "declaration": {
2670
- "name": "AiCriteriaSearch",
2671
- "module": "./ai-criteria-search"
2672
- }
2673
- },
2674
- {
2675
- "kind": "js",
2676
- "name": "defaultAiCriteriaSearchConfig",
2677
- "declaration": {
2678
- "name": "defaultAiCriteriaSearchConfig",
2679
- "module": "./ai-criteria-search"
2680
- }
2681
- },
2682
- {
2683
- "kind": "js",
2684
- "name": "foundationAiCriteriaSearch",
2685
- "declaration": {
2686
- "name": "foundationAiCriteriaSearch",
2687
- "module": "./ai-criteria-search"
2688
- }
2689
- },
2690
- {
2691
- "kind": "js",
2692
- "name": "foundationAiCriteriaSearchShadowOptions",
2829
+ "name": "AiIndicator",
2693
2830
  "declaration": {
2694
- "name": "foundationAiCriteriaSearchShadowOptions",
2695
- "module": "./ai-criteria-search"
2831
+ "name": "AiIndicator",
2832
+ "module": "./ai-indicator"
2696
2833
  }
2697
2834
  },
2698
2835
  {
2699
2836
  "kind": "js",
2700
- "name": "foundationAiCriteriaSearchStyles",
2837
+ "name": "foundationAiIndicator",
2701
2838
  "declaration": {
2702
- "name": "foundationAiCriteriaSearchStyles",
2703
- "module": "./ai-criteria-search.styles"
2839
+ "name": "foundationAiIndicator",
2840
+ "module": "./ai-indicator"
2704
2841
  }
2705
2842
  },
2706
2843
  {
2707
2844
  "kind": "js",
2708
- "name": "foundationAiCriteriaSearchTemplate",
2845
+ "name": "type",
2709
2846
  "declaration": {
2710
- "name": "foundationAiCriteriaSearchTemplate",
2711
- "module": "./ai-criteria-search.template"
2847
+ "name": "type",
2848
+ "module": "./ai-indicator"
2712
2849
  }
2713
2850
  },
2714
2851
  {
2715
2852
  "kind": "js",
2716
- "name": "*",
2853
+ "name": "AIIndicatorState",
2717
2854
  "declaration": {
2718
- "name": "*",
2719
- "package": "./validation/criteria-ir"
2855
+ "name": "AIIndicatorState",
2856
+ "module": "./ai-indicator"
2720
2857
  }
2721
2858
  },
2722
2859
  {
2723
2860
  "kind": "js",
2724
- "name": "*",
2861
+ "name": "foundationAiIndicatorTemplate",
2725
2862
  "declaration": {
2726
- "name": "*",
2727
- "package": "./validation/operator-map"
2863
+ "name": "foundationAiIndicatorTemplate",
2864
+ "module": "./ai-indicator.template"
2728
2865
  }
2729
2866
  },
2730
2867
  {
2731
2868
  "kind": "js",
2732
- "name": "*",
2869
+ "name": "foundationAiIndicatorStyles",
2733
2870
  "declaration": {
2734
- "name": "*",
2735
- "package": "./validation/schema-validator"
2871
+ "name": "foundationAiIndicatorStyles",
2872
+ "module": "./ai-indicator.styles"
2736
2873
  }
2737
2874
  }
2738
2875
  ]
2739
2876
  },
2740
2877
  {
2741
2878
  "kind": "javascript-module",
2742
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2879
+ "path": "src/actions-menu/actions-menu.styles.ts",
2743
2880
  "declarations": [
2744
2881
  {
2745
2882
  "kind": "function",
2746
- "name": "formatValidationErrors",
2883
+ "name": "actionsMenuBaseStyles",
2747
2884
  "return": {
2748
2885
  "type": {
2749
- "text": "string"
2886
+ "text": "ElementStyles"
2750
2887
  }
2751
2888
  },
2752
2889
  "parameters": [
2753
2890
  {
2754
- "name": "errors",
2891
+ "name": "context",
2755
2892
  "type": {
2756
- "text": "ValidationError[]"
2893
+ "text": "ElementDefinitionContext"
2894
+ }
2895
+ },
2896
+ {
2897
+ "name": "definition",
2898
+ "type": {
2899
+ "text": "FoundationElementDefinition"
2757
2900
  }
2758
2901
  }
2759
- ],
2760
- "description": "Formats validation errors into a user-friendly message."
2902
+ ]
2761
2903
  },
2762
2904
  {
2763
2905
  "kind": "function",
2764
- "name": "showCriteriaError",
2906
+ "name": "foundationActionsMenuStyles",
2765
2907
  "return": {
2766
2908
  "type": {
2767
- "text": "void"
2909
+ "text": "ElementStyles"
2768
2910
  }
2769
2911
  },
2770
2912
  "parameters": [
2771
2913
  {
2772
- "name": "title",
2773
- "type": {
2774
- "text": "string"
2775
- },
2776
- "description": "Notification title (e.g. \"Criteria validation error\")"
2777
- },
2778
- {
2779
- "name": "body",
2914
+ "name": "context",
2780
2915
  "type": {
2781
- "text": "string"
2782
- },
2783
- "description": "Error message to display"
2916
+ "text": "ElementDefinitionContext"
2917
+ }
2784
2918
  },
2785
2919
  {
2786
- "name": "tagName",
2920
+ "name": "definition",
2787
2921
  "type": {
2788
- "text": "string"
2789
- },
2790
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2922
+ "text": "FoundationElementDefinition"
2923
+ }
2791
2924
  }
2792
- ],
2793
- "description": "Shows a criteria error as a toast notification."
2925
+ ]
2794
2926
  }
2795
2927
  ],
2796
2928
  "exports": [
2797
2929
  {
2798
2930
  "kind": "js",
2799
- "name": "formatValidationErrors",
2931
+ "name": "actionsMenuBaseStyles",
2800
2932
  "declaration": {
2801
- "name": "formatValidationErrors",
2802
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2933
+ "name": "actionsMenuBaseStyles",
2934
+ "module": "src/actions-menu/actions-menu.styles.ts"
2803
2935
  }
2804
2936
  },
2805
2937
  {
2806
2938
  "kind": "js",
2807
- "name": "showCriteriaError",
2939
+ "name": "foundationActionsMenuStyles",
2808
2940
  "declaration": {
2809
- "name": "showCriteriaError",
2810
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2941
+ "name": "foundationActionsMenuStyles",
2942
+ "module": "src/actions-menu/actions-menu.styles.ts"
2811
2943
  }
2812
2944
  }
2813
2945
  ]
2814
2946
  },
2815
2947
  {
2816
2948
  "kind": "javascript-module",
2817
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2949
+ "path": "src/actions-menu/actions-menu.template.ts",
2818
2950
  "declarations": [
2819
2951
  {
2820
2952
  "kind": "function",
2821
- "name": "foundationAiIndicatorStyles",
2822
- "return": {
2823
- "type": {
2824
- "text": "ElementStyles"
2825
- }
2826
- },
2953
+ "name": "menuTemplate",
2827
2954
  "parameters": [
2828
2955
  {
2829
- "name": "context",
2956
+ "name": "prefix",
2830
2957
  "type": {
2831
- "text": "ElementDefinitionContext"
2958
+ "text": "string"
2832
2959
  }
2833
- },
2960
+ }
2961
+ ]
2962
+ },
2963
+ {
2964
+ "kind": "function",
2965
+ "name": "singleOptionTemplate",
2966
+ "parameters": [
2834
2967
  {
2835
- "name": "definition",
2968
+ "name": "prefix",
2836
2969
  "type": {
2837
- "text": "FoundationElementDefinition"
2970
+ "text": "string"
2838
2971
  }
2839
2972
  }
2840
2973
  ]
2974
+ },
2975
+ {
2976
+ "kind": "variable",
2977
+ "name": "foundationActionsMenuTemplate",
2978
+ "type": {
2979
+ "text": "ViewTemplate<ActionsMenu>"
2980
+ },
2981
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2841
2982
  }
2842
2983
  ],
2843
2984
  "exports": [
2844
2985
  {
2845
2986
  "kind": "js",
2846
- "name": "foundationAiIndicatorStyles",
2987
+ "name": "menuTemplate",
2847
2988
  "declaration": {
2848
- "name": "foundationAiIndicatorStyles",
2849
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2989
+ "name": "menuTemplate",
2990
+ "module": "src/actions-menu/actions-menu.template.ts"
2850
2991
  }
2851
- }
2852
- ]
2853
- },
2854
- {
2855
- "kind": "javascript-module",
2856
- "path": "src/ai-indicator/ai-indicator.template.ts",
2857
- "declarations": [
2992
+ },
2858
2993
  {
2859
- "kind": "variable",
2860
- "name": "foundationAiIndicatorTemplate",
2861
- "type": {
2862
- "text": "ViewTemplate<AiIndicator>"
2863
- },
2864
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2865
- }
2866
- ],
2867
- "exports": [
2994
+ "kind": "js",
2995
+ "name": "singleOptionTemplate",
2996
+ "declaration": {
2997
+ "name": "singleOptionTemplate",
2998
+ "module": "src/actions-menu/actions-menu.template.ts"
2999
+ }
3000
+ },
2868
3001
  {
2869
3002
  "kind": "js",
2870
- "name": "foundationAiIndicatorTemplate",
3003
+ "name": "foundationActionsMenuTemplate",
2871
3004
  "declaration": {
2872
- "name": "foundationAiIndicatorTemplate",
2873
- "module": "src/ai-indicator/ai-indicator.template.ts"
3005
+ "name": "foundationActionsMenuTemplate",
3006
+ "module": "src/actions-menu/actions-menu.template.ts"
2874
3007
  }
2875
3008
  }
2876
3009
  ]
2877
3010
  },
2878
3011
  {
2879
3012
  "kind": "javascript-module",
2880
- "path": "src/ai-indicator/ai-indicator.ts",
3013
+ "path": "src/actions-menu/actions-menu.ts",
2881
3014
  "declarations": [
2882
3015
  {
2883
3016
  "kind": "class",
2884
3017
  "description": "",
2885
- "name": "AiIndicator",
3018
+ "name": "ActionsMenu",
2886
3019
  "members": [
2887
3020
  {
2888
3021
  "kind": "field",
2889
- "name": "aiProvider",
3022
+ "name": "actions",
2890
3023
  "type": {
2891
- "text": "AIProvider"
3024
+ "text": "ActionMenuItem[]"
2892
3025
  }
2893
3026
  },
2894
3027
  {
2895
3028
  "kind": "field",
2896
- "name": "status",
3029
+ "name": "isVertical",
2897
3030
  "type": {
2898
- "text": "AIStatus | null"
3031
+ "text": "boolean"
2899
3032
  },
2900
- "default": "null"
3033
+ "default": "false"
2901
3034
  },
2902
3035
  {
2903
3036
  "kind": "field",
2904
- "name": "open",
3037
+ "name": "addDefaultActions",
2905
3038
  "type": {
2906
3039
  "text": "boolean"
2907
3040
  },
2908
- "default": "false"
3041
+ "default": "true"
2909
3042
  },
2910
3043
  {
2911
3044
  "kind": "field",
2912
- "name": "state",
3045
+ "name": "autoCloseOnAction",
2913
3046
  "type": {
2914
- "text": "AIIndicatorState"
3047
+ "text": "boolean"
2915
3048
  },
2916
- "default": "'none'"
3049
+ "default": "true"
2917
3050
  },
2918
3051
  {
2919
3052
  "kind": "field",
2920
- "name": "isInstalling",
3053
+ "name": "classNames",
2921
3054
  "type": {
2922
- "text": "boolean"
2923
- },
2924
- "default": "false"
3055
+ "text": "string"
3056
+ }
2925
3057
  },
2926
3058
  {
2927
3059
  "kind": "field",
2928
- "name": "pollTimer",
3060
+ "name": "definition",
2929
3061
  "type": {
2930
- "text": "ReturnType<typeof setInterval> | null"
2931
- },
2932
- "privacy": "private",
2933
- "default": "null"
3062
+ "text": "any"
3063
+ }
2934
3064
  },
2935
3065
  {
2936
3066
  "kind": "field",
2937
- "name": "clickOutside",
2938
- "privacy": "private"
3067
+ "name": "name",
3068
+ "type": {
3069
+ "text": "string"
3070
+ },
3071
+ "default": "'Actions'"
2939
3072
  },
2940
3073
  {
2941
3074
  "kind": "field",
2942
- "name": "chromeStatusLabel",
3075
+ "name": "open",
2943
3076
  "type": {
2944
- "text": "string | null"
3077
+ "text": "boolean"
2945
3078
  },
2946
- "readonly": true
3079
+ "default": "false"
2947
3080
  },
2948
3081
  {
2949
3082
  "kind": "field",
2950
- "name": "canInstall",
3083
+ "name": "buttonAppearance",
3084
+ "type": {
3085
+ "text": "string"
3086
+ }
3087
+ },
3088
+ {
3089
+ "kind": "field",
3090
+ "name": "hideDisabled",
2951
3091
  "type": {
2952
3092
  "text": "boolean"
2953
3093
  },
2954
- "readonly": true
3094
+ "default": "false"
2955
3095
  },
2956
3096
  {
2957
3097
  "kind": "field",
2958
- "name": "isDownloading",
3098
+ "name": "hideMenuSingleOption",
2959
3099
  "type": {
2960
3100
  "text": "boolean"
2961
3101
  },
2962
- "readonly": true
3102
+ "default": "false"
2963
3103
  },
2964
3104
  {
2965
- "kind": "method",
2966
- "name": "openChanged",
2967
- "return": {
2968
- "type": {
2969
- "text": "void"
2970
- }
3105
+ "kind": "field",
3106
+ "name": "singleOption",
3107
+ "type": {
3108
+ "text": "ActionMenuItem"
3109
+ }
3110
+ },
3111
+ {
3112
+ "kind": "field",
3113
+ "name": "actionsMenu",
3114
+ "type": {
3115
+ "text": "HTMLElement"
2971
3116
  }
2972
3117
  },
2973
3118
  {
2974
3119
  "kind": "method",
2975
- "name": "handleClickOutside",
2976
- "privacy": "private",
3120
+ "name": "definitionChanged",
3121
+ "privacy": "protected",
2977
3122
  "parameters": [
2978
3123
  {
2979
- "name": "event",
3124
+ "name": "oldValue",
2980
3125
  "type": {
2981
- "text": "MouseEvent"
3126
+ "text": "any"
3127
+ }
3128
+ },
3129
+ {
3130
+ "name": "newValue",
3131
+ "type": {
3132
+ "text": "any"
2982
3133
  }
2983
3134
  }
2984
3135
  ]
2985
3136
  },
2986
3137
  {
2987
3138
  "kind": "method",
2988
- "name": "toggleDropdown"
3139
+ "name": "openChanged",
3140
+ "privacy": "protected"
2989
3141
  },
2990
3142
  {
2991
3143
  "kind": "method",
2992
- "name": "refreshStatus",
2993
- "return": {
2994
- "type": {
2995
- "text": "Promise<void>"
2996
- }
2997
- }
3144
+ "name": "toggleActionsMenuVisibility"
2998
3145
  },
2999
3146
  {
3000
3147
  "kind": "method",
3001
- "name": "deriveState",
3002
- "privacy": "private",
3003
- "return": {
3004
- "type": {
3005
- "text": "AIIndicatorState"
3006
- }
3007
- },
3148
+ "name": "onActionMenuItemClick",
3008
3149
  "parameters": [
3009
3150
  {
3010
- "name": "s",
3151
+ "name": "callback",
3011
3152
  "type": {
3012
- "text": "AIStatus | null"
3153
+ "text": "(rowData) => void | any"
3013
3154
  }
3014
3155
  }
3015
3156
  ]
3016
3157
  },
3017
3158
  {
3018
- "kind": "method",
3019
- "name": "maybeStartPolling",
3020
- "privacy": "private",
3021
- "return": {
3022
- "type": {
3023
- "text": "void"
3024
- }
3025
- }
3159
+ "kind": "field",
3160
+ "name": "allActions",
3161
+ "type": {
3162
+ "text": "ActionMenuItem[]"
3163
+ },
3164
+ "readonly": true
3026
3165
  },
3027
3166
  {
3028
- "kind": "method",
3029
- "name": "startPolling",
3030
- "privacy": "private",
3031
- "return": {
3032
- "type": {
3033
- "text": "void"
3034
- }
3035
- }
3167
+ "kind": "field",
3168
+ "name": "rowData",
3169
+ "readonly": true
3036
3170
  },
3037
3171
  {
3038
3172
  "kind": "method",
3039
- "name": "stopPolling",
3040
- "privacy": "private",
3041
- "return": {
3042
- "type": {
3043
- "text": "void"
3173
+ "name": "getLabel",
3174
+ "parameters": [
3175
+ {
3176
+ "name": "name",
3177
+ "type": {
3178
+ "text": "string | ((rowData: any) => string)"
3179
+ }
3044
3180
  }
3045
- }
3181
+ ]
3046
3182
  },
3047
3183
  {
3048
3184
  "kind": "method",
3049
- "name": "onInstall",
3050
- "return": {
3051
- "type": {
3052
- "text": "Promise<void>"
3185
+ "name": "getTemplate",
3186
+ "parameters": [
3187
+ {
3188
+ "name": "prefix",
3189
+ "type": {
3190
+ "text": "string"
3191
+ }
3053
3192
  }
3054
- }
3193
+ ]
3055
3194
  },
3056
3195
  {
3057
3196
  "kind": "field",
@@ -3165,246 +3304,107 @@
3165
3304
  }
3166
3305
  }
3167
3306
  ],
3168
- "superclass": {
3169
- "name": "FoundationElement",
3170
- "package": "@microsoft/fast-foundation"
3171
- },
3172
- "tagName": "%%prefix%%-ai-indicator",
3173
- "customElement": true
3174
- },
3175
- {
3176
- "kind": "variable",
3177
- "name": "foundationAiIndicator"
3178
- }
3179
- ],
3180
- "exports": [
3181
- {
3182
- "kind": "js",
3183
- "name": "AiIndicator",
3184
- "declaration": {
3185
- "name": "AiIndicator",
3186
- "module": "src/ai-indicator/ai-indicator.ts"
3187
- }
3188
- },
3189
- {
3190
- "kind": "js",
3191
- "name": "foundationAiIndicator",
3192
- "declaration": {
3193
- "name": "foundationAiIndicator",
3194
- "module": "src/ai-indicator/ai-indicator.ts"
3195
- }
3196
- }
3197
- ]
3198
- },
3199
- {
3200
- "kind": "javascript-module",
3201
- "path": "src/ai-indicator/index.ts",
3202
- "declarations": [],
3203
- "exports": [
3204
- {
3205
- "kind": "js",
3206
- "name": "AiIndicator",
3207
- "declaration": {
3208
- "name": "AiIndicator",
3209
- "module": "./ai-indicator"
3210
- }
3211
- },
3212
- {
3213
- "kind": "js",
3214
- "name": "foundationAiIndicator",
3215
- "declaration": {
3216
- "name": "foundationAiIndicator",
3217
- "module": "./ai-indicator"
3218
- }
3219
- },
3220
- {
3221
- "kind": "js",
3222
- "name": "type",
3223
- "declaration": {
3224
- "name": "type",
3225
- "module": "./ai-indicator"
3226
- }
3227
- },
3228
- {
3229
- "kind": "js",
3230
- "name": "AIIndicatorState",
3231
- "declaration": {
3232
- "name": "AIIndicatorState",
3233
- "module": "./ai-indicator"
3234
- }
3235
- },
3236
- {
3237
- "kind": "js",
3238
- "name": "foundationAiIndicatorTemplate",
3239
- "declaration": {
3240
- "name": "foundationAiIndicatorTemplate",
3241
- "module": "./ai-indicator.template"
3242
- }
3243
- },
3244
- {
3245
- "kind": "js",
3246
- "name": "foundationAiIndicatorStyles",
3247
- "declaration": {
3248
- "name": "foundationAiIndicatorStyles",
3249
- "module": "./ai-indicator.styles"
3250
- }
3251
- }
3252
- ]
3253
- },
3254
- {
3255
- "kind": "javascript-module",
3256
- "path": "src/accordion/accordion.styles.ts",
3257
- "declarations": [
3258
- {
3259
- "kind": "function",
3260
- "name": "foundationAccordionStyles",
3261
- "return": {
3262
- "type": {
3263
- "text": "ElementStyles"
3264
- }
3265
- },
3266
- "parameters": [
3307
+ "attributes": [
3267
3308
  {
3268
- "name": "context",
3309
+ "name": "is-vertical",
3269
3310
  "type": {
3270
- "text": "ElementDefinitionContext"
3271
- }
3311
+ "text": "boolean"
3312
+ },
3313
+ "default": "false",
3314
+ "fieldName": "isVertical"
3272
3315
  },
3273
3316
  {
3274
- "name": "definition",
3317
+ "name": "add-default-actions",
3275
3318
  "type": {
3276
- "text": "FoundationElementDefinition"
3277
- }
3278
- }
3279
- ]
3280
- }
3281
- ],
3282
- "exports": [
3283
- {
3284
- "kind": "js",
3285
- "name": "foundationAccordionStyles",
3286
- "declaration": {
3287
- "name": "foundationAccordionStyles",
3288
- "module": "src/accordion/accordion.styles.ts"
3289
- }
3290
- }
3291
- ]
3292
- },
3293
- {
3294
- "kind": "javascript-module",
3295
- "path": "src/accordion/accordion.template.ts",
3296
- "declarations": [
3297
- {
3298
- "kind": "function",
3299
- "name": "foundationAccordionTemplate",
3300
- "return": {
3301
- "type": {
3302
- "text": "ViewTemplate<Accordion>"
3303
- }
3304
- },
3305
- "parameters": [
3319
+ "text": "boolean"
3320
+ },
3321
+ "default": "true",
3322
+ "fieldName": "addDefaultActions"
3323
+ },
3306
3324
  {
3307
- "name": "context",
3325
+ "name": "auto-close-on-action",
3308
3326
  "type": {
3309
- "text": "ElementDefinitionContext"
3310
- }
3327
+ "text": "boolean"
3328
+ },
3329
+ "default": "true",
3330
+ "fieldName": "autoCloseOnAction"
3311
3331
  },
3312
3332
  {
3313
- "name": "definition",
3333
+ "name": "name",
3314
3334
  "type": {
3315
- "text": "FoundationElementDefinition"
3316
- }
3335
+ "text": "string"
3336
+ },
3337
+ "default": "'Actions'",
3338
+ "fieldName": "name"
3339
+ },
3340
+ {
3341
+ "name": "open",
3342
+ "type": {
3343
+ "text": "boolean"
3344
+ },
3345
+ "default": "false",
3346
+ "fieldName": "open"
3347
+ },
3348
+ {
3349
+ "name": "buttonAppearance",
3350
+ "type": {
3351
+ "text": "string"
3352
+ },
3353
+ "fieldName": "buttonAppearance"
3354
+ },
3355
+ {
3356
+ "name": "hide-disabled",
3357
+ "type": {
3358
+ "text": "boolean"
3359
+ },
3360
+ "default": "false",
3361
+ "fieldName": "hideDisabled"
3362
+ },
3363
+ {
3364
+ "name": "hide-menu-single-option",
3365
+ "type": {
3366
+ "text": "boolean"
3367
+ },
3368
+ "default": "false",
3369
+ "fieldName": "hideMenuSingleOption"
3317
3370
  }
3318
- ]
3319
- }
3320
- ],
3321
- "exports": [
3322
- {
3323
- "kind": "js",
3324
- "name": "foundationAccordionTemplate",
3325
- "declaration": {
3326
- "name": "foundationAccordionTemplate",
3327
- "module": "src/accordion/accordion.template.ts"
3328
- }
3329
- }
3330
- ]
3331
- },
3332
- {
3333
- "kind": "javascript-module",
3334
- "path": "src/accordion/accordion.ts",
3335
- "declarations": [
3336
- {
3337
- "kind": "class",
3338
- "description": "",
3339
- "name": "Accordion",
3371
+ ],
3340
3372
  "superclass": {
3341
- "name": "FASTAccordion",
3373
+ "name": "FoundationElement",
3342
3374
  "package": "@microsoft/fast-foundation"
3343
3375
  },
3344
- "tagName": "%%prefix%%-accordion",
3376
+ "tagName": "%%prefix%%-actions-menu",
3345
3377
  "customElement": true
3346
3378
  },
3347
3379
  {
3348
3380
  "kind": "variable",
3349
- "name": "foundationAccordionShadowOptions",
3350
- "type": {
3351
- "text": "ShadowRootInit"
3352
- },
3353
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
- },
3355
- {
3356
- "kind": "variable",
3357
- "name": "defaultAccordionConfig",
3358
- "type": {
3359
- "text": "object"
3360
- },
3361
- "default": "{}"
3362
- },
3363
- {
3364
- "kind": "variable",
3365
- "name": "foundationAccordion",
3366
- "description": "The Foundation Accordion",
3381
+ "name": "foundationActionsMenu",
3382
+ "description": "The Foundation Actions Menu",
3367
3383
  "privacy": "public"
3368
3384
  }
3369
3385
  ],
3370
3386
  "exports": [
3371
3387
  {
3372
3388
  "kind": "js",
3373
- "name": "Accordion",
3374
- "declaration": {
3375
- "name": "Accordion",
3376
- "module": "src/accordion/accordion.ts"
3377
- }
3378
- },
3379
- {
3380
- "kind": "js",
3381
- "name": "foundationAccordionShadowOptions",
3382
- "declaration": {
3383
- "name": "foundationAccordionShadowOptions",
3384
- "module": "src/accordion/accordion.ts"
3385
- }
3386
- },
3387
- {
3388
- "kind": "js",
3389
- "name": "defaultAccordionConfig",
3389
+ "name": "ActionsMenu",
3390
3390
  "declaration": {
3391
- "name": "defaultAccordionConfig",
3392
- "module": "src/accordion/accordion.ts"
3391
+ "name": "ActionsMenu",
3392
+ "module": "src/actions-menu/actions-menu.ts"
3393
3393
  }
3394
3394
  },
3395
3395
  {
3396
3396
  "kind": "js",
3397
- "name": "foundationAccordion",
3397
+ "name": "foundationActionsMenu",
3398
3398
  "declaration": {
3399
- "name": "foundationAccordion",
3400
- "module": "src/accordion/accordion.ts"
3399
+ "name": "foundationActionsMenu",
3400
+ "module": "src/actions-menu/actions-menu.ts"
3401
3401
  }
3402
3402
  }
3403
3403
  ]
3404
3404
  },
3405
3405
  {
3406
3406
  "kind": "javascript-module",
3407
- "path": "src/accordion/index.ts",
3407
+ "path": "src/actions-menu/index.ts",
3408
3408
  "declarations": [],
3409
3409
  "exports": [
3410
3410
  {
@@ -3412,7 +3412,7 @@
3412
3412
  "name": "*",
3413
3413
  "declaration": {
3414
3414
  "name": "*",
3415
- "package": "./accordion.template"
3415
+ "package": "./actions-menu.styles"
3416
3416
  }
3417
3417
  },
3418
3418
  {
@@ -3420,7 +3420,7 @@
3420
3420
  "name": "*",
3421
3421
  "declaration": {
3422
3422
  "name": "*",
3423
- "package": "./accordion.styles"
3423
+ "package": "./actions-menu.template"
3424
3424
  }
3425
3425
  },
3426
3426
  {
@@ -3428,7 +3428,7 @@
3428
3428
  "name": "*",
3429
3429
  "declaration": {
3430
3430
  "name": "*",
3431
- "package": "./accordion"
3431
+ "package": "./actions-menu"
3432
3432
  }
3433
3433
  }
3434
3434
  ]