ngx-t-forms 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs +411 -0
- package/fesm2022/ngx-t-forms-api-endpoint-config.component-CZm3Z_7B.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-auto-complete-input-element.component-FhUHTsUF.mjs.map → ngx-t-forms-auto-complete-input-element.component-IciY6hb3.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-basic-input-input-element.component-BJKe9wIA.mjs.map → ngx-t-forms-basic-input-input-element.component-CykKxWu0.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs → ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-calculated-field-rules.component-FQLTI7CX.mjs.map → ngx-t-forms-calculated-field-rules.component-CwI-WEX7.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs → ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-chip-options-creator-editor.component-CJtbprXS.mjs.map → ngx-t-forms-chip-options-creator-editor.component-CO_3EQ_v.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs +513 -0
- package/fesm2022/ngx-t-forms-conditional-display-config.component-Cmf7gDfO.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs → ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-config-mscoa-additional-inputs.component-CU6R5h-x.mjs.map → ngx-t-forms-config-mscoa-additional-inputs.component-BHiOEQe4.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs → ngx-t-forms-data-source-picker.component-CN51SdCK.mjs} +6 -6
- package/fesm2022/{ngx-t-forms-data-source-picker.component-C8MBbnfz.mjs.map → ngx-t-forms-data-source-picker.component-CN51SdCK.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-date-picker-input-element.component-Dux6uy66.mjs.map → ngx-t-forms-date-picker-input-element.component-c3OSDXWw.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs → ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs} +11 -2
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-C-4fqOF0.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs → ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-document-list-label-config-editor.component-uGM93dvc.mjs.map → ngx-t-forms-document-list-label-config-editor.component-DLzba2AQ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-document-picker.component-DIqaaBSl.mjs → ngx-t-forms-document-picker.component-9clYsOcl.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-document-picker.component-DIqaaBSl.mjs.map → ngx-t-forms-document-picker.component-9clYsOcl.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-input-element.component-CIELjDty.mjs → ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-editor-input-element.component-CIELjDty.mjs.map → ngx-t-forms-editor-input-element.component-BGdZ4evj.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs → ngx-t-forms-editor-js-input.component-02HnmInT.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-editor-js-input.component-C1dI_7rU.mjs.map → ngx-t-forms-editor-js-input.component-02HnmInT.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-file-upload-input-element.component-CQsKz87N.mjs.map → ngx-t-forms-file-upload-input-element.component-BF7KbSPb.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs → ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-input-selector.component-Dj0jvBdm.mjs.map → ngx-t-forms-form-input-selector.component-vCj2SCxs.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-json-view.component-DzJKFl4c.mjs → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-form-json-view.component-DzJKFl4c.mjs.map → ngx-t-forms-form-json-view.component-Cmw1hHGZ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-form-section-stepper.component-DOvVtJGB.mjs.map → ngx-t-forms-form-section-stepper.component-CFdwgxRl.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-forms-builder-menu.component-CcqyQLf5.mjs.map → ngx-t-forms-forms-builder-menu.component-DisrOv5x.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-geo-location.component-Bj_qIEqi.mjs → ngx-t-forms-geo-location.component-D-BhLdx6.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-geo-location.component-Bj_qIEqi.mjs.map → ngx-t-forms-geo-location.component-D-BhLdx6.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs +159 -0
- package/fesm2022/ngx-t-forms-header-template-editor.component-Z5frEhho.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-image-capture-input-element.component-lwp3IcDt.mjs.map → ngx-t-forms-image-capture-input-element.component-CoJTXMbL.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs +2 -0
- package/fesm2022/ngx-t-forms-index-D8xr_Sxp.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-input-custom.component-DiciFhSS.mjs → ngx-t-forms-input-custom.component-s1ryJQy4.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-input-custom.component-DiciFhSS.mjs.map → ngx-t-forms-input-custom.component-s1ryJQy4.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-input-editor.component-D12hrHOc.mjs → ngx-t-forms-input-editor.component-oIzCTmbx.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-input-editor.component-D12hrHOc.mjs.map → ngx-t-forms-input-editor.component-oIzCTmbx.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs → ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs} +2 -3
- package/fesm2022/ngx-t-forms-map-mat-options-keys-C1kxlZS_.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs → ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mat-chip-list-editor.component-C1Qrze7K.mjs.map → ngx-t-forms-mat-chip-list-editor.component-wskkKr4y.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-missing-form-configs.component-BaTR_jzc.mjs.map → ngx-t-forms-missing-form-configs.component-C1XuXRdn.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-chart-toolbar.component-Dni_bv_G.mjs.map → ngx-t-forms-mscoa-chart-toolbar.component-BJrOTRuQ.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs → ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-mscoa-segment-config.component-BPQuzR5k.mjs.map → ngx-t-forms-mscoa-segment-config.component-GyKF31Ve.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs → ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs} +4 -4
- package/fesm2022/{ngx-t-forms-multiple-input-input-element.component-hXWMRFjl.mjs.map → ngx-t-forms-multiple-input-input-element.component-BrPJPR2R.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs → ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs} +1807 -717
- package/fesm2022/ngx-t-forms-ngx-t-forms-DqAcUfN4.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-paginated-selection-table-pYY2sWAb.mjs.map → ngx-t-forms-paginated-selection-table-Bk77dBo9.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs → ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs} +11 -5
- package/fesm2022/ngx-t-forms-payload-template-editor.component-CVzOTLYE.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs → ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-pipeline-generator.component-D2stBXXC.mjs.map → ngx-t-forms-pipeline-generator.component-7Vfwaqnx.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CtCOIpai.mjs → ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-record-list-manager.component-CtCOIpai.mjs.map → ngx-t-forms-record-list-manager.component-CfZdqKhY.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-required-inputs.component-D9wIdOhg.mjs → ngx-t-forms-required-inputs.component-CK7NIhbq.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-required-inputs.component-D9wIdOhg.mjs.map → ngx-t-forms-required-inputs.component-CK7NIhbq.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs → ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs} +249 -25
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-YChv7Arm.mjs.map +1 -0
- package/fesm2022/{ngx-t-forms-section-report.component-U9uQ_Ow9.mjs → ngx-t-forms-section-report.component-DhSaf85h.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-section-report.component-U9uQ_Ow9.mjs.map → ngx-t-forms-section-report.component-DhSaf85h.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-select-input-element.component-CxYTmuvV.mjs → ngx-t-forms-select-input-element.component-D5HFzh35.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-select-input-element.component-CxYTmuvV.mjs.map → ngx-t-forms-select-input-element.component-D5HFzh35.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs → ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-selection-options-editor.component-BLLejOLG.mjs.map → ngx-t-forms-selection-options-editor.component-BhmmJOco.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-textarea-input-element.component-75VdPc6z.mjs.map → ngx-t-forms-textarea-input-element.component-DWEADTsz.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-toggle-input-element.component-DQGvEJN-.mjs.map → ngx-t-forms-toggle-input-element.component-XZi6kPnL.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-validators-config.component-EM7RSWIz.mjs → ngx-t-forms-validators-config.component-0_Y6bvtE.mjs} +2 -2
- package/fesm2022/{ngx-t-forms-validators-config.component-EM7RSWIz.mjs.map → ngx-t-forms-validators-config.component-0_Y6bvtE.mjs.map} +1 -1
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs} +3 -3
- package/fesm2022/{ngx-t-forms-workflow-adjudication.component-C1Em-g9e.mjs.map → ngx-t-forms-workflow-adjudication.component-Gkimmw-X.mjs.map} +1 -1
- package/fesm2022/ngx-t-forms.mjs +1 -1
- package/package.json +2 -2
- package/types/ngx-t-forms.d.ts +103 -4
- package/fesm2022/ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs +0 -129
- package/fesm2022/ngx-t-forms-header-template-editor.component-DLldVmcN.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-index-C8NtLE16.mjs +0 -2
- package/fesm2022/ngx-t-forms-index-C8NtLE16.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-payload-template-editor.component-DGCUsTYx.mjs.map +0 -1
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Gy7Rtmue.mjs.map +0 -1
package/fesm2022/ngx-t-forms.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { K as DialogTemplateComponent, ai as FORM_ACTIONS_TOKEN, aj as FORM_CONFIG_TOKEN, ak as FORM_INPUTS_TOKEN, al as FORM_ROUTE_SOURCE, am as FORM_SLIDES_TOKEN, an as FORM_SUGGESTION_REGISTRY, L as FormBuilderComponent, ao as FormSuggestionRegistry, ap as FormSuggestionRegistryService, aq as FormTowerControllerService, a8 as FormatDataPipe, M as FormsComponent, ar as HttpPipelineRepository, as as IMPORT_TOWER_INSTANCE_ID, at as INPUT_SECRET_TOKEN, au as MSCOA_TREE_PROVIDER, av as MULTIPLE_FORM_INPUT_TOKEN, O as MscoaFormInputComponent, N as NGX_T_FORMS_CONFIG_TOKEN, aw as NgxTFormsComponent, ax as NgxTFormsService, ay as PIPELINE_REPOSITORY, az as PipelineRepository, aA as PropertyAccessError, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, aB as TFormImportController, Q as TFormInputComponent, aC as TSuggestionReviewComponent, aD as UTILS_OBJECT_TOKEN, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, a as assignDeepPropertyToObject, aE as buildSuggestionSchema, aF as createFileFromBase64, aG as decryptSecuredInputValue, aH as formGenerator, aI as generateInputSecretKey, aJ as getPipedValueFromDataType, aK as getSampleValueForInput, aL as getSectionElements, R as getSignatureImage, aM as getUrl, aN as getValueFromValueAccessor, aO as initFormConfigToV2, aP as provideNgxTForms, aQ as returnDeepProperty, ad as returnMappedPathValue, k as safeReturnDeepProperty, aR as sheetConsolodation, t as testAgainstItem, aS as textIconsForUserHints, aT as toSuggestionBatch, aU as validateExpressionSyntax, aV as validateObjectAgainstString, aW as withFormSuggestions, aX as withHttpPipeline, aY as withInputSecret, aZ as withRouterFormId } from './ngx-t-forms-ngx-t-forms-DqAcUfN4.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.
|
|
3
|
+
"version": "3.1.1",
|
|
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.
|
|
45
|
+
"ngx-t-forms-types": "^0.0.28",
|
|
46
46
|
"ngx-ui-tour-md-menu": "^16.0.0",
|
|
47
47
|
"qrcode": "^1.5.4",
|
|
48
48
|
"quill": "^2.0.3",
|
package/types/ngx-t-forms.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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, IFormActions, FormInterface, 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, ScoaInnerInput, IWorkflowOption, BlurHandleTypes, ITowerStepColumn, TreeNode, FlatNode, IArrayFunction, DocumentLitsLabelConfigInterfaceValueType, InputPipeTypes, ImportProgress, ImportRowState, ValidationError, ElementTypes, DialogConfig, PropertyPath, DeepPropertyValue, FileUploadInputValueInterface, FormInterfaceMigration, ConfigurationValidTestInterface
|
|
4
|
+
import { NgxTFormsConfig, IFormActions, FormInterface, 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, ScoaInnerInput, IWorkflowOption, BlurHandleTypes, ITowerStepColumn, TreeNode, FlatNode, IArrayFunction, DocumentLitsLabelConfigInterfaceValueType, InputPipeTypes, EncryptedData, ImportProgress, ImportRowState, ValidationError, ElementTypes, DialogConfig, PropertyPath, DeepPropertyValue, FileUploadInputValueInterface, FormInterfaceMigration, ConfigurationValidTestInterface } from 'ngx-t-forms-types';
|
|
5
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';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable, Subject } from 'rxjs';
|
|
@@ -1140,6 +1140,51 @@ declare abstract class FormTowerControllerService implements OnDestroy {
|
|
|
1140
1140
|
/** Append-only change history; used by {@link FormTowerControllerService.revertBackHistory}. */
|
|
1141
1141
|
get changeHistory(): IFormChangeHistory[];
|
|
1142
1142
|
set changeHistory(value: IFormChangeHistory[]);
|
|
1143
|
+
/**
|
|
1144
|
+
* Whether a form input is currently revealed by its conditional-display rules.
|
|
1145
|
+
*
|
|
1146
|
+
* Reads the input's live visibility signal, so calling this from a template or
|
|
1147
|
+
* a `computed` makes that consumer re-evaluate whenever the rule's observed
|
|
1148
|
+
* inputs change. An input that declares no `conditionalInputConfig` is always
|
|
1149
|
+
* visible and costs nothing to ask about.
|
|
1150
|
+
*
|
|
1151
|
+
* @param inputId - The input id. For MultipleInput sub-row fields and mSCOA
|
|
1152
|
+
* inner inputs this is the composite `${columnId}.${childId}`.
|
|
1153
|
+
* @returns `true` when the input is revealed, `false` when it is hidden.
|
|
1154
|
+
*
|
|
1155
|
+
* @example
|
|
1156
|
+
* ```ts
|
|
1157
|
+
* const visibleColumns = computed(() =>
|
|
1158
|
+
* step.columns.filter((col) => tower.isInputVisible(col.id)),
|
|
1159
|
+
* );
|
|
1160
|
+
* ```
|
|
1161
|
+
*/
|
|
1162
|
+
isInputVisible: (inputId: string) => boolean;
|
|
1163
|
+
/**
|
|
1164
|
+
* Whether a section still has anything to show.
|
|
1165
|
+
*
|
|
1166
|
+
* A section whose every column is hidden by a conditional rule is not an empty
|
|
1167
|
+
* step to page through — it is a section that does not apply. It is reported
|
|
1168
|
+
* hidden so the stepper can drop it entirely.
|
|
1169
|
+
*
|
|
1170
|
+
* A section that was authored with **no columns at all** stays visible: that is
|
|
1171
|
+
* an empty section the author made, not one this feature emptied, and hiding it
|
|
1172
|
+
* would change the behaviour of forms that declare no rules.
|
|
1173
|
+
*
|
|
1174
|
+
* Reads the visibility signals of the section's columns, so a consumer calling
|
|
1175
|
+
* this from a template or `computed` re-evaluates when a rule flips.
|
|
1176
|
+
*
|
|
1177
|
+
* @param sectionId - The slide's `sectionId`.
|
|
1178
|
+
* @returns `true` when the section should be rendered.
|
|
1179
|
+
*
|
|
1180
|
+
* @example
|
|
1181
|
+
* ```ts
|
|
1182
|
+
* const steps = computed(() =>
|
|
1183
|
+
* tower.selectFormSteps().filter((s) => tower.isSectionVisible(s.sectionId)),
|
|
1184
|
+
* );
|
|
1185
|
+
* ```
|
|
1186
|
+
*/
|
|
1187
|
+
isSectionVisible: (sectionId: string) => boolean;
|
|
1143
1188
|
/**
|
|
1144
1189
|
* Busy iff a submission is in flight OR any value/options resource is
|
|
1145
1190
|
* `'loading'`. Reading every resource's `status()` here is what ACTIVATES the
|
|
@@ -1294,8 +1339,9 @@ declare abstract class FormTowerControllerService implements OnDestroy {
|
|
|
1294
1339
|
setTemporaryHint: (inputId: string, hint: string, type: HintType) => void;
|
|
1295
1340
|
_onFormInputConfigChange?: (inputId: string, config: FormColumnInputs) => void;
|
|
1296
1341
|
registerFormInputConfigChangeFn: (fn: (inputId: string, config: FormColumnInputs) => void) => (inputId: string, config: FormColumnInputs) => void;
|
|
1297
|
-
httpPostDataFunction: (url: string, data: any, options
|
|
1298
|
-
httpGetDataFunction: (url: string, options
|
|
1342
|
+
httpPostDataFunction: (url: string, data: any, options?: any) => Observable<any>;
|
|
1343
|
+
httpGetDataFunction: (url: string, options?: any) => Observable<any>;
|
|
1344
|
+
httpPutDataFunction: (url: string, data: any, options?: any) => Observable<any>;
|
|
1299
1345
|
_errorTimeoutIds: Record<string, any>;
|
|
1300
1346
|
setInputTemporaryError: (inputId: string, message: string) => void;
|
|
1301
1347
|
setInputError: (err: Record<string, any>, inputId: string) => void;
|
|
@@ -1385,6 +1431,24 @@ declare abstract class FormTowerControllerService implements OnDestroy {
|
|
|
1385
1431
|
* so the re-init `clearFormState` drops every inner subscription.
|
|
1386
1432
|
*/
|
|
1387
1433
|
bindScoaInnerInputControls: () => void;
|
|
1434
|
+
/**
|
|
1435
|
+
* Bridges live edits of **DateRangePicker half controls** into the signal
|
|
1436
|
+
* graph.
|
|
1437
|
+
*
|
|
1438
|
+
* A date-range column is flattened into two synthetic inputs whose ids (and
|
|
1439
|
+
* control names) are `${columnId}.${startKey}` / `${columnId}.${endKey}`.
|
|
1440
|
+
* The range element writes those controls directly (`control.setValue`), and
|
|
1441
|
+
* the generic value bridge in `t-form-input` deliberately no-ops for date
|
|
1442
|
+
* ranges — so before this bridge existed a user-picked range never reached
|
|
1443
|
+
* `#model`, and every dependent value/options POST keyed on the range stayed
|
|
1444
|
+
* permanently `idle` (owner decision 2026-08-18: fixed, with the builders'
|
|
1445
|
+
* name-keyed snapshot fix). Direct mirror of
|
|
1446
|
+
* {@link FormTowerControllerService.bindScoaInnerInputControls}.
|
|
1447
|
+
*
|
|
1448
|
+
* Idempotent (tears down the prior bridge first) and anchored to
|
|
1449
|
+
* `_destroyed$`, so re-init/destroy drops every half subscription.
|
|
1450
|
+
*/
|
|
1451
|
+
bindDateRangeHalfControls: () => void;
|
|
1388
1452
|
/**
|
|
1389
1453
|
* Re-runs every refreshable function for inputs in `sectionId` (resource
|
|
1390
1454
|
* `.reload()` + dependency order). Returns an Observable that completes when
|
|
@@ -1618,6 +1682,28 @@ declare class UserFormStepperComponent {
|
|
|
1618
1682
|
readonly stepper: _angular_core.Signal<MatStepper | undefined>;
|
|
1619
1683
|
/** True when the engine holds at least one pending (unreviewed) AI suggestion. */
|
|
1620
1684
|
protected readonly hasPendingSuggestions: _angular_core.Signal<boolean>;
|
|
1685
|
+
/**
|
|
1686
|
+
* The form's steps with every conditionally-hidden input removed — what this
|
|
1687
|
+
* stepper renders.
|
|
1688
|
+
*
|
|
1689
|
+
* The filter lives HERE rather than in `selectFormSteps` because that selector
|
|
1690
|
+
* is shared with the form builder's own section stepper. Filtering centrally
|
|
1691
|
+
* would make a conditional field invisible, undraggable and un-editable to the
|
|
1692
|
+
* author the moment its condition happened to be false. The builder must see
|
|
1693
|
+
* every column; only the person filling the form in should not.
|
|
1694
|
+
*
|
|
1695
|
+
* A hidden MultipleInput sub-row field is dropped by replacing the column's
|
|
1696
|
+
* `formInputs` with a filtered copy. That array flows down through
|
|
1697
|
+
* `[inputConfig]` → `t-form-input` → `*ngComponentOutlet` →
|
|
1698
|
+
* `multiple-input-table-edit.innerInputs()`, so the sub-row editor, the
|
|
1699
|
+
* saved-rows table and `formInvalid()` all drop the field with no edits of
|
|
1700
|
+
* their own.
|
|
1701
|
+
*
|
|
1702
|
+
* Reading `engine.isInputVisible` makes this computed a consumer of the
|
|
1703
|
+
* visibility signals, so a rule flipping re-renders the affected columns and
|
|
1704
|
+
* nothing else.
|
|
1705
|
+
*/
|
|
1706
|
+
protected readonly visibleSteps: _angular_core.Signal<TowerFormStep[]>;
|
|
1621
1707
|
/** Whether the form is editable / can be navigated freely. */
|
|
1622
1708
|
isEditable: boolean;
|
|
1623
1709
|
/** True while the form definition is being fetched. */
|
|
@@ -1910,6 +1996,19 @@ declare class FormatDataPipe implements PipeTransform {
|
|
|
1910
1996
|
static ɵpipe: _angular_core.ɵɵPipeDeclaration<FormatDataPipe, "formatData", true>;
|
|
1911
1997
|
}
|
|
1912
1998
|
|
|
1999
|
+
declare function decrypt(encrypted: EncryptedData, secret: string): Promise<string>;
|
|
2000
|
+
|
|
2001
|
+
/**
|
|
2002
|
+
* Derives a deterministic 32-char HMAC key for a given form input, salted by
|
|
2003
|
+
* the consumer-supplied secret. The secret must be configured via
|
|
2004
|
+
* `withInputSecret()` and read from `INPUT_SECRET_TOKEN` at the callsite —
|
|
2005
|
+
* this function does not (and cannot, as a free helper) inject it itself.
|
|
2006
|
+
*
|
|
2007
|
+
* @param input Input descriptor; its identity fields seed the primary digest.
|
|
2008
|
+
* @param secret Consumer-supplied HMAC secret. Throws if missing.
|
|
2009
|
+
*/
|
|
2010
|
+
declare const generateSecretKey: (input: FormColumnInputs, secret: string) => Promise<string>;
|
|
2011
|
+
|
|
1913
2012
|
/**
|
|
1914
2013
|
* @public
|
|
1915
2014
|
* @deprecated Reachable for one minor cycle only as part of the Phase 1 public-surface
|
|
@@ -2953,5 +3052,5 @@ declare function testAgainstItem(test: ConfigurationValidTestInterface, item: un
|
|
|
2953
3052
|
*/
|
|
2954
3053
|
declare const getSignatureImage: (inputConfig: FormColumnInputs, value: EncryptedData | undefined, secret: string) => Promise<string | undefined>;
|
|
2955
3054
|
|
|
2956
|
-
export { DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FORM_SUGGESTION_REGISTRY, FormBuilderComponent, FormSuggestionRegistry, FormSuggestionRegistryService, FormTowerControllerService, FormatDataPipe, FormsComponent, 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, TFormImportController, TFormInputComponent, TSuggestionReviewComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, assignDeepPropertyToObject, buildSuggestionSchema, createFileFromBase64, formGenerator, getPipedValueFromDataType, getSampleValueForInput, getSectionElements, getSignatureImage, getUrl, getValueFromValueAccessor, initFormConfigToV2, provideNgxTForms, returnDeepProperty, returnMappedPathValue, safeReturnDeepProperty, sheetConsolodation, testAgainstItem, textIconsForUserHints, toSuggestionBatch, validateExpressionSyntax, validateObjectAgainstString, withFormSuggestions, withHttpPipeline, withInputSecret, withRouterFormId };
|
|
3055
|
+
export { DialogTemplateComponent, FORM_ACTIONS_TOKEN, FORM_CONFIG_TOKEN, FORM_INPUTS_TOKEN, FORM_ROUTE_SOURCE, FORM_SLIDES_TOKEN, FORM_SUGGESTION_REGISTRY, FormBuilderComponent, FormSuggestionRegistry, FormSuggestionRegistryService, FormTowerControllerService, FormatDataPipe, FormsComponent, 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, TFormImportController, TFormInputComponent, TSuggestionReviewComponent, UTILS_OBJECT_TOKEN, UserFormStepperComponent, ValidationExpressioCreatorComponent, assignDeepPropertyToObject, 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, withFormSuggestions, withHttpPipeline, withInputSecret, withRouterFormId };
|
|
2957
3056
|
export type { EditableFieldError, EditableFieldKind, EditableFieldSchema, EditableFieldValidation, FieldSuggestion, FormSuggestionChannel, FormSuggestionSnapshot, MscoaAccountSelection, MscoaCurrentSelection, MscoaFieldCapability, MscoaInnerInputDescriptor, MscoaSegmentDescriptor, MscoaSuggestionValue, MultipleRowSuggestionValue, StagedSuggestion, SuggestionBatch };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-date-range-picker-input-element.component-SMWrTm5X.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/core/date-range-picker-reactive-input/date-range-picker-reactive-input.component.html","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n ViewEncapsulation,\r\n computed,\r\n inject,\r\n input,\r\n} from '@angular/core';\r\nimport { AbstractControl, FormGroup, NgControl, ReactiveFormsModule } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport {\r\n BaseCustomInput,\r\n BaseCustomInputConfig,\r\n} from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';\r\nimport { resolveDateRangeControlNames } from '../../../../../../shared/functions/dateRangeControlNames';\r\n\r\nconst customInputConfig: BaseCustomInputConfig = {\r\n controlType: 'lib-date-range-picker-reactive-input',\r\n nextId: 0,\r\n};\r\n\r\n/**\r\n * Inner Material `MatFormFieldControl` host for the date-range-picker reactive\r\n * input. Owns start/end `FormControl` lookups and the cross-field required\r\n * validation reconciliation.\r\n */\r\n@Component({\r\n selector: 'lib-date-range-picker-reactive-input',\r\n imports: [\r\n ReactiveFormsModule,\r\n MatDatepickerModule,\r\n MatInputModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n ],\r\n host: {\r\n '[class.floating]': 'shouldLabelFloat',\r\n '[id]': 'id',\r\n },\r\n providers: [\r\n { provide: MatFormFieldControl, useExisting: DateRangePickerReactiveInputComponent },\r\n ],\r\n templateUrl: './date-range-picker-reactive-input.component.html',\r\n styleUrl: './date-range-picker-reactive-input.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n})\r\nexport class DateRangePickerReactiveInputComponent extends BaseCustomInput<Date> {\r\n /** Column definition used to resolve the start/end `FormControl` names. */\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n\r\n constructor() {\r\n super(\r\n inject(NgControl, { self: true, optional: true }) as NgControl,\r\n inject(ElementRef),\r\n customInputConfig,\r\n );\r\n }\r\n\r\n override get empty(): boolean {\r\n const n: Date | null = this.value;\r\n // Check for null, undefined, or empty string, but allow 0\r\n return n === null || n === undefined || (typeof n === 'string' && n === '');\r\n }\r\n\r\n override get shouldLabelFloat(): boolean {\r\n return true;\r\n }\r\n\r\n protected readonly startDateControl = computed(() => {\r\n const parent = this.parentFormGroup;\r\n const ctrl: AbstractControl | undefined =\r\n parent?.controls[resolveDateRangeControlNames(this.inputConfig()).startControlName];\r\n return ctrl ?? null;\r\n });\r\n\r\n protected readonly endDateControl = computed(() => {\r\n const parent = this.parentFormGroup;\r\n const ctrl: AbstractControl | undefined =\r\n parent?.controls[resolveDateRangeControlNames(this.inputConfig()).endControlName];\r\n return ctrl ?? null;\r\n });\r\n\r\n protected get parentFormGroup(): FormGroup | null {\r\n return (this.ngControl?.control?.parent as FormGroup) ?? null;\r\n }\r\n\r\n override checkValidationsAnErrors(): void {\r\n const control = this.ngControl?.control;\r\n if (!control || !this.touched) return;\r\n\r\n const errors = { ...control.errors };\r\n\r\n this.errors = errors;\r\n const validStartDate = this.startDateControl()?.valid;\r\n const validEndDate = this.endDateControl()?.valid;\r\n if (validStartDate && validEndDate && 'required' in errors) {\r\n const hasOtherErrors = Object.keys(errors).length > 1;\r\n if (!hasOtherErrors) {\r\n control.setErrors(null);\r\n } else {\r\n delete errors['required'];\r\n control.setErrors(errors);\r\n }\r\n } else if (\r\n (!('required' in errors) && this.required && !validStartDate) ||\r\n (!('required' in errors) && this.required && !validEndDate)\r\n ) {\r\n control.setErrors({ required: true, ...errors });\r\n }\r\n }\r\n}\r\n","","import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';\r\nimport { FormGroup, ReactiveFormsModule } from '@angular/forms';\r\nimport { provideNativeDateAdapter } from '@angular/material/core';\r\nimport { DateRange, MatDatepickerInputEvent, MatDatepickerModule } from '@angular/material/datepicker';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatTooltipModule } from '@angular/material/tooltip';\r\nimport type { ITowerStepColumn } from 'ngx-t-forms-types';\r\nimport { TFormInputStatusComponent } from '../../../t-form-input-status/t-form-input-status.component';\r\nimport { DateRangePickerReactiveInputComponent } from './core/date-range-picker-reactive-input/date-range-picker-reactive-input.component';\r\nimport { getInputErrorMessage } from '../../../../services/core/t-input-controller/functions/inputErrorMessage';\r\nimport { resolveDateRangeControlNames } from '../../../../shared/functions/dateRangeControlNames';\r\n\r\n/** Wraps a reactive date-range-picker control inside a `mat-form-field`. */\r\n@Component({\r\n selector: 'lib-date-range-picker-input-element',\r\n templateUrl: './date-range-picker-input-element.component.html',\r\n styleUrl: './date-range-picker-input-element.component.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n providers: [provideNativeDateAdapter()],\r\n imports: [\r\n ReactiveFormsModule,\r\n MatFormFieldModule,\r\n MatIconModule,\r\n MatButtonModule,\r\n MatTooltipModule,\r\n MatDatepickerModule,\r\n TFormInputStatusComponent,\r\n DateRangePickerReactiveInputComponent,\r\n ],\r\n})\r\nexport class DateRangePickerInputElementComponent {\r\n readonly inputConfig = input.required<ITowerStepColumn>();\r\n readonly formGroup = input.required<FormGroup>();\r\n readonly reload = output<void>();\r\n\r\n protected readonly errorMessage = computed(() =>\r\n getInputErrorMessage(this.inputConfig(), this.formGroup()),\r\n );\r\n\r\n /**\r\n * Flat control name of the start endpoint on the bound section group, with the\r\n * shared `startDate` fallback applied so an incomplete descriptor still\r\n * renders a `matStartDate` input (its absence makes Material throw).\r\n */\r\n protected readonly startControlName = computed<string>(\r\n () => resolveDateRangeControlNames(this.inputConfig()).startControlName,\r\n );\r\n\r\n /** Flat control name of the end endpoint, with the `endDate` fallback. */\r\n protected readonly endControlName = computed<string>(\r\n () => resolveDateRangeControlNames(this.inputConfig()).endControlName,\r\n );\r\n\r\n protected hasStartDateError(errorName: string): boolean {\r\n const control = this.formGroup().get(this.startControlName());\r\n return control ? control.hasError(errorName) : false;\r\n }\r\n\r\n protected hasEndDateError(errorName: string): boolean {\r\n const control = this.formGroup().get(this.endControlName());\r\n return control ? control.hasError(errorName) : false;\r\n }\r\n\r\n /**\r\n * Writes a committed endpoint date back to its own control.\r\n *\r\n * @param event Picker/typed commit event.\r\n * @param controlName Flat control name — pass `startControlName()` /\r\n * `endControlName()`, already `id`-prefixed.\r\n */\r\n protected dateChanged(\r\n event: MatDatepickerInputEvent<unknown, DateRange<unknown>>,\r\n controlName: string,\r\n ): void {\r\n const control = this.formGroup().controls[controlName];\r\n if (control) {\r\n control.setValue(event.value);\r\n control.updateValueAndValidity();\r\n control.markAsTouched();\r\n control.markAsDirty();\r\n }\r\n }\r\n}\r\n","<form [formGroup]=\"formGroup()\">\n @if (inputConfig(); as inputConfig) {\n <mat-form-field [appearance]=\"inputConfig.appearance || 'fill'\" subscriptSizing=\"dynamic\">\n <mat-label>\n {{ inputConfig.label }}\n <lib-t-form-input-status [inputConfig]=\"inputConfig\"></lib-t-form-input-status>\n </mat-label>\n\n <lib-date-range-picker-reactive-input\n [inputConfig]=\"inputConfig\"\n [required]=\"inputConfig.required\"\n [formControlName]=\"endControlName()\"\n ></lib-date-range-picker-reactive-input>\n\n <!--\n Both endpoints render unconditionally, and their control names come from\n `startControlName()` / `endControlName()` — never from the raw, optional\n `inputConfig.startDateControl` / `.endDateControl`. These inputs used to sit\n behind `@if (inputConfig.startDateControl)` guards, so a descriptor that\n omitted either key built a `mat-date-range-input` with a missing endpoint\n and Material threw \"must contain a matStartDate input\" from\n `ngAfterContentInit`. The resolved names carry a `startDate` / `endDate`\n fallback (see dateRangeControlNames.ts) that the control generator applies\n too, so the control each input binds to always exists.\n -->\n <mat-date-range-input [required]=\"inputConfig.required\" [formGroup]=\"formGroup()\" [rangePicker]=\"picker\">\n <input\n matStartDate\n [disabled]=\"!!(inputConfig.disabled ?? inputConfig.readonly)\"\n [formControlName]=\"startControlName()\"\n [min]=\"inputConfig.startMinDate\"\n [max]=\"inputConfig.startMaxDate\"\n [value]=\"formGroup().controls[startControlName()]?.value\"\n (dateChange)=\"dateChanged($event, startControlName())\"\n placeholder=\"Start date\"\n />\n <input\n matEndDate\n [disabled]=\"!!(inputConfig.disabled ?? inputConfig.readonly)\"\n [formControlName]=\"endControlName()\"\n [value]=\"formGroup().controls[endControlName()]?.value\"\n placeholder=\"End date\"\n [min]=\"inputConfig.endMinDate\"\n [max]=\"inputConfig.endMaxDate\"\n (dateChange)=\"dateChanged($event, endControlName())\"\n />\n </mat-date-range-input>\n\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-date-range-picker #picker>\n <mat-datepicker-actions>\n <button mat-button matDatepickerCancel>Cancel</button>\n <button mat-raised-button color=\"primary\" matDatepickerApply>Apply</button>\n </mat-datepicker-actions>\n </mat-date-range-picker>\n\n @if (inputConfig.hintLabel || inputConfig.temporaryHint) {\n <mat-hint [matTooltip]=\"inputConfig.hintLabel || ''\" class=\"inputHint\">\n {{ inputConfig.temporaryHint || inputConfig.hintLabel }}\n </mat-hint>\n }\n\n @if (!!errorMessage()) {\n <mat-error class=\"oneLineTextEllipsis\" matTooltipClass=\"errorToolTip\">{{ errorMessage() }}</mat-error>\n }\n\n @if (inputConfig.canReload?.canReload) {\n <button\n mat-icon-button\n style=\"margin-right: 4px;\"\n matTooltip=\"Click to refresh this field.\"\n class=\"input-sync-button\"\n (click)=\"inputConfig.canReload.emit()\"\n matSuffix\n >\n <mat-icon style=\"color: var(--mat-sys-primary)\">sync</mat-icon>\n </button>\n }\n\n @if (inputConfig.prefixIcon) {\n <mat-icon matPrefix>{{ inputConfig.prefixIcon }}</mat-icon>\n }\n\n @if (inputConfig.suffixIcon && inputConfig.id !== 'password') {\n <mat-icon matSuffix>{{ inputConfig.suffixIcon }}</mat-icon>\n }\n\n @if (inputConfig.prefixText) {\n <span matPrefix style=\"top: 0\">{{ inputConfig.prefixText }}</span>\n }\n @if (inputConfig.suffixText) {\n <span matSuffix style=\"padding-left: 5px\">{{ inputConfig.suffixText }}</span>\n }\n\n @if (inputConfig.maxLength && formGroup()) {\n <mat-hint>\n {{ (formGroup().controls[inputConfig.id]?.value?.length || 0) + '/' + inputConfig.maxLength }}\n </mat-hint>\n }\n </mat-form-field>\n }\n</form>\n"],"names":["i4"],"mappings":";;;;;;;;;;;;;;;;;;AAsBA,MAAM,iBAAiB,GAA0B;AAC/C,IAAA,WAAW,EAAE,sCAAsC;AACnD,IAAA,MAAM,EAAE,CAAC;CACV;AAED;;;;AAIG;AAsBG,MAAO,qCAAsC,SAAQ,eAAqB,CAAA;AAI9E,IAAA,WAAA,GAAA;QACE,KAAK,CACH,MAAM,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAc,EAC9D,MAAM,CAAC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,EAAA,CAAA,mBAAA,EAAA,QAAA,EAAA,mDAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,QAAA,EAAA,iDAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACnB,yBAAyB,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACzB,qCAAqC,EAAA,QAAA,EAAA,sCAAA,EAAA,MAAA,EAAA,CAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAG5B,oCAAoC,EAAA,UAAA,EAAA,CAAA;kBAjBhD,SAAS;+BACE,qCAAqC,EAAA,eAAA,EAG9B,uBAAuB,CAAC,MAAM,aACpC,CAAC,wBAAwB,EAAE,CAAC,EAAA,OAAA,EAC9B;wBACP,mBAAmB;wBACnB,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,gBAAgB;wBAChB,mBAAmB;wBACnB,yBAAyB;wBACzB,qCAAqC;AACtC,qBAAA,EAAA,QAAA,EAAA,gvIAAA,EAAA,MAAA,EAAA,CAAA,oJAAA,CAAA,EAAA;;;;;"}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, output, signal, computed, ViewEncapsulation, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import * as i3 from '@angular/material/icon';
|
|
4
|
-
import { MatIconModule } from '@angular/material/icon';
|
|
5
|
-
import { b as buildTokenMaps, a as bindableFields, f as fieldEditorBindings, m as mapTemplateTokens } from './ngx-t-forms-token-transform-D_wsFbNc.mjs';
|
|
6
|
-
import { J as JsonEditorComponent } from './ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs';
|
|
7
|
-
|
|
8
|
-
/** True for a value a header can actually carry. */
|
|
9
|
-
function isScalar(value) {
|
|
10
|
-
return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Narrows a parsed JSON document to a {@link HeaderTemplate}.
|
|
14
|
-
*
|
|
15
|
-
* Rejects — rather than coerces — anything a header cannot carry: an array root,
|
|
16
|
-
* a nested object/array value, or a blank name. Coercing would produce a header
|
|
17
|
-
* the endpoint silently misreads (`"[object Object]"`), so the entry is dropped
|
|
18
|
-
* and named in `problems` instead.
|
|
19
|
-
*
|
|
20
|
-
* @param value - The parsed editor document.
|
|
21
|
-
* @returns The expressible entries plus a complaint per rejected one.
|
|
22
|
-
*/
|
|
23
|
-
function narrowHeaderTemplate(value) {
|
|
24
|
-
const template = {};
|
|
25
|
-
const problems = [];
|
|
26
|
-
if (Array.isArray(value) || value === null || typeof value !== 'object') {
|
|
27
|
-
return { template, problems: ['Headers must be a JSON object of "name": "value" pairs.'] };
|
|
28
|
-
}
|
|
29
|
-
for (const [rawName, rawValue] of Object.entries(value)) {
|
|
30
|
-
const name = rawName.trim();
|
|
31
|
-
if (name === '') {
|
|
32
|
-
problems.push('A header name cannot be blank.');
|
|
33
|
-
continue;
|
|
34
|
-
}
|
|
35
|
-
if (rawValue === null || rawValue === undefined) {
|
|
36
|
-
problems.push(`"${name}" has no value.`);
|
|
37
|
-
continue;
|
|
38
|
-
}
|
|
39
|
-
if (!isScalar(rawValue)) {
|
|
40
|
-
problems.push(`"${name}" must be a single text value — objects and lists cannot be sent as a header.`);
|
|
41
|
-
continue;
|
|
42
|
-
}
|
|
43
|
-
template[name] = rawValue;
|
|
44
|
-
}
|
|
45
|
-
return { template, problems };
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/** Shown when nothing has been authored and the endpoint captured no headers. */
|
|
49
|
-
const EMPTY_SKELETON = { 'Content-Type': 'application/json' };
|
|
50
|
-
/**
|
|
51
|
-
* Editor for a value/options fetch's `headerTemplate`.
|
|
52
|
-
*
|
|
53
|
-
* Shares the {@link JsonEditorComponent} and the friendly-label token transform
|
|
54
|
-
* with the payload-template editor, so binding a header to a live field is the
|
|
55
|
-
* same gesture as binding a payload field: type `$`, pick the field, and the
|
|
56
|
-
* editor inserts its `{{token}}`. Unlike a payload it enforces a **flat**
|
|
57
|
-
* `name → text` shape — a header has no structure to nest into — and names any
|
|
58
|
-
* entry it had to reject rather than dropping it silently.
|
|
59
|
-
*
|
|
60
|
-
* Applies to GET as well as POST; which slot it edits is decided upstream by the
|
|
61
|
-
* element-editor descriptor, so this component owns no mode toggle.
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
* <lib-header-template-editor [value]="headers()" [formInputs]="inputs()"
|
|
65
|
-
* (valueChanged)="onHeaders($event)" />
|
|
66
|
-
*/
|
|
67
|
-
class HeaderTemplateEditorComponent {
|
|
68
|
-
constructor() {
|
|
69
|
-
/** Current header template (`undefined` when nothing has been authored yet). */
|
|
70
|
-
this.value = input(undefined, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
71
|
-
/**
|
|
72
|
-
* Default shown when nothing has been authored yet — the endpoint's captured
|
|
73
|
-
* headers, when the collection carried any. Falls back to a one-line skeleton
|
|
74
|
-
* so the editor never opens blank.
|
|
75
|
-
*/
|
|
76
|
-
this.defaultTemplate = input(undefined, ...(ngDevMode ? [{ debugName: "defaultTemplate" }] : /* istanbul ignore next */ []));
|
|
77
|
-
/** All form inputs, offered as insertable `{{inputId}}` bindings. */
|
|
78
|
-
this.formInputs = input([], ...(ngDevMode ? [{ debugName: "formInputs" }] : /* istanbul ignore next */ []));
|
|
79
|
-
/** Disables the editor. */
|
|
80
|
-
this.disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
81
|
-
/** Validation errors surfaced by the parent editor. */
|
|
82
|
-
this.errors = input([], ...(ngDevMode ? [{ debugName: "errors" }] : /* istanbul ignore next */ []));
|
|
83
|
-
/** Optional id supplied by the parent editor. */
|
|
84
|
-
this.id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
85
|
-
/** Emits the narrowed header map on every valid edit. */
|
|
86
|
-
this.valueChanged = output();
|
|
87
|
-
/** Per-entry complaints from the last edit (nested value, blank name, …). */
|
|
88
|
-
this.shapeProblems = signal([], ...(ngDevMode ? [{ debugName: "shapeProblems" }] : /* istanbul ignore next */ []));
|
|
89
|
-
/** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */
|
|
90
|
-
this.#tokenMaps = computed(() => buildTokenMaps(bindableFields(this.formInputs())), ...(ngDevMode ? [{ debugName: "#tokenMaps" }] : /* istanbul ignore next */ []));
|
|
91
|
-
/** Field bindings for the JSON editor's `$`-trigger picker. */
|
|
92
|
-
this.editorBindings = computed(() => fieldEditorBindings(this.formInputs(), this.#tokenMaps().idToLabel), ...(ngDevMode ? [{ debugName: "editorBindings" }] : /* istanbul ignore next */ []));
|
|
93
|
-
/**
|
|
94
|
-
* The value the JSON editor renders — the authored headers, the endpoint's
|
|
95
|
-
* captured ones, or the skeleton — with stored `{{id}}` tokens rewritten to the
|
|
96
|
-
* friendly `{{Label}}` form for display.
|
|
97
|
-
*/
|
|
98
|
-
this.editorValue = computed(() => {
|
|
99
|
-
const authored = this.value();
|
|
100
|
-
const source = authored ?? this.defaultTemplate() ?? EMPTY_SKELETON;
|
|
101
|
-
return mapTemplateTokens(source, this.#tokenMaps().idToLabel);
|
|
102
|
-
}, ...(ngDevMode ? [{ debugName: "editorValue" }] : /* istanbul ignore next */ []));
|
|
103
|
-
}
|
|
104
|
-
/** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */
|
|
105
|
-
#tokenMaps;
|
|
106
|
-
/**
|
|
107
|
-
* Commit a valid edit: narrow the document to a flat header map, then rewrite
|
|
108
|
-
* the friendly `{{Label}}` tokens back to the stored `{{id}}` form before
|
|
109
|
-
* emitting. Invalid JSON is ignored (the last valid map stays in effect);
|
|
110
|
-
* entries the header shape cannot carry are reported rather than persisted.
|
|
111
|
-
*/
|
|
112
|
-
onEditorChange(change) {
|
|
113
|
-
if (!change.valid)
|
|
114
|
-
return;
|
|
115
|
-
const { template, problems } = narrowHeaderTemplate(change.value);
|
|
116
|
-
this.shapeProblems.set(problems);
|
|
117
|
-
const stored = mapTemplateTokens(template, this.#tokenMaps().labelToId);
|
|
118
|
-
this.valueChanged.emit(stored);
|
|
119
|
-
}
|
|
120
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: HeaderTemplateEditorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
121
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.12", type: HeaderTemplateEditorComponent, isStandalone: true, selector: "lib-header-template-editor", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, defaultTemplate: { classPropertyName: "defaultTemplate", publicName: "defaultTemplate", isSignal: true, isRequired: false, transformFunction: null }, formInputs: { classPropertyName: "formInputs", publicName: "formInputs", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, errors: { classPropertyName: "errors", publicName: "errors", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, host: { classAttribute: "lib-header-template-editor" }, ngImport: i0, template: "<div class=\"header-editor\">\r\n <p class=\"hint-line\">\r\n <mat-icon class=\"info-icon\">info</mat-icon>\r\n <span>Author the request headers as JSON \u2014 one <code>\"name\": \"value\"</code> pair per header.\r\n Type <code>$</code> to bind a value to a field; the request waits until every bound field\r\n has a value.</span>\r\n </p>\r\n\r\n <lib-json-editor\r\n height=\"260px\"\r\n [value]=\"editorValue()\"\r\n [bindings]=\"editorBindings()\"\r\n [disabled]=\"disabled()\"\r\n (valueChange)=\"onEditorChange($event)\" />\r\n\r\n @for (problem of shapeProblems(); track $index) {\r\n <p class=\"error-line\"><span>{{ problem }}</span></p>\r\n }\r\n\r\n @for (error of errors(); track $index) {\r\n <p class=\"error-line\"><span>{{ error.message }}</span></p>\r\n }\r\n</div>\r\n", styles: [":host{display:block}.header-editor{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.875rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.hint-line code{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;padding:.05rem .35rem;border-radius:4px;background:var(--lib-forms-surface-container-highest)}.info-icon{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.error-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.75rem;line-height:1.5;color:var(--lib-forms-error)}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: JsonEditorComponent, selector: "lib-json-editor", inputs: ["value", "height", "disabled", "bindings"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
122
|
-
}
|
|
123
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.12", ngImport: i0, type: HeaderTemplateEditorComponent, decorators: [{
|
|
124
|
-
type: Component,
|
|
125
|
-
args: [{ selector: 'lib-header-template-editor', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.Emulated, host: { class: 'lib-header-template-editor' }, imports: [MatIconModule, JsonEditorComponent], template: "<div class=\"header-editor\">\r\n <p class=\"hint-line\">\r\n <mat-icon class=\"info-icon\">info</mat-icon>\r\n <span>Author the request headers as JSON \u2014 one <code>\"name\": \"value\"</code> pair per header.\r\n Type <code>$</code> to bind a value to a field; the request waits until every bound field\r\n has a value.</span>\r\n </p>\r\n\r\n <lib-json-editor\r\n height=\"260px\"\r\n [value]=\"editorValue()\"\r\n [bindings]=\"editorBindings()\"\r\n [disabled]=\"disabled()\"\r\n (valueChange)=\"onEditorChange($event)\" />\r\n\r\n @for (problem of shapeProblems(); track $index) {\r\n <p class=\"error-line\"><span>{{ problem }}</span></p>\r\n }\r\n\r\n @for (error of errors(); track $index) {\r\n <p class=\"error-line\"><span>{{ error.message }}</span></p>\r\n }\r\n</div>\r\n", styles: [":host{display:block}.header-editor{display:flex;flex-direction:column;gap:1.5rem}.hint-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.875rem;line-height:1.5;color:var(--lib-forms-on-surface-variant)}.hint-line code{font-family:var(--lib-forms-font-mono, monospace);font-size:.8125rem;padding:.05rem .35rem;border-radius:4px;background:var(--lib-forms-surface-container-highest)}.info-icon{flex-shrink:0;font-size:1.125rem;width:1.125rem;height:1.125rem;color:var(--lib-forms-primary)}.error-line{display:flex;align-items:flex-start;gap:.5rem;margin:0;font-size:.75rem;line-height:1.5;color:var(--lib-forms-error)}\n"] }]
|
|
126
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], defaultTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultTemplate", required: false }] }], formInputs: [{ type: i0.Input, args: [{ isSignal: true, alias: "formInputs", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], errors: [{ type: i0.Input, args: [{ isSignal: true, alias: "errors", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
|
|
127
|
-
|
|
128
|
-
export { HeaderTemplateEditorComponent };
|
|
129
|
-
//# sourceMappingURL=ngx-t-forms-header-template-editor.component-DLldVmcN.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-header-template-editor.component-DLldVmcN.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/header-template-editor/flatten-header-template.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/header-template-editor/header-template-editor.component.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/header-template-editor/header-template-editor.component.html"],"sourcesContent":["/**\r\n * @file Flattening + validation for the request-header JSON editor.\r\n *\r\n * A {@link HeaderTemplate} is a flat `name → scalar` map, but the editor beneath\r\n * it is a general JSON editor: the author can type anything that parses. This\r\n * module is the narrow gate between the two — it accepts what a header map can\r\n * express and reports, per key, what it had to reject, so the editor can say\r\n * *which* header is wrong instead of silently dropping it.\r\n *\r\n * Kept separate from the component so it stays trivially unit-testable and free\r\n * of Angular.\r\n */\r\nimport type { HeaderTemplate, HeaderTemplateValue } from 'ngx-t-forms-types';\r\n\r\n/** The outcome of narrowing an edited JSON document to a header map. */\r\nexport interface HeaderTemplateNarrowing {\r\n /** The header entries that are expressible; always safe to persist. */\r\n readonly template: HeaderTemplate;\r\n /**\r\n * Human-readable complaints, one per rejected entry (nested object/array value,\r\n * or a blank header name). Empty when the document is a clean header map.\r\n */\r\n readonly problems: readonly string[];\r\n}\r\n\r\n/** True for a value a header can actually carry. */\r\nfunction isScalar(value: unknown): value is HeaderTemplateValue {\r\n return typeof value === 'string' || typeof value === 'number' || typeof value === 'boolean';\r\n}\r\n\r\n/**\r\n * Narrows a parsed JSON document to a {@link HeaderTemplate}.\r\n *\r\n * Rejects — rather than coerces — anything a header cannot carry: an array root,\r\n * a nested object/array value, or a blank name. Coercing would produce a header\r\n * the endpoint silently misreads (`\"[object Object]\"`), so the entry is dropped\r\n * and named in `problems` instead.\r\n *\r\n * @param value - The parsed editor document.\r\n * @returns The expressible entries plus a complaint per rejected one.\r\n */\r\nexport function narrowHeaderTemplate(value: unknown): HeaderTemplateNarrowing {\r\n const template: Record<string, HeaderTemplateValue> = {};\r\n const problems: string[] = [];\r\n\r\n if (Array.isArray(value) || value === null || typeof value !== 'object') {\r\n return { template, problems: ['Headers must be a JSON object of \"name\": \"value\" pairs.'] };\r\n }\r\n\r\n for (const [rawName, rawValue] of Object.entries(value as Record<string, unknown>)) {\r\n const name = rawName.trim();\r\n if (name === '') {\r\n problems.push('A header name cannot be blank.');\r\n continue;\r\n }\r\n if (rawValue === null || rawValue === undefined) {\r\n problems.push(`\"${name}\" has no value.`);\r\n continue;\r\n }\r\n if (!isScalar(rawValue)) {\r\n problems.push(`\"${name}\" must be a single text value — objects and lists cannot be sent as a header.`);\r\n continue;\r\n }\r\n template[name] = rawValue;\r\n }\r\n\r\n return { template, problems };\r\n}\r\n","import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ViewEncapsulation,\r\n computed,\r\n input,\r\n output,\r\n signal,\r\n} from '@angular/core';\r\nimport { MatIconModule } from '@angular/material/icon';\r\n\r\nimport type { FormColumnInputs, HeaderTemplate } from 'ngx-t-forms-types';\r\n\r\nimport type { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\nimport { bindableFields, fieldEditorBindings } from '../_shared/field-bindings';\r\nimport {\r\n JsonEditorComponent,\r\n type EditorBinding,\r\n type JsonEditorChange,\r\n} from '../json-editor/json-editor.component';\r\nimport { buildTokenMaps, mapTemplateTokens } from '../payload-template-editor/token-transform';\r\nimport { narrowHeaderTemplate } from './flatten-header-template';\r\n\r\n/** Shown when nothing has been authored and the endpoint captured no headers. */\r\nconst EMPTY_SKELETON: HeaderTemplate = { 'Content-Type': 'application/json' };\r\n\r\n/**\r\n * Editor for a value/options fetch's `headerTemplate`.\r\n *\r\n * Shares the {@link JsonEditorComponent} and the friendly-label token transform\r\n * with the payload-template editor, so binding a header to a live field is the\r\n * same gesture as binding a payload field: type `$`, pick the field, and the\r\n * editor inserts its `{{token}}`. Unlike a payload it enforces a **flat**\r\n * `name → text` shape — a header has no structure to nest into — and names any\r\n * entry it had to reject rather than dropping it silently.\r\n *\r\n * Applies to GET as well as POST; which slot it edits is decided upstream by the\r\n * element-editor descriptor, so this component owns no mode toggle.\r\n *\r\n * @example\r\n * <lib-header-template-editor [value]=\"headers()\" [formInputs]=\"inputs()\"\r\n * (valueChanged)=\"onHeaders($event)\" />\r\n */\r\n@Component({\r\n selector: 'lib-header-template-editor',\r\n templateUrl: './header-template-editor.component.html',\r\n styleUrl: './header-template-editor.component.scss',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n encapsulation: ViewEncapsulation.Emulated,\r\n host: { class: 'lib-header-template-editor' },\r\n imports: [MatIconModule, JsonEditorComponent],\r\n})\r\nexport class HeaderTemplateEditorComponent {\r\n /** Current header template (`undefined` when nothing has been authored yet). */\r\n readonly value = input<HeaderTemplate | undefined>(undefined);\r\n\r\n /**\r\n * Default shown when nothing has been authored yet — the endpoint's captured\r\n * headers, when the collection carried any. Falls back to a one-line skeleton\r\n * so the editor never opens blank.\r\n */\r\n readonly defaultTemplate = input<HeaderTemplate | undefined>(undefined);\r\n\r\n /** All form inputs, offered as insertable `{{inputId}}` bindings. */\r\n readonly formInputs = input<readonly FormColumnInputs[]>([]);\r\n\r\n /** Disables the editor. */\r\n readonly disabled = input<boolean>(false);\r\n\r\n /** Validation errors surfaced by the parent editor. */\r\n readonly errors = input<IConfigElementError[] | undefined>([]);\r\n\r\n /** Optional id supplied by the parent editor. */\r\n readonly id = input<string | undefined>(undefined);\r\n\r\n /** Emits the narrowed header map on every valid edit. */\r\n readonly valueChanged = output<HeaderTemplate>();\r\n\r\n /** Per-entry complaints from the last edit (nested value, blank name, …). */\r\n protected readonly shapeProblems = signal<readonly string[]>([]);\r\n\r\n /** id⇄label token maps (safe + unique labels only; everything else stays a raw id). */\r\n readonly #tokenMaps = computed(() => buildTokenMaps(bindableFields(this.formInputs())));\r\n\r\n /** Field bindings for the JSON editor's `$`-trigger picker. */\r\n protected readonly editorBindings = computed<readonly EditorBinding[]>(() =>\r\n fieldEditorBindings(this.formInputs(), this.#tokenMaps().idToLabel),\r\n );\r\n\r\n /**\r\n * The value the JSON editor renders — the authored headers, the endpoint's\r\n * captured ones, or the skeleton — with stored `{{id}}` tokens rewritten to the\r\n * friendly `{{Label}}` form for display.\r\n */\r\n protected readonly editorValue = computed<object | undefined>(() => {\r\n const authored = this.value();\r\n const source = authored ?? this.defaultTemplate() ?? EMPTY_SKELETON;\r\n return mapTemplateTokens(source, this.#tokenMaps().idToLabel) as object;\r\n });\r\n\r\n /**\r\n * Commit a valid edit: narrow the document to a flat header map, then rewrite\r\n * the friendly `{{Label}}` tokens back to the stored `{{id}}` form before\r\n * emitting. Invalid JSON is ignored (the last valid map stays in effect);\r\n * entries the header shape cannot carry are reported rather than persisted.\r\n */\r\n protected onEditorChange(change: JsonEditorChange): void {\r\n if (!change.valid) return;\r\n const { template, problems } = narrowHeaderTemplate(change.value);\r\n this.shapeProblems.set(problems);\r\n const stored = mapTemplateTokens(template, this.#tokenMaps().labelToId);\r\n this.valueChanged.emit(stored);\r\n }\r\n}\r\n","<div class=\"header-editor\">\r\n <p class=\"hint-line\">\r\n <mat-icon class=\"info-icon\">info</mat-icon>\r\n <span>Author the request headers as JSON — one <code>\"name\": \"value\"</code> pair per header.\r\n Type <code>$</code> to bind a value to a field; the request waits until every bound field\r\n has a value.</span>\r\n </p>\r\n\r\n <lib-json-editor\r\n height=\"260px\"\r\n [value]=\"editorValue()\"\r\n [bindings]=\"editorBindings()\"\r\n [disabled]=\"disabled()\"\r\n (valueChange)=\"onEditorChange($event)\" />\r\n\r\n @for (problem of shapeProblems(); track $index) {\r\n <p class=\"error-line\"><span>{{ problem }}</span></p>\r\n }\r\n\r\n @for (error of errors(); track $index) {\r\n <p class=\"error-line\"><span>{{ error.message }}</span></p>\r\n }\r\n</div>\r\n"],"names":[],"mappings":";;;;;;;AAyBA;AACA,SAAS,QAAQ,CAAC,KAAc,EAAA;AAC9B,IAAA,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,Q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derComponent, x as FormsComponent, M as MscoaFormInputComponent, S as SignatureInputElementComponent, T as TDynamicDataEditComponent, b as TDynamicDataViewComponent, y as TFormInputComponent, U as UserFormStepperComponent, V as ValidationExpressioCreatorComponent, z as getSignatureImage, t as testAgainstItem } from './ngx-t-forms-ngx-t-forms-tQEbZK_e.mjs';
|
|
2
|
-
//# sourceMappingURL=ngx-t-forms-index-C8NtLE16.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-index-C8NtLE16.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-t-forms-map-mat-options-keys-C2JpMTEc.mjs","sources":["../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/map-mat-options-keys/map-mat-options-keys.ts","../../../projects/ngx-t-forms/src/lib/components/t-dynamic-data-edit/elements/map-mat-options-keys/map-mat-options-keys.html"],"sourcesContent":["import {\r\n ChangeDetectionStrategy,\r\n Component,\r\n ElementRef,\r\n Input,\r\n OnDestroy,\r\n Optional,\r\n Self,\r\n output,\r\n} from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\nimport { MatFormFieldControl } from '@angular/material/form-field';\r\nimport { Subject } from 'rxjs';\r\nimport { IConfigElementError } from '../../t-dynamic-data-edit.component';\r\nimport { FormColumnInputs, TreeNode } from 'ngx-t-forms-types';\r\nimport { DataTreeComponent } from '../api-value-access-rules/elements/data-tree/data-tree.component';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'lib-map-mat-options-keys',\r\n imports: [DataTreeComponent,CommonModule],\r\n providers: [{ provide: MatFormFieldControl, useExisting: MapMatOptionsKeys }],\r\n standalone: true,\r\n templateUrl: './map-mat-options-keys.html',\r\n styleUrl: './map-mat-options-keys.css',\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: {\r\n '[id]': 'id',\r\n },\r\n})\r\nexport class MapMatOptionsKeys implements MatFormFieldControl<TreeNode[] | string | null>, OnDestroy {\r\n static nextId = 0;\r\n private _mapToData: unknown;\r\n // -- MatFormFieldControl Boilerplate --\r\n stateChanges = new Subject<void>();\r\n id = `lib-map-mat-options-keys-${MapMatOptionsKeys.nextId++}`;\r\n placeholder = '';\r\n focused = false;\r\n touched = false;\r\n controlType?: string | undefined;\r\n autofilled?: boolean | undefined;\r\n userAriaDescribedBy?: string | undefined;\r\n disableAutomaticLabeling?: boolean | undefined;\r\n required = false;\r\n\r\n // -- Inputs --\r\n @Input() disabled = false;\r\n @Input() errors: IConfigElementError[] | undefined = [];\r\n @Input() value: TreeNode[] | string | null = null;\r\n @Input() formInputs: FormColumnInputs[] = [];\r\n @Input() set mapToData(value: unknown){\r\n this._mapToData = value;\r\n console.error('mapToData changed', value);\r\n };\r\n get mapToData(): unknown {\r\n return this._mapToData;\r\n }\r\n\r\n // -- Outputs --\r\n readonly valueChanged = output<TreeNode[] | string | null>();\r\n\r\n constructor(\r\n @Optional() @Self() public ngControl: NgControl,\r\n private _elementRef: ElementRef<HTMLElement>\r\n ) {\r\n if (this.ngControl) {\r\n this.ngControl.valueAccessor = this;\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.stateChanges.complete();\r\n }\r\n\r\n // -- Getters for Template --\r\n get empty(): boolean {\r\n if (this.value == null) return true;\r\n if (typeof this.value === 'string') return this.value === '';\r\n return Array.isArray(this.value) && this.value.length === 0;\r\n }\r\n\r\n get shouldLabelFloat(): boolean {\r\n return this.focused || !this.empty;\r\n }\r\n\r\n get errorState(): boolean {\r\n const hasError =\r\n !!this.ngControl?.control?.errors ||\r\n ((this.errors?.length ?? 0) > 0 && this.touched);\r\n return (!this.value && !!this.required) || hasError;\r\n }\r\n\r\n // -- MatFormFieldControl Methods --\r\n setDescribedByIds(ids: string[]): void {\r\n if (this._elementRef?.nativeElement) {\r\n const controlElement = this._elementRef.nativeElement.querySelector(\r\n '.lib-map-mat-options-keys'\r\n );\r\n if (controlElement) {\r\n controlElement.setAttribute('aria-describedby', ids.join(' '));\r\n }\r\n }\r\n }\r\n\r\n onContainerClick(_event: MouseEvent): void {\r\n this.markAsTouched();\r\n this.stateChanges.next();\r\n }\r\n\r\n onTouched = (): void => { };\r\n\r\n markAsTouched(): void {\r\n if (!this.touched) {\r\n this.onTouched();\r\n this.touched = true;\r\n }\r\n }\r\n\r\n // -- ControlValueAccessor --\r\n writeValue(value: TreeNode[] | string | null): void {\r\n this.value = value;\r\n this.stateChanges.next();\r\n }\r\n\r\n registerOnChange(_fn: (value: TreeNode[] | string | null) => void): void {\r\n // Handled by parent or ngControl usually, but good practice to have stub\r\n }\r\n\r\n registerOnTouched(fn: () => void): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n pathChanged(path: TreeNode[] | string): void {\r\n if (!Array.isArray(path) && typeof path !== 'string') return;\r\n this.value = path;\r\n this.valueChanged.emit(path);\r\n this.stateChanges.next();\r\n }\r\n\r\n \r\n}\r\n","<div class=\"lib-map-mat-options-keys\">\r\n <lib-data-tree\r\n [data]=\"mapToData\"\r\n [value]=\"value || ''\"\r\n [formInputs]=\"formInputs\"\r\n (pathChanged)=\"pathChanged($event)\">\r\n </lib-data-tree>\r\n</div>\r\n"],"names":[],"mappings":";;;;;;;;MA8Ba,iBAAiB,CAAA;aACrB,IAAA,CAAA,MAAM,GAAG,CAAH,CAAK;IAmBlB,IAAa,SAAS,CAAC,KAAc,EAAA;AACnC,QAAA,IAAI,CAAC,UAAU,GAAG,KAAK;AACvB,QAAA,OAAO,CAAC,KAAK,CAAC,mBAAmB,EAAE,KAAK,CAAC;IAC3C;;AACA,IAAA,IAAI,SAAS,GAAA;QACX,OAAO,IAAI,CAAC,UAAU;IACxB;IAKA,WAAA,CAC6B,SAAoB,EACvC,WAAoC,EAAA;QADjB,IAAA,CAAA,SAAS,GAAT,SAAS;QAC5B,IAAA,CAAA,WAAW,GAAX,WAAW;;AA7BrB,QAAA,IAAA,CAAA,YAAY,GAAG,IA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