From c6d4354db2d8043bd5040af0afff12361787cc53 Mon Sep 17 00:00:00 2001 From: robertSt7 Date: Thu, 14 Mar 2024 13:01:11 +0000 Subject: [PATCH] Automatic frontend build --- public/build/entrypoints.json | 2 +- public/build/{main.413866b5.js => main.7d7205c6.js} | 2 +- public/build/manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename public/build/{main.413866b5.js => main.7d7205c6.js} (99%) diff --git a/public/build/entrypoints.json b/public/build/entrypoints.json index c222d9fc6..d26b6ac17 100644 --- a/public/build/entrypoints.json +++ b/public/build/entrypoints.json @@ -3,7 +3,7 @@ "main": { "js": [ "/bundles/pimcorestudioui/build/480.002396ce.js", - "/bundles/pimcorestudioui/build/main.413866b5.js" + "/bundles/pimcorestudioui/build/main.7d7205c6.js" ], "css": [ "/bundles/pimcorestudioui/build/main.3691bcd8.css" diff --git a/public/build/main.413866b5.js b/public/build/main.7d7205c6.js similarity index 99% rename from public/build/main.413866b5.js rename to public/build/main.7d7205c6.js index ccdf9f363..3837b4b53 100644 --- a/public/build/main.413866b5.js +++ b/public/build/main.7d7205c6.js @@ -1 +1 @@ -var Pimcore;(()=>{"use strict";var n,e,t,r,o,a={4163:(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)}})),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)}})),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",{onMouseDown:n.onMouseDown,className:r.join(" "),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.resizeable&&(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",{key:e.id,className:"ant-table-cell",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.resizeable&&e.column.getCanResize()&&s.createElement(E,{onMouseDown:e.getResizeHandler(),isResizing:e.column.getIsResizing(),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",{key:e.id,className:"ant-table-cell",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.resizeable&&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),z=(j.useApiAssetsIdPutMutation,j.useApiAssetsIdDeleteMutation,j.useApiAssetsIdPatchMutation,t(2665)),A=t(5460),N=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(z.Z,{style:{marginTop:4,marginLeft:8},items:u}),s.createElement(A.Z,{style:{marginTop:5,marginBottom:0}}),s.createElement("div",{style:{marginLeft:0}},s.createElement(k,{data:l,columns:d})))},I=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(Ze||(Ze=Ke(["\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"}),nt=t(1006),et=function(n){var e=n.defaultActiveKey,t=n.showLabelIfActive,r=n.items,o=Ye().styles;return s.createElement(nt.Z,{className:"".concat(o.editorTabs," ").concat(!0===t?o.onlyActiveLabel:""),defaultActiveKey:e,items:r})},tt=function(){return tt=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)}})),Xt=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},Rt=(0,v.kc)((function(n){var e=n.token;return{"tree-list__pager":(0,n.css)(It||(It=Xt([" \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)}})),Dt=function(){return Dt=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"!=ur(n[n.length-1])&&(n=[].slice.call(n)).push(r(n,i)),o.apply(this,n)}))}return n[Symbol.replace].call(this,t,o)},pr.apply(this,arguments)}function fr(n,e){return fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},fr(n,e)}var br=function(){return br=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+"."+{12:"b99e1420",54:"67c7a911",58:"9cf6e23a",69:"fe349286",75:"1338af2a",121:"d7e855e7",125:"dea60f4e",151:"887021e7",169:"8822c732",216:"0f9af5f5",230:"ae7164c6",288:"328361dd",291:"bb13cb7e",296:"59065ed1",298:"830d7e38",307:"c11c33c6",324:"eb495a70",338:"6f243f38",347:"5e450f93",354:"ddd3ad80",397:"5f3d26ea",418:"95706954",447:"9c8796fa",476:"fa71ab78",491:"32b6bd6d",521:"846d03ce",524:"7d821f17",531:"f1b6fab6",577:"0ea5d061",621:"ad85fc5a",625:"b487b20e",630:"4125eca7",678:"c220b736",686:"f7f77fbc",718:"89fea253",732:"864ddc17",737:"ea4d483a",743:"7c7b54b8",766:"f9fa4235",801:"725aee54",902:"8ca4df31",905:"546b0a2d",931:"6bd2ca90",949:"adf98f9a",967:"d38ada47"}[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(4163)));c=l.O(c),Pimcore=c})(); \ No newline at end of file +var Pimcore;(()=>{"use strict";var n,e,t,r,o,a={4163:(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)}})),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)}})),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",{onMouseDown:n.onMouseDown,className:r.join(" "),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.resizeable&&(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",{key:e.id,className:"ant-table-cell",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.resizeable&&e.column.getCanResize()&&s.createElement(E,{onMouseDown:e.getResizeHandler(),isResizing:e.column.getIsResizing(),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",{key:e.id,className:"ant-table-cell",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.resizeable&&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),z=(j.useApiAssetsIdPutMutation,j.useApiAssetsIdDeleteMutation,j.useApiAssetsIdPatchMutation,t(2665)),A=t(5460),N=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(z.Z,{style:{marginTop:4,marginLeft:8},items:u}),s.createElement(A.Z,{style:{marginTop:5,marginBottom:0}}),s.createElement("div",{style:{marginLeft:0}},s.createElement(k,{data:l,columns:d})))},I=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(Ze||(Ze=Ke(["\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"}),nt=t(1006),et=function(n){var e=n.defaultActiveKey,t=n.showLabelIfActive,r=n.items,o=Ye().styles;return s.createElement(nt.Z,{className:"".concat(o.editorTabs," ").concat(!0===t?o.onlyActiveLabel:""),defaultActiveKey:e,items:r})},tt=function(){return tt=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)}})),Xt=function(n,e){return Object.defineProperty?Object.defineProperty(n,"raw",{value:e}):n.raw=e,n},Rt=(0,v.kc)((function(n){var e=n.token;return{"tree-list__pager":(0,n.css)(It||(It=Xt([" \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)}})),Dt=function(){return Dt=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"!=ur(n[n.length-1])&&(n=[].slice.call(n)).push(r(n,i)),o.apply(this,n)}))}return n[Symbol.replace].call(this,t,o)},pr.apply(this,arguments)}function fr(n,e){return fr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,e){return n.__proto__=e,n},fr(n,e)}var br=function(){return br=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+"."+{12:"b99e1420",54:"67c7a911",58:"9cf6e23a",69:"fe349286",75:"1338af2a",121:"d7e855e7",125:"dea60f4e",151:"887021e7",169:"8822c732",216:"0f9af5f5",230:"ae7164c6",288:"328361dd",291:"bb13cb7e",296:"59065ed1",298:"830d7e38",307:"c11c33c6",324:"eb495a70",338:"6f243f38",347:"5e450f93",354:"ddd3ad80",397:"5f3d26ea",418:"95706954",447:"9c8796fa",476:"fa71ab78",491:"32b6bd6d",521:"846d03ce",524:"7d821f17",531:"f1b6fab6",577:"0ea5d061",621:"ad85fc5a",625:"b487b20e",630:"4125eca7",678:"c220b736",686:"f7f77fbc",718:"89fea253",732:"864ddc17",737:"ea4d483a",743:"7c7b54b8",766:"f9fa4235",801:"725aee54",902:"8ca4df31",905:"546b0a2d",931:"6bd2ca90",949:"adf98f9a",967:"d38ada47"}[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(4163)));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 ce327dcf1..c9f4799cf 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.413866b5.js", + "bundles/pimcorestudioui/build/main.js": "/bundles/pimcorestudioui/build/main.7d7205c6.js", "bundles/pimcorestudioui/build/58.9cf6e23a.js": "/bundles/pimcorestudioui/build/58.9cf6e23a.js", "bundles/pimcorestudioui/build/678.c220b736.js": "/bundles/pimcorestudioui/build/678.c220b736.js", "bundles/pimcorestudioui/build/625.b487b20e.js": "/bundles/pimcorestudioui/build/625.b487b20e.js",