@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,1338 @@
|
|
|
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 { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
import React__default, { Component } from "react";
|
|
6
|
+
import PropTypes from "prop-types";
|
|
7
|
+
import { connect } from "react-redux";
|
|
8
|
+
import { compose } from "redux";
|
|
9
|
+
import { Link } from "react-router-dom";
|
|
10
|
+
import { be as ModalForm, b as getBaseUrl, T as Toast, bI as getParentUrl, H as HelmetExport, I as Icon, N as UniversalLink, o as backSVG } from "../entry-server.js";
|
|
11
|
+
import { createPortal } from "react-dom";
|
|
12
|
+
import { Modal, Container, Segment, Grid, Card, Button, Dropdown } from "semantic-ui-react";
|
|
13
|
+
import { injectIntl, defineMessages, FormattedMessage } from "react-intl";
|
|
14
|
+
import { T as Toolbar } from "./Toolbar-DVsVq7NQ.js";
|
|
15
|
+
import { k as getControlPanelRule, l as removeCondition, m as addCondition, n as editCondition, o as getCondition, p as getAction, q as removeAction, s as addAction, t as editAction, v as moveRuleCondition, w as moveRuleAction } from "./rules-BR_HXhIG.js";
|
|
16
|
+
import { toast } from "react-toastify";
|
|
17
|
+
import { g as getVocabulary } from "./vocabularies-C3rWoW1K.js";
|
|
18
|
+
import "classnames";
|
|
19
|
+
import "lodash-es";
|
|
20
|
+
import "moment";
|
|
21
|
+
import "react-router";
|
|
22
|
+
import "react-router-hash-link";
|
|
23
|
+
import "tlds";
|
|
24
|
+
import "prepend-http";
|
|
25
|
+
import "lodash-move";
|
|
26
|
+
import "react-dom/server";
|
|
27
|
+
import "react-transition-group";
|
|
28
|
+
import "promise-file-reader";
|
|
29
|
+
import "uuid";
|
|
30
|
+
import "pretty-bytes";
|
|
31
|
+
import "react-side-effect";
|
|
32
|
+
import "github-slugger";
|
|
33
|
+
import "slate";
|
|
34
|
+
import "hoist-non-react-statics";
|
|
35
|
+
import "query-string";
|
|
36
|
+
import "slate-react";
|
|
37
|
+
import "prettier/standalone";
|
|
38
|
+
import "prettier/parser-html";
|
|
39
|
+
import "prismjs/components/prism-core.js";
|
|
40
|
+
import "react-animate-height";
|
|
41
|
+
import "react-popper";
|
|
42
|
+
import "react-sortable-hoc";
|
|
43
|
+
import "react-dates/initialize.js";
|
|
44
|
+
import "react-anchor-link-smooth-scroll";
|
|
45
|
+
import "jwt-decode";
|
|
46
|
+
import "react-router-config";
|
|
47
|
+
import "react-fast-compare";
|
|
48
|
+
import "object-assign";
|
|
49
|
+
import "lodash-es/split.js";
|
|
50
|
+
import "lodash-es/join.js";
|
|
51
|
+
import "lodash-es/trim.js";
|
|
52
|
+
import "react-cookie";
|
|
53
|
+
import "react-intl-redux";
|
|
54
|
+
import "universal-cookie";
|
|
55
|
+
import "slate-hyperscript";
|
|
56
|
+
import "is-hotkey";
|
|
57
|
+
import "react-dropzone";
|
|
58
|
+
import "react-intersection-observer";
|
|
59
|
+
import "is-url";
|
|
60
|
+
import "lodash-es/isUndefined.js";
|
|
61
|
+
import "lodash-es/isString.js";
|
|
62
|
+
import "redux-mock-store";
|
|
63
|
+
import "serialize-javascript";
|
|
64
|
+
import "superagent";
|
|
65
|
+
import "connected-react-router";
|
|
66
|
+
import "react-beautiful-dnd";
|
|
67
|
+
import "detect-browser";
|
|
68
|
+
import "locale";
|
|
69
|
+
import "history";
|
|
70
|
+
import "redux-thunk";
|
|
71
|
+
import "redux-localstorage-simple";
|
|
72
|
+
import "debug";
|
|
73
|
+
import "express";
|
|
74
|
+
import "http-proxy-middleware";
|
|
75
|
+
import "./users-BY0qskQF.js";
|
|
76
|
+
import "./User-CeYa32LY.js";
|
|
77
|
+
import "./PersonalInformation--cOokZv2.js";
|
|
78
|
+
const upSVG = { "attributes": { "xmlns": "http://www.w3.org/2000/svg", "width": "36", "height": "36", "viewBox": "0 0 36 36" }, "content": '<path fill-rule="evenodd" d="M30.707 17.293 18 4.586 5.293 17.293 6.707 18.707 17 8.414 17 31 19 31 19 8.414 29.293 18.707z"/>' };
|
|
79
|
+
const downSVG = { "attributes": { "xmlns": "http://www.w3.org/2000/svg", "width": "36", "height": "36", "viewBox": "0 0 36 36" }, "content": '<path fill-rule="evenodd" d="M29.293 17.293 19 27.586 19 5 17 5 17 27.586 6.707 17.293 5.293 18.707 18 31.414 30.707 18.707z"/>' };
|
|
80
|
+
const setSchema = (name, choices = "") => {
|
|
81
|
+
switch (name) {
|
|
82
|
+
case "Content type":
|
|
83
|
+
return {
|
|
84
|
+
fieldsets: [
|
|
85
|
+
{
|
|
86
|
+
id: "default",
|
|
87
|
+
title: "default",
|
|
88
|
+
fields: ["check_types"]
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
properties: {
|
|
92
|
+
check_types: {
|
|
93
|
+
title: "Content Types",
|
|
94
|
+
isMulti: true,
|
|
95
|
+
default: choices && choices.length > 0 ? choices[0] : "",
|
|
96
|
+
choices
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
required: ["check_types"]
|
|
100
|
+
};
|
|
101
|
+
case "File Extension":
|
|
102
|
+
return {
|
|
103
|
+
fieldsets: [
|
|
104
|
+
{
|
|
105
|
+
id: "default",
|
|
106
|
+
title: "default",
|
|
107
|
+
fields: ["file_extension"]
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
properties: {
|
|
111
|
+
file_extension: {
|
|
112
|
+
title: "File Extension",
|
|
113
|
+
type: "string"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
required: ["file_extension"]
|
|
117
|
+
};
|
|
118
|
+
case "Workflow state":
|
|
119
|
+
return {
|
|
120
|
+
fieldsets: [
|
|
121
|
+
{
|
|
122
|
+
id: "default",
|
|
123
|
+
title: "default",
|
|
124
|
+
fields: ["wf_states"]
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
properties: {
|
|
128
|
+
wf_states: {
|
|
129
|
+
title: "Workflow State",
|
|
130
|
+
isMulti: true,
|
|
131
|
+
default: choices && choices.length > 0 ? choices[0] : "",
|
|
132
|
+
choices
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
required: ["wf_states"]
|
|
136
|
+
};
|
|
137
|
+
case "User's group":
|
|
138
|
+
return {
|
|
139
|
+
fieldsets: [
|
|
140
|
+
{
|
|
141
|
+
id: "default",
|
|
142
|
+
title: "default",
|
|
143
|
+
fields: ["group_names"]
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
properties: {
|
|
147
|
+
group_names: {
|
|
148
|
+
title: "Groups",
|
|
149
|
+
isMulti: true,
|
|
150
|
+
default: choices && choices.length > 0 ? choices[0] : "",
|
|
151
|
+
choices
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
required: ["group_names"]
|
|
155
|
+
};
|
|
156
|
+
case "User's role":
|
|
157
|
+
return {
|
|
158
|
+
fieldsets: [
|
|
159
|
+
{
|
|
160
|
+
id: "default",
|
|
161
|
+
title: "default",
|
|
162
|
+
fields: ["role_names"]
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
properties: {
|
|
166
|
+
role_names: {
|
|
167
|
+
title: "Roles",
|
|
168
|
+
isMulti: true,
|
|
169
|
+
default: choices && choices.length > 0 ? choices[0] : "",
|
|
170
|
+
choices
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
required: ["role_names"]
|
|
174
|
+
};
|
|
175
|
+
case "TALES expression":
|
|
176
|
+
return {
|
|
177
|
+
fieldsets: [
|
|
178
|
+
{
|
|
179
|
+
id: "default",
|
|
180
|
+
title: "default",
|
|
181
|
+
fields: ["tales_expression"]
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
properties: {
|
|
185
|
+
tales_expression: {
|
|
186
|
+
title: "File Extension",
|
|
187
|
+
type: "string"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
required: ["tales_expression"]
|
|
191
|
+
};
|
|
192
|
+
case "Logger":
|
|
193
|
+
return {
|
|
194
|
+
title: "Logger",
|
|
195
|
+
fieldsets: [
|
|
196
|
+
{
|
|
197
|
+
id: "default",
|
|
198
|
+
title: "Logger Action",
|
|
199
|
+
fields: ["targetLogger", "Level", "message"]
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
properties: {
|
|
203
|
+
targetLogger: {
|
|
204
|
+
title: "Logger name",
|
|
205
|
+
type: "string"
|
|
206
|
+
},
|
|
207
|
+
Level: {
|
|
208
|
+
title: "Logging level",
|
|
209
|
+
type: "string"
|
|
210
|
+
},
|
|
211
|
+
message: {
|
|
212
|
+
title: "Message",
|
|
213
|
+
type: "string"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
required: ["targetLogger", "Level", "message"]
|
|
217
|
+
};
|
|
218
|
+
case "Notify user":
|
|
219
|
+
return {
|
|
220
|
+
title: "Notify user",
|
|
221
|
+
fieldsets: [
|
|
222
|
+
{
|
|
223
|
+
id: "default",
|
|
224
|
+
title: "Message",
|
|
225
|
+
fields: ["message", "message_type"]
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
properties: {
|
|
229
|
+
message: {
|
|
230
|
+
title: "Message",
|
|
231
|
+
type: "string"
|
|
232
|
+
},
|
|
233
|
+
message_type: {
|
|
234
|
+
title: "Message Type",
|
|
235
|
+
default: ["info", "info"],
|
|
236
|
+
choices: [
|
|
237
|
+
["info", "info"],
|
|
238
|
+
["warning", "warning"],
|
|
239
|
+
["error", "error"]
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
required: ["message", "message_type"]
|
|
244
|
+
};
|
|
245
|
+
case "Copy to folder":
|
|
246
|
+
return {
|
|
247
|
+
title: "Target folder: ",
|
|
248
|
+
fieldsets: [
|
|
249
|
+
{
|
|
250
|
+
id: "default",
|
|
251
|
+
title: "Target folder: ",
|
|
252
|
+
fields: ["target_folder"]
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
properties: {
|
|
256
|
+
target_folder: {
|
|
257
|
+
title: "Target folder: ",
|
|
258
|
+
widget: "internal_url"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
required: ["target_folder"]
|
|
262
|
+
};
|
|
263
|
+
case "Move to folder":
|
|
264
|
+
return {
|
|
265
|
+
title: "Target folder: ",
|
|
266
|
+
fieldsets: [
|
|
267
|
+
{
|
|
268
|
+
id: "default",
|
|
269
|
+
title: "Target folder: ",
|
|
270
|
+
fields: ["target_folder"]
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
properties: {
|
|
274
|
+
target_folder: {
|
|
275
|
+
title: "Target folder: ",
|
|
276
|
+
widget: "internal_url"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
required: ["target_folder"]
|
|
280
|
+
};
|
|
281
|
+
case "Delete object":
|
|
282
|
+
return {
|
|
283
|
+
title: "Delete",
|
|
284
|
+
fieldsets: [
|
|
285
|
+
{
|
|
286
|
+
id: "default",
|
|
287
|
+
title: "Target folder: ",
|
|
288
|
+
fields: []
|
|
289
|
+
}
|
|
290
|
+
],
|
|
291
|
+
properties: {},
|
|
292
|
+
required: []
|
|
293
|
+
};
|
|
294
|
+
case "Transition workflow state":
|
|
295
|
+
return {
|
|
296
|
+
fieldsets: [
|
|
297
|
+
{
|
|
298
|
+
id: "default",
|
|
299
|
+
title: "Transition workflow state",
|
|
300
|
+
fields: ["transition"]
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
properties: {
|
|
304
|
+
transition: {
|
|
305
|
+
title: "Transition workflow state",
|
|
306
|
+
isMulti: true,
|
|
307
|
+
default: choices && choices.length > 0 ? choices[0] : "",
|
|
308
|
+
choices
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
required: ["transition"]
|
|
312
|
+
};
|
|
313
|
+
case "Send email":
|
|
314
|
+
return {
|
|
315
|
+
title: "Send mail",
|
|
316
|
+
fieldsets: [
|
|
317
|
+
{
|
|
318
|
+
id: "default",
|
|
319
|
+
title: "Send mail",
|
|
320
|
+
fields: [
|
|
321
|
+
"subject",
|
|
322
|
+
"source",
|
|
323
|
+
"recipients",
|
|
324
|
+
"exclude_actor",
|
|
325
|
+
"message"
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
],
|
|
329
|
+
properties: {
|
|
330
|
+
message: {
|
|
331
|
+
title: "Message",
|
|
332
|
+
widget: "textarea"
|
|
333
|
+
},
|
|
334
|
+
subject: {
|
|
335
|
+
title: "Subject",
|
|
336
|
+
type: "string"
|
|
337
|
+
},
|
|
338
|
+
source: {
|
|
339
|
+
title: "Email source",
|
|
340
|
+
type: "string"
|
|
341
|
+
},
|
|
342
|
+
recipients: {
|
|
343
|
+
title: "Email Recipients",
|
|
344
|
+
type: "string"
|
|
345
|
+
},
|
|
346
|
+
exclude_actor: {
|
|
347
|
+
title: "Exclude actor from recipients",
|
|
348
|
+
description: "Do not send the email to the user that did the action.",
|
|
349
|
+
type: "boolean"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
required: ["subject", "recipients", "message"]
|
|
353
|
+
};
|
|
354
|
+
case "Version object":
|
|
355
|
+
return {
|
|
356
|
+
title: "Send mail",
|
|
357
|
+
fieldsets: [
|
|
358
|
+
{
|
|
359
|
+
id: "default",
|
|
360
|
+
title: "Send mail",
|
|
361
|
+
fields: ["comment"]
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
properties: {
|
|
365
|
+
comment: {
|
|
366
|
+
title: "Comment",
|
|
367
|
+
type: "string"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
required: ["comment"]
|
|
371
|
+
};
|
|
372
|
+
case "IMSv4: Retract and rename old Indicator":
|
|
373
|
+
return {
|
|
374
|
+
title: "Delete",
|
|
375
|
+
fieldsets: [
|
|
376
|
+
{
|
|
377
|
+
id: "default",
|
|
378
|
+
title: "Target folder: ",
|
|
379
|
+
fields: []
|
|
380
|
+
}
|
|
381
|
+
],
|
|
382
|
+
properties: {},
|
|
383
|
+
required: []
|
|
384
|
+
};
|
|
385
|
+
default:
|
|
386
|
+
return "";
|
|
387
|
+
}
|
|
388
|
+
};
|
|
389
|
+
const detectVocabulary = (type) => {
|
|
390
|
+
switch (type) {
|
|
391
|
+
case "Content type":
|
|
392
|
+
return "plone.app.vocabularies.ReallyUserFriendlyTypes";
|
|
393
|
+
case "Workflow state":
|
|
394
|
+
return "plone.app.vocabularies.WorkflowStates";
|
|
395
|
+
case "User's group":
|
|
396
|
+
return "plone.app.vocabularies.Groups";
|
|
397
|
+
case "User's role":
|
|
398
|
+
return "plone.app.vocabularies.Roles";
|
|
399
|
+
case "Transition workflow state":
|
|
400
|
+
return "plone.app.vocabularies.WorkflowTransitions";
|
|
401
|
+
default:
|
|
402
|
+
return "";
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
const processSchema = (schema) => {
|
|
406
|
+
const properties = { ...schema.properties };
|
|
407
|
+
Object.keys(properties).forEach((key) => {
|
|
408
|
+
var _a;
|
|
409
|
+
const value = properties[key];
|
|
410
|
+
const vocabId = (_a = value == null ? void 0 : value.vocabulary) == null ? void 0 : _a["@id"];
|
|
411
|
+
if (vocabId == null ? void 0 : vocabId.includes("@sources")) {
|
|
412
|
+
value["widget"] = "internal_url";
|
|
413
|
+
delete value["vocabulary"];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
const newSchema = {
|
|
417
|
+
...schema,
|
|
418
|
+
properties
|
|
419
|
+
};
|
|
420
|
+
return newSchema;
|
|
421
|
+
};
|
|
422
|
+
const VariableModal = ({
|
|
423
|
+
open,
|
|
424
|
+
type,
|
|
425
|
+
onClose,
|
|
426
|
+
onOpen,
|
|
427
|
+
onSave,
|
|
428
|
+
value,
|
|
429
|
+
vocabularies,
|
|
430
|
+
getVocabulary: getVocabulary2,
|
|
431
|
+
action,
|
|
432
|
+
formData
|
|
433
|
+
}) => {
|
|
434
|
+
const [vocabularyName, setVocabularyName] = React__default.useState("");
|
|
435
|
+
const [inputSchema, setInputSchema] = React__default.useState("");
|
|
436
|
+
const { addview = "" } = value || {};
|
|
437
|
+
React__default.useEffect(() => {
|
|
438
|
+
if (value == null ? void 0 : value.title) {
|
|
439
|
+
const detectedVocab = detectVocabulary(value.title);
|
|
440
|
+
if (detectedVocab) {
|
|
441
|
+
setVocabularyName(detectedVocab);
|
|
442
|
+
getVocabulary2({ vocabNameOrURL: detectedVocab });
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}, [value, open, formData]);
|
|
446
|
+
React__default.useEffect(() => {
|
|
447
|
+
setInputSchema("");
|
|
448
|
+
const rawSchema = value["@schema"] || formData["@schema"];
|
|
449
|
+
let schema;
|
|
450
|
+
if (rawSchema) {
|
|
451
|
+
schema = processSchema(rawSchema);
|
|
452
|
+
} else {
|
|
453
|
+
const vocabularyOptions = vocabularyName && vocabularies && vocabularies[vocabularyName] && vocabularies[vocabularyName].items ? vocabularies[vocabularyName].items.map((item, i) => {
|
|
454
|
+
return [item.value, item.label];
|
|
455
|
+
}) : [];
|
|
456
|
+
schema = setSchema(value.title, vocabularyOptions);
|
|
457
|
+
}
|
|
458
|
+
setInputSchema(schema);
|
|
459
|
+
}, [vocabularies, open, formData, value]);
|
|
460
|
+
const handleSave = (v) => {
|
|
461
|
+
if (action === "add") {
|
|
462
|
+
onSave({ ...v, type: addview });
|
|
463
|
+
}
|
|
464
|
+
if (action === "edit") {
|
|
465
|
+
onSave(v);
|
|
466
|
+
}
|
|
467
|
+
setInputSchema("");
|
|
468
|
+
onClose();
|
|
469
|
+
};
|
|
470
|
+
const handleClose = () => {
|
|
471
|
+
setInputSchema("");
|
|
472
|
+
setVocabularyName("");
|
|
473
|
+
onClose();
|
|
474
|
+
};
|
|
475
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
476
|
+
inputSchema && action === "add" && /* @__PURE__ */ jsx(
|
|
477
|
+
ModalForm,
|
|
478
|
+
{
|
|
479
|
+
dimmer: /* @__PURE__ */ jsx(Modal.Dimmer, { style: { zIndex: 99 } }),
|
|
480
|
+
open,
|
|
481
|
+
onSubmit: (data) => handleSave(data),
|
|
482
|
+
onCancel: handleClose,
|
|
483
|
+
title: `Add ${value.title} ${type}`,
|
|
484
|
+
schema: inputSchema
|
|
485
|
+
}
|
|
486
|
+
),
|
|
487
|
+
inputSchema && action === "edit" && formData && /* @__PURE__ */ jsx(
|
|
488
|
+
ModalForm,
|
|
489
|
+
{
|
|
490
|
+
dimmer: /* @__PURE__ */ jsx(Modal.Dimmer, { style: { zIndex: 99 } }),
|
|
491
|
+
open,
|
|
492
|
+
onSubmit: (data) => handleSave(data),
|
|
493
|
+
onCancel: handleClose,
|
|
494
|
+
formData: formData ? formData : "",
|
|
495
|
+
title: `Add ${value.title} ${type}`,
|
|
496
|
+
schema: inputSchema
|
|
497
|
+
}
|
|
498
|
+
)
|
|
499
|
+
] });
|
|
500
|
+
};
|
|
501
|
+
const VariableModal$1 = compose(
|
|
502
|
+
injectIntl,
|
|
503
|
+
connect(
|
|
504
|
+
(state, props) => ({
|
|
505
|
+
vocabularies: state.vocabularies
|
|
506
|
+
}),
|
|
507
|
+
{ getVocabulary }
|
|
508
|
+
)
|
|
509
|
+
)(VariableModal);
|
|
510
|
+
const messages = defineMessages({
|
|
511
|
+
back: {
|
|
512
|
+
id: "Back",
|
|
513
|
+
defaultMessage: "Back"
|
|
514
|
+
},
|
|
515
|
+
configRule: {
|
|
516
|
+
id: "Configure content rule",
|
|
517
|
+
defaultMessage: "Configure content rule"
|
|
518
|
+
},
|
|
519
|
+
success: {
|
|
520
|
+
id: "Success",
|
|
521
|
+
defaultMessage: "Success"
|
|
522
|
+
},
|
|
523
|
+
deleteCondition: {
|
|
524
|
+
id: "Delete condition",
|
|
525
|
+
defaultMessage: "Condition deleted"
|
|
526
|
+
},
|
|
527
|
+
addCondition: {
|
|
528
|
+
id: "Add condition",
|
|
529
|
+
defaultMessage: "Condition added"
|
|
530
|
+
},
|
|
531
|
+
deleteAction: {
|
|
532
|
+
id: "Delete action",
|
|
533
|
+
defaultMessage: "Action deleted"
|
|
534
|
+
},
|
|
535
|
+
addAction: {
|
|
536
|
+
id: "Add action",
|
|
537
|
+
defaultMessage: "Action added"
|
|
538
|
+
},
|
|
539
|
+
editAction: {
|
|
540
|
+
id: "Action changed",
|
|
541
|
+
defaultMessage: "Action changed"
|
|
542
|
+
},
|
|
543
|
+
editCondition: {
|
|
544
|
+
id: "Condition changed",
|
|
545
|
+
defaultMessage: "Condition changed"
|
|
546
|
+
},
|
|
547
|
+
move: {
|
|
548
|
+
id: "Position changed",
|
|
549
|
+
defaultMessage: "Position changed"
|
|
550
|
+
},
|
|
551
|
+
moveUp: {
|
|
552
|
+
id: "Move up",
|
|
553
|
+
defaultMessage: "Move up"
|
|
554
|
+
},
|
|
555
|
+
moveDown: {
|
|
556
|
+
id: "Move down",
|
|
557
|
+
defaultMessage: "Move down"
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
class ConfigureRule extends Component {
|
|
561
|
+
/**
|
|
562
|
+
* Constructor
|
|
563
|
+
* @method constructor
|
|
564
|
+
* @param {Object} props Component properties
|
|
565
|
+
* @constructs Rules
|
|
566
|
+
*/
|
|
567
|
+
constructor(props) {
|
|
568
|
+
super(props);
|
|
569
|
+
this.openConditionModal = this.openConditionModal.bind(this);
|
|
570
|
+
this.openActionModal = this.openActionModal.bind(this);
|
|
571
|
+
this.handleConditionAdd = this.handleConditionAdd.bind(this);
|
|
572
|
+
this.handleActionAdd = this.handleActionAdd.bind(this);
|
|
573
|
+
this.openEditCondition = this.openEditCondition.bind(this);
|
|
574
|
+
this.openEditAction = this.openEditAction.bind(this);
|
|
575
|
+
this.handleEditCondition = this.handleEditCondition.bind(this);
|
|
576
|
+
this.handleEditAction = this.handleEditAction.bind(this);
|
|
577
|
+
this.state = {
|
|
578
|
+
isClient: false,
|
|
579
|
+
openModal: false,
|
|
580
|
+
selConditionToAdd: "",
|
|
581
|
+
selActionToAdd: "",
|
|
582
|
+
selConditionToEdit: "",
|
|
583
|
+
selActionToEdit: "",
|
|
584
|
+
conditionFormData: "",
|
|
585
|
+
actionFormData: ""
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
* Component did mount
|
|
590
|
+
* @method componentDidMount
|
|
591
|
+
* @returns {undefined}
|
|
592
|
+
*/
|
|
593
|
+
componentDidMount() {
|
|
594
|
+
var _a, _b, _c;
|
|
595
|
+
this.setState({ isClient: true });
|
|
596
|
+
this.props.getControlPanelRule(
|
|
597
|
+
getBaseUrl(this.props.pathname),
|
|
598
|
+
(_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id
|
|
599
|
+
);
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Component did mount
|
|
603
|
+
* @method componentDidUpdate
|
|
604
|
+
* @returns {undefined}
|
|
605
|
+
*/
|
|
606
|
+
componentDidUpdate(prevProps, prevState) {
|
|
607
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
608
|
+
if (this.state.selConditionToEdit && prevState.selConditionToEdit !== this.state.selConditionToEdit) {
|
|
609
|
+
this.props.getCondition(
|
|
610
|
+
getBaseUrl(this.props.pathname),
|
|
611
|
+
(_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id,
|
|
612
|
+
this.state.selConditionToEdit.idx
|
|
613
|
+
);
|
|
614
|
+
}
|
|
615
|
+
if (((_e = (_d = this.props) == null ? void 0 : _d.rule) == null ? void 0 : _e.condition) && ((_g = (_f = this.props) == null ? void 0 : _f.rule) == null ? void 0 : _g.condition) !== (prevProps == null ? void 0 : prevProps.rule.condition)) {
|
|
616
|
+
const conditionFormData = (_i = (_h = this.props) == null ? void 0 : _h.rule) == null ? void 0 : _i.condition;
|
|
617
|
+
this.setState({ conditionFormData });
|
|
618
|
+
}
|
|
619
|
+
if (this.state.selActionToEdit && prevState.selActionToEdit !== this.state.selActionToEdit) {
|
|
620
|
+
this.props.getAction(
|
|
621
|
+
getBaseUrl(this.props.pathname),
|
|
622
|
+
(_l = (_k = (_j = this.props) == null ? void 0 : _j.match) == null ? void 0 : _k.params) == null ? void 0 : _l.id,
|
|
623
|
+
this.state.selActionToEdit.idx
|
|
624
|
+
);
|
|
625
|
+
}
|
|
626
|
+
if (((_n = (_m = this.props) == null ? void 0 : _m.rule) == null ? void 0 : _n.action) && ((_p = (_o = this.props) == null ? void 0 : _o.rule) == null ? void 0 : _p.action) !== (prevProps == null ? void 0 : prevProps.rule.action)) {
|
|
627
|
+
const actionFormData = (_r = (_q = this.props) == null ? void 0 : _q.rule) == null ? void 0 : _r.action;
|
|
628
|
+
this.setState({ actionFormData });
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
/**
|
|
632
|
+
* Component will receive props
|
|
633
|
+
* @method componentWillReceiveProps
|
|
634
|
+
* @param {Object} nextProps Next properties
|
|
635
|
+
* @returns {undefined}
|
|
636
|
+
*/
|
|
637
|
+
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
638
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
639
|
+
if (this.props.rule.move.loading && nextProps.rule.move.loaded) {
|
|
640
|
+
toast.success(
|
|
641
|
+
/* @__PURE__ */ jsx(
|
|
642
|
+
Toast,
|
|
643
|
+
{
|
|
644
|
+
success: true,
|
|
645
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
646
|
+
content: this.props.intl.formatMessage(messages.move)
|
|
647
|
+
}
|
|
648
|
+
)
|
|
649
|
+
);
|
|
650
|
+
this.props.getControlPanelRule(
|
|
651
|
+
getBaseUrl(this.props.pathname),
|
|
652
|
+
(_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id
|
|
653
|
+
);
|
|
654
|
+
}
|
|
655
|
+
if (this.props.rule.deletecondition.loading && nextProps.rule.deletecondition.loaded) {
|
|
656
|
+
toast.success(
|
|
657
|
+
/* @__PURE__ */ jsx(
|
|
658
|
+
Toast,
|
|
659
|
+
{
|
|
660
|
+
success: true,
|
|
661
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
662
|
+
content: this.props.intl.formatMessage(messages.deleteCondition)
|
|
663
|
+
}
|
|
664
|
+
)
|
|
665
|
+
);
|
|
666
|
+
this.props.getControlPanelRule(
|
|
667
|
+
getBaseUrl(this.props.pathname),
|
|
668
|
+
(_f = (_e = (_d = this.props) == null ? void 0 : _d.match) == null ? void 0 : _e.params) == null ? void 0 : _f.id
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
if (this.props.rule.editcondition.loading && nextProps.rule.editcondition.loaded) {
|
|
672
|
+
toast.success(
|
|
673
|
+
/* @__PURE__ */ jsx(
|
|
674
|
+
Toast,
|
|
675
|
+
{
|
|
676
|
+
success: true,
|
|
677
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
678
|
+
content: this.props.intl.formatMessage(messages.editCondition)
|
|
679
|
+
}
|
|
680
|
+
)
|
|
681
|
+
);
|
|
682
|
+
this.props.getControlPanelRule(
|
|
683
|
+
getBaseUrl(this.props.pathname),
|
|
684
|
+
(_i = (_h = (_g = this.props) == null ? void 0 : _g.match) == null ? void 0 : _h.params) == null ? void 0 : _i.id
|
|
685
|
+
);
|
|
686
|
+
}
|
|
687
|
+
if (this.props.rule.editaction.loading && nextProps.rule.editaction.loaded) {
|
|
688
|
+
toast.success(
|
|
689
|
+
/* @__PURE__ */ jsx(
|
|
690
|
+
Toast,
|
|
691
|
+
{
|
|
692
|
+
success: true,
|
|
693
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
694
|
+
content: this.props.intl.formatMessage(messages.editAction)
|
|
695
|
+
}
|
|
696
|
+
)
|
|
697
|
+
);
|
|
698
|
+
this.props.getControlPanelRule(
|
|
699
|
+
getBaseUrl(this.props.pathname),
|
|
700
|
+
(_l = (_k = (_j = this.props) == null ? void 0 : _j.match) == null ? void 0 : _k.params) == null ? void 0 : _l.id
|
|
701
|
+
);
|
|
702
|
+
}
|
|
703
|
+
if (this.props.rule.addcondition.loading && nextProps.rule.addcondition.loaded) {
|
|
704
|
+
toast.success(
|
|
705
|
+
/* @__PURE__ */ jsx(
|
|
706
|
+
Toast,
|
|
707
|
+
{
|
|
708
|
+
success: true,
|
|
709
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
710
|
+
content: this.props.intl.formatMessage(messages.addCondition)
|
|
711
|
+
}
|
|
712
|
+
)
|
|
713
|
+
);
|
|
714
|
+
this.props.getControlPanelRule(
|
|
715
|
+
getBaseUrl(this.props.pathname),
|
|
716
|
+
(_o = (_n = (_m = this.props) == null ? void 0 : _m.match) == null ? void 0 : _n.params) == null ? void 0 : _o.id
|
|
717
|
+
);
|
|
718
|
+
}
|
|
719
|
+
if (this.props.rule.deleteaction.loading && nextProps.rule.deleteaction.loaded) {
|
|
720
|
+
toast.success(
|
|
721
|
+
/* @__PURE__ */ jsx(
|
|
722
|
+
Toast,
|
|
723
|
+
{
|
|
724
|
+
success: true,
|
|
725
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
726
|
+
content: this.props.intl.formatMessage(messages.deleteAction)
|
|
727
|
+
}
|
|
728
|
+
)
|
|
729
|
+
);
|
|
730
|
+
this.props.getControlPanelRule(
|
|
731
|
+
getBaseUrl(this.props.pathname),
|
|
732
|
+
(_r = (_q = (_p = this.props) == null ? void 0 : _p.match) == null ? void 0 : _q.params) == null ? void 0 : _r.id
|
|
733
|
+
);
|
|
734
|
+
}
|
|
735
|
+
if (this.props.rule.addaction.loading && nextProps.rule.addaction.loaded) {
|
|
736
|
+
toast.success(
|
|
737
|
+
/* @__PURE__ */ jsx(
|
|
738
|
+
Toast,
|
|
739
|
+
{
|
|
740
|
+
success: true,
|
|
741
|
+
title: this.props.intl.formatMessage(messages.success),
|
|
742
|
+
content: this.props.intl.formatMessage(messages.addAction)
|
|
743
|
+
}
|
|
744
|
+
)
|
|
745
|
+
);
|
|
746
|
+
this.props.getControlPanelRule(
|
|
747
|
+
getBaseUrl(this.props.pathname),
|
|
748
|
+
(_u = (_t = (_s = this.props) == null ? void 0 : _s.match) == null ? void 0 : _t.params) == null ? void 0 : _u.id
|
|
749
|
+
);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Back/Cancel handler
|
|
754
|
+
* @method onCancel
|
|
755
|
+
* @returns {undefined}
|
|
756
|
+
*/
|
|
757
|
+
onCancel() {
|
|
758
|
+
this.props.history.push(getParentUrl(getParentUrl(this.props.pathname)));
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* Remove condition handler
|
|
762
|
+
* @method handleRemoveCondition
|
|
763
|
+
* @returns {undefined}
|
|
764
|
+
*/
|
|
765
|
+
handleRemoveCondition(conditionId) {
|
|
766
|
+
var _a, _b, _c;
|
|
767
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
768
|
+
this.props.removeCondition(
|
|
769
|
+
getBaseUrl(this.props.pathname),
|
|
770
|
+
ruleId,
|
|
771
|
+
conditionId
|
|
772
|
+
);
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Edit condition handler
|
|
776
|
+
* @method handleEditCondition
|
|
777
|
+
* @returns {undefined}
|
|
778
|
+
*/
|
|
779
|
+
handleEditCondition(val) {
|
|
780
|
+
var _a, _b, _c;
|
|
781
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
782
|
+
if (this.state.selConditionToEdit) {
|
|
783
|
+
this.props.editCondition(
|
|
784
|
+
getBaseUrl(this.props.pathname),
|
|
785
|
+
ruleId,
|
|
786
|
+
val,
|
|
787
|
+
this.state.selConditionToEdit.idx
|
|
788
|
+
);
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
/**
|
|
792
|
+
* Edit action handler
|
|
793
|
+
* @method handleEditAction
|
|
794
|
+
* @returns {undefined}
|
|
795
|
+
*/
|
|
796
|
+
handleEditAction(val) {
|
|
797
|
+
var _a, _b, _c;
|
|
798
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
799
|
+
if (this.state.selActionToEdit) {
|
|
800
|
+
this.props.editAction(
|
|
801
|
+
getBaseUrl(this.props.pathname),
|
|
802
|
+
ruleId,
|
|
803
|
+
val,
|
|
804
|
+
this.state.selActionToEdit.idx
|
|
805
|
+
);
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* open modal edit condition handler
|
|
810
|
+
* @method openEditCondition
|
|
811
|
+
* @returns {undefined}
|
|
812
|
+
*/
|
|
813
|
+
openEditCondition(cond_id) {
|
|
814
|
+
this.setState({
|
|
815
|
+
selConditionToEdit: cond_id,
|
|
816
|
+
openModal: true,
|
|
817
|
+
selActionToEdit: ""
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* open modal edit action handler
|
|
822
|
+
* @method openEditAction
|
|
823
|
+
* @returns {undefined}
|
|
824
|
+
*/
|
|
825
|
+
openEditAction(action_id) {
|
|
826
|
+
this.setState({
|
|
827
|
+
selActionToEdit: action_id,
|
|
828
|
+
openModal: true,
|
|
829
|
+
selConditionToEdit: ""
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Add condition handler
|
|
834
|
+
* @method openConditionModal
|
|
835
|
+
* @returns {undefined}
|
|
836
|
+
*/
|
|
837
|
+
openConditionModal() {
|
|
838
|
+
if (this.state.selConditionToAdd) {
|
|
839
|
+
this.setState({ openModal: true });
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Condition save handler
|
|
844
|
+
* @method handleConditionAdd
|
|
845
|
+
* @returns {undefined}
|
|
846
|
+
*/
|
|
847
|
+
handleConditionAdd(val) {
|
|
848
|
+
var _a, _b, _c;
|
|
849
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
850
|
+
this.props.addCondition(getBaseUrl(this.props.pathname), ruleId, val);
|
|
851
|
+
this.setState({ selConditionToAdd: "" });
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* Add action handler
|
|
855
|
+
* @method openActionModal
|
|
856
|
+
* @returns {undefined}
|
|
857
|
+
*/
|
|
858
|
+
openActionModal() {
|
|
859
|
+
this.setState({ openModal: true });
|
|
860
|
+
}
|
|
861
|
+
/**
|
|
862
|
+
* Action save handler
|
|
863
|
+
* @method handleActionAdd
|
|
864
|
+
* @returns {undefined}
|
|
865
|
+
*/
|
|
866
|
+
handleActionAdd(val) {
|
|
867
|
+
var _a, _b, _c;
|
|
868
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
869
|
+
this.props.addAction(getBaseUrl(this.props.pathname), ruleId, val);
|
|
870
|
+
this.setState({ selConditionToAdd: "" });
|
|
871
|
+
}
|
|
872
|
+
/**
|
|
873
|
+
* Remove action handler
|
|
874
|
+
* @method handleRemoveAction
|
|
875
|
+
* @returns {undefined}
|
|
876
|
+
*/
|
|
877
|
+
handleRemoveAction(actionId) {
|
|
878
|
+
var _a, _b, _c;
|
|
879
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
880
|
+
this.props.removeAction(getBaseUrl(this.props.pathname), ruleId, actionId);
|
|
881
|
+
}
|
|
882
|
+
/**
|
|
883
|
+
* Move action handler
|
|
884
|
+
* @method handleMoveAction
|
|
885
|
+
* @returns {undefined}
|
|
886
|
+
*/
|
|
887
|
+
handleMoveAction(action, direction) {
|
|
888
|
+
var _a, _b, _c;
|
|
889
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
890
|
+
this.props.moveRuleAction(
|
|
891
|
+
getBaseUrl(this.props.pathname),
|
|
892
|
+
{
|
|
893
|
+
"form.button.Move": direction === "up" ? "_move_up" : "_move_down"
|
|
894
|
+
},
|
|
895
|
+
ruleId,
|
|
896
|
+
action
|
|
897
|
+
);
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Move action handler
|
|
901
|
+
* @method handleMoveCondition
|
|
902
|
+
* @returns {undefined}
|
|
903
|
+
*/
|
|
904
|
+
handleMoveCondition(condition, direction) {
|
|
905
|
+
var _a, _b, _c;
|
|
906
|
+
const ruleId = (_c = (_b = (_a = this.props) == null ? void 0 : _a.match) == null ? void 0 : _b.params) == null ? void 0 : _c.id;
|
|
907
|
+
this.props.moveRuleCondition(
|
|
908
|
+
getBaseUrl(this.props.pathname),
|
|
909
|
+
{
|
|
910
|
+
"form.button.Move": direction === "up" ? "_move_up" : "_move_down"
|
|
911
|
+
},
|
|
912
|
+
ruleId,
|
|
913
|
+
condition
|
|
914
|
+
);
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* Render method.
|
|
918
|
+
* @method render
|
|
919
|
+
* @returns {string} Markup for the component.
|
|
920
|
+
*/
|
|
921
|
+
render() {
|
|
922
|
+
const { item = {} } = this.props.rule || {};
|
|
923
|
+
const {
|
|
924
|
+
actions = [],
|
|
925
|
+
addable_actions = [],
|
|
926
|
+
addable_conditions = [],
|
|
927
|
+
assignments = [],
|
|
928
|
+
conditions = [],
|
|
929
|
+
title = ""
|
|
930
|
+
} = item;
|
|
931
|
+
const conditions_options = addable_conditions.map((cond) => {
|
|
932
|
+
return { key: cond.title, text: cond.title, value: cond };
|
|
933
|
+
});
|
|
934
|
+
const actions_options = addable_actions.map((act) => {
|
|
935
|
+
return { key: act.title, text: act.title, value: act };
|
|
936
|
+
});
|
|
937
|
+
return /* @__PURE__ */ jsxs("div", { id: "page-rule-configure", children: [
|
|
938
|
+
/* @__PURE__ */ jsx(HelmetExport, { title: this.props.intl.formatMessage(messages.configRule) }),
|
|
939
|
+
/* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx("article", { id: "content", children: /* @__PURE__ */ jsxs(Segment.Group, { raised: true, children: [
|
|
940
|
+
/* @__PURE__ */ jsx(Segment, { className: "primary", children: /* @__PURE__ */ jsx(
|
|
941
|
+
FormattedMessage,
|
|
942
|
+
{
|
|
943
|
+
id: "Configure Content Rule: {title}",
|
|
944
|
+
defaultMessage: "Configure Content Rule: {title}",
|
|
945
|
+
values: { title: /* @__PURE__ */ jsx("q", { children: title }) }
|
|
946
|
+
}
|
|
947
|
+
) }),
|
|
948
|
+
/* @__PURE__ */ jsx(Segment, { className: "secondary", children: /* @__PURE__ */ jsx(
|
|
949
|
+
FormattedMessage,
|
|
950
|
+
{
|
|
951
|
+
id: "Rules execute when a triggering event occurs. Rule actions will only be invoked if all the rule's conditions are met. You can add new actions and conditions using the buttons below.",
|
|
952
|
+
defaultMessage: "Rules execute when a triggering event occurs. Rule actions will only be invoked if all the rule's conditions are met. You can add new actions and conditions using the buttons below."
|
|
953
|
+
}
|
|
954
|
+
) }),
|
|
955
|
+
/* @__PURE__ */ jsx(Segment, { children: /* @__PURE__ */ jsxs(Grid, { children: [
|
|
956
|
+
/* @__PURE__ */ jsxs(Grid.Row, { children: [
|
|
957
|
+
/* @__PURE__ */ jsxs(
|
|
958
|
+
Grid.Column,
|
|
959
|
+
{
|
|
960
|
+
mobile: 16,
|
|
961
|
+
tablet: 16,
|
|
962
|
+
computer: 6,
|
|
963
|
+
largeScreen: 6,
|
|
964
|
+
children: [
|
|
965
|
+
/* @__PURE__ */ jsx("h4", { children: /* @__PURE__ */ jsx(
|
|
966
|
+
FormattedMessage,
|
|
967
|
+
{
|
|
968
|
+
id: "If all of the following conditions are met:",
|
|
969
|
+
defaultMessage: "If all of the following conditions are met:"
|
|
970
|
+
}
|
|
971
|
+
) }),
|
|
972
|
+
conditions && conditions.length > 0 && /* @__PURE__ */ jsx(Card.Group, { children: conditions.map((cond, i) => {
|
|
973
|
+
return /* @__PURE__ */ jsxs(Card, { fluid: true, children: [
|
|
974
|
+
/* @__PURE__ */ jsxs(Card.Content, { children: [
|
|
975
|
+
/* @__PURE__ */ jsx(Card.Header, { children: /* @__PURE__ */ jsx("h4", { children: cond.title }) }),
|
|
976
|
+
/* @__PURE__ */ jsx(Card.Description, { children: cond.summary })
|
|
977
|
+
] }),
|
|
978
|
+
/* @__PURE__ */ jsxs(Card.Content, { extra: true, children: [
|
|
979
|
+
/* @__PURE__ */ jsx(
|
|
980
|
+
Button,
|
|
981
|
+
{
|
|
982
|
+
onClick: () => this.openEditCondition(cond),
|
|
983
|
+
compact: true,
|
|
984
|
+
size: "tiny",
|
|
985
|
+
primary: true,
|
|
986
|
+
children: "Edit"
|
|
987
|
+
}
|
|
988
|
+
),
|
|
989
|
+
/* @__PURE__ */ jsx(
|
|
990
|
+
Button,
|
|
991
|
+
{
|
|
992
|
+
onClick: () => this.handleRemoveCondition(cond.idx),
|
|
993
|
+
compact: true,
|
|
994
|
+
size: "tiny",
|
|
995
|
+
color: "youtube",
|
|
996
|
+
children: "Remove"
|
|
997
|
+
}
|
|
998
|
+
),
|
|
999
|
+
/* @__PURE__ */ jsx(
|
|
1000
|
+
Button,
|
|
1001
|
+
{
|
|
1002
|
+
compact: true,
|
|
1003
|
+
size: "tiny",
|
|
1004
|
+
primary: true,
|
|
1005
|
+
disabled: cond == null ? void 0 : cond.first,
|
|
1006
|
+
onClick: () => this.handleMoveCondition(cond.idx, "up"),
|
|
1007
|
+
children: /* @__PURE__ */ jsx(Button.Content, { children: /* @__PURE__ */ jsx(
|
|
1008
|
+
Icon,
|
|
1009
|
+
{
|
|
1010
|
+
name: upSVG,
|
|
1011
|
+
size: "10px",
|
|
1012
|
+
title: this.props.intl.formatMessage(
|
|
1013
|
+
messages.moveUp
|
|
1014
|
+
)
|
|
1015
|
+
}
|
|
1016
|
+
) })
|
|
1017
|
+
}
|
|
1018
|
+
),
|
|
1019
|
+
/* @__PURE__ */ jsx(
|
|
1020
|
+
Button,
|
|
1021
|
+
{
|
|
1022
|
+
compact: true,
|
|
1023
|
+
size: "tiny",
|
|
1024
|
+
primary: true,
|
|
1025
|
+
disabled: cond == null ? void 0 : cond.last,
|
|
1026
|
+
onClick: () => this.handleMoveCondition(cond.idx, "down"),
|
|
1027
|
+
children: /* @__PURE__ */ jsx(Button.Content, { children: /* @__PURE__ */ jsx(
|
|
1028
|
+
Icon,
|
|
1029
|
+
{
|
|
1030
|
+
name: downSVG,
|
|
1031
|
+
size: "10px",
|
|
1032
|
+
title: this.props.intl.formatMessage(
|
|
1033
|
+
messages.moveDown
|
|
1034
|
+
)
|
|
1035
|
+
}
|
|
1036
|
+
) })
|
|
1037
|
+
}
|
|
1038
|
+
)
|
|
1039
|
+
] })
|
|
1040
|
+
] }, i);
|
|
1041
|
+
}) }),
|
|
1042
|
+
/* @__PURE__ */ jsxs(Grid.Row, { children: [
|
|
1043
|
+
/* @__PURE__ */ jsx("h4", { style: { marginTop: "15px" }, children: /* @__PURE__ */ jsx(
|
|
1044
|
+
FormattedMessage,
|
|
1045
|
+
{
|
|
1046
|
+
id: "Condition: ",
|
|
1047
|
+
defaultMessage: "Condition: "
|
|
1048
|
+
}
|
|
1049
|
+
) }),
|
|
1050
|
+
/* @__PURE__ */ jsx(
|
|
1051
|
+
Dropdown,
|
|
1052
|
+
{
|
|
1053
|
+
style: { margin: "5px 0" },
|
|
1054
|
+
placeholder: "Select condition",
|
|
1055
|
+
fluid: true,
|
|
1056
|
+
selection: true,
|
|
1057
|
+
options: conditions_options,
|
|
1058
|
+
value: this.state.selConditionToAdd,
|
|
1059
|
+
onChange: (e, { value }) => this.setState({ selConditionToAdd: value })
|
|
1060
|
+
}
|
|
1061
|
+
),
|
|
1062
|
+
/* @__PURE__ */ jsx(
|
|
1063
|
+
Button,
|
|
1064
|
+
{
|
|
1065
|
+
compact: true,
|
|
1066
|
+
onClick: this.openConditionModal,
|
|
1067
|
+
primary: true,
|
|
1068
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "Add", defaultMessage: "Add" })
|
|
1069
|
+
}
|
|
1070
|
+
)
|
|
1071
|
+
] })
|
|
1072
|
+
]
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
/* @__PURE__ */ jsxs(
|
|
1076
|
+
Grid.Column,
|
|
1077
|
+
{
|
|
1078
|
+
mobile: 16,
|
|
1079
|
+
tablet: 16,
|
|
1080
|
+
computer: 6,
|
|
1081
|
+
largeScreen: 6,
|
|
1082
|
+
children: [
|
|
1083
|
+
/* @__PURE__ */ jsx("h4", { children: /* @__PURE__ */ jsx(
|
|
1084
|
+
FormattedMessage,
|
|
1085
|
+
{
|
|
1086
|
+
id: "Perform the following actions:",
|
|
1087
|
+
defaultMessage: "Perform the following actions:"
|
|
1088
|
+
}
|
|
1089
|
+
) }),
|
|
1090
|
+
actions && actions.length > 0 && /* @__PURE__ */ jsx(Card.Group, { children: actions.map((action, i) => {
|
|
1091
|
+
return /* @__PURE__ */ jsxs(Card, { fluid: true, children: [
|
|
1092
|
+
/* @__PURE__ */ jsxs(Card.Content, { children: [
|
|
1093
|
+
/* @__PURE__ */ jsx(Card.Header, { children: /* @__PURE__ */ jsx("h4", { children: action.title }) }),
|
|
1094
|
+
/* @__PURE__ */ jsx(Card.Description, { children: action.summary })
|
|
1095
|
+
] }),
|
|
1096
|
+
/* @__PURE__ */ jsxs(Card.Content, { extra: true, children: [
|
|
1097
|
+
/* @__PURE__ */ jsx(
|
|
1098
|
+
Button,
|
|
1099
|
+
{
|
|
1100
|
+
onClick: () => this.openEditAction(action),
|
|
1101
|
+
compact: true,
|
|
1102
|
+
size: "tiny",
|
|
1103
|
+
primary: true,
|
|
1104
|
+
children: "Edit"
|
|
1105
|
+
}
|
|
1106
|
+
),
|
|
1107
|
+
/* @__PURE__ */ jsx(
|
|
1108
|
+
Button,
|
|
1109
|
+
{
|
|
1110
|
+
onClick: () => this.handleRemoveAction(action.idx),
|
|
1111
|
+
compact: true,
|
|
1112
|
+
size: "tiny",
|
|
1113
|
+
color: "youtube",
|
|
1114
|
+
children: "Remove"
|
|
1115
|
+
}
|
|
1116
|
+
),
|
|
1117
|
+
/* @__PURE__ */ jsx(
|
|
1118
|
+
Button,
|
|
1119
|
+
{
|
|
1120
|
+
compact: true,
|
|
1121
|
+
size: "tiny",
|
|
1122
|
+
primary: true,
|
|
1123
|
+
disabled: action == null ? void 0 : action.first,
|
|
1124
|
+
onClick: () => this.handleMoveAction(action.idx, "up"),
|
|
1125
|
+
children: /* @__PURE__ */ jsx(Button.Content, { children: /* @__PURE__ */ jsx(
|
|
1126
|
+
Icon,
|
|
1127
|
+
{
|
|
1128
|
+
name: upSVG,
|
|
1129
|
+
size: "10px",
|
|
1130
|
+
title: this.props.intl.formatMessage(
|
|
1131
|
+
messages.moveUp
|
|
1132
|
+
)
|
|
1133
|
+
}
|
|
1134
|
+
) })
|
|
1135
|
+
}
|
|
1136
|
+
),
|
|
1137
|
+
/* @__PURE__ */ jsx(
|
|
1138
|
+
Button,
|
|
1139
|
+
{
|
|
1140
|
+
compact: true,
|
|
1141
|
+
size: "tiny",
|
|
1142
|
+
primary: true,
|
|
1143
|
+
disabled: action == null ? void 0 : action.last,
|
|
1144
|
+
onClick: () => this.handleMoveAction(action.idx, "down"),
|
|
1145
|
+
children: /* @__PURE__ */ jsx(Button.Content, { children: /* @__PURE__ */ jsx(
|
|
1146
|
+
Icon,
|
|
1147
|
+
{
|
|
1148
|
+
name: downSVG,
|
|
1149
|
+
size: "10px",
|
|
1150
|
+
title: this.props.intl.formatMessage(
|
|
1151
|
+
messages.moveDown
|
|
1152
|
+
)
|
|
1153
|
+
}
|
|
1154
|
+
) })
|
|
1155
|
+
}
|
|
1156
|
+
)
|
|
1157
|
+
] })
|
|
1158
|
+
] }, i);
|
|
1159
|
+
}) }),
|
|
1160
|
+
/* @__PURE__ */ jsxs(Grid.Row, { children: [
|
|
1161
|
+
/* @__PURE__ */ jsx("h4", { style: { marginTop: "15px" }, children: /* @__PURE__ */ jsx(
|
|
1162
|
+
FormattedMessage,
|
|
1163
|
+
{
|
|
1164
|
+
id: "Action: ",
|
|
1165
|
+
defaultMessage: "Action: "
|
|
1166
|
+
}
|
|
1167
|
+
) }),
|
|
1168
|
+
/* @__PURE__ */ jsx(
|
|
1169
|
+
Dropdown,
|
|
1170
|
+
{
|
|
1171
|
+
style: { margin: "5px 0" },
|
|
1172
|
+
placeholder: "Select action",
|
|
1173
|
+
fluid: true,
|
|
1174
|
+
selection: true,
|
|
1175
|
+
options: actions_options,
|
|
1176
|
+
onChange: (e, { value }) => this.setState({ selActionToAdd: value })
|
|
1177
|
+
}
|
|
1178
|
+
),
|
|
1179
|
+
/* @__PURE__ */ jsx(
|
|
1180
|
+
Button,
|
|
1181
|
+
{
|
|
1182
|
+
compact: true,
|
|
1183
|
+
onClick: () => this.openActionModal(),
|
|
1184
|
+
primary: true,
|
|
1185
|
+
children: /* @__PURE__ */ jsx(FormattedMessage, { id: "Add", defaultMessage: "Add" })
|
|
1186
|
+
}
|
|
1187
|
+
)
|
|
1188
|
+
] })
|
|
1189
|
+
]
|
|
1190
|
+
}
|
|
1191
|
+
)
|
|
1192
|
+
] }),
|
|
1193
|
+
/* @__PURE__ */ jsx(Grid.Row, { stretched: true, children: /* @__PURE__ */ jsxs(Grid.Column, { children: [
|
|
1194
|
+
/* @__PURE__ */ jsx("h4", { children: /* @__PURE__ */ jsx(
|
|
1195
|
+
FormattedMessage,
|
|
1196
|
+
{
|
|
1197
|
+
id: "Assignments",
|
|
1198
|
+
defaultMessage: "Assignments"
|
|
1199
|
+
}
|
|
1200
|
+
) }),
|
|
1201
|
+
/* @__PURE__ */ jsx(
|
|
1202
|
+
FormattedMessage,
|
|
1203
|
+
{
|
|
1204
|
+
id: "This rule is assigned to the following locations:",
|
|
1205
|
+
defaultMessage: "This rule is assigned to the following locations:"
|
|
1206
|
+
}
|
|
1207
|
+
),
|
|
1208
|
+
assignments.map((assignment, i) => /* @__PURE__ */ jsx(
|
|
1209
|
+
UniversalLink,
|
|
1210
|
+
{
|
|
1211
|
+
title: assignment.title,
|
|
1212
|
+
href: getBaseUrl(assignment.url),
|
|
1213
|
+
children: assignment.title
|
|
1214
|
+
},
|
|
1215
|
+
i
|
|
1216
|
+
))
|
|
1217
|
+
] }) })
|
|
1218
|
+
] }) })
|
|
1219
|
+
] }) }) }),
|
|
1220
|
+
this.state.selConditionToAdd && /* @__PURE__ */ jsx(
|
|
1221
|
+
VariableModal$1,
|
|
1222
|
+
{
|
|
1223
|
+
open: this.state.openModal,
|
|
1224
|
+
onClose: () => this.setState({ openModal: false, selConditionToAdd: "" }),
|
|
1225
|
+
onOpen: () => this.setState({ openModal: true }),
|
|
1226
|
+
onSave: (v) => this.handleConditionAdd(v),
|
|
1227
|
+
value: this.state.selConditionToAdd,
|
|
1228
|
+
type: "Condition",
|
|
1229
|
+
action: "add"
|
|
1230
|
+
}
|
|
1231
|
+
),
|
|
1232
|
+
this.state.selActionToAdd && /* @__PURE__ */ jsx(
|
|
1233
|
+
VariableModal$1,
|
|
1234
|
+
{
|
|
1235
|
+
open: this.state.openModal,
|
|
1236
|
+
onClose: () => this.setState({ openModal: false, selActionToAdd: "" }),
|
|
1237
|
+
onOpen: () => this.setState({ openModal: true }),
|
|
1238
|
+
onSave: (v) => this.handleActionAdd(v),
|
|
1239
|
+
value: this.state.selActionToAdd,
|
|
1240
|
+
type: "Action",
|
|
1241
|
+
action: "add"
|
|
1242
|
+
}
|
|
1243
|
+
),
|
|
1244
|
+
this.state.selConditionToEdit && this.state.conditionFormData && /* @__PURE__ */ jsx(
|
|
1245
|
+
VariableModal$1,
|
|
1246
|
+
{
|
|
1247
|
+
open: this.state.openModal,
|
|
1248
|
+
onClose: () => this.setState({
|
|
1249
|
+
openModal: false,
|
|
1250
|
+
selConditionToEdit: "",
|
|
1251
|
+
conditionFormData: ""
|
|
1252
|
+
}),
|
|
1253
|
+
onOpen: () => this.setState({ openModal: true }),
|
|
1254
|
+
onSave: (v) => this.handleEditCondition(v),
|
|
1255
|
+
value: this.state.selConditionToEdit,
|
|
1256
|
+
formData: this.state.conditionFormData,
|
|
1257
|
+
type: "Condition",
|
|
1258
|
+
action: "edit"
|
|
1259
|
+
}
|
|
1260
|
+
),
|
|
1261
|
+
this.state.selActionToEdit && this.state.actionFormData && /* @__PURE__ */ jsx(
|
|
1262
|
+
VariableModal$1,
|
|
1263
|
+
{
|
|
1264
|
+
open: this.state.openModal,
|
|
1265
|
+
onClose: () => this.setState({
|
|
1266
|
+
openModal: false,
|
|
1267
|
+
selActionToEdit: "",
|
|
1268
|
+
actionFormData: ""
|
|
1269
|
+
}),
|
|
1270
|
+
onOpen: () => this.setState({ openModal: true }),
|
|
1271
|
+
onSave: this.handleEditAction,
|
|
1272
|
+
value: this.state.selActionToEdit,
|
|
1273
|
+
formData: this.state.actionFormData,
|
|
1274
|
+
type: "Action",
|
|
1275
|
+
action: "edit"
|
|
1276
|
+
}
|
|
1277
|
+
),
|
|
1278
|
+
this.state.isClient && createPortal(
|
|
1279
|
+
/* @__PURE__ */ jsx(
|
|
1280
|
+
Toolbar,
|
|
1281
|
+
{
|
|
1282
|
+
pathname: this.props.pathname,
|
|
1283
|
+
hideDefaultViewButtons: true,
|
|
1284
|
+
inner: /* @__PURE__ */ jsx(Link, { className: "item", to: "#", onClick: () => this.onCancel(), children: /* @__PURE__ */ jsx(
|
|
1285
|
+
Icon,
|
|
1286
|
+
{
|
|
1287
|
+
name: backSVG,
|
|
1288
|
+
className: "contents circled",
|
|
1289
|
+
size: "30px",
|
|
1290
|
+
title: this.props.intl.formatMessage(messages.back)
|
|
1291
|
+
}
|
|
1292
|
+
) })
|
|
1293
|
+
}
|
|
1294
|
+
),
|
|
1295
|
+
document.getElementById("toolbar")
|
|
1296
|
+
)
|
|
1297
|
+
] });
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
/**
|
|
1301
|
+
* Property types.
|
|
1302
|
+
* @property {Object} propTypes Property types.
|
|
1303
|
+
* @static
|
|
1304
|
+
*/
|
|
1305
|
+
__publicField(ConfigureRule, "propTypes", {
|
|
1306
|
+
getControlPanelRule: PropTypes.func.isRequired,
|
|
1307
|
+
removeCondition: PropTypes.func.isRequired,
|
|
1308
|
+
addCondition: PropTypes.func.isRequired,
|
|
1309
|
+
removeAction: PropTypes.func.isRequired,
|
|
1310
|
+
addAction: PropTypes.func.isRequired,
|
|
1311
|
+
moveRuleCondition: PropTypes.func.isRequired,
|
|
1312
|
+
moveRuleAction: PropTypes.func.isRequired
|
|
1313
|
+
});
|
|
1314
|
+
const ConfigureRule$1 = compose(
|
|
1315
|
+
injectIntl,
|
|
1316
|
+
connect(
|
|
1317
|
+
(state, props) => ({
|
|
1318
|
+
pathname: props.location.pathname,
|
|
1319
|
+
rule: state.controlpanelrule
|
|
1320
|
+
}),
|
|
1321
|
+
{
|
|
1322
|
+
getControlPanelRule,
|
|
1323
|
+
removeCondition,
|
|
1324
|
+
addCondition,
|
|
1325
|
+
editCondition,
|
|
1326
|
+
getCondition,
|
|
1327
|
+
getAction,
|
|
1328
|
+
removeAction,
|
|
1329
|
+
addAction,
|
|
1330
|
+
editAction,
|
|
1331
|
+
moveRuleCondition,
|
|
1332
|
+
moveRuleAction
|
|
1333
|
+
}
|
|
1334
|
+
)
|
|
1335
|
+
)(ConfigureRule);
|
|
1336
|
+
export {
|
|
1337
|
+
ConfigureRule$1 as default
|
|
1338
|
+
};
|