Base layout and base statistics pages

This commit is contained in:
2026-01-20 13:38:25 +00:00
parent ab003c148d
commit fd3b3b8e67
43 changed files with 2733 additions and 310 deletions

View File

@@ -4,7 +4,16 @@
"appPositioning": {
"type": "FIXED"
},
"navigationSetting": {},
"navigationSetting": {
"colorStyle": "theme",
"logoAssetId": "",
"logoConfiguration": "logoAndApplicationTitle",
"navStyle": "sidebar",
"orientation": "side",
"position": "static",
"showNavbar": true,
"showSignIn": true
},
"themeSetting": {
"appMaxWidth": "LARGE",
"density": 1.0,
@@ -15,14 +24,26 @@
"collapseInvisibleWidgets": true,
"color": "#C7F3F0",
"evaluationVersion": 2,
"icon": "flag",
"icon": "calender",
"pages": [
{
"id": "Page1",
"id": "Home",
"isDefault": true
},
{
"id": "Page2",
"id": "Sales",
"isDefault": false
},
{
"id": "Sales - Capacity Planning",
"isDefault": false
},
{
"id": "Sales - Units Shipped",
"isDefault": false
},
{
"id": "Marketing",
"isDefault": false
}
],
@@ -30,7 +51,16 @@
"appPositioning": {
"type": "FIXED"
},
"navigationSetting": {},
"navigationSetting": {
"colorStyle": "theme",
"logoAssetId": "",
"logoConfiguration": "logoAndApplicationTitle",
"navStyle": "sidebar",
"orientation": "side",
"position": "static",
"showNavbar": true,
"showSignIn": true
},
"themeSetting": {
"appMaxWidth": "LARGE",
"density": 1.0,

31
pages/Home/Home.json Normal file
View File

@@ -0,0 +1,31 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_4fbad1cb-0bc0-42d0-b1e8-9afb5dda507b",
"unpublishedPage": {
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 750,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
"dynamicBindingPathList": [],
"leftColumn": 0,
"minHeight": 1090,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"rightColumn": 1224,
"snapColumns": 64,
"snapRows": 107,
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 94,
"widgetId": "0",
"widgetName": "MainContainer"
}
}
],
"name": "Home",
"slug": "home"
}
}

View File

@@ -0,0 +1 @@
select * from mpe.poormancapacity;

View File

@@ -1,11 +1,11 @@
{
"gitSyncId": "6806a8bdc0c8882e5a70d0a0_0a5ed354-c003-4b6e-a9ec-402026a5128a",
"id": "Page1_Capacity_Planning",
"gitSyncId": "6968b6e8271e5e0befde3194_d60005da-e39e-4d62-a1e9-3b2eb7b574ef",
"id": "Home_capacity_display_all",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "select * from mpe.poormancapacity",
"body": "select * from mpe.poormancapacity;",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
@@ -17,14 +17,14 @@
},
"confirmBeforeExecute": false,
"datasource": {
"id": "xTuple_GoLive",
"id": "xTuple_Sandbox",
"isAutoGenerated": false,
"name": "xTuple_GoLive",
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [],
"name": "Capacity_Planning",
"pageId": "Page1",
"name": "capacity_display_all",
"pageId": "Home",
"runBehaviour": "MANUAL",
"userSetOnLoad": false
}

View File

@@ -0,0 +1,121 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowScroll": false,
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 37,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"chartData": {
"amejnorddr": {
"data": [
{
"x": "Product1",
"y": 20000
},
{
"x": "Product2",
"y": 22000
},
{
"x": "Product3",
"y": 32000
}
],
"seriesName": "2023"
}
},
"chartName": "Sales Report",
"chartType": "COLUMN_CHART",
"customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}",
"customFusionChartConfig": {
"dataSource": {
"chart": {
"alignCaptionWithCanvas": 1,
"canvasPadding": "0",
"caption": "Sales Report",
"captionAlignment": "center",
"captionFontColor": "#231F20",
"captionFontSize": "24",
"captionPadding": "20",
"chartBottomMargin": "10",
"chartLeftMargin": "20",
"chartRightMargin": "40",
"chartTopMargin": "10",
"labelFontColor": "#716e6e",
"labelFontSize": "12",
"legendIconAlpha": "100",
"legendIconBgAlpha": "100",
"legendIconSides": "4",
"legendPosition": "top",
"theme": "fusion",
"xAxisName": "Product Line",
"xAxisNameFontColor": "#716e6e",
"xAxisNameFontSize": "14",
"yAxisName": "Revenue($)",
"yAxisNameFontColor": "#716e6e",
"yAxisNameFontSize": "14",
"yAxisValueFontColor": "#716e6e",
"yAxisValueFontSize": "12"
},
"data": [
{
"label": "Product1",
"value": 20000
},
{
"label": "Product2",
"value": 22000
},
{
"label": "Product3",
"value": 32000
}
]
},
"type": "column2d"
},
"dynamicBindingPathList": [
{
"key": "customEChartConfig"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "accentColor"
},
{
"key": "fontFamily"
}
],
"flexVerticalAlignment": "start",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"isLoading": false,
"isVisible": true,
"key": "ptkjcbqs1e",
"labelOrientation": "auto",
"leftColumn": 3,
"minWidth": 450,
"mobileBottomRow": 35,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 3,
"needsErrorInfo": true,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 30,
"showDataPointLabel": false,
"topRow": 5,
"type": "CHART_WIDGET",
"version": 1,
"widgetId": "bkkgqululk",
"widgetName": "Chart1",
"xAxisName": "Product Line",
"yAxisName": "Revenue($)"
}

View File

@@ -0,0 +1,122 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowScroll": false,
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 75,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"chartData": {
"amejnorddr": {
"data": [
{
"x": "Product1",
"y": 20000
},
{
"x": "Product2",
"y": 22000
},
{
"x": "Product3",
"y": 32000
}
],
"seriesName": "2023"
}
},
"chartName": "Sales Report",
"chartType": "BAR_CHART",
"customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}",
"customFusionChartConfig": {
"dataSource": {
"chart": {
"alignCaptionWithCanvas": 1,
"canvasPadding": "0",
"caption": "Sales Report",
"captionAlignment": "center",
"captionFontColor": "#231F20",
"captionFontSize": "24",
"captionPadding": "20",
"chartBottomMargin": "10",
"chartLeftMargin": "20",
"chartRightMargin": "40",
"chartTopMargin": "10",
"labelFontColor": "#716e6e",
"labelFontSize": "12",
"legendIconAlpha": "100",
"legendIconBgAlpha": "100",
"legendIconSides": "4",
"legendPosition": "top",
"theme": "fusion",
"xAxisName": "Product Line",
"xAxisNameFontColor": "#716e6e",
"xAxisNameFontSize": "14",
"yAxisName": "Revenue($)",
"yAxisNameFontColor": "#716e6e",
"yAxisNameFontSize": "14",
"yAxisValueFontColor": "#716e6e",
"yAxisValueFontSize": "12"
},
"data": [
{
"label": "Product1",
"value": 20000
},
{
"label": "Product2",
"value": 22000
},
{
"label": "Product3",
"value": 32000
}
]
},
"type": "column2d"
},
"dynamicBindingPathList": [
{
"key": "customEChartConfig"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "accentColor"
},
{
"key": "fontFamily"
}
],
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "start",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"isLoading": false,
"isVisible": true,
"key": "ptkjcbqs1e",
"labelOrientation": "auto",
"leftColumn": 3,
"minWidth": 450,
"mobileBottomRow": 35,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 3,
"needsErrorInfo": true,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 30,
"showDataPointLabel": false,
"topRow": 43,
"type": "CHART_WIDGET",
"version": 1,
"widgetId": "sih5r3hsg7",
"widgetName": "Chart1Copy",
"xAxisName": "Product Line",
"yAxisName": "Revenue($)"
}

View File

@@ -0,0 +1,122 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowScroll": false,
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 74,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"chartData": {
"amejnorddr": {
"data": [
{
"x": "Product1",
"y": 20000
},
{
"x": "Product2",
"y": 22000
},
{
"x": "Product3",
"y": 32000
}
],
"seriesName": "2023"
}
},
"chartName": "Sales Report",
"chartType": "PIE_CHART",
"customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}",
"customFusionChartConfig": {
"dataSource": {
"chart": {
"alignCaptionWithCanvas": 1,
"canvasPadding": "0",
"caption": "Sales Report",
"captionAlignment": "center",
"captionFontColor": "#231F20",
"captionFontSize": "24",
"captionPadding": "20",
"chartBottomMargin": "10",
"chartLeftMargin": "20",
"chartRightMargin": "40",
"chartTopMargin": "10",
"labelFontColor": "#716e6e",
"labelFontSize": "12",
"legendIconAlpha": "100",
"legendIconBgAlpha": "100",
"legendIconSides": "4",
"legendPosition": "top",
"theme": "fusion",
"xAxisName": "Product Line",
"xAxisNameFontColor": "#716e6e",
"xAxisNameFontSize": "14",
"yAxisName": "Revenue($)",
"yAxisNameFontColor": "#716e6e",
"yAxisNameFontSize": "14",
"yAxisValueFontColor": "#716e6e",
"yAxisValueFontSize": "12"
},
"data": [
{
"label": "Product1",
"value": 20000
},
{
"label": "Product2",
"value": 22000
},
{
"label": "Product3",
"value": 32000
}
]
},
"type": "column2d"
},
"dynamicBindingPathList": [
{
"key": "customEChartConfig"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "accentColor"
},
{
"key": "fontFamily"
}
],
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "start",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"isLoading": false,
"isVisible": true,
"key": "ptkjcbqs1e",
"labelOrientation": "auto",
"leftColumn": 33,
"minWidth": 450,
"mobileBottomRow": 35,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 3,
"needsErrorInfo": true,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 61,
"showDataPointLabel": false,
"topRow": 42,
"type": "CHART_WIDGET",
"version": 1,
"widgetId": "9gff40seu4",
"widgetName": "Chart1CopyCopy",
"xAxisName": "Product Line",
"yAxisName": "Revenue($)"
}

View File

@@ -0,0 +1,122 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowScroll": false,
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 36,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"chartData": {
"amejnorddr": {
"data": [
{
"x": "Product1",
"y": 20000
},
{
"x": "Product2",
"y": 22000
},
{
"x": "Product3",
"y": 32000
}
],
"seriesName": "2023"
}
},
"chartName": "Sales Report",
"chartType": "LINE_CHART",
"customEChartConfig": "{{\n{\n \"dataset\": {\n \"source\": [\n [\n \"Day\",\n \"Baidu\",\n \"Google\",\n \"Bing\"\n ],\n [\n \"Mon\",\n 620,\n 120,\n 60\n ],\n [\n \"Tue\",\n 732,\n 132,\n 72\n ],\n [\n \"Wed\",\n 701,\n 101,\n 71\n ],\n [\n \"Thu\",\n 734,\n 134,\n 74\n ],\n [\n \"Fri\",\n 1090,\n 290,\n 190\n ],\n [\n \"Sat\",\n 1130,\n 230,\n 130\n ],\n [\n \"Sun\",\n 1120,\n 220,\n 110\n ]\n ]\n },\n \"tooltip\": {\n \"trigger\": \"axis\",\n \"axisPointer\": {\n \"type\": \"shadow\"\n }\n },\n \"title\": {\n \"text\": \"Search Engine Usage\",\n \"left\": \"center\",\n \"textStyle\": {\n \"width\": 200,\n \"overflow\": \"truncate\"\n }\n },\n \"legend\": {\n \"top\": 40,\n \"type\": \"scroll\"\n },\n \"grid\": {\n \"left\": 15,\n \"right\": 15,\n \"bottom\": 30,\n \"top\": 100,\n \"containLabel\": true\n },\n \"xAxis\": [\n {\n \"type\": \"category\"\n }\n ],\n \"yAxis\": [\n {\n \"type\": \"value\"\n }\n ],\n \"series\": [\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n },\n {\n \"type\": \"bar\",\n \"stack\": \"Search Engine\"\n }\n ]\n}\n}}",
"customFusionChartConfig": {
"dataSource": {
"chart": {
"alignCaptionWithCanvas": 1,
"canvasPadding": "0",
"caption": "Sales Report",
"captionAlignment": "center",
"captionFontColor": "#231F20",
"captionFontSize": "24",
"captionPadding": "20",
"chartBottomMargin": "10",
"chartLeftMargin": "20",
"chartRightMargin": "40",
"chartTopMargin": "10",
"labelFontColor": "#716e6e",
"labelFontSize": "12",
"legendIconAlpha": "100",
"legendIconBgAlpha": "100",
"legendIconSides": "4",
"legendPosition": "top",
"theme": "fusion",
"xAxisName": "Product Line",
"xAxisNameFontColor": "#716e6e",
"xAxisNameFontSize": "14",
"yAxisName": "Revenue($)",
"yAxisNameFontColor": "#716e6e",
"yAxisNameFontSize": "14",
"yAxisValueFontColor": "#716e6e",
"yAxisValueFontSize": "12"
},
"data": [
{
"label": "Product1",
"value": 20000
},
{
"label": "Product2",
"value": 22000
},
{
"label": "Product3",
"value": 32000
}
]
},
"type": "column2d"
},
"dynamicBindingPathList": [
{
"key": "customEChartConfig"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "accentColor"
},
{
"key": "fontFamily"
}
],
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "start",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"isLoading": false,
"isVisible": true,
"key": "ptkjcbqs1e",
"labelOrientation": "auto",
"leftColumn": 33,
"minWidth": 450,
"mobileBottomRow": 36,
"mobileLeftColumn": 34,
"mobileRightColumn": 58,
"mobileTopRow": 4,
"needsErrorInfo": true,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 61,
"showDataPointLabel": false,
"topRow": 4,
"type": "CHART_WIDGET",
"version": 1,
"widgetId": "1d2av7y5u4",
"widgetName": "Chart2",
"xAxisName": "Product Line",
"yAxisName": "Revenue($)"
}

View File

@@ -0,0 +1,32 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_48a95e4c-7ce4-402d-a992-b5d996b95477",
"unpublishedPage": {
"isHidden": false,
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 1080,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
"dynamicBindingPathList": [],
"leftColumn": 0,
"minHeight": 1090,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"rightColumn": 1224,
"snapColumns": 64,
"snapRows": 107,
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 94,
"widgetId": "0",
"widgetName": "MainContainer"
}
}
],
"name": "Marketing",
"slug": "marketing"
}
}

View File

@@ -1 +0,0 @@
select * from mpe.poormancapacity

View File

@@ -1 +0,0 @@
INSERT INTO mpe.isocountry ("countryname","continent") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}')

View File

@@ -1,12 +0,0 @@
SELECT
*
FROM
mpe.isocountry
WHERE
"iso_id" ilike '%{{Table1.searchText}}%'
ORDER BY
"{{Table1.sortOrder.column || 'iso_id'}}" {{Table1.sortOrder.order !== "desc" ? "" : "DESC"}}
LIMIT
{{Table1.pageSize}}
OFFSET
{{Table1.pageOffset}}

View File

@@ -1,35 +0,0 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_6ab47e10-a6f8-4be9-9f46-2e01804dfaf8",
"id": "Page1_Select_mpe_isocountry1",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT\n *\nFROM\n mpe.isocountry\nWHERE\n \"iso_id\" ilike '%{{Table1.searchText}}%'\nORDER BY\n \"{{Table1.sortOrder.column || 'iso_id'}}\" {{Table1.sortOrder.order !== \"desc\" ? \"\" : \"DESC\"}}\nLIMIT\n {{Table1.pageSize}}\nOFFSET\n {{Table1.pageOffset}}",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": false
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "xTuple_Sandbox",
"isAutoGenerated": false,
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [
{
"key": "body"
}
],
"name": "Select_mpe_isocountry1",
"pageId": "Page1",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}
}

View File

@@ -1 +0,0 @@
SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%';

View File

@@ -1 +0,0 @@
UPDATE mpe.isocountry SET "countryname"= '{{Table1.updatedRow.countryname}}', "continent"= '{{Table1.updatedRow.continent}}' WHERE "iso_id"= {{Table1.updatedRow.iso_id}};

View File

@@ -1,35 +0,0 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_966f24b4-0187-44b9-ae1b-91384ed62a26",
"id": "Page1_Update_mpe_isocountry1",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "UPDATE mpe.isocountry SET \"countryname\"= '{{Table1.updatedRow.countryname}}', \"continent\"= '{{Table1.updatedRow.continent}}' WHERE \"iso_id\"= {{Table1.updatedRow.iso_id}};",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": false
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "xTuple_Sandbox",
"isAutoGenerated": false,
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [
{
"key": "body"
}
],
"name": "Update_mpe_isocountry1",
"pageId": "Page1",
"runBehaviour": "MANUAL",
"userSetOnLoad": false
}
}

View File

@@ -0,0 +1,33 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_6682924a-a29a-409c-b7a9-2f8bceee050f",
"unpublishedPage": {
"isHidden": false,
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 1000,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
"dynamicBindingPathList": [],
"dynamicTriggerPathList": [],
"leftColumn": 0,
"minHeight": 1292,
"parentColumnSpace": 1,
"parentRowSpace": 1,
"rightColumn": 4896,
"snapColumns": 64,
"snapRows": 124,
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 94,
"widgetId": "0",
"widgetName": "MainContainer"
}
}
],
"name": "Sales - Capacity Planning",
"slug": "sales-capacity-planning"
}
}

View File

@@ -0,0 +1 @@
select * from mpe.poormancapacity;

View File

@@ -1,16 +1,16 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_1daa0af7-bfec-48c0-8a6f-00b33b06722c",
"id": "Page1_Total_record_mpe_isocountry1",
"gitSyncId": "6968b6e8271e5e0befde3194_b08e8e8d-3da7-45d6-b038-d06b2bafa9e4",
"id": "Sales - Capacity Planning_capacity_display_all",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT COUNT(*) from mpe.isocountry where iso_id ilike '%{{Table1.searchText}}%';",
"body": "select * from mpe.poormancapacity;",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": false
"value": true
}
],
"timeoutInMillisecond": 10000
@@ -22,13 +22,9 @@
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [
{
"key": "body"
}
],
"name": "Total_record_mpe_isocountry1",
"pageId": "Page1",
"dynamicBindingPathList": [],
"name": "capacity_display_all",
"pageId": "Sales - Capacity Planning",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 7,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "pii8e5rbru",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 5,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 1,
"needsErrorInfo": false,
"originalBottomRow": 7,
"originalTopRow": 2,
"overflow": "NONE",
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 17,
"shouldTruncate": false,
"text": "Sales / Capacity Planning",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 2,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "mt8rmbyqnn",
"widgetName": "Heading"
}

View File

@@ -0,0 +1,93 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 13,
"boxShadow": "none",
"buttonVariant": "PRIMARY",
"childStylesheet": {
"button": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "groupButtons.groupButton3.buttonColor"
}
],
"dynamicTriggerPathList": [
{
"key": "groupButtons.groupButton1.onClick"
},
{
"key": "groupButtons.groupButton3.onClick"
}
],
"groupButtons": {
"groupButton1": {
"buttonColor": "#d4d4d8",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"iconAlign": "right",
"id": "groupButton1",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Capacity Planning",
"menuItems": {},
"onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
},
"groupButton3": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"id": "groupButton3",
"index": 1,
"isDisabled": false,
"isVisible": true,
"label": "Units Shipped",
"menuItems": {
"menuItemr01yri5nag": {
"id": "menuItemr01yri5nag",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Menu Item",
"widgetId": "z3w4r50nta"
}
},
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
}
},
"isCanvas": false,
"isLoading": false,
"isVisible": true,
"key": "f10t84z5gq",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 12,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 8,
"needsErrorInfo": false,
"orientation": "horizontal",
"originalBottomRow": 12,
"originalTopRow": 8,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 25,
"topRow": 9,
"type": "BUTTON_GROUP_WIDGET",
"version": 1,
"widgetId": "d8f8txmi5z",
"widgetName": "Navigation"
}

View File

@@ -1,11 +1,10 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"allowAddNewRow": true,
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 52,
"bottomRow": 100,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
@@ -33,13 +32,14 @@
}
},
"columnOrder": [
"iso_id",
"countryname",
"continent",
"EditActions1"
"line_type",
"start_date",
"end_date",
"used_blocks"
],
"columnUpdatedAt": 1768470523594,
"columnUpdatedAt": 1768910474559,
"columnWidthMap": {},
"compactMode": "DEFAULT",
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
@@ -62,62 +62,21 @@
"key": "tableData"
},
{
"key": "totalRecordsCount"
"key": "primaryColumns.line_type.computedValue"
},
{
"key": "primaryColumns.iso_id.computedValue"
"key": "primaryColumns.start_date.computedValue"
},
{
"key": "primaryColumns.countryname.computedValue"
"key": "primaryColumns.end_date.computedValue"
},
{
"key": "primaryColumns.continent.computedValue"
},
{
"key": "primaryColumns.EditActions1.saveButtonColor"
},
{
"key": "primaryColumns.EditActions1.saveBorderRadius"
},
{
"key": "primaryColumns.EditActions1.discardBorderRadius"
},
{
"key": "primaryColumns.EditActions1.isSaveDisabled"
},
{
"key": "primaryColumns.EditActions1.isDiscardDisabled"
"key": "primaryColumns.used_blocks.computedValue"
}
],
"dynamicPropertyPathList": [
{
"key": "tableData"
},
{
"key": "primaryColumns.EditActions1.isSaveDisabled"
},
{
"key": "primaryColumns.EditActions1.isDiscardDisabled"
}
],
"dynamicTriggerPathList": [
{
"key": "onPageChange"
},
{
"key": "onSearchTextChanged"
},
{
"key": "onSort"
},
{
"key": "onAddNewRowSave"
},
{
"key": "primaryColumns.EditActions1.onSave"
}
],
"enableClientSideSearch": false,
"dynamicPropertyPathList": [],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
@@ -125,96 +84,49 @@
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": false,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "0c6xqzrpky",
"key": "o9k9wp97q1",
"label": "Data",
"leftColumn": 2,
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 36,
"mobileLeftColumn": 2,
"mobileRightColumn": 36,
"mobileTopRow": 8,
"mobileBottomRow": 31,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 3,
"needsErrorInfo": false,
"onAddNewRowSave": "{{Insert_mpe_isocountry1.run(() => {\n showAlert(\"Successfully created!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to create!\");\n })}}",
"onPageChange": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}",
"onSearchTextChanged": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}",
"onSort": "{{\n Select_mpe_isocountry1.run();\n Total_record_mpe_isocountry1.run()\n }}",
"parentColumnSpace": 25.484375,
"originalBottomRow": 99,
"originalTopRow": 15,
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"primaryColumnId": "iso_id",
"primaryColumns": {
"EditActions1": {
"alias": "EditActions1",
"end_date": {
"alias": "end_date",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"buttonStyle": "rgb(3, 179, 101)",
"columnType": "editActions",
"computedValue": "",
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}",
"currencyCode": "USD",
"decimals": 0,
"discardActionLabel": "Discard",
"discardBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
"discardButtonColor": "#F22B2B",
"discardButtonVariant": "TERTIARY",
"discardIconAlign": "left",
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "EditActions1",
"index": 3,
"id": "end_date",
"index": 2,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": true,
"isDerived": false,
"isDisabled": false,
"isDiscardDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
"isDiscardVisible": true,
"isEditable": false,
"isSaveDisabled": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( !Table1.updatedRowIndices.includes(currentIndex)))}}",
"isSaveVisible": true,
"isVisible": true,
"label": "Save / Discard",
"label": "end_date",
"notation": "standard",
"onSave": "{{Update_mpe_isocountry1.run(() => {\n showAlert(\"Successfully saved!\");\n Select_mpe_isocountry1.run()\n }, () => {\n showAlert(\"Unable to save!\");\n })}}",
"originalId": "EditActions1",
"saveActionLabel": "Save",
"saveBorderRadius": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}",
"saveButtonColor": "{{Table1.processedTableData.map((currentRow, currentIndex) => ( (appsmith.theme.colors.primaryColor)))}}",
"saveIconAlign": "left",
"sticky": "right",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"continent": {
"alias": "continent",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"continent\"])) : continent })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "continent",
"index": 2,
"isCellEditable": true,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": true,
"isSaveVisible": true,
"isVisible": true,
"label": "continent",
"notation": "standard",
"originalId": "continent",
"originalId": "end_date",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
@@ -222,49 +134,18 @@
"verticalAlignment": "CENTER",
"width": 150
},
"countryname": {
"alias": "countryname",
"line_type": {
"alias": "line_type",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"countryname\"])) : countryname })()}}",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "countryname",
"index": 1,
"isCellEditable": true,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": true,
"isSaveVisible": true,
"isVisible": true,
"label": "countryname",
"notation": "standard",
"originalId": "countryname",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"iso_id": {
"alias": "iso_id",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"iso_id\"])) : iso_id })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "iso_id",
"id": "line_type",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
@@ -274,9 +155,71 @@
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "iso_id",
"label": "line_type",
"notation": "standard",
"originalId": "iso_id",
"originalId": "line_type",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"start_date": {
"alias": "start_date",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "start_date",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "start_date",
"notation": "standard",
"originalId": "start_date",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"used_blocks": {
"alias": "used_blocks",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "used_blocks",
"index": 3,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "used_blocks",
"notation": "standard",
"originalId": "used_blocks",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
@@ -289,15 +232,13 @@
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"serverSidePaginationEnabled": true,
"showInlineEditingOptionDropdown": true,
"tableData": "{{Select_mpe_isocountry1.data}}",
"tableData": "{{capacity_display_all.data}}",
"textSize": "0.875rem",
"topRow": 8,
"totalRecordsCount": "{{Total_record_mpe_isocountry1.data[0].count}}",
"topRow": 16,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "tjhvizl6e1",
"widgetId": "7i9t3ugouj",
"widgetName": "Table1"
}

View File

@@ -1,11 +1,12 @@
{
"gitSyncId": "6806a8bdc0c8882e5a70d0a0_5431d255-7eef-429a-9b5c-fd512fa27280",
"unpublishedPage": {
"isHidden": false,
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 380,
"bottomRow": 3200,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
@@ -25,7 +26,7 @@
}
}
],
"name": "Page2",
"slug": "page2"
"name": "Sales - Units Shipped",
"slug": "sales-units-shipped"
}
}

View File

@@ -0,0 +1,31 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_98c37e6e-a601-42f5-891b-1f5d43184f50",
"id": "Sales - Units Shipped_units_shipped_by_power_input",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "xTuple_Sandbox",
"isAutoGenerated": false,
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [],
"name": "units_shipped_by_power_input",
"pageId": "Sales - Units Shipped",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}
}

View File

@@ -0,0 +1,33 @@
SELECT
CASE WHEN item_number IN ('16688','25020') THEN 'XR Series'
WHEN item_number IN ('22351','24952') THEN 'SL Series'
WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'
WHEN item_number IN ('17862') THEN 'MS Series'
WHEN item_number IN ('17863') THEN 'MT Series'
WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'
ELSE 'None'
END AS "Product",
reportpower.charass_value as "Power Output", reportinput.charass_value || ' ' || reportphases.charass_value AS "Input", ROUND(SUM(coitem_qtyord),0) as "Qty Ordered"
FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id
LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id
LEFT OUTER JOIN item ON item_id = itemsite_item_id
LEFT OUTER JOIN charass AS reportpower ON
(coitem_id = reportpower.charass_target_id
AND reportpower.charass_target_type = 'SI'
AND reportpower.charass_char_id = 25)
LEFT OUTER JOIN charass AS reportinput ON
(coitem_id = reportinput.charass_target_id
AND reportinput.charass_target_type = 'SI'
AND reportinput.charass_char_id = 36)
LEFT OUTER JOIN charass AS reportphases ON
(coitem_id = reportphases.charass_target_id
AND reportphases.charass_target_type = 'SI'
AND reportphases.charass_char_id = 18)
WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')
AND (coitem_status <> 'X')
AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)
AND coitem_price != 0
AND reportpower.charass_value IS NOT NULL
GROUP BY reportpower.charass_value, "Product", "Input"
ORDER BY "Product", reportpower.charass_value

View File

@@ -0,0 +1,31 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_5de92824-82c7-4bcd-b6d9-418ce79d7c71",
"id": "Sales - Units Shipped_units_shipped_by_series",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": true
}
],
"timeoutInMillisecond": 10000
},
"confirmBeforeExecute": false,
"datasource": {
"id": "xTuple_Sandbox",
"isAutoGenerated": false,
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [],
"name": "units_shipped_by_series",
"pageId": "Sales - Units Shipped",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}
}

View File

@@ -0,0 +1,25 @@
SELECT
CASE WHEN item_number IN ('16688','25020') THEN 'XR Series'
WHEN item_number IN ('22351','24952') THEN 'SL Series'
WHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'
WHEN item_number IN ('17862') THEN 'MS Series'
WHEN item_number IN ('17863') THEN 'MT Series'
WHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'
ELSE 'None'
END AS "Product",
ROUND(SUM(coitem_qtyord),0) as "Qty Ordered"
FROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id
LEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id
LEFT OUTER JOIN item ON item_id = itemsite_item_id
LEFT OUTER JOIN charass AS reportpower ON
(coitem_id = reportpower.charass_target_id
AND reportpower.charass_target_type = 'SI'
AND reportpower.charass_char_id = 25)
WHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')
AND (coitem_status <> 'X')
AND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)
AND coitem_price != 0
AND reportpower.charass_value IS NOT NULL
GROUP BY "Product"
ORDER BY "Product"

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 7,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "pii8e5rbru",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 5,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 1,
"needsErrorInfo": false,
"originalBottomRow": 7,
"originalTopRow": 2,
"overflow": "NONE",
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 17,
"shouldTruncate": false,
"text": "Sales / Units Shipped",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 2,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "250t24g0mo",
"widgetName": "Heading"
}

View File

@@ -0,0 +1,90 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 13,
"boxShadow": "none",
"buttonVariant": "PRIMARY",
"childStylesheet": {
"button": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"dynamicBindingPathList": [
{
"key": "borderRadius"
}
],
"dynamicTriggerPathList": [
{
"key": "groupButtons.groupButton1.onClick"
},
{
"key": "groupButtons.groupButton3.onClick"
}
],
"groupButtons": {
"groupButton1": {
"buttonColor": "#231f20",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"iconAlign": "right",
"id": "groupButton1",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Capacity Planning",
"menuItems": {},
"onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
},
"groupButton3": {
"buttonColor": "#e0dede",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"id": "groupButton3",
"index": 1,
"isDisabled": false,
"isVisible": true,
"label": "Units Shipped",
"menuItems": {
"menuItemr01yri5nag": {
"id": "menuItemr01yri5nag",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Menu Item",
"widgetId": "z3w4r50nta"
}
},
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
}
},
"isCanvas": false,
"isLoading": false,
"isVisible": true,
"key": "f10t84z5gq",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 12,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 8,
"needsErrorInfo": false,
"orientation": "horizontal",
"originalBottomRow": 13,
"originalTopRow": 9,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 25,
"topRow": 9,
"type": "BUTTON_GROUP_WIDGET",
"version": 1,
"widgetId": "b9izyy0tmr",
"widgetName": "Navigation"
}

View File

@@ -0,0 +1,183 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 102,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [
"Product",
"Qty_Ordered"
],
"columnUpdatedAt": 1768911391236,
"columnWidthMap": {},
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
"defaultSelectedRowIndex": 0,
"defaultSelectedRowIndices": [
0
],
"delimiter": ",",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "tableData"
},
{
"key": "primaryColumns.Product.computedValue"
},
{
"key": "primaryColumns.Qty_Ordered.computedValue"
}
],
"dynamicPropertyPathList": [
{
"key": "tableData"
}
],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "9mn8k38jb0",
"label": "Data",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 33,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 5,
"needsErrorInfo": false,
"originalBottomRow": 41,
"originalTopRow": 5,
"parentColumnSpace": 11.265625,
"parentId": "o7m1w5vrow",
"parentRowSpace": 10,
"primaryColumns": {
"Product": {
"alias": "Product",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Product",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Product",
"notation": "standard",
"originalId": "Product",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Qty_Ordered": {
"alias": "Qty Ordered",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Qty_Ordered",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Qty Ordered",
"notation": "standard",
"originalId": "Qty Ordered",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"tableData": "{{units_shipped_by_series.data}}",
"textSize": "0.875rem",
"topRow": 2,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "09qniwp9nt",
"widgetName": "Table1"
}

View File

@@ -0,0 +1,259 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 167,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [
"Product",
"Power_Output",
"Input",
"Qty_Ordered"
],
"columnUpdatedAt": 1768911810804,
"columnWidthMap": {},
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
"defaultSelectedRowIndex": 0,
"defaultSelectedRowIndices": [
0
],
"delimiter": ",",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "primaryColumns.Product.computedValue"
},
{
"key": "primaryColumns.Qty_Ordered.computedValue"
},
{
"key": "tableData"
},
{
"key": "primaryColumns.Power_Output.computedValue"
},
{
"key": "primaryColumns.Input.computedValue"
}
],
"dynamicPropertyPathList": [
{
"key": "tableData"
}
],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "9mn8k38jb0",
"label": "Data",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 33,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 5,
"needsErrorInfo": false,
"originalBottomRow": 42,
"originalTopRow": 6,
"parentColumnSpace": 11.265625,
"parentId": "5ghij529ih",
"parentRowSpace": 10,
"primaryColumns": {
"Input": {
"alias": "Input",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Input\"])) : Input })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Input",
"index": 2,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Input",
"notation": "standard",
"originalId": "Input",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Power_Output": {
"alias": "Power Output",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Power Output\"])) : Power Output })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Power_Output",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Power Output",
"notation": "standard",
"originalId": "Power Output",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Product": {
"alias": "Product",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Product\"])) : Product })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Product",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Product",
"notation": "standard",
"originalId": "Product",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"Qty_Ordered": {
"alias": "Qty Ordered",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"cellBackground": "",
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1Copy.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Qty Ordered\"])) : Qty Ordered })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"fontStyle": "",
"horizontalAlignment": "LEFT",
"id": "Qty_Ordered",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "Qty Shipped",
"notation": "standard",
"originalId": "Qty Ordered",
"sticky": "",
"textColor": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"tableData": "{{units_shipped_by_power_input.data}}",
"textSize": "0.875rem",
"topRow": 2,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "sxi5n9a1yp",
"widgetName": "Table1Copy"
}

View File

@@ -0,0 +1,165 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"backgroundColor": "#FFFFFF",
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": 1,
"bottomRow": 123,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"children": [
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 1040,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": true,
"detachFromLayout": true,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexLayers": [],
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "fye1v5uu19",
"leftColumn": 0,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minHeight": 150,
"minWidth": 450,
"mobileBottomRow": 150,
"mobileLeftColumn": 0,
"mobileRightColumn": 602.625,
"mobileTopRow": 0,
"needsErrorInfo": false,
"parentColumnSpace": 1,
"parentId": "cgiukoz6f7",
"parentRowSpace": 1,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 602.625,
"shouldScrollContents": false,
"tabId": "tab1",
"tabName": "Series",
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 1,
"widgetId": "o7m1w5vrow",
"widgetName": "Canvas1"
},
{
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 1670,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"canExtend": true,
"detachFromLayout": true,
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexLayers": [],
"isDisabled": false,
"isLoading": false,
"isVisible": true,
"key": "fye1v5uu19",
"leftColumn": 0,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minHeight": 150,
"minWidth": 450,
"mobileBottomRow": 150,
"mobileLeftColumn": 0,
"mobileRightColumn": 602.625,
"mobileTopRow": 0,
"needsErrorInfo": false,
"parentColumnSpace": 1,
"parentId": "cgiukoz6f7",
"parentRowSpace": 1,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 602.625,
"shouldScrollContents": false,
"tabId": "tab2",
"tabName": "Power Level, Input Voltage",
"topRow": 0,
"type": "CANVAS_WIDGET",
"version": 1,
"widgetId": "5ghij529ih",
"widgetName": "Canvas2"
}
],
"defaultTab": "By Series",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"flexVerticalAlignment": "stretch",
"isCanvas": true,
"isLoading": false,
"isVisible": true,
"key": "r7d08pu9q8",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 15,
"minWidth": 450,
"mobileBottomRow": 76,
"mobileLeftColumn": 2,
"mobileRightColumn": 26,
"mobileTopRow": 61,
"needsErrorInfo": false,
"originalBottomRow": 188,
"originalTopRow": 15,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 61,
"shouldScrollContents": true,
"shouldShowTabs": true,
"tabsObj": {
"tab1": {
"id": "tab1",
"index": 0,
"isVisible": true,
"label": "Series",
"positioning": "vertical",
"widgetId": "o7m1w5vrow"
},
"tab2": {
"id": "tab2",
"index": 1,
"isVisible": true,
"label": "Power Level, Input Voltage",
"positioning": "vertical",
"widgetId": "5ghij529ih"
}
},
"topRow": 15,
"type": "TABS_WIDGET",
"version": 3,
"widgetId": "cgiukoz6f7",
"widgetName": "Tabs1"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 320,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "0.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 3,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 39,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 35,
"needsErrorInfo": false,
"originalBottomRow": 385,
"originalTopRow": 338,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 37,
"shouldTruncate": false,
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY \"Product\"\nORDER BY \"Product\"",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 273,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "2srkyaefvd",
"widgetName": "Text1"
}

View File

@@ -1,7 +1,7 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 6,
"bottomRow": 271,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
@@ -11,9 +11,6 @@
},
{
"key": "borderRadius"
},
{
"key": "text"
}
],
"dynamicHeight": "AUTO_HEIGHT",
@@ -23,33 +20,33 @@
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "mddnm65lel",
"leftColumn": 2,
"key": "aibuaup6p0",
"leftColumn": 3,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 6,
"mobileLeftColumn": 2,
"mobileRightColumn": 18,
"mobileTopRow": 2,
"mobileBottomRow": 4,
"mobileLeftColumn": 4,
"mobileRightColumn": 20,
"mobileTopRow": 0,
"needsErrorInfo": false,
"originalBottomRow": 9,
"originalTopRow": 2,
"originalBottomRow": 336,
"originalTopRow": 332,
"overflow": "NONE",
"parentColumnSpace": 9.609375,
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 31,
"shouldTruncate": false,
"text": "Hello {{appsmith.user.name || appsmith.user.email}} appsmith test",
"text": "Units Ordered - By Series",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 2,
"topRow": 267,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "ddyu1bw8fg",
"widgetName": "Text1"
"widgetId": "bz71a9t109",
"widgetName": "Text2Copy1"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 217,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 39,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 4,
"mobileLeftColumn": 4,
"mobileRightColumn": 20,
"mobileTopRow": 0,
"needsErrorInfo": false,
"originalBottomRow": 282,
"originalTopRow": 278,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 64,
"shouldTruncate": false,
"text": "Units Ordered - By Series",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 213,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "mri175k85g",
"widgetName": "Text2CopyCopy"
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 284,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "0.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "aibuaup6p0",
"leftColumn": 39,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 111,
"mobileLeftColumn": 39,
"mobileRightColumn": 55,
"mobileTopRow": 107,
"needsErrorInfo": false,
"originalBottomRow": 349,
"originalTopRow": 282,
"overflow": "NONE",
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"shouldTruncate": false,
"text": "SELECT \nCASE WHEN item_number IN ('16688','25020') THEN 'XR Series'\nWHEN item_number IN ('22351','24952') THEN 'SL Series'\nWHEN item_number IN ('17861','25021','29243','29752') THEN 'TS Series'\nWHEN item_number IN ('17862') THEN 'MS Series'\nWHEN item_number IN ('17863') THEN 'MT Series'\nWHEN item_number IN ('17873') THEN 'Harmonic Neutralizer'\n\nELSE 'None'\nEND AS \"Product\",\nreportpower.charass_value as \"Power Output\", reportinput.charass_value || ' ' || reportphases.charass_value AS \"Input\", ROUND(SUM(coitem_qtyord),0) as \"Qty Ordered\"\nFROM coitem LEFT OUTER JOIN cohead ON cohead_id=coitem_cohead_id\nLEFT OUTER JOIN itemsite ON coitem_itemsite_id = itemsite_id\nLEFT OUTER JOIN item ON item_id = itemsite_item_id\nLEFT OUTER JOIN charass AS reportpower ON \n(coitem_id = reportpower.charass_target_id \nAND reportpower.charass_target_type = 'SI'\nAND reportpower.charass_char_id = 25)\nLEFT OUTER JOIN charass AS reportinput ON \n(coitem_id = reportinput.charass_target_id \nAND reportinput.charass_target_type = 'SI'\nAND reportinput.charass_char_id = 36)\nLEFT OUTER JOIN charass AS reportphases ON \n(coitem_id = reportphases.charass_target_id \nAND reportphases.charass_target_type = 'SI'\nAND reportphases.charass_char_id = 18)\nWHERE item_number IN ('16688','17861','17862','17863','22351','25020','25144','25147','25021','24952','17873','29243','29752')\nAND (coitem_status <> 'X') \nAND cohead_id NOT IN(SELECT cohead_id from rahead LEFT OUTER JOIN cohead ON rahead_new_cohead_id=cohead_id WHERE cohead_id IS NOT NULL)\nAND coitem_price != 0\nAND cohead_orderdate BETWEEN '$param1'::date AND '$param2'::date\nAND reportpower.charass_value IS NOT NULL\nGROUP BY reportpower.charass_value, \"Product\", \"Input\"\nORDER BY \"Product\", reportpower.charass_value",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 217,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "d78hnl6fvy",
"widgetName": "Text3"
}

View File

@@ -1,11 +1,12 @@
{
"gitSyncId": "6806a8bdc0c8882e5a70d0a0_9043b637-52ad-46a6-aeaf-e5d6bd81183b",
"unpublishedPage": {
"isHidden": false,
"layouts": [
{
"dsl": {
"backgroundColor": "none",
"bottomRow": 520,
"bottomRow": 1080,
"canExtend": true,
"containerStyle": "none",
"detachFromLayout": true,
@@ -26,7 +27,7 @@
}
}
],
"name": "Page1",
"slug": "page1"
"name": "Sales",
"slug": "sales"
}
}

View File

@@ -0,0 +1 @@
select * from mpe.poormancapacity;

View File

@@ -1,16 +1,16 @@
{
"gitSyncId": "6968b6e8271e5e0befde3194_08fc7608-7641-46f3-a322-0265f2bbbc04",
"id": "Page1_Insert_mpe_isocountry1",
"gitSyncId": "6968b6e8271e5e0befde3194_eeefcf86-aa72-417c-8e6c-bebacc100964",
"id": "Sales_capacity_display_all",
"pluginId": "postgres-plugin",
"pluginType": "DB",
"unpublishedAction": {
"actionConfiguration": {
"body": "INSERT INTO mpe.isocountry (\"countryname\",\"continent\") VALUES ('{{(Table1.newRow || {}).countryname}}','{{(Table1.newRow || {}).continent}}')",
"body": "select * from mpe.poormancapacity;",
"encodeParamsToggle": true,
"paginationType": "NONE",
"pluginSpecifiedTemplates": [
{
"value": false
"value": true
}
],
"timeoutInMillisecond": 10000
@@ -22,14 +22,10 @@
"name": "xTuple_Sandbox",
"pluginId": "postgres-plugin"
},
"dynamicBindingPathList": [
{
"key": "body"
}
],
"name": "Insert_mpe_isocountry1",
"pageId": "Page1",
"runBehaviour": "MANUAL",
"dynamicBindingPathList": [],
"name": "capacity_display_all",
"pageId": "Sales",
"runBehaviour": "AUTOMATIC",
"userSetOnLoad": false
}
}

View File

@@ -0,0 +1,52 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 7,
"dynamicBindingPathList": [
{
"key": "truncateButtonColor"
},
{
"key": "fontFamily"
},
{
"key": "borderRadius"
}
],
"dynamicHeight": "AUTO_HEIGHT",
"dynamicTriggerPathList": [],
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"fontSize": "1.875rem",
"fontStyle": "BOLD",
"isLoading": false,
"isVisible": true,
"key": "pii8e5rbru",
"leftColumn": 1,
"maxDynamicHeight": 9000,
"minDynamicHeight": 4,
"minWidth": 450,
"mobileBottomRow": 5,
"mobileLeftColumn": 1,
"mobileRightColumn": 17,
"mobileTopRow": 1,
"needsErrorInfo": false,
"originalBottomRow": 7,
"originalTopRow": 2,
"overflow": "NONE",
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 17,
"shouldTruncate": false,
"text": "Sales / Capacity Planning",
"textAlign": "LEFT",
"textColor": "#231F20",
"topRow": 2,
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"type": "TEXT_WIDGET",
"version": 1,
"widgetId": "mt8rmbyqnn",
"widgetName": "Heading"
}

View File

@@ -0,0 +1,93 @@
{
"animateLoading": true,
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"bottomRow": 13,
"boxShadow": "none",
"buttonVariant": "PRIMARY",
"childStylesheet": {
"button": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"dynamicBindingPathList": [
{
"key": "borderRadius"
},
{
"key": "groupButtons.groupButton3.buttonColor"
}
],
"dynamicTriggerPathList": [
{
"key": "groupButtons.groupButton1.onClick"
},
{
"key": "groupButtons.groupButton3.onClick"
}
],
"groupButtons": {
"groupButton1": {
"buttonColor": "#d4d4d8",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"iconAlign": "right",
"id": "groupButton1",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Capacity Planning",
"menuItems": {},
"onClick": "{{navigateTo('Sales', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
},
"groupButton3": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"buttonType": "SIMPLE",
"disabledWhenInvalid": false,
"id": "groupButton3",
"index": 1,
"isDisabled": false,
"isVisible": true,
"label": "Units Shipped",
"menuItems": {
"menuItemr01yri5nag": {
"id": "menuItemr01yri5nag",
"index": 0,
"isDisabled": false,
"isVisible": true,
"label": "Menu Item",
"widgetId": "z3w4r50nta"
}
},
"onClick": "{{navigateTo('Sales - Units Shipped', {}, 'SAME_WINDOW');}}",
"placement": "CENTER",
"widgetId": ""
}
},
"isCanvas": false,
"isLoading": false,
"isVisible": true,
"key": "f10t84z5gq",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 12,
"mobileLeftColumn": 1,
"mobileRightColumn": 25,
"mobileTopRow": 8,
"needsErrorInfo": false,
"orientation": "horizontal",
"originalBottomRow": 13,
"originalTopRow": 9,
"parentColumnSpace": 25.109375,
"parentId": "0",
"parentRowSpace": 10,
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 25,
"topRow": 9,
"type": "BUTTON_GROUP_WIDGET",
"version": 1,
"widgetId": "6tlhfmvijp",
"widgetName": "Navigation"
}

View File

@@ -0,0 +1,244 @@
{
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"animateLoading": true,
"borderColor": "#E0DEDE",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"borderWidth": "1",
"bottomRow": 99,
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"cachedTableData": {},
"canFreezeColumn": true,
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"columnOrder": [
"line_type",
"start_date",
"end_date",
"used_blocks"
],
"columnUpdatedAt": 1768910474559,
"columnWidthMap": {},
"compactMode": "DEFAULT",
"customIsLoading": false,
"customIsLoadingValue": "",
"defaultPageSize": 0,
"defaultSelectedRowIndex": 0,
"defaultSelectedRowIndices": [
0
],
"delimiter": ",",
"dynamicBindingPathList": [
{
"key": "accentColor"
},
{
"key": "borderRadius"
},
{
"key": "boxShadow"
},
{
"key": "tableData"
},
{
"key": "primaryColumns.line_type.computedValue"
},
{
"key": "primaryColumns.start_date.computedValue"
},
{
"key": "primaryColumns.end_date.computedValue"
},
{
"key": "primaryColumns.used_blocks.computedValue"
}
],
"dynamicPropertyPathList": [],
"dynamicTriggerPathList": [],
"enableClientSideSearch": true,
"endOfData": false,
"flexVerticalAlignment": "start",
"horizontalAlignment": "LEFT",
"inlineEditingSaveOption": "ROW_LEVEL",
"isLoading": false,
"isSortable": true,
"isVisible": true,
"isVisibleDownload": true,
"isVisibleFilters": false,
"isVisiblePagination": true,
"isVisibleSearch": true,
"key": "o9k9wp97q1",
"label": "Data",
"leftColumn": 1,
"minWidth": 450,
"mobileBottomRow": 31,
"mobileLeftColumn": 1,
"mobileRightColumn": 35,
"mobileTopRow": 3,
"needsErrorInfo": false,
"originalBottomRow": 99,
"originalTopRow": 15,
"parentColumnSpace": 11.265625,
"parentId": "0",
"parentRowSpace": 10,
"primaryColumns": {
"end_date": {
"alias": "end_date",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"end_date\"])) : end_date })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "end_date",
"index": 2,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "end_date",
"notation": "standard",
"originalId": "end_date",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"line_type": {
"alias": "line_type",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "text",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"line_type\"])) : line_type })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "line_type",
"index": 0,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "line_type",
"notation": "standard",
"originalId": "line_type",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"start_date": {
"alias": "start_date",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "date",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"start_date\"])) : start_date })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "start_date",
"index": 1,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "start_date",
"notation": "standard",
"originalId": "start_date",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
},
"used_blocks": {
"alias": "used_blocks",
"allowCellWrapping": false,
"allowSameOptionsInNewRow": true,
"columnType": "number",
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"used_blocks\"])) : used_blocks })()}}",
"currencyCode": "USD",
"decimals": 0,
"enableFilter": true,
"enableSort": true,
"horizontalAlignment": "LEFT",
"id": "used_blocks",
"index": 3,
"isCellEditable": false,
"isCellVisible": true,
"isDerived": false,
"isDisabled": false,
"isDiscardVisible": true,
"isEditable": false,
"isSaveVisible": true,
"isVisible": true,
"label": "used_blocks",
"notation": "standard",
"originalId": "used_blocks",
"sticky": "",
"textSize": "0.875rem",
"thousandSeparator": true,
"validation": {},
"verticalAlignment": "CENTER",
"width": 150
}
},
"renderMode": "CANVAS",
"responsiveBehavior": "fill",
"rightColumn": 63,
"searchKey": "",
"tableData": "{{capacity_display_all.data}}",
"textSize": "0.875rem",
"topRow": 15,
"totalRecordsCount": 0,
"type": "TABLE_WIDGET_V2",
"version": 2,
"verticalAlignment": "CENTER",
"widgetId": "7i9t3ugouj",
"widgetName": "Table1"
}

View File

@@ -1,5 +1,407 @@
{
"config": {
"borderRadius": {
"appBorderRadius": {
"L": "1.5rem",
"M": "0.375rem",
"none": "0px"
}
},
"boxShadow": {
"appBoxShadow": {
"L": "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",
"M": "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",
"S": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",
"none": "none"
}
},
"colors": {
"backgroundColor": "#F8FAFC",
"primaryColor": "#553DE9"
},
"fontFamily": {
"appFont": [
"System Default",
"Nunito Sans",
"Poppins",
"Inter",
"Montserrat",
"Noto Sans",
"Open Sans",
"Roboto",
"Rubik",
"Ubuntu"
]
},
"order": 1
},
"displayName": "Modern",
"isSystemTheme": true,
"name": "Default-New"
"isSystemTheme": false,
"name": "Default-New",
"properties": {
"borderRadius": {
"appBorderRadius": "1.5rem"
},
"boxShadow": {
"appBoxShadow": "none"
},
"colors": {
"backgroundColor": "#f4f4f5",
"primaryColor": "#020618"
},
"fontFamily": {
"appFont": "Inter"
}
},
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"CAMERA_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
},
"CATEGORY_SLIDER_WIDGET": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}"
},
"CHART_WIDGET": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fillColor": "{{appsmith.theme.colors.primaryColor}}"
},
"CODE_SCANNER_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"FORM_BUTTON_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"FORM_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"ICON_BUTTON_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"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}}",
"childStylesheet": {
"ARRAY": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"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"
},
"MULTILINE_TEXT_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"
},
"NUMBER_INPUT": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
},
"OBJECT": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"cellBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"cellBoxShadow": "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"
}
},
"resetButtonStyles": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"submitButtonStyles": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
}
},
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
},
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fillColor": "{{appsmith.theme.colors.primaryColor}}"
},
"PROGRESS_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fillColor": "{{appsmith.theme.colors.primaryColor}}"
},
"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": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
}
},
"TABLE_WIDGET_V2": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}",
"childStylesheet": {
"button": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"editActions": {
"discardBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"discardButtonColor": "{{appsmith.theme.colors.primaryColor}}",
"saveBorderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"saveButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"iconButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"buttonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"menuButton": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none",
"menuColor": "{{appsmith.theme.colors.primaryColor}}"
}
}
},
"TABS_WIDGET": {
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
},
"TEXT_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"fontFamily": "{{appsmith.theme.fontFamily.appFont}}",
"truncateButtonColor": "{{appsmith.theme.colors.primaryColor}}"
},
"VIDEO_WIDGET": {
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "{{appsmith.theme.boxShadow.appBoxShadow}}"
}
}
}