@opentiny/vue-calendar
Advanced tools
Comparing version 3.8.0 to 3.8.2
@@ -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({ |
{ | ||
"name": "@opentiny/vue-calendar", | ||
"version": "3.8.0", | ||
"version": "3.8.2", | ||
"description": "", | ||
@@ -8,7 +8,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.8.0", | ||
"@opentiny/vue-icon": "~3.8.0", | ||
"@opentiny/vue-renderless": "~3.8.0", | ||
"@opentiny/vue-tooltip": "~3.8.0", | ||
"@opentiny/vue-popover": "~3.8.0" | ||
"@opentiny/vue-common": "~3.8.2", | ||
"@opentiny/vue-icon": "~3.8.2", | ||
"@opentiny/vue-renderless": "~3.8.2", | ||
"@opentiny/vue-tooltip": "~3.8.2", | ||
"@opentiny/vue-popover": "~3.8.2" | ||
}, | ||
@@ -15,0 +15,0 @@ "license": "MIT", |
@@ -1,92 +0,2 @@ | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
/** | ||
* @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; | ||
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { | ||
[key: string]: any; | ||
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
/** | ||
* @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; | ||
mode: string; | ||
year: number; | ||
month: number; | ||
showSelected: boolean; | ||
}>; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,17 +0,2 @@ | ||
declare const _sfc_main: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
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; | ||
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
}>>>, { | ||
[x: string]: any; | ||
}>; | ||
declare const _sfc_main: any; | ||
export default _sfc_main; |
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
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
1
26084
701
Updated@opentiny/vue-common@~3.8.2
Updated@opentiny/vue-icon@~3.8.2
Updated@opentiny/vue-popover@~3.8.2
Updated@opentiny/vue-tooltip@~3.8.2