@messaia/cdk 19.0.2 → 20.0.0-RC.2
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 +63 -0
- package/fesm2022/messaia-cdk.mjs +22068 -22741
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/index.d.ts +13126 -3
- package/lib/common/styles/utilities/_general.scss +2 -2
- package/package.json +7 -7
- package/lib/base/base.module.d.ts +0 -50
- package/lib/base/components/base.component.d.ts +0 -434
- package/lib/base/components/dynamic-table-config-dialog/dynamic-table-config-dialog.comnponent.d.ts +0 -60
- package/lib/base/components/generic-embedded-list.component.d.ts +0 -102
- package/lib/base/components/generic-form-base.component.d.ts +0 -424
- package/lib/base/components/generic-form.component.d.ts +0 -29
- package/lib/base/components/generic-list.component.d.ts +0 -502
- package/lib/base/components/generic-reactive-form.component.d.ts +0 -65
- package/lib/base/components/task-dialog/task-dialog.component.d.ts +0 -63
- package/lib/base/constants/common.d.ts +0 -12
- package/lib/base/constants/global-roles.d.ts +0 -8
- package/lib/base/enums/message-type.d.ts +0 -5
- package/lib/base/helpers/auth-helper.d.ts +0 -26
- package/lib/base/interceptors/base.interceptor.d.ts +0 -42
- package/lib/base/interceptors/caching-interceptor.d.ts +0 -35
- package/lib/base/interceptors/loading.interceptor.d.ts +0 -30
- package/lib/base/interfaces/ibase-component.d.ts +0 -178
- package/lib/base/interfaces/igeneric-form-base.d.ts +0 -94
- package/lib/base/interfaces/igeneric-list-component.d.ts +0 -116
- package/lib/base/interfaces/igeneric-reactive-form-base.d.ts +0 -23
- package/lib/base/models/auth-user.d.ts +0 -17
- package/lib/base/models/task-dialog-data.d.ts +0 -84
- package/lib/base/public_api.d.ts +0 -1
- package/lib/base/services/file.service.d.ts +0 -10
- package/lib/base/services/loading-screen.service.d.ts +0 -30
- package/lib/base/services/print.service.d.ts +0 -23
- package/lib/chips/chips.module.d.ts +0 -24
- package/lib/chips/components/chips.component.d.ts +0 -344
- package/lib/chips/directives/autocomplete-option.directive.d.ts +0 -11
- package/lib/chips/directives/chip.directive.d.ts +0 -11
- package/lib/chips/public_api.d.ts +0 -2
- package/lib/common/animations/collapse/collapse.animation.d.ts +0 -20
- package/lib/common/animations/common/interfaces.d.ts +0 -5
- package/lib/common/behaviors/constructor.d.ts +0 -1
- package/lib/common/behaviors/control-value-accesor.mixin.d.ts +0 -16
- package/lib/common/behaviors/disabled.mixin.d.ts +0 -8
- package/lib/common/common.module.d.ts +0 -80
- package/lib/common/constants/constants.d.ts +0 -2
- package/lib/common/directives/autofocus.directive.d.ts +0 -32
- package/lib/common/directives/delayed-hover.directive.d.ts +0 -73
- package/lib/common/directives/disable-control.directive.d.ts +0 -16
- package/lib/common/enums/app-event-type.d.ts +0 -4
- package/lib/common/enums/filter-glue.d.ts +0 -14
- package/lib/common/enums/filter-operator.d.ts +0 -13
- package/lib/common/enums/salutation.d.ts +0 -7
- package/lib/common/functions/decorators.d.ts +0 -12
- package/lib/common/functions/functions.d.ts +0 -14
- package/lib/common/functions/utils.d.ts +0 -118
- package/lib/common/helpers/app-storage.d.ts +0 -43
- package/lib/common/helpers/delegate.d.ts +0 -3
- package/lib/common/helpers/dynamic-builder.d.ts +0 -19
- package/lib/common/helpers/dynamic-component-compiler.d.ts +0 -5
- package/lib/common/models/action-item.d.ts +0 -74
- package/lib/common/models/app-event.d.ts +0 -18
- package/lib/common/models/app-setting.d.ts +0 -87
- package/lib/common/models/audit-entity.d.ts +0 -36
- package/lib/common/models/audit-user.d.ts +0 -23
- package/lib/common/models/base-entity.d.ts +0 -23
- package/lib/common/models/common-error.d.ts +0 -25
- package/lib/common/models/common-handler-context.d.ts +0 -40
- package/lib/common/models/displayname-number-projection.d.ts +0 -26
- package/lib/common/models/displayname-projection.d.ts +0 -19
- package/lib/common/models/entity.d.ts +0 -11
- package/lib/common/models/enum-item.d.ts +0 -33
- package/lib/common/models/enum-metadata.d.ts +0 -42
- package/lib/common/models/filter-field.d.ts +0 -14
- package/lib/common/models/filter.d.ts +0 -15
- package/lib/common/models/icommon-handler-context.d.ts +0 -21
- package/lib/common/models/icon.d.ts +0 -39
- package/lib/common/models/key-value.d.ts +0 -10
- package/lib/common/models/modifiable-entity.d.ts +0 -21
- package/lib/common/models/name-number-projection.d.ts +0 -14
- package/lib/common/models/name-projection.d.ts +0 -10
- package/lib/common/models/permission.d.ts +0 -26
- package/lib/common/models/save-action.d.ts +0 -5
- package/lib/common/models/suffix-button.d.ts +0 -14
- package/lib/common/models/title-projection.d.ts +0 -10
- package/lib/common/pipes/bind.d.ts +0 -18
- package/lib/common/pipes/data-source.pipe.d.ts +0 -7
- package/lib/common/pipes/enum.pipe.d.ts +0 -21
- package/lib/common/pipes/file-size.pipe.d.ts +0 -13
- package/lib/common/pipes/filter.pipe.d.ts +0 -28
- package/lib/common/pipes/first-letter.d.ts +0 -12
- package/lib/common/pipes/form-array.pipe.d.ts +0 -8
- package/lib/common/pipes/form-control.pipe.d.ts +0 -8
- package/lib/common/pipes/form-group.pipe.d.ts +0 -8
- package/lib/common/pipes/func.pipe.d.ts +0 -7
- package/lib/common/pipes/join.pipe.d.ts +0 -7
- package/lib/common/pipes/keys.d.ts +0 -7
- package/lib/common/pipes/map.pipe.d.ts +0 -20
- package/lib/common/pipes/month-name.pipe.d.ts +0 -15
- package/lib/common/pipes/nested-property.d.ts +0 -16
- package/lib/common/pipes/only-number.d.ts +0 -21
- package/lib/common/pipes/order.pipe.d.ts +0 -116
- package/lib/common/pipes/placeholder.pipe.d.ts +0 -13
- package/lib/common/pipes/property-join.pipe.d.ts +0 -7
- package/lib/common/pipes/safe-html.pipe.d.ts +0 -22
- package/lib/common/pipes/split.pipe.d.ts +0 -16
- package/lib/common/pipes/time.pipe.d.ts +0 -7
- package/lib/common/pipes/titlecase.pipe.d.ts +0 -7
- package/lib/common/pipes/truncate.pipe.d.ts +0 -7
- package/lib/common/pipes/values.d.ts +0 -7
- package/lib/common/public_api.d.ts +0 -40
- package/lib/common/services/base.service.d.ts +0 -10
- package/lib/common/services/context-helper.d.ts +0 -17
- package/lib/common/services/enum.service.d.ts +0 -49
- package/lib/common/services/event-queue.service.d.ts +0 -23
- package/lib/common/services/service-locator.d.ts +0 -19
- package/lib/common/templates/templates.d.ts +0 -38
- package/lib/dialogs/alert-dialog/alert-dialog.component.d.ts +0 -20
- package/lib/dialogs/confirm-dialog/confirm-dialog.component.d.ts +0 -44
- package/lib/dialogs/dialog.component.d.ts +0 -23
- package/lib/dialogs/dialogs.module.d.ts +0 -22
- package/lib/dialogs/prompt-dialog/prompt-dialog.component.d.ts +0 -25
- package/lib/dialogs/public_api.d.ts +0 -1
- package/lib/dialogs/services/dialog.service.d.ts +0 -119
- package/lib/file/file-input.component.d.ts +0 -191
- package/lib/file/file.module.d.ts +0 -13
- package/lib/file/public_api.d.ts +0 -1
- package/lib/form-validators/abstract/typed-form.d.ts +0 -13
- package/lib/form-validators/algorithm/luhn-algorithm.d.ts +0 -8
- package/lib/form-validators/const/app-validators.const.d.ts +0 -3
- package/lib/form-validators/const/app.const.d.ts +0 -64
- package/lib/form-validators/const/config-names.const.d.ts +0 -32
- package/lib/form-validators/const/config-required-fields.const.d.ts +0 -6
- package/lib/form-validators/const/decorators.const.d.ts +0 -3
- package/lib/form-validators/const/events.const.d.ts +0 -52
- package/lib/form-validators/const/html-elements.const.d.ts +0 -24
- package/lib/form-validators/const/iban-country-wise-regex.const.d.ts +0 -1
- package/lib/form-validators/const/index.d.ts +0 -5
- package/lib/form-validators/const/operators.const.d.ts +0 -3
- package/lib/form-validators/const/validation-alphabet-locale.const.d.ts +0 -3
- package/lib/form-validators/const/validator.const.d.ts +0 -28
- package/lib/form-validators/core/annotation-types.d.ts +0 -3
- package/lib/form-validators/core/default-container.d.ts +0 -153
- package/lib/form-validators/decorators/allOf.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/alpha.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/alphaNumeric.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/and.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/ascii.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/async.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/base-decorator.function.d.ts +0 -1
- package/lib/form-validators/decorators/choice.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/compare.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/compose.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/contains.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/credit-card.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/cusip.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/custom.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/dataUri.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/date.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/different.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/digit.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/email.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/endsWith.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/even.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/extension.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/factor.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/file.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/fileSize.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/greater-than-equal-to.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/greater-than.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/grid.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/hexColor.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/image.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/index.d.ts +0 -92
- package/lib/form-validators/decorators/json.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/latLong.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/latitude.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/leapYear.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/less-than-equal-to.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/less-than.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/longitude.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/lowercase.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/mac.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/mask.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/maxDate.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/maxLength.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/maxNumber.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/maxTime.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/minDate.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/minLength.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/minNumber.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/minTime.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/model.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/non-validation-decorators/disable.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/non-validation-decorators/elementClass.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/non-validation-decorators/error.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/non-validation-decorators/update-on.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/noneOf.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/not.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/notEmpty.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/numeric.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/odd.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/oneOf.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/or.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/password.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/pattern.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/port.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/primeNumber.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/prop-array.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/prop-object.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/prop.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/range.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/required.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/requiredTrue.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/rule.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/sanitize/blacklist.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/escape.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/ltrim.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/prefix.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/rtrim.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/sanitize.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/sanitize/stripLow.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/suffix.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/toBoolean.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/toDate.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/sanitize/toDouble.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/toFloat.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/toInt.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/toString.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/trim.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/sanitize/whitelist.decorator.d.ts +0 -1
- package/lib/form-validators/decorators/startsWith.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/time.decorator.d.ts +0 -3
- package/lib/form-validators/decorators/unique.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/uppercase.decorator.d.ts +0 -2
- package/lib/form-validators/decorators/url.decorator.d.ts +0 -3
- package/lib/form-validators/directives/base-directive.d.ts +0 -25
- package/lib/form-validators/directives/control-host.directive.d.ts +0 -28
- package/lib/form-validators/directives/html-control-template.directive.d.ts +0 -22
- package/lib/form-validators/directives/rx-form.directive.d.ts +0 -49
- package/lib/form-validators/directives/template-validations/async-validation.directive.d.ts +0 -19
- package/lib/form-validators/directives/template-validations/base-validator.directive.d.ts +0 -45
- package/lib/form-validators/directives/template-validations/control-expression-process.d.ts +0 -44
- package/lib/form-validators/directives/template-validations/file-control.directive.d.ts +0 -55
- package/lib/form-validators/directives/template-validations/image-file-control.directive.d.ts +0 -37
- package/lib/form-validators/directives/template-validations/rxformcontrol.directive.d.ts +0 -136
- package/lib/form-validators/domain/disable-provider.d.ts +0 -69
- package/lib/form-validators/domain/element-processor/decimal.provider.d.ts +0 -52
- package/lib/form-validators/domain/element-processor/mask.provider.d.ts +0 -63
- package/lib/form-validators/domain/form-data.d.ts +0 -31
- package/lib/form-validators/enums/error-message-binding-strategy.d.ts +0 -9
- package/lib/form-validators/enums/index.d.ts +0 -4
- package/lib/form-validators/enums/ip-version.d.ts +0 -5
- package/lib/form-validators/enums/numeric-value-type.d.ts +0 -5
- package/lib/form-validators/enums/reset-type.d.ts +0 -8
- package/lib/form-validators/enums/url-validation-type.d.ts +0 -5
- package/lib/form-validators/models/config/alpha-config.d.ts +0 -6
- package/lib/form-validators/models/config/array-config.d.ts +0 -4
- package/lib/form-validators/models/config/base-config-fn.d.ts +0 -10
- package/lib/form-validators/models/config/base-config.d.ts +0 -7
- package/lib/form-validators/models/config/base-date-config.d.ts +0 -6
- package/lib/form-validators/models/config/choice-config.d.ts +0 -5
- package/lib/form-validators/models/config/compare-config.d.ts +0 -5
- package/lib/form-validators/models/config/component-config.d.ts +0 -3
- package/lib/form-validators/models/config/compose-config.d.ts +0 -5
- package/lib/form-validators/models/config/contains-config.d.ts +0 -5
- package/lib/form-validators/models/config/credit-card-config.d.ts +0 -5
- package/lib/form-validators/models/config/custom-config.d.ts +0 -5
- package/lib/form-validators/models/config/date-config.d.ts +0 -6
- package/lib/form-validators/models/config/default-config.d.ts +0 -4
- package/lib/form-validators/models/config/digit-config.d.ts +0 -3
- package/lib/form-validators/models/config/disable-config.d.ts +0 -3
- package/lib/form-validators/models/config/element-class-config.d.ts +0 -3
- package/lib/form-validators/models/config/email-config.d.ts +0 -3
- package/lib/form-validators/models/config/error-config.d.ts +0 -3
- package/lib/form-validators/models/config/extension-config.d.ts +0 -5
- package/lib/form-validators/models/config/factor-config.d.ts +0 -5
- package/lib/form-validators/models/config/field-config.d.ts +0 -4
- package/lib/form-validators/models/config/file-config.d.ts +0 -5
- package/lib/form-validators/models/config/hex-color-config.d.ts +0 -4
- package/lib/form-validators/models/config/iban-config.d.ts +0 -4
- package/lib/form-validators/models/config/image-config.d.ts +0 -7
- package/lib/form-validators/models/config/index.d.ts +0 -34
- package/lib/form-validators/models/config/ip-config.d.ts +0 -6
- package/lib/form-validators/models/config/logical-operator-config.d.ts +0 -5
- package/lib/form-validators/models/config/mask-config.d.ts +0 -6
- package/lib/form-validators/models/config/max-date-config.d.ts +0 -4
- package/lib/form-validators/models/config/message-config.d.ts +0 -3
- package/lib/form-validators/models/config/min-date-config.d.ts +0 -4
- package/lib/form-validators/models/config/model-config.d.ts +0 -4
- package/lib/form-validators/models/config/number-config.d.ts +0 -4
- package/lib/form-validators/models/config/numeric-config.d.ts +0 -9
- package/lib/form-validators/models/config/password-config.d.ts +0 -13
- package/lib/form-validators/models/config/pattern-config.d.ts +0 -6
- package/lib/form-validators/models/config/prop-config.d.ts +0 -16
- package/lib/form-validators/models/config/props-config.d.ts +0 -12
- package/lib/form-validators/models/config/range-config.d.ts +0 -5
- package/lib/form-validators/models/config/relational-operator-config.d.ts +0 -6
- package/lib/form-validators/models/config/required-config.d.ts +0 -3
- package/lib/form-validators/models/config/rule-config.d.ts +0 -4
- package/lib/form-validators/models/config/sanitize-config.d.ts +0 -3
- package/lib/form-validators/models/config/size-config.d.ts +0 -5
- package/lib/form-validators/models/config/string-comparison-config.d.ts +0 -5
- package/lib/form-validators/models/config/string-value-config.d.ts +0 -4
- package/lib/form-validators/models/config/time-config.d.ts +0 -15
- package/lib/form-validators/models/config/todate-config.d.ts +0 -3
- package/lib/form-validators/models/config/unique-config.d.ts +0 -4
- package/lib/form-validators/models/config/update-on-config.d.ts +0 -3
- package/lib/form-validators/models/config/url-config.d.ts +0 -5
- package/lib/form-validators/models/control-info.d.ts +0 -25
- package/lib/form-validators/models/data-sanitizer.d.ts +0 -13
- package/lib/form-validators/models/decorator-configuration.d.ts +0 -37
- package/lib/form-validators/models/form-builder-configuration.d.ts +0 -64
- package/lib/form-validators/models/index.d.ts +0 -2
- package/lib/form-validators/models/instance-container.d.ts +0 -47
- package/lib/form-validators/models/interface/array-prop-instance-config.interface.d.ts +0 -5
- package/lib/form-validators/models/interface/auto-instance-config.interface.d.ts +0 -7
- package/lib/form-validators/models/interface/form-data-config.d.ts +0 -3
- package/lib/form-validators/models/interface/i-abstract-control.d.ts +0 -29
- package/lib/form-validators/models/interface/i-form-group.d.ts +0 -58
- package/lib/form-validators/models/interface/instance-argument.interface.d.ts +0 -3
- package/lib/form-validators/models/interface/object-prop-instance-config.interface.d.ts +0 -4
- package/lib/form-validators/models/interface/options.d.ts +0 -9
- package/lib/form-validators/models/password-validation.model.d.ts +0 -74
- package/lib/form-validators/models/prop-validation-config.d.ts +0 -233
- package/lib/form-validators/models/property-info.d.ts +0 -57
- package/lib/form-validators/public_api.d.ts +0 -25
- package/lib/form-validators/reactive-form-validators/allOf.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/alpha.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/alphaNumeric.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/and.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/ascii.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/async/base.async.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/choice.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/compare.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/compose.validator.d.ts +0 -8
- package/lib/form-validators/reactive-form-validators/conditional-change.validator.d.ts +0 -2
- package/lib/form-validators/reactive-form-validators/contains.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/credit-card.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/cusip.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/custom.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/dataUri.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/date.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/different.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/digit.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/email.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/endsWith.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/even.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/extension.validator.d.ts +0 -2
- package/lib/form-validators/reactive-form-validators/factor.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/file.validator.d.ts +0 -2
- package/lib/form-validators/reactive-form-validators/fileSize.validator.d.ts +0 -2
- package/lib/form-validators/reactive-form-validators/greater-than-equal-to.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/greater-than.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/grid.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/hexcolor.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/iban.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/image.validator.d.ts +0 -2
- package/lib/form-validators/reactive-form-validators/index.d.ts +0 -65
- package/lib/form-validators/reactive-form-validators/ip.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/json.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/latLong.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/latitude.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/leapYear.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/less-than-equal-to.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/less-than.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/longitude.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/lowercase.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/mac.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/mask.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/maxDate.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/maxLength.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/maxNumber.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/maxTime.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/minDate.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/minLength.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/minNumber.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/minTime.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/noneOf.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/not.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/notEmpty.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/numeric.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/odd.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/oneOf.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/or.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/password.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/pattern.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/port.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/primeNumber.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/range.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/required.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/requiredTrue.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/rule.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/startsWith.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/time.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/unique.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/uppercase.validator.d.ts +0 -3
- package/lib/form-validators/reactive-form-validators/url.validator.d.ts +0 -3
- package/lib/form-validators/services/base-form-builder.d.ts +0 -70
- package/lib/form-validators/services/entity.service.d.ts +0 -15
- package/lib/form-validators/services/form-control.d.ts +0 -92
- package/lib/form-validators/services/form-group.d.ts +0 -9
- package/lib/form-validators/services/reactive-form.module.d.ts +0 -24
- package/lib/form-validators/services/rx-form-array.d.ts +0 -38
- package/lib/form-validators/services/rx-form-builder.d.ts +0 -248
- package/lib/form-validators/services/rx-form-group.d.ts +0 -187
- package/lib/form-validators/services/typed-form-builder.d.ts +0 -14
- package/lib/form-validators/util/alphabet-regex.locale.d.ts +0 -28
- package/lib/form-validators/util/app-util.d.ts +0 -66
- package/lib/form-validators/util/check-length.d.ts +0 -1
- package/lib/form-validators/util/config-provider.d.ts +0 -1
- package/lib/form-validators/util/date-checker.function.d.ts +0 -7
- package/lib/form-validators/util/date-provider.d.ts +0 -9
- package/lib/form-validators/util/form-const.d.ts +0 -2
- package/lib/form-validators/util/form-provider.d.ts +0 -40
- package/lib/form-validators/util/index.d.ts +0 -6
- package/lib/form-validators/util/instance-provider.function.d.ts +0 -15
- package/lib/form-validators/util/ip-checker.d.ts +0 -2
- package/lib/form-validators/util/linq.d.ts +0 -15
- package/lib/form-validators/util/object-maker.d.ts +0 -8
- package/lib/form-validators/util/reactive-form-config.d.ts +0 -17
- package/lib/form-validators/util/regex-rules.d.ts +0 -3
- package/lib/form-validators/util/regex-validator.d.ts +0 -11
- package/lib/form-validators/util/relational-checker.function.d.ts +0 -2
- package/lib/form-validators/util/reset-form.d.ts +0 -21
- package/lib/form-validators/util/sanitizers.d.ts +0 -3
- package/lib/form-validators/util/time-checker.function.d.ts +0 -4
- package/lib/form-validators/util/type.d.ts +0 -3
- package/lib/form-validators/util/validator-value-checker.d.ts +0 -5
- package/lib/form-validators/validators-extension/allOf-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/alpha-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/alphaNumeric-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/and-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/ascii-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/base-validator.function.d.ts +0 -3
- package/lib/form-validators/validators-extension/choice-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/compare-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/compose-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/contains-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/credit-card-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/cusip-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/custom-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/dataUri-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/date-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/different-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/digit-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/email-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/endsWith-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/even-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/extension-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/factor-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/file-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/fileSize-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/greater-than-equal-to-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/greater-than-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/grid-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/hexcolor-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/iban-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/image-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/index.d.ts +0 -67
- package/lib/form-validators/validators-extension/ip-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/json-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/latLong-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/latitude-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/leapYear-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/less-than-equal-to-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/less-than-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/longitude-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/lowercase-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/mac-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/mask-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/maxDate-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/maxLength-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/maxNumber-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/maxTime-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/minDate-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/minLength-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/minNumber-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/minTime-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/noneOf-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/not-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/notEmpty-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/numeric-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/odd-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/oneOf-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/or-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/password-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/pattern-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/port-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/primeNumber-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/range-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/required-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/requiredTrue-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/rxweb-validators.d.ts +0 -107
- package/lib/form-validators/validators-extension/startsWith-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/time-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-extension/unique-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/uppercase-validator.extension.d.ts +0 -3
- package/lib/form-validators/validators-extension/url-validator.extension.d.ts +0 -4
- package/lib/form-validators/validators-function/alpha-validation.function.d.ts +0 -10
- package/lib/form-validators/validators-function/regex-validation.function.d.ts +0 -20
- package/lib/forms/components/datepicker/datepicker-header.component.d.ts +0 -52
- package/lib/forms/components/generic-form/generic-form.component.d.ts +0 -315
- package/lib/forms/constants/constants.d.ts +0 -3
- package/lib/forms/directives/mat-form-field-editor.directive.d.ts +0 -88
- package/lib/forms/directives/mat-form-field-readonly.directive.d.ts +0 -16
- package/lib/forms/directives/parse-decimal-directive.d.ts +0 -38
- package/lib/forms/directives/vd-generic-form-custom-field.directive.d.ts +0 -24
- package/lib/forms/enums/form-field-type.d.ts +0 -21
- package/lib/forms/forms.module.d.ts +0 -57
- package/lib/forms/functions/decorators.d.ts +0 -22
- package/lib/forms/functions/functions.d.ts +0 -15
- package/lib/forms/helpers/abstract-mat-form-field.d.ts +0 -252
- package/lib/forms/helpers/abstract-select-form-field.component.d.ts +0 -358
- package/lib/forms/helpers/value-accessor-base.d.ts +0 -92
- package/lib/forms/models/form-definition.d.ts +0 -67
- package/lib/forms/models/form-field-definition.d.ts +0 -483
- package/lib/forms/models/form-field-group-definition.d.ts +0 -56
- package/lib/forms/pipes/field-func.pipe.d.ts +0 -14
- package/lib/forms/pipes/group-filter.pipe.d.ts +0 -17
- package/lib/forms/public_api.d.ts +0 -4
- package/lib/forms/validators/empty-string-reset.directive.d.ts +0 -13
- package/lib/forms/validators/equal-validator.directive.d.ts +0 -20
- package/lib/forms/validators/native-element-injector.directive.d.ts +0 -22
- package/lib/forms/validators/unique-validator-directive.d.ts +0 -36
- package/lib/http/http.module.d.ts +0 -8
- package/lib/http/models/response.d.ts +0 -23
- package/lib/http/public_api.d.ts +0 -1
- package/lib/http/services/generic.service.d.ts +0 -171
- package/lib/layout/dynamic-menu/dynamic-menu.component.d.ts +0 -57
- package/lib/layout/layout-card-over/layout-card-over.component.d.ts +0 -31
- package/lib/layout/layout-compact/layout-compact.component.d.ts +0 -128
- package/lib/layout/layout-footer/layout-footer.component.d.ts +0 -17
- package/lib/layout/layout-manage-list/layout-manage-list.component.d.ts +0 -100
- package/lib/layout/layout-manage-list/layout-manage-list.directives.d.ts +0 -61
- package/lib/layout/layout-nav/layout-nav.component.d.ts +0 -99
- package/lib/layout/layout-nav-list/layout-nav-list.component.d.ts +0 -97
- package/lib/layout/layout-nav-list/layout-nav-list.directives.d.ts +0 -61
- package/lib/layout/layout-toggle.class.d.ts +0 -46
- package/lib/layout/layout.component.d.ts +0 -144
- package/lib/layout/layout.directives.d.ts +0 -25
- package/lib/layout/layout.module.d.ts +0 -45
- package/lib/layout/list-toolbar/list-toolbar.component.d.ts +0 -27
- package/lib/layout/navigation-drawer/navigation-drawer.component.d.ts +0 -170
- package/lib/layout/public_api.d.ts +0 -1
- package/lib/list/components/list.component.d.ts +0 -33
- package/lib/list/directives/vd-list-option.directive.d.ts +0 -16
- package/lib/list/list.module.d.ts +0 -13
- package/lib/list/public_api.d.ts +0 -2
- package/lib/media/directives/media-toggle.directive.d.ts +0 -66
- package/lib/media/media.module.d.ts +0 -11
- package/lib/media/public_api.d.ts +0 -1
- package/lib/media/services/media.service.d.ts +0 -37
- package/lib/menu/components/menu.component.d.ts +0 -72
- package/lib/menu/enums/menu-item-target.d.ts +0 -21
- package/lib/menu/enums/menu-scope.d.ts +0 -4
- package/lib/menu/menu.module.d.ts +0 -31
- package/lib/menu/models/menu-client.d.ts +0 -26
- package/lib/menu/models/menu-department.d.ts +0 -26
- package/lib/menu/models/menu-item-client.d.ts +0 -26
- package/lib/menu/models/menu-item-department.d.ts +0 -26
- package/lib/menu/models/menu-item.d.ts +0 -117
- package/lib/menu/models/menu-settings.d.ts +0 -10
- package/lib/menu/models/menu.d.ts +0 -62
- package/lib/menu/public_api.d.ts +0 -2
- package/lib/menu/resolvers/menu-form-includes.resolve.d.ts +0 -21
- package/lib/menu/resolvers/menu-item-form-includes.resolve.d.ts +0 -21
- package/lib/menu/resolvers/menu-list-projection.resolve.d.ts +0 -20
- package/lib/menu/resolvers/menu-settings.resolve.d.ts +0 -15
- package/lib/menu/services/menu-items.service.d.ts +0 -12
- package/lib/menu/services/menu.resolve.d.ts +0 -40
- package/lib/menu/services/menu.service.d.ts +0 -12
- package/lib/search/public_api.d.ts +0 -1
- package/lib/search/search.module.d.ts +0 -11
- package/lib/select/components/select.component.d.ts +0 -96
- package/lib/select/directives/vd-select-option.directive.d.ts +0 -16
- package/lib/select/directives/vd-select-trigger.directive.d.ts +0 -16
- package/lib/select/public_api.d.ts +0 -3
- package/lib/select/select.module.d.ts +0 -16
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +0 -389
- package/lib/table/components/filter-clear/filter-clear.component.d.ts +0 -16
- package/lib/table/components/filter-date/filter-date.component.d.ts +0 -79
- package/lib/table/components/filter-input/filter-input.component.d.ts +0 -98
- package/lib/table/components/filter-select/filter-select.component.d.ts +0 -207
- package/lib/table/constants/constants.d.ts +0 -2
- package/lib/table/directives/data-source-filter.directive.d.ts +0 -28
- package/lib/table/directives/vd-table-field.directive.d.ts +0 -24
- package/lib/table/enums/grid.d.ts +0 -10
- package/lib/table/enums/table-column-type.d.ts +0 -15
- package/lib/table/functions/decorators.d.ts +0 -23
- package/lib/table/functions/functions.d.ts +0 -8
- package/lib/table/models/facet-value.d.ts +0 -26
- package/lib/table/models/facet.d.ts +0 -27
- package/lib/table/models/pagination.d.ts +0 -26
- package/lib/table/models/table-column-config.d.ts +0 -44
- package/lib/table/models/table-column.d.ts +0 -279
- package/lib/table/models/table-config.d.ts +0 -29
- package/lib/table/models/table-definition.d.ts +0 -159
- package/lib/table/models/table-query-config.d.ts +0 -26
- package/lib/table/paginator-intl.d.ts +0 -27
- package/lib/table/public_api.d.ts +0 -1
- package/lib/table/table.data-source.d.ts +0 -228
- package/lib/table/table.module.d.ts +0 -58
- package/lib/table/table.static-data-source.d.ts +0 -145
- package/public_api.d.ts +0 -15
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit } from "@angular/core";
|
|
2
|
-
import { FormGroup, NgForm } from "@angular/forms";
|
|
3
|
-
import { BaseDirective } from "./base-directive";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* This directive provides functionality for integrating RxWebForms with Angular forms.
|
|
7
|
-
*/
|
|
8
|
-
export declare class RxwebFormDirective extends BaseDirective implements AfterContentInit {
|
|
9
|
-
/**
|
|
10
|
-
* Timeout ID for clearing the timeout
|
|
11
|
-
*/
|
|
12
|
-
private clearTimeoutNumber;
|
|
13
|
-
/**
|
|
14
|
-
* Object to store validation rules
|
|
15
|
-
*/
|
|
16
|
-
private validationRule;
|
|
17
|
-
/**
|
|
18
|
-
* The formGroup input property for binding the form group to the directive.
|
|
19
|
-
*/
|
|
20
|
-
formGroup?: FormGroup;
|
|
21
|
-
/**
|
|
22
|
-
* The ngForm input property for binding the NgForm to the directive.
|
|
23
|
-
*/
|
|
24
|
-
ngForm?: NgForm;
|
|
25
|
-
/**
|
|
26
|
-
* After the content is initialized, this method configures model validations based on the formGroup or ngForm.
|
|
27
|
-
*/
|
|
28
|
-
ngAfterContentInit(): void;
|
|
29
|
-
/**
|
|
30
|
-
* Configures model validations based on the ngForm if present.
|
|
31
|
-
*/
|
|
32
|
-
private configureModelValidations;
|
|
33
|
-
/**
|
|
34
|
-
* Updates the value and validity of the form controls.
|
|
35
|
-
*/
|
|
36
|
-
private updateValueAndValidity;
|
|
37
|
-
/**
|
|
38
|
-
* Processes the expressions for configuring model validations.
|
|
39
|
-
* @param controls - The form controls to process.
|
|
40
|
-
* @param rootFieldName - The root field name for nested controls.
|
|
41
|
-
*/
|
|
42
|
-
private expressionProcessor;
|
|
43
|
-
/**
|
|
44
|
-
* Sets conditional validators based on the validation rule.
|
|
45
|
-
*/
|
|
46
|
-
private setConditionalValidator;
|
|
47
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RxwebFormDirective, never>;
|
|
48
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RxwebFormDirective, "[formGroup],[rxwebForm]", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "ngForm": { "alias": "rxwebForm"; "required": false; }; }, {}, never, never, false, never>;
|
|
49
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, AsyncValidator, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AsyncValidationDirective implements AsyncValidator {
|
|
5
|
-
/**
|
|
6
|
-
* The async validation function.
|
|
7
|
-
*/
|
|
8
|
-
async: any;
|
|
9
|
-
/**
|
|
10
|
-
* Method that performs async validation against the provided control.
|
|
11
|
-
*
|
|
12
|
-
* @param control The control to validate against.
|
|
13
|
-
* @returns A promise or observable that resolves a map of validation errors
|
|
14
|
-
* if validation fails, otherwise null.
|
|
15
|
-
*/
|
|
16
|
-
validate(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AsyncValidationDirective, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AsyncValidationDirective, "[ngModel],[formControlName],[formControl]", never, { "async": { "alias": "async"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, FormControl, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { MaskProvider } from '../../domain/element-processor/mask.provider';
|
|
3
|
-
import { ControlExpressionProcess } from './control-expression-process';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* BaseValidator is a base class for implementing custom validators in Angular.
|
|
7
|
-
* It extends ControlExpressionProcess to handle control expressions.
|
|
8
|
-
*/
|
|
9
|
-
export declare class BaseValidator extends ControlExpressionProcess {
|
|
10
|
-
/**
|
|
11
|
-
* Input property for the form control associated with the validator.
|
|
12
|
-
*/
|
|
13
|
-
formControl?: FormControl | AbstractControl;
|
|
14
|
-
/**
|
|
15
|
-
* Array to store the validator functions.
|
|
16
|
-
*/
|
|
17
|
-
protected validators: ValidatorFn[];
|
|
18
|
-
/**
|
|
19
|
-
* Reference to the HTML element associated with the validator.
|
|
20
|
-
*/
|
|
21
|
-
protected element: any;
|
|
22
|
-
/**
|
|
23
|
-
* Name of the event triggering the validation.
|
|
24
|
-
*/
|
|
25
|
-
protected eventName?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Provider for handling masks in validation.
|
|
28
|
-
*/
|
|
29
|
-
protected maskProvider?: MaskProvider;
|
|
30
|
-
/**
|
|
31
|
-
* Performs validation on the provided control using the defined validators and mask provider.
|
|
32
|
-
* @param control The abstract control to be validated.
|
|
33
|
-
* @returns A validation result, or null if validation passes.
|
|
34
|
-
*/
|
|
35
|
-
validation(control: AbstractControl): {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Sets the event name based on the type of HTML element associated with the validator.
|
|
40
|
-
* This is used to determine the event that triggers validation.
|
|
41
|
-
*/
|
|
42
|
-
protected setEventName(): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseValidator, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseValidator, never, never, { "formControl": { "alias": "formControl"; "required": false; }; }, {}, never, never, true, never>;
|
|
45
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, FormControl, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Abstract class providing common functionality for processing control expressions in Angular directives.
|
|
5
|
-
*/
|
|
6
|
-
export declare abstract class ControlExpressionProcess {
|
|
7
|
-
/**
|
|
8
|
-
* Validator function for the control.
|
|
9
|
-
*/
|
|
10
|
-
protected validator?: ValidatorFn;
|
|
11
|
-
/**
|
|
12
|
-
* Conditional validator function for the control.
|
|
13
|
-
*/
|
|
14
|
-
protected conditionalValidator?: ValidatorFn;
|
|
15
|
-
/**
|
|
16
|
-
* Configuration for the control.
|
|
17
|
-
*/
|
|
18
|
-
protected controlConfig: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
} | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* Optional name for the control.
|
|
23
|
-
*/
|
|
24
|
-
name?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Optional form control name.
|
|
27
|
-
*/
|
|
28
|
-
formControlName?: string;
|
|
29
|
-
isProcessed: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Collection of form controls associated with the directive.
|
|
32
|
-
*/
|
|
33
|
-
protected controls?: {
|
|
34
|
-
[name: string]: FormControl;
|
|
35
|
-
};
|
|
36
|
-
/**
|
|
37
|
-
* Sets the configuration for the control model.
|
|
38
|
-
* Marks the processing as completed and assigns the validator configuration to the control if present.
|
|
39
|
-
* @param control The abstract control associated with the directive.
|
|
40
|
-
*/
|
|
41
|
-
setModelConfig(control: AbstractControl): void;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ControlExpressionProcess, never>;
|
|
43
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlExpressionProcess, never, never, { "name": { "alias": "name"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, Validator } from '@angular/forms';
|
|
3
|
-
import { ExtensionConfig, FileConfig, SizeConfig } from '../../models/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* FileControlDirective is an Angular directive for handling file input validation.
|
|
7
|
-
* It implements the Validator interface for custom validation.
|
|
8
|
-
*/
|
|
9
|
-
export declare class FileControlDirective implements Validator {
|
|
10
|
-
private elementRef;
|
|
11
|
-
files: any;
|
|
12
|
-
element: any;
|
|
13
|
-
isProcessed: boolean;
|
|
14
|
-
private validators;
|
|
15
|
-
onChange: (_: any) => void;
|
|
16
|
-
onTouched: () => void;
|
|
17
|
-
writeFile: boolean;
|
|
18
|
-
set extension(config: ExtensionConfig);
|
|
19
|
-
set fileSize(config: SizeConfig);
|
|
20
|
-
set file(config: FileConfig);
|
|
21
|
-
/**
|
|
22
|
-
* Constructor for FileControlDirective.
|
|
23
|
-
* @param elementRef ElementRef
|
|
24
|
-
*/
|
|
25
|
-
constructor(elementRef: ElementRef);
|
|
26
|
-
/**
|
|
27
|
-
* Handles the change event of the file input.
|
|
28
|
-
* @param element HTMLInputElement
|
|
29
|
-
*/
|
|
30
|
-
onChangeCall(element: HTMLInputElement): void;
|
|
31
|
-
writeValue(value: any): void;
|
|
32
|
-
registerOnChange(invocation: any): void;
|
|
33
|
-
registerOnTouched(invocation: any): void;
|
|
34
|
-
/**
|
|
35
|
-
* Sets the configuration for the control based on the provided AbstractControl.
|
|
36
|
-
* @param control AbstractControl
|
|
37
|
-
*/
|
|
38
|
-
setConfig(control: AbstractControl): void;
|
|
39
|
-
/**
|
|
40
|
-
* Pushes a validator function to the validators array based on the validator name and configuration.
|
|
41
|
-
* @param validatorName string
|
|
42
|
-
* @param config ExtensionConfig | SizeConfig | FileConfig
|
|
43
|
-
*/
|
|
44
|
-
pushValidator(validatorName: string, config: ExtensionConfig | SizeConfig | FileConfig): void;
|
|
45
|
-
/**
|
|
46
|
-
* Validates the file input control based on the configured validators.
|
|
47
|
-
* @param control AbstractControl
|
|
48
|
-
* @returns Validation result or null if validation passes.
|
|
49
|
-
*/
|
|
50
|
-
validate(control: AbstractControl): {
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
};
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileControlDirective, never>;
|
|
54
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FileControlDirective, "input[type=file]", never, { "writeFile": { "alias": "writeFile"; "required": false; }; "extension": { "alias": "extension"; "required": false; }; "fileSize": { "alias": "fileSize"; "required": false; }; "file": { "alias": "file"; "required": false; }; }, {}, never, never, false, never>;
|
|
55
|
-
}
|
package/lib/form-validators/directives/template-validations/image-file-control.directive.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, AsyncValidator, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { ImageConfig } from '../../models/config';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* Directive for handling file input with asynchronous validation for image files.
|
|
8
|
-
*/
|
|
9
|
-
export declare class ImageFileControlDirective implements AsyncValidator {
|
|
10
|
-
private elementRef;
|
|
11
|
-
element: any;
|
|
12
|
-
isProcessed: boolean;
|
|
13
|
-
private imageValidation?;
|
|
14
|
-
/**
|
|
15
|
-
* Setter for image configuration.
|
|
16
|
-
* @param config The configuration for image validation.
|
|
17
|
-
*/
|
|
18
|
-
set image(config: ImageConfig);
|
|
19
|
-
/**
|
|
20
|
-
* Constructor for ImageFileControlDirective.
|
|
21
|
-
* @param elementRef Reference to the element.
|
|
22
|
-
*/
|
|
23
|
-
constructor(elementRef: ElementRef);
|
|
24
|
-
/**
|
|
25
|
-
* Set the configuration for the directive.
|
|
26
|
-
* @param control The abstract control associated with the directive.
|
|
27
|
-
*/
|
|
28
|
-
setConfig(control: AbstractControl): void;
|
|
29
|
-
/**
|
|
30
|
-
* Async validation method.
|
|
31
|
-
* @param control The abstract control to be validated.
|
|
32
|
-
* @returns A promise or observable containing validation errors, or null if validation passes.
|
|
33
|
-
*/
|
|
34
|
-
validate(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageFileControlDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageFileControlDirective, "input[type=file]", never, { "image": { "alias": "image"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { AbstractControl, FormControl, Validator } from '@angular/forms';
|
|
3
|
-
import { DecimalProvider } from "../../domain/element-processor/decimal.provider";
|
|
4
|
-
import { AlphaConfig, BaseConfig, CompareConfig, ComposeConfig, ContainsConfig, CreditCardConfig, DateConfig, DefaultConfig, DifferentConfig, DigitConfig, EmailConfig, ExtensionConfig, FactorConfig, MessageConfig, NumberConfig, NumericConfig, PasswordConfig, RangeConfig, RelationalOperatorConfig, RequiredConfig, RuleConfig, SizeConfig, TimeConfig, UniqueConfig } from '../../models/config';
|
|
5
|
-
import { BaseValidator } from './base-validator.directive';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class RxFormControlDirective extends BaseValidator implements OnInit, OnDestroy, Validator {
|
|
8
|
-
private elementRef;
|
|
9
|
-
private renderer;
|
|
10
|
-
private decimalProvider;
|
|
11
|
-
private eventListeners;
|
|
12
|
-
private isNumericSubscribed;
|
|
13
|
-
private isFocusCalled;
|
|
14
|
-
private isMasked;
|
|
15
|
-
set validationControls(value: {
|
|
16
|
-
[key: string]: FormControl;
|
|
17
|
-
});
|
|
18
|
-
get validationControls(): {
|
|
19
|
-
[key: string]: FormControl;
|
|
20
|
-
} | undefined;
|
|
21
|
-
rxalpha?: AlphaConfig;
|
|
22
|
-
rxalphaNumeric?: AlphaConfig;
|
|
23
|
-
rxascii?: BaseConfig;
|
|
24
|
-
rxcompare?: CompareConfig;
|
|
25
|
-
rxcompose?: ComposeConfig;
|
|
26
|
-
rxcontains?: ContainsConfig;
|
|
27
|
-
rxcreditCard?: CreditCardConfig;
|
|
28
|
-
rxdataUri?: BaseConfig;
|
|
29
|
-
rxdifferent?: DifferentConfig;
|
|
30
|
-
rxdigit?: DigitConfig;
|
|
31
|
-
rxemail?: EmailConfig;
|
|
32
|
-
rxendsWith?: DefaultConfig;
|
|
33
|
-
rxeven?: BaseConfig;
|
|
34
|
-
rxextension?: ExtensionConfig;
|
|
35
|
-
rxfactor?: FactorConfig;
|
|
36
|
-
rxfileSize?: SizeConfig;
|
|
37
|
-
rxgreaterThanEqualTo?: RelationalOperatorConfig;
|
|
38
|
-
rxgreaterThan?: RelationalOperatorConfig;
|
|
39
|
-
rxhexColor?: MessageConfig;
|
|
40
|
-
rxjson?: DefaultConfig;
|
|
41
|
-
rxlatitude?: BaseConfig;
|
|
42
|
-
rxlatLong?: BaseConfig;
|
|
43
|
-
rxleapYear?: BaseConfig;
|
|
44
|
-
rxlessThan?: RelationalOperatorConfig;
|
|
45
|
-
rxlessThanEqualTo?: RelationalOperatorConfig;
|
|
46
|
-
rxlongitude?: BaseConfig;
|
|
47
|
-
rxlowerCase?: MessageConfig;
|
|
48
|
-
rxmac?: BaseConfig;
|
|
49
|
-
rxmaxDate?: DateConfig;
|
|
50
|
-
rxmaxLength?: NumberConfig;
|
|
51
|
-
rxmaxNumber?: NumberConfig;
|
|
52
|
-
rxminDate?: DateConfig;
|
|
53
|
-
rxminLength?: NumberConfig;
|
|
54
|
-
rxminNumber?: NumberConfig;
|
|
55
|
-
rxnumeric?: NumericConfig;
|
|
56
|
-
rxodd?: BaseConfig;
|
|
57
|
-
rxpassword?: PasswordConfig;
|
|
58
|
-
rxport?: BaseConfig;
|
|
59
|
-
rxprimeNumber?: BaseConfig;
|
|
60
|
-
rxrequired?: RequiredConfig;
|
|
61
|
-
rxrange?: RangeConfig;
|
|
62
|
-
rxrule?: RuleConfig;
|
|
63
|
-
rxstartsWith?: DefaultConfig;
|
|
64
|
-
rxtime?: TimeConfig;
|
|
65
|
-
rxupperCase?: MessageConfig;
|
|
66
|
-
rxurl?: DefaultConfig;
|
|
67
|
-
rxunique?: UniqueConfig;
|
|
68
|
-
rxnotEmpty?: BaseConfig;
|
|
69
|
-
rxcusip?: BaseConfig;
|
|
70
|
-
rxgrid?: BaseConfig;
|
|
71
|
-
rxdate?: BaseConfig;
|
|
72
|
-
/**
|
|
73
|
-
* Constructor with injected dependencies
|
|
74
|
-
* @param elementRef
|
|
75
|
-
* @param renderer
|
|
76
|
-
* @param decimalProvider
|
|
77
|
-
*/
|
|
78
|
-
constructor(elementRef: ElementRef, renderer: Renderer2, decimalProvider: DecimalProvider);
|
|
79
|
-
ngOnInit(): void;
|
|
80
|
-
/**
|
|
81
|
-
* Method for handling blur event
|
|
82
|
-
*/
|
|
83
|
-
blurEvent(): void;
|
|
84
|
-
/**
|
|
85
|
-
* Bind numeric element events
|
|
86
|
-
* @param config
|
|
87
|
-
*/
|
|
88
|
-
bindNumericElementEvent(config?: NumericConfig): void;
|
|
89
|
-
/**
|
|
90
|
-
* Bind value change event
|
|
91
|
-
*/
|
|
92
|
-
bindValueChangeEvent(): void;
|
|
93
|
-
/**
|
|
94
|
-
* Subscribe to numeric formatter
|
|
95
|
-
*/
|
|
96
|
-
subscribeNumericFormatter(): void;
|
|
97
|
-
/**
|
|
98
|
-
* Subscribe to mask validator
|
|
99
|
-
*/
|
|
100
|
-
subscribeMaskValidator(): void;
|
|
101
|
-
/**
|
|
102
|
-
* Set value on element
|
|
103
|
-
* @param value
|
|
104
|
-
*/
|
|
105
|
-
private setValueOnElement;
|
|
106
|
-
/**
|
|
107
|
-
* Set template validators
|
|
108
|
-
* @param control
|
|
109
|
-
*/
|
|
110
|
-
private setTemplateValidators;
|
|
111
|
-
/**
|
|
112
|
-
* Update element class on change
|
|
113
|
-
* @param element
|
|
114
|
-
* @returns
|
|
115
|
-
*/
|
|
116
|
-
private updateOnElementClass;
|
|
117
|
-
/**
|
|
118
|
-
* Set validator configuration
|
|
119
|
-
* @param control
|
|
120
|
-
*/
|
|
121
|
-
private setValidatorConfig;
|
|
122
|
-
/**
|
|
123
|
-
* Validate the control
|
|
124
|
-
* @param control
|
|
125
|
-
* @returns
|
|
126
|
-
*/
|
|
127
|
-
validate(control: AbstractControl): {
|
|
128
|
-
[key: string]: any;
|
|
129
|
-
} | null;
|
|
130
|
-
/**
|
|
131
|
-
* Destroy the directive
|
|
132
|
-
*/
|
|
133
|
-
ngOnDestroy(): void;
|
|
134
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RxFormControlDirective, never>;
|
|
135
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RxFormControlDirective, "[ngModel],[formControlName],[formControl]", never, { "rxalpha": { "alias": "rxalpha"; "required": false; }; "rxalphaNumeric": { "alias": "rxalphaNumeric"; "required": false; }; "rxascii": { "alias": "rxascii"; "required": false; }; "rxcompare": { "alias": "rxcompare"; "required": false; }; "rxcompose": { "alias": "rxcompose"; "required": false; }; "rxcontains": { "alias": "rxcontains"; "required": false; }; "rxcreditCard": { "alias": "rxcreditCard"; "required": false; }; "rxdataUri": { "alias": "rxdataUri"; "required": false; }; "rxdifferent": { "alias": "rxdifferent"; "required": false; }; "rxdigit": { "alias": "rxdigit"; "required": false; }; "rxemail": { "alias": "rxemail"; "required": false; }; "rxendsWith": { "alias": "rxendsWith"; "required": false; }; "rxeven": { "alias": "rxeven"; "required": false; }; "rxextension": { "alias": "rxextension"; "required": false; }; "rxfactor": { "alias": "rxfactor"; "required": false; }; "rxfileSize": { "alias": "rxfileSize"; "required": false; }; "rxgreaterThanEqualTo": { "alias": "rxgreaterThanEqualTo"; "required": false; }; "rxgreaterThan": { "alias": "rxgreaterThan"; "required": false; }; "rxhexColor": { "alias": "rxhexColor"; "required": false; }; "rxjson": { "alias": "rxjson"; "required": false; }; "rxlatitude": { "alias": "rxlatitude"; "required": false; }; "rxlatLong": { "alias": "rxlatLong"; "required": false; }; "rxleapYear": { "alias": "rxleapYear"; "required": false; }; "rxlessThan": { "alias": "rxlessThan"; "required": false; }; "rxlessThanEqualTo": { "alias": "rxlessThanEqualTo"; "required": false; }; "rxlongitude": { "alias": "rxlongitude"; "required": false; }; "rxlowerCase": { "alias": "rxlowerCase"; "required": false; }; "rxmac": { "alias": "rxmac"; "required": false; }; "rxmaxDate": { "alias": "rxmaxDate"; "required": false; }; "rxmaxLength": { "alias": "rxmaxLength"; "required": false; }; "rxmaxNumber": { "alias": "rxmaxNumber"; "required": false; }; "rxminDate": { "alias": "rxminDate"; "required": false; }; "rxminLength": { "alias": "rxminLength"; "required": false; }; "rxminNumber": { "alias": "rxminNumber"; "required": false; }; "rxnumeric": { "alias": "rxnumeric"; "required": false; }; "rxodd": { "alias": "rxodd"; "required": false; }; "rxpassword": { "alias": "rxpassword"; "required": false; }; "rxport": { "alias": "rxport"; "required": false; }; "rxprimeNumber": { "alias": "rxprimeNumber"; "required": false; }; "rxrequired": { "alias": "rxrequired"; "required": false; }; "rxrange": { "alias": "rxrange"; "required": false; }; "rxrule": { "alias": "rxrule"; "required": false; }; "rxstartsWith": { "alias": "rxstartsWith"; "required": false; }; "rxtime": { "alias": "rxtime"; "required": false; }; "rxupperCase": { "alias": "rxupperCase"; "required": false; }; "rxurl": { "alias": "rxurl"; "required": false; }; "rxunique": { "alias": "rxunique"; "required": false; }; "rxnotEmpty": { "alias": "rxnotEmpty"; "required": false; }; "rxcusip": { "alias": "rxcusip"; "required": false; }; "rxgrid": { "alias": "rxgrid"; "required": false; }; "rxdate": { "alias": "rxdate"; "required": false; }; }, {}, never, never, false, never>;
|
|
136
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, FormGroup } from "@angular/forms";
|
|
2
|
-
/**
|
|
3
|
-
* Provides functionality for disabling form controls based on decorator configuration.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DisableProvider {
|
|
6
|
-
private decoratorType;
|
|
7
|
-
private entityObject;
|
|
8
|
-
/**
|
|
9
|
-
* Initializes a new instance of the DisableProvider class.
|
|
10
|
-
* @param decoratorType The type of decorator.
|
|
11
|
-
* @param entityObject The entity object associated with the decorator.
|
|
12
|
-
*/
|
|
13
|
-
constructor(decoratorType: string, entityObject: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
});
|
|
16
|
-
/**
|
|
17
|
-
* Gets the name of the form group associated with the provided form control.
|
|
18
|
-
* @param currentFormGroup The current form group.
|
|
19
|
-
* @returns The name of the form group.
|
|
20
|
-
*/
|
|
21
|
-
getFormGroupName(currentFormGroup: FormGroup): string;
|
|
22
|
-
/**
|
|
23
|
-
* Processes disabling based on zero arguments.
|
|
24
|
-
* @param control The form control.
|
|
25
|
-
* @param columnName The name of the column.
|
|
26
|
-
* @returns An array of disabled columns.
|
|
27
|
-
*/
|
|
28
|
-
zeroArgumentProcess(control: AbstractControl, columnName: string): any[];
|
|
29
|
-
/**
|
|
30
|
-
* Gets the disabled columns for the provided form group.
|
|
31
|
-
* @param formGroup The form group.
|
|
32
|
-
* @param columnName The name of the column.
|
|
33
|
-
* @param isRoot Indicates whether the form group is the root form group.
|
|
34
|
-
* @param pathName The path name.
|
|
35
|
-
* @returns An array of disabled columns.
|
|
36
|
-
*/
|
|
37
|
-
private getDisabledColumns;
|
|
38
|
-
/**
|
|
39
|
-
* Gets the change detection columns for the provided instance container.
|
|
40
|
-
* @param instanceContainer The instance container.
|
|
41
|
-
* @param columnName The name of the column.
|
|
42
|
-
* @param isRoot Indicates whether the form group is the root form group.
|
|
43
|
-
* @param pathName The path name.
|
|
44
|
-
* @returns An array of change detection columns.
|
|
45
|
-
*/
|
|
46
|
-
private getChangeDetectionColumns;
|
|
47
|
-
/**
|
|
48
|
-
* Gets the top control path based on the form control and column name.
|
|
49
|
-
* @param control The form control.
|
|
50
|
-
* @param columnName The name of the column.
|
|
51
|
-
* @returns The top control path.
|
|
52
|
-
*/
|
|
53
|
-
private topControlPath;
|
|
54
|
-
/**
|
|
55
|
-
* Retrieves the disabled expressions for child controls within the provided form group.
|
|
56
|
-
* @param formGroup The form group.
|
|
57
|
-
* @param columnName The name of the column.
|
|
58
|
-
* @param path The path for the controls.
|
|
59
|
-
* @returns An array of disabled expressions for child controls.
|
|
60
|
-
*/
|
|
61
|
-
childControlDisabledExpression(formGroup: FormGroup, columnName: string, path?: string): any[];
|
|
62
|
-
/**
|
|
63
|
-
* Processes disabling based on one argument.
|
|
64
|
-
* @param control The form control or form group.
|
|
65
|
-
* @param columnName The name of the column.
|
|
66
|
-
* @returns An array of disabled columns.
|
|
67
|
-
*/
|
|
68
|
-
oneArgumentProcess(control: AbstractControl | FormGroup, columnName: string): any[];
|
|
69
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { DecimalPipe } from "@angular/common";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DecimalProvider {
|
|
4
|
-
private decimalPipe;
|
|
5
|
-
private localeId;
|
|
6
|
-
/**
|
|
7
|
-
* Decimal separator
|
|
8
|
-
*/
|
|
9
|
-
private decimalSeperator;
|
|
10
|
-
/**
|
|
11
|
-
* Group separator
|
|
12
|
-
*/
|
|
13
|
-
private groupSeperator;
|
|
14
|
-
/**
|
|
15
|
-
* Optional variable for custom decimal symbol
|
|
16
|
-
*/
|
|
17
|
-
private allowDecimalSymbol?;
|
|
18
|
-
/**
|
|
19
|
-
* Flag indicating whether configuration is set
|
|
20
|
-
*/
|
|
21
|
-
private isSetConfig;
|
|
22
|
-
/**
|
|
23
|
-
* Constructor for DecimalProvider
|
|
24
|
-
* @param decimalPipe DecimalPipe
|
|
25
|
-
* @param localeId LOCALE_ID
|
|
26
|
-
*/
|
|
27
|
-
constructor(decimalPipe: DecimalPipe, localeId: string);
|
|
28
|
-
/**
|
|
29
|
-
* Replaces the decimal and group separators in the value.
|
|
30
|
-
* @param value The value to replace separators in.
|
|
31
|
-
* @returns The value with replaced separators.
|
|
32
|
-
*/
|
|
33
|
-
replacer(value: any): any;
|
|
34
|
-
/**
|
|
35
|
-
* Transforms a value into a formatted decimal string.
|
|
36
|
-
* @param value The value to transform.
|
|
37
|
-
* @param digitsInfo The number of digits after the decimal point.
|
|
38
|
-
* @param persistZero Whether to persist zero after decimal digits.
|
|
39
|
-
* @returns The formatted decimal string.
|
|
40
|
-
*/
|
|
41
|
-
transFormDecimal(value: any, digitsInfo: string, persistZero: boolean): string | null;
|
|
42
|
-
/**
|
|
43
|
-
* Sets the decimal and group symbols in the ReactiveFormConfig.
|
|
44
|
-
*/
|
|
45
|
-
private setSymbolInConfig;
|
|
46
|
-
/**
|
|
47
|
-
* Binds configuration settings from ReactiveFormConfig.json.
|
|
48
|
-
*/
|
|
49
|
-
bindConfig(): void;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DecimalProvider, never>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DecimalProvider>;
|
|
52
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Renderer2 } from "@angular/core";
|
|
2
|
-
import { FormControl } from "@angular/forms";
|
|
3
|
-
import { MaskConfig } from "../../models/config/mask-config";
|
|
4
|
-
export declare class MaskProvider {
|
|
5
|
-
private input;
|
|
6
|
-
private mask;
|
|
7
|
-
private renderer;
|
|
8
|
-
private formControl;
|
|
9
|
-
private config;
|
|
10
|
-
private eventListeners;
|
|
11
|
-
oldValue: string;
|
|
12
|
-
type: string;
|
|
13
|
-
slotChar: string;
|
|
14
|
-
autoClear: boolean;
|
|
15
|
-
value: any;
|
|
16
|
-
defs: any;
|
|
17
|
-
tests?: any[];
|
|
18
|
-
partialPosition: any;
|
|
19
|
-
firstNonMaskPos?: number;
|
|
20
|
-
lastRequiredNonMaskPos: any;
|
|
21
|
-
len?: number;
|
|
22
|
-
oldVal?: string;
|
|
23
|
-
buffer: any;
|
|
24
|
-
defaultBuffer?: string;
|
|
25
|
-
focusText?: string;
|
|
26
|
-
caretTimeoutId: any;
|
|
27
|
-
androidChrome?: boolean;
|
|
28
|
-
focus?: boolean;
|
|
29
|
-
filled?: boolean;
|
|
30
|
-
minLength?: number;
|
|
31
|
-
constructor(input: HTMLInputElement, mask: string, renderer: Renderer2, formControl: FormControl, config: MaskConfig);
|
|
32
|
-
bind(): void;
|
|
33
|
-
bindEvents(): void;
|
|
34
|
-
isInvalid: boolean;
|
|
35
|
-
validate(): any;
|
|
36
|
-
writeValue(value: any): void;
|
|
37
|
-
caret(first?: number, last?: number): {
|
|
38
|
-
begin: number | null | undefined;
|
|
39
|
-
end: any;
|
|
40
|
-
} | null;
|
|
41
|
-
isCompleted(lastRequiredNonMaskPos?: number, isNotRunValidator?: boolean): boolean;
|
|
42
|
-
getPlaceholder(i: number): string;
|
|
43
|
-
seekNext(pos: number): number;
|
|
44
|
-
seekPrev(pos: number): number;
|
|
45
|
-
shiftL(begin: number, end: number): void;
|
|
46
|
-
shiftR(pos: number): void;
|
|
47
|
-
handleAndroidInput(_: any): void;
|
|
48
|
-
onBlur(e: any): void;
|
|
49
|
-
onKeyDown(e: any): void;
|
|
50
|
-
onKeyPress(e: any): void;
|
|
51
|
-
internalProcess: boolean;
|
|
52
|
-
clearBuffer(start: number, end: number): void;
|
|
53
|
-
writeBuffer(): void;
|
|
54
|
-
checkVal(allow?: boolean): number | undefined;
|
|
55
|
-
onFocus(event: any): void;
|
|
56
|
-
onInput(event: any): void;
|
|
57
|
-
setControlValue(e: any, isValid: boolean, isValidControl?: boolean): void;
|
|
58
|
-
handleInputChange(event: any): void;
|
|
59
|
-
getUnmaskedValue(): string;
|
|
60
|
-
updateModel(e: any): void;
|
|
61
|
-
updateFilledState(): void;
|
|
62
|
-
onDestroy(): void;
|
|
63
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { FormDataConfig } from '../models/interface/form-data-config';
|
|
2
|
-
export declare class FormDataProvider {
|
|
3
|
-
/**
|
|
4
|
-
* Converts a JavaScript object to FormData.
|
|
5
|
-
* @param jObject The JavaScript object to convert.
|
|
6
|
-
* @param options Additional options for the conversion.
|
|
7
|
-
* @returns The converted FormData object.
|
|
8
|
-
*/
|
|
9
|
-
convertToFormData(jObject: {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}, options?: FormDataConfig): FormData;
|
|
12
|
-
/**
|
|
13
|
-
* Recursively converts a JavaScript object to FormData.
|
|
14
|
-
* @param jObject The JavaScript object to convert.
|
|
15
|
-
* @param currentFormData The current FormData object (used for recursive calls).
|
|
16
|
-
* @param parentKey The parent key (used for recursive calls).
|
|
17
|
-
* @param options Additional options for the conversion.
|
|
18
|
-
* @returns The converted FormData object.
|
|
19
|
-
*/
|
|
20
|
-
convertFormData(jObject: {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}, currentFormData?: FormData, parentKey?: string, options?: FormDataConfig): FormData;
|
|
23
|
-
/**
|
|
24
|
-
* Binds non-object values to FormData.
|
|
25
|
-
* @param value The value to bind.
|
|
26
|
-
* @param formData The FormData object.
|
|
27
|
-
* @param propName The property name.
|
|
28
|
-
* @param options Additional options for the conversion.
|
|
29
|
-
*/
|
|
30
|
-
nonObjectValueBind(value: any, formData: FormData, propName: string, options?: FormDataConfig): void;
|
|
31
|
-
}
|