jamespot-react-core 1.1.92 → 1.1.93
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.internal.md +20 -0
- package/build/app.bundle.js +1 -1
- package/build/app.bundle.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
## Install order
|
|
2
|
+
|
|
3
|
+
```
|
|
4
|
+
If you've not already done it, have a look at jamespot-user-api readMe
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
https://github.com/Jamespot/jamespot-user-api/blob/develop/README-internal.md
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
npm ci
|
|
13
|
+
npm run build
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
To run a local server (run on http://localhost:3030)
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
npm run local
|
|
20
|
+
```
|
package/build/app.bundle.js
CHANGED
|
@@ -2076,7 +2076,7 @@ var ReactCore;(()=>{var e,t,n,r,o={855:e=>{function t(e){e=e||{},this.ms=e.min||
|
|
|
2076
2076
|
width: 100%;
|
|
2077
2077
|
${e=>void 0!==e.top?`top: ${e.top}px`:"top: 0px"};
|
|
2078
2078
|
transition: top 1s;
|
|
2079
|
-
`;function zz(e){const t=O.useRef(null),n=O.useRef(null),[r,o]=O.useState(void 0),[i,a]=O.useState(void 0),s=LA();return O.useLayoutEffect((()=>{var e;a(null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.getBoundingClientRect().height)}),[a,
|
|
2079
|
+
`;function zz(e){const t=O.useRef(null),n=O.useRef(null),[r,o]=O.useState(void 0),[i,a]=O.useState(void 0),[s,l]=O.useState(void 0),u=LA();return O.useLayoutEffect((()=>{var e;a(null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.getBoundingClientRect().height)}),[a,u,e.activeStep]),O.useLayoutEffect((()=>{const t=window.setTimeout((()=>{l(void 0!==r&&void 0!==i?-(r-i)*e.activeStep/(e.stepNumber-1):void 0)}),25);return()=>{clearTimeout(t)}}),[i,r,e.activeStep,e.stepNumber]),O.createElement(Nz,{ref:n},O.createElement(Lz,{ref:t,src:e.src,alt:e.alt,top:s,onLoad:()=>{var e;return o(null===(e=null==t?void 0:t.current)||void 0===e?void 0:e.getBoundingClientRect().height)}}))}const $z=(e,t)=>{const n={folder:{title:t.formatMessage({id:"GLOBAL_File_Bank"})}},r=[];return e.map((e=>{void 0!==n[e]&&r.push({key:String(e),label:n[e].title})})),r},Vz=({views:e,values:t,onConfirm:n})=>{const r=Ba(),[o,i]=O.useState(e[0]||""),[a,s]=O.useState([]);return(0,O.useEffect)((()=>{s(t)}),[]),O.createElement(O.Fragment,null,O.createElement(Sk,{direction:"horizontal",entries:$z(e,r),activeItem:o,callback:e=>i(e)}),O.createElement(Dk,{active:"folder"===o},O.createElement(DD,{preSelect:a,onSelect:e=>(e=>{s(CD(a,e))})(e)})),O.createElement(dE,{type:"button",color:"primary",onClick:()=>{n(a)}},O.createElement(_s,{id:"GLOBAL_Confirm"})))},Uz=Du.div`
|
|
2080
2080
|
display: flex;
|
|
2081
2081
|
align-items: center;
|
|
2082
2082
|
min-height: 40px;
|