livevegas-ui-kit 1.0.311 → 1.0.312
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.
|
@@ -1807,7 +1807,7 @@ var w = /* @__PURE__ */ function(e) {
|
|
|
1807
1807
|
_();
|
|
1808
1808
|
}, [t, e]);
|
|
1809
1809
|
let _ = () => {
|
|
1810
|
-
e >= 10 ? (t < 3 ? (i(m.slice(0, 3)), l(["...", e])) : i([1, "..."]), t > e - 3 ? l(m.slice(e - 3)) : l(["...", e]), t >= 3 && t <= e - 3 ? f([t]) : f([])) : f([...m]);
|
|
1810
|
+
e >= 10 ? (t < 3 ? (i(m.slice(0, 3)), l(["...", e])) : i([1, "..."]), t > e - 3 ? l(m.slice(e - 3)) : l(["...", e]), t >= 3 && t <= e - 3 ? f([t]) : f([])) : (i([]), l([]), f([...m]));
|
|
1811
1811
|
}, v = (r, i) => {
|
|
1812
1812
|
if (r !== t) if (p(), typeof r == "string") {
|
|
1813
1813
|
if (i === 4 || i === 5) {
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
letter-spacing: 0%;
|
|
255
255
|
color: ${({$isActive:e})=>e?`#111111`:`#ffffff`};
|
|
256
256
|
}
|
|
257
|
-
`,Ge=({count:e,active:t,setActive:n})=>{let[a,o]=(0,i.useState)([]),[s,c]=(0,i.useState)([]),[l,u]=(0,i.useState)([]),{clickSound:d}=U({effectsVolume:50}),f=Array.from({length:e},(e,t)=>t+1),p=()=>{t!==e&&(d(),n(t+1))},m=()=>{t!==1&&(d(),n(t-1))};(0,i.useEffect)(()=>{h()},[t,e]);let h=()=>{e>=10?(t<3?(o(f.slice(0,3)),c([`...`,e])):o([1,`...`]),t>e-3?c(f.slice(e-3)):c([`...`,e]),t>=3&&t<=e-3?u([t]):u([])):u([...f])},g=(r,i)=>{if(r!==t)if(d(),typeof r==`string`){if(i===4||i===5){let r=f.slice(t,e);n(r[(r.length/2).toFixed()-1])}else if(i===1){let e=f.slice(0,t);n(e[(e.length/2).toFixed()-1])}}else n(r)};return(0,r.jsx)(Ue,{children:(0,r.jsxs)(`div`,{className:`wrapper`,children:[(0,r.jsx)(j,{height:26,isHoverActive:!1,width:26,onClick:m,icon:(0,r.jsx)(H,{height:7,width:12,position:`left`})}),[...a,...l,...s].map((e,n)=>(0,r.jsx)(We,{$isActive:t===e,children:(0,r.jsx)(j,{height:26,width:26,onClick:()=>g(e,n),isHoverActive:!1,text:String(e),isActiveBlue:t===e,textStyle:`p`},n)},n)),(0,r.jsx)(j,{height:26,width:26,onClick:p,isHoverActive:!1,icon:(0,r.jsx)(H,{height:7,width:12,position:`right`})})]})})},Ke=n.styled.div`
|
|
257
|
+
`,Ge=({count:e,active:t,setActive:n})=>{let[a,o]=(0,i.useState)([]),[s,c]=(0,i.useState)([]),[l,u]=(0,i.useState)([]),{clickSound:d}=U({effectsVolume:50}),f=Array.from({length:e},(e,t)=>t+1),p=()=>{t!==e&&(d(),n(t+1))},m=()=>{t!==1&&(d(),n(t-1))};(0,i.useEffect)(()=>{h()},[t,e]);let h=()=>{e>=10?(t<3?(o(f.slice(0,3)),c([`...`,e])):o([1,`...`]),t>e-3?c(f.slice(e-3)):c([`...`,e]),t>=3&&t<=e-3?u([t]):u([])):(o([]),c([]),u([...f]))},g=(r,i)=>{if(r!==t)if(d(),typeof r==`string`){if(i===4||i===5){let r=f.slice(t,e);n(r[(r.length/2).toFixed()-1])}else if(i===1){let e=f.slice(0,t);n(e[(e.length/2).toFixed()-1])}}else n(r)};return(0,r.jsx)(Ue,{children:(0,r.jsxs)(`div`,{className:`wrapper`,children:[(0,r.jsx)(j,{height:26,isHoverActive:!1,width:26,onClick:m,icon:(0,r.jsx)(H,{height:7,width:12,position:`left`})}),[...a,...l,...s].map((e,n)=>(0,r.jsx)(We,{$isActive:t===e,children:(0,r.jsx)(j,{height:26,width:26,onClick:()=>g(e,n),isHoverActive:!1,text:String(e),isActiveBlue:t===e,textStyle:`p`},n)},n)),(0,r.jsx)(j,{height:26,width:26,onClick:p,isHoverActive:!1,icon:(0,r.jsx)(H,{height:7,width:12,position:`right`})})]})})},Ke=n.styled.div`
|
|
258
258
|
max-width: 100%;
|
|
259
259
|
height: 100%;
|
|
260
260
|
overflow: auto;
|