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

@opentiny/vue-year-table

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-year-table - npm Package Compare versions

Comparing version 2.6.7 to 2.7.0

src/pc.vue.d.ts

2

index.d.ts

@@ -12,3 +12,3 @@ /**

*/
import YearTable from './src/index.vue';
import YearTable from './src/pc.vue';
export default YearTable;

@@ -59,3 +59,3 @@ import { renderless, api } from "@opentiny/vue-renderless/year-table/vue";

import "@opentiny/vue-theme/year-table/index.css";
var __vue2_script = defineComponent({
var _sfc_main = defineComponent({
name: $prefix + "YearTable",

@@ -71,3 +71,15 @@ emits: ["pick"],

},
date: {}
date: [Date, Array],
selectionMode: String,
startYear: Number,
maxDate: {},
minDate: {},
rangeState: {
default: function _default() {
return {
endDate: null,
selecting: false
};
}
}
},

@@ -84,75 +96,29 @@ setup: function setup(props, context) {

});
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("table", {
staticClass: "tiny-year-table",
on: {
"mousemove": _vm.handleMouseMove,
"click": _vm.handleYearTableClick
}
}, [_c("tbody", [_c("tr", [_c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 0)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 1)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 1))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 2)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 2))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 3)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 3))])])]), _c("tr", [_c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 4)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 4))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 5)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 5))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 6)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 6))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 7)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 7))])])]), _c("tr", [_c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 8)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 8))])]), _c("td", {
staticClass: "available",
class: _vm.getCellStyle(_vm.state.startYear + 9)
}, [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(_vm.state.startYear + 9))])]), _c("td"), _c("td")])])]);
}, [_c("tbody", _vm._l(_vm.state.rows, function(row, key) {
return _c("tr", {
key
}, _vm._l(row, function(cell, key2) {
return _c("td", {
key: key2,
staticClass: "available",
class: _vm.getCellStyle(cell)
}, [_c("div", [_c("a", {
staticClass: "cell"
}, [_vm._v(_vm._s(cell.text))])])]);
}), 0);
}), 0)]);
};
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 YearTable = /* @__PURE__ */ function() {
return __component__.exports;
}();
var version = "3.7.0";
var _sfc_staticRenderFns = [];
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
var YearTable = __component__.exports;
var version = "2.7.0";
YearTable.install = function(Vue) {

@@ -159,0 +125,0 @@ Vue.component(YearTable.name, YearTable);

{
"name": "@opentiny/vue-year-table",
"version": "2.6.7",
"version": "2.7.0",
"description": "",
"main": "./lib/index.js",
"module": "./lib/index.js",
"sideEffects": false,
"dependencies": {
"@opentiny/vue-renderless": "~3.6.6",
"@opentiny/vue-common": "~2.6.7"
"@opentiny/vue-renderless": "~3.9.0",
"@opentiny/vue-common": "~2.7.0"
},

@@ -10,0 +12,0 @@ "license": "MIT",

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