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 🙏

© 2026 – Pkg Stats / Ryan Hefner

flyingd-ui

v0.0.1

Published

vue组件库

Readme

基于vue功能组件

查看GitHub仓库最新文档(源码)

https://github.com/flyingdwang/flyingd-ui.git

安装

cnpm install flyingd-ui -S

快速使用

import Vue from 'vue'
import FlUi from 'flyingd-ui';

Vue.use(FlUi);

// or
import {
  FlCascader,
  FlTransferGroup
  // ...
} from 'flyingd-ui'

Vue.component(FlCascader.name, FlCascader)
Vue.component(FlTransferGroup.name, FlTransferGroup)

组件

1. FlCascader 级联选择器(移动端)

2. FlCheckboxRadioGroup 多选与单选tab按钮组合

3. FlDraggableGroup 拖拽组件--多组

4. FlTransferGroup 穿梭框 - 多组

5. FlRouterTaps 路由tab栏

一. FlCascader 参数说明 :

| 参数 | 说明 | 类型 | 默认值 | | ------------------- | --------------------------------------- | ------- | -------- | | visible | 是否显示 cascader | boolean | false | | options | 可选项数据源,键名可通过 props 属性配置 | array | - | | value / v-model | 选中项绑定值 | array | - | | cascadervalue | 指定选项的值为选项对象的某个属性值 | string | value | | cascaderlabel | 指定选项标签为选项对象的某个属性值 | string | label | | cascaderchildren | 指定选项的子选项为选项对象的某个属性值 | string | children | | disabled | 指定选项的禁用为选项对象的某个属性值 | Boolean | false | | popper-class | 自定义浮层类名 | string | - | | cascaderPlaceholder | 占位文本 | array | - |

props

| 参数 | 说明 | 类型 | 默认值 | | -------- | ---------- | ------- | ------ | | value | 对象属性值 | string | - | | label | 对象属性值 | string | - | | children | 子选项 | Array | - | | disabled | 是否禁用 | Boolean | - |

Events

| 事件名称 | 说明 | 回调参数 | | -------- | ---------------------------------------------- | -------- | | change | 当绑定值变化时触发的事件 ==> function(option) | 所有值 | | close | 关闭弹窗回调 | |

二. FlCheckboxRadioGroup 参数说明

| 参数 | 说明 | 类型 | 可选值 | 默认值 | | --------------- | --------------------------------------- | ------------ | ---------------- | ------ | | value / v-model | 选中项绑定值 | - | - | - | | type | 类型 | String | radio / checkbox | - | | name | 名称 | String | - | - | | data | 可选项数据源,键名可通过 props 属性配置 | Array,Object | - | - | | plusData | 在data数据前面加入参数 | Array | - | - | | selectedValue | 指定选项的值为选项对象的某个属性值 | String | - | value | | selectedLabel | 指定选项标签为选项对象的某个属性值 | String | - | label | | width | name名称 宽度 | Number | - | 68 | | disabled | 是否禁用 | Boolean | | false |

props

| 参数 | 说明 | 类型 | 默认值 | | -------- | ---------- | ------- | ------ | | value | 对象属性值 | string | - | | label | 对象属性值 | string | - | | disabled | 是否禁用 | Boolean | - |

Events

| 事件名称 | 说明 | 回调参数 | | -------- | ---------------------------------------------- | -------- | | change | 当绑定值变化时触发的事件 ==> function(option) | 所有值 |

三. FlDraggableGroup 参数说明

| 参数 | 说明 | 类型 | 默认值 | | ---------------- | ---------------- | ------- | ------ | | value / v-model | 选中项绑定值 | Object | - | | isGrouping | 是否开启分组 | Boolean | false | | isShowGroupLabel | 是否显示分组序号 | Boolean | false | | clearable | 是否可以清除选项 | Boolean | false | | width | 宽度 | string | 400px |

Events

| 事件名称 | 说明 | 回调参数 | | -------- | ---------------------------------------------- | -------- | | change | 当绑定值变化时触发的事件 ==> function(option) | 所有值 |

四. FlTransferGroup 参数说明

| 参数 | 说明 | 类型 | 默认值 | | ---------------- | --------------------------------------- | ------------- | ------ | | data | 可选项数据源,键名可通过 props 属性配置 | Array,Object | - | | :configData.sync | 穿梭组数据绑定 | Object | -- | | name | 名称 | String | - | | selectedValue | 指定选项的值为选项对象的某个属性值 | String | value | | selectedLabel | 指定选项标签为选项对象的某个属性值 | String | label | | width | 宽度 | String,Number | "650" | | height | 高度 | String,Number | - | | disabled | 是否禁用 | Boolean | - |

props

| 参数 | 说明 | 类型 | 默认值 | | ------- | ---------- | ------ | ------ | | value | 对象绑定值 | Array | - | | name | 组名称 | string | - | | btnName | 按钮文字 | string | - |

演示代码

<template>
	<fl-transfer-group :data="audienceOption" :configData.sync="crowd" name="可选人群包" 	selectedValue="label"></fl-transfer-group>
</template>
<script>
  export default {
    data() {
      return {
          audienceOption:[ {label:'测试数据1', disabled:true },{label:'测试数据2'},					{label:'测试数据3'} ],
          crowd:{
              customAudience:{
                  name:'定向人群',
                  btnName:'添加定向人群',
                  value:["测试数据2"],
              },
              excludedCustomAudience:{
                  name:'排除人群',
                  btnName:'添加排除人群',
                  value:[],
              },
          },

      }
    }
  }
</script>

五. FlRouterTaps 参数说明

| 参数 | 说明 | 类型 | 默认值 | | ------------------------- | --------------------------------------- | ------- | ---------- | | :options.sync="routeTaps" | 可选项数据源,键名可通过 props 属性配置 | array | - | | prohibitData | 禁用数据 | array | [ "/404" ] | | homePath | 首页路径 | String | "/" | | showHome | 是否显示首页标签 | Boolean | true |

Events

| 事件名称 | 说明 | 回调参数 | | -------- | ---------------------------------------------- | -------- | | change | 当绑定值变化时触发的事件 ==> function(option) | 所有值 |