@abtnode/webapp 1.16.29-beta-26adf6bb → 1.16.29

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 (173) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{Add-B__xT4sB.js → Add-BIVkDKiV.js} +1 -1
  4. package/dist/assets/{ArrowDropDown-VLne7ccc.js → ArrowDropDown-BSN8E-vL.js} +1 -1
  5. package/dist/assets/{Autocomplete-D9hQZXKP.js → Autocomplete-3iEbBt3p.js} +1 -1
  6. package/dist/assets/{Breadcrumbs-DaKfZKNR.js → Breadcrumbs-B1EjQ7_S.js} +1 -1
  7. package/dist/assets/{ButtonGroup-DKjKDOWS.js → ButtonGroup-5q10mUxm.js} +1 -1
  8. package/dist/assets/{CheckCircle-D24AG6dv.js → CheckCircle-SQxexLA6.js} +1 -1
  9. package/dist/assets/{ChevronLeft-Ca-Gi_H0.js → ChevronLeft-DGO3AjSX.js} +1 -1
  10. package/dist/assets/{ChevronRight-D0OlG7KY.js → ChevronRight-DcNBTOQr.js} +1 -1
  11. package/dist/assets/{Close-HMuVHWGT.js → Close-Dr9bVY_7.js} +1 -1
  12. package/dist/assets/{Delete-D1RDqaZi.js → Delete-BA9-i54s.js} +1 -1
  13. package/dist/assets/DeleteOutline-BQLCdvYk.js +1 -0
  14. package/dist/assets/DeleteOutline-BngWwPLv.js +1 -0
  15. package/dist/assets/{Done-4kUm4bds.js → Done-CCcZllux.js} +1 -1
  16. package/dist/assets/{Edit-uZUJue62.js → Edit-BFcAkLvC.js} +1 -1
  17. package/dist/assets/{EditIcon-BI_p9xCp.js → EditIcon-Bsk6W7fb.js} +1 -1
  18. package/dist/assets/{ExpandMore-BHsYpUKK.js → ExpandMore-rt48LU-T.js} +1 -1
  19. package/dist/assets/{FilterList-PDF9S8a9.js → FilterList-qnkLmWiK.js} +1 -1
  20. package/dist/assets/{Google-D4D8I9sR.js → Google-ZwJqo6k4.js} +1 -1
  21. package/dist/assets/{Https-B4vHJIg9.js → Https-D5FI5kRj.js} +1 -1
  22. package/dist/assets/{InputAdornment-CWRir8bY.js → InputAdornment-O2bgTsbw.js} +1 -1
  23. package/dist/assets/{InputLabel-DWHNzKMy.js → InputLabel-DKHlRadP.js} +1 -1
  24. package/dist/assets/{LastPage-uzFB0_6o.js → LastPage-DSz-M1aM.js} +1 -1
  25. package/dist/assets/{Launch-DBaH-8ib.js → Launch-e9NpOcr5.js} +1 -1
  26. package/dist/assets/{Link-gPnxlUfS.js → Link-CWm9FEnI.js} +1 -1
  27. package/dist/assets/{LoadingButton-Crpf-Gsb.js → LoadingButton-D7VQLypv.js} +1 -1
  28. package/dist/assets/{LockIcon-eAAk1Jhy.js → LockIcon-BGABEZ6C.js} +1 -1
  29. package/dist/assets/{Loop--S-cRtXc.js → Loop-v-roMehG.js} +1 -1
  30. package/dist/assets/{MoreVert-BxyKJhuW.js → MoreVert-CpEsw2Tj.js} +1 -1
  31. package/dist/assets/{Pagination-D7jcwNbF.js → Pagination-BPPkQTXZ.js} +1 -1
  32. package/dist/assets/{Public-Cu2MymRa.js → Public-s40J-s3W.js} +1 -1
  33. package/dist/assets/{SchemaReference.es-CwMyq8ec.js → SchemaReference.es-yLf24oFH.js} +1 -1
  34. package/dist/assets/{Search-CsfCvyCj.js → Search-BvtdswCD.js} +1 -1
  35. package/dist/assets/{Select-BoNi1_kD.js → Select-6AAHiQjm.js} +1 -1
  36. package/dist/assets/{Skeleton-BDA1RcCc.js → Skeleton-8M4ffKSP.js} +1 -1
  37. package/dist/assets/{Slider-bbGbMdw9.js → Slider-dM16D4dK.js} +1 -1
  38. package/dist/assets/{Stepper-Cd9yxqw7.js → Stepper-qCoo64ls.js} +1 -1
  39. package/dist/assets/{TextField-CJTsaR61.js → TextField-D7-Vl4N2.js} +1 -1
  40. package/dist/assets/{ToggleButtonGroup-DQxZKKu1.js → ToggleButtonGroup-C8YC_AbK.js} +1 -1
  41. package/dist/assets/{ViewList-CIXYIeee.js → ViewList-ww_Jy26j.js} +1 -1
  42. package/dist/assets/{actions-87KtVu63.js → actions-CfLfEA5o.js} +1 -1
  43. package/dist/assets/{actions-DfsSmCM0.js → actions-DVIIvqI9.js} +1 -1
  44. package/dist/assets/{agreement-PjXumf9e.js → agreement-j9qZoXbi.js} +1 -1
  45. package/dist/assets/api-1QhTD3Py.js +1 -0
  46. package/dist/assets/{app-avatar-BEnx22QQ.js → app-avatar-DX2Wz0PD.js} +1 -1
  47. package/dist/assets/{audit-logs-DACzBEqp.js → audit-logs-DtLwS7ge.js} +1 -1
  48. package/dist/assets/blocklet-F36VtnS3.js +1 -0
  49. package/dist/assets/{brace-fold.es-DQgP9ckF.js → brace-fold.es-MaAtm0YJ.js} +1 -1
  50. package/dist/assets/{bundle-avatar-RmxwsZQa.js → bundle-avatar-CzY4FWcT.js} +1 -1
  51. package/dist/assets/{chart-BFgJ4nI_.js → chart-CL8fHlYj.js} +1 -1
  52. package/dist/assets/{click-to-copy-7Me9NdFp.js → click-to-copy-CRCcWlGf.js} +1 -1
  53. package/dist/assets/{closebrackets.es-CCWX3tME.js → closebrackets.es-ClBbybwI.js} +1 -1
  54. package/dist/assets/{codemirror.es-CHQ3RYjx.js → codemirror.es-CVvRjjht.js} +1 -1
  55. package/dist/assets/{comment.es-CsEff5HR.js → comment.es-C82zWRz0.js} +1 -1
  56. package/dist/assets/{config-navigation-B4qdgj6W.js → config-navigation-Ba5IHsVi.js} +1 -1
  57. package/dist/assets/{delete-confirm-D0V2Nyle.js → delete-confirm-BGrzi75s.js} +1 -1
  58. package/dist/assets/{detail-DyxiW4dq.js → detail-dhpUaLCM.js} +3 -3
  59. package/dist/assets/{dialog.es-CEFD6dNV.js → dialog.es-DqPlApF_.js} +1 -1
  60. package/dist/assets/{download-BA9Kv4bx.js → download-C05PPT48.js} +1 -1
  61. package/dist/assets/{foldgutter.es-D64jbd7B.js → foldgutter.es-CeF_j6cJ.js} +1 -1
  62. package/dist/assets/getValidReactChildren-BulArIz5.js +1 -0
  63. package/dist/assets/{hint.es-DgpTodKT.js → hint.es-DNAfoVMm.js} +1 -1
  64. package/dist/assets/{hint.es2-DEfUunRw.js → hint.es2-CU1qoYEt.js} +1 -1
  65. package/dist/assets/{iframe-DmMhkhv-.js → iframe-BvKPLFbb.js} +1 -1
  66. package/dist/assets/index-2KEUrOnp.js +21 -0
  67. package/dist/assets/{index-BPuWvx42.js → index-47g0cU0E.js} +1 -1
  68. package/dist/assets/{index-C0hII44F.js → index-B2Ydaom7.js} +1 -1
  69. package/dist/assets/{index-DSbUwcxI.js → index-B47niqg_.js} +3 -3
  70. package/dist/assets/{index-TI2qUI_a.js → index-BOqdAGub.js} +1 -1
  71. package/dist/assets/{index-Udoz8Bem.js → index-BTXMR9xa.js} +1 -1
  72. package/dist/assets/{index-CPi6NfEK.js → index-BmYxQtQ4.js} +1 -1
  73. package/dist/assets/{index-BbvD-ku9.js → index-BwYDd0Tm.js} +1 -1
  74. package/dist/assets/{index-B_7moPHD.js → index-ByhJ7PKw.js} +1 -1
  75. package/dist/assets/{index-DkQkHMJF.js → index-ByoVNU5z.js} +1 -1
  76. package/dist/assets/{index-Cn_FG1ax.js → index-BzvNtIY8.js} +1 -1
  77. package/dist/assets/{index-BjzrGmqR.js → index-C0k3BC5k.js} +3 -3
  78. package/dist/assets/{index-DcrnW1JH.js → index-C1yo1XnB.js} +1 -1
  79. package/dist/assets/{index-CGeCJJCJ.js → index-C5QsMFdj.js} +1 -1
  80. package/dist/assets/{index-DPpbsWxv.js → index-C5jvxTRJ.js} +10 -10
  81. package/dist/assets/{index-DXsxzqj2.js → index-CBdRhIVO.js} +1 -1
  82. package/dist/assets/{index-CbPaNvvH.js → index-COUqkfTn.js} +1 -1
  83. package/dist/assets/{index-DX24Z0Uj.js → index-CPISMYm_.js} +1 -1
  84. package/dist/assets/{index-DfJBghG7.js → index-CP_gsEZk.js} +1 -1
  85. package/dist/assets/{index-BwmL6hWx.js → index-CRpa8mt0.js} +5 -5
  86. package/dist/assets/{index-DbQJ3ais.js → index-CTuqdacw.js} +1 -1
  87. package/dist/assets/{index-B1SbHyW5.js → index-CcHjeoRT.js} +1 -1
  88. package/dist/assets/{index-Di7Zl0N4.js → index-Ck3GPasE.js} +1 -1
  89. package/dist/assets/{index-B4V-mN0B.js → index-CmC3_Eds.js} +1 -1
  90. package/dist/assets/{index-C58qacTd.js → index-CsDwstJh.js} +1 -1
  91. package/dist/assets/{index-DVNcCDcO.js → index-CwFZQrLE.js} +1 -1
  92. package/dist/assets/{index-UwSS4D-y.js → index-D-60mXOg.js} +1 -1
  93. package/dist/assets/index-D-TSSwe_.js +54 -0
  94. package/dist/assets/{index-nD2D9Q59.js → index-DD86vUxF.js} +1 -1
  95. package/dist/assets/{index-DMD3Xl4z.js → index-DShKrg-W.js} +1 -1
  96. package/dist/assets/{index-D1dfzI-t.js → index-DbPVOvSO.js} +1 -1
  97. package/dist/assets/{index-DFMoXqZZ.js → index-DbXIo2GY.js} +1 -1
  98. package/dist/assets/{index-DT-Rr2m6.js → index-DeHtrQ7P.js} +1 -1
  99. package/dist/assets/{index-HaETmP78.js → index-Dpm78Z5H.js} +1 -1
  100. package/dist/assets/{index-DWRkdx6I.js → index-DxfcfSRi.js} +1 -1
  101. package/dist/assets/{index-NWRjCRE6.js → index-Jx4Fqi_s.js} +12 -12
  102. package/dist/assets/{index-WxTfVFC1.js → index-N35a-P_5.js} +1 -1
  103. package/dist/assets/{index-Z7YjOvSs.js → index-Q8y1koUx.js} +1 -1
  104. package/dist/assets/{index-B0COILaQ.js → index-W_RWClvn.js} +1 -1
  105. package/dist/assets/{index-BEh3RskV.js → index-ZGnAW8k-.js} +2 -2
  106. package/dist/assets/{index-Blb65RUd.js → index-htQb1has.js} +1 -1
  107. package/dist/assets/{index-acmUpn3d.js → index-nSc0VxEZ.js} +1 -1
  108. package/dist/assets/{index-D19CmatF.js → index-xdp5_tXH.js} +1 -1
  109. package/dist/assets/{index-CEpV9K4b.js → index-ziy-s42n.js} +1 -1
  110. package/dist/assets/{index.es-5gfHT8qt.js → index.es-hjsi54WY.js} +1 -1
  111. package/dist/assets/{index.esm-C8MTXtOS.js → index.esm-w_WP2iFy.js} +1 -1
  112. package/dist/assets/{info-addon.es-DHhkZvi_.js → info-addon.es-BwQtq18_.js} +1 -1
  113. package/dist/assets/{info.es-COi7yoWs.js → info.es-Bxzc18tW.js} +1 -1
  114. package/dist/assets/{install-from-url-BYlR-wkR.js → install-from-url-BpQI48sC.js} +1 -1
  115. package/dist/assets/{invitation-DM-UGBW7.js → invitation-DxXG7nra.js} +1 -1
  116. package/dist/assets/{is-path-prefix-equal-D1r7K_TX.js → is-path-prefix-equal-BiTDqCe2.js} +1 -1
  117. package/dist/assets/{isEqual-DZxlxlpY.js → isEqual-DkxHXXMW.js} +1 -1
  118. package/dist/assets/{item-DS3f9YHR.js → item-CZsxlZnz.js} +1 -1
  119. package/dist/assets/{javascript.es-B32ItMWr.js → javascript.es-CGn-ScFl.js} +1 -1
  120. package/dist/assets/{jump-to-line.es-lEiCWFex.js → jump-to-line.es-CWVtSCYy.js} +1 -1
  121. package/dist/assets/{jump.es-BWS9VOBG.js → jump.es-DxdpkWWi.js} +1 -1
  122. package/dist/assets/{line-Cpq5ZDtU.js → line-DfRJLxHw.js} +3 -3
  123. package/dist/assets/{lint.es-DCipYlTC.js → lint.es-Cn-NE8s7.js} +1 -1
  124. package/dist/assets/{lint.es2-BAtYSom8.js → lint.es2-DiLIozTW.js} +1 -1
  125. package/dist/assets/{lint.es3-B8lp_2z6.js → lint.es3-BKeD_KCD.js} +1 -1
  126. package/dist/assets/{list-header-C9QJ2chY.js → list-header-Cn6ronu6.js} +1 -1
  127. package/dist/assets/{log-ob8D_C18.js → log-CBd4yiLd.js} +1 -1
  128. package/dist/assets/{lottie-B19I2Qmj.js → lottie-BhIusYBK.js} +1 -1
  129. package/dist/assets/{matchbrackets.es-CkLjcl0k.js → matchbrackets.es-C8Sy_DTp.js} +1 -1
  130. package/dist/assets/{memory-DspFIQ47.js → memory-CrREi08U.js} +1 -1
  131. package/dist/assets/{mode.es-B2vTIzUX.js → mode.es-CRX6d_8r.js} +1 -1
  132. package/dist/assets/{mode.es2-BPsPz5JF.js → mode.es2-BYlzTYp8.js} +1 -1
  133. package/dist/assets/{mode.es3-im3XyhYm.js → mode.es3-BlMpLqAY.js} +1 -1
  134. package/dist/assets/{onlineParser.es-0JyJuoFh.js → onlineParser.es-Buh5bsDU.js} +1 -1
  135. package/dist/assets/{overview-BonG5C1X.js → overview--S9u2G7d.js} +1 -1
  136. package/dist/assets/{react-BEu0IWv-.js → react-C3TTI-Hf.js} +3 -3
  137. package/dist/assets/{redux-CSH-C8dP.js → redux-D53RmvG3.js} +1 -1
  138. package/dist/assets/{resource-dialog-CVqcch9j.js → resource-dialog-BqPaioMe.js} +1 -1
  139. package/dist/assets/{runtime-Dj8SiQKo.js → runtime-8R1L5Qei.js} +1 -1
  140. package/dist/assets/{schema-DrNXl34E.js → schema-vba8ScMR.js} +1 -1
  141. package/dist/assets/{search.es-qKNJ3reW.js → search.es-CUmn7XrO.js} +1 -1
  142. package/dist/assets/{searchcursor.es-BlSV3Q9p.js → searchcursor.es-CnWycfn9.js} +1 -1
  143. package/dist/assets/service-C47VUoeK.js +1 -0
  144. package/dist/assets/{shorten-label-a0zPFg0c.js → shorten-label-BbyRZw10.js} +1 -1
  145. package/dist/assets/{show-hint.es-T6yiomop.js → show-hint.es-yYddy2nN.js} +1 -1
  146. package/dist/assets/{slicedToArray-DWHLdybN.js → slicedToArray-C-ReaQzH.js} +1 -1
  147. package/dist/assets/{spaces-BOQNbM_4.js → spaces-CHvfSEjC.js} +1 -1
  148. package/dist/assets/{sublime.es-CHbmwFXX.js → sublime.es-C7Xwv4Fs.js} +1 -1
  149. package/dist/assets/{switch-control-B4LYohIC.js → switch-control-YIGp_J-o.js} +1 -1
  150. package/dist/assets/{table-icons-C1C8gEVy.js → table-icons-Htpo0aNL.js} +2 -2
  151. package/dist/assets/{tag-CyEjUF3o.js → tag-CxVWvL3v.js} +1 -1
  152. package/dist/assets/{team-DZW98gSO.js → team-CgUZDWzH.js} +1 -1
  153. package/dist/assets/{toUpper-BQRMwur9.js → toUpper-CeMG-5le.js} +1 -1
  154. package/dist/assets/{traffic-DEzUb3Ky.js → traffic-B7M7MwN4.js} +1 -1
  155. package/dist/assets/{url-evaluation-CXei2mde.js → url-evaluation-DCs4qJ1s.js} +1 -1
  156. package/dist/assets/{url-join-DtIkGw0l.js → url-join-CZQCk0ge.js} +1 -1
  157. package/dist/assets/{use-blocklet-info-for-connect-did-spaces-BBbwaN9I.js → use-blocklet-info-for-connect-did-spaces-DePpDQKa.js} +1 -1
  158. package/dist/assets/{useLocalStorage-IvmGdRwA.js → useLocalStorage-Cpx0Qijo.js} +1 -1
  159. package/dist/assets/{useThemeProps-guTpp8sD.js → useThemeProps-DMpUSpUQ.js} +1 -1
  160. package/dist/assets/{util-DNkQeSwC.js → util-opsnBGhQ.js} +1 -1
  161. package/dist/assets/{wait-container-CYkix1ra.js → wait-container-DP8Bb6X-.js} +1 -1
  162. package/dist/assets/{withStyles-DMG62fi3.js → withStyles-CiarYOCJ.js} +1 -1
  163. package/dist/assets/{wrap-locale-RSz7z_Kh.js → wrap-locale-BSVVLHW0.js} +1 -1
  164. package/dist/index.html +1 -1
  165. package/dist/service-worker.js +1 -1
  166. package/package.json +1 -1
  167. package/dist/assets/DeleteOutline-DI8b0xeB.js +0 -1
  168. package/dist/assets/api-BFKzvnZb.js +0 -1
  169. package/dist/assets/blocklet-B2oa0l5B.js +0 -1
  170. package/dist/assets/getValidReactChildren-DWgwfamf.js +0 -1
  171. package/dist/assets/index-CLH3ksD7.js +0 -21
  172. package/dist/assets/index-Ci5TqAoT.js +0 -54
  173. package/dist/assets/service-CXWsxRz4.js +0 -1
@@ -1 +1 @@
1
- import{dX as S}from"./index-BEh3RskV.js";function I(r,t,n){return t=S(t),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r}function h(r,t){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);t&&(e=e.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),n.push.apply(n,e)}return n}function m(r){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(e){I(r,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))})}return r}function i(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var E=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),v=function(){return Math.random().toString(36).substring(7).split("").join(".")},P={INIT:"@@redux/INIT"+v(),REPLACE:"@@redux/REPLACE"+v(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+v()}};function R(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function T(r,t,n){var e;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(i(1));return n(T)(r,t)}if(typeof r!="function")throw new Error(i(2));var u=r,a=t,p=[],c=p,f=!1;function w(){c===p&&(c=p.slice())}function g(){if(f)throw new Error(i(3));return a}function O(o){if(typeof o!="function")throw new Error(i(4));if(f)throw new Error(i(5));var l=!0;return w(),c.push(o),function(){if(l){if(f)throw new Error(i(6));l=!1,w();var s=c.indexOf(o);c.splice(s,1),p=null}}}function y(o){if(!R(o))throw new Error(i(7));if(typeof o.type>"u")throw new Error(i(8));if(f)throw new Error(i(9));try{f=!0,a=u(a,o)}finally{f=!1}for(var l=p=c,b=0;b<l.length;b++){var s=l[b];s()}return o}function N(o){if(typeof o!="function")throw new Error(i(10));u=o,y({type:P.REPLACE})}function A(){var o,l=O;return o={subscribe:function(s){if(typeof s!="object"||s===null)throw new Error(i(11));function d(){s.next&&s.next(g())}d();var x=l(d);return{unsubscribe:x}}},o[E]=function(){return this},o}return y({type:P.INIT}),e={dispatch:y,subscribe:O,getState:g,replaceReducer:N},e[E]=A,e}function j(r,t){return function(){return t(r.apply(this,arguments))}}function K(r,t){if(typeof r=="function")return j(r,t);if(typeof r!="object"||r===null)throw new Error(i(16));var n={};for(var e in r){var u=r[e];typeof u=="function"&&(n[e]=j(u,t))}return n}function L(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return t.length===0?function(e){return e}:t.length===1?t[0]:t.reduce(function(e,u){return function(){return e(u.apply(void 0,arguments))}})}function M(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return function(e){return function(){var u=e.apply(void 0,arguments),a=function(){throw new Error(i(15))},p={getState:u.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(f){return f(p)});return a=L.apply(void 0,c)(u.dispatch),m(m({},u),{},{dispatch:a})}}}export{I as _,M as a,K as b,T as c,L as d};
1
+ import{dX as S}from"./index-ZGnAW8k-.js";function I(r,t,n){return t=S(t),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r}function h(r,t){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(r);t&&(e=e.filter(function(u){return Object.getOwnPropertyDescriptor(r,u).enumerable})),n.push.apply(n,e)}return n}function m(r){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(e){I(r,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))})}return r}function i(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var E=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),v=function(){return Math.random().toString(36).substring(7).split("").join(".")},P={INIT:"@@redux/INIT"+v(),REPLACE:"@@redux/REPLACE"+v(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+v()}};function R(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function T(r,t,n){var e;if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(i(1));return n(T)(r,t)}if(typeof r!="function")throw new Error(i(2));var u=r,a=t,p=[],c=p,f=!1;function w(){c===p&&(c=p.slice())}function g(){if(f)throw new Error(i(3));return a}function O(o){if(typeof o!="function")throw new Error(i(4));if(f)throw new Error(i(5));var l=!0;return w(),c.push(o),function(){if(l){if(f)throw new Error(i(6));l=!1,w();var s=c.indexOf(o);c.splice(s,1),p=null}}}function y(o){if(!R(o))throw new Error(i(7));if(typeof o.type>"u")throw new Error(i(8));if(f)throw new Error(i(9));try{f=!0,a=u(a,o)}finally{f=!1}for(var l=p=c,b=0;b<l.length;b++){var s=l[b];s()}return o}function N(o){if(typeof o!="function")throw new Error(i(10));u=o,y({type:P.REPLACE})}function A(){var o,l=O;return o={subscribe:function(s){if(typeof s!="object"||s===null)throw new Error(i(11));function d(){s.next&&s.next(g())}d();var x=l(d);return{unsubscribe:x}}},o[E]=function(){return this},o}return y({type:P.INIT}),e={dispatch:y,subscribe:O,getState:g,replaceReducer:N},e[E]=A,e}function j(r,t){return function(){return t(r.apply(this,arguments))}}function K(r,t){if(typeof r=="function")return j(r,t);if(typeof r!="object"||r===null)throw new Error(i(16));var n={};for(var e in r){var u=r[e];typeof u=="function"&&(n[e]=j(u,t))}return n}function L(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return t.length===0?function(e){return e}:t.length===1?t[0]:t.reduce(function(e,u){return function(){return e(u.apply(void 0,arguments))}})}function M(){for(var r=arguments.length,t=new Array(r),n=0;n<r;n++)t[n]=arguments[n];return function(e){return function(){var u=e.apply(void 0,arguments),a=function(){throw new Error(i(15))},p={getState:u.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=t.map(function(f){return f(p)});return a=L.apply(void 0,c)(u.dispatch),m(m({},u),{},{dispatch:a})}}}export{I as _,M as a,K as b,T as c,L as d};
@@ -1,4 +1,4 @@
1
- import{P as g,j as a,O as x,d2 as q,fY as ee,dP as ce,r as M,a1 as Oe,cD as Le,q as Fe,ci as Me,fB as We,fL as Ve,g3 as Ye,dR as He,f$ as Ge,dQ as Ke,a2 as _e,fe as Re,cA as Xe,av as ze,n as Ne,cP as Ze,g as Je,cB as Qe,gc as $e}from"./index-BEh3RskV.js";import"./index-BPuWvx42.js";function be({optionalComponent:n,index:b,installStatus:w,hasPermission:l,t:_}){const E=()=>{window.open(n==null?void 0:n.installUrl,"_blank")},R=()=>{window.open(n==null?void 0:n.storeUrl,"_blank")},S=()=>{window.location.reload()},O=w==="stopped"||w==="running",y=60;return a.jsxs(x,{children:[b===0?null:a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsxs(x,{sx:{padding:"20px 24px",paddingTop:.5,marginTop:2,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[a.jsx("img",{style:{width:y,height:y,minWidth:y,minHeight:y},src:n.logoUrl,alt:n.meta.title}),a.jsxs(x,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[a.jsxs(x,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{var j;return R((j=n.meta)==null?void 0:j.did)},children:[n.meta.title,a.jsxs(x,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[n.meta.version,a.jsx(ee,{className:"link-icon",icon:"fluent:open-20-filled",style:{color:q.primaryBase,fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.3s"}})]})]}),a.jsx(x,{sx:{marginTop:0,opacity:.7},children:n.meta.description}),a.jsx(x,{sx:{display:l?"flex":"none",flexDirection:"row",gap:1},children:w?a.jsx(x,{sx:{marginTop:2,opacity:.7},children:O?a.jsx(ce,{variant:"contained",onClick:S,children:_("componentInstallerRefresh")},"refresh"):a.jsx(ce,{disabled:!0,sx:{color:"#333"},startIcon:a.jsx(ee,{icon:"line-md:loading-loop",style:{color:"#333",fontSize:16}}),variant:"contained",children:w},"status")}):a.jsx(ce,{sx:{marginTop:2},variant:"contained",className:"button",onClick:()=>{var j;return E((j=n.meta)==null?void 0:j.did)},children:_("componentInstallerInstall")},"install")}),O?a.jsx(x,{sx:{marginTop:2,opacity:.7},children:_("componentInstallerSuccessInstalled")}):null]})]})]})}be.propTypes={t:g.func.isRequired,optionalComponent:g.object.isRequired,index:g.number.isRequired,installStatus:g.string,hasPermission:g.bool.isRequired};be.defaultProps={installStatus:""};const ei={zh:{componentInstallerTitle:"缺少组件",componentInstallerInstall:"安装",componentInstallerClose:"关闭",componentInstallerRefresh:"重载页面",componentInstallerSuccessInstalled:"安装成功,请重载页面查看变化。",componentInstallerSuggestions:"请联系系统管理员安装该组件。",componentInstallerNoDefinedInBlockletYML:"组件未在 blocklet.yml 中定义"},en:{componentInstallerTitle:"Missing component",componentInstallerInstall:"Install",componentInstallerClose:"Close",componentInstallerRefresh:"Refresh",componentInstallerSuccessInstalled:"Successfully installed, please refresh the page to see the changes.",componentInstallerSuggestions:"Please contact the system administrator to install the component.",componentInstallerNoDefinedInBlockletYML:"The component is not defined in blocklet.yml"}},de=n=>typeof n=="string"?new Set(n.split(";;")):new Set(n);function ii({did:n,onInstalled:b,onError:w}){const l=Array.isArray(n)?n.join(";;"):n,[_,E]=M.useState({}),R=M.useRef({onInstalled:b,onError:w});R.current={onInstalled:b,onError:w};const{optionalComponents:S,componentMountPoints:O}=window.blocklet,y=M.useMemo(()=>{var o;if(!S||!S.length)return[];const m=de(l),e=S.filter(i=>m.has(i.meta.did));return(o=e?R.current.onError:R.current.onInstalled)==null||o(e),e},[l,S]),j=M.useMemo(()=>{if(y.length)return!0;const m=de(l);return(O||[]).find(e=>m.has(e.did))},[y,O,l]);return y.forEach(m=>{m.storeUrl=Oe(m.meta.homepage,"blocklets",m.meta.did),m.installUrl=Oe(window.blocklet.appUrl,Le,`/admin/components?install-component=${m.meta.did}`)}),M.useEffect(()=>{const m=e=>{var o,i,t,r,I;if(e.origin===window.blocklet.appUrl&&((o=e.data)==null?void 0:o.kind)==="component-installer"&&(t=(i=e.data)==null?void 0:i.blocklet)!=null&&t.children){let T=!1;const c=de(l);(I=(r=e.data)==null?void 0:r.blocklet)==null||I.children.forEach(s=>{var k;c.has((k=s.meta)==null?void 0:k.did)&&(T=!0,E(P=>{var D;return{...P,[(D=s.meta)==null?void 0:D.did]:s.status||"waiting"}}))}),T||E({})}};return window.addEventListener("message",m),()=>{window.removeEventListener("message",m)}},[l]),{optComponents:y,installed:!y.length&&j,installStatus:_,setInstallStatus:E,definedInBlockletYML:j}}function V({warnIcon:n,did:b,noPermissionMute:w,onInstalled:l,onError:_,children:E,closeByOutSize:R,onClose:S,fallback:O,disabled:y,roles:j=["owner","admin"]}){const{locale:m}=Fe(),e=Me((c,s={})=>We(ei,c,m,"en",s)),{installed:o,optComponents:i,installStatus:t,definedInBlockletYML:r}=ii({did:b,onInstalled:l,onError:_}),I=M.useContext(Ve),T=()=>{S==null||S(!1)};return y?E:a.jsx(Ye,{session:I==null?void 0:I.session,roles:j,children:({hasPermission:c})=>o?E:w&&!c?O||null:typeof E=="function"?a.jsxs(a.Fragment,{children:[O,E({hasPermission:c,optComponents:i,installStatus:t})]}):a.jsxs(a.Fragment,{children:[O,a.jsx(He,{onClickAway:s=>{s.preventDefault(),s.stopPropagation(),R&&T()},children:a.jsx(Ge,{in:!0,timeout:350,children:a.jsx(Ke,{variant:"outlined",sx:{position:"fixed",top:20,right:20,zIndex:3e3,borderRadius:3,width:400,maxWidth:"90vw",borderColor:q.lineStep,border:"0 !important",fontSize:"14px",textAlign:"left",boxShadow:`0px 8px 16px 0px ${q.gray6}, 0px 0px 0px 1px ${q.gray6}`},children:r?a.jsxs(x,{sx:{display:"flex",flexDirection:"column"},children:[a.jsxs(x,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},children:[n||a.jsx(ee,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),a.jsx(x,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),a.jsx(x,{sx:{flex:1}}),S?a.jsx(_e,{variant:"outlined",className:"button",onClick:T,children:a.jsx(Re,{})}):null]}),a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsx(x,{sx:{maxHeight:"70vh",overflowY:"auto"},children:i.map((s,k)=>{var P,D;return a.jsx(be,{t:e,hasPermission:c,index:k,optionalComponent:s,installStatus:t[(P=s.meta)==null?void 0:P.did]},((D=s.meta)==null?void 0:D.did)||k)})}),c?null:a.jsxs(a.Fragment,{children:[a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsx(x,{sx:{padding:"20px 24px"},children:a.jsx(x,{sx:{opacity:1},children:e("componentInstallerSuggestions")})})]})]}):a.jsxs(x,{sx:{display:"flex",flexDirection:"column"},children:[a.jsxs(x,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"flex-start"},children:[n||a.jsx(ee,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),a.jsx(x,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),a.jsx(x,{sx:{flex:1}}),S?a.jsx(_e,{variant:"outlined",className:"button",onClick:T,children:a.jsx(Re,{})}):null]}),a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsxs(x,{sx:{padding:"20px 24px",marginTop:0},children:[e("componentInstallerNoDefinedInBlockletYML"),": ",b]})]})})})})]})})}V.propTypes={disabled:g.bool,warnIcon:g.node,did:g.oneOfType([g.string,g.arrayOf(g.string)]).isRequired,noPermissionMute:g.bool,onInstalled:g.func,onError:g.func,children:g.any.isRequired,closeByOutSize:g.bool,onClose:g.func,fallback:g.node,roles:g.array};V.defaultProps={disabled:!1,warnIcon:null,noPermissionMute:!1,onInstalled:null,onError:null,closeByOutSize:!1,onClose:null,fallback:null,roles:["owner","admin"]};function De(n){return window.blocklet?a.jsx(V,{...n}):n.children}De.propTypes={...V.propTypes,children:g.any.isRequired};De.defaultProps={...V.defaultProps};var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var ti=pe.default=void 0;oi(M);var Te=a;function oi(n){return n&&n.__esModule?n:{default:n}}function Pe(n,b){var w=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);b&&(l=l.filter(function(_){return Object.getOwnPropertyDescriptor(n,_).enumerable})),w.push.apply(w,l)}return w}function Ae(n){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?Pe(Object(w),!0).forEach(function(l){ri(n,l,w[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(w)):Pe(Object(w)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(w,l))})}return n}function ri(n,b,w){return b=ni(b),b in n?Object.defineProperty(n,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):n[b]=w,n}function ni(n){var b=ai(n,"string");return typeof b=="symbol"?b:String(b)}function ai(n,b){if(typeof n!="object"||!n)return n;var w=n[Symbol.toPrimitive];if(w!==void 0){var l=w.call(n,b||"default");if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(n)}var we=function(b){return(0,Te.jsx)("svg",Ae(Ae({},b),{},{children:(0,Te.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};we.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};we.displayName="revoke";ti=pe.default=we;g.any.isRequired,g.any.isRequired,g.string.isRequired,g.func.isRequired,g.any,g.any,g.number;M.createContext({});const ui=new Xe;ze.defaults.timeout=10*1e3;ze.create();Ne(x)`
1
+ import{P as g,j as a,O as x,d2 as q,fY as ee,dP as ce,r as M,a1 as Oe,cD as Le,q as Fe,ci as Me,fB as We,fL as Ve,g3 as Ye,dR as He,f$ as Ge,dQ as Ke,a2 as _e,fe as Re,cA as Xe,av as ze,n as Ne,cP as Ze,g as Je,cB as Qe,gc as $e}from"./index-ZGnAW8k-.js";import"./index-47g0cU0E.js";function be({optionalComponent:n,index:b,installStatus:w,hasPermission:l,t:_}){const E=()=>{window.open(n==null?void 0:n.installUrl,"_blank")},R=()=>{window.open(n==null?void 0:n.storeUrl,"_blank")},S=()=>{window.location.reload()},O=w==="stopped"||w==="running",y=60;return a.jsxs(x,{children:[b===0?null:a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsxs(x,{sx:{padding:"20px 24px",paddingTop:.5,marginTop:2,display:"flex",flexDirection:"row",justifyContent:"start",alignItems:"flex-start"},children:[a.jsx("img",{style:{width:y,height:y,minWidth:y,minHeight:y},src:n.logoUrl,alt:n.meta.title}),a.jsxs(x,{sx:{display:"flex",flexDirection:"column",justifyContent:"start",alignItems:"start",marginLeft:2},children:[a.jsxs(x,{sx:{fontSize:"16px",fontWeight:"bold",cursor:"pointer",".link-icon":{opacity:0},":hover .link-icon":{opacity:1}},onClick:()=>{var j;return R((j=n.meta)==null?void 0:j.did)},children:[n.meta.title,a.jsxs(x,{sx:{paddingLeft:1,fontSize:"13px",fontWeight:"400"},component:"span",children:[n.meta.version,a.jsx(ee,{className:"link-icon",icon:"fluent:open-20-filled",style:{color:q.primaryBase,fontSize:16,transform:"translate(6px, 3px)",transition:"all 0.3s"}})]})]}),a.jsx(x,{sx:{marginTop:0,opacity:.7},children:n.meta.description}),a.jsx(x,{sx:{display:l?"flex":"none",flexDirection:"row",gap:1},children:w?a.jsx(x,{sx:{marginTop:2,opacity:.7},children:O?a.jsx(ce,{variant:"contained",onClick:S,children:_("componentInstallerRefresh")},"refresh"):a.jsx(ce,{disabled:!0,sx:{color:"#333"},startIcon:a.jsx(ee,{icon:"line-md:loading-loop",style:{color:"#333",fontSize:16}}),variant:"contained",children:w},"status")}):a.jsx(ce,{sx:{marginTop:2},variant:"contained",className:"button",onClick:()=>{var j;return E((j=n.meta)==null?void 0:j.did)},children:_("componentInstallerInstall")},"install")}),O?a.jsx(x,{sx:{marginTop:2,opacity:.7},children:_("componentInstallerSuccessInstalled")}):null]})]})]})}be.propTypes={t:g.func.isRequired,optionalComponent:g.object.isRequired,index:g.number.isRequired,installStatus:g.string,hasPermission:g.bool.isRequired};be.defaultProps={installStatus:""};const ei={zh:{componentInstallerTitle:"缺少组件",componentInstallerInstall:"安装",componentInstallerClose:"关闭",componentInstallerRefresh:"重载页面",componentInstallerSuccessInstalled:"安装成功,请重载页面查看变化。",componentInstallerSuggestions:"请联系系统管理员安装该组件。",componentInstallerNoDefinedInBlockletYML:"组件未在 blocklet.yml 中定义"},en:{componentInstallerTitle:"Missing component",componentInstallerInstall:"Install",componentInstallerClose:"Close",componentInstallerRefresh:"Refresh",componentInstallerSuccessInstalled:"Successfully installed, please refresh the page to see the changes.",componentInstallerSuggestions:"Please contact the system administrator to install the component.",componentInstallerNoDefinedInBlockletYML:"The component is not defined in blocklet.yml"}},de=n=>typeof n=="string"?new Set(n.split(";;")):new Set(n);function ii({did:n,onInstalled:b,onError:w}){const l=Array.isArray(n)?n.join(";;"):n,[_,E]=M.useState({}),R=M.useRef({onInstalled:b,onError:w});R.current={onInstalled:b,onError:w};const{optionalComponents:S,componentMountPoints:O}=window.blocklet,y=M.useMemo(()=>{var o;if(!S||!S.length)return[];const m=de(l),e=S.filter(i=>m.has(i.meta.did));return(o=e?R.current.onError:R.current.onInstalled)==null||o(e),e},[l,S]),j=M.useMemo(()=>{if(y.length)return!0;const m=de(l);return(O||[]).find(e=>m.has(e.did))},[y,O,l]);return y.forEach(m=>{m.storeUrl=Oe(m.meta.homepage,"blocklets",m.meta.did),m.installUrl=Oe(window.blocklet.appUrl,Le,`/admin/components?install-component=${m.meta.did}`)}),M.useEffect(()=>{const m=e=>{var o,i,t,r,I;if(e.origin===window.blocklet.appUrl&&((o=e.data)==null?void 0:o.kind)==="component-installer"&&(t=(i=e.data)==null?void 0:i.blocklet)!=null&&t.children){let T=!1;const c=de(l);(I=(r=e.data)==null?void 0:r.blocklet)==null||I.children.forEach(s=>{var k;c.has((k=s.meta)==null?void 0:k.did)&&(T=!0,E(P=>{var D;return{...P,[(D=s.meta)==null?void 0:D.did]:s.status||"waiting"}}))}),T||E({})}};return window.addEventListener("message",m),()=>{window.removeEventListener("message",m)}},[l]),{optComponents:y,installed:!y.length&&j,installStatus:_,setInstallStatus:E,definedInBlockletYML:j}}function V({warnIcon:n,did:b,noPermissionMute:w,onInstalled:l,onError:_,children:E,closeByOutSize:R,onClose:S,fallback:O,disabled:y,roles:j=["owner","admin"]}){const{locale:m}=Fe(),e=Me((c,s={})=>We(ei,c,m,"en",s)),{installed:o,optComponents:i,installStatus:t,definedInBlockletYML:r}=ii({did:b,onInstalled:l,onError:_}),I=M.useContext(Ve),T=()=>{S==null||S(!1)};return y?E:a.jsx(Ye,{session:I==null?void 0:I.session,roles:j,children:({hasPermission:c})=>o?E:w&&!c?O||null:typeof E=="function"?a.jsxs(a.Fragment,{children:[O,E({hasPermission:c,optComponents:i,installStatus:t})]}):a.jsxs(a.Fragment,{children:[O,a.jsx(He,{onClickAway:s=>{s.preventDefault(),s.stopPropagation(),R&&T()},children:a.jsx(Ge,{in:!0,timeout:350,children:a.jsx(Ke,{variant:"outlined",sx:{position:"fixed",top:20,right:20,zIndex:3e3,borderRadius:3,width:400,maxWidth:"90vw",borderColor:q.lineStep,border:"0 !important",fontSize:"14px",textAlign:"left",boxShadow:`0px 8px 16px 0px ${q.gray6}, 0px 0px 0px 1px ${q.gray6}`},children:r?a.jsxs(x,{sx:{display:"flex",flexDirection:"column"},children:[a.jsxs(x,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"flex-start"},children:[n||a.jsx(ee,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),a.jsx(x,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),a.jsx(x,{sx:{flex:1}}),S?a.jsx(_e,{variant:"outlined",className:"button",onClick:T,children:a.jsx(Re,{})}):null]}),a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsx(x,{sx:{maxHeight:"70vh",overflowY:"auto"},children:i.map((s,k)=>{var P,D;return a.jsx(be,{t:e,hasPermission:c,index:k,optionalComponent:s,installStatus:t[(P=s.meta)==null?void 0:P.did]},((D=s.meta)==null?void 0:D.did)||k)})}),c?null:a.jsxs(a.Fragment,{children:[a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsx(x,{sx:{padding:"20px 24px"},children:a.jsx(x,{sx:{opacity:1},children:e("componentInstallerSuggestions")})})]})]}):a.jsxs(x,{sx:{display:"flex",flexDirection:"column"},children:[a.jsxs(x,{sx:{padding:"20px 24px",marginLeft:0,display:"flex",alignItems:"center",flexDirection:"row",justifyContent:"flex-start"},children:[n||a.jsx(ee,{icon:"mdi:warning-box",style:{color:"yellowgreen",fontSize:24}}),a.jsx(x,{sx:{marginLeft:1,fontSize:"16px",fontWeight:"bold"},children:e("componentInstallerTitle")}),a.jsx(x,{sx:{flex:1}}),S?a.jsx(_e,{variant:"outlined",className:"button",onClick:T,children:a.jsx(Re,{})}):null]}),a.jsx(x,{sx:{width:"100%",height:"1px",backgroundColor:q.gray6}}),a.jsxs(x,{sx:{padding:"20px 24px",marginTop:0},children:[e("componentInstallerNoDefinedInBlockletYML"),": ",b]})]})})})})]})})}V.propTypes={disabled:g.bool,warnIcon:g.node,did:g.oneOfType([g.string,g.arrayOf(g.string)]).isRequired,noPermissionMute:g.bool,onInstalled:g.func,onError:g.func,children:g.any.isRequired,closeByOutSize:g.bool,onClose:g.func,fallback:g.node,roles:g.array};V.defaultProps={disabled:!1,warnIcon:null,noPermissionMute:!1,onInstalled:null,onError:null,closeByOutSize:!1,onClose:null,fallback:null,roles:["owner","admin"]};function De(n){return window.blocklet?a.jsx(V,{...n}):n.children}De.propTypes={...V.propTypes,children:g.any.isRequired};De.defaultProps={...V.defaultProps};var pe={};Object.defineProperty(pe,"__esModule",{value:!0});var ti=pe.default=void 0;oi(M);var Te=a;function oi(n){return n&&n.__esModule?n:{default:n}}function Pe(n,b){var w=Object.keys(n);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(n);b&&(l=l.filter(function(_){return Object.getOwnPropertyDescriptor(n,_).enumerable})),w.push.apply(w,l)}return w}function Ae(n){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{};b%2?Pe(Object(w),!0).forEach(function(l){ri(n,l,w[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(w)):Pe(Object(w)).forEach(function(l){Object.defineProperty(n,l,Object.getOwnPropertyDescriptor(w,l))})}return n}function ri(n,b,w){return b=ni(b),b in n?Object.defineProperty(n,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):n[b]=w,n}function ni(n){var b=ai(n,"string");return typeof b=="symbol"?b:String(b)}function ai(n,b){if(typeof n!="object"||!n)return n;var w=n[Symbol.toPrimitive];if(w!==void 0){var l=w.call(n,b||"default");if(typeof l!="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(n)}var we=function(b){return(0,Te.jsx)("svg",Ae(Ae({},b),{},{children:(0,Te.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.25 10a6.75 6.75 0 1 1 13.5 0 6.75 6.75 0 0 1-13.5 0zM10 1.75a8.25 8.25 0 1 0 0 16.5 8.25 8.25 0 0 0 0-16.5zM8.03 6.97a.75.75 0 0 0-1.06 1.06l5 5a.75.75 0 1 0 1.06-1.06l-5-5z"})}))};we.defaultProps={width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"};we.displayName="revoke";ti=pe.default=we;g.any.isRequired,g.any.isRequired,g.string.isRequired,g.func.isRequired,g.any,g.any,g.number;M.createContext({});const ui=new Xe;ze.defaults.timeout=10*1e3;ze.create();Ne(x)`
2
2
  .selected-container {
3
3
  position: absolute;
4
4
  right: 0px;
@@ -1 +1 @@
1
- import{j as e,G as y,P as s,n as b,m as p,q as k,r as x,M as h,O as u,l as v,p as B,o as R}from"./index-BEh3RskV.js";import{D as U}from"./index-nD2D9Q59.js";import{u as L}from"./blocklet-B2oa0l5B.js";import{C as M,M as C}from"./memory-DspFIQ47.js";import{B as D}from"./bundle-avatar-RmxwsZQa.js";import"./FilterList-PDF9S8a9.js";import"./useThemeProps-guTpp8sD.js";import"./Select-BoNi1_kD.js";import"./Delete-D1RDqaZi.js";import"./InputLabel-DWHNzKMy.js";import"./TextField-CJTsaR61.js";import"./LastPage-uzFB0_6o.js";import"./index-DFMoXqZZ.js";import"./redux-CSH-C8dP.js";import"./Search-CsfCvyCj.js";import"./index-Z7YjOvSs.js";import"./MoreVert-BxyKJhuW.js";import"./chart-BFgJ4nI_.js";function g({blocklet:r,cpuHistory:i,memoryHistory:n,...m}){const l=r.appRuntimeInfo||{};return e.jsx(N,{component:"div",...m,children:e.jsxs(y,{className:"page-metrics",container:!0,spacing:5,children:[e.jsx(y,{item:!0,lg:4,md:6,sm:6,xs:12,children:!!i.length&&e.jsx(M,{currentLoad:l.cpuUsage||0,history:i,style:{height:150}})},"cpu"),e.jsx(y,{item:!0,lg:4,md:6,sm:6,xs:12,children:!!n.length&&e.jsx(C,{used:l.memoryUsage||0,history:n,style:{height:150}})},"memory")]})})}g.propTypes={blocklet:s.object.isRequired,cpuHistory:s.arrayOf(s.shape({date:s.number,value:s.number})),memoryHistory:s.arrayOf(s.shape({date:s.number,value:s.number}))};g.defaultProps={cpuHistory:[],memoryHistory:[]};const N=b(p)``;function P(){const{t:r,locale:i}=k(),{blocklet:n,runtimeHistory:m,actions:{refreshBlocklet:l}}=L(),a=x.useMemo(()=>{const t=[];return h.forEachBlockletSync(n,(o,{ancestors:f,id:d,level:c})=>{o.runtimeInfo&&t.push({type:"blocklet",groupId:n.meta.did,groupName:h.getDisplayName(n),id:d,name:h.getDisplayName(o,!0),blocklet:n,component:o,level:c-1>=0?c-1:0,runtimeInfo:o.runtimeInfo,ancestors:f})}),t},[n]);x.useEffect(()=>{const t=setInterval(()=>{l()},1e4);return()=>{clearInterval(t)}},[]);const I=t=>B(Number(t||0),{locale:R(i)}),j=[{label:r("common.name"),name:"name",options:{customBodyRenderLite(t){const{name:o,component:f,level:d,ancestors:c}=a[t];return e.jsxs(u,{display:"flex",alignItems:"center",pl:d*2,children:[e.jsx(D,{size:14,blocklet:f,ancestors:c}),e.jsx(u,{ml:1,children:o})]})}}},{label:r("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return I(o.uptime)}}},{label:r("blocklet.runtimeInfo.memoryUsage"),name:"runtimeInfo.memoryUsage",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return v((o==null?void 0:o.memoryUsage)||0)}}},{label:r("blocklet.runtimeInfo.cpuUsage"),name:"runtimeInfo.cpuUsage",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return`${(o.cpuUsage||0).toFixed(1)}%`}}},{label:r("blocklet.runtimeInfo.processId"),name:"runtimeInfo.pid"},{label:r("blocklet.runtimeInfo.port"),name:"runtimeInfo.port"}];return e.jsxs(H,{component:"div",children:[e.jsx(p,{component:"h3",variant:"h5",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},mb:2,children:r("analytics.trend")}),n.status==="running"?[e.jsx(u,{children:e.jsx(g,{blocklet:n,cpuHistory:m.cpu,memoryHistory:m.memory})}),e.jsx(u,{mt:3,children:e.jsx(U,{title:r("analytics.detail"),className:"monitor-table",locale:i,data:a,columns:j,options:{search:!1,download:!1,filter:!1,print:!1,viewColumns:!1,pagination:!1,rowsPerPage:100}})})]:e.jsx(p,{children:r("blocklet.runtimeInfo.noRunning")})]})}P.propTypes={};const H=b(p)``;export{P as default};
1
+ import{j as e,G as y,P as s,n as b,m as p,q as k,r as x,M as h,O as u,l as v,p as B,o as R}from"./index-ZGnAW8k-.js";import{D as U}from"./index-DD86vUxF.js";import{u as L}from"./blocklet-F36VtnS3.js";import{C as M,M as C}from"./memory-CrREi08U.js";import{B as D}from"./bundle-avatar-CzY4FWcT.js";import"./FilterList-qnkLmWiK.js";import"./useThemeProps-DMpUSpUQ.js";import"./Select-6AAHiQjm.js";import"./Delete-BA9-i54s.js";import"./InputLabel-DKHlRadP.js";import"./TextField-D7-Vl4N2.js";import"./LastPage-DSz-M1aM.js";import"./index-DbXIo2GY.js";import"./redux-D53RmvG3.js";import"./Search-BvtdswCD.js";import"./index-Q8y1koUx.js";import"./MoreVert-CpEsw2Tj.js";import"./chart-CL8fHlYj.js";function g({blocklet:r,cpuHistory:i,memoryHistory:n,...m}){const l=r.appRuntimeInfo||{};return e.jsx(N,{component:"div",...m,children:e.jsxs(y,{className:"page-metrics",container:!0,spacing:5,children:[e.jsx(y,{item:!0,lg:4,md:6,sm:6,xs:12,children:!!i.length&&e.jsx(M,{currentLoad:l.cpuUsage||0,history:i,style:{height:150}})},"cpu"),e.jsx(y,{item:!0,lg:4,md:6,sm:6,xs:12,children:!!n.length&&e.jsx(C,{used:l.memoryUsage||0,history:n,style:{height:150}})},"memory")]})})}g.propTypes={blocklet:s.object.isRequired,cpuHistory:s.arrayOf(s.shape({date:s.number,value:s.number})),memoryHistory:s.arrayOf(s.shape({date:s.number,value:s.number}))};g.defaultProps={cpuHistory:[],memoryHistory:[]};const N=b(p)``;function P(){const{t:r,locale:i}=k(),{blocklet:n,runtimeHistory:m,actions:{refreshBlocklet:l}}=L(),a=x.useMemo(()=>{const t=[];return h.forEachBlockletSync(n,(o,{ancestors:f,id:d,level:c})=>{o.runtimeInfo&&t.push({type:"blocklet",groupId:n.meta.did,groupName:h.getDisplayName(n),id:d,name:h.getDisplayName(o,!0),blocklet:n,component:o,level:c-1>=0?c-1:0,runtimeInfo:o.runtimeInfo,ancestors:f})}),t},[n]);x.useEffect(()=>{const t=setInterval(()=>{l()},1e4);return()=>{clearInterval(t)}},[]);const I=t=>B(Number(t||0),{locale:R(i)}),j=[{label:r("common.name"),name:"name",options:{customBodyRenderLite(t){const{name:o,component:f,level:d,ancestors:c}=a[t];return e.jsxs(u,{display:"flex",alignItems:"center",pl:d*2,children:[e.jsx(D,{size:14,blocklet:f,ancestors:c}),e.jsx(u,{ml:1,children:o})]})}}},{label:r("common.uptime"),name:"runtimeInfo.uptime",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return I(o.uptime)}}},{label:r("blocklet.runtimeInfo.memoryUsage"),name:"runtimeInfo.memoryUsage",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return v((o==null?void 0:o.memoryUsage)||0)}}},{label:r("blocklet.runtimeInfo.cpuUsage"),name:"runtimeInfo.cpuUsage",options:{customBodyRenderLite(t){const{runtimeInfo:o}=a[t];return`${(o.cpuUsage||0).toFixed(1)}%`}}},{label:r("blocklet.runtimeInfo.processId"),name:"runtimeInfo.pid"},{label:r("blocklet.runtimeInfo.port"),name:"runtimeInfo.port"}];return e.jsxs(H,{component:"div",children:[e.jsx(p,{component:"h3",variant:"h5",color:"textPrimary",style:{fontSize:18,fontWeight:"bold"},mb:2,children:r("analytics.trend")}),n.status==="running"?[e.jsx(u,{children:e.jsx(g,{blocklet:n,cpuHistory:m.cpu,memoryHistory:m.memory})}),e.jsx(u,{mt:3,children:e.jsx(U,{title:r("analytics.detail"),className:"monitor-table",locale:i,data:a,columns:j,options:{search:!1,download:!1,filter:!1,print:!1,viewColumns:!1,pagination:!1,rowsPerPage:100}})})]:e.jsx(p,{children:r("blocklet.runtimeInfo.noRunning")})]})}P.propTypes={};const H=b(p)``;export{P as default};