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

@opentiny/vue-calendar

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-calendar - npm Package Compare versions

Comparing version 2.8.0 to 2.8.2

7

lib/index.js

@@ -19,8 +19,3 @@ function _extends() {

var template = function template2(mode) {
if ("mobile" === (process.env.TINY_MODE || mode))
return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
return MobileFirstTemplate;
else
return PcTemplate;
return PcTemplate;
};

@@ -27,0 +22,0 @@ var Calendar = defineComponent({

12

package.json
{
"name": "@opentiny/vue-calendar",
"version": "2.8.0",
"version": "2.8.2",
"description": "",

@@ -8,7 +8,7 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~2.8.0",
"@opentiny/vue-icon": "~2.8.0",
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-tooltip": "~2.8.0",
"@opentiny/vue-popover": "~2.8.0"
"@opentiny/vue-common": "~2.8.2",
"@opentiny/vue-icon": "~2.8.2",
"@opentiny/vue-renderless": "~3.8.2",
"@opentiny/vue-tooltip": "~2.8.2",
"@opentiny/vue-popover": "~2.8.2"
},

@@ -15,0 +15,0 @@ "license": "MIT",

@@ -1,86 +0,2 @@

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api").Data, {}, {}, {
/**
* @property {String} [mode='month'] - 显示模式,month|year 可选
*/
mode: {
type: StringConstructor;
default: string;
validator: (value: string) => boolean;
};
/**
* @property {Number} [year=getFullYear()] - 指定年份,默认今年
*/
year: {
type: NumberConstructor;
default(): number;
};
/**
* @property {Number} [month=getMonth()] - 指定月份,默认当月
*/
month: {
type: NumberConstructor;
default(): number;
};
/**
* @property {Array} events - 事件列表
* @example
* [{ time: 1534297845236, title: '消息', content: '这是一条消息', type: 'primary' },
* { time: 1534297845236, title: '消息', content: '还有', type: 'info' }]
* type 类型: warning、error、info、success
*/
events: ArrayConstructor;
/**
* @property {Boolean} [showSelected=false] - 显示选中的日期
*/
showSelected: BooleanConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, {
tiny_mode_root: boolean;
month: number;
showSelected: boolean;
mode: string;
year: number;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
events?: unknown[] | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
tiny_mode_root: boolean;
month: number;
showSelected: boolean;
mode: string;
year: number;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
events?: unknown[] | undefined;
}, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api").Data, {}, {}, {
tiny_mode_root: boolean;
month: number;
showSelected: boolean;
mode: string;
year: number;
} & {
tiny_mode?: string | undefined;
tiny_template?: unknown;
tiny_renderless?: Function | undefined;
tiny_theme?: string | undefined;
tiny_chart_theme?: Record<string, any> | undefined;
events?: unknown[] | undefined;
}, {
month: number;
mode: string;
year: number;
}, true>);
declare const _default: any;
export default _default;

@@ -1,30 +0,2 @@

declare const _sfc_main: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{
[x: string]: any;
}>, {
[x: string]: any;
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
[x: string]: any;
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
t: (this: any, path: any, options?: any) => any;
vm: any;
f: (props: any, attrs?: {}) => {};
a: (attrs: any, filters: any, include: any) => {};
d: (props: any) => void;
dp: (props: any) => void;
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}>, import("@vue/composition-api").Data, {}, {}, {
[x: string]: any;
} & {}, {
[x: string]: any;
}, true>);
declare const _sfc_main: any;
export default _sfc_main;
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