@strapi/admin 4.13.2 → 4.13.3
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.
|
@@ -79,8 +79,11 @@ const checkIfShouldShowSurvey = (settings) => {
|
|
|
79
79
|
// Note that submitting a response resets the dismissal counts.
|
|
80
80
|
// Checks 3 and 4 should not be reversed, since the first dismissal will also exist if the user has dismissed the survey twice or more before.
|
|
81
81
|
|
|
82
|
-
//
|
|
83
|
-
|
|
82
|
+
// For users who had created an account before the NPS feature was introduced,
|
|
83
|
+
// we assume that they would have enabled the NPS feature if they had the chance.
|
|
84
|
+
|
|
85
|
+
// User chose not to enable the NPS feature when signing up
|
|
86
|
+
if (enabled === false) {
|
|
84
87
|
return false;
|
|
85
88
|
}
|
|
86
89
|
|
package/build/{Admin-authenticatedApp.5a6b7544.chunk.js → Admin-authenticatedApp.796792a8.chunk.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{7805:function(z,I,n){n.r(I),n.d(I,{default:function(){return _t}});var e=n(32735),o=n(45509),Z=n(33795),U=n.n(Z),C=n(20108),P={i8:"4.13.
|
|
1
|
+
"use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[801],{7805:function(z,I,n){n.r(I),n.d(I,{default:function(){return _t}});var e=n(32735),o=n(45509),Z=n(33795),U=n.n(Z),C=n(20108),P={i8:"4.13.3"},D=n(79652),x=n(90869),b=n(87107),B=n(71933),p=n(87933),f=n(49372),v=n(72850),ae=n(50563),se=n(76437),oe=n(3685),Oe=n(98275),xe=n(33475),Q=n(41415),H=n(35331),re=n(92802),W=n(67879),S=n(8471),Y=n(24346),ke=n(22773);const Ne=(0,S.ZP)(b.g)`
|
|
2
2
|
height: ${32/16}rem;
|
|
3
3
|
width: ${32/16}rem;
|
|
4
4
|
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
background-color: ${({theme:t})=>t.colors.neutral0};
|
|
32
32
|
border-color: ${({theme:t})=>t.colors.primary700};
|
|
33
33
|
}
|
|
34
|
-
`,K={postResponse:90*24*60*60*1e3,postFirstDismissal:7*24*60*60*1e3,postSubsequentDismissal:90*24*60*60*1e3,display:5*60*1e3},Ze=[...Array(11).keys()],Be=t=>{const{enabled:a,lastResponseDate:s,firstDismissalDate:i,lastDismissalDate:d}=t;return a
|
|
34
|
+
`,K={postResponse:90*24*60*60*1e3,postFirstDismissal:7*24*60*60*1e3,postSubsequentDismissal:90*24*60*60*1e3,display:5*60*1e3},Ze=[...Array(11).keys()],Be=t=>{const{enabled:a,lastResponseDate:s,firstDismissalDate:i,lastDismissalDate:d}=t;return a===!1?!1:s?Date.now()-new Date(s).getTime()>=K.postResponse:d?Date.now()-new Date(d).getTime()>=K.postSubsequentDismissal:i?Date.now()-new Date(i).getTime()>=K.postFirstDismissal:!0};var We=()=>{const t=(0,S.Fg)(),{formatMessage:a}=(0,W.Z)(),{npsSurveySettings:s,setNpsSurveySettings:i}=(0,ke.$)(),[d,u]=e.useState(!1),E=(0,o.lm)(),{currentEnvironment:m,strapiVersion:h}=(0,o.L7)(),{mutate:c,isLoading:M}=(0,C.useMutation)(async g=>{const y=await fetch("https://analytics.strapi.io/submit-nps",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)});if(!y.ok)throw new Error("Failed to submit NPS survey");return y},{onSuccess(){i(g=>({...g,lastResponseDate:new Date,firstDismissalDate:null,lastDismissalDate:null})),u(!0),setTimeout(()=>{k(!1)},3e3)},onError(){E({type:"warning",message:a({id:"notification.error"})})}}),[O,k]=e.useState(Be(s)),[F,N]=e.useState(!1);if(e.useEffect(()=>{const g=setTimeout(()=>{N(!0)},K.display);return()=>{clearTimeout(g)}},[]),!F||!O)return null;const R=({npsSurveyRating:g,npsSurveyFeedback:y})=>{const{email:A}=o.I8.getUserInfo();c({email:A,rating:g,comment:y,environment:m,version:h,license:window.strapi.projectType})},G=()=>{i(g=>{const y={...g,lastResponseDate:null};return g.firstDismissalDate?y.lastDismissalDate=new Date:y.firstDismissalDate=new Date,y}),k(!1)};return e.createElement(B.h,null,e.createElement(re.J9,{initialValues:{npsSurveyFeedback:"",npsSurveyRating:null},onSubmit:R,validationSchema:Y.Ry({npsSurveyFeedback:Y.Z_(),npsSurveyRating:Y.Rx().required()})},({values:g,handleChange:y,setFieldValue:A})=>e.createElement(re.l0,{name:"npsSurveyForm"},e.createElement(p.k,{hasRadius:!0,direction:"column",padding:4,borderColor:"primary200",background:"neutral0",shadow:"popupShadow",position:"fixed",bottom:0,left:"50%",transform:"translateX(-50%)",zIndex:t.zIndices[2],width:"50%"},d?e.createElement(f.Z,{fontWeight:"semiBold"},a({id:"app.components.NpsSurvey.feedback-response",defaultMessage:"Thank you very much for your feedback!"})):e.createElement(v.x,{as:"fieldset",width:"100%"},e.createElement(p.k,{justifyContent:"space-between",width:"100%"},e.createElement(v.x,{marginLeft:"auto",marginRight:"auto"},e.createElement(f.Z,{fontWeight:"semiBold",as:"legend"},a({id:"app.components.NpsSurvey.banner-title",defaultMessage:"How likely are you to recommend Strapi to a friend or colleague?"}))),e.createElement(ae.h,{onClick:G,"aria-label":a({id:"app.components.NpsSurvey.dismiss-survey-label",defaultMessage:"Dismiss survey"}),icon:e.createElement(H.Z,null)})),e.createElement(p.k,{gap:2,marginTop:2,marginBottom:2,justifyContent:"center"},e.createElement(f.Z,{variant:"pi",textColor:"neutral600"},a({id:"app.components.NpsSurvey.no-recommendation",defaultMessage:"Not at all likely"})),Ze.map(r=>e.createElement(Ne,{key:r,className:g.npsSurveyRating===r?"selected":null,hasRadius:!0,background:"primary100",borderColor:"primary200",color:"primary600",position:"relative",cursor:"pointer"},e.createElement(se.Q,{htmlFor:`nps-survey-rating-${r}-input`},e.createElement(oe.T,null,e.createElement(Oe._,{type:"radio",id:`nps-survey-rating-${r}-input`,name:"npsSurveyRating",checked:g.npsSurveyRating===r,onChange:L=>A("npsSurveyRating",parseInt(L.target.value,10)),value:r})),r))),e.createElement(f.Z,{variant:"pi",textColor:"neutral600"},a({id:"app.components.NpsSurvey.happy-to-recommend",defaultMessage:"Extremely likely"}))),g.npsSurveyRating!==null&&e.createElement(p.k,{direction:"column"},e.createElement(v.x,{marginTop:2},e.createElement(se.Q,{htmlFor:"npsSurveyFeedback",fontWeight:"semiBold",fontSize:2},a({id:"app.components.NpsSurvey.feedback-question",defaultMessage:"Do you have any suggestion for improvements?"}))),e.createElement(v.x,{width:"62%",marginTop:3,marginBottom:4},e.createElement(xe.g,{id:"npsSurveyFeedback",width:"100%",onChange:y},g.npsSurveyFeedback)),e.createElement(Q.z,{marginBottom:2,type:"submit",loading:M},a({id:"app.components.NpsSurvey.submit-feedback",defaultMessage:"Submit Feedback"}))))))))},Fe=n(74506),Ge=n(51968),V=n(15062),T=n(53038),Ue=n(88311),ie=n.n(Ue),$e=n(75974),le=n(67563),je=n(60216),l=n.n(je);const we=(0,S.ZP)(p.k)`
|
|
35
35
|
position: fixed;
|
|
36
36
|
z-index: 4;
|
|
37
37
|
inset: 0;
|
package/build/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="mobile-web-app-capable" content="yes"/><title>Strapi Admin</title><script defer="defer" src="/admin/runtime~main.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="mobile-web-app-capable" content="yes"/><title>Strapi Admin</title><script defer="defer" src="/admin/runtime~main.d2b8d4a1.js"></script><script defer="defer" src="/admin/main.0b88b960.js"></script></head><body><div style="min-height:100%" id="app"></div></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){"use strict";var j={},m={};function e(n){var i=m[n];if(i!==void 0)return i.exports;var t=m[n]={id:n,loaded:!1,exports:{}};return j[n].call(t.exports,t,t.exports,e),t.loaded=!0,t.exports}e.m=j,function(){var n=[];e.O=function(i,t,o,r){if(t){r=r||0;for(var a=n.length;a>0&&n[a-1][2]>r;a--)n[a]=n[a-1];n[a]=[t,o,r];return}for(var s=1/0,a=0;a<n.length;a++){for(var t=n[a][0],o=n[a][1],r=n[a][2],d=!0,l=0;l<t.length;l++)(r&!1||s>=r)&&Object.keys(e.O).every(function(p){return e.O[p](t[l])})?t.splice(l--,1):(d=!1,r<s&&(s=r));if(d){n.splice(a--,1);var c=o();c!==void 0&&(i=c)}}return i}}(),function(){e.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,{a:i}),i}}(),function(){var n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i;e.t=function(t,o){if(o&1&&(t=this(t)),o&8||typeof t=="object"&&t&&(o&4&&t.__esModule||o&16&&typeof t.then=="function"))return t;var r=Object.create(null);e.r(r);var a={};i=i||[null,n({}),n([]),n(n)];for(var s=o&2&&t;typeof s=="object"&&!~i.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(function(d){a[d]=function(){return t[d]}});return a.default=function(){return t},e.d(r,a),r}}(),function(){e.d=function(n,i){for(var t in i)e.o(i,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:i[t]})}}(),function(){e.f={},e.e=function(n){return Promise.all(Object.keys(e.f).reduce(function(i,t){return e.f[t](n,i),i},[]))}}(),function(){e.u=function(n){return""+({46:"content-type-builder-translation-zh-Hans-json",90:"i18n-translation-de-json",92:"api-tokens-edit-page",96:"email-translation-de-json",123:"ru-json",129:"i18n-translation-es-json",302:"sso-settings-page",320:"en-json",349:"review-workflows-settings-list-view",395:"tr-json",435:"email-translation-it-json",562:"no-json",585:"upload-translation-pt-json",606:"sk-json",615:"upload-translation-uk-json",695:"upload-settings",742:"content-type-builder-translation-th-json",744:"email-translation-cs-json",749:"th-json",801:"Admin-authenticatedApp",830:"he-json",931:"content-type-builder-translation-en-json",994:"content-manager",1001:"content-type-builder-translation-nl-json",1009:"upload-translation-ms-json",1011:"zh-json",1018:"email-translation-ko-json",1023:"content-type-builder-translation-it-json",1056:"upload-translation-tr-json",1157:"email-translation-pt-BR-json",1167:"users-permissions-translation-ko-json",1180:"i18n-translation-tr-json",1312:"ja-json",1331:"upload-translation-es-json",1375:"upload-translation-pt-BR-json",1377:"ko-json",1442:"users-permissions-translation-cs-json",1495:"email-settings-page",1674:"users-permissions-translation-ru-json",1930:"users-permissions-translation-pt-json",2137:"i18n-translation-fr-json",2151:"content-type-builder-translation-id-json",2246:"content-type-builder-translation-dk-json",2248:"gu-json",2282:"users-providers-settings-page",2380:"users-permissions-translation-tr-json",2411:"email-translation-tr-json",2464:"users-permissions-translation-de-json",2489:"upload-translation-ko-json",2492:"transfer-tokens-edit-page",2544:"admin-edit-roles-page",2553:"zh-Hans-json",2567:"content-type-builder-translation-ko-json",2603:"email-translation-en-json",2648:"email-translation-ar-json",2657:"content-type-builder-translation-cs-json",2671:"nl-json",2742:"users-permissions-translation-zh-Hans-json",2812:"audit-logs-settings-page",3025:"ms-json",3038:"upload-translation-sk-json",3043:"email-translation-zh-Hans-json",3095:"users-permissions-translation-sk-json",3098:"users-permissions-translation-fr-json",3166:"email-translation-pt-json",3206:"email-translation-nl-json",3278:"vi-json",3304:"content-type-builder-translation-tr-json",3340:"pt-json",3455:"admin-roles-list",3516:"ca-json",3530:"users-permissions-translation-vi-json",3552:"i18n-settings-page",3650:"upload",3677:"Admin_pluginsPage",3702:"users-permissions-translation-pl-json",3825:"email-translation-dk-json",3948:"content-type-builder-translation-pl-json",3964:"content-type-builder-translation-ms-json",3981:"Admin_homePage",4021:"upload-translation-de-json",4121:"webhook-list-page",4179:"users-permissions-translation-id-json",4263:"admin-edit-users",4299:"api-tokens-create-page",4302:"content-type-builder-translation-zh-json",4409:"review-workflows-settings-edit-view",4587:"email-translation-th-json",4693:"email-translation-fr-json",4804:"upload-translation-ru-json",4816:"transfer-tokens-create-page",4987:"upload-translation-pl-json",5053:"upload-translation-zh-json",5162:"webhook-edit-page",5199:"admin-users",5222:"upload-translation-it-json",5296:"i18n-translation-dk-json",5388:"email-translation-ru-json",5396:"users-permissions-translation-zh-json",5516:"Admin_marketplace",5538:"admin-app",5751:"email-translation-es-json",5880:"upload-translation-ja-json",5894:"hu-json",5895:"Admin_settingsPage",5905:"content-type-builder-list-view",5906:"content-type-builder-translation-pt-BR-json",6232:"upload-translation-th-json",6280:"i18n-translation-ko-json",6332:"hi-json",6377:"users-permissions-translation-dk-json",6434:"upload-translation-en-json",6460:"users-permissions-translation-en-json",6745:"email-translation-uk-json",6784:"email-translation-ms-json",6817:"it-json",6831:"upload-translation-zh-Hans-json",6836:"users-permissions-translation-uk-json",6848:"email-translation-zh-json",6901:"de-json",7048:"users-permissions-translation-nl-json",7094:"users-permissions-translation-ar-json",7155:"content-type-builder-translation-de-json",7186:"content-type-builder-translation-ru-json",7327:"email-translation-vi-json",7347:"highlight.js",7403:"uk-json",7465:"upload-translation-dk-json",7519:"cs-json",7663:"email-translation-id-json",7808:"i18n-translation-zh-json",7817:"users-permissions-translation-es-json",7828:"users-permissions-translation-th-json",7833:"upload-translation-fr-json",7846:"pl-json",7898:"dk-json",7934:"content-type-builder-translation-pt-json",7958:"ar-json",7997:"content-type-builder-translation-sk-json",8006:"fr-json",8056:"api-tokens-list-page",8175:"i18n-translation-en-json",8178:"email-translation-ja-json",8329:"content-type-builder-translation-sv-json",8342:"content-type-builder-translation-es-json",8360:"eu-json",8367:"es-json",8418:"users-email-settings-page",8423:"upload-translation-ca-json",8467:"users-permissions-translation-sv-json",8481:"email-translation-pl-json",8573:"content-type-builder-translation-uk-json",8736:"users-permissions-translation-pt-BR-json",8853:"users-roles-settings-page",8880:"content-type-builder",8897:"id-json",8907:"content-type-builder-translation-ja-json",8936:"review-workflows-settings-create-view",8965:"content-type-builder-translation-fr-json",9220:"users-permissions-translation-ms-json",9303:"sv-json",9366:"i18n-translation-pl-json",9412:"email-translation-sk-json",9460:"users-advanced-settings-page",9497:"Admin_profilePage",9501:"Admin_InternalErrorPage",9502:"users-permissions-translation-ja-json",9511:"content-type-builder-translation-ar-json",9514:"Upload_ConfigureTheView",9600:"transfer-tokens-list-page",9647:"pt-BR-json",9726:"sa-json",9737:"i18n-translation-ru-json",9762:"i18n-translation-zh-Hans-json",9797:"upload-translation-he-json",9903:"ml-json",9905:"users-permissions-translation-it-json"}[n]||n)+"."+{46:"6ff57db6",78:"dcc6df5c",90:"362384a6",92:"9f2dce47",96:"1b334230",123:"1c976644",129:"87b494d1",302:"45153df5",311:"cb0884bb",320:"e12fd5fc",349:"419b8deb",395:"c9f22432",435:"a2ed8c78",448:"829e1344",502:"7bba43b1",562:"19a2dbfa",585:"6b937fdf",606:"b41847e8",615:"9950466a",695:"5e55266d",742:"122277cc",744:"6eaeec6a",749:"5f659396",801:"5a6b7544",830:"3cf0b48a",918:"54414509",931:"ed29ff4d",994:"f448efdf",1001:"997fe8cc",1009:"74f6d746",1011:"bfc2e036",1018:"4de49b23",1023:"e268ab74",1049:"ec69f5e0",1056:"74117e5c",1157:"81cca553",1167:"357d7a33",1180:"10f0600d",1227:"9f37e1dc",1312:"e1959a1c",1331:"ba2eb03a",1375:"d1704f0b",1377:"ce5d6d94",1386:"ea73b677",1387:"a86ac314",1442:"7e23424a",1495:"2809f0bf",1504:"eff012f7",1674:"8e883c67",1727:"b49f0713",1930:"a7eda429",2137:"57ddc77e",2151:"65255f93",2225:"649fb7bc",2237:"b832ae6e",2246:"fd626b67",2248:"7efe8cc2",2282:"11893e08",2379:"1f98a31a",2380:"2bd7ff98",2395:"0e5e8ded",2411:"e6c0f8fc",2464:"a6fb670f",2489:"a52eab64",2492:"d7bb2b3e",2544:"38a6c863",2553:"97efd015",2567:"04cb309d",2603:"4211d4d0",2648:"88304564",2657:"1ef9e106",2671:"fe38f0fb",2742:"8d82c809",2801:"8e1aa82a",2812:"96f9d608",3025:"0eddffd9",3038:"483a18f6",3043:"c6841563",3095:"7f37180f",3098:"7e55bbbb",3100:"2ba4df95",3166:"2a2a0643",3206:"377bdd9f",3278:"ee4c5537",3304:"41f44f77",3340:"ee554a41",3455:"1e2e814d",3483:"19381b40",3516:"fc6001d3",3530:"6722a8a2",3552:"5f716172",3650:"0660a088",3677:"16f837b8",3702:"0a7287d1",3739:"63e352f1",3825:"85402492",3948:"634f638b",3964:"f6b743b9",3981:"6f128523",4021:"420c943b",4121:"ca91df8b",4174:"f1f39e40",4179:"a5a0fb59",4263:"545fc882",4299:"e0c15627",4302:"3532b962",4409:"ce984d1f",4546:"6dbd695f",4587:"660fa9a8",4628:"9cbb6df5",4693:"78be2787",4724:"aea5c8c1",4804:"675f6b93",4816:"ebba16d8",4987:"426f31c9",5053:"e1dd6eb2",5162:"de45c635",5199:"b8ea5677",5222:"e87d7966",5296:"89401417",5388:"6bce37dd",5396:"7978eaa6",5516:"061a6e5a",5538:"2a8615ab",5751:"0b6b1006",5880:"44b88e7a",5894:"c74b6a1e",5895:"af7309e4",5905:"b71cf240",5906:"6a95dc71",6158:"c3c13c20",6232:"98d35574",6280:"ef4f9471",6332:"0d633692",6377:"60e50f48",6434:"8b7573ce",6460:"4b302272",6691:"4985ef22",6745:"bd1fb6bf",6784:"7390477e",6817:"bfe27ed8",6831:"db163b6b",6836:"6a0a1572",6848:"7a2232ea",6901:"e72545cf",7030:"b98dcedf",7048:"c9f92a3c",7094:"7d87d54d",7155:"63fcff7b",7186:"3af65503",7327:"9fb7e6d7",7347:"28a1547e",7403:"b7e38370",7464:"eb057bec",7465:"bbb2fa05",7519:"4b44411c",7663:"c97239fe",7808:"bef2dc07",7817:"35007573",7828:"1e9c0247",7833:"baab9911",7846:"d55e8e78",7898:"e77140ef",7934:"ddb44f8c",7958:"74e40bc7",7997:"c6078082",8006:"33c6428b",8056:"d747051c",8175:"1ec7becf",8178:"63eebd02",8276:"be3ed581",8329:"a6df2462",8342:"a4a361a9",8360:"63d0a898",8367:"b1f2284b",8418:"c1967c09",8423:"57954414",8467:"17187818",8481:"97d0db97",8573:"e1315acd",8736:"1b6d2920",8853:"2b051e6a",8880:"e5669749",8897:"41e07c46",8907:"9be0d5b2",8936:"4a156a19",8965:"499c3a46",9220:"c83f87c4",9303:"568cb7ae",9366:"dfac513d",9412:"53da2fcd",9460:"818d84eb",9497:"678bce24",9501:"38155af3",9502:"891fe76e",9511:"3e808e2f",9514:"3fc1c100",9600:"cfe1736c",9647:"ae0a0d2e",9726:"2c03ef4e",9737:"a3dbc125",9762:"757ce62d",9797:"0a830937",9806:"5d5a0e8d",9903:"940d7ace",9905:"0705465d",9944:"7af075a5"}[n]+".chunk.js"}}(),function(){e.miniCssF=function(n){}}(),function(){e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){e.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)}}(),function(){var n={},i="@strapi/admin:";e.l=function(t,o,r,a){if(n[t]){n[t].push(o);return}var s,d;if(r!==void 0)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==i+r){s=f;break}}s||(d=!0,s=document.createElement("script"),s.charset="utf-8",s.timeout=120,e.nc&&s.setAttribute("nonce",e.nc),s.setAttribute("data-webpack",i+r),s.src=t),n[t]=[o];var u=function(g,p){s.onerror=s.onload=null,clearTimeout(b);var h=n[t];if(delete n[t],s.parentNode&&s.parentNode.removeChild(s),h&&h.forEach(function(v){return v(p)}),g)return g(p)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),d&&document.head.appendChild(s)}}(),function(){e.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}(),function(){e.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n}}(),function(){e.p="/admin/"}(),function(){e.b=document.baseURI||self.location.href;var n={1303:0};e.f.j=function(o,r){var a=e.o(n,o)?n[o]:void 0;if(a!==0)if(a)r.push(a[2]);else if(o!=1303){var s=new Promise(function(f,u){a=n[o]=[f,u]});r.push(a[2]=s);var d=e.p+e.u(o),l=new Error,c=function(f){if(e.o(n,o)&&(a=n[o],a!==0&&(n[o]=void 0),a)){var u=f&&(f.type==="load"?"missing":f.type),b=f&&f.target&&f.target.src;l.message="Loading chunk "+o+` failed.
|
|
1
|
+
(function(){"use strict";var j={},m={};function e(n){var i=m[n];if(i!==void 0)return i.exports;var t=m[n]={id:n,loaded:!1,exports:{}};return j[n].call(t.exports,t,t.exports,e),t.loaded=!0,t.exports}e.m=j,function(){var n=[];e.O=function(i,t,o,r){if(t){r=r||0;for(var a=n.length;a>0&&n[a-1][2]>r;a--)n[a]=n[a-1];n[a]=[t,o,r];return}for(var s=1/0,a=0;a<n.length;a++){for(var t=n[a][0],o=n[a][1],r=n[a][2],d=!0,l=0;l<t.length;l++)(r&!1||s>=r)&&Object.keys(e.O).every(function(p){return e.O[p](t[l])})?t.splice(l--,1):(d=!1,r<s&&(s=r));if(d){n.splice(a--,1);var c=o();c!==void 0&&(i=c)}}return i}}(),function(){e.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(i,{a:i}),i}}(),function(){var n=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},i;e.t=function(t,o){if(o&1&&(t=this(t)),o&8||typeof t=="object"&&t&&(o&4&&t.__esModule||o&16&&typeof t.then=="function"))return t;var r=Object.create(null);e.r(r);var a={};i=i||[null,n({}),n([]),n(n)];for(var s=o&2&&t;typeof s=="object"&&!~i.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach(function(d){a[d]=function(){return t[d]}});return a.default=function(){return t},e.d(r,a),r}}(),function(){e.d=function(n,i){for(var t in i)e.o(i,t)&&!e.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:i[t]})}}(),function(){e.f={},e.e=function(n){return Promise.all(Object.keys(e.f).reduce(function(i,t){return e.f[t](n,i),i},[]))}}(),function(){e.u=function(n){return""+({46:"content-type-builder-translation-zh-Hans-json",90:"i18n-translation-de-json",92:"api-tokens-edit-page",96:"email-translation-de-json",123:"ru-json",129:"i18n-translation-es-json",302:"sso-settings-page",320:"en-json",349:"review-workflows-settings-list-view",395:"tr-json",435:"email-translation-it-json",562:"no-json",585:"upload-translation-pt-json",606:"sk-json",615:"upload-translation-uk-json",695:"upload-settings",742:"content-type-builder-translation-th-json",744:"email-translation-cs-json",749:"th-json",801:"Admin-authenticatedApp",830:"he-json",931:"content-type-builder-translation-en-json",994:"content-manager",1001:"content-type-builder-translation-nl-json",1009:"upload-translation-ms-json",1011:"zh-json",1018:"email-translation-ko-json",1023:"content-type-builder-translation-it-json",1056:"upload-translation-tr-json",1157:"email-translation-pt-BR-json",1167:"users-permissions-translation-ko-json",1180:"i18n-translation-tr-json",1312:"ja-json",1331:"upload-translation-es-json",1375:"upload-translation-pt-BR-json",1377:"ko-json",1442:"users-permissions-translation-cs-json",1495:"email-settings-page",1674:"users-permissions-translation-ru-json",1930:"users-permissions-translation-pt-json",2137:"i18n-translation-fr-json",2151:"content-type-builder-translation-id-json",2246:"content-type-builder-translation-dk-json",2248:"gu-json",2282:"users-providers-settings-page",2380:"users-permissions-translation-tr-json",2411:"email-translation-tr-json",2464:"users-permissions-translation-de-json",2489:"upload-translation-ko-json",2492:"transfer-tokens-edit-page",2544:"admin-edit-roles-page",2553:"zh-Hans-json",2567:"content-type-builder-translation-ko-json",2603:"email-translation-en-json",2648:"email-translation-ar-json",2657:"content-type-builder-translation-cs-json",2671:"nl-json",2742:"users-permissions-translation-zh-Hans-json",2812:"audit-logs-settings-page",3025:"ms-json",3038:"upload-translation-sk-json",3043:"email-translation-zh-Hans-json",3095:"users-permissions-translation-sk-json",3098:"users-permissions-translation-fr-json",3166:"email-translation-pt-json",3206:"email-translation-nl-json",3278:"vi-json",3304:"content-type-builder-translation-tr-json",3340:"pt-json",3455:"admin-roles-list",3516:"ca-json",3530:"users-permissions-translation-vi-json",3552:"i18n-settings-page",3650:"upload",3677:"Admin_pluginsPage",3702:"users-permissions-translation-pl-json",3825:"email-translation-dk-json",3948:"content-type-builder-translation-pl-json",3964:"content-type-builder-translation-ms-json",3981:"Admin_homePage",4021:"upload-translation-de-json",4121:"webhook-list-page",4179:"users-permissions-translation-id-json",4263:"admin-edit-users",4299:"api-tokens-create-page",4302:"content-type-builder-translation-zh-json",4409:"review-workflows-settings-edit-view",4587:"email-translation-th-json",4693:"email-translation-fr-json",4804:"upload-translation-ru-json",4816:"transfer-tokens-create-page",4987:"upload-translation-pl-json",5053:"upload-translation-zh-json",5162:"webhook-edit-page",5199:"admin-users",5222:"upload-translation-it-json",5296:"i18n-translation-dk-json",5388:"email-translation-ru-json",5396:"users-permissions-translation-zh-json",5516:"Admin_marketplace",5538:"admin-app",5751:"email-translation-es-json",5880:"upload-translation-ja-json",5894:"hu-json",5895:"Admin_settingsPage",5905:"content-type-builder-list-view",5906:"content-type-builder-translation-pt-BR-json",6232:"upload-translation-th-json",6280:"i18n-translation-ko-json",6332:"hi-json",6377:"users-permissions-translation-dk-json",6434:"upload-translation-en-json",6460:"users-permissions-translation-en-json",6745:"email-translation-uk-json",6784:"email-translation-ms-json",6817:"it-json",6831:"upload-translation-zh-Hans-json",6836:"users-permissions-translation-uk-json",6848:"email-translation-zh-json",6901:"de-json",7048:"users-permissions-translation-nl-json",7094:"users-permissions-translation-ar-json",7155:"content-type-builder-translation-de-json",7186:"content-type-builder-translation-ru-json",7327:"email-translation-vi-json",7347:"highlight.js",7403:"uk-json",7465:"upload-translation-dk-json",7519:"cs-json",7663:"email-translation-id-json",7808:"i18n-translation-zh-json",7817:"users-permissions-translation-es-json",7828:"users-permissions-translation-th-json",7833:"upload-translation-fr-json",7846:"pl-json",7898:"dk-json",7934:"content-type-builder-translation-pt-json",7958:"ar-json",7997:"content-type-builder-translation-sk-json",8006:"fr-json",8056:"api-tokens-list-page",8175:"i18n-translation-en-json",8178:"email-translation-ja-json",8329:"content-type-builder-translation-sv-json",8342:"content-type-builder-translation-es-json",8360:"eu-json",8367:"es-json",8418:"users-email-settings-page",8423:"upload-translation-ca-json",8467:"users-permissions-translation-sv-json",8481:"email-translation-pl-json",8573:"content-type-builder-translation-uk-json",8736:"users-permissions-translation-pt-BR-json",8853:"users-roles-settings-page",8880:"content-type-builder",8897:"id-json",8907:"content-type-builder-translation-ja-json",8936:"review-workflows-settings-create-view",8965:"content-type-builder-translation-fr-json",9220:"users-permissions-translation-ms-json",9303:"sv-json",9366:"i18n-translation-pl-json",9412:"email-translation-sk-json",9460:"users-advanced-settings-page",9497:"Admin_profilePage",9501:"Admin_InternalErrorPage",9502:"users-permissions-translation-ja-json",9511:"content-type-builder-translation-ar-json",9514:"Upload_ConfigureTheView",9600:"transfer-tokens-list-page",9647:"pt-BR-json",9726:"sa-json",9737:"i18n-translation-ru-json",9762:"i18n-translation-zh-Hans-json",9797:"upload-translation-he-json",9903:"ml-json",9905:"users-permissions-translation-it-json"}[n]||n)+"."+{46:"6ff57db6",78:"dcc6df5c",90:"362384a6",92:"9f2dce47",96:"1b334230",123:"1c976644",129:"87b494d1",302:"45153df5",311:"cb0884bb",320:"e12fd5fc",349:"419b8deb",395:"c9f22432",435:"a2ed8c78",448:"829e1344",502:"7bba43b1",562:"19a2dbfa",585:"6b937fdf",606:"b41847e8",615:"9950466a",695:"5e55266d",742:"122277cc",744:"6eaeec6a",749:"5f659396",801:"796792a8",830:"3cf0b48a",918:"54414509",931:"ed29ff4d",994:"f448efdf",1001:"997fe8cc",1009:"74f6d746",1011:"bfc2e036",1018:"4de49b23",1023:"e268ab74",1049:"ec69f5e0",1056:"74117e5c",1157:"81cca553",1167:"357d7a33",1180:"10f0600d",1227:"9f37e1dc",1312:"e1959a1c",1331:"ba2eb03a",1375:"d1704f0b",1377:"ce5d6d94",1386:"ea73b677",1387:"a86ac314",1442:"7e23424a",1495:"2809f0bf",1504:"eff012f7",1674:"8e883c67",1727:"b49f0713",1930:"a7eda429",2137:"57ddc77e",2151:"65255f93",2225:"649fb7bc",2237:"b832ae6e",2246:"fd626b67",2248:"7efe8cc2",2282:"11893e08",2379:"1f98a31a",2380:"2bd7ff98",2395:"0e5e8ded",2411:"e6c0f8fc",2464:"a6fb670f",2489:"a52eab64",2492:"d7bb2b3e",2544:"38a6c863",2553:"97efd015",2567:"04cb309d",2603:"4211d4d0",2648:"88304564",2657:"1ef9e106",2671:"fe38f0fb",2742:"8d82c809",2801:"8e1aa82a",2812:"96f9d608",3025:"0eddffd9",3038:"483a18f6",3043:"c6841563",3095:"7f37180f",3098:"7e55bbbb",3100:"2ba4df95",3166:"2a2a0643",3206:"377bdd9f",3278:"ee4c5537",3304:"41f44f77",3340:"ee554a41",3455:"1e2e814d",3483:"19381b40",3516:"fc6001d3",3530:"6722a8a2",3552:"5f716172",3650:"0660a088",3677:"16f837b8",3702:"0a7287d1",3739:"63e352f1",3825:"85402492",3948:"634f638b",3964:"f6b743b9",3981:"6f128523",4021:"420c943b",4121:"ca91df8b",4174:"f1f39e40",4179:"a5a0fb59",4263:"545fc882",4299:"e0c15627",4302:"3532b962",4409:"ce984d1f",4546:"6dbd695f",4587:"660fa9a8",4628:"9cbb6df5",4693:"78be2787",4724:"aea5c8c1",4804:"675f6b93",4816:"ebba16d8",4987:"426f31c9",5053:"e1dd6eb2",5162:"de45c635",5199:"b8ea5677",5222:"e87d7966",5296:"89401417",5388:"6bce37dd",5396:"7978eaa6",5516:"061a6e5a",5538:"2a8615ab",5751:"0b6b1006",5880:"44b88e7a",5894:"c74b6a1e",5895:"af7309e4",5905:"b71cf240",5906:"6a95dc71",6158:"c3c13c20",6232:"98d35574",6280:"ef4f9471",6332:"0d633692",6377:"60e50f48",6434:"8b7573ce",6460:"4b302272",6691:"4985ef22",6745:"bd1fb6bf",6784:"7390477e",6817:"bfe27ed8",6831:"db163b6b",6836:"6a0a1572",6848:"7a2232ea",6901:"e72545cf",7030:"b98dcedf",7048:"c9f92a3c",7094:"7d87d54d",7155:"63fcff7b",7186:"3af65503",7327:"9fb7e6d7",7347:"28a1547e",7403:"b7e38370",7464:"eb057bec",7465:"bbb2fa05",7519:"4b44411c",7663:"c97239fe",7808:"bef2dc07",7817:"35007573",7828:"1e9c0247",7833:"baab9911",7846:"d55e8e78",7898:"e77140ef",7934:"ddb44f8c",7958:"74e40bc7",7997:"c6078082",8006:"33c6428b",8056:"d747051c",8175:"1ec7becf",8178:"63eebd02",8276:"be3ed581",8329:"a6df2462",8342:"a4a361a9",8360:"63d0a898",8367:"b1f2284b",8418:"c1967c09",8423:"57954414",8467:"17187818",8481:"97d0db97",8573:"e1315acd",8736:"1b6d2920",8853:"2b051e6a",8880:"e5669749",8897:"41e07c46",8907:"9be0d5b2",8936:"4a156a19",8965:"499c3a46",9220:"c83f87c4",9303:"568cb7ae",9366:"dfac513d",9412:"53da2fcd",9460:"818d84eb",9497:"678bce24",9501:"38155af3",9502:"891fe76e",9511:"3e808e2f",9514:"3fc1c100",9600:"cfe1736c",9647:"ae0a0d2e",9726:"2c03ef4e",9737:"a3dbc125",9762:"757ce62d",9797:"0a830937",9806:"5d5a0e8d",9903:"940d7ace",9905:"0705465d",9944:"7af075a5"}[n]+".chunk.js"}}(),function(){e.miniCssF=function(n){}}(),function(){e.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}()}(),function(){e.o=function(n,i){return Object.prototype.hasOwnProperty.call(n,i)}}(),function(){var n={},i="@strapi/admin:";e.l=function(t,o,r,a){if(n[t]){n[t].push(o);return}var s,d;if(r!==void 0)for(var l=document.getElementsByTagName("script"),c=0;c<l.length;c++){var f=l[c];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==i+r){s=f;break}}s||(d=!0,s=document.createElement("script"),s.charset="utf-8",s.timeout=120,e.nc&&s.setAttribute("nonce",e.nc),s.setAttribute("data-webpack",i+r),s.src=t),n[t]=[o];var u=function(g,p){s.onerror=s.onload=null,clearTimeout(b);var h=n[t];if(delete n[t],s.parentNode&&s.parentNode.removeChild(s),h&&h.forEach(function(v){return v(p)}),g)return g(p)},b=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),d&&document.head.appendChild(s)}}(),function(){e.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}}(),function(){e.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n}}(),function(){e.p="/admin/"}(),function(){e.b=document.baseURI||self.location.href;var n={1303:0};e.f.j=function(o,r){var a=e.o(n,o)?n[o]:void 0;if(a!==0)if(a)r.push(a[2]);else if(o!=1303){var s=new Promise(function(f,u){a=n[o]=[f,u]});r.push(a[2]=s);var d=e.p+e.u(o),l=new Error,c=function(f){if(e.o(n,o)&&(a=n[o],a!==0&&(n[o]=void 0),a)){var u=f&&(f.type==="load"?"missing":f.type),b=f&&f.target&&f.target.src;l.message="Loading chunk "+o+` failed.
|
|
2
2
|
(`+u+": "+b+")",l.name="ChunkLoadError",l.type=u,l.request=b,a[1](l)}};e.l(d,c,"chunk-"+o,o)}else n[o]=0},e.O.j=function(o){return n[o]===0};var i=function(o,r){var a=r[0],s=r[1],d=r[2],l,c,f=0;if(a.some(function(b){return n[b]!==0})){for(l in s)e.o(s,l)&&(e.m[l]=s[l]);if(d)var u=d(e)}for(o&&o(r);f<a.length;f++)c=a[f],e.o(n,c)&&n[c]&&n[c][0](),n[c]=0;return e.O(u)},t=self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[];t.forEach(i.bind(null,0)),t.push=i.bind(null,t.push.bind(t))}(),function(){e.nc=void 0}()})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/admin",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.3",
|
|
4
4
|
"description": "Strapi Admin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@casl/ability": "^5.4.3",
|
|
44
44
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
45
|
-
"@strapi/data-transfer": "4.13.
|
|
45
|
+
"@strapi/data-transfer": "4.13.3",
|
|
46
46
|
"@strapi/design-system": "1.9.0",
|
|
47
|
-
"@strapi/helper-plugin": "4.13.
|
|
47
|
+
"@strapi/helper-plugin": "4.13.3",
|
|
48
48
|
"@strapi/icons": "1.9.0",
|
|
49
|
-
"@strapi/permissions": "4.13.
|
|
50
|
-
"@strapi/provider-audit-logs-local": "4.13.
|
|
51
|
-
"@strapi/typescript-utils": "4.13.
|
|
52
|
-
"@strapi/utils": "4.13.
|
|
49
|
+
"@strapi/permissions": "4.13.3",
|
|
50
|
+
"@strapi/provider-audit-logs-local": "4.13.3",
|
|
51
|
+
"@strapi/typescript-utils": "4.13.3",
|
|
52
|
+
"@strapi/utils": "4.13.3",
|
|
53
53
|
"axios": "1.5.0",
|
|
54
54
|
"bcryptjs": "2.4.3",
|
|
55
55
|
"browserslist": "^4.17.3",
|
|
@@ -154,5 +154,5 @@
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "377efaba51b6499e85f7768049a3246ccb9be57c"
|
|
158
158
|
}
|