Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export default {
  2.     'ui:template': 'TopLevelTabs',
  3.     basicInformation: {
  4.         'ui:template': 'SidebarLeft',
  5.         customerInformation: {
  6.             'ui:template': 'Card',
  7.             profileImage: {
  8.                 'ui:widget': 'profileImage'
  9.             }
  10.         },
  11.         loanInformation: {
  12.             'ui:template': 'Card'
  13.         }
  14.     },
  15.     houseHold: {
  16.         'ui:template': 'SidebarLeft',
  17.         familyInformation: {
  18.             'ui:template': 'Card',
  19.             familyMember: {
  20.                 'ui:template': 'Table',
  21.                 items: {
  22.                     firstName: {
  23.                         'ui:widget': 'tableInput'
  24.                     },
  25.                     lastName: {
  26.                         'ui:widget': 'tableInput'
  27.                     },
  28.                     dateOfBirth: {
  29.                         'ui:widget': 'date-time'
  30.                     },
  31.                     income: {
  32.                         'ui:widget': 'tableInput'
  33.                     }
  34.                 }
  35.             },
  36.             totals: {
  37.                 'ui:template': 'HorizontalAlign',
  38.                 totalFamilyMembers: {
  39.                     'ui:widget': 'sumOnArray',
  40.                     'ui:options': {
  41.                         targetId: 'root_houseHold_familyInformation_familyMember',
  42.                         arrayOf: 'object',
  43.                         sumOn: 'size'
  44.                     }
  45.                 },
  46.                 totalHouseHoldIncome: {
  47.                     'ui:widget': 'sumOnArray',
  48.                     'ui:options': {
  49.                         targetId: 'root_houseHold_familyInformation_familyMember',
  50.                         arrayOf: 'object',
  51.                         sumOn: 'property',
  52.                         property: 'income'
  53.                     }
  54.                 }
  55.             }
  56.         }
  57.     }
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement