@hpcc-js/composite 3.2.12 → 3.2.14
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/dist/index.js +570 -569
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
2
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
4
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
3
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
6
4
|
import { HTMLWidget, FAChar, select, selectAll, Utility as Utility$1, d3Event, Platform, drag, SVGWidget, Database, Palette, format, scaleOrdinal, ProgressBar, ToggleButton, Text, Button, Spacer, TitleBar, IconBar, scaleLinear, dispatch, formatPrefix, formatLocale, formatSpecifier, sum, map } from "@hpcc-js/common";
|
|
7
5
|
import { Table } from "@hpcc-js/dgrid";
|
|
@@ -12,9 +10,7 @@ const PKG_NAME = "@hpcc-js/composite";
|
|
|
12
10
|
const PKG_VERSION = "3.1.1";
|
|
13
11
|
const BUILD_VERSION = "3.2.1";
|
|
14
12
|
var __defProp2 = Object.defineProperty;
|
|
15
|
-
var __defNormalProp2 = /* @__PURE__ */ __name((obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value, "__defNormalProp");
|
|
16
13
|
var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", { value, configurable: true }), "__name");
|
|
17
|
-
var __publicField2 = /* @__PURE__ */ __name((obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value), "__publicField");
|
|
18
14
|
function _mergeNamespaces(n, m) {
|
|
19
15
|
for (var i = 0; i < m.length; i++) {
|
|
20
16
|
const e = m[i];
|
|
@@ -95,13 +91,13 @@ AbsoluteSurface.prototype.publish("widgetHeight", "100", "string", "Widget Heigh
|
|
|
95
91
|
AbsoluteSurface.prototype.publish("widget", null, "widget", "Widget", null, { tags: ["Private"] });
|
|
96
92
|
AbsoluteSurface.prototype.publish("opacity", 1, "number", "Opacity");
|
|
97
93
|
const _Accordion = (_b = class extends HTMLWidget {
|
|
94
|
+
_isClosed;
|
|
95
|
+
titleSpan;
|
|
96
|
+
iconDiv;
|
|
97
|
+
ul;
|
|
98
|
+
icon;
|
|
98
99
|
constructor() {
|
|
99
100
|
super();
|
|
100
|
-
__publicField2(this, "_isClosed");
|
|
101
|
-
__publicField2(this, "titleSpan");
|
|
102
|
-
__publicField2(this, "iconDiv");
|
|
103
|
-
__publicField2(this, "ul");
|
|
104
|
-
__publicField2(this, "icon");
|
|
105
101
|
this._tag = "div";
|
|
106
102
|
this._isClosed = false;
|
|
107
103
|
}
|
|
@@ -198,9 +194,9 @@ Accordion.prototype.publish("titleFontColor", "#FFFFFF", "html-color", "Title fo
|
|
|
198
194
|
Accordion.prototype.publish("titleBackgroundColor", "#333333", "html-color", "Title background color", null, { tags: ["Private"] });
|
|
199
195
|
Accordion.prototype.publish("defaultCollapsed", false, "boolean", "Collapsed by default if true", null, { tags: ["Private"] });
|
|
200
196
|
const _Surface = (_c = class extends HTMLWidget {
|
|
197
|
+
_surfaceButtons;
|
|
201
198
|
constructor() {
|
|
202
199
|
super();
|
|
203
|
-
__publicField2(this, "_surfaceButtons");
|
|
204
200
|
this._tag = "div";
|
|
205
201
|
this._surfaceButtons = [];
|
|
206
202
|
}
|
|
@@ -296,9 +292,9 @@ Surface.prototype.publish("surfaceBorderRadius", null, "number", "Surface Border
|
|
|
296
292
|
Surface.prototype.publish("buttonAnnotations", [], "array", "Button Array", null, { tags: ["Private"] });
|
|
297
293
|
Surface.prototype.publish("widget", null, "widget", "Widget", null, { tags: ["Basic"] });
|
|
298
294
|
const _Cell = (_d = class extends Surface {
|
|
295
|
+
_indicateTheseIds;
|
|
299
296
|
constructor() {
|
|
300
297
|
super();
|
|
301
|
-
__publicField2(this, "_indicateTheseIds");
|
|
302
298
|
this._indicateTheseIds = [];
|
|
303
299
|
}
|
|
304
300
|
indicateTheseIds(_) {
|
|
@@ -349,31 +345,28 @@ Cell.prototype.publish("indicatorGlowColor", "#EEEE11", "html-color", "Glow colo
|
|
|
349
345
|
Cell.prototype.publish("indicatorBorderColor", "#F48A00", "html-color", "Border color of update-indicator", null, { tags: ["Basic"] });
|
|
350
346
|
Cell.prototype.publish("indicatorOpacity", 0.8, "number", "Opacity of update-indicator", null, { tags: ["Basic"] });
|
|
351
347
|
const _Border = (_e = class extends HTMLWidget {
|
|
348
|
+
_colCount;
|
|
349
|
+
_rowCount;
|
|
350
|
+
_colSize;
|
|
351
|
+
_rowSize;
|
|
352
|
+
_shrinkWrapBoxes;
|
|
353
|
+
_watch;
|
|
354
|
+
_offsetX;
|
|
355
|
+
_offsetY;
|
|
356
|
+
_dragCell;
|
|
357
|
+
_dragCellSize;
|
|
358
|
+
_dragCellStartSize;
|
|
359
|
+
_handleTop;
|
|
360
|
+
_handleLeft;
|
|
361
|
+
_dragPrevX;
|
|
362
|
+
_dragPrevY;
|
|
363
|
+
_cellSizes;
|
|
364
|
+
contentDiv;
|
|
365
|
+
_scrollBarWidth;
|
|
366
|
+
_borderHandles;
|
|
367
|
+
_sectionTypeArr;
|
|
352
368
|
constructor() {
|
|
353
369
|
super();
|
|
354
|
-
__publicField2(this, "_colCount");
|
|
355
|
-
__publicField2(this, "_rowCount");
|
|
356
|
-
__publicField2(this, "_colSize");
|
|
357
|
-
__publicField2(this, "_rowSize");
|
|
358
|
-
__publicField2(this, "_shrinkWrapBoxes");
|
|
359
|
-
__publicField2(this, "_watch");
|
|
360
|
-
__publicField2(this, "_offsetX");
|
|
361
|
-
__publicField2(this, "_offsetY");
|
|
362
|
-
__publicField2(this, "_dragCell");
|
|
363
|
-
__publicField2(this, "_dragCellSize");
|
|
364
|
-
__publicField2(this, "_dragCellStartSize");
|
|
365
|
-
__publicField2(this, "_handleTop");
|
|
366
|
-
__publicField2(this, "_handleLeft");
|
|
367
|
-
__publicField2(this, "_dragPrevX");
|
|
368
|
-
__publicField2(this, "_dragPrevY");
|
|
369
|
-
__publicField2(this, "_cellSizes");
|
|
370
|
-
__publicField2(this, "contentDiv");
|
|
371
|
-
__publicField2(this, "_scrollBarWidth");
|
|
372
|
-
__publicField2(this, "_borderHandles");
|
|
373
|
-
__publicField2(this, "_sectionTypeArr");
|
|
374
|
-
__publicField2(this, "lazyPostUpdate", Utility$1.debounce(function() {
|
|
375
|
-
this.postUpdate();
|
|
376
|
-
}, 100));
|
|
377
370
|
this._tag = "div";
|
|
378
371
|
this._colCount = 0;
|
|
379
372
|
this._rowCount = 0;
|
|
@@ -400,6 +393,9 @@ const _Border = (_e = class extends HTMLWidget {
|
|
|
400
393
|
});
|
|
401
394
|
}
|
|
402
395
|
}
|
|
396
|
+
lazyPostUpdate = Utility$1.debounce(function() {
|
|
397
|
+
this.postUpdate();
|
|
398
|
+
}, 100);
|
|
403
399
|
applyLayoutType() {
|
|
404
400
|
const layoutObj = this.borderLayoutObject();
|
|
405
401
|
this.content().forEach(function(cell, i) {
|
|
@@ -865,12 +861,12 @@ Border.prototype.publish("bottomPercentage", 20, "number", "Percentage (of paren
|
|
|
865
861
|
Border.prototype.publish("surfacePadding", 0, "number", "Cell Padding (px)", null, { tags: ["Intermediate"] });
|
|
866
862
|
Border.prototype.publish("sectionTypes", [], "array", "Section Types sharing an index with 'content' - Used to determine position/size.", null, { tags: ["Private"] });
|
|
867
863
|
const _WidgetDiv = (_f = class {
|
|
864
|
+
_div;
|
|
865
|
+
_overlay = false;
|
|
866
|
+
_overflowX = "visible";
|
|
867
|
+
_overflowY = "visible";
|
|
868
|
+
_widget;
|
|
868
869
|
constructor(div) {
|
|
869
|
-
__publicField2(this, "_div");
|
|
870
|
-
__publicField2(this, "_overlay", false);
|
|
871
|
-
__publicField2(this, "_overflowX", "visible");
|
|
872
|
-
__publicField2(this, "_overflowY", "visible");
|
|
873
|
-
__publicField2(this, "_widget");
|
|
874
870
|
this._div = div;
|
|
875
871
|
}
|
|
876
872
|
overlay(_) {
|
|
@@ -954,18 +950,18 @@ const _WidgetDiv = (_f = class {
|
|
|
954
950
|
__name2(_WidgetDiv, "WidgetDiv");
|
|
955
951
|
let WidgetDiv = _WidgetDiv;
|
|
956
952
|
const _Border2 = (_g = class extends HTMLWidget {
|
|
953
|
+
_bodyElement;
|
|
954
|
+
_topWA;
|
|
955
|
+
_leftWA;
|
|
956
|
+
_centerWA;
|
|
957
|
+
_rightWA;
|
|
958
|
+
_bottomWA;
|
|
959
|
+
_topPrevOverflow;
|
|
960
|
+
_leftPrevOverflow;
|
|
961
|
+
_rightPrevOverflow;
|
|
962
|
+
_bottomPrevOverflow;
|
|
957
963
|
constructor() {
|
|
958
964
|
super();
|
|
959
|
-
__publicField2(this, "_bodyElement");
|
|
960
|
-
__publicField2(this, "_topWA");
|
|
961
|
-
__publicField2(this, "_leftWA");
|
|
962
|
-
__publicField2(this, "_centerWA");
|
|
963
|
-
__publicField2(this, "_rightWA");
|
|
964
|
-
__publicField2(this, "_bottomWA");
|
|
965
|
-
__publicField2(this, "_topPrevOverflow");
|
|
966
|
-
__publicField2(this, "_leftPrevOverflow");
|
|
967
|
-
__publicField2(this, "_rightPrevOverflow");
|
|
968
|
-
__publicField2(this, "_bottomPrevOverflow");
|
|
969
965
|
this._tag = "div";
|
|
970
966
|
}
|
|
971
967
|
enter(domNode, element) {
|
|
@@ -1124,11 +1120,8 @@ Border2.prototype.publish("right", null, "widget", "Right Widget", void 0, { ren
|
|
|
1124
1120
|
Border2.prototype.publish("bottom", null, "widget", "Bottom Widget", void 0, { render: false });
|
|
1125
1121
|
Border2.prototype.publish("bottomHeight", null, "number", "Bottom Fixed Height", void 0, { optional: true });
|
|
1126
1122
|
const _Carousel = (_h = class extends HTMLWidget {
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
__publicField2(this, "_prevActive", 0);
|
|
1130
|
-
__publicField2(this, "_root");
|
|
1131
|
-
}
|
|
1123
|
+
_prevActive = 0;
|
|
1124
|
+
_root;
|
|
1132
1125
|
activeWidget() {
|
|
1133
1126
|
return this.widgets()[this.active()];
|
|
1134
1127
|
}
|
|
@@ -1765,24 +1758,22 @@ function color() {
|
|
|
1765
1758
|
__name(color, "color");
|
|
1766
1759
|
__name2(color, "color");
|
|
1767
1760
|
const _Legend = (_i = class extends SVGWidget {
|
|
1761
|
+
_owner;
|
|
1762
|
+
_targetWidget;
|
|
1763
|
+
_targetWidgetMonitor;
|
|
1764
|
+
_legendOrdinal;
|
|
1765
|
+
_disabled = [];
|
|
1766
|
+
_symbolTypeMap = {
|
|
1767
|
+
"circle": d3SymbolCircle,
|
|
1768
|
+
"cross": d3SymbolCross,
|
|
1769
|
+
"diamond": d3SymbolDiamond,
|
|
1770
|
+
"square": d3SymbolSquare,
|
|
1771
|
+
"star": d3SymbolStar,
|
|
1772
|
+
"triangle": d3SymbolTriangle,
|
|
1773
|
+
"wye": d3SymbolWye
|
|
1774
|
+
};
|
|
1768
1775
|
constructor(owner) {
|
|
1769
1776
|
super();
|
|
1770
|
-
__publicField2(this, "_owner");
|
|
1771
|
-
__publicField2(this, "_targetWidget");
|
|
1772
|
-
__publicField2(this, "_targetWidgetMonitor");
|
|
1773
|
-
__publicField2(this, "_legendOrdinal");
|
|
1774
|
-
__publicField2(this, "_disabled", []);
|
|
1775
|
-
__publicField2(this, "_symbolTypeMap", {
|
|
1776
|
-
"circle": d3SymbolCircle,
|
|
1777
|
-
"cross": d3SymbolCross,
|
|
1778
|
-
"diamond": d3SymbolDiamond,
|
|
1779
|
-
"square": d3SymbolSquare,
|
|
1780
|
-
"star": d3SymbolStar,
|
|
1781
|
-
"triangle": d3SymbolTriangle,
|
|
1782
|
-
"wye": d3SymbolWye
|
|
1783
|
-
});
|
|
1784
|
-
__publicField2(this, "_g");
|
|
1785
|
-
__publicField2(this, "_containerSize");
|
|
1786
1777
|
this._owner = owner;
|
|
1787
1778
|
this._drawStartPos = "origin";
|
|
1788
1779
|
const context = this;
|
|
@@ -1910,6 +1901,7 @@ const _Legend = (_i = class extends SVGWidget {
|
|
|
1910
1901
|
fillColor(row, col, sel) {
|
|
1911
1902
|
return this.fillColorFunc()(row, col, sel);
|
|
1912
1903
|
}
|
|
1904
|
+
_g;
|
|
1913
1905
|
enter(domNode, element) {
|
|
1914
1906
|
super.enter(domNode, element);
|
|
1915
1907
|
this._g = element.append("g").attr("class", "legendOrdinal");
|
|
@@ -2126,6 +2118,7 @@ const _Legend = (_i = class extends SVGWidget {
|
|
|
2126
2118
|
}
|
|
2127
2119
|
onMouseOver(rowData, rowIdx) {
|
|
2128
2120
|
}
|
|
2121
|
+
_containerSize;
|
|
2129
2122
|
resize(_size) {
|
|
2130
2123
|
let retVal;
|
|
2131
2124
|
if (this.fitToContent()) {
|
|
@@ -2161,17 +2154,17 @@ Legend.prototype.publish("shapeRadius", 7, "number", "Radius of legend shape (pi
|
|
|
2161
2154
|
Legend.prototype.publish("fitToContent", true, "boolean", "If true, resize will simply reapply the bounding box dimensions");
|
|
2162
2155
|
Legend.prototype.publish("labelAlign", "start", "set", "Horizontal alignment of legend item label (for horizontal orientation only)", ["start", "middle", "end"], { optional: true, disable: /* @__PURE__ */ __name2((w) => w.orientation() === "vertical", "disable") });
|
|
2163
2156
|
const _Modal = (_j = class extends HTMLWidget {
|
|
2157
|
+
_widget;
|
|
2158
|
+
_relativeTarget;
|
|
2159
|
+
_fade;
|
|
2160
|
+
_modal;
|
|
2161
|
+
_modalHeader;
|
|
2162
|
+
_modalBody;
|
|
2163
|
+
_modalHeaderAnnotations;
|
|
2164
|
+
_modalHeaderCloseButton;
|
|
2165
|
+
_close;
|
|
2164
2166
|
constructor() {
|
|
2165
2167
|
super();
|
|
2166
|
-
__publicField2(this, "_widget");
|
|
2167
|
-
__publicField2(this, "_relativeTarget");
|
|
2168
|
-
__publicField2(this, "_fade");
|
|
2169
|
-
__publicField2(this, "_modal");
|
|
2170
|
-
__publicField2(this, "_modalHeader");
|
|
2171
|
-
__publicField2(this, "_modalBody");
|
|
2172
|
-
__publicField2(this, "_modalHeaderAnnotations");
|
|
2173
|
-
__publicField2(this, "_modalHeaderCloseButton");
|
|
2174
|
-
__publicField2(this, "_close");
|
|
2175
2168
|
this._tag = "div";
|
|
2176
2169
|
}
|
|
2177
2170
|
closeModal() {
|
|
@@ -2308,65 +2301,59 @@ Modal.prototype.publish("fixedLeft", null, "string", "fixedLeft");
|
|
|
2308
2301
|
Modal.prototype.publish("overflowX", "hidden", "string", "overflowX");
|
|
2309
2302
|
Modal.prototype.publish("overflowY", "scroll", "string", "overflowY");
|
|
2310
2303
|
const _ChartPanel = (_k = class extends Border2 {
|
|
2304
|
+
_legend = new Legend(this).enableOverflow(true);
|
|
2305
|
+
_progressBar = new ProgressBar();
|
|
2306
|
+
_autoScale = false;
|
|
2307
|
+
_resolutions = {
|
|
2308
|
+
tiny: { width: 100, height: 100 },
|
|
2309
|
+
small: { width: 300, height: 300 }
|
|
2310
|
+
};
|
|
2311
|
+
_modal = new Modal();
|
|
2312
|
+
_highlight;
|
|
2313
|
+
_scale;
|
|
2314
|
+
_orig_size;
|
|
2315
|
+
_toggleInfo = new ToggleButton().faChar("fa-info-circle").tooltip(".Description").selected(false).on("enabled", () => {
|
|
2316
|
+
return this.description() !== "";
|
|
2317
|
+
}).on("click", () => {
|
|
2318
|
+
if (this._toggleInfo.selected()) {
|
|
2319
|
+
this._modal.title(this.title()).widget(new Text().text(this.description())).show(true).render();
|
|
2320
|
+
const origCloseFunc = this._modal._close;
|
|
2321
|
+
this._modal._close = () => {
|
|
2322
|
+
this._toggleInfo.selected(false).render();
|
|
2323
|
+
this._modal._close = origCloseFunc;
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
}).on("mouseMove", () => {
|
|
2327
|
+
}).on("mouseOut", () => {
|
|
2328
|
+
});
|
|
2329
|
+
_toggleData = new ToggleButton().faChar("fa-table").tooltip("Data").on("click", () => {
|
|
2330
|
+
this.dataVisible(this._toggleData.selected());
|
|
2331
|
+
this.render();
|
|
2332
|
+
});
|
|
2333
|
+
_buttonDownload = new Button().faChar("fa-download").tooltip("Download").on("click", () => {
|
|
2334
|
+
this.downloadCSV();
|
|
2335
|
+
});
|
|
2336
|
+
_buttonDownloadImage = new Button().faChar("fa-image").tooltip("Download Image").on("click", () => {
|
|
2337
|
+
this.downloadPNG();
|
|
2338
|
+
});
|
|
2339
|
+
_toggleLegend = new ToggleButton().faChar("fa-list-ul").tooltip("Legend").selected(false).on("click", () => {
|
|
2340
|
+
const selected = this._toggleLegend.selected();
|
|
2341
|
+
if (this.legendPosition() === "bottom") {
|
|
2342
|
+
this.showBottom(selected);
|
|
2343
|
+
} else if (this.legendPosition() === "right") {
|
|
2344
|
+
this.showRight(selected);
|
|
2345
|
+
}
|
|
2346
|
+
this.legendVisible(selected);
|
|
2347
|
+
this.render();
|
|
2348
|
+
});
|
|
2349
|
+
_spacer = new Spacer();
|
|
2350
|
+
_titleBar = new TitleBar().buttons([this._toggleData, this._buttonDownload, this._buttonDownloadImage, this._spacer, this._toggleLegend]);
|
|
2351
|
+
_carousel = new Carousel();
|
|
2352
|
+
_table = new Table();
|
|
2353
|
+
_widget;
|
|
2354
|
+
_hideLegendToggleList = ["dgrid_Table"];
|
|
2311
2355
|
constructor() {
|
|
2312
2356
|
super();
|
|
2313
|
-
__publicField2(this, "_legend", new Legend(this).enableOverflow(true));
|
|
2314
|
-
__publicField2(this, "_progressBar", new ProgressBar());
|
|
2315
|
-
__publicField2(this, "_autoScale", false);
|
|
2316
|
-
__publicField2(this, "_resolutions", {
|
|
2317
|
-
tiny: { width: 100, height: 100 },
|
|
2318
|
-
small: { width: 300, height: 300 }
|
|
2319
|
-
});
|
|
2320
|
-
__publicField2(this, "_modal", new Modal());
|
|
2321
|
-
__publicField2(this, "_highlight");
|
|
2322
|
-
__publicField2(this, "_scale");
|
|
2323
|
-
__publicField2(this, "_orig_size");
|
|
2324
|
-
__publicField2(this, "_toggleInfo", new ToggleButton().faChar("fa-info-circle").tooltip(".Description").selected(false).on("enabled", () => {
|
|
2325
|
-
return this.description() !== "";
|
|
2326
|
-
}).on("click", () => {
|
|
2327
|
-
if (this._toggleInfo.selected()) {
|
|
2328
|
-
this._modal.title(this.title()).widget(new Text().text(this.description())).show(true).render();
|
|
2329
|
-
const origCloseFunc = this._modal._close;
|
|
2330
|
-
this._modal._close = () => {
|
|
2331
|
-
this._toggleInfo.selected(false).render();
|
|
2332
|
-
this._modal._close = origCloseFunc;
|
|
2333
|
-
};
|
|
2334
|
-
}
|
|
2335
|
-
}).on("mouseMove", () => {
|
|
2336
|
-
}).on("mouseOut", () => {
|
|
2337
|
-
}));
|
|
2338
|
-
__publicField2(this, "_toggleData", new ToggleButton().faChar("fa-table").tooltip("Data").on("click", () => {
|
|
2339
|
-
this.dataVisible(this._toggleData.selected());
|
|
2340
|
-
this.render();
|
|
2341
|
-
}));
|
|
2342
|
-
__publicField2(this, "_buttonDownload", new Button().faChar("fa-download").tooltip("Download").on("click", () => {
|
|
2343
|
-
this.downloadCSV();
|
|
2344
|
-
}));
|
|
2345
|
-
__publicField2(this, "_buttonDownloadImage", new Button().faChar("fa-image").tooltip("Download Image").on("click", () => {
|
|
2346
|
-
this.downloadPNG();
|
|
2347
|
-
}));
|
|
2348
|
-
__publicField2(this, "_toggleLegend", new ToggleButton().faChar("fa-list-ul").tooltip("Legend").selected(false).on("click", () => {
|
|
2349
|
-
const selected = this._toggleLegend.selected();
|
|
2350
|
-
if (this.legendPosition() === "bottom") {
|
|
2351
|
-
this.showBottom(selected);
|
|
2352
|
-
} else if (this.legendPosition() === "right") {
|
|
2353
|
-
this.showRight(selected);
|
|
2354
|
-
}
|
|
2355
|
-
this.legendVisible(selected);
|
|
2356
|
-
this.render();
|
|
2357
|
-
}));
|
|
2358
|
-
__publicField2(this, "_spacer", new Spacer());
|
|
2359
|
-
__publicField2(this, "_titleBar", new TitleBar().buttons([this._toggleData, this._buttonDownload, this._buttonDownloadImage, this._spacer, this._toggleLegend]));
|
|
2360
|
-
__publicField2(this, "_carousel", new Carousel());
|
|
2361
|
-
__publicField2(this, "_table", new Table());
|
|
2362
|
-
__publicField2(this, "_widget");
|
|
2363
|
-
__publicField2(this, "_hideLegendToggleList", ["dgrid_Table"]);
|
|
2364
|
-
__publicField2(this, "_prevdataVisible");
|
|
2365
|
-
__publicField2(this, "_prevlegendVisible");
|
|
2366
|
-
__publicField2(this, "_prevLegendPosition");
|
|
2367
|
-
__publicField2(this, "_prevChartDataFamily");
|
|
2368
|
-
__publicField2(this, "_prevChart");
|
|
2369
|
-
__publicField2(this, "_prevButtons");
|
|
2370
2357
|
this._tag = "div";
|
|
2371
2358
|
}
|
|
2372
2359
|
fields(_) {
|
|
@@ -2497,6 +2484,12 @@ const _ChartPanel = (_k = class extends Border2 {
|
|
|
2497
2484
|
element.select("div.title-icon").style("position", "static");
|
|
2498
2485
|
element.style("transform", "translate(0px,0px) scale(1)");
|
|
2499
2486
|
}
|
|
2487
|
+
_prevdataVisible;
|
|
2488
|
+
_prevlegendVisible;
|
|
2489
|
+
_prevLegendPosition;
|
|
2490
|
+
_prevChartDataFamily;
|
|
2491
|
+
_prevChart;
|
|
2492
|
+
_prevButtons;
|
|
2500
2493
|
update(domNode, element) {
|
|
2501
2494
|
super.update(domNode, element);
|
|
2502
2495
|
}
|
|
@@ -2814,380 +2807,388 @@ FlexGrid.prototype.publish("flexBasis", "10%", "string", "Default flex-basis sty
|
|
|
2814
2807
|
FlexGrid.prototype.publish("widgetsFlexGrow", [], "array", "Array of flex-grow values keyed on the widgets array");
|
|
2815
2808
|
FlexGrid.prototype.publish("widgetsFlexBasis", [], "array", "Array of flex-basis values keyed on the widgets array");
|
|
2816
2809
|
FlexGrid.prototype.publish("widgets", [], "widgetArray", "Array of widgets to be rendered as list items");
|
|
2817
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2818
2810
|
function getDefaultExportFromCjs(x) {
|
|
2819
2811
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
2820
2812
|
}
|
|
2821
2813
|
__name(getDefaultExportFromCjs, "getDefaultExportFromCjs");
|
|
2822
2814
|
__name2(getDefaultExportFromCjs, "getDefaultExportFromCjs");
|
|
2823
|
-
var gridList$
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
if (!this._options.hasOwnProperty(k2)) {
|
|
2834
|
-
this._options[k2] = this.defaults[k2];
|
|
2835
|
-
}
|
|
2836
|
-
}
|
|
2837
|
-
this.items = items;
|
|
2838
|
-
this._adjustSizeOfItems();
|
|
2839
|
-
this.generateGrid();
|
|
2840
|
-
}, "GridList");
|
|
2841
|
-
GridList2.cloneItems = function(items, _items) {
|
|
2842
|
-
var i, k2;
|
|
2843
|
-
if (_items === void 0) {
|
|
2844
|
-
_items = [];
|
|
2815
|
+
var gridList$2 = { exports: {} };
|
|
2816
|
+
var gridList$1 = gridList$2.exports;
|
|
2817
|
+
var hasRequiredGridList;
|
|
2818
|
+
function requireGridList() {
|
|
2819
|
+
if (hasRequiredGridList) return gridList$2.exports;
|
|
2820
|
+
hasRequiredGridList = 1;
|
|
2821
|
+
(function(module, exports) {
|
|
2822
|
+
(function(root, factory) {
|
|
2823
|
+
{
|
|
2824
|
+
module.exports = factory();
|
|
2845
2825
|
}
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
}
|
|
2853
|
-
}
|
|
2854
|
-
return _items;
|
|
2855
|
-
};
|
|
2856
|
-
GridList2.prototype = {
|
|
2857
|
-
defaults: {
|
|
2858
|
-
lanes: 5,
|
|
2859
|
-
direction: "horizontal"
|
|
2860
|
-
},
|
|
2861
|
-
/**
|
|
2862
|
-
* Illustates grid as text-based table, using a number identifier for each
|
|
2863
|
-
* item. E.g.
|
|
2864
|
-
*
|
|
2865
|
-
* #| 0 1 2 3 4 5 6 7 8 9 10 11 12 13
|
|
2866
|
-
* --------------------------------------------
|
|
2867
|
-
* 0| 00 02 03 04 04 06 08 08 08 12 12 13 14 16
|
|
2868
|
-
* 1| 01 -- 03 05 05 07 09 10 11 11 -- 13 15 --
|
|
2869
|
-
*
|
|
2870
|
-
* Warn: Does not work if items don't have a width or height specified
|
|
2871
|
-
* besides their position in the grid.
|
|
2872
|
-
*/
|
|
2873
|
-
toString: /* @__PURE__ */ __name2(function() {
|
|
2874
|
-
var widthOfGrid = this.grid.length, output = "\n #|", border = "\n --", item, i, j;
|
|
2875
|
-
for (i = 0; i < widthOfGrid; i++) {
|
|
2876
|
-
output += " " + this._padNumber(i, " ");
|
|
2877
|
-
border += "---";
|
|
2878
|
-
}
|
|
2879
|
-
output += border;
|
|
2880
|
-
for (i = 0; i < this._options.lanes; i++) {
|
|
2881
|
-
output += "\n" + this._padNumber(i, " ") + "|";
|
|
2882
|
-
for (j = 0; j < widthOfGrid; j++) {
|
|
2883
|
-
output += " ";
|
|
2884
|
-
item = this.grid[j][i];
|
|
2885
|
-
output += item ? this._padNumber(this.items.indexOf(item), "0") : "--";
|
|
2826
|
+
})(gridList$1, function() {
|
|
2827
|
+
var GridList2 = /* @__PURE__ */ __name2(function(items, options) {
|
|
2828
|
+
this._options = options;
|
|
2829
|
+
for (var k2 in this.defaults) {
|
|
2830
|
+
if (!this._options.hasOwnProperty(k2)) {
|
|
2831
|
+
this._options[k2] = this.defaults[k2];
|
|
2886
2832
|
}
|
|
2887
2833
|
}
|
|
2888
|
-
|
|
2889
|
-
return output;
|
|
2890
|
-
}, "toString"),
|
|
2891
|
-
generateGrid: /* @__PURE__ */ __name2(function() {
|
|
2892
|
-
var i;
|
|
2893
|
-
this._resetGrid();
|
|
2894
|
-
for (i = 0; i < this.items.length; i++) {
|
|
2895
|
-
this._markItemPositionToGrid(this.items[i]);
|
|
2896
|
-
}
|
|
2897
|
-
}, "generateGrid"),
|
|
2898
|
-
resizeGrid: /* @__PURE__ */ __name2(function(lanes) {
|
|
2899
|
-
var currentColumn = 0;
|
|
2900
|
-
this._options.lanes = lanes;
|
|
2834
|
+
this.items = items;
|
|
2901
2835
|
this._adjustSizeOfItems();
|
|
2902
|
-
this.
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2836
|
+
this.generateGrid();
|
|
2837
|
+
}, "GridList");
|
|
2838
|
+
GridList2.cloneItems = function(items, _items) {
|
|
2839
|
+
var i, k2;
|
|
2840
|
+
if (_items === void 0) {
|
|
2841
|
+
_items = [];
|
|
2842
|
+
}
|
|
2843
|
+
for (i = 0; i < items.length; i++) {
|
|
2844
|
+
if (!_items[i]) {
|
|
2845
|
+
_items[i] = {};
|
|
2846
|
+
}
|
|
2847
|
+
for (k2 in items[i]) {
|
|
2848
|
+
_items[i][k2] = items[i][k2];
|
|
2849
|
+
}
|
|
2911
2850
|
}
|
|
2912
|
-
|
|
2913
|
-
}
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
2851
|
+
return _items;
|
|
2852
|
+
};
|
|
2853
|
+
GridList2.prototype = {
|
|
2854
|
+
defaults: {
|
|
2855
|
+
lanes: 5,
|
|
2856
|
+
direction: "horizontal"
|
|
2857
|
+
},
|
|
2858
|
+
/**
|
|
2859
|
+
* Illustates grid as text-based table, using a number identifier for each
|
|
2860
|
+
* item. E.g.
|
|
2861
|
+
*
|
|
2862
|
+
* #| 0 1 2 3 4 5 6 7 8 9 10 11 12 13
|
|
2863
|
+
* --------------------------------------------
|
|
2864
|
+
* 0| 00 02 03 04 04 06 08 08 08 12 12 13 14 16
|
|
2865
|
+
* 1| 01 -- 03 05 05 07 09 10 11 11 -- 13 15 --
|
|
2866
|
+
*
|
|
2867
|
+
* Warn: Does not work if items don't have a width or height specified
|
|
2868
|
+
* besides their position in the grid.
|
|
2869
|
+
*/
|
|
2870
|
+
toString: /* @__PURE__ */ __name2(function() {
|
|
2871
|
+
var widthOfGrid = this.grid.length, output = "\n #|", border = "\n --", item, i, j;
|
|
2872
|
+
for (i = 0; i < widthOfGrid; i++) {
|
|
2873
|
+
output += " " + this._padNumber(i, " ");
|
|
2874
|
+
border += "---";
|
|
2875
|
+
}
|
|
2876
|
+
output += border;
|
|
2877
|
+
for (i = 0; i < this._options.lanes; i++) {
|
|
2878
|
+
output += "\n" + this._padNumber(i, " ") + "|";
|
|
2879
|
+
for (j = 0; j < widthOfGrid; j++) {
|
|
2880
|
+
output += " ";
|
|
2881
|
+
item = this.grid[j][i];
|
|
2882
|
+
output += item ? this._padNumber(this.items.indexOf(item), "0") : "--";
|
|
2921
2883
|
}
|
|
2922
|
-
}
|
|
2923
|
-
|
|
2924
|
-
|
|
2884
|
+
}
|
|
2885
|
+
output += "\n";
|
|
2886
|
+
return output;
|
|
2887
|
+
}, "toString"),
|
|
2888
|
+
generateGrid: /* @__PURE__ */ __name2(function() {
|
|
2889
|
+
var i;
|
|
2890
|
+
this._resetGrid();
|
|
2891
|
+
for (i = 0; i < this.items.length; i++) {
|
|
2892
|
+
this._markItemPositionToGrid(this.items[i]);
|
|
2893
|
+
}
|
|
2894
|
+
}, "generateGrid"),
|
|
2895
|
+
resizeGrid: /* @__PURE__ */ __name2(function(lanes) {
|
|
2896
|
+
var currentColumn = 0;
|
|
2897
|
+
this._options.lanes = lanes;
|
|
2898
|
+
this._adjustSizeOfItems();
|
|
2899
|
+
this._sortItemsByPosition();
|
|
2900
|
+
this._resetGrid();
|
|
2901
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
2902
|
+
var item = this.items[i], position = this._getItemPosition(item);
|
|
2903
|
+
this._updateItemPosition(
|
|
2904
|
+
item,
|
|
2905
|
+
this.findPositionForItem(item, { x: currentColumn, y: 0 })
|
|
2906
|
+
);
|
|
2907
|
+
currentColumn = Math.max(currentColumn, position.x);
|
|
2908
|
+
}
|
|
2909
|
+
this._pullItemsToLeft();
|
|
2910
|
+
}, "resizeGrid"),
|
|
2911
|
+
findPositionForItem: /* @__PURE__ */ __name2(function(item, start, fixedRow) {
|
|
2912
|
+
var x, y, position;
|
|
2913
|
+
for (x = start.x; x < this.grid.length; x++) {
|
|
2914
|
+
if (fixedRow !== void 0) {
|
|
2915
|
+
position = [x, fixedRow];
|
|
2925
2916
|
if (this._itemFitsAtPosition(item, position)) {
|
|
2926
2917
|
return position;
|
|
2927
2918
|
}
|
|
2919
|
+
} else {
|
|
2920
|
+
for (y = start.y; y < this._options.lanes; y++) {
|
|
2921
|
+
position = [x, y];
|
|
2922
|
+
if (this._itemFitsAtPosition(item, position)) {
|
|
2923
|
+
return position;
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2928
2926
|
}
|
|
2929
2927
|
}
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
newRow = fixedRow;
|
|
2934
|
-
}
|
|
2935
|
-
return [newCol, newRow];
|
|
2936
|
-
}, "findPositionForItem"),
|
|
2937
|
-
moveItemToPosition: /* @__PURE__ */ __name2(function(item, newPosition) {
|
|
2938
|
-
var position = this._getItemPosition({
|
|
2939
|
-
x: newPosition[0],
|
|
2940
|
-
y: newPosition[1],
|
|
2941
|
-
w: item.w,
|
|
2942
|
-
h: item.h
|
|
2943
|
-
});
|
|
2944
|
-
this._updateItemPosition(item, [position.x, position.y]);
|
|
2945
|
-
this._resolveCollisions(item);
|
|
2946
|
-
}, "moveItemToPosition"),
|
|
2947
|
-
resizeItem: /* @__PURE__ */ __name2(function(item, size) {
|
|
2948
|
-
var width = size.w || item.w, height = size.h || item.h;
|
|
2949
|
-
this._updateItemSize(item, width, height);
|
|
2950
|
-
this._resolveCollisions(item);
|
|
2951
|
-
this._pullItemsToLeft();
|
|
2952
|
-
}, "resizeItem"),
|
|
2953
|
-
getChangedItems: /* @__PURE__ */ __name2(function(initialItems, idAttribute) {
|
|
2954
|
-
var changedItems = [];
|
|
2955
|
-
for (var i = 0; i < initialItems.length; i++) {
|
|
2956
|
-
var item = this._getItemByAttribute(
|
|
2957
|
-
idAttribute,
|
|
2958
|
-
initialItems[i][idAttribute]
|
|
2959
|
-
);
|
|
2960
|
-
if (item.x !== initialItems[i].x || item.y !== initialItems[i].y || item.w !== initialItems[i].w || item.h !== initialItems[i].h) {
|
|
2961
|
-
changedItems.push(item);
|
|
2928
|
+
var newCol = this.grid.length, newRow = 0;
|
|
2929
|
+
if (fixedRow !== void 0 && this._itemFitsAtPosition(item, [newCol, fixedRow])) {
|
|
2930
|
+
newRow = fixedRow;
|
|
2962
2931
|
}
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2932
|
+
return [newCol, newRow];
|
|
2933
|
+
}, "findPositionForItem"),
|
|
2934
|
+
moveItemToPosition: /* @__PURE__ */ __name2(function(item, newPosition) {
|
|
2935
|
+
var position = this._getItemPosition({
|
|
2936
|
+
x: newPosition[0],
|
|
2937
|
+
y: newPosition[1],
|
|
2938
|
+
w: item.w,
|
|
2939
|
+
h: item.h
|
|
2940
|
+
});
|
|
2941
|
+
this._updateItemPosition(item, [position.x, position.y]);
|
|
2942
|
+
this._resolveCollisions(item);
|
|
2943
|
+
}, "moveItemToPosition"),
|
|
2944
|
+
resizeItem: /* @__PURE__ */ __name2(function(item, size) {
|
|
2945
|
+
var width = size.w || item.w, height = size.h || item.h;
|
|
2946
|
+
this._updateItemSize(item, width, height);
|
|
2947
|
+
this._resolveCollisions(item);
|
|
2948
|
+
this._pullItemsToLeft();
|
|
2949
|
+
}, "resizeItem"),
|
|
2950
|
+
getChangedItems: /* @__PURE__ */ __name2(function(initialItems, idAttribute) {
|
|
2951
|
+
var changedItems = [];
|
|
2952
|
+
for (var i = 0; i < initialItems.length; i++) {
|
|
2953
|
+
var item = this._getItemByAttribute(
|
|
2954
|
+
idAttribute,
|
|
2955
|
+
initialItems[i][idAttribute]
|
|
2956
|
+
);
|
|
2957
|
+
if (item.x !== initialItems[i].x || item.y !== initialItems[i].y || item.w !== initialItems[i].w || item.h !== initialItems[i].h) {
|
|
2958
|
+
changedItems.push(item);
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
return changedItems;
|
|
2962
|
+
}, "getChangedItems"),
|
|
2963
|
+
_sortItemsByPosition: /* @__PURE__ */ __name2(function() {
|
|
2964
|
+
this.items.sort((function(item1, item2) {
|
|
2965
|
+
var position1 = this._getItemPosition(item1), position2 = this._getItemPosition(item2);
|
|
2966
|
+
if (position1.x != position2.x) {
|
|
2967
|
+
return position1.x - position2.x;
|
|
2968
|
+
}
|
|
2969
|
+
if (position1.y != position2.y) {
|
|
2970
|
+
return position1.y - position2.y;
|
|
2971
|
+
}
|
|
2972
|
+
return 0;
|
|
2973
|
+
}).bind(this));
|
|
2974
|
+
}, "_sortItemsByPosition"),
|
|
2975
|
+
_adjustSizeOfItems: /* @__PURE__ */ __name2(function() {
|
|
2976
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
2977
|
+
var item = this.items[i];
|
|
2978
|
+
if (item.autoSize === void 0) {
|
|
2979
|
+
item.autoSize = item.w === 0 || item.h === 0;
|
|
2980
|
+
}
|
|
2981
|
+
if (item.autoSize) {
|
|
2982
|
+
if (this._options.direction === "horizontal") {
|
|
2983
|
+
item.h = this._options.lanes;
|
|
2984
|
+
} else {
|
|
2985
|
+
item.w = this._options.lanes;
|
|
2986
|
+
}
|
|
2987
|
+
}
|
|
2971
2988
|
}
|
|
2972
|
-
|
|
2973
|
-
|
|
2989
|
+
}, "_adjustSizeOfItems"),
|
|
2990
|
+
_resetGrid: /* @__PURE__ */ __name2(function() {
|
|
2991
|
+
this.grid = [];
|
|
2992
|
+
}, "_resetGrid"),
|
|
2993
|
+
_itemFitsAtPosition: /* @__PURE__ */ __name2(function(item, newPosition) {
|
|
2994
|
+
var position = this._getItemPosition(item), x, y;
|
|
2995
|
+
if (newPosition[0] < 0 || newPosition[1] < 0) {
|
|
2996
|
+
return false;
|
|
2974
2997
|
}
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
}, "_sortItemsByPosition"),
|
|
2978
|
-
_adjustSizeOfItems: /* @__PURE__ */ __name2(function() {
|
|
2979
|
-
for (var i = 0; i < this.items.length; i++) {
|
|
2980
|
-
var item = this.items[i];
|
|
2981
|
-
if (item.autoSize === void 0) {
|
|
2982
|
-
item.autoSize = item.w === 0 || item.h === 0;
|
|
2998
|
+
if (newPosition[1] + position.h > this._options.lanes) {
|
|
2999
|
+
return false;
|
|
2983
3000
|
}
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
3001
|
+
for (x = newPosition[0]; x < newPosition[0] + position.w; x++) {
|
|
3002
|
+
var col = this.grid[x];
|
|
3003
|
+
if (!col) {
|
|
3004
|
+
continue;
|
|
3005
|
+
}
|
|
3006
|
+
for (y = newPosition[1]; y < newPosition[1] + position.h; y++) {
|
|
3007
|
+
if (col[y] && col[y] !== item) {
|
|
3008
|
+
return false;
|
|
3009
|
+
}
|
|
2989
3010
|
}
|
|
2990
3011
|
}
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
_itemFitsAtPosition: /* @__PURE__ */ __name2(function(item, newPosition) {
|
|
2997
|
-
var position = this._getItemPosition(item), x, y;
|
|
2998
|
-
if (newPosition[0] < 0 || newPosition[1] < 0) {
|
|
2999
|
-
return false;
|
|
3000
|
-
}
|
|
3001
|
-
if (newPosition[1] + position.h > this._options.lanes) {
|
|
3002
|
-
return false;
|
|
3003
|
-
}
|
|
3004
|
-
for (x = newPosition[0]; x < newPosition[0] + position.w; x++) {
|
|
3005
|
-
var col = this.grid[x];
|
|
3006
|
-
if (!col) {
|
|
3007
|
-
continue;
|
|
3012
|
+
return true;
|
|
3013
|
+
}, "_itemFitsAtPosition"),
|
|
3014
|
+
_updateItemPosition: /* @__PURE__ */ __name2(function(item, position) {
|
|
3015
|
+
if (item.x !== null && item.y !== null) {
|
|
3016
|
+
this._deleteItemPositionFromGrid(item);
|
|
3008
3017
|
}
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3018
|
+
this._setItemPosition(item, position);
|
|
3019
|
+
this._markItemPositionToGrid(item);
|
|
3020
|
+
}, "_updateItemPosition"),
|
|
3021
|
+
_updateItemSize: /* @__PURE__ */ __name2(function(item, width, height) {
|
|
3022
|
+
if (item.x !== null && item.y !== null) {
|
|
3023
|
+
this._deleteItemPositionFromGrid(item);
|
|
3024
|
+
}
|
|
3025
|
+
item.w = width;
|
|
3026
|
+
item.h = height;
|
|
3027
|
+
this._markItemPositionToGrid(item);
|
|
3028
|
+
}, "_updateItemSize"),
|
|
3029
|
+
_markItemPositionToGrid: /* @__PURE__ */ __name2(function(item) {
|
|
3030
|
+
var position = this._getItemPosition(item), x, y;
|
|
3031
|
+
this._ensureColumns(position.x + position.w);
|
|
3032
|
+
for (x = position.x; x < position.x + position.w; x++) {
|
|
3033
|
+
for (y = position.y; y < position.y + position.h; y++) {
|
|
3034
|
+
this.grid[x][y] = item;
|
|
3012
3035
|
}
|
|
3013
3036
|
}
|
|
3014
|
-
}
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
this._deleteItemPositionFromGrid(item);
|
|
3027
|
-
}
|
|
3028
|
-
item.w = width;
|
|
3029
|
-
item.h = height;
|
|
3030
|
-
this._markItemPositionToGrid(item);
|
|
3031
|
-
}, "_updateItemSize"),
|
|
3032
|
-
_markItemPositionToGrid: /* @__PURE__ */ __name2(function(item) {
|
|
3033
|
-
var position = this._getItemPosition(item), x, y;
|
|
3034
|
-
this._ensureColumns(position.x + position.w);
|
|
3035
|
-
for (x = position.x; x < position.x + position.w; x++) {
|
|
3036
|
-
for (y = position.y; y < position.y + position.h; y++) {
|
|
3037
|
-
this.grid[x][y] = item;
|
|
3037
|
+
}, "_markItemPositionToGrid"),
|
|
3038
|
+
_deleteItemPositionFromGrid: /* @__PURE__ */ __name2(function(item) {
|
|
3039
|
+
var position = this._getItemPosition(item), x, y;
|
|
3040
|
+
for (x = position.x; x < position.x + position.w; x++) {
|
|
3041
|
+
if (!this.grid[x]) {
|
|
3042
|
+
continue;
|
|
3043
|
+
}
|
|
3044
|
+
for (y = position.y; y < position.y + position.h; y++) {
|
|
3045
|
+
if (this.grid[x][y] == item) {
|
|
3046
|
+
this.grid[x][y] = null;
|
|
3047
|
+
}
|
|
3048
|
+
}
|
|
3038
3049
|
}
|
|
3039
|
-
}
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
3050
|
+
}, "_deleteItemPositionFromGrid"),
|
|
3051
|
+
_ensureColumns: /* @__PURE__ */ __name2(function(N) {
|
|
3052
|
+
var i;
|
|
3053
|
+
for (i = 0; i < N; i++) {
|
|
3054
|
+
if (!this.grid[i]) {
|
|
3055
|
+
this.grid.push(new GridCol(this._options.lanes));
|
|
3056
|
+
}
|
|
3046
3057
|
}
|
|
3047
|
-
|
|
3048
|
-
|
|
3049
|
-
|
|
3058
|
+
}, "_ensureColumns"),
|
|
3059
|
+
_getItemsCollidingWithItem: /* @__PURE__ */ __name2(function(item) {
|
|
3060
|
+
var collidingItems = [];
|
|
3061
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
3062
|
+
if (item != this.items[i] && this._itemsAreColliding(item, this.items[i])) {
|
|
3063
|
+
collidingItems.push(i);
|
|
3050
3064
|
}
|
|
3051
3065
|
}
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3066
|
+
return collidingItems;
|
|
3067
|
+
}, "_getItemsCollidingWithItem"),
|
|
3068
|
+
_itemsAreColliding: /* @__PURE__ */ __name2(function(item1, item2) {
|
|
3069
|
+
var position1 = this._getItemPosition(item1), position2 = this._getItemPosition(item2);
|
|
3070
|
+
return !(position2.x >= position1.x + position1.w || position2.x + position2.w <= position1.x || position2.y >= position1.y + position1.h || position2.y + position2.h <= position1.y);
|
|
3071
|
+
}, "_itemsAreColliding"),
|
|
3072
|
+
_resolveCollisions: /* @__PURE__ */ __name2(function(item) {
|
|
3073
|
+
if (!this._tryToResolveCollisionsLocally(item)) {
|
|
3074
|
+
this._pullItemsToLeft(item);
|
|
3059
3075
|
}
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
collidingItems.push(i);
|
|
3076
|
+
this._pullItemsToLeft();
|
|
3077
|
+
}, "_resolveCollisions"),
|
|
3078
|
+
_tryToResolveCollisionsLocally: /* @__PURE__ */ __name2(function(item) {
|
|
3079
|
+
var collidingItems = this._getItemsCollidingWithItem(item);
|
|
3080
|
+
if (!collidingItems.length) {
|
|
3081
|
+
return true;
|
|
3067
3082
|
}
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
for (var i = 0; i < collidingItems.length; i++) {
|
|
3090
|
-
var collidingItem = _gridList.items[collidingItems[i]], collidingPosition = this._getItemPosition(collidingItem);
|
|
3091
|
-
var position = this._getItemPosition(item);
|
|
3092
|
-
leftOfItem = [position.x - collidingPosition.w, collidingPosition.y];
|
|
3093
|
-
rightOfItem = [position.x + position.w, collidingPosition.y];
|
|
3094
|
-
aboveOfItem = [collidingPosition.x, position.y - collidingPosition.h];
|
|
3095
|
-
belowOfItem = [collidingPosition.x, position.y + position.h];
|
|
3096
|
-
if (_gridList._itemFitsAtPosition(collidingItem, leftOfItem)) {
|
|
3097
|
-
_gridList._updateItemPosition(collidingItem, leftOfItem);
|
|
3098
|
-
} else if (_gridList._itemFitsAtPosition(collidingItem, aboveOfItem)) {
|
|
3099
|
-
_gridList._updateItemPosition(collidingItem, aboveOfItem);
|
|
3100
|
-
} else if (_gridList._itemFitsAtPosition(collidingItem, belowOfItem)) {
|
|
3101
|
-
_gridList._updateItemPosition(collidingItem, belowOfItem);
|
|
3102
|
-
} else if (_gridList._itemFitsAtPosition(collidingItem, rightOfItem)) {
|
|
3103
|
-
_gridList._updateItemPosition(collidingItem, rightOfItem);
|
|
3104
|
-
} else {
|
|
3105
|
-
return false;
|
|
3083
|
+
var _gridList = new GridList2([], this._options), leftOfItem, rightOfItem, aboveOfItem, belowOfItem;
|
|
3084
|
+
GridList2.cloneItems(this.items, _gridList.items);
|
|
3085
|
+
_gridList.generateGrid();
|
|
3086
|
+
for (var i = 0; i < collidingItems.length; i++) {
|
|
3087
|
+
var collidingItem = _gridList.items[collidingItems[i]], collidingPosition = this._getItemPosition(collidingItem);
|
|
3088
|
+
var position = this._getItemPosition(item);
|
|
3089
|
+
leftOfItem = [position.x - collidingPosition.w, collidingPosition.y];
|
|
3090
|
+
rightOfItem = [position.x + position.w, collidingPosition.y];
|
|
3091
|
+
aboveOfItem = [collidingPosition.x, position.y - collidingPosition.h];
|
|
3092
|
+
belowOfItem = [collidingPosition.x, position.y + position.h];
|
|
3093
|
+
if (_gridList._itemFitsAtPosition(collidingItem, leftOfItem)) {
|
|
3094
|
+
_gridList._updateItemPosition(collidingItem, leftOfItem);
|
|
3095
|
+
} else if (_gridList._itemFitsAtPosition(collidingItem, aboveOfItem)) {
|
|
3096
|
+
_gridList._updateItemPosition(collidingItem, aboveOfItem);
|
|
3097
|
+
} else if (_gridList._itemFitsAtPosition(collidingItem, belowOfItem)) {
|
|
3098
|
+
_gridList._updateItemPosition(collidingItem, belowOfItem);
|
|
3099
|
+
} else if (_gridList._itemFitsAtPosition(collidingItem, rightOfItem)) {
|
|
3100
|
+
_gridList._updateItemPosition(collidingItem, rightOfItem);
|
|
3101
|
+
} else {
|
|
3102
|
+
return false;
|
|
3103
|
+
}
|
|
3106
3104
|
}
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3114
|
-
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
-
this._updateItemPosition(fixedItem, [fixedPosition.x, fixedPosition.y]);
|
|
3118
|
-
}
|
|
3119
|
-
for (var i = 0; i < this.items.length; i++) {
|
|
3120
|
-
var item = this.items[i], position = this._getItemPosition(item);
|
|
3121
|
-
if (fixedItem && item == fixedItem) {
|
|
3122
|
-
continue;
|
|
3105
|
+
GridList2.cloneItems(_gridList.items, this.items);
|
|
3106
|
+
this.generateGrid();
|
|
3107
|
+
return true;
|
|
3108
|
+
}, "_tryToResolveCollisionsLocally"),
|
|
3109
|
+
_pullItemsToLeft: /* @__PURE__ */ __name2(function(fixedItem) {
|
|
3110
|
+
this._sortItemsByPosition();
|
|
3111
|
+
this._resetGrid();
|
|
3112
|
+
if (fixedItem) {
|
|
3113
|
+
var fixedPosition = this._getItemPosition(fixedItem);
|
|
3114
|
+
this._updateItemPosition(fixedItem, [fixedPosition.x, fixedPosition.y]);
|
|
3123
3115
|
}
|
|
3124
|
-
var
|
|
3125
|
-
item,
|
|
3126
|
-
|
|
3127
|
-
position.y
|
|
3128
|
-
);
|
|
3129
|
-
this._updateItemPosition(item, newPosition);
|
|
3130
|
-
}
|
|
3131
|
-
}, "_pullItemsToLeft"),
|
|
3132
|
-
_findLeftMostPositionForItem: /* @__PURE__ */ __name2(function(item) {
|
|
3133
|
-
var tail = 0, position = this._getItemPosition(item);
|
|
3134
|
-
for (var i = 0; i < this.grid.length; i++) {
|
|
3135
|
-
for (var j = position.y; j < position.y + position.h; j++) {
|
|
3136
|
-
var otherItem = this.grid[i][j];
|
|
3137
|
-
if (!otherItem) {
|
|
3116
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
3117
|
+
var item = this.items[i], position = this._getItemPosition(item);
|
|
3118
|
+
if (fixedItem && item == fixedItem) {
|
|
3138
3119
|
continue;
|
|
3139
3120
|
}
|
|
3140
|
-
var
|
|
3141
|
-
|
|
3142
|
-
|
|
3121
|
+
var x = this._findLeftMostPositionForItem(item), newPosition = this.findPositionForItem(
|
|
3122
|
+
item,
|
|
3123
|
+
{ x, y: 0 },
|
|
3124
|
+
position.y
|
|
3125
|
+
);
|
|
3126
|
+
this._updateItemPosition(item, newPosition);
|
|
3127
|
+
}
|
|
3128
|
+
}, "_pullItemsToLeft"),
|
|
3129
|
+
_findLeftMostPositionForItem: /* @__PURE__ */ __name2(function(item) {
|
|
3130
|
+
var tail = 0, position = this._getItemPosition(item);
|
|
3131
|
+
for (var i = 0; i < this.grid.length; i++) {
|
|
3132
|
+
for (var j = position.y; j < position.y + position.h; j++) {
|
|
3133
|
+
var otherItem = this.grid[i][j];
|
|
3134
|
+
if (!otherItem) {
|
|
3135
|
+
continue;
|
|
3136
|
+
}
|
|
3137
|
+
var otherPosition = this._getItemPosition(otherItem);
|
|
3138
|
+
if (this.items.indexOf(otherItem) < this.items.indexOf(item)) {
|
|
3139
|
+
tail = otherPosition.x + otherPosition.w;
|
|
3140
|
+
}
|
|
3143
3141
|
}
|
|
3144
3142
|
}
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3143
|
+
return tail;
|
|
3144
|
+
}, "_findLeftMostPositionForItem"),
|
|
3145
|
+
_getItemByAttribute: /* @__PURE__ */ __name2(function(key, value) {
|
|
3146
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
3147
|
+
if (this.items[i][key] === value) {
|
|
3148
|
+
return this.items[i];
|
|
3149
|
+
}
|
|
3152
3150
|
}
|
|
3151
|
+
return null;
|
|
3152
|
+
}, "_getItemByAttribute"),
|
|
3153
|
+
_padNumber: /* @__PURE__ */ __name2(function(nr, prefix) {
|
|
3154
|
+
return nr >= 10 ? nr : prefix + nr;
|
|
3155
|
+
}, "_padNumber"),
|
|
3156
|
+
_getItemPosition: /* @__PURE__ */ __name2(function(item) {
|
|
3157
|
+
if (this._options.direction === "horizontal") {
|
|
3158
|
+
return item;
|
|
3159
|
+
} else {
|
|
3160
|
+
return {
|
|
3161
|
+
x: item.y,
|
|
3162
|
+
y: item.x,
|
|
3163
|
+
w: item.h,
|
|
3164
|
+
h: item.w
|
|
3165
|
+
};
|
|
3166
|
+
}
|
|
3167
|
+
}, "_getItemPosition"),
|
|
3168
|
+
_setItemPosition: /* @__PURE__ */ __name2(function(item, position) {
|
|
3169
|
+
if (this._options.direction === "horizontal") {
|
|
3170
|
+
item.x = position[0];
|
|
3171
|
+
item.y = position[1];
|
|
3172
|
+
} else {
|
|
3173
|
+
item.x = position[1];
|
|
3174
|
+
item.y = position[0];
|
|
3175
|
+
}
|
|
3176
|
+
}, "_setItemPosition")
|
|
3177
|
+
};
|
|
3178
|
+
var GridCol = /* @__PURE__ */ __name2(function(lanes) {
|
|
3179
|
+
for (var i = 0; i < lanes; i++) {
|
|
3180
|
+
this.push(null);
|
|
3153
3181
|
}
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
x: item.y,
|
|
3165
|
-
y: item.x,
|
|
3166
|
-
w: item.h,
|
|
3167
|
-
h: item.w
|
|
3168
|
-
};
|
|
3169
|
-
}
|
|
3170
|
-
}, "_getItemPosition"),
|
|
3171
|
-
_setItemPosition: /* @__PURE__ */ __name2(function(item, position) {
|
|
3172
|
-
if (this._options.direction === "horizontal") {
|
|
3173
|
-
item.x = position[0];
|
|
3174
|
-
item.y = position[1];
|
|
3175
|
-
} else {
|
|
3176
|
-
item.x = position[1];
|
|
3177
|
-
item.y = position[0];
|
|
3178
|
-
}
|
|
3179
|
-
}, "_setItemPosition")
|
|
3180
|
-
};
|
|
3181
|
-
var GridCol = /* @__PURE__ */ __name2(function(lanes) {
|
|
3182
|
-
for (var i = 0; i < lanes; i++) {
|
|
3183
|
-
this.push(null);
|
|
3184
|
-
}
|
|
3185
|
-
}, "GridCol");
|
|
3186
|
-
GridCol.prototype = [];
|
|
3187
|
-
return GridList2;
|
|
3188
|
-
});
|
|
3189
|
-
})(gridList$1);
|
|
3190
|
-
var gridListExports = gridList$1.exports;
|
|
3182
|
+
}, "GridCol");
|
|
3183
|
+
GridCol.prototype = [];
|
|
3184
|
+
return GridList2;
|
|
3185
|
+
});
|
|
3186
|
+
})(gridList$2);
|
|
3187
|
+
return gridList$2.exports;
|
|
3188
|
+
}
|
|
3189
|
+
__name(requireGridList, "requireGridList");
|
|
3190
|
+
__name2(requireGridList, "requireGridList");
|
|
3191
|
+
var gridListExports = requireGridList();
|
|
3191
3192
|
const gridList = /* @__PURE__ */ getDefaultExportFromCjs(gridListExports);
|
|
3192
3193
|
const _GridList = /* @__PURE__ */ _mergeNamespaces({
|
|
3193
3194
|
__proto__: null,
|
|
@@ -3195,21 +3196,21 @@ const _GridList = /* @__PURE__ */ _mergeNamespaces({
|
|
|
3195
3196
|
}, [gridListExports]);
|
|
3196
3197
|
const GridList = _GridList && gridList || _GridList;
|
|
3197
3198
|
const _Grid = (_m = class extends HTMLWidget {
|
|
3199
|
+
divItems;
|
|
3200
|
+
gridList;
|
|
3201
|
+
items;
|
|
3202
|
+
itemsMap;
|
|
3203
|
+
origItems;
|
|
3204
|
+
cellWidth;
|
|
3205
|
+
cellHeight;
|
|
3206
|
+
dragItem;
|
|
3207
|
+
dragItemPos;
|
|
3208
|
+
_d3Drag;
|
|
3209
|
+
_d3DragResize;
|
|
3210
|
+
_selectionBag;
|
|
3211
|
+
_scrollBarWidth;
|
|
3198
3212
|
constructor() {
|
|
3199
3213
|
super();
|
|
3200
|
-
__publicField2(this, "divItems");
|
|
3201
|
-
__publicField2(this, "gridList");
|
|
3202
|
-
__publicField2(this, "items");
|
|
3203
|
-
__publicField2(this, "itemsMap");
|
|
3204
|
-
__publicField2(this, "origItems");
|
|
3205
|
-
__publicField2(this, "cellWidth");
|
|
3206
|
-
__publicField2(this, "cellHeight");
|
|
3207
|
-
__publicField2(this, "dragItem");
|
|
3208
|
-
__publicField2(this, "dragItemPos");
|
|
3209
|
-
__publicField2(this, "_d3Drag");
|
|
3210
|
-
__publicField2(this, "_d3DragResize");
|
|
3211
|
-
__publicField2(this, "_selectionBag");
|
|
3212
|
-
__publicField2(this, "_scrollBarWidth");
|
|
3213
3214
|
this._tag = "div";
|
|
3214
3215
|
this._selectionBag = new Utility$1.Selection(this);
|
|
3215
3216
|
this.content([]);
|
|
@@ -3628,11 +3629,11 @@ __name2(_HorizontalList, "HorizontalList");
|
|
|
3628
3629
|
let HorizontalList = _HorizontalList;
|
|
3629
3630
|
HorizontalList.prototype._class += " layout_HorizontalList";
|
|
3630
3631
|
const _Layered = (_o = class extends HTMLWidget {
|
|
3632
|
+
_contentContainer;
|
|
3633
|
+
_widgetPlacements;
|
|
3634
|
+
_widgetRatios;
|
|
3631
3635
|
constructor() {
|
|
3632
3636
|
super();
|
|
3633
|
-
__publicField2(this, "_contentContainer");
|
|
3634
|
-
__publicField2(this, "_widgetPlacements");
|
|
3635
|
-
__publicField2(this, "_widgetRatios");
|
|
3636
3637
|
this._tag = "div";
|
|
3637
3638
|
this._widgetPlacements = [];
|
|
3638
3639
|
this._widgetRatios = [];
|
|
@@ -3728,10 +3729,10 @@ Layered.prototype._class += " layout_Layered";
|
|
|
3728
3729
|
Layered.prototype.publish("surfacePadding", 0, "number", "Padding");
|
|
3729
3730
|
Layered.prototype.publish("widgets", [], "widgetArray", "widgets", null, { tags: ["Private"] });
|
|
3730
3731
|
const _Popup = (_p = class extends HTMLWidget {
|
|
3732
|
+
_surfaceButtons;
|
|
3733
|
+
_originalPosition;
|
|
3731
3734
|
constructor() {
|
|
3732
3735
|
super();
|
|
3733
|
-
__publicField2(this, "_surfaceButtons");
|
|
3734
|
-
__publicField2(this, "_originalPosition");
|
|
3735
3736
|
this._tag = "div";
|
|
3736
3737
|
this._surfaceButtons = [];
|
|
3737
3738
|
}
|
|
@@ -3799,10 +3800,10 @@ Popup.prototype.publish("right", null, "number", "Right position property of pop
|
|
|
3799
3800
|
Popup.prototype.publish("position", "relative", "set", "Value of the 'position' property", ["absolute", "relative", "fixed", "static", "initial", "inherit"], { tags: ["Private"] });
|
|
3800
3801
|
Popup.prototype.publish("widget", null, "widget", "Widget", null, { tags: ["Private"] });
|
|
3801
3802
|
const _Tabbed = (_q = class extends HTMLWidget {
|
|
3803
|
+
_tabContainer;
|
|
3804
|
+
_contentContainer;
|
|
3802
3805
|
constructor() {
|
|
3803
3806
|
super();
|
|
3804
|
-
__publicField2(this, "_tabContainer");
|
|
3805
|
-
__publicField2(this, "_contentContainer");
|
|
3806
3807
|
this._tag = "div";
|
|
3807
3808
|
}
|
|
3808
3809
|
clearTabs() {
|
|
@@ -3976,16 +3977,16 @@ const _VerticalList = (_s = class extends FlexGrid {
|
|
|
3976
3977
|
__name2(_VerticalList, "VerticalList");
|
|
3977
3978
|
let VerticalList = _VerticalList;
|
|
3978
3979
|
VerticalList.prototype._class += " layout_VerticalList";
|
|
3979
|
-
!function() {
|
|
3980
|
+
!(function() {
|
|
3980
3981
|
try {
|
|
3981
3982
|
if ("undefined" != typeof document) {
|
|
3982
3983
|
var o = document.createElement("style");
|
|
3983
|
-
o.appendChild(document.createTextNode('.layout_AbsoluteSurface{pointer-events:none!important}.layout_AbsoluteSurface>.placeholder{position:relative;overflow:hidden;pointer-events:all}.layout_Accordion>ul{position:relative}.layout_Accordion.open>span{font-style:italic}.layout_Accordion.closed>ul{height:0px;overflow:hidden}.layout_Accordion.open>ul{display:block}.layout_Accordion>.collapsible-icon,.layout_Accordion>.collapsible-title{cursor:pointer;box-sizing:border-box}.layout_Accordion>.collapsible-title{display:block;width:100%}.layout_Accordion>.collapsible-title{font-size:13px;color:#fff;padding:4px 8px;height:26px;-webkit-box-shadow:inset 0px -1px 1px 0px rgba(0,0,0,.2);-moz-box-shadow:inset 0px -1px 1px 0px rgba(0,0,0,.2);box-shadow:inset 0 -1px 1px #0003}.layout_Accordion li{background-color:#fff}.layout_Accordion>ul,.layout_Accordion>.collapsible-title{background-color:#333}.layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion>.collapsible-title{background-color:#555}.layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#777}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#999}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#bbb}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#ccc}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#ddd}.layout_Accordion>ul,.layout_Accordion>span{padding-left:0}.layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion>span{padding-left:12px}.layout_Accordion>.collapsible-title:before{padding:4px 8px;position:absolute;left:0;top:0}.layout_Accordion>.collapsible-icon{position:absolute;top:0;right:0;width:24px;height:24px;color:#fff}.layout_Surface{box-sizing:border-box;margin:0;border:1px solid #e5e5e5;overflow:hidden;height:100%;width:100%}.layout_Surface.shadow2{box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0003,0 1px 5px #0000001f}.layout_Surface>h3{margin:0;padding:2px;background-color:#e5e5e5}.layout_Surface .html-button-container{position:absolute;right:0;top:3px}.layout_Surface>div{padding:8px}.layout_Surface .html-button-container .surface-button{margin-right:5px}.layout_Surface .html-button-container .surface-button i{opacity:.8}.layout_Surface .html-button-container .surface-button:hover{opacity:1}.layout_Surface .html-button-container .surface-button:active{opacity:.5}div[draggable=true].hideDragCellContent.content-icon:before{content:"";font-family:FontAwesome;position:absolute;top:calc(50% - 74px);left:calc(50% - 56px);font-size:100px}div[draggable=true].hideDragCellContent.content-icon-Line:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Pie:before{top:calc(50% - 72px);left:calc(50% - 45px);content:""}div[draggable=true].hideDragCellContent.content-icon-Area:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Gauge:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Table:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Form:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Grid:before,div[draggable=true].hideDragCellContent.content-icon-Graph:before,div[draggable=true].hideDragCellContent.content-icon-Border:before,div[draggable=true].hideDragCellContent.content-icon-Tabbed:before,div[draggable=true].hideDragCellContent.content-icon-Accordion:before,div[draggable=true].hideDragCellContent.content-icon-MultiChart:before,div[draggable=true].hideDragCellContent.content-icon-MultiChartSurface:before{content:""}div[draggable=true].hideDragCellContent.content-icon-ChoroplethStates:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethStatesHeat:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethCounties:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethCountries:before,div[draggable=true].hideDragCellContent.content-icon-GMap:before,div[draggable=true].hideDragCellContent.content-icon-GMapHeat:before,div[draggable=true].hideDragCellContent.content-icon-GMapGraph:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Text:before,div[draggable=true].hideDragCellContent.content-icon-TextBox:before,div[draggable=true].hideDragCellContent.content-icon-FAChar:before{content:""}.layout_Cell .update-indicator{box-sizing:border-box;position:absolute;top:0;left:0;padding:0;z-index:1000;border-width:0px;border-style:solid;pointer-events:none}.layout_Border{width:100%;height:100%}.layout_Border>.border-content{width:100%;height:100%;position:relative}.layout_Border>.borderHandle{width:6px;height:6px;background-color:#444;opacity:.3;position:absolute;visibility:hidden}.layout_Border.design-mode>.borderHandle{visibility:visible}.layout_Border>.borderHandle:hover{background-color:#666}.layout_Border>.borderHandle.borderHandleDisabled{display:none}.layout_Border>.borderHandle_top,.layout_Border>.borderHandle_bottom{cursor:ns-resize}.layout_Border>.borderHandle_left,.layout_Border>.borderHandle_right{cursor:ew-resize}.layout_Border .cell{border-radius:5px;border:1px solid #e5e5e5;display:inline-block;overflow:hidden}.layout_Border .cell h2{margin:0;padding-top:4px;-webkit-margin:0px;text-align:center}.layout_Border .layout_BorderCell.over{border:2px dashed #000}.layout_Border .dragItem{z-index:-1;opacity:.33}.layout_Border .notDragItem{z-index:-1;opacity:1}.layout_Border div[draggable=true]{opacity:.75;cursor:default}.layout_Border div[draggable=true] .dragHandle{opacity:1}.layout_Border div[draggable=true] .dragHandle_n,.layout_Border div[draggable=true] .dragHandle_e,.layout_Border div[draggable=true] .dragHandle_s,.layout_Border div[draggable=true] .dragHandle_w{background-color:#aaa}.layout_Border div[draggable=true] .dragHandle_nw,.layout_Border div[draggable=true] .dragHandle_ne,.layout_Border div[draggable=true] .dragHandle_se,.layout_Border div[draggable=true] .dragHandle_sw{background-color:#333}.layout_Border div[draggable=true] .dragHandle_nw{cursor:nw-resize}.layout_Border div[draggable=true] .dragHandle_n{cursor:n-resize}.layout_Border div[draggable=true] .dragHandle_ne{cursor:ne-resize}.layout_Border div[draggable=true] .dragHandle_e{cursor:e-resize}.layout_Border div[draggable=true] .dragHandle_se{cursor:se-resize}.layout_Border div[draggable=true] .dragHandle_s{cursor:s-resize}.layout_Border div[draggable=true] .dragHandle_sw{cursor:sw-resize}.layout_Border div[draggable=true] .dragHandle_w{cursor:w-resize}.layout_Border div[draggable=false]>div>.dragHandle{display:none}.layout_Border .grid-drop-target{position:fixed;box-sizing:border-box;border:2px dashed #7f8c8d;border-radius:0;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6464641a 4px,#6464641a 8px)}.layout_Border .grid-drop-target.drop-target-over{border:2px dashed #179BD7;background:repeating-linear-gradient(-45deg,#0000,#0000 6px,#119bd71a 6px,#119bd71a 12px)}.layout_Border2{display:flex;flex-direction:column}.layout_Border2>.body{margin:0;padding:0;display:flex;flex-flow:row}.layout_Border2>.body>.center{flex:1}.layout_Border2>.header{display:block}.layout_Border2>.footer{display:block}.layout_Carousel>div{position:relative;overflow:hidden}.layout_Carousel>div>.carouselItem{position:absolute}.layout_Modal-header{background-color:#3f51b5;overflow:hidden}.layout_Modal-body{background-color:#fff;overflow-y:scroll;overflow-x:hidden}.layout_Modal-title,.layout_Modal-annotations{position:absolute}.layout_Modal-closeButton{cursor:pointer}.layout_Modal-closeButton:hover{opacity:.7}.layout_Modal-closeButton:active{opacity:.5}.layout_Modal-fade{position:fixed;background-color:#000;opacity:.5;z-index:10000}.layout_Modal-content{position:fixed;background-color:#fff;z-index:10100}.layout_Modal-fade-hidden{display:none}.layout_Modal-fadeClickable{cursor:pointer}.layout_ChartPanel .series.highlight{stroke-width:2px;opacity:1}.layout_ChartPanel .series.lowlight{opacity:.3!important}.layout_FlexGrid{display:flex}.FlexGrid-list-item{overflow:hidden;border-style:solid;flex-grow:1}.layout_Grid>.ddCell{position:absolute}.layout_Grid>.laneBackground{position:absolute;border-style:solid;border-width:1px;background:#f5f5f5}.layout_Grid>.lane{position:absolute;border-style:none;opacity:.25;border-radius:0;pointer-events:none}.layout_Grid>.ddCell.draggable{border-style:solid;border-width:1px;background-color:#f8f8ff;border-radius:0;cursor:move}.layout_Grid>.ddCell.draggable>.resizeHandle{bottom:0;right:0;width:8px;height:8px;border-style:none;position:absolute;cursor:nwse-resize}.layout_Grid>.ddCell.draggable .resizeHandleDisplay{bottom:2px;right:2px;width:4px;height:4px;border-style:solid;border-left-width:0px;border-top-width:0px;border-right-width:2px;border-bottom-width:2px;border-color:#a9a9a9;background-color:none;position:absolute}.layout_Grid>.ddCell.draggable .resizeHandleDisplay:hover{border-color:orange}.layout_Grid>.dragging{border-style:solid;border-width:1px;border-color:gray;border-radius:0;position:absolute;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6464641a 4px,#6464641a 8px)}.layout_Grid>.resizing{border-style:solid;border-width:1px;border-color:gray;background-color:orange;border-radius:0;position:absolute;opacity:.3;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,orange 4px,orange 8px)}.layout_Grid>.ddCell.draggable .common_Widget.selected{border-style:solid;border-width:1px;border-color:red;background-color:gray;border-radius:0;position:absolute;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6400001a 4px,#6400001a 8px)}.layout_Grid #drag-me:before{content:"#" attr(id);font-weight:700}.layout_Layered{pointer-events:none}.layout_Layered>.container>.content{position:absolute}.layout_Layered>.container>.content>div>.common_Widget,.layout_Layered>.container>.content>div>svg>.common_Widget{pointer-events:all}.layout_Tabbed .tab-button{position:relative;top:1px;display:inline-block;border-left:1px solid #ddd;border-top:1px solid #ddd;border-right:1px solid #ddd;background-color:transparent;margin-right:4px;padding:2px 2px 4px;background-color:#ccc}.layout_Tabbed .tab-button.active{background-color:#fff;z-index:999}.layout_Tabbed .on_bottom .tab-button{border-bottom:1px solid #ddd;border-top:none;top:-1px}.layout_Toolbar{height:100%;background-color:#ddd;white-space:nowrap;overflow:hidden}.layout_Toolbar .toolbar-title{display:inline-block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);margin-left:4px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layout_Toolbar .toolbar-child{position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);float:right;margin-left:4px;margin-right:4px;line-height:16px}')), document.head.appendChild(o);
|
|
3984
|
+
o.appendChild(document.createTextNode('.layout_AbsoluteSurface{pointer-events:none!important}.layout_AbsoluteSurface>.placeholder{position:relative;overflow:hidden;pointer-events:all}.layout_Accordion>ul{position:relative}.layout_Accordion.open>span{font-style:italic}.layout_Accordion.closed>ul{height:0px;overflow:hidden}.layout_Accordion.open>ul{display:block}.layout_Accordion>.collapsible-icon,.layout_Accordion>.collapsible-title{cursor:pointer;box-sizing:border-box}.layout_Accordion>.collapsible-title{display:block;width:100%}.layout_Accordion>.collapsible-title{font-size:13px;color:#fff;padding:4px 8px;height:26px;-webkit-box-shadow:inset 0px -1px 1px 0px rgba(0,0,0,.2);-moz-box-shadow:inset 0px -1px 1px 0px rgba(0,0,0,.2);box-shadow:inset 0 -1px 1px #0003}.layout_Accordion li{background-color:#fff}.layout_Accordion>ul,.layout_Accordion>.collapsible-title{background-color:#333}.layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion>.collapsible-title{background-color:#555}.layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#777}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#999}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#bbb}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#ccc}.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion .layout_Accordion>.collapsible-title{background-color:#ddd}.layout_Accordion>ul,.layout_Accordion>span{padding-left:0}.layout_Accordion .layout_Accordion>ul,.layout_Accordion .layout_Accordion>span{padding-left:12px}.layout_Accordion>.collapsible-title:before{padding:4px 8px;position:absolute;left:0;top:0}.layout_Accordion>.collapsible-icon{position:absolute;top:0;right:0;width:24px;height:24px;color:#fff}.layout_Surface{box-sizing:border-box;margin:0;border:1px solid #e5e5e5;overflow:hidden;height:100%;width:100%}.layout_Surface.shadow2{box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0003,0 1px 5px #0000001f}.layout_Surface>h3{margin:0;padding:2px;background-color:#e5e5e5}.layout_Surface .html-button-container{position:absolute;right:0;top:3px}.layout_Surface>div{padding:8px}.layout_Surface .html-button-container .surface-button{margin-right:5px}.layout_Surface .html-button-container .surface-button i{opacity:.8}.layout_Surface .html-button-container .surface-button:hover{opacity:1}.layout_Surface .html-button-container .surface-button:active{opacity:.5}div[draggable=true].hideDragCellContent.content-icon:before{content:"";font-family:FontAwesome;position:absolute;top:calc(50% - 74px);left:calc(50% - 56px);font-size:100px}div[draggable=true].hideDragCellContent.content-icon-Line:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Pie:before{top:calc(50% - 72px);left:calc(50% - 45px);content:""}div[draggable=true].hideDragCellContent.content-icon-Area:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Gauge:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Table:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Form:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Grid:before,div[draggable=true].hideDragCellContent.content-icon-Graph:before,div[draggable=true].hideDragCellContent.content-icon-Border:before,div[draggable=true].hideDragCellContent.content-icon-Tabbed:before,div[draggable=true].hideDragCellContent.content-icon-Accordion:before,div[draggable=true].hideDragCellContent.content-icon-MultiChart:before,div[draggable=true].hideDragCellContent.content-icon-MultiChartSurface:before{content:""}div[draggable=true].hideDragCellContent.content-icon-ChoroplethStates:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethStatesHeat:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethCounties:before,div[draggable=true].hideDragCellContent.content-icon-ChoroplethCountries:before,div[draggable=true].hideDragCellContent.content-icon-GMap:before,div[draggable=true].hideDragCellContent.content-icon-GMapHeat:before,div[draggable=true].hideDragCellContent.content-icon-GMapGraph:before{content:""}div[draggable=true].hideDragCellContent.content-icon-Text:before,div[draggable=true].hideDragCellContent.content-icon-TextBox:before,div[draggable=true].hideDragCellContent.content-icon-FAChar:before{content:""}.layout_Cell .update-indicator{box-sizing:border-box;position:absolute;top:0;left:0;padding:0;z-index:1000;border-width:0px;border-style:solid;pointer-events:none}.layout_Border{width:100%;height:100%}.layout_Border>.border-content{width:100%;height:100%;position:relative}.layout_Border>.borderHandle{width:6px;height:6px;background-color:#444;opacity:.3;position:absolute;visibility:hidden}.layout_Border.design-mode>.borderHandle{visibility:visible}.layout_Border>.borderHandle:hover{background-color:#666}.layout_Border>.borderHandle.borderHandleDisabled{display:none}.layout_Border>.borderHandle_top,.layout_Border>.borderHandle_bottom{cursor:ns-resize}.layout_Border>.borderHandle_left,.layout_Border>.borderHandle_right{cursor:ew-resize}.layout_Border .cell{border-radius:5px;border:1px solid #e5e5e5;display:inline-block;overflow:hidden}.layout_Border .cell h2{margin:0;padding-top:4px;-webkit-margin:0px;text-align:center}.layout_Border .layout_BorderCell.over{border:2px dashed #000}.layout_Border .dragItem{z-index:-1;opacity:.33}.layout_Border .notDragItem{z-index:-1;opacity:1}.layout_Border div[draggable=true]{opacity:.75;cursor:default}.layout_Border div[draggable=true] .dragHandle{opacity:1}.layout_Border div[draggable=true] .dragHandle_n,.layout_Border div[draggable=true] .dragHandle_e,.layout_Border div[draggable=true] .dragHandle_s,.layout_Border div[draggable=true] .dragHandle_w{background-color:#aaa}.layout_Border div[draggable=true] .dragHandle_nw,.layout_Border div[draggable=true] .dragHandle_ne,.layout_Border div[draggable=true] .dragHandle_se,.layout_Border div[draggable=true] .dragHandle_sw{background-color:#333}.layout_Border div[draggable=true] .dragHandle_nw{cursor:nw-resize}.layout_Border div[draggable=true] .dragHandle_n{cursor:n-resize}.layout_Border div[draggable=true] .dragHandle_ne{cursor:ne-resize}.layout_Border div[draggable=true] .dragHandle_e{cursor:e-resize}.layout_Border div[draggable=true] .dragHandle_se{cursor:se-resize}.layout_Border div[draggable=true] .dragHandle_s{cursor:s-resize}.layout_Border div[draggable=true] .dragHandle_sw{cursor:sw-resize}.layout_Border div[draggable=true] .dragHandle_w{cursor:w-resize}.layout_Border div[draggable=false]>div>.dragHandle{display:none}.layout_Border .grid-drop-target{position:fixed;box-sizing:border-box;border:2px dashed #7f8c8d;border-radius:0;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6464641a 4px 8px)}.layout_Border .grid-drop-target.drop-target-over{border:2px dashed #179BD7;background:repeating-linear-gradient(-45deg,#0000,#0000 6px,#119bd71a 6px 12px)}.layout_Border2{display:flex;flex-direction:column}.layout_Border2>.body{margin:0;padding:0;display:flex;flex-flow:row}.layout_Border2>.body>.center{flex:1}.layout_Border2>.header{display:block}.layout_Border2>.footer{display:block}.layout_Carousel>div{position:relative;overflow:hidden}.layout_Carousel>div>.carouselItem{position:absolute}.layout_Modal-header{background-color:#3f51b5;overflow:hidden}.layout_Modal-body{background-color:#fff;overflow-y:scroll;overflow-x:hidden}.layout_Modal-title,.layout_Modal-annotations{position:absolute}.layout_Modal-closeButton{cursor:pointer}.layout_Modal-closeButton:hover{opacity:.7}.layout_Modal-closeButton:active{opacity:.5}.layout_Modal-fade{position:fixed;background-color:#000;opacity:.5;z-index:10000}.layout_Modal-content{position:fixed;background-color:#fff;z-index:10100}.layout_Modal-fade-hidden{display:none}.layout_Modal-fadeClickable{cursor:pointer}.layout_ChartPanel .series.highlight{stroke-width:2px;opacity:1}.layout_ChartPanel .series.lowlight{opacity:.3!important}.layout_FlexGrid{display:flex}.FlexGrid-list-item{overflow:hidden;border-style:solid;flex-grow:1}.layout_Grid>.ddCell{position:absolute}.layout_Grid>.laneBackground{position:absolute;border-style:solid;border-width:1px;background:#f5f5f5}.layout_Grid>.lane{position:absolute;border-style:none;opacity:.25;border-radius:0;pointer-events:none}.layout_Grid>.ddCell.draggable{border-style:solid;border-width:1px;background-color:#f8f8ff;border-radius:0;cursor:move}.layout_Grid>.ddCell.draggable>.resizeHandle{bottom:0;right:0;width:8px;height:8px;border-style:none;position:absolute;cursor:nwse-resize}.layout_Grid>.ddCell.draggable .resizeHandleDisplay{bottom:2px;right:2px;width:4px;height:4px;border-style:solid;border-left-width:0px;border-top-width:0px;border-right-width:2px;border-bottom-width:2px;border-color:#a9a9a9;background-color:none;position:absolute}.layout_Grid>.ddCell.draggable .resizeHandleDisplay:hover{border-color:orange}.layout_Grid>.dragging{border-style:solid;border-width:1px;border-color:gray;border-radius:0;position:absolute;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6464641a 4px 8px)}.layout_Grid>.resizing{border-style:solid;border-width:1px;border-color:gray;background-color:orange;border-radius:0;position:absolute;opacity:.3;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,orange 4px 8px)}.layout_Grid>.ddCell.draggable .common_Widget.selected{border-style:solid;border-width:1px;border-color:red;background-color:gray;border-radius:0;position:absolute;background:repeating-linear-gradient(-45deg,#0000,#0000 4px,#6400001a 4px 8px)}.layout_Grid #drag-me:before{content:"#" attr(id);font-weight:700}.layout_Layered{pointer-events:none}.layout_Layered>.container>.content{position:absolute}.layout_Layered>.container>.content>div>.common_Widget,.layout_Layered>.container>.content>div>svg>.common_Widget{pointer-events:all}.layout_Tabbed .tab-button{position:relative;top:1px;display:inline-block;border-left:1px solid #ddd;border-top:1px solid #ddd;border-right:1px solid #ddd;background-color:transparent;margin-right:4px;padding:2px 2px 4px;background-color:#ccc}.layout_Tabbed .tab-button.active{background-color:#fff;z-index:999}.layout_Tabbed .on_bottom .tab-button{border-bottom:1px solid #ddd;border-top:none;top:-1px}.layout_Toolbar{height:100%;background-color:#ddd;white-space:nowrap;overflow:hidden}.layout_Toolbar .toolbar-title{display:inline-block;position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);margin-left:4px;font-weight:700;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.layout_Toolbar .toolbar-child{position:relative;top:50%;transform:translateY(-50%);-ms-transform:translateY(-50%);float:right;margin-left:4px;margin-right:4px;line-height:16px}')), document.head.appendChild(o);
|
|
3984
3985
|
}
|
|
3985
3986
|
} catch (e) {
|
|
3986
3987
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
3987
3988
|
}
|
|
3988
|
-
}();
|
|
3989
|
+
})();
|
|
3989
3990
|
function requireWidget(classID) {
|
|
3990
3991
|
return new Promise(function(resolve, _reject) {
|
|
3991
3992
|
const parsedClassID = Utility$1.parseClassID(classID);
|
|
@@ -4011,13 +4012,13 @@ const Utility = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4011
4012
|
requireWidgets
|
|
4012
4013
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4013
4014
|
const _MultiChart = class _MultiChart extends HTMLWidget {
|
|
4015
|
+
_allCharts = {};
|
|
4016
|
+
_chartTypeDefaults;
|
|
4017
|
+
_chartTypeProperties;
|
|
4018
|
+
_chartMonitor;
|
|
4019
|
+
_switchingTo;
|
|
4014
4020
|
constructor() {
|
|
4015
4021
|
super();
|
|
4016
|
-
__publicField(this, "_allCharts", {});
|
|
4017
|
-
__publicField(this, "_chartTypeDefaults");
|
|
4018
|
-
__publicField(this, "_chartTypeProperties");
|
|
4019
|
-
__publicField(this, "_chartMonitor");
|
|
4020
|
-
__publicField(this, "_switchingTo");
|
|
4021
4022
|
INDChart.call(this);
|
|
4022
4023
|
IGraph.call(this);
|
|
4023
4024
|
this._tag = "div";
|
|
@@ -4388,17 +4389,13 @@ __name(_MultiChartPanel, "MultiChartPanel");
|
|
|
4388
4389
|
let MultiChartPanel = _MultiChartPanel;
|
|
4389
4390
|
MultiChartPanel.prototype._class += " composite_MultiChartPanel";
|
|
4390
4391
|
const _Dermatology = class _Dermatology extends Border {
|
|
4392
|
+
_toolbar;
|
|
4393
|
+
_propEditor;
|
|
4394
|
+
_showProperties;
|
|
4395
|
+
_propsButton;
|
|
4396
|
+
_prevWidget;
|
|
4391
4397
|
constructor() {
|
|
4392
4398
|
super();
|
|
4393
|
-
__publicField(this, "_toolbar");
|
|
4394
|
-
__publicField(this, "_propEditor");
|
|
4395
|
-
__publicField(this, "_showProperties");
|
|
4396
|
-
__publicField(this, "_propsButton");
|
|
4397
|
-
__publicField(this, "_prevWidget");
|
|
4398
|
-
__publicField(this, "showToolbar");
|
|
4399
|
-
__publicField(this, "showToolbar_exists");
|
|
4400
|
-
__publicField(this, "widget");
|
|
4401
|
-
__publicField(this, "widget_exists");
|
|
4402
4399
|
this._toolbar = new Toolbar().title("Dermatology");
|
|
4403
4400
|
this._propEditor = new PropertyEditor().show_settings(true);
|
|
4404
4401
|
}
|
|
@@ -4443,6 +4440,10 @@ const _Dermatology = class _Dermatology extends Border {
|
|
|
4443
4440
|
}
|
|
4444
4441
|
return super.render(callback);
|
|
4445
4442
|
}
|
|
4443
|
+
showToolbar;
|
|
4444
|
+
showToolbar_exists;
|
|
4445
|
+
widget;
|
|
4446
|
+
widget_exists;
|
|
4446
4447
|
};
|
|
4447
4448
|
__name(_Dermatology, "Dermatology");
|
|
4448
4449
|
let Dermatology = _Dermatology;
|
|
@@ -4450,69 +4451,27 @@ Dermatology.prototype._class += " composite_Dermatology";
|
|
|
4450
4451
|
Dermatology.prototype.publish("showToolbar", true, "boolean", "Show Toolbar");
|
|
4451
4452
|
Dermatology.prototype.publish("widget", null, "widget", "Widget");
|
|
4452
4453
|
const _MegaChart = class _MegaChart extends Border {
|
|
4454
|
+
_chart = new MultiChart();
|
|
4455
|
+
_toolbar = new Toolbar();
|
|
4456
|
+
_valueTitle = new Text();
|
|
4457
|
+
_domainTitle = new Text();
|
|
4458
|
+
_legend = new Legend$1();
|
|
4459
|
+
_csvButton;
|
|
4460
|
+
_infoButton;
|
|
4461
|
+
_maximizeButton;
|
|
4462
|
+
_legendButton;
|
|
4463
|
+
_chartTypeSelect;
|
|
4464
|
+
_prevLegendPosition;
|
|
4465
|
+
_prevShowToolbar;
|
|
4466
|
+
_1DChartTypes;
|
|
4467
|
+
_2DChartTypes;
|
|
4468
|
+
_NDChartTypes;
|
|
4469
|
+
_anyChartTypes;
|
|
4470
|
+
_allChartTypes;
|
|
4471
|
+
_contentClasses;
|
|
4472
|
+
_dataCount;
|
|
4453
4473
|
constructor() {
|
|
4454
4474
|
super();
|
|
4455
|
-
__publicField(this, "_chart", new MultiChart());
|
|
4456
|
-
__publicField(this, "_toolbar", new Toolbar());
|
|
4457
|
-
__publicField(this, "_valueTitle", new Text());
|
|
4458
|
-
__publicField(this, "_domainTitle", new Text());
|
|
4459
|
-
__publicField(this, "_legend", new Legend$1());
|
|
4460
|
-
__publicField(this, "_csvButton");
|
|
4461
|
-
__publicField(this, "_infoButton");
|
|
4462
|
-
__publicField(this, "_maximizeButton");
|
|
4463
|
-
__publicField(this, "_legendButton");
|
|
4464
|
-
__publicField(this, "_chartTypeSelect");
|
|
4465
|
-
__publicField(this, "_prevLegendPosition");
|
|
4466
|
-
__publicField(this, "_prevShowToolbar");
|
|
4467
|
-
__publicField(this, "_1DChartTypes");
|
|
4468
|
-
__publicField(this, "_2DChartTypes");
|
|
4469
|
-
__publicField(this, "_NDChartTypes");
|
|
4470
|
-
__publicField(this, "_anyChartTypes");
|
|
4471
|
-
__publicField(this, "_allChartTypes");
|
|
4472
|
-
__publicField(this, "_contentClasses");
|
|
4473
|
-
__publicField(this, "_dataCount");
|
|
4474
|
-
__publicField(this, "hideRowOnLegendClick");
|
|
4475
|
-
__publicField(this, "hideRowOnLegendClick_exists");
|
|
4476
|
-
__publicField(this, "showToolbar");
|
|
4477
|
-
__publicField(this, "showToolbar_exists");
|
|
4478
|
-
__publicField(this, "titleFontSize");
|
|
4479
|
-
__publicField(this, "titleFontSize_exists");
|
|
4480
|
-
__publicField(this, "titleFontColor");
|
|
4481
|
-
__publicField(this, "titleFontColor_exists");
|
|
4482
|
-
__publicField(this, "titleFontFamily");
|
|
4483
|
-
__publicField(this, "titleFontFamily_exists");
|
|
4484
|
-
__publicField(this, "titleFontBold");
|
|
4485
|
-
__publicField(this, "titleFontBold_exists");
|
|
4486
|
-
__publicField(this, "titleBackgroundColor");
|
|
4487
|
-
__publicField(this, "titleBackgroundColor_exists");
|
|
4488
|
-
__publicField(this, "maximizedBackgroundColor");
|
|
4489
|
-
__publicField(this, "maximizedBackgroundColor_exists");
|
|
4490
|
-
__publicField(this, "showChartSelect");
|
|
4491
|
-
__publicField(this, "showChartSelect_exists");
|
|
4492
|
-
__publicField(this, "showCSV");
|
|
4493
|
-
__publicField(this, "showCSV_exists");
|
|
4494
|
-
__publicField(this, "showCount");
|
|
4495
|
-
__publicField(this, "showCount_exists");
|
|
4496
|
-
__publicField(this, "showMaximize");
|
|
4497
|
-
__publicField(this, "showMaximize_exists");
|
|
4498
|
-
__publicField(this, "toolbarShowLegend");
|
|
4499
|
-
__publicField(this, "toolbarShowLegend_exists");
|
|
4500
|
-
__publicField(this, "showInfoButton");
|
|
4501
|
-
__publicField(this, "showInfoButton_exists");
|
|
4502
|
-
__publicField(this, "infoIcon");
|
|
4503
|
-
__publicField(this, "infoIcon_exists");
|
|
4504
|
-
__publicField(this, "legendPosition");
|
|
4505
|
-
__publicField(this, "legendPosition_exists");
|
|
4506
|
-
__publicField(this, "title");
|
|
4507
|
-
__publicField(this, "title_exists");
|
|
4508
|
-
__publicField(this, "domainAxisTitle");
|
|
4509
|
-
__publicField(this, "domainAxisTitle_exists");
|
|
4510
|
-
__publicField(this, "valueAxisTitle");
|
|
4511
|
-
__publicField(this, "valueAxisTitle_exists");
|
|
4512
|
-
__publicField(this, "chartType");
|
|
4513
|
-
__publicField(this, "chartType_exists");
|
|
4514
|
-
__publicField(this, "chart");
|
|
4515
|
-
__publicField(this, "chart_exists");
|
|
4516
4475
|
this._tag = "div";
|
|
4517
4476
|
const context = this;
|
|
4518
4477
|
this._chart.click = function() {
|
|
@@ -4780,6 +4739,48 @@ const _MegaChart = class _MegaChart extends Border {
|
|
|
4780
4739
|
edge_dblclick(row, col, sel, more) {
|
|
4781
4740
|
if (more && more.edge) ;
|
|
4782
4741
|
}
|
|
4742
|
+
hideRowOnLegendClick;
|
|
4743
|
+
hideRowOnLegendClick_exists;
|
|
4744
|
+
showToolbar;
|
|
4745
|
+
showToolbar_exists;
|
|
4746
|
+
titleFontSize;
|
|
4747
|
+
titleFontSize_exists;
|
|
4748
|
+
titleFontColor;
|
|
4749
|
+
titleFontColor_exists;
|
|
4750
|
+
titleFontFamily;
|
|
4751
|
+
titleFontFamily_exists;
|
|
4752
|
+
titleFontBold;
|
|
4753
|
+
titleFontBold_exists;
|
|
4754
|
+
titleBackgroundColor;
|
|
4755
|
+
titleBackgroundColor_exists;
|
|
4756
|
+
maximizedBackgroundColor;
|
|
4757
|
+
maximizedBackgroundColor_exists;
|
|
4758
|
+
showChartSelect;
|
|
4759
|
+
showChartSelect_exists;
|
|
4760
|
+
showCSV;
|
|
4761
|
+
showCSV_exists;
|
|
4762
|
+
showCount;
|
|
4763
|
+
showCount_exists;
|
|
4764
|
+
showMaximize;
|
|
4765
|
+
showMaximize_exists;
|
|
4766
|
+
toolbarShowLegend;
|
|
4767
|
+
toolbarShowLegend_exists;
|
|
4768
|
+
showInfoButton;
|
|
4769
|
+
showInfoButton_exists;
|
|
4770
|
+
infoIcon;
|
|
4771
|
+
infoIcon_exists;
|
|
4772
|
+
legendPosition;
|
|
4773
|
+
legendPosition_exists;
|
|
4774
|
+
title;
|
|
4775
|
+
title_exists;
|
|
4776
|
+
domainAxisTitle;
|
|
4777
|
+
domainAxisTitle_exists;
|
|
4778
|
+
valueAxisTitle;
|
|
4779
|
+
valueAxisTitle_exists;
|
|
4780
|
+
chartType;
|
|
4781
|
+
chartType_exists;
|
|
4782
|
+
chart;
|
|
4783
|
+
chart_exists;
|
|
4783
4784
|
};
|
|
4784
4785
|
__name(_MegaChart, "MegaChart");
|
|
4785
4786
|
let MegaChart = _MegaChart;
|