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

@cyia/ngx-common

v17.0.6

Published

cyia公共模块

Downloads

8

Readme

使用方法

事件修饰符

  • 支持组件与 dom 元素
import { ModifierEventsPlugin } from '@cyia/ngx-common/event';
@NgModule({
 //...
  providers: [
     {
      provide: EVENT_MANAGER_PLUGINS,
      useClass: EventModifiersPlugin,
      multi: true,
      deps: [DOCUMENT],
    },
  ],
 //...
})

自定义修饰符

    {
      provide: EVENT_MODIFIER_OPTIONS,
      useValue: {
        modifiers: {
          map: {
            prefix: (value) => {
              return `prefix:${value}`;
            },
          },
        },
        componentOutput: true,
      },
    },

更新日志

10.1.0

  • 增加monaco-textmate模块,用于在 monaco 中使用 vscode 相关主题及 token 分割方法

10.0.1

  • 暴露载入提示组件相关常量

10.0.0

  • 升级至 ng10 版本
  • 增加动态懒加载组件指令及对动态懒加载组件的自定义表单控件支持

9.0.0

  • 升级至 ng9 版本

    ComponentFactory.create不能自定义选择器,否则无法销毁,原因未知(Angular Material Design 中的 cdk 也是外面包了一层)

  • 为了更明显的更新依赖包,主版本号和 Angular 的版本号一致

2.2.1

  • 增加了自动化生成使用文档和代码注释(简易,正在制作)

2.2.0

  • 废弃CyiaHttpModule使用,改为CyiaRepositoryModule

    解耦,提高灵活性

2.1.7

  • 重写了载入提示组件

2.03

  • 请求参数类型增加

2.02

  • 结构化实体中的 bug 修复

1.2.0

  • 升级为 ng7 编译

1.1.9

  • 对请求地址整合的'/'处理

1.1.8

  • 更新编译方式

1.1.6

  • 更新 http 合并参数的一个错误

1.1.3

  • 修正依赖 需要 rxjs

1.1.1

  • 增加 window 类型判断

1.1.0

  • 增加 http 请求封装
  • 增加深度对象复制封装