@opentiny/vue-common
Advanced tools
Comparing version 3.15.0 to 3.16.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116203
3767
2379
+ Added@opentiny/vue-locale@3.16.0(transitive)
+ Added@opentiny/vue-renderless@3.16.2(transitive)
+ Added@opentiny/vue-theme@3.16.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.16.0(transitive)
- Removed@opentiny/vue-locale@3.15.0(transitive)
- Removed@opentiny/vue-renderless@3.15.1(transitive)
- Removed@opentiny/vue-theme@3.15.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.15.0(transitive)
Updated@opentiny/vue-locale@~3.16.0
Updated@opentiny/vue-theme@~3.16.0