New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ssc-formula2

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssc-formula2

A formula component built with React

latest
Source
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

ssc-formula2 Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

An formula editor for the Yonyou.

ssc-formula2 in action

Live Playground

For examples of the formula in action, go to https://yyssc.github.io/ssc-formula2.

OR

To run that demo on your own computer:

  • Clone this repository
  • npm install
  • npm run storybook
  • Visit http://localhost:9001/

Getting Started

Install dependencies

Ensure packages are installed with correct version numbers by running:

(
  export PKG=ssc-formula2;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g; s/ *//g' | xargs npm install --save "$PKG"
)

Which produces and runs a command like:

npm install --save ssc-formula2 moment@>=#.## react@>=#.## react-dom@>=#.## ssc-refer@>=#.## rc-tree@>=#.##

Include component

import { Formula } from 'ssc-formula2';

Include styles

import 'rc-tree/assets/index.css';

组件结构

  • Formula
    • TextBox
    • FormulaTabs
      • 单据字段Tab
        • SearchBox
        • FormulaTree
      • 固定值Tab
        • [Refers]
      • 档案转换Tab

FAQs

Package last updated on 13 Nov 2018

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