react-luminus-components 1.4.28 → 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.
- package/README.md +349 -349
- package/dist/.vite/manifest.json +32 -42
- package/dist/{FormDisabledProvider-DPKrSoOT.js → FormDisabledProvider-C4BJtnSl.js} +1 -1
- package/dist/FormDisabledProvider-D7ohrf6I.cjs +1 -0
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +14 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/ActionTemplates.d.ts +14 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/Recipients/NotificationRecipients.d.ts +8 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/index.d.ts +2 -0
- package/dist/components/NotifCenter/Actions/components/ActionTemplates/comps/modals/NotificationTargetModal.d.ts +12 -0
- package/dist/components/NotifCenter/Actions/components/HistoryTable/NotificationHistoryTable.d.ts +9 -0
- package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
- package/dist/components/NotifCenter/Users/NotificationUsers.d.ts +9 -0
- package/dist/components/NotifCenter/Users/components/EmployeeNotifTable/EmployeeNotifHistoryTable.d.ts +9 -0
- package/dist/components/NotifCenter/Users/components/index.d.ts +1 -0
- package/dist/components/NotifCenter/index.d.ts +2 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +31 -32
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +49 -50
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +33 -33
- package/dist/main.cjs.js +55 -55
- package/dist/main.d.ts +2 -0
- package/dist/main.es.js +10003 -9778
- package/dist/models/index.d.ts +8 -0
- package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
- package/dist/models/texts/NotifCentrumTexts.d.ts +14 -0
- package/dist/models/types/notifCenter/NotifTargetModel.d.ts +7 -0
- package/dist/models/types/notifCenter/NotificationHistoryModel.d.ts +11 -0
- package/dist/models/types/notifCenter/NotificationHistoryPersonModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotificationHistoryUserDto.d.ts +13 -0
- package/dist/models/types/notifCenter/NotificationModel.d.ts +9 -0
- package/dist/models/types/notifCenter/NotificationTarget.d.ts +9 -0
- package/dist/models/types/notifCenter/NotificationTemplate.d.ts +14 -0
- package/dist/{ShortcutLinksContext-BEQ8oRf-.cjs → nivo-bar.es-C2UfrfEW.cjs} +7 -7
- package/dist/{ShortcutLinksContext-B9xDvgpv.js → nivo-bar.es-CAK_sBtK.js} +12151 -12151
- package/dist/style.css +1 -1
- package/dist/useLocalStorageState-DgnSxAxT.cjs +1 -0
- package/dist/useLocalStorageState-zVazoLpV.js +74 -0
- package/dist/utils/constants/CommonLuminusIconsArray.d.ts +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +54 -50
- package/dist/variables.scss +165 -165
- package/package.json +122 -122
- package/dist/FormDisabledProvider-BxOwA9ho.cjs +0 -1
- package/dist/useGetApiData-BqL_vkpa.js +0 -61
- package/dist/useGetApiData-DDu4unv_.cjs +0 -1
- package/dist/useLocalStorageState-BFc8Gc8H.cjs +0 -1
- package/dist/useLocalStorageState-Bt99kkCr.js +0 -17
|
@@ -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
|
-
};
|