@opentiny/vue-common
Advanced tools
Comparing version 2.6.7 to 2.7.0
{ | ||
"name": "@opentiny/vue-common", | ||
"version": "2.6.7", | ||
"description": "", | ||
"version": "2.7.0", | ||
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", | ||
"homepage": "https://opentiny.design/tiny-vue", | ||
"keywords": [ | ||
"vue", | ||
"vue3", | ||
"frontend", | ||
"component-library", | ||
"components", | ||
"vue-components", | ||
"opentiny", | ||
"renderless-components", | ||
"headless-components" | ||
], | ||
"author": "OpenTiny Team", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:opentiny/tiny-vue.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/opentiny/tiny-vue/issues" | ||
}, | ||
"main": "./lib/index.js", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"@opentiny/vue-locale": "~2.6.7", | ||
"@opentiny/vue-renderless": "~3.6.6", | ||
"@opentiny/vue-theme": "~3.6.6", | ||
"@opentiny/vue-theme-mobile": "~3.6.6", | ||
"@vue/composition-api": "~1.2.2" | ||
"@opentiny/vue-locale": "~2.7.0", | ||
"@opentiny/vue-renderless": "~3.9.0", | ||
"@opentiny/vue-theme": "~3.9.0", | ||
"@opentiny/vue-theme-mobile": "~3.9.0", | ||
"tailwind-merge": "^1.8.0" | ||
}, | ||
"license": "MIT", | ||
"module": "./lib/index.js", | ||
"types": "./src/index.d.ts", | ||
@@ -16,0 +37,0 @@ "scripts": { |
@@ -1,4 +0,4 @@ | ||
import vue from './vue2/index'; | ||
export * from './vue2/index'; | ||
export type { PropType, ExtractPropTypes, DefineComponent } from './vue2/index'; | ||
import vue from './vue2.7/index'; | ||
export * from './vue2.7/index'; | ||
export type { PropType, ExtractPropTypes, DefineComponent } from './vue2.7/index'; | ||
export default vue; |
import hooks from './adapter'; | ||
import { appProperties, createComponent } from './adapter'; | ||
import { appProperties, getElementStatusClass } from './adapter'; | ||
import { defineAsyncComponent, directive, emitter, h, Teleport } from './adapter'; | ||
import { parseVnode, useRouter } from './adapter'; | ||
import { defineComponent, isVue2, isVue3 } from './adapter'; | ||
export { version } from '../package.json'; | ||
export { defineComponent, isVue2, isVue3, appProperties }; | ||
export declare const $prefix = "Tiny"; | ||
export declare const $props: { | ||
[x: string]: StringConstructor | BooleanConstructor | FunctionConstructor | (FunctionConstructor | ObjectConstructor)[]; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
export declare const props: string[]; | ||
export declare const resolveMode: (props: any, context: any) => any; | ||
export declare const $setup: ({ props, context, template, extend }: { | ||
@@ -17,4 +24,15 @@ props: any; | ||
extend?: {} | undefined; | ||
}) => () => import("vue").VNode; | ||
export declare const setup: ({ props, context, renderless, api, extendOptions, mono }: { | ||
}) => () => hooks.VNode; | ||
export declare const mergeClass: (...cssClasses: any[]) => string; | ||
export declare const design: { | ||
configKey: symbol; | ||
configInstance: null; | ||
}; | ||
export declare const provideDesignConfig: (designConfig: any) => void; | ||
declare const createComponent: ({ component, propsData, el }: { | ||
component: any; | ||
propsData: any; | ||
el: any; | ||
}) => import("vue/types/vue.js").CombinedVueInstance<import("vue/types/v3-component-options.js").ExtractComputedReturns<{}> & Record<never, any> & import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> & hooks.ShallowUnwrapRef<{}> & import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, object, object, object, Record<never, any>, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-public-instance.js").OptionTypesType<{}, {}, {}, {}, {}, {}>>; | ||
export declare const setup: ({ props, context, renderless, api, extendOptions, mono, classes }: { | ||
props: any; | ||
@@ -26,2 +44,3 @@ context: any; | ||
mono?: boolean | undefined; | ||
classes?: {} | undefined; | ||
}) => { | ||
@@ -34,2 +53,4 @@ t: (this: any, path: any, options?: any) => any; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}; | ||
@@ -39,3 +60,3 @@ export declare const svg: ({ name, component }: { | ||
component: any; | ||
}) => () => any; | ||
}) => (propData?: any) => any; | ||
export declare const filterAttrs: (attrs: any, filters: any, include: any) => {}; | ||
@@ -45,10 +66,9 @@ export declare let setupComponent: {}; | ||
export declare const $install: (component: any) => void; | ||
export declare const version: string | undefined; | ||
export type { PropType, ExtractPropTypes, DefineComponent } from './adapter'; | ||
export { h, hooks, directive, parseVnode, useRouter, emitter, createComponent, defineAsyncComponent, Teleport }; | ||
export { h, hooks, directive, parseVnode, useRouter, emitter, createComponent, defineAsyncComponent, getElementStatusClass, Teleport }; | ||
declare const _default: { | ||
h: import("vue").CreateElement; | ||
h: hooks.CreateElement; | ||
directive: (directives: any) => any; | ||
parseVnode: (vnode: any) => any; | ||
useRouter: (instance?: import("vue/types/vue").CombinedVueInstance<import("vue").default, object, object, object, Record<never, any>> | undefined) => { | ||
useRouter: (instance?: import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> | undefined) => { | ||
route: any; | ||
@@ -67,16 +87,4 @@ router: any; | ||
el: any; | ||
}) => import("vue/types/vue").CombinedVueInstance<Record<never, any> & import("vue").default, object, object, object, Record<never, any>>; | ||
defineAsyncComponent: ({ loader, loadingComponent, errorComponent, delay, timeout }: { | ||
loader: any; | ||
loadingComponent: any; | ||
errorComponent: any; | ||
delay: any; | ||
timeout: any; | ||
}) => () => { | ||
component: any; | ||
loading: any; | ||
error: any; | ||
delay: any; | ||
timeout: any; | ||
}; | ||
}) => import("vue/types/vue.js").CombinedVueInstance<import("vue/types/v3-component-options.js").ExtractComputedReturns<{}> & Record<never, any> & import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> & hooks.ShallowUnwrapRef<{}> & import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>>, object, object, object, Record<never, any>, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-public-instance.js").OptionTypesType<{}, {}, {}, {}, {}, {}>>; | ||
defineAsyncComponent: typeof hooks.defineAsyncComponent; | ||
filterAttrs: (attrs: any, filters: any, include: any) => {}; | ||
@@ -88,6 +96,11 @@ initComponent: () => void; | ||
component: any; | ||
}) => () => any; | ||
}) => (propData?: any) => any; | ||
$prefix: string; | ||
$props: { | ||
[x: string]: StringConstructor | BooleanConstructor | FunctionConstructor | (FunctionConstructor | ObjectConstructor)[]; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
@@ -100,4 +113,4 @@ props: string[]; | ||
extend?: {} | undefined; | ||
}) => () => import("vue").VNode; | ||
setup: ({ props, context, renderless, api, extendOptions, mono }: { | ||
}) => () => hooks.VNode; | ||
setup: ({ props, context, renderless, api, extendOptions, mono, classes }: { | ||
props: any; | ||
@@ -109,2 +122,3 @@ context: any; | ||
mono?: boolean | undefined; | ||
classes?: {} | undefined; | ||
}) => { | ||
@@ -117,6 +131,9 @@ t: (this: any, path: any, options?: any) => any; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}; | ||
hooks: typeof hooks; | ||
getElementStatusClass: (className: any, status: any) => string | undefined; | ||
$install: (component: any) => void; | ||
}; | ||
export default _default; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
117588
9
3833
0
0
0
2
80
1
+ Addedtailwind-merge@^1.8.0
+ Added@opentiny/vue-locale@2.7.0(transitive)
+ Added@opentiny/vue-renderless@3.9.3(transitive)
+ Added@opentiny/vue-theme@3.9.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.9.0(transitive)
+ Addedtailwind-merge@1.14.0(transitive)
- Removed@vue/composition-api@~1.2.2
- Removed@babel/helper-string-parser@7.24.8(transitive)
- Removed@babel/helper-validator-identifier@7.24.7(transitive)
- Removed@babel/parser@7.25.6(transitive)
- Removed@babel/types@7.25.6(transitive)
- Removed@opentiny/vue-locale@2.6.7(transitive)
- Removed@opentiny/vue-renderless@3.6.8(transitive)
- Removed@opentiny/vue-theme@3.6.7(transitive)
- Removed@opentiny/vue-theme-mobile@3.6.6(transitive)
- Removed@vue/compiler-sfc@2.7.16(transitive)
- Removed@vue/composition-api@1.2.4(transitive)
- Removedcsstype@3.1.3(transitive)
- Removednanoid@3.3.7(transitive)
- Removedpicocolors@1.1.0(transitive)
- Removedpostcss@8.4.47(transitive)
- Removedprettier@2.8.8(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedto-fast-properties@2.0.0(transitive)
- Removedtslib@2.7.0(transitive)
- Removedvue@2.7.16(transitive)
Updated@opentiny/vue-locale@~2.7.0
Updated@opentiny/vue-theme@~3.9.0