react-luminus-components 2.1.8 → 2.1.10
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 +191 -50
- package/dist/Alert-BApdinGX.cjs +1 -0
- package/dist/Alert-D2Bw906t.js +495 -0
- package/dist/DelegationContext-B1WXROG2.cjs +201 -0
- package/dist/DelegationContext-CCnk58PI.js +3156 -0
- package/dist/HelmetContext-ChKPef74.js +49 -0
- package/dist/HelmetContext-DDQ-Phg7.cjs +1 -0
- package/dist/PrimaryButton-D7r0m8xi.js +742 -0
- package/dist/PrimaryButton-D91b3Dmv.cjs +1 -0
- package/dist/SimpleTooltip-B00uLuVM.cjs +1 -0
- package/dist/SimpleTooltip-dwOOgecT.js +1642 -0
- package/dist/Typography-C5KJzU5O.js +1627 -0
- package/dist/Typography-Fo21SeyJ.cjs +20 -0
- package/dist/UserContext-45ZxeQHB.cjs +1 -0
- package/dist/UserContext-ZsTsf5Xe.js +270 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +1773 -852
- package/dist/dateUtils-CXm9PEh6.cjs +1 -0
- package/dist/dateUtils-ayErBYbI.js +1488 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +118 -123
- package/dist/index-4IYT9u10.js +95 -0
- package/dist/index-jmbq5h95.cjs +25 -0
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +97 -98
- package/dist/localStorageUtils-BSATUi5m.cjs +1 -0
- package/dist/localStorageUtils-DNgjNynk.js +1070 -0
- package/dist/main.cjs.js +56 -7
- package/dist/main.es.js +36401 -11370
- package/dist/models/texts/SubstitutionsTexts.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-76y8Dca-.cjs +1 -0
- package/dist/useIsFormDirty-Ba5uhPH7.js +3257 -0
- package/dist/useWindowSize-7W91GsJQ.js +56 -0
- package/dist/useWindowSize-CLoDaEYh.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +79 -85
- package/package.json +10 -1
- package/dist/FormDisabledProvider-D-DRODSt.js +0 -51
- package/dist/FormDisabledProvider-Dt39yr7W.cjs +0 -1
- package/dist/localStorageUtils-CVwJ9FKd.cjs +0 -1
- package/dist/localStorageUtils-TeLq8MHE.js +0 -59
- package/dist/nivo-bar-D6NJLYWS.js +0 -39616
- package/dist/nivo-bar-SBWBmyeI.cjs +0 -293
- package/dist/useIsFormDirty-CZ4jNRFn.js +0 -117
- package/dist/useIsFormDirty-Crsu8mjo.cjs +0 -1
- package/dist/useLocalStorageState-Ca7olZgH.cjs +0 -1
- package/dist/useLocalStorageState-DtBc-C2W.js +0 -25
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,33 +1,149 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"file": "
|
|
4
|
-
"name": "
|
|
2
|
+
"_Alert-BApdinGX.cjs": {
|
|
3
|
+
"file": "Alert-BApdinGX.cjs",
|
|
4
|
+
"name": "Alert",
|
|
5
5
|
"imports": [
|
|
6
|
-
"
|
|
6
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
7
|
+
"_index-jmbq5h95.cjs",
|
|
8
|
+
"_HelmetContext-DDQ-Phg7.cjs",
|
|
9
|
+
"_useWindowSize-CLoDaEYh.cjs",
|
|
10
|
+
"_Typography-Fo21SeyJ.cjs",
|
|
11
|
+
"_SimpleTooltip-B00uLuVM.cjs"
|
|
7
12
|
]
|
|
8
13
|
},
|
|
9
|
-
"
|
|
10
|
-
"file": "
|
|
11
|
-
"name": "
|
|
14
|
+
"_Alert-D2Bw906t.js": {
|
|
15
|
+
"file": "Alert-D2Bw906t.js",
|
|
16
|
+
"name": "Alert",
|
|
12
17
|
"imports": [
|
|
13
|
-
"
|
|
18
|
+
"_UserContext-ZsTsf5Xe.js",
|
|
19
|
+
"_index-4IYT9u10.js",
|
|
20
|
+
"_HelmetContext-ChKPef74.js",
|
|
21
|
+
"_useWindowSize-7W91GsJQ.js",
|
|
22
|
+
"_Typography-C5KJzU5O.js",
|
|
23
|
+
"_SimpleTooltip-dwOOgecT.js"
|
|
14
24
|
]
|
|
15
25
|
},
|
|
16
|
-
"
|
|
17
|
-
"file": "
|
|
18
|
-
"name": "
|
|
26
|
+
"_DelegationContext-B1WXROG2.cjs": {
|
|
27
|
+
"file": "DelegationContext-B1WXROG2.cjs",
|
|
28
|
+
"name": "DelegationContext",
|
|
29
|
+
"imports": [
|
|
30
|
+
"_index-jmbq5h95.cjs",
|
|
31
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
32
|
+
"_dateUtils-CXm9PEh6.cjs"
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"_DelegationContext-CCnk58PI.js": {
|
|
36
|
+
"file": "DelegationContext-CCnk58PI.js",
|
|
37
|
+
"name": "DelegationContext",
|
|
38
|
+
"imports": [
|
|
39
|
+
"_index-4IYT9u10.js",
|
|
40
|
+
"_UserContext-ZsTsf5Xe.js",
|
|
41
|
+
"_dateUtils-ayErBYbI.js"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"_HelmetContext-ChKPef74.js": {
|
|
45
|
+
"file": "HelmetContext-ChKPef74.js",
|
|
46
|
+
"name": "HelmetContext",
|
|
47
|
+
"imports": [
|
|
48
|
+
"_index-4IYT9u10.js",
|
|
49
|
+
"_Typography-C5KJzU5O.js"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"_HelmetContext-DDQ-Phg7.cjs": {
|
|
53
|
+
"file": "HelmetContext-DDQ-Phg7.cjs",
|
|
54
|
+
"name": "HelmetContext",
|
|
55
|
+
"imports": [
|
|
56
|
+
"_index-jmbq5h95.cjs",
|
|
57
|
+
"_Typography-Fo21SeyJ.cjs"
|
|
58
|
+
]
|
|
19
59
|
},
|
|
20
|
-
"
|
|
21
|
-
"file": "
|
|
22
|
-
"name": "
|
|
60
|
+
"_PrimaryButton-D7r0m8xi.js": {
|
|
61
|
+
"file": "PrimaryButton-D7r0m8xi.js",
|
|
62
|
+
"name": "PrimaryButton",
|
|
63
|
+
"imports": [
|
|
64
|
+
"_index-4IYT9u10.js",
|
|
65
|
+
"_dateUtils-ayErBYbI.js",
|
|
66
|
+
"_Typography-C5KJzU5O.js",
|
|
67
|
+
"_HelmetContext-ChKPef74.js"
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"_PrimaryButton-D91b3Dmv.cjs": {
|
|
71
|
+
"file": "PrimaryButton-D91b3Dmv.cjs",
|
|
72
|
+
"name": "PrimaryButton",
|
|
73
|
+
"imports": [
|
|
74
|
+
"_index-jmbq5h95.cjs",
|
|
75
|
+
"_dateUtils-CXm9PEh6.cjs",
|
|
76
|
+
"_Typography-Fo21SeyJ.cjs",
|
|
77
|
+
"_HelmetContext-DDQ-Phg7.cjs"
|
|
78
|
+
]
|
|
23
79
|
},
|
|
24
|
-
"
|
|
25
|
-
"file": "
|
|
26
|
-
"name": "
|
|
80
|
+
"_SimpleTooltip-B00uLuVM.cjs": {
|
|
81
|
+
"file": "SimpleTooltip-B00uLuVM.cjs",
|
|
82
|
+
"name": "SimpleTooltip",
|
|
83
|
+
"imports": [
|
|
84
|
+
"_index-jmbq5h95.cjs",
|
|
85
|
+
"_Typography-Fo21SeyJ.cjs"
|
|
86
|
+
]
|
|
27
87
|
},
|
|
28
|
-
"
|
|
29
|
-
"file": "
|
|
30
|
-
"name": "
|
|
88
|
+
"_SimpleTooltip-dwOOgecT.js": {
|
|
89
|
+
"file": "SimpleTooltip-dwOOgecT.js",
|
|
90
|
+
"name": "SimpleTooltip",
|
|
91
|
+
"imports": [
|
|
92
|
+
"_index-4IYT9u10.js",
|
|
93
|
+
"_Typography-C5KJzU5O.js"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"_Typography-C5KJzU5O.js": {
|
|
97
|
+
"file": "Typography-C5KJzU5O.js",
|
|
98
|
+
"name": "Typography",
|
|
99
|
+
"imports": [
|
|
100
|
+
"_index-4IYT9u10.js"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"_Typography-Fo21SeyJ.cjs": {
|
|
104
|
+
"file": "Typography-Fo21SeyJ.cjs",
|
|
105
|
+
"name": "Typography",
|
|
106
|
+
"imports": [
|
|
107
|
+
"_index-jmbq5h95.cjs"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"_UserContext-45ZxeQHB.cjs": {
|
|
111
|
+
"file": "UserContext-45ZxeQHB.cjs",
|
|
112
|
+
"name": "UserContext"
|
|
113
|
+
},
|
|
114
|
+
"_UserContext-ZsTsf5Xe.js": {
|
|
115
|
+
"file": "UserContext-ZsTsf5Xe.js",
|
|
116
|
+
"name": "UserContext"
|
|
117
|
+
},
|
|
118
|
+
"_dateUtils-CXm9PEh6.cjs": {
|
|
119
|
+
"file": "dateUtils-CXm9PEh6.cjs",
|
|
120
|
+
"name": "dateUtils"
|
|
121
|
+
},
|
|
122
|
+
"_dateUtils-ayErBYbI.js": {
|
|
123
|
+
"file": "dateUtils-ayErBYbI.js",
|
|
124
|
+
"name": "dateUtils"
|
|
125
|
+
},
|
|
126
|
+
"_index-4IYT9u10.js": {
|
|
127
|
+
"file": "index-4IYT9u10.js",
|
|
128
|
+
"name": "index"
|
|
129
|
+
},
|
|
130
|
+
"_index-jmbq5h95.cjs": {
|
|
131
|
+
"file": "index-jmbq5h95.cjs",
|
|
132
|
+
"name": "index"
|
|
133
|
+
},
|
|
134
|
+
"_localStorageUtils-BSATUi5m.cjs": {
|
|
135
|
+
"file": "localStorageUtils-BSATUi5m.cjs",
|
|
136
|
+
"name": "localStorageUtils",
|
|
137
|
+
"imports": [
|
|
138
|
+
"_dateUtils-CXm9PEh6.cjs"
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
"_localStorageUtils-DNgjNynk.js": {
|
|
142
|
+
"file": "localStorageUtils-DNgjNynk.js",
|
|
143
|
+
"name": "localStorageUtils",
|
|
144
|
+
"imports": [
|
|
145
|
+
"_dateUtils-ayErBYbI.js"
|
|
146
|
+
]
|
|
31
147
|
},
|
|
32
148
|
"_queryStorage-C8e71gxx.js": {
|
|
33
149
|
"file": "queryStorage-C8e71gxx.js",
|
|
@@ -45,34 +161,42 @@
|
|
|
45
161
|
"file": "useIsBrowserOnline-RAirIO4c.js",
|
|
46
162
|
"name": "useIsBrowserOnline"
|
|
47
163
|
},
|
|
48
|
-
"_useIsFormDirty-
|
|
49
|
-
"file": "useIsFormDirty-
|
|
164
|
+
"_useIsFormDirty-76y8Dca-.cjs": {
|
|
165
|
+
"file": "useIsFormDirty-76y8Dca-.cjs",
|
|
50
166
|
"name": "useIsFormDirty",
|
|
51
167
|
"imports": [
|
|
52
|
-
"
|
|
53
|
-
"
|
|
168
|
+
"_index-jmbq5h95.cjs",
|
|
169
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
170
|
+
"_dateUtils-CXm9PEh6.cjs",
|
|
171
|
+
"_queryStorage-Dk70bkj7.cjs",
|
|
172
|
+
"_DelegationContext-B1WXROG2.cjs"
|
|
54
173
|
]
|
|
55
174
|
},
|
|
56
|
-
"_useIsFormDirty-
|
|
57
|
-
"file": "useIsFormDirty-
|
|
175
|
+
"_useIsFormDirty-Ba5uhPH7.js": {
|
|
176
|
+
"file": "useIsFormDirty-Ba5uhPH7.js",
|
|
58
177
|
"name": "useIsFormDirty",
|
|
59
178
|
"imports": [
|
|
60
|
-
"
|
|
61
|
-
"
|
|
179
|
+
"_index-4IYT9u10.js",
|
|
180
|
+
"_UserContext-ZsTsf5Xe.js",
|
|
181
|
+
"_dateUtils-ayErBYbI.js",
|
|
182
|
+
"_queryStorage-C8e71gxx.js",
|
|
183
|
+
"_DelegationContext-CCnk58PI.js"
|
|
62
184
|
]
|
|
63
185
|
},
|
|
64
|
-
"
|
|
65
|
-
"file": "
|
|
66
|
-
"name": "
|
|
186
|
+
"_useWindowSize-7W91GsJQ.js": {
|
|
187
|
+
"file": "useWindowSize-7W91GsJQ.js",
|
|
188
|
+
"name": "useWindowSize",
|
|
67
189
|
"imports": [
|
|
68
|
-
"
|
|
190
|
+
"_index-4IYT9u10.js",
|
|
191
|
+
"_UserContext-ZsTsf5Xe.js"
|
|
69
192
|
]
|
|
70
193
|
},
|
|
71
|
-
"
|
|
72
|
-
"file": "
|
|
73
|
-
"name": "
|
|
194
|
+
"_useWindowSize-CLoDaEYh.cjs": {
|
|
195
|
+
"file": "useWindowSize-CLoDaEYh.cjs",
|
|
196
|
+
"name": "useWindowSize",
|
|
74
197
|
"imports": [
|
|
75
|
-
"
|
|
198
|
+
"_index-jmbq5h95.cjs",
|
|
199
|
+
"_UserContext-45ZxeQHB.cjs"
|
|
76
200
|
]
|
|
77
201
|
},
|
|
78
202
|
"src/contexts/index.ts": {
|
|
@@ -81,9 +205,13 @@
|
|
|
81
205
|
"src": "src/contexts/index.ts",
|
|
82
206
|
"isEntry": true,
|
|
83
207
|
"imports": [
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
208
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
209
|
+
"_index-jmbq5h95.cjs",
|
|
210
|
+
"_DelegationContext-B1WXROG2.cjs",
|
|
211
|
+
"_Typography-Fo21SeyJ.cjs",
|
|
212
|
+
"_PrimaryButton-D91b3Dmv.cjs",
|
|
213
|
+
"_dateUtils-CXm9PEh6.cjs",
|
|
214
|
+
"_HelmetContext-DDQ-Phg7.cjs",
|
|
87
215
|
"_useIsBrowserOnline-CREGrf2l.cjs"
|
|
88
216
|
]
|
|
89
217
|
},
|
|
@@ -93,9 +221,10 @@
|
|
|
93
221
|
"src": "src/hooks/index.ts",
|
|
94
222
|
"isEntry": true,
|
|
95
223
|
"imports": [
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
224
|
+
"_DelegationContext-B1WXROG2.cjs",
|
|
225
|
+
"_useIsFormDirty-76y8Dca-.cjs",
|
|
226
|
+
"_useWindowSize-CLoDaEYh.cjs",
|
|
227
|
+
"_index-jmbq5h95.cjs",
|
|
99
228
|
"_useIsBrowserOnline-CREGrf2l.cjs"
|
|
100
229
|
]
|
|
101
230
|
},
|
|
@@ -105,7 +234,11 @@
|
|
|
105
234
|
"src": "src/layout/index.ts",
|
|
106
235
|
"isEntry": true,
|
|
107
236
|
"imports": [
|
|
108
|
-
"
|
|
237
|
+
"_index-jmbq5h95.cjs",
|
|
238
|
+
"_useWindowSize-CLoDaEYh.cjs",
|
|
239
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
240
|
+
"_Alert-BApdinGX.cjs",
|
|
241
|
+
"_SimpleTooltip-B00uLuVM.cjs"
|
|
109
242
|
]
|
|
110
243
|
},
|
|
111
244
|
"src/main.ts": {
|
|
@@ -114,11 +247,18 @@
|
|
|
114
247
|
"src": "src/main.ts",
|
|
115
248
|
"isEntry": true,
|
|
116
249
|
"imports": [
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
250
|
+
"_PrimaryButton-D91b3Dmv.cjs",
|
|
251
|
+
"_index-jmbq5h95.cjs",
|
|
252
|
+
"_UserContext-45ZxeQHB.cjs",
|
|
253
|
+
"_useWindowSize-CLoDaEYh.cjs",
|
|
254
|
+
"_Typography-Fo21SeyJ.cjs",
|
|
255
|
+
"_SimpleTooltip-B00uLuVM.cjs",
|
|
256
|
+
"_Alert-BApdinGX.cjs",
|
|
257
|
+
"_dateUtils-CXm9PEh6.cjs",
|
|
258
|
+
"_localStorageUtils-BSATUi5m.cjs",
|
|
259
|
+
"_useIsFormDirty-76y8Dca-.cjs",
|
|
260
|
+
"_DelegationContext-B1WXROG2.cjs",
|
|
261
|
+
"_HelmetContext-DDQ-Phg7.cjs"
|
|
122
262
|
]
|
|
123
263
|
},
|
|
124
264
|
"src/utils/index.ts": {
|
|
@@ -127,8 +267,9 @@
|
|
|
127
267
|
"src": "src/utils/index.ts",
|
|
128
268
|
"isEntry": true,
|
|
129
269
|
"imports": [
|
|
130
|
-
"
|
|
131
|
-
"
|
|
270
|
+
"_dateUtils-CXm9PEh6.cjs",
|
|
271
|
+
"_SimpleTooltip-B00uLuVM.cjs",
|
|
272
|
+
"_localStorageUtils-BSATUi5m.cjs",
|
|
132
273
|
"_queryStorage-Dk70bkj7.cjs"
|
|
133
274
|
]
|
|
134
275
|
},
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const I=require("./UserContext-45ZxeQHB.cjs"),u=require("react/jsx-runtime"),P=require("./index-jmbq5h95.cjs"),J=require("./HelmetContext-DDQ-Phg7.cjs"),oe=require("./useWindowSize-CLoDaEYh.cjs"),H=require("./Typography-Fo21SeyJ.cjs"),D=require("react"),pe=require("./SimpleTooltip-B00uLuVM.cjs");function be(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const L=be(D),re=J.divWithClassName("h4");re.displayName="DivStyledAsH4";const ae=L.forwardRef(({className:t,bsPrefix:e,as:n=re,...i},a)=>(e=H.useBootstrapPrefix(e,"alert-heading"),u.jsx(n,{ref:a,className:P.classNames(t,e),...i})));ae.displayName="AlertHeading";const ge=["as","disabled"];function xe(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function we(t){return!t||t.trim()==="#"}function Q({tagName:t,disabled:e,href:n,target:i,rel:a,role:f,onClick:h,tabIndex:p=0,type:b}){t||(n!=null||i!=null||a!=null?t="a":t="button");const w={tagName:t};if(t==="button")return[{type:b||"button",disabled:e},w];const o=s=>{if((e||t==="a"&&we(n))&&s.preventDefault(),e){s.stopPropagation();return}h==null||h(s)},r=s=>{s.key===" "&&(s.preventDefault(),o(s))};return t==="a"&&(n||(n="#"),e&&(n=void 0)),[{role:f??"button",disabled:void 0,tabIndex:e?void 0:p,href:n,target:t==="a"?i:void 0,"aria-disabled":e||void 0,rel:t==="a"?a:void 0,onClick:o,onKeyDown:r},w]}const ce=L.forwardRef((t,e)=>{let{as:n,disabled:i}=t,a=xe(t,ge);const[f,{tagName:h}]=Q(Object.assign({tagName:n,disabled:i},a));return u.jsx(h,Object.assign({},a,f,{ref:e}))});ce.displayName="Button";const Se=["onKeyDown"];function ve(t,e){if(t==null)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)>=0)continue;n[i]=t[i]}return n}function Oe(t){return!t||t.trim()==="#"}const ee=L.forwardRef((t,e)=>{let{onKeyDown:n}=t,i=ve(t,Se);const[a]=Q(Object.assign({tagName:"a"},i)),f=H.useEventCallback(h=>{a.onKeyDown(h),n==null||n(h)});return Oe(i.href)||i.role==="button"?u.jsx("a",Object.assign({ref:e},i,a,{onKeyDown:f})):u.jsx("a",Object.assign({ref:e},i,{onKeyDown:n}))});ee.displayName="Anchor";const le=L.forwardRef(({className:t,bsPrefix:e,as:n=ee,...i},a)=>(e=H.useBootstrapPrefix(e,"alert-link"),u.jsx(n,{ref:a,className:P.classNames(t,e),...i})));le.displayName="AlertLink";const ue=L.forwardRef((t,e)=>{const{bsPrefix:n,show:i=!0,closeLabel:a="Close alert",closeVariant:f,className:h,children:p,variant:b="primary",onClose:w,dismissible:o,transition:r=H.Fade,...s}=pe.useUncontrolled(t,{show:"onClose"}),c=H.useBootstrapPrefix(n,"alert"),d=H.useEventCallback$1(E=>{w&&w(!1,E)}),m=r===!0?H.Fade:r,l=u.jsxs("div",{role:"alert",...m?void 0:s,ref:e,className:P.classNames(h,c,b&&`${c}-${b}`,o&&`${c}-dismissible`),children:[o&&u.jsx(J.CloseButton,{onClick:d,"aria-label":a,variant:f}),p]});return m?u.jsx(m,{unmountOnExit:!0,...s,ref:void 0,in:i,children:l}):i?l:null});ue.displayName="Alert";const je=Object.assign(ue,{Link:le,Heading:ae});function Ce(t){return I.GenIcon({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M238.15,78.54,177.46,17.86a20,20,0,0,0-28.3,0L97.2,70c-12.43-3.33-36.68-5.72-61.74,14.5a20,20,0,0,0-1.6,29.73l45.46,45.47-39.8,39.8a12,12,0,0,0,17,17l39.8-39.81,45.47,45.46A20,20,0,0,0,155.91,228c.46,0,.93,0,1.4-.05A20,20,0,0,0,171.87,220c4.69-6.23,11-16.13,14.44-28s3.45-22.88.16-33.4l51.7-51.87A20,20,0,0,0,238.15,78.54Zm-74.26,68.79a12,12,0,0,0-2.23,13.84c3.43,6.86,6.9,21-6.28,40.65L54.08,100.53c21.09-14.59,39.53-6.64,41-6a11.67,11.67,0,0,0,13.81-2.29l54.43-54.61,55,55Z"},child:[]}]})(t)}function ye(t){return I.GenIcon({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07L60,71A76,76,0,0,0,35.46,84.51a20,20,0,0,0-1.6,29.73l45.46,45.47-39.8,39.8a12,12,0,0,0,17,17l39.8-39.81,45.47,45.46A20,20,0,0,0,155.9,228c.47,0,.94,0,1.41-.05A20,20,0,0,0,171.87,220a97.47,97.47,0,0,0,9.54-15.46l17.72,19.49a12,12,0,1,0,17.76-16.14Zm98.49,169.88L54.08,100.52C62,95,70.31,92.12,78.91,91.83l84.51,93A62,62,0,0,1,155.37,201.81Zm82.78-95-39,39.11a12,12,0,1,1-17-16.95l36.19-36.3-55-55L130.59,70.5a12,12,0,0,1-17-16.94l35.57-35.69a20,20,0,0,1,28.3,0l60.69,60.68A20,20,0,0,1,238.15,106.83Z"},child:[]}]})(t)}function Me(t){return I.GenIcon({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M200,24H72A16,16,0,0,0,56,40V64H40A16,16,0,0,0,24,80v96a16,16,0,0,0,16,16H56v24a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24ZM72,160a8,8,0,0,1-6.15-13.12L81.59,128,65.85,109.12a8,8,0,0,1,12.3-10.24L92,115.5l13.85-16.62a8,8,0,1,1,12.3,10.24L102.41,128l15.74,18.88a8,8,0,0,1-12.3,10.24L92,140.5,78.15,157.12A8,8,0,0,1,72,160Zm56,56H72V192h56Zm0-152H72V40h56Zm72,152H144V192a16,16,0,0,0,16-16v-8h40Zm0-64H160V104h40Zm0-64H160V80a16,16,0,0,0-16-16V40h56Z"},child:[]}]})(t)}function Pe(t){return I.GenIcon({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M200,24H72A16,16,0,0,0,56,40V64H40A16,16,0,0,0,24,80v96a16,16,0,0,0,16,16H56v24a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V40A16,16,0,0,0,200,24ZM68.24,153.94l-12-48a8,8,0,1,1,15.52-3.88l6.76,27,6.32-12.66a8,8,0,0,1,14.32,0l6.32,12.66,6.76-27a8,8,0,0,1,15.52,3.88l-12,48a8,8,0,0,1-6.89,6,8.46,8.46,0,0,1-.87.05,8,8,0,0,1-7.16-4.42L92,137.89l-8.84,17.69a8,8,0,0,1-14.92-1.64ZM200,216H72V192h72a16,16,0,0,0,16-16v-8h40Zm0-64H160V104h40Zm0-64H160V80a16,16,0,0,0-16-16H72V40H200Z"},child:[]}]})(t)}const Ee="Left",Te="Right",Ae="Up",De="Down",V={delta:10,preventScrollOnSwipe:!1,rotationAngle:0,trackMouse:!1,trackTouch:!0,swipeDuration:1/0,touchEventOptions:{passive:!0}},Y={first:!0,initial:[0,0],start:0,swiping:!1,xy:[0,0]},ne="mousemove",ie="mouseup",He="touchend",Le="touchmove",_e="touchstart";function Ne(t,e,n,i){return t>e?n>0?Te:Ee:i>0?De:Ae}function se(t,e){if(e===0)return t;const n=Math.PI/180*e,i=t[0]*Math.cos(n)+t[1]*Math.sin(n),a=t[1]*Math.cos(n)-t[0]*Math.sin(n);return[i,a]}function Re(t,e){const n=o=>{const r="touches"in o;r&&o.touches.length>1||t((s,c)=>{c.trackMouse&&!r&&(document.addEventListener(ne,i),document.addEventListener(ie,h));const{clientX:d,clientY:m}=r?o.touches[0]:o,l=se([d,m],c.rotationAngle);return c.onTouchStartOrOnMouseDown&&c.onTouchStartOrOnMouseDown({event:o}),Object.assign(Object.assign(Object.assign({},s),Y),{initial:l.slice(),xy:l,start:o.timeStamp||0})})},i=o=>{t((r,s)=>{const c="touches"in o;if(c&&o.touches.length>1)return r;if(o.timeStamp-r.start>s.swipeDuration)return r.swiping?Object.assign(Object.assign({},r),{swiping:!1}):r;const{clientX:d,clientY:m}=c?o.touches[0]:o,[l,E]=se([d,m],s.rotationAngle),S=l-r.xy[0],g=E-r.xy[1],v=Math.abs(S),x=Math.abs(g),O=(o.timeStamp||0)-r.start,y=Math.sqrt(v*v+x*x)/(O||1),M=[S/(O||1),g/(O||1)],j=Ne(v,x,S,g),C=typeof s.delta=="number"?s.delta:s.delta[j.toLowerCase()]||V.delta;if(v<C&&x<C&&!r.swiping)return r;const T={absX:v,absY:x,deltaX:S,deltaY:g,dir:j,event:o,first:r.first,initial:r.initial,velocity:y,vxvy:M};T.first&&s.onSwipeStart&&s.onSwipeStart(T),s.onSwiping&&s.onSwiping(T);let _=!1;return(s.onSwiping||s.onSwiped||s[`onSwiped${j}`])&&(_=!0),_&&s.preventScrollOnSwipe&&s.trackTouch&&o.cancelable&&o.preventDefault(),Object.assign(Object.assign({},r),{first:!1,eventData:T,swiping:!0})})},a=o=>{t((r,s)=>{let c;if(r.swiping&&r.eventData){if(o.timeStamp-r.start<s.swipeDuration){c=Object.assign(Object.assign({},r.eventData),{event:o}),s.onSwiped&&s.onSwiped(c);const d=s[`onSwiped${c.dir}`];d&&d(c)}}else s.onTap&&s.onTap({event:o});return s.onTouchEndOrOnMouseUp&&s.onTouchEndOrOnMouseUp({event:o}),Object.assign(Object.assign(Object.assign({},r),Y),{eventData:c})})},f=()=>{document.removeEventListener(ne,i),document.removeEventListener(ie,h)},h=o=>{f(),a(o)},p=(o,r)=>{let s=()=>{};if(o&&o.addEventListener){const c=Object.assign(Object.assign({},V.touchEventOptions),r.touchEventOptions),d=[[_e,n,c],[Le,i,Object.assign(Object.assign({},c),r.preventScrollOnSwipe?{passive:!1}:{})],[He,a,c]];d.forEach(([m,l,E])=>o.addEventListener(m,l,E)),s=()=>d.forEach(([m,l])=>o.removeEventListener(m,l))}return s},w={ref:o=>{o!==null&&t((r,s)=>{if(r.el===o)return r;const c={};return r.el&&r.el!==o&&r.cleanUpTouch&&(r.cleanUpTouch(),c.cleanUpTouch=void 0),s.trackTouch&&o&&(c.cleanUpTouch=p(o,s)),Object.assign(Object.assign(Object.assign({},r),{el:o}),c)})}};return e.trackMouse&&(w.onMouseDown=n),[w,p]}function Be(t,e,n,i){return!e.trackTouch||!t.el?(t.cleanUpTouch&&t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:void 0})):t.cleanUpTouch?e.preventScrollOnSwipe!==n.preventScrollOnSwipe||e.touchEventOptions.passive!==n.touchEventOptions.passive?(t.cleanUpTouch(),Object.assign(Object.assign({},t),{cleanUpTouch:i(t.el,e)})):t:Object.assign(Object.assign({},t),{cleanUpTouch:i(t.el,e)})}function te(t){const{trackMouse:e}=t,n=L.useRef(Object.assign({},Y)),i=L.useRef(Object.assign({},V)),a=L.useRef(Object.assign({},i.current));a.current=Object.assign({},i.current),i.current=Object.assign(Object.assign({},V),t);let f;for(f in V)i.current[f]===void 0&&(i.current[f]=V[f]);const[h,p]=L.useMemo(()=>Re(b=>n.current=b(n.current,i.current),{trackMouse:e}),[e]);return n.current=Be(n.current,i.current,a.current,p),h}const ke="_side-content-bar_16o0s_1",$e="_mobile_16o0s_12",Ue="_expanded_16o0s_20",ze="_content-container_16o0s_23",Ze="_resizer_16o0s_31",Ve="_expander_16o0s_46",Ie="_icon_16o0s_65",A={sideContentBar:ke,mobile:$e,expanded:Ue,contentContainer:ze,resizer:Ze,expander:Ve,icon:Ie},de=t=>{const e=P.compilerRuntimeExports.c(34),{width:n,children:i,isExpandedOnMobileState:a,resizeable:f,onResize:h}=t,[p,b]=a,w=f===void 0?!0:f,{ProjectIconComponent:o}=D.useContext(I.LuminusComponentsContext),{isMobile:r}=oe.useWindowSize();let s;e[0]!==b?(s=C=>{C.velocity>.8&&b(!1)},e[0]=b,e[1]=s):s=e[1];let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c={delta:100},e[2]=c):c=e[2];let d;e[3]!==s?(d={onSwipedRight:s,...c},e[3]=s,e[4]=d):d=e[4];const m=te(d),[l,E]=D.useState(null);let S;e[5]!==p||e[6]!==r?(S=P.classNames("luminus-side-content-bar shadow",A.sideContentBar,{[A.mobile]:r},{[A.expanded]:p}),e[5]=p,e[6]=r,e[7]=S):S=e[7];const g=`${n}px`;let v;e[8]!==g?(v={width:g},e[8]=g,e[9]=v):v=e[9];let x;e[10]!==o||e[11]!==(l==null?void 0:l.startX)||e[12]!==(l==null?void 0:l.widthStart)||e[13]!==r||e[14]!==h||e[15]!==w||e[16]!==n?(x=w&&!r?u.jsx("div",{role:"button",className:P.classNames(A.resizer,"luminus-side-content-bar-resizer","shadow"),draggable:!0,onDragStart:C=>E({startX:C.clientX,widthStart:n}),onDrag:C=>h(((l==null?void 0:l.widthStart)??0)+(((l==null?void 0:l.startX)??0)-C.clientX)),onDragEnd:()=>E(null),children:u.jsx(o,{className:A.icon,icon:"resizer-horizontal"})}):null,e[10]=o,e[11]=l==null?void 0:l.startX,e[12]=l==null?void 0:l.widthStart,e[13]=r,e[14]=h,e[15]=w,e[16]=n,e[17]=x):x=e[17];let O;e[18]!==i?(O=u.jsx("div",{className:A.contentContainer,children:i}),e[18]=i,e[19]=O):O=e[19];let y;e[20]!==m||e[21]!==O||e[22]!==S||e[23]!==v||e[24]!==x?(y=u.jsxs("section",{className:S,style:v,...m,children:[x,O]}),e[20]=m,e[21]=O,e[22]=S,e[23]=v,e[24]=x,e[25]=y):y=e[25];let M;e[26]!==o||e[27]!==p||e[28]!==r||e[29]!==b?(M=r?u.jsx("div",{role:"button",onClick:()=>b(!p),className:P.classNames(A.expander,{[A.expanded]:p},"luminus-side-content-bar-expander","shadow"),children:u.jsx(o,{className:A.icon,icon:"chevron-left"})}):null,e[26]=o,e[27]=p,e[28]=r,e[29]=b,e[30]=M):M=e[30];let j;return e[31]!==y||e[32]!==M?(j=u.jsxs(u.Fragment,{children:[y,M]}),e[31]=y,e[32]=M,e[33]=j):j=e[33],j},We=t=>{const e=P.compilerRuntimeExports.c(4),{title:n}=t;let i;e[0]!==n?(i=typeof n=="string"?u.jsx(H.Typography,{variant:"h3",children:n}):n,e[0]=n,e[1]=i):i=e[1];let a;return e[2]!==i?(a=u.jsx("div",{className:"mb-3",children:i}),e[2]=i,e[3]=a):a=e[3],a},Xe="_full-screen-container_1rm4r_1",fe={fullScreenContainer:Xe},Fe=P.classNames("overflow-hidden luminus-full-screen-container",fe.fullScreenContainer),qe="container-fluid",Ke=t=>{const e=P.compilerRuntimeExports.c(45),{title:n,children:i,sideContent:a,sideContentWidth:f,sideContentResizeable:h,noPadding:p,className:b,variant:w,helmet:o,unavailableOnMobile:r}=t,s=f===void 0?250:f,c=h===void 0?!0:h,d=w===void 0?"main":w,{addHelmet:m,removeHelmet:l}=D.useContext(J.HelmetContext),{texts:E}=D.useContext(I.LuminusComponentsContext),{container:S}=E,[g,v]=D.useState(s),[x,O]=D.useState(!1);let y;e:switch(d){case"fullScreen":{y=Fe;break e}case"main":{y=qe;break e}default:throw new Error(`PageContainer got incorrect variant type: ${d}`)}const M=y;let j,C;e[0]!==m||e[1]!==o||e[2]!==l||e[3]!==n?(j=()=>(o?m(o):typeof n=="string"&&n&&m(n),()=>l()),C=[o,m,l,n],e[0]=m,e[1]=o,e[2]=l,e[3]=n,e[4]=j,e[5]=C):(j=e[4],C=e[5]),D.useEffect(j,C);let T;e[6]===Symbol.for("react.memo_cache_sentinel")?(T={onSwipedLeft:q=>{q.velocity>.8&&O(!0)},delta:100},e[6]=T):T=e[6];const _=te(T),{isMobile:me}=oe.useWindowSize(),N=me&&r;let W,X;e[7]!==s?(X=()=>{v(s)},W=[s],e[7]=s,e[8]=W,e[9]=X):(W=e[8],X=e[9]),D.useEffect(X,W);const K=p?"p-0":"p-3";let R;e[10]!==b||e[11]!==K||e[12]!==M?(R=P.classNames(M,K,b),e[10]=b,e[11]=K,e[12]=M,e[13]=R):R=e[13];let B;e[14]!==a||e[15]!==g||e[16]!==d?(B=d==="fullScreen"?{width:a?`calc(100% - ${g}px)`:"100%"}:void 0,e[14]=a,e[15]=g,e[16]=d,e[17]=B):B=e[17];const G=d==="fullScreen"?fe.fullScreenContainer:void 0;let k;e[18]!==a||e[19]!==g||e[20]!==d?(k=d==="main"?{paddingRight:a?`${g}px`:void 0}:{height:"100%",width:"100%"},e[18]=a,e[19]=g,e[20]=d,e[21]=k):k=e[21];let $;e[22]!==N||e[23]!==i||e[24]!==S||e[25]!==n?($=N?u.jsx(he,{variant:"warning",children:S.unavailableOnMobile}):u.jsxs(u.Fragment,{children:[n?u.jsx(We,{title:n}):null,i]}),e[22]=N,e[23]=i,e[24]=S,e[25]=n,e[26]=$):$=e[26];let U;e[27]!==G||e[28]!==k||e[29]!==$?(U=u.jsx("div",{className:G,style:k,children:$}),e[27]=G,e[28]=k,e[29]=$,e[30]=U):U=e[30];let z;e[31]!==_||e[32]!==R||e[33]!==B||e[34]!==U?(z=u.jsx("div",{className:R,style:B,..._,children:U}),e[31]=_,e[32]=R,e[33]=B,e[34]=U,e[35]=z):z=e[35];let Z;e[36]!==N||e[37]!==x||e[38]!==a||e[39]!==c||e[40]!==g?(Z=a&&!N?u.jsx(de,{width:g,isExpandedOnMobileState:[x,O],resizeable:c,onResize:q=>c?v(q):{},children:a}):null,e[36]=N,e[37]=x,e[38]=a,e[39]=c,e[40]=g,e[41]=Z):Z=e[41];let F;return e[42]!==z||e[43]!==Z?(F=u.jsxs(u.Fragment,{children:[z,Z]}),e[42]=z,e[43]=Z,e[44]=F):F=e[44],F},he=t=>{const{variant:e,children:n,className:i,size:a="md",typographyVariant:f=a==="sm"?"body2":"body",...h}={...t};return u.jsx(je,{variant:e,className:`text-center ${a==="sm"?"p-1":a==="md"?"p-3":"p-4"} bg-${e} bg-opacity-10 border-none ${i??""}`,...h,children:u.jsx(H.Typography,{variant:f,children:n})})};exports.Alert=he;exports.Anchor=ee;exports.Button=ce;exports.PageContainer=Ke;exports.PiMicrosoftExcelLogoFill=Me;exports.PiMicrosoftWordLogoFill=Pe;exports.PiPushPinBold=Ce;exports.PiPushPinSlashBold=ye;exports.SideContentBar=de;exports.useButtonProps=Q;exports.useSwipeable=te;
|