@opentiny/vue-common
Advanced tools
Comparing version 2.8.2 to 2.8.3
{ | ||
"name": "@opentiny/vue-common", | ||
"version": "2.8.2", | ||
"version": "2.8.3", | ||
"description": "", | ||
@@ -8,6 +8,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-locale": "~2.8.2", | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-theme": "~3.8.2", | ||
"@opentiny/vue-theme-mobile": "~3.8.2", | ||
"@opentiny/vue-locale": "~2.8.3", | ||
"@opentiny/vue-renderless": "~3.8.3", | ||
"@opentiny/vue-theme": "~3.8.3", | ||
"@opentiny/vue-theme-mobile": "~3.8.3", | ||
"tailwind-merge": "^1.8.0", | ||
@@ -14,0 +14,0 @@ "@vue/composition-api": "~1.2.2" |
@@ -0,1 +1,2 @@ | ||
import Vue from 'vue'; | ||
import * as hooks from '@vue/composition-api'; | ||
@@ -29,10 +30,10 @@ import { bindFilter, emitter, getElementCssClass, getElementStatusClass } from '../utils'; | ||
extend?: {} | undefined; | ||
}) => () => any; | ||
export declare const rootConfig: () => any; | ||
}) => () => import("vue").VNode; | ||
export declare const rootConfig: () => Vue | undefined; | ||
export declare const getComponentName: () => any; | ||
export declare const appContext: () => any; | ||
export declare const appContext: () => import("vue").VueConstructor<Vue>; | ||
export declare const appProperties: () => any; | ||
export declare const useRouter: (instance?: any) => { | ||
route: any; | ||
router: any; | ||
export declare const useRouter: (instance?: import("vue/types/vue").CombinedVueInstance<Vue, object, object, object, Record<never, any>> | undefined) => { | ||
route: import("vue-router").Route | undefined; | ||
router: import("vue-router").default | undefined; | ||
}; | ||
@@ -48,4 +49,4 @@ export declare const tools: (context: any, mode: any) => { | ||
}; | ||
route: any; | ||
router: any; | ||
route: import("vue-router").Route | undefined; | ||
router: import("vue-router").default | undefined; | ||
dispatch: (componentName: any, eventName: any, params: any) => void; | ||
@@ -61,3 +62,6 @@ broadcast: (componentName: any, eventName: any, params: any) => void; | ||
parent: any; | ||
nextTick: any; | ||
nextTick: { | ||
(callback: (this: Vue) => void): void; | ||
(): Promise<void>; | ||
}; | ||
constants: any; | ||
@@ -78,3 +82,3 @@ mode: any; | ||
export declare const parseVnode: (vnode: any) => any; | ||
export declare const h: any; | ||
export declare const h: import("vue").CreateElement; | ||
export declare const createComponentFn: (design: any) => ({ component, propsData, el }: { | ||
@@ -84,4 +88,4 @@ component: any; | ||
el: any; | ||
}) => any; | ||
export declare const defineComponent: any; | ||
}) => import("vue/types/vue").CombinedVueInstance<Record<never, any> & Vue, object, object, object, Record<never, any>>; | ||
export declare const defineComponent: typeof hooks.defineComponent; | ||
export default hooks; | ||
@@ -88,0 +92,0 @@ export declare const isVue2 = true; |
@@ -23,6 +23,14 @@ import hooks from './adapter'; | ||
extend?: {} | undefined; | ||
}) => any; | ||
export declare const mergeClass: (...cssClasses: any[]) => any; | ||
}) => () => import("vue").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: any; | ||
declare const createComponent: ({ component, propsData, el }: { | ||
component: any; | ||
propsData: any; | ||
el: any; | ||
}) => import("vue/types/vue").CombinedVueInstance<Record<never, any> & import("vue").default, object, object, object, Record<never, any>>; | ||
export declare const setup: ({ props, context, renderless, api, extendOptions, mono, classes }: { | ||
@@ -37,10 +45,10 @@ props: any; | ||
}) => { | ||
t: any; | ||
t: (this: any, path: any, options?: any) => any; | ||
vm: any; | ||
f: any; | ||
f: (props: any, attrs?: {}) => {}; | ||
a: (attrs: any, filters: any, include: any) => {}; | ||
d: any; | ||
dp: any; | ||
d: (props: any) => void; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}; | ||
@@ -59,9 +67,33 @@ export declare const svg: ({ name, component }: { | ||
declare const _default: { | ||
h: any; | ||
directive: any; | ||
parseVnode: any; | ||
useRouter: any; | ||
emitter: any; | ||
createComponent: any; | ||
defineAsyncComponent: any; | ||
h: import("vue").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) => { | ||
route: import("vue-router").Route | undefined; | ||
router: import("vue-router").default | undefined; | ||
}; | ||
emitter: () => { | ||
emit(eventName: any): void; | ||
on: (event: any, callback: any, once?: boolean) => void; | ||
once(event: any, callback: any): void; | ||
off(event: any, callback: any): void; | ||
}; | ||
createComponent: ({ component, propsData, el }: { | ||
component: any; | ||
propsData: 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; | ||
}; | ||
filterAttrs: (attrs: any, filters: any, include: any) => {}; | ||
@@ -89,3 +121,3 @@ initComponent: () => void; | ||
extend?: {} | undefined; | ||
}) => any; | ||
}) => () => import("vue").VNode; | ||
setup: ({ props, context, renderless, api, extendOptions, mono, classes }: { | ||
@@ -100,15 +132,15 @@ props: any; | ||
}) => { | ||
t: any; | ||
t: (this: any, path: any, options?: any) => any; | ||
vm: any; | ||
f: any; | ||
f: (props: any, attrs?: {}) => {}; | ||
a: (attrs: any, filters: any, include: any) => {}; | ||
d: any; | ||
dp: any; | ||
d: (props: any) => void; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}; | ||
hooks: any; | ||
getElementStatusClass: any; | ||
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
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
115079
3836