react-luminus-components 1.4.7 → 1.4.9
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 +26 -26
- package/dist/{FormDisabledProvider-BYME93zs.js → FormDisabledProvider-9pkx7OEo.js} +1 -1
- package/dist/{FormDisabledProvider-DJYpkiA9.cjs → FormDisabledProvider-DnGcyr3r.cjs} +1 -1
- package/dist/{ShortcutLinksContext-CyN4WuCA.js → ShortcutLinksContext-Bq4H1MkL.js} +15 -17
- package/dist/{ShortcutLinksContext-gFF4Fkew.cjs → ShortcutLinksContext-CGa1-dSM.cjs} +7 -7
- 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 +3 -3
- 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 +4 -4
- package/dist/style.css +1 -1
- package/dist/{useGetApiData-iey_B2fl.js → useGetApiData-C4iKFWdn.js} +1 -1
- package/dist/{useGetApiData-B-3Jb8PK.cjs → useGetApiData-CpggLyHY.cjs} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +2 -2
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_FormDisabledProvider-
|
|
3
|
-
"file": "FormDisabledProvider-
|
|
2
|
+
"_FormDisabledProvider-9pkx7OEo.js": {
|
|
3
|
+
"file": "FormDisabledProvider-9pkx7OEo.js",
|
|
4
4
|
"name": "FormDisabledProvider",
|
|
5
5
|
"imports": [
|
|
6
|
-
"_ShortcutLinksContext-
|
|
6
|
+
"_ShortcutLinksContext-Bq4H1MkL.js"
|
|
7
7
|
]
|
|
8
8
|
},
|
|
9
|
-
"_FormDisabledProvider-
|
|
10
|
-
"file": "FormDisabledProvider-
|
|
9
|
+
"_FormDisabledProvider-DnGcyr3r.cjs": {
|
|
10
|
+
"file": "FormDisabledProvider-DnGcyr3r.cjs",
|
|
11
11
|
"name": "FormDisabledProvider",
|
|
12
12
|
"imports": [
|
|
13
|
-
"_ShortcutLinksContext-
|
|
13
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"_ShortcutLinksContext-
|
|
17
|
-
"file": "ShortcutLinksContext-
|
|
16
|
+
"_ShortcutLinksContext-Bq4H1MkL.js": {
|
|
17
|
+
"file": "ShortcutLinksContext-Bq4H1MkL.js",
|
|
18
18
|
"name": "ShortcutLinksContext"
|
|
19
19
|
},
|
|
20
|
-
"_ShortcutLinksContext-
|
|
21
|
-
"file": "ShortcutLinksContext-
|
|
20
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs": {
|
|
21
|
+
"file": "ShortcutLinksContext-CGa1-dSM.cjs",
|
|
22
22
|
"name": "ShortcutLinksContext"
|
|
23
23
|
},
|
|
24
24
|
"_numberUtils-BY7ziQF8.cjs": {
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"file": "numberUtils-Bwf8nio8.js",
|
|
30
30
|
"name": "numberUtils"
|
|
31
31
|
},
|
|
32
|
-
"_useGetApiData-
|
|
33
|
-
"file": "useGetApiData-
|
|
32
|
+
"_useGetApiData-C4iKFWdn.js": {
|
|
33
|
+
"file": "useGetApiData-C4iKFWdn.js",
|
|
34
34
|
"name": "useGetApiData",
|
|
35
35
|
"imports": [
|
|
36
|
-
"_ShortcutLinksContext-
|
|
36
|
+
"_ShortcutLinksContext-Bq4H1MkL.js"
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
|
-
"_useGetApiData-
|
|
40
|
-
"file": "useGetApiData-
|
|
39
|
+
"_useGetApiData-CpggLyHY.cjs": {
|
|
40
|
+
"file": "useGetApiData-CpggLyHY.cjs",
|
|
41
41
|
"name": "useGetApiData",
|
|
42
42
|
"imports": [
|
|
43
|
-
"_ShortcutLinksContext-
|
|
43
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs"
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
"_useLocalStorageState-BFc8Gc8H.cjs": {
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"src": "src/contexts/index.ts",
|
|
66
66
|
"isEntry": true,
|
|
67
67
|
"imports": [
|
|
68
|
-
"_ShortcutLinksContext-
|
|
69
|
-
"_FormDisabledProvider-
|
|
70
|
-
"_useGetApiData-
|
|
68
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs",
|
|
69
|
+
"_FormDisabledProvider-DnGcyr3r.cjs",
|
|
70
|
+
"_useGetApiData-CpggLyHY.cjs",
|
|
71
71
|
"_useLocalStorageState-BFc8Gc8H.cjs"
|
|
72
72
|
]
|
|
73
73
|
},
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"src": "src/hooks/index.ts",
|
|
78
78
|
"isEntry": true,
|
|
79
79
|
"imports": [
|
|
80
|
-
"_ShortcutLinksContext-
|
|
81
|
-
"_useGetApiData-
|
|
80
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs",
|
|
81
|
+
"_useGetApiData-CpggLyHY.cjs",
|
|
82
82
|
"_useLocalStorageState-BFc8Gc8H.cjs",
|
|
83
83
|
"_useRenderDraggableInPortal-QPCaw-E_.cjs"
|
|
84
84
|
]
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"src": "src/layout/index.ts",
|
|
90
90
|
"isEntry": true,
|
|
91
91
|
"imports": [
|
|
92
|
-
"_ShortcutLinksContext-
|
|
92
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs"
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
95
|
"src/main.ts": {
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
"src": "src/main.ts",
|
|
99
99
|
"isEntry": true,
|
|
100
100
|
"imports": [
|
|
101
|
-
"_ShortcutLinksContext-
|
|
102
|
-
"_FormDisabledProvider-
|
|
101
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs",
|
|
102
|
+
"_FormDisabledProvider-DnGcyr3r.cjs",
|
|
103
103
|
"_useRenderDraggableInPortal-QPCaw-E_.cjs",
|
|
104
|
-
"_useGetApiData-
|
|
104
|
+
"_useGetApiData-CpggLyHY.cjs",
|
|
105
105
|
"_numberUtils-BY7ziQF8.cjs"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"src": "src/utils/index.ts",
|
|
112
112
|
"isEntry": true,
|
|
113
113
|
"imports": [
|
|
114
|
-
"_ShortcutLinksContext-
|
|
114
|
+
"_ShortcutLinksContext-CGa1-dSM.cjs",
|
|
115
115
|
"_numberUtils-BY7ziQF8.cjs"
|
|
116
116
|
]
|
|
117
117
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as o, c as n, bI as e } from "./ShortcutLinksContext-
|
|
1
|
+
import { j as o, c as n, bI as e } from "./ShortcutLinksContext-Bq4H1MkL.js";
|
|
2
2
|
const l = "_loading_obchl_1", a = "_spinner-grow_obchl_10", c = "_second_obchl_14", t = "_third_obchl_17", d = "_loadingBlock_obchl_21", _ = "_sizeLine_obchl_29", p = "_sizeFill_obchl_36", s = {
|
|
3
3
|
loading: l,
|
|
4
4
|
"spinner-grow": "_spinner-grow_obchl_10",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("./ShortcutLinksContext-
|
|
1
|
+
"use strict";const s=require("./ShortcutLinksContext-CGa1-dSM.cjs"),i="_loading_obchl_1",r="_spinner-grow_obchl_10",t="_second_obchl_14",l="_third_obchl_17",c="_loadingBlock_obchl_21",a="_sizeLine_obchl_29",d="_sizeFill_obchl_36",o={loading:i,"spinner-grow":"_spinner-grow_obchl_10",spinnerGrow:r,second:t,third:l,loadingBlock:c,sizeLine:a,sizeFill:d},_=()=>s.jsxRuntimeExports.jsxs("div",{className:s.classNames("luminus-loading",o.loading),children:[s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary"),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.second),role:"status"}),s.jsxRuntimeExports.jsx("div",{className:s.classNames("spinner-grow",o.spinnerGrow,"text-primary",o.third),role:"status"})]}),m=({children:n,disabled:e})=>s.jsxRuntimeExports.jsx(s.FormDisabledContext.Provider,{value:e,children:n});exports.FormDisabledProvider=m;exports.Loading=_;exports.classes=o;
|
|
@@ -25074,35 +25074,33 @@ mr(function(e, t) {
|
|
|
25074
25074
|
return v.jsx(DJ, xt({ width: r, height: i }, e, { ref: t }));
|
|
25075
25075
|
} });
|
|
25076
25076
|
});
|
|
25077
|
-
const NJ = "_side-content-
|
|
25078
|
-
"side-content-bar": "_side-content-
|
|
25077
|
+
const NJ = "_side-content-bar_1ka0p_1", LJ = "_mobile_1ka0p_12", FJ = "_expanded_1ka0p_20", BJ = "_resizer_1ka0p_23", UJ = "_expander_1ka0p_37", WJ = "_icon_1ka0p_56", Ur = {
|
|
25078
|
+
"side-content-bar": "_side-content-bar_1ka0p_1",
|
|
25079
25079
|
sideContentBar: NJ,
|
|
25080
25080
|
mobile: LJ,
|
|
25081
25081
|
expanded: FJ,
|
|
25082
|
-
|
|
25083
|
-
|
|
25084
|
-
|
|
25082
|
+
resizer: BJ,
|
|
25083
|
+
expander: UJ,
|
|
25084
|
+
icon: WJ
|
|
25085
25085
|
}, zJ = ({ width: e, children: t, isExpandedOnMobileState: [n, r], onResize: i }) => {
|
|
25086
25086
|
const { ProjectIconComponent: a } = ce(qt), { isMobile: o } = Vl(), s = Gx({
|
|
25087
|
-
onSwipedRight: (
|
|
25088
|
-
|
|
25087
|
+
onSwipedRight: (u) => {
|
|
25088
|
+
u.velocity > 0.8 && r(!1);
|
|
25089
25089
|
},
|
|
25090
25090
|
delta: 100
|
|
25091
|
-
}), [c, l] = Te(null)
|
|
25092
|
-
l(null), i(d);
|
|
25093
|
-
}, [i]);
|
|
25091
|
+
}), [c, l] = Te(null);
|
|
25094
25092
|
return /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
25095
|
-
/* @__PURE__ */ v.
|
|
25093
|
+
/* @__PURE__ */ v.jsxs("section", { className: J("luminus-side-content-bar shadow", Ur.sideContentBar, {
|
|
25096
25094
|
[Ur.mobile]: o
|
|
25097
25095
|
}, {
|
|
25098
25096
|
[Ur.expanded]: n
|
|
25099
25097
|
}), style: {
|
|
25100
25098
|
width: `${e}px`
|
|
25101
|
-
}, ...s, children:
|
|
25102
|
-
|
|
25103
|
-
|
|
25104
|
-
|
|
25105
|
-
}, children: /* @__PURE__ */ v.jsx(a, { className: Ur.icon, icon: "
|
|
25099
|
+
}, ...s, children: [
|
|
25100
|
+
o ? null : /* @__PURE__ */ v.jsx("div", { role: "button", className: J(Ur.resizer, "luminus-side-content-bar-resizer", "shadow"), draggable: !0, onDragStart: (u) => l({ startX: u.clientX, widthStart: e }), onDrag: (u) => i(((c == null ? void 0 : c.widthStart) ?? 0) + (((c == null ? void 0 : c.startX) ?? 0) - u.clientX)), onDragEnd: () => l(null), children: /* @__PURE__ */ v.jsx(a, { className: Ur.icon, icon: "resizer-horizontal" }) }),
|
|
25101
|
+
t
|
|
25102
|
+
] }),
|
|
25103
|
+
o ? /* @__PURE__ */ v.jsx("div", { role: "button", onClick: () => r(!n), className: J(Ur.expander, { [Ur.expanded]: n }, "luminus-side-content-bar-expander", "shadow"), children: /* @__PURE__ */ v.jsx(a, { className: Ur.icon, icon: "chevron-left" }) }) : null
|
|
25106
25104
|
] });
|
|
25107
25105
|
}, HJ = ({ title: e }) => /* @__PURE__ */ v.jsx("div", { className: "mb-3", children: typeof e == "string" ? /* @__PURE__ */ v.jsx(kn, { variant: "h3", children: e }) : e }), VJ = "_full-screen-container_1rm4r_1", WT = {
|
|
25108
25106
|
"full-screen-container": "_full-screen-container_1rm4r_1",
|
|
@@ -25135,7 +25133,7 @@ const NJ = "_side-content-bar_bdoy4_1", LJ = "_mobile_bdoy4_13", FJ = "_expanded
|
|
|
25135
25133
|
n && !y ? /* @__PURE__ */ v.jsx(zJ, { width: f, isExpandedOnMobileState: [
|
|
25136
25134
|
m,
|
|
25137
25135
|
p
|
|
25138
|
-
], onResize: (w) => h(
|
|
25136
|
+
], onResize: (w) => h(w), children: n }) : null
|
|
25139
25137
|
] });
|
|
25140
25138
|
}, Vm = ({ InputContainer: e = Yl, formField: t, label: n, resetsFields: r, options: i, isNumber: a, size: o, showClearIcon: s, clearValue: c, noSortOptions: l, required: u, hidden: d, disabled: f, withoutLabel: h, hint: m, className: p }) => {
|
|
25141
25139
|
const { register: g, formState: b, getValues: x, setValue: y, watch: w } = Oh(), _ = hp({ falseIfNotInit: !0 });
|