higlass 2.1.9 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/scripts/CombinedTrack.js +23 -0
- package/app/scripts/HiGlassComponent.jsx +23 -0
- package/app/scripts/LeftAxisTrack.js +12 -0
- package/app/scripts/configs/tracks-info.js +2 -1
- package/app/scripts/options-info.js +5 -0
- package/dist/app/scripts/CombinedTrack.d.ts +8 -0
- package/dist/app/scripts/HiGlassComponent.d.ts +1 -0
- package/dist/app/scripts/options-info.d.ts +176 -171
- package/dist/app/scripts/plugins/available-for-plugins.d.ts +13 -0
- package/dist/hglib.js +519 -440
- package/dist/hglib.min.js +87 -87
- package/dist/higlass.mjs +519 -440
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/hglib.js
CHANGED
|
@@ -12617,9 +12617,10 @@
|
|
|
12617
12617
|
orientation: "1d-vertical",
|
|
12618
12618
|
name: "Left Axis",
|
|
12619
12619
|
thumbnail: svgVertical1DAxisIcon,
|
|
12620
|
-
availableOptions: ["minWidth"],
|
|
12620
|
+
availableOptions: ["minWidth", "reverseAxis"],
|
|
12621
12621
|
defaultOptions: {
|
|
12622
|
-
minWidth: 100
|
|
12622
|
+
minWidth: 100,
|
|
12623
|
+
reverseAxis: false
|
|
12623
12624
|
}
|
|
12624
12625
|
}, {
|
|
12625
12626
|
type: "top-axis",
|
|
@@ -13800,7 +13801,7 @@
|
|
|
13800
13801
|
/** @type {const} */
|
|
13801
13802
|
[window, map$5((c) => c.charCodeAt(0))(
|
|
13802
13803
|
// @ts-expect-error - A global added by `vite.config.js`.
|
|
13803
|
-
"2.1
|
|
13804
|
+
"2.2.1"
|
|
13804
13805
|
).map((number3) => number3 <= 999 ? `00${number3}`.slice(-3) : number3).join("")]
|
|
13805
13806
|
);
|
|
13806
13807
|
const gradient = (steps, width = 1, height = 100, fromX = 0, fromY = 0, toX = 0, toY = 100) => {
|
|
@@ -14054,6 +14055,27 @@
|
|
|
14054
14055
|
}
|
|
14055
14056
|
return mouseOverHtml;
|
|
14056
14057
|
}
|
|
14058
|
+
/**
|
|
14059
|
+
* Get the uids of any items that are below the mouse
|
|
14060
|
+
*
|
|
14061
|
+
* @param {*} trackX
|
|
14062
|
+
* @param {*} trackY
|
|
14063
|
+
* @returns
|
|
14064
|
+
*/
|
|
14065
|
+
}, {
|
|
14066
|
+
key: "getMouseOverUids",
|
|
14067
|
+
value: function getMouseOverUids(trackX, trackY) {
|
|
14068
|
+
const mouseOverUids = [];
|
|
14069
|
+
for (const childTrack of this.childTracks) {
|
|
14070
|
+
if (childTrack.getMouseOverUids) {
|
|
14071
|
+
const trackMouseOverUids = childTrack.getMouseOverUids(trackX, trackY);
|
|
14072
|
+
if (trackMouseOverUids) {
|
|
14073
|
+
mouseOverUids.push(...trackMouseOverUids);
|
|
14074
|
+
}
|
|
14075
|
+
}
|
|
14076
|
+
}
|
|
14077
|
+
return mouseOverUids;
|
|
14078
|
+
}
|
|
14057
14079
|
}]);
|
|
14058
14080
|
}();
|
|
14059
14081
|
const isTrackOrChildTrack = (testTrack, track) => {
|
|
@@ -18772,15 +18794,15 @@
|
|
|
18772
18794
|
}
|
|
18773
18795
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18774
18796
|
}
|
|
18775
|
-
var __assign$
|
|
18776
|
-
__assign$
|
|
18797
|
+
var __assign$2 = function() {
|
|
18798
|
+
__assign$2 = Object.assign || function __assign2(t) {
|
|
18777
18799
|
for (var s, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
|
18778
18800
|
s = arguments[i2];
|
|
18779
18801
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
18780
18802
|
}
|
|
18781
18803
|
return t;
|
|
18782
18804
|
};
|
|
18783
|
-
return __assign$
|
|
18805
|
+
return __assign$2.apply(this, arguments);
|
|
18784
18806
|
};
|
|
18785
18807
|
function __rest$1(s, e3) {
|
|
18786
18808
|
var t = {};
|
|
@@ -18949,7 +18971,7 @@
|
|
|
18949
18971
|
return { value: op[0] ? op[1] : void 0, done: true };
|
|
18950
18972
|
}
|
|
18951
18973
|
}
|
|
18952
|
-
var __createBinding$
|
|
18974
|
+
var __createBinding$2 = Object.create ? function(o, m, k, k2) {
|
|
18953
18975
|
if (k2 === void 0) k2 = k;
|
|
18954
18976
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18955
18977
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
@@ -18963,7 +18985,7 @@
|
|
|
18963
18985
|
o[k2] = m[k];
|
|
18964
18986
|
};
|
|
18965
18987
|
function __exportStar(m, o) {
|
|
18966
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding$
|
|
18988
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding$2(o, m, p);
|
|
18967
18989
|
}
|
|
18968
18990
|
function __values(o) {
|
|
18969
18991
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i2 = 0;
|
|
@@ -19098,7 +19120,7 @@
|
|
|
19098
19120
|
}
|
|
19099
19121
|
return cooked;
|
|
19100
19122
|
}
|
|
19101
|
-
var __setModuleDefault$
|
|
19123
|
+
var __setModuleDefault$2 = Object.create ? function(o, v) {
|
|
19102
19124
|
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19103
19125
|
} : function(o, v) {
|
|
19104
19126
|
o["default"] = v;
|
|
@@ -19111,16 +19133,16 @@
|
|
|
19111
19133
|
};
|
|
19112
19134
|
return ownKeys(o);
|
|
19113
19135
|
};
|
|
19114
|
-
function __importStar$
|
|
19136
|
+
function __importStar$2(mod2) {
|
|
19115
19137
|
if (mod2 && mod2.__esModule) return mod2;
|
|
19116
19138
|
var result = {};
|
|
19117
19139
|
if (mod2 != null) {
|
|
19118
|
-
for (var k = ownKeys(mod2), i2 = 0; i2 < k.length; i2++) if (k[i2] !== "default") __createBinding$
|
|
19140
|
+
for (var k = ownKeys(mod2), i2 = 0; i2 < k.length; i2++) if (k[i2] !== "default") __createBinding$2(result, mod2, k[i2]);
|
|
19119
19141
|
}
|
|
19120
|
-
__setModuleDefault$
|
|
19142
|
+
__setModuleDefault$2(result, mod2);
|
|
19121
19143
|
return result;
|
|
19122
19144
|
}
|
|
19123
|
-
function __importDefault$
|
|
19145
|
+
function __importDefault$5(mod2) {
|
|
19124
19146
|
return mod2 && mod2.__esModule ? mod2 : { default: mod2 };
|
|
19125
19147
|
}
|
|
19126
19148
|
function __classPrivateFieldGet(receiver, state, kind, f2) {
|
|
@@ -19205,7 +19227,7 @@
|
|
|
19205
19227
|
}
|
|
19206
19228
|
const tslib_es6 = {
|
|
19207
19229
|
__extends: __extends$3,
|
|
19208
|
-
__assign: __assign$
|
|
19230
|
+
__assign: __assign$2,
|
|
19209
19231
|
__rest: __rest$1,
|
|
19210
19232
|
__decorate,
|
|
19211
19233
|
__param,
|
|
@@ -19216,7 +19238,7 @@
|
|
|
19216
19238
|
__metadata,
|
|
19217
19239
|
__awaiter,
|
|
19218
19240
|
__generator,
|
|
19219
|
-
__createBinding: __createBinding$
|
|
19241
|
+
__createBinding: __createBinding$2,
|
|
19220
19242
|
__exportStar,
|
|
19221
19243
|
__values,
|
|
19222
19244
|
__read,
|
|
@@ -19228,8 +19250,8 @@
|
|
|
19228
19250
|
__asyncDelegator,
|
|
19229
19251
|
__asyncValues,
|
|
19230
19252
|
__makeTemplateObject,
|
|
19231
|
-
__importStar: __importStar$
|
|
19232
|
-
__importDefault: __importDefault$
|
|
19253
|
+
__importStar: __importStar$2,
|
|
19254
|
+
__importDefault: __importDefault$5,
|
|
19233
19255
|
__classPrivateFieldGet,
|
|
19234
19256
|
__classPrivateFieldSet,
|
|
19235
19257
|
__classPrivateFieldIn,
|
|
@@ -19241,7 +19263,7 @@
|
|
|
19241
19263
|
__proto__: null,
|
|
19242
19264
|
__addDisposableResource,
|
|
19243
19265
|
get __assign() {
|
|
19244
|
-
return __assign$
|
|
19266
|
+
return __assign$2;
|
|
19245
19267
|
},
|
|
19246
19268
|
__asyncDelegator,
|
|
19247
19269
|
__asyncGenerator,
|
|
@@ -19251,15 +19273,15 @@
|
|
|
19251
19273
|
__classPrivateFieldGet,
|
|
19252
19274
|
__classPrivateFieldIn,
|
|
19253
19275
|
__classPrivateFieldSet,
|
|
19254
|
-
__createBinding: __createBinding$
|
|
19276
|
+
__createBinding: __createBinding$2,
|
|
19255
19277
|
__decorate,
|
|
19256
19278
|
__disposeResources,
|
|
19257
19279
|
__esDecorate,
|
|
19258
19280
|
__exportStar,
|
|
19259
19281
|
__extends: __extends$3,
|
|
19260
19282
|
__generator,
|
|
19261
|
-
__importDefault: __importDefault$
|
|
19262
|
-
__importStar: __importStar$
|
|
19283
|
+
__importDefault: __importDefault$5,
|
|
19284
|
+
__importStar: __importStar$2,
|
|
19263
19285
|
__makeTemplateObject,
|
|
19264
19286
|
__metadata,
|
|
19265
19287
|
__param,
|
|
@@ -19790,31 +19812,31 @@
|
|
|
19790
19812
|
value: true
|
|
19791
19813
|
});
|
|
19792
19814
|
exports3.Doctype = exports3.CDATA = exports3.Tag = exports3.Style = exports3.Script = exports3.Comment = exports3.Directive = exports3.Text = exports3.Root = exports3.isTag = exports3.ElementType = void 0;
|
|
19793
|
-
var
|
|
19794
|
-
(function(
|
|
19795
|
-
|
|
19796
|
-
|
|
19797
|
-
|
|
19798
|
-
|
|
19799
|
-
|
|
19800
|
-
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
})(
|
|
19815
|
+
var ElementType;
|
|
19816
|
+
(function(ElementType2) {
|
|
19817
|
+
ElementType2["Root"] = "root";
|
|
19818
|
+
ElementType2["Text"] = "text";
|
|
19819
|
+
ElementType2["Directive"] = "directive";
|
|
19820
|
+
ElementType2["Comment"] = "comment";
|
|
19821
|
+
ElementType2["Script"] = "script";
|
|
19822
|
+
ElementType2["Style"] = "style";
|
|
19823
|
+
ElementType2["Tag"] = "tag";
|
|
19824
|
+
ElementType2["CDATA"] = "cdata";
|
|
19825
|
+
ElementType2["Doctype"] = "doctype";
|
|
19826
|
+
})(ElementType = exports3.ElementType || (exports3.ElementType = {}));
|
|
19805
19827
|
function isTag2(elem) {
|
|
19806
|
-
return elem.type ===
|
|
19828
|
+
return elem.type === ElementType.Tag || elem.type === ElementType.Script || elem.type === ElementType.Style;
|
|
19807
19829
|
}
|
|
19808
19830
|
exports3.isTag = isTag2;
|
|
19809
|
-
exports3.Root =
|
|
19810
|
-
exports3.Text =
|
|
19811
|
-
exports3.Directive =
|
|
19812
|
-
exports3.Comment =
|
|
19813
|
-
exports3.Script =
|
|
19814
|
-
exports3.Style =
|
|
19815
|
-
exports3.Tag =
|
|
19816
|
-
exports3.CDATA =
|
|
19817
|
-
exports3.Doctype =
|
|
19831
|
+
exports3.Root = ElementType.Root;
|
|
19832
|
+
exports3.Text = ElementType.Text;
|
|
19833
|
+
exports3.Directive = ElementType.Directive;
|
|
19834
|
+
exports3.Comment = ElementType.Comment;
|
|
19835
|
+
exports3.Script = ElementType.Script;
|
|
19836
|
+
exports3.Style = ElementType.Style;
|
|
19837
|
+
exports3.Tag = ElementType.Tag;
|
|
19838
|
+
exports3.CDATA = ElementType.CDATA;
|
|
19839
|
+
exports3.Doctype = ElementType.Doctype;
|
|
19818
19840
|
})(lib$8);
|
|
19819
19841
|
var node = {};
|
|
19820
19842
|
var __extends$2 = commonjsGlobal && commonjsGlobal.__extends || /* @__PURE__ */ function() {
|
|
@@ -19837,15 +19859,15 @@
|
|
|
19837
19859
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
19838
19860
|
};
|
|
19839
19861
|
}();
|
|
19840
|
-
var __assign$
|
|
19841
|
-
__assign$
|
|
19862
|
+
var __assign$1 = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
19863
|
+
__assign$1 = Object.assign || function(t) {
|
|
19842
19864
|
for (var s, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
|
19843
19865
|
s = arguments[i2];
|
|
19844
19866
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
19845
19867
|
}
|
|
19846
19868
|
return t;
|
|
19847
19869
|
};
|
|
19848
|
-
return __assign$
|
|
19870
|
+
return __assign$1.apply(this, arguments);
|
|
19849
19871
|
};
|
|
19850
19872
|
Object.defineProperty(node, "__esModule", {
|
|
19851
19873
|
value: true
|
|
@@ -20138,7 +20160,7 @@
|
|
|
20138
20160
|
result = new Comment(node2.data);
|
|
20139
20161
|
} else if (isTag(node2)) {
|
|
20140
20162
|
var children2 = recursive ? cloneChildren(node2.children) : [];
|
|
20141
|
-
var clone_1 = new Element$1(node2.name, __assign$
|
|
20163
|
+
var clone_1 = new Element$1(node2.name, __assign$1({}, node2.attribs), children2);
|
|
20142
20164
|
children2.forEach(function(child) {
|
|
20143
20165
|
return child.parent = clone_1;
|
|
20144
20166
|
});
|
|
@@ -20146,10 +20168,10 @@
|
|
|
20146
20168
|
clone_1.namespace = node2.namespace;
|
|
20147
20169
|
}
|
|
20148
20170
|
if (node2["x-attribsNamespace"]) {
|
|
20149
|
-
clone_1["x-attribsNamespace"] = __assign$
|
|
20171
|
+
clone_1["x-attribsNamespace"] = __assign$1({}, node2["x-attribsNamespace"]);
|
|
20150
20172
|
}
|
|
20151
20173
|
if (node2["x-attribsPrefix"]) {
|
|
20152
|
-
clone_1["x-attribsPrefix"] = __assign$
|
|
20174
|
+
clone_1["x-attribsPrefix"] = __assign$1({}, node2["x-attribsPrefix"]);
|
|
20153
20175
|
}
|
|
20154
20176
|
result = clone_1;
|
|
20155
20177
|
} else if (isCDATA(node2)) {
|
|
@@ -24875,7 +24897,7 @@
|
|
|
24875
24897
|
"158": 382,
|
|
24876
24898
|
"159": 376
|
|
24877
24899
|
};
|
|
24878
|
-
var __importDefault$
|
|
24900
|
+
var __importDefault$4 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod2) {
|
|
24879
24901
|
return mod2 && mod2.__esModule ? mod2 : {
|
|
24880
24902
|
"default": mod2
|
|
24881
24903
|
};
|
|
@@ -24883,7 +24905,7 @@
|
|
|
24883
24905
|
Object.defineProperty(decode_codepoint, "__esModule", {
|
|
24884
24906
|
value: true
|
|
24885
24907
|
});
|
|
24886
|
-
var decode_json_1 = __importDefault$
|
|
24908
|
+
var decode_json_1 = __importDefault$4(require$$0$2);
|
|
24887
24909
|
var fromCodePoint = (
|
|
24888
24910
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
24889
24911
|
String.fromCodePoint || function(codePoint) {
|
|
@@ -24907,422 +24929,452 @@
|
|
|
24907
24929
|
return fromCodePoint(codePoint);
|
|
24908
24930
|
}
|
|
24909
24931
|
decode_codepoint.default = decodeCodePoint;
|
|
24910
|
-
var
|
|
24911
|
-
|
|
24912
|
-
|
|
24932
|
+
var hasRequiredDecode;
|
|
24933
|
+
function requireDecode() {
|
|
24934
|
+
if (hasRequiredDecode) return decode;
|
|
24935
|
+
hasRequiredDecode = 1;
|
|
24936
|
+
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod2) {
|
|
24937
|
+
return mod2 && mod2.__esModule ? mod2 : {
|
|
24938
|
+
"default": mod2
|
|
24939
|
+
};
|
|
24913
24940
|
};
|
|
24914
|
-
|
|
24915
|
-
|
|
24916
|
-
|
|
24917
|
-
|
|
24918
|
-
|
|
24919
|
-
|
|
24920
|
-
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
24924
|
-
|
|
24925
|
-
|
|
24926
|
-
|
|
24927
|
-
|
|
24928
|
-
|
|
24929
|
-
|
|
24930
|
-
};
|
|
24931
|
-
}
|
|
24932
|
-
var sorter = function(a, b) {
|
|
24933
|
-
return a < b ? 1 : -1;
|
|
24934
|
-
};
|
|
24935
|
-
decode.decodeHTML = function() {
|
|
24936
|
-
var legacy2 = Object.keys(legacy_json_1$1.default).sort(sorter);
|
|
24937
|
-
var keys2 = Object.keys(entities_json_1$2.default).sort(sorter);
|
|
24938
|
-
for (var i2 = 0, j = 0; i2 < keys2.length; i2++) {
|
|
24939
|
-
if (legacy2[j] === keys2[i2]) {
|
|
24940
|
-
keys2[i2] += ";?";
|
|
24941
|
-
j++;
|
|
24942
|
-
} else {
|
|
24943
|
-
keys2[i2] += ";";
|
|
24944
|
-
}
|
|
24945
|
-
}
|
|
24946
|
-
var re2 = new RegExp("&(?:" + keys2.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g");
|
|
24947
|
-
var replace = getReplacer(entities_json_1$2.default);
|
|
24948
|
-
function replacer(str) {
|
|
24949
|
-
if (str.substr(-1) !== ";") str += ";";
|
|
24950
|
-
return replace(str);
|
|
24941
|
+
Object.defineProperty(decode, "__esModule", {
|
|
24942
|
+
value: true
|
|
24943
|
+
});
|
|
24944
|
+
decode.decodeHTML = decode.decodeHTMLStrict = decode.decodeXML = void 0;
|
|
24945
|
+
var entities_json_12 = __importDefault2(require$$1$1);
|
|
24946
|
+
var legacy_json_12 = __importDefault2(require$$2$1);
|
|
24947
|
+
var xml_json_12 = __importDefault2(require$$3$1);
|
|
24948
|
+
var decode_codepoint_12 = __importDefault2(decode_codepoint);
|
|
24949
|
+
var strictEntityRe = /&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;
|
|
24950
|
+
decode.decodeXML = getStrictDecoder(xml_json_12.default);
|
|
24951
|
+
decode.decodeHTMLStrict = getStrictDecoder(entities_json_12.default);
|
|
24952
|
+
function getStrictDecoder(map2) {
|
|
24953
|
+
var replace = getReplacer(map2);
|
|
24954
|
+
return function(str) {
|
|
24955
|
+
return String(str).replace(strictEntityRe, replace);
|
|
24956
|
+
};
|
|
24951
24957
|
}
|
|
24952
|
-
|
|
24953
|
-
return
|
|
24958
|
+
var sorter = function(a, b) {
|
|
24959
|
+
return a < b ? 1 : -1;
|
|
24954
24960
|
};
|
|
24955
|
-
|
|
24956
|
-
|
|
24957
|
-
|
|
24958
|
-
|
|
24959
|
-
|
|
24960
|
-
|
|
24961
|
-
|
|
24961
|
+
decode.decodeHTML = function() {
|
|
24962
|
+
var legacy2 = Object.keys(legacy_json_12.default).sort(sorter);
|
|
24963
|
+
var keys2 = Object.keys(entities_json_12.default).sort(sorter);
|
|
24964
|
+
for (var i2 = 0, j = 0; i2 < keys2.length; i2++) {
|
|
24965
|
+
if (legacy2[j] === keys2[i2]) {
|
|
24966
|
+
keys2[i2] += ";?";
|
|
24967
|
+
j++;
|
|
24968
|
+
} else {
|
|
24969
|
+
keys2[i2] += ";";
|
|
24962
24970
|
}
|
|
24963
|
-
return decode_codepoint_1$1.default(parseInt(str.substr(2), 10));
|
|
24964
24971
|
}
|
|
24965
|
-
|
|
24966
|
-
|
|
24972
|
+
var re2 = new RegExp("&(?:" + keys2.join("|") + "|#[xX][\\da-fA-F]+;?|#\\d+;?)", "g");
|
|
24973
|
+
var replace = getReplacer(entities_json_12.default);
|
|
24974
|
+
function replacer(str) {
|
|
24975
|
+
if (str.substr(-1) !== ";") str += ";";
|
|
24976
|
+
return replace(str);
|
|
24977
|
+
}
|
|
24978
|
+
return function(str) {
|
|
24979
|
+
return String(str).replace(re2, replacer);
|
|
24980
|
+
};
|
|
24981
|
+
}();
|
|
24982
|
+
function getReplacer(map2) {
|
|
24983
|
+
return function replace(str) {
|
|
24984
|
+
if (str.charAt(1) === "#") {
|
|
24985
|
+
var secondChar = str.charAt(2);
|
|
24986
|
+
if (secondChar === "X" || secondChar === "x") {
|
|
24987
|
+
return decode_codepoint_12.default(parseInt(str.substr(3), 16));
|
|
24988
|
+
}
|
|
24989
|
+
return decode_codepoint_12.default(parseInt(str.substr(2), 10));
|
|
24990
|
+
}
|
|
24991
|
+
return map2[str.slice(1, -1)] || str;
|
|
24992
|
+
};
|
|
24993
|
+
}
|
|
24994
|
+
return decode;
|
|
24967
24995
|
}
|
|
24968
24996
|
var encode = {};
|
|
24969
|
-
var
|
|
24970
|
-
|
|
24971
|
-
|
|
24997
|
+
var hasRequiredEncode;
|
|
24998
|
+
function requireEncode() {
|
|
24999
|
+
if (hasRequiredEncode) return encode;
|
|
25000
|
+
hasRequiredEncode = 1;
|
|
25001
|
+
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod2) {
|
|
25002
|
+
return mod2 && mod2.__esModule ? mod2 : {
|
|
25003
|
+
"default": mod2
|
|
25004
|
+
};
|
|
24972
25005
|
};
|
|
24973
|
-
|
|
24974
|
-
|
|
24975
|
-
|
|
24976
|
-
|
|
24977
|
-
|
|
24978
|
-
|
|
24979
|
-
|
|
24980
|
-
|
|
24981
|
-
|
|
24982
|
-
|
|
24983
|
-
|
|
24984
|
-
|
|
24985
|
-
|
|
24986
|
-
|
|
24987
|
-
|
|
24988
|
-
|
|
24989
|
-
|
|
24990
|
-
|
|
24991
|
-
}, {});
|
|
24992
|
-
}
|
|
24993
|
-
function getInverseReplacer(inverse) {
|
|
24994
|
-
var single = [];
|
|
24995
|
-
var multiple = [];
|
|
24996
|
-
for (var _i = 0, _a = Object.keys(inverse); _i < _a.length; _i++) {
|
|
24997
|
-
var k = _a[_i];
|
|
24998
|
-
if (k.length === 1) {
|
|
24999
|
-
single.push("\\" + k);
|
|
25000
|
-
} else {
|
|
25001
|
-
multiple.push(k);
|
|
25002
|
-
}
|
|
25003
|
-
}
|
|
25004
|
-
single.sort();
|
|
25005
|
-
for (var start2 = 0; start2 < single.length - 1; start2++) {
|
|
25006
|
-
var end2 = start2;
|
|
25007
|
-
while (end2 < single.length - 1 && single[end2].charCodeAt(1) + 1 === single[end2 + 1].charCodeAt(1)) {
|
|
25008
|
-
end2 += 1;
|
|
25009
|
-
}
|
|
25010
|
-
var count2 = 1 + end2 - start2;
|
|
25011
|
-
if (count2 < 3) continue;
|
|
25012
|
-
single.splice(start2, count2, single[start2] + "-" + single[end2]);
|
|
25006
|
+
Object.defineProperty(encode, "__esModule", {
|
|
25007
|
+
value: true
|
|
25008
|
+
});
|
|
25009
|
+
encode.escapeUTF8 = encode.escape = encode.encodeNonAsciiHTML = encode.encodeHTML = encode.encodeXML = void 0;
|
|
25010
|
+
var xml_json_12 = __importDefault2(require$$3$1);
|
|
25011
|
+
var inverseXML = getInverseObj(xml_json_12.default);
|
|
25012
|
+
var xmlReplacer = getInverseReplacer(inverseXML);
|
|
25013
|
+
encode.encodeXML = getASCIIEncoder(inverseXML);
|
|
25014
|
+
var entities_json_12 = __importDefault2(require$$1$1);
|
|
25015
|
+
var inverseHTML = getInverseObj(entities_json_12.default);
|
|
25016
|
+
var htmlReplacer = getInverseReplacer(inverseHTML);
|
|
25017
|
+
encode.encodeHTML = getInverse(inverseHTML, htmlReplacer);
|
|
25018
|
+
encode.encodeNonAsciiHTML = getASCIIEncoder(inverseHTML);
|
|
25019
|
+
function getInverseObj(obj) {
|
|
25020
|
+
return Object.keys(obj).sort().reduce(function(inverse, name) {
|
|
25021
|
+
inverse[obj[name]] = "&" + name + ";";
|
|
25022
|
+
return inverse;
|
|
25023
|
+
}, {});
|
|
25013
25024
|
}
|
|
25014
|
-
|
|
25015
|
-
|
|
25016
|
-
|
|
25017
|
-
|
|
25018
|
-
|
|
25019
|
-
|
|
25020
|
-
|
|
25021
|
-
|
|
25022
|
-
|
|
25023
|
-
|
|
25025
|
+
function getInverseReplacer(inverse) {
|
|
25026
|
+
var single = [];
|
|
25027
|
+
var multiple = [];
|
|
25028
|
+
for (var _i = 0, _a = Object.keys(inverse); _i < _a.length; _i++) {
|
|
25029
|
+
var k = _a[_i];
|
|
25030
|
+
if (k.length === 1) {
|
|
25031
|
+
single.push("\\" + k);
|
|
25032
|
+
} else {
|
|
25033
|
+
multiple.push(k);
|
|
25034
|
+
}
|
|
25024
25035
|
}
|
|
25025
|
-
|
|
25026
|
-
|
|
25027
|
-
|
|
25028
|
-
|
|
25036
|
+
single.sort();
|
|
25037
|
+
for (var start2 = 0; start2 < single.length - 1; start2++) {
|
|
25038
|
+
var end2 = start2;
|
|
25039
|
+
while (end2 < single.length - 1 && single[end2].charCodeAt(1) + 1 === single[end2 + 1].charCodeAt(1)) {
|
|
25040
|
+
end2 += 1;
|
|
25041
|
+
}
|
|
25042
|
+
var count2 = 1 + end2 - start2;
|
|
25043
|
+
if (count2 < 3) continue;
|
|
25044
|
+
single.splice(start2, count2, single[start2] + "-" + single[end2]);
|
|
25029
25045
|
}
|
|
25030
|
-
|
|
25031
|
-
|
|
25032
|
-
|
|
25033
|
-
|
|
25034
|
-
|
|
25035
|
-
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25039
|
-
|
|
25040
|
-
|
|
25041
|
-
|
|
25042
|
-
|
|
25043
|
-
|
|
25044
|
-
|
|
25045
|
-
|
|
25046
|
-
|
|
25047
|
-
|
|
25048
|
-
|
|
25046
|
+
multiple.unshift("[" + single.join("") + "]");
|
|
25047
|
+
return new RegExp(multiple.join("|"), "g");
|
|
25048
|
+
}
|
|
25049
|
+
var reNonASCII = /(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g;
|
|
25050
|
+
var getCodePoint = (
|
|
25051
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
25052
|
+
String.prototype.codePointAt != null ? (
|
|
25053
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
25054
|
+
function(str) {
|
|
25055
|
+
return str.codePointAt(0);
|
|
25056
|
+
}
|
|
25057
|
+
) : (
|
|
25058
|
+
// http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae
|
|
25059
|
+
function(c) {
|
|
25060
|
+
return (c.charCodeAt(0) - 55296) * 1024 + c.charCodeAt(1) - 56320 + 65536;
|
|
25061
|
+
}
|
|
25062
|
+
)
|
|
25063
|
+
);
|
|
25064
|
+
function singleCharReplacer(c) {
|
|
25065
|
+
return "&#x" + (c.length > 1 ? getCodePoint(c) : c.charCodeAt(0)).toString(16).toUpperCase() + ";";
|
|
25066
|
+
}
|
|
25067
|
+
function getInverse(inverse, re2) {
|
|
25068
|
+
return function(data2) {
|
|
25069
|
+
return data2.replace(re2, function(name) {
|
|
25070
|
+
return inverse[name];
|
|
25071
|
+
}).replace(reNonASCII, singleCharReplacer);
|
|
25072
|
+
};
|
|
25073
|
+
}
|
|
25074
|
+
var reEscapeChars = new RegExp(xmlReplacer.source + "|" + reNonASCII.source, "g");
|
|
25075
|
+
function escape2(data2) {
|
|
25076
|
+
return data2.replace(reEscapeChars, singleCharReplacer);
|
|
25077
|
+
}
|
|
25078
|
+
encode.escape = escape2;
|
|
25079
|
+
function escapeUTF8(data2) {
|
|
25080
|
+
return data2.replace(xmlReplacer, singleCharReplacer);
|
|
25081
|
+
}
|
|
25082
|
+
encode.escapeUTF8 = escapeUTF8;
|
|
25083
|
+
function getASCIIEncoder(obj) {
|
|
25084
|
+
return function(data2) {
|
|
25085
|
+
return data2.replace(reEscapeChars, function(c) {
|
|
25086
|
+
return obj[c] || singleCharReplacer(c);
|
|
25087
|
+
});
|
|
25088
|
+
};
|
|
25089
|
+
}
|
|
25090
|
+
return encode;
|
|
25049
25091
|
}
|
|
25050
|
-
|
|
25051
|
-
function
|
|
25052
|
-
|
|
25053
|
-
|
|
25054
|
-
|
|
25092
|
+
var hasRequiredLib$6;
|
|
25093
|
+
function requireLib$6() {
|
|
25094
|
+
if (hasRequiredLib$6) return lib$6;
|
|
25095
|
+
hasRequiredLib$6 = 1;
|
|
25096
|
+
(function(exports3) {
|
|
25097
|
+
Object.defineProperty(exports3, "__esModule", {
|
|
25098
|
+
value: true
|
|
25055
25099
|
});
|
|
25056
|
-
|
|
25100
|
+
exports3.decodeXMLStrict = exports3.decodeHTML5Strict = exports3.decodeHTML4Strict = exports3.decodeHTML5 = exports3.decodeHTML4 = exports3.decodeHTMLStrict = exports3.decodeHTML = exports3.decodeXML = exports3.encodeHTML5 = exports3.encodeHTML4 = exports3.escapeUTF8 = exports3.escape = exports3.encodeNonAsciiHTML = exports3.encodeHTML = exports3.encodeXML = exports3.encode = exports3.decodeStrict = exports3.decode = void 0;
|
|
25101
|
+
var decode_1 = requireDecode();
|
|
25102
|
+
var encode_1 = requireEncode();
|
|
25103
|
+
function decode2(data2, level) {
|
|
25104
|
+
return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTML)(data2);
|
|
25105
|
+
}
|
|
25106
|
+
exports3.decode = decode2;
|
|
25107
|
+
function decodeStrict(data2, level) {
|
|
25108
|
+
return (!level || level <= 0 ? decode_1.decodeXML : decode_1.decodeHTMLStrict)(data2);
|
|
25109
|
+
}
|
|
25110
|
+
exports3.decodeStrict = decodeStrict;
|
|
25111
|
+
function encode2(data2, level) {
|
|
25112
|
+
return (!level || level <= 0 ? encode_1.encodeXML : encode_1.encodeHTML)(data2);
|
|
25113
|
+
}
|
|
25114
|
+
exports3.encode = encode2;
|
|
25115
|
+
var encode_2 = requireEncode();
|
|
25116
|
+
Object.defineProperty(exports3, "encodeXML", {
|
|
25117
|
+
enumerable: true,
|
|
25118
|
+
get: function() {
|
|
25119
|
+
return encode_2.encodeXML;
|
|
25120
|
+
}
|
|
25121
|
+
});
|
|
25122
|
+
Object.defineProperty(exports3, "encodeHTML", {
|
|
25123
|
+
enumerable: true,
|
|
25124
|
+
get: function() {
|
|
25125
|
+
return encode_2.encodeHTML;
|
|
25126
|
+
}
|
|
25127
|
+
});
|
|
25128
|
+
Object.defineProperty(exports3, "encodeNonAsciiHTML", {
|
|
25129
|
+
enumerable: true,
|
|
25130
|
+
get: function() {
|
|
25131
|
+
return encode_2.encodeNonAsciiHTML;
|
|
25132
|
+
}
|
|
25133
|
+
});
|
|
25134
|
+
Object.defineProperty(exports3, "escape", {
|
|
25135
|
+
enumerable: true,
|
|
25136
|
+
get: function() {
|
|
25137
|
+
return encode_2.escape;
|
|
25138
|
+
}
|
|
25139
|
+
});
|
|
25140
|
+
Object.defineProperty(exports3, "escapeUTF8", {
|
|
25141
|
+
enumerable: true,
|
|
25142
|
+
get: function() {
|
|
25143
|
+
return encode_2.escapeUTF8;
|
|
25144
|
+
}
|
|
25145
|
+
});
|
|
25146
|
+
Object.defineProperty(exports3, "encodeHTML4", {
|
|
25147
|
+
enumerable: true,
|
|
25148
|
+
get: function() {
|
|
25149
|
+
return encode_2.encodeHTML;
|
|
25150
|
+
}
|
|
25151
|
+
});
|
|
25152
|
+
Object.defineProperty(exports3, "encodeHTML5", {
|
|
25153
|
+
enumerable: true,
|
|
25154
|
+
get: function() {
|
|
25155
|
+
return encode_2.encodeHTML;
|
|
25156
|
+
}
|
|
25157
|
+
});
|
|
25158
|
+
var decode_2 = requireDecode();
|
|
25159
|
+
Object.defineProperty(exports3, "decodeXML", {
|
|
25160
|
+
enumerable: true,
|
|
25161
|
+
get: function() {
|
|
25162
|
+
return decode_2.decodeXML;
|
|
25163
|
+
}
|
|
25164
|
+
});
|
|
25165
|
+
Object.defineProperty(exports3, "decodeHTML", {
|
|
25166
|
+
enumerable: true,
|
|
25167
|
+
get: function() {
|
|
25168
|
+
return decode_2.decodeHTML;
|
|
25169
|
+
}
|
|
25170
|
+
});
|
|
25171
|
+
Object.defineProperty(exports3, "decodeHTMLStrict", {
|
|
25172
|
+
enumerable: true,
|
|
25173
|
+
get: function() {
|
|
25174
|
+
return decode_2.decodeHTMLStrict;
|
|
25175
|
+
}
|
|
25176
|
+
});
|
|
25177
|
+
Object.defineProperty(exports3, "decodeHTML4", {
|
|
25178
|
+
enumerable: true,
|
|
25179
|
+
get: function() {
|
|
25180
|
+
return decode_2.decodeHTML;
|
|
25181
|
+
}
|
|
25182
|
+
});
|
|
25183
|
+
Object.defineProperty(exports3, "decodeHTML5", {
|
|
25184
|
+
enumerable: true,
|
|
25185
|
+
get: function() {
|
|
25186
|
+
return decode_2.decodeHTML;
|
|
25187
|
+
}
|
|
25188
|
+
});
|
|
25189
|
+
Object.defineProperty(exports3, "decodeHTML4Strict", {
|
|
25190
|
+
enumerable: true,
|
|
25191
|
+
get: function() {
|
|
25192
|
+
return decode_2.decodeHTMLStrict;
|
|
25193
|
+
}
|
|
25194
|
+
});
|
|
25195
|
+
Object.defineProperty(exports3, "decodeHTML5Strict", {
|
|
25196
|
+
enumerable: true,
|
|
25197
|
+
get: function() {
|
|
25198
|
+
return decode_2.decodeHTMLStrict;
|
|
25199
|
+
}
|
|
25200
|
+
});
|
|
25201
|
+
Object.defineProperty(exports3, "decodeXMLStrict", {
|
|
25202
|
+
enumerable: true,
|
|
25203
|
+
get: function() {
|
|
25204
|
+
return decode_2.decodeXML;
|
|
25205
|
+
}
|
|
25206
|
+
});
|
|
25207
|
+
})(lib$6);
|
|
25208
|
+
return lib$6;
|
|
25057
25209
|
}
|
|
25058
|
-
|
|
25059
|
-
|
|
25210
|
+
var foreignNames = {};
|
|
25211
|
+
var hasRequiredForeignNames;
|
|
25212
|
+
function requireForeignNames() {
|
|
25213
|
+
if (hasRequiredForeignNames) return foreignNames;
|
|
25214
|
+
hasRequiredForeignNames = 1;
|
|
25215
|
+
Object.defineProperty(foreignNames, "__esModule", {
|
|
25060
25216
|
value: true
|
|
25061
25217
|
});
|
|
25062
|
-
|
|
25063
|
-
|
|
25064
|
-
|
|
25065
|
-
|
|
25066
|
-
|
|
25067
|
-
|
|
25068
|
-
|
|
25069
|
-
|
|
25070
|
-
|
|
25071
|
-
|
|
25072
|
-
|
|
25073
|
-
|
|
25074
|
-
|
|
25075
|
-
|
|
25076
|
-
|
|
25077
|
-
|
|
25078
|
-
|
|
25079
|
-
|
|
25080
|
-
|
|
25081
|
-
|
|
25082
|
-
|
|
25083
|
-
|
|
25084
|
-
|
|
25085
|
-
|
|
25086
|
-
|
|
25087
|
-
|
|
25088
|
-
}
|
|
25089
|
-
})
|
|
25090
|
-
|
|
25091
|
-
|
|
25092
|
-
get: function() {
|
|
25093
|
-
return encode_2.encodeNonAsciiHTML;
|
|
25094
|
-
}
|
|
25095
|
-
});
|
|
25096
|
-
Object.defineProperty(exports3, "escape", {
|
|
25097
|
-
enumerable: true,
|
|
25098
|
-
get: function() {
|
|
25099
|
-
return encode_2.escape;
|
|
25100
|
-
}
|
|
25101
|
-
});
|
|
25102
|
-
Object.defineProperty(exports3, "escapeUTF8", {
|
|
25103
|
-
enumerable: true,
|
|
25104
|
-
get: function() {
|
|
25105
|
-
return encode_2.escapeUTF8;
|
|
25106
|
-
}
|
|
25107
|
-
});
|
|
25108
|
-
Object.defineProperty(exports3, "encodeHTML4", {
|
|
25109
|
-
enumerable: true,
|
|
25110
|
-
get: function() {
|
|
25111
|
-
return encode_2.encodeHTML;
|
|
25112
|
-
}
|
|
25113
|
-
});
|
|
25114
|
-
Object.defineProperty(exports3, "encodeHTML5", {
|
|
25115
|
-
enumerable: true,
|
|
25116
|
-
get: function() {
|
|
25117
|
-
return encode_2.encodeHTML;
|
|
25118
|
-
}
|
|
25119
|
-
});
|
|
25120
|
-
var decode_2 = decode;
|
|
25121
|
-
Object.defineProperty(exports3, "decodeXML", {
|
|
25122
|
-
enumerable: true,
|
|
25123
|
-
get: function() {
|
|
25124
|
-
return decode_2.decodeXML;
|
|
25125
|
-
}
|
|
25126
|
-
});
|
|
25127
|
-
Object.defineProperty(exports3, "decodeHTML", {
|
|
25128
|
-
enumerable: true,
|
|
25129
|
-
get: function() {
|
|
25130
|
-
return decode_2.decodeHTML;
|
|
25131
|
-
}
|
|
25132
|
-
});
|
|
25133
|
-
Object.defineProperty(exports3, "decodeHTMLStrict", {
|
|
25134
|
-
enumerable: true,
|
|
25135
|
-
get: function() {
|
|
25136
|
-
return decode_2.decodeHTMLStrict;
|
|
25137
|
-
}
|
|
25138
|
-
});
|
|
25139
|
-
Object.defineProperty(exports3, "decodeHTML4", {
|
|
25140
|
-
enumerable: true,
|
|
25141
|
-
get: function() {
|
|
25142
|
-
return decode_2.decodeHTML;
|
|
25143
|
-
}
|
|
25144
|
-
});
|
|
25145
|
-
Object.defineProperty(exports3, "decodeHTML5", {
|
|
25146
|
-
enumerable: true,
|
|
25147
|
-
get: function() {
|
|
25148
|
-
return decode_2.decodeHTML;
|
|
25149
|
-
}
|
|
25150
|
-
});
|
|
25151
|
-
Object.defineProperty(exports3, "decodeHTML4Strict", {
|
|
25152
|
-
enumerable: true,
|
|
25153
|
-
get: function() {
|
|
25154
|
-
return decode_2.decodeHTMLStrict;
|
|
25155
|
-
}
|
|
25156
|
-
});
|
|
25157
|
-
Object.defineProperty(exports3, "decodeHTML5Strict", {
|
|
25158
|
-
enumerable: true,
|
|
25159
|
-
get: function() {
|
|
25160
|
-
return decode_2.decodeHTMLStrict;
|
|
25161
|
-
}
|
|
25218
|
+
foreignNames.attributeNames = foreignNames.elementNames = void 0;
|
|
25219
|
+
foreignNames.elementNames = /* @__PURE__ */ new Map([["altglyph", "altGlyph"], ["altglyphdef", "altGlyphDef"], ["altglyphitem", "altGlyphItem"], ["animatecolor", "animateColor"], ["animatemotion", "animateMotion"], ["animatetransform", "animateTransform"], ["clippath", "clipPath"], ["feblend", "feBlend"], ["fecolormatrix", "feColorMatrix"], ["fecomponenttransfer", "feComponentTransfer"], ["fecomposite", "feComposite"], ["feconvolvematrix", "feConvolveMatrix"], ["fediffuselighting", "feDiffuseLighting"], ["fedisplacementmap", "feDisplacementMap"], ["fedistantlight", "feDistantLight"], ["fedropshadow", "feDropShadow"], ["feflood", "feFlood"], ["fefunca", "feFuncA"], ["fefuncb", "feFuncB"], ["fefuncg", "feFuncG"], ["fefuncr", "feFuncR"], ["fegaussianblur", "feGaussianBlur"], ["feimage", "feImage"], ["femerge", "feMerge"], ["femergenode", "feMergeNode"], ["femorphology", "feMorphology"], ["feoffset", "feOffset"], ["fepointlight", "fePointLight"], ["fespecularlighting", "feSpecularLighting"], ["fespotlight", "feSpotLight"], ["fetile", "feTile"], ["feturbulence", "feTurbulence"], ["foreignobject", "foreignObject"], ["glyphref", "glyphRef"], ["lineargradient", "linearGradient"], ["radialgradient", "radialGradient"], ["textpath", "textPath"]]);
|
|
25220
|
+
foreignNames.attributeNames = /* @__PURE__ */ new Map([["definitionurl", "definitionURL"], ["attributename", "attributeName"], ["attributetype", "attributeType"], ["basefrequency", "baseFrequency"], ["baseprofile", "baseProfile"], ["calcmode", "calcMode"], ["clippathunits", "clipPathUnits"], ["diffuseconstant", "diffuseConstant"], ["edgemode", "edgeMode"], ["filterunits", "filterUnits"], ["glyphref", "glyphRef"], ["gradienttransform", "gradientTransform"], ["gradientunits", "gradientUnits"], ["kernelmatrix", "kernelMatrix"], ["kernelunitlength", "kernelUnitLength"], ["keypoints", "keyPoints"], ["keysplines", "keySplines"], ["keytimes", "keyTimes"], ["lengthadjust", "lengthAdjust"], ["limitingconeangle", "limitingConeAngle"], ["markerheight", "markerHeight"], ["markerunits", "markerUnits"], ["markerwidth", "markerWidth"], ["maskcontentunits", "maskContentUnits"], ["maskunits", "maskUnits"], ["numoctaves", "numOctaves"], ["pathlength", "pathLength"], ["patterncontentunits", "patternContentUnits"], ["patterntransform", "patternTransform"], ["patternunits", "patternUnits"], ["pointsatx", "pointsAtX"], ["pointsaty", "pointsAtY"], ["pointsatz", "pointsAtZ"], ["preservealpha", "preserveAlpha"], ["preserveaspectratio", "preserveAspectRatio"], ["primitiveunits", "primitiveUnits"], ["refx", "refX"], ["refy", "refY"], ["repeatcount", "repeatCount"], ["repeatdur", "repeatDur"], ["requiredextensions", "requiredExtensions"], ["requiredfeatures", "requiredFeatures"], ["specularconstant", "specularConstant"], ["specularexponent", "specularExponent"], ["spreadmethod", "spreadMethod"], ["startoffset", "startOffset"], ["stddeviation", "stdDeviation"], ["stitchtiles", "stitchTiles"], ["surfacescale", "surfaceScale"], ["systemlanguage", "systemLanguage"], ["tablevalues", "tableValues"], ["targetx", "targetX"], ["targety", "targetY"], ["textlength", "textLength"], ["viewbox", "viewBox"], ["viewtarget", "viewTarget"], ["xchannelselector", "xChannelSelector"], ["ychannelselector", "yChannelSelector"], ["zoomandpan", "zoomAndPan"]]);
|
|
25221
|
+
return foreignNames;
|
|
25222
|
+
}
|
|
25223
|
+
var hasRequiredLib$5;
|
|
25224
|
+
function requireLib$5() {
|
|
25225
|
+
if (hasRequiredLib$5) return lib$7;
|
|
25226
|
+
hasRequiredLib$5 = 1;
|
|
25227
|
+
var __assign2 = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
25228
|
+
__assign2 = Object.assign || function(t) {
|
|
25229
|
+
for (var s, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
|
25230
|
+
s = arguments[i2];
|
|
25231
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
25232
|
+
}
|
|
25233
|
+
return t;
|
|
25234
|
+
};
|
|
25235
|
+
return __assign2.apply(this, arguments);
|
|
25236
|
+
};
|
|
25237
|
+
var __createBinding2 = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25238
|
+
if (k2 === void 0) k2 = k;
|
|
25239
|
+
Object.defineProperty(o, k2, {
|
|
25240
|
+
enumerable: true,
|
|
25241
|
+
get: function() {
|
|
25242
|
+
return m[k];
|
|
25243
|
+
}
|
|
25244
|
+
});
|
|
25245
|
+
} : function(o, m, k, k2) {
|
|
25246
|
+
if (k2 === void 0) k2 = k;
|
|
25247
|
+
o[k2] = m[k];
|
|
25162
25248
|
});
|
|
25163
|
-
Object.
|
|
25164
|
-
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
}
|
|
25249
|
+
var __setModuleDefault2 = commonjsGlobal && commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
25250
|
+
Object.defineProperty(o, "default", {
|
|
25251
|
+
enumerable: true,
|
|
25252
|
+
value: v
|
|
25253
|
+
});
|
|
25254
|
+
} : function(o, v) {
|
|
25255
|
+
o["default"] = v;
|
|
25168
25256
|
});
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25172
|
-
|
|
25173
|
-
|
|
25174
|
-
foreignNames.attributeNames = foreignNames.elementNames = void 0;
|
|
25175
|
-
foreignNames.elementNames = /* @__PURE__ */ new Map([["altglyph", "altGlyph"], ["altglyphdef", "altGlyphDef"], ["altglyphitem", "altGlyphItem"], ["animatecolor", "animateColor"], ["animatemotion", "animateMotion"], ["animatetransform", "animateTransform"], ["clippath", "clipPath"], ["feblend", "feBlend"], ["fecolormatrix", "feColorMatrix"], ["fecomponenttransfer", "feComponentTransfer"], ["fecomposite", "feComposite"], ["feconvolvematrix", "feConvolveMatrix"], ["fediffuselighting", "feDiffuseLighting"], ["fedisplacementmap", "feDisplacementMap"], ["fedistantlight", "feDistantLight"], ["fedropshadow", "feDropShadow"], ["feflood", "feFlood"], ["fefunca", "feFuncA"], ["fefuncb", "feFuncB"], ["fefuncg", "feFuncG"], ["fefuncr", "feFuncR"], ["fegaussianblur", "feGaussianBlur"], ["feimage", "feImage"], ["femerge", "feMerge"], ["femergenode", "feMergeNode"], ["femorphology", "feMorphology"], ["feoffset", "feOffset"], ["fepointlight", "fePointLight"], ["fespecularlighting", "feSpecularLighting"], ["fespotlight", "feSpotLight"], ["fetile", "feTile"], ["feturbulence", "feTurbulence"], ["foreignobject", "foreignObject"], ["glyphref", "glyphRef"], ["lineargradient", "linearGradient"], ["radialgradient", "radialGradient"], ["textpath", "textPath"]]);
|
|
25176
|
-
foreignNames.attributeNames = /* @__PURE__ */ new Map([["definitionurl", "definitionURL"], ["attributename", "attributeName"], ["attributetype", "attributeType"], ["basefrequency", "baseFrequency"], ["baseprofile", "baseProfile"], ["calcmode", "calcMode"], ["clippathunits", "clipPathUnits"], ["diffuseconstant", "diffuseConstant"], ["edgemode", "edgeMode"], ["filterunits", "filterUnits"], ["glyphref", "glyphRef"], ["gradienttransform", "gradientTransform"], ["gradientunits", "gradientUnits"], ["kernelmatrix", "kernelMatrix"], ["kernelunitlength", "kernelUnitLength"], ["keypoints", "keyPoints"], ["keysplines", "keySplines"], ["keytimes", "keyTimes"], ["lengthadjust", "lengthAdjust"], ["limitingconeangle", "limitingConeAngle"], ["markerheight", "markerHeight"], ["markerunits", "markerUnits"], ["markerwidth", "markerWidth"], ["maskcontentunits", "maskContentUnits"], ["maskunits", "maskUnits"], ["numoctaves", "numOctaves"], ["pathlength", "pathLength"], ["patterncontentunits", "patternContentUnits"], ["patterntransform", "patternTransform"], ["patternunits", "patternUnits"], ["pointsatx", "pointsAtX"], ["pointsaty", "pointsAtY"], ["pointsatz", "pointsAtZ"], ["preservealpha", "preserveAlpha"], ["preserveaspectratio", "preserveAspectRatio"], ["primitiveunits", "primitiveUnits"], ["refx", "refX"], ["refy", "refY"], ["repeatcount", "repeatCount"], ["repeatdur", "repeatDur"], ["requiredextensions", "requiredExtensions"], ["requiredfeatures", "requiredFeatures"], ["specularconstant", "specularConstant"], ["specularexponent", "specularExponent"], ["spreadmethod", "spreadMethod"], ["startoffset", "startOffset"], ["stddeviation", "stdDeviation"], ["stitchtiles", "stitchTiles"], ["surfacescale", "surfaceScale"], ["systemlanguage", "systemLanguage"], ["tablevalues", "tableValues"], ["targetx", "targetX"], ["targety", "targetY"], ["textlength", "textLength"], ["viewbox", "viewBox"], ["viewtarget", "viewTarget"], ["xchannelselector", "xChannelSelector"], ["ychannelselector", "yChannelSelector"], ["zoomandpan", "zoomAndPan"]]);
|
|
25177
|
-
var __assign$1 = commonjsGlobal && commonjsGlobal.__assign || function() {
|
|
25178
|
-
__assign$1 = Object.assign || function(t) {
|
|
25179
|
-
for (var s, i2 = 1, n = arguments.length; i2 < n; i2++) {
|
|
25180
|
-
s = arguments[i2];
|
|
25181
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
25257
|
+
var __importStar2 = commonjsGlobal && commonjsGlobal.__importStar || function(mod2) {
|
|
25258
|
+
if (mod2 && mod2.__esModule) return mod2;
|
|
25259
|
+
var result = {};
|
|
25260
|
+
if (mod2 != null) {
|
|
25261
|
+
for (var k in mod2) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod2, k)) __createBinding2(result, mod2, k);
|
|
25182
25262
|
}
|
|
25183
|
-
|
|
25263
|
+
__setModuleDefault2(result, mod2);
|
|
25264
|
+
return result;
|
|
25184
25265
|
};
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
var __createBinding$2 = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
25188
|
-
if (k2 === void 0) k2 = k;
|
|
25189
|
-
Object.defineProperty(o, k2, {
|
|
25190
|
-
enumerable: true,
|
|
25191
|
-
get: function() {
|
|
25192
|
-
return m[k];
|
|
25193
|
-
}
|
|
25194
|
-
});
|
|
25195
|
-
} : function(o, m, k, k2) {
|
|
25196
|
-
if (k2 === void 0) k2 = k;
|
|
25197
|
-
o[k2] = m[k];
|
|
25198
|
-
});
|
|
25199
|
-
var __setModuleDefault$2 = commonjsGlobal && commonjsGlobal.__setModuleDefault || (Object.create ? function(o, v) {
|
|
25200
|
-
Object.defineProperty(o, "default", {
|
|
25201
|
-
enumerable: true,
|
|
25202
|
-
value: v
|
|
25266
|
+
Object.defineProperty(lib$7, "__esModule", {
|
|
25267
|
+
value: true
|
|
25203
25268
|
});
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25269
|
+
var ElementType = __importStar2(lib$8);
|
|
25270
|
+
var entities_1 = requireLib$6();
|
|
25271
|
+
var foreignNames_1 = requireForeignNames();
|
|
25272
|
+
var unencodedElements = /* @__PURE__ */ new Set(["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"]);
|
|
25273
|
+
function formatAttributes(attributes2, opts) {
|
|
25274
|
+
if (!attributes2) return;
|
|
25275
|
+
return Object.keys(attributes2).map(function(key) {
|
|
25276
|
+
var _a, _b;
|
|
25277
|
+
var value2 = (_a = attributes2[key]) !== null && _a !== void 0 ? _a : "";
|
|
25278
|
+
if (opts.xmlMode === "foreign") {
|
|
25279
|
+
key = (_b = foreignNames_1.attributeNames.get(key)) !== null && _b !== void 0 ? _b : key;
|
|
25280
|
+
}
|
|
25281
|
+
if (!opts.emptyAttrs && !opts.xmlMode && value2 === "") {
|
|
25282
|
+
return key;
|
|
25283
|
+
}
|
|
25284
|
+
return key + '="' + (opts.decodeEntities !== false ? entities_1.encodeXML(value2) : value2.replace(/"/g, """)) + '"';
|
|
25285
|
+
}).join(" ");
|
|
25212
25286
|
}
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
value: true
|
|
25218
|
-
});
|
|
25219
|
-
var ElementType = __importStar$2(lib$8);
|
|
25220
|
-
var entities_1 = lib$6;
|
|
25221
|
-
var foreignNames_1 = foreignNames;
|
|
25222
|
-
var unencodedElements = /* @__PURE__ */ new Set(["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"]);
|
|
25223
|
-
function formatAttributes(attributes2, opts) {
|
|
25224
|
-
if (!attributes2) return;
|
|
25225
|
-
return Object.keys(attributes2).map(function(key) {
|
|
25226
|
-
var _a, _b;
|
|
25227
|
-
var value2 = (_a = attributes2[key]) !== null && _a !== void 0 ? _a : "";
|
|
25228
|
-
if (opts.xmlMode === "foreign") {
|
|
25229
|
-
key = (_b = foreignNames_1.attributeNames.get(key)) !== null && _b !== void 0 ? _b : key;
|
|
25287
|
+
var singleTag = /* @__PURE__ */ new Set(["area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
25288
|
+
function render2(node2, options2) {
|
|
25289
|
+
if (options2 === void 0) {
|
|
25290
|
+
options2 = {};
|
|
25230
25291
|
}
|
|
25231
|
-
|
|
25232
|
-
|
|
25292
|
+
var nodes = "length" in node2 ? node2 : [node2];
|
|
25293
|
+
var output = "";
|
|
25294
|
+
for (var i2 = 0; i2 < nodes.length; i2++) {
|
|
25295
|
+
output += renderNode(nodes[i2], options2);
|
|
25233
25296
|
}
|
|
25234
|
-
return
|
|
25235
|
-
}).join(" ");
|
|
25236
|
-
}
|
|
25237
|
-
var singleTag = /* @__PURE__ */ new Set(["area", "base", "basefont", "br", "col", "command", "embed", "frame", "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
|
25238
|
-
function render$2(node2, options2) {
|
|
25239
|
-
if (options2 === void 0) {
|
|
25240
|
-
options2 = {};
|
|
25241
|
-
}
|
|
25242
|
-
var nodes = "length" in node2 ? node2 : [node2];
|
|
25243
|
-
var output = "";
|
|
25244
|
-
for (var i2 = 0; i2 < nodes.length; i2++) {
|
|
25245
|
-
output += renderNode(nodes[i2], options2);
|
|
25297
|
+
return output;
|
|
25246
25298
|
}
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25270
|
-
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
|
|
25274
|
-
|
|
25275
|
-
|
|
25276
|
-
|
|
25277
|
-
|
|
25299
|
+
lib$7.default = render2;
|
|
25300
|
+
function renderNode(node2, options2) {
|
|
25301
|
+
switch (node2.type) {
|
|
25302
|
+
case ElementType.Root:
|
|
25303
|
+
return render2(node2.children, options2);
|
|
25304
|
+
case ElementType.Directive:
|
|
25305
|
+
case ElementType.Doctype:
|
|
25306
|
+
return renderDirective(node2);
|
|
25307
|
+
case ElementType.Comment:
|
|
25308
|
+
return renderComment(node2);
|
|
25309
|
+
case ElementType.CDATA:
|
|
25310
|
+
return renderCdata(node2);
|
|
25311
|
+
case ElementType.Script:
|
|
25312
|
+
case ElementType.Style:
|
|
25313
|
+
case ElementType.Tag:
|
|
25314
|
+
return renderTag(node2, options2);
|
|
25315
|
+
case ElementType.Text:
|
|
25316
|
+
return renderText(node2, options2);
|
|
25317
|
+
}
|
|
25318
|
+
}
|
|
25319
|
+
var foreignModeIntegrationPoints = /* @__PURE__ */ new Set(["mi", "mo", "mn", "ms", "mtext", "annotation-xml", "foreignObject", "desc", "title"]);
|
|
25320
|
+
var foreignElements = /* @__PURE__ */ new Set(["svg", "math"]);
|
|
25321
|
+
function renderTag(elem, opts) {
|
|
25322
|
+
var _a;
|
|
25323
|
+
if (opts.xmlMode === "foreign") {
|
|
25324
|
+
elem.name = (_a = foreignNames_1.elementNames.get(elem.name)) !== null && _a !== void 0 ? _a : elem.name;
|
|
25325
|
+
if (elem.parent && foreignModeIntegrationPoints.has(elem.parent.name)) {
|
|
25326
|
+
opts = __assign2(__assign2({}, opts), {
|
|
25327
|
+
xmlMode: false
|
|
25328
|
+
});
|
|
25329
|
+
}
|
|
25330
|
+
}
|
|
25331
|
+
if (!opts.xmlMode && foreignElements.has(elem.name)) {
|
|
25332
|
+
opts = __assign2(__assign2({}, opts), {
|
|
25333
|
+
xmlMode: "foreign"
|
|
25278
25334
|
});
|
|
25279
25335
|
}
|
|
25336
|
+
var tag = "<" + elem.name;
|
|
25337
|
+
var attribs = formatAttributes(elem.attribs, opts);
|
|
25338
|
+
if (attribs) {
|
|
25339
|
+
tag += " " + attribs;
|
|
25340
|
+
}
|
|
25341
|
+
if (elem.children.length === 0 && (opts.xmlMode ? (
|
|
25342
|
+
// In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags
|
|
25343
|
+
opts.selfClosingTags !== false
|
|
25344
|
+
) : (
|
|
25345
|
+
// User explicitly asked for self-closing tags, even in HTML mode
|
|
25346
|
+
opts.selfClosingTags && singleTag.has(elem.name)
|
|
25347
|
+
))) {
|
|
25348
|
+
if (!opts.xmlMode) tag += " ";
|
|
25349
|
+
tag += "/>";
|
|
25350
|
+
} else {
|
|
25351
|
+
tag += ">";
|
|
25352
|
+
if (elem.children.length > 0) {
|
|
25353
|
+
tag += render2(elem.children, opts);
|
|
25354
|
+
}
|
|
25355
|
+
if (opts.xmlMode || !singleTag.has(elem.name)) {
|
|
25356
|
+
tag += "</" + elem.name + ">";
|
|
25357
|
+
}
|
|
25358
|
+
}
|
|
25359
|
+
return tag;
|
|
25280
25360
|
}
|
|
25281
|
-
|
|
25282
|
-
|
|
25283
|
-
xmlMode: "foreign"
|
|
25284
|
-
});
|
|
25285
|
-
}
|
|
25286
|
-
var tag = "<" + elem.name;
|
|
25287
|
-
var attribs = formatAttributes(elem.attribs, opts);
|
|
25288
|
-
if (attribs) {
|
|
25289
|
-
tag += " " + attribs;
|
|
25361
|
+
function renderDirective(elem) {
|
|
25362
|
+
return "<" + elem.data + ">";
|
|
25290
25363
|
}
|
|
25291
|
-
|
|
25292
|
-
|
|
25293
|
-
opts.
|
|
25294
|
-
|
|
25295
|
-
// User explicitly asked for self-closing tags, even in HTML mode
|
|
25296
|
-
opts.selfClosingTags && singleTag.has(elem.name)
|
|
25297
|
-
))) {
|
|
25298
|
-
if (!opts.xmlMode) tag += " ";
|
|
25299
|
-
tag += "/>";
|
|
25300
|
-
} else {
|
|
25301
|
-
tag += ">";
|
|
25302
|
-
if (elem.children.length > 0) {
|
|
25303
|
-
tag += render$2(elem.children, opts);
|
|
25304
|
-
}
|
|
25305
|
-
if (opts.xmlMode || !singleTag.has(elem.name)) {
|
|
25306
|
-
tag += "</" + elem.name + ">";
|
|
25364
|
+
function renderText(elem, opts) {
|
|
25365
|
+
var data2 = elem.data || "";
|
|
25366
|
+
if (opts.decodeEntities !== false && !(!opts.xmlMode && elem.parent && unencodedElements.has(elem.parent.name))) {
|
|
25367
|
+
data2 = entities_1.encodeXML(data2);
|
|
25307
25368
|
}
|
|
25369
|
+
return data2;
|
|
25308
25370
|
}
|
|
25309
|
-
|
|
25310
|
-
|
|
25311
|
-
function renderDirective(elem) {
|
|
25312
|
-
return "<" + elem.data + ">";
|
|
25313
|
-
}
|
|
25314
|
-
function renderText(elem, opts) {
|
|
25315
|
-
var data2 = elem.data || "";
|
|
25316
|
-
if (opts.decodeEntities !== false && !(!opts.xmlMode && elem.parent && unencodedElements.has(elem.parent.name))) {
|
|
25317
|
-
data2 = entities_1.encodeXML(data2);
|
|
25371
|
+
function renderCdata(elem) {
|
|
25372
|
+
return "<![CDATA[" + elem.children[0].data + "]]>";
|
|
25318
25373
|
}
|
|
25319
|
-
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
return
|
|
25323
|
-
}
|
|
25324
|
-
function renderComment(elem) {
|
|
25325
|
-
return "<!--" + elem.data + "-->";
|
|
25374
|
+
function renderComment(elem) {
|
|
25375
|
+
return "<!--" + elem.data + "-->";
|
|
25376
|
+
}
|
|
25377
|
+
return lib$7;
|
|
25326
25378
|
}
|
|
25327
25379
|
var __importDefault$3 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod2) {
|
|
25328
25380
|
return mod2 && mod2.__esModule ? mod2 : {
|
|
@@ -25334,7 +25386,7 @@
|
|
|
25334
25386
|
});
|
|
25335
25387
|
stringify.innerText = stringify.textContent = stringify.getText = stringify.getInnerHTML = stringify.getOuterHTML = void 0;
|
|
25336
25388
|
var domhandler_1$6 = lib$9;
|
|
25337
|
-
var dom_serializer_1 = __importDefault$3(
|
|
25389
|
+
var dom_serializer_1 = __importDefault$3(requireLib$5());
|
|
25338
25390
|
var domelementtype_1 = lib$8;
|
|
25339
25391
|
function getOuterHTML(node2, options2) {
|
|
25340
25392
|
return (0, dom_serializer_1.default)(node2, options2);
|
|
@@ -29076,8 +29128,8 @@
|
|
|
29076
29128
|
return __importDefault2(Tokenizer_12).default;
|
|
29077
29129
|
}
|
|
29078
29130
|
});
|
|
29079
|
-
var
|
|
29080
|
-
exports3.ElementType =
|
|
29131
|
+
var ElementType = __importStar2(lib$8);
|
|
29132
|
+
exports3.ElementType = ElementType;
|
|
29081
29133
|
__exportStar2(FeedHandler$1, exports3);
|
|
29082
29134
|
exports3.DomUtils = __importStar2(lib$a);
|
|
29083
29135
|
var FeedHandler_1 = FeedHandler$1;
|
|
@@ -37067,7 +37119,7 @@
|
|
|
37067
37119
|
return htmlparser2_12.parseDocument;
|
|
37068
37120
|
}
|
|
37069
37121
|
});
|
|
37070
|
-
var dom_serializer_12 =
|
|
37122
|
+
var dom_serializer_12 = requireLib$5();
|
|
37071
37123
|
Object.defineProperty(exports3, "render", {
|
|
37072
37124
|
enumerable: true,
|
|
37073
37125
|
get: function() {
|
|
@@ -65542,6 +65594,10 @@
|
|
|
65542
65594
|
name: "Axis Margin",
|
|
65543
65595
|
inlineOptions: sizesInPx([0, 10, 20, 30, 40, 50, 100, 200, 400], "px")
|
|
65544
65596
|
},
|
|
65597
|
+
reverseAxis: {
|
|
65598
|
+
name: "Reverse Axis",
|
|
65599
|
+
inlineOptions: YES_NO
|
|
65600
|
+
},
|
|
65545
65601
|
colorbarPosition: {
|
|
65546
65602
|
name: "Colorbar Position",
|
|
65547
65603
|
inlineOptions: {
|
|
@@ -78902,6 +78958,12 @@ ${x}` : x, "");
|
|
|
78902
78958
|
key: "draw",
|
|
78903
78959
|
value: function draw() {
|
|
78904
78960
|
this.axis.scale(this._yScale);
|
|
78961
|
+
if (this.options.reverseAxis === "yes" || this.options.reverseAxis === true) {
|
|
78962
|
+
const defaultFormat = format$1(",");
|
|
78963
|
+
this.axis.tickFormat((d) => defaultFormat(-d));
|
|
78964
|
+
} else {
|
|
78965
|
+
this.axis.tickFormat(null);
|
|
78966
|
+
}
|
|
78905
78967
|
this.gAxis.call(this.axis);
|
|
78906
78968
|
return this;
|
|
78907
78969
|
}
|
|
@@ -90297,7 +90359,7 @@ ${x}` : x, "");
|
|
|
90297
90359
|
toJSON,
|
|
90298
90360
|
toString
|
|
90299
90361
|
});
|
|
90300
|
-
const version = "2.1
|
|
90362
|
+
const version = "2.2.1";
|
|
90301
90363
|
const configs = {
|
|
90302
90364
|
..._configs,
|
|
90303
90365
|
IS_TRACK_RANGE_SELECTABLE,
|
|
@@ -107767,6 +107829,7 @@ ${svgString}`;
|
|
|
107767
107829
|
isFromVerticalTrack: evt.isFromVerticalTrack
|
|
107768
107830
|
});
|
|
107769
107831
|
this.showHoverMenu(evt);
|
|
107832
|
+
this.showHoverUids(evt);
|
|
107770
107833
|
}
|
|
107771
107834
|
}, {
|
|
107772
107835
|
key: "getMinMaxValue",
|
|
@@ -107785,6 +107848,22 @@ ${svgString}`;
|
|
|
107785
107848
|
}
|
|
107786
107849
|
return [track.minVisibleValueInTiles(ignoreFixedScale), track.maxVisibleValueInTiles(ignoreFixedScale)];
|
|
107787
107850
|
}
|
|
107851
|
+
/*
|
|
107852
|
+
* Someone has hovered over an item in sourceTrack so we need to inform
|
|
107853
|
+
* any other track that has that item that it's been hovered over.
|
|
107854
|
+
*/
|
|
107855
|
+
}, {
|
|
107856
|
+
key: "showHoverUids",
|
|
107857
|
+
value: function showHoverUids(evt) {
|
|
107858
|
+
var _a;
|
|
107859
|
+
const mouseOverUids = ((_a = evt.track) == null ? void 0 : _a.getMouseOverUids) ? evt.track.getMouseOverUids(evt.relTrackX, evt.relTrackY) : null;
|
|
107860
|
+
for (const track of this.iterateOverTracks()) {
|
|
107861
|
+
const trackObj = getTrackObjById(this.tiledPlots, track.viewId, track.trackId);
|
|
107862
|
+
if (trackObj.itemsHovered) {
|
|
107863
|
+
trackObj.itemsHovered(mouseOverUids);
|
|
107864
|
+
}
|
|
107865
|
+
}
|
|
107866
|
+
}
|
|
107788
107867
|
/**
|
|
107789
107868
|
* Show a menu displaying some information about the track under it
|
|
107790
107869
|
*/
|