@tenancy.nz/reports 1.5.6 → 1.5.8
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.
|
@@ -22,7 +22,7 @@ function ViewingAnalyticsReport(_ref) {
|
|
|
22
22
|
var properties = eventData.properties || [];
|
|
23
23
|
return /* @__PURE__ */React.createElement(ui.ThemeProvider, null, /* @__PURE__ */React.createElement(ui.Box, {
|
|
24
24
|
width: "100%"
|
|
25
|
-
}, /* @__PURE__ */React.createElement(featureUi.
|
|
25
|
+
}, /* @__PURE__ */React.createElement(featureUi.PDFAnalyticsSection, {
|
|
26
26
|
viewingsCount: stats.viewings_count,
|
|
27
27
|
bookingsCount: stats.bookings_count,
|
|
28
28
|
attendeesCount: stats.viewing_attendees_count,
|
|
@@ -44,8 +44,7 @@ function ViewingAnalyticsReport(_ref) {
|
|
|
44
44
|
oneRoofBookingsCount: stats.oneroof_bookings_count,
|
|
45
45
|
realestateBookingsCount: stats.realestate_bookings_count,
|
|
46
46
|
tradeMeBookingsCount: stats.trademe_bookings_count,
|
|
47
|
-
manualBookingsCount: stats.agent_bookings_count
|
|
48
|
-
outlinedItems: true
|
|
47
|
+
manualBookingsCount: stats.agent_bookings_count
|
|
49
48
|
}), /* @__PURE__ */React.createElement(ui.Box, {
|
|
50
49
|
sx: {
|
|
51
50
|
mt: "28px"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ThemeProvider, Box, Heading, Grid, Text } from '@tenancy.nz/ui';
|
|
3
|
-
import {
|
|
3
|
+
import { PDFAnalyticsSection, GridList, PropertyCard } from '@tenancy.nz/feature-ui';
|
|
4
4
|
import ReportFooter from './ReportFooter.js';
|
|
5
5
|
import ReportHeader from './ReportHeader.js';
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ function ViewingAnalyticsReport(_ref) {
|
|
|
18
18
|
var properties = eventData.properties || [];
|
|
19
19
|
return /* @__PURE__ */React.createElement(ThemeProvider, null, /* @__PURE__ */React.createElement(Box, {
|
|
20
20
|
width: "100%"
|
|
21
|
-
}, /* @__PURE__ */React.createElement(
|
|
21
|
+
}, /* @__PURE__ */React.createElement(PDFAnalyticsSection, {
|
|
22
22
|
viewingsCount: stats.viewings_count,
|
|
23
23
|
bookingsCount: stats.bookings_count,
|
|
24
24
|
attendeesCount: stats.viewing_attendees_count,
|
|
@@ -40,8 +40,7 @@ function ViewingAnalyticsReport(_ref) {
|
|
|
40
40
|
oneRoofBookingsCount: stats.oneroof_bookings_count,
|
|
41
41
|
realestateBookingsCount: stats.realestate_bookings_count,
|
|
42
42
|
tradeMeBookingsCount: stats.trademe_bookings_count,
|
|
43
|
-
manualBookingsCount: stats.agent_bookings_count
|
|
44
|
-
outlinedItems: true
|
|
43
|
+
manualBookingsCount: stats.agent_bookings_count
|
|
45
44
|
}), /* @__PURE__ */React.createElement(Box, {
|
|
46
45
|
sx: {
|
|
47
46
|
mt: "28px"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenancy.nz/reports",
|
|
3
3
|
"description": "React UI reporting components.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.8",
|
|
5
5
|
"author": "TPS <https://www.tenancy.co.nz>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"type": "module",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
16
16
|
"react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
17
|
-
"@tenancy.nz/feature-ui": "1.5.
|
|
18
|
-
"@tenancy.nz/ui": "1.5.
|
|
17
|
+
"@tenancy.nz/feature-ui": "1.5.8",
|
|
18
|
+
"@tenancy.nz/ui": "1.5.8"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@tenancy.nz/
|
|
22
|
-
"@tenancy.nz/ui": "1.5.
|
|
21
|
+
"@tenancy.nz/ui": "1.5.8",
|
|
22
|
+
"@tenancy.nz/feature-ui": "1.5.8"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"react-uid": "^2.4.0"
|