Skip to content

Commit

Permalink
skip: 3.13.0-nightly-20241001004701 build [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
netil committed Oct 1, 2024
1 parent 90aaf9b commit 1c855b6
Show file tree
Hide file tree
Showing 42 changed files with 1,204 additions and 1,149 deletions.
44 changes: 29 additions & 15 deletions dist-esm/billboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
*/
import { pointer, select, namespaces, selectAll } from 'd3-selection';
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
Expand Down Expand Up @@ -2103,6 +2103,8 @@ var interaction$1 = {
* @property {boolean} [interaction.inputType.mouse=true] enable or disable mouse interaction
* @property {boolean} [interaction.inputType.touch=true] enable or disable touch interaction
* @property {boolean|number} [interaction.inputType.touch.preventDefault=false] enable or disable to call event.preventDefault on touchstart & touchmove event. It's usually used to prevent document scrolling.
* @property {boolean} [interaction.onout=true] Enable or disable "onout" event.<br>
* When is disabled, defocus(hiding tooltip, focused gridline, etc.) event won't work.
* @see [Demo: touch.preventDefault](https://naver.github.io/billboard.js/demo/#Interaction.PreventScrollOnTouch)
* @example
* interaction: {
Expand All @@ -2120,13 +2122,17 @@ var interaction$1 = {
* // or threshold pixel value (pixel moved from touchstart to touchmove)
* preventDefault: 5
* }
* }
* },
*
* // disable "onout" event
* onout: false
* }
*/
interaction_enabled: true,
interaction_brighten: true,
interaction_inputType_mouse: true,
interaction_inputType_touch: {}
interaction_inputType_touch: {},
interaction_onout: true
};

/**
Expand Down Expand Up @@ -14440,7 +14446,7 @@ var eventrect = {
.filter(function (d) {
return $$.isWithinShape(this, d);
});
if (shapeAtIndex.empty() && !isTooltipGrouped) {
if (shapeAtIndex.empty() && !isTooltipGrouped && config.interaction_onout) {
(_b = $$.hideGridFocus) === null || _b === void 0 ? void 0 : _b.call($$);
$$.hideTooltip();
!isSelectionGrouped && $$.setExpand(index);
Expand Down Expand Up @@ -14595,7 +14601,8 @@ var eventrect = {
.on("mouseout", function (event) {
state.event = event;
// chart is destroyed
if (!config || $$.hasArcType() || eventReceiver.currentIdx === -1) {
if (!config || $$.hasArcType() || eventReceiver.currentIdx === -1 ||
!config.interaction_onout) {
return;
}
$$.hideAxisGridFocus();
Expand Down Expand Up @@ -14632,7 +14639,7 @@ var eventrect = {
*/
generateEventRectsForMultipleXs: function (eventRectEnter) {
var $$ = this;
var state = $$.state;
var config = $$.config, state = $$.state;
eventRectEnter
.on("click", function (event) {
state.event = event;
Expand All @@ -14648,7 +14655,7 @@ var eventrect = {
.on("mouseout", function (event) {
state.event = event;
// chart is destroyed
if (!$$.config || $$.hasArcType()) {
if (!$$.config || $$.hasArcType() || !config.interaction_onout) {
return;
}
$$.unselectRect();
Expand Down Expand Up @@ -18607,7 +18614,7 @@ var shapeArc = {
$$.setOverOut(true, arcData);
})
.on("mouseout", function (event, d) {
if (state.transiting) { // skip while transiting
if (state.transiting || !config.interaction_onout) { // skip while transiting
return;
}
state.event = event;
Expand Down Expand Up @@ -19551,8 +19558,10 @@ var shapeFunnel = {
})
.on(isTouch ? "touchend" : "mouseout", function (event) {
var data = getTarget(event);
$$.hideTooltip();
$$.setOverOut(false, data);
if (config.interaction_onout) {
$$.hideTooltip();
$$.setOverOut(false, data);
}
});
}
},
Expand Down Expand Up @@ -21042,12 +21051,15 @@ var shapeRadar = {
},
bindRadarEvent: function () {
var $$ = this;
var state = $$.state, _a = $$.$el, radar = _a.radar, svg = _a.svg;
var config = $$.config, state = $$.state, _a = $$.$el, radar = _a.radar, svg = _a.svg;
var focusOnly = $$.isPointFocusOnly();
var inputType = state.inputType, transiting = state.transiting;
var isMouse = inputType === "mouse";
var hide = function (event) {
state.event = event;
if (!config.interaction_onout) {
return;
}
// const index = getIndex(event);
var index = $$.getDataIndexFromEvent(event);
var noIndex = isUndefined(index);
Expand Down Expand Up @@ -21216,8 +21228,10 @@ var shapeTreemap = {
})
.on(isTouch ? "touchend" : "mouseout", function (event) {
var data = getTarget(event);
$$.hideTooltip();
$$.setOverOut(false, data);
if (config.interaction_onout) {
$$.hideTooltip();
$$.setOverOut(false, data);
}
});
}
},
Expand Down Expand Up @@ -24498,7 +24512,7 @@ var zoomModule = function () {
var defaults = {};
/**
* @namespace bb
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
*/
var bb = {
/**
Expand All @@ -24508,7 +24522,7 @@ var bb = {
* bb.version; // "1.0.0"
* @memberof bb
*/
version: "3.13.0-nightly-20240924004652",
version: "3.13.0-nightly-20241001004701",
/**
* Generate chart
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-bubblecompare.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -100,7 +100,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.13.0-nightly-20240924004652";
Plugin.version = "3.13.0-nightly-20241001004701";
return Plugin;
}());

Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-sparkline.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -443,7 +443,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.13.0-nightly-20240924004652";
Plugin.version = "3.13.0-nightly-20241001004701";
return Plugin;
}());

Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-stanford.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -501,7 +501,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.13.0-nightly-20240924004652";
Plugin.version = "3.13.0-nightly-20241001004701";
return Plugin;
}());

Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-tableview.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -290,7 +290,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.13.0-nightly-20240924004652";
Plugin.version = "3.13.0-nightly-20241001004701";
return Plugin;
}());

Expand Down
4 changes: 2 additions & 2 deletions dist-esm/plugin/billboardjs-plugin-textoverlap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
* @requires billboard.js
* @summary billboard.js plugin
*/
Expand Down Expand Up @@ -267,7 +267,7 @@ var Plugin = /** @class */ (function () {
delete _this[key];
});
};
Plugin.version = "3.13.0-nightly-20240924004652";
Plugin.version = "3.13.0-nightly-20241001004701";
return Plugin;
}());

Expand Down
2 changes: 1 addition & 1 deletion dist/billboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* billboard.js, JavaScript chart library
* https://naver.github.io/billboard.js/
*
* @version 3.13.0-nightly-20240924004652
* @version 3.13.0-nightly-20241001004701
*/
/*-- Chart --*/
.bb svg {
Expand Down
Loading

0 comments on commit 1c855b6

Please sign in to comment.