react-luminus-components 2.0.7 → 2.0.8
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 +42 -42
- package/dist/FormDisabledProvider-BbyzT_Cv.cjs +1 -0
- package/dist/{FormDisabledProvider-qhIyJB5D.js → FormDisabledProvider-DqonORhL.js} +1 -1
- package/dist/ShortcutLinksContext-Bn-HfyvV.cjs +285 -0
- package/dist/{nivo-bar-BkM6-FGM.js → ShortcutLinksContext-JzYprDew.js} +18338 -18332
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +95 -95
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +44 -44
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +84 -84
- package/dist/{localStorageUtils-D2opn367.js → localStorageUtils-CZ4HDRzi.js} +2 -2
- package/dist/main.cjs.js +15 -15
- package/dist/main.es.js +10729 -10729
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-Bxcm6YTp.cjs +1 -0
- package/dist/{useIsFormDirty-Clr-emgm.js → useIsFormDirty-Chttb_yH.js} +5 -5
- package/dist/{useLocalStorageState-D-LKqvel.js → useLocalStorageState-Bhv5Db7O.js} +20 -20
- package/dist/useLocalStorageState-bJ5LCIyw.cjs +1 -0
- package/dist/utils/date/dateUtils.d.ts +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +45 -44
- package/dist/variables.scss +165 -165
- package/package.json +127 -127
- package/dist/FormDisabledProvider-BLZtwahl.cjs +0 -1
- package/dist/nivo-bar-CMNxTtSc.cjs +0 -285
- package/dist/useIsFormDirty-AcJxAiGV.cjs +0 -1
- package/dist/useLocalStorageState-B8x3R1dU.cjs +0 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider-
|
|
3
|
-
"file": "FormDisabledProvider-
|
|
2
|
+
"_FormDisabledProvider-BbyzT_Cv.cjs": {
|
|
3
|
+
"file": "FormDisabledProvider-BbyzT_Cv.cjs",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"
|
|
6
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_FormDisabledProvider-
|
|
10
|
-
"file": "FormDisabledProvider-
|
|
9
|
+
"_FormDisabledProvider-DqonORhL.js": {
|
|
10
|
+
"file": "FormDisabledProvider-DqonORhL.js",
|
|
11
11
|
"name": "FormDisabledProvider",
|
|
12
12
|
"imports": [
|
|
13
|
-
"
|
|
13
|
+
"_ShortcutLinksContext-JzYprDew.js"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"
|
|
17
|
-
"file": "
|
|
18
|
-
"name": "
|
|
16
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs": {
|
|
17
|
+
"file": "ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
18
|
+
"name": "ShortcutLinksContext"
|
|
19
19
|
},
|
|
20
|
-
"
|
|
21
|
-
"file": "
|
|
22
|
-
"name": "
|
|
20
|
+
"_ShortcutLinksContext-JzYprDew.js": {
|
|
21
|
+
"file": "ShortcutLinksContext-JzYprDew.js",
|
|
22
|
+
"name": "ShortcutLinksContext"
|
|
23
23
|
},
|
|
24
|
-
"
|
|
25
|
-
"file": "
|
|
26
|
-
"name": "
|
|
24
|
+
"_localStorageUtils-CZ4HDRzi.js": {
|
|
25
|
+
"file": "localStorageUtils-CZ4HDRzi.js",
|
|
26
|
+
"name": "localStorageUtils"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
"file": "
|
|
30
|
-
"name": "
|
|
28
|
+
"_localStorageUtils-CkZslzIU.cjs": {
|
|
29
|
+
"file": "localStorageUtils-CkZslzIU.cjs",
|
|
30
|
+
"name": "localStorageUtils"
|
|
31
31
|
},
|
|
32
32
|
"_queryStorage-C8e71gxx.js": {
|
|
33
33
|
"file": "queryStorage-C8e71gxx.js",
|
|
@@ -37,34 +37,34 @@
|
|
|
37
37
|
"file": "queryStorage-Dk70bkj7.cjs",
|
|
38
38
|
"name": "queryStorage"
|
|
39
39
|
},
|
|
40
|
-
"_useIsFormDirty-
|
|
41
|
-
"file": "useIsFormDirty-
|
|
40
|
+
"_useIsFormDirty-Bxcm6YTp.cjs": {
|
|
41
|
+
"file": "useIsFormDirty-Bxcm6YTp.cjs",
|
|
42
42
|
"name": "useIsFormDirty",
|
|
43
43
|
"imports": [
|
|
44
|
-
"
|
|
44
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
45
45
|
"_queryStorage-Dk70bkj7.cjs"
|
|
46
46
|
]
|
|
47
47
|
},
|
|
48
|
-
"_useIsFormDirty-
|
|
49
|
-
"file": "useIsFormDirty-
|
|
48
|
+
"_useIsFormDirty-Chttb_yH.js": {
|
|
49
|
+
"file": "useIsFormDirty-Chttb_yH.js",
|
|
50
50
|
"name": "useIsFormDirty",
|
|
51
51
|
"imports": [
|
|
52
|
-
"
|
|
52
|
+
"_ShortcutLinksContext-JzYprDew.js",
|
|
53
53
|
"_queryStorage-C8e71gxx.js"
|
|
54
54
|
]
|
|
55
55
|
},
|
|
56
|
-
"_useLocalStorageState-
|
|
57
|
-
"file": "useLocalStorageState-
|
|
56
|
+
"_useLocalStorageState-Bhv5Db7O.js": {
|
|
57
|
+
"file": "useLocalStorageState-Bhv5Db7O.js",
|
|
58
58
|
"name": "useLocalStorageState",
|
|
59
59
|
"imports": [
|
|
60
|
-
"
|
|
60
|
+
"_ShortcutLinksContext-JzYprDew.js"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
|
-
"_useLocalStorageState-
|
|
64
|
-
"file": "useLocalStorageState-
|
|
63
|
+
"_useLocalStorageState-bJ5LCIyw.cjs": {
|
|
64
|
+
"file": "useLocalStorageState-bJ5LCIyw.cjs",
|
|
65
65
|
"name": "useLocalStorageState",
|
|
66
66
|
"imports": [
|
|
67
|
-
"
|
|
67
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs"
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"src/contexts/index.ts": {
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"src": "src/contexts/index.ts",
|
|
74
74
|
"isEntry": true,
|
|
75
75
|
"imports": [
|
|
76
|
-
"
|
|
77
|
-
"_FormDisabledProvider-
|
|
78
|
-
"_useLocalStorageState-
|
|
76
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
77
|
+
"_FormDisabledProvider-BbyzT_Cv.cjs",
|
|
78
|
+
"_useLocalStorageState-bJ5LCIyw.cjs"
|
|
79
79
|
]
|
|
80
80
|
},
|
|
81
81
|
"src/hooks/index.ts": {
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
"src": "src/hooks/index.ts",
|
|
85
85
|
"isEntry": true,
|
|
86
86
|
"imports": [
|
|
87
|
-
"
|
|
88
|
-
"_useLocalStorageState-
|
|
89
|
-
"_useIsFormDirty-
|
|
87
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
88
|
+
"_useLocalStorageState-bJ5LCIyw.cjs",
|
|
89
|
+
"_useIsFormDirty-Bxcm6YTp.cjs"
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
92
|
"src/layout/index.ts": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"src": "src/layout/index.ts",
|
|
96
96
|
"isEntry": true,
|
|
97
97
|
"imports": [
|
|
98
|
-
"
|
|
98
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs"
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
101
|
"src/main.ts": {
|
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
"src": "src/main.ts",
|
|
105
105
|
"isEntry": true,
|
|
106
106
|
"imports": [
|
|
107
|
-
"
|
|
108
|
-
"_FormDisabledProvider-
|
|
107
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
108
|
+
"_FormDisabledProvider-BbyzT_Cv.cjs",
|
|
109
109
|
"_localStorageUtils-CkZslzIU.cjs",
|
|
110
|
-
"_useIsFormDirty-
|
|
111
|
-
"_useLocalStorageState-
|
|
110
|
+
"_useIsFormDirty-Bxcm6YTp.cjs",
|
|
111
|
+
"_useLocalStorageState-bJ5LCIyw.cjs"
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
114
|
"src/utils/index.ts": {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"src": "src/utils/index.ts",
|
|
118
118
|
"isEntry": true,
|
|
119
119
|
"imports": [
|
|
120
|
-
"
|
|
120
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
121
121
|
"_localStorageUtils-CkZslzIU.cjs",
|
|
122
122
|
"_queryStorage-Dk70bkj7.cjs"
|
|
123
123
|
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),t=require("./ShortcutLinksContext-Bn-HfyvV.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-JzYprDew.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,
|