@genesislcap/foundation-utils 14.89.0 → 14.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -341,6 +341,59 @@
341
341
  }
342
342
  ]
343
343
  },
344
+ {
345
+ "kind": "javascript-module",
346
+ "path": "src/decorators/index.ts",
347
+ "declarations": [],
348
+ "exports": [
349
+ {
350
+ "kind": "js",
351
+ "name": "*",
352
+ "declaration": {
353
+ "name": "*",
354
+ "package": "./renderOnChange"
355
+ }
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "kind": "javascript-module",
361
+ "path": "src/decorators/renderOnChange.ts",
362
+ "declarations": [
363
+ {
364
+ "kind": "function",
365
+ "name": "renderOnChange",
366
+ "parameters": [
367
+ {
368
+ "name": "target",
369
+ "type": {
370
+ "text": "FASTElement & { render(): void }"
371
+ },
372
+ "description": "The target to define the property change handler on."
373
+ },
374
+ {
375
+ "name": "name",
376
+ "type": {
377
+ "text": "string"
378
+ },
379
+ "description": "The property name."
380
+ }
381
+ ],
382
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
383
+ "privacy": "public"
384
+ }
385
+ ],
386
+ "exports": [
387
+ {
388
+ "kind": "js",
389
+ "name": "renderOnChange",
390
+ "declaration": {
391
+ "name": "renderOnChange",
392
+ "module": "src/decorators/renderOnChange.ts"
393
+ }
394
+ }
395
+ ]
396
+ },
344
397
  {
345
398
  "kind": "javascript-module",
346
399
  "path": "src/design-system/design-system.ts",
@@ -413,59 +466,6 @@
413
466
  }
414
467
  ]
415
468
  },
416
- {
417
- "kind": "javascript-module",
418
- "path": "src/decorators/index.ts",
419
- "declarations": [],
420
- "exports": [
421
- {
422
- "kind": "js",
423
- "name": "*",
424
- "declaration": {
425
- "name": "*",
426
- "package": "./renderOnChange"
427
- }
428
- }
429
- ]
430
- },
431
- {
432
- "kind": "javascript-module",
433
- "path": "src/decorators/renderOnChange.ts",
434
- "declarations": [
435
- {
436
- "kind": "function",
437
- "name": "renderOnChange",
438
- "parameters": [
439
- {
440
- "name": "target",
441
- "type": {
442
- "text": "FASTElement & { render(): void }"
443
- },
444
- "description": "The target to define the property change handler on."
445
- },
446
- {
447
- "name": "name",
448
- "type": {
449
- "text": "string"
450
- },
451
- "description": "The property name."
452
- }
453
- ],
454
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
455
- "privacy": "public"
456
- }
457
- ],
458
- "exports": [
459
- {
460
- "kind": "js",
461
- "name": "renderOnChange",
462
- "declaration": {
463
- "name": "renderOnChange",
464
- "module": "src/decorators/renderOnChange.ts"
465
- }
466
- }
467
- ]
468
- },
469
469
  {
470
470
  "kind": "javascript-module",
471
471
  "path": "src/env/index.ts",
@@ -1349,42 +1349,95 @@
1349
1349
  },
1350
1350
  {
1351
1351
  "kind": "javascript-module",
1352
- "path": "src/utils/index.ts",
1353
- "declarations": [],
1352
+ "path": "src/styles/color.ts",
1353
+ "declarations": [
1354
+ {
1355
+ "kind": "variable",
1356
+ "name": "activeColorScheme",
1357
+ "description": "A design token that represents the active color scheme (light or dark).",
1358
+ "privacy": "public"
1359
+ }
1360
+ ],
1354
1361
  "exports": [
1355
1362
  {
1356
1363
  "kind": "js",
1357
- "name": "*",
1364
+ "name": "activeColorScheme",
1358
1365
  "declaration": {
1359
- "name": "*",
1360
- "package": "./logger"
1366
+ "name": "activeColorScheme",
1367
+ "module": "src/styles/color.ts"
1361
1368
  }
1362
1369
  }
1363
1370
  ]
1364
1371
  },
1365
1372
  {
1366
1373
  "kind": "javascript-module",
1367
- "path": "src/utils/logger.ts",
1374
+ "path": "src/styles/dom.ts",
1368
1375
  "declarations": [
1369
1376
  {
1370
- "kind": "variable",
1371
- "name": "logger"
1377
+ "kind": "function",
1378
+ "name": "insertDocumentCSSRule",
1379
+ "return": {
1380
+ "type": {
1381
+ "text": ""
1382
+ }
1383
+ },
1384
+ "parameters": [
1385
+ {
1386
+ "name": "cssRule",
1387
+ "type": {
1388
+ "text": "string"
1389
+ },
1390
+ "description": "The CSS rule to insert."
1391
+ },
1392
+ {
1393
+ "name": "styleElementId",
1394
+ "type": {
1395
+ "text": "string"
1396
+ },
1397
+ "description": "The ID of the style element to use or create."
1398
+ }
1399
+ ],
1400
+ "description": "Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID.\nReturns a function that can be called to remove the rule from the document.",
1401
+ "privacy": "public"
1402
+ },
1403
+ {
1404
+ "kind": "function",
1405
+ "name": "insertDocumentLink",
1406
+ "parameters": [
1407
+ {
1408
+ "name": "href",
1409
+ "type": {
1410
+ "text": "string"
1411
+ },
1412
+ "description": "The URL of the CSS file to insert."
1413
+ }
1414
+ ],
1415
+ "description": "Inserts a CSS link into the document if it doesn't already exist.",
1416
+ "privacy": "public"
1372
1417
  }
1373
1418
  ],
1374
1419
  "exports": [
1375
1420
  {
1376
1421
  "kind": "js",
1377
- "name": "logger",
1422
+ "name": "insertDocumentCSSRule",
1378
1423
  "declaration": {
1379
- "name": "logger",
1380
- "module": "src/utils/logger.ts"
1424
+ "name": "insertDocumentCSSRule",
1425
+ "module": "src/styles/dom.ts"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "js",
1430
+ "name": "insertDocumentLink",
1431
+ "declaration": {
1432
+ "name": "insertDocumentLink",
1433
+ "module": "src/styles/dom.ts"
1381
1434
  }
1382
1435
  }
1383
1436
  ]
1384
1437
  },
1385
1438
  {
1386
1439
  "kind": "javascript-module",
1387
- "path": "src/uuid/index.ts",
1440
+ "path": "src/styles/index.ts",
1388
1441
  "declarations": [],
1389
1442
  "exports": [
1390
1443
  {
@@ -1392,184 +1445,214 @@
1392
1445
  "name": "*",
1393
1446
  "declaration": {
1394
1447
  "name": "*",
1395
- "package": "./uuid"
1448
+ "package": "./color"
1396
1449
  }
1397
- }
1398
- ]
1399
- },
1400
- {
1401
- "kind": "javascript-module",
1402
- "path": "src/uuid/uuid.ts",
1403
- "declarations": [
1450
+ },
1404
1451
  {
1405
- "kind": "variable",
1406
- "name": "UUID",
1407
- "description": "A dependency injection token for the UUID interface.",
1408
- "privacy": "public"
1409
- }
1410
- ],
1411
- "exports": [
1452
+ "kind": "js",
1453
+ "name": "*",
1454
+ "declaration": {
1455
+ "name": "*",
1456
+ "package": "./dom"
1457
+ }
1458
+ },
1412
1459
  {
1413
1460
  "kind": "js",
1414
- "name": "UUID",
1461
+ "name": "*",
1415
1462
  "declaration": {
1416
- "name": "UUID",
1417
- "module": "src/uuid/uuid.ts"
1463
+ "name": "*",
1464
+ "package": "./slotted-styles"
1418
1465
  }
1419
- }
1420
- ]
1421
- },
1422
- {
1423
- "kind": "javascript-module",
1424
- "path": "src/window/index.ts",
1425
- "declarations": [],
1426
- "exports": [
1466
+ },
1427
1467
  {
1428
1468
  "kind": "js",
1429
1469
  "name": "*",
1430
1470
  "declaration": {
1431
1471
  "name": "*",
1432
- "package": "./window"
1472
+ "package": "./typography"
1433
1473
  }
1434
1474
  }
1435
1475
  ]
1436
1476
  },
1437
1477
  {
1438
1478
  "kind": "javascript-module",
1439
- "path": "src/window/window.ts",
1479
+ "path": "src/styles/slotted-styles.ts",
1440
1480
  "declarations": [
1441
1481
  {
1442
- "kind": "function",
1443
- "name": "inIFrame",
1444
- "return": {
1445
- "type": {
1446
- "text": ""
1447
- }
1448
- },
1449
- "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
1450
- "privacy": "public"
1451
- },
1452
- {
1453
- "kind": "function",
1454
- "name": "inSymphonyDesktop",
1455
- "return": {
1456
- "type": {
1457
- "text": ""
1458
- }
1459
- },
1460
- "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
1461
- "privacy": "public"
1462
- },
1463
- {
1464
- "kind": "variable",
1465
- "name": "POPUP_DEFAULT_WIDTH",
1466
- "type": {
1467
- "text": "number"
1468
- },
1469
- "default": "483",
1470
- "description": "The default width (in pixels) for pop-up windows.",
1471
- "privacy": "public"
1472
- },
1473
- {
1474
- "kind": "variable",
1475
- "name": "POPUP_DEFAULT_HEIGHT",
1476
- "type": {
1477
- "text": "number"
1482
+ "kind": "class",
1483
+ "description": "A custom element that encapsulates a set of styles that can be applied to slotted elements.",
1484
+ "name": "SlottedStyles",
1485
+ "members": [
1486
+ {
1487
+ "kind": "field",
1488
+ "name": "styles",
1489
+ "type": {
1490
+ "text": "ElementStyles"
1491
+ },
1492
+ "description": "The styles to apply to slotted elements."
1493
+ },
1494
+ {
1495
+ "kind": "method",
1496
+ "name": "stylesChanged",
1497
+ "return": {
1498
+ "type": {
1499
+ "text": "void"
1500
+ }
1501
+ },
1502
+ "parameters": [
1503
+ {
1504
+ "name": "prev",
1505
+ "type": {
1506
+ "text": "ElementStyles"
1507
+ },
1508
+ "description": "The previous value of the `styles` property."
1509
+ },
1510
+ {
1511
+ "name": "next",
1512
+ "type": {
1513
+ "text": "ElementStyles"
1514
+ },
1515
+ "description": "The new value of the `styles` property."
1516
+ }
1517
+ ],
1518
+ "description": "Called when the `styles` property changes.\nRemoves the previous styles from the parent element's FAST controller and adds the new styles."
1519
+ }
1520
+ ],
1521
+ "superclass": {
1522
+ "name": "FASTElement",
1523
+ "package": "@microsoft/fast-element"
1478
1524
  },
1479
- "default": "600",
1480
- "description": "The default height (in pixels) for pop-up windows.",
1481
- "privacy": "public"
1525
+ "tagName": "slotted-styles",
1526
+ "customElement": true
1527
+ }
1528
+ ],
1529
+ "exports": [
1530
+ {
1531
+ "kind": "js",
1532
+ "name": "SlottedStyles",
1533
+ "declaration": {
1534
+ "name": "SlottedStyles",
1535
+ "module": "src/styles/slotted-styles.ts"
1536
+ }
1482
1537
  },
1538
+ {
1539
+ "kind": "custom-element-definition",
1540
+ "name": "slotted-styles",
1541
+ "declaration": {
1542
+ "name": "SlottedStyles",
1543
+ "module": "src/styles/slotted-styles.ts"
1544
+ }
1545
+ }
1546
+ ]
1547
+ },
1548
+ {
1549
+ "kind": "javascript-module",
1550
+ "path": "src/styles/typography.ts",
1551
+ "declarations": [
1483
1552
  {
1484
1553
  "kind": "function",
1485
- "name": "openPopup",
1554
+ "name": "loadFontFaces",
1486
1555
  "return": {
1487
1556
  "type": {
1488
- "text": ""
1557
+ "text": "void"
1489
1558
  }
1490
1559
  },
1491
1560
  "parameters": [
1492
1561
  {
1493
- "name": "urlNavigate",
1562
+ "name": "fontFaceRules",
1494
1563
  "type": {
1495
1564
  "text": "string"
1496
1565
  },
1497
- "description": "The URL to navigate to."
1566
+ "description": "The CSS rules for the font faces."
1498
1567
  },
1499
1568
  {
1500
- "name": "target",
1569
+ "name": "styleElementId",
1501
1570
  "type": {
1502
1571
  "text": "string"
1503
1572
  },
1504
- "description": "The name of the new window."
1573
+ "description": "The ID of the style element to insert into the document."
1574
+ }
1575
+ ],
1576
+ "description": "Loads font faces by inserting a style element with the specified font face rules into the document.",
1577
+ "privacy": "public"
1578
+ },
1579
+ {
1580
+ "kind": "function",
1581
+ "name": "getFontMixin",
1582
+ "return": {
1583
+ "type": {
1584
+ "text": ""
1585
+ }
1586
+ },
1587
+ "parameters": [
1588
+ {
1589
+ "name": "family",
1590
+ "type": {
1591
+ "text": "string"
1592
+ },
1593
+ "description": "The font family."
1505
1594
  },
1506
1595
  {
1507
- "name": "popUpWidth",
1508
- "default": "POPUP_DEFAULT_WIDTH",
1596
+ "name": "style",
1597
+ "default": "FontStyle.Normal",
1509
1598
  "type": {
1510
- "text": "number"
1599
+ "text": "FontStyle"
1511
1600
  },
1512
- "description": "The width of the new window (optional)."
1601
+ "description": "Optional. The font style. Defaults to FontStyle.Normal."
1513
1602
  },
1514
1603
  {
1515
- "name": "popUpHeight",
1516
- "default": "POPUP_DEFAULT_HEIGHT",
1604
+ "name": "weight",
1605
+ "default": "FontWeight.Regular",
1517
1606
  "type": {
1518
- "text": "number"
1607
+ "text": "FontWeight"
1519
1608
  },
1520
- "description": "The height of the new window (optional)."
1609
+ "description": "Optional. The font weight. Defaults to FontWeight.Regular."
1521
1610
  }
1522
1611
  ],
1523
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
1612
+ "description": "Generates a CSS mixin for the specified font family, style, and weight.",
1613
+ "privacy": "public"
1614
+ },
1615
+ {
1616
+ "kind": "variable",
1617
+ "name": "TypeRampValues",
1618
+ "type": {
1619
+ "text": "{\n minusOne: -1,\n minusTwo: -2,\n plusOne: 1,\n plusTwo: 2,\n plusThree: 3,\n plusFour: 4,\n plusFive: 5,\n plusSix: 6,\n}"
1620
+ },
1621
+ "default": "{\n minusOne: -1,\n minusTwo: -2,\n plusOne: 1,\n plusTwo: 2,\n plusThree: 3,\n plusFour: 4,\n plusFive: 5,\n plusSix: 6,\n}",
1622
+ "description": "An object containing type ramp values.",
1524
1623
  "privacy": "public"
1525
1624
  }
1526
1625
  ],
1527
1626
  "exports": [
1528
1627
  {
1529
1628
  "kind": "js",
1530
- "name": "inIFrame",
1531
- "declaration": {
1532
- "name": "inIFrame",
1533
- "module": "src/window/window.ts"
1534
- }
1535
- },
1536
- {
1537
- "kind": "js",
1538
- "name": "inSymphonyDesktop",
1539
- "declaration": {
1540
- "name": "inSymphonyDesktop",
1541
- "module": "src/window/window.ts"
1542
- }
1543
- },
1544
- {
1545
- "kind": "js",
1546
- "name": "POPUP_DEFAULT_WIDTH",
1629
+ "name": "loadFontFaces",
1547
1630
  "declaration": {
1548
- "name": "POPUP_DEFAULT_WIDTH",
1549
- "module": "src/window/window.ts"
1631
+ "name": "loadFontFaces",
1632
+ "module": "src/styles/typography.ts"
1550
1633
  }
1551
1634
  },
1552
1635
  {
1553
1636
  "kind": "js",
1554
- "name": "POPUP_DEFAULT_HEIGHT",
1637
+ "name": "getFontMixin",
1555
1638
  "declaration": {
1556
- "name": "POPUP_DEFAULT_HEIGHT",
1557
- "module": "src/window/window.ts"
1639
+ "name": "getFontMixin",
1640
+ "module": "src/styles/typography.ts"
1558
1641
  }
1559
1642
  },
1560
1643
  {
1561
1644
  "kind": "js",
1562
- "name": "openPopup",
1645
+ "name": "TypeRampValues",
1563
1646
  "declaration": {
1564
- "name": "openPopup",
1565
- "module": "src/window/window.ts"
1647
+ "name": "TypeRampValues",
1648
+ "module": "src/styles/typography.ts"
1566
1649
  }
1567
1650
  }
1568
1651
  ]
1569
1652
  },
1570
1653
  {
1571
1654
  "kind": "javascript-module",
1572
- "path": "src/directives/sync/index.ts",
1655
+ "path": "src/utils/index.ts",
1573
1656
  "declarations": [],
1574
1657
  "exports": [
1575
1658
  {
@@ -1577,88 +1660,34 @@
1577
1660
  "name": "*",
1578
1661
  "declaration": {
1579
1662
  "name": "*",
1580
- "package": "./sync"
1663
+ "package": "./logger"
1581
1664
  }
1582
1665
  }
1583
1666
  ]
1584
1667
  },
1585
1668
  {
1586
1669
  "kind": "javascript-module",
1587
- "path": "src/directives/sync/sync.ts",
1670
+ "path": "src/utils/logger.ts",
1588
1671
  "declarations": [
1589
1672
  {
1590
1673
  "kind": "variable",
1591
- "name": "defaultEventMap",
1592
- "type": {
1593
- "text": "Map<string, EventName>"
1594
- },
1595
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
1596
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
1597
- "privacy": "public"
1598
- },
1599
- {
1600
- "kind": "function",
1601
- "name": "sync",
1602
- "return": {
1603
- "type": {
1604
- "text": "CaptureType<TSource>"
1605
- }
1606
- },
1607
- "parameters": [
1608
- {
1609
- "name": "binding",
1610
- "type": {
1611
- "text": "Binding<TSource, TReturn>"
1612
- }
1613
- },
1614
- {
1615
- "name": "conversionType",
1616
- "default": "'string'",
1617
- "type": {
1618
- "text": "ConversionType"
1619
- }
1620
- },
1621
- {
1622
- "name": "eventName",
1623
- "default": "'default'",
1624
- "type": {
1625
- "text": "EventName"
1626
- }
1627
- },
1628
- {
1629
- "name": "keyAttr",
1630
- "optional": true,
1631
- "type": {
1632
- "text": "string"
1633
- }
1634
- }
1635
- ],
1636
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
1637
- "privacy": "public"
1674
+ "name": "logger"
1638
1675
  }
1639
1676
  ],
1640
1677
  "exports": [
1641
1678
  {
1642
1679
  "kind": "js",
1643
- "name": "defaultEventMap",
1644
- "declaration": {
1645
- "name": "defaultEventMap",
1646
- "module": "src/directives/sync/sync.ts"
1647
- }
1648
- },
1649
- {
1650
- "kind": "js",
1651
- "name": "sync",
1680
+ "name": "logger",
1652
1681
  "declaration": {
1653
- "name": "sync",
1654
- "module": "src/directives/sync/sync.ts"
1682
+ "name": "logger",
1683
+ "module": "src/utils/logger.ts"
1655
1684
  }
1656
1685
  }
1657
1686
  ]
1658
1687
  },
1659
1688
  {
1660
1689
  "kind": "javascript-module",
1661
- "path": "src/directives/when-else/index.ts",
1690
+ "path": "src/uuid/index.ts",
1662
1691
  "declarations": [],
1663
1692
  "exports": [
1664
1693
  {
@@ -1666,64 +1695,36 @@
1666
1695
  "name": "*",
1667
1696
  "declaration": {
1668
1697
  "name": "*",
1669
- "package": "./when-else"
1698
+ "package": "./uuid"
1670
1699
  }
1671
1700
  }
1672
1701
  ]
1673
1702
  },
1674
1703
  {
1675
1704
  "kind": "javascript-module",
1676
- "path": "src/directives/when-else/when-else.ts",
1705
+ "path": "src/uuid/uuid.ts",
1677
1706
  "declarations": [
1678
1707
  {
1679
- "kind": "function",
1680
- "name": "whenElse",
1681
- "return": {
1682
- "type": {
1683
- "text": "CaptureType<TSource>"
1684
- }
1685
- },
1686
- "parameters": [
1687
- {
1688
- "name": "binding",
1689
- "type": {
1690
- "text": "Binding<TSource, TReturn>"
1691
- },
1692
- "description": "The condition to test for rendering."
1693
- },
1694
- {
1695
- "name": "trueTemplateOrTemplateBinding",
1696
- "type": {
1697
- "text": "WhenTemplate<TSource>"
1698
- },
1699
- "description": "The template or a binding that gets the template to render when the condition is true."
1700
- },
1701
- {
1702
- "name": "falseTemplateOrTemplateBinding",
1703
- "type": {
1704
- "text": "WhenTemplate<TSource>"
1705
- },
1706
- "description": "The template or a binding that gets the template to render when the condition is false."
1707
- }
1708
- ],
1709
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
1708
+ "kind": "variable",
1709
+ "name": "UUID",
1710
+ "description": "A dependency injection token for the UUID interface.",
1710
1711
  "privacy": "public"
1711
1712
  }
1712
1713
  ],
1713
1714
  "exports": [
1714
1715
  {
1715
1716
  "kind": "js",
1716
- "name": "whenElse",
1717
+ "name": "UUID",
1717
1718
  "declaration": {
1718
- "name": "whenElse",
1719
- "module": "src/directives/when-else/when-else.ts"
1719
+ "name": "UUID",
1720
+ "module": "src/uuid/uuid.ts"
1720
1721
  }
1721
1722
  }
1722
1723
  ]
1723
1724
  },
1724
1725
  {
1725
1726
  "kind": "javascript-module",
1726
- "path": "src/mappers/dto/index.ts",
1727
+ "path": "src/window/index.ts",
1727
1728
  "declarations": [],
1728
1729
  "exports": [
1729
1730
  {
@@ -1731,99 +1732,147 @@
1731
1732
  "name": "*",
1732
1733
  "declaration": {
1733
1734
  "name": "*",
1734
- "package": "./serverRow"
1735
- }
1736
- },
1737
- {
1738
- "kind": "js",
1739
- "name": "*",
1740
- "declaration": {
1741
- "name": "*",
1742
- "package": "./types"
1735
+ "package": "./window"
1743
1736
  }
1744
1737
  }
1745
1738
  ]
1746
1739
  },
1747
1740
  {
1748
1741
  "kind": "javascript-module",
1749
- "path": "src/mappers/dto/serverRow.ts",
1742
+ "path": "src/window/window.ts",
1750
1743
  "declarations": [
1751
1744
  {
1752
- "kind": "class",
1753
- "description": "The default `ServerRowDTOMapper`.",
1754
- "name": "DefaultServerRowDTOMapper",
1755
- "members": [
1745
+ "kind": "function",
1746
+ "name": "inIFrame",
1747
+ "return": {
1748
+ "type": {
1749
+ "text": ""
1750
+ }
1751
+ },
1752
+ "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
1753
+ "privacy": "public"
1754
+ },
1755
+ {
1756
+ "kind": "function",
1757
+ "name": "inSymphonyDesktop",
1758
+ "return": {
1759
+ "type": {
1760
+ "text": ""
1761
+ }
1762
+ },
1763
+ "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
1764
+ "privacy": "public"
1765
+ },
1766
+ {
1767
+ "kind": "variable",
1768
+ "name": "POPUP_DEFAULT_WIDTH",
1769
+ "type": {
1770
+ "text": "number"
1771
+ },
1772
+ "default": "483",
1773
+ "description": "The default width (in pixels) for pop-up windows.",
1774
+ "privacy": "public"
1775
+ },
1776
+ {
1777
+ "kind": "variable",
1778
+ "name": "POPUP_DEFAULT_HEIGHT",
1779
+ "type": {
1780
+ "text": "number"
1781
+ },
1782
+ "default": "600",
1783
+ "description": "The default height (in pixels) for pop-up windows.",
1784
+ "privacy": "public"
1785
+ },
1786
+ {
1787
+ "kind": "function",
1788
+ "name": "openPopup",
1789
+ "return": {
1790
+ "type": {
1791
+ "text": ""
1792
+ }
1793
+ },
1794
+ "parameters": [
1756
1795
  {
1757
- "kind": "field",
1758
- "name": "fromDTO",
1759
- "description": "Converts a server row DTO to an entity.",
1760
- "parameters": [
1761
- {
1762
- "description": "The DTO to convert.",
1763
- "name": "dto"
1764
- }
1765
- ],
1766
- "return": {
1767
- "type": {
1768
- "text": ""
1769
- }
1796
+ "name": "urlNavigate",
1797
+ "type": {
1798
+ "text": "string"
1770
1799
  },
1771
- "privacy": "public"
1800
+ "description": "The URL to navigate to."
1772
1801
  },
1773
1802
  {
1774
- "kind": "field",
1775
- "name": "toDTO",
1776
- "description": "Converts a server row entity to a DTO.",
1777
- "parameters": [
1778
- {
1779
- "description": "The entity to convert.",
1780
- "name": "entity"
1781
- }
1782
- ],
1783
- "return": {
1784
- "type": {
1785
- "text": ""
1786
- }
1803
+ "name": "target",
1804
+ "type": {
1805
+ "text": "string"
1787
1806
  },
1788
- "privacy": "public"
1807
+ "description": "The name of the new window."
1808
+ },
1809
+ {
1810
+ "name": "popUpWidth",
1811
+ "default": "POPUP_DEFAULT_WIDTH",
1812
+ "type": {
1813
+ "text": "number"
1814
+ },
1815
+ "description": "The width of the new window (optional)."
1816
+ },
1817
+ {
1818
+ "name": "popUpHeight",
1819
+ "default": "POPUP_DEFAULT_HEIGHT",
1820
+ "type": {
1821
+ "text": "number"
1822
+ },
1823
+ "description": "The height of the new window (optional)."
1789
1824
  }
1790
- ]
1791
- },
1792
- {
1793
- "kind": "variable",
1794
- "name": "ServerRowDTOMapper",
1795
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
1825
+ ],
1826
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
1796
1827
  "privacy": "public"
1797
1828
  }
1798
1829
  ],
1799
1830
  "exports": [
1800
1831
  {
1801
1832
  "kind": "js",
1802
- "name": "DefaultServerRowDTOMapper",
1833
+ "name": "inIFrame",
1803
1834
  "declaration": {
1804
- "name": "DefaultServerRowDTOMapper",
1805
- "module": "src/mappers/dto/serverRow.ts"
1835
+ "name": "inIFrame",
1836
+ "module": "src/window/window.ts"
1806
1837
  }
1807
1838
  },
1808
1839
  {
1809
1840
  "kind": "js",
1810
- "name": "ServerRowDTOMapper",
1841
+ "name": "inSymphonyDesktop",
1811
1842
  "declaration": {
1812
- "name": "ServerRowDTOMapper",
1813
- "module": "src/mappers/dto/serverRow.ts"
1843
+ "name": "inSymphonyDesktop",
1844
+ "module": "src/window/window.ts"
1845
+ }
1846
+ },
1847
+ {
1848
+ "kind": "js",
1849
+ "name": "POPUP_DEFAULT_WIDTH",
1850
+ "declaration": {
1851
+ "name": "POPUP_DEFAULT_WIDTH",
1852
+ "module": "src/window/window.ts"
1853
+ }
1854
+ },
1855
+ {
1856
+ "kind": "js",
1857
+ "name": "POPUP_DEFAULT_HEIGHT",
1858
+ "declaration": {
1859
+ "name": "POPUP_DEFAULT_HEIGHT",
1860
+ "module": "src/window/window.ts"
1861
+ }
1862
+ },
1863
+ {
1864
+ "kind": "js",
1865
+ "name": "openPopup",
1866
+ "declaration": {
1867
+ "name": "openPopup",
1868
+ "module": "src/window/window.ts"
1814
1869
  }
1815
1870
  }
1816
1871
  ]
1817
1872
  },
1818
1873
  {
1819
1874
  "kind": "javascript-module",
1820
- "path": "src/mappers/dto/types.ts",
1821
- "declarations": [],
1822
- "exports": []
1823
- },
1824
- {
1825
- "kind": "javascript-module",
1826
- "path": "src/mixins/lifecycle/index.ts",
1875
+ "path": "src/directives/sync/index.ts",
1827
1876
  "declarations": [],
1828
1877
  "exports": [
1829
1878
  {
@@ -1831,123 +1880,88 @@
1831
1880
  "name": "*",
1832
1881
  "declaration": {
1833
1882
  "name": "*",
1834
- "package": "./lifecycle"
1883
+ "package": "./sync"
1835
1884
  }
1836
1885
  }
1837
1886
  ]
1838
1887
  },
1839
1888
  {
1840
1889
  "kind": "javascript-module",
1841
- "path": "src/mixins/lifecycle/lifecycle.ts",
1890
+ "path": "src/directives/sync/sync.ts",
1842
1891
  "declarations": [
1843
1892
  {
1844
- "kind": "mixin",
1845
- "description": "",
1846
- "name": "LifecycleMixin",
1847
- "members": [
1848
- {
1849
- "kind": "method",
1850
- "name": "cloneNode",
1851
- "return": {
1852
- "type": {
1853
- "text": "Node"
1854
- }
1855
- },
1856
- "parameters": [
1857
- {
1858
- "name": "deep",
1859
- "optional": true,
1860
- "type": {
1861
- "text": "boolean"
1862
- }
1863
- }
1864
- ]
1865
- },
1893
+ "kind": "variable",
1894
+ "name": "defaultEventMap",
1895
+ "type": {
1896
+ "text": "Map<string, EventName>"
1897
+ },
1898
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
1899
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
1900
+ "privacy": "public"
1901
+ },
1902
+ {
1903
+ "kind": "function",
1904
+ "name": "sync",
1905
+ "return": {
1906
+ "type": {
1907
+ "text": "CaptureType<TSource>"
1908
+ }
1909
+ },
1910
+ "parameters": [
1866
1911
  {
1867
- "kind": "method",
1868
- "name": "deepClone",
1869
- "return": {
1870
- "type": {
1871
- "text": "Node"
1872
- }
1912
+ "name": "binding",
1913
+ "type": {
1914
+ "text": "Binding<TSource, TReturn>"
1873
1915
  }
1874
1916
  },
1875
1917
  {
1876
- "kind": "field",
1877
- "name": "shouldRunDisconnect",
1878
- "return": {
1879
- "type": {
1880
- "text": ""
1881
- }
1882
- },
1883
- "readonly": true
1918
+ "name": "conversionType",
1919
+ "default": "'string'",
1920
+ "type": {
1921
+ "text": "ConversionType"
1922
+ }
1884
1923
  },
1885
1924
  {
1886
- "kind": "field",
1887
- "name": "shouldRunConnect",
1888
- "return": {
1889
- "type": {
1890
- "text": ""
1891
- }
1892
- },
1893
- "readonly": true
1925
+ "name": "eventName",
1926
+ "default": "'default'",
1927
+ "type": {
1928
+ "text": "EventName"
1929
+ }
1894
1930
  },
1895
1931
  {
1896
- "kind": "method",
1897
- "name": "#_blockLifecycleDueToTokenChange",
1898
- "return": {
1899
- "type": {
1900
- "text": "boolean"
1901
- }
1902
- },
1903
- "parameters": [
1904
- {
1905
- "name": "lifecycleType",
1906
- "type": {
1907
- "text": "Lifecycletype"
1908
- }
1909
- }
1910
- ]
1911
- }
1912
- ],
1913
- "parameters": [
1914
- {
1915
- "name": "Base",
1932
+ "name": "keyAttr",
1933
+ "optional": true,
1916
1934
  "type": {
1917
- "text": "T"
1935
+ "text": "string"
1918
1936
  }
1919
1937
  }
1920
- ]
1921
- },
1922
- {
1923
- "kind": "variable",
1924
- "name": "layoutCacheDocument",
1925
- "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
1938
+ ],
1939
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
1926
1940
  "privacy": "public"
1927
1941
  }
1928
1942
  ],
1929
1943
  "exports": [
1930
1944
  {
1931
1945
  "kind": "js",
1932
- "name": "LifecycleMixin",
1946
+ "name": "defaultEventMap",
1933
1947
  "declaration": {
1934
- "name": "LifecycleMixin",
1935
- "module": "src/mixins/lifecycle/lifecycle.ts"
1948
+ "name": "defaultEventMap",
1949
+ "module": "src/directives/sync/sync.ts"
1936
1950
  }
1937
1951
  },
1938
1952
  {
1939
1953
  "kind": "js",
1940
- "name": "layoutCacheDocument",
1954
+ "name": "sync",
1941
1955
  "declaration": {
1942
- "name": "layoutCacheDocument",
1943
- "module": "src/mixins/lifecycle/lifecycle.ts"
1956
+ "name": "sync",
1957
+ "module": "src/directives/sync/sync.ts"
1944
1958
  }
1945
1959
  }
1946
1960
  ]
1947
1961
  },
1948
1962
  {
1949
1963
  "kind": "javascript-module",
1950
- "path": "src/mixins/pendingState/index.ts",
1964
+ "path": "src/directives/when-else/index.ts",
1951
1965
  "declarations": [],
1952
1966
  "exports": [
1953
1967
  {
@@ -1955,86 +1969,64 @@
1955
1969
  "name": "*",
1956
1970
  "declaration": {
1957
1971
  "name": "*",
1958
- "package": "./pendingState"
1972
+ "package": "./when-else"
1959
1973
  }
1960
1974
  }
1961
1975
  ]
1962
1976
  },
1963
1977
  {
1964
1978
  "kind": "javascript-module",
1965
- "path": "src/mixins/pendingState/pendingState.ts",
1979
+ "path": "src/directives/when-else/when-else.ts",
1966
1980
  "declarations": [
1967
1981
  {
1968
- "kind": "mixin",
1969
- "description": "The `PendingState` mixin.",
1970
- "name": "PendingState",
1971
- "members": [
1972
- {
1973
- "kind": "field",
1974
- "name": "pendingCount",
1975
- "type": {
1976
- "text": "number"
1977
- },
1978
- "privacy": "public",
1979
- "default": "0",
1980
- "description": "The number of promises that are currently pending."
1981
- },
1982
+ "kind": "function",
1983
+ "name": "whenElse",
1984
+ "return": {
1985
+ "type": {
1986
+ "text": "CaptureType<TSource>"
1987
+ }
1988
+ },
1989
+ "parameters": [
1982
1990
  {
1983
- "kind": "field",
1984
- "name": "resolvedCount",
1991
+ "name": "binding",
1985
1992
  "type": {
1986
- "text": "number"
1993
+ "text": "Binding<TSource, TReturn>"
1987
1994
  },
1988
- "privacy": "public",
1989
- "default": "0",
1990
- "description": "The number of promises that have been resolved."
1995
+ "description": "The condition to test for rendering."
1991
1996
  },
1992
1997
  {
1993
- "kind": "field",
1994
- "name": "hasPendingChildren",
1998
+ "name": "trueTemplateOrTemplateBinding",
1995
1999
  "type": {
1996
- "text": "boolean"
2000
+ "text": "WhenTemplate<TSource>"
1997
2001
  },
1998
- "privacy": "public",
1999
- "default": "false",
2000
- "description": "A boolean indicating whether there are any pending children."
2002
+ "description": "The template or a binding that gets the template to render when the condition is true."
2001
2003
  },
2002
2004
  {
2003
- "kind": "field",
2004
- "name": "progress",
2005
+ "name": "falseTemplateOrTemplateBinding",
2005
2006
  "type": {
2006
- "text": "number"
2007
+ "text": "WhenTemplate<TSource>"
2007
2008
  },
2008
- "privacy": "public",
2009
- "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2010
- "readonly": true
2011
- }
2012
- ],
2013
- "parameters": [
2014
- {
2015
- "name": "Base",
2016
- "type": {
2017
- "text": "TBase"
2018
- }
2009
+ "description": "The template or a binding that gets the template to render when the condition is false."
2019
2010
  }
2020
2011
  ],
2012
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2021
2013
  "privacy": "public"
2022
2014
  }
2023
2015
  ],
2024
2016
  "exports": [
2025
2017
  {
2026
2018
  "kind": "js",
2027
- "name": "PendingState",
2019
+ "name": "whenElse",
2028
2020
  "declaration": {
2029
- "name": "PendingState",
2030
- "module": "src/mixins/pendingState/pendingState.ts"
2021
+ "name": "whenElse",
2022
+ "module": "src/directives/when-else/when-else.ts"
2031
2023
  }
2032
2024
  }
2033
2025
  ]
2034
2026
  },
2035
2027
  {
2036
2028
  "kind": "javascript-module",
2037
- "path": "src/serializers/json/index.ts",
2029
+ "path": "src/mappers/dto/index.ts",
2038
2030
  "declarations": [],
2039
2031
  "exports": [
2040
2032
  {
@@ -2042,23 +2034,7 @@
2042
2034
  "name": "*",
2043
2035
  "declaration": {
2044
2036
  "name": "*",
2045
- "package": "./json"
2046
- }
2047
- },
2048
- {
2049
- "kind": "js",
2050
- "name": "*",
2051
- "declaration": {
2052
- "name": "*",
2053
- "package": "./json.types"
2054
- }
2055
- },
2056
- {
2057
- "kind": "js",
2058
- "name": "*",
2059
- "declaration": {
2060
- "name": "*",
2061
- "package": "./jsonReplacer"
2037
+ "package": "./serverRow"
2062
2038
  }
2063
2039
  },
2064
2040
  {
@@ -2066,290 +2042,302 @@
2066
2042
  "name": "*",
2067
2043
  "declaration": {
2068
2044
  "name": "*",
2069
- "package": "./jsonReviver"
2045
+ "package": "./types"
2070
2046
  }
2071
2047
  }
2072
2048
  ]
2073
2049
  },
2074
2050
  {
2075
2051
  "kind": "javascript-module",
2076
- "path": "src/serializers/json/json.ts",
2052
+ "path": "src/mappers/dto/serverRow.ts",
2077
2053
  "declarations": [
2078
- {
2079
- "kind": "function",
2080
- "name": "customNumberParser",
2081
- "parameters": [
2082
- {
2083
- "name": "value"
2084
- }
2085
- ],
2086
- "description": "A Default Number Parser for deserializing objects.",
2087
- "privacy": "public"
2088
- },
2089
- {
2090
- "kind": "variable",
2091
- "name": "defaultJSONSerializerConfig",
2092
- "type": {
2093
- "text": "JSONSerializerConfig"
2094
- },
2095
- "default": "{\n parse: (input: any) => parse(input, null, customNumberParser),\n stringify: (object: any) => stringify(object),\n}",
2096
- "description": "A Default JSONSerializer Config for serializing and deserializing functions.",
2097
- "privacy": "public"
2098
- },
2099
2054
  {
2100
2055
  "kind": "class",
2101
- "description": "",
2102
- "name": "DefaultJSONSerializer",
2056
+ "description": "The default `ServerRowDTOMapper`.",
2057
+ "name": "DefaultServerRowDTOMapper",
2103
2058
  "members": [
2104
2059
  {
2105
2060
  "kind": "field",
2106
- "name": "serialize"
2061
+ "name": "fromDTO",
2062
+ "description": "Converts a server row DTO to an entity.",
2063
+ "parameters": [
2064
+ {
2065
+ "description": "The DTO to convert.",
2066
+ "name": "dto"
2067
+ }
2068
+ ],
2069
+ "return": {
2070
+ "type": {
2071
+ "text": ""
2072
+ }
2073
+ },
2074
+ "privacy": "public"
2107
2075
  },
2108
2076
  {
2109
- "kind": "method",
2110
- "name": "deserialize",
2077
+ "kind": "field",
2078
+ "name": "toDTO",
2079
+ "description": "Converts a server row entity to a DTO.",
2111
2080
  "parameters": [
2112
2081
  {
2113
- "name": "input",
2114
- "type": {
2115
- "text": "any"
2116
- }
2082
+ "description": "The entity to convert.",
2083
+ "name": "entity"
2117
2084
  }
2118
- ]
2085
+ ],
2086
+ "return": {
2087
+ "type": {
2088
+ "text": ""
2089
+ }
2090
+ },
2091
+ "privacy": "public"
2119
2092
  }
2120
2093
  ]
2121
2094
  },
2122
2095
  {
2123
2096
  "kind": "variable",
2124
- "name": "JSONSerializer",
2125
- "description": "A DI token for the JSON serializer.",
2097
+ "name": "ServerRowDTOMapper",
2098
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2126
2099
  "privacy": "public"
2127
2100
  }
2128
2101
  ],
2129
2102
  "exports": [
2130
2103
  {
2131
2104
  "kind": "js",
2132
- "name": "customNumberParser",
2133
- "declaration": {
2134
- "name": "customNumberParser",
2135
- "module": "src/serializers/json/json.ts"
2136
- }
2137
- },
2138
- {
2139
- "kind": "js",
2140
- "name": "defaultJSONSerializerConfig",
2141
- "declaration": {
2142
- "name": "defaultJSONSerializerConfig",
2143
- "module": "src/serializers/json/json.ts"
2144
- }
2145
- },
2146
- {
2147
- "kind": "js",
2148
- "name": "default",
2105
+ "name": "DefaultServerRowDTOMapper",
2149
2106
  "declaration": {
2150
- "name": "DefaultJSONSerializer",
2151
- "module": "src/serializers/json/json.ts"
2107
+ "name": "DefaultServerRowDTOMapper",
2108
+ "module": "src/mappers/dto/serverRow.ts"
2152
2109
  }
2153
2110
  },
2154
2111
  {
2155
2112
  "kind": "js",
2156
- "name": "JSONSerializer",
2113
+ "name": "ServerRowDTOMapper",
2157
2114
  "declaration": {
2158
- "name": "JSONSerializer",
2159
- "module": "src/serializers/json/json.ts"
2115
+ "name": "ServerRowDTOMapper",
2116
+ "module": "src/mappers/dto/serverRow.ts"
2160
2117
  }
2161
2118
  }
2162
2119
  ]
2163
2120
  },
2164
2121
  {
2165
2122
  "kind": "javascript-module",
2166
- "path": "src/serializers/json/json.types.ts",
2123
+ "path": "src/mappers/dto/types.ts",
2167
2124
  "declarations": [],
2168
2125
  "exports": []
2169
2126
  },
2170
2127
  {
2171
2128
  "kind": "javascript-module",
2172
- "path": "src/serializers/json/jsonReplacer.ts",
2173
- "declarations": [
2174
- {
2175
- "kind": "function",
2176
- "name": "JSONReplacer",
2177
- "return": {
2178
- "type": {
2179
- "text": ""
2180
- }
2181
- },
2182
- "parameters": [
2183
- {
2184
- "name": "key",
2185
- "type": {
2186
- "text": "string"
2187
- },
2188
- "description": "The object key."
2189
- },
2190
- {
2191
- "name": "value",
2192
- "type": {
2193
- "text": "any"
2194
- },
2195
- "description": "The key value."
2196
- }
2197
- ],
2198
- "description": "JSON replacer function.",
2199
- "privacy": "public"
2200
- }
2201
- ],
2129
+ "path": "src/mixins/lifecycle/index.ts",
2130
+ "declarations": [],
2202
2131
  "exports": [
2203
2132
  {
2204
2133
  "kind": "js",
2205
- "name": "JSONReplacer",
2134
+ "name": "*",
2206
2135
  "declaration": {
2207
- "name": "JSONReplacer",
2208
- "module": "src/serializers/json/jsonReplacer.ts"
2136
+ "name": "*",
2137
+ "package": "./lifecycle"
2209
2138
  }
2210
2139
  }
2211
2140
  ]
2212
2141
  },
2213
2142
  {
2214
2143
  "kind": "javascript-module",
2215
- "path": "src/serializers/json/jsonReviver.ts",
2144
+ "path": "src/mixins/lifecycle/lifecycle.ts",
2216
2145
  "declarations": [
2217
2146
  {
2218
- "kind": "function",
2219
- "name": "JSONReviver",
2220
- "return": {
2221
- "type": {
2222
- "text": ""
2223
- }
2224
- },
2225
- "parameters": [
2147
+ "kind": "mixin",
2148
+ "description": "",
2149
+ "name": "LifecycleMixin",
2150
+ "members": [
2226
2151
  {
2227
- "name": "key",
2228
- "type": {
2229
- "text": "string"
2152
+ "kind": "method",
2153
+ "name": "cloneNode",
2154
+ "return": {
2155
+ "type": {
2156
+ "text": "Node"
2157
+ }
2230
2158
  },
2231
- "description": "The object key."
2159
+ "parameters": [
2160
+ {
2161
+ "name": "deep",
2162
+ "optional": true,
2163
+ "type": {
2164
+ "text": "boolean"
2165
+ }
2166
+ }
2167
+ ]
2232
2168
  },
2233
2169
  {
2234
- "name": "value",
2235
- "type": {
2236
- "text": "any"
2170
+ "kind": "method",
2171
+ "name": "deepClone",
2172
+ "return": {
2173
+ "type": {
2174
+ "text": "Node"
2175
+ }
2176
+ }
2177
+ },
2178
+ {
2179
+ "kind": "field",
2180
+ "name": "shouldRunDisconnect",
2181
+ "return": {
2182
+ "type": {
2183
+ "text": ""
2184
+ }
2237
2185
  },
2238
- "description": "The key value."
2186
+ "readonly": true
2187
+ },
2188
+ {
2189
+ "kind": "field",
2190
+ "name": "shouldRunConnect",
2191
+ "return": {
2192
+ "type": {
2193
+ "text": ""
2194
+ }
2195
+ },
2196
+ "readonly": true
2197
+ },
2198
+ {
2199
+ "kind": "method",
2200
+ "name": "#_blockLifecycleDueToTokenChange",
2201
+ "return": {
2202
+ "type": {
2203
+ "text": "boolean"
2204
+ }
2205
+ },
2206
+ "parameters": [
2207
+ {
2208
+ "name": "lifecycleType",
2209
+ "type": {
2210
+ "text": "Lifecycletype"
2211
+ }
2212
+ }
2213
+ ]
2239
2214
  }
2240
2215
  ],
2241
- "description": "JSON reviver function.",
2216
+ "parameters": [
2217
+ {
2218
+ "name": "Base",
2219
+ "type": {
2220
+ "text": "T"
2221
+ }
2222
+ }
2223
+ ]
2224
+ },
2225
+ {
2226
+ "kind": "variable",
2227
+ "name": "layoutCacheDocument",
2228
+ "description": "Stored on the layout's internal cache to signify that the document is not part of the DOM",
2242
2229
  "privacy": "public"
2243
2230
  }
2244
2231
  ],
2245
2232
  "exports": [
2246
2233
  {
2247
2234
  "kind": "js",
2248
- "name": "JSONReviver",
2235
+ "name": "LifecycleMixin",
2249
2236
  "declaration": {
2250
- "name": "JSONReviver",
2251
- "module": "src/serializers/json/jsonReviver.ts"
2237
+ "name": "LifecycleMixin",
2238
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2239
+ }
2240
+ },
2241
+ {
2242
+ "kind": "js",
2243
+ "name": "layoutCacheDocument",
2244
+ "declaration": {
2245
+ "name": "layoutCacheDocument",
2246
+ "module": "src/mixins/lifecycle/lifecycle.ts"
2252
2247
  }
2253
2248
  }
2254
2249
  ]
2255
2250
  },
2256
2251
  {
2257
2252
  "kind": "javascript-module",
2258
- "path": "src/serializers/json/types.ts",
2253
+ "path": "src/mixins/pendingState/index.ts",
2259
2254
  "declarations": [],
2260
- "exports": []
2261
- },
2262
- {
2263
- "kind": "javascript-module",
2264
- "path": "src/styles/color.ts",
2265
- "declarations": [
2266
- {
2267
- "kind": "variable",
2268
- "name": "activeColorScheme",
2269
- "description": "A design token that represents the active color scheme (light or dark).",
2270
- "privacy": "public"
2271
- }
2272
- ],
2273
2255
  "exports": [
2274
2256
  {
2275
2257
  "kind": "js",
2276
- "name": "activeColorScheme",
2258
+ "name": "*",
2277
2259
  "declaration": {
2278
- "name": "activeColorScheme",
2279
- "module": "src/styles/color.ts"
2260
+ "name": "*",
2261
+ "package": "./pendingState"
2280
2262
  }
2281
2263
  }
2282
2264
  ]
2283
2265
  },
2284
2266
  {
2285
2267
  "kind": "javascript-module",
2286
- "path": "src/styles/dom.ts",
2268
+ "path": "src/mixins/pendingState/pendingState.ts",
2287
2269
  "declarations": [
2288
2270
  {
2289
- "kind": "function",
2290
- "name": "insertDocumentCSSRule",
2291
- "return": {
2292
- "type": {
2293
- "text": ""
2294
- }
2295
- },
2296
- "parameters": [
2271
+ "kind": "mixin",
2272
+ "description": "The `PendingState` mixin.",
2273
+ "name": "PendingState",
2274
+ "members": [
2297
2275
  {
2298
- "name": "cssRule",
2276
+ "kind": "field",
2277
+ "name": "pendingCount",
2299
2278
  "type": {
2300
- "text": "string"
2279
+ "text": "number"
2280
+ },
2281
+ "privacy": "public",
2282
+ "default": "0",
2283
+ "description": "The number of promises that are currently pending."
2284
+ },
2285
+ {
2286
+ "kind": "field",
2287
+ "name": "resolvedCount",
2288
+ "type": {
2289
+ "text": "number"
2290
+ },
2291
+ "privacy": "public",
2292
+ "default": "0",
2293
+ "description": "The number of promises that have been resolved."
2294
+ },
2295
+ {
2296
+ "kind": "field",
2297
+ "name": "hasPendingChildren",
2298
+ "type": {
2299
+ "text": "boolean"
2301
2300
  },
2302
- "description": "The CSS rule to insert."
2301
+ "privacy": "public",
2302
+ "default": "false",
2303
+ "description": "A boolean indicating whether there are any pending children."
2303
2304
  },
2304
2305
  {
2305
- "name": "styleElementId",
2306
+ "kind": "field",
2307
+ "name": "progress",
2306
2308
  "type": {
2307
- "text": "string"
2309
+ "text": "number"
2308
2310
  },
2309
- "description": "The ID of the style element to use or create."
2311
+ "privacy": "public",
2312
+ "description": "Gets the progress of the pending promises as a percentage between 0 and 1.",
2313
+ "readonly": true
2310
2314
  }
2311
2315
  ],
2312
- "description": "Inserts a CSS rule into the document by creating a new style element or using an existing one with the specified ID.\nReturns a function that can be called to remove the rule from the document.",
2313
- "privacy": "public"
2314
- },
2315
- {
2316
- "kind": "function",
2317
- "name": "insertDocumentLink",
2318
2316
  "parameters": [
2319
2317
  {
2320
- "name": "href",
2318
+ "name": "Base",
2321
2319
  "type": {
2322
- "text": "string"
2323
- },
2324
- "description": "The URL of the CSS file to insert."
2320
+ "text": "TBase"
2321
+ }
2325
2322
  }
2326
2323
  ],
2327
- "description": "Inserts a CSS link into the document if it doesn't already exist.",
2328
2324
  "privacy": "public"
2329
2325
  }
2330
2326
  ],
2331
2327
  "exports": [
2332
2328
  {
2333
2329
  "kind": "js",
2334
- "name": "insertDocumentCSSRule",
2335
- "declaration": {
2336
- "name": "insertDocumentCSSRule",
2337
- "module": "src/styles/dom.ts"
2338
- }
2339
- },
2340
- {
2341
- "kind": "js",
2342
- "name": "insertDocumentLink",
2330
+ "name": "PendingState",
2343
2331
  "declaration": {
2344
- "name": "insertDocumentLink",
2345
- "module": "src/styles/dom.ts"
2332
+ "name": "PendingState",
2333
+ "module": "src/mixins/pendingState/pendingState.ts"
2346
2334
  }
2347
2335
  }
2348
2336
  ]
2349
2337
  },
2350
2338
  {
2351
2339
  "kind": "javascript-module",
2352
- "path": "src/styles/index.ts",
2340
+ "path": "src/serializers/json/index.ts",
2353
2341
  "declarations": [],
2354
2342
  "exports": [
2355
2343
  {
@@ -2357,7 +2345,7 @@
2357
2345
  "name": "*",
2358
2346
  "declaration": {
2359
2347
  "name": "*",
2360
- "package": "./color"
2348
+ "package": "./json"
2361
2349
  }
2362
2350
  },
2363
2351
  {
@@ -2365,7 +2353,7 @@
2365
2353
  "name": "*",
2366
2354
  "declaration": {
2367
2355
  "name": "*",
2368
- "package": "./dom"
2356
+ "package": "./json.types"
2369
2357
  }
2370
2358
  },
2371
2359
  {
@@ -2373,7 +2361,7 @@
2373
2361
  "name": "*",
2374
2362
  "declaration": {
2375
2363
  "name": "*",
2376
- "package": "./slotted-styles"
2364
+ "package": "./jsonReplacer"
2377
2365
  }
2378
2366
  },
2379
2367
  {
@@ -2381,116 +2369,157 @@
2381
2369
  "name": "*",
2382
2370
  "declaration": {
2383
2371
  "name": "*",
2384
- "package": "./typography"
2372
+ "package": "./jsonReviver"
2385
2373
  }
2386
2374
  }
2387
2375
  ]
2388
2376
  },
2389
2377
  {
2390
2378
  "kind": "javascript-module",
2391
- "path": "src/styles/slotted-styles.ts",
2379
+ "path": "src/serializers/json/json.ts",
2392
2380
  "declarations": [
2381
+ {
2382
+ "kind": "function",
2383
+ "name": "customNumberParser",
2384
+ "parameters": [
2385
+ {
2386
+ "name": "value"
2387
+ }
2388
+ ],
2389
+ "description": "A Default Number Parser for deserializing objects.",
2390
+ "privacy": "public"
2391
+ },
2392
+ {
2393
+ "kind": "variable",
2394
+ "name": "defaultJSONSerializerConfig",
2395
+ "type": {
2396
+ "text": "JSONSerializerConfig"
2397
+ },
2398
+ "default": "{\n parse: (input: any) => parse(input, null, customNumberParser),\n stringify: (object: any) => stringify(object),\n}",
2399
+ "description": "A Default JSONSerializer Config for serializing and deserializing functions.",
2400
+ "privacy": "public"
2401
+ },
2393
2402
  {
2394
2403
  "kind": "class",
2395
- "description": "A custom element that encapsulates a set of styles that can be applied to slotted elements.",
2396
- "name": "SlottedStyles",
2404
+ "description": "",
2405
+ "name": "DefaultJSONSerializer",
2397
2406
  "members": [
2398
2407
  {
2399
2408
  "kind": "field",
2400
- "name": "styles",
2401
- "type": {
2402
- "text": "ElementStyles"
2403
- },
2404
- "description": "The styles to apply to slotted elements."
2409
+ "name": "serialize"
2405
2410
  },
2406
2411
  {
2407
2412
  "kind": "method",
2408
- "name": "stylesChanged",
2409
- "return": {
2410
- "type": {
2411
- "text": "void"
2412
- }
2413
- },
2413
+ "name": "deserialize",
2414
2414
  "parameters": [
2415
2415
  {
2416
- "name": "prev",
2417
- "type": {
2418
- "text": "ElementStyles"
2419
- },
2420
- "description": "The previous value of the `styles` property."
2421
- },
2422
- {
2423
- "name": "next",
2416
+ "name": "input",
2424
2417
  "type": {
2425
- "text": "ElementStyles"
2426
- },
2427
- "description": "The new value of the `styles` property."
2418
+ "text": "any"
2419
+ }
2428
2420
  }
2429
- ],
2430
- "description": "Called when the `styles` property changes.\nRemoves the previous styles from the parent element's FAST controller and adds the new styles."
2421
+ ]
2431
2422
  }
2432
- ],
2433
- "superclass": {
2434
- "name": "FASTElement",
2435
- "package": "@microsoft/fast-element"
2436
- },
2437
- "tagName": "slotted-styles",
2438
- "customElement": true
2423
+ ]
2424
+ },
2425
+ {
2426
+ "kind": "variable",
2427
+ "name": "JSONSerializer",
2428
+ "description": "A DI token for the JSON serializer.",
2429
+ "privacy": "public"
2439
2430
  }
2440
2431
  ],
2441
2432
  "exports": [
2442
2433
  {
2443
2434
  "kind": "js",
2444
- "name": "SlottedStyles",
2435
+ "name": "customNumberParser",
2445
2436
  "declaration": {
2446
- "name": "SlottedStyles",
2447
- "module": "src/styles/slotted-styles.ts"
2437
+ "name": "customNumberParser",
2438
+ "module": "src/serializers/json/json.ts"
2448
2439
  }
2449
2440
  },
2450
2441
  {
2451
- "kind": "custom-element-definition",
2452
- "name": "slotted-styles",
2442
+ "kind": "js",
2443
+ "name": "defaultJSONSerializerConfig",
2453
2444
  "declaration": {
2454
- "name": "SlottedStyles",
2455
- "module": "src/styles/slotted-styles.ts"
2445
+ "name": "defaultJSONSerializerConfig",
2446
+ "module": "src/serializers/json/json.ts"
2447
+ }
2448
+ },
2449
+ {
2450
+ "kind": "js",
2451
+ "name": "default",
2452
+ "declaration": {
2453
+ "name": "DefaultJSONSerializer",
2454
+ "module": "src/serializers/json/json.ts"
2455
+ }
2456
+ },
2457
+ {
2458
+ "kind": "js",
2459
+ "name": "JSONSerializer",
2460
+ "declaration": {
2461
+ "name": "JSONSerializer",
2462
+ "module": "src/serializers/json/json.ts"
2456
2463
  }
2457
2464
  }
2458
2465
  ]
2459
2466
  },
2460
2467
  {
2461
2468
  "kind": "javascript-module",
2462
- "path": "src/styles/typography.ts",
2469
+ "path": "src/serializers/json/json.types.ts",
2470
+ "declarations": [],
2471
+ "exports": []
2472
+ },
2473
+ {
2474
+ "kind": "javascript-module",
2475
+ "path": "src/serializers/json/jsonReplacer.ts",
2463
2476
  "declarations": [
2464
2477
  {
2465
2478
  "kind": "function",
2466
- "name": "loadFontFaces",
2479
+ "name": "JSONReplacer",
2467
2480
  "return": {
2468
2481
  "type": {
2469
- "text": "void"
2482
+ "text": ""
2470
2483
  }
2471
2484
  },
2472
2485
  "parameters": [
2473
2486
  {
2474
- "name": "fontFaceRules",
2487
+ "name": "key",
2475
2488
  "type": {
2476
2489
  "text": "string"
2477
2490
  },
2478
- "description": "The CSS rules for the font faces."
2491
+ "description": "The object key."
2479
2492
  },
2480
2493
  {
2481
- "name": "styleElementId",
2494
+ "name": "value",
2482
2495
  "type": {
2483
- "text": "string"
2496
+ "text": "any"
2484
2497
  },
2485
- "description": "The ID of the style element to insert into the document."
2498
+ "description": "The key value."
2486
2499
  }
2487
2500
  ],
2488
- "description": "Loads font faces by inserting a style element with the specified font face rules into the document.",
2501
+ "description": "JSON replacer function.",
2489
2502
  "privacy": "public"
2490
- },
2503
+ }
2504
+ ],
2505
+ "exports": [
2506
+ {
2507
+ "kind": "js",
2508
+ "name": "JSONReplacer",
2509
+ "declaration": {
2510
+ "name": "JSONReplacer",
2511
+ "module": "src/serializers/json/jsonReplacer.ts"
2512
+ }
2513
+ }
2514
+ ]
2515
+ },
2516
+ {
2517
+ "kind": "javascript-module",
2518
+ "path": "src/serializers/json/jsonReviver.ts",
2519
+ "declarations": [
2491
2520
  {
2492
2521
  "kind": "function",
2493
- "name": "getFontMixin",
2522
+ "name": "JSONReviver",
2494
2523
  "return": {
2495
2524
  "type": {
2496
2525
  "text": ""
@@ -2498,69 +2527,40 @@
2498
2527
  },
2499
2528
  "parameters": [
2500
2529
  {
2501
- "name": "family",
2530
+ "name": "key",
2502
2531
  "type": {
2503
2532
  "text": "string"
2504
2533
  },
2505
- "description": "The font family."
2506
- },
2507
- {
2508
- "name": "style",
2509
- "default": "FontStyle.Normal",
2510
- "type": {
2511
- "text": "FontStyle"
2512
- },
2513
- "description": "Optional. The font style. Defaults to FontStyle.Normal."
2534
+ "description": "The object key."
2514
2535
  },
2515
2536
  {
2516
- "name": "weight",
2517
- "default": "FontWeight.Regular",
2537
+ "name": "value",
2518
2538
  "type": {
2519
- "text": "FontWeight"
2539
+ "text": "any"
2520
2540
  },
2521
- "description": "Optional. The font weight. Defaults to FontWeight.Regular."
2541
+ "description": "The key value."
2522
2542
  }
2523
2543
  ],
2524
- "description": "Generates a CSS mixin for the specified font family, style, and weight.",
2525
- "privacy": "public"
2526
- },
2527
- {
2528
- "kind": "variable",
2529
- "name": "TypeRampValues",
2530
- "type": {
2531
- "text": "{\n minusOne: -1,\n minusTwo: -2,\n plusOne: 1,\n plusTwo: 2,\n plusThree: 3,\n plusFour: 4,\n plusFive: 5,\n plusSix: 6,\n}"
2532
- },
2533
- "default": "{\n minusOne: -1,\n minusTwo: -2,\n plusOne: 1,\n plusTwo: 2,\n plusThree: 3,\n plusFour: 4,\n plusFive: 5,\n plusSix: 6,\n}",
2534
- "description": "An object containing type ramp values.",
2544
+ "description": "JSON reviver function.",
2535
2545
  "privacy": "public"
2536
2546
  }
2537
2547
  ],
2538
2548
  "exports": [
2539
2549
  {
2540
2550
  "kind": "js",
2541
- "name": "loadFontFaces",
2542
- "declaration": {
2543
- "name": "loadFontFaces",
2544
- "module": "src/styles/typography.ts"
2545
- }
2546
- },
2547
- {
2548
- "kind": "js",
2549
- "name": "getFontMixin",
2550
- "declaration": {
2551
- "name": "getFontMixin",
2552
- "module": "src/styles/typography.ts"
2553
- }
2554
- },
2555
- {
2556
- "kind": "js",
2557
- "name": "TypeRampValues",
2551
+ "name": "JSONReviver",
2558
2552
  "declaration": {
2559
- "name": "TypeRampValues",
2560
- "module": "src/styles/typography.ts"
2553
+ "name": "JSONReviver",
2554
+ "module": "src/serializers/json/jsonReviver.ts"
2561
2555
  }
2562
2556
  }
2563
2557
  ]
2558
+ },
2559
+ {
2560
+ "kind": "javascript-module",
2561
+ "path": "src/serializers/json/types.ts",
2562
+ "declarations": [],
2563
+ "exports": []
2564
2564
  }
2565
2565
  ]
2566
2566
  }