react-luminus-components 1.4.27 → 1.4.29

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 (49) hide show
  1. package/dist/.vite/manifest.json +28 -38
  2. package/dist/{FormDisabledProvider-BqRrJ0Kq.js → FormDisabledProvider-C4BJtnSl.js} +1 -1
  3. package/dist/{FormDisabledProvider-jEUon85O.cjs → FormDisabledProvider-D7ohrf6I.cjs} +1 -1
  4. package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +14 -0
  5. package/dist/components/NotifCenter/Actions/components/ActionTemplates/ActionTemplates.d.ts +14 -0
  6. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +8 -0
  7. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/index.d.ts +2 -0
  8. package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +12 -0
  9. package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +9 -0
  10. package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
  11. package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +9 -0
  12. package/dist/components/NotifCenter/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +9 -0
  13. package/dist/components/NotifCenter/Users/components/index.d.ts +1 -0
  14. package/dist/components/NotifCenter/index.d.ts +2 -0
  15. package/dist/components/common/StateToggle/StateToggle.d.ts +8 -0
  16. package/dist/components/common/index.d.ts +1 -0
  17. package/dist/contexts.cjs.js +1 -1
  18. package/dist/contexts.es.js +44 -45
  19. package/dist/hooks/useKeyPress/useKeyPress.d.ts +1 -1
  20. package/dist/hooks.cjs.js +1 -1
  21. package/dist/hooks.es.js +22 -23
  22. package/dist/layout.cjs.js +1 -1
  23. package/dist/layout.es.js +2 -2
  24. package/dist/main.cjs.js +53 -53
  25. package/dist/main.d.ts +3 -0
  26. package/dist/main.es.js +4844 -4593
  27. package/dist/models/index.d.ts +8 -0
  28. package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
  29. package/dist/models/texts/NotifCentrumTexts.d.ts +14 -0
  30. package/dist/models/types/notifCenter/NotifTargetModel.d.ts +7 -0
  31. package/dist/models/types/notifCenter/NotificationHistoryModel.d.ts +11 -0
  32. package/dist/models/types/notifCenter/NotificationHistoryPersonModel.d.ts +6 -0
  33. package/dist/models/types/notifCenter/NotificationHistoryUserDto.d.ts +13 -0
  34. package/dist/models/types/notifCenter/NotificationModel.d.ts +9 -0
  35. package/dist/models/types/notifCenter/NotificationTarget.d.ts +9 -0
  36. package/dist/models/types/notifCenter/NotificationTemplate.d.ts +14 -0
  37. package/dist/{nivo-bar.es-DCweuhLT.cjs → nivo-bar.es-C2UfrfEW.cjs} +40 -40
  38. package/dist/{nivo-bar.es-BdEuFoWH.js → nivo-bar.es-CAK_sBtK.js} +39 -36
  39. package/dist/style.css +1 -1
  40. package/dist/useLocalStorageState-DgnSxAxT.cjs +1 -0
  41. package/dist/useLocalStorageState-zVazoLpV.js +74 -0
  42. package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
  43. package/dist/utils.cjs.js +1 -1
  44. package/dist/utils.es.js +46 -42
  45. package/package.json +1 -1
  46. package/dist/useGetApiData-8CkqvCJ7.cjs +0 -1
  47. package/dist/useGetApiData-EWN8nbww.js +0 -61
  48. package/dist/useLocalStorageState-BFc8Gc8H.cjs +0 -1
  49. package/dist/useLocalStorageState-Bt99kkCr.js +0 -17
@@ -1 +0,0 @@
1
- "use strict";const a=require("react"),l=(t,c)=>{const s=a.useCallback(()=>{const e=localStorage.getItem(t);return e!=null&&e!=="undefined"?JSON.parse(e):c},[c,t]),[o,r]=a.useState(s);a.useEffect(()=>{localStorage.setItem(t,JSON.stringify(o))},[t,o]);const n=a.useCallback(()=>{r(s)},[s]);return[o,r,n]};exports.useLocalStorageState=l;
@@ -1,17 +0,0 @@
1
- import { useCallback as n, useState as S, useEffect as l } from "react";
2
- const g = (t, s) => {
3
- const a = n(() => {
4
- const e = localStorage.getItem(t);
5
- return e != null && e !== "undefined" ? JSON.parse(e) : s;
6
- }, [s, t]), [o, r] = S(a);
7
- l(() => {
8
- localStorage.setItem(t, JSON.stringify(o));
9
- }, [t, o]);
10
- const c = n(() => {
11
- r(a);
12
- }, [a]);
13
- return [o, r, c];
14
- };
15
- export {
16
- g as u
17
- };