Added Unused Items stat
This commit is contained in:
359
pages/Operations - Unused Items/widgets/Table1.json
Normal file
359
pages/Operations - Unused Items/widgets/Table1.json
Normal file
@@ -0,0 +1,359 @@
|
||||
{
|
||||
"accentColor": "{{appsmith.theme.colors.primaryColor}}",
|
||||
"animateLoading": true,
|
||||
"borderColor": "#E0DEDE",
|
||||
"borderRadius": "0.375rem",
|
||||
"borderWidth": "1",
|
||||
"bottomRow": 67,
|
||||
"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": [
|
||||
"Item Number",
|
||||
"Description",
|
||||
"Item Type",
|
||||
"Status",
|
||||
"Created By",
|
||||
"Date Created",
|
||||
"Last Transaction",
|
||||
"Days Unused"
|
||||
],
|
||||
"columnUpdatedAt": 1768910474559,
|
||||
"columnWidthMap": {},
|
||||
"compactMode": "SHORT",
|
||||
"customIsLoading": false,
|
||||
"customIsLoadingValue": "",
|
||||
"defaultPageSize": 0,
|
||||
"defaultSelectedRowIndex": 0,
|
||||
"defaultSelectedRowIndices": [0],
|
||||
"delimiter": ",",
|
||||
"dynamicBindingPathList": [
|
||||
{"key": "accentColor"},
|
||||
{"key": "boxShadow"},
|
||||
{"key": "tableData"},
|
||||
{"key": "primaryColumns.Item Number.computedValue"},
|
||||
{"key": "primaryColumns.Description.computedValue"},
|
||||
{"key": "primaryColumns.Item Type.computedValue"},
|
||||
{"key": "primaryColumns.Status.computedValue"},
|
||||
{"key": "primaryColumns.Created By.computedValue"},
|
||||
{"key": "primaryColumns.Date Created.computedValue"},
|
||||
{"key": "primaryColumns.Last Transaction.computedValue"},
|
||||
{"key": "primaryColumns.Days Unused.computedValue"}
|
||||
],
|
||||
"dynamicPropertyPathList": [
|
||||
{"key": "textSize"}
|
||||
],
|
||||
"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": "ui1tblkey01",
|
||||
"label": "Data",
|
||||
"leftColumn": 9,
|
||||
"minWidth": 450,
|
||||
"mobileBottomRow": 31,
|
||||
"mobileLeftColumn": 15,
|
||||
"mobileRightColumn": 64,
|
||||
"mobileTopRow": 10,
|
||||
"needsErrorInfo": false,
|
||||
"originalBottomRow": 67,
|
||||
"originalTopRow": 7,
|
||||
"parentColumnSpace": 11.265625,
|
||||
"parentId": "0",
|
||||
"parentRowSpace": 10,
|
||||
"primaryColumns": {
|
||||
"Item Number": {
|
||||
"alias": "Item Number",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Item Number\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Item Number",
|
||||
"index": 0,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Item Number",
|
||||
"notation": "standard",
|
||||
"originalId": "Item Number",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Description": {
|
||||
"alias": "Description",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Description\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Description",
|
||||
"index": 1,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Description",
|
||||
"notation": "standard",
|
||||
"originalId": "Description",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Item Type": {
|
||||
"alias": "Item Type",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Item Type\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Item Type",
|
||||
"index": 2,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Item Type",
|
||||
"notation": "standard",
|
||||
"originalId": "Item Type",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Status": {
|
||||
"alias": "Status",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Status\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Status",
|
||||
"index": 3,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Status",
|
||||
"notation": "standard",
|
||||
"originalId": "Status",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Created By": {
|
||||
"alias": "Created By",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "text",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Created By\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Created By",
|
||||
"index": 4,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Created By",
|
||||
"notation": "standard",
|
||||
"originalId": "Created By",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Date Created": {
|
||||
"alias": "Date Created",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "date",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Date Created\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Date Created",
|
||||
"index": 5,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Date Created",
|
||||
"notation": "standard",
|
||||
"originalId": "Date Created",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Last Transaction": {
|
||||
"alias": "Last Transaction",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "date",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Last Transaction\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Last Transaction",
|
||||
"index": 6,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Last Transaction",
|
||||
"notation": "standard",
|
||||
"originalId": "Last Transaction",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
},
|
||||
"Days Unused": {
|
||||
"alias": "Days Unused",
|
||||
"allowCellWrapping": false,
|
||||
"allowSameOptionsInNewRow": true,
|
||||
"columnType": "number",
|
||||
"computedValue": "{{(() => { const tableData = Table1.processedTableData || []; return tableData.length > 0 ? tableData.map((currentRow, currentIndex) => (currentRow[\"Days Unused\"])) : [] })()}}",
|
||||
"currencyCode": "USD",
|
||||
"decimals": 0,
|
||||
"enableFilter": true,
|
||||
"enableSort": true,
|
||||
"horizontalAlignment": "LEFT",
|
||||
"id": "Days Unused",
|
||||
"index": 7,
|
||||
"isCellEditable": false,
|
||||
"isCellVisible": true,
|
||||
"isDerived": false,
|
||||
"isDisabled": false,
|
||||
"isDiscardVisible": true,
|
||||
"isEditable": false,
|
||||
"isSaveVisible": true,
|
||||
"isVisible": true,
|
||||
"label": "Days Unused",
|
||||
"notation": "standard",
|
||||
"originalId": "Days Unused",
|
||||
"sticky": "",
|
||||
"textSize": "0.775rem",
|
||||
"thousandSeparator": true,
|
||||
"validation": {},
|
||||
"verticalAlignment": "CENTER",
|
||||
"width": 150
|
||||
}
|
||||
},
|
||||
"renderMode": "CANVAS",
|
||||
"responsiveBehavior": "fill",
|
||||
"rightColumn": 64,
|
||||
"searchKey": "",
|
||||
"tableData": "{{unused_items.data}}",
|
||||
"textSize": "0.775rem",
|
||||
"topRow": 7,
|
||||
"totalRecordsCount": 0,
|
||||
"type": "TABLE_WIDGET_V2",
|
||||
"version": 2,
|
||||
"verticalAlignment": "CENTER",
|
||||
"widgetId": "ui1table001",
|
||||
"widgetName": "Table1"
|
||||
}
|
||||
Reference in New Issue
Block a user