@perspective-dev/viewer 4.2.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 -0
- 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/extensions.d.ts +32 -1
- package/dist/esm/perspective-viewer.d.ts +1 -0
- 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/esm/ts-rs/GroupRollupMode.d.ts +1 -0
- package/dist/esm/ts-rs/ViewerConfigUpdate.d.ts +2 -0
- package/dist/wasm/perspective-viewer.d.ts +57 -53
- package/dist/wasm/perspective-viewer.js +197 -164
- package/dist/wasm/perspective-viewer.wasm +0 -0
- package/dist/wasm/perspective-viewer.wasm.d.ts +17 -18
- package/package.json +9 -6
- 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} +161 -159
- 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/css/config-selector.css +441 -0
- 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 +374 -185
- 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 +21 -10
- package/src/rust/components/column_selector/sort_column.rs +23 -13
- package/src/rust/components/column_selector.rs +189 -100
- 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 +29 -7
- package/src/rust/components/containers/scroll_panel.rs +8 -1
- package/src/rust/components/containers/select.rs +3 -3
- package/src/rust/components/containers/sidebar_close_button.rs +1 -1
- package/src/rust/components/containers/split_panel.rs +3 -2
- 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 -92
- 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 -111
- 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 +20 -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/registry.rs +8 -1
- package/src/rust/renderer.rs +83 -9
- package/src/rust/session/column_defaults_update.rs +18 -0
- package/src/rust/session/metadata.rs +23 -2
- package/src/rust/session/props.rs +178 -0
- package/src/rust/session/replace_expression_update.rs +1 -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 +22 -4
- 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 -20
- 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/src/ts/extensions.ts +73 -2
- package/src/ts/perspective-viewer.ts +1 -0
- package/src/ts/ts-rs/GroupRollupMode.ts +3 -0
- package/src/ts/ts-rs/ViewerConfigUpdate.ts +2 -1
- package/tsconfig.json +1 -0
- package/dist/css/variables.css +0 -0
- package/src/less/column-dropdown.less +0 -95
- package/src/less/config-selector.less +0 -363
- 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/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-1586156e058be573 → perspective-viewer-68fef752754ffbc6}/inline0.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-1586156e058be573 → perspective-viewer-68fef752754ffbc6}/inline1.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-1586156e058be573 → perspective-viewer-68fef752754ffbc6}/inline2.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-1586156e058be573 → perspective-viewer-68fef752754ffbc6}/inline3.js +0 -0
- /package/dist/wasm/snippets/{perspective-viewer-1586156e058be573 → 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
package/src/themes/intl/ja.less
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
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
|
-
perspective-viewer,
|
|
14
|
-
perspective-dropdown {
|
|
15
|
-
// Config
|
|
16
|
-
--group-by-label--content: "グループ化";
|
|
17
|
-
--split-by-label--content: "分割";
|
|
18
|
-
--sort-label--content: "注文方法";
|
|
19
|
-
--filter-label--content: "どこ";
|
|
20
|
-
--transpose-button--content: "スワップ";
|
|
21
|
-
--config-button-icon--content: "構成、設定";
|
|
22
|
-
--all-columns-label--content: "すべての列";
|
|
23
|
-
--untitled--content: "無題";
|
|
24
|
-
|
|
25
|
-
// Plugin names
|
|
26
|
-
--plugin-name-datagrid--content: "データグリッド";
|
|
27
|
-
--plugin-name-treemap--content: "ツリーマップ";
|
|
28
|
-
--plugin-name-sunburst--content: "サンバースト";
|
|
29
|
-
--plugin-name-heatmap--content: "ヒートマップ";
|
|
30
|
-
--plugin-name-x-bar--content: "Xバー";
|
|
31
|
-
--plugin-name-y-bar--content: "アンドバー";
|
|
32
|
-
--plugin-name-y-line--content: "そしてライン";
|
|
33
|
-
--plugin-name-x-y-line--content: "X/Y ライン";
|
|
34
|
-
--plugin-name-x-y-scatter--content: "X/Y 散布図";
|
|
35
|
-
--plugin-name-y-scatter--content: "Y散布図";
|
|
36
|
-
--plugin-name-y-area--content: "とエリア";
|
|
37
|
-
--plugin-name-ohlc--content: "痛い";
|
|
38
|
-
--plugin-name-candlestick--content: "ローソク足";
|
|
39
|
-
|
|
40
|
-
// Column Selector names
|
|
41
|
-
--column-selector-column-columns--content: "コラム";
|
|
42
|
-
--column-selector-column-x-axis--content: "X軸";
|
|
43
|
-
--column-selector-column-y-axis--content: "Y軸";
|
|
44
|
-
--column-selector-column-color--content: "色";
|
|
45
|
-
--column-selector-column-size--content: "サイズ";
|
|
46
|
-
--column-selector-column-symbol--content: "シンボル";
|
|
47
|
-
--column-selector-column-label--content: "ラベル";
|
|
48
|
-
--column-selector-column-tooltip--content: "ツールチップ";
|
|
49
|
-
--add-expression-button--content: "新しい列";
|
|
50
|
-
--aggregate-depth-label--content: "集約の深さ";
|
|
51
|
-
|
|
52
|
-
// Toolbar
|
|
53
|
-
--no-results--content: "無効な列";
|
|
54
|
-
--datagrid-column-edit-button--content: "編集";
|
|
55
|
-
--copy-button--content: "コピー";
|
|
56
|
-
--export-button--content: "輸出";
|
|
57
|
-
--reset-button--content: "リセット";
|
|
58
|
-
--edit-mode--read-only--content: "Read Only";
|
|
59
|
-
--edit-mode--edit--content: "Text Edit";
|
|
60
|
-
--edit-mode--select-row--content: "Select Row";
|
|
61
|
-
--edit-mode--select-column--content: "Select Column";
|
|
62
|
-
--edit-mode--select-region--content: "Select Region";
|
|
63
|
-
--scroll-lock-toggle--content: "フリースクロール";
|
|
64
|
-
--scroll-lock-alt-toggle--content: "スクロールを揃える";
|
|
65
|
-
|
|
66
|
-
// Column Settings
|
|
67
|
-
--color-label--content: "色";
|
|
68
|
-
--format-label--content: "フォーマット";
|
|
69
|
-
--timezone-label--content: "タイムゾーン";
|
|
70
|
-
--date-style-label--content: "日付スタイル";
|
|
71
|
-
--time-style-label--content: "時間スタイル";
|
|
72
|
-
--foreground-label--content: "前景";
|
|
73
|
-
--background-label--content: "背景";
|
|
74
|
-
--series-label--content: "シリーズ";
|
|
75
|
-
--color-range-label--content: "色の範囲";
|
|
76
|
-
--style-label--content: "スタイル";
|
|
77
|
-
--minimum-integer-digits-label--content: "整数の最小桁数";
|
|
78
|
-
--rounding-increment-label--content: "丸め増分";
|
|
79
|
-
--notation-label--content: "表記";
|
|
80
|
-
--use-grouping-label--content: "グループ化を使用する";
|
|
81
|
-
--sign-display-label--content: "サインディスプレイ";
|
|
82
|
-
--max-value-label--content: "最大値";
|
|
83
|
-
--rounding-priority-label--content: "丸めの優先順位";
|
|
84
|
-
--rounding-mode-label--content: "丸めモード";
|
|
85
|
-
--trailing-zero-display-label--content: "末尾ゼロの表示";
|
|
86
|
-
--fractional-digits-label--content: "小数桁";
|
|
87
|
-
--significant-digits-label--content: "有効数字";
|
|
88
|
-
--year-label--content: "年";
|
|
89
|
-
--month-label--content: "月";
|
|
90
|
-
--day-label--content: "日";
|
|
91
|
-
--weekday-label--content: "平日";
|
|
92
|
-
--hour-label--content: "時間";
|
|
93
|
-
--minute-label--content: "分";
|
|
94
|
-
--second-label--content: "2番";
|
|
95
|
-
--fractional-seconds-label--content: "小数秒";
|
|
96
|
-
--hours-label--content: "12/24時間";
|
|
97
|
-
|
|
98
|
-
// Tabs
|
|
99
|
-
--style-tab-label--content: "スタイル";
|
|
100
|
-
--attributes-tab-label--content: "属性";
|
|
101
|
-
--debug-tab-label--content: "Debug JSON";
|
|
102
|
-
}
|
package/src/themes/intl/pt.less
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
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
|
-
perspective-viewer,
|
|
14
|
-
perspective-dropdown {
|
|
15
|
-
// Config
|
|
16
|
-
--group-by-label--content: "Agrupar por";
|
|
17
|
-
--split-by-label--content: "Dividir por";
|
|
18
|
-
--sort-label--content: "Ordenar por";
|
|
19
|
-
--filter-label--content: "Onde";
|
|
20
|
-
--transpose-button--content: "Trocar";
|
|
21
|
-
--config-button-icon--content: "Configurar";
|
|
22
|
-
--all-columns-label--content: "Todas as colunas";
|
|
23
|
-
--untitled--content: "Sem título";
|
|
24
|
-
|
|
25
|
-
// Plugin names
|
|
26
|
-
--plugin-name-datagrid--content: "Grade de dados";
|
|
27
|
-
--plugin-name-treemap--content: "Mapa de árvore";
|
|
28
|
-
--plugin-name-sunburst--content: "reluzente";
|
|
29
|
-
--plugin-name-heatmap--content: "Mapa de calor";
|
|
30
|
-
--plugin-name-x-bar--content: "Barra X";
|
|
31
|
-
--plugin-name-y-bar--content: "E Barra";
|
|
32
|
-
--plugin-name-y-line--content: "e linha";
|
|
33
|
-
--plugin-name-x-y-line--content: "Linha X/Y";
|
|
34
|
-
--plugin-name-x-y-scatter--content: "Dispersão X/Y";
|
|
35
|
-
--plugin-name-y-scatter--content: "Dispersão Y";
|
|
36
|
-
--plugin-name-y-area--content: "e área";
|
|
37
|
-
--plugin-name-ohlc--content: "Ai";
|
|
38
|
-
--plugin-name-candlestick--content: "Castiçal";
|
|
39
|
-
|
|
40
|
-
// Column Selector names
|
|
41
|
-
--column-selector-column-columns--content: "Colunas";
|
|
42
|
-
--column-selector-column-x-axis--content: "Eixo X";
|
|
43
|
-
--column-selector-column-y-axis--content: "Eixo Y";
|
|
44
|
-
--column-selector-column-color--content: "Cor";
|
|
45
|
-
--column-selector-column-size--content: "Tamanho";
|
|
46
|
-
--column-selector-column-symbol--content: "Símbolo";
|
|
47
|
-
--column-selector-column-label--content: "Rótulo";
|
|
48
|
-
--column-selector-column-tooltip--content: "Dica";
|
|
49
|
-
--add-expression-button--content: "Nova Coluna";
|
|
50
|
-
|
|
51
|
-
// Toolbar
|
|
52
|
-
--no-results--content: "Coluna inválida";
|
|
53
|
-
--datagrid-column-edit-button--content: "Editar";
|
|
54
|
-
--copy-button--content: "cópia de";
|
|
55
|
-
--export-button--content: "Exportar";
|
|
56
|
-
--reset-button--content: "Reiniciar";
|
|
57
|
-
--edit-mode--read-only--content: "Read Only";
|
|
58
|
-
--edit-mode--edit--content: "Text Edit";
|
|
59
|
-
--edit-mode--select-row--content: "Select Row";
|
|
60
|
-
--edit-mode--select-column--content: "Select Column";
|
|
61
|
-
--edit-mode--select-region--content: "Select Region";
|
|
62
|
-
--scroll-lock-toggle--content: "Rolagem Grátis";
|
|
63
|
-
--scroll-lock-alt-toggle--content: "Alinhar rolagem";
|
|
64
|
-
|
|
65
|
-
// Column Settings
|
|
66
|
-
--color-label--content: "Cor";
|
|
67
|
-
--format-label--content: "Formatar";
|
|
68
|
-
--timezone-label--content: "Fuso horário";
|
|
69
|
-
--date-style-label--content: "Estilo de data";
|
|
70
|
-
--time-style-label--content: "Estilo de tempo";
|
|
71
|
-
--foreground-label--content: "Primeiro plano";
|
|
72
|
-
--background-label--content: "Fundo";
|
|
73
|
-
--series-label--content: "Series";
|
|
74
|
-
--color-range-label--content: "Gama de cores";
|
|
75
|
-
--style-label--content: "Estilo";
|
|
76
|
-
--minimum-integer-digits-label--content: "Dígitos inteiros mínimos";
|
|
77
|
-
--rounding-increment-label--content: "Incremento de arredondamento";
|
|
78
|
-
--notation-label--content: "Notação";
|
|
79
|
-
--use-grouping-label--content: "Usar agrupamento";
|
|
80
|
-
--sign-display-label--content: "Exibição de sinalização";
|
|
81
|
-
--max-value-label--content: "Valor máximo";
|
|
82
|
-
--rounding-priority-label--content: "Prioridade de arredondamento";
|
|
83
|
-
--rounding-mode-label--content: "Modo de arredondamento";
|
|
84
|
-
--trailing-zero-display-label--content: "Exibição de zero à direita";
|
|
85
|
-
--fractional-digits-label--content: "Dígitos Fracionários";
|
|
86
|
-
--significant-digits-label--content: "Dígitos significantes";
|
|
87
|
-
--year-label--content: "Ano";
|
|
88
|
-
--month-label--content: "Mês";
|
|
89
|
-
--day-label--content: "Dia";
|
|
90
|
-
--weekday-label--content: "Dia da semana";
|
|
91
|
-
--hour-label--content: "Hora";
|
|
92
|
-
--minute-label--content: "Minuto";
|
|
93
|
-
--second-label--content: "Segundo";
|
|
94
|
-
--fractional-seconds-label--content: "Segundos fracionários";
|
|
95
|
-
--hours-label--content: "12/24 horas";
|
|
96
|
-
--aggregate-depth-label--content: "Profundidad agregada";
|
|
97
|
-
|
|
98
|
-
// Tabs
|
|
99
|
-
--style-tab-label--content: "Estilo";
|
|
100
|
-
--attributes-tab-label--content: "Atributos";
|
|
101
|
-
--debug-tab-label--content: "Debug JSON";
|
|
102
|
-
}
|
package/src/themes/intl/zh.less
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
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
|
-
perspective-viewer,
|
|
14
|
-
perspective-dropdown {
|
|
15
|
-
// Config
|
|
16
|
-
--group-by-label--content: "通过...分组";
|
|
17
|
-
--split-by-label--content: "分割依据";
|
|
18
|
-
--sort-label--content: "订购依据";
|
|
19
|
-
--filter-label--content: "在哪里";
|
|
20
|
-
--transpose-button--content: "交换";
|
|
21
|
-
--config-button-icon--content: "配置";
|
|
22
|
-
--all-columns-label--content: "所有栏目";
|
|
23
|
-
--untitled--content: "无标题";
|
|
24
|
-
|
|
25
|
-
// Plugin names
|
|
26
|
-
--plugin-name-datagrid--content: "数据网格";
|
|
27
|
-
--plugin-name-treemap--content: "树形图";
|
|
28
|
-
--plugin-name-sunburst--content: "旭日";
|
|
29
|
-
--plugin-name-heatmap--content: "热图";
|
|
30
|
-
--plugin-name-x-bar--content: "X吧";
|
|
31
|
-
--plugin-name-y-bar--content: "和酒吧";
|
|
32
|
-
--plugin-name-y-line--content: "和线";
|
|
33
|
-
--plugin-name-x-y-line--content: "X/Y线";
|
|
34
|
-
--plugin-name-x-y-scatter--content: "X/Y 散点图";
|
|
35
|
-
--plugin-name-y-scatter--content: "Y 散点图";
|
|
36
|
-
--plugin-name-y-area--content: "和面积";
|
|
37
|
-
--plugin-name-ohlc--content: "哎哟";
|
|
38
|
-
--plugin-name-candlestick--content: "烛台";
|
|
39
|
-
|
|
40
|
-
// Column Selector names
|
|
41
|
-
--column-selector-column-columns--content: "列";
|
|
42
|
-
--column-selector-column-x-axis--content: "X轴";
|
|
43
|
-
--column-selector-column-y-axis--content: "Y轴";
|
|
44
|
-
--column-selector-column-color--content: "颜色";
|
|
45
|
-
--column-selector-column-size--content: "尺寸";
|
|
46
|
-
--column-selector-column-symbol--content: "象征";
|
|
47
|
-
--column-selector-column-label--content: "标签";
|
|
48
|
-
--column-selector-column-tooltip--content: "工具提示";
|
|
49
|
-
--add-expression-button--content: "新专栏";
|
|
50
|
-
|
|
51
|
-
// Toolbar
|
|
52
|
-
--no-results--content: "无效列";
|
|
53
|
-
--datagrid-column-edit-button--content: "编辑";
|
|
54
|
-
--copy-button--content: "复制";
|
|
55
|
-
--export-button--content: "出口";
|
|
56
|
-
--reset-button--content: "重置";
|
|
57
|
-
--edit-mode--read-only--content: "Read Only";
|
|
58
|
-
--edit-mode--edit--content: "Text Edit";
|
|
59
|
-
--edit-mode--select-row--content: "Select Row";
|
|
60
|
-
--edit-mode--select-column--content: "Select Column";
|
|
61
|
-
--edit-mode--select-region--content: "Select Region";
|
|
62
|
-
--scroll-lock-toggle--content: "自由滚动";
|
|
63
|
-
--scroll-lock-alt-toggle--content: "对齐滚动";
|
|
64
|
-
|
|
65
|
-
// Column Settings
|
|
66
|
-
--color-label--content: "颜色";
|
|
67
|
-
--format-label--content: "格式";
|
|
68
|
-
--timezone-label--content: "时区";
|
|
69
|
-
--date-style-label--content: "日期样式";
|
|
70
|
-
--time-style-label--content: "时间风格";
|
|
71
|
-
--foreground-label--content: "前景";
|
|
72
|
-
--background-label--content: "背景";
|
|
73
|
-
--series-label--content: "系列";
|
|
74
|
-
--color-range-label--content: "颜色范围";
|
|
75
|
-
--style-label--content: "风格";
|
|
76
|
-
--minimum-integer-digits-label--content: "最小整数位数";
|
|
77
|
-
--rounding-increment-label--content: "舍入增量";
|
|
78
|
-
--notation-label--content: "符号";
|
|
79
|
-
--use-grouping-label--content: "使用分组";
|
|
80
|
-
--sign-display-label--content: "标志展示";
|
|
81
|
-
--max-value-label--content: "最大值";
|
|
82
|
-
--rounding-priority-label--content: "舍入优先级";
|
|
83
|
-
--rounding-mode-label--content: "舍入模式";
|
|
84
|
-
--trailing-zero-display-label--content: "尾随零显示";
|
|
85
|
-
--fractional-digits-label--content: "小数位";
|
|
86
|
-
--significant-digits-label--content: "有效数字";
|
|
87
|
-
--year-label--content: "年";
|
|
88
|
-
--month-label--content: "月";
|
|
89
|
-
--day-label--content: "天";
|
|
90
|
-
--weekday-label--content: "工作日";
|
|
91
|
-
--hour-label--content: "小时";
|
|
92
|
-
--minute-label--content: "分钟";
|
|
93
|
-
--second-label--content: "第二";
|
|
94
|
-
--fractional-seconds-label--content: "小数秒";
|
|
95
|
-
--hours-label--content: "12/24 小时";
|
|
96
|
-
--aggregate-depth-label--content: "聚合深度";
|
|
97
|
-
|
|
98
|
-
// Tabs
|
|
99
|
-
--style-tab-label--content: "风格";
|
|
100
|
-
--attributes-tab-label--content: "属性";
|
|
101
|
-
--debug-tab-label--content: "Debug JSON";
|
|
102
|
-
}
|
package/src/themes/intl.less
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
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
|
-
perspective-viewer,
|
|
14
|
-
perspective-dropdown {
|
|
15
|
-
// Config
|
|
16
|
-
--group-by-label--content: "Group By";
|
|
17
|
-
--split-by-label--content: "Split By";
|
|
18
|
-
--sort-label--content: "Order By";
|
|
19
|
-
--filter-label--content: "Where";
|
|
20
|
-
--transpose-button--content: "Swap";
|
|
21
|
-
--config-button-icon--content: "configure";
|
|
22
|
-
--all-columns-label--content: "All Columns";
|
|
23
|
-
--untitled--content: "untitled";
|
|
24
|
-
|
|
25
|
-
// Plugin names
|
|
26
|
-
--plugin-name-datagrid--content: "Datagrid";
|
|
27
|
-
--plugin-name-treemap--content: "Treemap";
|
|
28
|
-
--plugin-name-sunburst--content: "Sunburst";
|
|
29
|
-
--plugin-name-heatmap--content: "Heatmap";
|
|
30
|
-
--plugin-name-x-bar--content: "X Bar";
|
|
31
|
-
--plugin-name-y-bar--content: "Y Bar";
|
|
32
|
-
--plugin-name-y-line--content: "Y Line";
|
|
33
|
-
--plugin-name-x-y-line--content: "X/Y Line";
|
|
34
|
-
--plugin-name-x-y-scatter--content: "X/Y Scatter";
|
|
35
|
-
--plugin-name-y-scatter--content: "Y Scatter";
|
|
36
|
-
--plugin-name-y-area--content: "Y Area";
|
|
37
|
-
--plugin-name-ohlc--content: "OHLC";
|
|
38
|
-
--plugin-name-candlestick--content: "Candlestick";
|
|
39
|
-
|
|
40
|
-
// Column Selector names
|
|
41
|
-
--column-selector-column-columns--content: "Columns";
|
|
42
|
-
--column-selector-column-x-axis--content: "X Axis";
|
|
43
|
-
--column-selector-column-y-axis--content: "Y Axis";
|
|
44
|
-
--column-selector-column-color--content: "Color";
|
|
45
|
-
--column-selector-column-size--content: "Size";
|
|
46
|
-
--column-selector-column-symbol--content: "Symbol";
|
|
47
|
-
--column-selector-column-label--content: "Label";
|
|
48
|
-
--column-selector-column-tooltip--content: "Tooltip";
|
|
49
|
-
--add-expression-button--content: "New Column";
|
|
50
|
-
|
|
51
|
-
// Toolbar
|
|
52
|
-
--no-results--content: "Invalid Column";
|
|
53
|
-
--datagrid-column-edit-button--content: "Edit";
|
|
54
|
-
--copy-button--content: "Copy";
|
|
55
|
-
--export-button--content: "Export";
|
|
56
|
-
--reset-button--content: "Reset";
|
|
57
|
-
--edit-mode--read-only--content: "Read Only";
|
|
58
|
-
--edit-mode--edit--content: "Text Edit";
|
|
59
|
-
--edit-mode--select-row--content: "Select Row";
|
|
60
|
-
--edit-mode--select-column--content: "Select Column";
|
|
61
|
-
--edit-mode--select-region--content: "Select Region";
|
|
62
|
-
--scroll-lock-toggle--content: "Free Scroll";
|
|
63
|
-
--scroll-lock-alt-toggle--content: "Align Scroll";
|
|
64
|
-
|
|
65
|
-
// Column Settings
|
|
66
|
-
--color-label--content: "Color";
|
|
67
|
-
--format-label--content: "Format";
|
|
68
|
-
--timezone-label--content: "Timezone";
|
|
69
|
-
--date-style-label--content: "Date Style";
|
|
70
|
-
--time-style-label--content: "Time Style";
|
|
71
|
-
--foreground-label--content: "Foreground";
|
|
72
|
-
--background-label--content: "Background";
|
|
73
|
-
--series-label--content: "Series";
|
|
74
|
-
--color-range-label--content: "Color Range";
|
|
75
|
-
--style-label--content: "Style";
|
|
76
|
-
--minimum-integer-digits-label--content: "Minimum Integer Digits";
|
|
77
|
-
--rounding-increment-label--content: "Rounding Increment";
|
|
78
|
-
--notation-label--content: "Notation";
|
|
79
|
-
--use-grouping-label--content: "Use Grouping";
|
|
80
|
-
--sign-display-label--content: "Sign Display";
|
|
81
|
-
--aggregate-depth-label--content: "Aggregate Depth";
|
|
82
|
-
--max-value-label--content: "Max Value";
|
|
83
|
-
--rounding-priority-label--content: "Rounding Priority";
|
|
84
|
-
--rounding-mode-label--content: "Rounding Mode";
|
|
85
|
-
--trailing-zero-display-label--content: "Trailing Zero Display";
|
|
86
|
-
--fractional-digits-label--content: "Fractional Digits";
|
|
87
|
-
--significant-digits-label--content: "Significant Digits";
|
|
88
|
-
--year-label--content: "Year";
|
|
89
|
-
--month-label--content: "Month";
|
|
90
|
-
--day-label--content: "Day";
|
|
91
|
-
--weekday-label--content: "Weekday";
|
|
92
|
-
--hour-label--content: "Hour";
|
|
93
|
-
--minute-label--content: "Minute";
|
|
94
|
-
--second-label--content: "Second";
|
|
95
|
-
--fractional-seconds-label--content: "Fractional Seconds";
|
|
96
|
-
--hours-label--content: "12/24 Hours";
|
|
97
|
-
|
|
98
|
-
// Tabs
|
|
99
|
-
--style-tab-label--content: "Style";
|
|
100
|
-
--attributes-tab-label--content: "Attributes";
|
|
101
|
-
--debug-tab-label--content: "Debug JSON";
|
|
102
|
-
}
|
package/src/themes/monokai.less
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
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
|
-
@import "icons.less";
|
|
14
|
-
|
|
15
|
-
@import url("ref://pro-dark.less");
|
|
16
|
-
|
|
17
|
-
perspective-viewer,
|
|
18
|
-
perspective-viewer[theme="Monokai"] {
|
|
19
|
-
--theme-name: "Monokai";
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
perspective-viewer[theme="Monokai"] {
|
|
23
|
-
@include perspective-viewer-pro-dark;
|
|
24
|
-
@include perspective-viewer-monokai--colors;
|
|
25
|
-
@include perspective-viewer-monokai--datagrid;
|
|
26
|
-
@include perspective-viewer-monokai--d3fc;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
perspective-copy-menu[theme="Monokai"],
|
|
30
|
-
perspective-export-menu[theme="Monokai"],
|
|
31
|
-
perspective-dropdown[theme="Monokai"],
|
|
32
|
-
perspective-date-column-style[theme="Monokai"],
|
|
33
|
-
perspective-datetime-column-style[theme="Monokai"],
|
|
34
|
-
perspective-number-column-style[theme="Monokai"],
|
|
35
|
-
perspective-string-column-style[theme="Monokai"] {
|
|
36
|
-
@include perspective-modal-pro-dark;
|
|
37
|
-
@include perspective-viewer-monokai--colors;
|
|
38
|
-
|
|
39
|
-
background-color: #2d2a2e;
|
|
40
|
-
border: 1px solid #797979;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@mixin perspective-viewer-monokai--colors {
|
|
44
|
-
color: #d6d6d6;
|
|
45
|
-
background-color: #2d2a2e;
|
|
46
|
-
|
|
47
|
-
--active--color: #78dce8;
|
|
48
|
-
--error--color: #ff6188;
|
|
49
|
-
--inactive--color: #797979;
|
|
50
|
-
--inactive--border-color: #666666;
|
|
51
|
-
--plugin--background: #2d2a2e;
|
|
52
|
-
|
|
53
|
-
// Column type indicators
|
|
54
|
-
--float--column-type--color: #78dce8;
|
|
55
|
-
--string--column-type--color: #ff6188;
|
|
56
|
-
--date--column-type--color: #a9dc76;
|
|
57
|
-
--boolean--column-type--color: #ffd866;
|
|
58
|
-
|
|
59
|
-
--warning--background: #ffd866;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin perspective-viewer-monokai--datagrid {
|
|
63
|
-
--rt-pos-cell--color: #78dce8 !important;
|
|
64
|
-
--rt-neg-cell--color: #ff6188 !important;
|
|
65
|
-
--rt--border-color: #444444;
|
|
66
|
-
|
|
67
|
-
// FIXME: broken in shadow DOM. Can be fixed with a new custom property allowing empty header cell backgrounds
|
|
68
|
-
// to be styled
|
|
69
|
-
regular-table table tbody th:empty {
|
|
70
|
-
background: linear-gradient(
|
|
71
|
-
to right,
|
|
72
|
-
transparent 9px,
|
|
73
|
-
#444444 10px,
|
|
74
|
-
transparent 11px
|
|
75
|
-
);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
@mixin perspective-viewer-monokai--d3fc {
|
|
80
|
-
--d3fc-treedata--labels: #d6d6d6;
|
|
81
|
-
--d3fc-treedata--hover-highlight: #2d2a2e;
|
|
82
|
-
|
|
83
|
-
--d3fc-axis-ticks--color: #d6d6d6;
|
|
84
|
-
--d3fc-gridline--color: #444444;
|
|
85
|
-
--d3fc-series: #78dce8;
|
|
86
|
-
--d3fc-series-1: #78dce8;
|
|
87
|
-
--d3fc-series-2: #ff6188;
|
|
88
|
-
--d3fc-series-3: #fc9867;
|
|
89
|
-
--d3fc-series-4: #ffd866;
|
|
90
|
-
--d3fc-series-5: #a9dc76;
|
|
91
|
-
|
|
92
|
-
--d3fc-series-6: #ab9df2;
|
|
93
|
-
--d3fc-series-7: #66d9ef;
|
|
94
|
-
--d3fc-series-8: #f92672;
|
|
95
|
-
--d3fc-series-9: #fd971f;
|
|
96
|
-
--d3fc-series-10: #e6db74;
|
|
97
|
-
--d3fc-series-11: #a6e22e;
|
|
98
|
-
--d3fc-series-12: #ae81ff;
|
|
99
|
-
|
|
100
|
-
--d3fc-negative--gradient: linear-gradient(#272822 0%, #ff6188 100%);
|
|
101
|
-
--d3fc-positive--gradient: linear-gradient(#272822 0%, #78dce8 100%);
|
|
102
|
-
--d3fc-full--gradient: linear-gradient(
|
|
103
|
-
#ff6188 0%,
|
|
104
|
-
#272822 50%,
|
|
105
|
-
#78dce8 100%
|
|
106
|
-
);
|
|
107
|
-
}
|
package/src/themes/pro-dark.less
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
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
|
-
@import "icons.less";
|
|
14
|
-
@import "intl.less";
|
|
15
|
-
|
|
16
|
-
@import url("ref://pro.less");
|
|
17
|
-
|
|
18
|
-
// Register theme for auto-detection
|
|
19
|
-
perspective-viewer,
|
|
20
|
-
perspective-viewer[theme="Pro Dark"] {
|
|
21
|
-
--theme-name: "Pro Dark";
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
perspective-viewer[theme="Pro Dark"] {
|
|
25
|
-
@include perspective-viewer-pro-dark;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
perspective-copy-menu[theme="Pro Dark"],
|
|
29
|
-
perspective-export-menu[theme="Pro Dark"],
|
|
30
|
-
perspective-dropdown[theme="Pro Dark"],
|
|
31
|
-
perspective-date-column-style[theme="Pro Dark"],
|
|
32
|
-
perspective-datetime-column-style[theme="Pro Dark"],
|
|
33
|
-
perspective-number-column-style[theme="Pro Dark"],
|
|
34
|
-
perspective-string-column-style[theme="Pro Dark"] {
|
|
35
|
-
@include perspective-modal-pro-dark;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin perspective-viewer-pro-dark {
|
|
39
|
-
@include perspective-viewer-pro;
|
|
40
|
-
@include perspective-viewer-pro-dark--colors;
|
|
41
|
-
@include perspective-viewer-pro-dark--datagrid;
|
|
42
|
-
@include perspective-viewer-pro-dark--d3fc;
|
|
43
|
-
@include perspective-viewer-pro-dark--openlayers;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@mixin perspective-modal-pro-dark {
|
|
47
|
-
@include perspective-modal-pro;
|
|
48
|
-
@include perspective-viewer-pro-dark--colors;
|
|
49
|
-
|
|
50
|
-
background-color: #242526;
|
|
51
|
-
border: 1px solid #4c505b;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@mixin perspective-viewer-pro-dark--colors {
|
|
55
|
-
background-color: #242526;
|
|
56
|
-
color: white;
|
|
57
|
-
--icon--color: white;
|
|
58
|
-
--active--color: #2770a9;
|
|
59
|
-
--error--color: #ff9485;
|
|
60
|
-
--inactive--color: #61656e;
|
|
61
|
-
--inactive--border-color: #4c505b;
|
|
62
|
-
--plugin--background: #242526;
|
|
63
|
-
--modal-target--background: rgba(255, 255, 255, 0.05);
|
|
64
|
-
--active--background: rgba(39, 113, 170, 0.5);
|
|
65
|
-
--expression--operator-color: #c5c9d0;
|
|
66
|
-
--expression--function-color: #22a0ce;
|
|
67
|
-
--expression--error-color: rgb(255, 136, 136);
|
|
68
|
-
--calendar--filter: invert(1);
|
|
69
|
-
--warning--color: #242526;
|
|
70
|
-
--warning--background: var(--icon--color);
|
|
71
|
-
|
|
72
|
-
--select-arrow--background-image: var(
|
|
73
|
-
--select-arrow-light--background-image
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
--select-arrow--hover--background-image: var(
|
|
77
|
-
--select-arrow-dark--background-image
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
// Syntax
|
|
81
|
-
--code-editor-symbol--color: white;
|
|
82
|
-
--code-editor-literal--color: #7dc3f0;
|
|
83
|
-
--code-editor-operator--color: rgb(23, 166, 123);
|
|
84
|
-
--code-editor-comment--color: rgb(204, 120, 48);
|
|
85
|
-
--code-editor-column--color: #e18ee1;
|
|
86
|
-
// --code-editor-unknown--color: rgb(204, 120, 48);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@mixin perspective-viewer-pro-dark--openlayers {
|
|
90
|
-
--map-tile-url: "http://{a-c}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png";
|
|
91
|
-
--map-attribution--filter: invert(1) hue-rotate(180deg);
|
|
92
|
-
--map-element-background: #212c2f;
|
|
93
|
-
--map-category-1: rgb(71, 120, 194);
|
|
94
|
-
--map-category-2: rgb(204, 120, 48);
|
|
95
|
-
--map-category-3: rgb(158, 84, 192);
|
|
96
|
-
--map-category-4: rgb(51, 150, 153);
|
|
97
|
-
--map-category-5: rgb(102, 114, 143);
|
|
98
|
-
--map-category-6: rgb(211, 103, 189);
|
|
99
|
-
--map-category-7: rgb(109, 124, 77);
|
|
100
|
-
--map-category-8: rgb(221, 99, 103);
|
|
101
|
-
--map-category-9: rgb(120, 104, 206);
|
|
102
|
-
--map-category-10: rgb(23, 166, 123);
|
|
103
|
-
--map-gradient: linear-gradient(#dd6367 0%, #242526 50%, #3289c8 100%);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@mixin perspective-viewer-pro-dark--datagrid {
|
|
107
|
-
--rt-pos-cell--color: #7dc3f0;
|
|
108
|
-
--rt-neg-cell--color: #ff9485;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@mixin perspective-viewer-pro-dark--d3fc {
|
|
112
|
-
--d3fc-legend--text: #c5c9d0;
|
|
113
|
-
--d3fc-treedata--labels: white;
|
|
114
|
-
--d3fc-treedata--hover-highlight: white;
|
|
115
|
-
--d3fc-tooltip--color: white;
|
|
116
|
-
--d3fc-axis-ticks--color: #c5c9d0;
|
|
117
|
-
--d3fc-axis--lines: #61656e;
|
|
118
|
-
--d3fc-gridline--color: #3b3f46;
|
|
119
|
-
--d3fc-tooltip--background: rgba(42, 44, 47, 1);
|
|
120
|
-
--d3fc-tooltip--border-color: #242526;
|
|
121
|
-
--d3fc-legend--background: var(--plugin--background);
|
|
122
|
-
|
|
123
|
-
--d3fc-series: rgb(71, 120, 194);
|
|
124
|
-
--d3fc-series-1: rgb(71, 120, 194);
|
|
125
|
-
--d3fc-series-2: rgb(204, 120, 48);
|
|
126
|
-
--d3fc-series-3: rgb(158, 84, 192);
|
|
127
|
-
--d3fc-series-4: rgb(51, 150, 153);
|
|
128
|
-
--d3fc-series-5: rgb(102, 114, 143);
|
|
129
|
-
--d3fc-series-6: rgb(211, 103, 189);
|
|
130
|
-
--d3fc-series-7: rgb(109, 124, 77);
|
|
131
|
-
--d3fc-series-8: rgb(221, 99, 103);
|
|
132
|
-
--d3fc-series-9: rgb(120, 104, 206);
|
|
133
|
-
--d3fc-series-10: rgb(23, 166, 123);
|
|
134
|
-
|
|
135
|
-
--d3fc-full--gradient: linear-gradient(
|
|
136
|
-
#dd6367 0%,
|
|
137
|
-
#242526 50%,
|
|
138
|
-
#3289c8 100%
|
|
139
|
-
);
|
|
140
|
-
|
|
141
|
-
--d3fc-positive--gradient: linear-gradient(#242526 0%, #3289c8 100%);
|
|
142
|
-
--d3fc-negative--gradient: linear-gradient(#dd6367 0%, #242526 100%);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
// :host select {
|
|
146
|
-
// background-image: url("../svg/dropdown-selector.svg");
|
|
147
|
-
// }
|