Skip to content

Commit

Permalink
build - 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
junedchhipa committed Oct 29, 2024
1 parent 79a1400 commit 81478fb
Show file tree
Hide file tree
Showing 7 changed files with 138 additions and 150 deletions.
2 changes: 1 addition & 1 deletion dist/apexcharts.amd.js

Large diffs are not rendered by default.

21 changes: 12 additions & 9 deletions dist/apexcharts.amd.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
/*!
* svg.js - A lightweight library for manipulating and animating SVG.
* @version 2.6.6
* https://svgdotjs.github.io/
* @svgdotjs/svg.resize.js - An extension for svg.js which allows to resize elements which are selected
* @version 2.0.4
* /~https://github.com/svgdotjs/svg.resize.js
*
* @copyright [object Object]
* @license MIT
*
* BUILT: Fri Sep 13 2024 12:43:14 GMT+0200 (Central European Summer Time)
*/

/*!
* svg.select.js - An extension of svg.js which allows to select elements with mouse
* @version 3.0.1
* @svgdotjs/svg.select.js - An extension of svg.js which allows to select elements with mouse
* @version 4.0.1
* /~https://github.com/svgdotjs/svg.select.js
*
* @copyright Ulrich-Matthias Schäfer
* @license MIT
*
* BUILT: Mon Jul 01 2024 15:04:42 GMT+0200 (Central European Summer Time)
*/

/*! svg.draggable.js - v2.2.2 - 2019-01-08
* /~https://github.com/svgdotjs/svg.draggable.js
* Copyright (c) 2019 Wout Fierens; Licensed MIT */
44 changes: 34 additions & 10 deletions dist/apexcharts.common.js

Large diffs are not rendered by default.

33 changes: 15 additions & 18 deletions dist/apexcharts.css
Original file line number Diff line number Diff line change
Expand Up @@ -398,30 +398,27 @@ rect.legend-mouseover-inactive,
cursor: move
}

.svg_select_boundingRect,
.svg_select_points_rot {
.svg_select_shape {
stroke-width: 1;
stroke-dasharray: 10 10;
stroke: black;
stroke-opacity: 0.1;
pointer-events: none;
opacity: 0;
visibility: hidden
fill: none;
}

.apexcharts-selection-rect+g .svg_select_boundingRect,
.apexcharts-selection-rect+g .svg_select_points_rot {
opacity: 0;
visibility: hidden
.svg_select_handle {
stroke-width: 3;
stroke: black;
fill: none;
}

.apexcharts-selection-rect+g .svg_select_points_l,
.apexcharts-selection-rect+g .svg_select_points_r {
cursor: ew-resize;
opacity: 1;
visibility: visible
.svg_select_handle_r {
cursor: e-resize;
}

.svg_select_points {
fill: #efefef;
stroke: #333;
rx: 2
.svg_select_handle_l {
cursor: w-resize;
}

.apexcharts-svg.apexcharts-zoomable.hovering-zoom {
Expand Down Expand Up @@ -680,4 +677,4 @@ rect.legend-mouseover-inactive,

.apexcharts-rangebar-goals-markers {
pointer-events: none
}
}
44 changes: 34 additions & 10 deletions dist/apexcharts.esm.js

Large diffs are not rendered by default.

100 changes: 8 additions & 92 deletions dist/apexcharts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* ApexCharts v3.54.1
* ApexCharts v4.0.0
* (c) 2018-2024 ApexCharts
* Released under the MIT License.
*/
Expand Down Expand Up @@ -674,77 +674,8 @@
_classCallCheck(this, Animations);
this.ctx = ctx;
this.w = ctx.w;
this.setEasingFunctions();
}
_createClass(Animations, [{
key: "setEasingFunctions",
value: function setEasingFunctions() {
var easing;
if (this.w.globals.easing) return;
var userDefinedEasing = this.w.config.chart.animations.easing;
switch (userDefinedEasing) {
case 'linear':
{
easing = '-';
break;
}
case 'easein':
{
easing = '<';
break;
}
case 'easeout':
{
easing = '>';
break;
}
case 'easeinout':
{
easing = '<>';
break;
}
case 'swing':
{
easing = function easing(pos) {
var s = 1.70158;
var ret = (pos -= 1) * pos * ((s + 1) * pos + s) + 1;
return ret;
};
break;
}
case 'bounce':
{
easing = function easing(pos) {
var ret = '';
if (pos < 1 / 2.75) {
ret = 7.5625 * pos * pos;
} else if (pos < 2 / 2.75) {
ret = 7.5625 * (pos -= 1.5 / 2.75) * pos + 0.75;
} else if (pos < 2.5 / 2.75) {
ret = 7.5625 * (pos -= 2.25 / 2.75) * pos + 0.9375;
} else {
ret = 7.5625 * (pos -= 2.625 / 2.75) * pos + 0.984375;
}
return ret;
};
break;
}
case 'elastic':
{
easing = function easing(pos) {
if (pos === !!pos) return pos;
return Math.pow(2, -10 * pos) * Math.sin((pos - 0.075) * (2 * Math.PI) / 0.3) + 1;
};
break;
}
default:
{
easing = '<>';
}
}
this.w.globals.easing = easing;
}
}, {
key: "animateLine",
value: function animateLine(el, from, to, speed) {
el.attr(from).animate(speed).attr(to);
Expand Down Expand Up @@ -12291,8 +12222,6 @@
chart: {
animations: {
enabled: true,
easing: 'easeinout',
// linear, easeout, easein, easeinout, swing, bounce, elastic
speed: 800,
animateGradually: {
delay: 150,
Expand All @@ -12313,7 +12242,7 @@
left: 2,
blur: 4,
color: '#000',
opacity: 0.35
opacity: 0.7
},
events: {
animationEnd: undefined,
Expand Down Expand Up @@ -12750,7 +12679,7 @@
left: 1,
blur: 1,
color: '#000',
opacity: 0.45
opacity: 0.8
}
},
dropShadow: {
Expand All @@ -12759,7 +12688,7 @@
left: 1,
blur: 1,
color: '#000',
opacity: 0.45
opacity: 0.8
}
},
fill: {
Expand Down Expand Up @@ -13159,7 +13088,7 @@
left: 0,
top: 0,
blur: 1,
opacity: 0.4
opacity: 0.8
}
},
tooltip: {
Expand Down Expand Up @@ -13595,11 +13524,6 @@
key: "line",
value: function line() {
return {
chart: {
animations: {
easing: 'swing'
}
},
dataLabels: {
enabled: false
},
Expand Down Expand Up @@ -13741,10 +13665,7 @@
value: function bar() {
return {
chart: {
stacked: false,
animations: {
easing: 'swing'
}
stacked: false
},
plotOptions: {
bar: {
Expand Down Expand Up @@ -13805,7 +13726,6 @@
return _objectSpread2(_objectSpread2({}, this.bar()), {}, {
chart: {
animations: {
easing: 'linear',
speed: 800,
animateGradually: {
enabled: false
Expand Down Expand Up @@ -15112,8 +15032,6 @@
lastDrawnDataLabelsIndexes: [],
hasNullValues: false,
// bool: whether series contains null values
easing: null,
// function: animation effect to apply
zoomed: false,
// whether user has zoomed or not
gridWidth: 0,
Expand Down Expand Up @@ -29929,8 +29847,7 @@
totalItems: 2,
animBeginArr: 0,
dur: 0,
isTrack: true,
easing: w.globals.easing
isTrack: true
});
}
return g;
Expand Down Expand Up @@ -30110,8 +30027,7 @@
totalItems: 2,
animBeginArr: this.animBeginArr,
dur: dur,
shouldSetPrevPaths: true,
easing: w.globals.easing
shouldSetPrevPaths: true
});
}
return {
Expand Down
44 changes: 34 additions & 10 deletions dist/apexcharts.min.js

Large diffs are not rendered by default.

0 comments on commit 81478fb

Please sign in to comment.