static buildInitialStore()

in clns-acuity-vahub/vahub/src/main/webapp/src/app/common/trellising/store/utils/TabStoreUtils.ts [40:379]


    static buildInitialStore(): TabStore {
        return <TabStore> fromJS({
            height: 600,
            tabs: {
                CARDIAC_BOXPLOT: new TabRecord({
                    tabId: TabId.CARDIAC_BOXPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    colorByRequired: false,
                    trellisingRequired: true
                }),
                SINGLE_SUBJECT_CARDIAC_LINEPLOT: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_CARDIAC_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    legendDisabled: true,
                    detailsOnDemandDisabled: true,
                    trellisingRequired: true
                }),
                AES_COUNTS_BARCHART: new TabRecord({
                    tabId: TabId.AES_COUNTS_BARCHART,
                    advancedMeasuredControlRequired: true,
                    xAxisTextZoomRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    trellisingRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                AES_OVER_TIME: new TabRecord({
                    tabId: TabId.AES_OVER_TIME,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    trellisingRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                AES_CHORD_DIAGRAM: new TabRecord({
                    tabId: TabId.AES_CHORD_DIAGRAM,
                    trellisDesign: TrellisDesign.NO_AXIS,
                    hasEventFilters: true,
                    zoomIsHidden: true,
                    zoomDisabled: true,
                    plotSettingsRequired: true,
                    colorByRequired: true,
                    isAllColoringOptionAvailable: false,
                    plotSettings: Map({
                        trellisedBy: TermLevelType.PT,
                        trellisOptions: Map([['timeFrame', 0], ['percentageOfLinks', 10]])
                    })
                }),
                CVOT_ENDPOINTS_COUNTS: new TabRecord({
                    tabId: TabId.CVOT_ENDPOINTS_COUNTS,
                    advancedMeasuredControlRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cvot',
                    legendSortingRequired: false,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CVOT_ENDPOINTS_OVER_TIME: new TabRecord({
                    tabId: TabId.CVOT_ENDPOINTS_OVER_TIME,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cvot',
                    legendSortingRequired: true,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CI_EVENT_COUNTS: new TabRecord({
                    tabId: TabId.CI_EVENT_COUNTS,
                    advancedMeasuredControlRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cievents',
                    legendSortingRequired: false,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CI_EVENT_OVERTIME: new TabRecord({
                    tabId: TabId.CI_EVENT_OVERTIME,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cievents',
                    legendSortingRequired: true,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CEREBROVASCULAR_COUNTS: new TabRecord({
                    tabId: TabId.CEREBROVASCULAR_COUNTS,
                    advancedMeasuredControlRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cerebrovascular',
                    legendSortingRequired: false,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CEREBROVASCULAR_EVENTS_OVER_TIME: new TabRecord({
                    tabId: TabId.CEREBROVASCULAR_EVENTS_OVER_TIME,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    jumpToAesFromAeNumberLocation: 'cerebrovascular',
                    legendSortingRequired: true,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                CONMEDS_BARCHART: new TabRecord({
                    tabId: TabId.CONMEDS_BARCHART,
                    xAxisTextZoomRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                LAB_BOXPLOT: new TabRecord({
                    tabId: TabId.LAB_BOXPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    colorByRequired: false,
                    trellisingRequired: true,
                    preserveTitle: true
                }),
                LAB_LINEPLOT: new TabRecord({
                    tabId: TabId.LAB_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    colorByRequired: true,
                    trellisingRequired: true,
                    preserveTitle: true
                }),
                EXACERBATIONS_OVER_TIME: new TabRecord({
                    tabId: TabId.EXACERBATIONS_OVER_TIME,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    legendSortingRequired: true
                }),
                EXACERBATIONS_GROUPED_COUNTS: new TabRecord({
                    tabId: TabId.EXACERBATIONS_GROUPED_COUNTS,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    advancedMeasuredControlRequired: true,
                    legendSortingRequired: true
                }),
                EXACERBATIONS_COUNTS: new TabRecord({
                    tabId: TabId.EXACERBATIONS_COUNTS,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                SINGLE_SUBJECT_LAB_LINEPLOT: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_LAB_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    detailsOnDemandDisabled: true,
                    trellisingRequired: true,
                    colorByRequired: true,
                    preserveTitle: true
                }),
                SINGLE_SUBJECT_VITALS_LINEPLOT: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_VITALS_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    trellisingRequired: true,
                    legendDisabled: true,
                    detailsOnDemandDisabled: true
                }),
                SINGLE_SUBJECT_LUNG_LINEPLOT: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_LUNG_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    legendDisabled: true,
                    detailsOnDemandDisabled: true,
                    trellisingRequired: true
                }),
                LUNG_FUNCTION_BOXPLOT: new TabRecord({
                    tabId: TabId.LUNG_FUNCTION_BOXPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    trellisingRequired: true
                }),
                RENAL_LABS_BOXPLOT: new TabRecord({
                    tabId: TabId.RENAL_LABS_BOXPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    trellisingRequired: true,
                    colorByRequired: false
                }),
                SINGLE_SUBJECT_RENAL_LINEPLOT: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_RENAL_LINEPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    trellisingRequired: true,
                    detailsOnDemandDisabled: true,
                    colorByRequired: true
                }),
                RENAL_CKD_BARCHART: new TabRecord({
                    tabId: TabId.RENAL_CKD_BARCHART,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    trellisingRequired: true,
                    colorByRequired: true
                }),
                VITALS_BOXPLOT: new TabRecord({
                    tabId: TabId.VITALS_BOXPLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    colorByRequired: false,
                    trellisingRequired: true
                }),
                LIVER_HYSLAW: new TabRecord({
                    tabId: TabId.LIVER_HYSLAW,
                    trellisDesign: TrellisDesign.VARIABLE_Y_CONST_X
                }),
                SINGLE_SUBJECT_LIVER_HYSLAW: new TabRecord({
                    tabId: TabId.SINGLE_SUBJECT_LIVER_HYSLAW,
                    trellisDesign: TrellisDesign.VARIABLE_Y_CONST_X,
                    legendDisabled: true,
                    detailsOnDemandDisabled: true
                }),
                LAB_SHIFTPLOT: new TabRecord({
                    tabId: TabId.LAB_SHIFTPLOT,
                    trellisDesign: TrellisDesign.VARIABLE_Y_VARIABLE_X,
                    colorByRequired: false,
                    trellisingRequired: true,
                    preserveTitle: true
                }),
                POPULATION_BARCHART: new TabRecord({
                    tabId: TabId.POPULATION_BARCHART,
                    columnLimit: 1,
                    eventDetailsOnDemandDisabled: true,
                    legendSortingRequired: true,
                    colorByRequired: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                POPULATION_TABLE: new TabRecord({
                    tabId: TabId.POPULATION_TABLE,
                    eventDetailsOnDemandDisabled: true,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES
                }),
                ANALYTE_CONCENTRATION: new TabRecord({
                    tabId: TabId.ANALYTE_CONCENTRATION,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    logarithmicScaleRequired: true,
                    availableScaleTypes: [ScaleTypes.LINEAR_SCALE, ScaleTypes.LOGARITHMIC_SCALE],
                    colorByRequired: true,
                    plotSettingsRequired: true,
                    trellisingRequired: true,
                    settingLabelRequired: true,
                    legendDisabled: false,
                    plotSettings: Map({
                        trellisOptions: [],
                        trellisedBy: AggregationType.SUBJECT_CYCLE,
                        errorBars: Map({STANDARD_DEVIATION: false})
                    }),
                    isAllColoringOptionAvailable: false,
                    colorByUpdateOnSettingsChangeRequired: true
                }),
                DOSE_PROPORTIONALITY_BOX_PLOT: new TabRecord({
                    tabId: TabId.DOSE_PROPORTIONALITY_BOX_PLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    logarithmicScaleRequired: true,
                    availableScaleTypes: [ScaleTypes.LINEAR_SCALE, ScaleTypes.LOGARITHMIC_SCALE],
                    trellisingRequired: true,
                    hasEventFilters: true,
                    advancedAxisControlRequired: true,
                    preserveTitle: true,
                    preserveGlobalTitle: true,
                    preserveYAxisIfItsNotPresent: true
                }),
                PK_RESULT_OVERALL_RESPONSE: new TabRecord({
                    tabId: TabId.PK_RESULT_OVERALL_RESPONSE,
                    trellisDesign: TrellisDesign.CATEGORICAL_OVER_TIME,
                    multiDetailsOnDemandRequired: true,
                    trellisingRequired: true,
                    logarithmicScaleRequired: true,
                    availableScaleTypes: [ScaleTypes.LINEAR_SCALE, ScaleTypes.LOGARITHMIC_SCALE],
                    plotSettingsRequired: true,
                    hasEventFilters: true,
                    advancedAxisControlRequired: true,
                    preserveTitle: true,
                    preserveGlobalTitle: true,
                    preserveYAxisIfItsNotPresent: true
                }),
                TL_DIAMETERS_PLOT: new TabRecord({
                    tabId: TabId.TL_DIAMETERS_PLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    hasEventFilters: false,
                }),
                BIOMARKERS_HEATMAP_PLOT: new TabRecord({
                    tabId: TabId.BIOMARKERS_HEATMAP_PLOT,
                    trellisDesign: TrellisDesign.VARIABLE_Y_VARIABLE_X,
                    zoomRangeRequired: true,
                    plotSettingsRequired: true,
                    cBioJumpRequired: true,
                    colorByRequired: true,
                    isAllColoringOptionAvailable: false,
                }),
                CTDNA_PLOT: new TabRecord({
                    tabId: TabId.CTDNA_PLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    multiDetailsOnDemandRequired: true,
                    plotSettingsRequired: true,
                    availableScaleTypes: [ScaleTypes.LINEAR_SCALE, ScaleTypes.LOGARITHMIC_SCALE],
                    scaleType: ScaleTypes.LOGARITHMIC_SCALE,
                    logarithmicScaleRequired: true,
                    isAllColoringOptionAvailable: false,
                    hasEventFilters: true,
                    colorByRequired: true
                }),
                TUMOUR_RESPONSE_PRIOR_THERAPY: new TabRecord({
                    tabId: TabId.TUMOUR_RESPONSE_PRIOR_THERAPY,
                    trellisDesign: TrellisDesign.CATEGORICAL_OVER_TIME,
                    isAllColoringOptionAvailable: true,
                    customControlLabels: [ColorByLabels.TIME_ON_COMPOUND, ColorByLabels.PRIOR_THERAPY, ColorByLabels.DATE_OF_DIAGNOSIS],
                    eventDetailsOnDemandDisabled: true,
                    colorByRequired: true,
                    legendSortingRequired: false,
                    hasEventFilters: true,
                    plotSettingsRequired: true,
                    plotSettings: Map({
                        trellisOptions: [],
                        trellisedBy: TherapiesType.MOST_RECENT_THERAPY
                    })
                }),
                TUMOUR_RESPONSE_WATERFALL_PLOT: new TabRecord({
                    tabId: TabId.TUMOUR_RESPONSE_WATERFALL_PLOT,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    detailsOnDemandDisabled: false,
                    eventDetailsOnDemandDisabled: true,
                    hasEventFilters: false,
                    colorByRequired: true,
                    filtersUpdateOnYAxisChangeRequired: true,
                    colorByUpdateOnSettingsChangeRequired: true,
                    isAllColoringOptionAvailable: false,
                    subPlotTabId: TabId.TL_DIAMETERS_PER_SUBJECT_PLOT,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
                TL_DIAMETERS_PER_SUBJECT_PLOT: new TabRecord({
                    tabId: TabId.TL_DIAMETERS_PER_SUBJECT_PLOT,
                    trellisDesign: TrellisDesign.CONTINUOUS_OVER_TIME,
                    hasEventFilters: false,
                    eventDetailsOnDemandDisabled: true,
                    detailsOnDemandDisabled: true,
                    parentSelectionPlot: TabId.TUMOUR_RESPONSE_WATERFALL_PLOT,
                    zoomIsHidden: true,
                    zoomDisabled: true
                }),
                QT_PROLONGATION: new TabRecord({
                    tabId: TabId.QT_PROLONGATION,
                    trellisDesign: TrellisDesign.CATEGORICAL_COUNTS_AND_PERCENTAGES,
                    colorByRequired: true,
                    hasEventFilters: false,
                    isAllColoringOptionAvailable: false,
                    zoomMargin: ZOOM_MARGIN_CONSTRAINT
                }),
            }
        });
    }