@memberjunction/ng-core-entity-forms 6.2.0-edge.1 → 6.2.0-edge.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts +1 -0
- package/dist/lib/custom/AIAgents/agent-form-tabs.d.ts.map +1 -1
- package/dist/lib/custom/AIAgents/agent-form-tabs.js +2 -0
- package/dist/lib/custom/AIAgents/agent-form-tabs.js.map +1 -1
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js +528 -521
- package/dist/lib/custom/AIAgents/ai-agent-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.d.ts.map +1 -1
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js +10 -16
- package/dist/lib/custom/AIPrompts/ai-prompt-form.component.js.map +1 -1
- package/dist/lib/custom/AIPrompts/pending-records.d.ts +11 -0
- package/dist/lib/custom/AIPrompts/pending-records.d.ts.map +1 -0
- package/dist/lib/custom/AIPrompts/pending-records.js +21 -0
- package/dist/lib/custom/AIPrompts/pending-records.js.map +1 -0
- package/dist/lib/custom/Entities/entity-form.component.d.ts +8 -1
- package/dist/lib/custom/Entities/entity-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Entities/entity-form.component.js +240 -147
- package/dist/lib/custom/Entities/entity-form.component.js.map +1 -1
- package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts +19 -0
- package/dist/lib/custom/RecordProcesses/record-process-form.component.d.ts.map +1 -1
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js +50 -8
- package/dist/lib/custom/RecordProcesses/record-process-form.component.js.map +1 -1
- package/dist/lib/custom/Rubrics/evaluation-form.component.d.ts +37 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.js +399 -0
- package/dist/lib/custom/Rubrics/evaluation-form.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/record-forms.component.d.ts +69 -0
- package/dist/lib/custom/Rubrics/record-forms.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/record-forms.component.js +587 -0
- package/dist/lib/custom/Rubrics/record-forms.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.d.ts +67 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.js +534 -0
- package/dist/lib/custom/Rubrics/rubric-form.component.js.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.d.ts +25 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.js +299 -0
- package/dist/lib/custom/Rubrics/rubric-form.panels.js.map +1 -0
- package/dist/lib/custom/Rubrics/scale-form.component.d.ts +31 -0
- package/dist/lib/custom/Rubrics/scale-form.component.d.ts.map +1 -0
- package/dist/lib/custom/Rubrics/scale-form.component.js +395 -0
- package/dist/lib/custom/Rubrics/scale-form.component.js.map +1 -0
- package/dist/lib/custom/Templates/templates-form.component.d.ts +13 -4
- package/dist/lib/custom/Templates/templates-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Templates/templates-form.component.js +110 -113
- package/dist/lib/custom/Templates/templates-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.d.ts +6 -0
- package/dist/lib/custom/Tests/test-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-form.component.js +402 -361
- package/dist/lib/custom/Tests/test-form.component.js.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts +5 -0
- package/dist/lib/custom/Tests/test-suite-form.component.d.ts.map +1 -1
- package/dist/lib/custom/Tests/test-suite-form.component.js +704 -664
- package/dist/lib/custom/Tests/test-suite-form.component.js.map +1 -1
- package/dist/lib/custom/Users/user-overview.panel.js +1 -1
- package/dist/lib/custom/Users/user-overview.panel.js.map +1 -1
- package/dist/lib/custom/custom-forms.module.d.ts +56 -48
- package/dist/lib/custom/custom-forms.module.d.ts.map +1 -1
- package/dist/lib/custom/custom-forms.module.js +60 -0
- package/dist/lib/custom/custom-forms.module.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js +61 -43
- package/dist/lib/generated/Entities/MJAIAgent/mjaiagent.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.js +74 -0
- package/dist/lib/generated/Entities/MJAIAgentRubric/mjaiagentrubric.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js +37 -19
- package/dist/lib/generated/Entities/MJAIAgentRun/mjaiagentrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js +31 -13
- package/dist/lib/generated/Entities/MJAIPromptRun/mjaipromptrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js +156 -84
- package/dist/lib/generated/Entities/MJEntity/mjentity.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.js +62 -0
- package/dist/lib/generated/Entities/MJFeaturePipelineType/mjfeaturepipelinetype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js +24 -6
- package/dist/lib/generated/Entities/MJProcessRun/mjprocessrun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js +24 -16
- package/dist/lib/generated/Entities/MJRecordChange/mjrecordchange.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRecordCloneLog/mjrecordclonelog.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.js +74 -0
- package/dist/lib/generated/Entities/MJRecordCloneLogItem/mjrecordclonelogitem.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.js +135 -0
- package/dist/lib/generated/Entities/MJRubric/mjrubric.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.js +87 -0
- package/dist/lib/generated/Entities/MJRubricBand/mjrubricband.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRubricCategory/mjrubriccategory.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.js +155 -0
- package/dist/lib/generated/Entities/MJRubricCriterion/mjrubriccriterion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.js +62 -0
- package/dist/lib/generated/Entities/MJRubricCriterionLevel/mjrubriccriterionlevel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.js +183 -0
- package/dist/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.js +120 -0
- package/dist/lib/generated/Entities/MJRubricEvaluationScore/mjrubricevaluationscore.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.js +107 -0
- package/dist/lib/generated/Entities/MJRubricScale/mjrubricscale.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.js +103 -0
- package/dist/lib/generated/Entities/MJRubricScaleLevel/mjrubricscalelevel.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.js +171 -0
- package/dist/lib/generated/Entities/MJRubricVersion/mjrubricversion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.js +24 -16
- package/dist/lib/generated/Entities/MJTest/mjtest.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuite/mjtestsuite.form.component.js +27 -25
- package/dist/lib/generated/Entities/MJTestSuite/mjtestsuite.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.js +19 -11
- package/dist/lib/generated/Entities/MJTestSuiteRun/mjtestsuiterun.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js +172 -118
- package/dist/lib/generated/Entities/MJUser/mjuser.form.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +436 -422
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +44 -2
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.d.ts +116 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.d.ts.map +1 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.js +820 -0
- package/dist/lib/panels/record-clone/entity-clone-config-editor.component.js.map +1 -0
- package/dist/lib/shared/components/template-editor.component.d.ts +25 -1
- package/dist/lib/shared/components/template-editor.component.d.ts.map +1 -1
- package/dist/lib/shared/components/template-editor.component.js +67 -3
- package/dist/lib/shared/components/template-editor.component.js.map +1 -1
- package/dist/public-api.d.ts +5 -0
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +5 -0
- package/dist/public-api.js.map +1 -1
- package/package.json +47 -43
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RunView } from '@memberjunction/core';
|
|
9
|
+
import { RegisterClass, RegisterClassEx } from '@memberjunction/global';
|
|
10
|
+
import { BaseFormComponent, BaseFormPanel, BaseFormPolicy, BaseFormsModule } from '@memberjunction/ng-base-forms';
|
|
11
|
+
import { RubricComparisonMatrixComponent, RubricResultComponent, BandFromRow, NodeFromRow, ScaleFromRow } from '@memberjunction/ng-rubrics';
|
|
12
|
+
import { MJRubricEvaluationFormComponent } from '../../generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
import * as i1 from "@memberjunction/ng-base-forms";
|
|
15
|
+
function MJRubricEvaluationFormComponentExtended_Conditional_53_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 55);
|
|
18
|
+
i0.ɵɵlistener("Navigate", function MJRubricEvaluationFormComponentExtended_Conditional_53_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJRubricEvaluationFormComponentExtended_Conditional_53_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJRubricEvaluations", $event.totalRowCount)); });
|
|
19
|
+
i0.ɵɵelementEnd()();
|
|
20
|
+
} if (rf & 2) {
|
|
21
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
22
|
+
i0.ɵɵadvance();
|
|
23
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Rubric Evaluations", "SupersedesEvaluationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Rubric Evaluations", "SupersedesEvaluationID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJRubricEvaluations"))("ShowToolbar", true);
|
|
24
|
+
} }
|
|
25
|
+
function MJRubricEvaluationFormComponentExtended_Conditional_55_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 55);
|
|
28
|
+
i0.ɵɵlistener("Navigate", function MJRubricEvaluationFormComponentExtended_Conditional_55_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function MJRubricEvaluationFormComponentExtended_Conditional_55_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJRubricEvaluationScores", $event.totalRowCount)); });
|
|
29
|
+
i0.ɵɵelementEnd()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance();
|
|
33
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Rubric Evaluation Scores", "EvaluationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Rubric Evaluation Scores", "EvaluationID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJRubricEvaluationScores"))("ShowToolbar", true);
|
|
34
|
+
} }
|
|
35
|
+
function RubricEvaluationResultPanel_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵelementStart(0, "p");
|
|
37
|
+
i0.ɵɵtext(1, "Loading the evaluation...");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
} }
|
|
40
|
+
function RubricEvaluationResultPanel_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelement(0, "mj-rubric-result", 1);
|
|
42
|
+
} if (rf & 2) {
|
|
43
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
44
|
+
i0.ɵɵproperty("Version", ctx_r0.Form.Version)("Result", ctx_r0.Form.Result)("Answers", ctx_r0.Form.Answers);
|
|
45
|
+
} }
|
|
46
|
+
function RubricEvaluationComparePanel_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
47
|
+
i0.ɵɵelementStart(0, "p");
|
|
48
|
+
i0.ɵɵtext(1, "Loading the cohort...");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
} }
|
|
51
|
+
function RubricEvaluationComparePanel_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelement(0, "mj-rubric-comparison-matrix", 1);
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
55
|
+
i0.ɵɵproperty("Provider", ctx_r0.Form.ProviderToUse)("RubricId", ctx_r0.Form.record.RubricID)("Major", ctx_r0.Form.record.RubricMajorVersion)("SubjectEntityId", ctx_r0.Form.record.SubjectEntityID)("ViewerStatus", ctx_r0.Form.record.Status)("ViewerEvaluationId", ctx_r0.Form.record.ID);
|
|
56
|
+
} }
|
|
57
|
+
/** Cohort figures stay hidden until the viewer's own evaluation leaves Draft. */
|
|
58
|
+
export const HIDDEN_DRAFT_EVALUATION_FIELDS = [
|
|
59
|
+
'CohortEvaluationCount',
|
|
60
|
+
'CohortScoredCount',
|
|
61
|
+
'CohortPassedCount',
|
|
62
|
+
'CohortMeanScore',
|
|
63
|
+
'CohortMinScore',
|
|
64
|
+
'CohortMaxScore',
|
|
65
|
+
'CohortScoreStdDev',
|
|
66
|
+
'CohortHumanCount',
|
|
67
|
+
'CohortHumanMeanScore',
|
|
68
|
+
'CohortAICount',
|
|
69
|
+
'CohortAIMeanScore',
|
|
70
|
+
'DeviationFromCohortMean',
|
|
71
|
+
];
|
|
72
|
+
/** Evaluation form. Loads the stored result and the cohort, and shows the read-only widgets. */
|
|
73
|
+
let MJRubricEvaluationFormComponentExtended = class MJRubricEvaluationFormComponentExtended extends MJRubricEvaluationFormComponent {
|
|
74
|
+
constructor() {
|
|
75
|
+
super(...arguments);
|
|
76
|
+
this.Loading = true;
|
|
77
|
+
this.Result = null;
|
|
78
|
+
this.Version = null;
|
|
79
|
+
this.Answers = [];
|
|
80
|
+
}
|
|
81
|
+
get formContext() {
|
|
82
|
+
const context = super.formContext;
|
|
83
|
+
if (this.record?.Status !== 'Draft')
|
|
84
|
+
return context;
|
|
85
|
+
return { ...context, hiddenFieldNames: [...HIDDEN_DRAFT_EVALUATION_FIELDS] };
|
|
86
|
+
}
|
|
87
|
+
async ngOnInit() {
|
|
88
|
+
await super.ngOnInit();
|
|
89
|
+
await this.LoadResult();
|
|
90
|
+
}
|
|
91
|
+
async LoadResult() {
|
|
92
|
+
this.Loading = true;
|
|
93
|
+
try {
|
|
94
|
+
const scores = await this.rows('MJ: Rubric Evaluation Scores', `EvaluationID='${this.record.ID}'`);
|
|
95
|
+
this.Answers = scores.map(row => ({
|
|
96
|
+
criterionId: String(row.CriterionID),
|
|
97
|
+
rationale: row.Rationale == null ? undefined : String(row.Rationale),
|
|
98
|
+
evidence: row.Evidence == null ? undefined : String(row.Evidence),
|
|
99
|
+
}));
|
|
100
|
+
const criterionLabel = (row) => String(row.Criterion || row.CriterionKey || row.CriterionID);
|
|
101
|
+
this.Result = {
|
|
102
|
+
normalizedScore: this.record.NormalizedScore ?? null,
|
|
103
|
+
completeness: this.record.Completeness ?? null,
|
|
104
|
+
outcome: (this.record.Outcome ?? 'Incomplete'),
|
|
105
|
+
passed: this.record.Passed ?? null,
|
|
106
|
+
gateFailed: this.record.GateFailed === true,
|
|
107
|
+
passThresholdApplied: this.record.PassThresholdApplied ?? null,
|
|
108
|
+
bandId: this.record.BandID ?? null,
|
|
109
|
+
confidence: this.record.Confidence ?? null,
|
|
110
|
+
scoredCriteriaCount: this.record.ScoredCriteriaCount ?? 0,
|
|
111
|
+
applicableCriteriaCount: this.record.ApplicableCriteriaCount ?? 0,
|
|
112
|
+
totalCriteriaCount: this.record.TotalCriteriaCount ?? 0,
|
|
113
|
+
scoringEngineVersion: '1.0',
|
|
114
|
+
nodes: scores.map(row => ({
|
|
115
|
+
id: String(row.CriterionID),
|
|
116
|
+
key: criterionLabel(row),
|
|
117
|
+
normalizedScore: row.NormalizedScore == null ? null : Number(row.NormalizedScore),
|
|
118
|
+
effectiveWeight: Number(row.EffectiveWeight ?? 0),
|
|
119
|
+
overallContribution: row.OverallContribution == null ? null : Number(row.OverallContribution),
|
|
120
|
+
completeness: row.Completeness == null ? null : Number(row.Completeness),
|
|
121
|
+
confidence: row.Confidence == null ? null : Number(row.Confidence),
|
|
122
|
+
gateFailed: row.GateFailed === true || row.GateFailed === 1,
|
|
123
|
+
isNotApplicable: row.IsNotApplicable === true || row.IsNotApplicable === 1,
|
|
124
|
+
isAdvisory: row.IsAdvisory === true || row.IsAdvisory === 1,
|
|
125
|
+
})),
|
|
126
|
+
};
|
|
127
|
+
const versions = await this.rows('MJ: Rubric Versions', `ID='${this.record.RubricVersionID}'`);
|
|
128
|
+
const version = versions[0];
|
|
129
|
+
if (version) {
|
|
130
|
+
const bands = (await this.rows('MJ: Rubric Bands', `RubricVersionID='${version.ID}'`)).map(BandFromRow);
|
|
131
|
+
const criteria = (await this.rows('MJ: Rubric Criteria', `RubricVersionID='${version.ID}'`)).map(row => NodeFromRow(row));
|
|
132
|
+
const scaleIds = [...new Set(criteria.map(node => node.scaleId).filter((id) => !!id))];
|
|
133
|
+
const scales = scaleIds.length === 0 ? [] : (await this.rows('MJ: Rubric Scales', `ID IN (${scaleIds.map(id => `'${id}'`).join(',')})`)).map(row => ScaleFromRow(row, []));
|
|
134
|
+
this.Version = {
|
|
135
|
+
id: String(version.ID),
|
|
136
|
+
rubricId: String(version.RubricID),
|
|
137
|
+
notApplicablePolicy: version.NotApplicablePolicy ?? 'ExcludeAndRedistribute',
|
|
138
|
+
scoreDisplayMin: version.ScoreDisplayMin == null ? 0 : Number(version.ScoreDisplayMin),
|
|
139
|
+
scoreDisplayMax: version.ScoreDisplayMax == null ? 100 : Number(version.ScoreDisplayMax),
|
|
140
|
+
nodes: criteria,
|
|
141
|
+
scales,
|
|
142
|
+
bands,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
finally {
|
|
147
|
+
this.Loading = false;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
async rows(entityName, filter) {
|
|
151
|
+
const view = RunView.FromMetadataProvider(this.ProviderToUse);
|
|
152
|
+
const result = await view.RunView({ EntityName: entityName, ExtraFilter: filter, ResultType: 'simple', MaxRows: 500 }, this.ProviderToUse.CurrentUser);
|
|
153
|
+
return (result.Results ?? []);
|
|
154
|
+
}
|
|
155
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMJRubricEvaluationFormComponentExtended_BaseFactory; return function MJRubricEvaluationFormComponentExtended_Factory(__ngFactoryType__) { return (ɵMJRubricEvaluationFormComponentExtended_BaseFactory || (ɵMJRubricEvaluationFormComponentExtended_BaseFactory = i0.ɵɵgetInheritedFactory(MJRubricEvaluationFormComponentExtended)))(__ngFactoryType__ || MJRubricEvaluationFormComponentExtended); }; })(); }
|
|
156
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJRubricEvaluationFormComponentExtended, selectors: [["mj-rubric-evaluation-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 57, vars: 221, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "RubricVersionID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubjectEntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubjectRecordID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContextEntityID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ContextRecordID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EvaluatorType", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EvaluatorUserID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AIPromptRunID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AIAgentRunID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EvaluatorName", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SupersedesEvaluationID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubmittedAt", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "PassThresholdApplied", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "NormalizedScore", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Passed", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Outcome", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "BandID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "GateFailed", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Completeness", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ScoredCriteriaCount", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ApplicableCriteriaCount", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TotalCriteriaCount", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Confidence", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Narrative", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ErrorMessage", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ScoringEngineVersion", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Metadata", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RubricID", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Rubric", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RubricMajorVersion", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RubricVersionLabel", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortEvaluationCount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortScoredCount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortPassedCount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortMeanScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortMinScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortMaxScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortScoreStdDev", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortHumanCount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortHumanMeanScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortAICount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "CohortAIMeanScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SelfAssessmentScore", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SelfAssessmentCount", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "DeviationFromCohortMean", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJRubricEvaluations", "SectionName", "Rubric Evaluations", "Icon", "fa fa-table", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJRubricEvaluationScores", "SectionName", "Rubric Evaluation Scores", "Icon", "fa fa-table", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function MJRubricEvaluationFormComponentExtended_Template(rf, ctx) { if (rf & 1) {
|
|
157
|
+
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
158
|
+
i0.ɵɵlistener("Navigate", function MJRubricEvaluationFormComponentExtended_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function MJRubricEvaluationFormComponentExtended_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function MJRubricEvaluationFormComponentExtended_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function MJRubricEvaluationFormComponentExtended_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function MJRubricEvaluationFormComponentExtended_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
159
|
+
i0.ɵɵelement(1, "mj-form-panel-slot", 1);
|
|
160
|
+
i0.ɵɵelementStart(2, "mj-collapsible-panel", 2);
|
|
161
|
+
i0.ɵɵelement(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)(14, "mj-form-field", 14)(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18)(19, "mj-form-field", 19)(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23)(24, "mj-form-field", 24)(25, "mj-form-field", 25)(26, "mj-form-field", 26)(27, "mj-form-field", 27)(28, "mj-form-field", 28)(29, "mj-form-field", 29)(30, "mj-form-field", 30)(31, "mj-form-field", 31)(32, "mj-form-field", 32)(33, "mj-form-field", 33)(34, "mj-form-field", 34)(35, "mj-form-field", 35)(36, "mj-form-field", 36)(37, "mj-form-field", 37)(38, "mj-form-field", 38)(39, "mj-form-field", 39)(40, "mj-form-field", 40)(41, "mj-form-field", 41)(42, "mj-form-field", 42)(43, "mj-form-field", 43)(44, "mj-form-field", 44)(45, "mj-form-field", 45)(46, "mj-form-field", 46)(47, "mj-form-field", 47)(48, "mj-form-field", 48)(49, "mj-form-field", 49)(50, "mj-form-field", 50);
|
|
162
|
+
i0.ɵɵelementEnd();
|
|
163
|
+
i0.ɵɵelement(51, "mj-form-panel-slot", 51);
|
|
164
|
+
i0.ɵɵelementStart(52, "mj-collapsible-panel", 52);
|
|
165
|
+
i0.ɵɵconditionalCreate(53, MJRubricEvaluationFormComponentExtended_Conditional_53_Template, 2, 4, "div");
|
|
166
|
+
i0.ɵɵelementEnd();
|
|
167
|
+
i0.ɵɵelementStart(54, "mj-collapsible-panel", 53);
|
|
168
|
+
i0.ɵɵconditionalCreate(55, MJRubricEvaluationFormComponentExtended_Conditional_55_Template, 2, 4, "div");
|
|
169
|
+
i0.ɵɵelementEnd();
|
|
170
|
+
i0.ɵɵelement(56, "mj-form-panel-slot", 54);
|
|
171
|
+
i0.ɵɵelementEnd();
|
|
172
|
+
} if (rf & 2) {
|
|
173
|
+
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
174
|
+
i0.ɵɵadvance();
|
|
175
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
176
|
+
i0.ɵɵadvance();
|
|
177
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
178
|
+
i0.ɵɵadvance();
|
|
179
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
180
|
+
i0.ɵɵadvance();
|
|
181
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
182
|
+
i0.ɵɵadvance();
|
|
183
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
184
|
+
i0.ɵɵadvance();
|
|
185
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
186
|
+
i0.ɵɵadvance();
|
|
187
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
188
|
+
i0.ɵɵadvance();
|
|
189
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
190
|
+
i0.ɵɵadvance();
|
|
191
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
192
|
+
i0.ɵɵadvance();
|
|
193
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
194
|
+
i0.ɵɵadvance();
|
|
195
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
196
|
+
i0.ɵɵadvance();
|
|
197
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
198
|
+
i0.ɵɵadvance();
|
|
199
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
200
|
+
i0.ɵɵadvance();
|
|
201
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
202
|
+
i0.ɵɵadvance();
|
|
203
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
204
|
+
i0.ɵɵadvance();
|
|
205
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
206
|
+
i0.ɵɵadvance();
|
|
207
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
208
|
+
i0.ɵɵadvance();
|
|
209
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
210
|
+
i0.ɵɵadvance();
|
|
211
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
212
|
+
i0.ɵɵadvance();
|
|
213
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
214
|
+
i0.ɵɵadvance();
|
|
215
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
216
|
+
i0.ɵɵadvance();
|
|
217
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
218
|
+
i0.ɵɵadvance();
|
|
219
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
220
|
+
i0.ɵɵadvance();
|
|
221
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
222
|
+
i0.ɵɵadvance();
|
|
223
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
224
|
+
i0.ɵɵadvance();
|
|
225
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
226
|
+
i0.ɵɵadvance();
|
|
227
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
228
|
+
i0.ɵɵadvance();
|
|
229
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
230
|
+
i0.ɵɵadvance();
|
|
231
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
232
|
+
i0.ɵɵadvance();
|
|
233
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
234
|
+
i0.ɵɵadvance();
|
|
235
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
236
|
+
i0.ɵɵadvance();
|
|
237
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
238
|
+
i0.ɵɵadvance();
|
|
239
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
240
|
+
i0.ɵɵadvance();
|
|
241
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
242
|
+
i0.ɵɵadvance();
|
|
243
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
244
|
+
i0.ɵɵadvance();
|
|
245
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
246
|
+
i0.ɵɵadvance();
|
|
247
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
248
|
+
i0.ɵɵadvance();
|
|
249
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
250
|
+
i0.ɵɵadvance();
|
|
251
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
252
|
+
i0.ɵɵadvance();
|
|
253
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
254
|
+
i0.ɵɵadvance();
|
|
255
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
256
|
+
i0.ɵɵadvance();
|
|
257
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
258
|
+
i0.ɵɵadvance();
|
|
259
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
260
|
+
i0.ɵɵadvance();
|
|
261
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
262
|
+
i0.ɵɵadvance();
|
|
263
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
264
|
+
i0.ɵɵadvance();
|
|
265
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
266
|
+
i0.ɵɵadvance();
|
|
267
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
268
|
+
i0.ɵɵadvance();
|
|
269
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
270
|
+
i0.ɵɵadvance();
|
|
271
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
272
|
+
i0.ɵɵadvance();
|
|
273
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
274
|
+
i0.ɵɵadvance();
|
|
275
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
276
|
+
i0.ɵɵadvance();
|
|
277
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJRubricEvaluations"))("DefaultExpanded", false);
|
|
278
|
+
i0.ɵɵadvance();
|
|
279
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 53 : -1);
|
|
280
|
+
i0.ɵɵadvance();
|
|
281
|
+
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJRubricEvaluationScores"))("DefaultExpanded", false);
|
|
282
|
+
i0.ɵɵadvance();
|
|
283
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 55 : -1);
|
|
284
|
+
i0.ɵɵadvance();
|
|
285
|
+
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
286
|
+
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 }); }
|
|
287
|
+
};
|
|
288
|
+
MJRubricEvaluationFormComponentExtended = __decorate([
|
|
289
|
+
RegisterClass(BaseFormComponent, 'MJ: Rubric Evaluations')
|
|
290
|
+
], MJRubricEvaluationFormComponentExtended);
|
|
291
|
+
export { MJRubricEvaluationFormComponentExtended };
|
|
292
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJRubricEvaluationFormComponentExtended, [{
|
|
293
|
+
type: Component,
|
|
294
|
+
args: [{ standalone: false, selector: 'mj-rubric-evaluation-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricVersionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubjectEntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubjectRecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContextEntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContextRecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorType\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIPromptRunID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIAgentRunID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorName\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupersedesEvaluationID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubmittedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PassThresholdApplied\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NormalizedScore\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Passed\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Outcome\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BandID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"GateFailed\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Completeness\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ScoredCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ApplicableCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TotalCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Confidence\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Narrative\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ErrorMessage\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ScoringEngineVersion\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Metadata\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Rubric\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricMajorVersion\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricVersionLabel\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortEvaluationCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortScoredCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortPassedCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMinScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMaxScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortScoreStdDev\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortHumanCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortHumanMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortAICount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortAIMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SelfAssessmentScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SelfAssessmentCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeviationFromCohortMean\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Rubric Evaluations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRubricEvaluations\"\n SectionName=\"Rubric Evaluations\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRubricEvaluations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Rubric Evaluations','SupersedesEvaluationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Rubric Evaluations','SupersedesEvaluationID')\"\n [AllowLoad]=\"IsSectionExpanded('mJRubricEvaluations')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRubricEvaluations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Rubric Evaluation Scores Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRubricEvaluationScores\"\n SectionName=\"Rubric Evaluation Scores\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRubricEvaluationScores')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Rubric Evaluation Scores','EvaluationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Rubric Evaluation Scores','EvaluationID')\"\n [AllowLoad]=\"IsSectionExpanded('mJRubricEvaluationScores')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRubricEvaluationScores', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
|
|
295
|
+
}], null, null); })();
|
|
296
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJRubricEvaluationFormComponentExtended, { className: "MJRubricEvaluationFormComponentExtended", filePath: "src/lib/custom/Rubrics/evaluation-form.component.ts", lineNumber: 33 }); })();
|
|
297
|
+
/** The evaluation record uses the left-nav rail. Result and comparison are their own items. */
|
|
298
|
+
let RubricEvaluationFormPolicy = class RubricEvaluationFormPolicy extends BaseFormPolicy {
|
|
299
|
+
DecorateChrome(spec, _ctx) {
|
|
300
|
+
return { ...spec, Layout: 'left-nav' };
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
RubricEvaluationFormPolicy = __decorate([
|
|
304
|
+
RegisterClassEx(BaseFormPolicy, { key: 'MJ: Rubric Evaluations', metadata: { entity: 'MJ: Rubric Evaluations' } })
|
|
305
|
+
], RubricEvaluationFormPolicy);
|
|
306
|
+
export { RubricEvaluationFormPolicy };
|
|
307
|
+
function evaluationForm(panel) {
|
|
308
|
+
return panel.FormComponent;
|
|
309
|
+
}
|
|
310
|
+
let RubricEvaluationResultPanel = class RubricEvaluationResultPanel extends BaseFormPanel {
|
|
311
|
+
get Form() { return evaluationForm(this); }
|
|
312
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRubricEvaluationResultPanel_BaseFactory; return function RubricEvaluationResultPanel_Factory(__ngFactoryType__) { return (ɵRubricEvaluationResultPanel_BaseFactory || (ɵRubricEvaluationResultPanel_BaseFactory = i0.ɵɵgetInheritedFactory(RubricEvaluationResultPanel)))(__ngFactoryType__ || RubricEvaluationResultPanel); }; })(); }
|
|
313
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RubricEvaluationResultPanel, selectors: [["mj-rubric-eval-result-panel"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [["SectionKey", "rubric-eval-result", "SectionName", "Result", "Icon", "fa-solid fa-square-poll-vertical", 3, "Form", "FormContext", "DefaultExpanded"], [3, "Version", "Result", "Answers"]], template: function RubricEvaluationResultPanel_Template(rf, ctx) { if (rf & 1) {
|
|
314
|
+
i0.ɵɵelementStart(0, "mj-collapsible-panel", 0);
|
|
315
|
+
i0.ɵɵconditionalCreate(1, RubricEvaluationResultPanel_Conditional_1_Template, 2, 0, "p")(2, RubricEvaluationResultPanel_Conditional_2_Template, 1, 3, "mj-rubric-result", 1);
|
|
316
|
+
i0.ɵɵelementEnd();
|
|
317
|
+
} if (rf & 2) {
|
|
318
|
+
i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext)("DefaultExpanded", true);
|
|
319
|
+
i0.ɵɵadvance();
|
|
320
|
+
i0.ɵɵconditional(ctx.Form.Loading ? 1 : 2);
|
|
321
|
+
} }, dependencies: [BaseFormsModule, i1.MjCollapsiblePanelComponent, RubricResultComponent], encapsulation: 2 }); }
|
|
322
|
+
};
|
|
323
|
+
RubricEvaluationResultPanel = __decorate([
|
|
324
|
+
RegisterClassEx(BaseFormPanel, {
|
|
325
|
+
key: 'form-panel:MJRubricEvaluations:result',
|
|
326
|
+
metadata: {
|
|
327
|
+
entity: 'MJ: Rubric Evaluations',
|
|
328
|
+
slot: 'before-fields',
|
|
329
|
+
sortKey: 100,
|
|
330
|
+
contributionKey: 'rubric-eval-result',
|
|
331
|
+
inclusion: 'Primary',
|
|
332
|
+
leadsWhenUnsaved: true,
|
|
333
|
+
},
|
|
334
|
+
})
|
|
335
|
+
], RubricEvaluationResultPanel);
|
|
336
|
+
export { RubricEvaluationResultPanel };
|
|
337
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RubricEvaluationResultPanel, [{
|
|
338
|
+
type: Component,
|
|
339
|
+
args: [{
|
|
340
|
+
selector: 'mj-rubric-eval-result-panel',
|
|
341
|
+
standalone: true,
|
|
342
|
+
imports: [BaseFormsModule, RubricResultComponent],
|
|
343
|
+
template: `
|
|
344
|
+
<mj-collapsible-panel SectionKey="rubric-eval-result" SectionName="Result" Icon="fa-solid fa-square-poll-vertical" [Form]="FormComponent" [FormContext]="FormContext" [DefaultExpanded]="true">
|
|
345
|
+
@if (Form.Loading) {
|
|
346
|
+
<p>Loading the evaluation...</p>
|
|
347
|
+
} @else {
|
|
348
|
+
<mj-rubric-result [Version]="Form.Version" [Result]="Form.Result" [Answers]="Form.Answers"></mj-rubric-result>
|
|
349
|
+
}
|
|
350
|
+
</mj-collapsible-panel>
|
|
351
|
+
`,
|
|
352
|
+
}]
|
|
353
|
+
}], null, null); })();
|
|
354
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RubricEvaluationResultPanel, { className: "RubricEvaluationResultPanel", filePath: "src/lib/custom/Rubrics/evaluation-form.component.ts", lineNumber: 154 }); })();
|
|
355
|
+
let RubricEvaluationComparePanel = class RubricEvaluationComparePanel extends BaseFormPanel {
|
|
356
|
+
get Form() { return evaluationForm(this); }
|
|
357
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRubricEvaluationComparePanel_BaseFactory; return function RubricEvaluationComparePanel_Factory(__ngFactoryType__) { return (ɵRubricEvaluationComparePanel_BaseFactory || (ɵRubricEvaluationComparePanel_BaseFactory = i0.ɵɵgetInheritedFactory(RubricEvaluationComparePanel)))(__ngFactoryType__ || RubricEvaluationComparePanel); }; })(); }
|
|
358
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RubricEvaluationComparePanel, selectors: [["mj-rubric-eval-compare-panel"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 4, consts: [["SectionKey", "rubric-eval-compare", "SectionName", "Comparison", "Icon", "fa-solid fa-table-cells", 3, "Form", "FormContext", "DefaultExpanded"], [3, "Provider", "RubricId", "Major", "SubjectEntityId", "ViewerStatus", "ViewerEvaluationId"]], template: function RubricEvaluationComparePanel_Template(rf, ctx) { if (rf & 1) {
|
|
359
|
+
i0.ɵɵelementStart(0, "mj-collapsible-panel", 0);
|
|
360
|
+
i0.ɵɵconditionalCreate(1, RubricEvaluationComparePanel_Conditional_1_Template, 2, 0, "p")(2, RubricEvaluationComparePanel_Conditional_2_Template, 1, 6, "mj-rubric-comparison-matrix", 1);
|
|
361
|
+
i0.ɵɵelementEnd();
|
|
362
|
+
} if (rf & 2) {
|
|
363
|
+
i0.ɵɵproperty("Form", ctx.FormComponent)("FormContext", ctx.FormContext)("DefaultExpanded", true);
|
|
364
|
+
i0.ɵɵadvance();
|
|
365
|
+
i0.ɵɵconditional(ctx.Form.Loading ? 1 : 2);
|
|
366
|
+
} }, dependencies: [BaseFormsModule, i1.MjCollapsiblePanelComponent, RubricComparisonMatrixComponent], encapsulation: 2 }); }
|
|
367
|
+
};
|
|
368
|
+
RubricEvaluationComparePanel = __decorate([
|
|
369
|
+
RegisterClassEx(BaseFormPanel, {
|
|
370
|
+
key: 'form-panel:MJRubricEvaluations:compare',
|
|
371
|
+
metadata: {
|
|
372
|
+
entity: 'MJ: Rubric Evaluations',
|
|
373
|
+
slot: 'before-fields',
|
|
374
|
+
sortKey: 90,
|
|
375
|
+
contributionKey: 'rubric-eval-compare',
|
|
376
|
+
inclusion: 'Primary',
|
|
377
|
+
},
|
|
378
|
+
})
|
|
379
|
+
], RubricEvaluationComparePanel);
|
|
380
|
+
export { RubricEvaluationComparePanel };
|
|
381
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RubricEvaluationComparePanel, [{
|
|
382
|
+
type: Component,
|
|
383
|
+
args: [{
|
|
384
|
+
selector: 'mj-rubric-eval-compare-panel',
|
|
385
|
+
standalone: true,
|
|
386
|
+
imports: [BaseFormsModule, RubricComparisonMatrixComponent],
|
|
387
|
+
template: `
|
|
388
|
+
<mj-collapsible-panel SectionKey="rubric-eval-compare" SectionName="Comparison" Icon="fa-solid fa-table-cells" [Form]="FormComponent" [FormContext]="FormContext" [DefaultExpanded]="true">
|
|
389
|
+
@if (Form.Loading) {
|
|
390
|
+
<p>Loading the cohort...</p>
|
|
391
|
+
} @else {
|
|
392
|
+
<mj-rubric-comparison-matrix [Provider]="Form.ProviderToUse" [RubricId]="Form.record.RubricID" [Major]="Form.record.RubricMajorVersion" [SubjectEntityId]="Form.record.SubjectEntityID" [ViewerStatus]="Form.record.Status" [ViewerEvaluationId]="Form.record.ID"></mj-rubric-comparison-matrix>
|
|
393
|
+
}
|
|
394
|
+
</mj-collapsible-panel>
|
|
395
|
+
`,
|
|
396
|
+
}]
|
|
397
|
+
}], null, null); })();
|
|
398
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RubricEvaluationComparePanel, { className: "RubricEvaluationComparePanel", filePath: "src/lib/custom/Rubrics/evaluation-form.component.ts", lineNumber: 182 }); })();
|
|
399
|
+
//# sourceMappingURL=evaluation-form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluation-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Rubrics/evaluation-form.component.ts","../../../../src/lib/generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAE/C,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,eAAe,EAA+C,MAAM,+BAA+B,CAAC;AAC/J,OAAO,EAAE,+BAA+B,EAAE,qBAAqB,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAyB,MAAM,4BAA4B,CAAC;AAEnK,OAAO,EAAE,+BAA+B,EAAE,MAAM,+EAA+E,CAAC;;;;;ICyapH,AADJ,2BAAK,uCAQI;IADD,AADA,8OAAY,6BAAsB,KAAC,2OAClB,0BAAmB,qBAAqB,uBAAuB,KAAC;IAGzF,AADI,iBAA+B,EAC7B;;;IARE,cAAqG;IAGrG,AADA,AADA,AADA,2HAAqG,+FACf,8DAChC,qBAClC;;;;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X;YAGX,iBAAuB;;YAN2I,AAA5B,AAAvB,wCAAsB,gCAA4B,yBAAyB;YACxL,cAIC;YAJD,0CAIC;4BAPK,eAAe,kCAAE,+BAA+B;;AAWjD,4BAA4B;IAxBxC,eAAe,CAAC,aAAa,EAAE;QAC5B,GAAG,EAAE,wCAAwC;QAC7C,QAAQ,EAAE;YACN,MAAM,EAAE,wBAAwB;YAChC,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,EAAE;YACX,eAAe,EAAE,qBAAqB;YACtC,SAAS,EAAE,SAAS;SACvB;KACJ,CAAC;GAeW,4BAA4B,CAExC;;iFAFY,4BAA4B;cAdxC,SAAS;eAAC;gBACP,QAAQ,EAAE,8BAA8B;gBACxC,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,eAAe,EAAE,+BAA+B,CAAC;gBAC3D,QAAQ,EAAE;;;;;;;;KAQT;aACJ;;kFACY,4BAA4B","sourcesContent":["import { Component } from '@angular/core';\nimport { RunView } from '@memberjunction/core';\nimport { MJRubricEvaluationEntity } from '@memberjunction/core-entities';\nimport { RegisterClass, RegisterClassEx } from '@memberjunction/global';\nimport { BaseFormComponent, BaseFormPanel, BaseFormPolicy, BaseFormsModule, type FormChromeContext, type FormChromeSpec } from '@memberjunction/ng-base-forms';\nimport { RubricComparisonMatrixComponent, RubricResultComponent, BandFromRow, NodeFromRow, ScaleFromRow, type RubricFormAnswer } from '@memberjunction/ng-rubrics';\nimport type { RubricScoreResult, RubricVersionSnapshot } from '@memberjunction/rubrics-base';\nimport { MJRubricEvaluationFormComponent } from '../../generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component';\n\n/** Cohort figures stay hidden until the viewer's own evaluation leaves Draft. */\nexport const HIDDEN_DRAFT_EVALUATION_FIELDS = [\n 'CohortEvaluationCount',\n 'CohortScoredCount',\n 'CohortPassedCount',\n 'CohortMeanScore',\n 'CohortMinScore',\n 'CohortMaxScore',\n 'CohortScoreStdDev',\n 'CohortHumanCount',\n 'CohortHumanMeanScore',\n 'CohortAICount',\n 'CohortAIMeanScore',\n 'DeviationFromCohortMean',\n] as const;\n\n/** Evaluation form. Loads the stored result and the cohort, and shows the read-only widgets. */\n@RegisterClass(BaseFormComponent, 'MJ: Rubric Evaluations')\n@Component({\n standalone: false,\n selector: 'mj-rubric-evaluation-form',\n templateUrl: '../../generated/Entities/MJRubricEvaluation/mjrubricevaluation.form.component.html',\n})\nexport class MJRubricEvaluationFormComponentExtended extends MJRubricEvaluationFormComponent {\n public override record!: MJRubricEvaluationEntity;\n\n public override get formContext() {\n const context = super.formContext;\n if (this.record?.Status !== 'Draft') return context;\n return { ...context, hiddenFieldNames: [...HIDDEN_DRAFT_EVALUATION_FIELDS] };\n }\n public Loading = true;\n public Result: RubricScoreResult | null = null;\n public Version: RubricVersionSnapshot | null = null;\n public Answers: RubricFormAnswer[] = [];\n\n public override async ngOnInit(): Promise<void> {\n await super.ngOnInit();\n await this.LoadResult();\n }\n\n public async LoadResult(): Promise<void> {\n this.Loading = true;\n try {\n const scores = await this.rows('MJ: Rubric Evaluation Scores', `EvaluationID='${this.record.ID}'`);\n this.Answers = scores.map(row => ({\n criterionId: String(row.CriterionID),\n rationale: row.Rationale == null ? undefined : String(row.Rationale),\n evidence: row.Evidence == null ? undefined : String(row.Evidence),\n }));\n const criterionLabel = (row: Record<string, unknown>) => String(row.Criterion || row.CriterionKey || row.CriterionID);\n this.Result = {\n normalizedScore: this.record.NormalizedScore ?? null,\n completeness: this.record.Completeness ?? null,\n outcome: (this.record.Outcome ?? 'Incomplete') as RubricScoreResult['outcome'],\n passed: this.record.Passed ?? null,\n gateFailed: this.record.GateFailed === true,\n passThresholdApplied: this.record.PassThresholdApplied ?? null,\n bandId: this.record.BandID ?? null,\n confidence: this.record.Confidence ?? null,\n scoredCriteriaCount: this.record.ScoredCriteriaCount ?? 0,\n applicableCriteriaCount: this.record.ApplicableCriteriaCount ?? 0,\n totalCriteriaCount: this.record.TotalCriteriaCount ?? 0,\n scoringEngineVersion: '1.0',\n nodes: scores.map(row => ({\n id: String(row.CriterionID),\n key: criterionLabel(row),\n normalizedScore: row.NormalizedScore == null ? null : Number(row.NormalizedScore),\n effectiveWeight: Number(row.EffectiveWeight ?? 0),\n overallContribution: row.OverallContribution == null ? null : Number(row.OverallContribution),\n completeness: row.Completeness == null ? null : Number(row.Completeness),\n confidence: row.Confidence == null ? null : Number(row.Confidence),\n gateFailed: row.GateFailed === true || row.GateFailed === 1,\n isNotApplicable: row.IsNotApplicable === true || row.IsNotApplicable === 1,\n isAdvisory: row.IsAdvisory === true || row.IsAdvisory === 1,\n })),\n };\n const versions = await this.rows('MJ: Rubric Versions', `ID='${this.record.RubricVersionID}'`);\n const version = versions[0];\n if (version) {\n const bands = (await this.rows('MJ: Rubric Bands', `RubricVersionID='${version.ID}'`)).map(BandFromRow);\n const criteria = (await this.rows('MJ: Rubric Criteria', `RubricVersionID='${version.ID}'`)).map(row => NodeFromRow(row));\n const scaleIds = [...new Set(criteria.map(node => node.scaleId).filter((id): id is string => !!id))];\n const scales = scaleIds.length === 0 ? [] : (await this.rows('MJ: Rubric Scales', `ID IN (${scaleIds.map(id => `'${id}'`).join(',')})`)).map(row => ScaleFromRow(row, []));\n this.Version = {\n id: String(version.ID),\n rubricId: String(version.RubricID),\n notApplicablePolicy: (version.NotApplicablePolicy as RubricVersionSnapshot['notApplicablePolicy']) ?? 'ExcludeAndRedistribute',\n scoreDisplayMin: version.ScoreDisplayMin == null ? 0 : Number(version.ScoreDisplayMin),\n scoreDisplayMax: version.ScoreDisplayMax == null ? 100 : Number(version.ScoreDisplayMax),\n nodes: criteria,\n scales,\n bands,\n };\n }\n } finally {\n this.Loading = false;\n }\n }\n\n private async rows(entityName: string, filter: string): Promise<Record<string, unknown>[]> {\n const view = RunView.FromMetadataProvider(this.ProviderToUse);\n const result = await view.RunView({ EntityName: entityName, ExtraFilter: filter, ResultType: 'simple', MaxRows: 500 }, this.ProviderToUse.CurrentUser);\n return (result.Results ?? []) as Record<string, unknown>[];\n }\n}\n\n/** The evaluation record uses the left-nav rail. Result and comparison are their own items. */\n@RegisterClassEx(BaseFormPolicy, { key: 'MJ: Rubric Evaluations', metadata: { entity: 'MJ: Rubric Evaluations' } })\nexport class RubricEvaluationFormPolicy extends BaseFormPolicy {\n public override DecorateChrome(spec: FormChromeSpec, _ctx: FormChromeContext): FormChromeSpec {\n return { ...spec, Layout: 'left-nav' };\n }\n}\n\nfunction evaluationForm(panel: BaseFormPanel<MJRubricEvaluationEntity>): MJRubricEvaluationFormComponentExtended {\n return panel.FormComponent as MJRubricEvaluationFormComponentExtended;\n}\n\n@RegisterClassEx(BaseFormPanel, {\n key: 'form-panel:MJRubricEvaluations:result',\n metadata: {\n entity: 'MJ: Rubric Evaluations',\n slot: 'before-fields',\n sortKey: 100,\n contributionKey: 'rubric-eval-result',\n inclusion: 'Primary',\n leadsWhenUnsaved: true,\n },\n})\n@Component({\n selector: 'mj-rubric-eval-result-panel',\n standalone: true,\n imports: [BaseFormsModule, RubricResultComponent],\n template: `\n <mj-collapsible-panel SectionKey=\"rubric-eval-result\" SectionName=\"Result\" Icon=\"fa-solid fa-square-poll-vertical\" [Form]=\"FormComponent\" [FormContext]=\"FormContext\" [DefaultExpanded]=\"true\">\n @if (Form.Loading) {\n <p>Loading the evaluation...</p>\n } @else {\n <mj-rubric-result [Version]=\"Form.Version\" [Result]=\"Form.Result\" [Answers]=\"Form.Answers\"></mj-rubric-result>\n }\n </mj-collapsible-panel>\n `,\n})\nexport class RubricEvaluationResultPanel extends BaseFormPanel<MJRubricEvaluationEntity> {\n public get Form(): MJRubricEvaluationFormComponentExtended { return evaluationForm(this); }\n}\n\n@RegisterClassEx(BaseFormPanel, {\n key: 'form-panel:MJRubricEvaluations:compare',\n metadata: {\n entity: 'MJ: Rubric Evaluations',\n slot: 'before-fields',\n sortKey: 90,\n contributionKey: 'rubric-eval-compare',\n inclusion: 'Primary',\n },\n})\n@Component({\n selector: 'mj-rubric-eval-compare-panel',\n standalone: true,\n imports: [BaseFormsModule, RubricComparisonMatrixComponent],\n template: `\n <mj-collapsible-panel SectionKey=\"rubric-eval-compare\" SectionName=\"Comparison\" Icon=\"fa-solid fa-table-cells\" [Form]=\"FormComponent\" [FormContext]=\"FormContext\" [DefaultExpanded]=\"true\">\n @if (Form.Loading) {\n <p>Loading the cohort...</p>\n } @else {\n <mj-rubric-comparison-matrix [Provider]=\"Form.ProviderToUse\" [RubricId]=\"Form.record.RubricID\" [Major]=\"Form.record.RubricMajorVersion\" [SubjectEntityId]=\"Form.record.SubjectEntityID\" [ViewerStatus]=\"Form.record.Status\" [ViewerEvaluationId]=\"Form.record.ID\"></mj-rubric-comparison-matrix>\n }\n </mj-collapsible-panel>\n `,\n})\nexport class RubricEvaluationComparePanel extends BaseFormPanel<MJRubricEvaluationEntity> {\n public get Form(): MJRubricEvaluationFormComponentExtended { return evaluationForm(this); }\n}\n","<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricVersionID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubjectEntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubjectRecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContextEntityID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ContextRecordID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorType\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorUserID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIPromptRunID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AIAgentRunID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EvaluatorName\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SupersedesEvaluationID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubmittedAt\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PassThresholdApplied\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"NormalizedScore\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Passed\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Outcome\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"BandID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"GateFailed\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Completeness\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ScoredCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ApplicableCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TotalCriteriaCount\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Confidence\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Narrative\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ErrorMessage\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ScoringEngineVersion\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Metadata\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Rubric\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricMajorVersion\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RubricVersionLabel\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortEvaluationCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortScoredCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortPassedCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMinScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortMaxScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortScoreStdDev\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortHumanCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortHumanMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortAICount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CohortAIMeanScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SelfAssessmentScore\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SelfAssessmentCount\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"DeviationFromCohortMean\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Rubric Evaluations Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRubricEvaluations\"\n SectionName=\"Rubric Evaluations\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRubricEvaluations')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Rubric Evaluations','SupersedesEvaluationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Rubric Evaluations','SupersedesEvaluationID')\"\n [AllowLoad]=\"IsSectionExpanded('mJRubricEvaluations')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRubricEvaluations', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Rubric Evaluation Scores Section -->\n <mj-collapsible-panel\n SectionKey=\"mJRubricEvaluationScores\"\n SectionName=\"Rubric Evaluation Scores\"\n Icon=\"fa fa-table\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJRubricEvaluationScores')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Rubric Evaluation Scores','EvaluationID')\"\n [NewRecordValues]=\"NewRecordValues('MJ: Rubric Evaluation Scores','EvaluationID')\"\n [AllowLoad]=\"IsSectionExpanded('mJRubricEvaluationScores')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJRubricEvaluationScores', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n "]}
|