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

activity-calendar

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activity-calendar - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

4

dist/js/Drawer.js

@@ -134,3 +134,3 @@ "use strict";

if (this.o.showPreviousPeriodBtn || this.o.showCurrentRangeInfo || this.o.showNextPeriodBtn) {
this.$header = $("<div class=\"row activity-period-keys\" dir=\"ltr\">\n\n\t\t\t\t" + (this.o.showNextPeriodBtn ? "<div class=\"col-lg-2 col-md-3 col-xs-6\">\n\t\t\t\t\t<button class=\"btn btn-default btn-block btn-calendar btn-calendar-next tooltips\" title=\"" + this.dp.getBtnsRangeText(this._to.clone().subtract(this.o.previousPeriodMonth, "month"), this._to.clone().add(this.o.nextPeriodMonth, "month")) + "\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-" + (this.o.rtl ? "right" : "left") + " btn-calendar-next-icon\"></i>\n\t\t\t\t\t\t" + this.translate("nextBtnText") + "\n\t\t\t\t\t</button>\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showCurrentRangeInfo ? "<div class=\"col-lg-8 " + (!this.o.showNextPeriodBtn ? "col-lg-offset-2" : "") + " col-md-6 hidden-xs text-center date-range-info\">\n\t\t\t\t\t" + this.dp.getHeaderRangeText(this._from, this._to) + "\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showPreviousPeriodBtn ? "<div class=\"col-lg-2 " + (!this.o.showCurrentRangeInfo ? "col-lg-offset-8" : "") + " col-md-3 col-xs-6\">\n\t\t\t\t\t<button class=\"btn btn-default btn-block btn-calendar btn-calendar-prev tooltips\" title=\"" + this.dp.getBtnsRangeText(this._from.clone().subtract(this.o.previousPeriodMonth, "month"), this._from.clone().add(this.o.nextPeriodMonth, "month")) + "\">\n\t\t\t\t\t\t" + this.translate("prevBtnText") + "\n\t\t\t\t\t\t<i class=\"fa fa-angle-" + (this.o.rtl ? "left" : "right") + "\"></i>\n\t\t\t\t\t</button>\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showCurrentRangeInfo ? "<div class=\"col-xs-12 visible-xs text-center date-range-info\">\n\t\t\t\t\t" + this.dp.getHeaderRangeText(this._from, this._to) + "\n\t\t\t\t</div>" : "") + "\n\n\t\t\t</div>");
this.$header = $("<div class=\"row activity-period-keys\" dir=\"ltr\">\n\n\t\t\t\t" + (this.o.showPreviousPeriodBtn ? "<div class=\"col-lg-2 " + (!this.o.showCurrentRangeInfo ? "col-lg-offset-8" : "") + " col-md-3 col-xs-6\">\n\t\t\t\t\t<button class=\"btn btn-default btn-block btn-calendar btn-calendar-prev tooltips\" title=\"" + this.dp.getBtnsRangeText(this._from.clone().subtract(this.o.previousPeriodMonth, "month"), this._from.clone().add(this.o.nextPeriodMonth, "month")) + "\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-" + (this.o.rtl ? "right" : "left") + "\"></i>\n\t\t\t\t\t\t" + this.translate("prevBtnText") + "\n\t\t\t\t\t</button>\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showCurrentRangeInfo ? "<div class=\"col-lg-8 " + (!this.o.showNextPeriodBtn ? "col-lg-offset-2" : "") + " col-md-6 hidden-xs text-center date-range-info\">\n\t\t\t\t\t" + this.dp.getHeaderRangeText(this._from, this._to) + "\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showNextPeriodBtn ? "<div class=\"col-lg-2 col-md-3 col-xs-6\">\n\t\t\t\t\t<button class=\"btn btn-default btn-block btn-calendar btn-calendar-next tooltips\" title=\"" + this.dp.getBtnsRangeText(this._to.clone().subtract(this.o.previousPeriodMonth, "month"), this._to.clone().add(this.o.nextPeriodMonth, "month")) + "\">\n\t\t\t\t\t\t" + this.translate("nextBtnText") + "\n\t\t\t\t\t\t<i class=\"fa fa-angle-" + (this.o.rtl ? "left" : "right") + " btn-calendar-next-icon\"></i>\n\t\t\t\t\t</button>\n\t\t\t\t</div>" : "") + "\n\n\t\t\t\t" + (this.o.showCurrentRangeInfo ? "<div class=\"col-xs-12 visible-xs text-center date-range-info\">\n\t\t\t\t\t" + this.dp.getHeaderRangeText(this._from, this._to) + "\n\t\t\t\t</div>" : "") + "\n\n\t\t\t</div>");
}

@@ -142,3 +142,2 @@ var html = "";

var months = "";
var columns = 1;
var firstDayOfWeek = this.dp.getFirstDayOfWeek();

@@ -150,3 +149,2 @@ for (var first = true, x = start.month(); start.diff(end, "day") != end.diff(start, "day"); first = false, start.add(1, "day")) {

if (start.weekday() === firstDayOfWeek || first) {
columns++;
dates += '<div class="activity-calendar-column">';

@@ -153,0 +151,0 @@ }

@@ -15,3 +15,3 @@ {

"name": "activity-calendar",
"version": "0.0.9",
"version": "0.0.10",
"description": "a simple activity calendar",

@@ -18,0 +18,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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