@genesislcap/foundation-utils 14.147.0 → 14.147.1-alpha-bc4deec.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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +577 -577
  2. package/package.json +10 -10
@@ -349,6 +349,59 @@
349
349
  }
350
350
  ]
351
351
  },
352
+ {
353
+ "kind": "javascript-module",
354
+ "path": "src/decorators/index.ts",
355
+ "declarations": [],
356
+ "exports": [
357
+ {
358
+ "kind": "js",
359
+ "name": "*",
360
+ "declaration": {
361
+ "name": "*",
362
+ "package": "./renderOnChange"
363
+ }
364
+ }
365
+ ]
366
+ },
367
+ {
368
+ "kind": "javascript-module",
369
+ "path": "src/decorators/renderOnChange.ts",
370
+ "declarations": [
371
+ {
372
+ "kind": "function",
373
+ "name": "renderOnChange",
374
+ "parameters": [
375
+ {
376
+ "name": "target",
377
+ "type": {
378
+ "text": "FASTElement & { render(): void }"
379
+ },
380
+ "description": "The target to define the property change handler on."
381
+ },
382
+ {
383
+ "name": "name",
384
+ "type": {
385
+ "text": "string"
386
+ },
387
+ "description": "The property name."
388
+ }
389
+ ],
390
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
391
+ "privacy": "public"
392
+ }
393
+ ],
394
+ "exports": [
395
+ {
396
+ "kind": "js",
397
+ "name": "renderOnChange",
398
+ "declaration": {
399
+ "name": "renderOnChange",
400
+ "module": "src/decorators/renderOnChange.ts"
401
+ }
402
+ }
403
+ ]
404
+ },
352
405
  {
353
406
  "kind": "javascript-module",
354
407
  "path": "src/design-system/design-system.ts",
@@ -422,59 +475,6 @@
422
475
  }
423
476
  ]
424
477
  },
425
- {
426
- "kind": "javascript-module",
427
- "path": "src/decorators/index.ts",
428
- "declarations": [],
429
- "exports": [
430
- {
431
- "kind": "js",
432
- "name": "*",
433
- "declaration": {
434
- "name": "*",
435
- "package": "./renderOnChange"
436
- }
437
- }
438
- ]
439
- },
440
- {
441
- "kind": "javascript-module",
442
- "path": "src/decorators/renderOnChange.ts",
443
- "declarations": [
444
- {
445
- "kind": "function",
446
- "name": "renderOnChange",
447
- "parameters": [
448
- {
449
- "name": "target",
450
- "type": {
451
- "text": "FASTElement & { render(): void }"
452
- },
453
- "description": "The target to define the property change handler on."
454
- },
455
- {
456
- "name": "name",
457
- "type": {
458
- "text": "string"
459
- },
460
- "description": "The property name."
461
- }
462
- ],
463
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
464
- "privacy": "public"
465
- }
466
- ],
467
- "exports": [
468
- {
469
- "kind": "js",
470
- "name": "renderOnChange",
471
- "declaration": {
472
- "name": "renderOnChange",
473
- "module": "src/decorators/renderOnChange.ts"
474
- }
475
- }
476
- ]
477
- },
478
478
  {
479
479
  "kind": "javascript-module",
480
480
  "path": "src/env/index.ts",
@@ -1195,6 +1195,21 @@
1195
1195
  }
1196
1196
  ]
1197
1197
  },
1198
+ {
1199
+ "kind": "javascript-module",
1200
+ "path": "src/mappers/index.ts",
1201
+ "declarations": [],
1202
+ "exports": [
1203
+ {
1204
+ "kind": "js",
1205
+ "name": "*",
1206
+ "declaration": {
1207
+ "name": "*",
1208
+ "package": "./dto"
1209
+ }
1210
+ }
1211
+ ]
1212
+ },
1198
1213
  {
1199
1214
  "kind": "javascript-module",
1200
1215
  "path": "src/mixins/index.ts",
@@ -1474,95 +1489,42 @@
1474
1489
  },
1475
1490
  {
1476
1491
  "kind": "javascript-module",
1477
- "path": "src/styles/color.ts",
1478
- "declarations": [
1479
- {
1480
- "kind": "variable",
1481
- "name": "activeColorScheme",
1482
- "description": "A design token that represents the active color scheme (light or dark).",
1483
- "privacy": "public"
1484
- }
1485
- ],
1492
+ "path": "src/utils/index.ts",
1493
+ "declarations": [],
1486
1494
  "exports": [
1487
1495
  {
1488
1496
  "kind": "js",
1489
- "name": "activeColorScheme",
1497
+ "name": "*",
1490
1498
  "declaration": {
1491
- "name": "activeColorScheme",
1492
- "module": "src/styles/color.ts"
1499
+ "name": "*",
1500
+ "package": "./logger"
1493
1501
  }
1494
1502
  }
1495
1503
  ]
1496
1504
  },
1497
1505
  {
1498
1506
  "kind": "javascript-module",
1499
- "path": "src/styles/dom.ts",
1507
+ "path": "src/utils/logger.ts",
1500
1508
  "declarations": [
1501
1509
  {
1502
- "kind": "function",
1503
- "name": "insertDocumentCSSRule",
1504
- "return": {
1505
- "type": {
1506
- "text": ""
1507
- }
1508
- },
1509
- "parameters": [
1510
- {
1511
- "name": "cssRule",
1512
- "type": {
1513
- "text": "string"
1514
- },
1515
- "description": "The CSS rule to insert."
1516
- },
1517
- {
1518
- "name": "styleElementId",
1519
- "type": {
1520
- "text": "string"
1521
- },
1522
- "description": "The ID of the style element to use or create."
1523
- }
1524
- ],
1525
- "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.",
1526
- "privacy": "public"
1527
- },
1528
- {
1529
- "kind": "function",
1530
- "name": "insertDocumentLink",
1531
- "parameters": [
1532
- {
1533
- "name": "href",
1534
- "type": {
1535
- "text": "string"
1536
- },
1537
- "description": "The URL of the CSS file to insert."
1538
- }
1539
- ],
1540
- "description": "Inserts a CSS link into the document if it doesn't already exist.",
1541
- "privacy": "public"
1510
+ "kind": "variable",
1511
+ "name": "logger"
1542
1512
  }
1543
1513
  ],
1544
1514
  "exports": [
1545
1515
  {
1546
1516
  "kind": "js",
1547
- "name": "insertDocumentCSSRule",
1548
- "declaration": {
1549
- "name": "insertDocumentCSSRule",
1550
- "module": "src/styles/dom.ts"
1551
- }
1552
- },
1553
- {
1554
- "kind": "js",
1555
- "name": "insertDocumentLink",
1517
+ "name": "logger",
1556
1518
  "declaration": {
1557
- "name": "insertDocumentLink",
1558
- "module": "src/styles/dom.ts"
1519
+ "name": "logger",
1520
+ "module": "src/utils/logger.ts"
1559
1521
  }
1560
1522
  }
1561
1523
  ]
1562
1524
  },
1563
1525
  {
1564
1526
  "kind": "javascript-module",
1565
- "path": "src/styles/index.ts",
1527
+ "path": "src/uuid/index.ts",
1566
1528
  "declarations": [],
1567
1529
  "exports": [
1568
1530
  {
@@ -1570,258 +1532,338 @@
1570
1532
  "name": "*",
1571
1533
  "declaration": {
1572
1534
  "name": "*",
1573
- "package": "./color"
1574
- }
1575
- },
1576
- {
1577
- "kind": "js",
1578
- "name": "*",
1579
- "declaration": {
1580
- "name": "*",
1581
- "package": "./dom"
1535
+ "package": "./uuid"
1582
1536
  }
1583
- },
1537
+ }
1538
+ ]
1539
+ },
1540
+ {
1541
+ "kind": "javascript-module",
1542
+ "path": "src/uuid/uuid.ts",
1543
+ "declarations": [
1584
1544
  {
1585
- "kind": "js",
1586
- "name": "*",
1587
- "declaration": {
1588
- "name": "*",
1589
- "package": "./slotted-styles"
1590
- }
1591
- },
1545
+ "kind": "variable",
1546
+ "name": "UUID",
1547
+ "description": "A dependency injection token for the UUID interface.",
1548
+ "privacy": "public"
1549
+ }
1550
+ ],
1551
+ "exports": [
1592
1552
  {
1593
1553
  "kind": "js",
1594
- "name": "*",
1554
+ "name": "UUID",
1595
1555
  "declaration": {
1596
- "name": "*",
1597
- "package": "./typography"
1556
+ "name": "UUID",
1557
+ "module": "src/uuid/uuid.ts"
1598
1558
  }
1599
- },
1559
+ }
1560
+ ]
1561
+ },
1562
+ {
1563
+ "kind": "javascript-module",
1564
+ "path": "src/window/index.ts",
1565
+ "declarations": [],
1566
+ "exports": [
1600
1567
  {
1601
1568
  "kind": "js",
1602
1569
  "name": "*",
1603
1570
  "declaration": {
1604
1571
  "name": "*",
1605
- "package": "./toElementStyles"
1572
+ "package": "./window"
1606
1573
  }
1607
1574
  }
1608
1575
  ]
1609
1576
  },
1610
1577
  {
1611
1578
  "kind": "javascript-module",
1612
- "path": "src/styles/slotted-styles.ts",
1579
+ "path": "src/window/window.ts",
1613
1580
  "declarations": [
1614
1581
  {
1615
- "kind": "class",
1616
- "description": "A custom element that encapsulates a set of styles that can be applied to slotted elements.",
1617
- "name": "SlottedStyles",
1618
- "members": [
1619
- {
1620
- "kind": "field",
1621
- "name": "styles",
1582
+ "kind": "function",
1583
+ "name": "inIFrame",
1584
+ "return": {
1585
+ "type": {
1586
+ "text": ""
1587
+ }
1588
+ },
1589
+ "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
1590
+ "privacy": "public"
1591
+ },
1592
+ {
1593
+ "kind": "function",
1594
+ "name": "inSymphonyDesktop",
1595
+ "return": {
1596
+ "type": {
1597
+ "text": ""
1598
+ }
1599
+ },
1600
+ "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
1601
+ "privacy": "public"
1602
+ },
1603
+ {
1604
+ "kind": "variable",
1605
+ "name": "POPUP_DEFAULT_WIDTH",
1606
+ "type": {
1607
+ "text": "number"
1608
+ },
1609
+ "default": "483",
1610
+ "description": "The default width (in pixels) for pop-up windows.",
1611
+ "privacy": "public"
1612
+ },
1613
+ {
1614
+ "kind": "variable",
1615
+ "name": "POPUP_DEFAULT_HEIGHT",
1616
+ "type": {
1617
+ "text": "number"
1618
+ },
1619
+ "default": "600",
1620
+ "description": "The default height (in pixels) for pop-up windows.",
1621
+ "privacy": "public"
1622
+ },
1623
+ {
1624
+ "kind": "function",
1625
+ "name": "openPopup",
1626
+ "return": {
1627
+ "type": {
1628
+ "text": ""
1629
+ }
1630
+ },
1631
+ "parameters": [
1632
+ {
1633
+ "name": "urlNavigate",
1622
1634
  "type": {
1623
- "text": "ElementStyles"
1635
+ "text": "string"
1624
1636
  },
1625
- "description": "The styles to apply to slotted elements."
1637
+ "description": "The URL to navigate to."
1626
1638
  },
1627
1639
  {
1628
- "kind": "method",
1629
- "name": "stylesChanged",
1630
- "return": {
1631
- "type": {
1632
- "text": "void"
1633
- }
1640
+ "name": "target",
1641
+ "type": {
1642
+ "text": "string"
1634
1643
  },
1635
- "parameters": [
1636
- {
1637
- "name": "prev",
1638
- "type": {
1639
- "text": "ElementStyles"
1640
- },
1641
- "description": "The previous value of the `styles` property."
1642
- },
1643
- {
1644
- "name": "next",
1645
- "type": {
1646
- "text": "ElementStyles"
1647
- },
1648
- "description": "The new value of the `styles` property."
1649
- }
1650
- ],
1651
- "description": "Called when the `styles` property changes.\nRemoves the previous styles from the parent element's FAST controller and adds the new styles."
1644
+ "description": "The name of the new window."
1645
+ },
1646
+ {
1647
+ "name": "popUpWidth",
1648
+ "default": "POPUP_DEFAULT_WIDTH",
1649
+ "type": {
1650
+ "text": "number"
1651
+ },
1652
+ "description": "The width of the new window (optional)."
1653
+ },
1654
+ {
1655
+ "name": "popUpHeight",
1656
+ "default": "POPUP_DEFAULT_HEIGHT",
1657
+ "type": {
1658
+ "text": "number"
1659
+ },
1660
+ "description": "The height of the new window (optional)."
1652
1661
  }
1653
1662
  ],
1654
- "superclass": {
1655
- "name": "FASTElement",
1656
- "package": "@microsoft/fast-element"
1657
- },
1658
- "tagName": "slotted-styles",
1659
- "customElement": true
1663
+ "description": "Opens a new browser window with the specified URL, target, width, and height.",
1664
+ "privacy": "public"
1660
1665
  }
1661
1666
  ],
1662
1667
  "exports": [
1663
1668
  {
1664
1669
  "kind": "js",
1665
- "name": "SlottedStyles",
1670
+ "name": "inIFrame",
1666
1671
  "declaration": {
1667
- "name": "SlottedStyles",
1668
- "module": "src/styles/slotted-styles.ts"
1672
+ "name": "inIFrame",
1673
+ "module": "src/window/window.ts"
1669
1674
  }
1670
1675
  },
1671
1676
  {
1672
- "kind": "custom-element-definition",
1673
- "name": "slotted-styles",
1677
+ "kind": "js",
1678
+ "name": "inSymphonyDesktop",
1674
1679
  "declaration": {
1675
- "name": "SlottedStyles",
1676
- "module": "src/styles/slotted-styles.ts"
1680
+ "name": "inSymphonyDesktop",
1681
+ "module": "src/window/window.ts"
1682
+ }
1683
+ },
1684
+ {
1685
+ "kind": "js",
1686
+ "name": "POPUP_DEFAULT_WIDTH",
1687
+ "declaration": {
1688
+ "name": "POPUP_DEFAULT_WIDTH",
1689
+ "module": "src/window/window.ts"
1690
+ }
1691
+ },
1692
+ {
1693
+ "kind": "js",
1694
+ "name": "POPUP_DEFAULT_HEIGHT",
1695
+ "declaration": {
1696
+ "name": "POPUP_DEFAULT_HEIGHT",
1697
+ "module": "src/window/window.ts"
1698
+ }
1699
+ },
1700
+ {
1701
+ "kind": "js",
1702
+ "name": "openPopup",
1703
+ "declaration": {
1704
+ "name": "openPopup",
1705
+ "module": "src/window/window.ts"
1677
1706
  }
1678
1707
  }
1679
1708
  ]
1680
1709
  },
1681
1710
  {
1682
1711
  "kind": "javascript-module",
1683
- "path": "src/styles/toElementStyles.ts",
1684
- "declarations": [
1685
- {
1686
- "kind": "function",
1687
- "name": "toElementStyles",
1688
- "return": {
1689
- "type": {
1690
- "text": "ElementStyles"
1691
- }
1692
- },
1693
- "parameters": [
1694
- {
1695
- "name": "styles",
1696
- "type": {
1697
- "text": "ComposableStyles | ComposableStyles[]"
1698
- },
1699
- "description": "ComposableStyles or a ComposableStyles array."
1700
- }
1701
- ],
1702
- "description": "toElementStyles.",
1703
- "privacy": "public"
1704
- }
1705
- ],
1712
+ "path": "src/directives/sync/index.ts",
1713
+ "declarations": [],
1706
1714
  "exports": [
1707
1715
  {
1708
1716
  "kind": "js",
1709
- "name": "toElementStyles",
1717
+ "name": "*",
1710
1718
  "declaration": {
1711
- "name": "toElementStyles",
1712
- "module": "src/styles/toElementStyles.ts"
1719
+ "name": "*",
1720
+ "package": "./sync"
1713
1721
  }
1714
1722
  }
1715
1723
  ]
1716
1724
  },
1717
1725
  {
1718
1726
  "kind": "javascript-module",
1719
- "path": "src/styles/typography.ts",
1727
+ "path": "src/directives/sync/sync.ts",
1720
1728
  "declarations": [
1729
+ {
1730
+ "kind": "variable",
1731
+ "name": "defaultEventMap",
1732
+ "type": {
1733
+ "text": "Map<string, EventName>"
1734
+ },
1735
+ "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])",
1736
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
1737
+ "privacy": "public"
1738
+ },
1721
1739
  {
1722
1740
  "kind": "function",
1723
- "name": "loadFontFaces",
1741
+ "name": "sync",
1724
1742
  "return": {
1725
1743
  "type": {
1726
- "text": "void"
1744
+ "text": "CaptureType<TSource>"
1727
1745
  }
1728
1746
  },
1729
1747
  "parameters": [
1730
1748
  {
1731
- "name": "fontFaceRules",
1749
+ "name": "binding",
1732
1750
  "type": {
1733
- "text": "string"
1734
- },
1735
- "description": "The CSS rules for the font faces."
1751
+ "text": "Binding<TSource, TReturn>"
1752
+ }
1736
1753
  },
1737
1754
  {
1738
- "name": "styleElementId",
1755
+ "name": "conversionType",
1756
+ "default": "'string'",
1757
+ "type": {
1758
+ "text": "ConversionType"
1759
+ }
1760
+ },
1761
+ {
1762
+ "name": "eventName",
1763
+ "default": "'default'",
1764
+ "type": {
1765
+ "text": "EventName"
1766
+ }
1767
+ },
1768
+ {
1769
+ "name": "keyAttr",
1770
+ "optional": true,
1739
1771
  "type": {
1740
1772
  "text": "string"
1741
- },
1742
- "description": "The ID of the style element to insert into the document."
1773
+ }
1743
1774
  }
1744
1775
  ],
1745
- "description": "Loads font faces by inserting a style element with the specified font face rules into the document.",
1776
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
1746
1777
  "privacy": "public"
1778
+ }
1779
+ ],
1780
+ "exports": [
1781
+ {
1782
+ "kind": "js",
1783
+ "name": "defaultEventMap",
1784
+ "declaration": {
1785
+ "name": "defaultEventMap",
1786
+ "module": "src/directives/sync/sync.ts"
1787
+ }
1747
1788
  },
1789
+ {
1790
+ "kind": "js",
1791
+ "name": "sync",
1792
+ "declaration": {
1793
+ "name": "sync",
1794
+ "module": "src/directives/sync/sync.ts"
1795
+ }
1796
+ }
1797
+ ]
1798
+ },
1799
+ {
1800
+ "kind": "javascript-module",
1801
+ "path": "src/directives/when-else/index.ts",
1802
+ "declarations": [],
1803
+ "exports": [
1804
+ {
1805
+ "kind": "js",
1806
+ "name": "*",
1807
+ "declaration": {
1808
+ "name": "*",
1809
+ "package": "./when-else"
1810
+ }
1811
+ }
1812
+ ]
1813
+ },
1814
+ {
1815
+ "kind": "javascript-module",
1816
+ "path": "src/directives/when-else/when-else.ts",
1817
+ "declarations": [
1748
1818
  {
1749
1819
  "kind": "function",
1750
- "name": "getFontMixin",
1820
+ "name": "whenElse",
1751
1821
  "return": {
1752
1822
  "type": {
1753
- "text": ""
1823
+ "text": "CaptureType<TSource>"
1754
1824
  }
1755
1825
  },
1756
1826
  "parameters": [
1757
1827
  {
1758
- "name": "family",
1828
+ "name": "binding",
1759
1829
  "type": {
1760
- "text": "string"
1830
+ "text": "Binding<TSource, TReturn>"
1761
1831
  },
1762
- "description": "The font family."
1832
+ "description": "The condition to test for rendering."
1763
1833
  },
1764
1834
  {
1765
- "name": "style",
1766
- "default": "FontStyle.Normal",
1835
+ "name": "trueTemplateOrTemplateBinding",
1767
1836
  "type": {
1768
- "text": "FontStyle"
1837
+ "text": "WhenTemplate<TSource>"
1769
1838
  },
1770
- "description": "Optional. The font style. Defaults to FontStyle.Normal."
1839
+ "description": "The template or a binding that gets the template to render when the condition is true."
1771
1840
  },
1772
1841
  {
1773
- "name": "weight",
1774
- "default": "FontWeight.Regular",
1842
+ "name": "falseTemplateOrTemplateBinding",
1775
1843
  "type": {
1776
- "text": "FontWeight"
1844
+ "text": "WhenTemplate<TSource>"
1777
1845
  },
1778
- "description": "Optional. The font weight. Defaults to FontWeight.Regular."
1846
+ "description": "The template or a binding that gets the template to render when the condition is false."
1779
1847
  }
1780
1848
  ],
1781
- "description": "Generates a CSS mixin for the specified font family, style, and weight.",
1782
- "privacy": "public"
1783
- },
1784
- {
1785
- "kind": "variable",
1786
- "name": "TypeRampValues",
1787
- "type": {
1788
- "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}"
1789
- },
1790
- "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}",
1791
- "description": "An object containing type ramp values.",
1849
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
1792
1850
  "privacy": "public"
1793
1851
  }
1794
1852
  ],
1795
1853
  "exports": [
1796
1854
  {
1797
1855
  "kind": "js",
1798
- "name": "loadFontFaces",
1799
- "declaration": {
1800
- "name": "loadFontFaces",
1801
- "module": "src/styles/typography.ts"
1802
- }
1803
- },
1804
- {
1805
- "kind": "js",
1806
- "name": "getFontMixin",
1807
- "declaration": {
1808
- "name": "getFontMixin",
1809
- "module": "src/styles/typography.ts"
1810
- }
1811
- },
1812
- {
1813
- "kind": "js",
1814
- "name": "TypeRampValues",
1856
+ "name": "whenElse",
1815
1857
  "declaration": {
1816
- "name": "TypeRampValues",
1817
- "module": "src/styles/typography.ts"
1858
+ "name": "whenElse",
1859
+ "module": "src/directives/when-else/when-else.ts"
1818
1860
  }
1819
1861
  }
1820
1862
  ]
1821
1863
  },
1822
1864
  {
1823
1865
  "kind": "javascript-module",
1824
- "path": "src/utils/index.ts",
1866
+ "path": "src/mappers/dto/index.ts",
1825
1867
  "declarations": [],
1826
1868
  "exports": [
1827
1869
  {
@@ -1829,132 +1871,125 @@
1829
1871
  "name": "*",
1830
1872
  "declaration": {
1831
1873
  "name": "*",
1832
- "package": "./logger"
1874
+ "package": "./serverRow"
1875
+ }
1876
+ },
1877
+ {
1878
+ "kind": "js",
1879
+ "name": "*",
1880
+ "declaration": {
1881
+ "name": "*",
1882
+ "package": "./types"
1833
1883
  }
1834
1884
  }
1835
1885
  ]
1836
1886
  },
1837
1887
  {
1838
1888
  "kind": "javascript-module",
1839
- "path": "src/utils/logger.ts",
1889
+ "path": "src/mappers/dto/serverRow.ts",
1840
1890
  "declarations": [
1891
+ {
1892
+ "kind": "class",
1893
+ "description": "The default `ServerRowDTOMapper`.",
1894
+ "name": "DefaultServerRowDTOMapper",
1895
+ "members": [
1896
+ {
1897
+ "kind": "field",
1898
+ "name": "fromDTO",
1899
+ "description": "Converts a server row DTO to an entity.",
1900
+ "parameters": [
1901
+ {
1902
+ "description": "The DTO to convert.",
1903
+ "name": "dto"
1904
+ }
1905
+ ],
1906
+ "return": {
1907
+ "type": {
1908
+ "text": ""
1909
+ }
1910
+ },
1911
+ "privacy": "public"
1912
+ },
1913
+ {
1914
+ "kind": "field",
1915
+ "name": "toDTO",
1916
+ "description": "Converts a server row entity to a DTO.",
1917
+ "parameters": [
1918
+ {
1919
+ "description": "The entity to convert.",
1920
+ "name": "entity"
1921
+ }
1922
+ ],
1923
+ "return": {
1924
+ "type": {
1925
+ "text": ""
1926
+ }
1927
+ },
1928
+ "privacy": "public"
1929
+ }
1930
+ ]
1931
+ },
1841
1932
  {
1842
1933
  "kind": "variable",
1843
- "name": "logger"
1934
+ "name": "ServerRowDTOMapper",
1935
+ "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
1936
+ "privacy": "public"
1844
1937
  }
1845
1938
  ],
1846
1939
  "exports": [
1847
1940
  {
1848
1941
  "kind": "js",
1849
- "name": "logger",
1942
+ "name": "DefaultServerRowDTOMapper",
1943
+ "declaration": {
1944
+ "name": "DefaultServerRowDTOMapper",
1945
+ "module": "src/mappers/dto/serverRow.ts"
1946
+ }
1947
+ },
1948
+ {
1949
+ "kind": "js",
1950
+ "name": "ServerRowDTOMapper",
1850
1951
  "declaration": {
1851
- "name": "logger",
1852
- "module": "src/utils/logger.ts"
1952
+ "name": "ServerRowDTOMapper",
1953
+ "module": "src/mappers/dto/serverRow.ts"
1853
1954
  }
1854
1955
  }
1855
1956
  ]
1856
1957
  },
1857
1958
  {
1858
1959
  "kind": "javascript-module",
1859
- "path": "src/uuid/index.ts",
1960
+ "path": "src/mappers/dto/types.ts",
1860
1961
  "declarations": [],
1861
- "exports": [
1862
- {
1863
- "kind": "js",
1864
- "name": "*",
1865
- "declaration": {
1866
- "name": "*",
1867
- "package": "./uuid"
1868
- }
1869
- }
1870
- ]
1962
+ "exports": []
1871
1963
  },
1872
1964
  {
1873
1965
  "kind": "javascript-module",
1874
- "path": "src/uuid/uuid.ts",
1966
+ "path": "src/styles/color.ts",
1875
1967
  "declarations": [
1876
1968
  {
1877
1969
  "kind": "variable",
1878
- "name": "UUID",
1879
- "description": "A dependency injection token for the UUID interface.",
1970
+ "name": "activeColorScheme",
1971
+ "description": "A design token that represents the active color scheme (light or dark).",
1880
1972
  "privacy": "public"
1881
1973
  }
1882
1974
  ],
1883
1975
  "exports": [
1884
1976
  {
1885
1977
  "kind": "js",
1886
- "name": "UUID",
1887
- "declaration": {
1888
- "name": "UUID",
1889
- "module": "src/uuid/uuid.ts"
1890
- }
1891
- }
1892
- ]
1893
- },
1894
- {
1895
- "kind": "javascript-module",
1896
- "path": "src/window/index.ts",
1897
- "declarations": [],
1898
- "exports": [
1899
- {
1900
- "kind": "js",
1901
- "name": "*",
1978
+ "name": "activeColorScheme",
1902
1979
  "declaration": {
1903
- "name": "*",
1904
- "package": "./window"
1980
+ "name": "activeColorScheme",
1981
+ "module": "src/styles/color.ts"
1905
1982
  }
1906
1983
  }
1907
1984
  ]
1908
1985
  },
1909
1986
  {
1910
1987
  "kind": "javascript-module",
1911
- "path": "src/window/window.ts",
1988
+ "path": "src/styles/dom.ts",
1912
1989
  "declarations": [
1913
1990
  {
1914
1991
  "kind": "function",
1915
- "name": "inIFrame",
1916
- "return": {
1917
- "type": {
1918
- "text": ""
1919
- }
1920
- },
1921
- "description": "Returns a boolean value indicating whether the current window is inside an iframe.",
1922
- "privacy": "public"
1923
- },
1924
- {
1925
- "kind": "function",
1926
- "name": "inSymphonyDesktop",
1927
- "return": {
1928
- "type": {
1929
- "text": ""
1930
- }
1931
- },
1932
- "description": "Returns a boolean value indicating whether the user is running the Symphony desktop app.",
1933
- "privacy": "public"
1934
- },
1935
- {
1936
- "kind": "variable",
1937
- "name": "POPUP_DEFAULT_WIDTH",
1938
- "type": {
1939
- "text": "number"
1940
- },
1941
- "default": "483",
1942
- "description": "The default width (in pixels) for pop-up windows.",
1943
- "privacy": "public"
1944
- },
1945
- {
1946
- "kind": "variable",
1947
- "name": "POPUP_DEFAULT_HEIGHT",
1948
- "type": {
1949
- "text": "number"
1950
- },
1951
- "default": "600",
1952
- "description": "The default height (in pixels) for pop-up windows.",
1953
- "privacy": "public"
1954
- },
1955
- {
1956
- "kind": "function",
1957
- "name": "openPopup",
1992
+ "name": "insertDocumentCSSRule",
1958
1993
  "return": {
1959
1994
  "type": {
1960
1995
  "text": ""
@@ -1962,233 +1997,313 @@
1962
1997
  },
1963
1998
  "parameters": [
1964
1999
  {
1965
- "name": "urlNavigate",
2000
+ "name": "cssRule",
1966
2001
  "type": {
1967
2002
  "text": "string"
1968
2003
  },
1969
- "description": "The URL to navigate to."
2004
+ "description": "The CSS rule to insert."
1970
2005
  },
1971
2006
  {
1972
- "name": "target",
2007
+ "name": "styleElementId",
1973
2008
  "type": {
1974
2009
  "text": "string"
1975
2010
  },
1976
- "description": "The name of the new window."
1977
- },
1978
- {
1979
- "name": "popUpWidth",
1980
- "default": "POPUP_DEFAULT_WIDTH",
1981
- "type": {
1982
- "text": "number"
1983
- },
1984
- "description": "The width of the new window (optional)."
1985
- },
2011
+ "description": "The ID of the style element to use or create."
2012
+ }
2013
+ ],
2014
+ "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.",
2015
+ "privacy": "public"
2016
+ },
2017
+ {
2018
+ "kind": "function",
2019
+ "name": "insertDocumentLink",
2020
+ "parameters": [
1986
2021
  {
1987
- "name": "popUpHeight",
1988
- "default": "POPUP_DEFAULT_HEIGHT",
2022
+ "name": "href",
1989
2023
  "type": {
1990
- "text": "number"
2024
+ "text": "string"
1991
2025
  },
1992
- "description": "The height of the new window (optional)."
2026
+ "description": "The URL of the CSS file to insert."
1993
2027
  }
1994
2028
  ],
1995
- "description": "Opens a new browser window with the specified URL, target, width, and height.",
2029
+ "description": "Inserts a CSS link into the document if it doesn't already exist.",
1996
2030
  "privacy": "public"
1997
2031
  }
1998
2032
  ],
1999
2033
  "exports": [
2000
2034
  {
2001
2035
  "kind": "js",
2002
- "name": "inIFrame",
2036
+ "name": "insertDocumentCSSRule",
2003
2037
  "declaration": {
2004
- "name": "inIFrame",
2005
- "module": "src/window/window.ts"
2038
+ "name": "insertDocumentCSSRule",
2039
+ "module": "src/styles/dom.ts"
2006
2040
  }
2007
2041
  },
2008
2042
  {
2009
2043
  "kind": "js",
2010
- "name": "inSymphonyDesktop",
2044
+ "name": "insertDocumentLink",
2011
2045
  "declaration": {
2012
- "name": "inSymphonyDesktop",
2013
- "module": "src/window/window.ts"
2046
+ "name": "insertDocumentLink",
2047
+ "module": "src/styles/dom.ts"
2048
+ }
2049
+ }
2050
+ ]
2051
+ },
2052
+ {
2053
+ "kind": "javascript-module",
2054
+ "path": "src/styles/index.ts",
2055
+ "declarations": [],
2056
+ "exports": [
2057
+ {
2058
+ "kind": "js",
2059
+ "name": "*",
2060
+ "declaration": {
2061
+ "name": "*",
2062
+ "package": "./color"
2014
2063
  }
2015
2064
  },
2016
2065
  {
2017
2066
  "kind": "js",
2018
- "name": "POPUP_DEFAULT_WIDTH",
2067
+ "name": "*",
2019
2068
  "declaration": {
2020
- "name": "POPUP_DEFAULT_WIDTH",
2021
- "module": "src/window/window.ts"
2069
+ "name": "*",
2070
+ "package": "./dom"
2022
2071
  }
2023
2072
  },
2024
2073
  {
2025
2074
  "kind": "js",
2026
- "name": "POPUP_DEFAULT_HEIGHT",
2075
+ "name": "*",
2027
2076
  "declaration": {
2028
- "name": "POPUP_DEFAULT_HEIGHT",
2029
- "module": "src/window/window.ts"
2077
+ "name": "*",
2078
+ "package": "./slotted-styles"
2030
2079
  }
2031
2080
  },
2032
2081
  {
2033
2082
  "kind": "js",
2034
- "name": "openPopup",
2083
+ "name": "*",
2035
2084
  "declaration": {
2036
- "name": "openPopup",
2037
- "module": "src/window/window.ts"
2085
+ "name": "*",
2086
+ "package": "./typography"
2038
2087
  }
2039
- }
2040
- ]
2041
- },
2042
- {
2043
- "kind": "javascript-module",
2044
- "path": "src/directives/sync/index.ts",
2045
- "declarations": [],
2046
- "exports": [
2088
+ },
2047
2089
  {
2048
2090
  "kind": "js",
2049
2091
  "name": "*",
2050
2092
  "declaration": {
2051
2093
  "name": "*",
2052
- "package": "./sync"
2094
+ "package": "./toElementStyles"
2053
2095
  }
2054
2096
  }
2055
2097
  ]
2056
2098
  },
2057
2099
  {
2058
2100
  "kind": "javascript-module",
2059
- "path": "src/directives/sync/sync.ts",
2101
+ "path": "src/styles/slotted-styles.ts",
2060
2102
  "declarations": [
2061
2103
  {
2062
- "kind": "variable",
2063
- "name": "defaultEventMap",
2064
- "type": {
2065
- "text": "Map<string, EventName>"
2066
- },
2067
- "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])",
2068
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2069
- "privacy": "public"
2070
- },
2071
- {
2072
- "kind": "function",
2073
- "name": "sync",
2074
- "return": {
2075
- "type": {
2076
- "text": "CaptureType<TSource>"
2077
- }
2078
- },
2079
- "parameters": [
2080
- {
2081
- "name": "binding",
2082
- "type": {
2083
- "text": "Binding<TSource, TReturn>"
2084
- }
2085
- },
2086
- {
2087
- "name": "conversionType",
2088
- "default": "'string'",
2089
- "type": {
2090
- "text": "ConversionType"
2091
- }
2092
- },
2104
+ "kind": "class",
2105
+ "description": "A custom element that encapsulates a set of styles that can be applied to slotted elements.",
2106
+ "name": "SlottedStyles",
2107
+ "members": [
2093
2108
  {
2094
- "name": "eventName",
2095
- "default": "'default'",
2109
+ "kind": "field",
2110
+ "name": "styles",
2096
2111
  "type": {
2097
- "text": "EventName"
2098
- }
2112
+ "text": "ElementStyles"
2113
+ },
2114
+ "description": "The styles to apply to slotted elements."
2099
2115
  },
2100
2116
  {
2101
- "name": "keyAttr",
2102
- "optional": true,
2103
- "type": {
2104
- "text": "string"
2105
- }
2117
+ "kind": "method",
2118
+ "name": "stylesChanged",
2119
+ "return": {
2120
+ "type": {
2121
+ "text": "void"
2122
+ }
2123
+ },
2124
+ "parameters": [
2125
+ {
2126
+ "name": "prev",
2127
+ "type": {
2128
+ "text": "ElementStyles"
2129
+ },
2130
+ "description": "The previous value of the `styles` property."
2131
+ },
2132
+ {
2133
+ "name": "next",
2134
+ "type": {
2135
+ "text": "ElementStyles"
2136
+ },
2137
+ "description": "The new value of the `styles` property."
2138
+ }
2139
+ ],
2140
+ "description": "Called when the `styles` property changes.\nRemoves the previous styles from the parent element's FAST controller and adds the new styles."
2106
2141
  }
2107
2142
  ],
2108
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2109
- "privacy": "public"
2143
+ "superclass": {
2144
+ "name": "FASTElement",
2145
+ "package": "@microsoft/fast-element"
2146
+ },
2147
+ "tagName": "slotted-styles",
2148
+ "customElement": true
2110
2149
  }
2111
2150
  ],
2112
2151
  "exports": [
2113
2152
  {
2114
2153
  "kind": "js",
2115
- "name": "defaultEventMap",
2154
+ "name": "SlottedStyles",
2116
2155
  "declaration": {
2117
- "name": "defaultEventMap",
2118
- "module": "src/directives/sync/sync.ts"
2156
+ "name": "SlottedStyles",
2157
+ "module": "src/styles/slotted-styles.ts"
2119
2158
  }
2120
2159
  },
2121
2160
  {
2122
- "kind": "js",
2123
- "name": "sync",
2161
+ "kind": "custom-element-definition",
2162
+ "name": "slotted-styles",
2124
2163
  "declaration": {
2125
- "name": "sync",
2126
- "module": "src/directives/sync/sync.ts"
2164
+ "name": "SlottedStyles",
2165
+ "module": "src/styles/slotted-styles.ts"
2127
2166
  }
2128
2167
  }
2129
2168
  ]
2130
2169
  },
2131
2170
  {
2132
2171
  "kind": "javascript-module",
2133
- "path": "src/directives/when-else/index.ts",
2134
- "declarations": [],
2172
+ "path": "src/styles/toElementStyles.ts",
2173
+ "declarations": [
2174
+ {
2175
+ "kind": "function",
2176
+ "name": "toElementStyles",
2177
+ "return": {
2178
+ "type": {
2179
+ "text": "ElementStyles"
2180
+ }
2181
+ },
2182
+ "parameters": [
2183
+ {
2184
+ "name": "styles",
2185
+ "type": {
2186
+ "text": "ComposableStyles | ComposableStyles[]"
2187
+ },
2188
+ "description": "ComposableStyles or a ComposableStyles array."
2189
+ }
2190
+ ],
2191
+ "description": "toElementStyles.",
2192
+ "privacy": "public"
2193
+ }
2194
+ ],
2135
2195
  "exports": [
2136
2196
  {
2137
2197
  "kind": "js",
2138
- "name": "*",
2198
+ "name": "toElementStyles",
2139
2199
  "declaration": {
2140
- "name": "*",
2141
- "package": "./when-else"
2200
+ "name": "toElementStyles",
2201
+ "module": "src/styles/toElementStyles.ts"
2142
2202
  }
2143
2203
  }
2144
2204
  ]
2145
2205
  },
2146
2206
  {
2147
2207
  "kind": "javascript-module",
2148
- "path": "src/directives/when-else/when-else.ts",
2208
+ "path": "src/styles/typography.ts",
2149
2209
  "declarations": [
2150
2210
  {
2151
2211
  "kind": "function",
2152
- "name": "whenElse",
2212
+ "name": "loadFontFaces",
2153
2213
  "return": {
2154
2214
  "type": {
2155
- "text": "CaptureType<TSource>"
2215
+ "text": "void"
2156
2216
  }
2157
2217
  },
2158
2218
  "parameters": [
2159
2219
  {
2160
- "name": "binding",
2220
+ "name": "fontFaceRules",
2161
2221
  "type": {
2162
- "text": "Binding<TSource, TReturn>"
2222
+ "text": "string"
2163
2223
  },
2164
- "description": "The condition to test for rendering."
2224
+ "description": "The CSS rules for the font faces."
2165
2225
  },
2166
2226
  {
2167
- "name": "trueTemplateOrTemplateBinding",
2227
+ "name": "styleElementId",
2168
2228
  "type": {
2169
- "text": "WhenTemplate<TSource>"
2229
+ "text": "string"
2170
2230
  },
2171
- "description": "The template or a binding that gets the template to render when the condition is true."
2231
+ "description": "The ID of the style element to insert into the document."
2232
+ }
2233
+ ],
2234
+ "description": "Loads font faces by inserting a style element with the specified font face rules into the document.",
2235
+ "privacy": "public"
2236
+ },
2237
+ {
2238
+ "kind": "function",
2239
+ "name": "getFontMixin",
2240
+ "return": {
2241
+ "type": {
2242
+ "text": ""
2243
+ }
2244
+ },
2245
+ "parameters": [
2246
+ {
2247
+ "name": "family",
2248
+ "type": {
2249
+ "text": "string"
2250
+ },
2251
+ "description": "The font family."
2172
2252
  },
2173
2253
  {
2174
- "name": "falseTemplateOrTemplateBinding",
2254
+ "name": "style",
2255
+ "default": "FontStyle.Normal",
2175
2256
  "type": {
2176
- "text": "WhenTemplate<TSource>"
2257
+ "text": "FontStyle"
2177
2258
  },
2178
- "description": "The template or a binding that gets the template to render when the condition is false."
2259
+ "description": "Optional. The font style. Defaults to FontStyle.Normal."
2260
+ },
2261
+ {
2262
+ "name": "weight",
2263
+ "default": "FontWeight.Regular",
2264
+ "type": {
2265
+ "text": "FontWeight"
2266
+ },
2267
+ "description": "Optional. The font weight. Defaults to FontWeight.Regular."
2179
2268
  }
2180
2269
  ],
2181
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2270
+ "description": "Generates a CSS mixin for the specified font family, style, and weight.",
2271
+ "privacy": "public"
2272
+ },
2273
+ {
2274
+ "kind": "variable",
2275
+ "name": "TypeRampValues",
2276
+ "type": {
2277
+ "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}"
2278
+ },
2279
+ "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}",
2280
+ "description": "An object containing type ramp values.",
2182
2281
  "privacy": "public"
2183
2282
  }
2184
2283
  ],
2185
2284
  "exports": [
2186
2285
  {
2187
2286
  "kind": "js",
2188
- "name": "whenElse",
2287
+ "name": "loadFontFaces",
2189
2288
  "declaration": {
2190
- "name": "whenElse",
2191
- "module": "src/directives/when-else/when-else.ts"
2289
+ "name": "loadFontFaces",
2290
+ "module": "src/styles/typography.ts"
2291
+ }
2292
+ },
2293
+ {
2294
+ "kind": "js",
2295
+ "name": "getFontMixin",
2296
+ "declaration": {
2297
+ "name": "getFontMixin",
2298
+ "module": "src/styles/typography.ts"
2299
+ }
2300
+ },
2301
+ {
2302
+ "kind": "js",
2303
+ "name": "TypeRampValues",
2304
+ "declaration": {
2305
+ "name": "TypeRampValues",
2306
+ "module": "src/styles/typography.ts"
2192
2307
  }
2193
2308
  }
2194
2309
  ]
@@ -2630,121 +2745,6 @@
2630
2745
  "path": "src/serializers/json/types.ts",
2631
2746
  "declarations": [],
2632
2747
  "exports": []
2633
- },
2634
- {
2635
- "kind": "javascript-module",
2636
- "path": "src/mappers/index.ts",
2637
- "declarations": [],
2638
- "exports": [
2639
- {
2640
- "kind": "js",
2641
- "name": "*",
2642
- "declaration": {
2643
- "name": "*",
2644
- "package": "./dto"
2645
- }
2646
- }
2647
- ]
2648
- },
2649
- {
2650
- "kind": "javascript-module",
2651
- "path": "src/mappers/dto/index.ts",
2652
- "declarations": [],
2653
- "exports": [
2654
- {
2655
- "kind": "js",
2656
- "name": "*",
2657
- "declaration": {
2658
- "name": "*",
2659
- "package": "./serverRow"
2660
- }
2661
- },
2662
- {
2663
- "kind": "js",
2664
- "name": "*",
2665
- "declaration": {
2666
- "name": "*",
2667
- "package": "./types"
2668
- }
2669
- }
2670
- ]
2671
- },
2672
- {
2673
- "kind": "javascript-module",
2674
- "path": "src/mappers/dto/serverRow.ts",
2675
- "declarations": [
2676
- {
2677
- "kind": "class",
2678
- "description": "The default `ServerRowDTOMapper`.",
2679
- "name": "DefaultServerRowDTOMapper",
2680
- "members": [
2681
- {
2682
- "kind": "field",
2683
- "name": "fromDTO",
2684
- "description": "Converts a server row DTO to an entity.",
2685
- "parameters": [
2686
- {
2687
- "description": "The DTO to convert.",
2688
- "name": "dto"
2689
- }
2690
- ],
2691
- "return": {
2692
- "type": {
2693
- "text": ""
2694
- }
2695
- },
2696
- "privacy": "public"
2697
- },
2698
- {
2699
- "kind": "field",
2700
- "name": "toDTO",
2701
- "description": "Converts a server row entity to a DTO.",
2702
- "parameters": [
2703
- {
2704
- "description": "The entity to convert.",
2705
- "name": "entity"
2706
- }
2707
- ],
2708
- "return": {
2709
- "type": {
2710
- "text": ""
2711
- }
2712
- },
2713
- "privacy": "public"
2714
- }
2715
- ]
2716
- },
2717
- {
2718
- "kind": "variable",
2719
- "name": "ServerRowDTOMapper",
2720
- "description": "A DI token used to obtain a `ServerRowDTOMapper` instance.",
2721
- "privacy": "public"
2722
- }
2723
- ],
2724
- "exports": [
2725
- {
2726
- "kind": "js",
2727
- "name": "DefaultServerRowDTOMapper",
2728
- "declaration": {
2729
- "name": "DefaultServerRowDTOMapper",
2730
- "module": "src/mappers/dto/serverRow.ts"
2731
- }
2732
- },
2733
- {
2734
- "kind": "js",
2735
- "name": "ServerRowDTOMapper",
2736
- "declaration": {
2737
- "name": "ServerRowDTOMapper",
2738
- "module": "src/mappers/dto/serverRow.ts"
2739
- }
2740
- }
2741
- ]
2742
- },
2743
- {
2744
- "kind": "javascript-module",
2745
- "path": "src/mappers/dto/types.ts",
2746
- "declarations": [],
2747
- "exports": []
2748
2748
  }
2749
2749
  ]
2750
2750
  }