{"version":3,"sources":["Context/RouteStore.ts","Features/Utilities/CommonHooks.tsx","Navigation/SubRoutes/CommitteesSubRoutes.tsx","Navigation/SubRoutes/DetailedSearchSubRoutes.tsx","Features/Shared/BulkSignModal.tsx","Features/PendingSignatures/ActionItemSignatures.tsx","Features/PendingSignatures/MeetingSignatures.tsx","Navigation/SubRoutes/PendingSignaturesSubRoutes.tsx","Navigation/SubRoutesMap.tsx","Navigation/SubRoutes/CommitteeWithApplicationSubRoutes.tsx","Features/Elmah/ElmahErrors.tsx","Features/AttachmentTypes/AttachmentTypes.tsx","Features/Departments/Departments.tsx","Features/Departments/AddEditDepartment.tsx","Features/DocumentTemplates/DocumentTemplates.tsx","Features/DocumentTemplates/AddEditDocumentTemplate.tsx","Features/DocumentTemplates/DocumentTemplateTokens.tsx","Features/DocumentTemplates/DocumentTemplateModels.ts","Features/MeetingTypes/MeetingTypes.tsx","Features/MeetingTypes/AddEditMeetingTypeSection.tsx","Features/MeetingTypes/AddMeetingTypeSectionChild.tsx","Features/MeetingTypes/MeetingTypeSections.tsx","Features/MeetingTypes/AddEditMeetingType.tsx","Features/Roles/Roles.tsx","Features/Roles/AddEditRole.tsx","Features/Users/UserSignature.tsx","Features/Users/AddEditUser.tsx","Features/Users/Users.tsx","Components/Display/SmartDisplayBlock.tsx","Features/Users/EditProfile.tsx","Features/WorkflowTransitions/WorkflowTransitions.tsx","Features/WorkflowTransitions/AddEditWorkflowTransition.tsx","Features/ActionItemConfigurations/ActionItemConfigurations.tsx","Features/ActionItemConfigurations/AddEditActionItemConfiguration.tsx","Features/Organizations/EditOrganizationConfiguration.tsx","Features/PublicNotices/PublicNotices.tsx","Features/PublicNotices/PublicNoticeAttachmentDrawerForm.tsx","Features/PublicNotices/PublicNoticeAttachmentActionCell.tsx","Features/PublicNotices/PublicNoticeAttachmentList.tsx","Features/PublicNotices/AddEditPublicNotice.tsx","Features/NumberGeneratorSettings/NumberGeneratorSettings.tsx","Features/HeloTest/HeloTest.tsx","Features/StaffRecommendations/StaffRecommendations.tsx","Features/StaffRecommendations/AddEditStaffRecommendation.tsx","Features/NotificationTemplates/NotificationTemplates.tsx","Features/NotificationTemplates/NotificationModels.tsx","Features/NotificationTemplates/AddEditNotificationTemplate.tsx","Features/CommitteeApplicationConfigurations/CommitteeApplicationConfigurations.tsx","Features/CommitteeApplicationConfigurations/AddEditCommitteeApplicationConfiguration.tsx","Features/Reports/VacantCommitteePositions.tsx","Features/Reports/ExpiringCommitteeMembers.tsx","Features/Reports/AttendanceDetailsModal.tsx","Features/Reports/Attendance.tsx","Features/FileStamps/FileStamps.tsx","Features/FileStamps/FileStampModels.tsx","Components/Display/BulletedList.tsx","Features/FileStamps/AddEditFileStamp.tsx","Navigation/RouteMaps.tsx","Features/Dashboard/Dashboard.tsx","Features/DocumentEditor/DocumentEditor.tsx","Features/FinalizeMeeting/UpdateVoteResults.tsx","Features/Meetings/GenerateMeetingMinutesDocumentModal.tsx","Features/FinalizeMeeting/FinalizeMeetingAttachmentList.tsx","Features/FinalizeMeeting/FinalizeMeetingBanners.tsx","Features/FinalizeMeeting/FinalizeMeeting.tsx","Features/LiveMeeting/RecordVoteResults.tsx","Features/LiveMeeting/StartMeeting.tsx","Features/LiveMeeting/UpdateRollCall.tsx","Features/LiveMeeting/LiveMeeting.tsx","Features/LiveMeeting/StreamTest.tsx","Components/Navigation/NavigationPill.tsx","Components/Navigation/NavActionsDropdown.tsx","Features/Committees/CommitteeApplications/CommitteeApplications.tsx","Features/Committees/CommitteeApplications/CommitteeApplicationViewCustomButtons.tsx","Features/Committees/CommitteeApplications/CommitteeApplicationModels.tsx","Features/Committees/CommitteeApplications/CommitteeApplicationAttachmentActionCell.tsx","Features/Committees/CommitteeApplications/CommitteeApplicationAttachmentsGrid.tsx","Features/Committees/CommitteeApplications/ViewCommitteeApplication.tsx","Components/DWT/DwtScanner.tsx","Components/DWT/DwtHooks.tsx","Components/DWT/DwtModels.ts","Components/DWT/DwtScannerProvider.tsx","Models/SharedModels.ts","Components/Navigation/NavigationPillBar.tsx","Context/ScrollBookmarkProvider.tsx","Features/Utilities/Constants.tsx","Features/Shared/GenerateDocumentsModal.tsx","Features/Meetings/MeetingAttachmentDrawerFormContent.tsx","Features/PendingSignatures/PendingSignatures.tsx","Components/Display/PageHeaders.tsx","Components/Display/GridActionsDropdown.tsx","Components/Display/ModalDrawer.tsx","Components/Display/SmartMultiSectionList.tsx","Components/Display/LayoutComponents.tsx","Components/Display/MultiModalFormDialogContent.tsx","Components/Display/AttachmentEmbed.tsx","Components/Navigation/DocumentTitle.tsx","Navigation/NavigationHelpers.tsx","Navigation/RouteNames.ts","authConfig.ts","Components/Display/AuditLog.tsx","Features/Meetings/MeetingAttachmentRemoveStampModalForms.tsx","Features/Committees/CommitteeMembers/CommitteeMemberAttachmentDrawerFormContent.tsx","Features/Committees/CommitteeMembers/CommitteeMemberAttachmentActionCell.tsx","Features/Committees/CommitteeMembers/CommitteeMemberAttachmentsGrid.tsx","Features/Committees/CommitteeMembers/AddEditCommitteeMemberModal.tsx","Features/Committees/CommitteeMembers/CompleteTermCommitteeMemberModal.tsx","Features/Committees/CommitteeMembers/VacateCommitteeMemberModal.tsx","Features/Committees/CommitteeMembers/RemoveCommitteeMemberModal.tsx","Features/Committees/CommitteeMembers/RenewCommitteeMemberModal.tsx","Features/Committees/CommitteeMembers/CommitteeMembers.tsx","Layout/Footer.tsx","Layout/ShortcutsModal.tsx","Layout/Header.tsx","Layout/Layout.tsx","Layout/SubLayout/HeaderLayout.tsx","Features/Committees/CommitteeAttachments/CommitteeAttachmentActionCell.tsx","Features/Committees/CommitteeAttachments/CommitteeDocuments.tsx","Features/Committees/CommitteeAttachments/AddEditCommitteeAttachmentModal.tsx","Features/Committees/CommitteePositions/AddEditCommitteePositionModal.tsx","Features/Committees/CommitteePositions/OpenCommitteePositionModal.tsx","Features/Committees/CommitteePositions/CommitteePositions.tsx","Navigation/RouteConfig.tsx","Navigation/RouteTypes.ts","Models/Templates/Permission/Permission.ts","Models/ConfigurationModels.ts","Models/SignatureModels.ts","Components/Display/CollapsibleAuditLog.tsx","Features/Committees/CommitteeProvider.tsx","App.tsx","index.tsx","Features/Utilities/ActionItemHooks.tsx","Models/Templates/Routes/Routes.ts","Context/AuthProvider.tsx","Context/ModalFormProvider.tsx","Features/Committees/CommitteeIdsAndFlagsProvider.tsx","Components/Navigation/NavigationTypes.tsx","Components/Grid/EditDeleteCell.tsx","Components/Grid/ActionsEllipsisCell.tsx","Components/Grid/CustomCell.tsx","Components/Grid/DragCell.tsx","Components/Grid/ConditionalDetailColumnCell.tsx","Components/Grid/CommaSeparatedCell.tsx","Components/Grid/FileNameDownloadCell.tsx","Features/ActionItems/ChangeStatusModal.tsx","Features/ActionItems/GenerateActionItemDocumentsModal.tsx","Features/ActionItems/ActionItems.tsx","Features/ActionItems/ActionItemAttachmentDrawerForm.tsx","Features/ActionItems/ActionItemAttachmentActionCell.tsx","Features/ActionItems/ActionItemAttachmentList.tsx","Features/ActionItems/ActionItemCommentDrawerForm.tsx","Features/ActionItems/ActionItemCommentActionCell.tsx","Features/ActionItems/ActionItemCommentList.tsx","Features/ActionItems/ActionItemHistoricalAttachmentsGrid.tsx","Features/ActionItems/AddEditActionItemContent.tsx","Features/ActionItems/ActionItemCustomButtons.tsx","Features/ActionItems/AddEditActionItem.tsx","Features/ActionItems/ActionItemViewCustomButtons.tsx","Features/ActionItems/ViewActionItem.tsx","Features/ActionItems/AddActionItemComment.tsx","Features/ActionItems/CopyActionItem.tsx","Features/Meetings/Meetings.tsx","Features/Meetings/AddEditMeeting.tsx","Features/Meetings/MeetingCalendarPopup.tsx","Features/Meetings/MeetingsCalendar.tsx","Features/Meetings/UnlockAgenda.tsx","Features/Meetings/MeetingAttachmentList.tsx","LibraryUtilities/TopazSignaturePad.js","LibraryUtilities/HelperFunctions.tsx","Features/Shared/AddAttachmentsSection.tsx","Features/Shared/SearchBar.tsx","Features/DetailedSearch/ActionItemSearch.tsx","Features/DetailedSearch/CommitteeApplicationSearch.tsx","Features/DetailedSearch/DetailedSearch.tsx","Features/Meetings/MeetingIdsAndFlagsProvider.tsx","Features/Shared/SignDocumentModal.tsx","Features/Committees/Committees.tsx","Features/Committees/CommitteePositionListSection.tsx","Features/Committees/AddEditCommittee.tsx","Features/Committees/CommitteeBanners.tsx","Features/Committees/ViewCommittee.tsx","Features/Committees/CommitteeOverview.tsx","Features/Committees/CommitteePreferences.tsx","Features/Committees/CommitteeAuditLog.tsx","Features/Error/Unauthorized.tsx","Components/Form/SmartFileUploader.tsx","Components/Form/SmartCheckboxListStore.ts","Components/Form/SmartCheckboxList.tsx","Components/Form/SmartCheckboxListHooks.ts","Components/Form/SmartFileUploadDrawerInput.tsx","Components/Form/Signature/SzimekSignature.tsx","Components/Form/Signature/TopazSignature.tsx","Components/Form/Signature/SignatureCapture.tsx","Features/Meetings/MeetingAttachmentMoveStampModal.tsx","Features/Meetings/MeetingAttachmentActionCell.tsx","Features/AgendaCoordinator/CoordinatorMeetingBanners.tsx","Features/AgendaCoordinator/AgendaCoordinatorView.tsx","Features/AgendaCoordinator/PreMeetingAgendaView.tsx","Features/AgendaCoordinator/ViewHistoricalAgenda.tsx"],"names":["useRouteStore","create","set","routeLabels","addRoute","route","state","concat","_toConsumableArray","clearRoutes","removeRoute","filter","r","useFileDownloader","API","useApiWorker","_useDownloadingToast","useDownloadingToast","_useDownloadingToast2","_slicedToArray","showLoadingToast","hideLoadingToast","downloadFile","_ref","_asyncToGenerator","_regeneratorRuntime","mark","_callee3","endpoint","objectName","onSuccess","onError","entityName","wrap","_context3","prev","next","get","responseType","then","_ref2","_callee","response","mimeType","fileURL","pdfWindow","_context","headers","URL","createObjectURL","data","window","open","location","href","download","stop","_x6","apply","arguments","catch","_ref3","_callee2","error","_context2","console","log","_x7","_x","_x2","_x3","_x4","_x5","usePostFileDownloader","_useDownloadingToast3","_useDownloadingToast4","toastrErrors","useBlobToastrErrors","_ref4","_callee6","postModel","onFinally","_context6","post","validateStatus","s","_ref5","_callee4","_context4","status","_x15","_ref6","_callee5","_context5","_x16","finally","_x8","_x9","_x10","_x11","_x12","_x13","_x14","useBlobFetcher","url","condition","length","undefined","_useState","useState","AsyncStatus","Idle","_useState2","fetchStatus","setFetchStatus","_useState3","_useState4","setData","safeStateUpdate","useSafeStateUpdate","getData","useCallback","_ref7","_callee7","cancelTokenSource","_yield$API$get","blobData","_context7","Pending","cancelToken","token","sent","Success","abrupt","Error","t0","axios","isCancel","Cancelled","_x17","useEffect","CancelToken","source","cancel","useDocumentTitle","subTitle","nestRoutes","clearOnDismount","fullTitle","useMemo","title","join","DEFAULT_TITLE","v","isNullEmptyOrUndefined","useFormSubmitHotkeys","formValues","alternateEndpoint","alternateHandleSuccess","alternateHandleError","_useFormState","useFormState","formStatus","submitData","FormStatus","Submitting","useHotkeys","HOTKEYS","ENTER","e","target","classList","contains","enableOnFormTags","useGoogleApiWorker","dispatch","useAuthDispatch","toast","useToasts","axiosConfig","baseURL","GOOGLE_API_URL","Accept","apiWorker","authorize","useGoogleLogin","include_granted_scopes","flow","scope","_onSuccess","_callee8","tokenResponse","resp","_context8","AgendaEndpoints","organizations","controllerActionString","code","type","AuthActionTypes","SetOrganization","payload","success","setTimeout","reload","_x18","_ref8","_callee9","_context9","Authorization","_x19","_x20","_ref9","_callee10","_context10","_x21","useToastrErrors","toastr","_ref10","_callee11","_response$data","_context11","errors","Object","keys","map","key","_x22","CommitteeSubRoute","CommitteeSubRoutes","_CommitteeSubRoutes","_defineProperty","Overview","AdminSubRouteConfig","CommitteeOverview","Permission","ViewCommittee","AddCommittee","EditCommittee","Positions","CommitteePositions","Members","CommitteeMembers","ViewCommitteeMembers","Documents","CommitteeDocuments","Preferences","CommitteePreferences","EditCommitteePreferences","AuditLog","CommitteeAuditLog","ViewAuditLogs","DetailedSearchSubRoute","DetailedSearchSubRoutes","_DetailedSearchSubRou","ActionItems","ActionItemSearch","ViewDetailedActionItemSearch","CommiteeApplications","CommitteeApplicationSearch","ViewDetailedCommitteeApplicationSearch","BulkSignModal","idFieldName","children","_useModalHelpers","useModalHelpers","SignaturesModal","BulkSign","isOpen","simpleSuccessHandler","toggle","refreshGrid","useGridState","toastErrors","selections","useGridSelectionsState","clearSelections","useGridSelectionHelpers","_jsx","ModalDialog","width","largeTitle","FormProvider","formModel","buildEndpoint","METHODS","handleSuccess","handleError","MultiModalFormDialogContent","modalId","submitButtonText","className","BulkSignModalFormContent","selectedDataItems","selectedId","setSelectedId","_jsxs","Row","FlexWrapper","style","Render","EMPTY_GUID","AttachmentEmbed","Stream","PageCardRow","PageCardSection","BulkSignaturesPreviewList","SelectionPreviewGrid","Column","cell","props","dataItem","clickHandle","onClick","RadioButton","checked","onChange","PendingSignaturesSearch","_createClass","userId","userName","_classCallCheck","subject","assignedTo","currentUser","DropdownItemModel","id","name","this","ActionItemAttachmentPendingSignaturesGrid","Fragment","FilteredSelectableGrid","_objectSpread","readEndpoint","actionitemattachments","base","PendingSignatures","sortable","defaultGridProps","field","headerCell","EmptyHeaderCell","FileDownloadButtonCell","DateDisplayCell","CommaSeparatedListCell","wrapText","ActionsCell","viewActionItemDocuments","useViewActionItemDocuments","actionsConfig","items","Routes","ViewActionItem","actionItemId","permissions","_onClick","ViewActionItemAttachment","SignActionItemAttachment","modalConfig","Sign","entityId","modalItem","SignDocumentModalItem","modalComponent","SignDocumentModal","canSign","ActionsEllipsisCell","description","MeetingAttachmentPendingSignaturesGrid","meetingattachments","SignMeetingAttachment","PendingSignaturesSubRoute","PendingSignaturesSubRoutes","_PendingSignaturesSub","ActionItemSignatures","useAuthState","filters","FilterConfig","FilterBarFilterType","SearchText","TextInput","DropdownFilterConfig","AsyncDropdown","users","multiSelect","DateRange","actionsDropdownConfig","BulkSignActionItemAttachment","DropdownType","Outline","isSmall","MainArea","GridProvider","MultiModalProvider","GridSelectionsProvider","FilterBarProvider","filterConfigurations","filterValues","lastName","firstName","FilterBar","GridSelectionActionsBar","ActionItemViewPendingSignatures","MeetingSignatures","Dropdown","meetingtypes","dropdownItems","BulkSignMeetingAttachment","MeetingViewPendingSignatures","SUBROUTES_MAP","_SUBROUTES_MAP","CommitteesView","CommitteesWithApplicationView","CommitteeWithApplicationSubRoutes","DetailedSearch","SUB_NAV_CONFIG_MAP","mapValues","subRoutes","mapSubroutesToNavConfigItems","CommitteeWithApplicationSubRoute","_CommitteeWithApplica","Applications","CommitteeApplications","ViewCommitteeApplications","ElmahErrorSearch","searchKey","ElmahErrorsSearchFields","SmartInputBlock","label","InputType","Text","placeholder","ElmahErrorsGrid","_useGridSearch","useGridSearch","_useGridSearch2","debounceSearchModel","gridToggler","AsyncGrid","refreshToggle","elmaherrors","read","search","LocalDateTimeCell","value","SecureComponent","ViewErrorLog","IconButton","iconElement","PageviewIcon","fillMode","ButtonStyle","Flat","themeColor","ThemeColor","Primary","buildRoute","Elmah","CustomCell","convertFunction","toLocalDateTime","ElmahErrorModel","application","host","message","user","timeUtcWithOffset","allXml","SystemDefineTypeCell","systemDefineType","useEnums","EnumerationCell","coreEnum","DepartmentsGrid","isMainGrid","departments","groupable","GridColumn","YesNoBooleanCell","otherProps","assign","_objectDestructuringEmpty","deleteEndpoint","_useEditDeleteCell","useEditDeleteCell","deleteItem","addedit","EditDepartment","DeleteDepartment","DepartmentAddEditFormContent","PageCard","required","noTopPadding","FormErrorDisplay","errorNames","displayAsAlert","noPaddingMargin","SmartFormList","listName","listObjectName","deleteButtonPosition","DeleteButtonPosition","AlignedWithInput","sectionConfig","noSeparator","DepartmentHeadListSection","_ref$formatInputName","formatInputName","defaultFormatName","noBottomPadding","DatePicker","DocumentTemplatesGrid","documenttemplates","FileNameDownloadCell","EditDocumentTemplates","DeleteDocumentTemplates","buildQueryUrl","DocumentEditor","fileId","fileName","ViewDocumentEditor","DocumentTemplateAddEditFormContent","documentTemplateType","isAdd","setIsAdd","sendUpdate","useFormUpdater","_useFormStateValue","useFormStateValue","_useFormStateValue2","documentTemplateTypeValue","setDocumentTemplateTypeValue","_useFormStateValue3","_useFormStateValue4","setActionItemConfigurationValue","colProps","xs","ColSize","OneThird","EnumDropdown","onChangeOverride","displayName","DropDown","actionitemconfigurations","Checkbox","HighlightOffIcon","FormActionTypes","UpdateValue","DisplayBlock","SmartFileUploader","requireAttachmentType","userDefinedOnly","fileEndpoint","isEdit","vertical","acceptedFileTypes","FileTypes","Docx","TokenSearch","FilterBarMainGrid","filterBarProps","documenttokens","READ","getSeeMoreCell","ExportButton","exportDropdownConfig","useExportDropdownConfig","EXPORT","ActionsDropdown","Solid","useButtonPadding","fileDownloader","DownloadImagePlaceholder","downloadImage","filename","placeholderName","allowCopy","FileCopyIcon","info","copyToken","Download","DocumentTemplateType","_CoreEnum","_inherits","_super","_createSuper","CoreEnum","FileModel","MeetingTypesGrid","EditDeleteCell","editUrl","editPermissions","EditMeetingType","deletePermissions","DeleteMeetingType","AddEditMeetingTypeSectionModel","meetingTypeId","parentMeetingTypeSectionId","AddEditMeetingTypeSection","MeetingTypeSectionsModal","addUpdated","addUpdate","_useDataFetcher","useDataFetcher","meetingtypesections","defaultDataTransform","_useDataFetcher2","loadingStatus","AsyncLoadingSection","MultiModalFormDialog","formProviderProps","AddEditMeetingTypeSectionContent","orderingConvention","isRollCall","ColumnLayout","Auto","TextArea","Full","AddMeetingTypeSectionModelChild","isActive","AddMeetingTypeSectionChild","MeetingTypeSections","entityEventType","MeetingTypeSectionsHolder","CollapsibleAuditLog","admin","MeetingTypeSection","setUpAdd","SubHeaderLayout","headerComponent","ViewHeader","customButtons","AddMeetingTypeSection","AddButton","MeetingTypeSectionsGrid","_objectWithoutProperties","_excluded","confirm","delete","EditMeetingTypeSection","DeleteMeetingTypeSection","MeetingTypesAddEditFormContent","tokens","setTokens","hasLoadedTokens","setHasLoadedTokens","_loadTokens","noSectionBorders","PageCardRowSection","SmartTextAreaTokenInsert","dropdownName","Large","committees","MultiSelect","UserManagementRolesContent","_useToggler","useToggler","_useToggler2","AddRole","RolesAddEdit","RoleGrid","Role","EditRole","DeleteRole","_Fragment","MainGrid","roles","RolesAddEditFormContent","saveOnDebounce","columnWidth","OneFourth","thin","SmartCheckboxList","labelField","checkedField","groupField","tooltipField","defaultClosed","useExpandAll","UserSignature","downloadPlaceholder","DownloadSignaturePlaceholder","ViewUser","rightTitleButtons","Ellipsis","SignatureCapture","signatureEndpoint","usersignatures","put","signatureModel","AddEditUserForm","loadEndpoint","_ref$isAdd","useAddEditSuccessHandler","User","TaskPageHeaderLayout","UsersAddEditFormContent","defaultHomepage","_useIdParam3","useIdParam","setDefaultDepartment","SingleSectionPageCard","cardTitle","centerContent","inputSection","GridColumnWidth","PhoneNumber","hideCheckAll","AddEditUserSignature","UserSearch","roleSearchKey","UsersGrid","AddUser","SeeMoreCell","UsersAddEdit","EditUser","SmartFormDisplayBlock","_ref$title","isDate","isDateTime","asYesNo","isCurrency","displayBlockProps","displayValue","trueDisplayValue","isNullOrUndefined","isObjectLike","DateDisplayBlock","DateTimeDisplayBlock","render","asYesNoDisplay","toCurrencyString","Array","isArray","DisplayListBlock","values","lengthLimit","EditUserProfileFormContent","useCol","XXS","MedLarge","WorkflowTransitionsGrid","workflowtransitions","EditWorkflowTransition","DeleteWorkflowTransition","WorkflowTransitionsAddEditFormContent","workflowStatus","Number","AsyncMultiSelect","ActionItemConfigurationsGrid","EditActionItemConfiguration","DeleteActionItemConfiguration","ActionItemConfigurationAddEditFormContent","actionItemType","isApprovedByVisible","setIsApprovedByVisible","setIsApprovedByRequired","_useFormStateValue5","_useFormStateValue6","isPreparedByVisible","setIsPreparedByVisible","_useFormStateValue7","_useFormStateValue8","setIsPreparedByRequired","_useFormStateValue9","_useFormStateValue10","isStaffRecommendationVisible","setIsStaffRecommendationVisible","_useFormStateValue11","_useFormStateValue12","setIsStaffRecommendationRequired","_useFormStateValue13","_useFormStateValue14","isActionRequestedVisible","setIsActionRequestedVisible","_useFormStateValue15","_useFormStateValue16","setIsActionRequestedRequired","_useFormStateValue17","_useFormStateValue18","isFiscalImpactVisible","setIsFiscalImpactVisible","_useFormStateValue19","_useFormStateValue20","setIsFiscalImpactRequired","_useFormStateValue21","_useFormStateValue22","isPageCountVisible","setIsPageCountVisible","_useFormStateValue23","_useFormStateValue24","setIsPageCountRequired","_useFormStateValue25","_useFormStateValue26","isAddAttachmentSectionVisible","setIsAddAttachmentSectionVisible","_useFormStateValue27","_useFormStateValue28","setIsAddAttachmentSectionRequired","_useFormStateValue29","_useFormStateValue30","isCdaApprovalVisible","setIsCdaApprovalVisible","_useFormStateValue31","_useFormStateValue32","setIsCdaApprovalRequired","_useFormStateValue33","_useFormStateValue34","isBudgetReviewedVisible","setIsBudgetReviewedVisible","_useFormStateValue35","_useFormStateValue36","setIsBudgetReviewedRequired","_useFormStateValue37","_useFormStateValue38","isAuditReviewedVisible","setIsAuditReviewedVisible","_useFormStateValue39","_useFormStateValue40","setIsAuditReviewedRequired","_useFormStateValue41","_useFormStateValue42","isBackgroundVisible","setIsBackgroundVisible","_useFormStateValue43","_useFormStateValue44","setIsBackgroundRequired","_useFormStateValue45","_useFormStateValue46","isItemDescriptionVisible","setIsItemDescriptionVisible","_useFormStateValue47","_useFormStateValue48","setIsItemDescriptionRequired","_useFormStateValue49","_useFormStateValue50","isCertificationOfFundsVisible","setIsCertificationOfFundsVisible","_useFormStateValue51","_useFormStateValue52","setIsCertificationOfFundsRequired","Med","disabled","OrganizationEditFormContent","actionTaken","alerts","googleUserName","push","Alert","AlertType","Info","Password","Widths","XL","Medium","AlertsDisplay","horizontalLayout","GoogleAuthButton","backgroundImage","logo","AddAttachmentsSection","isCard","defaultAttachmentType","fileController","CONTROLLERS","PublicNoticeAttachments","sectionName","_useGoogleApiWorker","PrimaryButton","buttonSize","ButtonSize","Small","refreshToken","PublicNoticeSearch","department","committeeType","meetingDateFrom","meetingDateTo","preparedBy","itemType","PublicNoticesGrid","publicnotices","TimeStampCell","deletePublicNotice","deleteResponse","isSuccessStatusCode","PublicNoticeAddEdit","EditPublicNotice","DeletePublicNotice","PublicNoticeAttachmentDrawerFormContent","PublicNoticeAttachmentModal","AddPublicNoticeAttachment","useModalItem","addOrEditEndpoint","publicnoticeattachments","allowMultiple","PublicNoticeAttachmentModel","publicNoticeAttachmentModel","ModalDrawer","LoadingSection","isLoading","withComments","allowScanning","ModalDrawerButtonRow","CancelButton","FormSubmitButton","_FileModel","_this","_len","args","_key","call","comments","PublicNoticeAttachmentActionCell","allowEdits","gridprops","DeletePublicNoticeAttachment","extension","PublicNoticeSearchModel","publicNoticeId","PublicNoticeAttachmentsGrid","searchModel","PageSectionHeading","withCardWrapper","getFormattedDisplayCell","locked","PublicNoticeAddEditFormContent","meetingDate","setRemovalDate","setRemovalTime","_React$useState","React","_React$useState2","isFirst","setIsFirst","publicNoticeDurationInHoursDefault","date","Date","setHours","getHours","toDateString","toLocaleTimeString","toLocaleString","TimePicker","Pdf","PreviewCell","GetNestedField","inEdit","GridInput","PreviewIcon","NumberDropDownCell","generatableNumber","HeloTestModel","baseAddress","methodType","HeloTestFormContent","StaffRecommendationsGrid","staffrecommendations","StaffRecommendationColumnReorderCell","EditStaffRecommendation","DeleteStaffRecommendation","ReorderCell","StaffRecommendationsAddEditFormContent","NotificationTemplateGrid","notificationtemplates","AddEditNotificationTemplates","DeleteNotificationTemplates","NotificationTemplate","notificationTrigger","emailSubject","emailMessage","defaultEmail","SendDefaultEmailsComponent","sendDefaultEmails","SmartMultiSectionList","hasInitialSection","DefaultEmailContent","_ref$notifiationTempl","notifiationTemplateId","notifiationTemplateIdFormValue","setNotifiationTemplateIdFormValue","AttachmentsComponent","notificationTriggerValue","includeAttachments","AttachmentTypesContent","_ref3$formatInputName","_ref3$notifiationTemp","attachmenttypes","AddNotificationTemplateFormContent","notificationTriggerFieldName","_useEnums","actionItemNotificationRecipientFilter","notificationTriggerModel","find","x","XS","filterable","isMeetingNotificationTrigger","isActionItemNotificationTrigger","defaultItem","isCommitteeNotificationTrigger","XXL","CommitteeApplicationConfigurationsGrid","committeeapplicationconfigurations","EditCommitteeApplicationConfiguration","DeleteCommitteeApplicationConfiguration","CommitteeApplicationConfigurationAddEditFormContent","isMiddleInitialVisible","setIsMiddleInitialVisible","setIsMiddleInitialRequired","isCurrentEmployerVisible","setIsCurrentEmployerVisible","setIsCurrentEmployerRequired","isJobTitleVisible","setIsJobTitleVisible","setIsJobTitleRequired","isYearsLivedVisible","setIsYearsLivedVisible","setIsYearsLivedRequired","isDescribeInterestVisible","setIsDescribeInterestVisible","setIsDescribeInterestRequired","isSummaryOfIssuesVisible","setIsSummaryOfIssuesVisible","setIsSummaryOfIssuesRequired","isSummaryOfParticipationVisible","setIsSummaryOfParticipationVisible","setIsSummaryOfParticipationRequired","isWhatYouHaveToOfferVisible","setIsWhatYouHaveToOfferVisible","setIsWhatYouHaveToOfferRequired","isConflictsOfInterestVisible","setIsConflictsOfInterestVisible","setIsConflictsOfInterestRequired","isAllowPublicAccessVisible","setIsAllowPublicAccessVisible","setIsAllowPublicAccessRequired","isAddAttachmentVisible","setIsAddAttachmentVisible","setIsAddAttachmentRequired","VacantCommitteePositionsSearch","positions","isVoting","VacantCommitteePositionsGrid","YesNoBooleanRadioGroup","reports","CommitteeLinkCell","PositionLinkCell","ExpiringCommitteeMembersSearch","expiresInDays","ExpiringCommitteeMembersGrid","MemberLinkCell","LinkCell","linkField","subRoute","openInNewTab","AttendanceDetailsModal","AttendanceModal","Details","MultiModalDialog","AttendanceDetailsGrid","memberId","AttendanceSearch","memberName","showInactiveMembers","AttendanceGrid","group","dir","AttendanceDetailsCell","setUpEdit","useMultiModalHelpers","attendance","FileStampsGrid","GridButtonSection","AddFileStamps","FileStampsAddEdit","filestamps","EditDelete","EditFileStamps","DeleteFileStamps","FileStamp","format","color","fontSize","fileStampType","pages","opacity","useAllCaps","BulletedList","list","item","index","FileStampAddEditFormContent","fileStampColor","fileStampFontSize","fileStampPagesOption","fileStampLocation","fileStampImageLocation","downloader","previewStamp","useValue","dataItemKey","EnumRadioGroup","layout","SmartFileUploadDrawerInput","isSingleUpload","mainFileController","FileStampAttachments","useDiv","Col","currentUserToken","currentUserInitialsToken","currentDateTimeToken","currentDateToken","meetingDateToken","meetingDateLongToken","meetingTimeToken","meetingTypeToken","meetingDescriptionToken","autoSize","rows","SecondaryButton","ROUTE_MAP","ROUTES","_ROUTES","RouteConfig","ElmahError","_useParams$id","useParams","_responseData$allXml","responseData","txt","document","createElement","innerHTML","timeLocal","whiteSpace","wordBreak","Dashboard","Users","_useIdParam","_useIdParam2","addEditTitle","UsersEditProfile","EditProfile","Roles","refreshUser","useAuthHelpers","refreshUserAndHandleSuccess","Committees","CommitteesAddEdit","AddEditCommittee","AddMeetingType","CommitteeApplicationConfigurations","AddCommitteeApplicationConfiguration","CommitteeApplicationConfigurationAddEdit","CommitteeApplicationConfiguration","ViewActionItemConfiguration","CommitteeApplicationConfigurationModel","ViewCommitteeApplication","MeetingTypes","MeetingTypesAddEdit","MeetingType","ViewMeetingType","MeetingTypeModel","Meetings","ViewMeeting","MeetingsAddEdit","AddEditMeeting","AddMeeting","EditMeeting","MeetingsCalendar","NotificationTemplates","NotificationTemplatesAddEdit","ViewNotificationTemplates","ADD_EDIT","useMask","NumberGeneratorSettings","InlineGridWithHeader","updatePermission","EditNumberGeneratorSettings","updateEndpoint","numbergeneratorsettings","update","createEndpoint","createPermission","AddNumberGeneratorSettings","destroy","deletePermission","DeleteNumberGeneratorSettings","NumberGeneratorSetting","ViewNumberGeneratorSettings","WorkflowTransitions","AddWorkflowTransition","WorkflowTransitionsAddEdit","WorkflowTransition","ViewWorkflowTransition","WorkflowTransitionModel","Departments","AddDepartment","DepartmentsAddEdit","entityEvents","Department","DepartmentHead","ViewDepartment","FileStamps","AdminSubHeaderMainLayout","ViewFileStamps","ADDEDIT","noIdleLoading","AttachmentTypes","EditAttachmentType","AddAttachmentType","DeleteAttachmentType","AttachmentType","ViewAttachmentType","DocumentTemplates","AddDocumentTemplates","DocumentTemplatesAddEdit","DocumentTemplate","ViewDocumentTemplates","DocumentTokens","ActionItemConfigurations","AddActionItemConfiguration","ActionItemConfigurationAddEdit","ActionItemConfiguration","ActionItemConfigurationModel","ActionItemAddEdit","AddEditActionItem","AddActionItem","EditActionItemCurrentlyAssigned","EditActionItemForDepartment","EditActionItemAll","CopyActionItem","ActionItemCommentAddEdit","AddActionItemComment","AddActionItemStatusChangeComments","AddActionItemClerkComments","AddActionItemCoordinatorComments","AddActionItemGeneralComments","AgendaCoordinatorView","ViewDepartmentActionItemsAgendaCoordinator","ViewAllActionItemsAgendaCoordinator","HeloTest","helotest","AgendaCoordinatorViewByMeeting","ViewHistoricalAgenda","PreMeetingAgendaView","ViewPreMeetingAgenda","PreMeetingAgendaViewByMeeting","OrganizationEdit","_useSimpleDataFetcher","useSimpleDataFetcher","OrganizationModel","_useSimpleDataFetcher2","ViewOrganizationConfiguration","EditOrganizationConfiguration","StaffRecommendations","AddStaffRecommendation","StaffRecommendationAddEdit","ViewStaffRecommendation","StaffRecommendationModel","PublicNotices","AddPublicNotice","PublicNotice","ViewPublicNotice","PublicNoticeModel","StartMeeting","LiveMeeting","LiveMeetingWrapper","FinalizeMeeting","EndMeeting","StreamTest","params","useUrlSearchParams","goBack","useGoBack","toggleLoading","webViewerInstance","setWebViewerInstance","viewer","useRef","_useBlobFetcher","_useBlobFetcher2","blob","saveDoc","_parseInt","doc","arr","file","CHUNK_SIZE","chunk","numChunks","allSuccess","formData","Core","documentViewer","getDocument","getFileData","downloadType","Uint8Array","Blob","parseInt","FILE_UPLOAD_CHUNK_SIZE","Math","ceil","size","slice","FormData","append","WebViewer","path","licenseKey","APRYSE_LICENSE_KEY","current","instance","UI","loadDocument","enableOfficeEditing","disableElements","CancelBackButton","ref","VacantCommitteePositions","VacantCommitteePositionsReport","ExpiringCommitteeMembers","ExpiringCommitteeMembersReport","AttendanceReport","ViewAttendanceReport","UpdateVoteResultsModel","meetingTypeSectionId","meetingId","approvedBy","staffRecommendation","actionRequested","fiscalImpact","certificationOfFunds","pageCount","cdaApproval","cdaApprovalString","results","initialVoteValues","timeStamp","isReviewed","isReviewedDisplay","hasBroadcast","actionItemConfiguration","courtOrderNumbers","courtOrderNumbersDisplay","itemDescription","isAuditReviewed","auditReviewedBy","isBudgetReviewed","budgetReviewedBy","staffRecommendationsDisplay","background","submissionNumber","UpdateVoteResults","_data$isAuditReviewed","_data$isAuditReviewed2","_data$isBudgetReviewe","_data$isBudgetReviewe2","_data$courtOrderNumbe","_data$results2","FinalizeMeetingModal","voteResultSections","setVoteResultSections","finalizemeeting","_data$results","resetResults","livemeeting","onRemoveSection","resultElement","getElementsByClassName","setAttribute","isReadonly","otherButtons","initialValues","maxItems","hideButtons","usePrimaryButton","UpdateVoteResultContents","ActionItemAttachmentsGrid","allowReorders","isCopy","ActionItemCommentsGrid","_data$results$index$a","_data$results$index$m","_data$results$index$m2","motionPresentedBy","motionSecondedBy","TwoThirds","RadioButtons","notes","FormSectionHeading","_ref4$formatInputName","votesName","selectAllVoteTypeName","voteModels","setVoteModels","selectAllVoteType","voteType","setResult","getElementsByName","yaes","nays","forEach","voteModel","_voteModel$voteType","lastChild","textContent","isPresent","small","vote","voteIndex","_voteModels$voteIndex","MeetingDocumentsModal","GenerateMeetingMinutesDocumentsModal","GenerateDocumentsModal","GenerateMeetingMinutesDocuments","baseEndpoint","gridRefresh","GenerateMeetingMinutesDocumentsFormContent","FinalizeMeetingSearchModel","FinalizeMeetingAttachmentsGrid","LocalStateProvider","initialValue","FinalizeMeetingAttachmentsGridContent","minutesHaveSignatures","broadcastId","dropdownConfig","generateModalToggle","setGenerateModalItem","setModalItem","saveAndGenerateDocument","GenerateDocuments","createPreview","PreviewDocuments","_unused2","GenerateMeetingMinutes","useFinalizeMeetingViewActionsDropdown","fileStampItems","titleActionsConfig","MeetingAttachmentActionCell","fileStamps","FinalizeMeetingBanners","_useMeetingIdsAndFlag","useMeetingIdsAndFlags","idsAndFlags","finalizedMeetingBanners","b","Warning","text","FinalizeMeetingModel","isFinalized","MeetingIdsAndFlagsProvider","FinalizeMeetingContent","_useIdParam5","setNonVotedAsReviewed","toString","finalizeMeeting","LiveMeetingModal","UpdateRollCall","RecordMeetingResults","useFinalizeMeetingActionsDropdown","PrimaryHeader","FinalizeMeetingGrid","pageSize","rowRender","trElement","trProps","class","cloneElement","SubjectCell","ResultsCell","RecordResultsCell","WrappableCell","tabs","dangerouslySetInnerHTML","__html","fullDisplay","staffRecommendationDisplay","result","gridCellProps","updateResults","markAsReviewed","reviewedString","isVotingRestricted","GridActionsDropdown","buttonWrapperClass","RecordVoteResultsModel","RecordVoteResultModel","copy","motionPresentedById","motionSecondedById","votes","voteResult","RecordVoteResults","VoteResultContents","TakeRollCallModel","committeeMembers","awaitingStream","setAwaitingStream","disableSaveButton","RollCallFormContent","rollCall","organization","setBroadcastId","startStream","errorMessage","err","gridState","useOptionalGridState","Half","LiveMeetingModel","endMeeting","LiveMeetingGrid","recordResults","StreamTestContent","endStream","_response$data2","NavigationPill","active","routes","toggledClass","NavPillDropdown","SmartLink","to","Unauthorized","NavPillContent","isDropdown","DropdownArrowIcon","isDropdownOpen","toggleDropdownOpen","onMouseEnter","onMouseLeave","DropdownToggle","preventDefault","DropdownMenu","NavPillDropdownItemContent","DropdownItem","NavActionsDropdown","sortItemsAlphabetically","toggleIsOpen","MultiModalRenderer","reduce","acc","val","fullClassName","modifiers","phase","enabled","fn","options","mainAxis","end","ActionDropdownItemsList","childItems","finalItems","sort","compareDropdownItems","ActionsDropdownItemDisplay","sortChildItemsAlphabetically","_ref5$childItems","_ref5$permissions","flatMap","c","_ref5$condition","_ref5$sortChildItemsA","itemProps","_excluded2","finalChildItems","ActionsDropdownItemRenderer","itemUrl","divWrapper","isUrlRelative","_ref6$childItems","isDisabled","returnToPreviousPageOnSuccess","ItemWrapper","hasChildItems","useRouteMatch","DropdownItemContent","returnToPreviousPage","ArrowRightIcon","right","a","toLowerCase","localeCompare","CommitteeApplicationSearchModel","committeeId","useCommitteeState","committeeapplications","CommitteeApplicationsActionsCell","deleteApplication","downloadAttachment","committeeapplicationattachments","hasAttachment","DeleteCommitteeApplications","CommitteeApplicationViewCustomButtons","CommitteeApplicationModel","committeeName","positionId","position","configuration","ipAddress","emailAddress","phoneNumber","currentEmployer","jobTitle","yearsLived","addressLine1","addressLine2","addressCity","addressState","addressZip","describeInterest","summaryOfIssues","summaryOfParticipation","whatYouHaveToOffer","conflictsOfInterest","conflictsOfInterestDisplay","allowPublicAccess","allowPublicAccessDisplay","CommitteeApplicationAttachmentActionCell","isHistorical","CommitteeApplicationAttachmentSearchModel","committeeApplicationId","CommitteeApplicationAttachmentsGrid","CommitteeApplicationViewContent","_data$addressState","_data$configuration","_data$configuration2","_data$configuration3","_data$configuration4","_data$configuration5","_data$configuration6","_data$configuration7","_data$configuration8","_data$configuration9","_data$configuration10","_data$configuration11","_data$configuration12","_data$configuration13","_data$configuration14","_data$configuration15","_data$configuration16","_data$configuration17","_data$configuration18","linkRoute","countyName","DwtScanner","noProvider","ConditionalWrapper","wrapper","DwtScannerProvider","DwtScannerContent","_useDwtScanner","useDwtScanner","scanners","acquireImage","scannersFound","DWT_RESOLUTION_OPTIONS","DWT_SCANNER_PAGE_SIZE_OPTIONS","DWT_SCANNER_PIXEL_TYPE_OPTIONS","fieldConfiguration","LoadingButton","DwtScannerViewer","maxWidth","DwtScannerButtons","LoadingMaskSection","noLabel","wrapperClass","CONTAINER_ID","DwtScannerPager","buttonConfig","useDwtScannerButtonConfig","customContent","config","DwtScannerButton","Icon","icon","rotated","height","transform","_useDwtScannerState","useDwtScannerState","dwObject","setPageCount","currentPage","setCurrentPage","handlePageChange","useDwtScannerActions","isPagingDisabled","isBackPagingDisabled","isForwardPagingDisabled","HowManyImagesInBuffer","CurrentImageIndexInBuffer","TextIconButton","SkipPreviousIcon","DwtScannerPageChange","First","tooltipText","PlayArrowIcon","Previous","Next","SkipNextIcon","Last","WEB_TWAIN_ID","VIEWER_WIDTH","VIEWER_HEIGHT","dwtScannerState","setIsLoading","setScanners","setSelectedPages","setIsDwObjectSet","isDwObjectSet","zones","setZones","setFileName","formFileName","setFormFileName","scannerSource","setScannerSource","setFormErrors","useFormHelpers","dwtFormValues","rootUrl","REDIRECT_URI","dwtLicenseKey","DWT_ORGANIZATION_ID","RESOURCES_PATH","loadDWT","setUpViewer","setUpEventHandlers","_dwObject$current2","Viewer","bind","getElementById","setViewMode","show","_dwObject$current3","_dwObject$current4","_dwObject$current5","_dwObject$current6","_dwObject$current8","_dwObject$current9","_dwObject$current10","_dwObject$current11","RegisterEvent","DwEvent","OnBitmapChanged","handleBufferChange","OnPostTransfer","handlePostTransfer","OnPostLoad","OnPostAllTransfers","_dwObject$current7","CloseSource","on","ViewerOnTopPageChanged","goToPage","ViewerOnPageAreaSelected","handleSelection","ViewerOnPageAreaUnselected","ViewerOnClick","selection","SelectedImagesIndices","page","rect","currentRect","Dynamsoft","DWT","organizationID","ResourcesPath","OnWebTwainPreExecute","OnWebTwainPostExecute","Containers","WebTwainId","ContainerId","Width","Height","CreateDWTObjectEx","uuidv4","webTwainDwObject","_dwObject$current","RemoveAllImages","numberOfSources","SourceCount","sourceOptions","i","GetSourceNameItems","scannersource","SelectSourceByIndex","OpenSource","IfAutomaticDeskew","AcquireImage","IfShowUI","PixelType","pixelType","Resolution","resolution","IfFeederEnabled","isAutoFeeder","IfDuplexEnabled","isDoubleSided","PageSize","handleRotateLeft","_dwObject$current14","RotateLeft","handleRotateRight","_dwObject$current15","RotateRight","handleRotate180","_dwObject$current16","Rotate","handleMirror","_dwObject$current17","Mirror","handleFlip","_dwObject$current18","Flip","handleRemoveSelected","_dwObject$current19","RemoveAllSelectedImages","handleRemoveAll","_dwObject$current20","handleResize","_dwObject$current21","ChangeImageSize","handleCrop","_dwObject$current22","currentZone","Crop","y","changeType","setHeight","useFormValueSetter","setWidth","_useDwtScannerState2","_useDwtScannerActions","wrapperRef","isResizePopupOpen","toggleResizePopup","resizeButtonProps","AspectRatioOutlinedIcon","_dwObject$current23","_dwObject$current24","GetImageHeight","GetImageWidth","Rotate90DegreesCcwIcon","Rotate90DegreesCwOutlinedIcon","RotateLeftIcon","FlipOutlinedIcon","DeleteOutlinedIcon","DeleteSweepOutlinedIcon","EasyPopup","togglerRef","customPopupAlign","horizontal","customAnchorAlign","animate","rightFloatingLabel","noSidePadding","CropOutlinedIcon","oneHundred","twoHundred","threeHundred","sixHundred","blackAndWhite","gray","a4Letter","b5Letter","usLetter","usLegal","a5","b4","b6","usLedger","usExecutive","a3","b3","a6","c4","c5","c6","a40","a20","a0","a1","a2","a7","a8","a9","a10","isoB0","isoB1","isoB2","isoB5","isoB7","isoB8","isoB9","isoB10","jisb0","jisb1","jisb2","jisb3","jisb4","jisb6","jisb7","jisb8","jisb9","jisb10","c0","c1","c2","c3","c7","c8","c9","c10","usStatement","businessCard","maxSize","DwtScannerStateContext","DwtProviderContent","_React$useState3","_React$useState4","_React$useState5","_React$useState6","_React$useState7","_React$useState8","_React$useState9","_React$useState10","selectedPages","_React$useState11","_React$useState12","_React$useState13","_React$useState14","Provider","dwtScannerStateContext","_BaseUser","defaultOrganizationId","defaultHomepageRoute","signature","pin","requirePinForSignature","hasSignature","signatureRole","BaseUser","workflowTransitions","permissionsList","workflowTransitionList","NavigationPillBar","others","ACTION_ITEMS_CONFIG","REPORTS_CONFIG","CONFIGURATION_CONFIG","SecondaryNavigationPillBar","parentRoute","largeFont","navConfig","useSubNavigation","pill","fullRoute","ScrollBookmarkStateContext","createContext","useScrollBookmarkState","useProviderContext","useScrollBookmarkSection","bookmark","_useScrollBookmarkSta","addBookmark","removeBookmark","setIsShowing","isShowing","useOnScreen","useActiveBookmark","_useScrollBookmarkSta2","bookmarks","refs","lastSeenBookmark","activeBookmark","_bookmarks$filter","n","generateModel","GenerateDocumentsModalContent","isPreviewLodaing","setIsPreviewLoading","previewDocuments","MeetingAttachmentDrawerFormContent","MeetingAttachmentModal","AddMeetingAttachment","MeetingAttachmentModel","meetingAttachmentModel","MeetingAttachmentDrawerFormFields","SecondaryHeader","pillBarProps","menuToggleRef","menuRef","useOnClickOutside","kendoItems","dropdownItem","onClickAndToggle","linkRender","TextButton","MoreVertIcon","Popup","anchor","anchorAlign","popupAlign","appendTo","Menu","display","noBodyPadding","Drawer","onClose","closeIcon","CloseIcon","getInitialValues","leftAlignDelete","deleteByTitle","extraButtons","dragDropConfig","noAnimation","rightAlignDelete","sectionClass","_ref$listFilter","listFilter","_ref$noCollapse","noCollapse","_ref$hideButtons","_ref$includeTitles","includeTitles","_ref$removeable","removeable","alignDeleteWithInputRow","smallTitle","mediumTitle","_ref$canDeleteFunctio","canDeleteFunction","confirmDeleteText","objectList","setObjectList","formatChildren","formatInputNameWithIndex","Children","toArray","child","addSection","newValue","updatedList","isSectionRemoveable","getSectionTitle","isLastSection","SectionComponent","FormListSection","CollapsibleSection","SectionWrapper","draggable","DraggableSectionWrapper","sectionWrapperProps","listSection","draggableId","findIndex","ListWrapper","noDroppable","DroppableSectionWrapper","listWrapperProps","droppableId","minHeight","minDroppableHeight","onRemove","filteredObjectList","splice","removeSection","isLast","ButtonCore","Default","_ref2$id","_ref2$index","Draggable","provided","snapshot","isDragging","innerRef","draggableProps","DragIndicatorIcon","dragHandleProps","_ref3$id","Droppable","isDraggingOver","droppableProps","_ref$subRoute","useNestedTabs","TabbedHeaderLayout","header","useNestedSubRouteTabs","_ref2$subRoute","mapSubRoutes","useSubRoutes","withNoSubroutes","TabbedHeaderNestedTabBar","activeItem","activeRoute","TabbedHeaderNestedTabBarContents","subNavConfigItems","TabbedHeaderNestedTab","onSubmit","_ref$hideCancelButton","hideCancelButton","clearFormErrors","DialogActionsBar","padding","fileUrl","setFileUrl","setLoadingStatus","indicatorPosition","Position","Center","DocumentTitle","Helmet","entries","hideInSidebar","subRouteName","useGetRoutes","hasPermissions","useHasPermissions","routeName","Route","component","exact","isExact","getFullDefaultRoute","parentRoutes","defaultSubRoute","default","getSubNavItems","noPermissionsFilter","_SUB_NAV_CONFIG_MAP$p","_SUB_NAV_CONFIG_MAP$p2","useGetSecureSubNavItems","useActiveRouteSetter","getInitialValue","setNavConfig","pathname","useLocation","tempConfig","routeParts","split","includes","replace","renderDocumentTitle","routeLabel","_subRoute$routeProps","routeProps","otherRouteProps","Component","msalConfig","auth","authority","TENANT","clientId","CLIENT_ID","redirectUri","postLogoutRedirectUri","cache","cacheLocation","storeAuthStateInCookie","loginRequest","scopes","eventDateMax","eventDateMin","baseEntityEventType","parentIds","ids","comment","searchIdAlsoAsParent","audits","CommentsCell","ShowAuditCommentsCell","MeetingAttachmentRemoveFileStampForm","RemoveFileStamp","caseAttachmentId","meetingAttachmentStampMetadatas","MeetingAttachmentRemoveFileStampFormData","attachmentId","stampToRemove","DROPDOWN_ITEMS","StampDisplayEmbedded","stampId","pngBase64","setPngBase64","Buffer","from","CommitteeMemberAttachmentDrawerFormContent","CommitteeMemberAttachmentModal","AddCommitteeMemberAttachment","committeememberattachments","CommitteeMemberAttachmentModel","committeeMemberAttachmentModel","CommitteeMemberAttachmentActionCell","AddEditCommitteeMembers","CommitteeMemberAttachmentSearchModel","committeeMemberId","CommitteeMemberAttachmentsGrid","AddEditCommitteeMemberModel","AddEditCommitteeMemberModal","CommitteeMemberModal","AddEdit","refreshIdsAndFlags","useCommitteeIdsAndFlags","committeemembers","AddEditCommitteeMemberContent","_formValues$appointed","formCommitteeId","setFormCommitteeId","setTermEndDate","isPastFirstLoad","setIsPastFirstLoad","appointedType","useDefaultTermValues","yearsOfTerm","termStartDate","setFullYear","getFullYear","AsyncDropDown","CommitteeMemberAttachments","CompleteTermCommitteeMemberModel","CompleteTermCommitteeMemberModal","CompleteTerm","CompleteTermCommitteeMemberContent","VacateCommitteeMemberModel","VacateCommitteeMemberModal","Vacate","VacateCommitteeMemberContent","RemoveCommitteeMemberModel","RemoveCommitteeMemberModal","Remove","RemoveCommitteeMemberContent","RenewCommitteeMemberModel","RenewCommitteeMemberModal","Renew","RenewCommitteeMemberContent","CommitteeMemberSearchModel","historical","CommitteeMembersContent","CommitteeMemberColumnReorderCell","CommitteeMembersActionsCell","CollapsiblePageCard","collapsibleTitle","HistoricalCommitteeMembersGrid","deleteMember","RenewCommitteeMembers","TermCompleteCommitteeMembers","VacateCommitteeMembers","RemoveCommitteeMembers","DeleteCommitteeMembers","HistoricalCommitteeMembersActionsCell","Footer","_useGlobalState","useGlobalState","versionNumber","environmentName","Page","ShortcutDescriptor","action","keyCombination","SHORTCUTS_DATA","Any","QUICK_SEARCH","DETAILED_SEARCH","AgendaSearch","ShortcutsModal","HeaderModal","Shortcuts","SimpleGrid","KeyCombinationCell","_ref$field","Header","_useAuthState","isUnauthorized","history","useHistory","HeaderToolbar","SearchBar","HeaderDropdowns","HelpDropdown","AccountDropdown","useMsal","userLogOut","logout","DropdownWrapper","AccountCircleIcon","EditUserProfile","ManageAccountsIcon","ExitToAppIcon","HelpIcon","KeyboardIcon","Layout","unauthorized","HeaderLayout","headerContent","hideSubRouteLinks","CommitteeAttachmentActionCell","committeeattachments","AddEditCommitteeAttachments","CommitteeDocumentsModal","AddEditCommitteeAttachmentModal","DeleteCommitteeAttachments","CommitteeAttachmentsGrid","CommitteeAttachmentSearchModel","AddEditCommitteeAttachmentModel","AddEditCommitteeAttachmentContent","AddEditCommitteePositionModel","AddEditCommitteePositionModal","CommitteePositionModal","committeepositions","AddEditCommitteePositionContent","OpenCommitteePositionModel","OpenCommitteePositionModal","OpenForApplications","OpenCommitteePositionContent","CommitteePositionSearchModel","CommitteePositionsContent","AddEditCommitteePositions","CommitteePositionsActionsCell","HistoricalCommitteePositionsGrid","deletePosition","removePosition","removeResponse","closeApplications","OpenCommitteePositionForPublicApplications","isPublic","CloseCommitteePositionForPublicApplications","DeleteCommitteePositions","HistoricalCommitteePositionsActionsCell","USER_MANAGMENT_CONFIG","ViewRole","ViewCommitteeApplicationConfiguration","alternateTitle","substring","alternatePath","navItemsUrl","showInDropdown","consentItemPrefix","googleClientId","googleClientSecret","MeetingModel","meetingDateTime","committee","meetingType","order","fromStatus","toStatus","meetingTypes","isApprovedByRequired","isPreparedByRequired","isStaffRecommendationRequired","isActionRequestedRequired","isFiscalImpactRequired","isPageCountRequired","isAddAttachmentSectionRequired","isCdaApprovalRequired","isBudgetReviewedRequired","isAuditReviewedRequired","isBackgroundRequired","isItemDescriptionRequired","isCertificationOfFundsRequired","ActionItemModel","copyId","meeting","departmentsDisplay","cdaApprovedBy","attachments","canEditCourtOrderNumber","canEditSubmissionNumber","selectedActionItemConfiguration","removalDate","removalTime","applicationNotice","isMiddleInitialRequired","isCurrentEmployerRequired","isJobTitleRequired","isYearsLivedRequired","publicInformationNotice","isDescribeInterestRequired","isSummaryOfIssuesRequired","isSummaryOfParticipationRequired","isWhatYouHaveToOfferRequired","isConflictsOfInterestRequired","openRecordsNotice","isAllowPublicAccessRequired","attachmentsNotice","isAddAttachmentRequired","auditLogProps","CollapsibleTextHeaderSection","CommitteeStateContext","globalReducer","CommitteeProvider","_ref$providedCommitte","providedCommitteeId","_useParams$committeeI","_React$useReducer","useReducer","globalStateContext","useContext","AppMiddleman","tokenExpireTime","account","getActiveAccount","configObj","baseUrl","BASE_URL","apiEndpoint","API_ENDPOINT","VERSION_NUMBER","ENVIRONMENT_NAME","tenant","GlobalProvider","AppContent","_organization$googleC","EnumerationProvider","GoogleOAuthProvider","Switch","App","ToastProvider","AuthProvider","msalInstance","PublicClientApplication","accounts","getAllAccounts","setActiveAccount","addEventCallback","event","eventType","EventType","LOGIN_SUCCESS","ReactDOM","MsalProvider","BrowserRouter","viewDocuments","actionitems","ViewDocuments","_unused","Endpoint","controller","CREATE","DESTROY","UPDATE","GET","PUT","POST","method","ActionItemAttachments","actionitemcomments","ActionItemComments","agendacoordinator","AgendaCoordinator","Audits","CommitteeApplicationAttachments","CommitteeAttachments","detailedsearch","ElmahErrors","enumerations","Enumerations","meetings","historicalagendas","HistoricalAgendas","MeetingAttachments","Organizations","premeetingagenda","PreMeetingAgenda","publicagenda","PublicAgenda","Reports","temporaryattachments","TemporaryAttachments","UserSignatures","actionitemsignatures","filestampattachments","MeetingAttachmentStampMetadatas","AuthStateContext","AuthDispatchContext","authReducer","SetUser","tempUser","SetToken","SetUnauthorized","_React$useReducer2","authRequest","MsalAuthenticationTemplate","interactionType","InteractionType","Redirect","authenticationRequest","errorComponent","GlobalErrorDisplay","loginError","AuthProviderContent","authStateContext","authDispatchContext","userError","setUserError","organizationError","setOrganizationError","setNeedsUserUpdate","setNeedsOrgUpdate","setCurrentUserToken","acquireToken","_response$expiresOn","acquireTokenSilent","accessToken","expiresOn","InteractionRequiredAuthError","acquireTokenRedirect","useTokenAcquisition","handleUserUpdates","updateToken","tokenInfo","Axios","loadingText","ErrorIcon","Link","ModalFormStateContext","useModalFormState","modalFormStateContext","CommitteeIdsAndFlagsModel","noMembersAssignedBanners","CommitteeIdsAndFlagsContext","CommitteeIdsAndFlagsProvider","idsAndFlagsModel","model","idsAndFlagsContext","SubRouteConfig","isDefault","_SubRouteConfig2","_super2","isModalEdit","_ref$editUrl","navigationAttributes","useTableKeyboardNavigation","colSpan","role","ariaColumnIndex","isSelected","GRID_COL_INDEX_ATTRIBUTE","columnIndex","TextEditButton","TextDeleteButton","_ref4$field","useDeleteQueryParam","usePostForDelete","onDelete","_response","_response2","_response3","fullEndpoint","entity","_gridCellProps$id","DragCell","dragEnd","onDragOver","_gridState$data","_reorderedData$findIn","_reorderedData$findIn2","reorderedData","prevIndex","p","nextIndex","reorder","dataTransfer","dropEffect","cursor","onDragStart","setActiveItem","onDragEnd","_useDataPoster","useDataPoster","postData","_gridState$data2","activeItemId","orderedIds","newOrder","indexOf","ConditionalDetailColumnCell","_ref$condition","_ref$matchField","matchField","_useGridState","expanded","newData","onExpandChange","tabIndex","_ref2$field","commaSeparatedValues","Tooltip","placement","arrow","PopperProps","popperOptions","strategy","container","lineHeight","enterDelay","FileDownloadCell","fileControllerEndpoint","fileNameFromDataItem","fileNameWithoutExtension","downloadClick","DownloadIcon","ChangeActionItemStatusModel","requiresComments","ignoreCutoffTime","ChangeActionItemStatus","ActionItemModal","ChangeStatus","statusName","workflowTransitionId","redirect","ActionItemDocumentsModal","GenerateActionItemDocumentsModal","attachmentGridRefresh","GenerateActionItemDocuments","GenerateActionItemDocumentsFormContent","_formValues$templates","templates","some","hasSignatures","ActionItemsGrid","ActionItem","useFilterBarState","FilteredMainGrid","InfoCommentsCell","ActionItemsActionsCell","ShowCommentsCell","showAll","toggleShowAll","HtmlStringDisplay","content","deleteActionItem","userCanEdit","DeleteActionItem","changeActionItemStatus","actionString","_e$toStatus","_e$toStatus2","ActionItemAttachmentDrawerFormContent","ActionItemAttachmentModal","AddActionItemAttachment","ActionItemAttachmentModel","actionItemAttachmentModel","ActionItemAttachmentActionCell","_ref$isHistorical","isSystemGenerated","DeleteActionItemAttachment","ActionItemSearchModel","actionItemCopyId","ActionItemAttachmentColumnReorderCell","ActionItemCommentDrawerFormContent","ActionItemCommentModal","ActionItemCommentModel","actionItemCommentModel","ActionItemCommentActionCell","EditActionItemStatusChangeComments","commentType","EditActionItemCoordinatorComments","EditActionItemClerkComments","EditActionItemGeneralComments","DeleteActionItemStatusChangeComments","DeleteActionItemCoordinatorComments","DeleteActionItemClerkComments","DeleteActionItemGeneralComments","ActionItemCommentSearchModel","ActionItemCommentsGridContent","ActionItemHistoricalAttachmentsGrid","AddEditActionItemContent","_data$assignedTo","attachmentGridRefreshToggle","yesNoNa","setMeetingType","setActionItemConfiguration","setIsBudgetReviewed","setCdaApproval","setCdaApprovedBy","setBudgetReviewedBy","setIsAuditReviewed","setAuditReviewedBy","actionItemConfigurationModel","setActionItemConfigurationModel","setMeetingTypeId","setActionItemConfigurationFilter","actionItemConfigurationHandler","_getActionItemConfigurationDetails","actionitemconfigurationUrl","getActionItemConfigurationDetails","useQuery","otherparams","ActionItemEditAssignedUser","ActionItemEditCourtOrderNumber","CourtOrderNumberListSection","OneSixth","ActionItemEditSubmissionNumber","_ref3$index","ActionItemCustomButtons","_workflowTransitions$","setupChangeStatus","generateDocuments","shouldSave","changeStatus","_x$toStatus","_x$toStatus2","actions","ActionItemGenerateDocuments","smallIndicator","PrimarySolid","_history$location$sta","_history$location","_history$location$sta2","previousPage","setPreviousPage","_history$location2","_history$location2$st","_history$location3","_history$location3$st","_history$location5","_history$location5$st","_history$location4","_history$location4$st","_data$meeting","_history$location6","_history$location6$st","ActionItemViewCustomButtons","ActionItemAddEditFormContent","_data$meetingType","_data$actionItemConfi","_data$approvedBy","_data$preparedBy","_data$cdaApproval","_data$cdaApproval2","ActionItemCommentAddFormContent","MeetingSearch","startDateFrom","startDateTo","meetingStatus","Meeting","getShowAllCell","MeetingActionsCell","deleteMeeting","startMeeting","_unused3","resumeMeeting","DeleteMeeting","canViewAgendaPreview","MeetingAddEditFormContent","_useIdParam4","viewHistoricalAgenda","MeetingCalendarModel","MeetingCalendarPopup","start","uid","setPopupOpenState","isDeleteLoading","setDeleteLoading","_useLocalState","useLocalState","setLocalState","handleDelete","localStateRefresh","toTimeString","flatBorder","OpenInNewIcon","StopCircleIcon","MeetingsCalendarContent","FilterableAsyncEventCalendar","popupContent","UnlockAgendaModel","unlockedRoleList","UnlockAgenda","MeetingModal","unlockAgendaModel","MeetingSearchModel","isHistoricalAgenda","MeetingAttachmentsGrid","_ref4$isHistoricalAge","_ref4$hideActions","hideActions","MeetingAttachmentsGridContent","_useLoadingToast","useLoadingToast","_useLoadingToast2","showToast","hideToast","meetingContext","useGlobalMeetingIdsAndFlags","_useLocalState2","setWaitingOnDocument","publishAgenda","_meetingModelResponse","_meetingModelResponse2","meetingModelResponse","isPublished","warning","hasPdfAgenda","GenerateMeetingAgenda","PublishAgenda","useAgendaCoordinatorViewActionsDropdown","_useLocalState3","waitingOnDocument","refreshOnSearchChange","tmr","setupSigPad","clearSignatureInterval","setInterval","SigWebRefresh","SigWebSetDisplayTarget","getContext","SetDisplayXSize","SetDisplayYSize","Prop","SigWebSetPropertySync","SetJustifyMode","SetTabletState","SetEncryptionMode","inside","ClearSigWindow","SigWebGetProperty","ClearTablet","confirmSignature","confirmCallback","NumberOfTabletPoints","SetSigCompressionMode","SetImageXSize","SetImageYSize","SetImagePenWidth","callback","cvs","GetImageXSize","GetImageYSize","xhr2","XMLHttpRequest","baseUri","send","onload","cntx","img","Image","src","drawImage","b64String","toDataURL","loc","retstring","clearInterval","GetSigImageB64","alert","getTopazTabletState","GetTabletState","setTopazTabletState","clearSignature","cancelSignature","ctx","getBlobURL","webkitURL","revokeBlobURL","revokeObjectURL","prot","protocol","navigator","appName","RegExp","exec","userAgent","ua","lastIndexOf","isChrome","makeUri","SigWebcreateXHR","ActiveXObject","prop","xhr","readyState","responseText","obj","NumPointsLastTime","NumPoints","SetRealTabletState","tv","delay","can","canvas","useSessionStorage","isServer","sessionStorage","getItem","JSON","parse","storedValue","setStoredValue","valueToStore","Function","setItem","stringify","_ref$sectionName","_ref$requireAttachmen","fileListName","_ref$fileController","_ref$allowMultiple","_ref$acceptedFileType","sectionProps","hasPermission","SearchIcon","DetailedSearchModel","ActionItemSearchContent","isCardOpen","toggleIsCardOpen","searchValues","setSearchValues","nameMatchTotal","setNameMatchTotal","_useState5","_useState6","shouldClearGridData","setShouldClearGridData","_useState7","_useState8","shouldUpdateSearch","setShouldUpdateSearch","SearchFieldContent","SearchGridContent","_useLocalState2$","updateCurrentSearch","useDetailedSearch","CollapsibleFormFiltersPageCard","filterChipsProps","onClear","short","DetailedSearchButton","_useDetailedSearch2","runLastSearch","courtOrderNumber","_useLocalState4$","setFormValues","_useLocalState5","_useLocalStorage","useLocalStorage","_useLocalStorage2","setSearchModel","getPreviousSearchModel","_useLocalState7","_useLocalState8$","total","setTotal","customNoRecordsDisplay","CustomNoRecordsDisplay","CommitteeApplicationSearchContent","_formValues$committee","setPosition","_useDetailedSearch3","middleInitial","submissionDateFrom","submissionDateTo","ApplicationLinkCell","_excluded3","MeetingIdsAndFlagsModel","publishedByUserName","publishedDateTime","coordinatorBanners","MeetingIdsAndFlagsContext","formEndpoint","previewEndpoint","DeleteCommittee","CommitteePositionListSection","_ref$committeeId","committeeIdFormValue","setCommitteeIdFormValue","AddEditCommitteeModel","isActiveDisplay","details","contactLiaison","phone","email","meetingTimes","committeeAdministrator","AddCourtCaseFormContent","CommitteeBanners","_useCommitteeIdsAndFl","CommitteeBasicInfoModel","allowPublicApplications","ChangeNameForm","EditCommitteeForm","isSaving","setIsSaving","updateName","_useFormState2","isInEditMode","setIsInEditMode","toggleEditMode","updateDetails","collapsibleRightButtons","CancelIcon","CommitteePreferencesModel","trackMemberAttendance","UpdateCommitteePreferencesForm","updatePreferences","scanModalId","SmartFileUploaderContent","_ref$name","_ref$userDefinedOnly","renderAdditionalFormComponents","isAdministrativeAttachmentType","_ref$allowScanning","filePondProps","formErrors","filePondRef","hasFiles","setHasFiles","canAddSingle","setCanAddSingle","fileErrors","setFileErrors","toggleScanModal","attachmentTypeFieldName","commentsFieldname","acceptsPdf","t","isAbleToScan","uploadUrl","Upload","deleteUrl","DeleteTempBlob","formatFieldName","fieldName","registerPlugin","FilePondPluginFileValidateType","_getPropertyByString","_formValues$fileId","hasValues","getPropertyByString","fileErrorValues","setAttachmentType","_filePondRef$current","removeFiles","formatFile","fileSize","serverId","getEmptyFileFields","attachmentType","clearFileFields","clearedValues","SetValues","handleProcess","metadata","load","progress","abort","handleAbort","handleRevert","uniqueFileId","filteredFiles","getFieldValue","handleFileFieldChange","getValueFromChangeEvent","fileList","newFileList","updateCanAddSingle","_filePondRef$current3","getFiles","handleScannedDocumentUploaded","fileBlob","_filePondRef$current5","_name","_filePondRef$current4","endsWith","addFile","File","server","process","revert","ScannerModalContent","uploadFile","ConvertToBlob","EnumDWT_ImageType","IT_PDF","DefaultInputLabel","FilePond","onprocessfiles","_filePondRef$current2","files","fileValue","onaddfile","onremovefile","ErrorDisplay","noBold","ArrowForwardIcon","otherErrorNames","_useFormHelpers","MultiModalCancelButton","trim","createGroupedData","groupIdField","groupedData","currentValue","listIndex","groupId","groupedObject","createGroupExpandedMap","defaultExpanded","uniqueGroupIds","Set","groupValue","currId","setAllExpandValues","groupExpandedMap","setGroupExpanded","createSmartCheckboxListStore","collapseOthersOnExpand","setCollapseOthersOnExpand","collapseOnExpand","expandAllGroups","collapseAllGroups","setGroupedData","getGroupCheckedValue","groupedList","every","_list$listIndex","_list$listIndex2","getGroupCheckboxValue","_createContext","useStore","SmartCheckboxListStoreProvider","useSmartCheckboxListStore","createStore","SmartCheckboxListContent","_ref$checkedField","DEFAULT_CHECKED_FIELD","_useSmartCheckBoxList","useSmartCheckBoxList","allCheckedValue","handleCheckAll","SelectAllCheckbox","handleChange","GroupedCheckBoxes","_ref2$useExpandAll","areAllExpanded","areAllCollapsed","Label","for","GroupedCheckboxesContent","memo","groupedCheckboxList","CheckboxList","mainListName","checkboxList","_ref6$tooltipField","_ref6$checkboxList","_useCheckboxList","useCheckboxList","groupCheckedValue","handleHeaderCheckboxChange","CheckboxListContent","handleClickExpand","checkboxListPropsCompare","prevProps","nextProps","_prevProps$checkboxLi","_nextProps$checkboxLi","checkboxProps","column","stopPropagation","CollapseArrow","Collapse","isOpened","CheckboxListCheckboxes","_ref8$checkboxList","_ref8$checkedField","_ref8$labelField","_ref8$tooltipField","checkBoxObject","subIndex","BasicSmartCheckbox","ExpandMoreIcon","setChecked","BasicSmartCheckboxContent","_ref11","isInitialLoad","setCheckboxList","allChecked","curr","getBulkCheckVal","_e$target","newList","mainList","setMainList","allGroupChecked","_mainList$listIndex","_mainList$listIndex2","handleHeaderCheckboxChangeCaptures","_e$target2","_e$target2$element","syntheticEvent","element","defaultEntityName","defaultFileListName","tempFileEndpoint","_ref$useDiv","Wrapper","ToggleProvider","FileDisplay","DrawerToggler","FileUploadDrawer","_ref2$entityName","_ref2$fileListName","_useToggleState","useToggleState","pluralEntityName","plural","isFileUploaded","useIsFileUploaded","RowCol","_ref3$fileListName","_ref3$entityName","_ref3$isEdit","setFiles","_useToggleState3","_useFileUploadHelpers","useFileUploadHelpers","deleteTempFiles","isOldFile","setIsOldFile","fileControllerName","downloadActionName","onClickReplace","DownloadFileText","endpointActionName","optionalParams","Grid","_props$dataItem","_props$dataItem2","f","_ref5$entityName","_ref5$fileListName","_useFileUploadHelpers2","_useToggleState5","_useToggleState6","handleButtonClick","_formValues$attachmen2","_formValues$fileListN","_formValues$fileListN2","isSave","_formValues$attachmen","_args2","ControlledModalFormDrawer","_formValues$attachmen3","_f$attachmentType","setFileList","useClearFileFields","deleteUrlWithId","useDeleteTempFiles","SzimekSignature","_ref$signatureImage","signatureImage","_ref$setDisableDelete","setDisableDeleteButton","_ref$setDisableSaveBu","setDisableSaveButton","_ref$allowSave","allowSave","sigCanvas","isSigning","setIsSigning","setSignature","showCanvas","getCanvas","hidden","hideCanvas","clear","ReactSignatureCanvas","canvasProps","margin","border","top","left","TopazSignature","setShowCanvas","confirmSignatureCallback","float","marginLeft","topazDetected","ex","sigImageRef","isDeleting","setIsDeleting","blankImage","disableDeleteButton","_useState9","_useState10","isInitialized","setIsInitialized","signatureEndpointExists","deleteEndpointExists","putResponse","AlertIcon","alt","MeetingAttachmentMoveFileStampForm","MoveFileStamp","MeetingAttachmentMoveFileStampFormData","stampToMove","clearFormFields","setColor","setFontSize","setOpacity","setPages","setLocation","_fileStamps$","hasMultipleFileStamps","convertToPdf","stampDocument","fileStampId","_yield$API$post","_data","meetingAttachmentId","finish","UpdateMeetingAttachment","MeetingAttachmentConvertToPdf","DeleteMeetingAttachment","FileStampMeetingAttachment","isPdf","MoveStampMeetingAttachment","caseId","hasStampMetadata","RemoveStampMeetingAttachment","CoordinatorMeetingBanners","AgendaCoordinatorSearchModel","AgendaCoordinatorContent","setMeeting","setMeetingId","_useSessionStorage","_useSessionStorage2","_searchModel$meeting","_searchModel$meetingT","AgendaCoordniatorViewGrid","expandField","useSubGrid","detail","ActionItemsDetailGrid","ActionItemDetailColumnCell","ActionItemDisplayCell","hasActionItems","isParentSection","isSubsectionParent","isApproved","isCoordinatorReviewed","ActionItemColumnReorderCell","CoordinatorNoteCell","coordinatorComments","PreMeetingAgendaSearchModel","PreMeetingAgendaContent","PreMeetingAgendaViewGrid","limitToCurrentDepartment","ViewHistoricalAgendaModel","ViewHistoricalAgendaViewGrid","HistoricalAgendaActionsCell","viewResults","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AA,OAAAhC,EAAAkB,MAAA,KAAAC,UAAA,KAqBjB,OACE2N,cAAA,MAAAf,SACEe,cAACsB,KAAM,CAACnM,UAAuC,QAAnB,OAAR8M,QAAQ,IAARA,OAAQ,EAARA,EAAU0C,oBAAoDtP,KAAnB,OAAR4M,QAAQ,IAARA,OAAQ,EAARA,EAAU0C,eACtC,QAAb,OAAR1C,QAAQ,IAARA,OAAQ,EAARA,EAAUkpC,cAAwC91C,KAAb,OAAR4M,QAAQ,IAARA,OAAQ,EAARA,EAAUkpC,SAA6C,MAAb,OAARlpC,QAAQ,IAARA,OAAQ,EAARA,EAAUkpC,QAAelsC,SAC5Fe,cAACuK,KAAe,CAAC3F,YAAa,CAACvH,IAAWqH,eAAgBrH,IAAWm/B,sBAAsBv9B,SACzFe,cAACyK,KAAU,CACTC,YAAam2F,IACbhgG,UAAU,uBACVsB,QAAS,kBAAMy+F,EAAoB,OAAR3+F,QAAQ,IAARA,OAAQ,EAARA,EAAUe,GAAY,OAARf,QAAQ,IAARA,OAAQ,EAARA,EAAU0C,aACzC,OAAR1C,QAAQ,IAARA,OAAQ,EAARA,EAAU0/B,qBAA8B,OAAR1/B,QAAQ,IAARA,OAAQ,EAARA,EAAU2/B,UAAmB,OAAR3/B,QAAQ,IAARA,OAAQ,EAARA,EAAUgB,KAAK,SAOlF,C","file":"static/js/main.f0f5a8a6.chunk.js","sourcesContent":["import create from 'zustand';\n\nexport interface RouteState {\n routeLabels: string[];\n addRoute: (route: string) => void;\n clearRoutes: () => void;\n removeRoute: (route: string) => void;\n}\n\nexport const useRouteStore = create((set) => ({\n routeLabels: [],\n addRoute: (route: string) =>\n set((state: RouteState) => {\n return { routeLabels: [...state.routeLabels, route] };\n }),\n clearRoutes: () => set({ routeLabels: [] }),\n removeRoute: (route: string) =>\n set((state: RouteState) => {\n return { routeLabels: state.routeLabels.filter((r) => r !== route) };\n }),\n}));\n","import { useGoogleLogin } from '@react-oauth/google';\nimport {\n AsyncStatus,\n FormStatus,\n HOTKEYS,\n isNullEmptyOrUndefined,\n useApiWorker,\n useBlobToastrErrors,\n useDownloadingToast,\n useFormState,\n useSafeStateUpdate,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AuthActionTypes, useAuthDispatch } from 'Context';\nimport { RouteState, useRouteStore } from 'Context/RouteStore';\nimport { AgendaEndpoints } from 'Models';\nimport axios, { CancelTokenSource } from 'axios';\nimport download from 'downloadjs';\nimport { useCallback, useEffect, useMemo, useState } from 'react';\nimport { Options, useHotkeys } from 'react-hotkeys-hook';\nimport { DEFAULT_TITLE } from './Constants';\n\nexport const useFileDownloader = () => {\n const API = useApiWorker();\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n\n const downloadFile = async (\n endpoint: string,\n objectName: string,\n onSuccess?: (response: any) => void,\n onError?: (response: any) => void,\n entityName?: string\n ) => {\n showLoadingToast(`Downloading ${entityName ?? objectName}, please wait...`);\n await API.get(endpoint, {\n responseType: 'blob',\n })\n .then(async (response) => {\n const mimeType = response.headers['content-type'];\n if (mimeType === 'application/pdf') {\n var fileURL = URL.createObjectURL(response.data);\n const pdfWindow = window.open();\n if (pdfWindow != null) pdfWindow.location.href = fileURL;\n } else {\n download(response.data, objectName, mimeType);\n }\n onSuccess && onSuccess(response.data);\n })\n .catch(async (error) => {\n console.log(error.response);\n onError && onError(error.response);\n });\n\n hideLoadingToast();\n };\n\n return { downloadFile };\n};\n\nexport const usePostFileDownloader = () => {\n const API = useApiWorker();\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n const toastrErrors = useBlobToastrErrors('Error generating document.');\n\n const downloadFile = async (\n endpoint: string,\n postModel: any,\n objectName: string,\n onSuccess?: (response: any) => void,\n onError?: (response: any) => void,\n onFinally?: () => void,\n entityName?: string\n ) => {\n showLoadingToast(`Downloading ${entityName ?? objectName}, please wait...`);\n await API.post(endpoint, postModel, {\n responseType: 'blob',\n validateStatus: (s) => s <= 500,\n })\n .then(async (response) => {\n const mimeType = response.headers['content-type'];\n if (response.status !== 200) {\n toastrErrors(response);\n } else if (mimeType === 'application/pdf') {\n var fileURL = URL.createObjectURL(response.data);\n window.open(fileURL, objectName);\n } else {\n download(response.data, objectName, mimeType);\n }\n onSuccess && onSuccess(response.data);\n })\n .catch(async (error) => {\n console.log(error.response);\n onError && onError(error.response);\n })\n .finally(() => {\n hideLoadingToast();\n onFinally && onFinally();\n });\n };\n\n return { downloadFile };\n};\n\nexport function useBlobFetcher(url: string, condition = true) {\n const API = useApiWorker();\n const [fetchStatus, setFetchStatus] = useState(AsyncStatus.Idle);\n const [data, setData] = useState();\n const safeStateUpdate = useSafeStateUpdate();\n\n const getData = useCallback(\n async (cancelTokenSource?: CancelTokenSource) => {\n safeStateUpdate(() => setFetchStatus(AsyncStatus.Pending));\n\n try {\n const { data: blobData, headers } = await API.get(url, {\n cancelToken: cancelTokenSource?.token,\n responseType: 'blob',\n });\n\n if (blobData !== undefined) {\n safeStateUpdate(() => setData(blobData));\n\n safeStateUpdate(() => setFetchStatus(AsyncStatus.Success));\n\n return blobData;\n } else {\n safeStateUpdate(() => {\n setFetchStatus(AsyncStatus.Error);\n });\n\n return null;\n }\n } catch (err) {\n if (axios.isCancel(err)) {\n safeStateUpdate(() => setFetchStatus(AsyncStatus.Cancelled));\n }\n\n safeStateUpdate(() => {\n setFetchStatus(AsyncStatus.Error);\n });\n\n return null;\n }\n },\n [url, condition]\n );\n\n useEffect(() => {\n let cancelTokenSource = axios.CancelToken.source();\n if (condition) {\n getData(cancelTokenSource);\n } else {\n setFetchStatus(AsyncStatus.Idle);\n }\n\n return () => cancelTokenSource.cancel();\n }, [url, condition, getData]);\n\n return [data, fetchStatus, { getData }] as const;\n}\n\nexport const useDocumentTitle = (\n subTitle: string,\n nestRoutes = true,\n clearOnDismount = false\n) => {\n const routeLabels = useRouteStore((state: RouteState) => state.routeLabels);\n const addRoute = useRouteStore((state: RouteState) => state.addRoute);\n const removeRoute = useRouteStore((state: RouteState) => state.removeRoute);\n const clearRoutes = useRouteStore((state: RouteState) => state.clearRoutes);\n const fullTitle = useMemo(() => {\n let title = nestRoutes ? routeLabels.join(' - ') : subTitle;\n return [DEFAULT_TITLE, title]\n .filter((v) => !isNullEmptyOrUndefined(v))\n .join(' - ');\n }, [subTitle, routeLabels, nestRoutes]);\n\n useEffect(() => {\n if (nestRoutes && !isNullEmptyOrUndefined(subTitle)) {\n addRoute(subTitle);\n }\n\n return () => {\n clearOnDismount ? clearRoutes() : removeRoute(subTitle);\n };\n }, [subTitle]);\n\n return fullTitle;\n};\n\nexport function useFormSubmitHotkeys(\n formValues: any,\n alternateEndpoint?: string,\n alternateHandleSuccess?: (r: any) => any,\n alternateHandleError?: (e: any) => any\n) {\n const { formStatus, submitData } = useFormState();\n const isSubmitting = formStatus === FormStatus.Submitting;\n useHotkeys(\n HOTKEYS.ENTER,\n (e) => {\n var target = e.target as any;\n if (\n !target.classList.contains('k-dropdownlist') &&\n !target.classList.contains('k-dropdown-wrap') &&\n !target.classList.contains('k-multiselect')\n ) {\n submitData(\n formValues,\n alternateEndpoint,\n alternateHandleSuccess,\n alternateHandleError\n );\n }\n },\n {\n enableOnFormTags: ['input'],\n } as Options\n );\n}\n\nexport const useGoogleApiWorker = () => {\n const dispatch = useAuthDispatch();\n const API = useApiWorker();\n const toast = useToasts();\n const development = process.env.NODE_ENV === 'development';\n var googleApiUrl = development\n ? `${process.env.REACT_APP_GOOGLE_API_URL}`\n : `${window.GOOGLE_API_URL}`;\n\n const axiosConfig = {\n baseURL: googleApiUrl,\n headers: {\n Accept: '*/*',\n },\n };\n\n const apiWorker = axios.create(axiosConfig);\n\n const authorize = useGoogleLogin({\n include_granted_scopes: true,\n flow: 'auth-code',\n scope: 'https://www.googleapis.com/auth/youtube',\n onSuccess: async (tokenResponse) => {\n var resp = await API.post(\n AgendaEndpoints.organizations.controllerActionString('setGoogleTokens'),\n { code: tokenResponse.code }\n );\n\n dispatch({ type: AuthActionTypes.SetOrganization, payload: resp.data });\n toast.success('Successfully updated the Google Token.');\n setTimeout(() => {\n window.location.reload();\n }, 3000);\n },\n onError: (response) => {\n console.log('ERROR: ', response);\n },\n });\n\n const post = async (endpoint: string, data?: {}) => {\n var token = await API.get(\n AgendaEndpoints.organizations.controllerActionString('refreshAccessToken')\n );\n const broadcast = await apiWorker.post(endpoint, data, {\n headers: { Authorization: 'Bearer ' + token.data },\n });\n };\n\n const get = async (endpoint: string) => {\n var token = await API.get(\n AgendaEndpoints.organizations.controllerActionString('refreshAccessToken')\n );\n const broadcast = await apiWorker.get(endpoint, {\n headers: { Authorization: 'Bearer ' + token.data },\n });\n };\n return [authorize, get, post] as const;\n};\n\nexport const useToastrErrors = () => {\n const toastr = useToasts();\n return async (response: any) => {\n if (response?.data?.errors) {\n Object.keys(response.data.errors).map((key: string) =>\n toastr.error(response.data.errors[key])\n );\n } else if (response?.errors) {\n Object.keys(response.errors).map((key: string) =>\n toastr.error(response.errors[key])\n );\n } else return;\n };\n};\n","import { AdminSubRouteConfig, SubRoutes } from \"Components/Navigation/NavigationTypes\";\nimport { CommitteeAuditLog, CommitteeOverview, CommitteePreferences } from \"Features/Committees\";\nimport { CommitteeDocuments } from \"Features/Committees/CommitteeAttachments\";\nimport { CommitteeMembers } from \"Features/Committees/CommitteeMembers\";\nimport { CommitteePositions } from \"Features/Committees/CommitteePositions\";\nimport { Permission } from \"Models\";\n\nexport enum CommitteeSubRoute {\n Overview = '/Overview',\n Members = '/Members', \n Positions = '/Positions',\n Documents = '/Documents',\n Preferences = '/Preferences',\n AuditLog = '/AuditLog',\n}\n\nexport const CommitteeSubRoutes: SubRoutes = {\n [CommitteeSubRoute.Overview]: new AdminSubRouteConfig(\n CommitteeSubRoute.Overview,\n 'Overview',\n CommitteeOverview,\n true,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeSubRoute.Positions]: new AdminSubRouteConfig(\n CommitteeSubRoute.Positions,\n 'Positions',\n CommitteePositions,\n false,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeSubRoute.Members]: new AdminSubRouteConfig(\n CommitteeSubRoute.Members,\n 'Members',\n CommitteeMembers,\n false,\n [Permission.ViewCommitteeMembers],\n ), \n [CommitteeSubRoute.Documents]: new AdminSubRouteConfig(\n CommitteeSubRoute.Documents,\n 'Documents',\n CommitteeDocuments,\n false,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeSubRoute.Preferences]: new AdminSubRouteConfig(\n CommitteeSubRoute.Preferences,\n 'Preferences',\n CommitteePreferences,\n false,\n [Permission.EditCommitteePreferences],\n ),\n [CommitteeSubRoute.AuditLog]: new AdminSubRouteConfig(\n CommitteeSubRoute.AuditLog,\n 'Audit Log',\n CommitteeAuditLog,\n true,\n [Permission.ViewAuditLogs],\n ),\n};\n","import {\n AdminSubRouteConfig,\n SubRoutes,\n} from 'Components/Navigation/NavigationTypes';\nimport {\n ActionItemSearch,\n CommitteeApplicationSearch,\n} from 'Features/DetailedSearch';\nimport { Permission } from 'Models';\n\nexport enum DetailedSearchSubRoute {\n ActionItems = '/ActionItems',\n CommiteeApplications = '/CommitteeApplications',\n}\n\nexport const DetailedSearchSubRoutes: SubRoutes = {\n [DetailedSearchSubRoute.ActionItems]: new AdminSubRouteConfig(\n DetailedSearchSubRoute.ActionItems,\n 'Action Items',\n ActionItemSearch,\n false,\n [Permission.ViewDetailedActionItemSearch]\n ),\n [DetailedSearchSubRoute.CommiteeApplications]: new AdminSubRouteConfig(\n DetailedSearchSubRoute.CommiteeApplications,\n 'Commitee Applications',\n CommitteeApplicationSearch,\n false,\n [Permission.ViewDetailedCommitteeApplicationSearch]\n ),\n};\n","import {\n useModalHelpers,\n useGridState,\n useGridSelectionsState,\n useGridSelectionHelpers,\n buildEndpoint,\n isNullEmptyOrUndefined,\n FlexWrapper,\n PageCardRow,\n PageCardSection,\n Render,\n EMPTY_GUID,\n SelectionPreviewGrid,\n FormProvider,\n ModalDialog,\n} from '@techsharegov/react-ui';\nimport { RadioButton } from '@progress/kendo-react-inputs';\nimport { AttachmentEmbed, MultiModalFormDialogContent } from 'Components';\nimport { SignaturesModal, METHODS } from 'Models';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { useToastrErrors } from 'Features/Utilities';\n\ntype BulkSignModalProps = {\n idFieldName: string;\n endpoint: string;\n};\n\nexport const BulkSignModal: React.FC = ({\n idFieldName,\n endpoint,\n children,\n}) => {\n const { isOpen, simpleSuccessHandler, toggle } = useModalHelpers(\n SignaturesModal.BulkSign\n );\n const { refreshGrid } = useGridState();\n const toastErrors = useToastrErrors();\n const { selections } = useGridSelectionsState();\n const { clearSelections } = useGridSelectionHelpers();\n const handleSuccess = (data: any) => {\n simpleSuccessHandler('Documents signed successfully.');\n clearSelections();\n refreshGrid();\n };\n const handleError = (data: any) => {\n toastErrors(data);\n };\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nconst BulkSignModalFormContent: React.FC = ({\n endpoint,\n idFieldName,\n children,\n}) => {\n const { selectedDataItems } = useGridSelectionsState();\n const [selectedId, setSelectedId] = useState(\n isNullEmptyOrUndefined(selectedDataItems)\n ? undefined\n : selectedDataItems[Object.keys(selectedDataItems)[0]][idFieldName]\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype BulkSignaturesPreviewListProps = {\n selectedId: string;\n setSelectedId?: (item?: any) => void;\n idFieldName: string;\n};\n\nconst BulkSignaturesPreviewList: React.FC = ({\n selectedId,\n setSelectedId,\n idFieldName,\n children,\n}) => {\n const documentCellPreviewSelectionRender = (props: GridCellProps) => {\n const dataItem = props.dataItem as any;\n const clickHandle = () => {\n if (setSelectedId) {\n setSelectedId(dataItem[idFieldName]);\n }\n };\n\n return (\n \n \n \n );\n };\n\n return (\n \n \n {children}\n \n );\n};\n","import {\n MainArea,\n GridProvider,\n MultiModalProvider,\n IFilterConfig,\n DropdownFilterConfig,\n FilterBarFilterType,\n defaultGridProps,\n DateDisplayCell,\n buildEndpoint,\n FilterConfig,\n DropdownItemModel,\n ActionsDropdownConfig,\n EmptyHeaderCell,\n FilteredSelectableGrid,\n FilterBarProvider,\n GridSelectionsProvider,\n FilterBar,\n GridSelectionActionsBar,\n ActionsDropdownItem,\n ActionsDropdownProps,\n DropdownType,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, METHODS, Permission, SignaturesModal } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { useAuthState } from 'Context';\nimport {\n ActionsEllipsisCell,\n CommaSeparatedListCell,\n FileDownloadButtonCell,\n} from 'Components';\nimport { Routes } from 'Navigation';\nimport {\n SignDocumentModalItem,\n SignDocumentModal,\n} from 'Features/Shared/SignDocumentModal';\nimport { BulkSignModal } from 'Features/Shared/BulkSignModal';\nimport {\n useFileDownloader,\n useViewActionItemDocuments,\n} from 'Features/Utilities';\n\nclass PendingSignaturesSearch {\n constructor(userId?: string, userName?: string) {\n var currentUser = new DropdownItemModel();\n currentUser.id = userId;\n currentUser.name = userName;\n this.assignedTo = currentUser;\n }\n\n subject?: string;\n assignedTo?: DropdownItemModel;\n}\n\nexport const ActionItemSignatures: React.FC = () => {\n const { currentUser } = useAuthState();\n const filters: IFilterConfig[] = [\n new FilterConfig('subject', FilterBarFilterType.SearchText, 'Subject...'),\n new FilterConfig(\n 'submissionNumber',\n FilterBarFilterType.TextInput,\n 'Submission Number'\n ),\n new DropdownFilterConfig(\n 'assignedTo',\n FilterBarFilterType.AsyncDropdown,\n 'Assigned To',\n {\n readEndpoint:\n AgendaEndpoints.users.controllerActionString('getFiltered'),\n multiSelect: false,\n }\n ),\n new FilterConfig(\n 'meetingDate',\n FilterBarFilterType.DateRange,\n 'Meeting Date'\n ),\n ];\n\n var actionDropdownItems: ActionsDropdownItem[] = [\n {\n name: 'Bulk Sign',\n permissions: [Permission.BulkSignActionItemAttachment],\n modalConfig: {\n modalComponent: (\n \n \n \n \n ),\n modalId: SignaturesModal.BulkSign,\n },\n },\n ];\n\n var actionsDropdownConfig: ActionsDropdownProps = {\n items: actionDropdownItems,\n name: 'Bulk Actions',\n type: DropdownType.Outline,\n isSmall: true,\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const ActionItemAttachmentPendingSignaturesGrid: React.FC = () => {\n return (\n \n \n (\n \n )}\n width={50}\n />\n \n \n \n \n \n (\n \n )}\n />\n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n const dataItem = props.dataItem;\n const viewActionItemDocuments = useViewActionItemDocuments();\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'View Action Item',\n url: Routes.ViewActionItem + '/' + dataItem.actionItemId,\n permissions: [Permission.ViewActionItem],\n },\n {\n name: 'View Document(s)',\n onClick: async () =>\n await viewActionItemDocuments(dataItem.actionItemId),\n permissions: [Permission.ViewActionItemAttachment],\n },\n {\n name: 'Sign',\n permissions: [Permission.SignActionItemAttachment],\n modalConfig: {\n modalId: SignaturesModal.Sign,\n entityId: dataItem?.id,\n modalItem: new SignDocumentModalItem(\n dataItem?.id,\n buildEndpoint(\n AgendaEndpoints.actionitemattachments.base,\n dataItem?.id,\n METHODS.Sign\n ),\n buildEndpoint(\n AgendaEndpoints.actionitemattachments.base,\n dataItem?.actionItemId,\n METHODS.Stream\n )\n ),\n modalComponent: ,\n },\n condition: dataItem?.canSign,\n },\n ],\n };\n\n return (\n \n );\n};\n","import {\n MainArea,\n GridProvider,\n MultiModalProvider,\n IFilterConfig,\n DropdownFilterConfig,\n FilterBarFilterType,\n defaultGridProps,\n DateDisplayCell,\n buildEndpoint,\n FilterConfig,\n DropdownItemModel,\n ActionsDropdownConfig,\n EmptyHeaderCell,\n FilteredSelectableGrid,\n FilterBarProvider,\n GridSelectionsProvider,\n FilterBar,\n GridSelectionActionsBar,\n ActionsDropdownItem,\n ActionsDropdownProps,\n DropdownType,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, METHODS, Permission, SignaturesModal } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { useAuthState } from 'Context';\nimport {\n ActionsEllipsisCell,\n CommaSeparatedListCell,\n FileDownloadButtonCell,\n} from 'Components';\nimport {\n SignDocumentModalItem,\n SignDocumentModal,\n} from 'Features/Shared/SignDocumentModal';\nimport { BulkSignModal } from 'Features/Shared/BulkSignModal';\n\nclass PendingSignaturesSearch {\n constructor(userId?: string, userName?: string) {\n var currentUser = new DropdownItemModel();\n currentUser.id = userId;\n currentUser.name = userName;\n this.assignedTo = currentUser;\n }\n\n description?: string;\n assignedTo?: DropdownItemModel;\n}\n\nexport const MeetingSignatures: React.FC = () => {\n const { currentUser } = useAuthState();\n const filters: IFilterConfig[] = [\n new FilterConfig(\n 'description',\n FilterBarFilterType.SearchText,\n 'Description...'\n ),\n new DropdownFilterConfig(\n 'assignedTo',\n FilterBarFilterType.AsyncDropdown,\n 'Assigned To',\n {\n readEndpoint:\n AgendaEndpoints.users.controllerActionString('getFiltered'),\n multiSelect: false,\n }\n ),\n new FilterConfig(\n 'meetingDate',\n FilterBarFilterType.DateRange,\n 'Meeting Date'\n ),\n new FilterConfig(\n 'meetingTypes',\n FilterBarFilterType.Dropdown,\n 'Meeting Type',\n {\n readEndpoint: AgendaEndpoints.meetingtypes.dropdownItems,\n },\n undefined,\n true\n ),\n ];\n\n var actionDropdownItems: ActionsDropdownItem[] = [\n {\n name: 'Bulk Sign',\n permissions: [Permission.BulkSignMeetingAttachment],\n modalConfig: {\n modalComponent: (\n \n \n \n \n ),\n modalId: SignaturesModal.BulkSign,\n },\n },\n ];\n\n var actionsDropdownConfig: ActionsDropdownProps = {\n items: actionDropdownItems,\n name: 'Bulk Actions',\n type: DropdownType.Outline,\n isSmall: true,\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const MeetingAttachmentPendingSignaturesGrid: React.FC = () => {\n return (\n \n \n (\n \n )}\n width={50}\n />\n \n \n \n \n (\n \n )}\n />\n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n const dataItem = props.dataItem;\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Sign',\n permissions: [Permission.SignMeetingAttachment],\n modalConfig: {\n modalId: SignaturesModal.Sign,\n entityId: dataItem?.id,\n modalItem: new SignDocumentModalItem(\n dataItem?.id,\n buildEndpoint(\n AgendaEndpoints.meetingattachments.base,\n dataItem?.id,\n METHODS.Sign\n ),\n buildEndpoint(\n AgendaEndpoints.meetingattachments.base,\n dataItem?.id,\n METHODS.Stream\n )\n ),\n modalComponent: ,\n },\n condition: dataItem?.canSign,\n },\n ],\n };\n\n return (\n \n );\n};\n","import {\n SubRoutes,\n AdminSubRouteConfig,\n} from 'Components/Navigation/NavigationTypes';\nimport { ActionItemSignatures } from 'Features/PendingSignatures';\nimport { MeetingSignatures } from 'Features/PendingSignatures/MeetingSignatures';\nimport { Permission } from 'Models';\n\nexport enum PendingSignaturesSubRoute {\n ActionItemSignatures = '/ActionItemSignatures',\n MeetingSignatures = '/MeetingSignatures',\n}\n\nexport const PendingSignaturesSubRoutes: SubRoutes = {\n [PendingSignaturesSubRoute.ActionItemSignatures]: new AdminSubRouteConfig(\n PendingSignaturesSubRoute.ActionItemSignatures,\n 'Action Item Signatures',\n ActionItemSignatures,\n true,\n [Permission.ActionItemViewPendingSignatures]\n ),\n [PendingSignaturesSubRoute.MeetingSignatures]: new AdminSubRouteConfig(\n PendingSignaturesSubRoute.MeetingSignatures,\n 'Meeting Signatures',\n MeetingSignatures,\n false,\n [Permission.MeetingViewPendingSignatures]\n ),\n};\n","import {\n SubNavConfigMap,\n SubRoutes,\n} from 'Components/Navigation/NavigationTypes';\nimport { Routes } from './RouteNames';\nimport { CommitteeSubRoutes } from './SubRoutes/CommitteesSubRoutes';\nimport mapValues from 'lodash/mapValues';\nimport { mapSubroutesToNavConfigItems } from './NavigationHelpers';\nimport { DetailedSearchSubRoutes } from './SubRoutes/DetailedSearchSubRoutes';\nimport { CommitteeWithApplicationSubRoutes } from './SubRoutes/CommitteeWithApplicationSubRoutes';\nimport { PendingSignaturesSubRoutes } from './SubRoutes/PendingSignaturesSubRoutes';\n\ntype SubRoutesMapType = {\n [x: string]: SubRoutes;\n};\n\nexport const SUBROUTES_MAP: SubRoutesMapType = {\n [Routes.CommitteesView]: CommitteeSubRoutes,\n [Routes.CommitteesWithApplicationView]: CommitteeWithApplicationSubRoutes,\n [Routes.DetailedSearch]: DetailedSearchSubRoutes,\n [Routes.PendingSignatures]: PendingSignaturesSubRoutes,\n};\n\nexport const SUB_NAV_CONFIG_MAP: SubNavConfigMap = mapValues(\n SUBROUTES_MAP,\n (subRoutes) => mapSubroutesToNavConfigItems(subRoutes)\n);\n","import { AdminSubRouteConfig, SubRoutes } from \"Components/Navigation/NavigationTypes\";\nimport { CommitteeAuditLog, CommitteeOverview, CommitteePreferences } from \"Features/Committees\";\nimport { CommitteeApplications } from \"Features/Committees/CommitteeApplications\";\nimport { CommitteeDocuments } from \"Features/Committees/CommitteeAttachments\";\nimport { CommitteeMembers } from \"Features/Committees/CommitteeMembers\";\nimport { CommitteePositions } from \"Features/Committees/CommitteePositions\";\nimport { Permission } from \"Models\";\n\nexport enum CommitteeWithApplicationSubRoute {\n Overview = '/Overview',\n Members = '/Members', \n Positions = '/Positions',\n Documents = '/Documents',\n Preferences = '/Preferences',\n AuditLog = '/AuditLog',\n Applications = '/Applications',\n}\n\nexport const CommitteeWithApplicationSubRoutes: SubRoutes = {\n [CommitteeWithApplicationSubRoute.Overview]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Overview,\n 'Overview',\n CommitteeOverview,\n true,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeWithApplicationSubRoute.Positions]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Positions,\n 'Positions',\n CommitteePositions,\n false,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeWithApplicationSubRoute.Members]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Members,\n 'Members',\n CommitteeMembers,\n false,\n [Permission.ViewCommitteeMembers],\n ), \n [CommitteeWithApplicationSubRoute.Documents]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Documents,\n 'Documents',\n CommitteeDocuments,\n false,\n [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n ),\n [CommitteeWithApplicationSubRoute.Preferences]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Preferences,\n 'Preferences',\n CommitteePreferences,\n false,\n [Permission.EditCommitteePreferences],\n ),\n [CommitteeWithApplicationSubRoute.Applications]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.Applications,\n 'Applications',\n CommitteeApplications,\n false,\n [Permission.ViewCommitteeApplications],\n ),\n [CommitteeWithApplicationSubRoute.AuditLog]: new AdminSubRouteConfig(\n CommitteeWithApplicationSubRoute.AuditLog,\n 'Audit Log',\n CommitteeAuditLog,\n true,\n [Permission.ViewAuditLogs],\n ),\n};\n","import React, { Fragment } from 'react';\n\nimport PageviewIcon from '@mui/icons-material/Pageview';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n AsyncGrid,\n buildRoute,\n ButtonStyle,\n defaultGridProps,\n DisplayBlock,\n EMPTY_GUID,\n FormProvider,\n IconButton,\n InputType,\n MainArea,\n SecureComponent,\n SmartInputBlock,\n ThemeColor,\n toLocalDateTime,\n useDataFetcher,\n useGridSearch,\n} from '@techsharegov/react-ui';\nimport { CustomCell } from 'Components';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport { useParams } from 'react-router-dom';\nimport { Alert, Row } from 'reactstrap';\nimport format from 'xml-formatter';\n\nclass ElmahErrorSearch {\n searchKey?: string;\n}\n\nexport const ElmahErrors: React.FC = () => {\n const searchModel = new ElmahErrorSearch();\n\n return (\n \n \n \n \n \n \n );\n};\n\nconst ElmahErrorsSearchFields: React.FC = () => {\n return (\n \n \n \n );\n};\n\nconst ElmahErrorsGrid: React.FC = () => {\n const [debounceSearchModel, gridToggler] = useGridSearch();\n\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n const value = props.dataItem[props.field || ''];\n return (\n \n \n \n \n \n );\n};\n\nconst LocalDateTimeCell: React.FC = (props: GridCellProps) => (\n \n);\n\nclass ElmahErrorModel {\n application?: string;\n host?: string;\n type?: string;\n source?: string;\n message?: string;\n user?: string;\n timeUtcWithOffset?: string;\n allXml?: string;\n}\n\nexport const ElmahError: React.FC = () => {\n const { id = EMPTY_GUID } = useParams();\n const [data] = useDataFetcher(\n buildRoute(AgendaEndpoints.elmaherrors.base, id),\n new ElmahErrorModel(),\n (response) => {\n var responseData = response?.data;\n var txt = document.createElement('textarea');\n txt.innerHTML = responseData.allXml ?? '';\n responseData.allXml = txt.value;\n return responseData;\n },\n ElmahErrorModel\n );\n const timeLocal =\n data?.timeUtcWithOffset === undefined\n ? ''\n : toLocalDateTime(data?.timeUtcWithOffset);\n\n return (\n \n

{data?.type}

\n
{data?.message}
\n
\n \n \n \n \n \n \n \n \n

\n {data?.allXml === undefined ? '' : format(data.allXml)}\n

\n
\n
\n );\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n defaultGridProps,\n EnumerationCell,\n GridProvider,\n InlineGridWithHeader,\n useEnums,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\n\nexport const AttachmentTypes: React.FC = () => {\n const { entityEventType } = useEnums();\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst SystemDefineTypeCell: React.FC = (\n props: GridCellProps\n) => {\n const { systemDefineType } = useEnums();\n\n return ;\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n GridProvider,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n useEnums,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell, useEditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\n\nexport const Departments: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Department\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const DepartmentsGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n const deleteEndpoint = AgendaEndpoints.departments.base;\n const { deleteItem, value } = useEditDeleteCell({\n deleteEndpoint,\n ...otherProps,\n });\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n url: buildEndpoint(\n AgendaEndpoints.departments.addedit,\n otherProps.dataItem.id\n ),\n permissions: [Permission.EditDepartment],\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteDepartment],\n },\n ],\n };\n return (\n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n defaultDataTransform,\n DeleteButtonPosition,\n FormErrorDisplay,\n InputType,\n PageCard,\n PageCardRow,\n PageCardRowSection,\n PageCardSection,\n SmartFormList,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { defaultFormatName, ListSectionProps } from 'Components';\nimport { AgendaEndpoints, Department } from 'Models';\nimport { Row } from 'reactstrap';\n\nexport const AddEditDepartment: React.FC = () => {\n const entityName = 'Department';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.departments.addedit, id),\n new Department(),\n defaultDataTransform,\n Department\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst DepartmentAddEditFormContent: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst DepartmentHeadListSection: React.FC = ({\n formatInputName = defaultFormatName,\n}) => {\n return (\n \n \n \n \n \n );\n};\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n AsyncGrid,\n FileDownloadCell,\n GridProvider,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n ViewHeader,\n YesNoBooleanCell,\n buildEndpoint,\n buildQueryUrl,\n defaultGridProps,\n useEnums,\n} from '@techsharegov/react-ui';\nimport {\n ActionsEllipsisCell,\n EditDeleteCell,\n FileNameDownloadCell,\n useEditDeleteCell,\n} from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport { Fragment } from 'react';\n\nexport const DocumentTemplates: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Document Template\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const DocumentTemplatesGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n (\n \n )}\n />\n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n const deleteEndpoint = AgendaEndpoints.documenttemplates.base;\n const { deleteItem, value } = useEditDeleteCell({\n deleteEndpoint,\n ...otherProps,\n });\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n url: buildEndpoint(\n AgendaEndpoints.documenttemplates.addedit,\n otherProps.dataItem.id\n ),\n permissions: [Permission.EditDocumentTemplates],\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteDocumentTemplates],\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: otherProps.dataItem.id,\n fileId: otherProps.dataItem.fileId,\n fileName: otherProps.dataItem.fileName,\n endpoint: AgendaEndpoints.documenttemplates.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n },\n ],\n };\n return (\n \n );\n};\n","import HighlightOffIcon from '@mui/icons-material/HighlightOff';\nimport {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ButtonStyle,\n ColSize,\n CoreEnum,\n defaultDataTransform,\n DisplayBlock,\n FormActionTypes,\n IconButton,\n InputType,\n PageCard,\n PageCardRow,\n PageCardSection,\n Render,\n SmartInputBlock,\n TaskPageHeaderLayout,\n ThemeColor,\n useAddEditSuccessHandler,\n useDataFetcher,\n useEnums,\n useFormState,\n useFormStateValue,\n useFormUpdater,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { SmartFileUploader } from 'Components';\nimport { AgendaEndpoints, DocumentTemplate, FileTypes } from 'Models';\nimport { useState } from 'react';\nimport { DropdownItem, Row } from 'reactstrap';\n\nexport const AddEditDocumentTemplate: React.FC = () => {\n const entityName = 'Document Template';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.documenttemplates.addedit, id),\n new DocumentTemplate(),\n defaultDataTransform,\n DocumentTemplate\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst DocumentTemplateAddEditFormContent: React.FC = () => {\n const { documentTemplateType } = useEnums();\n const { formValues } = useFormState();\n const [isAdd, setIsAdd] = useState(!formValues.id);\n const sendUpdate = useFormUpdater();\n const [documentTemplateTypeValue, setDocumentTemplateTypeValue] =\n useFormStateValue('documentTemplateType');\n const [actionItemConfigurationValue, setActionItemConfigurationValue] =\n useFormStateValue('actionItemConfiguration');\n\n const removeTemplateFile = () => {\n setIsAdd(!isAdd);\n sendUpdate(FormActionTypes.UpdateValue, { field: 'fileId', value: null });\n };\n\n const documentTemplateTypeChangeHandler = (e: any) => {\n setDocumentTemplateTypeValue(e.value);\n if (e.value !== 'Action Item Form') {\n setActionItemConfigurationValue(undefined);\n }\n };\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n {' '}\n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n );\n};\n","import React from 'react';\nimport { AgendaEndpoints, METHODS } from 'Models/Templates/Routes/Routes';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport FileCopyIcon from '@mui/icons-material/FileCopy';\nimport { Download } from '@mui/icons-material';\nimport { DocumentTemplateType } from './DocumentTemplateModels';\nimport {\n ActionsDropdown,\n ActionsDropdownItem,\n DropdownType,\n FilterBarFilterType,\n FilterBarMainGrid,\n FilterConfig,\n FormProvider,\n GridButtonSection,\n GridProvider,\n IFilterConfig,\n IconButton,\n MainArea,\n Render,\n SubHeaderLayout,\n ViewHeader,\n buildEndpoint,\n buildQueryUrl,\n copyToken,\n defaultGridProps,\n getSeeMoreCell,\n useEnums,\n useExportDropdownConfig,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { useFileDownloader } from 'Features/Utilities/CommonHooks';\n\nclass TokenSearch {\n name?: string;\n documentTemplateType?: DocumentTemplateType;\n}\n\nexport const DocumentTemplateTokens: React.FC = () => {\n const searchModel = new TokenSearch();\n return (\n \n (\n \n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nconst DocumentTemplatesGrid: React.FC = () => {\n const { documentTemplateType } = useEnums();\n\n const filters: IFilterConfig[] = [\n new FilterConfig(\n 'name',\n FilterBarFilterType.SearchText,\n 'Name or Description'\n ),\n new FilterConfig(\n 'documentTemplateType',\n FilterBarFilterType.EnumDropdown,\n 'Document Template Type',\n { data: documentTemplateType }\n ),\n ];\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nconst ExportButton: React.FC = () => {\n const exportDropdownConfig = useExportDropdownConfig(\n AgendaEndpoints.documenttokens.controllerActionString(METHODS.EXPORT),\n 'Tokens'\n );\n\n return (\n \n );\n};\n\nconst ActionsCell: React.FC = ({ dataItem }) => {\n const toast = useToasts();\n const onClick = () => {\n toast.info('Token Copied');\n copyToken(dataItem.token);\n };\n const fileDownloader = useFileDownloader();\n const endpoint = buildEndpoint(\n AgendaEndpoints.documenttokens.base,\n METHODS.DownloadImagePlaceholder\n );\n const downloadImage = async () => {\n fileDownloader.downloadFile(\n buildQueryUrl(endpoint, { filename: dataItem.placeholderName }),\n dataItem.placeholderName\n );\n };\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import { CoreEnum, FileModel, NamedCoreEnum } from \"@techsharegov/react-ui\";\n\nexport class DocumentTemplateType extends CoreEnum {}\n\nexport class DocumentTemplate extends FileModel {\n constructor() {\n super();\n this.isActive = true;\n this.documentTemplateType = new DocumentTemplateType();\n }\n\n name?: string;\n description?: string;\n isActive: boolean;\n documentTemplateType?: DocumentTemplateType;\n officeName?: string;\n isMinute?: boolean;\n isRestricted?: boolean;\n isSealed?: boolean;\n}\n\nexport class DocumentTemplateInputField {\n constructor(templateId?: string, label?: string, token?: string) {\n this.templateId = templateId;\n this.label = label || '';\n this.token = token || '';\n }\n id?: string;\n templateId?: string;\n label?: string;\n token?: string;\n}\n\nexport class DocumentTemplateDynamicFields {\n templateId?: string;\n dynamicFields?: DocumentTemplateDynamicField[];\n}\n\nexport class DocumentTemplateDynamicField {\n id?: string;\n type?: string;\n label?: string;\n value?: any;\n checkboxValue?: string;\n dropdownData?: string[];\n}\n\nexport class CustomExportLanguage {\n id?: string;\n text?: string;\n exportDocumentType?: NamedCoreEnum;\n}\n","import {\n useEnums,\n GridProvider,\n SecureComponent,\n AddButton,\n defaultGridProps,\n YesNoBooleanCell,\n buildEndpoint,\n AsyncGrid,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { Routes } from 'Navigation';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\n\nexport const MeetingTypes: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Meeting Type\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const MeetingTypesGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n","import { AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport React, { Fragment } from 'react';\nimport { Row } from 'reactstrap';\nimport { MeetingTypeSectionsModal } from '.';\nimport {\n AsyncLoadingSection,\n ColumnLayout,\n EMPTY_GUID,\n InputType,\n MultiModalFormDialog,\n Render,\n SmartInputBlock,\n buildEndpoint,\n defaultDataTransform,\n useDataFetcher,\n useEnums,\n useFormStateValue,\n useGridState,\n useModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\n\ntype AddEditMeetingTypeSectionProps = {\n id?: string;\n meetingTypeId: string;\n parentMeetingTypeSectionId?: string;\n};\n\nclass AddEditMeetingTypeSectionModel {\n constructor(\n meetingTypeId: string = EMPTY_GUID,\n id: string = EMPTY_GUID,\n parentMeetingTypeSectionId: string = EMPTY_GUID\n ) {\n this.meetingTypeId = meetingTypeId;\n this.id = id;\n this.parentMeetingTypeSectionId = parentMeetingTypeSectionId;\n }\n id?: string;\n meetingTypeId: string;\n parentMeetingTypeSectionId?: string;\n}\n\nexport const AddEditMeetingTypeSection: React.FC<\n AddEditMeetingTypeSectionProps\n> = ({ meetingTypeId, id, parentMeetingTypeSectionId }) => {\n const modalId = MeetingTypeSectionsModal.AddEditMeetingTypeSection;\n const { toggle, isOpen } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const isAdd = id === null;\n const addUpdated = isAdd ? 'added' : 'updated';\n const addUpdate = isAdd ? 'Add' : 'Update';\n\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.meetingtypesections.addedit, id),\n new AddEditMeetingTypeSectionModel(\n meetingTypeId,\n id,\n parentMeetingTypeSectionId\n ),\n defaultDataTransform,\n AddEditMeetingTypeSectionModel,\n isOpen && !isAdd\n );\n\n const handleSuccess = () => {\n toast.success('Meeting Type Section has been ' + addUpdated);\n refreshGrid();\n toggle();\n };\n\n data.meetingTypeId = meetingTypeId;\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport const AddEditMeetingTypeSectionContent: React.FC = () => {\n const { orderingConvention } = useEnums();\n const [isRollCall] = useFormStateValue('isRollCall');\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {/* \n \n \n */}\n \n );\n};\n","import { AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport React from 'react';\nimport { Row } from 'reactstrap';\nimport { MeetingTypeSectionsModal } from '.';\nimport { ColumnLayout, EMPTY_GUID, InputType, MultiModalFormDialog, Render, SmartInputBlock, useEnums, useGridState, useModalHelpers, useToasts } from '@techsharegov/react-ui';\n\ntype AddMeetingTypeSectionChildProps = {\n meetingTypeId: string;\n parentMeetingTypeSectionId?: string;\n};\n\nclass AddMeetingTypeSectionModelChild {\n constructor(meetingTypeId: string = EMPTY_GUID, \n parentMeetingTypeSectionId: string = EMPTY_GUID) {\n this.meetingTypeId = meetingTypeId;\n this.parentMeetingTypeSectionId = parentMeetingTypeSectionId;\n this.isActive = true;\n }\n meetingTypeId: string;\n parentMeetingTypeSectionId?: string;\n isActive?: boolean;\n}\n\nexport const AddMeetingTypeSectionChild: React.FC = ({ \n meetingTypeId,\n parentMeetingTypeSectionId,\n}) => {\n const modalId = MeetingTypeSectionsModal.AddMeetingTypeSectionChild;\n const { toggle, isOpen } = useModalHelpers(modalId);\n const { orderingConvention } = useEnums();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n var data = new AddMeetingTypeSectionModelChild(meetingTypeId, parentMeetingTypeSectionId);\n\n const handleSuccess = () => {\n toast.success('Child Meeting Type Section has been added');\n refreshGrid();\n toggle();\n };\n \n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n useEnums,\n GridProvider,\n SecureComponent,\n AddButton,\n defaultGridProps,\n buildEndpoint,\n AsyncGrid,\n SubHeaderLayout,\n ViewHeader,\n ActionsDropdownConfig,\n useApiWorker,\n useToasts,\n useGridState,\n MultiModalProvider,\n useModalHelpers,\n Render,\n EMPTY_GUID,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AddEditMeetingTypeSection } from './AddEditMeetingTypeSection';\nimport { AddMeetingTypeSectionChild } from './AddMeetingTypeSectionChild';\n\nexport enum MeetingTypeSectionsModal {\n AddEditMeetingTypeSection = 'addeditmeetingtypesection',\n AddMeetingTypeSectionChild = 'addmeetingtypesectionchild',\n}\n\nexport type MeetingTypeSectionsProps = {\n meetingTypeId: string;\n};\n\nexport const MeetingTypeSections: React.FC = ({\n meetingTypeId,\n}) => {\n const { entityEventType } = useEnums();\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport type MeetingTypeSectionsHolderProps = {\n meetingTypeId: string;\n};\n\nexport const MeetingTypeSectionsHolder: React.FC = ({\n meetingTypeId,\n}) => {\n const { setUpAdd, isOpen } = useModalHelpers(\n MeetingTypeSectionsModal.AddEditMeetingTypeSection\n );\n\n return (\n \n (\n \n setUpAdd()}>New Section\n \n }\n />\n )}\n >\n \n \n \n \n \n \n );\n};\n\nexport type MeetingTypeSectionsGridProps = {\n meetingTypeId: string;\n};\n\nexport const MeetingTypeSectionsGrid: React.FC<\n MeetingTypeSectionsGridProps\n> = ({ meetingTypeId }) => {\n const search = {\n id: meetingTypeId,\n };\n\n return (\n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ dataItem, ...otherProps }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (\n window.confirm(\n 'Are you sure you want to delete this and all of its children?'\n )\n ) {\n await API.delete(\n buildEndpoint(AgendaEndpoints.meetingtypesections.base, dataItem.id)\n );\n toast.success('Meeting Type Section has been deleted');\n refreshGrid();\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit Section',\n permissions: [Permission.EditMeetingTypeSection],\n modalConfig: {\n modalId: MeetingTypeSectionsModal.AddEditMeetingTypeSection,\n modalComponent: (\n \n ),\n entityId: dataItem.id,\n },\n },\n {\n name: 'Delete Section',\n permissions: [Permission.DeleteMeetingTypeSection],\n onClick: deleteItem,\n },\n {\n name: 'Add Child Section',\n permissions: [Permission.EditMeetingTypeSection],\n modalConfig: {\n modalId: MeetingTypeSectionsModal.AddMeetingTypeSectionChild,\n modalComponent: (\n \n ),\n },\n },\n ],\n };\n\n return ;\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n buildQueryUrl,\n ColumnLayout,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n Render,\n SmartInputBlock,\n SmartTextAreaTokenInsert,\n TaskPageHeaderLayout,\n TokenModel,\n useAddEditSuccessHandler,\n useApiWorker,\n useDataFetcher,\n useEnums,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, MeetingTypeModel } from 'Models';\nimport React, { useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { MeetingTypeSections } from './MeetingTypeSections';\n\nexport const AddEditMeetingType: React.FC = () => {\n const entityName = 'Meeting Type';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.meetingtypes.addedit, id),\n new MeetingTypeModel(),\n defaultDataTransform,\n MeetingTypeModel\n );\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst MeetingTypesAddEditFormContent: React.FC = ({ ...otherProps }) => {\n const { orderingConvention } = useEnums();\n const [tokens, setTokens] = useState([]);\n const [hasLoadedTokens, setHasLoadedTokens] = useState(false);\n const API = useApiWorker();\n\n useEffect(() => {\n if(!hasLoadedTokens) {\n setHasLoadedTokens(true);\n (async function loadTokens() {\n var { data } = await API.get(\n AgendaEndpoints.meetingtypes.controllerActionString(\"tokens\")\n );\n setTokens(data); \n })(); \n }\n });\n \n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n AddButton,\n buildEndpoint,\n defaultGridProps,\n GridSelectionsProvider,\n MainArea,\n MainGrid,\n MultiModalProvider,\n SecureComponent,\n SubHeaderLayout,\n useEnums,\n useToggler,\n ViewHeader,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React from 'react';\n\nexport const Roles: React.FC = () => {\n return (\n \n \n \n );\n};\n\nconst UserManagementRolesContent: React.FC = () => {\n const [refreshToggle, refreshGrid] = useToggler();\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Role\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n return (\n \n );\n};\n\nconst RoleGrid: React.FC<{ refreshToggle?: boolean }> = ({ refreshToggle }) => {\n return (\n <>\n \n \n \n \n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildRoute,\n ColSize,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRow,\n PageCardSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { SmartCheckboxList } from 'Components';\nimport { useAuthHelpers } from 'Context';\nimport { AgendaEndpoints, Role } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditRole: React.FC = () => {\n const entityName = 'User Role';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const { refreshUser } = useAuthHelpers();\n const [data, fetchStatus] = useDataFetcher(\n buildRoute(AgendaEndpoints.roles.base, id),\n new Role(),\n defaultDataTransform,\n Role\n );\n\n const refreshUserAndHandleSuccess = async () => {\n await refreshUser();\n handleSuccess();\n };\n\n return (\n \n \n \n \n \n );\n};\n\nconst RolesAddEditFormContent: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n buildEndpoint,\n ActionsDropdownItem,\n PageCardSection,\n ActionsDropdown,\n DropdownType,\n} from '@techsharegov/react-ui';\nimport { SignatureCapture } from 'Components';\nimport { useFileDownloader } from 'Features/Utilities';\nimport { AgendaEndpoints, METHODS, Permission } from 'Models';\n\nexport type UserSignatureProps = {\n id?: string;\n};\n\nexport const UserSignature: React.FC = ({ id }) => {\n const fileDownloader = useFileDownloader();\n\n const downloadPlaceholder = async () => {\n fileDownloader.downloadFile(\n buildEndpoint(\n AgendaEndpoints.users.base,\n id,\n METHODS.DownloadSignaturePlaceholder\n ),\n id + '.png'\n );\n };\n\n const dropdownItems: ActionsDropdownItem[] = [\n {\n name: 'Download Signature Placeholder',\n onClick: () => downloadPlaceholder(),\n permissions: [Permission.ViewUser],\n },\n ];\n\n return (\n \n }\n >\n \n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n buildRoute,\n defaultDataTransform,\n DropdownItemModel,\n EMPTY_GUID,\n GridColumnWidth,\n InputType,\n PageCard,\n PageCardRow,\n PageCardSection,\n Render,\n SecureComponent,\n SingleSectionPageCard,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useEnums,\n useFormState,\n useFormStateValue,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { SignatureCapture, SmartCheckboxList } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { User } from 'Models/SharedModels';\nimport React, { Fragment, useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { UserSignature } from './UserSignature';\n\nexport const AddEditUser: React.FC = () => {\n const [id, isAdd] = useIdParam();\n return (\n \n );\n};\n\ntype AddEditUserFormProps = {\n title: string;\n loadEndpoint: string;\n isAdd?: boolean;\n};\n\nexport const AddEditUserForm: React.FC = ({\n title,\n loadEndpoint,\n isAdd = false,\n}) => {\n const entityName = 'User';\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n loadEndpoint,\n new User(),\n defaultDataTransform,\n User\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst UsersAddEditFormContent: React.FC = () => {\n const { defaultHomepage } = useEnums();\n const [id] = useIdParam();\n const [departments] = useFormStateValue(\n 'departments'\n );\n const [, setDefaultDepartment] = useFormStateValue<\n DropdownItemModel | undefined\n >('defaultDepartment');\n useEffect(() => {\n if (departments && departments.length > 0) return;\n setDefaultDepartment(undefined);\n }, [departments]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 0}>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n AddButton,\n buildEndpoint,\n defaultGridProps,\n FilterBarFilterType,\n FilterBarMainGrid,\n FilterConfig,\n FormProvider,\n GridProvider,\n MainArea,\n SecureComponent,\n SeeMoreCell,\n SubHeaderLayout,\n useEnums,\n ViewHeader,\n ViewHeaderPlain,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React, { Fragment } from 'react';\nclass UserSearch {\n searchKey?: string;\n roleSearchKey?: string;\n}\n\nexport const Users: React.FC = () => {\n const { entityEventType } = useEnums();\n const searchModel = new UserSearch();\n\n return (\n (\n \n \n New User\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nconst UsersGrid: React.FC = () => {\n return (\n \n \n {/* \n \n New User\n \n */}\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n return (\n \n );\n};\n","import {\n useFormStateValue,\n isNullOrUndefined,\n isNullEmptyOrUndefined,\n DateDisplayBlock,\n DateTimeDisplayBlock,\n DisplayBlock,\n toCurrencyString,\n DisplayListBlock,\n DisplayBlockProps,\n} from '@techsharegov/react-ui';\nimport { asYesNoDisplay } from 'LibraryUtilities';\nimport { isObjectLike } from 'lodash';\n\nexport type SmartFormDisplayBlockProps = Partial & {\n name: string;\n label?: string;\n isDate?: boolean;\n isDateTime?: boolean;\n asYesNo?: boolean;\n isCurrency?: boolean;\n};\n\nexport const SmartFormDisplayBlock = ({\n name,\n value,\n label,\n title = label || '',\n isDate,\n isDateTime,\n asYesNo,\n isCurrency,\n ...displayBlockProps\n}: SmartFormDisplayBlockProps) => {\n const [displayValue] = useFormStateValue(name);\n let trueDisplayValue = isNullOrUndefined(value) ? displayValue : value;\n if (\n !isNullEmptyOrUndefined(trueDisplayValue) &&\n isObjectLike(trueDisplayValue)\n ) {\n trueDisplayValue =\n 'displayName' in trueDisplayValue\n ? trueDisplayValue['displayName']\n : 'name' in trueDisplayValue\n ? trueDisplayValue['name']\n : '';\n }\n\n if (isDate)\n return (\n \n );\n\n if (isDateTime)\n return (\n \n );\n\n if (asYesNo)\n return (\n \n );\n\n if (isCurrency)\n return (\n \n );\n\n if (Array.isArray(trueDisplayValue))\n return (\n \n );\n\n return (\n \n );\n};\n","import {\n buildRoute,\n AsyncLoadingSection,\n DropdownItemModel,\n InputType,\n PageCard,\n PageCardRow,\n PageCardSection,\n Render,\n SecureComponent,\n SingleSectionPageCard,\n SmartInputBlock,\n TaskPageHeaderLayout,\n buildEndpoint,\n defaultDataTransform,\n useAddEditSuccessHandler,\n useDataFetcher,\n useEnums,\n useFormStateValue,\n ColumnLayout,\n GridColumnWidth,\n ActionsDropdown,\n DropdownType,\n ActionsDropdownItem,\n buildQueryUrl,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, METHODS, Permission, User } from 'Models';\nimport { useAuthState } from 'Context';\nimport { SignatureCapture } from 'Components';\nimport { useEffect, Fragment } from 'react';\nimport { Row } from 'reactstrap';\nimport { SmartFormDisplayBlock } from 'Components/Display/SmartDisplayBlock';\nimport { useFileDownloader } from 'Features/Utilities';\nimport { UserSignature } from './UserSignature';\n\nexport const EditUserProfile: React.FC = () => {\n const entityName = 'User Profile';\n const handleSuccess = useAddEditSuccessHandler(entityName, false);\n const { currentUser } = useAuthState();\n const [data, loadingStatus] = useDataFetcher(\n buildRoute(AgendaEndpoints.users.base, currentUser?.id),\n new User(),\n defaultDataTransform,\n User\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst EditUserProfileFormContent: React.FC = () => {\n const { defaultHomepage } = useEnums();\n const { currentUser } = useAuthState();\n const [departments] = useFormStateValue(\n 'departments'\n );\n const [, setDefaultDepartment] = useFormStateValue<\n DropdownItemModel | undefined\n >('defaultDepartment');\n useEffect(() => {\n if (departments && departments.length > 0) return;\n setDefaultDepartment(undefined);\n }, [departments]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 0}>\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n AddButton,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n GridProvider,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n useEnums,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport { Fragment } from 'react';\n\nexport const WorkflowTransitions: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Workflow Transition\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const WorkflowTransitionsGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ColumnLayout,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useEnums,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, WorkflowTransitionModel } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditWorkflowTransitions: React.FC = () => {\n const entityName = 'Workflow Transition';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.workflowtransitions.addedit, id),\n new WorkflowTransitionModel(),\n defaultDataTransform,\n WorkflowTransitionModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst WorkflowTransitionsAddEditFormContent: React.FC = ({ ...otherProps }) => {\n const { workflowStatus } = useEnums();\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n useEnums,\n GridProvider,\n SecureComponent,\n AddButton,\n defaultGridProps,\n YesNoBooleanCell,\n buildEndpoint,\n AsyncGrid,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { Routes } from 'Navigation';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\n\nexport const ActionItemConfigurations: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Action Item Configuration\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const ActionItemConfigurationsGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ColumnLayout,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useEnums,\n useFormStateValue,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, ActionItemConfigurationModel } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditActionItemConfiguration: React.FC = () => {\n const entityName = 'Action Item Configuration';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitemconfigurations.addedit, id),\n new ActionItemConfigurationModel(),\n defaultDataTransform,\n ActionItemConfigurationModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst ActionItemConfigurationAddEditFormContent: React.FC = ({ ...otherProps }) => {\n const { actionItemType } = useEnums();\n const [isApprovedByVisible, setIsApprovedByVisible] = useFormStateValue('isApprovedByVisible');\n const [isApprovedByRequired, setIsApprovedByRequired] = useFormStateValue('isApprovedByRequired');\n const [isPreparedByVisible, setIsPreparedByVisible] = useFormStateValue('isPreparedByVisible');\n const [isPreparedByRequired, setIsPreparedByRequired] = useFormStateValue('isPreparedByRequired');\n const [isStaffRecommendationVisible, setIsStaffRecommendationVisible] = useFormStateValue('isStaffRecommendationVisible');\n const [isStaffRecommendationRequired, setIsStaffRecommendationRequired] = useFormStateValue('isStaffRecommendationRequired');\n const [isActionRequestedVisible, setIsActionRequestedVisible] = useFormStateValue('isActionRequestedVisible');\n const [isActionRequestedRequired, setIsActionRequestedRequired] = useFormStateValue('isActionRequestedRequired');\n const [isFiscalImpactVisible, setIsFiscalImpactVisible] = useFormStateValue('isFiscalImpactVisible');\n const [isFiscalImpactRequired, setIsFiscalImpactRequired] = useFormStateValue('isFiscalImpactRequired');\n const [isPageCountVisible, setIsPageCountVisible] = useFormStateValue('isPageCountVisible');\n const [isPageCountRequired, setIsPageCountRequired] = useFormStateValue('isPageCountRequired');\n const [isAddAttachmentSectionVisible, setIsAddAttachmentSectionVisible] = useFormStateValue('isAddAttachmentSectionVisible');\n const [isAddAttachmentSectionRequired, setIsAddAttachmentSectionRequired] = useFormStateValue('isAddAttachmentSectionRequired');\n const [isCdaApprovalVisible, setIsCdaApprovalVisible] = useFormStateValue('isCdaApprovalVisible');\n const [isCdaApprovalRequired, setIsCdaApprovalRequired] = useFormStateValue('isCdaApprovalRequired');\n const [isBudgetReviewedVisible, setIsBudgetReviewedVisible] = useFormStateValue('isBudgetReviewedVisible');\n const [isBudgetReviewedRequired, setIsBudgetReviewedRequired] = useFormStateValue('isBudgetReviewedRequired');\n const [isAuditReviewedVisible, setIsAuditReviewedVisible] = useFormStateValue('isAuditReviewedVisible');\n const [isAuditReviewedRequired, setIsAuditReviewedRequired] = useFormStateValue('isAuditReviewedRequired');\n const [isBackgroundVisible, setIsBackgroundVisible] = useFormStateValue('isBackgroundVisible');\n const [isBackgroundRequired, setIsBackgroundRequired] = useFormStateValue('isBackgroundRequired');\n const [isItemDescriptionVisible, setIsItemDescriptionVisible] = useFormStateValue('isItemDescriptionVisible');\n const [isItemDescriptionRequired, setIsItemDescriptionRequired] = useFormStateValue('isItemDescriptionRequired');\n const [isCertificationOfFundsVisible, setIsCertificationOfFundsVisible] = useFormStateValue('isCertificationOfFundsVisible');\n const [isCertificationOfFundsRequired, setIsCertificationOfFundsRequired] = useFormStateValue('isCertificationOfFundsRequired');\n\n const approvedByVisibleChangeHandler = (e: any) => {\n setIsApprovedByVisible(e.value);\n if(!e.value){\n setIsApprovedByRequired(false);\n }\n }\n\n const preparedByVisibleChangeHandler = (e: any) => {\n setIsPreparedByVisible(e.value);\n if(!e.value){\n setIsPreparedByRequired(false);\n }\n }\n\n const staffRecommendationVisibleChangeHandler = (e: any) => {\n setIsStaffRecommendationVisible(e.value);\n if(!e.value){\n setIsStaffRecommendationRequired(false);\n }\n }\n\n const actionRequestedVisibleChangeHandler = (e: any) => {\n setIsActionRequestedVisible(e.value);\n if(!e.value){\n setIsActionRequestedRequired(false);\n }\n }\n\n const fiscalImpactVisibleChangeHandler = (e: any) => {\n setIsFiscalImpactVisible(e.value);\n if(!e.value){\n setIsFiscalImpactRequired(false);\n }\n }\n\n const pageCountVisibleChangeHandler = (e: any) => {\n setIsPageCountVisible(e.value);\n if(!e.value){\n setIsPageCountRequired(false);\n }\n }\n\n const addCdaApprovalVisibleChangeHandler = (e: any) => {\n setIsCdaApprovalVisible(e.value);\n if(!e.value){\n setIsCdaApprovalRequired(false);\n }\n }\n\n const isBudgetReviewedVisibleChangeHandler = (e: any) => {\n setIsBudgetReviewedVisible(e.value);\n if(!e.value){\n setIsBudgetReviewedRequired(false);\n }\n }\n\n const isAuditReviewedVisibleChangeHandler = (e: any) => {\n setIsAuditReviewedVisible(e.value);\n if(!e.value){\n setIsAuditReviewedRequired(false);\n }\n }\n\n const backgroundVisibleChangeHandler = (e: any) => {\n setIsBackgroundVisible(e.value);\n if(!e.value){\n setIsBackgroundRequired(false);\n }\n }\n\n const itemDescriptionVisibleChangeHandler = (e: any) => {\n setIsItemDescriptionVisible(e.value);\n if(!e.value){\n setIsItemDescriptionRequired(false);\n }\n }\n\n\n const addAttachmentSectionVisibleChangeHandler = (e: any) => {\n setIsAddAttachmentSectionVisible(e.value);\n if(!e.value){\n setIsAddAttachmentSectionRequired(false);\n }\n }\n\n const certificationOfFundsVisibleChangeHandler = (e: any) => {\n setIsCertificationOfFundsVisible(e.value);\n if(!e.value){\n setIsCertificationOfFundsRequired(false);\n }\n }\n\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
  • Meeting Type
  • \n
  • Meeting Date
  • \n
  • Section/Department
  • \n
  • Subject
  • \n
\n
\n
\n \n \n
\n
\n Approved By: \n
\n
\n \n \n
\n \n
\n
\n Prepared By: \n
\n
\n \n \n
\n \n
\n
\n Staff Recommendation: \n
\n
\n \n \n
\n \n
\n
\n Action Requested: \n
\n
\n \n \n
\n \n
\n
\n Fiscal Impact: \n
\n
\n \n \n
\n \n
\n
\n Page Count: \n
\n
\n \n \n
\n \n
\n
\n CDA Approval: \n
\n
\n \n \n
\n \n
\n
\n Budget Reviewed:\n
\n
\n \n \n
\n \n
\n
\n Audit Reviewed:\n
\n
\n \n \n
\n \n
\n
\n Background:\n
\n
\n \n \n
\n \n
\n
\n Item Description:\n
\n
\n \n \n
\n \n
\n
\n Certification Of Funds Section: \n
\n
\n \n \n
\n \n
\n
\n Add Attachment Section: \n
\n
\n \n \n
\n
\n
\n );\n};\n","import {\n addEditTitle,\n Alert,\n AlertsDisplay,\n AlertType,\n AsyncLoadingSection,\n buildEndpoint,\n ButtonSize,\n InputType,\n PageCard,\n PageCardRowSection,\n PageCardSection,\n PrimaryButton,\n Render,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useEnums,\n useIdParam,\n useSimpleDataFetcher,\n useToasts,\n Widths,\n} from '@techsharegov/react-ui';\nimport { AddAttachmentsSection } from 'Features/Shared';\nimport { AgendaEndpoints, CONTROLLERS, OrganizationModel } from 'Models';\nimport { useGoogleApiWorker } from 'Features/Utilities';\nimport React, { Fragment } from 'react';\nimport { Row } from 'reactstrap';\n\nexport const EditOrganizationConfiguration: React.FC = () => {\n const entityName = 'Organization Configuration';\n const [id, isAdd] = useIdParam();\n const toast = useToasts();\n const [data, loadingStatus] = useSimpleDataFetcher(\n buildEndpoint(AgendaEndpoints.organizations.controllerActionString('edit')),\n new OrganizationModel()\n );\n\n const orgSuccessHandler = () => {\n toast.success('Successfully updated organization configuration.');\n setTimeout(() => {\n window.location.reload();\n }, 2500);\n };\n\n return (\n \n \n \n \n \n );\n};\n\ntype OrganizationEditFormContentProps = {\n data: OrganizationModel;\n};\n\nconst OrganizationEditFormContent: React.FC<\n OrganizationEditFormContentProps\n> = ({ data }) => {\n const { actionTaken } = useEnums();\n\n let alerts: Alert[] = [];\n if (data?.googleUserName == null || data?.googleUserName === '') {\n alerts.push(\n new Alert(\n AlertType.Info,\n 'Save Google Username to show Google Authorization button'\n )\n );\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n
\n
\n \n \n \n
\n
\n
\n );\n};\n\nconst GoogleAuthButton: React.FC = ({\n data,\n}) => {\n const [authorize, ,] = useGoogleApiWorker();\n\n return (\n authorize()}\n disabled={data?.googleUserName == null || data.googleUserName === ''}\n >\n {data?.refreshToken ? 'Reauthorize' : 'Authorize'}\n \n );\n};\n","import {\n useEnums,\n GridProvider,\n SecureComponent,\n AddButton,\n defaultGridProps,\n buildEndpoint,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n DateDisplayCell,\n useToasts,\n ActionsDropdownConfig,\n useApiWorker,\n useGridState,\n IFilterConfig,\n FilterConfig,\n FilterBarFilterType,\n FilterBarMainGrid,\n DropdownItemModel,\n NamedCoreEnum,\n DropdownFilterConfig,\n TimeStampCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { Routes } from 'Navigation';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\n\nclass PublicNoticeSearch{\n department?: DropdownItemModel[];\n committeeType?: DropdownItemModel[];\n meetingDateFrom?: Date;\n meetingDateTo?: Date;\n preparedBy?: DropdownItemModel[];\n assignedTo?: DropdownItemModel[];\n itemType?: NamedCoreEnum;\n}\n\nexport const PublicNotices: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Public Notice\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const PublicNoticesGrid: React.FC = () => {\n const filters: IFilterConfig[] = [\n new DropdownFilterConfig(\n 'publishedBy',\n FilterBarFilterType.AsyncDropdown,\n 'Published By',\n {\n readEndpoint: AgendaEndpoints.users.controllerActionString('getFiltered'),\n multiSelect: true,\n }\n ),\n new FilterConfig('meetingDate', FilterBarFilterType.DateRange, 'Meeting Date'),\n new FilterConfig('publishedDate', FilterBarFilterType.DateRange, 'Published Date'),\n ];\n\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = (props: GridCellProps) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const dataItem = props.dataItem;\n\n const deletePublicNotice = async () => {\n if (window.confirm('Are you sure you want to delete the Public Notice?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.publicnotices.base, dataItem.id)\n );\n if (deleteResponse.status === 200 || deleteResponse.data.isSuccessStatusCode) {\n toast.success('The Public Notice has been removed.');\n } else {\n toast.error('The Public Notice was not able to be deleted. Make sure any attachments are deleted and try again.');\n }\n refreshGrid();\n } catch {\n toast.error('The Public Notice was not able to be deleted. Make sure any attachments are deleted and try again.');\n }\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n url: buildEndpoint(Routes.PublicNoticeAddEdit, dataItem.id),\n permissions: [Permission.EditPublicNotice]\n },\n {\n name: 'Delete',\n onClick: deletePublicNotice,\n permissions: [Permission.DeletePublicNotice]\n }, \n ],\n };\n\n return (\n \n );\n};\n","import {\n SmartFileUploader,\n} from 'Components/Form';\nimport React from 'react';\nimport { Row } from 'reactstrap';\nimport { PublicNoticeAttachmentModal, PublicNoticeAttachmentModel } from './PublicNoticeAttachmentActionCell';\nimport { AsyncStatus, CancelButton, DisplayBlock, DropdownItemModel, FormProvider, FormSubmitButton, InputType, LoadingSection, ModalDrawer, ModalDrawerButtonRow, Render, SmartInputBlock, buildEndpoint, useDataFetcher, useGridState, useModalHelpers, useModalItem } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\n\ntype PublicNoticeAttachmentModalProps = {\n id?: string;\n defaultAttachmentType?: DropdownItemModel;\n};\n\nexport const PublicNoticeAttachmentDrawerFormContent: React.FC = () => {\n const modalId = PublicNoticeAttachmentModal.AddPublicNoticeAttachment;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const isAdd = id === undefined;\n const addOrEditEndpoint = AgendaEndpoints.publicnoticeattachments.controllerActionString(\n isAdd ? 'add' : 'edit'\n );\n const allowMultiple = isAdd;\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Public Notice Attachment updated successfully');\n refreshGrid();\n };\n let [publicNoticeAttachmentModel, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.publicnoticeattachments.base, id),\n new PublicNoticeAttachmentModel(),\n ({ data }) => data,\n undefined,\n !isAdd && isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n Save Public Notice Attachment\n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n buildQueryUrl,\n FileModel,\n useApiWorker,\n useGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React from 'react';\nimport { PublicNoticeAttachmentDrawerFormContent } from './PublicNoticeAttachmentDrawerForm';\n\nexport enum PublicNoticeAttachmentModal {\n AddPublicNoticeAttachment = 'AddPublicNoticeAttachment',\n}\n\nexport class PublicNoticeAttachmentModel extends FileModel {\n comments?: string;\n}\n\nexport type PublicNoticeAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n};\n\nexport const PublicNoticeAttachmentActionCell: React.FC<\n PublicNoticeAttachmentActionCellProps\n> = ({ dataItem, field = '', allowEdits, ...gridprops }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(\n AgendaEndpoints.publicnoticeattachments.base,\n dataItem.id\n )\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n permissions: [Permission.AddPublicNoticeAttachment],\n modalConfig: {\n modalId: PublicNoticeAttachmentModal.AddPublicNoticeAttachment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits,\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeletePublicNoticeAttachment],\n condition: allowEdits,\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: dataItem.id,\n fileId: dataItem.fileId,\n fileName: dataItem.fileName,\n endpoint: AgendaEndpoints.publicnoticeattachments.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n condition: allowEdits && dataItem.extension === '.docx',\n },\n ],\n };\n\n return (\n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n FileDownloadCell,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n PageSectionHeading,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React, { Fragment } from 'react';\nimport { PublicNoticeAttachmentActionCell } from './PublicNoticeAttachmentActionCell';\nimport { FileNameDownloadCell } from 'Components';\n\nclass PublicNoticeSearchModel {\n constructor(id?: string) {\n this.publicNoticeId = id;\n }\n publicNoticeId?: string;\n}\n\ntype PublicNoticeAttachmentsGridProps = {\n publicNoticeId?: string;\n allowEdits?: boolean;\n};\n\nexport const PublicNoticeAttachmentsGrid: React.FC<\n PublicNoticeAttachmentsGridProps\n> = ({ publicNoticeId, allowEdits }) => {\n const searchModel: PublicNoticeSearchModel = new PublicNoticeSearchModel(\n publicNoticeId\n );\n\n return (\n \n Public Notice Attachments\n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n Render,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useFormStateValue,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AddAttachmentsSection } from 'Features/Shared';\nimport { AgendaEndpoints, FileTypes, PublicNoticeModel } from 'Models';\nimport React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { PublicNoticeAttachmentsGrid } from './PublicNoticeAttachmentList';\n\nexport const AddEditPublicNotice: React.FC = () => {\n const entityName = 'Public Notice';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.publicnotices.addedit, id),\n new PublicNoticeModel(),\n defaultDataTransform,\n PublicNoticeModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst PublicNoticeAddEditFormContent: React.FC<{\n data: PublicNoticeModel;\n}> = ({ data }) => {\n const [meetingDate, setMeetingDate] =\n useFormStateValue('meetingDate');\n const [removalDate, setRemovalDate] =\n useFormStateValue('removalDate');\n const [removalTime, setRemovalTime] =\n useFormStateValue('removalTime');\n const [isFirst, setIsFirst] = React.useState(true);\n\n useEffect(() => {\n if (\n !isFirst &&\n meetingDate !== undefined &&\n data?.publicNoticeDurationInHoursDefault !== undefined\n ) {\n var date = new Date(meetingDate);\n date.setHours(date.getHours() + data?.publicNoticeDurationInHoursDefault);\n setRemovalDate(date?.toDateString());\n setRemovalTime(\n new Date(\n date?.toDateString() + ' ' + date?.toLocaleTimeString()\n ).toLocaleString()\n );\n }\n\n setIsFirst(false);\n }, [meetingDate]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport React, { Fragment } from 'react';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport PreviewIcon from '@mui/icons-material/Preview';\nimport { EnumerationCell, GetNestedField, GridInput, GridProvider, InlineGridWithHeader, InputType, defaultGridProps, useEnums } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\n\nexport const NumberGeneratorSettings: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const PreviewCell: React.FC = ({\n dataItem,\n field,\n onChange,\n}) => {\n const value = GetNestedField(dataItem, field as string) as Date;\n\n return (\n \n {dataItem.inEdit ? (\n \n ) : (\n \n \n \n {value}\n \n \n )}\n \n );\n};\n\nconst NumberDropDownCell: React.FC = (props: GridCellProps) => {\n const { generatableNumber } = useEnums();\n\n return ;\n};\n","import {\n addEditTitle,\n InputType,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useIdParam,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport class HeloTestModel { \n baseAddress?: string;\n url?: string;\n methodType?: string;\n}\n\nexport const HeloTest: React.FC = () => {\n const entityName = 'Helo Test';\n const [id, isAdd] = useIdParam();\n const toast = useToasts();\n // const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n // const [data, loadingStatus] = useDataFetcher(\n // buildEndpoint(AgendaEndpoints.actionitemconfigurations.addedit, id),\n // new ActionItemConfigurationModel(),\n // defaultDataTransform,\n // ActionItemConfigurationModel\n // );\n\n const handleSuccess = (e : any) => {\n console.log(e);\n toast.success('Response Code: ' + e);\n };\n\n var data = new HeloTestModel();\n\n return (\n // \n \n \n \n // \n );\n};\n\nconst HeloTestFormContent: React.FC = ({ ...otherProps }) => {\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n AddButton,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n GridProvider,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n useEnums,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell, ReorderCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport { Fragment } from 'react';\nexport const StaffRecommendations: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Staff Recommendation\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const StaffRecommendationsGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n\nconst StaffRecommendationColumnReorderCell: React.FC = ({\n ...props\n}) => {\n const endpoint = AgendaEndpoints.staffrecommendations.controllerActionString(\"reorder\");\n\n return ;\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, StaffRecommendationModel } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditStaffRecommendation: React.FC = () => {\n const entityName = 'Staff Recommendation';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.staffrecommendations.addedit, id),\n new StaffRecommendationModel(),\n defaultDataTransform,\n StaffRecommendationModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst StaffRecommendationsAddEditFormContent: React.FC = ({ ...otherProps }) => {\n \n return (\n \n \n \n \n \n \n \n \n );\n};\n","import React, { Fragment } from \"react\";\nimport {\n GridColumn as Column,\n GridCellProps,\n} from \"@progress/kendo-react-grid\";\nimport {\n EditDeleteCell,\n} from \"Components/Grid\";\nimport { Permission } from \"Models/Templates/Permission/Permission\";\nimport { AddButton, AsyncGrid, GridProvider, MainArea, MainGrid, SecureComponent, SubHeaderLayout, ViewHeader, YesNoBooleanCell, buildEndpoint, defaultGridProps, useEnums } from \"@techsharegov/react-ui\";\nimport { Routes } from \"Navigation\";\nimport { CollapsibleAuditLog } from \"Components/Display/CollapsibleAuditLog\";\nimport { AgendaEndpoints } from \"Models\";\n\nexport const NotificationTemplates: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Notification Template\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n };\n\nconst NotificationTemplateGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n","import { CoreEnum } from \"@techsharegov/react-ui\";\n\nexport class NotificationTemplateDefaultEmail {\n email?: string;\n}\n\nexport class NotificationTemplate {\n constructor() {\n this.isActive = true;\n }\n\n isActive?: boolean;\n title?: string;\n notificationTrigger?: CoreEnum;\n emailSubject?: string;\n emailMessage?: string;\n defaultEmail?: NotificationTemplateDefaultEmail[];\n}\n","import React, { Fragment, useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { ADD_EDIT } from 'Navigation';\nimport {\n AsyncLoadingSection,\n ColumnLayout,\n InputType,\n Render,\n SingleSectionPageCard,\n SmartInputBlock,\n SmartTextAreaTokenInsert,\n TaskPageHeaderLayout,\n TokenModel,\n addEditTitle,\n buildEndpoint,\n buildQueryUrl,\n defaultDataTransform,\n useAddEditSuccessHandler,\n useApiWorker,\n useDataFetcher,\n useEnums,\n useFormState,\n useFormStateValue,\n SmartMultiSectionList,\n useIdParam,\n PageCardRow,\n ListSectionProps,\n defaultFormatName,\n EMPTY_GUID,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { NotificationTemplate } from './NotificationModels';\n\nexport const AddEditNotificationTemplate: React.FC = () => {\n const entityName = 'Notification Template';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.notificationtemplates.base, ADD_EDIT, id),\n new NotificationTemplate(),\n defaultDataTransform,\n NotificationTemplate\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst SendDefaultEmailsComponent: React.FC = () => {\n const { formValues } = useFormState();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype DefaultEmailProps = ListSectionProps & {\n notifiationTemplateId?: string;\n};\n\nconst DefaultEmailContent: React.FC = ({\n formatInputName = defaultFormatName,\n notifiationTemplateId = EMPTY_GUID,\n}) => {\n const [notifiationTemplateIdFormValue, setNotifiationTemplateIdFormValue] =\n useFormStateValue('notifiationTemplateId');\n\n useEffect(() => {\n if (notifiationTemplateIdFormValue === undefined) {\n setNotifiationTemplateIdFormValue(notifiationTemplateId);\n }\n }, []);\n\n return (\n \n );\n};\n\ntype AttachmentProps = {\n notificationTriggerValue?: any;\n};\n\nconst AttachmentsComponent: React.FC = ({\n notificationTriggerValue,\n}) => {\n const { formValues } = useFormState();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype AttachmentTypesProps = ListSectionProps & {\n notifiationTemplateId?: string;\n notificationTriggerValue?: any;\n};\n\nconst AttachmentTypesContent: React.FC = ({\n formatInputName = defaultFormatName,\n notifiationTemplateId = EMPTY_GUID,\n notificationTriggerValue,\n}) => {\n const [notifiationTemplateIdFormValue, setNotifiationTemplateIdFormValue] =\n useFormStateValue('notifiationTemplateId');\n\n useEffect(() => {\n if (notifiationTemplateIdFormValue === undefined) {\n setNotifiationTemplateIdFormValue(notifiationTemplateId);\n }\n }, []);\n\n return (\n ([]);\n const [notificationTriggerValue] = useFormStateValue(\n notificationTriggerFieldName\n );\n const notificationTriggerModel = Object.values(notificationTrigger).find(\n (x) => x.value === notificationTriggerValue?.value\n );\n\n useEffect(() => {\n if (\n notificationTriggerValue !== undefined &&\n notificationTriggerValue != null\n ) {\n (async function loadTokens() {\n var { data } = await API.get(\n buildQueryUrl(\n buildEndpoint(AgendaEndpoints.notificationtemplates.base, 'tokens'),\n {\n notificationTriggerValue: notificationTriggerValue.value,\n }\n )\n );\n setTokens(data);\n })();\n }\n }, [notificationTriggerValue]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n useEnums,\n GridProvider,\n SecureComponent,\n AddButton,\n defaultGridProps,\n YesNoBooleanCell,\n buildEndpoint,\n AsyncGrid,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n} from '@techsharegov/react-ui';\nimport { EditDeleteCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { Routes } from 'Navigation';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\n\nexport const CommitteeApplicationConfigurations: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n New Committee Application Configuration\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const CommitteeApplicationConfigurationsGrid: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ColumnLayout,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n PageCardSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useFormState,\n useFormStateValue,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, CommitteeApplicationConfigurationModel } from 'Models';\nimport React, { Fragment } from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditCommitteeApplicationConfiguration: React.FC = () => {\n const entityName = 'Committee Application Configuration';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeeapplicationconfigurations.addedit, id),\n new CommitteeApplicationConfigurationModel(),\n defaultDataTransform,\n CommitteeApplicationConfigurationModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst CommitteeApplicationConfigurationAddEditFormContent: React.FC = ({ ...otherProps }) => {\n const [isMiddleInitialVisible, setIsMiddleInitialVisible] = useFormStateValue('isMiddleInitialVisible');\n const [isMiddleInitialRequired, setIsMiddleInitialRequired] = useFormStateValue('isMiddleInitialRequired');\n const [isCurrentEmployerVisible, setIsCurrentEmployerVisible] = useFormStateValue('isCurrentEmployerVisible');\n const [isCurrentEmployerRequired, setIsCurrentEmployerRequired] = useFormStateValue('isCurrentEmployerRequired');\n const [isJobTitleVisible, setIsJobTitleVisible] = useFormStateValue('isJobTitleVisible');\n const [isJobTitleRequired, setIsJobTitleRequired] = useFormStateValue('isJobTitleRequired');\n const [isYearsLivedVisible, setIsYearsLivedVisible] = useFormStateValue('isYearsLivedVisible');\n const [isYearsLivedRequired, setIsYearsLivedRequired] = useFormStateValue('isYearsLivedRequired');\n const [isDescribeInterestVisible, setIsDescribeInterestVisible] = useFormStateValue('isDescribeInterestVisible');\n const [isDescribeInterestRequired, setIsDescribeInterestRequired] = useFormStateValue('isDescribeInterestRequired');\n const [isSummaryOfIssuesVisible, setIsSummaryOfIssuesVisible] = useFormStateValue('isSummaryOfIssuesVisible');\n const [isSummaryOfIssuesRequired, setIsSummaryOfIssuesRequired] = useFormStateValue('isSummaryOfIssuesRequired');\n const [isSummaryOfParticipationVisible, setIsSummaryOfParticipationVisible] = useFormStateValue('isSummaryOfParticipationVisible');\n const [isSummaryOfParticipationRequired, setIsSummaryOfParticipationRequired] = useFormStateValue('isSummaryOfParticipationRequired');\n const [isWhatYouHaveToOfferVisible, setIsWhatYouHaveToOfferVisible] = useFormStateValue('isWhatYouHaveToOfferVisible');\n const [isWhatYouHaveToOfferRequired, setIsWhatYouHaveToOfferRequired] = useFormStateValue('isWhatYouHaveToOfferRequired');\n const [isConflictsOfInterestVisible, setIsConflictsOfInterestVisible] = useFormStateValue('isConflictsOfInterestVisible');\n const [isConflictsOfInterestRequired, setIsConflictsOfInterestRequired] = useFormStateValue('isConflictsOfInterestRequired');\n const [isAllowPublicAccessVisible, setIsAllowPublicAccessVisible] = useFormStateValue('isAllowPublicAccessVisible');\n const [isAllowPublicAccessRequired, setIsAllowPublicAccessRequired] = useFormStateValue('isAllowPublicAccessRequired');\n const [isAddAttachmentVisible, setIsAddAttachmentVisible] = useFormStateValue('isAddAttachmentVisible');\n const [isAddAttachmentRequired, setIsAddAttachmentRequired] = useFormStateValue('isAddAttachmentRequired');\n\n const { formValues } = useFormState();\n\n const middleInitialVisibleChangeHandler = (e: any) => {\n setIsMiddleInitialVisible(e.value);\n if(!e.value){\n setIsMiddleInitialRequired(false);\n }\n }\n\n const currentEmployerVisibleChangeHandler = (e: any) => {\n setIsCurrentEmployerVisible(e.value);\n if(!e.value){\n setIsCurrentEmployerRequired(false);\n }\n }\n\n const jobTitleVisibleChangeHandler = (e: any) => {\n setIsJobTitleVisible(e.value);\n if(!e.value){\n setIsJobTitleRequired(false);\n }\n }\n\n const yearsLivedVisibleChangeHandler = (e: any) => {\n setIsYearsLivedVisible(e.value);\n if(!e.value){\n setIsYearsLivedRequired(false);\n }\n }\n\n const describeInterestVisibleChangeHandler = (e: any) => {\n setIsDescribeInterestVisible(e.value);\n if(!e.value){\n setIsDescribeInterestRequired(false);\n }\n }\n\n const summaryOfIssuesVisibleChangeHandler = (e: any) => {\n setIsSummaryOfIssuesVisible(e.value);\n if(!e.value){\n setIsSummaryOfIssuesRequired(false);\n }\n }\n\n const summaryOfParticipationVisibleChangeHandler = (e: any) => {\n setIsSummaryOfParticipationVisible(e.value);\n if(!e.value){\n setIsSummaryOfParticipationRequired(false);\n }\n }\n\n const whatYouHaveToOfferVisibleChangeHandler = (e: any) => {\n setIsWhatYouHaveToOfferVisible(e.value);\n if(!e.value){\n setIsWhatYouHaveToOfferRequired(false);\n }\n }\n\n const conflictsOfInterestVisibleChangeHandler = (e: any) => {\n setIsConflictsOfInterestVisible(e.value);\n if(!e.value){\n setIsConflictsOfInterestRequired(false);\n }\n }\n\n const allowPublicAccessVisibleChangeHandler = (e: any) => {\n setIsAllowPublicAccessVisible(e.value);\n if(!e.value){\n setIsAllowPublicAccessRequired(false);\n }\n }\n\n const addAttachmentVisibleChangeHandler = (e: any) => {\n setIsAddAttachmentVisible(e.value);\n if(!e.value){\n setIsAddAttachmentRequired(false);\n }\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n
  • First Name
  • \n
  • Last Name
  • \n
  • Email Address
  • \n
  • Address
  • \n
  • Phone Number
  • \n
\n
\n
\n
\n \n \n \n \n
\n
\n Middle Initial: \n
\n
\n \n \n
\n \n
\n
\n Current Employer: \n
\n
\n \n \n
\n \n
\n
\n Job Title: \n
\n
\n \n \n
\n \n
\n
\n Years Lived in County: \n
\n
\n \n \n
\n
\n

\n \n \n \n
\n
\n Describe interest in serving: \n
\n
\n \n \n
\n \n
\n
\n Summary of issues/topics: \n
\n
\n \n \n
\n \n
\n
\n Summary of participation: \n
\n
\n \n \n
\n \n
\n
\n What You Have to Offer: \n
\n
\n \n \n
\n \n
\n
\n Conflicts of Interest: \n
\n
\n \n \n
\n
\n

\n \n \n \n
\n
\n Allow Public Access: \n
\n
\n \n \n
\n
\n

\n \n \n \n
\n
\n Add Attachments: \n
\n
\n \n \n
\n
\n
\n
\n );\n};\n","import {\n GridProvider,\n defaultGridProps,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n DateDisplayCell,\n IFilterConfig,\n FilterConfig,\n FilterBarFilterType,\n FilterBarMainGrid,\n DropdownItemModel,\n DropdownFilterConfig,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { CommitteeLinkCell, PositionLinkCell } from 'Features/DetailedSearch';\n\nclass VacantCommitteePositionsSearch{\n committees?: DropdownItemModel[];\n positions?: DropdownItemModel[];\n isVoting?: boolean;\n}\n\nexport const VacantCommitteePositions: React.FC = () => {\n return (\n (\n \n )}\n >\n \n \n \n \n \n \n );\n};\n\nexport const VacantCommitteePositionsGrid: React.FC = () => {\n const filters: IFilterConfig[] = [\n new DropdownFilterConfig(\n 'committees',\n FilterBarFilterType.AsyncDropdown,\n 'Committees',\n {\n readEndpoint: AgendaEndpoints.committees.controllerActionString('dropdownItems'),\n multiSelect: true,\n }\n ),\n new FilterConfig('position', FilterBarFilterType.TextInput, 'Position Title'),\n new FilterConfig('isVoting', FilterBarFilterType.YesNoBooleanRadioGroup, 'Is Voting'),\n ];\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridProvider,\n defaultGridProps,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n DateDisplayCell,\n IFilterConfig,\n FilterConfig,\n FilterBarFilterType,\n FilterBarMainGrid,\n DropdownItemModel,\n DropdownFilterConfig,\n LinkCell,\n useExportDropdownConfig,\n ActionsDropdown,\n DropdownType,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { CommitteeLinkCell, PositionLinkCell } from 'Features/DetailedSearch';\nimport { Routes } from 'Navigation';\nimport { CommitteeWithApplicationSubRoute } from 'Navigation/SubRoutes/CommitteeWithApplicationSubRoutes';\n\nclass ExpiringCommitteeMembersSearch{\n constructor() {\n this.expiresInDays = 30;\n }\n\n committees?: DropdownItemModel[];\n expiresInDays?: number;\n}\n\nexport const ExpiringCommitteeMembers: React.FC = () => {\n return (\n \n (\n \n }\n />\n )}\n >\n \n \n \n \n \n );\n};\n\nexport const ExpiringCommitteeMembersGrid: React.FC = () => {\n const filters: IFilterConfig[] = [\n new DropdownFilterConfig(\n 'committees',\n FilterBarFilterType.AsyncDropdown,\n 'Committees',\n {\n readEndpoint: AgendaEndpoints.committees.controllerActionString('dropdownItems'),\n multiSelect: true,\n }\n ),\n new FilterConfig('expiresInDays', FilterBarFilterType.TextInput, 'Expires In Days'),\n ];\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const MemberLinkCell: React.FC = ({ dataItem, ...props }) => (\n \n);\n\nconst ExportButton: React.FC = () => {\n const exportDropdownConfig = useExportDropdownConfig(\n AgendaEndpoints.reports.controllerActionString(\"exportExpiringCommitteeMembers\"),\n 'Expiring Committee Members'\n );\n\n return (\n \n );\n};\n","import React, { Fragment } from 'react';\nimport {\n DateDisplayCell,\n GridProvider,\n MainGrid,\n MultiModalDialog,\n YesNoBooleanCell,\n defaultGridProps,\n useModalHelpers,\n} from '@techsharegov/react-ui';\nimport {\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { AgendaEndpoints } from 'Models';\nimport { AttendanceModal } from './Attendance';\n\nexport const AttendanceDetailsModal: React.FC = () => {\n const modalId = AttendanceModal.Details;\n const { modalItem } = useModalHelpers(modalId);\n\n return (\n \n \n \n \n \n );\n};\n\ntype AttendanceDetailsGridProps = {\n memberId?: string;\n};\n\nexport const AttendanceDetailsGrid: React.FC = ({\n memberId\n}) => {\n return (\n \n \n \n \n \n \n \n );\n};\n","import {\n GridProvider,\n defaultGridProps,\n SubHeaderLayout,\n ViewHeader,\n MainArea,\n DateDisplayCell,\n IFilterConfig,\n FilterConfig,\n FilterBarFilterType,\n FilterBarMainGrid,\n DropdownItemModel,\n DropdownFilterConfig,\n useExportDropdownConfig,\n ActionsDropdown,\n DropdownType,\n MultiModalProvider,\n useMultiModalHelpers,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Fragment } from 'react';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport { CommitteeLinkCell, PositionLinkCell } from 'Features/DetailedSearch';\nimport { MemberLinkCell } from './ExpiringCommitteeMembers';\nimport { AttendanceDetailsModal } from './AttendanceDetailsModal';\nimport { GroupDescriptor } from '@progress/kendo-data-query';\n\nexport enum AttendanceModal {\n Details = 'details'\n}\n\nclass AttendanceSearch{\n constructor() {\n this.showInactiveMembers = false;\n }\n\n committees?: DropdownItemModel[];\n memberName?: string;\n showInactiveMembers: boolean;\n}\n\nexport const Attendance: React.FC = () => {\n return (\n \n (\n \n }\n />\n )}\n >\n \n \n \n \n \n );\n};\n\nexport const AttendanceGrid: React.FC = () => {\n const filters: IFilterConfig[] = [\n new DropdownFilterConfig(\n 'committees',\n FilterBarFilterType.AsyncDropdown,\n 'Committees',\n {\n readEndpoint: AgendaEndpoints.committees.controllerActionString('dropdownItemsForAttendance'),\n multiSelect: true,\n }\n ),\n new FilterConfig('memberName', FilterBarFilterType.SearchText, 'Member Name'),\n new FilterConfig('showInactiveMembers', FilterBarFilterType.YesNoBooleanRadioGroup, 'Show Inactive Members'),\n ];\n\n const groupSettings: GroupDescriptor[] = [\n {\n dir: 'desc',\n field: 'committeeName',\n },\n ];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const AttendanceDetailsCell: React.FC = ({ dataItem }) => {\n const { setUpEdit } = useMultiModalHelpers();\n\n const openAttendanceDetailsModal = () => {\n setUpEdit(AttendanceModal.Details, \n dataItem?.memberId, \n { \n memberId: dataItem?.memberId, \n title: dataItem?.memberName + \" (\" + dataItem?.attendance + \" attendance)\" \n });\n }\n\n return (\n \n {dataItem?.attendance}\n \n ) \n};\n\nconst ExportButton: React.FC = () => {\n const exportDropdownConfig = useExportDropdownConfig(\n AgendaEndpoints.reports.controllerActionString(\"exportAttendanceReport\"),\n 'Attendance'\n );\n\n return (\n \n );\n};\n","import {\n useEnums,\n GridProvider,\n GridButtonSection,\n SecureComponent,\n AddButton,\n MainGrid,\n defaultGridProps,\n GridColumnWidth,\n buildEndpoint,\n} from '@techsharegov/react-ui';\nimport { AdminSubHeaderMainLayout, EditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, METHODS, Permission } from 'Models';\nimport { Fragment } from 'react';\nimport { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport { Routes } from 'Navigation';\n\nexport const FileStamps: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n \n \n \n \n \n \n );\n};\n\nconst FileStampsGrid: React.FC = () => {\n return (\n \n \n \n \n New File Stamp\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...props }) => {\n return (\n \n );\n};\n","import { CoreEnum } from '@techsharegov/react-ui';\n\nexport class FileStamp {\n constructor() {\n this.isActive = true;\n this.opacity = 1;\n }\n\n isActive: boolean;\n format?: string;\n color?: CoreEnum;\n fontSize?: CoreEnum;\n fileStampType?: CoreEnum;\n pages?: CoreEnum;\n location?: CoreEnum;\n opacity?: number;\n name?: string;\n useAllCaps?: boolean;\n}\n","import { Render } from '@techsharegov/react-ui';\nimport React, { Fragment } from 'react';\n\nexport const BulletedList: React.FC<{ list: (any | undefined)[] }> = ({\n list,\n}) => {\n return (\n
    \n {list.map((item, index) => (\n \n \n
  • {item}
  • \n
    \n {item}\n
    \n ))}\n
\n );\n};\n","import {\n useIdParam,\n useAddEditSuccessHandler,\n useDataFetcher,\n buildEndpoint,\n defaultDataTransform,\n TaskPageHeaderLayout,\n addEditTitle,\n AsyncLoadingSection,\n useFormState,\n useEnums,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n InputType,\n ColSize,\n SecondaryButton,\n} from '@techsharegov/react-ui';\nimport { SmartFileUploadDrawerInput } from 'Components';\nimport { AgendaEndpoints, CONTROLLERS, METHODS } from 'Models';\nimport { Row, Col } from 'reactstrap';\nimport { FileStamp } from './FileStampModels';\nimport { BulletedList } from 'Components/Display/BulletedList';\nimport { usePostFileDownloader } from 'Features/Utilities/CommonHooks';\n\nexport const AddEditFileStamp: React.FC = () => {\n const entityName = 'File Stamp';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.filestamps.base, METHODS.ADDEDIT, id),\n new FileStamp(),\n defaultDataTransform,\n FileStamp\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst FileStampAddEditFormContent: React.FC = () => {\n const { formValues } = useFormState();\n const {\n fileStampColor,\n fileStampFontSize,\n fileStampType,\n fileStampPagesOption,\n fileStampLocation,\n fileStampImageLocation,\n } = useEnums();\n const [, isAdd] = useIdParam();\n const downloader = usePostFileDownloader();\n\n const previewStamp = async () => {\n downloader.downloadFile(\n AgendaEndpoints.filestamps.controllerActionString('preview'),\n formValues,\n 'Preview'\n );\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Accepted Tokens
\n \n \n \n \n Preview\n \n
\n
\n
\n );\n};\n","import { ElmahError, ElmahErrors } from 'Features';\nimport { AttachmentTypes } from 'Features/AttachmentTypes';\nimport {\n AddEditCommittee,\n Committees,\n ViewCommittee,\n} from 'Features/Committees';\nimport { Dashboard } from 'Features/Dashboard/Dashboard';\nimport { AddEditDepartment, Departments } from 'Features/Departments';\nimport {\n AddEditDocumentTemplate,\n DocumentTemplateTokens,\n DocumentTemplates,\n} from 'Features/DocumentTemplates';\nimport { AddEditMeeting, Meetings, MeetingsCalendar } from 'Features/Meetings';\nimport { AddEditMeetingType, MeetingTypes } from 'Features/MeetingTypes';\nimport { Roles } from 'Features/Roles';\nimport { AddEditRole } from 'Features/Roles/AddEditRole';\nimport { AddEditUser, EditUserProfile, Users } from 'Features/Users';\nimport {\n AddEditWorkflowTransitions,\n WorkflowTransitions,\n} from 'Features/WorkflowTransitions';\nimport { Permission } from 'Models';\nimport { Routes } from './RouteNames';\nimport { IRouteConfigMap, IRouteMap, RouteConfig } from './RouteTypes';\nimport {\n ActionItemConfigurations,\n AddEditActionItemConfiguration,\n} from 'Features/ActionItemConfigurations';\nimport {\n ActionItems,\n AddActionItemComment,\n AddEditActionItem,\n CopyActionItem,\n ViewActionItem,\n} from 'Features/ActionItems';\nimport { EditOrganizationConfiguration } from 'Features/Organizations';\nimport { AddEditPublicNotice, PublicNotices } from 'Features/PublicNotices';\nimport { NumberGeneratorSettings } from 'Features/NumberGeneratorSettings';\nimport {\n AgendaCoordinatorView,\n PreMeetingAgendaView,\n ViewHistoricalAgenda,\n} from 'Features/AgendaCoordinator';\nimport {\n LiveMeetingWrapper,\n StartMeeting,\n StreamTest,\n} from 'Features/LiveMeeting';\nimport { FinalizeMeeting } from 'Features/FinalizeMeeting';\nimport { HeloTest } from 'Features/HeloTest';\nimport { DocumentEditor } from 'Features/DocumentEditor';\nimport {\n AddEditStaffRecommendation,\n StaffRecommendations,\n} from 'Features/StaffRecommendations';\nimport {\n AddEditNotificationTemplate,\n NotificationTemplates,\n} from 'Features/NotificationTemplates';\nimport {\n AddEditCommitteeApplicationConfiguration,\n CommitteeApplicationConfigurations,\n} from 'Features/CommitteeApplicationConfigurations';\nimport { DetailedSearch } from 'Features/DetailedSearch';\nimport { ViewCommitteeApplication } from 'Features/Committees/CommitteeApplications';\nimport {\n Attendance,\n ExpiringCommitteeMembers,\n VacantCommitteePositions,\n} from 'Features/Reports';\nimport { PendingSignatures } from 'Features/PendingSignatures/PendingSignatures';\nimport { FileStamps } from 'Features/FileStamps/FileStamps';\nimport { AddEditFileStamp } from 'Features/FileStamps/AddEditFileStamp';\n\nexport const ROUTE_MAP: IRouteMap = {};\n\nexport const ROUTES: IRouteConfigMap = {\n [Routes.Elmah]: new RouteConfig(\n Routes.Elmah,\n ElmahErrors,\n 'Elmah',\n `${Routes.Elmah}`,\n true\n ),\n [Routes.ElmahError]: new RouteConfig(\n Routes.Elmah,\n ElmahError,\n 'Elmah',\n `${Routes.Elmah}/:id`,\n false\n ),\n [Routes.Dashboard]: new RouteConfig(\n Routes.Dashboard,\n Dashboard,\n 'Dashboard',\n undefined,\n false\n ),\n [Routes.Users]: new RouteConfig(\n Routes.Users,\n Users,\n 'User',\n `${Routes.Users}/`,\n true\n ),\n [Routes.UsersAddEdit]: new RouteConfig(\n Routes.UsersAddEdit,\n AddEditUser,\n 'User',\n `${Routes.UsersAddEdit}/:id?`,\n false\n ),\n [Routes.UsersEditProfile]: new RouteConfig(\n Routes.UsersEditProfile,\n EditUserProfile,\n 'Edit Profile',\n `${Routes.UsersEditProfile}`,\n false\n ),\n [Routes.Roles]: new RouteConfig(\n Routes.Roles,\n Roles,\n 'Roles',\n `${Routes.Roles}/`,\n true\n ),\n [Routes.RolesAddEdit]: new RouteConfig(\n Routes.RolesAddEdit,\n AddEditRole,\n 'Role',\n `${Routes.RolesAddEdit}/:id?`,\n false\n ),\n [Routes.DetailedSearch]: new RouteConfig(\n Routes.DetailedSearch,\n DetailedSearch,\n 'Detailed Search',\n undefined,\n false,\n [\n Permission.ViewDetailedActionItemSearch,\n Permission.ViewDetailedCommitteeApplicationSearch,\n ]\n ),\n [Routes.Committees]: new RouteConfig(\n Routes.Committees,\n Committees,\n 'Committees',\n undefined,\n true,\n [Permission.ViewCommittee]\n ),\n [Routes.CommitteesAddEdit]: new RouteConfig(\n `${Routes.CommitteesAddEdit}/:id?`,\n AddEditCommittee,\n 'Committee',\n undefined,\n false,\n [Permission.AddMeetingType, Permission.EditMeetingType]\n ),\n [Routes.CommitteesView]: new RouteConfig(\n `${Routes.CommitteesView}/:id?`,\n ViewCommittee,\n 'Committee',\n undefined,\n false,\n [\n Permission.AddCommittee,\n Permission.ViewCommittee,\n Permission.EditCommittee,\n ]\n ),\n [Routes.CommitteeApplicationConfigurations]: new RouteConfig(\n Routes.CommitteeApplicationConfigurations,\n CommitteeApplicationConfigurations,\n 'Committee Application Configurations',\n undefined,\n true,\n [Permission.ViewActionItemConfiguration]\n ),\n [Routes.CommitteeApplicationConfigurationAddEdit]: new RouteConfig(\n `${Routes.CommitteeApplicationConfigurationAddEdit}/:id?`,\n AddEditCommitteeApplicationConfiguration,\n 'Committee Application Configuration',\n undefined,\n false,\n [\n Permission.AddCommitteeApplicationConfiguration,\n Permission.EditCommitteeApplicationConfiguration,\n ]\n ),\n [Routes.ViewCommitteeApplication]: new RouteConfig(\n `${Routes.ViewCommitteeApplication}/:id?`,\n ViewCommitteeApplication,\n 'Committee Application',\n undefined,\n false,\n [Permission.ViewCommitteeApplications]\n ),\n [Routes.MeetingTypes]: new RouteConfig(\n Routes.MeetingTypes,\n MeetingTypes,\n 'Meeting Types',\n undefined,\n true,\n [Permission.ViewMeetingType]\n ),\n [Routes.MeetingTypesAddEdit]: new RouteConfig(\n `${Routes.MeetingTypesAddEdit}/:id?`,\n AddEditMeetingType,\n 'Meeting Type',\n undefined,\n false,\n [Permission.AddMeetingType, Permission.EditMeetingType]\n ),\n [Routes.Meetings]: new RouteConfig(\n Routes.Meetings,\n Meetings,\n 'Meetings',\n undefined,\n true,\n [Permission.ViewMeeting]\n ),\n [Routes.MeetingsAddEdit]: new RouteConfig(\n `${Routes.MeetingsAddEdit}/:id?`,\n AddEditMeeting,\n 'Meetings',\n undefined,\n false,\n [Permission.AddMeeting, Permission.EditMeeting]\n ),\n [Routes.MeetingsCalendar]: new RouteConfig(\n Routes.MeetingsCalendar,\n MeetingsCalendar,\n 'Calendar',\n undefined,\n true,\n [Permission.ViewMeeting]\n ),\n [Routes.NotificationTemplates]: new RouteConfig(\n Routes.NotificationTemplates,\n NotificationTemplates,\n 'Notification Templates',\n undefined,\n true,\n [Permission.ViewNotificationTemplates]\n ),\n [Routes.NotificationTemplatesAddEdit]: new RouteConfig(\n `${Routes.NotificationTemplatesAddEdit}/:id?`,\n AddEditNotificationTemplate,\n 'Notification Template',\n undefined,\n false,\n [Permission.AddEditNotificationTemplates]\n ),\n [Routes.NumberGeneratorSettings]: new RouteConfig(\n Routes.NumberGeneratorSettings,\n NumberGeneratorSettings,\n 'Number Generator Settings',\n undefined,\n false,\n [Permission.ViewNumberGeneratorSettings]\n ),\n [Routes.WorkflowTransitions]: new RouteConfig(\n Routes.WorkflowTransitions,\n WorkflowTransitions,\n 'Workflow Transitions',\n undefined,\n true,\n [Permission.ViewWorkflowTransition]\n ),\n [Routes.WorkflowTransitionsAddEdit]: new RouteConfig(\n `${Routes.WorkflowTransitionsAddEdit}/:id?`,\n AddEditWorkflowTransitions,\n 'Workflow Transition',\n undefined,\n false,\n [Permission.AddWorkflowTransition, Permission.EditWorkflowTransition]\n ),\n [Routes.Departments]: new RouteConfig(\n Routes.Departments,\n Departments,\n 'Department',\n undefined,\n true,\n [Permission.ViewDepartment]\n ),\n [Routes.DepartmentsAddEdit]: new RouteConfig(\n `${Routes.DepartmentsAddEdit}/:id?`,\n AddEditDepartment,\n 'Departments',\n undefined,\n false,\n [Permission.AddDepartment, Permission.EditDepartment]\n ),\n [Routes.FileStamps]: new RouteConfig(\n Routes.FileStamps,\n FileStamps,\n 'File Stamps',\n undefined,\n true,\n [Permission.ViewFileStamps]\n ),\n [Routes.FileStampsAddEdit]: new RouteConfig(\n Routes.FileStampsAddEdit,\n AddEditFileStamp,\n 'File Stamp',\n `${Routes.FileStampsAddEdit}/:id?`,\n false,\n [Permission.AddFileStamps, Permission.EditFileStamps]\n ),\n [Routes.AttachmentTypes]: new RouteConfig(\n Routes.AttachmentTypes,\n AttachmentTypes,\n 'Attachment Types',\n undefined,\n false,\n [Permission.ViewAttachmentType]\n ),\n [Routes.DocumentTemplates]: new RouteConfig(\n Routes.DocumentTemplates,\n DocumentTemplates,\n 'Document Templates',\n undefined,\n true,\n [Permission.ViewDocumentTemplates]\n ),\n [Routes.DocumentTemplatesAddEdit]: new RouteConfig(\n `${Routes.DocumentTemplatesAddEdit}/:id?`,\n AddEditDocumentTemplate,\n 'Document Templates',\n undefined,\n false,\n [Permission.AddDocumentTemplates, Permission.EditDocumentTemplates]\n ),\n [Routes.DocumentTokens]: new RouteConfig(\n Routes.DocumentTokens,\n DocumentTemplateTokens,\n 'Document Tokens',\n undefined,\n true,\n [Permission.ViewDocumentTemplates]\n ),\n [Routes.ActionItemConfigurations]: new RouteConfig(\n Routes.ActionItemConfigurations,\n ActionItemConfigurations,\n 'Action Item Configurations',\n undefined,\n true,\n [Permission.ViewActionItemConfiguration]\n ),\n [Routes.ActionItemConfigurationAddEdit]: new RouteConfig(\n `${Routes.ActionItemConfigurationAddEdit}/:id?`,\n AddEditActionItemConfiguration,\n 'Action Item Configuration',\n undefined,\n false,\n [\n Permission.AddActionItemConfiguration,\n Permission.EditActionItemConfiguration,\n ]\n ),\n [Routes.ActionItems]: new RouteConfig(\n Routes.ActionItems,\n ActionItems,\n 'Action Items',\n undefined,\n true,\n [Permission.ViewActionItem]\n ),\n [Routes.ActionItemAddEdit]: new RouteConfig(\n `${Routes.ActionItemAddEdit}/:id?`,\n AddEditActionItem,\n 'Action Item',\n undefined,\n false,\n [\n Permission.AddActionItem,\n Permission.EditActionItemCurrentlyAssigned,\n Permission.EditActionItemForDepartment,\n Permission.EditActionItemAll,\n ]\n ),\n [Routes.CopyActionItem]: new RouteConfig(\n `${Routes.CopyActionItem}/:id?`,\n CopyActionItem,\n 'Action Item',\n undefined,\n false,\n [Permission.CopyActionItem]\n ),\n [Routes.ActionItemCommentAddEdit]: new RouteConfig(\n `${Routes.ActionItemCommentAddEdit}/:id?`,\n AddActionItemComment,\n 'Action Item Comment',\n undefined,\n false,\n [\n Permission.AddActionItemStatusChangeComments,\n Permission.AddActionItemClerkComments,\n Permission.AddActionItemCoordinatorComments,\n Permission.AddActionItemGeneralComments,\n ]\n ),\n [Routes.ViewActionItem]: new RouteConfig(\n `${Routes.ViewActionItem}/:id?`,\n ViewActionItem,\n 'Action Item',\n undefined,\n false,\n [Permission.ViewActionItem]\n ),\n [Routes.AgendaCoordinatorView]: new RouteConfig(\n Routes.AgendaCoordinatorView,\n AgendaCoordinatorView,\n 'Agenda Coordinator',\n undefined,\n true,\n [\n Permission.ViewDepartmentActionItemsAgendaCoordinator,\n Permission.ViewAllActionItemsAgendaCoordinator,\n ]\n ),\n [Routes.HeloTest]: new RouteConfig(\n Routes.HeloTest,\n HeloTest,\n 'Helo Test',\n undefined,\n true,\n [Permission.AddActionItemConfiguration]\n ),\n [Routes.AgendaCoordinatorViewByMeeting]: new RouteConfig(\n `${Routes.AgendaCoordinatorView}/:id?`,\n AgendaCoordinatorView,\n 'Agenda Preview',\n undefined,\n true,\n [\n Permission.ViewDepartmentActionItemsAgendaCoordinator,\n Permission.ViewAllActionItemsAgendaCoordinator,\n ]\n ),\n [Routes.ViewHistoricalAgenda]: new RouteConfig(\n `${Routes.ViewHistoricalAgenda}/:id?`,\n ViewHistoricalAgenda,\n 'View Historical Agenda',\n undefined,\n true,\n [Permission.ViewHistoricalAgenda]\n ),\n [Routes.PreMeetingAgendaView]: new RouteConfig(\n Routes.PreMeetingAgendaView,\n PreMeetingAgendaView,\n 'Agenda Preview',\n undefined,\n true,\n [Permission.ViewPreMeetingAgenda]\n ),\n [Routes.PreMeetingAgendaViewByMeeting]: new RouteConfig(\n `${Routes.PreMeetingAgendaViewByMeeting}/:id?`,\n PreMeetingAgendaView,\n 'Agenda Preview',\n undefined,\n true,\n [Permission.ViewPreMeetingAgenda]\n ),\n [Routes.OrganizationEdit]: new RouteConfig(\n Routes.OrganizationEdit,\n EditOrganizationConfiguration,\n 'Organization Configuration',\n undefined,\n true,\n [\n Permission.ViewOrganizationConfiguration,\n Permission.EditOrganizationConfiguration,\n ]\n ),\n [Routes.StaffRecommendations]: new RouteConfig(\n Routes.StaffRecommendations,\n StaffRecommendations,\n 'Staff Recommendations',\n undefined,\n true,\n [Permission.ViewStaffRecommendation]\n ),\n [Routes.StaffRecommendationAddEdit]: new RouteConfig(\n `${Routes.StaffRecommendationAddEdit}/:id?`,\n AddEditStaffRecommendation,\n 'Staff Recommendation',\n undefined,\n false,\n [Permission.EditStaffRecommendation, Permission.AddStaffRecommendation]\n ),\n [Routes.PublicNotices]: new RouteConfig(\n Routes.PublicNotices,\n PublicNotices,\n 'Public Notices',\n undefined,\n true,\n [Permission.ViewPublicNotice]\n ),\n [Routes.PublicNoticeAddEdit]: new RouteConfig(\n `${Routes.PublicNoticeAddEdit}/:id?`,\n AddEditPublicNotice,\n 'Public Notice',\n undefined,\n true,\n [Permission.EditPublicNotice, Permission.AddPublicNotice]\n ),\n [Routes.StartMeeting]: new RouteConfig(\n `${Routes.StartMeeting}/:id?`,\n StartMeeting,\n 'Start Meeting',\n undefined,\n true,\n [Permission.StartMeeting]\n ),\n [Routes.LiveMeeting]: new RouteConfig(\n `${Routes.LiveMeeting}/:id?`,\n LiveMeetingWrapper,\n 'Live Meeting',\n undefined,\n true,\n [Permission.StartMeeting]\n ),\n [Routes.FinalizeMeeting]: new RouteConfig(\n `${Routes.FinalizeMeeting}/:id?`,\n FinalizeMeeting,\n 'Finalize Meeting',\n undefined,\n true,\n [Permission.EndMeeting]\n ),\n [Routes.StreamTest]: new RouteConfig(\n Routes.StreamTest,\n StreamTest,\n 'Stream Test',\n undefined,\n true,\n [Permission.StreamTest]\n ),\n [Routes.DocumentEditor]: new RouteConfig(\n Routes.DocumentEditor,\n DocumentEditor,\n 'Document Editor',\n undefined,\n true,\n [Permission.ViewDocumentEditor]\n ),\n [Routes.VacantCommitteePositions]: new RouteConfig(\n Routes.VacantCommitteePositions,\n VacantCommitteePositions,\n 'Vacant Committee Positions',\n undefined,\n true,\n [Permission.VacantCommitteePositionsReport]\n ),\n [Routes.ExpiringCommitteeMembers]: new RouteConfig(\n Routes.ExpiringCommitteeMembers,\n ExpiringCommitteeMembers,\n 'Expiring Committee Members',\n undefined,\n true,\n [Permission.ExpiringCommitteeMembersReport]\n ),\n [Routes.AttendanceReport]: new RouteConfig(\n Routes.AttendanceReport,\n Attendance,\n 'Attendance',\n undefined,\n true,\n [Permission.ViewAttendanceReport]\n ),\n [Routes.PendingSignatures]: new RouteConfig(\n Routes.PendingSignatures,\n PendingSignatures,\n 'Pending Signatures',\n undefined,\n false,\n [Permission.ActionItemViewPendingSignatures]\n ),\n};\n","export const Dashboard: React.FC = () => {\n return <>This is a placeholder for a dashboard screen;\n};\n","import WebViewer, { WebViewerInstance } from '@pdftron/webviewer';\nimport {\n CancelBackButton,\n PrimaryButton,\n SubHeaderLayout,\n ViewHeader,\n buildEndpoint,\n buildQueryUrl,\n useApiWorker,\n useGoBack,\n useToasts,\n useToggler,\n useUrlSearchParams,\n} from '@techsharegov/react-ui';\nimport { useBlobFetcher } from 'Features/Utilities';\nimport { useEffect, useRef, useState } from 'react';\n\nexport const DocumentEditor: React.FC = () => {\n const params = useUrlSearchParams();\n const id = params.get('id') as string;\n const fileName = params.get('fileName') as string;\n const fileId = params.get('fileId') as string;\n const endpoint = params.get('endpoint') as string;\n const goBack = useGoBack();\n const API = useApiWorker();\n const [isLoading, toggleLoading] = useToggler(false);\n\n const toast = useToasts();\n\n const [webViewerInstance, setWebViewerInstance] =\n useState();\n const viewer = useRef(null);\n const [blob, loadingStatus] = useBlobFetcher(\n buildQueryUrl(buildEndpoint(endpoint, 'Download'), {\n id: id,\n }),\n id != null\n );\n\n const saveDoc = async () => {\n toggleLoading();\n if (webViewerInstance != null) {\n try {\n const doc = webViewerInstance?.Core.documentViewer.getDocument();\n const data = await doc.getFileData({\n // saves the document with annotations in it\n downloadType: 'office',\n });\n const arr = new Uint8Array(data);\n const file = new Blob([arr], {\n type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n });\n\n const CHUNK_SIZE =\n 1024 *\n 1024 *\n (parseInt(\n process.env.NODE_ENV === 'development'\n ? `${process.env.REACT_APP_FILE_UPLOAD_CHUNK_SIZE}`\n : `${window.FILE_UPLOAD_CHUNK_SIZE}`\n ) ?? 1);\n var chunk = 0;\n var numChunks = Math.ceil(file.size / CHUNK_SIZE);\n var allSuccess = true;\n while (chunk * CHUNK_SIZE < file.size) {\n var blob = file.slice(CHUNK_SIZE * chunk, CHUNK_SIZE * (chunk + 1));\n const formData = new FormData();\n formData.append('contentType', file.type);\n formData.append('fileName', fileName);\n formData.append('chunk', `${chunk}`);\n formData.append('chunks', `${numChunks}`);\n formData.append('id', fileId);\n formData.append('file', blob);\n const response = await API.post(\n buildEndpoint(endpoint, 'UploadClassification'),\n formData\n );\n if (response.status !== 200) {\n allSuccess = false;\n }\n chunk++;\n }\n if (allSuccess) {\n goBack();\n toast.success('Successfully saved document');\n } else {\n toast.error('Unable to save document successfully');\n }\n } catch (err) {\n console.log('ERROR: ', err);\n }\n toggleLoading();\n } else {\n toast.error('Could not save due to issue with Web Viewer.');\n toggleLoading();\n }\n };\n\n useEffect(() => {\n if (blob != null) {\n WebViewer(\n {\n path: '/webviewer-resources',\n licenseKey:\n process.env.NODE_ENV === 'development'\n ? `${process.env.REACT_APP_APRYSE_LICENSE}`\n : `${window.APRYSE_LICENSE_KEY}`,\n },\n viewer.current as HTMLDivElement\n ).then((instance) => {\n if (blob != null) {\n setWebViewerInstance(instance);\n instance.UI.loadDocument(blob, {\n filename: fileName,\n enableOfficeEditing: true,\n });\n instance.UI.disableElements(['officeEditorFileName']);\n }\n });\n }\n }, [blob]);\n return (\n (\n \n \n \n Save\n \n \n }\n />\n )}\n >\n
\n
\n
\n \n );\n};\n","import {\n AsyncLoadingSection,\n ColSize,\n ColumnLayout,\n CoreEnum,\n DisplayBlock,\n DropdownItemModel,\n FormErrorDisplay,\n FormSectionHeading,\n InputType,\n MultiModalFormDialog,\n NamedCoreEnum,\n PageCard,\n PageCardRow,\n PageCardSection,\n Render,\n SecondaryButton,\n SmartInputBlock,\n buildQueryUrl,\n defaultDataTransform,\n defaultFormatName,\n useApiWorker,\n useDataFetcher,\n useEnums,\n useFormStateValue,\n useGridState,\n useModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ListSectionProps, SmartMultiSectionList } from 'Components';\nimport {\n ActionItemAttachmentsGrid,\n ActionItemCommentsGrid,\n} from 'Features/ActionItems';\nimport { AddAttachmentsSection } from 'Features/Shared';\nimport { AgendaEndpoints } from 'Models';\nimport React, { Fragment, useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { FinalizeMeetingModal } from './FinalizeMeeting';\n\nexport class UpdateVoteResultsModel {\n actionItemId?: string;\n meetingTypeSectionId?: string;\n meetingId?: string;\n\n // Action Item Read Only Items\n actionItemType?: string;\n departments?: string;\n\n isApprovedByVisible?: boolean;\n approvedBy?: string;\n\n isPreparedByVisible?: boolean;\n preparedBy?: string;\n\n isStaffRecommendationVisible?: boolean;\n staffRecommendation?: string;\n\n isActionRequestedVisible?: boolean;\n actionRequested?: string;\n\n isFiscalImpactVisible?: boolean;\n fiscalImpact?: string;\n\n isCertificationOfFundsVisible?: boolean;\n certificationOfFunds?: string;\n\n isPageCountVisible?: boolean;\n pageCount?: number;\n\n isCdaApprovalVisible?: boolean;\n cdaApproval?: boolean;\n cdaApprovalString?: string;\n\n isAddAttachmentSectionVisible?: boolean;\n\n name?: string;\n results?: UpdateVoteResultModel[];\n initialVoteValues?: UpdateVoteResultModel;\n\n timeStamp?: string;\n isReviewed?: boolean;\n isReviewedDisplay?: string;\n hasBroadcast?: boolean;\n\n actionItemConfiguration?: string; \n courtOrderNumbers?: string[]; \n courtOrderNumbersDisplay?: string; \n isItemDescriptionVisible?: boolean; \n itemDescription?: string; \n isAuditReviewedVisible?: boolean; \n isAuditReviewed?: CoreEnum; \n auditReviewedBy?: string; \n isBudgetReviewedVisible?: boolean; \n isBudgetReviewed?: CoreEnum; \n budgetReviewedBy?: string; \n staffRecommendationsDisplay?: string;\n isBackgroundVisible?: boolean; \n background?: string; \n submissionNumber?: string; \n status?: string; \n}\n\nexport class UpdateVoteResultModel {\n actionItemId?: string;\n meetingTypeSectionId?: string;\n meetingId?: string;\n\n motionPresentedById?: string;\n motionSecondedById?: string;\n\n motionPresentedBy?: DropdownItemModel;\n motionSecondedBy?: DropdownItemModel;\n\n name?: string;\n notes?: string;\n\n actionTaken?: NamedCoreEnum;\n result?: NamedCoreEnum;\n votes?: VoteModel[];\n voteResult?: string;\n}\n\nexport class VoteModel {\n name?: string;\n voteType?: CoreEnum;\n committeeMemberId?: string;\n isPresent?: boolean;\n}\n\nexport const UpdateVoteResults: React.FC = () => {\n const modalId = FinalizeMeetingModal.UpdateVoteResults;\n const { toggle, isOpen, modalItem } = useModalHelpers(modalId);\n const [voteResultSections, setVoteResultSections] = useState();\n const toast = useToasts();\n const API = useApiWorker();\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n if (!modalItem?.isReadonly) {\n toast.success('Results have been updated');\n refreshGrid();\n }\n\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildQueryUrl(\n AgendaEndpoints.finalizemeeting.controllerActionString('getResultQuery'),\n {\n actionItemId: modalItem?.actionItemId,\n meetingTypeSectionId: modalItem?.meetingTypeSectionId,\n meetingId: modalItem?.meetingId,\n name: modalItem?.name,\n }\n ),\n new UpdateVoteResultsModel(),\n defaultDataTransform,\n UpdateVoteResultsModel,\n isOpen\n );\n\n useEffect(() => {\n if (data !== undefined) {\n setVoteResultSections(\n data?.results?.length === undefined ? 1 : data.results.length + 1\n );\n }\n }, [data]);\n\n const resetResults = async () => {\n await API.put(\n buildQueryUrl(\n AgendaEndpoints.livemeeting.controllerActionString('resetResults'),\n {\n actionItemId: modalItem?.actionItemId,\n meetingTypeSectionId: modalItem?.meetingTypeSectionId,\n meetingId: modalItem?.meetingId,\n name: modalItem?.name,\n }\n )\n );\n toast.success('Item has been reset.');\n refreshGrid();\n toggle();\n };\n\n const onRemoveSection = async () => {\n var resultElement = document.getElementsByClassName(\n 'add-multi-section-list'\n )[0];\n if (resultElement !== undefined) {\n resultElement.setAttribute('disabled', 'disabled');\n }\n\n if (voteResultSections !== undefined) {\n setVoteResultSections(voteResultSections - 1);\n }\n\n toast.success(\n 'Vote Result removed. Save and Record Results again to add another.'\n );\n };\n\n return (\n \n \n Reset Results\n \n \n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n );\n};\n\nexport type UpdateVoteResultContentsProps = ListSectionProps & {\n meetingId?: string;\n isReadonly?: boolean;\n data?: UpdateVoteResultsModel;\n};\n\nexport const UpdateVoteResultContents: React.FC<\n UpdateVoteResultContentsProps\n> = ({\n formatInputName = defaultFormatName,\n meetingId,\n index,\n isReadonly,\n data,\n}) => {\n const { actionTaken } = useEnums();\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const RadioButtons: React.FC = ({\n formatInputName = defaultFormatName,\n index,\n isReadonly,\n}) => {\n const votesName = formatInputName('votes');\n const selectAllVoteTypeName = formatInputName('selectAllVoteType');\n const [voteModels, setVoteModels] = useFormStateValue(votesName);\n const [selectAllVoteType] = useFormStateValue(\n selectAllVoteTypeName\n );\n const { voteType } = useEnums();\n\n const setResult = () => {\n var resultElement = document.getElementsByName(\n formatInputName('voteResult')\n )[0];\n\n var yaes = 0;\n var nays = 0;\n voteModels?.forEach(function (voteModel: VoteModel) {\n if (voteModel.voteType?.value === 1) {\n yaes++;\n } else {\n nays++;\n }\n });\n\n if (\n resultElement.lastChild !== null &&\n resultElement.lastChild !== undefined\n ) {\n if (yaes > nays) {\n resultElement.lastChild.textContent = 'Passed';\n } else if (nays > yaes) {\n resultElement.lastChild.textContent = 'Failed';\n } else {\n resultElement.lastChild.textContent = 'Tied';\n }\n }\n };\n\n useEffect(() => {\n if (selectAllVoteType !== null && selectAllVoteType !== undefined) {\n voteModels?.forEach(function (voteModel: VoteModel) {\n if (voteModel.isPresent) {\n voteModel.voteType = selectAllVoteType;\n }\n });\n setVoteModels(voteModels);\n setResult();\n }\n }, [selectAllVoteType]);\n\n useEffect(() => {\n setResult();\n });\n\n return (\n \n
    \n
  • \n
      \n
    • \n
      Member
      \n
      YEA
      \n
      NAY
      \n
      ABSTAIN
      \n
      ABSENT
      \n
      RECUSED
      \n
    • \n
    \n

    \n
     
    \n
      \n
    • \n
       
      \n \n
    • \n
    \n
     
    \n
  • \n {voteModels?.map((vote, voteIndex) => (\n
      \n \n
      {vote.name}
      \n \n \n
    \n ))}\n
\n
\n );\n};\n","import {\n buildEndpoint,\n PageCardSection,\n PageCardRow,\n PageCard,\n SmartInputBlock,\n InputType,\n ColumnLayout,\n useGridState,\n} from '@techsharegov/react-ui';\nimport { SmartCheckboxList } from 'Components';\nimport { GenerateDocumentsModal } from 'Features/Shared';\nimport { AgendaEndpoints } from 'Models';\nimport { Row } from 'reactstrap';\n\nexport enum MeetingDocumentsModal {\n GenerateMeetingMinutesDocuments = 'GenerateMeetingMinutesDocuments',\n}\n\nexport const GenerateMeetingMinutesDocumentsModal: React.FC = () => {\n const { refreshGrid } = useGridState();\n\n return (\n \n \n \n );\n};\n\nexport const GenerateMeetingMinutesDocumentsFormContent: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n buildEndpoint,\n buildQueryUrl,\n defaultGridProps,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n GridProvider,\n LocalStateProvider,\n MultiModalProvider,\n PageSectionHeading,\n useApiWorker,\n useGridState,\n useModalHelpers,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { CommaSeparatedListCell, FileNameDownloadCell } from 'Components';\nimport { MeetingAttachmentActionCell } from 'Features/Meetings';\nimport {\n GenerateMeetingMinutesDocumentsModal,\n MeetingDocumentsModal,\n} from 'Features/Meetings/GenerateMeetingMinutesDocumentModal';\nimport { usePostFileDownloader } from 'Features/Utilities';\nimport { AgendaEndpoints, METHODS, Permission } from 'Models';\nimport React, { Fragment } from 'react';\n\nclass FinalizeMeetingSearchModel {\n constructor(id?: string) {\n this.meetingId = id;\n }\n meetingId?: string;\n}\n\ntype FinalizeMeetingAttachmentsGridProps = {\n meetingId?: string;\n minutesHaveSignatures?: boolean;\n broadcastId?: string;\n};\n\nexport const useFinalizeMeetingViewActionsDropdown = (\n meetingId?: string,\n minutesHaveSignatures?: boolean,\n broadcastId?: string\n) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const downloader = usePostFileDownloader();\n const { toggle: generateModalToggle, setModalItem: setGenerateModalItem } =\n useModalHelpers(MeetingDocumentsModal.GenerateMeetingMinutesDocuments);\n\n const saveAndGenerateDocument = async () => {\n if (minutesHaveSignatures) {\n setGenerateModalItem({ id: meetingId });\n generateModalToggle();\n } else {\n try {\n await API.post(\n buildEndpoint(\n AgendaEndpoints.finalizemeeting.base,\n METHODS.GenerateDocuments\n ),\n { meetingId: meetingId }\n );\n\n toast.success('The Meeting Minutes have been generated');\n refreshGrid();\n } catch {\n toast.error('Error generating document.');\n }\n }\n };\n\n const createPreview = async () => {\n try {\n downloader.downloadFile(\n buildEndpoint(\n AgendaEndpoints.finalizemeeting.base,\n METHODS.PreviewDocuments\n ),\n { meetingId: meetingId },\n 'Meeting Minutes'\n );\n } catch {\n toast.error('Error generating document.');\n }\n };\n\n const dropdownConfig: ActionsDropdownConfig = {\n name: 'Actions',\n items: [\n {\n name: 'Create Preview',\n permissions: [Permission.GenerateMeetingMinutes],\n onClick: createPreview,\n condition: !minutesHaveSignatures,\n },\n {\n name: 'Generate Meeting Minutes',\n permissions: [Permission.GenerateMeetingMinutes],\n onClick: saveAndGenerateDocument,\n },\n ],\n };\n\n return dropdownConfig;\n};\n\nexport const FinalizeMeetingAttachmentsGrid: React.FC<\n FinalizeMeetingAttachmentsGridProps\n> = ({ ...props }) => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport const FinalizeMeetingAttachmentsGridContent: React.FC<\n FinalizeMeetingAttachmentsGridProps\n> = ({ meetingId, minutesHaveSignatures, broadcastId }) => {\n const searchModel: FinalizeMeetingSearchModel =\n new FinalizeMeetingSearchModel(meetingId);\n const dropdownConfig = useFinalizeMeetingViewActionsDropdown(\n meetingId,\n minutesHaveSignatures,\n broadcastId\n );\n const [fileStampItems] = useSimpleDataFetcher(\n buildQueryUrl(AgendaEndpoints.filestamps.dropdownItems, {\n meetingId: meetingId,\n }),\n []\n );\n\n return (\n \n \n Meeting Attachments\n \n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n (\n \n )}\n />\n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n \n );\n};\n","import {\n Alert,\n AlertType,\n AlertsDisplay,\n AsyncLoadingSection,\n} from '@techsharegov/react-ui';\nimport { useMeetingIdsAndFlags } from 'Features/Meetings/MeetingIdsAndFlagsProvider';\n\nexport const FinalizeMeetingBanners: React.FC = () => {\n const { idsAndFlags, loadingStatus } = useMeetingIdsAndFlags();\n return (\n \n new Alert(AlertType.Warning, b.text)\n )}\n />\n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n AsyncLoadingSection,\n GridProvider,\n MainArea,\n MultiModalProvider,\n PrimaryHeader,\n Render,\n SecureComponent,\n SubHeaderLayout,\n WrappableCell,\n YesNoBooleanCell,\n buildEndpoint,\n buildQueryUrl,\n defaultGridProps,\n useApiWorker,\n useGridState,\n useIdParam,\n useMultiModalHelpers,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport React from 'react';\nimport { UpdateVoteResults } from './UpdateVoteResults';\nimport { Routes } from 'Navigation';\nimport { GridActionsDropdown } from 'Components';\nimport { FinalizeMeetingAttachmentsGrid } from './FinalizeMeetingAttachmentList';\nimport { LiveMeetingModal, UpdateRollCall } from 'Features/LiveMeeting';\nimport { FinalizeMeetingBanners } from './FinalizeMeetingBanners';\nimport { MeetingIdsAndFlagsProvider } from 'Features/Meetings/MeetingIdsAndFlagsProvider';\n\nexport class FinalizeMeetingModel {\n id?: string;\n name?: string;\n broadcastId?: string;\n isFinalized?: boolean;\n minutesHaveSignatures?: boolean;\n}\n\nexport enum FinalizeMeetingModal {\n UpdateVoteResults = 'updateVoteResults',\n}\n\nexport const useFinalizeMeetingActionsDropdown = (\n isFinalized: boolean | undefined\n) => {\n const [id] = useIdParam();\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const setNonVotedAsReviewed = async () => {\n try {\n await API.put(\n AgendaEndpoints.finalizemeeting.controllerActionString(\n 'setNonVotedAsReviewed'\n ) +\n '?id=' +\n id.toString()\n );\n toast.success('Non-voted on items set as reviewed.');\n\n refreshGrid();\n } catch {\n toast.error('Error setting non-voted on items set as reviewed.');\n }\n };\n\n const finalizeMeeting = async () => {\n if (\n window.confirm(\n 'Are you sure you want to Finalize this Meeting? This will cause all items with a recorded vote to be assigned a Court Order Number!'\n )\n ) {\n try {\n await API.put(\n AgendaEndpoints.finalizemeeting.controllerActionString(\n 'finalizeMeeting'\n ) +\n '?id=' +\n id.toString()\n );\n toast.success('Meeting finalized.');\n\n window.location.reload();\n } catch {\n toast.error('Error finalizing meeting.');\n }\n }\n };\n\n const dropdownConfig: ActionsDropdownConfig = {\n name: 'Actions',\n items: [\n {\n name: 'Update Roll Call',\n permissions: [Permission.StartMeeting],\n modalConfig: {\n modalId: LiveMeetingModal.UpdateRollCall,\n modalItem: { id: id },\n modalComponent: ,\n },\n },\n {\n name: 'Set Non-Voted as Reviewed',\n permissions: [Permission.RecordMeetingResults],\n onClick: setNonVotedAsReviewed,\n },\n {\n name: 'Finalize Meeting',\n permissions: [Permission.EndMeeting],\n condition: !isFinalized,\n onClick: finalizeMeeting,\n },\n ],\n };\n\n return dropdownConfig;\n};\n\nexport const FinalizeMeeting: React.FC = () => {\n const [id] = useIdParam();\n\n return (\n \n \n \n \n \n );\n};\n\nexport const FinalizeMeetingContent: React.FC = () => {\n const [id] = useIdParam();\n\n const [data, loadingStatus] = useSimpleDataFetcher(\n buildEndpoint(\n AgendaEndpoints.livemeeting.controllerActionString('getLiveMeeting'),\n id\n ),\n new FinalizeMeetingModel()\n );\n\n const dropdownConfig = useFinalizeMeetingActionsDropdown(data?.isFinalized);\n\n return (\n \n (\n \n )}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport type FinalizeMeetingGridProps = {\n meetingId: string | undefined;\n};\n\nexport const FinalizeMeetingGrid: React.FC = ({\n meetingId,\n}) => {\n const search = {\n id: meetingId,\n };\n\n const rowRender = (trElement: any, props: any) => {\n const isReviewed = props.dataItem.isReviewed;\n const green = 'grid-green';\n const regular = '';\n const trProps = {\n class: isReviewed ? green : regular,\n };\n return React.cloneElement(\n trElement,\n {\n ...trProps,\n },\n trElement.props.children\n );\n };\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport const SubjectCell: React.FC = ({ dataItem }) => (\n \n
\n
\n
\n \n
\n \n \n
\n
\n \n
\n \n
\n
\n
\n);\n\nexport const ResultsCell: React.FC = ({ dataItem }) => {\n return (\n \n \n \n );\n};\n\nexport const RecordResultsCell: React.FC = ({\n dataItem,\n ...gridCellProps\n}) => {\n const { setUpEdit } = useMultiModalHelpers();\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const updateResults = async (\n id: string,\n actionItemId: string,\n meetingTypeSectionId: string,\n meetingId: string,\n name: string\n ) => {\n setUpEdit(FinalizeMeetingModal.UpdateVoteResults, id, {\n actionItemId: actionItemId,\n meetingTypeSectionId: meetingTypeSectionId,\n meetingId: meetingId,\n name: name,\n isReadonly: false,\n });\n };\n\n const markAsReviewed = async (\n actionItemId: string,\n meetingTypeSectionId: string,\n meetingId: string,\n isReviewed: boolean\n ) => {\n var reviewedString = isReviewed ? 'Reviewed' : 'Not Reviewed';\n try {\n await API.put(\n buildQueryUrl(\n AgendaEndpoints.finalizemeeting.controllerActionString(\n 'markAsReviewed'\n ),\n {\n actionItemId: actionItemId,\n meetingTypeSectionId: meetingTypeSectionId,\n meetingId: meetingId,\n isReviewed: isReviewed,\n }\n )\n );\n toast.success(\"Marked as '\" + reviewedString + \".'\");\n refreshGrid();\n } catch {\n toast.error(\"Error marking item as '\" + reviewedString + \".'\");\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Update',\n permissions: [Permission.RecordMeetingResults],\n onClick: () =>\n updateResults(\n dataItem?.id,\n dataItem?.actionItemId,\n dataItem?.meetingTypeSectionId,\n dataItem?.meetingId,\n dataItem?.name\n ),\n },\n {\n name: 'Mark as Reviewed',\n permissions: [Permission.RecordMeetingResults],\n condition: !dataItem?.isReviewed,\n onClick: () =>\n markAsReviewed(\n dataItem?.actionItemId,\n dataItem?.meetingTypeSectionId,\n dataItem?.meetingId,\n true\n ),\n },\n {\n name: 'Mark as Not Reviewed',\n permissions: [Permission.RecordMeetingResults],\n condition: dataItem?.isReviewed,\n onClick: () =>\n markAsReviewed(\n dataItem?.actionItemId,\n dataItem?.meetingTypeSectionId,\n dataItem?.meetingId,\n false\n ),\n },\n ],\n };\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import React, { Fragment, useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport {\n AsyncLoadingSection,\n ColSize,\n ColumnLayout,\n CoreEnum,\n DisplayBlock,\n FormErrorDisplay,\n InputType,\n ListSectionProps,\n MultiModalFormDialog,\n NamedCoreEnum,\n PageCard,\n PageCardRow,\n PageCardSection,\n SecondaryButton,\n SmartInputBlock,\n buildQueryUrl,\n defaultDataTransform,\n defaultFormatName,\n useApiWorker,\n useDataFetcher,\n useEnums,\n useFormStateValue,\n useGridState,\n useLocalStateValue,\n useModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { LiveMeetingModal } from './LiveMeeting';\nimport { SmartMultiSectionList } from 'Components';\n\nexport class RecordVoteResultsModel {\n actionItemId?: string;\n meetingTypeSectionId?: string;\n meetingId?: string;\n\n name?: string;\n results?: RecordVoteResultModel[];\n initialVoteValues?: RecordVoteResultModel;\n}\n\nexport class RecordVoteResultModel {\n constructor(copy?: RecordVoteResultModel) {\n this.actionItemId = copy?.actionItemId;\n this.meetingTypeSectionId = copy?.meetingTypeSectionId;\n this.meetingId = copy?.meetingId;\n\n this.motionPresentedById = copy?.motionPresentedById;\n this.motionSecondedById = copy?.motionSecondedById;\n\n this.notes = copy?.notes;\n\n this.actionTaken = copy?.actionTaken;\n this.result = copy?.result;\n this.votes = copy?.votes;\n this.voteResult = copy?.voteResult;\n }\n\n actionItemId?: string;\n meetingTypeSectionId?: string;\n meetingId?: string;\n\n motionPresentedById?: string;\n motionSecondedById?: string;\n\n notes?: string;\n\n actionTaken?: NamedCoreEnum;\n result?: NamedCoreEnum;\n votes?: VoteModel[];\n voteResult?: string;\n}\n\nexport class VoteModel {\n name?: string;\n voteType?: CoreEnum;\n committeeMemberId?: string;\n isPresent?: boolean;\n}\n\nexport const RecordVoteResults: React.FC = () => {\n const modalId = LiveMeetingModal.RecordVoteResults;\n const { toggle, isOpen, modalItem } = useModalHelpers(modalId);\n const [voteResultSections, setVoteResultSections] = useState();\n const toast = useToasts();\n const API = useApiWorker();\n const { refreshGrid } = useGridState();\n const handleSuccess = () => {\n toast.success('Results have been recorded');\n refreshGrid();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildQueryUrl(\n AgendaEndpoints.livemeeting.controllerActionString('getResultQuery'),\n {\n actionItemId: modalItem?.actionItemId,\n meetingTypeSectionId: modalItem?.meetingTypeSectionId,\n meetingId: modalItem?.meetingId,\n name: modalItem?.name,\n }\n ),\n new RecordVoteResultsModel(),\n defaultDataTransform,\n RecordVoteResultsModel,\n isOpen\n );\n\n useEffect(() => {\n if (data !== undefined) {\n setVoteResultSections(\n data?.results?.length === undefined ? 1 : data.results.length + 1\n );\n }\n }, [data]);\n\n const resetResults = async () => {\n await API.put(\n buildQueryUrl(\n AgendaEndpoints.livemeeting.controllerActionString('resetResults'),\n {\n actionItemId: modalItem?.actionItemId,\n meetingTypeSectionId: modalItem?.meetingTypeSectionId,\n meetingId: modalItem?.meetingId,\n name: modalItem?.name,\n }\n )\n );\n toast.success('Item has been reset.');\n refreshGrid();\n toggle();\n };\n\n const onRemoveSection = async () => {\n var resultElement = document.getElementsByClassName(\n 'add-multi-section-list'\n )[0];\n if (resultElement !== undefined) {\n resultElement.setAttribute('disabled', 'disabled');\n }\n\n if (voteResultSections !== undefined) {\n setVoteResultSections(voteResultSections - 1);\n }\n\n toast.success(\n 'Vote Result removed. Save and Record Results again to add another.'\n );\n };\n\n return (\n \n Reset Results\n \n }\n >\n \n \n \n \n \n \n \n \n \n );\n};\n\nexport type VoteResultContentsProps = ListSectionProps & {\n meetingId?: string;\n};\n\nexport const VoteResultContents: React.FC = ({\n formatInputName = defaultFormatName,\n meetingId,\n index,\n}) => {\n const { actionTaken } = useEnums();\n\n return (\n <>\n \n \n \n \n \n \n \n \n
\n \n \n \n \n );\n};\n\nexport const RadioButtons: React.FC = ({\n formatInputName = defaultFormatName,\n index,\n}) => {\n const votesName = formatInputName('votes');\n const selectAllVoteTypeName = formatInputName('selectAllVoteType');\n const [voteModels, setVoteModels] = useFormStateValue(votesName);\n const [selectAllVoteType] = useFormStateValue(\n selectAllVoteTypeName\n );\n const { voteType } = useEnums();\n\n const setResult = () => {\n var resultElement = document.getElementsByName(\n formatInputName('voteResult')\n )[0];\n\n var yaes = 0;\n var nays = 0;\n voteModels?.forEach(function (voteModel: VoteModel) {\n if (voteModel.voteType?.value === 1) {\n yaes++;\n } else {\n nays++;\n }\n });\n\n if (\n resultElement.lastChild !== null &&\n resultElement.lastChild !== undefined\n ) {\n if (yaes > nays) {\n resultElement.lastChild.textContent = 'Passed';\n } else if (nays > yaes) {\n resultElement.lastChild.textContent = 'Failed';\n } else {\n resultElement.lastChild.textContent = 'Tied';\n }\n }\n };\n\n useEffect(() => {\n if (selectAllVoteType !== null && selectAllVoteType !== undefined) {\n voteModels?.forEach(function (voteModel: VoteModel) {\n if (voteModel.isPresent) {\n voteModel.voteType = selectAllVoteType;\n }\n });\n\n setVoteModels(voteModels);\n setResult();\n }\n }, [selectAllVoteType]);\n\n useEffect(() => {\n setResult();\n });\n\n return (\n \n
    \n
  • \n
      \n
    • \n
      Member
      \n
      YEA
      \n
      NAY
      \n
      ABSTAIN
      \n
      ABSENT
      \n
      RECUSED
      \n
    • \n
    \n

    \n
     
    \n
      \n
    • \n
       
      \n \n
    • \n
    \n
     
    \n
  • \n {voteModels?.map((vote, voteIndex) => (\n
      \n \n
      {vote.name}
      \n \n \n
    \n ))}\n
\n
\n );\n};\n","import {\n Alert,\n AlertType,\n AlertsDisplay,\n AsyncLoadingSection,\n ColSize,\n PageCard,\n PageCardRow,\n PageCardSection,\n PrimaryButton,\n TaskPageHeaderLayout,\n buildEndpoint,\n defaultDataTransform,\n useApiWorker,\n useDataFetcher,\n useDownloadingToast,\n useFormStateValue,\n useIdParam,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { SmartCheckboxList } from 'Components';\nimport { useAuthState } from 'Context';\nimport { AgendaEndpoints } from 'Models';\nimport { Routes } from 'Navigation';\nimport React, { Dispatch, SetStateAction, useState } from 'react';\n\nexport class TakeRollCallModel {\n id?: string;\n name?: string;\n committeeMembers?: RollCallModel[];\n}\n\nexport class RollCallModel {\n id?: string;\n name?: string;\n isVotingMember?: boolean;\n isPresent?: boolean;\n}\n\nexport const StartMeeting: React.FC = () => {\n const [id, isAdd] = useIdParam();\n const toast = useToasts();\n const [awaitingStream, setAwaitingStream] = useState(false);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(\n AgendaEndpoints.livemeeting.controllerActionString('getRollCall'),\n id\n ),\n new TakeRollCallModel(),\n defaultDataTransform,\n TakeRollCallModel\n );\n\n const takeRoll = () => {\n window.location.href = Routes.LiveMeeting + '/' + data.id;\n toast.success('Roll Call saved and meeting started.');\n };\n\n return (\n \n \n \n \n \n );\n};\n\nconst RollCallFormContent: React.FC<{\n rollCall: TakeRollCallModel;\n setAwaitingStream: Dispatch>;\n awaitingStream: boolean;\n}> = ({ rollCall, setAwaitingStream, awaitingStream }) => {\n const { organization } = useAuthState();\n const API = useApiWorker();\n const [broadcastId, setBroadcastId] =\n useFormStateValue('broadcastId');\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n const toast = useToasts();\n\n const startStream = async () => {\n setAwaitingStream(true);\n showLoadingToast('Starting YouTube stream, please wait...');\n try {\n await API.post(\n AgendaEndpoints.livemeeting.controllerActionString('startStream'),\n { meetingId: rollCall.id }\n )\n .then(async (response) => {\n if (response?.data?.errorMessage != null) {\n toast.error(response.data.errorMessage);\n } else {\n setBroadcastId(response.data.broadcastId);\n toast.success('Successfully started stream');\n }\n })\n .catch((err) => {\n console.error(err);\n toast.error('Error starting stream');\n });\n } catch {\n toast.error('Error starting stream');\n }\n hideLoadingToast();\n setAwaitingStream(false);\n };\n\n let alerts: Alert[] = [];\n if (organization?.refreshToken == null) {\n alerts.push(\n new Alert(\n AlertType.Warning,\n 'Will need to configure Google Credentials to start video stream'\n )\n );\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n startStream()}\n >\n Start Stream\n \n \n \n \n );\n};\n","import React from 'react';\nimport {\n AsyncLoadingSection,\n ColSize,\n MultiModalFormDialog,\n PageCard,\n PageCardRow,\n PageCardSection,\n defaultDataTransform,\n useDataFetcher,\n useModalHelpers,\n useOptionalGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { TakeRollCallModel } from './StartMeeting';\nimport { LiveMeetingModal } from './LiveMeeting';\nimport { SmartCheckboxList } from 'Components';\n\nexport const UpdateRollCall: React.FC = () => {\n const modalId = LiveMeetingModal.UpdateRollCall;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const gridState = useOptionalGridState();\n const handleSuccess = () => {\n toast.success('Roll Call has been updated');\n if (gridState) {\n gridState.refreshGrid();\n }\n toggle();\n };\n\n const [data, loadingStatus] = useDataFetcher(\n AgendaEndpoints.livemeeting.controllerActionString('getRollCall') + \"/\" + modalItem?.id, \n new TakeRollCallModel(),\n defaultDataTransform,\n TakeRollCallModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\n\nconst RollCallFormContent: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n AsyncLoadingSection,\n GridProvider,\n MainArea,\n MultiModalProvider,\n PrimaryButton,\n PrimaryHeader,\n Render,\n SecondaryButton,\n SecureComponent,\n SubHeaderLayout,\n WrappableCell,\n buildEndpoint,\n defaultGridProps,\n useApiWorker,\n useDownloadingToast,\n useIdParam,\n useMultiModalHelpers,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport React, { useState } from 'react';\nimport { RecordVoteResults } from './RecordVoteResults';\nimport { UpdateRollCall } from './UpdateRollCall';\n\nexport class LiveMeetingModel {\n id?: string;\n name?: string;\n broadcastId?: string;\n}\n\nexport enum LiveMeetingModal {\n RecordVoteResults = 'recordVoteResults',\n UpdateRollCall = 'updateRollCall',\n}\n\nexport const LiveMeetingWrapper: React.FC = () => {\n return (\n \n \n \n );\n};\n\nexport const LiveMeeting: React.FC = () => {\n const [id] = useIdParam();\n const API = useApiWorker();\n const toast = useToasts();\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n const [data, loadingStatus] = useSimpleDataFetcher(\n buildEndpoint(\n AgendaEndpoints.livemeeting.controllerActionString('getLiveMeeting'),\n id\n ),\n new LiveMeetingModel()\n );\n const endMeeting = async () => {\n var url =\n AgendaEndpoints.livemeeting.controllerActionString('endMeeting') +\n '?id=' +\n id.toString();\n if (\n window.confirm(\n 'Are you sure you want to end and record the results of the meeting and end the video stream?'\n )\n ) {\n showLoadingToast('Ending meeting, please wait...');\n\n try {\n await API.put(url);\n toast.success('Meeting ended.');\n\n window.location.href = `${Routes.FinalizeMeeting}/${id}`;\n } catch {\n toast.error('Error ending meeting.');\n }\n hideLoadingToast();\n }\n };\n\n const startStream = async () => {\n showLoadingToast('Starting YouTube stream, please wait...');\n try {\n await API.post(\n AgendaEndpoints.livemeeting.controllerActionString('startStream'),\n { meetingId: data.id }\n )\n .then(async (response) => {\n if (response?.data?.errorMessage != null) {\n toast.error(response.data.errorMessage);\n } else {\n toast.success('Successfully started stream');\n }\n })\n .catch((err) => {\n console.error(err);\n toast.error('Error starting stream');\n });\n } catch {\n toast.error('Error starting stream');\n }\n hideLoadingToast();\n };\n\n const dropdownConfig: ActionsDropdownConfig = {\n name: 'Actions',\n items: [\n {\n name: 'Update Roll Call',\n permissions: [Permission.StartMeeting],\n modalConfig: {\n modalId: LiveMeetingModal.UpdateRollCall,\n modalItem: { id: id },\n modalComponent: ,\n },\n },\n {\n name: 'End Meeting',\n permissions: [Permission.EndMeeting],\n onClick: endMeeting,\n },\n {\n name: 'Start Stream',\n condition: data != null && data.broadcastId == null,\n onClick: startStream,\n },\n ],\n };\n\n return (\n \n (\n \n )}\n >\n \n \n \n \n \n \n \n End Meeting\n \n \n \n \n \n );\n};\n\nexport type LiveMeetingGridProps = {\n meetingId: string | undefined;\n};\n\nexport const LiveMeetingGrid: React.FC = ({\n meetingId,\n}) => {\n const search = {\n id: meetingId,\n };\n\n return (\n \n \n \n \n \n );\n};\n\nconst SubjectCell: React.FC = ({ dataItem }) => (\n <>\n \n
\n {dataItem.fullDisplay}\n \n
\n {dataItem.itemDescription}\n \n \n {dataItem.staffRecommendationDisplay}\n \n
\n
\n \n);\n\nexport const ResultsCell: React.FC = ({ dataItem }) => {\n return (\n \n {dataItem?.result} \n \n );\n};\n\nexport const RecordResultsCell: React.FC = ({ dataItem }) => {\n const { setUpEdit } = useMultiModalHelpers();\n\n const recordResults = async (\n id: string,\n actionItemId: string,\n meetingTypeSectionId: string,\n meetingId: string,\n name: string\n ) => {\n setUpEdit(LiveMeetingModal.RecordVoteResults, id, {\n actionItemId: actionItemId,\n meetingTypeSectionId: meetingTypeSectionId,\n meetingId: meetingId,\n name: name,\n });\n };\n\n return (\n \n \n \n \n recordResults(\n dataItem.id,\n dataItem.actionItemId,\n dataItem.meetingTypeSectionId,\n dataItem.meetingId,\n dataItem.fullDisplay\n )\n }\n >\n Record Results\n \n \n \n \n );\n};\n","import {\n PrimaryButton,\n Render,\n useApiWorker,\n useDownloadingToast,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Fragment, useState } from 'react';\n\nexport const StreamTest: React.FC = () => {\n return (\n \n \n \n );\n};\n\nconst StreamTestContent: React.FC = () => {\n const API = useApiWorker();\n const [broadcastId, setBroadcastId] = useState();\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n const toast = useToasts();\n\n const startStream = async () => {\n showLoadingToast('Starting YouTube stream, please wait...');\n try {\n await API.post(\n AgendaEndpoints.livemeeting.controllerActionString('startStream'),\n {}\n )\n .then(async (response) => {\n if (response?.data?.errorMessage != null) {\n toast.error(response.data.errorMessage);\n } else {\n setBroadcastId(response.data.broadcastId);\n toast.success('Successfully started stream');\n }\n })\n .catch((err) => {\n console.error(err);\n toast.error('Error starting stream');\n });\n } catch {\n toast.error('Error starting stream');\n }\n hideLoadingToast();\n };\n\n const endStream = async () => {\n await API.post(\n AgendaEndpoints.livemeeting.controllerActionString('stopStream') +\n '?broadcastId=' +\n broadcastId\n )\n .then(async (response) => {\n if (response?.data?.errorMessage != null) {\n toast.error('Error stopping stream');\n } else {\n toast.success('Successfully stopped stream');\n setBroadcastId(undefined);\n }\n })\n .catch((err) => {\n console.error(err);\n toast.error('Error stopping stream');\n });\n };\n\n return (\n \n
\n startStream()}>Start Stream\n
\n \n endStream()}>End Stream\n \n
\n );\n};\n","import {\n DropdownArrowIcon,\n Render,\n SmartLink,\n toggledClass,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { useAuthState } from 'Context';\nimport { RouteConfig, Routes } from 'Navigation';\nimport React, { useEffect } from 'react';\nimport {\n Dropdown,\n DropdownItem,\n DropdownMenu,\n DropdownToggle,\n} from 'reactstrap';\nimport {} from '.';\nimport './NavigationPillBar.scss';\n\nexport class NavigationPillModel {\n route?: string;\n title?: string;\n}\n\nexport type NavigationPillProps = React.HTMLProps & {\n route?: string;\n title: string;\n active?: boolean;\n routes?: NavigationPillModel[];\n};\n\nexport const NavigationPill: React.FC = ({\n route,\n active,\n routes,\n ...otherProps\n}) => {\n return (\n \n
\n {routes && routes.length > 0 ? (\n \n ) : (\n \n \n \n )}\n
\n );\n};\n\ntype NavPillContentProps = {\n title: string;\n isDropdown?: boolean;\n};\n\nconst NavPillContent: React.FC = ({\n title,\n isDropdown,\n}) => {\n return (\n
\n {title}\n \n \n \n
\n );\n};\n\ntype NavPillDropdownProps = {\n dropdownItems: NavigationPillModel[];\n title: string;\n};\n\nexport const NavPillDropdown: React.FC = ({\n title,\n dropdownItems,\n}) => {\n const [isDropdownOpen, toggleDropdownOpen] = useToggler(false);\n\n return (\n {}}\n >\n e.preventDefault()}>\n 0}\n />\n \n \n {dropdownItems.map((item, index) => (\n \n ))}\n \n \n );\n};\n\nexport type NavPillDropdownItemContentProps = {\n item: NavigationPillModel;\n};\n\nexport const NavPillDropdownItemContent: React.FC<\n NavPillDropdownItemContentProps\n> = ({ item }) => {\n const { route, title } = item;\n\n return (\n \n {title}\n \n );\n};\n","import ArrowRightIcon from '@mui/icons-material/ArrowRight';\nimport {\n ActionsDropdownConfig,\n ActionsDropdownItem,\n buildRoute,\n DropdownArrowIcon,\n DropdownItemModalConfig,\n fullClassName,\n MultiModalProvider,\n Render,\n SecureComponent,\n SmartLink,\n toggledClass,\n useModalHelpers,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { flatMap } from 'lodash';\nimport React, { Fragment, HTMLProps } from 'react';\nimport { useRouteMatch } from 'react-router-dom';\nimport {\n Dropdown,\n DropdownItem,\n DropdownItemProps,\n DropdownMenu,\n DropdownToggle,\n} from 'reactstrap';\nimport './NavActionsDropdown.scss';\n\nexport type ActionsDropdownProps = ActionsDropdownConfig &\n HTMLProps;\n\nexport const NavActionsDropdown: React.FC = ({\n items,\n className,\n useButtonPadding,\n sortItemsAlphabetically,\n ...otherProps\n}) => {\n const [isOpen, toggleIsOpen] = useToggler(false);\n\n return (\n \n \n x.permissions || [])\n .reduce((acc, val) => acc.concat(val), [])}\n >\n {}}\n >\n e.preventDefault()}>\n
\n \n {otherProps.name}\n \n \n
\n
\n {},\n options: {\n mainAxis: true,\n },\n },\n ]}\n end\n >\n \n \n \n \n
\n );\n};\n\nexport type MultiModalRendererProps = {\n items: ActionsDropdownItem[];\n};\n\nexport const MultiModalRenderer: React.FC = ({\n items,\n}) => {\n return (\n \n {items.map(({ modalConfig, childItems }, index) => (\n \n {modalConfig && modalConfig.modalComponent}\n {childItems?.length && }\n \n ))}\n \n );\n};\n\nexport type ActionDropdownItemsListProps = {\n items: ActionsDropdownItem[];\n sortItemsAlphabetically?: boolean;\n};\n\nexport const ActionDropdownItemsList: React.FC<\n ActionDropdownItemsListProps\n> = ({ items, sortItemsAlphabetically }) => {\n const finalItems: ActionsDropdownItem[] = sortItemsAlphabetically\n ? items.sort(compareDropdownItems)\n : items;\n\n return (\n \n {finalItems.map((item, index) => (\n \n ))}\n \n );\n};\n\nexport const ActionsDropdownItemDisplay: React.FC = ({\n childItems = [],\n permissions = flatMap(childItems.map((c) => c.permissions || [])),\n condition = true,\n sortChildItemsAlphabetically = false,\n ...itemProps\n}) => {\n const finalChildItems: ActionsDropdownItem[] = sortChildItemsAlphabetically\n ? childItems.sort(compareDropdownItems)\n : childItems;\n\n return (\n \n \n \n \n \n );\n};\n\nexport const ActionsDropdownItemRenderer: React.FC = ({\n url: itemUrl,\n onClick,\n divWrapper,\n name,\n isUrlRelative,\n childItems = [],\n modalConfig,\n isDisabled,\n openInNewTab,\n returnToPreviousPageOnSuccess,\n sortChildItemsAlphabetically,\n}) => {\n const ItemWrapper = divWrapper ? 'div' : DropdownItem;\n const hasChildItems = childItems.length > 0;\n const itemProps = divWrapper\n ? ({\n className: fullClassName('dropdown-item cursor-pointer'),\n disabled: isDisabled,\n } as HTMLProps)\n : ({\n disabled: isDisabled,\n } as DropdownItemProps);\n\n const { url } = useRouteMatch();\n const { setUpAdd, setUpEdit } = useModalHelpers(modalConfig?.modalId || name);\n\n const handleModalFormToggle = (e: any) => {\n onClick && onClick(e);\n if (modalConfig?.entityId) {\n setUpEdit(modalConfig.entityId, modalConfig.modalItem);\n } else {\n setUpAdd(modalConfig?.modalItem);\n }\n };\n\n return (\n
\n {modalConfig ? (\n \n \n \n ) : itemUrl === undefined ? (\n \n \n \n ) : (\n \n \n \n \n \n )}\n 0}>\n
\n \n
\n
\n
\n );\n};\n\nconst DropdownItemContent: React.FC<{\n name: string;\n hasChildItems?: boolean;\n}> = ({ name, hasChildItems }) => {\n return (\n \n {name}\n {hasChildItems && (\n \n )}\n \n );\n};\n\nexport type ModalFormWrapperProps = {\n config: DropdownItemModalConfig;\n};\n\nexport const compareDropdownItems = (\n a: ActionsDropdownItem,\n b: ActionsDropdownItem\n) => {\n return a.name.toLowerCase().localeCompare(b.name.toLowerCase());\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n getFormattedDisplayCell,\n GridProvider,\n PageCard,\n useApiWorker,\n useGridState,\n useToasts,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { Routes } from 'Navigation';\nimport { useFileDownloader } from 'Features/Utilities';\n\nclass CommitteeApplicationSearchModel {\n constructor(id: string) {\n this.committeeId = id;\n }\n committeeId?: string;\n}\n\nexport const CommitteeApplications: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const searchModel = new CommitteeApplicationSearchModel(committeeId);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const CommitteeApplicationsActionsCell: React.FC = (\n props: GridCellProps,\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const { downloadFile } = useFileDownloader();\n const dataItem = props.dataItem;\n\n const deleteApplication = async () => {\n if (window.confirm('Are you sure you want to delete the Committee Application?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeeapplications.base, dataItem.id)\n );\n if (deleteResponse.status === 200 || deleteResponse.data.isSuccessStatusCode) {\n toast.success('The Committee Application has been deleted.');\n } else {\n toast.error('The Committee Application was not able to be deleted. Make sure there are no members assigned this position.');\n }\n refreshGrid();\n } catch {\n toast.error('The Committee Application was not able to be deleted. Make sure there are no members assigned this position.');\n }\n }\n };\n\n const downloadAttachment = async () => {\n try {\n var url =\n AgendaEndpoints.committeeapplicationattachments.controllerActionString(\n 'download'\n ) +\n '?id=' +\n dataItem.id;\n downloadFile(url, dataItem.name + \"_Application\");\n\n refreshGrid();\n } catch {\n toast.error('Error downloading document.');\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'View',\n url: Routes.ViewCommitteeApplication + \"/\" + dataItem.id,\n permissions: [Permission.ViewCommitteeApplications],\n },\n {\n name: 'Download Attachment',\n onClick: downloadAttachment,\n permissions: [Permission.ViewCommitteeApplications],\n condition: dataItem.hasAttachment\n },\n {\n name: 'Delete',\n onClick: deleteApplication,\n permissions: [Permission.DeleteCommitteeApplications],\n },\n ],\n };\n\n return (\n \n );\n};\n","import { CancelBackButton } from \"@techsharegov/react-ui\";\n\nexport const CommitteeApplicationViewCustomButtons: React.FC = () => {\n return (\n <>\n Return\n \n );\n};\n","import { CoreEnum } from \"@techsharegov/react-ui\";\n\nexport class CommitteeApplicationModel {\n id?: string;\n committeeId?: string;\n committeeName?: string;\n positionId?: string;\n position?: string;\n configuration?: CommitteeApplicationConfigurationModel;\n ipAddress?: string;\n\n // Applicant\n name?: string;\n emailAddress?: string;\n phoneNumber?: string;\n currentEmployer?: string;\n jobTitle?: string;\n yearsLived?: number;\n addressLine1?: string;\n addressLine2?: string;\n addressCity?: string;\n addressState?: CoreEnum;\n addressZip?: string;\n\n // Interests & Experience\n describeInterest?: string;\n summaryOfIssues?: string;\n summaryOfParticipation?: string;\n whatYouHaveToOffer?: string;\n conflictsOfInterest?: boolean;\n conflictsOfInterestDisplay?: string;\n\n // Open Records and Public Information Act Acknowledgement\n allowPublicAccess?: boolean;\n allowPublicAccessDisplay?: string;\n}\n\nexport class CommitteeApplicationConfigurationModel {\n id?: string;\n countyName?: string;\n\n // Applicant\n isMiddleInitialVisible?: boolean;\n isCurrentEmployerVisible?: boolean;\n isJobTitleVisible?: boolean;\n isYearsLivedVisible?: boolean;\n\n // Interests & Experience\n isDescribeInterestVisible?: boolean;\n isSummaryOfIssuesVisible?: boolean;\n isSummaryOfParticipationVisible?: boolean;\n isWhatYouHaveToOfferVisible?: boolean;\n isConflictsOfInterestVisible?: boolean;\n\n // Open Records and Public Information Act Acknowledgement\n isAllowPublicAccessVisible?: boolean;\n\n // Attachments\n isAddAttachmentVisible?: boolean;\n}\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n FileModel,\n useApiWorker,\n useGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport React from 'react';\n\nexport class CommitteeApplicationAttachmentModel extends FileModel {\n comments?: string;\n}\n\nexport type CommitteeApplicationAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n isHistorical?: boolean;\n};\n\nexport const CommitteeApplicationAttachmentActionCell: React.FC = ({ \n dataItem, \n field = '', \n allowEdits, \n isHistorical = false,\n ...gridprops \n}) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeeapplicationattachments.base, dataItem.id)\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteCommitteeApplications],\n condition: allowEdits,\n },\n ],\n };\n\n return (\n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n FileDownloadCell,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n GridProvider,\n PageSectionHeading,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React from 'react';\nimport { CommitteeApplicationAttachmentActionCell } from './CommitteeApplicationAttachmentActionCell';\nimport { FileNameDownloadCell } from 'Components';\n\nclass CommitteeApplicationAttachmentSearchModel {\n constructor(id?: string) {\n this.committeeApplicationId = id;\n }\n\n committeeApplicationId?: string;\n isHistorical?: boolean;\n}\n\ntype CommitteeApplicationAttachmentsGridProps = {\n committeeApplicationId?: string;\n};\n\nexport const CommitteeApplicationAttachmentsGrid: React.FC<\n CommitteeApplicationAttachmentsGridProps\n> = ({ committeeApplicationId }) => {\n const searchModel: CommitteeApplicationAttachmentSearchModel =\n new CommitteeApplicationAttachmentSearchModel(committeeApplicationId);\n\n return (\n \n Committee Application Attachments\n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n","import {\n AsyncLoadingSection,\n buildEndpoint,\n ColSize,\n defaultDataTransform,\n DisplayBlock,\n PageCard,\n PageCardRowSection,\n Render,\n TaskPageHeaderLayout,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React, { Fragment } from 'react';\nimport { Row } from 'reactstrap';\nimport { CommitteeApplicationViewCustomButtons } from './CommitteeApplicationViewCustomButtons';\nimport { CommitteeApplicationModel } from './CommitteeApplicationModels';\nimport { Routes } from 'Navigation';\nimport { CommitteeApplicationAttachmentsGrid } from './CommitteeApplicationAttachmentsGrid';\n\nexport const ViewCommitteeApplication: React.FC = () => {\n const entityName = 'Committee Application';\n const [id] = useIdParam();\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeeapplications.get, id),\n new CommitteeApplicationModel(),\n defaultDataTransform,\n CommitteeApplicationModel\n );\n\n return (\n \n \n }\n >\n \n \n \n );\n};\n\nconst CommitteeApplicationViewContent: React.FC<{\n data: CommitteeApplicationModel;\n}> = ({data}) => {\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import './DwtScanner.scss';\nimport React, { Fragment, useEffect } from 'react';\n\nimport { Row } from 'reactstrap';\nimport { OverridableComponent } from '@mui/material/OverridableComponent';\nimport { SvgIconTypeMap } from '@mui/material';\nimport PlayArrowIcon from '@mui/icons-material/PlayArrow';\nimport SkipNextIcon from '@mui/icons-material/SkipNext';\nimport SkipPreviousIcon from '@mui/icons-material/SkipPrevious';\nimport {\n useDwtScanner,\n CONTAINER_ID,\n useDwtScannerButtonConfig,\n useDwtScannerActions,\n DwtScannerPageChange,\n DWT_RESOLUTION_OPTIONS,\n DWT_SCANNER_PIXEL_TYPE_OPTIONS,\n DwtScannerProvider,\n useDwtScannerState,\n DWT_SCANNER_PAGE_SIZE_OPTIONS,\n} from '.';\nimport {\n ButtonSize,\n ConditionalWrapper,\n InputType,\n LoadingButton,\n LoadingMaskSection,\n PageCardRow,\n PageCardSection,\n SmartInputBlock,\n TextIconButton,\n fullClassName,\n toggledClass,\n} from '@techsharegov/react-ui';\n\nexport type DwtScannerProps = {\n noProvider?: boolean;\n};\n\nexport const DwtScanner = ({ noProvider }: DwtScannerProps) => {\n return (\n (\n {children}\n )}\n >\n \n \n );\n};\n\nconst DwtScannerContent = () => {\n const { scanners, acquireImage, scannersFound, isLoading } = useDwtScanner();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Scan Document\n \n \n \n \n \n \n );\n};\n\nconst DwtScannerViewer = ({ isLoading }: { isLoading: boolean }) => {\n return (\n \n \n
\n
\n \n
\n \n
\n \n
\n \n );\n};\n\nconst DwtScannerButtons = () => {\n const buttonConfig = useDwtScannerButtonConfig();\n\n return (\n
\n {buttonConfig.map(({ customContent, ...config }) =>\n customContent ? (\n {customContent}\n ) : (\n \n )\n )}\n
\n );\n};\n\nexport type DwtScannerButtonProps = {\n icon: OverridableComponent> & {\n muiName: string;\n };\n label: string;\n onClick: () => void;\n rotated?: boolean;\n};\n\nexport const DwtScannerButton = ({\n icon: Icon,\n label,\n onClick,\n rotated,\n}: DwtScannerButtonProps) => {\n return (\n \n \n {label}\n \n );\n};\n\nconst DwtScannerPager = () => {\n const { dwObject, pageCount, setPageCount, currentPage, setCurrentPage } =\n useDwtScannerState();\n\n const { handlePageChange } = useDwtScannerActions();\n const isPagingDisabled = pageCount === 0;\n const isBackPagingDisabled = isPagingDisabled || currentPage === 0;\n const isForwardPagingDisabled =\n isPagingDisabled || currentPage === pageCount - 1;\n\n useEffect(() => {\n if (dwObject.current === null) return;\n\n if (pageCount !== dwObject.current.HowManyImagesInBuffer) {\n setPageCount(dwObject.current.HowManyImagesInBuffer);\n }\n if (currentPage !== dwObject.current.CurrentImageIndexInBuffer + 1) {\n setCurrentPage(dwObject.current.CurrentImageIndexInBuffer);\n }\n });\n\n return (\n \n handlePageChange(DwtScannerPageChange.First)}\n disabled={isBackPagingDisabled}\n tooltipText=\"First page\"\n />\n handlePageChange(DwtScannerPageChange.Previous)}\n disabled={isBackPagingDisabled}\n tooltipText=\"Previous page\"\n />\n Page {currentPage + 1}/{pageCount}\n handlePageChange(DwtScannerPageChange.Next)}\n disabled={isForwardPagingDisabled}\n tooltipText=\"Next page\"\n />\n handlePageChange(DwtScannerPageChange.Last)}\n disabled={isForwardPagingDisabled}\n tooltipText=\"Last page\"\n />\n \n );\n};\n","import React, { useEffect, useRef, useState } from 'react';\nimport Dynamsoft from 'dwt';\nimport Rotate90DegreesCcwIcon from '@mui/icons-material/Rotate90DegreesCcw';\nimport Rotate90DegreesCwOutlinedIcon from '@mui/icons-material/Rotate90DegreesCwOutlined';\nimport RotateLeftIcon from '@mui/icons-material/RotateLeft';\nimport DeleteOutlinedIcon from '@mui/icons-material/DeleteOutlined';\nimport DeleteSweepOutlinedIcon from '@mui/icons-material/DeleteSweepOutlined';\nimport AspectRatioOutlinedIcon from '@mui/icons-material/AspectRatioOutlined';\nimport CropOutlinedIcon from '@mui/icons-material/CropOutlined';\nimport FlipOutlinedIcon from '@mui/icons-material/FlipOutlined';\nimport {\n DwEvent,\n DwtFormValues,\n DwtScannerButton,\n DwtScannerButtonConfig,\n DwtSelectionZone,\n useDwtScannerState,\n} from '.';\nimport {\n useToasts,\n useFormState,\n useSimpleDataFetcher,\n ENDPOINTS,\n useFormStateValue,\n DropdownItemModel,\n useFormHelpers,\n isNullEmptyOrUndefined,\n useFormValueSetter,\n useToggler,\n EasyPopup,\n SmartInputBlock,\n InputType,\n FlexWrapper,\n CancelButton,\n PrimaryButton,\n} from '@techsharegov/react-ui';\nimport { v4 as uuidv4 } from 'uuid';\n\nexport const CONTAINER_ID = 'dwtcontrolContainer';\nexport const WEB_TWAIN_ID = 'dwtObject';\nexport const VIEWER_WIDTH = '411px';\nexport const VIEWER_HEIGHT = '530px';\nexport enum DwtScannerPageChange {\n First,\n Last,\n Next,\n Previous,\n}\n\nexport const useDwtScanner = () => {\n const toast = useToasts();\n const dwtScannerState = useDwtScannerState();\n const { formValues } = useFormState();\n const [isLoading, setIsLoading] = useState(false);\n\n const {\n scanners,\n setScanners,\n dwObject,\n setSelectedPages,\n setCurrentPage,\n setPageCount,\n setIsDwObjectSet,\n isDwObjectSet,\n zones,\n setZones,\n fileName,\n setFileName,\n } = dwtScannerState;\n\n const [formFileName, setFormFileName] = useFormStateValue('fileName');\n const [scannerSource, setScannerSource] =\n useFormStateValue('scannerSource');\n\n const { setFormErrors } = useFormHelpers();\n const dwtFormValues = formValues as DwtFormValues;\n\n const rootUrl =\n process.env.NODE_ENV === 'development'\n ? process.env.REACT_APP_REDIRECT_URI + '/'\n : window.REDIRECT_URI;\n\n const dwtLicenseKey =\n process.env.NODE_ENV === 'development'\n ? process.env.REACT_APP_DWT_ORGANIZATION_ID\n : window.DWT_ORGANIZATION_ID;\n\n const RESOURCES_PATH = `${rootUrl}dwt-resources`;\n const scannersFound = scanners.length > 0;\n\n const initializeDWT = () => {\n if (!dwtLicenseKey) return;\n\n //Dynamsoft.DWT.ProductKey = dwtLicenseKey;\n Dynamsoft.DWT.organizationID = dwtLicenseKey;\n Dynamsoft.DWT.ResourcesPath = RESOURCES_PATH;\n Dynamsoft.DWT.OnWebTwainPreExecute = () => {\n setIsLoading(true);\n return {};\n };\n Dynamsoft.DWT.OnWebTwainPostExecute = () => {\n setIsLoading(false);\n return {};\n };\n Dynamsoft.DWT.Containers = [\n {\n WebTwainId: WEB_TWAIN_ID,\n ContainerId: CONTAINER_ID,\n Width: VIEWER_WIDTH,\n Height: VIEWER_HEIGHT,\n },\n ];\n\n Dynamsoft.DWT.CreateDWTObjectEx(\n { WebTwainId: WEB_TWAIN_ID + '_' + uuidv4() },\n (webTwainDwObject: any) => {\n if (dwObject.current !== null) return;\n\n dwObject.current = webTwainDwObject;\n dwObject.current?.RemoveAllImages();\n setIsDwObjectSet(true);\n loadDWT();\n },\n (error: any) => {\n console.error('Scanner not installed');\n //toast.error(error);\n }\n );\n };\n\n const loadDWT = () => {\n setUpViewer();\n setUpEventHandlers();\n };\n\n const setUpViewer = () => {\n if (\n !dwObject.current?.Viewer.bind(\n document.getElementById(CONTAINER_ID) as HTMLDivElement\n )\n )\n return;\n dwObject.current.Viewer.width = VIEWER_WIDTH;\n dwObject.current.Viewer.height = VIEWER_HEIGHT;\n dwObject.current.Viewer.setViewMode(1, 1);\n dwObject.current.Viewer.show();\n };\n\n const setUpEventHandlers = () => {\n dwObject.current?.RegisterEvent(\n DwEvent.OnBitmapChanged,\n handleBufferChange\n );\n dwObject.current?.RegisterEvent(DwEvent.OnPostTransfer, handlePostTransfer);\n dwObject.current?.RegisterEvent(DwEvent.OnPostLoad, handleBufferChange);\n dwObject.current?.RegisterEvent(DwEvent.OnPostAllTransfers, () =>\n dwObject.current?.CloseSource()\n );\n dwObject.current?.Viewer.on(DwEvent.ViewerOnTopPageChanged, goToPage);\n dwObject.current?.Viewer.on(\n DwEvent.ViewerOnPageAreaSelected,\n handleSelection\n );\n dwObject.current?.Viewer.on(DwEvent.ViewerOnPageAreaUnselected, () =>\n setZones([])\n );\n dwObject.current?.Viewer.on(DwEvent.ViewerOnClick, handleBufferChange);\n };\n\n const handleBufferChange = () => {\n if (dwObject.current === null) return;\n\n let selection = dwObject.current.SelectedImagesIndices;\n setSelectedPages(selection || []);\n setCurrentPage(dwObject.current.CurrentImageIndexInBuffer);\n setPageCount(dwObject.current.HowManyImagesInBuffer);\n };\n\n const deskew = (index: number) => {\n dwObject.current?.GetSkewAngle(index, (angle: number) => {\n dwObject.current?.Rotate(\n index,\n angle,\n true,\n undefined,\n (errorCode: any, errorString: any) => console.log(errorString)\n );\n });\n };\n\n const handlePostTransfer = () => {\n handleBufferChange();\n // -- TODO: Uncomment below later if automatic deskewing isn't working as reported by client --\n // dwObject.current?.CurrentImageIndexInBuffer !== undefined &&\n // deskew(dwObject.current?.CurrentImageIndexInBuffer);\n };\n\n const handleSelection = (page: number, rect: DwtSelectionZone[]) => {\n if (rect.length === 0) return;\n\n let currentRect = rect[rect.length - 1];\n if (rect.length === 1) {\n setZones([currentRect]);\n return;\n }\n\n setZones([...zones, currentRect]);\n };\n\n const goToPage = (index: number) => {\n if (dwObject.current === null) return;\n\n dwObject.current.CurrentImageIndexInBuffer = index;\n handleBufferChange();\n };\n\n const acquireImage = () => {\n if (!scannerSource?.id) {\n toast.error('Please select a source');\n setFormErrors({ scannersource: ['Scanner source required'] });\n return;\n }\n if (dwObject.current === null) return;\n dwObject.current.CloseSource();\n for (let i = 0; i < dwObject.current.SourceCount; i++) {\n if (dwObject.current.GetSourceNameItems(i) === scannerSource.name) {\n dwObject.current.SelectSourceByIndex(i);\n break;\n }\n }\n dwObject.current.OpenSource();\n dwObject.current.IfAutomaticDeskew = true;\n dwObject.current.AcquireImage({\n IfShowUI: false,\n PixelType: dwtFormValues?.pixelType,\n Resolution: dwtFormValues?.resolution,\n IfFeederEnabled: dwtFormValues?.isAutoFeeder,\n IfDuplexEnabled: dwtFormValues?.isDoubleSided,\n PageSize: dwtFormValues?.pageSize,\n });\n dwObject.current.Viewer.setViewMode(1, 1);\n };\n\n useEffect(() => {\n if (isNullEmptyOrUndefined(dwtLicenseKey)) return;\n\n initializeDWT();\n }, [dwtLicenseKey]);\n\n useEffect(() => {\n if (dwObject.current !== null && isDwObjectSet) {\n let numberOfSources = dwObject.current.SourceCount;\n let sourceOptions: DropdownItemModel[] = [];\n for (let i = 0; i < numberOfSources; i++) {\n sourceOptions.push({\n name: dwObject.current.GetSourceNameItems(i),\n id: `scanner_${i}`,\n });\n }\n\n setScanners(sourceOptions);\n }\n }, [isDwObjectSet]);\n\n useEffect(() => {\n setFormFileName(fileName);\n }, []);\n useEffect(() => {\n setFileName(formFileName);\n }, [formFileName]);\n\n useEffect(() => {\n if (scanners.length > 0) {\n setScannerSource(scanners[0]);\n }\n }, [scanners]);\n\n return {\n acquireImage,\n scannersFound,\n isLoading,\n ...dwtScannerState,\n };\n};\n\nexport const useDwtScannerActions = () => {\n const toast = useToasts();\n const { dwObject, currentPage, zones } = useDwtScannerState();\n const { formValues } = useFormState();\n const formModel = formValues as DwtFormValues;\n\n const handleRotateLeft = () => {\n dwObject.current?.RotateLeft(dwObject.current.CurrentImageIndexInBuffer);\n };\n\n const handleRotateRight = () => {\n dwObject.current?.RotateRight(dwObject.current.CurrentImageIndexInBuffer);\n };\n\n const handleRotate180 = () => {\n dwObject.current?.Rotate(\n dwObject.current.CurrentImageIndexInBuffer,\n 180,\n true\n );\n };\n\n const handleMirror = () => {\n dwObject.current?.Mirror(dwObject.current.CurrentImageIndexInBuffer);\n };\n\n const handleFlip = () => {\n dwObject.current?.Flip(dwObject.current.CurrentImageIndexInBuffer);\n };\n\n const handleRemoveSelected = () => {\n dwObject.current?.RemoveAllSelectedImages();\n };\n\n const handleRemoveAll = () => {\n dwObject.current?.RemoveAllImages();\n };\n\n const handleResize = () => {\n dwObject.current?.ChangeImageSize(\n currentPage,\n formModel?.width,\n formModel?.height,\n 3 //bicubic\n );\n };\n\n const handleCrop = () => {\n if (zones.length === 0) {\n toast.error('Please select where you want to crop first.');\n return;\n }\n if (zones.length > 1) {\n toast.error('Please select only 1 area to crop.');\n return;\n }\n const currentZone = zones[0];\n\n dwObject.current?.Crop(\n currentPage,\n currentZone.x,\n currentZone.y,\n currentZone.x + currentZone.width,\n currentZone.y + currentZone.height\n );\n };\n\n const handlePageChange = (changeType: DwtScannerPageChange) => {\n if (dwObject.current === null) return;\n\n switch (changeType) {\n case DwtScannerPageChange.First:\n dwObject.current.CurrentImageIndexInBuffer = 0;\n break;\n case DwtScannerPageChange.Last:\n dwObject.current.CurrentImageIndexInBuffer =\n dwObject.current.HowManyImagesInBuffer - 1;\n break;\n case DwtScannerPageChange.Next:\n dwObject.current.CurrentImageIndexInBuffer =\n dwObject.current.CurrentImageIndexInBuffer ===\n dwObject.current.HowManyImagesInBuffer - 1\n ? dwObject.current.CurrentImageIndexInBuffer\n : dwObject.current.CurrentImageIndexInBuffer + 1;\n break;\n case DwtScannerPageChange.Previous:\n dwObject.current.CurrentImageIndexInBuffer =\n dwObject.current.CurrentImageIndexInBuffer > 0\n ? dwObject.current.CurrentImageIndexInBuffer - 1\n : dwObject.current.CurrentImageIndexInBuffer;\n break;\n }\n };\n\n return {\n handleRotateLeft,\n handleRotateRight,\n handleRotate180,\n handleMirror,\n handleFlip,\n handleRemoveSelected,\n handleRemoveAll,\n handleResize,\n handleCrop,\n handlePageChange,\n };\n};\n\nexport const useDwtScannerButtonConfig = () => {\n const setHeight = useFormValueSetter('height');\n const setWidth = useFormValueSetter('width');\n const { dwObject, currentPage } = useDwtScannerState();\n const {\n handleRotateLeft,\n handleRotateRight,\n handleRotate180,\n handleMirror,\n handleFlip,\n handleRemoveSelected,\n handleRemoveAll,\n handleResize,\n handleCrop,\n } = useDwtScannerActions();\n const wrapperRef = useRef(null);\n const [isResizePopupOpen, toggleResizePopup] = useToggler(false);\n\n const initializeResizePopup = () => {\n setHeight(dwObject.current?.GetImageHeight(currentPage));\n setWidth(dwObject.current?.GetImageWidth(currentPage));\n toggleResizePopup();\n };\n\n const saveResize = () => {\n handleResize();\n toggleResizePopup();\n };\n\n const resizeButtonProps = {\n icon: AspectRatioOutlinedIcon,\n label: 'Resize',\n onClick: initializeResizePopup,\n };\n\n const buttonConfigs: DwtScannerButtonConfig[] = [\n {\n icon: Rotate90DegreesCcwIcon,\n label: 'Rotate Left',\n onClick: handleRotateLeft,\n },\n {\n icon: Rotate90DegreesCwOutlinedIcon,\n label: 'Rotate Right',\n onClick: handleRotateRight,\n },\n {\n icon: RotateLeftIcon,\n label: 'Rotate 180°',\n onClick: handleRotate180,\n },\n {\n icon: FlipOutlinedIcon,\n label: 'Mirror',\n onClick: handleMirror,\n },\n {\n icon: FlipOutlinedIcon,\n label: 'Flip',\n onClick: handleFlip,\n rotated: true,\n },\n {\n icon: DeleteOutlinedIcon,\n label: 'Remove Selected',\n onClick: handleRemoveSelected,\n },\n {\n icon: DeleteSweepOutlinedIcon,\n label: 'Remove All',\n onClick: handleRemoveAll,\n },\n {\n ...resizeButtonProps,\n customContent: (\n (wrapperRef.current = ref)}\n >\n \n \n \n \n \n
\n \n Save\n \n \n
\n ),\n },\n {\n icon: CropOutlinedIcon,\n label: 'Crop',\n onClick: handleCrop,\n },\n ];\n\n return buttonConfigs;\n};\n","import { DropdownItemModel, NamedCoreEnum } from '@techsharegov/react-ui';\nimport { DwtScannerButtonProps } from '.';\n\nexport const DWT_RESOLUTION_OPTIONS: NamedCoreEnum = {\n oneHundred: { value: 100, displayName: '100' },\n twoHundred: { value: 200, displayName: '200' },\n threeHundred: { value: 300, displayName: '300' },\n sixHundred: { value: 600, displayName: '600' },\n};\n\nexport const DWT_SCANNER_PIXEL_TYPE_OPTIONS: NamedCoreEnum = {\n blackAndWhite: { value: 0, displayName: 'B&W' },\n gray: { value: 1, displayName: 'Gray' },\n color: { value: 2, displayName: 'Color' },\n};\n\nexport const DWT_SCANNER_PAGE_SIZE_OPTIONS: NamedCoreEnum = {\n a4Letter: { value: 1, displayName: 'A4Letter' },\n b5Letter: { value: 2, displayName: 'B5 Letter' },\n usLetter: { value: 3, displayName: 'US Letter' },\n usLegal: { value: 4, displayName: 'US Legal' },\n a5: { value: 5, displayName: 'A5' },\n b4: { value: 6, displayName: 'B4' },\n b6: { value: 7, displayName: 'B6' },\n usLedger: { value: 9, displayName: 'US Ledger' },\n usExecutive: { value: 10, displayName: 'US Executive' },\n a3: { value: 11, displayName: 'A3' },\n b3: { value: 12, displayName: 'B3' },\n a6: { value: 13, displayName: 'A6' },\n c4: { value: 14, displayName: 'C4' },\n c5: { value: 15, displayName: 'C5' },\n c6: { value: 16, displayName: 'C6' },\n a40: { value: 17, displayName: '4A0' },\n a20: { value: 18, displayName: '2A0' },\n a0: { value: 19, displayName: 'A0' },\n a1: { value: 20, displayName: 'A1' },\n a2: { value: 21, displayName: 'A2' },\n a7: { value: 22, displayName: 'A7' },\n a8: { value: 23, displayName: 'A8' },\n a9: { value: 24, displayName: 'A9' },\n a10: { value: 25, displayName: 'A10' },\n isoB0: { value: 26, displayName: 'ISOB0' },\n isoB1: { value: 27, displayName: 'ISOB1' },\n isoB2: { value: 28, displayName: 'ISOB2' },\n isoB5: { value: 29, displayName: 'ISOB5' },\n isoB7: { value: 30, displayName: 'ISOB7' },\n isoB8: { value: 31, displayName: 'ISOB8' },\n isoB9: { value: 32, displayName: 'ISOB9' },\n isoB10: { value: 33, displayName: 'ISOB10' },\n jisb0: { value: 34, displayName: 'JISB0' },\n jisb1: { value: 35, displayName: 'JISB1' },\n jisb2: { value: 36, displayName: 'JISB2' },\n jisb3: { value: 37, displayName: 'JISB3' },\n jisb4: { value: 38, displayName: 'JISB4' },\n jisb6: { value: 39, displayName: 'JISB6' },\n jisb7: { value: 40, displayName: 'JISB7' },\n jisb8: { value: 41, displayName: 'JISB8' },\n jisb9: { value: 42, displayName: 'JISB9' },\n jisb10: { value: 43, displayName: 'JISB10' },\n c0: { value: 44, displayName: 'C0' },\n c1: { value: 45, displayName: 'C1' },\n c2: { value: 46, displayName: 'C2' },\n c3: { value: 47, displayName: 'C3' },\n c7: { value: 48, displayName: 'C7' },\n c8: { value: 49, displayName: 'C8' },\n c9: { value: 50, displayName: 'C9' },\n c10: { value: 51, displayName: 'C10' },\n usStatement: { value: 52, displayName: 'US Statement' },\n businessCard: { value: 53, displayName: 'Business Card' },\n maxSize: { value: 54, displayName: 'Max' },\n};\n\nexport enum DwEvent {\n OnBitmapChanged = 'OnBitmapChanged',\n OnPostTransfer = 'OnPostTransfer',\n OnPostLoad = 'OnPostLoad',\n OnPostAllTransfers = 'OnPostAllTransfers',\n ViewerOnTopPageChanged = 'topPageChanged',\n ViewerOnPageAreaSelected = 'pageAreaSelected',\n ViewerOnPageAreaUnselected = 'pageAreaUnselected',\n ViewerOnClick = 'click',\n}\n\nexport interface DwtFormValues {\n fileName: string;\n pixelType: number;\n pageSize: number;\n resolution: number;\n isAutoFeeder: boolean;\n isDoubleSided: boolean;\n scannerSource: DropdownItemModel;\n width: number;\n height: number;\n}\n\nexport interface DwtScannerButtonConfig extends DwtScannerButtonProps {\n customContent?: any;\n}\n\nexport interface DwtSelectionZone {\n x: number;\n y: number;\n width: number;\n height: number;\n}\n","import { DropdownItemModel } from '@techsharegov/react-ui';\nimport { WebTwain } from 'dwt/dist/types/WebTwain';\nimport * as React from 'react';\nimport { DwtSelectionZone } from './DwtModels';\n\nexport interface DwtScannerState {\n scanners: DropdownItemModel[];\n setScanners: React.Dispatch>;\n dwObject: React.MutableRefObject;\n currentPage: number;\n setCurrentPage: React.Dispatch>;\n isDwObjectSet: boolean;\n setIsDwObjectSet: React.Dispatch>;\n pageCount: number;\n setPageCount: React.Dispatch>;\n selectedPages: number[];\n setSelectedPages: React.Dispatch>;\n zones: DwtSelectionZone[];\n setZones: React.Dispatch>;\n fileName: string;\n setFileName: React.Dispatch>;\n}\n\nconst DwtScannerStateContext = React.createContext(\n undefined\n);\n\nexport const DwtScannerProvider: React.FC = (props) => {\n return ;\n};\n\nexport const DwtProviderContent: React.FC = ({ children }) => {\n const [scanners, setScanners] = React.useState([]);\n const dwObject = React.useRef(null);\n const [isDwObjectSet, setIsDwObjectSet] = React.useState(false);\n const [currentPage, setCurrentPage] = React.useState(-1);\n const [pageCount, setPageCount] = React.useState(0);\n const [selectedPages, setSelectedPages] = React.useState([]);\n const [zones, setZones] = React.useState([]);\n const [fileName, setFileName] = React.useState('');\n\n return (\n \n {children}\n \n );\n};\n\nexport const useDwtScannerState = () => {\n const dwtScannerStateContext = React.useContext(DwtScannerStateContext);\n if (dwtScannerStateContext === undefined) {\n throw new Error(\n 'useDwtScannerState must be used within a DwtScannerProvider'\n );\n }\n\n return dwtScannerStateContext;\n};\n","import { BaseUser, NamedCoreEnum } from '@techsharegov/react-ui';\n\nexport class User extends BaseUser {\n defaultOrganizationId?: string;\n defaultHomepageRoute?: string;\n phoneNumber?: string;\n signature?: string;\n pin?: string;\n requirePinForSignature?: boolean;\n hasSignature?: boolean;\n signatureRole?: NamedCoreEnum;\n permissions?: number[];\n}\n\nexport type DownloadFilesModalItem = {\n agendaId?: string;\n};\n\nexport class Role {\n constructor(\n name?: string,\n permissions?: any,\n workflowTransitions?: any,\n id = ''\n ) {\n this.name = name;\n this.permissionsList = permissions;\n this.workflowTransitionList = workflowTransitions;\n this.id = id;\n }\n permissionsList?: any;\n workflowTransitionList?: any;\n name?: string;\n id?: string;\n}\n\nexport type CheckboxModel = {\n id?: string;\n name?: string;\n groupName?: string;\n isSelected?: boolean;\n};\n\nexport enum FileTypes {\n Docx = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\n Pdf = 'application/pdf',\n}\n","import {\n buildRoute,\n fullClassName,\n Render,\n SecureComponent,\n SmartLink,\n toggledClass,\n} from '@techsharegov/react-ui';\nimport {\n CONFIGURATION_CONFIG,\n ACTION_ITEMS_CONFIG,\n Routes,\n useSubNavigation,\n NavConfigItem,\n REPORTS_CONFIG,\n} from 'Navigation';\nimport { useRouteMatch } from 'react-router-dom';\nimport { NavActionsDropdown } from './NavActionsDropdown';\nimport { NavigationPill } from './NavigationPill';\n\nexport const NavigationPillBar: React.FC> = ({\n className,\n ...others\n}) => {\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport type SecondaryNavigationPillBarProps = {\n parentRoute?: string;\n largeFont?: boolean;\n};\n\nexport const SecondaryNavigationPillBar: React.FC<\n SecondaryNavigationPillBarProps\n> = ({ parentRoute, largeFont }) => {\n const navConfig = useSubNavigation(parentRoute);\n const { url } = useRouteMatch();\n\n return (\n 0}>\n
\n {navConfig.map((pill: NavConfigItem, index: number) => (\n \n \n
{pill.label}
\n
\n \n \n ))}\n
\n \n );\n};\n","import { useProviderContext, useOnScreen } from \"@techsharegov/react-ui\";\nimport React, { useEffect, useMemo, useRef } from \"react\";\n\nexport type BookmarkRef = {\n ref: React.MutableRefObject;\n isShowing?: boolean;\n order: number;\n};\n\ntype RefMap = {\n [name: string]: BookmarkRef;\n};\n\nexport interface ScrollBookmarkState {\n refs: RefMap;\n addBookmark: (name: string, ref: BookmarkRef) => void;\n removeBookmark: (name: string) => void;\n scrollTo: (name: string) => void;\n bookmarks: string[];\n setIsShowing: (name: string, isShowing: boolean) => void;\n}\n\nconst ScrollBookmarkStateContext = React.createContext<\n ScrollBookmarkState | undefined\n>(undefined);\n\nexport const ScrollBookmarkProvider: React.FC = ({ children }) => {\n const refMapState = useRefMapState();\n\n return (\n \n {children}\n \n );\n};\n\nconst useRefMapState = () => {\n const [refs, setRefs] = React.useState({});\n\n const addBookmark = React.useCallback((name: string, ref: BookmarkRef) => {\n setRefs((prev) => {\n return { ...prev, [name]: { ...prev[name], ...ref } };\n });\n }, []);\n\n const setIsShowing = React.useCallback((name: string, isShowing: boolean) => {\n setRefs((prev) => {\n return { ...prev, [name]: { ...prev[name], isShowing } };\n });\n }, []);\n\n const removeBookmark = React.useCallback((name: string) => {\n setRefs((prev) => {\n delete prev[name];\n return { ...prev };\n });\n }, []);\n\n const scrollTo = React.useCallback(\n (name: string) => {\n const ref = refs[name]?.ref;\n if (ref.current) {\n ref.current.scrollIntoView({ behavior: \"smooth\" });\n }\n },\n [refs]\n );\n\n const bookmarks = React.useMemo(\n () =>\n Object.entries(refs)\n .sort(([, val], [, val2]) => val.order - val2.order)\n .map(([key, val]) => key),\n [refs]\n );\n\n return {\n refs,\n addBookmark,\n scrollTo,\n bookmarks,\n removeBookmark,\n setIsShowing,\n };\n};\n\nexport const useScrollBookmarkState = () => {\n return useProviderContext(\n ScrollBookmarkStateContext,\n \"ScrollBookmark\"\n );\n};\n\nexport const useScrollBookmarkSection = (\n name: string,\n bookmark: BookmarkRef\n) => {\n const { addBookmark, removeBookmark, setIsShowing } =\n useScrollBookmarkState();\n const isShowing = useOnScreen(bookmark.ref);\n\n React.useEffect(() => {\n if (bookmark.ref.current) {\n addBookmark(name, bookmark);\n }\n\n return () => {\n removeBookmark(name);\n };\n }, [bookmark.ref]);\n\n React.useEffect(() => {\n setIsShowing(name, isShowing);\n }, [isShowing]);\n};\n\nexport const useActiveBookmark = () => {\n const { bookmarks, refs } = useScrollBookmarkState();\n const lastSeenBookmark = useRef(null);\n const activeBookmark = useMemo(\n () =>\n bookmarks.length > 0\n ? bookmarks.filter((n) => refs[n].isShowing)?.[0]\n : null,\n [refs]\n );\n\n useEffect(() => {\n if (activeBookmark) {\n lastSeenBookmark.current = activeBookmark;\n }\n }, [activeBookmark]);\n\n return activeBookmark || lastSeenBookmark.current;\n};\n","export const DEFAULT_TITLE = '';\n","import {\n AsyncLoadingSection,\n FormProvider,\n ModalDialog,\n SecondaryButton,\n buildEndpoint,\n useApiWorker,\n useBlobToastrErrors,\n useDataFetcher,\n useDownloadingToast,\n useFormState,\n useModalHelpers,\n useModalItem,\n} from '@techsharegov/react-ui';\nimport { MultiModalFormDialogContent } from 'Components';\nimport { useFileDownloader, usePostFileDownloader } from 'Features/Utilities';\nimport { METHODS } from 'Models';\nimport { useState } from 'react';\n\nexport type GenerateDocumentsModalProps = {\n modalId: string;\n baseEndpoint?: string;\n gridRefresh?: () => void;\n entityName: string;\n};\n\nexport type GenerateDocumentModalItem = {\n id?: string;\n};\n\nexport const GenerateDocumentsModal: React.FC = ({\n children,\n modalId,\n baseEndpoint,\n entityName,\n gridRefresh,\n}) => {\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, simpleSuccessHandler, toggle } = useModalHelpers(modalId);\n\n const handleSuccess = () => {\n simpleSuccessHandler('Document(s) Generated Successfully!');\n gridRefresh && gridRefresh();\n };\n let [generateModel, fetchStatus] = useDataFetcher(\n buildEndpoint(baseEndpoint, METHODS.GenerateDocuments, id),\n {},\n ({ data }) => data,\n undefined,\n isOpen\n );\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport const GenerateDocumentsModalContent: React.FC<\n GenerateDocumentsModalProps\n> = ({ children, modalId, baseEndpoint, entityName }) => {\n const { formValues } = useFormState();\n const [isPreviewLodaing, setIsPreviewLoading] = useState(false);\n const downloader = usePostFileDownloader();\n const onFinally = () => {\n setIsPreviewLoading(false);\n };\n\n const previewDocuments = async () => {\n setIsPreviewLoading(true);\n await downloader.downloadFile(\n buildEndpoint(baseEndpoint, METHODS.PreviewDocuments),\n formValues,\n entityName,\n undefined,\n undefined,\n onFinally\n );\n };\n\n return (\n \n Preview\n \n }\n >\n {children}\n \n );\n};\n","import {\n SmartFileUploader,\n} from 'Components/Form';\nimport React, { useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { MeetingAttachmentModal, MeetingAttachmentModel } from './MeetingAttachmentActionCell';\nimport { AsyncStatus, ButtonStyle, CancelButton, DisplayBlock, FormActionTypes, FormProvider, FormSubmitButton, IconButton, LoadingSection, ModalDrawer, ModalDrawerButtonRow, Render, ThemeColor, buildEndpoint, useDataFetcher, useFormState, useFormUpdater, useGridState, useModalHelpers, useModalItem } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport HighlightOffIcon from '@mui/icons-material/HighlightOff';\n\ntype MeetingAttachmentModalProps = {\n id?: string;\n};\n\nexport const MeetingAttachmentDrawerFormContent: React.FC = () => {\n const modalId = MeetingAttachmentModal.AddMeetingAttachment;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const isAdd = id === undefined;\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Meeting Attachment updated successfully');\n refreshGrid();\n };\n let [meetingAttachmentModel, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.meetingattachments.base, id),\n new MeetingAttachmentModel(),\n ({ data }) => data,\n undefined,\n !isAdd && isOpen\n );\n \n return (\n \n \n \n \n \n \n \n );\n};\n\ntype MeetingAttachmentFormProps = {\n isAdd?: boolean;\n meetingAttachmentModel?: MeetingAttachmentModel\n};\n\nexport const MeetingAttachmentDrawerFormFields: React.FC = ({\n isAdd,\n meetingAttachmentModel\n}) => { \n const modalId = MeetingAttachmentModal.AddMeetingAttachment;\n const { toggle } = useModalHelpers(modalId);\n const sendUpdate = useFormUpdater();\n\n const [, setIsAdd] = useState(!meetingAttachmentModel?.id);\n const addOrEditEndpoint = AgendaEndpoints.meetingattachments.controllerActionString(\n isAdd ? 'add' : 'edit'\n );\n const { formValues } = useFormState();\n\n const removeTemplateFile = () => {\n setIsAdd(false);\n sendUpdate(FormActionTypes.UpdateValue, { field: 'fileId', value: undefined });\n };\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n Save Meeting Attachment\n \n \n \n );\n};\n","import { AdminSubHeaderMainLayout } from 'Components';\nimport { Routes } from 'Navigation';\nimport React from 'react';\n\nexport const PendingSignatures: React.FC = () => {\n return (\n \n );\n};\n","import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord';\nimport {\n ActionsDropdownConfig,\n fullClassName,\n Render,\n} from '@techsharegov/react-ui';\nimport { Fragment, HTMLProps, ReactNode } from 'react';\nimport './PageHeaders.scss';\nimport { SecondaryNavigationPillBar, SecondaryNavigationPillBarProps } from 'Components/Navigation';\n\ntype PageHeaderProps = HTMLProps & {\n title?: string;\n dropdownConfig?: ActionsDropdownConfig;\n tall?: boolean;\n};\n\nexport type TaskHeaderProps = PageHeaderProps & {\n saveButtonText?: string;\n disableSaveButton?: boolean;\n customButtons?: ReactNode;\n tall?: boolean;\n};\n\nconst HeaderBullet: React.FC = () => (\n
\n \n
\n);\n\nexport type HeaderBulletedListProps = {\n list: (string | undefined)[];\n header?: boolean;\n wrapperProps?: HTMLProps;\n};\n\nexport const HeaderBulletedList: React.FC = ({\n list,\n header,\n wrapperProps,\n}) => {\n return (\n \n {list\n .filter((item) => item && item.length > 0)\n .map((item, index) => (\n \n \n \n \n \n {item}\n \n \n ))}\n
\n );\n};\n\nexport type BulletedHeadingProps = {\n mainBulletItems: (string | undefined)[];\n subBulletItems?: (string | undefined)[];\n smallerMainBullets?: boolean;\n};\n\nexport const BulletedHeading: React.FC = ({\n mainBulletItems,\n subBulletItems = [],\n smallerMainBullets,\n}) => {\n const MainBulletWrapper = smallerMainBullets ? 'h2' : 'h1';\n\n return (\n
\n
\n \n \n \n
\n \n
\n );\n};\n\n\nexport type SecondaryHeaderProps = PageHeaderProps &\n SecondaryNavigationPillBarProps;\n\nexport const SecondaryHeader: React.FC = ({\n children,\n title,\n className,\n ...pillBarProps\n}) => {\n return (\n \n
\n {title ?

{title}

: children}\n
\n \n \n );\n};\n","import MoreVertIcon from '@mui/icons-material/MoreVert';\nimport { GridCellProps } from '@progress/kendo-react-grid';\nimport { Menu, MenuItemModel } from '@progress/kendo-react-layout';\nimport { Popup } from '@progress/kendo-react-popup';\nimport {\n ActionsDropdownConfig,\n ActionsDropdownItemDisplay,\n fullClassName,\n MultiModalProvider,\n MultiModalRenderer,\n Render,\n TextButton,\n useOnClickOutside,\n useToggler,\n} from '@techsharegov/react-ui';\nimport React, { useRef } from 'react';\n\nexport type GridActionsDropdownSpecificProps = {\n buttonWrapperClass?: string;\n};\n\nexport type GridActionsDropdownProps = Partial &\n ActionsDropdownConfig &\n GridActionsDropdownSpecificProps;\n\nexport const GridActionsDropdown: React.FC = ({\n items,\n buttonWrapperClass,\n dataItem,\n}) => {\n const [isOpen, toggleIsOpen] = useToggler(false);\n var menuToggleRef = useRef(null);\n var menuRef = useRef(null);\n useOnClickOutside([menuRef, menuToggleRef], () => {\n isOpen && toggleIsOpen();\n });\n\n const kendoItems: MenuItemModel[] = items\n .filter((i) => i.condition === undefined || i.condition)\n .map(({ onClick, divWrapper, modalConfig, ...dropdownItem }) => {\n const onClickAndToggle = (e: any) => {\n onClick && onClick(e);\n toggleIsOpen();\n };\n\n if (modalConfig && !modalConfig.modalItem && dataItem) {\n modalConfig.modalItem = dataItem;\n }\n\n const kendoItem: MenuItemModel = {\n linkRender: (props: any) => (\n \n ),\n disabled: dropdownItem.isDisabled,\n };\n\n return kendoItem;\n });\n\n return (\n \n \n 0}>\n (menuToggleRef.current = ref)}\n >\n \n \n \n \n \n \n \n (menuRef.current = ref)}\n >\n \n \n \n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Drawer, DrawerProps } from 'antd';\nimport CloseIcon from '@mui/icons-material/Close';\nimport { FormProvider, FormProviderProps, FormSubmitButton, ModalDrawerButtonRow, MultiModalCancelButton, Render, ToggleableProps, fullClassName, toggledClass, useFormHelpers, useModalHelpers } from '@techsharegov/react-ui';\nimport { useModalFormState } from 'Context';\n\nexport type ModalDrawerProps = DrawerProps &\n ToggleableProps & {\n isOpen: boolean;\n noBodyPadding?: boolean;\n };\n\nexport const ModalDrawer: React.FC = ({\n title,\n isOpen,\n toggle,\n children,\n className,\n noBodyPadding,\n ...otherProps\n}) => {\n return (\n \n }\n className={fullClassName(\n className,\n toggledClass('no-body-padding', noBodyPadding)\n )}\n {...otherProps}\n >\n {children}\n \n \n );\n};\n\nexport const ControlledModalFormDrawer: React.FC = ({\n children,\n width = 500,\n isOpen,\n ...allProps\n}) => {\n return (\n \n {isOpen && children}\n \n );\n};\n\nexport type ModalFormDrawerProps = DrawerProps & {\n noBodyPadding?: boolean;\n};\n\nexport const ModalFormDrawer: React.FC = ({\n children,\n ...otherProps\n}) => {\n const { toggle, isOpen } = useModalFormState();\n\n return (\n \n {children}\n \n );\n};\n\nexport type MultiModalDrawerProps = DrawerProps & {\n modalId: string;\n noBodyPadding?: boolean;\n};\n\nexport const MultiModalDrawer: React.FC = ({\n modalId,\n children,\n ...modalDrawerProps\n}) => {\n const { toggle, isOpen } = useModalHelpers(modalId);\n\n return (\n \n {children}\n \n );\n};\n\nexport type MultiModalFormDrawerProps = ModalFormDrawerProps &\n FormProviderProps & {\n modalId: string;\n submitButtonText?: string;\n clearFields?: boolean;\n };\n\nexport const MultiModalFormDrawer: React.FC = ({\n modalId,\n submitButtonText = 'Save',\n children,\n formModel,\n endpoint,\n handleSuccess,\n clearFields,\n ...otherProps\n}) => {\n const { toggle, isOpen } = useModalHelpers(modalId);\n\n return (\n \n \n \n \n {children}\n \n \n {submitButtonText}\n \n \n \n \n );\n};\n\nconst MultiModalFormErrorClearer: React.FC = ({\n modalId,\n clearFields,\n}) => {\n const { isOpen } = useModalHelpers(modalId);\n const { setFormValues, clearFormErrors } = useFormHelpers();\n useEffect(() => {\n if (!isOpen) {\n clearFormErrors();\n if (clearFields) {\n setFormValues({});\n }\n }\n }, [isOpen]);\n\n return null;\n};\n","import React, { Fragment, HTMLProps, useEffect } from 'react';\nimport { Draggable, Droppable } from 'react-beautiful-dnd';\nimport DragIndicatorIcon from '@mui/icons-material/DragIndicator';\nimport { v4 as uuidv4 } from 'uuid';\nimport {\n ButtonCore,\n ButtonSize,\n ButtonStyle,\n CollapsibleSection,\n DraggableModel,\n FlexWrapper,\n FormListSection,\n Render,\n TextIconButton,\n ThemeColor,\n fullClassName,\n isNullEmptyOrUndefined,\n toggledClass,\n useFormStateValue,\n useSafeStateUpdate,\n} from '@techsharegov/react-ui';\nimport { Button } from 'reactstrap';\n\nexport type DragDropConfig = {\n draggable: boolean;\n noDroppable?: boolean;\n droppableId?: string;\n minDroppableHeight?: number;\n};\n\nexport type SmartMultiSectionListProps = HTMLProps & {\n listName: string;\n listObjectName?: string;\n initialValues?: any;\n getInitialValues?: () => any;\n removeable?: boolean;\n hasInitialSection?: boolean;\n isDisabled?: boolean;\n noCollapse?: boolean;\n leftAlignDelete?: boolean;\n hideButtons?: boolean;\n includeTitles?: boolean;\n deleteByTitle?: boolean;\n extraButtons?: any;\n noSeparator?: boolean;\n usePrimaryButton?: boolean;\n noAnimation?: boolean;\n rightAlignDelete?: boolean;\n sectionClass?: string;\n listFilter?: (value: any, index: number) => boolean;\n canDeleteFunction?: (index: number) => boolean;\n maxItems?: number;\n dragDropConfig?: DragDropConfig;\n onRemoveSection?: (index: number, value: any) => void;\n alignDeleteWithInputRow?: boolean;\n smallTitle?: boolean;\n mediumTitle?: boolean;\n confirmDeleteText?: string;\n};\n\nexport const defaultFormatName = (name: string) => name;\n\nexport const SmartMultiSectionList: React.FC = ({\n listName,\n listObjectName,\n initialValues,\n getInitialValues,\n children,\n hasInitialSection,\n isDisabled,\n leftAlignDelete,\n deleteByTitle,\n extraButtons,\n noSeparator,\n usePrimaryButton,\n dragDropConfig,\n onRemoveSection,\n noAnimation,\n rightAlignDelete,\n sectionClass,\n listFilter = () => true,\n noCollapse = false,\n hideButtons = false,\n includeTitles = !noCollapse,\n removeable = true,\n className,\n alignDeleteWithInputRow,\n smallTitle,\n mediumTitle,\n canDeleteFunction = () => true,\n maxItems,\n confirmDeleteText,\n ...otherProps\n}) => {\n //local state\n const [objectList, setObjectList] = useFormStateValue(listName, []);\n const safeStateUpdate = useSafeStateUpdate();\n\n //helper functions\n const formatInputName = (name: string, index: number) => {\n return `${listName}[${index}].${name}`;\n };\n\n const formatChildren = (index: number) => {\n //function we're providing to children to format input names\n const formatInputNameWithIndex = (name: string) =>\n formatInputName(name, index);\n\n //pass input name formatter function as props to each child\n return React.Children.toArray(children).map((child) =>\n React.cloneElement(child as React.ReactElement, {\n formatInputName: formatInputNameWithIndex,\n index: index,\n })\n );\n };\n\n //add a new list section with initial values\n const addSection = () => {\n safeStateUpdate(() => {\n const newValue =\n getInitialValues != null\n ? getInitialValues()\n : initialValues != null\n ? { ...initialValues }\n : {};\n const updatedList = objectList ? [...objectList, newValue] : [newValue];\n setObjectList(updatedList);\n });\n };\n\n //removes item from list at index\n const removeSection = (index: number, item: any) => {\n if (\n !isNullEmptyOrUndefined(confirmDeleteText) &&\n !window.confirm(confirmDeleteText)\n )\n return;\n var filteredObjectList = [...objectList];\n filteredObjectList.splice(index, 1);\n safeStateUpdate(() => setObjectList(filteredObjectList));\n onRemoveSection && onRemoveSection(index, item);\n };\n\n const getFilteredIndex = (value: any) => {\n const index = objectList\n .filter((val, index) => listFilter(val, index))\n .findIndex((val) => val === value);\n return index;\n };\n\n const isSectionRemoveable = (index: number) => {\n return (\n removeable && !isDisabled && canDeleteFunction && canDeleteFunction(index)\n // && !(hasInitialSection && objectList.length <= 1 && index === 0)\n );\n };\n\n const getSectionTitle = (index: number) => {\n return includeTitles ? `${listObjectName} ${index + 1}` : '';\n };\n\n const isLastSection = (index: number) => {\n return index + 1 === objectList.length;\n };\n\n useEffect(() => {\n safeStateUpdate(() => {\n if (hasInitialSection && objectList.length === 0) {\n addSection();\n }\n });\n }, [objectList]);\n\n const SectionComponent = noCollapse ? FormListSection : CollapsibleSection;\n const SectionWrapper = dragDropConfig?.draggable\n ? DraggableSectionWrapper\n : Fragment;\n const sectionWrapperProps = (listSection: Partial) =>\n dragDropConfig?.draggable\n ? {\n id: listSection?.draggableId || uuidv4(),\n index: getFilteredIndex(listSection),\n }\n : {};\n const ListWrapper =\n dragDropConfig?.draggable && !dragDropConfig.noDroppable\n ? DroppableSectionWrapper\n : Fragment;\n const listWrapperProps =\n dragDropConfig?.draggable && !dragDropConfig.noDroppable\n ? {\n id: dragDropConfig.droppableId,\n minHeight: dragDropConfig.minDroppableHeight,\n }\n : {};\n\n return (\n \n \n {objectList.map((listSection: any, index: number) => (\n \n \n removeSection(index, listSection)}\n title={getSectionTitle(index)}\n isLast={isLastSection(index)}\n alignDeleteWithInputRow={alignDeleteWithInputRow}\n smallTitle={smallTitle}\n mediumTitle={mediumTitle}\n hideButtons={hideButtons}\n >\n {formatChildren(index)}\n \n \n
\n ))}\n \n \n \n \n Add {objectList.length === 0 ? '' : 'Another'} {listObjectName}\n \n {extraButtons}\n \n \n \n );\n};\n\nexport type DraggableSectionWrapperProps = {\n id?: any;\n index?: number;\n};\n\nexport const DraggableSectionWrapper: React.FC<\n DraggableSectionWrapperProps\n> = ({ children, id = uuidv4(), index = 0 }) => {\n return (\n \n {(provided, snapshot) => (\n \n \n {children}\n \n )}\n \n );\n};\n\nexport type DroppableSectionWrapperProps = {\n id?: any;\n minHeight?: number;\n};\n\nexport const DroppableSectionWrapper: React.FC<\n DroppableSectionWrapperProps\n> = ({ children, id = uuidv4(), minHeight }) => {\n return (\n \n {(provided, snapshot) => (\n \n {children}\n {provided.placeholder}\n \n )}\n \n );\n};\n\nexport type ListSectionProps = {\n formatInputName?: (name: string) => string;\n index?: number;\n isReadonly?: boolean;\n};\n\nexport enum DeleteButtonPosition {\n Right = 'right',\n Left = 'left',\n ByTitle = 'byTitle',\n AlignedWithInput = 'alignedWithInput',\n}\n\nexport type SmartFormListProps = {\n listName: string;\n listObjectName?: string;\n removeable?: boolean;\n hasInitialSection?: boolean;\n deleteButtonPosition?: DeleteButtonPosition;\n smallTitle?: boolean;\n sectionConfig?: Partial;\n};\n\nexport const SmartFormList: React.FC = ({\n children,\n sectionConfig,\n deleteButtonPosition,\n smallTitle,\n ...multiSectionListProps\n}) => {\n const getDeleteButtonPositionProps = () => {\n const deleteButtonProps: Partial = {};\n\n switch (deleteButtonPosition) {\n case DeleteButtonPosition.Right:\n deleteButtonProps.rightAlignDelete = true;\n break;\n case DeleteButtonPosition.AlignedWithInput:\n deleteButtonProps.alignDeleteWithInputRow = true;\n break;\n case DeleteButtonPosition.ByTitle:\n deleteButtonProps.deleteByTitle = true;\n deleteButtonProps.includeTitles = true;\n break;\n case DeleteButtonPosition.Left:\n deleteButtonProps.leftAlignDelete = true;\n break;\n }\n\n return deleteButtonProps;\n };\n\n return (\n \n {children}\n \n );\n};\n","import { MainArea, Render, SmartLink, buildRoute, fullClassName, toggledClass } from \"@techsharegov/react-ui\";\nimport { NavConfigItem, Routes, useSubNavigation, useSubRoutes } from \"Navigation\";\nimport { SUBROUTES_MAP } from \"Navigation/SubRoutesMap\";\nimport React from \"react\";\nimport { SecondaryHeader } from \"./PageHeaders\";\n\nexport type AdminSubHeaderMainLayoutProps = {\n title: string;\n subRoute?: string;\n useNestedTabs?: boolean;\n};\n\nexport const AdminSubHeaderMainLayout: React.FC<\n AdminSubHeaderMainLayoutProps\n> = ({ title, subRoute = '', children, useNestedTabs }) => {\n return (\n \n }\n useNestedSubRouteTabs={useNestedTabs}\n >\n {children}\n \n );\n};\n\nexport type TabbedHeaderLayoutProps = {\n subRoute?: string;\n useNestedSubRouteTabs?: boolean;\n header: any;\n};\n\nexport const TabbedHeaderLayout: React.FC = ({\n subRoute = '',\n children,\n header,\n useNestedSubRouteTabs,\n}) => {\n const mapSubRoutes = useSubRoutes();\n const withNoSubroutes = subRoute.length === 0;\n\n return (\n \n {React.cloneElement(header as React.ReactElement, {\n className: 'admin-header',\n })}\n \n \n \n \n {withNoSubroutes ? children : mapSubRoutes(SUBROUTES_MAP[subRoute])}\n \n \n );\n};\n\nexport type TabbedHeaderNestedTabBarProps = {\n subRoute: string;\n};\n\nexport const TabbedHeaderNestedTabBar = ({\n subRoute,\n}: TabbedHeaderNestedTabBarProps) => {\n const navConfigItems = useSubNavigation(subRoute);\n const activeItem = navConfigItems.find((item) => item.active);\n const activeRoute = buildRoute(subRoute, activeItem?.route);\n\n return (\n <>\n {activeItem ? (\n
\n \n
\n ) : null}\n \n );\n};\n\nexport type TabbedHeaderNestedTabBarContentsProps = {\n activeRoute: string;\n};\n\nexport const TabbedHeaderNestedTabBarContents = ({\n activeRoute,\n}: TabbedHeaderNestedTabBarContentsProps) => {\n const subNavConfigItems = useSubNavigation(activeRoute);\n\n return (\n <>\n {subNavConfigItems.map((item) => (\n \n ))}\n \n );\n};\n\n\nexport type TabbedHeaderNestedTabProps = NavConfigItem & {\n parentRoute: string;\n};\n\nexport const TabbedHeaderNestedTab = ({\n active,\n label,\n route,\n parentRoute,\n}: TabbedHeaderNestedTabProps) => {\n return (\n \n \n {label}\n
\n
\n
\n );\n};\n","import {\n ButtonCore,\n ButtonSize,\n ButtonStyle,\n FormSubmitButton,\n ModalDialogProps,\n MultiModalCancelButton,\n Render,\n fullClassName,\n toggledClass,\n useFormHelpers,\n useModalHelpers,\n} from '@techsharegov/react-ui';\nimport { useEffect } from 'react';\nimport { DialogActionsBar } from '@progress/kendo-react-dialogs';\n\nexport type MultiModalFormDialogProps = Partial & {\n modalId: string;\n onSubmit?: () => void;\n otherSubmitButtons?: any;\n onCancel?: () => any;\n hideButtons?: boolean;\n};\n\nexport const MultiModalFormDialogContent: React.FC<\n MultiModalFormDialogProps\n> = ({\n children,\n modalId,\n otherButtons,\n submitButtonText,\n onSubmit,\n hideCancelButton = false,\n}) => {\n const { isOpen, toggle } = useModalHelpers(modalId);\n const { clearFormErrors } = useFormHelpers();\n\n useEffect(() => {\n if (!isOpen) {\n clearFormErrors();\n }\n }, [isOpen]);\n\n return (\n <>\n {children}\n \n {otherButtons}\n
\n \n {submitButtonText}\n \n \n {\n toggle();\n }}\n >\n Cancel\n \n \n
\n
\n \n );\n};\n","import {\n AsyncStatus,\n useApiWorker,\n AsyncLoadingSection,\n Position,\n} from '@techsharegov/react-ui';\nimport React from 'react';\nimport { useState, useEffect } from 'react';\n\nexport type AttachmentEmbedProps = {\n endpoint: string;\n height?: string;\n};\n\nexport const AttachmentEmbed: React.FC = ({\n endpoint,\n height,\n}) => {\n const [fileUrl, setFileUrl] = useState('');\n const [loadingStatus, setLoadingStatus] = useState(AsyncStatus.Pending);\n const API = useApiWorker();\n\n useEffect(() => {\n setLoadingStatus(AsyncStatus.Pending);\n (async () => {\n API.get(endpoint, {\n responseType: 'blob',\n }).then((response) => {\n const file = new Blob([response.data], { type: 'application/pdf' });\n const fileURL = URL.createObjectURL(file);\n setFileUrl(fileURL);\n setLoadingStatus(AsyncStatus.Success);\n });\n })();\n }, [endpoint]);\n\n return (\n \n \n alt: test.pdf\n \n \n );\n};\n","import { useDocumentTitle } from \"Features/Utilities\";\nimport { Helmet } from \"react-helmet\";\n\nexport type DocumentTitleProps = {\n subTitle: string;\n nestRoutes?: boolean;\n clearOnDismount?: boolean;\n};\n\nexport const DocumentTitle = ({\n subTitle,\n nestRoutes,\n clearOnDismount,\n}: DocumentTitleProps) => {\n const title = useDocumentTitle(subTitle, nestRoutes, clearOnDismount);\n\n return (\n \n {title}\n \n );\n};\n","import {\n buildRoute,\n isNullEmptyOrUndefined,\n useHasPermissions,\n} from '@techsharegov/react-ui';\nimport { Unauthorized } from 'Features/Error/Unauthorized';\nimport { useEffect, useState } from 'react';\nimport { Route, useHistory, useLocation, useRouteMatch } from 'react-router-dom';\nimport { ROUTES, ROUTE_MAP } from './RouteMaps';\nimport { Routes } from './RouteNames';\nimport { IRouteConfig, NavConfigItem, RouteConfig } from './RouteTypes';\nimport { SubRouteConfig, SubRoutes } from '../Components/Navigation/NavigationTypes';\nimport { DocumentTitle } from 'Components/Navigation/DocumentTitle';\nimport { SUBROUTES_MAP, SUB_NAV_CONFIG_MAP } from './SubRoutesMap';\n\n//helper constants\nexport const ADD_EDIT = 'AddEdit';\nexport const VIEW = 'View';\n\n//helper functions\n/*\n Maps a SubRoutes instance to a list of NavConfigItems,\n used for displaying sidebar or top level navigation items\n*/\nexport const mapSubroutesToNavConfigItems = (\n subRoutes: SubRoutes\n): NavConfigItem[] => {\n return Object.entries(subRoutes)\n .filter(([, subRoute]) => !subRoute.hideInSidebar)\n .map(([subRouteName, subRoute]) => {\n return { ...subRoute, subRouteName, active: false };\n });\n};\n\nexport const useGetRoutes = () => {\n const hasPermissions = useHasPermissions();\n return Object.keys(ROUTES).map((routeName: string) => {\n var config = ROUTES[routeName];\n return (\n \n );\n });\n};\n\nexport const useGetSubRoutes = (route: Routes) => {\n const routeMap = ROUTE_MAP[route];\n const routeConfig = ROUTES[route];\n const hasPermissions = useHasPermissions();\n\n return routeMap\n ? Object.values(routeMap).map((subRouteConfig: IRouteConfig) => (\n \n ))\n : null;\n};\n\nexport interface RouteMapperProps {\n route: Routes;\n}\n\nexport const RouteMapper = ({ route }: RouteMapperProps) => {\n const subRoutes = useGetSubRoutes(route);\n\n return <>{subRoutes};\n};\n\nexport const useNavigation = (navItems: RouteConfig[]) => {\n const [navConfig, setNavConfig] = useState(navItems || []);\n const { pathname } = useLocation();\n const hasPermissions = useHasPermissions();\n let history = useHistory();\n\n useEffect(() => {\n var tempConfig: RouteConfig[] = [];\n var defaultRoute;\n if (pathname === '/') {\n tempConfig = navConfig.map((x: RouteConfig) => {\n x.active = x.path === Routes.Meetings || false;\n return x;\n });\n defaultRoute = tempConfig.find((x) => x.path === Routes.Meetings);\n } else {\n tempConfig = navConfig.map((x: RouteConfig) => {\n x.active = pathname.startsWith(x.path);\n return x;\n });\n }\n setNavConfig(\n tempConfig\n .filter((x) => hasPermissions(x.permissions))\n .map((x) => {\n return x;\n })\n );\n if (defaultRoute) {\n history.push(defaultRoute.path);\n }\n }, [pathname]);\n\n return { navConfig };\n};\n\n\n\n/*\n * @param route\n * Builds the full route path recursively from default subroutes\n */\nexport const getFullDefaultRoute = (\n route: string,\n ...parentRoutes: string[]\n): string => {\n var fullRoute = parentRoutes?.length\n ? buildRoute(...parentRoutes, route)\n : route;\n var subRoutes = SUBROUTES_MAP[fullRoute];\n\n if (subRoutes !== undefined) {\n var defaultSubRoute =\n Object.values(subRoutes).find((x) => x.default) ||\n Object.values(subRoutes)[0];\n\n if (defaultSubRoute !== undefined) {\n return route + getFullDefaultRoute(defaultSubRoute.route, fullRoute);\n }\n }\n\n return route;\n};\n\nexport const useGetSecureSubNavItems = (\n filter?: (x: NavConfigItem) => boolean,\n noPermissionsFilter = false\n) => {\n const hasPermissions = useHasPermissions();\n\n const getSubNavItems = (parentRoute?: string) => {\n if (parentRoute) {\n return (\n SUB_NAV_CONFIG_MAP[parentRoute]\n ?.filter((x) => {\n return noPermissionsFilter ? true : hasPermissions(x.permissions);\n })\n ?.filter(filter || ((x) => x))\n .map((x) => {\n return {\n fullRoute: getFullDefaultRoute(x.route, parentRoute),\n ...x,\n };\n }) || []\n );\n } else {\n return [];\n }\n };\n\n return getSubNavItems;\n};\n\nexport const useSubNavigation = (parentRoute?: string) => {\n const getSubNavItems = useGetSecureSubNavItems();\n const navConfig = useActiveRouteSetter(() => {\n return getSubNavItems(parentRoute);\n });\n\n return navConfig;\n};\n\nexport const useActiveRouteSetter = (\n getInitialValue: () => NavConfigItem[]\n) => {\n const [navConfig, setNavConfig] = useState(\n getInitialValue()\n );\n const { pathname } = useLocation();\n\n useEffect(() => {\n var tempConfig: NavConfigItem[] = getInitialValue();\n tempConfig = tempConfig.map((x: NavConfigItem) => {\n const routeParts = pathname\n .split('?')[0]\n .split('/')\n .filter((s) => !isNullEmptyOrUndefined(s));\n x.active = routeParts.includes(x.route.replace('/', ''));\n return x;\n });\n\n setNavConfig(tempConfig);\n }, [pathname]);\n return navConfig;\n};\n\n/*\n Returns function for mapping SubRoutes instance to individual Route Components,\n filters by permissions\n*/\nexport const useSubRoutes = (\n filter = (x: [string, SubRouteConfig]) => true,\n renderDocumentTitle = (routeLabel: string) => routeLabel,\n nestRoutes = true\n) => {\n const hasPermissions = useHasPermissions();\n let { url } = useRouteMatch();\n\n const mapSubRoutesToRoutes = (subRoutes: SubRoutes) => {\n return Object.entries(subRoutes)\n .filter(\n ([, subRoute]) =>\n subRoute.component !== undefined &&\n hasPermissions(subRoute.permissions)\n )\n .filter(filter)\n .map(([, subRoute], index) => {\n const { exact, ...otherRouteProps } = subRoute.routeProps;\n const Component = subRoute.component;\n\n return (\n (\n <>\n \n \n \n )\n : (props) => \n }\n {...otherRouteProps}\n />\n );\n });\n };\n\n return mapSubRoutesToRoutes;\n};\n\nexport function getSubRouteName(mainRoute: Routes | string, subRoute: string) {\n return mainRoute + subRoute;\n}\n","export enum Routes {\n Elmah = '/Elmah',\n ElmahError = '/ElmahError',\n Unauthorized = '/Unauthorized',\n Dashboard = '/Dashboard',\n Users = '/Users',\n UsersAddEdit = '/Users/AddEdit',\n UsersEditProfile = '/Users/Profile',\n Roles = '/Roles',\n RolesAddEdit = '/Roles/AddEdit',\n Committees = '/Committees',\n CommitteeApplicationConfigurations = '/CommitteeApplicationConfigurations',\n CommitteeApplicationConfigurationAddEdit = '/CommitteeApplicationConfigurations/AddEdit',\n CommitteesAddEdit = '/Committees/AddEdit',\n CommitteesView = '/Committees/View',\n CommitteesWithApplicationView = '/CommitteesWithApplication/View',\n CommitteeMembersAddEdit = '/CommitteeMembers/AddEdit',\n DetailedSearch = '/DetailedSearch',\n MeetingTypes = '/MeetingTypes',\n MeetingTypesAddEdit = '/MeetingTypes/AddEdit',\n AddMeetingTypeSectionParent = '/MeetingTypeSections/AddEdit',\n Meetings = '/Meetings',\n MeetingsAddEdit = '/Meetings/AddEdit',\n MeetingsCalendar = '/MeetingsCalendar',\n NotificationTemplates = '/NotificationTemplates',\n NotificationTemplatesAddEdit = '/NotificationTemplates/AddEdit',\n NumberGeneratorSettings = '/NumberGeneratorSettings',\n WorkflowTransitions = '/WorkflowTransitions',\n WorkflowTransitionsAddEdit = '/WorkflowTransitions/AddEdit',\n Departments = '/Departments',\n DepartmentsAddEdit = '/Departments/AddEdit',\n DocumentTemplates = '/DocumentTemplates',\n DocumentTemplatesAddEdit = '/DocumentTemplates/AddEdit',\n DocumentTokens = '/DocumentTokens',\n AttachmentTypes = '/AttachmentTypes',\n ActionItemConfigurations = '/ActionItemConfigurations',\n ActionItemConfigurationAddEdit = '/ActionItemConfigurations/AddEdit',\n ActionItems = '/ActionItems',\n ActionItemAddEdit = '/ActionItems/AddEdit',\n CopyActionItem = '/ActionItems/Copy',\n ActionItemCommentAddEdit = '/ActionItemComments/AddEdit',\n ViewActionItem = '/ActionItems/View',\n AgendaCoordinatorView = '/AgendaCoordinator/View',\n HeloTest = '/HeloTest',\n AgendaCoordinatorViewByMeeting = '/AgendaCoordinator/ViewByMeeting',\n PreMeetingAgendaView = '/PreMeetingAgenda/View',\n ViewHistoricalAgenda = '/HistoricalAgenda/View',\n PreMeetingAgendaViewByMeeting = '/PreMeetingAgenda/ViewByMeeting',\n OrganizationEdit = '/Organizations/Edit',\n PublicNotices = '/PubliceNotices',\n StaffRecommendations = '/StaffRecommendations',\n StaffRecommendationAddEdit = '/StaffRecommendations/AddEdit',\n PublicNoticeAddEdit = '/PubliceNotices/AddEdit',\n PublicAgenda = '/PublicAgenda/View',\n StartMeeting = '/LiveMeetings/StartMeeting',\n LiveMeeting = '/LiveMeetings/LiveMeeting',\n FinalizeMeeting = '/FinalizeMeeting',\n StreamTest = '/StreamTest',\n DocumentEditor = '/DocumentEditor',\n ViewCommitteeApplication = '/CommitteeApplication/View',\n VacantCommitteePositions = '/Reports/VacantCommitteePositions',\n ExpiringCommitteeMembers = '/Reports/ExpiringCommitteeMembers',\n AttendanceReport = '/Reports/Attendance',\n PendingSignatures = '/PendingSignatures',\n FileStamps = '/FileStamps',\n FileStampsAddEdit = '/FileStamps/AddEdit',\n}\n","import { Configuration, RedirectRequest } from '@azure/msal-browser';\n\nconst development = process.env.NODE_ENV === 'development';\n\n// Config object to be passed to Msal on creation\nexport const msalConfig: Configuration = {\n auth: {\n authority: development\n ? `https://login.microsoftonline.us/${process.env.REACT_APP_TENANT}`\n : `https://login.microsoftonline.us/${window.TENANT}`,\n clientId: development\n ? `${process.env.REACT_APP_CLIENT_ID}`\n : `${window.CLIENT_ID}`,\n redirectUri: development\n ? `${process.env.REACT_APP_REDIRECT_URI}`\n : `${window.REDIRECT_URI}`,\n postLogoutRedirectUri: development\n ? `${process.env.REACT_APP_REDIRECT_URI}`\n : `${window.REDIRECT_URI}`,\n },\n cache: {\n cacheLocation: 'sessionStorage',\n storeAuthStateInCookie: false, // Set this to \"true\" if you are having issues on IE11 or Edge\n },\n};\n\nexport const loginRequest: RedirectRequest = {\n scopes: [\n development\n ? `${process.env.REACT_APP_CLIENT_ID}/.default`\n : `${window.CLIENT_ID}/.default`,\n ],\n};\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n AsyncGrid,\n buildEndpoint,\n CoreEnum,\n defaultGridProps,\n PageSectionHeading,\n ShowAuditCommentsCell,\n TimeStampCell,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport React, { Fragment } from 'react';\n\nexport type AuditLogProps = {\n title?: string;\n admin?: boolean;\n eventDateMin?: Date;\n eventDateMax?: Date;\n comment?: string;\n parentIds?: string[];\n ids?: string[];\n entityEvents?: CoreEnum[];\n entityEventType?: CoreEnum;\n baseEntityEventType?: CoreEnum;\n permissions?: Permission[];\n refreshToggle?: boolean;\n searchIdAlsoAsParent?: boolean;\n};\n\nexport const AuditLog: React.FC = ({\n title,\n admin,\n eventDateMax,\n eventDateMin,\n entityEventType,\n baseEntityEventType,\n entityEvents,\n parentIds,\n ids,\n comment,\n refreshToggle,\n searchIdAlsoAsParent,\n}) => {\n const search = {\n eventDateMin: eventDateMin,\n eventDateMax: eventDateMax,\n entityEventType: entityEventType,\n baseEntityEventType: baseEntityEventType,\n entityEvents: entityEvents,\n parentIds: parentIds,\n ids: ids,\n comment: comment,\n searchIdAlsoAsParent: searchIdAlsoAsParent,\n };\n\n return (\n \n {title && }\n \n \n \n \n {!admin && (\n \n )}\n \n \n \n \n );\n};\n\nexport const CommentsCell: React.FC = (props) => (\n \n);\n","import {\n AsyncLoadingSection,\n AsyncStatus,\n buildEndpoint,\n buildQueryUrl,\n CancelButton,\n ColumnLayout,\n ENDPOINTS,\n FormProvider,\n FormSubmitButton,\n InputType,\n ModalDrawer,\n ModalDrawerButtonRow,\n PageCardRowSection,\n Position,\n Render,\n SmartInputBlock,\n useApiWorker,\n useFormStateValue,\n useGridState,\n useModalHelpers,\n useModalItem,\n} from '@techsharegov/react-ui';\nimport { Fragment, useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { MeetingAttachmentModal } from './MeetingAttachmentActionCell';\nimport { AgendaEndpoints, METHODS } from 'Models';\n\ntype RemoveFileStampProps = {\n id?: string;\n caseId?: string;\n};\n\nexport const MeetingAttachmentRemoveFileStampForm: React.FC = () => {\n const modalId = MeetingAttachmentModal.RemoveFileStamp;\n const modalItem = useModalItem();\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Remove Stamp successfully');\n refreshGrid();\n };\n\n return (\n \n \n \n \n \n \n \n Remove Stamp\n \n \n \n );\n};\n\nconst MeetingAttachmentRemoveFileStampFormData: React.FC<{\n attachmentId?: string;\n}> = ({ attachmentId }) => {\n const [stampToRemove] = useFormStateValue('stampToRemove');\n\n return (\n \n \n \n \n \n \n );\n};\n\nexport type StampDisplayEmbeddedProps = {\n stampId?: string;\n};\n\nexport const StampDisplayEmbedded: React.FC = ({\n stampId,\n}) => {\n const [pngBase64, setPngBase64] = useState('');\n const [loadingStatus, setLoadingStatus] = useState(AsyncStatus.Success);\n const API = useApiWorker();\n\n useEffect(() => {\n if (stampId !== undefined) {\n setLoadingStatus(AsyncStatus.Pending);\n (async () => {\n API.get(\n buildEndpoint(\n AgendaEndpoints.meetingAttachmentStampMetadatas.base,\n stampId,\n 'ViewStamp'\n ),\n {\n responseType: 'arraybuffer',\n }\n ).then((response) => {\n setPngBase64(\n 'data:image/x-png;headers=filename%3Dstamp.png;base64,' +\n Buffer.from(response.data, 'binary').toString('base64')\n );\n setLoadingStatus(AsyncStatus.Success);\n });\n })();\n } else {\n setPngBase64('');\n }\n }, [stampId]);\n\n return (\n \n \n \n stamp.png\n \n \n \n );\n};\n","import {\n SmartFileUploader,\n} from 'Components/Form';\nimport React from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncStatus, CancelButton, DisplayBlock, DropdownItemModel, FormProvider, FormSubmitButton, InputType, LoadingSection, ModalDrawer, ModalDrawerButtonRow, Render, SmartInputBlock, buildEndpoint, useDataFetcher, useGridState, useModalHelpers, useModalItem } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { CommitteeMemberAttachmentModal, CommitteeMemberAttachmentModel } from './CommitteeMemberAttachmentActionCell';\n\ntype CommitteeMemberAttachmentModalProps = {\n id?: string;\n defaultAttachmentType?: DropdownItemModel; \n};\n\nexport const CommitteeMemberAttachmentDrawerFormContent: React.FC = () => {\n const modalId = CommitteeMemberAttachmentModal.AddCommitteeMemberAttachment;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const isAdd = id === undefined;\n const addOrEditEndpoint = AgendaEndpoints.committeememberattachments.controllerActionString(\n isAdd ? 'add' : 'edit'\n );\n const allowMultiple = isAdd;\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Committee Member Attachment updated successfully');\n refreshGrid();\n };\n let [committeeMemberAttachmentModel, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeememberattachments.base, id),\n new CommitteeMemberAttachmentModel(),\n ({ data }) => data,\n undefined,\n !isAdd && isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n Save Committee Member Attachment\n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n buildQueryUrl,\n FileModel,\n useApiWorker,\n useGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React from 'react';\nimport { CommitteeMemberAttachmentDrawerFormContent } from './CommitteeMemberAttachmentDrawerFormContent';\n\nexport enum CommitteeMemberAttachmentModal {\n AddCommitteeMemberAttachment = 'AddCommitteeMemberAttachment',\n}\n\nexport class CommitteeMemberAttachmentModel extends FileModel {\n comments?: string;\n}\n\nexport type CommitteeMemberAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n};\n\nexport const CommitteeMemberAttachmentActionCell: React.FC<\nCommitteeMemberAttachmentActionCellProps\n> = ({ dataItem, field = '', allowEdits, ...gridprops }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(\n AgendaEndpoints.committeememberattachments.base,\n dataItem.id\n )\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n permissions: [Permission.AddEditCommitteeMembers],\n modalConfig: {\n modalId: CommitteeMemberAttachmentModal.AddCommitteeMemberAttachment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits,\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.AddEditCommitteeMembers],\n condition: allowEdits,\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: dataItem.id,\n fileId: dataItem.fileId,\n fileName: dataItem.fileName,\n endpoint: AgendaEndpoints.committeememberattachments.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n condition: allowEdits && dataItem.extension === '.docx',\n },\n ],\n };\n\n return (\n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n FileDownloadCell,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n GridProvider,\n PageSectionHeading,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React from 'react';\nimport { CommitteeMemberAttachmentActionCell } from './CommitteeMemberAttachmentActionCell';\nimport { FileNameDownloadCell } from 'Components';\n\nclass CommitteeMemberAttachmentSearchModel {\n constructor(id?: string) {\n this.committeeMemberId = id;\n }\n\n committeeMemberId?: string;\n}\n\ntype CommitteeMemberAttachmentsGridProps = {\n committeeMemberId?: string;\n allowEdits?: boolean;\n};\n\nexport const CommitteeMemberAttachmentsGrid: React.FC<\n CommitteeMemberAttachmentsGridProps\n> = ({ committeeMemberId, allowEdits }) => {\n const searchModel: CommitteeMemberAttachmentSearchModel =\n new CommitteeMemberAttachmentSearchModel(committeeMemberId);\n\n return (\n \n Committee Member Attachments\n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport {\n AsyncLoadingSection,\n EMPTY_GUID,\n GridColumnWidth,\n InputType,\n MultiModalFormDialog,\n PageCard,\n PageCardSection,\n Render,\n SmartInputBlock,\n defaultDataTransform,\n useDataFetcher,\n useEnums,\n useFormState,\n useFormStateValue,\n useGridState,\n useModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, CONTROLLERS } from 'Models';\nimport { CommitteeMemberModal } from './CommitteeMembers';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { AddAttachmentsSection } from 'Features/Shared';\nimport { CommitteeMemberAttachmentsGrid } from './CommitteeMemberAttachmentsGrid';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class AddEditCommitteeMemberModel {\n committeeId?: string;\n}\n\nexport const AddEditCommitteeMemberModal: React.FC = () => {\n const modalId = CommitteeMemberModal.AddEdit;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const isAdd = entityId === null || entityId === undefined;\n const addUpdated = isAdd ? 'added' : 'updated';\n const id = isAdd ? EMPTY_GUID : entityId;\n const { committeeId } = useCommitteeState();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const handleSuccess = () => {\n toast.success('Committee Member ' + addUpdated);\n refreshGrid();\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n AgendaEndpoints.committeemembers.addedit +\n '?id=' +\n id +\n '&committeeId=' +\n committeeId,\n new AddEditCommitteeMemberModel(),\n defaultDataTransform,\n AddEditCommitteeMemberModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const AddEditCommitteeMemberContent: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const [formCommitteeId, setFormCommitteeId] =\n useFormStateValue('committeeId');\n const [termEndDate, setTermEndDate] = useFormStateValue('termEndDate');\n const [isPastFirstLoad, setIsPastFirstLoad] =\n useFormStateValue('isPastFirstLoad');\n const { formValues } = useFormState();\n const { appointedType, signatureRole } = useEnums();\n\n useEffect(() => {\n if (\n formCommitteeId === undefined ||\n formCommitteeId === null ||\n formCommitteeId === EMPTY_GUID\n ) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n useEffect(() => {\n if (\n isPastFirstLoad &&\n formValues.useDefaultTermValues &&\n formValues.yearsOfTerm !== undefined &&\n formValues.termStartDate !== undefined &&\n formValues.termStartDate !== null\n ) {\n var termStartDate = new Date(formValues.termStartDate);\n setTermEndDate(\n new Date(\n termStartDate.setFullYear(\n termStartDate.getFullYear() + formValues.yearsOfTerm\n )\n )\n );\n }\n setIsPastFirstLoad(true);\n }, [formValues.termStartDate]);\n\n return (\n \n \n \n \n {\n const modalId = CommitteeMemberModal.CompleteTerm;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const handleSuccess = () => { \n window.location.reload();\n toast.success('Committee Member Term Completed');\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeemembers.controllerActionString(\"memberTermCompletedQuery\"), entityId),\n new CompleteTermCommitteeMemberModel,\n defaultDataTransform,\n CompleteTermCommitteeMemberModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const CompleteTermCommitteeMemberContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncLoadingSection, EMPTY_GUID, InputType, MultiModalFormDialog, PageCard, PageCardSection, SmartInputBlock, buildEndpoint, defaultDataTransform, useDataFetcher, useFormState, useFormStateValue, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { CommitteeMemberModal } from './CommitteeMembers';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class VacateCommitteeMemberModel {\n committeeId?: string;\n}\n\nexport const VacateCommitteeMemberModal: React.FC = () => {\n const modalId = CommitteeMemberModal.Vacate;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const handleSuccess = () => { \n window.location.reload();\n toast.success('Committee Member Vacated');\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeemembers.controllerActionString(\"vacateMemberQuery\"), entityId),\n new VacateCommitteeMemberModel,\n defaultDataTransform,\n VacateCommitteeMemberModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const VacateCommitteeMemberContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncLoadingSection, EMPTY_GUID, InputType, MultiModalFormDialog, PageCard, PageCardSection, SmartInputBlock, buildEndpoint, defaultDataTransform, useDataFetcher, useFormState, useFormStateValue, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { CommitteeMemberModal } from './CommitteeMembers';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class RemoveCommitteeMemberModel {\n committeeId?: string;\n}\n\nexport const RemoveCommitteeMemberModal: React.FC = () => {\n const modalId = CommitteeMemberModal.Remove;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const handleSuccess = () => { \n window.location.reload();\n toast.success('Committee Member Removed');\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeemembers.controllerActionString(\"removeMemberQuery\"), entityId),\n new RemoveCommitteeMemberModel,\n defaultDataTransform,\n RemoveCommitteeMemberModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const RemoveCommitteeMemberContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncLoadingSection, EMPTY_GUID, InputType, MultiModalFormDialog, PageCard, PageCardSection, SmartInputBlock, buildEndpoint, defaultDataTransform, useDataFetcher, useFormState, useFormStateValue, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { CommitteeMemberModal } from './CommitteeMembers';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class RenewCommitteeMemberModel {\n committeeId?: string;\n}\n\nexport const RenewCommitteeMemberModal: React.FC = () => {\n const modalId = CommitteeMemberModal.Renew;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const handleSuccess = () => { \n window.location.reload();\n toast.success('Committee Member Renewed');\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeemembers.controllerActionString(\"renewMemberQuery\"), entityId),\n new RenewCommitteeMemberModel,\n defaultDataTransform,\n RenewCommitteeMemberModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const RenewCommitteeMemberContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n const [ termEndDate, setTermEndDate] = useFormStateValue(\"termEndDate\");\n const [ isPastFirstLoad, setIsPastFirstLoad] = useFormStateValue(\"isPastFirstLoad\");\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n useEffect(() => {\n if(isPastFirstLoad &&\n formValues.useDefaultTermValues && \n formValues.yearsOfTerm !== undefined &&\n formValues.termStartDate !== undefined &&\n formValues.termStartDate !== null) {\n var termStartDate = new Date(formValues.termStartDate);\n setTermEndDate(new Date(termStartDate.setFullYear(termStartDate.getFullYear() + formValues.yearsOfTerm)));\n }\n setIsPastFirstLoad(true);\n\n }, [formValues.termStartDate]);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n AsyncGrid,\n buildEndpoint,\n CollapsiblePageCard,\n defaultGridProps,\n getFormattedDisplayCell,\n GridProvider,\n MultiModalProvider,\n Render,\n SecureComponent,\n SubHeaderLayout,\n useApiWorker,\n useGridState,\n useModalHelpers,\n useToasts,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell, ReorderCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { AddEditCommitteeMemberModal } from './AddEditCommitteeMemberModal';\nimport { CompleteTermCommitteeMemberModal } from './CompleteTermCommitteeMemberModal';\nimport { VacateCommitteeMemberModal } from './VacateCommitteeMemberModal';\nimport { RemoveCommitteeMemberModal } from './RemoveCommitteeMemberModal';\nimport { RenewCommitteeMemberModal } from './RenewCommitteeMemberModal';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport enum CommitteeMemberModal {\n AddEdit = 'addEdit',\n Renew = 'renew',\n CompleteTerm = 'completeTerm',\n Vacate = 'vacate',\n Remove = 'remove',\n}\n\nclass CommitteeMemberSearchModel {\n constructor(id: string, historical: boolean) {\n this.committeeId = id;\n this.isHistorical = historical;\n }\n committeeId?: string;\n isHistorical: boolean;\n}\n\nexport const CommitteeMembers: React.FC = () => {\n return (\n \n \n \n );\n};\n\nexport const CommitteeMembersContent: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const searchModel = new CommitteeMemberSearchModel(committeeId, false);\n const { setUpAdd, isOpen } = useModalHelpers(CommitteeMemberModal.AddEdit);\n\n return (\n \n (\n \n setUpAdd()}>\n Add Committee Member\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst CommitteeMemberColumnReorderCell: React.FC = ({\n ...props\n}) => {\n const endpoint = AgendaEndpoints.committeemembers.controllerActionString(\"reorder\");\n\n return ;\n};\n\n\nexport const CommitteeMembersActionsCell: React.FC = (\n props: GridCellProps\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n const dataItem = props.dataItem;\n\n const deleteMember = async () => {\n if (\n window.confirm('Are you sure you want to delete the Committee Member?')\n ) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeemembers.base, dataItem.id)\n );\n if (\n deleteResponse.status === 200 ||\n deleteResponse.data.isSuccessStatusCode\n ) {\n toast.success('The Committee Member has been removed.');\n } else {\n toast.error(\n 'The Committee Member was not able to be deleted. Make sure any attachments are deleted and that the member is not on any meetings.'\n );\n }\n refreshIdsAndFlags();\n refreshGrid();\n } catch {\n toast.error(\n 'The Committee Member was not able to be deleted. Make sure any attachments are deleted and that the member is not on any meetings.'\n );\n }\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit Member Details',\n permissions: [Permission.AddEditCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.AddEdit,\n },\n },\n {\n name: 'Renew',\n permissions: [Permission.RenewCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.Renew,\n },\n },\n {\n name: 'Complete Term',\n permissions: [Permission.TermCompleteCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.CompleteTerm,\n },\n },\n {\n name: 'Vacate',\n permissions: [Permission.VacateCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.Vacate,\n },\n },\n {\n name: 'Remove',\n permissions: [Permission.RemoveCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.Remove,\n },\n },\n {\n name: 'Delete',\n onClick: deleteMember,\n permissions: [Permission.DeleteCommitteeMembers],\n },\n ],\n };\n\n return (\n \n );\n};\n\nexport const HistoricalCommitteeMembersGrid: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const searchModel = new CommitteeMemberSearchModel(committeeId, true);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const HistoricalCommitteeMembersActionsCell: React.FC = (\n props: GridCellProps\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const dataItem = props.dataItem;\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const deleteMember = async () => {\n if (\n window.confirm('Are you sure you want to delete the Committee Member?')\n ) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeemembers.base, dataItem.id)\n );\n if (\n deleteResponse.status === 200 ||\n deleteResponse.data.isSuccessStatusCode\n ) {\n toast.success('The Committee Member has been removed.');\n } else {\n toast.error(\n 'The Committee Member was not able to be deleted. Make sure any attachments are deleted and that the member is not on any meetings.'\n );\n }\n refreshGrid();\n refreshIdsAndFlags();\n } catch {\n toast.error(\n 'The Committee Member was not able to be deleted. Make sure any attachments are deleted and that the member is not on any meetings.'\n );\n }\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit Member Details',\n permissions: [Permission.AddEditCommitteeMembers],\n modalConfig: {\n modalComponent: ,\n entityId: dataItem?.id,\n modalId: CommitteeMemberModal.AddEdit,\n },\n },\n {\n name: 'Delete',\n onClick: deleteMember,\n permissions: [Permission.DeleteCommitteeMembers],\n },\n ],\n };\n\n return (\n \n );\n};\n","import { useGlobalState } from '@techsharegov/react-ui';\nimport React from 'react';\nimport './Footer.scss';\n\nexport const Footer: React.FC = () => {\n const { versionNumber, environmentName } = useGlobalState();\n\n return (\n
\n © 2024 TechShare LGC - Agenda Management\n v{versionNumber}\n \n {environmentName}\n \n
\n );\n};\n","import { GridColumn, GridCellProps } from '@progress/kendo-react-grid';\nimport { HOTKEYS, MultiModalDialog, SimpleGrid } from '@techsharegov/react-ui';\nimport { HeaderModal } from './Header';\n\nenum Page {\n Any = 'Any Page',\n AgendaSearch = 'Agenda Search',\n}\n\nclass ShortcutDescriptor {\n constructor(page: Page, action: string, keyCombination: HOTKEYS) {\n this.page = page;\n this.action = action;\n this.keyCombination = keyCombination;\n }\n\n page: Page;\n action: string;\n keyCombination: HOTKEYS;\n}\n\nconst SHORTCUTS_DATA: ShortcutDescriptor[] = [\n new ShortcutDescriptor(Page.Any, 'Go to Quick Search', HOTKEYS.QUICK_SEARCH),\n new ShortcutDescriptor(\n Page.Any,\n 'Go to Agenda Search',\n HOTKEYS.DETAILED_SEARCH\n ),\n new ShortcutDescriptor(Page.AgendaSearch, 'Apply Filters', HOTKEYS.ENTER),\n];\n\nexport const ShortcutsModal = () => {\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport const KeyCombinationCell = ({\n field = 'keyCombination',\n dataItem,\n}: GridCellProps) => {\n return (\n \n {dataItem[field]}\n \n );\n};\n","import { useMsal } from '@azure/msal-react';\nimport AccountCircleIcon from '@mui/icons-material/AccountCircle';\nimport ExitToAppIcon from '@mui/icons-material/ExitToApp';\nimport HelpIcon from '@mui/icons-material/Help';\nimport KeyboardIcon from '@mui/icons-material/Keyboard';\nimport {\n buildRoute,\n HOTKEYS,\n isNullOrUndefined,\n MultiModalProvider,\n SecureComponent,\n SmartLink,\n useApiWorker,\n useModalHelpers,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { NavigationPillBar } from 'Components/Navigation/NavigationPillBar';\nimport { useAuthState } from 'Context';\nimport './Header.scss';\n\nimport { ROUTES, Routes } from 'Navigation';\nimport { Fragment } from 'react';\nimport { useHotkeys } from 'react-hotkeys-hook';\nimport { useHistory } from 'react-router-dom';\nimport {\n Dropdown,\n DropdownItem,\n DropdownMenu,\n DropdownToggle,\n} from 'reactstrap';\nimport { ShortcutsModal } from './ShortcutsModal';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { SearchBar } from 'Features/Shared';\nimport ManageAccountsIcon from '@mui/icons-material/ManageAccounts';\n\nexport enum HeaderModal {\n NotificationsDrawer = 'NotificationsDrawer',\n Shortcuts = 'Shortcuts',\n}\n\nexport const Header = () => {\n const { environmentName, isUnauthorized, currentUser } = useAuthState();\n let history = useHistory();\n\n const redirectToDetailedSearch = () => {\n history.push(Routes.Elmah);\n };\n\n useHotkeys(HOTKEYS.DETAILED_SEARCH, redirectToDetailedSearch);\n\n return (\n
\n

\n TechShare Agenda Management\n \n {environmentName}\n \n

\n {!(isUnauthorized || isNullOrUndefined(currentUser?.id)) && (\n <>\n \n \n \n )}\n
\n );\n};\n\nconst HeaderToolbar = () => {\n return (\n \n
\n \n \n
\n \n
\n );\n};\n\nconst HeaderDropdowns = () => {\n return (\n \n \n \n \n );\n};\n\nconst AccountDropdown = () => {\n const { currentUser } = useAuthState();\n const { instance } = useMsal();\n const API = useApiWorker();\n\n const userLogOut = async () => {\n await API.get(AgendaEndpoints.users.controllerActionString('logout'), {\n headers: {\n Accept: '*/*',\n 'Content-Type': 'application/json',\n },\n });\n instance.logout();\n };\n\n return (\n }>\n \n \n {currentUser?.firstName} {currentUser?.lastName}\n \n \n \n \n \n \n Edit Profile\n \n \n \n \n \n Log Out\n \n \n );\n};\n\nconst HelpDropdown = () => {\n const { toggle } = useModalHelpers(HeaderModal.Shortcuts);\n\n return (\n }>\n Help\n \n \n Shortcuts\n \n \n );\n};\n\ntype DropdownWrapperProps = {\n icon?: any;\n title?: string;\n};\n\nconst DropdownWrapper: React.FC = ({\n icon,\n title,\n children,\n}) => {\n const [isOpen, toggleIsOpen] = useToggler();\n\n return (\n \n \n {icon != null ? icon : title}\n \n \n {children}\n \n \n );\n};\n","import { Render } from '@techsharegov/react-ui';\nimport React, { Fragment } from 'react';\nimport { Footer } from './Footer';\nimport { Header } from './Header';\nimport './Layout.scss';\n\nexport const Layout: React.FC<{ unauthorized?: boolean }> = ({\n unauthorized,\n children,\n}) => {\n return (\n \n
\n
\n
\n
\n
\n
{children}
\n
\n \n
\n \n
\n
\n
\n );\n};\n","import { fullClassName, MainArea } from \"@techsharegov/react-ui\";\nimport { HeaderLayoutProps } from \"Layout\";\n\nexport const HeaderLayout = ({\n route,\n headerContent,\n children,\n hideSubRouteLinks,\n className,\n ...props\n}: HeaderLayoutProps) => {\n return (\n <>\n \n {headerContent}\n \n {children}\n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n buildQueryUrl,\n FileModel,\n useApiWorker,\n useGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React from 'react';\nimport { AddEditCommitteeAttachmentModal } from './AddEditCommitteeAttachmentModal';\nimport { CommitteeDocumentsModal } from './CommitteeDocuments';\n\nexport class CommitteeAttachmentModel extends FileModel {\n comments?: string;\n isPublic?: boolean;\n}\n\nexport type CommitteeAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n};\n\nexport const CommitteeAttachmentActionCell: React.FC<\nCommitteeAttachmentActionCellProps\n> = ({ dataItem, field = '', allowEdits, ...gridprops }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(\n AgendaEndpoints.committeeattachments.base,\n dataItem.id\n )\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n permissions: [Permission.AddEditCommitteeAttachments],\n modalConfig: {\n modalId: CommitteeDocumentsModal.AddEdit,\n modalItem: { id: dataItem?.id },\n entityId: dataItem?.id,\n modalComponent: ,\n },\n condition: allowEdits,\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteCommitteeAttachments],\n condition: allowEdits,\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: dataItem.id,\n fileId: dataItem.fileId,\n fileName: dataItem.fileName,\n endpoint: AgendaEndpoints.committeeattachments.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n condition: allowEdits && dataItem.extension === '.docx',\n },\n ],\n };\n\n return (\n \n );\n};\n","import {\n AddButton,\n AsyncGrid,\n FileDownloadCell,\n GridColumnWidth,\n GridProvider,\n MultiModalProvider,\n Render,\n SecureComponent,\n SubHeaderLayout,\n ViewHeader,\n YesNoBooleanCell,\n buildEndpoint,\n defaultGridProps,\n getFormattedDisplayCell,\n getSeeMoreCell,\n useModalHelpers,\n} from '@techsharegov/react-ui';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport { CommitteeAttachmentActionCell } from './CommitteeAttachmentActionCell';\nimport { AddEditCommitteeAttachmentModal } from './AddEditCommitteeAttachmentModal';\nimport { FileNameDownloadCell } from 'Components';\n\nexport enum CommitteeDocumentsModal {\n AddEdit = 'addEdit',\n}\n\nexport const CommitteeDocuments: React.FC = () => {\n return (\n \n \n \n );\n};\n\nclass CommitteeAttachmentSearchModel {\n constructor(id?: string) {\n this.committeeId = id;\n }\n\n committeeId?: string;\n}\n\ntype CommitteeAttachmentsGridProps = {\n allowEdits?: boolean;\n};\n\nexport const CommitteeAttachmentsGrid: React.FC<\n CommitteeAttachmentsGridProps\n> = ({ allowEdits }) => {\n const { committeeId } = useCommitteeState();\n const searchModel: CommitteeAttachmentSearchModel =\n new CommitteeAttachmentSearchModel(committeeId);\n const { setUpAdd, isOpen } = useModalHelpers(CommitteeDocumentsModal.AddEdit);\n\n return (\n \n (\n \n setUpAdd()}>Add Document\n \n }\n />\n )}\n >\n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n \n \n \n \n );\n};\n","import React, { useEffect, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncLoadingSection, ButtonStyle, DisplayBlock, EMPTY_GUID, FormActionTypes, IconButton, InputType, MultiModalFormDialog, PageCard, PageCardSection, Render, SmartInputBlock, ThemeColor, buildEndpoint, defaultDataTransform, useDataFetcher, useEnums, useFormState, useFormStateValue, useFormUpdater, useGridState, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { SmartFileUploader } from 'Components';\nimport HighlightOffIcon from '@mui/icons-material/HighlightOff';\nimport { CommitteeDocumentsModal } from './CommitteeDocuments';\n\nexport class AddEditCommitteeAttachmentModel {\n committeeId?: string;\n}\n\nexport const AddEditCommitteeAttachmentModal: React.FC = () => {\n const modalId = CommitteeDocumentsModal.AddEdit;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const isAdd = entityId === null || entityId === undefined;\n const addUpdated = isAdd ? 'added' : 'updated';\n const id = isAdd ? EMPTY_GUID : entityId; \n\n const handleSuccess = () => {\n toast.success('Committee Attachment ' + addUpdated);\n refreshGrid();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeeattachments.addedit, id),\n new AddEditCommitteeAttachmentModel,\n defaultDataTransform,\n AddEditCommitteeAttachmentModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const AddEditCommitteeAttachmentContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n const sendUpdate = useFormUpdater();\n const [isAdd, setIsAdd] = useState(!formValues.id);\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n const removeTemplateFile = () => {\n setIsAdd(!isAdd);\n sendUpdate(FormActionTypes.UpdateValue, { field: 'fileId', value: null });\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { AsyncLoadingSection, EMPTY_GUID, InputType, MultiModalFormDialog, PageCard, PageCardSection, SmartInputBlock, buildEndpoint, defaultDataTransform, useDataFetcher, useEnums, useFormState, useFormStateValue, useGridState, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { CommitteePositionModal } from './CommitteePositions';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class AddEditCommitteePositionModel {\n committeeId?: string;\n}\n\nexport const AddEditCommitteePositionModal: React.FC = () => {\n const modalId = CommitteePositionModal.AddEdit;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n const isAdd = entityId === null || entityId === undefined;\n const addUpdated = isAdd ? 'added' : 'updated';\n const id = isAdd ? EMPTY_GUID : entityId; \n\n const handleSuccess = () => {\n toast.success('Committee Position ' + addUpdated);\n refreshGrid();\n refreshIdsAndFlags();\n toggle();\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committeepositions.addedit, id),\n new AddEditCommitteePositionModel,\n defaultDataTransform,\n AddEditCommitteePositionModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n );\n};\n\nexport const AddEditCommitteePositionContent: React.FC = () => { \n const { committeeId } = useCommitteeState();\n const [ formCommitteeId, setFormCommitteeId] = useFormStateValue(\"committeeId\");\n const { formValues } = useFormState();\n\n useEffect(() => {\n if(formCommitteeId === undefined || formCommitteeId === null || formCommitteeId === EMPTY_GUID) {\n setFormCommitteeId(committeeId);\n }\n }, [formValues]);\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { Row } from 'reactstrap';\nimport { InputType, MultiModalFormDialog, PageCard, PageCardSection, SmartInputBlock, useGridState, useModalHelpers, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { CommitteePositionModal } from './CommitteePositions';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport class OpenCommitteePositionModel {\n constructor(id?: string) {\n this.id = id;\n }\n id?: string;\n}\n\nexport const OpenCommitteePositionModal: React.FC = () => {\n const modalId = CommitteePositionModal.OpenForApplications;\n const { toggle, entityId, modalItem } = useModalHelpers(modalId);\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n const id = entityId; \n\n const handleSuccess = () => {\n toast.success('Committee Position opened for applications');\n refreshGrid();\n refreshIdsAndFlags();\n toggle();\n };\n\n const data = new OpenCommitteePositionModel(id);\n\n return (\n \n \n \n );\n};\n\nexport const OpenCommitteePositionContent: React.FC = () => {\n const { committeeId } = useCommitteeState();\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n AsyncGrid,\n buildEndpoint,\n CollapsiblePageCard,\n defaultGridProps,\n getFormattedDisplayCell,\n GridProvider,\n MultiModalProvider,\n Render,\n SecureComponent,\n SubHeaderLayout,\n useApiWorker,\n useGridState,\n useModalHelpers,\n useToasts,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { useCommitteeState } from '../CommitteeProvider';\nimport { AddEditCommitteePositionModal } from './AddEditCommitteePositionModal';\nimport { OpenCommitteePositionModal } from './OpenCommitteePositionModal';\nimport { useCommitteeIdsAndFlags } from '../CommitteeIdsAndFlagsProvider';\n\nexport enum CommitteePositionModal {\n AddEdit = 'addEdit',\n OpenForApplications = \"openForApplications\"\n}\n\nclass CommitteePositionSearchModel {\n constructor(id: string, historical: boolean) {\n this.committeeId = id;\n this.isHistorical = historical;\n }\n committeeId?: string;\n isHistorical: boolean;\n}\n\nexport const CommitteePositions: React.FC = () => {\n return (\n \n \n \n );\n};\n\nexport const CommitteePositionsContent: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const searchModel = new CommitteePositionSearchModel(committeeId, false);\n const { setUpAdd, isOpen } = useModalHelpers(CommitteePositionModal.AddEdit);\n\n return (\n \n (\n \n setUpAdd()}> \n Add Committee Position\n \n \n }\n />\n )}\n > \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const CommitteePositionsActionsCell: React.FC = (\n props: GridCellProps,\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n const dataItem = props.dataItem;\n\n const deletePosition = async () => {\n if (window.confirm('Are you sure you want to delete the Committee Position?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeepositions.base, dataItem.id)\n );\n if (deleteResponse.status === 200 || deleteResponse.data.isSuccessStatusCode) {\n toast.success('The Committee Position has been deleted.');\n } else {\n toast.error('The Committee Position was not able to be deleted. Make sure there are no members assigned this position.');\n }\n refreshGrid();\n refreshIdsAndFlags();\n } catch {\n toast.error('The Committee Position was not able to be deleted. Make sure there are no members assigned this position.');\n }\n }\n };\n\n const removePosition = async () => {\n if(window.confirm('Are you sure you want to remove the Committee Position?')) {\n try{\n var removeResponse = await API.post(\n buildEndpoint(AgendaEndpoints.committeepositions.controllerActionString(\"removePosition\"), dataItem.id)\n );\n if (removeResponse.status === 200 || removeResponse.data.isSuccessStatusCode) {\n toast.success('The Committee Position has been removed.');\n } else {\n toast.error('The Committee Position was not able to be removed.');\n }\n refreshIdsAndFlags();\n window.location.reload();\n } catch {\n toast.error('The Committee Position was not able to be removed.');\n }\n };\n }\n\n const closeApplications = async () => {\n if (window.confirm('Are you sure you want to close the Position and no longer accept new applications?')) {\n try {\n var response = await API.post(\n buildEndpoint(AgendaEndpoints.committeepositions.controllerActionString(\"closePublicApplications\"), dataItem.id)\n );\n if (response.status === 200 || response.data.isSuccessStatusCode) {\n toast.success('Applications have been closed for the Committee Position.');\n } else {\n toast.error('There was an issue closing the Committee Position for Applications.');\n }\n refreshIdsAndFlags();\n refreshGrid();\n } catch {\n toast.error('There was an issue closing the Committee Position for Applications.');\n }\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit Position Details',\n permissions: [Permission.AddEditCommitteePositions],\n modalConfig: {\n modalComponent: (\n \n ),\n entityId: dataItem?.id,\n modalId: CommitteePositionModal.AddEdit\n }\n },\n {\n name: 'Open Applications',\n permissions: [Permission.OpenCommitteePositionForPublicApplications],\n modalConfig: {\n modalComponent: (\n \n ),\n entityId: dataItem?.id,\n modalId: CommitteePositionModal.OpenForApplications\n \n },\n condition: dataItem?.isPublic && !dataItem?.isOpen,\n },\n {\n name: 'Close Applications',\n onClick: closeApplications,\n permissions: [Permission.CloseCommitteePositionForPublicApplications],\n condition: dataItem?.isPublic && dataItem?.isOpen,\n },\n {\n name: 'Remove',\n permissions: [Permission.AddEditCommitteePositions],\n onClick: removePosition\n },\n {\n name: 'Delete',\n onClick: deletePosition,\n permissions: [Permission.DeleteCommitteePositions],\n },\n ],\n };\n\n return (\n \n );\n};\n\nexport const HistoricalCommitteePositionsGrid: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const searchModel = new CommitteePositionSearchModel(committeeId, true);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nexport const HistoricalCommitteePositionsActionsCell: React.FC = (\n props: GridCellProps,\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const dataItem = props.dataItem;\n const { refreshIdsAndFlags } = useCommitteeIdsAndFlags();\n\n const deletePosition = async () => {\n if (window.confirm('Are you sure you want to delete the Committee Position?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.committeepositions.base, dataItem.id)\n );\n if (deleteResponse.status === 200 || deleteResponse.data.isSuccessStatusCode) {\n toast.success('The Committee Position has been deleted.');\n } else {\n toast.error('The Committee Position was not able to be deleted. Make sure there are no members assigned this position.');\n }\n refreshIdsAndFlags();\n refreshGrid(); \n } catch {\n toast.error('The Committee Position was not able to be deleted. Make sure there are no members assigned this position.');\n }\n }\n }; \n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit Position Details',\n permissions: [Permission.AddEditCommitteePositions],\n modalConfig: {\n modalComponent: (\n \n ),\n entityId: dataItem?.id,\n modalId: CommitteePositionModal.AddEdit\n },\n },\n {\n name: 'Delete',\n onClick: deletePosition,\n permissions: [Permission.DeleteCommitteePositions],\n },\n ],\n };\n\n return (\n \n );\n};\n","import {\n ActionsDropdownItem,\n ActionsDropdownConfig,\n} from '@techsharegov/react-ui';\nimport { Permission } from 'Models';\nimport { Routes } from './RouteNames';\n\nconst USER_MANAGMENT_CONFIG: ActionsDropdownItem[] = [\n {\n name: 'Roles',\n url: Routes.Roles,\n permissions: [Permission.ViewRole],\n },\n {\n name: 'Users',\n url: Routes.Users,\n permissions: [Permission.ViewUser],\n },\n];\n\nexport const CONFIGURATION_CONFIG: ActionsDropdownConfig = {\n name: 'Configuration',\n sortItemsAlphabetically: true,\n items: [\n {\n name: 'Action Item Configurations',\n url: Routes.ActionItemConfigurations,\n permissions: [Permission.ViewActionItemConfiguration],\n },\n {\n name: 'Attachment Types',\n url: Routes.AttachmentTypes,\n permissions: [Permission.ViewAttachmentType],\n },\n {\n name: 'Committees',\n url: Routes.Committees,\n permissions: [Permission.ViewCommittee],\n },\n {\n name: 'Committee Application Configurations',\n url: Routes.CommitteeApplicationConfigurations,\n permissions: [Permission.ViewCommitteeApplicationConfiguration],\n },\n {\n name: 'Departments',\n url: Routes.Departments,\n permissions: [Permission.ViewDepartment],\n },\n {\n name: 'Document Templates',\n url: Routes.DocumentTemplates,\n permissions: [Permission.ViewDocumentTemplates],\n },\n {\n name: 'Document Tokens',\n url: Routes.DocumentTokens,\n permissions: [Permission.ViewDocumentTemplates],\n },\n {\n name: 'File Stamps',\n url: Routes.FileStamps,\n permissions: [Permission.ViewFileStamps],\n },\n {\n name: 'Meeting Types',\n url: Routes.MeetingTypes,\n permissions: [Permission.ViewMeetingType],\n },\n {\n name: 'Notification Templates',\n url: Routes.NotificationTemplates,\n permissions: [Permission.ViewNotificationTemplates],\n },\n {\n name: 'Number Generator Settings',\n url: Routes.NumberGeneratorSettings,\n permissions: [Permission.ViewNumberGeneratorSettings],\n },\n {\n name: 'Organization Configuration',\n url: Routes.OrganizationEdit,\n permissions: [Permission.ViewOrganizationConfiguration],\n },\n {\n name: 'Staff Recommendations',\n url: Routes.StaffRecommendations,\n permissions: [Permission.ViewStaffRecommendation],\n },\n {\n name: 'User Management',\n childItems: USER_MANAGMENT_CONFIG,\n sortChildItemsAlphabetically: true,\n permissions: [Permission.ViewUser, Permission.ViewRole],\n },\n {\n name: 'Workflow Transitions',\n url: Routes.WorkflowTransitions,\n permissions: [Permission.ViewWorkflowTransition],\n },\n ],\n};\n\nexport const ACTION_ITEMS_CONFIG: ActionsDropdownConfig = {\n name: 'Queues',\n sortItemsAlphabetically: false,\n items: [\n {\n name: 'My Action Items',\n url: Routes.ActionItems,\n permissions: [Permission.ViewActionItem],\n },\n {\n name: 'Agenda Coordinator',\n url: Routes.AgendaCoordinatorView,\n permissions: [\n Permission.ViewAllActionItemsAgendaCoordinator,\n Permission.ViewDepartmentActionItemsAgendaCoordinator,\n ],\n },\n {\n name: 'Agenda Preview',\n url: Routes.PreMeetingAgendaView,\n permissions: [Permission.ViewPreMeetingAgenda],\n },\n {\n name: 'Pending Signatures',\n url: Routes.PendingSignatures + '/ActionItemSignatures',\n permissions: [Permission.ActionItemViewPendingSignatures],\n },\n ],\n};\n\nexport const REPORTS_CONFIG: ActionsDropdownConfig = {\n name: 'Reports',\n sortItemsAlphabetically: true,\n items: [\n {\n name: 'Attendance',\n url: Routes.AttendanceReport,\n permissions: [Permission.ViewAttendanceReport],\n },\n {\n name: 'Expiring Committee Members',\n url: Routes.ExpiringCommitteeMembers,\n permissions: [Permission.ExpiringCommitteeMembersReport],\n },\n {\n name: 'Vacant Committee Positions',\n url: Routes.VacantCommitteePositions,\n permissions: [Permission.VacantCommitteePositionsReport],\n },\n ],\n};\n","import { ReactComponentType } from '../Types';\n\nexport type FunctionalComponent = React.FC;\n\nexport interface IRouteConfig {\n isExact: boolean;\n title: string;\n path: string;\n component: ReactComponentType;\n active?: boolean;\n permissions?: number[];\n}\n\nexport class RouteConfig implements IRouteConfig {\n constructor(\n subRoute: string,\n component: ReactComponentType,\n alternateTitle = subRoute.substring(1),\n alternatePath = subRoute,\n isExact = true,\n permissions: number[] = []\n ) {\n this.isExact = isExact;\n this.component = component;\n this.title = alternateTitle;\n this.path = alternatePath;\n this.permissions = permissions;\n this.route = alternatePath;\n this.fullRoute = alternatePath;\n this.label = \"\";\n }\n\n isExact: boolean;\n component: ReactComponentType;\n title: string;\n path: string;\n active?: boolean;\n permissions?: number[];\n icon?: React.ReactNode;\n route: string;\n label: string;\n fullRoute?: string;\n navItemsUrl?: string;\n default?: boolean;\n hideInSidebar?: boolean;\n children?: NavConfigItem[];\n showInDropdown?: boolean;\n subRouteName?: string;\n}\n\nexport interface IRouteMap {\n [x: string]: IRouteConfigMap;\n}\n\nexport interface IRouteConfigMap {\n [x: string]: IRouteConfig;\n}\n\nexport type NavConfigItem = {\n label: string;\n icon?: React.ReactNode;\n route: string;\n fullRoute?: string;\n navItemsUrl?: string;\n permissions?: number[];\n active?: boolean;\n default?: boolean;\n component?: FunctionalComponent;\n hideInSidebar?: boolean;\n children?: NavConfigItem[];\n showInDropdown?: boolean;\n subRouteName?: string;\n};\n","\nexport enum Permission { \n Default = 1,\n ViewErrorLog = 3,\n FilePermission = 4,\n ViewRole = 21,\n AddRole = 22,\n EditRole = 23,\n DeleteRole = 24,\n ViewUser = 25,\n AddUser = 26,\n EditUser = 27,\n ViewMeetingType = 32,\n AddMeetingType = 33,\n EditMeetingType = 34,\n DeleteMeetingType = 35,\n ViewAuditLogs = 40,\n ViewWorkflowTransition = 41,\n AddWorkflowTransition = 42,\n EditWorkflowTransition = 43,\n DeleteWorkflowTransition = 44,\n ViewDepartment = 45,\n AddDepartment = 46,\n EditDepartment = 47,\n DeleteDepartment = 48,\n ViewDocumentTemplates = 49,\n AddDocumentTemplates = 50,\n EditDocumentTemplates = 51,\n DeleteDocumentTemplates = 52,\n ViewAttachmentType = 53,\n AddAttachmentType = 54,\n EditAttachmentType = 55,\n DeleteAttachmentType = 56,\n ViewMeetingTypeSection = 57,\n AddMeetingTypeSection = 58,\n EditMeetingTypeSection = 59,\n DeleteMeetingTypeSection = 60,\n ViewActionItemConfiguration = 61,\n AddActionItemConfiguration = 62,\n EditActionItemConfiguration = 63,\n DeleteActionItemConfiguration = 64,\n ManageTemporaryAttachments = 65,\n ViewPublicNotice = 66,\n AddPublicNotice = 67,\n EditPublicNotice = 68,\n DeletePublicNotice = 69,\n ViewOrganizationConfiguration = 70,\n EditOrganizationConfiguration = 71,\n ViewPublicNoticeAttachment = 72,\n AddPublicNoticeAttachment = 73,\n DeletePublicNoticeAttachment = 74,\n ViewNumberGeneratorSettings = 75,\n EditNumberGeneratorSettings = 76,\n AddNumberGeneratorSettings = 77,\n DeleteNumberGeneratorSettings = 78,\n ViewDocumentEditor = 79,\n ViewStaffRecommendation = 80,\n AddStaffRecommendation = 81,\n EditStaffRecommendation = 82,\n DeleteStaffRecommendation = 83,\n ViewNotificationTemplates = 84,\n AddEditNotificationTemplates = 85,\n DeleteNotificationTemplates = 86,\n AddEditUserSignature = 87,\n DeleteUserSignature = 88,\n EditUserProfile = 89,\n ViewFileStamps = 90,\n AddFileStamps = 91,\n EditFileStamps = 92,\n DeleteFileStamps = 93,\n StreamTest = 94,\n ViewActionItem = 1001,\n AddActionItem = 1002,\n DeleteActionItem = 1004,\n ViewActionItemAttachment = 1005,\n AddActionItemAttachment = 1006,\n DeleteActionItemAttachment = 1007,\n AddActionItemStatusChangeComments = 1009,\n EditActionItemStatusChangeComments = 1010,\n DeleteActionItemStatusChangeComments = 1011,\n ViewActionItemCoordinatorComments = 1012,\n AddActionItemCoordinatorComments = 1013,\n EditActionItemCoordinatorComments = 1014,\n DeleteActionItemCoordinatorComments = 1015,\n ViewActionItemClerkComments = 1016,\n AddActionItemClerkComments = 1017,\n EditActionItemClerkComments = 1018,\n DeleteActionItemClerkComments = 1019,\n ViewActionItemGeneralComments = 1020,\n AddActionItemGeneralComments = 1021,\n EditActionItemGeneralComments = 1022,\n DeleteActionItemGeneralComments = 1023,\n ActionItemEditCourtOrderNumber = 1024,\n CopyActionItem = 1025,\n ActionItemGenerateDocuments = 1026,\n ActionItemEditSubmissionNumber = 1027,\n ActionItemEditAssignedUser = 1028,\n ViewDetailedActionItemSearch = 1029,\n SignActionItemAttachment = 1030,\n ActionItemViewPendingSignatures = 1031,\n BulkSignActionItemAttachment = 1032,\n EditActionItemAll = 1033,\n EditActionItemForDepartment = 1034,\n EditActionItemCurrentlyAssigned = 1035,\n ViewAllActionItemsAgendaCoordinator = 1041,\n ViewDepartmentActionItemsAgendaCoordinator = 1042,\n ViewPreMeetingAgenda = 1043,\n PublishAgenda = 1044,\n UnlockAgenda = 1045,\n ViewMeeting = 36,\n AddMeeting = 37,\n EditMeeting = 38,\n DeleteMeeting = 39,\n StartMeeting = 1101,\n EndMeeting = 1102,\n RecordMeetingResults = 1103,\n GenerateMeetingAgenda = 1104,\n ViewMeetingAttachment = 1105,\n UpdateMeetingAttachment = 1106,\n MeetingAttachmentConvertToPdf = 1107,\n DeleteMeetingAttachment = 1108,\n GenerateMeetingMinutes = 1109,\n ViewHistoricalAgenda = 1110,\n SignMeetingAttachment = 1111,\n MeetingViewPendingSignatures = 1112,\n BulkSignMeetingAttachment = 1113,\n FileStampMeetingAttachment = 1114,\n MoveStampMeetingAttachment = 1115,\n RemoveStampMeetingAttachment = 1116,\n ViewCommittee = 28,\n AddCommittee = 29,\n EditCommittee = 30,\n DeleteCommittee = 31,\n ViewCommitteeMembers = 1201,\n AddEditCommitteeMembers = 1202,\n DeleteCommitteeMembers = 1203,\n RemoveCommitteeMembers = 1204,\n VacateCommitteeMembers = 1205,\n TermCompleteCommitteeMembers = 1206,\n RenewCommitteeMembers = 1207,\n AddEditCommitteePositions = 1208,\n DeleteCommitteePositions = 1209,\n AddEditCommitteeAttachments = 1210,\n DeleteCommitteeAttachments = 1211,\n EditCommitteePreferences = 1212,\n ViewCommitteeApplicationConfiguration = 1213,\n AddCommitteeApplicationConfiguration = 1214,\n EditCommitteeApplicationConfiguration = 1215,\n DeleteCommitteeApplicationConfiguration = 1216,\n ViewDetailedCommitteeApplicationSearch = 1217,\n OpenCommitteePositionForPublicApplications = 1218,\n CloseCommitteePositionForPublicApplications = 1219,\n ViewCommitteeApplications = 1220,\n DeleteCommitteeApplications = 1221,\n VacantCommitteePositionsReport = 1301,\n ExpiringCommitteeMembersReport = 1302,\n ViewAttendanceReport = 1303\n}\n ","import { CoreEnum, DropdownItemModel, FileModel } from '@techsharegov/react-ui';\n\nexport class OrganizationModel {\n publicNoticeDurationInHoursDefault?: number;\n consentItemPrefix?: string;\n logo?: string;\n googleUserName?: string;\n refreshToken?: string;\n googleClientId?: string;\n googleClientSecret?: string;\n}\n\nexport class MeetingTypeModel {\n id?: string;\n name?: string;\n isActive?: boolean;\n committees?: DropdownItemModel[];\n}\n\nexport class MeetingModel {\n id?: string;\n meetingDateTime?: string;\n committee?: DropdownItemModel;\n meetingType?: DropdownItemModel;\n}\n\nexport class StaffRecommendationModel {\n id?: string;\n name?: string;\n isActive?: boolean;\n order?: number;\n}\n\nexport class WorkflowTransitionModel {\n id?: string;\n name?: string;\n isActive?: boolean;\n fromStatus?: CoreEnum;\n toStatus?: CoreEnum;\n}\n\nexport class DocumentTemplate extends FileModel {\n constructor() {\n super();\n this.isActive = true;\n this.documentTemplateType = new CoreEnum();\n }\n\n name?: string;\n description?: string;\n isActive: boolean;\n documentTemplateType?: CoreEnum;\n}\n\nexport class Department {\n constructor() {\n this.isActive = true;\n }\n\n name?: string;\n isActive: boolean;\n}\n\nexport class ActionItemConfigurationModel {\n id?: string;\n name?: string;\n isActive?: boolean;\n meetingTypes?: DropdownItemModel[];\n actionItemType?: CoreEnum;\n\n isApprovedByVisible?: boolean;\n isApprovedByRequired?: boolean;\n isPreparedByVisible?: boolean;\n isPreparedByRequired?: boolean;\n isStaffRecommendationVisible?: boolean;\n isStaffRecommendationRequired?: boolean;\n isActionRequestedVisible?: boolean;\n isActionRequestedRequired?: boolean;\n isFiscalImpactVisible?: boolean;\n isFiscalImpactRequired?: boolean;\n isPageCountVisible?: boolean;\n isPageCountRequired?: boolean;\n isAddAttachmentSectionVisible?: boolean;\n isAddAttachmentSectionRequired?: boolean;\n isCdaApprovalVisible?: boolean;\n isCdaApprovalRequired?: boolean;\n isBudgetReviewedVisible?: boolean;\n isBudgetReviewedRequired?: boolean;\n isAuditReviewedVisible?: boolean;\n isAuditReviewedRequired?: boolean;\n isBackgroundVisible?: boolean;\n isBackgroundRequired?: boolean;\n isItemDescriptionVisible?: boolean;\n isItemDescriptionRequired?: boolean;\n isCertificationOfFundsVisible?: boolean;\n isCertificationOfFundsRequired?: boolean;\n}\n\nexport class ActionItemModel {\n id?: string;\n copyId?: string;\n meetingType?: DropdownItemModel;\n actionItemConfiguration?: DropdownItemModel;\n subject?: string;\n meeting?: DropdownItemModel;\n departments?: DropdownItemModel[];\n departmentsDisplay?: string;\n approvedBy?: DropdownItemModel;\n preparedBy?: DropdownItemModel;\n assignedTo?: DropdownItemModel;\n staffRecommendationsDisplay?: string;\n actionRequested?: string;\n fiscalImpact?: string;\n pageCount?: number;\n cdaApproval?: CoreEnum;\n cdaApprovedBy?: string;\n attachments?: DropdownItemModel[];\n status?: string;\n background?: string;\n courtOrderNumbers?: CourtOrderNumberModel[];\n courtOrderNumbersDisplay?: string;\n canEditCourtOrderNumber?: boolean;\n isBudgetReviewed?: CoreEnum;\n budgetReviewedBy?: string;\n isAuditReviewed?: CoreEnum;\n auditReviewedBy?: string;\n itemDescription?: string;\n canEditSubmissionNumber?: boolean;\n submissionNumber?: string;\n certificationOfFunds?: string;\n\n selectedActionItemConfiguration?: ActionItemConfigurationModel;\n}\n\nexport class CourtOrderNumberModel {\n meetingResultId?: string;\n courtOrderNumber?: string;\n}\n\nexport class PublicNoticeModel {\n id?: string;\n name?: string;\n meetingDate?: string;\n removalDate?: string;\n removalTime?: string;\n publicNoticeDurationInHoursDefault?: number;\n defaultAttachmentType?: DropdownItemModel;\n\n attachments?: DropdownItemModel[];\n}\n\nexport class CommitteeApplicationConfigurationModel {\n id?: string;\n name?: string;\n isActive?: boolean;\n committees?: DropdownItemModel[];\n\n // Applicant\n applicationNotice?: string;\n isMiddleInitialVisible?: boolean;\n isMiddleInitialRequired?: boolean;\n isCurrentEmployerVisible?: boolean;\n isCurrentEmployerRequired?: boolean;\n isJobTitleVisible?: boolean;\n isJobTitleRequired?: boolean;\n isYearsLivedVisible?: boolean;\n isYearsLivedRequired?: boolean;\n\n // Interests & Experience\n publicInformationNotice?: string;\n isDescribeInterestVisible?: boolean;\n isDescribeInterestRequired?: boolean;\n isSummaryOfIssuesVisible?: boolean;\n isSummaryOfIssuesRequired?: boolean;\n isSummaryOfParticipationVisible?: boolean;\n isSummaryOfParticipationRequired?: boolean;\n isWhatYouHaveToOfferVisible?: boolean;\n isWhatYouHaveToOfferRequired?: boolean;\n isConflictsOfInterestVisible?: boolean;\n isConflictsOfInterestRequired?: boolean;\n\n // Open Records and Public Information Act Acknowledgement\n openRecordsNotice?: string;\n isAllowPublicAccessVisible?: boolean;\n isAllowPublicAccessRequired?: boolean;\n\n // Attachments\n attachmentsNotice?: string;\n isAddAttachmentVisible?: boolean;\n isAddAttachmentRequired?: boolean;\n}\n","export enum SignaturesModal {\n Sign = 'Sign',\n BulkSign = 'BulkSign',\n}\n\nexport class SignatureDocumentModel {\n attachmentId?: string;\n}\n","import {\n SecureComponent,\n CollapsibleTextHeaderSection,\n Render,\n} from '@techsharegov/react-ui';\nimport { Permission } from 'Models';\nimport { AuditLogProps, AuditLog } from './AuditLog';\n\nexport const CollapsibleAuditLog: React.FC = ({\n title = 'Audit Log',\n ...auditLogProps\n}) => {\n return (\n \n \n \n \n \n );\n};\n","import { EMPTY_GUID } from \"@techsharegov/react-ui\";\nimport React from \"react\";\nimport { useParams } from \"react-router-dom\";\n\nexport type CommitteeProviderProps = {\n providedCommitteeId?: string;\n};\n\nexport interface CommitteeState {\n committeeId: string;\n}\n\nconst CommitteeStateContext = React.createContext(undefined);\n\nfunction globalReducer(state: CommitteeState): CommitteeState {\n return {...state};\n}\n\nexport const CommitteeProvider: React.FC = ({\n providedCommitteeId = EMPTY_GUID,\n children,\n}) => {\n let { committeeId = providedCommitteeId } = useParams();\n\n const [state] = React.useReducer(globalReducer, {\n committeeId: committeeId,\n });\n\n return (\n \n {children}\n \n );\n};\n\nexport const useCommitteeState = () => {\n const globalStateContext = React.useContext(CommitteeStateContext);\n if (globalStateContext === undefined) {\n throw new Error('useCommitteeState must be used within a CommitteeProvider');\n }\n return globalStateContext;\n};\n","import { useMsal } from '@azure/msal-react';\nimport { GoogleOAuthProvider } from '@react-oauth/google';\nimport {\n EnumerationProvider,\n FormProvider,\n GlobalProvider,\n ToastProvider,\n useGlobalState,\n useHasPermissions,\n} from '@techsharegov/react-ui';\nimport { AuthProvider, useAuthState } from 'Context';\nimport { ActionItems } from 'Features/ActionItems';\nimport {\n AgendaCoordinatorView,\n PreMeetingAgendaView,\n} from 'Features/AgendaCoordinator';\nimport { Unauthorized } from 'Features/Error/Unauthorized';\nimport { Meetings, MeetingsCalendar } from 'Features/Meetings';\nimport { Permission } from 'Models';\nimport { Routes, useGetRoutes } from 'Navigation';\nimport { Route, Switch } from 'react-router-dom';\nimport './App.scss';\nimport { Layout } from './Layout';\n\nfunction App() {\n var configObj =\n process.env.NODE_ENV === 'development'\n ? {\n baseUrl: process.env.REACT_APP_BASE_URL || 'localhost:3000',\n apiEndpoint: process.env.REACT_APP_API_ENDPOINT,\n environmentName: process.env.REACT_APP_ENVIRONMENT_NAME,\n versionNumber: '0.0.0.0',\n tenant: process.env.REACT_APP_TENANT,\n clientId: process.env.REACT_APP_CLIENT_ID,\n }\n : {\n baseUrl: window.BASE_URL,\n apiEndpoint: window.API_ENDPOINT,\n versionNumber: window.VERSION_NUMBER,\n environmentName: window.ENVIRONMENT_NAME,\n tenant: window.TENANT,\n clientId: window.CLIENT_ID,\n };\n\n return (\n \n \n \n \n \n );\n}\n\nconst AppMiddleman: React.FC = () => {\n const { currentUser, tokenExpireTime } = useAuthState();\n\n const { instance } = useMsal();\n const account = instance.getActiveAccount();\n var configObj =\n process.env.NODE_ENV === 'development'\n ? {\n baseUrl: process.env.REACT_APP_BASE_URL || 'localhost:3000',\n apiEndpoint: process.env.REACT_APP_API_ENDPOINT,\n environmentName: process.env.REACT_APP_ENVIRONMENT_NAME,\n versionNumber: '0.0.0.0',\n tenant: process.env.REACT_APP_TENANT,\n clientId: process.env.REACT_APP_CLIENT_ID,\n // redirectUri: process.env.REACT_APP_REDIRECT_URI,\n currentUser: currentUser,\n tokenExpireTime: tokenExpireTime,\n instance: instance,\n account: account,\n }\n : {\n baseUrl: window.BASE_URL,\n apiEndpoint: window.API_ENDPOINT,\n versionNumber: window.VERSION_NUMBER,\n environmentName: window.ENVIRONMENT_NAME,\n tenant: window.TENANT,\n clientId: window.CLIENT_ID,\n // redirectUri: window.REDIRECT_URI,\n currentUser: currentUser,\n tokenExpireTime: tokenExpireTime,\n instance: instance,\n account: account,\n };\n return (\n \n \n \n );\n};\n\nconst AppContent: React.FC = () => {\n const routes = useGetRoutes();\n const hasPermissions = useHasPermissions();\n const { currentUser } = useGlobalState();\n const { organization } = useAuthState();\n var defaultHomepageRoute = (currentUser as any)?.defaultHomepageRoute;\n\n return (\n \n \n \n \n \n {routes}\n \n \n \n \n \n \n \n );\n};\n\nexport default App;\n","import {\n AuthenticationResult,\n EventMessage,\n EventType,\n PublicClientApplication,\n} from '@azure/msal-browser';\nimport { MsalProvider } from '@azure/msal-react';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport { BrowserRouter } from 'react-router-dom';\nimport '../node_modules/@techsharegov/react-ui/dist/theme/style.css';\nimport App from './App';\nimport { msalConfig } from './authConfig';\n\ndeclare global {\n interface Window {\n API_ENDPOINT: string;\n VERSION_NUMBER: string;\n BASE_URL: string;\n ENVIRONMENT_NAME: string;\n CLIENT_ID: string;\n TENANT: string;\n REDIRECT_URI: string;\n DWT_ORGANIZATION_ID: string;\n FILE_UPLOAD_CHUNK_SIZE: string;\n GOOGLE_API_URL: string;\n APRYSE_LICENSE_KEY: string;\n }\n}\n\nexport const msalInstance = new PublicClientApplication(msalConfig);\n\n// Account selection logic is app dependent. Adjust as needed for different use cases.\nconst accounts = msalInstance.getAllAccounts();\nif (accounts.length > 0) {\n msalInstance.setActiveAccount(accounts[0]);\n}\n\nmsalInstance.addEventCallback((event: EventMessage) => {\n if (\n event.eventType === EventType.LOGIN_SUCCESS &&\n event.payload &&\n msalInstance.getActiveAccount() == null\n ) {\n const payload = event.payload as AuthenticationResult;\n const account = payload.account;\n msalInstance.setActiveAccount(account);\n }\n});\n\nReactDOM.render(\n \n \n \n \n ,\n document.getElementById('root')\n);\n","import { useToasts, buildEndpoint } from '@techsharegov/react-ui';\nimport { AgendaEndpoints, METHODS } from 'Models';\nimport { useFileDownloader } from './CommonHooks';\n\nexport const useViewActionItemDocuments = () => {\n const { downloadFile } = useFileDownloader();\n const toast = useToasts();\n const viewDocuments = async (actionItemId?: string) => {\n try {\n var url = buildEndpoint(\n AgendaEndpoints.actionitems.base,\n METHODS.ViewDocuments,\n actionItemId\n );\n downloadFile(url, 'ActionItemDocument', undefined, (response: any) => {\n toast.error('No Documents exist on this Action Item');\n });\n } catch {\n console.log('Error downloading documents');\n }\n };\n\n return viewDocuments;\n};\n","\n\nexport enum IDS {\n Id = \"{id}\",\n OptionalId = \"{id?}\",\n UserId = \"{userId}\"\n}\n\nexport enum CONTROLLERS {\n ControllerLiteral = \"[controller]\",\n ActionItemConfigurations = \"actionitemconfigurations\",\n ActionItems = \"actionitems\",\n ActionItemAttachments = \"actionitemattachments\",\n ActionItemComments = \"actionitemcomments\",\n AgendaCoordinator = \"agendacoordinator\",\n AttachmentTypes = \"attachmenttypes\",\n Audits = \"audits\",\n Committees = \"committees\",\n CommitteeApplicationConfigurations = \"committeeapplicationconfigurations\",\n CommitteeApplications = \"committeeapplications\",\n CommitteeApplicationAttachments = \"committeeapplicationattachments\",\n CommitteeAttachments = \"committeeattachments\",\n CommitteeMemberAttachments = \"committeememberattachments\",\n CommitteeMembers = \"committeemembers\",\n CommitteePositions = \"committeepositions\",\n Departments = \"departments\",\n DetailedSearch = \"detailedsearch\",\n DocumentTemplates = \"documenttemplates\",\n DocumentTokens = \"documenttokens\",\n ElmahErrors = \"elmaherrors\",\n Enumerations = \"enumerations\",\n Meetings = \"meetings\",\n FinalizeMeeting = \"finalizemeeting\",\n LiveMeeting = \"livemeeting\",\n HeloTest = \"helotest\",\n HistoricalAgendas = \"historicalagendas\",\n MeetingAttachments = \"meetingattachments\",\n MeetingTypes = \"meetingtypes\",\n MeetingTypeSections = \"meetingtypesections\",\n NotificationTemplates = \"notificationtemplates\",\n NumberGeneratorSettings = \"numbergeneratorsettings\",\n Organizations = \"organizations\",\n PreMeetingAgenda = \"premeetingagenda\",\n PublicAgenda = \"publicagenda\",\n PublicNotices = \"publicnotices\",\n PublicNoticeAttachments = \"publicnoticeattachments\",\n Reports = \"reports\",\n Roles = \"roles\",\n StaffRecommendations = \"staffrecommendations\",\n TemporaryAttachments = \"temporaryattachments\",\n Users = \"users\",\n WorkflowTransitions = \"workflowtransitions\",\n UserSignatures = \"usersignatures\",\n ActionItemSignatures = \"actionitemsignatures\",\n FileStamps = \"filestamps\",\n FileStampAttachments = \"filestampattachments\",\n MeetingAttachmentStampMetadatas = \"meetingAttachmentStampMetadatas\"\n}\n\nexport enum METHODS {\n ActionLiteral = \"[action]\",\n IdActionLiteral = \"{id}/[action]\",\n READ = \"Read\",\n CREATE = \"Create\",\n GetAddFromEFileEnvelope = \"GetAddFromEFileEnvelope\",\n GET = \"Get\",\n POST = \"Post\",\n PUT = \"Put\",\n DESTROY = \"Destroy\",\n UPDATE = \"Update\",\n ADDEDIT = \"AddEdit\",\n EXPORT = \"Export\",\n REORDER = \"Reorder\",\n DROPDOWN_ITEMS = \"DropdownItems\",\n Upload = \"Upload\",\n Download = \"Download\",\n DownloadSignaturePlaceholder = \"DownloadSignaturePlaceholder\",\n DownloadImagePlaceholder = \"DownloadImagePlaceholder\",\n Stream = \"Stream\",\n DeleteTempBlob = \"DeleteTempBlob\",\n GenerateDocuments = \"GenerateDocuments\",\n PreviewDocuments = \"PreviewDocuments\",\n ViewDocuments = \"ViewDocuments\",\n Sign = \"Sign\",\n BulkSign = \"BulkSign\",\n PendingSignatures = \"PendingSignatures\",\n EditProfile = \"EditProfile\"\n}\n\nexport enum URLS {\n Api = \"api\",\n ApiPrefix = \"api/\",\n ApiController = \"api/[controller]\",\n Default = \"api/[controller]/[action]/{id?}\",\n Validate = \"validate\",\n AddEdit = \"AddEdit/{id?}\",\n ActionIdLiteral = \"[action]/{id}\",\n ActionOptionalIdLiteral = \"[action]/{id?}\",\n IdActionLiteral = \"{id}/[action]\",\n ActionFilter = \"[action]/{filter}\",\n ActionItemConfigurations = \"api/actionitemconfigurations\",\n ActionItems = \"api/actionitems\",\n ActionItemAttachments = \"api/actionitemattachments\",\n ActionItemSignatures = \"api/actionitemsignatures\",\n ActionItemComments = \"api/actionitemcomments\",\n AgendaCoordinator = \"api/agendacoordinator\",\n AttachmentTypes = \"api/attachmenttypes\",\n Audits = \"api/audits\",\n Committees = \"api/committees\",\n CommitteeApplicationConfigurations = \"api/committeeapplicationconfigurations\",\n CommitteeApplications = \"api/committeeapplications\",\n CommitteeApplicationAttachments = \"api/committeeapplicationattachments\",\n CommitteeAttachments = \"api/committeeattachments\",\n CommitteeMemberAttachments = \"api/committeememberattachments\",\n CommitteeMembers = \"api/committeemembers\",\n CommitteePositions = \"api/committeepositions\",\n DetailedSearch = \"api/detailedsearch\",\n Departments = \"api/departments\",\n DocumentTemplates = \"api/documenttemplates\",\n DocumentTokens = \"api/documenttokens\",\n ElmahErrors = \"api/elmaherrors\",\n Enumerations = \"api/enumerations\",\n Meetings = \"api/meetings\",\n FinalizeMeeting = \"api/finalizemeeting\",\n LiveMeeting = \"api/livemeeting\",\n HeloTest = \"api/helotest\",\n HistoricalAgendas = \"api/historicalagendas\",\n MeetingAttachments = \"api/meetingattachments\",\n MeetingTypes = \"api/meetingtypes\",\n MeetingTypeSections = \"api/meetingtypesections\",\n NotificationTemplates = \"api/notificationtemplates\",\n NumberGeneratorSettings = \"api/numbergeneratorsettings\",\n Organizations = \"api/organizations\",\n PreMeetingAgenda = \"api/premeetingagenda\",\n PublicAgenda = \"api/publicagenda\",\n PublicNotices = \"api/publicnotices\",\n PublicNoticeAttachments = \"api/publicnoticeattachments\",\n Reports = \"api/reports\",\n Roles = \"api/roles\",\n StaffRecommendations = \"api/staffrecommendations\",\n TemporaryAttachments = \"api/temporaryattachments\",\n Users = \"api/users\",\n User = \"api/users/{userId}\",\n WorkflowTransitions = \"api/workflowtransitions\",\n UserSignatures = \"api/usersignatures\",\n FileStamps = \"api/filestamps\",\n FileStamp = \"api/filestamps/{id}\",\n FileStampAttachments = \"api/filestampattachments\",\n MeetingAttachmentStampMetadatas = \"api/meetingAttachmentStampMetadatas\"\n}\n\nexport class Endpoint {\n constructor(controller: string) {\n this.base = controller;\n this.read = this.controllerActionString(METHODS.READ);\n this.create = this.controllerActionString(METHODS.CREATE);\n this.destroy = this.controllerActionString(METHODS.DESTROY);\n this.update = this.controllerActionString(METHODS.UPDATE);\n this.get = this.controllerActionString(METHODS.GET);\n this.dropdownItems = this.controllerActionString(METHODS.DROPDOWN_ITEMS);\n this.put = this.controllerActionString(METHODS.PUT);\n this.post = this.controllerActionString(METHODS.POST);\n this.addedit = this.controllerActionString(METHODS.ADDEDIT);\n } \n\n controllerActionString(method: string) {\n return `${this.base}/${method}`;\n }\n\n readonly base: string;\n readonly read: string;\n readonly create: string;\n readonly destroy: string;\n readonly update: string;\n readonly get: string;\n readonly dropdownItems: string;\n readonly post: string;\n readonly put: string;\n readonly addedit: string;\n}\n\nexport const AgendaEndpoints = {\n actionitemconfigurations: new Endpoint(CONTROLLERS.ActionItemConfigurations),\n actionitems: new Endpoint(CONTROLLERS.ActionItems),\n actionitemattachments: new Endpoint(CONTROLLERS.ActionItemAttachments),\n actionitemcomments: new Endpoint(CONTROLLERS.ActionItemComments),\n agendacoordinator: new Endpoint(CONTROLLERS.AgendaCoordinator),\n attachmenttypes: new Endpoint(CONTROLLERS.AttachmentTypes),\n audits: new Endpoint(CONTROLLERS.Audits),\n committees: new Endpoint(CONTROLLERS.Committees),\n committeeapplicationconfigurations: new Endpoint(CONTROLLERS.CommitteeApplicationConfigurations),\n committeeapplications: new Endpoint(CONTROLLERS.CommitteeApplications),\n committeeapplicationattachments: new Endpoint(CONTROLLERS.CommitteeApplicationAttachments),\n committeeattachments: new Endpoint(CONTROLLERS.CommitteeAttachments),\n committeememberattachments: new Endpoint(CONTROLLERS.CommitteeMemberAttachments),\n committeemembers: new Endpoint(CONTROLLERS.CommitteeMembers),\n committeepositions: new Endpoint(CONTROLLERS.CommitteePositions),\n departments: new Endpoint(CONTROLLERS.Departments),\n detailedsearch: new Endpoint(CONTROLLERS.DetailedSearch),\n documenttemplates: new Endpoint(CONTROLLERS.DocumentTemplates),\n documenttokens: new Endpoint(CONTROLLERS.DocumentTokens),\n elmaherrors: new Endpoint(CONTROLLERS.ElmahErrors),\n enumerations: new Endpoint(CONTROLLERS.Enumerations),\n meetings: new Endpoint(CONTROLLERS.Meetings),\n finalizemeeting: new Endpoint(CONTROLLERS.FinalizeMeeting),\n livemeeting: new Endpoint(CONTROLLERS.LiveMeeting),\n helotest: new Endpoint(CONTROLLERS.HeloTest),\n historicalagendas: new Endpoint(CONTROLLERS.HistoricalAgendas),\n meetingattachments: new Endpoint(CONTROLLERS.MeetingAttachments),\n meetingtypes: new Endpoint(CONTROLLERS.MeetingTypes),\n meetingtypesections: new Endpoint(CONTROLLERS.MeetingTypeSections),\n notificationtemplates: new Endpoint(CONTROLLERS.NotificationTemplates),\n numbergeneratorsettings: new Endpoint(CONTROLLERS.NumberGeneratorSettings),\n organizations: new Endpoint(CONTROLLERS.Organizations),\n premeetingagenda: new Endpoint(CONTROLLERS.PreMeetingAgenda),\n publicagenda: new Endpoint(CONTROLLERS.PublicAgenda),\n publicnotices: new Endpoint(CONTROLLERS.PublicNotices),\n publicnoticeattachments: new Endpoint(CONTROLLERS.PublicNoticeAttachments),\n reports: new Endpoint(CONTROLLERS.Reports),\n roles: new Endpoint(CONTROLLERS.Roles),\n staffrecommendations: new Endpoint(CONTROLLERS.StaffRecommendations),\n temporaryattachments: new Endpoint(CONTROLLERS.TemporaryAttachments),\n users: new Endpoint(CONTROLLERS.Users),\n workflowtransitions: new Endpoint(CONTROLLERS.WorkflowTransitions),\n usersignatures: new Endpoint(CONTROLLERS.UserSignatures),\n actionitemsignatures: new Endpoint(CONTROLLERS.ActionItemSignatures),\n filestamps: new Endpoint(CONTROLLERS.FileStamps),\n filestampattachments: new Endpoint(CONTROLLERS.FileStampAttachments),\n meetingAttachmentStampMetadatas: new Endpoint(CONTROLLERS.MeetingAttachmentStampMetadatas)\n};\n","import {\n InteractionRequiredAuthError,\n InteractionType,\n} from '@azure/msal-browser';\nimport { MsalAuthenticationTemplate, useMsal } from '@azure/msal-react';\nimport ErrorIcon from '@mui/icons-material/Error';\nimport ExitToAppIcon from '@mui/icons-material/ExitToApp';\nimport {\n buildEndpoint,\n LoadingSection,\n PageCard,\n PageCardRowSection,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { loginRequest } from 'authConfig';\nimport Axios from 'axios';\nimport { Layout } from 'Layout';\nimport { AgendaEndpoints, OrganizationModel, User } from 'Models';\nimport * as React from 'react';\nimport { Link, useLocation } from 'react-router-dom';\nexport interface AuthState {\n currentUser?: User;\n organization?: OrganizationModel;\n token?: string;\n versionNumber?: string;\n baseUrl: string;\n isUnauthorized?: boolean;\n environmentName?: string;\n tokenExpireTime?: React.MutableRefObject;\n}\n\nexport enum AuthActionTypes {\n SetUser = 'setUser',\n SetOrganization = 'setOrganization',\n SetToken = 'setToken',\n SetUnauthorized = 'setUnauthorized',\n}\n\nexport type AuthAction =\n | { type: AuthActionTypes.SetUser; payload: User }\n | { type: AuthActionTypes.SetOrganization; payload: OrganizationModel }\n | { type: AuthActionTypes.SetToken; payload: string }\n | { type: AuthActionTypes.SetUnauthorized };\ntype AuthDispatch = (action: AuthAction) => void;\n\nconst AuthStateContext = React.createContext(undefined);\nconst AuthDispatchContext = React.createContext(\n undefined\n);\n\nfunction authReducer(state: AuthState, action: AuthAction): AuthState {\n switch (action.type) {\n case AuthActionTypes.SetUser: {\n var tempUser = new User();\n Object.assign(tempUser, action.payload);\n return { ...state, currentUser: tempUser, isUnauthorized: false };\n }\n case AuthActionTypes.SetOrganization: {\n return { ...state, organization: action.payload };\n }\n case AuthActionTypes.SetToken: {\n return { ...state, token: action.payload };\n }\n\n case AuthActionTypes.SetUnauthorized: {\n var user = new User();\n return { ...state, currentUser: user, isUnauthorized: true };\n }\n default: {\n throw new Error('Invalid action type');\n }\n }\n}\n\nexport const getInitialConfig = () => {\n var configObj: AuthState =\n process.env.NODE_ENV === 'development'\n ? {\n baseUrl: process.env.REACT_APP_BASE_URL || 'localhost:44378',\n environmentName: process.env.REACT_APP_ENVIRONMENT_NAME,\n versionNumber: '0.0.0.0',\n }\n : {\n baseUrl: window.BASE_URL,\n versionNumber: window.VERSION_NUMBER,\n environmentName: window.ENVIRONMENT_NAME,\n };\n\n return configObj;\n};\n\nexport const AuthProvider: React.FC<{\n baseUrl: string;\n}> = ({ baseUrl, children }) => {\n const tokenExpireTime = React.useRef();\n const [state, dispatch] = React.useReducer(authReducer, {\n ...getInitialConfig(),\n tokenExpireTime,\n });\n\n const authRequest = {\n ...loginRequest,\n };\n\n return (\n \n \n (\n \n )}\n >\n {children}\n \n \n \n );\n};\n\nexport const useAuthState = () => {\n const authStateContext = React.useContext(AuthStateContext);\n if (authStateContext === undefined) {\n throw new Error('useAuthState must be used within a AuthProvider');\n }\n return authStateContext;\n};\n\nexport const useAuthDispatch = () => {\n const authDispatchContext = React.useContext(AuthDispatchContext);\n if (authDispatchContext === undefined) {\n throw new Error('useAuthDispatch must be used within a AuthProvider');\n }\n return authDispatchContext;\n};\n\nexport const useAuthContext = () => {\n const state = useAuthState();\n const dispatch = useAuthDispatch();\n\n return [state, dispatch] as const;\n};\n\nexport const AuthProviderContent: React.FC = ({ children }) => {\n const {\n currentUser,\n isUnauthorized,\n baseUrl,\n organization,\n tokenExpireTime,\n } = useAuthState();\n const { instance } = useMsal();\n const account = instance.getActiveAccount();\n const dispatch = useAuthDispatch();\n const toast = useToasts();\n const [userError, setUserError] = React.useState(false);\n const [organizationError, setOrganizationError] = React.useState(false);\n const { pathname } = useLocation();\n const [, setNeedsUserUpdate] = React.useState(false);\n const [, setNeedsOrgUpdate] = React.useState(false);\n const [currentUserToken, setCurrentUserToken] = React.useState<\n string | undefined\n >();\n\n const useTokenAcquisition = (\n tokenExpireTime: React.MutableRefObject | undefined\n ) => {\n const acquireToken = async () => {\n if (account) {\n try {\n const response = await instance.acquireTokenSilent({\n scopes: [\n process.env.NODE_ENV === 'development'\n ? `${process.env.REACT_APP_CLIENT_ID}/.default`\n : `${window.CLIENT_ID}/.default`,\n ],\n account: account,\n });\n if (response?.accessToken) {\n tokenExpireTime!.current = response.expiresOn ?? undefined;\n return response;\n } else {\n throw new Error('No access token returned.');\n }\n } catch (error) {\n console.error('AQUIRE TOKEN ERROR: ', error);\n if (error instanceof InteractionRequiredAuthError) {\n // fallback to interaction when silent call fails\n console.log('ATTEMPTING REDIRECT TO RESOLVE');\n instance.acquireTokenRedirect({\n scopes: [\n process.env.NODE_ENV === 'development'\n ? `${process.env.REACT_APP_CLIENT_ID}/.default`\n : `${window.CLIENT_ID}/.default`,\n ],\n account: account,\n });\n } else {\n instance.logout();\n }\n throw error;\n }\n }\n\n throw new Error('Error authorizing API request.');\n };\n return acquireToken;\n };\n\n const acquireToken = useTokenAcquisition(tokenExpireTime);\n React.useEffect(() => {\n const handleUserUpdates = async () => {\n let updateToken = false;\n if (\n currentUser == null ||\n organization == null ||\n tokenExpireTime?.current == null ||\n tokenExpireTime.current < new Date()\n ) {\n setNeedsUserUpdate(true);\n setNeedsOrgUpdate(true);\n updateToken = true;\n }\n const tokenInfo = await acquireToken();\n if (currentUserToken !== tokenInfo.accessToken) {\n setNeedsUserUpdate(true);\n setNeedsOrgUpdate(true);\n updateToken = true;\n } else if (updateToken) {\n setNeedsUserUpdate(false);\n setNeedsOrgUpdate(false);\n updateToken = false;\n }\n if (updateToken) {\n setCurrentUserToken(tokenInfo.accessToken);\n Axios.get(\n buildEndpoint(\n baseUrl,\n 'api/',\n AgendaEndpoints.users.controllerActionString('current')\n ),\n {\n headers: {\n Accept: '*/*',\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${tokenInfo.accessToken}`,\n },\n }\n )\n .then(({ data }) => {\n setNeedsUserUpdate(false);\n dispatch({ type: AuthActionTypes.SetUser, payload: data });\n })\n .catch(({ response }) => {\n console.log(response);\n if (response?.status === 401) {\n dispatch({ type: AuthActionTypes.SetUnauthorized });\n } else {\n setUserError(true);\n toast.error('Error loading user data');\n }\n });\n\n Axios.get(\n buildEndpoint(baseUrl, 'api/', AgendaEndpoints.organizations.base),\n {\n headers: {\n Accept: '*/*',\n 'Content-Type': 'application/json',\n Authorization: `Bearer ${tokenInfo.accessToken}`,\n },\n }\n )\n .then(({ data }) => {\n setNeedsOrgUpdate(false);\n dispatch({\n type: AuthActionTypes.SetOrganization,\n payload: data,\n });\n })\n .catch(() => {\n toast.error('Error loading organization data');\n setOrganizationError(true);\n });\n }\n };\n handleUserUpdates();\n }, [pathname]);\n\n return (\n \n \n {isUnauthorized || userError ? (\n \n ) : (\n children\n )}\n \n \n );\n};\n\ninterface GlobalErrorDisplayProps {\n userError?: boolean;\n isUnauthorized?: boolean;\n loginError?: boolean;\n message?: any;\n}\n\nexport const GlobalErrorDisplay = ({\n isUnauthorized,\n loginError,\n message,\n}: GlobalErrorDisplayProps) => {\n const { instance } = useMsal();\n if (message?.error) {\n console.error(message?.error);\n }\n const errorMessage = loginError\n ? 'Error logging in'\n : isUnauthorized\n ? 'You Are Not Authorized to View This Content'\n : 'Error Loading User Data';\n const userLogOut = async () => {\n instance.logout();\n };\n\n return (\n \n \n \n
\n \n

{errorMessage}

\n {!isUnauthorized && (\n Try refreshing the page\n )}\n \n \n Log Out\n \n
\n
\n
\n
\n );\n};\n\nexport const useAuthHelpers = () => {\n const dispatch = useAuthDispatch();\n const [currentUser, loadingStatus, { getData: refreshUser }] =\n useSimpleDataFetcher(\n AgendaEndpoints.users.controllerActionString('current'),\n null,\n false\n );\n\n React.useEffect(() => {\n if (currentUser !== null) {\n dispatch({ type: AuthActionTypes.SetUser, payload: currentUser });\n }\n }, [currentUser]);\n\n return { refreshUser };\n};\n","import { FormActionTypes, FormProvider, FormProviderProps, useFormUpdater, useSafeStateUpdate } from \"@techsharegov/react-ui\";\nimport * as React from \"react\";\n\nexport interface ModalFormState {\n isOpen: boolean;\n toggle: () => void;\n entityId?: string;\n setEntityId: (id: string | undefined) => void;\n setupAdd: () => void;\n}\n\nexport enum ModalFormActionTypes {\n SetToggle = \"setToggle\",\n ToggleModal = \"toggleModal\",\n SetEntityId = \"setEntityId\",\n SetEntityIdSetter = \"setEntityIdSetter\",\n SetSetupAdd = \"setSetupAddSetter\",\n}\n\nexport type ModalFormAction =\n | { type: ModalFormActionTypes.SetToggle; payload: () => void }\n | { type: ModalFormActionTypes.ToggleModal }\n | { type: ModalFormActionTypes.SetEntityId; payload: string | undefined }\n | {\n type: ModalFormActionTypes.SetEntityIdSetter;\n payload: (id: string | undefined) => void;\n }\n | {\n type: ModalFormActionTypes.SetSetupAdd;\n payload: () => void;\n };\ntype ModalFormDispatch = (action: ModalFormAction) => void;\n\nconst ModalFormStateContext = React.createContext(\n undefined\n);\nconst ModalFormDispatchContext = React.createContext<\n ModalFormDispatch | undefined\n>(undefined);\n\nfunction modalFormReducer(\n state: ModalFormState,\n action: ModalFormAction\n): ModalFormState {\n switch (action.type) {\n case ModalFormActionTypes.SetToggle:\n return { ...state, toggle: action.payload };\n case ModalFormActionTypes.ToggleModal:\n return { ...state, isOpen: !state.isOpen };\n case ModalFormActionTypes.SetEntityId:\n return { ...state, entityId: action.payload };\n case ModalFormActionTypes.SetEntityIdSetter:\n return { ...state, setEntityId: action.payload };\n case ModalFormActionTypes.SetSetupAdd:\n return { ...state, setupAdd: action.payload };\n default: {\n throw new Error(\"Invalid action type\");\n }\n }\n}\n\ntype ModalFormProviderProps = FormProviderProps & {};\n\nexport const ModalFormProvider: React.FC = ({\n children,\n formModel: values,\n handleSuccess,\n ...otherProps\n}) => {\n const [state, dispatch] = React.useReducer(modalFormReducer, {\n isOpen: false,\n toggle: () => {},\n setEntityId: (id: string | undefined) => {},\n setupAdd: () => {},\n });\n\n const successToggle = (r: any) => {\n handleSuccess && handleSuccess(r);\n dispatch({ type: ModalFormActionTypes.ToggleModal });\n };\n\n return (\n \n \n {children}\n \n \n );\n};\n\ntype ModalFormProviderContentProps = ModalFormProviderProps & {\n state: ModalFormState;\n dispatch: ModalFormDispatch;\n};\n\nconst ModalFormProviderContent: React.FC = ({\n formModel: values,\n state,\n dispatch,\n children,\n}) => {\n const sendUpdate = useFormUpdater();\n\n const toggle = React.useCallback(() => {\n sendUpdate(FormActionTypes.SetValues, values);\n dispatch({ type: ModalFormActionTypes.ToggleModal });\n }, []);\n\n const setEntityId = React.useCallback((id: string | undefined) => {\n dispatch({ type: ModalFormActionTypes.SetEntityId, payload: id });\n }, []);\n\n React.useEffect(() => {\n dispatch({\n type: ModalFormActionTypes.SetToggle,\n payload: toggle,\n });\n }, [toggle]);\n\n React.useEffect(() => {\n dispatch({\n type: ModalFormActionTypes.SetEntityIdSetter,\n payload: setEntityId,\n });\n }, [setEntityId]);\n\n React.useEffect(() => {\n sendUpdate(FormActionTypes.ClearErrors);\n });\n\n React.useEffect(() => {\n dispatch({\n type: ModalFormActionTypes.SetSetupAdd,\n payload: () => {\n setEntityId(undefined);\n toggle();\n },\n });\n }, []);\n\n return (\n \n \n {children}\n \n \n );\n};\n\n\nexport const useModalFormState = () => {\n const modalFormStateContext = React.useContext(ModalFormStateContext);\n if (modalFormStateContext === undefined) {\n throw new Error(\n \"useModalFormState must be used within a ModalFormProvider\"\n );\n }\n return modalFormStateContext;\n};\n\nexport const useOptionalModalFormState = () => {\n const modalFormStateContext = React.useContext(ModalFormStateContext);\n return modalFormStateContext;\n};\n\nexport const useModalFormDispatch = () => {\n const modalFormDispatchContext = React.useContext(ModalFormDispatchContext);\n if (modalFormDispatchContext === undefined) {\n throw new Error(\n \"useModalFormDispatch must be used within a ModalFormProvider\"\n );\n }\n return modalFormDispatchContext;\n};\n\nexport const useModalFormContext = () => {\n const state = useModalFormState();\n const dispatch = useModalFormDispatch();\n\n const sendUpdate = React.useCallback(\n (type: ModalFormActionTypes, payload: any) => {\n dispatch({ type, payload });\n },\n [dispatch]\n );\n\n return [state, sendUpdate] as const;\n};\n\nexport const useModalFormUpdater = () => {\n const safeStateUpdate = useSafeStateUpdate();\n const dispatch = useModalFormDispatch();\n\n return React.useCallback(\n (type: ModalFormActionTypes, payload: any) => {\n safeStateUpdate(() => {\n dispatch({ type, payload });\n });\n },\n [dispatch]\n );\n};\n","import {\n AsyncStatus,\n buildEndpoint,\n defaultDataTransform,\n useDataFetcher,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React, { useContext } from 'react';\n\nclass CommitteeIdsAndFlagsModel {\n constructor() {\n this.noMembersAssignedBanners = [];\n }\n\n id?: string;\n noMembersAssignedBanners: CommitteeBannerModel[];\n}\n\nexport type CommitteeBannerModel = {\n text: string;\n};\n\nexport type CommitteeIdsAndFlagsContextType = {\n committeeId?: string;\n idsAndFlags: CommitteeIdsAndFlagsModel;\n refreshIdsAndFlags: () => void;\n loadingStatus: AsyncStatus;\n};\n\nconst CommitteeIdsAndFlagsContext = React.createContext<\n CommitteeIdsAndFlagsContextType | undefined\n>(undefined);\n\nexport const CommitteeIdsAndFlagsProvider: React.FC<{ committeeId?: string }> = ({\n committeeId,\n children,\n}) => {\n const [idsAndFlagsModel, loadingStatus, { getData }] =\n useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.base, committeeId, 'IdsAndFlags'),\n new CommitteeIdsAndFlagsModel(),\n defaultDataTransform,\n CommitteeIdsAndFlagsModel,\n committeeId != null\n );\n const model: CommitteeIdsAndFlagsContextType =\n committeeId != null\n ? {\n idsAndFlags: idsAndFlagsModel,\n refreshIdsAndFlags: getData,\n committeeId,\n loadingStatus,\n }\n : {\n idsAndFlags: new CommitteeIdsAndFlagsModel(),\n refreshIdsAndFlags: () => {},\n loadingStatus: AsyncStatus.Idle,\n committeeId: undefined,\n };\n return (\n \n {children}\n \n );\n};\n\nexport const useCommitteeIdsAndFlags = () => {\n const idsAndFlagsContext = useContext(CommitteeIdsAndFlagsContext);\n if (idsAndFlagsContext == null) {\n throw new Error(\n 'useCommitteeIdsAndFlags must be used within a CommitteeIdsAndFlagsProvider'\n );\n }\n return idsAndFlagsContext;\n};\n\nexport const useGlobalCommitteeIdsAndFlags = () => {\n return useContext(CommitteeIdsAndFlagsContext);\n};\n","import { NavConfigItem } from \"Navigation\";\n\nexport class SubRoutes {\n [x: string]: SubRouteConfig;\n}\n\nexport type FunctionalComponent = React.FC;\n\nexport class SubRouteConfig {\n constructor(\n route: string,\n label: string,\n component: FunctionalComponent,\n icon?: any,\n isDefault = false,\n permissions?: number[],\n hideInSidebar = false,\n routeProps = {},\n showInDropdown = false,\n path = route,\n ) {\n this.route = route;\n this.label = label;\n this.component = component;\n this.icon = icon;\n this.default = isDefault;\n this.permissions = permissions;\n this.hideInSidebar = hideInSidebar;\n this.routeProps = routeProps;\n this.showInDropdown = showInDropdown;\n this.path = path;\n }\n\n label: string;\n icon?: any;\n route: string;\n component: FunctionalComponent;\n default: boolean;\n hideInSidebar: boolean;\n permissions?: number[];\n routeProps?: any;\n showInDropdown?: boolean;\n path: string;\n}\n\nexport class DropdownSubRouteConfig extends SubRouteConfig {\n constructor(\n route: string,\n label: string,\n component: FunctionalComponent,\n permissions?: number[],\n isDefault = false,\n routeProps = {},\n ) {\n super(\n route,\n label,\n component,\n undefined,\n isDefault,\n permissions,\n false,\n routeProps,\n true,\n undefined,\n );\n }\n}\n\nexport class AdminSubRouteConfig extends SubRouteConfig {\n constructor(\n route: string,\n label: string,\n component: FunctionalComponent,\n isDefault = false,\n permissions?: number[],\n hideInSidebar = false,\n routeProps = {}\n ) {\n super(\n route,\n label,\n component,\n undefined,\n isDefault,\n permissions,\n hideInSidebar,\n routeProps\n );\n }\n}\n\nexport type SubNavConfigMap = {\n [x: string]: NavConfigItem[];\n};\n","import React from 'react';\nimport {\n GridCellProps,\n GRID_COL_INDEX_ATTRIBUTE,\n} from '@progress/kendo-react-grid';\nimport {\n GridRefreshableOptionalProps,\n Render,\n SecureComponent,\n TextEditButton,\n TextDeleteButton,\n useModalHelpers,\n isNullEmptyOrUndefined,\n useApiWorker,\n useToasts,\n useOptionalGridState,\n buildQueryUrl,\n buildEndpoint,\n} from '@techsharegov/react-ui';\nimport { useTableKeyboardNavigation } from '@progress/kendo-react-data-tools';\n\ntype EditDeleteCellProps = GridCellProps &\n GridRefreshableOptionalProps & {\n editUrl?: string;\n editPermissions?: number[];\n deleteEndpoint?: string;\n deletePermissions?: number[];\n isModalEdit?: boolean;\n entityName?: string;\n onDelete?: (dataItem?: any) => void;\n useDeleteQueryParam?: boolean;\n usePostForDelete?: boolean;\n };\n\nexport const EditDeleteCell: React.FC = ({\n isModalEdit,\n editUrl = '',\n editPermissions,\n deleteEndpoint,\n deletePermissions,\n ...otherProps\n}) => {\n const { deleteItem, value } = useEditDeleteCell({\n deleteEndpoint,\n ...otherProps,\n });\n const navigationAttributes = useTableKeyboardNavigation(otherProps.id);\n\n return (\n \n
\n 0}>\n \n \n \n \n 0}\n >\n \n \n \n \n
\n \n );\n};\n\nexport type MultiModalEditDeleteCellProps = EditDeleteCellProps & {\n modalId: string;\n modalItem?: any;\n onClick?: () => void;\n};\n\nexport const MultiModalEditDeleteCell: React.FC<\n MultiModalEditDeleteCellProps\n> = ({\n modalId,\n deleteEndpoint,\n deletePermissions,\n dataItem,\n modalItem,\n onClick,\n ...otherProps\n}) => {\n const { setUpEdit } = useModalHelpers(modalId);\n const { deleteItem, value } = useEditDeleteCell({\n deleteEndpoint,\n dataItem,\n ...otherProps,\n });\n\n const handleClick = () => {\n onClick && onClick();\n setUpEdit(value, modalItem ?? dataItem);\n };\n\n return (\n \n
\n \n \n \n \n \n \n
\n \n );\n};\n\nexport const useEditDeleteCell = ({\n dataItem,\n field = '',\n refreshGrid,\n deleteEndpoint,\n useDeleteQueryParam,\n entityName,\n usePostForDelete,\n onDelete,\n}: EditDeleteCellProps) => {\n const API = useApiWorker();\n const value = dataItem[field];\n const toast = useToasts();\n const gridState = useOptionalGridState();\n\n if (gridState !== undefined) {\n refreshGrid = gridState.refreshGrid;\n }\n\n const deleteItem = async () => {\n if (\n deleteEndpoint &&\n window.confirm('Are you sure you want to delete this?')\n ) {\n const fullEndpoint = useDeleteQueryParam\n ? buildQueryUrl(deleteEndpoint, { id: value })\n : buildEndpoint(deleteEndpoint, value);\n\n var entity = gridState?.entityName ? gridState.entityName : entityName;\n if (entity === undefined) {\n entity = 'Item';\n }\n var response;\n\n if (!usePostForDelete) {\n try {\n response = await API.delete(fullEndpoint);\n } catch (e) {}\n } else {\n response = await API.post(fullEndpoint);\n }\n\n if (response?.status === 200 || response?.data.isSuccessStatusCode) {\n toast.success(`${entity} has been deleted`);\n } else if (response?.headers['exception'] === undefined) {\n toast.error(`${entity} was unable to be deleted`);\n } else {\n toast.error(response.headers['exception']);\n }\n\n refreshGrid && refreshGrid();\n onDelete && onDelete(dataItem);\n }\n };\n\n return { deleteItem, value };\n};\n","import React from 'react';\nimport {\n GridActionsDropdown,\n GridActionsDropdownSpecificProps,\n} from 'Components/Display';\nimport {\n GridCellProps,\n GRID_COL_INDEX_ATTRIBUTE,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n EMPTY_GUID,\n GridRefreshableOptionalProps,\n} from '@techsharegov/react-ui';\nimport { useTableKeyboardNavigation } from '@progress/kendo-react-data-tools';\n\ntype ActionsEllipsisCellProps = Partial &\n GridActionsDropdownSpecificProps &\n GridRefreshableOptionalProps & {\n actionsConfig: ActionsDropdownConfig;\n };\n\nexport const ActionsEllipsisCell: React.FC = ({\n actionsConfig,\n ...gridCellProps\n}) => {\n const navigationAttributes = useTableKeyboardNavigation(\n gridCellProps.id ?? EMPTY_GUID\n );\n\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { GridCellProps } from '@progress/kendo-react-grid';\n\ntype CustomCellProps = GridCellProps & {\n convertFunction?: (val: any) => any;\n};\n\nexport const CustomCell: React.FC = ({\n dataItem,\n field,\n convertFunction,\n}) => {\n const value = dataItem[field || ''];\n return {convertFunction ? convertFunction(value) : value};\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { useDataPoster, useGridState, useToasts } from '@techsharegov/react-ui';\nimport React from 'react';\n\nexport type DragCellProps = GridCellProps & {\n dragEnd?: (\n dataItem: React.DragEvent\n ) => Promise | undefined;\n};\n\nexport const DragCell: React.FC = ({ dragEnd, dataItem }) => {\n const gridState = useGridState();\n\n const reorder = (e: React.DragEvent) => {\n var reorderedData = (gridState?.data as any[])?.slice();\n var prevIndex =\n reorderedData?.findIndex((p) => p === gridState.activeItem) ?? 0;\n var nextIndex = reorderedData?.findIndex((p) => p === dataItem) ?? 0;\n reorderedData?.splice(prevIndex, 1);\n reorderedData?.splice(nextIndex, 0, gridState.activeItem);\n\n if (nextIndex !== prevIndex) {\n gridState.setData(reorderedData);\n }\n };\n\n const dragStart = (e: any) => {\n gridState.setActiveItem(dataItem);\n };\n\n return (\n {\n reorder(e);\n e.preventDefault();\n e.dataTransfer.dropEffect = 'copy';\n }}\n >\n {\n dragStart(e);\n e.dataTransfer.setData('dragging', '');\n }}\n onDragEnd={(e) => (dragEnd ? dragEnd(e) : e)}\n />\n \n );\n};\n\nexport type ReorderCellProps = GridCellProps & {\n endpoint: string;\n entityName: string;\n};\n\n///***Requires the dataItem model has an 'id' field and the grid is not paged server-side***\nexport const ReorderCell: React.FC = ({\n endpoint,\n entityName,\n ...otherProps\n}) => {\n const gridState = useGridState();\n const toast = useToasts();\n\n const handleResponse = (response: any) => {\n if (response.status >= 200 && response.status < 300) {\n // Having a toast message here prevents the user from moving again until it disappears.\n // toast.success('The ' + entityName + ' Order has been updated');\n } else {\n console.log(response);\n toast.error('An error occurred');\n }\n };\n\n const [postData] = useDataPoster(endpoint, handleResponse, true);\n\n const dragEnd = async () => {\n var activeItemId = gridState.activeItem.id;\n if (activeItemId === undefined) {\n throw new Error(\"ReorderCell requires a Model with the field 'id'\");\n }\n\n var orderedIds = (gridState?.data as any[])?.map((item) => item.id);\n var newOrder = orderedIds?.indexOf(activeItemId);\n await postData({ newOrder: newOrder, id: activeItemId });\n };\n\n return ;\n};\n\nexport type ReorderCellNoApiProps = GridCellProps & {\n orderFieldName?: string;\n setDataResult?: (value: any[]) => void;\n};\n\n///***Requires the dataItem model has an 'id' field and the grid is not paged server-side***\nexport const ReorderCellNoApi: React.FC = ({\n orderFieldName,\n setDataResult,\n ...otherProps\n}) => {\n const gridState = useGridState();\n\n const dragEnd = async () => {\n var activeItemId = gridState.activeItem.id;\n if (activeItemId === undefined) {\n throw new Error(\"ReorderCell requires a Model with the field 'id'\");\n }\n\n if (orderFieldName && setDataResult) {\n (gridState?.data as any[])?.map((item, index) => {\n item[orderFieldName] = index + 1;\n });\n setDataResult((gridState?.data as any[]) || []);\n }\n };\n\n return ;\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { useGridState } from '@techsharegov/react-ui';\nimport React from 'react';\n\nexport type ConditionalDetailColumnCellProps = GridCellProps & {\n condition?: boolean;\n matchField: string;\n};\n\nexport const ConditionalDetailColumnCell: React.FC<\n ConditionalDetailColumnCellProps\n> = ({ dataItem, condition = false, matchField = 'id' }) => {\n const { data, setData } = useGridState();\n const className = dataItem.expanded ? 'k-icon k-minus' : 'k-icon k-plus';\n const onExpandChange = (dataItem: any) => {\n if (data != null && (data as any[]).length > 0) {\n let newData = (data as any[]).map((item: any) => {\n if (item[matchField] === dataItem[matchField]) {\n item.expanded = !dataItem.expanded;\n }\n return item;\n });\n setData(newData);\n }\n };\n\n if (condition) {\n return (\n \n onExpandChange(dataItem)}\n className={className}\n href=\"#\"\n tabIndex={-1}\n >\n \n );\n }\n return ;\n};\n","import React from 'react';\nimport { GridCellProps } from '@progress/kendo-react-grid';\nimport { Tooltip } from '@mui/material';\n\nexport type CommaSeparatedCellProps = GridCellProps & {\n wrapText?: boolean;\n};\n\nexport const CommaSeparatedCell: React.FC = ({\n dataItem,\n field = '',\n wrapText,\n}) => {\n const values: string[] = dataItem[field];\n const commaSeparatedValues: string = values?.join(', ');\n\n return (\n \n \n document.getElementById('reactstrapTooltipContainer'),\n }}\n style={{ whiteSpace: 'pre-line' }}\n enterDelay={500}\n >\n
\n {commaSeparatedValues}\n
\n \n \n );\n};\n\nexport const CommaSeparatedListCell: React.FC = ({\n dataItem,\n field = '',\n wrapText,\n}) => {\n const values: string[] = dataItem[field];\n const commaSeparatedValues: string = values?.join(', \\n');\n\n return (\n \n \n document.getElementById('reactstrapTooltipContainer'),\n }}\n style={{ whiteSpace: 'pre-line', lineHeight: 'normal' }}\n enterDelay={500}\n >\n
\n {commaSeparatedValues}\n
\n {/*
\n {commaSeparatedValues}\n
*/}\n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n FileDownloadCell,\n IconButton,\n buildEndpoint,\n buildQueryUrl,\n} from '@techsharegov/react-ui';\nimport { useFileDownloader } from 'Features/Utilities';\nimport DownloadIcon from '@mui/icons-material/Download';\nimport { METHODS } from 'Models';\n\nexport type FileNameDownloadCellProps = GridCellProps & {\n endpoint: string;\n};\n\nexport const FileNameDownloadCell: React.FC = ({\n endpoint,\n ...props\n}) => {\n return (\n \n );\n};\n\nexport type FileDownloadButtonCellProps = {\n endpoint: string;\n entityName: string;\n title?: string;\n};\n\nconst fileNameFromDataItem = (dataItem: any) => {\n return (\n dataItem.fileNameWithoutExtension +\n '.' +\n dataItem.container +\n '.' +\n dataItem.fileId +\n dataItem.extension\n );\n};\n\nexport const FileDownloadButtonCell: React.FC<\n GridCellProps & FileDownloadButtonCellProps\n> = ({ dataItem, endpoint, entityName, title, ...downloadFileTextProps }) => {\n const { downloadFile } = useFileDownloader();\n const fileName = fileNameFromDataItem(dataItem);\n const downloadClick = async () => {\n downloadFile(\n buildQueryUrl(buildEndpoint(endpoint, METHODS.Download), {\n id: dataItem.id,\n }),\n fileName,\n undefined,\n undefined,\n entityName\n );\n };\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { Row } from 'reactstrap';\nimport { ActionItemModal } from './ActionItems';\nimport {\n AsyncLoadingSection,\n ColumnLayout,\n FormErrorDisplay,\n InputType,\n MultiModalFormDialog,\n SmartInputBlock,\n buildQueryUrl,\n defaultDataTransform,\n useDataFetcher,\n useGoBack,\n useModalHelpers,\n useOptionalGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\n\nexport class ChangeActionItemStatusModel {\n requiresComments?: boolean;\n comments?: string;\n actionItemId?: string;\n ignoreCutoffTime?: boolean;\n}\n\nexport const ChangeActionItemStatus: React.FC = ({}) => {\n const modalId = ActionItemModal.ChangeStatus;\n const { toggle, isOpen, entityId, modalItem } = useModalHelpers(modalId);\n const goBack = useGoBack();\n const toast = useToasts();\n const gridState = useOptionalGridState();\n const handleSuccess = () => {\n toast.success('Status has been changed');\n if (gridState) {\n gridState.refreshGrid();\n }\n toggle();\n if (modalItem?.redirect) {\n goBack();\n }\n };\n\n const [data, fetchStatus] = useDataFetcher(\n buildQueryUrl(\n AgendaEndpoints.actionitems.controllerActionString('getActionItemStatus'),\n {\n id: entityId,\n statusName: modalItem?.statusName,\n requiresComments: modalItem?.requiresComments,\n ignoreCutoffTime: modalItem?.ignoreCutoffTime,\n workflowTransitionId: modalItem?.workflowTransitionId,\n }\n ),\n new ChangeActionItemStatusModel(),\n defaultDataTransform,\n ChangeActionItemStatusModel,\n isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n buildEndpoint,\n PageCardSection,\n ColSize,\n PageCardRow,\n PageCard,\n useFormState,\n Render,\n SmartInputBlock,\n InputType,\n ColumnLayout,\n} from '@techsharegov/react-ui';\nimport { SmartCheckboxList } from 'Components';\nimport { GenerateDocumentsModal } from 'Features/Shared/GenerateDocumentsModal';\nimport { AgendaEndpoints } from 'Models';\nimport { Row } from 'reactstrap';\n\nexport enum ActionItemDocumentsModal {\n GenerateActionItemDocuments = 'GenerateActionItemDocuments',\n}\n\nexport const GenerateActionItemDocumentsModal: React.FC<{\n attachmentGridRefresh?: () => void;\n}> = ({ attachmentGridRefresh }) => {\n return (\n \n \n \n );\n};\n\nexport const GenerateActionItemDocumentsFormContent: React.FC = () => {\n const { formValues } = useFormState();\n return (\n \n \n \n \n
\n \n item.isSelected === true && item.hasSignatures === true\n )}\n >\n \n \n \n \n \n \n \n \n
\n );\n};\n","import Info from '@mui/icons-material/Info';\nimport {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n Alert,\n AlertsDisplay,\n AlertType,\n buildEndpoint,\n ButtonSize,\n DateDisplayCell,\n defaultGridProps,\n DropdownFilterConfig,\n DropdownItemModel,\n FilterBar,\n FilterBarFilterType,\n FilterBarMainGrid,\n FilterBarProvider,\n FilterConfig,\n FilteredMainGrid,\n GridProvider,\n HtmlStringDisplay,\n IconButton,\n IFilterConfig,\n MainArea,\n ModalDrawer,\n MultiModalProvider,\n NamedCoreEnum,\n Render,\n SecureComponent,\n SubHeaderLayout,\n useApiWorker,\n useEnums,\n useFilterBarState,\n useGridState,\n useMultiModalHelpers,\n useToasts,\n useToggler,\n ViewHeader,\n WrappableCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { useAuthState } from 'Context';\nimport { useViewActionItemDocuments } from 'Features/Utilities';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport React, { Fragment } from 'react';\nimport { ChangeActionItemStatus } from './ChangeStatusModal';\nimport { GenerateActionItemDocumentsModal } from './GenerateActionItemDocumentsModal';\n\nexport enum ActionItemModal {\n ChangeStatus = 'changeStatus',\n}\n\nclass ActionItemSearch {\n constructor(userId?: string, userName?: string) {\n var currentUser = new DropdownItemModel();\n currentUser.id = userId;\n currentUser.name = userName;\n\n this.assignedTo = [];\n this.assignedTo.push(currentUser);\n }\n\n department?: DropdownItemModel[];\n committeeType?: DropdownItemModel[];\n meetingDateFrom?: Date;\n meetingDateTo?: Date;\n preparedBy?: DropdownItemModel[];\n assignedTo?: DropdownItemModel[];\n itemType?: NamedCoreEnum;\n}\n\nexport const ActionItems: React.FC = () => {\n const { entityEventType, actionItemType, workflowStatus } = useEnums();\n\n const { currentUser } = useAuthState();\n const filters: IFilterConfig[] = [\n new DropdownFilterConfig(\n 'preparedBy',\n FilterBarFilterType.AsyncDropdown,\n 'Prepared By',\n {\n readEndpoint: AgendaEndpoints.users.controllerActionString(\n 'getFilteredByDepartment'\n ),\n multiSelect: true,\n }\n ),\n new DropdownFilterConfig(\n 'assignedTo',\n FilterBarFilterType.AsyncDropdown,\n 'Assigned To',\n {\n readEndpoint:\n AgendaEndpoints.users.controllerActionString('getFiltered'),\n multiSelect: true,\n }\n ),\n new DropdownFilterConfig(\n 'committeeTypes',\n FilterBarFilterType.AsyncDropdown,\n 'Committee Types',\n {\n readEndpoint: AgendaEndpoints.committees.dropdownItems,\n multiSelect: true,\n }\n ),\n new DropdownFilterConfig(\n 'departments',\n FilterBarFilterType.AsyncDropdown,\n 'Departments',\n {\n readEndpoint: AgendaEndpoints.departments.controllerActionString(\n 'dropdownItemsByUser'\n ),\n multiSelect: true,\n }\n ),\n new FilterConfig(\n 'itemType',\n FilterBarFilterType.EnumDropdown,\n 'Item Type',\n { data: actionItemType },\n undefined,\n false\n ),\n new FilterConfig(\n 'status',\n FilterBarFilterType.EnumDropdown,\n 'Status',\n { data: workflowStatus },\n undefined,\n false\n ),\n new FilterConfig(\n 'meetingDate',\n FilterBarFilterType.DateRange,\n 'Meeting Date'\n ),\n new FilterConfig(\n 'submissionNumber',\n FilterBarFilterType.SearchText,\n 'Submission Number'\n ),\n ];\n return (\n (\n \n \n New Action Item\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const ActionItemsGrid: React.FC = () => {\n const { filterValues } = useFilterBarState();\n let alerts: Alert[] = [];\n\n alerts.push(\n new Alert(\n AlertType.Warning,\n 'Cannot search without providing an assigned to or preprared by filter'\n )\n );\n\n return (\n \n \n \n \n\n 0) ||\n (filterValues?.preparedBy != null &&\n filterValues.preparedBy.length > 0)\n }\n {...defaultGridProps}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst SubjectCell: React.FC = ({ dataItem }) => (\n {dataItem.subject}\n);\n\nexport const InfoCommentsCell: React.FC = (props) => (\n \n);\n\nexport const ShowCommentsCell: React.FC = ({\n dataItem,\n ...otherProps\n}) => {\n const [showAll, toggleShowAll] = useToggler(false);\n const value: string = dataItem ? dataItem['comments'] : '';\n\n return dataItem['comments'] === null ? (\n \n ) : (\n \n \n \n \n \n \n );\n};\n\nexport const ActionItemsActionsCell: React.FC = (\n props: GridCellProps\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const { setUpEdit } = useMultiModalHelpers();\n const viewActionItemDocuments = useViewActionItemDocuments();\n const dataItem = props.dataItem;\n\n const deleteActionItem = async () => {\n if (window.confirm('Are you sure you want to delete the Action Item?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.actionitems.base, dataItem.id)\n );\n if (\n deleteResponse.status === 200 ||\n deleteResponse.data.isSuccessStatusCode\n ) {\n toast.success('The Action Item has been removed.');\n } else {\n toast.error(\n 'The Action Item was not able to be deleted. Make sure any attachments are deleted and try again.'\n );\n }\n refreshGrid();\n } catch {\n toast.error(\n 'The Action Item was not able to be deleted. Make sure any attachments are deleted and try again.'\n );\n }\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n url: Routes.ActionItemAddEdit + '/' + dataItem.id,\n permissions: [\n Permission.EditActionItemCurrentlyAssigned,\n Permission.EditActionItemForDepartment,\n Permission.EditActionItemAll,\n ],\n condition: dataItem.userCanEdit,\n },\n {\n name: 'View',\n url: Routes.ViewActionItem + '/' + dataItem.id,\n permissions: [Permission.ViewActionItem],\n },\n {\n name: 'View Document(s)',\n onClick: async () => await viewActionItemDocuments(dataItem.id),\n permissions: [Permission.ViewActionItemAttachment],\n },\n {\n name: 'Copy',\n url: Routes.CopyActionItem + '/' + dataItem.id,\n permissions: [Permission.CopyActionItem],\n },\n {\n name: 'Delete',\n onClick: deleteActionItem,\n permissions: [Permission.DeleteActionItem],\n condition: dataItem.userCanEdit,\n },\n ],\n };\n\n const changeActionItemStatus = async (\n actionItemId: string,\n workflowTransitionId: string,\n actionString: string,\n title: string,\n statusName: string,\n requiresComments: boolean,\n ignoreCutoffTime: boolean\n ) => {\n setUpEdit(ActionItemModal.ChangeStatus, actionItemId, {\n action: actionString,\n workflowTransitionId: workflowTransitionId,\n title: title,\n statusName: statusName,\n requiresComments: requiresComments,\n ignoreCutoffTime: ignoreCutoffTime,\n });\n };\n\n dataItem.workflowTransitions.forEach((e: any) => {\n actionsConfig.items.push({\n name: e.name,\n onClick: () =>\n changeActionItemStatus(\n dataItem.id,\n e.workflowTransitionId,\n 'changeStatus',\n 'Change Status to ' + e.toStatus?.displayName,\n e.toStatus?.displayName,\n e.requiresComments,\n e.ignoreCutoffTime\n ),\n });\n });\n\n return (\n \n );\n};\n","import { SmartFileUploader } from 'Components/Form';\nimport React from 'react';\nimport { Row } from 'reactstrap';\nimport {\n ActionItemAttachmentModal,\n ActionItemAttachmentModel,\n} from './ActionItemAttachmentActionCell';\nimport {\n AsyncStatus,\n CancelButton,\n DisplayBlock,\n FormProvider,\n FormSubmitButton,\n InputType,\n LoadingSection,\n ModalDrawer,\n ModalDrawerButtonRow,\n Render,\n SmartInputBlock,\n buildEndpoint,\n useDataFetcher,\n useGridState,\n useModalHelpers,\n useModalItem,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\n\ntype ActionItemAttachmentModalProps = {\n id?: string;\n actionItemId?: string;\n};\n\nexport const ActionItemAttachmentDrawerFormContent: React.FC = () => {\n const modalId = ActionItemAttachmentModal.AddActionItemAttachment;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const isAdd = id === undefined;\n const addOrEditEndpoint =\n AgendaEndpoints.actionitemattachments.controllerActionString(\n isAdd ? 'add' : 'edit'\n );\n const allowMultiple = isAdd;\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Action Item Attachment updated successfully');\n refreshGrid();\n };\n let [actionItemAttachmentModel, fetchStatus] =\n useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitemattachments.base, id),\n new ActionItemAttachmentModel(modalItem?.actionItemId),\n ({ data }) => data,\n undefined,\n !isAdd && isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n Save Action Item Attachment\n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n buildQueryUrl,\n FileModel,\n useApiWorker,\n useGridState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints, METHODS, SignaturesModal } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport React from 'react';\nimport { ActionItemAttachmentDrawerFormContent } from './ActionItemAttachmentDrawerForm';\nimport { Routes } from 'Navigation';\nimport {\n SignDocumentModal,\n SignDocumentModalItem,\n} from 'Features/Shared/SignDocumentModal';\n\nexport enum ActionItemAttachmentModal {\n AddActionItemAttachment = 'AddActionItemAttachment',\n}\n\nexport class ActionItemAttachmentModel extends FileModel {\n constructor(actionItemId?: string) {\n super();\n this.actionItemId = actionItemId;\n }\n actionItemId?: string;\n comments?: string;\n}\n\nexport type ActionItemAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n isHistorical?: boolean;\n};\n\nexport const ActionItemAttachmentActionCell: React.FC<\n ActionItemAttachmentActionCellProps\n> = ({\n dataItem,\n field = '',\n allowEdits,\n isHistorical = false,\n ...gridprops\n}) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.actionitemattachments.base, dataItem.id)\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n permissions: [Permission.AddActionItemAttachment],\n modalConfig: {\n modalId: ActionItemAttachmentModal.AddActionItemAttachment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits && !isHistorical && !dataItem?.isSystemGenerated,\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteActionItemAttachment],\n condition: allowEdits,\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: dataItem.id,\n fileId: dataItem.fileId,\n fileName: dataItem.fileName,\n endpoint: AgendaEndpoints.actionitemattachments.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n condition:\n allowEdits && dataItem.extension === '.docx' && !isHistorical,\n },\n {\n name: 'Sign',\n permissions: [Permission.SignActionItemAttachment],\n modalConfig: {\n modalId: SignaturesModal.Sign,\n entityId: dataItem?.id,\n modalItem: new SignDocumentModalItem(\n dataItem?.id,\n buildEndpoint(\n AgendaEndpoints.actionitemattachments.base,\n dataItem?.id,\n METHODS.Sign\n ),\n buildEndpoint(\n AgendaEndpoints.actionitemattachments.base,\n dataItem?.actionItemId,\n METHODS.Stream\n )\n ),\n modalComponent: ,\n },\n condition: dataItem?.canSign && allowEdits,\n },\n ],\n };\n\n return (\n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n GridProvider,\n PageSectionHeading,\n Render,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport React from 'react';\nimport {\n ActionItemAttachmentActionCell,\n ActionItemAttachmentModal,\n} from './ActionItemAttachmentActionCell';\nimport {\n CommaSeparatedListCell,\n FileNameDownloadCell,\n ReorderCell,\n} from 'Components';\nimport { useViewActionItemDocuments } from 'Features/Utilities';\nimport { ActionItemAttachmentDrawerFormContent } from '.';\n\nclass ActionItemSearchModel {\n constructor(id?: string) {\n this.actionItemId = id;\n this.isHistorical = false;\n }\n\n actionItemId?: string;\n isHistorical?: boolean;\n}\n\ntype ActionItemAttachmentsGridProps = {\n actionItemId?: string;\n actionItemCopyId?: string;\n isCopy: boolean;\n allowEdits?: boolean;\n allowReorders?: boolean;\n refreshToggle?: boolean;\n};\n\nexport const ActionItemAttachmentsGrid: React.FC<\n ActionItemAttachmentsGridProps\n> = ({\n actionItemId,\n actionItemCopyId,\n isCopy,\n allowEdits,\n allowReorders,\n refreshToggle,\n}) => {\n const searchModel: ActionItemSearchModel = isCopy\n ? new ActionItemSearchModel(actionItemCopyId)\n : new ActionItemSearchModel(actionItemId);\n const viewActionItemDocuments = useViewActionItemDocuments();\n\n const dropdownConfig: ActionsDropdownConfig = {\n name: 'Actions',\n items: [\n {\n name: 'View Document(s)',\n onClick: async () =>\n await viewActionItemDocuments(\n isCopy ? actionItemCopyId : actionItemId\n ),\n permissions: [Permission.ViewActionItemAttachment],\n },\n {\n name: 'Upload',\n permissions: [Permission.AddActionItemAttachment],\n modalConfig: {\n modalId: ActionItemAttachmentModal.AddActionItemAttachment,\n modalItem: { actionItemId: actionItemId },\n modalComponent: ,\n },\n condition: !isCopy,\n },\n ],\n };\n\n return (\n \n \n Action Item Attachments\n \n \n (\n \n )}\n />\n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n (\n \n )}\n />\n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n\ntype ReorderCellProps = GridCellProps & {\n allowReorders?: boolean;\n};\n\nconst ActionItemAttachmentColumnReorderCell: React.FC = ({\n allowReorders,\n ...props\n}) => {\n const endpoint =\n AgendaEndpoints.actionitemattachments.controllerActionString('reorder');\n\n return (\n <>\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { Row } from 'reactstrap';\nimport { ActionItemCommentModal, ActionItemCommentModel } from './ActionItemCommentActionCell';\nimport { AsyncStatus, CancelButton, ColumnLayout, FormProvider, FormSubmitButton, InputType, LoadingSection, ModalDrawer, ModalDrawerButtonRow, Render, SmartInputBlock, buildEndpoint, useDataFetcher, useGridState, useModalHelpers, useModalItem } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\n\ntype ActionItemCommentModalProps = {\n id?: string;\n actionItemId?: string;\n};\n\nexport const ActionItemCommentDrawerFormContent: React.FC = ({\n actionItemId\n}) => {\n const modalId = ActionItemCommentModal.AddActionItemComment;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const isAdd = id === undefined;\n const addOrEditEndpoint = AgendaEndpoints.actionitemcomments.controllerActionString(\n isAdd ? 'add' : 'edit'\n );\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Action Item Comment updated successfully');\n refreshGrid();\n };\n let [actionItemCommentModel, fetchStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitemcomments.addedit, id),\n new ActionItemCommentModel(actionItemId),\n ({ data }) => data,\n undefined,\n !isAdd && isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Save Action Item Comment\n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { ActionsDropdownConfig, buildEndpoint, EMPTY_GUID, NamedCoreEnum, useApiWorker, useGridState, useToasts } from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints } from 'Models';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport React from 'react';\nimport { ActionItemCommentDrawerFormContent } from './ActionItemCommentDrawerForm';\n\nexport enum ActionItemCommentModal {\n AddActionItemComment = 'AddActionItemComment'\n}\n\nexport class ActionItemCommentModel {\n constructor(actionItemId: string = EMPTY_GUID) {\n this.actionItemId = actionItemId;\n }\n\n comments?: string;\n type?: NamedCoreEnum;\n actionItemId?: string;\n}\n\nexport type ActionItemCommentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n};\n\nexport const ActionItemCommentActionCell: React.FC<\n ActionItemCommentActionCellProps\n> = ({ dataItem, field = '', allowEdits, ...gridprops }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState(); \n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete the comment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.actionitemcomments.base, dataItem.id)\n );\n \n if (deleteResponse.status === 200) {\n toast.success('Comment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing comment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n } catch {\n toast.error('Failed removing comment.');\n }\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = { \n items: [\n {\n name: 'Edit',\n permissions: [Permission.EditActionItemStatusChangeComments],\n modalConfig: {\n modalId: ActionItemCommentModal.AddActionItemComment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits && dataItem?.commentType === \"Status Change\" && dataItem?.userCanEdit\n },\n {\n name: 'Edit',\n permissions: [Permission.EditActionItemCoordinatorComments],\n modalConfig: {\n modalId: ActionItemCommentModal.AddActionItemComment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits && dataItem?.commentType === \"Coordinator Comment\" && dataItem?.userCanEdit\n },\n {\n name: 'Edit',\n permissions: [Permission.EditActionItemClerkComments],\n modalConfig: {\n modalId: ActionItemCommentModal.AddActionItemComment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits && dataItem?.commentType === \"Clerk Comment\" && dataItem?.userCanEdit\n },\n {\n name: 'Edit',\n permissions: [Permission.EditActionItemGeneralComments],\n modalConfig: {\n modalId: ActionItemCommentModal.AddActionItemComment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits && dataItem?.commentType === \"General Comment\" && dataItem?.userCanEdit\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteActionItemStatusChangeComments],\n condition: allowEdits && dataItem?.commentType === \"Status Change\"\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteActionItemCoordinatorComments],\n condition: allowEdits && dataItem?.commentType === \"Coordinator Comment\"\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteActionItemClerkComments],\n condition: allowEdits && dataItem?.commentType === \"Clerk Comment\"\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteActionItemGeneralComments],\n condition: allowEdits && dataItem?.commentType === \"General Comment\"\n },\n ],\n };\n\n return (\n \n );\n};\n","import { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport { AddButton, AsyncGrid, buildEndpoint, defaultGridProps, EMPTY_GUID, getFormattedDisplayCell, GridColumnWidth, GridProvider, MultiModalProvider, PageSectionHeading, Render, SecureComponent, SubHeaderLayout, useModalHelpers, ViewHeader } from '@techsharegov/react-ui';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport React, { Fragment } from 'react';\nimport { ActionItemCommentActionCell, ActionItemCommentModal } from './ActionItemCommentActionCell';\nimport { ActionItemCommentDrawerFormContent } from './ActionItemCommentDrawerForm';\n\nclass ActionItemCommentSearchModel {\n constructor(id?: string) {\n this.actionItemId = id;\n }\n actionItemId?: string;\n}\n\ntype ActionItemCommentsGridProps = {\n actionItemId?: string;\n actionItemCopyId?: string;\n isCopy: boolean;\n allowEdits?: boolean;\n}\n\nexport const ActionItemCommentsGrid: React.FC = ({\n actionItemId,\n actionItemCopyId,\n isCopy,\n allowEdits\n}) => {\n return(\n \n \n \n \n \n )\n}\n\nexport const ActionItemCommentsGridContent: React.FC = ({\n actionItemId,\n actionItemCopyId,\n isCopy,\n allowEdits\n}) => {\n const searchModel: ActionItemCommentSearchModel = isCopy \n ? new ActionItemCommentSearchModel(actionItemCopyId)\n : new ActionItemCommentSearchModel(actionItemId);\n const { setUpAdd, isOpen } = useModalHelpers(ActionItemCommentModal.AddActionItemComment);\n\n return (\n \n (\n \n \n setUpAdd()}>\n New Comment\n \n \n \n }\n />\n )} \n >\n \n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n FileDownloadCell,\n getFormattedDisplayCell,\n GridColumnWidth,\n GridProvider,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React from 'react';\nimport { ActionItemAttachmentActionCell } from './ActionItemAttachmentActionCell';\nimport { FileNameDownloadCell } from 'Components';\n\nclass ActionItemSearchModel {\n constructor(id?: string) {\n this.actionItemId = id;\n this.isHistorical = true;\n }\n\n actionItemId?: string;\n isHistorical?: boolean;\n}\n\ntype ActionItemAttachmentsGridProps = {\n actionItemId?: string;\n actionItemCopyId?: string;\n isCopy: boolean;\n allowEdits?: boolean;\n};\n\nexport const ActionItemHistoricalAttachmentsGrid: React.FC<\n ActionItemAttachmentsGridProps\n> = ({ actionItemId, actionItemCopyId, isCopy, allowEdits }) => {\n const searchModel: ActionItemSearchModel = isCopy\n ? new ActionItemSearchModel(actionItemCopyId)\n : new ActionItemSearchModel(actionItemId);\n\n return (\n \n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n","import {\n ColSize,\n CollapsiblePageCard,\n ColumnLayout,\n CoreEnum,\n DisplayBlock,\n DropdownItemModel,\n InputType,\n ListSectionProps,\n PageCard,\n PageCardRowSection,\n Render,\n SecureComponent,\n SmartInputBlock,\n Widths,\n buildQueryUrl,\n useApiWorker,\n useEnums,\n useFormStateValue,\n useHasPermissions,\n} from '@techsharegov/react-ui';\nimport { AddAttachmentsSection } from 'Features/Shared';\nimport {\n ActionItemConfigurationModel,\n ActionItemModel,\n AgendaEndpoints,\n Permission,\n} from 'Models';\nimport React, { Fragment, useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { ActionItemAttachmentsGrid } from './ActionItemAttachmentList';\nimport { ActionItemCommentsGrid } from './ActionItemCommentList';\nimport {\n SmartCheckboxList,\n SmartMultiSectionList,\n defaultFormatName,\n} from 'Components';\nimport { ActionItemHistoricalAttachmentsGrid } from './ActionItemHistoricalAttachmentsGrid';\n\nexport const AddEditActionItemContent: React.FC<{\n data: ActionItemModel;\n isCopy: boolean;\n isAdd: boolean;\n attachmentGridRefreshToggle?: boolean;\n}> = ({ data, isCopy, isAdd, attachmentGridRefreshToggle }) => {\n const { yesNoNa } = useEnums();\n const [meetingType, setMeetingType] =\n useFormStateValue('meetingType');\n const [actionItemConfiguration, setActionItemConfiguration] =\n useFormStateValue('actionItemConfiguration');\n const [isBudgetReviewed, setIsBudgetReviewed] = useFormStateValue<\n CoreEnum | undefined\n >('isBudgetReviewed');\n const [cdaApproval, setCdaApproval] = useFormStateValue(\n 'cdaApproval'\n );\n const [cdaApprovedBy, setCdaApprovedBy] = useFormStateValue<\n string | undefined\n >('cdaApprovedBy');\n const [budgetReviewedBy, setBudgetReviewedBy] = useFormStateValue<\n string | undefined\n >('budgetReviewedBy');\n const [isAuditReviewed, setIsAuditReviewed] = useFormStateValue<\n CoreEnum | undefined\n >('isAuditReviewed');\n const [auditReviewedBy, setAuditReviewedBy] = useFormStateValue<\n string | undefined\n >('auditReviewedBy');\n\n const [actionItemConfigurationModel, setActionItemConfigurationModel] =\n React.useState(\n data?.selectedActionItemConfiguration\n );\n const [meetingTypeId, setMeetingTypeId] = React.useState();\n const [actionItemConfigurationFilter, setActionItemConfigurationFilter] =\n React.useState('');\n const API = useApiWorker();\n const hasPermissions = useHasPermissions();\n\n const meetingTypeChangeHandler = (e: any) => {\n setMeetingTypeId(e.value.id);\n setActionItemConfiguration(undefined);\n setActionItemConfigurationModel(undefined);\n\n setMeetingType(e.value);\n\n setActionItemConfigurationFilter('');\n };\n\n const actionItemConfigurationHandler = async (e: any) => {\n setActionItemConfiguration(e.value);\n };\n\n const isBudgetReviewedChangeHandler = (e: any) => {\n setIsBudgetReviewed(e.value);\n if (e.value !== 'Yes') {\n setBudgetReviewedBy(undefined);\n }\n };\n\n const cdaApprovalChangeHandler = (e: any) => {\n setCdaApproval(e.value);\n if (e.value !== 'Yes') {\n setCdaApprovedBy(undefined);\n }\n };\n\n const isAuditReviewedChangeHandler = (e: any) => {\n setIsAuditReviewed(e.value);\n if (e.value !== 'Yes') {\n setAuditReviewedBy(undefined);\n }\n };\n\n useEffect(() => {\n async function getActionItemConfigurationDetails(e: any) {\n const actionitemconfigurationUrl = buildQueryUrl(\n AgendaEndpoints.actionitemconfigurations.controllerActionString(\n 'getActionItemConfigurationDetails'\n ),\n { id: e.id }\n );\n const response = await API.get(actionitemconfigurationUrl);\n setActionItemConfigurationModel(response.data);\n }\n\n if (\n actionItemConfiguration !== undefined &&\n actionItemConfiguration.id !== undefined\n ) {\n getActionItemConfigurationDetails(actionItemConfiguration);\n }\n }, [actionItemConfiguration]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {hasPermissions([Permission.ActionItemEditAssignedUser]) ? (\n \n ) : (\n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n};\n\nexport const CourtOrderNumberListSection: React.FC = ({\n formatInputName = defaultFormatName,\n index = 0,\n}) => {\n return (\n \n \n \n );\n};\n","import {\n ActionsDropdown,\n ActionsDropdownItem,\n AsyncLoadingSection,\n AsyncStatus,\n CancelBackButton,\n DropdownType,\n FormStatus,\n PrimaryButton,\n useFormState,\n useFormStateValue,\n useIdParam,\n useModalHelpers,\n useMultiModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { useFormSubmitHotkeys } from 'Features/Utilities';\nimport { Permission } from 'Models';\nimport { ActionItemModal } from './ActionItems';\nimport { ActionItemDocumentsModal } from './GenerateActionItemDocumentsModal';\n\nexport type ActionItemCustomButtonsProps = {\n attachmentGridRefresh: () => void;\n};\n\nexport const ActionItemCustomButtons: React.FC<\n ActionItemCustomButtonsProps\n> = ({ attachmentGridRefresh }) => {\n const toast = useToasts();\n const { formValues, submitData, formStatus } = useFormState();\n const { toggle: generateModalToggle, setModalItem: setGenerateModalItem } =\n useModalHelpers(ActionItemDocumentsModal.GenerateActionItemDocuments);\n const { setUpEdit: setupChangeStatus } = useMultiModalHelpers();\n const [id, isAdd] = useIdParam();\n const [workflowTransitions] = useFormStateValue(\n 'workflowTransitions'\n );\n\n const generateDocuments = async (shouldSave?: boolean) => {\n setGenerateModalItem({ id: id });\n if (shouldSave) {\n submitData(formValues, undefined, (r: any) => {\n attachmentGridRefresh();\n })\n .then(() => {\n toast.success('Action Item updated');\n generateModalToggle();\n })\n .catch(() => {\n console.log('error');\n });\n } else {\n generateModalToggle();\n }\n };\n\n const changeStatus = async (x: any) => {\n setupChangeStatus(ActionItemModal.ChangeStatus, id, {\n action: 'changeStatus',\n workflowTransitionId: x.workflowTransitionId,\n title: 'Change Status to ' + x.toStatus?.displayName,\n statusName: x.toStatus?.displayName,\n requiresComments: x.requiresComments,\n ignoreCutoffTime: x.ignoreCutoffTime,\n redirect: true,\n });\n };\n\n useFormSubmitHotkeys(formValues);\n const actions: ActionsDropdownItem[] = [\n {\n name: 'Save',\n onClick: () => submitData(formValues),\n },\n {\n name: 'Generate Documents',\n permissions: [Permission.ActionItemGenerateDocuments],\n onClick: () => generateDocuments(false),\n condition: !isAdd,\n },\n {\n name: 'Save and Generate Documents',\n permissions: [Permission.ActionItemGenerateDocuments],\n onClick: () => generateDocuments(true),\n condition: !isAdd,\n },\n ...(workflowTransitions?.map(\n (x) =>\n ({\n name: x.name,\n onClick: () => changeStatus(x),\n condition: !isAdd,\n } as ActionsDropdownItem)\n ) ?? []),\n ];\n\n return (\n <>\n \n \n {isAdd ? (\n submitData(formValues)}>\n Save\n \n ) : (\n \n )}\n \n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n buildRoute,\n defaultDataTransform,\n MultiModalProvider,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, ActionItemModel } from 'Models';\nimport React, { useEffect, useState } from 'react';\nimport { Routes } from 'Navigation';\nimport { useHistory } from 'react-router-dom';\nimport { AddEditActionItemContent } from './AddEditActionItemContent';\nimport { ActionItemCustomButtons } from './ActionItemCustomButtons';\nimport { GenerateActionItemDocumentsModal } from './GenerateActionItemDocumentsModal';\nimport { ChangeActionItemStatus } from './ChangeStatusModal';\n\nexport const AddEditActionItem: React.FC = () => {\n const entityName = 'Action Item';\n const [id, isAdd] = useIdParam();\n const [attachmentGridRefreshToggle, attachmentGridRefresh] = useToggler();\n const history = useHistory<{ previousPage: string }>();\n const [previousPage, setPreviousPage] = useState(\n history?.location?.state?.previousPage ?? ''\n );\n const handleSuccess = useAddEditSuccessHandler(\n entityName,\n isAdd,\n previousPage,\n undefined,\n undefined,\n previousPage === ''\n );\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitems.addedit, id),\n new ActionItemModel(),\n defaultDataTransform,\n ActionItemModel\n );\n\n const onSuccess = async (response: any) => {\n if (isAdd) {\n history.push(buildRoute(Routes.ActionItemAddEdit, response.id));\n } else {\n handleSuccess();\n }\n };\n\n useEffect(() => {\n if (\n history?.location?.state?.previousPage === Routes.AgendaCoordinatorView ||\n history?.location?.state?.previousPage === Routes.AgendaCoordinatorView\n ) {\n setPreviousPage(\n history?.location?.state?.previousPage + '/' + data.meeting?.id\n );\n } else if (history?.location?.state?.previousPage !== null) {\n setPreviousPage(history?.location?.state?.previousPage);\n }\n }, [data]);\n\n return (\n \n \n \n }\n >\n \n \n \n \n \n \n );\n};\n","import {\n CancelBackButton,\n SecondaryButton,\n SecureComponent,\n buildEndpoint,\n useIdParam,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { useFileDownloader } from 'Features/Utilities';\nimport { AgendaEndpoints, METHODS, Permission } from 'Models';\n\nexport const ActionItemViewCustomButtons: React.FC = () => {\n const toast = useToasts();\n const { downloadFile } = useFileDownloader();\n const [id] = useIdParam();\n\n const viewDocuments = async () => {\n try {\n var url = buildEndpoint(\n AgendaEndpoints.actionitems.base,\n METHODS.ViewDocuments,\n id\n );\n downloadFile(url, 'ActionItemDocument', undefined, () => {\n toast.error('No Documents exist on this Action Item');\n });\n } catch {\n console.log('Error downloading documents');\n }\n };\n\n return (\n <>\n Return\n \n \n View Documents\n \n \n \n );\n};\n","import {\n AsyncLoadingSection,\n buildEndpoint,\n buildQueryUrl,\n ColSize,\n defaultDataTransform,\n DisplayBlock,\n DropdownItemModel,\n PageCard,\n PageCardRowSection,\n Render,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useApiWorker,\n useDataFetcher,\n useFormStateValue,\n useHasPermissions,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport {\n AgendaEndpoints,\n ActionItemConfigurationModel,\n ActionItemModel,\n Permission,\n} from 'Models';\nimport React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { ActionItemAttachmentsGrid } from './ActionItemAttachmentList';\nimport { ActionItemCommentsGrid } from './ActionItemCommentList';\nimport { ActionItemViewCustomButtons } from './ActionItemViewCustomButtons';\n\nexport const ViewActionItem: React.FC = () => {\n const entityName = 'Action Item';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitems.get, id),\n new ActionItemModel(),\n defaultDataTransform,\n ActionItemModel\n );\n\n return (\n \n }\n >\n \n \n \n );\n};\n\nconst ActionItemAddEditFormContent: React.FC<{\n data: ActionItemModel;\n}> = ({ data }) => {\n const [actionItemConfiguration] = useFormStateValue<\n DropdownItemModel | undefined\n >('actionItemConfiguration');\n const [actionItemConfigurationModel, setActionItemConfigurationModel] =\n React.useState(\n data?.selectedActionItemConfiguration\n );\n const API = useApiWorker();\n const hasPermissions = useHasPermissions();\n\n useEffect(() => {\n async function getActionItemConfigurationDetails(e: any) {\n const actionitemconfigurationUrl = buildQueryUrl(\n AgendaEndpoints.actionitemconfigurations.controllerActionString(\n 'getActionItemConfigurationDetails'\n ),\n { id: e.id }\n );\n const response = await API.get(actionitemconfigurationUrl);\n setActionItemConfigurationModel(response.data);\n }\n\n if (\n actionItemConfiguration !== undefined &&\n actionItemConfiguration.id !== undefined\n ) {\n getActionItemConfigurationDetails(actionItemConfiguration);\n }\n }, [actionItemConfiguration]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ColumnLayout,\n defaultDataTransform,\n InputType,\n PageCard,\n PageCardRowSection,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React from 'react';\nimport { Row } from 'reactstrap';\nimport { ActionItemCommentModel } from './ActionItemCommentActionCell';\nimport { Routes } from 'Navigation';\n\ntype AddActionItemCommentProps = {\n actionItemId?: string;\n}\n\nexport const AddActionItemComment: React.FC = ({\n actionItemId\n}) => {\n const entityName = 'Action Item Comment';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, true, Routes.ActionItems);\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.actionitemcomments.controllerActionString(\"GetAdd/\") + id),\n new ActionItemCommentModel(),\n defaultDataTransform,\n ActionItemCommentModel\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst ActionItemCommentAddFormContent: React.FC = ({ ...otherProps }) => {\n \n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n AsyncLoadingSection,\n buildEndpoint,\n defaultDataTransform,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useDataFetcher,\n useIdParam,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, ActionItemModel } from 'Models';\nimport React, { useEffect, useState } from 'react';\nimport { Routes } from 'Navigation';\nimport { useHistory } from 'react-router-dom';\nimport { AddEditActionItemContent } from './AddEditActionItemContent';\n\nexport const CopyActionItem: React.FC = () => {\n const entityName = 'Action Item';\n const [id, isAdd] = useIdParam();\n const history = useHistory<{ previousPage: string }>();\n const [previousPage, setPreviousPage] = useState(\n history?.location?.state?.previousPage ?? ''\n );\n const handleSuccess = useAddEditSuccessHandler(\n entityName,\n isAdd,\n previousPage,\n undefined,\n undefined,\n previousPage === ''\n );\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(\n AgendaEndpoints.actionitems.controllerActionString('copyActionItem'),\n id\n ),\n new ActionItemModel(),\n defaultDataTransform,\n ActionItemModel\n );\n\n useEffect(() => {\n if (\n history?.location?.state?.previousPage === Routes.AgendaCoordinatorView ||\n history?.location?.state?.previousPage === Routes.AgendaCoordinatorView\n ) {\n setPreviousPage(\n history?.location?.state?.previousPage + '/' + data.meeting?.id\n );\n } else if (history?.location?.state?.previousPage !== null) {\n setPreviousPage(history?.location?.state?.previousPage);\n }\n }, [data]);\n\n return (\n \n \n \n \n \n );\n};\n","import {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n buildEndpoint,\n CoreEnum,\n defaultGridProps,\n DropdownFilterConfig,\n DropdownItemModel,\n FilterBarFilterType,\n FilterBarMainGrid,\n FilterConfig,\n getShowAllCell,\n GridProvider,\n IFilterConfig,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n TimeStampCell,\n useApiWorker,\n useDownloadingToast,\n useEnums,\n useGridState,\n useToasts,\n ViewHeader,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell, EditDeleteCell } from 'Components';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport { Fragment } from 'react';\n\nclass MeetingSearch {\n constructor() {\n this.meetingStatus = new CoreEnum();\n this.meetingStatus.value = 1;\n this.meetingStatus.displayName = 'Upcoming';\n }\n\n description?: string;\n startDateFrom?: Date;\n startDateTo?: Date;\n meetingTypes?: DropdownItemModel[];\n committees?: DropdownItemModel[];\n meetingStatus?: CoreEnum;\n}\n\nexport const Meetings: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n Schedule Meeting\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n );\n};\n\nexport const MeetingTypesGrid: React.FC = () => {\n const { meetingStatus } = useEnums();\n\n const filters: IFilterConfig[] = [\n new FilterConfig(\n 'description',\n FilterBarFilterType.SearchText,\n 'Description...'\n ),\n new FilterConfig('startDate', FilterBarFilterType.DateRange, 'Start Date'),\n new DropdownFilterConfig(\n 'meetingTypes',\n FilterBarFilterType.Dropdown,\n 'Meeting Types',\n {\n readEndpoint: AgendaEndpoints.meetingtypes.dropdownItems,\n multiSelect: true,\n }\n ),\n new DropdownFilterConfig(\n 'committees',\n FilterBarFilterType.AsyncDropdown,\n 'Committees',\n {\n readEndpoint: AgendaEndpoints.committees.dropdownItems,\n multiSelect: true,\n }\n ),\n new FilterConfig(\n 'meetingStatus',\n FilterBarFilterType.EnumDropdown,\n 'Meeting Status',\n { data: meetingStatus },\n undefined,\n false\n ),\n ];\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport const MeetingActionsCell: React.FC = (\n props: GridCellProps\n) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const dataItem = props.dataItem;\n const [showLoadingToast, hideLoadingToast] = useDownloadingToast();\n\n const deleteMeeting = async () => {\n if (window.confirm('Are you sure you want to delete the Meeting?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.meetings.base, dataItem.id)\n );\n if (\n deleteResponse.status === 200 ||\n deleteResponse.data.isSuccessStatusCode\n ) {\n toast.success('The Meeting has been deleted.');\n } else {\n toast.error('The Meeting was not able to be deleted.');\n }\n refreshGrid();\n } catch {\n toast.error('The Meeting was not able to be deleted.');\n }\n }\n };\n\n const startMeeting = async () => {\n if (\n window.confirm(\n 'Are you sure you want to start and record the results of the meeting?'\n )\n ) {\n showLoadingToast('Starting meeting, please wait...');\n\n try {\n await API.put(\n AgendaEndpoints.livemeeting.controllerActionString('startMeeting') +\n '?id=' +\n dataItem.id\n );\n toast.success('Meeting started.');\n\n window.location.href = Routes.StartMeeting + '/' + dataItem.id;\n } catch {\n toast.error('Error starting meeting.');\n }\n hideLoadingToast();\n }\n };\n\n const finalizeMeeting = async () => {\n try {\n window.location.href = Routes.FinalizeMeeting + '/' + dataItem.id;\n } catch {\n toast.error('Error finalizing meeting.');\n }\n };\n\n const resumeMeeting = async () => {\n window.location.href = Routes.LiveMeeting + '/' + dataItem.id;\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Edit',\n permissions: [Permission.EditMeeting],\n url: buildEndpoint(Routes.MeetingsAddEdit, dataItem.id),\n },\n {\n name: 'Delete',\n onClick: deleteMeeting,\n permissions: [Permission.DeleteMeeting],\n },\n {\n name: 'Agenda Preview',\n permissions: [Permission.ViewPreMeetingAgenda],\n url: buildEndpoint(Routes.PreMeetingAgendaViewByMeeting, dataItem.id),\n condition:\n dataItem.meetingStatus !== 'Completed' &&\n dataItem.meetingStatus !== 'In Progress' &&\n dataItem.meetingStatus !== 'Finalized' &&\n dataItem.canViewAgendaPreview,\n },\n {\n name: 'View Historical Agenda',\n permissions: [Permission.ViewHistoricalAgenda],\n url: buildEndpoint(Routes.ViewHistoricalAgenda, dataItem.id),\n condition:\n dataItem.meetingStatus === 'Completed' ||\n dataItem.meetingStatus === 'In Progress' ||\n dataItem.meetingStatus === 'Finalized',\n },\n {\n name: 'Start Meeting',\n onClick: startMeeting,\n permissions: [Permission.StartMeeting],\n condition:\n dataItem.meetingStatus !== 'Completed' &&\n dataItem.meetingStatus !== 'In Progress' &&\n dataItem.meetingStatus !== 'Finalized',\n },\n {\n name: 'Resume Meeting',\n onClick: resumeMeeting,\n permissions: [Permission.StartMeeting],\n condition: dataItem.meetingStatus === 'In Progress',\n },\n {\n name: 'Finalize Meeting',\n onClick: finalizeMeeting,\n permissions: [Permission.EndMeeting],\n condition: dataItem.meetingStatus === 'Completed',\n },\n {\n name: 'Edit Meeting Results',\n onClick: finalizeMeeting,\n permissions: [Permission.EndMeeting],\n condition: dataItem.meetingStatus === 'Finalized',\n },\n ],\n };\n\n return (\n \n );\n};\n","import {\n addEditTitle,\n AsyncLoadingSection,\n buildEndpoint,\n ColumnLayout,\n DropdownItemModel,\n InputType,\n PageCard,\n PageCardRowSection,\n PrimaryButton,\n Render,\n SecondaryButton,\n SecureComponent,\n SmartInputBlock,\n TaskPageHeaderLayout,\n useAddEditSuccessHandler,\n useApiWorker,\n useFormState,\n useFormStateValue,\n useIdParam,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, MeetingModel, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport React from 'react';\nimport { Row } from 'reactstrap';\n\nexport const AddEditMeeting: React.FC = () => {\n const entityName = 'Meeting';\n const [id, isAdd] = useIdParam();\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd);\n const [data, loadingStatus] = useSimpleDataFetcher(\n buildEndpoint(AgendaEndpoints.meetings.addedit, id),\n new MeetingModel()\n );\n\n return (\n \n \n \n \n \n );\n};\n\nconst MeetingAddEditFormContent: React.FC = ({ ...otherProps }) => {\n const [meetingType] = useFormStateValue(\n 'meetingType'\n );\n const [id, isAdd] = useIdParam();\n const API = useApiWorker();\n const toast = useToasts();\n const { formValues } = useFormState();\n \n const startMeeting = async () => {\n if (window.confirm('Are you sure you want to start and record the results of the meeting?')) {\n try {\n await API.put(AgendaEndpoints.livemeeting.controllerActionString(\"startMeeting\") + \"?id=\" + id.toString());\n toast.success('Meeting started.');\n\n window.location.href = Routes.StartMeeting + \"/\" + id.toString();\n } catch {\n toast.error('Error starting meeting.');\n }\n }\n };\n\n const resumeMeeting = async () => {\n window.location.href = Routes.LiveMeeting + \"/\" + id.toString();\n };\n\n const viewHistoricalAgenda = async () => {\n window.location.href = Routes.ViewHistoricalAgenda + \"/\" + id.toString();\n };\n\n const finalizeMeeting = async () => {\n try {\n window.location.href = Routes.FinalizeMeeting + \"/\" + id.toString();\n } catch {\n toast.error('Error finalizing meeting.');\n }\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Start Meeting\n \n \n \n \n \n \n Resume Meeting\n \n \n \n \n \n \n Finalize Meeting\n \n \n \n \n \n \n Edit Meeting Results\n \n \n \n \n \n \n View Historical Agenda\n \n \n \n \n \n );\n};\n","import {\n AsyncLoadingSection,\n buildEndpoint,\n CalendarPopupProps,\n defaultDataTransform,\n EventCalendarLocalState,\n Render,\n SecureComponent,\n SingleSectionPageCard,\n TextDeleteButton,\n TextEditButton,\n TextIconButton,\n toTimeString,\n useApiWorker,\n useDataFetcher,\n useLocalState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport React, { useState } from 'react';\nimport { Row } from 'reactstrap';\nimport OpenInNewIcon from '@mui/icons-material/OpenInNew';\nimport PlayArrowIcon from '@mui/icons-material/PlayArrow';\nimport StopCircleIcon from '@mui/icons-material/StopCircle';\n\nclass MeetingCalendarModel {\n meetingStatus?: string;\n canViewAgendaPreview?: boolean;\n}\n\nexport const MeetingCalendarPopup: React.FC = ({\n description,\n start,\n end,\n uid,\n setPopupOpenState,\n}) => {\n const API = useApiWorker();\n const toast = useToasts();\n const [isDeleteLoading, setDeleteLoading] = useState(false);\n const [, setLocalState] = useLocalState();\n\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.meetings.controllerActionString(\"getPopupDetails\"), uid as string),\n new MeetingCalendarModel(),\n defaultDataTransform,\n MeetingCalendarModel\n );\n\n const handleDelete = async () => {\n if (window.confirm('Are you sure you want to delete this meeting?')) {\n try {\n setDeleteLoading(true);\n await API.delete(\n buildEndpoint(AgendaEndpoints.meetings.base, uid.toString())\n );\n toast.success('Meeting deleted.');\n setPopupOpenState(false);\n } catch {\n toast.error('Error deleting meeting.');\n }\n setDeleteLoading(false);\n setLocalState((state) => ({\n ...state,\n localStateRefresh: !state.localStateRefresh,\n }));\n }\n };\n\n const startMeeting = async () => {\n if (window.confirm('Are you sure you want to start and record the results of the meeting?')) {\n try {\n await API.put(AgendaEndpoints.livemeeting.controllerActionString(\"startMeeting\") + \"?id=\" + uid.toString());\n toast.success('Meeting started.');\n setPopupOpenState(false);\n\n window.location.href = Routes.StartMeeting + \"/\" + uid.toString();\n } catch {\n toast.error('Error starting meeting.');\n }\n }\n };\n\n const finalizeMeeting = async () => {\n try {\n setPopupOpenState(false);\n window.location.href = Routes.FinalizeMeeting + \"/\" + uid.toString();\n } catch {\n toast.error('Error finalizing meeting.');\n }\n };\n\n const resumeMeeting = async () => {\n window.location.href = Routes.LiveMeeting + \"/\" + uid.toString();\n };\n\n return (\n \n
\n
\n
\n {description}\n
\n
\n {toTimeString(start)}\n
\n
\n \n \n \n \n Edit\n \n \n \n \n \n \n Delete\n \n \n \n \n \n \n \n Agenda Preview\n \n \n \n \n \n \n View Historical Agenda\n \n \n \n \n \n \n \n \n Start Meeting\n \n \n \n \n \n \n Resume Meeting\n \n \n \n \n \n \n Finalize Meeting\n \n \n \n \n \n \n Edit Meeting Results\n \n \n \n \n \n
\n
\n
\n
\n );\n};\n","import {\n AddButton,\n buildEndpoint,\n FilterableAsyncEventCalendar,\n FilterBarFilterType,\n FilterConfig,\n GridButtonSection,\n IFilterConfig,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n useEnums,\n ViewHeader,\n} from '@techsharegov/react-ui';\nimport { CollapsibleAuditLog } from 'Components/Display/CollapsibleAuditLog';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\nimport { Fragment } from 'react';\nimport { MeetingCalendarPopup } from './MeetingCalendarPopup';\n\nexport const MeetingsCalendar: React.FC = () => {\n const { entityEventType } = useEnums();\n\n return (\n (\n \n \n Schedule Meeting\n \n \n }\n />\n )}\n >\n \n \n \n \n \n );\n};\n\nconst MeetingsCalendarContent: React.FC = () => {\n const filters: IFilterConfig[] = [\n new FilterConfig(\n 'description',\n FilterBarFilterType.SearchText,\n 'Description'\n ),\n new FilterConfig(\n 'committees',\n FilterBarFilterType.Dropdown,\n 'Committee',\n {\n readEndpoint: AgendaEndpoints.committees.dropdownItems,\n },\n undefined,\n true\n ),\n new FilterConfig(\n 'meetingTypes',\n FilterBarFilterType.Dropdown,\n 'Meeting Type',\n {\n readEndpoint: AgendaEndpoints.meetingtypes.dropdownItems,\n },\n undefined,\n true\n ),\n ];\n\n return (\n \n \n \n \n );\n};\n","import React from 'react';\nimport {\n AsyncLoadingSection,\n FormErrorDisplay,\n MultiModalFormDialog,\n PageCardSection,\n buildEndpoint,\n useDataFetcher,\n useGridState,\n useModalHelpers,\n useModalItem,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { MeetingModal } from './MeetingAttachmentList';\nimport { SmartCheckboxList } from 'Components';\n\ntype UnlockAgendaModalProps = {\n id?: string;\n};\n\nexport class UnlockAgendaModel {\n constructor(meetingId = '') {\n this.meetingId = meetingId;\n }\n unlockedRoleList?: any;\n meetingId?: string;\n}\n\nexport const UnlockAgenda: React.FC = () => {\n const modalId = MeetingModal.UnlockAgenda;\n const modalItem = useModalItem();\n const id = modalItem?.id;\n const { isOpen, simpleSuccessHandler } = useModalHelpers(modalId);\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Meeting unlocked for the selected Roles');\n refreshGrid();\n };\n let [unlockAgendaModel, fetchStatus] = useDataFetcher(\n buildEndpoint(\n AgendaEndpoints.agendacoordinator.controllerActionString(\n 'getUnlockAgenda'\n ),\n id\n ),\n new UnlockAgendaModel(id),\n ({ data }) => data,\n undefined,\n isOpen\n );\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport { GridColumn } from '@progress/kendo-react-grid/dist/npm/GridColumn';\nimport {\n ActionsDropdownConfig,\n AsyncGrid,\n buildEndpoint,\n buildQueryUrl,\n defaultGridProps,\n getFormattedDisplayCell,\n getSeeMoreCell,\n GridColumnWidth,\n GridProvider,\n LocalStateProvider,\n PageSectionHeading,\n Render,\n useApiWorker,\n useGridState,\n useLoadingToast,\n useLocalState,\n useSimpleDataFetcher,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { FileNameDownloadCell } from 'Components';\nimport { PreMeetingAgendaSearchModel } from 'Features/AgendaCoordinator';\nimport { useFileDownloader } from 'Features/Utilities';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport React, { Fragment } from 'react';\nimport { MeetingAttachmentActionCell } from './MeetingAttachmentActionCell';\nimport { useGlobalMeetingIdsAndFlags } from './MeetingIdsAndFlagsProvider';\nimport { UnlockAgenda } from './UnlockAgenda';\n\nexport enum MeetingModal {\n UnlockAgenda = 'UnlockAgenda',\n}\n\nclass MeetingSearchModel {\n constructor(id?: string, isHistoricalAgenda?: boolean) {\n this.meetingId = id;\n this.isHistoricalAgenda = isHistoricalAgenda;\n }\n meetingId?: string;\n isHistoricalAgenda?: boolean;\n}\n\ntype MeetingAttachmentsGridProps = {\n meetingId?: string;\n isHistoricalAgenda?: boolean;\n hideActions?: boolean;\n};\n\nexport const useAgendaCoordinatorViewActionsDropdown = (\n meetingId?: string,\n isHistoricalAgenda?: boolean\n) => {\n const API = useApiWorker();\n const toast = useToasts();\n const [showToast, hideToast] = useLoadingToast();\n const { refreshGrid } = useGridState();\n const { downloadFile } = useFileDownloader();\n const meetingContext = useGlobalMeetingIdsAndFlags();\n var [waitingOnDocument, setWaitingOnDocument] = useLocalState();\n\n const saveAndGenerateDocument = async () => {\n try {\n setWaitingOnDocument(true);\n showToast('Generating Agenda..');\n\n var response = await API.post(\n AgendaEndpoints.meetings.controllerActionString('generateAgenda') +\n '?meetingId=' +\n meetingId\n );\n\n refreshGrid();\n hideToast();\n toast.success('Meeting Agenda generated.');\n setWaitingOnDocument(false);\n } catch {\n toast.error('Error generating document.');\n setWaitingOnDocument(false);\n }\n };\n\n const createPreview = async () => {\n try {\n setWaitingOnDocument(true);\n showToast('Creating preview..');\n\n var url =\n AgendaEndpoints.meetings.controllerActionString(\n 'generateAgendaPreview'\n ) +\n '?meetingId=' +\n meetingId;\n downloadFile(url, 'Agenda');\n\n refreshGrid();\n hideToast();\n setWaitingOnDocument(false);\n } catch {\n toast.error('Error generating document.');\n setWaitingOnDocument(false);\n }\n };\n\n const publishAgenda = async () => {\n var meetingModelResponse = await API.get(\n buildEndpoint(AgendaEndpoints.premeetingagenda.addedit, meetingId)\n );\n\n if (meetingModelResponse.data?.isPublished) {\n toast.warning('Agenda has already been published.');\n } else if (!meetingModelResponse.data?.hasPdfAgenda) {\n toast.error('Please create a PDF of the agenda for publishing.');\n } else if (\n window.confirm('Are you sure you want to publish this Agenda?')\n ) {\n try {\n setWaitingOnDocument(true);\n showToast('Publishing agenda..');\n\n var response = await API.post(\n AgendaEndpoints.agendacoordinator.controllerActionString(\n 'publishAgenda'\n ) +\n '?meetingId=' +\n meetingId\n );\n\n refreshGrid();\n hideToast();\n toast.success('Meeting Agenda published.');\n setWaitingOnDocument(false);\n\n if (meetingContext != null) {\n meetingContext.refreshIdsAndFlags();\n }\n } catch {\n toast.error('Error publishing agenda.');\n setWaitingOnDocument(false);\n }\n }\n };\n\n const dropdownConfig: ActionsDropdownConfig = {\n name: 'Actions',\n items: [\n {\n name: 'Create Preview',\n permissions: [Permission.GenerateMeetingAgenda],\n onClick: createPreview,\n condition: !isHistoricalAgenda,\n },\n {\n name: 'Generate Agenda',\n permissions: [Permission.GenerateMeetingAgenda],\n onClick: saveAndGenerateDocument,\n condition: !isHistoricalAgenda,\n },\n {\n name: 'Publish Agenda',\n permissions: [Permission.PublishAgenda],\n onClick: publishAgenda,\n condition: !isHistoricalAgenda,\n },\n {\n name: 'Unlock Agenda',\n permissions: [Permission.UnlockAgenda],\n modalConfig: {\n modalId: MeetingModal.UnlockAgenda,\n modalItem: { id: meetingId },\n modalComponent: ,\n },\n },\n ],\n };\n\n return dropdownConfig;\n};\n\nexport const MeetingAttachmentsGrid: React.FC = ({\n meetingId,\n isHistoricalAgenda = false,\n hideActions = false,\n}) => {\n return (\n \n \n \n \n \n );\n};\n\nexport const MeetingAttachmentsGridContent: React.FC<\n MeetingAttachmentsGridProps\n> = ({ meetingId, isHistoricalAgenda, hideActions }) => {\n const searchModel: MeetingSearchModel = new MeetingSearchModel(\n meetingId,\n isHistoricalAgenda\n );\n const dropdownConfig = useAgendaCoordinatorViewActionsDropdown(\n meetingId,\n isHistoricalAgenda\n );\n const [fileStampItems] = useSimpleDataFetcher(\n buildQueryUrl(AgendaEndpoints.filestamps.dropdownItems, {\n meetingId: meetingId,\n }),\n []\n );\n\n var [waitingOnDocument] = useLocalState();\n\n return (\n \n \n Meeting Attachments\n \n \n \n Meeting Attachments\n \n \n \n (\n \n )}\n width={GridColumnWidth.MedLarge}\n />\n \n \n \n \n \n (\n \n )}\n locked={true}\n width={GridColumnWidth.Ellipsis}\n />\n \n \n );\n};\n","var tmr = 0;\n\nexport function setupSigPad() {\n try {\n clearSignatureInterval();\n tmr = setInterval(SigWebRefresh, 50);\n var canvas = document.getElementById('cnv');\n var context = canvas.getContext('2d');\n SigWebSetDisplayTarget(context);\n SetDisplayXSize(500);\n SetDisplayYSize(150);\n SetJustifyMode(0);\n SetTabletState(1);\n KeyPadClearHotSpotList();\n SetEncryptionMode(2);\n ClearSigWindow(1);\n ClearTablet();\n } catch (err) {\n console.log(err);\n console.log('Web sig not installed');\n }\n}\n\nexport function confirmSignature(confirmCallback) {\n if (NumberOfTabletPoints() === 0) {\n alert('Please sign before continuing');\n return;\n } else {\n //RETURN TOPAZ-FORMAT SIGSTRING\n SetSigCompressionMode(1);\n\n //RETURN BMP BYTE ARRAY CONVERTED TO BASE64 STRING\n SetImageXSize(500);\n SetImageYSize(150);\n SetImagePenWidth(5);\n\n GetSigImageB64(confirmCallback);\n clearSignatureInterval();\n }\n}\n\nexport function getTopazTabletState() {\n return GetTabletState();\n}\n\nexport function setTopazTabletState(v) {\n return SetTabletState(v);\n}\n\nexport function clearSignature() {\n setupSigPad();\n}\n\nexport function cancelSignature() {\n clearSignatureInterval();\n}\n\nfunction clearSignatureInterval() {\n if (tmr !== 0) {\n clearInterval(tmr);\n tmr = 0;\n }\n}\n\nvar getBlobURL =\n (window.URL && URL.createObjectURL.bind(URL)) ||\n (window.webkitURL &&\n window.webkitURL.createObjectURL.bind(window.webkitURL)) ||\n window.createObjectURL;\nvar revokeBlobURL =\n (window.URL && URL.revokeObjectURL.bind(URL)) ||\n (window.webkitURL &&\n window.webkitURL.revokeObjectURL.bind(window.webkitURL)) ||\n window.revokeObjectURL;\n\nvar baseUri = makeUri();\nvar ctx;\n\nfunction isIE() {\n return (\n navigator.appName == 'Microsoft Internet Explorer' ||\n (navigator.appName == 'Netscape' &&\n new RegExp('Trident/.*rv:([0-9]{1,}[.0-9]{0,})').exec(\n navigator.userAgent\n ) != null)\n );\n}\n\nfunction isChrome() {\n var ua = navigator.userAgent;\n var chrome = false;\n\n //Javascript Browser Detection - Chrome\n if (ua.lastIndexOf('Chrome/') > 0) {\n //var version = ua.substr(ua.lastIndexOf('Chrome/') + 7, 2);\n return true;\n } else {\n return false;\n }\n}\n\nfunction makeUri() {\n var prot = window.location.protocol;\n if (prot == 'file:') {\n prot = 'http:';\n }\n\n if (isIE()) {\n if (prot == 'https:') {\n return prot + '//tablet.sigwebtablet.com:47290/SigWeb/';\n } else {\n return prot + '//tablet.sigwebtablet.com:47289/SigWeb/';\n }\n }\n\n if (isChrome()) {\n if (prot == 'https:') {\n return prot + '//tablet.sigwebtablet.com:47290/SigWeb/';\n } else {\n return prot + '//tablet.sigwebtablet.com:47289/SigWeb/';\n }\n } else {\n //FIREFOX\n if (prot == 'https:') {\n return prot + '//tablet.sigwebtablet.com:47290/SigWeb/';\n } else {\n return prot + '//tablet.sigwebtablet.com:47289/SigWeb/';\n }\n }\n}\n\nfunction SigWebcreateXHR() {\n try {\n return new XMLHttpRequest();\n } catch (e) {}\n try {\n return new window.ActiveXObject('Msxml2.XMLHTTP.6.0');\n } catch (e) {}\n try {\n return new window.ActiveXObject('Msxml2.XMLHTTP.3.0');\n } catch (e) {}\n try {\n return new window.ActiveXObject('Msxml2.XMLHTTP');\n } catch (e) {}\n try {\n return new window.ActiveXObject('Microsoft.XMLHTTP');\n } catch (e) {}\n\n alert('XMLHttpRequest not supported');\n return null;\n}\n\nvar Count = false;\n\nfunction SigWebSetProperty(prop) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + prop, true);\n xhr.send(null);\n if (xhr.readyState == 4 && xhr.status == 200) {\n return xhr.responseText;\n }\n }\n return '';\n}\n\nfunction SigWebSetPropertySync(prop) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + prop, false);\n xhr.send();\n if (xhr.readyState == 4 && xhr.status == 200) {\n return xhr.responseText;\n }\n }\n return '';\n}\n\nfunction SigWebSetStreamProperty(prop, strm) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + prop);\n xhr.setRequestHeader('Content-Type', 'text/plain');\n xhr.send(strm);\n }\n return '';\n}\n\nfunction SigWebSetImageStreamProperty(prop, strm) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + prop, false);\n xhr.setRequestHeader('Content-Type', 'image/png');\n xhr.send(strm);\n if (xhr.readyState == 4 && xhr.status == 200) {\n return xhr.responseText;\n }\n }\n return '';\n}\n\nfunction SigWebSetImageBlobProperty(prop, strm) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + prop, false);\n xhr.setRequestHeader('Content-Type', 'blob');\n xhr.send(strm);\n if (xhr.readyState == 4 && xhr.status == 200) {\n return xhr.responseText;\n }\n }\n return '';\n}\n\nfunction SigWebGetProperty(prop) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('GET', baseUri + prop, false);\n xhr.send(null);\n if (xhr.readyState == 4 && xhr.status == 200) {\n return xhr.responseText;\n }\n }\n return '';\n}\n\nfunction GetSigImageB64(callback) {\n var cvs = document.createElement('canvas');\n cvs.width = GetImageXSize();\n cvs.height = GetImageYSize();\n\n var xhr2 = new XMLHttpRequest();\n xhr2.open('GET', baseUri + 'SigImage/1', true);\n xhr2.responseType = 'blob';\n xhr2.send(null);\n xhr2.onload = function () {\n var cntx = cvs.getContext('2d');\n var img = new Image();\n img.src = window.URL.createObjectURL(xhr2.response);\n img.onload = function () {\n cntx.drawImage(img, 0, 0);\n var b64String = cvs.toDataURL('image/png');\n var loc = b64String.search('base64,');\n var retstring = b64String.slice(loc + 7, b64String.length);\n if (callback) {\n clearInterval(tmr);\n callback(retstring);\n }\n };\n };\n}\n\nfunction SigWebWaitForPenDown(callback) {\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('GET', baseUri + 'WaitForPenDown');\n xhr.timeout = 10000;\n xhr.onreadystatechange = function () {\n if (xhr.readyState != 4) return;\n if (xhr.status == 200) callback();\n };\n xhr.send(null);\n }\n}\n\nfunction GetSigImage(ctx) {\n var xhr2 = new XMLHttpRequest();\n xhr2.open('GET', baseUri + 'SigImage/1', true);\n xhr2.responseType = 'blob';\n xhr2.send(null);\n xhr2.onload = function () {\n var img = new Image();\n img.src = getBlobURL(xhr2.response);\n img.onload = function () {\n ctx.drawImage(img, 0, 0);\n revokeBlobURL(this.src);\n img = null;\n };\n };\n}\n\nvar EvStatus;\nvar onSigPenDown;\nvar onSigPenUp;\n\nfunction SigWebSetDisplayTarget(obj) {\n ctx = obj;\n}\n\nvar NumPointsLastTime = 0;\n\nfunction SigWebRefresh() {\n var NumPoints = NumberOfTabletPoints();\n if (NumPoints == NumPointsLastTime) {\n return;\n }\n NumPointsLastTime = NumPoints;\n\n var xhr2 = new XMLHttpRequest();\n xhr2.open('GET', baseUri + 'SigImage/0', true);\n xhr2.responseType = 'blob';\n xhr2.onload = function () {\n var img = new Image();\n img.src = getBlobURL(xhr2.response);\n //\t\t\t\timg.src = window.URL.createObjectURL(xhr2.response);\n img.onload = function () {\n ctx.drawImage(img, 0, 0);\n revokeBlobURL(this.src);\n img = null;\n };\n };\n xhr2.send(null);\n}\n\nfunction SigWebEvent() {\n var OldEvStatus = EvStatus;\n\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('GET', baseUri + 'EventStatus', true);\n xhr.onload = function () {\n EvStatus = xhr.responseText;\n if (OldEvStatus & 0x01 && EvStatus & 0x02) {\n if (onSigPenDown) {\n onSigPenDown();\n }\n }\n\n if (OldEvStatus & 0x02 && EvStatus & 0x01) {\n if (onSigPenUp) {\n onSigPenUp();\n }\n }\n };\n xhr.send(null);\n }\n}\n\nvar SigWebFontThreshold = 155;\n\nfunction setSigWebFontThreshold(v) {\n SigWebFontThreshold = v;\n}\n\nfunction createLcdBitmapFromCanvas(ourCanvas, xp, yp, width, height) {\n var canvasCtx = ourCanvas.getContext('2d');\n var imgData = canvasCtx.getImageData(0, 0, width, height);\n var j = 0;\n var sVal = 0;\n var outData = '';\n var outIdx = 0;\n var data = imgData.data;\n\n for (var y = 0; y < height; y++)\n for (var x = 0; x < width; x++) {\n var tmp1 = data[j];\n var tmp2 = data[j + 1];\n var tmp3 = data[j + 2];\n var tmp4 = data[j + 3];\n\n //\t\t\t\t\tsVal = tmp1 + (tmp2 << 8 ) + ( tmp3 << 16 ) + (tmp4 << 24 );\n j = j + 4;\n if (tmp1 < SigWebFontThreshold) {\n outData += 'B';\n } else {\n outData += 'W';\n }\n }\n\n return outData;\n}\n\nfunction toHex(NibVal) {\n switch (NibVal) {\n case 0:\n return '0';\n case 1:\n return '1';\n case 2:\n return '2';\n case 3:\n return '3';\n case 4:\n return '4';\n case 5:\n return '5';\n case 6:\n return '6';\n case 7:\n return '7';\n case 8:\n return '8';\n case 9:\n return '9';\n case 10:\n return 'A';\n case 11:\n return 'B';\n case 12:\n return 'C';\n case 13:\n return 'D';\n case 14:\n return 'E';\n case 15:\n return 'F';\n }\n}\n\nfunction ToHexString(ByteVal) {\n var Str = '';\n Str += toHex((ByteVal >> 4) & 0x0f);\n Str += toHex(ByteVal & 0x0f);\n return Str;\n}\n\nfunction textToTablet(x, y, height, str, fnt) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n cntx.font = fnt;\n var txt = str;\n var xs = Math.round(cntx.measureText(txt).width);\n var ys = height;\n c.width = xs;\n c.height = ys;\n\n cntx.font = fnt;\n cntx.fillStyle = '#FFFFFF';\n cntx.rect(0, 0, xs, ys);\n cntx.fill();\n\n cntx.fillStyle = '#000000';\n cntx.textBaseline = 'top';\n cntx.fillText(txt, 0, 0);\n\n cntx.drawImage(cntx.canvas, 0, 0, xs, ys);\n\n var Gstr = createLcdBitmapFromCanvas(c, 0, 0, xs, ys);\n\n LcdWriteImageStream(0, 2, x, y, xs, ys, Gstr);\n}\n\nfunction LcdWriteImage(Dst, Mode, Xp, Yp, Url) {\n var Prop = 'LcdWriteImage/';\n var NewUrl = Url.replace(/\\//g, '_');\n\n Prop = Prop + Dst + ',' + Mode + ',' + Xp + ',' + Yp + ',' + NewUrl;\n SigWebSetPropertySync(Prop);\n}\n\nfunction LcdWriteLocalImage(Dst, Mode, Xp, Yp, Url) {\n var Prop = 'LcdWriteImage/';\n\n Prop = Prop + Dst + ',' + Mode + ',' + Xp + ',' + Yp + ',' + Url;\n SigWebSetProperty(Prop);\n}\n\nfunction LcdWriteImageStream(Dst, Mode, Xp, Yp, Xs, Ys, Url) {\n var Prop1 =\n 'LcdWriteImageStreamParams/' +\n Dst +\n ',' +\n Mode +\n ',' +\n Xp +\n ',' +\n Yp +\n ',' +\n Xs +\n ',' +\n Ys;\n var Prop2 = 'LcdWriteImageStream/';\n\n SigWebSetPropertySync(Prop1);\n SigWebSetImageStreamProperty(Prop2, Url);\n}\n\nfunction LcdWriteImageBlob(Dst, Mode, Xp, Yp, Xs, Ys, Url) {\n var Prop = 'LcdWriteImageStream/';\n\n Prop = Prop + Dst + ',' + Mode + ',' + Xp + ',' + Yp + ',' + Xs + ',' + Ys;\n SigWebSetImageBlobProperty(Prop, Url);\n}\n\nfunction measureText(pText, pFontSize, pStyle) {\n var lDiv = document.createElement('lDiv');\n\n document.body.appendChild(lDiv);\n\n if (pStyle != null) {\n lDiv.style = pStyle;\n }\n lDiv.style.fontSize = '' + pFontSize + 'px';\n lDiv.style.position = 'absolute';\n lDiv.style.left = -1000;\n lDiv.style.top = -1000;\n\n lDiv.innerHTML = pText;\n\n var lResult = {\n width: lDiv.clientWidth,\n height: lDiv.clientHeight,\n };\n\n document.body.removeChild(lDiv);\n lDiv = null;\n\n return lResult;\n}\n\n//\n//\n//\n//\n//\n//\n//\t\t\tStart of dll method wrappers\n//\n//\n//\t\t\tSigPlusNET.cs\n//\nfunction GetVersionString() {\n var Prop = 'Version';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n var trimStr = Str.slice(1, Str.length - 2);\n return trimStr;\n}\n\nfunction IsPenDown() {\n return EvStatus & 0x01;\n}\n\n//\n//\t\t\tSigPlusNETSig.cs\n//\nfunction ClearTablet() {\n var Prop = 'ClearSignature';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction NumberOfTabletPoints() {\n var Prop = 'TotalPoints';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\n//\t\tfunction ExportSigFile( FileName ) {}\n//\t\tfunction ImportSigFile( FileName ) {}\n\nfunction SetSigString(sigStr, ctx) {\n var Prop = 'SigString';\n\n Prop = Prop;\n var xhr = SigWebcreateXHR();\n\n if (xhr) {\n xhr.open('POST', baseUri + Prop);\n xhr.setRequestHeader('Content-Type', 'text/plain');\n xhr.send(sigStr);\n xhr.onload = function () {\n if (ctx) {\n var can = ctx.canvas;\n SetImageXSize(can.width);\n SetImageYSize(can.height);\n GetSigImage(ctx);\n }\n };\n }\n return '';\n}\n\nfunction GetSigString() {\n var Prop = 'SigString';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction SetSigCompressionMode(v) {\n var Prop = 'CompressionMode/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSigCompressionMode() {\n var Prop = 'CompressionMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetEncryptionMode(v) {\n var Prop = 'EncryptionMode/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetEncryptionMode() {\n var Prop = 'EncryptionMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\n//\t\tfunction SetKey( Keydata ) {}\n//\t\tfunction GetKey( ) {}\n\nfunction SetKeyString(keyString) {\n var Prop = 'KeyString';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, keyString);\n}\n\nfunction GetKeyString() {\n var Prop = 'KeyString';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction AutoKeyStart() {\n var Prop = 'AutoKeyStart';\n\n Prop = Prop;\n SigWebSetPropertySync(Prop);\n}\n\nfunction AutoKeyFinish() {\n var Prop = 'AutoKeyFinish';\n\n Prop = Prop;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetAutoKeyData(keyData) {\n var Prop = 'SetAutoKeyData';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, keyData);\n}\n\nfunction AutoKeyAddData(keyData) {\n var Prop = 'AutoKeyAddData';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, keyData);\n}\n\n//\t\tfunction GetKeyReceipt( ) {}\n\nfunction GetKeyReceiptAscii() {\n var Prop = 'KeyReceiptAscii';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\n//\t\tfunction GetSigReceipt( ) {}\n\nfunction GetSigReceiptAscii() {\n var Prop = 'SigReceiptAscii';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction SetTimeStamp(timeStamp) {\n var Prop = 'TimeStamp';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, timeStamp);\n}\n\nfunction GetTimeStamp() {\n var Prop = 'TimeStamp';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction SetAnnotate(annotate) {\n var Prop = 'Annotate';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, annotate);\n}\n\nfunction GetAnnotate() {\n var Prop = 'Annotate';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction SetSaveSigInfo(v) {\n var Prop = 'SaveSigInfo/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSaveSigInfo() {\n var Prop = 'SaveSigInfo';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetSavePressureData(v) {\n var Prop = 'SavePressureData/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSavePressureData() {\n var Prop = 'SavePressureData';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetSaveTimeData(v) {\n var Prop = 'SaveTimeData/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSaveTimeData() {\n var Prop = 'SaveTimeData';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetAntiAliasSpotSize(v) {\n var Prop = 'AntiAliasSpotSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetAntiAliasSpotSize() {\n var Prop = 'AntiAliasSpotSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetAntiAliasLineScale(v) {\n var Prop = 'AntiAliasLineScale/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetAntiAliasLineScale() {\n var Prop = 'AntiAliasLineScale';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetNumberOfStrokes() {\n var Prop = 'NumberOfStrokes';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetNumPointsForStroke(v) {\n var Prop = 'NumberOfPointsInStroke/';\n\n Prop = Prop + v;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetPointXValue(v1, v2) {\n var Prop = 'PointXValue/';\n\n Prop = Prop + v1 + '/' + v2;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetPointYValue(v1, v2) {\n var Prop = 'PointYValue/';\n\n Prop = Prop + v1 + '/' + v2;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetAntiAliasEnable(v) {\n var Prop = 'AntiAliasEnable/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetAntiAliasEnable() {\n var Prop = 'AntiAliasEnable';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetUseAmbientColors(v) {\n var Prop = 'UseAmbientColors/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\n//\n//\t\tSigPlusNETDisplay.cs\n//\nfunction SetDisplayXSize(v) {\n var Prop = 'DisplayXSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayXSize() {\n var Prop = 'DisplayXSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayYSize(v) {\n var Prop = 'DisplayYSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayYSize() {\n var Prop = 'DisplayYSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\nfunction SetDisplayPenWidth(v) {\n var Prop = 'DisplayPenWidth/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayPenWidth() {\n var Prop = 'DisplayPenWidth';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayTimeStamp(v) {\n var Prop = 'DisplayTimeStamp/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayTimeStamp() {\n var Prop = 'DisplayTimeStamp';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayTimeStampPosX(v) {\n var Prop = 'DisplayTimeStampPosX/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayTimeStampPosX() {\n var Prop = 'DisplayTimeStampPosX';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayTimeStampPosY(v) {\n var Prop = 'DisplayTimeStampPosY/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayTimeStampPosY() {\n var Prop = 'DisplayTimeStampPosY';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayTimeStampSize(v) {\n var Prop = 'DisplayTimeStampSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayTimeStampSize() {\n var Prop = 'DisplayTimeStampSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayAnnotate(v) {\n var Prop = 'DisplayAnnotate/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayAnnotate() {\n var Prop = 'DisplayAnnotate';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayAnnotatePosX(v) {\n var Prop = 'DisplayAnnotatePosX/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayAnnotatePosX() {\n var Prop = 'DisplayAnnotatePosX';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayAnnotatePosY(v) {\n var Prop = 'DisplayAnnotatePosY/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayAnnotatePosY() {\n var Prop = 'DisplayAnnotatePosY';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetDisplayAnnotateSize(v) {\n var Prop = 'DisplayAnnotateSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetDisplayAnnotateSize() {\n var Prop = 'DisplayAnnotateSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageXSize(v) {\n var Prop = 'ImageXSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageXSize() {\n var Prop = 'ImageXSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageYSize(v) {\n var Prop = 'ImageYSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageYSize() {\n var Prop = 'ImageYSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImagePenWidth(v) {\n var Prop = 'ImagePenWidth/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImagePenWidth() {\n var Prop = 'ImagePenWidth';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageTimeStamp(v) {\n var Prop = 'ImageTimeStamp/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageTimeStamp() {\n var Prop = 'ImageTimeStamp';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageTimeStampPosX(v) {\n var Prop = 'ImageTimeStampPosX/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageTimeStampPosX() {\n var Prop = 'ImageTimeStampPosX';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageTimeStampPosY(v) {\n var Prop = 'ImageTimeStampPosY/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageTimeStampPosY() {\n var Prop = 'ImageTimeStampPosY';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageTimeStampSize(v) {\n var Prop = 'ImageTimeStampSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageTimeStampSize() {\n var Prop = 'ImageTimeStampSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageAnnotate(v) {\n var Prop = 'ImageAnnotate/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageAnnotate() {\n var Prop = 'ImageAnnotate';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageAnnotatePosX(v) {\n var Prop = 'ImageAnnotatePosX/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageAnnotatePosX() {\n var Prop = 'ImageAnnotatePosX';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageAnnotatePosY(v) {\n var Prop = 'ImageAnnotatePosY/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageAnnotatePosY() {\n var Prop = 'ImageAnnotatePosY';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetImageAnnotateSize(v) {\n var Prop = 'ImageAnnotateSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetImageAnnotateSize() {\n var Prop = 'ImageAnnotateSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetJustifyX(v) {\n var Prop = 'JustifyX(/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetJustifyX() {\n var Prop = 'JustifyX(';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetJustifyY(v) {\n var Prop = 'JustifyY/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetJustifyY() {\n var Prop = 'JustifyY';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetJustifyMode(v) {\n var Prop = 'JustifyMode/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetJustifyMode() {\n var Prop = 'JustifyMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\n//\n//\t\tSigPlusNETKeyPad.cs\n//\nfunction KeyPadAddHotSpot(key, coord, xp, yp, xs, ys) {\n var Prop = 'KeyPadAddHotSpot/';\n Prop = Prop + key + ',' + coord + ',' + xp + ',' + yp + ',' + xs + ',' + ys;\n SigWebSetPropertySync(Prop);\n}\n\nfunction KeyPadMarkHotSpot(key, coord, xp, yp, xs, ys) {\n LCDWriteString(0, 2, xp, yp, '16pt sans-serif', 32, '+');\n LCDWriteString(0, 2, xp + xs, yp, '16pt sans-serif', 32, '+');\n LCDWriteString(0, 2, xp, yp + ys, '16pt sans-serif', 32, '+');\n LCDWriteString(0, 2, xp + xs, yp + ys, '16pt sans-serif', 32, '+');\n}\n\nfunction KeyPadQueryHotSpot(key) {\n var Prop = 'KeyPadQueryHotSpot/';\n Prop = Prop + key;\n return SigWebGetProperty(Prop);\n}\n\nfunction KeyPadClearHotSpotList() {\n var Prop = 'KeyPadClearHotSpotList';\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetSigWindow(coords, xp, yp, xs, ys) {\n var Prop = 'SigWindow/';\n Prop = Prop + coords + ',' + xp + ',' + yp + ',' + xs + ',' + ys;\n SigWebSetPropertySync(Prop);\n}\n\nfunction ClearSigWindow(inside) {\n var Prop = 'ClearSigWindow/';\n Prop = Prop + inside;\n SigWebSetPropertySync(Prop);\n}\n//\n//\t\tSigPlusNETLCD.cs\n//\nfunction SetLCDCaptureMode(v) {\n var Prop = 'CaptureMode/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetLCDCaptureMode() {\n var Prop = 'CaptureMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction LCDSetWindow(xP, yP, xS, yS) {\n var Prop = 'LCDSetWindow/';\n Prop = Prop + xP + ',' + yP + ',' + xS + ',' + yS;\n SigWebSetPropertySync(Prop);\n}\n\nfunction LCDWriteString(dest, mode, x, y, fnt, size, str) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n cntx.font = fnt;\n var txt = str;\n var xs = Math.round(cntx.measureText(txt).width);\n var ys = size;\n c.width = xs;\n c.height = ys;\n\n if (xs == 0) {\n return;\n }\n\n cntx.font = fnt;\n cntx.fillStyle = '#FFFFFF';\n cntx.rect(0, 0, xs, ys);\n cntx.fill();\n\n cntx.fillStyle = '#000000';\n cntx.textBaseline = 'top';\n cntx.fillText(txt, 0, 0);\n\n cntx.drawImage(cntx.canvas, 0, 0, xs, ys);\n\n var Gstr = createLcdBitmapFromCanvas(c, x, y, xs, ys);\n\n LcdWriteImageStream(dest, mode, x, y, xs, ys, Gstr);\n}\n\nfunction LCDDrawRectangle(dest, mode, x, y, xs, ys, fill) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n\n c.width = xs;\n c.height = ys;\n\n cntx.fillStyle = fill;\n cntx.rect(0, 0, xs, ys);\n cntx.fill();\n\n cntx.drawImage(cntx.canvas, 0, 0, xs, ys);\n var Gstr = createLcdBitmapFromCanvas(c, x, y, xs, ys);\n LcdWriteImageBlob(dest, mode, x, y, xs, ys, Gstr);\n}\n\nfunction LCDDrawButton(dest, mode, x, y, xs, ys, strys, fill, fnt, str) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n cntx.font = fnt;\n var txt = str;\n var sxs = Math.round(cntx.measureText(txt).width);\n var sys = strys;\n c.width = xs;\n c.height = ys;\n\n cntx.font = fnt;\n cntx.fillStyle = fill;\n cntx.rect(0, 0, xs, ys);\n cntx.fill();\n\n cntx.fillStyle = '#FFFFFF';\n cntx.textBaseline = 'top';\n cntx.fillText(txt, (xs - sxs) / 2, (ys - sys) / 2);\n\n cntx.drawImage(cntx.canvas, 0, 0, xs, ys);\n\n var Gstr = createLcdBitmapFromCanvas(c, x, y, xs, ys);\n\n LcdWriteImageBlob(dest, mode, x, y, xs, ys, Gstr);\n}\n\nfunction LCDWriteStringWindow(dest, mode, x, y, fnt, xsize, ysize, str) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n cntx.font = fnt;\n var txt = str;\n var xs = xsize;\n var ys = ysize;\n c.width = xs;\n c.height = ys;\n\n cntx.font = fnt;\n cntx.fillStyle = '#FFFFFF';\n cntx.rect(0, 0, xs, ys);\n cntx.fill();\n\n cntx.fillStyle = '#000000';\n cntx.textBaseline = 'top';\n cntx.fillText(txt, 0, 0);\n\n cntx.drawImage(cntx.canvas, 0, 0, xs, ys);\n\n var Gstr = createLcdBitmapFromCanvas(c, x, y, xs, ys);\n\n LcdWriteImageBlob(dest, mode, x, y, xs, ys, Gstr);\n}\n\nfunction LCDStringWidth(fnt, str) {\n var c = document.createElement('canvas');\n var cntx = c.getContext('2d');\n cntx.font = fnt;\n var txt = str;\n var xs = Math.round(cntx.measureText(txt).width);\n\n return xs;\n}\n\nfunction LCDStringHeight(fnt, str) {\n return 16;\n}\n\nfunction LcdRefresh(Mode, Xp, Yp, Xs, Ys) {\n var Prop = 'LcdRefresh/';\n\n Prop = Prop + Mode + ',' + Xp + ',' + Yp + ',' + Xs + ',' + Ys;\n SigWebSetPropertySync(Prop);\n}\n\nfunction LCDSendCmdString(CmdStr, ReturnCount, Result, TimeOut) {\n var Prop = 'LcdSendCmdString/';\n\n Prop = Prop + ReturnCount + ',' + TimeOut;\n Result = SigWebSetStreamProperty(Prop, CmdStr);\n}\n\nfunction LCDSendCmdData(CmdStr, ReturnCount, Result, TimeOut) {\n var Prop = 'LcdSendCmdData/';\n\n Prop = Prop + ReturnCount + ',' + TimeOut;\n Result = SigWebSetStreamProperty(Prop, CmdStr);\n}\n\n// function LCDSendGraphicCanvas(dest, mode, x, y, canvas) {\n// var Gstr = createLcdBitmapFromCanvas(canvas, 0, 0, xs, ys)\n// LcdWriteImageStream(dest, mode, x, y, canvas.width, canvas.height, Gstr);\n// }\n\n//\t\tfunction LCDSendWindowedGraphicCanvas( dest, mode, x, y, canvas )\n//\t\t\t {\n//\t\t\t }\n\n//\t\tfunction LCDSendWindowedGraphicCanvas( dest, mode, x, y, xs, ys, canvas )\n//\t\t\t{\n//\t\t\tvar Gstr = createLcdBitmapFromCanvas( canvas, 0, 0, xs, ys)\n//\t\t\tLcdWriteImageStream( dest, mode, x, y, xs, ys, Gstr );\n//\t\t\t}\n\n// function LCDSendWindowedGraphicCanvas(dest, mode, x, y, xs, ys, c, xps, yps) {\n// var Gstr = createLcdBitmapFromCanvas(canvas, xps, yps, xs, ys)\n// LcdWriteImageStream(dest, mode, x, y, xs, ys, Gstr);\n// }\n\nfunction LCDSendGraphicUrl(dest, mode, x, y, url) {\n LcdWriteImage(dest, mode, x, y, url);\n}\n\n//\t\tfunction LCDSendWindowedGraphicUrl( dest, mode, X, Y, url )\n//\t\t\t{\n//\t\t\t}\n\n//\t\tfunction LCDSendWindowedGraphicUrl( dest, mode, x, y, xs, ys, url )\n//\t\t\t{\n//\t\t\tLcdWriteImageStream(dest, mode, x, y, xs, ys, url);\n//\t\t\t}\n\n// function LCDSendWindowedGraphicUrl(dest, mode, x, y, xse, yse, url, xps, yps) {\n// LcdWriteImageStream(dest, mode, x, y, xs, ys, url);\n// }\n\n//\t\tfunction LCDSendGraphic( Dest, Mode, XPos, YPos, ImageFileName ) {}\n//\t\tfunction LCDSendGraphicURL( Dest, Mode, XPos, YPos, URL ) {}\n\nfunction LCDClear() {\n var Prop = 'LcdClear';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction LCDSetTabletMap(\n LCDType,\n LCDXSize,\n LCDYSize,\n LCDXStart,\n LCDYStart,\n LCDXStop,\n LCDYStop\n) {}\n\nfunction LCDSetPixelDepth(v) {\n var Prop = 'LcdSetPixelDepth/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction LCDGetLCDSize() {\n var Prop = 'LcdGetLcdSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\n// function LCDSetCompressionMode(NewMode) {\n// var Prop = \"LcdCompressionMode/\";\n\n// Prop = Prop + v;\n// SigWebSetPropertySync(Prop);\n// }\n\nfunction LCDGetCompressionMode() {\n var Prop = 'LcdCompressionMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\n// function LCDSetZCompressionMode(NewMode) {\n// var Prop = \"LcdZCompressionMode/\";\n\n// Prop = Prop + v;\n// SigWebSetPropertySync(Prop);\n// }\n\nfunction LCDGetZCompressionMode() {\n var Prop = 'LcdZCompressionMode';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n//\n//\t\tSigPlusNETLCD.cs\n//\n\nfunction SetRealTabletState(v) {\n var Prop = 'TabletState/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletState() {\n var Prop = 'TabletState';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletLogicalXSize(v) {\n var Prop = 'TabletLogicalXSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletLogicalXSize() {\n var Prop = 'TabletLogicalXSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetTabletLogicalYSize() {\n var Prop = 'TabletLogicalYSize';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletLogicalYSize(v) {\n var Prop = 'TabletLogicalYSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetTabletXStart(v) {\n var Prop = 'TabletXStart/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletXStart() {\n var Prop = 'TabletXStart';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletYStart(v) {\n var Prop = 'TabletYStart/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletYStart() {\n var Prop = 'TabletYStart';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletXStop(v) {\n var Prop = 'TabletXStop/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletXStop() {\n var Prop = 'TabletXStop';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletYStop(v) {\n var Prop = 'TabletYStop/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletYStop() {\n var Prop = 'TabletYStop';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletFilterPoints(v) {\n var Prop = 'TabletFilterPoints/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletFilterPoints() {\n var Prop = 'TabletFilterPoints';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletTimingAdvance(v) {\n var Prop = 'TabletTimingAdvance/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletTimingAdvance() {\n var Prop = 'TabletTimingAdvance';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletComPort(v) {\n var Prop = 'TabletComPort/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletComPort() {\n var Prop = 'TabletComPort';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletBaudRate(v) {\n var Prop = 'TabletBaudRate/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletBaudRate() {\n var Prop = 'TabletBaudRate';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletRotation(v) {\n var Prop = 'TabletRotation/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletRotation() {\n var Prop = 'TabletRotation';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletType(v) {\n var Prop = 'TabletType/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletType() {\n var Prop = 'TabletType';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetServerTabletType(v) {\n var Prop = 'ServerTabletType/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetServerTabletType() {\n var Prop = 'ServerTabletType';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletComTest(v) {\n var Prop = 'TabletComTest/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletComTest() {\n var Prop = 'TabletComTest';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletResolution(v) {\n var Prop = 'TabletResolution/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetTabletResolution() {\n var Prop = 'TabletResolution';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction TabletConnectQuery() {\n var Prop = 'TabletConnectQuery';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction TabletModelNumber() {\n var Prop = 'TabletModelNumber';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction TabletSerialNumber() {\n var Prop = 'TabletSerialNumber';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletPortPath(v) {\n var Prop = 'TabletPortPath/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetTabletLocalIniFilePath(v) {\n var Prop = 'TabletLocalIniFilePath/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetTabletModel(v) {\n var Prop = 'TabletModel/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetSerialPortCloseDelay(v) {\n var Prop = 'SerialPortCloseDelay/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSerialPortCloseDelay() {\n var Prop = 'SerialPortCloseDelay';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction EnableTabletEncryption() {\n var Prop = 'EnableTabletEncryption';\n\n Prop = Prop;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetTabletEncryptionMode(hmode, tmode) {\n var Prop = 'TabletEncryptionMode/';\n\n Prop = Prop + hmode + ',' + tmode;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetMaxLogFileSize(v) {\n var Prop = 'MaxLogFileSize/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetSigSockServerPath() {\n var Prop = 'SigSockServerPath';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetSigSockClientName() {\n var Prop = 'SigSockClientName';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction GetSigSockPortNumber() {\n var Prop = 'SigSockPortNumber';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetSigSockServerPath(v) {\n var Prop = 'SigSockServerPath/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetSigSockClientName(v) {\n var Prop = 'SigSockClientName/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetPortNumber(v) {\n var Prop = 'PortNumber/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction SetSigSockPortNumber(v) {\n var Prop = 'SigSockPortNumber/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction GetFirmwareRevision() {\n var Prop = 'FirmwareRevision';\n\n Prop = Prop;\n return SigWebGetProperty(Prop);\n}\n\nfunction SetTabletData(sigStr) {\n var Prop = 'TabletData';\n\n Prop = Prop;\n SigWebSetStreamProperty(Prop, sigStr);\n}\n\nfunction GetTabletData() {\n var Prop = 'TabletData';\n\n Prop = Prop;\n var Str = SigWebGetProperty(Prop);\n\n return Str.slice(1, Str.length - 1);\n}\n\nfunction OpenTablet(v) {\n var Prop = 'OpenTablet/';\n\n Prop = Prop + v;\n SigWebSetPropertySync(Prop);\n}\n\nfunction CloseTablet() {\n var Prop = 'CloseTablet';\n\n Prop = Prop;\n SigWebSetProperty(Prop);\n}\n\nfunction ResetParameters() {\n var Prop = 'ResetParameters';\n\n Prop = Prop;\n SigWebSetPropertySync(Prop);\n}\n\nfunction testRawData() {\n OpenTablet(1);\n var Str1 = GetTabletData();\n CloseTablet();\n}\n\nfunction SetTabletState(v, ctx, tv) {\n var delay;\n\n if (tv) {\n delay = tv;\n } else {\n delay = 100;\n }\n\n if (GetTabletState() != v) {\n if (v == 1) {\n if (ctx) {\n var can = ctx.canvas;\n SetDisplayXSize(can.width);\n SetDisplayYSize(can.height);\n SigWebSetDisplayTarget(ctx);\n }\n SetRealTabletState(v);\n if (ctx && GetTabletState() != 0) {\n var tmr = setInterval(SigWebRefresh, delay);\n } else {\n var tmr = null;\n }\n\n return tmr;\n } else {\n if (ctx) {\n clearInterval(ctx);\n }\n SigWebSetDisplayTarget(null);\n SetRealTabletState(v);\n }\n }\n return null;\n}\n","import { useState } from 'react';\n\nexport function asYesNoDisplay(val?: boolean) {\n return val !== undefined && val !== null ? (val ? 'Yes' : 'No') : '—';\n}\n\nexport function useSessionStorage(key: string, initialValue: T) {\n // Prevent build error \"window is undefined\" but keep keep working\n const isServer = typeof window === 'undefined';\n // State to store our value\n // Pass initial state function to useState so logic is only executed once\n const [storedValue, setStoredValue] = useState(() => {\n // Get from local storage then\n // parse stored json or return initialValue\n if (isServer) {\n return initialValue;\n }\n try {\n const item = window.sessionStorage.getItem(key);\n return item ? (JSON.parse(item) as T) : initialValue;\n } catch (error) {\n console.log(error);\n return initialValue;\n }\n });\n // Return a wrapped version of useState's setter function that ...\n // ... persists the new value to localStorage.\n const setValue = (value: T) => {\n try {\n // Allow value to be a function so we have same API as useState\n const valueToStore =\n value instanceof Function ? value(storedValue) : value;\n // Save state\n setStoredValue(valueToStore);\n // Save to local storage\n if (!isServer) {\n window.sessionStorage.setItem(key, JSON.stringify(valueToStore));\n }\n } catch (error) {\n console.log(error);\n }\n };\n\n const getValue = () => {\n const item = window.sessionStorage.getItem(key);\n return item ? (JSON.parse(item) as T) : initialValue;\n };\n\n return [storedValue, setValue, getValue] as const;\n}\n","import { DropdownItemModel, PageCard, PageCardRowSection, PageCardSectionProps } from '@techsharegov/react-ui';\nimport { SmartFileUploadDrawerInput } from 'Components';\nimport { CONTROLLERS } from 'Models/Templates/Routes/Routes';\nimport React from 'react';\n\nexport type AddAttachmentsSectionProps = PageCardSectionProps & {\n isCard?: boolean;\n sectionName?: string;\n requireAttachmentType?: boolean;\n fileListName?: string;\n fileController?: string;\n defaultAttachmentType?: DropdownItemModel;\n allowMultiple?: boolean;\n acceptedFileTypes?: string[];\n};\n\nexport const AddAttachmentsSection: React.FC = ({\n isCard,\n sectionName = 'Attachments',\n requireAttachmentType = true,\n fileListName,\n fileController = CONTROLLERS.ActionItemAttachments,\n defaultAttachmentType,\n allowMultiple = true,\n acceptedFileTypes = [],\n ...sectionProps\n}) => {\n return isCard ? (\n \n \n \n \n \n ) : (\n \n \n \n );\n};\n","import SearchIcon from '@mui/icons-material/Search';\nimport { SecureComponent, fullClassName, useHasPermissions } from '@techsharegov/react-ui';\nimport { Permission } from 'Models/Templates/Permission/Permission';\nimport { Routes } from 'Navigation';\nimport React from 'react';\n\nexport const SearchBar: React.FC = () => {\n const hasPermission = useHasPermissions();\n\n const redirectToSearchPage = () => {\n if(hasPermission([Permission.ViewDetailedActionItemSearch])) {\n window.location.href = Routes.DetailedSearch + \"/ActionItems\";\n } else {\n window.location.href = Routes.DetailedSearch + \"/CommitteeApplications\";\n }\n };\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n CollapsibleFormFiltersPageCard,\n CoreEnum,\n DateDisplayCell,\n FormProvider,\n GridProvider,\n InputType,\n LocalStateProvider,\n MainGrid,\n MultiModalProvider,\n PageCard,\n PageCardRow,\n PageCardSection,\n PrimaryButton,\n SecondaryButton,\n SingleSectionPageCard,\n SmartInputBlock,\n WrappableCell,\n defaultGridProps,\n isNullEmptyOrUndefined,\n useEnums,\n useFormHelpers,\n useFormState,\n useGridState,\n useLocalState,\n useLocalStorage,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport { Fragment, useEffect, useState } from 'react';\nimport { DropdownItem, Row } from 'reactstrap';\nimport {\n GridCellProps,\n GridColumn as Column,\n} from '@progress/kendo-react-grid';\nimport {\n ActionItemsActionsCell,\n ChangeActionItemStatus,\n} from 'Features/ActionItems';\n\nexport const ActionItemSearch: React.FC = () => {\n const searchModel = new DetailedSearchModel();\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nconst ActionItemSearchContent: React.FC = () => {\n const [isCardOpen, toggleIsCardOpen] = useToggler(true);\n const [searchValues, setSearchValues] = useState(\n null\n );\n const [nameMatchTotal, setNameMatchTotal] = useState(0);\n const [shouldClearGridData, setShouldClearGridData] =\n useState(false);\n const [shouldUpdateSearch, setShouldUpdateSearch] = useState(false);\n\n return (\n \n \n \n \n );\n};\n\nconst SearchFieldContent: React.FC = () => {\n const { actionItemType } = useEnums();\n const [{ isCardOpen, toggleIsCardOpen }] =\n useLocalState();\n const { updateCurrentSearch } = useDetailedSearch();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst DetailedSearchButton: React.FC = () => {\n const { formValues, runLastSearch, search } = useDetailedSearch();\n\n return (\n
\n
\n {/* \n Run Last Search\n */}\n \n Search\n \n
\n );\n};\n\nclass DetailedSearchModel {\n subject?: string;\n committee?: DropdownItem;\n preparedBy?: DropdownItem;\n courtOrderNumber?: string;\n submissionNumber?: string;\n meetingDateFrom?: Date;\n meetingDateTo?: Date;\n actionItemType?: CoreEnum;\n department?: DropdownItem;\n}\n\ntype DetailedSearchLocalState = {\n isCardOpen: boolean;\n toggleIsCardOpen: () => void;\n searchValues: DetailedSearchModel;\n setSearchValues: React.Dispatch<\n React.SetStateAction\n >;\n nameMatchTotal: number;\n setNameMatchTotal: React.Dispatch>;\n shouldClearGridData: boolean;\n setShouldClearGridData: React.Dispatch>;\n shouldUpdateSearch: boolean;\n setShouldUpdateSearch: React.Dispatch>;\n};\n\nconst useDetailedSearch = () => {\n const [\n {\n isCardOpen,\n toggleIsCardOpen,\n setSearchValues,\n shouldUpdateSearch,\n setShouldUpdateSearch,\n },\n ] = useLocalState();\n const { formValues } = useFormState();\n const { setFormValues } = useFormHelpers();\n const [{ setShouldClearGridData }] =\n useLocalState();\n const [, setSearchModel, getPreviousSearchModel] =\n useLocalStorage(\n 'searchModel',\n new DetailedSearchModel()\n );\n\n const saveSearchFilters = () => {\n if (!isNullEmptyOrUndefined(formValues)) {\n setSearchModel(formValues);\n }\n };\n\n const runLastSearch = () => {\n setFormValues(getPreviousSearchModel());\n setShouldUpdateSearch(true);\n };\n\n const updateCurrentSearch = () => {\n setShouldUpdateSearch(true);\n };\n\n const search = () => {\n saveSearchFilters();\n setSearchValues(formValues);\n if (isNullEmptyOrUndefined(formValues)) {\n setShouldClearGridData(true);\n }\n if (!isNullEmptyOrUndefined(formValues) && isCardOpen) {\n toggleIsCardOpen();\n }\n };\n\n useEffect(() => {\n if (shouldUpdateSearch) {\n search();\n setShouldUpdateSearch(false);\n }\n }, [formValues]);\n\n return { formValues, runLastSearch, search, updateCurrentSearch };\n};\n\nconst SearchGridContent: React.FC = () => {\n const [\n {\n searchValues,\n shouldClearGridData,\n setNameMatchTotal,\n setShouldClearGridData,\n nameMatchTotal,\n },\n ] = useLocalState();\n const { total, setData, setTotal } = useGridState();\n\n useEffect(() => {\n setNameMatchTotal(total);\n }, [total]);\n\n useEffect(() => {\n if (shouldClearGridData) {\n setData([]);\n setTotal(0);\n setShouldClearGridData(false);\n }\n }, [shouldClearGridData]);\n\n return (\n \n \n }\n {...defaultGridProps}\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst SubjectCell: React.FC = ({ dataItem }) => (\n {dataItem.subject}\n);\n\nconst CustomNoRecordsDisplay: React.FC = () => {\n return (\n \n
\n
\n No Results Yet\n
\n
\n Enter parameters above to search action items\n
\n
\n
\n );\n};\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n CollapsibleFormFiltersPageCard,\n DateDisplayCell,\n DropdownItemModel,\n FormProvider,\n GridProvider,\n InputType,\n LinkCell,\n LocalStateProvider,\n MainGrid,\n MultiModalProvider,\n PageCard,\n PageCardRow,\n PageCardSection,\n PrimaryButton,\n Render,\n SingleSectionPageCard,\n SmartInputBlock,\n defaultGridProps,\n isNullEmptyOrUndefined,\n useFormHelpers,\n useFormState,\n useFormStateValue,\n useGridState,\n useLocalState,\n useLocalStorage,\n useToggler,\n} from '@techsharegov/react-ui';\nimport { CommitteeApplicationsActionsCell } from 'Features/Committees/CommitteeApplications';\nimport { AgendaEndpoints } from 'Models';\nimport { Routes } from 'Navigation';\nimport { CommitteeWithApplicationSubRoute } from 'Navigation/SubRoutes/CommitteeWithApplicationSubRoutes';\nimport { Fragment, useEffect, useState } from 'react';\nimport { DropdownItem, Row } from 'reactstrap';\n\nexport const CommitteeApplicationSearch: React.FC = () => {\n const searchModel = new DetailedSearchModel();\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nconst CommitteeApplicationSearchContent: React.FC = () => {\n const [isCardOpen, toggleIsCardOpen] = useToggler(true);\n const [searchValues, setSearchValues] = useState(\n null\n );\n const [nameMatchTotal, setNameMatchTotal] = useState(0);\n const [shouldClearGridData, setShouldClearGridData] =\n useState(false);\n const [shouldUpdateSearch, setShouldUpdateSearch] = useState(false);\n\n return (\n \n \n \n \n );\n};\n\nconst SearchFieldContent: React.FC = () => {\n const [{ isCardOpen, toggleIsCardOpen }] =\n useLocalState();\n const { updateCurrentSearch } = useDetailedSearch();\n const { formValues } = useDetailedSearch();\n const [position, setPosition] = useFormStateValue<\n DropdownItemModel | undefined\n >('position');\n\n useEffect(() => {\n setPosition(undefined);\n }, [formValues?.committee]);\n\n return (\n \n \n \n \n \n \n {\n if (!isNullEmptyOrUndefined(formValues)) {\n setSearchModel(formValues);\n }\n };\n\n const runLastSearch = () => {\n setFormValues(getPreviousSearchModel());\n setShouldUpdateSearch(true);\n };\n\n const updateCurrentSearch = () => {\n setShouldUpdateSearch(true);\n };\n\n const search = () => {\n saveSearchFilters();\n setSearchValues(formValues);\n if (isNullEmptyOrUndefined(formValues)) {\n setShouldClearGridData(true);\n }\n if (!isNullEmptyOrUndefined(formValues) && isCardOpen) {\n toggleIsCardOpen();\n }\n };\n\n useEffect(() => {\n if (shouldUpdateSearch) {\n search();\n setShouldUpdateSearch(false);\n }\n }, [formValues]);\n\n return { formValues, runLastSearch, search, updateCurrentSearch };\n};\n\nconst SearchGridContent: React.FC = () => {\n const [\n {\n searchValues,\n shouldClearGridData,\n setNameMatchTotal,\n setShouldClearGridData,\n nameMatchTotal,\n },\n ] = useLocalState();\n const { total, setData, setTotal } = useGridState();\n\n useEffect(() => {\n setNameMatchTotal(total);\n }, [total]);\n\n useEffect(() => {\n if (shouldClearGridData) {\n setData([]);\n setTotal(0);\n setShouldClearGridData(false);\n }\n }, [shouldClearGridData]);\n\n return (\n \n \n }\n {...defaultGridProps}\n >\n \n \n \n \n \n \n \n \n );\n};\n\nconst ApplicationLinkCell: React.FC = ({\n dataItem,\n ...props\n}) => (\n \n);\n\nexport const CommitteeLinkCell: React.FC = ({\n dataItem,\n ...props\n}) => (\n \n);\n\nexport const PositionLinkCell: React.FC = ({\n dataItem,\n ...props\n}) => (\n \n);\n\nconst CustomNoRecordsDisplay: React.FC = () => {\n return (\n \n
\n
\n No Results Yet\n
\n
\n Enter parameters above to search committee applications\n
\n
\n
\n );\n};\n","import { AdminSubHeaderMainLayout } from 'Components';\nimport { Routes } from 'Navigation';\nimport React from 'react';\n\nexport const DetailedSearch: React.FC = () => {\n\n return (\n \n );\n};\n","import {\n AsyncStatus,\n buildEndpoint,\n defaultDataTransform,\n useDataFetcher,\n} from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models';\nimport React, { useContext } from 'react';\n\nclass MeetingIdsAndFlagsModel {\n constructor() {\n this.coordinatorBanners = [];\n this.finalizedMeetingBanners = [];\n }\n id?: string;\n isPublished?: boolean;\n publishedByUserName?: string;\n publishedDateTime?: Date;\n coordinatorBanners: MeetingBannerModel[];\n finalizedMeetingBanners: MeetingBannerModel[];\n}\n\nexport type MeetingBannerModel = {\n text: string;\n};\n\nexport type MeetingIdsAndFlagsContextType = {\n meetingId?: string;\n idsAndFlags: MeetingIdsAndFlagsModel;\n refreshIdsAndFlags: () => void;\n loadingStatus: AsyncStatus;\n};\n\nconst MeetingIdsAndFlagsContext = React.createContext<\n MeetingIdsAndFlagsContextType | undefined\n>(undefined);\n\nexport const MeetingIdsAndFlagsProvider: React.FC<{ meetingId?: string }> = ({\n meetingId,\n children,\n}) => {\n const [idsAndFlagsModel, loadingStatus, { getData }] =\n useDataFetcher(\n buildEndpoint(AgendaEndpoints.meetings.base, meetingId, 'IdsAndFlags'),\n new MeetingIdsAndFlagsModel(),\n defaultDataTransform,\n MeetingIdsAndFlagsModel,\n meetingId != null\n );\n const model: MeetingIdsAndFlagsContextType =\n meetingId != null\n ? {\n idsAndFlags: idsAndFlagsModel,\n refreshIdsAndFlags: getData,\n meetingId,\n loadingStatus,\n }\n : {\n idsAndFlags: new MeetingIdsAndFlagsModel(),\n refreshIdsAndFlags: () => {},\n loadingStatus: AsyncStatus.Idle,\n meetingId: undefined,\n };\n return (\n \n {children}\n \n );\n};\n\nexport const useMeetingIdsAndFlags = () => {\n const idsAndFlagsContext = useContext(MeetingIdsAndFlagsContext);\n if (idsAndFlagsContext == null) {\n throw new Error(\n 'useMeetingIdsAndFlags must be used within a MeetingIdsAndFlagsProvider'\n );\n }\n return idsAndFlagsContext;\n};\n\nexport const useGlobalMeetingIdsAndFlags = () => {\n return useContext(MeetingIdsAndFlagsContext);\n};\n","import {\n useModalHelpers,\n useModalItem,\n useGridState,\n FormProvider,\n ModalDialog,\n} from '@techsharegov/react-ui';\nimport { AttachmentEmbed, MultiModalFormDialogContent } from 'Components';\nimport { useToastrErrors } from 'Features/Utilities';\nimport { SignaturesModal } from 'Models';\n\nexport class SignDocumentModalItem {\n constructor(\n attachmentId: string,\n formEndpoint: string,\n previewEndpoint: string\n ) {\n this.attachmentId = attachmentId;\n this.formEndpoint = formEndpoint;\n this.previewEndpoint = previewEndpoint;\n }\n attachmentId: string;\n formEndpoint: string;\n previewEndpoint: string;\n}\n\nexport const SignDocumentModal: React.FC = () => {\n const { isOpen, simpleSuccessHandler, toggle } = useModalHelpers(\n SignaturesModal.Sign\n );\n const modalItem = useModalItem();\n const { refreshGrid } = useGridState();\n const toastErrors = useToastrErrors();\n\n const handleSuccess = (data: any) => {\n simpleSuccessHandler('Document signed successfully.');\n refreshGrid();\n };\n\n const handleError = (data: any) => {\n toastErrors(data);\n };\n\n return (\n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps, GridColumn } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n AddButton,\n AsyncGrid,\n buildEndpoint,\n defaultGridProps,\n GridProvider,\n MainArea,\n SecureComponent,\n SubHeaderLayout,\n useApiWorker,\n useGridState,\n useToasts,\n ViewHeader,\n YesNoBooleanCell,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell, EditDeleteCell } from 'Components';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport { Routes } from 'Navigation';\n\nexport const Committees: React.FC = () => {\n\n return (\n (\n \n \n New Committee\n \n \n }\n />\n )}\n >\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionsCell: React.FC = ({ ...otherProps }) => {\n return (\n \n );\n};\n\n\nexport const CommitteesActionsCell: React.FC = (props: GridCellProps) => {\n const { refreshGrid } = useGridState();\n const API = useApiWorker();\n const toast = useToasts();\n const dataItem = props.dataItem;\n\n const deleteCommittee = async () => {\n if (window.confirm('Are you sure you want to delete the Action Item?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.actionitems.base, dataItem.id)\n );\n if (deleteResponse.status === 200 || deleteResponse.data.isSuccessStatusCode) {\n toast.success('The Action Item has been removed.');\n } else {\n toast.error('The Action Item was not able to be deleted. Make sure any attachments are deleted and try again.');\n }\n refreshGrid();\n } catch {\n toast.error('The Action Item was not able to be deleted. Make sure any attachments are deleted and try again.');\n }\n }\n };\n\n var actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'View / Edit',\n url: Routes.CommitteesView + \"/\" + dataItem.id,\n permissions: [Permission.ViewCommittee, Permission.AddCommittee, Permission.EditCommittee],\n },\n {\n name: 'Delete',\n onClick: deleteCommittee,\n permissions: [Permission.DeleteCommittee],\n condition: dataItem.userCanEdit\n },\n ],\n };\n\n return (\n \n );\n};\n","import { EMPTY_GUID, InputType, ListSectionProps, SmartInputBlock, defaultFormatName, useFormStateValue } from '@techsharegov/react-ui';\nimport React, { Fragment, useEffect } from 'react';\nimport { Row } from 'reactstrap';\n\nexport type CommitteePositionListSectionProps = ListSectionProps & {\n committeeId?: string;\n};\n\nexport const CommitteePositionListSection: React.FC = ({\n formatInputName = defaultFormatName,\n committeeId = EMPTY_GUID,\n}) => {\n const [committeeIdFormValue, setCommitteeIdFormValue] = useFormStateValue<\n string | undefined\n >('committeeId');\n\n useEffect(() => {\n if (committeeIdFormValue === undefined) {\n setCommitteeIdFormValue(committeeId);\n }\n }, []);\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n","import { AsyncLoadingSection, ColSize, CollapsiblePageCard, InputType, PageCard, PageCardRow, PageCardSection, PageSectionHeading, SingleSectionPageCard, SmartInputBlock, SmartMultiSectionList, TaskPageHeaderLayout, addEditTitle, buildEndpoint, defaultDataTransform, useAddEditSuccessHandler, useDataFetcher, useIdParam } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport React, { Fragment } from 'react';\nimport { DropdownItem, Row } from 'reactstrap';\nimport { Routes } from 'Navigation';\nimport { CommitteePositionListSection } from './CommitteePositionListSection';\n\nexport class AddEditCommitteeModel {\n name?: string;\n isActive?: boolean;\n isActiveDisplay?: string;\n description?: string;\n details?: string;\n contactLiaison?: string;\n phone?: string;\n email?: string;\n location?: string;\n meetingTimes?: string;\n committeeAdministrator?: DropdownItem;\n\n committeeMembers?: AddEditCommitteeMemberModel[];\n}\n\nclass AddEditCommitteeMemberModel {\n name?: string;\n title?: string;\n isVotingMember?: boolean;\n isActive?: boolean;\n}\n\nexport const AddEditCommittee: React.FC = () => {\n const entityName = 'Committee';\n const [id, isAdd] = useIdParam();\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.addedit, id),\n new AddEditCommitteeModel(),\n defaultDataTransform,\n AddEditCommitteeModel\n );\n const handleSuccess = useAddEditSuccessHandler(entityName, isAdd, Routes.Committees);\n\n return (\n \n \n \n \n \n );\n};\n\nconst AddCourtCaseFormContent: React.FC = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import {\n Alert,\n AlertType,\n AlertsDisplay,\n AsyncLoadingSection,\n} from '@techsharegov/react-ui';\nimport { useCommitteeIdsAndFlags } from './CommitteeIdsAndFlagsProvider';\n\nexport const CommitteeBanners: React.FC = () => {\n const { idsAndFlags, loadingStatus } = useCommitteeIdsAndFlags();\n return (\n \n new Alert(AlertType.Warning, b.text)\n )}\n />\n \n );\n};\n","import { AsyncLoadingSection, Render, buildEndpoint, defaultDataTransform, useDataFetcher, useIdParam } from '@techsharegov/react-ui';\nimport { AdminSubHeaderMainLayout } from 'Components';\nimport { Routes } from 'Navigation';\nimport React from 'react';\nimport { CommitteeProvider } from './CommitteeProvider';\nimport { AgendaEndpoints } from 'Models';\nimport { CommitteeIdsAndFlagsProvider } from './CommitteeIdsAndFlagsProvider';\nimport { CommitteeBanners } from './CommitteeBanners';\n\nexport class CommitteeBasicInfoModel {\n name?: string;\n allowPublicApplications?: boolean\n}\n\nexport const ViewCommittee: React.FC = () => {\n const [id] = useIdParam();\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.controllerActionString(\"basicInfo\"), id),\n new CommitteeBasicInfoModel(),\n defaultDataTransform,\n CommitteeBasicInfoModel\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { AsyncLoadingSection, ColSize, CollapsiblePageCard, DisplayBlock, FormProvider, InputType, PageCardRow, PageCardSection, PrimaryButton, Render, SingleSectionPageCard, SmartInputBlock, TextEditButton, TextIconButton, buildEndpoint, defaultDataTransform, useDataFetcher, useFormHelpers, useFormState, useFormStateValue, useHasPermissions, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport { Row } from 'reactstrap';\nimport { AddEditCommitteeModel } from './AddEditCommittee';\nimport { useCommitteeState } from './CommitteeProvider';\nimport { Permission } from 'Models';\nimport { Fragment } from 'react';\nimport CancelIcon from '@mui/icons-material/Cancel';\n\nexport const CommitteeOverview: React.FC = () => {\n const { committeeId } = useCommitteeState();\n const hasPermissions = useHasPermissions(); \n\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.addedit, committeeId),\n new AddEditCommitteeModel(),\n defaultDataTransform,\n AddEditCommitteeModel\n );\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype ChangeNameFormProps = {\n committeeId?: string;\n};\n\nexport const ChangeNameForm: React.FC = ({\n committeeId,\n}) => {\n const [isSaving, setIsSaving] = useFormStateValue(\"isSaving\");\n const toast = useToasts();\n const { formValues, submitData } = useFormState();\n const { clearFormErrors } = useFormHelpers();\n \n const handleSuccess = () => {\n toast.success(\"Committee updated\");\n clearFormErrors();\n }\n\n const updateName = async () => {\n setIsSaving(true);\n submitData(null, AgendaEndpoints.committees.controllerActionString('updateName') +\n '?id=' + committeeId?.toString() + \n \"&name=\" + formValues?.name + \n \"&isActive=\" + formValues?.isActive,\n handleSuccess).then(() => {\n setIsSaving(false); \n }).catch(() => {\n setIsSaving(false);\n });\n }\n\n return (\n \n \n \n \n Update\n \n \n );\n}\n\nexport const EditCommitteeForm: React.FC = () => {\n const [isSaving, setIsSaving] = useFormStateValue(\"isSaving\");\n const toast = useToasts();\n const { formValues, submitData } = useFormState();\n const [isInEditMode, setIsInEditMode] = useFormStateValue(\"isInEditMode\");\n const { clearFormErrors } = useFormHelpers();\n\n const toggleEditMode = async () => {\n if(isInEditMode) {\n setIsInEditMode(false);\n } else {\n setIsInEditMode(true);\n } \n }\n\n const handleSuccess = () => {\n toast.success(\"Committee updated\");\n setIsInEditMode(false);\n clearFormErrors();\n }\n\n const updateDetails = async () => {\n setIsSaving(true);\n submitData(formValues,\n AgendaEndpoints.committees.controllerActionString(\"updateDetails\"),\n handleSuccess).then(() => {\n setIsSaving(false); \n }).catch(() => {\n setIsSaving(false);\n });\n }\n\n return (\n :\n \n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Update Details\n \n \n \n \n \n );\n}\n","import { AsyncLoadingSection, ColSize, FormProvider, InputType, PageCardRow, PageCardSection, PrimaryButton, Render, SingleSectionPageCard, SmartInputBlock, buildEndpoint, defaultDataTransform, useDataFetcher, useFormHelpers, useFormState, useFormStateValue, useToasts } from '@techsharegov/react-ui';\nimport { AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport { Row } from 'reactstrap';\nimport { useCommitteeState } from './CommitteeProvider';\n\nexport class CommitteePreferencesModel {\n id?: string;\n isPublic?: boolean;\n allowPublicApplications?: boolean;\n trackMemberAttendance?: boolean;\n useDefaultTermValues?: boolean;\n yearsOfTerm?: number;\n}\n\nexport const CommitteePreferences: React.FC = () => {\n const { committeeId } = useCommitteeState();\n\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.controllerActionString(\"getPreferences\"), committeeId),\n new CommitteePreferencesModel(),\n defaultDataTransform,\n CommitteePreferencesModel\n );\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport const UpdateCommitteePreferencesForm: React.FC = () => {\n const [isSaving, setIsSaving] = useFormStateValue(\"isSaving\");\n const toast = useToasts();\n const { formValues, submitData } = useFormState();\n const { clearFormErrors } = useFormHelpers();\n\n const handleSuccess = () => {\n toast.success(\"Committee preferences updated\");\n clearFormErrors();\n }\n\n const updatePreferences = async () => {\n setIsSaving(true);\n submitData(formValues,\n AgendaEndpoints.committees.controllerActionString(\"updatePreferences\"),\n handleSuccess).then(() => {\n setIsSaving(false); \n }).catch(() => {\n setIsSaving(false);\n });\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Update Preferences\n \n \n \n );\n}\n","import { AsyncLoadingSection, buildEndpoint, defaultDataTransform, useDataFetcher, useEnums } from '@techsharegov/react-ui';\nimport { useCommitteeState } from './CommitteeProvider';\nimport { AuditLog } from 'Components/Display/AuditLog';\nimport { AgendaEndpoints } from 'Models';\n\nexport const CommitteeAuditLog: React.FC = () => {\n const { committeeId } = useCommitteeState();\n\n const [data, loadingStatus] = useDataFetcher(\n buildEndpoint(AgendaEndpoints.committees.controllerActionString(\"getAuditIds\"), committeeId),\n [],\n defaultDataTransform,\n Array\n );\n\n return (\n \n \n \n );\n};\n","import React from 'react';\n\nexport const Unauthorized: React.FC = () => {\n return (\n

You don't have permission to view this option.

\n );\n};\n","import {\n FilePondFile,\n ProcessServerConfigFunction,\n RevertServerConfigFunction,\n} from 'filepond';\nimport FilePondPluginFileValidateType from 'filepond-plugin-file-validate-type';\nimport 'filepond/dist/filepond.min.css';\nimport React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { FilePond, FilePondProps, registerPlugin } from 'react-filepond';\nimport { v4 as uuidv4 } from 'uuid';\n\nimport { Col, Row } from 'reactstrap';\n\nimport ArrowForwardIcon from '@mui/icons-material/ArrowForward';\nimport { DialogActionsBar } from '@progress/kendo-react-dialogs';\nimport {\n buildEndpoint,\n buildQueryUrl,\n ColumnLayout,\n DefaultInputLabel,\n DropdownItemModel,\n ErrorDisplay,\n FormActionTypes,\n FormProvider,\n getFieldValue,\n getPropertyByString,\n getValueFromChangeEvent,\n InputType,\n METHODS,\n MultiModalCancelButton,\n MultiModalDialog,\n MultiModalProvider,\n PrimaryButton,\n Render,\n SmartInputBlock,\n TextButton,\n toggledClass,\n useApiWorker,\n useFormHelpers,\n useFormState,\n useFormStateValue,\n useFormUpdater,\n useModalHelpers,\n useToasts,\n} from '@techsharegov/react-ui';\nimport {\n DwtScanner,\n DwtScannerProvider,\n useDwtScannerState,\n} from 'Components/DWT';\nimport Dynamsoft from 'dwt';\nimport { WebTwain } from 'dwt/dist/types/WebTwain';\nimport { AgendaEndpoints } from 'Models';\n\nconst scanModalId = 'fileUploadScanDocumentsModal';\n\nexport type RenderAdditionalFormComponentsProp = (\n handleFileFieldChange: (e: any, type: InputType, fieldName: string) => void,\n formatFieldName: (name: string) => string\n) => React.ReactElement;\n\nexport type SmartFileUploaderProps = FilePondProps & {\n fileEndpoint: string;\n name?: string;\n requireAttachmentType?: boolean;\n userDefinedOnly?: boolean;\n vertical?: boolean;\n isEdit?: boolean;\n withComments?: boolean;\n label?: string;\n isAdministrativeAttachmentType?: boolean;\n renderAdditionalFormComponents?: RenderAdditionalFormComponentsProp;\n allowScanning?: boolean;\n defaultAttachmentType?: DropdownItemModel;\n};\n\nexport const SmartFileUploader: React.FC = (props) => {\n return (\n \n \n \n );\n};\n\nexport const SmartFileUploaderContent: React.FC = ({\n fileEndpoint,\n name = 'files',\n label,\n required,\n requireAttachmentType,\n userDefinedOnly = true,\n allowMultiple,\n vertical,\n isEdit,\n withComments,\n isAdministrativeAttachmentType,\n renderAdditionalFormComponents,\n allowScanning = true,\n acceptedFileTypes = [],\n defaultAttachmentType,\n ...filePondProps\n}) => {\n const { formValues, formErrors } = useFormState();\n const sendUpdate = useFormUpdater();\n const API = useApiWorker();\n var filePondRef = useRef(null);\n const toast = useToasts();\n const [hasFiles, setHasFiles] = useState(isEdit ?? false);\n const [canAddSingle, setCanAddSingle] = useState(true);\n const [fileErrors, setFileErrors] = useState([]);\n const { toggle: toggleScanModal } = useModalHelpers(scanModalId);\n const attachmentTypeFieldName = 'attachmentType';\n const commentsFieldname = 'description';\n const acceptsPdf =\n !acceptedFileTypes.length ||\n acceptedFileTypes.some(\n (t) => t === 'application/pdf' || t === 'application/*'\n );\n const isAbleToScan =\n allowScanning && !isEdit && acceptsPdf && (allowMultiple || canAddSingle);\n const uploadUrl = buildEndpoint(fileEndpoint, METHODS.Upload);\n const deleteUrl = buildEndpoint(fileEndpoint, METHODS.DeleteTempBlob);\n\n const deleteUrlWithId = (id: string) => {\n return buildQueryUrl(deleteUrl, { id: id });\n };\n\n const formatFieldName = (fieldName: string) => {\n return allowMultiple ? `${name}[0].${fieldName}` : fieldName;\n };\n\n registerPlugin(FilePondPluginFileValidateType);\n\n useEffect(() => {\n var hasValues =\n (allowMultiple && getPropertyByString(formValues, name)?.length > 0) ||\n (!allowMultiple && formValues?.fileId?.length > 0);\n\n if (hasFiles !== hasValues) {\n setHasFiles(hasValues);\n }\n }, [formValues]);\n\n useEffect(() => {\n const fileErrorValues = allowMultiple\n ? formErrors[formatFieldName('fileid')]\n : formErrors['fileid'];\n\n setFileErrors(fileErrorValues);\n }, [formErrors]);\n\n const [attachmentType, setAttachmentType] =\n useFormStateValue(\n formatFieldName(attachmentTypeFieldName)\n );\n useEffect(() => {\n if (filePondRef && !hasFiles) {\n filePondRef.current?.removeFiles();\n }\n\n if (defaultAttachmentType !== undefined && hasFiles) {\n setAttachmentType(defaultAttachmentType);\n }\n }, [hasFiles]);\n\n const formatFile = ({ filename, fileSize, serverId }: FilePondFile) => {\n return {\n fileId: serverId,\n fileName: filename,\n size: fileSize,\n };\n };\n\n const getEmptyFileFields = () => {\n return {\n ...formValues,\n fileId: undefined,\n fileName: undefined,\n size: undefined,\n description: undefined,\n attachmentType: undefined,\n };\n };\n\n const clearFileFields = () => {\n var clearedValues = getEmptyFileFields();\n\n sendUpdate(FormActionTypes.SetValues, {\n field: name,\n value: clearedValues,\n });\n };\n\n /* Handles chunking + posting temp file in chunks */\n const handleProcess: ProcessServerConfigFunction = async (\n fieldName,\n file,\n metadata,\n load,\n error,\n progress,\n abort\n ) => {\n var aborted = false;\n const handleAbort = () => {\n aborted = true;\n abort();\n };\n\n const CHUNK_SIZE =\n 1024 *\n 1024 *\n (parseInt(\n process.env.NODE_ENV === 'development'\n ? `${process.env.REACT_APP_FILE_UPLOAD_CHUNK_SIZE}`\n : `${window.FILE_UPLOAD_CHUNK_SIZE}`\n ) ?? 1);\n var chunk = 0;\n const fileId = uuidv4();\n var numChunks = Math.ceil(file.size / CHUNK_SIZE);\n\n while (chunk * CHUNK_SIZE < file.size) {\n var blob = file.slice(CHUNK_SIZE * chunk, CHUNK_SIZE * (chunk + 1));\n const formData = new FormData();\n formData.append('contentType', file.type);\n formData.append('fileName', file.name);\n formData.append('chunk', `${chunk}`);\n formData.append('chunks', `${numChunks}`);\n formData.append('id', fileId);\n formData.append('file', blob);\n const response = await API.post(uploadUrl, formData);\n chunk++;\n progress(true, chunk, numChunks);\n }\n\n load(fileId);\n return {\n abort: handleAbort,\n };\n };\n\n /* Handles deleting temp file */\n const handleRevert: RevertServerConfigFunction = async (\n uniqueFileId,\n load,\n error\n ) => {\n try {\n await API.post(deleteUrlWithId(uniqueFileId));\n } catch (err: any) {\n error(err);\n }\n\n if (allowMultiple) {\n const filteredFiles = (getFieldValue(formValues, name) || []).filter(\n (file: any) => file.fileId !== uniqueFileId\n );\n\n sendUpdate(FormActionTypes.UpdateValue, {\n field: name,\n value: filteredFiles,\n });\n } else {\n clearFileFields();\n }\n\n load();\n };\n\n const handleProcessedFiles = () => {\n const files = filePondRef.current?.getFiles();\n\n if (allowMultiple) {\n sendUpdate(FormActionTypes.UpdateValue, {\n field: name,\n value: files?.map((file) => formatFile(file)),\n });\n } else {\n var fileValue = files ? formatFile(files[0]) : getEmptyFileFields();\n sendUpdate(FormActionTypes.SetValues, {\n ...formValues,\n ...fileValue,\n });\n }\n };\n\n const handleFileFieldChange = (\n e: any,\n type: InputType,\n fieldName: string\n ) => {\n const value = getValueFromChangeEvent(e, type);\n const fileList = getFieldValue(formValues, name);\n const newFileList = [\n ...(fileList || []).map((file: any) => {\n return { ...file, [fieldName]: value };\n }),\n ];\n\n sendUpdate(FormActionTypes.UpdateValue, {\n field: name,\n value: newFileList,\n });\n };\n\n const updateCanAddSingle = () => {\n setCanAddSingle(!filePondRef.current?.getFiles().length);\n };\n\n const handleScannedDocumentUploaded = async (\n fileName: string,\n fileBlob: Blob\n ) => {\n try {\n const name = fileName.toLowerCase().endsWith('.pdf')\n ? fileName\n : fileName + '.pdf';\n\n if (!allowMultiple) {\n filePondRef.current?.removeFiles();\n }\n await filePondRef.current?.addFile(new File([fileBlob], name));\n toggleScanModal();\n } catch (e) {\n toast.error('An error occurred uploading the scanned document.');\n }\n };\n\n const uploadScannedDocument = (\n fileName: string,\n pages: number,\n dwObject: WebTwain\n ) => {\n dwObject.ConvertToBlob(\n Array.from(Array(pages).keys()),\n Dynamsoft.DWT.EnumDWT_ImageType.IT_PDF,\n (blob) => handleScannedDocumentUploaded(fileName, blob),\n () => toast.error('An error occurred uploading the scanned document.')\n );\n };\n\n const server = {\n process: handleProcess,\n revert: handleRevert,\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n 0)}\n >\n (filePondRef.current = ref)}\n allowMultiple={allowMultiple}\n acceptedFileTypes={acceptedFileTypes}\n {...filePondProps}\n />\n
\n \n \n \n\n \n \n \n Scan document instead\n \n \n \n \n \n \n \n \n handleFileFieldChange(\n e,\n InputType.DropDown,\n attachmentTypeFieldName\n )\n : undefined\n }\n label=\"Attachment Type\"\n type={InputType.DropDown}\n readEndpoint={\n userDefinedOnly\n ? AgendaEndpoints.attachmenttypes.dropdownItems\n : buildEndpoint(\n AgendaEndpoints.attachmenttypes.base,\n 'AllDropdownItems'\n )\n }\n required\n noSidePadding\n useDiv\n value={defaultAttachmentType}\n width=\"100%\"\n />\n \n \n \n handleFileFieldChange(\n e,\n InputType.TextArea,\n commentsFieldname\n )\n : undefined\n }\n label=\"Description\"\n placeholder=\"Enter description here...\"\n type={InputType.TextArea}\n colProps={ColumnLayout.Full}\n noSidePadding\n />\n \n \n {renderAdditionalFormComponents &&\n renderAdditionalFormComponents(\n handleFileFieldChange,\n formatFieldName\n )}\n \n \n \n );\n};\n\nexport interface ScannerModalContentProps {\n uploadFile: (fileName: string, pages: number, dwObject: WebTwain) => void;\n}\n\nconst ScannerModalContent: React.FC = ({\n uploadFile,\n}) => {\n const toast = useToasts();\n const { setFormErrors, clearFormErrors } = useFormHelpers();\n const { fileName, pageCount, dwObject } = useDwtScannerState();\n\n const submitAction = () => {\n clearFormErrors();\n\n if (!fileName.trim().length) {\n toast.error('Please set a file name.');\n setFormErrors({ filename: [\"'File Name' must not be empty.\"] });\n return;\n }\n\n if (!pageCount) {\n toast.error('No scanned document found.');\n return;\n }\n\n if (dwObject.current === null) {\n toast.error('An error occurred uploading the scanned document.');\n return;\n }\n\n uploadFile(fileName, pageCount, dwObject.current);\n };\n\n return (\n \n \n \n
\n \n Upload\n
\n
\n
\n );\n};\n","import create, { StoreApi } from 'zustand';\nimport createContext from 'zustand/context';\n\nexport interface GroupedCheckboxObject {\n listIndex: number;\n [x: string]: any;\n}\n\nexport interface GroupedCheckboxData {\n [groupId: string]: GroupedCheckboxObject[];\n}\nexport interface GroupExpandedMap {\n [groupId: string]: boolean;\n}\n\nexport interface SmartCheckboxListState {\n groupedData: GroupedCheckboxData;\n groupExpandedMap: GroupExpandedMap;\n collapseOthersOnExpand: boolean;\n setCollapseOthersOnExpand: (collapseOnExpand: boolean) => void;\n expandAllGroups: () => void;\n collapseAllGroups: () => void;\n setGroupExpanded: (groupId: string, expanded: boolean) => void;\n setGroupedData: (\n list: any[],\n groupIdField: string,\n defaultExpanded: boolean\n ) => void;\n getGroupCheckedValue: (\n groupId: string,\n list: GroupedCheckboxObject[],\n checkedField: string\n ) => boolean | null;\n}\n\nfunction createGroupedData(list: any[], groupIdField: string) {\n if (!list.length) return {};\n\n return list.reduce((groupedData, currentValue, listIndex) => {\n const groupId = currentValue[groupIdField];\n const groupedObject = { ...currentValue, listIndex };\n if (groupId in groupedData) {\n groupedData[groupId].push(groupedObject);\n } else {\n groupedData[groupId] = [groupedObject];\n }\n\n return groupedData;\n }, {});\n}\n\nfunction createGroupExpandedMap(\n list: any[],\n groupIdField: string,\n defaultExpanded = false\n) {\n const uniqueGroupIds = new Set(\n list.map((groupValue) => groupValue[groupIdField])\n );\n return Array.from(uniqueGroupIds).reduce((map, currId) => {\n return { ...map, [currId]: defaultExpanded };\n }, {});\n}\n\nfunction setAllExpandValues(\n groupExpandedMap: GroupExpandedMap,\n expanded = false\n) {\n return Object.keys(groupExpandedMap).reduce((map, key) => {\n return { ...map, [key]: expanded };\n }, {});\n}\n\nfunction setGroupExpanded(\n groupExpandedMap: GroupExpandedMap,\n groupId: string,\n expanded = false\n) {\n return { ...groupExpandedMap, [groupId]: expanded };\n}\n\nfunction getGroupCheckboxValue(\n groupedList: GroupedCheckboxObject[],\n list: any[],\n checkedField: string\n) {\n if (!groupedList.length) return false;\n\n return groupedList.every(({ listIndex }) => list[listIndex]?.[checkedField])\n ? true\n : groupedList.some(({ listIndex }) => list[listIndex]?.[checkedField])\n ? null\n : false;\n}\n\nexport const createSmartCheckboxListStore = () =>\n create((set, get) => ({\n groupedData: {},\n groupExpandedMap: {},\n collapseOthersOnExpand: false,\n setCollapseOthersOnExpand: (collapseOnExpand: boolean) =>\n set({ collapseOthersOnExpand: collapseOnExpand }),\n expandAllGroups: () =>\n set({\n groupExpandedMap: setAllExpandValues(get().groupExpandedMap, true),\n }),\n collapseAllGroups: () =>\n set({\n groupExpandedMap: setAllExpandValues(get().groupExpandedMap, false),\n }),\n setGroupExpanded: (groupId: string, expanded: boolean) =>\n set((state: SmartCheckboxListState) => ({\n groupExpandedMap: setGroupExpanded(\n state.groupExpandedMap,\n groupId,\n expanded\n ),\n })),\n setGroupedData: (\n list: any[],\n groupIdField: string,\n defaultExpanded = false\n ) =>\n set({\n groupedData: createGroupedData(list, groupIdField),\n groupExpandedMap: createGroupExpandedMap(\n list,\n groupIdField,\n defaultExpanded\n ),\n }),\n getGroupCheckedValue: (groupId, list, checkedField) => {\n return getGroupCheckboxValue(\n get().groupedData[groupId],\n list,\n checkedField\n );\n },\n }));\n\nconst { Provider, useStore } =\n createContext>();\n\nexport const SmartCheckboxListStoreProvider = Provider;\nexport const useSmartCheckboxListStore = useStore;\n","import './SmartCheckboxList.scss';\nimport React, { Fragment, useMemo } from 'react';\nimport { Label } from 'reactstrap';\nimport { Collapse } from 'react-collapse';\nimport { Checkbox, CheckboxChangeEvent } from '@progress/kendo-react-inputs';\nimport ExpandMoreIcon from '@mui/icons-material/ExpandMore';\nimport {\n GroupedCheckboxObject,\n SmartCheckboxListState,\n createSmartCheckboxListStore,\n SmartCheckboxListStoreProvider,\n useSmartCheckboxListStore,\n GroupedCheckboxData,\n} from './SmartCheckboxListStore';\nimport {\n DEFAULT_CHECKED_FIELD,\n useCheckboxList,\n useSmartCheckBoxList,\n} from 'Components/Form';\nimport {\n Render,\n SecondaryButton,\n ButtonSize,\n FlexWrapper,\n fullClassName,\n toggledClass,\n useFormStateValue,\n} from '@techsharegov/react-ui';\n\nexport type SmartCheckboxListProps = {\n name: string;\n labelField: string;\n checkedField: string;\n groupField: string;\n groupFields?: string[];\n tooltipField?: string;\n hideCheckAll?: boolean;\n defaultClosed?: boolean;\n useExpandAll?: boolean;\n collapseOthersOnExpand?: boolean;\n};\n\nexport const SmartCheckboxList: React.FC = (props) => {\n return (\n \n \n \n );\n};\n\nexport const SmartCheckboxListContent: React.FC = ({\n name,\n checkedField = DEFAULT_CHECKED_FIELD,\n hideCheckAll,\n groupField,\n useExpandAll,\n defaultClosed,\n collapseOthersOnExpand,\n ...otherProps\n}) => {\n const { allCheckedValue, handleCheckAll } = useSmartCheckBoxList(\n name,\n checkedField,\n groupField,\n defaultClosed,\n collapseOthersOnExpand\n );\n\n return (\n \n \n \n \n \n \n );\n};\n\ntype SelectAllCheckboxProps = {\n handleChange: (e: any) => void;\n value: boolean | null;\n useExpandAll?: boolean;\n name?: string;\n};\n\nconst SelectAllCheckbox: React.FC = ({\n handleChange,\n value,\n useExpandAll = false,\n name\n}) => {\n const groupExpandedMap = useSmartCheckboxListStore(\n (state) => state.groupExpandedMap\n );\n const expandAllGroups = useSmartCheckboxListStore(\n (state) => state.expandAllGroups\n );\n const collapseAllGroups = useSmartCheckboxListStore(\n (state) => state.collapseAllGroups\n );\n\n const areAllExpanded = useMemo(() => {\n return Object.values(groupExpandedMap).every((expanded) => expanded);\n }, [groupExpandedMap]);\n const areAllCollapsed = useMemo(() => {\n return Object.values(groupExpandedMap).every((expanded) => !expanded);\n }, [groupExpandedMap]);\n\n return (\n \n
\n \n \n\n \n \n Expand\n \n \n Collapse\n \n \n
\n
\n );\n};\n\nconst GroupedCheckBoxes: React.FC = (props) => {\n const groupedData = useSmartCheckboxListStore(\n (state: SmartCheckboxListState) => state.groupedData\n );\n\n return (\n
\n \n
\n );\n};\n\nconst GroupedCheckboxesContent: React.FC<\n SmartCheckboxListProps & { groupedData: GroupedCheckboxData }\n> = React.memo(\n ({\n groupedData,\n groupField,\n checkedField,\n labelField,\n tooltipField,\n name,\n }) => {\n return (\n <>\n {Object.entries(groupedData).map(([groupId, groupedCheckboxList]) => (\n \n ))}\n \n );\n }\n);\n\nexport type CheckboxListProps = {\n labelField: string;\n tooltipField?: string;\n groupId: string;\n checkboxList: GroupedCheckboxObject[];\n mainListName: string;\n checkedField: string;\n groupField: string;\n};\n\nexport const CheckboxList: React.FC = ({\n labelField,\n tooltipField = '',\n groupId,\n checkboxList = [],\n mainListName,\n checkedField,\n groupField,\n}) => {\n const groupExpandedMap = useSmartCheckboxListStore(\n (state) => state.groupExpandedMap\n );\n const setGroupExpanded = useSmartCheckboxListStore(\n (state) => state.setGroupExpanded\n );\n const collapseAllGroups = useSmartCheckboxListStore(\n (state) => state.collapseAllGroups\n );\n const collapseOthersOnExpand = useSmartCheckboxListStore(\n (state) => state.collapseOthersOnExpand\n );\n\n const isOpen = useMemo(\n () => groupExpandedMap[groupId],\n [groupExpandedMap, groupId]\n );\n const { groupCheckedValue, handleHeaderCheckboxChange } = useCheckboxList(\n groupId,\n mainListName,\n checkedField,\n groupField\n );\n\n const handleClickExpand = () => {\n if (!isOpen && collapseOthersOnExpand) {\n collapseAllGroups();\n }\n\n setGroupExpanded(groupId, !isOpen);\n };\n\n return (\n \n );\n};\n\nconst checkboxListPropsCompare = (\n prevProps: Readonly>,\n nextProps: Readonly>\n) => {\n return (\n prevProps.mainListName === nextProps.mainListName &&\n prevProps.checkboxList?.length === nextProps.checkboxList?.length &&\n prevProps.checkedField === nextProps.checkedField &&\n prevProps.labelField === nextProps.labelField &&\n prevProps.tooltipField === nextProps.tooltipField\n );\n};\n\ntype CheckboxListContentProps = Partial & {\n isOpen: boolean;\n groupCheckedValue: boolean;\n groupId: string;\n handleClickExpand: () => void;\n handleHeaderCheckboxChange: (e: CheckboxChangeEvent) => void;\n};\n\nconst CheckboxListContent: React.FC = React.memo(\n ({\n isOpen,\n groupCheckedValue,\n groupId,\n handleClickExpand,\n handleHeaderCheckboxChange,\n ...checkboxProps\n }) => {\n return (\n \n \n e.stopPropagation()}\n className=\"mr-2 flex-vertical-center\"\n />\n e.stopPropagation()}\n >\n \n {groupId}\n \n \n \n \n \n \n \n \n \n
\n );\n },\n (prevProps, nextProps) =>\n prevProps.isOpen === nextProps.isOpen &&\n prevProps.groupCheckedValue === nextProps.groupCheckedValue &&\n prevProps.groupId === nextProps.groupId &&\n checkboxListPropsCompare(prevProps, nextProps)\n);\n\nconst CheckboxListCheckboxes: React.FC> = React.memo(\n ({\n mainListName,\n checkboxList = [],\n checkedField = '',\n labelField = '',\n tooltipField = '',\n }) => {\n return (\n \n {checkboxList.map((checkBoxObject: GroupedCheckboxObject, subIndex) => (\n \n ))}\n \n );\n },\n (prevProps, nextProps) => checkboxListPropsCompare(prevProps, nextProps)\n);\n\ntype CollapseArrowProps = {\n isOpen?: boolean;\n};\n\nconst CollapseArrow: React.FC = React.memo(({ isOpen }) => {\n return (\n \n \n \n );\n});\n\ntype BasicSmartCheckboxProps = {\n name: string;\n label: string;\n title?: string;\n};\n\nconst BasicSmartCheckbox: React.FC = ({\n name,\n label,\n title,\n}) => {\n const [checked, setChecked] = useFormStateValue(name);\n\n return (\n
\n \n
\n );\n};\n\ntype BasicSmartCheckboxContentProps = {\n label: string;\n checked: boolean;\n setChecked: (value: boolean) => void;\n};\n\nconst BasicSmartCheckboxContent: React.FC =\n React.memo(\n ({ label, checked, setChecked }) => {\n return (\n setChecked(e.value)}\n label={label}\n />\n );\n },\n (prevProps, nextProps) =>\n prevProps.label === nextProps.label &&\n prevProps.checked === nextProps.checked\n );\n","import { CheckboxChangeEvent } from '@progress/kendo-react-inputs';\nimport { useRef, useMemo, useEffect } from 'react';\nimport {\n SmartCheckboxListState,\n useSmartCheckboxListStore,\n} from './SmartCheckboxListStore';\nimport { useFormStateValue } from '@techsharegov/react-ui';\n\nexport const DEFAULT_CHECKED_FIELD = 'isSelected';\n\nexport const useSmartCheckBoxList = (\n name: string,\n checkedField: string,\n groupField: string,\n defaultClosed?: boolean,\n collapseOthersOnExpand = false\n) => {\n const isInitialLoad = useRef(true);\n const [checkboxList, setCheckboxList] = useFormStateValue(name, []);\n const allChecked = checkboxList.reduce(\n (allChecked, curr) => allChecked && curr[checkedField],\n true\n );\n const setCollapseOthersOnExpand = useSmartCheckboxListStore(\n (state: SmartCheckboxListState) => state.setCollapseOthersOnExpand\n );\n const setGroupedData = useSmartCheckboxListStore(\n (state: SmartCheckboxListState) => state.setGroupedData\n );\n const allCheckedValue = useMemo(\n () => getBulkCheckVal(checkboxList, checkedField),\n [allChecked, checkedField]\n );\n\n const handleCheckAll = (e: any) => {\n const checked = e.target?.value;\n\n const newList = checkboxList.map((x: any) => {\n return { ...x, [checkedField]: checked };\n });\n setCheckboxList(newList);\n };\n\n useEffect(() => {\n if (checkboxList.length && isInitialLoad.current) {\n setGroupedData(checkboxList, groupField, !defaultClosed);\n isInitialLoad.current = false;\n }\n }, [checkboxList]);\n\n useEffect(() => {\n setCollapseOthersOnExpand(collapseOthersOnExpand);\n }, [collapseOthersOnExpand]);\n\n return { allCheckedValue, handleCheckAll };\n};\n\nexport const useCheckboxList = (\n groupId: string,\n mainListName: string,\n checkedField: string,\n groupField: string\n) => {\n const [mainList, setMainList] = useFormStateValue(mainListName);\n const groupedData = useSmartCheckboxListStore(\n (state: SmartCheckboxListState) => state.groupedData\n );\n const getGroupCheckedValue = useSmartCheckboxListStore(\n (state: SmartCheckboxListState) => state.getGroupCheckedValue\n );\n const allGroupChecked = groupedData[groupId].every(\n ({ listIndex }) => mainList[listIndex]?.[checkedField]\n )\n ? true\n : groupedData[groupId].some(\n ({ listIndex }) => mainList[listIndex]?.[checkedField]\n )\n ? null\n : false;\n\n const groupCheckedValue = useMemo(\n () => getGroupCheckedValue(groupId, mainList, checkedField),\n [groupId, mainList, checkedField, allGroupChecked]\n );\n\n const handleHeaderCheckboxChangeCaptures = useRef();\n handleHeaderCheckboxChangeCaptures.current = {mainList, setMainList};\n const handleHeaderCheckboxChange = (e: CheckboxChangeEvent) => {\n e.syntheticEvent.stopPropagation();\n\n const checked = e.target?.element?.checked;\n const newList = handleHeaderCheckboxChangeCaptures.current.mainList.map((x: any) => {\n if (x[groupField] !== groupId) return x;\n return { ...x, [checkedField]: checked };\n });\n \n setMainList(newList);\n };\n\n return { groupCheckedValue, handleHeaderCheckboxChange };\n};\n\nexport const getBulkCheckVal = (\n list?: any[],\n checkedField = DEFAULT_CHECKED_FIELD\n) => {\n var checked = list?.every((x) => x[checkedField])\n ? true\n : list?.some((x) => x[checkedField])\n ? null\n : false;\n return checked;\n};\n","import './SmartFileUploadDrawerInput.scss';\nimport { Grid, GridColumn } from '@progress/kendo-react-grid';\nimport { EditDeleteCell } from 'Components/Grid';\nimport { CONTROLLERS, AgendaEndpoints } from 'Models/Templates/Routes/Routes';\nimport React, { useState } from 'react';\nimport { SmartFileUploader, SmartFileUploaderProps } from './SmartFileUploader';\nimport { plural } from 'pluralize';\nimport { Col } from 'reactstrap';\nimport { ButtonSize, ControlledModalFormDrawer, DefaultInputLabel, DownloadFileText, DropdownItemModel, FileDownloadCell, FormActionTypes, FormErrorDisplay, GridColumnWidth, ModalDrawerButtonRow, PrimaryButton, Render, RowCol, SecondaryButton, ToggleProvider, buildEndpoint, buildQueryUrl, isNullEmptyOrUndefined, isNullOrUndefined, useApiWorker, useFormState, useFormStateValue, useFormUpdater, useToasts, useToggleState } from '@techsharegov/react-ui';\n\nconst defaultEntityName = 'File';\nconst defaultFileListName = 'files';\nconst tempFileEndpoint = AgendaEndpoints.temporaryattachments.base;\n\nexport type SmartFileUploadDrawerInputProps =\n Partial & {\n entityName?: string;\n fileListName?: string;\n label?: string;\n required?: boolean;\n isSingleUpload?: boolean;\n useDiv?: boolean;\n isEdit?: boolean;\n mainFileController: CONTROLLERS | string;\n requireAttachmentType?: boolean;\n defaultAttachmentType?: DropdownItemModel;\n };\n\nexport const SmartFileUploadDrawerInput: React.FC<\n SmartFileUploadDrawerInputProps\n> = ({ label, required, useDiv = label === undefined, ...props }) => {\n const Wrapper = useDiv ? 'div' : Col;\n\n return (\n \n \n \n \n \n \n \n \n );\n};\n\nconst DrawerToggler: React.FC> = ({\n entityName = defaultEntityName,\n isSingleUpload,\n fileListName = defaultFileListName,\n requireAttachmentType,\n}) => {\n const [, toggle] = useToggleState();\n const pluralEntityName = plural(entityName);\n const isFileUploaded = useIsFileUploaded(\n isSingleUpload,\n fileListName,\n requireAttachmentType\n );\n\n return (\n \n \n \n Upload {isSingleUpload ? entityName : pluralEntityName}\n \n \n \n \n );\n};\n\nconst FileDisplay: React.FC = ({\n fileListName = defaultFileListName,\n isSingleUpload,\n entityName = defaultEntityName,\n isEdit = false,\n mainFileController,\n}) => {\n const { formValues } = useFormState();\n const [files, setFiles] = useFormStateValue(fileListName, []);\n const [, toggle] = useToggleState();\n const { clearFileFields, isFileUploaded, deleteTempFiles } =\n useFileUploadHelpers(isSingleUpload, fileListName);\n const [isOldFile, setIsOldFile] = useState(\n isEdit && !isNullOrUndefined(formValues?.fileId)\n );\n\n const fileControllerName = isOldFile ? mainFileController : tempFileEndpoint;\n const downloadActionName = isOldFile ? 'download' : 'downloadTemp';\n\n const onClickReplace = async () => {\n if (!isOldFile) {\n await deleteTempFiles();\n }\n setIsOldFile(false);\n clearFileFields();\n toggle();\n };\n\n return isSingleUpload ? (\n \n
\n \n \n Replace {entityName}\n \n
\n
\n ) : (\n \n \n (\n \n )}\n />\n (\n \n setFiles([...files].filter((f) => f !== dataItem))\n }\n usePostForDelete\n useDeleteQueryParam\n {...props}\n />\n )}\n />\n \n \n );\n};\n\nconst FileUploadDrawer: React.FC = ({\n entityName = defaultEntityName,\n isSingleUpload,\n fileListName = defaultFileListName,\n isEdit,\n requireAttachmentType,\n defaultAttachmentType,\n ...filePondProps\n}) => {\n const { clearFileFields, deleteTempFiles } = useFileUploadHelpers(\n isSingleUpload,\n fileListName\n );\n const [isOpen, toggle] = useToggleState();\n const { formValues } = useFormState();\n const toastr = useToasts();\n\n const handleButtonClick = async (isSave: boolean = false) => {\n if (isSingleUpload) {\n if (\n !isNullEmptyOrUndefined(formValues.fileId) &&\n (isNullEmptyOrUndefined(\n formValues.attachmentType?.id || !requireAttachmentType\n ) ||\n !isSave)\n ) {\n await deleteTempFiles();\n }\n } else {\n if (!isSave) {\n await deleteTempFiles();\n }\n }\n\n if (!isSave) {\n clearFileFields();\n }\n\n if (\n isSave &&\n requireAttachmentType &&\n ((isSingleUpload &&\n isNullEmptyOrUndefined(formValues.attachmentType?.id)) ||\n (!isSingleUpload &&\n formValues[fileListName] != null &&\n isNullEmptyOrUndefined(\n formValues[fileListName][0]?.attachmentType?.id\n )))\n ) {\n toastr.error('Attachment Type is missing.');\n } else {\n toggle();\n }\n };\n\n return (\n \n \n \n await handleButtonClick()}\n className=\"mr-regular\"\n >\n Cancel\n \n await handleButtonClick(true)}>\n Save\n \n \n \n );\n};\n\nexport const useClearFileFields = (\n isSingleUpload = false,\n fileListName = defaultFileListName\n) => {\n const sendUpdate = useFormUpdater();\n const { formValues } = useFormState();\n const [, setFileList] = useFormStateValue(fileListName, []);\n\n const clearFileFields = () => {\n if (isSingleUpload) {\n sendUpdate(FormActionTypes.SetValues, {\n ...formValues,\n fileId: undefined,\n fileName: undefined,\n size: undefined,\n comments: undefined,\n attachmentType: undefined,\n });\n } else {\n setFileList([]);\n }\n };\n\n return clearFileFields;\n};\n\nexport const useIsFileUploaded = (\n isSingleUpload = false,\n fileListName = defaultFileListName,\n requireAttachmentType = false\n) => {\n const { formValues } = useFormState();\n const [files] = useFormStateValue(fileListName, []);\n\n return isSingleUpload\n ? !isNullEmptyOrUndefined(formValues?.fileId) &&\n ((requireAttachmentType &&\n !isNullEmptyOrUndefined(formValues?.attachmentType?.id)) ||\n !requireAttachmentType)\n : !isNullEmptyOrUndefined(files) &&\n files.every(\n (f) =>\n !isNullEmptyOrUndefined(f?.attachmentType?.id) ||\n !requireAttachmentType\n );\n};\n\nexport const useDeleteTempFiles = (\n isSingleUpload = false,\n fileListName = defaultFileListName\n) => {\n const { formValues } = useFormState();\n const [fileList] = useFormStateValue(fileListName, []);\n const API = useApiWorker();\n const deleteUrl = buildEndpoint(tempFileEndpoint, 'DeleteTempBlob');\n const deleteUrlWithId = (id: string) => {\n return buildQueryUrl(deleteUrl, { id });\n };\n\n const deleteTempFiles = async () => {\n if (isSingleUpload) {\n await API.post(deleteUrlWithId(formValues.fileId));\n } else {\n fileList.map(async (f) => {\n await API.post(deleteUrlWithId(f?.fileId));\n });\n }\n };\n\n return deleteTempFiles;\n};\n\nexport const useFileUploadHelpers = (\n isSingleUpload = false,\n fileListName = defaultFileListName,\n requireAttachmentType = false\n) => {\n const clearFileFields = useClearFileFields(isSingleUpload, fileListName);\n const isFileUploaded = useIsFileUploaded(\n isSingleUpload,\n fileListName,\n requireAttachmentType\n );\n const deleteTempFiles = useDeleteTempFiles(isSingleUpload, fileListName);\n\n return { clearFileFields, isFileUploaded, deleteTempFiles };\n};\n","import {\n useToasts,\n useFormStateValue,\n FlexWrapper,\n PrimaryButton,\n SecondaryButton,\n} from '@techsharegov/react-ui';\nimport React, { Fragment, useEffect, useRef, useState } from 'react';\nimport ReactSignatureCanvas from 'react-signature-canvas';\n\nexport type SzimekSignatureProps = {\n signatureImage: React.MutableRefObject;\n setDisableDeleteButton: React.Dispatch>;\n setDisableSaveButton: React.Dispatch>;\n allowSave?: boolean;\n};\n\nexport const SzimekSignature: React.FC = ({\n signatureImage = null,\n setDisableDeleteButton = undefined,\n setDisableSaveButton = undefined,\n allowSave = true,\n}) => {\n const sigCanvas = useRef(null);\n const toast = useToasts();\n const [isSigning, setIsSigning] = useState(false);\n const [, setSignature] = useFormStateValue('signature');\n\n const showCanvas = () => {\n if (!sigCanvas.current) return;\n\n sigCanvas.current.getCanvas().hidden = false;\n };\n\n const hideCanvas = () => {\n if (!sigCanvas.current) return;\n\n sigCanvas.current.getCanvas().hidden = true;\n };\n\n const clearSignature = () => {\n if (!sigCanvas.current) return;\n sigCanvas.current.clear();\n };\n\n const cancelSignature = () => {\n clearSignature();\n setIsSigning(false);\n if (signatureImage != null) {\n signatureImage.current.hidden = false;\n }\n };\n\n const confirmSignature = () => {\n setIsSigning(false);\n setDisableSaveButton && setDisableSaveButton(false);\n\n if (sigCanvas.current) {\n setSignature(sigCanvas.current.toDataURL());\n }\n\n hideCanvas();\n if (signatureImage != null) {\n signatureImage.current.hidden = false;\n }\n if (allowSave)\n toast.info(\n \"Press 'Save Signature' to save this signature to the profile.\"\n );\n };\n\n const startSignature = () => {\n clearSignature();\n setIsSigning(true);\n\n setDisableDeleteButton && setDisableDeleteButton(true);\n setDisableSaveButton && setDisableSaveButton(true);\n\n if (signatureImage != null) {\n signatureImage.current.hidden = true;\n }\n showCanvas();\n };\n\n useEffect(() => {\n if (!sigCanvas.current) return;\n\n isSigning ? showCanvas() : hideCanvas();\n }, [isSigning]);\n\n return (\n \n \n {\n sigCanvas.current = ref;\n }}\n />\n \n \n {!isSigning && (\n \n Sign\n \n )}\n {isSigning && (\n <>\n \n Cancel\n \n \n Clear\n \n \n Confirm\n \n \n )}\n \n \n );\n};\n","import React, { Fragment, useState } from 'react';\nimport {\n cancelSignature,\n clearSignature,\n confirmSignature,\n setupSigPad,\n} from 'LibraryUtilities';\nimport { Row } from 'reactstrap';\nimport {\n PrimaryButton,\n SecondaryButton,\n useFormStateValue,\n useToasts,\n} from '@techsharegov/react-ui';\n\nexport type TopazSignatureProps = {\n // setSignature: (value: any) => void;\n signatureImage: React.MutableRefObject;\n setDisableDeleteButton: React.Dispatch>;\n setDisableSaveButton: React.Dispatch>;\n allowSave?: boolean;\n};\n\nexport const TopazSignature: React.FC = ({\n // setSignature,\n signatureImage,\n setDisableDeleteButton = undefined,\n setDisableSaveButton = undefined,\n allowSave = true,\n}) => {\n const toast = useToasts();\n\n const [isSigning, setIsSigning] = useState(false);\n const [showCanvas, setShowCanvas] = useState(false);\n const [, setSignature] = useFormStateValue('signature');\n\n const confirmSig = () => {\n setIsSigning(false);\n\n if (setDisableSaveButton) {\n setDisableSaveButton(false);\n }\n\n confirmSignature(confirmSignatureCallback);\n if (signatureImage != null) {\n signatureImage.current.hidden = false;\n }\n\n setShowCanvas(false);\n if (allowSave)\n toast.info(\n \"Press 'Save Signature' to save this signature to the profile.\"\n );\n };\n\n const confirmSignatureCallback = (signature: string) => {\n setSignature('data:image/png;base64,' + signature);\n };\n\n const clearSig = () => {\n clearSignature();\n };\n\n const cancelSig = () => {\n cancelSignature();\n setIsSigning(false);\n setShowCanvas(false);\n if (signatureImage != null) {\n signatureImage.current.hidden = false;\n }\n };\n\n const clickSign = () => {\n clearSignature();\n setIsSigning(true);\n\n if (setDisableDeleteButton) {\n setDisableDeleteButton(true);\n }\n if (setDisableSaveButton) {\n setDisableSaveButton(true);\n }\n\n if (signatureImage != null) {\n signatureImage.current.hidden = true;\n }\n\n setupSigPad();\n setShowCanvas(true);\n };\n\n return (\n <>\n \n \n \n {!isSigning ? (\n \n Sign\n \n ) : (\n <>\n \n Cancel\n \n \n Clear\n \n \n Confirm\n \n \n )}\n \n \n );\n};\n","import React, { useCallback, useEffect, useRef, useState } from 'react';\nimport { Row } from 'reactstrap';\nimport { SzimekSignature } from './SzimekSignature';\nimport { TopazSignature } from './TopazSignature';\nimport { getTopazTabletState, setTopazTabletState } from 'LibraryUtilities';\nimport {\n useFormStateValue,\n useToasts,\n AlertIcon,\n AlertType,\n FlexWrapper,\n Render,\n SecondaryButton,\n PrimaryButton,\n useApiWorker,\n useSafeStateUpdate,\n} from '@techsharegov/react-ui';\n\nexport class SignatureModel {\n signature?: string;\n userId?: string;\n defendantId?: string;\n}\n\nexport type SignatureCaptureProps = {\n signatureEndpoint?: string;\n signatureModel: SignatureModel;\n deleteEndpoint?: string;\n};\n\nexport const SignatureCapture: React.FC = ({\n signatureEndpoint,\n deleteEndpoint,\n signatureModel,\n}) => {\n let topazDetected = useRef(false);\n const isInitialLoad = useRef(true);\n\n if (isInitialLoad.current) {\n try {\n //Only sets 1 if device is plugged in\n setTopazTabletState(1);\n topazDetected.current = getTopazTabletState() === '1';\n } catch (ex) {\n console.log(ex);\n }\n }\n\n const sigImageRef = useRef(null);\n const [signature] = useFormStateValue('signature');\n const API = useApiWorker();\n const safeStateUpdate = useSafeStateUpdate();\n const [isSaving, setIsSaving] = useState(false);\n const [isDeleting, setIsDeleting] = useState(false);\n const blankImage =\n 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';\n const [disableDeleteButton, setDisableDeleteButton] = useState(true);\n const [disableSaveButton, setDisableSaveButton] = useState(true);\n const [isInitialized, setIsInitialized] = useState(false);\n const toast = useToasts();\n const signatureEndpointExists = signatureEndpoint !== undefined;\n const deleteEndpointExists = deleteEndpoint !== undefined;\n\n const initializeSignature = () => {\n if (isInitialized) return;\n if (signature != null) {\n sigImageRef.current.src = 'data:image/png;base64,' + signature;\n } else if (sigImageRef != null && sigImageRef.current != null) {\n sigImageRef.current.src = blankImage;\n }\n if (disableDeleteButton === true) {\n setDisableDeleteButton(false);\n }\n setIsInitialized(true);\n isInitialLoad.current = false;\n };\n\n const putResponse = useCallback(async () => {\n if (signatureEndpointExists) {\n safeStateUpdate(() => setIsSaving(true));\n signatureModel.signature = sigImageRef.current.src.replace(\n 'data:image/png;base64,',\n ''\n );\n const response = await API.put(signatureEndpoint, signatureModel);\n\n if (response.status === 200) {\n toast.success('Signature successfully saved!');\n setDisableDeleteButton(false);\n }\n\n safeStateUpdate(() => setIsSaving(false));\n }\n }, [signatureEndpoint]);\n\n const deleteResponse = useCallback(async () => {\n if (deleteEndpointExists) {\n safeStateUpdate(() => setIsDeleting(true));\n var response = await API.delete(deleteEndpoint);\n\n if (response.status === 200) {\n toast.success('Signature successfully deleted!');\n setDisableDeleteButton(true);\n sigImageRef.current.src = blankImage;\n }\n\n safeStateUpdate(() => setIsDeleting(false));\n }\n }, [signatureEndpoint]);\n\n const deleteSignature = () => {\n deleteResponse();\n };\n\n const saveSignature = () => {\n setDisableSaveButton(true);\n putResponse();\n };\n\n useEffect(() => {\n initializeSignature();\n if (signature !== blankImage && signature !== undefined && isInitialized) {\n sigImageRef.current.src = signature;\n }\n }, [signature]);\n\n return (\n <>\n
\n \n \n \n
\n
\n {topazDetected.current\n ? 'Topaz Device Detected'\n : 'Topaz Device Not Detected'}\n
\n \n \n {\n sigImageRef.current = ref;\n }}\n width={500}\n style={{ width: 500, height: 200, border: '1px solid #0D263E' }}\n />\n \n
\n \n
\n
\n \n
\n \n
\n
\n
\n \n \n \n Delete Signature\n \n \n Save Signature\n \n \n \n \n \n );\n};\n","import {\n useModalItem,\n useModalHelpers,\n useGridState,\n FormProvider,\n ENDPOINTS,\n ModalDrawerButtonRow,\n CancelButton,\n FormSubmitButton,\n useEnums,\n useFormStateValue,\n useFormHelpers,\n useDataFetcher,\n buildEndpoint,\n defaultDataTransform,\n PageCardRowSection,\n SmartInputBlock,\n InputType,\n buildQueryUrl,\n ColumnLayout,\n FormErrorDisplay,\n} from '@techsharegov/react-ui';\nimport { ModalDrawer } from 'Components';\nimport { useEffect, Fragment } from 'react';\nimport { Row } from 'reactstrap';\nimport { StampDisplayEmbedded } from './MeetingAttachmentRemoveStampModalForms';\nimport { MeetingAttachmentModal } from './MeetingAttachmentActionCell';\nimport { AgendaEndpoints, METHODS } from 'Models';\n\ntype MoveFileStampProps = {\n id?: string;\n caseId?: string;\n};\n\nexport const MeetingAttachmentMoveFileStampForm: React.FC = () => {\n const modalId = MeetingAttachmentModal.MoveFileStamp;\n const modalItem = useModalItem();\n const { isOpen, toggle, simpleSuccessHandler } = useModalHelpers(modalId);\n const { refreshGrid } = useGridState();\n\n const handleSuccess = () => {\n simpleSuccessHandler('Move stamp successfully');\n refreshGrid();\n };\n\n return (\n \n \n \n \n \n Move Stamp\n \n \n \n );\n};\n\nconst MeetingAttachmentMoveFileStampFormData: React.FC<{\n attachmentId?: string;\n}> = ({ attachmentId }) => {\n const {\n fileStampColor,\n fileStampFontSize,\n fileStampPagesOption,\n fileStampLocation,\n } = useEnums();\n\n const [stampToMove] = useFormStateValue('stampToMove');\n const { clearFormFields } = useFormHelpers();\n const [, setColor] = useFormStateValue('color');\n const [, setFontSize] = useFormStateValue('fontSize');\n const [, setOpacity] = useFormStateValue('opacity');\n const [, setPages] = useFormStateValue('pages');\n const [, setLocation] = useFormStateValue('location');\n\n const [data, loadingStatus, { getData }] = useDataFetcher(\n buildEndpoint(\n AgendaEndpoints.meetingAttachmentStampMetadatas.base,\n stampToMove?.id\n ),\n {},\n defaultDataTransform,\n undefined,\n false\n );\n\n useEffect(() => {\n if (stampToMove == undefined) {\n clearFormFields(['color', 'fontSize', 'opacity', 'pages', 'location']);\n } else {\n getData();\n }\n }, [stampToMove]);\n\n useEffect(() => {\n if (data != null) {\n setColor(data.color);\n setFontSize(data.fontSize);\n setOpacity(data.opacity);\n setPages(data.pages);\n setLocation(data.location);\n }\n }, [data]);\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n","import { GridCellProps } from '@progress/kendo-react-grid';\nimport {\n ActionsDropdownConfig,\n buildEndpoint,\n buildQueryUrl,\n DropdownItemModel,\n FileModel,\n Render,\n useApiWorker,\n useGridState,\n useLoadingToast,\n useLocalState,\n useToasts,\n} from '@techsharegov/react-ui';\nimport { ActionsEllipsisCell } from 'Components/Grid';\nimport { AgendaEndpoints, METHODS, Permission, SignaturesModal } from 'Models';\nimport React from 'react';\nimport { MeetingAttachmentDrawerFormContent } from './MeetingAttachmentDrawerFormContent';\nimport { Routes } from 'Navigation';\nimport { useGlobalMeetingIdsAndFlags } from './MeetingIdsAndFlagsProvider';\nimport {\n SignDocumentModalItem,\n SignDocumentModal,\n} from 'Features/Shared/SignDocumentModal';\nimport { MeetingAttachmentRemoveFileStampForm } from './MeetingAttachmentRemoveStampModalForms';\nimport { MeetingAttachmentMoveFileStampForm } from './MeetingAttachmentMoveStampModal';\n\nexport enum MeetingAttachmentModal {\n AddMeetingAttachment = 'AddMeetingAttachment',\n MoveFileStamp = 'MeetingAttachmentMoveFileStamp',\n RemoveFileStamp = 'MeetingAttachmentRemoveFileStamp',\n}\n\nexport class MeetingAttachmentModel extends FileModel {\n comments?: string;\n}\n\nexport type MeetingAttachmentActionCellProps = GridCellProps & {\n allowEdits?: boolean;\n fileStamps: DropdownItemModel[];\n};\n\nexport const MeetingAttachmentActionCell: React.FC<\n MeetingAttachmentActionCellProps\n> = ({ dataItem, field = '', allowEdits, fileStamps, ...gridprops }) => {\n const API = useApiWorker();\n const toast = useToasts();\n const { refreshGrid } = useGridState();\n const meetingContext = useGlobalMeetingIdsAndFlags();\n const hasMultipleFileStamps = fileStamps.length > 1;\n const [showToast, hideToast] = useLoadingToast();\n var [waitingOnDocument, setWaitingOnDocument] = useLocalState();\n\n const deleteItem = async () => {\n if (window.confirm('Are you sure you want to delete attachment?')) {\n try {\n var deleteResponse = await API.delete(\n buildEndpoint(AgendaEndpoints.meetingattachments.base, dataItem.id)\n );\n if (deleteResponse.data.isSuccessStatusCode) {\n toast.success('Attachment has been removed.');\n } else if (deleteResponse.headers['exception'] === undefined) {\n toast.error('Failed removing attachment.');\n } else {\n toast.error(deleteResponse.headers['exception']);\n }\n refreshGrid && refreshGrid();\n if (meetingContext != null) {\n meetingContext.refreshIdsAndFlags();\n }\n } catch {\n toast.error('Failed removing attachment.');\n }\n }\n };\n\n const convertToPdf = async () => {\n setWaitingOnDocument(true);\n showToast('Converting document to .pdf..');\n\n var response = await API.post(\n buildEndpoint(\n AgendaEndpoints.meetingattachments.controllerActionString(\n 'convertToPdf'\n ) +\n '?id=' +\n dataItem.id\n )\n );\n if (response.data.isSuccessStatusCode) {\n if (meetingContext != null) {\n meetingContext.refreshIdsAndFlags();\n }\n\n toast.success('Attachment has been converted to PDF.');\n } else {\n toast.error('Error converting attachment to PDF');\n }\n refreshGrid && refreshGrid();\n hideToast();\n setWaitingOnDocument(false);\n };\n\n const stampDocument = async (fileStampId?: string) => {\n const { id } = dataItem;\n setWaitingOnDocument(true);\n showToast('Stamping Document - Please Wait...');\n try {\n var { data } = await API.post(\n AgendaEndpoints.meetingattachments.controllerActionString(\n 'stampdocument'\n ),\n {\n meetingAttachmentId: id,\n fileStampId,\n },\n {\n responseType: 'blob',\n }\n );\n if (data !== undefined) {\n refreshGrid();\n toast.success('Document has been stamped.');\n }\n } catch ({ response }: any) {\n const { data }: any = response || {};\n console.log('Error data is : ');\n console.log(data);\n } finally {\n hideToast();\n setWaitingOnDocument(false);\n }\n };\n\n const actionsConfig: ActionsDropdownConfig = {\n items: [\n {\n name: 'Update',\n permissions: [Permission.UpdateMeetingAttachment],\n modalConfig: {\n modalId: MeetingAttachmentModal.AddMeetingAttachment,\n modalItem: { id: dataItem?.id },\n modalComponent: ,\n },\n condition: allowEdits,\n },\n {\n name: 'Convert to PDF',\n onClick: convertToPdf,\n permissions: [Permission.MeetingAttachmentConvertToPdf],\n condition: allowEdits && dataItem.extension === '.docx',\n },\n {\n name: 'Delete',\n onClick: deleteItem,\n permissions: [Permission.DeleteMeetingAttachment],\n condition: allowEdits,\n },\n {\n name: 'Edit Word File',\n url: buildQueryUrl(Routes.DocumentEditor, {\n id: dataItem.id,\n fileId: dataItem.fileId,\n fileName: dataItem.fileName,\n endpoint: AgendaEndpoints.meetingattachments.base,\n }),\n permissions: [Permission.ViewDocumentEditor],\n condition: allowEdits && dataItem.extension === '.docx',\n },\n {\n name: hasMultipleFileStamps\n ? 'Apply Stamp'\n : `Apply ${fileStamps[0]?.name}`,\n onClick: hasMultipleFileStamps\n ? undefined\n : () => stampDocument(fileStamps?.[0].id),\n permissions: [Permission.FileStampMeetingAttachment],\n condition: dataItem?.isPdf && fileStamps.length > 0,\n childItems: hasMultipleFileStamps\n ? fileStamps?.map(({ name, id }) => {\n return {\n name: `${name}`,\n permissions: [Permission.FileStampMeetingAttachment],\n onClick: () => stampDocument(id),\n };\n })\n : undefined,\n },\n {\n name: 'Move Stamp',\n permissions: [Permission.MoveStampMeetingAttachment],\n modalConfig: {\n modalId: MeetingAttachmentModal.MoveFileStamp,\n modalItem: { id: dataItem?.id, caseId: dataItem?.caseId },\n modalComponent: ,\n },\n condition: dataItem.hasStampMetadata == true,\n },\n {\n name: 'Remove Stamp',\n permissions: [Permission.RemoveStampMeetingAttachment],\n modalConfig: {\n modalId: MeetingAttachmentModal.RemoveFileStamp,\n modalItem: { id: dataItem?.id, caseId: dataItem?.caseId },\n modalComponent: ,\n },\n condition: dataItem.hasStampMetadata == true,\n },\n {\n name: 'Sign',\n permissions: [Permission.SignMeetingAttachment],\n modalConfig: {\n modalId: SignaturesModal.Sign,\n entityId: dataItem?.id,\n modalItem: new SignDocumentModalItem(\n dataItem?.id,\n buildEndpoint(\n AgendaEndpoints.meetingattachments.base,\n dataItem?.id,\n METHODS.Sign\n ),\n buildEndpoint(\n AgendaEndpoints.meetingattachments.base,\n dataItem?.id,\n METHODS.Stream\n )\n ),\n modalComponent: ,\n },\n condition: dataItem?.canSign,\n },\n ],\n };\n\n return (\n \n \n \n );\n};\n","import {\n Alert,\n AlertType,\n AlertsDisplay,\n AsyncLoadingSection,\n} from '@techsharegov/react-ui';\nimport { useMeetingIdsAndFlags } from 'Features/Meetings/MeetingIdsAndFlagsProvider';\n\nexport const CoordinatorMeetingBanners: React.FC = () => {\n const { idsAndFlags, loadingStatus } = useMeetingIdsAndFlags();\n return (\n \n new Alert(AlertType.Warning, b.text)\n )}\n />\n \n );\n};\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n AsyncGrid,\n ColumnLayout,\n DropdownItemModel,\n EmptyHeaderCell,\n FormProvider,\n GridProvider,\n InputType,\n MainArea,\n MultiModalProvider,\n PrimaryHeader,\n Render,\n SmartInputBlock,\n SubHeaderLayout,\n WrappableCell,\n buildEndpoint,\n defaultGridProps,\n isNullEmptyOrUndefined,\n useFormStateValue,\n useSubGrid,\n} from '@techsharegov/react-ui';\nimport {\n ConditionalDetailColumnCell,\n GridDetailRowProps,\n ReorderCell,\n} from 'Components';\nimport {\n ActionItemsActionsCell,\n ChangeActionItemStatus,\n} from 'Features/ActionItems';\nimport { MeetingAttachmentsGrid } from 'Features/Meetings';\nimport { MeetingIdsAndFlagsProvider } from 'Features/Meetings/MeetingIdsAndFlagsProvider';\nimport { useSessionStorage } from 'LibraryUtilities';\nimport { AgendaEndpoints } from 'Models';\nimport React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport { CoordinatorMeetingBanners } from './CoordinatorMeetingBanners';\n\nexport class AgendaCoordinatorSearchModel {\n meetingType?: DropdownItemModel;\n meeting?: DropdownItemModel;\n}\n\nexport const AgendaCoordinatorView: React.FC = () => {\n return (\n \n \n \n );\n};\n\nexport const AgendaCoordinatorContent: React.FC = () => {\n const [meetingType, setMeetingType] =\n useFormStateValue('meetingType');\n const [meeting, setMeeting] = useFormStateValue('meeting');\n const [, setMeetingTypeId] = React.useState();\n const [, setMeetingId] = React.useState();\n const [searchModel, setSearchModel, getPreviousSearchModel] =\n useSessionStorage(\n 'agendaCoordinatorModel',\n new AgendaCoordinatorSearchModel()\n );\n\n const meetingTypeChangeHandler = (e: any) => {\n setMeetingTypeId(e.value.id);\n setMeetingType(e.value);\n setSearchModel({ meeting: meeting, meetingType: e.value });\n };\n\n const meetingChangeHandler = (e: any) => {\n setMeetingId(e.value.id);\n setMeeting(e.value);\n setSearchModel({ meeting: e.value, meetingType: meetingType });\n };\n\n useEffect(() => {\n if (!isNullEmptyOrUndefined(searchModel?.meeting)) {\n setMeeting(searchModel.meeting as DropdownItemModel);\n setMeetingId(searchModel.meeting?.id);\n }\n if (!isNullEmptyOrUndefined(searchModel?.meetingType)) {\n setMeetingType(searchModel.meetingType as DropdownItemModel);\n setMeetingTypeId(searchModel.meetingType?.id);\n }\n }, []);\n\n return (\n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport type AgendaCoordinatorViewProps = {\n meetingId: string | undefined;\n};\n\nexport const AgendaCoordniatorViewGrid: React.FC<\n AgendaCoordinatorViewProps\n> = ({ meetingId }) => {\n const search = {\n id: meetingId,\n };\n const { expandField } = useSubGrid();\n\n return (\n \n \n \n \n );\n};\n\nconst ActionItemDetailColumnCell: React.FC = (\n props: GridCellProps\n) => {\n return (\n \n );\n};\n\nexport const ActionItemDisplayCell: React.FC = ({\n dataItem,\n field,\n}) => {\n const value = dataItem[field || ''];\n\n return (\n \n {value}\n \n );\n};\n\nconst ActionItemsDetailGrid: React.FC = ({ dataItem }) => {\n const rowRender = (trElement: any, props: any) => {\n const isApproved = props.dataItem.status === 'Approved';\n const isCoordinatorReviewed =\n props.dataItem.status === 'Coordinator Reviewed';\n\n const green = 'grid-green';\n const yellow = 'grid-yellow';\n const regular = '';\n const trProps = {\n className: isApproved ? green : isCoordinatorReviewed ? yellow : regular,\n };\n return React.cloneElement(\n trElement,\n {\n ...trProps,\n },\n trElement.props.children\n );\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ActionItemColumnReorderCell: React.FC = ({ ...props }) => {\n const endpoint =\n AgendaEndpoints.actionitems.controllerActionString('reorder');\n\n return ;\n};\n\nconst SubjectCell: React.FC = ({ dataItem }) => (\n \n {dataItem.subject}\n \n
\n {dataItem.itemDescription}\n \n \n {dataItem.staffRecommendationDisplay}\n \n
\n);\n\nconst CoordinatorNoteCell: React.FC = ({ dataItem }) => (\n {dataItem.coordinatorComments}\n);\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n AsyncGrid,\n AsyncLoadingSection,\n ColumnLayout,\n DropdownItemModel,\n EmptyHeaderCell,\n FormProvider,\n GridProvider,\n InputType,\n MainArea,\n MultiModalProvider,\n Render,\n SmartInputBlock,\n SubHeaderLayout,\n ViewHeader,\n WrappableCell,\n buildEndpoint,\n defaultGridProps,\n isNullEmptyOrUndefined,\n useFormStateValue,\n useIdParam,\n useSimpleDataFetcher,\n useSubGrid,\n} from '@techsharegov/react-ui';\nimport { ConditionalDetailColumnCell, GridDetailRowProps } from 'Components';\nimport {\n ActionItemsActionsCell,\n ChangeActionItemStatus,\n} from 'Features/ActionItems';\nimport { MeetingAttachmentsGrid } from 'Features/Meetings';\nimport { useSessionStorage } from 'LibraryUtilities';\nimport { AgendaEndpoints } from 'Models';\nimport React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport {\n ActionItemDisplayCell,\n AgendaCoordinatorSearchModel,\n} from './AgendaCoordinatorView';\n\nexport class PreMeetingAgendaSearchModel {\n meetingType?: DropdownItemModel;\n meeting?: DropdownItemModel;\n isPublished?: boolean;\n hasPdfAgenda?: boolean;\n}\n\nexport const PreMeetingAgendaView: React.FC = () => {\n return (\n \n \n \n );\n};\nexport const PreMeetingAgendaContent: React.FC = () => {\n const [id] = useIdParam();\n const [meetingType, setMeetingType] =\n useFormStateValue('meetingType');\n const [meeting, setMeeting] = useFormStateValue('meeting');\n const [meetingTypeId, setMeetingTypeId] = React.useState();\n const [meetingId, setMeetingId] = React.useState();\n const [searchModel, setSearchModel, getPreviousSearchModel] =\n useSessionStorage(\n 'agendaPreviewModel',\n new AgendaCoordinatorSearchModel()\n );\n\n const [data, loadingStatus] =\n useSimpleDataFetcher(\n buildEndpoint(AgendaEndpoints.premeetingagenda.addedit, id),\n new PreMeetingAgendaSearchModel()\n );\n\n const meetingTypeChangeHandler = (e: any) => {\n setMeetingTypeId(e.value.id);\n setMeetingType(e.value);\n setSearchModel({ meeting: meeting, meetingType: e.value });\n };\n\n const meetingChangeHandler = (e: any) => {\n setMeetingId(e.value.id);\n setMeeting(e.value);\n setSearchModel({ meeting: e.value, meetingType: meetingType });\n };\n\n useEffect(() => {\n if (!isNullEmptyOrUndefined(searchModel?.meeting)) {\n setMeeting(searchModel.meeting as DropdownItemModel);\n setMeetingId(searchModel.meeting?.id);\n }\n if (!isNullEmptyOrUndefined(searchModel?.meetingType)) {\n setMeetingType(searchModel.meetingType as DropdownItemModel);\n setMeetingTypeId(searchModel.meetingType?.id);\n }\n }, []);\n return (\n \n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst SubjectCell: React.FC = ({ dataItem }) => (\n \n {dataItem.subject}\n \n
\n {dataItem.itemDescription}\n \n \n {dataItem.staffRecommendationDisplay}\n \n
\n);\n","import {\n GridColumn as Column,\n GridCellProps,\n} from '@progress/kendo-react-grid';\nimport {\n AsyncGrid,\n AsyncLoadingSection,\n ColumnLayout,\n DropdownItemModel,\n GridProvider,\n IconButton,\n InputType,\n MainArea,\n MultiModalProvider,\n Render,\n SecureComponent,\n SmartInputBlock,\n SubHeaderLayout,\n ViewHeader,\n YesNoBooleanCell,\n buildEndpoint,\n defaultGridProps,\n isNullEmptyOrUndefined,\n useFormStateValue,\n useIdParam,\n useMultiModalHelpers,\n useSimpleDataFetcher,\n} from '@techsharegov/react-ui';\nimport { FinalizeMeetingModal, ResultsCell, SubjectCell, UpdateVoteResults } from 'Features/FinalizeMeeting';\nimport { MeetingAttachmentsGrid } from 'Features/Meetings';\nimport { AgendaEndpoints, Permission } from 'Models';\nimport React, { useEffect } from 'react';\nimport { Row } from 'reactstrap';\nimport InfoIcon from '@mui/icons-material/Visibility';\n\nexport class ViewHistoricalAgendaModel {\n meetingType?: DropdownItemModel;\n meeting?: DropdownItemModel;\n name?: string;\n isPublished?: boolean;\n hasPdfAgenda?: boolean;\n}\n\nexport const ViewHistoricalAgenda: React.FC = () => {\n const [id] = useIdParam();\n const [meetingType, setMeetingType] =\n useFormStateValue('meetingType');\n const [meeting, setMeeting] = useFormStateValue('meeting');\n const [meetingTypeId, setMeetingTypeId] = React.useState();\n const [meetingId, setMeetingId] = React.useState();\n\n const [data, loadingStatus] = useSimpleDataFetcher(\n buildEndpoint(AgendaEndpoints.premeetingagenda.addedit, id),\n new ViewHistoricalAgendaModel()\n );\n\n const meetingTypeChangeHandler = (e: any) => {\n setMeetingTypeId(e.value.id);\n setMeetingType(e.value);\n };\n\n const meetingChangeHandler = (e: any) => {\n setMeetingId(e.value.id);\n setMeeting(e.value);\n };\n\n useEffect(() => {\n if (isNullEmptyOrUndefined(data)) return;\n\n setMeetingId(data?.meeting?.id);\n if(data?.meeting !== undefined) {\n setMeeting(data?.meeting);\n }\n setMeetingTypeId(data?.meetingType?.id);\n if(data?.meetingType !== undefined) {\n setMeetingType(data?.meetingType);\n }\n \n }, [data]);\n\n return (\n \n }\n >\n \n