{ "animateLoading": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "bottomRow": 24, "boxShadow": "none", "buttonColor": "{{appsmith.theme.colors.primaryColor}}", "buttonStyle": "PRIMARY_BUTTON", "buttonVariant": "PRIMARY", "disabledWhenInvalid": false, "dynamicBindingPathList": [ { "key": "buttonColor" }, { "key": "borderRadius" } ], "dynamicPropertyPathList": [ { "key": "onClick" } ], "dynamicTriggerPathList": [ { "key": "onClick" } ], "isDefaultClickDisabled": true, "isDisabled": false, "isLoading": false, "isVisible": true, "key": "zb1cmuhe3l", "leftColumn": 41, "minWidth": 120, "mobileBottomRow": 22, "mobileLeftColumn": 47, "mobileRightColumn": 63, "mobileTopRow": 18, "needsErrorInfo": false, "onClick": "{{\n DeleteBooking\n .run({\n bookingId:\n appsmith.store.selectedBooking?.id,\n\n bookedBy:\n appsmith.user.email ||\n appsmith.user.username\n })\n .then((result) => {\n console.log(\n \"DeleteBooking Ergebnis:\",\n result\n );\n\n return GetSeatBookings.run();\n })\n .then(() => {\n return GetSeats.run();\n })\n .then(() => {\n return closeModal(\n MyBookingDetailsModal.name\n );\n })\n .then(() => {\n return showAlert(\n \"Die Buchung wurde gelöscht.\",\n \"success\"\n );\n })\n .catch((error) => {\n console.error(\n \"Löschen fehlgeschlagen:\",\n error\n );\n\n showAlert(\n \"Die Buchung konnte nicht gelöscht werden.\",\n \"error\"\n );\n });\n}}", "originalBottomRow": 24, "originalTopRow": 20, "parentId": "7731jpp9wk", "placement": "CENTER", "recaptchaType": "V3", "renderMode": "CANVAS", "resetFormOnClick": false, "responsiveBehavior": "hug", "rightColumn": 63, "text": "Buchung löschen", "topRow": 20, "type": "BUTTON_WIDGET", "version": 1, "widgetId": "zf6zh6z0sk", "widgetName": "DeleteBookingButton" }