@n8n/frontend-module-insights 0.3.0 → 0.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/frontend-module-insights",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@internationalized/date": "^3.9.0",
|
|
12
|
-
"@n8n/api-types": "1.
|
|
13
|
-
"@n8n/composables": "1.
|
|
14
|
-
"@n8n/design-system": "2.
|
|
15
|
-
"@n8n/frontend-constants": "0.
|
|
16
|
-
"@n8n/frontend-module-sdk": "0.
|
|
17
|
-
"@n8n/i18n": "2.
|
|
18
|
-
"@n8n/permissions": "0.
|
|
19
|
-
"@n8n/rest-api-client": "2.
|
|
20
|
-
"@n8n/stores": "2.
|
|
21
|
-
"@n8n/utils": "1.
|
|
12
|
+
"@n8n/api-types": "1.42.0",
|
|
13
|
+
"@n8n/composables": "1.32.0",
|
|
14
|
+
"@n8n/design-system": "2.41.0",
|
|
15
|
+
"@n8n/frontend-constants": "0.9.0",
|
|
16
|
+
"@n8n/frontend-module-sdk": "0.12.0",
|
|
17
|
+
"@n8n/i18n": "2.42.0",
|
|
18
|
+
"@n8n/permissions": "0.79.0",
|
|
19
|
+
"@n8n/rest-api-client": "2.42.0",
|
|
20
|
+
"@n8n/stores": "2.42.0",
|
|
21
|
+
"@n8n/utils": "1.49.0",
|
|
22
22
|
"@vueuse/core": "^14.3.0",
|
|
23
23
|
"chart.js": "^4.4.0",
|
|
24
24
|
"dateformat": "^3.0.3",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@n8n/playwright-janitor": "0.1.0",
|
|
39
39
|
"@n8n/stylelint-config": "0.0.1",
|
|
40
40
|
"@n8n/typescript-config": "1.12.0",
|
|
41
|
-
"@n8n/vitest-config": "1.
|
|
41
|
+
"@n8n/vitest-config": "1.23.0",
|
|
42
42
|
"@pinia/testing": "^0.1.6",
|
|
43
43
|
"@testing-library/jest-dom": "^6.6.3",
|
|
44
44
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"unplugin-icons": "^23.0.1",
|
|
53
53
|
"vite": "^8.0.2",
|
|
54
54
|
"vite-svg-loader": "5.1.0",
|
|
55
|
-
"vitest": "
|
|
55
|
+
"vitest": "5.0.1",
|
|
56
56
|
"vue-tsc": "^2.2.8"
|
|
57
57
|
},
|
|
58
58
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -173,7 +173,7 @@ exports[`InsightsSummary > should render the summary correctly 6`] = `
|
|
|
173
173
|
</div>"
|
|
174
174
|
`;
|
|
175
175
|
|
|
176
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
176
|
+
exports[`InsightsSummary > with different date ranges > should render with custom range 1`] = `
|
|
177
177
|
"<div class="insightsWrapper">
|
|
178
178
|
<div class="insights">
|
|
179
179
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -207,7 +207,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'cust
|
|
|
207
207
|
</div>"
|
|
208
208
|
`;
|
|
209
209
|
|
|
210
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
210
|
+
exports[`InsightsSummary > with different date ranges > should render with last 7 days (week preset) 1`] = `
|
|
211
211
|
"<div class="insightsWrapper">
|
|
212
212
|
<div class="insights">
|
|
213
213
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -241,7 +241,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
241
241
|
</div>"
|
|
242
242
|
`;
|
|
243
243
|
|
|
244
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
244
|
+
exports[`InsightsSummary > with different date ranges > should render with last 14 days (2weeks preset) 1`] = `
|
|
245
245
|
"<div class="insightsWrapper">
|
|
246
246
|
<div class="insights">
|
|
247
247
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -275,7 +275,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
275
275
|
</div>"
|
|
276
276
|
`;
|
|
277
277
|
|
|
278
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
278
|
+
exports[`InsightsSummary > with different date ranges > should render with last 24 hours (day preset) 1`] = `
|
|
279
279
|
"<div class="insightsWrapper">
|
|
280
280
|
<div class="insights">
|
|
281
281
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -309,7 +309,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
309
309
|
</div>"
|
|
310
310
|
`;
|
|
311
311
|
|
|
312
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
312
|
+
exports[`InsightsSummary > with different date ranges > should render with last 30 days (month preset) 1`] = `
|
|
313
313
|
"<div class="insightsWrapper">
|
|
314
314
|
<div class="insights">
|
|
315
315
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -343,7 +343,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
343
343
|
</div>"
|
|
344
344
|
`;
|
|
345
345
|
|
|
346
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
346
|
+
exports[`InsightsSummary > with different date ranges > should render with last 90 days (quarter preset) 1`] = `
|
|
347
347
|
"<div class="insightsWrapper">
|
|
348
348
|
<div class="insights">
|
|
349
349
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -377,7 +377,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
377
377
|
</div>"
|
|
378
378
|
`;
|
|
379
379
|
|
|
380
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
380
|
+
exports[`InsightsSummary > with different date ranges > should render with last 180 days (6months preset) 1`] = `
|
|
381
381
|
"<div class="insightsWrapper">
|
|
382
382
|
<div class="insights">
|
|
383
383
|
<ul data-test-id="insights-summary-tabs">
|
|
@@ -411,7 +411,7 @@ exports[`InsightsSummary > with different date ranges > should render with 'last
|
|
|
411
411
|
</div>"
|
|
412
412
|
`;
|
|
413
413
|
|
|
414
|
-
exports[`InsightsSummary > with different date ranges > should render with
|
|
414
|
+
exports[`InsightsSummary > with different date ranges > should render with last 365 days (year preset) 1`] = `
|
|
415
415
|
"<div class="insightsWrapper">
|
|
416
416
|
<div class="insights">
|
|
417
417
|
<ul data-test-id="insights-summary-tabs">
|