@plone/volto 18.0.0-alpha.43 → 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 +39 -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 +5 -0
- package/locales/ca.json +1 -1
- package/locales/ca2.json +1 -0
- package/locales/de/LC_MESSAGES/volto.po +5 -0
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +5 -0
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +5 -0
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +5 -0
- package/locales/eu.json +1 -1
- package/locales/fi/LC_MESSAGES/volto.po +5 -0
- package/locales/fi.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +5 -0
- package/locales/fr.json +1 -1
- package/locales/hi/LC_MESSAGES/volto.po +5 -0
- package/locales/hi.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +42 -37
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +5 -0
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +5 -0
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +5 -0
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +71 -66
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +5 -0
- package/locales/ro.json +1 -1
- package/locales/volto.pot +6 -1
- package/locales/zh_CN/LC_MESSAGES/volto.po +5 -0
- package/locales/zh_CN.json +1 -1
- package/package.json +2 -2
- package/src/components/manage/BlockChooser/BlockChooser.jsx +2 -2
- package/src/components/manage/BlockChooser/BlockChooser.test.jsx +4 -0
- package/src/components/manage/Blocks/Block/EditBlockWrapper.jsx +7 -1
- package/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +1 -0
- package/src/components/manage/Diff/DiffField.jsx +167 -39
- package/src/components/manage/Form/Form.jsx +31 -22
- package/src/components/manage/Sidebar/SidebarPopup.jsx +9 -1
- package/src/components/manage/Toast/Toast.jsx +2 -2
- package/src/components/manage/Widgets/ArrayWidget.jsx +1 -0
- package/src/components/manage/Widgets/FormFieldWrapper.jsx +23 -3
- package/src/components/manage/Widgets/SelectWidget.jsx +1 -0
- package/src/components/manage/Widgets/TokenWidget.jsx +1 -0
- package/src/config/NonContentRoutesPublic.jsx +15 -0
- package/src/config/index.js +2 -0
- package/src/helpers/Blocks/Blocks.js +1 -1
- package/src/helpers/Url/Url.js +4 -1
- package/src/helpers/Url/Url.test.js +17 -3
- package/src/hooks/index.js +1 -0
- package/src/hooks/user/useUser.js +23 -0
- package/test-setup-config.jsx +2 -0
- package/theme/themes/pastanaga/collections/form.overrides +1 -0
- package/theme/themes/pastanaga/collections/table.overrides +6 -1
- 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/config/NonContentRoutesPublic.d.ts +1 -0
- package/types/helpers/Blocks/Blocks.d.ts +1 -1
- package/types/hooks/index.d.ts +1 -0
- package/types/hooks/user/useUser.d.ts +2 -0
- package/vite-plugins/volto.js +30 -0
- package/finalreleasechangelog.py +0 -48
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<!--
|
|
9
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
|
10
|
+
It will be replaced with the URL of the `public` folder during the build.
|
|
11
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
|
12
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
13
|
+
work correctly both with client-side routing and a non-root public URL.
|
|
14
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
|
15
|
+
-->
|
|
16
|
+
<title>React App</title>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
21
|
+
<div role="navigation" aria-label="Toolbar" id="toolbar"></div>
|
|
22
|
+
<div id="main"></div>
|
|
23
|
+
<div id="sidebar" />
|
|
24
|
+
<!--
|
|
25
|
+
This HTML file is a template.
|
|
26
|
+
If you open it directly in the browser, you will see an empty page.
|
|
27
|
+
You can add webfonts, meta tags, or analytics to this file.
|
|
28
|
+
The build step will place the bundled scripts into the <body> tag.
|
|
29
|
+
To begin the development, run `npm start` or `yarn start`.
|
|
30
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
|
31
|
+
-->
|
|
32
|
+
</body>
|
|
33
|
+
|
|
34
|
+
</html>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "",
|
|
3
|
+
"short_name": "",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "/android-chrome-192x192.png",
|
|
7
|
+
"sizes": "192x192",
|
|
8
|
+
"type": "image/png"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "/android-chrome-512x512.png",
|
|
12
|
+
"sizes": "512x512",
|
|
13
|
+
"type": "image/png"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"theme_color": "#ffffff",
|
|
17
|
+
"background_color": "#ffffff",
|
|
18
|
+
"display": "standalone"
|
|
19
|
+
}
|
|
Binary file
|
|
Binary file
|
package/dist/favicon.ico
ADDED
|
Binary file
|
package/dist/icon.svg
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<svg width="41" height="41" viewBox="0 0 41 41" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1_2)">
|
|
3
|
+
<path d="M17.717 15.963C20.1482 15.963 22.119 13.9922 22.119 11.561C22.119 9.12984 20.1482 7.159 17.717 7.159C15.2858 7.159 13.315 9.12984 13.315 11.561C13.315 13.9922 15.2858 15.963 17.717 15.963Z" fill="#0083BE"/>
|
|
4
|
+
<path d="M31.069 20.355C31.069 22.791 29.1 24.756 26.669 24.756C24.239 24.756 22.269 22.786 22.269 20.355C22.269 17.922 24.247 15.957 26.669 15.957C29.101 15.954 31.069 17.924 31.069 20.355Z" fill="#0083BE"/>
|
|
5
|
+
<path d="M17.702 33.578C20.1331 33.578 22.104 31.6071 22.104 29.176C22.104 26.7448 20.1331 24.774 17.702 24.774C15.2708 24.774 13.3 26.7448 13.3 29.176C13.3 31.6071 15.2708 33.578 17.702 33.578Z" fill="#0083BE"/>
|
|
6
|
+
<path d="M20.343 0C9.108 0.001 0.001 9.107 0 20.343C0.001 31.577 9.105 40.684 20.343 40.686C31.578 40.684 40.684 31.582 40.686 20.343C40.684 9.107 31.578 0.001 20.343 0ZM31.792 31.792C28.854 34.726 24.816 36.534 20.341 36.535C15.862 36.534 11.828 34.723 8.891 31.792C5.958 28.854 4.15 24.816 4.149 20.343C4.15 15.865 5.96 11.83 8.892 8.893C11.83 5.959 15.864 4.151 20.342 4.15C24.82 4.151 28.855 5.962 31.792 8.893C34.727 11.831 36.534 15.869 36.536 20.343C36.535 24.819 34.726 28.854 31.792 31.792Z" fill="#0083BE"/>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<clipPath id="clip0_1_2">
|
|
10
|
+
<rect width="40.686" height="40.686" fill="white"/>
|
|
11
|
+
</clipPath>
|
|
12
|
+
</defs>
|
|
13
|
+
</svg>
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!-- This file is only being used by the "vite build" command as it takes the "module" script entries -->
|
|
2
|
+
<!-- and transpile them. The actual dev/prod build is not using it at all -->
|
|
3
|
+
<!doctype html>
|
|
4
|
+
<html lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<script type="module" crossorigin src="/assets/index-C2wVBtsx.js"></script>
|
|
7
|
+
<link rel="stylesheet" crossorigin href="/assets/index-D27Aat_y.css">
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div role="navigation" aria-label="Toolbar" id="toolbar"></div>
|
|
11
|
+
<div id="main"></div>
|
|
12
|
+
<div role="complementary" aria-label="Sidebar" id="sidebar"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
7
|
+
<meta name="theme-color" content="#000000" />
|
|
8
|
+
<!--
|
|
9
|
+
Notice the use of %PUBLIC_URL% in the tags above.
|
|
10
|
+
It will be replaced with the URL of the `public` folder during the build.
|
|
11
|
+
Only files inside the `public` folder can be referenced from the HTML.
|
|
12
|
+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
13
|
+
work correctly both with client-side routing and a non-root public URL.
|
|
14
|
+
Learn how to configure a non-root public URL by running `npm run build`.
|
|
15
|
+
-->
|
|
16
|
+
<title>React App</title>
|
|
17
|
+
</head>
|
|
18
|
+
|
|
19
|
+
<body>
|
|
20
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
21
|
+
<div role="navigation" aria-label="Toolbar" id="toolbar"></div>
|
|
22
|
+
<div id="main"></div>
|
|
23
|
+
<div id="sidebar" />
|
|
24
|
+
<!--
|
|
25
|
+
This HTML file is a template.
|
|
26
|
+
If you open it directly in the browser, you will see an empty page.
|
|
27
|
+
You can add webfonts, meta tags, or analytics to this file.
|
|
28
|
+
The build step will place the bundled scripts into the <body> tag.
|
|
29
|
+
To begin the development, run `npm start` or `yarn start`.
|
|
30
|
+
To create a production bundle, use `npm run build` or `yarn build`.
|
|
31
|
+
-->
|
|
32
|
+
</body>
|
|
33
|
+
|
|
34
|
+
</html>
|
package/dist/robots.txt
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,507 @@
|
|
|
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 { c as createContent, g as getSchema, a as changeLanguage, s as setFormData, b as getBaseUrl, f as flattenToAppURL, t as tryParseJSON, e as extractInvariantErrors, T as Toast, $ as $149c1bd638913645$export$2e2bcd8739ae039, d as toGettextLang, _ as __variableDynamicImportRuntimeHelper, h as hasBlocksData, i as getBlocksFieldname, j as getBlocksLayoutFieldname, l as langmap, H as HelmetExport, F as Form, I as Icon, k as clearSVG, B as BodyClass, m as getLanguageIndependentFields } from "../entry-server.js";
|
|
5
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
6
|
+
import React__default, { Component } from "react";
|
|
7
|
+
import PropTypes from "prop-types";
|
|
8
|
+
import { connect } from "react-redux";
|
|
9
|
+
import { compose } from "redux";
|
|
10
|
+
import { keys, isEmpty } from "lodash-es";
|
|
11
|
+
import { injectIntl, defineMessages } from "react-intl";
|
|
12
|
+
import { Button, Grid, Menu } from "semantic-ui-react";
|
|
13
|
+
import { createPortal } from "react-dom";
|
|
14
|
+
import { v4 } from "uuid";
|
|
15
|
+
import qs from "query-string";
|
|
16
|
+
import { toast } from "react-toastify";
|
|
17
|
+
import { T as Toolbar } from "./Toolbar-DVsVq7NQ.js";
|
|
18
|
+
import { S as Sidebar } from "./Sidebar-DuoR_j80.js";
|
|
19
|
+
import { T as TranslationObject } from "./TranslationObject-Cu7Oz0D_.js";
|
|
20
|
+
import { s as saveSVG } from "./save-C0BIu8AK.js";
|
|
21
|
+
import "classnames";
|
|
22
|
+
import "moment";
|
|
23
|
+
import "react-router";
|
|
24
|
+
import "react-router-hash-link";
|
|
25
|
+
import "tlds";
|
|
26
|
+
import "prepend-http";
|
|
27
|
+
import "react-router-dom";
|
|
28
|
+
import "lodash-move";
|
|
29
|
+
import "react-dom/server";
|
|
30
|
+
import "react-transition-group";
|
|
31
|
+
import "promise-file-reader";
|
|
32
|
+
import "pretty-bytes";
|
|
33
|
+
import "react-side-effect";
|
|
34
|
+
import "github-slugger";
|
|
35
|
+
import "slate";
|
|
36
|
+
import "hoist-non-react-statics";
|
|
37
|
+
import "slate-react";
|
|
38
|
+
import "prettier/standalone";
|
|
39
|
+
import "prettier/parser-html";
|
|
40
|
+
import "prismjs/components/prism-core.js";
|
|
41
|
+
import "react-animate-height";
|
|
42
|
+
import "react-popper";
|
|
43
|
+
import "react-sortable-hoc";
|
|
44
|
+
import "react-dates/initialize.js";
|
|
45
|
+
import "react-anchor-link-smooth-scroll";
|
|
46
|
+
import "jwt-decode";
|
|
47
|
+
import "react-router-config";
|
|
48
|
+
import "react-fast-compare";
|
|
49
|
+
import "object-assign";
|
|
50
|
+
import "lodash-es/split.js";
|
|
51
|
+
import "lodash-es/join.js";
|
|
52
|
+
import "lodash-es/trim.js";
|
|
53
|
+
import "react-cookie";
|
|
54
|
+
import "react-intl-redux";
|
|
55
|
+
import "universal-cookie";
|
|
56
|
+
import "slate-hyperscript";
|
|
57
|
+
import "is-hotkey";
|
|
58
|
+
import "react-dropzone";
|
|
59
|
+
import "react-intersection-observer";
|
|
60
|
+
import "is-url";
|
|
61
|
+
import "lodash-es/isUndefined.js";
|
|
62
|
+
import "lodash-es/isString.js";
|
|
63
|
+
import "redux-mock-store";
|
|
64
|
+
import "serialize-javascript";
|
|
65
|
+
import "superagent";
|
|
66
|
+
import "connected-react-router";
|
|
67
|
+
import "react-beautiful-dnd";
|
|
68
|
+
import "detect-browser";
|
|
69
|
+
import "locale";
|
|
70
|
+
import "history";
|
|
71
|
+
import "redux-thunk";
|
|
72
|
+
import "redux-localstorage-simple";
|
|
73
|
+
import "debug";
|
|
74
|
+
import "express";
|
|
75
|
+
import "http-proxy-middleware";
|
|
76
|
+
import "./users-BY0qskQF.js";
|
|
77
|
+
import "./User-CeYa32LY.js";
|
|
78
|
+
import "./PersonalInformation--cOokZv2.js";
|
|
79
|
+
import "./sidebar-BGq8uRxG.js";
|
|
80
|
+
function getSimpleDefaultBlocks(initialBlocksConfig) {
|
|
81
|
+
let initialBlocksLayout;
|
|
82
|
+
let initialBlocks;
|
|
83
|
+
if (initialBlocksConfig) {
|
|
84
|
+
initialBlocksLayout = initialBlocksConfig.map(() => v4());
|
|
85
|
+
initialBlocks = initialBlocksLayout.reduce(
|
|
86
|
+
(acc, value, index) => ({
|
|
87
|
+
...acc,
|
|
88
|
+
[value]: { "@type": initialBlocksConfig[index] }
|
|
89
|
+
}),
|
|
90
|
+
{}
|
|
91
|
+
);
|
|
92
|
+
} else {
|
|
93
|
+
return null;
|
|
94
|
+
}
|
|
95
|
+
return [initialBlocks, initialBlocksLayout];
|
|
96
|
+
}
|
|
97
|
+
function getDefaultBlocks(initialBlocksConfig) {
|
|
98
|
+
let initialBlocksLayout;
|
|
99
|
+
let initialBlocks;
|
|
100
|
+
if (initialBlocksConfig) {
|
|
101
|
+
initialBlocksLayout = initialBlocksConfig.map(() => v4());
|
|
102
|
+
initialBlocks = initialBlocksLayout.reduce(
|
|
103
|
+
(acc, value, index) => ({
|
|
104
|
+
...acc,
|
|
105
|
+
[value]: initialBlocksConfig[index]
|
|
106
|
+
}),
|
|
107
|
+
{}
|
|
108
|
+
);
|
|
109
|
+
} else {
|
|
110
|
+
return null;
|
|
111
|
+
}
|
|
112
|
+
return [initialBlocks, initialBlocksLayout];
|
|
113
|
+
}
|
|
114
|
+
const messages = defineMessages({
|
|
115
|
+
add: {
|
|
116
|
+
id: "Add {type}",
|
|
117
|
+
defaultMessage: "Add {type}"
|
|
118
|
+
},
|
|
119
|
+
save: {
|
|
120
|
+
id: "Save",
|
|
121
|
+
defaultMessage: "Save"
|
|
122
|
+
},
|
|
123
|
+
cancel: {
|
|
124
|
+
id: "Cancel",
|
|
125
|
+
defaultMessage: "Cancel"
|
|
126
|
+
},
|
|
127
|
+
error: {
|
|
128
|
+
id: "Error",
|
|
129
|
+
defaultMessage: "Error"
|
|
130
|
+
},
|
|
131
|
+
translateTo: {
|
|
132
|
+
id: "Translate to {lang}",
|
|
133
|
+
defaultMessage: "Translate to {lang}"
|
|
134
|
+
},
|
|
135
|
+
someErrors: {
|
|
136
|
+
id: "There are some errors.",
|
|
137
|
+
defaultMessage: "There are some errors."
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
class Add extends Component {
|
|
141
|
+
/**
|
|
142
|
+
* Constructor
|
|
143
|
+
* @method constructor
|
|
144
|
+
* @param {Object} props Component properties
|
|
145
|
+
* @constructs WysiwygEditor
|
|
146
|
+
*/
|
|
147
|
+
constructor(props) {
|
|
148
|
+
super(props);
|
|
149
|
+
__publicField(this, "form", React__default.createRef());
|
|
150
|
+
this.onCancel = this.onCancel.bind(this);
|
|
151
|
+
this.onSubmit = this.onSubmit.bind(this);
|
|
152
|
+
this.state = {
|
|
153
|
+
isClient: false,
|
|
154
|
+
error: null,
|
|
155
|
+
formSelected: "addForm"
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Component did mount
|
|
160
|
+
* @method componentDidMount
|
|
161
|
+
* @returns {undefined}
|
|
162
|
+
*/
|
|
163
|
+
componentDidMount() {
|
|
164
|
+
this.props.getSchema(this.props.type, getBaseUrl(this.props.pathname));
|
|
165
|
+
this.setState({ isClient: true });
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Component will receive props
|
|
169
|
+
* @method componentWillReceiveProps
|
|
170
|
+
* @param {Object} nextProps Next properties
|
|
171
|
+
* @returns {undefined}
|
|
172
|
+
*/
|
|
173
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
174
|
+
var _a, _b, _c, _d, _e, _f;
|
|
175
|
+
if (this.props.createRequest.loading && nextProps.createRequest.loaded && nextProps.content["@type"] === this.props.type) {
|
|
176
|
+
this.props.setFormData({});
|
|
177
|
+
this.props.history.push(
|
|
178
|
+
this.props.returnUrl || flattenToAppURL(nextProps.content["@id"])
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
if (this.props.createRequest.loading && nextProps.createRequest.error) {
|
|
182
|
+
const message = ((_b = (_a = nextProps.createRequest.error.response) == null ? void 0 : _a.body) == null ? void 0 : _b.message) || ((_c = nextProps.createRequest.error.response) == null ? void 0 : _c.text);
|
|
183
|
+
const error = ((_e = (_d = new DOMParser().parseFromString(message, "text/html")) == null ? void 0 : _d.all[0]) == null ? void 0 : _e.textContent) || message;
|
|
184
|
+
const errorsList = tryParseJSON(error);
|
|
185
|
+
let erroMessage;
|
|
186
|
+
if (Array.isArray(errorsList)) {
|
|
187
|
+
const invariantErrors = extractInvariantErrors(errorsList);
|
|
188
|
+
if (invariantErrors.length > 0) {
|
|
189
|
+
erroMessage = invariantErrors.join(" - ");
|
|
190
|
+
} else {
|
|
191
|
+
erroMessage = this.props.intl.formatMessage(messages.someErrors);
|
|
192
|
+
}
|
|
193
|
+
} else {
|
|
194
|
+
erroMessage = ((_f = errorsList.error) == null ? void 0 : _f.message) || error;
|
|
195
|
+
}
|
|
196
|
+
this.setState({ error });
|
|
197
|
+
toast.error(
|
|
198
|
+
/* @__PURE__ */ jsx(
|
|
199
|
+
Toast,
|
|
200
|
+
{
|
|
201
|
+
error: true,
|
|
202
|
+
title: this.props.intl.formatMessage(messages.error),
|
|
203
|
+
content: erroMessage
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Submit handler
|
|
211
|
+
* @method onSubmit
|
|
212
|
+
* @param {object} data Form data.
|
|
213
|
+
* @returns {undefined}
|
|
214
|
+
*/
|
|
215
|
+
onSubmit(data) {
|
|
216
|
+
var _a, _b;
|
|
217
|
+
this.props.createContent(getBaseUrl(this.props.pathname), {
|
|
218
|
+
...data,
|
|
219
|
+
"@static_behaviors": this.props.schema.definitions ? keys(this.props.schema.definitions) : null,
|
|
220
|
+
"@type": this.props.type,
|
|
221
|
+
...$149c1bd638913645$export$2e2bcd8739ae039.settings.isMultilingual && ((_b = (_a = this.props.location) == null ? void 0 : _a.state) == null ? void 0 : _b.translationOf) && {
|
|
222
|
+
translation_of: this.props.location.state.translationOf,
|
|
223
|
+
language: this.props.location.state.language
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Cancel handler
|
|
229
|
+
* @method onCancel
|
|
230
|
+
* @returns {undefined}
|
|
231
|
+
*/
|
|
232
|
+
onCancel() {
|
|
233
|
+
var _a, _b, _c, _d;
|
|
234
|
+
this.props.setFormData({});
|
|
235
|
+
if ((_b = (_a = this.props.location) == null ? void 0 : _a.state) == null ? void 0 : _b.translationOf) {
|
|
236
|
+
const language = this.props.location.state.languageFrom;
|
|
237
|
+
const langFileName = toGettextLang(language);
|
|
238
|
+
__variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../../locales/ca.json": () => import("./ca-DyGhRQw8.js"), "../../../../locales/ca2.json": () => import("./ca2-BGpXXCA_.js"), "../../../../locales/de.json": () => import("./de-C9Bn7Rn5.js"), "../../../../locales/en.json": () => import("./en-BmNu-gsU.js"), "../../../../locales/es.json": () => import("./es-XH30tkMP.js"), "../../../../locales/eu.json": () => import("./eu-VsSby9_e.js"), "../../../../locales/fi.json": () => import("./fi-BRqySjmD.js"), "../../../../locales/fr.json": () => import("./fr-DWx9W4gK.js"), "../../../../locales/hi.json": () => import("./hi-CJ8Pz8K_.js"), "../../../../locales/it.json": () => import("./it-Db41lwPq.js"), "../../../../locales/ja.json": () => import("./ja-sRZcO51F.js"), "../../../../locales/nl.json": () => import("./nl-CH7F8zGZ.js"), "../../../../locales/pt.json": () => import("./pt-BWnCu7AF.js"), "../../../../locales/pt_BR.json": () => import("./pt_BR-D2d5lTnr.js"), "../../../../locales/ro.json": () => import("./ro-BlUnfGvL.js"), "../../../../locales/zh_CN.json": () => import("./zh_CN-Cy1xbPRJ.js") }), `../../../../locales/${langFileName}.json`, 6).then((locale) => {
|
|
239
|
+
this.props.changeLanguage(language, locale.default);
|
|
240
|
+
});
|
|
241
|
+
this.props.history.push((_d = (_c = this.props.location) == null ? void 0 : _c.state) == null ? void 0 : _d.translationOf);
|
|
242
|
+
} else {
|
|
243
|
+
this.props.history.push(getBaseUrl(this.props.pathname));
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* Render method.
|
|
248
|
+
* @method render
|
|
249
|
+
* @returns {string} Markup for the component.
|
|
250
|
+
*/
|
|
251
|
+
render() {
|
|
252
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
253
|
+
if (this.props.schemaRequest.loaded) {
|
|
254
|
+
const visual = hasBlocksData(this.props.schema.properties);
|
|
255
|
+
const blocksFieldname = getBlocksFieldname(this.props.schema.properties);
|
|
256
|
+
const blocksLayoutFieldname = getBlocksLayoutFieldname(
|
|
257
|
+
this.props.schema.properties
|
|
258
|
+
);
|
|
259
|
+
const translationObject = (_b = (_a = this.props.location) == null ? void 0 : _a.state) == null ? void 0 : _b.translationObject;
|
|
260
|
+
const translateTo = translationObject ? (_f = (_e = langmap) == null ? void 0 : _e[(_d = (_c = this.props.location) == null ? void 0 : _c.state) == null ? void 0 : _d.language]) == null ? void 0 : _f.nativeName : null;
|
|
261
|
+
let initialBlocks, initialBlocksLayout;
|
|
262
|
+
const initialContentTypeBlocks = (_g = $149c1bd638913645$export$2e2bcd8739ae039.blocks) == null ? void 0 : _g.initialBlocks[this.props.type];
|
|
263
|
+
if (initialContentTypeBlocks) {
|
|
264
|
+
if (typeof (initialContentTypeBlocks == null ? void 0 : initialContentTypeBlocks[0]) === "string") {
|
|
265
|
+
[initialBlocks, initialBlocksLayout] = getSimpleDefaultBlocks(
|
|
266
|
+
initialContentTypeBlocks
|
|
267
|
+
);
|
|
268
|
+
} else {
|
|
269
|
+
[initialBlocks, initialBlocksLayout] = getDefaultBlocks(
|
|
270
|
+
initialContentTypeBlocks
|
|
271
|
+
);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
const schemaBlocks = (_h = this.props.schema.properties[blocksFieldname]) == null ? void 0 : _h.default;
|
|
275
|
+
const schemaBlocksLayout = (_j = (_i = this.props.schema.properties[blocksLayoutFieldname]) == null ? void 0 : _i.default) == null ? void 0 : _j.items;
|
|
276
|
+
if (!isEmpty(schemaBlocksLayout) && !isEmpty(schemaBlocks)) {
|
|
277
|
+
initialBlocks = {};
|
|
278
|
+
initialBlocksLayout = [];
|
|
279
|
+
schemaBlocksLayout.forEach((value) => {
|
|
280
|
+
if (!isEmpty(schemaBlocks[value])) {
|
|
281
|
+
let newUid = v4();
|
|
282
|
+
initialBlocksLayout.push(newUid);
|
|
283
|
+
initialBlocks[newUid] = schemaBlocks[value];
|
|
284
|
+
initialBlocks[newUid].block = newUid;
|
|
285
|
+
initialBlocks[newUid]["@layout"] = value;
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
if (translationObject && blocksFieldname && blocksLayoutFieldname) {
|
|
290
|
+
initialBlocks = {};
|
|
291
|
+
initialBlocksLayout = [];
|
|
292
|
+
const originalBlocks = JSON.parse(
|
|
293
|
+
JSON.stringify(translationObject[blocksFieldname])
|
|
294
|
+
);
|
|
295
|
+
const originalBlocksLayout = translationObject[blocksLayoutFieldname].items;
|
|
296
|
+
originalBlocksLayout.forEach((value) => {
|
|
297
|
+
if (!isEmpty(originalBlocks[value])) {
|
|
298
|
+
let newUid = v4();
|
|
299
|
+
initialBlocksLayout.push(newUid);
|
|
300
|
+
initialBlocks[newUid] = originalBlocks[value];
|
|
301
|
+
initialBlocks[newUid].block = newUid;
|
|
302
|
+
initialBlocks[newUid]["@canonical"] = value;
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
const lifData = () => {
|
|
307
|
+
const data = {};
|
|
308
|
+
if (translationObject) {
|
|
309
|
+
getLanguageIndependentFields(this.props.schema).forEach(
|
|
310
|
+
(lif) => data[lif] = translationObject[lif]
|
|
311
|
+
);
|
|
312
|
+
}
|
|
313
|
+
return data;
|
|
314
|
+
};
|
|
315
|
+
const pageAdd = /* @__PURE__ */ jsxs("div", { id: "page-add", children: [
|
|
316
|
+
/* @__PURE__ */ jsx(
|
|
317
|
+
HelmetExport,
|
|
318
|
+
{
|
|
319
|
+
title: this.props.intl.formatMessage(messages.add, {
|
|
320
|
+
type: this.props.type
|
|
321
|
+
})
|
|
322
|
+
}
|
|
323
|
+
),
|
|
324
|
+
/* @__PURE__ */ jsx(
|
|
325
|
+
Form,
|
|
326
|
+
{
|
|
327
|
+
ref: this.form,
|
|
328
|
+
navRoot: ((_m = (_l = (_k = this.props.content) == null ? void 0 : _k["@components"]) == null ? void 0 : _l.navroot) == null ? void 0 : _m.navroot) || {},
|
|
329
|
+
schema: this.props.schema,
|
|
330
|
+
type: this.props.type,
|
|
331
|
+
formData: {
|
|
332
|
+
...blocksFieldname && {
|
|
333
|
+
[blocksFieldname]: initialBlocks || ((_n = this.props.schema.properties[blocksFieldname]) == null ? void 0 : _n.default)
|
|
334
|
+
},
|
|
335
|
+
...blocksLayoutFieldname && {
|
|
336
|
+
[blocksLayoutFieldname]: {
|
|
337
|
+
items: initialBlocksLayout || ((_p = (_o = this.props.schema.properties[blocksLayoutFieldname]) == null ? void 0 : _o.default) == null ? void 0 : _p.items)
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
// Copy the Language Independent Fields values from the to-be translated content
|
|
341
|
+
// into the default values of the translated content Add form.
|
|
342
|
+
...lifData(),
|
|
343
|
+
parent: {
|
|
344
|
+
"@id": ((_q = this.props.content) == null ? void 0 : _q["@id"]) || ""
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
requestError: this.state.error,
|
|
348
|
+
onSubmit: this.onSubmit,
|
|
349
|
+
hideActions: true,
|
|
350
|
+
pathname: this.props.pathname,
|
|
351
|
+
visual,
|
|
352
|
+
title: ((_s = (_r = this.props) == null ? void 0 : _r.schema) == null ? void 0 : _s.title) ? this.props.intl.formatMessage(messages.add, {
|
|
353
|
+
type: this.props.schema.title
|
|
354
|
+
}) : null,
|
|
355
|
+
loading: this.props.createRequest.loading,
|
|
356
|
+
isFormSelected: this.state.formSelected === "addForm",
|
|
357
|
+
onSelectForm: () => {
|
|
358
|
+
this.setState({ formSelected: "addForm" });
|
|
359
|
+
},
|
|
360
|
+
global: true,
|
|
361
|
+
history: this.props.history,
|
|
362
|
+
location: this.props.location,
|
|
363
|
+
token: this.props.token
|
|
364
|
+
},
|
|
365
|
+
"translated-or-new-content-form"
|
|
366
|
+
),
|
|
367
|
+
this.state.isClient && createPortal(
|
|
368
|
+
/* @__PURE__ */ jsx(
|
|
369
|
+
Toolbar,
|
|
370
|
+
{
|
|
371
|
+
pathname: this.props.pathname,
|
|
372
|
+
hideDefaultViewButtons: true,
|
|
373
|
+
inner: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
374
|
+
/* @__PURE__ */ jsx(
|
|
375
|
+
Button,
|
|
376
|
+
{
|
|
377
|
+
id: "toolbar-save",
|
|
378
|
+
className: "save",
|
|
379
|
+
"aria-label": this.props.intl.formatMessage(messages.save),
|
|
380
|
+
onClick: () => this.form.current.onSubmit(),
|
|
381
|
+
loading: this.props.createRequest.loading,
|
|
382
|
+
disabled: this.props.createRequest.loading,
|
|
383
|
+
children: /* @__PURE__ */ jsx(
|
|
384
|
+
Icon,
|
|
385
|
+
{
|
|
386
|
+
name: saveSVG,
|
|
387
|
+
className: "circled",
|
|
388
|
+
size: "30px",
|
|
389
|
+
title: this.props.intl.formatMessage(messages.save)
|
|
390
|
+
}
|
|
391
|
+
)
|
|
392
|
+
}
|
|
393
|
+
),
|
|
394
|
+
/* @__PURE__ */ jsx(Button, { className: "cancel", onClick: () => this.onCancel(), children: /* @__PURE__ */ jsx(
|
|
395
|
+
Icon,
|
|
396
|
+
{
|
|
397
|
+
name: clearSVG,
|
|
398
|
+
className: "circled",
|
|
399
|
+
"aria-label": this.props.intl.formatMessage(
|
|
400
|
+
messages.cancel
|
|
401
|
+
),
|
|
402
|
+
size: "30px",
|
|
403
|
+
title: this.props.intl.formatMessage(messages.cancel)
|
|
404
|
+
}
|
|
405
|
+
) })
|
|
406
|
+
] })
|
|
407
|
+
}
|
|
408
|
+
),
|
|
409
|
+
document.getElementById("toolbar")
|
|
410
|
+
),
|
|
411
|
+
visual && this.state.isClient && createPortal(/* @__PURE__ */ jsx(Sidebar, {}), document.getElementById("sidebar"))
|
|
412
|
+
] });
|
|
413
|
+
return translationObject ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
414
|
+
/* @__PURE__ */ jsx(BodyClass, { className: "babel-view" }),
|
|
415
|
+
/* @__PURE__ */ jsxs(
|
|
416
|
+
Grid,
|
|
417
|
+
{
|
|
418
|
+
celled: "internally",
|
|
419
|
+
stackable: true,
|
|
420
|
+
columns: 2,
|
|
421
|
+
id: "page-add-translation",
|
|
422
|
+
children: [
|
|
423
|
+
/* @__PURE__ */ jsx(Grid.Column, { className: "source-object", children: /* @__PURE__ */ jsx(
|
|
424
|
+
TranslationObject,
|
|
425
|
+
{
|
|
426
|
+
translationObject,
|
|
427
|
+
schema: this.props.schema,
|
|
428
|
+
pathname: this.props.pathname,
|
|
429
|
+
visual,
|
|
430
|
+
isFormSelected: this.state.formSelected === "translationObjectForm",
|
|
431
|
+
onSelectForm: () => {
|
|
432
|
+
this.setState({
|
|
433
|
+
formSelected: "translationObjectForm"
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
) }),
|
|
438
|
+
/* @__PURE__ */ jsx(Grid.Column, { children: /* @__PURE__ */ jsxs("div", { className: "new-translation", children: [
|
|
439
|
+
/* @__PURE__ */ jsx(Menu, { pointing: true, secondary: true, attached: true, tabular: true, children: /* @__PURE__ */ jsx(Menu.Item, { name: translateTo.toUpperCase(), active: true, children: `${this.props.intl.formatMessage(messages.translateTo, {
|
|
440
|
+
lang: translateTo
|
|
441
|
+
})}` }) }),
|
|
442
|
+
pageAdd
|
|
443
|
+
] }) })
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
)
|
|
447
|
+
] }) : pageAdd;
|
|
448
|
+
}
|
|
449
|
+
return /* @__PURE__ */ jsx("div", {});
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Property types.
|
|
454
|
+
* @property {Object} propTypes Property types.
|
|
455
|
+
* @static
|
|
456
|
+
*/
|
|
457
|
+
__publicField(Add, "propTypes", {
|
|
458
|
+
createContent: PropTypes.func.isRequired,
|
|
459
|
+
getSchema: PropTypes.func.isRequired,
|
|
460
|
+
pathname: PropTypes.string.isRequired,
|
|
461
|
+
schema: PropTypes.objectOf(PropTypes.any),
|
|
462
|
+
content: PropTypes.shape({
|
|
463
|
+
// eslint-disable-line react/no-unused-prop-types
|
|
464
|
+
"@id": PropTypes.string,
|
|
465
|
+
"@type": PropTypes.string
|
|
466
|
+
}),
|
|
467
|
+
returnUrl: PropTypes.string,
|
|
468
|
+
createRequest: PropTypes.shape({
|
|
469
|
+
loading: PropTypes.bool,
|
|
470
|
+
loaded: PropTypes.bool
|
|
471
|
+
}).isRequired,
|
|
472
|
+
schemaRequest: PropTypes.shape({
|
|
473
|
+
loading: PropTypes.bool,
|
|
474
|
+
loaded: PropTypes.bool
|
|
475
|
+
}).isRequired,
|
|
476
|
+
type: PropTypes.string,
|
|
477
|
+
location: PropTypes.objectOf(PropTypes.any)
|
|
478
|
+
});
|
|
479
|
+
/**
|
|
480
|
+
* Default properties
|
|
481
|
+
* @property {Object} defaultProps Default properties.
|
|
482
|
+
* @static
|
|
483
|
+
*/
|
|
484
|
+
__publicField(Add, "defaultProps", {
|
|
485
|
+
schema: null,
|
|
486
|
+
content: null,
|
|
487
|
+
returnUrl: null,
|
|
488
|
+
type: "Default"
|
|
489
|
+
});
|
|
490
|
+
const Add$1 = compose(
|
|
491
|
+
injectIntl,
|
|
492
|
+
connect(
|
|
493
|
+
(state, props) => ({
|
|
494
|
+
createRequest: state.content.create,
|
|
495
|
+
schemaRequest: state.schema,
|
|
496
|
+
content: state.content.data,
|
|
497
|
+
schema: state.schema.schema,
|
|
498
|
+
pathname: props.location.pathname,
|
|
499
|
+
returnUrl: qs.parse(props.location.search).return_url,
|
|
500
|
+
type: qs.parse(props.location.search).type
|
|
501
|
+
}),
|
|
502
|
+
{ createContent, getSchema, changeLanguage, setFormData }
|
|
503
|
+
)
|
|
504
|
+
)(Add);
|
|
505
|
+
export {
|
|
506
|
+
Add$1 as default
|
|
507
|
+
};
|