Custom Widget

This commit is contained in:
2026-08-11 13:44:46 +00:00
parent 992ea2508a
commit 8bdf482e2a
6 changed files with 65 additions and 245 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
{ {
"dsl": { "dsl": {
"backgroundColor": "none", "backgroundColor": "none",
"bottomRow": 1560, "bottomRow": 880,
"canExtend": true, "canExtend": true,
"containerStyle": "none", "containerStyle": "none",
"detachFromLayout": true, "detachFromLayout": true,
@@ -1,44 +0,0 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 35,
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"buttonVariant": "PRIMARY",
"disabledWhenInvalid": false,
"dynamicBindingPathList": [
{
"key": "buttonColor"
},
{
"key": "borderRadius"
}
],
"isDefaultClickDisabled": true,
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "8ew4ej3zx2",
"leftColumn": 50,
"minWidth": 120,
"mobileBottomRow": 52,
"mobileLeftColumn": 43,
"mobileRightColumn": 57,
"mobileTopRow": 48,
"needsErrorInfo": false,
"parentColumnSpace": 19.546875,
"parentId": "fbjdkzsgug",
"parentRowSpace": 10,
"placement": "CENTER",
"recaptchaType": "V3",
"renderMode": "CANVAS",
"resetFormOnClick": false,
"responsiveBehavior": "hug",
"rightColumn": 64,
"text": "Submit",
"topRow": 31,
"type": "BUTTON_WIDGET",
"version": 1,
"widgetId": "2vvgwxhzyp",
"widgetName": "Button2"
}
@@ -1,92 +0,0 @@
{
"animateLoading": true,
"backgroundColor": "#FFFFFF",
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 75,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"children": [
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 560,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": false,
"containerStyle": "none",
"detachFromLayout": true,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"flexLayers": [],
"isLoading": false,
"isVisible": true,
"key": "1jvj63l10y",
"leftColumn": 0,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minHeight": 100,
"minWidth": 450,
"mobileBottomRow": 100,
"mobileLeftColumn": 0,
"mobileRightColumn": 469.125,
"mobileTopRow": 0,
"needsErrorInfo": false,
"parentColumnSpace": 1,
"parentId": "r7pg5v82g9",
"parentRowSpace": 1,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 469.125,
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 1,
"widgetId": "fbjdkzsgug",
"widgetName": "Canvas6"
}
],
"containerStyle": "card",
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "stretch",
"isCanvas": true,
"isLoading": false,
"isVisible": true,
"key": "bfi3cj4l3r",
"leftColumn": 2,
"maxDynamicHeight": 9000,
"minDynamicHeight": 10,
"minWidth": 450,
"mobileBottomRow": 39,
"mobileLeftColumn": 7,
"mobileRightColumn": 31,
"mobileTopRow": 29,
"needsErrorInfo": false,
"originalBottomRow": 75,
"originalTopRow": 19,
"parentColumnSpace": 19.546875,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 59,
"shouldScrollContents": true,
"topRow": 19,
"type": "CONTAINER_WIDGET",
"version": 1,
"widgetId": "r7pg5v82g9",
"widgetName": "Container1"
}
File diff suppressed because one or more lines are too long
-69
View File
@@ -1,69 +0,0 @@
{
"backgroundColor": "{{appsmith.theme.colors.backgroundColor}}",
"borderColor": "{{appsmith.theme.colors.backgroundColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 156,
"boxShadow": "none",
"defaultModel": "",
"dynamicBindingPathList": [
{
"key": "theme"
},
{
"key": "borderRadius"
},
{
"key": "borderColor"
},
{
"key": "backgroundColor"
}
],
"dynamicHeight": "FIXED",
"dynamicTriggerPathList": [
{
"key": "onResetClick"
}
],
"events": [
"onResetClick"
],
"isCanvas": false,
"isLoading": false,
"isSearchWildcard": true,
"isVisible": true,
"key": "saqp6nhsbp",
"leftColumn": 31,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"mobileBottomRow": 44,
"mobileLeftColumn": 0,
"mobileRightColumn": 23,
"mobileTopRow": 14,
"needsErrorInfo": false,
"onResetClick": "{{showAlert('Successfully reset!!', '');}}",
"originalBottomRow": 156,
"originalTopRow": 98,
"parentColumnSpace": 25.390625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"rightColumn": 64,
"srcDoc": {
"css": "",
"html": "<!-- no need to write html, head, body tags, it is handled by the widget -->\n<div id=\"root\"></div>\n",
"js": ""
},
"theme": "{{appsmith.theme}}",
"topRow": 98,
"type": "CUSTOM_WIDGET",
"uncompiledSrcDoc": {
"css": "",
"html": "<!-- no need to write html, head, body tags, it is handled by the widget -->\n<div id=\"root\"></div>\n",
"js": ""
},
"version": 1,
"widgetId": "jdodbd03v8",
"widgetName": "Custom2"
}
File diff suppressed because one or more lines are too long