braid-ui 1.0.184 → 1.0.185

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1618,6 +1618,25 @@ interface UserAuditFilters {
1618
1618
  endDate: string;
1619
1619
  }
1620
1620
 
1621
+ type AuditFieldChange = {
1622
+ field: string;
1623
+ label: string;
1624
+ from: string | null;
1625
+ to: string | null;
1626
+ };
1627
+ interface AuditEvent {
1628
+ id: string;
1629
+ timestamp: string;
1630
+ actor: string;
1631
+ targetUser: string;
1632
+ action: string;
1633
+ details: string;
1634
+ ipAddress: string;
1635
+ changes?: AuditFieldChange[];
1636
+ before?: Record<string, any>;
1637
+ after?: Record<string, any>;
1638
+ }
1639
+
1621
1640
  interface SelectOption$3 {
1622
1641
  value: string;
1623
1642
  label: string;
@@ -1636,6 +1655,8 @@ interface UsersViewProps {
1636
1655
  showDeleted: boolean;
1637
1656
  onShowDeletedChange: (value: boolean) => void;
1638
1657
  onCreateUser: () => void;
1658
+ auditChangesEvent: AuditEvent | null;
1659
+ onAuditChangesClose: () => void;
1639
1660
  onUsersFilterChange: (field: keyof UsersFilters, value: string) => void;
1640
1661
  onUsersResetFilters: () => void;
1641
1662
  onUsersApplyFilters: () => void;
@@ -1643,7 +1664,7 @@ interface UsersViewProps {
1643
1664
  onAuditResetFilters: () => void;
1644
1665
  onAuditApplyFilters: () => void;
1645
1666
  }
1646
- declare const UsersView: ({ activeTab, onTabChange, usersTable, auditTable, usersFilters, auditFilters, statusOptions, groupOptions, enabledOptions, actionOptions, showDeleted, onShowDeletedChange, onCreateUser, onUsersFilterChange, onUsersResetFilters, onUsersApplyFilters, onAuditFilterChange, onAuditResetFilters, onAuditApplyFilters, }: UsersViewProps) => react_jsx_runtime.JSX.Element;
1667
+ declare const UsersView: ({ activeTab, onTabChange, usersTable, auditTable, usersFilters, auditFilters, statusOptions, groupOptions, enabledOptions, actionOptions, showDeleted, onShowDeletedChange, onCreateUser, auditChangesEvent, onAuditChangesClose, onUsersFilterChange, onUsersResetFilters, onUsersApplyFilters, onAuditFilterChange, onAuditResetFilters, onAuditApplyFilters, }: UsersViewProps) => react_jsx_runtime.JSX.Element;
1647
1668
 
1648
1669
  interface UserRecord {
1649
1670
  id: string;
@@ -1657,25 +1678,6 @@ interface UserRecord {
1657
1678
  pendingApprovalAlertId?: string;
1658
1679
  }
1659
1680
 
1660
- type AuditFieldChange = {
1661
- field: string;
1662
- label: string;
1663
- from: string | null;
1664
- to: string | null;
1665
- };
1666
- interface AuditEvent {
1667
- id: string;
1668
- timestamp: string;
1669
- actor: string;
1670
- targetUser: string;
1671
- action: string;
1672
- details: string;
1673
- ipAddress: string;
1674
- changes?: AuditFieldChange[];
1675
- before?: Record<string, any>;
1676
- after?: Record<string, any>;
1677
- }
1678
-
1679
1681
  interface ApiKey {
1680
1682
  id: string;
1681
1683
  name: string;
package/dist/index.d.ts CHANGED
@@ -1618,6 +1618,25 @@ interface UserAuditFilters {
1618
1618
  endDate: string;
1619
1619
  }
1620
1620
 
1621
+ type AuditFieldChange = {
1622
+ field: string;
1623
+ label: string;
1624
+ from: string | null;
1625
+ to: string | null;
1626
+ };
1627
+ interface AuditEvent {
1628
+ id: string;
1629
+ timestamp: string;
1630
+ actor: string;
1631
+ targetUser: string;
1632
+ action: string;
1633
+ details: string;
1634
+ ipAddress: string;
1635
+ changes?: AuditFieldChange[];
1636
+ before?: Record<string, any>;
1637
+ after?: Record<string, any>;
1638
+ }
1639
+
1621
1640
  interface SelectOption$3 {
1622
1641
  value: string;
1623
1642
  label: string;
@@ -1636,6 +1655,8 @@ interface UsersViewProps {
1636
1655
  showDeleted: boolean;
1637
1656
  onShowDeletedChange: (value: boolean) => void;
1638
1657
  onCreateUser: () => void;
1658
+ auditChangesEvent: AuditEvent | null;
1659
+ onAuditChangesClose: () => void;
1639
1660
  onUsersFilterChange: (field: keyof UsersFilters, value: string) => void;
1640
1661
  onUsersResetFilters: () => void;
1641
1662
  onUsersApplyFilters: () => void;
@@ -1643,7 +1664,7 @@ interface UsersViewProps {
1643
1664
  onAuditResetFilters: () => void;
1644
1665
  onAuditApplyFilters: () => void;
1645
1666
  }
1646
- declare const UsersView: ({ activeTab, onTabChange, usersTable, auditTable, usersFilters, auditFilters, statusOptions, groupOptions, enabledOptions, actionOptions, showDeleted, onShowDeletedChange, onCreateUser, onUsersFilterChange, onUsersResetFilters, onUsersApplyFilters, onAuditFilterChange, onAuditResetFilters, onAuditApplyFilters, }: UsersViewProps) => react_jsx_runtime.JSX.Element;
1667
+ declare const UsersView: ({ activeTab, onTabChange, usersTable, auditTable, usersFilters, auditFilters, statusOptions, groupOptions, enabledOptions, actionOptions, showDeleted, onShowDeletedChange, onCreateUser, auditChangesEvent, onAuditChangesClose, onUsersFilterChange, onUsersResetFilters, onUsersApplyFilters, onAuditFilterChange, onAuditResetFilters, onAuditApplyFilters, }: UsersViewProps) => react_jsx_runtime.JSX.Element;
1647
1668
 
1648
1669
  interface UserRecord {
1649
1670
  id: string;
@@ -1657,25 +1678,6 @@ interface UserRecord {
1657
1678
  pendingApprovalAlertId?: string;
1658
1679
  }
1659
1680
 
1660
- type AuditFieldChange = {
1661
- field: string;
1662
- label: string;
1663
- from: string | null;
1664
- to: string | null;
1665
- };
1666
- interface AuditEvent {
1667
- id: string;
1668
- timestamp: string;
1669
- actor: string;
1670
- targetUser: string;
1671
- action: string;
1672
- details: string;
1673
- ipAddress: string;
1674
- changes?: AuditFieldChange[];
1675
- before?: Record<string, any>;
1676
- after?: Record<string, any>;
1677
- }
1678
-
1679
1681
  interface ApiKey {
1680
1682
  id: string;
1681
1683
  name: string;