@strapi/admin 4.5.1 → 4.5.2

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.
Files changed (120) hide show
  1. package/admin/src/components/LeftMenu/index.js +22 -4
  2. package/admin/src/content-manager/components/DynamicTable/CellContent/RelationMultiple/index.js +4 -3
  3. package/admin/src/content-manager/pages/ListSettingsView/components/Settings.js +79 -76
  4. package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/FormApiTokenContainer/index.js +2 -2
  5. package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/FormBody/index.js +1 -1
  6. package/admin/src/pages/SettingsPage/pages/ApiTokens/EditView/components/FormHead/index.js +1 -1
  7. package/admin/src/translations/nl.json +210 -23
  8. package/admin/src/translations/pt.json +33 -32
  9. package/admin/src/translations/zh.json +280 -95
  10. package/build/{7692.31e83caa.chunk.js → 1233.bddaaa76.chunk.js} +144 -445
  11. package/build/1920.208c77f8.chunk.js +245 -0
  12. package/build/2438.afe24949.chunk.js +2525 -0
  13. package/build/2517.5cc235ba.chunk.js +117 -0
  14. package/build/4306.e62b841c.chunk.js +98 -0
  15. package/build/4318.7931eee7.chunk.js +30 -0
  16. package/build/4986.3820d11d.chunk.js +145 -0
  17. package/build/{8469.41c8d25f.chunk.js → 5015.f080b64e.chunk.js} +6 -1
  18. package/build/504.9aeff724.chunk.js +758 -0
  19. package/build/805.a1894307.chunk.js +138 -0
  20. package/build/8633.8da5488a.chunk.js +1 -0
  21. package/build/9707.932a3c12.chunk.js +70 -0
  22. package/build/Admin-authenticatedApp.7484bdf1.chunk.js +80 -0
  23. package/build/Admin_InternalErrorPage.e0317a5e.chunk.js +1 -0
  24. package/build/Admin_homePage.54e33c2d.chunk.js +77 -0
  25. package/build/Admin_marketplace.ff012eb2.chunk.js +26 -0
  26. package/build/Admin_pluginsPage.3c872de7.chunk.js +6 -0
  27. package/build/Admin_profilePage.e9fcce92.chunk.js +15 -0
  28. package/build/Admin_settingsPage.a1a5218b.chunk.js +178 -0
  29. package/build/admin-app.9cb0abc7.chunk.js +112 -0
  30. package/build/admin-edit-roles-page.23f15909.chunk.js +1 -0
  31. package/build/admin-edit-users.283b49ed.chunk.js +10 -0
  32. package/build/admin-users.a0748674.chunk.js +11 -0
  33. package/build/api-tokens-list-page.700e575f.chunk.js +16 -0
  34. package/build/content-manager.577fddcb.chunk.js +1200 -0
  35. package/build/content-type-builder-list-view.95012cf0.chunk.js +201 -0
  36. package/build/content-type-builder-translation-pt-json.96a31576.chunk.js +1 -0
  37. package/build/content-type-builder-translation-zh-json.3b0afd31.chunk.js +1 -0
  38. package/build/content-type-builder.95b9d6a2.chunk.js +145 -0
  39. package/build/email-settings-page.4bb3606f.chunk.js +15 -0
  40. package/build/email-translation-pt-json.159505ab.chunk.js +1 -0
  41. package/build/email-translation-zh-json.62b1c6fe.chunk.js +1 -0
  42. package/build/i18n-settings-page.195d42fe.chunk.js +1 -0
  43. package/build/i18n-translation-zh-json.eeebb849.chunk.js +1 -0
  44. package/build/index.html +1 -1
  45. package/build/main.23670c4c.js +2026 -0
  46. package/build/nl-json.26f39180.chunk.js +1 -0
  47. package/build/pt-json.cd67ba86.chunk.js +1 -0
  48. package/build/runtime~main.4dc8c7c6.js +2 -0
  49. package/build/sso-settings-page.9f091262.chunk.js +1 -0
  50. package/build/upload-settings.3010911f.chunk.js +18 -0
  51. package/build/upload-translation-pt-json.5c452b48.chunk.js +1 -0
  52. package/build/upload-translation-zh-json.ac5711de.chunk.js +1 -0
  53. package/build/upload.9f19f2e8.chunk.js +64 -0
  54. package/build/users-advanced-settings-page.9df41d67.chunk.js +13 -0
  55. package/build/users-email-settings-page.56d82eaf.chunk.js +28 -0
  56. package/build/users-permissions-translation-zh-json.92f406f9.chunk.js +1 -0
  57. package/build/users-providers-settings-page.96bb7da0.chunk.js +33 -0
  58. package/build/users-roles-settings-page.445e5e16.chunk.js +30 -0
  59. package/build/webhook-edit-page.3285abc4.chunk.js +75 -0
  60. package/build/webhook-list-page.b87821f2.chunk.js +42 -0
  61. package/build/zh-json.2ecc6b99.chunk.js +1 -0
  62. package/jest.config.front.js +0 -1
  63. package/package.json +11 -10
  64. package/webpack.alias.js +3 -2
  65. package/webpack.config.js +13 -1
  66. package/build/1856.db9f5782.chunk.js +0 -174
  67. package/build/2077.fed8c9c3.chunk.js +0 -206
  68. package/build/2912.fccb2c43.chunk.js +0 -259
  69. package/build/4318.5e670740.chunk.js +0 -30
  70. package/build/4610.7614b003.chunk.js +0 -342
  71. package/build/4715.8e33d630.chunk.js +0 -387
  72. package/build/4800.a6935af6.chunk.js +0 -1
  73. package/build/4982.9e58ea3f.chunk.js +0 -325
  74. package/build/6925.bb6dd64d.chunk.js +0 -762
  75. package/build/7379.e972985f.chunk.js +0 -1
  76. package/build/7841.4804bd98.chunk.js +0 -259
  77. package/build/7866.6db2248d.chunk.js +0 -505
  78. package/build/8380.37126e0d.chunk.js +0 -299
  79. package/build/8549.5e5fb6b6.chunk.js +0 -159
  80. package/build/8738.5a02bffb.chunk.js +0 -463
  81. package/build/9066.5d980488.chunk.js +0 -101
  82. package/build/9420.7addc099.chunk.js +0 -505
  83. package/build/9649.b6afc945.chunk.js +0 -199
  84. package/build/Admin-authenticatedApp.c07d2a86.chunk.js +0 -80
  85. package/build/Admin_InternalErrorPage.12e24216.chunk.js +0 -1
  86. package/build/Admin_homePage.26d32e30.chunk.js +0 -72
  87. package/build/Admin_marketplace.444ff7b8.chunk.js +0 -22
  88. package/build/Admin_pluginsPage.4d59785a.chunk.js +0 -1
  89. package/build/Admin_profilePage.da32abbc.chunk.js +0 -15
  90. package/build/Admin_settingsPage.bf2234e1.chunk.js +0 -178
  91. package/build/admin-app.b157c10a.chunk.js +0 -112
  92. package/build/admin-edit-roles-page.69d9fcb2.chunk.js +0 -1
  93. package/build/admin-edit-users.c585212f.chunk.js +0 -10
  94. package/build/admin-users.d71f198a.chunk.js +0 -11
  95. package/build/api-tokens-list-page.bb36535f.chunk.js +0 -16
  96. package/build/content-manager.f38edbb6.chunk.js +0 -1202
  97. package/build/content-type-builder-list-view.5b3cd768.chunk.js +0 -194
  98. package/build/content-type-builder-translation-pt-json.766bd747.chunk.js +0 -1
  99. package/build/content-type-builder-translation-zh-json.2cc55621.chunk.js +0 -1
  100. package/build/content-type-builder.16af63a6.chunk.js +0 -145
  101. package/build/email-settings-page.91c925a5.chunk.js +0 -103
  102. package/build/email-translation-pt-json.959ea070.chunk.js +0 -1
  103. package/build/email-translation-zh-json.3455468b.chunk.js +0 -1
  104. package/build/i18n-settings-page.4ef64441.chunk.js +0 -101
  105. package/build/main.ca8b0ee3.js +0 -9465
  106. package/build/nl-json.2b8cc3a0.chunk.js +0 -1
  107. package/build/pt-json.3161ca22.chunk.js +0 -1
  108. package/build/runtime~main.ede9da1e.js +0 -2
  109. package/build/sso-settings-page.9ceb0140.chunk.js +0 -1
  110. package/build/upload-settings.3f7ad973.chunk.js +0 -101
  111. package/build/upload-translation-zh-json.ee8fba96.chunk.js +0 -1
  112. package/build/upload.7084cea6.chunk.js +0 -7
  113. package/build/users-advanced-settings-page.6a838320.chunk.js +0 -101
  114. package/build/users-email-settings-page.73c41236.chunk.js +0 -1
  115. package/build/users-permissions-translation-zh-json.e03ae2a4.chunk.js +0 -1
  116. package/build/users-providers-settings-page.f8e78537.chunk.js +0 -1
  117. package/build/users-roles-settings-page.b33ec5e5.chunk.js +0 -30
  118. package/build/webhook-edit-page.dc9442ce.chunk.js +0 -23
  119. package/build/webhook-list-page.a110c462.chunk.js +0 -134
  120. package/build/zh-json.608aaf24.chunk.js +0 -1
@@ -1,194 +0,0 @@
1
- (self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[5905],{98599:function(V,W,c){(function(n,i){V.exports=i(c(32735))})(this,function(n){return function(i){var f={};function l(r){if(f[r])return f[r].exports;var a=f[r]={i:r,l:!1,exports:{}};return i[r].call(a.exports,a,a.exports,l),a.l=!0,a.exports}return l.m=i,l.c=f,l.d=function(r,a,p){l.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:p})},l.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},l.t=function(r,a){if(1&a&&(r=l(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var p=Object.create(null);if(l.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var y in r)l.d(p,y,function(h){return r[h]}.bind(null,y));return p},l.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return l.d(a,"a",a),a},l.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},l.p="",l(l.s=5)}({0:function(i,f){i.exports=n},5:function(i,f,l){"use strict";l.r(f);var r=l(0);function a(){return(a=Object.assign||function(p){for(var y=1;y<arguments.length;y++){var h=arguments[y];for(var $ in h)Object.prototype.hasOwnProperty.call(h,$)&&(p[$]=h[$])}return p}).apply(this,arguments)}f.default=function(p){return r.createElement("svg",a({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),r.createElement("path",{d:"M24 13.3a.2.2 0 01-.2.2H5.74l8.239 8.239a.2.2 0 010 .282L12.14 23.86a.2.2 0 01-.282 0L.14 12.14a.2.2 0 010-.282L11.86.14a.2.2 0 01.282 0L13.98 1.98a.2.2 0 010 .282L5.74 10.5H23.8c.11 0 .2.09.2.2v2.6z",fill:"#212134"}))}}})})},70404:function(V,W,c){(function(n,i){V.exports=i(c(32735))})(this,function(n){return function(i){var f={};function l(r){if(f[r])return f[r].exports;var a=f[r]={i:r,l:!1,exports:{}};return i[r].call(a.exports,a,a.exports,l),a.l=!0,a.exports}return l.m=i,l.c=f,l.d=function(r,a,p){l.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:p})},l.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},l.t=function(r,a){if(1&a&&(r=l(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var p=Object.create(null);if(l.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var y in r)l.d(p,y,function(h){return r[h]}.bind(null,y));return p},l.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return l.d(a,"a",a),a},l.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},l.p="",l(l.s=104)}({0:function(i,f){i.exports=n},104:function(i,f,l){"use strict";l.r(f);var r=l(0);function a(){return(a=Object.assign||function(p){for(var y=1;y<arguments.length;y++){var h=arguments[y];for(var $ in h)Object.prototype.hasOwnProperty.call(h,$)&&(p[$]=h[$])}return p}).apply(this,arguments)}f.default=function(p){return r.createElement("svg",a({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),r.createElement("path",{d:"M4.8.2c0-.11.09-.2.2-.2h18.8c.11 0 .2.09.2.2v4.4a.2.2 0 01-.2.2H5a.2.2 0 01-.2-.2V.2zM0 9.8c0-.11.09-.2.2-.2H19c.11 0 .2.09.2.2v4.4a.2.2 0 01-.2.2H.2a.2.2 0 01-.2-.2V9.8zM5 19.2a.2.2 0 00-.2.2v4.4c0 .11.09.2.2.2h18.8a.2.2 0 00.2-.2v-4.4a.2.2 0 00-.2-.2H5z",fill:"#212134"}))}}})})},33970:function(V,W,c){(function(n,i){V.exports=i(c(32735))})(this,function(n){return function(i){var f={};function l(r){if(f[r])return f[r].exports;var a=f[r]={i:r,l:!1,exports:{}};return i[r].call(a.exports,a,a.exports,l),a.l=!0,a.exports}return l.m=i,l.c=f,l.d=function(r,a,p){l.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:p})},l.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},l.t=function(r,a){if(1&a&&(r=l(r)),8&a||4&a&&typeof r=="object"&&r&&r.__esModule)return r;var p=Object.create(null);if(l.r(p),Object.defineProperty(p,"default",{enumerable:!0,value:r}),2&a&&typeof r!="string")for(var y in r)l.d(p,y,function(h){return r[h]}.bind(null,y));return p},l.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return l.d(a,"a",a),a},l.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},l.p="",l(l.s=110)}({0:function(i,f){i.exports=n},110:function(i,f,l){"use strict";l.r(f);var r=l(0);function a(){return(a=Object.assign||function(p){for(var y=1;y<arguments.length;y++){var h=arguments[y];for(var $ in h)Object.prototype.hasOwnProperty.call(h,$)&&(p[$]=h[$])}return p}).apply(this,arguments)}f.default=function(p){return r.createElement("svg",a({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p),r.createElement("path",{d:"M19 10h1a1 1 0 011 1v10a1 1 0 01-1 1H4a1 1 0 01-1-1V11a1 1 0 011-1h1V9a7 7 0 0114 0v1zm-2 0V9A5 5 0 007 9v1h10zm-6 4v4h2v-4h-2z",fill:"#8E8EA9"}))}}})})},14515:(V,W,c)=>{"use strict";c.r(W),c.d(W,{default:()=>on});var n=c(32735),i=c(88425),f=c(59290),l=c.n(f),r=c(98599),a=c.n(r),p=c(88677),y=c.n(p),h=c(95717),$=c.n(h),H=c(44526),_=c(19192),Z=c(90662),M=c(9808),pe=c(11856),ze=c(33795),R=c.n(ze),Ue=c(23973),We=c.n(Ue),He=c(89793),ue=c.n(He),Ke=c(23940),me=c.n(Ke),z=c(5636),ee=c(5141),Ge=c(60216),s=c.n(Ge),L=c(95602),S=c(53214),fe=c(32237),U=c(198),w=c(19615),O=c(92318),Xe=c(94009),Je=c.n(Xe),Qe=c(16925);const ge=(0,w.default)(Qe.G)`
2
- width: ${(0,i.pxToRem)(32)} !important;
3
- height: ${(0,i.pxToRem)(32)} !important;
4
- padding: ${(0,i.pxToRem)(9)};
5
- border-radius: ${(0,i.pxToRem)(64)};
6
- background: ${({theme:e})=>e.colors.neutral150};
7
- path {
8
- fill: ${({theme:e})=>e.colors.neutral500};
9
- }
10
- `,ye=w.default.div`
11
- position: absolute;
12
- display: none;
13
- top: 5px;
14
- right: ${(0,i.pxToRem)(8)};
15
-
16
- svg {
17
- width: ${(0,i.pxToRem)(10)};
18
- height: ${(0,i.pxToRem)(10)};
19
- path {
20
- fill: ${({theme:e})=>e.colors.primary600};
21
- }
22
- }
23
- `,Ye=(0,w.default)(M.Box)`
24
- flex-shrink: 0;
25
- width: ${(0,i.pxToRem)(140)};
26
- height: ${(0,i.pxToRem)(80)};
27
- position: relative;
28
- border: 1px solid ${({theme:e})=>e.colors.neutral200};
29
- background: ${({theme:e})=>e.colors.neutral100};
30
- border-radius: ${({theme:e})=>e.borderRadius};
31
- display: flex;
32
- justify-content: center;
33
- align-items: center;
34
-
35
- &.active,
36
- &:hover {
37
- border: 1px solid ${({theme:e})=>e.colors.primary200};
38
- background: ${({theme:e})=>e.colors.primary100};
39
-
40
- ${ye} {
41
- display: block;
42
- }
43
-
44
- ${ge} {
45
- background: ${({theme:e})=>e.colors.primary200};
46
- path {
47
- fill: ${({theme:e})=>e.colors.primary600};
48
- }
49
- }
50
-
51
- ${L.Typography} {
52
- color: ${({theme:e})=>e.colors.primary600};
53
- }
54
- }
55
- `,qe=(0,w.default)(Z.Stack)`
56
- align-items: center;
57
- `;function te({component:e,dzName:t,index:o,isActive:d,isInDevelopmentMode:g,onClick:m}){const{modifiedData:b,removeComponentFromDynamicZone:P}=(0,U.Z)(),{schema:{icon:v,displayName:x}}=R()(b,["components",e],{schema:{icon:null}}),E=u=>{u.stopPropagation(),P(t,o)};return n.createElement("button",{type:"button",onClick:m},n.createElement(Ye,{className:d?"active":"",borderRadius:"borderRadius",paddingLeft:4,paddingRight:4},n.createElement(qe,{spacing:1},n.createElement(ge,{icon:v||"dice-d6"}),n.createElement(M.Box,{maxWidth:`calc(${(0,i.pxToRem)(140)} - 32px)`},n.createElement(L.Typography,{variant:"pi",fontWeight:"bold",ellipsis:!0},x))),g&&n.createElement(ye,{role:"button",tabIndex:0,onKeyDown:u=>(u.key==="Enter"||u.key===" ")&&E(u),onClick:E},n.createElement(Je(),null))))}te.defaultProps={component:null,isActive:!1,isInDevelopmentMode:!1,onClick(){}},te.propTypes={component:s().string,dzName:s().string.isRequired,index:s().number.isRequired,isActive:s().bool,isInDevelopmentMode:s().bool,onClick:s().func};const _e=te,ve=w.default.tr`
58
- &.component-row,
59
- &.dynamiczone-row {
60
- position: relative;
61
- border-top: none !important;
62
-
63
- table tr:first-child {
64
- border-top: none;
65
- }
66
-
67
- > td:first-of-type {
68
- padding: 0 0 0 ${(0,i.pxToRem)(20)};
69
- position: relative;
70
-
71
- &::before {
72
- content: '';
73
- width: ${(0,i.pxToRem)(4)};
74
- height: calc(100% - 40px);
75
- position: absolute;
76
- top: -7px;
77
- left: 1.625rem;
78
- border-radius: 4px;
79
-
80
- ${({isFromDynamicZone:e,isChildOfDynamicZone:t,theme:o})=>t?`background-color: ${o.colors.primary200};`:e?`background-color: ${o.colors.primary200};`:`background: ${o.colors.neutral150};`}
81
- }
82
- }
83
- }
84
-
85
- &.dynamiczone-row > td:first-of-type {
86
- padding: 0;
87
- }
88
- `;function ne({customRowComponent:e,component:t,isFromDynamicZone:o,isNestedInDZComponent:d,firstLoopComponentUid:g}){const{modifiedData:m}=(0,U.Z)(),{schema:{attributes:b}}=R()(m,["components",t],{schema:{attributes:[]}});return n.createElement(ve,{isChildOfDynamicZone:o,className:"component-row"},n.createElement("td",{colSpan:12},n.createElement($e,{customRowComponent:e,items:b,targetUid:t,firstLoopComponentUid:g||t,editTarget:"components",isFromDynamicZone:o,isNestedInDZComponent:d,isSub:!0,secondLoopComponentUid:g?t:null})))}ne.defaultProps={component:null,customRowComponent:null,firstLoopComponentUid:null,isFromDynamicZone:!1,isNestedInDZComponent:!1},ne.propTypes={component:s().string,customRowComponent:s().func,firstLoopComponentUid:s().string,isFromDynamicZone:s().bool,isNestedInDZComponent:s().bool};const he=ne;var et=Object.defineProperty,tt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,Ee=(e,t,o)=>t in e?et(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,at=(e,t)=>{for(var o in t||(t={}))ot.call(t,o)&&Ee(e,o,t[o]);if(be)for(var o of be(t))rt.call(t,o)&&Ee(e,o,t[o]);return e},lt=(e,t)=>tt(e,nt(t));const it=(0,w.default)(l())`
89
- width: ${(0,i.pxToRem)(32)};
90
- height: ${(0,i.pxToRem)(32)};
91
- padding: ${(0,i.pxToRem)(9)};
92
- border-radius: ${(0,i.pxToRem)(64)};
93
- background: ${({theme:e})=>e.colors.primary100};
94
- path {
95
- fill: ${({theme:e})=>e.colors.primary600};
96
- }
97
- `,st=(0,w.default)(M.Box)`
98
- height: ${(0,i.pxToRem)(90)};
99
- position: absolute;
100
- width: 100%;
101
- top: 0;
102
- left: 0;
103
- `,ct=(0,w.default)(Z.Stack)`
104
- width: 100%;
105
- overflow-x: auto;
106
- `,dt=(0,w.default)(M.Box)`
107
- padding-top: ${(0,i.pxToRem)(90)};
108
- `,pt=(0,w.default)(Z.Stack)`
109
- flex-shrink: 0;
110
- width: ${(0,i.pxToRem)(140)};
111
- height: ${(0,i.pxToRem)(80)};
112
- justify-content: center;
113
- align-items: center;
114
- `;function oe({customRowComponent:e,components:t,addComponent:o,name:d,targetUid:g}){const{isInDevelopmentMode:m}=(0,U.Z)(),[b,P]=(0,n.useState)(0),{formatMessage:v}=(0,z.useIntl)(),x=u=>{b!==u&&P(u)},E=()=>{o(d)};return n.createElement(ve,{className:"dynamiczone-row",isFromDynamicZone:!0},n.createElement("td",{colSpan:12},n.createElement(st,{paddingLeft:8},n.createElement(ct,{horizontal:!0,spacing:2},m&&n.createElement("button",{type:"button",onClick:E},n.createElement(pt,{spacing:1},n.createElement(it,null),n.createElement(L.Typography,{variant:"pi",fontWeight:"bold",textColor:"primary600"},v({id:(0,O.Z)("button.component.add"),formatMessage:"Add a component"})))),t.map((u,T)=>n.createElement(_e,{key:u,dzName:d,index:T,component:u,isActive:b===T,isInDevelopmentMode:m,onClick:()=>x(T)})))),n.createElement(dt,null,t.map((u,T)=>{const C={customRowComponent:e,component:u};return n.createElement(M.Box,{tabId:`${T}`,key:u,style:{display:b===T?"block":"none"}},n.createElement("table",null,n.createElement("tbody",null,n.createElement(he,lt(at({},C),{isFromDynamicZone:!0,targetUid:g,key:u})))))}))))}oe.defaultProps={addComponent(){},components:[],customRowComponent:null,name:null},oe.propTypes={addComponent:s().func,components:s().instanceOf(Array),customRowComponent:s().func,name:s().string,targetUid:s().string.isRequired};const ut=oe,mt=(0,w.default)(M.Box)`
115
- table {
116
- width: 100%;
117
- white-space: nowrap;
118
- }
119
-
120
- thead {
121
- border-bottom: 1px solid ${({theme:e})=>e.colors.neutral150};
122
-
123
- tr {
124
- border-top: 0;
125
- }
126
- }
127
-
128
- tr {
129
- border-top: 1px solid ${({theme:e})=>e.colors.neutral150};
130
-
131
- & td,
132
- & th {
133
- padding: ${({theme:e})=>e.spaces[4]};
134
- }
135
-
136
- & td:first-of-type,
137
- & th:first-of-type {
138
- padding: 0 ${({theme:e})=>e.spaces[1]};
139
- }
140
- }
141
-
142
- th,
143
- td {
144
- vertical-align: middle;
145
- text-align: left;
146
- color: ${({theme:e})=>e.colors.neutral600};
147
- outline-offset: -4px;
148
- }
149
- `;var ft=Object.defineProperty,X=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Ce=(e,t,o)=>t in e?ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,gt=(e,t)=>{for(var o in t||(t={}))Te.call(t,o)&&Ce(e,o,t[o]);if(X)for(var o of X(t))xe.call(t,o)&&Ce(e,o,t[o]);return e},yt=(e,t)=>{var o={};for(var d in e)Te.call(e,d)&&t.indexOf(d)<0&&(o[d]=e[d]);if(e!=null&&X)for(var d of X(e))t.indexOf(d)<0&&xe.call(e,d)&&(o[d]=e[d]);return o};const vt=(0,w.default)(M.Box)`
150
- height: ${24/16}rem;
151
- width: ${24/16}rem;
152
- border-radius: 50%;
153
- display: flex;
154
- justify-content: center;
155
- align-items: center;
156
-
157
- svg {
158
- height: ${10/16}rem;
159
- width: ${10/16}rem;
160
- }
161
-
162
- svg path {
163
- fill: ${({theme:e,color:t})=>e.colors[`${t}600`]};
164
- }
165
- `,ht=(0,w.default)(M.Box)`
166
- border-radius: 0 0 ${({theme:e})=>e.borderRadius} ${({theme:e})=>e.borderRadius};
167
- display: block;
168
- width: 100%;
169
- border: none;
170
- position: relative;
171
- left: -0.25rem;
172
- `,we=e=>{var t=e,{children:o,icon:d,color:g}=t,m=yt(t,["children","icon","color"]);return n.createElement(ht,gt({paddingBottom:4,paddingTop:4,as:"button",type:"button"},m),n.createElement(_.Flex,null,n.createElement(vt,{color:g,"aria-hidden":!0,background:`${g}200`},d),n.createElement(M.Box,{paddingLeft:3},n.createElement(L.Typography,{variant:"pi",fontWeight:"bold",textColor:`${g}600`},o))))};we.propTypes={color:s().string.isRequired,children:s().string.isRequired,icon:s().node.isRequired};const bt=we;var Et=Object.defineProperty,Tt=Object.defineProperties,xt=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Pe=(e,t,o)=>t in e?Et(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,J=(e,t)=>{for(var o in t||(t={}))Ct.call(t,o)&&Pe(e,o,t[o]);if(Oe)for(var o of Oe(t))wt.call(t,o)&&Pe(e,o,t[o]);return e},re=(e,t)=>Tt(e,xt(t));function ae({addComponentToDZ:e,customRowComponent:t,editTarget:o,firstLoopComponentUid:d,isFromDynamicZone:g,isMain:m,isNestedInDZComponent:b,isSub:P,items:v,secondLoopComponentUid:x,targetUid:E}){const{formatMessage:u}=(0,z.useIntl)(),{trackUsage:T}=(0,i.useTracking)(),{isInDevelopmentMode:C,modifiedData:k,isInContentTypeView:D}=(0,U.Z)(),{onOpenModalAddField:F}=(0,fe.Z)(),j=()=>{T("hasClickedCTBAddFieldBanner"),F({forTarget:o,targetUid:E})};return E?v.length===0&&m?n.createElement(S.Table,{colCount:2,rowCount:2},n.createElement(S.Thead,null,n.createElement(S.Tr,null,n.createElement(S.Th,null,n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.name",defaultMessage:"Name"}))),n.createElement(S.Th,null,n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.type",defaultMessage:"Type"}))))),n.createElement(i.EmptyBodyTable,{action:n.createElement(H.Button,{onClick:j,size:"L",startIcon:n.createElement(l(),null),variant:"secondary"},u({id:(0,O.Z)("table.button.no-fields"),defaultMessage:"Add new field"})),colSpan:2,content:D?{id:(0,O.Z)("table.content.no-fields.collection-type"),defaultMessage:"Add your first field to this Collection-Type"}:{id:(0,O.Z)("table.content.no-fields.component"),defaultMessage:"Add your first field to this component"}})):n.createElement(mt,null,n.createElement(M.Box,J({paddingLeft:6,paddingRight:m?6:0},m&&{style:{overflowX:"auto"}}),n.createElement("table",null,m&&n.createElement("thead",null,n.createElement("tr",null,n.createElement("th",null,n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.name",defaultMessage:"Name"}))),n.createElement("th",{colSpan:"2"},n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.type",defaultMessage:"Type"}))))),n.createElement("tbody",null,v.map(I=>{const{type:N}=I,K=t;return n.createElement(n.Fragment,{key:I.name},n.createElement(K,re(J({},I),{isNestedInDZComponent:b,targetUid:E,editTarget:o,firstLoopComponentUid:d,isFromDynamicZone:g,secondLoopComponentUid:x})),N==="component"&&n.createElement(he,re(J({},I),{customRowComponent:t,targetUid:E,isNestedInDZComponent:g,editTarget:o,firstLoopComponentUid:d})),N==="dynamiczone"&&n.createElement(ut,re(J({},I),{customRowComponent:t,addComponent:e,targetUid:E})))})))),m&&C&&n.createElement(S.TFooter,{icon:n.createElement(l(),null),onClick:j},u({id:(0,O.Z)(`form.button.add.field.to.${k.contentType?k.contentType.schema.kind:o||"collectionType"}`),defaultMessage:"Add another field"})),P&&C&&n.createElement(bt,{icon:n.createElement(l(),null),onClick:j,color:g?"primary":"neutral"},u({id:(0,O.Z)("form.button.add.field.to.component"),defaultMessage:"Add another field"}))):n.createElement(S.Table,{colCount:2,rowCount:2},n.createElement(S.Thead,null,n.createElement(S.Tr,null,n.createElement(S.Th,null,n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.name",defaultMessage:"Name"}))),n.createElement(S.Th,null,n.createElement(L.Typography,{variant:"sigma",textColor:"neutral600"},u({id:"global.type",defaultMessage:"Type"}))))),n.createElement(i.EmptyBodyTable,{colSpan:2,content:{id:(0,O.Z)("table.content.create-first-content-type"),defaultMessage:"Create your first Collection-Type"}}))}ae.defaultProps={addComponentToDZ(){},customRowComponent:null,firstLoopComponentUid:null,isFromDynamicZone:!1,isNestedInDZComponent:!1,isMain:!1,isSub:!1,items:[],secondLoopComponentUid:null,targetUid:null},ae.propTypes={addComponentToDZ:s().func,customRowComponent:s().func,editTarget:s().string.isRequired,firstLoopComponentUid:s().string,isFromDynamicZone:s().bool,isNestedInDZComponent:s().bool,isMain:s().bool,items:s().instanceOf(Array),secondLoopComponentUid:s().string,targetUid:s().string,isSub:s().bool};const $e=ae;var Me=c(20763),Ot=c(33970),Pt=c.n(Ot),$t=c(76470),Mt=c.n($t),Lt=Object.defineProperty,Le=Object.getOwnPropertySymbols,Rt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,Re=(e,t,o)=>t in e?Lt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,jt=(e,t)=>{for(var o in t||(t={}))Rt.call(t,o)&&Re(e,o,t[o]);if(Le)for(var o of Le(t))St.call(t,o)&&Re(e,o,t[o]);return e};const Bt=(0,w.default)(M.Box)`
173
- position: absolute;
174
- left: -1.125rem;
175
- top: 0px;
176
-
177
- &:before {
178
- content: '';
179
- width: ${4/16}rem;
180
- height: ${12/16}rem;
181
- background: ${({theme:e,color:t})=>e.colors[t]};
182
- display: block;
183
- }
184
- `,Dt=w.default.svg`
185
- position: relative;
186
- flex-shrink: 0;
187
- transform: translate(-0.5px, -1px);
188
-
189
- * {
190
- fill: ${({theme:e,color:t})=>e.colors[t]};
191
- }
192
- `,Se=e=>n.createElement(Bt,null,n.createElement(Dt,jt({width:"20",height:"23",viewBox:"0 0 20 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.02477 14.7513C8.65865 17.0594 11.6046 18.6059 17.5596 18.8856C18.6836 18.9384 19.5976 19.8435 19.5976 20.9688V20.9688C19.5976 22.0941 18.6841 23.0125 17.5599 22.9643C10.9409 22.6805 6.454 20.9387 3.75496 17.1258C0.937988 13.1464 0.486328 7.39309 0.486328 0.593262H4.50974C4.50974 7.54693 5.06394 11.9813 7.02477 14.7513Z"})));Se.propTypes={color:s().string.isRequired};const It=Se,le=({content:e})=>me()(e);le.defaultProps={content:null},le.propTypes={content:s().string};const Zt=le,Ft=(0,w.default)(M.Box)`
193
- position: relative;
194
- `;var At=c(25747);const ie=({type:e,customField:t,repeatable:o})=>{const{formatMessage:d}=(0,z.useIntl)();let g=e;return["integer","biginteger","float","decimal"].includes(e)?g="number":["string"].includes(e)&&(g="text"),t?n.createElement(L.Typography,null,d({id:(0,O.Z)("attribute.customField"),defaultMessage:"Custom field"})):n.createElement(L.Typography,null,d({id:(0,O.Z)(`attribute.${g}`),defaultMessage:e}),"\xA0",o&&d({id:(0,O.Z)("component.repeatable"),defaultMessage:"(repeatable)"}))};ie.defaultProps={customField:null,repeatable:!1},ie.propTypes={type:s().string.isRequired,customField:s().string,repeatable:s().bool};const kt=ie;var Nt=Object.defineProperty,je=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Be=(e,t,o)=>t in e?Nt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,De=(e,t)=>{for(var o in t||(t={}))Vt.call(t,o)&&Be(e,o,t[o]);if(je)for(var o of je(t))zt.call(t,o)&&Be(e,o,t[o]);return e};function se({configurable:e,customField:t,editTarget:o,firstLoopComponentUid:d,isFromDynamicZone:g,name:m,onClick:b,relation:P,repeatable:v,secondLoopComponentUid:x,target:E,targetUid:u,type:T}){const{contentTypes:C,isInDevelopmentMode:k,removeAttribute:D}=(0,U.Z)(),{formatMessage:F}=(0,z.useIntl)(),j=T==="relation"&&P.includes("morph"),I=["integer","biginteger","float","decimal"].includes(T)?"number":T,N=R()(C,[E],{}),K=R()(N,["schema","displayName"],""),G=R()(N,"plugin"),de=E?"relation":I,Q=()=>{j||e!==!1&&b(o,x||d||u,m,T,t)};let A;return x&&d?A=2:d?A=1:A=0,n.createElement(Ft,De({as:"tr"},(0,i.onRowClick)({fn:Q,condition:k&&e&&!j})),n.createElement("td",{style:{position:"relative"}},A!==0&&n.createElement(It,{color:g?"primary200":"neutral150"}),n.createElement(Z.Stack,{paddingLeft:2,spacing:4,horizontal:!0},n.createElement(At.Z,{type:de,customField:t}),n.createElement(L.Typography,{fontWeight:"bold"},m))),n.createElement("td",null,E?n.createElement(L.Typography,null,F({id:(0,O.Z)(`modelPage.attribute.${j?"relation-polymorphic":"relationWith"}`),defaultMessage:"Relation with"}),"\xA0",n.createElement("span",{style:{fontStyle:"italic"}},n.createElement(Zt,{content:K}),"\xA0",G&&`(${F({id:(0,O.Z)("from"),defaultMessage:"from"})}: ${G})`)):n.createElement(kt,{type:T,customField:t,repeatable:v})),n.createElement("td",null,k?n.createElement(_.Flex,De({justifyContent:"flex-end"},i.stopPropagation),e?n.createElement(Z.Stack,{horizontal:!0,spacing:1},!j&&n.createElement(Me.IconButton,{onClick:Q,label:`${F({id:"app.utils.edit",defaultMessage:"Edit"})} ${m}`,noBorder:!0,icon:n.createElement($(),null)}),n.createElement(Me.IconButton,{onClick:Y=>{Y.stopPropagation(),D(o,m,x||d||"")},label:`${F({id:"global.delete",defaultMessage:"Delete"})} ${m}`,noBorder:!0,icon:n.createElement(Mt(),null)})):n.createElement(Pt(),null)):n.createElement(M.Box,{height:(0,i.pxToRem)(32)})))}se.defaultProps={configurable:!0,customField:null,firstLoopComponentUid:null,isFromDynamicZone:!1,onClick(){},relation:"",repeatable:!1,secondLoopComponentUid:null,target:null,targetUid:null,type:null},se.propTypes={configurable:s().bool,customField:s().string,editTarget:s().string.isRequired,firstLoopComponentUid:s().string,isFromDynamicZone:s().bool,name:s().string.isRequired,onClick:s().func,relation:s().string,repeatable:s().bool,secondLoopComponentUid:s().string,target:s().string,targetUid:s().string,type:s().string};const Ut=(0,n.memo)(se),Wt=e=>{let t;switch(e){case"date":case"datetime":case"time":case"timestamp":t="date";break;case"integer":case"biginteger":case"decimal":case"float":t="number";break;case"string":case"text":t="text";break;case"":t="relation";break;default:t=e}return t};var Ht=c(70404),Kt=c.n(Ht);const Gt={collectionTypesConfigurations:[{action:"plugin::content-manager.collection-types.configure-view",subject:null}],componentsConfigurations:[{action:"plugin::content-manager.components.configure-layout",subject:null}],singleTypesConfigurations:[{action:"plugin::content-manager.single-types.configure-view",subject:null}]},ce=({disabled:e,isTemporary:t,isInContentTypeView:o,contentTypeKind:d,targetUid:g})=>{const{formatMessage:m}=(0,z.useIntl)(),{push:b}=(0,ee.useHistory)(),{collectionTypesConfigurations:P,componentsConfigurations:v,singleTypesConfigurations:x}=Gt,E=m({id:"content-type-builder.form.button.configure-view"});let u=P;const T=()=>(t||b(o?`/content-manager/collectionType/${g}/configurations/edit`:`/content-manager/components/${g}/configurations/edit`),!1);return o&&d==="singleType"&&(u=x),o||(u=v),n.createElement(i.CheckPermissions,{permissions:u},n.createElement(H.Button,{startIcon:n.createElement(Kt(),null),variant:"tertiary",onClick:T,disabled:t||e},E))};ce.defaultProps={contentTypeKind:"collectionType",isInContentTypeView:!0,isTemporary:!1,targetUid:""},ce.propTypes={disabled:s().bool.isRequired,contentTypeKind:s().string,isInContentTypeView:s().bool,isTemporary:s().bool,targetUid:s().string};const Xt=(0,n.memo)(ce);var Jt=Object.defineProperty,Qt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,_t=Object.prototype.propertyIsEnumerable,Ze=(e,t,o)=>t in e?Jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,en=(e,t)=>{for(var o in t||(t={}))qt.call(t,o)&&Ze(e,o,t[o]);if(Ie)for(var o of Ie(t))_t.call(t,o)&&Ze(e,o,t[o]);return e},tn=(e,t)=>Qt(e,Yt(t)),nn=(e,t,o)=>new Promise((d,g)=>{var m=v=>{try{P(o.next(v))}catch(x){g(x)}},b=v=>{try{P(o.throw(v))}catch(x){g(x)}},P=v=>v.done?d(v.value):Promise.resolve(v.value).then(m,b);P((o=o.apply(e,t)).next())});const on=()=>{const{initialData:e,modifiedData:t,isInDevelopmentMode:o,isInContentTypeView:d,submitData:g}=(0,U.Z)(),{formatMessage:m}=(0,z.useIntl)(),{trackUsage:b}=(0,i.useTracking)(),P=(0,ee.useRouteMatch)("/plugins/content-type-builder/:kind/:currentUID"),{onOpenModalAddComponentsToDZ:v,onOpenModalAddField:x,onOpenModalEditField:E,onOpenModalEditSchema:u,onOpenModalEditCustomField:T}=(0,fe.Z)(),C=d?"contentType":"component",k=[C,"schema","attributes"],D=R()(t,[C,"uid"]),F=R()(t,[C,"isTemporary"],!1),j=R()(t,[C,"schema","kind"],null),I=R()(t,k,[]),N=We()(e,[C,"plugin"]),K=!ue()(t,e),G=d?"contentType":"component",de=B=>{v({dynamicZoneTarget:B,targetUid:D})},Q=(B,Fe,Ae,ke,Ne)=>nn(void 0,null,function*(){const Ve=Wt(ke);Ne?T({forTarget:B,targetUid:Fe,attributeName:Ae,attributeType:Ve,customFieldUid:Ne}):E({forTarget:B,targetUid:Fe,attributeName:Ae,attributeType:Ve,step:ke==="component"?"2":null})});let A=R()(t,[C,"schema","displayName"],"");const Y=R()(t,[C,"schema","kind"],""),q=(P==null?void 0:P.params.currentUID)==="create-content-type";!A&&q&&(A=m({id:(0,O.Z)("button.model.create"),defaultMessage:"Create new collection type"}));const rn=()=>{const B=Y||C;B==="collectionType"&&b("willEditNameOfContentType"),B==="singleType"&&b("willEditNameOfSingleType"),u({modalType:C,forTarget:C,targetUid:D,kind:B})};return n.createElement(n.Fragment,null,n.createElement(ee.Prompt,{message:m({id:(0,O.Z)("prompt.unsaved")}),when:K}),n.createElement(pe.HeaderLayout,{id:"title",primaryAction:o&&n.createElement(Z.Stack,{horizontal:!0,spacing:2},!q&&n.createElement(H.Button,{startIcon:n.createElement(l(),null),variant:"secondary",onClick:()=>{x({forTarget:G,targetUid:D})}},m({id:(0,O.Z)("button.attributes.add.another")})),n.createElement(H.Button,{startIcon:n.createElement(y(),null),onClick:()=>g(),type:"submit",disabled:ue()(t,e)},m({id:"global.save",defaultMessage:"Save"}))),secondaryAction:o&&!N&&!q&&n.createElement(H.Button,{startIcon:n.createElement($(),null),variant:"tertiary",onClick:rn},m({id:"app.utils.edit",defaultMessage:"Edit"})),title:me()(A),subtitle:m({id:(0,O.Z)("listView.headerLayout.description"),defaultMessage:"Build the data architecture of your content"}),navigationAction:n.createElement(i.Link,{startIcon:n.createElement(a(),null),to:"/plugins/content-type-builder/"},m({id:"global.back",defaultMessage:"Back"}))}),n.createElement(pe.ContentLayout,null,n.createElement(Z.Stack,{spacing:4},n.createElement(_.Flex,{justifyContent:"flex-end"},n.createElement(Z.Stack,{horizontal:!0,spacing:2},n.createElement(Xt,{key:"link-to-cm-settings-view",targetUid:D,isTemporary:F,isInContentTypeView:d,contentTypeKind:j,disabled:q}))),n.createElement(M.Box,{background:"neutral0",shadow:"filterShadow",hasRadius:!0},n.createElement($e,{items:I,customRowComponent:B=>n.createElement(Ut,tn(en({},B),{onClick:Q})),addComponentToDZ:de,targetUid:D,editTarget:G,isMain:!0})))))}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[7934],{47036:e=>{e.exports=JSON.parse('{"attribute.boolean":"Booleano","attribute.date":"Data","attribute.email":"Email","attribute.enumeration":"Enumera\xE7\xE3o","attribute.json":"JSON","attribute.media":"Media","attribute.password":"Palavra-passe","attribute.relation":"Rela\xE7\xE3o","attribute.text":"Texto","form.attribute.item.customColumnName":"Nomes de colunas customizadas","form.attribute.item.customColumnName.description":"Isto \xE9 \xFAtil para renomear os nomes das colunas da base de dados em um formato mais abrangente para as respostas da API","form.attribute.item.defineRelation.fieldName":"Nome do campo","form.attribute.item.enumeration.graphql":"Substitui\xE7\xE3o de nome para o GraphQL","form.attribute.item.enumeration.graphql.description":"Permite \xE0 si a substitui\xE7\xE3o do nome predefinido para o GraphQL","form.attribute.item.enumeration.placeholder":"Ex:\\nmanh\xE3\\ntarde\\nnoite","form.attribute.item.enumeration.rules":"Values (one line per value)","form.attribute.item.maximum":"Valor m\xE1ximo","form.attribute.item.maximumLength":"Comprimento m\xE1ximo","form.attribute.item.minimum":"Valor m\xEDnimo","form.attribute.item.minimumLength":"Comprimento m\xEDnimo","form.attribute.item.number.type":"Formato num\xE9rico","form.attribute.item.number.type.decimal":"decimal (ex: 2.22)","form.attribute.item.number.type.float":"float (ex: 3.33333333)","form.attribute.item.number.type.integer":"inteiro (ex: 10)","form.attribute.item.requiredField":"Campo obrigat\xF3rio","form.attribute.item.requiredField.description":"Voc\xEA n\xE3o ser\xE1 capaz de criar uma entrada se este campo estiver vazio","form.attribute.item.uniqueField":"Campo \xFAnico","form.attribute.item.uniqueField.description":"Voc\xEA n\xE3o ser\xE1 capaz de criar uma entrada se houver uma entrada existente com conte\xFAdo id\xEAntico","form.attribute.settings.default":"Valor predefinido","form.button.cancel":"Cancelar","from":"de","modelPage.attribute.relationWith":"Rela\xE7\xE3o com","plugin.description.long":"Modelize a estrutura de dados da sua API. Crie novos campos e rela\xE7\xF5es em apenas um minuto. Os arquivos s\xE3o automaticamente criados e actualizados no seu projecto.","plugin.description.short":"Modelize a estrutura de dados da sua API.","popUpForm.navContainer.advanced":"Defini\xE7\xF5es Avan\xE7adas","popUpForm.navContainer.base":"Defini\xE7\xF5es b\xE1sicas","popUpWarning.bodyMessage.contentType.delete":"Tem a certeza que pretende apagar este Tipo de Conte\xFAdo?","relation.attributeName.placeholder":"Ex: autor, cat\xE9goria, tag","relation.manyToMany":"tem e pertence \xE0 v\xE1rios","relation.manyToOne":"tem v\xE1rios","relation.oneToMany":"pertence \xE0 v\xE1rios","relation.oneToOne":"tem e pertence \xE0 um","relation.oneWay":"tem um"}')}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_strapi_admin=self.webpackChunk_strapi_admin||[]).push([[4302],{63338:t=>{t.exports=JSON.parse('{"attribute.boolean":"\u5E03\u6797\u503C","attribute.boolean.description":"\u597D\u6216\u4E0D\u597D, 1\u62160, \u662F\u6216\u5426","attribute.component":"\u5143\u4EF6","attribute.component.description":"\u7D44\u5408\u6B04\u4F4D\u503C\u4EE5\u4FBF\u91CD\u8907\u4F7F\u7528","attribute.date":"\u65E5\u671F","attribute.date.description":"\u6642\u9593\u9078\u64C7\u5668\uFF0C\u53EF\u9078\u64C7\u65E5\u671F\u53CA\u6642\u9593","attribute.datetime":"\u65E5\u671F\u548C\u6642\u9593","attribute.dynamiczone":"\u52D5\u614B\u914D\u7F6E","attribute.dynamiczone.description":"\u52D5\u614B\u9078\u64C7\u5143\u4EF6\u53CA\u7DE8\u8F2F\u5176\u5167\u5BB9","attribute.email":"\u96FB\u5B50\u90F5\u4EF6\u5730\u5740","attribute.email.description":"\u9A57\u8B49\u683C\u5F0F\u904E\u7684\u96FB\u5B50\u90F5\u4EF6\u6B04\u4F4D","attribute.enumeration":"\u5217\u8209","attribute.enumeration.description":"\u5217\u8209\u8A2D\u5B9A\u503C\u4E26\u53EF\u64C7\u4E00\u70BA\u503C","attribute.json":"JSON","attribute.json.description":"JSON \u8CC7\u6599\u683C\u5F0F","attribute.media":"\u5A92\u9AD4","attribute.media.description":"\u5716\u7247,\u5F71\u7247 ...... \u7B49\u6A94\u6848","attribute.number":"\u6578\u5B57","attribute.number.description":"\u6578\u5B57 (\u6B63\u6574\u6578, \u6D6E\u9EDE\u6578, \u5C0F\u6578)","attribute.password":"\u5BC6\u78BC","attribute.password.description":"\u52A0\u5BC6\u904E\u5F97\u5BC6\u78BC\u6B04\u4F4D","attribute.relation":"\u95DC\u806F","attribute.relation.description":"\u6307\u5411\u5176\u4ED6\u96C6\u5408\u985E\u578B","attribute.richtext":"\u591A\u6587\u672C\u683C\u5F0F","attribute.richtext.description":"\u591A\u6587\u672C\u683C\u5F0F\u7DE8\u8F2F\u5668","attribute.text":"\u6587\u5B57","attribute.text.description":"\u77ED\u7684\u6A19\u984C\u6216\u9577\u7684\u63CF\u8FF0\u6587\u5B57","attribute.time":"\u6642\u9593","attribute.timestamp":"\u6642\u9593\u6233\u8A18","attribute.uid":"UID","attribute.uid.description":"\u552F\u4E00\u8B58\u5225\u78BC","button.attributes.add.another":"\u65B0\u589E\u6B04\u4F4D","button.component.add":"\u65B0\u589E\u5143\u4EF6","button.component.create":"\u5EFA\u7ACB\u65B0\u5143\u4EF6","button.model.create":"\u5EFA\u7ACB\u65B0\u7684\u96C6\u5408\u985E\u578B","button.single-types.create":"\u5EFA\u7ACB\u65B0\u7684\u55AE\u4E00\u985E\u578B","component.repeatable":"(\u53EF\u91CD\u8907\u7684)","components.componentSelect.no-component-available":"\u4F60\u5DF2\u7D93\u52A0\u5165\u4E86\u6240\u6709\u53EF\u4EE5\u52A0\u5165\u7684\u5143\u4EF6","components.componentSelect.no-component-available.with-search":"\u641C\u5C0B\u4E0D\u5230\u7B26\u5408\u7684\u5143\u4EF6","components.componentSelect.value-component":"{number} \u500B\u5143\u4EF6\u88AB\u9078\u53D6 (\u8F38\u5165\u641C\u5C0B\u5143\u4EF6)","components.componentSelect.value-components":"{number} \u500B\u5143\u4EF6\u88AB\u9078\u53D6","configurations":"\u914D\u7F6E\u8A2D\u5B9A","contentType.collectionName.description":"\u4F7F\u7528\u65BC\u7576\u5167\u5BB9\u96C6\u5408\u540D\u7A31\u8207\u8CC7\u6599\u96C6\u5408\u540D\u7A31\u4E0D\u540C\u6642","contentType.collectionName.label":"\u96C6\u5408\u540D\u7A31","contentType.displayName.label":"\u986F\u793A\u540D\u7A31","contentType.kind.change.warning":"\u4F60\u8B8A\u66F4\u4E86\u5167\u5BB9\u985E\u578B: API \u5C07\u6703\u88AB\u91CD\u7F6E (\u8DEF\u7531\u5668, \u63A7\u5236\u5668, \u548C\u670D\u52D9\u5C07\u6703\u88AB\u8986\u5BEB).","error.attributeName.reserved-name":"\u9019\u500B\u6B04\u4F4D\u540D\u7A31\u4E0D\u53EF\u4EE5\u5728\u6B64\u5167\u5BB9\u985E\u578B\u5167\u88AB\u4F7F\u7528\uFF0C\u6709\u53EF\u80FD\u6703\u7834\u58DE\u5176\u4ED6\u529F\u80FD","error.contentTypeName.reserved-name":"\u9019\u500B\u5167\u5BB9\u985E\u578B\u540D\u7A31\u4E0D\u53EF\u4EE5\u5728\u6B64\u5C08\u6848\u5167\u88AB\u4F7F\u7528\uFF0C\u6709\u53EF\u80FD\u6703\u7834\u58DE\u5176\u4ED6\u529F\u80FD","error.validation.enum-duplicate":"\u4E0D\u5141\u53D6\u91CD\u8907\u7684\u503C","error.validation.minSupMax":"Can\'t be superior","error.validation.regex":"\u4E0D\u5408\u6CD5\u7684\u6B63\u898F\u5F0F","error.validation.relation.targetAttribute-taken":"\u8A72\u6B04\u4F4D\u540D\u7A31\u5DF2\u88AB\u4F7F\u7528","form.attribute.component.option.add":"\u65B0\u589E\u5143\u4EF6","form.attribute.component.option.create":"\u5EFA\u7ACB\u65B0\u5143\u4EF6","form.attribute.component.option.create.description":"\u4E00\u500B\u53EF\u4EE5\u8DE8\u5143\u4EF6\u53CA\u985E\u578B\u5F15\u7528\u7684\u5143\u4EF6, \u53EF\u4EE5\u5728\u4EFB\u4F55\u5730\u65B9\u88AB\u5F15\u7528","form.attribute.component.option.repeatable":"\u53EF\u91CD\u8907\u7684\u5143\u4EF6","form.attribute.component.option.repeatable.description":"\u9069\u7528\u65BC\u9663\u5217\uFF0C\u6E05\u55AE\uFF0C\u6A19\u7C64\u985E\u578B\u5143\u4EF6","form.attribute.component.option.reuse-existing":"\u4F7F\u7528\u4E00\u500B\u5DF2\u5EFA\u7ACB\u7684\u5143\u4EF6","form.attribute.component.option.reuse-existing.description":"\u53EF\u8907\u7528\u5143\u4EF6\u5DF2\u5EFA\u7ACB\uFF0C\u53EF\u4EE5\u5354\u52A9\u4F60\u5728\u4E0D\u540C\u7684\u5167\u5BB9\u578B\u5225\u9593\u4FDD\u6301\u8CC7\u6599\u4E00\u81F4\u6027","form.attribute.component.option.single":"\u55AE\u4E00\u5143\u4EF6","form.attribute.component.option.single.description":"\u9069\u7528\u65BC\u7D44\u5408\u578B\u6B04\u4F4D\u7FA4\uFF0C\u5982\uFF1A\u5B8C\u6574\u5730\u5740,\u57FA\u672C\u5B8C\u6574\u8CC7\u8A0A ......\u7B49","form.attribute.item.customColumnName":"\u81EA\u8A02\u6B04\u4F4D\u540D\u7A31","form.attribute.item.customColumnName.description":"\u5C07\u8CC7\u6599\u5EAB\u6B04\u4F4D\u540D\u7A31\u4EE5\u66F4\u6613\u61C2\u7684\u683C\u5F0F\u91CD\u65B0\u547D\u540D\uFF0C\u5C0D API \u56DE\u61C9\u5F88\u6709\u7528\u3002","form.attribute.item.defineRelation.fieldName":"\u6B04\u4F4D\u540D\u7A31","form.attribute.item.enumeration.graphql":"GraphQL \u540D\u7A31\u8986\u5BEB","form.attribute.item.enumeration.graphql.description":"\u53EF\u4EE5\u8B93\u60A8\u8986\u5BEB GraphQL \u7684\u9810\u8A2D\u540D\u7A31","form.attribute.item.enumeration.placeholder":"\u4F8B:\\n\u65E9\u4E0A\\n\u4E2D\u5348\\n\u665A\u4E0A","form.attribute.item.enumeration.rules":"\u503C (\u683C\u5F0F\u70BA\u4E00\u884C\u4E00\u500B\u503C)","form.attribute.item.maximum":"\u6700\u5927\u6578\u503C","form.attribute.item.maximumLength":"\u6700\u5927\u9577\u5EA6","form.attribute.item.minimum":"\u6700\u5C0F\u6578\u503C","form.attribute.item.minimumLength":"\u6700\u5C0F\u9577\u5EA6","form.attribute.item.number.type":"\u6578\u5B57\u683C\u5F0F","form.attribute.item.number.type.decimal":"\u6D6E\u9EDE\u6578(decimal) (\u4F8B: 2.22)","form.attribute.item.number.type.float":"\u6D6E\u9EDE\u6578(float) (\u4F8B: 3.33333333)","form.attribute.item.number.type.integer":"\u6574\u6578 (\u4F8B: 10)","form.attribute.item.privateField":"\u96B1\u5BC6\u6B04\u4F4D","form.attribute.item.privateField.description":"\u8A72\u6B04\u4F4D\u4E0D\u6703\u88AB\u986F\u793A\u5728API\u7684\u56DE\u50B3\u8CC7\u6599\u4E2D","form.attribute.item.requiredField":"\u5FC5\u586B\u6B04\u4F4D","form.attribute.item.requiredField.description":"\u5982\u679C\u9019\u500B\u6B04\u4F4D\u7559\u7A7A\uFF0C\u60A8\u5C07\u4E0D\u80FD\u5EFA\u7ACB\u9805\u76EE\u3002","form.attribute.item.text.regex":"\u6B63\u898F\u5F0F","form.attribute.item.text.regex.description":"\u6587\u672C\u6B63\u898F\u8868\u9054\u5F0F","form.attribute.item.uniqueField":"\u552F\u4E00\u6B04\u4F4D","form.attribute.item.uniqueField.description":"\u5982\u679C\u5DF2\u5B58\u5728\u7684\u9805\u76EE\u6709\u4E00\u6A21\u4E00\u6A23\u7684\u5167\u5BB9\uFF0C\u60A8\u5C07\u4E0D\u80FD\u5EFA\u7ACB\u9805\u76EE\u3002","form.attribute.media.allowed-types":"\u9078\u64C7\u5408\u6CD5\u7684\u591A\u5A92\u9AD4\u985E\u578B","form.attribute.media.allowed-types.option-files":"\u6A94\u6848","form.attribute.media.allowed-types.option-images":"\u5716\u7247","form.attribute.media.allowed-types.option-videos":"\u5F71\u7247","form.attribute.media.option.multiple":"\u8907\u6578\u591A\u5A92\u9AD4","form.attribute.media.option.multiple.description":"\u9069\u7528\u65BC\u8F2A\u64A5\u6A21\u7D44\u6216\u591A\u6A94\u6848\u4E0B\u8F09","form.attribute.media.option.single":"\u55AE\u4E00\u591A\u5A92\u9AD4","form.attribute.media.option.single.description":"\u9069\u7528\u65BC\u5927\u982D\u8CBC\u6216\u80CC\u666F\u5716","form.attribute.settings.default":"\u9810\u8A2D\u503C","form.attribute.text.option.long-text":"\u9577\u6587\u5B57","form.attribute.text.option.long-text.description":"\u9069\u7528\u65BC\u63CF\u8FF0\u53CA\u81EA\u50B3\u5167\u5BB9\uFF0C\u4F46\u7121\u6CD5\u88AB\u7CBE\u6E96\u641C\u5C0B","form.attribute.text.option.short-text":"\u77ED\u6587\u5B57","form.attribute.text.option.short-text.description":"\u9069\u7528\u65BC\u6A19\u984C,\u540D\u7A31,\u9023\u7D50\u4E14\u53EF\u4EE5\u88AB\u7CBE\u6E96\u641C\u5C0B","form.button.add-components-to-dynamiczone":"\u65B0\u589E\u5143\u4EF6\u81F3\u52D5\u614B\u914D\u7F6E","form.button.add-field":"\u65B0\u589E\u6B04\u4F4D","form.button.add-first-field-to-created-component":"\u65B0\u589E\u5143\u4EF6\u7684\u7B2C\u4E00\u500B\u6B04\u4F4D","form.button.add.field.to.collectionType":"\u65B0\u589E\u5176\u4ED6\u6B04\u4F4D\u65BC\u6B64\u96C6\u5408\u985E\u578B","form.button.add.field.to.component":"\u65B0\u589E\u5176\u4ED6\u6B04\u4F4D\u65BC\u6B64\u5143\u4EF6","form.button.add.field.to.contentType":"\u65B0\u589E\u5176\u4ED6\u6B04\u4F4D\u65BC\u6B64\u5167\u5BB9\u985E\u578B","form.button.add.field.to.singleType":"\u65B0\u589E\u5176\u4ED6\u6B04\u4F4D\u65BC\u6B64\u55AE\u4E00\u985E\u578B","form.button.cancel":"\u53D6\u6D88","form.button.collection-type.description":"\u9069\u7528\u65BC\u8907\u6578\u5BE6\u4F8B\uFF0C\u5982\u8B70\u984C\u6587\u7AE0,\u7522\u54C1\uFF0C\u8CBC\u6587......\u7B49","form.button.configure-component":"\u914D\u7F6E\u5143\u4EF6","form.button.configure-view":"\u914D\u7F6E\u756B\u9762","form.button.select-component":"\u9078\u64C7\u4E00\u500B\u5143\u4EF6","form.button.single-type.description":"\u9069\u7528\u65BC\u55AE\u4E00\u5BE6\u4F8B\uFF0C\u5982\u9996\u9801,\u95DC\u65BC ...... \u7B49","from":"\u5F9E","modalForm.attribute.form.base.name.description":"\u6B04\u4F4D\u540D\u7A31\u4E0D\u5141\u8A31\u7A7A\u767D","modalForm.attribute.form.base.name.placeholder":"e.g. Slug, SEO URL, Canonical URL","modalForm.attribute.target-field":"\u95DC\u806F\u76EE\u6A19\u6B04\u4F4D","modalForm.attributes.select-component":"\u9078\u64C7\u4E00\u500B\u5143\u4EF6","modalForm.attributes.select-components":"\u9078\u64C7\u591A\u500B\u5143\u4EF6","modalForm.component.header-create":"\u5EFA\u7ACB\u5143\u4EF6","modalForm.components.create-component.category.label":"\u9078\u64C7\u6216\u65B0\u589E\u4E00\u500B\u5206\u985E","modalForm.components.icon.label":"\u5716\u793A","modalForm.editCategory.base.name.description":"\u5206\u985E\u540D\u7A31\u4E0D\u5141\u8A31\u7A7A\u767D","modalForm.header-edit":"\u7DE8\u8F2F {name}","modalForm.header.categories":"\u8907\u6578\u5206\u985E","modalForm.singleType.header-create":"\u5EFA\u7ACB\u55AE\u4E00\u578B\u5225","modalForm.sub-header.addComponentToDynamicZone":"\u5728\u52D5\u614B\u914D\u7F6E\u5340\u65B0\u589E\u4E00\u500B\u5143\u4EF6","modalForm.sub-header.attribute.create":"\u65B0\u589E {type} \u6B04\u4F4D","modalForm.sub-header.attribute.create.step":"\u65B0\u589E\u5143\u4EF6 ({step}/2)","modalForm.sub-header.attribute.edit":"\u7DE8\u8F2F {name}","modalForm.sub-header.chooseAttribute.collectionType":"\u9078\u64C7\u96C6\u5408\u578B\u5225\u7684\u4E00\u500B\u6B04\u4F4D","modalForm.sub-header.chooseAttribute.component":"\u9078\u64C7\u5143\u4EF6\u7684\u4E00\u500B\u6B04\u4F4D","modalForm.sub-header.chooseAttribute.singleType":"\u9078\u64C7\u55AE\u4E00\u578B\u5225\u7684\u4E00\u500B\u6B04\u4F4D","modelPage.attribute.relation-polymorphic":"\u95DC\u806F (\u591A\u5C0D\u591A\u591A\u578B)","modelPage.attribute.relationWith":"\u95DC\u806F\u5230","notification.info.autoreaload-disable":"\u555F\u7528\u9019\u500B\u64F4\u5145\u6A21\u7D44\u9700\u8981\u91CD\u65B0\u555F\u52D5\uFF0C\u4F7F\u7528 `strapi develop` \u6307\u4EE4\u91CD\u65B0\u555F\u52D5","notification.info.creating.notSaved":"\u5728\u5EFA\u7ACB\u65B0\u7684\u96C6\u5408\u578B\u5225\u6216\u5143\u4EF6\u524D\u8ACB\u8A18\u5F97\u5132\u5B58","plugin.description.long":"\u70BA\u60A8\u7684 API \u5B9A\u7FA9\u8CC7\u6599\u7D50\u69CB\uFF0C\u4F7F\u60A8\u8F15\u9B06\u65B0\u589E\u6B04\u4F4D\u548C\u95DC\u806F\u7D50\u69CB\uFF0C\u60A8\u6240\u505A\u7684\u4FEE\u6539\u6703\u81EA\u52D5\u66F4\u65B0\u5C08\u6848\u3002","plugin.description.short":"\u70BA\u60A8\u7684 API \u5B9A\u7FA9\u8CC7\u6599\u7D50\u69CB","popUpForm.navContainer.advanced":"\u9032\u968E\u8A2D\u5B9A","popUpForm.navContainer.base":"\u57FA\u672C\u8A2D\u5B9A","popUpWarning.bodyMessage.cancel-modifications":"\u4F60\u78BA\u5B9A\u8981\u53D6\u6D88\u4F60\u7684\u4FEE\u6539\u55CE?","popUpWarning.bodyMessage.cancel-modifications.with-components":"\u4F60\u78BA\u5B9A\u8981\u53D6\u6D88\u4F60\u7684\u4FEE\u6539\u55CE? \u90E8\u4EFD\u5143\u4EF6\u5DF2\u88AB\u65B0\u589E\u6216\u4FEE\u6539...","popUpWarning.bodyMessage.category.delete":"\u4F60\u78BA\u5B9A\u8981\u522A\u9664\u6B64\u5206\u985E\u55CE? \u6240\u6709\u6B64\u5206\u985E\u5167\u7684\u5143\u4EF6\u90FD\u6703\u88AB\u522A\u9664.","popUpWarning.bodyMessage.component.delete":"\u4F60\u78BA\u5B9A\u8981\u522A\u9664\u6B64\u5143\u4EF6\u55CE?","popUpWarning.bodyMessage.contentType.delete":"\u60A8\u78BA\u5B9A\u8981\u522A\u9664\u9019\u500B\u8CC7\u6599\u7D50\u69CB\u55CE\uFF1F","prompt.unsaved":"\u4F60\u78BA\u5B9A\u8981\u96E2\u958B\u55CE? \u6240\u6709\u4F60\u7684\u4FEE\u6539\u90FD\u6703\u5931\u6548","relation.attributeName.placeholder":"Ex: \u4F5C\u8005, \u985E\u5225, tag...","relation.manyToMany":"\u6709\u800C\u4E14\u5C6C\u65BC\u8A31\u591A","relation.manyToOne":"\u6709\u8A31\u591A","relation.oneToMany":"\u5C6C\u65BC\u8A31\u591A","relation.oneToOne":"\u4E00\u5C0D\u4E00\u5230","relation.oneWay":"\u6709\u4E00\u500B"}')}}]);