@genesislcap/foundation-ui 14.406.0-workspaces.6 → 14.406.0-workspaces.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/custom-elements.json +1136 -3030
  2. package/dist/dts/index.d.ts +0 -2
  3. package/dist/dts/index.d.ts.map +1 -1
  4. package/dist/esm/index.js +0 -2
  5. package/package.json +19 -19
  6. package/dist/dts/workspace/filter-registry.d.ts +0 -34
  7. package/dist/dts/workspace/filter-registry.d.ts.map +0 -1
  8. package/dist/dts/workspace/grid-register/grid-register.d.ts +0 -19
  9. package/dist/dts/workspace/grid-register/grid-register.d.ts.map +0 -1
  10. package/dist/dts/workspace/grid-register/grid-register.template.d.ts +0 -4
  11. package/dist/dts/workspace/grid-register/grid-register.template.d.ts.map +0 -1
  12. package/dist/dts/workspace/grid-register/index.d.ts +0 -2
  13. package/dist/dts/workspace/grid-register/index.d.ts.map +0 -1
  14. package/dist/dts/workspace/grid-registry.d.ts +0 -47
  15. package/dist/dts/workspace/grid-registry.d.ts.map +0 -1
  16. package/dist/dts/workspace/index.d.ts +0 -9
  17. package/dist/dts/workspace/index.d.ts.map +0 -1
  18. package/dist/dts/workspace/layout-registry.d.ts +0 -27
  19. package/dist/dts/workspace/layout-registry.d.ts.map +0 -1
  20. package/dist/dts/workspace/layout-wrapper/index.d.ts +0 -2
  21. package/dist/dts/workspace/layout-wrapper/index.d.ts.map +0 -1
  22. package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts +0 -10
  23. package/dist/dts/workspace/layout-wrapper/layout-wrapper.d.ts.map +0 -1
  24. package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts +0 -4
  25. package/dist/dts/workspace/layout-wrapper/layout-wrapper.template.d.ts.map +0 -1
  26. package/dist/dts/workspace/workspace-state.d.ts +0 -45
  27. package/dist/dts/workspace/workspace-state.d.ts.map +0 -1
  28. package/dist/dts/workspace/workspace-state.types.d.ts +0 -26
  29. package/dist/dts/workspace/workspace-state.types.d.ts.map +0 -1
  30. package/dist/dts/workspace/workspace.types.d.ts +0 -25
  31. package/dist/dts/workspace/workspace.types.d.ts.map +0 -1
  32. package/dist/dts/workspace-manager/index.d.ts +0 -2
  33. package/dist/dts/workspace-manager/index.d.ts.map +0 -1
  34. package/dist/dts/workspace-manager/workspace-manager.d.ts +0 -62
  35. package/dist/dts/workspace-manager/workspace-manager.d.ts.map +0 -1
  36. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts +0 -2
  37. package/dist/dts/workspace-manager/workspace-manager.styles.d.ts.map +0 -1
  38. package/dist/dts/workspace-manager/workspace-manager.template.d.ts +0 -4
  39. package/dist/dts/workspace-manager/workspace-manager.template.d.ts.map +0 -1
  40. package/dist/esm/workspace/filter-registry.js +0 -47
  41. package/dist/esm/workspace/grid-register/grid-register.js +0 -132
  42. package/dist/esm/workspace/grid-register/grid-register.template.js +0 -4
  43. package/dist/esm/workspace/grid-register/index.js +0 -1
  44. package/dist/esm/workspace/grid-registry.js +0 -113
  45. package/dist/esm/workspace/index.js +0 -8
  46. package/dist/esm/workspace/layout-registry.js +0 -46
  47. package/dist/esm/workspace/layout-wrapper/index.js +0 -1
  48. package/dist/esm/workspace/layout-wrapper/layout-wrapper.js +0 -60
  49. package/dist/esm/workspace/layout-wrapper/layout-wrapper.template.js +0 -4
  50. package/dist/esm/workspace/workspace-state.js +0 -193
  51. package/dist/esm/workspace/workspace-state.types.js +0 -1
  52. package/dist/esm/workspace/workspace.types.js +0 -1
  53. package/dist/esm/workspace-manager/index.js +0 -1
  54. package/dist/esm/workspace-manager/workspace-manager.js +0 -432
  55. package/dist/esm/workspace-manager/workspace-manager.styles.js +0 -138
  56. package/dist/esm/workspace-manager/workspace-manager.template.js +0 -259
@@ -843,22 +843,6 @@
843
843
  "name": "getPrefix",
844
844
  "module": "./utils/dom"
845
845
  }
846
- },
847
- {
848
- "kind": "js",
849
- "name": "*",
850
- "declaration": {
851
- "name": "*",
852
- "package": "./workspace"
853
- }
854
- },
855
- {
856
- "kind": "js",
857
- "name": "*",
858
- "declaration": {
859
- "name": "*",
860
- "package": "./workspace-manager"
861
- }
862
846
  }
863
847
  ]
864
848
  },
@@ -1305,42 +1289,11 @@
1305
1289
  },
1306
1290
  {
1307
1291
  "kind": "javascript-module",
1308
- "path": "src/_config/index.ts",
1309
- "declarations": [],
1310
- "exports": [
1311
- {
1312
- "kind": "js",
1313
- "name": "*",
1314
- "declaration": {
1315
- "name": "*",
1316
- "package": "./styles"
1317
- }
1318
- },
1319
- {
1320
- "kind": "js",
1321
- "name": "*",
1322
- "declaration": {
1323
- "name": "*",
1324
- "package": "./tokens"
1325
- }
1326
- },
1327
- {
1328
- "kind": "js",
1329
- "name": "*",
1330
- "declaration": {
1331
- "name": "*",
1332
- "package": "./values"
1333
- }
1334
- }
1335
- ]
1336
- },
1337
- {
1338
- "kind": "javascript-module",
1339
- "path": "src/accordion/accordion.styles.ts",
1292
+ "path": "src/accordion-item/accordion-item.styles.ts",
1340
1293
  "declarations": [
1341
1294
  {
1342
1295
  "kind": "function",
1343
- "name": "foundationAccordionStyles",
1296
+ "name": "foundationAccordionItemStyles",
1344
1297
  "return": {
1345
1298
  "type": {
1346
1299
  "text": "ElementStyles"
@@ -1365,24 +1318,24 @@
1365
1318
  "exports": [
1366
1319
  {
1367
1320
  "kind": "js",
1368
- "name": "foundationAccordionStyles",
1321
+ "name": "foundationAccordionItemStyles",
1369
1322
  "declaration": {
1370
- "name": "foundationAccordionStyles",
1371
- "module": "src/accordion/accordion.styles.ts"
1323
+ "name": "foundationAccordionItemStyles",
1324
+ "module": "src/accordion-item/accordion-item.styles.ts"
1372
1325
  }
1373
1326
  }
1374
1327
  ]
1375
1328
  },
1376
1329
  {
1377
1330
  "kind": "javascript-module",
1378
- "path": "src/accordion/accordion.template.ts",
1331
+ "path": "src/accordion-item/accordion-item.template.ts",
1379
1332
  "declarations": [
1380
1333
  {
1381
1334
  "kind": "function",
1382
- "name": "foundationAccordionTemplate",
1335
+ "name": "foundationAccordionItemTemplate",
1383
1336
  "return": {
1384
1337
  "type": {
1385
- "text": "ViewTemplate<Accordion>"
1338
+ "text": "ViewTemplate<AccordionItem>"
1386
1339
  }
1387
1340
  },
1388
1341
  "parameters": [
@@ -1404,32 +1357,244 @@
1404
1357
  "exports": [
1405
1358
  {
1406
1359
  "kind": "js",
1407
- "name": "foundationAccordionTemplate",
1360
+ "name": "foundationAccordionItemTemplate",
1408
1361
  "declaration": {
1409
- "name": "foundationAccordionTemplate",
1410
- "module": "src/accordion/accordion.template.ts"
1362
+ "name": "foundationAccordionItemTemplate",
1363
+ "module": "src/accordion-item/accordion-item.template.ts"
1411
1364
  }
1412
1365
  }
1413
1366
  ]
1414
1367
  },
1415
1368
  {
1416
1369
  "kind": "javascript-module",
1417
- "path": "src/accordion/accordion.ts",
1370
+ "path": "src/accordion-item/accordion-item.ts",
1418
1371
  "declarations": [
1419
1372
  {
1420
1373
  "kind": "class",
1421
1374
  "description": "",
1422
- "name": "Accordion",
1375
+ "name": "AccordionItem",
1423
1376
  "superclass": {
1424
- "name": "FASTAccordion",
1425
- "package": "@microsoft/fast-foundation"
1377
+ "name": "FASTAccordionItem",
1378
+ "package": "@microsoft/fast-components"
1426
1379
  },
1427
- "tagName": "%%prefix%%-accordion",
1428
- "customElement": true
1380
+ "tagName": "%%prefix%%-accordion-item",
1381
+ "customElement": true,
1382
+ "attributes": [
1383
+ {
1384
+ "name": "heading-level",
1385
+ "type": {
1386
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1387
+ },
1388
+ "default": "2",
1389
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1390
+ "fieldName": "headinglevel",
1391
+ "inheritedFrom": {
1392
+ "name": "AccordionItem",
1393
+ "module": "src/accordion-item/accordion-item.ts"
1394
+ }
1395
+ },
1396
+ {
1397
+ "type": {
1398
+ "text": "boolean"
1399
+ },
1400
+ "default": "false",
1401
+ "description": "Expands or collapses the item.",
1402
+ "fieldName": "expanded",
1403
+ "inheritedFrom": {
1404
+ "name": "AccordionItem",
1405
+ "module": "src/accordion-item/accordion-item.ts"
1406
+ }
1407
+ },
1408
+ {
1409
+ "name": "id",
1410
+ "type": {
1411
+ "text": "string"
1412
+ },
1413
+ "description": "The item ID",
1414
+ "fieldName": "id",
1415
+ "inheritedFrom": {
1416
+ "name": "AccordionItem",
1417
+ "module": "src/accordion-item/accordion-item.ts"
1418
+ }
1419
+ }
1420
+ ],
1421
+ "members": [
1422
+ {
1423
+ "kind": "field",
1424
+ "name": "headinglevel",
1425
+ "type": {
1426
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1427
+ },
1428
+ "privacy": "public",
1429
+ "default": "2",
1430
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1431
+ "inheritedFrom": {
1432
+ "name": "AccordionItem",
1433
+ "module": "src/accordion-item/accordion-item.ts"
1434
+ }
1435
+ },
1436
+ {
1437
+ "kind": "field",
1438
+ "name": "expanded",
1439
+ "type": {
1440
+ "text": "boolean"
1441
+ },
1442
+ "privacy": "public",
1443
+ "default": "false",
1444
+ "description": "Expands or collapses the item.",
1445
+ "inheritedFrom": {
1446
+ "name": "AccordionItem",
1447
+ "module": "src/accordion-item/accordion-item.ts"
1448
+ }
1449
+ },
1450
+ {
1451
+ "kind": "field",
1452
+ "name": "id",
1453
+ "type": {
1454
+ "text": "string"
1455
+ },
1456
+ "privacy": "public",
1457
+ "description": "The item ID",
1458
+ "inheritedFrom": {
1459
+ "name": "AccordionItem",
1460
+ "module": "src/accordion-item/accordion-item.ts"
1461
+ }
1462
+ },
1463
+ {
1464
+ "kind": "field",
1465
+ "name": "change",
1466
+ "privacy": "private",
1467
+ "inheritedFrom": {
1468
+ "name": "AccordionItem",
1469
+ "module": "src/accordion-item/accordion-item.ts"
1470
+ }
1471
+ },
1472
+ {
1473
+ "kind": "field",
1474
+ "name": "_presentation",
1475
+ "type": {
1476
+ "text": "ComponentPresentation | null | undefined"
1477
+ },
1478
+ "privacy": "private",
1479
+ "default": "void 0",
1480
+ "inheritedFrom": {
1481
+ "name": "FoundationElement",
1482
+ "module": "src/foundation-element/foundation-element.ts"
1483
+ }
1484
+ },
1485
+ {
1486
+ "kind": "field",
1487
+ "name": "$presentation",
1488
+ "type": {
1489
+ "text": "ComponentPresentation | null"
1490
+ },
1491
+ "privacy": "public",
1492
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1493
+ "inheritedFrom": {
1494
+ "name": "FoundationElement",
1495
+ "module": "src/foundation-element/foundation-element.ts"
1496
+ }
1497
+ },
1498
+ {
1499
+ "kind": "field",
1500
+ "name": "template",
1501
+ "type": {
1502
+ "text": "ElementViewTemplate | void | null"
1503
+ },
1504
+ "privacy": "public",
1505
+ "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.",
1506
+ "inheritedFrom": {
1507
+ "name": "FoundationElement",
1508
+ "module": "src/foundation-element/foundation-element.ts"
1509
+ }
1510
+ },
1511
+ {
1512
+ "kind": "method",
1513
+ "name": "templateChanged",
1514
+ "privacy": "protected",
1515
+ "return": {
1516
+ "type": {
1517
+ "text": "void"
1518
+ }
1519
+ },
1520
+ "inheritedFrom": {
1521
+ "name": "FoundationElement",
1522
+ "module": "src/foundation-element/foundation-element.ts"
1523
+ }
1524
+ },
1525
+ {
1526
+ "kind": "field",
1527
+ "name": "styles",
1528
+ "type": {
1529
+ "text": "ElementStyles | void | null"
1530
+ },
1531
+ "privacy": "public",
1532
+ "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.",
1533
+ "inheritedFrom": {
1534
+ "name": "FoundationElement",
1535
+ "module": "src/foundation-element/foundation-element.ts"
1536
+ }
1537
+ },
1538
+ {
1539
+ "kind": "method",
1540
+ "name": "stylesChanged",
1541
+ "privacy": "protected",
1542
+ "return": {
1543
+ "type": {
1544
+ "text": "void"
1545
+ }
1546
+ },
1547
+ "inheritedFrom": {
1548
+ "name": "FoundationElement",
1549
+ "module": "src/foundation-element/foundation-element.ts"
1550
+ }
1551
+ },
1552
+ {
1553
+ "kind": "method",
1554
+ "name": "compose",
1555
+ "privacy": "public",
1556
+ "static": true,
1557
+ "return": {
1558
+ "type": {
1559
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1560
+ }
1561
+ },
1562
+ "parameters": [
1563
+ {
1564
+ "name": "this",
1565
+ "type": {
1566
+ "text": "K"
1567
+ }
1568
+ },
1569
+ {
1570
+ "name": "elementDefinition",
1571
+ "type": {
1572
+ "text": "T"
1573
+ },
1574
+ "description": "The definition of the element to create the registry\nfunction for."
1575
+ }
1576
+ ],
1577
+ "description": "Defines an element registry function with a set of element definition defaults.",
1578
+ "inheritedFrom": {
1579
+ "name": "FoundationElement",
1580
+ "module": "src/foundation-element/foundation-element.ts"
1581
+ }
1582
+ }
1583
+ ],
1584
+ "events": [
1585
+ {
1586
+ "description": "Fires a custom 'change' event when the button is invoked",
1587
+ "name": "change",
1588
+ "inheritedFrom": {
1589
+ "name": "AccordionItem",
1590
+ "module": "src/accordion-item/accordion-item.ts"
1591
+ }
1592
+ }
1593
+ ]
1429
1594
  },
1430
1595
  {
1431
1596
  "kind": "variable",
1432
- "name": "foundationAccordionShadowOptions",
1597
+ "name": "foundationAccordionItemShadowOptions",
1433
1598
  "type": {
1434
1599
  "text": "ShadowRootInit"
1435
1600
  },
@@ -1437,57 +1602,57 @@
1437
1602
  },
1438
1603
  {
1439
1604
  "kind": "variable",
1440
- "name": "defaultAccordionConfig",
1605
+ "name": "defaultAccordionItemConfig",
1441
1606
  "type": {
1442
1607
  "text": "object"
1443
1608
  },
1444
- "default": "{}"
1609
+ "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}"
1445
1610
  },
1446
1611
  {
1447
1612
  "kind": "variable",
1448
- "name": "foundationAccordion",
1449
- "description": "The Foundation Accordion",
1613
+ "name": "foundationAccordionItem",
1614
+ "description": "The Foundation Accordion Item",
1450
1615
  "privacy": "public"
1451
1616
  }
1452
1617
  ],
1453
1618
  "exports": [
1454
1619
  {
1455
1620
  "kind": "js",
1456
- "name": "Accordion",
1621
+ "name": "AccordionItem",
1457
1622
  "declaration": {
1458
- "name": "Accordion",
1459
- "module": "src/accordion/accordion.ts"
1623
+ "name": "AccordionItem",
1624
+ "module": "src/accordion-item/accordion-item.ts"
1460
1625
  }
1461
1626
  },
1462
1627
  {
1463
1628
  "kind": "js",
1464
- "name": "foundationAccordionShadowOptions",
1629
+ "name": "foundationAccordionItemShadowOptions",
1465
1630
  "declaration": {
1466
- "name": "foundationAccordionShadowOptions",
1467
- "module": "src/accordion/accordion.ts"
1631
+ "name": "foundationAccordionItemShadowOptions",
1632
+ "module": "src/accordion-item/accordion-item.ts"
1468
1633
  }
1469
1634
  },
1470
1635
  {
1471
1636
  "kind": "js",
1472
- "name": "defaultAccordionConfig",
1637
+ "name": "defaultAccordionItemConfig",
1473
1638
  "declaration": {
1474
- "name": "defaultAccordionConfig",
1475
- "module": "src/accordion/accordion.ts"
1639
+ "name": "defaultAccordionItemConfig",
1640
+ "module": "src/accordion-item/accordion-item.ts"
1476
1641
  }
1477
1642
  },
1478
1643
  {
1479
1644
  "kind": "js",
1480
- "name": "foundationAccordion",
1645
+ "name": "foundationAccordionItem",
1481
1646
  "declaration": {
1482
- "name": "foundationAccordion",
1483
- "module": "src/accordion/accordion.ts"
1647
+ "name": "foundationAccordionItem",
1648
+ "module": "src/accordion-item/accordion-item.ts"
1484
1649
  }
1485
1650
  }
1486
1651
  ]
1487
1652
  },
1488
1653
  {
1489
1654
  "kind": "javascript-module",
1490
- "path": "src/accordion/index.ts",
1655
+ "path": "src/accordion-item/index.ts",
1491
1656
  "declarations": [],
1492
1657
  "exports": [
1493
1658
  {
@@ -1495,7 +1660,7 @@
1495
1660
  "name": "*",
1496
1661
  "declaration": {
1497
1662
  "name": "*",
1498
- "package": "./accordion.template"
1663
+ "package": "./accordion-item.template"
1499
1664
  }
1500
1665
  },
1501
1666
  {
@@ -1503,7 +1668,7 @@
1503
1668
  "name": "*",
1504
1669
  "declaration": {
1505
1670
  "name": "*",
1506
- "package": "./accordion.styles"
1671
+ "package": "./accordion-item.styles"
1507
1672
  }
1508
1673
  },
1509
1674
  {
@@ -1511,18 +1676,18 @@
1511
1676
  "name": "*",
1512
1677
  "declaration": {
1513
1678
  "name": "*",
1514
- "package": "./accordion"
1679
+ "package": "./accordion-item"
1515
1680
  }
1516
1681
  }
1517
1682
  ]
1518
1683
  },
1519
1684
  {
1520
1685
  "kind": "javascript-module",
1521
- "path": "src/accordion-item/accordion-item.styles.ts",
1686
+ "path": "src/actions-menu/actions-menu.styles.ts",
1522
1687
  "declarations": [
1523
1688
  {
1524
1689
  "kind": "function",
1525
- "name": "foundationAccordionItemStyles",
1690
+ "name": "actionsMenuBaseStyles",
1526
1691
  "return": {
1527
1692
  "type": {
1528
1693
  "text": "ElementStyles"
@@ -1542,407 +1707,13 @@
1542
1707
  }
1543
1708
  }
1544
1709
  ]
1545
- }
1546
- ],
1547
- "exports": [
1548
- {
1549
- "kind": "js",
1550
- "name": "foundationAccordionItemStyles",
1551
- "declaration": {
1552
- "name": "foundationAccordionItemStyles",
1553
- "module": "src/accordion-item/accordion-item.styles.ts"
1554
- }
1555
- }
1556
- ]
1557
- },
1558
- {
1559
- "kind": "javascript-module",
1560
- "path": "src/accordion-item/accordion-item.template.ts",
1561
- "declarations": [
1710
+ },
1562
1711
  {
1563
1712
  "kind": "function",
1564
- "name": "foundationAccordionItemTemplate",
1713
+ "name": "foundationActionsMenuStyles",
1565
1714
  "return": {
1566
1715
  "type": {
1567
- "text": "ViewTemplate<AccordionItem>"
1568
- }
1569
- },
1570
- "parameters": [
1571
- {
1572
- "name": "context",
1573
- "type": {
1574
- "text": "ElementDefinitionContext"
1575
- }
1576
- },
1577
- {
1578
- "name": "definition",
1579
- "type": {
1580
- "text": "FoundationElementDefinition"
1581
- }
1582
- }
1583
- ]
1584
- }
1585
- ],
1586
- "exports": [
1587
- {
1588
- "kind": "js",
1589
- "name": "foundationAccordionItemTemplate",
1590
- "declaration": {
1591
- "name": "foundationAccordionItemTemplate",
1592
- "module": "src/accordion-item/accordion-item.template.ts"
1593
- }
1594
- }
1595
- ]
1596
- },
1597
- {
1598
- "kind": "javascript-module",
1599
- "path": "src/accordion-item/accordion-item.ts",
1600
- "declarations": [
1601
- {
1602
- "kind": "class",
1603
- "description": "",
1604
- "name": "AccordionItem",
1605
- "superclass": {
1606
- "name": "FASTAccordionItem",
1607
- "package": "@microsoft/fast-components"
1608
- },
1609
- "tagName": "%%prefix%%-accordion-item",
1610
- "customElement": true,
1611
- "attributes": [
1612
- {
1613
- "name": "heading-level",
1614
- "type": {
1615
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1616
- },
1617
- "default": "2",
1618
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1619
- "fieldName": "headinglevel",
1620
- "inheritedFrom": {
1621
- "name": "AccordionItem",
1622
- "module": "src/accordion-item/accordion-item.ts"
1623
- }
1624
- },
1625
- {
1626
- "type": {
1627
- "text": "boolean"
1628
- },
1629
- "default": "false",
1630
- "description": "Expands or collapses the item.",
1631
- "fieldName": "expanded",
1632
- "inheritedFrom": {
1633
- "name": "AccordionItem",
1634
- "module": "src/accordion-item/accordion-item.ts"
1635
- }
1636
- },
1637
- {
1638
- "name": "id",
1639
- "type": {
1640
- "text": "string"
1641
- },
1642
- "description": "The item ID",
1643
- "fieldName": "id",
1644
- "inheritedFrom": {
1645
- "name": "AccordionItem",
1646
- "module": "src/accordion-item/accordion-item.ts"
1647
- }
1648
- }
1649
- ],
1650
- "members": [
1651
- {
1652
- "kind": "field",
1653
- "name": "headinglevel",
1654
- "type": {
1655
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1656
- },
1657
- "privacy": "public",
1658
- "default": "2",
1659
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1660
- "inheritedFrom": {
1661
- "name": "AccordionItem",
1662
- "module": "src/accordion-item/accordion-item.ts"
1663
- }
1664
- },
1665
- {
1666
- "kind": "field",
1667
- "name": "expanded",
1668
- "type": {
1669
- "text": "boolean"
1670
- },
1671
- "privacy": "public",
1672
- "default": "false",
1673
- "description": "Expands or collapses the item.",
1674
- "inheritedFrom": {
1675
- "name": "AccordionItem",
1676
- "module": "src/accordion-item/accordion-item.ts"
1677
- }
1678
- },
1679
- {
1680
- "kind": "field",
1681
- "name": "id",
1682
- "type": {
1683
- "text": "string"
1684
- },
1685
- "privacy": "public",
1686
- "description": "The item ID",
1687
- "inheritedFrom": {
1688
- "name": "AccordionItem",
1689
- "module": "src/accordion-item/accordion-item.ts"
1690
- }
1691
- },
1692
- {
1693
- "kind": "field",
1694
- "name": "change",
1695
- "privacy": "private",
1696
- "inheritedFrom": {
1697
- "name": "AccordionItem",
1698
- "module": "src/accordion-item/accordion-item.ts"
1699
- }
1700
- },
1701
- {
1702
- "kind": "field",
1703
- "name": "_presentation",
1704
- "type": {
1705
- "text": "ComponentPresentation | null | undefined"
1706
- },
1707
- "privacy": "private",
1708
- "default": "void 0",
1709
- "inheritedFrom": {
1710
- "name": "FoundationElement",
1711
- "module": "src/foundation-element/foundation-element.ts"
1712
- }
1713
- },
1714
- {
1715
- "kind": "field",
1716
- "name": "$presentation",
1717
- "type": {
1718
- "text": "ComponentPresentation | null"
1719
- },
1720
- "privacy": "public",
1721
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1722
- "inheritedFrom": {
1723
- "name": "FoundationElement",
1724
- "module": "src/foundation-element/foundation-element.ts"
1725
- }
1726
- },
1727
- {
1728
- "kind": "field",
1729
- "name": "template",
1730
- "type": {
1731
- "text": "ElementViewTemplate | void | null"
1732
- },
1733
- "privacy": "public",
1734
- "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.",
1735
- "inheritedFrom": {
1736
- "name": "FoundationElement",
1737
- "module": "src/foundation-element/foundation-element.ts"
1738
- }
1739
- },
1740
- {
1741
- "kind": "method",
1742
- "name": "templateChanged",
1743
- "privacy": "protected",
1744
- "return": {
1745
- "type": {
1746
- "text": "void"
1747
- }
1748
- },
1749
- "inheritedFrom": {
1750
- "name": "FoundationElement",
1751
- "module": "src/foundation-element/foundation-element.ts"
1752
- }
1753
- },
1754
- {
1755
- "kind": "field",
1756
- "name": "styles",
1757
- "type": {
1758
- "text": "ElementStyles | void | null"
1759
- },
1760
- "privacy": "public",
1761
- "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.",
1762
- "inheritedFrom": {
1763
- "name": "FoundationElement",
1764
- "module": "src/foundation-element/foundation-element.ts"
1765
- }
1766
- },
1767
- {
1768
- "kind": "method",
1769
- "name": "stylesChanged",
1770
- "privacy": "protected",
1771
- "return": {
1772
- "type": {
1773
- "text": "void"
1774
- }
1775
- },
1776
- "inheritedFrom": {
1777
- "name": "FoundationElement",
1778
- "module": "src/foundation-element/foundation-element.ts"
1779
- }
1780
- },
1781
- {
1782
- "kind": "method",
1783
- "name": "compose",
1784
- "privacy": "public",
1785
- "static": true,
1786
- "return": {
1787
- "type": {
1788
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1789
- }
1790
- },
1791
- "parameters": [
1792
- {
1793
- "name": "this",
1794
- "type": {
1795
- "text": "K"
1796
- }
1797
- },
1798
- {
1799
- "name": "elementDefinition",
1800
- "type": {
1801
- "text": "T"
1802
- },
1803
- "description": "The definition of the element to create the registry\nfunction for."
1804
- }
1805
- ],
1806
- "description": "Defines an element registry function with a set of element definition defaults.",
1807
- "inheritedFrom": {
1808
- "name": "FoundationElement",
1809
- "module": "src/foundation-element/foundation-element.ts"
1810
- }
1811
- }
1812
- ],
1813
- "events": [
1814
- {
1815
- "description": "Fires a custom 'change' event when the button is invoked",
1816
- "name": "change",
1817
- "inheritedFrom": {
1818
- "name": "AccordionItem",
1819
- "module": "src/accordion-item/accordion-item.ts"
1820
- }
1821
- }
1822
- ]
1823
- },
1824
- {
1825
- "kind": "variable",
1826
- "name": "foundationAccordionItemShadowOptions",
1827
- "type": {
1828
- "text": "ShadowRootInit"
1829
- },
1830
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1831
- },
1832
- {
1833
- "kind": "variable",
1834
- "name": "defaultAccordionItemConfig",
1835
- "type": {
1836
- "text": "object"
1837
- },
1838
- "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}"
1839
- },
1840
- {
1841
- "kind": "variable",
1842
- "name": "foundationAccordionItem",
1843
- "description": "The Foundation Accordion Item",
1844
- "privacy": "public"
1845
- }
1846
- ],
1847
- "exports": [
1848
- {
1849
- "kind": "js",
1850
- "name": "AccordionItem",
1851
- "declaration": {
1852
- "name": "AccordionItem",
1853
- "module": "src/accordion-item/accordion-item.ts"
1854
- }
1855
- },
1856
- {
1857
- "kind": "js",
1858
- "name": "foundationAccordionItemShadowOptions",
1859
- "declaration": {
1860
- "name": "foundationAccordionItemShadowOptions",
1861
- "module": "src/accordion-item/accordion-item.ts"
1862
- }
1863
- },
1864
- {
1865
- "kind": "js",
1866
- "name": "defaultAccordionItemConfig",
1867
- "declaration": {
1868
- "name": "defaultAccordionItemConfig",
1869
- "module": "src/accordion-item/accordion-item.ts"
1870
- }
1871
- },
1872
- {
1873
- "kind": "js",
1874
- "name": "foundationAccordionItem",
1875
- "declaration": {
1876
- "name": "foundationAccordionItem",
1877
- "module": "src/accordion-item/accordion-item.ts"
1878
- }
1879
- }
1880
- ]
1881
- },
1882
- {
1883
- "kind": "javascript-module",
1884
- "path": "src/accordion-item/index.ts",
1885
- "declarations": [],
1886
- "exports": [
1887
- {
1888
- "kind": "js",
1889
- "name": "*",
1890
- "declaration": {
1891
- "name": "*",
1892
- "package": "./accordion-item.template"
1893
- }
1894
- },
1895
- {
1896
- "kind": "js",
1897
- "name": "*",
1898
- "declaration": {
1899
- "name": "*",
1900
- "package": "./accordion-item.styles"
1901
- }
1902
- },
1903
- {
1904
- "kind": "js",
1905
- "name": "*",
1906
- "declaration": {
1907
- "name": "*",
1908
- "package": "./accordion-item"
1909
- }
1910
- }
1911
- ]
1912
- },
1913
- {
1914
- "kind": "javascript-module",
1915
- "path": "src/actions-menu/actions-menu.styles.ts",
1916
- "declarations": [
1917
- {
1918
- "kind": "function",
1919
- "name": "actionsMenuBaseStyles",
1920
- "return": {
1921
- "type": {
1922
- "text": "ElementStyles"
1923
- }
1924
- },
1925
- "parameters": [
1926
- {
1927
- "name": "context",
1928
- "type": {
1929
- "text": "ElementDefinitionContext"
1930
- }
1931
- },
1932
- {
1933
- "name": "definition",
1934
- "type": {
1935
- "text": "FoundationElementDefinition"
1936
- }
1937
- }
1938
- ]
1939
- },
1940
- {
1941
- "kind": "function",
1942
- "name": "foundationActionsMenuStyles",
1943
- "return": {
1944
- "type": {
1945
- "text": "ElementStyles"
1716
+ "text": "ElementStyles"
1946
1717
  }
1947
1718
  },
1948
1719
  "parameters": [
@@ -2471,57 +2242,75 @@
2471
2242
  },
2472
2243
  {
2473
2244
  "kind": "javascript-module",
2474
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
2245
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2475
2246
  "declarations": [
2476
2247
  {
2477
- "kind": "variable",
2478
- "name": "foundationAiCriteriaSearchStyles",
2479
- "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`"
2248
+ "kind": "function",
2249
+ "name": "foundationAiIndicatorStyles",
2250
+ "return": {
2251
+ "type": {
2252
+ "text": "ElementStyles"
2253
+ }
2254
+ },
2255
+ "parameters": [
2256
+ {
2257
+ "name": "context",
2258
+ "type": {
2259
+ "text": "ElementDefinitionContext"
2260
+ }
2261
+ },
2262
+ {
2263
+ "name": "definition",
2264
+ "type": {
2265
+ "text": "FoundationElementDefinition"
2266
+ }
2267
+ }
2268
+ ]
2480
2269
  }
2481
2270
  ],
2482
2271
  "exports": [
2483
2272
  {
2484
2273
  "kind": "js",
2485
- "name": "foundationAiCriteriaSearchStyles",
2274
+ "name": "foundationAiIndicatorStyles",
2486
2275
  "declaration": {
2487
- "name": "foundationAiCriteriaSearchStyles",
2488
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
2276
+ "name": "foundationAiIndicatorStyles",
2277
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2489
2278
  }
2490
2279
  }
2491
2280
  ]
2492
2281
  },
2493
2282
  {
2494
2283
  "kind": "javascript-module",
2495
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
2284
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2496
2285
  "declarations": [
2497
2286
  {
2498
2287
  "kind": "variable",
2499
- "name": "foundationAiCriteriaSearchTemplate",
2288
+ "name": "foundationAiIndicatorTemplate",
2500
2289
  "type": {
2501
- "text": "ViewTemplate<AiCriteriaSearch>"
2290
+ "text": "ViewTemplate<AiIndicator>"
2502
2291
  },
2503
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2292
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2504
2293
  }
2505
2294
  ],
2506
2295
  "exports": [
2507
2296
  {
2508
2297
  "kind": "js",
2509
- "name": "foundationAiCriteriaSearchTemplate",
2298
+ "name": "foundationAiIndicatorTemplate",
2510
2299
  "declaration": {
2511
- "name": "foundationAiCriteriaSearchTemplate",
2512
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2300
+ "name": "foundationAiIndicatorTemplate",
2301
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2513
2302
  }
2514
2303
  }
2515
2304
  ]
2516
2305
  },
2517
2306
  {
2518
2307
  "kind": "javascript-module",
2519
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
2308
+ "path": "src/ai-indicator/ai-indicator.ts",
2520
2309
  "declarations": [
2521
2310
  {
2522
2311
  "kind": "class",
2523
2312
  "description": "",
2524
- "name": "AiCriteriaSearch",
2313
+ "name": "AiIndicator",
2525
2314
  "members": [
2526
2315
  {
2527
2316
  "kind": "field",
@@ -2532,38 +2321,15 @@
2532
2321
  },
2533
2322
  {
2534
2323
  "kind": "field",
2535
- "name": "placeholder",
2536
- "type": {
2537
- "text": "string"
2538
- },
2539
- "default": "'Describe your search criteria in natural language...'"
2540
- },
2541
- {
2542
- "kind": "field",
2543
- "name": "disabled",
2544
- "type": {
2545
- "text": "boolean"
2546
- }
2547
- },
2548
- {
2549
- "kind": "field",
2550
- "name": "mode",
2551
- "type": {
2552
- "text": "'append' | 'replace'"
2553
- },
2554
- "default": "'replace'"
2555
- },
2556
- {
2557
- "kind": "field",
2558
- "name": "inputValue",
2324
+ "name": "status",
2559
2325
  "type": {
2560
- "text": "string"
2326
+ "text": "AIStatus | null"
2561
2327
  },
2562
- "default": "''"
2328
+ "default": "null"
2563
2329
  },
2564
2330
  {
2565
2331
  "kind": "field",
2566
- "name": "isInterpreting",
2332
+ "name": "open",
2567
2333
  "type": {
2568
2334
  "text": "boolean"
2569
2335
  },
@@ -2571,23 +2337,15 @@
2571
2337
  },
2572
2338
  {
2573
2339
  "kind": "field",
2574
- "name": "lastValidCriteria",
2575
- "type": {
2576
- "text": "string | null"
2577
- },
2578
- "default": "null"
2579
- },
2580
- {
2581
- "kind": "field",
2582
- "name": "fieldMetadata",
2340
+ "name": "state",
2583
2341
  "type": {
2584
- "text": "MetadataDetail[] | string[]"
2342
+ "text": "AIIndicatorState"
2585
2343
  },
2586
- "default": "[]"
2344
+ "default": "'none'"
2587
2345
  },
2588
2346
  {
2589
2347
  "kind": "field",
2590
- "name": "isRecording",
2348
+ "name": "isInstalling",
2591
2349
  "type": {
2592
2350
  "text": "boolean"
2593
2351
  },
@@ -2595,42 +2353,37 @@
2595
2353
  },
2596
2354
  {
2597
2355
  "kind": "field",
2598
- "name": "textAreaRef",
2356
+ "name": "pollTimer",
2599
2357
  "type": {
2600
- "text": "HTMLTextAreaElement"
2358
+ "text": "ReturnType<typeof setInterval> | null"
2601
2359
  },
2602
- "privacy": "public"
2360
+ "privacy": "private",
2361
+ "default": "null"
2603
2362
  },
2604
2363
  {
2605
2364
  "kind": "field",
2606
- "name": "stopRecording",
2607
- "type": {
2608
- "text": "(() => void) | null"
2609
- },
2610
- "privacy": "private",
2611
- "default": "null"
2365
+ "name": "clickOutside",
2366
+ "privacy": "private"
2612
2367
  },
2613
2368
  {
2614
2369
  "kind": "field",
2615
- "name": "speechApplyDebounceTimer",
2370
+ "name": "chromeStatusLabel",
2616
2371
  "type": {
2617
- "text": "ReturnType<typeof setTimeout> | null"
2372
+ "text": "string | null"
2618
2373
  },
2619
- "privacy": "private",
2620
- "default": "null"
2374
+ "readonly": true
2621
2375
  },
2622
2376
  {
2623
2377
  "kind": "field",
2624
- "name": "baseInputForAppend",
2378
+ "name": "canInstall",
2625
2379
  "type": {
2626
- "text": "string"
2380
+ "text": "boolean"
2627
2381
  },
2628
- "privacy": "private",
2629
- "default": "''"
2382
+ "readonly": true
2630
2383
  },
2631
2384
  {
2632
2385
  "kind": "field",
2633
- "name": "speechAvailable",
2386
+ "name": "isDownloading",
2634
2387
  "type": {
2635
2388
  "text": "boolean"
2636
2389
  },
@@ -2638,24 +2391,95 @@
2638
2391
  },
2639
2392
  {
2640
2393
  "kind": "method",
2641
- "name": "handleSubmit"
2642
- },
2643
- {
2644
- "kind": "method",
2645
- "name": "handleBlur"
2646
- },
2394
+ "name": "openChanged",
2395
+ "return": {
2396
+ "type": {
2397
+ "text": "void"
2398
+ }
2399
+ }
2400
+ },
2647
2401
  {
2648
2402
  "kind": "method",
2649
- "name": "clear"
2403
+ "name": "handleClickOutside",
2404
+ "privacy": "private",
2405
+ "parameters": [
2406
+ {
2407
+ "name": "event",
2408
+ "type": {
2409
+ "text": "MouseEvent"
2410
+ }
2411
+ }
2412
+ ]
2650
2413
  },
2651
2414
  {
2652
2415
  "kind": "method",
2653
- "name": "toggleSpeechInput"
2416
+ "name": "toggleDropdown"
2654
2417
  },
2655
2418
  {
2656
2419
  "kind": "method",
2657
- "name": "clearSpeechApplyDebounce",
2658
- "privacy": "private"
2420
+ "name": "refreshStatus",
2421
+ "return": {
2422
+ "type": {
2423
+ "text": "Promise<void>"
2424
+ }
2425
+ }
2426
+ },
2427
+ {
2428
+ "kind": "method",
2429
+ "name": "deriveState",
2430
+ "privacy": "private",
2431
+ "return": {
2432
+ "type": {
2433
+ "text": "AIIndicatorState"
2434
+ }
2435
+ },
2436
+ "parameters": [
2437
+ {
2438
+ "name": "s",
2439
+ "type": {
2440
+ "text": "AIStatus | null"
2441
+ }
2442
+ }
2443
+ ]
2444
+ },
2445
+ {
2446
+ "kind": "method",
2447
+ "name": "maybeStartPolling",
2448
+ "privacy": "private",
2449
+ "return": {
2450
+ "type": {
2451
+ "text": "void"
2452
+ }
2453
+ }
2454
+ },
2455
+ {
2456
+ "kind": "method",
2457
+ "name": "startPolling",
2458
+ "privacy": "private",
2459
+ "return": {
2460
+ "type": {
2461
+ "text": "void"
2462
+ }
2463
+ }
2464
+ },
2465
+ {
2466
+ "kind": "method",
2467
+ "name": "stopPolling",
2468
+ "privacy": "private",
2469
+ "return": {
2470
+ "type": {
2471
+ "text": "void"
2472
+ }
2473
+ }
2474
+ },
2475
+ {
2476
+ "kind": "method",
2477
+ "name": "onInstall",
2478
+ "return": {
2479
+ "type": {
2480
+ "text": "Promise<void>"
2481
+ }
2482
+ }
2659
2483
  },
2660
2484
  {
2661
2485
  "kind": "field",
@@ -2769,318 +2593,145 @@
2769
2593
  }
2770
2594
  }
2771
2595
  ],
2772
- "attributes": [
2773
- {
2774
- "name": "placeholder",
2775
- "type": {
2776
- "text": "string"
2777
- },
2778
- "default": "'Describe your search criteria in natural language...'",
2779
- "fieldName": "placeholder"
2780
- },
2781
- {
2782
- "type": {
2783
- "text": "boolean"
2784
- },
2785
- "fieldName": "disabled"
2786
- },
2787
- {
2788
- "name": "mode",
2789
- "type": {
2790
- "text": "'append' | 'replace'"
2791
- },
2792
- "default": "'replace'",
2793
- "fieldName": "mode"
2794
- }
2795
- ],
2796
2596
  "superclass": {
2797
2597
  "name": "FoundationElement",
2798
2598
  "package": "@microsoft/fast-foundation"
2799
2599
  },
2800
- "tagName": "%%prefix%%-ai-criteria-search",
2600
+ "tagName": "%%prefix%%-ai-indicator",
2801
2601
  "customElement": true
2802
2602
  },
2803
2603
  {
2804
2604
  "kind": "variable",
2805
- "name": "foundationAiCriteriaSearchShadowOptions",
2806
- "type": {
2807
- "text": "ShadowRootInit"
2808
- },
2809
- "default": "undefined"
2810
- },
2811
- {
2812
- "kind": "variable",
2813
- "name": "defaultAiCriteriaSearchConfig",
2814
- "type": {
2815
- "text": "object"
2816
- },
2817
- "default": "{}"
2818
- },
2819
- {
2820
- "kind": "variable",
2821
- "name": "foundationAiCriteriaSearch"
2605
+ "name": "foundationAiIndicator"
2822
2606
  }
2823
2607
  ],
2824
2608
  "exports": [
2825
2609
  {
2826
2610
  "kind": "js",
2827
- "name": "AiCriteriaSearch",
2828
- "declaration": {
2829
- "name": "AiCriteriaSearch",
2830
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2831
- }
2832
- },
2833
- {
2834
- "kind": "js",
2835
- "name": "foundationAiCriteriaSearchShadowOptions",
2836
- "declaration": {
2837
- "name": "foundationAiCriteriaSearchShadowOptions",
2838
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2839
- }
2840
- },
2841
- {
2842
- "kind": "js",
2843
- "name": "defaultAiCriteriaSearchConfig",
2611
+ "name": "AiIndicator",
2844
2612
  "declaration": {
2845
- "name": "defaultAiCriteriaSearchConfig",
2846
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2613
+ "name": "AiIndicator",
2614
+ "module": "src/ai-indicator/ai-indicator.ts"
2847
2615
  }
2848
2616
  },
2849
2617
  {
2850
2618
  "kind": "js",
2851
- "name": "foundationAiCriteriaSearch",
2619
+ "name": "foundationAiIndicator",
2852
2620
  "declaration": {
2853
- "name": "foundationAiCriteriaSearch",
2854
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
2621
+ "name": "foundationAiIndicator",
2622
+ "module": "src/ai-indicator/ai-indicator.ts"
2855
2623
  }
2856
2624
  }
2857
2625
  ]
2858
2626
  },
2859
2627
  {
2860
2628
  "kind": "javascript-module",
2861
- "path": "src/ai-criteria-search/index.ts",
2629
+ "path": "src/ai-indicator/index.ts",
2862
2630
  "declarations": [],
2863
2631
  "exports": [
2864
2632
  {
2865
2633
  "kind": "js",
2866
- "name": "AiCriteriaSearch",
2867
- "declaration": {
2868
- "name": "AiCriteriaSearch",
2869
- "module": "./ai-criteria-search"
2870
- }
2871
- },
2872
- {
2873
- "kind": "js",
2874
- "name": "defaultAiCriteriaSearchConfig",
2875
- "declaration": {
2876
- "name": "defaultAiCriteriaSearchConfig",
2877
- "module": "./ai-criteria-search"
2878
- }
2879
- },
2880
- {
2881
- "kind": "js",
2882
- "name": "foundationAiCriteriaSearch",
2883
- "declaration": {
2884
- "name": "foundationAiCriteriaSearch",
2885
- "module": "./ai-criteria-search"
2886
- }
2887
- },
2888
- {
2889
- "kind": "js",
2890
- "name": "foundationAiCriteriaSearchShadowOptions",
2891
- "declaration": {
2892
- "name": "foundationAiCriteriaSearchShadowOptions",
2893
- "module": "./ai-criteria-search"
2894
- }
2895
- },
2896
- {
2897
- "kind": "js",
2898
- "name": "foundationAiCriteriaSearchStyles",
2899
- "declaration": {
2900
- "name": "foundationAiCriteriaSearchStyles",
2901
- "module": "./ai-criteria-search.styles"
2902
- }
2903
- },
2904
- {
2905
- "kind": "js",
2906
- "name": "foundationAiCriteriaSearchTemplate",
2634
+ "name": "AiIndicator",
2907
2635
  "declaration": {
2908
- "name": "foundationAiCriteriaSearchTemplate",
2909
- "module": "./ai-criteria-search.template"
2636
+ "name": "AiIndicator",
2637
+ "module": "./ai-indicator"
2910
2638
  }
2911
2639
  },
2912
2640
  {
2913
2641
  "kind": "js",
2914
- "name": "*",
2642
+ "name": "foundationAiIndicator",
2915
2643
  "declaration": {
2916
- "name": "*",
2917
- "package": "./validation/criteria-ir"
2644
+ "name": "foundationAiIndicator",
2645
+ "module": "./ai-indicator"
2918
2646
  }
2919
2647
  },
2920
2648
  {
2921
2649
  "kind": "js",
2922
- "name": "*",
2650
+ "name": "type",
2923
2651
  "declaration": {
2924
- "name": "*",
2925
- "package": "./validation/operator-map"
2652
+ "name": "type",
2653
+ "module": "./ai-indicator"
2926
2654
  }
2927
2655
  },
2928
2656
  {
2929
2657
  "kind": "js",
2930
- "name": "*",
2658
+ "name": "AIIndicatorState",
2931
2659
  "declaration": {
2932
- "name": "*",
2933
- "package": "./validation/schema-validator"
2660
+ "name": "AIIndicatorState",
2661
+ "module": "./ai-indicator"
2934
2662
  }
2935
- }
2936
- ]
2937
- },
2938
- {
2939
- "kind": "javascript-module",
2940
- "path": "src/ai-criteria-search/validation-error-notification.ts",
2941
- "declarations": [
2942
- {
2943
- "kind": "function",
2944
- "name": "formatValidationErrors",
2945
- "return": {
2946
- "type": {
2947
- "text": "string"
2948
- }
2949
- },
2950
- "parameters": [
2951
- {
2952
- "name": "errors",
2953
- "type": {
2954
- "text": "ValidationError[]"
2955
- }
2956
- }
2957
- ],
2958
- "description": "Formats validation errors into a user-friendly message."
2959
2663
  },
2960
- {
2961
- "kind": "function",
2962
- "name": "showCriteriaError",
2963
- "return": {
2964
- "type": {
2965
- "text": "void"
2966
- }
2967
- },
2968
- "parameters": [
2969
- {
2970
- "name": "title",
2971
- "type": {
2972
- "text": "string"
2973
- },
2974
- "description": "Notification title (e.g. \"Criteria validation error\")"
2975
- },
2976
- {
2977
- "name": "body",
2978
- "type": {
2979
- "text": "string"
2980
- },
2981
- "description": "Error message to display"
2982
- },
2983
- {
2984
- "name": "tagName",
2985
- "type": {
2986
- "text": "string"
2987
- },
2988
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2989
- }
2990
- ],
2991
- "description": "Shows a criteria error as a toast notification."
2992
- }
2993
- ],
2994
- "exports": [
2995
2664
  {
2996
2665
  "kind": "js",
2997
- "name": "formatValidationErrors",
2666
+ "name": "foundationAiIndicatorTemplate",
2998
2667
  "declaration": {
2999
- "name": "formatValidationErrors",
3000
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2668
+ "name": "foundationAiIndicatorTemplate",
2669
+ "module": "./ai-indicator.template"
3001
2670
  }
3002
2671
  },
3003
2672
  {
3004
2673
  "kind": "js",
3005
- "name": "showCriteriaError",
2674
+ "name": "foundationAiIndicatorStyles",
3006
2675
  "declaration": {
3007
- "name": "showCriteriaError",
3008
- "module": "src/ai-criteria-search/validation-error-notification.ts"
2676
+ "name": "foundationAiIndicatorStyles",
2677
+ "module": "./ai-indicator.styles"
3009
2678
  }
3010
2679
  }
3011
2680
  ]
3012
2681
  },
3013
2682
  {
3014
2683
  "kind": "javascript-module",
3015
- "path": "src/ai-indicator/ai-indicator.styles.ts",
2684
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3016
2685
  "declarations": [
3017
2686
  {
3018
- "kind": "function",
3019
- "name": "foundationAiIndicatorStyles",
3020
- "return": {
3021
- "type": {
3022
- "text": "ElementStyles"
3023
- }
3024
- },
3025
- "parameters": [
3026
- {
3027
- "name": "context",
3028
- "type": {
3029
- "text": "ElementDefinitionContext"
3030
- }
3031
- },
3032
- {
3033
- "name": "definition",
3034
- "type": {
3035
- "text": "FoundationElementDefinition"
3036
- }
3037
- }
3038
- ]
2687
+ "kind": "variable",
2688
+ "name": "foundationAiCriteriaSearchStyles",
2689
+ "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`"
3039
2690
  }
3040
2691
  ],
3041
2692
  "exports": [
3042
2693
  {
3043
2694
  "kind": "js",
3044
- "name": "foundationAiIndicatorStyles",
2695
+ "name": "foundationAiCriteriaSearchStyles",
3045
2696
  "declaration": {
3046
- "name": "foundationAiIndicatorStyles",
3047
- "module": "src/ai-indicator/ai-indicator.styles.ts"
2697
+ "name": "foundationAiCriteriaSearchStyles",
2698
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3048
2699
  }
3049
2700
  }
3050
2701
  ]
3051
2702
  },
3052
2703
  {
3053
2704
  "kind": "javascript-module",
3054
- "path": "src/ai-indicator/ai-indicator.template.ts",
2705
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3055
2706
  "declarations": [
3056
2707
  {
3057
2708
  "kind": "variable",
3058
- "name": "foundationAiIndicatorTemplate",
2709
+ "name": "foundationAiCriteriaSearchTemplate",
3059
2710
  "type": {
3060
- "text": "ViewTemplate<AiIndicator>"
2711
+ "text": "ViewTemplate<AiCriteriaSearch>"
3061
2712
  },
3062
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2713
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3063
2714
  }
3064
2715
  ],
3065
2716
  "exports": [
3066
2717
  {
3067
2718
  "kind": "js",
3068
- "name": "foundationAiIndicatorTemplate",
2719
+ "name": "foundationAiCriteriaSearchTemplate",
3069
2720
  "declaration": {
3070
- "name": "foundationAiIndicatorTemplate",
3071
- "module": "src/ai-indicator/ai-indicator.template.ts"
2721
+ "name": "foundationAiCriteriaSearchTemplate",
2722
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3072
2723
  }
3073
2724
  }
3074
2725
  ]
3075
2726
  },
3076
2727
  {
3077
2728
  "kind": "javascript-module",
3078
- "path": "src/ai-indicator/ai-indicator.ts",
2729
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
3079
2730
  "declarations": [
3080
2731
  {
3081
2732
  "kind": "class",
3082
2733
  "description": "",
3083
- "name": "AiIndicator",
2734
+ "name": "AiCriteriaSearch",
3084
2735
  "members": [
3085
2736
  {
3086
2737
  "kind": "field",
@@ -3091,31 +2742,38 @@
3091
2742
  },
3092
2743
  {
3093
2744
  "kind": "field",
3094
- "name": "status",
2745
+ "name": "placeholder",
3095
2746
  "type": {
3096
- "text": "AIStatus | null"
2747
+ "text": "string"
3097
2748
  },
3098
- "default": "null"
2749
+ "default": "'Describe your search criteria in natural language...'"
3099
2750
  },
3100
2751
  {
3101
2752
  "kind": "field",
3102
- "name": "open",
2753
+ "name": "disabled",
3103
2754
  "type": {
3104
2755
  "text": "boolean"
2756
+ }
2757
+ },
2758
+ {
2759
+ "kind": "field",
2760
+ "name": "mode",
2761
+ "type": {
2762
+ "text": "'append' | 'replace'"
3105
2763
  },
3106
- "default": "false"
2764
+ "default": "'replace'"
3107
2765
  },
3108
2766
  {
3109
2767
  "kind": "field",
3110
- "name": "state",
2768
+ "name": "inputValue",
3111
2769
  "type": {
3112
- "text": "AIIndicatorState"
2770
+ "text": "string"
3113
2771
  },
3114
- "default": "'none'"
2772
+ "default": "''"
3115
2773
  },
3116
2774
  {
3117
2775
  "kind": "field",
3118
- "name": "isInstalling",
2776
+ "name": "isInterpreting",
3119
2777
  "type": {
3120
2778
  "text": "boolean"
3121
2779
  },
@@ -3123,133 +2781,91 @@
3123
2781
  },
3124
2782
  {
3125
2783
  "kind": "field",
3126
- "name": "pollTimer",
2784
+ "name": "lastValidCriteria",
3127
2785
  "type": {
3128
- "text": "ReturnType<typeof setInterval> | null"
2786
+ "text": "string | null"
3129
2787
  },
3130
- "privacy": "private",
3131
2788
  "default": "null"
3132
2789
  },
3133
2790
  {
3134
2791
  "kind": "field",
3135
- "name": "clickOutside",
3136
- "privacy": "private"
3137
- },
3138
- {
3139
- "kind": "field",
3140
- "name": "chromeStatusLabel",
2792
+ "name": "fieldMetadata",
3141
2793
  "type": {
3142
- "text": "string | null"
2794
+ "text": "MetadataDetail[] | string[]"
3143
2795
  },
3144
- "readonly": true
2796
+ "default": "[]"
3145
2797
  },
3146
2798
  {
3147
2799
  "kind": "field",
3148
- "name": "canInstall",
2800
+ "name": "isRecording",
3149
2801
  "type": {
3150
2802
  "text": "boolean"
3151
2803
  },
3152
- "readonly": true
2804
+ "default": "false"
3153
2805
  },
3154
2806
  {
3155
2807
  "kind": "field",
3156
- "name": "isDownloading",
2808
+ "name": "textAreaRef",
3157
2809
  "type": {
3158
- "text": "boolean"
2810
+ "text": "HTMLTextAreaElement"
3159
2811
  },
3160
- "readonly": true
2812
+ "privacy": "public"
3161
2813
  },
3162
2814
  {
3163
- "kind": "method",
3164
- "name": "openChanged",
3165
- "return": {
3166
- "type": {
3167
- "text": "void"
3168
- }
3169
- }
2815
+ "kind": "field",
2816
+ "name": "stopRecording",
2817
+ "type": {
2818
+ "text": "(() => void) | null"
2819
+ },
2820
+ "privacy": "private",
2821
+ "default": "null"
3170
2822
  },
3171
2823
  {
3172
- "kind": "method",
3173
- "name": "handleClickOutside",
2824
+ "kind": "field",
2825
+ "name": "speechApplyDebounceTimer",
2826
+ "type": {
2827
+ "text": "ReturnType<typeof setTimeout> | null"
2828
+ },
3174
2829
  "privacy": "private",
3175
- "parameters": [
3176
- {
3177
- "name": "event",
3178
- "type": {
3179
- "text": "MouseEvent"
3180
- }
3181
- }
3182
- ]
2830
+ "default": "null"
3183
2831
  },
3184
2832
  {
3185
- "kind": "method",
3186
- "name": "toggleDropdown"
2833
+ "kind": "field",
2834
+ "name": "baseInputForAppend",
2835
+ "type": {
2836
+ "text": "string"
2837
+ },
2838
+ "privacy": "private",
2839
+ "default": "''"
3187
2840
  },
3188
2841
  {
3189
- "kind": "method",
3190
- "name": "refreshStatus",
3191
- "return": {
3192
- "type": {
3193
- "text": "Promise<void>"
3194
- }
3195
- }
2842
+ "kind": "field",
2843
+ "name": "speechAvailable",
2844
+ "type": {
2845
+ "text": "boolean"
2846
+ },
2847
+ "readonly": true
3196
2848
  },
3197
2849
  {
3198
2850
  "kind": "method",
3199
- "name": "deriveState",
3200
- "privacy": "private",
3201
- "return": {
3202
- "type": {
3203
- "text": "AIIndicatorState"
3204
- }
3205
- },
3206
- "parameters": [
3207
- {
3208
- "name": "s",
3209
- "type": {
3210
- "text": "AIStatus | null"
3211
- }
3212
- }
3213
- ]
2851
+ "name": "handleSubmit"
3214
2852
  },
3215
2853
  {
3216
2854
  "kind": "method",
3217
- "name": "maybeStartPolling",
3218
- "privacy": "private",
3219
- "return": {
3220
- "type": {
3221
- "text": "void"
3222
- }
3223
- }
2855
+ "name": "handleBlur"
3224
2856
  },
3225
2857
  {
3226
2858
  "kind": "method",
3227
- "name": "startPolling",
3228
- "privacy": "private",
3229
- "return": {
3230
- "type": {
3231
- "text": "void"
3232
- }
3233
- }
2859
+ "name": "clear"
3234
2860
  },
3235
2861
  {
3236
2862
  "kind": "method",
3237
- "name": "stopPolling",
3238
- "privacy": "private",
3239
- "return": {
3240
- "type": {
3241
- "text": "void"
3242
- }
3243
- }
2863
+ "name": "toggleSpeechInput"
3244
2864
  },
3245
2865
  {
3246
2866
  "kind": "method",
3247
- "name": "onInstall",
3248
- "return": {
3249
- "type": {
3250
- "text": "Promise<void>"
3251
- }
3252
- }
2867
+ "name": "clearSpeechApplyDebounce",
2868
+ "privacy": "private"
3253
2869
  },
3254
2870
  {
3255
2871
  "kind": "field",
@@ -3363,88 +2979,456 @@
3363
2979
  }
3364
2980
  }
3365
2981
  ],
3366
- "superclass": {
3367
- "name": "FoundationElement",
3368
- "package": "@microsoft/fast-foundation"
3369
- },
3370
- "tagName": "%%prefix%%-ai-indicator",
3371
- "customElement": true
3372
- },
3373
- {
3374
- "kind": "variable",
3375
- "name": "foundationAiIndicator"
3376
- }
3377
- ],
3378
- "exports": [
3379
- {
3380
- "kind": "js",
3381
- "name": "AiIndicator",
3382
- "declaration": {
3383
- "name": "AiIndicator",
3384
- "module": "src/ai-indicator/ai-indicator.ts"
2982
+ "attributes": [
2983
+ {
2984
+ "name": "placeholder",
2985
+ "type": {
2986
+ "text": "string"
2987
+ },
2988
+ "default": "'Describe your search criteria in natural language...'",
2989
+ "fieldName": "placeholder"
2990
+ },
2991
+ {
2992
+ "type": {
2993
+ "text": "boolean"
2994
+ },
2995
+ "fieldName": "disabled"
2996
+ },
2997
+ {
2998
+ "name": "mode",
2999
+ "type": {
3000
+ "text": "'append' | 'replace'"
3001
+ },
3002
+ "default": "'replace'",
3003
+ "fieldName": "mode"
3004
+ }
3005
+ ],
3006
+ "superclass": {
3007
+ "name": "FoundationElement",
3008
+ "package": "@microsoft/fast-foundation"
3009
+ },
3010
+ "tagName": "%%prefix%%-ai-criteria-search",
3011
+ "customElement": true
3012
+ },
3013
+ {
3014
+ "kind": "variable",
3015
+ "name": "foundationAiCriteriaSearchShadowOptions",
3016
+ "type": {
3017
+ "text": "ShadowRootInit"
3018
+ },
3019
+ "default": "undefined"
3020
+ },
3021
+ {
3022
+ "kind": "variable",
3023
+ "name": "defaultAiCriteriaSearchConfig",
3024
+ "type": {
3025
+ "text": "object"
3026
+ },
3027
+ "default": "{}"
3028
+ },
3029
+ {
3030
+ "kind": "variable",
3031
+ "name": "foundationAiCriteriaSearch"
3032
+ }
3033
+ ],
3034
+ "exports": [
3035
+ {
3036
+ "kind": "js",
3037
+ "name": "AiCriteriaSearch",
3038
+ "declaration": {
3039
+ "name": "AiCriteriaSearch",
3040
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3385
3041
  }
3386
3042
  },
3387
3043
  {
3388
3044
  "kind": "js",
3389
- "name": "foundationAiIndicator",
3045
+ "name": "foundationAiCriteriaSearchShadowOptions",
3390
3046
  "declaration": {
3391
- "name": "foundationAiIndicator",
3392
- "module": "src/ai-indicator/ai-indicator.ts"
3047
+ "name": "foundationAiCriteriaSearchShadowOptions",
3048
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3049
+ }
3050
+ },
3051
+ {
3052
+ "kind": "js",
3053
+ "name": "defaultAiCriteriaSearchConfig",
3054
+ "declaration": {
3055
+ "name": "defaultAiCriteriaSearchConfig",
3056
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3057
+ }
3058
+ },
3059
+ {
3060
+ "kind": "js",
3061
+ "name": "foundationAiCriteriaSearch",
3062
+ "declaration": {
3063
+ "name": "foundationAiCriteriaSearch",
3064
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
3393
3065
  }
3394
3066
  }
3395
3067
  ]
3396
3068
  },
3397
3069
  {
3398
3070
  "kind": "javascript-module",
3399
- "path": "src/ai-indicator/index.ts",
3071
+ "path": "src/ai-criteria-search/index.ts",
3400
3072
  "declarations": [],
3401
3073
  "exports": [
3402
3074
  {
3403
3075
  "kind": "js",
3404
- "name": "AiIndicator",
3076
+ "name": "AiCriteriaSearch",
3405
3077
  "declaration": {
3406
- "name": "AiIndicator",
3407
- "module": "./ai-indicator"
3078
+ "name": "AiCriteriaSearch",
3079
+ "module": "./ai-criteria-search"
3408
3080
  }
3409
3081
  },
3410
3082
  {
3411
3083
  "kind": "js",
3412
- "name": "foundationAiIndicator",
3084
+ "name": "defaultAiCriteriaSearchConfig",
3413
3085
  "declaration": {
3414
- "name": "foundationAiIndicator",
3415
- "module": "./ai-indicator"
3086
+ "name": "defaultAiCriteriaSearchConfig",
3087
+ "module": "./ai-criteria-search"
3416
3088
  }
3417
3089
  },
3418
3090
  {
3419
3091
  "kind": "js",
3420
- "name": "type",
3092
+ "name": "foundationAiCriteriaSearch",
3421
3093
  "declaration": {
3422
- "name": "type",
3423
- "module": "./ai-indicator"
3094
+ "name": "foundationAiCriteriaSearch",
3095
+ "module": "./ai-criteria-search"
3424
3096
  }
3425
3097
  },
3426
3098
  {
3427
3099
  "kind": "js",
3428
- "name": "AIIndicatorState",
3100
+ "name": "foundationAiCriteriaSearchShadowOptions",
3429
3101
  "declaration": {
3430
- "name": "AIIndicatorState",
3431
- "module": "./ai-indicator"
3102
+ "name": "foundationAiCriteriaSearchShadowOptions",
3103
+ "module": "./ai-criteria-search"
3432
3104
  }
3433
3105
  },
3434
3106
  {
3435
3107
  "kind": "js",
3436
- "name": "foundationAiIndicatorTemplate",
3108
+ "name": "foundationAiCriteriaSearchStyles",
3437
3109
  "declaration": {
3438
- "name": "foundationAiIndicatorTemplate",
3439
- "module": "./ai-indicator.template"
3110
+ "name": "foundationAiCriteriaSearchStyles",
3111
+ "module": "./ai-criteria-search.styles"
3440
3112
  }
3441
3113
  },
3442
3114
  {
3443
3115
  "kind": "js",
3444
- "name": "foundationAiIndicatorStyles",
3116
+ "name": "foundationAiCriteriaSearchTemplate",
3445
3117
  "declaration": {
3446
- "name": "foundationAiIndicatorStyles",
3447
- "module": "./ai-indicator.styles"
3118
+ "name": "foundationAiCriteriaSearchTemplate",
3119
+ "module": "./ai-criteria-search.template"
3120
+ }
3121
+ },
3122
+ {
3123
+ "kind": "js",
3124
+ "name": "*",
3125
+ "declaration": {
3126
+ "name": "*",
3127
+ "package": "./validation/criteria-ir"
3128
+ }
3129
+ },
3130
+ {
3131
+ "kind": "js",
3132
+ "name": "*",
3133
+ "declaration": {
3134
+ "name": "*",
3135
+ "package": "./validation/operator-map"
3136
+ }
3137
+ },
3138
+ {
3139
+ "kind": "js",
3140
+ "name": "*",
3141
+ "declaration": {
3142
+ "name": "*",
3143
+ "package": "./validation/schema-validator"
3144
+ }
3145
+ }
3146
+ ]
3147
+ },
3148
+ {
3149
+ "kind": "javascript-module",
3150
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
3151
+ "declarations": [
3152
+ {
3153
+ "kind": "function",
3154
+ "name": "formatValidationErrors",
3155
+ "return": {
3156
+ "type": {
3157
+ "text": "string"
3158
+ }
3159
+ },
3160
+ "parameters": [
3161
+ {
3162
+ "name": "errors",
3163
+ "type": {
3164
+ "text": "ValidationError[]"
3165
+ }
3166
+ }
3167
+ ],
3168
+ "description": "Formats validation errors into a user-friendly message."
3169
+ },
3170
+ {
3171
+ "kind": "function",
3172
+ "name": "showCriteriaError",
3173
+ "return": {
3174
+ "type": {
3175
+ "text": "void"
3176
+ }
3177
+ },
3178
+ "parameters": [
3179
+ {
3180
+ "name": "title",
3181
+ "type": {
3182
+ "text": "string"
3183
+ },
3184
+ "description": "Notification title (e.g. \"Criteria validation error\")"
3185
+ },
3186
+ {
3187
+ "name": "body",
3188
+ "type": {
3189
+ "text": "string"
3190
+ },
3191
+ "description": "Error message to display"
3192
+ },
3193
+ {
3194
+ "name": "tagName",
3195
+ "type": {
3196
+ "text": "string"
3197
+ },
3198
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3199
+ }
3200
+ ],
3201
+ "description": "Shows a criteria error as a toast notification."
3202
+ }
3203
+ ],
3204
+ "exports": [
3205
+ {
3206
+ "kind": "js",
3207
+ "name": "formatValidationErrors",
3208
+ "declaration": {
3209
+ "name": "formatValidationErrors",
3210
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3211
+ }
3212
+ },
3213
+ {
3214
+ "kind": "js",
3215
+ "name": "showCriteriaError",
3216
+ "declaration": {
3217
+ "name": "showCriteriaError",
3218
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
3219
+ }
3220
+ }
3221
+ ]
3222
+ },
3223
+ {
3224
+ "kind": "javascript-module",
3225
+ "path": "src/_config/index.ts",
3226
+ "declarations": [],
3227
+ "exports": [
3228
+ {
3229
+ "kind": "js",
3230
+ "name": "*",
3231
+ "declaration": {
3232
+ "name": "*",
3233
+ "package": "./styles"
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "js",
3238
+ "name": "*",
3239
+ "declaration": {
3240
+ "name": "*",
3241
+ "package": "./tokens"
3242
+ }
3243
+ },
3244
+ {
3245
+ "kind": "js",
3246
+ "name": "*",
3247
+ "declaration": {
3248
+ "name": "*",
3249
+ "package": "./values"
3250
+ }
3251
+ }
3252
+ ]
3253
+ },
3254
+ {
3255
+ "kind": "javascript-module",
3256
+ "path": "src/accordion/accordion.styles.ts",
3257
+ "declarations": [
3258
+ {
3259
+ "kind": "function",
3260
+ "name": "foundationAccordionStyles",
3261
+ "return": {
3262
+ "type": {
3263
+ "text": "ElementStyles"
3264
+ }
3265
+ },
3266
+ "parameters": [
3267
+ {
3268
+ "name": "context",
3269
+ "type": {
3270
+ "text": "ElementDefinitionContext"
3271
+ }
3272
+ },
3273
+ {
3274
+ "name": "definition",
3275
+ "type": {
3276
+ "text": "FoundationElementDefinition"
3277
+ }
3278
+ }
3279
+ ]
3280
+ }
3281
+ ],
3282
+ "exports": [
3283
+ {
3284
+ "kind": "js",
3285
+ "name": "foundationAccordionStyles",
3286
+ "declaration": {
3287
+ "name": "foundationAccordionStyles",
3288
+ "module": "src/accordion/accordion.styles.ts"
3289
+ }
3290
+ }
3291
+ ]
3292
+ },
3293
+ {
3294
+ "kind": "javascript-module",
3295
+ "path": "src/accordion/accordion.template.ts",
3296
+ "declarations": [
3297
+ {
3298
+ "kind": "function",
3299
+ "name": "foundationAccordionTemplate",
3300
+ "return": {
3301
+ "type": {
3302
+ "text": "ViewTemplate<Accordion>"
3303
+ }
3304
+ },
3305
+ "parameters": [
3306
+ {
3307
+ "name": "context",
3308
+ "type": {
3309
+ "text": "ElementDefinitionContext"
3310
+ }
3311
+ },
3312
+ {
3313
+ "name": "definition",
3314
+ "type": {
3315
+ "text": "FoundationElementDefinition"
3316
+ }
3317
+ }
3318
+ ]
3319
+ }
3320
+ ],
3321
+ "exports": [
3322
+ {
3323
+ "kind": "js",
3324
+ "name": "foundationAccordionTemplate",
3325
+ "declaration": {
3326
+ "name": "foundationAccordionTemplate",
3327
+ "module": "src/accordion/accordion.template.ts"
3328
+ }
3329
+ }
3330
+ ]
3331
+ },
3332
+ {
3333
+ "kind": "javascript-module",
3334
+ "path": "src/accordion/accordion.ts",
3335
+ "declarations": [
3336
+ {
3337
+ "kind": "class",
3338
+ "description": "",
3339
+ "name": "Accordion",
3340
+ "superclass": {
3341
+ "name": "FASTAccordion",
3342
+ "package": "@microsoft/fast-foundation"
3343
+ },
3344
+ "tagName": "%%prefix%%-accordion",
3345
+ "customElement": true
3346
+ },
3347
+ {
3348
+ "kind": "variable",
3349
+ "name": "foundationAccordionShadowOptions",
3350
+ "type": {
3351
+ "text": "ShadowRootInit"
3352
+ },
3353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3354
+ },
3355
+ {
3356
+ "kind": "variable",
3357
+ "name": "defaultAccordionConfig",
3358
+ "type": {
3359
+ "text": "object"
3360
+ },
3361
+ "default": "{}"
3362
+ },
3363
+ {
3364
+ "kind": "variable",
3365
+ "name": "foundationAccordion",
3366
+ "description": "The Foundation Accordion",
3367
+ "privacy": "public"
3368
+ }
3369
+ ],
3370
+ "exports": [
3371
+ {
3372
+ "kind": "js",
3373
+ "name": "Accordion",
3374
+ "declaration": {
3375
+ "name": "Accordion",
3376
+ "module": "src/accordion/accordion.ts"
3377
+ }
3378
+ },
3379
+ {
3380
+ "kind": "js",
3381
+ "name": "foundationAccordionShadowOptions",
3382
+ "declaration": {
3383
+ "name": "foundationAccordionShadowOptions",
3384
+ "module": "src/accordion/accordion.ts"
3385
+ }
3386
+ },
3387
+ {
3388
+ "kind": "js",
3389
+ "name": "defaultAccordionConfig",
3390
+ "declaration": {
3391
+ "name": "defaultAccordionConfig",
3392
+ "module": "src/accordion/accordion.ts"
3393
+ }
3394
+ },
3395
+ {
3396
+ "kind": "js",
3397
+ "name": "foundationAccordion",
3398
+ "declaration": {
3399
+ "name": "foundationAccordion",
3400
+ "module": "src/accordion/accordion.ts"
3401
+ }
3402
+ }
3403
+ ]
3404
+ },
3405
+ {
3406
+ "kind": "javascript-module",
3407
+ "path": "src/accordion/index.ts",
3408
+ "declarations": [],
3409
+ "exports": [
3410
+ {
3411
+ "kind": "js",
3412
+ "name": "*",
3413
+ "declaration": {
3414
+ "name": "*",
3415
+ "package": "./accordion.template"
3416
+ }
3417
+ },
3418
+ {
3419
+ "kind": "js",
3420
+ "name": "*",
3421
+ "declaration": {
3422
+ "name": "*",
3423
+ "package": "./accordion.styles"
3424
+ }
3425
+ },
3426
+ {
3427
+ "kind": "js",
3428
+ "name": "*",
3429
+ "declaration": {
3430
+ "name": "*",
3431
+ "package": "./accordion"
3448
3432
  }
3449
3433
  }
3450
3434
  ]
@@ -54222,1659 +54206,275 @@
54222
54206
  "type": {
54223
54207
  "text": "string"
54224
54208
  }
54225
- }
54226
- ]
54227
- }
54228
- ],
54229
- "exports": [
54230
- {
54231
- "kind": "js",
54232
- "name": "tooltip",
54233
- "declaration": {
54234
- "name": "tooltip",
54235
- "module": "src/utils/tooltip.ts"
54236
- }
54237
- }
54238
- ]
54239
- },
54240
- {
54241
- "kind": "javascript-module",
54242
- "path": "src/utils/validation.ts",
54243
- "declarations": [
54244
- {
54245
- "kind": "function",
54246
- "name": "isValidString",
54247
- "return": {
54248
- "type": {
54249
- "text": "boolean"
54250
- }
54251
- },
54252
- "parameters": [
54253
- {
54254
- "name": "value",
54255
- "type": {
54256
- "text": "any"
54257
- }
54258
- }
54259
- ]
54260
- },
54261
- {
54262
- "kind": "function",
54263
- "name": "isNumeric",
54264
- "return": {
54265
- "type": {
54266
- "text": "boolean"
54267
- }
54268
- },
54269
- "parameters": [
54270
- {
54271
- "name": "value",
54272
- "type": {
54273
- "text": "string"
54274
- }
54275
- }
54276
- ]
54277
- },
54278
- {
54279
- "kind": "function",
54280
- "name": "isInteger",
54281
- "return": {
54282
- "type": {
54283
- "text": "boolean"
54284
- }
54285
- },
54286
- "parameters": [
54287
- {
54288
- "name": "value",
54289
- "type": {
54290
- "text": "string"
54291
- }
54292
- }
54293
- ]
54294
- }
54295
- ],
54296
- "exports": [
54297
- {
54298
- "kind": "js",
54299
- "name": "isValidString",
54300
- "declaration": {
54301
- "name": "isValidString",
54302
- "module": "src/utils/validation.ts"
54303
- }
54304
- },
54305
- {
54306
- "kind": "js",
54307
- "name": "isNumeric",
54308
- "declaration": {
54309
- "name": "isNumeric",
54310
- "module": "src/utils/validation.ts"
54311
- }
54312
- },
54313
- {
54314
- "kind": "js",
54315
- "name": "isInteger",
54316
- "declaration": {
54317
- "name": "isInteger",
54318
- "module": "src/utils/validation.ts"
54319
- }
54320
- }
54321
- ]
54322
- },
54323
- {
54324
- "kind": "javascript-module",
54325
- "path": "src/workspace/filter-registry.ts",
54326
- "declarations": [
54327
- {
54328
- "kind": "class",
54329
- "description": "",
54330
- "name": "DefaultFilterRegistry",
54331
- "members": [
54332
- {
54333
- "kind": "field",
54334
- "name": "filters",
54335
- "type": {
54336
- "text": "Map<string, FilterRegistration>"
54337
- },
54338
- "privacy": "private",
54339
- "default": "new Map()"
54340
- },
54341
- {
54342
- "kind": "method",
54343
- "name": "registerFilter",
54344
- "return": {
54345
- "type": {
54346
- "text": "void"
54347
- }
54348
- },
54349
- "parameters": [
54350
- {
54351
- "name": "filterKey",
54352
- "type": {
54353
- "text": "string"
54354
- }
54355
- },
54356
- {
54357
- "name": "getFilterValue",
54358
- "type": {
54359
- "text": "() => SavedFilterValue | null"
54360
- }
54361
- },
54362
- {
54363
- "name": "setFilterValue",
54364
- "type": {
54365
- "text": "(value: string) => void"
54366
- }
54367
- }
54368
- ]
54369
- },
54370
- {
54371
- "kind": "method",
54372
- "name": "unregisterFilter",
54373
- "return": {
54374
- "type": {
54375
- "text": "void"
54376
- }
54377
- },
54378
- "parameters": [
54379
- {
54380
- "name": "filterKey",
54381
- "type": {
54382
- "text": "string"
54383
- }
54384
- }
54385
- ]
54386
- },
54387
- {
54388
- "kind": "method",
54389
- "name": "getAllFiltersValues",
54390
- "return": {
54391
- "type": {
54392
- "text": "SavedFilterValue[]"
54393
- }
54394
- }
54395
- },
54396
- {
54397
- "kind": "method",
54398
- "name": "applyFiltersValues",
54399
- "return": {
54400
- "type": {
54401
- "text": "void"
54402
- }
54403
- },
54404
- "parameters": [
54405
- {
54406
- "name": "filtersValues",
54407
- "type": {
54408
- "text": "SavedFilterValue[]"
54409
- }
54410
- }
54411
- ]
54412
- }
54413
- ]
54414
- },
54415
- {
54416
- "kind": "variable",
54417
- "name": "FilterRegistry",
54418
- "description": "DI token for filter registry.",
54419
- "privacy": "public"
54420
- }
54421
- ],
54422
- "exports": [
54423
- {
54424
- "kind": "js",
54425
- "name": "DefaultFilterRegistry",
54426
- "declaration": {
54427
- "name": "DefaultFilterRegistry",
54428
- "module": "src/workspace/filter-registry.ts"
54429
- }
54430
- },
54431
- {
54432
- "kind": "js",
54433
- "name": "FilterRegistry",
54434
- "declaration": {
54435
- "name": "FilterRegistry",
54436
- "module": "src/workspace/filter-registry.ts"
54437
- }
54438
- }
54439
- ]
54440
- },
54441
- {
54442
- "kind": "javascript-module",
54443
- "path": "src/workspace/grid-registry.ts",
54444
- "declarations": [
54445
- {
54446
- "kind": "class",
54447
- "description": "",
54448
- "name": "DefaultGridRegistry",
54449
- "members": [
54450
- {
54451
- "kind": "field",
54452
- "name": "grids",
54453
- "type": {
54454
- "text": "Map<string, GridRegistration>"
54455
- },
54456
- "privacy": "private",
54457
- "default": "new Map()"
54458
- },
54459
- {
54460
- "kind": "field",
54461
- "name": "cachedSettings",
54462
- "type": {
54463
- "text": "Map<string, SavedGridSettings>"
54464
- },
54465
- "privacy": "private",
54466
- "default": "new Map()"
54467
- },
54468
- {
54469
- "kind": "method",
54470
- "name": "registerGrid",
54471
- "return": {
54472
- "type": {
54473
- "text": "void"
54474
- }
54475
- },
54476
- "parameters": [
54477
- {
54478
- "name": "gridKey",
54479
- "type": {
54480
- "text": "string"
54481
- }
54482
- },
54483
- {
54484
- "name": "gridApi",
54485
- "type": {
54486
- "text": "unknown"
54487
- }
54488
- },
54489
- {
54490
- "name": "columnApi",
54491
- "type": {
54492
- "text": "unknown"
54493
- }
54494
- }
54495
- ]
54496
- },
54497
- {
54498
- "kind": "method",
54499
- "name": "getGrid",
54500
- "return": {
54501
- "type": {
54502
- "text": "unknown"
54503
- }
54504
- },
54505
- "parameters": [
54506
- {
54507
- "name": "gridKey",
54508
- "type": {
54509
- "text": "string"
54510
- }
54511
- }
54512
- ]
54513
- },
54514
- {
54515
- "kind": "method",
54516
- "name": "unregisterGrid",
54517
- "return": {
54518
- "type": {
54519
- "text": "void"
54520
- }
54521
- },
54522
- "parameters": [
54523
- {
54524
- "name": "gridKey",
54525
- "type": {
54526
- "text": "string"
54527
- }
54528
- }
54529
- ]
54530
- },
54531
- {
54532
- "kind": "method",
54533
- "name": "getAllGridsSettings",
54534
- "return": {
54535
- "type": {
54536
- "text": "SavedGridSettings[]"
54537
- }
54538
- }
54539
- },
54540
- {
54541
- "kind": "method",
54542
- "name": "applyGridSettings",
54543
- "return": {
54544
- "type": {
54545
- "text": "Promise<boolean>"
54546
- }
54547
- },
54548
- "parameters": [
54549
- {
54550
- "name": "gridSetting",
54551
- "type": {
54552
- "text": "SavedGridSettings"
54553
- }
54554
- },
54555
- {
54556
- "name": "options",
54557
- "optional": true,
54558
- "type": {
54559
- "text": "{ applyColumns?: boolean; applyFilters?: boolean }"
54560
- }
54561
- }
54562
- ]
54563
- },
54564
- {
54565
- "kind": "method",
54566
- "name": "applyAllGridsSettings",
54567
- "return": {
54568
- "type": {
54569
- "text": "Promise<void>"
54570
- }
54571
- },
54572
- "parameters": [
54573
- {
54574
- "name": "gridSettings",
54575
- "type": {
54576
- "text": "SavedGridSettings[]"
54577
- }
54578
- },
54579
- {
54580
- "name": "maxRetries",
54581
- "default": "3",
54582
- "type": {
54583
- "text": "number"
54584
- }
54585
- },
54586
- {
54587
- "name": "delayMs",
54588
- "default": "200",
54589
- "type": {
54590
- "text": "number"
54591
- }
54592
- }
54593
- ]
54594
- },
54595
- {
54596
- "kind": "method",
54597
- "name": "getGridSettings",
54598
- "privacy": "private",
54599
- "return": {
54600
- "type": {
54601
- "text": "SavedGridSettings | null"
54602
- }
54603
- },
54604
- "parameters": [
54605
- {
54606
- "name": "gridKey",
54607
- "type": {
54608
- "text": "string"
54609
- }
54610
- },
54611
- {
54612
- "name": "grid",
54613
- "type": {
54614
- "text": "GridRegistration"
54615
- }
54616
- }
54617
- ]
54618
- }
54619
- ]
54620
- },
54621
- {
54622
- "kind": "variable",
54623
- "name": "GridRegistry",
54624
- "description": "DI token for grid registry.",
54625
- "privacy": "public"
54626
- }
54627
- ],
54628
- "exports": [
54629
- {
54630
- "kind": "js",
54631
- "name": "DefaultGridRegistry",
54632
- "declaration": {
54633
- "name": "DefaultGridRegistry",
54634
- "module": "src/workspace/grid-registry.ts"
54635
- }
54636
- },
54637
- {
54638
- "kind": "js",
54639
- "name": "GridRegistry",
54640
- "declaration": {
54641
- "name": "GridRegistry",
54642
- "module": "src/workspace/grid-registry.ts"
54643
- }
54644
- }
54645
- ]
54646
- },
54647
- {
54648
- "kind": "javascript-module",
54649
- "path": "src/workspace/index.ts",
54650
- "declarations": [],
54651
- "exports": [
54652
- {
54653
- "kind": "js",
54654
- "name": "*",
54655
- "declaration": {
54656
- "name": "*",
54657
- "package": "./workspace.types"
54658
- }
54659
- },
54660
- {
54661
- "kind": "js",
54662
- "name": "*",
54663
- "declaration": {
54664
- "name": "*",
54665
- "package": "./workspace-state.types"
54666
- }
54667
- },
54668
- {
54669
- "kind": "js",
54670
- "name": "*",
54671
- "declaration": {
54672
- "name": "*",
54673
- "package": "./workspace-state"
54674
- }
54675
- },
54676
- {
54677
- "kind": "js",
54678
- "name": "*",
54679
- "declaration": {
54680
- "name": "*",
54681
- "package": "./layout-registry"
54682
- }
54683
- },
54684
- {
54685
- "kind": "js",
54686
- "name": "*",
54687
- "declaration": {
54688
- "name": "*",
54689
- "package": "./grid-registry"
54690
- }
54691
- },
54692
- {
54693
- "kind": "js",
54694
- "name": "*",
54695
- "declaration": {
54696
- "name": "*",
54697
- "package": "./filter-registry"
54698
- }
54699
- },
54700
- {
54701
- "kind": "js",
54702
- "name": "*",
54703
- "declaration": {
54704
- "name": "*",
54705
- "package": "./grid-register"
54706
- }
54707
- },
54708
- {
54709
- "kind": "js",
54710
- "name": "*",
54711
- "declaration": {
54712
- "name": "*",
54713
- "package": "./layout-wrapper"
54714
- }
54715
- }
54716
- ]
54717
- },
54718
- {
54719
- "kind": "javascript-module",
54720
- "path": "src/workspace/layout-registry.ts",
54721
- "declarations": [
54722
- {
54723
- "kind": "class",
54724
- "description": "Default layout registry implementation.",
54725
- "name": "DefaultLayoutRegistry",
54726
- "members": [
54727
- {
54728
- "kind": "field",
54729
- "name": "layouts",
54730
- "type": {
54731
- "text": "Map<string, any>"
54732
- },
54733
- "privacy": "private",
54734
- "default": "new Map()"
54735
- },
54736
- {
54737
- "kind": "method",
54738
- "name": "registerLayout",
54739
- "return": {
54740
- "type": {
54741
- "text": "void"
54742
- }
54743
- },
54744
- "parameters": [
54745
- {
54746
- "name": "layoutKey",
54747
- "type": {
54748
- "text": "string"
54749
- }
54750
- },
54751
- {
54752
- "name": "layout",
54753
- "type": {
54754
- "text": "any"
54755
- }
54756
- }
54757
- ]
54758
- },
54759
- {
54760
- "kind": "method",
54761
- "name": "unregisterLayout",
54762
- "return": {
54763
- "type": {
54764
- "text": "void"
54765
- }
54766
- },
54767
- "parameters": [
54768
- {
54769
- "name": "layoutKey",
54770
- "type": {
54771
- "text": "string"
54772
- }
54773
- }
54774
- ]
54775
- },
54776
- {
54777
- "kind": "method",
54778
- "name": "getLayoutsConfigs",
54779
- "return": {
54780
- "type": {
54781
- "text": "SavedLayout[]"
54782
- }
54783
- }
54784
- },
54785
- {
54786
- "kind": "method",
54787
- "name": "applySavedLayouts",
54788
- "return": {
54789
- "type": {
54790
- "text": "Promise<void>"
54791
- }
54792
- },
54793
- "parameters": [
54794
- {
54795
- "name": "savedLayouts",
54796
- "type": {
54797
- "text": "SavedLayout[]"
54798
- }
54799
- }
54800
- ]
54801
- }
54802
- ]
54803
- },
54804
- {
54805
- "kind": "variable",
54806
- "name": "LayoutRegistry",
54807
- "description": "DI token for layout registry.",
54808
- "privacy": "public"
54809
- }
54810
- ],
54811
- "exports": [
54812
- {
54813
- "kind": "js",
54814
- "name": "DefaultLayoutRegistry",
54815
- "declaration": {
54816
- "name": "DefaultLayoutRegistry",
54817
- "module": "src/workspace/layout-registry.ts"
54818
- }
54819
- },
54820
- {
54821
- "kind": "js",
54822
- "name": "LayoutRegistry",
54823
- "declaration": {
54824
- "name": "LayoutRegistry",
54825
- "module": "src/workspace/layout-registry.ts"
54826
- }
54827
- }
54828
- ]
54829
- },
54830
- {
54831
- "kind": "javascript-module",
54832
- "path": "src/workspace/workspace-state.ts",
54833
- "declarations": [
54834
- {
54835
- "kind": "class",
54836
- "description": "Default workspace persistence implementation backed by KVStorage.",
54837
- "name": "DefaultWorkspaceState",
54838
- "members": [
54839
- {
54840
- "kind": "field",
54841
- "name": "STORAGE_PREFIX",
54842
- "type": {
54843
- "text": "string"
54844
- },
54845
- "privacy": "private",
54846
- "readonly": true,
54847
- "default": "'workspace_'"
54848
- },
54849
- {
54850
- "kind": "field",
54851
- "name": "WORKSPACES_LIST_KEY",
54852
- "type": {
54853
- "text": "string"
54854
- },
54855
- "privacy": "private",
54856
- "readonly": true,
54857
- "default": "'workspaces_list'"
54858
- },
54859
- {
54860
- "kind": "field",
54861
- "name": "currentWorkspace",
54862
- "type": {
54863
- "text": "SavedWorkspace | null"
54864
- },
54865
- "privacy": "private",
54866
- "default": "null"
54867
- },
54868
- {
54869
- "kind": "method",
54870
- "name": "getCurrentUsername",
54871
- "privacy": "private",
54872
- "return": {
54873
- "type": {
54874
- "text": "string"
54875
- }
54876
- }
54877
- },
54878
- {
54879
- "kind": "method",
54880
- "name": "getWorkspaceStorageKey",
54881
- "privacy": "private",
54882
- "return": {
54883
- "type": {
54884
- "text": "string"
54885
- }
54886
- },
54887
- "parameters": [
54888
- {
54889
- "name": "workspaceName",
54890
- "type": {
54891
- "text": "string"
54892
- }
54893
- }
54894
- ]
54895
- },
54896
- {
54897
- "kind": "method",
54898
- "name": "getWorkspacesListKey",
54899
- "privacy": "private",
54900
- "return": {
54901
- "type": {
54902
- "text": "string"
54903
- }
54904
- }
54905
- },
54906
- {
54907
- "kind": "method",
54908
- "name": "saveWorkspace",
54909
- "return": {
54910
- "type": {
54911
- "text": "Promise<void>"
54912
- }
54913
- },
54914
- "parameters": [
54915
- {
54916
- "name": "workspaceName",
54917
- "type": {
54918
- "text": "string"
54919
- }
54920
- },
54921
- {
54922
- "name": "layouts",
54923
- "type": {
54924
- "text": "SavedLayout[]"
54925
- }
54926
- },
54927
- {
54928
- "name": "grids",
54929
- "type": {
54930
- "text": "SavedGridSettings[]"
54931
- }
54932
- },
54933
- {
54934
- "name": "filters",
54935
- "type": {
54936
- "text": "SavedFilterValue[]"
54937
- }
54938
- },
54939
- {
54940
- "name": "description",
54941
- "optional": true,
54942
- "type": {
54943
- "text": "string"
54944
- }
54945
- }
54946
- ]
54947
- },
54948
- {
54949
- "kind": "method",
54950
- "name": "loadWorkspace",
54951
- "return": {
54952
- "type": {
54953
- "text": "Promise<SavedWorkspace | null>"
54954
- }
54955
- },
54956
- "parameters": [
54957
- {
54958
- "name": "workspaceName",
54959
- "type": {
54960
- "text": "string"
54961
- }
54962
- }
54963
- ]
54964
- },
54965
- {
54966
- "kind": "method",
54967
- "name": "getWorkspace",
54968
- "privacy": "private",
54969
- "return": {
54970
- "type": {
54971
- "text": "Promise<SavedWorkspace | null>"
54972
- }
54973
- },
54974
- "parameters": [
54975
- {
54976
- "name": "workspaceName",
54977
- "type": {
54978
- "text": "string"
54979
- }
54980
- }
54981
- ]
54982
- },
54983
- {
54984
- "kind": "method",
54985
- "name": "getCurrentWorkspace",
54986
- "return": {
54987
- "type": {
54988
- "text": "SavedWorkspace | null"
54989
- }
54990
- }
54991
- },
54992
- {
54993
- "kind": "method",
54994
- "name": "setCurrentWorkspace",
54995
- "return": {
54996
- "type": {
54997
- "text": "void"
54998
- }
54999
- },
55000
- "parameters": [
55001
- {
55002
- "name": "workspace",
55003
- "type": {
55004
- "text": "SavedWorkspace | null"
55005
- }
55006
- }
55007
- ]
55008
- },
55009
- {
55010
- "kind": "method",
55011
- "name": "getSavedWorkspaces",
55012
- "return": {
55013
- "type": {
55014
- "text": "Promise<SavedWorkspace[]>"
55015
- }
55016
- }
55017
- },
55018
- {
55019
- "kind": "method",
55020
- "name": "deleteWorkspace",
55021
- "return": {
55022
- "type": {
55023
- "text": "Promise<void>"
55024
- }
55025
- },
55026
- "parameters": [
55027
- {
55028
- "name": "workspaceName",
55029
- "type": {
55030
- "text": "string"
55031
- }
55032
- }
55033
- ]
55034
- },
55035
- {
55036
- "kind": "method",
55037
- "name": "updateWorkspacesList",
55038
- "privacy": "private",
55039
- "return": {
55040
- "type": {
55041
- "text": "Promise<void>"
55042
- }
55043
- },
55044
- "parameters": [
55045
- {
55046
- "name": "workspaceName",
55047
- "type": {
55048
- "text": "string"
55049
- }
55050
- }
55051
- ]
55052
- },
55053
- {
55054
- "kind": "method",
55055
- "name": "removeFromWorkspacesList",
55056
- "privacy": "private",
55057
- "return": {
55058
- "type": {
55059
- "text": "Promise<void>"
55060
- }
55061
- },
55062
- "parameters": [
55063
- {
55064
- "name": "workspaceName",
55065
- "type": {
55066
- "text": "string"
55067
- }
55068
- }
55069
- ]
55070
- }
55071
- ]
55072
- },
55073
- {
55074
- "kind": "variable",
55075
- "name": "WorkspaceState",
55076
- "description": "DI token for workspace state.",
55077
- "privacy": "public"
55078
- }
55079
- ],
55080
- "exports": [
55081
- {
55082
- "kind": "js",
55083
- "name": "DefaultWorkspaceState",
55084
- "declaration": {
55085
- "name": "DefaultWorkspaceState",
55086
- "module": "src/workspace/workspace-state.ts"
55087
- }
55088
- },
55089
- {
55090
- "kind": "js",
55091
- "name": "WorkspaceState",
55092
- "declaration": {
55093
- "name": "WorkspaceState",
55094
- "module": "src/workspace/workspace-state.ts"
55095
- }
55096
- }
55097
- ]
55098
- },
55099
- {
55100
- "kind": "javascript-module",
55101
- "path": "src/workspace/workspace-state.types.ts",
55102
- "declarations": [],
55103
- "exports": []
55104
- },
55105
- {
55106
- "kind": "javascript-module",
55107
- "path": "src/workspace/workspace.types.ts",
55108
- "declarations": [],
55109
- "exports": []
55110
- },
55111
- {
55112
- "kind": "javascript-module",
55113
- "path": "src/workspace-manager/index.ts",
55114
- "declarations": [],
55115
- "exports": [
55116
- {
55117
- "kind": "js",
55118
- "name": "*",
55119
- "declaration": {
55120
- "name": "*",
55121
- "package": "./workspace-manager"
55122
- }
55123
- }
55124
- ]
55125
- },
55126
- {
55127
- "kind": "javascript-module",
55128
- "path": "src/workspace-manager/workspace-manager.styles.ts",
55129
- "declarations": [
55130
- {
55131
- "kind": "variable",
55132
- "name": "WorkspaceManagerStyles",
55133
- "default": "css`\n .workspace-manager {\n display: flex;\n gap: 10px;\n align-items: center;\n }\n\n .dialog-content {\n padding: 16px;\n min-width: 400px;\n max-width: 400px;\n display: flex;\n flex-direction: column;\n max-height: 90vh;\n overflow: hidden;\n }\n\n .button-group {\n display: flex;\n gap: 8px;\n justify-content: flex-end;\n }\n\n .workspace-list {\n display: flex;\n flex-direction: column;\n gap: 12px;\n max-height: 400px;\n overflow-y: auto;\n margin: 10px 0;\n align-items: unset;\n }\n\n rapid-label {\n margin-bottom: 10px;\n display: block;\n }\n\n .empty-state {\n padding: 24px;\n text-align: center;\n color: var(--neutral-foreground-hint);\n }\n\n .save-mode-selector {\n margin-bottom: 16px;\n }\n\n .warning-message {\n margin: 12px 0;\n padding: 12px;\n border: 1px solid var(--warning-color);\n border-radius: 4px;\n font-size: 14px;\n }\n\n .workspace-item {\n padding: 12px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n cursor: pointer;\n display: flex;\n align-items: center;\n }\n\n .workspace-item:hover {\n background: var(--neutral-fill-hover);\n }\n\n .workspace-item::part(control) {\n margin-top: 2px;\n }\n\n .workspace-info {\n flex: 1;\n margin-left: 8px;\n }\n\n .workspace-name {\n font-weight: 600;\n margin-bottom: 4px;\n display: flex;\n align-items: center;\n gap: 8px;\n }\n\n .workspace-date {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description {\n font-size: 12px;\n color: var(--neutral-foreground-hint);\n margin-top: 4px;\n white-space: pre-wrap;\n word-break: break-word;\n line-height: 1.4;\n }\n\n .workspace-description-input {\n width: 100%;\n min-height: 60px;\n padding: 8px 12px;\n margin-bottom: 16px;\n font-family: inherit;\n font-size: 14px;\n border: 1px solid var(--neutral-stroke-rest);\n border-radius: 4px;\n background: var(--neutral-fill-rest);\n color: var(--neutral-foreground-rest);\n resize: vertical;\n box-sizing: border-box;\n }\n\n .workspace-description-input::placeholder {\n color: var(--neutral-foreground-hint);\n }\n\n .workspace-description-input:focus {\n outline: none;\n border-color: var(--accent-fill-rest);\n }\n\n .loading-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 24px;\n }\n\n .save-field {\n margin-bottom: 20px;\n }\n`"
55134
- }
55135
- ],
55136
- "exports": [
55137
- {
55138
- "kind": "js",
55139
- "name": "WorkspaceManagerStyles",
55140
- "declaration": {
55141
- "name": "WorkspaceManagerStyles",
55142
- "module": "src/workspace-manager/workspace-manager.styles.ts"
55143
- }
55144
- }
55145
- ]
55146
- },
55147
- {
55148
- "kind": "javascript-module",
55149
- "path": "src/workspace-manager/workspace-manager.template.ts",
55150
- "declarations": [
55151
- {
55152
- "kind": "variable",
55153
- "name": "WORKSPACE_DESCRIPTION_MAX",
55154
- "type": {
55155
- "text": "number"
55156
- },
55157
- "default": "200"
55158
- },
55159
- {
55160
- "kind": "variable",
55161
- "name": "WorkspaceManagerTemplate",
55162
- "default": "html<WorkspaceManager>`\n <div class=\"workspace-manager\">\n <rapid-button @click=${(x) => x.openSaveDialog()}>\n <rapid-icon name=\"download\"></rapid-icon>\n Save Workspace\n </rapid-button>\n <rapid-button @click=${(x) => x.openLoadDialog()}>\n <rapid-icon name=\"upload\"></rapid-icon>\n Load Workspace\n </rapid-button>\n </div>\n <rapid-modal ${ref('saveModal')}>\n <h2 slot=\"top\">Save Workspace</h2>\n <div class=\"dialog-content\">\n <div class=\"save-mode-selector\">\n <rapid-segmented-control value=\"${sync((x) => x.saveMode)}\">\n <rapid-segmented-item value=\"create\">Create</rapid-segmented-item>\n <rapid-segmented-item value=\"overwrite\">Overwrite</rapid-segmented-item>\n ${when(\n (x) => x.canShareWorkspace,\n html<WorkspaceManager>`\n <rapid-segmented-item value=\"shared\">Share</rapid-segmented-item>\n `,\n )}\n </rapid-segmented-control>\n </div>\n ${when(\n (x) => x.saveMode === 'create',\n html<WorkspaceManager>`\n <rapid-label>Workspace Name:</rapid-label>\n <rapid-text-field\n class=\"save-field\"\n :value=${(x) => x.workspaceName}\n @input=${(x, c) => (x.workspaceName = (c.event.target as HTMLInputElement).value)}\n placeholder=\"Enter workspace name\"\n ></rapid-text-field>\n <rapid-label>\n Description (optional, max ${WORKSPACE_DESCRIPTION_MAX} characters):\n </rapid-label>\n <textarea\n class=\"save-field workspace-description-input\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></textarea>\n ${when(\n (x) => x.workspaceName && x.isWorkspaceExisting(x.workspaceName),\n html`\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n A workspace with this name already exists. Use \"Overwrite Existing Workspace\" to\n replace it.\n </div>\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.saveMode === 'overwrite',\n html<WorkspaceManager>`\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to overwrite</div>\n `,\n )}\n <rapid-label>Select Workspace to Overwrite:</rapid-label>\n <rapid-radio-group\n class=\"workspace-list\"\n value=${sync((x) => x.selectedWorkspaceToOverwrite)}\n orientation=\"vertical\"\n >\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <rapid-radio value=${(x) => x.name} class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(x) => x.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(x) => new Date(x.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n </rapid-radio>\n `,\n )}\n </rapid-radio-group>\n <rapid-label>Description (optional):</rapid-label>\n <textarea\n class=\"save-field workspace-description-input\"\n :value=${(x) => x.workspaceDescription}\n @input=${(x, c) =>\n x.updateWorkspaceDescription((c.event.target as HTMLTextAreaElement).value)}\n placeholder=\"Add a description for this workspace\"\n rows=\"3\"\n ></textarea>\n <div class=\"warning-message\">\n <rapid-icon name=\"triangle-exclamation\"></rapid-icon>\n This will permanently replace the selected workspace. This action cannot be undone.\n </div>\n `,\n )}\n ${when(\n (x) => x.saveMode === 'shared',\n html<WorkspaceManager>`\n <h3>Share existing workspace:</h3>\n ${whenElse(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces to share</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.shareExistingWorkspace(w.name)}\n >\n Share\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n <h3>My Shared Workspaces</h3>\n ${whenElse(\n (x) =>\n x.sharedWorkspaces.filter((w) => w.userName === x.auth?.loggedUserResult?.username)\n .length === 0,\n html`\n <div class=\"empty-state\">You have not shared any workspaces</div>\n `,\n html<WorkspaceManager>`\n <div class=\"workspace-list\">\n ${repeat(\n (x) =>\n x.sharedWorkspaces.filter(\n (w) => w.userName === x.auth?.loggedUserResult?.username,\n ),\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared on\n ${(w) => new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.modifySharedWorkspace(w)}\n >\n Save\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteSharedWorkspace(w)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button\n @click=${(x) => x.saveWorkspace()}\n appearance=\"primary\"\n ?disabled=${(x) =>\n (x.saveMode === 'create' && !x.workspaceName.trim()) ||\n (x.saveMode === 'overwrite' && !x.selectedWorkspaceToOverwrite) ||\n x.saveMode === 'shared' ||\n (x.workspaceName && x.isWorkspaceExisting(x.workspaceName))}\n >\n ${(x) =>\n x.saveMode === 'create' ? 'Create' : x.saveMode === 'overwrite' ? 'Overwrite' : 'Save'}\n </rapid-button>\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeSaveDialog()}>\n Cancel\n </rapid-button>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('sharedWorkspaceDialogBoundary')}></div>\n </div>\n </rapid-modal>\n <rapid-modal ${ref('loadModal')}>\n <h2 slot=\"top\">Load Workspace</h2>\n <div class=\"dialog-content\">\n ${when(\n (x) => x.applyingWorkspace || x.isLoading,\n html`\n <div class=\"loading-container\">\n <div>Loading...</div>\n </div>\n `,\n )}\n ${when(\n (x) => !x.applyingWorkspace,\n html<WorkspaceManager>`\n <rapid-segmented-control value=\"${sync((x) => x.loadMode)}\">\n <rapid-segmented-item value=\"MY\">My Workspaces</rapid-segmented-item>\n <rapid-segmented-item value=\"SHARED\">Shared Workspaces</rapid-segmented-item>\n </rapid-segmented-control>\n ${when(\n (x) => x.loadMode === 'MY',\n html`\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.savedWorkspaces,\n html<SavedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Saved: ${(w) => new Date(w.savedAt).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SavedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadWorkspace(w.name)}\n >\n Load\n </rapid-button>\n <rapid-button\n appearance=\"danger\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.confirmDeleteWorkspace(w.name)}\n >\n Delete\n </rapid-button>\n </div>\n </div>\n `,\n )}\n ${when(\n (x) => x.savedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No saved workspaces found</div>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => x.loadMode === 'SHARED',\n html`\n <div class=\"workspace-section\">\n <div class=\"workspace-list\">\n ${repeat(\n (x) => x.sharedWorkspaces,\n html<SharedWorkspace>`\n <div class=\"workspace-item\">\n <div class=\"workspace-info\">\n <div class=\"workspace-name\">${(w) => w.name}</div>\n <div class=\"workspace-date\">\n Shared by ${(w) => w.userName} ·\n ${(w) =>\n new Date((w.modifiedOn || w.createdOn) as any).toLocaleString()}\n </div>\n ${when(\n (w) => w.description,\n html<SharedWorkspace>`\n <div class=\"workspace-description\">${(w) => w.description}</div>\n `,\n )}\n </div>\n <div class=\"button-group\">\n <rapid-button\n appearance=\"primary\"\n @click=${(w, c: ExecutionContext<WorkspaceManager>) =>\n c.parent.loadSharedWorkspace(w)}\n >\n Load\n </rapid-button>\n </div>\n </div>\n `,\n )}\n </div>\n ${when(\n (x) => x.sharedWorkspaces.length === 0,\n html`\n <div class=\"empty-state\">No shared workspaces available</div>\n `,\n )}\n </div>\n `,\n )}\n `,\n )}\n <div class=\"button-group\">\n <rapid-button appearance=\"outline\" @click=${(x) => x.closeLoadDialog()}>Close</rapid-button>\n </div>\n </div>\n <div class=\"workspace-dialog-boundary\" ${ref('dialogBoundary')}></div>\n </rapid-modal>\n`"
55163
- }
55164
- ],
55165
- "exports": [
55166
- {
55167
- "kind": "js",
55168
- "name": "WORKSPACE_DESCRIPTION_MAX",
55169
- "declaration": {
55170
- "name": "WORKSPACE_DESCRIPTION_MAX",
55171
- "module": "src/workspace-manager/workspace-manager.template.ts"
55172
- }
55173
- },
55174
- {
55175
- "kind": "js",
55176
- "name": "WorkspaceManagerTemplate",
55177
- "declaration": {
55178
- "name": "WorkspaceManagerTemplate",
55179
- "module": "src/workspace-manager/workspace-manager.template.ts"
55180
- }
55181
- }
55182
- ]
55183
- },
55184
- {
55185
- "kind": "javascript-module",
55186
- "path": "src/workspace-manager/workspace-manager.ts",
55187
- "declarations": [
55188
- {
55189
- "kind": "class",
55190
- "description": "",
55191
- "name": "WorkspaceManager",
55192
- "members": [
55193
- {
55194
- "kind": "field",
55195
- "name": "workspaceName",
55196
- "type": {
55197
- "text": "string"
55198
- },
55199
- "default": "''"
55200
- },
55201
- {
55202
- "kind": "field",
55203
- "name": "workspaceDescription",
55204
- "type": {
55205
- "text": "string"
55206
- },
55207
- "default": "''"
55208
- },
55209
- {
55210
- "kind": "field",
55211
- "name": "savedWorkspaces",
55212
- "type": {
55213
- "text": "SavedWorkspace[]"
55214
- },
55215
- "default": "[]"
55216
- },
55217
- {
55218
- "kind": "field",
55219
- "name": "sharedWorkspaces",
55220
- "type": {
55221
- "text": "SharedWorkspace[]"
55222
- },
55223
- "default": "[]"
55224
- },
55225
- {
55226
- "kind": "field",
55227
- "name": "isLoading",
55228
- "type": {
55229
- "text": "boolean"
55230
- },
55231
- "default": "false"
55232
- },
55233
- {
55234
- "kind": "field",
55235
- "name": "applyingWorkspace",
55236
- "type": {
55237
- "text": "boolean"
55238
- },
55239
- "default": "false"
55240
- },
55241
- {
55242
- "kind": "field",
55243
- "name": "loadMode",
55244
- "type": {
55245
- "text": "LoadMode"
55246
- },
55247
- "default": "'MY'"
55248
- },
55249
- {
55250
- "kind": "field",
55251
- "name": "saveModal",
55252
- "type": {
55253
- "text": "Modal"
55254
- }
55255
- },
55256
- {
55257
- "kind": "field",
55258
- "name": "loadModal",
55259
- "type": {
55260
- "text": "Modal"
55261
- }
55262
- },
55263
- {
55264
- "kind": "field",
55265
- "name": "saveMode",
55266
- "type": {
55267
- "text": "'create' | 'overwrite' | 'shared'"
55268
- },
55269
- "default": "'create'"
55270
- },
55271
- {
55272
- "kind": "field",
55273
- "name": "selectedWorkspaceToOverwrite",
55274
- "type": {
55275
- "text": "string"
55276
- },
55277
- "default": "''"
55278
- },
55279
- {
55280
- "kind": "field",
55281
- "name": "workspaceToShare",
55282
- "type": {
55283
- "text": "string"
55284
- },
55285
- "default": "''"
55286
- },
55287
- {
55288
- "kind": "field",
55289
- "name": "dialogBoundary",
55290
- "type": {
55291
- "text": "HTMLElement"
55292
- }
55293
- },
55294
- {
55295
- "kind": "field",
55296
- "name": "sharedWorkspaceDialogBoundary",
55297
- "type": {
55298
- "text": "HTMLElement"
55299
- }
55300
- },
55301
- {
55302
- "kind": "field",
55303
- "name": "layoutRegistry",
55304
- "type": {
55305
- "text": "LayoutRegistry"
55306
- }
55307
- },
55308
- {
55309
- "kind": "field",
55310
- "name": "gridRegistry",
55311
- "type": {
55312
- "text": "GridRegistry"
55313
- }
55314
- },
55315
- {
55316
- "kind": "field",
55317
- "name": "filterRegistry",
55318
- "type": {
55319
- "text": "FilterRegistry"
55320
- }
55321
- },
55322
- {
55323
- "kind": "field",
55324
- "name": "workspaceState",
55325
- "type": {
55326
- "text": "WorkspaceState"
55327
- }
55328
- },
55329
- {
55330
- "kind": "field",
55331
- "name": "connect",
55332
- "type": {
55333
- "text": "Connect"
55334
- }
55335
- },
55336
- {
55337
- "kind": "field",
55338
- "name": "auth",
55339
- "type": {
55340
- "text": "Auth"
55341
- }
55342
- },
55343
- {
55344
- "kind": "field",
55345
- "name": "canShareWorkspace",
55346
- "type": {
55347
- "text": "boolean"
55348
- }
55349
- },
55350
- {
55351
- "kind": "method",
55352
- "name": "sanitizeDescription",
55353
- "privacy": "private",
55354
- "return": {
55355
- "type": {
55356
- "text": "string"
55357
- }
55358
- },
55359
- "parameters": [
55360
- {
55361
- "name": "input",
55362
- "type": {
55363
- "text": "string"
55364
- }
55365
- }
55366
- ]
55367
- },
55368
- {
55369
- "kind": "method",
55370
- "name": "updateWorkspaceDescription",
55371
- "return": {
55372
- "type": {
55373
- "text": "void"
55374
- }
55375
- },
55376
- "parameters": [
55377
- {
55378
- "name": "raw",
55379
- "type": {
55380
- "text": "string"
55381
- }
55382
- }
55383
- ]
55384
- },
55385
- {
55386
- "kind": "method",
55387
- "name": "setDescriptionFromSelectedWorkspace",
55388
- "privacy": "private",
55389
- "return": {
55390
- "type": {
55391
- "text": "void"
55392
- }
55393
- }
55394
- },
55395
- {
55396
- "kind": "method",
55397
- "name": "refreshSavedWorkspaces",
55398
- "return": {
55399
- "type": {
55400
- "text": "Promise<void>"
55401
- }
55402
- }
55403
- },
55404
- {
55405
- "kind": "method",
55406
- "name": "refreshSharedWorkspaces",
55407
- "return": {
55408
- "type": {
55409
- "text": "Promise<void>"
55410
- }
55411
- }
55412
- },
55413
- {
55414
- "kind": "method",
55415
- "name": "notifyError",
55416
- "privacy": "private",
55417
- "return": {
55418
- "type": {
55419
- "text": "void"
55420
- }
55421
- },
55422
- "parameters": [
55423
- {
55424
- "name": "body",
55425
- "default": "'Error'"
55426
- }
55427
- ]
55428
- },
55429
- {
55430
- "kind": "method",
55431
- "name": "saveWorkspace",
55432
- "return": {
55433
- "type": {
55434
- "text": "Promise<void>"
55435
- }
55436
- }
55437
- },
55438
- {
55439
- "kind": "method",
55440
- "name": "applyWorkspace",
55441
- "privacy": "private",
55442
- "return": {
55443
- "type": {
55444
- "text": "Promise<void>"
55445
- }
55446
- },
55447
- "parameters": [
55448
- {
55449
- "name": "workspace",
55450
- "type": {
55451
- "text": "SavedWorkspace"
55452
- }
55453
- }
55454
- ]
55455
- },
55456
- {
55457
- "kind": "method",
55458
- "name": "loadWorkspace",
55459
- "return": {
55460
- "type": {
55461
- "text": "Promise<void>"
55462
- }
55463
- },
55464
- "parameters": [
55465
- {
55466
- "name": "workspaceName",
55467
- "type": {
55468
- "text": "string"
55469
- }
55470
- }
55471
- ]
55472
- },
55473
- {
55474
- "kind": "method",
55475
- "name": "requestSharedWorkspace",
55476
- "privacy": "private",
55477
- "return": {
55478
- "type": {
55479
- "text": "Promise<any[]>"
55480
- }
55481
- },
55482
- "parameters": [
55483
- {
55484
- "name": "SHARED_WORKSPACE_ID",
55485
- "type": {
55486
- "text": "string"
55487
- }
55488
- }
55489
- ]
55490
- },
55491
- {
55492
- "kind": "method",
55493
- "name": "loadSharedWorkspace",
55494
- "return": {
55495
- "type": {
55496
- "text": "Promise<void>"
55497
- }
55498
- },
55499
- "parameters": [
55500
- {
55501
- "name": "shared",
55502
- "type": {
55503
- "text": "{\n id: string;\n name: string;\n userName: string;\n createdOn?: string | number;\n modifiedOn?: string | number;\n data: string;\n }"
55504
- }
55505
- }
55506
- ]
55507
- },
55508
- {
55509
- "kind": "method",
55510
- "name": "deleteWorkspace",
55511
- "return": {
55512
- "type": {
55513
- "text": "Promise<void>"
55514
- }
55515
- },
55516
- "parameters": [
55517
- {
55518
- "name": "workspaceName",
55519
- "type": {
55520
- "text": "string"
55521
- }
55522
- }
55523
- ]
55524
- },
55525
- {
55526
- "kind": "method",
55527
- "name": "showDeleteConfirmation",
55528
- "privacy": "private",
55529
- "return": {
55530
- "type": {
55531
- "text": "void"
55532
- }
55533
- },
55534
- "parameters": [
55535
- {
55536
- "name": "title",
55537
- "type": {
55538
- "text": "string"
55539
- }
55540
- },
55541
- {
55542
- "name": "body",
55543
- "type": {
55544
- "text": "string"
55545
- }
55546
- },
55547
- {
55548
- "name": "actionFunction",
55549
- "type": {
55550
- "text": "() => void"
55551
- }
55552
- },
55553
- {
55554
- "name": "dialogBoundary",
55555
- "type": {
55556
- "text": "HTMLElement"
55557
- }
55558
- }
55559
- ]
55560
- },
55561
- {
55562
- "kind": "method",
55563
- "name": "confirmDeleteWorkspace",
55564
- "return": {
55565
- "type": {
55566
- "text": "void"
55567
- }
55568
- },
55569
- "parameters": [
55570
- {
55571
- "name": "workspaceName",
55572
- "type": {
55573
- "text": "string"
55574
- }
55575
- }
55576
- ]
55577
- },
55578
- {
55579
- "kind": "method",
55580
- "name": "modifySharedWorkspace",
55581
- "return": {
55582
- "type": {
55583
- "text": "Promise<void>"
55584
- }
55585
- },
55586
- "parameters": [
55587
- {
55588
- "name": "sharedWorkspace",
55589
- "type": {
55590
- "text": "SharedWorkspace"
55591
- }
55592
- }
55593
- ]
55594
- },
55595
- {
55596
- "kind": "method",
55597
- "name": "deleteSharedWorkspace",
55598
- "return": {
55599
- "type": {
55600
- "text": "Promise<void>"
55601
- }
55602
- },
55603
- "parameters": [
55604
- {
55605
- "name": "sharedWorkspace",
55606
- "type": {
55607
- "text": "SharedWorkspace"
55608
- }
55609
- }
55610
- ]
55611
- },
55612
- {
55613
- "kind": "method",
55614
- "name": "confirmDeleteSharedWorkspace",
55615
- "return": {
55616
- "type": {
55617
- "text": "void"
55618
- }
55619
- },
55620
- "parameters": [
55621
- {
55622
- "name": "sharedWorkspace",
55623
- "type": {
55624
- "text": "SharedWorkspace"
55625
- }
55626
- }
55627
- ]
55628
- },
55629
- {
55630
- "kind": "method",
55631
- "name": "shareExistingWorkspace",
55632
- "return": {
55633
- "type": {
55634
- "text": "Promise<void>"
55635
- }
55636
- },
55637
- "parameters": [
55638
- {
55639
- "name": "workspaceName",
55640
- "type": {
55641
- "text": "string"
55642
- }
55643
- }
55644
- ]
55645
- },
55646
- {
55647
- "kind": "method",
55648
- "name": "openSaveDialog",
55649
- "return": {
55650
- "type": {
55651
- "text": "Promise<void>"
55652
- }
55653
- }
55654
- },
55655
- {
55656
- "kind": "method",
55657
- "name": "isWorkspaceExisting",
55658
- "return": {
55659
- "type": {
55660
- "text": "boolean"
55661
- }
55662
- },
55663
- "parameters": [
55664
- {
55665
- "name": "workspaceName",
55666
- "type": {
55667
- "text": "string"
55668
- }
55669
- }
55670
- ]
55671
- },
55672
- {
55673
- "kind": "method",
55674
- "name": "saveModeChanged",
55675
- "return": {
55676
- "type": {
55677
- "text": "void"
55678
- }
55679
- },
55680
- "parameters": [
55681
- {
55682
- "name": "oldValue",
55683
- "type": {
55684
- "text": "string"
55685
- }
55686
- },
55687
- {
55688
- "name": "newValue",
55689
- "type": {
55690
- "text": "string"
55691
- }
55692
- }
55693
- ]
55694
- },
55695
- {
55696
- "kind": "method",
55697
- "name": "selectedWorkspaceToOverwriteChanged",
55698
- "return": {
55699
- "type": {
55700
- "text": "void"
55701
- }
55702
- },
55703
- "parameters": [
55704
- {
55705
- "name": "oldValue",
55706
- "type": {
55707
- "text": "string"
55708
- }
55709
- },
55710
- {
55711
- "name": "newValue",
55712
- "type": {
55713
- "text": "string"
55714
- }
55715
- }
55716
- ]
55717
- },
55718
- {
55719
- "kind": "method",
55720
- "name": "openLoadDialog",
55721
- "return": {
55722
- "type": {
55723
- "text": "void"
55724
- }
55725
- }
55726
- },
55727
- {
55728
- "kind": "method",
55729
- "name": "closeSaveDialog",
55730
- "return": {
55731
- "type": {
55732
- "text": "void"
55733
- }
55734
- }
55735
- },
54209
+ }
54210
+ ]
54211
+ }
54212
+ ],
54213
+ "exports": [
54214
+ {
54215
+ "kind": "js",
54216
+ "name": "tooltip",
54217
+ "declaration": {
54218
+ "name": "tooltip",
54219
+ "module": "src/utils/tooltip.ts"
54220
+ }
54221
+ }
54222
+ ]
54223
+ },
54224
+ {
54225
+ "kind": "javascript-module",
54226
+ "path": "src/utils/validation.ts",
54227
+ "declarations": [
54228
+ {
54229
+ "kind": "function",
54230
+ "name": "isValidString",
54231
+ "return": {
54232
+ "type": {
54233
+ "text": "boolean"
54234
+ }
54235
+ },
54236
+ "parameters": [
55736
54237
  {
55737
- "kind": "method",
55738
- "name": "closeLoadDialog",
55739
- "return": {
55740
- "type": {
55741
- "text": "void"
55742
- }
54238
+ "name": "value",
54239
+ "type": {
54240
+ "text": "any"
55743
54241
  }
55744
- },
54242
+ }
54243
+ ]
54244
+ },
54245
+ {
54246
+ "kind": "function",
54247
+ "name": "isNumeric",
54248
+ "return": {
54249
+ "type": {
54250
+ "text": "boolean"
54251
+ }
54252
+ },
54253
+ "parameters": [
55745
54254
  {
55746
- "kind": "field",
55747
- "name": "_presentation",
54255
+ "name": "value",
55748
54256
  "type": {
55749
- "text": "ComponentPresentation | null | undefined"
55750
- },
55751
- "privacy": "private",
55752
- "default": "void 0",
55753
- "inheritedFrom": {
55754
- "name": "FoundationElement",
55755
- "module": "src/foundation-element/foundation-element.ts"
54257
+ "text": "string"
55756
54258
  }
55757
- },
54259
+ }
54260
+ ]
54261
+ },
54262
+ {
54263
+ "kind": "function",
54264
+ "name": "isInteger",
54265
+ "return": {
54266
+ "type": {
54267
+ "text": "boolean"
54268
+ }
54269
+ },
54270
+ "parameters": [
55758
54271
  {
55759
- "kind": "field",
55760
- "name": "$presentation",
54272
+ "name": "value",
55761
54273
  "type": {
55762
- "text": "ComponentPresentation | null"
55763
- },
55764
- "privacy": "public",
55765
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
55766
- "inheritedFrom": {
55767
- "name": "FoundationElement",
55768
- "module": "src/foundation-element/foundation-element.ts"
54274
+ "text": "string"
55769
54275
  }
55770
- },
54276
+ }
54277
+ ]
54278
+ }
54279
+ ],
54280
+ "exports": [
54281
+ {
54282
+ "kind": "js",
54283
+ "name": "isValidString",
54284
+ "declaration": {
54285
+ "name": "isValidString",
54286
+ "module": "src/utils/validation.ts"
54287
+ }
54288
+ },
54289
+ {
54290
+ "kind": "js",
54291
+ "name": "isNumeric",
54292
+ "declaration": {
54293
+ "name": "isNumeric",
54294
+ "module": "src/utils/validation.ts"
54295
+ }
54296
+ },
54297
+ {
54298
+ "kind": "js",
54299
+ "name": "isInteger",
54300
+ "declaration": {
54301
+ "name": "isInteger",
54302
+ "module": "src/utils/validation.ts"
54303
+ }
54304
+ }
54305
+ ]
54306
+ },
54307
+ {
54308
+ "kind": "javascript-module",
54309
+ "path": "src/ai-criteria-search/validation/criteria-ir.ts",
54310
+ "declarations": [],
54311
+ "exports": []
54312
+ },
54313
+ {
54314
+ "kind": "javascript-module",
54315
+ "path": "src/ai-criteria-search/validation/operator-map.ts",
54316
+ "declarations": [
54317
+ {
54318
+ "kind": "function",
54319
+ "name": "groupsToCriteria",
54320
+ "return": {
54321
+ "type": {
54322
+ "text": "string"
54323
+ }
54324
+ },
54325
+ "parameters": [
55771
54326
  {
55772
- "kind": "field",
55773
- "name": "template",
54327
+ "name": "groups",
55774
54328
  "type": {
55775
- "text": "ElementViewTemplate | void | null"
55776
- },
55777
- "privacy": "public",
55778
- "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.",
55779
- "inheritedFrom": {
55780
- "name": "FoundationElement",
55781
- "module": "src/foundation-element/foundation-element.ts"
54329
+ "text": "CriteriaGroup[]"
55782
54330
  }
55783
- },
54331
+ }
54332
+ ],
54333
+ "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."
54334
+ },
54335
+ {
54336
+ "kind": "variable",
54337
+ "name": "STRING_OPERATORS",
54338
+ "type": {
54339
+ "text": "CriteriaOperator[]"
54340
+ },
54341
+ "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
54342
+ },
54343
+ {
54344
+ "kind": "variable",
54345
+ "name": "NUMERIC_OPERATORS",
54346
+ "type": {
54347
+ "text": "CriteriaOperator[]"
54348
+ },
54349
+ "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
54350
+ },
54351
+ {
54352
+ "kind": "variable",
54353
+ "name": "DATE_OPERATORS",
54354
+ "type": {
54355
+ "text": "CriteriaOperator[]"
54356
+ },
54357
+ "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
54358
+ },
54359
+ {
54360
+ "kind": "variable",
54361
+ "name": "DATETIME_OPERATORS",
54362
+ "type": {
54363
+ "text": "CriteriaOperator[]"
54364
+ },
54365
+ "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
54366
+ }
54367
+ ],
54368
+ "exports": [
54369
+ {
54370
+ "kind": "js",
54371
+ "name": "groupsToCriteria",
54372
+ "declaration": {
54373
+ "name": "groupsToCriteria",
54374
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54375
+ }
54376
+ },
54377
+ {
54378
+ "kind": "js",
54379
+ "name": "STRING_OPERATORS",
54380
+ "declaration": {
54381
+ "name": "STRING_OPERATORS",
54382
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54383
+ }
54384
+ },
54385
+ {
54386
+ "kind": "js",
54387
+ "name": "NUMERIC_OPERATORS",
54388
+ "declaration": {
54389
+ "name": "NUMERIC_OPERATORS",
54390
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54391
+ }
54392
+ },
54393
+ {
54394
+ "kind": "js",
54395
+ "name": "DATE_OPERATORS",
54396
+ "declaration": {
54397
+ "name": "DATE_OPERATORS",
54398
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54399
+ }
54400
+ },
54401
+ {
54402
+ "kind": "js",
54403
+ "name": "DATETIME_OPERATORS",
54404
+ "declaration": {
54405
+ "name": "DATETIME_OPERATORS",
54406
+ "module": "src/ai-criteria-search/validation/operator-map.ts"
54407
+ }
54408
+ }
54409
+ ]
54410
+ },
54411
+ {
54412
+ "kind": "javascript-module",
54413
+ "path": "src/ai-criteria-search/validation/schema-validator.ts",
54414
+ "declarations": [
54415
+ {
54416
+ "kind": "function",
54417
+ "name": "validateClauses",
54418
+ "return": {
54419
+ "type": {
54420
+ "text": "ValidationResult"
54421
+ }
54422
+ },
54423
+ "parameters": [
55784
54424
  {
55785
- "kind": "method",
55786
- "name": "templateChanged",
55787
- "privacy": "protected",
55788
- "return": {
55789
- "type": {
55790
- "text": "void"
55791
- }
55792
- },
55793
- "inheritedFrom": {
55794
- "name": "FoundationElement",
55795
- "module": "src/foundation-element/foundation-element.ts"
54425
+ "name": "clauses",
54426
+ "type": {
54427
+ "text": "CriteriaClause[]"
55796
54428
  }
55797
54429
  },
55798
54430
  {
55799
- "kind": "field",
55800
- "name": "styles",
54431
+ "name": "fieldMetadata",
55801
54432
  "type": {
55802
- "text": "ElementStyles | void | null"
55803
- },
55804
- "privacy": "public",
55805
- "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.",
55806
- "inheritedFrom": {
55807
- "name": "FoundationElement",
55808
- "module": "src/foundation-element/foundation-element.ts"
54433
+ "text": "MetadataDetail[] | string[]"
55809
54434
  }
55810
- },
54435
+ }
54436
+ ]
54437
+ },
54438
+ {
54439
+ "kind": "function",
54440
+ "name": "validateGroups",
54441
+ "return": {
54442
+ "type": {
54443
+ "text": "GroupsValidationResult"
54444
+ }
54445
+ },
54446
+ "parameters": [
55811
54447
  {
55812
- "kind": "method",
55813
- "name": "stylesChanged",
55814
- "privacy": "protected",
55815
- "return": {
55816
- "type": {
55817
- "text": "void"
55818
- }
55819
- },
55820
- "inheritedFrom": {
55821
- "name": "FoundationElement",
55822
- "module": "src/foundation-element/foundation-element.ts"
54448
+ "name": "groups",
54449
+ "type": {
54450
+ "text": "CriteriaGroup[]"
55823
54451
  }
55824
54452
  },
55825
54453
  {
55826
- "kind": "method",
55827
- "name": "compose",
55828
- "privacy": "public",
55829
- "static": true,
55830
- "return": {
55831
- "type": {
55832
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
55833
- }
55834
- },
55835
- "parameters": [
55836
- {
55837
- "name": "this",
55838
- "type": {
55839
- "text": "K"
55840
- }
55841
- },
55842
- {
55843
- "name": "elementDefinition",
55844
- "type": {
55845
- "text": "T"
55846
- },
55847
- "description": "The definition of the element to create the registry\nfunction for."
55848
- }
55849
- ],
55850
- "description": "Defines an element registry function with a set of element definition defaults.",
55851
- "inheritedFrom": {
55852
- "name": "FoundationElement",
55853
- "module": "src/foundation-element/foundation-element.ts"
54454
+ "name": "fieldMetadata",
54455
+ "type": {
54456
+ "text": "MetadataDetail[] | string[]"
55854
54457
  }
55855
54458
  }
55856
54459
  ],
55857
- "superclass": {
55858
- "name": "FoundationElement",
55859
- "package": "@microsoft/fast-foundation"
55860
- }
54460
+ "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
55861
54461
  }
55862
54462
  ],
55863
54463
  "exports": [
55864
54464
  {
55865
54465
  "kind": "js",
55866
- "name": "WorkspaceManager",
54466
+ "name": "validateClauses",
55867
54467
  "declaration": {
55868
- "name": "WorkspaceManager",
55869
- "module": "src/workspace-manager/workspace-manager.ts"
54468
+ "name": "validateClauses",
54469
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55870
54470
  }
55871
54471
  },
55872
54472
  {
55873
- "kind": "custom-element-definition",
55874
- "name": "workspace-manager",
54473
+ "kind": "js",
54474
+ "name": "validateGroups",
55875
54475
  "declaration": {
55876
- "name": "WorkspaceManager",
55877
- "module": "src/workspace-manager/workspace-manager.ts"
54476
+ "name": "validateGroups",
54477
+ "module": "src/ai-criteria-search/validation/schema-validator.ts"
55878
54478
  }
55879
54479
  }
55880
54480
  ]
@@ -57251,181 +55851,6 @@
57251
55851
  "declarations": [],
57252
55852
  "exports": []
57253
55853
  },
57254
- {
57255
- "kind": "javascript-module",
57256
- "path": "src/ai-criteria-search/validation/criteria-ir.ts",
57257
- "declarations": [],
57258
- "exports": []
57259
- },
57260
- {
57261
- "kind": "javascript-module",
57262
- "path": "src/ai-criteria-search/validation/operator-map.ts",
57263
- "declarations": [
57264
- {
57265
- "kind": "function",
57266
- "name": "groupsToCriteria",
57267
- "return": {
57268
- "type": {
57269
- "text": "string"
57270
- }
57271
- },
57272
- "parameters": [
57273
- {
57274
- "name": "groups",
57275
- "type": {
57276
- "text": "CriteriaGroup[]"
57277
- }
57278
- }
57279
- ],
57280
- "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."
57281
- },
57282
- {
57283
- "kind": "variable",
57284
- "name": "STRING_OPERATORS",
57285
- "type": {
57286
- "text": "CriteriaOperator[]"
57287
- },
57288
- "default": "[\n 'contains',\n 'equals',\n 'startsWith',\n 'endsWith',\n 'notEqual',\n]"
57289
- },
57290
- {
57291
- "kind": "variable",
57292
- "name": "NUMERIC_OPERATORS",
57293
- "type": {
57294
- "text": "CriteriaOperator[]"
57295
- },
57296
- "default": "[\n 'equals',\n 'greaterThan',\n 'lessThan',\n 'greaterThanOrEqual',\n 'lessThanOrEqual',\n 'notEqual',\n]"
57297
- },
57298
- {
57299
- "kind": "variable",
57300
- "name": "DATE_OPERATORS",
57301
- "type": {
57302
- "text": "CriteriaOperator[]"
57303
- },
57304
- "default": "[\n 'dateIsToday',\n 'dateIsAfter',\n 'dateIsBefore',\n 'dateIsEqual',\n 'dateIsGreaterEqual',\n 'dateIsLessEqual',\n]"
57305
- },
57306
- {
57307
- "kind": "variable",
57308
- "name": "DATETIME_OPERATORS",
57309
- "type": {
57310
- "text": "CriteriaOperator[]"
57311
- },
57312
- "default": "[\n 'dateTimeIsAfter',\n 'dateTimeIsBefore',\n 'dateTimeIsGreaterEqual',\n 'dateTimeIsLessEqual',\n]"
57313
- }
57314
- ],
57315
- "exports": [
57316
- {
57317
- "kind": "js",
57318
- "name": "groupsToCriteria",
57319
- "declaration": {
57320
- "name": "groupsToCriteria",
57321
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57322
- }
57323
- },
57324
- {
57325
- "kind": "js",
57326
- "name": "STRING_OPERATORS",
57327
- "declaration": {
57328
- "name": "STRING_OPERATORS",
57329
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57330
- }
57331
- },
57332
- {
57333
- "kind": "js",
57334
- "name": "NUMERIC_OPERATORS",
57335
- "declaration": {
57336
- "name": "NUMERIC_OPERATORS",
57337
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57338
- }
57339
- },
57340
- {
57341
- "kind": "js",
57342
- "name": "DATE_OPERATORS",
57343
- "declaration": {
57344
- "name": "DATE_OPERATORS",
57345
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57346
- }
57347
- },
57348
- {
57349
- "kind": "js",
57350
- "name": "DATETIME_OPERATORS",
57351
- "declaration": {
57352
- "name": "DATETIME_OPERATORS",
57353
- "module": "src/ai-criteria-search/validation/operator-map.ts"
57354
- }
57355
- }
57356
- ]
57357
- },
57358
- {
57359
- "kind": "javascript-module",
57360
- "path": "src/ai-criteria-search/validation/schema-validator.ts",
57361
- "declarations": [
57362
- {
57363
- "kind": "function",
57364
- "name": "validateClauses",
57365
- "return": {
57366
- "type": {
57367
- "text": "ValidationResult"
57368
- }
57369
- },
57370
- "parameters": [
57371
- {
57372
- "name": "clauses",
57373
- "type": {
57374
- "text": "CriteriaClause[]"
57375
- }
57376
- },
57377
- {
57378
- "name": "fieldMetadata",
57379
- "type": {
57380
- "text": "MetadataDetail[] | string[]"
57381
- }
57382
- }
57383
- ]
57384
- },
57385
- {
57386
- "kind": "function",
57387
- "name": "validateGroups",
57388
- "return": {
57389
- "type": {
57390
- "text": "GroupsValidationResult"
57391
- }
57392
- },
57393
- "parameters": [
57394
- {
57395
- "name": "groups",
57396
- "type": {
57397
- "text": "CriteriaGroup[]"
57398
- }
57399
- },
57400
- {
57401
- "name": "fieldMetadata",
57402
- "type": {
57403
- "text": "MetadataDetail[] | string[]"
57404
- }
57405
- }
57406
- ],
57407
- "description": "Validates groups of criteria clauses. Each group's clauses are validated\nusing the same per-clause logic as validateClauses."
57408
- }
57409
- ],
57410
- "exports": [
57411
- {
57412
- "kind": "js",
57413
- "name": "validateClauses",
57414
- "declaration": {
57415
- "name": "validateClauses",
57416
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57417
- }
57418
- },
57419
- {
57420
- "kind": "js",
57421
- "name": "validateGroups",
57422
- "declaration": {
57423
- "name": "validateGroups",
57424
- "module": "src/ai-criteria-search/validation/schema-validator.ts"
57425
- }
57426
- }
57427
- ]
57428
- },
57429
55854
  {
57430
55855
  "kind": "javascript-module",
57431
55856
  "path": "src/environment-indicator/utils/configure.ts",
@@ -58933,325 +57358,6 @@
58933
57358
  }
58934
57359
  ]
58935
57360
  },
58936
- {
58937
- "kind": "javascript-module",
58938
- "path": "src/workspace/grid-register/grid-register.template.ts",
58939
- "declarations": [
58940
- {
58941
- "kind": "variable",
58942
- "name": "GridRegisterTemplate",
58943
- "type": {
58944
- "text": "ViewTemplate<GridRegister>"
58945
- },
58946
- "default": "html`\n <slot></slot>\n`"
58947
- }
58948
- ],
58949
- "exports": [
58950
- {
58951
- "kind": "js",
58952
- "name": "GridRegisterTemplate",
58953
- "declaration": {
58954
- "name": "GridRegisterTemplate",
58955
- "module": "src/workspace/grid-register/grid-register.template.ts"
58956
- }
58957
- }
58958
- ]
58959
- },
58960
- {
58961
- "kind": "javascript-module",
58962
- "path": "src/workspace/grid-register/grid-register.ts",
58963
- "declarations": [
58964
- {
58965
- "kind": "class",
58966
- "description": "",
58967
- "name": "GridRegister",
58968
- "members": [
58969
- {
58970
- "kind": "field",
58971
- "name": "gridKey",
58972
- "type": {
58973
- "text": "string"
58974
- }
58975
- },
58976
- {
58977
- "kind": "field",
58978
- "name": "gridRegistry",
58979
- "type": {
58980
- "text": "GridRegistry"
58981
- }
58982
- },
58983
- {
58984
- "kind": "field",
58985
- "name": "workspaceState",
58986
- "type": {
58987
- "text": "WorkspaceState"
58988
- }
58989
- },
58990
- {
58991
- "kind": "field",
58992
- "name": "gridElement",
58993
- "type": {
58994
- "text": "HTMLElement | null"
58995
- },
58996
- "privacy": "private",
58997
- "default": "null"
58998
- },
58999
- {
59000
- "kind": "field",
59001
- "name": "gridApi",
59002
- "type": {
59003
- "text": "GridApi | null"
59004
- },
59005
- "privacy": "private",
59006
- "default": "null"
59007
- },
59008
- {
59009
- "kind": "field",
59010
- "name": "columnApi",
59011
- "type": {
59012
- "text": "ColumnApi | null"
59013
- },
59014
- "privacy": "private",
59015
- "default": "null"
59016
- },
59017
- {
59018
- "kind": "field",
59019
- "name": "workspaceSettingsApplied",
59020
- "type": {
59021
- "text": "boolean"
59022
- },
59023
- "privacy": "private",
59024
- "default": "false"
59025
- },
59026
- {
59027
- "kind": "method",
59028
- "name": "findAndRegisterGrid",
59029
- "privacy": "private",
59030
- "return": {
59031
- "type": {
59032
- "text": "void"
59033
- }
59034
- }
59035
- },
59036
- {
59037
- "kind": "field",
59038
- "name": "handleGridReady",
59039
- "privacy": "private",
59040
- "readonly": true
59041
- },
59042
- {
59043
- "kind": "method",
59044
- "name": "attachToGridApis",
59045
- "privacy": "private",
59046
- "return": {
59047
- "type": {
59048
- "text": "void"
59049
- }
59050
- }
59051
- },
59052
- {
59053
- "kind": "method",
59054
- "name": "detachFromGridApis",
59055
- "privacy": "private",
59056
- "return": {
59057
- "type": {
59058
- "text": "void"
59059
- }
59060
- }
59061
- },
59062
- {
59063
- "kind": "method",
59064
- "name": "loadWorkspaceSettings",
59065
- "privacy": "private",
59066
- "return": {
59067
- "type": {
59068
- "text": "Promise<void>"
59069
- }
59070
- },
59071
- "parameters": [
59072
- {
59073
- "name": "options",
59074
- "optional": true,
59075
- "type": {
59076
- "text": "{ applyColumns?: boolean }"
59077
- }
59078
- }
59079
- ]
59080
- },
59081
- {
59082
- "kind": "method",
59083
- "name": "loadWorkspaceColumnState",
59084
- "privacy": "private",
59085
- "return": {
59086
- "type": {
59087
- "text": "Promise<void>"
59088
- }
59089
- }
59090
- }
59091
- ],
59092
- "attributes": [
59093
- {
59094
- "name": "grid-key",
59095
- "type": {
59096
- "text": "string"
59097
- },
59098
- "fieldName": "gridKey"
59099
- }
59100
- ],
59101
- "superclass": {
59102
- "name": "HTMLElement"
59103
- },
59104
- "customElement": true
59105
- }
59106
- ],
59107
- "exports": [
59108
- {
59109
- "kind": "js",
59110
- "name": "GridRegister",
59111
- "declaration": {
59112
- "name": "GridRegister",
59113
- "module": "src/workspace/grid-register/grid-register.ts"
59114
- }
59115
- },
59116
- {
59117
- "kind": "custom-element-definition",
59118
- "declaration": {
59119
- "name": "GridRegister",
59120
- "module": "src/workspace/grid-register/grid-register.ts"
59121
- }
59122
- }
59123
- ]
59124
- },
59125
- {
59126
- "kind": "javascript-module",
59127
- "path": "src/workspace/grid-register/index.ts",
59128
- "declarations": [],
59129
- "exports": [
59130
- {
59131
- "kind": "js",
59132
- "name": "*",
59133
- "declaration": {
59134
- "name": "*",
59135
- "package": "./grid-register"
59136
- }
59137
- }
59138
- ]
59139
- },
59140
- {
59141
- "kind": "javascript-module",
59142
- "path": "src/workspace/layout-wrapper/index.ts",
59143
- "declarations": [],
59144
- "exports": [
59145
- {
59146
- "kind": "js",
59147
- "name": "*",
59148
- "declaration": {
59149
- "name": "*",
59150
- "package": "./layout-wrapper"
59151
- }
59152
- }
59153
- ]
59154
- },
59155
- {
59156
- "kind": "javascript-module",
59157
- "path": "src/workspace/layout-wrapper/layout-wrapper.template.ts",
59158
- "declarations": [
59159
- {
59160
- "kind": "variable",
59161
- "name": "LayoutWrapperTemplate",
59162
- "type": {
59163
- "text": "ViewTemplate<LayoutWrapper>"
59164
- },
59165
- "default": "html`\n <slot></slot>\n`"
59166
- }
59167
- ],
59168
- "exports": [
59169
- {
59170
- "kind": "js",
59171
- "name": "LayoutWrapperTemplate",
59172
- "declaration": {
59173
- "name": "LayoutWrapperTemplate",
59174
- "module": "src/workspace/layout-wrapper/layout-wrapper.template.ts"
59175
- }
59176
- }
59177
- ]
59178
- },
59179
- {
59180
- "kind": "javascript-module",
59181
- "path": "src/workspace/layout-wrapper/layout-wrapper.ts",
59182
- "declarations": [
59183
- {
59184
- "kind": "class",
59185
- "description": "",
59186
- "name": "LayoutWrapper",
59187
- "members": [
59188
- {
59189
- "kind": "field",
59190
- "name": "layoutKey",
59191
- "type": {
59192
- "text": "string"
59193
- }
59194
- },
59195
- {
59196
- "kind": "field",
59197
- "name": "layoutRegistry",
59198
- "type": {
59199
- "text": "LayoutRegistry"
59200
- }
59201
- },
59202
- {
59203
- "kind": "field",
59204
- "name": "layoutElement",
59205
- "type": {
59206
- "text": "any | null"
59207
- },
59208
- "privacy": "private",
59209
- "default": "null"
59210
- },
59211
- {
59212
- "kind": "method",
59213
- "name": "findAndRegisterLayout",
59214
- "privacy": "private",
59215
- "return": {
59216
- "type": {
59217
- "text": "void"
59218
- }
59219
- }
59220
- }
59221
- ],
59222
- "attributes": [
59223
- {
59224
- "name": "layout-key",
59225
- "type": {
59226
- "text": "string"
59227
- },
59228
- "fieldName": "layoutKey"
59229
- }
59230
- ],
59231
- "superclass": {
59232
- "name": "HTMLElement"
59233
- },
59234
- "customElement": true
59235
- }
59236
- ],
59237
- "exports": [
59238
- {
59239
- "kind": "js",
59240
- "name": "LayoutWrapper",
59241
- "declaration": {
59242
- "name": "LayoutWrapper",
59243
- "module": "src/workspace/layout-wrapper/layout-wrapper.ts"
59244
- }
59245
- },
59246
- {
59247
- "kind": "custom-element-definition",
59248
- "declaration": {
59249
- "name": "LayoutWrapper",
59250
- "module": "src/workspace/layout-wrapper/layout-wrapper.ts"
59251
- }
59252
- }
59253
- ]
59254
- },
59255
57361
  {
59256
57362
  "kind": "javascript-module",
59257
57363
  "path": "src/_config/styles/external/index.ts",