You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@grapecity/activereports-vue

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grapecity/activereports-vue

ActiveReportsJS components for Vue

3.0.2
npmnpm
Version published
Weekly downloads
159
76.67%
Maintainers
1
Weekly downloads
 
Created
Source

ActiveReportsJS Vue Wrapper

This package is a part of the ActiveReportsJS and provides vue wrapper for ARJS Viewer Component

Usage Example

  • Install Vue CLI using following command
npm install -g @vue/cli
  • Create new application and navigate to the application folder:
vue create arjs-vue -d
cd arjs-vue
  • Add reference to ActiveReportsJS Vue module:
npm install @grapecity/activereports-vue

Or if you are using yarn:

yarn add @grapecity/activereports-vue

Note: If you are using Vue 2.0 then install @vue/composition-api package:

npm install @vue/composition-api

Or if you are using yarn:

yarn add @vue/composition-api
  • Save the following module source code in src/App.vue:
<template>
    <div id="app" style="height: 100vh">
         <GcArViewer :report="{ Uri: reportTemplate }"></GcArViewer>
    </div>
</template>

<script>
  import { Viewer } from "@grapecity/activereports-vue";
  import "@grapecity/activereports/styles/ar-js-ui.css";
  import "@grapecity/activereports/styles/ar-js-viewer.css";

  export default {
    name: "App",
    components: {
      GcArViewer: Viewer,
    },
    data: function () {
      return {
        reportTemplate: {
          Type: "report",
          Body: {
            Name: "Body",
            Type: "section",
            ReportItems: [
              {
                Type: "textbox",
                Name: "textbox1",
                Style: { FontSize: "18pt" },
                Value: "Hello, ActiveReportsJS Viewer",
                Height: "10in",
              },
            ],
          },
          Name: "Report",
        },
      };
    },
  };
</script>
  • Start application
'npm run serve' or 'yarn serve' command

Documentation

For more information on how to use ActiveReportsJS and available tools, refer to the Documentation or API reference for guidance.

Keywords

vue

FAQs

Package last updated on 31 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.