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,21 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
|
+
import { IMscoaInputConfig, MscoaSegmentValue } from "ngx-t-forms-types";
|
|
7
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class MscoaReactiveFormFieldComponent extends BaseCustomInput<MscoaSegmentValue> {
|
|
10
|
+
get empty(): boolean;
|
|
11
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
12
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
13
|
+
_inputConfig: FormColumnInputs;
|
|
14
|
+
mscoaInputConfig$: BehaviorSubject<IMscoaInputConfig | undefined>;
|
|
15
|
+
set inputConfig(inputConfig: FormColumnInputs);
|
|
16
|
+
get shouldLabelFloat(): boolean;
|
|
17
|
+
segmentValuesChanged(event: MscoaSegmentValue): void;
|
|
18
|
+
get readonly(): boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaReactiveFormFieldComponent, [{ optional: true; self: true; }, null]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaReactiveFormFieldComponent, "lib-mscoa-reactive-form-field", never, { "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
+
import { MatSort } from '@angular/material/sort';
|
|
4
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
5
|
+
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
6
|
+
import { IMSCOAAccount } from "ngx-t-forms-types";
|
|
7
|
+
import { FormControl } from '@angular/forms';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export interface ColumnConfig<T> {
|
|
10
|
+
key: keyof T | string;
|
|
11
|
+
header: string;
|
|
12
|
+
sortable?: boolean;
|
|
13
|
+
cell?: (element: T) => string;
|
|
14
|
+
}
|
|
15
|
+
export declare class ScoaAccountTableComponent implements OnChanges, OnInit {
|
|
16
|
+
data: {
|
|
17
|
+
accounts: IMSCOAAccount[];
|
|
18
|
+
account: string;
|
|
19
|
+
} | undefined;
|
|
20
|
+
accountSelected: EventEmitter<IMSCOAAccount | null>;
|
|
21
|
+
dataSource: MatTableDataSource<IMSCOAAccount>;
|
|
22
|
+
searchControl: FormControl<string | null>;
|
|
23
|
+
selectedAccount: IMSCOAAccount | null;
|
|
24
|
+
segment: string | undefined;
|
|
25
|
+
minViewCol: string[];
|
|
26
|
+
scoaAccountColumns: any[];
|
|
27
|
+
colDisplayChanged(event: MatCheckboxChange, col: string): void;
|
|
28
|
+
showFullAccountDetails: boolean;
|
|
29
|
+
get displayColumns(): any[];
|
|
30
|
+
colIsChecked(col: string): boolean;
|
|
31
|
+
sort: MatSort;
|
|
32
|
+
paginator: MatPaginator;
|
|
33
|
+
constructor();
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
+
mapAccounts(accounts: IMSCOAAccount[]): {
|
|
37
|
+
AccountNumberShortened: string;
|
|
38
|
+
_id: {
|
|
39
|
+
$oid: string;
|
|
40
|
+
};
|
|
41
|
+
SCOAid: string;
|
|
42
|
+
AccountNumber: string;
|
|
43
|
+
AccountNumber1: string;
|
|
44
|
+
AccountNumber2: string;
|
|
45
|
+
AccountNumber3: string;
|
|
46
|
+
AccountNumber4: string;
|
|
47
|
+
AccountNumber5: string;
|
|
48
|
+
AccountNumber6: string;
|
|
49
|
+
AccountNumber7: string;
|
|
50
|
+
AccountNumber8: string;
|
|
51
|
+
AccountNumber9: string;
|
|
52
|
+
AccountNumber10: string;
|
|
53
|
+
AccountNumber11: string;
|
|
54
|
+
AccountNumber12: string;
|
|
55
|
+
AccountNumberPrefix: string;
|
|
56
|
+
ApplicableTo: string;
|
|
57
|
+
BreakDownAllowed: string;
|
|
58
|
+
DefinitionDescription: string;
|
|
59
|
+
ParentSCOAId: string | null;
|
|
60
|
+
PostingLevel: string;
|
|
61
|
+
Principle: string;
|
|
62
|
+
SCOAAccount: string;
|
|
63
|
+
SCOAFile: string;
|
|
64
|
+
SCOALevel: string;
|
|
65
|
+
ShortDescription: string;
|
|
66
|
+
VATStatus: string;
|
|
67
|
+
createdAt: {
|
|
68
|
+
$date: string;
|
|
69
|
+
};
|
|
70
|
+
updatedAt: {
|
|
71
|
+
$date: string;
|
|
72
|
+
};
|
|
73
|
+
}[];
|
|
74
|
+
removeTrailingZeros(str: string): string;
|
|
75
|
+
applyFilter(filterValue: string): void;
|
|
76
|
+
selectAccount(account: IMSCOAAccount): void;
|
|
77
|
+
clearSearch(): void;
|
|
78
|
+
rowIsActivated(row: IMSCOAAccount): boolean;
|
|
79
|
+
showMinMal: boolean;
|
|
80
|
+
toogleDetails(): void;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScoaAccountTableComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScoaAccountTableComponent, "app-scoa-account-table", never, { "data": { "alias": "data"; "required": false; }; "selectedAccount": { "alias": "selectedAccount"; "required": false; }; "segment": { "alias": "segment"; "required": false; }; }, { "accountSelected": "accountSelected"; }, never, never, true, never>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { FormColumnInputs, FormInterface } from "ngx-t-forms-types";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ScoaInputComponent implements OnInit {
|
|
8
|
+
dialogRef: MatDialogRef<ScoaInputComponent>;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
saveFormData: (data: any) => Observable<any>;
|
|
11
|
+
createForm(): FormInterface;
|
|
12
|
+
activeFormClass: undefined;
|
|
13
|
+
dataInjected: any;
|
|
14
|
+
inputConfig: FormColumnInputs;
|
|
15
|
+
value: any;
|
|
16
|
+
heading: any;
|
|
17
|
+
subHeading: any;
|
|
18
|
+
get hasError(): boolean;
|
|
19
|
+
formGroup: FormGroup;
|
|
20
|
+
NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
|
|
21
|
+
constructor(dialogRef: MatDialogRef<ScoaInputComponent>);
|
|
22
|
+
getContentInput(): any;
|
|
23
|
+
trackByFn(index: number, item: any): any;
|
|
24
|
+
save(data: any): Observable<void>;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScoaInputComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScoaInputComponent, "app-scoa-input", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
3
|
+
import { FormGroup } from '@angular/forms';
|
|
4
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
|
+
import { MscoaSegmentValue } from "ngx-t-forms-types";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MscoaFormInputComponent {
|
|
8
|
+
inputConfig: FormColumnInputs;
|
|
9
|
+
formGroup: FormGroup;
|
|
10
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
11
|
+
valueChange: EventEmitter<any>;
|
|
12
|
+
segmentValuesChanged(event: MscoaSegmentValue): void;
|
|
13
|
+
get errorMessage(): string | undefined;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaFormInputComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MscoaFormInputComponent, "lib-mscoa-form-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IMSCOAAccount, IMscoaInputConfig, MscoaSegmentValue } from "ngx-t-forms-types";
|
|
2
|
+
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
3
|
+
export declare function mscoaStoreActions(store: MscoaComponentStore): {
|
|
4
|
+
resetStore: () => void;
|
|
5
|
+
setConfig: (() => void) | ((observableOrValue: IMscoaInputConfig | import("rxjs").Observable<IMscoaInputConfig | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
6
|
+
setInitiated: () => void;
|
|
7
|
+
setSegmentValues: (() => void) | ((observableOrValue: MscoaSegmentValue | import("rxjs").Observable<MscoaSegmentValue | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
8
|
+
setLoadingTree: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
|
|
9
|
+
setActiveSegment: (observableOrValue: string | import("rxjs").Observable<string | null> | null) => import("rxjs").Subscription;
|
|
10
|
+
setSegmentAccount: (observableOrValue: {
|
|
11
|
+
segment: string;
|
|
12
|
+
account: IMSCOAAccount | undefined;
|
|
13
|
+
accountType: "debit" | "credit";
|
|
14
|
+
} | import("rxjs").Observable<{
|
|
15
|
+
segment: string;
|
|
16
|
+
account: IMSCOAAccount | undefined;
|
|
17
|
+
accountType: "debit" | "credit";
|
|
18
|
+
}>) => import("rxjs").Subscription;
|
|
19
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ComponentStore } from '@ngrx/component-store';
|
|
2
|
+
import { MscoaInterface } from "ngx-t-forms-types";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const initialMscoaState: MscoaInterface;
|
|
5
|
+
export declare class MscoaComponentStore extends ComponentStore<MscoaInterface> {
|
|
6
|
+
constructor();
|
|
7
|
+
private setupDevTools;
|
|
8
|
+
readonly selectors: {
|
|
9
|
+
initiated$: import("rxjs").Observable<boolean>;
|
|
10
|
+
loadingTree$: import("rxjs").Observable<boolean>;
|
|
11
|
+
segmentValues$: import("rxjs").Observable<import("ngx-t-forms-types").MscoaSegmentValue>;
|
|
12
|
+
accountTreeKeys$: import("rxjs").Observable<{
|
|
13
|
+
segment: string | undefined;
|
|
14
|
+
singleSelect: boolean;
|
|
15
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
16
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
17
|
+
segmentValue: {
|
|
18
|
+
debit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
19
|
+
credit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
}[]>;
|
|
22
|
+
table$: import("rxjs").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: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
29
|
+
credit: import("ngx-t-forms-types").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 | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
34
|
+
credit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
35
|
+
}[]>;
|
|
36
|
+
state$: import("rxjs").Observable<MscoaInterface>;
|
|
37
|
+
};
|
|
38
|
+
readonly actions: {
|
|
39
|
+
resetStore: () => void;
|
|
40
|
+
setConfig: (() => void) | ((observableOrValue: import("ngx-t-forms-types").IMscoaInputConfig | import("rxjs").Observable<import("ngx-t-forms-types").IMscoaInputConfig | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
41
|
+
setInitiated: () => void;
|
|
42
|
+
setSegmentValues: (() => void) | ((observableOrValue: import("ngx-t-forms-types").MscoaSegmentValue | import("rxjs").Observable<import("ngx-t-forms-types").MscoaSegmentValue | null | undefined> | null | undefined) => import("rxjs").Subscription);
|
|
43
|
+
setLoadingTree: (observableOrValue: boolean | import("rxjs").Observable<boolean>) => import("rxjs").Subscription;
|
|
44
|
+
setActiveSegment: (observableOrValue: string | import("rxjs").Observable<string | null> | null) => import("rxjs").Subscription;
|
|
45
|
+
setSegmentAccount: (observableOrValue: {
|
|
46
|
+
segment: string;
|
|
47
|
+
account: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
48
|
+
accountType: "debit" | "credit";
|
|
49
|
+
} | import("rxjs").Observable<{
|
|
50
|
+
segment: string;
|
|
51
|
+
account: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
52
|
+
accountType: "debit" | "credit";
|
|
53
|
+
}>) => import("rxjs").Subscription;
|
|
54
|
+
};
|
|
55
|
+
readonly effects: {
|
|
56
|
+
initLoadMscoa$: (observableOrValue: import("ngx-t-forms-types").FormBuilderFunctions | import("rxjs").Observable<import("ngx-t-forms-types").FormBuilderFunctions | undefined> | undefined) => import("rxjs").Subscription;
|
|
57
|
+
initSetSegmentValues$: (observableOrValue: import("ngx-t-forms-types").MscoaSegmentValue | import("rxjs").Observable<import("ngx-t-forms-types").MscoaSegmentValue>) => import("rxjs").Subscription;
|
|
58
|
+
};
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MscoaComponentStore, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MscoaComponentStore>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { MscoaSegmentValue } from "ngx-t-forms-types";
|
|
3
|
+
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
4
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
|
+
export declare function mscoaStoreEffects(store: MscoaComponentStore): {
|
|
6
|
+
initLoadMscoa$: (observableOrValue: FormBuilderFunctions | Observable<FormBuilderFunctions | undefined> | undefined) => import("rxjs").Subscription;
|
|
7
|
+
initSetSegmentValues$: (observableOrValue: MscoaSegmentValue | Observable<MscoaSegmentValue>) => import("rxjs").Subscription;
|
|
8
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { MscoaComponentStore } from "./mscoa-component-store.service";
|
|
2
|
+
import { MscoaSegmentValue } from "ngx-t-forms-types";
|
|
3
|
+
export declare function mscoaStoreSelectors(store: MscoaComponentStore): {
|
|
4
|
+
initiated$: import("rxjs").Observable<boolean>;
|
|
5
|
+
loadingTree$: import("rxjs").Observable<boolean>;
|
|
6
|
+
segmentValues$: import("rxjs").Observable<MscoaSegmentValue>;
|
|
7
|
+
accountTreeKeys$: import("rxjs").Observable<{
|
|
8
|
+
segment: string | undefined;
|
|
9
|
+
singleSelect: boolean;
|
|
10
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
11
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
12
|
+
segmentValue: {
|
|
13
|
+
debit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
14
|
+
credit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
15
|
+
} | undefined;
|
|
16
|
+
}[]>;
|
|
17
|
+
table$: import("rxjs").Observable<{
|
|
18
|
+
segment: string | undefined;
|
|
19
|
+
singleSelect: boolean;
|
|
20
|
+
segmentTree: import("ngx-t-forms-types").MscoaAccountTree;
|
|
21
|
+
inputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
22
|
+
segmentValue: {
|
|
23
|
+
debit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
24
|
+
credit: import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
accountInputs: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput[];
|
|
27
|
+
input: import("ngx-t-forms-types/dist/interfaces/formInput/IMscoaAccount").MscoaInnerInput | undefined;
|
|
28
|
+
debit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
29
|
+
credit: string | import("ngx-t-forms-types").IMSCOAAccount | undefined;
|
|
30
|
+
}[]>;
|
|
31
|
+
state$: import("rxjs").Observable<import("ngx-t-forms-types").MscoaInterface>;
|
|
32
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { FormGroup, NgControl } from '@angular/forms';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
5
|
+
import { IMultipleInputCal } from 'ngx-t-forms-types';
|
|
6
|
+
import { FormBuilderFunctions } from 'ngx-t-forms-types';
|
|
7
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
8
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class MultipleInputTableComponent extends BaseCustomInput<any[] | null> {
|
|
11
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
12
|
+
editorMode: boolean;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
inputConfig: FormColumnInputs | undefined;
|
|
15
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
16
|
+
get empty(): boolean;
|
|
17
|
+
get shouldLabelFloat(): boolean;
|
|
18
|
+
applyOptionsTo: any;
|
|
19
|
+
dataSource: MatTableDataSource<any>;
|
|
20
|
+
checkItemList(tableValue: any[]): void;
|
|
21
|
+
multipleInputRemoveItem(item: any): void;
|
|
22
|
+
configCol(): void;
|
|
23
|
+
generateMultipleInputForm(): void;
|
|
24
|
+
editItem(rowId: string): void;
|
|
25
|
+
copy(rowId: string): void;
|
|
26
|
+
get handleLabel(): any;
|
|
27
|
+
handleIcon(): any;
|
|
28
|
+
saveMultipleInputForm(): void;
|
|
29
|
+
editInput(input: FormColumnInputs): void;
|
|
30
|
+
deleteItemInput(input: FormColumnInputs): void;
|
|
31
|
+
showItemAsLabel(input: FormColumnInputs): void;
|
|
32
|
+
addFunction(func: IMultipleInputCal): void;
|
|
33
|
+
reorderItems(event: CdkDragDrop<FormColumnInputs[], any, any>): void;
|
|
34
|
+
get parentFormGroup(): FormGroup | null;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableComponent, [{ optional: true; self: true; }, null]>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableComponent, "app-multiple-input-table", never, { "editorMode": { "alias": "editorMode"; "required": false; }; "inputConfig": { "alias": "inputConfig"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
3
|
+
import { TFormInputComponent } from '../../../../t-form-input.component';
|
|
4
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
5
|
+
import { Subject } from 'rxjs';
|
|
6
|
+
import { CalculationFunctions } from 'ngx-t-forms-types';
|
|
7
|
+
import { IMultipleInputCal } from 'ngx-t-forms-types';
|
|
8
|
+
import { FormBuilderFunctions } from 'ngx-t-forms-types';
|
|
9
|
+
import { FormGroup } from '@angular/forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export declare class MultipleInputTableEditComponent implements OnDestroy {
|
|
12
|
+
inputConfig: FormColumnInputs | undefined;
|
|
13
|
+
editorMode: boolean;
|
|
14
|
+
formGroup: FormGroup | null;
|
|
15
|
+
InputComponent: typeof TFormInputComponent;
|
|
16
|
+
onSaveMultipleInputForm: EventEmitter<any>;
|
|
17
|
+
editMultipleInput: EventEmitter<FormColumnInputs>;
|
|
18
|
+
deleteInput: EventEmitter<FormColumnInputs>;
|
|
19
|
+
showItemAsLabel: EventEmitter<FormColumnInputs>;
|
|
20
|
+
addFunction: EventEmitter<IMultipleInputCal>;
|
|
21
|
+
formBuilderFunctions: FormBuilderFunctions | undefined;
|
|
22
|
+
reorderItems: EventEmitter<CdkDragDrop<FormColumnInputs[], any, any>>;
|
|
23
|
+
calculationFunctions: CalculationFunctions[];
|
|
24
|
+
constructor();
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
activeInput: string;
|
|
27
|
+
saveMultipleInputForm(): void;
|
|
28
|
+
dragging: boolean;
|
|
29
|
+
inputWillBeRemovedIn(id: string): number | null | undefined;
|
|
30
|
+
countdownSeconds: {
|
|
31
|
+
[key: string]: {
|
|
32
|
+
count: number | null;
|
|
33
|
+
stop$: Subject<void>;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
removeInput(item: FormColumnInputs): void;
|
|
37
|
+
stopDeletion(id: string): void;
|
|
38
|
+
formDeleteInput(item: FormColumnInputs): void;
|
|
39
|
+
dropItems(event: CdkDragDrop<FormColumnInputs[], any, any>): void;
|
|
40
|
+
overId: string | null;
|
|
41
|
+
editInput(input: FormColumnInputs): void;
|
|
42
|
+
toggleLabel(item: FormColumnInputs): void;
|
|
43
|
+
toggleFunction(func: CalculationFunctions, inputId: string): void;
|
|
44
|
+
selectedFunction(func: CalculationFunctions): IMultipleInputCal | undefined;
|
|
45
|
+
areYouSure: boolean;
|
|
46
|
+
get formInvalid(): boolean;
|
|
47
|
+
closeMultipleInput(): void;
|
|
48
|
+
get innerInputs(): FormColumnInputs[];
|
|
49
|
+
get rowInUpdate(): boolean;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableEditComponent, never>;
|
|
51
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableEditComponent, "lib-multiple-input-table-edit", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "editorMode": { "alias": "editorMode"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "formBuilderFunctions": { "alias": "formBuilderFunctions"; "required": false; }; }, { "onSaveMultipleInputForm": "onSaveMultipleInputForm"; "editMultipleInput": "editMultipleInput"; "deleteInput": "deleteInput"; "showItemAsLabel": "showItemAsLabel"; "addFunction": "addFunction"; "reorderItems": "reorderItems"; }, never, never, true, never>;
|
|
52
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import { FormGroup } from '@angular/forms';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MultipleInputTableViewComponent {
|
|
7
|
+
inputConfig: FormColumnInputs | undefined;
|
|
8
|
+
dataSource: MatTableDataSource<any>;
|
|
9
|
+
applyOptionsTo: any;
|
|
10
|
+
formGroup: FormGroup | null;
|
|
11
|
+
onEditItem: EventEmitter<string>;
|
|
12
|
+
onDeleteItem: EventEmitter<any>;
|
|
13
|
+
onCopy: EventEmitter<string>;
|
|
14
|
+
onApplyOptionsTo: EventEmitter<any>;
|
|
15
|
+
applyOptionsToFn(item: any): void;
|
|
16
|
+
editItem(row: any): void;
|
|
17
|
+
copy(row: any): void;
|
|
18
|
+
areYouSureYouWantToDeleteRow: Record<string, boolean>;
|
|
19
|
+
isAboutToDeleteRow(row: any): boolean | undefined;
|
|
20
|
+
countDownDate: Date;
|
|
21
|
+
deletionTimers: {
|
|
22
|
+
[key: string]: any;
|
|
23
|
+
};
|
|
24
|
+
getCountdownSeconds(): number;
|
|
25
|
+
secondsCountDown(): string;
|
|
26
|
+
multipleInputRemoveItem(event: Event, row: any): void;
|
|
27
|
+
returnBackground(row: any, columnsConfig?: any): string | undefined;
|
|
28
|
+
isNumber(v: any): v is number;
|
|
29
|
+
hasTopBorder(row: any): boolean;
|
|
30
|
+
getCalculationFunction(row: any): "TOTAL" | "AVERAGE" | "MAX" | "MIN";
|
|
31
|
+
get configureCols(): {
|
|
32
|
+
displayedColumnsInOrder: string[];
|
|
33
|
+
columnsConfig: any;
|
|
34
|
+
};
|
|
35
|
+
SYSTEM_KEY_IN_EDIT: string | null;
|
|
36
|
+
rowIsInEdit(row: any): boolean;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultipleInputTableViewComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputTableViewComponent, "lib-multiple-input-table-view", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "applyOptionsTo": { "alias": "applyOptionsTo"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "onEditItem": "onEditItem"; "onDeleteItem": "onDeleteItem"; "onCopy": "onCopy"; "onApplyOptionsTo": "onApplyOptionsTo"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import { FormBuilderFunctions } from "ngx-t-forms-types";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MultipleInputInputElementComponent {
|
|
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<MultipleInputInputElementComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MultipleInputInputElementComponent, "lib-multiple-input-input-element", 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,7 @@
|
|
|
1
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SectionTitleComponent {
|
|
4
|
+
inputConfig: FormColumnInputs;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SectionTitleComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionTitleComponent, "lib-section-title", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup, FormGroupDirective, NgForm } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SelectInputElementComponent {
|
|
6
|
+
inputConfig: FormColumnInputs;
|
|
7
|
+
formGroup: FormGroup;
|
|
8
|
+
valueChange: EventEmitter<any>;
|
|
9
|
+
changed($event: any): void;
|
|
10
|
+
getSelectOptions(): any;
|
|
11
|
+
optionsSearchWordKeyWord: string;
|
|
12
|
+
returnOptions(options: any): any;
|
|
13
|
+
getAvatar(userName: any): string;
|
|
14
|
+
trackOptions(index: number, item: any): string;
|
|
15
|
+
selectInputSearchWord(event: any): void;
|
|
16
|
+
get errorMessage(): string | undefined;
|
|
17
|
+
onSelectionChange(event: any): void;
|
|
18
|
+
errorStateMatcher: {
|
|
19
|
+
isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
|
20
|
+
};
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectInputElementComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectInputElementComponent, "lib-select-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { MatPaginator } from '@angular/material/paginator';
|
|
4
|
+
import { MatSort } from '@angular/material/sort';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
7
|
+
import { FormColumnInputs } from "ngx-t-forms-types";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class InputTableComponent extends BaseCustomInput<any[]> {
|
|
10
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
11
|
+
get empty(): boolean;
|
|
12
|
+
get shouldLabelFloat(): boolean;
|
|
13
|
+
dataSource: MatTableDataSource<any> | any;
|
|
14
|
+
inputConfig: FormColumnInputs;
|
|
15
|
+
paginatorDOMInstance: MatPaginator | undefined;
|
|
16
|
+
set paginator(value: MatPaginator);
|
|
17
|
+
sort: MatSort | undefined;
|
|
18
|
+
set value(value: any | null);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getColor(columnConfig: any, value: any, property: any): string;
|
|
21
|
+
percentageToColor(percentage: number, maxHue?: number, minHue?: number): string;
|
|
22
|
+
checklistIsDisabled(columnConfig: any, col: any): boolean;
|
|
23
|
+
checkedCell(event: any, row: any, col: any): void;
|
|
24
|
+
getDeepProperty(path: any, item: any): any;
|
|
25
|
+
identify(index: any, item: any): any;
|
|
26
|
+
getTableCol(): any;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTableComponent, [{ optional: true; self: true; }, null]>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTableComponent, "app-input-table", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
|
+
}
|
package/lib/components/t-form-input/elements/select-table-input/select-table-input.component.d.ts
ADDED
|
@@ -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 SelectTableInputComponent {
|
|
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<SelectTableInputComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectTableInputComponent, "lib-select-table-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
3
|
+
import { NgControl } from '@angular/forms';
|
|
4
|
+
import SignaturePad, { PointGroup } from 'signature_pad';
|
|
5
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
6
|
+
import { IUserSignature } from "ngx-t-forms-types";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class SignaturePadInputComponent extends BaseCustomInput<PointGroup[] | undefined> implements AfterViewInit {
|
|
9
|
+
private cdr;
|
|
10
|
+
private ngZone;
|
|
11
|
+
readonly NGX_T_FORMS_CONFIG: import("ngx-t-forms-types").NgxTFormsConfig;
|
|
12
|
+
signatureElement: ElementRef;
|
|
13
|
+
signaturePad: SignaturePad | undefined;
|
|
14
|
+
get empty(): boolean;
|
|
15
|
+
get shouldLabelFloat(): boolean;
|
|
16
|
+
private signatureSubject;
|
|
17
|
+
private subscription;
|
|
18
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
19
|
+
_inputConfig: FormColumnInputs;
|
|
20
|
+
set inputConfig(inputConfig: FormColumnInputs);
|
|
21
|
+
get inputConfig(): FormColumnInputs;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
initSignature(): void;
|
|
24
|
+
initLoadValue(): Promise<void>;
|
|
25
|
+
private _loading?;
|
|
26
|
+
get loading(): string | undefined;
|
|
27
|
+
set loading(value: string | undefined);
|
|
28
|
+
private processSignatureData;
|
|
29
|
+
saveSignature: () => Promise<PointGroup[] | null>;
|
|
30
|
+
clearSignature(): void;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
canSaveSignature: boolean;
|
|
33
|
+
canApplySignature: boolean;
|
|
34
|
+
userStoredSignature: IUserSignature | undefined;
|
|
35
|
+
getUserUrl(): string;
|
|
36
|
+
loadUserDigitalSignatureFromAPI(): Promise<void>;
|
|
37
|
+
saveUserSignature(): null;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignaturePadInputComponent, [{ optional: true; self: true; }, null, null, null]>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignaturePadInputComponent, "lib-signature-pad-input", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -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 SignatureInputElementComponent {
|
|
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<SignatureInputElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureInputElementComponent, "lib-signature-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -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 TextareaInputElementComponent {
|
|
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<TextareaInputElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaInputElementComponent, "lib-textarea-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
|
+
}
|
package/lib/components/t-form-input/elements/toggle-input-element/core/toggle/toggle.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import { FormColumnInputs } from 'ngx-t-forms-types';
|
|
4
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
5
|
+
import { BaseCustomInput } from '../../../../../../services/core/t-input-controller/functions/baseCustomInput';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ToggleComponent extends BaseCustomInput<boolean> {
|
|
8
|
+
constructor(ngControl: NgControl, elementRef: ElementRef<HTMLElement>);
|
|
9
|
+
inputConfig: FormColumnInputs;
|
|
10
|
+
get empty(): boolean;
|
|
11
|
+
get shouldLabelFloat(): boolean;
|
|
12
|
+
changed(event: MatSlideToggleChange): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, [{ optional: true; self: true; }, null]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "lib-toggle", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "changed": { "alias": "changed"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -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 ToggleInputElementComponent {
|
|
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<ToggleInputElementComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToggleInputElementComponent, "lib-toggle-input-element", never, { "inputConfig": { "alias": "inputConfig"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
13
|
+
}
|