Untitled

 avatar
unknown
plain_text
3 years ago
7.7 kB
6
Indexable
this.dashboardItems = [
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.TRANSACTIONS_USAGE,
        type: WidgetsType.RadialBarCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          widgetTitle: 'Transactions Usage',
          metrics: null,
          context: null
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.KYC_TRANSACTIONS,
        type: WidgetsType.StackedBarCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'KYC Transactions',
          totalLabel: 'Total',
          avgLabel: 'Avg per day',
          tooltipTotalLabel: 'Total Transactions', // subtitle for Tooltip on grouped/total labels
          metrics: null,
          labels: [
            {
              key: 'risk',
              value: 'Risk Score',
            },
            {
              key: 'decision',
              value: 'Status',
            },
          ],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.NEW_CUSTOMERS,
        type: WidgetsType.SingleLineCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'New Customers',
          totalLabel: 'Total # of New Customers',
          avgLabel: 'Average per day',
          tooltipTotalLabel: 'Customers',
          lineColor: ['#26AC64', '#F2C94C', '#EB5757'],
          metrics: null,
          labels: [
            {
              key: 'customer',
              value: 'Customer',
            },
          ],
        },
      },
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.CHANNEL_SOURCE,
        type: WidgetsType.DonutCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Channel Source',
          showSubInfo: false,
          metrics: null,
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.TRANSACTIONS_PER_DOCUMENT_TYPE,
        type: WidgetsType.StackedLineCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Transactions per Document Type',
          totalLabel: 'Total',
          avgLabel: 'Avg per day',
          tooltipTotalLabel: 'Total Transactions',
          metrics: null,
          context: null,
          labels: [
            // {
            //   key: 'type',
            //   value: 'ID Type',
            // },
            // {
            //   key: 'document',
            //   value: 'Document Verifications',
            // },
          ],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.TRANSACTIONS_PER_PRODUCT,
        type: WidgetsType.StackedLineCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Transactions per Product',
          totalLabel: 'Total',
          avgLabel: 'Avg per day',
          tooltipTotalLabel: 'Total Transactions',
          metrics: null,
          context: null,
          labels: [],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.GLOBAL_RISK_ANALYSIS,
        type: WidgetsType.GeoMapListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Global Risk Analysis',
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.CAPABILITY_USAGE,
        type: WidgetsType.StackedLineCategoryMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Capability Usage',
          totalLabel: null,
          avgLabel: null,
          tooltipTotalLabel: 'Total Transactions',
          metrics: null,
          context: null,
          labels: [],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.DEVICE_RISK_DECISION,
        type: WidgetsType.SingleLineDecisionMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Device Risk Decision',
          totalLabel: 'Volume',
          metrics: null,
          labels: [
            {
              key: 'status',
              value: 'Status',
            },
            {
              key: 'rules',
              value: 'Rules',
            }
          ],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.ERYC_RISK_DECISION,
        type: WidgetsType.SingleLineDecisionMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'eKYC Risk Decisions',
          totalLabel: 'Volume',
          metrics: null,
          labels: [
            {
              key: 'status',
              value: 'Status',
            },
            {
              key: 'rules',
              value: 'Rules',
            }
          ],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.EMAIL_RISK_DECISION,
        type: WidgetsType.SingleLineDecisionMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Email Risk Decisions',
          totalLabel: 'Volume',
          metrics: null,
          labels: [
            {
              key: 'status',
              value: 'Status',
            },
            {
              key: 'rules',
              value: 'Rules',
            }
          ],
        },
      },
      {
        cols: 2,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.PHONE_RISK_DECISION,
        type: WidgetsType.SingleLineDecisionMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Phone Risk Decisions',
          totalLabel: 'Volume',
          metrics: null,
          labels: [
            {
              key: 'status',
              value: 'Status',
            },
            {
              key: 'rules',
              value: 'Rules',
            }
          ],
        },
      },
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.YOUR_CASES,
        type: WidgetsType.ItemListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Your Cases',
          metrics: null,
          context: null
        },
      },
      {
        cols: 1,
        rows: 5,
        y: 0,
        x: 0,
        id: WidgetsIds.SAR_FILLING_RECOMMENDED,
        type: WidgetsType.AdvancedItemListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'SAR Filing Recommended',
          subTitle: 'Total # of Recommendations',
          status: 'Recommended',
          metrics: null,
          context: null
        },
      },
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.SAR_FILED,
        type: WidgetsType.AdvancedItemListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'SAR Filed',
          subTitle: 'Total # SARs Filed',
          status: 'Filed',
          type: 'compact',
          metrics: null,
          context: null
        },
      },
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.OLDEST_OPEN_CASES,
        type: WidgetsType.AdvancedItemListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Oldest Open Cases',
          metrics: null,
          context: null
        },
      },
      {
        cols: 1,
        rows: 5,
        x: 0,
        y: 0,
        id: WidgetsIds.UPCOMING_CASE_DEADLINES,
        type: WidgetsType.AdvancedItemListMonitor,
        data: {
          demo: this.IS_DEMO,
          title: 'Upcoming Case Deadlines',
          metrics: null,
          context: null
        },
      },
    ];
Editor is loading...