@genesislcap/foundation-ui 14.443.0 → 14.443.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1400,11 +1400,34 @@
1400
1400
  },
1401
1401
  {
1402
1402
  "kind": "javascript-module",
1403
- "path": "src/accordion/accordion.styles.ts",
1403
+ "path": "src/actions-menu/actions-menu.styles.ts",
1404
1404
  "declarations": [
1405
1405
  {
1406
1406
  "kind": "function",
1407
- "name": "foundationAccordionStyles",
1407
+ "name": "actionsMenuBaseStyles",
1408
+ "return": {
1409
+ "type": {
1410
+ "text": "ElementStyles"
1411
+ }
1412
+ },
1413
+ "parameters": [
1414
+ {
1415
+ "name": "context",
1416
+ "type": {
1417
+ "text": "ElementDefinitionContext"
1418
+ }
1419
+ },
1420
+ {
1421
+ "name": "definition",
1422
+ "type": {
1423
+ "text": "FoundationElementDefinition"
1424
+ }
1425
+ }
1426
+ ]
1427
+ },
1428
+ {
1429
+ "kind": "function",
1430
+ "name": "foundationActionsMenuStyles",
1408
1431
  "return": {
1409
1432
  "type": {
1410
1433
  "text": "ElementStyles"
@@ -1429,277 +1452,269 @@
1429
1452
  "exports": [
1430
1453
  {
1431
1454
  "kind": "js",
1432
- "name": "foundationAccordionStyles",
1455
+ "name": "actionsMenuBaseStyles",
1433
1456
  "declaration": {
1434
- "name": "foundationAccordionStyles",
1435
- "module": "src/accordion/accordion.styles.ts"
1457
+ "name": "actionsMenuBaseStyles",
1458
+ "module": "src/actions-menu/actions-menu.styles.ts"
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "foundationActionsMenuStyles",
1464
+ "declaration": {
1465
+ "name": "foundationActionsMenuStyles",
1466
+ "module": "src/actions-menu/actions-menu.styles.ts"
1436
1467
  }
1437
1468
  }
1438
1469
  ]
1439
1470
  },
1440
1471
  {
1441
1472
  "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.template.ts",
1473
+ "path": "src/actions-menu/actions-menu.template.ts",
1443
1474
  "declarations": [
1444
1475
  {
1445
1476
  "kind": "function",
1446
- "name": "foundationAccordionTemplate",
1447
- "return": {
1448
- "type": {
1449
- "text": "ViewTemplate<Accordion>"
1450
- }
1451
- },
1477
+ "name": "menuTemplate",
1452
1478
  "parameters": [
1453
1479
  {
1454
- "name": "context",
1480
+ "name": "prefix",
1455
1481
  "type": {
1456
- "text": "ElementDefinitionContext"
1482
+ "text": "string"
1457
1483
  }
1458
- },
1484
+ }
1485
+ ]
1486
+ },
1487
+ {
1488
+ "kind": "function",
1489
+ "name": "singleOptionTemplate",
1490
+ "parameters": [
1459
1491
  {
1460
- "name": "definition",
1492
+ "name": "prefix",
1461
1493
  "type": {
1462
- "text": "FoundationElementDefinition"
1494
+ "text": "string"
1463
1495
  }
1464
1496
  }
1465
1497
  ]
1498
+ },
1499
+ {
1500
+ "kind": "variable",
1501
+ "name": "foundationActionsMenuTemplate",
1502
+ "type": {
1503
+ "text": "ViewTemplate<ActionsMenu>"
1504
+ },
1505
+ "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`"
1466
1506
  }
1467
1507
  ],
1468
1508
  "exports": [
1469
1509
  {
1470
1510
  "kind": "js",
1471
- "name": "foundationAccordionTemplate",
1511
+ "name": "menuTemplate",
1472
1512
  "declaration": {
1473
- "name": "foundationAccordionTemplate",
1474
- "module": "src/accordion/accordion.template.ts"
1513
+ "name": "menuTemplate",
1514
+ "module": "src/actions-menu/actions-menu.template.ts"
1515
+ }
1516
+ },
1517
+ {
1518
+ "kind": "js",
1519
+ "name": "singleOptionTemplate",
1520
+ "declaration": {
1521
+ "name": "singleOptionTemplate",
1522
+ "module": "src/actions-menu/actions-menu.template.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "js",
1527
+ "name": "foundationActionsMenuTemplate",
1528
+ "declaration": {
1529
+ "name": "foundationActionsMenuTemplate",
1530
+ "module": "src/actions-menu/actions-menu.template.ts"
1475
1531
  }
1476
1532
  }
1477
1533
  ]
1478
1534
  },
1479
1535
  {
1480
1536
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.ts",
1537
+ "path": "src/actions-menu/actions-menu.ts",
1482
1538
  "declarations": [
1483
1539
  {
1484
1540
  "kind": "class",
1485
1541
  "description": "",
1486
- "name": "Accordion",
1487
- "superclass": {
1488
- "name": "FASTAccordion",
1489
- "package": "@microsoft/fast-foundation"
1490
- },
1491
- "tagName": "%%prefix%%-accordion",
1492
- "customElement": true,
1493
- "attributes": [
1542
+ "name": "ActionsMenu",
1543
+ "members": [
1494
1544
  {
1495
- "name": "expand-mode",
1545
+ "kind": "field",
1546
+ "name": "actions",
1496
1547
  "type": {
1497
- "text": "AccordionExpandMode"
1498
- },
1499
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1500
- "fieldName": "expandmode",
1501
- "inheritedFrom": {
1502
- "name": "Accordion",
1503
- "module": "src/accordion/accordion.ts"
1548
+ "text": "ActionMenuItem[]"
1504
1549
  }
1505
- }
1506
- ],
1507
- "members": [
1550
+ },
1508
1551
  {
1509
1552
  "kind": "field",
1510
- "name": "expandmode",
1553
+ "name": "isVertical",
1511
1554
  "type": {
1512
- "text": "AccordionExpandMode"
1555
+ "text": "boolean"
1513
1556
  },
1514
- "privacy": "public",
1515
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1516
- "inheritedFrom": {
1517
- "name": "Accordion",
1518
- "module": "src/accordion/accordion.ts"
1519
- }
1557
+ "default": "false"
1520
1558
  },
1521
1559
  {
1522
1560
  "kind": "field",
1523
- "name": "activeid",
1561
+ "name": "addDefaultActions",
1524
1562
  "type": {
1525
- "text": "string | null"
1563
+ "text": "boolean"
1526
1564
  },
1527
- "privacy": "private",
1528
- "inheritedFrom": {
1529
- "name": "Accordion",
1530
- "module": "src/accordion/accordion.ts"
1531
- }
1565
+ "default": "true"
1532
1566
  },
1533
1567
  {
1534
1568
  "kind": "field",
1535
- "name": "activeItemIndex",
1569
+ "name": "autoCloseOnAction",
1536
1570
  "type": {
1537
- "text": "number"
1571
+ "text": "boolean"
1538
1572
  },
1539
- "privacy": "private",
1540
- "default": "0",
1541
- "inheritedFrom": {
1542
- "name": "Accordion",
1543
- "module": "src/accordion/accordion.ts"
1544
- }
1573
+ "default": "true"
1545
1574
  },
1546
1575
  {
1547
1576
  "kind": "field",
1548
- "name": "accordionIds",
1577
+ "name": "classNames",
1549
1578
  "type": {
1550
- "text": "Array<string | null>"
1551
- },
1552
- "privacy": "private",
1553
- "inheritedFrom": {
1554
- "name": "Accordion",
1555
- "module": "src/accordion/accordion.ts"
1579
+ "text": "string"
1556
1580
  }
1557
1581
  },
1558
1582
  {
1559
1583
  "kind": "field",
1560
- "name": "change",
1561
- "privacy": "private",
1562
- "inheritedFrom": {
1563
- "name": "Accordion",
1564
- "module": "src/accordion/accordion.ts"
1584
+ "name": "definition",
1585
+ "type": {
1586
+ "text": "any"
1565
1587
  }
1566
1588
  },
1567
1589
  {
1568
- "kind": "method",
1569
- "name": "findExpandedItem",
1570
- "privacy": "private",
1571
- "return": {
1572
- "type": {
1573
- "text": "AccordionItem | null"
1574
- }
1590
+ "kind": "field",
1591
+ "name": "name",
1592
+ "type": {
1593
+ "text": "string"
1575
1594
  },
1576
- "inheritedFrom": {
1577
- "name": "Accordion",
1578
- "module": "src/accordion/accordion.ts"
1579
- }
1595
+ "default": "'Actions'"
1580
1596
  },
1581
1597
  {
1582
1598
  "kind": "field",
1583
- "name": "setItems",
1584
- "privacy": "private",
1585
- "inheritedFrom": {
1586
- "name": "Accordion",
1587
- "module": "src/accordion/accordion.ts"
1599
+ "name": "open",
1600
+ "type": {
1601
+ "text": "boolean"
1602
+ },
1603
+ "default": "false"
1604
+ },
1605
+ {
1606
+ "kind": "field",
1607
+ "name": "buttonAppearance",
1608
+ "type": {
1609
+ "text": "string"
1588
1610
  }
1589
1611
  },
1590
1612
  {
1591
- "kind": "method",
1592
- "name": "resetItems",
1593
- "privacy": "private",
1594
- "return": {
1595
- "type": {
1596
- "text": "void"
1597
- }
1613
+ "kind": "field",
1614
+ "name": "hideDisabled",
1615
+ "type": {
1616
+ "text": "boolean"
1598
1617
  },
1599
- "inheritedFrom": {
1600
- "name": "Accordion",
1601
- "module": "src/accordion/accordion.ts"
1602
- }
1618
+ "default": "false"
1603
1619
  },
1604
1620
  {
1605
1621
  "kind": "field",
1606
- "name": "removeItemListeners",
1607
- "privacy": "private",
1608
- "inheritedFrom": {
1609
- "name": "Accordion",
1610
- "module": "src/accordion/accordion.ts"
1622
+ "name": "hideMenuSingleOption",
1623
+ "type": {
1624
+ "text": "boolean"
1625
+ },
1626
+ "default": "false"
1627
+ },
1628
+ {
1629
+ "kind": "field",
1630
+ "name": "singleOption",
1631
+ "type": {
1632
+ "text": "ActionMenuItem"
1611
1633
  }
1612
1634
  },
1613
1635
  {
1614
1636
  "kind": "field",
1615
- "name": "activeItemChange",
1616
- "privacy": "private",
1617
- "inheritedFrom": {
1618
- "name": "Accordion",
1619
- "module": "src/accordion/accordion.ts"
1637
+ "name": "actionsMenu",
1638
+ "type": {
1639
+ "text": "HTMLElement"
1620
1640
  }
1621
1641
  },
1622
1642
  {
1623
1643
  "kind": "method",
1624
- "name": "getItemIds",
1625
- "privacy": "private",
1626
- "return": {
1627
- "type": {
1628
- "text": "Array<string | null>"
1644
+ "name": "definitionChanged",
1645
+ "privacy": "protected",
1646
+ "parameters": [
1647
+ {
1648
+ "name": "oldValue",
1649
+ "type": {
1650
+ "text": "any"
1651
+ }
1652
+ },
1653
+ {
1654
+ "name": "newValue",
1655
+ "type": {
1656
+ "text": "any"
1657
+ }
1629
1658
  }
1630
- },
1631
- "inheritedFrom": {
1632
- "name": "Accordion",
1633
- "module": "src/accordion/accordion.ts"
1634
- }
1659
+ ]
1635
1660
  },
1636
1661
  {
1637
1662
  "kind": "method",
1638
- "name": "isSingleExpandMode",
1639
- "privacy": "private",
1640
- "return": {
1641
- "type": {
1642
- "text": "boolean"
1663
+ "name": "openChanged",
1664
+ "privacy": "protected"
1665
+ },
1666
+ {
1667
+ "kind": "method",
1668
+ "name": "toggleActionsMenuVisibility"
1669
+ },
1670
+ {
1671
+ "kind": "method",
1672
+ "name": "onActionMenuItemClick",
1673
+ "parameters": [
1674
+ {
1675
+ "name": "callback",
1676
+ "type": {
1677
+ "text": "(rowData) => void | any"
1678
+ }
1643
1679
  }
1644
- },
1645
- "inheritedFrom": {
1646
- "name": "Accordion",
1647
- "module": "src/accordion/accordion.ts"
1648
- }
1680
+ ]
1649
1681
  },
1650
1682
  {
1651
1683
  "kind": "field",
1652
- "name": "handleItemKeyDown",
1653
- "privacy": "private",
1654
- "inheritedFrom": {
1655
- "name": "Accordion",
1656
- "module": "src/accordion/accordion.ts"
1657
- }
1684
+ "name": "allActions",
1685
+ "type": {
1686
+ "text": "ActionMenuItem[]"
1687
+ },
1688
+ "readonly": true
1658
1689
  },
1659
1690
  {
1660
1691
  "kind": "field",
1661
- "name": "handleItemFocus",
1662
- "privacy": "private",
1663
- "inheritedFrom": {
1664
- "name": "Accordion",
1665
- "module": "src/accordion/accordion.ts"
1666
- }
1692
+ "name": "rowData",
1693
+ "readonly": true
1667
1694
  },
1668
1695
  {
1669
1696
  "kind": "method",
1670
- "name": "adjust",
1671
- "privacy": "private",
1672
- "return": {
1673
- "type": {
1674
- "text": "void"
1675
- }
1676
- },
1697
+ "name": "getLabel",
1677
1698
  "parameters": [
1678
1699
  {
1679
- "name": "adjustment",
1700
+ "name": "name",
1680
1701
  "type": {
1681
- "text": "number"
1702
+ "text": "string | ((rowData: any) => string)"
1682
1703
  }
1683
1704
  }
1684
- ],
1685
- "inheritedFrom": {
1686
- "name": "Accordion",
1687
- "module": "src/accordion/accordion.ts"
1688
- }
1705
+ ]
1689
1706
  },
1690
1707
  {
1691
1708
  "kind": "method",
1692
- "name": "focusItem",
1693
- "privacy": "private",
1694
- "return": {
1695
- "type": {
1696
- "text": "void"
1709
+ "name": "getTemplate",
1710
+ "parameters": [
1711
+ {
1712
+ "name": "prefix",
1713
+ "type": {
1714
+ "text": "string"
1715
+ }
1697
1716
  }
1698
- },
1699
- "inheritedFrom": {
1700
- "name": "Accordion",
1701
- "module": "src/accordion/accordion.ts"
1702
- }
1717
+ ]
1703
1718
  },
1704
1719
  {
1705
1720
  "kind": "field",
@@ -1813,78 +1828,107 @@
1813
1828
  }
1814
1829
  }
1815
1830
  ],
1816
- "events": [
1831
+ "attributes": [
1817
1832
  {
1818
- "description": "Fires a custom 'change' event when the active item changes",
1819
- "name": "change",
1820
- "inheritedFrom": {
1821
- "name": "Accordion",
1822
- "module": "src/accordion/accordion.ts"
1823
- }
1833
+ "name": "is-vertical",
1834
+ "type": {
1835
+ "text": "boolean"
1836
+ },
1837
+ "default": "false",
1838
+ "fieldName": "isVertical"
1839
+ },
1840
+ {
1841
+ "name": "add-default-actions",
1842
+ "type": {
1843
+ "text": "boolean"
1844
+ },
1845
+ "default": "true",
1846
+ "fieldName": "addDefaultActions"
1847
+ },
1848
+ {
1849
+ "name": "auto-close-on-action",
1850
+ "type": {
1851
+ "text": "boolean"
1852
+ },
1853
+ "default": "true",
1854
+ "fieldName": "autoCloseOnAction"
1855
+ },
1856
+ {
1857
+ "name": "name",
1858
+ "type": {
1859
+ "text": "string"
1860
+ },
1861
+ "default": "'Actions'",
1862
+ "fieldName": "name"
1863
+ },
1864
+ {
1865
+ "name": "open",
1866
+ "type": {
1867
+ "text": "boolean"
1868
+ },
1869
+ "default": "false",
1870
+ "fieldName": "open"
1871
+ },
1872
+ {
1873
+ "name": "buttonAppearance",
1874
+ "type": {
1875
+ "text": "string"
1876
+ },
1877
+ "fieldName": "buttonAppearance"
1878
+ },
1879
+ {
1880
+ "name": "hide-disabled",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "false",
1885
+ "fieldName": "hideDisabled"
1886
+ },
1887
+ {
1888
+ "name": "hide-menu-single-option",
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "false",
1893
+ "fieldName": "hideMenuSingleOption"
1824
1894
  }
1825
- ]
1826
- },
1827
- {
1828
- "kind": "variable",
1829
- "name": "foundationAccordionShadowOptions",
1830
- "type": {
1831
- "text": "ShadowRootInit"
1832
- },
1833
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1834
- },
1835
- {
1836
- "kind": "variable",
1837
- "name": "defaultAccordionConfig",
1838
- "type": {
1839
- "text": "object"
1895
+ ],
1896
+ "superclass": {
1897
+ "name": "FoundationElement",
1898
+ "package": "@microsoft/fast-foundation"
1840
1899
  },
1841
- "default": "{}"
1900
+ "tagName": "%%prefix%%-actions-menu",
1901
+ "customElement": true
1842
1902
  },
1843
1903
  {
1844
1904
  "kind": "variable",
1845
- "name": "foundationAccordion",
1846
- "description": "The Foundation Accordion",
1905
+ "name": "foundationActionsMenu",
1906
+ "description": "The Foundation Actions Menu",
1847
1907
  "privacy": "public"
1848
1908
  }
1849
1909
  ],
1850
1910
  "exports": [
1851
1911
  {
1852
1912
  "kind": "js",
1853
- "name": "Accordion",
1854
- "declaration": {
1855
- "name": "Accordion",
1856
- "module": "src/accordion/accordion.ts"
1857
- }
1858
- },
1859
- {
1860
- "kind": "js",
1861
- "name": "foundationAccordionShadowOptions",
1862
- "declaration": {
1863
- "name": "foundationAccordionShadowOptions",
1864
- "module": "src/accordion/accordion.ts"
1865
- }
1866
- },
1867
- {
1868
- "kind": "js",
1869
- "name": "defaultAccordionConfig",
1913
+ "name": "ActionsMenu",
1870
1914
  "declaration": {
1871
- "name": "defaultAccordionConfig",
1872
- "module": "src/accordion/accordion.ts"
1915
+ "name": "ActionsMenu",
1916
+ "module": "src/actions-menu/actions-menu.ts"
1873
1917
  }
1874
1918
  },
1875
1919
  {
1876
1920
  "kind": "js",
1877
- "name": "foundationAccordion",
1921
+ "name": "foundationActionsMenu",
1878
1922
  "declaration": {
1879
- "name": "foundationAccordion",
1880
- "module": "src/accordion/accordion.ts"
1923
+ "name": "foundationActionsMenu",
1924
+ "module": "src/actions-menu/actions-menu.ts"
1881
1925
  }
1882
1926
  }
1883
1927
  ]
1884
1928
  },
1885
1929
  {
1886
1930
  "kind": "javascript-module",
1887
- "path": "src/accordion/index.ts",
1931
+ "path": "src/actions-menu/index.ts",
1888
1932
  "declarations": [],
1889
1933
  "exports": [
1890
1934
  {
@@ -1892,7 +1936,7 @@
1892
1936
  "name": "*",
1893
1937
  "declaration": {
1894
1938
  "name": "*",
1895
- "package": "./accordion.template"
1939
+ "package": "./actions-menu.styles"
1896
1940
  }
1897
1941
  },
1898
1942
  {
@@ -1900,7 +1944,7 @@
1900
1944
  "name": "*",
1901
1945
  "declaration": {
1902
1946
  "name": "*",
1903
- "package": "./accordion.styles"
1947
+ "package": "./actions-menu.template"
1904
1948
  }
1905
1949
  },
1906
1950
  {
@@ -1908,7 +1952,7 @@
1908
1952
  "name": "*",
1909
1953
  "declaration": {
1910
1954
  "name": "*",
1911
- "package": "./accordion"
1955
+ "package": "./actions-menu"
1912
1956
  }
1913
1957
  }
1914
1958
  ]
@@ -2309,31 +2353,439 @@
2309
2353
  },
2310
2354
  {
2311
2355
  "kind": "javascript-module",
2312
- "path": "src/_config/index.ts",
2313
- "declarations": [],
2356
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2357
+ "declarations": [
2358
+ {
2359
+ "kind": "function",
2360
+ "name": "foundationAiIndicatorStyles",
2361
+ "return": {
2362
+ "type": {
2363
+ "text": "ElementStyles"
2364
+ }
2365
+ },
2366
+ "parameters": [
2367
+ {
2368
+ "name": "context",
2369
+ "type": {
2370
+ "text": "ElementDefinitionContext"
2371
+ }
2372
+ },
2373
+ {
2374
+ "name": "definition",
2375
+ "type": {
2376
+ "text": "FoundationElementDefinition"
2377
+ }
2378
+ }
2379
+ ]
2380
+ }
2381
+ ],
2314
2382
  "exports": [
2315
2383
  {
2316
2384
  "kind": "js",
2317
- "name": "*",
2385
+ "name": "foundationAiIndicatorStyles",
2318
2386
  "declaration": {
2319
- "name": "*",
2320
- "package": "./styles"
2387
+ "name": "foundationAiIndicatorStyles",
2388
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2389
+ }
2390
+ }
2391
+ ]
2392
+ },
2393
+ {
2394
+ "kind": "javascript-module",
2395
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2396
+ "declarations": [
2397
+ {
2398
+ "kind": "variable",
2399
+ "name": "foundationAiIndicatorTemplate",
2400
+ "type": {
2401
+ "text": "ViewTemplate<AiIndicator>"
2402
+ },
2403
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2404
+ }
2405
+ ],
2406
+ "exports": [
2407
+ {
2408
+ "kind": "js",
2409
+ "name": "foundationAiIndicatorTemplate",
2410
+ "declaration": {
2411
+ "name": "foundationAiIndicatorTemplate",
2412
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2413
+ }
2414
+ }
2415
+ ]
2416
+ },
2417
+ {
2418
+ "kind": "javascript-module",
2419
+ "path": "src/ai-indicator/ai-indicator.ts",
2420
+ "declarations": [
2421
+ {
2422
+ "kind": "class",
2423
+ "description": "",
2424
+ "name": "AiIndicator",
2425
+ "members": [
2426
+ {
2427
+ "kind": "field",
2428
+ "name": "aiProvider",
2429
+ "type": {
2430
+ "text": "AIProvider"
2431
+ }
2432
+ },
2433
+ {
2434
+ "kind": "field",
2435
+ "name": "status",
2436
+ "type": {
2437
+ "text": "AIStatus | null"
2438
+ },
2439
+ "default": "null"
2440
+ },
2441
+ {
2442
+ "kind": "field",
2443
+ "name": "open",
2444
+ "type": {
2445
+ "text": "boolean"
2446
+ },
2447
+ "default": "false"
2448
+ },
2449
+ {
2450
+ "kind": "field",
2451
+ "name": "state",
2452
+ "type": {
2453
+ "text": "AIIndicatorState"
2454
+ },
2455
+ "default": "'none'"
2456
+ },
2457
+ {
2458
+ "kind": "field",
2459
+ "name": "isInstalling",
2460
+ "type": {
2461
+ "text": "boolean"
2462
+ },
2463
+ "default": "false"
2464
+ },
2465
+ {
2466
+ "kind": "field",
2467
+ "name": "pollTimer",
2468
+ "type": {
2469
+ "text": "ReturnType<typeof setInterval> | null"
2470
+ },
2471
+ "privacy": "private",
2472
+ "default": "null"
2473
+ },
2474
+ {
2475
+ "kind": "field",
2476
+ "name": "clickOutside",
2477
+ "privacy": "private"
2478
+ },
2479
+ {
2480
+ "kind": "field",
2481
+ "name": "chromeStatusLabel",
2482
+ "type": {
2483
+ "text": "string | null"
2484
+ },
2485
+ "readonly": true
2486
+ },
2487
+ {
2488
+ "kind": "field",
2489
+ "name": "canInstall",
2490
+ "type": {
2491
+ "text": "boolean"
2492
+ },
2493
+ "readonly": true
2494
+ },
2495
+ {
2496
+ "kind": "field",
2497
+ "name": "isDownloading",
2498
+ "type": {
2499
+ "text": "boolean"
2500
+ },
2501
+ "readonly": true
2502
+ },
2503
+ {
2504
+ "kind": "method",
2505
+ "name": "openChanged",
2506
+ "return": {
2507
+ "type": {
2508
+ "text": "void"
2509
+ }
2510
+ }
2511
+ },
2512
+ {
2513
+ "kind": "method",
2514
+ "name": "handleClickOutside",
2515
+ "privacy": "private",
2516
+ "parameters": [
2517
+ {
2518
+ "name": "event",
2519
+ "type": {
2520
+ "text": "MouseEvent"
2521
+ }
2522
+ }
2523
+ ]
2524
+ },
2525
+ {
2526
+ "kind": "method",
2527
+ "name": "toggleDropdown"
2528
+ },
2529
+ {
2530
+ "kind": "method",
2531
+ "name": "refreshStatus",
2532
+ "return": {
2533
+ "type": {
2534
+ "text": "Promise<void>"
2535
+ }
2536
+ }
2537
+ },
2538
+ {
2539
+ "kind": "method",
2540
+ "name": "deriveState",
2541
+ "privacy": "private",
2542
+ "return": {
2543
+ "type": {
2544
+ "text": "AIIndicatorState"
2545
+ }
2546
+ },
2547
+ "parameters": [
2548
+ {
2549
+ "name": "s",
2550
+ "type": {
2551
+ "text": "AIStatus | null"
2552
+ }
2553
+ }
2554
+ ]
2555
+ },
2556
+ {
2557
+ "kind": "method",
2558
+ "name": "maybeStartPolling",
2559
+ "privacy": "private",
2560
+ "return": {
2561
+ "type": {
2562
+ "text": "void"
2563
+ }
2564
+ }
2565
+ },
2566
+ {
2567
+ "kind": "method",
2568
+ "name": "startPolling",
2569
+ "privacy": "private",
2570
+ "return": {
2571
+ "type": {
2572
+ "text": "void"
2573
+ }
2574
+ }
2575
+ },
2576
+ {
2577
+ "kind": "method",
2578
+ "name": "stopPolling",
2579
+ "privacy": "private",
2580
+ "return": {
2581
+ "type": {
2582
+ "text": "void"
2583
+ }
2584
+ }
2585
+ },
2586
+ {
2587
+ "kind": "method",
2588
+ "name": "onInstall",
2589
+ "return": {
2590
+ "type": {
2591
+ "text": "Promise<void>"
2592
+ }
2593
+ }
2594
+ },
2595
+ {
2596
+ "kind": "field",
2597
+ "name": "_presentation",
2598
+ "type": {
2599
+ "text": "ComponentPresentation | null | undefined"
2600
+ },
2601
+ "privacy": "private",
2602
+ "default": "void 0",
2603
+ "inheritedFrom": {
2604
+ "name": "FoundationElement",
2605
+ "module": "src/foundation-element/foundation-element.ts"
2606
+ }
2607
+ },
2608
+ {
2609
+ "kind": "field",
2610
+ "name": "$presentation",
2611
+ "type": {
2612
+ "text": "ComponentPresentation | null"
2613
+ },
2614
+ "privacy": "public",
2615
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
2616
+ "inheritedFrom": {
2617
+ "name": "FoundationElement",
2618
+ "module": "src/foundation-element/foundation-element.ts"
2619
+ }
2620
+ },
2621
+ {
2622
+ "kind": "field",
2623
+ "name": "template",
2624
+ "type": {
2625
+ "text": "ElementViewTemplate | void | null"
2626
+ },
2627
+ "privacy": "public",
2628
+ "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.",
2629
+ "inheritedFrom": {
2630
+ "name": "FoundationElement",
2631
+ "module": "src/foundation-element/foundation-element.ts"
2632
+ }
2633
+ },
2634
+ {
2635
+ "kind": "method",
2636
+ "name": "templateChanged",
2637
+ "privacy": "protected",
2638
+ "return": {
2639
+ "type": {
2640
+ "text": "void"
2641
+ }
2642
+ },
2643
+ "inheritedFrom": {
2644
+ "name": "FoundationElement",
2645
+ "module": "src/foundation-element/foundation-element.ts"
2646
+ }
2647
+ },
2648
+ {
2649
+ "kind": "field",
2650
+ "name": "styles",
2651
+ "type": {
2652
+ "text": "ElementStyles | void | null"
2653
+ },
2654
+ "privacy": "public",
2655
+ "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.",
2656
+ "inheritedFrom": {
2657
+ "name": "FoundationElement",
2658
+ "module": "src/foundation-element/foundation-element.ts"
2659
+ }
2660
+ },
2661
+ {
2662
+ "kind": "method",
2663
+ "name": "stylesChanged",
2664
+ "privacy": "protected",
2665
+ "return": {
2666
+ "type": {
2667
+ "text": "void"
2668
+ }
2669
+ },
2670
+ "inheritedFrom": {
2671
+ "name": "FoundationElement",
2672
+ "module": "src/foundation-element/foundation-element.ts"
2673
+ }
2674
+ },
2675
+ {
2676
+ "kind": "method",
2677
+ "name": "compose",
2678
+ "privacy": "public",
2679
+ "static": true,
2680
+ "return": {
2681
+ "type": {
2682
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2683
+ }
2684
+ },
2685
+ "parameters": [
2686
+ {
2687
+ "name": "this",
2688
+ "type": {
2689
+ "text": "K"
2690
+ }
2691
+ },
2692
+ {
2693
+ "name": "elementDefinition",
2694
+ "type": {
2695
+ "text": "T"
2696
+ },
2697
+ "description": "The definition of the element to create the registry\nfunction for."
2698
+ }
2699
+ ],
2700
+ "description": "Defines an element registry function with a set of element definition defaults.",
2701
+ "inheritedFrom": {
2702
+ "name": "FoundationElement",
2703
+ "module": "src/foundation-element/foundation-element.ts"
2704
+ }
2705
+ }
2706
+ ],
2707
+ "superclass": {
2708
+ "name": "FoundationElement",
2709
+ "package": "@microsoft/fast-foundation"
2710
+ },
2711
+ "tagName": "%%prefix%%-ai-indicator",
2712
+ "customElement": true
2713
+ },
2714
+ {
2715
+ "kind": "variable",
2716
+ "name": "foundationAiIndicator"
2717
+ }
2718
+ ],
2719
+ "exports": [
2720
+ {
2721
+ "kind": "js",
2722
+ "name": "AiIndicator",
2723
+ "declaration": {
2724
+ "name": "AiIndicator",
2725
+ "module": "src/ai-indicator/ai-indicator.ts"
2321
2726
  }
2322
2727
  },
2323
2728
  {
2324
2729
  "kind": "js",
2325
- "name": "*",
2730
+ "name": "foundationAiIndicator",
2326
2731
  "declaration": {
2327
- "name": "*",
2328
- "package": "./tokens"
2732
+ "name": "foundationAiIndicator",
2733
+ "module": "src/ai-indicator/ai-indicator.ts"
2734
+ }
2735
+ }
2736
+ ]
2737
+ },
2738
+ {
2739
+ "kind": "javascript-module",
2740
+ "path": "src/ai-indicator/index.ts",
2741
+ "declarations": [],
2742
+ "exports": [
2743
+ {
2744
+ "kind": "js",
2745
+ "name": "AiIndicator",
2746
+ "declaration": {
2747
+ "name": "AiIndicator",
2748
+ "module": "./ai-indicator"
2329
2749
  }
2330
2750
  },
2331
2751
  {
2332
2752
  "kind": "js",
2333
- "name": "*",
2753
+ "name": "foundationAiIndicator",
2334
2754
  "declaration": {
2335
- "name": "*",
2336
- "package": "./values"
2755
+ "name": "foundationAiIndicator",
2756
+ "module": "./ai-indicator"
2757
+ }
2758
+ },
2759
+ {
2760
+ "kind": "js",
2761
+ "name": "type",
2762
+ "declaration": {
2763
+ "name": "type",
2764
+ "module": "./ai-indicator"
2765
+ }
2766
+ },
2767
+ {
2768
+ "kind": "js",
2769
+ "name": "AIIndicatorState",
2770
+ "declaration": {
2771
+ "name": "AIIndicatorState",
2772
+ "module": "./ai-indicator"
2773
+ }
2774
+ },
2775
+ {
2776
+ "kind": "js",
2777
+ "name": "foundationAiIndicatorTemplate",
2778
+ "declaration": {
2779
+ "name": "foundationAiIndicatorTemplate",
2780
+ "module": "./ai-indicator.template"
2781
+ }
2782
+ },
2783
+ {
2784
+ "kind": "js",
2785
+ "name": "foundationAiIndicatorStyles",
2786
+ "declaration": {
2787
+ "name": "foundationAiIndicatorStyles",
2788
+ "module": "./ai-indicator.styles"
2337
2789
  }
2338
2790
  }
2339
2791
  ]
@@ -2949,11 +3401,42 @@
2949
3401
  },
2950
3402
  {
2951
3403
  "kind": "javascript-module",
2952
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3404
+ "path": "src/_config/index.ts",
3405
+ "declarations": [],
3406
+ "exports": [
3407
+ {
3408
+ "kind": "js",
3409
+ "name": "*",
3410
+ "declaration": {
3411
+ "name": "*",
3412
+ "package": "./styles"
3413
+ }
3414
+ },
3415
+ {
3416
+ "kind": "js",
3417
+ "name": "*",
3418
+ "declaration": {
3419
+ "name": "*",
3420
+ "package": "./tokens"
3421
+ }
3422
+ },
3423
+ {
3424
+ "kind": "js",
3425
+ "name": "*",
3426
+ "declaration": {
3427
+ "name": "*",
3428
+ "package": "./values"
3429
+ }
3430
+ }
3431
+ ]
3432
+ },
3433
+ {
3434
+ "kind": "javascript-module",
3435
+ "path": "src/accordion/accordion.styles.ts",
2953
3436
  "declarations": [
2954
3437
  {
2955
3438
  "kind": "function",
2956
- "name": "foundationAiIndicatorStyles",
3439
+ "name": "foundationAccordionStyles",
2957
3440
  "return": {
2958
3441
  "type": {
2959
3442
  "text": "ElementStyles"
@@ -2978,731 +3461,277 @@
2978
3461
  "exports": [
2979
3462
  {
2980
3463
  "kind": "js",
2981
- "name": "foundationAiIndicatorStyles",
3464
+ "name": "foundationAccordionStyles",
2982
3465
  "declaration": {
2983
- "name": "foundationAiIndicatorStyles",
2984
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3466
+ "name": "foundationAccordionStyles",
3467
+ "module": "src/accordion/accordion.styles.ts"
2985
3468
  }
2986
3469
  }
2987
3470
  ]
2988
3471
  },
2989
3472
  {
2990
3473
  "kind": "javascript-module",
2991
- "path": "src/ai-indicator/ai-indicator.template.ts",
3474
+ "path": "src/accordion/accordion.template.ts",
2992
3475
  "declarations": [
2993
3476
  {
2994
- "kind": "variable",
2995
- "name": "foundationAiIndicatorTemplate",
2996
- "type": {
2997
- "text": "ViewTemplate<AiIndicator>"
3477
+ "kind": "function",
3478
+ "name": "foundationAccordionTemplate",
3479
+ "return": {
3480
+ "type": {
3481
+ "text": "ViewTemplate<Accordion>"
3482
+ }
2998
3483
  },
2999
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3484
+ "parameters": [
3485
+ {
3486
+ "name": "context",
3487
+ "type": {
3488
+ "text": "ElementDefinitionContext"
3489
+ }
3490
+ },
3491
+ {
3492
+ "name": "definition",
3493
+ "type": {
3494
+ "text": "FoundationElementDefinition"
3495
+ }
3496
+ }
3497
+ ]
3000
3498
  }
3001
3499
  ],
3002
3500
  "exports": [
3003
3501
  {
3004
3502
  "kind": "js",
3005
- "name": "foundationAiIndicatorTemplate",
3503
+ "name": "foundationAccordionTemplate",
3006
3504
  "declaration": {
3007
- "name": "foundationAiIndicatorTemplate",
3008
- "module": "src/ai-indicator/ai-indicator.template.ts"
3505
+ "name": "foundationAccordionTemplate",
3506
+ "module": "src/accordion/accordion.template.ts"
3009
3507
  }
3010
3508
  }
3011
3509
  ]
3012
3510
  },
3013
3511
  {
3014
3512
  "kind": "javascript-module",
3015
- "path": "src/ai-indicator/ai-indicator.ts",
3513
+ "path": "src/accordion/accordion.ts",
3016
3514
  "declarations": [
3017
3515
  {
3018
3516
  "kind": "class",
3019
3517
  "description": "",
3020
- "name": "AiIndicator",
3021
- "members": [
3518
+ "name": "Accordion",
3519
+ "superclass": {
3520
+ "name": "FASTAccordion",
3521
+ "package": "@microsoft/fast-foundation"
3522
+ },
3523
+ "tagName": "%%prefix%%-accordion",
3524
+ "customElement": true,
3525
+ "attributes": [
3022
3526
  {
3023
- "kind": "field",
3024
- "name": "aiProvider",
3527
+ "name": "expand-mode",
3025
3528
  "type": {
3026
- "text": "AIProvider"
3529
+ "text": "AccordionExpandMode"
3530
+ },
3531
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3532
+ "fieldName": "expandmode",
3533
+ "inheritedFrom": {
3534
+ "name": "Accordion",
3535
+ "module": "src/accordion/accordion.ts"
3027
3536
  }
3028
- },
3537
+ }
3538
+ ],
3539
+ "members": [
3029
3540
  {
3030
3541
  "kind": "field",
3031
- "name": "status",
3542
+ "name": "expandmode",
3032
3543
  "type": {
3033
- "text": "AIStatus | null"
3544
+ "text": "AccordionExpandMode"
3034
3545
  },
3035
- "default": "null"
3546
+ "privacy": "public",
3547
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3548
+ "inheritedFrom": {
3549
+ "name": "Accordion",
3550
+ "module": "src/accordion/accordion.ts"
3551
+ }
3036
3552
  },
3037
3553
  {
3038
3554
  "kind": "field",
3039
- "name": "open",
3040
- "type": {
3041
- "text": "boolean"
3042
- },
3043
- "default": "false"
3044
- },
3045
- {
3046
- "kind": "field",
3047
- "name": "state",
3048
- "type": {
3049
- "text": "AIIndicatorState"
3050
- },
3051
- "default": "'none'"
3052
- },
3053
- {
3054
- "kind": "field",
3055
- "name": "isInstalling",
3056
- "type": {
3057
- "text": "boolean"
3058
- },
3059
- "default": "false"
3060
- },
3061
- {
3062
- "kind": "field",
3063
- "name": "pollTimer",
3064
- "type": {
3065
- "text": "ReturnType<typeof setInterval> | null"
3066
- },
3067
- "privacy": "private",
3068
- "default": "null"
3069
- },
3070
- {
3071
- "kind": "field",
3072
- "name": "clickOutside",
3073
- "privacy": "private"
3074
- },
3075
- {
3076
- "kind": "field",
3077
- "name": "chromeStatusLabel",
3555
+ "name": "activeid",
3078
3556
  "type": {
3079
3557
  "text": "string | null"
3080
3558
  },
3081
- "readonly": true
3559
+ "privacy": "private",
3560
+ "inheritedFrom": {
3561
+ "name": "Accordion",
3562
+ "module": "src/accordion/accordion.ts"
3563
+ }
3082
3564
  },
3083
3565
  {
3084
3566
  "kind": "field",
3085
- "name": "canInstall",
3567
+ "name": "activeItemIndex",
3086
3568
  "type": {
3087
- "text": "boolean"
3569
+ "text": "number"
3088
3570
  },
3089
- "readonly": true
3571
+ "privacy": "private",
3572
+ "default": "0",
3573
+ "inheritedFrom": {
3574
+ "name": "Accordion",
3575
+ "module": "src/accordion/accordion.ts"
3576
+ }
3090
3577
  },
3091
3578
  {
3092
3579
  "kind": "field",
3093
- "name": "isDownloading",
3580
+ "name": "accordionIds",
3094
3581
  "type": {
3095
- "text": "boolean"
3582
+ "text": "Array<string | null>"
3096
3583
  },
3097
- "readonly": true
3098
- },
3099
- {
3100
- "kind": "method",
3101
- "name": "openChanged",
3102
- "return": {
3103
- "type": {
3104
- "text": "void"
3105
- }
3584
+ "privacy": "private",
3585
+ "inheritedFrom": {
3586
+ "name": "Accordion",
3587
+ "module": "src/accordion/accordion.ts"
3106
3588
  }
3107
3589
  },
3108
3590
  {
3109
- "kind": "method",
3110
- "name": "handleClickOutside",
3591
+ "kind": "field",
3592
+ "name": "change",
3111
3593
  "privacy": "private",
3112
- "parameters": [
3113
- {
3114
- "name": "event",
3115
- "type": {
3116
- "text": "MouseEvent"
3117
- }
3118
- }
3119
- ]
3120
- },
3121
- {
3122
- "kind": "method",
3123
- "name": "toggleDropdown"
3124
- },
3125
- {
3126
- "kind": "method",
3127
- "name": "refreshStatus",
3128
- "return": {
3129
- "type": {
3130
- "text": "Promise<void>"
3131
- }
3594
+ "inheritedFrom": {
3595
+ "name": "Accordion",
3596
+ "module": "src/accordion/accordion.ts"
3132
3597
  }
3133
3598
  },
3134
3599
  {
3135
3600
  "kind": "method",
3136
- "name": "deriveState",
3601
+ "name": "findExpandedItem",
3137
3602
  "privacy": "private",
3138
3603
  "return": {
3139
3604
  "type": {
3140
- "text": "AIIndicatorState"
3605
+ "text": "AccordionItem | null"
3141
3606
  }
3142
3607
  },
3143
- "parameters": [
3144
- {
3145
- "name": "s",
3146
- "type": {
3147
- "text": "AIStatus | null"
3148
- }
3149
- }
3150
- ]
3151
- },
3152
- {
3153
- "kind": "method",
3154
- "name": "maybeStartPolling",
3155
- "privacy": "private",
3156
- "return": {
3157
- "type": {
3158
- "text": "void"
3159
- }
3608
+ "inheritedFrom": {
3609
+ "name": "Accordion",
3610
+ "module": "src/accordion/accordion.ts"
3160
3611
  }
3161
3612
  },
3162
3613
  {
3163
- "kind": "method",
3164
- "name": "startPolling",
3614
+ "kind": "field",
3615
+ "name": "setItems",
3165
3616
  "privacy": "private",
3166
- "return": {
3167
- "type": {
3168
- "text": "void"
3169
- }
3617
+ "inheritedFrom": {
3618
+ "name": "Accordion",
3619
+ "module": "src/accordion/accordion.ts"
3170
3620
  }
3171
3621
  },
3172
3622
  {
3173
3623
  "kind": "method",
3174
- "name": "stopPolling",
3624
+ "name": "resetItems",
3175
3625
  "privacy": "private",
3176
3626
  "return": {
3177
3627
  "type": {
3178
3628
  "text": "void"
3179
3629
  }
3180
- }
3181
- },
3182
- {
3183
- "kind": "method",
3184
- "name": "onInstall",
3185
- "return": {
3186
- "type": {
3187
- "text": "Promise<void>"
3188
- }
3630
+ },
3631
+ "inheritedFrom": {
3632
+ "name": "Accordion",
3633
+ "module": "src/accordion/accordion.ts"
3189
3634
  }
3190
3635
  },
3191
3636
  {
3192
3637
  "kind": "field",
3193
- "name": "_presentation",
3194
- "type": {
3195
- "text": "ComponentPresentation | null | undefined"
3196
- },
3638
+ "name": "removeItemListeners",
3197
3639
  "privacy": "private",
3198
- "default": "void 0",
3199
3640
  "inheritedFrom": {
3200
- "name": "FoundationElement",
3201
- "module": "src/foundation-element/foundation-element.ts"
3641
+ "name": "Accordion",
3642
+ "module": "src/accordion/accordion.ts"
3202
3643
  }
3203
3644
  },
3204
3645
  {
3205
3646
  "kind": "field",
3206
- "name": "$presentation",
3207
- "type": {
3208
- "text": "ComponentPresentation | null"
3209
- },
3210
- "privacy": "public",
3211
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
3647
+ "name": "activeItemChange",
3648
+ "privacy": "private",
3212
3649
  "inheritedFrom": {
3213
- "name": "FoundationElement",
3214
- "module": "src/foundation-element/foundation-element.ts"
3650
+ "name": "Accordion",
3651
+ "module": "src/accordion/accordion.ts"
3215
3652
  }
3216
3653
  },
3217
3654
  {
3218
- "kind": "field",
3219
- "name": "template",
3220
- "type": {
3221
- "text": "ElementViewTemplate | void | null"
3655
+ "kind": "method",
3656
+ "name": "getItemIds",
3657
+ "privacy": "private",
3658
+ "return": {
3659
+ "type": {
3660
+ "text": "Array<string | null>"
3661
+ }
3222
3662
  },
3223
- "privacy": "public",
3224
- "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.",
3225
3663
  "inheritedFrom": {
3226
- "name": "FoundationElement",
3227
- "module": "src/foundation-element/foundation-element.ts"
3664
+ "name": "Accordion",
3665
+ "module": "src/accordion/accordion.ts"
3228
3666
  }
3229
3667
  },
3230
3668
  {
3231
3669
  "kind": "method",
3232
- "name": "templateChanged",
3233
- "privacy": "protected",
3670
+ "name": "isSingleExpandMode",
3671
+ "privacy": "private",
3234
3672
  "return": {
3235
3673
  "type": {
3236
- "text": "void"
3674
+ "text": "boolean"
3237
3675
  }
3238
3676
  },
3239
3677
  "inheritedFrom": {
3240
- "name": "FoundationElement",
3241
- "module": "src/foundation-element/foundation-element.ts"
3678
+ "name": "Accordion",
3679
+ "module": "src/accordion/accordion.ts"
3242
3680
  }
3243
3681
  },
3244
3682
  {
3245
3683
  "kind": "field",
3246
- "name": "styles",
3247
- "type": {
3248
- "text": "ElementStyles | void | null"
3249
- },
3250
- "privacy": "public",
3251
- "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.",
3684
+ "name": "handleItemKeyDown",
3685
+ "privacy": "private",
3252
3686
  "inheritedFrom": {
3253
- "name": "FoundationElement",
3254
- "module": "src/foundation-element/foundation-element.ts"
3687
+ "name": "Accordion",
3688
+ "module": "src/accordion/accordion.ts"
3255
3689
  }
3256
3690
  },
3257
3691
  {
3258
- "kind": "method",
3259
- "name": "stylesChanged",
3260
- "privacy": "protected",
3261
- "return": {
3262
- "type": {
3263
- "text": "void"
3264
- }
3265
- },
3692
+ "kind": "field",
3693
+ "name": "handleItemFocus",
3694
+ "privacy": "private",
3266
3695
  "inheritedFrom": {
3267
- "name": "FoundationElement",
3268
- "module": "src/foundation-element/foundation-element.ts"
3696
+ "name": "Accordion",
3697
+ "module": "src/accordion/accordion.ts"
3269
3698
  }
3270
3699
  },
3271
3700
  {
3272
3701
  "kind": "method",
3273
- "name": "compose",
3274
- "privacy": "public",
3275
- "static": true,
3702
+ "name": "adjust",
3703
+ "privacy": "private",
3276
3704
  "return": {
3277
3705
  "type": {
3278
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
3706
+ "text": "void"
3279
3707
  }
3280
3708
  },
3281
3709
  "parameters": [
3282
3710
  {
3283
- "name": "this",
3711
+ "name": "adjustment",
3284
3712
  "type": {
3285
- "text": "K"
3713
+ "text": "number"
3286
3714
  }
3287
- },
3288
- {
3289
- "name": "elementDefinition",
3290
- "type": {
3291
- "text": "T"
3292
- },
3293
- "description": "The definition of the element to create the registry\nfunction for."
3294
3715
  }
3295
3716
  ],
3296
- "description": "Defines an element registry function with a set of element definition defaults.",
3297
3717
  "inheritedFrom": {
3298
- "name": "FoundationElement",
3299
- "module": "src/foundation-element/foundation-element.ts"
3300
- }
3301
- }
3302
- ],
3303
- "superclass": {
3304
- "name": "FoundationElement",
3305
- "package": "@microsoft/fast-foundation"
3306
- },
3307
- "tagName": "%%prefix%%-ai-indicator",
3308
- "customElement": true
3309
- },
3310
- {
3311
- "kind": "variable",
3312
- "name": "foundationAiIndicator"
3313
- }
3314
- ],
3315
- "exports": [
3316
- {
3317
- "kind": "js",
3318
- "name": "AiIndicator",
3319
- "declaration": {
3320
- "name": "AiIndicator",
3321
- "module": "src/ai-indicator/ai-indicator.ts"
3322
- }
3323
- },
3324
- {
3325
- "kind": "js",
3326
- "name": "foundationAiIndicator",
3327
- "declaration": {
3328
- "name": "foundationAiIndicator",
3329
- "module": "src/ai-indicator/ai-indicator.ts"
3330
- }
3331
- }
3332
- ]
3333
- },
3334
- {
3335
- "kind": "javascript-module",
3336
- "path": "src/ai-indicator/index.ts",
3337
- "declarations": [],
3338
- "exports": [
3339
- {
3340
- "kind": "js",
3341
- "name": "AiIndicator",
3342
- "declaration": {
3343
- "name": "AiIndicator",
3344
- "module": "./ai-indicator"
3345
- }
3346
- },
3347
- {
3348
- "kind": "js",
3349
- "name": "foundationAiIndicator",
3350
- "declaration": {
3351
- "name": "foundationAiIndicator",
3352
- "module": "./ai-indicator"
3353
- }
3354
- },
3355
- {
3356
- "kind": "js",
3357
- "name": "type",
3358
- "declaration": {
3359
- "name": "type",
3360
- "module": "./ai-indicator"
3361
- }
3362
- },
3363
- {
3364
- "kind": "js",
3365
- "name": "AIIndicatorState",
3366
- "declaration": {
3367
- "name": "AIIndicatorState",
3368
- "module": "./ai-indicator"
3369
- }
3370
- },
3371
- {
3372
- "kind": "js",
3373
- "name": "foundationAiIndicatorTemplate",
3374
- "declaration": {
3375
- "name": "foundationAiIndicatorTemplate",
3376
- "module": "./ai-indicator.template"
3377
- }
3378
- },
3379
- {
3380
- "kind": "js",
3381
- "name": "foundationAiIndicatorStyles",
3382
- "declaration": {
3383
- "name": "foundationAiIndicatorStyles",
3384
- "module": "./ai-indicator.styles"
3385
- }
3386
- }
3387
- ]
3388
- },
3389
- {
3390
- "kind": "javascript-module",
3391
- "path": "src/actions-menu/actions-menu.styles.ts",
3392
- "declarations": [
3393
- {
3394
- "kind": "function",
3395
- "name": "actionsMenuBaseStyles",
3396
- "return": {
3397
- "type": {
3398
- "text": "ElementStyles"
3399
- }
3400
- },
3401
- "parameters": [
3402
- {
3403
- "name": "context",
3404
- "type": {
3405
- "text": "ElementDefinitionContext"
3406
- }
3407
- },
3408
- {
3409
- "name": "definition",
3410
- "type": {
3411
- "text": "FoundationElementDefinition"
3412
- }
3413
- }
3414
- ]
3415
- },
3416
- {
3417
- "kind": "function",
3418
- "name": "foundationActionsMenuStyles",
3419
- "return": {
3420
- "type": {
3421
- "text": "ElementStyles"
3422
- }
3423
- },
3424
- "parameters": [
3425
- {
3426
- "name": "context",
3427
- "type": {
3428
- "text": "ElementDefinitionContext"
3429
- }
3430
- },
3431
- {
3432
- "name": "definition",
3433
- "type": {
3434
- "text": "FoundationElementDefinition"
3435
- }
3436
- }
3437
- ]
3438
- }
3439
- ],
3440
- "exports": [
3441
- {
3442
- "kind": "js",
3443
- "name": "actionsMenuBaseStyles",
3444
- "declaration": {
3445
- "name": "actionsMenuBaseStyles",
3446
- "module": "src/actions-menu/actions-menu.styles.ts"
3447
- }
3448
- },
3449
- {
3450
- "kind": "js",
3451
- "name": "foundationActionsMenuStyles",
3452
- "declaration": {
3453
- "name": "foundationActionsMenuStyles",
3454
- "module": "src/actions-menu/actions-menu.styles.ts"
3455
- }
3456
- }
3457
- ]
3458
- },
3459
- {
3460
- "kind": "javascript-module",
3461
- "path": "src/actions-menu/actions-menu.template.ts",
3462
- "declarations": [
3463
- {
3464
- "kind": "function",
3465
- "name": "menuTemplate",
3466
- "parameters": [
3467
- {
3468
- "name": "prefix",
3469
- "type": {
3470
- "text": "string"
3471
- }
3472
- }
3473
- ]
3474
- },
3475
- {
3476
- "kind": "function",
3477
- "name": "singleOptionTemplate",
3478
- "parameters": [
3479
- {
3480
- "name": "prefix",
3481
- "type": {
3482
- "text": "string"
3483
- }
3484
- }
3485
- ]
3486
- },
3487
- {
3488
- "kind": "variable",
3489
- "name": "foundationActionsMenuTemplate",
3490
- "type": {
3491
- "text": "ViewTemplate<ActionsMenu>"
3492
- },
3493
- "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`"
3494
- }
3495
- ],
3496
- "exports": [
3497
- {
3498
- "kind": "js",
3499
- "name": "menuTemplate",
3500
- "declaration": {
3501
- "name": "menuTemplate",
3502
- "module": "src/actions-menu/actions-menu.template.ts"
3503
- }
3504
- },
3505
- {
3506
- "kind": "js",
3507
- "name": "singleOptionTemplate",
3508
- "declaration": {
3509
- "name": "singleOptionTemplate",
3510
- "module": "src/actions-menu/actions-menu.template.ts"
3511
- }
3512
- },
3513
- {
3514
- "kind": "js",
3515
- "name": "foundationActionsMenuTemplate",
3516
- "declaration": {
3517
- "name": "foundationActionsMenuTemplate",
3518
- "module": "src/actions-menu/actions-menu.template.ts"
3519
- }
3520
- }
3521
- ]
3522
- },
3523
- {
3524
- "kind": "javascript-module",
3525
- "path": "src/actions-menu/actions-menu.ts",
3526
- "declarations": [
3527
- {
3528
- "kind": "class",
3529
- "description": "",
3530
- "name": "ActionsMenu",
3531
- "members": [
3532
- {
3533
- "kind": "field",
3534
- "name": "actions",
3535
- "type": {
3536
- "text": "ActionMenuItem[]"
3537
- }
3538
- },
3539
- {
3540
- "kind": "field",
3541
- "name": "isVertical",
3542
- "type": {
3543
- "text": "boolean"
3544
- },
3545
- "default": "false"
3546
- },
3547
- {
3548
- "kind": "field",
3549
- "name": "addDefaultActions",
3550
- "type": {
3551
- "text": "boolean"
3552
- },
3553
- "default": "true"
3554
- },
3555
- {
3556
- "kind": "field",
3557
- "name": "autoCloseOnAction",
3558
- "type": {
3559
- "text": "boolean"
3560
- },
3561
- "default": "true"
3562
- },
3563
- {
3564
- "kind": "field",
3565
- "name": "classNames",
3566
- "type": {
3567
- "text": "string"
3568
- }
3569
- },
3570
- {
3571
- "kind": "field",
3572
- "name": "definition",
3573
- "type": {
3574
- "text": "any"
3575
- }
3576
- },
3577
- {
3578
- "kind": "field",
3579
- "name": "name",
3580
- "type": {
3581
- "text": "string"
3582
- },
3583
- "default": "'Actions'"
3584
- },
3585
- {
3586
- "kind": "field",
3587
- "name": "open",
3588
- "type": {
3589
- "text": "boolean"
3590
- },
3591
- "default": "false"
3592
- },
3593
- {
3594
- "kind": "field",
3595
- "name": "buttonAppearance",
3596
- "type": {
3597
- "text": "string"
3598
- }
3599
- },
3600
- {
3601
- "kind": "field",
3602
- "name": "hideDisabled",
3603
- "type": {
3604
- "text": "boolean"
3605
- },
3606
- "default": "false"
3607
- },
3608
- {
3609
- "kind": "field",
3610
- "name": "hideMenuSingleOption",
3611
- "type": {
3612
- "text": "boolean"
3613
- },
3614
- "default": "false"
3615
- },
3616
- {
3617
- "kind": "field",
3618
- "name": "singleOption",
3619
- "type": {
3620
- "text": "ActionMenuItem"
3621
- }
3622
- },
3623
- {
3624
- "kind": "field",
3625
- "name": "actionsMenu",
3626
- "type": {
3627
- "text": "HTMLElement"
3718
+ "name": "Accordion",
3719
+ "module": "src/accordion/accordion.ts"
3628
3720
  }
3629
3721
  },
3630
3722
  {
3631
3723
  "kind": "method",
3632
- "name": "definitionChanged",
3633
- "privacy": "protected",
3634
- "parameters": [
3635
- {
3636
- "name": "oldValue",
3637
- "type": {
3638
- "text": "any"
3639
- }
3640
- },
3641
- {
3642
- "name": "newValue",
3643
- "type": {
3644
- "text": "any"
3645
- }
3646
- }
3647
- ]
3648
- },
3649
- {
3650
- "kind": "method",
3651
- "name": "openChanged",
3652
- "privacy": "protected"
3653
- },
3654
- {
3655
- "kind": "method",
3656
- "name": "toggleActionsMenuVisibility"
3657
- },
3658
- {
3659
- "kind": "method",
3660
- "name": "onActionMenuItemClick",
3661
- "parameters": [
3662
- {
3663
- "name": "callback",
3664
- "type": {
3665
- "text": "(rowData) => void | any"
3666
- }
3724
+ "name": "focusItem",
3725
+ "privacy": "private",
3726
+ "return": {
3727
+ "type": {
3728
+ "text": "void"
3667
3729
  }
3668
- ]
3669
- },
3670
- {
3671
- "kind": "field",
3672
- "name": "allActions",
3673
- "type": {
3674
- "text": "ActionMenuItem[]"
3675
3730
  },
3676
- "readonly": true
3677
- },
3678
- {
3679
- "kind": "field",
3680
- "name": "rowData",
3681
- "readonly": true
3682
- },
3683
- {
3684
- "kind": "method",
3685
- "name": "getLabel",
3686
- "parameters": [
3687
- {
3688
- "name": "name",
3689
- "type": {
3690
- "text": "string | ((rowData: any) => string)"
3691
- }
3692
- }
3693
- ]
3694
- },
3695
- {
3696
- "kind": "method",
3697
- "name": "getTemplate",
3698
- "parameters": [
3699
- {
3700
- "name": "prefix",
3701
- "type": {
3702
- "text": "string"
3703
- }
3704
- }
3705
- ]
3731
+ "inheritedFrom": {
3732
+ "name": "Accordion",
3733
+ "module": "src/accordion/accordion.ts"
3734
+ }
3706
3735
  },
3707
3736
  {
3708
3737
  "kind": "field",
@@ -3816,107 +3845,78 @@
3816
3845
  }
3817
3846
  }
3818
3847
  ],
3819
- "attributes": [
3820
- {
3821
- "name": "is-vertical",
3822
- "type": {
3823
- "text": "boolean"
3824
- },
3825
- "default": "false",
3826
- "fieldName": "isVertical"
3827
- },
3828
- {
3829
- "name": "add-default-actions",
3830
- "type": {
3831
- "text": "boolean"
3832
- },
3833
- "default": "true",
3834
- "fieldName": "addDefaultActions"
3835
- },
3836
- {
3837
- "name": "auto-close-on-action",
3838
- "type": {
3839
- "text": "boolean"
3840
- },
3841
- "default": "true",
3842
- "fieldName": "autoCloseOnAction"
3843
- },
3844
- {
3845
- "name": "name",
3846
- "type": {
3847
- "text": "string"
3848
- },
3849
- "default": "'Actions'",
3850
- "fieldName": "name"
3851
- },
3852
- {
3853
- "name": "open",
3854
- "type": {
3855
- "text": "boolean"
3856
- },
3857
- "default": "false",
3858
- "fieldName": "open"
3859
- },
3860
- {
3861
- "name": "buttonAppearance",
3862
- "type": {
3863
- "text": "string"
3864
- },
3865
- "fieldName": "buttonAppearance"
3866
- },
3867
- {
3868
- "name": "hide-disabled",
3869
- "type": {
3870
- "text": "boolean"
3871
- },
3872
- "default": "false",
3873
- "fieldName": "hideDisabled"
3874
- },
3848
+ "events": [
3875
3849
  {
3876
- "name": "hide-menu-single-option",
3877
- "type": {
3878
- "text": "boolean"
3879
- },
3880
- "default": "false",
3881
- "fieldName": "hideMenuSingleOption"
3850
+ "description": "Fires a custom 'change' event when the active item changes",
3851
+ "name": "change",
3852
+ "inheritedFrom": {
3853
+ "name": "Accordion",
3854
+ "module": "src/accordion/accordion.ts"
3855
+ }
3882
3856
  }
3883
- ],
3884
- "superclass": {
3885
- "name": "FoundationElement",
3886
- "package": "@microsoft/fast-foundation"
3857
+ ]
3858
+ },
3859
+ {
3860
+ "kind": "variable",
3861
+ "name": "foundationAccordionShadowOptions",
3862
+ "type": {
3863
+ "text": "ShadowRootInit"
3887
3864
  },
3888
- "tagName": "%%prefix%%-actions-menu",
3889
- "customElement": true
3865
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3890
3866
  },
3891
3867
  {
3892
3868
  "kind": "variable",
3893
- "name": "foundationActionsMenu",
3894
- "description": "The Foundation Actions Menu",
3869
+ "name": "defaultAccordionConfig",
3870
+ "type": {
3871
+ "text": "object"
3872
+ },
3873
+ "default": "{}"
3874
+ },
3875
+ {
3876
+ "kind": "variable",
3877
+ "name": "foundationAccordion",
3878
+ "description": "The Foundation Accordion",
3895
3879
  "privacy": "public"
3896
3880
  }
3897
3881
  ],
3898
3882
  "exports": [
3899
3883
  {
3900
3884
  "kind": "js",
3901
- "name": "ActionsMenu",
3885
+ "name": "Accordion",
3902
3886
  "declaration": {
3903
- "name": "ActionsMenu",
3904
- "module": "src/actions-menu/actions-menu.ts"
3887
+ "name": "Accordion",
3888
+ "module": "src/accordion/accordion.ts"
3905
3889
  }
3906
3890
  },
3907
3891
  {
3908
3892
  "kind": "js",
3909
- "name": "foundationActionsMenu",
3893
+ "name": "foundationAccordionShadowOptions",
3910
3894
  "declaration": {
3911
- "name": "foundationActionsMenu",
3912
- "module": "src/actions-menu/actions-menu.ts"
3895
+ "name": "foundationAccordionShadowOptions",
3896
+ "module": "src/accordion/accordion.ts"
3897
+ }
3898
+ },
3899
+ {
3900
+ "kind": "js",
3901
+ "name": "defaultAccordionConfig",
3902
+ "declaration": {
3903
+ "name": "defaultAccordionConfig",
3904
+ "module": "src/accordion/accordion.ts"
3905
+ }
3906
+ },
3907
+ {
3908
+ "kind": "js",
3909
+ "name": "foundationAccordion",
3910
+ "declaration": {
3911
+ "name": "foundationAccordion",
3912
+ "module": "src/accordion/accordion.ts"
3913
3913
  }
3914
3914
  }
3915
3915
  ]
3916
3916
  },
3917
3917
  {
3918
3918
  "kind": "javascript-module",
3919
- "path": "src/actions-menu/index.ts",
3919
+ "path": "src/accordion/index.ts",
3920
3920
  "declarations": [],
3921
3921
  "exports": [
3922
3922
  {
@@ -3924,7 +3924,7 @@
3924
3924
  "name": "*",
3925
3925
  "declaration": {
3926
3926
  "name": "*",
3927
- "package": "./actions-menu.styles"
3927
+ "package": "./accordion.template"
3928
3928
  }
3929
3929
  },
3930
3930
  {
@@ -3932,7 +3932,7 @@
3932
3932
  "name": "*",
3933
3933
  "declaration": {
3934
3934
  "name": "*",
3935
- "package": "./actions-menu.template"
3935
+ "package": "./accordion.styles"
3936
3936
  }
3937
3937
  },
3938
3938
  {
@@ -3940,7 +3940,7 @@
3940
3940
  "name": "*",
3941
3941
  "declaration": {
3942
3942
  "name": "*",
3943
- "package": "./actions-menu"
3943
+ "package": "./accordion"
3944
3944
  }
3945
3945
  }
3946
3946
  ]
@@ -57095,6 +57095,197 @@
57095
57095
  }
57096
57096
  ]
57097
57097
  },
57098
+ {
57099
+ "kind": "javascript-module",
57100
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57101
+ "declarations": [],
57102
+ "exports": []
57103
+ },
57104
+ {
57105
+ "kind": "javascript-module",
57106
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
57107
+ "declarations": [
57108
+ {
57109
+ "kind": "function",
57110
+ "name": "groupsToCriteria",
57111
+ "return": {
57112
+ "type": {
57113
+ "text": "string"
57114
+ }
57115
+ },
57116
+ "parameters": [
57117
+ {
57118
+ "name": "groups",
57119
+ "type": {
57120
+ "text": "CriteriaGroup[]"
57121
+ }
57122
+ }
57123
+ ],
57124
+ "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
57125
+ },
57126
+ {
57127
+ "kind": "variable",
57128
+ "name": "STRING_OPERATORS",
57129
+ "type": {
57130
+ "text": "CriteriaOperator[]"
57131
+ },
57132
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57133
+ },
57134
+ {
57135
+ "kind": "variable",
57136
+ "name": "NUMERIC_OPERATORS",
57137
+ "type": {
57138
+ "text": "CriteriaOperator[]"
57139
+ },
57140
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57141
+ },
57142
+ {
57143
+ "kind": "variable",
57144
+ "name": "DATE_OPERATORS",
57145
+ "type": {
57146
+ "text": "CriteriaOperator[]"
57147
+ },
57148
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57149
+ },
57150
+ {
57151
+ "kind": "variable",
57152
+ "name": "DATETIME_OPERATORS",
57153
+ "type": {
57154
+ "text": "CriteriaOperator[]"
57155
+ },
57156
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57157
+ },
57158
+ {
57159
+ "kind": "variable",
57160
+ "name": "OPERATOR_DISPLAY_LABEL",
57161
+ "type": {
57162
+ "text": "Record<CriteriaOperator, string>"
57163
+ },
57164
+ "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
57165
+ }
57166
+ ],
57167
+ "exports": [
57168
+ {
57169
+ "kind": "js",
57170
+ "name": "groupsToCriteria",
57171
+ "declaration": {
57172
+ "name": "groupsToCriteria",
57173
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57174
+ }
57175
+ },
57176
+ {
57177
+ "kind": "js",
57178
+ "name": "STRING_OPERATORS",
57179
+ "declaration": {
57180
+ "name": "STRING_OPERATORS",
57181
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57182
+ }
57183
+ },
57184
+ {
57185
+ "kind": "js",
57186
+ "name": "NUMERIC_OPERATORS",
57187
+ "declaration": {
57188
+ "name": "NUMERIC_OPERATORS",
57189
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57190
+ }
57191
+ },
57192
+ {
57193
+ "kind": "js",
57194
+ "name": "DATE_OPERATORS",
57195
+ "declaration": {
57196
+ "name": "DATE_OPERATORS",
57197
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57198
+ }
57199
+ },
57200
+ {
57201
+ "kind": "js",
57202
+ "name": "DATETIME_OPERATORS",
57203
+ "declaration": {
57204
+ "name": "DATETIME_OPERATORS",
57205
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57206
+ }
57207
+ },
57208
+ {
57209
+ "kind": "js",
57210
+ "name": "OPERATOR_DISPLAY_LABEL",
57211
+ "declaration": {
57212
+ "name": "OPERATOR_DISPLAY_LABEL",
57213
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
57214
+ }
57215
+ }
57216
+ ]
57217
+ },
57218
+ {
57219
+ "kind": "javascript-module",
57220
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
57221
+ "declarations": [
57222
+ {
57223
+ "kind": "function",
57224
+ "name": "validateClauses",
57225
+ "return": {
57226
+ "type": {
57227
+ "text": "ValidationResult"
57228
+ }
57229
+ },
57230
+ "parameters": [
57231
+ {
57232
+ "name": "clauses",
57233
+ "type": {
57234
+ "text": "CriteriaClause[]"
57235
+ }
57236
+ },
57237
+ {
57238
+ "name": "fieldMetadata",
57239
+ "type": {
57240
+ "text": "MetadataDetail[] | string[]"
57241
+ }
57242
+ }
57243
+ ]
57244
+ },
57245
+ {
57246
+ "kind": "function",
57247
+ "name": "validateGroups",
57248
+ "return": {
57249
+ "type": {
57250
+ "text": "GroupsValidationResult"
57251
+ }
57252
+ },
57253
+ "parameters": [
57254
+ {
57255
+ "name": "groups",
57256
+ "type": {
57257
+ "text": "CriteriaGroup[]"
57258
+ }
57259
+ },
57260
+ {
57261
+ "name": "fieldMetadata",
57262
+ "type": {
57263
+ "text": "MetadataDetail[] | string[]"
57264
+ }
57265
+ }
57266
+ ],
57267
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57268
+ }
57269
+ ],
57270
+ "exports": [
57271
+ {
57272
+ "kind": "js",
57273
+ "name": "validateClauses",
57274
+ "declaration": {
57275
+ "name": "validateClauses",
57276
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57277
+ }
57278
+ },
57279
+ {
57280
+ "kind": "js",
57281
+ "name": "validateGroups",
57282
+ "declaration": {
57283
+ "name": "validateGroups",
57284
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
57285
+ }
57286
+ }
57287
+ ]
57288
+ },
57098
57289
  {
57099
57290
  "kind": "javascript-module",
57100
57291
  "path": "src/_config/styles/colors.ts",
@@ -58467,197 +58658,6 @@
58467
58658
  "declarations": [],
58468
58659
  "exports": []
58469
58660
  },
58470
- {
58471
- "kind": "javascript-module",
58472
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
58473
- "declarations": [],
58474
- "exports": []
58475
- },
58476
- {
58477
- "kind": "javascript-module",
58478
- "path": "src/ai-criteria-search/validation/operator-map.ts",
58479
- "declarations": [
58480
- {
58481
- "kind": "function",
58482
- "name": "groupsToCriteria",
58483
- "return": {
58484
- "type": {
58485
- "text": "string"
58486
- }
58487
- },
58488
- "parameters": [
58489
- {
58490
- "name": "groups",
58491
- "type": {
58492
- "text": "CriteriaGroup[]"
58493
- }
58494
- }
58495
- ],
58496
- "description": "Converts validated CriteriaGroup[] to a Groovy criteria string using CriteriaBuilder.\nGroups are AND-ed at top level. Within each group, clauses use group.logic (and/or).\nIf group.negated is true, the group's combined expression is wrapped in NOT."
58497
- },
58498
- {
58499
- "kind": "variable",
58500
- "name": "STRING_OPERATORS",
58501
- "type": {
58502
- "text": "CriteriaOperator[]"
58503
- },
58504
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
58505
- },
58506
- {
58507
- "kind": "variable",
58508
- "name": "NUMERIC_OPERATORS",
58509
- "type": {
58510
- "text": "CriteriaOperator[]"
58511
- },
58512
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
58513
- },
58514
- {
58515
- "kind": "variable",
58516
- "name": "DATE_OPERATORS",
58517
- "type": {
58518
- "text": "CriteriaOperator[]"
58519
- },
58520
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
58521
- },
58522
- {
58523
- "kind": "variable",
58524
- "name": "DATETIME_OPERATORS",
58525
- "type": {
58526
- "text": "CriteriaOperator[]"
58527
- },
58528
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
58529
- },
58530
- {
58531
- "kind": "variable",
58532
- "name": "OPERATOR_DISPLAY_LABEL",
58533
- "type": {
58534
- "text": "Record<CriteriaOperator, string>"
58535
- },
58536
- "default": "{\n contains: 'contains',\n equals: '=',\n startsWith: 'starts with',\n endsWith: 'ends with',\n notEqual: '≠',\n greaterThan: '>',\n lessThan: '<',\n greaterThanOrEqual: '≥',\n lessThanOrEqual: '≤',\n dateIsToday: 'is today',\n dateIsAfter: 'after',\n dateIsBefore: 'before',\n dateIsEqual: '=',\n dateIsGreaterEqual: '≥',\n dateIsLessEqual: '≤',\n dateTimeIsAfter: 'after',\n dateTimeIsBefore: 'before',\n dateTimeIsGreaterEqual: '≥',\n dateTimeIsLessEqual: '≤',\n}"
58537
- }
58538
- ],
58539
- "exports": [
58540
- {
58541
- "kind": "js",
58542
- "name": "groupsToCriteria",
58543
- "declaration": {
58544
- "name": "groupsToCriteria",
58545
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58546
- }
58547
- },
58548
- {
58549
- "kind": "js",
58550
- "name": "STRING_OPERATORS",
58551
- "declaration": {
58552
- "name": "STRING_OPERATORS",
58553
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58554
- }
58555
- },
58556
- {
58557
- "kind": "js",
58558
- "name": "NUMERIC_OPERATORS",
58559
- "declaration": {
58560
- "name": "NUMERIC_OPERATORS",
58561
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58562
- }
58563
- },
58564
- {
58565
- "kind": "js",
58566
- "name": "DATE_OPERATORS",
58567
- "declaration": {
58568
- "name": "DATE_OPERATORS",
58569
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58570
- }
58571
- },
58572
- {
58573
- "kind": "js",
58574
- "name": "DATETIME_OPERATORS",
58575
- "declaration": {
58576
- "name": "DATETIME_OPERATORS",
58577
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58578
- }
58579
- },
58580
- {
58581
- "kind": "js",
58582
- "name": "OPERATOR_DISPLAY_LABEL",
58583
- "declaration": {
58584
- "name": "OPERATOR_DISPLAY_LABEL",
58585
- "module": "src/ai-criteria-search/validation/operator-map.ts"
58586
- }
58587
- }
58588
- ]
58589
- },
58590
- {
58591
- "kind": "javascript-module",
58592
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
58593
- "declarations": [
58594
- {
58595
- "kind": "function",
58596
- "name": "validateClauses",
58597
- "return": {
58598
- "type": {
58599
- "text": "ValidationResult"
58600
- }
58601
- },
58602
- "parameters": [
58603
- {
58604
- "name": "clauses",
58605
- "type": {
58606
- "text": "CriteriaClause[]"
58607
- }
58608
- },
58609
- {
58610
- "name": "fieldMetadata",
58611
- "type": {
58612
- "text": "MetadataDetail[] | string[]"
58613
- }
58614
- }
58615
- ]
58616
- },
58617
- {
58618
- "kind": "function",
58619
- "name": "validateGroups",
58620
- "return": {
58621
- "type": {
58622
- "text": "GroupsValidationResult"
58623
- }
58624
- },
58625
- "parameters": [
58626
- {
58627
- "name": "groups",
58628
- "type": {
58629
- "text": "CriteriaGroup[]"
58630
- }
58631
- },
58632
- {
58633
- "name": "fieldMetadata",
58634
- "type": {
58635
- "text": "MetadataDetail[] | string[]"
58636
- }
58637
- }
58638
- ],
58639
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
58640
- }
58641
- ],
58642
- "exports": [
58643
- {
58644
- "kind": "js",
58645
- "name": "validateClauses",
58646
- "declaration": {
58647
- "name": "validateClauses",
58648
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58649
- }
58650
- },
58651
- {
58652
- "kind": "js",
58653
- "name": "validateGroups",
58654
- "declaration": {
58655
- "name": "validateGroups",
58656
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
58657
- }
58658
- }
58659
- ]
58660
- },
58661
58661
  {
58662
58662
  "kind": "javascript-module",
58663
58663
  "path": "src/environment-indicator/utils/configure.ts",