@genesislcap/foundation-entity-management 14.194.4 → 14.194.5

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 (33) hide show
  1. package/dist/custom-elements.json +695 -699
  2. package/dist/dts/entities/entities.d.ts +26 -10
  3. package/dist/dts/entities/entities.d.ts.map +1 -1
  4. package/dist/dts/main/main.d.ts +1 -2
  5. package/dist/dts/main/main.d.ts.map +1 -1
  6. package/dist/dts/profiles/editProfileSchema.d.ts +2 -18
  7. package/dist/dts/profiles/editProfileSchema.d.ts.map +1 -1
  8. package/dist/dts/types.d.ts +13 -0
  9. package/dist/dts/types.d.ts.map +1 -1
  10. package/dist/dts/users/users.d.ts +16 -20
  11. package/dist/dts/users/users.d.ts.map +1 -1
  12. package/dist/dts/users/users.template.d.ts.map +1 -1
  13. package/dist/esm/entities/entities.js +2 -2
  14. package/dist/esm/main/main.js +0 -4
  15. package/dist/foundation-entity-management.api.json +71 -53
  16. package/dist/foundation-entity-management.d.ts +55 -31
  17. package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +1 -1
  18. package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +3 -1
  19. package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +1 -1
  20. package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +1 -1
  21. package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +1 -1
  22. package/docs/api/foundation-entity-management.entitymanagement.md +7 -7
  23. package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +1 -1
  24. package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +1 -1
  25. package/docs/api/foundation-entity-management.mainapplication.md +1 -2
  26. package/docs/api/foundation-entity-management.mainapplication.provider.md +1 -1
  27. package/docs/api/foundation-entity-management.users.additionalcreatefields.md +1 -1
  28. package/docs/api/foundation-entity-management.users.additionalupdatefields.md +1 -1
  29. package/docs/api/foundation-entity-management.users.columns.md +1 -1
  30. package/docs/api/foundation-entity-management.users.md +3 -3
  31. package/docs/api-report.md +16 -14
  32. package/package.json +21 -21
  33. package/docs/api/foundation-entity-management.mainapplication.data.md +0 -11
@@ -374,21 +374,21 @@
374
374
  "kind": "field",
375
375
  "name": "formUiSchema",
376
376
  "type": {
377
- "text": "any"
377
+ "text": "UiSchema"
378
378
  }
379
379
  },
380
380
  {
381
381
  "kind": "field",
382
382
  "name": "createFormUiSchema",
383
383
  "type": {
384
- "text": "any"
384
+ "text": "UiSchema"
385
385
  }
386
386
  },
387
387
  {
388
388
  "kind": "field",
389
389
  "name": "updateFormUiSchema",
390
390
  "type": {
391
- "text": "any"
391
+ "text": "UiSchema"
392
392
  }
393
393
  },
394
394
  {
@@ -405,7 +405,7 @@
405
405
  "kind": "field",
406
406
  "name": "selectedEntity",
407
407
  "type": {
408
- "text": "any"
408
+ "text": "Record<string, unknown>"
409
409
  },
410
410
  "description": "Reference to the currently selected entity from the grid.",
411
411
  "privacy": "public"
@@ -414,23 +414,25 @@
414
414
  "kind": "field",
415
415
  "name": "editedEntity",
416
416
  "type": {
417
- "text": "any"
417
+ "text": "Record<string, unknown>"
418
418
  },
419
419
  "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
420
420
  "privacy": "public"
421
421
  },
422
422
  {
423
423
  "kind": "field",
424
- "name": "submitting",
424
+ "name": "defaultEntityValues",
425
425
  "type": {
426
- "text": "boolean"
427
- }
426
+ "text": "Record<string, unknown>"
427
+ },
428
+ "description": "The default values to populate the form with when the user is adding an entity",
429
+ "privacy": "public"
428
430
  },
429
431
  {
430
432
  "kind": "field",
431
- "name": "defaultEntityValues",
433
+ "name": "submitting",
432
434
  "type": {
433
- "text": "any"
435
+ "text": "boolean"
434
436
  }
435
437
  },
436
438
  {
@@ -457,7 +459,7 @@
457
459
  "kind": "field",
458
460
  "name": "editEntityModal",
459
461
  "type": {
460
- "text": "any"
462
+ "text": "Modal"
461
463
  },
462
464
  "privacy": "public"
463
465
  },
@@ -1520,7 +1522,7 @@
1520
1522
  "kind": "field",
1521
1523
  "name": "provider",
1522
1524
  "type": {
1523
- "text": "any"
1525
+ "text": "HTMLElement"
1524
1526
  }
1525
1527
  },
1526
1528
  {
@@ -1531,14 +1533,6 @@
1531
1533
  },
1532
1534
  "default": "false"
1533
1535
  },
1534
- {
1535
- "kind": "field",
1536
- "name": "data",
1537
- "type": {
1538
- "text": "any"
1539
- },
1540
- "default": "null"
1541
- },
1542
1536
  {
1543
1537
  "kind": "method",
1544
1538
  "name": "onLuminanceToggle"
@@ -1584,247 +1578,671 @@
1584
1578
  },
1585
1579
  {
1586
1580
  "kind": "javascript-module",
1587
- "path": "src/profiles/editProfileSchema.ts",
1581
+ "path": "src/routes/config.ts",
1582
+ "declarations": [],
1583
+ "exports": []
1584
+ },
1585
+ {
1586
+ "kind": "javascript-module",
1587
+ "path": "src/routes/index.ts",
1588
+ "declarations": [],
1589
+ "exports": [
1590
+ {
1591
+ "kind": "js",
1592
+ "name": "*",
1593
+ "declaration": {
1594
+ "name": "*",
1595
+ "package": "./config"
1596
+ }
1597
+ }
1598
+ ]
1599
+ },
1600
+ {
1601
+ "kind": "javascript-module",
1602
+ "path": "src/users/users.template.ts",
1588
1603
  "declarations": [
1589
1604
  {
1590
- "kind": "variable",
1591
- "name": "editProfileFormSchema",
1592
- "type": {
1593
- "text": "object"
1594
- },
1595
- "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
1605
+ "kind": "function",
1606
+ "name": "getPrefixedUsers",
1607
+ "parameters": [
1608
+ {
1609
+ "name": "prefix"
1610
+ }
1611
+ ]
1596
1612
  }
1597
1613
  ],
1598
1614
  "exports": [
1599
1615
  {
1600
1616
  "kind": "js",
1601
- "name": "editProfileFormSchema",
1617
+ "name": "getPrefixedUsers",
1602
1618
  "declaration": {
1603
- "name": "editProfileFormSchema",
1604
- "module": "src/profiles/editProfileSchema.ts"
1619
+ "name": "getPrefixedUsers",
1620
+ "module": "src/users/users.template.ts"
1605
1621
  }
1606
1622
  }
1607
1623
  ]
1608
1624
  },
1609
1625
  {
1610
1626
  "kind": "javascript-module",
1611
- "path": "src/profiles/profiles.ts",
1627
+ "path": "src/users/users.ts",
1612
1628
  "declarations": [
1629
+ {
1630
+ "kind": "variable",
1631
+ "name": "UsersColumnConfig",
1632
+ "type": {
1633
+ "text": "array"
1634
+ },
1635
+ "default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
1636
+ "description": "Defines the default columns which are present on the user management component",
1637
+ "privacy": "public"
1638
+ },
1613
1639
  {
1614
1640
  "kind": "class",
1615
- "description": "Main class which defined the profile management functionality",
1616
- "name": "Profiles",
1641
+ "description": "Main class which defines the user management functionality",
1642
+ "name": "Users",
1617
1643
  "members": [
1618
- {
1619
- "kind": "method",
1620
- "name": "readProfileData",
1621
- "privacy": "public",
1622
- "parameters": [
1623
- {
1624
- "name": "profile"
1625
- }
1626
- ]
1627
- },
1628
- {
1629
- "kind": "method",
1630
- "name": "confirmDelete",
1631
- "inheritedFrom": {
1632
- "name": "EntityManagement",
1633
- "module": "src/entities/entities.ts"
1634
- }
1635
- },
1636
1644
  {
1637
1645
  "kind": "field",
1638
- "name": "createEvent",
1646
+ "name": "prefix",
1639
1647
  "type": {
1640
1648
  "text": "string"
1641
1649
  },
1642
- "description": "Name of the event handler on the Genesis server which handles creating an entity",
1643
- "privacy": "public",
1644
- "inheritedFrom": {
1645
- "name": "EntityManagement",
1646
- "module": "src/entities/entities.ts"
1647
- }
1650
+ "default": "'zero'",
1651
+ "description": "Name of the design system prefix that will be used for components.",
1652
+ "privacy": "public"
1648
1653
  },
1649
1654
  {
1650
1655
  "kind": "field",
1651
- "name": "deleteEvent",
1656
+ "name": "persistColumnStateKey",
1652
1657
  "type": {
1653
1658
  "text": "string"
1654
1659
  },
1655
- "description": "Name of the event handler on the Genesis server which handles deleting the entity",
1656
- "privacy": "public",
1657
- "inheritedFrom": {
1658
- "name": "EntityManagement",
1659
- "module": "src/entities/entities.ts"
1660
- }
1660
+ "default": "'entity_users_management'",
1661
+ "description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
1662
+ "privacy": "public"
1661
1663
  },
1662
1664
  {
1663
1665
  "kind": "field",
1664
- "name": "updateEvent",
1666
+ "name": "enableSearchBar",
1665
1667
  "type": {
1666
- "text": "string"
1668
+ "text": "boolean"
1667
1669
  },
1668
- "description": "Name of the event handler on the Genesis server which handles updating the entity",
1669
- "privacy": "public",
1670
- "inheritedFrom": {
1671
- "name": "EntityManagement",
1672
- "module": "src/entities/entities.ts"
1673
- }
1670
+ "default": "false",
1671
+ "description": "This attribute controls whether to enable the search-bar.",
1672
+ "privacy": "public"
1674
1673
  },
1675
1674
  {
1676
1675
  "kind": "field",
1677
- "name": "persistColumnStateKey",
1676
+ "name": "gridOptions",
1678
1677
  "type": {
1679
- "text": "string"
1678
+ "text": "GridOptions"
1680
1679
  },
1681
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
1682
- "privacy": "public",
1683
- "default": "'entity_profiles_management'",
1684
- "inheritedFrom": {
1685
- "name": "EntityManagement",
1686
- "module": "src/entities/entities.ts"
1687
- }
1680
+ "description": "GridOptions to be passed down from application",
1681
+ "privacy": "public"
1688
1682
  },
1689
1683
  {
1690
1684
  "kind": "field",
1691
- "name": "updateFormUiSchema",
1685
+ "name": "columns",
1692
1686
  "type": {
1693
- "text": "any"
1687
+ "text": "(ColDef<any> | ColGroupDef<any>)[]"
1694
1688
  },
1695
- "default": "editProfileFormSchema",
1696
- "inheritedFrom": {
1697
- "name": "EntityManagement",
1698
- "module": "src/entities/entities.ts"
1699
- }
1689
+ "default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
1690
+ "description": "Column definition, default to the UsersColumnConfig"
1700
1691
  },
1701
1692
  {
1702
1693
  "kind": "field",
1703
- "name": "createFormUiSchema",
1694
+ "name": "additionalCreateFields",
1704
1695
  "type": {
1705
- "text": "any"
1696
+ "text": "AdditionalEntry[]"
1706
1697
  },
1707
- "default": "editProfileFormSchema",
1708
- "inheritedFrom": {
1709
- "name": "EntityManagement",
1710
- "module": "src/entities/entities.ts"
1711
- }
1698
+ "default": "[]"
1712
1699
  },
1713
1700
  {
1714
1701
  "kind": "field",
1715
- "name": "readEventFn",
1702
+ "name": "additionalUpdateFields",
1716
1703
  "type": {
1717
- "text": "(...args) => {}"
1704
+ "text": "AdditionalEntry[]"
1718
1705
  },
1719
- "inheritedFrom": {
1720
- "name": "EntityManagement",
1721
- "module": "src/entities/entities.ts"
1722
- }
1706
+ "default": "[]"
1723
1707
  },
1724
1708
  {
1725
1709
  "kind": "field",
1726
- "name": "resourceName",
1710
+ "name": "allAccessType",
1727
1711
  "type": {
1728
- "text": "string"
1729
- },
1730
- "description": "Name of the backend resource which contain the entities to manage",
1731
- "privacy": "public",
1732
- "default": "'ALL_PROFILES'",
1733
- "inheritedFrom": {
1734
- "name": "EntityManagement",
1735
- "module": "src/entities/entities.ts"
1712
+ "text": "boolean"
1736
1713
  }
1737
1714
  },
1738
1715
  {
1739
1716
  "kind": "field",
1740
- "name": "title",
1717
+ "name": "entityIdValue",
1741
1718
  "type": {
1742
1719
  "text": "string"
1743
1720
  },
1744
- "description": "Title of the grid",
1745
- "privacy": "public",
1746
- "default": "'Profile Management'",
1747
- "inheritedFrom": {
1748
- "name": "EntityManagement",
1749
- "module": "src/entities/entities.ts"
1750
- }
1721
+ "privacy": "private"
1751
1722
  },
1752
1723
  {
1753
1724
  "kind": "field",
1754
- "name": "entityLabel",
1725
+ "name": "createEvent",
1755
1726
  "type": {
1756
1727
  "text": "string"
1757
1728
  },
1758
- "default": "'Profile'",
1759
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
1760
- "privacy": "public",
1761
- "inheritedFrom": {
1762
- "name": "EntityManagement",
1763
- "module": "src/entities/entities.ts"
1764
- }
1729
+ "description": "String which contains event if we have permission to insert user of empty string if not"
1765
1730
  },
1766
1731
  {
1767
1732
  "kind": "field",
1768
- "name": "connect",
1733
+ "name": "deleteEvent",
1769
1734
  "type": {
1770
- "text": "Connect"
1735
+ "text": "string"
1771
1736
  },
1772
- "privacy": "protected",
1773
- "description": "DI connect object which is used to interact with the backend.",
1774
- "inheritedFrom": {
1775
- "name": "EntityManagement",
1776
- "module": "src/entities/entities.ts"
1777
- }
1737
+ "description": "String which contains event if we have permission to delete user of empty string if not"
1778
1738
  },
1779
1739
  {
1780
1740
  "kind": "field",
1781
- "name": "prefix",
1741
+ "name": "updateEvent",
1782
1742
  "type": {
1783
1743
  "text": "string"
1784
1744
  },
1785
- "default": "'zero'",
1786
- "description": "Name of the design system prefix that will be used in renderers.",
1787
- "privacy": "public",
1788
- "inheritedFrom": {
1789
- "name": "EntityManagement",
1790
- "module": "src/entities/entities.ts"
1791
- }
1745
+ "description": "String which contains event if we have permission to update user of empty string if not"
1792
1746
  },
1793
1747
  {
1794
- "kind": "field",
1795
- "name": "readEvent",
1748
+ "kind": "method",
1749
+ "name": "deepClone",
1750
+ "return": {
1751
+ "type": {
1752
+ "text": "Node"
1753
+ }
1754
+ }
1755
+ }
1756
+ ],
1757
+ "attributes": [
1758
+ {
1759
+ "name": "design-system-prefix",
1796
1760
  "type": {
1797
1761
  "text": "string"
1798
1762
  },
1799
- "inheritedFrom": {
1800
- "name": "EntityManagement",
1801
- "module": "src/entities/entities.ts"
1802
- }
1763
+ "default": "'zero'",
1764
+ "description": "Name of the design system prefix that will be used for components.",
1765
+ "fieldName": "prefix"
1803
1766
  },
1804
1767
  {
1805
- "kind": "field",
1806
- "name": "readonly",
1768
+ "name": "persist-column-state-key",
1807
1769
  "type": {
1808
- "text": "boolean"
1770
+ "text": "string"
1809
1771
  },
1810
- "inheritedFrom": {
1811
- "name": "EntityManagement",
1812
- "module": "src/entities/entities.ts"
1813
- }
1772
+ "default": "'entity_users_management'",
1773
+ "description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
1774
+ "fieldName": "persistColumnStateKey"
1814
1775
  },
1815
1776
  {
1816
- "kind": "field",
1817
- "name": "asyncAdd",
1777
+ "name": "enable-search-bar",
1818
1778
  "type": {
1819
1779
  "text": "boolean"
1820
1780
  },
1821
1781
  "default": "false",
1822
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
1823
- "privacy": "public",
1824
- "inheritedFrom": {
1825
- "name": "EntityManagement",
1826
- "module": "src/entities/entities.ts"
1827
- }
1782
+ "description": "This attribute controls whether to enable the search-bar.",
1783
+ "fieldName": "enableSearchBar"
1784
+ }
1785
+ ],
1786
+ "mixins": [
1787
+ {
1788
+ "name": "LifecycleMixin",
1789
+ "package": "@genesislcap/foundation-utils"
1790
+ }
1791
+ ],
1792
+ "superclass": {
1793
+ "name": "FASTElement",
1794
+ "package": "@microsoft/fast-element"
1795
+ },
1796
+ "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
1797
+ "tagName": "user-management",
1798
+ "customElement": true
1799
+ }
1800
+ ],
1801
+ "exports": [
1802
+ {
1803
+ "kind": "js",
1804
+ "name": "UsersColumnConfig",
1805
+ "declaration": {
1806
+ "name": "UsersColumnConfig",
1807
+ "module": "src/users/users.ts"
1808
+ }
1809
+ },
1810
+ {
1811
+ "kind": "js",
1812
+ "name": "Users",
1813
+ "declaration": {
1814
+ "name": "Users",
1815
+ "module": "src/users/users.ts"
1816
+ }
1817
+ },
1818
+ {
1819
+ "kind": "custom-element-definition",
1820
+ "name": "user-management",
1821
+ "declaration": {
1822
+ "name": "Users",
1823
+ "module": "src/users/users.ts"
1824
+ }
1825
+ }
1826
+ ]
1827
+ },
1828
+ {
1829
+ "kind": "javascript-module",
1830
+ "path": "src/utils/formatting.ts",
1831
+ "declarations": [
1832
+ {
1833
+ "kind": "function",
1834
+ "name": "getErrorFormat",
1835
+ "parameters": [
1836
+ {
1837
+ "name": "err"
1838
+ }
1839
+ ],
1840
+ "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
1841
+ "privacy": "public"
1842
+ }
1843
+ ],
1844
+ "exports": [
1845
+ {
1846
+ "kind": "js",
1847
+ "name": "getErrorFormat",
1848
+ "declaration": {
1849
+ "name": "getErrorFormat",
1850
+ "module": "src/utils/formatting.ts"
1851
+ }
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "kind": "javascript-module",
1857
+ "path": "src/utils/index.ts",
1858
+ "declarations": [],
1859
+ "exports": [
1860
+ {
1861
+ "kind": "js",
1862
+ "name": "*",
1863
+ "declaration": {
1864
+ "name": "*",
1865
+ "package": "./formatting"
1866
+ }
1867
+ },
1868
+ {
1869
+ "kind": "js",
1870
+ "name": "*",
1871
+ "declaration": {
1872
+ "name": "*",
1873
+ "package": "./logger"
1874
+ }
1875
+ },
1876
+ {
1877
+ "kind": "js",
1878
+ "name": "*",
1879
+ "declaration": {
1880
+ "name": "*",
1881
+ "package": "./renderer"
1882
+ }
1883
+ }
1884
+ ]
1885
+ },
1886
+ {
1887
+ "kind": "javascript-module",
1888
+ "path": "src/utils/logger.ts",
1889
+ "declarations": [
1890
+ {
1891
+ "kind": "variable",
1892
+ "name": "logger",
1893
+ "privacy": "public"
1894
+ }
1895
+ ],
1896
+ "exports": [
1897
+ {
1898
+ "kind": "js",
1899
+ "name": "logger",
1900
+ "declaration": {
1901
+ "name": "logger",
1902
+ "module": "src/utils/logger.ts"
1903
+ }
1904
+ }
1905
+ ]
1906
+ },
1907
+ {
1908
+ "kind": "javascript-module",
1909
+ "path": "src/utils/renderer.ts",
1910
+ "declarations": [
1911
+ {
1912
+ "kind": "function",
1913
+ "name": "buttonCellRenderer",
1914
+ "return": {
1915
+ "type": {
1916
+ "text": "ColDef"
1917
+ }
1918
+ },
1919
+ "parameters": [
1920
+ {
1921
+ "name": "title"
1922
+ },
1923
+ {
1924
+ "name": "clickHandler"
1925
+ },
1926
+ {
1927
+ "name": "contentTemplate"
1928
+ }
1929
+ ],
1930
+ "privacy": "public"
1931
+ }
1932
+ ],
1933
+ "exports": [
1934
+ {
1935
+ "kind": "js",
1936
+ "name": "buttonCellRenderer",
1937
+ "declaration": {
1938
+ "name": "buttonCellRenderer",
1939
+ "module": "src/utils/renderer.ts"
1940
+ }
1941
+ }
1942
+ ]
1943
+ },
1944
+ {
1945
+ "kind": "javascript-module",
1946
+ "path": "src/routes/demo/entity-management.template.ts",
1947
+ "declarations": [
1948
+ {
1949
+ "kind": "variable",
1950
+ "name": "EntityManagementDemoTemplate",
1951
+ "type": {
1952
+ "text": "ViewTemplate"
1953
+ },
1954
+ "default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
1955
+ }
1956
+ ],
1957
+ "exports": [
1958
+ {
1959
+ "kind": "js",
1960
+ "name": "EntityManagementDemoTemplate",
1961
+ "declaration": {
1962
+ "name": "EntityManagementDemoTemplate",
1963
+ "module": "src/routes/demo/entity-management.template.ts"
1964
+ }
1965
+ }
1966
+ ]
1967
+ },
1968
+ {
1969
+ "kind": "javascript-module",
1970
+ "path": "src/routes/demo/entity-management.ts",
1971
+ "declarations": [
1972
+ {
1973
+ "kind": "class",
1974
+ "description": "",
1975
+ "name": "EntityManagementDemo",
1976
+ "superclass": {
1977
+ "name": "FASTElement",
1978
+ "package": "@microsoft/fast-element"
1979
+ },
1980
+ "tagName": "entity-management-demo",
1981
+ "customElement": true
1982
+ }
1983
+ ],
1984
+ "exports": [
1985
+ {
1986
+ "kind": "js",
1987
+ "name": "EntityManagementDemo",
1988
+ "declaration": {
1989
+ "name": "EntityManagementDemo",
1990
+ "module": "src/routes/demo/entity-management.ts"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "custom-element-definition",
1995
+ "name": "entity-management-demo",
1996
+ "declaration": {
1997
+ "name": "EntityManagementDemo",
1998
+ "module": "src/routes/demo/entity-management.ts"
1999
+ }
2000
+ }
2001
+ ]
2002
+ },
2003
+ {
2004
+ "kind": "javascript-module",
2005
+ "path": "src/profiles/editProfileSchema.ts",
2006
+ "declarations": [
2007
+ {
2008
+ "kind": "variable",
2009
+ "name": "editProfileFormSchema",
2010
+ "type": {
2011
+ "text": "UiSchema"
2012
+ },
2013
+ "default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
2014
+ }
2015
+ ],
2016
+ "exports": [
2017
+ {
2018
+ "kind": "js",
2019
+ "name": "editProfileFormSchema",
2020
+ "declaration": {
2021
+ "name": "editProfileFormSchema",
2022
+ "module": "src/profiles/editProfileSchema.ts"
2023
+ }
2024
+ }
2025
+ ]
2026
+ },
2027
+ {
2028
+ "kind": "javascript-module",
2029
+ "path": "src/profiles/profiles.ts",
2030
+ "declarations": [
2031
+ {
2032
+ "kind": "class",
2033
+ "description": "Main class which defined the profile management functionality",
2034
+ "name": "Profiles",
2035
+ "members": [
2036
+ {
2037
+ "kind": "method",
2038
+ "name": "readProfileData",
2039
+ "privacy": "public",
2040
+ "parameters": [
2041
+ {
2042
+ "name": "profile"
2043
+ }
2044
+ ]
2045
+ },
2046
+ {
2047
+ "kind": "method",
2048
+ "name": "confirmDelete",
2049
+ "inheritedFrom": {
2050
+ "name": "EntityManagement",
2051
+ "module": "src/entities/entities.ts"
2052
+ }
2053
+ },
2054
+ {
2055
+ "kind": "field",
2056
+ "name": "createEvent",
2057
+ "type": {
2058
+ "text": "string"
2059
+ },
2060
+ "description": "Name of the event handler on the Genesis server which handles creating an entity",
2061
+ "privacy": "public",
2062
+ "inheritedFrom": {
2063
+ "name": "EntityManagement",
2064
+ "module": "src/entities/entities.ts"
2065
+ }
2066
+ },
2067
+ {
2068
+ "kind": "field",
2069
+ "name": "deleteEvent",
2070
+ "type": {
2071
+ "text": "string"
2072
+ },
2073
+ "description": "Name of the event handler on the Genesis server which handles deleting the entity",
2074
+ "privacy": "public",
2075
+ "inheritedFrom": {
2076
+ "name": "EntityManagement",
2077
+ "module": "src/entities/entities.ts"
2078
+ }
2079
+ },
2080
+ {
2081
+ "kind": "field",
2082
+ "name": "updateEvent",
2083
+ "type": {
2084
+ "text": "string"
2085
+ },
2086
+ "description": "Name of the event handler on the Genesis server which handles updating the entity",
2087
+ "privacy": "public",
2088
+ "inheritedFrom": {
2089
+ "name": "EntityManagement",
2090
+ "module": "src/entities/entities.ts"
2091
+ }
2092
+ },
2093
+ {
2094
+ "kind": "field",
2095
+ "name": "persistColumnStateKey",
2096
+ "type": {
2097
+ "text": "string"
2098
+ },
2099
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
2100
+ "privacy": "public",
2101
+ "default": "'entity_profiles_management'",
2102
+ "inheritedFrom": {
2103
+ "name": "EntityManagement",
2104
+ "module": "src/entities/entities.ts"
2105
+ }
2106
+ },
2107
+ {
2108
+ "kind": "field",
2109
+ "name": "updateFormUiSchema",
2110
+ "type": {
2111
+ "text": "UiSchema"
2112
+ },
2113
+ "default": "editProfileFormSchema",
2114
+ "inheritedFrom": {
2115
+ "name": "EntityManagement",
2116
+ "module": "src/entities/entities.ts"
2117
+ }
2118
+ },
2119
+ {
2120
+ "kind": "field",
2121
+ "name": "createFormUiSchema",
2122
+ "type": {
2123
+ "text": "UiSchema"
2124
+ },
2125
+ "default": "editProfileFormSchema",
2126
+ "inheritedFrom": {
2127
+ "name": "EntityManagement",
2128
+ "module": "src/entities/entities.ts"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "field",
2133
+ "name": "readEventFn",
2134
+ "type": {
2135
+ "text": "(...args) => {}"
2136
+ },
2137
+ "inheritedFrom": {
2138
+ "name": "EntityManagement",
2139
+ "module": "src/entities/entities.ts"
2140
+ }
2141
+ },
2142
+ {
2143
+ "kind": "field",
2144
+ "name": "resourceName",
2145
+ "type": {
2146
+ "text": "string"
2147
+ },
2148
+ "description": "Name of the backend resource which contain the entities to manage",
2149
+ "privacy": "public",
2150
+ "default": "'ALL_PROFILES'",
2151
+ "inheritedFrom": {
2152
+ "name": "EntityManagement",
2153
+ "module": "src/entities/entities.ts"
2154
+ }
2155
+ },
2156
+ {
2157
+ "kind": "field",
2158
+ "name": "title",
2159
+ "type": {
2160
+ "text": "string"
2161
+ },
2162
+ "description": "Title of the grid",
2163
+ "privacy": "public",
2164
+ "default": "'Profile Management'",
2165
+ "inheritedFrom": {
2166
+ "name": "EntityManagement",
2167
+ "module": "src/entities/entities.ts"
2168
+ }
2169
+ },
2170
+ {
2171
+ "kind": "field",
2172
+ "name": "entityLabel",
2173
+ "type": {
2174
+ "text": "string"
2175
+ },
2176
+ "default": "'Profile'",
2177
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2178
+ "privacy": "public",
2179
+ "inheritedFrom": {
2180
+ "name": "EntityManagement",
2181
+ "module": "src/entities/entities.ts"
2182
+ }
2183
+ },
2184
+ {
2185
+ "kind": "field",
2186
+ "name": "connect",
2187
+ "type": {
2188
+ "text": "Connect"
2189
+ },
2190
+ "privacy": "protected",
2191
+ "description": "DI connect object which is used to interact with the backend.",
2192
+ "inheritedFrom": {
2193
+ "name": "EntityManagement",
2194
+ "module": "src/entities/entities.ts"
2195
+ }
2196
+ },
2197
+ {
2198
+ "kind": "field",
2199
+ "name": "prefix",
2200
+ "type": {
2201
+ "text": "string"
2202
+ },
2203
+ "default": "'zero'",
2204
+ "description": "Name of the design system prefix that will be used in renderers.",
2205
+ "privacy": "public",
2206
+ "inheritedFrom": {
2207
+ "name": "EntityManagement",
2208
+ "module": "src/entities/entities.ts"
2209
+ }
2210
+ },
2211
+ {
2212
+ "kind": "field",
2213
+ "name": "readEvent",
2214
+ "type": {
2215
+ "text": "string"
2216
+ },
2217
+ "inheritedFrom": {
2218
+ "name": "EntityManagement",
2219
+ "module": "src/entities/entities.ts"
2220
+ }
2221
+ },
2222
+ {
2223
+ "kind": "field",
2224
+ "name": "readonly",
2225
+ "type": {
2226
+ "text": "boolean"
2227
+ },
2228
+ "inheritedFrom": {
2229
+ "name": "EntityManagement",
2230
+ "module": "src/entities/entities.ts"
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "field",
2235
+ "name": "asyncAdd",
2236
+ "type": {
2237
+ "text": "boolean"
2238
+ },
2239
+ "default": "false",
2240
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2241
+ "privacy": "public",
2242
+ "inheritedFrom": {
2243
+ "name": "EntityManagement",
2244
+ "module": "src/entities/entities.ts"
2245
+ }
1828
2246
  },
1829
2247
  {
1830
2248
  "kind": "field",
@@ -1939,7 +2357,7 @@
1939
2357
  "kind": "field",
1940
2358
  "name": "formUiSchema",
1941
2359
  "type": {
1942
- "text": "any"
2360
+ "text": "UiSchema"
1943
2361
  },
1944
2362
  "inheritedFrom": {
1945
2363
  "name": "EntityManagement",
@@ -1964,7 +2382,7 @@
1964
2382
  "kind": "field",
1965
2383
  "name": "selectedEntity",
1966
2384
  "type": {
1967
- "text": "any"
2385
+ "text": "Record<string, unknown>"
1968
2386
  },
1969
2387
  "description": "Reference to the currently selected entity from the grid.",
1970
2388
  "privacy": "public",
@@ -1977,7 +2395,7 @@
1977
2395
  "kind": "field",
1978
2396
  "name": "editedEntity",
1979
2397
  "type": {
1980
- "text": "any"
2398
+ "text": "Record<string, unknown>"
1981
2399
  },
1982
2400
  "description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
1983
2401
  "privacy": "public",
@@ -1988,10 +2406,12 @@
1988
2406
  },
1989
2407
  {
1990
2408
  "kind": "field",
1991
- "name": "submitting",
2409
+ "name": "defaultEntityValues",
1992
2410
  "type": {
1993
- "text": "boolean"
2411
+ "text": "Record<string, unknown>"
1994
2412
  },
2413
+ "description": "The default values to populate the form with when the user is adding an entity",
2414
+ "privacy": "public",
1995
2415
  "inheritedFrom": {
1996
2416
  "name": "EntityManagement",
1997
2417
  "module": "src/entities/entities.ts"
@@ -1999,9 +2419,9 @@
1999
2419
  },
2000
2420
  {
2001
2421
  "kind": "field",
2002
- "name": "defaultEntityValues",
2422
+ "name": "submitting",
2003
2423
  "type": {
2004
- "text": "any"
2424
+ "text": "boolean"
2005
2425
  },
2006
2426
  "inheritedFrom": {
2007
2427
  "name": "EntityManagement",
@@ -2044,7 +2464,7 @@
2044
2464
  "kind": "field",
2045
2465
  "name": "editEntityModal",
2046
2466
  "type": {
2047
- "text": "any"
2467
+ "text": "Modal"
2048
2468
  },
2049
2469
  "privacy": "public",
2050
2470
  "inheritedFrom": {
@@ -2424,418 +2844,161 @@
2424
2844
  "type": {
2425
2845
  "text": "string"
2426
2846
  },
2427
- "description": "Title of the grid",
2428
- "fieldName": "title",
2429
- "inheritedFrom": {
2430
- "name": "EntityManagement",
2431
- "module": "src/entities/entities.ts"
2432
- }
2433
- },
2434
- {
2435
- "name": "entityLabel",
2436
- "type": {
2437
- "text": "string"
2438
- },
2439
- "default": "''",
2440
- "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2441
- "fieldName": "entityLabel",
2442
- "inheritedFrom": {
2443
- "name": "EntityManagement",
2444
- "module": "src/entities/entities.ts"
2445
- }
2446
- },
2447
- {
2448
- "name": "async-add",
2449
- "type": {
2450
- "text": "boolean"
2451
- },
2452
- "default": "false",
2453
- "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2454
- "fieldName": "asyncAdd",
2455
- "inheritedFrom": {
2456
- "name": "EntityManagement",
2457
- "module": "src/entities/entities.ts"
2458
- }
2459
- },
2460
- {
2461
- "name": "async-remove",
2462
- "type": {
2463
- "text": "boolean"
2464
- },
2465
- "default": "false",
2466
- "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2467
- "fieldName": "asyncRemove",
2468
- "inheritedFrom": {
2469
- "name": "EntityManagement",
2470
- "module": "src/entities/entities.ts"
2471
- }
2472
- },
2473
- {
2474
- "name": "async-update",
2475
- "type": {
2476
- "text": "boolean"
2477
- },
2478
- "default": "true",
2479
- "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2480
- "fieldName": "asyncUpdate",
2481
- "inheritedFrom": {
2482
- "name": "EntityManagement",
2483
- "module": "src/entities/entities.ts"
2484
- }
2485
- },
2486
- {
2487
- "name": "row-selection",
2488
- "type": {
2489
- "text": "string"
2490
- },
2491
- "default": "'single'",
2492
- "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2493
- "fieldName": "rowSelection",
2494
- "inheritedFrom": {
2495
- "name": "EntityManagement",
2496
- "module": "src/entities/entities.ts"
2497
- }
2498
- },
2499
- {
2500
- "name": "enable-cell-flashing",
2501
- "type": {
2502
- "text": "boolean"
2503
- },
2504
- "default": "false",
2505
- "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2506
- "fieldName": "enableCellFlashing",
2507
- "inheritedFrom": {
2508
- "name": "EntityManagement",
2509
- "module": "src/entities/entities.ts"
2510
- }
2511
- },
2512
- {
2513
- "name": "enable-row-flashing",
2514
- "type": {
2515
- "text": "boolean"
2516
- },
2517
- "default": "false",
2518
- "description": "If true, will enable row flashing for all rows for `add` transactions",
2519
- "fieldName": "enableRowFlashing",
2520
- "inheritedFrom": {
2521
- "name": "EntityManagement",
2522
- "module": "src/entities/entities.ts"
2523
- }
2524
- },
2525
- {
2526
- "name": "persist-column-state-key",
2527
- "type": {
2528
- "text": "string"
2529
- },
2530
- "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
2531
- "fieldName": "persistColumnStateKey",
2532
- "inheritedFrom": {
2533
- "name": "EntityManagement",
2534
- "module": "src/entities/entities.ts"
2535
- }
2536
- },
2537
- {
2538
- "name": "size-columns-to-fit",
2539
- "type": {
2540
- "text": "boolean"
2541
- },
2542
- "fieldName": "sizeColumnsToFit",
2847
+ "description": "Title of the grid",
2848
+ "fieldName": "title",
2543
2849
  "inheritedFrom": {
2544
2850
  "name": "EntityManagement",
2545
2851
  "module": "src/entities/entities.ts"
2546
2852
  }
2547
2853
  },
2548
2854
  {
2549
- "name": "enable-filter-bar",
2855
+ "name": "entityLabel",
2550
2856
  "type": {
2551
- "text": "boolean"
2857
+ "text": "string"
2552
2858
  },
2553
- "fieldName": "enableFilterBar",
2859
+ "default": "''",
2860
+ "description": "Label for the entity which has usages such as being shown in the title of the modal wen editing the entity",
2861
+ "fieldName": "entityLabel",
2554
2862
  "inheritedFrom": {
2555
2863
  "name": "EntityManagement",
2556
2864
  "module": "src/entities/entities.ts"
2557
2865
  }
2558
2866
  },
2559
2867
  {
2560
- "name": "hide-edit",
2868
+ "name": "async-add",
2561
2869
  "type": {
2562
2870
  "text": "boolean"
2563
2871
  },
2564
2872
  "default": "false",
2565
- "fieldName": "hideEdit",
2873
+ "description": "Whether to use the `applyTransactionAsync` function for *add* transactions",
2874
+ "fieldName": "asyncAdd",
2566
2875
  "inheritedFrom": {
2567
2876
  "name": "EntityManagement",
2568
2877
  "module": "src/entities/entities.ts"
2569
2878
  }
2570
2879
  },
2571
2880
  {
2572
- "name": "hide-delete",
2881
+ "name": "async-remove",
2573
2882
  "type": {
2574
2883
  "text": "boolean"
2575
2884
  },
2576
2885
  "default": "false",
2577
- "fieldName": "hideDelete",
2886
+ "description": "Whether to use the `applyTransactionAsync` function for *remove* transactions",
2887
+ "fieldName": "asyncRemove",
2578
2888
  "inheritedFrom": {
2579
2889
  "name": "EntityManagement",
2580
2890
  "module": "src/entities/entities.ts"
2581
2891
  }
2582
2892
  },
2583
2893
  {
2584
- "name": "enable-search-bar",
2894
+ "name": "async-update",
2585
2895
  "type": {
2586
2896
  "text": "boolean"
2587
2897
  },
2588
- "default": "false",
2589
- "description": "This attribute controls whether to enable the search-bar.",
2590
- "fieldName": "enableSearchBar",
2898
+ "default": "true",
2899
+ "description": "Whether to use the `applyTransactionAsync` function for *update* transactions",
2900
+ "fieldName": "asyncUpdate",
2591
2901
  "inheritedFrom": {
2592
2902
  "name": "EntityManagement",
2593
2903
  "module": "src/entities/entities.ts"
2594
2904
  }
2595
2905
  },
2596
2906
  {
2597
- "name": "header-case-type",
2907
+ "name": "row-selection",
2598
2908
  "type": {
2599
- "text": "GridProCaseType"
2909
+ "text": "string"
2600
2910
  },
2601
- "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
2602
- "fieldName": "headerCaseType",
2911
+ "default": "'single'",
2912
+ "description": "This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows.",
2913
+ "fieldName": "rowSelection",
2603
2914
  "inheritedFrom": {
2604
2915
  "name": "EntityManagement",
2605
2916
  "module": "src/entities/entities.ts"
2606
2917
  }
2607
2918
  },
2608
2919
  {
2609
- "name": "modal-position",
2920
+ "name": "enable-cell-flashing",
2610
2921
  "type": {
2611
- "text": "'centre' | 'left' | 'right'"
2922
+ "text": "boolean"
2612
2923
  },
2613
- "default": "'right'",
2614
- "description": "Determines where the modal dialog will appear on screen",
2615
- "fieldName": "modalPosition",
2924
+ "default": "false",
2925
+ "description": "If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef",
2926
+ "fieldName": "enableCellFlashing",
2616
2927
  "inheritedFrom": {
2617
2928
  "name": "EntityManagement",
2618
2929
  "module": "src/entities/entities.ts"
2619
2930
  }
2620
- }
2621
- ]
2622
- }
2623
- ],
2624
- "exports": [
2625
- {
2626
- "kind": "js",
2627
- "name": "Profiles",
2628
- "declaration": {
2629
- "name": "Profiles",
2630
- "module": "src/profiles/profiles.ts"
2631
- }
2632
- },
2633
- {
2634
- "kind": "custom-element-definition",
2635
- "name": "profile-management",
2636
- "declaration": {
2637
- "name": "Profiles",
2638
- "module": "src/profiles/profiles.ts"
2639
- }
2640
- }
2641
- ]
2642
- },
2643
- {
2644
- "kind": "javascript-module",
2645
- "path": "src/routes/config.ts",
2646
- "declarations": [],
2647
- "exports": []
2648
- },
2649
- {
2650
- "kind": "javascript-module",
2651
- "path": "src/routes/index.ts",
2652
- "declarations": [],
2653
- "exports": [
2654
- {
2655
- "kind": "js",
2656
- "name": "*",
2657
- "declaration": {
2658
- "name": "*",
2659
- "package": "./config"
2660
- }
2661
- }
2662
- ]
2663
- },
2664
- {
2665
- "kind": "javascript-module",
2666
- "path": "src/users/users.template.ts",
2667
- "declarations": [
2668
- {
2669
- "kind": "function",
2670
- "name": "getPrefixedUsers",
2671
- "parameters": [
2672
- {
2673
- "name": "prefix"
2674
- }
2675
- ]
2676
- }
2677
- ],
2678
- "exports": [
2679
- {
2680
- "kind": "js",
2681
- "name": "getPrefixedUsers",
2682
- "declaration": {
2683
- "name": "getPrefixedUsers",
2684
- "module": "src/users/users.template.ts"
2685
- }
2686
- }
2687
- ]
2688
- },
2689
- {
2690
- "kind": "javascript-module",
2691
- "path": "src/users/users.ts",
2692
- "declarations": [
2693
- {
2694
- "kind": "variable",
2695
- "name": "UsersColumnConfig",
2696
- "type": {
2697
- "text": "array"
2698
- },
2699
- "default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
2700
- "description": "Defines the default columns which are present on the user management component",
2701
- "privacy": "public"
2702
- },
2703
- {
2704
- "kind": "class",
2705
- "description": "Main class which defines the user management functionality",
2706
- "name": "Users",
2707
- "members": [
2708
- {
2709
- "kind": "field",
2710
- "name": "prefix",
2711
- "type": {
2712
- "text": "string"
2713
- },
2714
- "default": "'zero'",
2715
- "description": "Name of the design system prefix that will be used for components.",
2716
- "privacy": "public"
2717
- },
2718
- {
2719
- "kind": "field",
2720
- "name": "persistColumnStateKey",
2721
- "type": {
2722
- "text": "string"
2723
- },
2724
- "default": "'entity_users_management'",
2725
- "description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
2726
- "privacy": "public"
2727
2931
  },
2728
2932
  {
2729
- "kind": "field",
2730
- "name": "enableSearchBar",
2933
+ "name": "enable-row-flashing",
2731
2934
  "type": {
2732
2935
  "text": "boolean"
2733
2936
  },
2734
2937
  "default": "false",
2735
- "description": "This attribute controls whether to enable the search-bar.",
2736
- "privacy": "public"
2737
- },
2738
- {
2739
- "kind": "field",
2740
- "name": "gridOptions",
2741
- "type": {
2742
- "text": "GridOptions"
2743
- },
2744
- "description": "GridOptions to be passed down from application",
2745
- "privacy": "public"
2746
- },
2747
- {
2748
- "kind": "field",
2749
- "name": "columns",
2750
- "type": {
2751
- "text": "any"
2752
- },
2753
- "default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
2754
- "description": "Column definition, default to the UsersColumnConfig"
2755
- },
2756
- {
2757
- "kind": "field",
2758
- "name": "additionalCreateFields",
2759
- "type": {
2760
- "text": "any"
2761
- },
2762
- "default": "[]"
2763
- },
2764
- {
2765
- "kind": "field",
2766
- "name": "additionalUpdateFields",
2767
- "type": {
2768
- "text": "any"
2769
- },
2770
- "default": "[]"
2771
- },
2772
- {
2773
- "kind": "field",
2774
- "name": "allAccessType",
2775
- "type": {
2776
- "text": "boolean"
2938
+ "description": "If true, will enable row flashing for all rows for `add` transactions",
2939
+ "fieldName": "enableRowFlashing",
2940
+ "inheritedFrom": {
2941
+ "name": "EntityManagement",
2942
+ "module": "src/entities/entities.ts"
2777
2943
  }
2778
2944
  },
2779
2945
  {
2780
- "kind": "field",
2781
- "name": "entityIdValue",
2782
- "type": {
2783
- "text": "string"
2784
- },
2785
- "privacy": "private"
2786
- },
2787
- {
2788
- "kind": "field",
2789
- "name": "createEvent",
2946
+ "name": "persist-column-state-key",
2790
2947
  "type": {
2791
2948
  "text": "string"
2792
2949
  },
2793
- "description": "String which contains event if we have permission to insert user of empty string if not"
2950
+ "description": "This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.",
2951
+ "fieldName": "persistColumnStateKey",
2952
+ "inheritedFrom": {
2953
+ "name": "EntityManagement",
2954
+ "module": "src/entities/entities.ts"
2955
+ }
2794
2956
  },
2795
2957
  {
2796
- "kind": "field",
2797
- "name": "deleteEvent",
2958
+ "name": "size-columns-to-fit",
2798
2959
  "type": {
2799
- "text": "string"
2960
+ "text": "boolean"
2800
2961
  },
2801
- "description": "String which contains event if we have permission to delete user of empty string if not"
2962
+ "fieldName": "sizeColumnsToFit",
2963
+ "inheritedFrom": {
2964
+ "name": "EntityManagement",
2965
+ "module": "src/entities/entities.ts"
2966
+ }
2802
2967
  },
2803
2968
  {
2804
- "kind": "field",
2805
- "name": "updateEvent",
2969
+ "name": "enable-filter-bar",
2806
2970
  "type": {
2807
- "text": "string"
2971
+ "text": "boolean"
2808
2972
  },
2809
- "description": "String which contains event if we have permission to update user of empty string if not"
2810
- },
2811
- {
2812
- "kind": "method",
2813
- "name": "deepClone",
2814
- "return": {
2815
- "type": {
2816
- "text": "Node"
2817
- }
2973
+ "fieldName": "enableFilterBar",
2974
+ "inheritedFrom": {
2975
+ "name": "EntityManagement",
2976
+ "module": "src/entities/entities.ts"
2818
2977
  }
2819
- }
2820
- ],
2821
- "attributes": [
2978
+ },
2822
2979
  {
2823
- "name": "design-system-prefix",
2980
+ "name": "hide-edit",
2824
2981
  "type": {
2825
- "text": "string"
2982
+ "text": "boolean"
2826
2983
  },
2827
- "default": "'zero'",
2828
- "description": "Name of the design system prefix that will be used for components.",
2829
- "fieldName": "prefix"
2984
+ "default": "false",
2985
+ "fieldName": "hideEdit",
2986
+ "inheritedFrom": {
2987
+ "name": "EntityManagement",
2988
+ "module": "src/entities/entities.ts"
2989
+ }
2830
2990
  },
2831
2991
  {
2832
- "name": "persist-column-state-key",
2992
+ "name": "hide-delete",
2833
2993
  "type": {
2834
- "text": "string"
2994
+ "text": "boolean"
2835
2995
  },
2836
- "default": "'entity_users_management'",
2837
- "description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
2838
- "fieldName": "persistColumnStateKey"
2996
+ "default": "false",
2997
+ "fieldName": "hideDelete",
2998
+ "inheritedFrom": {
2999
+ "name": "EntityManagement",
3000
+ "module": "src/entities/entities.ts"
3001
+ }
2839
3002
  },
2840
3003
  {
2841
3004
  "name": "enable-search-bar",
@@ -2844,222 +3007,55 @@
2844
3007
  },
2845
3008
  "default": "false",
2846
3009
  "description": "This attribute controls whether to enable the search-bar.",
2847
- "fieldName": "enableSearchBar"
2848
- }
2849
- ],
2850
- "mixins": [
2851
- {
2852
- "name": "LifecycleMixin",
2853
- "package": "@genesislcap/foundation-utils"
2854
- }
2855
- ],
2856
- "superclass": {
2857
- "name": "FASTElement",
2858
- "package": "@microsoft/fast-element"
2859
- },
2860
- "deprecated": "- Use '\\@genesislcap/pbc-auth' instead. 'https://www.npmjs.com/package/\\@genesislcap/pbc-auth'",
2861
- "tagName": "user-management",
2862
- "customElement": true
2863
- }
2864
- ],
2865
- "exports": [
2866
- {
2867
- "kind": "js",
2868
- "name": "UsersColumnConfig",
2869
- "declaration": {
2870
- "name": "UsersColumnConfig",
2871
- "module": "src/users/users.ts"
2872
- }
2873
- },
2874
- {
2875
- "kind": "js",
2876
- "name": "Users",
2877
- "declaration": {
2878
- "name": "Users",
2879
- "module": "src/users/users.ts"
2880
- }
2881
- },
2882
- {
2883
- "kind": "custom-element-definition",
2884
- "name": "user-management",
2885
- "declaration": {
2886
- "name": "Users",
2887
- "module": "src/users/users.ts"
2888
- }
2889
- }
2890
- ]
2891
- },
2892
- {
2893
- "kind": "javascript-module",
2894
- "path": "src/utils/formatting.ts",
2895
- "declarations": [
2896
- {
2897
- "kind": "function",
2898
- "name": "getErrorFormat",
2899
- "parameters": [
2900
- {
2901
- "name": "err"
2902
- }
2903
- ],
2904
- "description": "Format the error as a string with a different format depending on whether\n`err` has a `FIELD` property or not",
2905
- "privacy": "public"
2906
- }
2907
- ],
2908
- "exports": [
2909
- {
2910
- "kind": "js",
2911
- "name": "getErrorFormat",
2912
- "declaration": {
2913
- "name": "getErrorFormat",
2914
- "module": "src/utils/formatting.ts"
2915
- }
2916
- }
2917
- ]
2918
- },
2919
- {
2920
- "kind": "javascript-module",
2921
- "path": "src/utils/index.ts",
2922
- "declarations": [],
2923
- "exports": [
2924
- {
2925
- "kind": "js",
2926
- "name": "*",
2927
- "declaration": {
2928
- "name": "*",
2929
- "package": "./formatting"
2930
- }
2931
- },
2932
- {
2933
- "kind": "js",
2934
- "name": "*",
2935
- "declaration": {
2936
- "name": "*",
2937
- "package": "./logger"
2938
- }
2939
- },
2940
- {
2941
- "kind": "js",
2942
- "name": "*",
2943
- "declaration": {
2944
- "name": "*",
2945
- "package": "./renderer"
2946
- }
2947
- }
2948
- ]
2949
- },
2950
- {
2951
- "kind": "javascript-module",
2952
- "path": "src/utils/logger.ts",
2953
- "declarations": [
2954
- {
2955
- "kind": "variable",
2956
- "name": "logger",
2957
- "privacy": "public"
2958
- }
2959
- ],
2960
- "exports": [
2961
- {
2962
- "kind": "js",
2963
- "name": "logger",
2964
- "declaration": {
2965
- "name": "logger",
2966
- "module": "src/utils/logger.ts"
2967
- }
2968
- }
2969
- ]
2970
- },
2971
- {
2972
- "kind": "javascript-module",
2973
- "path": "src/utils/renderer.ts",
2974
- "declarations": [
2975
- {
2976
- "kind": "function",
2977
- "name": "buttonCellRenderer",
2978
- "return": {
2979
- "type": {
2980
- "text": "ColDef"
2981
- }
2982
- },
2983
- "parameters": [
2984
- {
2985
- "name": "title"
3010
+ "fieldName": "enableSearchBar",
3011
+ "inheritedFrom": {
3012
+ "name": "EntityManagement",
3013
+ "module": "src/entities/entities.ts"
3014
+ }
2986
3015
  },
2987
3016
  {
2988
- "name": "clickHandler"
3017
+ "name": "header-case-type",
3018
+ "type": {
3019
+ "text": "GridProCaseType"
3020
+ },
3021
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
3022
+ "fieldName": "headerCaseType",
3023
+ "inheritedFrom": {
3024
+ "name": "EntityManagement",
3025
+ "module": "src/entities/entities.ts"
3026
+ }
2989
3027
  },
2990
3028
  {
2991
- "name": "contentTemplate"
3029
+ "name": "modal-position",
3030
+ "type": {
3031
+ "text": "'centre' | 'left' | 'right'"
3032
+ },
3033
+ "default": "'right'",
3034
+ "description": "Determines where the modal dialog will appear on screen",
3035
+ "fieldName": "modalPosition",
3036
+ "inheritedFrom": {
3037
+ "name": "EntityManagement",
3038
+ "module": "src/entities/entities.ts"
3039
+ }
2992
3040
  }
2993
- ],
2994
- "privacy": "public"
2995
- }
2996
- ],
2997
- "exports": [
2998
- {
2999
- "kind": "js",
3000
- "name": "buttonCellRenderer",
3001
- "declaration": {
3002
- "name": "buttonCellRenderer",
3003
- "module": "src/utils/renderer.ts"
3004
- }
3005
- }
3006
- ]
3007
- },
3008
- {
3009
- "kind": "javascript-module",
3010
- "path": "src/routes/demo/entity-management.template.ts",
3011
- "declarations": [
3012
- {
3013
- "kind": "variable",
3014
- "name": "EntityManagementDemoTemplate",
3015
- "type": {
3016
- "text": "ViewTemplate"
3017
- },
3018
- "default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
3019
- }
3020
- ],
3021
- "exports": [
3022
- {
3023
- "kind": "js",
3024
- "name": "EntityManagementDemoTemplate",
3025
- "declaration": {
3026
- "name": "EntityManagementDemoTemplate",
3027
- "module": "src/routes/demo/entity-management.template.ts"
3028
- }
3029
- }
3030
- ]
3031
- },
3032
- {
3033
- "kind": "javascript-module",
3034
- "path": "src/routes/demo/entity-management.ts",
3035
- "declarations": [
3036
- {
3037
- "kind": "class",
3038
- "description": "",
3039
- "name": "EntityManagementDemo",
3040
- "superclass": {
3041
- "name": "FASTElement",
3042
- "package": "@microsoft/fast-element"
3043
- },
3044
- "tagName": "entity-management-demo",
3045
- "customElement": true
3041
+ ]
3046
3042
  }
3047
3043
  ],
3048
3044
  "exports": [
3049
3045
  {
3050
3046
  "kind": "js",
3051
- "name": "EntityManagementDemo",
3047
+ "name": "Profiles",
3052
3048
  "declaration": {
3053
- "name": "EntityManagementDemo",
3054
- "module": "src/routes/demo/entity-management.ts"
3049
+ "name": "Profiles",
3050
+ "module": "src/profiles/profiles.ts"
3055
3051
  }
3056
3052
  },
3057
3053
  {
3058
3054
  "kind": "custom-element-definition",
3059
- "name": "entity-management-demo",
3055
+ "name": "profile-management",
3060
3056
  "declaration": {
3061
- "name": "EntityManagementDemo",
3062
- "module": "src/routes/demo/entity-management.ts"
3057
+ "name": "Profiles",
3058
+ "module": "src/profiles/profiles.ts"
3063
3059
  }
3064
3060
  }
3065
3061
  ]