@plone/volto 18.0.0-alpha.42 → 18.0.0-alpha.44
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.
- package/CHANGELOG.md +111 -0
- package/dist/android-chrome-192x192.png +0 -0
- package/dist/android-chrome-512x512.png +0 -0
- package/dist/apple-touch-icon.png +0 -0
- package/dist/assets/Add-CA4YI1L9.js +1 -0
- package/dist/assets/AddRule-D3FXfjP2.js +1 -0
- package/dist/assets/AddonsControlpanel-BVvov68i.js +1 -0
- package/dist/assets/Aliases-CTeg6p2o.js +1 -0
- package/dist/assets/Aliases-CiYzFinq.js +1 -0
- package/dist/assets/AlignWidget-DOdVMFPI.js +1 -0
- package/dist/assets/ArrayWidget-BrkmZ5dw.js +2 -0
- package/dist/assets/BlockDataForm-B3mthY8C.js +1 -0
- package/dist/assets/BlocksForm-B4Z6BgXT.js +2 -0
- package/dist/assets/BlocksToolbar-QLlNn733.js +1 -0
- package/dist/assets/ButtonsWidget-DEMy855M.js +1 -0
- package/dist/assets/ByDayField-jAVQ7XPH.js +1 -0
- package/dist/assets/ChangePassword-6aoonCrF.js +1 -0
- package/dist/assets/CheckboxWidget-IMR_-sRq.js +1 -0
- package/dist/assets/ColorPickerWidget-Dejm2B0T.js +1 -0
- package/dist/assets/CommentEditModal-Dsgav7Iq.js +1 -0
- package/dist/assets/Comments-Bef0xvDU.js +1 -0
- package/dist/assets/ConfigureRule-DXI9YD9P.js +1 -0
- package/dist/assets/Confirm-DFyDHvrF.js +1 -0
- package/dist/assets/ContactForm-CQVq5Emz.js +1 -0
- package/dist/assets/ContentType-DiwmXeXW.js +1 -0
- package/dist/assets/ContentTypeLayout-DM4zSiq_.js +1 -0
- package/dist/assets/ContentTypeSchema-DiQYp2-x.js +1 -0
- package/dist/assets/ContentTypes-DNvhsL2E.js +1 -0
- package/dist/assets/Contents-HiCShUFN.js +2 -0
- package/dist/assets/ContentsBreadcrumbs-C8wbasB3.js +1 -0
- package/dist/assets/ContentsIndexHeader-DWLUzSSN.js +1 -0
- package/dist/assets/ContentsItem-lDg0F8jy.js +1 -0
- package/dist/assets/ContentsPropertiesModal-xyVS8Pm9.js +1 -0
- package/dist/assets/ContentsRenameModal-CR9og1vu.js +1 -0
- package/dist/assets/ContentsTagsModal-sm2mz3cz.js +1 -0
- package/dist/assets/ContentsUploadModal-DAvSG2iz.js +5 -0
- package/dist/assets/ContentsWorkflowModal-B1faSBIm.js +1 -0
- package/dist/assets/Controlpanel-rIBVAK5V.js +1 -0
- package/dist/assets/Controlpanels-yqRsYca2.js +1 -0
- package/dist/assets/CreateTranslation-BovC3sNf.js +1 -0
- package/dist/assets/DatabaseInformation-BhfKGQdR.js +1 -0
- package/dist/assets/DatetimeWidget-BdaHrXzK.css +1 -0
- package/dist/assets/DatetimeWidget-CGRn8MDB.js +2 -0
- package/dist/assets/Delete-Bf_oGO3l.js +1 -0
- package/dist/assets/Diff-BOq2GAEN.js +2 -0
- package/dist/assets/DiffField-URJH7cyl.js +42 -0
- package/dist/assets/Divider-I-Vkru5f.js +1 -0
- package/dist/assets/DragDropList-DGGG9KzJ.js +1 -0
- package/dist/assets/DynamicRowHeightList-DTGQZVrT.js +2 -0
- package/dist/assets/Edit-DjR75Yke.js +1 -0
- package/dist/assets/EditRule-BBvjH707.js +1 -0
- package/dist/assets/EmailWidget-Bq_6HMhS.js +1 -0
- package/dist/assets/Error-DgGrUrdR.js +1 -0
- package/dist/assets/EventDatesInfo-BBanEDzq.js +2 -0
- package/dist/assets/EventView-B5GwqNQP.js +2 -0
- package/dist/assets/Field-BivWUJ1M.js +1 -0
- package/dist/assets/FileWidget-Cbu5QwYg.js +2 -0
- package/dist/assets/Form-ZI0Zshdh.js +1 -0
- package/dist/assets/FormattedRelativeDate-BDqnftFO.js +1 -0
- package/dist/assets/GroupsControlpanel-DVw7gRP-.js +1 -0
- package/dist/assets/History-eh7QSqQ3.js +1 -0
- package/dist/assets/IdWidget-BdcHR4jR.js +1 -0
- package/dist/assets/ImageSizeWidget-C44x9fO8.js +1 -0
- package/dist/assets/InlineForm-DQFfCjzF.js +1 -0
- package/dist/assets/InternalUrlWidget-BJ2TlHvv.js +1 -0
- package/dist/assets/LinksToItem-OcO6d56I.js +1 -0
- package/dist/assets/Login-BwMJ6f50.js +1 -0
- package/dist/assets/Logout-BUHwA4DE.js +1 -0
- package/dist/assets/ManageTranslations-ChQ7vL2i.js +1 -0
- package/dist/assets/ModalForm-CvvXZSkU.js +1 -0
- package/dist/assets/ModerateComments-1Ov7biDm.js +1 -0
- package/dist/assets/MonthOfTheYearField-CM70wuIb.js +1 -0
- package/dist/assets/NumberWidget-DABMHQm5.js +1 -0
- package/dist/assets/ObjectBrowserWidget-Bh4JpoWw.js +1 -0
- package/dist/assets/ObjectListWidget-DznYu5qo.js +2 -0
- package/dist/assets/ObjectWidget-BBA-_l7E.js +1 -0
- package/dist/assets/Occurences-BzxgwsYx.js +1 -0
- package/dist/assets/Order-BtyRvLNH.js +5 -0
- package/dist/assets/Pagination-CJSyS-v5.js +1 -0
- package/dist/assets/PasswordReset-COH0dZIO.js +1 -0
- package/dist/assets/PasswordWidget-DoHmi1Qa.js +1 -0
- package/dist/assets/PersonalInformation-BnghqH8c.js +1 -0
- package/dist/assets/Poppins-Bold-devanagari-x1FzP7sX.woff2 +0 -0
- package/dist/assets/Poppins-Bold-latin-Qrb0O0WB.woff2 +0 -0
- package/dist/assets/Poppins-Bold-latinext-j1no4XVB.woff2 +0 -0
- package/dist/assets/Poppins-BoldItalic-devanagari-BcxLru-s.woff2 +0 -0
- package/dist/assets/Poppins-BoldItalic-latin-RKf6esGj.woff2 +0 -0
- package/dist/assets/Poppins-BoldItalic-latinext-Dydr-NSJ.woff2 +0 -0
- package/dist/assets/Poppins-Light-devanagari-BtHqo3Vt.woff2 +0 -0
- package/dist/assets/Poppins-Light-latin-Dku2WoCh.woff2 +0 -0
- package/dist/assets/Poppins-Light-latinext-Dp0S20ci.woff2 +0 -0
- package/dist/assets/Poppins-Regular-devanagari-DXhQFdtL.woff2 +0 -0
- package/dist/assets/Poppins-Regular-latin-cpxAROuN.woff2 +0 -0
- package/dist/assets/Poppins-Regular-latinext-CZnfsGfc.woff2 +0 -0
- package/dist/assets/Poppins-RegularItalic-devanagari-BO6sGsOT.woff2 +0 -0
- package/dist/assets/Poppins-RegularItalic-latin-B4GYq972.woff2 +0 -0
- package/dist/assets/Poppins-RegularItalic-latinext-CfukeBgr.woff2 +0 -0
- package/dist/assets/Poppins-Semibold-devanagari-CedCftIp.woff2 +0 -0
- package/dist/assets/Poppins-Semibold-latin-C8OXljZJ.woff2 +0 -0
- package/dist/assets/Poppins-Semibold-latinext-CkbSfFoM.woff2 +0 -0
- package/dist/assets/QuerySortOnWidget-souad4DL.js +2 -0
- package/dist/assets/QueryWidget-qk9RayXO.js +2 -0
- package/dist/assets/QuerystringWidget-DH5jhTLr.js +1 -0
- package/dist/assets/RecurrenceWidget-DnuZQPcL.js +2 -0
- package/dist/assets/ReferenceWidget-B4Ut0GeE.js +1 -0
- package/dist/assets/Register-CZJ_qhM8.js +1 -0
- package/dist/assets/RegistryImageWidget-CdL-rOKh.js +2 -0
- package/dist/assets/Relations-BwmDXEO-.js +1 -0
- package/dist/assets/RenderGroups-CEJGSsLf.js +1 -0
- package/dist/assets/RenderUsers--9m7uN_M.js +1 -0
- package/dist/assets/RequestPasswordReset-ClwvyAVg.js +1 -0
- package/dist/assets/Rules-CmCkDhXN.js +1 -0
- package/dist/assets/Rules-NXbkDTgW.js +1 -0
- package/dist/assets/SchemaWidget-B0c4tT_v.js +5 -0
- package/dist/assets/Search-CspR83YZ.js +1 -0
- package/dist/assets/SelectAutoComplete-D6sNEX-d.js +2 -0
- package/dist/assets/SelectMetadataField-Bp04JyaC.js +2 -0
- package/dist/assets/SelectUtils-BBksmIZO.js +1 -0
- package/dist/assets/SelectWidget-7oSuJ3oC.js +2 -0
- package/dist/assets/Sharing-BD2SWQfE.js +1 -0
- package/dist/assets/Sidebar-DgSrLVjY.js +1 -0
- package/dist/assets/Sitemap-YzTuoH0K.js +1 -0
- package/dist/assets/TextWidget-DuuGzOfb.js +1 -0
- package/dist/assets/TextareaWidget-Dy-lG0rT.js +1 -0
- package/dist/assets/TokenWidget-DPBxq9gC.js +2 -0
- package/dist/assets/Toolbar-DRQzi_9w.js +2 -0
- package/dist/assets/TranslationObject-looZSaOd.js +1 -0
- package/dist/assets/UndoControlpanel-DskOWXtR.js +1 -0
- package/dist/assets/UndoToolbar-d2m9s_d7.js +1 -0
- package/dist/assets/UpgradeControlPanel-D25islCR.js +1 -0
- package/dist/assets/UrlWidget-DVyURufw.js +1 -0
- package/dist/assets/User-CGkBaCm_.js +1 -0
- package/dist/assets/UserGroupMembershipControlPanel-GG_7FkTb.js +1 -0
- package/dist/assets/UsersControlpanel-baYxuzjn.js +1 -0
- package/dist/assets/VersionOverview-A7mgPMUR.js +1 -0
- package/dist/assets/VocabularyTermsWidget-M-5KcHUD.js +2 -0
- package/dist/assets/WeekdayOfTheMonthField-Cjj_8dDR.js +1 -0
- package/dist/assets/WysiwygWidget-GxnNCpDG.js +1 -0
- package/dist/assets/add-user-CTbv3TmR.js +1 -0
- package/dist/assets/aliases-C-VS65Iw.js +1 -0
- package/dist/assets/ca-DPz_x4tN.js +1 -0
- package/dist/assets/cut-ZxaZMyVt.js +1 -0
- package/dist/assets/de-CEfDIAIe.js +1 -0
- package/dist/assets/drag-CfL-m2gM.js +1 -0
- package/dist/assets/en-UGAeOB73.js +1 -0
- package/dist/assets/es-bTR5ZO7p.js +1 -0
- package/dist/assets/eu-ClGcMWvo.js +1 -0
- package/dist/assets/fi-Cb9XYMls.js +1 -0
- package/dist/assets/fr-paTim4vs.js +1 -0
- package/dist/assets/groups-pKq-wbS4.js +1 -0
- package/dist/assets/hi-wfjyKWJi.js +1 -0
- package/dist/assets/history-YklEZVTU.js +1 -0
- package/dist/assets/icons-BvLvFD6l.ttf +0 -0
- package/dist/assets/icons-DEAbt7RB.woff +0 -0
- package/dist/assets/icons-DtZ6carP.eot +0 -0
- package/dist/assets/icons-hSdpWXN3.svg +320 -0
- package/dist/assets/image-gallery-DpLmJ-rt.js +1 -0
- package/dist/assets/index-B0HjVmtS.js +2 -0
- package/dist/assets/index-B21wqIU_.js +1 -0
- package/dist/assets/index-C2wVBtsx.js +690 -0
- package/dist/assets/index-CVdJPLUb.js +3 -0
- package/dist/assets/index-CYKeo7yW.js +28 -0
- package/dist/assets/index-D27Aat_y.css +346 -0
- package/dist/assets/index-D6aBCFDE.js +1 -0
- package/dist/assets/index-DLUMPle8.js +1 -0
- package/dist/assets/it-DefHMwCV.js +1 -0
- package/dist/assets/ja-ChtpWCYw.js +1 -0
- package/dist/assets/memoize-one.esm-CcMeOnPo.js +1 -0
- package/dist/assets/messages-BK-H1zLr.js +1 -0
- package/dist/assets/nl-SQksV7ER.js +1 -0
- package/dist/assets/objectWithoutProperties-xAH_kqrN.js +1 -0
- package/dist/assets/paste-BecFEOpX.js +1 -0
- package/dist/assets/plone-CrIeS8BF.js +1 -0
- package/dist/assets/prism-markup-DpNACz_g.js +1 -0
- package/dist/assets/pt-aWkeVAjQ.js +1 -0
- package/dist/assets/pt_BR-77wXUzSL.js +1 -0
- package/dist/assets/react-beautiful-dnd.esm-DJMwJ8Si.js +61 -0
- package/dist/assets/react-lifecycles-compat.es-AfN2QaV3.js +9 -0
- package/dist/assets/react-select.esm-Bw9Tks6S.js +1 -0
- package/dist/assets/react-select.esm-DqdZW0cZ.js +1 -0
- package/dist/assets/react-select.esm-Dv_YRvYk.js +1 -0
- package/dist/assets/relations-D2Yk2g8d.js +1 -0
- package/dist/assets/ro-DAOiSqwr.js +1 -0
- package/dist/assets/rruleset-Qg0TbHC_.js +7 -0
- package/dist/assets/rules-C-4EoouS.js +1 -0
- package/dist/assets/save-A8XnzzXZ.js +1 -0
- package/dist/assets/sidebar-Dbvn11Db.js +1 -0
- package/dist/assets/stateManager-845a3300.esm-BhBFYHat.js +4 -0
- package/dist/assets/translations-u5Qaabj8.js +1 -0
- package/dist/assets/undo-BK07_7QN.js +1 -0
- package/dist/assets/useClient-BrFMIo4b.js +1 -0
- package/dist/assets/users-BouhAiNc.js +1 -0
- package/dist/assets/vocabularies-x3dq3N13.js +1 -0
- package/dist/assets/workflow-B0qjcbVe.js +1 -0
- package/dist/assets/zh_CN-eXXUKVGT.js +1 -0
- package/dist/client/.vite/ssr-manifest.json +44443 -0
- package/dist/client/android-chrome-192x192.png +0 -0
- package/dist/client/android-chrome-512x512.png +0 -0
- package/dist/client/apple-touch-icon.png +0 -0
- package/dist/client/assets/Add-CUwRE6eq.js +1 -0
- package/dist/client/assets/AddRule-DSFiKef1.js +1 -0
- package/dist/client/assets/AddonsControlpanel-C6Q8GWZM.js +1 -0
- package/dist/client/assets/Aliases-BqlvnmTi.js +1 -0
- package/dist/client/assets/Aliases-FQ5jo7iQ.js +1 -0
- package/dist/client/assets/AlignWidget-CCQ8VpM1.js +1 -0
- package/dist/client/assets/ArrayWidget-CX0k9WCr.js +2 -0
- package/dist/client/assets/BlockDataForm-DvgCpCxy.js +1 -0
- package/dist/client/assets/BlocksForm-CTDjl09L.js +2 -0
- package/dist/client/assets/BlocksToolbar-Tq18mPLi.js +1 -0
- package/dist/client/assets/ButtonsWidget-uO96wErC.js +1 -0
- package/dist/client/assets/ByDayField-BZ3N4ASQ.js +1 -0
- package/dist/client/assets/ChangePassword-CMuaFMBI.js +1 -0
- package/dist/client/assets/CheckboxWidget-Cdn9sM5i.js +1 -0
- package/dist/client/assets/ColorPickerWidget-CbZGSU8b.js +1 -0
- package/dist/client/assets/CommentEditModal-DpnUn4Z5.js +1 -0
- package/dist/client/assets/Comments-CjKXklVx.js +1 -0
- package/dist/client/assets/ConfigureRule-BRQ38Aew.js +1 -0
- package/dist/client/assets/Confirm-CzWNQ0bN.js +1 -0
- package/dist/client/assets/ContactForm-BOqiQ2no.js +1 -0
- package/dist/client/assets/ContentType-BU-FjS9z.js +1 -0
- package/dist/client/assets/ContentTypeLayout-hu7U-BZZ.js +1 -0
- package/dist/client/assets/ContentTypeSchema-C9Xy-aJp.js +1 -0
- package/dist/client/assets/ContentTypes-Bx_fdzPJ.js +1 -0
- package/dist/client/assets/Contents-vyxUuwEK.js +2 -0
- package/dist/client/assets/ContentsBreadcrumbs-CbQV41BN.js +1 -0
- package/dist/client/assets/ContentsIndexHeader-CaMIsaVK.js +1 -0
- package/dist/client/assets/ContentsItem-Cfmgtdnx.js +1 -0
- package/dist/client/assets/ContentsPropertiesModal-Bd_4FSuU.js +1 -0
- package/dist/client/assets/ContentsRenameModal-O1gT1OXP.js +1 -0
- package/dist/client/assets/ContentsTagsModal-B5Uikj5H.js +1 -0
- package/dist/client/assets/ContentsUploadModal-CGqKr7JY.js +5 -0
- package/dist/client/assets/ContentsWorkflowModal-DzztHiMB.js +1 -0
- package/dist/client/assets/Controlpanel-wPS99xKY.js +1 -0
- package/dist/client/assets/Controlpanels-Cck4ENpb.js +1 -0
- package/dist/client/assets/CreateTranslation-YNXafB67.js +1 -0
- package/dist/client/assets/DatabaseInformation-Bs7bp6nk.js +1 -0
- package/dist/client/assets/DatetimeWidget-BPaVyGfj.js +2 -0
- package/dist/client/assets/DatetimeWidget-BdaHrXzK.css +1 -0
- package/dist/client/assets/Delete-3SPCpAWI.js +1 -0
- package/dist/client/assets/Diff-DdohRcsu.js +2 -0
- package/dist/client/assets/DiffField-D-LH2k2t.js +42 -0
- package/dist/client/assets/Divider-D6HRmbj6.js +1 -0
- package/dist/client/assets/DragDropList-D0TZ7goF.js +1 -0
- package/dist/client/assets/DynamicRowHeightList-Cs_ETNBZ.js +2 -0
- package/dist/client/assets/Edit-BHoEOCyM.js +1 -0
- package/dist/client/assets/EditRule-xqs30O6J.js +1 -0
- package/dist/client/assets/EmailWidget-BRSh3Mta.js +1 -0
- package/dist/client/assets/Error-Bnmu371u.js +1 -0
- package/dist/client/assets/EventDatesInfo-DuFJvWM9.js +2 -0
- package/dist/client/assets/EventView-D_JA03il.js +2 -0
- package/dist/client/assets/Field-B4SWqX3L.js +1 -0
- package/dist/client/assets/FileWidget-DfpYuSPY.js +2 -0
- package/dist/client/assets/Form-71MDgstP.js +1 -0
- package/dist/client/assets/FormattedRelativeDate-Bz7UlQwo.js +1 -0
- package/dist/client/assets/GroupsControlpanel-BKTIV66v.js +1 -0
- package/dist/client/assets/History-Din4KG5Q.js +1 -0
- package/dist/client/assets/IdWidget-DsfSWcqq.js +1 -0
- package/dist/client/assets/ImageSizeWidget-CcXetpRz.js +1 -0
- package/dist/client/assets/InlineForm-BalXKbf0.js +1 -0
- package/dist/client/assets/InternalUrlWidget-D7fPqZu7.js +1 -0
- package/dist/client/assets/LinksToItem-DkQpScDl.js +1 -0
- package/dist/client/assets/Login-PW4fNYgr.js +1 -0
- package/dist/client/assets/Logout-DBFMoCVd.js +1 -0
- package/dist/client/assets/ManageTranslations-BItOeQO4.js +1 -0
- package/dist/client/assets/ModalForm-Df5NZdmP.js +1 -0
- package/dist/client/assets/ModerateComments-N15vSOfs.js +1 -0
- package/dist/client/assets/MonthOfTheYearField-i_Zcrkjw.js +1 -0
- package/dist/client/assets/NumberWidget-CL1krBh5.js +1 -0
- package/dist/client/assets/ObjectBrowserWidget-DRPqyiFh.js +1 -0
- package/dist/client/assets/ObjectListWidget-BhiLosyZ.js +2 -0
- package/dist/client/assets/ObjectWidget-DEEZZbak.js +1 -0
- package/dist/client/assets/Occurences-BZzoeqNF.js +1 -0
- package/dist/client/assets/Order-BYtwjfSa.js +5 -0
- package/dist/client/assets/Pagination-BESLtXMZ.js +1 -0
- package/dist/client/assets/PasswordReset-DiSjCl9C.js +1 -0
- package/dist/client/assets/PasswordWidget-IYXgux5Y.js +1 -0
- package/dist/client/assets/PersonalInformation-Dx_D-a-X.js +1 -0
- package/dist/client/assets/Poppins-Bold-devanagari-x1FzP7sX.woff2 +0 -0
- package/dist/client/assets/Poppins-Bold-latin-Qrb0O0WB.woff2 +0 -0
- package/dist/client/assets/Poppins-Bold-latinext-j1no4XVB.woff2 +0 -0
- package/dist/client/assets/Poppins-BoldItalic-devanagari-BcxLru-s.woff2 +0 -0
- package/dist/client/assets/Poppins-BoldItalic-latin-RKf6esGj.woff2 +0 -0
- package/dist/client/assets/Poppins-BoldItalic-latinext-Dydr-NSJ.woff2 +0 -0
- package/dist/client/assets/Poppins-Light-devanagari-BtHqo3Vt.woff2 +0 -0
- package/dist/client/assets/Poppins-Light-latin-Dku2WoCh.woff2 +0 -0
- package/dist/client/assets/Poppins-Light-latinext-Dp0S20ci.woff2 +0 -0
- package/dist/client/assets/Poppins-Regular-devanagari-DXhQFdtL.woff2 +0 -0
- package/dist/client/assets/Poppins-Regular-latin-cpxAROuN.woff2 +0 -0
- package/dist/client/assets/Poppins-Regular-latinext-CZnfsGfc.woff2 +0 -0
- package/dist/client/assets/Poppins-RegularItalic-devanagari-BO6sGsOT.woff2 +0 -0
- package/dist/client/assets/Poppins-RegularItalic-latin-B4GYq972.woff2 +0 -0
- package/dist/client/assets/Poppins-RegularItalic-latinext-CfukeBgr.woff2 +0 -0
- package/dist/client/assets/Poppins-Semibold-devanagari-CedCftIp.woff2 +0 -0
- package/dist/client/assets/Poppins-Semibold-latin-C8OXljZJ.woff2 +0 -0
- package/dist/client/assets/Poppins-Semibold-latinext-CkbSfFoM.woff2 +0 -0
- package/dist/client/assets/QuerySortOnWidget-DYk7Tb1j.js +2 -0
- package/dist/client/assets/QueryWidget-hV1ixqpQ.js +2 -0
- package/dist/client/assets/QuerystringWidget-CIAF2GzY.js +1 -0
- package/dist/client/assets/RecurrenceWidget-BQeiEr0q.js +2 -0
- package/dist/client/assets/ReferenceWidget-DlWSWesX.js +1 -0
- package/dist/client/assets/Register-BC37zowD.js +1 -0
- package/dist/client/assets/RegistryImageWidget-C9HNFTF3.js +2 -0
- package/dist/client/assets/Relations-LLr95Dit.js +1 -0
- package/dist/client/assets/RenderGroups-Cp2wNEW5.js +1 -0
- package/dist/client/assets/RenderUsers-DoZyA8Fg.js +1 -0
- package/dist/client/assets/RequestPasswordReset-I3mmzPqO.js +1 -0
- package/dist/client/assets/Rules-BDUIGSJQ.js +1 -0
- package/dist/client/assets/Rules-CFPICqnM.js +1 -0
- package/dist/client/assets/SchemaWidget-BZHoA4gu.js +5 -0
- package/dist/client/assets/Search-Dn2aeBTL.js +1 -0
- package/dist/client/assets/SelectAutoComplete-cD2YuhbD.js +2 -0
- package/dist/client/assets/SelectMetadataField-B8dXJ3tz.js +2 -0
- package/dist/client/assets/SelectUtils-DlDXMB8W.js +1 -0
- package/dist/client/assets/SelectWidget-C21VwFjR.js +2 -0
- package/dist/client/assets/Sharing-jzxg0esF.js +1 -0
- package/dist/client/assets/Sidebar-HHWPAF1-.js +1 -0
- package/dist/client/assets/Sitemap-DH_8LhFG.js +1 -0
- package/dist/client/assets/TextWidget-1NA5G8H3.js +1 -0
- package/dist/client/assets/TextareaWidget-D8wRZrM-.js +1 -0
- package/dist/client/assets/TokenWidget-DXRZ2TGd.js +2 -0
- package/dist/client/assets/Toolbar-hcuCtPhN.js +2 -0
- package/dist/client/assets/TranslationObject-B39zMKOs.js +1 -0
- package/dist/client/assets/UndoControlpanel-Dn57qiRw.js +1 -0
- package/dist/client/assets/UndoToolbar-OcDVcNUK.js +1 -0
- package/dist/client/assets/UpgradeControlPanel-Dq9CHVWL.js +1 -0
- package/dist/client/assets/UrlWidget-CyoQZy_y.js +1 -0
- package/dist/client/assets/User-DYAlCOsc.js +1 -0
- package/dist/client/assets/UserGroupMembershipControlPanel-ClDiBW73.js +1 -0
- package/dist/client/assets/UsersControlpanel-CSg45VuW.js +1 -0
- package/dist/client/assets/VersionOverview-BbnLCVXo.js +1 -0
- package/dist/client/assets/VocabularyTermsWidget-CldBc7SS.js +2 -0
- package/dist/client/assets/WeekdayOfTheMonthField-CzfnMD-p.js +1 -0
- package/dist/client/assets/WysiwygWidget-IO58Z5Hp.js +1 -0
- package/dist/client/assets/add-user-C_fRj14n.js +1 -0
- package/dist/client/assets/aliases-DQ8WKfto.js +1 -0
- package/dist/client/assets/ca-DPz_x4tN.js +1 -0
- package/dist/client/assets/ca2-DPz_x4tN.js +1 -0
- package/dist/client/assets/cut-ZxaZMyVt.js +1 -0
- package/dist/client/assets/de-CEfDIAIe.js +1 -0
- package/dist/client/assets/drag-CfL-m2gM.js +1 -0
- package/dist/client/assets/en-UGAeOB73.js +1 -0
- package/dist/client/assets/es-bTR5ZO7p.js +1 -0
- package/dist/client/assets/eu-ClGcMWvo.js +1 -0
- package/dist/client/assets/fi-Cb9XYMls.js +1 -0
- package/dist/client/assets/fr-paTim4vs.js +1 -0
- package/dist/client/assets/groups-DDbRmAiS.js +1 -0
- package/dist/client/assets/hi-wfjyKWJi.js +1 -0
- package/dist/client/assets/history-BE3e3tJX.js +1 -0
- package/dist/client/assets/icons-BvLvFD6l.ttf +0 -0
- package/dist/client/assets/icons-DEAbt7RB.woff +0 -0
- package/dist/client/assets/icons-DtZ6carP.eot +0 -0
- package/dist/client/assets/icons-hSdpWXN3.svg +320 -0
- package/dist/client/assets/image-gallery-BQRpobkJ.js +1 -0
- package/dist/client/assets/index-BHHbVxOw.js +1 -0
- package/dist/client/assets/index-BkdKjjmJ.js +3 -0
- package/dist/client/assets/index-C8dkivrQ.js +1 -0
- package/dist/client/assets/index-D1_AVXIm.js +1 -0
- package/dist/client/assets/index-D27Aat_y.css +346 -0
- package/dist/client/assets/index-Dfhzd_0Q.js +28 -0
- package/dist/client/assets/index-DjC7ygxP.js +2 -0
- package/dist/client/assets/index-R10CHN0W.js +299 -0
- package/dist/client/assets/it-DefHMwCV.js +1 -0
- package/dist/client/assets/ja-ChtpWCYw.js +1 -0
- package/dist/client/assets/memoize-one.esm-CcMeOnPo.js +1 -0
- package/dist/client/assets/messages-D53aTvyU.js +1 -0
- package/dist/client/assets/nl-SQksV7ER.js +1 -0
- package/dist/client/assets/objectWithoutProperties-DJfFCfi7.js +1 -0
- package/dist/client/assets/paste-BecFEOpX.js +1 -0
- package/dist/client/assets/plone-CrIeS8BF.js +1 -0
- package/dist/client/assets/prism-markup-DpNACz_g.js +1 -0
- package/dist/client/assets/pt-aWkeVAjQ.js +1 -0
- package/dist/client/assets/pt_BR-77wXUzSL.js +1 -0
- package/dist/client/assets/react-beautiful-dnd.esm-kgQsny0G.js +61 -0
- package/dist/client/assets/react-lifecycles-compat.es-AfN2QaV3.js +9 -0
- package/dist/client/assets/react-select.esm-B_zbeWFZ.js +1 -0
- package/dist/client/assets/react-select.esm-C5HgAv8T.js +1 -0
- package/dist/client/assets/react-select.esm-D6SOKyar.js +1 -0
- package/dist/client/assets/relations-C8He-c7q.js +1 -0
- package/dist/client/assets/ro-DAOiSqwr.js +1 -0
- package/dist/client/assets/rruleset-B-gU6Vu6.js +7 -0
- package/dist/client/assets/rules-gMbfzj9b.js +1 -0
- package/dist/client/assets/save-A8XnzzXZ.js +1 -0
- package/dist/client/assets/sidebar-Cg9xJ3Wn.js +1 -0
- package/dist/client/assets/stateManager-845a3300.esm-FHbDYpjV.js +4 -0
- package/dist/client/assets/translations-Ch2bqGLg.js +1 -0
- package/dist/client/assets/undo-BK07_7QN.js +1 -0
- package/dist/client/assets/useClient-BEoxUiuE.js +1 -0
- package/dist/client/assets/users-D9kPg8yt.js +1 -0
- package/dist/client/assets/vocabularies-DlvvsO0O.js +1 -0
- package/dist/client/assets/workflow-CHtwvb_4.js +1 -0
- package/dist/client/assets/zh_CN-eXXUKVGT.js +1 -0
- package/dist/client/favicon-16x16.png +0 -0
- package/dist/client/favicon-32x32.png +0 -0
- package/dist/client/favicon.ico +0 -0
- package/dist/client/icon.svg +13 -0
- package/dist/client/index.html +14 -0
- package/dist/client/index.html.spa +34 -0
- package/dist/client/robots.txt +2 -0
- package/dist/client/site.webmanifest +19 -0
- package/dist/favicon-16x16.png +0 -0
- package/dist/favicon-32x32.png +0 -0
- package/dist/favicon.ico +0 -0
- package/dist/icon.svg +13 -0
- package/dist/index.html +14 -0
- package/dist/index.html.spa +34 -0
- package/dist/robots.txt +2 -0
- package/dist/server/android-chrome-192x192.png +0 -0
- package/dist/server/android-chrome-512x512.png +0 -0
- package/dist/server/apple-touch-icon.png +0 -0
- package/dist/server/assets/Add-CsJoCji4.js +507 -0
- package/dist/server/assets/AddRule-cE7fxqDi.js +392 -0
- package/dist/server/assets/AddonsControlpanel-W-JmCCQZ.js +555 -0
- package/dist/server/assets/Aliases-CDNyL3r1.js +399 -0
- package/dist/server/assets/Aliases-tMadX250.js +568 -0
- package/dist/server/assets/AlignWidget-BAMFIDm-.js +125 -0
- package/dist/server/assets/ArrayWidget-CgfS8hDH.js +363 -0
- package/dist/server/assets/BlockDataForm-zfD1scIv.js +92 -0
- package/dist/server/assets/BlocksForm-DW5cAojg.js +752 -0
- package/dist/server/assets/BlocksToolbar-B9n_ff9E.js +277 -0
- package/dist/server/assets/ButtonsWidget-BoUEtgpa.js +97 -0
- package/dist/server/assets/ByDayField-C6SuyhPy.js +118 -0
- package/dist/server/assets/ChangePassword-K3-cTffr.js +217 -0
- package/dist/server/assets/CheckboxWidget-C2UdwJnU.js +108 -0
- package/dist/server/assets/ColorPickerWidget-C3Fs64WC.js +72 -0
- package/dist/server/assets/CommentEditModal-CJIT5LNs.js +144 -0
- package/dist/server/assets/Comments-BYGPCvYn.js +416 -0
- package/dist/server/assets/ConfigureRule-DJaR8x5h.js +1338 -0
- package/dist/server/assets/ContactForm-D2pQPuAd.js +246 -0
- package/dist/server/assets/ContentType-BHuuMMOP.js +318 -0
- package/dist/server/assets/ContentTypeLayout-4t4HDZ3j.js +547 -0
- package/dist/server/assets/ContentTypeSchema-BV_tFkff.js +383 -0
- package/dist/server/assets/ContentTypes-C40JO5N_.js +567 -0
- package/dist/server/assets/Contents-BOn6l3S9.js +2364 -0
- package/dist/server/assets/ContentsBreadcrumbs-Dtyd6Hr0.js +153 -0
- package/dist/server/assets/ContentsIndexHeader-DxJAuKwb.js +97 -0
- package/dist/server/assets/ContentsItem-bD7oEcmI.js +446 -0
- package/dist/server/assets/ContentsPropertiesModal-q9wA0Aal.js +231 -0
- package/dist/server/assets/ContentsRenameModal-Bk9lIkwt.js +181 -0
- package/dist/server/assets/ContentsTagsModal-C-gTZFmZ.js +168 -0
- package/dist/server/assets/ContentsUploadModal-DiUUlQ5S.js +340 -0
- package/dist/server/assets/ContentsWorkflowModal-CAc4f94G.js +177 -0
- package/dist/server/assets/Controlpanel-HK3BGM-X.js +310 -0
- package/dist/server/assets/Controlpanels-DyXD6DdO.js +310 -0
- package/dist/server/assets/CreateTranslation-DG5LTQTQ.js +112 -0
- package/dist/server/assets/DatabaseInformation-ChVnavys.js +241 -0
- package/dist/server/assets/DatetimeWidget-CHdttszV.js +271 -0
- package/dist/server/assets/Delete-Cx_tWSDi.js +188 -0
- package/dist/server/assets/Diff-Ddx1DMp8.js +415 -0
- package/dist/server/assets/DiffField-BcZUPjLc.js +195 -0
- package/dist/server/assets/DragDropList-CiuXlWfI.js +164 -0
- package/dist/server/assets/DynamicRowHeightList-BomAJzxz.js +60 -0
- package/dist/server/assets/Edit-DAIHguhl.js +669 -0
- package/dist/server/assets/EditRule-lTwgcp6X.js +423 -0
- package/dist/server/assets/EmailWidget-DPCyfiXg.js +129 -0
- package/dist/server/assets/Error-MJ-ObF_2.js +21 -0
- package/dist/server/assets/EventDatesInfo-CtX7N3Lc.js +171 -0
- package/dist/server/assets/EventView-r4SE_kC7.js +275 -0
- package/dist/server/assets/Field-kKcQmlbv.js +184 -0
- package/dist/server/assets/FileWidget-B3jY_tIe.js +205 -0
- package/dist/server/assets/Form-BqwUy8yR.js +959 -0
- package/dist/server/assets/FormattedRelativeDate-eSbRd-qW.js +48 -0
- package/dist/server/assets/GroupsControlpanel-DjZK6zeD.js +697 -0
- package/dist/server/assets/History-CGuT0Gxk.js +373 -0
- package/dist/server/assets/IdWidget-DbyITK61.js +217 -0
- package/dist/server/assets/ImageSizeWidget-DKY4NccJ.js +136 -0
- package/dist/server/assets/InlineForm-D45kJH2i.js +283 -0
- package/dist/server/assets/InternalUrlWidget-B6sRTbIQ.js +192 -0
- package/dist/server/assets/LinksToItem-6uMHi4JH.js +280 -0
- package/dist/server/assets/Login-BnWfiyxk.js +275 -0
- package/dist/server/assets/Logout-DDzsV2_q.js +115 -0
- package/dist/server/assets/ManageTranslations-DBpk3SPh.js +316 -0
- package/dist/server/assets/ModalForm-BFUz4-5h.js +343 -0
- package/dist/server/assets/ModerateComments-BSWE6DLB.js +332 -0
- package/dist/server/assets/MonthOfTheYearField-BKVtfnMh.js +110 -0
- package/dist/server/assets/NumberWidget-D2oZIOtl.js +129 -0
- package/dist/server/assets/ObjectBrowserWidget-DwTYxap2.js +420 -0
- package/dist/server/assets/ObjectListWidget-DddssDcY.js +258 -0
- package/dist/server/assets/ObjectWidget-DAbu4vKd.js +160 -0
- package/dist/server/assets/Occurences-Zl3kp-s8.js +223 -0
- package/dist/server/assets/Order-DYralO8T.js +586 -0
- package/dist/server/assets/Pagination-DhaW_lzc.js +98 -0
- package/dist/server/assets/PasswordReset-XB45O1K2.js +336 -0
- package/dist/server/assets/PasswordWidget-CvKRkTK-.js +131 -0
- package/dist/server/assets/PersonalInformation--cOokZv2.js +78 -0
- package/dist/server/assets/QuerySortOnWidget-BSGAZOfo.js +136 -0
- package/dist/server/assets/QueryWidget-D8pt9fPj.js +492 -0
- package/dist/server/assets/QuerystringWidget-4LGKA9EF.js +176 -0
- package/dist/server/assets/RecurrenceWidget-DmaZUmHT.js +1426 -0
- package/dist/server/assets/ReferenceWidget-BYkwGmcC.js +236 -0
- package/dist/server/assets/Register-DCPdPToE.js +185 -0
- package/dist/server/assets/RegistryImageWidget-Clx3uX9X.js +189 -0
- package/dist/server/assets/Relations-HXFX3OhR.js +1092 -0
- package/dist/server/assets/RenderGroups-15rVe2q0.js +134 -0
- package/dist/server/assets/RenderUsers-DQoVtZTV.js +254 -0
- package/dist/server/assets/RequestPasswordReset-DoEfaZxv.js +203 -0
- package/dist/server/assets/Rules-C368LdtM.js +557 -0
- package/dist/server/assets/Rules-DEEwiG_G.js +456 -0
- package/dist/server/assets/SchemaWidget-42TNEpHs.js +1392 -0
- package/dist/server/assets/Search-Cj9Vf745.js +417 -0
- package/dist/server/assets/SelectAutoComplete-QN8lOuc8.js +279 -0
- package/dist/server/assets/SelectMetadataField-CVmZ9snw.js +184 -0
- package/dist/server/assets/SelectUtils-CfKnO3Pp.js +72 -0
- package/dist/server/assets/SelectWidget-EYyEok6L.js +317 -0
- package/dist/server/assets/Sharing-lbff3IeO.js +579 -0
- package/dist/server/assets/Sidebar-DuoR_j80.js +246 -0
- package/dist/server/assets/Sitemap-DyY1fP-7.js +164 -0
- package/dist/server/assets/TextWidget-BhMn8hi_.js +156 -0
- package/dist/server/assets/TextareaWidget-BD3faCaG.js +125 -0
- package/dist/server/assets/TokenWidget-BzMjib_o.js +244 -0
- package/dist/server/assets/Toolbar-DVsVq7NQ.js +1695 -0
- package/dist/server/assets/TranslationObject-Cu7Oz0D_.js +120 -0
- package/dist/server/assets/UndoControlpanel-CfSOfvIf.js +690 -0
- package/dist/server/assets/UndoToolbar-DIbEtI6_.js +226 -0
- package/dist/server/assets/UpgradeControlPanel-DqSvBsKg.js +397 -0
- package/dist/server/assets/UrlWidget-C0_i8u8y.js +194 -0
- package/dist/server/assets/User-CeYa32LY.js +21 -0
- package/dist/server/assets/UserGroupMembershipControlPanel-GJ1xAI2H.js +635 -0
- package/dist/server/assets/UsersControlpanel-D_FsBPMW.js +752 -0
- package/dist/server/assets/VersionOverview-CKK4Mh4X.js +577 -0
- package/dist/server/assets/VocabularyTermsWidget-CErDWtRU.js +311 -0
- package/dist/server/assets/WeekdayOfTheMonthField-Cr_GRGfk.js +97 -0
- package/dist/server/assets/WysiwygWidget-lCJy28BX.js +71 -0
- package/dist/server/assets/add-user-OjrbLPze.js +15 -0
- package/dist/server/assets/aliases-C1e1Zo30.js +36 -0
- package/dist/server/assets/ca-DyGhRQw8.js +1582 -0
- package/dist/server/assets/ca2-BGpXXCA_.js +1582 -0
- package/dist/server/assets/cut-BEOWxek2.js +6 -0
- package/dist/server/assets/de-C9Bn7Rn5.js +1605 -0
- package/dist/server/assets/drag-DY7wFRIh.js +4 -0
- package/dist/server/assets/en-BmNu-gsU.js +1605 -0
- package/dist/server/assets/es-XH30tkMP.js +1582 -0
- package/dist/server/assets/eu-VsSby9_e.js +1582 -0
- package/dist/server/assets/fi-BRqySjmD.js +1582 -0
- package/dist/server/assets/fr-DWx9W4gK.js +1582 -0
- package/dist/server/assets/groups-DlLziArH.js +57 -0
- package/dist/server/assets/hi-CJ8Pz8K_.js +1582 -0
- package/dist/server/assets/history-Di4xw5JV.js +24 -0
- package/dist/server/assets/index-7OxxMyWS.js +61 -0
- package/dist/server/assets/it-Db41lwPq.js +1582 -0
- package/dist/server/assets/ja-sRZcO51F.js +1582 -0
- package/dist/server/assets/messages-Daz-GFAC.js +9 -0
- package/dist/server/assets/nl-CH7F8zGZ.js +1582 -0
- package/dist/server/assets/paste-CtDNO5f5.js +4 -0
- package/dist/server/assets/plone-DmfQ132L.js +4 -0
- package/dist/server/assets/pt-BWnCu7AF.js +1582 -0
- package/dist/server/assets/pt_BR-D2d5lTnr.js +1582 -0
- package/dist/server/assets/relations-DpP4v3e7.js +63 -0
- package/dist/server/assets/ro-BlUnfGvL.js +1582 -0
- package/dist/server/assets/rules-BR_HXhIG.js +261 -0
- package/dist/server/assets/save-C0BIu8AK.js +4 -0
- package/dist/server/assets/sidebar-BGq8uRxG.js +23 -0
- package/dist/server/assets/translations-DicXGvqf.js +39 -0
- package/dist/server/assets/undo-lQM6Vhc7.js +4 -0
- package/dist/server/assets/useClient-_7WynRVZ.js +11 -0
- package/dist/server/assets/users-BY0qskQF.js +112 -0
- package/dist/server/assets/vocabularies-C3rWoW1K.js +90 -0
- package/dist/server/assets/zh_CN-Cy1xbPRJ.js +1582 -0
- package/dist/server/entry-server.js +32003 -0
- package/dist/server/favicon-16x16.png +0 -0
- package/dist/server/favicon-32x32.png +0 -0
- package/dist/server/favicon.ico +0 -0
- package/dist/server/icon.svg +13 -0
- package/dist/server/index.html.spa +34 -0
- package/dist/server/robots.txt +2 -0
- package/dist/server/site.webmanifest +19 -0
- package/dist/site.webmanifest +19 -0
- package/locales/ca/LC_MESSAGES/volto.po +13 -12
- package/locales/ca.json +1 -1
- package/locales/ca2.json +1 -0
- package/locales/de/LC_MESSAGES/volto.po +14 -13
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +13 -12
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +14 -13
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +14 -13
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +14 -13
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +14 -13
- package/locales/fr.json +1 -1
- package/locales/hi/LC_MESSAGES/volto.po +14 -13
- package/locales/hi.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +50 -49
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +13 -12
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +13 -12
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +13 -12
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +79 -78
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +13 -12
- package/locales/ro.json +1 -1
- package/locales/volto.pot +14 -13
- package/locales/zh_CN/LC_MESSAGES/volto.po +14 -13
- package/locales/zh_CN.json +1 -1
- package/package.json +3 -3
- package/razzle.config.js +1 -1
- package/src/components/manage/Actions/Actions.stories.jsx +138 -0
- package/src/components/manage/Add/Add.jsx +7 -4
- package/src/components/manage/BlockChooser/BlockChooser.jsx +9 -1
- package/src/components/manage/BlockChooser/BlockChooser.test.jsx +4 -0
- package/src/components/manage/Blocks/Block/Edit.jsx +24 -8
- package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +24 -2
- package/src/components/manage/Blocks/Block/Order/Item.jsx +3 -1
- package/src/components/manage/Blocks/Grid/View.jsx +3 -0
- package/src/components/manage/Blocks/LeadImage/Edit.jsx +74 -126
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +1 -0
- package/src/components/manage/Blocks/Search/components/SortOn.jsx +82 -55
- package/src/components/manage/Blocks/Search/widgets/SelectMetadataField.jsx +107 -176
- package/src/components/manage/Blocks/Teaser/DefaultBody.jsx +15 -8
- package/src/components/manage/Blocks/ToC/Edit.jsx +36 -29
- package/src/components/manage/Blocks/Video/Edit.jsx +105 -172
- package/src/components/manage/Blocks/Video/Edit.stories.jsx +57 -0
- package/src/components/manage/Contents/Contents.jsx +3 -0
- package/src/components/manage/Contents/ContentsBreadcrumbs.stories.jsx +46 -0
- package/src/components/manage/Contents/ContentsPropertiesModal.jsx +85 -52
- package/src/components/manage/Contents/ContentsUploadModal.jsx +230 -323
- package/src/components/manage/Contents/ContentsUploadModal.stories.jsx +56 -0
- package/src/components/manage/Controlpanels/AddonsControlpanel.jsx +323 -441
- package/src/components/manage/Controlpanels/Aliases.jsx +452 -580
- package/src/components/manage/Controlpanels/Aliases.stories.jsx +74 -0
- package/src/components/manage/Controlpanels/Controlpanel.jsx +41 -2
- package/src/components/manage/Controlpanels/Controlpanel.test.jsx +55 -24
- package/src/components/manage/Controlpanels/DatabaseInformation.jsx +162 -229
- package/src/components/manage/Controlpanels/Groups/RenderGroups.jsx +74 -122
- package/src/components/manage/Diff/DiffField.jsx +167 -39
- package/src/components/manage/Display/Display.jsx +92 -148
- package/src/components/manage/Display/Display.stories.jsx +46 -0
- package/src/components/manage/Edit/Edit.jsx +2 -4
- package/src/components/manage/Form/Form.jsx +31 -22
- package/src/components/manage/Preferences/ChangePassword.jsx +94 -172
- package/src/components/manage/Preferences/ChangePassword.stories.jsx +41 -0
- package/src/components/manage/Preferences/PersonalInformation.jsx +50 -115
- package/src/components/manage/Preferences/PersonalPreferences.jsx +46 -100
- package/src/components/manage/Preferences/PersonalPreferences.stories.jsx +48 -0
- package/src/components/manage/Sidebar/SidebarPopup.jsx +9 -1
- package/src/components/manage/Toast/Toast.jsx +2 -2
- package/src/components/manage/Toolbar/More.jsx +308 -399
- package/src/components/manage/Widgets/ArrayWidget.jsx +1 -0
- package/src/components/manage/Widgets/DatetimeWidget.jsx +121 -175
- package/src/components/manage/Widgets/FormFieldWrapper.jsx +23 -3
- package/src/components/manage/Widgets/ReferenceWidget.jsx +134 -210
- package/src/components/manage/Widgets/SelectWidget.jsx +1 -0
- package/src/components/manage/Widgets/TokenWidget.jsx +1 -0
- package/src/components/theme/Register/Register.jsx +70 -142
- package/src/components/theme/Register/Register.stories.jsx +49 -0
- package/src/components/theme/Tags/Tags.jsx +19 -10
- package/src/components/theme/Tags/Tags.test.jsx +9 -11
- package/src/components/theme/View/AlbumView.jsx +122 -167
- package/src/components/theme/View/LinkView.jsx +4 -0
- package/src/components/theme/View/LinkView.test.jsx +2 -0
- package/src/components/theme/View/View.jsx +0 -6
- package/src/config/ControlPanels.js +49 -43
- package/src/config/NonContentRoutesPublic.jsx +15 -0
- package/src/config/config.test.js +1 -0
- package/src/config/index.js +18 -0
- package/src/config/slots.js +12 -0
- package/src/helpers/Blocks/Blocks.js +13 -8
- package/src/helpers/Blocks/Blocks.test.js +15 -0
- package/src/helpers/Blocks/cloneBlocks.ts +1 -1
- package/src/helpers/FormValidation/FormValidation.jsx +19 -2
- package/src/helpers/FormValidation/validators.ts +1 -1
- package/src/helpers/Url/Url.js +4 -1
- package/src/helpers/Url/Url.test.js +32 -5
- package/src/helpers/Url/urlRegex.js +1 -1
- package/src/helpers/index.js +2 -0
- package/src/hooks/index.js +1 -0
- package/src/hooks/user/useUser.js +23 -0
- package/src/middleware/api.js +4 -2
- package/src/middleware/index.js +1 -0
- package/src/middleware/userSessionReset.js +46 -0
- package/src/store.js +2 -0
- package/test-setup-config.jsx +5 -0
- package/theme/themes/pastanaga/collections/form.overrides +1 -0
- package/theme/themes/pastanaga/collections/table.overrides +6 -1
- package/theme/themes/pastanaga/extras/blocks.less +6 -0
- package/theme/themes/pastanaga/extras/main.less +3 -2
- package/theme/themes/pastanaga/extras/toolbar.less +14 -2
- package/theme/themes/pastanaga/extras/widgets.less +12 -0
- package/theme/themes/pastanaga/modules/accordion.variables +3 -3
- package/types/components/manage/Actions/Actions.stories.d.ts +8 -0
- package/types/components/manage/Blocks/LeadImage/Edit.d.ts +14 -5
- package/types/components/manage/Blocks/Search/widgets/SelectMetadataField.d.ts +0 -5
- package/types/components/manage/Blocks/ToC/Edit.d.ts +1 -6
- package/types/components/manage/Blocks/Video/Edit.d.ts +1 -1
- package/types/components/manage/Blocks/Video/Edit.stories.d.ts +8 -0
- package/types/components/manage/Contents/ContentsBreadcrumbs.stories.d.ts +8 -0
- package/types/components/manage/Contents/ContentsUploadModal.d.ts +14 -2
- package/types/components/manage/Contents/ContentsUploadModal.stories.d.ts +8 -0
- package/types/components/manage/Contents/index.d.ts +1 -1
- package/types/components/manage/Controlpanels/AddonsControlpanel.d.ts +2 -2
- package/types/components/manage/Controlpanels/Aliases.d.ts +2 -2
- package/types/components/manage/Controlpanels/Aliases.stories.d.ts +8 -0
- package/types/components/manage/Controlpanels/DatabaseInformation.d.ts +2 -2
- package/types/components/manage/Controlpanels/Groups/RenderGroups.d.ts +10 -5
- package/types/components/manage/Controlpanels/index.d.ts +4 -4
- package/types/components/manage/Display/Display.stories.d.ts +8 -0
- package/types/components/manage/Preferences/ChangePassword.d.ts +2 -2
- package/types/components/manage/Preferences/ChangePassword.stories.d.ts +8 -0
- package/types/components/manage/Preferences/PersonalInformation.d.ts +7 -2
- package/types/components/manage/Preferences/PersonalPreferences.d.ts +5 -1
- package/types/components/manage/Preferences/PersonalPreferences.stories.d.ts +8 -0
- package/types/components/manage/Toolbar/More.d.ts +8 -5
- package/types/components/manage/Widgets/DatetimeWidget.d.ts +0 -85
- package/types/components/manage/Widgets/DatetimeWidget.stories.d.ts +0 -1
- package/types/components/manage/Widgets/ReferenceWidget.d.ts +27 -2
- package/types/components/manage/Widgets/index.d.ts +1 -1
- package/types/components/theme/Register/Register.d.ts +2 -2
- package/types/components/theme/Register/Register.stories.d.ts +9 -0
- package/types/components/theme/Tags/Tags.d.ts +15 -7
- package/types/components/theme/View/AlbumView.d.ts +3 -17
- package/types/config/ControlPanels.d.ts +8 -0
- package/types/config/NonContentRoutesPublic.d.ts +1 -0
- package/types/config/Widgets.d.ts +1 -1
- package/types/config/slots.d.ts +21 -0
- package/types/helpers/Blocks/Blocks.d.ts +7 -1
- package/types/helpers/FormValidation/FormValidation.d.ts +1 -0
- package/types/helpers/index.d.ts +2 -2
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/user/useUser.d.ts +2 -0
- package/types/middleware/index.d.ts +1 -0
- package/types/middleware/userSessionReset.d.ts +5 -0
- package/vite-plugins/volto.js +30 -0
|
@@ -0,0 +1,690 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
|
+
import { Component } from "react";
|
|
6
|
+
import PropTypes from "prop-types";
|
|
7
|
+
import { connect } from "react-redux";
|
|
8
|
+
import { compose } from "redux";
|
|
9
|
+
import { Link } from "react-router-dom";
|
|
10
|
+
import { createPortal } from "react-dom";
|
|
11
|
+
import { Container, Segment, Table, Input, Menu } from "semantic-ui-react";
|
|
12
|
+
import { injectIntl, defineMessages, FormattedMessage } from "react-intl";
|
|
13
|
+
import { bX as GET_TRANSACTIONS, bY as REVERT_TRANSACTIONS, T as Toast, H as HelmetExport, F as Form, I as Icon, au as paginationLeftSVG, ai as paginationRightSVG, o as backSVG } from "../entry-server.js";
|
|
14
|
+
import { T as Toolbar } from "./Toolbar-DVsVq7NQ.js";
|
|
15
|
+
import { map } from "lodash-es";
|
|
16
|
+
import { u as undoSVG } from "./undo-lQM6Vhc7.js";
|
|
17
|
+
import { toast } from "react-toastify";
|
|
18
|
+
import "classnames";
|
|
19
|
+
import "moment";
|
|
20
|
+
import "react-router";
|
|
21
|
+
import "react-router-hash-link";
|
|
22
|
+
import "tlds";
|
|
23
|
+
import "prepend-http";
|
|
24
|
+
import "lodash-move";
|
|
25
|
+
import "react-dom/server";
|
|
26
|
+
import "react-transition-group";
|
|
27
|
+
import "promise-file-reader";
|
|
28
|
+
import "uuid";
|
|
29
|
+
import "pretty-bytes";
|
|
30
|
+
import "react-side-effect";
|
|
31
|
+
import "github-slugger";
|
|
32
|
+
import "slate";
|
|
33
|
+
import "hoist-non-react-statics";
|
|
34
|
+
import "query-string";
|
|
35
|
+
import "slate-react";
|
|
36
|
+
import "prettier/standalone";
|
|
37
|
+
import "prettier/parser-html";
|
|
38
|
+
import "prismjs/components/prism-core.js";
|
|
39
|
+
import "react-animate-height";
|
|
40
|
+
import "react-popper";
|
|
41
|
+
import "react-sortable-hoc";
|
|
42
|
+
import "react-dates/initialize.js";
|
|
43
|
+
import "react-anchor-link-smooth-scroll";
|
|
44
|
+
import "jwt-decode";
|
|
45
|
+
import "react-router-config";
|
|
46
|
+
import "react-fast-compare";
|
|
47
|
+
import "object-assign";
|
|
48
|
+
import "lodash-es/split.js";
|
|
49
|
+
import "lodash-es/join.js";
|
|
50
|
+
import "lodash-es/trim.js";
|
|
51
|
+
import "react-cookie";
|
|
52
|
+
import "react-intl-redux";
|
|
53
|
+
import "universal-cookie";
|
|
54
|
+
import "slate-hyperscript";
|
|
55
|
+
import "is-hotkey";
|
|
56
|
+
import "react-dropzone";
|
|
57
|
+
import "react-intersection-observer";
|
|
58
|
+
import "is-url";
|
|
59
|
+
import "lodash-es/isUndefined.js";
|
|
60
|
+
import "lodash-es/isString.js";
|
|
61
|
+
import "redux-mock-store";
|
|
62
|
+
import "serialize-javascript";
|
|
63
|
+
import "superagent";
|
|
64
|
+
import "connected-react-router";
|
|
65
|
+
import "react-beautiful-dnd";
|
|
66
|
+
import "detect-browser";
|
|
67
|
+
import "locale";
|
|
68
|
+
import "history";
|
|
69
|
+
import "redux-thunk";
|
|
70
|
+
import "redux-localstorage-simple";
|
|
71
|
+
import "debug";
|
|
72
|
+
import "express";
|
|
73
|
+
import "http-proxy-middleware";
|
|
74
|
+
import "./users-BY0qskQF.js";
|
|
75
|
+
import "./User-CeYa32LY.js";
|
|
76
|
+
import "./PersonalInformation--cOokZv2.js";
|
|
77
|
+
function getTransactions() {
|
|
78
|
+
return {
|
|
79
|
+
type: GET_TRANSACTIONS,
|
|
80
|
+
request: {
|
|
81
|
+
op: "get",
|
|
82
|
+
path: `/@transactions`
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function revertTransactions(transaction_ids) {
|
|
87
|
+
return {
|
|
88
|
+
type: REVERT_TRANSACTIONS,
|
|
89
|
+
request: {
|
|
90
|
+
op: "patch",
|
|
91
|
+
path: "/@transactions",
|
|
92
|
+
data: { transaction_ids }
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
const messages = defineMessages({
|
|
97
|
+
success: {
|
|
98
|
+
id: "Success",
|
|
99
|
+
defaultMessage: "Success"
|
|
100
|
+
},
|
|
101
|
+
error: {
|
|
102
|
+
id: "Error",
|
|
103
|
+
defaultMessage: "Error"
|
|
104
|
+
},
|
|
105
|
+
undo: {
|
|
106
|
+
id: "Undo",
|
|
107
|
+
defaultMessage: "Undo"
|
|
108
|
+
},
|
|
109
|
+
back: {
|
|
110
|
+
id: "Back",
|
|
111
|
+
defaultMessage: "Back"
|
|
112
|
+
},
|
|
113
|
+
default: {
|
|
114
|
+
id: "Default",
|
|
115
|
+
defaultMessage: "Default"
|
|
116
|
+
},
|
|
117
|
+
sortBy: {
|
|
118
|
+
id: "Sort By",
|
|
119
|
+
defaultMessage: "Sort by"
|
|
120
|
+
},
|
|
121
|
+
sorted: {
|
|
122
|
+
id: "Sorted",
|
|
123
|
+
defaultMessage: "Sorted"
|
|
124
|
+
},
|
|
125
|
+
unsorted: {
|
|
126
|
+
id: "Unsorted",
|
|
127
|
+
defaultMessage: "Unsorted"
|
|
128
|
+
},
|
|
129
|
+
sortByDescription: {
|
|
130
|
+
id: "Sort transactions by User-Name, Path or Date",
|
|
131
|
+
defaultMessage: "Sort transactions by User-Name, Path or Date"
|
|
132
|
+
},
|
|
133
|
+
failedToUndoTransactions: {
|
|
134
|
+
id: "Failed To Undo Transactions",
|
|
135
|
+
defaultMessage: "Failed to undo transactions"
|
|
136
|
+
},
|
|
137
|
+
successfullyUndoneTransactions: {
|
|
138
|
+
id: "Successfully Undone Transactions",
|
|
139
|
+
defaultMessage: "Successfully undone transactions"
|
|
140
|
+
},
|
|
141
|
+
transactionsHaveBeenSorted: {
|
|
142
|
+
id: "Transactions Have Been Sorted",
|
|
143
|
+
defaultMessage: "Transactions have been sorted"
|
|
144
|
+
},
|
|
145
|
+
transactionsHaveBeenUnsorted: {
|
|
146
|
+
id: "Transactions Have Been Unsorted",
|
|
147
|
+
defaultMessage: "Transactions have been unsorted"
|
|
148
|
+
},
|
|
149
|
+
noTransactionsSelected: {
|
|
150
|
+
id: "No Transactions Selected",
|
|
151
|
+
defaultMessage: "No transactions selected"
|
|
152
|
+
},
|
|
153
|
+
noTransactionsSelectedToDoUndo: {
|
|
154
|
+
id: "No Transactions Selected To Do Undo",
|
|
155
|
+
defaultMessage: "No transactions selected to do undo"
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
class UndoControlpanel extends Component {
|
|
159
|
+
/**
|
|
160
|
+
* Constructor
|
|
161
|
+
* @method constructor
|
|
162
|
+
* @param {Object} props Component properties
|
|
163
|
+
* @constructs UndoControlpanel
|
|
164
|
+
*/
|
|
165
|
+
constructor(props) {
|
|
166
|
+
super(props);
|
|
167
|
+
this.state = {
|
|
168
|
+
isClient: false,
|
|
169
|
+
sortType: "no value",
|
|
170
|
+
lowerIndex: 0,
|
|
171
|
+
upperIndex: 20,
|
|
172
|
+
defaultTransactionsLenInTable: 20,
|
|
173
|
+
isSortingTypeSelected: false,
|
|
174
|
+
sortedTransactions: [],
|
|
175
|
+
isEmptyInputForSorting: false,
|
|
176
|
+
isTransactionsNotFound: false,
|
|
177
|
+
isClickedOnUndoButton: false,
|
|
178
|
+
showPrevButton: false,
|
|
179
|
+
showNextButton: false
|
|
180
|
+
};
|
|
181
|
+
this.onCancel = this.onCancel.bind(this);
|
|
182
|
+
this.onSort = this.onSort.bind(this);
|
|
183
|
+
this.onSelect = this.onSelect.bind(this);
|
|
184
|
+
this.onPrev = this.onPrev.bind(this);
|
|
185
|
+
this.onNext = this.onNext.bind(this);
|
|
186
|
+
this.onUndo = this.onUndo.bind(this);
|
|
187
|
+
this.handleTableVisiblity = this.handleTableVisiblity.bind(this);
|
|
188
|
+
this.handleNotSortedNextPrevButtons = this.handleNotSortedNextPrevButtons.bind(this);
|
|
189
|
+
this.handleSortedNextPrevButtons = this.handleSortedNextPrevButtons.bind(this);
|
|
190
|
+
this.checkTransactionsUndoneStatus = this.checkTransactionsUndoneStatus.bind(this);
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Component did mount
|
|
194
|
+
* @method componentDidMount
|
|
195
|
+
* @returns {undefined}
|
|
196
|
+
*/
|
|
197
|
+
componentDidMount() {
|
|
198
|
+
this.setState({
|
|
199
|
+
isClient: true
|
|
200
|
+
});
|
|
201
|
+
this.props.getTransactions();
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Component will receive props
|
|
205
|
+
* @method componentWillReceiveProps
|
|
206
|
+
* @param {Object} nextProps Next properties
|
|
207
|
+
* @returns {undefined}
|
|
208
|
+
*/
|
|
209
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
210
|
+
if (this.props.revertRequest.loading && nextProps.revertRequest.loaded) {
|
|
211
|
+
this.props.getTransactions();
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
setSortedTransactions(sortedTransactions) {
|
|
215
|
+
if (sortedTransactions.length > 0) {
|
|
216
|
+
this.setState({
|
|
217
|
+
lowerIndex: 0,
|
|
218
|
+
upperIndex: this.state.defaultTransactionsLenInTable,
|
|
219
|
+
sortedTransactions,
|
|
220
|
+
isEmptyInputForSorting: false,
|
|
221
|
+
isTransactionsNotFound: false
|
|
222
|
+
});
|
|
223
|
+
} else {
|
|
224
|
+
this.setState({ isTransactionsNotFound: true });
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* On Cancel
|
|
229
|
+
* @method onCancel
|
|
230
|
+
* @returns {undefined}
|
|
231
|
+
*/
|
|
232
|
+
onCancel() {
|
|
233
|
+
if (this.state.sortedTransactions.length > 0) {
|
|
234
|
+
toast.info(
|
|
235
|
+
/* @__PURE__ */ jsx(
|
|
236
|
+
Toast,
|
|
237
|
+
{
|
|
238
|
+
info: true,
|
|
239
|
+
title: this.props.intl.formatMessage(messages.unsorted),
|
|
240
|
+
content: this.props.intl.formatMessage(
|
|
241
|
+
messages.transactionsHaveBeenUnsorted
|
|
242
|
+
)
|
|
243
|
+
}
|
|
244
|
+
)
|
|
245
|
+
);
|
|
246
|
+
}
|
|
247
|
+
this.setState({
|
|
248
|
+
isSortingTypeSelected: false,
|
|
249
|
+
isTransactionsNotFound: false,
|
|
250
|
+
isEmptyInputForSorting: false,
|
|
251
|
+
sortType: "no value",
|
|
252
|
+
sortedTransactions: [],
|
|
253
|
+
lowerIndex: 0,
|
|
254
|
+
upperIndex: this.state.defaultTransactionsLenInTable
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* On Select
|
|
259
|
+
* @method onSelect
|
|
260
|
+
* @param {object} data
|
|
261
|
+
* @returns {undefined}
|
|
262
|
+
*/
|
|
263
|
+
onSelect(data) {
|
|
264
|
+
if (data !== null && data.sortingTypes !== null && this.state.sortType.toLowerCase() === data.sortingTypes.toLowerCase()) {
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
let sortType = data !== null && data.sortingTypes || "no value";
|
|
268
|
+
if (sortType.toLowerCase() !== "no value") {
|
|
269
|
+
this.setState({ isSortingTypeSelected: true });
|
|
270
|
+
sortType.toLowerCase() === "user name" && this.setState({ sortType: "user name" });
|
|
271
|
+
sortType.toLowerCase() === "date" && this.setState({ sortType: "date" });
|
|
272
|
+
sortType.toLowerCase() === "path" && this.setState({ sortType: "path" });
|
|
273
|
+
} else {
|
|
274
|
+
this.onCancel();
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* On Sort
|
|
279
|
+
* @method onSort
|
|
280
|
+
* @param {object} data
|
|
281
|
+
* @returns {undefined}
|
|
282
|
+
*/
|
|
283
|
+
onSort(data) {
|
|
284
|
+
let sortType = data.sortingTypes || "no value";
|
|
285
|
+
let value;
|
|
286
|
+
sortType.toLowerCase() === "user name" && (value = data.sortByUsername) || sortType.toLowerCase() === "path" && (value = data.sortByPath) || sortType.toLowerCase() === "date" && (value = data.sortByDate) || (value = void 0);
|
|
287
|
+
if (sortType.toLowerCase() !== "no value" && value !== void 0) {
|
|
288
|
+
let sortedTransactions = [];
|
|
289
|
+
if (sortType.toLowerCase() === "user name") {
|
|
290
|
+
this.props.transactions.forEach((element) => {
|
|
291
|
+
if (value.trim().toLowerCase() === "zope" && !element.username) {
|
|
292
|
+
sortedTransactions.push(element);
|
|
293
|
+
} else if (element.username.trim().toLowerCase().includes(value.trim().toLowerCase())) {
|
|
294
|
+
sortedTransactions.push(element);
|
|
295
|
+
}
|
|
296
|
+
});
|
|
297
|
+
this.setSortedTransactions(sortedTransactions);
|
|
298
|
+
} else if (sortType.toLowerCase() === "path") {
|
|
299
|
+
this.props.transactions.forEach((element) => {
|
|
300
|
+
if (element.id.trim().toLowerCase().includes(value.trim().toLowerCase())) {
|
|
301
|
+
sortedTransactions.push(element);
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
this.setSortedTransactions(sortedTransactions);
|
|
305
|
+
} else {
|
|
306
|
+
let MSInADay = 864e5;
|
|
307
|
+
let sortingTimeInMS = Date.parse(value);
|
|
308
|
+
let endTimeOfSortingDateInMS = sortingTimeInMS - sortingTimeInMS % MSInADay + MSInADay - 1;
|
|
309
|
+
let startTimeOfSortingDateInMS = sortingTimeInMS - sortingTimeInMS % MSInADay;
|
|
310
|
+
this.props.transactions.forEach((element) => {
|
|
311
|
+
if (endTimeOfSortingDateInMS >= Date.parse(element.time) && Date.parse(element.time) >= startTimeOfSortingDateInMS) {
|
|
312
|
+
sortedTransactions.push(element);
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
this.setSortedTransactions(sortedTransactions);
|
|
316
|
+
}
|
|
317
|
+
toast.info(
|
|
318
|
+
/* @__PURE__ */ jsx(
|
|
319
|
+
Toast,
|
|
320
|
+
{
|
|
321
|
+
info: true,
|
|
322
|
+
title: this.props.intl.formatMessage(messages.sorted),
|
|
323
|
+
content: this.props.intl.formatMessage(
|
|
324
|
+
messages.transactionsHaveBeenSorted
|
|
325
|
+
)
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
);
|
|
329
|
+
} else {
|
|
330
|
+
this.setState({ isEmptyInputForSorting: true });
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* On Undo
|
|
335
|
+
* @method onUndo
|
|
336
|
+
* @returns {undefined}
|
|
337
|
+
*/
|
|
338
|
+
onUndo() {
|
|
339
|
+
let transactionsSelected = false;
|
|
340
|
+
let undoTransactionsIds = map(
|
|
341
|
+
this.props.transactions.slice(0, this.props.transactions.length),
|
|
342
|
+
(transaction) => {
|
|
343
|
+
if (document.getElementById(transaction.id) !== null && document.getElementById(transaction.id).firstElementChild.firstElementChild.firstElementChild.checked) {
|
|
344
|
+
transactionsSelected = true;
|
|
345
|
+
return transaction.id;
|
|
346
|
+
}
|
|
347
|
+
return "";
|
|
348
|
+
}
|
|
349
|
+
);
|
|
350
|
+
if (transactionsSelected) {
|
|
351
|
+
this.setState({
|
|
352
|
+
isClickedOnUndoButton: true
|
|
353
|
+
});
|
|
354
|
+
this.props.revertTransactions(undoTransactionsIds);
|
|
355
|
+
} else {
|
|
356
|
+
toast.error(
|
|
357
|
+
/* @__PURE__ */ jsx(
|
|
358
|
+
Toast,
|
|
359
|
+
{
|
|
360
|
+
error: true,
|
|
361
|
+
title: this.props.intl.formatMessage(messages.noTransactionsSelected),
|
|
362
|
+
content: this.props.intl.formatMessage(
|
|
363
|
+
messages.noTransactionsSelectedToDoUndo
|
|
364
|
+
)
|
|
365
|
+
}
|
|
366
|
+
)
|
|
367
|
+
);
|
|
368
|
+
}
|
|
369
|
+
Array.from(
|
|
370
|
+
document.getElementsByClassName("transactions-checkboxes")
|
|
371
|
+
).forEach((element) => {
|
|
372
|
+
element.firstElementChild.checked = false;
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* On Prev
|
|
377
|
+
* @method onPrev
|
|
378
|
+
* @returns {undefined}
|
|
379
|
+
*/
|
|
380
|
+
onPrev() {
|
|
381
|
+
0 < this.state.lowerIndex && this.setState({
|
|
382
|
+
upperIndex: this.state.lowerIndex,
|
|
383
|
+
lowerIndex: this.state.lowerIndex - this.state.defaultTransactionsLenInTable
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* On Next
|
|
388
|
+
* @method onNext
|
|
389
|
+
* @returns {undefined}
|
|
390
|
+
*/
|
|
391
|
+
onNext() {
|
|
392
|
+
this.props.transactions.length > this.state.upperIndex && this.setState({
|
|
393
|
+
lowerIndex: this.state.upperIndex,
|
|
394
|
+
upperIndex: this.state.upperIndex + this.state.defaultTransactionsLenInTable
|
|
395
|
+
});
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* Handle next and prev buttons visibility when transactions are sorted
|
|
399
|
+
* @method handleSortedNextPrevButtons
|
|
400
|
+
* @returns {undefined}
|
|
401
|
+
*/
|
|
402
|
+
handleSortedNextPrevButtons() {
|
|
403
|
+
this.state.upperIndex >= this.state.sortedTransactions.length && this.state.showNextButton && this.setState({ showNextButton: false });
|
|
404
|
+
this.state.upperIndex < this.state.sortedTransactions.length && !this.state.showNextButton && this.setState({ showNextButton: true });
|
|
405
|
+
this.state.lowerIndex <= 0 && this.state.showPrevButton && this.setState({ showPrevButton: false });
|
|
406
|
+
this.state.lowerIndex > 0 && !this.state.showPrevButton && this.setState({ showPrevButton: true });
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Handle next and prev buttons visibility when transactions are not sorted
|
|
410
|
+
* @method handleNotSortedNextPrevButtons
|
|
411
|
+
* @returns {undefined}
|
|
412
|
+
*/
|
|
413
|
+
handleNotSortedNextPrevButtons() {
|
|
414
|
+
var _a, _b;
|
|
415
|
+
this.state.upperIndex >= ((_a = this.props.transactions) == null ? void 0 : _a.length) && this.state.showNextButton && this.setState({ showNextButton: false });
|
|
416
|
+
this.state.upperIndex < ((_b = this.props.transactions) == null ? void 0 : _b.length) && !this.state.showNextButton && this.setState({ showNextButton: true });
|
|
417
|
+
this.state.lowerIndex <= 0 && this.state.showPrevButton && this.setState({ showPrevButton: false });
|
|
418
|
+
this.state.lowerIndex > 0 && !this.state.showPrevButton && this.setState({ showPrevButton: true });
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Handle next, prev buttons and table visibility
|
|
422
|
+
* @method handleTableVisiblity
|
|
423
|
+
* @returns {undefined}
|
|
424
|
+
*/
|
|
425
|
+
handleTableVisiblity() {
|
|
426
|
+
var _a, _b;
|
|
427
|
+
if (this.state.sortedTransactions.length > 0) {
|
|
428
|
+
this.handleSortedNextPrevButtons();
|
|
429
|
+
} else if (!this.state.isSortingTypeSelected) {
|
|
430
|
+
((_a = this.props.transactions) == null ? void 0 : _a.length) > 0 && this.state.isTransactionsNotFound && this.setState({ isTransactionsNotFound: false });
|
|
431
|
+
((_b = this.props.transactions) == null ? void 0 : _b.length) <= 0 && !this.state.isTransactionsNotFound && this.setState({ isTransactionsNotFound: true });
|
|
432
|
+
this.handleNotSortedNextPrevButtons();
|
|
433
|
+
} else {
|
|
434
|
+
this.handleNotSortedNextPrevButtons();
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Check transactions undone status
|
|
439
|
+
* @method checkTransactionsUndoneStatus
|
|
440
|
+
* @returns {undefined}
|
|
441
|
+
*/
|
|
442
|
+
checkTransactionsUndoneStatus() {
|
|
443
|
+
if (this.props.revertRequest.error && this.props.revertRequest.error !== null && this.state.isClickedOnUndoButton) {
|
|
444
|
+
this.setState({
|
|
445
|
+
isClickedOnUndoButton: false
|
|
446
|
+
});
|
|
447
|
+
toast.error(
|
|
448
|
+
/* @__PURE__ */ jsx(
|
|
449
|
+
Toast,
|
|
450
|
+
{
|
|
451
|
+
error: true,
|
|
452
|
+
title: this.props.intl.formatMessage(messages.error),
|
|
453
|
+
content: this.props.intl.formatMessage(
|
|
454
|
+
messages.failedToUndoTransactions
|
|
455
|
+
)
|
|
456
|
+
}
|
|
457
|
+
)
|
|
458
|
+
);
|
|
459
|
+
} else if (this.props.revertRequest.error === null && this.state.isClickedOnUndoButton) {
|
|
460
|
+
this.setState({
|
|
461
|
+
isClickedOnUndoButton: false
|
|
462
|
+
});
|
|
463
|
+
toast.success(
|
|
464
|
+
/* @__PURE__ */ jsx(
|
|
465
|
+
Toast,
|
|
466
|
+
{
|
|
467
|
+
success: true,
|
|
468
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
469
|
+
content: this.props.intl.formatMessage(
|
|
470
|
+
messages.successfullyUndoneTransactions
|
|
471
|
+
)
|
|
472
|
+
}
|
|
473
|
+
)
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Render method.
|
|
479
|
+
* @method render
|
|
480
|
+
* @returns {string} Markup for the component.
|
|
481
|
+
*/
|
|
482
|
+
render() {
|
|
483
|
+
var _a, _b;
|
|
484
|
+
const transactionsRange = this.state.sortedTransactions.length > 0 && this.state.sortedTransactions.slice(
|
|
485
|
+
this.state.lowerIndex,
|
|
486
|
+
this.state.upperIndex
|
|
487
|
+
) || ((_a = this.props.transactions) == null ? void 0 : _a.slice(
|
|
488
|
+
this.state.lowerIndex,
|
|
489
|
+
this.state.upperIndex
|
|
490
|
+
));
|
|
491
|
+
this.handleTableVisiblity();
|
|
492
|
+
this.checkTransactionsUndoneStatus();
|
|
493
|
+
return /* @__PURE__ */ jsxs(Container, { id: "page-undo", className: "controlpanel-undo", children: [
|
|
494
|
+
/* @__PURE__ */ jsx(HelmetExport, { title: "Undo" }),
|
|
495
|
+
/* @__PURE__ */ jsxs(Segment.Group, { raised: true, children: [
|
|
496
|
+
/* @__PURE__ */ jsx(Segment, { className: "primary", children: /* @__PURE__ */ jsx(
|
|
497
|
+
FormattedMessage,
|
|
498
|
+
{
|
|
499
|
+
id: "Undo Controlpanel",
|
|
500
|
+
defaultMessage: "Undo Controlpanel"
|
|
501
|
+
}
|
|
502
|
+
) }),
|
|
503
|
+
/* @__PURE__ */ jsx(Segment, { children: ((_b = this.props.transactions) == null ? void 0 : _b.length) > 0 && /* @__PURE__ */ jsx(
|
|
504
|
+
Form,
|
|
505
|
+
{
|
|
506
|
+
schema: {
|
|
507
|
+
fieldsets: [
|
|
508
|
+
{
|
|
509
|
+
id: "default",
|
|
510
|
+
title: this.props.intl.formatMessage(messages.default),
|
|
511
|
+
fields: this.state.isSortingTypeSelected ? [
|
|
512
|
+
"sortingTypes",
|
|
513
|
+
this.state.sortType.toLowerCase() === "user name" && "sortByUsername" || this.state.sortType.toLowerCase() === "path" && "sortByPath" || this.state.sortType.toLowerCase() === "date" && "sortByDate"
|
|
514
|
+
] : ["sortingTypes"]
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
properties: {
|
|
518
|
+
sortingTypes: {
|
|
519
|
+
title: this.props.intl.formatMessage(messages.sortBy),
|
|
520
|
+
description: this.props.intl.formatMessage(
|
|
521
|
+
messages.sortByDescription
|
|
522
|
+
),
|
|
523
|
+
type: "string",
|
|
524
|
+
choices: map(["User Name", "Path", "Date"], (type) => [
|
|
525
|
+
type,
|
|
526
|
+
type
|
|
527
|
+
])
|
|
528
|
+
},
|
|
529
|
+
sortByUsername: {
|
|
530
|
+
title: `Enter Username`,
|
|
531
|
+
type: "string"
|
|
532
|
+
},
|
|
533
|
+
sortByPath: {
|
|
534
|
+
title: `Enter Path`,
|
|
535
|
+
type: "string"
|
|
536
|
+
},
|
|
537
|
+
sortByDate: {
|
|
538
|
+
title: `Enter Date and Time`,
|
|
539
|
+
type: "date"
|
|
540
|
+
}
|
|
541
|
+
},
|
|
542
|
+
required: []
|
|
543
|
+
},
|
|
544
|
+
error: this.state.isEmptyInputForSorting ? { message: "Please enter any input to perform sorting" } : void 0,
|
|
545
|
+
onChangeFormData: this.onSelect,
|
|
546
|
+
onSubmit: this.state.isSortingTypeSelected ? this.onSort : void 0,
|
|
547
|
+
onCancel: this.state.isSortingTypeSelected ? this.onCancel : void 0,
|
|
548
|
+
resetOnCancel: true
|
|
549
|
+
}
|
|
550
|
+
) }),
|
|
551
|
+
/* @__PURE__ */ jsxs(Segment.Group, { raised: true, children: [
|
|
552
|
+
/* @__PURE__ */ jsx(Segment, { className: "primary", children: /* @__PURE__ */ jsx(
|
|
553
|
+
FormattedMessage,
|
|
554
|
+
{
|
|
555
|
+
id: "Transactions",
|
|
556
|
+
defaultMessage: "Transactions"
|
|
557
|
+
}
|
|
558
|
+
) }),
|
|
559
|
+
this.state.isTransactionsNotFound ? /* @__PURE__ */ jsx(Segment, { children: /* @__PURE__ */ jsx(
|
|
560
|
+
FormattedMessage,
|
|
561
|
+
{
|
|
562
|
+
id: "No Transactions Found",
|
|
563
|
+
defaultMessage: "No transactions found"
|
|
564
|
+
}
|
|
565
|
+
) }) : /* @__PURE__ */ jsxs(Table, { selectable: true, fixed: true, celled: true, compact: true, singleLine: true, attached: true, children: [
|
|
566
|
+
/* @__PURE__ */ jsx(Table.Header, { children: /* @__PURE__ */ jsxs(Table.Row, { children: [
|
|
567
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, { width: 1, children: /* @__PURE__ */ jsx(
|
|
568
|
+
FormattedMessage,
|
|
569
|
+
{
|
|
570
|
+
id: "Transactions Checkbox",
|
|
571
|
+
defaultMessage: "#"
|
|
572
|
+
}
|
|
573
|
+
) }),
|
|
574
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, { width: 3, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "What", defaultMessage: "What" }) }),
|
|
575
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, { width: 3, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "Who", defaultMessage: "Who" }) }),
|
|
576
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, { width: 3, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "When", defaultMessage: "When" }) }),
|
|
577
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, { width: 3, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "Note", defaultMessage: "Note" }) }),
|
|
578
|
+
/* @__PURE__ */ jsx(Table.HeaderCell, {})
|
|
579
|
+
] }) }),
|
|
580
|
+
/* @__PURE__ */ jsx(Table.Body, { children: map(transactionsRange, (transaction) => /* @__PURE__ */ jsxs(Table.Row, { id: transaction.id, children: [
|
|
581
|
+
/* @__PURE__ */ jsx(Table.Cell, { width: 1, children: /* @__PURE__ */ jsx(
|
|
582
|
+
Input,
|
|
583
|
+
{
|
|
584
|
+
type: "checkbox",
|
|
585
|
+
className: "transactions-checkboxes"
|
|
586
|
+
}
|
|
587
|
+
) }),
|
|
588
|
+
/* @__PURE__ */ jsx(
|
|
589
|
+
Table.Cell,
|
|
590
|
+
{
|
|
591
|
+
width: 3,
|
|
592
|
+
title: [transaction.description].join(" "),
|
|
593
|
+
children: transaction.description
|
|
594
|
+
}
|
|
595
|
+
),
|
|
596
|
+
/* @__PURE__ */ jsx(Table.Cell, { width: 3, children: transaction.username ? transaction.username : "Zope" }),
|
|
597
|
+
/* @__PURE__ */ jsx(Table.Cell, { width: 3, children: transaction.time }),
|
|
598
|
+
/* @__PURE__ */ jsx(Table.Cell, { width: 3, children: transaction.description.includes("Undo") ? "Undone" : "" })
|
|
599
|
+
] }, transaction.id)) }),
|
|
600
|
+
/* @__PURE__ */ jsx(Table.Footer, { children: /* @__PURE__ */ jsx(Table.Row, { children: /* @__PURE__ */ jsx(Table.HeaderCell, { textAlign: "center", colSpan: "6", children: /* @__PURE__ */ jsxs(Menu, { pagination: true, children: [
|
|
601
|
+
/* @__PURE__ */ jsx(Menu.Item, { as: "a", id: "prev-button", icon: true, children: this.state.showPrevButton ? /* @__PURE__ */ jsx(
|
|
602
|
+
Icon,
|
|
603
|
+
{
|
|
604
|
+
onClick: this.onPrev,
|
|
605
|
+
name: paginationLeftSVG,
|
|
606
|
+
title: "Prev"
|
|
607
|
+
}
|
|
608
|
+
) : /* @__PURE__ */ jsx("div", { style: { width: "36px" } }) }),
|
|
609
|
+
/* @__PURE__ */ jsx(Menu.Item, { as: "a", icon: true, children: /* @__PURE__ */ jsx(
|
|
610
|
+
Icon,
|
|
611
|
+
{
|
|
612
|
+
name: undoSVG,
|
|
613
|
+
id: "undo-button",
|
|
614
|
+
className: "circled",
|
|
615
|
+
size: "30px",
|
|
616
|
+
title: this.props.intl.formatMessage(messages.undo),
|
|
617
|
+
onClick: this.onUndo
|
|
618
|
+
}
|
|
619
|
+
) }),
|
|
620
|
+
/* @__PURE__ */ jsx(Menu.Item, { as: "a", id: "next-button", icon: true, children: this.state.showNextButton ? /* @__PURE__ */ jsx(
|
|
621
|
+
Icon,
|
|
622
|
+
{
|
|
623
|
+
onClick: this.onNext,
|
|
624
|
+
name: paginationRightSVG,
|
|
625
|
+
title: "Next"
|
|
626
|
+
}
|
|
627
|
+
) : /* @__PURE__ */ jsx("div", { style: { width: "36px" } }) })
|
|
628
|
+
] }) }) }) })
|
|
629
|
+
] })
|
|
630
|
+
] })
|
|
631
|
+
] }),
|
|
632
|
+
this.state.isClient && createPortal(
|
|
633
|
+
/* @__PURE__ */ jsx(
|
|
634
|
+
Toolbar,
|
|
635
|
+
{
|
|
636
|
+
pathname: this.props.pathname,
|
|
637
|
+
hideDefaultViewButtons: true,
|
|
638
|
+
inner: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Link, { to: "/controlpanel", className: "item", children: /* @__PURE__ */ jsx(
|
|
639
|
+
Icon,
|
|
640
|
+
{
|
|
641
|
+
name: backSVG,
|
|
642
|
+
"aria-label": this.props.intl.formatMessage(messages.back),
|
|
643
|
+
className: "contents circled",
|
|
644
|
+
size: "30px",
|
|
645
|
+
title: this.props.intl.formatMessage(messages.back)
|
|
646
|
+
}
|
|
647
|
+
) }) })
|
|
648
|
+
}
|
|
649
|
+
),
|
|
650
|
+
document.getElementById("toolbar")
|
|
651
|
+
)
|
|
652
|
+
] });
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* Property types.
|
|
657
|
+
* @property {Object} propTypes Property types.
|
|
658
|
+
* @static
|
|
659
|
+
*/
|
|
660
|
+
__publicField(UndoControlpanel, "propTypes", {
|
|
661
|
+
getTransactions: PropTypes.func.isRequired,
|
|
662
|
+
revertTransactions: PropTypes.func.isRequired,
|
|
663
|
+
transactions: PropTypes.arrayOf(
|
|
664
|
+
PropTypes.shape({
|
|
665
|
+
description: PropTypes.string,
|
|
666
|
+
id: PropTypes.string,
|
|
667
|
+
size: PropTypes.number,
|
|
668
|
+
time: PropTypes.string,
|
|
669
|
+
username: PropTypes.string
|
|
670
|
+
})
|
|
671
|
+
),
|
|
672
|
+
revertRequest: PropTypes.shape({
|
|
673
|
+
loaded: PropTypes.bool,
|
|
674
|
+
loading: PropTypes.bool
|
|
675
|
+
}).isRequired
|
|
676
|
+
});
|
|
677
|
+
const UndoControlpanel$1 = compose(
|
|
678
|
+
injectIntl,
|
|
679
|
+
connect(
|
|
680
|
+
(state, props) => ({
|
|
681
|
+
pathname: props.location.pathname,
|
|
682
|
+
transactions: state.transactions.transactions_recieved,
|
|
683
|
+
revertRequest: state.transactions.revert
|
|
684
|
+
}),
|
|
685
|
+
{ getTransactions, revertTransactions }
|
|
686
|
+
)
|
|
687
|
+
)(UndoControlpanel);
|
|
688
|
+
export {
|
|
689
|
+
UndoControlpanel$1 as default
|
|
690
|
+
};
|