コード例 #1
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/Scheduling")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/appointmentController.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/appointmentDetailController.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js")
                        .Include("~/Scripts/app/filters/timeFilters.js")
                        .Include("~/Scripts/app/directives/toTime.js")
                        .Include("~/Scripts/plugins/owl.carousel.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/Calendar")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/calendarController.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingSearchService.js")
                        .Include("~/Scripts/app/services/navigationService.js")
                        .Include("~/Scripts/app/filters/timeFilters.js")
                        .Include("~/Scripts/app/directives/toTime.js")
                        .Include("~/Scripts/plugins/owl.carousel.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupSchedulingSearch")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupSchedulingSearchController.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingSearchService.js")
                        .Include("~/Scripts/app/directives/breadcrumbs.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupSchedulingNavigation")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupScheduleNavigationController.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupScheduling")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupSchedulingController.js")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupNote")
                        .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupNoteController.js")
                        .Include("~/Areas/Admin/Scripts/app/services/userDetailService.js")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js")
                        );

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null)
            {
                if (bundles.Remove(angularBundle))
                {
                    angularBundle.Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/app.js");
                    angularBundle.Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js");
                    bundles.Add(angularBundle);
                }//TODO: Else, scream as loud as you can!
            }
        }
コード例 #2
0
        /// <summary>
        /// Registers the bundles. For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        /// </summary>
        /// <param name="bundles">The bundles.</param>
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;

            Common.BundleConfig.RegisterBundles(bundles);

            bundles.Remove(bundles.GetBundleFor("~/bundles/nas"));
            bundles.Add(new ScriptBundle("~/bundles/nas").Include(
                            "~/Content/_assets/js/nas/validationscripts.js",
                            "~/Content/_assets/js/nas/headerContext.js",
                            "~/Content/_assets/js/nas/webTrendsInlineTrack.js"));

            bundles.Add(new ScriptBundle("~/bundles/nascript").Include(
                            "~/Content/_assets/js/scripts.js"));

            bundles.Add(new ScriptBundle("~/bundles/vendor").Include(
                            "~/Content/_assets/js/vendor/jquery.validate.js",
                            "~/Content/_assets/js/vendor/jquery.validate.unobtrusive.custom.js"));

            bundles.Add(new ScriptBundle("~/bundles/knockout").Include(
                            "~/Content/_assets/js/vendor/knockout-3.1.0.js",
                            "~/Content/_assets/js/vendor/knockout.validation.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/passwordstrength").Include(
                            "~/Content/_assets/js/vendor/zxcvbn-async.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/application").Include(
                            "~/Content/_assets/js/nas/application/applicationform.js",
                            "~/Content/_assets/js/nas/application/dirtyFormDialog.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/account").Include(
                            "~/Content/_assets/js/vendor/jquery-ui-1.10.4.custom.min.js",
                            "~/Content/_assets/js/nas/lookupService.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/locationsearch").Include(
                            "~/Content/_assets/js/vendor/jquery-ui-1.10.4.custom.min.js",
                            "~/Content/_assets/js/nas/locationAutocomplete.js",
                            "~/Content/_assets/js/nas/refineSearch.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/results").Include(
                            "~/Content/_assets/js/nas/resultsSearch.js",
                            "~/Content/_assets/js/nas/apprenticeships/saveVacancy.js",
                            "~/Content/_assets/js/vendor/jquery.lazy-load-google-maps.js",
                            "~/Content/_assets/js/nas/resultsMap.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/details").Include(
                            "~/Content/_assets/js/nas/apprenticeships/saveVacancy.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/geoLocater").Include(
                            "~/Content/_assets/js/nas/geoLocater.js"));

            bundles.Add(new ScriptBundle("~/bundles/nas/search").Include(
                            "~/Content/_assets/js/nas/searchTour.js"));
        }
コード例 #3
0
        public void BasicAddRemoveClearTest()
        {
            BundleCollection col = new BundleCollection();

            DynamicFolderBundle db1 = new DynamicFolderBundle("foo", "*.js");

            col.Add(db1);
            Assert.AreEqual(1, col.Count);

            Bundle sb1 = new Bundle("~/static");

            col.Add(sb1);
            Assert.AreEqual(2, col.Count);

            col.Remove(db1);
            Assert.AreEqual(1, col.Count);

            col.Clear();
            Assert.AreEqual(0, col.Count);
        }
コード例 #4
0
        // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                            "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                            "~/Scripts/jquery.validate*"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                            "~/Scripts/modernizr-*"));
            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                            "~/Scripts/bootstrap.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                            "~/Content/bootstrap.css",
                            "~/Content/site.css"));

            bundles.Remove(new ScriptBundle("~/bundles/js").Include(
                               "~/Scripts/AddressBook.js"));
        }
コード例 #5
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ReportingServices/ReportingServices")
                        .Include(
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/controllers/ListReportsController.js",
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/controllers/ReportsController.js",
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/services/reportingService.js",
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/directives/ssrsParams.js",
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/MvcReportViewer.js",
                            "~/Plugins/Axis.Plugins.ReportingServices/Scripts/url.js",
                            "~/Scripts/app/directives/breadcrumbs.js"
                            ));

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null)
            {
                if (bundles.Remove(angularBundle))
                {
                    angularBundle.Include("~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/app.js");
                    bundles.Add(angularBundle);
                }
            }
        }
コード例 #6
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Allergy")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/allergyController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/MedicalHistory")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/medicalHistoryController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/MedicalHistoryDetails")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/medicalHistoryDetailsController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Note")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/noteController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/NoteDetail")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/noteDetailController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/ReviewOfSystems")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/reviewOfSystemsController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/reviewOfSystemsService.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/directives/rosNavigation.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Vital")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/vitalController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical.SocialRelationshipHistory")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/socialRelationshipHistoryController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipHistoryService.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/ChiefComplaint")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/chiefComplaintController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/chiefComplaintService.js")
                        .Include("~/Scripts/app/services/alertService.js")
                        .Include("~/Scripts/app/filters/toDateFilters.js")
                        .Include("~/Scripts/app/directives/toDateDirective.js")
                        .Include("~/Scripts/app/directives/pageShortcuts.js")
                        .Include("~/Scripts/app/directives/toDateDirective.js")
                        .Include("~/Scripts/app/directives/mydatepicker.js")
                        .Include("~/Scripts/app/directives/inputMask.js")
                        .Include("~/Scripts/app/directives/serverValidate.js")
                        .Include("~/Scripts/app/directives/workflowAction.js")
                        .Include("~/Scripts/app/directives/autoFocus.js")
                        .Include("~/Scripts/app/directives/checkForm.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/clinicalAssessment")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/clinicalAssessmentController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/directives/clinicalAssessmentNavigation.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/SocialRelationship")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/socialRelationshipController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js")
                        );


            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/PresentIllness")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/presentIllnessController.js")
                        .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/presentIllnessService.js")
                        );

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null && bundles.Remove(angularBundle))
            {
                angularBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/app.js");
                bundles.Add(angularBundle);
            }

            var tileBundle = bundles.GetBundleFor("~/bundles/tileController");

            if (tileBundle != null && bundles.Remove(tileBundle))
            {
                tileBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalTileService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/reviewOfSystemsService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/chiefComplaintService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/presentIllnessService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js");
                bundles.Add(tileBundle);
            }

            //Inject the clinical services needed by client search for downloading a client's data for offline use
            var clientSearchBundle = bundles.GetBundleFor("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch");

            if (clientSearchBundle != null && bundles.Remove(clientSearchBundle))
            {
                clientSearchBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipHistoryService.js")
                .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js");
                bundles.Add(clientSearchBundle);
            }
        }
コード例 #7
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Registration").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationNavigationController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/AdditionalDemographic").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/additionalDemographyController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js",
                            "~/Scripts/app/controllers/raceDetailsController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/EmergencyContacts").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/emergencyContactController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/emergencyContactService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/xenCopyAddress.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Benefits").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/ContactBenefitController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Referral").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDetailController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Financial").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialAssessmentController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialDetailsController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/financialassessmentdirective.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FinancialAssessments").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialAssessmentsController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialSummaryService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FinancialSummary").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialSummaryController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialSummaryService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Collateral").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/collateralController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/xenCopyAddress.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Consent").Include(
                            "~/Scripts/app/services/alertService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/consentController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/topazSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js",
                            "~/Areas/Consents/Scripts/app/services/consentsPrintService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/clientSearchController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js",
                            // From here on out, needed for offline caching
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/emergencyContactService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js",
                            "~/Scripts/app/services/photoService.js",
                            "~/Scripts/app/controllers/baseFlyoutController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/PatientProfile").Include(
                            "~/Scripts/app/directives/breadcrumbs.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/patientProfileController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js",
                            "~/Scripts/app/directives/toggleColumnView.js",
                            "~/Scripts/app/directives/tileFlyout.js",
                            "~/Scripts/app/directives/loadView.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js",
                            //bundles that will potentially be needed to load the eci patient header
                            "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js",
                            "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js",
                            "~/Areas/Consents/Scripts/app/services/consentsService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/dischargeService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ContactEmail").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactEmailController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ContactPhone").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactPhoneController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Address").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactAddressController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/RegistrationTile").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationTileController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js",
                            //ToDo: Add logic to check for the existence of a file before including it in the bundle, I know that missing files are ignored, but I think it's bad practice
                            "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js",
                            "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js",
                            "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciRegistrationTileService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ConsentTile").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/ConsentTileController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralCommon").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralParentController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralFollowupService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralReferredInformationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralForwardedService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js",
                            "~/Scripts/app/filters/timeFilters.js",
                            "~/Scripts/app/directives/breadcrumbs.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralSearch").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralSearchController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralSearchService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferredInformation").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralReferredInformationController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralReferredInformationService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralFollowup").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralFollowupController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralFollowupService.js",
                            "~/Scripts/app/filters/timeFilters.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralDisposition").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDispositionController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralClientInformation").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralClientController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralRequestor").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralRequestorController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralForwarded").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralForwardedController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralForwardedService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralProgressNote").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralProgressNoteController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralProgressNoteService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Program").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/programController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/registrationNavigator.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/DischargeCompany").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/dischargeCompanyController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/admissionsDischargeController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/dischargeProgramUnitController.js",
                            "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/signatureController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admisionService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/dischargeService.js",
                            "~/Areas/Admin/Scripts/app/services/userCredentialService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Admission").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/admissionController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js",
                            "~/Scripts/app/filters/timeFilters.js",
                            "~/Scripts/app/directives/toTime.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/SelfPay").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/selfPayController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BenefitsAssistanceProgressNote").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/benefitsAssistanceProgressNoteController.js",
                            "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                            "~/Scripts/app/services/serviceRecordingService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.UndoButton.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/flashcanvas.js",
                            "~/Scripts/app/directives/pdfMaker.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js",
                            "~/Areas/RecordedServices/Scripts/app/services/voidService.js",
                            "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js",
                            "~/Areas/RecordedServices/Scripts/app/services/recordingServicePrintService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/bapnDetails").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnDetailsController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/BapnNavigation").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnNavigationController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BAPN").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/bapnNavigation.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BenefitsTile").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/benefitsTileController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialSummaryService.js",
                            "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/IntakeTile").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/intakeTileController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/lettersService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/intakeFormsService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Letters").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/lettersController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/letterNavigation.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/intakeformsNavigation.js",
                            "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.UndoButton.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/flashcanvas.js",
                            "~/Scripts/app/directives/pdfMaker.js",
                            "~/Scripts/app/services/serviceRecordingService.js",
                            "~/Areas/RecordedServices/Scripts/app/services/voidService.js",
                            "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js",
                            "~/Areas/RecordedServices/Scripts/app/services/recordingServicePrintService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/historyLog").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/historyLogController.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/LettersDetails").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/lettersDetailsController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FormsDetails").Include(
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/formsDetailsController.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js",
                            "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/intakeFormNavigationController.js"
                            ));

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null)
            {
                if (bundles.Remove(angularBundle))
                {
                    angularBundle.Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/app.js");
                    bundles.Add(angularBundle);
                }//TODO: Else, scream as loud as you can!
            }
            var consentDetailBundle = bundles.GetBundleFor("~/bundles/consentDetails");

            if (consentDetailBundle != null && bundles.Remove(consentDetailBundle))
            {
                consentDetailBundle.Include(
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js",
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js",
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js"
                    );

                bundles.Add(consentDetailBundle);
            }

            var miniHeaderBundle = bundles.GetBundleFor("~/bundles/miniHeader");

            if (miniHeaderBundle != null && bundles.Remove(miniHeaderBundle))
            {
                miniHeaderBundle.Include(
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js",
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js",
                    "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js"
                    );

                bundles.Add(miniHeaderBundle);
            }
        }
コード例 #8
0
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/Scripts/jquery")
                .Include("~/Scripts/jquery-1.*"));

            bundles.Add(new ScriptBundle("~/Scripts/jqueryui")
                .Include("~/Scripts/jquery-ui*"));

            bundles.Add(new ScriptBundle("~/Scripts/jqueryval")
                .Include("~/Scripts/jquery.unobtrusive*")
                .Include("~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/Scripts/jqgrid")
                .Include("~/Scripts/" + JqgridFolder + "/js/i18n/grid.locale-en.js")
                .Include("~/Scripts/" + JqgridFolder + "/js/jquery.jqGrid.src.js")
                .Include("~/Scripts/" + JqgridFolder + "/src/grid.loader.js*")
                );
            
            bundles.Remove(new ScriptBundle("~/Scripts/jqgridloader")
                .Include("~/Scripts/jquery.jqGrid-4.4.1/src/grid.loader.js"));
            
            bundles.Add(new ScriptBundle("~/Scripts/shjs")
                .Include("~/Scripts/SyntaxHighlighter/shCore.js")
                .Include("~/Scripts/SyntaxHighlighter/shBrushCSharp.js")
                .Include("~/Scripts/SyntaxHighlighter/shBrushJScript.js"));

            bundles.Add(new ScriptBundle("~/Scripts/jqplugins")
                .Include("~/Scripts/organictabs.jquery.js")
                .Include("~/Scripts/menu/simpleverticalmenu.js"));

            bundles.Add(new StyleBundle("~/Content/css")
                .Include("~/Content/style.css")
                .Include("~/Content/menu/simpleverticalmenu.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/uiall").Include(
                "~/Content/themes/base/jquery.ui.all.css"));

            bundles.Add(new StyleBundle("~/Scripts/css/jqgrid")
                .Include("~/Scripts/" + JqgridFolder + "/css/ui.jqgrid.css"));

            bundles.Add(new StyleBundle("~/Content/themes/jqgradientca/gca")
                .Include("~/Content/themes/jqgradientca/gradientca.css"));

            bundles.Add(new StyleBundle("~/Content/shcss")
                .Include("~/Content/SyntaxHighlighter/shCore.css")
                .Include("~/Content/SyntaxHighlighter/shThemeRDark.css"));
        }
コード例 #9
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIRegistration")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciRegistrationController.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIDemographic")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciDemographicController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js")
                        //services needed for the initial navigation validation states under eci registration
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/referralAdditionalDetailService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js")
                        );
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIAdditionalDemographic")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciAdditionalDemographicController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js")
                        .Include("~/Scripts/app/controllers/raceDetailsController.js")
                        );


            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/Screening")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/screeningController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/directives/screeningNavigation.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/EligibilityDetermination")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eligibilityDeterminationController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/topazSignature.js")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/EligibilityCalculation")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eligibilityCalculationController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/IFSP")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/ifspController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/directives/ifspNavigation.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ProgressNote")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/progressNoteController.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/progressNoteService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/Referral")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDetailController.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js")
                        .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js")
                        );

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null && bundles.Remove(angularBundle))
            {
                angularBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/app.js");
                bundles.Add(angularBundle);
            }
            var tileBundle = bundles.GetBundleFor("~/bundles/tileController");

            if (tileBundle != null && bundles.Remove(tileBundle))
            {
                tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js");
                tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js");
                tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js");
                tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciTileService.js");
                tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/progressNoteService.js");
                bundles.Add(tileBundle);
            }

            //Inject the ECI services needed by client search for downloading a client's data for offline use
            var clientSearchBundle = bundles.GetBundleFor("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch");

            if (clientSearchBundle != null && bundles.Remove(clientSearchBundle))
            {
                clientSearchBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js")
                .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js")
                .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js")
                .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js")
                .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js")
                .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js");
                bundles.Add(clientSearchBundle);
            }

            var consentDetailBundle = bundles.GetBundleFor("~/bundles/consentDetails");

            if (consentDetailBundle != null && bundles.Remove(consentDetailBundle))
            {
                consentDetailBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js");
                bundles.Add(consentDetailBundle);
            }
        }
コード例 #10
0
        public void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonSummary")
                        .Include("~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js")
                        .Include("~/Scripts/app/services/serviceRecordingService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonSummaryController.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonSummaryService.js")
                        .Include("~/Areas/RecordedServices/Scripts/app/services/voidService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonFollowUpService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js")
                        .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CrisisLineSummary")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/crisisLineSummaryController.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/crisisLineSummaryService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/crisisLineFollowUpService.js")
                        .Include("~/Areas/RecordedServices/Scripts/app/services/voidService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenter")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterCrisislineController.js",
                                 "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterLawliaisonController.js",
                                 "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js",
                                 "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js",
                                 "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js",
                                 "~/Scripts/app/services/serviceRecordingService.js",
                                 "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js",
                                 "~/Areas/Admin/Scripts/app/services/userPhotoService.js",
                                 "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                                 "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js"));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/ColumbiaSuicideScale")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/columbiaSuicideScaleController.js")
                        .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/QuickRegistration")
                        .Include("~/Scripts/app/controllers/quickRegistrationController.js")
                        .Include("~/Scripts/app/controllers/raceDetailsController.js")
                        .Include("~/Scripts/app/directives/quickRegistrationFlyout.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterQuickRegistrationController.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Signature")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js")
                        .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CrisisAssessment")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/crisisAssessmentController.js",
                                 "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js"));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/AdultScreening")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/adultScreeningController.js",
                                 "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js"));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/ChildScreening")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/childScreeningController.js",
                                 "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js"));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonscreening")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonscreeningController.js",
                                 "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                                 "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonscreeningService.js"));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallerInformation")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callerInformationController.js")
                        .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js")
                        .Include("~/Scripts/app/directives/breadcrumbs.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/duplicateContactDetection.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenterProgressNote")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterProgressNoteController.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js")
                        .Include("~/Scripts/app/services/contactSSNService.js")
                        .Include("~/Areas/Account/Scripts/app/services/userProfileService.js")
                        .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")
                        );

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenterReport").Include(
                            "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterReportController.js",
                            "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js",
                            "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js"
                            ));

            bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonEnforcement")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonEnforcementController.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js")
                        .Include("~/Scripts/app/directives/breadcrumbs.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/programInfo.js")
                        .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/duplicateContactDetection.js")
                        );

            var angularBundle = bundles.GetBundleFor("~/bundles/angular");

            if (angularBundle != null)
            {
                if (bundles.Remove(angularBundle))
                {
                    angularBundle.Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/app.js");
                    bundles.Add(angularBundle);
                }//TODO: Else, scream as loud as you can!
            }
        }
コード例 #11
0
 static void MoveBundleToEnd(ScriptBundle mainBundle, BundleCollection bundles)
 {
     bundles.Remove(mainBundle);
     bundles.Add(mainBundle);
 }
コード例 #12
0
 static void MoveBundleToEnd(ScriptBundle mainBundle, BundleCollection bundles)
 {
     bundles.Remove(mainBundle);
     bundles.Add(mainBundle);
 }