@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,136 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { injectIntl, defineMessages } from "react-intl";
|
|
4
|
+
import PropTypes from "prop-types";
|
|
5
|
+
import { Grid, Button } from "semantic-ui-react";
|
|
6
|
+
import { a5 as FormFieldWrapper } from "../entry-server.js";
|
|
7
|
+
import "classnames";
|
|
8
|
+
import "lodash-es";
|
|
9
|
+
import "moment";
|
|
10
|
+
import "react-redux";
|
|
11
|
+
import "react-router";
|
|
12
|
+
import "react-router-hash-link";
|
|
13
|
+
import "tlds";
|
|
14
|
+
import "prepend-http";
|
|
15
|
+
import "react-router-dom";
|
|
16
|
+
import "redux";
|
|
17
|
+
import "lodash-move";
|
|
18
|
+
import "react-dom";
|
|
19
|
+
import "react-dom/server";
|
|
20
|
+
import "react-transition-group";
|
|
21
|
+
import "react-toastify";
|
|
22
|
+
import "promise-file-reader";
|
|
23
|
+
import "uuid";
|
|
24
|
+
import "pretty-bytes";
|
|
25
|
+
import "react-side-effect";
|
|
26
|
+
import "github-slugger";
|
|
27
|
+
import "slate";
|
|
28
|
+
import "hoist-non-react-statics";
|
|
29
|
+
import "query-string";
|
|
30
|
+
import "slate-react";
|
|
31
|
+
import "prettier/standalone";
|
|
32
|
+
import "prettier/parser-html";
|
|
33
|
+
import "prismjs/components/prism-core.js";
|
|
34
|
+
import "react-animate-height";
|
|
35
|
+
import "react-popper";
|
|
36
|
+
import "react-sortable-hoc";
|
|
37
|
+
import "react-dates/initialize.js";
|
|
38
|
+
import "react-anchor-link-smooth-scroll";
|
|
39
|
+
import "jwt-decode";
|
|
40
|
+
import "react-router-config";
|
|
41
|
+
import "react-fast-compare";
|
|
42
|
+
import "object-assign";
|
|
43
|
+
import "lodash-es/split.js";
|
|
44
|
+
import "lodash-es/join.js";
|
|
45
|
+
import "lodash-es/trim.js";
|
|
46
|
+
import "react-cookie";
|
|
47
|
+
import "react-intl-redux";
|
|
48
|
+
import "universal-cookie";
|
|
49
|
+
import "slate-hyperscript";
|
|
50
|
+
import "is-hotkey";
|
|
51
|
+
import "react-dropzone";
|
|
52
|
+
import "react-intersection-observer";
|
|
53
|
+
import "is-url";
|
|
54
|
+
import "lodash-es/isUndefined.js";
|
|
55
|
+
import "lodash-es/isString.js";
|
|
56
|
+
import "redux-mock-store";
|
|
57
|
+
import "serialize-javascript";
|
|
58
|
+
import "superagent";
|
|
59
|
+
import "connected-react-router";
|
|
60
|
+
import "react-beautiful-dnd";
|
|
61
|
+
import "detect-browser";
|
|
62
|
+
import "locale";
|
|
63
|
+
import "history";
|
|
64
|
+
import "redux-thunk";
|
|
65
|
+
import "redux-localstorage-simple";
|
|
66
|
+
import "debug";
|
|
67
|
+
import "express";
|
|
68
|
+
import "http-proxy-middleware";
|
|
69
|
+
const messages = defineMessages({
|
|
70
|
+
small: {
|
|
71
|
+
id: "Small",
|
|
72
|
+
defaultMessage: "Small"
|
|
73
|
+
},
|
|
74
|
+
medium: {
|
|
75
|
+
id: "Medium",
|
|
76
|
+
defaultMessage: "Medium"
|
|
77
|
+
},
|
|
78
|
+
large: {
|
|
79
|
+
id: "Large",
|
|
80
|
+
defaultMessage: "Large"
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
const ImageSizeWidget = (props) => {
|
|
84
|
+
const { onChange, id, disabled, intl, value, isDisabled } = props;
|
|
85
|
+
return /* @__PURE__ */ jsx(FormFieldWrapper, { ...props, children: /* @__PURE__ */ jsx(Grid, { children: /* @__PURE__ */ jsx(Grid.Row, { children: /* @__PURE__ */ jsxs(Grid.Column, { width: "8", className: "field-image_size", children: [
|
|
86
|
+
/* @__PURE__ */ jsx(Button.Group, { children: /* @__PURE__ */ jsx(
|
|
87
|
+
Button,
|
|
88
|
+
{
|
|
89
|
+
icon: true,
|
|
90
|
+
basic: true,
|
|
91
|
+
"aria-label": intl.formatMessage(messages.small),
|
|
92
|
+
onClick: () => onChange(id, "s"),
|
|
93
|
+
active: value === "s",
|
|
94
|
+
disabled: disabled || isDisabled,
|
|
95
|
+
children: /* @__PURE__ */ jsx("div", { className: "image-sizes-text", children: "S" })
|
|
96
|
+
}
|
|
97
|
+
) }),
|
|
98
|
+
/* @__PURE__ */ jsx(Button.Group, { children: /* @__PURE__ */ jsx(
|
|
99
|
+
Button,
|
|
100
|
+
{
|
|
101
|
+
icon: true,
|
|
102
|
+
basic: true,
|
|
103
|
+
"aria-label": intl.formatMessage(messages.medium),
|
|
104
|
+
onClick: () => onChange(id, "m"),
|
|
105
|
+
active: value === "m",
|
|
106
|
+
disabled: disabled || isDisabled,
|
|
107
|
+
children: /* @__PURE__ */ jsx("div", { className: "image-sizes-text", children: "M" })
|
|
108
|
+
}
|
|
109
|
+
) }),
|
|
110
|
+
/* @__PURE__ */ jsx(Button.Group, { children: /* @__PURE__ */ jsx(
|
|
111
|
+
Button,
|
|
112
|
+
{
|
|
113
|
+
icon: true,
|
|
114
|
+
basic: true,
|
|
115
|
+
"aria-label": intl.formatMessage(messages.large),
|
|
116
|
+
onClick: () => onChange(id, "l"),
|
|
117
|
+
active: value === "l" || value === void 0,
|
|
118
|
+
disabled: disabled || isDisabled,
|
|
119
|
+
children: /* @__PURE__ */ jsx("div", { className: "image-sizes-text", children: "L" })
|
|
120
|
+
}
|
|
121
|
+
) })
|
|
122
|
+
] }) }) }) });
|
|
123
|
+
};
|
|
124
|
+
ImageSizeWidget.propTypes = {
|
|
125
|
+
onChange: PropTypes.func.isRequired,
|
|
126
|
+
value: PropTypes.string,
|
|
127
|
+
id: PropTypes.string.isRequired
|
|
128
|
+
};
|
|
129
|
+
ImageSizeWidget.defaultProps = {
|
|
130
|
+
onChange: () => {
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
const ImageSizeWidget$1 = injectIntl(ImageSizeWidget);
|
|
134
|
+
export {
|
|
135
|
+
ImageSizeWidget$1 as default
|
|
136
|
+
};
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { createElement } from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Segment, Message, Accordion } from "semantic-ui-react";
|
|
5
|
+
import { injectIntl, defineMessages } from "react-intl";
|
|
6
|
+
import AnimateHeight from "react-animate-height";
|
|
7
|
+
import { isEqual, keys, map } from "lodash-es";
|
|
8
|
+
import { atom, useAtom } from "jotai";
|
|
9
|
+
import { atomFamily } from "jotai/utils";
|
|
10
|
+
import { cG as applySchemaDefaults, $ as $149c1bd638913645$export$2e2bcd8739ae039, cJ as arrayRange, L as Field, I as Icon, a7 as upSVG, a8 as down_key, cK as removeFromArray, cL as insertInArray } from "../entry-server.js";
|
|
11
|
+
import "classnames";
|
|
12
|
+
import "moment";
|
|
13
|
+
import "react-redux";
|
|
14
|
+
import "react-router";
|
|
15
|
+
import "react-router-hash-link";
|
|
16
|
+
import "tlds";
|
|
17
|
+
import "prepend-http";
|
|
18
|
+
import "react-router-dom";
|
|
19
|
+
import "redux";
|
|
20
|
+
import "lodash-move";
|
|
21
|
+
import "react-dom";
|
|
22
|
+
import "react-dom/server";
|
|
23
|
+
import "react-transition-group";
|
|
24
|
+
import "react-toastify";
|
|
25
|
+
import "promise-file-reader";
|
|
26
|
+
import "uuid";
|
|
27
|
+
import "pretty-bytes";
|
|
28
|
+
import "react-side-effect";
|
|
29
|
+
import "github-slugger";
|
|
30
|
+
import "slate";
|
|
31
|
+
import "hoist-non-react-statics";
|
|
32
|
+
import "query-string";
|
|
33
|
+
import "slate-react";
|
|
34
|
+
import "prettier/standalone";
|
|
35
|
+
import "prettier/parser-html";
|
|
36
|
+
import "prismjs/components/prism-core.js";
|
|
37
|
+
import "react-popper";
|
|
38
|
+
import "react-sortable-hoc";
|
|
39
|
+
import "react-dates/initialize.js";
|
|
40
|
+
import "react-anchor-link-smooth-scroll";
|
|
41
|
+
import "jwt-decode";
|
|
42
|
+
import "react-router-config";
|
|
43
|
+
import "react-fast-compare";
|
|
44
|
+
import "object-assign";
|
|
45
|
+
import "lodash-es/split.js";
|
|
46
|
+
import "lodash-es/join.js";
|
|
47
|
+
import "lodash-es/trim.js";
|
|
48
|
+
import "react-cookie";
|
|
49
|
+
import "react-intl-redux";
|
|
50
|
+
import "universal-cookie";
|
|
51
|
+
import "slate-hyperscript";
|
|
52
|
+
import "is-hotkey";
|
|
53
|
+
import "react-dropzone";
|
|
54
|
+
import "react-intersection-observer";
|
|
55
|
+
import "is-url";
|
|
56
|
+
import "lodash-es/isUndefined.js";
|
|
57
|
+
import "lodash-es/isString.js";
|
|
58
|
+
import "redux-mock-store";
|
|
59
|
+
import "serialize-javascript";
|
|
60
|
+
import "superagent";
|
|
61
|
+
import "connected-react-router";
|
|
62
|
+
import "react-beautiful-dnd";
|
|
63
|
+
import "detect-browser";
|
|
64
|
+
import "locale";
|
|
65
|
+
import "history";
|
|
66
|
+
import "redux-thunk";
|
|
67
|
+
import "redux-localstorage-simple";
|
|
68
|
+
import "debug";
|
|
69
|
+
import "express";
|
|
70
|
+
import "http-proxy-middleware";
|
|
71
|
+
const inlineFormFieldsetsState = atomFamily(
|
|
72
|
+
({ name, initialState }) => atom(initialState),
|
|
73
|
+
(a, b) => a.name === b.name && isEqual(a.fielsetList, b.fielsetList)
|
|
74
|
+
);
|
|
75
|
+
const messages = defineMessages({
|
|
76
|
+
editValues: {
|
|
77
|
+
id: "Edit values",
|
|
78
|
+
defaultMessage: "Edit values"
|
|
79
|
+
},
|
|
80
|
+
error: {
|
|
81
|
+
id: "Error",
|
|
82
|
+
defaultMessage: "Error"
|
|
83
|
+
},
|
|
84
|
+
thereWereSomeErrors: {
|
|
85
|
+
id: "There were some errors",
|
|
86
|
+
defaultMessage: "There were some errors"
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
const InlineForm = (props) => {
|
|
90
|
+
const {
|
|
91
|
+
block,
|
|
92
|
+
description,
|
|
93
|
+
error,
|
|
94
|
+
// Such as {message: "It's not good"}
|
|
95
|
+
errors = {},
|
|
96
|
+
formData,
|
|
97
|
+
onChangeFormData,
|
|
98
|
+
onChangeField,
|
|
99
|
+
schema,
|
|
100
|
+
title,
|
|
101
|
+
icon,
|
|
102
|
+
headerActions,
|
|
103
|
+
actionButton,
|
|
104
|
+
footer,
|
|
105
|
+
focusIndex,
|
|
106
|
+
intl
|
|
107
|
+
} = props;
|
|
108
|
+
const _ = intl.formatMessage;
|
|
109
|
+
const defaultFieldset = schema.fieldsets.find((o) => o.id === "default");
|
|
110
|
+
const other = schema.fieldsets.filter((o) => o.id !== "default");
|
|
111
|
+
React__default.useEffect(() => {
|
|
112
|
+
const objectSchema = typeof schema === "function" ? schema(props) : schema;
|
|
113
|
+
const initialData = applySchemaDefaults({
|
|
114
|
+
data: formData,
|
|
115
|
+
schema: objectSchema,
|
|
116
|
+
intl
|
|
117
|
+
});
|
|
118
|
+
if (onChangeFormData) {
|
|
119
|
+
onChangeFormData(initialData);
|
|
120
|
+
} else {
|
|
121
|
+
Object.keys(initialData).forEach((k) => {
|
|
122
|
+
if (!isEqual(initialData[k], formData == null ? void 0 : formData[k])) {
|
|
123
|
+
onChangeField(k, initialData[k]);
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}, []);
|
|
128
|
+
const [currentActiveFieldset, setCurrentActiveFieldset] = useAtom(
|
|
129
|
+
inlineFormFieldsetsState({
|
|
130
|
+
name: block,
|
|
131
|
+
fielsetList: other,
|
|
132
|
+
initialState: $149c1bd638913645$export$2e2bcd8739ae039.settings.blockSettingsTabFieldsetsInitialStateOpen ? arrayRange(0, other.length - 1, 1) : []
|
|
133
|
+
})
|
|
134
|
+
);
|
|
135
|
+
function handleCurrentActiveFieldset(e, blockProps) {
|
|
136
|
+
const { index } = blockProps;
|
|
137
|
+
if (currentActiveFieldset.includes(index)) {
|
|
138
|
+
setCurrentActiveFieldset(
|
|
139
|
+
removeFromArray(
|
|
140
|
+
currentActiveFieldset,
|
|
141
|
+
currentActiveFieldset.indexOf(index)
|
|
142
|
+
)
|
|
143
|
+
);
|
|
144
|
+
} else {
|
|
145
|
+
setCurrentActiveFieldset(
|
|
146
|
+
insertInArray(
|
|
147
|
+
currentActiveFieldset,
|
|
148
|
+
index,
|
|
149
|
+
currentActiveFieldset.length + 1
|
|
150
|
+
)
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
return /* @__PURE__ */ jsxs("div", { className: "ui form", children: [
|
|
155
|
+
title && /* @__PURE__ */ jsxs("header", { className: "header pulled", children: [
|
|
156
|
+
icon,
|
|
157
|
+
/* @__PURE__ */ jsx("h2", { children: title || _(messages.editValues) }),
|
|
158
|
+
headerActions
|
|
159
|
+
] }),
|
|
160
|
+
description && /* @__PURE__ */ jsx(Segment, { secondary: true, className: "attached", children: description }),
|
|
161
|
+
keys(errors).length > 0 && /* @__PURE__ */ jsx(
|
|
162
|
+
Message,
|
|
163
|
+
{
|
|
164
|
+
icon: "warning",
|
|
165
|
+
negative: true,
|
|
166
|
+
attached: true,
|
|
167
|
+
header: _(messages.error),
|
|
168
|
+
content: _(messages.thereWereSomeErrors)
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
error && /* @__PURE__ */ jsx(
|
|
172
|
+
Message,
|
|
173
|
+
{
|
|
174
|
+
icon: "warning",
|
|
175
|
+
negative: true,
|
|
176
|
+
attached: true,
|
|
177
|
+
header: _(messages.error),
|
|
178
|
+
content: error.message
|
|
179
|
+
}
|
|
180
|
+
),
|
|
181
|
+
/* @__PURE__ */ jsx("div", { id: `blockform-fieldset-${defaultFieldset.id}`, children: /* @__PURE__ */ jsxs(Segment, { className: "form attached", children: [
|
|
182
|
+
map(defaultFieldset.fields, (field, index) => {
|
|
183
|
+
var _a;
|
|
184
|
+
return /* @__PURE__ */ createElement(
|
|
185
|
+
Field,
|
|
186
|
+
{
|
|
187
|
+
...schema.properties[field],
|
|
188
|
+
id: field,
|
|
189
|
+
fieldSet: defaultFieldset.title.toLowerCase(),
|
|
190
|
+
focus: index === focusIndex,
|
|
191
|
+
value: formData[field],
|
|
192
|
+
required: schema.required.indexOf(field) !== -1,
|
|
193
|
+
onChange: (id, value, itemInfo) => {
|
|
194
|
+
onChangeField(id, value, itemInfo);
|
|
195
|
+
},
|
|
196
|
+
key: field,
|
|
197
|
+
error: ((_a = errors == null ? void 0 : errors[block]) == null ? void 0 : _a[field]) || {},
|
|
198
|
+
block
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
}),
|
|
202
|
+
actionButton && /* @__PURE__ */ jsx(Segment, { className: "attached actions", children: actionButton })
|
|
203
|
+
] }) }),
|
|
204
|
+
other.map((fieldset, index) => /* @__PURE__ */ jsx(Accordion, { fluid: true, styled: true, className: "form", children: /* @__PURE__ */ jsxs("div", { id: `blockform-fieldset-${fieldset.id}`, children: [
|
|
205
|
+
/* @__PURE__ */ jsxs(
|
|
206
|
+
Accordion.Title,
|
|
207
|
+
{
|
|
208
|
+
active: currentActiveFieldset.includes(index),
|
|
209
|
+
index,
|
|
210
|
+
onClick: handleCurrentActiveFieldset,
|
|
211
|
+
children: [
|
|
212
|
+
fieldset.title && /* @__PURE__ */ jsx(Fragment, { children: fieldset.title }),
|
|
213
|
+
currentActiveFieldset.includes(index) ? /* @__PURE__ */ jsx(Icon, { name: upSVG, size: "20px" }) : /* @__PURE__ */ jsx(Icon, { name: down_key, size: "20px" })
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ jsx(Accordion.Content, { active: currentActiveFieldset.includes(index), children: /* @__PURE__ */ jsx(
|
|
218
|
+
AnimateHeight,
|
|
219
|
+
{
|
|
220
|
+
animateOpacity: true,
|
|
221
|
+
duration: 500,
|
|
222
|
+
height: currentActiveFieldset.includes(index) ? "auto" : 0,
|
|
223
|
+
children: /* @__PURE__ */ jsx(Segment, { className: "attached", children: map(fieldset.fields, (field) => {
|
|
224
|
+
var _a;
|
|
225
|
+
return /* @__PURE__ */ createElement(
|
|
226
|
+
Field,
|
|
227
|
+
{
|
|
228
|
+
...schema.properties[field],
|
|
229
|
+
id: field,
|
|
230
|
+
value: formData[field],
|
|
231
|
+
required: schema.required.indexOf(field) !== -1,
|
|
232
|
+
onChange: (id, value) => {
|
|
233
|
+
onChangeField(id, value);
|
|
234
|
+
},
|
|
235
|
+
key: field,
|
|
236
|
+
error: ((_a = errors == null ? void 0 : errors[block]) == null ? void 0 : _a[field]) || {},
|
|
237
|
+
block
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
}) })
|
|
241
|
+
}
|
|
242
|
+
) })
|
|
243
|
+
] }, fieldset.id) }, fieldset.id)),
|
|
244
|
+
footer
|
|
245
|
+
] });
|
|
246
|
+
};
|
|
247
|
+
InlineForm.defaultProps = {
|
|
248
|
+
block: null,
|
|
249
|
+
description: null,
|
|
250
|
+
formData: null,
|
|
251
|
+
onChangeField: null,
|
|
252
|
+
error: null,
|
|
253
|
+
errors: {},
|
|
254
|
+
schema: {},
|
|
255
|
+
focusIndex: null
|
|
256
|
+
};
|
|
257
|
+
InlineForm.propTypes = {
|
|
258
|
+
block: PropTypes.string,
|
|
259
|
+
description: PropTypes.string,
|
|
260
|
+
schema: PropTypes.shape({
|
|
261
|
+
fieldsets: PropTypes.arrayOf(
|
|
262
|
+
PropTypes.shape({
|
|
263
|
+
fields: PropTypes.arrayOf(PropTypes.string),
|
|
264
|
+
id: PropTypes.string,
|
|
265
|
+
title: PropTypes.string
|
|
266
|
+
})
|
|
267
|
+
),
|
|
268
|
+
properties: PropTypes.objectOf(PropTypes.any),
|
|
269
|
+
definitions: PropTypes.objectOf(PropTypes.any),
|
|
270
|
+
required: PropTypes.arrayOf(PropTypes.string)
|
|
271
|
+
}),
|
|
272
|
+
formData: PropTypes.objectOf(PropTypes.any),
|
|
273
|
+
pathname: PropTypes.string,
|
|
274
|
+
onChangeField: PropTypes.func,
|
|
275
|
+
error: PropTypes.shape({
|
|
276
|
+
message: PropTypes.string
|
|
277
|
+
}),
|
|
278
|
+
focusIndex: PropTypes.number
|
|
279
|
+
};
|
|
280
|
+
const InlineForm$1 = injectIntl(InlineForm, { forwardRef: true });
|
|
281
|
+
export {
|
|
282
|
+
InlineForm$1 as default
|
|
283
|
+
};
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
3
|
+
import PropTypes from "prop-types";
|
|
4
|
+
import { Input, Button } from "semantic-ui-react";
|
|
5
|
+
import { X as withObjectBrowser, a5 as FormFieldWrapper, I as Icon, k as clearSVG, bV as navTreeSVG, cy as URLUtils, cz as isInternalURL, f as flattenToAppURL } from "../entry-server.js";
|
|
6
|
+
import "classnames";
|
|
7
|
+
import "lodash-es";
|
|
8
|
+
import "react-intl";
|
|
9
|
+
import "moment";
|
|
10
|
+
import "react-redux";
|
|
11
|
+
import "react-router";
|
|
12
|
+
import "react-router-hash-link";
|
|
13
|
+
import "tlds";
|
|
14
|
+
import "prepend-http";
|
|
15
|
+
import "react-router-dom";
|
|
16
|
+
import "redux";
|
|
17
|
+
import "lodash-move";
|
|
18
|
+
import "react-dom";
|
|
19
|
+
import "react-dom/server";
|
|
20
|
+
import "react-transition-group";
|
|
21
|
+
import "react-toastify";
|
|
22
|
+
import "promise-file-reader";
|
|
23
|
+
import "uuid";
|
|
24
|
+
import "pretty-bytes";
|
|
25
|
+
import "react-side-effect";
|
|
26
|
+
import "github-slugger";
|
|
27
|
+
import "slate";
|
|
28
|
+
import "hoist-non-react-statics";
|
|
29
|
+
import "query-string";
|
|
30
|
+
import "slate-react";
|
|
31
|
+
import "prettier/standalone";
|
|
32
|
+
import "prettier/parser-html";
|
|
33
|
+
import "prismjs/components/prism-core.js";
|
|
34
|
+
import "react-animate-height";
|
|
35
|
+
import "react-popper";
|
|
36
|
+
import "react-sortable-hoc";
|
|
37
|
+
import "react-dates/initialize.js";
|
|
38
|
+
import "react-anchor-link-smooth-scroll";
|
|
39
|
+
import "jwt-decode";
|
|
40
|
+
import "react-router-config";
|
|
41
|
+
import "react-fast-compare";
|
|
42
|
+
import "object-assign";
|
|
43
|
+
import "lodash-es/split.js";
|
|
44
|
+
import "lodash-es/join.js";
|
|
45
|
+
import "lodash-es/trim.js";
|
|
46
|
+
import "react-cookie";
|
|
47
|
+
import "react-intl-redux";
|
|
48
|
+
import "universal-cookie";
|
|
49
|
+
import "slate-hyperscript";
|
|
50
|
+
import "is-hotkey";
|
|
51
|
+
import "react-dropzone";
|
|
52
|
+
import "react-intersection-observer";
|
|
53
|
+
import "is-url";
|
|
54
|
+
import "lodash-es/isUndefined.js";
|
|
55
|
+
import "lodash-es/isString.js";
|
|
56
|
+
import "redux-mock-store";
|
|
57
|
+
import "serialize-javascript";
|
|
58
|
+
import "superagent";
|
|
59
|
+
import "connected-react-router";
|
|
60
|
+
import "react-beautiful-dnd";
|
|
61
|
+
import "detect-browser";
|
|
62
|
+
import "locale";
|
|
63
|
+
import "history";
|
|
64
|
+
import "redux-thunk";
|
|
65
|
+
import "redux-localstorage-simple";
|
|
66
|
+
import "debug";
|
|
67
|
+
import "express";
|
|
68
|
+
import "http-proxy-middleware";
|
|
69
|
+
const InternalUrlWidget = (props) => {
|
|
70
|
+
const {
|
|
71
|
+
id,
|
|
72
|
+
onChange,
|
|
73
|
+
onBlur,
|
|
74
|
+
onClick,
|
|
75
|
+
minLength,
|
|
76
|
+
maxLength,
|
|
77
|
+
placeholder,
|
|
78
|
+
isDisabled,
|
|
79
|
+
value
|
|
80
|
+
} = props;
|
|
81
|
+
const inputId = `field-${id}`;
|
|
82
|
+
const [isInvalid, setIsInvalid] = useState(false);
|
|
83
|
+
const clear = () => {
|
|
84
|
+
onChange(id, "");
|
|
85
|
+
};
|
|
86
|
+
const onChangeValue = (_value) => {
|
|
87
|
+
let newValue = _value;
|
|
88
|
+
if ((newValue == null ? void 0 : newValue.length) > 0) {
|
|
89
|
+
if (isInvalid && URLUtils.isUrl(URLUtils.normalizeUrl(newValue))) {
|
|
90
|
+
setIsInvalid(false);
|
|
91
|
+
}
|
|
92
|
+
if (isInternalURL(newValue)) {
|
|
93
|
+
newValue = flattenToAppURL(newValue);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
newValue = isInternalURL(newValue) ? flattenToAppURL(newValue) : newValue;
|
|
97
|
+
if (!isInternalURL(newValue) && newValue.length > 0) {
|
|
98
|
+
const checkedURL = URLUtils.checkAndNormalizeUrl(newValue);
|
|
99
|
+
newValue = checkedURL.url;
|
|
100
|
+
if (!checkedURL.isValid) {
|
|
101
|
+
setIsInvalid(true);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
onChange(id, newValue);
|
|
105
|
+
};
|
|
106
|
+
return /* @__PURE__ */ jsx(FormFieldWrapper, { ...props, className: "url wide", children: /* @__PURE__ */ jsxs("div", { className: "wrapper", children: [
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
Input,
|
|
109
|
+
{
|
|
110
|
+
id: inputId,
|
|
111
|
+
name: id,
|
|
112
|
+
type: "url",
|
|
113
|
+
value: value || "",
|
|
114
|
+
disabled: isDisabled,
|
|
115
|
+
placeholder,
|
|
116
|
+
onChange: ({ target }) => onChangeValue(target.value),
|
|
117
|
+
onBlur: ({ target }) => onBlur(id, target.value),
|
|
118
|
+
onClick: () => onClick(),
|
|
119
|
+
minLength,
|
|
120
|
+
maxLength,
|
|
121
|
+
error: isInvalid
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
(value == null ? void 0 : value.length) > 0 ? /* @__PURE__ */ jsx(Button.Group, { children: /* @__PURE__ */ jsx(
|
|
125
|
+
Button,
|
|
126
|
+
{
|
|
127
|
+
basic: true,
|
|
128
|
+
className: "cancel",
|
|
129
|
+
"aria-label": "clearUrlBrowser",
|
|
130
|
+
onClick: (e) => {
|
|
131
|
+
e.preventDefault();
|
|
132
|
+
e.stopPropagation();
|
|
133
|
+
clear();
|
|
134
|
+
},
|
|
135
|
+
children: /* @__PURE__ */ jsx(Icon, { name: clearSVG, size: "30px" })
|
|
136
|
+
}
|
|
137
|
+
) }) : /* @__PURE__ */ jsx(Button.Group, { children: /* @__PURE__ */ jsx(
|
|
138
|
+
Button,
|
|
139
|
+
{
|
|
140
|
+
basic: true,
|
|
141
|
+
icon: true,
|
|
142
|
+
"aria-label": "openUrlBrowser",
|
|
143
|
+
onClick: (e) => {
|
|
144
|
+
e.preventDefault();
|
|
145
|
+
e.stopPropagation();
|
|
146
|
+
props.openObjectBrowser({
|
|
147
|
+
mode: "link",
|
|
148
|
+
overlay: true,
|
|
149
|
+
onSelectItem: (url) => {
|
|
150
|
+
onChangeValue(url);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
},
|
|
154
|
+
children: /* @__PURE__ */ jsx(Icon, { name: navTreeSVG, size: "24px" })
|
|
155
|
+
}
|
|
156
|
+
) })
|
|
157
|
+
] }) });
|
|
158
|
+
};
|
|
159
|
+
InternalUrlWidget.propTypes = {
|
|
160
|
+
id: PropTypes.string.isRequired,
|
|
161
|
+
title: PropTypes.string.isRequired,
|
|
162
|
+
description: PropTypes.string,
|
|
163
|
+
required: PropTypes.bool,
|
|
164
|
+
error: PropTypes.arrayOf(PropTypes.string),
|
|
165
|
+
value: PropTypes.string,
|
|
166
|
+
onChange: PropTypes.func.isRequired,
|
|
167
|
+
onBlur: PropTypes.func,
|
|
168
|
+
onClick: PropTypes.func,
|
|
169
|
+
minLength: PropTypes.number,
|
|
170
|
+
maxLength: PropTypes.number,
|
|
171
|
+
openObjectBrowser: PropTypes.func.isRequired,
|
|
172
|
+
placeholder: PropTypes.string
|
|
173
|
+
};
|
|
174
|
+
InternalUrlWidget.defaultProps = {
|
|
175
|
+
description: null,
|
|
176
|
+
required: false,
|
|
177
|
+
error: [],
|
|
178
|
+
value: null,
|
|
179
|
+
onChange: () => {
|
|
180
|
+
},
|
|
181
|
+
onBlur: () => {
|
|
182
|
+
},
|
|
183
|
+
onClick: () => {
|
|
184
|
+
},
|
|
185
|
+
minLength: null,
|
|
186
|
+
maxLength: null
|
|
187
|
+
};
|
|
188
|
+
const InternalUrlWidget$1 = withObjectBrowser(InternalUrlWidget);
|
|
189
|
+
export {
|
|
190
|
+
InternalUrlWidget,
|
|
191
|
+
InternalUrlWidget$1 as default
|
|
192
|
+
};
|