@holoviz/panel 1.2.0 → 1.2.1-rc.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/dist/bundled/notificationarea/panel/1.2.1-rc.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.2.1-rc.1/dist/bundled/bootstrap5/css/bootstrap.min.css +2 -0
- package/dist/bundled/panel/1.2.1-rc.1/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +2 -0
- package/dist/bundled/panel/1.2.1-rc.1/dist/bundled/font-awesome/css/all.min.css +2 -0
- package/dist/bundled/panel/1.2.1-rc.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/plotlyplot/panel/1.2.1-rc.1/dist/bundled/jquery/jquery.slim.min.js +2 -0
- package/dist/bundled/theme/fast.css +3 -11
- package/dist/css/card.css +1 -2
- package/dist/lib/models/ace.js +4 -2
- package/dist/lib/models/ace.js.map +1 -1
- package/dist/lib/models/audio.js +4 -2
- package/dist/lib/models/audio.js.map +1 -1
- package/dist/lib/models/browser.js +4 -2
- package/dist/lib/models/browser.js.map +1 -1
- package/dist/lib/models/card.js +4 -2
- package/dist/lib/models/card.js.map +1 -1
- package/dist/lib/models/comm_manager.js +4 -2
- package/dist/lib/models/comm_manager.js.map +1 -1
- package/dist/lib/models/customselect.js +4 -2
- package/dist/lib/models/customselect.js.map +1 -1
- package/dist/lib/models/datetime_picker.js +4 -2
- package/dist/lib/models/datetime_picker.js.map +1 -1
- package/dist/lib/models/deckgl.js +4 -2
- package/dist/lib/models/deckgl.js.map +1 -1
- package/dist/lib/models/echarts.js +6 -3
- package/dist/lib/models/echarts.js.map +1 -1
- package/dist/lib/models/file_download.js +4 -2
- package/dist/lib/models/file_download.js.map +1 -1
- package/dist/lib/models/html.d.ts +2 -0
- package/dist/lib/models/html.js +25 -9
- package/dist/lib/models/html.js.map +1 -1
- package/dist/lib/models/ipywidget.js +4 -2
- package/dist/lib/models/ipywidget.js.map +1 -1
- package/dist/lib/models/json.js +6 -4
- package/dist/lib/models/json.js.map +1 -1
- package/dist/lib/models/jsoneditor.js +6 -3
- package/dist/lib/models/jsoneditor.js.map +1 -1
- package/dist/lib/models/katex.d.ts +1 -0
- package/dist/lib/models/katex.js +8 -2
- package/dist/lib/models/katex.js.map +1 -1
- package/dist/lib/models/layout.d.ts +3 -1
- package/dist/lib/models/layout.js +21 -8
- package/dist/lib/models/layout.js.map +1 -1
- package/dist/lib/models/location.js +4 -2
- package/dist/lib/models/location.js.map +1 -1
- package/dist/lib/models/mathjax.d.ts +1 -0
- package/dist/lib/models/mathjax.js +8 -2
- package/dist/lib/models/mathjax.js.map +1 -1
- package/dist/lib/models/pdf.js +4 -2
- package/dist/lib/models/pdf.js.map +1 -1
- package/dist/lib/models/perspective.js +4 -2
- package/dist/lib/models/perspective.js.map +1 -1
- package/dist/lib/models/player.js +4 -2
- package/dist/lib/models/player.js.map +1 -1
- package/dist/lib/models/plotly.js +4 -2
- package/dist/lib/models/plotly.js.map +1 -1
- package/dist/lib/models/progress.js +4 -2
- package/dist/lib/models/progress.js.map +1 -1
- package/dist/lib/models/quill.d.ts +1 -0
- package/dist/lib/models/quill.js +9 -3
- package/dist/lib/models/quill.js.map +1 -1
- package/dist/lib/models/reactive_html.js +4 -2
- package/dist/lib/models/reactive_html.js.map +1 -1
- package/dist/lib/models/singleselect.js +4 -2
- package/dist/lib/models/singleselect.js.map +1 -1
- package/dist/lib/models/speech_to_text.js +4 -2
- package/dist/lib/models/speech_to_text.js.map +1 -1
- package/dist/lib/models/state.js +4 -2
- package/dist/lib/models/state.js.map +1 -1
- package/dist/lib/models/tabs.js +4 -2
- package/dist/lib/models/tabs.js.map +1 -1
- package/dist/lib/models/tabulator.d.ts +1 -1
- package/dist/lib/models/tabulator.js +24 -25
- package/dist/lib/models/tabulator.js.map +1 -1
- package/dist/lib/models/terminal.js +6 -3
- package/dist/lib/models/terminal.js.map +1 -1
- package/dist/lib/models/text_to_speech.js +4 -2
- package/dist/lib/models/text_to_speech.js.map +1 -1
- package/dist/lib/models/tooltip_icon.js +4 -2
- package/dist/lib/models/tooltip_icon.js.map +1 -1
- package/dist/lib/models/trend.js +4 -2
- package/dist/lib/models/trend.js.map +1 -1
- package/dist/lib/models/vega.js +6 -3
- package/dist/lib/models/vega.js.map +1 -1
- package/dist/lib/models/video.d.ts +1 -0
- package/dist/lib/models/video.js +17 -6
- package/dist/lib/models/video.js.map +1 -1
- package/dist/lib/models/videostream.js +4 -2
- package/dist/lib/models/videostream.js.map +1 -1
- package/dist/lib/models/vizzu.d.ts +1 -0
- package/dist/lib/models/vizzu.js +12 -8
- package/dist/lib/models/vizzu.js.map +1 -1
- package/dist/lib/models/vtk/vtkaxes.js +2 -1
- package/dist/lib/models/vtk/vtkaxes.js.map +1 -1
- package/dist/lib/models/vtk/vtkcolorbar.js +2 -1
- package/dist/lib/models/vtk/vtkcolorbar.js.map +1 -1
- package/dist/lib/models/vtk/vtkjs.js +4 -2
- package/dist/lib/models/vtk/vtkjs.js.map +1 -1
- package/dist/lib/models/vtk/vtklayout.js +4 -2
- package/dist/lib/models/vtk/vtklayout.js.map +1 -1
- package/dist/lib/models/vtk/vtksynchronized.js +4 -2
- package/dist/lib/models/vtk/vtksynchronized.js.map +1 -1
- package/dist/lib/models/vtk/vtkvolume.js +4 -2
- package/dist/lib/models/vtk/vtkvolume.js.map +1 -1
- package/dist/lib/styles/card.css.js +1 -1
- package/dist/panel.js +203 -164
- package/dist/panel.js.map +1 -1
- package/dist/panel.json +1 -1
- package/dist/panel.min.js +47 -47
- package/dist/wheels/{bokeh-3.1.1-py3-none-any.whl → bokeh-3.2.1-py3-none-any.whl} +0 -0
- package/dist/wheels/{panel-1.2.0-py3-none-any.whl → panel-1.2.1rc1-py3-none-any.whl} +0 -0
- package/package.json +1 -1
- package/dist/bundled/notificationarea/panel/1.2.0/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/panel/1.2.0/dist/bundled/bootstrap5/css/bootstrap.min.css +0 -2
- package/dist/bundled/panel/1.2.0/dist/bundled/bootstrap5/js/bootstrap.bundle.min.js +0 -2
- package/dist/bundled/panel/1.2.0/dist/bundled/font-awesome/css/all.min.css +0 -2
- package/dist/bundled/panel/1.2.0/dist/bundled/jquery/jquery.slim.min.js +0 -2
- package/dist/bundled/plotlyplot/panel/1.2.0/dist/bundled/jquery/jquery.slim.min.js +0 -2
package/dist/panel.js
CHANGED
|
@@ -52,87 +52,87 @@
|
|
|
52
52
|
"1ad646c29c": /* models/index.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
53
53
|
__esModule();
|
|
54
54
|
const tslib_1 = require("tslib");
|
|
55
|
-
var ace_1 = require("
|
|
55
|
+
var ace_1 = require("7df2008a2e") /* ./ace */;
|
|
56
56
|
__esExport("AcePlot", ace_1.AcePlot);
|
|
57
|
-
var audio_1 = require("
|
|
57
|
+
var audio_1 = require("78153b60aa") /* ./audio */;
|
|
58
58
|
__esExport("Audio", audio_1.Audio);
|
|
59
|
-
var browser_1 = require("
|
|
59
|
+
var browser_1 = require("6df8bf1ac7") /* ./browser */;
|
|
60
60
|
__esExport("BrowserInfo", browser_1.BrowserInfo);
|
|
61
|
-
var card_1 = require("
|
|
61
|
+
var card_1 = require("fbd3c63e1d") /* ./card */;
|
|
62
62
|
__esExport("Card", card_1.Card);
|
|
63
|
-
var comm_manager_1 = require("
|
|
63
|
+
var comm_manager_1 = require("1e66dab844") /* ./comm_manager */;
|
|
64
64
|
__esExport("CommManager", comm_manager_1.CommManager);
|
|
65
|
-
var customselect_1 = require("
|
|
65
|
+
var customselect_1 = require("9c8629b48f") /* ./customselect */;
|
|
66
66
|
__esExport("CustomSelect", customselect_1.CustomSelect);
|
|
67
|
-
var tabulator_1 = require("
|
|
67
|
+
var tabulator_1 = require("73d638fa4a") /* ./tabulator */;
|
|
68
68
|
__esExport("DataTabulator", tabulator_1.DataTabulator);
|
|
69
|
-
var datetime_picker_1 = require("
|
|
69
|
+
var datetime_picker_1 = require("6658732ce1") /* ./datetime_picker */;
|
|
70
70
|
__esExport("DatetimePicker", datetime_picker_1.DatetimePicker);
|
|
71
|
-
var deckgl_1 = require("
|
|
71
|
+
var deckgl_1 = require("991e3a226c") /* ./deckgl */;
|
|
72
72
|
__esExport("DeckGLPlot", deckgl_1.DeckGLPlot);
|
|
73
|
-
var echarts_1 = require("
|
|
73
|
+
var echarts_1 = require("eded13f5d7") /* ./echarts */;
|
|
74
74
|
__esExport("ECharts", echarts_1.ECharts);
|
|
75
|
-
var html_1 = require("
|
|
75
|
+
var html_1 = require("6b3b0facc2") /* ./html */;
|
|
76
76
|
__esExport("HTML", html_1.HTML);
|
|
77
|
-
var ipywidget_1 = require("
|
|
77
|
+
var ipywidget_1 = require("e3556c1e99") /* ./ipywidget */;
|
|
78
78
|
__esExport("IPyWidget", ipywidget_1.IPyWidget);
|
|
79
|
-
var json_1 = require("
|
|
79
|
+
var json_1 = require("66846b828c") /* ./json */;
|
|
80
80
|
__esExport("JSON", json_1.JSON);
|
|
81
|
-
var jsoneditor_1 = require("
|
|
81
|
+
var jsoneditor_1 = require("4b8a56c700") /* ./jsoneditor */;
|
|
82
82
|
__esExport("JSONEditor", jsoneditor_1.JSONEditor);
|
|
83
|
-
var file_download_1 = require("
|
|
83
|
+
var file_download_1 = require("9c15016be8") /* ./file_download */;
|
|
84
84
|
__esExport("FileDownload", file_download_1.FileDownload);
|
|
85
|
-
var katex_1 = require("
|
|
85
|
+
var katex_1 = require("197cfa57e5") /* ./katex */;
|
|
86
86
|
__esExport("KaTeX", katex_1.KaTeX);
|
|
87
|
-
var location_1 = require("
|
|
87
|
+
var location_1 = require("00a25cf872") /* ./location */;
|
|
88
88
|
__esExport("Location", location_1.Location);
|
|
89
|
-
var mathjax_1 = require("
|
|
89
|
+
var mathjax_1 = require("46a1770629") /* ./mathjax */;
|
|
90
90
|
__esExport("MathJax", mathjax_1.MathJax);
|
|
91
|
-
var pdf_1 = require("
|
|
91
|
+
var pdf_1 = require("d49a559fbc") /* ./pdf */;
|
|
92
92
|
__esExport("PDF", pdf_1.PDF);
|
|
93
|
-
var perspective_1 = require("
|
|
93
|
+
var perspective_1 = require("9f0456e5b5") /* ./perspective */;
|
|
94
94
|
__esExport("Perspective", perspective_1.Perspective);
|
|
95
|
-
var player_1 = require("
|
|
95
|
+
var player_1 = require("c172556ad3") /* ./player */;
|
|
96
96
|
__esExport("Player", player_1.Player);
|
|
97
|
-
var plotly_1 = require("
|
|
97
|
+
var plotly_1 = require("bb3d0ded66") /* ./plotly */;
|
|
98
98
|
__esExport("PlotlyPlot", plotly_1.PlotlyPlot);
|
|
99
|
-
var progress_1 = require("
|
|
99
|
+
var progress_1 = require("b82925a928") /* ./progress */;
|
|
100
100
|
__esExport("Progress", progress_1.Progress);
|
|
101
|
-
var quill_1 = require("
|
|
101
|
+
var quill_1 = require("e115225ba2") /* ./quill */;
|
|
102
102
|
__esExport("QuillInput", quill_1.QuillInput);
|
|
103
|
-
var reactive_html_1 = require("
|
|
103
|
+
var reactive_html_1 = require("b969c294f5") /* ./reactive_html */;
|
|
104
104
|
__esExport("ReactiveHTML", reactive_html_1.ReactiveHTML);
|
|
105
|
-
var singleselect_1 = require("
|
|
105
|
+
var singleselect_1 = require("6b20024bba") /* ./singleselect */;
|
|
106
106
|
__esExport("SingleSelect", singleselect_1.SingleSelect);
|
|
107
|
-
var speech_to_text_1 = require("
|
|
107
|
+
var speech_to_text_1 = require("cd0c80cc4c") /* ./speech_to_text */;
|
|
108
108
|
__esExport("SpeechToText", speech_to_text_1.SpeechToText);
|
|
109
|
-
var state_1 = require("
|
|
109
|
+
var state_1 = require("66717cb841") /* ./state */;
|
|
110
110
|
__esExport("State", state_1.State);
|
|
111
|
-
var tabs_1 = require("
|
|
111
|
+
var tabs_1 = require("67a5649f75") /* ./tabs */;
|
|
112
112
|
__esExport("Tabs", tabs_1.Tabs);
|
|
113
|
-
var terminal_1 = require("
|
|
113
|
+
var terminal_1 = require("cd4a941f8d") /* ./terminal */;
|
|
114
114
|
__esExport("Terminal", terminal_1.Terminal);
|
|
115
|
-
var text_to_speech_1 = require("
|
|
115
|
+
var text_to_speech_1 = require("eb4ae0acfa") /* ./text_to_speech */;
|
|
116
116
|
__esExport("TextToSpeech", text_to_speech_1.TextToSpeech);
|
|
117
|
-
var tooltip_icon_1 = require("
|
|
117
|
+
var tooltip_icon_1 = require("26ffc3afe8") /* ./tooltip_icon */;
|
|
118
118
|
__esExport("TooltipIcon", tooltip_icon_1.TooltipIcon);
|
|
119
|
-
var trend_1 = require("
|
|
119
|
+
var trend_1 = require("8f4ab32d74") /* ./trend */;
|
|
120
120
|
__esExport("TrendIndicator", trend_1.TrendIndicator);
|
|
121
|
-
var vega_1 = require("
|
|
121
|
+
var vega_1 = require("3b23e1bc5c") /* ./vega */;
|
|
122
122
|
__esExport("VegaPlot", vega_1.VegaPlot);
|
|
123
|
-
var video_1 = require("
|
|
123
|
+
var video_1 = require("4ac59b8079") /* ./video */;
|
|
124
124
|
__esExport("Video", video_1.Video);
|
|
125
|
-
var videostream_1 = require("
|
|
125
|
+
var videostream_1 = require("797fd61298") /* ./videostream */;
|
|
126
126
|
__esExport("VideoStream", videostream_1.VideoStream);
|
|
127
|
-
var vizzu_1 = require("
|
|
127
|
+
var vizzu_1 = require("e8339ee57a") /* ./vizzu */;
|
|
128
128
|
__esExport("VizzuChart", vizzu_1.VizzuChart);
|
|
129
129
|
tslib_1.__exportStar(require("c51f25e2a7") /* ./vtk */, exports);
|
|
130
130
|
},
|
|
131
|
-
"
|
|
131
|
+
"7df2008a2e": /* models/ace.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
132
132
|
__esModule();
|
|
133
133
|
var _a;
|
|
134
134
|
const dom_1 = require("@bokehjs/core/dom");
|
|
135
|
-
const layout_1 = require("
|
|
135
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
136
136
|
function ID() {
|
|
137
137
|
// Math.random should be unique because of its seeding algorithm.
|
|
138
138
|
// Convert it to base 36 (numbers + letters), and grab the first 9 characters
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
});
|
|
247
247
|
})();
|
|
248
248
|
},
|
|
249
|
-
"
|
|
249
|
+
"ea218d1c3c": /* models/layout.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
250
250
|
__esModule();
|
|
251
251
|
const dom_1 = require("@bokehjs/core/dom");
|
|
252
252
|
const types_1 = require("@bokehjs/core/util/types");
|
|
@@ -261,11 +261,21 @@
|
|
|
261
261
|
this.render();
|
|
262
262
|
});
|
|
263
263
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
264
|
+
watch_stylesheets() {
|
|
265
|
+
this._initialized_stylesheets = {};
|
|
266
|
+
for (const sts of this._applied_stylesheets) {
|
|
267
|
+
const style_el = sts.el;
|
|
268
|
+
if (style_el instanceof HTMLLinkElement) {
|
|
269
|
+
this._initialized_stylesheets[style_el.href] = false;
|
|
270
|
+
style_el.addEventListener("load", () => {
|
|
271
|
+
this._initialized_stylesheets[style_el.href] = true;
|
|
272
|
+
if (Object.values(this._initialized_stylesheets).every(Boolean))
|
|
273
|
+
this.style_redraw();
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
style_redraw() {
|
|
269
279
|
}
|
|
270
280
|
has_math_disabled() {
|
|
271
281
|
return this.model.disable_math || !this.contains_tex_string(this.model.text);
|
|
@@ -387,10 +397,10 @@
|
|
|
387
397
|
exports.HTMLBox = HTMLBox;
|
|
388
398
|
HTMLBox.__name__ = "HTMLBox";
|
|
389
399
|
},
|
|
390
|
-
"
|
|
400
|
+
"78153b60aa": /* models/audio.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
391
401
|
__esModule();
|
|
392
402
|
var _a;
|
|
393
|
-
const layout_1 = require("
|
|
403
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
394
404
|
class AudioView extends layout_1.HTMLBoxView {
|
|
395
405
|
initialize() {
|
|
396
406
|
super.initialize();
|
|
@@ -510,7 +520,7 @@
|
|
|
510
520
|
}));
|
|
511
521
|
})();
|
|
512
522
|
},
|
|
513
|
-
"
|
|
523
|
+
"6df8bf1ac7": /* models/browser.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
514
524
|
__esModule();
|
|
515
525
|
var _a;
|
|
516
526
|
const view_1 = require("@bokehjs/core/view");
|
|
@@ -555,7 +565,7 @@
|
|
|
555
565
|
}));
|
|
556
566
|
})();
|
|
557
567
|
},
|
|
558
|
-
"
|
|
568
|
+
"fbd3c63e1d": /* models/card.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
559
569
|
__esModule();
|
|
560
570
|
const tslib_1 = require("tslib");
|
|
561
571
|
var _a;
|
|
@@ -676,7 +686,7 @@
|
|
|
676
686
|
}));
|
|
677
687
|
})();
|
|
678
688
|
},
|
|
679
|
-
"
|
|
689
|
+
"1e66dab844": /* models/comm_manager.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
680
690
|
__esModule();
|
|
681
691
|
var _a;
|
|
682
692
|
const document_1 = require("@bokehjs/document");
|
|
@@ -852,7 +862,7 @@
|
|
|
852
862
|
}));
|
|
853
863
|
})();
|
|
854
864
|
},
|
|
855
|
-
"
|
|
865
|
+
"9c8629b48f": /* models/customselect.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
856
866
|
__esModule();
|
|
857
867
|
var _a;
|
|
858
868
|
const selectbox_1 = require("@bokehjs/models/widgets/selectbox");
|
|
@@ -901,7 +911,7 @@
|
|
|
901
911
|
});
|
|
902
912
|
})();
|
|
903
913
|
},
|
|
904
|
-
"
|
|
914
|
+
"73d638fa4a": /* models/tabulator.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
905
915
|
__esModule();
|
|
906
916
|
var _a, _b, _c;
|
|
907
917
|
const dom_1 = require("@bokehjs/core/dom");
|
|
@@ -913,9 +923,9 @@
|
|
|
913
923
|
const column_data_source_1 = require("@bokehjs/models/sources/column_data_source");
|
|
914
924
|
const tables_1 = require("@bokehjs/models/widgets/tables");
|
|
915
925
|
const debounce_1 = require("99a25e6992") /* debounce */;
|
|
916
|
-
const comm_manager_1 = require("
|
|
926
|
+
const comm_manager_1 = require("1e66dab844") /* ./comm_manager */;
|
|
917
927
|
const data_1 = require("fd9108e30e") /* ./data */;
|
|
918
|
-
const layout_1 = require("
|
|
928
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
919
929
|
class TableEditEvent extends bokeh_events_1.ModelEvent {
|
|
920
930
|
constructor(column, row, pre) {
|
|
921
931
|
super();
|
|
@@ -1280,7 +1290,6 @@
|
|
|
1280
1290
|
this.shadow_el.appendChild(container);
|
|
1281
1291
|
let configuration = this.getConfiguration();
|
|
1282
1292
|
this.tabulator = new Tabulator(el, configuration);
|
|
1283
|
-
console.log(el, this.tabulator);
|
|
1284
1293
|
this.watch_stylesheets();
|
|
1285
1294
|
this.init_callbacks();
|
|
1286
1295
|
}
|
|
@@ -1316,7 +1325,6 @@
|
|
|
1316
1325
|
this.tabulator.on("scrollVertical", (0, debounce_1.debounce)(() => {
|
|
1317
1326
|
this.setStyles();
|
|
1318
1327
|
}, 50, false));
|
|
1319
|
-
this.tabulator.on("rowFormatter", (row) => this._render_row(row));
|
|
1320
1328
|
// Sync state with model
|
|
1321
1329
|
this.tabulator.on("rowSelectionChanged", (data, rows) => this.rowSelectionChanged(data, rows));
|
|
1322
1330
|
this.tabulator.on("rowClick", (e, row) => this.rowClicked(e, row));
|
|
@@ -1409,7 +1417,7 @@
|
|
|
1409
1417
|
getConfiguration() {
|
|
1410
1418
|
// Only use selectable mode if explicitly requested otherwise manually handle selections
|
|
1411
1419
|
let selectable = this.model.select_mode === 'toggle' ? true : NaN;
|
|
1412
|
-
let configuration = Object.assign(Object.assign({}, this.model.configuration), { index: "_index", nestedFieldSeparator: false, movableColumns: false, selectable: selectable, columns: this.getColumns(), initialSort: this.sorters, layout: this.getLayout(), pagination: this.model.pagination != null, paginationMode: this.model.pagination, paginationSize: this.model.page_size, paginationInitialPage: 1, groupBy: this.groupBy, frozenRows: (row) => {
|
|
1420
|
+
let configuration = Object.assign(Object.assign({}, this.model.configuration), { index: "_index", nestedFieldSeparator: false, movableColumns: false, selectable: selectable, columns: this.getColumns(), initialSort: this.sorters, layout: this.getLayout(), pagination: this.model.pagination != null, paginationMode: this.model.pagination, paginationSize: this.model.page_size, paginationInitialPage: 1, groupBy: this.groupBy, rowFormatter: (row) => this._render_row(row), frozenRows: (row) => {
|
|
1413
1421
|
return this.model.frozen_rows.length ? this.model.frozen_rows.includes(row._row.data._index) : false;
|
|
1414
1422
|
} });
|
|
1415
1423
|
if (this.model.pagination === "remote") {
|
|
@@ -1433,16 +1441,18 @@
|
|
|
1433
1441
|
if (this.model.children.has(idx))
|
|
1434
1442
|
children.push(this.model.children.get(idx));
|
|
1435
1443
|
}
|
|
1436
|
-
await (0, build_views_1.build_views)(this._child_views, children, { parent:
|
|
1444
|
+
await (0, build_views_1.build_views)(this._child_views, children, { parent: this });
|
|
1437
1445
|
resolve(null);
|
|
1438
1446
|
}).then(() => {
|
|
1439
1447
|
for (const r of this.model.expanded) {
|
|
1440
1448
|
const row = this.tabulator.getRow(r);
|
|
1441
|
-
this._render_row(row);
|
|
1449
|
+
this._render_row(row, false);
|
|
1442
1450
|
}
|
|
1451
|
+
this.tabulator.rowManager.adjustTableSize();
|
|
1452
|
+
this.invalidate_layout();
|
|
1443
1453
|
});
|
|
1444
1454
|
}
|
|
1445
|
-
_render_row(row) {
|
|
1455
|
+
_render_row(row, resize = true) {
|
|
1446
1456
|
var _d;
|
|
1447
1457
|
const index = (_d = row._row) === null || _d === void 0 ? void 0 : _d.data._index;
|
|
1448
1458
|
if (!this.model.expanded.includes(index) || !this.model.children.has(index))
|
|
@@ -1453,22 +1463,17 @@
|
|
|
1453
1463
|
return;
|
|
1454
1464
|
view._parent = this;
|
|
1455
1465
|
const rowEl = row.getElement();
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
else {
|
|
1462
|
-
viewEl = null;
|
|
1463
|
-
}
|
|
1464
|
-
if (viewEl == null) {
|
|
1465
|
-
const style = getComputedStyle(this.tabulator.element.children[1].children[0]);
|
|
1466
|
-
const bg = style.backgroundColor;
|
|
1467
|
-
const neg_margin = "-" + rowEl.style.paddingLeft;
|
|
1468
|
-
viewEl = (0, dom_2.div)({ style: "background-color: " + bg + "; margin-left:" + neg_margin });
|
|
1469
|
-
}
|
|
1466
|
+
const style = getComputedStyle(this.tabulator.element.children[1].children[0]);
|
|
1467
|
+
const bg = style.backgroundColor;
|
|
1468
|
+
const neg_margin = "-" + rowEl.style.paddingLeft;
|
|
1469
|
+
const viewEl = (0, dom_2.div)({ style: "background-color: " + bg + "; margin-left:" + neg_margin + "; max-width: 100%; overflow-x: hidden;" });
|
|
1470
|
+
viewEl.appendChild(view.el);
|
|
1470
1471
|
rowEl.appendChild(viewEl);
|
|
1471
|
-
view.
|
|
1472
|
+
view.render();
|
|
1473
|
+
if (resize) {
|
|
1474
|
+
this.tabulator.rowManager.adjustTableSize();
|
|
1475
|
+
this.invalidate_layout();
|
|
1476
|
+
}
|
|
1472
1477
|
}
|
|
1473
1478
|
_expand_render(cell) {
|
|
1474
1479
|
const index = cell._cell.row.data._index;
|
|
@@ -1796,7 +1801,6 @@
|
|
|
1796
1801
|
this.tabulator.modules.page._setPageButtons();
|
|
1797
1802
|
}
|
|
1798
1803
|
setPage() {
|
|
1799
|
-
console.log(Math.min(this.model.max_page, this.model.page));
|
|
1800
1804
|
this.tabulator.setPage(Math.min(this.model.max_page, this.model.page));
|
|
1801
1805
|
if (this.model.pagination === "local") {
|
|
1802
1806
|
this.renderChildren();
|
|
@@ -2067,7 +2071,7 @@
|
|
|
2067
2071
|
}
|
|
2068
2072
|
exports.dict_to_records = dict_to_records;
|
|
2069
2073
|
},
|
|
2070
|
-
"
|
|
2074
|
+
"6658732ce1": /* models/datetime_picker.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
2071
2075
|
__esModule();
|
|
2072
2076
|
const tslib_1 = require("tslib");
|
|
2073
2077
|
var _a;
|
|
@@ -4932,7 +4936,7 @@
|
|
|
4932
4936
|
};
|
|
4933
4937
|
}
|
|
4934
4938
|
},
|
|
4935
|
-
"
|
|
4939
|
+
"991e3a226c": /* models/deckgl.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
4936
4940
|
__esModule();
|
|
4937
4941
|
const tslib_1 = require("tslib");
|
|
4938
4942
|
var _a;
|
|
@@ -6066,13 +6070,13 @@
|
|
|
6066
6070
|
GPU_DISJOINT_EXT: 0x8fbb // A Boolean indicating whether or not the GPU performed any disjoint operation.
|
|
6067
6071
|
};
|
|
6068
6072
|
},
|
|
6069
|
-
"
|
|
6073
|
+
"eded13f5d7": /* models/echarts.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6070
6074
|
__esModule();
|
|
6071
6075
|
var _a, _b;
|
|
6072
6076
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
6073
6077
|
const dom_1 = require("@bokehjs/core/dom");
|
|
6074
6078
|
const event_to_object_1 = require("490942d778") /* ./event-to-object */;
|
|
6075
|
-
const layout_1 = require("
|
|
6079
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
6076
6080
|
const mouse_events = [
|
|
6077
6081
|
'click', 'dblclick', 'mousedown', 'mousemove', 'mouseup', 'mouseover', 'mouseout',
|
|
6078
6082
|
'globalout', 'contextmenu'
|
|
@@ -6456,12 +6460,12 @@
|
|
|
6456
6460
|
});
|
|
6457
6461
|
});
|
|
6458
6462
|
},
|
|
6459
|
-
"
|
|
6463
|
+
"6b3b0facc2": /* models/html.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6460
6464
|
__esModule();
|
|
6461
6465
|
var _a, _b;
|
|
6462
6466
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
6463
6467
|
const markup_1 = require("@bokehjs/models/widgets/markup");
|
|
6464
|
-
const layout_1 = require("
|
|
6468
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
6465
6469
|
const event_to_object_1 = require("490942d778") /* ./event-to-object */;
|
|
6466
6470
|
class DOMEvent extends bokeh_events_1.ModelEvent {
|
|
6467
6471
|
constructor(node, data) {
|
|
@@ -6502,6 +6506,10 @@
|
|
|
6502
6506
|
}
|
|
6503
6507
|
connect_signals() {
|
|
6504
6508
|
super.connect_signals();
|
|
6509
|
+
this.connect(this.model.properties.text.change, () => {
|
|
6510
|
+
const html = this.process_tex();
|
|
6511
|
+
this.set_html(html);
|
|
6512
|
+
});
|
|
6505
6513
|
this.connect(this.model.properties.events.change, () => {
|
|
6506
6514
|
this._remove_event_listeners();
|
|
6507
6515
|
this._setup_event_listeners();
|
|
@@ -6511,12 +6519,7 @@
|
|
|
6511
6519
|
this.render();
|
|
6512
6520
|
this.invalidate_layout();
|
|
6513
6521
|
}
|
|
6514
|
-
|
|
6515
|
-
super.render();
|
|
6516
|
-
this.shadow_el.appendChild(this.container);
|
|
6517
|
-
if (this.provider.status == "failed" || this.provider.status == "loaded")
|
|
6518
|
-
this._has_finished = true;
|
|
6519
|
-
const html = this.process_tex();
|
|
6522
|
+
set_html(html) {
|
|
6520
6523
|
if (html) {
|
|
6521
6524
|
this.container.innerHTML = html;
|
|
6522
6525
|
if (this.model.run_scripts)
|
|
@@ -6524,6 +6527,20 @@
|
|
|
6524
6527
|
this._setup_event_listeners();
|
|
6525
6528
|
}
|
|
6526
6529
|
}
|
|
6530
|
+
render() {
|
|
6531
|
+
super.render();
|
|
6532
|
+
this.container.style.visibility = 'hidden';
|
|
6533
|
+
this.shadow_el.appendChild(this.container);
|
|
6534
|
+
if (this.provider.status == "failed" || this.provider.status == "loaded")
|
|
6535
|
+
this._has_finished = true;
|
|
6536
|
+
const html = this.process_tex();
|
|
6537
|
+
this.watch_stylesheets();
|
|
6538
|
+
this.set_html(html);
|
|
6539
|
+
}
|
|
6540
|
+
style_redraw() {
|
|
6541
|
+
if (this.model.visible)
|
|
6542
|
+
this.container.style.visibility = 'visible';
|
|
6543
|
+
}
|
|
6527
6544
|
process_tex() {
|
|
6528
6545
|
const decoded = htmlDecode(this.model.text);
|
|
6529
6546
|
const text = decoded || this.model.text;
|
|
@@ -6598,11 +6615,11 @@
|
|
|
6598
6615
|
}));
|
|
6599
6616
|
})();
|
|
6600
6617
|
},
|
|
6601
|
-
"
|
|
6618
|
+
"e3556c1e99": /* models/ipywidget.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6602
6619
|
__esModule();
|
|
6603
6620
|
var _a;
|
|
6604
6621
|
const dom_1 = require("@bokehjs/core/dom");
|
|
6605
|
-
const layout_1 = require("
|
|
6622
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
6606
6623
|
const Jupyter = window.Jupyter;
|
|
6607
6624
|
class IPyWidgetView extends layout_1.HTMLBoxView {
|
|
6608
6625
|
async lazy_initialize() {
|
|
@@ -6675,19 +6692,19 @@
|
|
|
6675
6692
|
}));
|
|
6676
6693
|
})();
|
|
6677
6694
|
},
|
|
6678
|
-
"
|
|
6695
|
+
"66846b828c": /* models/json.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6679
6696
|
__esModule();
|
|
6680
6697
|
const tslib_1 = require("tslib");
|
|
6681
6698
|
var _a;
|
|
6682
6699
|
const kinds_1 = require("@bokehjs/core/kinds");
|
|
6683
6700
|
const markup_1 = require("@bokehjs/models/widgets/markup");
|
|
6684
6701
|
const json_formatter_js_1 = tslib_1.__importDefault(require("18bba7b7e1") /* json-formatter-js */);
|
|
6685
|
-
const layout_1 = require("
|
|
6702
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
6686
6703
|
class JSONView extends layout_1.PanelMarkupView {
|
|
6687
6704
|
connect_signals() {
|
|
6688
6705
|
super.connect_signals();
|
|
6689
|
-
const { depth, hover_preview, theme } = this.model.properties;
|
|
6690
|
-
this.on_change([depth, hover_preview, theme], () => this.render());
|
|
6706
|
+
const { depth, hover_preview, text, theme } = this.model.properties;
|
|
6707
|
+
this.on_change([depth, hover_preview, text, theme], () => this.render());
|
|
6691
6708
|
}
|
|
6692
6709
|
render() {
|
|
6693
6710
|
super.render();
|
|
@@ -6818,12 +6835,12 @@
|
|
|
6818
6835
|
}();
|
|
6819
6836
|
exports.default = c;
|
|
6820
6837
|
},
|
|
6821
|
-
"
|
|
6838
|
+
"4b8a56c700": /* models/jsoneditor.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6822
6839
|
__esModule();
|
|
6823
6840
|
var _a, _b;
|
|
6824
6841
|
const dom_1 = require("@bokehjs/core/dom");
|
|
6825
6842
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
6826
|
-
const layout_1 = require("
|
|
6843
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
6827
6844
|
class JSONEditEvent extends bokeh_events_1.ModelEvent {
|
|
6828
6845
|
constructor(data) {
|
|
6829
6846
|
super();
|
|
@@ -6915,7 +6932,7 @@
|
|
|
6915
6932
|
}));
|
|
6916
6933
|
})();
|
|
6917
6934
|
},
|
|
6918
|
-
"
|
|
6935
|
+
"9c15016be8": /* models/file_download.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
6919
6936
|
__esModule();
|
|
6920
6937
|
const tslib_1 = require("tslib");
|
|
6921
6938
|
var _a;
|
|
@@ -7117,12 +7134,16 @@
|
|
|
7117
7134
|
});
|
|
7118
7135
|
})();
|
|
7119
7136
|
},
|
|
7120
|
-
"
|
|
7137
|
+
"197cfa57e5": /* models/katex.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7121
7138
|
__esModule();
|
|
7122
7139
|
var _a;
|
|
7123
7140
|
const markup_1 = require("@bokehjs/models/widgets/markup");
|
|
7124
|
-
const layout_1 = require("
|
|
7141
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
7125
7142
|
class KaTeXView extends layout_1.PanelMarkupView {
|
|
7143
|
+
connect_signals() {
|
|
7144
|
+
super.connect_signals();
|
|
7145
|
+
this.connect(this.model.properties.text.change, () => this.render());
|
|
7146
|
+
}
|
|
7126
7147
|
render() {
|
|
7127
7148
|
super.render();
|
|
7128
7149
|
this.container.innerHTML = this.model.text;
|
|
@@ -7154,7 +7175,7 @@
|
|
|
7154
7175
|
_a.prototype.default_view = KaTeXView;
|
|
7155
7176
|
})();
|
|
7156
7177
|
},
|
|
7157
|
-
"
|
|
7178
|
+
"00a25cf872": /* models/location.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7158
7179
|
__esModule();
|
|
7159
7180
|
var _a;
|
|
7160
7181
|
const view_1 = require("@bokehjs/core/view");
|
|
@@ -7230,12 +7251,16 @@
|
|
|
7230
7251
|
}));
|
|
7231
7252
|
})();
|
|
7232
7253
|
},
|
|
7233
|
-
"
|
|
7254
|
+
"46a1770629": /* models/mathjax.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7234
7255
|
__esModule();
|
|
7235
7256
|
var _a;
|
|
7236
7257
|
const markup_1 = require("@bokehjs/models/widgets/markup");
|
|
7237
|
-
const layout_1 = require("
|
|
7258
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
7238
7259
|
class MathJaxView extends layout_1.PanelMarkupView {
|
|
7260
|
+
connect_signals() {
|
|
7261
|
+
super.connect_signals();
|
|
7262
|
+
this.connect(this.model.properties.text.change, () => this.render());
|
|
7263
|
+
}
|
|
7239
7264
|
render() {
|
|
7240
7265
|
super.render();
|
|
7241
7266
|
this.container.innerHTML = this.has_math_disabled() ? this.model.text : this.process_tex(this.model.text);
|
|
@@ -7256,12 +7281,12 @@
|
|
|
7256
7281
|
_a.prototype.default_view = MathJaxView;
|
|
7257
7282
|
})();
|
|
7258
7283
|
},
|
|
7259
|
-
"
|
|
7284
|
+
"d49a559fbc": /* models/pdf.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7260
7285
|
__esModule();
|
|
7261
7286
|
var _a;
|
|
7262
7287
|
const markup_1 = require("@bokehjs/models/widgets/markup");
|
|
7263
|
-
const layout_1 = require("
|
|
7264
|
-
const html_1 = require("
|
|
7288
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
7289
|
+
const html_1 = require("6b3b0facc2") /* ./html */;
|
|
7265
7290
|
class PDFView extends layout_1.PanelMarkupView {
|
|
7266
7291
|
connect_signals() {
|
|
7267
7292
|
super.connect_signals();
|
|
@@ -7322,12 +7347,12 @@
|
|
|
7322
7347
|
}));
|
|
7323
7348
|
})();
|
|
7324
7349
|
},
|
|
7325
|
-
"
|
|
7350
|
+
"9f0456e5b5": /* models/perspective.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7326
7351
|
__esModule();
|
|
7327
7352
|
var _a;
|
|
7328
7353
|
const dom_1 = require("@bokehjs/core/dom");
|
|
7329
7354
|
const column_data_source_1 = require("@bokehjs/models/sources/column_data_source");
|
|
7330
|
-
const layout_1 = require("
|
|
7355
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
7331
7356
|
const THEMES = {
|
|
7332
7357
|
'material-dark': 'Material Dark',
|
|
7333
7358
|
'material': 'Material Light',
|
|
@@ -7548,7 +7573,7 @@
|
|
|
7548
7573
|
}));
|
|
7549
7574
|
})();
|
|
7550
7575
|
},
|
|
7551
|
-
"
|
|
7576
|
+
"c172556ad3": /* models/player.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7552
7577
|
__esModule();
|
|
7553
7578
|
var _a;
|
|
7554
7579
|
const kinds_1 = require("@bokehjs/core/kinds");
|
|
@@ -7885,7 +7910,7 @@
|
|
|
7885
7910
|
_a.override({ width: 400 });
|
|
7886
7911
|
})();
|
|
7887
7912
|
},
|
|
7888
|
-
"
|
|
7913
|
+
"bb3d0ded66": /* models/plotly.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
7889
7914
|
__esModule();
|
|
7890
7915
|
var _a;
|
|
7891
7916
|
const dom_1 = require("@bokehjs/core/dom");
|
|
@@ -7894,7 +7919,7 @@
|
|
|
7894
7919
|
const column_data_source_1 = require("@bokehjs/models/sources/column_data_source");
|
|
7895
7920
|
const debounce_1 = require("99a25e6992") /* debounce */;
|
|
7896
7921
|
const util_1 = require("990b5dd5c7") /* ./util */;
|
|
7897
|
-
const layout_1 = require("
|
|
7922
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
7898
7923
|
function convertUndefined(obj) {
|
|
7899
7924
|
Object
|
|
7900
7925
|
.entries(obj)
|
|
@@ -8316,11 +8341,11 @@
|
|
|
8316
8341
|
}
|
|
8317
8342
|
exports.isPlainObject = isPlainObject;
|
|
8318
8343
|
},
|
|
8319
|
-
"
|
|
8344
|
+
"b82925a928": /* models/progress.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
8320
8345
|
__esModule();
|
|
8321
8346
|
var _a;
|
|
8322
8347
|
const dom_1 = require("@bokehjs/core/dom");
|
|
8323
|
-
const layout_1 = require("
|
|
8348
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
8324
8349
|
class ProgressView extends layout_1.HTMLBoxView {
|
|
8325
8350
|
connect_signals() {
|
|
8326
8351
|
super.connect_signals();
|
|
@@ -8395,11 +8420,11 @@
|
|
|
8395
8420
|
}));
|
|
8396
8421
|
})();
|
|
8397
8422
|
},
|
|
8398
|
-
"
|
|
8423
|
+
"e115225ba2": /* models/quill.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
8399
8424
|
__esModule();
|
|
8400
8425
|
var _a;
|
|
8401
8426
|
const dom_1 = require("@bokehjs/core/dom");
|
|
8402
|
-
const layout_1 = require("
|
|
8427
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
8403
8428
|
class QuillInputView extends layout_1.HTMLBoxView {
|
|
8404
8429
|
connect_signals() {
|
|
8405
8430
|
super.connect_signals();
|
|
@@ -8435,9 +8460,10 @@
|
|
|
8435
8460
|
}
|
|
8436
8461
|
render() {
|
|
8437
8462
|
super.render();
|
|
8438
|
-
this.container = (0, dom_1.div)({});
|
|
8463
|
+
this.container = (0, dom_1.div)({ style: "visibility: hidden;" });
|
|
8439
8464
|
this.shadow_el.appendChild(this.container);
|
|
8440
8465
|
const theme = (this.model.mode === 'bubble') ? 'bubble' : 'snow';
|
|
8466
|
+
this.watch_stylesheets();
|
|
8441
8467
|
this.quill = new window.Quill(this.container, {
|
|
8442
8468
|
modules: {
|
|
8443
8469
|
toolbar: this.model.toolbar
|
|
@@ -8463,6 +8489,9 @@
|
|
|
8463
8489
|
this.quill.selection.update();
|
|
8464
8490
|
});
|
|
8465
8491
|
}
|
|
8492
|
+
style_redraw() {
|
|
8493
|
+
this.container.style.visibility = 'visible';
|
|
8494
|
+
}
|
|
8466
8495
|
after_layout() {
|
|
8467
8496
|
super.after_layout();
|
|
8468
8497
|
this._layout_toolbar();
|
|
@@ -8492,7 +8521,7 @@
|
|
|
8492
8521
|
});
|
|
8493
8522
|
})();
|
|
8494
8523
|
},
|
|
8495
|
-
"
|
|
8524
|
+
"b969c294f5": /* models/reactive_html.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
8496
8525
|
__esModule();
|
|
8497
8526
|
var _a;
|
|
8498
8527
|
const preact_1 = require("1b70f5b1d3") /* preact */;
|
|
@@ -8503,8 +8532,8 @@
|
|
|
8503
8532
|
const types_1 = require("@bokehjs/core/util/types");
|
|
8504
8533
|
const data_1 = require("fd9108e30e") /* ./data */;
|
|
8505
8534
|
const event_to_object_1 = require("490942d778") /* ./event-to-object */;
|
|
8506
|
-
const html_1 = require("
|
|
8507
|
-
const layout_1 = require("
|
|
8535
|
+
const html_1 = require("6b3b0facc2") /* ./html */;
|
|
8536
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
8508
8537
|
function serialize_attrs(attrs) {
|
|
8509
8538
|
const serialized = {};
|
|
8510
8539
|
for (const attr in attrs) {
|
|
@@ -9384,7 +9413,7 @@
|
|
|
9384
9413
|
}
|
|
9385
9414
|
exports.default = default_1;
|
|
9386
9415
|
},
|
|
9387
|
-
"
|
|
9416
|
+
"6b20024bba": /* models/singleselect.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9388
9417
|
__esModule();
|
|
9389
9418
|
const tslib_1 = require("tslib");
|
|
9390
9419
|
var _a;
|
|
@@ -9472,10 +9501,10 @@
|
|
|
9472
9501
|
}));
|
|
9473
9502
|
})();
|
|
9474
9503
|
},
|
|
9475
|
-
"
|
|
9504
|
+
"cd0c80cc4c": /* models/speech_to_text.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9476
9505
|
__esModule();
|
|
9477
9506
|
var _a;
|
|
9478
|
-
const layout_1 = require("
|
|
9507
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
9479
9508
|
const iconStarted = `<svg xmlns="http://www.w3.org/2000/svg" height="22px" style="vertical-align: middle;" fill="currentColor" class="bi bi-mic" viewBox="0 0 16 16">
|
|
9480
9509
|
<path fill-rule="evenodd" d="M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z"/>
|
|
9481
9510
|
<path fill-rule="evenodd" d="M10 8V3a2 2 0 1 0-4 0v5a2 2 0 1 0 4 0zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z"/>
|
|
@@ -9657,7 +9686,7 @@
|
|
|
9657
9686
|
}));
|
|
9658
9687
|
})();
|
|
9659
9688
|
},
|
|
9660
|
-
"
|
|
9689
|
+
"66717cb841": /* models/state.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9661
9690
|
__esModule();
|
|
9662
9691
|
var _a;
|
|
9663
9692
|
const view_1 = require("@bokehjs/core/view");
|
|
@@ -9746,7 +9775,7 @@
|
|
|
9746
9775
|
}));
|
|
9747
9776
|
})();
|
|
9748
9777
|
},
|
|
9749
|
-
"
|
|
9778
|
+
"67a5649f75": /* models/tabs.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9750
9779
|
__esModule();
|
|
9751
9780
|
const tslib_1 = require("tslib");
|
|
9752
9781
|
var _a;
|
|
@@ -9875,12 +9904,12 @@
|
|
|
9875
9904
|
_a.prototype.default_view = TabsView;
|
|
9876
9905
|
})();
|
|
9877
9906
|
},
|
|
9878
|
-
"
|
|
9907
|
+
"cd4a941f8d": /* models/terminal.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9879
9908
|
__esModule();
|
|
9880
9909
|
var _a, _b;
|
|
9881
9910
|
const dom_1 = require("@bokehjs/core/dom");
|
|
9882
9911
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
9883
|
-
const layout_1 = require("
|
|
9912
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
9884
9913
|
class KeystrokeEvent extends bokeh_events_1.ModelEvent {
|
|
9885
9914
|
constructor(key) {
|
|
9886
9915
|
super();
|
|
@@ -9990,10 +10019,10 @@
|
|
|
9990
10019
|
}));
|
|
9991
10020
|
})();
|
|
9992
10021
|
},
|
|
9993
|
-
"
|
|
10022
|
+
"eb4ae0acfa": /* models/text_to_speech.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
9994
10023
|
__esModule();
|
|
9995
10024
|
var _a;
|
|
9996
|
-
const layout_1 = require("
|
|
10025
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
9997
10026
|
function toVoicesList(voices) {
|
|
9998
10027
|
var voicesList = [];
|
|
9999
10028
|
for (let voice of voices) {
|
|
@@ -10121,7 +10150,7 @@
|
|
|
10121
10150
|
}));
|
|
10122
10151
|
})();
|
|
10123
10152
|
},
|
|
10124
|
-
"
|
|
10153
|
+
"26ffc3afe8": /* models/tooltip_icon.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10125
10154
|
__esModule();
|
|
10126
10155
|
const tslib_1 = require("tslib");
|
|
10127
10156
|
var _a;
|
|
@@ -10219,10 +10248,10 @@
|
|
|
10219
10248
|
}));
|
|
10220
10249
|
})();
|
|
10221
10250
|
},
|
|
10222
|
-
"
|
|
10251
|
+
"8f4ab32d74": /* models/trend.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10223
10252
|
__esModule();
|
|
10224
10253
|
var _a;
|
|
10225
|
-
const layout_1 = require("
|
|
10254
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
10226
10255
|
const build_views_1 = require("@bokehjs/core/build_views");
|
|
10227
10256
|
const plots_1 = require("@bokehjs/models/plots");
|
|
10228
10257
|
const glyphs_1 = require("@bokehjs/models/glyphs");
|
|
@@ -10434,14 +10463,14 @@
|
|
|
10434
10463
|
}));
|
|
10435
10464
|
})();
|
|
10436
10465
|
},
|
|
10437
|
-
"
|
|
10466
|
+
"3b23e1bc5c": /* models/vega.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10438
10467
|
__esModule();
|
|
10439
10468
|
var _a, _b;
|
|
10440
10469
|
const dom_1 = require("@bokehjs/core/dom");
|
|
10441
10470
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
10442
10471
|
const types_1 = require("@bokehjs/core/util/types");
|
|
10443
10472
|
const layout_dom_1 = require("@bokehjs/models/layouts/layout_dom");
|
|
10444
|
-
const layout_1 = require("
|
|
10473
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
10445
10474
|
const debounce_1 = require("99a25e6992") /* debounce */;
|
|
10446
10475
|
class VegaEvent extends bokeh_events_1.ModelEvent {
|
|
10447
10476
|
constructor(data) {
|
|
@@ -10621,10 +10650,10 @@
|
|
|
10621
10650
|
}));
|
|
10622
10651
|
})();
|
|
10623
10652
|
},
|
|
10624
|
-
"
|
|
10653
|
+
"4ac59b8079": /* models/video.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10625
10654
|
__esModule();
|
|
10626
10655
|
var _a;
|
|
10627
|
-
const layout_1 = require("
|
|
10656
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
10628
10657
|
class VideoView extends layout_1.HTMLBoxView {
|
|
10629
10658
|
initialize() {
|
|
10630
10659
|
super.initialize();
|
|
@@ -10645,15 +10674,23 @@
|
|
|
10645
10674
|
render() {
|
|
10646
10675
|
super.render();
|
|
10647
10676
|
this.videoEl = document.createElement('video');
|
|
10677
|
+
this.containerEl = document.createElement('div');
|
|
10678
|
+
this.containerEl.className = "pn-video-container";
|
|
10679
|
+
this.containerEl.style.height = '100%';
|
|
10680
|
+
this.containerEl.style.width = '100%';
|
|
10681
|
+
this.videoEl.style.objectFit = 'fill';
|
|
10682
|
+
this.videoEl.style.width = '100%';
|
|
10683
|
+
this.videoEl.style.height = '100%';
|
|
10648
10684
|
if (!this.model.sizing_mode || this.model.sizing_mode === 'fixed') {
|
|
10649
10685
|
if (this.model.height)
|
|
10650
10686
|
this.videoEl.height = this.model.height;
|
|
10651
10687
|
if (this.model.width)
|
|
10652
10688
|
this.videoEl.width = this.model.width;
|
|
10653
10689
|
}
|
|
10654
|
-
this.
|
|
10655
|
-
|
|
10656
|
-
this.
|
|
10690
|
+
if (this.model.max_height)
|
|
10691
|
+
this.videoEl.style.maxHeight = `${this.model.max_height}px`;
|
|
10692
|
+
if (this.model.max_width)
|
|
10693
|
+
this.videoEl.style.maxWidth = `${this.model.max_width}px`;
|
|
10657
10694
|
this.videoEl.controls = true;
|
|
10658
10695
|
this.videoEl.src = this.model.value;
|
|
10659
10696
|
this.videoEl.currentTime = this.model.time;
|
|
@@ -10668,7 +10705,8 @@
|
|
|
10668
10705
|
this.videoEl.onplay = () => this.model.paused = false;
|
|
10669
10706
|
this.videoEl.ontimeupdate = () => this.update_time(this);
|
|
10670
10707
|
this.videoEl.onvolumechange = () => this.update_volume(this);
|
|
10671
|
-
this.
|
|
10708
|
+
this.containerEl.appendChild(this.videoEl);
|
|
10709
|
+
this.shadow_el.appendChild(this.containerEl);
|
|
10672
10710
|
if (!this.model.paused)
|
|
10673
10711
|
this.videoEl.play();
|
|
10674
10712
|
}
|
|
@@ -10752,10 +10790,10 @@
|
|
|
10752
10790
|
}));
|
|
10753
10791
|
})();
|
|
10754
10792
|
},
|
|
10755
|
-
"
|
|
10793
|
+
"797fd61298": /* models/videostream.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10756
10794
|
__esModule();
|
|
10757
10795
|
var _a;
|
|
10758
|
-
const layout_1 = require("
|
|
10796
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
10759
10797
|
class VideoStreamView extends layout_1.HTMLBoxView {
|
|
10760
10798
|
constructor() {
|
|
10761
10799
|
super(...arguments);
|
|
@@ -10864,7 +10902,7 @@
|
|
|
10864
10902
|
});
|
|
10865
10903
|
})();
|
|
10866
10904
|
},
|
|
10867
|
-
"
|
|
10905
|
+
"e8339ee57a": /* models/vizzu.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
10868
10906
|
__esModule();
|
|
10869
10907
|
var _a;
|
|
10870
10908
|
const dom_1 = require("@bokehjs/core/dom");
|
|
@@ -10872,7 +10910,7 @@
|
|
|
10872
10910
|
const column_data_source_1 = require("@bokehjs/models/sources/column_data_source");
|
|
10873
10911
|
const bokeh_events_1 = require("@bokehjs/core/bokeh_events");
|
|
10874
10912
|
const debounce_1 = require("99a25e6992") /* debounce */;
|
|
10875
|
-
const layout_1 = require("
|
|
10913
|
+
const layout_1 = require("ea218d1c3c") /* ./layout */;
|
|
10876
10914
|
class VizzuEvent extends bokeh_events_1.ModelEvent {
|
|
10877
10915
|
constructor(data) {
|
|
10878
10916
|
super();
|
|
@@ -10912,10 +10950,6 @@
|
|
|
10912
10950
|
else
|
|
10913
10951
|
change = Object.assign(Object.assign({}, change), { style: this.model.style });
|
|
10914
10952
|
}
|
|
10915
|
-
if (this.update.includes('data') && this.update.length === 1) {
|
|
10916
|
-
this.render();
|
|
10917
|
-
return;
|
|
10918
|
-
}
|
|
10919
10953
|
this._animating = true;
|
|
10920
10954
|
this.vizzu_view.animate(change, this.model.duration + 'ms').then(() => {
|
|
10921
10955
|
this._animating = false;
|
|
@@ -10934,6 +10968,9 @@
|
|
|
10934
10968
|
this.connect(this.model.source.properties.data.change, () => update_prop('data'));
|
|
10935
10969
|
this.connect(this.model.source.streaming, () => update_prop('data'));
|
|
10936
10970
|
this.connect(this.model.source.patching, () => update_prop('data'));
|
|
10971
|
+
this.connect(this.model.properties.tooltip.change, () => {
|
|
10972
|
+
this.vizzu_view.feature('tooltip', this.model.tooltip);
|
|
10973
|
+
});
|
|
10937
10974
|
this.connect(this.model.properties.style.change, () => update_prop('style'));
|
|
10938
10975
|
}
|
|
10939
10976
|
get valid_config() {
|
|
@@ -10997,6 +11034,7 @@
|
|
|
10997
11034
|
chart.on('click', (event) => {
|
|
10998
11035
|
this.model.trigger_event(new VizzuEvent(event.data));
|
|
10999
11036
|
});
|
|
11037
|
+
chart.feature('tooltip', this.model.tooltip);
|
|
11000
11038
|
this._animating = false;
|
|
11001
11039
|
});
|
|
11002
11040
|
}
|
|
@@ -11020,31 +11058,32 @@
|
|
|
11020
11058
|
VizzuChart.__module__ = "panel.models.vizzu";
|
|
11021
11059
|
(() => {
|
|
11022
11060
|
_a.prototype.default_view = VizzuChartView;
|
|
11023
|
-
_a.define(({ Any, Array, Number, Ref }) => ({
|
|
11061
|
+
_a.define(({ Any, Array, Boolean, Number, Ref }) => ({
|
|
11024
11062
|
animation: [Any, {}],
|
|
11025
11063
|
config: [Any, {}],
|
|
11026
11064
|
columns: [Array(Any), []],
|
|
11027
11065
|
source: [Ref(column_data_source_1.ColumnDataSource),],
|
|
11028
11066
|
duration: [Number, 500],
|
|
11029
11067
|
style: [Any, {}],
|
|
11068
|
+
tooltip: [Boolean, false],
|
|
11030
11069
|
}));
|
|
11031
11070
|
})();
|
|
11032
11071
|
},
|
|
11033
11072
|
"c51f25e2a7": /* models/vtk/index.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
11034
11073
|
__esModule();
|
|
11035
|
-
var vtkjs_1 = require("
|
|
11074
|
+
var vtkjs_1 = require("3bce7c9db6") /* ./vtkjs */;
|
|
11036
11075
|
__esExport("VTKJSPlot", vtkjs_1.VTKJSPlot);
|
|
11037
|
-
var vtkvolume_1 = require("
|
|
11076
|
+
var vtkvolume_1 = require("c2892117a7") /* ./vtkvolume */;
|
|
11038
11077
|
__esExport("VTKVolumePlot", vtkvolume_1.VTKVolumePlot);
|
|
11039
|
-
var vtkaxes_1 = require("
|
|
11078
|
+
var vtkaxes_1 = require("7cec459a06") /* ./vtkaxes */;
|
|
11040
11079
|
__esExport("VTKAxes", vtkaxes_1.VTKAxes);
|
|
11041
|
-
var vtksynchronized_1 = require("
|
|
11080
|
+
var vtksynchronized_1 = require("40c4377615") /* ./vtksynchronized */;
|
|
11042
11081
|
__esExport("VTKSynchronizedPlot", vtksynchronized_1.VTKSynchronizedPlot);
|
|
11043
11082
|
},
|
|
11044
|
-
"
|
|
11083
|
+
"3bce7c9db6": /* models/vtk/vtkjs.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
11045
11084
|
__esModule();
|
|
11046
11085
|
var _a;
|
|
11047
|
-
const vtklayout_1 = require("
|
|
11086
|
+
const vtklayout_1 = require("d7ded264dc") /* ./vtklayout */;
|
|
11048
11087
|
const util_1 = require("a76a9b7c23") /* ./util */;
|
|
11049
11088
|
class VTKJSPlotView extends vtklayout_1.AbstractVTKView {
|
|
11050
11089
|
connect_signals() {
|
|
@@ -11110,17 +11149,17 @@
|
|
|
11110
11149
|
}));
|
|
11111
11150
|
})();
|
|
11112
11151
|
},
|
|
11113
|
-
"
|
|
11152
|
+
"d7ded264dc": /* models/vtk/vtklayout.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
11114
11153
|
__esModule();
|
|
11115
11154
|
var _a;
|
|
11116
11155
|
const dom_1 = require("@bokehjs/core/dom");
|
|
11117
11156
|
const object_1 = require("@bokehjs/core/util/object");
|
|
11118
11157
|
const color_mapper_1 = require("@bokehjs/models/mappers/color_mapper");
|
|
11119
11158
|
const kinds_1 = require("@bokehjs/core/kinds");
|
|
11120
|
-
const layout_1 = require("
|
|
11159
|
+
const layout_1 = require("ea218d1c3c") /* ../layout */;
|
|
11121
11160
|
const util_1 = require("a76a9b7c23") /* ./util */;
|
|
11122
|
-
const vtkcolorbar_1 = require("
|
|
11123
|
-
const vtkaxes_1 = require("
|
|
11161
|
+
const vtkcolorbar_1 = require("787f6aeecd") /* ./vtkcolorbar */;
|
|
11162
|
+
const vtkaxes_1 = require("7cec459a06") /* ./vtkaxes */;
|
|
11124
11163
|
const INFO_DIV_STYLE = {
|
|
11125
11164
|
padding: "0px 2px 0px 2px",
|
|
11126
11165
|
maxHeight: "150px",
|
|
@@ -11695,7 +11734,7 @@
|
|
|
11695
11734
|
}
|
|
11696
11735
|
exports.cartesian_product = cartesian_product;
|
|
11697
11736
|
},
|
|
11698
|
-
"
|
|
11737
|
+
"787f6aeecd": /* models/vtk/vtkcolorbar.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
11699
11738
|
__esModule();
|
|
11700
11739
|
const mappers_1 = require("@bokehjs/models/mappers");
|
|
11701
11740
|
const array_1 = require("@bokehjs/core/util/array");
|
|
@@ -11796,7 +11835,7 @@
|
|
|
11796
11835
|
exports.VTKColorBar = VTKColorBar;
|
|
11797
11836
|
VTKColorBar.__name__ = "VTKColorBar";
|
|
11798
11837
|
},
|
|
11799
|
-
"
|
|
11838
|
+
"7cec459a06": /* models/vtk/vtkaxes.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
11800
11839
|
__esModule();
|
|
11801
11840
|
var _a;
|
|
11802
11841
|
const model_1 = require("@bokehjs/model");
|
|
@@ -18588,10 +18627,10 @@
|
|
|
18588
18627
|
};
|
|
18589
18628
|
}();
|
|
18590
18629
|
},
|
|
18591
|
-
"
|
|
18630
|
+
"c2892117a7": /* models/vtk/vtkvolume.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
18592
18631
|
__esModule();
|
|
18593
18632
|
var _a;
|
|
18594
|
-
const vtklayout_1 = require("
|
|
18633
|
+
const vtklayout_1 = require("d7ded264dc") /* ./vtklayout */;
|
|
18595
18634
|
const util_1 = require("a76a9b7c23") /* ./util */;
|
|
18596
18635
|
class VTKVolumePlotView extends vtklayout_1.AbstractVTKView {
|
|
18597
18636
|
connect_signals() {
|
|
@@ -18955,12 +18994,12 @@
|
|
|
18955
18994
|
});
|
|
18956
18995
|
})();
|
|
18957
18996
|
},
|
|
18958
|
-
"
|
|
18997
|
+
"40c4377615": /* models/vtk/vtksynchronized.js */ function _(require, module, exports, __esModule, __esExport) {
|
|
18959
18998
|
__esModule();
|
|
18960
18999
|
var _a;
|
|
18961
19000
|
const object_1 = require("@bokehjs/core/util/object");
|
|
18962
19001
|
const debounce_1 = require("99a25e6992") /* debounce */;
|
|
18963
|
-
const vtklayout_1 = require("
|
|
19002
|
+
const vtklayout_1 = require("d7ded264dc") /* ./vtklayout */;
|
|
18964
19003
|
const panel_fullscreen_renwin_sync_1 = require("877619fe71") /* ./panel_fullscreen_renwin_sync */;
|
|
18965
19004
|
const util_1 = require("a76a9b7c23") /* ./util */;
|
|
18966
19005
|
const CONTEXT_NAME = "panel";
|
|
@@ -19198,5 +19237,5 @@
|
|
|
19198
19237
|
}
|
|
19199
19238
|
exports.initialize_fullscreen_render = initialize_fullscreen_render;
|
|
19200
19239
|
},
|
|
19201
|
-
}, "4e90918c0a", {"index":"4e90918c0a","models/index":"1ad646c29c","models/ace":"
|
|
19240
|
+
}, "4e90918c0a", {"index":"4e90918c0a","models/index":"1ad646c29c","models/ace":"7df2008a2e","models/layout":"ea218d1c3c","models/audio":"78153b60aa","models/browser":"6df8bf1ac7","models/card":"fbd3c63e1d","models/comm_manager":"1e66dab844","models/customselect":"9c8629b48f","models/tabulator":"73d638fa4a","models/data":"fd9108e30e","models/datetime_picker":"6658732ce1","models/deckgl":"991e3a226c","models/tooltips":"9588ab7c9e","models/echarts":"eded13f5d7","models/event-to-object":"490942d778","models/html":"6b3b0facc2","models/ipywidget":"e3556c1e99","models/json":"66846b828c","models/jsoneditor":"4b8a56c700","models/file_download":"9c15016be8","models/katex":"197cfa57e5","models/location":"00a25cf872","models/mathjax":"46a1770629","models/pdf":"d49a559fbc","models/perspective":"9f0456e5b5","models/player":"c172556ad3","models/plotly":"bb3d0ded66","models/util":"990b5dd5c7","models/progress":"b82925a928","models/quill":"e115225ba2","models/reactive_html":"b969c294f5","models/singleselect":"6b20024bba","models/speech_to_text":"cd0c80cc4c","models/state":"66717cb841","models/tabs":"67a5649f75","models/terminal":"cd4a941f8d","models/text_to_speech":"eb4ae0acfa","models/tooltip_icon":"26ffc3afe8","models/trend":"8f4ab32d74","models/vega":"3b23e1bc5c","models/video":"4ac59b8079","models/videostream":"797fd61298","models/vizzu":"e8339ee57a","models/vtk/index":"c51f25e2a7","models/vtk/vtkjs":"3bce7c9db6","models/vtk/vtklayout":"d7ded264dc","models/vtk/util":"a76a9b7c23","models/vtk/vtkcolorbar":"787f6aeecd","models/vtk/vtkaxes":"7cec459a06","models/vtk/vtkvolume":"c2892117a7","models/vtk/vtksynchronized":"40c4377615","models/vtk/panel_fullscreen_renwin_sync":"877619fe71"}, {});});
|
|
19202
19241
|
//# sourceMappingURL=panel.js.map
|