@perspective-dev/viewer 4.3.0 → 4.4.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/cdn/perspective-viewer.js +2 -2
- package/dist/cdn/perspective-viewer.js.map +4 -4
- package/dist/css/botanical.css +1 -1
- package/dist/css/dracula.css +1 -1
- package/dist/css/gruvbox-dark.css +1 -1
- package/dist/css/gruvbox.css +1 -1
- package/dist/css/icons.css +1 -1
- package/dist/css/intl/de.css +1 -1
- package/dist/css/intl/es.css +1 -1
- package/dist/css/intl/fr.css +1 -1
- package/dist/css/intl/ja.css +1 -1
- package/dist/css/intl/pt.css +1 -1
- package/dist/css/intl/zh.css +1 -1
- package/dist/css/intl.css +1 -1
- package/dist/css/monokai.css +1 -1
- package/dist/css/pro-dark.css +1 -1
- package/dist/css/pro.css +1 -1
- package/dist/css/solarized-dark.css +1 -1
- package/dist/css/solarized.css +1 -1
- package/dist/css/themes.css +1 -1
- package/dist/css/vaporwave.css +1 -1
- package/dist/esm/perspective-viewer.inline.js +2 -2
- package/dist/esm/perspective-viewer.inline.js.map +4 -4
- package/dist/esm/perspective-viewer.js +2 -2
- package/dist/esm/perspective-viewer.js.map +4 -4
- package/dist/wasm/perspective-viewer.d.ts +57 -53
- package/dist/wasm/perspective-viewer.js +190 -165
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +17 -18
- package/package.json +7 -5
- package/src/{less/aggregate-selector.less → css/aggregate-selector.css} +23 -20
- package/src/css/column-dropdown.css +109 -0
- package/src/{less/column-selector.less → css/column-selector.css} +160 -158
- package/src/{less/column-settings-panel.less → css/column-settings-panel.css} +69 -59
- package/src/{less/column-style.less → css/column-style.css} +52 -66
- package/src/{less/column-symbol-attributes.less → css/column-symbol-attributes.css} +15 -14
- package/src/{less/config-selector.less → css/config-selector.css} +151 -135
- package/src/{less/containers/dropdown-menu.less → css/containers/dropdown-menu.css} +20 -19
- package/src/{less/containers/pairs-list.less → css/containers/pairs-list.css} +13 -12
- package/src/{themes/variables.less → css/containers/scroll-panel.css} +25 -22
- package/src/{less/containers/split-panel.less → css/containers/split-panel.css} +15 -14
- package/src/{less/containers/tabs.less → css/containers/tabs.css} +17 -19
- package/src/css/dom/checkbox.css +102 -0
- package/src/css/dom/scrollbar.css +35 -0
- package/src/{less/dom/select.less → css/dom/select.css} +17 -18
- package/src/{less/empty-column.less → css/empty-column.css} +19 -18
- package/src/{less/expression-editor.less → css/expression-editor.css} +19 -18
- package/src/{less/filter-dropdown.less → css/filter-dropdown.css} +12 -11
- package/src/{less/filter-item.less → css/filter-item.css} +16 -15
- package/src/{less/form/code-editor.less → css/form/code-editor.css} +26 -30
- package/src/{less/form/debug.less → css/form/debug.css} +19 -18
- package/src/{less/function-dropdown.less → css/function-dropdown.css} +12 -11
- package/src/css/plugin-selector.css +261 -0
- package/src/{less/render-warning.less → css/render-warning.css} +18 -17
- package/src/{less/status-bar.less → css/status-bar.css} +156 -144
- package/src/css/type-icon.css +116 -0
- package/src/{less/viewer.less → css/viewer.css} +112 -146
- package/src/rust/components/column_dropdown.rs +229 -119
- package/src/rust/components/column_selector/active_column.rs +81 -62
- package/src/rust/components/column_selector/add_expression_button.rs +1 -0
- package/src/rust/components/column_selector/aggregate_selector.rs +25 -15
- package/src/rust/components/column_selector/config_selector.rs +315 -199
- package/src/rust/components/column_selector/empty_column.rs +2 -2
- package/src/rust/components/column_selector/expr_edit_button.rs +8 -2
- package/src/rust/components/column_selector/filter_column.rs +37 -26
- package/src/rust/components/column_selector/inactive_column.rs +41 -29
- package/src/rust/components/column_selector/invalid_column.rs +7 -18
- package/src/rust/components/column_selector/pivot_column.rs +11 -5
- package/src/rust/components/column_selector/sort_column.rs +23 -13
- package/src/rust/components/column_selector.rs +163 -84
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/row_selector.rs +1 -1
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs.rs +3 -2
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_pairs_item.rs +3 -2
- package/src/rust/components/column_settings_sidebar/style_tab/symbol/symbol_selector.rs +2 -3
- package/src/rust/components/column_settings_sidebar/style_tab/symbol.rs +7 -1
- package/src/rust/components/column_settings_sidebar/style_tab.rs +153 -112
- package/src/rust/components/column_settings_sidebar.rs +91 -53
- package/src/rust/components/containers/dragdrop_list.rs +2 -1
- package/src/rust/components/containers/sidebar_close_button.rs +1 -1
- package/src/rust/components/containers/split_panel.rs +1 -0
- package/src/rust/components/containers/tab_list.rs +1 -1
- package/src/rust/components/copy_dropdown.rs +7 -28
- package/src/rust/components/datetime_column_style/custom.rs +2 -2
- package/src/rust/components/datetime_column_style/simple.rs +2 -2
- package/src/rust/components/datetime_column_style.rs +4 -2
- package/src/rust/components/editable_header.rs +7 -4
- package/src/rust/components/empty_row.rs +1 -1
- package/src/rust/components/export_dropdown.rs +4 -30
- package/src/rust/components/expression_editor.rs +19 -10
- package/src/rust/components/filter_dropdown.rs +246 -102
- package/src/rust/components/font_loader.rs +11 -28
- package/src/rust/components/form/code_editor.rs +17 -2
- package/src/rust/components/form/color_range_selector.rs +19 -6
- package/src/rust/components/form/debug.rs +30 -13
- package/src/rust/components/function_dropdown.rs +186 -113
- package/src/rust/components/main_panel.rs +71 -89
- package/src/rust/components/mod.rs +1 -1
- package/src/rust/components/modal.rs +7 -1
- package/src/rust/components/number_column_style.rs +22 -7
- package/src/rust/components/plugin_selector.rs +34 -102
- package/src/rust/components/portal.rs +274 -0
- package/src/rust/components/render_warning.rs +72 -123
- package/src/rust/components/settings_panel.rs +115 -11
- package/src/rust/components/status_bar.rs +222 -98
- package/src/rust/components/status_bar_counter.rs +8 -20
- package/src/rust/components/status_indicator.rs +64 -114
- package/src/rust/components/string_column_style.rs +2 -2
- package/src/rust/components/style/style_cache.rs +5 -1
- package/src/rust/components/viewer.rs +391 -39
- package/src/rust/custom_elements/copy_dropdown.rs +102 -21
- package/src/rust/custom_elements/export_dropdown.rs +102 -20
- package/src/rust/custom_elements/mod.rs +0 -7
- package/src/rust/custom_elements/modal.rs +7 -103
- package/src/rust/custom_elements/viewer.rs +99 -35
- package/src/rust/custom_events.rs +23 -2
- package/src/rust/dragdrop.rs +149 -10
- package/src/{less/containers/scroll-panel.less → rust/engines.rs} +15 -13
- package/src/rust/js/plugin.rs +1 -1
- package/src/rust/lib.rs +5 -4
- package/src/rust/presentation/props.rs +39 -0
- package/src/rust/presentation/sheets.rs +3 -3
- package/src/rust/presentation.rs +44 -8
- package/src/rust/renderer/limits.rs +32 -3
- package/src/{less/dom/scrollbar.less → rust/renderer/props.rs} +18 -19
- package/src/rust/renderer.rs +83 -9
- package/src/rust/session/column_defaults_update.rs +1 -1
- package/src/rust/session/metadata.rs +23 -2
- package/src/rust/session/props.rs +178 -0
- package/src/rust/session.rs +124 -117
- package/src/rust/tasks/column_locator.rs +133 -0
- package/src/rust/{model → tasks}/columns_iter_set.rs +14 -23
- package/src/rust/{model → tasks}/edit_expression.rs +34 -10
- package/src/rust/{model → tasks}/eject.rs +2 -2
- package/src/rust/{model → tasks}/get_viewer_config.rs +0 -11
- package/src/rust/{model → tasks}/intersection_observer.rs +19 -3
- package/src/{less/containers/radio-list.less → rust/tasks/is_invalid_drop.rs} +21 -14
- package/src/rust/tasks/mod.rs +52 -0
- package/src/rust/{model → tasks}/plugin_column_styles.rs +69 -46
- package/src/rust/{model → tasks}/resize_observer.rs +39 -6
- package/src/rust/{model → tasks}/send_plugin_config.rs +1 -1
- package/src/rust/tasks/structural.rs +53 -0
- package/src/rust/utils/mod.rs +4 -0
- package/src/rust/utils/modal_position.rs +110 -0
- package/src/rust/utils/ptr_eq_rc.rs +74 -0
- package/src/rust/utils/pubsub.rs +11 -1
- package/src/svg/bg-pattern.png +0 -0
- package/src/svg/close-icon.svg +1 -1
- package/src/svg/expression.svg +1 -1
- package/src/svg/mega-menu-icons-candlestick.svg +1 -1
- package/src/svg/mega-menu-icons-datagrid.svg +1 -2
- package/src/svg/mega-menu-icons-heatmap.svg +1 -1
- package/src/svg/mega-menu-icons-map-scatter.svg +1 -1
- package/src/svg/mega-menu-icons-ohlc.svg +1 -1
- package/src/svg/mega-menu-icons-sunburst.svg +1 -1
- package/src/svg/mega-menu-icons-treemap.svg +1 -1
- package/src/svg/mega-menu-icons-x-bar.svg +1 -1
- package/src/svg/mega-menu-icons-x-y-line.svg +1 -1
- package/src/svg/mega-menu-icons-x-y-scatter.svg +1 -1
- package/src/svg/mega-menu-icons-y-area.svg +1 -1
- package/src/svg/mega-menu-icons-y-bar.svg +1 -1
- package/src/svg/mega-menu-icons-y-line.svg +1 -1
- package/src/svg/mega-menu-icons-y-scatter.svg +1 -1
- package/src/svg/radio-hover.svg +1 -1
- package/src/svg/radio-off.svg +1 -1
- package/src/svg/radio-on.svg +1 -1
- package/src/themes/botanical.css +157 -0
- package/src/themes/defaults.css +139 -0
- package/src/themes/dracula.css +233 -0
- package/src/themes/gruvbox-dark.css +255 -0
- package/src/themes/gruvbox.css +134 -0
- package/src/themes/icons.css +124 -0
- package/src/themes/intl/de.css +102 -0
- package/src/themes/intl/es.css +102 -0
- package/src/themes/intl/fr.css +102 -0
- package/src/themes/intl/ja.css +102 -0
- package/src/themes/intl/pt.css +102 -0
- package/src/themes/intl/zh.css +102 -0
- package/src/themes/intl.css +102 -0
- package/src/themes/monokai.css +233 -0
- package/src/themes/pro-dark.css +158 -0
- package/src/themes/{themes.less → pro.css} +17 -21
- package/src/themes/solarized-dark.css +135 -0
- package/src/themes/solarized.css +95 -0
- package/src/themes/themes.css +22 -0
- package/src/themes/vaporwave.css +256 -0
- package/dist/css/variables.css +0 -0
- package/src/less/column-dropdown.less +0 -95
- package/src/less/dom/checkbox.less +0 -100
- package/src/less/plugin-selector.less +0 -183
- package/src/less/type-icon.less +0 -68
- package/src/rust/components/error_message.rs +0 -56
- package/src/rust/custom_elements/column_dropdown.rs +0 -123
- package/src/rust/custom_elements/filter_dropdown.rs +0 -179
- package/src/rust/custom_elements/function_dropdown.rs +0 -115
- package/src/rust/model/column_locator.rs +0 -82
- package/src/rust/model/is_invalid_drop.rs +0 -36
- package/src/rust/model/mod.rs +0 -100
- package/src/rust/model/reset_all.rs +0 -38
- package/src/rust/model/structural.rs +0 -244
- package/src/themes/botanical.less +0 -142
- package/src/themes/dracula.less +0 -101
- package/src/themes/gruvbox-dark.less +0 -116
- package/src/themes/gruvbox.less +0 -152
- package/src/themes/icons.less +0 -130
- package/src/themes/intl/de.less +0 -102
- package/src/themes/intl/es.less +0 -102
- package/src/themes/intl/fr.less +0 -102
- package/src/themes/intl/ja.less +0 -102
- package/src/themes/intl/pt.less +0 -102
- package/src/themes/intl/zh.less +0 -102
- package/src/themes/intl.less +0 -102
- package/src/themes/monokai.less +0 -107
- package/src/themes/pro-dark.less +0 -147
- package/src/themes/pro.less +0 -186
- package/src/themes/solarized-dark.less +0 -78
- package/src/themes/solarized.less +0 -102
- package/src/themes/vaporwave.less +0 -145
- /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-68fef752754ffbc6}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-68fef752754ffbc6}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-68fef752754ffbc6}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-68fef752754ffbc6}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-d729f682ba5c19df → perspective-viewer-68fef752754ffbc6}/inline4.js +0 -0
- /package/src/rust/{model → tasks}/copy_export.rs +0 -0
- /package/src/rust/{model → tasks}/export_app.rs +0 -0
- /package/src/rust/{model → tasks}/export_method.rs +0 -0
- /package/src/rust/{model → tasks}/restore_and_render.rs +0 -0
- /package/src/rust/{model → tasks}/update_and_render.rs +0 -0
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@import "dom/scrollbar.less";
|
|
1
|
+
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
2
|
+
* ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
3
|
+
* ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
4
|
+
* ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
5
|
+
* ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
6
|
+
* ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
7
|
+
* ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
8
|
+
* ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
9
|
+
* ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
10
|
+
* ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
11
|
+
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
12
|
+
*/
|
|
14
13
|
|
|
15
14
|
:host {
|
|
16
15
|
#editor {
|
|
@@ -19,7 +18,6 @@
|
|
|
19
18
|
position: relative;
|
|
20
19
|
overflow-x: visible;
|
|
21
20
|
overflow-y: auto;
|
|
22
|
-
@include scrollbar;
|
|
23
21
|
|
|
24
22
|
#editor-height-sizer {
|
|
25
23
|
height: 100px;
|
|
@@ -33,13 +31,13 @@
|
|
|
33
31
|
}
|
|
34
32
|
|
|
35
33
|
#line_numbers {
|
|
36
|
-
color: var(--inactive--color);
|
|
37
|
-
background-color: var(--
|
|
34
|
+
color: var(--psp-inactive--color);
|
|
35
|
+
background-color: var(--psp--background-color, white);
|
|
38
36
|
box-sizing: border-box;
|
|
39
37
|
display: flex;
|
|
40
38
|
flex-direction: column;
|
|
41
39
|
flex: 0 0 auto;
|
|
42
|
-
font-family: var(--interface-monospace--font-family, monospace);
|
|
40
|
+
font-family: var(--psp-interface-monospace--font-family, monospace);
|
|
43
41
|
font-weight: 400;
|
|
44
42
|
overflow: hidden;
|
|
45
43
|
padding: 6px 0 6px 6px;
|
|
@@ -59,25 +57,25 @@
|
|
|
59
57
|
pre#content {
|
|
60
58
|
margin: 0 6px 6px 0;
|
|
61
59
|
padding: 6px 0;
|
|
62
|
-
|
|
60
|
+
/* margin-left: 36px; */
|
|
63
61
|
box-sizing: border-box;
|
|
64
62
|
pointer-events: none;
|
|
65
63
|
font-weight: 400;
|
|
66
|
-
font-family: var(--interface-monospace--font-family, monospace);
|
|
64
|
+
font-family: var(--psp-interface-monospace--font-family, monospace);
|
|
67
65
|
color: var(--code-editor-error--color, red);
|
|
68
66
|
white-space: pre;
|
|
69
67
|
overflow: hidden;
|
|
70
68
|
|
|
71
69
|
span {
|
|
72
|
-
|
|
70
|
+
/* display: contents; */
|
|
73
71
|
}
|
|
74
72
|
|
|
75
73
|
.comment {
|
|
76
|
-
color: var(--code-editor
|
|
74
|
+
color: var(--psp-code-editor--comment--color, orange);
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
.operator {
|
|
80
|
-
color: var(--code-editor
|
|
78
|
+
color: var(--psp-code-editor--operator--color, green);
|
|
81
79
|
}
|
|
82
80
|
|
|
83
81
|
.unknown {
|
|
@@ -85,19 +83,19 @@
|
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
.symbol {
|
|
88
|
-
color: var(--code-editor
|
|
86
|
+
color: var(--psp-code-editor--symbol--color, #242526);
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
.column {
|
|
92
|
-
color: var(--code-editor
|
|
90
|
+
color: var(--psp-code-editor--column--color, purple);
|
|
93
91
|
}
|
|
94
92
|
|
|
95
93
|
.literal {
|
|
96
|
-
color: var(--code-editor
|
|
94
|
+
color: var(--psp-code-editor--literal--color, blue);
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
.error_highlight {
|
|
100
|
-
|
|
98
|
+
/* background-color: */
|
|
101
99
|
color: var(--code-editor-error--color, red);
|
|
102
100
|
background-color: rgba(255, 0, 0, 0.1);
|
|
103
101
|
border: 0px solid var(--code-editor-error--color, red);
|
|
@@ -107,12 +105,10 @@
|
|
|
107
105
|
}
|
|
108
106
|
|
|
109
107
|
#textarea_editable {
|
|
110
|
-
@include scrollbar;
|
|
111
|
-
|
|
112
108
|
position: absolute;
|
|
113
109
|
width: 100%;
|
|
114
110
|
height: 100%;
|
|
115
|
-
font-family: var(--interface-monospace--font-family, monospace);
|
|
111
|
+
font-family: var(--psp-interface-monospace--font-family, monospace);
|
|
116
112
|
font-size: 1em;
|
|
117
113
|
resize: none;
|
|
118
114
|
padding: 6px 0;
|
|
@@ -120,7 +116,7 @@
|
|
|
120
116
|
border: none;
|
|
121
117
|
outline: none;
|
|
122
118
|
color: transparent;
|
|
123
|
-
caret-color: var(--code-editor
|
|
119
|
+
caret-color: var(--psp-code-editor--symbol--color, #242526);
|
|
124
120
|
white-space: pre;
|
|
125
121
|
box-sizing: border-box;
|
|
126
122
|
background-color: transparent;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
2
|
+
* ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
3
|
+
* ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
4
|
+
* ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
5
|
+
* ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
6
|
+
* ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
7
|
+
* ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
8
|
+
* ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
9
|
+
* ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
10
|
+
* ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
11
|
+
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
12
|
+
*/
|
|
12
13
|
|
|
13
14
|
:host {
|
|
14
15
|
div.tab-title#Debug:before {
|
|
15
|
-
content: var(--debug-tab
|
|
16
|
+
content: var(--psp-label--debug-tab--content, "Debug JSON");
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
#debug-panel-overflow {
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
appearance: none;
|
|
48
49
|
background-color: transparent;
|
|
49
50
|
border-radius: 3px;
|
|
50
|
-
border: 1px solid var(--
|
|
51
|
+
border: 1px solid var(--psp--color);
|
|
51
52
|
color: inherit;
|
|
52
53
|
cursor: pointer;
|
|
53
54
|
flex: 0 1 100px;
|
|
@@ -59,8 +60,8 @@
|
|
|
59
60
|
overflow: hidden;
|
|
60
61
|
width: 0px;
|
|
61
62
|
&:not([disabled]):hover {
|
|
62
|
-
background-color: var(--
|
|
63
|
-
color: var(--
|
|
63
|
+
background-color: var(--psp--color);
|
|
64
|
+
color: var(--psp--background-color);
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
&[disabled] {
|
|
@@ -79,10 +80,10 @@
|
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
#editor {
|
|
82
|
-
background-color: var(--
|
|
83
|
-
border: 1px solid var(--inactive--color);
|
|
83
|
+
background-color: var(--psp--background-color);
|
|
84
|
+
border: 1px solid var(--psp-inactive--color);
|
|
84
85
|
border-radius: 2px;
|
|
85
|
-
|
|
86
|
+
/* height: 100%; */
|
|
86
87
|
}
|
|
87
88
|
}
|
|
88
89
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
2
|
+
* ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
3
|
+
* ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
4
|
+
* ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
5
|
+
* ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
6
|
+
* ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
7
|
+
* ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
8
|
+
* ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
9
|
+
* ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
10
|
+
* ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
11
|
+
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
12
|
+
*/
|
|
12
13
|
|
|
13
14
|
:host {
|
|
14
15
|
position: fixed;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
2
|
+
* ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
3
|
+
* ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
4
|
+
* ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
5
|
+
* ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
6
|
+
* ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
7
|
+
* ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
8
|
+
* ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
9
|
+
* ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
10
|
+
* ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
11
|
+
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
#settings_panel {
|
|
16
|
+
#plugin_selector_container.open ~ * {
|
|
17
|
+
opacity: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
#plugin_selector_container {
|
|
21
|
+
min-height: var(
|
|
22
|
+
--psp-plugin-selector--height,
|
|
23
|
+
var(--psp-status-bar--height, 48px)
|
|
24
|
+
);
|
|
25
|
+
display: flex;
|
|
26
|
+
white-space: nowrap;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
flex: 0 0 auto;
|
|
29
|
+
|
|
30
|
+
/* Overflow the padding bounds of the container */
|
|
31
|
+
/* TODO these bounds exist to protext the resizer and scrollbar (left & */
|
|
32
|
+
/* right resp) but we really should find a way to remove it and delegate */
|
|
33
|
+
/* to sub-containers. */
|
|
34
|
+
margin: 0 0px 0 -9px;
|
|
35
|
+
|
|
36
|
+
#plugin_selector_border {
|
|
37
|
+
height: 2px;
|
|
38
|
+
min-height: 2px;
|
|
39
|
+
width: 100%;
|
|
40
|
+
background-color: var(--psp-inactive--color, #6e6e6e);
|
|
41
|
+
margin-top: 2px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.plugin-selector-options {
|
|
45
|
+
overflow-y: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.open {
|
|
49
|
+
position: absolute;
|
|
50
|
+
margin: 0;
|
|
51
|
+
top: 0;
|
|
52
|
+
left: 0;
|
|
53
|
+
right: 0;
|
|
54
|
+
bottom: 0;
|
|
55
|
+
|
|
56
|
+
/* This element is first in the container but visually "overlaps" */
|
|
57
|
+
/* when expanded */
|
|
58
|
+
z-index: 3;
|
|
59
|
+
color: var(--psp--color, #042121);
|
|
60
|
+
/* background: var(--psp--background-color); */
|
|
61
|
+
|
|
62
|
+
.plugin-select-item {
|
|
63
|
+
padding-left: 8px;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.plugin-select-item-name {
|
|
68
|
+
padding-left: 10px;
|
|
69
|
+
font-size: 1.33333em;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.plugin-select-item-name:before {
|
|
73
|
+
/* This value is set in a `style` tag from Yew! */
|
|
74
|
+
content: var(--default-column-title);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.plugin-select-item {
|
|
78
|
+
/* width: 48px; */
|
|
79
|
+
padding-left: 9px;
|
|
80
|
+
height: var(
|
|
81
|
+
--psp-plugin-selector--height,
|
|
82
|
+
var(--psp-status-bar--height, 48px)
|
|
83
|
+
);
|
|
84
|
+
min-height: var(
|
|
85
|
+
--psp-plugin-selector--height,
|
|
86
|
+
var(--psp-status-bar--height, 48px)
|
|
87
|
+
);
|
|
88
|
+
display: flex;
|
|
89
|
+
align-items: center;
|
|
90
|
+
border-bottom: 1px solid transparent;
|
|
91
|
+
box-shadow: 0px 1px var(--psp-inactive--color, #6e6e6e);
|
|
92
|
+
cursor: pointer;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.plugin-select-item > .icon {
|
|
96
|
+
display: inline-block;
|
|
97
|
+
-webkit-mask-size: cover;
|
|
98
|
+
mask-size: cover;
|
|
99
|
+
background-repeat: no-repeat;
|
|
100
|
+
background-color: var(--psp--color);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.plugin-select-item:hover {
|
|
104
|
+
background-color: var(--psp--color, #042121);
|
|
105
|
+
color: var(--psp--background-color, #fdfffd);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.plugin-select-item:hover > .icon {
|
|
109
|
+
background-color: var(--psp--background-color, #fdfffd);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.plugin-select-item[data-plugin="Candlestick"] > .icon {
|
|
113
|
+
-webkit-mask-image: var(
|
|
114
|
+
--psp-plugin-selector--candlestick--content
|
|
115
|
+
);
|
|
116
|
+
mask-image: var(--psp-plugin-selector--candlestick--content);
|
|
117
|
+
&:before {
|
|
118
|
+
content: var(--psp-plugin-selector--candlestick--content);
|
|
119
|
+
visibility: hidden;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.plugin-select-item[data-plugin="Heatmap"] > .icon {
|
|
124
|
+
-webkit-mask-image: var(
|
|
125
|
+
--psp-plugin-selector--heatmap--content
|
|
126
|
+
);
|
|
127
|
+
mask-image: var(--psp-plugin-selector--heatmap--content);
|
|
128
|
+
&:before {
|
|
129
|
+
content: var(--psp-plugin-selector--heatmap--content);
|
|
130
|
+
visibility: hidden;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.plugin-select-item[data-plugin="Map Scatter"] > .icon {
|
|
135
|
+
-webkit-mask-image: var(
|
|
136
|
+
--psp-plugin-selector--map-scatter--content
|
|
137
|
+
);
|
|
138
|
+
mask-image: var(--psp-plugin-selector--map-scatter--content);
|
|
139
|
+
&:before {
|
|
140
|
+
content: var(--psp-plugin-selector--map-scatter--content);
|
|
141
|
+
visibility: hidden;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.plugin-select-item[data-plugin="OHLC"] > .icon {
|
|
146
|
+
-webkit-mask-image: var(--psp-plugin-selector--ohlc--content);
|
|
147
|
+
mask-image: var(--psp-plugin-selector--ohlc--content);
|
|
148
|
+
&:before {
|
|
149
|
+
content: var(--psp-plugin-selector--ohlc--content);
|
|
150
|
+
visibility: hidden;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.plugin-select-item[data-plugin="Sunburst"] > .icon {
|
|
155
|
+
-webkit-mask-image: var(
|
|
156
|
+
--psp-plugin-selector--sunburst--content
|
|
157
|
+
);
|
|
158
|
+
mask-image: var(--psp-plugin-selector--sunburst--content);
|
|
159
|
+
&:before {
|
|
160
|
+
content: var(--psp-plugin-selector--sunburst--content);
|
|
161
|
+
visibility: hidden;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.plugin-select-item[data-plugin="Treemap"] > .icon {
|
|
166
|
+
-webkit-mask-image: var(
|
|
167
|
+
--psp-plugin-selector--treemap--content
|
|
168
|
+
);
|
|
169
|
+
mask-image: var(--psp-plugin-selector--treemap--content);
|
|
170
|
+
&:before {
|
|
171
|
+
content: var(--psp-plugin-selector--treemap--content);
|
|
172
|
+
visibility: hidden;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.plugin-select-item[data-plugin="X Bar"] > .icon {
|
|
177
|
+
-webkit-mask-image: var(--psp-plugin-selector--x-bar--content);
|
|
178
|
+
mask-image: var(--psp-plugin-selector--x-bar--content);
|
|
179
|
+
&:before {
|
|
180
|
+
content: var(--psp-plugin-selector--x-bar--content);
|
|
181
|
+
visibility: hidden;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.plugin-select-item[data-plugin="X/Y Line"] > .icon {
|
|
186
|
+
-webkit-mask-image: var(
|
|
187
|
+
--psp-plugin-selector--x-y-line--content
|
|
188
|
+
);
|
|
189
|
+
mask-image: var(--psp-plugin-selector--x-y-line--content);
|
|
190
|
+
&:before {
|
|
191
|
+
content: var(--psp-plugin-selector--x-y-line--content);
|
|
192
|
+
visibility: hidden;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.plugin-select-item[data-plugin="X/Y Scatter"] > .icon {
|
|
197
|
+
-webkit-mask-image: var(
|
|
198
|
+
--psp-plugin-selector--x-y-scatter--content
|
|
199
|
+
);
|
|
200
|
+
mask-image: var(--psp-plugin-selector--x-y-scatter--content);
|
|
201
|
+
&:before {
|
|
202
|
+
content: var(--psp-plugin-selector--x-y-scatter--content);
|
|
203
|
+
visibility: hidden;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.plugin-select-item[data-plugin="Y Area"] > .icon {
|
|
208
|
+
-webkit-mask-image: var(--psp-plugin-selector--y-area--content);
|
|
209
|
+
mask-image: var(--psp-plugin-selector--y-area--content);
|
|
210
|
+
&:before {
|
|
211
|
+
content: var(--psp-plugin-selector--y-area--content);
|
|
212
|
+
visibility: hidden;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.plugin-select-item[data-plugin="Y Bar"] > .icon {
|
|
217
|
+
-webkit-mask-image: var(--psp-plugin-selector--y-bar--content);
|
|
218
|
+
mask-image: var(--psp-plugin-selector--y-bar--content);
|
|
219
|
+
&:before {
|
|
220
|
+
content: var(--psp-plugin-selector--y-bar--content);
|
|
221
|
+
visibility: hidden;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.plugin-select-item[data-plugin="Y Line"] > .icon {
|
|
226
|
+
-webkit-mask-image: var(--psp-plugin-selector--y-line--content);
|
|
227
|
+
mask-image: var(--psp-plugin-selector--y-line--content);
|
|
228
|
+
&:before {
|
|
229
|
+
content: var(--psp-plugin-selector--y-line--content);
|
|
230
|
+
visibility: hidden;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.plugin-select-item[data-plugin="Y Scatter"] > .icon {
|
|
235
|
+
-webkit-mask-image: var(
|
|
236
|
+
--psp-plugin-selector--y-scatter--content
|
|
237
|
+
);
|
|
238
|
+
mask-image: var(--psp-plugin-selector--y-scatter--content);
|
|
239
|
+
&:before {
|
|
240
|
+
content: var(--psp-plugin-selector--y-scatter--content);
|
|
241
|
+
visibility: hidden;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.plugin-select-item[data-plugin="Datagrid"] > .icon {
|
|
246
|
+
-webkit-mask-image: var(
|
|
247
|
+
--psp-plugin-selector--datagrid--content
|
|
248
|
+
);
|
|
249
|
+
mask-image: var(--psp-plugin-selector--datagrid--content);
|
|
250
|
+
&:before {
|
|
251
|
+
content: var(--psp-plugin-selector--datagrid--content);
|
|
252
|
+
visibility: hidden;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#plugin_selector {
|
|
258
|
+
flex-grow: 1;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
/* ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
|
2
|
+
* ┃ ██████ ██████ ██████ █ █ █ █ █ █▄ ▀███ █ ┃
|
|
3
|
+
* ┃ ▄▄▄▄▄█ █▄▄▄▄▄ ▄▄▄▄▄█ ▀▀▀▀▀█▀▀▀▀▀ █ ▀▀▀▀▀█ ████████▌▐███ ███▄ ▀█ █ ▀▀▀▀▀ ┃
|
|
4
|
+
* ┃ █▀▀▀▀▀ █▀▀▀▀▀ █▀██▀▀ ▄▄▄▄▄ █ ▄▄▄▄▄█ ▄▄▄▄▄█ ████████▌▐███ █████▄ █ ▄▄▄▄▄ ┃
|
|
5
|
+
* ┃ █ ██████ █ ▀█▄ █ ██████ █ ███▌▐███ ███████▄ █ ┃
|
|
6
|
+
* ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫
|
|
7
|
+
* ┃ Copyright (c) 2017, the Perspective Authors. ┃
|
|
8
|
+
* ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃
|
|
9
|
+
* ┃ This file is part of the Perspective library, distributed under the terms ┃
|
|
10
|
+
* ┃ of the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). ┃
|
|
11
|
+
* ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
|
|
12
|
+
*/
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
/* @amber400: #ffca28; */
|
|
14
15
|
|
|
15
16
|
:host {
|
|
16
17
|
.plugin_information {
|
|
17
|
-
color: var(--warning--color, inherit);
|
|
18
|
+
color: var(--psp-warning--color, inherit);
|
|
18
19
|
box-sizing: border-box;
|
|
19
20
|
display: flex;
|
|
20
21
|
position: absolute;
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
align-items: center;
|
|
31
32
|
|
|
32
33
|
&.plugin_information--warning {
|
|
33
|
-
background: var(--warning--background, #ffca28);
|
|
34
|
+
background: var(--psp-warning--background, #ffca28);
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
.plugin_information__text {
|
|
@@ -45,13 +46,13 @@
|
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
.plugin_information__icon:before {
|
|
48
|
-
content: var(--overflow-hint
|
|
49
|
+
content: var(--psp-icon-overflow-hint--content);
|
|
49
50
|
height: 20px;
|
|
50
51
|
font-family: var(
|
|
51
52
|
--overflow_hint--font-family,
|
|
52
|
-
var(--button--font-family, inherit)
|
|
53
|
+
var(--psp-button--font-family, inherit)
|
|
53
54
|
);
|
|
54
|
-
color: var(--overflow-hint
|
|
55
|
+
color: var(--psp-icon-overflow-hint--color);
|
|
55
56
|
padding: var(--overflow-hint-icon--padding, 0 12px 0 6px);
|
|
56
57
|
font-size: 16px;
|
|
57
58
|
}
|