New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-calendar

Package Overview
Dependencies
Maintainers
1
Versions
65
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.6.7 to 2.7.0

7

lib/index.js

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

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

@@ -77,3 +74,3 @@ var Calendar = defineComponent({

});
var version = "3.7.0";
var version = "2.7.0";
Calendar.install = function(Vue) {

@@ -80,0 +77,0 @@ Vue.component(Calendar.name, Calendar);

@@ -61,3 +61,3 @@ import { renderless, api } from "@opentiny/vue-renderless/calendar/vue";

var __vue2_script = defineComponent({
var _sfc_main = defineComponent({
components: {

@@ -80,6 +80,5 @@ Tooltip,

});
var render = function render2() {
var _vm = this;
var _h = _vm.$createElement;
var _c = _vm._self._c || _h;
var _sfc_render = function render() {
var _vm = this, _c = _vm._self._c;
_vm._self._setupProxy;
return _c("div", {

@@ -422,15 +421,7 @@ staticClass: "tiny-calendar"

};
var staticRenderFns = [];
var __cssModules = {};
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);
function __vue2_injectStyles(context) {
for (var o in __cssModules) {
this[o] = __cssModules[o];
}
}
var pc = /* @__PURE__ */ function() {
return __component__.exports;
}();
var _sfc_staticRenderFns = [];
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
var pc = __component__.exports;
export {
pc as default
};
{
"name": "@opentiny/vue-calendar",
"version": "2.6.7",
"version": "2.7.0",
"description": "",
"main": "./lib/index.js",
"module": "./lib/index.js",
"sideEffects": false,
"dependencies": {
"@opentiny/vue-common": "~2.6.7",
"@opentiny/vue-icon": "~2.6.7",
"@opentiny/vue-renderless": "~3.6.6",
"@opentiny/vue-tooltip": "~2.6.7",
"@opentiny/vue-popover": "~2.6.7"
"@opentiny/vue-common": "~2.7.0",
"@opentiny/vue-icon": "~2.7.0",
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-tooltip": "~2.7.0",
"@opentiny/vue-popover": "~2.7.0"
},

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

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

declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api").Data, {}, {}, {
declare const _default: import("@opentiny/vue-common").DefineComponent<{
/**

@@ -36,3 +36,51 @@ * @property {String} [mode='month'] - 显示模式,month|year 可选

showSelected: BooleanConstructor;
}, {
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, () => import("vue").VNode, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("@opentiny/vue-common").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: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>>, {
tiny_mode_root: boolean;
month: number;

@@ -42,23 +90,3 @@ showSelected: boolean;

year: number;
} & {
events?: unknown[] | undefined;
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
month: number;
showSelected: boolean;
mode: string;
year: number;
} & {
events?: unknown[] | undefined;
}, import("@vue/composition-api").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api").Data, {}, {}, {
month: number;
showSelected: boolean;
mode: string;
year: number;
} & {
events?: unknown[] | undefined;
}, {
month: number;
mode: string;
year: number;
}, true>);
}>;
export default _default;

@@ -1,15 +0,4 @@

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;
}> & import("@vue/composition-api").Data, {}, {}, Readonly<{
declare const _sfc_main: import("@opentiny/vue-common").DefineComponent<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;

@@ -21,7 +10,9 @@ vm: any;

dp: (props: any) => void;
}>, import("@vue/composition-api").Data, {}, {}, {
gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("@opentiny/vue-common").ExtractPropTypes<Readonly<{
[x: string]: any;
} & {}, {
}>>>, {
[x: string]: any;
}, true>);
}>;
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