@ukpc-lib/react 0.13.1-dev.14 → 0.13.1-dev.15

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 (25) hide show
  1. package/dist/components/Notification/NotificationList/components/query.d.ts +1 -1
  2. package/dist/components/Notification/models/NotiticationDto.d.ts +2 -2
  3. package/dist/components/index.cjs +32 -19
  4. package/dist/components/index.js +2592 -2446
  5. package/dist/{index.esm2017-DFT9wFL2.cjs → index.esm2017-BqNn5ien.cjs} +17 -17
  6. package/dist/{index.esm2017-BFsaAJIb.js → index.esm2017-DVCjm-2j.js} +1974 -1972
  7. package/dist/share/index.cjs +1 -1
  8. package/dist/share/index.js +13 -13
  9. package/package.json +1 -1
  10. package/web-components-bundle/access-denied/index.js +2 -2
  11. package/web-components-bundle/base-breadcrumbs/index.js +2 -2
  12. package/web-components-bundle/favorite-menu/index.js +4 -4
  13. package/web-components-bundle/global-menu/index.js +4 -4
  14. package/web-components-bundle/global-topbar/index.js +6 -6
  15. package/web-components-bundle/has-permission/index.js +3 -3
  16. package/web-components-bundle/{index-T58UE-6b.js → index-C4Vqyh6C.js} +2 -2
  17. package/web-components-bundle/{index-BziS9Had.js → index-CJLndpJy.js} +593 -593
  18. package/web-components-bundle/{index-DN61Cz99.js → index-CNiqJEgy.js} +12248 -11832
  19. package/web-components-bundle/{index-BSe1av43.js → index-Cx0zTfOC.js} +1 -1
  20. package/web-components-bundle/page-not-found/index.js +2 -2
  21. package/web-components-bundle/{react-to-web-component-CXwKHjZr.js → react-to-web-component-D7SoYMky.js} +1535 -1527
  22. package/web-components-bundle/{react-toastify.esm-CrTD7cpE.js → react-toastify.esm-Y1WvK90L.js} +1 -1
  23. package/web-components-bundle/{setPrototypeOf-BVKdEITT.js → setPrototypeOf-CP0c5ut2.js} +2 -2
  24. package/web-components-bundle/toast-config/index.js +2 -2
  25. package/web-components-bundle/toast-config-notification/index.js +2 -2
@@ -1,3 +1,3 @@
1
1
  import { NotiDataType } from '../../models/NotiticationDto';
2
2
 
3
- export declare const useGetNotiData: ({ baseUrl, notiPath, setNotiData, }: NotiDataType) => () => Promise<void>;
3
+ export declare const useGetNotiData: ({ baseUrl, notiPath, setNotiData, }: NotiDataType) => (page?: number, pageSize?: number, tabType?: "all" | "unread") => Promise<any>;
@@ -1,13 +1,14 @@
1
1
  import { ColorsType } from '../../../theme';
2
2
 
3
3
  export interface NotificationItemProps {
4
- notidata: NotificationItemDto[];
5
4
  handleUpdateReadAll?: () => void;
6
5
  handleUpdateRead?: (id: number, isRead: boolean) => void;
7
6
  baseUrl: string;
8
7
  notiPath?: string;
9
8
  brandColors?: ColorsType;
10
9
  notiUnreadNumber?: number;
10
+ tabType: 'all' | 'unread';
11
+ popupRef: React.RefObject<HTMLDivElement>;
11
12
  }
12
13
  export declare class Paging<T> {
13
14
  rows: T[];
@@ -47,7 +48,6 @@ export type NotificationApiProps = {
47
48
  brandColors?: ColorsType;
48
49
  };
49
50
  type NotificationType = {
50
- rows: NotificationItemDto[];
51
51
  total: number;
52
52
  };
53
53
  export type AllNotificationType = {