getThirdLoginComplete function

dynamic getThirdLoginComplete()

Implementation

getThirdLoginComplete() {
  return [
    {
      "action": "setMyInfo",
      "data": [
        {
          "id": appParam[gTargetid],
          "email": appParam['$gLogin$gValue'],
          "password":
              "3db68e033df11afcb717e96e4db0c82e2c58d3928940c343a5f176c4e6819f824f0347dd07416ce532caa80c7132c2d9",
          "birthday": "1978-02-11",
          "address": "mdls0 employee Avenue,Surrey,BC,Canada",
          "phone": "(604)777-7771",
          "balance": "0",
          "firstname": "mdls0",
          "middlename": "null",
          "username": "s0employee",
          "countrycode": "CA",
          "gender": "male",
          "code": "null",
          "selfie": "null",
          "token": appParam[gToken],
          "url": "null",
          "msgtoken": "null",
          "entryid": "756a6fd0-81d7-47c6-9496-8252aad3cdeb",
          "entrytime": "1701378394527",
          "parentid": "17"
        }
      ]
    },
    {
      "action": "setHaveRight",
      "data": ["employee"]
    },
    {
      "action": "addTable",
      "data": [
        {
          "colorIndex": -1,
          "label": "",
          "type": null,
          "actionid": "Zzycompany",
          "param0": "hometab",
          "where": "",
          "transpass": null,
          "body": {
            "Zzycompany": {
              "timestamp": 1702413944221,
              "attr": {
                "canInsert": false,
                "canEdit": false,
                "canDelete": false,
                "detail": "Zzycompanydetail",
                "label": "Company",
                "parenttab": "Configuration",
                "isCommon": true,
                "needCache": false,
                "inheritData": false,
                "icon": 61195,
                "namereal": null
              },
              "columns": [
                {
                  "id": "id",
                  "dbid": "id",
                  "type": "hidden",
                  "label": "id",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "hidden",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 10,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "name",
                  "dbid": "name",
                  "type": "text",
                  "label": "name",
                  "defaultValue": "",
                  "required": true,
                  "minLength": 5,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": true,
                  "isKeyword": true,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": true,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 20,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": true,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "email",
                  "dbid": "email",
                  "type": "email",
                  "label": "email",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 5,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "email",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 30,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "shipto",
                  "dbid": "shipto",
                  "type": "Address",
                  "label": "shipto",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 5,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "Address",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 40,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "billto",
                  "dbid": "billto",
                  "type": "Address",
                  "label": "billto",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 5,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "Address",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 50,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "cell",
                  "dbid": "cell",
                  "type": "phone",
                  "label": "cell",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 10,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "phone",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 60,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "url",
                  "dbid": "url",
                  "type": "url",
                  "label": "url",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 5,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "url",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 70,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "logo",
                  "dbid": "logo",
                  "type": "icon",
                  "label": "logo",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 5,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "icon",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 80,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "balance",
                  "dbid": "balance",
                  "type": "Money",
                  "label": "balance",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "Money",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.Long",
                  "isFile": false,
                  "seq": 100,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "entryid",
                  "dbid": "entryid",
                  "type": "label",
                  "label": "entryid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "hidden",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzyuser",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 110,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "paymentid",
                  "dbid": "paymentid",
                  "type": "text",
                  "label": "paymentid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzycompanypayment",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 120,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "entrytime",
                  "dbid": "entrytime",
                  "type": "label",
                  "label": "entrytime",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "datetime",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.Long",
                  "isFile": false,
                  "seq": 130,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": "table"
                },
                {
                  "id": "parentid",
                  "dbid": "parentid",
                  "type": "text",
                  "label": "parentid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzycompany",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 140,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "industryid",
                  "dbid": "industryid",
                  "type": "text",
                  "label": "industryid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzyindustry",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 150,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                }
              ],
              "data": [
                {
                  "id": "17",
                  "name": "store0",
                  "email": "null",
                  "shipto": "null",
                  "billto": "null",
                  "cell": "null",
                  "url": "null",
                  "logo": appParam['$gLogo$gValue'] ?? '',
                  "balance": "348801",
                  "entryid": "756a6fd0-81d7-47c6-9496-8252aad3cdeb",
                  "paymentid": "null",
                  "entrytime": "1701378388600",
                  "parentid": "6",
                  "industryid": "f12f6225-6bee-41c5-9acf-c98dbf2378cb"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "action": "addTable",
      "data": [
        {
          "colorIndex": -1,
          "label": "",
          "type": null,
          "actionid": "Zzyfuturetask",
          "param0": "hometab",
          "where": "",
          "transpass": null,
          "body": {
            "Zzyfuturetask": {
              "timestamp": 1702413944225,
              "attr": {
                "canInsert": true,
                "canEdit": true,
                "canDelete": false,
                "label": "Future task",
                "isCommon": false,
                "needCache": false,
                "inheritData": false,
                "icon": null,
                "namereal": null
              },
              "columns": [
                {
                  "id": "id",
                  "dbid": "id",
                  "type": "hidden",
                  "label": "id",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "hidden",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 10,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "roleid",
                  "dbid": "roleid",
                  "type": "text",
                  "label": "roleid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzyrole",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 20,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "userid",
                  "dbid": "userid",
                  "type": "text",
                  "label": "userid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzyuser",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 30,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "label",
                  "dbid": "label",
                  "type": "text",
                  "label": "label",
                  "defaultValue": "",
                  "required": true,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 40,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "param",
                  "dbid": "param",
                  "type": "text",
                  "label": "param",
                  "defaultValue": "",
                  "required": true,
                  "minLength": 0,
                  "length": 1000,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "text",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 50,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "entryid",
                  "dbid": "entryid",
                  "type": "label",
                  "label": "entryid",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 50,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "hidden",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "Zzyuser",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.String",
                  "isFile": false,
                  "seq": 60,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": ""
                },
                {
                  "id": "entrytime",
                  "dbid": "entrytime",
                  "type": "label",
                  "label": "entrytime",
                  "defaultValue": "",
                  "required": false,
                  "minLength": 0,
                  "length": 255,
                  "hash": false,
                  "unit": "character",
                  "prefixIcon": null,
                  "inputType": "datetime",
                  "fontSize": null,
                  "letterSpacing": 0.0,
                  "isPrimary": false,
                  "isKeyword": false,
                  "droplist": "",
                  "uniqueKey": "",
                  "isUnique": false,
                  "colType": "java.lang.Long",
                  "isFile": false,
                  "seq": 70,
                  "canshow": true,
                  "fromsource": "",
                  "isFrozen": false,
                  "addNewCheck": false,
                  "isWholePage": false,
                  "after": "",
                  "showrange": "table"
                }
              ],
              "data": []
            }
          }
        }
      ]
    },
    {
      "action": "removeAllScreens",
      "data": [
        {"lastaction": "removeAllScreens"}
      ]
    },
    {
      "action": "showScreenPage",
      "data": [
        {
          "name": "home",
          "type": "screen",
          //gsBackgroundColor: Colors.black.value,
          "items": {
            /*"0": {
              gTitle: {gType: gFunction, gValue: "getThirdTitle"}
            },*/
            /*"10": {
              "actions": [
                {
                  "type": "icon",
                  "value": 58336,
                  "action": "process",
                  "data": [
                    {"type": "table", "actionid": "Zzyfuturetask"}
                  ]
                }
              ]
            },*/
            "20": {
              "item": {"type": "tab", "value": "hometab"}
            }
          }
        }
      ]
    }
  ];
}