@dcl/builder-site 7.4.0 → 7.4.1
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/assets/{Back-CcOe2OPR.js → Back-By-4R-U1.js} +1 -1
- package/assets/{CollectionProvider.container-DxJ0CuEV.js → CollectionProvider.container-B55XxdNh.js} +1 -1
- package/assets/{CollectionStatus.container-LhIAY4M5.js → CollectionStatus.container-Bg3t2d-h.js} +1 -1
- package/assets/{ConfirmDelete-BQ__uX_D.js → ConfirmDelete-qdY8nP-O.js} +1 -1
- package/assets/{FileSaver.min-CEXB1dl2.js → FileSaver.min-6d0fq5Zo.js} +1 -1
- package/assets/{ItemProvider.container-ww0oFR41.js → ItemProvider.container-BRoayas-.js} +1 -1
- package/assets/{JumpIn.container-CXf3AQ6H.js → JumpIn.container-DH7vWxVG.js} +1 -1
- package/assets/{LandAction-C18UJMxQ.js → LandAction-VPDjrQkE.js} +1 -1
- package/assets/{LandProviderPage-Bri2NXzA.js → LandProviderPage-D8_roYWH.js} +1 -1
- package/assets/{LoggedInDetailPage.container-CP5QlkqP.js → LoggedInDetailPage.container-D9YzD5-u.js} +1 -1
- package/assets/{Navigation-CUd2LsLk.css → Navigation-CQYgeT0w.css} +1 -1
- package/assets/{Navigation.container-Caaq2HYh.js → Navigation.container-DNCp40XB.js} +1 -1
- package/assets/{NotFound-D8kFfF63.js → NotFound-CS8G9Pe7.js} +1 -1
- package/assets/{OptionsDropdown-CHYbz4e5.js → OptionsDropdown-C_I20F2W.js} +1 -1
- package/assets/{RentalPeriod-Cjj0jvtz.js → RentalPeriod-B_tZDHSz.js} +1 -1
- package/assets/{SDKTag-cIoqxMfH.js → SDKTag-DOrmnsZR.js} +1 -1
- package/assets/{SceneStats.container-DyOrKEMS.js → SceneStats.container-D6Wzk9ps.js} +1 -1
- package/assets/{SignInRequired-CqwdQCfU.js → SignInRequired-oPiM_HvB.js} +1 -1
- package/assets/{ThirdPartyKindBadge-B4U76UoB.js → ThirdPartyKindBadge-1EbBCupx.js} +1 -1
- package/assets/{dataReader-BuX1b3Ny.js → dataReader-DZpAk_6V.js} +1 -1
- package/assets/{date-B02RhrCV.js → date-B65jEeMH.js} +1 -1
- package/assets/{fortmatic-DhAJUIOS.js → fortmatic-D-731_dx.js} +1 -1
- package/assets/{index-flmdvOR7.js → index-41C5YwXr.js} +20 -20
- package/assets/{index-DOl-0L6l.js → index-5MY3U2K8.js} +1 -1
- package/assets/{index-DsBnGRYG.js → index-82f5YOSU.js} +1 -1
- package/assets/{index-H_1uXVAi.js → index-B-7_EPGZ.js} +1 -1
- package/assets/index-BDB8oimK.js +1 -0
- package/assets/{index-B2zK8wwN.js → index-BDU0HuvD.js} +1 -1
- package/assets/{index-BpnD9Cq5.css → index-BJpiO9hV.css} +1 -1
- package/assets/{index-yCcEzoJg.js → index-BRJz6R2g.js} +1 -1
- package/assets/{index-Bci_hXV6.js → index-BV-Nnza1.js} +1 -1
- package/assets/{index-6sjC13M9.js → index-BVPu4mBc.js} +1 -1
- package/assets/{index-B4Mr5D7W.js → index-BYrhuK3j.js} +1 -1
- package/assets/{index-Cmsh7MkI.js → index-BaEn8M8S.js} +1 -1
- package/assets/{index-BoBS0q_1.js → index-BdeFFxb_.js} +1 -1
- package/assets/{index-CSFa_hR0.js → index-BgVtl5Kb.js} +1 -1
- package/assets/{index-Cb2vmzVZ.js → index-BvpgC1C7.js} +1 -1
- package/assets/{index-DOCQHXB2.js → index-BylH3QQG.js} +2 -2
- package/assets/{index-Dn6w3jJc.js → index-C-P9CP2I.js} +1 -1
- package/assets/{index-C8o5EU9X.js → index-C322ZtLM.js} +1 -1
- package/assets/{index-orpOYTTy.css → index-C6BvwEoI.css} +1 -1
- package/assets/{index-Di1kuK40.js → index-C76j8aLR.js} +1 -1
- package/assets/{index-U5D3SBV3.css → index-CCw_mTG8.css} +1 -1
- package/assets/{index-CQA7Js80.js → index-CXfXhCAZ.js} +1 -1
- package/assets/{index-C3Dl6TUx.js → index-CY3zyJtP.js} +1 -1
- package/assets/{index-BunYit3g.js → index-CevTTMEC.js} +1 -1
- package/assets/{index-BadWll2h.js → index-CkRBTILh.js} +1 -1
- package/assets/{index-DKjqFrx1.js → index-Cq3OUMiL.js} +1 -1
- package/assets/{index-DPIVvhqF.js → index-Crpg26Cm.js} +1 -1
- package/assets/{index-DxvvKKI6.js → index-CtrKelMu.js} +1 -1
- package/assets/{index-9rEpBDga.js → index-D2Tg9A0P.js} +1 -1
- package/assets/{index-CJDrJNCG.js → index-D4N6UG21.js} +1 -1
- package/assets/{index-B4KJ6VbC.js → index-D5d4Ja9w.js} +1 -1
- package/assets/{index-DCIip8s_.js → index-DBSmcWBI.js} +1 -1
- package/assets/{index-BAVTO1wI.js → index-DEvjUSh6.js} +1 -1
- package/assets/{index-CZlWRrl9.js → index-DKdhp46t.js} +1 -1
- package/assets/{index-CC9X8xUj.js → index-DMjP9_6s.js} +1 -1
- package/assets/{index-DC4hYk1D.css → index-DWKsbmz4.css} +1 -1
- package/assets/{index-0CZpREZ9.js → index-DlHmKahn.js} +1 -1
- package/assets/{index-D0il6SHm.js → index-KsM5oCK9.js} +1 -1
- package/assets/{index-CZCaOitM.css → index-SYJEtIt5.css} +1 -1
- package/assets/{index-BmwS_YEa.js → index-X8HThZEv.js} +1 -1
- package/assets/{index-B-XgZWF5.js → index-Ydji3YUi.js} +1 -1
- package/assets/index-_fU_kOtI.js +1 -0
- package/assets/{index-C_fzrRU7.css → index-bgb_kBBP.css} +7 -7
- package/assets/{index-MB0aYlXA.css → index-buaXxN2s.css} +1 -1
- package/assets/{index-C7XqFyMe.js → index-i84hpsRQ.js} +1 -1
- package/assets/{index-COKMMOMy.js → index-iE_RFPFQ.js} +1 -1
- package/assets/{index-DxKCKO90.js → index-iQcJ-NCZ.js} +1 -1
- package/assets/{index-D0btPEiB.js → index-pbqI9Pqo.js} +1 -1
- package/assets/{index-BsPF3_nI.js → index-trPgNxCf.js} +1 -1
- package/assets/{index.es-CCZmgIK6.js → index.es-BtOP83dX.js} +4 -4
- package/assets/{selectors-DV14n6nm.js → selectors-B-FgaFOX.js} +1 -1
- package/index.html +3 -3
- package/package.json +3 -3
- package/assets/index-D4zuIMMk.js +0 -1
- package/assets/index-npp0LcxN.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{N as g,ae as n,a5 as a,a6 as i}from"./index-41C5YwXr.js";import{H as s}from"./Navigation.container-DNCp40XB.js";import"./selectors-B-FgaFOX.js";const e=o=>({isLoggedIn:n(o),isLoggingIn:a(o)||i(o)}),c=g(e)(s);export{c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bk as _,Z as b,D as c,K as d,H as s,ah as h,M as l,G as n,hK as k,J as x,aj as g,N as v,hL as j,hM as C}from"./index-
|
|
1
|
+
import{bk as _,Z as b,D as c,K as d,H as s,ah as h,M as l,G as n,hK as k,J as x,aj as g,N as v,hL as j,hM as C}from"./index-41C5YwXr.js";import{a as N,N as T}from"./Navigation.container-DNCp40XB.js";import"./selectors-B-FgaFOX.js";var r=(e=>(e.ACTIVE="active",e.COMING_SOON="coming_soon",e))(r||{});const E="_titleContainer_5ka3v_1",S="_backButton_5ka3v_8",B="_title_5ka3v_1",f="_templates_5ka3v_26",I="_subtitle_5ka3v_32",a={titleContainer:E,backButton:S,title:B,templates:f,subtitle:I},y=({templates:e,onLoadTemplates:u})=>{const i=_(),o=b();c.useEffect(()=>{u()},[u]);const p=c.useCallback(()=>{o.push(d.scenes())},[o]),m=c.useCallback(t=>{i==null||i.track("Go to template detail",{id:t.id,name:t.title,description:t.description}),o.push(d.templateDetail(t.id))},[i,o]);return s.jsxs(s.Fragment,{children:[s.jsx(h,{}),s.jsxs(l.Page,{isFullscreen:!0,className:"ScenesPage",children:[s.jsx(N,{activeTab:T.SCENES}),s.jsxs("div",{className:a.titleContainer,children:[s.jsx(l.Button,{className:a.backButton,basic:!0,icon:s.jsx(l.Icon,{name:"arrow alternate circle left outline"}),onClick:p,"aria-label":n("templates_page.back_to_scenes")}),s.jsx("h2",{className:a.title,children:n("templates_page.title")})]}),s.jsx("div",{className:a.templates,children:Object.values(e).map(t=>s.jsx(k,{title:t.title,description:t.description,videoSrc:t.video,imgSrc:t.thumbnail,subtitle:s.jsxs("span",{className:a.subtitle,children:[s.jsx(x,{name:"scene-parcel"}),n("templates_page.parcels",{size:t.layout.rows*t.layout.cols})]}),tag:t.templateStatus!==r.ACTIVE?{label:n("templates_page.coming_soon"),color:"#716B7C"}:void 0,disabled:t.templateStatus!==r.ACTIVE,onClick:m.bind(null,t)},t.id))})]}),s.jsx(g,{})]})},A=e=>({templates:j(e)}),G=e=>({onLoadTemplates:()=>e(C())}),F=v(A,G)(y);export{F as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ItemCard .image-wrapper{display:flex;align-items:center;text-align:center}.ItemCard .content{background:none;margin-top:16px;text-align:center}.ItemCard .content .text{font-size:17px;max-width:248px;overflow:hidden;text-overflow:ellipsis}.ItemCard .subtitle{margin-top:5px;color:var(--secondary-text)}.ui.cards>.ui.card.link.ItemCard.is-dragging{transform:translateY(0);border:1px solid var(--primary)!important}.ItemCard.is-dragging .ItemImage{border:1px solid var(--primary)}.ItemCard:hover .options-dropdown.ui.dropdown>.dropdown.icon{visibility:visible}.ItemCard .options-dropdown.ui.dropdown>.dropdown.icon{visibility:hidden}@media (max-width: 1200px){.ItemCard .content .text{max-width:215px}}._ItemRow_xmdia_1:hover{background-color:#24212966;color:var(--text);cursor:pointer}._image_xmdia_7{width:64px;height:64px;margin-right:10px;border-radius:8px;overflow:hidden;flex:none}._image_xmdia_7 img{width:100%;height:100%}._name_xmdia_21{display:inline-block;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._title_xmdia_29,._imageColumn_xmdia_30{display:flex;align-items:center}._published_xmdia_35{color:var(--light-blue-raw)}.CollectionCard .content{margin-top:16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.CollectionCard .content .text{font-size:17px;max-width:248px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CollectionCard .subtitle{margin-top:5px;max-width:248px;color:var(--secondary-text)}.CollectionCard .CollectionBadge{margin-left:5px}.CollectionCard .sparkles{width:54px;height:56px;margin-bottom:5px;background-image:url(https://cdn.decentraland.org/@dcl/builder-site/7.4.0/assets/sparkles-C-WJN0Gh.svg);background-repeat:no-repeat}.CollectionCard.is-over .CollectionImage{border:1px solid var(--primary)!important}.CollectionCard .empty-collection-options .icon:before{color:var(--text)!important}.CollectionCard:hover .options-dropdown.ui.dropdown>.dropdown.icon{visibility:visible}.CollectionCard .options-dropdown.ui.dropdown>.dropdown.icon{visibility:hidden}.CollectionCard .pending-migration{text-transform:uppercase;padding:4px 8px;border-radius:32px;display:inline-flex;align-items:center;gap:4px;color:#ffbc5b;background-color:#ffbc5b33;margin-top:16px}.CollectionCard .pending-migration .icon{height:18px}@media (max-width: 1200px){.CollectionCard .content .text{max-width:215px}}.delete-collection-confirm .header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._CollectionRow_k7d4q_1:hover{background-color:#24212966;color:var(--text);cursor:pointer}._image_k7d4q_7{width:64px;height:64px;margin-right:10px;border-radius:8px;overflow:hidden;flex:none}._name_k7d4q_16{display:inline-block;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._title_k7d4q_24,._imageColumn_k7d4q_25{display:flex;align-items:center}._published_k7d4q_30{color:var(--light-blue-raw)}.CollectionsPage .ui.cards{margin:0}.CollectionsPage .empty{margin-top:28px;padding:112px 0;width:100%;border-radius:8px;border:1px solid var(--divider);justify-content:center;color:var(--secondary-text);text-align:center;line-height:28px;font-size:17px}.CollectionsPage .empty .header.title{margin:0}.CollectionsPage .empty .empty-description{margin:8px auto 34px;width:500px}.CollectionsPage .empty .create-new-wrapper{display:flex;justify-content:center}.CollectionsPage .empty .create-new{width:240px;height:204px;position:relative;background-color:rgba(var(--bluish-steel-raw),.16);border-radius:8px;background-position:50% 35%;cursor:pointer}.CollectionsPage .empty .create-new:first-child{margin-right:24px}.CollectionsPage .empty .create-new>.text{position:absolute;flex:1 1;color:#fff;bottom:31px;width:100%}.CollectionsPage .empty .create-new-item{background-image:url("data:image/svg+xml,%3csvg%20width='96'%20height='70'%20viewBox='0%200%2096%2070'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M94.7941%2054.5156H74.6855L79.6698%205.31259C79.6698%203.69125%2077.9661%202.41876%2069.6516%201.4775C64.084%200.847025%2056.4659%200.5%2048.201%200.5C39.9361%200.5%2032.318%200.847025%2026.7498%201.4775C18.4353%202.41876%2016.7316%203.69125%2016.7316%205.31259L21.7303%2054.5156H1.20588C0.53989%2054.5156%200%2055.0595%200%2055.7304C0%2057.5657%201.48584%2059.3693%204.41633%2061.0912C6.95671%2062.5838%2010.6085%2064.027%2014.9768%2065.2659C24.4687%2067.9566%2036.5783%2069.5%2048.201%2069.5C59.8068%2069.5%2071.8444%2067.9562%2081.2276%2065.2648C85.5422%2064.0272%2089.1474%2062.5826%2091.6534%2061.087C94.5377%2059.366%2096%2057.5641%2096%2055.7304C96%2055.0595%2095.4601%2054.5156%2094.7941%2054.5156ZM28.2371%203.76191C33.5781%203.22518%2040.6681%202.92958%2048.201%202.92958C55.7339%202.92958%2062.8239%203.22518%2068.1649%203.76191C73.4374%204.29176%2075.7292%204.92365%2076.6979%205.31239C75.7296%205.70071%2073.4378%206.3324%2068.1637%206.86185C62.8231%207.39818%2055.7335%207.69357%2048.201%207.69357C40.6685%207.69357%2033.5799%207.39798%2028.2375%206.86124C22.9668%206.3318%2020.6744%205.70051%2019.7047%205.31218C20.6738%204.92325%2022.9656%204.29176%2028.2371%203.76191ZM20.2817%208.04769C19.9589%207.96103%2019.6639%207.87195%2019.3895%207.78023L22.8556%2041.7797C25.5439%2042.0648%2028.2326%2042.3092%2030.8623%2042.5027C31.5103%2042.549%2032.0054%2043.104%2031.9822%2043.758C31.9589%2044.4121%2031.4255%2044.9299%2030.7758%2044.9293C30.7469%2044.9293%2030.7165%2044.9281%2030.6866%2044.9258C28.1961%2044.7424%2025.6531%2044.5138%2023.1074%2044.2492L24.1662%2054.633C40.9818%2056.5169%2055.4425%2056.5169%2072.2488%2054.633L73.3112%2044.2097C64.9039%2045.1073%2056.4558%2045.5605%2048.0014%2045.5676C44.0282%2045.5676%2040.0619%2045.4656%2036.0803%2045.2619C35.4151%2045.2279%2034.9033%2044.6572%2034.937%2043.9871C34.9708%2043.317%2035.5373%2042.8014%2036.2025%2042.8354C48.6658%2043.465%2061.159%2043.0979%2073.5646%2041.7374L77.0249%207.77658C76.75%207.86891%2076.4539%207.9588%2076.1301%208.04586C74.5092%208.48157%2072.236%208.8624%2069.3734%209.17744C63.8348%209.78726%2056.3155%2010.1232%2048.201%2010.1232C40.0939%2010.1232%2032.5784%209.78747%2027.0392%209.17805C24.1777%208.86321%2021.9042%208.48278%2020.2817%208.04769ZM80.5678%2062.928C71.3902%2065.56%2059.5933%2067.0704%2048.2016%2067.0704C36.7904%2067.0704%2024.9189%2065.5602%2015.6308%2062.9272C7.79601%2060.7059%204.28067%2058.4424%203.01068%2056.9452H22.9981L23.2493%2056.9737C40.7442%2058.9781%2055.669%2058.9781%2073.1554%2056.9757L73.4183%2056.9452H93.0339C91.6488%2058.6329%2087.6232%2060.9042%2080.5672%2062.928H80.5678ZM42.7852%2028.6841L41.9678%2033.4888C41.8902%2033.9446%2042.0762%2034.4052%2042.4475%2034.677C42.8189%2034.9488%2043.3112%2034.9846%2043.7175%2034.7694L48%2032.5014L52.2825%2034.769C52.6888%2034.9842%2053.1811%2034.9484%2053.5525%2034.6766C53.9238%2034.4048%2054.1098%2033.9442%2054.0322%2033.4884L53.2148%2028.6837L56.6799%2025.2817C57.0087%2024.9589%2057.1271%2024.4761%2056.9852%2024.0362C56.8433%2023.5964%2056.4658%2023.2759%2056.0115%2023.2095L51.2225%2022.5095L49.0815%2018.1383C48.8784%2017.7235%2048.4591%2017.4609%2048%2017.4609C47.5409%2017.4609%2047.1216%2017.7235%2046.9185%2018.1383L44.7775%2022.5095L39.9885%2023.2095C39.5342%2023.2759%2039.1567%2023.5964%2039.0148%2024.0362C38.8729%2024.4761%2038.9913%2024.9589%2039.3201%2025.2817L42.7852%2028.6841ZM45.7514%2024.8217C46.1443%2024.7642%2046.484%2024.5157%2046.6597%2024.157L48%2021.4205L49.3403%2024.157C49.516%2024.5157%2049.8557%2024.7642%2050.2486%2024.8217L53.2466%2025.2598L51.0774%2027.3902C50.7932%2027.6692%2050.6635%2028.0712%2050.7305%2028.4652L51.2424%2031.4737L48.5611%2030.0536C48.2098%2029.8675%2047.7902%2029.8675%2047.4389%2030.0536L44.7576%2031.4737L45.2695%2028.4652C45.3365%2028.0712%2045.2068%2027.6692%2044.9226%2027.3902L42.7544%2025.2598L45.7514%2024.8217Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat}.CollectionsPage .empty .create-new-collection{background-image:url("data:image/svg+xml,%3csvg%20width='80'%20height='68'%20viewBox='0%200%2080%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M41.0076%2012.269L41.0075%2012.2691L41.0168%2012.2788C41.9992%2013.2997%2043.3962%2013.8831%2044.8227%2013.8831H70.143C74.7432%2013.8831%2078.4998%2017.6467%2078.4998%2022.2832L78.4998%2058.0694L78.4998%2058.0761C78.5204%2062.6953%2074.7818%2066.4778%2070.1849%2066.5H70.1792H9.85685C5.25666%2066.5%201.5%2062.7363%201.5%2058.0997V9.90034C1.5%205.26392%205.25664%201.50022%209.85681%201.50036H9.85685L27.0684%201.50038L27.077%201.50033C29.3256%201.48732%2031.5245%202.33413%2033.1219%203.92557L41.0076%2012.269Z'%20stroke='white'%20stroke-width='3'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M58.5227%2046.9194H50.563L52.536%2026.9529C52.536%2026.295%2051.8616%2025.7786%2048.5704%2025.3967C46.3666%2025.1408%2043.3511%2025%2040.0796%2025C36.808%2025%2033.7925%2025.1408%2031.5885%2025.3967C28.2973%2025.7786%2027.6229%2026.295%2027.6229%2026.9529L29.6016%2046.9194H21.4773C21.2137%2046.9194%2021%2047.1401%2021%2047.4123C21%2048.1571%2021.5881%2048.889%2022.7481%2049.5877C23.7537%2050.1934%2025.1992%2050.7791%2026.9283%2051.2818C30.6855%2052.3737%2035.4789%2053%2040.0796%2053C44.6735%2053%2049.4384%2052.3735%2053.1526%2051.2814C54.8605%2050.7791%2056.2875%2050.1929%2057.2795%2049.586C58.4212%2048.8877%2059%2048.1564%2059%2047.4123C59%2047.1401%2058.7863%2046.9194%2058.5227%2046.9194ZM32.1772%2026.3237C34.2913%2026.1059%2037.0978%2025.9859%2040.0796%2025.9859C43.0613%2025.9859%2045.8678%2026.1059%2047.9819%2026.3237C50.069%2026.5387%2050.9761%2026.7951%2051.3596%2026.9529C50.9763%2027.1104%2050.0691%2027.3668%2047.9815%2027.5816C45.8675%2027.7993%2043.0612%2027.9191%2040.0796%2027.9191C37.0979%2027.9191%2034.292%2027.7992%2032.1773%2027.5814C30.091%2027.3665%2029.1836%2027.1104%2028.7998%2026.9528C29.1834%2026.7949%2030.0905%2026.5387%2032.1772%2026.3237ZM29.0282%2028.0628C28.9004%2028.0277%2028.7836%2027.9915%2028.675%2027.9543L30.047%2041.7512C31.1111%2041.8669%2032.1754%2041.966%2033.2163%2042.0446C33.4728%2042.0634%2033.6688%2042.2886%2033.6596%2042.554C33.6504%2042.8194%2033.4392%2043.0295%2033.1821%2043.0293C33.1706%2043.0293%2033.1586%2043.0288%2033.1468%2043.0279C32.1609%2042.9534%2031.1543%2042.8607%2030.1467%2042.7533L30.5658%2046.967C37.222%2047.7315%2042.946%2047.7315%2049.5985%2046.967L50.019%2042.7373C46.6911%2043.1015%2043.3471%2043.2854%2040.0006%2043.2883C38.4278%2043.2883%2036.8578%2043.2469%2035.2818%2043.1643C35.0185%2043.1505%2034.8159%2042.9189%2034.8292%2042.6469C34.8426%2042.375%2035.0669%2042.1658%2035.3302%2042.1796C40.2635%2042.4351%2045.2088%2042.2861%2050.1193%2041.734L51.489%2027.9528C51.3802%2027.9903%2051.263%2028.0268%2051.1348%2028.0621C50.4932%2028.2389%2049.5934%2028.3934%2048.4603%2028.5213C46.2679%2028.7687%2043.2916%2028.905%2040.0796%2028.905C36.8705%2028.905%2033.8956%2028.7688%2031.703%2028.5215C30.5703%2028.3938%2029.6704%2028.2394%2029.0282%2028.0628ZM52.8914%2050.3331C49.2586%2051.4012%2044.589%2052.0141%2040.0798%2052.0141C35.5628%2052.0141%2030.8637%2051.4013%2027.1872%2050.3328C24.0859%2049.4314%2022.6944%2048.5129%2022.1917%2047.9053H30.1034L30.2029%2047.9169C37.1279%2048.7302%2043.0356%2048.7302%2049.9574%2047.9177L50.0614%2047.9053H57.8259C57.2776%2048.5902%2055.6842%2049.5118%2052.8912%2050.3331H52.8914ZM37.9358%2036.437L37.6123%2038.3868C37.5815%2038.5717%2037.6552%2038.7586%2037.8021%2038.8689C37.9491%2038.9792%2038.144%2038.9938%2038.3049%2038.9064L40%2037.9861L41.6951%2038.9063C41.856%2038.9936%2042.0508%2038.979%2042.1978%2038.8688C42.3448%2038.7585%2042.4185%2038.5715%2042.3877%2038.3866L42.0642%2036.4369L43.4358%2035.0563C43.5659%2034.9254%2043.6128%2034.7294%2043.5566%2034.5509C43.5005%2034.3724%2043.351%2034.2424%2043.1712%2034.2154L41.2756%2033.9314L40.4281%2032.1576C40.3477%2031.9893%2040.1817%2031.8827%2040%2031.8827C39.8183%2031.8827%2039.6523%2031.9893%2039.5719%2032.1576L38.7244%2033.9314L36.8288%2034.2154C36.649%2034.2424%2036.4995%2034.3724%2036.4434%2034.5509C36.3872%2034.7294%2036.4341%2034.9254%2036.5642%2035.0563L37.9358%2036.437ZM39.1099%2034.8697C39.2655%2034.8464%2039.3999%2034.7455%2039.4694%2034.5999L40%2033.4895L40.5305%2034.5999C40.6001%2034.7455%2040.7345%2034.8464%2040.8901%2034.8697L42.0768%2035.0475L41.2181%2035.9119C41.1056%2036.0252%2041.0543%2036.1883%2041.0808%2036.3482L41.2835%2037.569L40.2221%2036.9928C40.0831%2036.9173%2039.9169%2036.9173%2039.7779%2036.9928L38.7165%2037.569L38.9192%2036.3482C38.9457%2036.1883%2038.8944%2036.0252%2038.7819%2035.9119L37.9236%2035.0475L39.1099%2034.8697Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat}.CollectionsPage .ui.cards .ui.card{width:248px;background-color:transparent;box-shadow:none}.CollectionsPage .card .image-wrapper{height:248px;padding:15px}.CollectionsPage .filters{margin-bottom:20px}.dcl.page.LoggedInDetailPage.CollectionsPage{padding:0 24px}.CollectionsPage .filters .dcl.row.actions .ui.dropdown .ui.button{width:16px;height:16px;box-sizing:content-box;padding:5px 10px;border-radius:4px;border:solid 1px var(--gray)}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor{display:flex;align-items:center}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor .Icon{margin-right:6px}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor:hover{transform:translateY(0)}.CollectionsPage .Chip{padding:4px;height:28px;width:32px}.CollectionsPage .Chip.grid{border-radius:4px 0 0 4px;margin-left:16px}.CollectionsPage .Chip.list{border-radius:0 4px 4px 0}.CollectionsPage .is-card{transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;box-shadow:none;transform:translateY(0)}.CollectionsPage .is-card:nth-child(4n){margin-right:0}.CollectionsPage .is-card:hover{transform:translateY(-4px)}.CollectionsPage .is-card .is-image{aspect-ratio:1 / 1;transition:box-shadow .2s ease-in-out;width:100%;overflow:hidden;border-radius:8px!important}.CollectionsPage .is-card:hover .is-image{box-shadow:var(--shadow-2)}.CollectionsPage .is-card .is-image .is-image{border-radius:0!important;box-shadow:none}.dcl.page.CollectionsPage .ui.container{width:100%;max-width:100%!important}.CollectionsPage .ui.container .ui.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:20px}.CollectionsPage .dcl.tabs.fullscreen .dcl.column.right{float:right;padding:19px 0}.CollectionsPage .pagination{width:100%;display:flex;justify-content:center;margin-top:16px}.CollectionsPage .ui.pagination.menu{margin-top:16px}.CollectionsPage .dcl.tabs .ui.container{margin-bottom:20px}.CollectionsPage .collections-main-actions{display:flex;justify-content:end;gap:20px;min-height:74px}.CollectionsPage .collections-main-actions>:first-child{flex:1}.CollectionsPage .dcl.field .collections-search-field.ui.input input{padding:8px;background:var(--shadows);border-radius:10px;border:none;font-size:16px}.CollectionsPage .collections-main-actions>.actions{align-self:baseline;justify-self:end;flex:none}.CollectionsPage .collections-icon{width:32px;height:32px;margin-bottom:20px}.CollectionsPage .action-tabs-container{display:flex;align-items:center;flex-direction:row;gap:8px}.CollectionsPage .banner-container{margin-bottom:24px}
|
|
1
|
+
.ItemCard .image-wrapper{display:flex;align-items:center;text-align:center}.ItemCard .content{background:none;margin-top:16px;text-align:center}.ItemCard .content .text{font-size:17px;max-width:248px;overflow:hidden;text-overflow:ellipsis}.ItemCard .subtitle{margin-top:5px;color:var(--secondary-text)}.ui.cards>.ui.card.link.ItemCard.is-dragging{transform:translateY(0);border:1px solid var(--primary)!important}.ItemCard.is-dragging .ItemImage{border:1px solid var(--primary)}.ItemCard:hover .options-dropdown.ui.dropdown>.dropdown.icon{visibility:visible}.ItemCard .options-dropdown.ui.dropdown>.dropdown.icon{visibility:hidden}@media (max-width: 1200px){.ItemCard .content .text{max-width:215px}}._ItemRow_xmdia_1:hover{background-color:#24212966;color:var(--text);cursor:pointer}._image_xmdia_7{width:64px;height:64px;margin-right:10px;border-radius:8px;overflow:hidden;flex:none}._image_xmdia_7 img{width:100%;height:100%}._name_xmdia_21{display:inline-block;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._title_xmdia_29,._imageColumn_xmdia_30{display:flex;align-items:center}._published_xmdia_35{color:var(--light-blue-raw)}.CollectionCard .content{margin-top:16px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.CollectionCard .content .text{font-size:17px;max-width:248px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CollectionCard .subtitle{margin-top:5px;max-width:248px;color:var(--secondary-text)}.CollectionCard .CollectionBadge{margin-left:5px}.CollectionCard .sparkles{width:54px;height:56px;margin-bottom:5px;background-image:url(https://cdn.decentraland.org/@dcl/builder-site/7.4.1/assets/sparkles-C-WJN0Gh.svg);background-repeat:no-repeat}.CollectionCard.is-over .CollectionImage{border:1px solid var(--primary)!important}.CollectionCard .empty-collection-options .icon:before{color:var(--text)!important}.CollectionCard:hover .options-dropdown.ui.dropdown>.dropdown.icon{visibility:visible}.CollectionCard .options-dropdown.ui.dropdown>.dropdown.icon{visibility:hidden}.CollectionCard .pending-migration{text-transform:uppercase;padding:4px 8px;border-radius:32px;display:inline-flex;align-items:center;gap:4px;color:#ffbc5b;background-color:#ffbc5b33;margin-top:16px}.CollectionCard .pending-migration .icon{height:18px}@media (max-width: 1200px){.CollectionCard .content .text{max-width:215px}}.delete-collection-confirm .header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._CollectionRow_k7d4q_1:hover{background-color:#24212966;color:var(--text);cursor:pointer}._image_k7d4q_7{width:64px;height:64px;margin-right:10px;border-radius:8px;overflow:hidden;flex:none}._name_k7d4q_16{display:inline-block;margin-left:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._title_k7d4q_24,._imageColumn_k7d4q_25{display:flex;align-items:center}._published_k7d4q_30{color:var(--light-blue-raw)}.CollectionsPage .ui.cards{margin:0}.CollectionsPage .empty{margin-top:28px;padding:112px 0;width:100%;border-radius:8px;border:1px solid var(--divider);justify-content:center;color:var(--secondary-text);text-align:center;line-height:28px;font-size:17px}.CollectionsPage .empty .header.title{margin:0}.CollectionsPage .empty .empty-description{margin:8px auto 34px;width:500px}.CollectionsPage .empty .create-new-wrapper{display:flex;justify-content:center}.CollectionsPage .empty .create-new{width:240px;height:204px;position:relative;background-color:rgba(var(--bluish-steel-raw),.16);border-radius:8px;background-position:50% 35%;cursor:pointer}.CollectionsPage .empty .create-new:first-child{margin-right:24px}.CollectionsPage .empty .create-new>.text{position:absolute;flex:1 1;color:#fff;bottom:31px;width:100%}.CollectionsPage .empty .create-new-item{background-image:url("data:image/svg+xml,%3csvg%20width='96'%20height='70'%20viewBox='0%200%2096%2070'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M94.7941%2054.5156H74.6855L79.6698%205.31259C79.6698%203.69125%2077.9661%202.41876%2069.6516%201.4775C64.084%200.847025%2056.4659%200.5%2048.201%200.5C39.9361%200.5%2032.318%200.847025%2026.7498%201.4775C18.4353%202.41876%2016.7316%203.69125%2016.7316%205.31259L21.7303%2054.5156H1.20588C0.53989%2054.5156%200%2055.0595%200%2055.7304C0%2057.5657%201.48584%2059.3693%204.41633%2061.0912C6.95671%2062.5838%2010.6085%2064.027%2014.9768%2065.2659C24.4687%2067.9566%2036.5783%2069.5%2048.201%2069.5C59.8068%2069.5%2071.8444%2067.9562%2081.2276%2065.2648C85.5422%2064.0272%2089.1474%2062.5826%2091.6534%2061.087C94.5377%2059.366%2096%2057.5641%2096%2055.7304C96%2055.0595%2095.4601%2054.5156%2094.7941%2054.5156ZM28.2371%203.76191C33.5781%203.22518%2040.6681%202.92958%2048.201%202.92958C55.7339%202.92958%2062.8239%203.22518%2068.1649%203.76191C73.4374%204.29176%2075.7292%204.92365%2076.6979%205.31239C75.7296%205.70071%2073.4378%206.3324%2068.1637%206.86185C62.8231%207.39818%2055.7335%207.69357%2048.201%207.69357C40.6685%207.69357%2033.5799%207.39798%2028.2375%206.86124C22.9668%206.3318%2020.6744%205.70051%2019.7047%205.31218C20.6738%204.92325%2022.9656%204.29176%2028.2371%203.76191ZM20.2817%208.04769C19.9589%207.96103%2019.6639%207.87195%2019.3895%207.78023L22.8556%2041.7797C25.5439%2042.0648%2028.2326%2042.3092%2030.8623%2042.5027C31.5103%2042.549%2032.0054%2043.104%2031.9822%2043.758C31.9589%2044.4121%2031.4255%2044.9299%2030.7758%2044.9293C30.7469%2044.9293%2030.7165%2044.9281%2030.6866%2044.9258C28.1961%2044.7424%2025.6531%2044.5138%2023.1074%2044.2492L24.1662%2054.633C40.9818%2056.5169%2055.4425%2056.5169%2072.2488%2054.633L73.3112%2044.2097C64.9039%2045.1073%2056.4558%2045.5605%2048.0014%2045.5676C44.0282%2045.5676%2040.0619%2045.4656%2036.0803%2045.2619C35.4151%2045.2279%2034.9033%2044.6572%2034.937%2043.9871C34.9708%2043.317%2035.5373%2042.8014%2036.2025%2042.8354C48.6658%2043.465%2061.159%2043.0979%2073.5646%2041.7374L77.0249%207.77658C76.75%207.86891%2076.4539%207.9588%2076.1301%208.04586C74.5092%208.48157%2072.236%208.8624%2069.3734%209.17744C63.8348%209.78726%2056.3155%2010.1232%2048.201%2010.1232C40.0939%2010.1232%2032.5784%209.78747%2027.0392%209.17805C24.1777%208.86321%2021.9042%208.48278%2020.2817%208.04769ZM80.5678%2062.928C71.3902%2065.56%2059.5933%2067.0704%2048.2016%2067.0704C36.7904%2067.0704%2024.9189%2065.5602%2015.6308%2062.9272C7.79601%2060.7059%204.28067%2058.4424%203.01068%2056.9452H22.9981L23.2493%2056.9737C40.7442%2058.9781%2055.669%2058.9781%2073.1554%2056.9757L73.4183%2056.9452H93.0339C91.6488%2058.6329%2087.6232%2060.9042%2080.5672%2062.928H80.5678ZM42.7852%2028.6841L41.9678%2033.4888C41.8902%2033.9446%2042.0762%2034.4052%2042.4475%2034.677C42.8189%2034.9488%2043.3112%2034.9846%2043.7175%2034.7694L48%2032.5014L52.2825%2034.769C52.6888%2034.9842%2053.1811%2034.9484%2053.5525%2034.6766C53.9238%2034.4048%2054.1098%2033.9442%2054.0322%2033.4884L53.2148%2028.6837L56.6799%2025.2817C57.0087%2024.9589%2057.1271%2024.4761%2056.9852%2024.0362C56.8433%2023.5964%2056.4658%2023.2759%2056.0115%2023.2095L51.2225%2022.5095L49.0815%2018.1383C48.8784%2017.7235%2048.4591%2017.4609%2048%2017.4609C47.5409%2017.4609%2047.1216%2017.7235%2046.9185%2018.1383L44.7775%2022.5095L39.9885%2023.2095C39.5342%2023.2759%2039.1567%2023.5964%2039.0148%2024.0362C38.8729%2024.4761%2038.9913%2024.9589%2039.3201%2025.2817L42.7852%2028.6841ZM45.7514%2024.8217C46.1443%2024.7642%2046.484%2024.5157%2046.6597%2024.157L48%2021.4205L49.3403%2024.157C49.516%2024.5157%2049.8557%2024.7642%2050.2486%2024.8217L53.2466%2025.2598L51.0774%2027.3902C50.7932%2027.6692%2050.6635%2028.0712%2050.7305%2028.4652L51.2424%2031.4737L48.5611%2030.0536C48.2098%2029.8675%2047.7902%2029.8675%2047.4389%2030.0536L44.7576%2031.4737L45.2695%2028.4652C45.3365%2028.0712%2045.2068%2027.6692%2044.9226%2027.3902L42.7544%2025.2598L45.7514%2024.8217Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat}.CollectionsPage .empty .create-new-collection{background-image:url("data:image/svg+xml,%3csvg%20width='80'%20height='68'%20viewBox='0%200%2080%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M41.0076%2012.269L41.0075%2012.2691L41.0168%2012.2788C41.9992%2013.2997%2043.3962%2013.8831%2044.8227%2013.8831H70.143C74.7432%2013.8831%2078.4998%2017.6467%2078.4998%2022.2832L78.4998%2058.0694L78.4998%2058.0761C78.5204%2062.6953%2074.7818%2066.4778%2070.1849%2066.5H70.1792H9.85685C5.25666%2066.5%201.5%2062.7363%201.5%2058.0997V9.90034C1.5%205.26392%205.25664%201.50022%209.85681%201.50036H9.85685L27.0684%201.50038L27.077%201.50033C29.3256%201.48732%2031.5245%202.33413%2033.1219%203.92557L41.0076%2012.269Z'%20stroke='white'%20stroke-width='3'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M58.5227%2046.9194H50.563L52.536%2026.9529C52.536%2026.295%2051.8616%2025.7786%2048.5704%2025.3967C46.3666%2025.1408%2043.3511%2025%2040.0796%2025C36.808%2025%2033.7925%2025.1408%2031.5885%2025.3967C28.2973%2025.7786%2027.6229%2026.295%2027.6229%2026.9529L29.6016%2046.9194H21.4773C21.2137%2046.9194%2021%2047.1401%2021%2047.4123C21%2048.1571%2021.5881%2048.889%2022.7481%2049.5877C23.7537%2050.1934%2025.1992%2050.7791%2026.9283%2051.2818C30.6855%2052.3737%2035.4789%2053%2040.0796%2053C44.6735%2053%2049.4384%2052.3735%2053.1526%2051.2814C54.8605%2050.7791%2056.2875%2050.1929%2057.2795%2049.586C58.4212%2048.8877%2059%2048.1564%2059%2047.4123C59%2047.1401%2058.7863%2046.9194%2058.5227%2046.9194ZM32.1772%2026.3237C34.2913%2026.1059%2037.0978%2025.9859%2040.0796%2025.9859C43.0613%2025.9859%2045.8678%2026.1059%2047.9819%2026.3237C50.069%2026.5387%2050.9761%2026.7951%2051.3596%2026.9529C50.9763%2027.1104%2050.0691%2027.3668%2047.9815%2027.5816C45.8675%2027.7993%2043.0612%2027.9191%2040.0796%2027.9191C37.0979%2027.9191%2034.292%2027.7992%2032.1773%2027.5814C30.091%2027.3665%2029.1836%2027.1104%2028.7998%2026.9528C29.1834%2026.7949%2030.0905%2026.5387%2032.1772%2026.3237ZM29.0282%2028.0628C28.9004%2028.0277%2028.7836%2027.9915%2028.675%2027.9543L30.047%2041.7512C31.1111%2041.8669%2032.1754%2041.966%2033.2163%2042.0446C33.4728%2042.0634%2033.6688%2042.2886%2033.6596%2042.554C33.6504%2042.8194%2033.4392%2043.0295%2033.1821%2043.0293C33.1706%2043.0293%2033.1586%2043.0288%2033.1468%2043.0279C32.1609%2042.9534%2031.1543%2042.8607%2030.1467%2042.7533L30.5658%2046.967C37.222%2047.7315%2042.946%2047.7315%2049.5985%2046.967L50.019%2042.7373C46.6911%2043.1015%2043.3471%2043.2854%2040.0006%2043.2883C38.4278%2043.2883%2036.8578%2043.2469%2035.2818%2043.1643C35.0185%2043.1505%2034.8159%2042.9189%2034.8292%2042.6469C34.8426%2042.375%2035.0669%2042.1658%2035.3302%2042.1796C40.2635%2042.4351%2045.2088%2042.2861%2050.1193%2041.734L51.489%2027.9528C51.3802%2027.9903%2051.263%2028.0268%2051.1348%2028.0621C50.4932%2028.2389%2049.5934%2028.3934%2048.4603%2028.5213C46.2679%2028.7687%2043.2916%2028.905%2040.0796%2028.905C36.8705%2028.905%2033.8956%2028.7688%2031.703%2028.5215C30.5703%2028.3938%2029.6704%2028.2394%2029.0282%2028.0628ZM52.8914%2050.3331C49.2586%2051.4012%2044.589%2052.0141%2040.0798%2052.0141C35.5628%2052.0141%2030.8637%2051.4013%2027.1872%2050.3328C24.0859%2049.4314%2022.6944%2048.5129%2022.1917%2047.9053H30.1034L30.2029%2047.9169C37.1279%2048.7302%2043.0356%2048.7302%2049.9574%2047.9177L50.0614%2047.9053H57.8259C57.2776%2048.5902%2055.6842%2049.5118%2052.8912%2050.3331H52.8914ZM37.9358%2036.437L37.6123%2038.3868C37.5815%2038.5717%2037.6552%2038.7586%2037.8021%2038.8689C37.9491%2038.9792%2038.144%2038.9938%2038.3049%2038.9064L40%2037.9861L41.6951%2038.9063C41.856%2038.9936%2042.0508%2038.979%2042.1978%2038.8688C42.3448%2038.7585%2042.4185%2038.5715%2042.3877%2038.3866L42.0642%2036.4369L43.4358%2035.0563C43.5659%2034.9254%2043.6128%2034.7294%2043.5566%2034.5509C43.5005%2034.3724%2043.351%2034.2424%2043.1712%2034.2154L41.2756%2033.9314L40.4281%2032.1576C40.3477%2031.9893%2040.1817%2031.8827%2040%2031.8827C39.8183%2031.8827%2039.6523%2031.9893%2039.5719%2032.1576L38.7244%2033.9314L36.8288%2034.2154C36.649%2034.2424%2036.4995%2034.3724%2036.4434%2034.5509C36.3872%2034.7294%2036.4341%2034.9254%2036.5642%2035.0563L37.9358%2036.437ZM39.1099%2034.8697C39.2655%2034.8464%2039.3999%2034.7455%2039.4694%2034.5999L40%2033.4895L40.5305%2034.5999C40.6001%2034.7455%2040.7345%2034.8464%2040.8901%2034.8697L42.0768%2035.0475L41.2181%2035.9119C41.1056%2036.0252%2041.0543%2036.1883%2041.0808%2036.3482L41.2835%2037.569L40.2221%2036.9928C40.0831%2036.9173%2039.9169%2036.9173%2039.7779%2036.9928L38.7165%2037.569L38.9192%2036.3482C38.9457%2036.1883%2038.8944%2036.0252%2038.7819%2035.9119L37.9236%2035.0475L39.1099%2034.8697Z'%20fill='white'/%3e%3c/svg%3e");background-repeat:no-repeat}.CollectionsPage .ui.cards .ui.card{width:248px;background-color:transparent;box-shadow:none}.CollectionsPage .card .image-wrapper{height:248px;padding:15px}.CollectionsPage .filters{margin-bottom:20px}.dcl.page.LoggedInDetailPage.CollectionsPage{padding:0 24px}.CollectionsPage .filters .dcl.row.actions .ui.dropdown .ui.button{width:16px;height:16px;box-sizing:content-box;padding:5px 10px;border-radius:4px;border:solid 1px var(--gray)}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor{display:flex;align-items:center}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor .Icon{margin-right:6px}.CollectionsPage .filters .dcl.row.actions .ui.button.open-editor:hover{transform:translateY(0)}.CollectionsPage .Chip{padding:4px;height:28px;width:32px}.CollectionsPage .Chip.grid{border-radius:4px 0 0 4px;margin-left:16px}.CollectionsPage .Chip.list{border-radius:0 4px 4px 0}.CollectionsPage .is-card{transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;box-shadow:none;transform:translateY(0)}.CollectionsPage .is-card:nth-child(4n){margin-right:0}.CollectionsPage .is-card:hover{transform:translateY(-4px)}.CollectionsPage .is-card .is-image{aspect-ratio:1 / 1;transition:box-shadow .2s ease-in-out;width:100%;overflow:hidden;border-radius:8px!important}.CollectionsPage .is-card:hover .is-image{box-shadow:var(--shadow-2)}.CollectionsPage .is-card .is-image .is-image{border-radius:0!important;box-shadow:none}.dcl.page.CollectionsPage .ui.container{width:100%;max-width:100%!important}.CollectionsPage .ui.container .ui.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(248px,1fr));gap:20px}.CollectionsPage .dcl.tabs.fullscreen .dcl.column.right{float:right;padding:19px 0}.CollectionsPage .pagination{width:100%;display:flex;justify-content:center;margin-top:16px}.CollectionsPage .ui.pagination.menu{margin-top:16px}.CollectionsPage .dcl.tabs .ui.container{margin-bottom:20px}.CollectionsPage .collections-main-actions{display:flex;justify-content:end;gap:20px;min-height:74px}.CollectionsPage .collections-main-actions>:first-child{flex:1}.CollectionsPage .dcl.field .collections-search-field.ui.input input{padding:8px;background:var(--shadows);border-radius:10px;border:none;font-size:16px}.CollectionsPage .collections-main-actions>.actions{align-self:baseline;justify-self:end;flex:none}.CollectionsPage .collections-icon{width:32px;height:32px;margin-bottom:20px}.CollectionsPage .action-tabs-container{display:flex;align-items:center;flex-direction:row;gap:8px}.CollectionsPage .banner-container{margin-bottom:24px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var G=Object.defineProperty;var X=(n,s,l)=>s in n?G(n,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[s]=l;var E=(n,s,l)=>X(n,typeof s!="symbol"?s+"":s,l);import{D as d,H as e,J as Y,Z,K as k,es as F,eS as H,eT as S,eU as j,eP as q,eV as z,eW as J,eX as _,eY as ee,eZ as se,e_ as ae,M as t,G as i,dD as ie,e$ as le,f0 as C,f1 as te,f2 as ne,f3 as ce,L as de,er as oe,cC as re,f4 as ue,b8 as me,f5 as he,cB as xe,f6 as pe,f7 as je,f8 as ge,f9 as ve,N as Ne,fa as be,fb as Ie,e9 as fe,fc as _e,fd as Ce,fe as ye,bw as T,eE as P,ff as Ee,fg as ke,ep as Se,X as Te,eN as Pe,fh as De,fi as we}from"./index-flmdvOR7.js";import{I as Me}from"./ItemProvider.container-ww0oFR41.js";import{C as Le}from"./ConfirmDelete-BQ__uX_D.js";import{L as Be}from"./LoggedInDetailPage.container-CP5QlkqP.js";import{N as Re}from"./NotFound-D8kFfF63.js";import{B as Ue}from"./Back-CcOe2OPR.js";import"./Navigation.container-Caaq2HYh.js";import"./selectors-DV14n6nm.js";import"./SignInRequired-CqwdQCfU.js";class Oe extends d.PureComponent{constructor(l){super(l);E(this,"state",{isNoticeClosed:!1});E(this,"handleCloseNotice",()=>{const{storageKey:l}=this.props;this.setState({isNoticeClosed:!0}),localStorage.setItem(l,"1")});const{storageKey:r}=l;this.state={isNoticeClosed:localStorage.getItem(r)!==null}}render(){const{children:l}=this.props,{isNoticeClosed:r}=this.state;return r?null:e.jsxs("div",{className:"Notice",children:[e.jsx("div",{className:"text",children:l}),e.jsx(Y,{name:"close",onClick:this.handleCloseNotice})]})}}const Ve="dcl-item-notice";function Ae(n){const{item:s,itemId:l,isLoading:r,status:h,collection:g,hasAccess:v,isWearableUtilityEnabled:D,onDelete:w,onSaveItem:x,onOpenModal:o}=n,p=d.useRef(null),N=Z(),y=d.useCallback(()=>{s&&N.push(k.itemEditor({itemId:s.id,collectionId:s.collectionId}),{fromParam:F(s.urn)?H.TP_COLLECTIONS:H.COLLECTIONS})},[N,s]),M=d.useCallback(async a=>{const c=await S({[j]:a}),u={...s,contents:{...s==null?void 0:s.contents,[j]:c[j]}};h&&[q.UNPUBLISHED,q.UNDER_REVIEW].includes(h)&&(u.video=c[j]),x(u,{[j]:a})},[x,s,h]),b=d.useCallback(()=>{o("EditVideoModal",{item:s,onSaveVideo:M})},[s,o,M]),L=d.useCallback(()=>{w(s)},[s,w]),I=d.useCallback(()=>{s&&z(s)?o("CreateSingleItemModal",{item:s,addRepresentation:!0}):o("CreateSingleItemModal",{item:s,changeItemFile:!0})},[o,s]),B=d.useCallback(()=>{o("EditItemURNModal",{item:s})},[s,o]),R=d.useCallback(async a=>{const c=J(a);x({...s,contents:{...s==null?void 0:s.contents,...await S({[_]:c})}},{[_]:c})},[x,s]),U=d.useCallback(()=>{(s==null?void 0:s.type)===ee.EMOTE?o("EditThumbnailModal",{onSaveThumbnail:R,item:s,collection:g}):p.current&&p.current.click()},[p.current,g,s,o,R]),O=d.useCallback(async a=>{const{files:c}=a.target;if(c&&c.length>0){const u=c[0],f=await se(u,1024,1024);f&&s&&(s.contents={...s.contents,...await S({[_]:f})},x(s,{[_]:f}))}},[x,s]),V=d.useCallback(()=>{o("MoveItemToCollectionModal",{item:s})},[s,o]),W=d.useCallback((a,c)=>{var A;const u=a.data,$=!(c&&ae(c));return e.jsxs(e.Fragment,{children:[e.jsx(t.Section,{children:e.jsx(t.Row,{children:e.jsx(Ue,{onClick:()=>N.push(k.collectionDetail(a.collectionId))})})}),e.jsxs(t.Narrow,{children:[!c&&!a.collectionId?e.jsx(Oe,{storageKey:Ve,children:i("item_detail_page.notice")}):null,e.jsxs("div",{className:"item-data",children:[e.jsxs("div",{className:"item-data-left-panel",children:[e.jsx(ie,{item:a,hasBadge:!0,hasRarityBadge:!0,hasUtilityBadge:!0}),e.jsx("div",{children:e.jsxs(t.Button,{primary:!0,onClick:U,children:[e.jsx("input",{type:"file",ref:p,onChange:O,accept:"image/png"}),e.jsx(t.Icon,{name:"camera"}),i("item_detail_page.edit_thumbnail")]})}),e.jsxs("div",{className:"metrics",children:[e.jsx("span",{className:"subtitle",children:i("item_detail_page.properties")}),e.jsx(le,{item:a})]}),C(a)?e.jsx(te,{item:a,onClick:b,children:(m,K,Q,qe)=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overlay",children:e.jsx(t.Icon,{name:"play",className:"play-video-button",onClick:b})}),e.jsxs(t.Button,{primary:!0,onClick:b,children:[e.jsx(t.Icon,{name:"video"}),i("item_detail_page.edit_video")]}),e.jsxs("div",{className:"metrics",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.properties")}),e.jsx(ne,{duration:K,size:Q,showIcons:!1})]})]})}):null,e.jsxs("div",{className:"details",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.details")}),a.isPublished&&e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.details_info.id")}),e.jsxs("div",{className:"value",children:["#",a.tokenId]})]}),u.category?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.category")}),e.jsx("div",{className:"value",children:i(`${a.type}.category.${u.category}`)})]}):null,a.isPublished&&a.rarity?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.supply")}),e.jsxs("div",{className:"value",children:[a.totalSupply,"/",ce(a)]})]}):null,c?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.collection")}),e.jsx(de,{className:"collection-link",to:k.collectionDetail(c.id,oe(c)),children:c.name})]}):null,a.urn?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("global.urn")}),e.jsxs("div",{className:"value urn",children:[e.jsxs("span",{children:[a.urn,e.jsx(re,{role:"button",text:a.urn,children:e.jsx(t.Icon,{"aria-label":"Copy urn","aria-hidden":"false",className:"link copy",name:"copy outline"})})]}),e.jsx("div",{className:"urn-actions",children:F(a.urn)?e.jsx(t.Popup,{content:i("collection_item.cannot_edit_urn"),disabled:!a.isPublished,position:"top center",trigger:e.jsx("div",{children:e.jsx("button",{disabled:a.isPublished,className:"link",onClick:B,children:i("item.edit_urn")})}),hideOnScroll:!0,on:"hover",inverted:!0,flowing:!0}):null})]})]}):null]})]}),e.jsxs("div",{className:"cards-container",children:[e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:a.name}),e.jsxs("div",{className:"actions",children:[C(a)&&e.jsx(t.Button,{className:"edit",inverted:!0,size:"small",onClick:I,children:i("global.edit")}),e.jsx(t.Button,{inverted:!0,size:"small",onClick:y,children:i("collection_detail_page.preview")}),$?e.jsx(t.Dropdown,{trigger:e.jsx(t.Button,{basic:!0,className:"more-actions-button",children:e.jsx(t.Icon,{name:"ellipsis horizontal"})}),inline:!0,direction:"left",children:e.jsxs(t.Dropdown.Menu,{children:[e.jsx(Le,{name:a.name,onDelete:L,trigger:a.isPublished?e.jsx(t.Popup,{content:i("item_detail_page.delete_published_item"),position:"right center",trigger:e.jsx(t.Dropdown.Item,{disabled:!0,text:i("global.delete")}),hideOnScroll:!0,on:"hover",inverted:!0,flowing:!0}):e.jsx(t.Dropdown.Item,{text:i("global.delete")})}),!a.collectionId&&e.jsx(t.Dropdown.Item,{text:i("collection_item.move_to_another_collection"),onClick:V})]})}):null]})]}),e.jsxs("div",{className:"attribute-row",children:[a.description&&e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("global.description")}),e.jsx("div",{className:"data",children:a.description})]}),a.utility&&D&&e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("global.utility")}),e.jsx("div",{className:"data",children:a.utility})]})]}),a.data.tags.length?e.jsx("div",{className:"attribute-row",children:e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.tags.title")}),e.jsx("div",{className:"data tags-container",children:a.data.tags.map(m=>e.jsx("span",{className:"tag",children:m},m))})]})}):null]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"title",children:i("item_detail_page.selling.title")}),e.jsxs("div",{className:"data",children:[ue(a)?e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.price")}),e.jsx("div",{className:"value",children:i("global.free")})]}):a.price?e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.price")}),a.price?e.jsx(t.Mana,{showTooltip:!0,network:me.Network.MATIC,children:he(a.price)}):"-"]}):null,e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.beneficiary")}),a.beneficiary?e.jsx("div",{className:"value",children:xe(a.beneficiary)}):"-"]})]})]}),pe(a)&&!C(a)?e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:i("item_detail_page.representations.title")}),e.jsx(t.Button,{className:"edit-button",inverted:!0,size:"small",onClick:I,children:z(a)?i("global.add"):i("global.edit")})]}),e.jsx("div",{className:"data",children:e.jsx("div",{className:"representations-container",children:a.data.representations.map(m=>e.jsxs("div",{className:"representation",children:[e.jsx("img",{className:"item-image",src:je(a),alt:a.name}),m.mainFile,e.jsx(ge,{item:a,bodyShape:m.bodyShapes[0]})]},m.mainFile))})})]}):null,C(a)&&((A=a.data.requiredPermissions)!=null&&A.length)?e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:i("item_detail_page.required_permissions")}),e.jsx(t.Button,{inverted:!0,className:"learn-more-permissions",size:"small",href:"https://docs.decentraland.org/creator/development-guide/sdk7/scene-metadata/#required-permissions",rel:"noopener noreferrer",target:"_blank",content:i("global.learn_more")})]}),e.jsx("div",{className:"data",children:e.jsx(ve,{requiredPermissions:a.data.requiredPermissions,basic:!0})})]}):null]})]})]})]})},[D,N,p,U,O,b,B,I,I,V,y,L,y]);return e.jsx(Me,{id:l,children:(a,c,u)=>e.jsx(Be,{className:"ItemDetailPage",hasNavigation:!v&&!r,isLoading:r||u,children:v&&a?W(a,c):e.jsx(Re,{})})})}const Fe=n=>{const s=be(n),l=s?Ie(n,s):null,r=fe(n),h=l&&l.collectionId?_e(n,l.collectionId):null,g=Ce(n),v=l?g[l.id]:null;return{itemId:s,wallet:r,item:l,collection:h,status:v,isWearableUtilityEnabled:ye(n),isLoading:T(P(n),Pe)||T(P(n),De)||T(P(n),we),hasAccess:l!==null&&Ee(n,r.address,h,l)}},He=n=>({onSaveItem:(s,l)=>n(ke(s,l)),onDelete:s=>n(Se(s)),onOpenModal:(s,l)=>n(Te(s,l))}),es=Ne(Fe,He)(Ae);export{es as default};
|
|
1
|
+
var G=Object.defineProperty;var X=(n,s,l)=>s in n?G(n,s,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[s]=l;var E=(n,s,l)=>X(n,typeof s!="symbol"?s+"":s,l);import{D as d,H as e,J as Y,Z,K as k,es as F,eS as H,eT as S,eU as j,eP as q,eV as z,eW as J,eX as _,eY as ee,eZ as se,e_ as ae,M as t,G as i,dD as ie,e$ as le,f0 as C,f1 as te,f2 as ne,f3 as ce,L as de,er as oe,cC as re,f4 as ue,b8 as me,f5 as he,cB as xe,f6 as pe,f7 as je,f8 as ge,f9 as ve,N as Ne,fa as be,fb as Ie,e9 as fe,fc as _e,fd as Ce,fe as ye,bw as T,eE as P,ff as Ee,fg as ke,ep as Se,X as Te,eN as Pe,fh as De,fi as we}from"./index-41C5YwXr.js";import{I as Me}from"./ItemProvider.container-BRoayas-.js";import{C as Le}from"./ConfirmDelete-qdY8nP-O.js";import{L as Be}from"./LoggedInDetailPage.container-D9YzD5-u.js";import{N as Re}from"./NotFound-CS8G9Pe7.js";import{B as Ue}from"./Back-By-4R-U1.js";import"./Navigation.container-DNCp40XB.js";import"./selectors-B-FgaFOX.js";import"./SignInRequired-oPiM_HvB.js";class Oe extends d.PureComponent{constructor(l){super(l);E(this,"state",{isNoticeClosed:!1});E(this,"handleCloseNotice",()=>{const{storageKey:l}=this.props;this.setState({isNoticeClosed:!0}),localStorage.setItem(l,"1")});const{storageKey:r}=l;this.state={isNoticeClosed:localStorage.getItem(r)!==null}}render(){const{children:l}=this.props,{isNoticeClosed:r}=this.state;return r?null:e.jsxs("div",{className:"Notice",children:[e.jsx("div",{className:"text",children:l}),e.jsx(Y,{name:"close",onClick:this.handleCloseNotice})]})}}const Ve="dcl-item-notice";function Ae(n){const{item:s,itemId:l,isLoading:r,status:h,collection:g,hasAccess:v,isWearableUtilityEnabled:D,onDelete:w,onSaveItem:x,onOpenModal:o}=n,p=d.useRef(null),N=Z(),y=d.useCallback(()=>{s&&N.push(k.itemEditor({itemId:s.id,collectionId:s.collectionId}),{fromParam:F(s.urn)?H.TP_COLLECTIONS:H.COLLECTIONS})},[N,s]),M=d.useCallback(async a=>{const c=await S({[j]:a}),u={...s,contents:{...s==null?void 0:s.contents,[j]:c[j]}};h&&[q.UNPUBLISHED,q.UNDER_REVIEW].includes(h)&&(u.video=c[j]),x(u,{[j]:a})},[x,s,h]),b=d.useCallback(()=>{o("EditVideoModal",{item:s,onSaveVideo:M})},[s,o,M]),L=d.useCallback(()=>{w(s)},[s,w]),I=d.useCallback(()=>{s&&z(s)?o("CreateSingleItemModal",{item:s,addRepresentation:!0}):o("CreateSingleItemModal",{item:s,changeItemFile:!0})},[o,s]),B=d.useCallback(()=>{o("EditItemURNModal",{item:s})},[s,o]),R=d.useCallback(async a=>{const c=J(a);x({...s,contents:{...s==null?void 0:s.contents,...await S({[_]:c})}},{[_]:c})},[x,s]),U=d.useCallback(()=>{(s==null?void 0:s.type)===ee.EMOTE?o("EditThumbnailModal",{onSaveThumbnail:R,item:s,collection:g}):p.current&&p.current.click()},[p.current,g,s,o,R]),O=d.useCallback(async a=>{const{files:c}=a.target;if(c&&c.length>0){const u=c[0],f=await se(u,1024,1024);f&&s&&(s.contents={...s.contents,...await S({[_]:f})},x(s,{[_]:f}))}},[x,s]),V=d.useCallback(()=>{o("MoveItemToCollectionModal",{item:s})},[s,o]),W=d.useCallback((a,c)=>{var A;const u=a.data,$=!(c&&ae(c));return e.jsxs(e.Fragment,{children:[e.jsx(t.Section,{children:e.jsx(t.Row,{children:e.jsx(Ue,{onClick:()=>N.push(k.collectionDetail(a.collectionId))})})}),e.jsxs(t.Narrow,{children:[!c&&!a.collectionId?e.jsx(Oe,{storageKey:Ve,children:i("item_detail_page.notice")}):null,e.jsxs("div",{className:"item-data",children:[e.jsxs("div",{className:"item-data-left-panel",children:[e.jsx(ie,{item:a,hasBadge:!0,hasRarityBadge:!0,hasUtilityBadge:!0}),e.jsx("div",{children:e.jsxs(t.Button,{primary:!0,onClick:U,children:[e.jsx("input",{type:"file",ref:p,onChange:O,accept:"image/png"}),e.jsx(t.Icon,{name:"camera"}),i("item_detail_page.edit_thumbnail")]})}),e.jsxs("div",{className:"metrics",children:[e.jsx("span",{className:"subtitle",children:i("item_detail_page.properties")}),e.jsx(le,{item:a})]}),C(a)?e.jsx(te,{item:a,onClick:b,children:(m,K,Q,qe)=>e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overlay",children:e.jsx(t.Icon,{name:"play",className:"play-video-button",onClick:b})}),e.jsxs(t.Button,{primary:!0,onClick:b,children:[e.jsx(t.Icon,{name:"video"}),i("item_detail_page.edit_video")]}),e.jsxs("div",{className:"metrics",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.properties")}),e.jsx(ne,{duration:K,size:Q,showIcons:!1})]})]})}):null,e.jsxs("div",{className:"details",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.details")}),a.isPublished&&e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.details_info.id")}),e.jsxs("div",{className:"value",children:["#",a.tokenId]})]}),u.category?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.category")}),e.jsx("div",{className:"value",children:i(`${a.type}.category.${u.category}`)})]}):null,a.isPublished&&a.rarity?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.supply")}),e.jsxs("div",{className:"value",children:[a.totalSupply,"/",ce(a)]})]}):null,c?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("item.collection")}),e.jsx(de,{className:"collection-link",to:k.collectionDetail(c.id,oe(c)),children:c.name})]}):null,a.urn?e.jsxs("div",{children:[e.jsx("div",{className:"subtitle",children:i("global.urn")}),e.jsxs("div",{className:"value urn",children:[e.jsxs("span",{children:[a.urn,e.jsx(re,{role:"button",text:a.urn,children:e.jsx(t.Icon,{"aria-label":"Copy urn","aria-hidden":"false",className:"link copy",name:"copy outline"})})]}),e.jsx("div",{className:"urn-actions",children:F(a.urn)?e.jsx(t.Popup,{content:i("collection_item.cannot_edit_urn"),disabled:!a.isPublished,position:"top center",trigger:e.jsx("div",{children:e.jsx("button",{disabled:a.isPublished,className:"link",onClick:B,children:i("item.edit_urn")})}),hideOnScroll:!0,on:"hover",inverted:!0,flowing:!0}):null})]})]}):null]})]}),e.jsxs("div",{className:"cards-container",children:[e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:a.name}),e.jsxs("div",{className:"actions",children:[C(a)&&e.jsx(t.Button,{className:"edit",inverted:!0,size:"small",onClick:I,children:i("global.edit")}),e.jsx(t.Button,{inverted:!0,size:"small",onClick:y,children:i("collection_detail_page.preview")}),$?e.jsx(t.Dropdown,{trigger:e.jsx(t.Button,{basic:!0,className:"more-actions-button",children:e.jsx(t.Icon,{name:"ellipsis horizontal"})}),inline:!0,direction:"left",children:e.jsxs(t.Dropdown.Menu,{children:[e.jsx(Le,{name:a.name,onDelete:L,trigger:a.isPublished?e.jsx(t.Popup,{content:i("item_detail_page.delete_published_item"),position:"right center",trigger:e.jsx(t.Dropdown.Item,{disabled:!0,text:i("global.delete")}),hideOnScroll:!0,on:"hover",inverted:!0,flowing:!0}):e.jsx(t.Dropdown.Item,{text:i("global.delete")})}),!a.collectionId&&e.jsx(t.Dropdown.Item,{text:i("collection_item.move_to_another_collection"),onClick:V})]})}):null]})]}),e.jsxs("div",{className:"attribute-row",children:[a.description&&e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("global.description")}),e.jsx("div",{className:"data",children:a.description})]}),a.utility&&D&&e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("global.utility")}),e.jsx("div",{className:"data",children:a.utility})]})]}),a.data.tags.length?e.jsx("div",{className:"attribute-row",children:e.jsxs("div",{className:"attribute-column",children:[e.jsx("div",{className:"subtitle",children:i("item_detail_page.tags.title")}),e.jsx("div",{className:"data tags-container",children:a.data.tags.map(m=>e.jsx("span",{className:"tag",children:m},m))})]})}):null]}),e.jsxs("div",{className:"card",children:[e.jsx("div",{className:"title",children:i("item_detail_page.selling.title")}),e.jsxs("div",{className:"data",children:[ue(a)?e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.price")}),e.jsx("div",{className:"value",children:i("global.free")})]}):a.price?e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.price")}),a.price?e.jsx(t.Mana,{showTooltip:!0,network:me.Network.MATIC,children:he(a.price)}):"-"]}):null,e.jsxs(t.Section,{children:[e.jsx("div",{className:"subtitle",children:i("item.beneficiary")}),a.beneficiary?e.jsx("div",{className:"value",children:xe(a.beneficiary)}):"-"]})]})]}),pe(a)&&!C(a)?e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:i("item_detail_page.representations.title")}),e.jsx(t.Button,{className:"edit-button",inverted:!0,size:"small",onClick:I,children:z(a)?i("global.add"):i("global.edit")})]}),e.jsx("div",{className:"data",children:e.jsx("div",{className:"representations-container",children:a.data.representations.map(m=>e.jsxs("div",{className:"representation",children:[e.jsx("img",{className:"item-image",src:je(a),alt:a.name}),m.mainFile,e.jsx(ge,{item:a,bodyShape:m.bodyShapes[0]})]},m.mainFile))})})]}):null,C(a)&&((A=a.data.requiredPermissions)!=null&&A.length)?e.jsxs("div",{className:"card",children:[e.jsxs("div",{className:"title-card-container",children:[e.jsx("div",{className:"title",children:i("item_detail_page.required_permissions")}),e.jsx(t.Button,{inverted:!0,className:"learn-more-permissions",size:"small",href:"https://docs.decentraland.org/creator/development-guide/sdk7/scene-metadata/#required-permissions",rel:"noopener noreferrer",target:"_blank",content:i("global.learn_more")})]}),e.jsx("div",{className:"data",children:e.jsx(ve,{requiredPermissions:a.data.requiredPermissions,basic:!0})})]}):null]})]})]})]})},[D,N,p,U,O,b,B,I,I,V,y,L,y]);return e.jsx(Me,{id:l,children:(a,c,u)=>e.jsx(Be,{className:"ItemDetailPage",hasNavigation:!v&&!r,isLoading:r||u,children:v&&a?W(a,c):e.jsx(Re,{})})})}const Fe=n=>{const s=be(n),l=s?Ie(n,s):null,r=fe(n),h=l&&l.collectionId?_e(n,l.collectionId):null,g=Ce(n),v=l?g[l.id]:null;return{itemId:s,wallet:r,item:l,collection:h,status:v,isWearableUtilityEnabled:ye(n),isLoading:T(P(n),Pe)||T(P(n),De)||T(P(n),we),hasAccess:l!==null&&Ee(n,r.address,h,l)}},He=n=>({onSaveItem:(s,l)=>n(ke(s,l)),onDelete:s=>n(Se(s)),onOpenModal:(s,l)=>n(Te(s,l))}),es=Ne(Fe,He)(Ae);export{es as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var h=Object.defineProperty;var m=(a,s,e)=>s in a?h(a,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[s]=e;var r=(a,s,e)=>m(a,typeof s!="symbol"?s+"":s,e);import{D as p,H as t,G as d,bm as g,M as o,L as u,K as x,cf as b,bJ as E,b8 as N,N as j,ch as L}from"./index-
|
|
1
|
+
var h=Object.defineProperty;var m=(a,s,e)=>s in a?h(a,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[s]=e;var r=(a,s,e)=>m(a,typeof s!="symbol"?s+"":s,e);import{D as p,H as t,G as d,bm as g,M as o,L as u,K as x,cf as b,bJ as E,b8 as N,N as j,ch as L}from"./index-41C5YwXr.js";import{L as f}from"./LandAction-VPDjrQkE.js";import{L as D}from"./LandProviderPage-D8_roYWH.js";import"./Back-By-4R-U1.js";import"./NotFound-CS8G9Pe7.js";let v=class extends p.PureComponent{constructor(){super(...arguments);r(this,"state",{});r(this,"handleNameChange",(e,n)=>{this.setState({name:n.value})});r(this,"handleDescriptionChange",(e,n)=>{this.setState({description:n.value})})}getName(e){return typeof this.state.name>"u"?e.name:this.state.name}getDescription(e){return typeof this.state.description>"u"?e.description||"":this.state.description}render(){const{onEdit:e}=this.props,{name:n,description:c}=this.state,l=!n&&!c;return t.jsx(D,{className:"LandEditPage",children:i=>t.jsx(f,{land:i,title:d("edit_page.title"),subtitle:t.jsx(g,{id:"edit_page.subtitle",values:{name:t.jsx("strong",{children:i.name})}}),children:t.jsxs(o.Form,{onSubmit:()=>e(i,this.getName(i),this.getDescription(i)),children:[t.jsx(o.Field,{label:"Name",value:this.getName(i),onChange:this.handleNameChange}),t.jsx(o.Field,{label:"Description",value:this.getDescription(i),onChange:this.handleDescriptionChange}),t.jsxs(o.Row,{children:[t.jsx(u,{className:"cancel",to:x.landDetail(i.id),children:t.jsx(o.Button,{children:d("global.cancel")})}),t.jsx(b,{type:"submit",primary:!0,disabled:l||!this.getName(i)||i.role!==E.OWNER,network:N.Network.ETHEREUM,children:d("global.submit")})]})]})})})}};const P=a=>({onEdit:(s,e,n)=>a(L(s,e,n))}),S=j(null,P)(v);export{S as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var A=Object.defineProperty;var D=(n,a,e)=>a in n?A(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e;var h=(n,a,e)=>D(n,typeof a!="symbol"?a+"":a,e);import{D as w,K as y,dg as O,dh as P,di as U,de as q,dj as C,H as s,M as r,G as t,cf as v,b8 as T,bm as H,L as I,N as Q,a_ as G,df as M,dk as V,cF as z,bw as E,cI as p,dl as K,dm as $,dn as J,dp as X,dq as Y,dr as Z,ds as ss,dt as L,du as k,cQ as es,cL as ns}from"./index-
|
|
1
|
+
var A=Object.defineProperty;var D=(n,a,e)=>a in n?A(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e;var h=(n,a,e)=>D(n,typeof a!="symbol"?a+"":a,e);import{D as w,K as y,dg as O,dh as P,di as U,de as q,dj as C,H as s,M as r,G as t,cf as v,b8 as T,bm as H,L as I,N as Q,a_ as G,df as M,dk as V,cF as z,bw as E,cI as p,dl as K,dm as $,dn as J,dp as X,dq as Y,dr as Z,ds as ss,dt as L,du as k,cQ as es,cL as ns}from"./index-41C5YwXr.js";import{L as as}from"./LandProviderPage-D8_roYWH.js";import{L as ts}from"./LandAction-VPDjrQkE.js";import"./NotFound-CS8G9Pe7.js";import"./Back-By-4R-U1.js";class os extends w.PureComponent{constructor(){super(...arguments);h(this,"handleFinish",()=>{const{onNavigate:e}=this.props;e(y.ens())});h(this,"handleSetResolver",()=>{const{onSetENSResolver:e,ens:o}=this.props;e(o)});h(this,"handleReclaim",()=>{const{onReclaimName:e,ens:o}=this.props;e(o)});h(this,"handleSetContent",()=>{const{onSetENSContent:e,ens:o,land:d}=this.props;e(o,d)});h(this,"handleBack",()=>{this.props.onBack()})}render(){const{ens:e,land:o,isLoading:d,isWaitingTxSetContent:i,isWaitingTxSetResolver:l,isWaitingTxReclaim:R,error:x}=this.props,_=e.ensOwnerAddress!==e.nftOwnerAddress,c=!O(e)&&e.resolver.toLowerCase()===P.toLowerCase(),g=!U(e)&&q(e,o),m=c||g,S=x&&x.code===4001,N=S&&x.origin===C.RESOLVER,b=S&&x.origin===C.CONTENT,B=S,W=c&&!l&&!N?"grey-button":"",f=g&&!i&&!b?"grey-button":"",u=N||m||_||l||R,j=b||N||B||!c||_||g||l||i||R;return s.jsxs(r.Form,{className:"LandAssignENSForm",children:[s.jsx(r.Row,{children:s.jsx("p",{className:"message",children:t("land_assign_ens_page.set_name_message",{strong:F=>s.jsx("strong",{children:F})})})}),s.jsx(r.Row,{children:s.jsxs("div",{className:u?"box box-disabled":"box",children:[s.jsx("h3",{children:t("land_assign_ens_page.set_resolver")}),s.jsxs("div",{className:"message-box",children:[s.jsx("p",{children:t("land_assign_ens_page.set_resolver_explanation")}),s.jsx(v,{type:"submit",disabled:u,onClick:this.handleSetResolver,className:W,loading:l,primary:!0,network:T.Network.ETHEREUM,children:N?t("global.retry_tx"):c?s.jsxs(s.Fragment,{children:[t("global.approved_tx"),l?null:s.jsx(r.Icon,{name:"check"})]}):t("global.submit")})]})]})}),s.jsx(r.Row,{children:s.jsxs("div",{className:j?"box box-disabled":"box",children:[s.jsx("h3",{children:t("land_assign_ens_page.set_content")}),s.jsxs("div",{className:"message-box",children:[s.jsx("p",{children:t("land_assign_ens_page.set_content_explanation")}),s.jsx(v,{type:"submit",disabled:j,onClick:this.handleSetContent,className:f,loading:i,primary:!0,network:T.Network.ETHEREUM,children:b?t("global.retry_tx"):g?s.jsxs(s.Fragment,{children:[t("global.approved_tx"),i?null:s.jsx(r.Icon,{name:"check"})]}):t("global.submit")})]})]})}),s.jsxs(r.Row,{className:"confirmation-buttons",children:[s.jsx(r.Button,{onClick:this.handleBack,disabled:m,children:t("global.back")}),s.jsx(r.Button,{disabled:!c||!g||d||i||l,onClick:this.handleFinish,primary:!0,children:t("global.finish")})]})]})}}let is=class extends w.PureComponent{constructor(){super(...arguments);h(this,"handleGoBack",()=>{this.props.history.goBack()})}render(){const{ens:e,isLoading:o,error:d,isWaitingTxSetContent:i,isWaitingTxReclaim:l,isWaitingTxSetResolver:R,history:x,onSetENSResolver:_,onSetENSContent:c,onReclaimName:g}=this.props;return s.jsx(as,{children:m=>e?s.jsx(ts,{land:m,title:t("land_assign_ens_page.title",{name:e.subdomain}),subtitle:s.jsx(H,{id:"land_assign_ens_page.subtitle",values:{land:s.jsx(I,{to:y.landDetail(m.id),children:m.name})}}),children:s.jsx(os,{land:m,ens:e,error:d,isLoading:o,isWaitingTxSetResolver:R,isWaitingTxSetContent:i,isWaitingTxReclaim:l,onSetENSContent:c,onSetENSResolver:_,onReclaimName:g,onBack:this.handleGoBack,onNavigate:S=>x.push(S)})}):s.jsx(r.Loader,{active:!0,size:"large"})})}};const rs=(n,a)=>{const{landId:e,subdomain:o}=a.match.params,d=M(n),i=V(d,o);return{ens:i,error:z(n),isWaitingTxSetResolver:E(p(n),L)||K(n),isWaitingTxSetContent:E(p(n),k)||$(n,e),isWaitingTxReclaim:i?J(n,i.subdomain)||X(n):!1,isLoading:E(p(n),L)||E(p(n),k)||E(p(n),es)||E(p(n),ns)}},ls=n=>({onSetENSResolver:a=>n(Y(a)),onSetENSContent:(a,e)=>n(Z(a,e)),onReclaimName:a=>n(ss(a))}),ps=Q(rs,ls)(G(is));export{ps as default};
|