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

chi-app-lib

v2.2.4

Published

This is a custom component (input dropdown grid textarea map captcha) published to npm.

Downloads

13

Readme

custom component (input dropdown grid textarea map captcha)

Installation

npm: npm install chi-app-lib

lib-chi-input (material design)

@Input() type = 'text';
@Input() direction = 'rtl';
@Input() floatLabel = 'auto'; // never
@Input() pattern = '';
@Input() petternMessage = 'مقدار این فیلد صحیح نیست!';
@Input() className;
@Input() readonly;
@Input() required;
@Input() placeHolder;
@Input() hintText;
@Input() minLength;
@Input() maxLength;
@Input() showValidatorMessage = true;
@Input() showSuffix = false;
@Input() suffixIcon = 'close';
@Input() isDirty;
@Input() focuse;
@Output() suffixClicked = new EventEmitter<any>();
@Output() isValid = new EventEmitter<boolean>();

lib-text-area (material design)

 @Input() type = 'text';
 @Input() direction = 'rtl';
 @Input() pattern = '';
 @Input() className;
 @Input() readonly;
 @Input() required;
 @Input() placeHolder;
 @Input() hintText;
 @Input() minLength ;
 @Input() maxLength ;
 @Input() showCountValue ;
 @Input() isDirty ;
 @Input() showValidatorMessage = true ;
 @Output() isValid = new EventEmitter<boolean>();

lib-dropdown (material design)

 @Input() options = []; ex: [{value: 'value', viewValue: 'viewText'}]
 @Input() direction = 'rtl';
 @Input() floatLabel = 'auto'; // never
 @Input() pattern = '';
 @Input() className;
 @Input() readonly;
 @Input() required;
 @Input() placeHolder;
 @Input() showValidatorMessage = true;
 @Input() isDirty;
 @Output() isValid = new EventEmitter<boolean>();
 @Output() valueChanged = new EventEmitter<any>();

lib-grid (material design)

 @Input() columns: string[] = [];
 @Input() actionsColumns: string[] = [];
 @Input() columnsToDisplay: string[] ;
 @Input() data;
 @Input() height = '400px';
 @Input() hasFilter;
 @Input() filterOfSrc;
 @Input() filterOnSrc;
 @Output() openFilter = new EventEmitter<any>();
 @Output() clearFilter = new EventEmitter<any>();
 @Output() actionActor = new EventEmitter<any>(); *** reurn value Format: {actor: actor, row: row}
 
  ***example Column-define
 
  column=[{
        columnDef: 'databaseField',
        type: 'string', // 'color' // number
        width: '20%',
        header: 'headerName',
        hasIcon: true, // type is 'color'
        color: 'red',
        icon: 'fonMaterialIcon', // type is 'color' && 'hasIcon' show this font-icon
        bold: (element: any) => `${!element.seen}`,
        cell: (element: any) => `${element.name}`
      },
      
  /* for define action column */
  
  {
    columnDef: 'actions',
    type: 'string',
    width: '30%',
    header: '',
    cell: (element: any) => ``
  },
  
  /* for define filter column */
  {
    columnDef: 'filter',
    type: 'string',
    width: '30%',
    header: '',
    cell: (element: any) => ``
  }]
  
  
  ***example of action Column-define
  
  actinColumn = [
       {'name': 'action Name', 'actor': 'actionFunction', 'show': showActionFunction}];
       
           

lib-chi-map (mapbox-gl-js)

  @Input() mapUrl;
  @Input() maxZoom = 18;
  @Input() minZoom = 5;
  @Input() zoom = 5;
  @Input() center: any = [51.4, 35.7];
  @Input() southWest = {lat: 24.350969, lng: 44.0};
  @Input() northEast = {lat: 39.912996, lng: 63.5};
  @Input() zoomControl = false;
  @Input() dragging = true;
  @Input() markerUrl;
  @Input() markerSize;
  @Input() markerAnchor;
  @Input() coordinateMarker;
  @Input() resetCoordinate;
  @Input() zoomMarker = 17;
  @Input() width;
  @Input() height;
  @Input() showMarker = true;
  @Output() coordinate = new EventEmitter<any>();
  @Output() getMap = new EventEmitter<any>();