ngx-t-forms 0.0.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/README.md +27 -0
- package/fesm2022/ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs +436 -0
- package/fesm2022/ngx-t-forms-api-value-access-rules.component-4ZPgovTx.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs +311 -0
- package/fesm2022/ngx-t-forms-calculated-field-rules.component-tCsyuHd3.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs +208 -0
- package/fesm2022/ngx-t-forms-config-mscoa-additional-inputs.component-C8jU6DUH.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs +29 -0
- package/fesm2022/ngx-t-forms-convertPostmanCollectionToTree-DktdVBeQ.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs +132 -0
- package/fesm2022/ngx-t-forms-form-input-selector.component-6eGpxdN5.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-json-view.component-DwEXL85v.mjs +22 -0
- package/fesm2022/ngx-t-forms-form-json-view.component-DwEXL85v.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs +220 -0
- package/fesm2022/ngx-t-forms-form-section-stepper.component-B5gtKLLC.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs +347 -0
- package/fesm2022/ngx-t-forms-forms-builder-menu.component-Bo1CKQsC.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs +9 -0
- package/fesm2022/ngx-t-forms-getInputIllustration-GCSKx5e5.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs +126 -0
- package/fesm2022/ngx-t-forms-input-editor.component-C1kH_GDD.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs +88 -0
- package/fesm2022/ngx-t-forms-mat-chip-list-editor.component-DY7Tsn5l.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs +108 -0
- package/fesm2022/ngx-t-forms-mat-slider-editor.component-Dgd5gyUu.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs +153 -0
- package/fesm2022/ngx-t-forms-mat-slider-toggle-editor.component-ClM2gqVq.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs +32 -0
- package/fesm2022/ngx-t-forms-missing-form-configs.component-DubPFwTw.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs +230 -0
- package/fesm2022/ngx-t-forms-mscoa-segment-config.component-DtmVJG6v.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs +9292 -0
- package/fesm2022/ngx-t-forms-ngx-t-forms-B-w5W1gG.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DieETx2I.mjs +776 -0
- package/fesm2022/ngx-t-forms-pipeline-generator.component-DieETx2I.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs +188 -0
- package/fesm2022/ngx-t-forms-required-inputs.component-Bi1wJdw3.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs +292 -0
- package/fesm2022/ngx-t-forms-rest-api-call-setup.component-Cd59pfG7.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-section-report.component-CBXHr1qQ.mjs +156 -0
- package/fesm2022/ngx-t-forms-section-report.component-CBXHr1qQ.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs +143 -0
- package/fesm2022/ngx-t-forms-selection-options-editor.component-DBlBUGkw.mjs.map +1 -0
- package/fesm2022/ngx-t-forms-validators-config.component-gtr6Ohn3.mjs +216 -0
- package/fesm2022/ngx-t-forms-validators-config.component-gtr6Ohn3.mjs.map +1 -0
- package/fesm2022/ngx-t-forms.mjs +2 -0
- package/fesm2022/ngx-t-forms.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/dialog-template/dialog-template.component.d.ts +10 -0
- package/lib/components/form-builder/elements/default-element/default-element.component.d.ts +12 -0
- package/lib/components/form-builder/elements/form-json-view/form-json-view.component.d.ts +9 -0
- package/lib/components/form-builder/elements/form-section-stepper/form-section-stepper.component.d.ts +146 -0
- package/lib/components/form-builder/elements/form-submissions-config/config.d.ts +18 -0
- package/lib/components/form-builder/elements/form-submissions-config/form-submissions-config.component.d.ts +61 -0
- package/lib/components/form-builder/elements/forms-builder-menu/forms-builder-menu.component.d.ts +35 -0
- package/lib/components/form-builder/elements/input-editor/input-editor.component.d.ts +18 -0
- package/lib/components/form-builder/elements/input-element-editor/input-element-editor.component.d.ts +42 -0
- package/lib/components/form-builder/elements/missing-form-configs/missing-form-configs.component.d.ts +12 -0
- package/lib/components/form-builder/elements/section-report/section-report.component.d.ts +23 -0
- package/lib/components/form-builder/elements/select-form-template/select-form-template.component.d.ts +17 -0
- package/lib/components/form-builder/form-builder.component.d.ts +29 -0
- package/lib/components/forms/forms.component.d.ts +44 -0
- package/lib/components/forms/functions/cloneCopyFormInput.d.ts +3 -0
- package/lib/components/forms/functions/elementBlur.d.ts +2 -0
- package/lib/components/forms/functions/elementConfigurationChanged.d.ts +2 -0
- package/lib/components/forms/functions/findFormInput.d.ts +2 -0
- package/lib/components/forms/functions/formHttpSubmissions.d.ts +6 -0
- package/lib/components/forms/functions/selectInputTemplate.d.ts +3 -0
- package/lib/components/forms/store/Form-actions-formBuilder.d.ts +34 -0
- package/lib/components/forms/store/Form-selectors-FormBuilder.d.ts +42 -0
- package/lib/components/forms/store/Forms-Actions.d.ts +75 -0
- package/lib/components/forms/store/Forms-Effects.d.ts +14 -0
- package/lib/components/forms/store/Forms-selectors.d.ts +24 -0
- package/lib/components/forms/store/forms-store.service.d.ts +246 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/api-value-access-rules.component.d.ts +59 -0
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/elements/data-tree/data-tree.component.d.ts +60 -0
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree.d.ts +57 -0
- package/lib/components/t-dynamic-data-edit/elements/api-value-access-rules/functions/extractNodeFromTree.d.ts +3 -0
- package/lib/components/t-dynamic-data-edit/elements/calculated-field-rules/calculated-field-rules.component.d.ts +92 -0
- package/lib/components/t-dynamic-data-edit/elements/config-mscoa-additional-inputs/config-mscoa-additional-inputs.component.d.ts +73 -0
- package/lib/components/t-dynamic-data-edit/elements/form-input-selector/form-input-selector.component.d.ts +48 -0
- package/lib/components/t-dynamic-data-edit/elements/json-editor/json-editor.component.d.ts +26 -0
- package/lib/components/t-dynamic-data-edit/elements/mat-chip-list-editor/mat-chip-list-editor.component.d.ts +43 -0
- package/lib/components/t-dynamic-data-edit/elements/mat-slider-editor/mat-slider-editor.component.d.ts +44 -0
- package/lib/components/t-dynamic-data-edit/elements/mat-slider-toggle-editor/mat-slider-toggle-editor.component.d.ts +48 -0
- package/lib/components/t-dynamic-data-edit/elements/mscoa-segment-config/mscoa-segment-config.component.d.ts +75 -0
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/elements/aggregate-stage-editor/aggregate-stage-editor.component.d.ts +33 -0
- package/lib/components/t-dynamic-data-edit/elements/pipeline-generator/pipeline-generator.component.d.ts +92 -0
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/convertPostmanCollectionToTree.d.ts +4 -0
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/filterCollectionItems.d.ts +3 -0
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/functions/methodColors.d.ts +1 -0
- package/lib/components/t-dynamic-data-edit/elements/postman-collections/postman-collections.component.d.ts +28 -0
- package/lib/components/t-dynamic-data-edit/elements/required-inputs/required-inputs.component.d.ts +57 -0
- package/lib/components/t-dynamic-data-edit/elements/rest-api-call-setup/rest-api-call-setup.component.d.ts +46 -0
- package/lib/components/t-dynamic-data-edit/elements/selection-options-editor/selection-options-editor.component.d.ts +48 -0
- package/lib/components/t-dynamic-data-edit/elements/t-workflow-picker/t-workflow-picker.component.d.ts +19 -0
- package/lib/components/t-dynamic-data-edit/elements/validators-config/validators-config.component.d.ts +60 -0
- package/lib/components/t-dynamic-data-edit/functions/testData.d.ts +2 -0
- package/lib/components/t-dynamic-data-edit/t-dynamic-data-edit.component.d.ts +48 -0
- package/lib/components/t-dynamic-data-view/t-dynamic-data-view.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/Geo-location-form-input/elements/geo-location-form-input/geo-location-form-input.component.d.ts +18 -0
- package/lib/components/t-form-input/elements/Geo-location-form-input/functions/getGeoLocation.d.ts +2 -0
- package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts +16 -0
- package/lib/components/t-form-input/elements/auto-complete-input-element/auto-complete-input-element.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/basic-input-input-element/basic-input-input-element.component.d.ts +17 -0
- package/lib/components/t-form-input/elements/basic-input-input-element/core/input-custom/input-custom.component.d.ts +17 -0
- package/lib/components/t-form-input/elements/date-picker-input-element/date-picker-input-element.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/date-range-picker-input-element/date-range-picker-input-element.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/editor-input-element/core/editor-js-input/editor-js-input.component.d.ts +18 -0
- package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/config.d.ts +9 -0
- package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/form-input-rich-text-editor.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/editor-input-element/core/form-input-rich-text-editor/sync-editor/sync-editor.component.d.ts +10 -0
- package/lib/components/t-form-input/elements/editor-input-element/editor-input-element.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/camera-functions.d.ts +3 -0
- package/lib/components/t-form-input/elements/file-upload-input-element/core/file-uploader/file-uploader.component.d.ts +30 -0
- package/lib/components/t-form-input/elements/file-upload-input-element/file-upload-input-element.component.d.ts +14 -0
- package/lib/components/t-form-input/elements/image-capture-input-element/core/camera-capture/camera-capture.component.d.ts +28 -0
- package/lib/components/t-form-input/elements/image-capture-input-element/image-capture-input-element.component.d.ts +13 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/account-value/account-value.component.d.ts +37 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-chart/mscoa-chart.component.d.ts +93 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-computation/mscoa-computation.component.d.ts +62 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/mscoa-reactive-form-field/mscoa-reactive-form-field.component.d.ts +21 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-account-table/scoa-account-table.component.d.ts +83 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/elements/scoa-input/scoa-input.component.d.ts +27 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/mscoa-form-input.component.d.ts +16 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/accountConstants.d.ts +5 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-actions.d.ts +19 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-component-store.service.d.ts +61 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-effects.d.ts +8 -0
- package/lib/components/t-form-input/elements/mscoa-form-input/store/mscoa-selectors.d.ts +32 -0
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table/multiple-input-table.component.d.ts +37 -0
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-edit/multiple-input-table-edit.component.d.ts +52 -0
- package/lib/components/t-form-input/elements/multiple-input-input-element/core/multiple-input-table-view/multiple-input-table-view.component.d.ts +39 -0
- package/lib/components/t-form-input/elements/multiple-input-input-element/functions/getListCalculated.d.ts +2 -0
- package/lib/components/t-form-input/elements/multiple-input-input-element/multiple-input-input-element.component.d.ts +16 -0
- package/lib/components/t-form-input/elements/section-title/section-title.component.d.ts +7 -0
- package/lib/components/t-form-input/elements/select-input-element/select-input-element.component.d.ts +23 -0
- package/lib/components/t-form-input/elements/select-table-input/elements/input-table/input-table.component.d.ts +29 -0
- package/lib/components/t-form-input/elements/select-table-input/select-table-input.component.d.ts +13 -0
- package/lib/components/t-form-input/elements/signature-input-element/config/signature.d.ts +2 -0
- package/lib/components/t-form-input/elements/signature-input-element/core/signature-pad-input/signature-pad-input.component.d.ts +40 -0
- package/lib/components/t-form-input/elements/signature-input-element/signature-input-element.component.d.ts +13 -0
- package/lib/components/t-form-input/elements/textarea-input-element/textarea-input-element.component.d.ts +13 -0
- package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts +15 -0
- package/lib/components/t-form-input/elements/toggle-input-element/toggle-input-element.component.d.ts +13 -0
- package/lib/components/t-form-input/t-form-input.component.d.ts +24 -0
- package/lib/components/t-form-input-status/t-form-input-status.component.d.ts +10 -0
- package/lib/components/user-form-stepper/user-form-stepper.component.d.ts +23 -0
- package/lib/injection-tokens/index.d.ts +14 -0
- package/lib/ngx-t-forms.component.d.ts +5 -0
- package/lib/ngx-t-forms.service.d.ts +6 -0
- package/lib/services/core/t-form-builder/functions/addFormInputToForm.d.ts +8 -0
- package/lib/services/core/t-form-builder/functions/addMultipleInputFunction.d.ts +2 -0
- package/lib/services/core/t-form-builder/functions/addNewSection.d.ts +2 -0
- package/lib/services/core/t-form-builder/functions/deleteSection.d.ts +2 -0
- package/lib/services/core/t-form-builder/functions/formCanSave.d.ts +3 -0
- package/lib/services/core/t-form-builder/functions/inputElementEditorConfigs.d.ts +91 -0
- package/lib/services/core/t-form-builder/functions/moveFormInput.d.ts +4 -0
- package/lib/services/core/t-form-builder/functions/moveInputToDiffSection.d.ts +2 -0
- package/lib/services/core/t-form-builder/functions/multipleInputToggleLabel.d.ts +2 -0
- package/lib/services/core/t-form-builder/functions/removeItem.d.ts +7 -0
- package/lib/services/core/t-form-builder/functions/sectionDrop.d.ts +3 -0
- package/lib/services/core/t-form-builder/functions/stepTitleChangeStep.d.ts +14 -0
- package/lib/services/core/t-form-controller/function/calculateInputValue.d.ts +11 -0
- package/lib/services/core/t-form-controller/function/getApiDataFetching.d.ts +4 -0
- package/lib/services/core/t-form-controller/function/postApiDataFetching.d.ts +16 -0
- package/lib/services/core/t-form-controller/function/validateMinInputForPostRequest.d.ts +8 -0
- package/lib/services/core/t-form-environment-injection/functions/provideNgxTforms.d.ts +3 -0
- package/lib/services/core/t-form-section-controller/Functions/commonFormOperations.d.ts +21 -0
- package/lib/services/core/t-form-section-controller/Functions/errorResolver.d.ts +7 -0
- package/lib/services/core/t-form-section-controller/Functions/formGenerator.d.ts +29 -0
- package/lib/services/core/t-form-section-controller/Functions/getValueFromPathMap.d.ts +6 -0
- package/lib/services/core/t-form-tower-controller/form-tower-controller.service.d.ts +99 -0
- package/lib/services/core/t-form-tower-controller/functions/allFormInputs.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/createEmptyForm.d.ts +2 -0
- package/lib/services/core/t-form-tower-controller/functions/extractInitFunctions.d.ts +8 -0
- package/lib/services/core/t-form-tower-controller/functions/getAllFunctionTypes.d.ts +12 -0
- package/lib/services/core/t-form-tower-controller/functions/getFormValue.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/getSubmissionStatus.d.ts +7 -0
- package/lib/services/core/t-form-tower-controller/functions/handleStepChange.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/multipleInputRowIDControllInput.d.ts +2 -0
- package/lib/services/core/t-form-tower-controller/functions/prePoPulateForm.d.ts +85 -0
- package/lib/services/core/t-form-tower-controller/functions/saveMultipleInputForm.d.ts +10 -0
- package/lib/services/core/t-form-tower-controller/functions/selectFormSteps.d.ts +4 -0
- package/lib/services/core/t-form-tower-controller/functions/setControlTempErrors.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/setInputAsTouchedAndDirty.d.ts +2 -0
- package/lib/services/core/t-form-tower-controller/functions/setInputError.d.ts +5 -0
- package/lib/services/core/t-form-tower-controller/functions/setInputStatus.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/setSectionAsSeen.d.ts +3 -0
- package/lib/services/core/t-form-tower-controller/functions/startTowerFormChangesEventListener.d.ts +10 -0
- package/lib/services/core/t-form-tower-controller/functions/toggleMultipleInput.d.ts +5 -0
- package/lib/services/core/t-form-tower-controller/functions/updateChangeHistory.d.ts +2 -0
- package/lib/services/core/t-form-tower-controller/functions/updateFormInputConfig.d.ts +6 -0
- package/lib/services/core/t-form-tower-controller/functions/updateValue.d.ts +2 -0
- package/lib/services/core/t-input-controller/functions/baseCustomInput.d.ts +104 -0
- package/lib/services/core/t-input-controller/functions/colorCoding.d.ts +24 -0
- package/lib/services/core/t-input-controller/functions/configureCols.d.ts +5 -0
- package/lib/services/core/t-input-controller/functions/generateInputSecret.d.ts +2 -0
- package/lib/services/core/t-input-controller/functions/inputErrorMessage.d.ts +3 -0
- package/lib/services/hhtpResources/Pipeline/pipeline.service.d.ts +80 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/shared/functions/assignDeepPropertyToObject.d.ts +1 -0
- package/lib/shared/functions/camelize.d.ts +6 -0
- package/lib/shared/functions/daysAgoTransform.d.ts +1 -0
- package/lib/shared/functions/enryption.d.ts +9 -0
- package/lib/shared/functions/evaluateArrayAccessRules.d.ts +14 -0
- package/lib/shared/functions/getAvatar.d.ts +1 -0
- package/lib/shared/functions/getDeepObject.d.ts +138 -0
- package/lib/shared/functions/getInputIllustration.d.ts +2 -0
- package/lib/shared/functions/isEqual.d.ts +12 -0
- package/lib/shared/functions/migrationCheck.d.ts +3 -0
- package/lib/shared/functions/replaceUrlVariables.d.ts +2 -0
- package/lib/shared/functions/searchArray.d.ts +1 -0
- package/lib/shared/functions/textIconsForUserHints.d.ts +20 -0
- package/lib/shared/index.d.ts +6 -0
- package/lib/shared/modules/mat-modules.module.d.ts +50 -0
- package/lib/shared/pipes/date/days-ago.pipe.d.ts +7 -0
- package/package.json +67 -0
- package/public-api.d.ts +6 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MenuCloseReason } from '@angular/material/menu';
|
|
3
|
+
import { ElementTypes, FormControlCustomValidatorsInterface, IMultiple } from 'ngx-t-forms-types';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import { NgControl } from '@angular/forms';
|
|
6
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
|
7
|
+
import { Subject } from 'rxjs';
|
|
8
|
+
import { IConfigElementError } from '../../t-dynamic-data-edit.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ValidatorsConfigComponent implements OnInit, MatFormFieldControl<FormControlCustomValidatorsInterface[]> {
|
|
11
|
+
ngControl: NgControl;
|
|
12
|
+
private _elementRef;
|
|
13
|
+
static nextId: number;
|
|
14
|
+
stateChanges: Subject<void>;
|
|
15
|
+
id: string;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
constructor(ngControl: NgControl, _elementRef: ElementRef<HTMLElement>);
|
|
18
|
+
focused: boolean;
|
|
19
|
+
get empty(): boolean;
|
|
20
|
+
get shouldLabelFloat(): boolean;
|
|
21
|
+
required: boolean;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
get errorState(): boolean;
|
|
24
|
+
controlType?: string | undefined;
|
|
25
|
+
autofilled?: boolean | undefined;
|
|
26
|
+
userAriaDescribedBy?: string | undefined;
|
|
27
|
+
disableAutomaticLabeling?: boolean | undefined;
|
|
28
|
+
setDescribedByIds(ids: string[]): void;
|
|
29
|
+
onContainerClick(event: MouseEvent): void;
|
|
30
|
+
errors: IConfigElementError[] | undefined;
|
|
31
|
+
touched: boolean;
|
|
32
|
+
onTouched: () => void;
|
|
33
|
+
markAsTouched(): void;
|
|
34
|
+
mapToData: FormColumnInputs | undefined;
|
|
35
|
+
value: (FormControlCustomValidatorsInterface)[];
|
|
36
|
+
formInputs: Array<FormColumnInputs>;
|
|
37
|
+
valueChanged: EventEmitter<any>;
|
|
38
|
+
ngOnInit(): void;
|
|
39
|
+
edit: FormControlCustomValidatorsInterface | undefined;
|
|
40
|
+
menuClosed(event: MenuCloseReason): void;
|
|
41
|
+
showVariables: boolean;
|
|
42
|
+
editV(validator: string | FormControlCustomValidatorsInterface): void;
|
|
43
|
+
remove(validator: FormControlCustomValidatorsInterface | string): void;
|
|
44
|
+
search: string;
|
|
45
|
+
getInputIcon(element: ElementTypes): string;
|
|
46
|
+
selectInput(inputId: string): void;
|
|
47
|
+
addVariable(event: any): void;
|
|
48
|
+
getMultipleFormInputs(input: IMultiple): FormColumnInputs[] | undefined;
|
|
49
|
+
returnExpression(): string | undefined;
|
|
50
|
+
addValidator(): void;
|
|
51
|
+
onTextChange(event: Event, key: string): void;
|
|
52
|
+
saveVariable(event: any): void;
|
|
53
|
+
removeObserved(event: any, item: {
|
|
54
|
+
inputId: string;
|
|
55
|
+
variable: string;
|
|
56
|
+
}): void;
|
|
57
|
+
isFormControlCustomValidator(validator: string | FormControlCustomValidatorsInterface): string;
|
|
58
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsConfigComponent, [{ optional: true; self: true; }, null]>;
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidatorsConfigComponent, "app-validators-config", never, { "errors": { "alias": "errors"; "required": false; }; "mapToData": { "alias": "mapToData"; "required": false; }; "value": { "alias": "value"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; }, { "valueChanged": "valueChanged"; }, never, never, true, never>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { EventEmitter, NgZone, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BlurHandleTypes, ElementEditorInnerSectionElementInterface, ElementEditorTypes, IGetTreeResponse, IWorkflowOption } from "ngx-t-forms-types";
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface IConfigElementError {
|
|
7
|
+
key: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class TDynamicDataEditComponent implements OnDestroy {
|
|
11
|
+
private ngZone;
|
|
12
|
+
private editorInitiated;
|
|
13
|
+
constructor(ngZone: NgZone);
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
private valueChanges;
|
|
16
|
+
private subscription;
|
|
17
|
+
elementEditorTypes: typeof ElementEditorTypes;
|
|
18
|
+
private _editorConfig;
|
|
19
|
+
private _data;
|
|
20
|
+
set editorConfig(config: ElementEditorInnerSectionElementInterface | undefined);
|
|
21
|
+
formInputs: Array<FormColumnInputs> | undefined;
|
|
22
|
+
set data(data: any);
|
|
23
|
+
validationErrors: IConfigElementError[] | null;
|
|
24
|
+
valueChange: EventEmitter<unknown>;
|
|
25
|
+
blur: EventEmitter<any>;
|
|
26
|
+
editorConfigValue: import("@angular/core").Signal<ElementEditorInnerSectionElementInterface | undefined>;
|
|
27
|
+
dataValue: import("@angular/core").Signal<any>;
|
|
28
|
+
get getMscoaTree(): Observable<IGetTreeResponse> | undefined;
|
|
29
|
+
get getWorkflowOptions(): Observable<IWorkflowOption[]> | undefined;
|
|
30
|
+
value: import("@angular/core").Signal<any>;
|
|
31
|
+
dataOptions: import("@angular/core").Signal<any>;
|
|
32
|
+
disabled: import("@angular/core").Signal<boolean | undefined>;
|
|
33
|
+
private initializeValueChanges;
|
|
34
|
+
private computeValueChange;
|
|
35
|
+
inputChange(event: any): void;
|
|
36
|
+
valueChanged(value: unknown): void;
|
|
37
|
+
manualValueChange(event: {
|
|
38
|
+
value: unknown;
|
|
39
|
+
deepBind: Array<string>;
|
|
40
|
+
}): void;
|
|
41
|
+
blurOff: boolean;
|
|
42
|
+
elementBlur(event: any): void;
|
|
43
|
+
inputHasBlurFunction: import("@angular/core").Signal<BlurHandleTypes | undefined>;
|
|
44
|
+
blurFunctionTooltip(blurHandle: BlurHandleTypes | undefined): "Enable/disable pre-populating of the form control name from the label" | "Enable/disable auto conversion of control name to camel case" | "Toggle blur function";
|
|
45
|
+
formatLabel: (value: number) => any;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TDynamicDataEditComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TDynamicDataEditComponent, "lib-t-dynamic-data-edit", never, { "editorConfig": { "alias": "editorConfig"; "required": false; }; "formInputs": { "alias": "formInputs"; "required": false; }; "data": { "alias": "data"; "required": false; }; "validationErrors": { "alias": "validationErrors"; "required": false; }; }, { "valueChange": "valueChange"; "blur": "blur"; }, never, never, true, never>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { TreeComponent } from '../t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TDynamicDataViewComponent {
|
|
5
|
+
treeClass: TreeComponent;
|
|
6
|
+
data: any;
|
|
7
|
+
constructor();
|
|
8
|
+
_data: any;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
+
getNodeValueColor(value: any): "green" | "blue" | "purple" | "black";
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TDynamicDataViewComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TDynamicDataViewComponent, "lib-t-dynamic-data-view", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
4
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
5
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class GeoLocationFormInputComponent extends BaseCustomInput<GeolocationPosition | null> {
|
|
8
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
|
+
get empty(): boolean;
|
|
10
|
+
get shouldLabelFloat(): boolean;
|
|
11
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
12
|
+
inputConfig: FormColumnInputs | undefined;
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
error: boolean;
|
|
15
|
+
getLocation(): Promise<void>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeoLocationFormInputComponent, [{ optional: true; self: true; }, null]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeoLocationFormInputComponent, "lib-geo-location-form-input", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
package/lib/components/t-form-input/elements/Geo-location-form-input/geo-location.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
4
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GeoLocationComponent {
|
|
7
|
+
inputConfig: FormColumnInputs;
|
|
8
|
+
formGroup: FormGroup;
|
|
9
|
+
editorMode: boolean;
|
|
10
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
11
|
+
valueChange: EventEmitter<any>;
|
|
12
|
+
changed($event: any): void;
|
|
13
|
+
get errorMessage(): string | undefined;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeoLocationComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeoLocationComponent, "lib-geo-location", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AutoCompleteInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
options: any;
|
|
9
|
+
valueChange: EventEmitter<any>;
|
|
10
|
+
changed($event: any): void;
|
|
11
|
+
get errorMessage(): string | undefined;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoCompleteInputElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutoCompleteInputElementComponent, "lib-auto-complete-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, FormControl } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class BasicInputInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
get formControl(): FormControl<any>;
|
|
10
|
+
changed($event: any): void;
|
|
11
|
+
passwordStrengthColor(formControlName: string): "var(--ion-color-success)" | "var(--ion-color-warning)" | "var(--ion-color-danger)";
|
|
12
|
+
checkPasswordStrength(formControlName: string): "strong" | "medium" | "weak";
|
|
13
|
+
get errorMessage(): string | undefined;
|
|
14
|
+
get hasError(): boolean | undefined;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicInputInputElementComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BasicInputInputElementComponent, "lib-basic-input-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputCustomComponent extends BaseCustomInput<string | number | Date> implements OnInit {
|
|
7
|
+
inputConfig: FormColumnInputs | undefined;
|
|
8
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
|
+
get empty(): boolean;
|
|
10
|
+
get shouldLabelFloat(): boolean;
|
|
11
|
+
private readonly debounceTime;
|
|
12
|
+
private valueSubject;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
onInputChange($event: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputCustomComponent, [{ optional: true; self: true; }, null]>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputCustomComponent, "lib-input-custom", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DatePickerInputElementComponent {
|
|
7
|
+
inputConfig: FormColumnInputs;
|
|
8
|
+
formGroup: FormGroup;
|
|
9
|
+
valueChange: EventEmitter<any>;
|
|
10
|
+
changed(event: MatDatepickerInputEvent<any, any>): void;
|
|
11
|
+
get errorMessage(): string | undefined;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerInputElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatePickerInputElementComponent, "lib-date-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { DateRange, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
4
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class DateRangePickerInputElementComponent {
|
|
7
|
+
inputConfig: FormColumnInputs;
|
|
8
|
+
formGroup: FormGroup;
|
|
9
|
+
valueChange: EventEmitter<any>;
|
|
10
|
+
get errorMessage(): string | undefined;
|
|
11
|
+
dateChanged(event: MatDatepickerInputEvent<any, DateRange<any>>, formControlName: string): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateRangePickerInputElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateRangePickerInputElementComponent, "lib-date-range-picker-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import EditorJS, { OutputData } from '@editorjs/editorjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class EditorJsInputComponent extends BaseCustomInput<OutputData | undefined> implements AfterViewInit, OnDestroy {
|
|
8
|
+
editor: EditorJS | undefined;
|
|
9
|
+
inputConfig: FormColumnInputs;
|
|
10
|
+
get empty(): boolean;
|
|
11
|
+
get shouldLabelFloat(): boolean;
|
|
12
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
contentChangedSaveValue(): Promise<void>;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorJsInputComponent, [{ optional: true; self: true; }, null]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorJsInputComponent, "lib-editor-js-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EditorConfig, OutputData } from "@editorjs/editorjs";
|
|
2
|
+
export interface EditorJsPayload {
|
|
3
|
+
holderId: string;
|
|
4
|
+
imageFetchEndpoint: string;
|
|
5
|
+
imageUploadEndpoint: string;
|
|
6
|
+
onChangeFn: () => void;
|
|
7
|
+
data: OutputData | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare const editorConfig: (payload: EditorJsPayload) => EditorConfig;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
3
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
4
|
+
import { NgControl } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormInputRichTextEditorComponent extends BaseCustomInput<string | null> {
|
|
7
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
8
|
+
inputConfig: FormColumnInputs;
|
|
9
|
+
get empty(): boolean;
|
|
10
|
+
get shouldLabelFloat(): boolean;
|
|
11
|
+
editorChanged(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputRichTextEditorComponent, [{ optional: true; self: true; }, null]>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputRichTextEditorComponent, "app-form-input-rich-text-editor", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SyncEditorComponent {
|
|
4
|
+
readonly: boolean;
|
|
5
|
+
initialData: any;
|
|
6
|
+
editorData: EventEmitter<any>;
|
|
7
|
+
editorValueChanged(e: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SyncEditorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SyncEditorComponent, "app-sync-editor", never, { "readonly": { "alias": "readonly"; "required": false; }; "initialData": { "alias": "initialData"; "required": false; }; }, { "editorData": "editorData"; }, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EditorInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
changed($event: any): void;
|
|
10
|
+
constructor();
|
|
11
|
+
get errorMessage(): string | undefined;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditorInputElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditorInputElementComponent, "lib-editor-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
|
+
import { FileUploadInputValueInterface } from "ngx-t-forms-types";
|
|
5
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FileUploaderComponent extends BaseCustomInput<FileUploadInputValueInterface | object | null> {
|
|
8
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
|
+
uploader: ElementRef<HTMLInputElement>;
|
|
10
|
+
inputConfig: FormColumnInputs | undefined;
|
|
11
|
+
get value(): FileUploadInputValueInterface | object | null;
|
|
12
|
+
set value(file: FileUploadInputValueInterface | object | null);
|
|
13
|
+
get empty(): boolean;
|
|
14
|
+
get shouldLabelFloat(): boolean;
|
|
15
|
+
onContainerClick(event: MouseEvent): void;
|
|
16
|
+
triggerUploader(): void;
|
|
17
|
+
fileName: string;
|
|
18
|
+
loading: Number;
|
|
19
|
+
onFileSelected(event: Event): void;
|
|
20
|
+
assignFile(file: File): void;
|
|
21
|
+
returnPreview(): string | ArrayBuffer | null;
|
|
22
|
+
uploadType(): any;
|
|
23
|
+
dragOver: boolean;
|
|
24
|
+
onDragOver(event: DragEvent): void;
|
|
25
|
+
onDrop(event: DragEvent): void;
|
|
26
|
+
onDragLeave(event: DragEvent): void;
|
|
27
|
+
clearFile(event: MouseEvent): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploaderComponent, [{ optional: true; self: true; }, null]>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploaderComponent, "app-file-uploader", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FileUploadInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
changed($event: any): void;
|
|
10
|
+
getErrors(): ValidationErrors | null | undefined;
|
|
11
|
+
get errorMessage(): string | undefined;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadInputElementComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadInputElementComponent, "lib-file-upload-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { FileUploadInputValueInterface } from "ngx-t-forms-types";
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class CameraCaptureComponent extends BaseCustomInput<FileUploadInputValueInterface | object | null> {
|
|
8
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
|
+
video: ElementRef;
|
|
10
|
+
canvas: ElementRef;
|
|
11
|
+
inputConfig: FormColumnInputs;
|
|
12
|
+
get empty(): boolean;
|
|
13
|
+
get shouldLabelFloat(): boolean;
|
|
14
|
+
WIDTH: number;
|
|
15
|
+
HEIGHT: number;
|
|
16
|
+
captures: string[];
|
|
17
|
+
isCaptured: boolean;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
recapture(): void;
|
|
20
|
+
setup: (stream: MediaStream) => any;
|
|
21
|
+
touch(event: any): void;
|
|
22
|
+
videoMode: boolean;
|
|
23
|
+
capture(): void;
|
|
24
|
+
stopVideo(): void;
|
|
25
|
+
drawImageToCanvas(image: any): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CameraCaptureComponent, [{ optional: true; self: true; }, null]>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CameraCaptureComponent, "app-camera-capture", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ImageCaptureInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
changed($event: any): void;
|
|
10
|
+
get errorMessage(): string | undefined;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCaptureInputElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCaptureInputElementComponent, "lib-image-capture-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { IMSCOAAccount } from "ngx-t-forms-types";
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AccountValueComponent {
|
|
7
|
+
mscoaAccount: IMSCOAAccount | undefined;
|
|
8
|
+
accountInputs: FormColumnInputs[];
|
|
9
|
+
userCanClearAccount: boolean;
|
|
10
|
+
clearSelectedAccount: EventEmitter<void>;
|
|
11
|
+
updateAccount: EventEmitter<IMSCOAAccount>;
|
|
12
|
+
get accountDetails(): ({
|
|
13
|
+
label: string;
|
|
14
|
+
value: string | {
|
|
15
|
+
$oid: string;
|
|
16
|
+
} | {
|
|
17
|
+
$date: string;
|
|
18
|
+
};
|
|
19
|
+
input: boolean;
|
|
20
|
+
} | {
|
|
21
|
+
label: string;
|
|
22
|
+
value: string | {
|
|
23
|
+
$oid: string;
|
|
24
|
+
} | {
|
|
25
|
+
$date: string;
|
|
26
|
+
} | {
|
|
27
|
+
$date: string;
|
|
28
|
+
} | null | undefined;
|
|
29
|
+
formControlName: string;
|
|
30
|
+
input: boolean;
|
|
31
|
+
})[];
|
|
32
|
+
clearAccount(): void;
|
|
33
|
+
readonly dialog: MatDialog;
|
|
34
|
+
openValueEdit(inpu: any): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccountValueComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccountValueComponent, "app-account-value", never, { "mscoaAccount": { "alias": "mscoaAccount"; "required": false; }; "accountInputs": { "alias": "accountInputs"; "required": false; }; "userCanClearAccount": { "alias": "userCanClearAccount"; "required": false; }; }, { "clearSelectedAccount": "clearSelectedAccount"; "updateAccount": "updateAccount"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { IMSCOAAccount, IMscoaInputConfig, ITableScoaSelectionRow, MscoaSegmentValue } from "ngx-t-forms-types";
|
|
5
|
+
import { MscoaComponentStore } from '../../store/mscoa-component-store.service';
|
|
6
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
7
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MscoaChartComponent implements OnInit, OnDestroy {
|
|
10
|
+
private store;
|
|
11
|
+
selectAccountTreeKeys$: Observable<{
|
|
12
|
+
segment: string | undefined;
|
|
13
|
+
singleSelect: boolean;
|
|
14
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
15
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
16
|
+
segmentValue: {
|
|
17
|
+
debit: IMSCOAAccount | undefined;
|
|
18
|
+
credit: IMSCOAAccount | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
}[]>;
|
|
21
|
+
selectMscoaLoadingTree$: Observable<boolean>;
|
|
22
|
+
table$: Observable<{
|
|
23
|
+
segment: string | undefined;
|
|
24
|
+
singleSelect: boolean;
|
|
25
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
26
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
27
|
+
segmentValue: {
|
|
28
|
+
debit: IMSCOAAccount | undefined;
|
|
29
|
+
credit: IMSCOAAccount | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
accountInputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
32
|
+
input: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput | undefined;
|
|
33
|
+
debit: string | IMSCOAAccount | undefined;
|
|
34
|
+
credit: string | IMSCOAAccount | undefined;
|
|
35
|
+
}[]>;
|
|
36
|
+
segmentValues$: Observable<MscoaSegmentValue>;
|
|
37
|
+
initiated$: Observable<boolean>;
|
|
38
|
+
private destroy$;
|
|
39
|
+
_formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
40
|
+
constructor(store: MscoaComponentStore);
|
|
41
|
+
set formBuilderFunctions(func: FormBuilderFunctions | undefined);
|
|
42
|
+
get formBuilderFunctions(): FormBuilderFunctions | undefined;
|
|
43
|
+
set segmentValues(segmentValues: MscoaSegmentValue | null);
|
|
44
|
+
readonly: boolean;
|
|
45
|
+
set config(config: IMscoaInputConfig | undefined | null);
|
|
46
|
+
segmentValuesChanged: EventEmitter<MscoaSegmentValue>;
|
|
47
|
+
interaction: EventEmitter<string>;
|
|
48
|
+
readonly dialog: MatDialog;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
segmentChange(activeSegment: string): void;
|
|
51
|
+
loadMscoa(functions: FormBuilderFunctions | undefined): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
accountNumberSelected(account: IMSCOAAccount | undefined, segment: string, accountType?: "debit" | "credit"): void;
|
|
54
|
+
get hasMultiSelect$(): Observable<boolean>;
|
|
55
|
+
get cols$(): Observable<string[]>;
|
|
56
|
+
editSelection: ITableScoaSelectionRow | any;
|
|
57
|
+
activeColumn: string | undefined;
|
|
58
|
+
selectAccount(row: ITableScoaSelectionRow | undefined, col: string | undefined): void;
|
|
59
|
+
openScoaSelection(): void;
|
|
60
|
+
openInput(input: FormColumnInputs): void;
|
|
61
|
+
onClick(): void;
|
|
62
|
+
viewData$: Observable<{
|
|
63
|
+
loading: boolean;
|
|
64
|
+
accountTreeKeys: {
|
|
65
|
+
segment: string | undefined;
|
|
66
|
+
singleSelect: boolean;
|
|
67
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
68
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
69
|
+
segmentValue: {
|
|
70
|
+
debit: IMSCOAAccount | undefined;
|
|
71
|
+
credit: IMSCOAAccount | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
}[];
|
|
74
|
+
tableData: {
|
|
75
|
+
segment: string | undefined;
|
|
76
|
+
singleSelect: boolean;
|
|
77
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
78
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
79
|
+
segmentValue: {
|
|
80
|
+
debit: IMSCOAAccount | undefined;
|
|
81
|
+
credit: IMSCOAAccount | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
accountInputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
84
|
+
input: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput | undefined;
|
|
85
|
+
debit: string | IMSCOAAccount | undefined;
|
|
86
|
+
credit: string | IMSCOAAccount | undefined;
|
|
87
|
+
}[];
|
|
88
|
+
cols: string[];
|
|
89
|
+
hasMultiSelect: boolean;
|
|
90
|
+
}>;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaChartComponent, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaChartComponent, "app-mscoa-chart", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "segmentValues": { "alias": "segmentValues"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "segmentValuesChanged": "segmentValuesChanged"; "interaction": "interaction"; }, never, never, true, never>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
4
|
+
import { MatTreeFlatDataSource } from '@angular/material/tree';
|
|
5
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
6
|
+
import { IIncludedSegmentConfig, IMSCOAAccount, MscoaAccountTree } from "ngx-t-forms-types";
|
|
7
|
+
import { ObjectTreeFlatNode, ObjectTreeNode } from '../../../../../t-dynamic-data-edit/elements/api-value-access-rules/functions/convertDataToTree';
|
|
8
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export interface IMscoaComputationComponentData {
|
|
11
|
+
data: MscoaAccountTree;
|
|
12
|
+
segment: string;
|
|
13
|
+
value: IMSCOAAccount | undefined;
|
|
14
|
+
accountInputs: FormColumnInputs[];
|
|
15
|
+
activeColumn: string | undefined;
|
|
16
|
+
segmentConfig: IIncludedSegmentConfig | undefined;
|
|
17
|
+
readonly: boolean;
|
|
18
|
+
getSCOAAccount: (account: string) => Observable<{
|
|
19
|
+
accounts: IMSCOAAccount[];
|
|
20
|
+
}>;
|
|
21
|
+
}
|
|
22
|
+
export declare class MscoaComputationComponent implements OnInit, OnDestroy {
|
|
23
|
+
dialogRef: MatDialogRef<MscoaComputationComponent>;
|
|
24
|
+
dataInjected: IMscoaComputationComponentData;
|
|
25
|
+
data: MscoaAccountTree | undefined;
|
|
26
|
+
segment: string | undefined;
|
|
27
|
+
value: IMSCOAAccount | undefined;
|
|
28
|
+
accountInputs: FormColumnInputs[];
|
|
29
|
+
activeColumn: string | undefined;
|
|
30
|
+
readonly: boolean;
|
|
31
|
+
segmentConfig: IIncludedSegmentConfig | undefined;
|
|
32
|
+
private destroy$;
|
|
33
|
+
treeControl: FlatTreeControl<ObjectTreeFlatNode>;
|
|
34
|
+
private treeFlattener;
|
|
35
|
+
dataSource: MatTreeFlatDataSource<ObjectTreeNode, ObjectTreeFlatNode>;
|
|
36
|
+
constructor(dialogRef: MatDialogRef<MscoaComputationComponent>);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
ngOnDestroy(): void;
|
|
39
|
+
hasChild: (_: number, node: ObjectTreeFlatNode) => boolean;
|
|
40
|
+
private transformer;
|
|
41
|
+
isActivePathOrParent(path: string[]): boolean;
|
|
42
|
+
toggleNode(node: ObjectTreeFlatNode): void;
|
|
43
|
+
private collapseSiblings;
|
|
44
|
+
private getParentNode;
|
|
45
|
+
_selected: ObjectTreeFlatNode | undefined;
|
|
46
|
+
selectNode(node: ObjectTreeFlatNode): void;
|
|
47
|
+
searchAccount: any[];
|
|
48
|
+
searchingAccounts: boolean;
|
|
49
|
+
account: string | undefined;
|
|
50
|
+
getSelectedAccounts(): void;
|
|
51
|
+
cancel(): void;
|
|
52
|
+
saveAccount(): void;
|
|
53
|
+
closeAndPassData(account: IMSCOAAccount | undefined): void;
|
|
54
|
+
_selectedAccount: IMSCOAAccount | null;
|
|
55
|
+
selectAccount(account: IMSCOAAccount | null): void;
|
|
56
|
+
clearSelectedAccount(): void;
|
|
57
|
+
get saveSelection(): boolean;
|
|
58
|
+
updateAccount(account: IMSCOAAccount): void;
|
|
59
|
+
get userCanClearAccount(): boolean;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaComputationComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaComputationComponent, "app-mscoa-computation", never, {}, {}, never, never, true, never>;
|
|
62
|
+
}
|