@utrecht/component-library-react 7.3.5 → 7.3.6
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/CHANGELOG.md +25 -0
- package/dist/.jest-test-results.json +1 -1
- package/package.json +100 -26
- package/dist/Calendar.js +0 -11
- package/dist/Calendar.js.map +0 -1
- package/dist/VegaVisualization.js +0 -105
- package/dist/VegaVisualization.js.map +0 -1
- package/dist/css-module/Calendar.js +0 -11
- package/dist/css-module/Calendar.js.map +0 -1
- package/dist/css-module/VegaVisualization.js +0 -123
- package/dist/css-module/VegaVisualization.js.map +0 -1
- package/dist/css-module/index.cjs +0 -3499
- package/dist/css-module/index.cjs.map +0 -1
- package/dist/index.cjs +0 -2817
- package/dist/index.cjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,25 +1,92 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "7.3.5",
|
|
3
|
-
"author": "Community for NL Design System",
|
|
4
|
-
"description": "React component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
|
|
5
|
-
"license": "EUPL-1.2",
|
|
6
2
|
"name": "@utrecht/component-library-react",
|
|
3
|
+
"version": "7.3.6",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "React component library bundle for the Municipality of Utrecht based on the NL Design System architecture",
|
|
7
6
|
"keywords": [
|
|
8
7
|
"nl-design-system"
|
|
9
8
|
],
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
9
|
+
"homepage": "https://github.com/nl-design-system/utrecht/tree/main/packages/component-library-react#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/nl-design-system/utrecht/issues"
|
|
13
12
|
},
|
|
14
13
|
"repository": {
|
|
15
14
|
"type": "git+ssh",
|
|
16
|
-
"url": "git
|
|
15
|
+
"url": "git+https://github.com/nl-design-system/utrecht.git",
|
|
17
16
|
"directory": "packages/component-library-react"
|
|
18
17
|
},
|
|
18
|
+
"license": "EUPL-1.2",
|
|
19
|
+
"author": "Community for NL Design System",
|
|
19
20
|
"sideEffects": false,
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
21
|
+
"type": "module",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"import": "./dist/index.mjs"
|
|
26
|
+
},
|
|
27
|
+
"./dist/.jest-test-results.json": "./dist/.jest-test-results.json",
|
|
28
|
+
"./CONTRIBUTING.md": "./CONTRIBUTING.md",
|
|
29
|
+
"./CHANGELOG.md": "./CHANGELOG.md",
|
|
30
|
+
"./README.md": "./README.md",
|
|
31
|
+
"./README.nl.md": "./README.nl.md",
|
|
32
|
+
"./TESTING.md": "./TESTING.md",
|
|
33
|
+
"./dist": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./dist/index": {
|
|
38
|
+
"types": "./dist/index.d.ts",
|
|
39
|
+
"import": "./dist/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"./dist/index.mjs": {
|
|
42
|
+
"types": "./dist/index.d.ts",
|
|
43
|
+
"import": "./dist/index.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./dist/VegaVisualization": {
|
|
46
|
+
"types": "./dist/VegaVisualization.d.ts",
|
|
47
|
+
"import": "./dist/VegaVisualization.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./dist/VegaVisualization.mjs": {
|
|
50
|
+
"types": "./dist/VegaVisualization.d.ts",
|
|
51
|
+
"import": "./dist/VegaVisualization.mjs"
|
|
52
|
+
},
|
|
53
|
+
"./dist/Calendar": {
|
|
54
|
+
"types": "./dist/Calendar.d.ts",
|
|
55
|
+
"import": "./dist/Calendar.mjs"
|
|
56
|
+
},
|
|
57
|
+
"./dist/Calendar.mjs": {
|
|
58
|
+
"types": "./dist/Calendar.d.ts",
|
|
59
|
+
"import": "./dist/Calendar.mjs"
|
|
60
|
+
},
|
|
61
|
+
"./dist/css-module": {
|
|
62
|
+
"types": "./dist/css-module/index.d.ts",
|
|
63
|
+
"import": "./dist/css-module/index.mjs"
|
|
64
|
+
},
|
|
65
|
+
"./dist/css-module/index": {
|
|
66
|
+
"types": "./dist/css-module/index.d.ts",
|
|
67
|
+
"import": "./dist/css-module/index.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./dist/css-module/index.mjs": {
|
|
70
|
+
"types": "./dist/css-module/index.d.ts",
|
|
71
|
+
"import": "./dist/css-module/index.mjs"
|
|
72
|
+
},
|
|
73
|
+
"./dist/css-module/VegaVisualization": {
|
|
74
|
+
"types": "./dist/css-module/VegaVisualization.d.ts",
|
|
75
|
+
"import": "./dist/css-module/VegaVisualization.mjs"
|
|
76
|
+
},
|
|
77
|
+
"./dist/css-module/VegaVisualization.mjs": {
|
|
78
|
+
"types": "./dist/css-module/VegaVisualization.d.ts",
|
|
79
|
+
"import": "./dist/css-module/VegaVisualization.mjs"
|
|
80
|
+
},
|
|
81
|
+
"./dist/css-module/Calendar": {
|
|
82
|
+
"types": "./dist/css-module/Calendar.d.ts",
|
|
83
|
+
"import": "./dist/css-module/Calendar.mjs"
|
|
84
|
+
},
|
|
85
|
+
"./dist/css-module/Calendar.mjs": {
|
|
86
|
+
"types": "./dist/css-module/Calendar.d.ts",
|
|
87
|
+
"import": "./dist/css-module/Calendar.mjs"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
23
90
|
"files": [
|
|
24
91
|
"dist/",
|
|
25
92
|
"*.md"
|
|
@@ -27,20 +94,20 @@
|
|
|
27
94
|
"dependencies": {
|
|
28
95
|
"clsx": "2.1.1",
|
|
29
96
|
"lodash.chunk": "4.2.0",
|
|
30
|
-
"@utrecht/button-react": "2.0.
|
|
31
|
-
"@utrecht/calendar-react": "1.0.
|
|
32
|
-
"@utrecht/checkbox-react": "1.0.
|
|
33
|
-
"@utrecht/combobox-react": "0.0.
|
|
34
|
-
"@utrecht/fieldset-react": "1.0.
|
|
35
|
-
"@utrecht/form-field-checkbox-react": "1.0.
|
|
36
|
-
"@utrecht/form-field-description-react": "1.0.
|
|
37
|
-
"@utrecht/form-field-error-message-react": "1.0.
|
|
38
|
-
"@utrecht/form-field-react": "1.0.
|
|
39
|
-
"@utrecht/form-label-react": "1.0.
|
|
40
|
-
"@utrecht/link-react": "1.0.
|
|
41
|
-
"@utrecht/listbox-react": "1.0.
|
|
42
|
-
"@utrecht/radio-button-react": "1.0.
|
|
43
|
-
"@utrecht/textbox-react": "1.0.
|
|
97
|
+
"@utrecht/button-react": "2.0.3",
|
|
98
|
+
"@utrecht/calendar-react": "1.0.6",
|
|
99
|
+
"@utrecht/checkbox-react": "1.0.3",
|
|
100
|
+
"@utrecht/combobox-react": "0.0.4",
|
|
101
|
+
"@utrecht/fieldset-react": "1.0.3",
|
|
102
|
+
"@utrecht/form-field-checkbox-react": "1.0.5",
|
|
103
|
+
"@utrecht/form-field-description-react": "1.0.3",
|
|
104
|
+
"@utrecht/form-field-error-message-react": "1.0.3",
|
|
105
|
+
"@utrecht/form-field-react": "1.0.3",
|
|
106
|
+
"@utrecht/form-label-react": "1.0.3",
|
|
107
|
+
"@utrecht/link-react": "1.0.3",
|
|
108
|
+
"@utrecht/listbox-react": "1.0.4",
|
|
109
|
+
"@utrecht/radio-button-react": "1.0.3",
|
|
110
|
+
"@utrecht/textbox-react": "1.0.3"
|
|
44
111
|
},
|
|
45
112
|
"devDependencies": {
|
|
46
113
|
"@babel/core": "7.24.7",
|
|
@@ -53,6 +120,7 @@
|
|
|
53
120
|
"@rollup/plugin-commonjs": "26.0.1",
|
|
54
121
|
"@rollup/plugin-json": "6.1.0",
|
|
55
122
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
123
|
+
"@rollup/plugin-typescript": "12.1.0",
|
|
56
124
|
"@testing-library/dom": "8.20.1",
|
|
57
125
|
"@testing-library/jest-dom": "5.17.0",
|
|
58
126
|
"@testing-library/react": "13.4.0",
|
|
@@ -69,7 +137,7 @@
|
|
|
69
137
|
"react-dom": "18.3.1",
|
|
70
138
|
"react-vega": "7.6.0",
|
|
71
139
|
"rimraf": "5.0.7",
|
|
72
|
-
"rollup": "4.
|
|
140
|
+
"rollup": "4.23.0",
|
|
73
141
|
"rollup-plugin-delete": "2.0.0",
|
|
74
142
|
"rollup-plugin-filesize": "10.0.0",
|
|
75
143
|
"rollup-plugin-node-externals": "7.1.2",
|
|
@@ -78,6 +146,7 @@
|
|
|
78
146
|
"rollup-plugin-postcss": "4.0.2",
|
|
79
147
|
"rollup-plugin-typescript2": "0.36.0",
|
|
80
148
|
"sass": "1.69.5",
|
|
149
|
+
"sort-package-json": "2.11.0",
|
|
81
150
|
"tslib": "2.6.2",
|
|
82
151
|
"typescript": "5.6.2",
|
|
83
152
|
"vega": "5.26.1",
|
|
@@ -95,6 +164,7 @@
|
|
|
95
164
|
"@utrecht/badge-status-css": "1.3.0",
|
|
96
165
|
"@utrecht/blockquote-css": "1.4.0",
|
|
97
166
|
"@utrecht/breadcrumb-nav-css": "1.3.0",
|
|
167
|
+
"@utrecht/build-utils-react": "0.0.1",
|
|
98
168
|
"@utrecht/button-group-css": "1.3.1",
|
|
99
169
|
"@utrecht/button-link-css": "1.2.0",
|
|
100
170
|
"@utrecht/code-block-css": "1.3.0",
|
|
@@ -185,12 +255,16 @@
|
|
|
185
255
|
"optional": true
|
|
186
256
|
}
|
|
187
257
|
},
|
|
258
|
+
"publishConfig": {
|
|
259
|
+
"access": "public"
|
|
260
|
+
},
|
|
188
261
|
"scripts": {
|
|
189
262
|
"build": "pnpm run '/^build:.*/'",
|
|
190
263
|
"build:rollup": "rollup --config rollup.config.mjs",
|
|
191
264
|
"build:rollup-components": "rollup --config rollup-components.config.mjs",
|
|
192
265
|
"build:test-results": "mkdir -p dist pages && jest --json --outputFile=dist/.jest-test-results.json --silent",
|
|
193
266
|
"clean": "rimraf dist/ pages/ .rollup.cache/ .swc",
|
|
267
|
+
"init": "init-react-package",
|
|
194
268
|
"lint-build": "tsc --project ./tsconfig.json --noEmit && tsc --project ./tsconfig.test.json",
|
|
195
269
|
"test": "mkdir -p pages && jest --coverage --verbose",
|
|
196
270
|
"watch:build": "rollup -c --watch",
|
package/dist/Calendar.js
DELETED
package/dist/Calendar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var clsx = require('clsx');
|
|
7
|
-
var reactVega = require('react-vega');
|
|
8
|
-
|
|
9
|
-
var _excluded = ["actions", "className", "config", "label"];
|
|
10
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
|
-
var defaultConfig = {
|
|
13
|
-
font: 'var(--utrecht-vega-visualization-font-family, var(--utrecht-document-font-family))',
|
|
14
|
-
title: {
|
|
15
|
-
fontSize: 20,
|
|
16
|
-
anchor: 'start',
|
|
17
|
-
offset: 32,
|
|
18
|
-
subtitleFontSize: 16
|
|
19
|
-
},
|
|
20
|
-
range: {
|
|
21
|
-
category: {
|
|
22
|
-
scheme: 'set1'
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
axis: {
|
|
26
|
-
labelFontSize: 16,
|
|
27
|
-
titleFontSize: 16,
|
|
28
|
-
labelFontWeight: 'bold',
|
|
29
|
-
titleFontWeight: 'normal',
|
|
30
|
-
labelAngle: 0,
|
|
31
|
-
ticks: false,
|
|
32
|
-
labelPadding: 12,
|
|
33
|
-
domainColor: 'var(--utrecht-vega-visualization-axis-domain-color, black)',
|
|
34
|
-
gridColor: 'var(--utrecht-vega-visualization-axis-grid-color, gray)',
|
|
35
|
-
tickColor: 'var(--utrecht-vega-visualization-axis-tick-color, black)'
|
|
36
|
-
},
|
|
37
|
-
axisY: {
|
|
38
|
-
titleAngle: 0,
|
|
39
|
-
titleX: 0,
|
|
40
|
-
titleY: 7,
|
|
41
|
-
titleAlign: 'left',
|
|
42
|
-
titleFontWeight: 'bold',
|
|
43
|
-
domain: false
|
|
44
|
-
},
|
|
45
|
-
legend: {
|
|
46
|
-
labelFontSize: 16,
|
|
47
|
-
titleFontSize: 16
|
|
48
|
-
},
|
|
49
|
-
bar: {
|
|
50
|
-
width: {
|
|
51
|
-
band: 0.85
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
view: {
|
|
55
|
-
stroke: null
|
|
56
|
-
},
|
|
57
|
-
padding: {
|
|
58
|
-
left: 20,
|
|
59
|
-
top: 20,
|
|
60
|
-
right: 25,
|
|
61
|
-
bottom: 20
|
|
62
|
-
},
|
|
63
|
-
locale: {
|
|
64
|
-
number: {
|
|
65
|
-
decimal: ',',
|
|
66
|
-
thousands: '.',
|
|
67
|
-
grouping: [3],
|
|
68
|
-
currency: ['', "\xA0\u20AC"]
|
|
69
|
-
},
|
|
70
|
-
time: {
|
|
71
|
-
dateTime: '%a %e %B %Y %X',
|
|
72
|
-
date: '%d-%m-%Y',
|
|
73
|
-
time: '%H:%M:%S',
|
|
74
|
-
periods: ['AM', 'PM'],
|
|
75
|
-
days: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
|
76
|
-
shortDays: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
|
77
|
-
months: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
|
|
78
|
-
shortMonths: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec']
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
var VegaVisualization = function VegaVisualization(_ref) {
|
|
83
|
-
var _ref$actions = _ref.actions,
|
|
84
|
-
actions = _ref$actions === void 0 ? false : _ref$actions,
|
|
85
|
-
className = _ref.className,
|
|
86
|
-
config = _ref.config,
|
|
87
|
-
label = _ref.label,
|
|
88
|
-
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
89
|
-
return jsxRuntime.jsx("div", {
|
|
90
|
-
className: clsx('utrecht-vega-visualization', className),
|
|
91
|
-
role: "image",
|
|
92
|
-
"aria-label": label,
|
|
93
|
-
children: jsxRuntime.jsx("div", {
|
|
94
|
-
"aria-hidden": true,
|
|
95
|
-
children: jsxRuntime.jsx(reactVega.Vega, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
96
|
-
actions: actions,
|
|
97
|
-
renderer: 'svg',
|
|
98
|
-
config: _objectSpread(_objectSpread({}, defaultConfig), config)
|
|
99
|
-
}))
|
|
100
|
-
})
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
exports.VegaVisualization = VegaVisualization;
|
|
105
|
-
//# sourceMappingURL=VegaVisualization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VegaVisualization.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
|
-
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var clsx = require('clsx');
|
|
7
|
-
var reactVega = require('react-vega');
|
|
8
|
-
|
|
9
|
-
var css = ".utrecht-vega-visualization{display:inline-block}";
|
|
10
|
-
|
|
11
|
-
var insertStyle = function insertStyle(css) {
|
|
12
|
-
if (typeof document !== 'undefined') {
|
|
13
|
-
var head = document.head || document.getElementsByTagName('head')[0];
|
|
14
|
-
var style = document.createElement('style');
|
|
15
|
-
style.appendChild(document.createTextNode(css));
|
|
16
|
-
head.appendChild(style);
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var _excluded = ["actions", "className", "config", "label"];
|
|
21
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
22
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23
|
-
var defaultConfig = {
|
|
24
|
-
font: 'var(--utrecht-vega-visualization-font-family, var(--utrecht-document-font-family))',
|
|
25
|
-
title: {
|
|
26
|
-
fontSize: 20,
|
|
27
|
-
anchor: 'start',
|
|
28
|
-
offset: 32,
|
|
29
|
-
subtitleFontSize: 16
|
|
30
|
-
},
|
|
31
|
-
range: {
|
|
32
|
-
category: {
|
|
33
|
-
scheme: 'set1'
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
axis: {
|
|
37
|
-
labelFontSize: 16,
|
|
38
|
-
titleFontSize: 16,
|
|
39
|
-
labelFontWeight: 'bold',
|
|
40
|
-
titleFontWeight: 'normal',
|
|
41
|
-
labelAngle: 0,
|
|
42
|
-
ticks: false,
|
|
43
|
-
labelPadding: 12,
|
|
44
|
-
domainColor: 'var(--utrecht-vega-visualization-axis-domain-color, black)',
|
|
45
|
-
gridColor: 'var(--utrecht-vega-visualization-axis-grid-color, gray)',
|
|
46
|
-
tickColor: 'var(--utrecht-vega-visualization-axis-tick-color, black)'
|
|
47
|
-
},
|
|
48
|
-
axisY: {
|
|
49
|
-
titleAngle: 0,
|
|
50
|
-
titleX: 0,
|
|
51
|
-
titleY: 7,
|
|
52
|
-
titleAlign: 'left',
|
|
53
|
-
titleFontWeight: 'bold',
|
|
54
|
-
domain: false
|
|
55
|
-
},
|
|
56
|
-
legend: {
|
|
57
|
-
labelFontSize: 16,
|
|
58
|
-
titleFontSize: 16
|
|
59
|
-
},
|
|
60
|
-
bar: {
|
|
61
|
-
width: {
|
|
62
|
-
band: 0.85
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
view: {
|
|
66
|
-
stroke: null
|
|
67
|
-
},
|
|
68
|
-
padding: {
|
|
69
|
-
left: 20,
|
|
70
|
-
top: 20,
|
|
71
|
-
right: 25,
|
|
72
|
-
bottom: 20
|
|
73
|
-
},
|
|
74
|
-
locale: {
|
|
75
|
-
number: {
|
|
76
|
-
decimal: ',',
|
|
77
|
-
thousands: '.',
|
|
78
|
-
grouping: [3],
|
|
79
|
-
currency: ['', "\xA0\u20AC"]
|
|
80
|
-
},
|
|
81
|
-
time: {
|
|
82
|
-
dateTime: '%a %e %B %Y %X',
|
|
83
|
-
date: '%d-%m-%Y',
|
|
84
|
-
time: '%H:%M:%S',
|
|
85
|
-
periods: ['AM', 'PM'],
|
|
86
|
-
days: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
|
|
87
|
-
shortDays: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
|
|
88
|
-
months: ['januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
|
|
89
|
-
shortMonths: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec']
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
var VegaVisualization = function VegaVisualization(_ref) {
|
|
94
|
-
var _ref$actions = _ref.actions,
|
|
95
|
-
actions = _ref$actions === void 0 ? false : _ref$actions,
|
|
96
|
-
className = _ref.className,
|
|
97
|
-
config = _ref.config,
|
|
98
|
-
label = _ref.label,
|
|
99
|
-
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
100
|
-
return jsxRuntime.jsx("div", {
|
|
101
|
-
className: clsx('utrecht-vega-visualization', className),
|
|
102
|
-
role: "image",
|
|
103
|
-
"aria-label": label,
|
|
104
|
-
children: jsxRuntime.jsx("div", {
|
|
105
|
-
"aria-hidden": true,
|
|
106
|
-
children: jsxRuntime.jsx(reactVega.Vega, _objectSpread(_objectSpread({}, restProps), {}, {
|
|
107
|
-
actions: actions,
|
|
108
|
-
renderer: 'svg',
|
|
109
|
-
config: _objectSpread(_objectSpread({}, defaultConfig), config)
|
|
110
|
-
}))
|
|
111
|
-
})
|
|
112
|
-
});
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* @license EUPL-1.2
|
|
117
|
-
* Copyright (c) 2020-2024 Frameless B.V.
|
|
118
|
-
* Copyright (c) 2021-2024 Gemeente Utrecht
|
|
119
|
-
*/
|
|
120
|
-
insertStyle(css);
|
|
121
|
-
|
|
122
|
-
exports.VegaVisualization = VegaVisualization;
|
|
123
|
-
//# sourceMappingURL=VegaVisualization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VegaVisualization.js","sources":["../../../../components/vega-visualization/dist/index.mjs"],"sourcesContent":["export default \".utrecht-vega-visualization{display:inline-block}\";\n"],"names":[],"mappings":";;;;;;;;AAAA,UAAe,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|