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

@opentiny/vue-year-range

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-year-range - npm Package Compare versions

Comparing version 3.14.0 to 3.15.0

70

lib/index.js

@@ -1,26 +0,13 @@

function _extends() {
_extends = Object.assign ? Object.assign.bind() : function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
import { renderless, api } from "@opentiny/vue-renderless/year-range/vue";
import { defineComponent, $prefix, directive, $props, setup as _setup } from "@opentiny/vue-common";
import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
import YearTable from "@opentiny/vue-year-table";
import { IconDoubleRight, IconDoubleLeft } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, vShow } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/year-range/vue';
import { defineComponent, $prefix, directive, setup, $props } from '@opentiny/vue-common';
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
import YearTable from '@opentiny/vue-year-table';
import { IconDoubleRight, IconDoubleLeft } from '@opentiny/vue-icon';
import { resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, vShow } from 'vue';
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
if (it)
return (it = it.call(o)).next.bind(it);
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -37,7 +24,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -49,5 +36,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -61,3 +48,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -69,2 +56,16 @@ target[key] = val;

function _extends() {
_extends = Object.assign ? Object.assign.bind() : function(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
var _sfc_main = defineComponent({

@@ -84,4 +85,4 @@ name: $prefix + "YearRange",

emits: ["dodestroy", "pick"],
setup: function setup(props, context) {
return _setup({
setup: function setup$1(props, context) {
return setup({
props,

@@ -142,7 +143,7 @@ context,

null,
renderList(_ctx.state.shortcuts, function(shortcut, key) {
renderList(_ctx.state.shortcuts, function(shortcut, idx) {
return openBlock(), createElementBlock("button", {
type: "button",
class: "tiny-picker-panel__shortcut",
key,
key: idx,
onClick: function onClick($event) {

@@ -214,3 +215,3 @@ return _ctx.handleShortcutClick(shortcut);

var YearRange = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
var version = "3.14.0";
var version = "3.15.0";
YearRange.install = function(Vue) {

@@ -220,4 +221,3 @@ Vue.component(YearRange.name, YearRange);

YearRange.version = version;
export {
YearRange as default
};
export { YearRange as default };
{
"name": "@opentiny/vue-year-range",
"version": "3.14.0",
"version": "3.15.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-renderless": "~3.14.0",
"@opentiny/vue-common": "~3.14.0",
"@opentiny/vue-locale": "~3.14.0",
"@opentiny/vue-year-table": "~3.14.0",
"@opentiny/vue-icon": "~3.14.0"
"@opentiny/vue-renderless": "~3.15.0",
"@opentiny/vue-common": "~3.15.0",
"@opentiny/vue-year-table": "~3.15.0",
"@opentiny/vue-icon": "~3.15.0"
},

@@ -17,0 +16,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