@holoviz/panel 1.10.0 → 1.11.0-b.0
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/bootstraptemplate/bootstrap.css +4 -0
- package/dist/bundled/deckglplot/@deck.gl/carto@^9.1.14/dist.min.js +8 -8
- package/dist/bundled/deckglplot/maplibre-gl/dist/maplibre-gl.js +2 -2
- package/dist/bundled/fastbasetemplate/fast.css +8 -1
- package/dist/bundled/filedropper/filepond@^4/dist/filepond.css +1 -1
- package/dist/bundled/filedropper/filepond@^4/dist/filepond.esm.min.js +2 -2
- package/dist/bundled/licenses/index.json +6 -6
- package/dist/bundled/reacttemplate/react.css +4 -0
- package/dist/bundled/theme/fast.css +0 -18
- package/dist/bundled/vanillatemplate/vanilla.css +4 -0
- package/dist/css/progress.css +24 -19
- package/dist/lib/models/comm_manager.d.ts +4 -0
- package/dist/lib/models/comm_manager.js +76 -18
- package/dist/lib/models/comm_manager.js.map +1 -1
- package/dist/lib/models/data.d.ts +1 -0
- package/dist/lib/models/data.js +47 -18
- package/dist/lib/models/data.js.map +1 -1
- package/dist/lib/models/html.d.ts +12 -2
- package/dist/lib/models/html.js +95 -20
- package/dist/lib/models/html.js.map +1 -1
- package/dist/lib/models/icon.js +2 -0
- package/dist/lib/models/icon.js.map +1 -1
- package/dist/lib/models/location.js +3 -0
- package/dist/lib/models/location.js.map +1 -1
- package/dist/lib/models/plotly.d.ts +15 -1
- package/dist/lib/models/plotly.js +99 -33
- package/dist/lib/models/plotly.js.map +1 -1
- package/dist/lib/models/react_component.js +65 -26
- package/dist/lib/models/react_component.js.map +1 -1
- package/dist/lib/models/reactive_esm.d.ts +13 -0
- package/dist/lib/models/reactive_esm.js +25 -0
- package/dist/lib/models/reactive_esm.js.map +1 -1
- package/dist/lib/models/reactive_html.js +32 -16
- package/dist/lib/models/reactive_html.js.map +1 -1
- package/dist/lib/models/resources.d.ts +4 -3
- package/dist/lib/models/resources.js +104 -24
- package/dist/lib/models/resources.js.map +1 -1
- package/dist/lib/models/tabs.d.ts +2 -0
- package/dist/lib/models/tabs.js +11 -0
- package/dist/lib/models/tabs.js.map +1 -1
- package/dist/lib/models/tabulator.d.ts +32 -4
- package/dist/lib/models/tabulator.js +279 -101
- package/dist/lib/models/tabulator.js.map +1 -1
- package/dist/lib/models/vega.d.ts +20 -3
- package/dist/lib/models/vega.js +123 -55
- package/dist/lib/models/vega.js.map +1 -1
- package/dist/lib/styles/progress.css.js +22 -16
- package/dist/panel.js +1004 -353
- package/dist/panel.js.map +1 -1
- package/dist/panel.json +1 -1
- package/dist/panel.min.js +24 -24
- package/package.json +1 -1
- package/dist/css/katex.css +0 -3
- package/dist/dts/styles/katex.css.d.ts +0 -4
- package/dist/lib/styles/katex.css.d.ts +0 -2
- package/dist/lib/styles/katex.css.js +0 -1
|
@@ -4,7 +4,7 @@ import type * as p from "@bokehjs/core/properties";
|
|
|
4
4
|
import { Model } from "@bokehjs/model";
|
|
5
5
|
import type { LayoutDOM } from "@bokehjs/models/layouts/layout_dom";
|
|
6
6
|
import { ColumnDataSource } from "@bokehjs/models/sources/column_data_source";
|
|
7
|
-
import type { Attrs } from "@bokehjs/core/types";
|
|
7
|
+
import type { Attrs, Data } from "@bokehjs/core/types";
|
|
8
8
|
import { HTMLBox, HTMLBoxView } from "./layout";
|
|
9
9
|
export declare class TableEditEvent extends ModelEvent {
|
|
10
10
|
readonly column: string;
|
|
@@ -44,10 +44,18 @@ export declare class DataTabulatorView extends HTMLBoxView {
|
|
|
44
44
|
_initializing: boolean;
|
|
45
45
|
_lastVerticalScrollbarTopPosition: number;
|
|
46
46
|
_lastHorizontalScrollbarLeftPosition: number;
|
|
47
|
-
|
|
47
|
+
/** Bumped when `cell_styles` changes; cells styled with an older version are restyled when visible. */
|
|
48
|
+
_styles_version: number;
|
|
49
|
+
_styled_cells: WeakMap<HTMLElement, {
|
|
50
|
+
version: number;
|
|
51
|
+
props: string[];
|
|
52
|
+
}>;
|
|
48
53
|
_building: boolean;
|
|
49
54
|
_pending_data: boolean;
|
|
55
|
+
/** A data update in flight; its `renderComplete` must not run `postUpdate` a second time. */
|
|
56
|
+
_updating_data: boolean;
|
|
50
57
|
_redrawing: boolean;
|
|
58
|
+
_resized_columns: Map<string, number>;
|
|
51
59
|
/** Coalesced resize redraw; waits for `this.root.ready` (Bokeh view async chain) before redrawing. */
|
|
52
60
|
_resize_pending: boolean;
|
|
53
61
|
_resize_flush: Promise<void> | null;
|
|
@@ -64,9 +72,12 @@ export declare class DataTabulatorView extends HTMLBoxView {
|
|
|
64
72
|
_last_after_resize_el_height: number | null;
|
|
65
73
|
_fonts_loaded: (() => void) | null;
|
|
66
74
|
connect_signals(): void;
|
|
75
|
+
disconnect_signals(): void;
|
|
76
|
+
private _on_document_change;
|
|
67
77
|
get groupBy(): boolean | ((data: any) => string);
|
|
68
78
|
get sorters(): any[];
|
|
69
79
|
invalidate_render(): void;
|
|
80
|
+
refitColumns(field?: string): void;
|
|
70
81
|
redraw(columns?: boolean, rows?: boolean): void;
|
|
71
82
|
get is_drawing(): boolean;
|
|
72
83
|
after_layout(): void;
|
|
@@ -116,14 +127,31 @@ export declare class DataTabulatorView extends HTMLBoxView {
|
|
|
116
127
|
_get_formatter(formatter: any): any;
|
|
117
128
|
renderEditor(column: any, cell: any, onRendered: any, success: any, cancel: any): any;
|
|
118
129
|
setData(): Promise<void>;
|
|
119
|
-
|
|
130
|
+
/** Whether rows can be added or updated in place rather than rebuilding the whole table. */
|
|
131
|
+
get can_update_in_place(): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Appends the streamed rows. Rolling over drops leading rows and shifts every
|
|
134
|
+
* `_index`, so that case (and anything out of sync) rebuilds the table.
|
|
135
|
+
*/
|
|
136
|
+
addData(streamed: Data | null, rollover: number | null): void;
|
|
137
|
+
/**
|
|
138
|
+
* Tabulator's `addData` copies the active rows array and, with pagination,
|
|
139
|
+
* refreshes the whole data pipeline once per added row, which makes appending
|
|
140
|
+
* a batch slower than rebuilding the table. This appends rows the way
|
|
141
|
+
* `RowManager.addRows` does but refreshes once.
|
|
142
|
+
*/
|
|
143
|
+
_append_rows(records: any[]): void;
|
|
120
144
|
postUpdate(): void;
|
|
121
|
-
|
|
145
|
+
/** Updates the patched rows in place; patches touching most rows rebuild the table instead. */
|
|
146
|
+
updateOrAddData(indices: unknown): void;
|
|
147
|
+
replaceData(): void;
|
|
122
148
|
setFrozen(): void;
|
|
123
149
|
updatePage(pageno: number): void;
|
|
124
150
|
setGroupBy(): void;
|
|
125
151
|
setSorters(): void;
|
|
152
|
+
/** Styles the rendered rows; rows rendered later are styled by the `rowFormatter`. */
|
|
126
153
|
setStyles(): void;
|
|
154
|
+
_style_row(row: any): void;
|
|
127
155
|
setHidden(): void;
|
|
128
156
|
setMaxPage(): void;
|
|
129
157
|
setPage(): void;
|