react-luminus-components 2.0.5-beta.r19-26 → 2.0.6
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 +48 -37
- package/dist/FormDisabledProvider--0DdMCBK.cjs +1 -0
- package/dist/{FormDisabledProvider-BlRae2l2.js → FormDisabledProvider-CQ3lr_vU.js} +1 -1
- package/dist/ShortcutLinksContext-CzUA0Bw_.cjs +285 -0
- package/dist/{nivo-bar-BHzU38wt.js → ShortcutLinksContext-DGg3i3jj.js} +20917 -20917
- package/dist/components/NotifCenter/Actions/NotificationActions.d.ts +7 -3
- package/dist/components/NotifCenter/Actions/components/index.d.ts +2 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationActionAddModal.d.ts +11 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateAddModal.d.ts +13 -0
- package/dist/components/NotifCenter/Actions/components/modals/NotificationTemplateEditModal.d.ts +6 -4
- package/dist/components/NotifCenter/NotifStyles/NotifStyles.d.ts +10 -0
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleFormSchema.d.ts +20 -0
- package/dist/components/NotifCenter/NotifStyles/hooks/useNotifStyleTableColumns.d.ts +7 -0
- package/dist/components/NotifCenter/index.d.ts +1 -0
- package/dist/components/UserSettings/LanguageSettingsUS/LanguageSettingsUS.d.ts +2 -0
- package/dist/components/UserSettings/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +13 -13
- package/dist/hooks/useLocalStorageState/useLocalStorageState.d.ts +3 -0
- package/dist/hooks/usePersistentState/usePersistentState.d.ts +15 -1
- package/dist/hooks/useSearchQueryState/useSearchQueryState.d.ts +5 -4
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +108 -107
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +59 -59
- package/dist/main.cjs.js +15 -15
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +11304 -10804
- package/dist/models/index.d.ts +3 -0
- package/dist/models/texts/NotifCentrumTexts.d.ts +15 -0
- package/dist/models/texts/UserSettingsTexts.d.ts +1 -0
- package/dist/models/types/notifCenter/NotifStyleModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotifTemplateCreateModel.d.ts +11 -0
- package/dist/models/types/notifCenter/NotifTemplateEditModel.d.ts +6 -0
- package/dist/models/types/notifCenter/NotificationAttachmentModel.d.ts +4 -0
- package/dist/models/types/notifCenter/NotificationModel.d.ts +2 -1
- package/dist/models/types/notifCenter/NotificationTemplate.d.ts +3 -1
- package/dist/queryStorage-C8e71gxx.js +30 -0
- package/dist/queryStorage-Dk70bkj7.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-CLUo8jl7.cjs +1 -0
- package/dist/useIsFormDirty-ebfGUdgb.js +117 -0
- package/dist/{useLocalStorageState-B2v6hClT.js → useLocalStorageState-9W8xZxsD.js} +20 -20
- package/dist/useLocalStorageState-nJ8QPdoa.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +76 -101
- package/dist/variables.scss +165 -165
- package/package.json +127 -127
- package/dist/FormDisabledProvider-CiGUtSf7.cjs +0 -1
- package/dist/nivo-bar-C1VYGnTR.cjs +0 -285
- package/dist/useIsFormDirty-BhBtGgzZ.cjs +0 -1
- package/dist/useIsFormDirty-GgEve4W-.js +0 -123
- package/dist/useLocalStorageState-AB4BFfn5.cjs +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider
|
|
3
|
-
"file": "FormDisabledProvider
|
|
2
|
+
"_FormDisabledProvider--0DdMCBK.cjs": {
|
|
3
|
+
"file": "FormDisabledProvider--0DdMCBK.cjs",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"
|
|
6
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_FormDisabledProvider-
|
|
10
|
-
"file": "FormDisabledProvider-
|
|
9
|
+
"_FormDisabledProvider-CQ3lr_vU.js": {
|
|
10
|
+
"file": "FormDisabledProvider-CQ3lr_vU.js",
|
|
11
11
|
"name": "FormDisabledProvider",
|
|
12
12
|
"imports": [
|
|
13
|
-
"
|
|
13
|
+
"_ShortcutLinksContext-DGg3i3jj.js"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs": {
|
|
17
|
+
"file": "ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
18
|
+
"name": "ShortcutLinksContext"
|
|
19
|
+
},
|
|
20
|
+
"_ShortcutLinksContext-DGg3i3jj.js": {
|
|
21
|
+
"file": "ShortcutLinksContext-DGg3i3jj.js",
|
|
22
|
+
"name": "ShortcutLinksContext"
|
|
23
|
+
},
|
|
16
24
|
"_localStorageUtils-CZ4HDRzi.js": {
|
|
17
25
|
"file": "localStorageUtils-CZ4HDRzi.js",
|
|
18
26
|
"name": "localStorageUtils"
|
|
@@ -21,40 +29,42 @@
|
|
|
21
29
|
"file": "localStorageUtils-CkZslzIU.cjs",
|
|
22
30
|
"name": "localStorageUtils"
|
|
23
31
|
},
|
|
24
|
-
"
|
|
25
|
-
"file": "
|
|
26
|
-
"name": "
|
|
32
|
+
"_queryStorage-C8e71gxx.js": {
|
|
33
|
+
"file": "queryStorage-C8e71gxx.js",
|
|
34
|
+
"name": "queryStorage"
|
|
27
35
|
},
|
|
28
|
-
"
|
|
29
|
-
"file": "
|
|
30
|
-
"name": "
|
|
36
|
+
"_queryStorage-Dk70bkj7.cjs": {
|
|
37
|
+
"file": "queryStorage-Dk70bkj7.cjs",
|
|
38
|
+
"name": "queryStorage"
|
|
31
39
|
},
|
|
32
|
-
"_useIsFormDirty-
|
|
33
|
-
"file": "useIsFormDirty-
|
|
40
|
+
"_useIsFormDirty-CLUo8jl7.cjs": {
|
|
41
|
+
"file": "useIsFormDirty-CLUo8jl7.cjs",
|
|
34
42
|
"name": "useIsFormDirty",
|
|
35
43
|
"imports": [
|
|
36
|
-
"
|
|
44
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
45
|
+
"_queryStorage-Dk70bkj7.cjs"
|
|
37
46
|
]
|
|
38
47
|
},
|
|
39
|
-
"_useIsFormDirty-
|
|
40
|
-
"file": "useIsFormDirty-
|
|
48
|
+
"_useIsFormDirty-ebfGUdgb.js": {
|
|
49
|
+
"file": "useIsFormDirty-ebfGUdgb.js",
|
|
41
50
|
"name": "useIsFormDirty",
|
|
42
51
|
"imports": [
|
|
43
|
-
"
|
|
52
|
+
"_ShortcutLinksContext-DGg3i3jj.js",
|
|
53
|
+
"_queryStorage-C8e71gxx.js"
|
|
44
54
|
]
|
|
45
55
|
},
|
|
46
|
-
"_useLocalStorageState-
|
|
47
|
-
"file": "useLocalStorageState-
|
|
56
|
+
"_useLocalStorageState-9W8xZxsD.js": {
|
|
57
|
+
"file": "useLocalStorageState-9W8xZxsD.js",
|
|
48
58
|
"name": "useLocalStorageState",
|
|
49
59
|
"imports": [
|
|
50
|
-
"
|
|
60
|
+
"_ShortcutLinksContext-DGg3i3jj.js"
|
|
51
61
|
]
|
|
52
62
|
},
|
|
53
|
-
"_useLocalStorageState-
|
|
54
|
-
"file": "useLocalStorageState-
|
|
63
|
+
"_useLocalStorageState-nJ8QPdoa.cjs": {
|
|
64
|
+
"file": "useLocalStorageState-nJ8QPdoa.cjs",
|
|
55
65
|
"name": "useLocalStorageState",
|
|
56
66
|
"imports": [
|
|
57
|
-
"
|
|
67
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs"
|
|
58
68
|
]
|
|
59
69
|
},
|
|
60
70
|
"src/contexts/index.ts": {
|
|
@@ -63,9 +73,9 @@
|
|
|
63
73
|
"src": "src/contexts/index.ts",
|
|
64
74
|
"isEntry": true,
|
|
65
75
|
"imports": [
|
|
66
|
-
"
|
|
67
|
-
"_FormDisabledProvider
|
|
68
|
-
"_useLocalStorageState-
|
|
76
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
77
|
+
"_FormDisabledProvider--0DdMCBK.cjs",
|
|
78
|
+
"_useLocalStorageState-nJ8QPdoa.cjs"
|
|
69
79
|
]
|
|
70
80
|
},
|
|
71
81
|
"src/hooks/index.ts": {
|
|
@@ -74,9 +84,9 @@
|
|
|
74
84
|
"src": "src/hooks/index.ts",
|
|
75
85
|
"isEntry": true,
|
|
76
86
|
"imports": [
|
|
77
|
-
"
|
|
78
|
-
"_useLocalStorageState-
|
|
79
|
-
"_useIsFormDirty-
|
|
87
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
88
|
+
"_useLocalStorageState-nJ8QPdoa.cjs",
|
|
89
|
+
"_useIsFormDirty-CLUo8jl7.cjs"
|
|
80
90
|
]
|
|
81
91
|
},
|
|
82
92
|
"src/layout/index.ts": {
|
|
@@ -85,7 +95,7 @@
|
|
|
85
95
|
"src": "src/layout/index.ts",
|
|
86
96
|
"isEntry": true,
|
|
87
97
|
"imports": [
|
|
88
|
-
"
|
|
98
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs"
|
|
89
99
|
]
|
|
90
100
|
},
|
|
91
101
|
"src/main.ts": {
|
|
@@ -94,11 +104,11 @@
|
|
|
94
104
|
"src": "src/main.ts",
|
|
95
105
|
"isEntry": true,
|
|
96
106
|
"imports": [
|
|
97
|
-
"
|
|
98
|
-
"_FormDisabledProvider
|
|
107
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
108
|
+
"_FormDisabledProvider--0DdMCBK.cjs",
|
|
99
109
|
"_localStorageUtils-CkZslzIU.cjs",
|
|
100
|
-
"_useIsFormDirty-
|
|
101
|
-
"_useLocalStorageState-
|
|
110
|
+
"_useIsFormDirty-CLUo8jl7.cjs",
|
|
111
|
+
"_useLocalStorageState-nJ8QPdoa.cjs"
|
|
102
112
|
]
|
|
103
113
|
},
|
|
104
114
|
"src/utils/index.ts": {
|
|
@@ -107,8 +117,9 @@
|
|
|
107
117
|
"src": "src/utils/index.ts",
|
|
108
118
|
"isEntry": true,
|
|
109
119
|
"imports": [
|
|
110
|
-
"
|
|
111
|
-
"_localStorageUtils-CkZslzIU.cjs"
|
|
120
|
+
"_ShortcutLinksContext-CzUA0Bw_.cjs",
|
|
121
|
+
"_localStorageUtils-CkZslzIU.cjs",
|
|
122
|
+
"_queryStorage-Dk70bkj7.cjs"
|
|
112
123
|
]
|
|
113
124
|
},
|
|
114
125
|
"style.css": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),t=require("./ShortcutLinksContext-CzUA0Bw_.cjs"),d="_loading_obchl_1",m="_spinner-grow_obchl_10",u="_second_obchl_14",_="_third_obchl_17",h="_loadingBlock_obchl_21",g="_sizeLine_obchl_29",p="_sizeFill_obchl_36",r={loading:d,spinnerGrow:m,second:u,third:_,loadingBlock:h,sizeLine:g,sizeFill:p},x=()=>{const e=t.compilerRuntimeExports.c(1);let s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(s=c.jsxs("div",{className:t.classNames("luminus-loading",r.loading),children:[c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary"),role:"status"}),c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary",r.second),role:"status"}),c.jsx("div",{className:t.classNames("spinner-grow",r.spinnerGrow,"text-primary",r.third),role:"status"})]}),e[0]=s):s=e[0],s};function l(e,s){const n=t.toDate(e);if(isNaN(s))return t.constructFrom(e,NaN);if(!s)return n;const i=n.getDate(),o=t.constructFrom(e,n.getTime());o.setMonth(n.getMonth()+s+1,0);const a=o.getDate();return i>=a?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function b(e,s){return l(e,s*12)}const N=e=>{const s=t.compilerRuntimeExports.c(3),{children:n,disabled:i}=e;let o;return s[0]!==n||s[1]!==i?(o=c.jsx(t.FormDisabledContext.Provider,{value:i,children:n}),s[0]=n,s[1]=i,s[2]=o):o=s[2],o};exports.FormDisabledProvider=N;exports.Loading=x;exports.addMonths=l;exports.addYears=b;exports.classes=r;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as _, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c, a as i, t as h, b as l, bR as m } from "./
|
|
2
|
+
import { c, a as i, t as h, b as l, bR as m } from "./ShortcutLinksContext-DGg3i3jj.js";
|
|
3
3
|
const g = "_loading_obchl_1", p = "_spinner-grow_obchl_10", u = "_second_obchl_14", b = "_third_obchl_17", f = "_loadingBlock_obchl_21", w = "_sizeLine_obchl_29", F = "_sizeFill_obchl_36", r = {
|
|
4
4
|
loading: g,
|
|
5
5
|
spinnerGrow: p,
|