Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonypetersen committed Jul 23, 2024
1 parent f9eb81d commit f6ef87c
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
44 changes: 22 additions & 22 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import { renderParticipantLookup } from './participantLookup.js';
import { renderNavBarLinks, dashboardNavBarLinks, renderLogin, removeActiveClass } from './navigationBar.js';
import { renderTable, filterdata, renderData, addEventFilterData, activeColumns, dropdownTriggerAllParticipants, renderLookupSiteDropdown, reMapFilters } from './participantCommons.js';
import { renderParticipantDetails } from './participantDetails.js';
import { renderParticipantSummary } from './participantSummary.js';
import { renderParticipantMessages } from './participantMessages.js';
import { renderDataCorrectionsToolPage } from './dataCorrectionsTool.js';
import { renderSiteMessages } from './siteMessages.js';
import { renderParticipantWithdrawal } from './participantWithdrawal.js';
import { createNotificationSchema, editNotificationSchema } from './notifications/storeNotifications.js';
import { renderRetrieveNotificationSchema, showDraftSchemas } from './notifications/retrieveNotifications.js';
import { internalNavigatorHandler, getIdToken, userLoggedIn, baseAPI, urls } from './utils.js';
import fieldMapping from './fieldToConceptIdMapping.js';
import { nameToKeyObj } from './idsToName.js';
import { renderAllCharts } from './participantChartsRender.js';
import { firebaseConfig as devFirebaseConfig } from "./dev/config.js";
import { firebaseConfig as stageFirebaseConfig } from "./stage/config.js";
import { firebaseConfig as prodFirebaseConfig } from "./prod/config.js";
import { SSOConfig as devSSOConfig} from './dev/identityProvider.js';
import { SSOConfig as stageSSOConfig} from './stage/identityProvider.js';
import { SSOConfig as prodSSOConfig} from './prod/identityProvider.js';
import { appState } from './stateManager.js';
import { renderParticipantLookup } from './src/participantLookup.js';
import { renderNavBarLinks, dashboardNavBarLinks, renderLogin, removeActiveClass } from './src/navigationBar.js';
import { renderTable, filterdata, renderData, addEventFilterData, activeColumns, dropdownTriggerAllParticipants, renderLookupSiteDropdown, reMapFilters } from './src/participantCommons.js';
import { renderParticipantDetails } from './src/participantDetails.js';
import { renderParticipantSummary } from './src/participantSummary.js';
import { renderParticipantMessages } from './src/participantMessages.js';
import { renderDataCorrectionsToolPage } from './src/dataCorrectionsTool.js';
import { renderSiteMessages } from './src/siteMessages.js';
import { renderParticipantWithdrawal } from './src/participantWithdrawal.js';
import { createNotificationSchema, editNotificationSchema } from './src/storeNotifications.js';
import { renderRetrieveNotificationSchema, showDraftSchemas } from './src/retrieveNotifications.js';
import { internalNavigatorHandler, getIdToken, userLoggedIn, baseAPI, urls } from './src/utils.js';
import fieldMapping from './src/fieldToConceptIdMapping.js';
import { nameToKeyObj } from './src/idsToName.js';
import { renderAllCharts } from './src/participantChartsRender.js';
import { firebaseConfig as devFirebaseConfig } from "./config/dev/config.js";
import { firebaseConfig as stageFirebaseConfig } from "./config/stage/config.js";
import { firebaseConfig as prodFirebaseConfig } from "./config/prod/config.js";
import { SSOConfig as devSSOConfig} from './config/dev/identityProvider.js';
import { SSOConfig as stageSSOConfig} from './config/stage/identityProvider.js';
import { SSOConfig as prodSSOConfig} from './config/prod/identityProvider.js';
import { appState } from './src/stateManager.js';

let saveFlag = false;
let counter = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/participantCommons.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { renderParticipantDetails } from './participantDetails.js';
import { animation, clearLocalStorage } from './index.js';
import { animation, clearLocalStorage } from '../index.js';
import fieldMapping from './fieldToConceptIdMapping.js';
import { getIdToken, getDataAttributes, showAnimation, hideAnimation, baseAPI, urls } from './utils.js';
import { appState } from './stateManager.js';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { dashboardNavBarLinks, removeActiveClass } from '../navigationBar.js';
import { getIdToken, showAnimation, hideAnimation, baseAPI } from '../utils.js';
import { dashboardNavBarLinks, removeActiveClass } from './navigationBar.js';
import { getIdToken, showAnimation, hideAnimation, baseAPI } from './utils.js';
import { getSchemaHtmlStr, handleEmailPreview } from './storeNotifications.js';
import { appState } from '../stateManager.js';
import { appState } from './stateManager.js';

export const renderRetrieveNotificationSchema = async (showDrafts = false) => {
const isParent = localStorage.getItem("isParent");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { dashboardNavBarLinks, removeActiveClass } from '../navigationBar.js';
import { showAnimation, hideAnimation, baseAPI, getIdToken, triggerNotificationBanner } from '../utils.js';
import { appState } from '../stateManager.js';
import { dashboardNavBarLinks, removeActiveClass } from './navigationBar.js';
import { showAnimation, hideAnimation, baseAPI, getIdToken, triggerNotificationBanner } from './utils.js';
import { appState } from './stateManager.js';

const converter = new showdown.Converter();
const newsletterCategories = ["newsletter", "eNewsletter", "anniversaryNewsletter"];
Expand Down

0 comments on commit f6ef87c

Please sign in to comment.