diff --git a/package-lock.json b/package-lock.json index 571ddd54b..74e572b1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "@types/jest": "^29.5.12", "@types/webpack-env": "^1.18.4", "@typescript-eslint/eslint-plugin": "^6.19.1", - "eslint": "^8.56.0", + "eslint": "^8.57.0", "eslint-config-standard-with-typescript": "^43.0.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^16.6.2", @@ -2903,9 +2903,9 @@ "dev": true }, "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz", + "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -12870,16 +12870,16 @@ } }, "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz", + "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.0", + "@humanwhocodes/config-array": "^0.11.14", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", diff --git a/package.json b/package.json index 3f9ad179b..5090f8b81 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "@types/jest": "^29.5.12", "@types/webpack-env": "^1.18.4", "@typescript-eslint/eslint-plugin": "^6.19.1", - "eslint": "^8.56.0", + "eslint": "^8.57.0", "eslint-config-standard-with-typescript": "^43.0.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^16.6.2", diff --git a/public/build/entrypoints.json b/public/build/entrypoints.json index a0eedb80d..120928862 100644 --- a/public/build/entrypoints.json +++ b/public/build/entrypoints.json @@ -3,7 +3,7 @@ "main": { "js": [ "/bundles/pimcorestudioui/build/521.97212067.js", - "/bundles/pimcorestudioui/build/main.096b16db.js" + "/bundles/pimcorestudioui/build/main.c52e5fb5.js" ], "css": [ "/bundles/pimcorestudioui/build/main.3691bcd8.css" diff --git a/public/build/main.096b16db.js b/public/build/main.c52e5fb5.js similarity index 75% rename from public/build/main.096b16db.js rename to public/build/main.c52e5fb5.js index 03fa16204..37d7b8841 100644 --- a/public/build/main.096b16db.js +++ b/public/build/main.c52e5fb5.js @@ -1 +1 @@ -var Pimcore;(()=>{"use strict";var n,e,t,r,o,a={1091:(n,e,t)=>{t.r(e);var r=t(6609),o=t(1072);r.ZP.use(o.Db).init({fallbackLng:"en",ns:["translation"],resources:{},saveMissing:!0}).catch((function(n){console.error(n)})),r.ZP.on("missingKey",(function(n,e,t,r){}));const a=r.ZP;var i,l,c,s=t(7294),d=function(){return d=Object.assign||function(n){for(var e,t=1,r=arguments.length;tthead>tr:first-child >*:first-child {\n border-start-start-radius: 0;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:last-child {\n border-start-end-radius: 0;\n }\n\n .grid__cell-content {\n display: block; \n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid #F0F0F0;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &:first-of-type {\n border-left: 0;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n "],["\n table {\n table-layout: fixed;\n width: auto;\n }\n\n th {\n user-select: none;\n }\n\n th, td {\n line-height: 1.83;\n padding: ","px ","px;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:first-child {\n border-start-start-radius: 0;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:last-child {\n border-start-end-radius: 0;\n }\n\n .grid__cell-content {\n display: block; \n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid #F0F0F0;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &:first-of-type {\n border-left: 0;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n "])),e.Table.cellPaddingBlockSM,e.Table.cellPaddingInlineSM)}}),{hashPriority:"low"}),w=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},_=(0,v.kc)((function(n){var e=n.token;return{resizer:(0,n.css)(l||(l=w(["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n "],["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n "])),e.colorPrimary)}}),{hashPriority:"low"}),E=function(n){var e,t=_().styles,r=["grid__resizer"];return r.push(t.resizer),void 0!==n.onMouseDown&&r.push("grid__resizer--hoverable"),n.isResizing&&r.push("grid__resizer--resizing"),s.createElement("div",{className:r.join(" "),onMouseDown:n.onMouseDown,style:{transform:n.isResizing?"translateX(".concat(("rtl"===n.table.options.columnResizeDirection?-1:1)*(null!==(e=n.table.getState().columnSizingInfo.deltaOffset)&&void 0!==e?e:0),"px)"):""}})},k=function(n){var e,t,r=(0,s.useState)(n.columns)[0],o=(0,s.useState)(n.data),a=o[0],i=o[1],l=(e="table",t=(0,s.useContext)(m.E_).getPrefixCls(e,""),(0,b.Z)(t)[1]),c=x().styles,d=(0,s.useState)("onEnd")[0];(0,s.useEffect)((function(){i(n.data)}),[n.data]);var u={data:a,columns:r,getCoreRowModel:(0,g.sC)()};!0===n.resizable&&(u.columnResizeMode=d);var p=(0,h.b7)(u);return s.createElement("div",{className:["ant-table-wrapper",l,c.grid].join(" ")},s.createElement("div",{className:"ant-table ant-table-small"},s.createElement("div",{className:"ant-table-container"},s.createElement("div",{className:"ant-table-content"},s.createElement("table",{style:{width:p.getCenterTotalSize()}},s.createElement("thead",{className:"ant-table-thead"},p.getHeaderGroups().map((function(e){return s.createElement("tr",{key:e.id},e.headers.map((function(e){return s.createElement("th",{className:"ant-table-cell",key:e.id,style:{width:e.column.getSize(),maxWidth:e.column.getSize()}},s.createElement("div",{className:"grid__cell-content"},(0,h.ie)(e.column.columnDef.header,e.getContext())),!0===n.resizable&&e.column.getCanResize()&&s.createElement(E,{isResizing:e.column.getIsResizing(),onMouseDown:e.getResizeHandler(),table:p}))})))}))),s.createElement("tbody",{className:"ant-table-tbody"},p.getRowModel().rows.map((function(e){return s.createElement("tr",{className:"ant-table-row",key:e.id},e.getVisibleCells().map((function(e){return s.createElement("td",{className:"ant-table-cell",key:e.id,style:{width:e.column.getSize(),maxWidth:e.column.getSize()}},s.createElement("div",{className:"grid__cell-content"},(0,h.ie)(e.column.columnDef.cell,e.getContext())),!0===n.resizable&&s.createElement(E,{isResizing:e.column.getIsResizing(),table:p}))})))}))))))))},P=t(9202),S=t(7426),O=(0,P.LC)({baseQuery:(0,S.ni)({baseUrl:"/"}),endpoints:function(){return{}}}),j=O.enhanceEndpoints({addTagTypes:["Asset"]}).injectEndpoints({endpoints:function(n){return{apiAssetsGetCollection:n.query({query:function(n){return{url:"/api/assets",params:{page:n.page,itemsPerPage:n.itemsPerPage,parentId:n.parentId,idSearchTerm:n.idSearchTerm,excludeFolders:n.excludeFolders,assetPath:n.assetPath,assetPathIncludeParent:n.assetPathIncludeParent,assetPathIncludeDescendants:n.assetPathIncludeDescendants}}},providesTags:["Asset"]}),apiAssetsPost:n.mutation({query:function(n){return{url:"/api/assets",method:"POST",body:n.assetJsonldAssetWrite}},invalidatesTags:["Asset"]}),apiAssetsIdGet:n.query({query:function(n){return{url:"/api/assets/".concat(n.id)}},providesTags:["Asset"]}),apiAssetsIdPut:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"PUT",body:n.assetJsonldAssetWrite}},invalidatesTags:["Asset"]}),apiAssetsIdDelete:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"DELETE"}},invalidatesTags:["Asset"]}),apiAssetsIdPatch:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"PATCH",body:n.assetAssetWrite}},invalidatesTags:["Asset"]})}},overrideExisting:!1}),C=j.useApiAssetsGetCollectionQuery,T=(j.useApiAssetsPostMutation,j.useApiAssetsIdGetQuery),N=(j.useApiAssetsIdPutMutation,j.useApiAssetsIdDeleteMutation,j.useApiAssetsIdPatchMutation,t(2665)),A=t(5460),I=function(n){var e,t=n.id,r=T({id:t.toString()}),o=r.isLoading,a=r.isError,i=r.data;if(o||void 0===i)return s.createElement("div",null,"Loading...");if(a)return s.createElement("div",null,"Error");var l=[{key:"id",value:i.id},{key:"filename",value:i.filename}],c=(0,g.Cl)(),d=[c.accessor("key",{}),c.accessor("value",{})],u=[{title:"Home"}];return null===(e=i.fullPath)||void 0===e||e.split("/").forEach((function(n,e){""!==n&&u.push({title:n})})),s.createElement(s.Fragment,null,s.createElement(N.Z,{items:u,style:{marginTop:4,marginLeft:8}}),s.createElement(A.Z,{style:{marginTop:5,marginBottom:0}}),s.createElement("div",{style:{marginLeft:0}},s.createElement(k,{columns:d,data:l})))},z=t(469),M=t(5007),B=function(n,e,t){if(t||2===arguments.length)for(var r,o=0,a=e.length;o0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1].ant-tabs-nav {\n margin-bottom: 0;\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n }\n }\n "],["\n height: 100%;\n width: 100%;\n overflow: hidden;\n\n .ant-tabs-content {\n display: flex;\n height: 100%;\n }\n\n &.ant-tabs .ant-tabs-tab {\n padding: 0;\n transition: color .2s;\n }\n\n .ant-tabs-tabpane {\n position: relative;\n display: flex;\n height: 100%;\n width: 100%;\n }\n\n .ant-tabs-content-holder {\n overflow: auto;\n }\n\n &.ant-tabs .ant-tabs-tab+.ant-tabs-tab {\n margin-left: ","px;\n margin-right: ","px;\n }\n &.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ","\n }\n &.ant-tabs-top >.ant-tabs-nav {\n margin-bottom: 0;\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n }\n }\n "])),e.paddingSM,e.paddingSM,e.colorPrimaryActive,e.paddingSM,e.paddingSM,e.paddingXS,e.paddingXS,e.Tabs.paddingTabs,e.Tabs.itemUnselectedIconColor,e.colorIconHover,e.colorPrimaryActive),onlyActiveLabel:t(Ie||(Ie=Re(["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n border-bottom: 2px solid ",";\n }\n "],["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n border-bottom: 2px solid ",";\n }\n "])),e.colorPrimaryActive)}}),{hashPriority:"low"}),Ge=t(1006),Je=function(n){var e=n.defaultActiveKey,t=n.showLabelIfActive,r=n.items,o=He().styles;return s.createElement(Ge.Z,{className:"".concat(o.editorTabs," ").concat(!0===t?o.onlyActiveLabel:""),defaultActiveKey:e,items:r})},qe=function(){return qe=Object.assign||function(n){for(var e,t=1,r=arguments.length;t div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "],["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "])),e.paddingXXS,e.paddingSM,e.marginSM,e.paddingSM,e.paddingXS,e.paddingSM,e.marginSM,e.paddingXS)}}),{hashPriority:"low"}),At=t(3179),It=t(5908),zt=t(555),Mt=t(809),Bt=function(){var n=Nt().styles,e=[{key:1,label:"Custom Download",children:s.createElement(At.Z,{layout:"vertical"},s.createElement("div",{className:"entry-content__download-content-custom__dimensions"},s.createElement(At.Z.Item,{label:"Width",name:"width"},s.createElement(It.Z,{type:"number"})),s.createElement(At.Z.Item,{label:"Height",name:"height"},s.createElement(It.Z,{type:"number"}))),s.createElement("div",{className:"entry-content__download-content-custom__others"},s.createElement("div",null,s.createElement(At.Z.Item,{label:"Quality",name:"quality"},s.createElement(It.Z,{defaultValue:3,type:"number"})),s.createElement(At.Z.Item,{label:"DPI",name:"dpi"},s.createElement(It.Z,{defaultValue:3,type:"number"}))),s.createElement("div",null,s.createElement(At.Z.Item,{name:"mode"},s.createElement(zt.Z,{defaultValue:"mode"},s.createElement(zt.Z.Option,{value:"mode"},"Mode"),s.createElement(zt.Z.Option,{value:"sample"},"Sample"))),s.createElement(At.Z.Item,{name:"format"},s.createElement(zt.Z,{defaultValue:"format"},s.createElement(zt.Z.Option,{value:"format"},"Format"),s.createElement(zt.Z.Option,{value:"sample"},"Sample"))))),s.createElement("div",{className:"entry-content__download-content-custom__button"},s.createElement($.ZP,null,"Download")))}];return s.createElement("div",{className:n.sidebarContentEntry},s.createElement("p",{className:"sidebar__content-label"},"Details"),s.createElement("div",{className:"sidebar__content-entry-content"},s.createElement("div",{className:n.sidebarContentDimensions},s.createElement("div",{className:"entry-content__dimensions-label"},s.createElement("p",null,"Width"),s.createElement("p",null,"Height")),s.createElement("div",{className:"entry-content__dimensions-content"},s.createElement("p",null,"256 px"),s.createElement("p",null,"792 px"))),s.createElement("div",{className:n.sidebarContentDownload},s.createElement("p",{className:"sidebar__content-label"},"Download"),s.createElement("div",{className:"entry-content__download-content"},s.createElement("div",{className:"entry-content__download-content-thumbnail"},s.createElement(zt.Z,{defaultValue:"original"},s.createElement(zt.Z.Option,{value:"original"},"Original File"),s.createElement(zt.Z.Option,{value:"sample"},"Sample")),s.createElement($.ZP,{icon:s.createElement(yn,{name:"download-02"})})),s.createElement("div",{className:"entry-content__download-content-custom"},s.createElement(Mt.Z,{defaultActiveKey:["1"],items:e}))))))},Lt=new Ct;Lt.registerEntry({key:"details",icon:s.createElement(yn,{name:"view-details",options:{width:"16px",height:"16px"}}),component:s.createElement(Bt,null)}),Lt.registerButton({key:"focal-point",icon:s.createElement(yn,{name:"focal-point",options:{width:"16px",height:"16px"}}),onClick:function(){console.log("focal-point button clicked")}});var Xt=function(){var n=(0,s.useContext)(ue),e=T({id:n.id.toString()}).data,t=Lt.getEntries(),r=Lt.getButtons();return s.createElement(s.Fragment,null,s.createElement(_t,{src:e.fullPath}),s.createElement(St,{buttons:r,entries:t}))},Ft=new yt;Ft.register({key:"view",label:"asset.asset-editor-tabs.view",children:s.createElement(Xt,null),icon:s.createElement(yn,{name:"image-05"})}),Ft.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:s.createElement(st,null),icon:s.createElement(yn,{name:"edit"})}),Ft.register({key:"embedded-metadata",label:"asset.asset-editor-tabs.embedded-metadata",children:s.createElement(dt,null),icon:s.createElement(yn,{name:"data-sheet"})}),Ft.register({key:"custom-metadata",label:"asset.asset-editor-tabs.custom-metadata",children:s.createElement(ut,null),icon:s.createElement(yn,{name:"data-management-2"})}),Ft.register({key:"versions",label:"asset.asset-editor-tabs.versions",children:s.createElement(pt,null),icon:s.createElement(yn,{name:"history-outlined"})}),Ft.register({key:"schedule",label:"asset.asset-editor-tabs.schedule",children:s.createElement(ft,null),icon:s.createElement(yn,{name:"schedule-outlined"})}),Ft.register({key:"dependencies",label:"asset.asset-editor-tabs.dependencies",children:s.createElement(bt,null),icon:s.createElement(yn,{name:"hierarchy"})}),Ft.register({key:"notes-events",label:"asset.asset-editor-tabs.notes-events",children:s.createElement(mt,null),icon:s.createElement(yn,{name:"view-details"})}),Ft.register({key:"tags",label:"asset.asset-editor-tabs.tag",children:s.createElement(ht,null),icon:s.createElement(yn,{name:"tag-two-tone"})}),Ft.register({key:"workflow",label:"asset.asset-editor-tabs.workflow",children:s.createElement(gt,null),icon:s.createElement(yn,{name:"workflow"})});var Zt,Dt,Wt,Rt,Ht=function(){return Ht=Object.assign||function(n){for(var e,t=1,r=arguments.length;t .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n max-width: max(100px, calc(100% - 16px));\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "],["\n user-select: none;\n\n .tree-node__content {\n cursor: pointer;\n width: 100%;\n padding: 2px ","px 2px 0;\n white-space: nowrap;\n align-items: center;\n\n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n }\n\n &.tree-node--selected > .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n max-width: max(100px, calc(100% - 16px));\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "])),e.paddingSM,e.controlItemBgActiveHover,e.controlItemBgActive)}}),{hashPriority:"low"}),ir=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},lr=(0,v.kc)((function(n){var e=n.token;return{"tree-list__pager":(0,n.css)(Rt||(Rt=ir([" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "],[" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "])),e.paddingSM)}}),{hashPriority:"low"}),cr=function(){return cr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]]+)>/g,(function(n,e){var t=a[e];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof o){var i=this;return n[Symbol.replace].call(this,t,(function(){var n=arguments;return"object"!=Ar(n[n.length-1])&&(n=[].slice.call(n)).push(r(n,i)),o.apply(this,n)}))}return n[Symbol.replace].call(this,t,o)},Ir.apply(this,arguments)}function zr(n,e){return zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},zr(n,e)}var Mr=function(){return Mr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t{if(!t){var a=1/0;for(d=0;d=o)&&Object.keys(l.O).every((n=>l.O[n](t[c])))?t.splice(c--,1):(i=!1,o0&&n[d-1][2]>o;d--)n[d]=n[d-1];n[d]=[t,r,o]},l.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return l.d(e,{a:e}),e},t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);l.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,l.d(o,a),o},l.d=(n,e)=>{for(var t in e)l.o(e,t)&&!l.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},l.f={},l.e=n=>Promise.all(Object.keys(l.f).reduce(((e,t)=>(l.f[t](n,e),e)),[])),l.u=n=>n+"."+{30:"44b9dbec",69:"8ab99ac0",73:"d3b886bc",89:"39fb6d01",91:"4e5bb438",147:"25c2a81e",186:"b1ce0bf2",203:"eea7b94c",206:"2c60f00d",219:"d42cd884",225:"0f935de1",236:"35c72962",237:"efaf4bfc",238:"04dc70b0",248:"aa294ab1",266:"00c34a81",268:"df38cb5d",286:"cce1085f",290:"a149bad0",305:"136fd859",310:"121afe6a",318:"2424d265",333:"0f253e1b",343:"733161c3",464:"957a8200",487:"521f0d47",506:"8bb83477",509:"bfd99c0b",565:"85e26cda",568:"fcdf0784",607:"831ae78a",608:"41217201",626:"05e20db0",667:"9f88b901",679:"ac0107be",705:"5871b362",730:"ae51acff",732:"d5a99b06",751:"07f6b2a8",789:"2013ccf0",809:"97b7386f",882:"14312037",890:"59f20e97",892:"f6e3b0f9",907:"1c6445af",924:"649c4560"}[n]+".js",l.miniCssF=n=>{},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),l.hmd=n=>((n=Object.create(n)).children||(n.children=[]),Object.defineProperty(n,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+n.id)}}),n),l.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r={},o="Pimcore:",l.l=(n,e,t,a)=>{if(r[n])r[n].push(e);else{var i,c;if(void 0!==t)for(var s=document.getElementsByTagName("script"),d=0;d{i.onerror=i.onload=null,clearTimeout(f);var o=r[n];if(delete r[n],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((n=>n(t))),e)return e(t)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},l.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},l.p="/bundles/pimcorestudioui/build/",(()=>{var n={179:0};l.f.j=(e,t)=>{var r=l.o(n,e)?n[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var o=new Promise(((t,o)=>r=n[e]=[t,o]));t.push(r[2]=o);var a=l.p+l.u(e),i=new Error;l.l(a,(t=>{if(l.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,r[1](i)}}),"chunk-"+e,e)}},l.O.j=e=>0===n[e];var e=(e,t)=>{var r,o,[a,i,c]=t,s=0;if(a.some((e=>0!==n[e]))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(c)var d=c(l)}for(e&&e(t);sl(1091)));c=l.O(c),Pimcore=c})(); \ No newline at end of file +var Pimcore;(()=>{"use strict";var n,e,t,r,o,a={1091:(n,e,t)=>{t.r(e);var r=t(6609),o=t(1072);r.ZP.use(o.Db).init({fallbackLng:"en",ns:["translation"],resources:{},saveMissing:!0}).catch((function(n){console.error(n)})),r.ZP.on("missingKey",(function(n,e,t,r){}));const a=r.ZP;var i,l,c,s=t(7294),d=function(){return d=Object.assign||function(n){for(var e,t=1,r=arguments.length;tthead>tr:first-child >*:first-child {\n border-start-start-radius: 0;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:last-child {\n border-start-end-radius: 0;\n }\n\n .grid__cell-content {\n display: block; \n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid #F0F0F0;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &:first-of-type {\n border-left: 0;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n "],["\n table {\n table-layout: fixed;\n width: auto;\n }\n\n th {\n user-select: none;\n }\n\n th, td {\n line-height: 1.83;\n padding: ","px ","px;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:first-child {\n border-start-start-radius: 0;\n }\n\n &.ant-table-wrapper .ant-table-container table>thead>tr:first-child >*:last-child {\n border-start-end-radius: 0;\n }\n\n .grid__cell-content {\n display: block; \n width: fit-content;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .ant-table-cell {\n position: relative;\n border-left: 1px solid #F0F0F0;\n white-space: nowrap;\n text-overflow: ellipsis;\n\n &:first-of-type {\n border-left: 0;\n }\n\n &:last-of-type {\n border-right: 1px solid #F0F0F0;\n }\n }\n\n .ant-table-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n }\n "])),e.Table.cellPaddingBlockSM,e.Table.cellPaddingInlineSM)}}),{hashPriority:"low"}),w=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},_=(0,v.kc)((function(n){var e=n.token;return{resizer:(0,n.css)(l||(l=w(["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n "],["\n &.grid__resizer {\n position: absolute;\n right: -4px;\n top: 0;\n bottom: 0;\n width: 8px;\n z-index: 1;\n background-color: transparent;\n\n &--resizing {\n background-color: ",";\n width: 2px;\n right: -1px;\n }\n\n &--hoverable {\n cursor: col-resize;\n }\n }\n "])),e.colorPrimary)}}),{hashPriority:"low"}),E=function(n){var e,t=_().styles,r=["grid__resizer"];return r.push(t.resizer),void 0!==n.onMouseDown&&r.push("grid__resizer--hoverable"),n.isResizing&&r.push("grid__resizer--resizing"),s.createElement("div",{className:r.join(" "),onMouseDown:n.onMouseDown,style:{transform:n.isResizing?"translateX(".concat(("rtl"===n.table.options.columnResizeDirection?-1:1)*(null!==(e=n.table.getState().columnSizingInfo.deltaOffset)&&void 0!==e?e:0),"px)"):""}})},k=function(n){var e,t,r=(0,s.useState)(n.columns)[0],o=(0,s.useState)(n.data),a=o[0],i=o[1],l=(e="table",t=(0,s.useContext)(m.E_).getPrefixCls(e,""),(0,b.Z)(t)[1]),c=x().styles,d=(0,s.useState)("onEnd")[0];(0,s.useEffect)((function(){i(n.data)}),[n.data]);var u={data:a,columns:r,getCoreRowModel:(0,g.sC)()};!0===n.resizable&&(u.columnResizeMode=d);var p=(0,h.b7)(u);return s.createElement("div",{className:["ant-table-wrapper",l,c.grid].join(" ")},s.createElement("div",{className:"ant-table ant-table-small"},s.createElement("div",{className:"ant-table-container"},s.createElement("div",{className:"ant-table-content"},s.createElement("table",{style:{width:p.getCenterTotalSize()}},s.createElement("thead",{className:"ant-table-thead"},p.getHeaderGroups().map((function(e){return s.createElement("tr",{key:e.id},e.headers.map((function(e){return s.createElement("th",{className:"ant-table-cell",key:e.id,style:{width:e.column.getSize(),maxWidth:e.column.getSize()}},s.createElement("div",{className:"grid__cell-content"},(0,h.ie)(e.column.columnDef.header,e.getContext())),!0===n.resizable&&e.column.getCanResize()&&s.createElement(E,{isResizing:e.column.getIsResizing(),onMouseDown:e.getResizeHandler(),table:p}))})))}))),s.createElement("tbody",{className:"ant-table-tbody"},p.getRowModel().rows.map((function(e){return s.createElement("tr",{className:"ant-table-row",key:e.id},e.getVisibleCells().map((function(e){return s.createElement("td",{className:"ant-table-cell",key:e.id,style:{width:e.column.getSize(),maxWidth:e.column.getSize()}},s.createElement("div",{className:"grid__cell-content"},(0,h.ie)(e.column.columnDef.cell,e.getContext())),!0===n.resizable&&s.createElement(E,{isResizing:e.column.getIsResizing(),table:p}))})))}))))))))},P=t(9202),S=t(7426),O=(0,P.LC)({baseQuery:(0,S.ni)({baseUrl:"/"}),endpoints:function(){return{}}}),j=O.enhanceEndpoints({addTagTypes:["Asset"]}).injectEndpoints({endpoints:function(n){return{apiAssetsGetCollection:n.query({query:function(n){return{url:"/api/assets",params:{page:n.page,itemsPerPage:n.itemsPerPage,parentId:n.parentId,idSearchTerm:n.idSearchTerm,excludeFolders:n.excludeFolders,assetPath:n.assetPath,assetPathIncludeParent:n.assetPathIncludeParent,assetPathIncludeDescendants:n.assetPathIncludeDescendants}}},providesTags:["Asset"]}),apiAssetsPost:n.mutation({query:function(n){return{url:"/api/assets",method:"POST",body:n.assetJsonldAssetWrite}},invalidatesTags:["Asset"]}),apiAssetsIdGet:n.query({query:function(n){return{url:"/api/assets/".concat(n.id)}},providesTags:["Asset"]}),apiAssetsIdPut:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"PUT",body:n.assetJsonldAssetWrite}},invalidatesTags:["Asset"]}),apiAssetsIdDelete:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"DELETE"}},invalidatesTags:["Asset"]}),apiAssetsIdPatch:n.mutation({query:function(n){return{url:"/api/assets/".concat(n.id),method:"PATCH",body:n.assetAssetWrite}},invalidatesTags:["Asset"]})}},overrideExisting:!1}),C=j.useApiAssetsGetCollectionQuery,T=(j.useApiAssetsPostMutation,j.useApiAssetsIdGetQuery),N=(j.useApiAssetsIdPutMutation,j.useApiAssetsIdDeleteMutation,j.useApiAssetsIdPatchMutation,t(2665)),A=t(5460),I=function(n){var e,t=n.id,r=T({id:t.toString()}),o=r.isLoading,a=r.isError,i=r.data;if(o||void 0===i)return s.createElement("div",null,"Loading...");if(a)return s.createElement("div",null,"Error");var l=[{key:"id",value:i.id},{key:"filename",value:i.filename}],c=(0,g.Cl)(),d=[c.accessor("key",{}),c.accessor("value",{})],u=[{title:"Home"}];return null===(e=i.fullPath)||void 0===e||e.split("/").forEach((function(n,e){""!==n&&u.push({title:n})})),s.createElement(s.Fragment,null,s.createElement(N.Z,{items:u,style:{marginTop:4,marginLeft:8}}),s.createElement(A.Z,{style:{marginTop:5,marginBottom:0}}),s.createElement("div",{style:{marginLeft:0}},s.createElement(k,{columns:d,data:l})))},z=t(469),M=t(5007),B=function(n,e,t){if(t||2===arguments.length)for(var r,o=0,a=e.length;o0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1].ant-tabs-nav {\n margin-bottom: 0;\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n }\n }\n "],["\n height: 100%;\n width: 100%;\n overflow: hidden;\n\n .ant-tabs-content {\n display: flex;\n height: 100%;\n }\n\n &.ant-tabs .ant-tabs-tab {\n padding: 0;\n transition: color .2s;\n }\n\n .ant-tabs-tabpane {\n position: relative;\n display: flex;\n height: 100%;\n width: 100%;\n }\n\n .ant-tabs-content-holder {\n overflow: auto;\n }\n\n &.ant-tabs .ant-tabs-tab+.ant-tabs-tab {\n margin-left: ","px;\n margin-right: ","px;\n }\n &.ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: ","\n }\n &.ant-tabs-top >.ant-tabs-nav {\n margin-bottom: 0;\n }\n\n &.ant-tabs .ant-tabs-tab-btn .ant-tabs-tab-icon:not(:last-child) {\n margin-inline-end: 0;\n }\n \n .ant-tabs-tab {\n padding: 0;\n \n &:first-of-type {\n margin-left: ","px;\n margin-right: ","px;\n }\n \n .ant-tabs-tab-btn {\n display: flex;\n padding-top: ","px;\n padding-bottom: ","px;\n justify-content: center;\n align-items: center;\n gap: ","px;\n \n .ant-tabs-tab-icon {\n height: 16px;\n justify-content: center;\n align-content: center;\n margin-inline-end: 0;\n color: ",";\n \n svg {\n height: 16px;\n width: 16px\n }\n }\n }\n\n &:not(.ant-tabs-tab-active) {\n .ant-tabs-tab-icon {\n &:hover {\n color: ",";\n }\n }\n }\n \n &.ant-tabs-tab-active {\n .ant-tabs-tab-icon {\n color: ","\n }\n }\n }\n "])),e.paddingSM,e.paddingSM,e.colorPrimaryActive,e.paddingSM,e.paddingSM,e.paddingXS,e.paddingXS,e.Tabs.paddingTabs,e.Tabs.itemUnselectedIconColor,e.colorIconHover,e.colorPrimaryActive),onlyActiveLabel:t(Ie||(Ie=Re(["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n border-bottom: 2px solid ",";\n }\n "],["\n .ant-tabs-tab:not(.ant-tabs-tab-active) {\n span:nth-child(2) {\n display: none;\n }\n\n .ant-tabs-tab-icon {\n margin-inline-end: 0;\n }\n }\n\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n\n .ant-tabs-tab.ant-tabs-tab-active {\n border-bottom: 2px solid ",";\n }\n "])),e.colorPrimaryActive)}}),{hashPriority:"low"}),Ge=t(1006),Je=function(n){var e=n.defaultActiveKey,t=n.showLabelIfActive,r=n.items,o=He().styles;return s.createElement(Ge.Z,{className:"".concat(o.editorTabs," ").concat(!0===t?o.onlyActiveLabel:""),defaultActiveKey:e,items:r})},qe=function(){return qe=Object.assign||function(n){for(var e,t=1,r=arguments.length;t div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "],["\n .entry-content__download-content-thumbnail {\n display: flex;\n align-items: center;\n gap: ","px;\n padding-bottom: ","px;\n \n .ant-select {\n flex: 1\n }\n }\n \n .entry-content__download-content-custom {\n .ant-form-item {\n margin-bottom: 0;\n }\n \n .entry-content__download-content-custom__dimensions {\n display: flex;\n gap: ","px;\n padding-bottom: ","px;\n }\n \n .entry-content__download-content-custom__others {\n display: flex;\n gap: ","px;\n flex-direction: column;\n padding-bottom: ","px;\n \n > div {\n display: flex;\n gap: ","px;\n \n >.ant-form-item {\n flex: 1\n }\n }\n }\n \n .entry-content__download-content-custom__button {\n padding: ","px 0;\n }\n }\n "])),e.paddingXXS,e.paddingSM,e.marginSM,e.paddingSM,e.paddingXS,e.paddingSM,e.marginSM,e.paddingXS)}}),{hashPriority:"low"}),At=t(3179),It=t(5908),zt=t(555),Mt=t(809),Bt=function(){var n=Nt().styles,e=[{key:1,label:"Custom Download",children:s.createElement(At.Z,{layout:"vertical"},s.createElement("div",{className:"entry-content__download-content-custom__dimensions"},s.createElement(At.Z.Item,{label:"Width",name:"width"},s.createElement(It.Z,{type:"number"})),s.createElement(At.Z.Item,{label:"Height",name:"height"},s.createElement(It.Z,{type:"number"}))),s.createElement("div",{className:"entry-content__download-content-custom__others"},s.createElement("div",null,s.createElement(At.Z.Item,{label:"Quality",name:"quality"},s.createElement(It.Z,{defaultValue:3,type:"number"})),s.createElement(At.Z.Item,{label:"DPI",name:"dpi"},s.createElement(It.Z,{defaultValue:3,type:"number"}))),s.createElement("div",null,s.createElement(At.Z.Item,{name:"mode"},s.createElement(zt.Z,{defaultValue:"mode"},s.createElement(zt.Z.Option,{value:"mode"},"Mode"),s.createElement(zt.Z.Option,{value:"sample"},"Sample"))),s.createElement(At.Z.Item,{name:"format"},s.createElement(zt.Z,{defaultValue:"format"},s.createElement(zt.Z.Option,{value:"format"},"Format"),s.createElement(zt.Z.Option,{value:"sample"},"Sample"))))),s.createElement("div",{className:"entry-content__download-content-custom__button"},s.createElement($.ZP,null,"Download")))}];return s.createElement("div",{className:n.sidebarContentEntry},s.createElement("p",{className:"sidebar__content-label"},"Details"),s.createElement("div",{className:"sidebar__content-entry-content"},s.createElement("div",{className:n.sidebarContentDimensions},s.createElement("div",{className:"entry-content__dimensions-label"},s.createElement("p",null,"Width"),s.createElement("p",null,"Height")),s.createElement("div",{className:"entry-content__dimensions-content"},s.createElement("p",null,"256 px"),s.createElement("p",null,"792 px"))),s.createElement("div",{className:n.sidebarContentDownload},s.createElement("p",{className:"sidebar__content-label"},"Download"),s.createElement("div",{className:"entry-content__download-content"},s.createElement("div",{className:"entry-content__download-content-thumbnail"},s.createElement(zt.Z,{defaultValue:"original"},s.createElement(zt.Z.Option,{value:"original"},"Original File"),s.createElement(zt.Z.Option,{value:"sample"},"Sample")),s.createElement($.ZP,{icon:s.createElement(yn,{name:"download-02"})})),s.createElement("div",{className:"entry-content__download-content-custom"},s.createElement(Mt.Z,{defaultActiveKey:["1"],items:e}))))))},Lt=new Ct;Lt.registerEntry({key:"details",icon:s.createElement(yn,{name:"view-details",options:{width:"16px",height:"16px"}}),component:s.createElement(Bt,null)}),Lt.registerButton({key:"focal-point",icon:s.createElement(yn,{name:"focal-point",options:{width:"16px",height:"16px"}}),onClick:function(){console.log("focal-point button clicked")}});var Xt=function(){var n=(0,s.useContext)(ue),e=T({id:n.id.toString()}).data,t=Lt.getEntries(),r=Lt.getButtons();return s.createElement(s.Fragment,null,s.createElement(_t,{src:e.fullPath}),s.createElement(St,{buttons:r,entries:t}))},Ft=new yt;Ft.register({key:"view",label:"asset.asset-editor-tabs.view",children:s.createElement(Xt,null),icon:s.createElement(yn,{name:"image-05"})}),Ft.register({key:"edit",label:"asset.asset-editor-tabs.edit",children:s.createElement(st,null),icon:s.createElement(yn,{name:"edit"})}),Ft.register({key:"embedded-metadata",label:"asset.asset-editor-tabs.embedded-metadata",children:s.createElement(dt,null),icon:s.createElement(yn,{name:"data-sheet"})}),Ft.register({key:"custom-metadata",label:"asset.asset-editor-tabs.custom-metadata",children:s.createElement(ut,null),icon:s.createElement(yn,{name:"data-management-2"})}),Ft.register({key:"versions",label:"asset.asset-editor-tabs.versions",children:s.createElement(pt,null),icon:s.createElement(yn,{name:"history-outlined"})}),Ft.register({key:"schedule",label:"asset.asset-editor-tabs.schedule",children:s.createElement(ft,null),icon:s.createElement(yn,{name:"schedule-outlined"})}),Ft.register({key:"dependencies",label:"asset.asset-editor-tabs.dependencies",children:s.createElement(bt,null),icon:s.createElement(yn,{name:"hierarchy"})}),Ft.register({key:"notes-events",label:"asset.asset-editor-tabs.notes-events",children:s.createElement(mt,null),icon:s.createElement(yn,{name:"view-details"})}),Ft.register({key:"tags",label:"asset.asset-editor-tabs.tag",children:s.createElement(ht,null),icon:s.createElement(yn,{name:"tag-two-tone"})}),Ft.register({key:"workflow",label:"asset.asset-editor-tabs.workflow",children:s.createElement(gt,null),icon:s.createElement(yn,{name:"workflow"})});var Zt,Dt,Wt,Rt,Ht=function(){return Ht=Object.assign||function(n){for(var e,t=1,r=arguments.length;t .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n max-width: max(100px, calc(100% - 16px));\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "],["\n user-select: none;\n\n .tree-node__content {\n cursor: pointer;\n width: 100%;\n padding: 2px ","px 2px 0;\n white-space: nowrap;\n align-items: center;\n\n @media (hover: hover) {\n &:hover {\n background-color: ",";\n }\n }\n }\n\n &.tree-node--selected > .tree-node__content {\n background-color: ",";\n }\n\n .tree-node__content-wrapper {\n max-width: max(100px, calc(100% - 16px));\n }\n\n .tree-node-content__label {\n display: inline-block;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n "])),e.paddingSM,e.controlItemBgActiveHover,e.controlItemBgActive)}}),{hashPriority:"low"}),ir=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},lr=(0,v.kc)((function(n){var e=n.token;return{"tree-list__pager":(0,n.css)(Rt||(Rt=ir([" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "],[" \n padding: ","px 0;\n\n &:empty {\n padding: 0;\n }\n "])),e.paddingSM)}}),{hashPriority:"low"}),cr=function(){return cr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]0&&o[o.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]]+)>/g,(function(n,e){var t=a[e];return"$"+(Array.isArray(t)?t.join("$"):t)})))}if("function"==typeof o){var i=this;return n[Symbol.replace].call(this,t,(function(){var n=arguments;return"object"!=Ar(n[n.length-1])&&(n=[].slice.call(n)).push(r(n,i)),o.apply(this,n)}))}return n[Symbol.replace].call(this,t,o)},Ir.apply(this,arguments)}function zr(n,e){return zr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},zr(n,e)}var Mr=function(){return Mr=Object.assign||function(n){for(var e,t=1,r=arguments.length;t{if(!t){var a=1/0;for(d=0;d=o)&&Object.keys(l.O).every((n=>l.O[n](t[c])))?t.splice(c--,1):(i=!1,o0&&n[d-1][2]>o;d--)n[d]=n[d-1];n[d]=[t,r,o]},l.n=n=>{var e=n&&n.__esModule?()=>n.default:()=>n;return l.d(e,{a:e}),e},t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,l.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);l.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,l.d(o,a),o},l.d=(n,e)=>{for(var t in e)l.o(e,t)&&!l.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},l.f={},l.e=n=>Promise.all(Object.keys(l.f).reduce(((e,t)=>(l.f[t](n,e),e)),[])),l.u=n=>n+"."+{30:"44b9dbec",69:"8ab99ac0",73:"d3b886bc",89:"39fb6d01",91:"4e5bb438",147:"25c2a81e",186:"b1ce0bf2",203:"eea7b94c",206:"2c60f00d",219:"d42cd884",225:"0f935de1",236:"35c72962",237:"efaf4bfc",238:"04dc70b0",248:"aa294ab1",266:"00c34a81",268:"df38cb5d",286:"cce1085f",290:"a149bad0",305:"136fd859",310:"121afe6a",318:"2424d265",333:"0f253e1b",343:"733161c3",464:"957a8200",487:"521f0d47",506:"8bb83477",509:"bfd99c0b",565:"85e26cda",568:"fcdf0784",607:"831ae78a",608:"41217201",626:"05e20db0",667:"9f88b901",679:"ac0107be",705:"5871b362",730:"ae51acff",732:"d5a99b06",751:"07f6b2a8",789:"2013ccf0",809:"97b7386f",882:"14312037",890:"59f20e97",892:"f6e3b0f9",907:"1c6445af",924:"649c4560"}[n]+".js",l.miniCssF=n=>{},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),l.hmd=n=>((n=Object.create(n)).children||(n.children=[]),Object.defineProperty(n,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+n.id)}}),n),l.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r={},o="Pimcore:",l.l=(n,e,t,a)=>{if(r[n])r[n].push(e);else{var i,c;if(void 0!==t)for(var s=document.getElementsByTagName("script"),d=0;d{i.onerror=i.onload=null,clearTimeout(f);var o=r[n];if(delete r[n],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((n=>n(t))),e)return e(t)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},l.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},l.p="/bundles/pimcorestudioui/build/",(()=>{var n={179:0};l.f.j=(e,t)=>{var r=l.o(n,e)?n[e]:void 0;if(0!==r)if(r)t.push(r[2]);else{var o=new Promise(((t,o)=>r=n[e]=[t,o]));t.push(r[2]=o);var a=l.p+l.u(e),i=new Error;l.l(a,(t=>{if(l.o(n,e)&&(0!==(r=n[e])&&(n[e]=void 0),r)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,r[1](i)}}),"chunk-"+e,e)}},l.O.j=e=>0===n[e];var e=(e,t)=>{var r,o,[a,i,c]=t,s=0;if(a.some((e=>0!==n[e]))){for(r in i)l.o(i,r)&&(l.m[r]=i[r]);if(c)var d=c(l)}for(e&&e(t);sl(1091)));c=l.O(c),Pimcore=c})(); \ No newline at end of file diff --git a/public/build/manifest.json b/public/build/manifest.json index 94a053419..b509e94a2 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,6 +1,6 @@ { "bundles/pimcorestudioui/build/main.css": "/bundles/pimcorestudioui/build/main.3691bcd8.css", - "bundles/pimcorestudioui/build/main.js": "/bundles/pimcorestudioui/build/main.096b16db.js", + "bundles/pimcorestudioui/build/main.js": "/bundles/pimcorestudioui/build/main.c52e5fb5.js", "bundles/pimcorestudioui/build/238.04dc70b0.js": "/bundles/pimcorestudioui/build/238.04dc70b0.js", "bundles/pimcorestudioui/build/730.ae51acff.js": "/bundles/pimcorestudioui/build/730.ae51acff.js", "bundles/pimcorestudioui/build/568.fcdf0784.js": "/bundles/pimcorestudioui/build/568.fcdf0784.js",