2022-02-24 03:11:35 +00:00
{
"clientSchemaVersion" : 1 ,
"serverSchemaVersion" : 1 ,
"exportedApplication" : {
"name" : "TableMigrationAutomation #1" ,
"isPublic" : true ,
"appIsExample" : false ,
"unreadCommentThreads" : 0 ,
"color" : "#F3F1C7" ,
"icon" : "single-person" ,
"slug" : "tablemigrationautomation-1" ,
"evaluationVersion" : 2 ,
"new" : true
} ,
"datasourceList" : [
] ,
"pageList" : [
{
"userPermissions" : [
"read:pages" ,
"manage:pages"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209d7096b4b1e154a3c01ec" ,
"unpublishedPage" : {
"name" : "Credit Card Home" ,
"slug" : "credit-card-home" ,
"layouts" : [
{
"id" : "Credit Card Home" ,
"userPermissions" : [
] ,
"dsl" : {
"widgetName" : "MainContainer" ,
"backgroundColor" : "none" ,
"rightColumn" : 1087.0 ,
"snapColumns" : 64.0 ,
"detachFromLayout" : true ,
"widgetId" : "0" ,
"topRow" : 0.0 ,
"bottomRow" : 1260.0 ,
"containerStyle" : "none" ,
"snapRows" : 125.0 ,
"parentRowSpace" : 1.0 ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : true ,
"version" : 52.0 ,
"minHeight" : 1240.0 ,
"parentColumnSpace" : 1.0 ,
"dynamicBindingPathList" : [
] ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Dbg_state_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 18.0 ,
"bottomRow" : 30.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{\"State:\"+ (String(ActivateDeactivate.data.args.action) == 0 ? \"Active\": \"Inactive\")}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "eqobmz3fzx" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Table1" ,
"defaultPageSize" : 0.0 ,
"columnOrder" : [
"credit_card" ,
"id" ,
"name" ,
"customColumn6" ,
"address" ,
"customColumn7" ,
"latitude" ,
"longitude" ,
"phone" ,
"email" ,
"company" ,
"job" ,
"image" ,
"ssn" ,
"postalcode" ,
"CreditLimit" ,
"Outstanding" ,
"State" ,
"customColumn2" ,
"customColumn3" ,
"customColumn4" ,
"customColumn5"
] ,
"isVisibleDownload" : true ,
"dynamicPropertyPathList" : [
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
} ,
{
"key" : "onRowSelected"
} ,
{
"key" : "onPageChange"
}
] ,
"displayName" : "Table" ,
"iconSVG" : "/static/media/icon.db8a9cbd.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 53.0 ,
"isSortable" : true ,
"parentRowSpace" : 10.0 ,
"onPageChange" : "{{storeValue('tableaction','onPageChange');test_table_action.run()}}" ,
"type" : "TABLE_WIDGET" ,
"defaultSelectedRow" : "0" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
} ,
{
"key" : "onRowSelected"
} ,
{
"key" : "onPageChange"
}
] ,
"dynamicBindingPathList" : [
{
"key" : "primaryColumns.postalcode.computedValue"
} ,
{
"key" : "primaryColumns.credit_card.computedValue"
} ,
{
"key" : "primaryColumns.image.computedValue"
} ,
{
"key" : "primaryColumns.job.computedValue"
} ,
{
"key" : "primaryColumns.company.computedValue"
} ,
{
"key" : "primaryColumns.email.computedValue"
} ,
{
"key" : "primaryColumns.phone.computedValue"
} ,
{
"key" : "primaryColumns.longitude.computedValue"
} ,
{
"key" : "primaryColumns.latitude.computedValue"
} ,
{
"key" : "primaryColumns.name.computedValue"
} ,
{
"key" : "primaryColumns.id.computedValue"
} ,
{
"key" : "primaryColumns.CreditLimit.computedValue"
} ,
{
"key" : "primaryColumns.Outstanding.computedValue"
} ,
{
"key" : "primaryColumns.State.computedValue"
} ,
{
"key" : "derivedColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.State.menuButtonLabel"
} ,
{
"key" : "primaryColumns.State.buttonLabel"
} ,
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "derivedColumns.customColumn3.computedValue"
} ,
{
"key" : "primaryColumns.image.menuButtonLabel"
} ,
{
"key" : "primaryColumns.address.computedValue"
} ,
{
"key" : "primaryColumns.ssn.computedValue"
} ,
{
"key" : "derivedColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "primaryColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItem2tb33v0gki.label"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItemq4pwym6y78.label"
} ,
{
"key" : "primaryColumns.customColumn3.computedValue"
} ,
{
"key" : "tableData"
} ,
{
"key" : "derivedColumns.customColumn5.computedValue"
} ,
{
"key" : "primaryColumns.customColumn5.computedValue"
} ,
{
"key" : "derivedColumns.customColumn6.computedValue"
} ,
{
"key" : "primaryColumns.customColumn6.computedValue"
} ,
{
"key" : "derivedColumns.customColumn7.computedValue"
} ,
{
"key" : "primaryColumns.customColumn7.computedValue"
}
] ,
"leftColumn" : 1.0 ,
"primaryColumns" : {
"id" : {
"index" : 0.0 ,
"width" : 150.0 ,
"id" : "id" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "id" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"name" : {
"index" : 1.0 ,
"width" : 150.0 ,
"id" : "name" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Name" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"latitude" : {
"index" : 3.0 ,
"width" : 150.0 ,
"id" : "latitude" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "latitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"longitude" : {
"index" : 4.0 ,
"width" : 150.0 ,
"id" : "longitude" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "longitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"phone" : {
"index" : 5.0 ,
"width" : 150.0 ,
"id" : "phone" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Phone" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"email" : {
"index" : 6.0 ,
"width" : 150.0 ,
"id" : "email" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "email" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"company" : {
"index" : 7.0 ,
"width" : 150.0 ,
"id" : "company" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Company" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.company))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"job" : {
"index" : 8.0 ,
"width" : 150.0 ,
"id" : "job" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "job" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.job))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"image" : {
"index" : 9.0 ,
"width" : 150.0 ,
"id" : "image" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "image" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "image" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Select Action'))}}" ,
"menuItems" : {
"menuItem2pk679yg51" : {
"id" : "menuItem2pk679yg51" ,
"label" : "Menu Item 1" ,
"widgetId" : "wpm0shl7qf" ,
"isDisabled" : false ,
"isVisible" : true ,
"iconName" : "add"
} ,
"menuItemqr3v3oluu8" : {
"id" : "menuItemqr3v3oluu8" ,
"label" : "Menu Item 2" ,
"widgetId" : "s4qzg061rl" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemsjdm3zecpg" : {
"id" : "menuItemsjdm3zecpg" ,
"label" : "Menu Item 3" ,
"widgetId" : "9cp3cetwrp" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemlqfcpd2q4f" : {
"id" : "menuItemlqfcpd2q4f" ,
"label" : "Menu Item 4" ,
"widgetId" : "ktpsc5wgzk" ,
"isDisabled" : false ,
"isVisible" : true
}
} ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49" ,
"menuVariant" : "PRIMARY" ,
"iconName" : "glass"
} ,
"credit_card" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "credit_card" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Card Number" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.cc_format( currentRow.credit_card)))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"postalcode" : {
"index" : 14.0 ,
"width" : 150.0 ,
"id" : "postalcode" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Pin Code" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.postalcode))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"CreditLimit" : {
"index" : 11.0 ,
"width" : 150.0 ,
"id" : "CreditLimit" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "CreditLimit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"Outstanding" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "Outstanding" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Outstanding" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.Outstanding))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"State" : {
"index" : 13.0 ,
"width" : 150.0 ,
"id" : "State" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "button" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "State" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State))}}" ,
"buttonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 0 ? \"Deactivate\" : \"Activate\" ))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Open Menu'))}}" ,
"buttonColor" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 1 ? \"#03b365\" : \"#DD4B34\"))}}" ,
"buttonLabelColor" : "" ,
"onClick" : "{{\nActivateDeactivate.run()}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"address" : {
"index" : 2.0 ,
"width" : 150.0 ,
"id" : "address" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "address" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"cellBackground" : "#FFFFFF"
} ,
"ssn" : {
"index" : 10.0 ,
"width" : 150.0 ,
"id" : "ssn" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "ssn" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ssn))}}" ,
"cellBackground" : "#FFFFFF"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItemvfnxha1hx3" : {
"id" : "menuItemvfnxha1hx3" ,
"label" : "AddcreditLimit" ,
"widgetId" : "mssq87mlgm" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 0.0 ,
"onClick" : "{{storeValue('addreduce','0');ChangeCreditlimit.run()}}"
} ,
"menuItem54mz4q42yo" : {
"id" : "menuItem54mz4q42yo" ,
"label" : "Reducecreditlimit" ,
"widgetId" : "pk39c0raus" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 1.0 ,
2022-03-02 16:54:43 +00:00
"onClick" : "{{(async function() { await storeValue('addreduce',1); await ChangeCreditlimit.run()})()}}"
2022-02-24 03:11:35 +00:00
}
} ,
"menuVariant" : "PRIMARY"
} ,
"customColumn5" : {
"index" : 19.0 ,
"width" : 150.0 ,
"id" : "customColumn5" ,
"columnType" : "url" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "imageURL" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn6" : {
"index" : 20.0 ,
"width" : 150.0 ,
"id" : "customColumn6" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "اسم" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn7" : {
"index" : 21.0 ,
"width" : 150.0 ,
"id" : "customColumn7" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "住所" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
}
} ,
"delimiter" : "," ,
"onRowSelected" : "{{storeValue('tableaction','onRowSelected');\ntest_table_action.run()}}" ,
"key" : "7qd84hzfbt" ,
"derivedColumns" : {
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItem2tb33v0gki" : {
"iconName" : "add" ,
"iconColor" : "#03b365" ,
"label" : "{{\"Add\"}}"
} ,
"menuItemtfxm672p31" : {
"label" : "Add"
} ,
"menuItemo4wjhr35z6" : {
"label" : "Add"
} ,
"menuItemq4pwym6y78" : {
"label" : "Add {{ \"test \"}}"
}
} ,
"menuVariant" : "PRIMARY"
} ,
"customColumn5" : {
"index" : 19.0 ,
"width" : 150.0 ,
"id" : "customColumn5" ,
"columnType" : "url" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "imageURL" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn6" : {
"index" : 20.0 ,
"width" : 150.0 ,
"id" : "customColumn6" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "اسم" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn7" : {
"index" : 21.0 ,
"width" : 150.0 ,
"id" : "customColumn7" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "住所" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
}
} ,
"rightColumn" : 44.0 ,
"textSize" : "PARAGRAPH" ,
"widgetId" : "pnv6tpz880" ,
"isVisibleFilters" : true ,
"tableData" : "{{GetCCData.data.body}}" ,
"isVisible" : true ,
"label" : "Data" ,
"searchKey" : "" ,
"enableClientSideSearch" : true ,
"version" : 3.0 ,
"textColor" : "#2E3D49" ,
"totalRecordsCount" : 0.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"horizontalAlignment" : "LEFT" ,
"isVisibleSearch" : true ,
"isVisiblePagination" : true ,
"primaryColumnId" : "id" ,
"cellBackground" : "#FFFFFF" ,
"verticalAlignment" : "CENTER" ,
"columnSizeMap" : {
"task" : 245.0 ,
"step" : 62.0 ,
"status" : 75.0 ,
"id" : 60.0 ,
"credit_card" : 178.0 ,
"customColumn4" : 265.0
}
} ,
{
"widgetName" : "Dbg_menu_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 3.0 ,
"bottomRow" : 15.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{ \"CreditLimit:\"+ (String(ChangeCreditlimit.data.args.addreduce) == 0 ? 'Add': 'Reduce')}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "cgysarp2f8" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Form1" ,
"backgroundColor" : "white" ,
"rightColumn" : 64.0 ,
"isCanvas" : true ,
"displayName" : "Form" ,
"iconSVG" : "/static/media/icon.ea3e08d1.svg" ,
"widgetId" : "yz6sq7v43u" ,
"topRow" : 55.0 ,
"bottomRow" : 98.0 ,
"parentRowSpace" : 10.0 ,
"isVisible" : true ,
"type" : "FORM_WIDGET" ,
"hideCard" : false ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"leftColumn" : 1.0 ,
"children" : [
{
"widgetName" : "Canvas1" ,
"rightColumn" : 481.5 ,
"detachFromLayout" : true ,
"displayName" : "Canvas" ,
"widgetId" : "xbau5ckupy" ,
"containerStyle" : "none" ,
"topRow" : 0.0 ,
"bottomRow" : 420.0 ,
"parentRowSpace" : 1.0 ,
"isVisible" : true ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : false ,
"version" : 1.0 ,
"hideCard" : true ,
"parentId" : "yz6sq7v43u" ,
"minHeight" : 400.0 ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"parentColumnSpace" : 1.0 ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Text1Copy" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 6.0 ,
"bottomRow" : 15.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 0.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.address}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 14.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "qg7myxcdab" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Text1" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 5.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 0.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.credit_card}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 14.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "z9tk4bnxnj" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"zoomLevel" : 50.0 ,
"widgetName" : "Map1" ,
"defaultMarkers" : "[\n {\n \"lat\": {{Table1.selectedRow.latitude}},\n \"long\": {{Table1.selectedRow.longitude}},\n \"title\": \"Location1\"\n }\n]" ,
"displayName" : "Map" ,
"iconSVG" : "/static/media/icon.ddde7d1b.svg" ,
"topRow" : 0.0 ,
"bottomRow" : 40.0 ,
"parentRowSpace" : 10.0 ,
"type" : "MAP_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"allowZoom" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 14.0 ,
"dynamicBindingPathList" : [
{
"key" : "defaultMarkers"
}
] ,
"enablePickLocation" : false ,
"mapCenter" : {
"lat" : 25.122 ,
"long" : 50.132
} ,
"isClickedMarkerCentered" : true ,
"isDisabled" : false ,
"enableSearch" : false ,
"key" : "x7k7du2qr4" ,
"rightColumn" : 38.0 ,
"widgetId" : "dpqon94e26" ,
"isVisible" : true ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false
}
] ,
"key" : "4d43dr32dp"
}
] ,
"key" : "z48p7vhfdv"
} ,
{
"widgetName" : "Text2" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 34.0 ,
"bottomRow" : 38.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{String(test_table_action.data.args.tableaction)}}" ,
"key" : "4tycqxjg32" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "5uvjnmbeo6" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
}
]
} ,
"layoutOnLoadActions" : [
[
{
"id" : "Credit Card Home_GetCCData" ,
"name" : "GetCCData" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
] ,
"timeoutInMillisecond" : 10000
}
] ,
[
{
"id" : "Credit Card Home_ActivateDeactivate" ,
"name" : "ActivateDeactivate" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Credit Card Home_test_table_action" ,
"name" : "test_table_action" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Credit Card Home_ChangeCreditlimit" ,
"name" : "ChangeCreditlimit" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"timeoutInMillisecond" : 10000
}
]
] ,
"new" : false
}
] ,
"userPermissions" : [
] ,
"isHidden" : false
} ,
"publishedPage" : {
"name" : "Credit Card Home" ,
"slug" : "credit-card-home" ,
"layouts" : [
{
"id" : "Credit Card Home" ,
"userPermissions" : [
] ,
"dsl" : {
"widgetName" : "MainContainer" ,
"backgroundColor" : "none" ,
"rightColumn" : 1087.0 ,
"snapColumns" : 64.0 ,
"detachFromLayout" : true ,
"widgetId" : "0" ,
"topRow" : 0.0 ,
"bottomRow" : 1230.0 ,
"containerStyle" : "none" ,
"snapRows" : 125.0 ,
"parentRowSpace" : 1.0 ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : true ,
"version" : 51.0 ,
"minHeight" : 1240.0 ,
"parentColumnSpace" : 1.0 ,
"dynamicBindingPathList" : [
] ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Dbg_state_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 18.0 ,
"bottomRow" : 30.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{\"State:\"+ (String(ActivateDeactivate.data.args.action) == 0 ? \"Active\": \"Inactive\")}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "eqobmz3fzx" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Table1" ,
"defaultPageSize" : 0.0 ,
"columnOrder" : [
"credit_card" ,
"id" ,
"name" ,
"customColumn6" ,
"address" ,
"customColumn7" ,
"latitude" ,
"longitude" ,
"phone" ,
"email" ,
"company" ,
"job" ,
"image" ,
"ssn" ,
"postalcode" ,
"CreditLimit" ,
"Outstanding" ,
"State" ,
"customColumn2" ,
"customColumn3" ,
"customColumn4" ,
"customColumn5"
] ,
"isVisibleDownload" : true ,
"dynamicPropertyPathList" : [
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
} ,
{
"key" : "onRowSelected"
} ,
{
"key" : "onPageChange"
}
] ,
"displayName" : "Table" ,
"iconSVG" : "/static/media/icon.db8a9cbd.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 53.0 ,
"isSortable" : true ,
"parentRowSpace" : 10.0 ,
"onPageChange" : "{{storeValue('tableaction','onPageChange');test_table_action.run()}}" ,
"type" : "TABLE_WIDGET" ,
"defaultSelectedRow" : "0" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
} ,
{
"key" : "onRowSelected"
} ,
{
"key" : "onPageChange"
}
] ,
"dynamicBindingPathList" : [
{
"key" : "primaryColumns.postalcode.computedValue"
} ,
{
"key" : "primaryColumns.credit_card.computedValue"
} ,
{
"key" : "primaryColumns.image.computedValue"
} ,
{
"key" : "primaryColumns.job.computedValue"
} ,
{
"key" : "primaryColumns.company.computedValue"
} ,
{
"key" : "primaryColumns.email.computedValue"
} ,
{
"key" : "primaryColumns.phone.computedValue"
} ,
{
"key" : "primaryColumns.longitude.computedValue"
} ,
{
"key" : "primaryColumns.latitude.computedValue"
} ,
{
"key" : "primaryColumns.name.computedValue"
} ,
{
"key" : "primaryColumns.id.computedValue"
} ,
{
"key" : "primaryColumns.CreditLimit.computedValue"
} ,
{
"key" : "primaryColumns.Outstanding.computedValue"
} ,
{
"key" : "primaryColumns.State.computedValue"
} ,
{
"key" : "derivedColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.State.menuButtonLabel"
} ,
{
"key" : "primaryColumns.State.buttonLabel"
} ,
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "derivedColumns.customColumn3.computedValue"
} ,
{
"key" : "primaryColumns.image.menuButtonLabel"
} ,
{
"key" : "primaryColumns.address.computedValue"
} ,
{
"key" : "primaryColumns.ssn.computedValue"
} ,
{
"key" : "derivedColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "primaryColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItem2tb33v0gki.label"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItemq4pwym6y78.label"
} ,
{
"key" : "primaryColumns.customColumn3.computedValue"
} ,
{
"key" : "tableData"
} ,
{
"key" : "derivedColumns.customColumn5.computedValue"
} ,
{
"key" : "primaryColumns.customColumn5.computedValue"
} ,
{
"key" : "derivedColumns.customColumn6.computedValue"
} ,
{
"key" : "primaryColumns.customColumn6.computedValue"
} ,
{
"key" : "derivedColumns.customColumn7.computedValue"
} ,
{
"key" : "primaryColumns.customColumn7.computedValue"
}
] ,
"leftColumn" : 1.0 ,
"primaryColumns" : {
"id" : {
"index" : 0.0 ,
"width" : 150.0 ,
"id" : "id" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "id" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"name" : {
"index" : 1.0 ,
"width" : 150.0 ,
"id" : "name" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Name" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"latitude" : {
"index" : 3.0 ,
"width" : 150.0 ,
"id" : "latitude" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "latitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"longitude" : {
"index" : 4.0 ,
"width" : 150.0 ,
"id" : "longitude" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "longitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"phone" : {
"index" : 5.0 ,
"width" : 150.0 ,
"id" : "phone" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Phone" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"email" : {
"index" : 6.0 ,
"width" : 150.0 ,
"id" : "email" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "email" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"company" : {
"index" : 7.0 ,
"width" : 150.0 ,
"id" : "company" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Company" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.company))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"job" : {
"index" : 8.0 ,
"width" : 150.0 ,
"id" : "job" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "job" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.job))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"image" : {
"index" : 9.0 ,
"width" : 150.0 ,
"id" : "image" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "image" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "image" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Select Action'))}}" ,
"menuItems" : {
"menuItem2pk679yg51" : {
"id" : "menuItem2pk679yg51" ,
"label" : "Menu Item 1" ,
"widgetId" : "wpm0shl7qf" ,
"isDisabled" : false ,
"isVisible" : true ,
"iconName" : "add"
} ,
"menuItemqr3v3oluu8" : {
"id" : "menuItemqr3v3oluu8" ,
"label" : "Menu Item 2" ,
"widgetId" : "s4qzg061rl" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemsjdm3zecpg" : {
"id" : "menuItemsjdm3zecpg" ,
"label" : "Menu Item 3" ,
"widgetId" : "9cp3cetwrp" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemlqfcpd2q4f" : {
"id" : "menuItemlqfcpd2q4f" ,
"label" : "Menu Item 4" ,
"widgetId" : "ktpsc5wgzk" ,
"isDisabled" : false ,
"isVisible" : true
}
} ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49" ,
"menuVariant" : "PRIMARY" ,
"iconName" : "glass"
} ,
"credit_card" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "credit_card" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Card Number" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.cc_format( currentRow.credit_card)))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"postalcode" : {
"index" : 14.0 ,
"width" : 150.0 ,
"id" : "postalcode" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Pin Code" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.postalcode))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"CreditLimit" : {
"index" : 11.0 ,
"width" : 150.0 ,
"id" : "CreditLimit" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "CreditLimit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"Outstanding" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "Outstanding" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Outstanding" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.Outstanding))}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"State" : {
"index" : 13.0 ,
"width" : 150.0 ,
"id" : "State" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "button" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "State" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State))}}" ,
"buttonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 0 ? \"Deactivate\" : \"Activate\" ))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Open Menu'))}}" ,
"buttonColor" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 1 ? \"#03b365\" : \"#DD4B34\"))}}" ,
"buttonLabelColor" : "" ,
"onClick" : "{{\nActivateDeactivate.run()}}" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"address" : {
"index" : 2.0 ,
"width" : 150.0 ,
"id" : "address" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "address" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"cellBackground" : "#FFFFFF"
} ,
"ssn" : {
"index" : 10.0 ,
"width" : 150.0 ,
"id" : "ssn" ,
"horizontalAlignment" : "LEFT" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "PARAGRAPH" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "ssn" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ssn))}}" ,
"cellBackground" : "#FFFFFF"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItemvfnxha1hx3" : {
"id" : "menuItemvfnxha1hx3" ,
"label" : "AddcreditLimit" ,
"widgetId" : "mssq87mlgm" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 0.0 ,
"onClick" : "{{storeValue('addreduce','0');ChangeCreditlimit.run()}}"
} ,
"menuItem54mz4q42yo" : {
"id" : "menuItem54mz4q42yo" ,
"label" : "Reducecreditlimit" ,
"widgetId" : "pk39c0raus" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 1.0 ,
2022-03-02 16:54:43 +00:00
"onClick" : "{{(async function() { await storeValue('addreduce',1); await ChangeCreditlimit.run()})()}}"
2022-02-24 03:11:35 +00:00
}
} ,
"menuVariant" : "PRIMARY"
} ,
"customColumn5" : {
"index" : 19.0 ,
"width" : 150.0 ,
"id" : "customColumn5" ,
"columnType" : "url" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "imageURL" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn6" : {
"index" : 20.0 ,
"width" : 150.0 ,
"id" : "customColumn6" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "اسم" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn7" : {
"index" : 21.0 ,
"width" : 150.0 ,
"id" : "customColumn7" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "住所" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
}
} ,
"delimiter" : "," ,
"onRowSelected" : "{{storeValue('tableaction','onRowSelected');\nChangeCreditlimit.run();\nActivateDeactivate.run();\ntest_table_action.run()}}" ,
"key" : "7qd84hzfbt" ,
"derivedColumns" : {
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFFFFF" ,
"textColor" : "#2E3D49"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItem2tb33v0gki" : {
"iconName" : "add" ,
"iconColor" : "#03b365" ,
"label" : "{{\"Add\"}}"
} ,
"menuItemtfxm672p31" : {
"label" : "Add"
} ,
"menuItemo4wjhr35z6" : {
"label" : "Add"
} ,
"menuItemq4pwym6y78" : {
"label" : "Add {{ \"test \"}}"
}
} ,
"menuVariant" : "PRIMARY"
} ,
"customColumn5" : {
"index" : 19.0 ,
"width" : 150.0 ,
"id" : "customColumn5" ,
"columnType" : "url" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "imageURL" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn6" : {
"index" : 20.0 ,
"width" : 150.0 ,
"id" : "customColumn6" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "اسم" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
} ,
"customColumn7" : {
"index" : 21.0 ,
"width" : 150.0 ,
"id" : "customColumn7" ,
"columnType" : "text" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "住所" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF"
}
} ,
"rightColumn" : 44.0 ,
"textSize" : "PARAGRAPH" ,
"widgetId" : "pnv6tpz880" ,
"isVisibleFilters" : true ,
"tableData" : "{{GetCCData.data.body}}" ,
"isVisible" : true ,
"label" : "Data" ,
"searchKey" : "" ,
"enableClientSideSearch" : true ,
"version" : 3.0 ,
"textColor" : "#2E3D49" ,
"totalRecordsCount" : 0.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"horizontalAlignment" : "LEFT" ,
"isVisibleSearch" : true ,
"isVisiblePagination" : true ,
"primaryColumnId" : "id" ,
"cellBackground" : "#FFFFFF" ,
"verticalAlignment" : "CENTER" ,
"columnSizeMap" : {
"task" : 245.0 ,
"step" : 62.0 ,
"status" : 75.0 ,
"id" : 60.0 ,
"credit_card" : 178.0 ,
"customColumn4" : 265.0
}
} ,
{
"widgetName" : "Dbg_menu_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 3.0 ,
"bottomRow" : 15.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{ \"CreditLimit:\"+ (String(ChangeCreditlimit.data.args.addreduce) == 0 ? 'Add': 'Reduce')}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "cgysarp2f8" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Form1" ,
"backgroundColor" : "white" ,
"rightColumn" : 64.0 ,
"isCanvas" : true ,
"displayName" : "Form" ,
"iconSVG" : "/static/media/icon.ea3e08d1.svg" ,
"widgetId" : "yz6sq7v43u" ,
"topRow" : 55.0 ,
"bottomRow" : 98.0 ,
"parentRowSpace" : 10.0 ,
"isVisible" : true ,
"type" : "FORM_WIDGET" ,
"hideCard" : false ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"leftColumn" : 1.0 ,
"children" : [
{
"widgetName" : "Canvas1" ,
"rightColumn" : 481.5 ,
"detachFromLayout" : true ,
"displayName" : "Canvas" ,
"widgetId" : "xbau5ckupy" ,
"containerStyle" : "none" ,
"topRow" : 0.0 ,
"bottomRow" : 420.0 ,
"parentRowSpace" : 1.0 ,
"isVisible" : true ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : false ,
"version" : 1.0 ,
"hideCard" : true ,
"parentId" : "yz6sq7v43u" ,
"minHeight" : 400.0 ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"parentColumnSpace" : 1.0 ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Text1Copy" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 6.0 ,
"bottomRow" : 15.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.address}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "qg7myxcdab" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Text1" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 5.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.credit_card}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "z9tk4bnxnj" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"zoomLevel" : 50.0 ,
"widgetName" : "Map1" ,
"defaultMarkers" : "[\n {\n \"lat\": {{Table1.selectedRow.latitude}},\n \"long\": {{Table1.selectedRow.longitude}},\n \"title\": \"Location1\"\n }\n]" ,
"displayName" : "Map" ,
"iconSVG" : "/static/media/icon.ddde7d1b.svg" ,
"topRow" : 0.0 ,
"bottomRow" : 40.0 ,
"parentRowSpace" : 10.0 ,
"type" : "MAP_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"allowZoom" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 19.0 ,
"dynamicBindingPathList" : [
{
"key" : "defaultMarkers"
}
] ,
"enablePickLocation" : false ,
"mapCenter" : {
"lat" : 25.122 ,
"long" : 50.132
} ,
"isClickedMarkerCentered" : true ,
"isDisabled" : false ,
"enableSearch" : false ,
"key" : "x7k7du2qr4" ,
"rightColumn" : 43.0 ,
"widgetId" : "dpqon94e26" ,
"isVisible" : true ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false
}
] ,
"key" : "4d43dr32dp"
}
] ,
"key" : "z48p7vhfdv"
} ,
{
"widgetName" : "Text2" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 34.0 ,
"bottomRow" : 38.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{String(test_table_action.data.args.tableaction)}}" ,
"key" : "4tycqxjg32" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "5uvjnmbeo6" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
}
]
} ,
"layoutOnLoadActions" : [
[
{
"id" : "Credit Card Home_GetCCData" ,
"name" : "GetCCData" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
] ,
"timeoutInMillisecond" : 10000
}
] ,
[
{
"id" : "Credit Card Home_test_table_action" ,
"name" : "test_table_action" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Credit Card Home_ActivateDeactivate" ,
"name" : "ActivateDeactivate" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Credit Card Home_ChangeCreditlimit" ,
"name" : "ChangeCreditlimit" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"timeoutInMillisecond" : 10000
}
]
] ,
"new" : false
}
] ,
"userPermissions" : [
] ,
"isHidden" : false
} ,
"new" : true
} ,
{
"userPermissions" : [
"read:pages" ,
"manage:pages"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e36b4b1e154a3c1ec3" ,
"unpublishedPage" : {
"name" : "Change color and font" ,
"slug" : "change-color-and-font" ,
"layouts" : [
{
"id" : "Change color and font" ,
"userPermissions" : [
] ,
"dsl" : {
"widgetName" : "MainContainer" ,
"backgroundColor" : "none" ,
"rightColumn" : 1088 ,
"snapColumns" : 64 ,
"detachFromLayout" : true ,
"widgetId" : "0" ,
"topRow" : 0 ,
"bottomRow" : 1230 ,
"containerStyle" : "none" ,
"snapRows" : 125 ,
"parentRowSpace" : 1 ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : true ,
"version" : 52 ,
"minHeight" : 1240 ,
"parentColumnSpace" : 1 ,
"dynamicBindingPathList" : [
] ,
"leftColumn" : 0 ,
"children" : [
{
"widgetName" : "Dbg_state_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 18 ,
"bottomRow" : 30 ,
"parentRowSpace" : 10 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{String(ActivateDeactivate.data.args.action)}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61 ,
"textAlign" : "LEFT" ,
"widgetId" : "eqobmz3fzx" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Table1" ,
"defaultPageSize" : 0 ,
"columnOrder" : [
"credit_card" ,
"id" ,
"name" ,
"address" ,
"latitude" ,
"longitude" ,
"phone" ,
"email" ,
"company" ,
"job" ,
"image" ,
"ssn" ,
"postalcode" ,
"CreditLimit" ,
"Outstanding" ,
"State" ,
"customColumn2" ,
"customColumn3" ,
"customColumn4"
] ,
"isVisibleDownload" : false ,
"dynamicPropertyPathList" : [
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
}
] ,
"displayName" : "Table" ,
"iconSVG" : "/static/media/icon.db8a9cbd.svg" ,
"topRow" : 1 ,
"bottomRow" : 53 ,
"isSortable" : true ,
"parentRowSpace" : 10 ,
"type" : "TABLE_WIDGET" ,
"defaultSelectedRow" : "0" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
}
] ,
"dynamicBindingPathList" : [
{
"key" : "primaryColumns.postalcode.computedValue"
} ,
{
"key" : "primaryColumns.credit_card.computedValue"
} ,
{
"key" : "primaryColumns.image.computedValue"
} ,
{
"key" : "primaryColumns.job.computedValue"
} ,
{
"key" : "primaryColumns.company.computedValue"
} ,
{
"key" : "primaryColumns.email.computedValue"
} ,
{
"key" : "primaryColumns.phone.computedValue"
} ,
{
"key" : "primaryColumns.longitude.computedValue"
} ,
{
"key" : "primaryColumns.latitude.computedValue"
} ,
{
"key" : "primaryColumns.name.computedValue"
} ,
{
"key" : "primaryColumns.id.computedValue"
} ,
{
"key" : "primaryColumns.CreditLimit.computedValue"
} ,
{
"key" : "primaryColumns.Outstanding.computedValue"
} ,
{
"key" : "primaryColumns.State.computedValue"
} ,
{
"key" : "derivedColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.State.menuButtonLabel"
} ,
{
"key" : "primaryColumns.State.buttonLabel"
} ,
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "derivedColumns.customColumn3.computedValue"
} ,
{
"key" : "primaryColumns.image.menuButtonLabel"
} ,
{
"key" : "primaryColumns.address.computedValue"
} ,
{
"key" : "primaryColumns.ssn.computedValue"
} ,
{
"key" : "derivedColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "primaryColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItem2tb33v0gki.label"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItemq4pwym6y78.label"
} ,
{
"key" : "primaryColumns.customColumn3.computedValue"
} ,
{
"key" : "tableData"
}
] ,
"leftColumn" : 1 ,
"primaryColumns" : {
"id" : {
"index" : 0 ,
"width" : 150 ,
"id" : "id" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "id" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"name" : {
"index" : 1 ,
"width" : 150 ,
"id" : "name" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Name" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"latitude" : {
"index" : 3 ,
"width" : 150 ,
"id" : "latitude" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "latitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"longitude" : {
"index" : 4 ,
"width" : 150 ,
"id" : "longitude" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "longitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"phone" : {
"index" : 5 ,
"width" : 150 ,
"id" : "phone" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Phone" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"email" : {
"index" : 6 ,
"width" : 150 ,
"id" : "email" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "email" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"company" : {
"index" : 7 ,
"width" : 150 ,
"id" : "company" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Company" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.company))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"job" : {
"index" : 8 ,
"width" : 150 ,
"id" : "job" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "job" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.job))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"image" : {
"index" : 9 ,
"width" : 150 ,
"id" : "image" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "menuButton" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "image" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Select Action'))}}" ,
"menuItems" : {
"menuItem2pk679yg51" : {
"id" : "menuItem2pk679yg51" ,
"label" : "Menu Item 1" ,
"widgetId" : "wpm0shl7qf" ,
"isDisabled" : false ,
"isVisible" : true ,
"iconName" : "add"
} ,
"menuItemqr3v3oluu8" : {
"id" : "menuItemqr3v3oluu8" ,
"label" : "Menu Item 2" ,
"widgetId" : "s4qzg061rl" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemsjdm3zecpg" : {
"id" : "menuItemsjdm3zecpg" ,
"label" : "Menu Item 3" ,
"widgetId" : "9cp3cetwrp" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemlqfcpd2q4f" : {
"id" : "menuItemlqfcpd2q4f" ,
"label" : "Menu Item 4" ,
"widgetId" : "ktpsc5wgzk" ,
"isDisabled" : false ,
"isVisible" : true
}
} ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"menuVariant" : "PRIMARY" ,
"iconName" : "glass" ,
"fontStyle" : "BOLD"
} ,
"credit_card" : {
"index" : 12 ,
"width" : 150 ,
"id" : "credit_card" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Card Number" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.cc_format( currentRow.credit_card)))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"postalcode" : {
"index" : 14 ,
"width" : 150 ,
"id" : "postalcode" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Pin Code" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.postalcode))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"CreditLimit" : {
"index" : 11 ,
"width" : 150 ,
"id" : "CreditLimit" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "CreditLimit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"Outstanding" : {
"index" : 12 ,
"width" : 150 ,
"id" : "Outstanding" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Outstanding" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.Outstanding))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"State" : {
"index" : 13 ,
"width" : 150 ,
"id" : "State" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "button" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "State" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State))}}" ,
"buttonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 0 ? \"Deactivate\" : \"Activate\" ))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Open Menu'))}}" ,
"buttonColor" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 1 ? \"#03b365\" : \"#DD4B34\"))}}" ,
"buttonLabelColor" : "" ,
"onClick" : "{{\nActivateDeactivate.run()}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"customColumn2" : {
"index" : 15 ,
"width" : 150 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn3" : {
"index" : 15 ,
"width" : 150 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"address" : {
"index" : 2 ,
"width" : 150 ,
"id" : "address" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "address" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"cellBackground" : "#FFC13D" ,
"fontStyle" : "BOLD"
} ,
"ssn" : {
"index" : 10 ,
"width" : 150 ,
"id" : "ssn" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "ssn" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ssn))}}" ,
"cellBackground" : "#FFC13D" ,
"fontStyle" : "BOLD"
} ,
"customColumn4" : {
"index" : 18 ,
"width" : 150 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItemvfnxha1hx3" : {
"id" : "menuItemvfnxha1hx3" ,
"label" : "AddcreditLimit" ,
"widgetId" : "mssq87mlgm" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 0 ,
"onClick" : "{{storeValue('addreduce','0');ChangeCreditlimit.run()}}"
} ,
"menuItem54mz4q42yo" : {
"id" : "menuItem54mz4q42yo" ,
"label" : "Reducecreditlimit" ,
"widgetId" : "pk39c0raus" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 1 ,
2022-03-02 16:54:43 +00:00
"onClick" : "{{(async function() { await storeValue('addreduce',1); await ChangeCreditlimit.run()})()}}"
2022-02-24 03:11:35 +00:00
}
} ,
"menuVariant" : "PRIMARY" ,
"cellBackground" : "#FFC13D" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
}
} ,
"delimiter" : "," ,
"key" : "7qd84hzfbt" ,
"derivedColumns" : {
"customColumn2" : {
"index" : 15 ,
"width" : 150 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn3" : {
"index" : 15 ,
"width" : 150 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn4" : {
"index" : 18 ,
"width" : 150 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItem2tb33v0gki" : {
"iconName" : "add" ,
"iconColor" : "#03b365" ,
"label" : "{{\"Add\"}}"
} ,
"menuItemtfxm672p31" : {
"label" : "Add"
} ,
"menuItemo4wjhr35z6" : {
"label" : "Add"
} ,
"menuItemq4pwym6y78" : {
"label" : "Add {{ \"test \"}}"
}
} ,
"menuVariant" : "PRIMARY" ,
"cellBackground" : "#FFC13D" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
}
} ,
"rightColumn" : 44 ,
"textSize" : "HEADING1" ,
"widgetId" : "pnv6tpz880" ,
"isVisibleFilters" : false ,
"tableData" : "{{GetCCData.data.body}}" ,
"isVisible" : true ,
"label" : "Data" ,
"searchKey" : "" ,
"fontStyle" : "BOLD" ,
"enableClientSideSearch" : false ,
"version" : 3 ,
"textColor" : "#2E3D49" ,
"totalRecordsCount" : 0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"horizontalAlignment" : "CENTER" ,
"isVisibleSearch" : false ,
"isVisiblePagination" : false ,
"primaryColumnId" : "id" ,
"cellBackground" : "#FFC13D" ,
"verticalAlignment" : "CENTER" ,
"columnSizeMap" : {
"task" : 245 ,
"step" : 62 ,
"status" : 75 ,
"id" : 60 ,
"credit_card" : 178
}
} ,
{
"widgetName" : "Dbg_menu_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 3 ,
"bottomRow" : 15 ,
"parentRowSpace" : 10 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{ String(ChangeCreditlimit.data.args.cardnumber)}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61 ,
"textAlign" : "LEFT" ,
"widgetId" : "cgysarp2f8" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Form1" ,
"backgroundColor" : "white" ,
"rightColumn" : 64 ,
"isCanvas" : true ,
"displayName" : "Form" ,
"iconSVG" : "/static/media/icon.ea3e08d1.svg" ,
"widgetId" : "yz6sq7v43u" ,
"topRow" : 55 ,
"bottomRow" : 98 ,
"parentRowSpace" : 10 ,
"isVisible" : true ,
"type" : "FORM_WIDGET" ,
"hideCard" : false ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"leftColumn" : 1 ,
"children" : [
{
"widgetName" : "Canvas1" ,
"rightColumn" : 481.5 ,
"detachFromLayout" : true ,
"displayName" : "Canvas" ,
"widgetId" : "xbau5ckupy" ,
"containerStyle" : "none" ,
"topRow" : 0 ,
"bottomRow" : 420 ,
"parentRowSpace" : 1 ,
"isVisible" : true ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : false ,
"version" : 1 ,
"hideCard" : true ,
"parentId" : "yz6sq7v43u" ,
"minHeight" : 400 ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"parentColumnSpace" : 1 ,
"leftColumn" : 0 ,
"children" : [
{
"widgetName" : "Text1Copy" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 6 ,
"bottomRow" : 10 ,
"parentRowSpace" : 10 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.address}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17 ,
"textAlign" : "LEFT" ,
"widgetId" : "qg7myxcdab" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Text1" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 1 ,
"bottomRow" : 5 ,
"parentRowSpace" : 10 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.credit_card}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17 ,
"textAlign" : "LEFT" ,
"widgetId" : "z9tk4bnxnj" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"zoomLevel" : 50 ,
"widgetName" : "Map1" ,
"defaultMarkers" : "[\n {\n \"lat\": {{Table1.selectedRow.latitude}},\n \"long\": {{Table1.selectedRow.longitude}},\n \"title\": \"Location1\"\n }\n]" ,
"displayName" : "Map" ,
"iconSVG" : "/static/media/icon.ddde7d1b.svg" ,
"topRow" : 0 ,
"bottomRow" : 40 ,
"parentRowSpace" : 10 ,
"type" : "MAP_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"allowZoom" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 19 ,
"dynamicBindingPathList" : [
{
"key" : "defaultMarkers"
}
] ,
"enablePickLocation" : true ,
"mapCenter" : {
"lat" : 25.122 ,
"long" : 50.132
} ,
"isClickedMarkerCentered" : true ,
"isDisabled" : false ,
"enableSearch" : true ,
"key" : "x7k7du2qr4" ,
"rightColumn" : 43 ,
"widgetId" : "dpqon94e26" ,
"isVisible" : true ,
"version" : 1 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false
}
] ,
"key" : "4d43dr32dp"
}
] ,
"key" : "z48p7vhfdv"
}
]
} ,
"layoutOnLoadActions" : [
[
{
"id" : "Change color and font_GetCCData" ,
"name" : "GetCCData" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
] ,
"timeoutInMillisecond" : 10000
}
] ,
[
{
"id" : "Change color and font_ActivateDeactivate" ,
"name" : "ActivateDeactivate" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Change color and font_ChangeCreditlimit" ,
"name" : "ChangeCreditlimit" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"timeoutInMillisecond" : 10000
}
]
] ,
"new" : false
}
] ,
"userPermissions" : [
] ,
"isHidden" : false
} ,
"publishedPage" : {
"name" : "Change color and font" ,
"slug" : "change-color-and-font" ,
"layouts" : [
{
"id" : "Change color and font" ,
"userPermissions" : [
] ,
"dsl" : {
"widgetName" : "MainContainer" ,
"backgroundColor" : "none" ,
"rightColumn" : 1936.0 ,
"snapColumns" : 64.0 ,
"detachFromLayout" : true ,
"widgetId" : "0" ,
"topRow" : 0.0 ,
"bottomRow" : 1230.0 ,
"containerStyle" : "none" ,
"snapRows" : 125.0 ,
"parentRowSpace" : 1.0 ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : true ,
"version" : 51.0 ,
"minHeight" : 1240.0 ,
"parentColumnSpace" : 1.0 ,
"dynamicBindingPathList" : [
] ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Dbg_state_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 18.0 ,
"bottomRow" : 30.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{String(ActivateDeactivate.data.args.action)}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "eqobmz3fzx" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Table1" ,
"defaultPageSize" : 0.0 ,
"columnOrder" : [
"credit_card" ,
"id" ,
"name" ,
"address" ,
"latitude" ,
"longitude" ,
"phone" ,
"email" ,
"company" ,
"job" ,
"image" ,
"ssn" ,
"postalcode" ,
"CreditLimit" ,
"Outstanding" ,
"State" ,
"customColumn2" ,
"customColumn3" ,
"customColumn4"
] ,
"isVisibleDownload" : false ,
"dynamicPropertyPathList" : [
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
}
] ,
"displayName" : "Table" ,
"iconSVG" : "/static/media/icon.db8a9cbd.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 53.0 ,
"isSortable" : true ,
"parentRowSpace" : 10.0 ,
"type" : "TABLE_WIDGET" ,
"defaultSelectedRow" : "0" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
{
"key" : "primaryColumns.State.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItemvfnxha1hx3.onClick"
} ,
{
"key" : "primaryColumns.customColumn4.menuItems.menuItem54mz4q42yo.onClick"
}
] ,
"dynamicBindingPathList" : [
{
"key" : "primaryColumns.postalcode.computedValue"
} ,
{
"key" : "primaryColumns.credit_card.computedValue"
} ,
{
"key" : "primaryColumns.image.computedValue"
} ,
{
"key" : "primaryColumns.job.computedValue"
} ,
{
"key" : "primaryColumns.company.computedValue"
} ,
{
"key" : "primaryColumns.email.computedValue"
} ,
{
"key" : "primaryColumns.phone.computedValue"
} ,
{
"key" : "primaryColumns.longitude.computedValue"
} ,
{
"key" : "primaryColumns.latitude.computedValue"
} ,
{
"key" : "primaryColumns.name.computedValue"
} ,
{
"key" : "primaryColumns.id.computedValue"
} ,
{
"key" : "primaryColumns.CreditLimit.computedValue"
} ,
{
"key" : "primaryColumns.Outstanding.computedValue"
} ,
{
"key" : "primaryColumns.State.computedValue"
} ,
{
"key" : "derivedColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.customColumn2.computedValue"
} ,
{
"key" : "primaryColumns.State.menuButtonLabel"
} ,
{
"key" : "primaryColumns.State.buttonLabel"
} ,
{
"key" : "primaryColumns.State.buttonColor"
} ,
{
"key" : "derivedColumns.customColumn3.computedValue"
} ,
{
"key" : "primaryColumns.image.menuButtonLabel"
} ,
{
"key" : "primaryColumns.address.computedValue"
} ,
{
"key" : "primaryColumns.ssn.computedValue"
} ,
{
"key" : "derivedColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "primaryColumns.customColumn4.menuButtonLabel"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItem2tb33v0gki.label"
} ,
{
"key" : "derivedColumns.customColumn4.menuItems.menuItemq4pwym6y78.label"
} ,
{
"key" : "primaryColumns.customColumn3.computedValue"
} ,
{
"key" : "tableData"
}
] ,
"leftColumn" : 1.0 ,
"primaryColumns" : {
"id" : {
"index" : 0.0 ,
"width" : 150.0 ,
"id" : "id" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "id" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"name" : {
"index" : 1.0 ,
"width" : 150.0 ,
"id" : "name" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Name" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.name))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"latitude" : {
"index" : 3.0 ,
"width" : 150.0 ,
"id" : "latitude" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "latitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.latitude))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"longitude" : {
"index" : 4.0 ,
"width" : 150.0 ,
"id" : "longitude" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "longitude" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.longitude))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"phone" : {
"index" : 5.0 ,
"width" : 150.0 ,
"id" : "phone" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Phone" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.phone))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"email" : {
"index" : 6.0 ,
"width" : 150.0 ,
"id" : "email" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "email" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.email))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"company" : {
"index" : 7.0 ,
"width" : 150.0 ,
"id" : "company" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Company" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.company))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"job" : {
"index" : 8.0 ,
"width" : 150.0 ,
"id" : "job" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "job" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.job))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"image" : {
"index" : 9.0 ,
"width" : 150.0 ,
"id" : "image" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "menuButton" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : false ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "image" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.image))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Select Action'))}}" ,
"menuItems" : {
"menuItem2pk679yg51" : {
"id" : "menuItem2pk679yg51" ,
"label" : "Menu Item 1" ,
"widgetId" : "wpm0shl7qf" ,
"isDisabled" : false ,
"isVisible" : true ,
"iconName" : "add"
} ,
"menuItemqr3v3oluu8" : {
"id" : "menuItemqr3v3oluu8" ,
"label" : "Menu Item 2" ,
"widgetId" : "s4qzg061rl" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemsjdm3zecpg" : {
"id" : "menuItemsjdm3zecpg" ,
"label" : "Menu Item 3" ,
"widgetId" : "9cp3cetwrp" ,
"isDisabled" : false ,
"isVisible" : true
} ,
"menuItemlqfcpd2q4f" : {
"id" : "menuItemlqfcpd2q4f" ,
"label" : "Menu Item 4" ,
"widgetId" : "ktpsc5wgzk" ,
"isDisabled" : false ,
"isVisible" : true
}
} ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"menuVariant" : "PRIMARY" ,
"iconName" : "glass" ,
"fontStyle" : "BOLD"
} ,
"credit_card" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "credit_card" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "number" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Card Number" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.cc_format( currentRow.credit_card)))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"postalcode" : {
"index" : 14.0 ,
"width" : 150.0 ,
"id" : "postalcode" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Pin Code" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.postalcode))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"CreditLimit" : {
"index" : 11.0 ,
"width" : 150.0 ,
"id" : "CreditLimit" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "CreditLimit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"Outstanding" : {
"index" : 12.0 ,
"width" : 150.0 ,
"id" : "Outstanding" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "Outstanding" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.Outstanding))}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"State" : {
"index" : 13.0 ,
"width" : 150.0 ,
"id" : "State" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "button" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "State" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State))}}" ,
"buttonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 0 ? \"Deactivate\" : \"Activate\" ))}}" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Open Menu'))}}" ,
"buttonColor" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.State == 1 ? \"#03b365\" : \"#DD4B34\"))}}" ,
"buttonLabelColor" : "" ,
"onClick" : "{{\nActivateDeactivate.run()}}" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"fontStyle" : "BOLD"
} ,
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"address" : {
"index" : 2.0 ,
"width" : 150.0 ,
"id" : "address" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "address" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.address))}}" ,
"cellBackground" : "#FFC13D" ,
"fontStyle" : "BOLD"
} ,
"ssn" : {
"index" : 10.0 ,
"width" : 150.0 ,
"id" : "ssn" ,
"horizontalAlignment" : "CENTER" ,
"verticalAlignment" : "CENTER" ,
"columnType" : "text" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : false ,
"label" : "ssn" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ssn))}}" ,
"cellBackground" : "#FFC13D" ,
"fontStyle" : "BOLD"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItemvfnxha1hx3" : {
"id" : "menuItemvfnxha1hx3" ,
"label" : "AddcreditLimit" ,
"widgetId" : "mssq87mlgm" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 0.0 ,
"onClick" : "{{storeValue('addreduce','0');ChangeCreditlimit.run()}}"
} ,
"menuItem54mz4q42yo" : {
"id" : "menuItem54mz4q42yo" ,
"label" : "Reducecreditlimit" ,
"widgetId" : "pk39c0raus" ,
"isDisabled" : false ,
"isVisible" : true ,
"index" : 1.0 ,
2022-03-02 16:54:43 +00:00
"onClick" : "{{(async function() { await storeValue('addreduce',1); await ChangeCreditlimit.run()})()}}"
2022-02-24 03:11:35 +00:00
}
} ,
"menuVariant" : "PRIMARY" ,
"cellBackground" : "#FFC13D" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
}
} ,
"delimiter" : "," ,
"key" : "7qd84hzfbt" ,
"derivedColumns" : {
"customColumn2" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn2" ,
"columnType" : "number" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Available Limit" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.CreditLimit - currentRow.Outstanding))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn3" : {
"index" : 15.0 ,
"width" : 150.0 ,
"id" : "customColumn3" ,
"columnType" : "image" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Card Type" ,
"computedValue" : "{{Table1.sanitizedTableData.map((currentRow) => ( Tableformating.GetCardType( currentRow.credit_card)))}}" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"cellBackground" : "#FFC13D" ,
"textColor" : "#2E3D49" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
} ,
"customColumn4" : {
"index" : 18.0 ,
"width" : 150.0 ,
"id" : "customColumn4" ,
"columnType" : "menuButton" ,
"enableFilter" : true ,
"enableSort" : true ,
"isVisible" : true ,
"isDisabled" : false ,
"isCellVisible" : true ,
"isDerived" : true ,
"label" : "Change Credit limit" ,
"computedValue" : "" ,
"buttonStyle" : "rgb(3, 179, 101)" ,
"buttonLabelColor" : "#FFFFFF" ,
"buttonColor" : "#03B365" ,
"menuColor" : "#03B365" ,
"labelColor" : "#FFFFFF" ,
"menuButtonLabel" : "{{Table1.sanitizedTableData.map((currentRow) => ( 'Change Credit Limit'))}}" ,
"menuItems" : {
"menuItem2tb33v0gki" : {
"iconName" : "add" ,
"iconColor" : "#03b365" ,
"label" : "{{\"Add\"}}"
} ,
"menuItemtfxm672p31" : {
"label" : "Add"
} ,
"menuItemo4wjhr35z6" : {
"label" : "Add"
} ,
"menuItemq4pwym6y78" : {
"label" : "Add {{ \"test \"}}"
}
} ,
"menuVariant" : "PRIMARY" ,
"cellBackground" : "#FFC13D" ,
"textSize" : "HEADING1" ,
"horizontalAlignment" : "CENTER" ,
"fontStyle" : "BOLD"
}
} ,
"rightColumn" : 44.0 ,
"textSize" : "HEADING1" ,
"widgetId" : "pnv6tpz880" ,
"isVisibleFilters" : false ,
"tableData" : "{{GetCCData.data.body}}" ,
"isVisible" : true ,
"label" : "Data" ,
"searchKey" : "" ,
"fontStyle" : "BOLD" ,
"enableClientSideSearch" : false ,
"version" : 3.0 ,
"textColor" : "#2E3D49" ,
"totalRecordsCount" : 0.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"horizontalAlignment" : "CENTER" ,
"isVisibleSearch" : false ,
"isVisiblePagination" : false ,
"primaryColumnId" : "id" ,
"cellBackground" : "#FFC13D" ,
"verticalAlignment" : "CENTER" ,
"columnSizeMap" : {
"task" : 245.0 ,
"step" : 62.0 ,
"status" : 75.0 ,
"id" : 60.0 ,
"credit_card" : 178.0
}
} ,
{
"widgetName" : "Dbg_menu_button" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 3.0 ,
"bottomRow" : 15.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 45.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{ String(ChangeCreditlimit.data.args.cardnumber)}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 61.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "cgysarp2f8" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Form1" ,
"backgroundColor" : "white" ,
"rightColumn" : 64.0 ,
"isCanvas" : true ,
"displayName" : "Form" ,
"iconSVG" : "/static/media/icon.ea3e08d1.svg" ,
"widgetId" : "yz6sq7v43u" ,
"topRow" : 55.0 ,
"bottomRow" : 98.0 ,
"parentRowSpace" : 10.0 ,
"isVisible" : true ,
"type" : "FORM_WIDGET" ,
"hideCard" : false ,
"parentId" : "0" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 20.0625 ,
"leftColumn" : 1.0 ,
"children" : [
{
"widgetName" : "Canvas1" ,
"rightColumn" : 481.5 ,
"detachFromLayout" : true ,
"displayName" : "Canvas" ,
"widgetId" : "xbau5ckupy" ,
"containerStyle" : "none" ,
"topRow" : 0.0 ,
"bottomRow" : 420.0 ,
"parentRowSpace" : 1.0 ,
"isVisible" : true ,
"type" : "CANVAS_WIDGET" ,
"canExtend" : false ,
"version" : 1.0 ,
"hideCard" : true ,
"parentId" : "yz6sq7v43u" ,
"minHeight" : 400.0 ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"parentColumnSpace" : 1.0 ,
"leftColumn" : 0.0 ,
"children" : [
{
"widgetName" : "Text1Copy" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 6.0 ,
"bottomRow" : 10.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.address}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "qg7myxcdab" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"widgetName" : "Text1" ,
"displayName" : "Text" ,
"iconSVG" : "/static/media/icon.97c59b52.svg" ,
"topRow" : 1.0 ,
"bottomRow" : 5.0 ,
"parentRowSpace" : 10.0 ,
"type" : "TEXT_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 1.0 ,
"dynamicBindingPathList" : [
{
"key" : "text"
}
] ,
"shouldTruncate" : false ,
"truncateButtonColor" : "#FFC13D" ,
"text" : "{{Table1.selectedRow.credit_card}}" ,
"key" : "vt94s239nd" ,
"rightColumn" : 17.0 ,
"textAlign" : "LEFT" ,
"widgetId" : "z9tk4bnxnj" ,
"isVisible" : true ,
"fontStyle" : "BOLD" ,
"textColor" : "#231F20" ,
"shouldScroll" : false ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false ,
"fontSize" : "PARAGRAPH"
} ,
{
"zoomLevel" : 50.0 ,
"widgetName" : "Map1" ,
"defaultMarkers" : "[\n {\n \"lat\": {{Table1.selectedRow.latitude}},\n \"long\": {{Table1.selectedRow.longitude}},\n \"title\": \"Location1\"\n }\n]" ,
"displayName" : "Map" ,
"iconSVG" : "/static/media/icon.ddde7d1b.svg" ,
"topRow" : 0.0 ,
"bottomRow" : 40.0 ,
"parentRowSpace" : 10.0 ,
"type" : "MAP_WIDGET" ,
"hideCard" : false ,
"animateLoading" : true ,
"allowZoom" : true ,
"parentColumnSpace" : 19.4365234375 ,
"dynamicTriggerPathList" : [
] ,
"leftColumn" : 19.0 ,
"dynamicBindingPathList" : [
{
"key" : "defaultMarkers"
}
] ,
"enablePickLocation" : true ,
"mapCenter" : {
"lat" : 25.122 ,
"long" : 50.132
} ,
"isClickedMarkerCentered" : true ,
"isDisabled" : false ,
"enableSearch" : true ,
"key" : "x7k7du2qr4" ,
"rightColumn" : 43.0 ,
"widgetId" : "dpqon94e26" ,
"isVisible" : true ,
"version" : 1.0 ,
"parentId" : "xbau5ckupy" ,
"renderMode" : "CANVAS" ,
"isLoading" : false
}
] ,
"key" : "4d43dr32dp"
}
] ,
"key" : "z48p7vhfdv"
}
]
} ,
"layoutOnLoadActions" : [
[
{
"id" : "Change color and font_GetCCData" ,
"name" : "GetCCData" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
] ,
"timeoutInMillisecond" : 10000
}
] ,
[
{
"id" : "Change color and font_ActivateDeactivate" ,
"name" : "ActivateDeactivate" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"timeoutInMillisecond" : 10000
} ,
{
"id" : "Change color and font_ChangeCreditlimit" ,
"name" : "ChangeCreditlimit" ,
"pluginType" : "API" ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"timeoutInMillisecond" : 10000
}
]
] ,
"new" : false
}
] ,
"userPermissions" : [
] ,
"isHidden" : false
} ,
"new" : true
}
] ,
"publishedDefaultPageName" : "Credit Card Home" ,
"unpublishedDefaultPageName" : "Credit Card Home" ,
"actionList" : [
{
"id" : "Credit Card Home_ActivateDeactivate" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209e7696b4b1e154a3c029b" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"publishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_cc_format" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209e8906b4b1e154a3c02af" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"publishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_myFun2" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209ef2f6b4b1e154a3c02cc" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"async () => {\n\t\t//do async stuff here or use JS promises\n\t}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"publishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"async () => {\n\t\t//do async stuff here or use JS promises\n\t}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_myFun1" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209ef2f6b4b1e154a3c02cd" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"() => {\n\t\t//write code here\n\t}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"publishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"() => {\n\t\t//write code here\n\t}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_ChangeCreditlimit" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b0f376b4b1e154a3c1e8a" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"publishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_GetCardType" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209f0596b4b1e154a3c02d5" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"publishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"collectionId" : "Credit Card Home_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"new" : false
} ,
{
"id" : "Change color and font_GetCardType" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ec7" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"publishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"new" : false
} ,
{
"id" : "Change color and font_cc_format" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ec6" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"publishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_Tableformating" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"new" : false
} ,
{
"id" : "Change color and font_myFun1" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ec5" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"publishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"new" : false
} ,
{
"id" : "Change color and font_myFun2" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ec8" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"publishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"collectionId" : "Change color and font_JSObject1" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"new" : false
} ,
{
"id" : "null_myFun2" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7023" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"publishedAction" : {
"name" : "myFun2" ,
"fullyQualifiedName" : "JSObject1.myFun2" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "async () => {\n\t\t//do async stuff here or use JS promises\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : true
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun2"
} ,
"new" : false
} ,
{
"id" : "null_ChangeCreditlimit" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7027" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"publishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_test_table_action" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b43956b4b1e154a3c208d" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "test_table_action" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "tableaction" ,
"value" : "{{appsmith.store.tableaction}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "test_table_action"
} ,
"publishedAction" : {
"name" : "test_table_action" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "tableaction" ,
"value" : "{{appsmith.store.tableaction}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "test_table_action"
} ,
"new" : false
} ,
{
"id" : "null_myFun1" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7022" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"publishedAction" : {
"name" : "myFun1" ,
"fullyQualifiedName" : "JSObject1.myFun1" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "() => {\n\t\t//write code here\n\t}" ,
"jsArguments" : [
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "JSObject1.myFun1"
} ,
"new" : false
} ,
{
"id" : "null_test_table_action" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe702a" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "test_table_action" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "tableaction" ,
"value" : "{{appsmith.store.tableaction}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "test_table_action"
} ,
"publishedAction" : {
"name" : "test_table_action" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "tableaction" ,
"value" : "{{appsmith.store.tableaction}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"appsmith.store.tableaction"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "test_table_action"
} ,
"new" : false
} ,
{
"id" : "null_cc_format" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7024" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"publishedAction" : {
"name" : "cc_format" ,
"fullyQualifiedName" : "Tableformating.cc_format" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n}" ,
"jsArguments" : [
{
"name" : "value"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.cc_format"
} ,
"new" : false
} ,
{
"id" : "null_ActivateDeactivate" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7026" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"publishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"new" : false
} ,
{
"id" : "null_GetCardType" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7025" ,
"pluginType" : "JS" ,
"pluginId" : "js-plugin" ,
"unpublishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"publishedAction" : {
"name" : "GetCardType" ,
"fullyQualifiedName" : "Tableformating.GetCardType" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "UNUSED_DATASOURCE" ,
"pluginId" : "js-plugin" ,
"invalids" : [
"No datasource configuration found. Please configure it and try again."
] ,
"messages" : [
] ,
"isValid" : false ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
"encodeParamsToggle" : true ,
"body" : "(number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}" ,
"jsArguments" : [
{
"name" : "number"
}
] ,
"isAsync" : false
} ,
"executeOnLoad" : false ,
"dynamicBindingPathList" : [
{
"key" : "body"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "Tableformating.GetCardType"
} ,
"new" : false
} ,
{
"id" : "Change color and font_GetCCData" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ec9" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"publishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"new" : false
} ,
{
"id" : "null_GetCCData" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_621351c635ae9d523dbe7028" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"deletedAt" : "2022-02-23T09:25:31Z" ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"publishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_GetCCData" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b13316b4b1e154a3c1e9a" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"publishedAction" : {
"name" : "GetCCData" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Credit Card Home" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
{
"key" : "content-type" ,
"value" : "application/json"
}
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
] ,
"body" : "[\n {\n \"id\": 1,\n \"name\": \"Burkard D\\u00f6ring\",\n \"address\": \"632 \\u0627\\u0644\\u062a\\u0631\\u0647\\u064a Parkways Suite 501\\nLake \\u0639\\u0628\\u062f \\u0627\\u0644\\u0633\\u0651\\u0645\\u064a\\u0639, DE 02913\",\n \"latitude\": \"-33.7498795\",\n \"longitude\": \"116.893217\",\n \"phone\": \"+34935867463\",\n \"email\": \"nloos@yahoo.de\",\n \"company\": \"Juan-Arag\\u00f3n\",\n \"job\": \"Polizist\",\n \"image\": \"https://placekitten.com/962/406\",\n \"ssn\": \"065-85-4363\",\n \"credit_card\": \"36708758483669\",\n \"postalcode\": \"63805\",\n \"CreditLimit\": 925824,\n \"Outstanding\": 994368,\n \"State\": 1\n },\n {\n \"id\": 2,\n \"name\": \"Fadime M\\u00fclichen\",\n \"address\": \"\\u5317\\u6d77\\u9053\\u6e05\\u702c\\u5e02\\u776632\\u4e01\\u76ee18\\u756a12\\u53f7 \\u30d1\\u30ec\\u30b9\\u4e0a\\u91ce\\u516c\\u5712282\",\n \"latitude\": \"-15.047603\",\n \"longitude\": \"-110.510884\",\n \"phone\": \"938-688-4641x8042\",\n \"email\": \"jalklgasy@gmail.com\",\n \"company\": \"\\u6e21\\u8fba\\u5efa\\u8a2d\\u6709\\u9650\\u4f1a\\u793e\",\n \"job\": \"Designer, jewellery\",\n \"image\": \"https://dummyimage.com/591x810\",\n \"ssn\": \"195-29-6855\",\n \"credit_card\": \"3559546135788298\",\n \"postalcode\": \"10015\",\n \"CreditLimit\": 997739,\n \"Outstanding\": 427684,\n \"State\": 0\n },\n {\n \"id\": 3,\n \"name\": \"\\u0627\\u0644\\u062f\\u0643\\u062a\\u0648\\u0631\\u0629 \\u0645\\u0631\\u064a\\u0645 \\u0639\\u0627\\u0645\\u0644\\u0629\",\n \"address\": \"Cuesta Maura Sanabria 66\\nPontevedra, 81022\",\n \"latitude\": \"17.376043\",\n \"longitude\": \"22.896271\",\n \"phone\": \"070-1861-8269\",\n \"email\": \"sahb98@gmail.com\",\n \"company\": \"\\u0627\\u0632\\u062d\\u064a\\u0645\\u0627\\u0646-\\u0628\\u0646\\u0648 \\u0647\\u0644\\u0627\\u0644\",\n \"job\": \"Clinical cytogeneticist\",\n \"image\": \"https://placekitten.com/1003/385\",\n \"ssn\": \"749-91-0727\",\n \"credit_card\": \"675985729796\",\n \"postalcode\": \"60332\",\n \"CreditLimit\": 751310,\n \"Outstanding\": 447705,\n \"State\": 0\n },\n {\n \"id\": 4,\n \"name\": \"\\u0627\\u0644\\u0645\\u0647\\u0646\\u062f\\u0633 \\u062c\\u0627\\u0628\\u0631 \\u0627\\u0645\\u064a\\u0648\\u0646\\u064a\",\n \"address\": \"Piazza Valentino 7\\nSan Gionata, 93411 Reggio Emilia (FC)\",\n \"latitude\": \"-27.3135565\",\n \"longitude\": \"-12.847065\",\n \"phone\": \"+39 04 1109286\",\n \"email\": \"pradoadora@gmail.com\",\n \"company\": \"D\\u00f6hn Stiftung & Co. KG\",\n \"job\": \"Veterinary surgeon\",\n \"image\": \"https://www.lorempixel.com/445/988\",\n \"ssn\": \"066-43-1771\",\n \"credit_card\": \"4151498075572292\",\n \"postalcode\": \"12065\",\n \"CreditLimit\": 757487,\n \"Outstanding\": 529103,\n \"State\": 1\n },\n {\n \"id\": 5,\n \"name\": \"Alderano Tedesco\",\n \"address\": \"Via Lamborghini 75 Appartamento 50\\nBorgo Leonardo, 16919 Varese (BZ)\",\n \"latitude\": \"-77.8356585\",\n \"longitude\": \"175.226668\",\n \"phone\": \"985-106-4599\",\n \"email\": \"crystalsanchez@ross.com\",\n \"company\": \"Pujol, Rico and Becerra\",\n \"job\": \"\\u914d\\u7ba1\\u5de5\",\n \"image\": \"https://placekitten.com/489/276\",\n \"ssn\": \"423-66-5342\",\n \"credit_card\": \"583741715424\",\n \"postalcode\": \"10352\",\n \"CreditLimit\": 871300,\n \"Outstanding\": 356207,\n \"State\": 1\n },\n {\n \"id\": 6,\n \"name\": \"\\u0637\\u0627\\u0644\\u0628 \\u0623\\u0646\\u0645\\u0627\\u0631\",\n \"address\": \" R o t o n d a P a s q u a l 0 \ \ n C a m m a
"httpMethod" : "POST" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "GetCCData"
} ,
"new" : false
} ,
{
"id" : "Change color and font_ActivateDeactivate" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1eca" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"publishedAction" : {
"name" : "ActivateDeactivate" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "action" ,
"value" : "{{Table1.selectedRow.State}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.State"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ActivateDeactivate"
} ,
"new" : false
} ,
{
"id" : "Change color and font_ChangeCreditlimit" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_620b14e66b4b1e154a3c1ecb" ,
"pluginType" : "API" ,
"pluginId" : "restapi-plugin" ,
"unpublishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"publishedAction" : {
"name" : "ChangeCreditlimit" ,
"datasource" : {
"userPermissions" : [
] ,
"name" : "DEFAULT_REST_DATASOURCE" ,
"pluginId" : "restapi-plugin" ,
"datasourceConfiguration" : {
2023-03-11 07:01:39 +00:00
"url" : "http://host.docker.internal:5001/v1/mock-api"
2022-02-24 03:11:35 +00:00
} ,
"invalids" : [
] ,
"messages" : [
] ,
"isValid" : true ,
"new" : true
} ,
"pageId" : "Change color and font" ,
"actionConfiguration" : {
"timeoutInMillisecond" : 10000 ,
"paginationType" : "NONE" ,
2023-03-11 07:01:39 +00:00
"path" : "/echo" ,
2022-02-24 03:11:35 +00:00
"headers" : [
] ,
"encodeParamsToggle" : true ,
"queryParameters" : [
{
"key" : "cardnumber" ,
"value" : "{{Table1.selectedRow.credit_card}}"
} ,
{
"key" : "changelimit" ,
"value" : "{{Table1.selectedRow.CreditLimit * 0.10}}"
} ,
{
"key" : "addreduce" ,
"value" : "{{appsmith.store.addreduce}}"
}
] ,
"body" : "" ,
"httpMethod" : "GET" ,
"pluginSpecifiedTemplates" : [
{
"value" : true
}
]
} ,
"executeOnLoad" : true ,
"dynamicBindingPathList" : [
{
"key" : "queryParameters[0].value"
} ,
{
"key" : "queryParameters[1].value"
} ,
{
"key" : "queryParameters[2].value"
}
] ,
"isValid" : true ,
"invalids" : [
] ,
"messages" : [
] ,
"jsonPathKeys" : [
"Table1.selectedRow.credit_card" ,
"Table1.selectedRow.CreditLimit * 0.10" ,
"appsmith.store.addreduce"
] ,
"confirmBeforeExecute" : false ,
"userPermissions" : [
] ,
"validName" : "ChangeCreditlimit"
} ,
"new" : false
}
] ,
"actionCollectionList" : [
{
"id" : "Credit Card Home_Tableformating" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209e8776b4b1e154a3c02ad" ,
"unpublishedCollection" : {
"name" : "Tableformating" ,
"pageId" : "Credit Card Home" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n cc_format: (value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n},\n\n GetCardType: (number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}\n\t\n}" ,
"variables" : [
]
} ,
"publishedCollection" : {
"name" : "Tableformating" ,
"pageId" : "Credit Card Home" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n cc_format: (value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n},\n\n GetCardType: (number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}\n\t\n}" ,
"variables" : [
]
} ,
"new" : false
} ,
{
"id" : "Credit Card Home_JSObject1" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209ef2f6b4b1e154a3c02d0" ,
"unpublishedCollection" : {
"name" : "JSObject1" ,
"pageId" : "Credit Card Home" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//do async stuff here or use JS promises\n\t}\n}" ,
"variables" : [
{
"name" : "myVar1" ,
"value" : [
]
} ,
{
"name" : "myVar2" ,
"value" : {
}
}
]
} ,
"publishedCollection" : {
"name" : "JSObject1" ,
"pageId" : "Credit Card Home" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//do async stuff here or use JS promises\n\t}\n}" ,
"variables" : [
{
"name" : "myVar1" ,
"value" : [
]
} ,
{
"name" : "myVar2" ,
"value" : {
}
}
]
} ,
"new" : false
} ,
{
"id" : "Change color and font_Tableformating" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209e8776b4b1e154a3c02ad" ,
"unpublishedCollection" : {
"name" : "Tableformating" ,
"pageId" : "Change color and font" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n cc_format: (value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n},\n\n GetCardType: (number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}\n\t\n}" ,
"variables" : [
]
} ,
"publishedCollection" : {
"name" : "Tableformating" ,
"pageId" : "Change color and font" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n cc_format: (value) =>{\n var v = value.replace(/\\s+/g, '').replace(/[^0-9]/gi, '')\n var matches = v.match(/\\d{4,16}/g);\n var match = matches && matches[0] || ''\n var parts = []\n\n\n for (var i=0, len=match.length; i<len; i+=4) {\n parts.push(match.substring(i, i+4))\n }\n\n if (parts.length) {\n return parts.join('-')\n } else {\n return value\n }\n},\n\n GetCardType: (number) => {\n // visa\n var re = new RegExp(\"^4\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n // Mastercard \n // Updated for Mastercard 2017 BINs expansion\n if (/^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(number)) \n return \"https://upload.wikimedia.org/wikipedia/commons/b/b7/MasterCard_Logo.svg\";\n\n // AMEX\n re = new RegExp(\"^3[47]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fa/American_Express_logo_%282018%29.svg\";\n\n // Discover\n re = new RegExp(\"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/f/fb/Discover_Card_logo.png\";\n\n // Diners\n re = new RegExp(\"^36\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // Diners - Carte Blanche\n re = new RegExp(\"^30[0-5]\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/1/1c/Farm-Fresh_dinersclub.png\";\n\n // JCB\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/9/93/Font_Awesome_5_brands_cc-jcb.svg\";\n\n // Visa Electron\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\n if (number.match(re) != null)\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n\n return \"https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Visa.svg/2880px-Visa.svg.png\";\n}\n\t\n}" ,
"variables" : [
]
} ,
"new" : false
} ,
{
"id" : "Change color and font_JSObject1" ,
"userPermissions" : [
"read:actions" ,
"execute:actions" ,
"manage:actions"
] ,
"gitSyncId" : "6209d7096b4b1e154a3c01ea_6209ef2f6b4b1e154a3c02d0" ,
"unpublishedCollection" : {
"name" : "JSObject1" ,
"pageId" : "Change color and font" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//do async stuff here or use JS promises\n\t}\n}" ,
"variables" : [
{
"name" : "myVar1" ,
"value" : [
]
} ,
{
"name" : "myVar2" ,
"value" : {
}
}
]
} ,
"publishedCollection" : {
"name" : "JSObject1" ,
"pageId" : "Change color and font" ,
"pluginId" : "js-plugin" ,
"pluginType" : "JS" ,
"actionIds" : [
] ,
"archivedActionIds" : [
] ,
"actions" : [
] ,
"archivedActions" : [
] ,
"body" : "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\tmyFun1: () => {\n\t\t//write code here\n\t},\n\tmyFun2: async () => {\n\t\t//do async stuff here or use JS promises\n\t}\n}" ,
"variables" : [
{
"name" : "myVar1" ,
"value" : [
]
} ,
{
"name" : "myVar2" ,
"value" : {
}
}
]
} ,
"new" : false
}
] ,
"decryptedFields" : {
} ,
"editModeTheme" : {
"name" : "Classic" ,
"new" : true ,
"isSystemTheme" : true
} ,
"publishedTheme" : {
"name" : "Classic" ,
"new" : true ,
"isSystemTheme" : true
} ,
"publishedLayoutmongoEscapedWidgets" : {
} ,
"unpublishedLayoutmongoEscapedWidgets" : {
}
}