dtable-statistic 4.0.2-test-2

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.
Files changed (210) hide show
  1. package/README.md +3 -0
  2. package/es/api/dtable-db-api.js +43 -0
  3. package/es/assets/css/color-picker.css +53 -0
  4. package/es/assets/css/color-rules-popover.css +144 -0
  5. package/es/assets/css/color-theme-dialog.css +40 -0
  6. package/es/assets/css/dashboard.css +562 -0
  7. package/es/assets/css/dialog.css +415 -0
  8. package/es/assets/css/mobile-dashboard.module.css +91 -0
  9. package/es/assets/css/slider.css +77 -0
  10. package/es/assets/css/statistic-chart.module.css +11 -0
  11. package/es/assets/css/statistic-custom-title.module.css +3 -0
  12. package/es/assets/css/statistic-custom.module.css +4 -0
  13. package/es/assets/css/statistic-numeric-column-item.module.css +43 -0
  14. package/es/assets/css/statistic-time-picker.module.css +21 -0
  15. package/es/assets/css/theme.css +61 -0
  16. package/es/assets/images/icon.png +0 -0
  17. package/es/calculator/base-calculator.js +111 -0
  18. package/es/calculator/basic-chart-calculator.js +571 -0
  19. package/es/calculator/combination-calculator.js +296 -0
  20. package/es/calculator/compare-bar-calculator.js +291 -0
  21. package/es/calculator/completeness-calculator.js +307 -0
  22. package/es/calculator/copy-value.js +47 -0
  23. package/es/calculator/dashboard-calculator.js +146 -0
  24. package/es/calculator/heat-map-calculator.js +225 -0
  25. package/es/calculator/horizontal-bar-calculator.js +100 -0
  26. package/es/calculator/index.js +88 -0
  27. package/es/calculator/map-calculator.js +169 -0
  28. package/es/calculator/mirror-calculator.js +217 -0
  29. package/es/calculator/number-card-calculator.js +135 -0
  30. package/es/calculator/pivot-table-calculator.js +810 -0
  31. package/es/calculator/scatter-calculator.js +150 -0
  32. package/es/calculator/thread-manager.js +70 -0
  33. package/es/calculator/trend-calculator.js +204 -0
  34. package/es/calculator/workers/basic-chart-calculator-worker.js +410 -0
  35. package/es/calculator/workers/calculator.worker.js +22 -0
  36. package/es/calculator/workers/card-calculator-worker.js +28 -0
  37. package/es/calculator/workers/combination-calculator-worker.js +257 -0
  38. package/es/calculator/workers/compare-bar-chart-calculator-worker.js +149 -0
  39. package/es/calculator/workers/completeness-calculator-worker.js +153 -0
  40. package/es/calculator/workers/dashboard-calculator-worker.js +56 -0
  41. package/es/calculator/workers/mirror-calculator-worker.js +132 -0
  42. package/es/calculator/workers/pivot-table-calculator-worker.js +615 -0
  43. package/es/calculator/workers/scatter-calculator-worker.js +67 -0
  44. package/es/calculator/workers/trend-calculator-worker.js +93 -0
  45. package/es/calculator/world-map-calculator.js +193 -0
  46. package/es/components/common-add-tool.js +19 -0
  47. package/es/components/dialog/chart-addition-edit-dialog.js +89 -0
  48. package/es/components/dialog/chart-addition-widgets/chart-selector.js +261 -0
  49. package/es/components/dialog/chart-addition-widgets/statistic-chart-selector.module.css +74 -0
  50. package/es/components/dialog/color-theme-dialog.js +71 -0
  51. package/es/components/dialog/enlarged-chart-dialog.js +73 -0
  52. package/es/components/dialog/new-table-dialog.js +113 -0
  53. package/es/components/dialog/new-view-dialog.js +87 -0
  54. package/es/components/dialog/rename-view-dialog.js +87 -0
  55. package/es/components/dialog/statistic-record-dialog/index.css +114 -0
  56. package/es/components/dialog/statistic-record-dialog/index.js +174 -0
  57. package/es/components/dialog/table-select-dialog.js +93 -0
  58. package/es/components/dropdown-menu/statistic-dropdown-menu.js +94 -0
  59. package/es/components/dtable-popover.js +109 -0
  60. package/es/components/dtable-search-input.js +137 -0
  61. package/es/components/dtable-select.js +104 -0
  62. package/es/components/index.js +11 -0
  63. package/es/components/loading.js +8 -0
  64. package/es/components/modal-portal.js +36 -0
  65. package/es/components/popover/color-rules/color-rule.js +179 -0
  66. package/es/components/popover/color-rules/index.js +87 -0
  67. package/es/components/popover/color-rules/rule-filters/filter.js +214 -0
  68. package/es/components/popover/color-rules/rule-filters/index.css +214 -0
  69. package/es/components/popover/color-rules/rule-filters/index.js +97 -0
  70. package/es/components/popover/color-rules/rule-filters/number-input.js +85 -0
  71. package/es/components/popover/color-rules-popover.js +213 -0
  72. package/es/components/popover/color-selector-popover.js +85 -0
  73. package/es/components/seatable-radio/index.css +51 -0
  74. package/es/components/seatable-radio/index.js +28 -0
  75. package/es/components/select/index.js +2 -0
  76. package/es/components/select/option-group.css +104 -0
  77. package/es/components/select/option-group.js +225 -0
  78. package/es/components/select/option.js +51 -0
  79. package/es/components/select/select.css +211 -0
  80. package/es/components/select/select.js +157 -0
  81. package/es/components/toast/alert.js +130 -0
  82. package/es/components/toast/index.js +3 -0
  83. package/es/components/toast/toast.js +164 -0
  84. package/es/components/toast/toastManager.js +150 -0
  85. package/es/components/toast/toaster.js +64 -0
  86. package/es/constants/color-rules.js +8 -0
  87. package/es/constants/dtable-select-style.js +61 -0
  88. package/es/constants/event-types.js +1 -0
  89. package/es/constants/index.js +501 -0
  90. package/es/constants/key-codes.js +102 -0
  91. package/es/constants/zIndexes.js +1 -0
  92. package/es/custom-g2.js +614 -0
  93. package/es/dashboard.js +408 -0
  94. package/es/desktop-dashboard.js +299 -0
  95. package/es/index.js +33 -0
  96. package/es/locale/index.js +17 -0
  97. package/es/locale/lang/de.js +237 -0
  98. package/es/locale/lang/en.js +237 -0
  99. package/es/locale/lang/fr.js +237 -0
  100. package/es/locale/lang/zh_CN.js +237 -0
  101. package/es/mobile-dashboard.js +103 -0
  102. package/es/model/collaborators.js +11 -0
  103. package/es/model/stat-item.js +340 -0
  104. package/es/model/statistic-dashboard.js +8 -0
  105. package/es/service/chart-service.js +192 -0
  106. package/es/service/dashboard-service.js +415 -0
  107. package/es/stat-editor/chart-name-editor.js +75 -0
  108. package/es/stat-editor/index.js +74 -0
  109. package/es/stat-editor/stat-settings/advance-chart-settings/basic-number-card-settings.js +149 -0
  110. package/es/stat-editor/stat-settings/advance-chart-settings/combination-settings.js +415 -0
  111. package/es/stat-editor/stat-settings/advance-chart-settings/dashboard-chart-settings.js +193 -0
  112. package/es/stat-editor/stat-settings/advance-chart-settings/geo-granularity-settings.js +13 -0
  113. package/es/stat-editor/stat-settings/advance-chart-settings/heat-map-settings.js +107 -0
  114. package/es/stat-editor/stat-settings/advance-chart-settings/index.js +332 -0
  115. package/es/stat-editor/stat-settings/advance-chart-settings/map-settings.js +170 -0
  116. package/es/stat-editor/stat-settings/advance-chart-settings/mirror-settings.js +141 -0
  117. package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/combination-style-setting.js +219 -0
  118. package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/heat-map-settings.js +89 -0
  119. package/es/stat-editor/stat-settings/advance-chart-settings/style-setting/map-setting.js +132 -0
  120. package/es/stat-editor/stat-settings/advance-chart-settings/summary-settings.js +319 -0
  121. package/es/stat-editor/stat-settings/advance-chart-settings/trend-chart-settings.js +138 -0
  122. package/es/stat-editor/stat-settings/advance-chart-settings/world-map-settings.js +135 -0
  123. package/es/stat-editor/stat-settings/basic-chart-settings/advance-bar-chart-settings.js +156 -0
  124. package/es/stat-editor/stat-settings/basic-chart-settings/bar-settings.js +147 -0
  125. package/es/stat-editor/stat-settings/basic-chart-settings/completeness-chart-settings.js +195 -0
  126. package/es/stat-editor/stat-settings/basic-chart-settings/custom-bar-settings.js +126 -0
  127. package/es/stat-editor/stat-settings/basic-chart-settings/groupby-settings.js +169 -0
  128. package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-axis-group-settings.js +352 -0
  129. package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-bar-settings.js +145 -0
  130. package/es/stat-editor/stat-settings/basic-chart-settings/horizontal-group-chart-settings.js +153 -0
  131. package/es/stat-editor/stat-settings/basic-chart-settings/index.js +466 -0
  132. package/es/stat-editor/stat-settings/basic-chart-settings/pie-settings.js +183 -0
  133. package/es/stat-editor/stat-settings/basic-chart-settings/pivot-table-settings.js +542 -0
  134. package/es/stat-editor/stat-settings/basic-chart-settings/scatter-settings.js +111 -0
  135. package/es/stat-editor/stat-settings/basic-chart-settings/stack-item-settings.js +86 -0
  136. package/es/stat-editor/stat-settings/basic-chart-settings/stacks-settings.js +169 -0
  137. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/bar-chart-style-setting.js +273 -0
  138. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/completeness-style.js +105 -0
  139. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/horizontal-bar-chart-style.js +243 -0
  140. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/label-font-size-editor.js +65 -0
  141. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/pie-chart-style-settings.js +318 -0
  142. package/es/stat-editor/stat-settings/basic-chart-settings/style-setting/time-compare-style.js +49 -0
  143. package/es/stat-editor/stat-settings/basic-chart-settings/summary-method-setting.js +124 -0
  144. package/es/stat-editor/stat-settings/basic-chart-settings/summary-settings.js +150 -0
  145. package/es/stat-editor/stat-settings/basic-chart-settings/time-comparison-settings.js +267 -0
  146. package/es/stat-editor/stat-settings/basic-chart-settings/timer-picker.js +109 -0
  147. package/es/stat-editor/stat-settings/basic-chart-settings/y-axis-group-settings.js +351 -0
  148. package/es/stat-editor/stat-settings/color-setting/color-group-selector.js +60 -0
  149. package/es/stat-editor/stat-settings/color-setting/color-picker.js +129 -0
  150. package/es/stat-editor/stat-settings/color-setting/color-use-type-selector.js +348 -0
  151. package/es/stat-editor/stat-settings/public-setting/axis-label-position-setting.js +102 -0
  152. package/es/stat-editor/stat-settings/public-setting/base-settings.js +124 -0
  153. package/es/stat-editor/stat-settings/public-setting/calender.js +124 -0
  154. package/es/stat-editor/stat-settings/public-setting/column-settings.js +15 -0
  155. package/es/stat-editor/stat-settings/public-setting/custom-title-setting.js +60 -0
  156. package/es/stat-editor/stat-settings/public-setting/data-sort-setting.js +57 -0
  157. package/es/stat-editor/stat-settings/public-setting/ind-toggle-setting.js +41 -0
  158. package/es/stat-editor/stat-settings/public-setting/min-max-setting.js +64 -0
  159. package/es/stat-editor/stat-settings/public-setting/numeric-summary-item.js +118 -0
  160. package/es/stat-editor/stat-settings/public-setting/toggle-setting.js +39 -0
  161. package/es/stat-list/chart-preview.js +139 -0
  162. package/es/stat-list/index.js +275 -0
  163. package/es/stat-view/area-chart.js +521 -0
  164. package/es/stat-view/bar-chart.js +568 -0
  165. package/es/stat-view/base-chart.js +44 -0
  166. package/es/stat-view/basic-number-card.js +255 -0
  167. package/es/stat-view/combination-chart.js +558 -0
  168. package/es/stat-view/compare-chart.js +485 -0
  169. package/es/stat-view/completeness-chart.js +389 -0
  170. package/es/stat-view/custom-bar.js +433 -0
  171. package/es/stat-view/dashboard-chart.js +317 -0
  172. package/es/stat-view/heat-map.js +501 -0
  173. package/es/stat-view/horizontal-bar-chart.js +569 -0
  174. package/es/stat-view/index.js +183 -0
  175. package/es/stat-view/line-chart.js +505 -0
  176. package/es/stat-view/map.js +428 -0
  177. package/es/stat-view/mirror.js +285 -0
  178. package/es/stat-view/pie-chart.js +326 -0
  179. package/es/stat-view/pivot-table/index.js +206 -0
  180. package/es/stat-view/pivot-table/one-dimension-table-no-numeric-columns.js +133 -0
  181. package/es/stat-view/pivot-table/one-dimension-table-with-numeric-columns.js +164 -0
  182. package/es/stat-view/pivot-table/statistic-pivot-table.module.css +132 -0
  183. package/es/stat-view/pivot-table/two-dimension-table.js +344 -0
  184. package/es/stat-view/ring-chart.js +416 -0
  185. package/es/stat-view/scatter-chart.js +367 -0
  186. package/es/stat-view/treemap-chart.js +318 -0
  187. package/es/stat-view/trend-chart.js +299 -0
  188. package/es/stat-view/world-map.js +443 -0
  189. package/es/tabs/index.js +252 -0
  190. package/es/tabs/statistic-tabs.module.css +154 -0
  191. package/es/tabs/tab.js +167 -0
  192. package/es/utils/basic-chart-utils.js +24 -0
  193. package/es/utils/cell-format.js +110 -0
  194. package/es/utils/cell-value.js +27 -0
  195. package/es/utils/collaborator.js +31 -0
  196. package/es/utils/color-utils.js +112 -0
  197. package/es/utils/column-utils.js +18 -0
  198. package/es/utils/column.js +13 -0
  199. package/es/utils/common-utils.js +303 -0
  200. package/es/utils/date-format.js +65 -0
  201. package/es/utils/export-table-utils.js +632 -0
  202. package/es/utils/index.js +26 -0
  203. package/es/utils/object.js +26 -0
  204. package/es/utils/row-utils.js +115 -0
  205. package/es/utils/search.js +67 -0
  206. package/es/utils/sql-utils.js +293 -0
  207. package/es/utils/stat-utils.js +353 -0
  208. package/es/utils/trend-utils.js +136 -0
  209. package/index.js +1 -0
  210. package/package.json +188 -0
@@ -0,0 +1,562 @@
1
+ .statistic-panel {
2
+ flex: 1 1;
3
+ display: flex;
4
+ flex-direction: column;
5
+ min-height: 0;
6
+ min-width: 100%;
7
+ border-radius: 12px 12px 0 0;
8
+ box-shadow: 0 -1px 12px rgb(0 0 0 / 30%);
9
+ overflow: hidden;
10
+ }
11
+
12
+ .statistic-panel.full-screen {
13
+ height: 100%;
14
+ width: 100%;
15
+ position: fixed;
16
+ top: 0;
17
+ left: 0;
18
+ margin: 0;
19
+ border-radius: 0;
20
+ }
21
+
22
+ .statistic-header {
23
+ display: flex;
24
+ align-items: center;
25
+ justify-content: space-between;
26
+ position: relative;
27
+ padding-left: 1rem;
28
+ padding-right: 1rem;
29
+ height: 48px;
30
+ background-color: var(--item-wrapper-bg-color);
31
+ border-bottom: 1px solid var(--add-stat-item-border-color);
32
+ flex-wrap: wrap;
33
+ }
34
+
35
+ .statistic-header .statistic-logo {
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ font-weight: 400;
40
+ margin-right: 80px;
41
+ color: var(--common-font-color);
42
+ }
43
+
44
+ .statistic-header .add-stat {
45
+ height: 26px;
46
+ padding: 0 10px;
47
+ font-weight: 400;
48
+ border-radius: 3px;
49
+ opacity: .75;
50
+ font-weight: 500;
51
+ color: var(--add-stat-item-color);
52
+ border-color: var(--add-stat-item-border-color);
53
+ background-color: var(--add-stat-item-bg-color);
54
+ }
55
+
56
+ .statistic-header .add-stat:hover {
57
+ opacity: 1;
58
+ color: var(--add-stat-item-hover-color);
59
+ border-color: var(--add-stat-item-hover-border-color);
60
+ }
61
+
62
+ .statistic-header .add-stat:focus {
63
+ box-shadow: none;
64
+ }
65
+
66
+ .statistic-header .add-chart-icon {
67
+ margin-right: 6px;
68
+ font-size: 14px;
69
+ color: var(--add-stat-item-icon-color)!important;
70
+ }
71
+
72
+ .statistic-header .add-stat:hover .add-chart-icon {
73
+ color: var(--add-stat-item-icon-hover-color)!important;
74
+ }
75
+
76
+ .statistic-header .op-item-icon-wrapper {
77
+ display: flex;
78
+ align-items: center;
79
+ font-weight: 800;
80
+ cursor: pointer;
81
+ font-size: 14px;
82
+ line-height: 24px;
83
+ color: #999999;
84
+ }
85
+
86
+ .statistic-header .op-item-icon-wrapper:hover {
87
+ color: #212529;
88
+ }
89
+
90
+ .statistic-header .op-item-icon-wrapper:hover .op-item-icon {
91
+ color: var(--op-item-icon-hover-color);
92
+ }
93
+
94
+ .statistic-main {
95
+ flex: 1 1;
96
+ display: flex;
97
+ min-height: 0;
98
+ min-width: 0;
99
+ background-color: var(--container-bg-color);
100
+ }
101
+
102
+ /* statistic list */
103
+ .statistic-list {
104
+ height: 100%;
105
+ overflow: auto;
106
+ display: flex;
107
+ flex-direction: row;
108
+ flex-wrap: wrap;
109
+ user-select: none;
110
+ width: 100%;
111
+ padding-bottom: 200px;
112
+ background-color: var(--bg-color);
113
+ }
114
+
115
+ .statistic-list .statistic-layout {
116
+ position: relative;
117
+ width: 100%;
118
+ }
119
+
120
+ .statistic-list .statistic-chart-preview {
121
+ display: flex;
122
+ flex-direction: column;
123
+ height: 100%;
124
+ box-shadow: 0 0 5px rgb(0 0 0 / 6%);
125
+ border-radius: 8px;
126
+ background-color: var(--item-wrapper-bg-color);
127
+ }
128
+
129
+ .statistic-list .statistic-chart-preview-header {
130
+ height: 50px;
131
+ padding: 15px 20px;
132
+ font-weight: 500;
133
+ display: flex;
134
+ cursor: move;
135
+ justify-content: space-between;
136
+ }
137
+
138
+ .statistic-list .statistic-chart-preview-container {
139
+ display: flex;
140
+ height: calc(100% - 50px);
141
+ justify-content: center;
142
+ align-items: center;
143
+ overflow: hidden;
144
+ position: relative;
145
+ }
146
+
147
+ .mobile-statistic-panel .statistic-chart-container,
148
+ .statistic-list .statistic-chart-container {
149
+ width: 100%;
150
+ height: 100%;
151
+ }
152
+
153
+ .statistic-chart-loading-container {
154
+ position: absolute;
155
+ width: 100%;
156
+ height: 100%;
157
+ z-index: 101;
158
+ display: flex;
159
+ align-items: center;
160
+ background-color: var(--item-wrapper-bg-color, #ffffff);
161
+ }
162
+
163
+ .statistic-list .statistic-chart-preview-operations {
164
+ visibility: hidden;
165
+ }
166
+
167
+ .statistic-list .react-resizable-handle {
168
+ visibility: hidden;
169
+ }
170
+
171
+ .statistic-list .statistic-chart-preview:hover .statistic-chart-preview-operations {
172
+ visibility: visible;
173
+ }
174
+
175
+ .statistic-list .statistic-chart-preview:hover .react-resizable-handle {
176
+ visibility: visible;
177
+ }
178
+
179
+ .statistic-list .react-grid-item > .react-resizable-handle::after {
180
+ content: "";
181
+ position: absolute;
182
+ right: -1px;
183
+ bottom: -1px;
184
+ width: 8px;
185
+ height: 8px;
186
+ cursor: se-resize;
187
+ border-radius: 0 0 4px 0;
188
+ border-right: 2px solid var(--stat-item-resizable-handler-color);
189
+ border-bottom: 2px solid var(--stat-item-resizable-handler-color);
190
+ }
191
+
192
+ .statistic-list .react-grid-item.react-grid-placeholder {
193
+ background: #333333;
194
+ opacity: 0.2;
195
+ transition-duration: 100ms;
196
+ z-index: 2;
197
+ border-radius: 4px;
198
+ }
199
+
200
+ .statistic-panel .resizing,
201
+ .statistic-panel .react-draggable-dragging {
202
+ z-index: 100;
203
+ }
204
+
205
+ .statistic-chart-text {
206
+ position: absolute;
207
+ display: flex;
208
+ align-items: center;
209
+ justify-content: center;
210
+ width: calc(100% - 40px);
211
+ height: 100px;
212
+ z-index: 100;
213
+ background-color: var(--item-wrapper-bg-color, #ffffff);
214
+ text-align: center;
215
+ color: var(--common-font-color);
216
+ }
217
+
218
+ .statistic-list .statistic-chart-preview-name {
219
+ color: var(--common-font-color);
220
+ }
221
+
222
+ .statistic-list .statistic-chart-preview-microscope {
223
+ display: inline-block;
224
+ width: 24px;
225
+ height: 24px;
226
+ line-height: 24px;
227
+ text-align: center;
228
+ margin-right: 10px;
229
+ color: var(--stat-item-font-color);
230
+ cursor: pointer;
231
+ }
232
+
233
+ .statistic-list .statistic-chart-preview-microscope i {
234
+ font-size: 14px;
235
+ }
236
+
237
+ .statistic-list .statistic-chart-preview-microscope:hover {
238
+ color: var(--stat-item-font-hover-color);
239
+ }
240
+
241
+ /* chart operation dropdown menu */
242
+ .statistic-chart-preview .dtable-icon-drop-down {
243
+ font-size: 12px;
244
+ }
245
+
246
+ .statistic-chart-preview .stat-item-dropdown-menu {
247
+ background-color: var(--dropdown-bg-color);
248
+ color: var(--common-font-color);
249
+ border: 1px solid var(--dropdown-border-color);
250
+ }
251
+
252
+ .statistic-chart-preview .dtable-dropdown-menu .toggle-icon {
253
+ font-size: 14px;
254
+ color: var(--stat-item-font-color);
255
+ }
256
+
257
+ .statistic-chart-preview .dtable-dropdown-menu .dropdown-item {
258
+ padding: 3px 12px;
259
+ line-height: 1.5;
260
+ font-size: 14px;
261
+ color: var(--common-font-color);
262
+ cursor: pointer;
263
+ }
264
+
265
+ .statistic-chart-preview .dtable-dropdown-menu .dropdown-item .item-icon {
266
+ font-size: 14px;
267
+ margin-right: 10px;
268
+ color: #8c8c8c;
269
+ }
270
+
271
+ .statistic-chart-preview .dtable-dropdown-menu .dropdown-item:hover {
272
+ color: #fff;
273
+ background-color: #20a0ff;
274
+ }
275
+
276
+ .statistic-chart-preview .dtable-dropdown-menu .dropdown-item:hover .item-icon {
277
+ color: #fff;
278
+ }
279
+
280
+ .statistic-chart-preview .dtable-icon-more-level:hover {
281
+ color: var(--stat-item-font-hover-color);
282
+ }
283
+
284
+ .statistic-chart-preview .dtable-icon-more-level {
285
+ cursor: pointer;
286
+ }
287
+
288
+ .statistic-chart-axis-label {
289
+ font-size: 12px;
290
+ color: #444;
291
+ }
292
+
293
+ .statistic-chart-summary-types__value-container .summary-type-explanation {
294
+ display: none;
295
+ }
296
+
297
+ .statistic-chart-summary-types__value-container .summary-type-explanation,
298
+ .statistic-chart-summary-types__menu .summary-type-explanation {
299
+ color: #9c9c9c;
300
+ font-size: 12px;
301
+ }
302
+
303
+ .statistic-chart-summary-types__option--is-selected .summary-type-explanation {
304
+ color: #fff !important;
305
+ }
306
+
307
+ .statistic-color-option {
308
+ padding: 1px;
309
+ background: #fff;
310
+ border: 1px solid #fff;
311
+ border-radius: 3px;
312
+ }
313
+
314
+ .statistic-color-block {
315
+ width: 26px;
316
+ height: 24px;
317
+ }
318
+
319
+ .statistic-color-block:first-child {
320
+ border-top-left-radius: 2px;
321
+ border-bottom-left-radius: 2px;
322
+ }
323
+
324
+ .statistic-color-block:last-child {
325
+ border-top-right-radius: 2px;
326
+ border-bottom-right-radius: 2px;
327
+ }
328
+
329
+ .statistic-panel .chart-number-card .g2-html-annotation {
330
+ transform: translate(-50%, -50%);
331
+ width: fit-content;
332
+ }
333
+
334
+ .statistic-panel .chart-number-card .text-content {
335
+ line-height: 1;
336
+ }
337
+
338
+ .statistic-panel .pivot-table-container {
339
+ padding: 15px 20px;
340
+ overflow: auto;
341
+ }
342
+
343
+ /* dropdown-menu */
344
+ .statistic-tabs-dropdown-dark {
345
+ --dropdown-bg-color: #2c2d2e;
346
+ --dropdown-border-color: #555568;
347
+ --common-font-color: #ffffff;
348
+ --font-color: #ffffff;
349
+ --font-hover-color: #ffffff;
350
+ }
351
+
352
+ .statistic-tabs-dropdown-light {
353
+ --dropdown-bg-color: #ffffff;
354
+ --common-font-color: #000000;
355
+ --dropdown-border-color: rgba(0, 40, 100, 0.12);
356
+ --font-color: #6e7687;
357
+ --font-hover-color: #ffffff;
358
+ }
359
+
360
+ .statistic-dropdown-menu {
361
+ font-weight: normal;
362
+ background-color: var(--dropdown-bg-color);
363
+ border: 1px solid var(--dropdown-border-color);
364
+ }
365
+
366
+ .statistic-dropdown-menu .no-options {
367
+ display: flex;
368
+ align-items: center;
369
+ justify-content: center;
370
+ height: 40px;
371
+ color: #c2c2c2;
372
+ }
373
+
374
+ .statistic-dropdown-menu .dropdown-item {
375
+ color: var(--font-color);
376
+ cursor: pointer;
377
+ }
378
+
379
+ .statistic-dropdown-menu .dropdown-item:hover {
380
+ color: var(--font-hover-color);
381
+ background-color: #20a0ff;
382
+ }
383
+
384
+ .statistic-dropdown-menu .dropdown-item .item-icon {
385
+ font-size: 14px;
386
+ margin-right: 10px;
387
+ color: var(--font-color);
388
+ }
389
+
390
+ .statistic-dropdown-menu .dropdown-item:hover .item-icon {
391
+ color: var(--font-hover-color);
392
+ }
393
+
394
+ /* basic-number-card */
395
+ .statistic-number-card .g2-html-annotation {
396
+ transform: translate(-50%, -50%);
397
+ width: fit-content;
398
+ }
399
+
400
+ .statistic-number-card .text-content {
401
+ line-height: 1;
402
+ }
403
+
404
+ /* export */
405
+ #exported-chart-container {
406
+ position: absolute;
407
+ width: 100%;
408
+ right: 100%;
409
+ bottom: 0;
410
+ }
411
+
412
+ #exported-chart-container .statistic-chart-container {
413
+ padding: 15px;
414
+ display: flex;
415
+ overflow: auto;
416
+ height: 100%;
417
+ }
418
+
419
+ /* specific color */
420
+ .statistic-chart-parameter-item .selected-specific-color {
421
+ display: flex;
422
+ align-items: center;
423
+ }
424
+
425
+ .statistic-chart-parameter-item .selected-specific-color-wrapper {
426
+ position: relative;
427
+ width: 100%;
428
+ }
429
+
430
+ .statistic-chart-parameter-item .specific-color-show {
431
+ position: absolute;
432
+ display: inline-block;
433
+ width: 24px;
434
+ height: 24px;
435
+ top: 50%;
436
+ left: .75rem;
437
+ margin-top: -12px;
438
+ border-radius: 4px;
439
+ margin-right: .5rem;
440
+ cursor: pointer;
441
+ }
442
+
443
+ .statistic-chart-parameter-item .specific-color-input {
444
+ padding-left: calc(1.25rem + 24px);
445
+ }
446
+
447
+ .statistic-chart-parameter-item .specific-color-text {
448
+ flex: 1;
449
+ }
450
+
451
+ /* color rules */
452
+ .statistic-color-rules-toggle {
453
+ display: flex;
454
+ justify-content: center;
455
+ align-items: center;
456
+ height: 38px;
457
+ padding: 0 10px;
458
+ border-radius: 4px;
459
+ border: 1px solid #acacac;
460
+ cursor: pointer;
461
+ user-select: none;
462
+ background-color: #fff;
463
+ }
464
+
465
+ .statistic-color-rules-toggle.statistic-edit-color-rule {
466
+ justify-content: space-between;
467
+ }
468
+
469
+ .statistic-color-rules-toggle:hover {
470
+ background-color: #eee;
471
+ }
472
+
473
+ .statistic-color-rules-toggle .dtable-icon-add-table {
474
+ font-size: 14px;
475
+ font-weight: 600;
476
+ color: #555;
477
+ }
478
+
479
+ .statistic-color-rules-toggle .dtable-icon-rename {
480
+ color: #999;
481
+ }
482
+
483
+ /* common add btn */
484
+ .statistic-add-item-btn {
485
+ display: flex;
486
+ align-items: center;
487
+ height: 40px;
488
+ font-size: 14px;
489
+ font-weight: 500;
490
+ border-top: 1px solid #dedede;
491
+ background: #fff;
492
+ padding: 0 1rem;
493
+ border-bottom-left-radius: 3px;
494
+ border-bottom-right-radius: 3px;
495
+ position: relative;
496
+ }
497
+
498
+ .statistic-add-item-btn:hover {
499
+ cursor: pointer;
500
+ background: #f5f5f5;
501
+ }
502
+
503
+ .statistic-add-item-btn .dtable-icon-add-table {
504
+ margin-right: 10px;
505
+ font-size: 12px;
506
+ font-weight: 600;
507
+ transform: none;
508
+ }
509
+
510
+ /* color selector */
511
+ .statistic-color-selector .popover {
512
+ max-width: 425px;
513
+ }
514
+
515
+ .statistic-color-selector .colorinput-input:checked ~ .colorinput-color:before {
516
+ display: none;
517
+ }
518
+
519
+ .statistic-color-selector .col-auto {
520
+ padding-left: 3px;
521
+ }
522
+
523
+ .statistic-color-selector-wrapper {
524
+ width: 356px;
525
+ padding: 10px 10px 12px;
526
+ background-color: #fff;
527
+ border-radius: 4px;
528
+ display: flex;
529
+ justify-content: flex-start;
530
+ flex-wrap: wrap;
531
+ }
532
+
533
+ .statistic-color-selector .statistic-color-option {
534
+ height: 20px;
535
+ width: 20px;
536
+ margin: 4px;
537
+ border-radius: 2px;
538
+ border-width: 1px;
539
+ border-style: solid;
540
+ display: flex;
541
+ align-items: center;
542
+ justify-content: center;
543
+ cursor: pointer;
544
+ }
545
+
546
+ .statistic-color-selector .statistic-color-option .dtable-font {
547
+ display: inline-block;
548
+ transform: scale(.6);
549
+ }
550
+
551
+ .statistic-chart-parameter-item .stack-settings-content-wrapper {
552
+ padding-left: 19px;
553
+ }
554
+
555
+ .statistic-stack-setting {
556
+ padding-bottom: 14px;
557
+ }
558
+
559
+ /* seatable-radio */
560
+ .statistic-panel .seatable-radio .seatable-radio-description {
561
+ line-height: 16px;
562
+ }