From b568ca9afb92589799ecf999a0545af67ee6a15d Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 05:28:01 +0000 Subject: [PATCH 01/13] system --- application.json | 2 +- pages/Attendance View/canvas.json | 4 +- .../queries/Query1/metadata.json | 3 +- .../checkin_js-submitCheckInOut/metadata.json | 4 +- pages/Check in /canvas.json | 33 +++ pages/Login Page Copy/canvas.json | 47 ++++ .../queries/send_otp_email/metadata.json | 3 +- pages/Login Page/canvas.json | 2 +- pages/Login Page/queries/Api1/metadata.json | 2 +- pages/Login Page/queries/Api3/metadata.json | 69 ++++++ pages/Login Page/queries/Api4/metadata.json | 69 ++++++ .../queries/generate_otp/generate_otp.txt | 2 +- .../queries/generate_otp/metadata.json | 2 +- .../queries/send_otp_email/metadata.json | 3 +- pages/sample1/canvas.json | 200 ++++++++++++++++-- theme.json | 34 ++- 16 files changed, 443 insertions(+), 36 deletions(-) create mode 100644 pages/Login Page/queries/Api3/metadata.json create mode 100644 pages/Login Page/queries/Api4/metadata.json diff --git a/application.json b/application.json index 606e4cb..549dc8b 100644 --- a/application.json +++ b/application.json @@ -25,7 +25,7 @@ "appIsExample": false, "unreadCommentThreads": 0, "color": "#F4FFDE", - "icon": "bag", + "icon": "product", "unpublishedAppLayout": { "type": "DESKTOP" }, diff --git a/pages/Attendance View/canvas.json b/pages/Attendance View/canvas.json index cb9feeb..924be21 100644 --- a/pages/Attendance View/canvas.json +++ b/pages/Attendance View/canvas.json @@ -2275,9 +2275,9 @@ "confirmBeforeExecute": false, "pluginType": "DB", "jsonPathKeys": [ + "appsmith.store.userData.role==\"admin\" && employee_select.selectedOptionValue?employee_select.selectedOptionValue:appsmith.store.userData.emp_id", "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-01'", - "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-30'", - "appsmith.store.userData.role==\"admin\" && employee_select.selectedOptionValue?employee_select.selectedOptionValue:appsmith.store.userData.emp_id" + "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-30'" ], "timeoutInMillisecond": 10000 } diff --git a/pages/Attendance View/queries/Query1/metadata.json b/pages/Attendance View/queries/Query1/metadata.json index c2529b4..b42bdc7 100644 --- a/pages/Attendance View/queries/Query1/metadata.json +++ b/pages/Attendance View/queries/Query1/metadata.json @@ -24,7 +24,8 @@ "command": "SEND", "send": { "from": "noreply@test.com", - "to": "{{}}" + "to": "{{}}", + "bodyType": "text/html" } } }, diff --git a/pages/Attendance View/queries/checkin_js-submitCheckInOut/metadata.json b/pages/Attendance View/queries/checkin_js-submitCheckInOut/metadata.json index 70ce465..1aa4efe 100644 --- a/pages/Attendance View/queries/checkin_js-submitCheckInOut/metadata.json +++ b/pages/Attendance View/queries/checkin_js-submitCheckInOut/metadata.json @@ -21,7 +21,9 @@ "encodeParamsToggle": true, "selfReferencingDataPaths": [], "jsArguments": [ - {} + { + "name": "pastAttendance" + } ], "isAsync": true }, diff --git a/pages/Check in /canvas.json b/pages/Check in /canvas.json index 13bff75..436c375 100644 --- a/pages/Check in /canvas.json +++ b/pages/Check in /canvas.json @@ -701,6 +701,39 @@ "borderRadius": "0.375rem", "maxDynamicHeight": 9000, "minDynamicHeight": 4 + }, + { + "widgetName": "Audio1", + "displayName": "Audio", + "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", + "searchTags": [ + "mp3", + "sound", + "wave", + "player" + ], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "AUDIO_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "qtm4bdbvt6", + "isDeprecated": false, + "rightColumn": 9, + "widgetId": "j566z2vrj2", + "minWidth": 450, + "isVisible": true, + "version": 1, + "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "autoPlay": false } ] }, diff --git a/pages/Login Page Copy/canvas.json b/pages/Login Page Copy/canvas.json index 35c948b..631849f 100644 --- a/pages/Login Page Copy/canvas.json +++ b/pages/Login Page Copy/canvas.json @@ -458,6 +458,53 @@ "borderRadius": "1.5rem", "maxDynamicHeight": 9000, "minDynamicHeight": 4 + }, + { + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button3", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "buttonColor" + }, + { + "key": "borderRadius" + } + ], + "text": "Submit", + "isDisabled": false, + "key": "oalkg0w6tp", + "isDeprecated": false, + "rightColumn": 15, + "isDefaultClickDisabled": true, + "widgetId": "s3j9q2hhl8", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "hug", + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" } ] }, diff --git a/pages/Login Page Copy/queries/send_otp_email/metadata.json b/pages/Login Page Copy/queries/send_otp_email/metadata.json index 9aafee8..2c94e19 100644 --- a/pages/Login Page Copy/queries/send_otp_email/metadata.json +++ b/pages/Login Page Copy/queries/send_otp_email/metadata.json @@ -25,7 +25,8 @@ "send": { "from": "ginil.pg@gmail.com", "to": "{{this.params.email}}", - "subject": "Your email OTP is {{this.params.otp}}" + "subject": "Your email OTP is {{this.params.otp}}", + "bodyType": "text/html" } } }, diff --git a/pages/Login Page/canvas.json b/pages/Login Page/canvas.json index 6be6c4c..63f27b7 100644 --- a/pages/Login Page/canvas.json +++ b/pages/Login Page/canvas.json @@ -19,7 +19,7 @@ "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, - "version": 77, + "version": 80, "minHeight": 1292, "dynamicTriggerPathList": [], "parentColumnSpace": 1, diff --git a/pages/Login Page/queries/Api1/metadata.json b/pages/Login Page/queries/Api1/metadata.json index a1f7c06..bcd50da 100644 --- a/pages/Login Page/queries/Api1/metadata.json +++ b/pages/Login Page/queries/Api1/metadata.json @@ -23,9 +23,9 @@ "paginationType": "NONE", "path": "/lambda", "headers": [], + "autoGeneratedHeaders": [], "encodeParamsToggle": true, "queryParameters": [], - "body": "", "bodyFormData": [], "httpMethod": "GET", "selfReferencingDataPaths": [], diff --git a/pages/Login Page/queries/Api3/metadata.json b/pages/Login Page/queries/Api3/metadata.json new file mode 100644 index 0000000..cec2be2 --- /dev/null +++ b/pages/Login Page/queries/Api3/metadata.json @@ -0,0 +1,69 @@ +{ + "pluginType": "API", + "pluginId": "restapi-plugin", + "unpublishedAction": { + "name": "Api3", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "invalids": [ + "No datasource configuration found. Please configure it and try again." + ], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Login Page", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "headers": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ], + "encodeParamsToggle": true, + "queryParameters": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ], + "body": "", + "bodyFormData": [], + "httpMethod": "GET", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "formData": { + "apiContentType": "none" + } + }, + "executeOnLoad": false, + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Login Page_Api3", + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_64231e36950aeb3af757e854" +} \ No newline at end of file diff --git a/pages/Login Page/queries/Api4/metadata.json b/pages/Login Page/queries/Api4/metadata.json new file mode 100644 index 0000000..129b3ef --- /dev/null +++ b/pages/Login Page/queries/Api4/metadata.json @@ -0,0 +1,69 @@ +{ + "pluginType": "API", + "pluginId": "restapi-plugin", + "unpublishedAction": { + "name": "Api4", + "datasource": { + "name": "DEFAULT_REST_DATASOURCE", + "pluginId": "restapi-plugin", + "invalids": [ + "No datasource configuration found. Please configure it and try again." + ], + "messages": [], + "isAutoGenerated": false, + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "Login Page", + "actionConfiguration": { + "timeoutInMillisecond": 10000, + "paginationType": "NONE", + "headers": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ], + "encodeParamsToggle": true, + "queryParameters": [ + { + "key": "", + "value": "" + }, + { + "key": "", + "value": "" + } + ], + "body": "", + "bodyFormData": [], + "httpMethod": "GET", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [ + { + "value": true + } + ], + "formData": { + "apiContentType": "none" + } + }, + "executeOnLoad": false, + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [] + }, + "id": "Login Page_Api4", + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_64231e5b3052f51c375e3d14" +} \ No newline at end of file diff --git a/pages/Login Page/queries/generate_otp/generate_otp.txt b/pages/Login Page/queries/generate_otp/generate_otp.txt index 0f0eaba..e2253c6 100644 --- a/pages/Login Page/queries/generate_otp/generate_otp.txt +++ b/pages/Login Page/queries/generate_otp/generate_otp.txt @@ -1,2 +1,2 @@ update login_otp set is_active=0 where emp_id='{{this.params.emp_id}}'; -insert into login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}}); \ No newline at end of file +insert in to login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}}); \ No newline at end of file diff --git a/pages/Login Page/queries/generate_otp/metadata.json b/pages/Login Page/queries/generate_otp/metadata.json index a5ce222..cc87aef 100644 --- a/pages/Login Page/queries/generate_otp/metadata.json +++ b/pages/Login Page/queries/generate_otp/metadata.json @@ -18,7 +18,7 @@ "timeoutInMillisecond": 10000, "paginationType": "NONE", "encodeParamsToggle": true, - "body": "update login_otp set is_active=0 where emp_id='{{this.params.emp_id}}';\ninsert into login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}});", + "body": "update login_otp set is_active=0 where emp_id='{{this.params.emp_id}}';\ninsert in to login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}});", "selfReferencingDataPaths": [], "pluginSpecifiedTemplates": [ { diff --git a/pages/Login Page/queries/send_otp_email/metadata.json b/pages/Login Page/queries/send_otp_email/metadata.json index 05b9c63..2d7e986 100644 --- a/pages/Login Page/queries/send_otp_email/metadata.json +++ b/pages/Login Page/queries/send_otp_email/metadata.json @@ -25,7 +25,8 @@ "send": { "from": "ginil.pg@gmail.com", "to": "{{this.params.email}}", - "subject": "Your email OTP is {{this.params.otp}}" + "subject": "Your email OTP is {{this.params.otp}}", + "bodyType": "text/html" } } }, diff --git a/pages/sample1/canvas.json b/pages/sample1/canvas.json index 1fd1e7d..b0c3ce1 100644 --- a/pages/sample1/canvas.json +++ b/pages/sample1/canvas.json @@ -13,20 +13,20 @@ "detachFromLayout": true, "widgetId": "0", "topRow": 0, - "bottomRow": 430, + "bottomRow": 520, "containerStyle": "none", "snapRows": 58, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": true, - "version": 77, + "version": 80, "minHeight": 600, "parentColumnSpace": 1, "dynamicBindingPathList": [], "leftColumn": 0, "children": [ { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)", "widgetName": "Container1", "borderColor": "#E0DEDE", "isCanvas": true, @@ -37,8 +37,8 @@ "parent", "group" ], - "topRow": 16, - "bottomRow": 43, + "topRow": 3, + "bottomRow": 30, "parentRowSpace": 10, "type": "CONTAINER_WIDGET", "hideCard": false, @@ -46,15 +46,8 @@ "animateLoading": true, "parentColumnSpace": 17.9375, "dynamicTriggerPathList": [], - "leftColumn": 10, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - } - ], + "leftColumn": 9, + "dynamicBindingPathList": [], "children": [ { "widgetName": "Canvas1", @@ -206,7 +199,7 @@ "key": "dfln536dbj", "backgroundColor": "#FFFFFF", "isDeprecated": false, - "rightColumn": 38, + "rightColumn": 37, "dynamicHeight": "FIXED", "widgetId": "f6eox5t7yf", "containerStyle": "card", @@ -217,9 +210,184 @@ "renderMode": "CANVAS", "isLoading": false, "responsiveBehavior": "fill", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "borderRadius": "1.5rem", "maxDynamicHeight": 9000, "minDynamicHeight": 10 + }, + { + "widgetName": "Checkbox1", + "displayName": "Checkbox", + "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", + "searchTags": [ + "boolean" + ], + "topRow": 38, + "bottomRow": 42, + "parentRowSpace": 10, + "type": "CHECKBOX_WIDGET", + "alignWidget": "LEFT", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelPosition": "Left", + "isDisabled": false, + "key": "ftg5xd3zcc", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 11, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "kthy6qtvmb", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "label": "Label", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "defaultCheckedState": true, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 + }, + { + "widgetName": "CategorySlider1", + "displayName": "Category Slider", + "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", + "labelText": "Size", + "searchTags": [ + "range" + ], + "topRow": 30, + "bottomRow": 37, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CATEGORY_SLIDER_WIDGET", + "hideCard": false, + "defaultOptionValue": "md", + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + { + "key": "accentColor" + } + ], + "shouldTruncate": false, + "labelPosition": "Left", + "options": [ + { + "label": "Extra Small", + "value": "xs" + }, + { + "label": "Small", + "value": "sm" + }, + { + "label": "Medium", + "value": "md" + }, + { + "label": "Large", + "value": "lg" + }, + { + "label": "Extra Large", + "value": "xl" + } + ], + "isDisabled": false, + "key": "8dr4yoc4cv", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 18, + "widgetId": "009brx3tli", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "sliderSize": "m", + "shouldScroll": false, + "version": 1, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "showMarksLabel": true + }, + { + "widgetName": "CheckboxGroup1", + "displayName": "Checkbox Group", + "iconSVG": "/static/media/icon.ecb3847950c4515966ef642a32758afb.svg", + "labelText": "Label", + "topRow": 45, + "bottomRow": 52, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CHECKBOX_GROUP_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 3, + "dynamicBindingPathList": [ + { + "key": "accentColor" + }, + { + "key": "borderRadius" + } + ], + "labelPosition": "Top", + "options": [ + { + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "isDisabled": false, + "key": "0xndmjj1fo", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 26, + "defaultSelectedValues": [ + "BLUE" + ], + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "q7z3x2a71i", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "version": 2, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "originalTopRow": 45, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "originalBottomRow": 51, + "isInline": true, + "minDynamicHeight": 4 } ] }, diff --git a/theme.json b/theme.json index d269dfd..555e990 100644 --- a/theme.json +++ b/theme.json @@ -1,10 +1,10 @@ { - "name": "Rounded", - "displayName": "Water Lily", + "name": "Sharp", + "displayName": "Moon", "config": { "colors": { - "primaryColor": "#db2777", - "backgroundColor": "#fdf2f8" + "primaryColor": "#64748b", + "backgroundColor": "#f8fafc" }, "borderRadius": { "appBorderRadius": { @@ -38,17 +38,17 @@ }, "properties": { "colors": { - "primaryColor": "#db2777", - "backgroundColor": "#e4e4e7" + "primaryColor": "#d4d4d8", + "backgroundColor": "#dc2626" }, "borderRadius": { "appBorderRadius": "0.375rem" }, "boxShadow": { - "appBoxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" + "appBoxShadow": "none" }, "fontFamily": { - "appFont": "Rubik" + "appFont": "Nunito Sans" } }, "stylesheet": { @@ -75,6 +75,9 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "boxShadow": "none" }, + "CATEGORY_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, "CHART_WIDGET": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", @@ -93,6 +96,11 @@ "fillColor": "{{appsmith.theme.colors.primaryColor}}", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, + "CODE_SCANNER_WIDGET": { + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "boxShadow": "none" + }, "CONTAINER_WIDGET": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" @@ -247,7 +255,8 @@ }, "MAP_CHART_WIDGET": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}" }, "MAP_WIDGET": { "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", @@ -277,6 +286,9 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "boxShadow": "none" }, + "NUMBER_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, "PHONE_INPUT_WIDGET": { "accentColor": "{{appsmith.theme.colors.primaryColor}}", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", @@ -294,6 +306,9 @@ "accentColor": "{{appsmith.theme.colors.primaryColor}}", "boxShadow": "none" }, + "RANGE_SLIDER_WIDGET": { + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, "RATE_WIDGET": { "activeColor": "{{appsmith.theme.colors.primaryColor}}" }, @@ -378,6 +393,7 @@ "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" }, "TEXT_WIDGET": { + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" }, From 9e1dfa485a7533b3bd9f1f347ca092aaa7b25da9 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 05:48:05 +0000 Subject: [PATCH 02/13] gg --- metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index 4f899b5..9dfb348 100644 --- a/metadata.json +++ b/metadata.json @@ -1,5 +1,5 @@ { "clientSchemaVersion": 1, "serverSchemaVersion": 6, - "fileFormatVersion": 4 + "fileFormatVersion": 5 } \ No newline at end of file From f299591bb9514b1c203be19c28cacdff0d06df3a Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 05:48:49 +0000 Subject: [PATCH 03/13] System generated commit, after creating a new branch: faeture-1 --- pages/Attendance View/Attendance View.json | 82 + pages/Attendance View/canvas.json | 2313 ----------------- pages/Attendance View/widgets/Tabs1.json | 59 + .../widgets/Tabs1/Button1.json | 43 + .../widgets/Tabs1/Container2/Button2.json | 48 + .../Container2/Container1/Container1.json | 67 + .../Tabs1/Container2/Container1/Text1.json | 45 + .../Container2/Container1/Text1Copy.json | 45 + .../Tabs1/Container2/Container1/Text2.json | 46 + .../Container2/Container1/Text2Copy.json | 46 + .../Container1Copy/Container1Copy.json | 67 + .../widgets/Tabs1/Container2/Container2.json | 72 + .../widgets/Tabs1/Container2/Map1.json | 41 + .../widgets/Tabs1/IconButton1.json | 40 + .../Attendance View/widgets/Tabs1/Table1.json | 326 +++ .../widgets/Tabs1/attendance_month.json | 48 + .../widgets/Tabs1/attendance_year.json | 49 + .../widgets/Tabs1/employee_select.json | 51 + .../widgets/mark_attendance/IconButton2.json | 36 + .../widgets/mark_attendance/Text3.json | 43 + .../mark_attendance/mark_attendance.json | 72 + .../mark_attendance_form/Button5.json | 37 + .../mark_attendance_form/Button6.json | 37 + .../mark_attendance_form/Button7.json | 44 + .../mark_attendance_form/CheckinDate.json | 57 + .../mark_attendance_form/checkInTime.json | 45 + .../mark_attendance_form/checkOutTime.json | 45 + .../checkinTimeMinute.json | 52 + .../checkoutTimeMinute.json | 52 + .../mark_attendance_form.json | 64 + pages/Check in /Check in .json | 43 + pages/Check in /canvas.json | 755 ------ pages/Check in /widgets/Audio1.json | 33 + pages/Check in /widgets/Button2.json | 46 + .../widgets/Container1/Container1.json | 67 + pages/Check in /widgets/Container1/Text1.json | 45 + .../widgets/Container1/Text1Copy2.json | 45 + pages/Check in /widgets/Container1/Text2.json | 46 + .../widgets/Container1/Text2Copy2.json | 46 + .../Container1Copy/Container1Copy.json | 67 + pages/Check in /widgets/Map1.json | 41 + pages/Login Page Copy/Login Page Copy.json | 44 + pages/Login Page Copy/canvas.json | 526 ---- pages/Login Page Copy/widgets/Button3.json | 43 + .../widgets/Form1/Button2.json | 39 + .../Login Page Copy/widgets/Form1/Form1.json | 62 + .../Login Page Copy/widgets/Form1/Submit.json | 46 + .../Login Page Copy/widgets/Form1/Text1.json | 43 + .../Login Page Copy/widgets/Form1/email.json | 60 + .../widgets/Form1/otpinput.json | 57 + .../widgets/Form1/send_otp_buuton.json | 48 + pages/Login Page/Login Page.json | 58 + pages/Login Page/canvas.json | 638 ----- pages/Login Page/jsobjects/OTP_JS/OTP_JS.js | 34 - .../Login Page/jsobjects/OTP_JS/metadata.json | 24 - .../jsobjects/OTP_JS_new/OTP_JS_new.js | 37 - .../jsobjects/OTP_JS_new/metadata.json | 24 - pages/Login Page/queries/Api1/Api1.txt | 0 pages/Login Page/queries/Api1/metadata.json | 55 - pages/Login Page/queries/Api2/Api2.txt | 0 pages/Login Page/queries/Api2/metadata.json | 69 - .../Fetch_otp_details/Fetch_otp_details.txt | 0 .../queries/Fetch_otp_details/metadata.json | 109 - .../queries/OTP_JS-activateOtp/metadata.json | 43 - .../queries/OTP_JS-myFun1/metadata.json | 43 - .../OTP_JS-redirectToMainpage/metadata.json | 43 - .../queries/OTP_JS-verifyLogin/metadata.json | 43 - .../queries/OTP_JS-verifyOtp/metadata.json | 43 - .../OTP_JS_new-activateOtp/metadata.json | 43 - .../queries/OTP_JS_new-myFun1/metadata.json | 43 - .../queries/OTP_JS_new-myFun2/metadata.json | 43 - .../metadata.json | 43 - .../OTP_JS_new-verifyOtp/metadata.json | 43 - .../queries/generate_otp/generate_otp.txt | 2 - .../queries/generate_otp/metadata.json | 50 - .../queries/send_otp_email/metadata.json | 60 - .../queries/send_otp_email/send_otp_email.txt | 1 - .../queries/verify_otp_query/metadata.json | 50 - .../verify_otp_query/verify_otp_query.txt | 1 - pages/Login Page/widgets/AudioRecorder1.json | 35 + pages/Login Page/widgets/Form1/Button2.json | 39 + pages/Login Page/widgets/Form1/Form1.json | 62 + pages/Login Page/widgets/Form1/Submit.json | 43 + pages/Login Page/widgets/Form1/Text1.json | 43 + pages/Login Page/widgets/Form1/mobile.json | 59 + pages/Login Page/widgets/Form1/otpinput.json | 57 + .../signinerror_modal/IconButton1.json | 37 + .../widgets/signinerror_modal/Text2.json | 45 + .../signinerror_modal/signinerror_modal.json | 72 + pages/sample1/canvas.json | 409 --- pages/sample1/sample1.json | 43 + pages/sample1/widgets/CategorySlider1.json | 59 + pages/sample1/widgets/Checkbox1.json | 40 + pages/sample1/widgets/CheckboxGroup1.json | 58 + .../widgets/Container1/Container1.json | 70 + pages/sample1/widgets/Container1/Input1.json | 54 + pages/sample1/widgets/Container1/Text1.json | 49 + 97 files changed, 3603 insertions(+), 5587 deletions(-) create mode 100644 pages/Attendance View/Attendance View.json delete mode 100644 pages/Attendance View/canvas.json create mode 100644 pages/Attendance View/widgets/Tabs1.json create mode 100644 pages/Attendance View/widgets/Tabs1/Button1.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Button2.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1/Container1.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1Copy.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2Copy.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container1Copy/Container1Copy.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Container2.json create mode 100644 pages/Attendance View/widgets/Tabs1/Container2/Map1.json create mode 100644 pages/Attendance View/widgets/Tabs1/IconButton1.json create mode 100644 pages/Attendance View/widgets/Tabs1/Table1.json create mode 100644 pages/Attendance View/widgets/Tabs1/attendance_month.json create mode 100644 pages/Attendance View/widgets/Tabs1/attendance_year.json create mode 100644 pages/Attendance View/widgets/Tabs1/employee_select.json create mode 100644 pages/Attendance View/widgets/mark_attendance/IconButton2.json create mode 100644 pages/Attendance View/widgets/mark_attendance/Text3.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button5.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button6.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button7.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/CheckinDate.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkInTime.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkOutTime.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkinTimeMinute.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkoutTimeMinute.json create mode 100644 pages/Attendance View/widgets/mark_attendance/mark_attendance_form/mark_attendance_form.json create mode 100644 pages/Check in /Check in .json delete mode 100644 pages/Check in /canvas.json create mode 100644 pages/Check in /widgets/Audio1.json create mode 100644 pages/Check in /widgets/Button2.json create mode 100644 pages/Check in /widgets/Container1/Container1.json create mode 100644 pages/Check in /widgets/Container1/Text1.json create mode 100644 pages/Check in /widgets/Container1/Text1Copy2.json create mode 100644 pages/Check in /widgets/Container1/Text2.json create mode 100644 pages/Check in /widgets/Container1/Text2Copy2.json create mode 100644 pages/Check in /widgets/Container1Copy/Container1Copy.json create mode 100644 pages/Check in /widgets/Map1.json create mode 100644 pages/Login Page Copy/Login Page Copy.json delete mode 100644 pages/Login Page Copy/canvas.json create mode 100644 pages/Login Page Copy/widgets/Button3.json create mode 100644 pages/Login Page Copy/widgets/Form1/Button2.json create mode 100644 pages/Login Page Copy/widgets/Form1/Form1.json create mode 100644 pages/Login Page Copy/widgets/Form1/Submit.json create mode 100644 pages/Login Page Copy/widgets/Form1/Text1.json create mode 100644 pages/Login Page Copy/widgets/Form1/email.json create mode 100644 pages/Login Page Copy/widgets/Form1/otpinput.json create mode 100644 pages/Login Page Copy/widgets/Form1/send_otp_buuton.json create mode 100644 pages/Login Page/Login Page.json delete mode 100644 pages/Login Page/canvas.json delete mode 100644 pages/Login Page/jsobjects/OTP_JS/OTP_JS.js delete mode 100644 pages/Login Page/jsobjects/OTP_JS/metadata.json delete mode 100644 pages/Login Page/jsobjects/OTP_JS_new/OTP_JS_new.js delete mode 100644 pages/Login Page/jsobjects/OTP_JS_new/metadata.json delete mode 100644 pages/Login Page/queries/Api1/Api1.txt delete mode 100644 pages/Login Page/queries/Api1/metadata.json delete mode 100644 pages/Login Page/queries/Api2/Api2.txt delete mode 100644 pages/Login Page/queries/Api2/metadata.json delete mode 100644 pages/Login Page/queries/Fetch_otp_details/Fetch_otp_details.txt delete mode 100644 pages/Login Page/queries/Fetch_otp_details/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS-activateOtp/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS-myFun1/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS-redirectToMainpage/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS-verifyLogin/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS-verifyOtp/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS_new-activateOtp/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS_new-myFun1/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS_new-myFun2/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS_new-redirectToMainpage/metadata.json delete mode 100644 pages/Login Page/queries/OTP_JS_new-verifyOtp/metadata.json delete mode 100644 pages/Login Page/queries/generate_otp/generate_otp.txt delete mode 100644 pages/Login Page/queries/generate_otp/metadata.json delete mode 100644 pages/Login Page/queries/send_otp_email/metadata.json delete mode 100644 pages/Login Page/queries/send_otp_email/send_otp_email.txt delete mode 100644 pages/Login Page/queries/verify_otp_query/metadata.json delete mode 100644 pages/Login Page/queries/verify_otp_query/verify_otp_query.txt create mode 100644 pages/Login Page/widgets/AudioRecorder1.json create mode 100644 pages/Login Page/widgets/Form1/Button2.json create mode 100644 pages/Login Page/widgets/Form1/Form1.json create mode 100644 pages/Login Page/widgets/Form1/Submit.json create mode 100644 pages/Login Page/widgets/Form1/Text1.json create mode 100644 pages/Login Page/widgets/Form1/mobile.json create mode 100644 pages/Login Page/widgets/Form1/otpinput.json create mode 100644 pages/Login Page/widgets/signinerror_modal/IconButton1.json create mode 100644 pages/Login Page/widgets/signinerror_modal/Text2.json create mode 100644 pages/Login Page/widgets/signinerror_modal/signinerror_modal.json delete mode 100644 pages/sample1/canvas.json create mode 100644 pages/sample1/sample1.json create mode 100644 pages/sample1/widgets/CategorySlider1.json create mode 100644 pages/sample1/widgets/Checkbox1.json create mode 100644 pages/sample1/widgets/CheckboxGroup1.json create mode 100644 pages/sample1/widgets/Container1/Container1.json create mode 100644 pages/sample1/widgets/Container1/Input1.json create mode 100644 pages/sample1/widgets/Container1/Text1.json diff --git a/pages/Attendance View/Attendance View.json b/pages/Attendance View/Attendance View.json new file mode 100644 index 0000000..1777b75 --- /dev/null +++ b/pages/Attendance View/Attendance View.json @@ -0,0 +1,82 @@ +{ + "unpublishedPage": { + "name": "Attendance View", + "slug": "attendance-view", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1224, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 740, + "containerStyle": "none", + "snapRows": 85, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 77, + "minHeight": 860, + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0 + }, + "layoutOnLoadActions": [ + [ + { + "id": "Attendance View_checkin_js.verifyLogin", + "name": "checkin_js.verifyLogin", + "collectionId": "Attendance View_checkin_js", + "confirmBeforeExecute": false, + "pluginType": "JS", + "jsonPathKeys": [ + "async () => {\n if (appsmith.store.userData == undefined || !appsmith.store.userData?.emp_id) navigateTo(\"Login Page\");\n}" + ], + "timeoutInMillisecond": 10000 + }, + { + "id": "Attendance View_fetch_attendance", + "name": "fetch_attendance", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [ + "appsmith.store.userData.role==\"admin\" && employee_select.selectedOptionValue?employee_select.selectedOptionValue:appsmith.store.userData.emp_id", + "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-01'", + "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-30'" + ], + "timeoutInMillisecond": 10000 + } + ], + [ + { + "id": "Attendance View_get_users", + "name": "get_users", + "confirmBeforeExecute": false, + "pluginType": "SAAS", + "jsonPathKeys": [ + "employee_select.filterText", + "employee_select.filterText?'name':''" + ], + "timeoutInMillisecond": 10000 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Attendance View", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": false + }, + "deleted": false, + "gitSyncId": "630858db4e42b8633778f286_630e0a571274f8409e77bc9f" +} \ No newline at end of file diff --git a/pages/Attendance View/canvas.json b/pages/Attendance View/canvas.json deleted file mode 100644 index 924be21..0000000 --- a/pages/Attendance View/canvas.json +++ /dev/null @@ -1,2313 +0,0 @@ -{ - "unpublishedPage": { - "name": "Attendance View", - "slug": "attendance-view", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1224, - "snapColumns": 64, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0, - "bottomRow": 740, - "containerStyle": "none", - "snapRows": 85, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 77, - "minHeight": 860, - "parentColumnSpace": 1, - "dynamicBindingPathList": [], - "leftColumn": 0, - "children": [ - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Tabs1", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - }, - { - "key": "animateLoading" - } - ], - "displayName": "Tabs", - "iconSVG": "/static/media/icon.74a6d653c8201e66f1cd367a3fba2657.svg", - "topRow": 0, - "bottomRow": 74, - "parentRowSpace": 10, - "type": "TABS_WIDGET", - "hideCard": false, - "shouldScrollContents": false, - "animateLoading": "true", - "parentColumnSpace": 19.8125, - "dynamicTriggerPathList": [ - { - "key": "onTabSelected" - } - ], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - } - ], - "children": [ - { - "tabId": "tab1", - "boxShadow": "none", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 720, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400, - "parentColumnSpace": 1, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "employee_select", - "isFilterable": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", - "labelText": "Employee Name", - "searchTags": [ - "dropdown" - ], - "topRow": 1, - "bottomRow": 5, - "parentRowSpace": 10, - "labelWidth": "6", - "type": "SELECT_WIDGET", - "serverSideFiltering": true, - "hideCard": false, - "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( appsmith.store.userData.emp_id))(employee_select.options, employee_select.serverSideFiltering) }}", - "animateLoading": true, - "parentColumnSpace": 19.5, - "dynamicTriggerPathList": [ - { - "key": "onFilterUpdate" - } - ], - "leftColumn": 29, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isVisible" - }, - { - "key": "defaultOptionValue" - }, - { - "key": "options" - } - ], - "labelPosition": "Left", - "options": "{{ get_users.data.map((row) => { \n return { label: row.name+ ' ('+row.emp_id+')', value: row.emp_id } \n }) \n}}", - "placeholderText": "Select option", - "isDisabled": false, - "key": "s5pxgzhu7p", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 45, - "dynamicHeight": "FIXED", - "widgetId": "sn9ha8hgye", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": "{{appsmith.store.userData.role==\"admin\"}}", - "version": 1, - "parentId": "3x8e7fzu17", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "onFilterUpdate": "{{get_users.run()}}", - "minDynamicHeight": 4 - }, - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "isVisibleDownload": true, - "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", - "topRow": 10, - "isSortable": true, - "type": "TABLE_WIDGET_V2", - "inlineEditingSaveOption": "ROW_LEVEL", - "animateLoading": true, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "tableData" - }, - { - "key": "primaryColumns.id.computedValue" - }, - { - "key": "primaryColumns.emp_id.computedValue" - }, - { - "key": "primaryColumns.checkin_time.computedValue" - }, - { - "key": "primaryColumns.checkout_time.computedValue" - }, - { - "key": "primaryColumns.checkin_location.computedValue" - }, - { - "key": "primaryColumns.checkout_location.computedValue" - }, - { - "key": "primaryColumns.created_date.computedValue" - }, - { - "key": "primaryColumns.modified_date.computedValue" - } - ], - "leftColumn": 0, - "delimiter": ",", - "defaultSelectedRowIndex": 0, - "showInlineEditingOptionDropdown": true, - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisibleFilters": true, - "isVisible": true, - "enableClientSideSearch": true, - "version": 1, - "totalRecordsCount": 0, - "isLoading": false, - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "menuButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "iconButton": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "editActions": { - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - }, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "columnUpdatedAt": 1677651523282, - "defaultSelectedRowIndices": [ - 0 - ], - "widgetName": "Table1", - "defaultPageSize": 0, - "columnOrder": [ - "id", - "emp_id", - "checkin_time", - "checkout_time", - "checkin_location", - "checkout_location", - "created_date", - "modified_date" - ], - "dynamicPropertyPathList": [], - "displayName": "Table", - "bottomRow": 72, - "columnWidthMap": { - "task": 245, - "step": 62, - "status": 75 - }, - "parentRowSpace": 10, - "hideCard": false, - "parentColumnSpace": 19.8125, - "dynamicTriggerPathList": [], - "primaryColumns": { - "id": { - "allowCellWrapping": false, - "index": 0, - "width": 150, - "originalId": "id", - "id": "id", - "alias": "id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "id", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "emp_id": { - "allowCellWrapping": false, - "index": 1, - "width": 150, - "originalId": "emp_id", - "id": "emp_id", - "alias": "emp_id", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "emp_id", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"emp_id\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "checkin_time": { - "allowCellWrapping": false, - "index": 2, - "width": 150, - "originalId": "checkin_time", - "id": "checkin_time", - "alias": "checkin_time", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "checkin_time", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkin_time\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "checkout_time": { - "allowCellWrapping": false, - "index": 3, - "width": 150, - "originalId": "checkout_time", - "id": "checkout_time", - "alias": "checkout_time", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "checkout_time", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkout_time\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "checkin_location": { - "allowCellWrapping": false, - "index": 4, - "width": 150, - "originalId": "checkin_location", - "id": "checkin_location", - "alias": "checkin_location", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "checkin_location", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkin_location\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "checkout_location": { - "allowCellWrapping": false, - "index": 5, - "width": 150, - "originalId": "checkout_location", - "id": "checkout_location", - "alias": "checkout_location", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "checkout_location", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkout_location\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "created_date": { - "allowCellWrapping": false, - "index": 6, - "width": 150, - "originalId": "created_date", - "id": "created_date", - "alias": "created_date", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": true, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "created_date", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( Date(currentRow[\"created_date\"])))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - }, - "modified_date": { - "allowCellWrapping": false, - "index": 7, - "width": 150, - "originalId": "modified_date", - "id": "modified_date", - "alias": "modified_date", - "horizontalAlignment": "LEFT", - "verticalAlignment": "CENTER", - "columnType": "text", - "textColor": "", - "textSize": "0.875rem", - "enableFilter": true, - "enableSort": true, - "isVisible": false, - "isDisabled": false, - "isCellEditable": false, - "isEditable": false, - "isCellVisible": true, - "isDerived": false, - "label": "modified_date", - "isSaveVisible": true, - "isDiscardVisible": true, - "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"modified_date\"]))}}", - "cellBackground": "", - "validation": {}, - "sticky": "" - } - }, - "key": "d30j7jgqhf", - "canFreezeColumn": false, - "isDeprecated": false, - "rightColumn": 64, - "textSize": "0.875rem", - "widgetId": "a9dw80h09p", - "tableData": "{{fetch_attendance.data}}", - "label": "Data", - "searchKey": "", - "parentId": "3x8e7fzu17", - "renderMode": "CANVAS", - "horizontalAlignment": "LEFT", - "isVisibleSearch": true, - "isVisiblePagination": true, - "verticalAlignment": "CENTER" - }, - { - "boxShadow": "none", - "widgetName": "attendance_month", - "isFilterable": true, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", - "labelText": "Select a Month", - "searchTags": [ - "dropdown" - ], - "topRow": 1, - "bottomRow": 5, - "parentRowSpace": 10, - "labelWidth": "6", - "type": "SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( \n \n(new Date().getMonth()+1).toString()\n\n))(attendance_month.options, attendance_month.serverSideFiltering) }}", - "animateLoading": true, - "parentColumnSpace": 10.0576171875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "defaultOptionValue" - } - ], - "labelPosition": "Left", - "options": "[\n {\n \"label\": \"January\",\n \"value\": \"1\"\n },\n {\n \"label\": \"February\",\n \"value\": \"2\"\n },\n {\n \"label\": \"March\",\n \"value\": \"3\"\n },\n\t{\n \"label\": \"April\",\n \"value\": \"4\"\n },\n {\n \"label\": \"May\",\n \"value\": \"5\"\n },\n {\n \"label\": \"June\",\n \"value\": \"6\"\n },\n\t{\n \"label\": \"July\",\n \"value\": \"7\"\n },\n {\n \"label\": \"August\",\n \"value\": \"8\"\n },\n {\n \"label\": \"September\",\n \"value\": \"9\"\n },\n\t{\n \"label\": \"October\",\n \"value\": \"10\"\n },\n {\n \"label\": \"November\",\n \"value\": \"11\"\n },\n {\n \"label\": \"December\",\n \"value\": \"12\"\n }\n]", - "labelStyle": "BOLD", - "placeholderText": "Select option", - "isDisabled": false, - "key": "qett92xl6j", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 16, - "dynamicHeight": "FIXED", - "widgetId": "kpurh4ja84", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "3x8e7fzu17", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "attendance_year", - "isFilterable": true, - "displayName": "Select", - "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", - "labelText": "Year", - "searchTags": [ - "dropdown" - ], - "topRow": 1, - "bottomRow": 5, - "parentRowSpace": 10, - "labelWidth": "0", - "type": "SELECT_WIDGET", - "serverSideFiltering": false, - "hideCard": false, - "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( \n \nnew Date().getFullYear().toString()\n\n))(attendance_year.options, attendance_year.serverSideFiltering) }}", - "animateLoading": true, - "parentColumnSpace": 10.0576171875, - "dynamicTriggerPathList": [], - "leftColumn": 17, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "defaultOptionValue" - }, - { - "key": "options" - } - ], - "labelPosition": "Left", - "options": "{{ function()\n { \n let start_year = 1920; //change start year for year picker \n let end_year = 2120; //change end year for year picker \n let years = []; \n for (let i = start_year;i<= end_year;i++)\n { \n let current_year_object = { \"label\":i.toString(), \"value\":i.toString()}\n years.push(current_year_object) \n } \n return years; \n }\n () }}", - "labelStyle": "BOLD", - "placeholderText": "", - "isDisabled": false, - "key": "qett92xl6j", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 27, - "dynamicHeight": "FIXED", - "widgetId": "j77ra3t93p", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "3x8e7fzu17", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "Button1", - "onClick": "{{fetch_attendance.run()}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 1, - "bottomRow": 5, - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 12.01953125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 53, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "text": "Search\n", - "isDisabled": false, - "key": "nvhr8y1yqn", - "isDeprecated": false, - "rightColumn": 60, - "isDefaultClickDisabled": true, - "widgetId": "fnv2tr6l71", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "3x8e7fzu17", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - }, - { - "boxShadow": "none", - "widgetName": "IconButton1", - "onClick": "{{showModal('mark_attendance')}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "onClick" - } - ], - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 1, - "bottomRow": 5, - "tooltip": "Mark missed attendance", - "parentRowSpace": 10, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 19.5, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 60, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "isDisabled": false, - "key": "t9ksrmdmm3", - "isDeprecated": false, - "rightColumn": 64, - "iconName": "add", - "widgetId": "u0ike5x5di", - "isVisible": true, - "version": 1, - "parentId": "3x8e7fzu17", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY" - } - ], - "isDisabled": false, - "key": "917rrg43l8", - "isDeprecated": false, - "tabName": "Attendance View", - "rightColumn": 475.5, - "detachFromLayout": true, - "widgetId": "3x8e7fzu17", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "49z7vd09ql", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - { - "tabId": "tab2", - "boxShadow": "none", - "widgetName": "Canvas2", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 700, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 400, - "parentColumnSpace": 1, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Container2", - "borderColor": "transparent", - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 0, - "bottomRow": 68, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 19.5, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas6", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 680, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "minHeight": 400, - "parentColumnSpace": 1, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "zoomLevel": 75, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Map1", - "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }\n]", - "dynamicPropertyPathList": [ - { - "key": "mapCenter" - } - ], - "displayName": "Map", - "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg", - "topRow": 2, - "bottomRow": 36, - "parentRowSpace": 10, - "type": "MAP_WIDGET", - "hideCard": false, - "animateLoading": true, - "allowZoom": true, - "parentColumnSpace": 12.01953125, - "dynamicTriggerPathList": [], - "leftColumn": 1, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "defaultMarkers" - }, - { - "key": "mapCenter" - } - ], - "enablePickLocation": false, - "mapCenter": " {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }", - "isClickedMarkerCentered": false, - "isDisabled": false, - "enableSearch": false, - "key": "ceo61nnkwo", - "isDeprecated": false, - "rightColumn": 15, - "widgetId": "ejsbg9ozdd", - "enableCreateMarker": false, - "isVisible": true, - "version": 1, - "parentId": "83j0oatap0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - { - "tabId": "", - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 2, - "bottomRow": 21, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 16, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "rightColumn": 620, - "widgetName": "Canvas3", - "detachFromLayout": true, - "widgetId": "eozxn8dzfi", - "containerStyle": "none", - "bottomRow": 190, - "topRow": 0, - "parentRowSpace": 1, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1, - "parentId": "vsj6dl89uw", - "props": { - "containerStyle": "none", - "canExtend": false, - "detachFromLayout": true, - "children": [] - }, - "isLoading": false, - "minHeight": 310, - "renderMode": "CANVAS", - "parentColumnSpace": 1, - "leftColumn": 0, - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 12, - "bottomRow": 16, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkin_location}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 58, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "kglyen4jks", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "eozxn8dzfi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 8, - "bottomRow": 12, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckIn Location:", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 14, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "0haz9yh1k0", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "eozxn8dzfi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text2Copy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 4, - "bottomRow": 8, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkin_time}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 64, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "bhv542urda", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "eozxn8dzfi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 0, - "bottomRow": 4, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckIn Time:\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 12, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "haj4tthw1n", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "eozxn8dzfi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - } - ] - } - ], - "borderWidth": "0", - "key": "xm7dwgtt1y", - "backgroundColor": "#eff6ff", - "isDeprecated": false, - "rightColumn": 56, - "dynamicHeight": "FIXED", - "widgetId": "vsj6dl89uw", - "containerStyle": "card", - "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkin_time?true:false}}", - "version": 1, - "parentId": "83j0oatap0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "tabId": "", - "boxShadow": "NONE", - "widgetName": "Container1Copy", - "borderColor": "transparent", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 22, - "bottomRow": 42, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 16, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "rightColumn": 620, - "widgetName": "Canvas3Copy", - "detachFromLayout": true, - "widgetId": "93bofukkw0", - "containerStyle": "none", - "bottomRow": 200, - "topRow": 0, - "parentRowSpace": 1, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1, - "parentId": "36prx9esoo", - "props": { - "containerStyle": "none", - "canExtend": false, - "detachFromLayout": true, - "children": [] - }, - "isLoading": false, - "minHeight": 310, - "renderMode": "CANVAS", - "parentColumnSpace": 1, - "leftColumn": 0, - "children": [ - { - "widgetName": "Text2Copy1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 12, - "bottomRow": 16, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkout_location}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 58, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "0t02jy3oka", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "93bofukkw0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1CopyCopy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 8, - "bottomRow": 12, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckOut Location:", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 14, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "tyd4mb7t75", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "93bofukkw0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text2CopyCopy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 4, - "bottomRow": 8, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkout_time}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 64, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "x0ugf4jmym", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "93bofukkw0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1Copy1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 0, - "bottomRow": 4, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckOut Time:\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 12, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "ug7prrp70h", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "93bofukkw0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - } - ] - } - ], - "borderWidth": "0", - "key": "xm7dwgtt1y", - "backgroundColor": "#eff6ff", - "isDeprecated": false, - "rightColumn": 56, - "dynamicHeight": "FIXED", - "widgetId": "36prx9esoo", - "containerStyle": "card", - "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkout_time?true:false}}", - "version": 1, - "parentId": "83j0oatap0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "Button2", - "onClick": "{{checkin_js.submitCheckInOut()}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 37, - "bottomRow": 42, - "tooltip": "{{!appsmith.store.location_permission?\"Please enable location\":''}}", - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 12.01953125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 1, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - }, - { - "key": "isDisabled" - }, - { - "key": "tooltip" - } - ], - "text": "{{\ncheckin_js.verifyCheckinout();\n/*\n(async ()=> {\n\tdebugger;\n\tconst response=\n\t await checkin_js.verifyCheckinout();\n\treturn response;\n\t/*.then((response)=>{\n\t\treturn response;\n\t});\n\t\n//\treturn response;\n})()*/\n}}", - "isDisabled": "{{ !appsmith.store.location_permission || ( appsmith.store.checkin_data && appsmith.store.checkin_data!=undefined && appsmith.store.checkin_data.checkout_time)?true:false\n\t\t\t\t\t\t\t}}", - "key": "nvhr8y1yqn", - "isDeprecated": false, - "rightColumn": 15, - "isDefaultClickDisabled": true, - "widgetId": "vhte6brclc", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "83j0oatap0", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ], - "key": "ibvykxtuw4", - "isDeprecated": false, - "rightColumn": 468, - "detachFromLayout": true, - "widgetId": "83j0oatap0", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1, - "parentId": "ah3z4jhv10", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "borderWidth": "0", - "key": "xwg7g28xie", - "backgroundColor": "#FFFFFF", - "isDeprecated": false, - "rightColumn": 64, - "dynamicHeight": "FIXED", - "widgetId": "ah3z4jhv10", - "containerStyle": "card", - "isVisible": true, - "version": 1, - "parentId": "3imo2jb2xr", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - } - ], - "isDisabled": false, - "key": "917rrg43l8", - "isDeprecated": false, - "tabName": "Checkin/Checkout", - "rightColumn": 475.5, - "detachFromLayout": true, - "widgetId": "3imo2jb2xr", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "49z7vd09ql", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "key": "o3dhtopl9v", - "isDeprecated": false, - "rightColumn": 64, - "dynamicHeight": "FIXED", - "widgetId": "49z7vd09ql", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "defaultTab": "Attendance View", - "onTabSelected": "{{checkin_js.checkinTabSelected()}}", - "shouldShowTabs": true, - "tabsObj": { - "tab1": { - "label": "Attendance View", - "id": "tab1", - "widgetId": "3x8e7fzu17", - "isVisible": true, - "index": 0 - }, - "tab2": { - "label": "Checkin/Checkout", - "id": "tab2", - "widgetId": "3imo2jb2xr", - "isVisible": true, - "index": 1 - } - }, - "isVisible": "true", - "version": 3, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "mark_attendance", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], - "topRow": 15, - "bottomRow": 39, - "parentRowSpace": 10, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 19.5, - "leftColumn": 21, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas4", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 330, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 332, - "parentColumnSpace": 1, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "IconButton2", - "onClick": "{{closeModal('mark_attendance')}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 1, - "bottomRow": 5, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "leftColumn": 56, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "iconSize": 24, - "isDisabled": false, - "key": "t9ksrmdmm3", - "isDeprecated": false, - "rightColumn": 64, - "iconName": "cross", - "widgetId": "r4yaa2w6g8", - "isVisible": true, - "version": 1, - "parentId": "ettijhok6u", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text3", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 1, - "bottomRow": 5, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "dynamicTriggerPathList": [], - "leftColumn": 1, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Mark Attendance", - "key": "ebkwogcfzu", - "isDeprecated": false, - "rightColumn": 41, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "ueun85dp1p", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "ettijhok6u", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "1rem", - "minDynamicHeight": 4 - }, - { - "boxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)", - "widgetName": "mark_attendance_form", - "borderColor": "#d4d4d8", - "isCanvas": true, - "displayName": "Form", - "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", - "searchTags": [ - "group" - ], - "topRow": 5, - "bottomRow": 31, - "parentRowSpace": 10, - "type": "FORM_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [], - "leftColumn": 1, - "dynamicBindingPathList": [], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas5", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 660, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "minHeight": 400, - "parentColumnSpace": 1, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "checkOutTime", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 11, - "bottomRow": 15, - "parentRowSpace": 10, - "labelWidth": "15", - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "24", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 20.0625, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 11, - "dynamicBindingPathList": [ - { - "key": "accentColor" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "NUMBER", - "isDisabled": false, - "key": "7ir5yap5zb", - "labelTextSize": "0.875rem", - "isRequired": false, - "rightColumn": 37, - "dynamicHeight": "FIXED", - "widgetId": "fshyt7k6xh", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": true, - "isVisible": true, - "label": "CheckOut", - "version": 2, - "parentId": "43w1eu2cgr", - "minNum": "1", - "renderMode": "CANVAS", - "isLoading": false, - "labelAlignment": "left", - "borderRadius": "0px", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "6", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "checkoutTimeMinute", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 11, - "bottomRow": 15, - "parentRowSpace": 10, - "labelWidth": 5, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "59", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.408203125, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 39, - "dynamicBindingPathList": [ - { - "key": "accentColor" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "NUMBER", - "isDisabled": false, - "key": "0y31gt4eai", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 50, - "dynamicHeight": "FIXED", - "widgetId": "4eo4gqwb8y", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": true, - "isVisible": true, - "label": "", - "version": 2, - "parentId": "43w1eu2cgr", - "minNum": "00", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "00", - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Button5", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 62, - "bottomRow": 66, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "leftColumn": 46, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], - "text": "Submit", - "isDisabled": false, - "key": "qtfl0f223c", - "isDeprecated": false, - "rightColumn": 62, - "isDefaultClickDisabled": true, - "widgetId": "bg1ajarxfd", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "43w1eu2cgr", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": true, - "borderRadius": "0.375rem", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Button6", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 62, - "bottomRow": 66, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "leftColumn": 28, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - } - ], - "text": "Reset", - "isDisabled": false, - "key": "qtfl0f223c", - "isDeprecated": false, - "rightColumn": 44, - "isDefaultClickDisabled": true, - "widgetId": "f45co2vjfx", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "43w1eu2cgr", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "0.375rem", - "buttonVariant": "SECONDARY", - "placement": "CENTER" - }, - { - "boxShadow": "none", - "widgetName": "CheckinDate", - "minDate": "{{moment(new Date(new Date().setFullYear(new Date().getFullYear() -1 ))\n).format('Y-MM-DD')}}\n\t", - "dateFormat": "YYYY-MM-DD", - "dynamicPropertyPathList": [ - { - "key": "minDate" - }, - { - "key": "defaultDate" - }, - { - "key": "maxDate" - } - ], - "displayName": "DatePicker", - "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", - "searchTags": [ - "calendar" - ], - "topRow": 2, - "bottomRow": 6, - "shortcuts": false, - "parentRowSpace": 10, - "labelWidth": "15", - "type": "DATE_PICKER_WIDGET2", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.408203125, - "dynamicTriggerPathList": [], - "leftColumn": 11, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "defaultDate" - }, - { - "key": "minDate" - }, - { - "key": "maxDate" - } - ], - "labelPosition": "Left", - "isDisabled": false, - "key": "eo3a7srwgn", - "labelTextSize": "0.875rem", - "isRequired": true, - "defaultDate": "{{moment(new Date(Date.now() - 24 * 3600 * 1000) \n).format('Y-MM-DD')\n}}", - "isDeprecated": false, - "rightColumn": 50, - "dynamicHeight": "FIXED", - "widgetId": "wwxyw4ouxn", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "datePickerType": "DATE_PICKER", - "label": "Date", - "version": 2, - "parentId": "43w1eu2cgr", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "timePrecision": "None", - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "firstDayOfWeek": 0, - "closeOnSelection": true, - "maxDate": "{{moment(new Date(Date.now() - 24 * 3600 * 1000) \n).format('Y-MM-DD')\n}}", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "checkInTime", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595.svg", - "topRow": 6, - "bottomRow": 10, - "parentRowSpace": 10, - "labelWidth": "15", - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "24", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 20.0625, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 11, - "dynamicBindingPathList": [ - { - "key": "accentColor" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "NUMBER", - "isDisabled": false, - "key": "7ir5yap5zb", - "labelTextSize": "0.875rem", - "isRequired": false, - "rightColumn": 37, - "dynamicHeight": "FIXED", - "widgetId": "6gncrklvfu", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": true, - "isVisible": true, - "label": "CheckIn Time", - "version": 2, - "parentId": "43w1eu2cgr", - "minNum": "1", - "renderMode": "CANVAS", - "isLoading": false, - "labelAlignment": "left", - "borderRadius": "0px", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "9", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "checkinTimeMinute", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 6, - "bottomRow": 10, - "parentRowSpace": 10, - "labelWidth": 5, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "59", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.408203125, - "dynamicTriggerPathList": [], - "resetOnSubmit": true, - "leftColumn": 39, - "dynamicBindingPathList": [ - { - "key": "accentColor" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "NUMBER", - "isDisabled": false, - "key": "0y31gt4eai", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 50, - "dynamicHeight": "FIXED", - "widgetId": "f9lu8xq4jn", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": true, - "isVisible": true, - "label": "", - "version": 2, - "parentId": "43w1eu2cgr", - "minNum": "00", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "00", - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "Button7", - "onClick": "{{checkin_js.submitCheckInOut(true)}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "onClick" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 17, - "bottomRow": 21, - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.408203125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 27, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "text": "Submit", - "isDisabled": false, - "key": "3tvnd431dq", - "isDeprecated": false, - "rightColumn": 43, - "isDefaultClickDisabled": true, - "widgetId": "ur8vfo12zk", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "43w1eu2cgr", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ], - "key": "ncw248dxo3", - "isDeprecated": false, - "rightColumn": 166.5, - "detachFromLayout": true, - "widgetId": "43w1eu2cgr", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1, - "parentId": "nvinfosa77", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "borderWidth": "1", - "key": "j7dk3odhvg", - "backgroundColor": "#FFFFFF", - "isDeprecated": false, - "rightColumn": 63, - "dynamicHeight": "FIXED", - "widgetId": "nvinfosa77", - "isVisible": true, - "parentId": "ettijhok6u", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0px", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - } - ], - "isDisabled": false, - "key": "ncw248dxo3", - "isDeprecated": false, - "rightColumn": 468, - "detachFromLayout": true, - "widgetId": "ettijhok6u", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "zo75yjo3yx", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "key": "6cc7pgyyu3", - "height": 332, - "isDeprecated": false, - "rightColumn": 45, - "detachFromLayout": true, - "dynamicHeight": "FIXED", - "widgetId": "zo75yjo3yx", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "width": 456, - "minDynamicHeight": 4 - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Attendance View_checkin_js.verifyLogin", - "name": "checkin_js.verifyLogin", - "collectionId": "Attendance View_checkin_js", - "confirmBeforeExecute": false, - "pluginType": "JS", - "jsonPathKeys": [ - "async () => {\n if (appsmith.store.userData == undefined || !appsmith.store.userData?.emp_id) navigateTo(\"Login Page\");\n}" - ], - "timeoutInMillisecond": 10000 - }, - { - "id": "Attendance View_fetch_attendance", - "name": "fetch_attendance", - "confirmBeforeExecute": false, - "pluginType": "DB", - "jsonPathKeys": [ - "appsmith.store.userData.role==\"admin\" && employee_select.selectedOptionValue?employee_select.selectedOptionValue:appsmith.store.userData.emp_id", - "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-01'", - "attendance_year.selectedOptionValue+'-'+attendance_month.selectedOptionValue+'-30'" - ], - "timeoutInMillisecond": 10000 - } - ], - [ - { - "id": "Attendance View_get_users", - "name": "get_users", - "confirmBeforeExecute": false, - "pluginType": "SAAS", - "jsonPathKeys": [ - "employee_select.filterText", - "employee_select.filterText?'name':''" - ], - "timeoutInMillisecond": 10000 - } - ] - ], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "Attendance View", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [], - "isHidden": false - }, - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630e0a571274f8409e77bc9f" -} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1.json b/pages/Attendance View/widgets/Tabs1.json new file mode 100644 index 0000000..5c78de4 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1.json @@ -0,0 +1,59 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Tabs1", + "isCanvas": true, + "dynamicPropertyPathList": [ + {"key": "isVisible"}, + {"key": "animateLoading"} + ], + "displayName": "Tabs", + "iconSVG": "/static/media/icon.74a6d653c8201e66f1cd367a3fba2657.svg", + "topRow": 0, + "bottomRow": 74, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": false, + "animateLoading": "true", + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [{"key": "onTabSelected"}], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "key": "o3dhtopl9v", + "isDeprecated": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "49z7vd09ql", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "Attendance View", + "onTabSelected": "{{checkin_js.checkinTabSelected()}}", + "shouldShowTabs": true, + "tabsObj": { + "tab1": { + "widgetId": "3x8e7fzu17", + "index": 0, + "label": "Attendance View", + "id": "tab1", + "isVisible": true + }, + "tab2": { + "widgetId": "3imo2jb2xr", + "index": 1, + "label": "Checkin/Checkout", + "id": "tab2", + "isVisible": true + } + }, + "isVisible": "true", + "version": 3, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Button1.json b/pages/Attendance View/widgets/Tabs1/Button1.json new file mode 100644 index 0000000..b1b2a06 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Button1.json @@ -0,0 +1,43 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button1", + "onClick": "{{fetch_attendance.run()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 12.01953125, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 53, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Search\n", + "isDisabled": false, + "key": "nvhr8y1yqn", + "isDeprecated": false, + "rightColumn": 60, + "isDefaultClickDisabled": true, + "widgetId": "fnv2tr6l71", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "3x8e7fzu17", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Button2.json b/pages/Attendance View/widgets/Tabs1/Container2/Button2.json new file mode 100644 index 0000000..aaa59db --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Button2.json @@ -0,0 +1,48 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{checkin_js.submitCheckInOut()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [{"key": "isDisabled"}], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 37, + "bottomRow": 42, + "tooltip": "{{!appsmith.store.location_permission?\"Please enable location\":''}}", + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 12.01953125, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"}, + {"key": "text"}, + {"key": "isDisabled"}, + {"key": "tooltip"} + ], + "text": "{{\ncheckin_js.verifyCheckinout();\n/*\n(async ()=> {\n\tdebugger;\n\tconst response=\n\t await checkin_js.verifyCheckinout();\n\treturn response;\n\t/*.then((response)=>{\n\t\treturn response;\n\t});\n\t\n//\treturn response;\n})()*/\n}}", + "isDisabled": "{{ !appsmith.store.location_permission || ( appsmith.store.checkin_data && appsmith.store.checkin_data!=undefined && appsmith.store.checkin_data.checkout_time)?true:false\n\t\t\t\t\t\t\t}}", + "key": "nvhr8y1yqn", + "isDeprecated": false, + "rightColumn": 15, + "isDefaultClickDisabled": true, + "widgetId": "vhte6brclc", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "83j0oatap0", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1/Container1.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Container1.json new file mode 100644 index 0000000..aab2b91 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Container1.json @@ -0,0 +1,67 @@ +{ + "tabId": "", + "boxShadow": "NONE", + "widgetName": "Container1", + "borderColor": "transparent", + "isCanvas": true, + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 2, + "bottomRow": 21, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [{"key": "isVisible"}], + "children": [{ + "rightColumn": 620, + "widgetName": "Canvas3", + "detachFromLayout": true, + "widgetId": "eozxn8dzfi", + "containerStyle": "none", + "bottomRow": 190, + "topRow": 0, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "parentId": "vsj6dl89uw", + "props": { + "detachFromLayout": true, + "children": [], + "containerStyle": "none", + "canExtend": false + }, + "isLoading": false, + "minHeight": 310, + "renderMode": "CANVAS", + "parentColumnSpace": 1, + "leftColumn": 0 + }], + "borderWidth": "0", + "key": "xm7dwgtt1y", + "backgroundColor": "#eff6ff", + "isDeprecated": false, + "rightColumn": 56, + "dynamicHeight": "FIXED", + "widgetId": "vsj6dl89uw", + "containerStyle": "card", + "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkin_time?true:false}}", + "version": 1, + "parentId": "83j0oatap0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1.json new file mode 100644 index 0000000..8d89f7f --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1.json @@ -0,0 +1,45 @@ +{ + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "CheckIn Time:\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 12, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "haj4tthw1n", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "eozxn8dzfi", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1Copy.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1Copy.json new file mode 100644 index 0000000..29efc1e --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text1Copy.json @@ -0,0 +1,45 @@ +{ + "widgetName": "Text1Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "CheckIn Location:", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 14, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "0haz9yh1k0", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "eozxn8dzfi", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2.json new file mode 100644 index 0000000..2a4a404 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2.json @@ -0,0 +1,46 @@ +{ + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 12, + "bottomRow": 16, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"}, + {"key": "text"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{appsmith.store.checkin_data.checkin_location}}\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 58, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "kglyen4jks", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "eozxn8dzfi", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2Copy.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2Copy.json new file mode 100644 index 0000000..6fb47df --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1/Text2Copy.json @@ -0,0 +1,46 @@ +{ + "widgetName": "Text2Copy", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 4, + "bottomRow": 8, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"}, + {"key": "text"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{appsmith.store.checkin_data.checkin_time}}\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "bhv542urda", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "eozxn8dzfi", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container1Copy/Container1Copy.json b/pages/Attendance View/widgets/Tabs1/Container2/Container1Copy/Container1Copy.json new file mode 100644 index 0000000..4820e1c --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container1Copy/Container1Copy.json @@ -0,0 +1,67 @@ +{ + "tabId": "", + "boxShadow": "NONE", + "widgetName": "Container1Copy", + "borderColor": "transparent", + "isCanvas": true, + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 22, + "bottomRow": 42, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 16, + "dynamicBindingPathList": [{"key": "isVisible"}], + "children": [{ + "rightColumn": 620, + "widgetName": "Canvas3Copy", + "detachFromLayout": true, + "widgetId": "93bofukkw0", + "containerStyle": "none", + "bottomRow": 200, + "topRow": 0, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "parentId": "36prx9esoo", + "props": { + "detachFromLayout": true, + "children": [], + "containerStyle": "none", + "canExtend": false + }, + "isLoading": false, + "minHeight": 310, + "renderMode": "CANVAS", + "parentColumnSpace": 1, + "leftColumn": 0 + }], + "borderWidth": "0", + "key": "xm7dwgtt1y", + "backgroundColor": "#eff6ff", + "isDeprecated": false, + "rightColumn": 56, + "dynamicHeight": "FIXED", + "widgetId": "36prx9esoo", + "containerStyle": "card", + "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkout_time?true:false}}", + "version": 1, + "parentId": "83j0oatap0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Container2.json b/pages/Attendance View/widgets/Tabs1/Container2/Container2.json new file mode 100644 index 0000000..d444ced --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Container2.json @@ -0,0 +1,72 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Container2", + "borderColor": "transparent", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 0, + "bottomRow": 68, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 19.5, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas6", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 680, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 400, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "key": "ibvykxtuw4", + "isDeprecated": false, + "rightColumn": 468, + "detachFromLayout": true, + "widgetId": "83j0oatap0", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "ah3z4jhv10", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "borderWidth": "0", + "key": "xwg7g28xie", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 64, + "dynamicHeight": "FIXED", + "widgetId": "ah3z4jhv10", + "containerStyle": "card", + "isVisible": true, + "version": 1, + "parentId": "3imo2jb2xr", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Container2/Map1.json b/pages/Attendance View/widgets/Tabs1/Container2/Map1.json new file mode 100644 index 0000000..7e8ddb4 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Container2/Map1.json @@ -0,0 +1,41 @@ +{ + "zoomLevel": 75, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Map1", + "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }\n]", + "dynamicPropertyPathList": [{"key": "mapCenter"}], + "displayName": "Map", + "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg", + "topRow": 2, + "bottomRow": 36, + "parentRowSpace": 10, + "type": "MAP_WIDGET", + "hideCard": false, + "animateLoading": true, + "allowZoom": true, + "parentColumnSpace": 12.01953125, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "defaultMarkers"}, + {"key": "mapCenter"} + ], + "enablePickLocation": false, + "mapCenter": " {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }", + "isClickedMarkerCentered": false, + "isDisabled": false, + "enableSearch": false, + "key": "ceo61nnkwo", + "isDeprecated": false, + "rightColumn": 15, + "widgetId": "ejsbg9ozdd", + "enableCreateMarker": false, + "isVisible": true, + "version": 1, + "parentId": "83j0oatap0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/IconButton1.json b/pages/Attendance View/widgets/Tabs1/IconButton1.json new file mode 100644 index 0000000..e4447f6 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/IconButton1.json @@ -0,0 +1,40 @@ +{ + "boxShadow": "none", + "widgetName": "IconButton1", + "onClick": "{{showModal('mark_attendance')}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [{"key": "onClick"}], + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 1, + "bottomRow": 5, + "tooltip": "Mark missed attendance", + "parentRowSpace": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 19.5, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 60, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "isDisabled": false, + "key": "t9ksrmdmm3", + "isDeprecated": false, + "rightColumn": 64, + "iconName": "add", + "widgetId": "u0ike5x5di", + "isVisible": true, + "version": 1, + "parentId": "3x8e7fzu17", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/Table1.json b/pages/Attendance View/widgets/Tabs1/Table1.json new file mode 100644 index 0000000..52835ac --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/Table1.json @@ -0,0 +1,326 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "isVisibleDownload": true, + "iconSVG": "/static/media/icon.db8a9cbd2acd22a31ea91cc37ea2a46c.svg", + "topRow": 10, + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "tableData"}, + {"key": "primaryColumns.id.computedValue"}, + {"key": "primaryColumns.emp_id.computedValue"}, + {"key": "primaryColumns.checkin_time.computedValue"}, + {"key": "primaryColumns.checkout_time.computedValue"}, + {"key": "primaryColumns.checkin_location.computedValue"}, + {"key": "primaryColumns.checkout_location.computedValue"}, + {"key": "primaryColumns.created_date.computedValue"}, + {"key": "primaryColumns.modified_date.computedValue"} + ], + "leftColumn": 0, + "delimiter": ",", + "defaultSelectedRowIndex": 0, + "showInlineEditingOptionDropdown": true, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 1, + "totalRecordsCount": 0, + "isLoading": false, + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1677651523282, + "defaultSelectedRowIndices": [0], + "widgetName": "Table1", + "defaultPageSize": 0, + "columnOrder": [ + "id", + "emp_id", + "checkin_time", + "checkout_time", + "checkin_location", + "checkout_location", + "created_date", + "modified_date" + ], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 72, + "columnWidthMap": { + "task": 245, + "step": 62, + "status": 75 + }, + "parentRowSpace": 10, + "hideCard": false, + "parentColumnSpace": 19.8125, + "dynamicTriggerPathList": [], + "primaryColumns": { + "checkin_time": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkin_time\"]))}}", + "isEditable": false, + "alias": "checkin_time", + "enableSort": true, + "isSaveVisible": true, + "id": "checkin_time", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 2, + "isDiscardVisible": true, + "isVisible": true, + "label": "checkin_time", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "checkin_time", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "checkout_time": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkout_time\"]))}}", + "isEditable": false, + "alias": "checkout_time", + "enableSort": true, + "isSaveVisible": true, + "id": "checkout_time", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 3, + "isDiscardVisible": true, + "isVisible": true, + "label": "checkout_time", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "checkout_time", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "id": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"id\"]))}}", + "isEditable": false, + "alias": "id", + "enableSort": true, + "isSaveVisible": true, + "id": "id", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 0, + "isDiscardVisible": true, + "isVisible": false, + "label": "id", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "id", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "checkout_location": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkout_location\"]))}}", + "isEditable": false, + "alias": "checkout_location", + "enableSort": true, + "isSaveVisible": true, + "id": "checkout_location", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 5, + "isDiscardVisible": true, + "isVisible": true, + "label": "checkout_location", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "checkout_location", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "created_date": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( Date(currentRow[\"created_date\"])))}}", + "isEditable": false, + "alias": "created_date", + "enableSort": true, + "isSaveVisible": true, + "id": "created_date", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 6, + "isDiscardVisible": true, + "isVisible": true, + "label": "created_date", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "created_date", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "modified_date": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"modified_date\"]))}}", + "isEditable": false, + "alias": "modified_date", + "enableSort": true, + "isSaveVisible": true, + "id": "modified_date", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 7, + "isDiscardVisible": true, + "isVisible": false, + "label": "modified_date", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "modified_date", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "emp_id": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"emp_id\"]))}}", + "isEditable": false, + "alias": "emp_id", + "enableSort": true, + "isSaveVisible": true, + "id": "emp_id", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 1, + "isDiscardVisible": true, + "isVisible": true, + "label": "emp_id", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "emp_id", + "cellBackground": "", + "verticalAlignment": "CENTER" + }, + "checkin_location": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"checkin_location\"]))}}", + "isEditable": false, + "alias": "checkin_location", + "enableSort": true, + "isSaveVisible": true, + "id": "checkin_location", + "isDisabled": false, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 4, + "isDiscardVisible": true, + "isVisible": true, + "label": "checkin_location", + "textColor": "", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "checkin_location", + "cellBackground": "", + "verticalAlignment": "CENTER" + } + }, + "key": "d30j7jgqhf", + "canFreezeColumn": false, + "isDeprecated": false, + "rightColumn": 64, + "textSize": "0.875rem", + "widgetId": "a9dw80h09p", + "tableData": "{{fetch_attendance.data}}", + "label": "Data", + "searchKey": "", + "parentId": "3x8e7fzu17", + "renderMode": "CANVAS", + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/attendance_month.json b/pages/Attendance View/widgets/Tabs1/attendance_month.json new file mode 100644 index 0000000..80b86f8 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/attendance_month.json @@ -0,0 +1,48 @@ +{ + "boxShadow": "none", + "widgetName": "attendance_month", + "isFilterable": true, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", + "labelText": "Select a Month", + "searchTags": ["dropdown"], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "labelWidth": "6", + "type": "SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( \n \n(new Date().getMonth()+1).toString()\n\n))(attendance_month.options, attendance_month.serverSideFiltering) }}", + "animateLoading": true, + "parentColumnSpace": 10.0576171875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "defaultOptionValue"} + ], + "labelPosition": "Left", + "options": "[\n {\n \"label\": \"January\",\n \"value\": \"1\"\n },\n {\n \"label\": \"February\",\n \"value\": \"2\"\n },\n {\n \"label\": \"March\",\n \"value\": \"3\"\n },\n\t{\n \"label\": \"April\",\n \"value\": \"4\"\n },\n {\n \"label\": \"May\",\n \"value\": \"5\"\n },\n {\n \"label\": \"June\",\n \"value\": \"6\"\n },\n\t{\n \"label\": \"July\",\n \"value\": \"7\"\n },\n {\n \"label\": \"August\",\n \"value\": \"8\"\n },\n {\n \"label\": \"September\",\n \"value\": \"9\"\n },\n\t{\n \"label\": \"October\",\n \"value\": \"10\"\n },\n {\n \"label\": \"November\",\n \"value\": \"11\"\n },\n {\n \"label\": \"December\",\n \"value\": \"12\"\n }\n]", + "labelStyle": "BOLD", + "placeholderText": "Select option", + "isDisabled": false, + "key": "qett92xl6j", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 16, + "dynamicHeight": "FIXED", + "widgetId": "kpurh4ja84", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "parentId": "3x8e7fzu17", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/attendance_year.json b/pages/Attendance View/widgets/Tabs1/attendance_year.json new file mode 100644 index 0000000..3a50e6c --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/attendance_year.json @@ -0,0 +1,49 @@ +{ + "boxShadow": "none", + "widgetName": "attendance_year", + "isFilterable": true, + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", + "labelText": "Year", + "searchTags": ["dropdown"], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "labelWidth": "0", + "type": "SELECT_WIDGET", + "serverSideFiltering": false, + "hideCard": false, + "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( \n \nnew Date().getFullYear().toString()\n\n))(attendance_year.options, attendance_year.serverSideFiltering) }}", + "animateLoading": true, + "parentColumnSpace": 10.0576171875, + "dynamicTriggerPathList": [], + "leftColumn": 17, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "defaultOptionValue"}, + {"key": "options"} + ], + "labelPosition": "Left", + "options": "{{ function()\n { \n let start_year = 1920; //change start year for year picker \n let end_year = 2120; //change end year for year picker \n let years = []; \n for (let i = start_year;i<= end_year;i++)\n { \n let current_year_object = { \"label\":i.toString(), \"value\":i.toString()}\n years.push(current_year_object) \n } \n return years; \n }\n () }}", + "labelStyle": "BOLD", + "placeholderText": "", + "isDisabled": false, + "key": "qett92xl6j", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 27, + "dynamicHeight": "FIXED", + "widgetId": "j77ra3t93p", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "parentId": "3x8e7fzu17", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/Tabs1/employee_select.json b/pages/Attendance View/widgets/Tabs1/employee_select.json new file mode 100644 index 0000000..69ff9a0 --- /dev/null +++ b/pages/Attendance View/widgets/Tabs1/employee_select.json @@ -0,0 +1,51 @@ +{ + "boxShadow": "none", + "widgetName": "employee_select", + "isFilterable": true, + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Select", + "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg", + "labelText": "Employee Name", + "searchTags": ["dropdown"], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "labelWidth": "6", + "type": "SELECT_WIDGET", + "serverSideFiltering": true, + "hideCard": false, + "defaultOptionValue": "{{ ((options, serverSideFiltering) => ( appsmith.store.userData.emp_id))(employee_select.options, employee_select.serverSideFiltering) }}", + "animateLoading": true, + "parentColumnSpace": 19.5, + "dynamicTriggerPathList": [{"key": "onFilterUpdate"}], + "leftColumn": 29, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "isVisible"}, + {"key": "defaultOptionValue"}, + {"key": "options"} + ], + "labelPosition": "Left", + "options": "{{ get_users.data.map((row) => { \n return { label: row.name+ ' ('+row.emp_id+')', value: row.emp_id } \n }) \n}}", + "placeholderText": "Select option", + "isDisabled": false, + "key": "s5pxgzhu7p", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 45, + "dynamicHeight": "FIXED", + "widgetId": "sn9ha8hgye", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": "{{appsmith.store.userData.role==\"admin\"}}", + "version": 1, + "parentId": "3x8e7fzu17", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "onFilterUpdate": "{{get_users.run()}}", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/IconButton2.json b/pages/Attendance View/widgets/mark_attendance/IconButton2.json new file mode 100644 index 0000000..625b824 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/IconButton2.json @@ -0,0 +1,36 @@ +{ + "boxShadow": "none", + "widgetName": "IconButton2", + "onClick": "{{closeModal('mark_attendance')}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 1, + "bottomRow": 5, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "leftColumn": 56, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "iconSize": 24, + "isDisabled": false, + "key": "t9ksrmdmm3", + "isDeprecated": false, + "rightColumn": 64, + "iconName": "cross", + "widgetId": "r4yaa2w6g8", + "isVisible": true, + "version": 1, + "parentId": "ettijhok6u", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/Text3.json b/pages/Attendance View/widgets/mark_attendance/Text3.json new file mode 100644 index 0000000..2f61018 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/Text3.json @@ -0,0 +1,43 @@ +{ + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Mark Attendance", + "key": "ebkwogcfzu", + "isDeprecated": false, + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "ueun85dp1p", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "ettijhok6u", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance.json new file mode 100644 index 0000000..7151f67 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance.json @@ -0,0 +1,72 @@ +{ + "boxShadow": "none", + "widgetName": "mark_attendance", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", + "searchTags": [ + "dialog", + "popup", + "notification" + ], + "topRow": 15, + "bottomRow": 39, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 19.5, + "leftColumn": 21, + "dynamicBindingPathList": [{"key": "borderRadius"}], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas4", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 330, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 332, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "isDisabled": false, + "key": "ncw248dxo3", + "isDeprecated": false, + "rightColumn": 468, + "detachFromLayout": true, + "widgetId": "ettijhok6u", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "parentId": "zo75yjo3yx", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "key": "6cc7pgyyu3", + "height": 332, + "isDeprecated": false, + "rightColumn": 45, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "zo75yjo3yx", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 456, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button5.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button5.json new file mode 100644 index 0000000..d9182c8 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button5.json @@ -0,0 +1,37 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Button5", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 62, + "bottomRow": 66, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 46, + "dynamicBindingPathList": [{"key": "buttonColor"}], + "text": "Submit", + "isDisabled": false, + "key": "qtfl0f223c", + "isDeprecated": false, + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "bg1ajarxfd", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "43w1eu2cgr", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": true, + "borderRadius": "0.375rem", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button6.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button6.json new file mode 100644 index 0000000..ce5613f --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button6.json @@ -0,0 +1,37 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Button6", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 62, + "bottomRow": 66, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 28, + "dynamicBindingPathList": [{"key": "buttonColor"}], + "text": "Reset", + "isDisabled": false, + "key": "qtfl0f223c", + "isDeprecated": false, + "rightColumn": 44, + "isDefaultClickDisabled": true, + "widgetId": "f45co2vjfx", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "43w1eu2cgr", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "0.375rem", + "buttonVariant": "SECONDARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button7.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button7.json new file mode 100644 index 0000000..8aa88b1 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/Button7.json @@ -0,0 +1,44 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button7", + "onClick": "{{checkin_js.submitCheckInOut(true)}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [{"key": "onClick"}], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 17, + "bottomRow": 21, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.408203125, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 27, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Submit", + "isDisabled": false, + "key": "3tvnd431dq", + "isDeprecated": false, + "rightColumn": 43, + "isDefaultClickDisabled": true, + "widgetId": "ur8vfo12zk", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "43w1eu2cgr", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/CheckinDate.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/CheckinDate.json new file mode 100644 index 0000000..aff2135 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/CheckinDate.json @@ -0,0 +1,57 @@ +{ + "boxShadow": "none", + "widgetName": "CheckinDate", + "minDate": "{{moment(new Date(new Date().setFullYear(new Date().getFullYear() -1 ))\n).format('Y-MM-DD')}}\n\t", + "dateFormat": "YYYY-MM-DD", + "dynamicPropertyPathList": [ + {"key": "minDate"}, + {"key": "defaultDate"}, + {"key": "maxDate"} + ], + "displayName": "DatePicker", + "iconSVG": "/static/media/icon.300e5ab8e2e1c26c7a0bad06116842b7.svg", + "searchTags": ["calendar"], + "topRow": 2, + "bottomRow": 6, + "shortcuts": false, + "parentRowSpace": 10, + "labelWidth": "15", + "type": "DATE_PICKER_WIDGET2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.408203125, + "dynamicTriggerPathList": [], + "leftColumn": 11, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "defaultDate"}, + {"key": "minDate"}, + {"key": "maxDate"} + ], + "labelPosition": "Left", + "isDisabled": false, + "key": "eo3a7srwgn", + "labelTextSize": "0.875rem", + "isRequired": true, + "defaultDate": "{{moment(new Date(Date.now() - 24 * 3600 * 1000) \n).format('Y-MM-DD')\n}}", + "isDeprecated": false, + "rightColumn": 50, + "dynamicHeight": "FIXED", + "widgetId": "wwxyw4ouxn", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "datePickerType": "DATE_PICKER", + "label": "Date", + "version": 2, + "parentId": "43w1eu2cgr", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "timePrecision": "None", + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "firstDayOfWeek": 0, + "closeOnSelection": true, + "maxDate": "{{moment(new Date(Date.now() - 24 * 3600 * 1000) \n).format('Y-MM-DD')\n}}", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkInTime.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkInTime.json new file mode 100644 index 0000000..4f0aca2 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkInTime.json @@ -0,0 +1,45 @@ +{ + "boxShadow": "none", + "widgetName": "checkInTime", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "labelWidth": "15", + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "24", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 20.0625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 11, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "NUMBER", + "isDisabled": false, + "key": "7ir5yap5zb", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 37, + "dynamicHeight": "FIXED", + "widgetId": "6gncrklvfu", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": true, + "isVisible": true, + "label": "CheckIn Time", + "version": 2, + "parentId": "43w1eu2cgr", + "minNum": "1", + "renderMode": "CANVAS", + "isLoading": false, + "labelAlignment": "left", + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "9", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkOutTime.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkOutTime.json new file mode 100644 index 0000000..5338551 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkOutTime.json @@ -0,0 +1,45 @@ +{ + "boxShadow": "none", + "widgetName": "checkOutTime", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595.svg", + "topRow": 11, + "bottomRow": 15, + "parentRowSpace": 10, + "labelWidth": "15", + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "24", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 20.0625, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 11, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "NUMBER", + "isDisabled": false, + "key": "7ir5yap5zb", + "labelTextSize": "0.875rem", + "isRequired": false, + "rightColumn": 37, + "dynamicHeight": "FIXED", + "widgetId": "fshyt7k6xh", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": true, + "isVisible": true, + "label": "CheckOut", + "version": 2, + "parentId": "43w1eu2cgr", + "minNum": "1", + "renderMode": "CANVAS", + "isLoading": false, + "labelAlignment": "left", + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "6", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkinTimeMinute.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkinTimeMinute.json new file mode 100644 index 0000000..7338f3d --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkinTimeMinute.json @@ -0,0 +1,52 @@ +{ + "boxShadow": "none", + "widgetName": "checkinTimeMinute", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "labelWidth": 5, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "59", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.408203125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 39, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "NUMBER", + "isDisabled": false, + "key": "0y31gt4eai", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 50, + "dynamicHeight": "FIXED", + "widgetId": "f9lu8xq4jn", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": true, + "isVisible": true, + "label": "", + "version": 2, + "parentId": "43w1eu2cgr", + "minNum": "00", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "00", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkoutTimeMinute.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkoutTimeMinute.json new file mode 100644 index 0000000..fcbbd27 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/checkoutTimeMinute.json @@ -0,0 +1,52 @@ +{ + "boxShadow": "none", + "widgetName": "checkoutTimeMinute", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 11, + "bottomRow": 15, + "parentRowSpace": 10, + "labelWidth": 5, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "59", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.408203125, + "dynamicTriggerPathList": [], + "resetOnSubmit": true, + "leftColumn": 39, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "NUMBER", + "isDisabled": false, + "key": "0y31gt4eai", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 50, + "dynamicHeight": "FIXED", + "widgetId": "4eo4gqwb8y", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": true, + "isVisible": true, + "label": "", + "version": 2, + "parentId": "43w1eu2cgr", + "minNum": "00", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "00", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/mark_attendance_form.json b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/mark_attendance_form.json new file mode 100644 index 0000000..3b83050 --- /dev/null +++ b/pages/Attendance View/widgets/mark_attendance/mark_attendance_form/mark_attendance_form.json @@ -0,0 +1,64 @@ +{ + "boxShadow": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)", + "widgetName": "mark_attendance_form", + "borderColor": "#d4d4d8", + "isCanvas": true, + "displayName": "Form", + "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", + "searchTags": ["group"], + "topRow": 5, + "bottomRow": 31, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 1, + "dynamicBindingPathList": [], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas5", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 660, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 400, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "key": "ncw248dxo3", + "isDeprecated": false, + "rightColumn": 166.5, + "detachFromLayout": true, + "widgetId": "43w1eu2cgr", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "nvinfosa77", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "borderWidth": "1", + "key": "j7dk3odhvg", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 63, + "dynamicHeight": "FIXED", + "widgetId": "nvinfosa77", + "isVisible": true, + "parentId": "ettijhok6u", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0px", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /Check in .json b/pages/Check in /Check in .json new file mode 100644 index 0000000..c164b2a --- /dev/null +++ b/pages/Check in /Check in .json @@ -0,0 +1,43 @@ +{ + "unpublishedPage": { + "name": "Check in ", + "slug": "check-in", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1224, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 500, + "containerStyle": "none", + "snapRows": 85, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 77, + "minHeight": 860, + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0 + }, + "layoutOnLoadActions": [], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Check in ", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": true + }, + "deleted": false, + "gitSyncId": "630858db4e42b8633778f286_630e0a681274f8409e77bca3" +} \ No newline at end of file diff --git a/pages/Check in /canvas.json b/pages/Check in /canvas.json deleted file mode 100644 index 436c375..0000000 --- a/pages/Check in /canvas.json +++ /dev/null @@ -1,755 +0,0 @@ -{ - "unpublishedPage": { - "name": "Check in ", - "slug": "check-in", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1224, - "snapColumns": 64, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0, - "bottomRow": 500, - "containerStyle": "none", - "snapRows": 85, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 77, - "minHeight": 860, - "parentColumnSpace": 1, - "dynamicBindingPathList": [], - "leftColumn": 0, - "children": [ - { - "tabId": "", - "boxShadow": "NONE", - "widgetName": "Container1", - "borderColor": "transparent", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 9, - "bottomRow": 29, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 21, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "rightColumn": 620, - "widgetName": "Canvas3", - "detachFromLayout": true, - "widgetId": "cy3jewsjve", - "containerStyle": "none", - "bottomRow": 200, - "topRow": 0, - "parentRowSpace": 1, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1, - "parentId": "hyrhwsj20h", - "props": { - "containerStyle": "none", - "canExtend": false, - "detachFromLayout": true, - "children": [] - }, - "isLoading": false, - "minHeight": 310, - "renderMode": "CANVAS", - "parentColumnSpace": 1, - "leftColumn": 0, - "children": [ - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 12, - "bottomRow": 16, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkin_location}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 58, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "3083wuyz7k", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "cy3jewsjve", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1Copy2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 8, - "bottomRow": 12, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckIn Location:", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 14, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "1dxtioz8o6", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "cy3jewsjve", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text2Copy2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 4, - "bottomRow": 8, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkin_time}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 64, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "6ki66v7n4m", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "cy3jewsjve", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 0, - "bottomRow": 4, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckIn Time:\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 12, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "58ahihcspz", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "cy3jewsjve", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - } - ] - } - ], - "borderWidth": "0", - "key": "xm7dwgtt1y", - "backgroundColor": "#eff6ff", - "isDeprecated": false, - "rightColumn": 61, - "dynamicHeight": "FIXED", - "widgetId": "hyrhwsj20h", - "containerStyle": "card", - "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkin_time?true:false}}", - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "zoomLevel": 75, - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Map1", - "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }\n]", - "dynamicPropertyPathList": [ - { - "key": "mapCenter" - } - ], - "displayName": "Map", - "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg", - "topRow": 9, - "bottomRow": 39, - "parentRowSpace": 10, - "type": "MAP_WIDGET", - "hideCard": false, - "animateLoading": true, - "allowZoom": true, - "parentColumnSpace": 12.01953125, - "dynamicTriggerPathList": [], - "leftColumn": 3, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "boxShadow" - }, - { - "key": "defaultMarkers" - }, - { - "key": "mapCenter" - } - ], - "enablePickLocation": false, - "mapCenter": " {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }", - "isClickedMarkerCentered": false, - "isDisabled": false, - "enableSearch": false, - "key": "ceo61nnkwo", - "isDeprecated": false, - "rightColumn": 20, - "widgetId": "41oh9fujp8", - "enableCreateMarker": false, - "isVisible": true, - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "Button2", - "onClick": "{{checkin_js.submitCheckInOut()}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 40, - "bottomRow": 45, - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 12.01953125, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 3, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - }, - { - "key": "isVisible" - } - ], - "text": "{{\ncheckin_js.verifyCheckinout();\n/*\n(async ()=> {\n\tdebugger;\n\tconst response=\n\t await checkin_js.verifyCheckinout();\n\treturn response;\n\t/*.then((response)=>{\n\t\treturn response;\n\t});\n\t\n//\treturn response;\n})()*/\n}}", - "isDisabled": false, - "key": "nvhr8y1yqn", - "isDeprecated": false, - "rightColumn": 20, - "isDefaultClickDisabled": true, - "widgetId": "ke0aj0cgme", - "isVisible": "{{appsmith.store.checkin_data && appsmith.store.checkin_data!=undefined && appsmith.store.checkin_data.checkout_time?false:true}}", - "recaptchaType": "V3", - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - }, - { - "tabId": "", - "boxShadow": "NONE", - "widgetName": "Container1Copy", - "borderColor": "transparent", - "isCanvas": true, - "dynamicPropertyPathList": [ - { - "key": "isVisible" - } - ], - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 30, - "bottomRow": 50, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 21, - "dynamicBindingPathList": [ - { - "key": "isVisible" - } - ], - "children": [ - { - "rightColumn": 620, - "widgetName": "Canvas3Copy", - "detachFromLayout": true, - "widgetId": "g5wwoe9ozi", - "containerStyle": "none", - "bottomRow": 200, - "topRow": 0, - "parentRowSpace": 1, - "isVisible": true, - "type": "CANVAS_WIDGET", - "canExtend": false, - "version": 1, - "parentId": "vlq32ej8bo", - "props": { - "containerStyle": "none", - "canExtend": false, - "detachFromLayout": true, - "children": [] - }, - "isLoading": false, - "minHeight": 310, - "renderMode": "CANVAS", - "parentColumnSpace": 1, - "leftColumn": 0, - "children": [ - { - "widgetName": "Text2Copy1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 12, - "bottomRow": 16, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkout_location}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 58, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "s18582hsk7", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "g5wwoe9ozi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1CopyCopy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 8, - "bottomRow": 12, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckOut Location:", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 14, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "jfgeg2zk3u", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "g5wwoe9ozi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text2CopyCopy", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 4, - "bottomRow": 8, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "{{appsmith.store.checkin_data.checkout_time}}\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 64, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "8x5hj647zd", - "isVisible": true, - "fontStyle": "", - "textColor": "#231F20", - "version": 1, - "parentId": "g5wwoe9ozi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1Copy1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 0, - "bottomRow": 4, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 9.6875, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "CheckOut Time:\n", - "key": "9bxvcdx1ly", - "isDeprecated": false, - "rightColumn": 12, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "bjmu8c6sfu", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "g5wwoe9ozi", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - } - ] - } - ], - "borderWidth": "0", - "key": "xm7dwgtt1y", - "backgroundColor": "#eff6ff", - "isDeprecated": false, - "rightColumn": 61, - "dynamicHeight": "FIXED", - "widgetId": "vlq32ej8bo", - "containerStyle": "card", - "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkout_time?true:false}}", - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "0.375rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "widgetName": "Audio1", - "displayName": "Audio", - "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", - "searchTags": [ - "mp3", - "sound", - "wave", - "player" - ], - "topRow": 1, - "bottomRow": 5, - "parentRowSpace": 10, - "type": "AUDIO_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "leftColumn": 0, - "dynamicBindingPathList": [], - "key": "qtm4bdbvt6", - "isDeprecated": false, - "rightColumn": 9, - "widgetId": "j566z2vrj2", - "minWidth": 450, - "isVisible": true, - "version": 1, - "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "autoPlay": false - } - ] - }, - "layoutOnLoadActions": [], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "Check in ", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [], - "isHidden": true - }, - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630e0a681274f8409e77bca3" -} \ No newline at end of file diff --git a/pages/Check in /widgets/Audio1.json b/pages/Check in /widgets/Audio1.json new file mode 100644 index 0000000..d56b62f --- /dev/null +++ b/pages/Check in /widgets/Audio1.json @@ -0,0 +1,33 @@ +{ + "widgetName": "Audio1", + "displayName": "Audio", + "iconSVG": "/static/media/icon.cb54df7a09016b0af5e520895be927b9.svg", + "searchTags": [ + "mp3", + "sound", + "wave", + "player" + ], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "AUDIO_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "qtm4bdbvt6", + "isDeprecated": false, + "rightColumn": 9, + "widgetId": "j566z2vrj2", + "minWidth": 450, + "isVisible": true, + "version": 1, + "url": "https://assets.appsmith.com/widgets/birds_chirping.mp3", + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "autoPlay": false +} \ No newline at end of file diff --git a/pages/Check in /widgets/Button2.json b/pages/Check in /widgets/Button2.json new file mode 100644 index 0000000..9884a15 --- /dev/null +++ b/pages/Check in /widgets/Button2.json @@ -0,0 +1,46 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button2", + "onClick": "{{checkin_js.submitCheckInOut()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 40, + "bottomRow": 45, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 12.01953125, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 3, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"}, + {"key": "text"}, + {"key": "isVisible"} + ], + "text": "{{\ncheckin_js.verifyCheckinout();\n/*\n(async ()=> {\n\tdebugger;\n\tconst response=\n\t await checkin_js.verifyCheckinout();\n\treturn response;\n\t/*.then((response)=>{\n\t\treturn response;\n\t});\n\t\n//\treturn response;\n})()*/\n}}", + "isDisabled": false, + "key": "nvhr8y1yqn", + "isDeprecated": false, + "rightColumn": 20, + "isDefaultClickDisabled": true, + "widgetId": "ke0aj0cgme", + "isVisible": "{{appsmith.store.checkin_data && appsmith.store.checkin_data!=undefined && appsmith.store.checkin_data.checkout_time?false:true}}", + "recaptchaType": "V3", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1/Container1.json b/pages/Check in /widgets/Container1/Container1.json new file mode 100644 index 0000000..5a7bb24 --- /dev/null +++ b/pages/Check in /widgets/Container1/Container1.json @@ -0,0 +1,67 @@ +{ + "tabId": "", + "boxShadow": "NONE", + "widgetName": "Container1", + "borderColor": "transparent", + "isCanvas": true, + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 9, + "bottomRow": 29, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{"key": "isVisible"}], + "children": [{ + "rightColumn": 620, + "widgetName": "Canvas3", + "detachFromLayout": true, + "widgetId": "cy3jewsjve", + "containerStyle": "none", + "bottomRow": 200, + "topRow": 0, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "parentId": "hyrhwsj20h", + "props": { + "detachFromLayout": true, + "children": [], + "containerStyle": "none", + "canExtend": false + }, + "isLoading": false, + "minHeight": 310, + "renderMode": "CANVAS", + "parentColumnSpace": 1, + "leftColumn": 0 + }], + "borderWidth": "0", + "key": "xm7dwgtt1y", + "backgroundColor": "#eff6ff", + "isDeprecated": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "hyrhwsj20h", + "containerStyle": "card", + "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkin_time?true:false}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1/Text1.json b/pages/Check in /widgets/Container1/Text1.json new file mode 100644 index 0000000..d4bc4df --- /dev/null +++ b/pages/Check in /widgets/Container1/Text1.json @@ -0,0 +1,45 @@ +{ + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 0, + "bottomRow": 4, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "CheckIn Time:\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 12, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "58ahihcspz", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "cy3jewsjve", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1/Text1Copy2.json b/pages/Check in /widgets/Container1/Text1Copy2.json new file mode 100644 index 0000000..0bc2f8f --- /dev/null +++ b/pages/Check in /widgets/Container1/Text1Copy2.json @@ -0,0 +1,45 @@ +{ + "widgetName": "Text1Copy2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 8, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "CheckIn Location:", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 14, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "1dxtioz8o6", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "cy3jewsjve", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1/Text2.json b/pages/Check in /widgets/Container1/Text2.json new file mode 100644 index 0000000..87aa04f --- /dev/null +++ b/pages/Check in /widgets/Container1/Text2.json @@ -0,0 +1,46 @@ +{ + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 12, + "bottomRow": 16, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"}, + {"key": "text"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{appsmith.store.checkin_data.checkin_location}}\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 58, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "3083wuyz7k", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "cy3jewsjve", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1/Text2Copy2.json b/pages/Check in /widgets/Container1/Text2Copy2.json new file mode 100644 index 0000000..30fbc52 --- /dev/null +++ b/pages/Check in /widgets/Container1/Text2Copy2.json @@ -0,0 +1,46 @@ +{ + "widgetName": "Text2Copy2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 4, + "bottomRow": 8, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"}, + {"key": "text"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "{{appsmith.store.checkin_data.checkin_time}}\n", + "key": "9bxvcdx1ly", + "isDeprecated": false, + "rightColumn": 64, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "6ki66v7n4m", + "isVisible": true, + "fontStyle": "", + "textColor": "#231F20", + "version": 1, + "parentId": "cy3jewsjve", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Container1Copy/Container1Copy.json b/pages/Check in /widgets/Container1Copy/Container1Copy.json new file mode 100644 index 0000000..f4ef698 --- /dev/null +++ b/pages/Check in /widgets/Container1Copy/Container1Copy.json @@ -0,0 +1,67 @@ +{ + "tabId": "", + "boxShadow": "NONE", + "widgetName": "Container1Copy", + "borderColor": "transparent", + "isCanvas": true, + "dynamicPropertyPathList": [{"key": "isVisible"}], + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 30, + "bottomRow": 50, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 9.6875, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{"key": "isVisible"}], + "children": [{ + "rightColumn": 620, + "widgetName": "Canvas3Copy", + "detachFromLayout": true, + "widgetId": "g5wwoe9ozi", + "containerStyle": "none", + "bottomRow": 200, + "topRow": 0, + "parentRowSpace": 1, + "isVisible": true, + "type": "CANVAS_WIDGET", + "canExtend": false, + "version": 1, + "parentId": "vlq32ej8bo", + "props": { + "detachFromLayout": true, + "children": [], + "containerStyle": "none", + "canExtend": false + }, + "isLoading": false, + "minHeight": 310, + "renderMode": "CANVAS", + "parentColumnSpace": 1, + "leftColumn": 0 + }], + "borderWidth": "0", + "key": "xm7dwgtt1y", + "backgroundColor": "#eff6ff", + "isDeprecated": false, + "rightColumn": 61, + "dynamicHeight": "FIXED", + "widgetId": "vlq32ej8bo", + "containerStyle": "card", + "isVisible": "{{appsmith.store.checkin_data&&appsmith.store.checkin_data.checkout_time?true:false}}", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "0.375rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Check in /widgets/Map1.json b/pages/Check in /widgets/Map1.json new file mode 100644 index 0000000..b732c43 --- /dev/null +++ b/pages/Check in /widgets/Map1.json @@ -0,0 +1,41 @@ +{ + "zoomLevel": 75, + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Map1", + "defaultMarkers": "[\n {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }\n]", + "dynamicPropertyPathList": [{"key": "mapCenter"}], + "displayName": "Map", + "iconSVG": "/static/media/icon.ddde7d1b6b4d64050fde21a347260464.svg", + "topRow": 9, + "bottomRow": 39, + "parentRowSpace": 10, + "type": "MAP_WIDGET", + "hideCard": false, + "animateLoading": true, + "allowZoom": true, + "parentColumnSpace": 12.01953125, + "dynamicTriggerPathList": [], + "leftColumn": 3, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "defaultMarkers"}, + {"key": "mapCenter"} + ], + "enablePickLocation": false, + "mapCenter": " {\n \"lat\": {{appsmith.store.current_location.coords.latitude}},\n \"long\": {{appsmith.store.current_location.coords.longitude}},\n \"title\": \"Location1\"\n }", + "isClickedMarkerCentered": false, + "isDisabled": false, + "enableSearch": false, + "key": "ceo61nnkwo", + "isDeprecated": false, + "rightColumn": 20, + "widgetId": "41oh9fujp8", + "enableCreateMarker": false, + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" +} \ No newline at end of file diff --git a/pages/Login Page Copy/Login Page Copy.json b/pages/Login Page Copy/Login Page Copy.json new file mode 100644 index 0000000..ae9ee1b --- /dev/null +++ b/pages/Login Page Copy/Login Page Copy.json @@ -0,0 +1,44 @@ +{ + "unpublishedPage": { + "name": "Login Page Copy", + "slug": "login-page-copy", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 4896, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 540, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 77, + "minHeight": 1292, + "dynamicTriggerPathList": [], + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0 + }, + "layoutOnLoadActions": [], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Login Page Copy", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": true + }, + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_6318b99a9b89144767c6e61d" +} \ No newline at end of file diff --git a/pages/Login Page Copy/canvas.json b/pages/Login Page Copy/canvas.json deleted file mode 100644 index 631849f..0000000 --- a/pages/Login Page Copy/canvas.json +++ /dev/null @@ -1,526 +0,0 @@ -{ - "unpublishedPage": { - "name": "Login Page Copy", - "slug": "login-page-copy", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 4896, - "snapColumns": 64, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0, - "bottomRow": 540, - "containerStyle": "none", - "snapRows": 125, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 77, - "minHeight": 1292, - "dynamicTriggerPathList": [], - "parentColumnSpace": 1, - "dynamicBindingPathList": [], - "leftColumn": 0, - "children": [ - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Form1", - "isCanvas": true, - "displayName": "Form", - "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", - "searchTags": [ - "group" - ], - "topRow": 22, - "bottomRow": 54, - "parentRowSpace": 10, - "type": "FORM_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 20.0625, - "dynamicTriggerPathList": [], - "leftColumn": 21, - "dynamicBindingPathList": [ - { - "key": "boxShadow" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 320, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "minHeight": 400, - "parentColumnSpace": 1, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "otpinput", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "onSubmit": "{{OTP_JS_new.activateOtp()}}", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 14, - "bottomRow": 18, - "parentRowSpace": 10, - "labelWidth": "10", - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "9999", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.703125, - "dynamicTriggerPathList": [ - { - "key": "onSubmit" - } - ], - "resetOnSubmit": true, - "leftColumn": 2, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isDisabled" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "TEXT", - "maxChars": "4", - "isDisabled": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)==null}}", - "key": "vpfdc0mxxg", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 46, - "dynamicHeight": "FIXED", - "widgetId": "z2wmwspmy2", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "label": "OTP", - "version": 2, - "parentId": "z0bl65jy97", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "", - "minDynamicHeight": 4 - }, - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 1, - "bottomRow": 5, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "dynamicTriggerPathList": [], - "leftColumn": 24, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Sign In", - "key": "exugpfn86p", - "isDeprecated": false, - "rightColumn": 41, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "ll9xcj4zz3", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "1.25rem", - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Submit", - "onClick": "{{OTP_JS_new.verifyOtp()}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - }, - { - "key": "onClick" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 25, - "bottomRow": 29, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 47, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isDisabled" - } - ], - "text": "Submit", - "isDisabled": "{{\n\totpinput.text && otpinput.text.toString().length==4?false:true\n}}", - "key": "jih2wsz0e5", - "isDeprecated": false, - "rightColumn": 63, - "isDefaultClickDisabled": true, - "widgetId": "4iwu4nn66t", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Button2", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 25, - "bottomRow": 29, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "leftColumn": 30, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "text": "Reset", - "isDisabled": false, - "key": "jih2wsz0e5", - "isDeprecated": false, - "rightColumn": 46, - "isDefaultClickDisabled": true, - "widgetId": "6yone78jzx", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "SECONDARY", - "placement": "CENTER" - }, - { - "boxShadow": "none", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "topRow": 9, - "labelWidth": "10", - "type": "INPUT_WIDGET_V2", - "animateLoading": true, - "resetOnSubmit": true, - "leftColumn": 2, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "validation" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Enter a valid EmailId", - "maxChars": "", - "isDisabled": false, - "validation": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}", - "isRequired": false, - "dynamicHeight": "FIXED", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 2, - "isLoading": false, - "regex": "", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "widgetName": "email", - "dynamicPropertyPathList": [ - { - "key": "onTextChanged" - } - ], - "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "bottomRow": 13, - "parentRowSpace": 10, - "autoFocus": false, - "hideCard": false, - "parentColumnSpace": 4.703125, - "dynamicTriggerPathList": [ - { - "key": "onTextChanged" - } - ], - "labelPosition": "Left", - "key": "vpfdc0mxxg", - "labelTextSize": "0.875rem", - "onTextChanged": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}", - "isDeprecated": false, - "rightColumn": 46, - "widgetId": "4tmuwntxbm", - "errorMessage": "Not a valid value\t", - "label": "Email", - "parentId": "z0bl65jy97", - "labelAlignment": "left", - "renderMode": "CANVAS", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "", - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "send_otp_buuton", - "onClick": "{{\n\t (async ()=>{if(email.text.match(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null)\n\t{\n\t\tOTP_JS_new.activateOtp();\t\n\t}\n\t})();\n}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "onClick" - }, - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 9, - "bottomRow": 13, - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 6.8076171875, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 47, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isDisabled" - } - ], - "text": "Send OTP", - "isDisabled": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)==null}}", - "key": "aningclfca", - "isDeprecated": false, - "rightColumn": 63, - "isDefaultClickDisabled": true, - "widgetId": "tjnmbxfl7g", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ], - "key": "kc3dl7m92e", - "isDeprecated": false, - "rightColumn": 481.5, - "detachFromLayout": true, - "widgetId": "z0bl65jy97", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1, - "parentId": "n9fb2nl8jp", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "key": "c0oi9kluvt", - "backgroundColor": "#fafafa", - "isDeprecated": false, - "rightColumn": 44, - "dynamicHeight": "FIXED", - "widgetId": "n9fb2nl8jp", - "isVisible": true, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "1.5rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": false, - "boxShadow": "none", - "widgetName": "Button3", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 15, - "bottomRow": 19, - "parentRowSpace": 10, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "text": "Submit", - "isDisabled": false, - "key": "oalkg0w6tp", - "isDeprecated": false, - "rightColumn": 15, - "isDefaultClickDisabled": true, - "widgetId": "s3j9q2hhl8", - "minWidth": 120, - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "hug", - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - } - ] - }, - "layoutOnLoadActions": [], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "Login Page Copy", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [], - "isHidden": true - }, - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b99a9b89144767c6e61d" -} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Button3.json b/pages/Login Page Copy/widgets/Button3.json new file mode 100644 index 0000000..0790ae0 --- /dev/null +++ b/pages/Login Page Copy/widgets/Button3.json @@ -0,0 +1,43 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "Button3", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 15, + "bottomRow": 19, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Submit", + "isDisabled": false, + "key": "oalkg0w6tp", + "isDeprecated": false, + "rightColumn": 15, + "isDefaultClickDisabled": true, + "widgetId": "s3j9q2hhl8", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "hug", + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/Button2.json b/pages/Login Page Copy/widgets/Form1/Button2.json new file mode 100644 index 0000000..db75ffb --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/Button2.json @@ -0,0 +1,39 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Button2", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 25, + "bottomRow": 29, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "leftColumn": 30, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Reset", + "isDisabled": false, + "key": "jih2wsz0e5", + "isDeprecated": false, + "rightColumn": 46, + "isDefaultClickDisabled": true, + "widgetId": "6yone78jzx", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/Form1.json b/pages/Login Page Copy/widgets/Form1/Form1.json new file mode 100644 index 0000000..d3beb8c --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/Form1.json @@ -0,0 +1,62 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Form1", + "isCanvas": true, + "displayName": "Form", + "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", + "searchTags": ["group"], + "topRow": 22, + "bottomRow": 54, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 20.0625, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{"key": "boxShadow"}], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 320, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 400, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "key": "kc3dl7m92e", + "isDeprecated": false, + "rightColumn": 481.5, + "detachFromLayout": true, + "widgetId": "z0bl65jy97", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "n9fb2nl8jp", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "key": "c0oi9kluvt", + "backgroundColor": "#fafafa", + "isDeprecated": false, + "rightColumn": 44, + "dynamicHeight": "FIXED", + "widgetId": "n9fb2nl8jp", + "isVisible": true, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "1.5rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/Submit.json b/pages/Login Page Copy/widgets/Form1/Submit.json new file mode 100644 index 0000000..e1f6334 --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/Submit.json @@ -0,0 +1,46 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Submit", + "onClick": "{{OTP_JS_new.verifyOtp()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [ + {"key": "isDisabled"}, + {"key": "onClick"} + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 25, + "bottomRow": 29, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 47, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"}, + {"key": "isDisabled"} + ], + "text": "Submit", + "isDisabled": "{{\n\totpinput.text && otpinput.text.toString().length==4?false:true\n}}", + "key": "jih2wsz0e5", + "isDeprecated": false, + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "4iwu4nn66t", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/Text1.json b/pages/Login Page Copy/widgets/Form1/Text1.json new file mode 100644 index 0000000..539c317 --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/Text1.json @@ -0,0 +1,43 @@ +{ + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicTriggerPathList": [], + "leftColumn": 24, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Sign In", + "key": "exugpfn86p", + "isDeprecated": false, + "rightColumn": 41, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "ll9xcj4zz3", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1.25rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/email.json b/pages/Login Page Copy/widgets/Form1/email.json new file mode 100644 index 0000000..ecfc622 --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/email.json @@ -0,0 +1,60 @@ +{ + "boxShadow": "none", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "topRow": 9, + "labelWidth": "10", + "type": "INPUT_WIDGET_V2", + "animateLoading": true, + "resetOnSubmit": true, + "leftColumn": 2, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "validation"} + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Enter a valid EmailId", + "maxChars": "", + "isDisabled": false, + "validation": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}", + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 2, + "isLoading": false, + "regex": "", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "widgetName": "email", + "dynamicPropertyPathList": [{"key": "onTextChanged"}], + "displayName": "Input", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "hideCard": false, + "parentColumnSpace": 4.703125, + "dynamicTriggerPathList": [{"key": "onTextChanged"}], + "labelPosition": "Left", + "key": "vpfdc0mxxg", + "labelTextSize": "0.875rem", + "onTextChanged": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null}}", + "isDeprecated": false, + "rightColumn": 46, + "widgetId": "4tmuwntxbm", + "errorMessage": "Not a valid value\t", + "label": "Email", + "parentId": "z0bl65jy97", + "labelAlignment": "left", + "renderMode": "CANVAS", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/otpinput.json b/pages/Login Page Copy/widgets/Form1/otpinput.json new file mode 100644 index 0000000..328f75c --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/otpinput.json @@ -0,0 +1,57 @@ +{ + "boxShadow": "none", + "widgetName": "otpinput", + "dynamicPropertyPathList": [{"key": "isDisabled"}], + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "onSubmit": "{{OTP_JS_new.activateOtp()}}", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "labelWidth": "10", + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "9999", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.703125, + "dynamicTriggerPathList": [{"key": "onSubmit"}], + "resetOnSubmit": true, + "leftColumn": 2, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "isDisabled"} + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "TEXT", + "maxChars": "4", + "isDisabled": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)==null}}", + "key": "vpfdc0mxxg", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 46, + "dynamicHeight": "FIXED", + "widgetId": "z2wmwspmy2", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "OTP", + "version": 2, + "parentId": "z0bl65jy97", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page Copy/widgets/Form1/send_otp_buuton.json b/pages/Login Page Copy/widgets/Form1/send_otp_buuton.json new file mode 100644 index 0000000..607e3ee --- /dev/null +++ b/pages/Login Page Copy/widgets/Form1/send_otp_buuton.json @@ -0,0 +1,48 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "widgetName": "send_otp_buuton", + "onClick": "{{\n\t (async ()=>{if(email.text.match(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)!=null)\n\t{\n\t\tOTP_JS_new.activateOtp();\t\n\t}\n\t})();\n}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [ + {"key": "onClick"}, + {"key": "isDisabled"} + ], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 9, + "bottomRow": 13, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 6.8076171875, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 47, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"}, + {"key": "isDisabled"} + ], + "text": "Send OTP", + "isDisabled": "{{email.text.match( /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/)==null}}", + "key": "aningclfca", + "isDeprecated": false, + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "tjnmbxfl7g", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page/Login Page.json b/pages/Login Page/Login Page.json new file mode 100644 index 0000000..dcf57fc --- /dev/null +++ b/pages/Login Page/Login Page.json @@ -0,0 +1,58 @@ +{ + "unpublishedPage": { + "name": "Login Page", + "slug": "login-page", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 4896, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 540, + "containerStyle": "none", + "snapRows": 125, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 80, + "minHeight": 1292, + "dynamicTriggerPathList": [], + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0 + }, + "layoutOnLoadActions": [ + [ + { + "id": "Login Page_OTP_JS.verifyLogin", + "name": "OTP_JS.verifyLogin", + "collectionId": "Login Page_OTP_JS", + "confirmBeforeExecute": false, + "pluginType": "JS", + "jsonPathKeys": [ + "async () => {\n if (appsmith.store.userData != undefined && appsmith.store.userData.emp_id) navigateTo(\"Attendance View\");\n}" + ], + "timeoutInMillisecond": 10000 + } + ] + ], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "Login Page", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": true + }, + "deleted": false, + "gitSyncId": "630858db4e42b8633778f286_630858db4e42b8633778f288" +} \ No newline at end of file diff --git a/pages/Login Page/canvas.json b/pages/Login Page/canvas.json deleted file mode 100644 index 63f27b7..0000000 --- a/pages/Login Page/canvas.json +++ /dev/null @@ -1,638 +0,0 @@ -{ - "unpublishedPage": { - "name": "Login Page", - "slug": "login-page", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 4896, - "snapColumns": 64, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0, - "bottomRow": 540, - "containerStyle": "none", - "snapRows": 125, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 80, - "minHeight": 1292, - "dynamicTriggerPathList": [], - "parentColumnSpace": 1, - "dynamicBindingPathList": [], - "leftColumn": 0, - "children": [ - { - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "widgetName": "Form1", - "isCanvas": true, - "displayName": "Form", - "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", - "searchTags": [ - "group" - ], - "topRow": 22, - "bottomRow": 54, - "parentRowSpace": 10, - "type": "FORM_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 20.0625, - "dynamicTriggerPathList": [], - "leftColumn": 21, - "dynamicBindingPathList": [ - { - "key": "boxShadow" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 320, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "minHeight": 400, - "parentColumnSpace": 1, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 1, - "bottomRow": 5, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "dynamicTriggerPathList": [], - "leftColumn": 23, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Sign In", - "key": "exugpfn86p", - "isDeprecated": false, - "rightColumn": 40, - "textAlign": "LEFT", - "dynamicHeight": "FIXED", - "widgetId": "4o6l5r6yps", - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "1.25rem", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "topRow": 9, - "labelWidth": "", - "type": "INPUT_WIDGET_V2", - "animateLoading": true, - "resetOnSubmit": true, - "leftColumn": 1, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - } - ], - "labelStyle": "", - "inputType": "TEXT", - "placeholderText": "Enter a valid phone no", - "maxChars": "10", - "isDisabled": false, - "validation": "", - "isRequired": false, - "dynamicHeight": "FIXED", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 2, - "isLoading": false, - "regex": "^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "widgetName": "mobile", - "dynamicPropertyPathList": [ - { - "key": "onTextChanged" - } - ], - "displayName": "Input", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "bottomRow": 13, - "parentRowSpace": 10, - "autoFocus": false, - "hideCard": false, - "parentColumnSpace": 4.703125, - "dynamicTriggerPathList": [ - { - "key": "onTextChanged" - } - ], - "labelPosition": "Left", - "key": "vpfdc0mxxg", - "labelTextSize": "0.875rem", - "onTextChanged": "{{\n\t await(async ()=>{if(mobile.text.match(/^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$/)!=null)\n\t{\n\t\tdebugger;\n\t\tif(otpinput.text && otpinput.text!=undefined) otpinput.text.clear;\n\t\tawait Fetch_otp_details.run({mobile:mobile.text}).then((response)=>{\n \t\t\t console.log(Fetch_otp_details.data)});\n\t\t\t\t//debugger;\n\n\t}\n\t\t\t })();\n}}", - "isDeprecated": false, - "rightColumn": 62, - "widgetId": "46hcyki4fw", - "errorMessage": "Not a valid value\t", - "label": "Mobile", - "parentId": "z0bl65jy97", - "labelAlignment": "left", - "renderMode": "CANVAS", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "otpinput", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "onSubmit": "{{OTP_JS.activateOtp()}}", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 14, - "bottomRow": 18, - "parentRowSpace": 10, - "labelWidth": "", - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "maxNum": "", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 4.703125, - "dynamicTriggerPathList": [ - { - "key": "onSubmit" - } - ], - "resetOnSubmit": true, - "leftColumn": 1, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isDisabled" - } - ], - "labelPosition": "Left", - "labelStyle": "", - "inputType": "NUMBER", - "isDisabled": "{{mobile.text.match(/^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$/)==null}}", - "key": "vpfdc0mxxg", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 62, - "dynamicHeight": "FIXED", - "widgetId": "o4ihk197af", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": true, - "isVisible": true, - "label": "OTP", - "version": 2, - "parentId": "z0bl65jy97", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "", - "minDynamicHeight": 4 - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Submit", - "onClick": "{{OTP_JS.verifyOtp()}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "dynamicPropertyPathList": [ - { - "key": "isDisabled" - } - ], - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 25, - "bottomRow": 29, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [ - { - "key": "onClick" - } - ], - "leftColumn": 47, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - }, - { - "key": "isDisabled" - } - ], - "text": "Submit", - "isDisabled": "{{\n\totpinput.text && otpinput.text.toString().length==4?false:true\n}}", - "key": "jih2wsz0e5", - "isDeprecated": false, - "rightColumn": 63, - "isDefaultClickDisabled": true, - "widgetId": "hhw27h2wol", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": true, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "PRIMARY", - "placement": "CENTER" - }, - { - "resetFormOnClick": true, - "boxShadow": "none", - "widgetName": "Button2", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Button", - "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 25, - "bottomRow": 29, - "type": "BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "leftColumn": 29, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "text": "Reset", - "isDisabled": false, - "key": "jih2wsz0e5", - "isDeprecated": false, - "rightColumn": 45, - "isDefaultClickDisabled": true, - "widgetId": "qbddfxrktn", - "isVisible": true, - "recaptchaType": "V3", - "version": 1, - "parentId": "z0bl65jy97", - "renderMode": "CANVAS", - "isLoading": false, - "disabledWhenInvalid": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "SECONDARY", - "placement": "CENTER" - } - ], - "key": "kc3dl7m92e", - "isDeprecated": false, - "rightColumn": 481.5, - "detachFromLayout": true, - "widgetId": "z0bl65jy97", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "containerStyle": "none", - "isVisible": true, - "version": 1, - "parentId": "n9fb2nl8jp", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "key": "c0oi9kluvt", - "backgroundColor": "#fafafa", - "isDeprecated": false, - "rightColumn": 44, - "dynamicHeight": "FIXED", - "widgetId": "n9fb2nl8jp", - "isVisible": true, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "1.5rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "signinerror_modal", - "isCanvas": true, - "displayName": "Modal", - "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", - "searchTags": [ - "dialog", - "popup", - "notification" - ], - "topRow": 2, - "bottomRow": 26, - "parentRowSpace": 10, - "type": "MODAL_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 6.8076171875, - "leftColumn": 23, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "Canvas2", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 170, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "hideCard": true, - "shouldScrollContents": false, - "minHeight": 174, - "parentColumnSpace": 1, - "dynamicTriggerPathList": [], - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "borderRadius" - }, - { - "key": "accentColor" - } - ], - "children": [ - { - "boxShadow": "none", - "widgetName": "IconButton1", - "onClick": "{{closeModal('signinerror_modal')}}", - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "displayName": "Icon Button", - "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", - "searchTags": [ - "click", - "submit" - ], - "topRow": 0, - "bottomRow": 4, - "type": "ICON_BUTTON_WIDGET", - "hideCard": false, - "animateLoading": true, - "dynamicTriggerPathList": [], - "leftColumn": 56, - "dynamicBindingPathList": [ - { - "key": "buttonColor" - }, - { - "key": "borderRadius" - } - ], - "iconSize": 24, - "isDisabled": false, - "key": "lm2q63kbce", - "isDeprecated": false, - "rightColumn": 64, - "iconName": "cross", - "widgetId": "5ztn8n1lwh", - "isVisible": false, - "version": 1, - "parentId": "pfei1eih9p", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "buttonVariant": "TERTIARY" - }, - { - "widgetName": "Text2", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 7, - "bottomRow": 11, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 6.9375, - "dynamicTriggerPathList": [], - "leftColumn": 11, - "dynamicBindingPathList": [ - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "#FFC13D", - "text": "Invalid mobile/email. ", - "key": "zz1ok5z9yf", - "isDeprecated": false, - "rightColumn": 49, - "textAlign": "CENTER", - "dynamicHeight": "FIXED", - "widgetId": "96ch0mwxpx", - "isVisible": true, - "fontStyle": "", - "textColor": "#ef4444", - "version": 1, - "parentId": "pfei1eih9p", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "0.875rem", - "minDynamicHeight": 4 - } - ], - "isDisabled": false, - "key": "aqdbphkju2", - "isDeprecated": false, - "rightColumn": 163.3828125, - "detachFromLayout": true, - "widgetId": "pfei1eih9p", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "64xye5e1q8", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - ], - "key": "tdlv7gvtsk", - "height": 174, - "isDeprecated": false, - "rightColumn": 47, - "detachFromLayout": true, - "dynamicHeight": "FIXED", - "widgetId": "64xye5e1q8", - "canOutsideClickClose": true, - "canEscapeKeyClose": true, - "version": 2, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "width": 308, - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "AudioRecorder1", - "displayName": "Audio Recorder", - "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", - "searchTags": [ - "sound recorder", - "voice recorder" - ], - "topRow": 30, - "bottomRow": 37, - "parentRowSpace": 10, - "type": "AUDIO_RECORDER_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 19.8125, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - } - ], - "isDisabled": false, - "key": "3h24airi79", - "isDeprecated": false, - "rightColumn": 13, - "widgetId": "ampmprds4d", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "iconColor": "white" - } - ] - }, - "layoutOnLoadActions": [ - [ - { - "id": "Login Page_OTP_JS.verifyLogin", - "name": "OTP_JS.verifyLogin", - "collectionId": "Login Page_OTP_JS", - "confirmBeforeExecute": false, - "pluginType": "JS", - "jsonPathKeys": [ - "async () => {\n if (appsmith.store.userData != undefined && appsmith.store.userData.emp_id) navigateTo(\"Attendance View\");\n}" - ], - "timeoutInMillisecond": 10000 - } - ] - ], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "Login Page", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [], - "isHidden": true - }, - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630858db4e42b8633778f288" -} \ No newline at end of file diff --git a/pages/Login Page/jsobjects/OTP_JS/OTP_JS.js b/pages/Login Page/jsobjects/OTP_JS/OTP_JS.js deleted file mode 100644 index a21e304..0000000 --- a/pages/Login Page/jsobjects/OTP_JS/OTP_JS.js +++ /dev/null @@ -1,34 +0,0 @@ -export default -{ - myVar1: [], - myVar2: {}, - myFun1: () => { - //write code here - }, - verifyLogin:async()=>{ - if(appsmith.store.userData!=undefined && appsmith.store.userData.emp_id) navigateTo("Attendance View"); - }, - redirectToMainpage: async ()=>{ - storeValue("userData",Fetch_otp_details.data[0]); - navigateTo('Attendance View'); - - }, - activateOtp: async()=>{ - console.log(otpinput); - //document.getElementById('otpinput').attr('enabled',true); - }, - verifyOtp:async ()=> - { - let empDetails=await Fetch_otp_details.run({'mobile':mobile.text}); - if(empDetails.length>0) - { - if(Form1.data.otpinput!=undefined && Form1.data.otpinput.toString() == empDetails[0].otp) - { - storeValue("userData",empDetails[0]); - navigateTo('Attendance View'); - } - } - else - showModal('signinerror_modal'); - } -} \ No newline at end of file diff --git a/pages/Login Page/jsobjects/OTP_JS/metadata.json b/pages/Login Page/jsobjects/OTP_JS/metadata.json deleted file mode 100644 index 907cd50..0000000 --- a/pages/Login Page/jsobjects/OTP_JS/metadata.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "unpublishedCollection": { - "name": "OTP_JS", - "pageId": "Login Page", - "pluginId": "js-plugin", - "pluginType": "JS", - "actions": [], - "archivedActions": [], - "variables": [ - { - "name": "myVar1", - "value": "[]" - }, - { - "name": "myVar2", - "value": "{}" - } - ], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b8d59b89144767c6e60e" -} \ No newline at end of file diff --git a/pages/Login Page/jsobjects/OTP_JS_new/OTP_JS_new.js b/pages/Login Page/jsobjects/OTP_JS_new/OTP_JS_new.js deleted file mode 100644 index ab23d42..0000000 --- a/pages/Login Page/jsobjects/OTP_JS_new/OTP_JS_new.js +++ /dev/null @@ -1,37 +0,0 @@ -export default -{ - myVar1: [], - myVar2: {}, - myFun1: () => { - //write code here - }, - myFun2: async () => { - //use async-await or promises - }, - redirectToMainpage: async ()=>{ - storeValue("userData",Fetch_otp_details.data[0]); - navigateTo('Attendance View'); - - }, - activateOtp:async ()=>{ - debugger; - let userdata=await Fetch_otp_details.run({email:email.text}); - - storeValue("userData",userdata[0]); - if(userdata.length>0) - { - let otp=Math.floor(1000 + Math.random() * 9000); - generate_otp.run({'emp_id':userdata[0].emp_id,'otp':otp}); - send_otp_email.run({'email':email.text,'otp':otp}); - storeValue("otp",otp); - } - - }, - verifyOtp: async ()=> - { - debugger; - let otpdata=await verify_otp_query.run({'emp_id':appsmith.store.userData.emp_id,'otp':appsmith.store.otp}); - if(otpdata.length>1) this.redirectToMainpage(); - //console.log(otpdata); - } -} \ No newline at end of file diff --git a/pages/Login Page/jsobjects/OTP_JS_new/metadata.json b/pages/Login Page/jsobjects/OTP_JS_new/metadata.json deleted file mode 100644 index 5fa38a9..0000000 --- a/pages/Login Page/jsobjects/OTP_JS_new/metadata.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "unpublishedCollection": { - "name": "OTP_JS_new", - "pageId": "Login Page", - "pluginId": "js-plugin", - "pluginType": "JS", - "actions": [], - "archivedActions": [], - "variables": [ - { - "name": "myVar1", - "value": "[]" - }, - { - "name": "myVar2", - "value": "{}" - } - ], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new", - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630dc996a159817a116483c4" -} \ No newline at end of file diff --git a/pages/Login Page/queries/Api1/Api1.txt b/pages/Login Page/queries/Api1/Api1.txt deleted file mode 100644 index e69de29..0000000 diff --git a/pages/Login Page/queries/Api1/metadata.json b/pages/Login Page/queries/Api1/metadata.json deleted file mode 100644 index bcd50da..0000000 --- a/pages/Login Page/queries/Api1/metadata.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "pluginType": "API", - "pluginId": "restapi-plugin", - "unpublishedAction": { - "name": "Api1", - "datasource": { - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "datasourceConfiguration": { - "sshProxyEnabled": false, - "url": "http://localhost:3000" - }, - "invalids": [], - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "path": "/lambda", - "headers": [], - "autoGeneratedHeaders": [], - "encodeParamsToggle": true, - "queryParameters": [], - "bodyFormData": [], - "httpMethod": "GET", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": false, - "dynamicBindingPathList": [], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_Api1", - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_6311dfa7c160fc2c1305a926" -} \ No newline at end of file diff --git a/pages/Login Page/queries/Api2/Api2.txt b/pages/Login Page/queries/Api2/Api2.txt deleted file mode 100644 index e69de29..0000000 diff --git a/pages/Login Page/queries/Api2/metadata.json b/pages/Login Page/queries/Api2/metadata.json deleted file mode 100644 index d0f23b9..0000000 --- a/pages/Login Page/queries/Api2/metadata.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "pluginType": "API", - "pluginId": "restapi-plugin", - "unpublishedAction": { - "name": "Api2", - "datasource": { - "name": "DEFAULT_REST_DATASOURCE", - "pluginId": "restapi-plugin", - "invalids": [ - "No datasource configuration found. Please configure it and try again." - ], - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "headers": [ - { - "key": "", - "value": "" - }, - { - "key": "", - "value": "" - } - ], - "encodeParamsToggle": true, - "queryParameters": [ - { - "key": "", - "value": "" - }, - { - "key": "", - "value": "" - } - ], - "body": "", - "bodyFormData": [], - "httpMethod": "GET", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [ - { - "value": true - } - ], - "formData": { - "apiContentType": "none" - } - }, - "executeOnLoad": false, - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_Api2", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6348fb6661a6260030f0b545" -} \ No newline at end of file diff --git a/pages/Login Page/queries/Fetch_otp_details/Fetch_otp_details.txt b/pages/Login Page/queries/Fetch_otp_details/Fetch_otp_details.txt deleted file mode 100644 index e69de29..0000000 diff --git a/pages/Login Page/queries/Fetch_otp_details/metadata.json b/pages/Login Page/queries/Fetch_otp_details/metadata.json deleted file mode 100644 index 37e85b4..0000000 --- a/pages/Login Page/queries/Fetch_otp_details/metadata.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "pluginType": "SAAS", - "pluginId": "google-sheets-plugin", - "unpublishedAction": { - "name": "Fetch_otp_details", - "datasource": { - "name": "OTP Sheet", - "pluginId": "google-sheets-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "OTP Sheet", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "", - "selfReferencingDataPaths": [], - "formData": { - "command": { - "data": "FETCH_MANY" - }, - "entityType": { - "data": "ROWS" - }, - "pagination": { - "data": { - "limit": "20", - "offset": "0" - } - }, - "projection": { - "data": [ - "emp_id", - "name", - "mobile", - "email", - "role", - "otp" - ] - }, - "queryFormat": { - "data": "ROWS" - }, - "range": { - "data": "" - }, - "sheetName": { - "data": "Sheet1" - }, - "sheetUrl": { - "data": "https://docs.google.com/spreadsheets/d/1tMQhKSUykOjoJ4zP4Z5qOO7GM_ndm0aIA-aS6SqJ1xA/edit", - "componentData": "https://docs.google.com/spreadsheets/d/1tMQhKSUykOjoJ4zP4Z5qOO7GM_ndm0aIA-aS6SqJ1xA/edit", - "viewType": "json", - "jsonData": "https://docs.google.com/spreadsheets/d/1tMQhKSUykOjoJ4zP4Z5qOO7GM_ndm0aIA-aS6SqJ1xA/edit" - }, - "smartSubstitution": { - "data": true - }, - "sortBy": { - "data": [ - { - "column": "", - "order": "Ascending" - } - ] - }, - "tableHeaderIndex": { - "data": "1" - }, - "where": { - "data": { - "condition": "AND", - "children": [ - { - "condition": "EQ", - "key": "mobile", - "value": "{{this.params.mobile}}" - } - ] - } - } - } - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "formData.where.data.children[0].value" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "this.params.mobile" - ], - "userSetOnLoad": true, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_Fetch_otp_details", - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630ddfaea159817a116485ec" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS-activateOtp/metadata.json b/pages/Login Page/queries/OTP_JS-activateOtp/metadata.json deleted file mode 100644 index 986b900..0000000 --- a/pages/Login Page/queries/OTP_JS-activateOtp/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "activateOtp", - "fullyQualifiedName": "OTP_JS.activateOtp", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS.activateOtp", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b8d59b89144767c6e606" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS-myFun1/metadata.json b/pages/Login Page/queries/OTP_JS-myFun1/metadata.json deleted file mode 100644 index dc23670..0000000 --- a/pages/Login Page/queries/OTP_JS-myFun1/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "myFun1", - "fullyQualifiedName": "OTP_JS.myFun1", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS.myFun1", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b8d59b89144767c6e607" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS-redirectToMainpage/metadata.json b/pages/Login Page/queries/OTP_JS-redirectToMainpage/metadata.json deleted file mode 100644 index 5e2f44e..0000000 --- a/pages/Login Page/queries/OTP_JS-redirectToMainpage/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "redirectToMainpage", - "fullyQualifiedName": "OTP_JS.redirectToMainpage", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS.redirectToMainpage", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b93aedfb4e0b6ffd3d72" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS-verifyLogin/metadata.json b/pages/Login Page/queries/OTP_JS-verifyLogin/metadata.json deleted file mode 100644 index b1fdb39..0000000 --- a/pages/Login Page/queries/OTP_JS-verifyLogin/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "verifyLogin", - "fullyQualifiedName": "OTP_JS.verifyLogin", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": true, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": true, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS.verifyLogin", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_631b0c8fa1facb4f102b9fdc" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS-verifyOtp/metadata.json b/pages/Login Page/queries/OTP_JS-verifyOtp/metadata.json deleted file mode 100644 index ed4e55a..0000000 --- a/pages/Login Page/queries/OTP_JS-verifyOtp/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "verifyOtp", - "fullyQualifiedName": "OTP_JS.verifyOtp", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS.verifyOtp", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318b8d59b89144767c6e604" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS_new-activateOtp/metadata.json b/pages/Login Page/queries/OTP_JS_new-activateOtp/metadata.json deleted file mode 100644 index 76d0486..0000000 --- a/pages/Login Page/queries/OTP_JS_new-activateOtp/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "activateOtp", - "fullyQualifiedName": "OTP_JS_new.activateOtp", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS_new", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new.activateOtp", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_63189f1f754d3647bfaccfd4" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS_new-myFun1/metadata.json b/pages/Login Page/queries/OTP_JS_new-myFun1/metadata.json deleted file mode 100644 index 93618ec..0000000 --- a/pages/Login Page/queries/OTP_JS_new-myFun1/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "myFun1", - "fullyQualifiedName": "OTP_JS_new.myFun1", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS_new", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": false - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new.myFun1", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318adbb1df89313e257c300" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS_new-myFun2/metadata.json b/pages/Login Page/queries/OTP_JS_new-myFun2/metadata.json deleted file mode 100644 index 8168c77..0000000 --- a/pages/Login Page/queries/OTP_JS_new-myFun2/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "myFun2", - "fullyQualifiedName": "OTP_JS_new.myFun2", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS_new", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new.myFun2", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318adbb1df89313e257c2ff" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS_new-redirectToMainpage/metadata.json b/pages/Login Page/queries/OTP_JS_new-redirectToMainpage/metadata.json deleted file mode 100644 index ee62e16..0000000 --- a/pages/Login Page/queries/OTP_JS_new-redirectToMainpage/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "redirectToMainpage", - "fullyQualifiedName": "OTP_JS_new.redirectToMainpage", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS_new", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new.redirectToMainpage", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_631829a9edfb4e0b6ffd2f51" -} \ No newline at end of file diff --git a/pages/Login Page/queries/OTP_JS_new-verifyOtp/metadata.json b/pages/Login Page/queries/OTP_JS_new-verifyOtp/metadata.json deleted file mode 100644 index 026a120..0000000 --- a/pages/Login Page/queries/OTP_JS_new-verifyOtp/metadata.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "pluginType": "JS", - "pluginId": "js-plugin", - "unpublishedAction": { - "name": "verifyOtp", - "fullyQualifiedName": "OTP_JS_new.verifyOtp", - "datasource": { - "name": "UNUSED_DATASOURCE", - "pluginId": "js-plugin", - "messages": [], - "isAutoGenerated": false, - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "collectionId": "Login Page_OTP_JS_new", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "selfReferencingDataPaths": [], - "jsArguments": [], - "isAsync": true - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_OTP_JS_new.verifyOtp", - "deleted": false, - "gitSyncId": "630858db4e42b8633778f286_630df255a159817a116487fa" -} \ No newline at end of file diff --git a/pages/Login Page/queries/generate_otp/generate_otp.txt b/pages/Login Page/queries/generate_otp/generate_otp.txt deleted file mode 100644 index e2253c6..0000000 --- a/pages/Login Page/queries/generate_otp/generate_otp.txt +++ /dev/null @@ -1,2 +0,0 @@ -update login_otp set is_active=0 where emp_id='{{this.params.emp_id}}'; -insert in to login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}}); \ No newline at end of file diff --git a/pages/Login Page/queries/generate_otp/metadata.json b/pages/Login Page/queries/generate_otp/metadata.json deleted file mode 100644 index cc87aef..0000000 --- a/pages/Login Page/queries/generate_otp/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "pluginType": "DB", - "pluginId": "mysql-plugin", - "unpublishedAction": { - "name": "generate_otp", - "datasource": { - "name": "Employees", - "pluginId": "mysql-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Employees", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "update login_otp set is_active=0 where emp_id='{{this.params.emp_id}}';\ninsert in to login_otp (emp_id,otp) values ('{{this.params.emp_id}}',{{this.params.otp}});", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "this.params.emp_id", - "this.params.otp" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_generate_otp", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_63189dfe1df89313e257c1c6" -} \ No newline at end of file diff --git a/pages/Login Page/queries/send_otp_email/metadata.json b/pages/Login Page/queries/send_otp_email/metadata.json deleted file mode 100644 index 2d7e986..0000000 --- a/pages/Login Page/queries/send_otp_email/metadata.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "pluginType": "DB", - "pluginId": "smtp-plugin", - "unpublishedAction": { - "name": "send_otp_email", - "datasource": { - "name": "Mandrill Email", - "pluginId": "smtp-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Mandrill Email", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "Your email OTP is {{this.params.otp}}", - "selfReferencingDataPaths": [], - "formData": { - "command": "SEND", - "send": { - "from": "ginil.pg@gmail.com", - "to": "{{this.params.email}}", - "subject": "Your email OTP is {{this.params.otp}}", - "bodyType": "text/html" - } - } - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "formData.send.to" - }, - { - "key": "formData.send.subject" - }, - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "this.params.email", - "this.params.otp" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_send_otp_email", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_63189cf6edfb4e0b6ffd3b47" -} \ No newline at end of file diff --git a/pages/Login Page/queries/send_otp_email/send_otp_email.txt b/pages/Login Page/queries/send_otp_email/send_otp_email.txt deleted file mode 100644 index 3cc52e8..0000000 --- a/pages/Login Page/queries/send_otp_email/send_otp_email.txt +++ /dev/null @@ -1 +0,0 @@ -Your email OTP is {{this.params.otp}} \ No newline at end of file diff --git a/pages/Login Page/queries/verify_otp_query/metadata.json b/pages/Login Page/queries/verify_otp_query/metadata.json deleted file mode 100644 index 36c8570..0000000 --- a/pages/Login Page/queries/verify_otp_query/metadata.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "pluginType": "DB", - "pluginId": "mysql-plugin", - "unpublishedAction": { - "name": "verify_otp_query", - "datasource": { - "name": "Employees", - "pluginId": "mysql-plugin", - "messages": [], - "isAutoGenerated": false, - "id": "Employees", - "deleted": false, - "policies": [], - "userPermissions": [] - }, - "pageId": "Login Page", - "actionConfiguration": { - "timeoutInMillisecond": 10000, - "paginationType": "NONE", - "encodeParamsToggle": true, - "body": "SELECT id FROM login_otp where emp_id = '{{this.params.emp_id}}' and otp={{this.params.otp}} and is_active=1 limit 1;\n", - "selfReferencingDataPaths": [], - "pluginSpecifiedTemplates": [ - { - "value": false - } - ] - }, - "executeOnLoad": false, - "dynamicBindingPathList": [ - { - "key": "body" - } - ], - "isValid": true, - "invalids": [], - "messages": [], - "jsonPathKeys": [ - "this.params.emp_id", - "this.params.otp" - ], - "userSetOnLoad": false, - "confirmBeforeExecute": false, - "policies": [], - "userPermissions": [] - }, - "id": "Login Page_verify_otp_query", - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_6318a4e1edfb4e0b6ffd3be8" -} \ No newline at end of file diff --git a/pages/Login Page/queries/verify_otp_query/verify_otp_query.txt b/pages/Login Page/queries/verify_otp_query/verify_otp_query.txt deleted file mode 100644 index b3cd283..0000000 --- a/pages/Login Page/queries/verify_otp_query/verify_otp_query.txt +++ /dev/null @@ -1 +0,0 @@ -SELECT id FROM login_otp where emp_id = '{{this.params.emp_id}}' and otp={{this.params.otp}} and is_active=1 limit 1; diff --git a/pages/Login Page/widgets/AudioRecorder1.json b/pages/Login Page/widgets/AudioRecorder1.json new file mode 100644 index 0000000..b510760 --- /dev/null +++ b/pages/Login Page/widgets/AudioRecorder1.json @@ -0,0 +1,35 @@ +{ + "boxShadow": "none", + "widgetName": "AudioRecorder1", + "displayName": "Audio Recorder", + "iconSVG": "/static/media/icon.3cb03cd8ed8464c5725a5d89a8fa563f.svg", + "searchTags": [ + "sound recorder", + "voice recorder" + ], + "topRow": 30, + "bottomRow": 37, + "parentRowSpace": 10, + "type": "AUDIO_RECORDER_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 19.8125, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "isDisabled": false, + "key": "3h24airi79", + "isDeprecated": false, + "rightColumn": 13, + "widgetId": "ampmprds4d", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "iconColor": "white" +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/Button2.json b/pages/Login Page/widgets/Form1/Button2.json new file mode 100644 index 0000000..f569ca7 --- /dev/null +++ b/pages/Login Page/widgets/Form1/Button2.json @@ -0,0 +1,39 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Button2", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 25, + "bottomRow": 29, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "leftColumn": 29, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Reset", + "isDisabled": false, + "key": "jih2wsz0e5", + "isDeprecated": false, + "rightColumn": 45, + "isDefaultClickDisabled": true, + "widgetId": "qbddfxrktn", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "SECONDARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/Form1.json b/pages/Login Page/widgets/Form1/Form1.json new file mode 100644 index 0000000..d3beb8c --- /dev/null +++ b/pages/Login Page/widgets/Form1/Form1.json @@ -0,0 +1,62 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "widgetName": "Form1", + "isCanvas": true, + "displayName": "Form", + "iconSVG": "/static/media/icon.ea3e08d130e59c56867ae40114c10eed.svg", + "searchTags": ["group"], + "topRow": 22, + "bottomRow": 54, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 20.0625, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [{"key": "boxShadow"}], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 320, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 400, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "key": "kc3dl7m92e", + "isDeprecated": false, + "rightColumn": 481.5, + "detachFromLayout": true, + "widgetId": "z0bl65jy97", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "containerStyle": "none", + "isVisible": true, + "version": 1, + "parentId": "n9fb2nl8jp", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "key": "c0oi9kluvt", + "backgroundColor": "#fafafa", + "isDeprecated": false, + "rightColumn": 44, + "dynamicHeight": "FIXED", + "widgetId": "n9fb2nl8jp", + "isVisible": true, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "1.5rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/Submit.json b/pages/Login Page/widgets/Form1/Submit.json new file mode 100644 index 0000000..281e229 --- /dev/null +++ b/pages/Login Page/widgets/Form1/Submit.json @@ -0,0 +1,43 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "widgetName": "Submit", + "onClick": "{{OTP_JS.verifyOtp()}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "dynamicPropertyPathList": [{"key": "isDisabled"}], + "displayName": "Button", + "iconSVG": "/static/media/icon.cca026338f1c8eb6df8ba03d084c2fca.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 25, + "bottomRow": 29, + "type": "BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [{"key": "onClick"}], + "leftColumn": 47, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"}, + {"key": "isDisabled"} + ], + "text": "Submit", + "isDisabled": "{{\n\totpinput.text && otpinput.text.toString().length==4?false:true\n}}", + "key": "jih2wsz0e5", + "isDeprecated": false, + "rightColumn": 63, + "isDefaultClickDisabled": true, + "widgetId": "hhw27h2wol", + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/Text1.json b/pages/Login Page/widgets/Form1/Text1.json new file mode 100644 index 0000000..7249d5a --- /dev/null +++ b/pages/Login Page/widgets/Form1/Text1.json @@ -0,0 +1,43 @@ +{ + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 1, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "dynamicTriggerPathList": [], + "leftColumn": 23, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Sign In", + "key": "exugpfn86p", + "isDeprecated": false, + "rightColumn": 40, + "textAlign": "LEFT", + "dynamicHeight": "FIXED", + "widgetId": "4o6l5r6yps", + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "z0bl65jy97", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1.25rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/mobile.json b/pages/Login Page/widgets/Form1/mobile.json new file mode 100644 index 0000000..422b052 --- /dev/null +++ b/pages/Login Page/widgets/Form1/mobile.json @@ -0,0 +1,59 @@ +{ + "boxShadow": "none", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "topRow": 9, + "labelWidth": "", + "type": "INPUT_WIDGET_V2", + "animateLoading": true, + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelStyle": "", + "inputType": "TEXT", + "placeholderText": "Enter a valid phone no", + "maxChars": "10", + "isDisabled": false, + "validation": "", + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 2, + "isLoading": false, + "regex": "^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "widgetName": "mobile", + "dynamicPropertyPathList": [{"key": "onTextChanged"}], + "displayName": "Input", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "bottomRow": 13, + "parentRowSpace": 10, + "autoFocus": false, + "hideCard": false, + "parentColumnSpace": 4.703125, + "dynamicTriggerPathList": [{"key": "onTextChanged"}], + "labelPosition": "Left", + "key": "vpfdc0mxxg", + "labelTextSize": "0.875rem", + "onTextChanged": "{{\n\t await(async ()=>{if(mobile.text.match(/^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$/)!=null)\n\t{\n\t\tdebugger;\n\t\tif(otpinput.text && otpinput.text!=undefined) otpinput.text.clear;\n\t\tawait Fetch_otp_details.run({mobile:mobile.text}).then((response)=>{\n \t\t\t console.log(Fetch_otp_details.data)});\n\t\t\t\t//debugger;\n\n\t}\n\t\t\t })();\n}}", + "isDeprecated": false, + "rightColumn": 62, + "widgetId": "46hcyki4fw", + "errorMessage": "Not a valid value\t", + "label": "Mobile", + "parentId": "z0bl65jy97", + "labelAlignment": "left", + "renderMode": "CANVAS", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page/widgets/Form1/otpinput.json b/pages/Login Page/widgets/Form1/otpinput.json new file mode 100644 index 0000000..5e783a4 --- /dev/null +++ b/pages/Login Page/widgets/Form1/otpinput.json @@ -0,0 +1,57 @@ +{ + "boxShadow": "none", + "widgetName": "otpinput", + "dynamicPropertyPathList": [{"key": "isDisabled"}], + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "onSubmit": "{{OTP_JS.activateOtp()}}", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 14, + "bottomRow": 18, + "parentRowSpace": 10, + "labelWidth": "", + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "maxNum": "", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 4.703125, + "dynamicTriggerPathList": [{"key": "onSubmit"}], + "resetOnSubmit": true, + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "isDisabled"} + ], + "labelPosition": "Left", + "labelStyle": "", + "inputType": "NUMBER", + "isDisabled": "{{mobile.text.match(/^(?:\\d{10}|\\w+@\\w+\\.\\w{2,3})$/)==null}}", + "key": "vpfdc0mxxg", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 62, + "dynamicHeight": "FIXED", + "widgetId": "o4ihk197af", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": true, + "isVisible": true, + "label": "OTP", + "version": 2, + "parentId": "z0bl65jy97", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page/widgets/signinerror_modal/IconButton1.json b/pages/Login Page/widgets/signinerror_modal/IconButton1.json new file mode 100644 index 0000000..80672e2 --- /dev/null +++ b/pages/Login Page/widgets/signinerror_modal/IconButton1.json @@ -0,0 +1,37 @@ +{ + "boxShadow": "none", + "widgetName": "IconButton1", + "onClick": "{{closeModal('signinerror_modal')}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Icon Button", + "iconSVG": "/static/media/icon.1a0c634ac75f9fa6b6ae7a8df882a3ba.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 0, + "bottomRow": 4, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "animateLoading": true, + "dynamicTriggerPathList": [], + "leftColumn": 56, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "iconSize": 24, + "isDisabled": false, + "key": "lm2q63kbce", + "isDeprecated": false, + "rightColumn": 64, + "iconName": "cross", + "widgetId": "5ztn8n1lwh", + "isVisible": false, + "version": 1, + "parentId": "pfei1eih9p", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonVariant": "TERTIARY" +} \ No newline at end of file diff --git a/pages/Login Page/widgets/signinerror_modal/Text2.json b/pages/Login Page/widgets/signinerror_modal/Text2.json new file mode 100644 index 0000000..b42d1b8 --- /dev/null +++ b/pages/Login Page/widgets/signinerror_modal/Text2.json @@ -0,0 +1,45 @@ +{ + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 7, + "bottomRow": 11, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 6.9375, + "dynamicTriggerPathList": [], + "leftColumn": 11, + "dynamicBindingPathList": [ + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "#FFC13D", + "text": "Invalid mobile/email. ", + "key": "zz1ok5z9yf", + "isDeprecated": false, + "rightColumn": 49, + "textAlign": "CENTER", + "dynamicHeight": "FIXED", + "widgetId": "96ch0mwxpx", + "isVisible": true, + "fontStyle": "", + "textColor": "#ef4444", + "version": 1, + "parentId": "pfei1eih9p", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/Login Page/widgets/signinerror_modal/signinerror_modal.json b/pages/Login Page/widgets/signinerror_modal/signinerror_modal.json new file mode 100644 index 0000000..3def888 --- /dev/null +++ b/pages/Login Page/widgets/signinerror_modal/signinerror_modal.json @@ -0,0 +1,72 @@ +{ + "boxShadow": "none", + "widgetName": "signinerror_modal", + "isCanvas": true, + "displayName": "Modal", + "iconSVG": "/static/media/icon.4975978e9a961fb0bfb4e38de7ecc7c5.svg", + "searchTags": [ + "dialog", + "popup", + "notification" + ], + "topRow": 2, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "MODAL_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 6.8076171875, + "leftColumn": 23, + "dynamicBindingPathList": [{"key": "borderRadius"}], + "children": [{ + "boxShadow": "none", + "widgetName": "Canvas2", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 170, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "hideCard": true, + "shouldScrollContents": false, + "minHeight": 174, + "parentColumnSpace": 1, + "dynamicTriggerPathList": [], + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "accentColor"} + ], + "isDisabled": false, + "key": "aqdbphkju2", + "isDeprecated": false, + "rightColumn": 163.3828125, + "detachFromLayout": true, + "widgetId": "pfei1eih9p", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 1, + "parentId": "64xye5e1q8", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" + }], + "key": "tdlv7gvtsk", + "height": 174, + "isDeprecated": false, + "rightColumn": 47, + "detachFromLayout": true, + "dynamicHeight": "FIXED", + "widgetId": "64xye5e1q8", + "canOutsideClickClose": true, + "canEscapeKeyClose": true, + "version": 2, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "width": 308, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/canvas.json b/pages/sample1/canvas.json deleted file mode 100644 index b0c3ce1..0000000 --- a/pages/sample1/canvas.json +++ /dev/null @@ -1,409 +0,0 @@ -{ - "unpublishedPage": { - "name": "sample1", - "slug": "sample1", - "layouts": [ - { - "viewMode": false, - "dsl": { - "widgetName": "MainContainer", - "backgroundColor": "none", - "rightColumn": 1224, - "snapColumns": 64, - "detachFromLayout": true, - "widgetId": "0", - "topRow": 0, - "bottomRow": 520, - "containerStyle": "none", - "snapRows": 58, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": true, - "version": 80, - "minHeight": 600, - "parentColumnSpace": 1, - "dynamicBindingPathList": [], - "leftColumn": 0, - "children": [ - { - "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)", - "widgetName": "Container1", - "borderColor": "#E0DEDE", - "isCanvas": true, - "displayName": "Container", - "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", - "searchTags": [ - "div", - "parent", - "group" - ], - "topRow": 3, - "bottomRow": 30, - "parentRowSpace": 10, - "type": "CONTAINER_WIDGET", - "hideCard": false, - "shouldScrollContents": true, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "dynamicTriggerPathList": [], - "leftColumn": 9, - "dynamicBindingPathList": [], - "children": [ - { - "widgetName": "Canvas1", - "displayName": "Canvas", - "topRow": 0, - "bottomRow": 270, - "parentRowSpace": 1, - "type": "CANVAS_WIDGET", - "canExtend": false, - "hideCard": true, - "minHeight": 100, - "parentColumnSpace": 1, - "leftColumn": 0, - "dynamicBindingPathList": [], - "children": [ - { - "widgetName": "Text1", - "displayName": "Text", - "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", - "searchTags": [ - "typography", - "paragraph", - "label" - ], - "topRow": 6, - "bottomRow": 10, - "parentRowSpace": 10, - "type": "TEXT_WIDGET", - "hideCard": false, - "animateLoading": true, - "overflow": "NONE", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "parentColumnSpace": 7.53515625, - "dynamicTriggerPathList": [], - "leftColumn": 23, - "dynamicBindingPathList": [ - { - "key": "truncateButtonColor" - }, - { - "key": "fontFamily" - }, - { - "key": "borderRadius" - }, - { - "key": "text" - } - ], - "shouldTruncate": false, - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "text": "{{Input1.text}}", - "key": "iyf828ystz", - "isDeprecated": false, - "rightColumn": 39, - "textAlign": "LEFT", - "dynamicHeight": "AUTO_HEIGHT", - "widgetId": "dm6ffserg2", - "minWidth": 450, - "isVisible": true, - "fontStyle": "BOLD", - "textColor": "#231F20", - "version": 1, - "parentId": "8g865uurt1", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "fontSize": "1rem", - "minDynamicHeight": 4 - }, - { - "boxShadow": "none", - "widgetName": "Input1", - "displayName": "Input", - "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", - "searchTags": [ - "form", - "text input", - "number", - "textarea" - ], - "topRow": 14, - "bottomRow": 21, - "parentRowSpace": 10, - "labelWidth": 5, - "autoFocus": false, - "type": "INPUT_WIDGET_V2", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 7.53515625, - "resetOnSubmit": true, - "leftColumn": 14, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - } - ], - "labelPosition": "Top", - "labelStyle": "", - "inputType": "TEXT", - "isDisabled": false, - "key": "2i7s7l8fkz", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 34, - "dynamicHeight": "FIXED", - "widgetId": "hlkwibecgp", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "showStepArrows": false, - "minWidth": 450, - "isVisible": true, - "label": "Label", - "version": 2, - "parentId": "8g865uurt1", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "iconAlign": "left", - "defaultText": "", - "minDynamicHeight": 4 - } - ], - "key": "vswvcc6m47", - "isDeprecated": false, - "rightColumn": 430.5, - "detachFromLayout": true, - "widgetId": "8g865uurt1", - "containerStyle": "none", - "minWidth": 450, - "isVisible": true, - "version": 1, - "parentId": "f6eox5t7yf", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "flexLayers": [] - } - ], - "borderWidth": "1", - "key": "dfln536dbj", - "backgroundColor": "#FFFFFF", - "isDeprecated": false, - "rightColumn": 37, - "dynamicHeight": "FIXED", - "widgetId": "f6eox5t7yf", - "containerStyle": "card", - "minWidth": 450, - "isVisible": true, - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "borderRadius": "1.5rem", - "maxDynamicHeight": 9000, - "minDynamicHeight": 10 - }, - { - "widgetName": "Checkbox1", - "displayName": "Checkbox", - "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", - "searchTags": [ - "boolean" - ], - "topRow": 38, - "bottomRow": 42, - "parentRowSpace": 10, - "type": "CHECKBOX_WIDGET", - "alignWidget": "LEFT", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - } - ], - "labelPosition": "Left", - "isDisabled": false, - "key": "ftg5xd3zcc", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 11, - "dynamicHeight": "AUTO_HEIGHT", - "widgetId": "kthy6qtvmb", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "minWidth": 450, - "isVisible": true, - "label": "Label", - "version": 1, - "parentId": "0", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "defaultCheckedState": true, - "maxDynamicHeight": 9000, - "minDynamicHeight": 4 - }, - { - "widgetName": "CategorySlider1", - "displayName": "Category Slider", - "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", - "labelText": "Size", - "searchTags": [ - "range" - ], - "topRow": 30, - "bottomRow": 37, - "parentRowSpace": 10, - "labelWidth": 5, - "type": "CATEGORY_SLIDER_WIDGET", - "hideCard": false, - "defaultOptionValue": "md", - "animateLoading": true, - "parentColumnSpace": 17.9375, - "leftColumn": 0, - "dynamicBindingPathList": [ - { - "key": "accentColor" - } - ], - "shouldTruncate": false, - "labelPosition": "Left", - "options": [ - { - "label": "Extra Small", - "value": "xs" - }, - { - "label": "Small", - "value": "sm" - }, - { - "label": "Medium", - "value": "md" - }, - { - "label": "Large", - "value": "lg" - }, - { - "label": "Extra Large", - "value": "xl" - } - ], - "isDisabled": false, - "key": "8dr4yoc4cv", - "labelTextSize": "0.875rem", - "isDeprecated": false, - "rightColumn": 18, - "widgetId": "009brx3tli", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "isVisible": true, - "sliderSize": "m", - "shouldScroll": false, - "version": 1, - "parentId": "0", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "showMarksLabel": true - }, - { - "widgetName": "CheckboxGroup1", - "displayName": "Checkbox Group", - "iconSVG": "/static/media/icon.ecb3847950c4515966ef642a32758afb.svg", - "labelText": "Label", - "topRow": 45, - "bottomRow": 52, - "parentRowSpace": 10, - "labelWidth": 5, - "type": "CHECKBOX_GROUP_WIDGET", - "hideCard": false, - "animateLoading": true, - "parentColumnSpace": 17.9375, - "leftColumn": 3, - "dynamicBindingPathList": [ - { - "key": "accentColor" - }, - { - "key": "borderRadius" - } - ], - "labelPosition": "Top", - "options": [ - { - "label": "Blue", - "value": "BLUE" - }, - { - "label": "Green", - "value": "GREEN" - }, - { - "label": "Red", - "value": "RED" - } - ], - "isDisabled": false, - "key": "0xndmjj1fo", - "labelTextSize": "0.875rem", - "isRequired": false, - "isDeprecated": false, - "rightColumn": 26, - "defaultSelectedValues": [ - "BLUE" - ], - "dynamicHeight": "AUTO_HEIGHT", - "widgetId": "q7z3x2a71i", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "minWidth": 450, - "isVisible": true, - "version": 2, - "parentId": "0", - "labelAlignment": "left", - "renderMode": "CANVAS", - "isLoading": false, - "responsiveBehavior": "fill", - "originalTopRow": 45, - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "maxDynamicHeight": 9000, - "originalBottomRow": 51, - "isInline": true, - "minDynamicHeight": 4 - } - ] - }, - "layoutOnLoadActions": [], - "layoutOnLoadActionErrors": [], - "validOnPageLoadActions": true, - "id": "sample1", - "deleted": false, - "policies": [], - "userPermissions": [] - } - ], - "userPermissions": [], - "policies": [], - "isHidden": false - }, - "deleted": false, - "gitSyncId": "6317903a1df89313e257ada5_641c054c53066d1510cc569b" -} \ No newline at end of file diff --git a/pages/sample1/sample1.json b/pages/sample1/sample1.json new file mode 100644 index 0000000..9fb38f2 --- /dev/null +++ b/pages/sample1/sample1.json @@ -0,0 +1,43 @@ +{ + "unpublishedPage": { + "name": "sample1", + "slug": "sample1", + "layouts": [ + { + "viewMode": false, + "dsl": { + "widgetName": "MainContainer", + "backgroundColor": "none", + "rightColumn": 1224, + "snapColumns": 64, + "detachFromLayout": true, + "widgetId": "0", + "topRow": 0, + "bottomRow": 520, + "containerStyle": "none", + "snapRows": 58, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": true, + "version": 80, + "minHeight": 600, + "parentColumnSpace": 1, + "dynamicBindingPathList": [], + "leftColumn": 0 + }, + "layoutOnLoadActions": [], + "layoutOnLoadActionErrors": [], + "validOnPageLoadActions": true, + "id": "sample1", + "deleted": false, + "policies": [], + "userPermissions": [] + } + ], + "userPermissions": [], + "policies": [], + "isHidden": false + }, + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_641c054c53066d1510cc569b" +} \ No newline at end of file diff --git a/pages/sample1/widgets/CategorySlider1.json b/pages/sample1/widgets/CategorySlider1.json new file mode 100644 index 0000000..bd71220 --- /dev/null +++ b/pages/sample1/widgets/CategorySlider1.json @@ -0,0 +1,59 @@ +{ + "widgetName": "CategorySlider1", + "displayName": "Category Slider", + "iconSVG": "/static/media/icon.cbd0db7a0bd317a6e4cbbd72417f8dee.svg", + "labelText": "Size", + "searchTags": ["range"], + "topRow": 30, + "bottomRow": 37, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CATEGORY_SLIDER_WIDGET", + "hideCard": false, + "defaultOptionValue": "md", + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [{"key": "accentColor"}], + "shouldTruncate": false, + "labelPosition": "Left", + "options": [ + { + "label": "Extra Small", + "value": "xs" + }, + { + "label": "Small", + "value": "sm" + }, + { + "label": "Medium", + "value": "md" + }, + { + "label": "Large", + "value": "lg" + }, + { + "label": "Extra Large", + "value": "xl" + } + ], + "isDisabled": false, + "key": "8dr4yoc4cv", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 18, + "widgetId": "009brx3tli", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "sliderSize": "m", + "shouldScroll": false, + "version": 1, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "showMarksLabel": true +} \ No newline at end of file diff --git a/pages/sample1/widgets/Checkbox1.json b/pages/sample1/widgets/Checkbox1.json new file mode 100644 index 0000000..de4e264 --- /dev/null +++ b/pages/sample1/widgets/Checkbox1.json @@ -0,0 +1,40 @@ +{ + "widgetName": "Checkbox1", + "displayName": "Checkbox", + "iconSVG": "/static/media/icon.aaab032b43383e4fa53ffc0ef40c90ef.svg", + "searchTags": ["boolean"], + "topRow": 38, + "bottomRow": 42, + "parentRowSpace": 10, + "type": "CHECKBOX_WIDGET", + "alignWidget": "LEFT", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelPosition": "Left", + "isDisabled": false, + "key": "ftg5xd3zcc", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 11, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "kthy6qtvmb", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "label": "Label", + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "defaultCheckedState": true, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/CheckboxGroup1.json b/pages/sample1/widgets/CheckboxGroup1.json new file mode 100644 index 0000000..c0d8cb8 --- /dev/null +++ b/pages/sample1/widgets/CheckboxGroup1.json @@ -0,0 +1,58 @@ +{ + "widgetName": "CheckboxGroup1", + "displayName": "Checkbox Group", + "iconSVG": "/static/media/icon.ecb3847950c4515966ef642a32758afb.svg", + "labelText": "Label", + "topRow": 45, + "bottomRow": 52, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CHECKBOX_GROUP_WIDGET", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 3, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelPosition": "Top", + "options": [ + { + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "isDisabled": false, + "key": "0xndmjj1fo", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 26, + "defaultSelectedValues": ["BLUE"], + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "q7z3x2a71i", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "version": 2, + "parentId": "0", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "originalTopRow": 45, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "originalBottomRow": 51, + "isInline": true, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Container1/Container1.json b/pages/sample1/widgets/Container1/Container1.json new file mode 100644 index 0000000..661823d --- /dev/null +++ b/pages/sample1/widgets/Container1/Container1.json @@ -0,0 +1,70 @@ +{ + "boxShadow": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)", + "widgetName": "Container1", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "/static/media/icon.1977dca3370505e2db3a8e44cfd54907.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 3, + "bottomRow": 30, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 9, + "dynamicBindingPathList": [], + "children": [{ + "widgetName": "Canvas1", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 270, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 100, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "vswvcc6m47", + "isDeprecated": false, + "rightColumn": 430.5, + "detachFromLayout": true, + "widgetId": "8g865uurt1", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "f6eox5t7yf", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "flexLayers": [] + }], + "borderWidth": "1", + "key": "dfln536dbj", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 37, + "dynamicHeight": "FIXED", + "widgetId": "f6eox5t7yf", + "containerStyle": "card", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "borderRadius": "1.5rem", + "maxDynamicHeight": 9000, + "minDynamicHeight": 10 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Container1/Input1.json b/pages/sample1/widgets/Container1/Input1.json new file mode 100644 index 0000000..3865609 --- /dev/null +++ b/pages/sample1/widgets/Container1/Input1.json @@ -0,0 +1,54 @@ +{ + "boxShadow": "none", + "widgetName": "Input1", + "displayName": "Input", + "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg", + "searchTags": [ + "form", + "text input", + "number", + "textarea" + ], + "topRow": 14, + "bottomRow": 21, + "parentRowSpace": 10, + "labelWidth": 5, + "autoFocus": false, + "type": "INPUT_WIDGET_V2", + "hideCard": false, + "animateLoading": true, + "parentColumnSpace": 7.53515625, + "resetOnSubmit": true, + "leftColumn": 14, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelPosition": "Top", + "labelStyle": "", + "inputType": "TEXT", + "isDisabled": false, + "key": "2i7s7l8fkz", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 34, + "dynamicHeight": "FIXED", + "widgetId": "hlkwibecgp", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": false, + "minWidth": 450, + "isVisible": true, + "label": "Label", + "version": 2, + "parentId": "8g865uurt1", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Container1/Text1.json b/pages/sample1/widgets/Container1/Text1.json new file mode 100644 index 0000000..8460469 --- /dev/null +++ b/pages/sample1/widgets/Container1/Text1.json @@ -0,0 +1,49 @@ +{ + "widgetName": "Text1", + "displayName": "Text", + "iconSVG": "/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 6, + "bottomRow": 10, + "parentRowSpace": 10, + "type": "TEXT_WIDGET", + "hideCard": false, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 7.53515625, + "dynamicTriggerPathList": [], + "leftColumn": 23, + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"}, + {"key": "text"} + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "{{Input1.text}}", + "key": "iyf828ystz", + "isDeprecated": false, + "rightColumn": 39, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "dm6ffserg2", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "8g865uurt1", + "renderMode": "CANVAS", + "isLoading": false, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "maxDynamicHeight": 9000, + "fontSize": "1rem", + "minDynamicHeight": 4 +} \ No newline at end of file From 7ebabe737ed95bc7b462d9111b44f632cdcdd629 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 05:49:22 +0000 Subject: [PATCH 04/13] feqature-1 --- pages/Login Page/Login Page.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/Login Page/Login Page.json b/pages/Login Page/Login Page.json index dcf57fc..46c9d5b 100644 --- a/pages/Login Page/Login Page.json +++ b/pages/Login Page/Login Page.json @@ -29,9 +29,9 @@ "layoutOnLoadActions": [ [ { - "id": "Login Page_OTP_JS.verifyLogin", + "id": "64af903a1407036f4ab0b0f0", "name": "OTP_JS.verifyLogin", - "collectionId": "Login Page_OTP_JS", + "collectionId": "64af903b1407036f4ab0b113", "confirmBeforeExecute": false, "pluginType": "JS", "jsonPathKeys": [ From 76b975d4fb424f418f48c0b457f1681a0710a30a Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 06:01:01 +0000 Subject: [PATCH 05/13] System generated commit, for syncing changes with local branch after git merge, branch: faeture-1 --- pages/Login Page/Login Page.json | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/Login Page/Login Page.json b/pages/Login Page/Login Page.json index 46c9d5b..c251d30 100644 --- a/pages/Login Page/Login Page.json +++ b/pages/Login Page/Login Page.json @@ -29,7 +29,6 @@ "layoutOnLoadActions": [ [ { - "id": "64af903a1407036f4ab0b0f0", "name": "OTP_JS.verifyLogin", "collectionId": "64af903b1407036f4ab0b113", "confirmBeforeExecute": false, From 4010929e5faf1d26815e8739edc67df4ec32a2ba Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Thu, 13 Jul 2023 06:14:53 +0000 Subject: [PATCH 06/13] test --- pages/sample1/widgets/CheckboxGroup1.json | 2 +- pages/sample1/widgets/Container1/Camera1.json | 37 +++++++++++++++++++ .../widgets/Container1/Container1.json | 2 +- pages/sample1/widgets/Container1/Input1.json | 4 +- 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 pages/sample1/widgets/Container1/Camera1.json diff --git a/pages/sample1/widgets/CheckboxGroup1.json b/pages/sample1/widgets/CheckboxGroup1.json index c0d8cb8..fa2fa93 100644 --- a/pages/sample1/widgets/CheckboxGroup1.json +++ b/pages/sample1/widgets/CheckboxGroup1.json @@ -52,7 +52,7 @@ "originalTopRow": 45, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, - "originalBottomRow": 51, + "originalBottomRow": 52, "isInline": true, "minDynamicHeight": 4 } \ No newline at end of file diff --git a/pages/sample1/widgets/Container1/Camera1.json b/pages/sample1/widgets/Container1/Camera1.json new file mode 100644 index 0000000..8c8f352 --- /dev/null +++ b/pages/sample1/widgets/Container1/Camera1.json @@ -0,0 +1,37 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 41, + "widgetName": "Camera1", + "isCanvas": false, + "displayName": "Camera", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.1a46cc49ff4e1fbf1a9aea3099520c2a.svg", + "searchTags": [ + "photo", + "video recorder" + ], + "topRow": 8, + "bottomRow": 41, + "parentRowSpace": 10, + "type": "CAMERA_WIDGET", + "hideCard": false, + "mode": "CAMERA", + "mobileRightColumn": 18, + "parentColumnSpace": 7.53515625, + "leftColumn": 0, + "dynamicBindingPathList": [{"key": "borderRadius"}], + "isDisabled": false, + "key": "3myqezcgpv", + "isMirrored": true, + "isDeprecated": false, + "rightColumn": 18, + "widgetId": "mdew5cbopp", + "isVisible": true, + "version": 1, + "parentId": "8g865uurt1", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 8, + "responsiveBehavior": "hug", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Container1/Container1.json b/pages/sample1/widgets/Container1/Container1.json index 661823d..6d24faf 100644 --- a/pages/sample1/widgets/Container1/Container1.json +++ b/pages/sample1/widgets/Container1/Container1.json @@ -25,7 +25,7 @@ "widgetName": "Canvas1", "displayName": "Canvas", "topRow": 0, - "bottomRow": 270, + "bottomRow": 410, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": false, diff --git a/pages/sample1/widgets/Container1/Input1.json b/pages/sample1/widgets/Container1/Input1.json index 3865609..d121013 100644 --- a/pages/sample1/widgets/Container1/Input1.json +++ b/pages/sample1/widgets/Container1/Input1.json @@ -19,7 +19,7 @@ "animateLoading": true, "parentColumnSpace": 7.53515625, "resetOnSubmit": true, - "leftColumn": 14, + "leftColumn": 18, "dynamicBindingPathList": [ {"key": "accentColor"}, {"key": "borderRadius"} @@ -32,7 +32,7 @@ "labelTextSize": "0.875rem", "isRequired": false, "isDeprecated": false, - "rightColumn": 34, + "rightColumn": 38, "dynamicHeight": "FIXED", "widgetId": "hlkwibecgp", "accentColor": "{{appsmith.theme.colors.primaryColor}}", From a34dd47947de66a2410690830ea44d71f89f1b14 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 05:19:45 +0000 Subject: [PATCH 07/13] test --- datasources/Mock Database.json | 9 + .../Select_public_address1.txt | 10 + .../Select_public_address1/metadata.json | 52 ++++ .../Total_record_public_address1.txt | 1 + .../metadata.json | 49 ++++ pages/sample1/sample1.json | 32 +- pages/sample1/widgets/CheckboxGroup1.json | 8 +- pages/sample1/widgets/Tabs1.json | 65 +++++ pages/sample1/widgets/Tabs1/Button1.json | 47 +++ pages/sample1/widgets/Tabs1/Table1.json | 273 ++++++++++++++++++ pages/sample1/widgets/Tabs1/Table2.json | 115 ++++++++ pages/sample1/widgets/Tabs1/Table2Copy.json | 115 ++++++++ 12 files changed, 770 insertions(+), 6 deletions(-) create mode 100644 datasources/Mock Database.json create mode 100644 pages/sample1/queries/Select_public_address1/Select_public_address1.txt create mode 100644 pages/sample1/queries/Select_public_address1/metadata.json create mode 100644 pages/sample1/queries/Total_record_public_address1/Total_record_public_address1.txt create mode 100644 pages/sample1/queries/Total_record_public_address1/metadata.json create mode 100644 pages/sample1/widgets/Tabs1.json create mode 100644 pages/sample1/widgets/Tabs1/Button1.json create mode 100644 pages/sample1/widgets/Tabs1/Table1.json create mode 100644 pages/sample1/widgets/Tabs1/Table2.json create mode 100644 pages/sample1/widgets/Tabs1/Table2Copy.json diff --git a/datasources/Mock Database.json b/datasources/Mock Database.json new file mode 100644 index 0000000..3eb0dd1 --- /dev/null +++ b/datasources/Mock Database.json @@ -0,0 +1,9 @@ +{ + "name": "Mock Database", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "isTemplate": true, + "deleted": false, + "gitSyncId": "61b6d49e33c6ae6163af2716_61c43339e89bc475f3cb17dd" +} \ No newline at end of file diff --git a/pages/sample1/queries/Select_public_address1/Select_public_address1.txt b/pages/sample1/queries/Select_public_address1/Select_public_address1.txt new file mode 100644 index 0000000..32f10f9 --- /dev/null +++ b/pages/sample1/queries/Select_public_address1/Select_public_address1.txt @@ -0,0 +1,10 @@ +SELECT + * +FROM + public.address +WHERE + "address" ilike '%{{Table1.searchText}}%' {{Table1.sortOrder.column ? "ORDER BY " + Table1.sortOrder.column + " " + (Table1.sortOrder.order !== "desc" ? "" : "DESC") : ""}} +LIMIT + {{Table1.pageSize}} +OFFSET + {{Table1.pageOffset}} \ No newline at end of file diff --git a/pages/sample1/queries/Select_public_address1/metadata.json b/pages/sample1/queries/Select_public_address1/metadata.json new file mode 100644 index 0000000..3edc626 --- /dev/null +++ b/pages/sample1/queries/Select_public_address1/metadata.json @@ -0,0 +1,52 @@ +{ + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "Select_public_address1", + "datasource": { + "name": "Mock Database", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Mock Database", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "sample1", + "actionConfiguration": { + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT\n *\nFROM\n public.address\nWHERE\n \"address\" ilike '%{{Table1.searchText}}%' {{Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [ + { + "value": false + } + ] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.pageOffset", + "Table1.pageSize", + "Table1.searchText", + "Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-18T05:18:47Z" + }, + "id": "sample1_Select_public_address1", + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_64b620b7b96716245227763c" +} \ No newline at end of file diff --git a/pages/sample1/queries/Total_record_public_address1/Total_record_public_address1.txt b/pages/sample1/queries/Total_record_public_address1/Total_record_public_address1.txt new file mode 100644 index 0000000..a0d3597 --- /dev/null +++ b/pages/sample1/queries/Total_record_public_address1/Total_record_public_address1.txt @@ -0,0 +1 @@ +SELECT COUNT(*) from public.address where address ilike '%{{Table1.searchText}}%'; \ No newline at end of file diff --git a/pages/sample1/queries/Total_record_public_address1/metadata.json b/pages/sample1/queries/Total_record_public_address1/metadata.json new file mode 100644 index 0000000..20777ab --- /dev/null +++ b/pages/sample1/queries/Total_record_public_address1/metadata.json @@ -0,0 +1,49 @@ +{ + "pluginType": "DB", + "pluginId": "postgres-plugin", + "unpublishedAction": { + "name": "Total_record_public_address1", + "datasource": { + "name": "Mock Database", + "pluginId": "postgres-plugin", + "messages": [], + "isAutoGenerated": false, + "id": "Mock Database", + "deleted": false, + "policies": [], + "userPermissions": [] + }, + "pageId": "sample1", + "actionConfiguration": { + "paginationType": "NONE", + "encodeParamsToggle": true, + "body": "SELECT COUNT(*) from public.address where address ilike '%{{Table1.searchText}}%';", + "selfReferencingDataPaths": [], + "pluginSpecifiedTemplates": [ + { + "value": false + } + ] + }, + "executeOnLoad": true, + "dynamicBindingPathList": [ + { + "key": "body" + } + ], + "isValid": true, + "invalids": [], + "messages": [], + "jsonPathKeys": [ + "Table1.searchText" + ], + "userSetOnLoad": false, + "confirmBeforeExecute": false, + "policies": [], + "userPermissions": [], + "createdAt": "2023-07-18T05:18:47Z" + }, + "id": "sample1_Total_record_public_address1", + "deleted": false, + "gitSyncId": "6317903a1df89313e257ada5_64b620b7f74132381682c0c3" +} \ No newline at end of file diff --git a/pages/sample1/sample1.json b/pages/sample1/sample1.json index 9fb38f2..5d5716e 100644 --- a/pages/sample1/sample1.json +++ b/pages/sample1/sample1.json @@ -13,7 +13,7 @@ "detachFromLayout": true, "widgetId": "0", "topRow": 0, - "bottomRow": 520, + "bottomRow": 830, "containerStyle": "none", "snapRows": 58, "parentRowSpace": 1, @@ -25,7 +25,35 @@ "dynamicBindingPathList": [], "leftColumn": 0 }, - "layoutOnLoadActions": [], + "layoutOnLoadActions": [ + [ + { + "id": "sample1_Select_public_address1", + "name": "Select_public_address1", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [ + "Table1.searchText", + "Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"", + "Table1.pageSize", + "Table1.pageOffset" + ], + "timeoutInMillisecond": 10000 + } + ], + [ + { + "id": "sample1_Total_record_public_address1", + "name": "Total_record_public_address1", + "confirmBeforeExecute": false, + "pluginType": "DB", + "jsonPathKeys": [ + "Table1.searchText" + ], + "timeoutInMillisecond": 10000 + } + ] + ], "layoutOnLoadActionErrors": [], "validOnPageLoadActions": true, "id": "sample1", diff --git a/pages/sample1/widgets/CheckboxGroup1.json b/pages/sample1/widgets/CheckboxGroup1.json index fa2fa93..35a3a94 100644 --- a/pages/sample1/widgets/CheckboxGroup1.json +++ b/pages/sample1/widgets/CheckboxGroup1.json @@ -3,8 +3,8 @@ "displayName": "Checkbox Group", "iconSVG": "/static/media/icon.ecb3847950c4515966ef642a32758afb.svg", "labelText": "Label", - "topRow": 45, - "bottomRow": 52, + "topRow": 76, + "bottomRow": 83, "parentRowSpace": 10, "labelWidth": 5, "type": "CHECKBOX_GROUP_WIDGET", @@ -49,10 +49,10 @@ "renderMode": "CANVAS", "isLoading": false, "responsiveBehavior": "fill", - "originalTopRow": 45, + "originalTopRow": 47, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, - "originalBottomRow": 52, + "originalBottomRow": 54, "isInline": true, "minDynamicHeight": 4 } \ No newline at end of file diff --git a/pages/sample1/widgets/Tabs1.json b/pages/sample1/widgets/Tabs1.json new file mode 100644 index 0000000..65d9879 --- /dev/null +++ b/pages/sample1/widgets/Tabs1.json @@ -0,0 +1,65 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 47, + "widgetName": "Tabs1", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Tabs", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.8a93874870bccee17fbcd02b950c3bcd.svg", + "topRow": 32, + "bottomRow": 76, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 45, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "leftColumn": 21, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "borderWidth": 1, + "key": "up15y3s74n", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 48, + "dynamicHeight": "FIXED", + "widgetId": "w6mgj3h7nw", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "Tab 1", + "shouldShowTabs": true, + "minWidth": 450, + "tabsObj": { + "tab1": { + "widgetId": "nv167mnqke", + "positioning": "vertical", + "index": 0, + "label": "Tab 1", + "id": "tab1", + "isVisible": true + }, + "tab2": { + "widgetId": "ml2jhndkrs", + "positioning": "vertical", + "index": 1, + "label": "Tab 2", + "id": "tab2", + "isVisible": true + } + }, + "isVisible": true, + "version": 3, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 32, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 21, + "maxDynamicHeight": 9000, + "minDynamicHeight": 15 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Tabs1/Button1.json b/pages/sample1/widgets/Tabs1/Button1.json new file mode 100644 index 0000000..9aa50ee --- /dev/null +++ b/pages/sample1/widgets/Tabs1/Button1.json @@ -0,0 +1,47 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "mobileBottomRow": 6, + "widgetName": "Button1", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 22, + "bottomRow": 26, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 13, + "animateLoading": true, + "parentColumnSpace": 6.4140625, + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Submit", + "isDisabled": false, + "key": "9dlo23qyvn", + "isDeprecated": false, + "rightColumn": 14, + "isDefaultClickDisabled": true, + "widgetId": "n4hhmx6w7t", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "nv167mnqke", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 2, + "responsiveBehavior": "hug", + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Tabs1/Table1.json b/pages/sample1/widgets/Tabs1/Table1.json new file mode 100644 index 0000000..e4d7dc3 --- /dev/null +++ b/pages/sample1/widgets/Tabs1/Table1.json @@ -0,0 +1,273 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "onSort": "{{\n Select_public_address1.run();\n Total_record_public_address1.run();\n }}", + "isVisibleDownload": false, + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg", + "topRow": 0, + "isSortable": true, + "onPageChange": "{{\n Select_public_address1.run();\n Total_record_public_address1.run();\n }}", + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "tableData"}, + {"key": "totalRecordsCount"}, + {"key": "primaryColumns.address_id.computedValue"}, + {"key": "primaryColumns.address.computedValue"}, + {"key": "primaryColumns.Address2.computedValue"}, + {"key": "primaryColumns.District.computedValue"}, + {"key": "primaryColumns.postal_code.computedValue"}, + {"key": "primaryColumns.phone.computedValue"} + ], + "needsHeightForContent": true, + "leftColumn": 0, + "delimiter": ",", + "defaultSelectedRowIndex": 0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": false, + "version": 2, + "totalRecordsCount": "{{Total_record_public_address1.data[0].count}}", + "isLoading": false, + "onSearchTextChanged": "{{\n Select_public_address1.run();\n Total_record_public_address1.run();\n }}", + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1689657529525, + "defaultSelectedRowIndices": [0], + "mobileBottomRow": 27, + "widgetName": "Table1", + "defaultPageSize": 0, + "columnOrder": [ + "address_id", + "address", + "Address2", + "District", + "postal_code", + "phone" + ], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 21, + "columnWidthMap": {}, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 20, + "parentColumnSpace": 6.974609375, + "dynamicTriggerPathList": [ + {"key": "onPageChange"}, + {"key": "onSearchTextChanged"}, + {"key": "onSort"} + ], + "borderWidth": "1", + "primaryColumns": { + "address": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"address\"]))}}", + "isEditable": false, + "alias": "address", + "enableSort": true, + "isSaveVisible": true, + "id": "address", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 1, + "isDiscardVisible": true, + "isVisible": true, + "label": "address", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "address", + "verticalAlignment": "CENTER" + }, + "phone": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"phone\"]))}}", + "isEditable": false, + "alias": "phone", + "enableSort": true, + "isSaveVisible": true, + "id": "phone", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 5, + "isDiscardVisible": true, + "isVisible": true, + "label": "phone", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "phone", + "verticalAlignment": "CENTER" + }, + "address_id": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"address_id\"]))}}", + "isEditable": false, + "alias": "address_id", + "enableSort": true, + "isSaveVisible": true, + "id": "address_id", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 0, + "isDiscardVisible": true, + "isVisible": true, + "label": "address_id", + "columnType": "number", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "address_id", + "verticalAlignment": "CENTER" + }, + "Address2": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"Address2\"]))}}", + "isEditable": false, + "alias": "Address2", + "enableSort": true, + "isSaveVisible": true, + "id": "Address2", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 2, + "isDiscardVisible": true, + "isVisible": true, + "label": "Address2", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "Address2", + "verticalAlignment": "CENTER" + }, + "postal_code": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"postal_code\"]))}}", + "isEditable": false, + "alias": "postal_code", + "enableSort": true, + "isSaveVisible": true, + "id": "postal_code", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 4, + "isDiscardVisible": true, + "isVisible": true, + "label": "postal_code", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "postal_code", + "verticalAlignment": "CENTER" + }, + "District": { + "computedValue": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"District\"]))}}", + "isEditable": false, + "alias": "District", + "enableSort": true, + "isSaveVisible": true, + "id": "District", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 3, + "isDiscardVisible": true, + "isVisible": true, + "label": "District", + "columnType": "text", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "District", + "verticalAlignment": "CENTER" + } + }, + "key": "38n9wy52vz", + "canFreezeColumn": true, + "isDeprecated": false, + "rightColumn": 53, + "textSize": "0.875rem", + "widgetId": "q9ugynwdm9", + "minWidth": 450, + "tableData": "{{Select_public_address1.data}}", + "label": "Data", + "searchKey": "", + "parentId": "nv167mnqke", + "serverSidePaginationEnabled": true, + "renderMode": "CANVAS", + "mobileTopRow": 0, + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Tabs1/Table2.json b/pages/sample1/widgets/Tabs1/Table2.json new file mode 100644 index 0000000..f61d45d --- /dev/null +++ b/pages/sample1/widgets/Tabs1/Table2.json @@ -0,0 +1,115 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "isVisibleDownload": true, + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg", + "topRow": 2, + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "tableData"}, + {"key": "primaryColumns.count.computedValue"} + ], + "needsHeightForContent": true, + "leftColumn": 0, + "delimiter": ",", + "defaultSelectedRowIndex": 0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 2, + "totalRecordsCount": 0, + "isLoading": false, + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1689657549500, + "defaultSelectedRowIndices": [0], + "mobileBottomRow": 30, + "widgetName": "Table2", + "defaultPageSize": 0, + "columnOrder": ["count"], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 30, + "columnWidthMap": {}, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 30, + "parentColumnSpace": 7.2548828125, + "dynamicTriggerPathList": [], + "borderWidth": "1", + "primaryColumns": {"count": { + "computedValue": "{{Table2.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"count\"]))}}", + "isEditable": false, + "alias": "count", + "enableSort": true, + "isSaveVisible": true, + "id": "count", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 0, + "isDiscardVisible": true, + "isVisible": true, + "label": "count", + "columnType": "number", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "count", + "verticalAlignment": "CENTER" + }}, + "key": "38n9wy52vz", + "canFreezeColumn": true, + "isDeprecated": false, + "rightColumn": 35, + "textSize": "0.875rem", + "widgetId": "uti5qaien6", + "minWidth": 450, + "tableData": "{{Total_record_public_address1.data}}", + "label": "Data", + "searchKey": "", + "parentId": "ml2jhndkrs", + "renderMode": "CANVAS", + "mobileTopRow": 2, + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Tabs1/Table2Copy.json b/pages/sample1/widgets/Tabs1/Table2Copy.json new file mode 100644 index 0000000..d9b6c88 --- /dev/null +++ b/pages/sample1/widgets/Tabs1/Table2Copy.json @@ -0,0 +1,115 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "isVisibleDownload": true, + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.24905525921dd6f5ff46d0dd843b9e12.svg", + "topRow": 31, + "isSortable": true, + "type": "TABLE_WIDGET_V2", + "inlineEditingSaveOption": "ROW_LEVEL", + "animateLoading": true, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "tableData"}, + {"key": "primaryColumns.count.computedValue"} + ], + "needsHeightForContent": true, + "leftColumn": 0, + "delimiter": ",", + "defaultSelectedRowIndex": 0, + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisibleFilters": true, + "isVisible": true, + "enableClientSideSearch": true, + "version": 2, + "totalRecordsCount": 0, + "isLoading": false, + "childStylesheet": { + "button": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "iconButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "menuButton": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "menuColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "editActions": { + "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "columnUpdatedAt": 1689657549500, + "defaultSelectedRowIndices": [0], + "mobileBottomRow": 30, + "widgetName": "Table2Copy", + "defaultPageSize": 0, + "columnOrder": ["count"], + "dynamicPropertyPathList": [], + "displayName": "Table", + "bottomRow": 59, + "columnWidthMap": {}, + "parentRowSpace": 10, + "hideCard": false, + "mobileRightColumn": 30, + "parentColumnSpace": 7.2548828125, + "dynamicTriggerPathList": [], + "borderWidth": "1", + "primaryColumns": {"count": { + "computedValue": "{{Table2Copy.processedTableData.map((currentRow, currentIndex) => ( currentRow[\"count\"]))}}", + "isEditable": false, + "alias": "count", + "enableSort": true, + "isSaveVisible": true, + "id": "count", + "isDisabled": false, + "allowSameOptionsInNewRow": true, + "validation": {}, + "isCellVisible": true, + "isDerived": false, + "textSize": "0.875rem", + "allowCellWrapping": false, + "index": 0, + "isDiscardVisible": true, + "isVisible": true, + "label": "count", + "columnType": "number", + "horizontalAlignment": "LEFT", + "isCellEditable": false, + "width": 150, + "enableFilter": true, + "sticky": "", + "originalId": "count", + "verticalAlignment": "CENTER" + }}, + "key": "38n9wy52vz", + "canFreezeColumn": true, + "isDeprecated": false, + "rightColumn": 35, + "textSize": "0.875rem", + "widgetId": "3nddt1dcyw", + "minWidth": 450, + "tableData": "{{Total_record_public_address1.data}}", + "label": "Data", + "searchKey": "", + "parentId": "ml2jhndkrs", + "renderMode": "CANVAS", + "mobileTopRow": 2, + "horizontalAlignment": "LEFT", + "isVisibleSearch": true, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "isVisiblePagination": true, + "verticalAlignment": "CENTER" +} \ No newline at end of file From aa63b664c95eef8b92a42f295fc50ddc620ee9c3 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 05:21:07 +0000 Subject: [PATCH 08/13] System generated commit, after creating a new branch: mastercopy-180723 --- pages/Login Page/Login Page.json | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/Login Page/Login Page.json b/pages/Login Page/Login Page.json index c251d30..2c14400 100644 --- a/pages/Login Page/Login Page.json +++ b/pages/Login Page/Login Page.json @@ -29,6 +29,7 @@ "layoutOnLoadActions": [ [ { + "id": "sample1_Total_record_public_address1", "name": "OTP_JS.verifyLogin", "collectionId": "64af903b1407036f4ab0b113", "confirmBeforeExecute": false, From 66c65017f6d15a83992c6561b505fdb8f9d16acf Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 05:25:00 +0000 Subject: [PATCH 09/13] theme changes --- theme.json | 407 +---------------------------------------------------- 1 file changed, 3 insertions(+), 404 deletions(-) diff --git a/theme.json b/theme.json index 555e990..9ba5fa9 100644 --- a/theme.json +++ b/theme.json @@ -1,407 +1,6 @@ { - "name": "Sharp", - "displayName": "Moon", - "config": { - "colors": { - "primaryColor": "#64748b", - "backgroundColor": "#f8fafc" - }, - "borderRadius": { - "appBorderRadius": { - "none": "0px", - "M": "0.375rem", - "L": "1.5rem" - } - }, - "boxShadow": { - "appBoxShadow": { - "none": "none", - "S": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)", - "M": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)", - "L": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)" - } - }, - "fontFamily": { - "appFont": [ - "System Default", - "Nunito Sans", - "Poppins", - "Inter", - "Montserrat", - "Noto Sans", - "Open Sans", - "Roboto", - "Rubik", - "Ubuntu" - ] - } - }, - "properties": { - "colors": { - "primaryColor": "#d4d4d8", - "backgroundColor": "#dc2626" - }, - "borderRadius": { - "appBorderRadius": "0.375rem" - }, - "boxShadow": { - "appBoxShadow": "none" - }, - "fontFamily": { - "appFont": "Nunito Sans" - } - }, - "stylesheet": { - "AUDIO_RECORDER_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "BUTTON_GROUP_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}" - } - } - }, - "BUTTON_WIDGET": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "CAMERA_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "CATEGORY_SLIDER_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "CHART_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}" - }, - "CHECKBOX_GROUP_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "CHECKBOX_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "CIRCULAR_PROGRESS_WIDGET": { - "fillColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "CODE_SCANNER_WIDGET": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "CONTAINER_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "CURRENCY_INPUT_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "DATE_PICKER_WIDGET2": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "DROP_DOWN_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "FILE_PICKER_WIDGET_V2": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "FORM_BUTTON_WIDGET": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "FORM_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "ICON_BUTTON_WIDGET": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "IFRAME_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "IMAGE_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "INPUT_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "INPUT_WIDGET_V2": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "JSON_FORM_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "submitButtonStyles": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "resetButtonStyles": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "childStylesheet": { - "ARRAY": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "cellBoxShadow": "none" - }, - "OBJECT": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none", - "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "cellBoxShadow": "none" - }, - "CHECKBOX": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "CURRENCY_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "DATEPICKER": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "EMAIL_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MULTISELECT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MULTILINE_TEXT_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "NUMBER_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "PASSWORD_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "PHONE_NUMBER_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "RADIO_GROUP": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "boxShadow": "none" - }, - "SELECT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "SWITCH": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "boxShadow": "none" - }, - "TEXT_INPUT": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - } - } - }, - "LIST_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "MAP_CHART_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}" - }, - "MAP_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "MENU_BUTTON_WIDGET": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MODAL_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MULTI_SELECT_TREE_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MULTI_SELECT_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "MULTI_SELECT_WIDGET_V2": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "NUMBER_SLIDER_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "PHONE_INPUT_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "PROGRESSBAR_WIDGET": { - "fillColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "PROGRESS_WIDGET": { - "fillColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "RADIO_GROUP_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "boxShadow": "none" - }, - "RANGE_SLIDER_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "RATE_WIDGET": { - "activeColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "RICH_TEXT_EDITOR_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "SELECT_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "SINGLE_SELECT_TREE_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "STATBOX_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "SWITCH_GROUP_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}" - }, - "SWITCH_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "boxShadow": "none" - }, - "TABLE_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "menuButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "iconButton": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - } - } - }, - "TABLE_WIDGET_V2": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", - "childStylesheet": { - "button": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "menuButton": { - "menuColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "iconButton": { - "buttonColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "none" - }, - "editActions": { - "saveButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "discardButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - } - } - }, - "TABS_WIDGET": { - "accentColor": "{{appsmith.theme.colors.primaryColor}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - }, - "TEXT_WIDGET": { - "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", - "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}" - }, - "VIDEO_WIDGET": { - "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}" - } - }, - "isSystemTheme": false, + "name": "Classic", + "displayName": "Classic", + "isSystemTheme": true, "deleted": false } \ No newline at end of file From 7548b8a8688434798c69ee38e9dcbe639e446f04 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 08:51:27 +0000 Subject: [PATCH 10/13] System generated commit, for syncing changes with local branch after git merge, branch: faeture-1 --- pages/sample1/queries/Select_public_address1/metadata.json | 1 + pages/sample1/queries/Total_record_public_address1/metadata.json | 1 + 2 files changed, 2 insertions(+) diff --git a/pages/sample1/queries/Select_public_address1/metadata.json b/pages/sample1/queries/Select_public_address1/metadata.json index 3edc626..099652b 100644 --- a/pages/sample1/queries/Select_public_address1/metadata.json +++ b/pages/sample1/queries/Select_public_address1/metadata.json @@ -15,6 +15,7 @@ }, "pageId": "sample1", "actionConfiguration": { + "timeoutInMillisecond": 10000, "paginationType": "NONE", "encodeParamsToggle": true, "body": "SELECT\n *\nFROM\n public.address\nWHERE\n \"address\" ilike '%{{Table1.searchText}}%' {{Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}", diff --git a/pages/sample1/queries/Total_record_public_address1/metadata.json b/pages/sample1/queries/Total_record_public_address1/metadata.json index 20777ab..b9e0ff3 100644 --- a/pages/sample1/queries/Total_record_public_address1/metadata.json +++ b/pages/sample1/queries/Total_record_public_address1/metadata.json @@ -15,6 +15,7 @@ }, "pageId": "sample1", "actionConfiguration": { + "timeoutInMillisecond": 10000, "paginationType": "NONE", "encodeParamsToggle": true, "body": "SELECT COUNT(*) from public.address where address ilike '%{{Table1.searchText}}%';", From aec366e064352ebba84af4c4d816bb41bd6bd015 Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 09:11:43 +0000 Subject: [PATCH 11/13] added form --- pages/sample1/sample1.json | 8 +- pages/sample1/widgets/CheckboxGroup1.json | 8 +- pages/sample1/widgets/Form1/Button2.json | 47 ++++ pages/sample1/widgets/Form1/Button3.json | 47 ++++ .../widgets/Form1/Container2/Button4.json | 47 ++++ .../widgets/Form1/Container2/Container2.json | 83 ++++++ pages/sample1/widgets/Form1/Form1.json | 77 ++++++ pages/sample1/widgets/Form1/JSONForm1.json | 261 ++++++++++++++++++ pages/sample1/widgets/Form1/Text2.json | 51 ++++ 9 files changed, 621 insertions(+), 8 deletions(-) create mode 100644 pages/sample1/widgets/Form1/Button2.json create mode 100644 pages/sample1/widgets/Form1/Button3.json create mode 100644 pages/sample1/widgets/Form1/Container2/Button4.json create mode 100644 pages/sample1/widgets/Form1/Container2/Container2.json create mode 100644 pages/sample1/widgets/Form1/Form1.json create mode 100644 pages/sample1/widgets/Form1/JSONForm1.json create mode 100644 pages/sample1/widgets/Form1/Text2.json diff --git a/pages/sample1/sample1.json b/pages/sample1/sample1.json index 5d5716e..f3cc245 100644 --- a/pages/sample1/sample1.json +++ b/pages/sample1/sample1.json @@ -13,7 +13,7 @@ "detachFromLayout": true, "widgetId": "0", "topRow": 0, - "bottomRow": 830, + "bottomRow": 1100, "containerStyle": "none", "snapRows": 58, "parentRowSpace": 1, @@ -33,10 +33,10 @@ "confirmBeforeExecute": false, "pluginType": "DB", "jsonPathKeys": [ - "Table1.searchText", - "Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"", + "Table1.pageOffset", "Table1.pageSize", - "Table1.pageOffset" + "Table1.searchText", + "Table1.sortOrder.column ? \"ORDER BY \" + Table1.sortOrder.column + \" \" + (Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\") : \"\"" ], "timeoutInMillisecond": 10000 } diff --git a/pages/sample1/widgets/CheckboxGroup1.json b/pages/sample1/widgets/CheckboxGroup1.json index 35a3a94..7038a54 100644 --- a/pages/sample1/widgets/CheckboxGroup1.json +++ b/pages/sample1/widgets/CheckboxGroup1.json @@ -11,7 +11,7 @@ "hideCard": false, "animateLoading": true, "parentColumnSpace": 17.9375, - "leftColumn": 3, + "leftColumn": 21, "dynamicBindingPathList": [ {"key": "accentColor"}, {"key": "borderRadius"} @@ -36,7 +36,7 @@ "labelTextSize": "0.875rem", "isRequired": false, "isDeprecated": false, - "rightColumn": 26, + "rightColumn": 44, "defaultSelectedValues": ["BLUE"], "dynamicHeight": "AUTO_HEIGHT", "widgetId": "q7z3x2a71i", @@ -49,10 +49,10 @@ "renderMode": "CANVAS", "isLoading": false, "responsiveBehavior": "fill", - "originalTopRow": 47, + "originalTopRow": 76, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "maxDynamicHeight": 9000, - "originalBottomRow": 54, + "originalBottomRow": 83, "isInline": true, "minDynamicHeight": 4 } \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Button2.json b/pages/sample1/widgets/Form1/Button2.json new file mode 100644 index 0000000..069effa --- /dev/null +++ b/pages/sample1/widgets/Form1/Button2.json @@ -0,0 +1,47 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "mobileBottomRow": 37, + "widgetName": "Button2", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 33, + "bottomRow": 37, + "type": "BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 62, + "animateLoading": true, + "leftColumn": 46, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Submit", + "isDisabled": false, + "key": "9dlo23qyvn", + "isDeprecated": false, + "rightColumn": 62, + "isDefaultClickDisabled": true, + "widgetId": "u3gfetj7dy", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 33, + "responsiveBehavior": "hug", + "originalTopRow": 33, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 46, + "originalBottomRow": 37, + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Button3.json b/pages/sample1/widgets/Form1/Button3.json new file mode 100644 index 0000000..063d640 --- /dev/null +++ b/pages/sample1/widgets/Form1/Button3.json @@ -0,0 +1,47 @@ +{ + "resetFormOnClick": true, + "boxShadow": "none", + "mobileBottomRow": 37, + "widgetName": "Button3", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 40, + "bottomRow": 44, + "type": "BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 46, + "animateLoading": true, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Reset", + "isDisabled": false, + "key": "9dlo23qyvn", + "isDeprecated": false, + "rightColumn": 7, + "isDefaultClickDisabled": true, + "widgetId": "uz63ba2fqx", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 33, + "responsiveBehavior": "hug", + "originalTopRow": 33, + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 30, + "originalBottomRow": 37, + "buttonVariant": "SECONDARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Container2/Button4.json b/pages/sample1/widgets/Form1/Container2/Button4.json new file mode 100644 index 0000000..9f5265d --- /dev/null +++ b/pages/sample1/widgets/Form1/Container2/Button4.json @@ -0,0 +1,47 @@ +{ + "resetFormOnClick": false, + "boxShadow": "none", + "mobileBottomRow": 5, + "widgetName": "Button4", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Button", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.7beb9123fb53027d9d6b778cdfe4caed.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 1, + "bottomRow": 5, + "parentRowSpace": 10, + "type": "BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 52, + "animateLoading": true, + "parentColumnSpace": 0.7264404296875, + "leftColumn": 36, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "text": "Submit", + "isDisabled": false, + "key": "9dlo23qyvn", + "isDeprecated": false, + "rightColumn": 52, + "isDefaultClickDisabled": true, + "widgetId": "ks0wjevq0o", + "minWidth": 120, + "isVisible": true, + "recaptchaType": "V3", + "version": 1, + "parentId": "ionup4fdo9", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 1, + "responsiveBehavior": "hug", + "disabledWhenInvalid": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 36, + "buttonVariant": "PRIMARY", + "placement": "CENTER" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Container2/Container2.json b/pages/sample1/widgets/Form1/Container2/Container2.json new file mode 100644 index 0000000..62a3a91 --- /dev/null +++ b/pages/sample1/widgets/Form1/Container2/Container2.json @@ -0,0 +1,83 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 12, + "widgetName": "Container2", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Container", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c47c069fe28eb6d2d27f0fffdc053074.svg", + "searchTags": [ + "div", + "parent", + "group" + ], + "topRow": 2, + "bottomRow": 12, + "parentRowSpace": 10, + "type": "CONTAINER_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 58, + "animateLoading": true, + "parentColumnSpace": 2.7705078125, + "leftColumn": 34, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "children": [{ + "mobileBottomRow": 100, + "widgetName": "Canvas3", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 100, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 100, + "mobileRightColumn": 66.4921875, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "wghuliie0x", + "isDeprecated": false, + "rightColumn": 66.4921875, + "detachFromLayout": true, + "widgetId": "ionup4fdo9", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "1v69di97aj", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + }], + "borderWidth": "1", + "flexVerticalAlignment": "start", + "key": "81j1u42r84", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 58, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "1v69di97aj", + "containerStyle": "card", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 2, + "responsiveBehavior": "fill", + "originalTopRow": 2, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 34, + "maxDynamicHeight": 9000, + "originalBottomRow": 12, + "minDynamicHeight": 10 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Form1.json b/pages/sample1/widgets/Form1/Form1.json new file mode 100644 index 0000000..64afe9d --- /dev/null +++ b/pages/sample1/widgets/Form1/Form1.json @@ -0,0 +1,77 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 85, + "borderColor": "#E0DEDE", + "widgetName": "Form1", + "isCanvas": true, + "displayName": "Form", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg", + "searchTags": ["group"], + "topRow": 45, + "bottomRow": 110, + "parentRowSpace": 10, + "type": "FORM_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 11, + "animateLoading": true, + "parentColumnSpace": 17.9375, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "children": [{ + "mobileBottomRow": 400, + "widgetName": "Canvas2", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 650, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 400, + "mobileRightColumn": 197.3125, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "wghuliie0x", + "isDeprecated": false, + "rightColumn": 197.3125, + "detachFromLayout": true, + "widgetId": "2z3a24uonx", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "ty0bgybb9b", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + }], + "borderWidth": "1", + "positioning": "fixed", + "key": "uj2mf1ijb9", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 11, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "ty0bgybb9b", + "minWidth": 450, + "isVisible": true, + "parentId": "0", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 45, + "responsiveBehavior": "fill", + "originalTopRow": 45, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "originalBottomRow": 110, + "minDynamicHeight": 10 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/JSONForm1.json b/pages/sample1/widgets/Form1/JSONForm1.json new file mode 100644 index 0000000..c7d8f29 --- /dev/null +++ b/pages/sample1/widgets/Form1/JSONForm1.json @@ -0,0 +1,261 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "borderColor": "#E0DEDE", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.efac588608711d232f1c6c8a2144d2dd.svg", + "topRow": 12, + "type": "JSON_FORM_WIDGET", + "animateLoading": true, + "leftColumn": 7, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "submitButtonStyles.buttonColor"}, + {"key": "submitButtonStyles.borderRadius"}, + {"key": "resetButtonStyles.buttonColor"}, + {"key": "resetButtonStyles.borderRadius"}, + {"key": "schema.__root_schema__.children.name.defaultValue"}, + {"key": "schema.__root_schema__.children.name.accentColor"}, + {"key": "schema.__root_schema__.children.name.borderRadius"}, + {"key": "schema.__root_schema__.children.date_of_birth.defaultValue"}, + {"key": "schema.__root_schema__.children.date_of_birth.accentColor"}, + {"key": "schema.__root_schema__.children.date_of_birth.borderRadius"}, + {"key": "schema.__root_schema__.children.employee_id.defaultValue"}, + {"key": "schema.__root_schema__.children.employee_id.accentColor"}, + {"key": "schema.__root_schema__.children.employee_id.borderRadius"}, + {"key": "schema.__root_schema__.defaultValue"}, + {"key": "schema.__root_schema__.borderRadius"}, + {"key": "schema.__root_schema__.cellBorderRadius"} + ], + "showReset": true, + "dynamicHeight": "AUTO_HEIGHT", + "autoGenerateForm": true, + "resetButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "SECONDARY" + }, + "isVisible": true, + "version": 1, + "isLoading": false, + "submitButtonLabel": "Submit", + "childStylesheet": { + "CHECKBOX": { + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "ARRAY": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "CURRENCY_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "DATEPICKER": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PHONE_NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "OBJECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "cellBoxShadow": "none" + }, + "MULTISELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SELECT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "NUMBER_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "PASSWORD_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "EMAIL_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "RADIO_GROUP": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "SWITCH": { + "boxShadow": "none", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + }, + "MULTILINE_TEXT_INPUT": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "accentColor": "{{appsmith.theme.colors.primaryColor}}" + } + }, + "disabledWhenInvalid": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 63, + "useSourceData": false, + "schema": {"__root_schema__": { + "labelTextSize": "0.875rem", + "identifier": "__root_schema__", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "dataType": "object", + "cellBorderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "accessor": "__root_schema__", + "isVisible": true, + "label": "", + "originalIdentifier": "__root_schema__", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "children": { + "date_of_birth": { + "boxShadow": "none", + "minDate": "1920-12-31T18:30:00.000Z", + "dateFormat": "DD/MM/YYYY", + "defaultValue": "{{((sourceData, formData, fieldState) => (moment(sourceData.date_of_birth, \"DD/MM/YYYY\").format(\"YYYY-MM-DDTHH:mm:ss.sssZ\")))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "accessor": "date_of_birth", + "shortcuts": false, + "convertToISO": false, + "children": {}, + "isDisabled": false, + "sourceData": "20/02/1990", + "labelTextSize": "0.875rem", + "identifier": "date_of_birth", + "isRequired": false, + "isCustomField": false, + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "dataType": "string", + "isVisible": true, + "label": "Date Of Birth", + "originalIdentifier": "date_of_birth", + "timePrecision": "minute", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "closeOnSelection": false, + "maxDate": "2121-12-31T18:29:00.000Z", + "position": 1, + "fieldType": "Datepicker" + }, + "employee_id": { + "labelTextSize": "0.875rem", + "identifier": "employee_id", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.employee_id))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "dataType": "number", + "accessor": "employee_id", + "isVisible": true, + "label": "Employee Id", + "originalIdentifier": "employee_id", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 2, + "isDisabled": false, + "sourceData": 1001, + "fieldType": "Number Input" + }, + "name": { + "labelTextSize": "0.875rem", + "identifier": "name", + "boxShadow": "none", + "isRequired": false, + "isCustomField": false, + "defaultValue": "{{((sourceData, formData, fieldState) => (sourceData.name))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "accentColor": "{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "dataType": "string", + "accessor": "name", + "isVisible": true, + "label": "Name", + "originalIdentifier": "name", + "borderRadius": "{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(JSONForm1.sourceData, JSONForm1.formData, JSONForm1.fieldState)}}", + "children": {}, + "isSpellCheck": false, + "iconAlign": "left", + "position": 0, + "isDisabled": false, + "sourceData": "John", + "fieldType": "Text Input" + } + }, + "position": -1, + "isDisabled": false, + "sourceData": { + "date_of_birth": "20/02/1990", + "employee_id": 1001, + "name": "John" + }, + "cellBoxShadow": "none", + "fieldType": "Object" + }}, + "mobileBottomRow": 85, + "widgetName": "JSONForm1", + "submitButtonStyles": { + "boxShadow": "none", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "buttonVariant": "PRIMARY" + }, + "dynamicPropertyPathList": [{"key": "schema.__root_schema__.children.date_of_birth.defaultValue"}], + "displayName": "JSON Form", + "bottomRow": 63, + "fieldLimitExceeded": false, + "parentRowSpace": 10, + "title": "Form", + "hideCard": false, + "mobileRightColumn": 10, + "parentColumnSpace": 17.9375, + "dynamicTriggerPathList": [], + "borderWidth": "1", + "sourceData": { + "date_of_birth": "20/02/1990", + "employee_id": 1001, + "name": "John" + }, + "resetButtonLabel": "Reset", + "key": "a83cj8qajw", + "backgroundColor": "#fff", + "isDeprecated": false, + "rightColumn": 46, + "widgetId": "1mib36cd4e", + "minWidth": 450, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "mobileTopRow": 44, + "scrollContents": true, + "responsiveBehavior": "fill", + "fixedFooter": true, + "originalTopRow": 12, + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Text2.json b/pages/sample1/widgets/Form1/Text2.json new file mode 100644 index 0000000..d23c580 --- /dev/null +++ b/pages/sample1/widgets/Form1/Text2.json @@ -0,0 +1,51 @@ +{ + "mobileBottomRow": 5, + "widgetName": "Text2", + "displayName": "Text", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 1, + "bottomRow": 12, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 25.5, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "Form", + "key": "snf504nigy", + "isDeprecated": false, + "rightColumn": 7, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "scnxpa8tjv", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 1, + "responsiveBehavior": "fill", + "originalTopRow": 1, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1.5, + "maxDynamicHeight": 9000, + "originalBottomRow": 5, + "fontSize": "1.25rem", + "minDynamicHeight": 4 +} \ No newline at end of file From 2b3dc25b20591e8773c13822dc894b6a07f080d9 Mon Sep 17 00:00:00 2001 From: ginilpg Date: Tue, 18 Jul 2023 14:42:53 +0530 Subject: [PATCH 12/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11118c0..b5d0a8d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![](https://raw.githubusercontent.com/appsmithorg/appsmith/release/static/appsmith_logo_primary.png) +![](https://raw.githubusercontent.com/appsmithorg/appsmith/release/static/appsmith_logo_primary.png)) This app is built using Appsmith. Turn any datasource into an internal app in minutes. Appsmith lets you drag-and-drop components to build dashboards, write logic with JavaScript objects and connect to any API, database or GraphQL source. From c024e9020d0dd866ea0eb8bc3bc0536e8fdd9d1a Mon Sep 17 00:00:00 2001 From: Ginil P G Date: Tue, 18 Jul 2023 09:16:22 +0000 Subject: [PATCH 13/13] dd --- pages/sample1/sample1.json | 2 +- pages/sample1/widgets/Form1/Button2.json | 4 +- pages/sample1/widgets/Form1/Button3.json | 12 +- pages/sample1/widgets/Form1/ButtonGroup1.json | 122 ++++++++++++++++++ .../sample1/widgets/Form1/CheckboxGroup2.json | 60 +++++++++ .../widgets/Form1/Container2/Container2.json | 4 +- .../sample1/widgets/Form1/CurrencyInput1.json | 60 +++++++++ .../widgets/Form1/DocumentViewer1.json | 31 +++++ pages/sample1/widgets/Form1/Form1.json | 8 +- pages/sample1/widgets/Form1/Image1.json | 38 ++++++ pages/sample1/widgets/Form1/JSONForm1.json | 8 +- pages/sample1/widgets/Form1/MapChart1.json | 89 +++++++++++++ pages/sample1/widgets/Form1/RadioGroup1.json | 55 ++++++++ .../widgets/Form1/RichTextEditor1.json | 52 ++++++++ .../widgets/Form1/Statbox1/IconButton1.json | 41 ++++++ .../widgets/Form1/Statbox1/Statbox1.json | 76 +++++++++++ .../sample1/widgets/Form1/Statbox1/Text3.json | 51 ++++++++ .../sample1/widgets/Form1/Statbox1/Text4.json | 51 ++++++++ .../sample1/widgets/Form1/Statbox1/Text5.json | 51 ++++++++ pages/sample1/widgets/Form1/Switch1.json | 41 ++++++ pages/sample1/widgets/Form1/Tabs2.json | 66 ++++++++++ pages/sample1/widgets/Form1/Text2.json | 6 +- pages/sample1/widgets/Form1/TreeSelect1.json | 77 +++++++++++ pages/sample1/widgets/Form1/Video1.json | 39 ++++++ 24 files changed, 1022 insertions(+), 22 deletions(-) create mode 100644 pages/sample1/widgets/Form1/ButtonGroup1.json create mode 100644 pages/sample1/widgets/Form1/CheckboxGroup2.json create mode 100644 pages/sample1/widgets/Form1/CurrencyInput1.json create mode 100644 pages/sample1/widgets/Form1/DocumentViewer1.json create mode 100644 pages/sample1/widgets/Form1/Image1.json create mode 100644 pages/sample1/widgets/Form1/MapChart1.json create mode 100644 pages/sample1/widgets/Form1/RadioGroup1.json create mode 100644 pages/sample1/widgets/Form1/RichTextEditor1.json create mode 100644 pages/sample1/widgets/Form1/Statbox1/IconButton1.json create mode 100644 pages/sample1/widgets/Form1/Statbox1/Statbox1.json create mode 100644 pages/sample1/widgets/Form1/Statbox1/Text3.json create mode 100644 pages/sample1/widgets/Form1/Statbox1/Text4.json create mode 100644 pages/sample1/widgets/Form1/Statbox1/Text5.json create mode 100644 pages/sample1/widgets/Form1/Switch1.json create mode 100644 pages/sample1/widgets/Form1/Tabs2.json create mode 100644 pages/sample1/widgets/Form1/TreeSelect1.json create mode 100644 pages/sample1/widgets/Form1/Video1.json diff --git a/pages/sample1/sample1.json b/pages/sample1/sample1.json index f3cc245..c97a742 100644 --- a/pages/sample1/sample1.json +++ b/pages/sample1/sample1.json @@ -13,7 +13,7 @@ "detachFromLayout": true, "widgetId": "0", "topRow": 0, - "bottomRow": 1100, + "bottomRow": 1590, "containerStyle": "none", "snapRows": 58, "parentRowSpace": 1, diff --git a/pages/sample1/widgets/Form1/Button2.json b/pages/sample1/widgets/Form1/Button2.json index 069effa..d915578 100644 --- a/pages/sample1/widgets/Form1/Button2.json +++ b/pages/sample1/widgets/Form1/Button2.json @@ -16,7 +16,7 @@ "hideCard": false, "mobileRightColumn": 62, "animateLoading": true, - "leftColumn": 46, + "leftColumn": 62, "dynamicBindingPathList": [ {"key": "buttonColor"}, {"key": "borderRadius"} @@ -25,7 +25,7 @@ "isDisabled": false, "key": "9dlo23qyvn", "isDeprecated": false, - "rightColumn": 62, + "rightColumn": 64, "isDefaultClickDisabled": true, "widgetId": "u3gfetj7dy", "minWidth": 120, diff --git a/pages/sample1/widgets/Form1/Button3.json b/pages/sample1/widgets/Form1/Button3.json index 063d640..28df6b0 100644 --- a/pages/sample1/widgets/Form1/Button3.json +++ b/pages/sample1/widgets/Form1/Button3.json @@ -10,13 +10,13 @@ "click", "submit" ], - "topRow": 40, - "bottomRow": 44, + "topRow": 42, + "bottomRow": 46, "type": "BUTTON_WIDGET", "hideCard": false, "mobileRightColumn": 46, "animateLoading": true, - "leftColumn": 0, + "leftColumn": 58, "dynamicBindingPathList": [ {"key": "buttonColor"}, {"key": "borderRadius"} @@ -25,7 +25,7 @@ "isDisabled": false, "key": "9dlo23qyvn", "isDeprecated": false, - "rightColumn": 7, + "rightColumn": 60, "isDefaultClickDisabled": true, "widgetId": "uz63ba2fqx", "minWidth": 120, @@ -37,11 +37,11 @@ "isLoading": false, "mobileTopRow": 33, "responsiveBehavior": "hug", - "originalTopRow": 33, + "originalTopRow": 42, "disabledWhenInvalid": false, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileLeftColumn": 30, - "originalBottomRow": 37, + "originalBottomRow": 46, "buttonVariant": "SECONDARY", "placement": "CENTER" } \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/ButtonGroup1.json b/pages/sample1/widgets/Form1/ButtonGroup1.json new file mode 100644 index 0000000..7f66f4f --- /dev/null +++ b/pages/sample1/widgets/Form1/ButtonGroup1.json @@ -0,0 +1,122 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 24, + "widgetName": "ButtonGroup1", + "isCanvas": false, + "displayName": "Button Group", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.7c22979bacc83c8d84aedf56ea6c2022.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 27, + "bottomRow": 31, + "parentRowSpace": 10, + "groupButtons": { + "groupButton3": { + "buttonType": "MENU", + "iconName": "more", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "", + "menuItems": { + "menuItem1": { + "backgroundColor": "#FFFFFF", + "onClick": "", + "widgetId": "", + "index": 0, + "label": "First Option", + "id": "menuItem1", + "isVisible": true, + "isDisabled": false + }, + "menuItem3": { + "backgroundColor": "#DD4B34", + "onClick": "", + "iconName": "trash", + "widgetId": "", + "iconColor": "#FFFFFF", + "iconAlign": "right", + "index": 2, + "label": "Delete", + "id": "menuItem3", + "isVisible": true, + "isDisabled": false, + "textColor": "#FFFFFF" + }, + "menuItem2": { + "backgroundColor": "#FFFFFF", + "onClick": "", + "widgetId": "", + "index": 1, + "label": "Second Option", + "id": "menuItem2", + "isVisible": true, + "isDisabled": false + } + }, + "index": 2, + "label": "More", + "id": "groupButton3", + "placement": "CENTER", + "isVisible": true, + "isDisabled": false + }, + "groupButton1": { + "buttonType": "SIMPLE", + "iconName": "heart", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "", + "menuItems": {}, + "index": 0, + "label": "Favorite", + "id": "groupButton1", + "placement": "CENTER", + "isVisible": true, + "isDisabled": false + }, + "groupButton2": { + "buttonType": "SIMPLE", + "iconName": "add", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "widgetId": "", + "menuItems": {}, + "index": 1, + "label": "Add", + "id": "groupButton2", + "placement": "CENTER", + "isVisible": true, + "isDisabled": false + } + }, + "type": "BUTTON_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 28, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 47, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "groupButtons.groupButton1.buttonColor"}, + {"key": "groupButtons.groupButton2.buttonColor"}, + {"key": "groupButtons.groupButton3.buttonColor"} + ], + "key": "hzxvrniaej", + "orientation": "horizontal", + "isDeprecated": false, + "rightColumn": 60, + "widgetId": "1ivwvo6dcr", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 20, + "responsiveBehavior": "fill", + "childStylesheet": {"button": {"buttonColor": "{{appsmith.theme.colors.primaryColor}}"}}, + "originalTopRow": 27, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 4, + "originalBottomRow": 31, + "buttonVariant": "PRIMARY" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/CheckboxGroup2.json b/pages/sample1/widgets/Form1/CheckboxGroup2.json new file mode 100644 index 0000000..43be156 --- /dev/null +++ b/pages/sample1/widgets/Form1/CheckboxGroup2.json @@ -0,0 +1,60 @@ +{ + "mobileBottomRow": 14, + "widgetName": "CheckboxGroup2", + "displayName": "Checkbox Group", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.bda24aa6992a7bc7616b83aca2c931d9.svg", + "labelText": "Label", + "topRow": 7, + "bottomRow": 20, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "CHECKBOX_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 13, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 23, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelPosition": "Top", + "options": [ + { + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "isDisabled": false, + "key": "a0rlj3z7an", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 36, + "defaultSelectedValues": ["BLUE"], + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "2cu8us5wm5", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "version": 2, + "parentId": "2z3a24uonx", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 8, + "originalTopRow": 8, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "originalBottomRow": 14, + "isInline": true, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Container2/Container2.json b/pages/sample1/widgets/Form1/Container2/Container2.json index 62a3a91..d7cc3c3 100644 --- a/pages/sample1/widgets/Form1/Container2/Container2.json +++ b/pages/sample1/widgets/Form1/Container2/Container2.json @@ -20,7 +20,7 @@ "mobileRightColumn": 58, "animateLoading": true, "parentColumnSpace": 2.7705078125, - "leftColumn": 34, + "leftColumn": 36, "dynamicBindingPathList": [ {"key": "borderRadius"}, {"key": "boxShadow"} @@ -62,7 +62,7 @@ "key": "81j1u42r84", "backgroundColor": "#FFFFFF", "isDeprecated": false, - "rightColumn": 58, + "rightColumn": 60, "dynamicHeight": "AUTO_HEIGHT", "widgetId": "1v69di97aj", "containerStyle": "card", diff --git a/pages/sample1/widgets/Form1/CurrencyInput1.json b/pages/sample1/widgets/Form1/CurrencyInput1.json new file mode 100644 index 0000000..3f20581 --- /dev/null +++ b/pages/sample1/widgets/Form1/CurrencyInput1.json @@ -0,0 +1,60 @@ +{ + "boxShadow": "none", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.e099a84d52e1812b4872fe43c1784dc1.svg", + "topRow": 88, + "defaultCurrencyCode": "INR", + "labelWidth": 5, + "type": "CURRENCY_INPUT_WIDGET", + "animateLoading": true, + "resetOnSubmit": true, + "leftColumn": 15, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelStyle": "", + "isDisabled": false, + "isRequired": false, + "dynamicHeight": "FIXED", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "showStepArrows": false, + "isVisible": true, + "allowCurrencyChange": false, + "version": 1, + "isLoading": false, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "originalBottomRow": 95, + "mobileBottomRow": 95, + "widgetName": "CurrencyInput1", + "displayName": "Currency Input", + "searchTags": [ + "amount", + "total" + ], + "bottomRow": 95, + "parentRowSpace": 10, + "autoFocus": false, + "hideCard": false, + "mobileRightColumn": 25, + "parentColumnSpace": 5.5732421875, + "labelPosition": "Top", + "key": "si8j5y16ek", + "labelTextSize": "0.875rem", + "isDeprecated": false, + "rightColumn": 25, + "widgetId": "jeoy24p0tk", + "minWidth": 450, + "label": "Label", + "parentId": "2z3a24uonx", + "labelAlignment": "left", + "renderMode": "CANVAS", + "mobileTopRow": 88, + "responsiveBehavior": "fill", + "originalTopRow": 88, + "mobileLeftColumn": 15, + "maxDynamicHeight": 9000, + "decimals": 0, + "iconAlign": "left", + "defaultText": "", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/DocumentViewer1.json b/pages/sample1/widgets/Form1/DocumentViewer1.json new file mode 100644 index 0000000..d4d1cde --- /dev/null +++ b/pages/sample1/widgets/Form1/DocumentViewer1.json @@ -0,0 +1,31 @@ +{ + "mobileBottomRow": 46, + "widgetName": "DocumentViewer1", + "isCanvas": false, + "displayName": "Document Viewer", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.108b743c515ff2bdc38f122cdf229c71.svg", + "searchTags": ["pdf"], + "topRow": 6, + "bottomRow": 46, + "parentRowSpace": 10, + "type": "DOCUMENT_VIEWER_WIDGET", + "hideCard": false, + "mobileRightColumn": 23, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "muyobz4mtp", + "isDeprecated": false, + "rightColumn": 23, + "widgetId": "erkgf61hnb", + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 6, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "docUrl": "https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Form1.json b/pages/sample1/widgets/Form1/Form1.json index 64afe9d..a1b94e0 100644 --- a/pages/sample1/widgets/Form1/Form1.json +++ b/pages/sample1/widgets/Form1/Form1.json @@ -8,7 +8,7 @@ "iconSVG": "https://appcdn.appsmith.com/static/media/icon.5d6d2ac5cb1aa68bcd9b14f11c56b44a.svg", "searchTags": ["group"], "topRow": 45, - "bottomRow": 110, + "bottomRow": 159, "parentRowSpace": 10, "type": "FORM_WIDGET", "hideCard": false, @@ -26,7 +26,7 @@ "widgetName": "Canvas2", "displayName": "Canvas", "topRow": 0, - "bottomRow": 650, + "bottomRow": 1140, "parentRowSpace": 1, "type": "CANVAS_WIDGET", "canExtend": false, @@ -58,7 +58,7 @@ "key": "uj2mf1ijb9", "backgroundColor": "#FFFFFF", "isDeprecated": false, - "rightColumn": 11, + "rightColumn": 21, "dynamicHeight": "AUTO_HEIGHT", "widgetId": "ty0bgybb9b", "minWidth": 450, @@ -72,6 +72,6 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileLeftColumn": 0, "maxDynamicHeight": 9000, - "originalBottomRow": 110, + "originalBottomRow": 159, "minDynamicHeight": 10 } \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Image1.json b/pages/sample1/widgets/Form1/Image1.json new file mode 100644 index 0000000..5a17f20 --- /dev/null +++ b/pages/sample1/widgets/Form1/Image1.json @@ -0,0 +1,38 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 107, + "widgetName": "Image1", + "displayName": "Image", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.30c8cbd442cce232b01ba2d434c53a53.svg", + "topRow": 95, + "bottomRow": 107, + "parentRowSpace": 10, + "type": "IMAGE_WIDGET", + "hideCard": false, + "mobileRightColumn": 31, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "imageShape": "RECTANGLE", + "leftColumn": 19, + "dynamicBindingPathList": [{"key": "borderRadius"}], + "defaultImage": "https://assets.appsmith.com/widgets/default.png", + "key": "flgw9qgrs8", + "image": "", + "isDeprecated": false, + "rightColumn": 31, + "objectFit": "cover", + "widgetId": "bo77sbp0fh", + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 95, + "maxZoomLevel": 1, + "enableDownload": false, + "originalTopRow": 95, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 19, + "originalBottomRow": 107, + "enableRotation": false +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/JSONForm1.json b/pages/sample1/widgets/Form1/JSONForm1.json index c7d8f29..b40ad1a 100644 --- a/pages/sample1/widgets/Form1/JSONForm1.json +++ b/pages/sample1/widgets/Form1/JSONForm1.json @@ -5,7 +5,7 @@ "topRow": 12, "type": "JSON_FORM_WIDGET", "animateLoading": true, - "leftColumn": 7, + "leftColumn": 60, "dynamicBindingPathList": [ {"key": "borderRadius"}, {"key": "boxShadow"}, @@ -118,7 +118,7 @@ }, "disabledWhenInvalid": true, "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", - "originalBottomRow": 63, + "originalBottomRow": 69, "useSourceData": false, "schema": {"__root_schema__": { "labelTextSize": "0.875rem", @@ -227,7 +227,7 @@ }, "dynamicPropertyPathList": [{"key": "schema.__root_schema__.children.date_of_birth.defaultValue"}], "displayName": "JSON Form", - "bottomRow": 63, + "bottomRow": 69, "fieldLimitExceeded": false, "parentRowSpace": 10, "title": "Form", @@ -245,7 +245,7 @@ "key": "a83cj8qajw", "backgroundColor": "#fff", "isDeprecated": false, - "rightColumn": 46, + "rightColumn": 62, "widgetId": "1mib36cd4e", "minWidth": 450, "parentId": "2z3a24uonx", diff --git a/pages/sample1/widgets/Form1/MapChart1.json b/pages/sample1/widgets/Form1/MapChart1.json new file mode 100644 index 0000000..140aef5 --- /dev/null +++ b/pages/sample1/widgets/Form1/MapChart1.json @@ -0,0 +1,89 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 52, + "widgetName": "MapChart1", + "data": [ + { + "id": "NA", + "value": ".82" + }, + { + "id": "SA", + "value": "2.04" + }, + { + "id": "AS", + "value": "1.78" + }, + { + "id": "EU", + "value": ".40" + }, + { + "id": "AF", + "value": "2.58" + }, + { + "id": "AU", + "value": "1.30" + } + ], + "colorRange": [ + { + "minValue": 0.5, + "code": "#FFD74D", + "maxValue": 1 + }, + { + "minValue": 1, + "code": "#FB8C00", + "maxValue": 2 + }, + { + "minValue": 2, + "code": "#E65100", + "maxValue": 3 + } + ], + "isCanvas": false, + "displayName": "Map Chart", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.2e98f406047401a91fe13f819347bd2b.svg", + "searchTags": [ + "graph", + "visuals", + "visualisations" + ], + "topRow": 20, + "bottomRow": 52, + "parentRowSpace": 10, + "type": "MAP_CHART_WIDGET", + "hideCard": false, + "mapTitle": "Global Population", + "mobileRightColumn": 26, + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "parentColumnSpace": 5.5732421875, + "leftColumn": 23, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"}, + {"key": "fontFamily"} + ], + "key": "nxb0h1y8v7", + "isDeprecated": false, + "rightColumn": 47, + "widgetId": "lhm91y27nx", + "mapType": "WORLD", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 20, + "responsiveBehavior": "fill", + "originalTopRow": 20, + "showLabels": true, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 2, + "originalBottomRow": 52 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/RadioGroup1.json b/pages/sample1/widgets/Form1/RadioGroup1.json new file mode 100644 index 0000000..51baa8c --- /dev/null +++ b/pages/sample1/widgets/Form1/RadioGroup1.json @@ -0,0 +1,55 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 60, + "widgetName": "RadioGroup1", + "displayName": "Radio Group", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.d0171e5090e38b83793ce771c861be9e.svg", + "searchTags": ["choice"], + "topRow": 54, + "bottomRow": 62, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "RADIO_GROUP_WIDGET", + "hideCard": false, + "mobileRightColumn": 29, + "defaultOptionValue": "Y", + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 9, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Top", + "options": [ + { + "label": "Yes", + "value": "Y" + }, + { + "label": "No", + "value": "N" + } + ], + "isDisabled": false, + "key": "ings06gzht", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 29, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "h8lysrvc07", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "Label", + "version": 1, + "parentId": "2z3a24uonx", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 54, + "originalTopRow": 54, + "mobileLeftColumn": 9, + "maxDynamicHeight": 9000, + "originalBottomRow": 62, + "isInline": true, + "alignment": "left", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/RichTextEditor1.json b/pages/sample1/widgets/Form1/RichTextEditor1.json new file mode 100644 index 0000000..f9b3b0e --- /dev/null +++ b/pages/sample1/widgets/Form1/RichTextEditor1.json @@ -0,0 +1,52 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 52, + "widgetName": "RichTextEditor1", + "displayName": "Rich Text Editor", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.cbb4ba403a42ccddcd5d4bb23ae7b4c9.svg", + "labelText": "Label", + "searchTags": [ + "input", + "rte" + ], + "topRow": 32, + "bottomRow": 52, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "RICH_TEXT_EDITOR_WIDGET", + "hideCard": false, + "mobileRightColumn": 17, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 47, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "labelPosition": "Top", + "inputType": "html", + "isDisabled": false, + "key": "f9tynp3uwx", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 58, + "isDefaultClickDisabled": true, + "dynamicHeight": "FIXED", + "widgetId": "qilocp5gms", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "2z3a24uonx", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 32, + "responsiveBehavior": "fill", + "originalTopRow": 32, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "originalBottomRow": 52, + "defaultText": "This is the initial content<\/b> of the editor", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Statbox1/IconButton1.json b/pages/sample1/widgets/Form1/Statbox1/IconButton1.json new file mode 100644 index 0000000..966c380 --- /dev/null +++ b/pages/sample1/widgets/Form1/Statbox1/IconButton1.json @@ -0,0 +1,41 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 10, + "widgetName": "IconButton1", + "buttonColor": "{{appsmith.theme.colors.primaryColor}}", + "displayName": "Icon button", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.80fc7466c0d7181ec0271de7fda795ec.svg", + "searchTags": [ + "click", + "submit" + ], + "topRow": 2, + "bottomRow": 10, + "type": "ICON_BUTTON_WIDGET", + "hideCard": false, + "mobileRightColumn": 62, + "animateLoading": true, + "leftColumn": 46, + "dynamicBindingPathList": [ + {"key": "buttonColor"}, + {"key": "borderRadius"} + ], + "isDisabled": false, + "key": "fqs21vbc1t", + "isDeprecated": false, + "rightColumn": 62, + "iconName": "arrow-top-right", + "widgetId": "g5mavumetr", + "buttonStyle": "PRIMARY", + "minWidth": 50, + "isVisible": true, + "version": 1, + "parentId": "zrvly2ispf", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 2, + "responsiveBehavior": "hug", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 46, + "buttonVariant": "PRIMARY" +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Statbox1/Statbox1.json b/pages/sample1/widgets/Form1/Statbox1/Statbox1.json new file mode 100644 index 0000000..297414f --- /dev/null +++ b/pages/sample1/widgets/Form1/Statbox1/Statbox1.json @@ -0,0 +1,76 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 76, + "widgetName": "Statbox1", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Stats Box", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.8290ec5872cca73ad22ed3118dd2ed22.svg", + "searchTags": ["statbox"], + "topRow": 62, + "bottomRow": 85, + "parentRowSpace": 10, + "type": "STATBOX_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 31, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 9, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "children": [{ + "mobileBottomRow": 140, + "widgetName": "Canvas4", + "displayName": "Canvas", + "topRow": 0, + "bottomRow": 230, + "parentRowSpace": 1, + "type": "CANVAS_WIDGET", + "canExtend": false, + "hideCard": true, + "minHeight": 140, + "mobileRightColumn": 122.611328125, + "parentColumnSpace": 1, + "leftColumn": 0, + "dynamicBindingPathList": [], + "key": "wghuliie0x", + "isDeprecated": false, + "rightColumn": 122.611328125, + "detachFromLayout": true, + "widgetId": "zrvly2ispf", + "containerStyle": "none", + "minWidth": 450, + "isVisible": true, + "version": 1, + "parentId": "8u57k1qfmt", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "mobileLeftColumn": 0, + "flexLayers": [] + }], + "borderWidth": "1", + "positioning": "fixed", + "key": "hbmoc9m47g", + "backgroundColor": "white", + "isDeprecated": false, + "rightColumn": 31, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "8u57k1qfmt", + "isVisible": true, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 62, + "responsiveBehavior": "fill", + "originalTopRow": 62, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 9, + "maxDynamicHeight": 9000, + "originalBottomRow": 85, + "minDynamicHeight": 14 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Statbox1/Text3.json b/pages/sample1/widgets/Form1/Statbox1/Text3.json new file mode 100644 index 0000000..3d590b9 --- /dev/null +++ b/pages/sample1/widgets/Form1/Statbox1/Text3.json @@ -0,0 +1,51 @@ +{ + "mobileBottomRow": 4, + "widgetName": "Text3", + "displayName": "Text", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 0, + "bottomRow": 5, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 37, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "Page Views", + "key": "snf504nigy", + "isDeprecated": false, + "rightColumn": 37, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "8m0jp0rt1x", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#999999", + "version": 1, + "parentId": "zrvly2ispf", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 0, + "responsiveBehavior": "fill", + "originalTopRow": 0, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1, + "maxDynamicHeight": 9000, + "originalBottomRow": 5, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Statbox1/Text4.json b/pages/sample1/widgets/Form1/Statbox1/Text4.json new file mode 100644 index 0000000..fa9ecfd --- /dev/null +++ b/pages/sample1/widgets/Form1/Statbox1/Text4.json @@ -0,0 +1,51 @@ +{ + "mobileBottomRow": 8, + "widgetName": "Text4", + "displayName": "Text", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 5, + "bottomRow": 11, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 37, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "2.6 M", + "key": "snf504nigy", + "isDeprecated": false, + "rightColumn": 37, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "2szq4m2cw8", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#231F20", + "version": 1, + "parentId": "zrvly2ispf", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 4, + "responsiveBehavior": "fill", + "originalTopRow": 5, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1, + "maxDynamicHeight": 9000, + "originalBottomRow": 11, + "fontSize": "1.25rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Statbox1/Text5.json b/pages/sample1/widgets/Form1/Statbox1/Text5.json new file mode 100644 index 0000000..3a08172 --- /dev/null +++ b/pages/sample1/widgets/Form1/Statbox1/Text5.json @@ -0,0 +1,51 @@ +{ + "mobileBottomRow": 12, + "widgetName": "Text5", + "displayName": "Text", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c3b6033f570046f8c6288d911333a827.svg", + "searchTags": [ + "typography", + "paragraph", + "label" + ], + "topRow": 11, + "bottomRow": 21, + "type": "TEXT_WIDGET", + "hideCard": false, + "mobileRightColumn": 37, + "animateLoading": true, + "overflow": "NONE", + "fontFamily": "{{appsmith.theme.fontFamily.appFont}}", + "leftColumn": 1, + "dynamicBindingPathList": [ + {"key": "truncateButtonColor"}, + {"key": "fontFamily"}, + {"key": "borderRadius"} + ], + "shouldTruncate": false, + "truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}", + "text": "21% more than last month", + "key": "snf504nigy", + "isDeprecated": false, + "rightColumn": 37, + "textAlign": "LEFT", + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "idfrtzg3dc", + "minWidth": 450, + "isVisible": true, + "fontStyle": "BOLD", + "textColor": "#03B365", + "version": 1, + "parentId": "zrvly2ispf", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 8, + "responsiveBehavior": "fill", + "originalTopRow": 11, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 1, + "maxDynamicHeight": 9000, + "originalBottomRow": 21, + "fontSize": "0.875rem", + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Switch1.json b/pages/sample1/widgets/Form1/Switch1.json new file mode 100644 index 0000000..3b8affc --- /dev/null +++ b/pages/sample1/widgets/Form1/Switch1.json @@ -0,0 +1,41 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 73, + "widgetName": "Switch1", + "displayName": "Switch", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.c77450c6a660d2ddf1b49f085348de1c.svg", + "searchTags": ["boolean"], + "topRow": 69, + "bottomRow": 74, + "parentRowSpace": 10, + "type": "SWITCH_WIDGET", + "alignWidget": "LEFT", + "hideCard": false, + "mobileRightColumn": 55, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 43, + "dynamicBindingPathList": [{"key": "accentColor"}], + "labelPosition": "Left", + "isDisabled": false, + "key": "s5207cjxps", + "isDeprecated": false, + "rightColumn": 55, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "k3q328aym1", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "isVisible": true, + "label": "Label", + "defaultSwitchState": true, + "version": 1, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 69, + "responsiveBehavior": "fill", + "originalTopRow": 69, + "mobileLeftColumn": 43, + "maxDynamicHeight": 9000, + "originalBottomRow": 74, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Tabs2.json b/pages/sample1/widgets/Form1/Tabs2.json new file mode 100644 index 0000000..caf8886 --- /dev/null +++ b/pages/sample1/widgets/Form1/Tabs2.json @@ -0,0 +1,66 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 108, + "widgetName": "Tabs2", + "borderColor": "#E0DEDE", + "isCanvas": true, + "displayName": "Tabs", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.8a93874870bccee17fbcd02b950c3bcd.svg", + "topRow": 93, + "bottomRow": 112, + "parentRowSpace": 10, + "type": "TABS_WIDGET", + "hideCard": false, + "shouldScrollContents": true, + "mobileRightColumn": 15, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "borderWidth": 1, + "key": "up15y3s74n", + "backgroundColor": "#FFFFFF", + "isDeprecated": false, + "rightColumn": 15, + "dynamicHeight": "AUTO_HEIGHT", + "widgetId": "6znqjdhwhk", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "defaultTab": "Tab 1", + "shouldShowTabs": true, + "minWidth": 450, + "tabsObj": { + "tab1": { + "widgetId": "ldrpy9dvgq", + "positioning": "vertical", + "index": 0, + "label": "Tab 1", + "id": "tab1", + "isVisible": true + }, + "tab2": { + "widgetId": "zcdcetvqct", + "positioning": "vertical", + "index": 1, + "label": "Tab 2", + "id": "tab2", + "isVisible": true + } + }, + "isVisible": true, + "version": 3, + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 93, + "responsiveBehavior": "fill", + "originalTopRow": 93, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "originalBottomRow": 112, + "minDynamicHeight": 15 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Text2.json b/pages/sample1/widgets/Form1/Text2.json index d23c580..549852e 100644 --- a/pages/sample1/widgets/Form1/Text2.json +++ b/pages/sample1/widgets/Form1/Text2.json @@ -8,8 +8,8 @@ "paragraph", "label" ], - "topRow": 1, - "bottomRow": 12, + "topRow": 0, + "bottomRow": 6, "type": "TEXT_WIDGET", "hideCard": false, "mobileRightColumn": 25.5, @@ -45,7 +45,7 @@ "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", "mobileLeftColumn": 1.5, "maxDynamicHeight": 9000, - "originalBottomRow": 5, + "originalBottomRow": 7, "fontSize": "1.25rem", "minDynamicHeight": 4 } \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/TreeSelect1.json b/pages/sample1/widgets/Form1/TreeSelect1.json new file mode 100644 index 0000000..19bc12e --- /dev/null +++ b/pages/sample1/widgets/Form1/TreeSelect1.json @@ -0,0 +1,77 @@ +{ + "boxShadow": "none", + "mobileBottomRow": 87, + "widgetName": "TreeSelect1", + "displayName": "TreeSelect", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.1a5defb3c19b4cac4a27829d1f979e4c.svg", + "labelText": "Label", + "searchTags": [ + "dropdown", + "singleselecttree" + ], + "topRow": 80, + "bottomRow": 87, + "parentRowSpace": 10, + "labelWidth": 5, + "type": "SINGLE_SELECT_TREE_WIDGET", + "hideCard": false, + "mobileRightColumn": 8, + "defaultOptionValue": "BLUE", + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 0, + "dynamicBindingPathList": [ + {"key": "accentColor"}, + {"key": "borderRadius"} + ], + "labelPosition": "Top", + "options": [ + { + "children": [ + { + "label": "Dark Blue", + "value": "DARK BLUE" + }, + { + "label": "Light Blue", + "value": "LIGHT BLUE" + } + ], + "label": "Blue", + "value": "BLUE" + }, + { + "label": "Green", + "value": "GREEN" + }, + { + "label": "Red", + "value": "RED" + } + ], + "placeholderText": "Select option", + "isDisabled": false, + "key": "pjtk16a7ru", + "labelTextSize": "0.875rem", + "isRequired": false, + "isDeprecated": false, + "rightColumn": 8, + "dynamicHeight": "FIXED", + "widgetId": "5ca0iiqoen", + "accentColor": "{{appsmith.theme.colors.primaryColor}}", + "minWidth": 450, + "isVisible": true, + "version": 1, + "expandAll": false, + "parentId": "2z3a24uonx", + "labelAlignment": "left", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 80, + "responsiveBehavior": "fill", + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 0, + "maxDynamicHeight": 9000, + "allowClear": false, + "minDynamicHeight": 4 +} \ No newline at end of file diff --git a/pages/sample1/widgets/Form1/Video1.json b/pages/sample1/widgets/Form1/Video1.json new file mode 100644 index 0000000..3cf72ba --- /dev/null +++ b/pages/sample1/widgets/Form1/Video1.json @@ -0,0 +1,39 @@ +{ + "boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}", + "mobileBottomRow": 108, + "widgetName": "Video1", + "displayName": "Video", + "iconSVG": "https://appcdn.appsmith.com/static/media/icon.e287f6857746abbb793ba263c67eb446.svg", + "searchTags": ["youtube"], + "topRow": 80, + "bottomRow": 108, + "parentRowSpace": 10, + "type": "VIDEO_WIDGET", + "hideCard": false, + "mobileRightColumn": 49, + "animateLoading": true, + "parentColumnSpace": 5.5732421875, + "leftColumn": 31, + "dynamicBindingPathList": [ + {"key": "borderRadius"}, + {"key": "boxShadow"} + ], + "key": "l9ebvfgf5i", + "backgroundColor": "#000", + "isDeprecated": false, + "rightColumn": 49, + "widgetId": "mx678czkee", + "isVisible": true, + "version": 1, + "url": "https://assets.appsmith.com/widgets/bird.mp4", + "parentId": "2z3a24uonx", + "renderMode": "CANVAS", + "isLoading": false, + "mobileTopRow": 80, + "responsiveBehavior": "fill", + "originalTopRow": 80, + "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}", + "mobileLeftColumn": 31, + "originalBottomRow": 108, + "autoPlay": false +} \ No newline at end of file