Socket
Socket
Sign inDemoInstall

@opentiny/vue-common

Package Overview
Dependencies
Maintainers
1
Versions
62
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 2.6.7 to 2.7.0

src/adapter/vue2.7/index.d.ts

37

package.json
{
"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

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