react-luminus-components 2.0.6 → 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/dist/.vite/manifest.json +34 -34
- package/dist/{FormDisabledProvider--0DdMCBK.cjs → FormDisabledProvider-BbyzT_Cv.cjs} +1 -1
- package/dist/{FormDisabledProvider-CQ3lr_vU.js → FormDisabledProvider-DqonORhL.js} +1 -1
- package/dist/{ShortcutLinksContext-CzUA0Bw_.cjs → ShortcutLinksContext-Bn-HfyvV.cjs} +50 -50
- package/dist/{ShortcutLinksContext-DGg3i3jj.js → ShortcutLinksContext-JzYprDew.js} +4745 -4735
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +5 -5
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +2 -2
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +5 -5
- package/dist/{useIsFormDirty-CLUo8jl7.cjs → useIsFormDirty-Bxcm6YTp.cjs} +1 -1
- package/dist/{useIsFormDirty-ebfGUdgb.js → useIsFormDirty-Chttb_yH.js} +1 -1
- package/dist/{useLocalStorageState-9W8xZxsD.js → useLocalStorageState-Bhv5Db7O.js} +1 -1
- package/dist/{useLocalStorageState-nJ8QPdoa.cjs → useLocalStorageState-bJ5LCIyw.cjs} +1 -1
- package/dist/utils/date/dateUtils.d.ts +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +35 -34
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
13
|
+
"_ShortcutLinksContext-JzYprDew.js"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"_ShortcutLinksContext-
|
|
17
|
-
"file": "ShortcutLinksContext-
|
|
16
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs": {
|
|
17
|
+
"file": "ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
18
18
|
"name": "ShortcutLinksContext"
|
|
19
19
|
},
|
|
20
|
-
"_ShortcutLinksContext-
|
|
21
|
-
"file": "ShortcutLinksContext-
|
|
20
|
+
"_ShortcutLinksContext-JzYprDew.js": {
|
|
21
|
+
"file": "ShortcutLinksContext-JzYprDew.js",
|
|
22
22
|
"name": "ShortcutLinksContext"
|
|
23
23
|
},
|
|
24
24
|
"_localStorageUtils-CZ4HDRzi.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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
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
|
-
"_ShortcutLinksContext-
|
|
120
|
+
"_ShortcutLinksContext-Bn-HfyvV.cjs",
|
|
121
121
|
"_localStorageUtils-CkZslzIU.cjs",
|
|
122
122
|
"_queryStorage-Dk70bkj7.cjs"
|
|
123
123
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),t=require("./ShortcutLinksContext-
|
|
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 "./ShortcutLinksContext-
|
|
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,
|