@datarailsshared/dr_renderer 1.5.159 → 1.5.168

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 (32) hide show
  1. package/.idea/jsLibraryMappings.xml +6 -0
  2. package/.idea/misc.xml +9 -0
  3. package/.nvmrc +1 -0
  4. package/jest.config.js +1 -1
  5. package/package.json +9 -11
  6. package/scripts/check-versions.js +16 -0
  7. package/src/highcharts_renderer.d.ts +2 -2
  8. package/tsconfig.json +1 -1
  9. package/.circleci/config.yml +0 -85
  10. package/.github/workflows/ai-coder-jira.yml +0 -915
  11. package/.github/workflows/ai-coder-n8n-caller.yml +0 -82
  12. package/.github/workflows/release.yml +0 -49
  13. package/tests/__snapshots__/suboptions.test.js.snap +0 -5028
  14. package/tests/dr-renderer-helpers.test.js +0 -228
  15. package/tests/dr_chart_tooltip.test.js +0 -789
  16. package/tests/dr_gauge_chart.test.js +0 -2041
  17. package/tests/errors.test.js +0 -157
  18. package/tests/highcharts_renderer.test.js +0 -9407
  19. package/tests/mock/add-in-dynamic-ranges.json +0 -127
  20. package/tests/mock/add-in-functions.json +0 -410
  21. package/tests/mock/add-in-tables.json +0 -347
  22. package/tests/mock/tables.json +0 -2258
  23. package/tests/mock/widgets.json +0 -401
  24. package/tests/options-builder.test.js +0 -1698
  25. package/tests/pivot-table/freeze-panes/constants.test.js +0 -92
  26. package/tests/pivot-table/freeze-panes/index.test.js +0 -193
  27. package/tests/pivot-table/freeze-panes/sticky-strategy.test.js +0 -542
  28. package/tests/pivot-table/freeze-panes/transform-strategy.test.js +0 -304
  29. package/tests/ptCreateDrillDownSeriesToDrilldownChart.test.js +0 -509
  30. package/tests/seriesPointStyles-helper.test.js +0 -114
  31. package/tests/suboptions.test.js +0 -322
  32. package/tests/value.formatter.test.js +0 -143
@@ -1,401 +0,0 @@
1
- [
2
- {
3
- "id": 9422,
4
- "template_id": 7199,
5
- "rows": [
6
- {
7
- "name": "Scenario",
8
- "id": 161922,
9
- "type": "Text",
10
- "idx": 18,
11
- "format": null,
12
- "allow_blanks": true,
13
- "is_calculated": false,
14
- "calculated_formula": null,
15
- "sorting": null,
16
- "is_consolidated": false,
17
- "consolidated_fields": [],
18
- "error_policy": "SET_DEFAULT",
19
- "default_value": null,
20
- "date_split_options": null,
21
- "date_field_before_split": null,
22
- "category": [],
23
- "mandatory": false,
24
- "letter_case": null,
25
- "trim": true,
26
- "kind": null,
27
- "date_format": "infer",
28
- "consider_fiscal_in_view": false,
29
- "description": null,
30
- "is_hidden": false,
31
- "usage_info": {
32
- "usage_info": {
33
- "ex_tables": [
34
- 7076
35
- ]
36
- }
37
- },
38
- "ignore_hours": true,
39
- "alias": ""
40
- }
41
- ],
42
- "cols": [
43
- {
44
- "name": "Account level 1",
45
- "id": 161918,
46
- "type": "Text",
47
- "idx": 14,
48
- "format": null,
49
- "allow_blanks": true,
50
- "is_calculated": false,
51
- "calculated_formula": null,
52
- "sorting": null,
53
- "is_consolidated": false,
54
- "consolidated_fields": [],
55
- "error_policy": "SET_DEFAULT",
56
- "default_value": null,
57
- "date_split_options": null,
58
- "date_field_before_split": null,
59
- "category": [],
60
- "mandatory": false,
61
- "letter_case": null,
62
- "trim": true,
63
- "kind": null,
64
- "date_format": "infer",
65
- "consider_fiscal_in_view": false,
66
- "description": null,
67
- "is_hidden": false,
68
- "usage_info": {
69
- "usage_info": {
70
- "ex_tables": [
71
- 7076
72
- ]
73
- }
74
- },
75
- "ignore_hours": true,
76
- "alias": ""
77
- },
78
- {
79
- "name": "Account level 2",
80
- "id": 161919,
81
- "type": "Text",
82
- "idx": 15,
83
- "format": null,
84
- "allow_blanks": true,
85
- "is_calculated": false,
86
- "calculated_formula": null,
87
- "sorting": null,
88
- "is_consolidated": false,
89
- "consolidated_fields": [],
90
- "error_policy": "SET_DEFAULT",
91
- "default_value": null,
92
- "date_split_options": null,
93
- "date_field_before_split": null,
94
- "category": [],
95
- "mandatory": false,
96
- "letter_case": null,
97
- "trim": true,
98
- "kind": null,
99
- "date_format": "infer",
100
- "consider_fiscal_in_view": false,
101
- "description": null,
102
- "is_hidden": false,
103
- "usage_info": {
104
- "usage_info": {
105
- "ex_tables": [
106
- 7076
107
- ]
108
- }
109
- },
110
- "ignore_hours": true,
111
- "alias": ""
112
- },
113
- {
114
- "name": "Posting Date",
115
- "id": 161923,
116
- "type": "Date",
117
- "idx": 19,
118
- "format": null,
119
- "allow_blanks": true,
120
- "is_calculated": false,
121
- "calculated_formula": null,
122
- "sorting": null,
123
- "is_consolidated": false,
124
- "consolidated_fields": [],
125
- "error_policy": "SET_DEFAULT",
126
- "default_value": null,
127
- "date_split_options": null,
128
- "date_field_before_split": null,
129
- "category": [],
130
- "mandatory": false,
131
- "letter_case": null,
132
- "trim": true,
133
- "kind": null,
134
- "date_format": "infer",
135
- "consider_fiscal_in_view": false,
136
- "description": null,
137
- "is_hidden": false,
138
- "usage_info": {
139
- "usage_info": {
140
- "ex_tables": [
141
- 7076
142
- ]
143
- }
144
- },
145
- "ignore_hours": true,
146
- "alias": ""
147
- }
148
- ],
149
- "calculated_values": [
150
- {
151
- "calc_id": 23,
152
- "name": "Test value",
153
- "field": 161922,
154
- "side": "legend",
155
- "format": null
156
- }
157
- ],
158
- "filters": [
159
- {
160
- "field": 161918,
161
- "name": "Account level 1",
162
- "values": [
163
- "Expenses",
164
- "Income",
165
- "Other Expense",
166
- "Other Income"
167
- ],
168
- "is_excluded": false,
169
- "show_in_graph": true,
170
- "type": "Text",
171
- "override_global_filter": true
172
- },
173
- {
174
- "field": 161923,
175
- "name": "Posting Date",
176
- "values": {
177
- "datetype": "range",
178
- "val": {
179
- "fromdate": 1641859200,
180
- "todate": 1653696000
181
- }
182
- },
183
- "is_excluded": false,
184
- "show_in_graph": false,
185
- "type": "Date",
186
- "override_global_filter": false
187
- },
188
- {
189
- "field": 161924,
190
- "name": "Reporting Date",
191
- "values": [
192
- 1646006400,
193
- 1643587200
194
- ],
195
- "is_excluded": false,
196
- "show_in_graph": true,
197
- "type": "Date",
198
- "override_global_filter": true
199
- }
200
- ],
201
- "options": {
202
- "chartOptions": {
203
- "axisY": {
204
- "autoylabel": true,
205
- "name": "Amount",
206
- "min": null,
207
- "max": null
208
- },
209
- "axisX": {
210
- "autoxlabel": true,
211
- "name": "Account level 1",
212
- "min": null,
213
- "max": null,
214
- "label_step": null,
215
- "zoom_x": false
216
- },
217
- "tooltips": {
218
- "show": true,
219
- "font_style": "Poppins",
220
- "font_size": "12",
221
- "font_color": "#545a6b",
222
- "show_x_axis": true,
223
- "show_data_series": true,
224
- "show_value": true,
225
- "show_out_of_x_axis": false,
226
- "show_out_of_data_series": false
227
- },
228
- "label": {
229
- "show": true,
230
- "overlap": false,
231
- "font_style": "Poppins",
232
- "font_size": "11",
233
- "font_color": "#151a41",
234
- "show_value": true,
235
- "show_out_of_x_axis": false,
236
- "show_out_of_data_series": false
237
- },
238
- "subtitle": {
239
- "subtitle": ""
240
- },
241
- "widget_library": {
242
- "categories": "",
243
- "description": "",
244
- "tags": []
245
- },
246
- "table_options": {
247
- "table_colors_offset": 0,
248
- "show_column_total": true,
249
- "show_row_total": true,
250
- "show_subtotals_for_columns": false,
251
- "show_subtotals_for_rows": false,
252
- "show_subtotals_in_brackets": false,
253
- "transpose_table": false,
254
- "start_collapsed_rows": false,
255
- "start_collapsed_columns": false,
256
- "colorize_headers": true,
257
- "remove_underscores": true,
258
- "use_handsOnTable": false,
259
- "use_new_table_design": true,
260
- "hide_nulls_in_headers": true,
261
- "show_all": false,
262
- "freeze_panes": true,
263
- "eliminate_calc_totals": false
264
- },
265
- "table_design_options": {
266
- "columns_font_style": "Poppins",
267
- "columns_font_size": "10",
268
- "columns_align_text": "left",
269
- "rows_font_style": "Poppins",
270
- "rows_font_size": "10",
271
- "rows_align_text": "left",
272
- "values_font_style": "Poppins",
273
- "values_font_size": "10",
274
- "values_align_text": "left",
275
- "totals_font_style": "Poppins",
276
- "totals_font_size": "10",
277
- "totals_align_text": "left"
278
- },
279
- "chart": {
280
- "colors_offset": 0,
281
- "zoom_type": "None",
282
- "show": true
283
- },
284
- "delta_column": {
285
- "field": "",
286
- "name": "_Variance",
287
- "formula": "x2-x1",
288
- "chart": "",
289
- "only_variant": false,
290
- "same_yaxis": false,
291
- "same_xaxis": false,
292
- "is_percentage": false,
293
- "sort_by_variance": false,
294
- "sort_by_absolute_variance": false
295
- },
296
- "advanced": {
297
- "error_policy": "None",
298
- "from_latest": ""
299
- },
300
- "legends_position": {
301
- "value": "top"
302
- },
303
- "hideChartHeader": true
304
- },
305
- "useDefaultFormat": false,
306
- "average": false,
307
- "total": false,
308
- "comboOptions": {
309
- "secondaryAxisSettings": {
310
- "name": "Secondary Axis",
311
- "max": null,
312
- "min": null,
313
- "is_percentage": false
314
- },
315
- "seriesOptions": []
316
- },
317
- "chart_title": "New Widget234",
318
- "chartLabels": {
319
- "legend": "Data series",
320
- "axis": "X - Axis"
321
- },
322
- "widgetId": 9422,
323
- "paletteOptions": {
324
- "dashboardPalette": {
325
- "id": 7615,
326
- "is_default": true,
327
- "colors": [
328
- "rgba(205, 229, 255, 1)",
329
- "rgba(0, 0, 0, 1)",
330
- "rgba(94, 149, 105, 1)",
331
- "rgba(251, 5, 86, 1)",
332
- "#0E3E9E",
333
- "#7DC5FF",
334
- "#269AFF",
335
- "#3DC5AA",
336
- "rgba(112, 32, 100, 1)",
337
- "#1591AD"
338
- ],
339
- "name": "testOne1212",
340
- "organization": 1,
341
- "variance_color": "#3DC5AA"
342
- }
343
- },
344
- "chart_series": [
345
- "Actuals"
346
- ],
347
- "resetSortingElement": null,
348
- "show_more_max_items": 5,
349
- "value_drill_down_fn": null,
350
- "defaults_colors": [
351
- "#0087FE",
352
- "#3AD4D4",
353
- "#EF4760",
354
- "#FFCF33",
355
- "#0E3E9E",
356
- "#7DC5FF",
357
- "#269AFF",
358
- "#3DC5AA",
359
- "#66FF99",
360
- "#1591AD"
361
- ],
362
- "date_aggregation_configs": [
363
- {
364
- "field_id": 161923,
365
- "field_name": "Posting Date",
366
- "fnc": "sum",
367
- "aggregate_by": "month",
368
- "type": "YTD",
369
- "rolling_month_before": 12,
370
- "is_end_of_period": true,
371
- "is_formatting_by_aggregation_method": true
372
- }
373
- ]
374
- },
375
- "vals": [
376
- {
377
- "field": 161925,
378
- "name": "Amount",
379
- "aggregator": "SUM",
380
- "type": "Float"
381
- }
382
- ],
383
- "value_filter_options": "{}",
384
- "values_format": "#,###",
385
- "chart_type": "column-chart-stacked",
386
- "widget_template_id": null,
387
- "dashboard_name": "123",
388
- "published_item": null,
389
- "name": "New Widget234",
390
- "dashboard": 9013,
391
- "width": 6,
392
- "height": 8,
393
- "x": 0,
394
- "y": 0,
395
- "is_analysis": false,
396
- "is_drill_down": false,
397
- "is_any_field_is_empty": false,
398
- "showTable": false,
399
- "mydrilldownFunc": null
400
- }
401
- ]