@malloydata/render 0.0.36-dev230525034638 → 0.0.36
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/html/html_view.js +16 -16
- package/dist/html/vega_spec.js +21 -21
- package/package.json +2 -2
package/dist/html/html_view.js
CHANGED
|
@@ -101,22 +101,22 @@ class JSONView {
|
|
|
101
101
|
}
|
|
102
102
|
exports.JSONView = JSONView;
|
|
103
103
|
const suffixMap = {
|
|
104
|
-
_shape_map: 'shape_map',
|
|
105
|
-
_point_map: 'point_map',
|
|
106
|
-
_bar_chart: 'bar_chart',
|
|
107
|
-
_image: 'image',
|
|
108
|
-
_json: 'json',
|
|
109
|
-
_segment_map: 'segment_map',
|
|
110
|
-
_dashboard: 'dashboard',
|
|
111
|
-
_line_chart: 'line_chart',
|
|
112
|
-
_scatter_chart: 'scatter_chart',
|
|
113
|
-
_url: 'link',
|
|
114
|
-
_list: 'list',
|
|
115
|
-
_list_detail: 'list_detail',
|
|
116
|
-
_sparkline: 'sparkline',
|
|
117
|
-
_sparkline_area: 'sparkline',
|
|
118
|
-
_sparkline_column: 'sparkline',
|
|
119
|
-
_sparkline_bar: 'sparkline',
|
|
104
|
+
'_shape_map': 'shape_map',
|
|
105
|
+
'_point_map': 'point_map',
|
|
106
|
+
'_bar_chart': 'bar_chart',
|
|
107
|
+
'_image': 'image',
|
|
108
|
+
'_json': 'json',
|
|
109
|
+
'_segment_map': 'segment_map',
|
|
110
|
+
'_dashboard': 'dashboard',
|
|
111
|
+
'_line_chart': 'line_chart',
|
|
112
|
+
'_scatter_chart': 'scatter_chart',
|
|
113
|
+
'_url': 'link',
|
|
114
|
+
'_list': 'list',
|
|
115
|
+
'_list_detail': 'list_detail',
|
|
116
|
+
'_sparkline': 'sparkline',
|
|
117
|
+
'_sparkline_area': 'sparkline',
|
|
118
|
+
'_sparkline_column': 'sparkline',
|
|
119
|
+
'_sparkline_bar': 'sparkline',
|
|
120
120
|
};
|
|
121
121
|
function getRendererOptions(field, dataStyles) {
|
|
122
122
|
var _a, _b, _c;
|
package/dist/html/vega_spec.js
CHANGED
|
@@ -223,30 +223,30 @@ const bar_NMM = {
|
|
|
223
223
|
};
|
|
224
224
|
exports.vegaSpecs = {
|
|
225
225
|
bar_SM,
|
|
226
|
-
bar_SM_small: { ...bar_SM, ...sizeSmallStep },
|
|
227
|
-
bar_SM_medium: { ...bar_SM, ...sizeMediumStep },
|
|
226
|
+
'bar_SM_small': { ...bar_SM, ...sizeSmallStep },
|
|
227
|
+
'bar_SM_medium': { ...bar_SM, ...sizeMediumStep },
|
|
228
228
|
bar_SM_large,
|
|
229
229
|
bar_SMS,
|
|
230
|
-
bar_SMS_small: { ...bar_SMS, ...sizeSmallStep },
|
|
231
|
-
bar_SMS_medium: { ...bar_SMS, ...sizeMediumStep },
|
|
230
|
+
'bar_SMS_small': { ...bar_SMS, ...sizeSmallStep },
|
|
231
|
+
'bar_SMS_medium': { ...bar_SMS, ...sizeMediumStep },
|
|
232
232
|
bar_SMS_large,
|
|
233
233
|
bar_SMM,
|
|
234
|
-
bar_SMM_small: { ...bar_SMM, ...sizeSmallStep },
|
|
235
|
-
bar_SMM_medium: { ...bar_SMM, ...sizeMediumStep },
|
|
234
|
+
'bar_SMM_small': { ...bar_SMM, ...sizeSmallStep },
|
|
235
|
+
'bar_SMM_medium': { ...bar_SMM, ...sizeMediumStep },
|
|
236
236
|
bar_SMM_large,
|
|
237
237
|
bar_NM,
|
|
238
|
-
bar_NM_small: { ...bar_NM, ...sizeSmall },
|
|
239
|
-
bar_NM_medium: { ...bar_NM, ...sizeMedium },
|
|
240
|
-
bar_NM_large: { ...bar_NM },
|
|
238
|
+
'bar_NM_small': { ...bar_NM, ...sizeSmall },
|
|
239
|
+
'bar_NM_medium': { ...bar_NM, ...sizeMedium },
|
|
240
|
+
'bar_NM_large': { ...bar_NM },
|
|
241
241
|
bar_NMS,
|
|
242
|
-
bar_NMS_small: { ...bar_NMS, ...sizeSmall },
|
|
243
|
-
bar_NMS_medium: { ...bar_NMS, ...sizeMedium },
|
|
244
|
-
bar_NMS_large: { ...bar_NMS, ...sizeLarge },
|
|
242
|
+
'bar_NMS_small': { ...bar_NMS, ...sizeSmall },
|
|
243
|
+
'bar_NMS_medium': { ...bar_NMS, ...sizeMedium },
|
|
244
|
+
'bar_NMS_large': { ...bar_NMS, ...sizeLarge },
|
|
245
245
|
bar_NMM,
|
|
246
|
-
bar_NMM_small: { ...bar_NMM, ...sizeSmall },
|
|
247
|
-
bar_NMM_medium: { ...bar_NMM, ...sizeMedium },
|
|
248
|
-
bar_NMM_large: { ...bar_NMM, ...sizeLarge },
|
|
249
|
-
bar_SSMMM: {
|
|
246
|
+
'bar_NMM_small': { ...bar_NMM, ...sizeSmall },
|
|
247
|
+
'bar_NMM_medium': { ...bar_NMM, ...sizeMedium },
|
|
248
|
+
'bar_NMM_large': { ...bar_NMM, ...sizeLarge },
|
|
249
|
+
'bar_SSMMM': {
|
|
250
250
|
...exports.DEFAULT_SPEC,
|
|
251
251
|
repeat: ['#{3}', '#{4}', '#{5}'],
|
|
252
252
|
spec: {
|
|
@@ -281,7 +281,7 @@ exports.vegaSpecs = {
|
|
|
281
281
|
],
|
|
282
282
|
},
|
|
283
283
|
},
|
|
284
|
-
bubble_NNM: {
|
|
284
|
+
'bubble_NNM': {
|
|
285
285
|
...exports.DEFAULT_SPEC,
|
|
286
286
|
data: [],
|
|
287
287
|
mark: 'circle',
|
|
@@ -304,7 +304,7 @@ exports.vegaSpecs = {
|
|
|
304
304
|
color: { value: '#4285F4' },
|
|
305
305
|
},
|
|
306
306
|
},
|
|
307
|
-
heat_NNM: {
|
|
307
|
+
'heat_NNM': {
|
|
308
308
|
...exports.DEFAULT_SPEC,
|
|
309
309
|
data: [],
|
|
310
310
|
mark: 'bar',
|
|
@@ -327,7 +327,7 @@ exports.vegaSpecs = {
|
|
|
327
327
|
},
|
|
328
328
|
},
|
|
329
329
|
},
|
|
330
|
-
heat_SNM: {
|
|
330
|
+
'heat_SNM': {
|
|
331
331
|
...exports.DEFAULT_SPEC,
|
|
332
332
|
data: [],
|
|
333
333
|
mark: 'bar',
|
|
@@ -350,7 +350,7 @@ exports.vegaSpecs = {
|
|
|
350
350
|
},
|
|
351
351
|
},
|
|
352
352
|
},
|
|
353
|
-
stacked_line_STM: {
|
|
353
|
+
'stacked_line_STM': {
|
|
354
354
|
...exports.DEFAULT_SPEC,
|
|
355
355
|
height: 50,
|
|
356
356
|
data: [],
|
|
@@ -381,7 +381,7 @@ exports.vegaSpecs = {
|
|
|
381
381
|
},
|
|
382
382
|
},
|
|
383
383
|
},
|
|
384
|
-
grid_line_SSTM: {
|
|
384
|
+
'grid_line_SSTM': {
|
|
385
385
|
...exports.DEFAULT_SPEC,
|
|
386
386
|
height: 50,
|
|
387
387
|
data: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/render",
|
|
3
|
-
"version": "0.0.36
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"prepublishOnly": "npm run build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@malloydata/malloy": "^0.0.36
|
|
21
|
+
"@malloydata/malloy": "^0.0.36",
|
|
22
22
|
"lodash": "^4.17.20",
|
|
23
23
|
"us-atlas": "^3.0.0",
|
|
24
24
|
"vega": "^5.21.0",
|