@churchapps/apphelper 0.1.26 → 0.2.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/dist/components/CreatePerson.d.ts +1 -1
- package/dist/components/CreatePerson.d.ts.map +1 -1
- package/dist/components/CreatePerson.js +2 -2
- package/dist/components/CreatePerson.js.map +1 -1
- package/dist/components/PersonAdd.d.ts +1 -1
- package/dist/components/PersonAdd.d.ts.map +1 -1
- package/dist/components/QuestionEdit.d.ts +1 -1
- package/dist/components/QuestionEdit.d.ts.map +1 -1
- package/dist/components/notes/AddNote.d.ts +1 -1
- package/dist/components/notes/AddNote.d.ts.map +1 -1
- package/dist/components/notes/Conversation.d.ts +1 -1
- package/dist/components/notes/Conversation.d.ts.map +1 -1
- package/dist/components/notes/Conversations.d.ts +1 -1
- package/dist/components/notes/Conversations.d.ts.map +1 -1
- package/dist/components/notes/NewConversation.d.ts +1 -1
- package/dist/components/notes/NewConversation.d.ts.map +1 -1
- package/dist/components/notes/Note.d.ts +1 -1
- package/dist/components/notes/Note.d.ts.map +1 -1
- package/dist/components/notes/Notes.d.ts +1 -1
- package/dist/components/notes/Notes.d.ts.map +1 -1
- package/dist/components/reporting/ChartReport.d.ts +1 -1
- package/dist/components/reporting/ChartReport.d.ts.map +1 -1
- package/dist/components/reporting/ChartReport.js +5 -16
- package/dist/components/reporting/ChartReport.js.map +1 -1
- package/dist/components/reporting/ReportFilter.d.ts +1 -1
- package/dist/components/reporting/ReportFilter.d.ts.map +1 -1
- package/dist/components/reporting/ReportFilterField.d.ts +1 -1
- package/dist/components/reporting/ReportFilterField.d.ts.map +1 -1
- package/dist/components/reporting/ReportOutput.d.ts +1 -1
- package/dist/components/reporting/ReportOutput.d.ts.map +1 -1
- package/dist/components/reporting/TableReport.d.ts +1 -1
- package/dist/components/reporting/TableReport.d.ts.map +1 -1
- package/dist/components/reporting/TableReport.js +4 -19
- package/dist/components/reporting/TableReport.js.map +1 -1
- package/dist/components/reporting/TreeReport.d.ts +1 -1
- package/dist/components/reporting/TreeReport.d.ts.map +1 -1
- package/dist/components/reporting/TreeReport.js +5 -16
- package/dist/components/reporting/TreeReport.js.map +1 -1
- package/dist/components/wrapper/AppList.d.ts +1 -1
- package/dist/components/wrapper/AppList.d.ts.map +1 -1
- package/dist/components/wrapper/ChurchList.d.ts +1 -1
- package/dist/components/wrapper/ChurchList.d.ts.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts.map +1 -1
- package/dist/components/wrapper/NotificationMenu.d.ts +1 -1
- package/dist/components/wrapper/NotificationMenu.d.ts.map +1 -1
- package/dist/components/wrapper/Notifications.d.ts +1 -1
- package/dist/components/wrapper/Notifications.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.d.ts +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessages.d.ts +1 -1
- package/dist/components/wrapper/PrivateMessages.d.ts.map +1 -1
- package/dist/components/wrapper/SiteWrapper.d.ts +1 -1
- package/dist/components/wrapper/SiteWrapper.d.ts.map +1 -1
- package/dist/components/wrapper/UserMenu.d.ts +1 -1
- package/dist/components/wrapper/UserMenu.d.ts.map +1 -1
- package/dist/donationComponents/DonationPage.d.ts +1 -1
- package/dist/donationComponents/DonationPage.d.ts.map +1 -1
- package/dist/donationComponents/DonationPage.js +3 -3
- package/dist/donationComponents/DonationPage.js.map +1 -1
- package/dist/donationComponents/components/BankForm.d.ts +1 -1
- package/dist/donationComponents/components/BankForm.d.ts.map +1 -1
- package/dist/donationComponents/components/CardForm.d.ts +1 -1
- package/dist/donationComponents/components/CardForm.d.ts.map +1 -1
- package/dist/donationComponents/components/DonationForm.d.ts +1 -1
- package/dist/donationComponents/components/DonationForm.d.ts.map +1 -1
- package/dist/donationComponents/components/FundDonation.d.ts +1 -1
- package/dist/donationComponents/components/FundDonation.d.ts.map +1 -1
- package/dist/donationComponents/components/FundDonations.d.ts +1 -1
- package/dist/donationComponents/components/FundDonations.d.ts.map +1 -1
- package/dist/donationComponents/components/NonAuthDonationInner.d.ts.map +1 -1
- package/dist/donationComponents/components/NonAuthDonationInner.js +9 -7
- package/dist/donationComponents/components/NonAuthDonationInner.js.map +1 -1
- package/dist/donationComponents/components/PaymentMethods.d.ts +1 -1
- package/dist/donationComponents/components/PaymentMethods.d.ts.map +1 -1
- package/dist/donationComponents/components/PaymentMethods.js +6 -6
- package/dist/donationComponents/components/PaymentMethods.js.map +1 -1
- package/dist/donationComponents/components/RecurringDonations.js +2 -2
- package/dist/donationComponents/components/RecurringDonations.js.map +1 -1
- package/dist/donationComponents/components/RecurringDonationsEdit.d.ts +1 -1
- package/dist/donationComponents/components/RecurringDonationsEdit.d.ts.map +1 -1
- package/dist/donationComponents/modals/DonationPreviewModal.d.ts +1 -1
- package/dist/donationComponents/modals/DonationPreviewModal.d.ts.map +1 -1
- package/dist/helpers/ApiHelper.d.ts +1 -1
- package/dist/helpers/ApiHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.d.ts +1 -1
- package/dist/helpers/ErrorHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.js +2 -1
- package/dist/helpers/ErrorHelper.js.map +1 -1
- package/dist/helpers/EventHelper.d.ts +1 -1
- package/dist/helpers/EventHelper.d.ts.map +1 -1
- package/dist/helpers/PersonHelper.d.ts +1 -1
- package/dist/helpers/PersonHelper.d.ts.map +1 -1
- package/dist/helpers/ReportHelper.d.ts +5 -0
- package/dist/helpers/ReportHelper.d.ts.map +1 -0
- package/dist/helpers/ReportHelper.js +38 -0
- package/dist/helpers/ReportHelper.js.map +1 -0
- package/dist/helpers/SocketHelper.d.ts +1 -1
- package/dist/helpers/SocketHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.d.ts +2 -2
- package/dist/helpers/UserHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pageComponents/LoginPage.d.ts +1 -1
- package/dist/pageComponents/LoginPage.d.ts.map +1 -1
- package/dist/pageComponents/LogoutPage.d.ts +1 -1
- package/dist/pageComponents/LogoutPage.d.ts.map +1 -1
- package/dist/pageComponents/LogoutPage.js.map +1 -1
- package/dist/pageComponents/components/Register.d.ts +1 -1
- package/dist/pageComponents/components/Register.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchModal.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchModal.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchRegister.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchRegister.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchSearch.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchSearch.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectableChurch.d.ts +1 -1
- package/dist/pageComponents/components/SelectableChurch.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/CreatePerson.tsx +1 -1
- package/src/components/FormSubmissionEdit.tsx +1 -1
- package/src/components/PersonAdd.tsx +1 -1
- package/src/components/QuestionEdit.tsx +1 -1
- package/src/components/notes/AddNote.tsx +1 -1
- package/src/components/notes/Conversation.tsx +1 -1
- package/src/components/notes/Conversations.tsx +1 -1
- package/src/components/notes/NewConversation.tsx +1 -1
- package/src/components/notes/Note.tsx +1 -1
- package/src/components/notes/Notes.tsx +1 -1
- package/src/components/reporting/ChartReport.tsx +6 -18
- package/src/components/reporting/ReportFilter.tsx +1 -1
- package/src/components/reporting/ReportFilterField.tsx +1 -1
- package/src/components/reporting/ReportOutput.tsx +1 -1
- package/src/components/reporting/ReportWithFilter.tsx +1 -1
- package/src/components/reporting/TableReport.tsx +5 -20
- package/src/components/reporting/TreeReport.tsx +6 -16
- package/src/components/wrapper/AppList.tsx +1 -1
- package/src/components/wrapper/ChurchList.tsx +1 -1
- package/src/components/wrapper/NewPrivateMessage.tsx +1 -1
- package/src/components/wrapper/NotificationMenu.tsx +1 -1
- package/src/components/wrapper/Notifications.tsx +1 -1
- package/src/components/wrapper/PrivateMessageDetails.tsx +1 -1
- package/src/components/wrapper/PrivateMessages.tsx +1 -1
- package/src/components/wrapper/SiteWrapper.tsx +1 -1
- package/src/components/wrapper/UserMenu.tsx +1 -1
- package/src/donationComponents/DonationPage.tsx +1 -1
- package/src/donationComponents/components/BankForm.tsx +1 -1
- package/src/donationComponents/components/CardForm.tsx +1 -1
- package/src/donationComponents/components/DonationForm.tsx +1 -1
- package/src/donationComponents/components/FundDonation.tsx +1 -1
- package/src/donationComponents/components/FundDonations.tsx +1 -1
- package/src/donationComponents/components/NonAuthDonationInner.tsx +10 -8
- package/src/donationComponents/components/PaymentMethods.tsx +1 -1
- package/src/donationComponents/components/RecurringDonations.tsx +1 -1
- package/src/donationComponents/components/RecurringDonationsEdit.tsx +1 -1
- package/src/donationComponents/modals/DonationPreviewModal.tsx +1 -1
- package/src/helpers/ApiHelper.ts +1 -1
- package/src/helpers/ErrorHelper.ts +4 -2
- package/src/helpers/EventHelper.ts +1 -1
- package/src/helpers/PersonHelper.ts +1 -1
- package/src/helpers/ReportHelper.ts +35 -0
- package/src/helpers/SocketHelper.ts +1 -1
- package/src/helpers/UserHelper.ts +2 -2
- package/src/index.ts +1 -1
- package/src/pageComponents/LoginPage.tsx +1 -1
- package/src/pageComponents/LogoutPage.tsx +1 -2
- package/src/pageComponents/components/Forgot.tsx +1 -1
- package/src/pageComponents/components/LoginSetPassword.tsx +1 -1
- package/src/pageComponents/components/Register.tsx +1 -1
- package/src/pageComponents/components/SelectChurchModal.tsx +1 -1
- package/src/pageComponents/components/SelectChurchRegister.tsx +1 -1
- package/src/pageComponents/components/SelectChurchSearch.tsx +1 -1
- package/src/pageComponents/components/SelectableChurch.tsx +1 -1
- package/dist/interfaces/Access.d.ts +0 -131
- package/dist/interfaces/Access.d.ts.map +0 -1
- package/dist/interfaces/Access.js +0 -3
- package/dist/interfaces/Access.js.map +0 -1
- package/dist/interfaces/Attendance.d.ts +0 -45
- package/dist/interfaces/Attendance.d.ts.map +0 -1
- package/dist/interfaces/Attendance.js +0 -3
- package/dist/interfaces/Attendance.js.map +0 -1
- package/dist/interfaces/Content.d.ts +0 -86
- package/dist/interfaces/Content.d.ts.map +0 -1
- package/dist/interfaces/Content.js +0 -3
- package/dist/interfaces/Content.js.map +0 -1
- package/dist/interfaces/Doing.d.ts +0 -50
- package/dist/interfaces/Doing.d.ts.map +0 -1
- package/dist/interfaces/Doing.js +0 -3
- package/dist/interfaces/Doing.js.map +0 -1
- package/dist/interfaces/Donation.d.ts +0 -138
- package/dist/interfaces/Donation.d.ts.map +0 -1
- package/dist/interfaces/Donation.js +0 -24
- package/dist/interfaces/Donation.js.map +0 -1
- package/dist/interfaces/Error.d.ts +0 -17
- package/dist/interfaces/Error.d.ts.map +0 -1
- package/dist/interfaces/Error.js +0 -4
- package/dist/interfaces/Error.js.map +0 -1
- package/dist/interfaces/Membership.d.ts +0 -172
- package/dist/interfaces/Membership.d.ts.map +0 -1
- package/dist/interfaces/Membership.js +0 -3
- package/dist/interfaces/Membership.js.map +0 -1
- package/dist/interfaces/Messaging.d.ts +0 -77
- package/dist/interfaces/Messaging.d.ts.map +0 -1
- package/dist/interfaces/Messaging.js +0 -3
- package/dist/interfaces/Messaging.js.map +0 -1
- package/dist/interfaces/Permissions.d.ts +0 -159
- package/dist/interfaces/Permissions.d.ts.map +0 -1
- package/dist/interfaces/Permissions.js +0 -67
- package/dist/interfaces/Permissions.js.map +0 -1
- package/dist/interfaces/Reporting.d.ts +0 -45
- package/dist/interfaces/Reporting.d.ts.map +0 -1
- package/dist/interfaces/Reporting.js +0 -3
- package/dist/interfaces/Reporting.js.map +0 -1
- package/dist/interfaces/UserContextInterface.d.ts +0 -13
- package/dist/interfaces/UserContextInterface.d.ts.map +0 -1
- package/dist/interfaces/UserContextInterface.js +0 -3
- package/dist/interfaces/UserContextInterface.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -12
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -29
- package/dist/interfaces/index.js.map +0 -1
- package/src/interfaces/Access.ts +0 -24
- package/src/interfaces/Attendance.ts +0 -8
- package/src/interfaces/Content.ts +0 -10
- package/src/interfaces/Doing.ts +0 -24
- package/src/interfaces/Donation.ts +0 -45
- package/src/interfaces/Error.ts +0 -17
- package/src/interfaces/Membership.ts +0 -51
- package/src/interfaces/Messaging.ts +0 -11
- package/src/interfaces/Permissions.ts +0 -68
- package/src/interfaces/Reporting.ts +0 -7
- package/src/interfaces/UserContextInterface.ts +0 -13
- package/src/interfaces/index.ts +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePerson.d.ts","sourceRoot":"","sources":["../../src/components/CreatePerson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAe,eAAe,EAAsB,MAAM,
|
|
1
|
+
{"version":3,"file":"CreatePerson.d.ts","sourceRoot":"","sources":["../../src/components/CreatePerson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAe,eAAe,EAAsB,MAAM,qBAAqB,CAAC;AAKvF,UAAU,KAAK;IACb,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;CAC9C;AAED,wBAAgB,YAAY,CAAC,EAAE,gBAAuB,EAAE,QAAmB,EAAE,EAAE,KAAK,qBAkEnF"}
|
|
@@ -7,7 +7,7 @@ exports.CreatePerson = void 0;
|
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_router_dom_1 = require("react-router-dom");
|
|
9
9
|
const helpers_1 = require("../helpers");
|
|
10
|
-
const
|
|
10
|
+
const helpers_2 = require("@churchapps/helpers");
|
|
11
11
|
const material_1 = require("@mui/material");
|
|
12
12
|
const ErrorMessages_1 = require("./ErrorMessages");
|
|
13
13
|
const useMountedState_1 = require("../hooks/useMountedState");
|
|
@@ -62,7 +62,7 @@ function CreatePerson({ navigateOnCreate = true, onCreate = () => { } }) {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
if (!helpers_1.UserHelper.checkAccess(
|
|
65
|
+
if (!helpers_1.UserHelper.checkAccess(helpers_2.Permissions.membershipApi.people.edit))
|
|
66
66
|
return null;
|
|
67
67
|
return (react_1.default.createElement("div", null,
|
|
68
68
|
react_1.default.createElement("p", { className: "pl-1 mb-3 text-dark" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreatePerson.js","sourceRoot":"","sources":["../../src/components/CreatePerson.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AACzB,uDAA8C;AAC9C,wCAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"CreatePerson.js","sourceRoot":"","sources":["../../src/components/CreatePerson.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAAyB;AACzB,uDAA8C;AAC9C,wCAAmD;AACnD,iDAAuF;AACvF,4CAAuD;AACvD,mDAA+C;AAC/C,8DAA0D;AAO1D,SAAgB,YAAY,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,QAAQ,GAAG,GAAG,EAAE,GAAE,CAAC,EAAS;IAClF,MAAM,QAAQ,GAAG,IAAA,8BAAW,GAAE,CAAA;IAC9B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAkB,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;IAChH,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,eAAK,CAAC,QAAQ,CAAW,EAAE,CAAC,CAAC;IACzD,MAAM,CAA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3,"file":"PersonAdd.d.ts","sourceRoot":"","sources":["../../src/components/PersonAdd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PersonAdd.d.ts","sourceRoot":"","sources":["../../src/components/PersonAdd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAKrD,UAAU,KAAK;IACb,WAAW,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,WAAW,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,MAAM,CAAC;IACjD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwDrC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QuestionEdit.d.ts","sourceRoot":"","sources":["../../src/components/QuestionEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QuestionEdit.d.ts","sourceRoot":"","sources":["../../src/components/QuestionEdit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGzE,UAAU,KAAK;IACb,MAAM,EAAE,eAAe,CAAA;IACvB,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAC5D;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiDxC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddNote.d.ts","sourceRoot":"","sources":["../../../src/components/notes/AddNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,EAAoB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AddNote.d.ts","sourceRoot":"","sources":["../../../src/components/notes/AddNote.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,EAAoB,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAK5E,KAAK,KAAK,GAAG;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,kBAAkB,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,oBAAoB,CAAA;CAC9B,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBA0EnD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ConversationInterface, UserContextInterface } from "
|
|
2
|
+
import { ConversationInterface, UserContextInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
conversation: ConversationInterface;
|
|
5
5
|
context: UserContextInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Conversation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Conversation.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Conversation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAoB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIpG,UAAU,KAAK;IACb,YAAY,EAAE,qBAAqB,CAAC;IACpC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,KAAK,qBAmExC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conversations.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Conversations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAyB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Conversations.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Conversations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAyB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIlF,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,oBAAoB,CAAC;CAC/B;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,qBA2CzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewConversation.d.ts","sourceRoot":"","sources":["../../../src/components/notes/NewConversation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA2C,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NewConversation.d.ts","sourceRoot":"","sources":["../../../src/components/notes/NewConversation.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA2C,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIpG,UAAU,KAAK;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,QAAQ,GAAG,QAAQ,CAAC;IAChC,OAAO,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,qBA6D3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Note.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Note.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Note.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAEtD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notes.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Notes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAoB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Notes.d.ts","sourceRoot":"","sources":["../../../src/components/notes/Notes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAoB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,UAAU,KAAK;IAEb,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC3C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,qBAmDjC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReportOutputInterface, ReportResultInterface } from "
|
|
2
|
+
import { ReportOutputInterface, ReportResultInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
reportResult: ReportResultInterface;
|
|
5
5
|
output: ReportOutputInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ChartReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"ChartReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ChartReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAGnF,UAAU,KAAK;IAAG,YAAY,EAAE,qBAAqB,CAAC;IAAC,MAAM,EAAE,qBAAqB,CAAA;CAAE;AAEtF,eAAO,MAAM,WAAW,UAAW,KAAK,sBA8EvC,CAAA"}
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.ChartReport = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_google_charts_1 = require("react-google-charts");
|
|
9
|
-
const
|
|
9
|
+
const ReportHelper_1 = require("../../helpers/ReportHelper");
|
|
10
10
|
const ChartReport = (props) => {
|
|
11
11
|
var _a;
|
|
12
12
|
let rows = [];
|
|
@@ -20,7 +20,7 @@ const ChartReport = (props) => {
|
|
|
20
20
|
const result = [];
|
|
21
21
|
const uniqueValues = [];
|
|
22
22
|
props.reportResult.table.forEach(d => {
|
|
23
|
-
const val = getField(props.output.columns[1], d);
|
|
23
|
+
const val = ReportHelper_1.ReportHelper.getField(props.output.columns[1], d);
|
|
24
24
|
if (uniqueValues.indexOf(val) === -1)
|
|
25
25
|
uniqueValues.push(val);
|
|
26
26
|
});
|
|
@@ -41,8 +41,8 @@ const ChartReport = (props) => {
|
|
|
41
41
|
const transformData = (headers) => {
|
|
42
42
|
const result = [];
|
|
43
43
|
props.reportResult.table.forEach(d => {
|
|
44
|
-
const firstVal = getField(props.output.columns[0], d);
|
|
45
|
-
const secondVal = getField(props.output.columns[1], d);
|
|
44
|
+
const firstVal = ReportHelper_1.ReportHelper.getField(props.output.columns[0], d);
|
|
45
|
+
const secondVal = ReportHelper_1.ReportHelper.getField(props.output.columns[1], d);
|
|
46
46
|
const headerIndex = getHeaderIndex(headers, secondVal);
|
|
47
47
|
let row = [];
|
|
48
48
|
if (result.length === 0 || firstVal !== result[result.length - 1][0]) {
|
|
@@ -70,21 +70,10 @@ const ChartReport = (props) => {
|
|
|
70
70
|
rows = [];
|
|
71
71
|
rows.push([props.output.columns[0].header, props.output.columns[1].header]);
|
|
72
72
|
props.reportResult.table.forEach(d => {
|
|
73
|
-
rows.push([getField(props.output.columns[0], d), parseFloat(getField(props.output.columns[1], d))]);
|
|
73
|
+
rows.push([ReportHelper_1.ReportHelper.getField(props.output.columns[0], d), parseFloat(ReportHelper_1.ReportHelper.getField(props.output.columns[1], d))]);
|
|
74
74
|
});
|
|
75
75
|
return rows;
|
|
76
76
|
};
|
|
77
|
-
const getField = (column, dataRow) => {
|
|
78
|
-
var _a;
|
|
79
|
-
let result = ((_a = dataRow[column.value]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
80
|
-
switch (column.formatter) {
|
|
81
|
-
case "date":
|
|
82
|
-
let dt = new Date(result);
|
|
83
|
-
result = helpers_1.DateHelper.prettyDate(dt);
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
return result;
|
|
87
|
-
};
|
|
88
77
|
let result = react_1.default.createElement("p", null, "There is no data to display");
|
|
89
78
|
if (((_a = props.reportResult.table) === null || _a === void 0 ? void 0 : _a.length) > 0)
|
|
90
79
|
result = (react_1.default.createElement(react_google_charts_1.Chart, { chartType: "ColumnChart", data: getChartData(), width: "100%", height: "400px", options: { height: 400, legend: { position: "top", maxLines: 3 }, bar: { groupWidth: "75%" }, isStacked: true } }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartReport.js","sourceRoot":"","sources":["../../../src/components/reporting/ChartReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,6DAA4C;AAE5C,
|
|
1
|
+
{"version":3,"file":"ChartReport.js","sourceRoot":"","sources":["../../../src/components/reporting/ChartReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,6DAA4C;AAE5C,6DAA0D;AAInD,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,EAAE;;IAC1C,IAAI,IAAI,GAAQ,EAAE,CAAC;IAEnB,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,IAAI,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,aAAa,EAAE,CAAC;;YACzD,OAAO,YAAY,EAAE,CAAC;IAC7B,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AAC,CAAA;AA9EY,QAAA,WAAW,eA8EvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportFilter.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAsB,MAAM,
|
|
1
|
+
{"version":3,"file":"ReportFilter.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportFilter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAsB,MAAM,qBAAqB,CAAC;AAK1E,UAAU,KAAK;IAAG,MAAM,EAAE,eAAe,CAAC;IAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAAC,KAAK,EAAE,MAAM,IAAI,CAAA;CAAE;AAE3G,eAAO,MAAM,YAAY,UAAW,KAAK,sBA6CxC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportFilterField.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportFilterField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ReportFilterField.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportFilterField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAK1E,UAAU,KAAK;IACb,SAAS,EAAE,kBAAkB,CAAC;IAC9B,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,EAAE,CAAC,SAAS,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;CAC/E;AAED,eAAO,MAAM,iBAAiB,UAAW,KAAK,sBAmJ7C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReportOutput.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportOutput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAyB,MAAM,
|
|
1
|
+
{"version":3,"file":"ReportOutput.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/ReportOutput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,eAAe,EAAyB,MAAM,qBAAqB,CAAC;AAU7E,UAAU,KAAK;IAAG,MAAM,EAAE,eAAe,CAAA;CAAE;AAE3C,eAAO,MAAM,YAAY,UAAW,KAAK,sBAiExC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReportOutputInterface, ReportResultInterface } from "
|
|
2
|
+
import { ReportOutputInterface, ReportResultInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
reportResult: ReportResultInterface;
|
|
5
5
|
output: ReportOutputInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/TableReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"TableReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/TableReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAInF,UAAU,KAAK;IAAG,YAAY,EAAE,qBAAqB,CAAC;IAAC,MAAM,EAAE,qBAAqB,CAAA;CAAE;AAEtF,eAAO,MAAM,WAAW,UAAW,KAAK,sBAkCvC,CAAA"}
|
|
@@ -5,13 +5,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TableReport = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const helpers_1 = require("../../helpers");
|
|
9
8
|
const material_1 = require("@mui/material");
|
|
9
|
+
const ReportHelper_1 = require("../../helpers/ReportHelper");
|
|
10
10
|
const TableReport = (props) => {
|
|
11
11
|
const getHeaders = () => {
|
|
12
12
|
const result = [];
|
|
13
13
|
props.output.columns.forEach((c, i) => {
|
|
14
|
-
result.push(react_1.default.createElement(
|
|
14
|
+
result.push(react_1.default.createElement(material_1.TableCell, { key: i, style: { fontWeight: "bold" } }, c.header));
|
|
15
15
|
});
|
|
16
16
|
return result;
|
|
17
17
|
};
|
|
@@ -20,28 +20,13 @@ const TableReport = (props) => {
|
|
|
20
20
|
props.reportResult.table.forEach(d => {
|
|
21
21
|
const row = [];
|
|
22
22
|
props.output.columns.forEach(c => {
|
|
23
|
-
row.push(react_1.default.createElement(material_1.TableCell, null, getField(c, d)));
|
|
23
|
+
row.push(react_1.default.createElement(material_1.TableCell, null, ReportHelper_1.ReportHelper.getField(c, d)));
|
|
24
24
|
});
|
|
25
25
|
result.push(react_1.default.createElement(material_1.TableRow, null, row));
|
|
26
26
|
});
|
|
27
27
|
return result;
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
var _a;
|
|
31
|
-
let result = "";
|
|
32
|
-
try {
|
|
33
|
-
result = ((_a = dataRow[column.value]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
34
|
-
}
|
|
35
|
-
catch (_b) { }
|
|
36
|
-
switch (column.formatter) {
|
|
37
|
-
case "date":
|
|
38
|
-
let dt = new Date(result);
|
|
39
|
-
result = helpers_1.DateHelper.prettyDate(dt);
|
|
40
|
-
break;
|
|
41
|
-
}
|
|
42
|
-
return result;
|
|
43
|
-
};
|
|
44
|
-
return (react_1.default.createElement(material_1.Table, { className: "table" },
|
|
29
|
+
return (react_1.default.createElement(material_1.Table, null,
|
|
45
30
|
react_1.default.createElement(material_1.TableHead, null,
|
|
46
31
|
react_1.default.createElement(material_1.TableRow, null, getHeaders())),
|
|
47
32
|
react_1.default.createElement(material_1.TableBody, null, getRows())));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableReport.js","sourceRoot":"","sources":["../../../src/components/reporting/TableReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,
|
|
1
|
+
{"version":3,"file":"TableReport.js","sourceRoot":"","sources":["../../../src/components/reporting/TableReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,4CAAiF;AACjF,6DAA0D;AAInD,MAAM,WAAW,GAAG,CAAC,KAAY,EAAE,EAAE;IAE1C,MAAM,UAAU,GAAG,GAAG,EAAE;QACtB,MAAM,MAAM,GAAkB,EAAE,CAAA;QAChC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YACpC,MAAM,CAAC,IAAI,CAAC,8BAAC,oBAAS,IAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,EAAC,UAAU,EAAC,MAAM,EAAC,IAAG,CAAC,CAAC,MAAM,CAAa,CAAC,CAAC;QACrF,CAAC,CAAC,CAAA;QACF,OAAO,MAAM,CAAC;IAChB,CAAC,CAAA;IAED,MAAM,OAAO,GAAG,GAAG,EAAE;QACnB,MAAM,MAAM,GAAkB,EAAE,CAAA;QAChC,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACnC,MAAM,GAAG,GAAkB,EAAE,CAAC;YAC9B,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;gBAC/B,GAAG,CAAC,IAAI,CAAC,8BAAC,oBAAS,QAAE,2BAAY,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAa,CAAC,CAAC;YACjE,CAAC,CAAC,CAAA;YACF,MAAM,CAAC,IAAI,CAAC,8BAAC,mBAAQ,QAAE,GAAG,CAAY,CAAC,CAAC;QAC1C,CAAC,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC,CAAA;IAED,OAAO,CACL,8BAAC,gBAAK;QACJ,8BAAC,oBAAS;YACR,8BAAC,mBAAQ,QACN,UAAU,EAAE,CACJ,CACD;QACZ,8BAAC,oBAAS,QACP,OAAO,EAAE,CACA,CACN,CACT,CAAC;AACJ,CAAC,CAAA;AAlCY,QAAA,WAAW,eAkCvB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReportOutputInterface, ReportResultInterface } from "
|
|
2
|
+
import { ReportOutputInterface, ReportResultInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
reportResult: ReportResultInterface;
|
|
5
5
|
output: ReportOutputInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/TreeReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"TreeReport.d.ts","sourceRoot":"","sources":["../../../src/components/reporting/TreeReport.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAA;AAIlF,UAAU,KAAK;IAAG,YAAY,EAAE,qBAAqB,CAAC;IAAC,MAAM,EAAE,qBAAqB,CAAA;CAAE;AAEtF,eAAO,MAAM,UAAU,UAAW,KAAK,sBA6FtC,CAAA"}
|
|
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.TreeReport = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
|
-
const helpers_1 = require("../../helpers");
|
|
9
8
|
const material_1 = require("@mui/material");
|
|
9
|
+
const ReportHelper_1 = require("../../helpers/ReportHelper");
|
|
10
10
|
const TreeReport = (props) => {
|
|
11
11
|
const getPreviousGroupingCount = (depth) => {
|
|
12
12
|
let result = 0;
|
|
@@ -38,9 +38,9 @@ const TreeReport = (props) => {
|
|
|
38
38
|
for (let i = totalGroupings; i < columns.length; i++) {
|
|
39
39
|
const c = columns[i];
|
|
40
40
|
if (i === totalGroupings)
|
|
41
|
-
row.push(react_1.default.createElement(material_1.TableCell, { style: { paddingLeft: 30 * totalGroupings } }, getField(c, d)));
|
|
41
|
+
row.push(react_1.default.createElement(material_1.TableCell, { style: { paddingLeft: 30 * totalGroupings } }, ReportHelper_1.ReportHelper.getField(c, d)));
|
|
42
42
|
else
|
|
43
|
-
row.push(react_1.default.createElement(material_1.TableCell, null, getField(c, d)));
|
|
43
|
+
row.push(react_1.default.createElement(material_1.TableCell, null, ReportHelper_1.ReportHelper.getField(c, d)));
|
|
44
44
|
}
|
|
45
45
|
result.push(react_1.default.createElement(material_1.TableRow, null, row));
|
|
46
46
|
previousData = d;
|
|
@@ -63,9 +63,9 @@ const TreeReport = (props) => {
|
|
|
63
63
|
const c = props.output.columns[i];
|
|
64
64
|
const className = "heading" + (groupNumber + 1);
|
|
65
65
|
if (i === prevCols && i > 0)
|
|
66
|
-
outputRow.push(react_1.default.createElement(material_1.TableCell, { className: className, style: { paddingLeft: 30 * groupNumber } }, getField(c, row)));
|
|
66
|
+
outputRow.push(react_1.default.createElement(material_1.TableCell, { className: className, style: { paddingLeft: 30 * groupNumber } }, ReportHelper_1.ReportHelper.getField(c, row)));
|
|
67
67
|
else
|
|
68
|
-
outputRow.push(react_1.default.createElement(material_1.TableCell, { className: className }, getField(c, row)));
|
|
68
|
+
outputRow.push(react_1.default.createElement(material_1.TableCell, { className: className }, ReportHelper_1.ReportHelper.getField(c, row)));
|
|
69
69
|
}
|
|
70
70
|
return (react_1.default.createElement(material_1.TableRow, null, outputRow));
|
|
71
71
|
};
|
|
@@ -85,17 +85,6 @@ const TreeReport = (props) => {
|
|
|
85
85
|
}
|
|
86
86
|
return firstGroupModified;
|
|
87
87
|
};
|
|
88
|
-
const getField = (column, dataRow) => {
|
|
89
|
-
var _a;
|
|
90
|
-
let result = ((_a = dataRow[column.value]) === null || _a === void 0 ? void 0 : _a.toString()) || "";
|
|
91
|
-
switch (column.formatter) {
|
|
92
|
-
case "date":
|
|
93
|
-
let dt = new Date(result);
|
|
94
|
-
result = helpers_1.DateHelper.prettyDate(dt);
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
return result;
|
|
98
|
-
};
|
|
99
88
|
return (react_1.default.createElement(material_1.Table, { className: "table table-sm report" },
|
|
100
89
|
react_1.default.createElement(material_1.TableHead, { className: "thead-dark" },
|
|
101
90
|
react_1.default.createElement(material_1.TableRow, null, getHeaders())),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeReport.js","sourceRoot":"","sources":["../../../src/components/reporting/TreeReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,
|
|
1
|
+
{"version":3,"file":"TreeReport.js","sourceRoot":"","sources":["../../../src/components/reporting/TreeReport.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAE1B,4CAAgF;AAChF,6DAA0D;AAInD,MAAM,UAAU,GAAG,CAAC,KAAY,EAAE,EAAE;IAEzC,MAAM,wBAAwB,GAAG,CAAC,KAAa,EAAE,EAAE;QACjD,IAAI,MAAM,GAAG,CAAC,CAAC;QACf,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE;YAAE,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;Q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QAED,IAAI,kBAAkB,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC;QACvD,KAAK,IAAI,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;YAC3D,IAAI,YAAY,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC;YAC/C,IAAI,YAAY,IAAI,mBAAmB;gBAAE,kBAAkB,GAAG,CAAC,CAAC;SACjE;QAED,OAAO,kBAAkB,CAAC;IAC5B,CAAC,CAAA;IAGD,OAAO,CACL,8BAAC,gBAAK,IAAC,SAAS,EAAC,uBAAuB;QACtC,8BAAC,oBAAS,IAAC,SAAS,EAAC,YAAY;YAC/B,8BAAC,mBAAQ,QACN,UAAU,EAAE,CACJ,CACD;QACZ,8BAAC,oBAAS,QACP,OAAO,EAAE,CACA,CACN,CACT,CAAC;AACJ,CAAC,CAAA;AA7FY,QAAA,UAAU,cA6FtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppList.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/AppList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"AppList.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/AppList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,WAAW,KAAK;IAAG,OAAO,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,wBAAwB,CAAC;IAAC,MAAM,CAAC,EAAE,GAAG,CAAC;CAAE;AAEtG,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAUnC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { LoginUserChurchInterface, UserContextInterface } from "
|
|
2
|
+
import { LoginUserChurchInterface, UserContextInterface } from "@churchapps/helpers";
|
|
3
3
|
export interface Props {
|
|
4
4
|
userChurches: LoginUserChurchInterface[];
|
|
5
5
|
currentUserChurch: LoginUserChurchInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChurchList.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/ChurchList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChurchList.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/ChurchList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAIrF,MAAM,WAAW,KAAK;IAAG,YAAY,EAAE,wBAAwB,EAAE,CAAC;IAAC,iBAAiB,EAAE,wBAAwB,CAAC;IAAC,OAAO,EAAE,oBAAoB,CAAA;CAAE;AAE/I,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CActC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { PrivateMessageInterface, UserContextInterface } from "
|
|
2
|
+
import { PrivateMessageInterface, UserContextInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
context: UserContextInterface;
|
|
5
5
|
onSelectMessage: (pm: PrivateMessageInterface) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewPrivateMessage.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/NewPrivateMessage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA0C,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NewPrivateMessage.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/NewPrivateMessage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA0C,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAI5H,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,eAAe,EAAE,CAAC,EAAE,EAAE,uBAAuB,KAAK,IAAI,CAAA;IACtD,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA0F7C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/NotificationMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"NotificationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/NotificationMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAM3D,UAAU,KAAK;IACb,MAAM,EAAE;QAAE,iBAAiB,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACvD,OAAO,EAAE,oBAAoB,CAAC;IAC9B,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA6E5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notifications.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/Notifications.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAyB,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Notifications.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/Notifications.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAyB,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGlF,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAyCzC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { PrivateMessageInterface, UserContextInterface } from "
|
|
2
|
+
import { PrivateMessageInterface, UserContextInterface } from "@churchapps/helpers";
|
|
3
3
|
interface Props {
|
|
4
4
|
context: UserContextInterface;
|
|
5
5
|
privateMessage: PrivateMessageInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessageDetails.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/PrivateMessageDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PrivateMessageDetails.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/PrivateMessageDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAGpF,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,cAAc,EAAE,uBAAuB,CAAC;IACxC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAUjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrivateMessages.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/PrivateMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAA2B,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PrivateMessages.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/PrivateMessages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAA2B,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAKpF,UAAU,KAAK;IACb,OAAO,EAAE,oBAAoB,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA4E3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AppearanceInterface } from "../../helpers";
|
|
3
|
-
import { UserContextInterface } from "
|
|
3
|
+
import { UserContextInterface } from "@churchapps/helpers";
|
|
4
4
|
interface Props {
|
|
5
5
|
navContent: JSX.Element;
|
|
6
6
|
context: UserContextInterface;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SiteWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/SiteWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAA8C,mBAAmB,EAAa,MAAM,eAAe,CAAC;AAE3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SiteWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/SiteWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C,OAAO,EAA8C,mBAAmB,EAAa,MAAM,eAAe,CAAC;AAE3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAM3D,UAAU,KAAK;IACb,UAAU,EAAE,GAAG,CAAC,OAAO,CAAC;IACxB,OAAO,EAAE,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiFvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserMenu.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/UserMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"UserMenu.d.ts","sourceRoot":"","sources":["../../../src/components/wrapper/UserMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAQrF,UAAU,KAAK;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,wBAAwB,EAAE,CAAC;IACzC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,OAAO,EAAE,oBAAoB,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,GAAG,CAAC;CACd;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAkFpC,CAAC"}
|