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

@opentiny/vue-date-range

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-date-range - npm Package Compare versions

Comparing version 3.14.0 to 3.15.0

8

lib/index.js

@@ -15,3 +15,3 @@ function _extends() {

}
import { $prefix, $props, $setup } from "@opentiny/vue-common";
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
import PcTemplate from "./pc.js";

@@ -35,3 +35,3 @@ import MobileFirstTemplate from "./mobile-first.js";

};
var DateRange = {
var DateRange = defineComponent({
name: $prefix + "DateRange",

@@ -74,4 +74,4 @@ componentName: "DateRange",

}
};
var version = "3.14.0";
});
var version = "3.15.0";
DateRange.install = function(Vue) {

@@ -78,0 +78,0 @@ Vue.component(DateRange.name, DateRange);

@@ -1,15 +0,16 @@

import { renderless, api } from "@opentiny/vue-renderless/date-range/vue";
import { directive, props, setup as _setup } from "@opentiny/vue-common";
import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
import TimePicker from "@opentiny/vue-time";
import DateTable from "@opentiny/vue-date-table";
import Input from "@opentiny/vue-input";
import Button from "@opentiny/vue-button";
import { IconDoubleRight, IconDoubleLeft, IconChevronLeft, IconChevronRight } from "@opentiny/vue-icon";
import { resolveComponent, resolveDirective, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, createTextVNode, vShow } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/date-range/vue';
import { defineComponent, directive, props, setup } from '@opentiny/vue-common';
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
import TimePicker from '@opentiny/vue-time';
import DateTable from '@opentiny/vue-date-table';
import Input from '@opentiny/vue-input';
import Button from '@opentiny/vue-button';
import { IconDoubleRight, IconDoubleLeft, IconChevronLeft, IconChevronRight } from '@opentiny/vue-icon';
import { resolveComponent, resolveDirective, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, createTextVNode, 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)

@@ -26,7 +27,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);

@@ -38,5 +39,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)

@@ -50,3 +51,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];

@@ -80,3 +81,3 @@ target[key] = val;

};
var _sfc_main = {
var _sfc_main = defineComponent({
directives: directive({

@@ -97,4 +98,4 @@ Clickoutside

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

@@ -107,3 +108,3 @@ context,

}
};
});
var _hoisted_1 = {

@@ -248,3 +249,3 @@ "data-tag": "tiny-picker-panel__body-wrapper",

ref: "minTimePicker",
step: $props.step,
step: _ctx.step,
"time-arrow-control": _ctx.state.arrowControl,

@@ -314,3 +315,3 @@ show: _ctx.state.minTimePickerVisible,

ref: "maxTimePicker",
step: $props.step,
step: _ctx.step,
"time-arrow-control": _ctx.state.arrowControl,

@@ -409,4 +410,4 @@ show: _ctx.state.maxTimePickerVisible,

"first-day-of-week": _ctx.state.firstDayOfWeek,
"show-week-number": $props.showWeekNumber,
"format-weeks": $props.formatWeeks,
"show-week-number": _ctx.showWeekNumber,
"format-weeks": _ctx.formatWeeks,
onPick: _ctx.handleRangePick

@@ -492,4 +493,4 @@ }, null, 8, ["date", "default-value", "min-date", "max-date", "range-state", "disabled-date", "cell-class-name", "onChangerange", "first-day-of-week", "show-week-number", "format-weeks", "onPick"])],

"first-day-of-week": _ctx.state.firstDayOfWeek,
"show-week-number": $props.showWeekNumber,
"format-weeks": $props.formatWeeks,
"show-week-number": _ctx.showWeekNumber,
"format-weeks": _ctx.formatWeeks,
onPick: _ctx.handleRangePick

@@ -554,4 +555,3 @@ }, null, 8, ["date", "default-value", "min-date", "max-date", "range-state", "disabled-date", "cell-class-name", "onChangerange", "first-day-of-week", "show-week-number", "format-weeks", "onPick"])],

var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobileFirst as default
};
export { mobileFirst as default };

@@ -1,15 +0,16 @@

import { renderless, api } from "@opentiny/vue-renderless/date-range/vue";
import { defineComponent, directive, props, setup as _setup } from "@opentiny/vue-common";
import Clickoutside from "@opentiny/vue-renderless/common/deps/clickoutside";
import TimePicker from "@opentiny/vue-time";
import DateTable from "@opentiny/vue-date-table";
import Input from "@opentiny/vue-input";
import Button from "@opentiny/vue-button";
import { iconDoubleRight, iconDoubleLeft, iconChevronLeft, iconChevronRight } from "@opentiny/vue-icon";
import { resolveComponent, resolveDirective, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, createTextVNode, vShow } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/date-range/vue';
import { defineComponent, directive, props, setup } from '@opentiny/vue-common';
import Clickoutside from '@opentiny/vue-renderless/common/deps/clickoutside';
import TimePicker from '@opentiny/vue-time';
import DateTable from '@opentiny/vue-date-table';
import Input from '@opentiny/vue-input';
import Button from '@opentiny/vue-button';
import { iconDoubleRight, iconDoubleLeft, iconChevronLeft, iconChevronRight } from '@opentiny/vue-icon';
import { resolveComponent, resolveDirective, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode, createVNode, createTextVNode, 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)

@@ -26,7 +27,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);

@@ -38,5 +39,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)

@@ -50,3 +51,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];

@@ -74,4 +75,4 @@ target[key] = val;

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

@@ -420,4 +421,3 @@ context,

var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
pc as default
};
export { pc as default };
{
"name": "@opentiny/vue-date-range",
"version": "3.14.0",
"version": "3.15.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~3.14.0",
"@opentiny/vue-renderless": "~3.14.0",
"@opentiny/vue-input": "~3.14.0",
"@opentiny/vue-button": "~3.14.0",
"@opentiny/vue-locale": "~3.14.0",
"@opentiny/vue-time": "~3.14.0",
"@opentiny/vue-date-table": "~3.14.0",
"@opentiny/vue-theme": "~3.14.0",
"@opentiny/vue-icon": "~3.14.0"
"@opentiny/vue-common": "~3.15.0",
"@opentiny/vue-renderless": "~3.15.0",
"@opentiny/vue-input": "~3.15.0",
"@opentiny/vue-button": "~3.15.0",
"@opentiny/vue-time": "~3.15.0",
"@opentiny/vue-date-table": "~3.15.0",
"@opentiny/vue-theme": "~3.15.0",
"@opentiny/vue-icon": "~3.15.0"
},

@@ -21,0 +20,0 @@ "license": "MIT",

@@ -1,41 +0,74 @@

declare const _default: {
name: string;
componentName: string;
props: {
_constants: {
type: ObjectConstructor;
default: () => {
startDate: Date;
endDate: Date;
};
declare const _default: import("@vue/runtime-core").DefineComponent<{
_constants: {
type: ObjectConstructor;
default: () => {
startDate: Date;
endDate: Date;
};
emitter: ObjectConstructor;
step: {
type: ObjectConstructor;
default(): {
hour: number;
minute: number;
second: number;
};
};
emitter: ObjectConstructor;
step: {
type: ObjectConstructor;
default(): {
hour: number;
minute: number;
second: number;
};
showWeekNumber: {
type: BooleanConstructor;
default: boolean;
};
showWeekNumber: {
type: BooleanConstructor;
default: boolean;
};
formatWeeks: FunctionConstructor;
timeEditable: {
type: BooleanConstructor;
default: boolean;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_constants: {
type: ObjectConstructor;
default: () => {
startDate: Date;
endDate: Date;
};
formatWeeks: FunctionConstructor;
timeEditable: {
type: BooleanConstructor;
default: boolean;
};
emitter: ObjectConstructor;
step: {
type: ObjectConstructor;
default(): {
hour: number;
minute: number;
second: number;
};
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
};
setup(props: any, context: any): () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
[key: string]: any;
}>;
};
showWeekNumber: {
type: BooleanConstructor;
default: boolean;
};
formatWeeks: FunctionConstructor;
timeEditable: {
type: BooleanConstructor;
default: boolean;
};
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;
_constants: Record<string, any>;
timeEditable: boolean;
step: Record<string, any>;
showWeekNumber: boolean;
}, {}>;
export default _default;
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