ngx-t-forms 3.1.5 → 3.1.6

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 (103) hide show
  1. package/fesm2022/{ngx-t-forms-api-endpoint-config.component-DLg5vzNJ.mjs → ngx-t-forms-api-endpoint-config.component-Di79aHfa.mjs} +6 -6
  2. package/fesm2022/{ngx-t-forms-api-endpoint-config.component-DLg5vzNJ.mjs.map → ngx-t-forms-api-endpoint-config.component-Di79aHfa.mjs.map} +1 -1
  3. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-CQ9gB964.mjs → ngx-t-forms-auto-complete-input-element.component-DJ84laIO.mjs} +2 -2
  4. package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-CQ9gB964.mjs.map → ngx-t-forms-auto-complete-input-element.component-DJ84laIO.mjs.map} +1 -1
  5. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-B-J4qO_Z.mjs → ngx-t-forms-basic-input-input-element.component-1wixvEKK.mjs} +3 -3
  6. package/fesm2022/{ngx-t-forms-basic-input-input-element.component-B-J4qO_Z.mjs.map → ngx-t-forms-basic-input-input-element.component-1wixvEKK.mjs.map} +1 -1
  7. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-KHUBx8wM.mjs → ngx-t-forms-calculated-field-rules.component-CMOyxJ4K.mjs} +2 -2
  8. package/fesm2022/{ngx-t-forms-calculated-field-rules.component-KHUBx8wM.mjs.map → ngx-t-forms-calculated-field-rules.component-CMOyxJ4K.mjs.map} +1 -1
  9. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DAZVCoUZ.mjs → ngx-t-forms-chip-options-creator-editor.component-D2LhKaem.mjs} +2 -2
  10. package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-DAZVCoUZ.mjs.map → ngx-t-forms-chip-options-creator-editor.component-D2LhKaem.mjs.map} +1 -1
  11. package/fesm2022/{ngx-t-forms-conditional-display-config.component-p3dEGx1z.mjs → ngx-t-forms-conditional-display-config.component-DSyIhkWf.mjs} +2 -2
  12. package/fesm2022/{ngx-t-forms-conditional-display-config.component-p3dEGx1z.mjs.map → ngx-t-forms-conditional-display-config.component-DSyIhkWf.mjs.map} +1 -1
  13. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CAk0k2YC.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-DSUAcg8R.mjs} +2 -2
  14. package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CAk0k2YC.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-DSUAcg8R.mjs.map} +1 -1
  15. package/fesm2022/{ngx-t-forms-data-source-picker.component-CUVjocuE.mjs → ngx-t-forms-data-source-picker.component-h_e5wDIJ.mjs} +6 -6
  16. package/fesm2022/{ngx-t-forms-data-source-picker.component-CUVjocuE.mjs.map → ngx-t-forms-data-source-picker.component-h_e5wDIJ.mjs.map} +1 -1
  17. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-lQfvlGfA.mjs → ngx-t-forms-date-picker-input-element.component-BPoqT0as.mjs} +2 -2
  18. package/fesm2022/{ngx-t-forms-date-picker-input-element.component-lQfvlGfA.mjs.map → ngx-t-forms-date-picker-input-element.component-BPoqT0as.mjs.map} +1 -1
  19. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-7t9Ib-35.mjs → ngx-t-forms-date-range-picker-input-element.component-DLeCZF3n.mjs} +2 -2
  20. package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-7t9Ib-35.mjs.map → ngx-t-forms-date-range-picker-input-element.component-DLeCZF3n.mjs.map} +1 -1
  21. package/fesm2022/{ngx-t-forms-date-time-picker-input-element.component-Co0nzt6l.mjs → ngx-t-forms-date-time-picker-input-element.component-D2kj-knT.mjs} +2 -2
  22. package/fesm2022/{ngx-t-forms-date-time-picker-input-element.component-Co0nzt6l.mjs.map → ngx-t-forms-date-time-picker-input-element.component-D2kj-knT.mjs.map} +1 -1
  23. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-xQuX0E3x.mjs → ngx-t-forms-document-list-label-config-editor.component-BvQoKyeP.mjs} +3 -3
  24. package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-xQuX0E3x.mjs.map → ngx-t-forms-document-list-label-config-editor.component-BvQoKyeP.mjs.map} +1 -1
  25. package/fesm2022/{ngx-t-forms-document-picker.component-umv9Z3rU.mjs → ngx-t-forms-document-picker.component-D0hW0jUu.mjs} +2 -2
  26. package/fesm2022/{ngx-t-forms-document-picker.component-umv9Z3rU.mjs.map → ngx-t-forms-document-picker.component-D0hW0jUu.mjs.map} +1 -1
  27. package/fesm2022/{ngx-t-forms-editor-input-element.component-BHq-LOhI.mjs → ngx-t-forms-editor-input-element.component-DlIfYjsU.mjs} +3 -3
  28. package/fesm2022/{ngx-t-forms-editor-input-element.component-BHq-LOhI.mjs.map → ngx-t-forms-editor-input-element.component-DlIfYjsU.mjs.map} +1 -1
  29. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-DjVntIfw.mjs → ngx-t-forms-file-upload-input-element.component-Dv21OQ8v.mjs} +6 -6
  30. package/fesm2022/{ngx-t-forms-file-upload-input-element.component-DjVntIfw.mjs.map → ngx-t-forms-file-upload-input-element.component-Dv21OQ8v.mjs.map} +1 -1
  31. package/fesm2022/{ngx-t-forms-form-input-selector.component-DX85MMcQ.mjs → ngx-t-forms-form-input-selector.component-HjtfeAew.mjs} +2 -2
  32. package/fesm2022/{ngx-t-forms-form-input-selector.component-DX85MMcQ.mjs.map → ngx-t-forms-form-input-selector.component-HjtfeAew.mjs.map} +1 -1
  33. package/fesm2022/{ngx-t-forms-form-json-view.component-f6QyPY6E.mjs → ngx-t-forms-form-json-view.component-XsTfLIOP.mjs} +2 -2
  34. package/fesm2022/{ngx-t-forms-form-json-view.component-f6QyPY6E.mjs.map → ngx-t-forms-form-json-view.component-XsTfLIOP.mjs.map} +1 -1
  35. package/fesm2022/{ngx-t-forms-form-section-stepper.component-ChaSUCrg.mjs → ngx-t-forms-form-section-stepper.component-DF3-s7Ou.mjs} +4 -4
  36. package/fesm2022/{ngx-t-forms-form-section-stepper.component-ChaSUCrg.mjs.map → ngx-t-forms-form-section-stepper.component-DF3-s7Ou.mjs.map} +1 -1
  37. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-Qkw23Bzy.mjs → ngx-t-forms-forms-builder-menu.component-D_As34Ib.mjs} +4 -4
  38. package/fesm2022/{ngx-t-forms-forms-builder-menu.component-Qkw23Bzy.mjs.map → ngx-t-forms-forms-builder-menu.component-D_As34Ib.mjs.map} +1 -1
  39. package/fesm2022/{ngx-t-forms-geo-location.component-DqYEmeLs.mjs → ngx-t-forms-geo-location.component-BGg8uGQV.mjs} +2 -2
  40. package/fesm2022/{ngx-t-forms-geo-location.component-DqYEmeLs.mjs.map → ngx-t-forms-geo-location.component-BGg8uGQV.mjs.map} +1 -1
  41. package/fesm2022/{ngx-t-forms-header-template-editor.component-CIft152I.mjs → ngx-t-forms-header-template-editor.component-D78_YC80.mjs} +2 -2
  42. package/fesm2022/{ngx-t-forms-header-template-editor.component-CIft152I.mjs.map → ngx-t-forms-header-template-editor.component-D78_YC80.mjs.map} +1 -1
  43. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BmVXoC_z.mjs → ngx-t-forms-image-capture-input-element.component-B2ldh1-n.mjs} +2 -2
  44. package/fesm2022/{ngx-t-forms-image-capture-input-element.component-BmVXoC_z.mjs.map → ngx-t-forms-image-capture-input-element.component-B2ldh1-n.mjs.map} +1 -1
  45. package/fesm2022/{ngx-t-forms-index-yasuBvXP.mjs → ngx-t-forms-index-CerXcX5U.mjs} +2 -2
  46. package/fesm2022/ngx-t-forms-index-CerXcX5U.mjs.map +1 -0
  47. package/fesm2022/{ngx-t-forms-input-custom.component-CTye_tsv.mjs → ngx-t-forms-input-custom.component-BrZ59sIz.mjs} +2 -2
  48. package/fesm2022/{ngx-t-forms-input-custom.component-CTye_tsv.mjs.map → ngx-t-forms-input-custom.component-BrZ59sIz.mjs.map} +1 -1
  49. package/fesm2022/{ngx-t-forms-input-editor.component-DbhnFkYQ.mjs → ngx-t-forms-input-editor.component-B5eMJWrz.mjs} +3 -3
  50. package/fesm2022/{ngx-t-forms-input-editor.component-DbhnFkYQ.mjs.map → ngx-t-forms-input-editor.component-B5eMJWrz.mjs.map} +1 -1
  51. package/fesm2022/{ngx-t-forms-map-mat-options-keys-B49fcbzx.mjs → ngx-t-forms-map-mat-options-keys-BOX1dYlB.mjs} +2 -2
  52. package/fesm2022/{ngx-t-forms-map-mat-options-keys-B49fcbzx.mjs.map → ngx-t-forms-map-mat-options-keys-BOX1dYlB.mjs.map} +1 -1
  53. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-C0iLh1ON.mjs → ngx-t-forms-mat-chip-list-editor.component-lv4MlFT8.mjs} +2 -2
  54. package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-C0iLh1ON.mjs.map → ngx-t-forms-mat-chip-list-editor.component-lv4MlFT8.mjs.map} +1 -1
  55. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BsX7Ezy-.mjs → ngx-t-forms-missing-form-configs.component-DV55dGC2.mjs} +2 -2
  56. package/fesm2022/{ngx-t-forms-missing-form-configs.component-BsX7Ezy-.mjs.map → ngx-t-forms-missing-form-configs.component-DV55dGC2.mjs.map} +1 -1
  57. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D8GL9Aht.mjs → ngx-t-forms-mscoa-chart-toolbar.component-C9hD1Cnq.mjs} +2 -2
  58. package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-D8GL9Aht.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-C9hD1Cnq.mjs.map} +1 -1
  59. package/fesm2022/{ngx-t-forms-mscoa-config.component-Sz8VZ-vc.mjs → ngx-t-forms-mscoa-config.component-BqgTVHRS.mjs} +6 -6
  60. package/fesm2022/{ngx-t-forms-mscoa-config.component-Sz8VZ-vc.mjs.map → ngx-t-forms-mscoa-config.component-BqgTVHRS.mjs.map} +1 -1
  61. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-COepe5G2.mjs → ngx-t-forms-mscoa-segment-config.component-7w9J1RgE.mjs} +2 -2
  62. package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-COepe5G2.mjs.map → ngx-t-forms-mscoa-segment-config.component-7w9J1RgE.mjs.map} +1 -1
  63. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BbbRpwPw.mjs +2336 -0
  64. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-BbbRpwPw.mjs.map +1 -0
  65. package/fesm2022/{ngx-t-forms-ngx-t-forms-B3WhBGlD.mjs → ngx-t-forms-ngx-t-forms-XLA9yzak.mjs} +1230 -139
  66. package/fesm2022/ngx-t-forms-ngx-t-forms-XLA9yzak.mjs.map +1 -0
  67. package/fesm2022/{ngx-t-forms-paginated-selection-table-CILBCL4K.mjs → ngx-t-forms-paginated-selection-table-DisWM3sL.mjs} +2 -2
  68. package/fesm2022/{ngx-t-forms-paginated-selection-table-CILBCL4K.mjs.map → ngx-t-forms-paginated-selection-table-DisWM3sL.mjs.map} +1 -1
  69. package/fesm2022/{ngx-t-forms-payload-template-editor.component-C8OasgK7.mjs → ngx-t-forms-payload-template-editor.component-DM4-3jzA.mjs} +2 -2
  70. package/fesm2022/{ngx-t-forms-payload-template-editor.component-C8OasgK7.mjs.map → ngx-t-forms-payload-template-editor.component-DM4-3jzA.mjs.map} +1 -1
  71. package/fesm2022/{ngx-t-forms-pipeline-generator.component-_yowsgF6.mjs → ngx-t-forms-pipeline-generator.component-Bc8En673.mjs} +2 -2
  72. package/fesm2022/{ngx-t-forms-pipeline-generator.component-_yowsgF6.mjs.map → ngx-t-forms-pipeline-generator.component-Bc8En673.mjs.map} +1 -1
  73. package/fesm2022/{ngx-t-forms-quill-input.component-BWq5cLY-.mjs → ngx-t-forms-quill-input.component-CN3aorpW.mjs} +2 -2
  74. package/fesm2022/{ngx-t-forms-quill-input.component-BWq5cLY-.mjs.map → ngx-t-forms-quill-input.component-CN3aorpW.mjs.map} +1 -1
  75. package/fesm2022/{ngx-t-forms-record-list-manager.component-C-lAzlO-.mjs → ngx-t-forms-record-list-manager.component-CpyrWNo5.mjs} +2 -2
  76. package/fesm2022/{ngx-t-forms-record-list-manager.component-C-lAzlO-.mjs.map → ngx-t-forms-record-list-manager.component-CpyrWNo5.mjs.map} +1 -1
  77. package/fesm2022/{ngx-t-forms-required-inputs.component-8cQr2QWm.mjs → ngx-t-forms-required-inputs.component-CtUXVAvg.mjs} +2 -2
  78. package/fesm2022/{ngx-t-forms-required-inputs.component-8cQr2QWm.mjs.map → ngx-t-forms-required-inputs.component-CtUXVAvg.mjs.map} +1 -1
  79. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Bhj9jcQk.mjs → ngx-t-forms-rest-api-call-setup.component-a4z2V-a1.mjs} +2 -2
  80. package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Bhj9jcQk.mjs.map → ngx-t-forms-rest-api-call-setup.component-a4z2V-a1.mjs.map} +1 -1
  81. package/fesm2022/{ngx-t-forms-section-report.component-CWCqrc7k.mjs → ngx-t-forms-section-report.component-D-FE0aL3.mjs} +2 -2
  82. package/fesm2022/{ngx-t-forms-section-report.component-CWCqrc7k.mjs.map → ngx-t-forms-section-report.component-D-FE0aL3.mjs.map} +1 -1
  83. package/fesm2022/{ngx-t-forms-select-input-element.component-BGD67Dnh.mjs → ngx-t-forms-select-input-element.component-Bwlqr26x.mjs} +2 -2
  84. package/fesm2022/{ngx-t-forms-select-input-element.component-BGD67Dnh.mjs.map → ngx-t-forms-select-input-element.component-Bwlqr26x.mjs.map} +1 -1
  85. package/fesm2022/{ngx-t-forms-selection-options-editor.component-ClXaOeXt.mjs → ngx-t-forms-selection-options-editor.component-BfaTlXQU.mjs} +2 -2
  86. package/fesm2022/{ngx-t-forms-selection-options-editor.component-ClXaOeXt.mjs.map → ngx-t-forms-selection-options-editor.component-BfaTlXQU.mjs.map} +1 -1
  87. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Z-wkFzgQ.mjs → ngx-t-forms-textarea-input-element.component-B35jrn-j.mjs} +2 -2
  88. package/fesm2022/{ngx-t-forms-textarea-input-element.component-Z-wkFzgQ.mjs.map → ngx-t-forms-textarea-input-element.component-B35jrn-j.mjs.map} +1 -1
  89. package/fesm2022/{ngx-t-forms-toggle-input-element.component-CvR3-IjP.mjs → ngx-t-forms-toggle-input-element.component-Cku3HoDl.mjs} +2 -2
  90. package/fesm2022/{ngx-t-forms-toggle-input-element.component-CvR3-IjP.mjs.map → ngx-t-forms-toggle-input-element.component-Cku3HoDl.mjs.map} +1 -1
  91. package/fesm2022/{ngx-t-forms-token-text-input.component-vnOkP_CV.mjs → ngx-t-forms-token-text-input.component-B1I95sk3.mjs} +2 -2
  92. package/fesm2022/{ngx-t-forms-token-text-input.component-vnOkP_CV.mjs.map → ngx-t-forms-token-text-input.component-B1I95sk3.mjs.map} +1 -1
  93. package/fesm2022/{ngx-t-forms-validators-config.component-DhuB7c63.mjs → ngx-t-forms-validators-config.component-yq3EGgU2.mjs} +2 -2
  94. package/fesm2022/{ngx-t-forms-validators-config.component-DhuB7c63.mjs.map → ngx-t-forms-validators-config.component-yq3EGgU2.mjs.map} +1 -1
  95. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-Dc4r01D7.mjs → ngx-t-forms-workflow-adjudication.component-CZZX1hYU.mjs} +5 -5
  96. package/fesm2022/{ngx-t-forms-workflow-adjudication.component-Dc4r01D7.mjs.map → ngx-t-forms-workflow-adjudication.component-CZZX1hYU.mjs.map} +1 -1
  97. package/fesm2022/ngx-t-forms.mjs +1 -1
  98. package/package.json +2 -2
  99. package/types/ngx-t-forms.d.ts +484 -13
  100. package/fesm2022/ngx-t-forms-index-yasuBvXP.mjs.map +0 -1
  101. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-DlgTjJpj.mjs +0 -909
  102. package/fesm2022/ngx-t-forms-multiple-input-input-element.component-DlgTjJpj.mjs.map +0 -1
  103. package/fesm2022/ngx-t-forms-ngx-t-forms-B3WhBGlD.mjs.map +0 -1
@@ -1,3 +1,3 @@
1
- export { ao as AI_ENDPOINT_CATALOG, ap as AI_FORM_BUILDER_CONFIG, aq as AI_MSCOA_GROUNDING, S as DialogTemplateComponent, ar as FORM_ACTIONS_TOKEN, as as FORM_CONFIG_TOKEN, at as FORM_DRAFT_ORCHESTRATOR, au as FORM_INPUTS_TOKEN, av as FORM_ROUTE_SOURCE, aw as FORM_SLIDES_TOKEN, ax as FORM_SUGGESTION_REGISTRY, U as FormBuilderComponent, ay as FormDraftOrchestrator, az as FormSuggestionRegistry, aA as FormSuggestionRegistryService, aB as FormTowerControllerService, ae as FormatDataPipe, V as FormsComponent, aC as HashbrownFormDraftOrchestratorService, aD as HttpPipelineRepository, aE as IMPORT_TOWER_INSTANCE_ID, aF as INPUT_SECRET_TOKEN, aG as MSCOA_TREE_PROVIDER, aH as MULTIPLE_FORM_INPUT_TOKEN, W as MscoaFormInputComponent, N as NGX_T_FORMS_CONFIG_TOKEN, aI as NgxTFormsComponent, aJ as NgxTFormsService, aK as PIPELINE_REPOSITORY, aL as PipelineRepository, aM as PropertyAccessError, X as SignatureInputElementComponent, T as TDynamicDataEditComponent, c as TDynamicDataViewComponent, aN as TFormDraftPanelComponent, aO as TFormImportController, Y as TFormInputComponent, aP as TSuggestionReviewComponent, aQ as UTILS_OBJECT_TOKEN, Z as UserFormStepperComponent, $ as ValidationExpressioCreatorComponent, a as assignDeepPropertyToObject, aR as buildBlueprintSchema, aS as buildBriefSchema, aT as buildSuggestionSchema, aU as createFileFromBase64, aV as decryptSecuredInputValue, aW as formGenerator, aX as generateInputSecretKey, aY as getPipedValueFromDataType, aZ as getSampleValueForInput, a_ as getSectionElements, a0 as getSignatureImage, a$ as getUrl, b0 as getValueFromValueAccessor, b1 as initFormConfigToV2, b2 as provideNgxTForms, b3 as returnDeepProperty, aj as returnMappedPathValue, R as safeReturnDeepProperty, b4 as sheetConsolodation, t as testAgainstItem, b5 as textIconsForUserHints, b6 as toSuggestionBatch, b7 as validateExpressionSyntax, b8 as validateObjectAgainstString, b9 as withAiEndpointCatalog, ba as withAiFormBuilder, bb as withAiMscoaGrounding, bc as withFormSuggestions, bd as withHttpPipeline, be as withInputSecret, bf as withRouterFormId } from './ngx-t-forms-ngx-t-forms-B3WhBGlD.mjs';
1
+ export { av as AI_ENDPOINT_CATALOG, aw as AI_FORM_BUILDER_CONFIG, ax as AI_MSCOA_GROUNDING, S as DialogTemplateComponent, ay as FORM_ACTIONS_TOKEN, az as FORM_CONFIG_TOKEN, aA as FORM_DRAFT_ORCHESTRATOR, aB as FORM_INPUTS_TOKEN, aC as FORM_ROUTE_SOURCE, aD as FORM_SLIDES_TOKEN, aE as FORM_SUGGESTION_REGISTRY, U as FormBuilderComponent, aF as FormDraftOrchestrator, aG as FormSuggestionRegistry, aH as FormSuggestionRegistryService, aI as FormTowerControllerService, al as FormatDataPipe, V as FormsComponent, aJ as HashbrownFormDraftOrchestratorService, aK as HttpPipelineRepository, aL as IMPORT_TOWER_INSTANCE_ID, aM as INPUT_SECRET_TOKEN, aN as MSCOA_TREE_PROVIDER, aO as MULTIPLE_FORM_INPUT_TOKEN, W as MscoaFormInputComponent, N as NGX_T_FORMS_CONFIG_TOKEN, aP as NgxTFormsComponent, aQ as NgxTFormsService, aR as PIPELINE_REPOSITORY, aS as PipelineRepository, aT as PropertyAccessError, a8 as SPREADSHEET_PARSER, a7 as SPREADSHEET_WRITER, X as SignatureInputElementComponent, T as TDynamicDataEditComponent, c as TDynamicDataViewComponent, aU as TFormDraftPanelComponent, a9 as TFormImportController, Y as TFormInputComponent, aV as TSuggestionReviewComponent, aW as UTILS_OBJECT_TOKEN, Z as UserFormStepperComponent, $ as ValidationExpressioCreatorComponent, ab as applyOptionChoice, a as assignDeepPropertyToObject, aX as buildBlueprintSchema, aY as buildBriefSchema, aZ as buildSuggestionSchema, a_ as createFileFromBase64, a$ as decryptSecuredInputValue, b0 as formGenerator, b1 as generateInputSecretKey, b2 as getPipedValueFromDataType, b3 as getSampleValueForInput, b4 as getSectionElements, a0 as getSignatureImage, b5 as getUrl, b6 as getValueFromValueAccessor, b7 as initFormConfigToV2, b8 as provideNgxTForms, b9 as returnDeepProperty, aq as returnMappedPathValue, R as safeReturnDeepProperty, ba as sheetConsolodation, t as testAgainstItem, bb as textIconsForUserHints, bc as toSuggestionBatch, bd as validateExpressionSyntax, be as validateObjectAgainstString, bf as withAiEndpointCatalog, bg as withAiFormBuilder, bh as withAiMscoaGrounding, bi as withFormSuggestions, bj as withHttpPipeline, bk as withInputSecret, bl as withRouterFormId, bm as withSpreadsheetImport } from './ngx-t-forms-ngx-t-forms-XLA9yzak.mjs';
2
2
  export { WorkflowFunctionTypes } from 'ngx-t-forms-types';
3
3
  //# sourceMappingURL=ngx-t-forms.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-t-forms",
3
- "version": "3.1.5",
3
+ "version": "3.1.6",
4
4
  "description": "Angular forms module for creating dynamic forms through configuration. Supports form validation, custom controls, and complex form structures.",
5
5
  "license": "UNLICENSED",
6
6
  "author": {
@@ -42,7 +42,7 @@
42
42
  "html5-qrcode": "^2.3.8",
43
43
  "katex": "^0.16.11",
44
44
  "mathjs": "^15.2.0",
45
- "ngx-t-forms-types": "^0.0.33",
45
+ "ngx-t-forms-types": "^0.0.34",
46
46
  "ngx-ui-tour-md-menu": "^16.0.0",
47
47
  "qrcode": "^1.5.4",
48
48
  "quill": "^2.0.3",
@@ -1,8 +1,8 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { Provider, EnvironmentProviders, InjectionToken, Signal, OnInit, OnDestroy, PipeTransform, Type, ElementRef } from '@angular/core';
3
3
  import * as ngx_t_forms_types from 'ngx-t-forms-types';
4
- import { NgxTFormsConfig, ElementTypes, FormInterface, APIDataFetchingConfigurationInterface, IFormActions, FormSlideInterface, InClassFormUtilsInterface, IWorkflowDocumentPicker, IBasicFormInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IGetTreeResponse, IRunPipelineResponse, IPipelineGenerationResponse, InputDataTypes, FormInputBasicOptionInterface, LocalFormStateSelectorInterface, FormsStoreSelectorsInterface, FormListSection, ITowerFormSteps, WorkflowFunctionTypes, FileData, FormSubmissionStatus, IFormValidationOverride, FormColumnInputs, IFormChangeHistory, IStepOption, FormBuilderFunctions, ElementEditorTypes, ElementEditorInnerSectionElementInterface, ITowerStepColumn, ScoaInnerInput, IWorkflowOption, BlurHandleTypes, TreeNode, FlatNode, IArrayFunction, DocumentLitsLabelConfigInterfaceValueType, InputPipeTypes, EncryptedData, ImportProgress, ImportRowState, ValidationError, DialogConfig, PropertyPath, DeepPropertyValue, FileUploadInputValueInterface, FormInterfaceMigration, ConfigurationValidTestInterface } from 'ngx-t-forms-types';
5
- export { BlurHandleTypes, ConfigurationValidTestInterface, DeepPropertyValue, DialogConfig, DocumentLitsLabelConfigInterfaceValueType, ElementEditorInnerSectionElementInterface, ElementEditorTypes, EncryptedData, FileUploadInputValueInterface, FormBuilderFunctions, FormColumnInputs, FormInputBasicOptionInterface, FormInterface, FormInterfaceMigration, FormListSection, FormSubmissionStatus, IArrayFunction, IFormActions, IFormChangeHistory, IFormTour, IFormValidationOverride, IGetTreeResponse, IScoaAccount, ITowerStepColumn, IWorkflowOption, ImportProgress, ImportRowState, ImportRowStatus, InClassFormUtilsInterface, InputDataTypes, InputPipeTypes, LocalFormStateSelectorInterface, NgxTFormsConfig, OLD_FormInterface, PropertyPath, TreeNode, ValidationError, WorkflowFunctionTypes } from 'ngx-t-forms-types';
4
+ import { NgxTFormsConfig, ElementTypes, FormInterface, APIDataFetchingConfigurationInterface, IFormActions, FormSlideInterface, InClassFormUtilsInterface, IWorkflowDocumentPicker, IBasicFormInput, IFileUploadInput, IDateRangePickerInput, ITextareaProperties, IToggleInput, IMatrixInput, IMultiple, IGetTreeResponse, IRunPipelineResponse, IPipelineGenerationResponse, InputDataTypes, FormInputBasicOptionInterface, LocalFormStateSelectorInterface, FormsStoreSelectorsInterface, FormListSection, ITowerFormSteps, WorkflowFunctionTypes, FileData, FormSubmissionStatus, IFormValidationOverride, FormColumnInputs, IFormChangeHistory, IStepOption, FormBuilderFunctions, ElementEditorTypes, ElementEditorInnerSectionElementInterface, ITowerStepColumn, ScoaInnerInput, IWorkflowOption, BlurHandleTypes, TreeNode, FlatNode, IArrayFunction, DocumentLitsLabelConfigInterfaceValueType, InputPipeTypes, EncryptedData, ImportProgress, ImportIdentity, ImportRowState, ValidationError, DialogConfig, PropertyPath, DeepPropertyValue, FileUploadInputValueInterface, FormInterfaceMigration, ConfigurationValidTestInterface } from 'ngx-t-forms-types';
5
+ export { BlurHandleTypes, ConfigurationValidTestInterface, DeepPropertyValue, DialogConfig, DocumentLitsLabelConfigInterfaceValueType, ElementEditorInnerSectionElementInterface, ElementEditorTypes, EncryptedData, FileUploadInputValueInterface, FormBuilderFunctions, FormColumnInputs, FormInputBasicOptionInterface, FormInterface, FormInterfaceMigration, FormListSection, FormSubmissionStatus, IArrayFunction, IFormActions, IFormChangeHistory, IFormTour, IFormValidationOverride, IGetTreeResponse, IScoaAccount, ITowerStepColumn, IWorkflowOption, ImportIdentity, ImportProgress, ImportRowState, ImportRowStatus, InClassFormUtilsInterface, InputDataTypes, InputPipeTypes, LocalFormStateSelectorInterface, NgxTFormsConfig, OLD_FormInterface, PropertyPath, TreeNode, ValidationError, WorkflowFunctionTypes } from 'ngx-t-forms-types';
6
6
  import * as rxjs from 'rxjs';
7
7
  import { Observable, Subject } from 'rxjs';
8
8
  import { PipelineStage } from 'mongoose';
@@ -30,7 +30,8 @@ declare const enum NgxTFormsFeatureKind {
30
30
  FormSuggestions = 6,
31
31
  AiFormBuilder = 7,
32
32
  AiEndpointCatalog = 8,
33
- AiMscoaGrounding = 9
33
+ AiMscoaGrounding = 9,
34
+ SpreadsheetImport = 10
34
35
  }
35
36
  interface NgxTFormsFeature {
36
37
  readonly kind: NgxTFormsFeatureKind;
@@ -1190,6 +1191,172 @@ interface AiMscoaGrounding {
1190
1191
  */
1191
1192
  declare function withAiMscoaGrounding(grounding: AiMscoaGrounding): NgxTFormsFeature;
1192
1193
 
1194
+ /**
1195
+ * @file The contract a host fulfils to let the library read — and write —
1196
+ * spreadsheets.
1197
+ *
1198
+ * The library never parses or serialises a workbook itself. Both are
1199
+ * environmental (LIB-05): they need a spreadsheet library (`exceljs`, `xlsx`, …)
1200
+ * that the host already owns and already has opinions about — how dates are
1201
+ * normalised, what a formula cell yields, which sheets matter. The host binds a
1202
+ * parser (and, optionally, a writer) through `withSpreadsheetImport()`; the
1203
+ * library hands the parser the picked file's bytes and receives header-keyed
1204
+ * rows back — the same shape `TFormImportController` consumes for bulk imports,
1205
+ * so a sheet that works for one works for the other — and hands the writer the
1206
+ * import template it built for a field, receiving a file to offer for download.
1207
+ *
1208
+ * Inner-ring file: no imports at all. `ArrayBuffer` is an ECMAScript type, so
1209
+ * the contract stays free of DOM types.
1210
+ */
1211
+ /** One worksheet of a parsed workbook, as header-keyed rows. */
1212
+ interface SpreadsheetSheet {
1213
+ /** The worksheet's name as it appears on its tab. */
1214
+ readonly name: string;
1215
+ /**
1216
+ * One record per data row, keyed by the header-row cell text. Cells are
1217
+ * whatever the parser produced — typically strings and numbers; `Date`,
1218
+ * `boolean` and `null` are tolerated too.
1219
+ */
1220
+ readonly rows: readonly Record<string, unknown>[];
1221
+ }
1222
+ /**
1223
+ * A spreadsheet file in memory. The library hands the parser the file the user
1224
+ * picked, and receives from the writer the template it then offers for
1225
+ * download.
1226
+ */
1227
+ interface SpreadsheetSource {
1228
+ /** The file name, extension included (e.g. `lines.xlsx`). */
1229
+ readonly fileName: string;
1230
+ /** The file's MIME type — as the browser reported it, or `''` when it reported none. */
1231
+ readonly mimeType: string;
1232
+ /** The file's bytes. */
1233
+ readonly data: ArrayBuffer;
1234
+ }
1235
+ /**
1236
+ * Turns a spreadsheet's bytes into header-keyed rows, one entry per sheet.
1237
+ *
1238
+ * Reject (or throw) with an `Error` whose message can be shown to the user —
1239
+ * the library surfaces it verbatim.
1240
+ *
1241
+ * @example
1242
+ * // exceljs-backed parser, bound once at bootstrap via withSpreadsheetImport()
1243
+ * const parseWithExcelJs: SpreadsheetParser = async ({ data }) => {
1244
+ * const workbook = new ExcelJS.Workbook();
1245
+ * await workbook.xlsx.load(data);
1246
+ * return workbook.worksheets.map(sheet => ({ name: sheet.name, rows: sheetToRows(sheet) }));
1247
+ * };
1248
+ */
1249
+ type SpreadsheetParser = (source: SpreadsheetSource) => Promise<readonly SpreadsheetSheet[]>;
1250
+ /** One sheet of a template the library asks the host to write. */
1251
+ interface SpreadsheetTemplateSheet {
1252
+ /**
1253
+ * The name for the sheet's tab. Hosts sanitise it as their format requires
1254
+ * (Excel caps names at 31 characters and forbids `[ ] * / \ ? :`).
1255
+ */
1256
+ readonly name: string;
1257
+ /** Row 1, left to right. */
1258
+ readonly headers: readonly string[];
1259
+ /**
1260
+ * The rows below the headers, keyed by header. A key with no entry leaves
1261
+ * the cell empty; a data sheet that is only headers has none.
1262
+ */
1263
+ readonly rows: readonly Record<string, unknown>[];
1264
+ }
1265
+ /**
1266
+ * A workbook the library wants written: the import template for one
1267
+ * multiple-input field.
1268
+ *
1269
+ * The first sheet is the data sheet — named after the field's
1270
+ * `formControlName`, holding the headers the import matches and no rows. A
1271
+ * `Guide` sheet follows with one row per column: its key, label, whether it is
1272
+ * required and what to enter. Importing the template back (rows filled in)
1273
+ * picks the data sheet automatically.
1274
+ */
1275
+ interface SpreadsheetTemplate {
1276
+ /** Suggested file name without its extension, e.g. `Template-lines`. */
1277
+ readonly baseName: string;
1278
+ /** The sheets, in tab order; the data sheet leads. */
1279
+ readonly sheets: readonly SpreadsheetTemplateSheet[];
1280
+ }
1281
+ /**
1282
+ * Serialises a {@link SpreadsheetTemplate} into a file the library offers for
1283
+ * download. The host chooses the format: the extension goes on `fileName`
1284
+ * (`` `${baseName}.xlsx` ``) and the matching type on `mimeType`.
1285
+ *
1286
+ * Reject (or throw) with an `Error` whose message can be shown to the user.
1287
+ *
1288
+ * @example
1289
+ * const writeWithExcelJs: SpreadsheetWriter = async ({ baseName, sheets }) => {
1290
+ * const workbook = new ExcelJS.Workbook();
1291
+ * for (const { name, headers, rows } of sheets) {
1292
+ * const sheet = workbook.addWorksheet(name);
1293
+ * sheet.columns = headers.map(header => ({ header, key: header }));
1294
+ * for (const row of rows) sheet.addRow(row);
1295
+ * }
1296
+ * return { fileName: `${baseName}.xlsx`, mimeType: XLSX_MIME, data: await workbook.xlsx.writeBuffer() };
1297
+ * };
1298
+ */
1299
+ type SpreadsheetWriter = (template: SpreadsheetTemplate) => Promise<SpreadsheetSource>;
1300
+
1301
+ /**
1302
+ * Lets users prepopulate a multiple-input table from a spreadsheet.
1303
+ *
1304
+ * Binds the supplied parser to {@link SPREADSHEET_PARSER}. With it bound, every
1305
+ * multiple-input field that allows adding rows gains a chevron on its add-row
1306
+ * button whose menu offers "Import from spreadsheet". The user picks a file;
1307
+ * each row is validated by the same per-row tower the bulk
1308
+ * `TFormImportController` uses for that field's sub-rows — calculations,
1309
+ * API-fetched options, mSCOA lookups and custom validators included — and the
1310
+ * rows that pass are appended to the table. Rows that fail are shown against
1311
+ * their column headers and are never added.
1312
+ *
1313
+ * Pass a `writer` as well and the menu also offers "Download import template":
1314
+ * a workbook the library builds for the field — a data sheet carrying exactly
1315
+ * the headers the import matches, plus a `Guide` sheet that says what goes in
1316
+ * each column — which the writer serialises ({@link SPREADSHEET_WRITER}). The
1317
+ * import dialog then offers the same download in place of its column list.
1318
+ *
1319
+ * The library does not read or write workbooks itself: both functions are the
1320
+ * host's, so the app decides which spreadsheet library it carries and how cells
1321
+ * are normalised (dates, formula results, rich text). Omit the feature and
1322
+ * nothing changes — the affordances stay hidden and no import code path is
1323
+ * reachable.
1324
+ *
1325
+ * Expected sheet layout: row 1 is the header row; a header matches a child
1326
+ * input by its `formControlName` or, failing that, its label (both
1327
+ * case-insensitively). A workbook with several sheets uses the one named after
1328
+ * the field's `formControlName` when present, otherwise the first — so the
1329
+ * detail sheet of a bulk-import template, or the template downloaded from the
1330
+ * menu, can be reused as-is. An `id` column is ignored: imported rows always
1331
+ * receive fresh identities.
1332
+ *
1333
+ * @param parser Reads a picked file's bytes into header-keyed rows per sheet.
1334
+ * @param options.writer Serialises the import template the library builds for
1335
+ * a field. Optional; without it no template is offered.
1336
+ *
1337
+ * @example
1338
+ * provideNgxTForms(
1339
+ * config,
1340
+ * withSpreadsheetImport(
1341
+ * async ({ data }) => {
1342
+ * const workbook = new ExcelJS.Workbook();
1343
+ * await workbook.xlsx.load(data);
1344
+ * return workbook.worksheets.map(sheet => ({ name: sheet.name, rows: sheetToRows(sheet) }));
1345
+ * },
1346
+ * {
1347
+ * writer: async ({ baseName, sheets }) => ({
1348
+ * fileName: `${baseName}.xlsx`,
1349
+ * mimeType: XLSX_MIME,
1350
+ * data: await writeWorkbook(sheets),
1351
+ * }),
1352
+ * },
1353
+ * ),
1354
+ * )
1355
+ */
1356
+ declare function withSpreadsheetImport(parser: SpreadsheetParser, options?: {
1357
+ readonly writer?: SpreadsheetWriter;
1358
+ }): NgxTFormsFeature;
1359
+
1193
1360
  /**
1194
1361
  * Provides the action handlers (submit, save, cancel, etc.) that the forms
1195
1362
  * runtime invokes when the user interacts with form controls. Bound from the
@@ -1886,6 +2053,30 @@ declare const AI_ENDPOINT_CATALOG: InjectionToken<AiEndpointCatalogProvider>;
1886
2053
  */
1887
2054
  declare const AI_MSCOA_GROUNDING: InjectionToken<AiMscoaGrounding>;
1888
2055
 
2056
+ /**
2057
+ * The host's spreadsheet parser — see {@link SpreadsheetParser}.
2058
+ *
2059
+ * Bound by `withSpreadsheetImport()`. Unbound by default: the library injects it
2060
+ * optionally and keeps every "import from spreadsheet" affordance hidden until a
2061
+ * parser exists, so an app that never opts in ships no import UI and carries no
2062
+ * spreadsheet dependency on the library's account.
2063
+ *
2064
+ * @see provideNgxTForms
2065
+ */
2066
+ declare const SPREADSHEET_PARSER: InjectionToken<SpreadsheetParser>;
2067
+
2068
+ /**
2069
+ * The host's spreadsheet writer — see {@link SpreadsheetWriter}.
2070
+ *
2071
+ * Bound by `withSpreadsheetImport(parser, { writer })`. Unbound by default: the
2072
+ * library injects it optionally, and every "download the import template"
2073
+ * affordance stays hidden until a writer exists. A host that binds only a
2074
+ * parser gets the import without the template.
2075
+ *
2076
+ * @see SPREADSHEET_PARSER
2077
+ */
2078
+ declare const SPREADSHEET_WRITER: InjectionToken<SpreadsheetWriter>;
2079
+
1889
2080
  /**
1890
2081
  * @public
1891
2082
  *
@@ -3797,6 +3988,14 @@ declare class FormatDataPipe implements PipeTransform {
3797
3988
  static ɵpipe: _angular_core.ɵɵPipeDeclaration<FormatDataPipe, "formatData", true>;
3798
3989
  }
3799
3990
 
3991
+ /**
3992
+ * Writes the user's pick for an ambiguous text back into a raw import row:
3993
+ * the cell becomes `value` for a single select; for a multi-select cell every
3994
+ * entry equal to `text` becomes `value` and the rest stand. Re-running the row
3995
+ * then resolves the pick by stored value, so it can never tie again.
3996
+ */
3997
+ declare function applyOptionChoice(row: Record<string, unknown>, formControlName: string, text: string, value: unknown, multi: boolean): Record<string, unknown>;
3998
+
3800
3999
  declare function decrypt(encrypted: EncryptedData, secret: string): Promise<string>;
3801
4000
 
3802
4001
  /**
@@ -3884,6 +4083,30 @@ declare class TFormImportController {
3884
4083
  * tower's child injector that returns this shared observable instead.
3885
4084
  */
3886
4085
  private _financialCycles$;
4086
+ /**
4087
+ * The field of the multiple-input session most recently started by
4088
+ * {@link runMultipleInputImport}, so {@link rerunMultipleInputRow} can
4089
+ * re-check one of its rows against the same per-field context. Cleared by
4090
+ * a bulk run and by {@link reset}.
4091
+ */
4092
+ private _multipleInputSession;
4093
+ /**
4094
+ * The form of the bulk session most recently started by {@link runImport},
4095
+ * so {@link rerunImportRow} can re-check one of its rows the same way.
4096
+ * Cleared by a multiple-input run and by {@link reset}.
4097
+ */
4098
+ private _bulkSession;
4099
+ /**
4100
+ * Duplicate detection for the current session, or `null` when the run was
4101
+ * given no {@link ImportIdentity}. Set by both run methods; cleared by
4102
+ * {@link reset}.
4103
+ */
4104
+ private _identity;
4105
+ /**
4106
+ * Each processed row's own verdict, keyed by row index. Reporting a row as a
4107
+ * duplicate overlays its status; this is what a release restores.
4108
+ */
4109
+ private readonly _verdicts;
3887
4110
  /**
3888
4111
  * Reactive progress stream — subscribe to track each row in real time.
3889
4112
  */
@@ -3906,12 +4129,122 @@ declare class TFormImportController {
3906
4129
  * const valid = results.filter(r => r.isValid);
3907
4130
  * ```
3908
4131
  *
4132
+ * With an `identity`, a row that repeats an earlier row on the named fields
4133
+ * is held as its duplicate — `status: 'duplicate'`, `duplicateOf` naming
4134
+ * the earlier row — and, under the default `skip` policy, never gets a
4135
+ * tower when the sheet already shows the repeat. A repeat that only shows
4136
+ * once labels and codes have resolved is recognised after the row settles.
4137
+ * Rejects, before any state changes, when a key is not a `formControlName`
4138
+ * of the form.
4139
+ *
3909
4140
  * @param form The form definition every row is validated against.
3910
4141
  * @param rows Raw data objects — one per import row.
4142
+ * @param identity Which fields identify a record, and what to do with a
4143
+ * duplicate. Absent, or with no keys: every row stands on its own.
4144
+ *
4145
+ * @example
4146
+ * const results = await importController.runImport(form, rows, { distinctKeys: ['supplierRef', 'invoiceNo'] });
4147
+ * const repeats = results.filter(r => r.status === 'duplicate'); // r.duplicateOf names the row each repeats
4148
+ */
4149
+ runImport(form: FormInterface, rows: Record<string, unknown>[], identity?: ImportIdentity): Promise<ImportRowState[]>;
4150
+ /**
4151
+ * Validates rows for ONE multiple-input field, each as its own
4152
+ * {@link ImportRowState}.
4153
+ *
4154
+ * Every row runs through the same per-row tower the bulk path uses for a
4155
+ * MultipleInput's sub-rows ({@link _processMultipleFormInput}): the field's
4156
+ * children are hoisted into a one-slide form, pre-processors resolve mSCOA
4157
+ * codes and multi-selects, calculations and API fetches settle, and the
4158
+ * settled errors are partitioned into blocking / overridable. What differs is
4159
+ * the reporting — a bulk import folds sub-row errors onto the parent row as
4160
+ * `"[i].field.error"`; here each row is reported on its own, with
4161
+ * `settledValue` keyed by child `formControlName` (plus `id`) and
4162
+ * `colErrors` keyed the same way, so a spreadsheet import can show errors
4163
+ * against the user's own column headers. `validationErrors` /
4164
+ * `overridableErrors` stay keyed by input id, as for a bulk row.
4165
+ *
4166
+ * A choice cell (select, autocomplete, paginated selection table) may hold
4167
+ * the option as the user saw it — its label, or one of a table row's column
4168
+ * values — instead of the value the form stores; once the options have
4169
+ * loaded, the cell is swapped for the stored value. A text that fits several
4170
+ * options is reported in {@link ImportRowState.optionChoices} for the user
4171
+ * to settle through {@link rerunMultipleInputRow}.
4172
+ *
4173
+ * Drives the same `progress$` stream and per-session HTTP caches as
4174
+ * {@link runImport}; the two are not meant to run concurrently.
4175
+ *
4176
+ * Duplicate rows are recognised exactly as in {@link runImport}, with
4177
+ * `identity.distinctKeys` naming the children's `formControlName`s.
4178
+ *
4179
+ * @param input - The MultipleInput column whose `formInputs` define a row.
4180
+ * @param rows - Raw rows keyed by child `formControlName` — one object per row.
4181
+ * @param identity - Which children identify a row, and what to do with a
4182
+ * duplicate. Absent, or with no keys: every row stands on its own.
4183
+ *
4184
+ * @example
4185
+ * const states = await importCtrl.runMultipleInputImport(linesColumn, rows, { distinctKeys: ['item'] });
4186
+ * const ready = states.filter(s => s.status === 'valid').map(s => s.settledValue);
4187
+ */
4188
+ runMultipleInputImport(input: FormColumnInputs, rows: Record<string, unknown>[], identity?: ImportIdentity): Promise<ImportRowState[]>;
4189
+ /**
4190
+ * Re-checks ONE row of the bulk session the last {@link runImport} started —
4191
+ * after the user settled an ambiguous option reported in
4192
+ * {@link ImportRowState.optionChoices}, say — and reports it in place: the
4193
+ * row's `originalData` becomes `row`, its state passes through `processing`
4194
+ * to its new outcome on `progress$`, and every other row stands. The
4195
+ * per-session HTTP caches are cold by then, so the row's own fetches run
4196
+ * again.
4197
+ *
4198
+ * When the session was given an {@link ImportIdentity}, the duplicate
4199
+ * relation is a fact about the session, not the row, and is re-evaluated:
4200
+ * the row may now repeat an earlier row (and is held as its duplicate —
4201
+ * without a tower, under `skip` — when the repeat shows in the raw data),
4202
+ * and rows that repeated it may be released back to their own verdicts.
4203
+ * A released row that was never processed is processed now, before this
4204
+ * resolves. Only rows after `rowIndex` can be affected.
4205
+ *
4206
+ * Rejects when no bulk session holds `rowIndex` (none was run, a
4207
+ * multiple-input run or {@link reset} has since cleared it, or the index is
4208
+ * out of range).
4209
+ *
4210
+ * @param rowIndex - The row's position in the session (`ImportRowState.rowIndex`).
4211
+ * @param row - The row to check, keyed by `formControlName` like the original.
4212
+ * @returns The row's new state.
4213
+ *
4214
+ * @example
4215
+ * // The user picked `pick` for the text `choice.text` of column `key`.
4216
+ * const fixed = applyOptionChoice(state.originalData, key, choice.text, pick.value, false);
4217
+ * const next = await importCtrl.rerunImportRow(state.rowIndex, fixed);
3911
4218
  */
3912
- runImport(form: FormInterface, rows: Record<string, unknown>[]): Promise<ImportRowState[]>;
4219
+ rerunImportRow(rowIndex: number, row: Record<string, unknown>): Promise<ImportRowState>;
4220
+ /**
4221
+ * Re-checks ONE row of the multiple-input session the last
4222
+ * {@link runMultipleInputImport} started — after the user settled an
4223
+ * ambiguous option reported in {@link ImportRowState.optionChoices}, say —
4224
+ * and reports it in place: the row's `originalData` becomes `row`, its state
4225
+ * passes through `processing` to its new outcome on `progress$`, and every
4226
+ * other row stands.
4227
+ *
4228
+ * Duplicates are re-evaluated exactly as {@link rerunImportRow} describes.
4229
+ *
4230
+ * Rejects when no multiple-input session holds `rowIndex` (none was run, a
4231
+ * bulk run or {@link reset} has since cleared it, or the index is out of
4232
+ * range).
4233
+ *
4234
+ * @param rowIndex - The row's position in the session (`ImportRowState.rowIndex`).
4235
+ * @param row - The row to check, keyed by child `formControlName` like the original.
4236
+ * @returns The row's new state.
4237
+ *
4238
+ * @example
4239
+ * // The user picked candidate `pick` for the text `choice.text` of column `key`.
4240
+ * const fixed = { ...state.originalData, [key]: pick.value };
4241
+ * const next = await importCtrl.rerunMultipleInputRow(state.rowIndex, fixed);
4242
+ */
4243
+ rerunMultipleInputRow(rowIndex: number, row: Record<string, unknown>): Promise<ImportRowState>;
3913
4244
  /** Clears all row state. */
3914
4245
  reset(): void;
4246
+ /** The patch that queues a row again with `row` as its data and every earlier outcome cleared. */
4247
+ private _freshRowPatch;
3915
4248
  /**
3916
4249
  * Creates an isolated tower instance through a short-lived child injector.
3917
4250
  *
@@ -3966,6 +4299,12 @@ declare class TFormImportController {
3966
4299
  * subscriptions don't leak across rows.
3967
4300
  */
3968
4301
  private _processRow;
4302
+ /**
4303
+ * Runs one row of a multiple-input session through
4304
+ * {@link _processMultipleInputItem} and reports its outcome; a tower failure
4305
+ * fails this row alone.
4306
+ */
4307
+ private _processMultipleInputRow;
3969
4308
  /**
3970
4309
  * Dispatches each column that has a registered pre-processor, collects
3971
4310
  * resolved values and errors, then returns the enriched row.
@@ -4002,6 +4341,37 @@ declare class TFormImportController {
4002
4341
  * Errors are prefixed with the item index: "[0].subField.errorCode".
4003
4342
  */
4004
4343
  private _processMultipleFormInput;
4344
+ /**
4345
+ * Builds the per-field context the sub-row pipeline runs against: the
4346
+ * one-slide mock form (children hoisted to top-level columns with their
4347
+ * dependency references localised) and whether any child needs
4348
+ * pre-processing. Built once per field and reused for every row.
4349
+ */
4350
+ private _multipleInputContext;
4351
+ /**
4352
+ * Runs ONE multiple-input row through the full tower lifecycle — the same
4353
+ * sequence as {@link _processRow} on the main form — and returns its settled
4354
+ * value and partitioned errors. Shared by the bulk path
4355
+ * ({@link _processMultipleFormInput}, which index-prefixes the errors onto the
4356
+ * parent row) and {@link runMultipleInputImport} (which reports each row on
4357
+ * its own).
4358
+ *
4359
+ * Throws when the tower itself fails; callers decide whether that fails the
4360
+ * parent row (bulk) or just this row (single-field import). The tower is
4361
+ * always destroyed.
4362
+ *
4363
+ * @param depth - Nesting depth of the OWNING field; nested MultipleInputs in
4364
+ * the row are pre-processed at `depth + 1`.
4365
+ */
4366
+ private _processMultipleInputItem;
4367
+ /**
4368
+ * Projects a settled row outcome onto the {@link ImportRowState} fields with
4369
+ * the status rules of {@link _processRow}: any blocking or pre-processing
4370
+ * error → `invalid`; otherwise any overridable error → `overridable`;
4371
+ * otherwise `valid`. Error maps carry every failing validator key (blocking
4372
+ * and overridable), as the bulk collectors do.
4373
+ */
4374
+ private _toMultipleInputRowState;
4005
4375
  /**
4006
4376
  * Rewrites a MultipleInput sub-input's cross-field dependency references from
4007
4377
  * the live form's COMPOUND id scheme back to the SIMPLE id the per-row mock
@@ -4047,7 +4417,9 @@ declare class TFormImportController {
4047
4417
  /**
4048
4418
  * Pre-processor for `Select` and `PaginatedSelectionTable` inputs.
4049
4419
  *
4050
- * Single-select inputs pass through unchanged.
4420
+ * Single-select inputs pass through unchanged — their cell is matched against
4421
+ * the loaded options once the row's tower has settled
4422
+ * ({@link _resolveOptionValues}).
4051
4423
  *
4052
4424
  * Multi-select inputs accept the value in any of:
4053
4425
  * - `string[]` — taken as-is, each entry trimmed.
@@ -4056,14 +4428,50 @@ declare class TFormImportController {
4056
4428
  * - `'[a, b]'` (malformed JSON) — fallback: strip brackets, split, strip quotes.
4057
4429
  *
4058
4430
  * If the input declares custom (in-config) options, every parsed value is
4059
- * checked against the option set. Any mismatches are returned as errors of
4060
- * the form `'invalidOption:<value>'` and `value` is omitted (so the parent
4061
- * form control keeps its original/empty state and the row is flagged
4062
- * invalid). API-fetched options are NOT validated here — see the comments
4063
- * in {@link FormTowerControllerService.initialize} on why deferring those
4064
- * lookups is safe in import mode.
4431
+ * matched against them the way the settled pass does: a stored value stands
4432
+ * (in the option's own type and case), a text naming exactly one option by
4433
+ * label becomes that option's value, and a tie is left in place for the
4434
+ * settled pass to report as a choice. Texts that name nothing are returned as
4435
+ * errors of the form `'invalidOption:<value>'` and `value` is omitted (so the
4436
+ * parent form control keeps its original/empty state and the row is flagged
4437
+ * invalid). API-fetched options are not known here; the settled pass matches
4438
+ * those.
4065
4439
  */
4066
4440
  private _processSelectInput;
4441
+ /**
4442
+ * Swaps what the user typed into a row's choice cells for what the form
4443
+ * stores.
4444
+ *
4445
+ * Runs after the row's first settle, when the tower has loaded every option
4446
+ * list the row's values reach. Each choice input (select, autocomplete,
4447
+ * paginated selection table) whose cell the tower holds as written — a
4448
+ * tower-owned value, from an API or a calculation, is left alone — is
4449
+ * matched against its options through {@link resolveOptionCell}: a stored
4450
+ * value stands, a unique label (or table column value) becomes the stored
4451
+ * value, a tie is kept for the user, an unmatched text on a strict field is
4452
+ * an error. Nothing is judged while an option list is still empty. A swap
4453
+ * can change what a dependent option list fetches, so after any swap the
4454
+ * tower settles again and the pass repeats, until a pass changes nothing or
4455
+ * {@link MAX_OPTION_PASSES} is reached.
4456
+ *
4457
+ * @param tower - The row's settled tower.
4458
+ * @param row - The pre-processed row the tower was initialised from.
4459
+ * @param rejected - `formControlName`s a pre-processor already reported an
4460
+ * error for; their cells are not judged again (the pre-processor's verdict
4461
+ * stands, and the cell it refused still reaches the tower as raw text).
4462
+ * @returns Blocking column errors (`ambiguousOption:<text>`,
4463
+ * `invalidOption:<text>`; several joined with `.`) and the choices left
4464
+ * for the user, both keyed by `formControlName`.
4465
+ */
4466
+ private _resolveOptionValues;
4467
+ /**
4468
+ * Whether the tower holds `cell` for an input — i.e. the imported cell was
4469
+ * applied rather than displaced by a tower-owned value. Compared as text so
4470
+ * a numeric id written from a text cell still counts.
4471
+ */
4472
+ private _holdsCell;
4473
+ /** Merges two `formControlName → 'a.b'` error maps, joining keys that occur in both. */
4474
+ private _mergeColErrors;
4067
4475
  /**
4068
4476
  * Re-runs sync validation across the WHOLE form tree against the settled values.
4069
4477
  *
@@ -4125,6 +4533,69 @@ declare class TFormImportController {
4125
4533
  * to `base` — a tower value that resolves empty never erases the import rows.
4126
4534
  */
4127
4535
  private _deepMergePreferTower;
4536
+ /**
4537
+ * Processes every queued row — `pending`, and so not held as a duplicate —
4538
+ * lowest index first, until none is left. A row's outcome can release rows
4539
+ * queued behind it (see {@link _reconcile}); they are picked up in turn.
4540
+ *
4541
+ * Rows are processed SEQUENTIALLY, not concurrently. Each row spins up its
4542
+ * own tower whose settle (`waitUntilSettled`) and FormGroup projection rely
4543
+ * on `ApplicationRef.tick()`-driven effect flushes over the application's
4544
+ * single shared `ApplicationRef`. Running every row concurrently makes those
4545
+ * ticks interleave across towers, so `waitUntilSettled` resolves on a
4546
+ * spurious `settled === true` (value resources still `idle`, not yet
4547
+ * `loading`) before a row's derived values have drained and projected —
4548
+ * leaving most rows with empty API-derived fields (objectives/nKPA/etc.).
4549
+ * The per-session HTTP caches (`_getCache`/`_postCache`/`_financialCycles$`)
4550
+ * still dedupe identical requests across rows, so sequential processing
4551
+ * reuses the same network calls without the race.
4552
+ *
4553
+ * @param process - Settles the row at an index from its raw data; must leave
4554
+ * it in a terminal status.
4555
+ */
4556
+ private _runQueued;
4557
+ /** The lowest index of a row that is `pending` and has data to process, or -1. */
4558
+ private _nextQueued;
4559
+ /**
4560
+ * The duplicate detection a session runs with, or `null` when `identity`
4561
+ * names no keys. Throws when a key is not one of `fields`: a key that
4562
+ * matched nothing would leave every row blank there and make each a
4563
+ * duplicate of the first, so the failure has to be loud.
4564
+ */
4565
+ private _identitySession;
4566
+ /** The `formControlName`s of a form's top-level columns. */
4567
+ private _formControlNames;
4568
+ /** The `formControlName`s of a MultipleInput's children. */
4569
+ private _childControlNames;
4570
+ /**
4571
+ * Records a row's own outcome and reports it — as a duplicate, if the
4572
+ * session says so — in one emission, so no subscriber sees a verdict that
4573
+ * is about to be overlaid.
4574
+ */
4575
+ private _settleRow;
4576
+ /**
4577
+ * Queues a row again with `row` as its data, its earlier outcome cleared,
4578
+ * and re-evaluates which rows repeat which: the row may now repeat an
4579
+ * earlier one, and rows that repeated it may be released.
4580
+ */
4581
+ private _requeueRow;
4582
+ /** Reports the current rows through {@link _reconcile}, emitting only when something changed. */
4583
+ private _reconcileDuplicates;
4584
+ /**
4585
+ * Applies the session's duplicate relation to `rows` and returns them as
4586
+ * they are to be reported — `rows` itself when nothing changes.
4587
+ *
4588
+ * Each row's identities — raw, from `originalData`; settled, from
4589
+ * `settledValue` once it has one — go through {@link assignDuplicates},
4590
+ * first wins. A row that repeats an earlier one is reported as its
4591
+ * duplicate: under `skip` with status `duplicate` and `isValid: false`,
4592
+ * whatever it settled to kept; under `flag` with `duplicateOf` alone. A row
4593
+ * that no longer repeats anything gets its own verdict back — or, never
4594
+ * having been processed, returns to the queue as `pending`.
4595
+ */
4596
+ private _reconcile;
4597
+ /** One row as it is to be reported, given the row it repeats (`original`), if any. */
4598
+ private _reportRow;
4128
4599
  /**
4129
4600
  * Immutable row update — clones the rows array and the targeted row before
4130
4601
  * pushing through `_rows$` so subscribers downstream of `progress$` always
@@ -4853,5 +5324,5 @@ declare function testAgainstItem(test: ConfigurationValidTestInterface, item: un
4853
5324
  */
4854
5325
  declare const getSignatureImage: (inputConfig: FormColumnInputs, value: EncryptedData | undefined, secret: string) => Promise<string | undefined>;
4855
5326
 
4856
- export { AI_ENDPOINT_CATALOG, AI_FORM_BUILDER_CONFIG, AI_MSCOA_GROUNDING, DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_DRAFT_ORCHESTRATOR, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FORM_SUGGESTION_REGISTRY, FormBuilderComponent, FormDraftOrchestrator, FormSuggestionRegistry, FormSuggestionRegistryService, FormTowerControllerService, FormatDataPipe, FormsComponent, HashbrownFormDraftOrchestratorService, HttpPipelineRepository, IMPORT_TOWER_INSTANCE_ID, INPUT_SECRET_TOKEN, MSCOA_TREE_PROVIDER, MULTIPLE_FORM_INPUT_TOKEN, MscoaFormInputComponent, NGX_T_FORMS_CONFIG_TOKEN, NgxTFormsComponent, NgxTFormsService, PIPELINE_REPOSITORY, PipelineRepository, PropertyAccessError, SignatureInputElementComponent, TDynamicDataEditComponent, TDynamicDataViewComponent, TFormDraftPanelComponent, TFormImportController, TFormInputComponent, TSuggestionReviewComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, assignDeepPropertyToObject, buildBlueprintSchema, buildBriefSchema, buildSuggestionSchema, createFileFromBase64, decrypt as decryptSecuredInputValue, formGenerator, generateSecretKey as generateInputSecretKey, getPipedValueFromDataType, getSampleValueForInput, getSectionElements, getSignatureImage, getUrl, getValueFromValueAccessor, initFormConfigToV2, provideNgxTForms, returnDeepProperty, returnMappedPathValue, safeReturnDeepProperty, sheetConsolodation, testAgainstItem, textIconsForUserHints, toSuggestionBatch, validateExpressionSyntax, validateObjectAgainstString, withAiEndpointCatalog, withAiFormBuilder, withAiMscoaGrounding, withFormSuggestions, withHttpPipeline, withInputSecret, withRouterFormId };
4857
- export type { AiEndpointCatalogEntry, AiEndpointCatalogProvider, AiEndpointCatalogSource, AiEndpointSlot, AiFormBuilderBudgets, AiFormBuilderConfig, AiFormBuilderModels, AiFormBuilderRole, AiMscoaAccountingBasis, AiMscoaGrounding, AiMscoaSegmentDescriptor, BlueprintField, BlueprintSlide, DescribeOptions, DraftFailure, DraftFinding, DraftFindingKind, DraftFindingSeverity, DraftMessage, DraftMessageAuthor, DraftPartial, DraftRepairRoute, DraftRepairTurn, DraftRepairTurnKind, DraftRequestMiddleware, DraftSession, DraftStage, DraftTelemetry, EditableFieldError, EditableFieldKind, EditableFieldSchema, EditableFieldValidation, FieldSuggestion, FormBlueprint, FormBrief, FormBriefField, FormBriefRule, FormSuggestionChannel, FormSuggestionSnapshot, MscoaAccountSelection, MscoaCurrentSelection, MscoaFieldCapability, MscoaInnerInputDescriptor, MscoaSegmentDescriptor, MscoaSuggestionValue, MultipleRowSuggestionValue, StagedSuggestion, SuggestionBatch };
5327
+ export { AI_ENDPOINT_CATALOG, AI_FORM_BUILDER_CONFIG, AI_MSCOA_GROUNDING, DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_DRAFT_ORCHESTRATOR, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FORM_SUGGESTION_REGISTRY, FormBuilderComponent, FormDraftOrchestrator, FormSuggestionRegistry, FormSuggestionRegistryService, FormTowerControllerService, FormatDataPipe, FormsComponent, HashbrownFormDraftOrchestratorService, HttpPipelineRepository, IMPORT_TOWER_INSTANCE_ID, INPUT_SECRET_TOKEN, MSCOA_TREE_PROVIDER, MULTIPLE_FORM_INPUT_TOKEN, MscoaFormInputComponent, NGX_T_FORMS_CONFIG_TOKEN, NgxTFormsComponent, NgxTFormsService, PIPELINE_REPOSITORY, PipelineRepository, PropertyAccessError, SPREADSHEET_PARSER, SPREADSHEET_WRITER, SignatureInputElementComponent, TDynamicDataEditComponent, TDynamicDataViewComponent, TFormDraftPanelComponent, TFormImportController, TFormInputComponent, TSuggestionReviewComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, applyOptionChoice, assignDeepPropertyToObject, buildBlueprintSchema, buildBriefSchema, buildSuggestionSchema, createFileFromBase64, decrypt as decryptSecuredInputValue, formGenerator, generateSecretKey as generateInputSecretKey, getPipedValueFromDataType, getSampleValueForInput, getSectionElements, getSignatureImage, getUrl, getValueFromValueAccessor, initFormConfigToV2, provideNgxTForms, returnDeepProperty, returnMappedPathValue, safeReturnDeepProperty, sheetConsolodation, testAgainstItem, textIconsForUserHints, toSuggestionBatch, validateExpressionSyntax, validateObjectAgainstString, withAiEndpointCatalog, withAiFormBuilder, withAiMscoaGrounding, withFormSuggestions, withHttpPipeline, withInputSecret, withRouterFormId, withSpreadsheetImport };
5328
+ export type { AiEndpointCatalogEntry, AiEndpointCatalogProvider, AiEndpointCatalogSource, AiEndpointSlot, AiFormBuilderBudgets, AiFormBuilderConfig, AiFormBuilderModels, AiFormBuilderRole, AiMscoaAccountingBasis, AiMscoaGrounding, AiMscoaSegmentDescriptor, BlueprintField, BlueprintSlide, DescribeOptions, DraftFailure, DraftFinding, DraftFindingKind, DraftFindingSeverity, DraftMessage, DraftMessageAuthor, DraftPartial, DraftRepairRoute, DraftRepairTurn, DraftRepairTurnKind, DraftRequestMiddleware, DraftSession, DraftStage, DraftTelemetry, EditableFieldError, EditableFieldKind, EditableFieldSchema, EditableFieldValidation, FieldSuggestion, FormBlueprint, FormBrief, FormBriefField, FormBriefRule, FormSuggestionChannel, FormSuggestionSnapshot, MscoaAccountSelection, MscoaCurrentSelection, MscoaFieldCapability, MscoaInnerInputDescriptor, MscoaSegmentDescriptor, MscoaSuggestionValue, MultipleRowSuggestionValue, SpreadsheetParser, SpreadsheetSheet, SpreadsheetSource, SpreadsheetTemplate, SpreadsheetTemplateSheet, SpreadsheetWriter, StagedSuggestion, SuggestionBatch };
@@ -1 +0,0 @@
1
- {"version":3,"file":"ngx-t-forms-index-yasuBvXP.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}