ngx-t-forms 3.1.6 → 3.1.8

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.
Files changed (119) hide show
  1. package/fesm2022/{ngx-t-forms-api-endpoint-config.component-Di79aHfa.mjs → ngx-t-forms-api-endpoint-config.component-B4a-L4Eq.mjs} +6 -6
  2. package/fesm2022/{ngx-t-forms-api-endpoint-config.component-Di79aHfa.mjs.map → ngx-t-forms-api-endpoint-config.component-B4a-L4Eq.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DJ84laIO.mjs → ngx-t-forms-auto-complete-input-element.component-DqRunUz4.mjs} +4 -4
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-DJ84laIO.mjs.map → ngx-t-forms-auto-complete-input-element.component-DqRunUz4.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-1wixvEKK.mjs → ngx-t-forms-basic-input-input-element.component-t8bTUgZ1.mjs} +14 -6
  6. package/fesm2022/ngx-t-forms-basic-input-input-element.component-t8bTUgZ1.mjs.map +1 -0
  7. package/fesm2022/ngx-t-forms-calculated-field-rules.component-PcjMdAKu.mjs +603 -0
  8. package/fesm2022/ngx-t-forms-calculated-field-rules.component-PcjMdAKu.mjs.map +1 -0
  9. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-D2LhKaem.mjs → ngx-t-forms-chip-options-creator-editor.component-Ca4rim_J.mjs} +2 -2
  10. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-D2LhKaem.mjs.map → ngx-t-forms-chip-options-creator-editor.component-Ca4rim_J.mjs.map} +1 -1
  11. package/fesm2022/{ngx-t-forms-conditional-display-config.component-DSyIhkWf.mjs → ngx-t-forms-conditional-display-config.component-Di7p76_n.mjs} +2 -2
  12. package/fesm2022/{ngx-t-forms-conditional-display-config.component-DSyIhkWf.mjs.map → ngx-t-forms-conditional-display-config.component-Di7p76_n.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-DSUAcg8R.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-CXMmDwKS.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-DSUAcg8R.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-CXMmDwKS.mjs.map} +1 -1
  15. package/fesm2022/{ngx-t-forms-data-source-picker.component-h_e5wDIJ.mjs → ngx-t-forms-data-source-picker.component-DioXvLi3.mjs} +6 -6
  16. package/fesm2022/{ngx-t-forms-data-source-picker.component-h_e5wDIJ.mjs.map → ngx-t-forms-data-source-picker.component-DioXvLi3.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-BPoqT0as.mjs → ngx-t-forms-date-picker-input-element.component-h0S6qZDT.mjs} +6 -6
  18. package/fesm2022/ngx-t-forms-date-picker-input-element.component-h0S6qZDT.mjs.map +1 -0
  19. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-DLeCZF3n.mjs → ngx-t-forms-date-range-picker-input-element.component-8c1ErbgP.mjs} +6 -6
  20. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-8c1ErbgP.mjs.map +1 -0
  21. package/fesm2022/{ngx-t-forms-date-time-picker-input-element.component-D2kj-knT.mjs → ngx-t-forms-date-time-picker-input-element.component-BgjGlXeq.mjs} +7 -6
  22. package/fesm2022/ngx-t-forms-date-time-picker-input-element.component-BgjGlXeq.mjs.map +1 -0
  23. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-BvQoKyeP.mjs → ngx-t-forms-document-list-label-config-editor.component-BhVM8PFR.mjs} +3 -3
  24. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-BvQoKyeP.mjs.map → ngx-t-forms-document-list-label-config-editor.component-BhVM8PFR.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-document-picker.component-D0hW0jUu.mjs → ngx-t-forms-document-picker.component-DYpsBHxT.mjs} +6 -254
  26. package/fesm2022/ngx-t-forms-document-picker.component-DYpsBHxT.mjs.map +1 -0
  27. package/fesm2022/{ngx-t-forms-editor-input-element.component-DlIfYjsU.mjs → ngx-t-forms-editor-input-element.component-CzNSb79n.mjs} +5 -5
  28. package/fesm2022/{ngx-t-forms-editor-input-element.component-DlIfYjsU.mjs.map → ngx-t-forms-editor-input-element.component-CzNSb79n.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Dv21OQ8v.mjs → ngx-t-forms-file-upload-input-element.component-FPxHxAwF.mjs} +7 -7
  30. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-Dv21OQ8v.mjs.map → ngx-t-forms-file-upload-input-element.component-FPxHxAwF.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-form-input-selector.component-HjtfeAew.mjs → ngx-t-forms-form-input-selector.component-B3ES53R-.mjs} +2 -2
  32. package/fesm2022/{ngx-t-forms-form-input-selector.component-HjtfeAew.mjs.map → ngx-t-forms-form-input-selector.component-B3ES53R-.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-form-json-view.component-XsTfLIOP.mjs → ngx-t-forms-form-json-view.component-Cu_ZEw1V.mjs} +2 -2
  34. package/fesm2022/{ngx-t-forms-form-json-view.component-XsTfLIOP.mjs.map → ngx-t-forms-form-json-view.component-Cu_ZEw1V.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-form-section-stepper.component-DF3-s7Ou.mjs → ngx-t-forms-form-section-stepper.component-DmTGnRgi.mjs} +4 -4
  36. package/fesm2022/{ngx-t-forms-form-section-stepper.component-DF3-s7Ou.mjs.map → ngx-t-forms-form-section-stepper.component-DmTGnRgi.mjs.map} +1 -1
  37. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-D_As34Ib.mjs → ngx-t-forms-forms-builder-menu.component-6m2BM9e9.mjs} +4 -4
  38. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-D_As34Ib.mjs.map → ngx-t-forms-forms-builder-menu.component-6m2BM9e9.mjs.map} +1 -1
  39. package/fesm2022/ngx-t-forms-forms-native-date-adapter-CCJT5ep1.mjs +187 -0
  40. package/fesm2022/ngx-t-forms-forms-native-date-adapter-CCJT5ep1.mjs.map +1 -0
  41. package/fesm2022/{ngx-t-forms-geo-location.component-BGg8uGQV.mjs → ngx-t-forms-geo-location.component-DgXSaH0t.mjs} +4 -4
  42. package/fesm2022/{ngx-t-forms-geo-location.component-BGg8uGQV.mjs.map → ngx-t-forms-geo-location.component-DgXSaH0t.mjs.map} +1 -1
  43. package/fesm2022/{ngx-t-forms-header-template-editor.component-D78_YC80.mjs → ngx-t-forms-header-template-editor.component-NJLm6jkA.mjs} +2 -2
  44. package/fesm2022/{ngx-t-forms-header-template-editor.component-D78_YC80.mjs.map → ngx-t-forms-header-template-editor.component-NJLm6jkA.mjs.map} +1 -1
  45. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-B2ldh1-n.mjs → ngx-t-forms-image-capture-input-element.component-iqPS9cPK.mjs} +4 -4
  46. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-B2ldh1-n.mjs.map → ngx-t-forms-image-capture-input-element.component-iqPS9cPK.mjs.map} +1 -1
  47. package/fesm2022/ngx-t-forms-index-zLon09cE.mjs +2 -0
  48. package/fesm2022/ngx-t-forms-index-zLon09cE.mjs.map +1 -0
  49. package/fesm2022/{ngx-t-forms-input-custom.component-BrZ59sIz.mjs → ngx-t-forms-input-custom.component-BOy_3JqU.mjs} +78 -23
  50. package/fesm2022/ngx-t-forms-input-custom.component-BOy_3JqU.mjs.map +1 -0
  51. package/fesm2022/{ngx-t-forms-input-editor.component-B5eMJWrz.mjs → ngx-t-forms-input-editor.component-IUrZNmA5.mjs} +3 -3
  52. package/fesm2022/{ngx-t-forms-input-editor.component-B5eMJWrz.mjs.map → ngx-t-forms-input-editor.component-IUrZNmA5.mjs.map} +1 -1
  53. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BOX1dYlB.mjs → ngx-t-forms-map-mat-options-keys-CtTAw9jk.mjs} +2 -2
  54. package/fesm2022/{ngx-t-forms-map-mat-options-keys-BOX1dYlB.mjs.map → ngx-t-forms-map-mat-options-keys-CtTAw9jk.mjs.map} +1 -1
  55. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-lv4MlFT8.mjs → ngx-t-forms-mat-chip-list-editor.component-C9bxVpQ1.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-lv4MlFT8.mjs.map → ngx-t-forms-mat-chip-list-editor.component-C9bxVpQ1.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DV55dGC2.mjs → ngx-t-forms-missing-form-configs.component-BpiCchqY.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-missing-form-configs.component-DV55dGC2.mjs.map → ngx-t-forms-missing-form-configs.component-BpiCchqY.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9hD1Cnq.mjs → ngx-t-forms-mscoa-chart-toolbar.component-CjUf0zTA.mjs} +2 -2
  60. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-C9hD1Cnq.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-CjUf0zTA.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-mscoa-config.component-BqgTVHRS.mjs → ngx-t-forms-mscoa-config.component-soUwIbVA.mjs} +15 -10
  62. package/fesm2022/ngx-t-forms-mscoa-config.component-soUwIbVA.mjs.map +1 -0
  63. package/fesm2022/ngx-t-forms-mscoa-segment-config.component--3DvQm1K.mjs +520 -0
  64. package/fesm2022/ngx-t-forms-mscoa-segment-config.component--3DvQm1K.mjs.map +1 -0
  65. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BZxpJRxJ.mjs +2472 -0
  66. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BZxpJRxJ.mjs.map +1 -0
  67. package/fesm2022/{ngx-t-forms-ngx-t-forms-XLA9yzak.mjs → ngx-t-forms-ngx-t-forms-CaVyRedJ.mjs} +4104 -441
  68. package/fesm2022/ngx-t-forms-ngx-t-forms-CaVyRedJ.mjs.map +1 -0
  69. package/fesm2022/{ngx-t-forms-paginated-selection-table-DisWM3sL.mjs → ngx-t-forms-paginated-selection-table-DzZE-Zde.mjs} +8 -6
  70. package/fesm2022/ngx-t-forms-paginated-selection-table-DzZE-Zde.mjs.map +1 -0
  71. package/fesm2022/{ngx-t-forms-payload-template-editor.component-DM4-3jzA.mjs → ngx-t-forms-payload-template-editor.component-CVj-G4MC.mjs} +2 -2
  72. package/fesm2022/{ngx-t-forms-payload-template-editor.component-DM4-3jzA.mjs.map → ngx-t-forms-payload-template-editor.component-CVj-G4MC.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-pipeline-generator.component-Bc8En673.mjs → ngx-t-forms-pipeline-generator.component-BMyZKOXv.mjs} +2 -2
  74. package/fesm2022/{ngx-t-forms-pipeline-generator.component-Bc8En673.mjs.map → ngx-t-forms-pipeline-generator.component-BMyZKOXv.mjs.map} +1 -1
  75. package/fesm2022/{ngx-t-forms-quill-input.component-CN3aorpW.mjs → ngx-t-forms-quill-input.component-oUnmMDGi.mjs} +2 -2
  76. package/fesm2022/{ngx-t-forms-quill-input.component-CN3aorpW.mjs.map → ngx-t-forms-quill-input.component-oUnmMDGi.mjs.map} +1 -1
  77. package/fesm2022/{ngx-t-forms-record-list-manager.component-CpyrWNo5.mjs → ngx-t-forms-record-list-manager.component-CdQU6loA.mjs} +2 -2
  78. package/fesm2022/{ngx-t-forms-record-list-manager.component-CpyrWNo5.mjs.map → ngx-t-forms-record-list-manager.component-CdQU6loA.mjs.map} +1 -1
  79. package/fesm2022/{ngx-t-forms-required-inputs.component-CtUXVAvg.mjs → ngx-t-forms-required-inputs.component-BtfEsmva.mjs} +2 -2
  80. package/fesm2022/{ngx-t-forms-required-inputs.component-CtUXVAvg.mjs.map → ngx-t-forms-required-inputs.component-BtfEsmva.mjs.map} +1 -1
  81. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-a4z2V-a1.mjs → ngx-t-forms-rest-api-call-setup.component-B5w1Lvfo.mjs} +2 -2
  82. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-a4z2V-a1.mjs.map → ngx-t-forms-rest-api-call-setup.component-B5w1Lvfo.mjs.map} +1 -1
  83. package/fesm2022/{ngx-t-forms-section-report.component-D-FE0aL3.mjs → ngx-t-forms-section-report.component-CocLNrN5.mjs} +2 -2
  84. package/fesm2022/{ngx-t-forms-section-report.component-D-FE0aL3.mjs.map → ngx-t-forms-section-report.component-CocLNrN5.mjs.map} +1 -1
  85. package/fesm2022/{ngx-t-forms-select-input-element.component-Bwlqr26x.mjs → ngx-t-forms-select-input-element.component-B03O4cAK.mjs} +4 -4
  86. package/fesm2022/{ngx-t-forms-select-input-element.component-Bwlqr26x.mjs.map → ngx-t-forms-select-input-element.component-B03O4cAK.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BfaTlXQU.mjs → ngx-t-forms-selection-options-editor.component-CBdC0WCz.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-selection-options-editor.component-BfaTlXQU.mjs.map → ngx-t-forms-selection-options-editor.component-CBdC0WCz.mjs.map} +1 -1
  89. package/fesm2022/{ngx-t-forms-textarea-input-element.component-B35jrn-j.mjs → ngx-t-forms-textarea-input-element.component-GXiLEsTp.mjs} +4 -4
  90. package/fesm2022/{ngx-t-forms-textarea-input-element.component-B35jrn-j.mjs.map → ngx-t-forms-textarea-input-element.component-GXiLEsTp.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cku3HoDl.mjs → ngx-t-forms-toggle-input-element.component-WErP0SsA.mjs} +4 -4
  92. package/fesm2022/{ngx-t-forms-toggle-input-element.component-Cku3HoDl.mjs.map → ngx-t-forms-toggle-input-element.component-WErP0SsA.mjs.map} +1 -1
  93. package/fesm2022/{ngx-t-forms-token-text-input.component-B1I95sk3.mjs → ngx-t-forms-token-text-input.component-BMzPBtY_.mjs} +2 -2
  94. package/fesm2022/{ngx-t-forms-token-text-input.component-B1I95sk3.mjs.map → ngx-t-forms-token-text-input.component-BMzPBtY_.mjs.map} +1 -1
  95. package/fesm2022/{ngx-t-forms-validators-config.component-yq3EGgU2.mjs → ngx-t-forms-validators-config.component-DWDBsV6a.mjs} +2 -2
  96. package/fesm2022/{ngx-t-forms-validators-config.component-yq3EGgU2.mjs.map → ngx-t-forms-validators-config.component-DWDBsV6a.mjs.map} +1 -1
  97. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-CZZX1hYU.mjs → ngx-t-forms-workflow-adjudication.component-DxObFakZ.mjs} +76 -17
  98. package/fesm2022/ngx-t-forms-workflow-adjudication.component-DxObFakZ.mjs.map +1 -0
  99. package/fesm2022/ngx-t-forms.mjs +1 -1
  100. package/package.json +2 -2
  101. package/types/ngx-t-forms.d.ts +463 -99
  102. package/fesm2022/ngx-t-forms-basic-input-input-element.component-1wixvEKK.mjs.map +0 -1
  103. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CMOyxJ4K.mjs +0 -603
  104. package/fesm2022/ngx-t-forms-calculated-field-rules.component-CMOyxJ4K.mjs.map +0 -1
  105. package/fesm2022/ngx-t-forms-date-picker-input-element.component-BPoqT0as.mjs.map +0 -1
  106. package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-DLeCZF3n.mjs.map +0 -1
  107. package/fesm2022/ngx-t-forms-date-time-picker-input-element.component-D2kj-knT.mjs.map +0 -1
  108. package/fesm2022/ngx-t-forms-document-picker.component-D0hW0jUu.mjs.map +0 -1
  109. package/fesm2022/ngx-t-forms-index-CerXcX5U.mjs +0 -2
  110. package/fesm2022/ngx-t-forms-index-CerXcX5U.mjs.map +0 -1
  111. package/fesm2022/ngx-t-forms-input-custom.component-BrZ59sIz.mjs.map +0 -1
  112. package/fesm2022/ngx-t-forms-mscoa-config.component-BqgTVHRS.mjs.map +0 -1
  113. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-7w9J1RgE.mjs +0 -447
  114. package/fesm2022/ngx-t-forms-mscoa-segment-config.component-7w9J1RgE.mjs.map +0 -1
  115. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BbbRpwPw.mjs +0 -2336
  116. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BbbRpwPw.mjs.map +0 -1
  117. package/fesm2022/ngx-t-forms-ngx-t-forms-XLA9yzak.mjs.map +0 -1
  118. package/fesm2022/ngx-t-forms-paginated-selection-table-DisWM3sL.mjs.map +0 -1
  119. package/fesm2022/ngx-t-forms-workflow-adjudication.component-CZZX1hYU.mjs.map +0 -1
@@ -10,7 +10,7 @@ import * as i2 from '@angular/material/button';
10
10
  import { MatButtonModule } from '@angular/material/button';
11
11
  import * as i5 from '@angular/material/tooltip';
12
12
  import { MatTooltipModule } from '@angular/material/tooltip';
13
- import { N as NGX_T_FORMS_CONFIG_TOKEN, b as getInputIcon, _ as _isEqual, D as DaysAgoPipe, B as BaseCustomInput, a2 as getInputErrorMessage, a3 as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-XLA9yzak.mjs';
13
+ import { N as NGX_T_FORMS_CONFIG_TOKEN, b as getInputIcon, a8 as injectFormsLocalization, _ as _isEqual, aF as formatCurrencyAmount, D as DaysAgoPipe, B as BaseCustomInput, a4 as getInputErrorMessage, a5 as TFormInputStatusComponent } from './ngx-t-forms-ngx-t-forms-CaVyRedJ.mjs';
14
14
  import { AsyncPipe, DecimalPipe, TitleCasePipe } from '@angular/common';
15
15
  import { AdjudicationSteps, InputDataTypes } from 'ngx-t-forms-types';
16
16
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@@ -36,8 +36,8 @@ import * as i4 from '@angular/material/progress-spinner';
36
36
  import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
37
37
  import * as i7 from '@angular/material/core';
38
38
  import { MatRippleModule } from '@angular/material/core';
39
- import { Q as QuillInputComponent } from './ngx-t-forms-quill-input.component-CN3aorpW.mjs';
40
- import * as i4$1 from '@angular/material/progress-bar';
39
+ import { Q as QuillInputComponent } from './ngx-t-forms-quill-input.component-oUnmMDGi.mjs';
40
+ import * as i1$2 from '@angular/material/progress-bar';
41
41
  import { MatProgressBarModule } from '@angular/material/progress-bar';
42
42
  import * as i5$3 from '@angular/material/expansion';
43
43
  import { MatExpansionModule } from '@angular/material/expansion';
@@ -60,11 +60,11 @@ class AdjudicationChartComponent {
60
60
  this.vm = input.required(...(ngDevMode ? [{ debugName: "vm" }] : /* istanbul ignore next */ []));
61
61
  }
62
62
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: AdjudicationChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
63
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: AdjudicationChartComponent, isStandalone: true, selector: "lib-adjudication-chart", inputs: { vm: { classPropertyName: "vm", publicName: "vm", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "lib-adjudication-chart" }, ngImport: i0, template: "@if (vm().caption) {\n <p class=\"chart-caption\">{{ vm().caption }}</p>\n}\n\n<div class=\"plot\">\n <!-- Zone + reference lines span the track column only (the fixed name and\n figure columns are excluded via the CSS column variables). -->\n <div class=\"overlay\" aria-hidden=\"true\">\n @if (vm().zonePct != null) {\n <div class=\"zone\" [style.width.%]=\"vm().zonePct\"></div>\n }\n @for (ref of vm().refs; track ref.label) {\n <div class=\"ref\" [class.warning]=\"ref.kind === 'warning'\" [style.left.%]=\"ref.pct\">\n <span>{{ ref.label }}</span>\n </div>\n }\n </div>\n\n @for (row of vm().rows; track row.id) {\n <div class=\"row\"\n [class.warning]=\"row.state === 'warning'\"\n [class.muted]=\"row.state === 'muted'\">\n <span class=\"name\" [matTooltip]=\"row.name\">{{ row.name }}</span>\n <div class=\"track\">\n <div class=\"bar primary\" [style.width.%]=\"row.primaryPct\"></div>\n @if (row.secondaryPct != null) {\n <div class=\"bar secondary\" [style.width.%]=\"row.secondaryPct\"></div>\n }\n </div>\n <span class=\"figures\">\n <span class=\"figure\">{{ row.primaryLabel }}</span>\n @if (row.secondaryLabel) {\n <span class=\"figure secondary-figure\">{{ row.secondaryLabel }}</span>\n }\n </span>\n @if (row.note) {\n <span class=\"note\">{{ row.note }}</span>\n }\n </div>\n }\n</div>\n\n@if (vm().legend.length) {\n <div class=\"legend\">\n @for (item of vm().legend; track item.label) {\n <span class=\"legend-item\">\n <span class=\"swatch\" [class]=\"'swatch ' + item.kind\"></span>{{ item.label }}\n </span>\n }\n </div>\n}\n@if (vm().footnote) {\n <p class=\"footnote\">{{ vm().footnote }}</p>\n}\n", styles: [":host{--adj-chart-name-col: 8.5rem;--adj-chart-fig-col: 8rem;display:block;padding:.25rem 0 1rem;font-variant-numeric:tabular-nums}.chart-caption{font-size:.8125rem;line-height:1.6;color:var(--lib-forms-on-surface-variant);max-width:38rem;margin:0 0 1.5rem}.plot{position:relative;padding-top:1.125rem}.overlay{position:absolute;top:0;bottom:0;left:calc(var(--adj-chart-name-col) + .75rem);right:calc(var(--adj-chart-fig-col) + .75rem);pointer-events:none}.zone{position:absolute;inset:1.125rem auto 0 0;background:color-mix(in srgb,var(--lib-forms-warning) 6%,transparent);border-radius:var(--lib-forms-radius-sm)}.ref{position:absolute;top:1.125rem;bottom:0;border-left:1px dashed color-mix(in srgb,var(--lib-forms-outline) 60%,transparent)}.ref span{position:absolute;top:-1.125rem;left:50%;transform:translate(-50%);font-size:.5625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--lib-forms-on-surface-variant)}.ref.warning{border-left-color:color-mix(in srgb,var(--lib-forms-warning) 70%,transparent)}.ref.warning span{color:var(--lib-forms-warning)}.row{display:grid;grid-template-columns:var(--adj-chart-name-col) 1fr var(--adj-chart-fig-col);grid-template-areas:\"name track figures\" \". note note\";align-items:center;column-gap:.75rem;padding:.375rem 0}.name{grid-area:name;font-size:.8125rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track{grid-area:track;display:flex;flex-direction:column;gap:.1875rem;min-width:0}.figures{grid-area:figures;display:flex;flex-direction:column;align-items:flex-end;font-size:.75rem;line-height:1.35;color:var(--lib-forms-on-surface)}.secondary-figure{color:var(--lib-forms-on-surface-variant);font-size:.6875rem}.note{grid-area:note;font-size:.6875rem;line-height:1.4;color:var(--lib-forms-on-surface-variant);padding-top:.125rem}.row.warning .note{color:var(--lib-forms-warning);font-weight:600}.bar{height:.4375rem;border-radius:999px;background:var(--lib-forms-primary);transition:width .6s cubic-bezier(.16,1,.3,1);min-width:2px}.bar.secondary{height:.1875rem;background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.row.warning .bar.primary{background:var(--lib-forms-warning)}.row.muted .name{text-decoration:line-through;opacity:.55}.row.muted .bar{opacity:.3}.row.muted .figures{opacity:.55}.legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.25rem;font-size:.6875rem;color:var(--lib-forms-on-surface-variant)}.swatch{display:inline-block;width:1rem;height:.4375rem;border-radius:999px;margin-right:.375rem;vertical-align:middle}.swatch.primary{background:var(--lib-forms-primary)}.swatch.warning{background:var(--lib-forms-warning)}.swatch.secondary{background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent);height:.1875rem}.footnote{font-size:.6875rem;opacity:.7;margin:.75rem 0 0}@media(max-width:640px){:host{--adj-chart-name-col: 5.5rem;--adj-chart-fig-col: 5.5rem}}\n"], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: AdjudicationChartComponent, isStandalone: true, selector: "lib-adjudication-chart", inputs: { vm: { classPropertyName: "vm", publicName: "vm", isSignal: true, isRequired: true, transformFunction: null } }, host: { classAttribute: "lib-adjudication-chart" }, ngImport: i0, template: "@if (vm().caption) {\n <p class=\"chart-caption\">{{ vm().caption }}</p>\n}\n\n<div class=\"plot\">\n <!-- Zone + reference lines span the track column only (the fixed name and\n figure columns are excluded via the CSS column variables). -->\n <div class=\"overlay\" aria-hidden=\"true\">\n @if (vm().zonePct != null) {\n <div class=\"zone\" [style.width.%]=\"vm().zonePct\"></div>\n }\n @for (ref of vm().refs; track ref.label) {\n <div class=\"ref\" [class.warning]=\"ref.kind === 'warning'\" [style.left.%]=\"ref.pct\">\n <span>{{ ref.label }}</span>\n </div>\n }\n </div>\n\n @for (row of vm().rows; track row.id) {\n <div class=\"row\"\n [class.warning]=\"row.state === 'warning'\"\n [class.muted]=\"row.state === 'muted'\">\n <span class=\"name\" [matTooltip]=\"row.name\">{{ row.name }}</span>\n <div class=\"track\">\n <div class=\"bar primary\" [style.width.%]=\"row.primaryPct\"></div>\n @if (row.secondaryPct != null) {\n <div class=\"bar secondary\" [style.width.%]=\"row.secondaryPct\"></div>\n }\n </div>\n <span class=\"figures\">\n <span class=\"figure\">{{ row.primaryLabel }}</span>\n @if (row.secondaryLabel) {\n <span class=\"figure secondary-figure\">{{ row.secondaryLabel }}</span>\n }\n </span>\n @if (row.note) {\n <span class=\"note\">{{ row.note }}</span>\n }\n </div>\n }\n</div>\n\n@if (vm().legend.length) {\n <div class=\"legend\">\n @for (item of vm().legend; track item.label) {\n <span class=\"legend-item\">\n <span class=\"swatch\" [class]=\"'swatch ' + item.kind\"></span>{{ item.label }}\n </span>\n }\n </div>\n}\n@if (vm().footnote) {\n <p class=\"footnote\">{{ vm().footnote }}</p>\n}\n", styles: [":host{--adj-chart-name-col: 8.5rem;--adj-chart-fig-col: 8rem;display:block;padding:.25rem 0 1rem;font-variant-numeric:tabular-nums}.chart-caption{font-size:.8125rem;line-height:1.6;color:var(--lib-forms-on-surface-variant);max-width:38rem;margin:0 0 1.5rem}.plot{position:relative;padding-top:1.125rem}.overlay{position:absolute;top:0;bottom:0;left:calc(var(--adj-chart-name-col) + .75rem);right:calc(var(--adj-chart-fig-col) + .75rem);pointer-events:none}.zone{position:absolute;inset:1.125rem auto 0 0;background:color-mix(in srgb,var(--lib-forms-warning) 6%,transparent);border-radius:var(--lib-forms-radius-sm)}.ref{position:absolute;top:1.125rem;bottom:0;border-left:1px dashed color-mix(in srgb,var(--lib-forms-outline) 60%,transparent)}.ref span{position:absolute;top:-1.125rem;left:.25rem;font-size:.5625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--lib-forms-on-surface-variant)}.ref.warning{border-left-color:color-mix(in srgb,var(--lib-forms-warning) 70%,transparent)}.ref.warning span{left:auto;right:.25rem;color:var(--lib-forms-warning)}.row{display:grid;grid-template-columns:var(--adj-chart-name-col) 1fr var(--adj-chart-fig-col);grid-template-areas:\"name track figures\" \". note note\";align-items:center;column-gap:.75rem;padding:.375rem 0}.name{grid-area:name;font-size:.8125rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track{grid-area:track;display:flex;flex-direction:column;gap:.1875rem;min-width:0}.figures{grid-area:figures;display:flex;flex-direction:column;align-items:flex-end;font-size:.75rem;line-height:1.35;color:var(--lib-forms-on-surface)}.secondary-figure{color:var(--lib-forms-on-surface-variant);font-size:.6875rem}.note{grid-area:note;font-size:.6875rem;line-height:1.4;color:var(--lib-forms-on-surface-variant);padding-top:.125rem}.row.warning .note{color:var(--lib-forms-warning);font-weight:600}.bar{height:.4375rem;border-radius:999px;background:var(--lib-forms-primary);transition:width .6s cubic-bezier(.16,1,.3,1);min-width:2px}.bar.secondary{height:.1875rem;background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.row.warning .bar.primary{background:var(--lib-forms-warning)}.row.muted .name{text-decoration:line-through;opacity:.55}.row.muted .bar{opacity:.3}.row.muted .figures{opacity:.55}.legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.25rem;font-size:.6875rem;color:var(--lib-forms-on-surface-variant)}.swatch{display:inline-block;width:1rem;height:.4375rem;border-radius:999px;margin-right:.375rem;vertical-align:middle}.swatch.primary{background:var(--lib-forms-primary)}.swatch.warning{background:var(--lib-forms-warning)}.swatch.secondary{background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent);height:.1875rem}.footnote{font-size:.6875rem;opacity:.7;margin:.75rem 0 0}@media(max-width:640px){:host{--adj-chart-name-col: 5.5rem;--adj-chart-fig-col: 5.5rem}}\n"], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
64
  }
65
65
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: AdjudicationChartComponent, decorators: [{
66
66
  type: Component,
67
- args: [{ selector: 'lib-adjudication-chart', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { 'class': 'lib-adjudication-chart' }, imports: [MatTooltipModule], template: "@if (vm().caption) {\n <p class=\"chart-caption\">{{ vm().caption }}</p>\n}\n\n<div class=\"plot\">\n <!-- Zone + reference lines span the track column only (the fixed name and\n figure columns are excluded via the CSS column variables). -->\n <div class=\"overlay\" aria-hidden=\"true\">\n @if (vm().zonePct != null) {\n <div class=\"zone\" [style.width.%]=\"vm().zonePct\"></div>\n }\n @for (ref of vm().refs; track ref.label) {\n <div class=\"ref\" [class.warning]=\"ref.kind === 'warning'\" [style.left.%]=\"ref.pct\">\n <span>{{ ref.label }}</span>\n </div>\n }\n </div>\n\n @for (row of vm().rows; track row.id) {\n <div class=\"row\"\n [class.warning]=\"row.state === 'warning'\"\n [class.muted]=\"row.state === 'muted'\">\n <span class=\"name\" [matTooltip]=\"row.name\">{{ row.name }}</span>\n <div class=\"track\">\n <div class=\"bar primary\" [style.width.%]=\"row.primaryPct\"></div>\n @if (row.secondaryPct != null) {\n <div class=\"bar secondary\" [style.width.%]=\"row.secondaryPct\"></div>\n }\n </div>\n <span class=\"figures\">\n <span class=\"figure\">{{ row.primaryLabel }}</span>\n @if (row.secondaryLabel) {\n <span class=\"figure secondary-figure\">{{ row.secondaryLabel }}</span>\n }\n </span>\n @if (row.note) {\n <span class=\"note\">{{ row.note }}</span>\n }\n </div>\n }\n</div>\n\n@if (vm().legend.length) {\n <div class=\"legend\">\n @for (item of vm().legend; track item.label) {\n <span class=\"legend-item\">\n <span class=\"swatch\" [class]=\"'swatch ' + item.kind\"></span>{{ item.label }}\n </span>\n }\n </div>\n}\n@if (vm().footnote) {\n <p class=\"footnote\">{{ vm().footnote }}</p>\n}\n", styles: [":host{--adj-chart-name-col: 8.5rem;--adj-chart-fig-col: 8rem;display:block;padding:.25rem 0 1rem;font-variant-numeric:tabular-nums}.chart-caption{font-size:.8125rem;line-height:1.6;color:var(--lib-forms-on-surface-variant);max-width:38rem;margin:0 0 1.5rem}.plot{position:relative;padding-top:1.125rem}.overlay{position:absolute;top:0;bottom:0;left:calc(var(--adj-chart-name-col) + .75rem);right:calc(var(--adj-chart-fig-col) + .75rem);pointer-events:none}.zone{position:absolute;inset:1.125rem auto 0 0;background:color-mix(in srgb,var(--lib-forms-warning) 6%,transparent);border-radius:var(--lib-forms-radius-sm)}.ref{position:absolute;top:1.125rem;bottom:0;border-left:1px dashed color-mix(in srgb,var(--lib-forms-outline) 60%,transparent)}.ref span{position:absolute;top:-1.125rem;left:50%;transform:translate(-50%);font-size:.5625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--lib-forms-on-surface-variant)}.ref.warning{border-left-color:color-mix(in srgb,var(--lib-forms-warning) 70%,transparent)}.ref.warning span{color:var(--lib-forms-warning)}.row{display:grid;grid-template-columns:var(--adj-chart-name-col) 1fr var(--adj-chart-fig-col);grid-template-areas:\"name track figures\" \". note note\";align-items:center;column-gap:.75rem;padding:.375rem 0}.name{grid-area:name;font-size:.8125rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track{grid-area:track;display:flex;flex-direction:column;gap:.1875rem;min-width:0}.figures{grid-area:figures;display:flex;flex-direction:column;align-items:flex-end;font-size:.75rem;line-height:1.35;color:var(--lib-forms-on-surface)}.secondary-figure{color:var(--lib-forms-on-surface-variant);font-size:.6875rem}.note{grid-area:note;font-size:.6875rem;line-height:1.4;color:var(--lib-forms-on-surface-variant);padding-top:.125rem}.row.warning .note{color:var(--lib-forms-warning);font-weight:600}.bar{height:.4375rem;border-radius:999px;background:var(--lib-forms-primary);transition:width .6s cubic-bezier(.16,1,.3,1);min-width:2px}.bar.secondary{height:.1875rem;background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.row.warning .bar.primary{background:var(--lib-forms-warning)}.row.muted .name{text-decoration:line-through;opacity:.55}.row.muted .bar{opacity:.3}.row.muted .figures{opacity:.55}.legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.25rem;font-size:.6875rem;color:var(--lib-forms-on-surface-variant)}.swatch{display:inline-block;width:1rem;height:.4375rem;border-radius:999px;margin-right:.375rem;vertical-align:middle}.swatch.primary{background:var(--lib-forms-primary)}.swatch.warning{background:var(--lib-forms-warning)}.swatch.secondary{background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent);height:.1875rem}.footnote{font-size:.6875rem;opacity:.7;margin:.75rem 0 0}@media(max-width:640px){:host{--adj-chart-name-col: 5.5rem;--adj-chart-fig-col: 5.5rem}}\n"] }]
67
+ args: [{ selector: 'lib-adjudication-chart', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { 'class': 'lib-adjudication-chart' }, imports: [MatTooltipModule], template: "@if (vm().caption) {\n <p class=\"chart-caption\">{{ vm().caption }}</p>\n}\n\n<div class=\"plot\">\n <!-- Zone + reference lines span the track column only (the fixed name and\n figure columns are excluded via the CSS column variables). -->\n <div class=\"overlay\" aria-hidden=\"true\">\n @if (vm().zonePct != null) {\n <div class=\"zone\" [style.width.%]=\"vm().zonePct\"></div>\n }\n @for (ref of vm().refs; track ref.label) {\n <div class=\"ref\" [class.warning]=\"ref.kind === 'warning'\" [style.left.%]=\"ref.pct\">\n <span>{{ ref.label }}</span>\n </div>\n }\n </div>\n\n @for (row of vm().rows; track row.id) {\n <div class=\"row\"\n [class.warning]=\"row.state === 'warning'\"\n [class.muted]=\"row.state === 'muted'\">\n <span class=\"name\" [matTooltip]=\"row.name\">{{ row.name }}</span>\n <div class=\"track\">\n <div class=\"bar primary\" [style.width.%]=\"row.primaryPct\"></div>\n @if (row.secondaryPct != null) {\n <div class=\"bar secondary\" [style.width.%]=\"row.secondaryPct\"></div>\n }\n </div>\n <span class=\"figures\">\n <span class=\"figure\">{{ row.primaryLabel }}</span>\n @if (row.secondaryLabel) {\n <span class=\"figure secondary-figure\">{{ row.secondaryLabel }}</span>\n }\n </span>\n @if (row.note) {\n <span class=\"note\">{{ row.note }}</span>\n }\n </div>\n }\n</div>\n\n@if (vm().legend.length) {\n <div class=\"legend\">\n @for (item of vm().legend; track item.label) {\n <span class=\"legend-item\">\n <span class=\"swatch\" [class]=\"'swatch ' + item.kind\"></span>{{ item.label }}\n </span>\n }\n </div>\n}\n@if (vm().footnote) {\n <p class=\"footnote\">{{ vm().footnote }}</p>\n}\n", styles: [":host{--adj-chart-name-col: 8.5rem;--adj-chart-fig-col: 8rem;display:block;padding:.25rem 0 1rem;font-variant-numeric:tabular-nums}.chart-caption{font-size:.8125rem;line-height:1.6;color:var(--lib-forms-on-surface-variant);max-width:38rem;margin:0 0 1.5rem}.plot{position:relative;padding-top:1.125rem}.overlay{position:absolute;top:0;bottom:0;left:calc(var(--adj-chart-name-col) + .75rem);right:calc(var(--adj-chart-fig-col) + .75rem);pointer-events:none}.zone{position:absolute;inset:1.125rem auto 0 0;background:color-mix(in srgb,var(--lib-forms-warning) 6%,transparent);border-radius:var(--lib-forms-radius-sm)}.ref{position:absolute;top:1.125rem;bottom:0;border-left:1px dashed color-mix(in srgb,var(--lib-forms-outline) 60%,transparent)}.ref span{position:absolute;top:-1.125rem;left:.25rem;font-size:.5625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;color:var(--lib-forms-on-surface-variant)}.ref.warning{border-left-color:color-mix(in srgb,var(--lib-forms-warning) 70%,transparent)}.ref.warning span{left:auto;right:.25rem;color:var(--lib-forms-warning)}.row{display:grid;grid-template-columns:var(--adj-chart-name-col) 1fr var(--adj-chart-fig-col);grid-template-areas:\"name track figures\" \". note note\";align-items:center;column-gap:.75rem;padding:.375rem 0}.name{grid-area:name;font-size:.8125rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.track{grid-area:track;display:flex;flex-direction:column;gap:.1875rem;min-width:0}.figures{grid-area:figures;display:flex;flex-direction:column;align-items:flex-end;font-size:.75rem;line-height:1.35;color:var(--lib-forms-on-surface)}.secondary-figure{color:var(--lib-forms-on-surface-variant);font-size:.6875rem}.note{grid-area:note;font-size:.6875rem;line-height:1.4;color:var(--lib-forms-on-surface-variant);padding-top:.125rem}.row.warning .note{color:var(--lib-forms-warning);font-weight:600}.bar{height:.4375rem;border-radius:999px;background:var(--lib-forms-primary);transition:width .6s cubic-bezier(.16,1,.3,1);min-width:2px}.bar.secondary{height:.1875rem;background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent)}.row.warning .bar.primary{background:var(--lib-forms-warning)}.row.muted .name{text-decoration:line-through;opacity:.55}.row.muted .bar{opacity:.3}.row.muted .figures{opacity:.55}.legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin-top:1.25rem;font-size:.6875rem;color:var(--lib-forms-on-surface-variant)}.swatch{display:inline-block;width:1rem;height:.4375rem;border-radius:999px;margin-right:.375rem;vertical-align:middle}.swatch.primary{background:var(--lib-forms-primary)}.swatch.warning{background:var(--lib-forms-warning)}.swatch.secondary{background:color-mix(in srgb,var(--lib-forms-primary) 30%,transparent);height:.1875rem}.footnote{font-size:.6875rem;opacity:.7;margin:.75rem 0 0}@media(max-width:640px){:host{--adj-chart-name-col: 5.5rem;--adj-chart-fig-col: 5.5rem}}\n"] }]
68
68
  }], propDecorators: { vm: [{ type: i0.Input, args: [{ isSignal: true, alias: "vm", required: true }] }] } });
69
69
 
70
70
  /**
@@ -690,9 +690,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
690
690
  args: [{ selector: 'lib-submission-review-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, imports: [MatDialogModule, MatFormFieldModule, MatButtonModule, QuillInputComponent], template: "<span mat-dialog-title>\r\n Review Feedback For <span class=\"bidder-name\">{{ respondentName }}</span>\r\n</span>\r\n\r\n<div class=\"dialog-instructions\">\r\n <p>\r\n Your notes will be visible to the respondent. Provide <strong>clear, constructive feedback</strong> to\r\n guide their future submissions.\r\n </p>\r\n</div>\r\n<mat-dialog-content style=\"padding-bottom: 8px;padding-bottom: 8px\">\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n display: absolute;\r\n left: 0;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <lib-quill-input [value]=\"initialNotes\"\r\n (valueChanged)=\"notesChanged($event)\" ngDefaultControl [inputConfig]=\"notesInputConfig\"\r\n [required]=\"notesInputConfig.required\">\r\n </lib-quill-input>\r\n <mat-hint>\r\n <strong>Tip:</strong> Use bold, lists, and tables to structure your feedback.\r\n </mat-hint>\r\n </mat-form-field>\r\n</mat-dialog-content>\r\n\r\n\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-dialog-close mat-button >\r\n Cancel\r\n </button>\r\n @if( !data.readonly){\r\n <button mat-flat-button\r\n [mat-dialog-close]=\"changedNotes\"\r\n >\r\n Save Feedback\r\n </button>}\r\n</mat-dialog-actions>", styles: [":host{display:block;min-width:500px;max-width:700px}.bidder-name{font-weight:500}.summary-bar{margin-bottom:24px}.summary-bar h3{margin-bottom:8px;font-weight:500}.score-item{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;gap:16px}.score-description{flex:1;margin-right:16px;line-height:1.4}.score-input{flex-shrink:0;width:150px}.mat-expansion-panel-body .score-item:last-child+mat-divider{display:none}mat-dialog-actions{padding:16px 24px}.mat-mdc-form-field-error{font-size:.8125em}.dialog-instructions{margin-top:-8px;margin-bottom:24px;max-width:95%;padding-left:24px;padding-right:24px}li{font-size:.75em}ol,ul{margin-top:8px}\n"] }]
691
691
  }] });
692
692
 
693
+ /** Row key: the engine found no usable price on this bid (renders "N/A", not 0). */
694
+ const PRICE_MISSING_KEY = 'adj_priceScore_priceMissing';
695
+ /** Row key: the one-line working behind a bid's points (the score's tooltip). */
696
+ const SCORE_BASIS_KEY = 'adj_priceScore_basis';
697
+ /** Row key: the points as displayed — always two decimals, matching the chart. */
698
+ const SCORE_LABEL_KEY = 'adj_priceScore_label';
693
699
  class SubmissionReviewComponent {
694
700
  constructor() {
695
701
  this.#config = inject(NGX_T_FORMS_CONFIG_TOKEN);
702
+ /** The consumer's localization: the currency and locale tendered prices are written in. */
703
+ this.#localization = injectFormsLocalization();
696
704
  this.#destroyRef = inject(DestroyRef);
697
705
  this.dialog = inject(MatDialog);
698
706
  this.#refreshTrigger = new BehaviorSubject(undefined);
@@ -834,6 +842,8 @@ class SubmissionReviewComponent {
834
842
  }, ...(ngDevMode ? [{ debugName: "bulkStatus" }] : /* istanbul ignore next */ []));
835
843
  }
836
844
  #config;
845
+ /** The consumer's localization: the currency and locale tendered prices are written in. */
846
+ #localization;
837
847
  #destroyRef;
838
848
  #refreshTrigger;
839
849
  // A stream to push updates of the review values (`this.value`)
@@ -861,7 +871,14 @@ class SubmissionReviewComponent {
861
871
  this.submissions = rows;
862
872
  const enrichedSubmissions = this.#enrichSubmissionsData(rows, columnMapping, reviewValues);
863
873
  const calcKey = columnMapping.responsePreferenceCalculationKey || 'adjudicationPricePreferenceCalculation';
864
- const sortedSubmissions = [...enrichedSubmissions].sort((a, b) => Number(b[calcKey]) - Number(a[calcKey]));
874
+ // Ties (typically several bids floored at 0) fall back to price, cheapest
875
+ // first, so equal scores still read in a defensible order.
876
+ const priceKey = columnMapping.responsePriceKey || DEFAULT_RESPONSE_PRICE_KEY;
877
+ const priceOrMax = (row) => {
878
+ const price = Number(row[priceKey]);
879
+ return Number.isFinite(price) && price > 0 ? price : Number.POSITIVE_INFINITY;
880
+ };
881
+ const sortedSubmissions = [...enrichedSubmissions].sort((a, b) => (Number(b[calcKey]) - Number(a[calcKey])) || (priceOrMax(a) - priceOrMax(b)));
865
882
  return {
866
883
  loading: false,
867
884
  submissions: sortedSubmissions,
@@ -923,6 +940,7 @@ class SubmissionReviewComponent {
923
940
  return { rows: submissions, scale: null };
924
941
  }
925
942
  const calcKey = columnMapping.responsePreferenceCalculationKey || 'adjudicationPricePreferenceCalculation';
943
+ const priceKey = columnMapping.responsePriceKey || DEFAULT_RESPONSE_PRICE_KEY;
926
944
  this.#priceScores = new Map(Array.from(result.scores, ([id, score]) => [id, score.points]));
927
945
  return {
928
946
  scale: result.scale,
@@ -931,10 +949,42 @@ class SubmissionReviewComponent {
931
949
  const score = result.scores.get(row.id);
932
950
  if (!score)
933
951
  return row;
934
- return { ...row, [calcKey]: score.points, [ABNORMALLY_LOW_FLAG_KEY]: score.abnormallyLow };
952
+ return {
953
+ ...row,
954
+ [calcKey]: score.points,
955
+ [ABNORMALLY_LOW_FLAG_KEY]: score.abnormallyLow,
956
+ [PRICE_MISSING_KEY]: score.priceMissing,
957
+ [SCORE_BASIS_KEY]: this.#scoreBasis(Number(row[priceKey]), score, result, priceKey),
958
+ };
935
959
  }),
936
960
  };
937
961
  }
962
+ /**
963
+ * One-line working for a bid's points, shown as the score's tooltip. Two
964
+ * different bids both scoring 0 is correct under the statutory formula but
965
+ * looks like a calculation fault unless the reviewer can see WHY — a bid
966
+ * priced above 2 × Pmin is floored at 0, which is a different reason from
967
+ * being disqualified or carrying no price.
968
+ */
969
+ #scoreBasis(price, score, result, priceKey) {
970
+ const { pMin, scale } = result;
971
+ if (score.nonResponsive) {
972
+ return 'Non-compliant: excluded from the lowest acceptable price (Pmin) and scored 0.';
973
+ }
974
+ if (score.priceMissing) {
975
+ return `No usable price under “${priceKey}”, so this bid cannot be scored.`;
976
+ }
977
+ if (pMin === null || scale === null) {
978
+ return 'No compliant priced bid remains, so there is no Pmin and every price score is 0.';
979
+ }
980
+ const localization = this.#localization();
981
+ const money = (value) => formatCurrencyAmount(value, localization, '1.0-2');
982
+ if (price > 2 * pMin) {
983
+ return `${money(price)} is more than double the lowest acceptable price (${money(pMin)}). ` +
984
+ 'Beyond 2 × Pmin the PPR 2022 formula turns negative, so the score is floored at 0.';
985
+ }
986
+ return `Ps = ${scale} × (1 − (${money(price)} − ${money(pMin)}) ÷ ${money(pMin)}) = ${score.points.toFixed(2)}`;
987
+ }
938
988
  /**
939
989
  * Projects an engine pass into the shared adjudication chart: one price bar
940
990
  * and one points bar per bid on a shared axis, the responsive median and
@@ -966,7 +1016,8 @@ class SubmissionReviewComponent {
966
1016
  // must always sit inside the axis even when every bid is below it.
967
1017
  const axisMax = Math.max(priced[priced.length - 1].price, median ?? 0) * 1.05;
968
1018
  const pct = (value) => Math.round((value / axisMax) * 1000) / 10;
969
- const rand = (value) => `R ${value.toLocaleString('en-ZA', { maximumFractionDigits: 2 })}`;
1019
+ const localization = this.#localization();
1020
+ const money = (value) => formatCurrencyAmount(value, localization, '1.0-2');
970
1021
  const unpriced = submissions.length - priced.length;
971
1022
  return {
972
1023
  caption: `Thick bar = tendered price · thin bar = points for price (0–${scale}). ` +
@@ -992,7 +1043,7 @@ class SubmissionReviewComponent {
992
1043
  id: row.id,
993
1044
  name: String(row[columnMapping.respondentNameKey] ?? row.id),
994
1045
  primaryPct: pct(price),
995
- primaryLabel: rand(price),
1046
+ primaryLabel: money(price),
996
1047
  secondaryPct: Math.round((score.points / scale) * 1000) / 10,
997
1048
  secondaryLabel: `${score.points.toFixed(2)} pts`,
998
1049
  state: score.nonResponsive ? 'muted' : score.abnormallyLow ? 'warning' : 'normal',
@@ -1000,7 +1051,9 @@ class SubmissionReviewComponent {
1000
1051
  ? 'non-compliant — excluded from benchmark'
1001
1052
  : score.abnormallyLow && drift !== null
1002
1053
  ? `${Number((-drift).toFixed(1))}% below median — investigate`
1003
- : undefined,
1054
+ : result.pMin !== null && price > 2 * result.pMin
1055
+ ? 'over 2× the lowest acceptable price — floored at 0 pts'
1056
+ : undefined,
1004
1057
  };
1005
1058
  }),
1006
1059
  };
@@ -1052,6 +1105,12 @@ class SubmissionReviewComponent {
1052
1105
  // they are forwarded as stored (legacy EditorJS payloads included); the
1053
1106
  // notes dialog migrates to Quill format on open via `toQuillNotes`.
1054
1107
  const submissionReview = reviewValues?.find((v) => v.id === submission.id) ?? {};
1108
+ const rawScore = submission[priceCalcKey];
1109
+ const score = Number(rawScore);
1110
+ const scoreLabel = submission[PRICE_MISSING_KEY] || rawScore === null || rawScore === undefined ||
1111
+ rawScore === '' || !Number.isFinite(score)
1112
+ ? 'N/A'
1113
+ : score.toFixed(2);
1055
1114
  return {
1056
1115
  ...submission,
1057
1116
  submissionIsReviewed: !!submissionReview,
@@ -1060,6 +1119,7 @@ class SubmissionReviewComponent {
1060
1119
  adj_microFlow_review: submissionReview?.['adj_microFlow_review'],
1061
1120
  adjudicationPricePreferenceCalculationColor: color,
1062
1121
  adjudicationPricePreferenceCalculation: submission[cols.responsePreferenceCalculationKey || 'adjudicationPricePreferenceCalculation'],
1122
+ [SCORE_LABEL_KEY]: scoreLabel,
1063
1123
  backgroundShades
1064
1124
  };
1065
1125
  });
@@ -1245,13 +1305,12 @@ class SubmissionReviewComponent {
1245
1305
  return allCompetentSubmissions < (Number(maxLength) || 1);
1246
1306
  }
1247
1307
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SubmissionReviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1248
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SubmissionReviewComponent, isStandalone: true, selector: "lib-submission-review", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reviewChange: "reviewChange" }, ngImport: i0, template: "@if (vm$ | async; as vm) {\r\n\r\n @if (vm.loading) {\r\n <div style=\"display: flex; justify-content: center; align-items: center; padding:24px;width: 100%;\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n } @else if (vm.error) {\r\n <div class=\"info-card error-card\">\r\n <!-- Heading stays cause-neutral: vm.error states WHICH half failed\r\n (the fetch vs. displaying data that did arrive). -->\r\n <h5 class=\"info-title\">\u274C Unable to show submissions</h5>\r\n <p>{{ vm.error }}</p>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\">\r\n Try Again\r\n </button>\r\n </div>\r\n } @else {\r\n <lib-adjudication-shell label=\"Submission review\" [system]=\"vm.priceSystem\"\r\n [docsContext]=\"vm.docsContext\" [chart]=\"vm.priceChart\">\r\n @if (!vm.displayCols.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2699\uFE0F This step needs to be configured to show data.</h5>\r\n <ol>\r\n <li>\r\n <strong>Why you're seeing this:</strong>\r\n <ul>\r\n <li>This component is designed for a <strong>\"Submission Review\"</strong> workflow step.</li>\r\n <li>It's currently missing the required column setup.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>What to do (for Administrators):</strong>\r\n To fix this, go to the <strong>Workflow Builder</strong> and for this specific step, <strong>map the display\r\n columns</strong> to the desired submission data (e.g., form fields or document keys).\r\n </li>\r\n </ol>\r\n </div>\r\n } @else if (!vm.submissions.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2139\uFE0F There are no submissions to display.</h5>\r\n <ul>\r\n <li>This can happen if <strong>no one has responded</strong> yet, or if the <strong>submission closing date has\r\n passed</strong>.</li>\r\n <li>If you are expecting to see submissions, try clicking the <strong>Refresh</strong> button.</li>\r\n </ul>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\" class=\"load-button\">\r\n Refresh\r\n </button>\r\n </div>\r\n } @else {\r\n @if (!value() || (value()?.length ?? 0) === 0) {\r\n <!-- value() typed `any` per parent's mixed union; length check survives null -->\r\n\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCDD How to Review Submissions</h5>\r\n <ol>\r\n <li>\r\n <strong>View Response:</strong> Click the <strong>Preview</strong> (<mat-icon\r\n class=\"smallIcon\">preview</mat-icon>) icon to see the full submission.\r\n </li>\r\n <li>\r\n <strong>Set Status:</strong> Use the dropdown to select <strong>Compliant</strong> or\r\n <strong>Non-compliant</strong>.\r\n </li>\r\n <li>\r\n <strong>Add Note (If Non-compliant):</strong>\r\n <ul>\r\n <li>If you select <strong>Non-compliant</strong>, you <strong>must</strong> add a note.</li>\r\n <li>Click the <strong>Add Note</strong> (<mat-icon class=\"smallIcon\">add_comment</mat-icon>) icon, write your\r\n feedback, and hit <strong>Save Feedback</strong>. Your note will be visible to the applicant.</li>\r\n </ul>\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n <table mat-table [dataSource]=\"vm.submissions\">\r\n @for (col of vm.displayColumns; track col.formControlName) {\r\n <ng-container [matColumnDef]=\"col.formControlName\">\r\n <th mat-header-cell *matHeaderCellDef style=\"padding:4px\">\r\n\r\n @if (col.formControlName === 'status' && !inputConfig()?.readonly) {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-label>\r\n Bulk Status Selection\r\n </mat-label>\r\n <mat-select\r\n [style.color]=\"bulkStatus() === 'non-compliant' ? 'var(--mat-sys-error)' : bulkStatus()==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"bulkStatusChanged($event)\" ngDefaultControl [value]=\"bulkStatus()\"\r\n placeholder=\" Select Status\">\r\n @for (type of bulkOperations || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n } @else {\r\n {{ col.label }}\r\n }\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" mat-ripple class=\"table-cell\" [class.selected-row]=\"selected === row.id\"\r\n (click)=\"$event.stopPropagation()\" [class.price-preference-cell]=\"true\"\r\n [style.border-bottom-color]=\"row.adjudicationPricePreferenceCalculationColor\"\r\n [style.background]=\"row.backgroundShades?.[col.formControlName]\">\r\n\r\n @if (col.formControlName === 'actions') {\r\n <span style=\"display: flex; align-items: center;\">\r\n <button matTooltipPosition=\"before\"\r\n [matTooltip]=\"`View and review **` + row[vm.columnMapping.respondentNameKey]+ `** 's' Submission`\"\r\n (click)=\"viewMicroSubmission(row)\" mat-icon-button>\r\n <mat-icon>preview</mat-icon>\r\n </button>\r\n @if (!(inputConfig()?.readonly) || (inputConfig()?.readonly) && !!row['submissionHasReviewNotes']) {\r\n <button (click)=\"openNotes(row)\" cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" matTooltipPosition=\"after\"\r\n [matTooltip]=\"\r\n `Add a review note for **` + row[vm.columnMapping.respondentNameKey] + `**`\" mat-icon-button>\r\n <mat-icon [style.color]=\"\r\n notesOpenForRowId === row.id ? 'var(--mat-sys-primary)' : (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']?'var(--mat-sys-error)':'')\r\n \">\r\n {{ !row['submissionHasReviewNotes']? 'add_comment' : 'comment' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n </span>\r\n } @else if (col.formControlName === 'status') {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-select [disabled]=\"!canChangeStatus(row) || inputConfig()?.readonly === true\"\r\n [style.color]=\"row['adj_microFlow_review'] === 'non-compliant' ? 'var(--mat-sys-error)' : row['adj_microFlow_review']==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"setResponseStatus(row,$event)\" ngDefaultControl [value]=\"row.adj_microFlow_review\"\r\n placeholder=\" Select Status\">\r\n @for (type of reviewStatuses || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']) {\r\n <mat-hint style=\"color:var(--mat-sys-error)\">\r\n Rejection reason is required. Add a review note.\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n @switch (col?.type) {\r\n @case ('daysAgo') {\r\n {{ row[col.formControlName] | daysAgo }}\r\n }\r\n @case ('number') {\r\n <div class=\"number-cell\">\r\n <span>\r\n {{ (row[col.formControlName] | number:'0.0-2' ) || 'N/A' }}\r\n </span>\r\n @if (row['adj_priceScore_abnormallyLow']) {\r\n <!-- Abnormally low tender: flagged for investigation,\r\n never auto-excluded (amber = act, no blame). -->\r\n <mat-icon class=\"alt-flag\"\r\n matTooltip=\"Abnormally low tender: this bid is priced well below the responsive pool. Investigate sustainability before scoring \u2014 if found non-responsive, mark it non-compliant and every score recalculates against the next lowest compliant bid.\">\r\n warning_amber\r\n </mat-icon>\r\n }\r\n @if (col.showColor) {\r\n <mat-icon [style.color]=\"row.adjudicationPricePreferenceCalculationColor\">\r\n fiber_manual_record\r\n </mat-icon>\r\n }\r\n </div>\r\n }\r\n @default {\r\n @if ($index === 0) {\r\n <span class=\"main-submission-text\">\r\n <mat-icon style=\"font-size: 1em;height:16px;width:16px\">domain</mat-icon>\r\n <strong>\r\n {{ row[col.formControlName] }}\r\n </strong>\r\n </span>\r\n <span class=\"secondary-text\">\r\n <mat-icon>fingerprint</mat-icon>\r\n {{row[vm.columnMapping.respondentCodeKey]}}\r\n <mat-icon>more_time</mat-icon>\r\n {{ row[vm.columnMapping.responseDateKey ||''] | daysAgo}}\r\n </span>\r\n } @else {\r\n {{ row[col.formControlName] }}\r\n }\r\n }\r\n }\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n <tr mat-header-row *matHeaderRowDef=\"vm.displayCols\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: vm.displayCols\"></tr>\r\n </table>\r\n }\r\n </lib-adjudication-shell>\r\n }\r\n\r\n}\r\n", styles: [".number{display:flex;justify-content:space-between;align-items:center}li{font-size:.75em}ol,ul{margin-top:8px}.number-cell{display:flex;justify-content:space-between;align-items:center;width:100%}.number-cell span{font-variant-numeric:tabular-nums}.alt-flag{color:var(--lib-forms-warning);font-size:1.125em;width:18px;height:18px}.secondary-text{display:flex;align-items:center;white-space:pre;font-size:.75em;gap:8px;opacity:.8}.secondary-text mat-icon{font-size:.875em;width:14px;height:14px}.mat-column-adjudicationPricePreferenceCalculation{max-width:70px}.mat-column-actions{padding:0;max-width:80px}.mat-column-status{padding-left:8px;padding-right:8px;max-width:fit-content!important}.main-submission-text{display:flex;align-items:center;gap:8px;font-size:.875em}:host .notes-card{width:100%;max-width:480px;resize:both;height:fit-content}.smallIcon{font-size:.875em;width:14px;height:14px}.table-cell{padding:.25rem .5rem;font-size:.8125rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i2$5.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i7.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i5$2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i5$2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5$2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i5$2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i5$2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5$2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i5$2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5$2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i5$2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i5$2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: AdjudicationShellComponent, selector: "lib-adjudication-shell", inputs: ["label", "system", "docsContext", "chart"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: DecimalPipe, name: "number" }, { kind: "pipe", type: DaysAgoPipe, name: "daysAgo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1308
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: SubmissionReviewComponent, isStandalone: true, selector: "lib-submission-review", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reviewChange: "reviewChange" }, ngImport: i0, template: "@if (vm$ | async; as vm) {\r\n\r\n @if (vm.loading) {\r\n <div style=\"display: flex; justify-content: center; align-items: center; padding:24px;width: 100%;\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n } @else if (vm.error) {\r\n <div class=\"info-card error-card\">\r\n <!-- Heading stays cause-neutral: vm.error states WHICH half failed\r\n (the fetch vs. displaying data that did arrive). -->\r\n <h5 class=\"info-title\">\u274C Unable to show submissions</h5>\r\n <p>{{ vm.error }}</p>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\">\r\n Try Again\r\n </button>\r\n </div>\r\n } @else {\r\n <lib-adjudication-shell label=\"Submission review\" [system]=\"vm.priceSystem\"\r\n [docsContext]=\"vm.docsContext\" [chart]=\"vm.priceChart\">\r\n @if (!vm.displayCols.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2699\uFE0F This step needs to be configured to show data.</h5>\r\n <ol>\r\n <li>\r\n <strong>Why you're seeing this:</strong>\r\n <ul>\r\n <li>This component is designed for a <strong>\"Submission Review\"</strong> workflow step.</li>\r\n <li>It's currently missing the required column setup.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>What to do (for Administrators):</strong>\r\n To fix this, go to the <strong>Workflow Builder</strong> and for this specific step, <strong>map the display\r\n columns</strong> to the desired submission data (e.g., form fields or document keys).\r\n </li>\r\n </ol>\r\n </div>\r\n } @else if (!vm.submissions.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2139\uFE0F There are no submissions to display.</h5>\r\n <ul>\r\n <li>This can happen if <strong>no one has responded</strong> yet, or if the <strong>submission closing date has\r\n passed</strong>.</li>\r\n <li>If you are expecting to see submissions, try clicking the <strong>Refresh</strong> button.</li>\r\n </ul>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\" class=\"load-button\">\r\n Refresh\r\n </button>\r\n </div>\r\n } @else {\r\n @if (!value() || (value()?.length ?? 0) === 0) {\r\n <!-- value() typed `any` per parent's mixed union; length check survives null -->\r\n\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCDD How to Review Submissions</h5>\r\n <ol>\r\n <li>\r\n <strong>View Response:</strong> Click the <strong>Preview</strong> (<mat-icon\r\n class=\"smallIcon\">preview</mat-icon>) icon to see the full submission.\r\n </li>\r\n <li>\r\n <strong>Set Status:</strong> Use the dropdown to select <strong>Compliant</strong> or\r\n <strong>Non-compliant</strong>.\r\n </li>\r\n <li>\r\n <strong>Add Note (If Non-compliant):</strong>\r\n <ul>\r\n <li>If you select <strong>Non-compliant</strong>, you <strong>must</strong> add a note.</li>\r\n <li>Click the <strong>Add Note</strong> (<mat-icon class=\"smallIcon\">add_comment</mat-icon>) icon, write your\r\n feedback, and hit <strong>Save Feedback</strong>. Your note will be visible to the applicant.</li>\r\n </ul>\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n <div class=\"table-scroll\">\r\n <table mat-table [dataSource]=\"vm.submissions\">\r\n @for (col of vm.displayColumns; track col.formControlName) {\r\n <ng-container [matColumnDef]=\"col.formControlName\">\r\n <th mat-header-cell *matHeaderCellDef style=\"padding:4px\">\r\n\r\n @if (col.formControlName === 'status' && !inputConfig()?.readonly) {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-label>\r\n Bulk Status Selection\r\n </mat-label>\r\n <mat-select\r\n [style.color]=\"bulkStatus() === 'non-compliant' ? 'var(--mat-sys-error)' : bulkStatus()==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"bulkStatusChanged($event)\" ngDefaultControl [value]=\"bulkStatus()\"\r\n placeholder=\" Select Status\">\r\n @for (type of bulkOperations || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n } @else {\r\n {{ col.label }}\r\n }\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" mat-ripple class=\"table-cell\" [class.selected-row]=\"selected === row.id\"\r\n (click)=\"$event.stopPropagation()\" [class.price-preference-cell]=\"true\"\r\n [style.border-bottom-color]=\"row.adjudicationPricePreferenceCalculationColor\"\r\n [style.background]=\"row.backgroundShades?.[col.formControlName]\">\r\n\r\n @if (col.formControlName === 'actions') {\r\n <span style=\"display: flex; align-items: center;\">\r\n <button matTooltipPosition=\"before\"\r\n [matTooltip]=\"`View and review **` + row[vm.columnMapping.respondentNameKey]+ `** 's' Submission`\"\r\n (click)=\"viewMicroSubmission(row)\" mat-icon-button>\r\n <mat-icon>preview</mat-icon>\r\n </button>\r\n @if (!(inputConfig()?.readonly) || (inputConfig()?.readonly) && !!row['submissionHasReviewNotes']) {\r\n <button (click)=\"openNotes(row)\" cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" matTooltipPosition=\"after\"\r\n [matTooltip]=\"\r\n `Add a review note for **` + row[vm.columnMapping.respondentNameKey] + `**`\" mat-icon-button>\r\n <mat-icon [style.color]=\"\r\n notesOpenForRowId === row.id ? 'var(--mat-sys-primary)' : (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']?'var(--mat-sys-error)':'')\r\n \">\r\n {{ !row['submissionHasReviewNotes']? 'add_comment' : 'comment' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n </span>\r\n } @else if (col.formControlName === 'status') {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-select [disabled]=\"!canChangeStatus(row) || inputConfig()?.readonly === true\"\r\n [style.color]=\"row['adj_microFlow_review'] === 'non-compliant' ? 'var(--mat-sys-error)' : row['adj_microFlow_review']==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"setResponseStatus(row,$event)\" ngDefaultControl [value]=\"row.adj_microFlow_review\"\r\n placeholder=\" Select Status\">\r\n @for (type of reviewStatuses || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']) {\r\n <mat-hint style=\"color:var(--mat-sys-error)\">\r\n Rejection reason is required. Add a review note.\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n @switch (col?.type) {\r\n @case ('daysAgo') {\r\n {{ row[col.formControlName] | daysAgo }}\r\n }\r\n @case ('number') {\r\n <div class=\"number-cell\">\r\n <!-- The working behind the figure: two bids on 0 is\r\n statutory (above 2 \u00D7 Pmin), not a fault \u2014 say so. -->\r\n <span [matTooltip]=\"row['adj_priceScore_basis'] || ''\">\r\n {{ row['adj_priceScore_label'] }}\r\n </span>\r\n @if (row['adj_priceScore_abnormallyLow']) {\r\n <!-- Abnormally low tender: flagged for investigation,\r\n never auto-excluded (amber = act, no blame). -->\r\n <mat-icon class=\"alt-flag\"\r\n matTooltip=\"Abnormally low tender: this bid is priced well below the responsive pool. Investigate sustainability before scoring \u2014 if found non-responsive, mark it non-compliant and every score recalculates against the next lowest compliant bid.\">\r\n warning_amber\r\n </mat-icon>\r\n }\r\n @if (col.showColor) {\r\n <mat-icon [style.color]=\"row.adjudicationPricePreferenceCalculationColor\">\r\n fiber_manual_record\r\n </mat-icon>\r\n }\r\n </div>\r\n }\r\n @default {\r\n @if ($index === 0) {\r\n <span class=\"main-submission-text\">\r\n <mat-icon style=\"font-size: 1em;height:16px;width:16px\">domain</mat-icon>\r\n <strong>\r\n {{ row[col.formControlName] }}\r\n </strong>\r\n </span>\r\n <span class=\"secondary-text\">\r\n <mat-icon>fingerprint</mat-icon>\r\n {{row[vm.columnMapping.respondentCodeKey]}}\r\n <mat-icon>more_time</mat-icon>\r\n {{ row[vm.columnMapping.responseDateKey ||''] | daysAgo}}\r\n </span>\r\n } @else {\r\n {{ row[col.formControlName] }}\r\n }\r\n }\r\n }\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n <tr mat-header-row *matHeaderRowDef=\"vm.displayCols\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: vm.displayCols\"></tr>\r\n </table>\r\n </div>\r\n }\r\n </lib-adjudication-shell>\r\n }\r\n\r\n}\r\n", styles: [".number{display:flex;justify-content:space-between;align-items:center}li{font-size:.75em}ol,ul{margin-top:8px}.table-scroll{width:100%;overflow-x:auto}.table-scroll table{width:100%}.number-cell{display:flex;justify-content:flex-end;align-items:center;gap:.25rem;width:100%;white-space:nowrap}.number-cell mat-icon{flex:none}.number-cell span{font-variant-numeric:tabular-nums}.alt-flag{color:var(--lib-forms-warning);font-size:1.125em;width:18px;height:18px}.secondary-text{display:flex;flex-wrap:wrap;align-items:center;white-space:nowrap;font-size:.75em;gap:.25rem .5rem;opacity:.8}.secondary-text mat-icon{font-size:.875em;width:14px;height:14px}.mat-column-adjudicationPricePreferenceCalculation{width:6.5rem;min-width:6.5rem;text-align:end}.mat-column-actions{padding:0;width:5rem;white-space:nowrap}.mat-column-status{padding-left:.5rem;padding-right:.5rem;width:13rem;min-width:13rem}:host ::ng-deep .mat-column-status .mat-mdc-form-field-infix{width:auto;min-width:0}.main-submission-text{display:flex;align-items:center;gap:8px;font-size:.875em}:host .notes-card{width:100%;max-width:480px;resize:both;height:fit-content}.smallIcon{font-size:.875em;width:14px;height:14px}.table-cell{padding:.25rem .5rem;font-size:.8125rem}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "ngmodule", type: OverlayModule }, { kind: "directive", type: i2$5.CdkOverlayOrigin, selector: "[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]", exportAs: ["cdkOverlayOrigin"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i7.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i8.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i8.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatTableModule }, { kind: "component", type: i5$2.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i5$2.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i5$2.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i5$2.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i5$2.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i5$2.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i5$2.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i5$2.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i5$2.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i5$2.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: AdjudicationShellComponent, selector: "lib-adjudication-shell", inputs: ["label", "system", "docsContext", "chart"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: DaysAgoPipe, name: "daysAgo" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1249
1309
  }
1250
1310
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: SubmissionReviewComponent, decorators: [{
1251
1311
  type: Component,
1252
1312
  args: [{ selector: 'lib-submission-review', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, imports: [
1253
1313
  AsyncPipe,
1254
- DecimalPipe,
1255
1314
  FormsModule,
1256
1315
  OverlayModule,
1257
1316
  MatButtonModule,
@@ -1265,7 +1324,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
1265
1324
  MatTooltipModule,
1266
1325
  DaysAgoPipe,
1267
1326
  AdjudicationShellComponent,
1268
- ], template: "@if (vm$ | async; as vm) {\r\n\r\n @if (vm.loading) {\r\n <div style=\"display: flex; justify-content: center; align-items: center; padding:24px;width: 100%;\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n } @else if (vm.error) {\r\n <div class=\"info-card error-card\">\r\n <!-- Heading stays cause-neutral: vm.error states WHICH half failed\r\n (the fetch vs. displaying data that did arrive). -->\r\n <h5 class=\"info-title\">\u274C Unable to show submissions</h5>\r\n <p>{{ vm.error }}</p>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\">\r\n Try Again\r\n </button>\r\n </div>\r\n } @else {\r\n <lib-adjudication-shell label=\"Submission review\" [system]=\"vm.priceSystem\"\r\n [docsContext]=\"vm.docsContext\" [chart]=\"vm.priceChart\">\r\n @if (!vm.displayCols.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2699\uFE0F This step needs to be configured to show data.</h5>\r\n <ol>\r\n <li>\r\n <strong>Why you're seeing this:</strong>\r\n <ul>\r\n <li>This component is designed for a <strong>\"Submission Review\"</strong> workflow step.</li>\r\n <li>It's currently missing the required column setup.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>What to do (for Administrators):</strong>\r\n To fix this, go to the <strong>Workflow Builder</strong> and for this specific step, <strong>map the display\r\n columns</strong> to the desired submission data (e.g., form fields or document keys).\r\n </li>\r\n </ol>\r\n </div>\r\n } @else if (!vm.submissions.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2139\uFE0F There are no submissions to display.</h5>\r\n <ul>\r\n <li>This can happen if <strong>no one has responded</strong> yet, or if the <strong>submission closing date has\r\n passed</strong>.</li>\r\n <li>If you are expecting to see submissions, try clicking the <strong>Refresh</strong> button.</li>\r\n </ul>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\" class=\"load-button\">\r\n Refresh\r\n </button>\r\n </div>\r\n } @else {\r\n @if (!value() || (value()?.length ?? 0) === 0) {\r\n <!-- value() typed `any` per parent's mixed union; length check survives null -->\r\n\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCDD How to Review Submissions</h5>\r\n <ol>\r\n <li>\r\n <strong>View Response:</strong> Click the <strong>Preview</strong> (<mat-icon\r\n class=\"smallIcon\">preview</mat-icon>) icon to see the full submission.\r\n </li>\r\n <li>\r\n <strong>Set Status:</strong> Use the dropdown to select <strong>Compliant</strong> or\r\n <strong>Non-compliant</strong>.\r\n </li>\r\n <li>\r\n <strong>Add Note (If Non-compliant):</strong>\r\n <ul>\r\n <li>If you select <strong>Non-compliant</strong>, you <strong>must</strong> add a note.</li>\r\n <li>Click the <strong>Add Note</strong> (<mat-icon class=\"smallIcon\">add_comment</mat-icon>) icon, write your\r\n feedback, and hit <strong>Save Feedback</strong>. Your note will be visible to the applicant.</li>\r\n </ul>\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n <table mat-table [dataSource]=\"vm.submissions\">\r\n @for (col of vm.displayColumns; track col.formControlName) {\r\n <ng-container [matColumnDef]=\"col.formControlName\">\r\n <th mat-header-cell *matHeaderCellDef style=\"padding:4px\">\r\n\r\n @if (col.formControlName === 'status' && !inputConfig()?.readonly) {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-label>\r\n Bulk Status Selection\r\n </mat-label>\r\n <mat-select\r\n [style.color]=\"bulkStatus() === 'non-compliant' ? 'var(--mat-sys-error)' : bulkStatus()==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"bulkStatusChanged($event)\" ngDefaultControl [value]=\"bulkStatus()\"\r\n placeholder=\" Select Status\">\r\n @for (type of bulkOperations || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n } @else {\r\n {{ col.label }}\r\n }\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" mat-ripple class=\"table-cell\" [class.selected-row]=\"selected === row.id\"\r\n (click)=\"$event.stopPropagation()\" [class.price-preference-cell]=\"true\"\r\n [style.border-bottom-color]=\"row.adjudicationPricePreferenceCalculationColor\"\r\n [style.background]=\"row.backgroundShades?.[col.formControlName]\">\r\n\r\n @if (col.formControlName === 'actions') {\r\n <span style=\"display: flex; align-items: center;\">\r\n <button matTooltipPosition=\"before\"\r\n [matTooltip]=\"`View and review **` + row[vm.columnMapping.respondentNameKey]+ `** 's' Submission`\"\r\n (click)=\"viewMicroSubmission(row)\" mat-icon-button>\r\n <mat-icon>preview</mat-icon>\r\n </button>\r\n @if (!(inputConfig()?.readonly) || (inputConfig()?.readonly) && !!row['submissionHasReviewNotes']) {\r\n <button (click)=\"openNotes(row)\" cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" matTooltipPosition=\"after\"\r\n [matTooltip]=\"\r\n `Add a review note for **` + row[vm.columnMapping.respondentNameKey] + `**`\" mat-icon-button>\r\n <mat-icon [style.color]=\"\r\n notesOpenForRowId === row.id ? 'var(--mat-sys-primary)' : (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']?'var(--mat-sys-error)':'')\r\n \">\r\n {{ !row['submissionHasReviewNotes']? 'add_comment' : 'comment' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n </span>\r\n } @else if (col.formControlName === 'status') {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-select [disabled]=\"!canChangeStatus(row) || inputConfig()?.readonly === true\"\r\n [style.color]=\"row['adj_microFlow_review'] === 'non-compliant' ? 'var(--mat-sys-error)' : row['adj_microFlow_review']==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"setResponseStatus(row,$event)\" ngDefaultControl [value]=\"row.adj_microFlow_review\"\r\n placeholder=\" Select Status\">\r\n @for (type of reviewStatuses || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']) {\r\n <mat-hint style=\"color:var(--mat-sys-error)\">\r\n Rejection reason is required. Add a review note.\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n @switch (col?.type) {\r\n @case ('daysAgo') {\r\n {{ row[col.formControlName] | daysAgo }}\r\n }\r\n @case ('number') {\r\n <div class=\"number-cell\">\r\n <span>\r\n {{ (row[col.formControlName] | number:'0.0-2' ) || 'N/A' }}\r\n </span>\r\n @if (row['adj_priceScore_abnormallyLow']) {\r\n <!-- Abnormally low tender: flagged for investigation,\r\n never auto-excluded (amber = act, no blame). -->\r\n <mat-icon class=\"alt-flag\"\r\n matTooltip=\"Abnormally low tender: this bid is priced well below the responsive pool. Investigate sustainability before scoring \u2014 if found non-responsive, mark it non-compliant and every score recalculates against the next lowest compliant bid.\">\r\n warning_amber\r\n </mat-icon>\r\n }\r\n @if (col.showColor) {\r\n <mat-icon [style.color]=\"row.adjudicationPricePreferenceCalculationColor\">\r\n fiber_manual_record\r\n </mat-icon>\r\n }\r\n </div>\r\n }\r\n @default {\r\n @if ($index === 0) {\r\n <span class=\"main-submission-text\">\r\n <mat-icon style=\"font-size: 1em;height:16px;width:16px\">domain</mat-icon>\r\n <strong>\r\n {{ row[col.formControlName] }}\r\n </strong>\r\n </span>\r\n <span class=\"secondary-text\">\r\n <mat-icon>fingerprint</mat-icon>\r\n {{row[vm.columnMapping.respondentCodeKey]}}\r\n <mat-icon>more_time</mat-icon>\r\n {{ row[vm.columnMapping.responseDateKey ||''] | daysAgo}}\r\n </span>\r\n } @else {\r\n {{ row[col.formControlName] }}\r\n }\r\n }\r\n }\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n <tr mat-header-row *matHeaderRowDef=\"vm.displayCols\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: vm.displayCols\"></tr>\r\n </table>\r\n }\r\n </lib-adjudication-shell>\r\n }\r\n\r\n}\r\n", styles: [".number{display:flex;justify-content:space-between;align-items:center}li{font-size:.75em}ol,ul{margin-top:8px}.number-cell{display:flex;justify-content:space-between;align-items:center;width:100%}.number-cell span{font-variant-numeric:tabular-nums}.alt-flag{color:var(--lib-forms-warning);font-size:1.125em;width:18px;height:18px}.secondary-text{display:flex;align-items:center;white-space:pre;font-size:.75em;gap:8px;opacity:.8}.secondary-text mat-icon{font-size:.875em;width:14px;height:14px}.mat-column-adjudicationPricePreferenceCalculation{max-width:70px}.mat-column-actions{padding:0;max-width:80px}.mat-column-status{padding-left:8px;padding-right:8px;max-width:fit-content!important}.main-submission-text{display:flex;align-items:center;gap:8px;font-size:.875em}:host .notes-card{width:100%;max-width:480px;resize:both;height:fit-content}.smallIcon{font-size:.875em;width:14px;height:14px}.table-cell{padding:.25rem .5rem;font-size:.8125rem}\n"] }]
1327
+ ], template: "@if (vm$ | async; as vm) {\r\n\r\n @if (vm.loading) {\r\n <div style=\"display: flex; justify-content: center; align-items: center; padding:24px;width: 100%;\">\r\n <mat-spinner></mat-spinner>\r\n </div>\r\n } @else if (vm.error) {\r\n <div class=\"info-card error-card\">\r\n <!-- Heading stays cause-neutral: vm.error states WHICH half failed\r\n (the fetch vs. displaying data that did arrive). -->\r\n <h5 class=\"info-title\">\u274C Unable to show submissions</h5>\r\n <p>{{ vm.error }}</p>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\">\r\n Try Again\r\n </button>\r\n </div>\r\n } @else {\r\n <lib-adjudication-shell label=\"Submission review\" [system]=\"vm.priceSystem\"\r\n [docsContext]=\"vm.docsContext\" [chart]=\"vm.priceChart\">\r\n @if (!vm.displayCols.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2699\uFE0F This step needs to be configured to show data.</h5>\r\n <ol>\r\n <li>\r\n <strong>Why you're seeing this:</strong>\r\n <ul>\r\n <li>This component is designed for a <strong>\"Submission Review\"</strong> workflow step.</li>\r\n <li>It's currently missing the required column setup.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>What to do (for Administrators):</strong>\r\n To fix this, go to the <strong>Workflow Builder</strong> and for this specific step, <strong>map the display\r\n columns</strong> to the desired submission data (e.g., form fields or document keys).\r\n </li>\r\n </ol>\r\n </div>\r\n } @else if (!vm.submissions.length) {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u2139\uFE0F There are no submissions to display.</h5>\r\n <ul>\r\n <li>This can happen if <strong>no one has responded</strong> yet, or if the <strong>submission closing date has\r\n passed</strong>.</li>\r\n <li>If you are expecting to see submissions, try clicking the <strong>Refresh</strong> button.</li>\r\n </ul>\r\n <button mat-raised-button color=\"primary\" (click)=\"loadMicroSubmissions()\" class=\"load-button\">\r\n Refresh\r\n </button>\r\n </div>\r\n } @else {\r\n @if (!value() || (value()?.length ?? 0) === 0) {\r\n <!-- value() typed `any` per parent's mixed union; length check survives null -->\r\n\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCDD How to Review Submissions</h5>\r\n <ol>\r\n <li>\r\n <strong>View Response:</strong> Click the <strong>Preview</strong> (<mat-icon\r\n class=\"smallIcon\">preview</mat-icon>) icon to see the full submission.\r\n </li>\r\n <li>\r\n <strong>Set Status:</strong> Use the dropdown to select <strong>Compliant</strong> or\r\n <strong>Non-compliant</strong>.\r\n </li>\r\n <li>\r\n <strong>Add Note (If Non-compliant):</strong>\r\n <ul>\r\n <li>If you select <strong>Non-compliant</strong>, you <strong>must</strong> add a note.</li>\r\n <li>Click the <strong>Add Note</strong> (<mat-icon class=\"smallIcon\">add_comment</mat-icon>) icon, write your\r\n feedback, and hit <strong>Save Feedback</strong>. Your note will be visible to the applicant.</li>\r\n </ul>\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n <div class=\"table-scroll\">\r\n <table mat-table [dataSource]=\"vm.submissions\">\r\n @for (col of vm.displayColumns; track col.formControlName) {\r\n <ng-container [matColumnDef]=\"col.formControlName\">\r\n <th mat-header-cell *matHeaderCellDef style=\"padding:4px\">\r\n\r\n @if (col.formControlName === 'status' && !inputConfig()?.readonly) {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-label>\r\n Bulk Status Selection\r\n </mat-label>\r\n <mat-select\r\n [style.color]=\"bulkStatus() === 'non-compliant' ? 'var(--mat-sys-error)' : bulkStatus()==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"bulkStatusChanged($event)\" ngDefaultControl [value]=\"bulkStatus()\"\r\n placeholder=\" Select Status\">\r\n @for (type of bulkOperations || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n </mat-form-field>\r\n } @else {\r\n {{ col.label }}\r\n }\r\n </th>\r\n <td mat-cell *matCellDef=\"let row\" mat-ripple class=\"table-cell\" [class.selected-row]=\"selected === row.id\"\r\n (click)=\"$event.stopPropagation()\" [class.price-preference-cell]=\"true\"\r\n [style.border-bottom-color]=\"row.adjudicationPricePreferenceCalculationColor\"\r\n [style.background]=\"row.backgroundShades?.[col.formControlName]\">\r\n\r\n @if (col.formControlName === 'actions') {\r\n <span style=\"display: flex; align-items: center;\">\r\n <button matTooltipPosition=\"before\"\r\n [matTooltip]=\"`View and review **` + row[vm.columnMapping.respondentNameKey]+ `** 's' Submission`\"\r\n (click)=\"viewMicroSubmission(row)\" mat-icon-button>\r\n <mat-icon>preview</mat-icon>\r\n </button>\r\n @if (!(inputConfig()?.readonly) || (inputConfig()?.readonly) && !!row['submissionHasReviewNotes']) {\r\n <button (click)=\"openNotes(row)\" cdkOverlayOrigin #trigger=\"cdkOverlayOrigin\" matTooltipPosition=\"after\"\r\n [matTooltip]=\"\r\n `Add a review note for **` + row[vm.columnMapping.respondentNameKey] + `**`\" mat-icon-button>\r\n <mat-icon [style.color]=\"\r\n notesOpenForRowId === row.id ? 'var(--mat-sys-primary)' : (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']?'var(--mat-sys-error)':'')\r\n \">\r\n {{ !row['submissionHasReviewNotes']? 'add_comment' : 'comment' }}\r\n </mat-icon>\r\n </button>\r\n }\r\n </span>\r\n } @else if (col.formControlName === 'status') {\r\n <mat-form-field floatLabel=\"always\" subscriptSizing=\"dynamic\" style=\"width: 100%;\r\n margin-bottom: 8px;\r\n margin-top: 8px;\r\n border-radius:16px;\" appearance=\"outline\">\r\n <mat-select [disabled]=\"!canChangeStatus(row) || inputConfig()?.readonly === true\"\r\n [style.color]=\"row['adj_microFlow_review'] === 'non-compliant' ? 'var(--mat-sys-error)' : row['adj_microFlow_review']==='compliant'? 'var(--mat-sys-primary)' : ''\"\r\n (selectionChange)=\"setResponseStatus(row,$event)\" ngDefaultControl [value]=\"row.adj_microFlow_review\"\r\n placeholder=\" Select Status\">\r\n @for (type of reviewStatuses || []; track type) {\r\n <mat-option [value]=\"type.value\">{{type.label}}</mat-option>\r\n }\r\n </mat-select>\r\n @if (row['adj_microFlow_review']==='non-compliant' && !row['adj_microFlow_review_notes']) {\r\n <mat-hint style=\"color:var(--mat-sys-error)\">\r\n Rejection reason is required. Add a review note.\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n } @else {\r\n @switch (col?.type) {\r\n @case ('daysAgo') {\r\n {{ row[col.formControlName] | daysAgo }}\r\n }\r\n @case ('number') {\r\n <div class=\"number-cell\">\r\n <!-- The working behind the figure: two bids on 0 is\r\n statutory (above 2 \u00D7 Pmin), not a fault \u2014 say so. -->\r\n <span [matTooltip]=\"row['adj_priceScore_basis'] || ''\">\r\n {{ row['adj_priceScore_label'] }}\r\n </span>\r\n @if (row['adj_priceScore_abnormallyLow']) {\r\n <!-- Abnormally low tender: flagged for investigation,\r\n never auto-excluded (amber = act, no blame). -->\r\n <mat-icon class=\"alt-flag\"\r\n matTooltip=\"Abnormally low tender: this bid is priced well below the responsive pool. Investigate sustainability before scoring \u2014 if found non-responsive, mark it non-compliant and every score recalculates against the next lowest compliant bid.\">\r\n warning_amber\r\n </mat-icon>\r\n }\r\n @if (col.showColor) {\r\n <mat-icon [style.color]=\"row.adjudicationPricePreferenceCalculationColor\">\r\n fiber_manual_record\r\n </mat-icon>\r\n }\r\n </div>\r\n }\r\n @default {\r\n @if ($index === 0) {\r\n <span class=\"main-submission-text\">\r\n <mat-icon style=\"font-size: 1em;height:16px;width:16px\">domain</mat-icon>\r\n <strong>\r\n {{ row[col.formControlName] }}\r\n </strong>\r\n </span>\r\n <span class=\"secondary-text\">\r\n <mat-icon>fingerprint</mat-icon>\r\n {{row[vm.columnMapping.respondentCodeKey]}}\r\n <mat-icon>more_time</mat-icon>\r\n {{ row[vm.columnMapping.responseDateKey ||''] | daysAgo}}\r\n </span>\r\n } @else {\r\n {{ row[col.formControlName] }}\r\n }\r\n }\r\n }\r\n }\r\n </td>\r\n </ng-container>\r\n }\r\n <tr mat-header-row *matHeaderRowDef=\"vm.displayCols\"></tr>\r\n <tr mat-row *matRowDef=\"let row; columns: vm.displayCols\"></tr>\r\n </table>\r\n </div>\r\n }\r\n </lib-adjudication-shell>\r\n }\r\n\r\n}\r\n", styles: [".number{display:flex;justify-content:space-between;align-items:center}li{font-size:.75em}ol,ul{margin-top:8px}.table-scroll{width:100%;overflow-x:auto}.table-scroll table{width:100%}.number-cell{display:flex;justify-content:flex-end;align-items:center;gap:.25rem;width:100%;white-space:nowrap}.number-cell mat-icon{flex:none}.number-cell span{font-variant-numeric:tabular-nums}.alt-flag{color:var(--lib-forms-warning);font-size:1.125em;width:18px;height:18px}.secondary-text{display:flex;flex-wrap:wrap;align-items:center;white-space:nowrap;font-size:.75em;gap:.25rem .5rem;opacity:.8}.secondary-text mat-icon{font-size:.875em;width:14px;height:14px}.mat-column-adjudicationPricePreferenceCalculation{width:6.5rem;min-width:6.5rem;text-align:end}.mat-column-actions{padding:0;width:5rem;white-space:nowrap}.mat-column-status{padding-left:.5rem;padding-right:.5rem;width:13rem;min-width:13rem}:host ::ng-deep .mat-column-status .mat-mdc-form-field-infix{width:auto;min-width:0}.main-submission-text{display:flex;align-items:center;gap:8px;font-size:.875em}:host .notes-card{width:100%;max-width:480px;resize:both;height:fit-content}.smallIcon{font-size:.875em;width:14px;height:14px}.table-cell{padding:.25rem .5rem;font-size:.8125rem}\n"] }]
1269
1328
  }], propDecorators: { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], reviewChange: [{ type: i0.Output, args: ["reviewChange"] }] } });
1270
1329
 
1271
1330
  /** Shows validation errors as soon as the control becomes dirty + invalid. */
@@ -1331,7 +1390,7 @@ class PointAssignmentDialogComponent {
1331
1390
  }));
1332
1391
  }
1333
1392
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: PointAssignmentDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
1334
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: PointAssignmentDialogComponent, isStandalone: true, selector: "lib-point-assignment-dialog", ngImport: i0, template: "<span mat-dialog-title>\r\n Assign Points for <span class=\"bidder-name\">{{ data.row['nameOfBidder'] }}</span>\r\n</span>\r\n @if( !data.readonly){\r\n<div class=\"dialog-instructions\">\r\n @if(!pointsForm.dirty && !pointsForm.touched){\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCAF How to Assign Points\r\n\r\n </h5>\r\n <ol>\r\n <li>\r\n <strong>Enter a score</strong> for each item listed below.\r\n </li>\r\n <li>\r\n <strong>Follow the rules:</strong>\r\n <ul>\r\n <li>Your score cannot be higher than the maximum points shown (e.g., / 10).</li>\r\n <li>The <strong>\"Save Points\"</strong> button at the bottom will turn blue when everything is filled\r\n out correctly.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>Click the blue \"Save Points\" button</strong> to finish.\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n @else {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u270D\uFE0F Editing Your Scores</h5>\r\n <ol>\r\n <li>\r\n <strong>You are viewing saved scores.</strong> To make a change, simply click on a score and type in a\r\n new number.\r\n </li>\r\n <li>\r\n The <strong>Total Points</strong> bar at the top will update as you make edits.\r\n </li>\r\n <li>\r\n Click <strong>\"Save Points\"</strong> to confirm your changes when you're done.\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n</div>\r\n\r\n }\r\n\r\n\r\n<mat-dialog-content style=\"padding-bottom: 8px;padding-bottom: 8px\" [formGroup]=\"pointsForm\">\r\n <div class=\"summary-bar\">\r\n <h3>Total Points: {{ totalPoints$ | async }} / {{ maxPossiblePoints }}</h3>\r\n <mat-progress-bar mode=\"determinate\"\r\n [value]=\"((totalPoints$ | async) || 0) / maxPossiblePoints * 100\"></mat-progress-bar>\r\n </div>\r\n\r\n <mat-accordion multi>\r\n @for (group of data.scoreSheetGroups; track group.key) {\r\n <mat-expansion-panel [expanded]=\"true\" [formGroupName]=\"group.key\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>{{ group.name }}</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n @for (score of data.groupedScoreSheet[group.key] || []; track score.id) {\r\n <div class=\"score-item\">\r\n <label [for]=\"score.id\" class=\"score-description\">{{ score.description }}</label>\r\n\r\n <mat-form-field appearance=\"outline\" subscriptSizing=\"dynamic\" class=\"score-input\">\r\n <mat-label>Score</mat-label>\r\n <input [disabled]=\"data.readonly\" matInput type=\"number\" placeholder=\"0\" [id]=\"score.id\"\r\n [formControlName]=\"score.id\" [max]=\"score.totalPoints\" min=\"0\" [errorStateMatcher]=\"matcher\"\r\n (input)=\"correctMaxValue($event, group.key, score.id, score.totalPoints)\" />\r\n <span matSuffix>\r\n <span style=\"min-width: 58px; display:flex\">\r\n / {{ score.totalPoints }}\r\n </span>\r\n </span>\r\n\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('required')) {\r\n <mat-error>A score is required.</mat-error>\r\n }\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('max')) {\r\n <mat-error>Score cannot exceed {{ score.totalPoints }}.</mat-error>\r\n }\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('min')) {\r\n <mat-error>Score cannot be negative.</mat-error>\r\n }\r\n </mat-form-field>\r\n </div>\r\n <mat-divider></mat-divider>\r\n }\r\n </mat-expansion-panel>\r\n }\r\n </mat-accordion>\r\n\r\n</mat-dialog-content>\r\n\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-button mat-dialog-close>Cancel</button>\r\n @if( !data.readonly){\r\n <button mat-flat-button color=\"primary\" \r\n [mat-dialog-close]=\"pointsForm.getRawValue()\"\r\n [disabled]=\"pointsForm.invalid\">\r\n Save Points\r\n </button>\r\n }\r\n\r\n</mat-dialog-actions>", styles: [":host{display:block;min-width:500px;max-width:700px}.bidder-name{font-weight:500}.summary-bar{margin-bottom:24px}.summary-bar h3{margin-bottom:8px;font-weight:500}.score-item{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;gap:16px}.score-description{flex:1;margin-right:16px;line-height:1.4}.score-input{flex-shrink:0;width:150px}.mat-expansion-panel-body .score-item:last-child+mat-divider{display:none}mat-dialog-actions{padding:16px 24px}.mat-mdc-form-field-error{font-size:.8125em}.dialog-instructions{margin-top:-8px;margin-bottom:24px;max-width:95%;padding-left:24px;padding-right:24px}li{font-size:.75em}ol,ul{margin-top:8px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i4$1.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "directive", type: i5$3.MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i5$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i5$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i5$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1393
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: PointAssignmentDialogComponent, isStandalone: true, selector: "lib-point-assignment-dialog", ngImport: i0, template: "<span mat-dialog-title>\r\n Assign Points for <span class=\"bidder-name\">{{ data.row['nameOfBidder'] }}</span>\r\n</span>\r\n @if( !data.readonly){\r\n<div class=\"dialog-instructions\">\r\n @if(!pointsForm.dirty && !pointsForm.touched){\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\uD83D\uDCAF How to Assign Points\r\n\r\n </h5>\r\n <ol>\r\n <li>\r\n <strong>Enter a score</strong> for each item listed below.\r\n </li>\r\n <li>\r\n <strong>Follow the rules:</strong>\r\n <ul>\r\n <li>Your score cannot be higher than the maximum points shown (e.g., / 10).</li>\r\n <li>The <strong>\"Save Points\"</strong> button at the bottom will turn blue when everything is filled\r\n out correctly.</li>\r\n </ul>\r\n </li>\r\n <li>\r\n <strong>Click the blue \"Save Points\" button</strong> to finish.\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n @else {\r\n <div class=\"info-card\">\r\n <h5 class=\"info-title\">\u270D\uFE0F Editing Your Scores</h5>\r\n <ol>\r\n <li>\r\n <strong>You are viewing saved scores.</strong> To make a change, simply click on a score and type in a\r\n new number.\r\n </li>\r\n <li>\r\n The <strong>Total Points</strong> bar at the top will update as you make edits.\r\n </li>\r\n <li>\r\n Click <strong>\"Save Points\"</strong> to confirm your changes when you're done.\r\n </li>\r\n </ol>\r\n </div>\r\n }\r\n</div>\r\n\r\n }\r\n\r\n\r\n<mat-dialog-content style=\"padding-bottom: 8px;padding-bottom: 8px\" [formGroup]=\"pointsForm\">\r\n <div class=\"summary-bar\">\r\n <h3>Total Points: {{ totalPoints$ | async }} / {{ maxPossiblePoints }}</h3>\r\n <mat-progress-bar mode=\"determinate\"\r\n [value]=\"((totalPoints$ | async) || 0) / maxPossiblePoints * 100\"></mat-progress-bar>\r\n </div>\r\n\r\n <mat-accordion multi>\r\n @for (group of data.scoreSheetGroups; track group.key) {\r\n <mat-expansion-panel [expanded]=\"true\" [formGroupName]=\"group.key\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>{{ group.name }}</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n @for (score of data.groupedScoreSheet[group.key] || []; track score.id) {\r\n <div class=\"score-item\">\r\n <label [for]=\"score.id\" class=\"score-description\">{{ score.description }}</label>\r\n\r\n <mat-form-field appearance=\"outline\" subscriptSizing=\"dynamic\" class=\"score-input\">\r\n <mat-label>Score</mat-label>\r\n <input [disabled]=\"data.readonly\" matInput type=\"number\" placeholder=\"0\" [id]=\"score.id\"\r\n [formControlName]=\"score.id\" [max]=\"score.totalPoints\" min=\"0\" [errorStateMatcher]=\"matcher\"\r\n (input)=\"correctMaxValue($event, group.key, score.id, score.totalPoints)\" />\r\n <span matSuffix>\r\n <span style=\"min-width: 58px; display:flex\">\r\n / {{ score.totalPoints }}\r\n </span>\r\n </span>\r\n\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('required')) {\r\n <mat-error>A score is required.</mat-error>\r\n }\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('max')) {\r\n <mat-error>Score cannot exceed {{ score.totalPoints }}.</mat-error>\r\n }\r\n @if (pointsForm.get(group.key)?.get(score.id)?.hasError('min')) {\r\n <mat-error>Score cannot be negative.</mat-error>\r\n }\r\n </mat-form-field>\r\n </div>\r\n <mat-divider></mat-divider>\r\n }\r\n </mat-expansion-panel>\r\n }\r\n </mat-accordion>\r\n\r\n</mat-dialog-content>\r\n\r\n<mat-dialog-actions align=\"end\">\r\n <button mat-button mat-dialog-close>Cancel</button>\r\n @if( !data.readonly){\r\n <button mat-flat-button color=\"primary\" \r\n [mat-dialog-close]=\"pointsForm.getRawValue()\"\r\n [disabled]=\"pointsForm.invalid\">\r\n Save Points\r\n </button>\r\n }\r\n\r\n</mat-dialog-actions>", styles: [":host{display:block;min-width:500px;max-width:700px}.bidder-name{font-weight:500}.summary-bar{margin-bottom:24px}.summary-bar h3{margin-bottom:8px;font-weight:500}.score-item{display:flex;align-items:center;justify-content:space-between;padding:8px 4px;gap:16px}.score-description{flex:1;margin-right:16px;line-height:1.4}.score-input{flex-shrink:0;width:150px}.mat-expansion-panel-body .score-item:last-child+mat-divider{display:none}mat-dialog-actions{padding:16px 24px}.mat-mdc-form-field-error{font-size:.8125em}.dialog-instructions{margin-top:-8px;margin-bottom:24px;max-width:95%;padding-left:24px;padding-right:24px}li{font-size:.75em}ol,ul{margin-top:8px}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i1$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i2$3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatProgressBarModule }, { kind: "component", type: i1$2.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "ngmodule", type: MatExpansionModule }, { kind: "directive", type: i5$3.MatAccordion, selector: "mat-accordion", inputs: ["hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i5$3.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i5$3.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "directive", type: i5$3.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "ngmodule", type: MatDividerModule }, { kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1335
1394
  }
1336
1395
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: PointAssignmentDialogComponent, decorators: [{
1337
1396
  type: Component,
@@ -2077,7 +2136,7 @@ class WorkflowAdjudicationComponent {
2077
2136
  this.errorMessage = computed(() => getInputErrorMessage(this.inputConfig(), this.formGroup()), ...(ngDevMode ? [{ debugName: "errorMessage" }] : /* istanbul ignore next */ []));
2078
2137
  }
2079
2138
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: WorkflowAdjudicationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2080
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: WorkflowAdjudicationComponent, isStandalone: true, selector: "lib-workflow-adjudication", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null }, editorMode: { classPropertyName: "editorMode", publicName: "editorMode", isSignal: true, isRequired: false, transformFunction: null }, formBuilderFunctions: { classPropertyName: "formBuilderFunctions", publicName: "formBuilderFunctions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n [floatLabel]=\"'always'\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-workflow-adjudication-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n [formGroup]=\"formGroup()\"\r\n [editorMode]=\"editorMode()\"\r\n [formBuilderFunctions]=\"formBuilderFunctions()\"\r\n ></lib-workflow-adjudication-reactive-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: WorkflowAdjudicationReactiveInputComponent, selector: "lib-workflow-adjudication-reactive-input", inputs: ["inputConfig", "editorMode", "formBuilderFunctions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2139
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: WorkflowAdjudicationComponent, isStandalone: true, selector: "lib-workflow-adjudication", inputs: { inputConfig: { classPropertyName: "inputConfig", publicName: "inputConfig", isSignal: true, isRequired: true, transformFunction: null }, formGroup: { classPropertyName: "formGroup", publicName: "formGroup", isSignal: true, isRequired: true, transformFunction: null }, editorMode: { classPropertyName: "editorMode", publicName: "editorMode", isSignal: true, isRequired: false, transformFunction: null }, formBuilderFunctions: { classPropertyName: "formBuilderFunctions", publicName: "formBuilderFunctions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { reload: "reload" }, ngImport: i0, template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n [floatLabel]=\"'always'\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-workflow-adjudication-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n [formGroup]=\"formGroup()\"\r\n [editorMode]=\"editorMode()\"\r\n [formBuilderFunctions]=\"formBuilderFunctions()\"\r\n ></lib-workflow-adjudication-reactive-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"padding: 0 12px;\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding: 0 12px;\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"], dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i2$2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i2$2.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i2$2.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i5.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: TFormInputStatusComponent, selector: "lib-t-form-input-status", inputs: ["inputConfig"] }, { kind: "component", type: WorkflowAdjudicationReactiveInputComponent, selector: "lib-workflow-adjudication-reactive-input", inputs: ["inputConfig", "editorMode", "formBuilderFunctions"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
2081
2140
  }
2082
2141
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: WorkflowAdjudicationComponent, decorators: [{
2083
2142
  type: Component,
@@ -2089,8 +2148,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImpo
2089
2148
  MatTooltipModule,
2090
2149
  TFormInputStatusComponent,
2091
2150
  WorkflowAdjudicationReactiveInputComponent,
2092
- ], template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n [floatLabel]=\"'always'\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-workflow-adjudication-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n [formGroup]=\"formGroup()\"\r\n [editorMode]=\"editorMode()\"\r\n [formBuilderFunctions]=\"formBuilderFunctions()\"\r\n ></lib-workflow-adjudication-reactive-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
2151
+ ], template: "<form [formGroup]=\"formGroup()\">\r\n @if (inputConfig(); as inputConfig) {\r\n <mat-form-field\r\n [appearance]=\"inputConfig.appearance || 'fill'\"\r\n [floatLabel]=\"'always'\"\r\n subscriptSizing=\"dynamic\"\r\n >\r\n <mat-label>\r\n {{ inputConfig.label }}\r\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\r\n </mat-label>\r\n\r\n <lib-workflow-adjudication-reactive-input\r\n [inputConfig]=\"inputConfig\"\r\n [formControlName]=\"inputConfig.id\"\r\n [required]=\"inputConfig.required\"\r\n [formGroup]=\"formGroup()\"\r\n [editorMode]=\"editorMode()\"\r\n [formBuilderFunctions]=\"formBuilderFunctions()\"\r\n ></lib-workflow-adjudication-reactive-input>\r\n\r\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\r\n <mat-hint class=\"inputHint\">\r\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\r\n </mat-hint>\r\n }\r\n\r\n @if (!!errorMessage()) {\r\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\r\n }\r\n\r\n @if (inputConfig.canReload?.canReload) {\r\n <button\r\n mat-icon-button\r\n style=\"margin-right: 4px;\"\r\n matTooltip=\"Click to refresh this field.\"\r\n class=\"input-sync-button\"\r\n (click)=\"inputConfig.canReload.emit()\"\r\n matSuffix\r\n >\r\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\r\n </button>\r\n }\r\n\r\n @if (inputConfig.prefixIcon) {\r\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\r\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\r\n }\r\n\r\n @if (inputConfig.prefixText) {\r\n <span matPrefix style=\"padding: 0 12px;\">{{ inputConfig.prefixText }}</span>\r\n }\r\n @if (inputConfig.suffixText) {\r\n <span matSuffix style=\"padding: 0 12px;\">{{ inputConfig.suffixText }}</span>\r\n }\r\n\r\n @if (inputConfig.maxLength && formGroup()) {\r\n <mat-hint align=\"end\">\r\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\r\n </mat-hint>\r\n }\r\n </mat-form-field>\r\n }\r\n</form>\r\n", styles: ["mat-form-field{width:100%}mat-form-field .input-sync-button{display:none}mat-form-field:hover .input-sync-button{display:inline-block}\n"] }]
2093
2152
  }], propDecorators: { inputConfig: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputConfig", required: true }] }], formGroup: [{ type: i0.Input, args: [{ isSignal: true, alias: "formGroup", required: true }] }], editorMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "editorMode", required: false }] }], formBuilderFunctions: [{ type: i0.Input, args: [{ isSignal: true, alias: "formBuilderFunctions", required: false }] }], reload: [{ type: i0.Output, args: ["reload"] }] } });
2094
2153
 
2095
2154
  export { WorkflowAdjudicationComponent };
2096
- //# sourceMappingURL=ngx-t-forms-workflow-adjudication.component-CZZX1hYU.mjs.map
2155
+ //# sourceMappingURL=ngx-t-forms-workflow-adjudication.component-DxObFakZ.mjs.map