@genesislcap/foundation-ui 14.427.1 → 14.427.2-alpha-e0ffaad.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +873 -873
- package/dist/dts/react.d.ts +13 -13
- package/dist/react.cjs +9 -9
- package/dist/react.mjs +7 -7
- package/package.json +19 -19
|
@@ -1398,6 +1398,400 @@
|
|
|
1398
1398
|
}
|
|
1399
1399
|
]
|
|
1400
1400
|
},
|
|
1401
|
+
{
|
|
1402
|
+
"kind": "javascript-module",
|
|
1403
|
+
"path": "src/accordion-item/accordion-item.styles.ts",
|
|
1404
|
+
"declarations": [
|
|
1405
|
+
{
|
|
1406
|
+
"kind": "function",
|
|
1407
|
+
"name": "foundationAccordionItemStyles",
|
|
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
|
+
"exports": [
|
|
1430
|
+
{
|
|
1431
|
+
"kind": "js",
|
|
1432
|
+
"name": "foundationAccordionItemStyles",
|
|
1433
|
+
"declaration": {
|
|
1434
|
+
"name": "foundationAccordionItemStyles",
|
|
1435
|
+
"module": "src/accordion-item/accordion-item.styles.ts"
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
]
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
"kind": "javascript-module",
|
|
1442
|
+
"path": "src/accordion-item/accordion-item.template.ts",
|
|
1443
|
+
"declarations": [
|
|
1444
|
+
{
|
|
1445
|
+
"kind": "function",
|
|
1446
|
+
"name": "foundationAccordionItemTemplate",
|
|
1447
|
+
"return": {
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "ViewTemplate<AccordionItem>"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"parameters": [
|
|
1453
|
+
{
|
|
1454
|
+
"name": "context",
|
|
1455
|
+
"type": {
|
|
1456
|
+
"text": "ElementDefinitionContext"
|
|
1457
|
+
}
|
|
1458
|
+
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "definition",
|
|
1461
|
+
"type": {
|
|
1462
|
+
"text": "FoundationElementDefinition"
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
]
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
"exports": [
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "js",
|
|
1471
|
+
"name": "foundationAccordionItemTemplate",
|
|
1472
|
+
"declaration": {
|
|
1473
|
+
"name": "foundationAccordionItemTemplate",
|
|
1474
|
+
"module": "src/accordion-item/accordion-item.template.ts"
|
|
1475
|
+
}
|
|
1476
|
+
}
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "javascript-module",
|
|
1481
|
+
"path": "src/accordion-item/accordion-item.ts",
|
|
1482
|
+
"declarations": [
|
|
1483
|
+
{
|
|
1484
|
+
"kind": "class",
|
|
1485
|
+
"description": "",
|
|
1486
|
+
"name": "AccordionItem",
|
|
1487
|
+
"superclass": {
|
|
1488
|
+
"name": "FASTAccordionItem",
|
|
1489
|
+
"package": "@microsoft/fast-components"
|
|
1490
|
+
},
|
|
1491
|
+
"tagName": "%%prefix%%-accordion-item",
|
|
1492
|
+
"customElement": true,
|
|
1493
|
+
"attributes": [
|
|
1494
|
+
{
|
|
1495
|
+
"name": "heading-level",
|
|
1496
|
+
"type": {
|
|
1497
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1498
|
+
},
|
|
1499
|
+
"default": "2",
|
|
1500
|
+
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
1501
|
+
"fieldName": "headinglevel",
|
|
1502
|
+
"inheritedFrom": {
|
|
1503
|
+
"name": "AccordionItem",
|
|
1504
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"type": {
|
|
1509
|
+
"text": "boolean"
|
|
1510
|
+
},
|
|
1511
|
+
"default": "false",
|
|
1512
|
+
"description": "Expands or collapses the item.",
|
|
1513
|
+
"fieldName": "expanded",
|
|
1514
|
+
"inheritedFrom": {
|
|
1515
|
+
"name": "AccordionItem",
|
|
1516
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "id",
|
|
1521
|
+
"type": {
|
|
1522
|
+
"text": "string"
|
|
1523
|
+
},
|
|
1524
|
+
"description": "The item ID",
|
|
1525
|
+
"fieldName": "id",
|
|
1526
|
+
"inheritedFrom": {
|
|
1527
|
+
"name": "AccordionItem",
|
|
1528
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
],
|
|
1532
|
+
"members": [
|
|
1533
|
+
{
|
|
1534
|
+
"kind": "field",
|
|
1535
|
+
"name": "headinglevel",
|
|
1536
|
+
"type": {
|
|
1537
|
+
"text": "1 | 2 | 3 | 4 | 5 | 6"
|
|
1538
|
+
},
|
|
1539
|
+
"privacy": "public",
|
|
1540
|
+
"default": "2",
|
|
1541
|
+
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
1542
|
+
"inheritedFrom": {
|
|
1543
|
+
"name": "AccordionItem",
|
|
1544
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"kind": "field",
|
|
1549
|
+
"name": "expanded",
|
|
1550
|
+
"type": {
|
|
1551
|
+
"text": "boolean"
|
|
1552
|
+
},
|
|
1553
|
+
"privacy": "public",
|
|
1554
|
+
"default": "false",
|
|
1555
|
+
"description": "Expands or collapses the item.",
|
|
1556
|
+
"inheritedFrom": {
|
|
1557
|
+
"name": "AccordionItem",
|
|
1558
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"kind": "field",
|
|
1563
|
+
"name": "id",
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "string"
|
|
1566
|
+
},
|
|
1567
|
+
"privacy": "public",
|
|
1568
|
+
"description": "The item ID",
|
|
1569
|
+
"inheritedFrom": {
|
|
1570
|
+
"name": "AccordionItem",
|
|
1571
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1572
|
+
}
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
"kind": "field",
|
|
1576
|
+
"name": "change",
|
|
1577
|
+
"privacy": "private",
|
|
1578
|
+
"inheritedFrom": {
|
|
1579
|
+
"name": "AccordionItem",
|
|
1580
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1583
|
+
{
|
|
1584
|
+
"kind": "field",
|
|
1585
|
+
"name": "_presentation",
|
|
1586
|
+
"type": {
|
|
1587
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1588
|
+
},
|
|
1589
|
+
"privacy": "private",
|
|
1590
|
+
"default": "void 0",
|
|
1591
|
+
"inheritedFrom": {
|
|
1592
|
+
"name": "FoundationElement",
|
|
1593
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1594
|
+
}
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"kind": "field",
|
|
1598
|
+
"name": "$presentation",
|
|
1599
|
+
"type": {
|
|
1600
|
+
"text": "ComponentPresentation | null"
|
|
1601
|
+
},
|
|
1602
|
+
"privacy": "public",
|
|
1603
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
1604
|
+
"inheritedFrom": {
|
|
1605
|
+
"name": "FoundationElement",
|
|
1606
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "field",
|
|
1611
|
+
"name": "template",
|
|
1612
|
+
"type": {
|
|
1613
|
+
"text": "ElementViewTemplate | void | null"
|
|
1614
|
+
},
|
|
1615
|
+
"privacy": "public",
|
|
1616
|
+
"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.",
|
|
1617
|
+
"inheritedFrom": {
|
|
1618
|
+
"name": "FoundationElement",
|
|
1619
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"kind": "method",
|
|
1624
|
+
"name": "templateChanged",
|
|
1625
|
+
"privacy": "protected",
|
|
1626
|
+
"return": {
|
|
1627
|
+
"type": {
|
|
1628
|
+
"text": "void"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
"inheritedFrom": {
|
|
1632
|
+
"name": "FoundationElement",
|
|
1633
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1634
|
+
}
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"kind": "field",
|
|
1638
|
+
"name": "styles",
|
|
1639
|
+
"type": {
|
|
1640
|
+
"text": "ElementStyles | void | null"
|
|
1641
|
+
},
|
|
1642
|
+
"privacy": "public",
|
|
1643
|
+
"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.",
|
|
1644
|
+
"inheritedFrom": {
|
|
1645
|
+
"name": "FoundationElement",
|
|
1646
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1647
|
+
}
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "method",
|
|
1651
|
+
"name": "stylesChanged",
|
|
1652
|
+
"privacy": "protected",
|
|
1653
|
+
"return": {
|
|
1654
|
+
"type": {
|
|
1655
|
+
"text": "void"
|
|
1656
|
+
}
|
|
1657
|
+
},
|
|
1658
|
+
"inheritedFrom": {
|
|
1659
|
+
"name": "FoundationElement",
|
|
1660
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1661
|
+
}
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"kind": "method",
|
|
1665
|
+
"name": "compose",
|
|
1666
|
+
"privacy": "public",
|
|
1667
|
+
"static": true,
|
|
1668
|
+
"return": {
|
|
1669
|
+
"type": {
|
|
1670
|
+
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"parameters": [
|
|
1674
|
+
{
|
|
1675
|
+
"name": "this",
|
|
1676
|
+
"type": {
|
|
1677
|
+
"text": "K"
|
|
1678
|
+
}
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "elementDefinition",
|
|
1682
|
+
"type": {
|
|
1683
|
+
"text": "T"
|
|
1684
|
+
},
|
|
1685
|
+
"description": "The definition of the element to create the registry\nfunction for."
|
|
1686
|
+
}
|
|
1687
|
+
],
|
|
1688
|
+
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1689
|
+
"inheritedFrom": {
|
|
1690
|
+
"name": "FoundationElement",
|
|
1691
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
],
|
|
1695
|
+
"events": [
|
|
1696
|
+
{
|
|
1697
|
+
"description": "Fires a custom 'change' event when the button is invoked",
|
|
1698
|
+
"name": "change",
|
|
1699
|
+
"inheritedFrom": {
|
|
1700
|
+
"name": "AccordionItem",
|
|
1701
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
]
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "variable",
|
|
1708
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1709
|
+
"type": {
|
|
1710
|
+
"text": "ShadowRootInit"
|
|
1711
|
+
},
|
|
1712
|
+
"default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "variable",
|
|
1716
|
+
"name": "defaultAccordionItemConfig",
|
|
1717
|
+
"type": {
|
|
1718
|
+
"text": "object"
|
|
1719
|
+
},
|
|
1720
|
+
"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}"
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"kind": "variable",
|
|
1724
|
+
"name": "foundationAccordionItem",
|
|
1725
|
+
"description": "The Foundation Accordion Item",
|
|
1726
|
+
"privacy": "public"
|
|
1727
|
+
}
|
|
1728
|
+
],
|
|
1729
|
+
"exports": [
|
|
1730
|
+
{
|
|
1731
|
+
"kind": "js",
|
|
1732
|
+
"name": "AccordionItem",
|
|
1733
|
+
"declaration": {
|
|
1734
|
+
"name": "AccordionItem",
|
|
1735
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1736
|
+
}
|
|
1737
|
+
},
|
|
1738
|
+
{
|
|
1739
|
+
"kind": "js",
|
|
1740
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1741
|
+
"declaration": {
|
|
1742
|
+
"name": "foundationAccordionItemShadowOptions",
|
|
1743
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1744
|
+
}
|
|
1745
|
+
},
|
|
1746
|
+
{
|
|
1747
|
+
"kind": "js",
|
|
1748
|
+
"name": "defaultAccordionItemConfig",
|
|
1749
|
+
"declaration": {
|
|
1750
|
+
"name": "defaultAccordionItemConfig",
|
|
1751
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"kind": "js",
|
|
1756
|
+
"name": "foundationAccordionItem",
|
|
1757
|
+
"declaration": {
|
|
1758
|
+
"name": "foundationAccordionItem",
|
|
1759
|
+
"module": "src/accordion-item/accordion-item.ts"
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
]
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"kind": "javascript-module",
|
|
1766
|
+
"path": "src/accordion-item/index.ts",
|
|
1767
|
+
"declarations": [],
|
|
1768
|
+
"exports": [
|
|
1769
|
+
{
|
|
1770
|
+
"kind": "js",
|
|
1771
|
+
"name": "*",
|
|
1772
|
+
"declaration": {
|
|
1773
|
+
"name": "*",
|
|
1774
|
+
"package": "./accordion-item.template"
|
|
1775
|
+
}
|
|
1776
|
+
},
|
|
1777
|
+
{
|
|
1778
|
+
"kind": "js",
|
|
1779
|
+
"name": "*",
|
|
1780
|
+
"declaration": {
|
|
1781
|
+
"name": "*",
|
|
1782
|
+
"package": "./accordion-item.styles"
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "js",
|
|
1787
|
+
"name": "*",
|
|
1788
|
+
"declaration": {
|
|
1789
|
+
"name": "*",
|
|
1790
|
+
"package": "./accordion-item"
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
]
|
|
1794
|
+
},
|
|
1401
1795
|
{
|
|
1402
1796
|
"kind": "javascript-module",
|
|
1403
1797
|
"path": "src/actions-menu/actions-menu.styles.ts",
|
|
@@ -1959,185 +2353,191 @@
|
|
|
1959
2353
|
},
|
|
1960
2354
|
{
|
|
1961
2355
|
"kind": "javascript-module",
|
|
1962
|
-
"path": "src/
|
|
2356
|
+
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
1963
2357
|
"declarations": [
|
|
1964
2358
|
{
|
|
1965
|
-
"kind": "
|
|
1966
|
-
"name": "
|
|
1967
|
-
"
|
|
1968
|
-
"type": {
|
|
1969
|
-
"text": "ElementStyles"
|
|
1970
|
-
}
|
|
1971
|
-
},
|
|
1972
|
-
"parameters": [
|
|
1973
|
-
{
|
|
1974
|
-
"name": "context",
|
|
1975
|
-
"type": {
|
|
1976
|
-
"text": "ElementDefinitionContext"
|
|
1977
|
-
}
|
|
1978
|
-
},
|
|
1979
|
-
{
|
|
1980
|
-
"name": "definition",
|
|
1981
|
-
"type": {
|
|
1982
|
-
"text": "FoundationElementDefinition"
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
]
|
|
2359
|
+
"kind": "variable",
|
|
2360
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2361
|
+
"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`"
|
|
1986
2362
|
}
|
|
1987
2363
|
],
|
|
1988
2364
|
"exports": [
|
|
1989
2365
|
{
|
|
1990
2366
|
"kind": "js",
|
|
1991
|
-
"name": "
|
|
2367
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
1992
2368
|
"declaration": {
|
|
1993
|
-
"name": "
|
|
1994
|
-
"module": "src/
|
|
2369
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2370
|
+
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
1995
2371
|
}
|
|
1996
2372
|
}
|
|
1997
2373
|
]
|
|
1998
2374
|
},
|
|
1999
2375
|
{
|
|
2000
2376
|
"kind": "javascript-module",
|
|
2001
|
-
"path": "src/
|
|
2377
|
+
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2002
2378
|
"declarations": [
|
|
2003
2379
|
{
|
|
2004
|
-
"kind": "
|
|
2005
|
-
"name": "
|
|
2006
|
-
"
|
|
2007
|
-
"
|
|
2008
|
-
"text": "ViewTemplate<AccordionItem>"
|
|
2009
|
-
}
|
|
2380
|
+
"kind": "variable",
|
|
2381
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2010
2384
|
},
|
|
2011
|
-
"
|
|
2012
|
-
{
|
|
2013
|
-
"name": "context",
|
|
2014
|
-
"type": {
|
|
2015
|
-
"text": "ElementDefinitionContext"
|
|
2016
|
-
}
|
|
2017
|
-
},
|
|
2018
|
-
{
|
|
2019
|
-
"name": "definition",
|
|
2020
|
-
"type": {
|
|
2021
|
-
"text": "FoundationElementDefinition"
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
]
|
|
2385
|
+
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2025
2386
|
}
|
|
2026
2387
|
],
|
|
2027
2388
|
"exports": [
|
|
2028
2389
|
{
|
|
2029
2390
|
"kind": "js",
|
|
2030
|
-
"name": "
|
|
2391
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2031
2392
|
"declaration": {
|
|
2032
|
-
"name": "
|
|
2033
|
-
"module": "src/
|
|
2393
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2394
|
+
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2034
2395
|
}
|
|
2035
2396
|
}
|
|
2036
2397
|
]
|
|
2037
2398
|
},
|
|
2038
2399
|
{
|
|
2039
2400
|
"kind": "javascript-module",
|
|
2040
|
-
"path": "src/
|
|
2401
|
+
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2041
2402
|
"declarations": [
|
|
2042
2403
|
{
|
|
2043
2404
|
"kind": "class",
|
|
2044
|
-
"description": "",
|
|
2045
|
-
"name": "
|
|
2046
|
-
"
|
|
2047
|
-
"name": "FASTAccordionItem",
|
|
2048
|
-
"package": "@microsoft/fast-components"
|
|
2049
|
-
},
|
|
2050
|
-
"tagName": "%%prefix%%-accordion-item",
|
|
2051
|
-
"customElement": true,
|
|
2052
|
-
"attributes": [
|
|
2405
|
+
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2406
|
+
"name": "AiCriteriaSearch",
|
|
2407
|
+
"members": [
|
|
2053
2408
|
{
|
|
2054
|
-
"
|
|
2409
|
+
"kind": "field",
|
|
2410
|
+
"name": "aiProvider",
|
|
2055
2411
|
"type": {
|
|
2056
|
-
"text": "
|
|
2057
|
-
},
|
|
2058
|
-
"default": "2",
|
|
2059
|
-
"description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
|
|
2060
|
-
"fieldName": "headinglevel",
|
|
2061
|
-
"inheritedFrom": {
|
|
2062
|
-
"name": "AccordionItem",
|
|
2063
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2412
|
+
"text": "AIProvider"
|
|
2064
2413
|
}
|
|
2065
2414
|
},
|
|
2066
2415
|
{
|
|
2416
|
+
"kind": "field",
|
|
2417
|
+
"name": "placeholder",
|
|
2067
2418
|
"type": {
|
|
2068
|
-
"text": "
|
|
2419
|
+
"text": "string"
|
|
2069
2420
|
},
|
|
2070
|
-
"default": "
|
|
2071
|
-
"description": "Expands or collapses the item.",
|
|
2072
|
-
"fieldName": "expanded",
|
|
2073
|
-
"inheritedFrom": {
|
|
2074
|
-
"name": "AccordionItem",
|
|
2075
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2076
|
-
}
|
|
2421
|
+
"default": "'Describe your search criteria in natural language...'"
|
|
2077
2422
|
},
|
|
2078
2423
|
{
|
|
2079
|
-
"
|
|
2424
|
+
"kind": "field",
|
|
2425
|
+
"name": "disabled",
|
|
2080
2426
|
"type": {
|
|
2081
|
-
"text": "
|
|
2082
|
-
},
|
|
2083
|
-
"description": "The item ID",
|
|
2084
|
-
"fieldName": "id",
|
|
2085
|
-
"inheritedFrom": {
|
|
2086
|
-
"name": "AccordionItem",
|
|
2087
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2427
|
+
"text": "boolean"
|
|
2088
2428
|
}
|
|
2089
|
-
}
|
|
2090
|
-
],
|
|
2091
|
-
"members": [
|
|
2429
|
+
},
|
|
2092
2430
|
{
|
|
2093
2431
|
"kind": "field",
|
|
2094
|
-
"name": "
|
|
2432
|
+
"name": "mode",
|
|
2095
2433
|
"type": {
|
|
2096
|
-
"text": "
|
|
2434
|
+
"text": "'append' | 'replace'"
|
|
2097
2435
|
},
|
|
2098
|
-
"
|
|
2099
|
-
"default": "2",
|
|
2100
|
-
"description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
|
|
2101
|
-
"inheritedFrom": {
|
|
2102
|
-
"name": "AccordionItem",
|
|
2103
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2104
|
-
}
|
|
2436
|
+
"default": "'replace'"
|
|
2105
2437
|
},
|
|
2106
2438
|
{
|
|
2107
2439
|
"kind": "field",
|
|
2108
|
-
"name": "
|
|
2440
|
+
"name": "inputValue",
|
|
2441
|
+
"type": {
|
|
2442
|
+
"text": "string"
|
|
2443
|
+
},
|
|
2444
|
+
"default": "''"
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"kind": "field",
|
|
2448
|
+
"name": "isInterpreting",
|
|
2109
2449
|
"type": {
|
|
2110
2450
|
"text": "boolean"
|
|
2111
2451
|
},
|
|
2112
|
-
"
|
|
2113
|
-
"default": "false",
|
|
2114
|
-
"description": "Expands or collapses the item.",
|
|
2115
|
-
"inheritedFrom": {
|
|
2116
|
-
"name": "AccordionItem",
|
|
2117
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2118
|
-
}
|
|
2452
|
+
"default": "false"
|
|
2119
2453
|
},
|
|
2120
2454
|
{
|
|
2121
2455
|
"kind": "field",
|
|
2122
|
-
"name": "
|
|
2456
|
+
"name": "lastValidCriteria",
|
|
2123
2457
|
"type": {
|
|
2124
|
-
"text": "string"
|
|
2458
|
+
"text": "string | null"
|
|
2125
2459
|
},
|
|
2126
|
-
"
|
|
2127
|
-
"description": "The item ID",
|
|
2128
|
-
"inheritedFrom": {
|
|
2129
|
-
"name": "AccordionItem",
|
|
2130
|
-
"module": "src/accordion-item/accordion-item.ts"
|
|
2131
|
-
}
|
|
2460
|
+
"default": "null"
|
|
2132
2461
|
},
|
|
2133
2462
|
{
|
|
2134
2463
|
"kind": "field",
|
|
2135
|
-
"name": "
|
|
2464
|
+
"name": "fieldMetadata",
|
|
2465
|
+
"type": {
|
|
2466
|
+
"text": "MetadataDetail[] | string[]"
|
|
2467
|
+
},
|
|
2468
|
+
"default": "[]"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"kind": "field",
|
|
2472
|
+
"name": "isRecording",
|
|
2473
|
+
"type": {
|
|
2474
|
+
"text": "boolean"
|
|
2475
|
+
},
|
|
2476
|
+
"default": "false"
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"kind": "field",
|
|
2480
|
+
"name": "textAreaRef",
|
|
2481
|
+
"type": {
|
|
2482
|
+
"text": "HTMLTextAreaElement"
|
|
2483
|
+
},
|
|
2484
|
+
"privacy": "public"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"kind": "field",
|
|
2488
|
+
"name": "stopRecording",
|
|
2489
|
+
"type": {
|
|
2490
|
+
"text": "(() => void) | null"
|
|
2491
|
+
},
|
|
2136
2492
|
"privacy": "private",
|
|
2137
|
-
"
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2493
|
+
"default": "null"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"kind": "field",
|
|
2497
|
+
"name": "speechApplyDebounceTimer",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "ReturnType<typeof setTimeout> | null"
|
|
2500
|
+
},
|
|
2501
|
+
"privacy": "private",
|
|
2502
|
+
"default": "null"
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"kind": "field",
|
|
2506
|
+
"name": "baseInputForAppend",
|
|
2507
|
+
"type": {
|
|
2508
|
+
"text": "string"
|
|
2509
|
+
},
|
|
2510
|
+
"privacy": "private",
|
|
2511
|
+
"default": "''"
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"kind": "field",
|
|
2515
|
+
"name": "speechAvailable",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "boolean"
|
|
2518
|
+
},
|
|
2519
|
+
"readonly": true
|
|
2520
|
+
},
|
|
2521
|
+
{
|
|
2522
|
+
"kind": "method",
|
|
2523
|
+
"name": "handleSubmit"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"kind": "method",
|
|
2527
|
+
"name": "handleBlur"
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"kind": "method",
|
|
2531
|
+
"name": "clear"
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"kind": "method",
|
|
2535
|
+
"name": "toggleSpeechInput"
|
|
2536
|
+
},
|
|
2537
|
+
{
|
|
2538
|
+
"kind": "method",
|
|
2539
|
+
"name": "clearSpeechApplyDebounce",
|
|
2540
|
+
"privacy": "private"
|
|
2141
2541
|
},
|
|
2142
2542
|
{
|
|
2143
2543
|
"kind": "field",
|
|
@@ -2253,84 +2653,160 @@
|
|
|
2253
2653
|
],
|
|
2254
2654
|
"events": [
|
|
2255
2655
|
{
|
|
2256
|
-
"description": "
|
|
2257
|
-
"name": "
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2656
|
+
"description": "Fired when interpreted criteria is applied or cleared",
|
|
2657
|
+
"name": "criteria-changed"
|
|
2658
|
+
},
|
|
2659
|
+
{
|
|
2660
|
+
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
2661
|
+
"name": "validation-errors"
|
|
2262
2662
|
}
|
|
2263
|
-
]
|
|
2663
|
+
],
|
|
2664
|
+
"attributes": [
|
|
2665
|
+
{
|
|
2666
|
+
"name": "placeholder",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "string"
|
|
2669
|
+
},
|
|
2670
|
+
"default": "'Describe your search criteria in natural language...'",
|
|
2671
|
+
"fieldName": "placeholder"
|
|
2672
|
+
},
|
|
2673
|
+
{
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "boolean"
|
|
2676
|
+
},
|
|
2677
|
+
"fieldName": "disabled"
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
"name": "mode",
|
|
2681
|
+
"type": {
|
|
2682
|
+
"text": "'append' | 'replace'"
|
|
2683
|
+
},
|
|
2684
|
+
"default": "'replace'",
|
|
2685
|
+
"fieldName": "mode"
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2688
|
+
"superclass": {
|
|
2689
|
+
"name": "FoundationElement",
|
|
2690
|
+
"package": "@microsoft/fast-foundation"
|
|
2691
|
+
},
|
|
2692
|
+
"tagName": "%%prefix%%-ai-criteria-search",
|
|
2693
|
+
"customElement": true
|
|
2264
2694
|
},
|
|
2265
2695
|
{
|
|
2266
2696
|
"kind": "variable",
|
|
2267
|
-
"name": "
|
|
2697
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2268
2698
|
"type": {
|
|
2269
2699
|
"text": "ShadowRootInit"
|
|
2270
2700
|
},
|
|
2271
|
-
"default": "
|
|
2701
|
+
"default": "undefined"
|
|
2272
2702
|
},
|
|
2273
2703
|
{
|
|
2274
2704
|
"kind": "variable",
|
|
2275
|
-
"name": "
|
|
2705
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2276
2706
|
"type": {
|
|
2277
2707
|
"text": "object"
|
|
2278
2708
|
},
|
|
2279
|
-
"default": "{
|
|
2709
|
+
"default": "{}"
|
|
2280
2710
|
},
|
|
2281
2711
|
{
|
|
2282
2712
|
"kind": "variable",
|
|
2283
|
-
"name": "
|
|
2284
|
-
"description": "The Foundation Accordion Item",
|
|
2285
|
-
"privacy": "public"
|
|
2713
|
+
"name": "foundationAiCriteriaSearch"
|
|
2286
2714
|
}
|
|
2287
2715
|
],
|
|
2288
2716
|
"exports": [
|
|
2289
2717
|
{
|
|
2290
2718
|
"kind": "js",
|
|
2291
|
-
"name": "
|
|
2719
|
+
"name": "AiCriteriaSearch",
|
|
2292
2720
|
"declaration": {
|
|
2293
|
-
"name": "
|
|
2294
|
-
"module": "src/
|
|
2721
|
+
"name": "AiCriteriaSearch",
|
|
2722
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2295
2723
|
}
|
|
2296
2724
|
},
|
|
2297
2725
|
{
|
|
2298
2726
|
"kind": "js",
|
|
2299
|
-
"name": "
|
|
2727
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2300
2728
|
"declaration": {
|
|
2301
|
-
"name": "
|
|
2302
|
-
"module": "src/
|
|
2729
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2730
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2303
2731
|
}
|
|
2304
2732
|
},
|
|
2305
2733
|
{
|
|
2306
2734
|
"kind": "js",
|
|
2307
|
-
"name": "
|
|
2735
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2308
2736
|
"declaration": {
|
|
2309
|
-
"name": "
|
|
2310
|
-
"module": "src/
|
|
2737
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2738
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2311
2739
|
}
|
|
2312
2740
|
},
|
|
2313
2741
|
{
|
|
2314
2742
|
"kind": "js",
|
|
2315
|
-
"name": "
|
|
2743
|
+
"name": "foundationAiCriteriaSearch",
|
|
2316
2744
|
"declaration": {
|
|
2317
|
-
"name": "
|
|
2318
|
-
"module": "src/
|
|
2745
|
+
"name": "foundationAiCriteriaSearch",
|
|
2746
|
+
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
2319
2747
|
}
|
|
2320
2748
|
}
|
|
2321
2749
|
]
|
|
2322
2750
|
},
|
|
2323
2751
|
{
|
|
2324
2752
|
"kind": "javascript-module",
|
|
2325
|
-
"path": "src/
|
|
2753
|
+
"path": "src/ai-criteria-search/index.ts",
|
|
2326
2754
|
"declarations": [],
|
|
2327
2755
|
"exports": [
|
|
2756
|
+
{
|
|
2757
|
+
"kind": "js",
|
|
2758
|
+
"name": "AiCriteriaSearch",
|
|
2759
|
+
"declaration": {
|
|
2760
|
+
"name": "AiCriteriaSearch",
|
|
2761
|
+
"module": "./ai-criteria-search"
|
|
2762
|
+
}
|
|
2763
|
+
},
|
|
2764
|
+
{
|
|
2765
|
+
"kind": "js",
|
|
2766
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2767
|
+
"declaration": {
|
|
2768
|
+
"name": "defaultAiCriteriaSearchConfig",
|
|
2769
|
+
"module": "./ai-criteria-search"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"kind": "js",
|
|
2774
|
+
"name": "foundationAiCriteriaSearch",
|
|
2775
|
+
"declaration": {
|
|
2776
|
+
"name": "foundationAiCriteriaSearch",
|
|
2777
|
+
"module": "./ai-criteria-search"
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"kind": "js",
|
|
2782
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2783
|
+
"declaration": {
|
|
2784
|
+
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
2785
|
+
"module": "./ai-criteria-search"
|
|
2786
|
+
}
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"kind": "js",
|
|
2790
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2791
|
+
"declaration": {
|
|
2792
|
+
"name": "foundationAiCriteriaSearchStyles",
|
|
2793
|
+
"module": "./ai-criteria-search.styles"
|
|
2794
|
+
}
|
|
2795
|
+
},
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "js",
|
|
2798
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2799
|
+
"declaration": {
|
|
2800
|
+
"name": "foundationAiCriteriaSearchTemplate",
|
|
2801
|
+
"module": "./ai-criteria-search.template"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2328
2804
|
{
|
|
2329
2805
|
"kind": "js",
|
|
2330
2806
|
"name": "*",
|
|
2331
2807
|
"declaration": {
|
|
2332
2808
|
"name": "*",
|
|
2333
|
-
"package": "./
|
|
2809
|
+
"package": "./validation/criteria-ir"
|
|
2334
2810
|
}
|
|
2335
2811
|
},
|
|
2336
2812
|
{
|
|
@@ -2338,7 +2814,7 @@
|
|
|
2338
2814
|
"name": "*",
|
|
2339
2815
|
"declaration": {
|
|
2340
2816
|
"name": "*",
|
|
2341
|
-
"package": "./
|
|
2817
|
+
"package": "./validation/operator-map"
|
|
2342
2818
|
}
|
|
2343
2819
|
},
|
|
2344
2820
|
{
|
|
@@ -2346,7 +2822,82 @@
|
|
|
2346
2822
|
"name": "*",
|
|
2347
2823
|
"declaration": {
|
|
2348
2824
|
"name": "*",
|
|
2349
|
-
"package": "./
|
|
2825
|
+
"package": "./validation/schema-validator"
|
|
2826
|
+
}
|
|
2827
|
+
}
|
|
2828
|
+
]
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
"kind": "javascript-module",
|
|
2832
|
+
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
2833
|
+
"declarations": [
|
|
2834
|
+
{
|
|
2835
|
+
"kind": "function",
|
|
2836
|
+
"name": "formatValidationErrors",
|
|
2837
|
+
"return": {
|
|
2838
|
+
"type": {
|
|
2839
|
+
"text": "string"
|
|
2840
|
+
}
|
|
2841
|
+
},
|
|
2842
|
+
"parameters": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "errors",
|
|
2845
|
+
"type": {
|
|
2846
|
+
"text": "ValidationError[]"
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
],
|
|
2850
|
+
"description": "Formats validation errors into a user-friendly message."
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"kind": "function",
|
|
2854
|
+
"name": "showCriteriaError",
|
|
2855
|
+
"return": {
|
|
2856
|
+
"type": {
|
|
2857
|
+
"text": "void"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
"parameters": [
|
|
2861
|
+
{
|
|
2862
|
+
"name": "title",
|
|
2863
|
+
"type": {
|
|
2864
|
+
"text": "string"
|
|
2865
|
+
},
|
|
2866
|
+
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
2867
|
+
},
|
|
2868
|
+
{
|
|
2869
|
+
"name": "body",
|
|
2870
|
+
"type": {
|
|
2871
|
+
"text": "string"
|
|
2872
|
+
},
|
|
2873
|
+
"description": "Error message to display"
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
"name": "tagName",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "string"
|
|
2879
|
+
},
|
|
2880
|
+
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
2881
|
+
}
|
|
2882
|
+
],
|
|
2883
|
+
"description": "Shows a criteria error as a toast notification."
|
|
2884
|
+
}
|
|
2885
|
+
],
|
|
2886
|
+
"exports": [
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "js",
|
|
2889
|
+
"name": "formatValidationErrors",
|
|
2890
|
+
"declaration": {
|
|
2891
|
+
"name": "formatValidationErrors",
|
|
2892
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2893
|
+
}
|
|
2894
|
+
},
|
|
2895
|
+
{
|
|
2896
|
+
"kind": "js",
|
|
2897
|
+
"name": "showCriteriaError",
|
|
2898
|
+
"declaration": {
|
|
2899
|
+
"name": "showCriteriaError",
|
|
2900
|
+
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
2350
2901
|
}
|
|
2351
2902
|
}
|
|
2352
2903
|
]
|
|
@@ -2821,557 +3372,6 @@
|
|
|
2821
3372
|
}
|
|
2822
3373
|
]
|
|
2823
3374
|
},
|
|
2824
|
-
{
|
|
2825
|
-
"kind": "javascript-module",
|
|
2826
|
-
"path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
|
|
2827
|
-
"declarations": [
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "variable",
|
|
2830
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2831
|
-
"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`"
|
|
2832
|
-
}
|
|
2833
|
-
],
|
|
2834
|
-
"exports": [
|
|
2835
|
-
{
|
|
2836
|
-
"kind": "js",
|
|
2837
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2838
|
-
"declaration": {
|
|
2839
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
2840
|
-
"module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
|
|
2841
|
-
}
|
|
2842
|
-
}
|
|
2843
|
-
]
|
|
2844
|
-
},
|
|
2845
|
-
{
|
|
2846
|
-
"kind": "javascript-module",
|
|
2847
|
-
"path": "src/ai-criteria-search/ai-criteria-search.template.ts",
|
|
2848
|
-
"declarations": [
|
|
2849
|
-
{
|
|
2850
|
-
"kind": "variable",
|
|
2851
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "ViewTemplate<AiCriteriaSearch>"
|
|
2854
|
-
},
|
|
2855
|
-
"default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
|
|
2856
|
-
}
|
|
2857
|
-
],
|
|
2858
|
-
"exports": [
|
|
2859
|
-
{
|
|
2860
|
-
"kind": "js",
|
|
2861
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2862
|
-
"declaration": {
|
|
2863
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
2864
|
-
"module": "src/ai-criteria-search/ai-criteria-search.template.ts"
|
|
2865
|
-
}
|
|
2866
|
-
}
|
|
2867
|
-
]
|
|
2868
|
-
},
|
|
2869
|
-
{
|
|
2870
|
-
"kind": "javascript-module",
|
|
2871
|
-
"path": "src/ai-criteria-search/ai-criteria-search.ts",
|
|
2872
|
-
"declarations": [
|
|
2873
|
-
{
|
|
2874
|
-
"kind": "class",
|
|
2875
|
-
"description": "Natural-language criteria search input with AI interpretation.",
|
|
2876
|
-
"name": "AiCriteriaSearch",
|
|
2877
|
-
"members": [
|
|
2878
|
-
{
|
|
2879
|
-
"kind": "field",
|
|
2880
|
-
"name": "aiProvider",
|
|
2881
|
-
"type": {
|
|
2882
|
-
"text": "AIProvider"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "field",
|
|
2887
|
-
"name": "placeholder",
|
|
2888
|
-
"type": {
|
|
2889
|
-
"text": "string"
|
|
2890
|
-
},
|
|
2891
|
-
"default": "'Describe your search criteria in natural language...'"
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"kind": "field",
|
|
2895
|
-
"name": "disabled",
|
|
2896
|
-
"type": {
|
|
2897
|
-
"text": "boolean"
|
|
2898
|
-
}
|
|
2899
|
-
},
|
|
2900
|
-
{
|
|
2901
|
-
"kind": "field",
|
|
2902
|
-
"name": "mode",
|
|
2903
|
-
"type": {
|
|
2904
|
-
"text": "'append' | 'replace'"
|
|
2905
|
-
},
|
|
2906
|
-
"default": "'replace'"
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"kind": "field",
|
|
2910
|
-
"name": "inputValue",
|
|
2911
|
-
"type": {
|
|
2912
|
-
"text": "string"
|
|
2913
|
-
},
|
|
2914
|
-
"default": "''"
|
|
2915
|
-
},
|
|
2916
|
-
{
|
|
2917
|
-
"kind": "field",
|
|
2918
|
-
"name": "isInterpreting",
|
|
2919
|
-
"type": {
|
|
2920
|
-
"text": "boolean"
|
|
2921
|
-
},
|
|
2922
|
-
"default": "false"
|
|
2923
|
-
},
|
|
2924
|
-
{
|
|
2925
|
-
"kind": "field",
|
|
2926
|
-
"name": "lastValidCriteria",
|
|
2927
|
-
"type": {
|
|
2928
|
-
"text": "string | null"
|
|
2929
|
-
},
|
|
2930
|
-
"default": "null"
|
|
2931
|
-
},
|
|
2932
|
-
{
|
|
2933
|
-
"kind": "field",
|
|
2934
|
-
"name": "fieldMetadata",
|
|
2935
|
-
"type": {
|
|
2936
|
-
"text": "MetadataDetail[] | string[]"
|
|
2937
|
-
},
|
|
2938
|
-
"default": "[]"
|
|
2939
|
-
},
|
|
2940
|
-
{
|
|
2941
|
-
"kind": "field",
|
|
2942
|
-
"name": "isRecording",
|
|
2943
|
-
"type": {
|
|
2944
|
-
"text": "boolean"
|
|
2945
|
-
},
|
|
2946
|
-
"default": "false"
|
|
2947
|
-
},
|
|
2948
|
-
{
|
|
2949
|
-
"kind": "field",
|
|
2950
|
-
"name": "textAreaRef",
|
|
2951
|
-
"type": {
|
|
2952
|
-
"text": "HTMLTextAreaElement"
|
|
2953
|
-
},
|
|
2954
|
-
"privacy": "public"
|
|
2955
|
-
},
|
|
2956
|
-
{
|
|
2957
|
-
"kind": "field",
|
|
2958
|
-
"name": "stopRecording",
|
|
2959
|
-
"type": {
|
|
2960
|
-
"text": "(() => void) | null"
|
|
2961
|
-
},
|
|
2962
|
-
"privacy": "private",
|
|
2963
|
-
"default": "null"
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
"kind": "field",
|
|
2967
|
-
"name": "speechApplyDebounceTimer",
|
|
2968
|
-
"type": {
|
|
2969
|
-
"text": "ReturnType<typeof setTimeout> | null"
|
|
2970
|
-
},
|
|
2971
|
-
"privacy": "private",
|
|
2972
|
-
"default": "null"
|
|
2973
|
-
},
|
|
2974
|
-
{
|
|
2975
|
-
"kind": "field",
|
|
2976
|
-
"name": "baseInputForAppend",
|
|
2977
|
-
"type": {
|
|
2978
|
-
"text": "string"
|
|
2979
|
-
},
|
|
2980
|
-
"privacy": "private",
|
|
2981
|
-
"default": "''"
|
|
2982
|
-
},
|
|
2983
|
-
{
|
|
2984
|
-
"kind": "field",
|
|
2985
|
-
"name": "speechAvailable",
|
|
2986
|
-
"type": {
|
|
2987
|
-
"text": "boolean"
|
|
2988
|
-
},
|
|
2989
|
-
"readonly": true
|
|
2990
|
-
},
|
|
2991
|
-
{
|
|
2992
|
-
"kind": "method",
|
|
2993
|
-
"name": "handleSubmit"
|
|
2994
|
-
},
|
|
2995
|
-
{
|
|
2996
|
-
"kind": "method",
|
|
2997
|
-
"name": "handleBlur"
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
"kind": "method",
|
|
3001
|
-
"name": "clear"
|
|
3002
|
-
},
|
|
3003
|
-
{
|
|
3004
|
-
"kind": "method",
|
|
3005
|
-
"name": "toggleSpeechInput"
|
|
3006
|
-
},
|
|
3007
|
-
{
|
|
3008
|
-
"kind": "method",
|
|
3009
|
-
"name": "clearSpeechApplyDebounce",
|
|
3010
|
-
"privacy": "private"
|
|
3011
|
-
},
|
|
3012
|
-
{
|
|
3013
|
-
"kind": "field",
|
|
3014
|
-
"name": "_presentation",
|
|
3015
|
-
"type": {
|
|
3016
|
-
"text": "ComponentPresentation | null | undefined"
|
|
3017
|
-
},
|
|
3018
|
-
"privacy": "private",
|
|
3019
|
-
"default": "void 0",
|
|
3020
|
-
"inheritedFrom": {
|
|
3021
|
-
"name": "FoundationElement",
|
|
3022
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3023
|
-
}
|
|
3024
|
-
},
|
|
3025
|
-
{
|
|
3026
|
-
"kind": "field",
|
|
3027
|
-
"name": "$presentation",
|
|
3028
|
-
"type": {
|
|
3029
|
-
"text": "ComponentPresentation | null"
|
|
3030
|
-
},
|
|
3031
|
-
"privacy": "public",
|
|
3032
|
-
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
3033
|
-
"inheritedFrom": {
|
|
3034
|
-
"name": "FoundationElement",
|
|
3035
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3036
|
-
}
|
|
3037
|
-
},
|
|
3038
|
-
{
|
|
3039
|
-
"kind": "field",
|
|
3040
|
-
"name": "template",
|
|
3041
|
-
"type": {
|
|
3042
|
-
"text": "ElementViewTemplate | void | null"
|
|
3043
|
-
},
|
|
3044
|
-
"privacy": "public",
|
|
3045
|
-
"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.",
|
|
3046
|
-
"inheritedFrom": {
|
|
3047
|
-
"name": "FoundationElement",
|
|
3048
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3049
|
-
}
|
|
3050
|
-
},
|
|
3051
|
-
{
|
|
3052
|
-
"kind": "method",
|
|
3053
|
-
"name": "templateChanged",
|
|
3054
|
-
"privacy": "protected",
|
|
3055
|
-
"return": {
|
|
3056
|
-
"type": {
|
|
3057
|
-
"text": "void"
|
|
3058
|
-
}
|
|
3059
|
-
},
|
|
3060
|
-
"inheritedFrom": {
|
|
3061
|
-
"name": "FoundationElement",
|
|
3062
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3063
|
-
}
|
|
3064
|
-
},
|
|
3065
|
-
{
|
|
3066
|
-
"kind": "field",
|
|
3067
|
-
"name": "styles",
|
|
3068
|
-
"type": {
|
|
3069
|
-
"text": "ElementStyles | void | null"
|
|
3070
|
-
},
|
|
3071
|
-
"privacy": "public",
|
|
3072
|
-
"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.",
|
|
3073
|
-
"inheritedFrom": {
|
|
3074
|
-
"name": "FoundationElement",
|
|
3075
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3076
|
-
}
|
|
3077
|
-
},
|
|
3078
|
-
{
|
|
3079
|
-
"kind": "method",
|
|
3080
|
-
"name": "stylesChanged",
|
|
3081
|
-
"privacy": "protected",
|
|
3082
|
-
"return": {
|
|
3083
|
-
"type": {
|
|
3084
|
-
"text": "void"
|
|
3085
|
-
}
|
|
3086
|
-
},
|
|
3087
|
-
"inheritedFrom": {
|
|
3088
|
-
"name": "FoundationElement",
|
|
3089
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3090
|
-
}
|
|
3091
|
-
},
|
|
3092
|
-
{
|
|
3093
|
-
"kind": "method",
|
|
3094
|
-
"name": "compose",
|
|
3095
|
-
"privacy": "public",
|
|
3096
|
-
"static": true,
|
|
3097
|
-
"return": {
|
|
3098
|
-
"type": {
|
|
3099
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
3100
|
-
}
|
|
3101
|
-
},
|
|
3102
|
-
"parameters": [
|
|
3103
|
-
{
|
|
3104
|
-
"name": "this",
|
|
3105
|
-
"type": {
|
|
3106
|
-
"text": "K"
|
|
3107
|
-
}
|
|
3108
|
-
},
|
|
3109
|
-
{
|
|
3110
|
-
"name": "elementDefinition",
|
|
3111
|
-
"type": {
|
|
3112
|
-
"text": "T"
|
|
3113
|
-
},
|
|
3114
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
3115
|
-
}
|
|
3116
|
-
],
|
|
3117
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
3118
|
-
"inheritedFrom": {
|
|
3119
|
-
"name": "FoundationElement",
|
|
3120
|
-
"module": "src/foundation-element/foundation-element.ts"
|
|
3121
|
-
}
|
|
3122
|
-
}
|
|
3123
|
-
],
|
|
3124
|
-
"events": [
|
|
3125
|
-
{
|
|
3126
|
-
"description": "Fired when interpreted criteria is applied or cleared",
|
|
3127
|
-
"name": "criteria-changed"
|
|
3128
|
-
},
|
|
3129
|
-
{
|
|
3130
|
-
"description": "Fired when interpreted criteria contains invalid clauses",
|
|
3131
|
-
"name": "validation-errors"
|
|
3132
|
-
}
|
|
3133
|
-
],
|
|
3134
|
-
"attributes": [
|
|
3135
|
-
{
|
|
3136
|
-
"name": "placeholder",
|
|
3137
|
-
"type": {
|
|
3138
|
-
"text": "string"
|
|
3139
|
-
},
|
|
3140
|
-
"default": "'Describe your search criteria in natural language...'",
|
|
3141
|
-
"fieldName": "placeholder"
|
|
3142
|
-
},
|
|
3143
|
-
{
|
|
3144
|
-
"type": {
|
|
3145
|
-
"text": "boolean"
|
|
3146
|
-
},
|
|
3147
|
-
"fieldName": "disabled"
|
|
3148
|
-
},
|
|
3149
|
-
{
|
|
3150
|
-
"name": "mode",
|
|
3151
|
-
"type": {
|
|
3152
|
-
"text": "'append' | 'replace'"
|
|
3153
|
-
},
|
|
3154
|
-
"default": "'replace'",
|
|
3155
|
-
"fieldName": "mode"
|
|
3156
|
-
}
|
|
3157
|
-
],
|
|
3158
|
-
"superclass": {
|
|
3159
|
-
"name": "FoundationElement",
|
|
3160
|
-
"package": "@microsoft/fast-foundation"
|
|
3161
|
-
},
|
|
3162
|
-
"tagName": "%%prefix%%-ai-criteria-search",
|
|
3163
|
-
"customElement": true
|
|
3164
|
-
},
|
|
3165
|
-
{
|
|
3166
|
-
"kind": "variable",
|
|
3167
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3168
|
-
"type": {
|
|
3169
|
-
"text": "ShadowRootInit"
|
|
3170
|
-
},
|
|
3171
|
-
"default": "undefined"
|
|
3172
|
-
},
|
|
3173
|
-
{
|
|
3174
|
-
"kind": "variable",
|
|
3175
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3176
|
-
"type": {
|
|
3177
|
-
"text": "object"
|
|
3178
|
-
},
|
|
3179
|
-
"default": "{}"
|
|
3180
|
-
},
|
|
3181
|
-
{
|
|
3182
|
-
"kind": "variable",
|
|
3183
|
-
"name": "foundationAiCriteriaSearch"
|
|
3184
|
-
}
|
|
3185
|
-
],
|
|
3186
|
-
"exports": [
|
|
3187
|
-
{
|
|
3188
|
-
"kind": "js",
|
|
3189
|
-
"name": "AiCriteriaSearch",
|
|
3190
|
-
"declaration": {
|
|
3191
|
-
"name": "AiCriteriaSearch",
|
|
3192
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3193
|
-
}
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"kind": "js",
|
|
3197
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3198
|
-
"declaration": {
|
|
3199
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3200
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3201
|
-
}
|
|
3202
|
-
},
|
|
3203
|
-
{
|
|
3204
|
-
"kind": "js",
|
|
3205
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3206
|
-
"declaration": {
|
|
3207
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3208
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3209
|
-
}
|
|
3210
|
-
},
|
|
3211
|
-
{
|
|
3212
|
-
"kind": "js",
|
|
3213
|
-
"name": "foundationAiCriteriaSearch",
|
|
3214
|
-
"declaration": {
|
|
3215
|
-
"name": "foundationAiCriteriaSearch",
|
|
3216
|
-
"module": "src/ai-criteria-search/ai-criteria-search.ts"
|
|
3217
|
-
}
|
|
3218
|
-
}
|
|
3219
|
-
]
|
|
3220
|
-
},
|
|
3221
|
-
{
|
|
3222
|
-
"kind": "javascript-module",
|
|
3223
|
-
"path": "src/ai-criteria-search/index.ts",
|
|
3224
|
-
"declarations": [],
|
|
3225
|
-
"exports": [
|
|
3226
|
-
{
|
|
3227
|
-
"kind": "js",
|
|
3228
|
-
"name": "AiCriteriaSearch",
|
|
3229
|
-
"declaration": {
|
|
3230
|
-
"name": "AiCriteriaSearch",
|
|
3231
|
-
"module": "./ai-criteria-search"
|
|
3232
|
-
}
|
|
3233
|
-
},
|
|
3234
|
-
{
|
|
3235
|
-
"kind": "js",
|
|
3236
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3237
|
-
"declaration": {
|
|
3238
|
-
"name": "defaultAiCriteriaSearchConfig",
|
|
3239
|
-
"module": "./ai-criteria-search"
|
|
3240
|
-
}
|
|
3241
|
-
},
|
|
3242
|
-
{
|
|
3243
|
-
"kind": "js",
|
|
3244
|
-
"name": "foundationAiCriteriaSearch",
|
|
3245
|
-
"declaration": {
|
|
3246
|
-
"name": "foundationAiCriteriaSearch",
|
|
3247
|
-
"module": "./ai-criteria-search"
|
|
3248
|
-
}
|
|
3249
|
-
},
|
|
3250
|
-
{
|
|
3251
|
-
"kind": "js",
|
|
3252
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3253
|
-
"declaration": {
|
|
3254
|
-
"name": "foundationAiCriteriaSearchShadowOptions",
|
|
3255
|
-
"module": "./ai-criteria-search"
|
|
3256
|
-
}
|
|
3257
|
-
},
|
|
3258
|
-
{
|
|
3259
|
-
"kind": "js",
|
|
3260
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3261
|
-
"declaration": {
|
|
3262
|
-
"name": "foundationAiCriteriaSearchStyles",
|
|
3263
|
-
"module": "./ai-criteria-search.styles"
|
|
3264
|
-
}
|
|
3265
|
-
},
|
|
3266
|
-
{
|
|
3267
|
-
"kind": "js",
|
|
3268
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3269
|
-
"declaration": {
|
|
3270
|
-
"name": "foundationAiCriteriaSearchTemplate",
|
|
3271
|
-
"module": "./ai-criteria-search.template"
|
|
3272
|
-
}
|
|
3273
|
-
},
|
|
3274
|
-
{
|
|
3275
|
-
"kind": "js",
|
|
3276
|
-
"name": "*",
|
|
3277
|
-
"declaration": {
|
|
3278
|
-
"name": "*",
|
|
3279
|
-
"package": "./validation/criteria-ir"
|
|
3280
|
-
}
|
|
3281
|
-
},
|
|
3282
|
-
{
|
|
3283
|
-
"kind": "js",
|
|
3284
|
-
"name": "*",
|
|
3285
|
-
"declaration": {
|
|
3286
|
-
"name": "*",
|
|
3287
|
-
"package": "./validation/operator-map"
|
|
3288
|
-
}
|
|
3289
|
-
},
|
|
3290
|
-
{
|
|
3291
|
-
"kind": "js",
|
|
3292
|
-
"name": "*",
|
|
3293
|
-
"declaration": {
|
|
3294
|
-
"name": "*",
|
|
3295
|
-
"package": "./validation/schema-validator"
|
|
3296
|
-
}
|
|
3297
|
-
}
|
|
3298
|
-
]
|
|
3299
|
-
},
|
|
3300
|
-
{
|
|
3301
|
-
"kind": "javascript-module",
|
|
3302
|
-
"path": "src/ai-criteria-search/validation-error-notification.ts",
|
|
3303
|
-
"declarations": [
|
|
3304
|
-
{
|
|
3305
|
-
"kind": "function",
|
|
3306
|
-
"name": "formatValidationErrors",
|
|
3307
|
-
"return": {
|
|
3308
|
-
"type": {
|
|
3309
|
-
"text": "string"
|
|
3310
|
-
}
|
|
3311
|
-
},
|
|
3312
|
-
"parameters": [
|
|
3313
|
-
{
|
|
3314
|
-
"name": "errors",
|
|
3315
|
-
"type": {
|
|
3316
|
-
"text": "ValidationError[]"
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
],
|
|
3320
|
-
"description": "Formats validation errors into a user-friendly message."
|
|
3321
|
-
},
|
|
3322
|
-
{
|
|
3323
|
-
"kind": "function",
|
|
3324
|
-
"name": "showCriteriaError",
|
|
3325
|
-
"return": {
|
|
3326
|
-
"type": {
|
|
3327
|
-
"text": "void"
|
|
3328
|
-
}
|
|
3329
|
-
},
|
|
3330
|
-
"parameters": [
|
|
3331
|
-
{
|
|
3332
|
-
"name": "title",
|
|
3333
|
-
"type": {
|
|
3334
|
-
"text": "string"
|
|
3335
|
-
},
|
|
3336
|
-
"description": "Notification title (e.g. \"Criteria validation error\")"
|
|
3337
|
-
},
|
|
3338
|
-
{
|
|
3339
|
-
"name": "body",
|
|
3340
|
-
"type": {
|
|
3341
|
-
"text": "string"
|
|
3342
|
-
},
|
|
3343
|
-
"description": "Error message to display"
|
|
3344
|
-
},
|
|
3345
|
-
{
|
|
3346
|
-
"name": "tagName",
|
|
3347
|
-
"type": {
|
|
3348
|
-
"text": "string"
|
|
3349
|
-
},
|
|
3350
|
-
"description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
|
|
3351
|
-
}
|
|
3352
|
-
],
|
|
3353
|
-
"description": "Shows a criteria error as a toast notification."
|
|
3354
|
-
}
|
|
3355
|
-
],
|
|
3356
|
-
"exports": [
|
|
3357
|
-
{
|
|
3358
|
-
"kind": "js",
|
|
3359
|
-
"name": "formatValidationErrors",
|
|
3360
|
-
"declaration": {
|
|
3361
|
-
"name": "formatValidationErrors",
|
|
3362
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3363
|
-
}
|
|
3364
|
-
},
|
|
3365
|
-
{
|
|
3366
|
-
"kind": "js",
|
|
3367
|
-
"name": "showCriteriaError",
|
|
3368
|
-
"declaration": {
|
|
3369
|
-
"name": "showCriteriaError",
|
|
3370
|
-
"module": "src/ai-criteria-search/validation-error-notification.ts"
|
|
3371
|
-
}
|
|
3372
|
-
}
|
|
3373
|
-
]
|
|
3374
|
-
},
|
|
3375
3375
|
{
|
|
3376
3376
|
"kind": "javascript-module",
|
|
3377
3377
|
"path": "src/accordion/accordion.styles.ts",
|
|
@@ -56421,6 +56421,181 @@
|
|
|
56421
56421
|
}
|
|
56422
56422
|
]
|
|
56423
56423
|
},
|
|
56424
|
+
{
|
|
56425
|
+
"kind": "javascript-module",
|
|
56426
|
+
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
56427
|
+
"declarations": [],
|
|
56428
|
+
"exports": []
|
|
56429
|
+
},
|
|
56430
|
+
{
|
|
56431
|
+
"kind": "javascript-module",
|
|
56432
|
+
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
56433
|
+
"declarations": [
|
|
56434
|
+
{
|
|
56435
|
+
"kind": "function",
|
|
56436
|
+
"name": "groupsToCriteria",
|
|
56437
|
+
"return": {
|
|
56438
|
+
"type": {
|
|
56439
|
+
"text": "string"
|
|
56440
|
+
}
|
|
56441
|
+
},
|
|
56442
|
+
"parameters": [
|
|
56443
|
+
{
|
|
56444
|
+
"name": "groups",
|
|
56445
|
+
"type": {
|
|
56446
|
+
"text": "CriteriaGroup[]"
|
|
56447
|
+
}
|
|
56448
|
+
}
|
|
56449
|
+
],
|
|
56450
|
+
"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."
|
|
56451
|
+
},
|
|
56452
|
+
{
|
|
56453
|
+
"kind": "variable",
|
|
56454
|
+
"name": "STRING_OPERATORS",
|
|
56455
|
+
"type": {
|
|
56456
|
+
"text": "CriteriaOperator[]"
|
|
56457
|
+
},
|
|
56458
|
+
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
56459
|
+
},
|
|
56460
|
+
{
|
|
56461
|
+
"kind": "variable",
|
|
56462
|
+
"name": "NUMERIC_OPERATORS",
|
|
56463
|
+
"type": {
|
|
56464
|
+
"text": "CriteriaOperator[]"
|
|
56465
|
+
},
|
|
56466
|
+
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
56467
|
+
},
|
|
56468
|
+
{
|
|
56469
|
+
"kind": "variable",
|
|
56470
|
+
"name": "DATE_OPERATORS",
|
|
56471
|
+
"type": {
|
|
56472
|
+
"text": "CriteriaOperator[]"
|
|
56473
|
+
},
|
|
56474
|
+
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
56475
|
+
},
|
|
56476
|
+
{
|
|
56477
|
+
"kind": "variable",
|
|
56478
|
+
"name": "DATETIME_OPERATORS",
|
|
56479
|
+
"type": {
|
|
56480
|
+
"text": "CriteriaOperator[]"
|
|
56481
|
+
},
|
|
56482
|
+
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
56483
|
+
}
|
|
56484
|
+
],
|
|
56485
|
+
"exports": [
|
|
56486
|
+
{
|
|
56487
|
+
"kind": "js",
|
|
56488
|
+
"name": "groupsToCriteria",
|
|
56489
|
+
"declaration": {
|
|
56490
|
+
"name": "groupsToCriteria",
|
|
56491
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56492
|
+
}
|
|
56493
|
+
},
|
|
56494
|
+
{
|
|
56495
|
+
"kind": "js",
|
|
56496
|
+
"name": "STRING_OPERATORS",
|
|
56497
|
+
"declaration": {
|
|
56498
|
+
"name": "STRING_OPERATORS",
|
|
56499
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56500
|
+
}
|
|
56501
|
+
},
|
|
56502
|
+
{
|
|
56503
|
+
"kind": "js",
|
|
56504
|
+
"name": "NUMERIC_OPERATORS",
|
|
56505
|
+
"declaration": {
|
|
56506
|
+
"name": "NUMERIC_OPERATORS",
|
|
56507
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56508
|
+
}
|
|
56509
|
+
},
|
|
56510
|
+
{
|
|
56511
|
+
"kind": "js",
|
|
56512
|
+
"name": "DATE_OPERATORS",
|
|
56513
|
+
"declaration": {
|
|
56514
|
+
"name": "DATE_OPERATORS",
|
|
56515
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56516
|
+
}
|
|
56517
|
+
},
|
|
56518
|
+
{
|
|
56519
|
+
"kind": "js",
|
|
56520
|
+
"name": "DATETIME_OPERATORS",
|
|
56521
|
+
"declaration": {
|
|
56522
|
+
"name": "DATETIME_OPERATORS",
|
|
56523
|
+
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
56524
|
+
}
|
|
56525
|
+
}
|
|
56526
|
+
]
|
|
56527
|
+
},
|
|
56528
|
+
{
|
|
56529
|
+
"kind": "javascript-module",
|
|
56530
|
+
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
56531
|
+
"declarations": [
|
|
56532
|
+
{
|
|
56533
|
+
"kind": "function",
|
|
56534
|
+
"name": "validateClauses",
|
|
56535
|
+
"return": {
|
|
56536
|
+
"type": {
|
|
56537
|
+
"text": "ValidationResult"
|
|
56538
|
+
}
|
|
56539
|
+
},
|
|
56540
|
+
"parameters": [
|
|
56541
|
+
{
|
|
56542
|
+
"name": "clauses",
|
|
56543
|
+
"type": {
|
|
56544
|
+
"text": "CriteriaClause[]"
|
|
56545
|
+
}
|
|
56546
|
+
},
|
|
56547
|
+
{
|
|
56548
|
+
"name": "fieldMetadata",
|
|
56549
|
+
"type": {
|
|
56550
|
+
"text": "MetadataDetail[] | string[]"
|
|
56551
|
+
}
|
|
56552
|
+
}
|
|
56553
|
+
]
|
|
56554
|
+
},
|
|
56555
|
+
{
|
|
56556
|
+
"kind": "function",
|
|
56557
|
+
"name": "validateGroups",
|
|
56558
|
+
"return": {
|
|
56559
|
+
"type": {
|
|
56560
|
+
"text": "GroupsValidationResult"
|
|
56561
|
+
}
|
|
56562
|
+
},
|
|
56563
|
+
"parameters": [
|
|
56564
|
+
{
|
|
56565
|
+
"name": "groups",
|
|
56566
|
+
"type": {
|
|
56567
|
+
"text": "CriteriaGroup[]"
|
|
56568
|
+
}
|
|
56569
|
+
},
|
|
56570
|
+
{
|
|
56571
|
+
"name": "fieldMetadata",
|
|
56572
|
+
"type": {
|
|
56573
|
+
"text": "MetadataDetail[] | string[]"
|
|
56574
|
+
}
|
|
56575
|
+
}
|
|
56576
|
+
],
|
|
56577
|
+
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
56578
|
+
}
|
|
56579
|
+
],
|
|
56580
|
+
"exports": [
|
|
56581
|
+
{
|
|
56582
|
+
"kind": "js",
|
|
56583
|
+
"name": "validateClauses",
|
|
56584
|
+
"declaration": {
|
|
56585
|
+
"name": "validateClauses",
|
|
56586
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
56587
|
+
}
|
|
56588
|
+
},
|
|
56589
|
+
{
|
|
56590
|
+
"kind": "js",
|
|
56591
|
+
"name": "validateGroups",
|
|
56592
|
+
"declaration": {
|
|
56593
|
+
"name": "validateGroups",
|
|
56594
|
+
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
56595
|
+
}
|
|
56596
|
+
}
|
|
56597
|
+
]
|
|
56598
|
+
},
|
|
56424
56599
|
{
|
|
56425
56600
|
"kind": "javascript-module",
|
|
56426
56601
|
"path": "src/_config/styles/colors.ts",
|
|
@@ -57793,181 +57968,6 @@
|
|
|
57793
57968
|
"declarations": [],
|
|
57794
57969
|
"exports": []
|
|
57795
57970
|
},
|
|
57796
|
-
{
|
|
57797
|
-
"kind": "javascript-module",
|
|
57798
|
-
"path": "src/ai-criteria-search/validation/criteria-ir.ts",
|
|
57799
|
-
"declarations": [],
|
|
57800
|
-
"exports": []
|
|
57801
|
-
},
|
|
57802
|
-
{
|
|
57803
|
-
"kind": "javascript-module",
|
|
57804
|
-
"path": "src/ai-criteria-search/validation/operator-map.ts",
|
|
57805
|
-
"declarations": [
|
|
57806
|
-
{
|
|
57807
|
-
"kind": "function",
|
|
57808
|
-
"name": "groupsToCriteria",
|
|
57809
|
-
"return": {
|
|
57810
|
-
"type": {
|
|
57811
|
-
"text": "string"
|
|
57812
|
-
}
|
|
57813
|
-
},
|
|
57814
|
-
"parameters": [
|
|
57815
|
-
{
|
|
57816
|
-
"name": "groups",
|
|
57817
|
-
"type": {
|
|
57818
|
-
"text": "CriteriaGroup[]"
|
|
57819
|
-
}
|
|
57820
|
-
}
|
|
57821
|
-
],
|
|
57822
|
-
"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."
|
|
57823
|
-
},
|
|
57824
|
-
{
|
|
57825
|
-
"kind": "variable",
|
|
57826
|
-
"name": "STRING_OPERATORS",
|
|
57827
|
-
"type": {
|
|
57828
|
-
"text": "CriteriaOperator[]"
|
|
57829
|
-
},
|
|
57830
|
-
"default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
|
|
57831
|
-
},
|
|
57832
|
-
{
|
|
57833
|
-
"kind": "variable",
|
|
57834
|
-
"name": "NUMERIC_OPERATORS",
|
|
57835
|
-
"type": {
|
|
57836
|
-
"text": "CriteriaOperator[]"
|
|
57837
|
-
},
|
|
57838
|
-
"default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
|
|
57839
|
-
},
|
|
57840
|
-
{
|
|
57841
|
-
"kind": "variable",
|
|
57842
|
-
"name": "DATE_OPERATORS",
|
|
57843
|
-
"type": {
|
|
57844
|
-
"text": "CriteriaOperator[]"
|
|
57845
|
-
},
|
|
57846
|
-
"default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
|
|
57847
|
-
},
|
|
57848
|
-
{
|
|
57849
|
-
"kind": "variable",
|
|
57850
|
-
"name": "DATETIME_OPERATORS",
|
|
57851
|
-
"type": {
|
|
57852
|
-
"text": "CriteriaOperator[]"
|
|
57853
|
-
},
|
|
57854
|
-
"default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
|
|
57855
|
-
}
|
|
57856
|
-
],
|
|
57857
|
-
"exports": [
|
|
57858
|
-
{
|
|
57859
|
-
"kind": "js",
|
|
57860
|
-
"name": "groupsToCriteria",
|
|
57861
|
-
"declaration": {
|
|
57862
|
-
"name": "groupsToCriteria",
|
|
57863
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57864
|
-
}
|
|
57865
|
-
},
|
|
57866
|
-
{
|
|
57867
|
-
"kind": "js",
|
|
57868
|
-
"name": "STRING_OPERATORS",
|
|
57869
|
-
"declaration": {
|
|
57870
|
-
"name": "STRING_OPERATORS",
|
|
57871
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57872
|
-
}
|
|
57873
|
-
},
|
|
57874
|
-
{
|
|
57875
|
-
"kind": "js",
|
|
57876
|
-
"name": "NUMERIC_OPERATORS",
|
|
57877
|
-
"declaration": {
|
|
57878
|
-
"name": "NUMERIC_OPERATORS",
|
|
57879
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57880
|
-
}
|
|
57881
|
-
},
|
|
57882
|
-
{
|
|
57883
|
-
"kind": "js",
|
|
57884
|
-
"name": "DATE_OPERATORS",
|
|
57885
|
-
"declaration": {
|
|
57886
|
-
"name": "DATE_OPERATORS",
|
|
57887
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57888
|
-
}
|
|
57889
|
-
},
|
|
57890
|
-
{
|
|
57891
|
-
"kind": "js",
|
|
57892
|
-
"name": "DATETIME_OPERATORS",
|
|
57893
|
-
"declaration": {
|
|
57894
|
-
"name": "DATETIME_OPERATORS",
|
|
57895
|
-
"module": "src/ai-criteria-search/validation/operator-map.ts"
|
|
57896
|
-
}
|
|
57897
|
-
}
|
|
57898
|
-
]
|
|
57899
|
-
},
|
|
57900
|
-
{
|
|
57901
|
-
"kind": "javascript-module",
|
|
57902
|
-
"path": "src/ai-criteria-search/validation/schema-validator.ts",
|
|
57903
|
-
"declarations": [
|
|
57904
|
-
{
|
|
57905
|
-
"kind": "function",
|
|
57906
|
-
"name": "validateClauses",
|
|
57907
|
-
"return": {
|
|
57908
|
-
"type": {
|
|
57909
|
-
"text": "ValidationResult"
|
|
57910
|
-
}
|
|
57911
|
-
},
|
|
57912
|
-
"parameters": [
|
|
57913
|
-
{
|
|
57914
|
-
"name": "clauses",
|
|
57915
|
-
"type": {
|
|
57916
|
-
"text": "CriteriaClause[]"
|
|
57917
|
-
}
|
|
57918
|
-
},
|
|
57919
|
-
{
|
|
57920
|
-
"name": "fieldMetadata",
|
|
57921
|
-
"type": {
|
|
57922
|
-
"text": "MetadataDetail[] | string[]"
|
|
57923
|
-
}
|
|
57924
|
-
}
|
|
57925
|
-
]
|
|
57926
|
-
},
|
|
57927
|
-
{
|
|
57928
|
-
"kind": "function",
|
|
57929
|
-
"name": "validateGroups",
|
|
57930
|
-
"return": {
|
|
57931
|
-
"type": {
|
|
57932
|
-
"text": "GroupsValidationResult"
|
|
57933
|
-
}
|
|
57934
|
-
},
|
|
57935
|
-
"parameters": [
|
|
57936
|
-
{
|
|
57937
|
-
"name": "groups",
|
|
57938
|
-
"type": {
|
|
57939
|
-
"text": "CriteriaGroup[]"
|
|
57940
|
-
}
|
|
57941
|
-
},
|
|
57942
|
-
{
|
|
57943
|
-
"name": "fieldMetadata",
|
|
57944
|
-
"type": {
|
|
57945
|
-
"text": "MetadataDetail[] | string[]"
|
|
57946
|
-
}
|
|
57947
|
-
}
|
|
57948
|
-
],
|
|
57949
|
-
"description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
|
|
57950
|
-
}
|
|
57951
|
-
],
|
|
57952
|
-
"exports": [
|
|
57953
|
-
{
|
|
57954
|
-
"kind": "js",
|
|
57955
|
-
"name": "validateClauses",
|
|
57956
|
-
"declaration": {
|
|
57957
|
-
"name": "validateClauses",
|
|
57958
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57959
|
-
}
|
|
57960
|
-
},
|
|
57961
|
-
{
|
|
57962
|
-
"kind": "js",
|
|
57963
|
-
"name": "validateGroups",
|
|
57964
|
-
"declaration": {
|
|
57965
|
-
"name": "validateGroups",
|
|
57966
|
-
"module": "src/ai-criteria-search/validation/schema-validator.ts"
|
|
57967
|
-
}
|
|
57968
|
-
}
|
|
57969
|
-
]
|
|
57970
|
-
},
|
|
57971
57971
|
{
|
|
57972
57972
|
"kind": "javascript-module",
|
|
57973
57973
|
"path": "src/environment-indicator/utils/configure.ts",
|