Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-common

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-common - npm Package Compare versions

Comparing version 3.15.0 to 3.16.0

10

package.json
{
"name": "@opentiny/vue-common",
"version": "3.15.0",
"version": "3.16.0",
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.",

@@ -30,6 +30,6 @@ "homepage": "https://opentiny.design/tiny-vue",

"dependencies": {
"@opentiny/vue-locale": "~3.15.0",
"@opentiny/vue-renderless": "~3.15.0",
"@opentiny/vue-theme": "~3.15.0",
"@opentiny/vue-theme-mobile": "~3.15.0",
"@opentiny/vue-locale": "~3.16.0",
"@opentiny/vue-renderless": "~3.16.0",
"@opentiny/vue-theme": "~3.16.0",
"@opentiny/vue-theme-mobile": "~3.16.0",
"tailwind-merge": "^1.8.0"

@@ -36,0 +36,0 @@ },

@@ -73,3 +73,20 @@ import hooks from './adapter';

[key: string]: any;
}>, {}, {}, {}, hooks.ComponentOptionsMixin, hooks.ComponentOptionsMixin, {}, string, hooks.VNodeProps & hooks.AllowedComponentProps & hooks.ComponentCustomProps, Readonly<hooks.ExtractPropTypes<{}>>, {}, {}>>;
}>, {}, {}, {}, hooks.ComponentOptionsMixin, hooks.ComponentOptionsMixin, {}, string, hooks.PublicProps, Readonly<hooks.ExtractPropTypes<{}>>, {}, {}>>;
/**
* 将用户传入的 $attrs中的属性, 与 filters 中传入的属性做对比。
* 如果include , 且属性在filters中, 则返回。
* 如果 !include, 且属性不匹配filters, 则返回。
* 在模板中,都是通过 v-bind="a($attrs,[])" 来使用该函数 。
* @mark 由于现在组件都移除了 inheritAttrs。 加在外层的 v-bind="a()"" 都可以去掉了, 否则会出现双份效果。
*
* @param attrs : Object
* @param filters : string[]
* @param include : boolean
*
* @example Button-pc中: v-bind="a($attrs, ['class', 'style', 'title', 'id'], true)"
* @exampleResult 把用户使用<tiny-button ...id\class> 等属性,会传递给该位置的dom。
*
* @example Area-pc中: v-bind="a($attrs, ['^on[A-Z]'])"
* @exampleResult 把用户使用<tiny-area ...on> 等事件, 不会传递给内部的select上, 但是class,style等,会传递给select上。
*/
export declare const filterAttrs: (attrs: any, filters: any, include: any) => {};

@@ -76,0 +93,0 @@ export declare let setupComponent: {};

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc