npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ui5-cc-dndashboard

v1.0.48

Published

UI5 custom control library for Drag and Drop Dashboard

Downloads

15

Readme

UI5 custom library ui5-cc-dndashboard

Build DeepScan grade

DISCLAIMER: This is a community project and there is no official support for this package! Also the functionality may stop working at any time in future with newer versions of the UI5 tooling!

image

Sample Application

Custom Dashboard

Step-by-Step Guide

JSDoc

What is it?

This package contains a UI5 Custom Control Library which enables the creation of Drag and Drop Dashboards in UI5. This is fully configurable to include any UI5 controls or third party controls. This library primarily consists of 4 controls:

  1. ui5-cc-dndashboard.Dashboard : The ui5-cc-dndashboard.Dashboard is a container control that holds the dashboard . The Dashboard accepts aggregation tiles of type, ui5-cc-dndashboard.DashboardTile which is the draggable component.
  2. ui5-cc-dndashboard.DashboardTile : The draggable and resizable component which accepts aggregation content of type sap.ui.core.Control
  3. ui5-cc-dndashboard.DashboardChart : Contains the charting library which can create different chart types (Using ToastUI)
  4. ui5-cc-dndashboard.FunnelChart: Creates funnel chart

Install

npm i ui5-cc-dndashboard --save-dev

**ui5-tooling-modules ** is a pre-requisite which allows us to use NPM package names for AMD-like dependencies. More details here


Usage

package.json

{
  ...
  "devDependencies": {
    ...,
    "ui5-cc-dndashboard": "*",
    "ui5-tooling-modules": "*"
  },
  "ui5": {
    "dependencies": [
      "ui5-tooling-modules"
    ]
  }
}

ui5.yaml

specVersion: "2.2"
...
builder:
  customTasks:
  - name: ui5-tooling-modules-task
    afterTask: replaceVersion

server:
  customMiddleware:
    ...
    - name: ui5-tooling-modules-middleware
      afterMiddleware: compression

…view.xml

<mvc:View controllerName=...
    xmlns:dnd="ui5-cc-dndashboard">
    <Page ...>
        <dnd:Dashboard class="sapUiSmallMargin" height="80vh"
            tiles="{
                path:'/tiles',
                ...
            }"
        >
            <dnd:header>
                <Toolbar>
                    <Title text="Chart Showcase"/>
                    <ToolbarSpacer/>
                    <Button icon="sap-icon://edit" text="Edit Dashboard" press="editDashboard"/>
                    <Button icon="sap-icon://refresh" text="Randomize Color" press="randomizeColor"/>
                </Toolbar>    
            </dnd:header>
        </dnd:Dashboard>
    </Page>
</mvc:View>

Documentation      pages-build-deployment


Issues

Issues · pinakipatrapro/ui5con.dndashboard (github.com)