@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,483 +0,0 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { DateFilterFn, MatDatepicker } from "@angular/material/datepicker";
|
|
4
|
-
import { Observable } from "rxjs";
|
|
5
|
-
import { IGenericFormBaseComponent } from "../../base/interfaces/igeneric-form-base";
|
|
6
|
-
import { EnumMetadata } from "../../common/models/enum-metadata";
|
|
7
|
-
import { Filter } from "../../common/models/filter";
|
|
8
|
-
import { Icon } from "../../common/models/icon";
|
|
9
|
-
import { SuffixButton } from "../../common/models/suffix-button";
|
|
10
|
-
import { FormFieldType } from "../enums/form-field-type";
|
|
11
|
-
export declare class FormFieldDefinition<TEntity = any, TProperty = any> {
|
|
12
|
-
/**
|
|
13
|
-
* CSS class applied to autocomplete functionality for styling purposes.
|
|
14
|
-
*/
|
|
15
|
-
autocompleteCssClass: string;
|
|
16
|
-
/**
|
|
17
|
-
* Template function for rendering the autocomplete suggestions.
|
|
18
|
-
* @param x The property value for autocomplete.
|
|
19
|
-
* @param y The entity associated with the field.
|
|
20
|
-
* @param f The FormGroup containing this field.
|
|
21
|
-
* @param ctx The context of the generic form component.
|
|
22
|
-
* @returns The rendered autocomplete template.
|
|
23
|
-
*/
|
|
24
|
-
autocompleteTemplate?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
25
|
-
/**
|
|
26
|
-
* Default text to display for autocomplete suggestions.
|
|
27
|
-
*/
|
|
28
|
-
autocompleteText: string;
|
|
29
|
-
/**
|
|
30
|
-
* Callback function executed when the field value changes.
|
|
31
|
-
* @param x The updated property value.
|
|
32
|
-
* @param y The entity associated with the field.
|
|
33
|
-
* @param f The FormGroup containing this field.
|
|
34
|
-
* @param ctx The context of the generic form component.
|
|
35
|
-
*/
|
|
36
|
-
change?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
37
|
-
/**
|
|
38
|
-
* Keydown event handler, allowing for custom behavior when a key is pressed within the field.
|
|
39
|
-
* Can be used for form validation, formatting, or other custom interactions.
|
|
40
|
-
* @param e The keydown event triggered on the form field.
|
|
41
|
-
* @param x The entity instance associated with this form field.
|
|
42
|
-
* @param f The FormGroup containing the form field definitions.
|
|
43
|
-
* @param ctx The generic form component context, providing additional data and methods.
|
|
44
|
-
*/
|
|
45
|
-
keydown?: (e: KeyboardEvent, x?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => void;
|
|
46
|
-
/**
|
|
47
|
-
* Template function for displaying chip elements related to this field.
|
|
48
|
-
* @param x The property value for the chip.
|
|
49
|
-
* @param y The entity associated with the field.
|
|
50
|
-
* @param f The FormGroup containing this field.
|
|
51
|
-
* @param ctx The context of the generic form component.
|
|
52
|
-
* @returns The rendered chip template.
|
|
53
|
-
*/
|
|
54
|
-
chipTemplate?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
55
|
-
/**
|
|
56
|
-
* Default text displayed in chip elements.
|
|
57
|
-
*/
|
|
58
|
-
chipText: string;
|
|
59
|
-
/**
|
|
60
|
-
* Color theme for the chip, determined from the predefined palette.
|
|
61
|
-
*/
|
|
62
|
-
chipColor: 'primary' | 'accent' | 'warn';
|
|
63
|
-
/**
|
|
64
|
-
* The class type to instantiate for this field.
|
|
65
|
-
*/
|
|
66
|
-
classType?: Type<any>;
|
|
67
|
-
/**
|
|
68
|
-
* Callback function executed when the field is cleared.
|
|
69
|
-
* @param x The entity associated with the field.
|
|
70
|
-
* @param f The FormGroup containing this field.
|
|
71
|
-
* @param ctx The context of the generic form component.
|
|
72
|
-
*/
|
|
73
|
-
clear?: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
74
|
-
/**
|
|
75
|
-
* Function for comparing two property values.
|
|
76
|
-
* @param o1 The first property value.
|
|
77
|
-
* @param o2 The second property value.
|
|
78
|
-
* @returns A boolean indicating if the values are equal.
|
|
79
|
-
*/
|
|
80
|
-
compareWith?: (o1: TProperty, o2: TProperty) => boolean;
|
|
81
|
-
/**
|
|
82
|
-
* CSS class applied for general styling of the field.
|
|
83
|
-
*/
|
|
84
|
-
cssClass?: string;
|
|
85
|
-
/**
|
|
86
|
-
* Indicates whether the field value can be customized by the user.
|
|
87
|
-
*/
|
|
88
|
-
customValue: boolean;
|
|
89
|
-
/**
|
|
90
|
-
* Function to filter selectable dates.
|
|
91
|
-
* @param date The date to evaluate.
|
|
92
|
-
* @returns A boolean indicating if the date is selectable.
|
|
93
|
-
*/
|
|
94
|
-
dateFilter: DateFilterFn<any>;
|
|
95
|
-
/**
|
|
96
|
-
* Asynchronous function to filter dates based on additional conditions.
|
|
97
|
-
* @param d The date to evaluate.
|
|
98
|
-
* @param y The entity associated with the field.
|
|
99
|
-
* @param f The FormGroup containing this field.
|
|
100
|
-
* @param ctx The context of the generic form component.
|
|
101
|
-
* @returns An observable that emits the date filter function.
|
|
102
|
-
*/
|
|
103
|
-
dateFilterAsync?: (d: Date | any, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => Observable<DateFilterFn<any>>;
|
|
104
|
-
/**
|
|
105
|
-
* Callback function invoked when the date picker is opened.
|
|
106
|
-
* @param datePicker The MatDatepicker component instance.
|
|
107
|
-
* @param y The entity associated with the field.
|
|
108
|
-
* @param f The FormGroup containing this field.
|
|
109
|
-
* @param ctx The context of the generic form component.
|
|
110
|
-
*/
|
|
111
|
-
datePickerOpened?: (datePicker: MatDatepicker<any>, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
112
|
-
/**
|
|
113
|
-
* Endpoint for retrieving data, which can be a URL or a function returning data.
|
|
114
|
-
*/
|
|
115
|
-
endpoint?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any) | string;
|
|
116
|
-
/**
|
|
117
|
-
* Function to filter options based on enumerations.
|
|
118
|
-
* @param y The entity associated with the field.
|
|
119
|
-
* @param f The FormGroup containing this field.
|
|
120
|
-
* @param ctx The context of the generic form component.
|
|
121
|
-
*/
|
|
122
|
-
enumFilter?: (y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
123
|
-
/**
|
|
124
|
-
* The type of enumeration associated with this field.
|
|
125
|
-
*/
|
|
126
|
-
enumType?: any;
|
|
127
|
-
/**
|
|
128
|
-
* Metadata associated with enumeration types for additional context.
|
|
129
|
-
*/
|
|
130
|
-
enumMetadata?: {
|
|
131
|
-
[key in any]: EnumMetadata;
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* Function that determines whether data should be fetched based on specific conditions.
|
|
135
|
-
* @param x The entity associated with the field.
|
|
136
|
-
* @param f The FormGroup containing this field.
|
|
137
|
-
* @param ctx The context of the generic form component.
|
|
138
|
-
* @returns A boolean indicating whether data fetching is required.
|
|
139
|
-
*/
|
|
140
|
-
fetchCondition: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => boolean;
|
|
141
|
-
/**
|
|
142
|
-
* Array of field sets that organize related fields.
|
|
143
|
-
*/
|
|
144
|
-
fieldSets?: string[];
|
|
145
|
-
/**
|
|
146
|
-
* Allowed file extensions for file uploads.
|
|
147
|
-
*/
|
|
148
|
-
fileExtensions?: string;
|
|
149
|
-
/**
|
|
150
|
-
* The file path for storing uploaded files.
|
|
151
|
-
*/
|
|
152
|
-
filePath?: string;
|
|
153
|
-
/**
|
|
154
|
-
* Flex layout property defining the space the field occupies in a flex container.
|
|
155
|
-
*/
|
|
156
|
-
flex?: number;
|
|
157
|
-
/**
|
|
158
|
-
* Indicates if selection of an option is mandatory for this field.
|
|
159
|
-
*/
|
|
160
|
-
forceSelect?: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Indicates whether the field should be focused automatically when the form initializes.
|
|
163
|
-
* This can be either a boolean or a function that returns a boolean based on the entity and form context.
|
|
164
|
-
* @param x The entity associated with the field.
|
|
165
|
-
* @param f The FormGroup containing this field, allowing for additional context.
|
|
166
|
-
* @param ctx The context of the generic form component, providing access to the form's overall state.
|
|
167
|
-
* @returns A boolean indicating if the field should be focused automatically (true), or not (false).
|
|
168
|
-
*/
|
|
169
|
-
focus?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => boolean) | boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Indicates whether the field should automatically select its text when the form initializes.
|
|
172
|
-
* This can be either a boolean or a function that returns a boolean based on the entity and form context.
|
|
173
|
-
* @param x The entity associated with the field.
|
|
174
|
-
* @param f The FormGroup containing this field, allowing for additional context.
|
|
175
|
-
* @param ctx The context of the generic form component, providing access to the form's overall state.
|
|
176
|
-
* @returns A boolean indicating if the field's text should be selected automatically (true), or not (false).
|
|
177
|
-
*/
|
|
178
|
-
selectText?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => boolean) | boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Header text for grouping related fields.
|
|
181
|
-
*/
|
|
182
|
-
groupHeader: string;
|
|
183
|
-
/**
|
|
184
|
-
* The name assigned to the group of fields.
|
|
185
|
-
*/
|
|
186
|
-
groupName?: string;
|
|
187
|
-
/**
|
|
188
|
-
* Specifies whether the field is hidden from view.
|
|
189
|
-
*/
|
|
190
|
-
hidden?: boolean;
|
|
191
|
-
/**
|
|
192
|
-
* Callback function invoked to determine if the field should be hidden based on specific criteria.
|
|
193
|
-
* @param x The entity associated with the field.
|
|
194
|
-
* @param f The FormGroup containing this field.
|
|
195
|
-
* @param ctx The context of the generic form component.
|
|
196
|
-
*/
|
|
197
|
-
hide?: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
198
|
-
/**
|
|
199
|
-
* Hint text displayed to assist the user in filling out the field.
|
|
200
|
-
*/
|
|
201
|
-
hint?: string;
|
|
202
|
-
/**
|
|
203
|
-
* Index representing the position of this field within its parent structure.
|
|
204
|
-
*/
|
|
205
|
-
index?: number;
|
|
206
|
-
/**
|
|
207
|
-
* Specifies the type of input (e.g., text, number) for this field.
|
|
208
|
-
*/
|
|
209
|
-
inputType?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Indicates whether the uploaded file is accessible to the public.
|
|
212
|
-
*/
|
|
213
|
-
isPublicFile?: boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Callback function executed when an item in the field changes.
|
|
216
|
-
* @param x The updated property value.
|
|
217
|
-
* @param y The entity associated with the field.
|
|
218
|
-
* @param f The FormGroup containing this field.
|
|
219
|
-
* @param ctx The context of the generic form component.
|
|
220
|
-
*/
|
|
221
|
-
itemChange?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
222
|
-
/**
|
|
223
|
-
* Callback function executed when an item in the field is selected.
|
|
224
|
-
* @param x The selected property value.
|
|
225
|
-
* @param y The entity associated with the field.
|
|
226
|
-
* @param f The FormGroup containing this field.
|
|
227
|
-
* @param ctx The context of the generic form component.
|
|
228
|
-
*/
|
|
229
|
-
itemSelect?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
230
|
-
/**
|
|
231
|
-
* Label text for the field, can be a static string or a function that returns a label based on context.
|
|
232
|
-
* @param x The entity associated with the field.
|
|
233
|
-
* @param f The FormGroup containing this field.
|
|
234
|
-
* @param ctx The context of the generic form component.
|
|
235
|
-
* @returns The label text for the field.
|
|
236
|
-
*/
|
|
237
|
-
label?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => string) | string;
|
|
238
|
-
/**
|
|
239
|
-
* Function for mapping input values from one format to another.
|
|
240
|
-
* @param x An array of values to map.
|
|
241
|
-
* @returns The mapped values.
|
|
242
|
-
*/
|
|
243
|
-
mapper?: (x: any[]) => any;
|
|
244
|
-
/**
|
|
245
|
-
* Maximum permissible value for the field, can be a number or a date.
|
|
246
|
-
*/
|
|
247
|
-
max?: number | Date;
|
|
248
|
-
/**
|
|
249
|
-
* Maximum height for the field's display, can be a string or a function that returns a string.
|
|
250
|
-
* @param x The entity associated with the field.
|
|
251
|
-
* @param f The FormGroup containing this field.
|
|
252
|
-
* @param ctx The context of the generic form component.
|
|
253
|
-
* @returns The maximum height for the field's display.
|
|
254
|
-
*/
|
|
255
|
-
maxHeight?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => string) | string;
|
|
256
|
-
/**
|
|
257
|
-
* Maximum length of the input.
|
|
258
|
-
* Can be a number or a function that returns a number.
|
|
259
|
-
* @param x The entity associated with the field.
|
|
260
|
-
* @param f The FormGroup containing this field.
|
|
261
|
-
* @param ctx The context of the generic form component.
|
|
262
|
-
*/
|
|
263
|
-
maxLength?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => number) | number;
|
|
264
|
-
/**
|
|
265
|
-
* Maximum width of the input.
|
|
266
|
-
* Can be a string or a function that returns a string.
|
|
267
|
-
* @param x The entity associated with the field.
|
|
268
|
-
* @param f The FormGroup containing this field.
|
|
269
|
-
* @param ctx The context of the generic form component.
|
|
270
|
-
*/
|
|
271
|
-
maxWidth?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => string) | string;
|
|
272
|
-
/**
|
|
273
|
-
* Minimum permissible value for the input.
|
|
274
|
-
* Can be a number or a date.
|
|
275
|
-
*/
|
|
276
|
-
min?: number | Date;
|
|
277
|
-
/**
|
|
278
|
-
* Minimum length of input characters allowed.
|
|
279
|
-
* Can be a number or a function that returns a number.
|
|
280
|
-
* @param x The entity associated with the field.
|
|
281
|
-
* @param f The FormGroup containing this field.
|
|
282
|
-
* @param ctx The context of the generic form component.
|
|
283
|
-
*/
|
|
284
|
-
minLength?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => number) | number;
|
|
285
|
-
/**
|
|
286
|
-
* Indicates whether the field supports multiline input.
|
|
287
|
-
*/
|
|
288
|
-
multiline?: boolean;
|
|
289
|
-
/**
|
|
290
|
-
* Indicates whether multiple selections are allowed.
|
|
291
|
-
* Defaults to false.
|
|
292
|
-
*/
|
|
293
|
-
multiple: boolean;
|
|
294
|
-
/**
|
|
295
|
-
* Flag indicating if only numeric input is permitted.
|
|
296
|
-
*/
|
|
297
|
-
numbersOnly?: boolean;
|
|
298
|
-
/**
|
|
299
|
-
* Flag to enable or disable decimal parsing on input.
|
|
300
|
-
* If set to true, pasted values will be normalized to a valid decimal format.
|
|
301
|
-
*/
|
|
302
|
-
parseDecimal?: boolean;
|
|
303
|
-
/**
|
|
304
|
-
* Indicates whether the first option in a selection should be automatically selected.
|
|
305
|
-
* Defaults to false.
|
|
306
|
-
*/
|
|
307
|
-
selectFirst: boolean;
|
|
308
|
-
/**
|
|
309
|
-
* Name of the field for identification and display purposes.
|
|
310
|
-
*/
|
|
311
|
-
name?: string;
|
|
312
|
-
/**
|
|
313
|
-
* Options available for selection.
|
|
314
|
-
* Can be an array or a function that returns an array of options.
|
|
315
|
-
* @param x The entity associated with the field.
|
|
316
|
-
* @param f The FormGroup containing this field.
|
|
317
|
-
* @param ctx The context of the generic form component.
|
|
318
|
-
*/
|
|
319
|
-
options?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => {
|
|
320
|
-
id: any;
|
|
321
|
-
name: string;
|
|
322
|
-
}[]) | {
|
|
323
|
-
id: any;
|
|
324
|
-
name: string;
|
|
325
|
-
}[];
|
|
326
|
-
/**
|
|
327
|
-
* Indicates whether a default option should be included in the selection.
|
|
328
|
-
* Defaults to true.
|
|
329
|
-
*/
|
|
330
|
-
defaultOption?: boolean;
|
|
331
|
-
/**
|
|
332
|
-
* Template function for rendering options in the selection.
|
|
333
|
-
* @param x The current property value.
|
|
334
|
-
* @param y The entity associated with the field.
|
|
335
|
-
* @param f The FormGroup containing this field.
|
|
336
|
-
* @param ctx The context of the generic form component.
|
|
337
|
-
*/
|
|
338
|
-
optionTemplate?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
339
|
-
/**
|
|
340
|
-
* Property name in the option object for displaying text.
|
|
341
|
-
* Used to specify which property shows as the option's text.
|
|
342
|
-
*/
|
|
343
|
-
optionTextProperty: string;
|
|
344
|
-
/**
|
|
345
|
-
* Property name in the option object representing the unique value for each option.
|
|
346
|
-
*/
|
|
347
|
-
optionValueProperty: string;
|
|
348
|
-
/**
|
|
349
|
-
* Property name in the option object for the Material icon.
|
|
350
|
-
* Used for displaying icons alongside options.
|
|
351
|
-
*/
|
|
352
|
-
optionMatIconProperty?: string;
|
|
353
|
-
/**
|
|
354
|
-
* Function that returns the icon based on provided parameters.
|
|
355
|
-
* @param x The current property value.
|
|
356
|
-
* @param y The entity associated with the field.
|
|
357
|
-
* @param f The FormGroup containing this field.
|
|
358
|
-
* @param ctx The context of the generic form component.
|
|
359
|
-
*/
|
|
360
|
-
optionIcon?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => Icon<TEntity, any>;
|
|
361
|
-
/**
|
|
362
|
-
* Property name in the option object for displaying an SVG icon.
|
|
363
|
-
*/
|
|
364
|
-
optionSvgIconProperty?: string;
|
|
365
|
-
/**
|
|
366
|
-
* Custom font set used for icons in the options.
|
|
367
|
-
* Defaults to 'material-symbols-outlined'.
|
|
368
|
-
*/
|
|
369
|
-
optionIconFontSet?: string;
|
|
370
|
-
/**
|
|
371
|
-
* Parameters for data retrieval associated with this field.
|
|
372
|
-
* Can be an object or a function returning an object.
|
|
373
|
-
* @param x The entity associated with the field.
|
|
374
|
-
* @param f The FormGroup containing this field.
|
|
375
|
-
* @param ctx The context of the generic form component.
|
|
376
|
-
*/
|
|
377
|
-
params?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any) | {};
|
|
378
|
-
/**
|
|
379
|
-
* Regular expression pattern for input validation.
|
|
380
|
-
* Can be a string, RegExp, or a function returning a string or RegExp.
|
|
381
|
-
* @param x The entity associated with the field.
|
|
382
|
-
* @param f The FormGroup containing this field.
|
|
383
|
-
* @param ctx The context of the generic form component.
|
|
384
|
-
*/
|
|
385
|
-
pattern?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => RegExp | string) | RegExp | string;
|
|
386
|
-
/**
|
|
387
|
-
* Projection specification for data retrieval.
|
|
388
|
-
* Can be a string or an array of strings.
|
|
389
|
-
*/
|
|
390
|
-
projection: string | string[];
|
|
391
|
-
/**
|
|
392
|
-
* Callback function to determine if the field is readonly.
|
|
393
|
-
* @param x The entity associated with the field.
|
|
394
|
-
* @param f The FormGroup containing this field.
|
|
395
|
-
* @param ctx The context of the generic form component.
|
|
396
|
-
*/
|
|
397
|
-
readonly?: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => boolean;
|
|
398
|
-
/**
|
|
399
|
-
* Callback function to determine if the field is required.
|
|
400
|
-
* Can return a boolean value or a function returning a boolean.
|
|
401
|
-
* @param x The entity associated with the field.
|
|
402
|
-
* @param f The FormGroup containing this field.
|
|
403
|
-
* @param ctx The context of the generic form component.
|
|
404
|
-
*/
|
|
405
|
-
required?: ((x?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => boolean | boolean);
|
|
406
|
-
/**
|
|
407
|
-
* The row number indicating the display position of the field.
|
|
408
|
-
* Defaults to 1.
|
|
409
|
-
*/
|
|
410
|
-
row: number;
|
|
411
|
-
/**
|
|
412
|
-
* The number of rows for multi-line input fields (e.g., text area).
|
|
413
|
-
*/
|
|
414
|
-
rows?: number;
|
|
415
|
-
/**
|
|
416
|
-
* Default field used for searching.
|
|
417
|
-
*/
|
|
418
|
-
searchField: string;
|
|
419
|
-
/**
|
|
420
|
-
* List of fields utilized for search functionality.
|
|
421
|
-
*/
|
|
422
|
-
searchFields: string[];
|
|
423
|
-
/**
|
|
424
|
-
* Array of filter objects, each defined by a glue operator and associated fields.
|
|
425
|
-
*/
|
|
426
|
-
filters?: Filter[];
|
|
427
|
-
/**
|
|
428
|
-
* Callback function invoked when an option is selected.
|
|
429
|
-
* @param x The entity associated with the field.
|
|
430
|
-
* @param f The FormGroup containing this field.
|
|
431
|
-
* @param ctx The context of the generic form component.
|
|
432
|
-
*/
|
|
433
|
-
select?: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
434
|
-
/**
|
|
435
|
-
* Array of suffix buttons associated with the field.
|
|
436
|
-
*/
|
|
437
|
-
suffixButtons: SuffixButton<TProperty, IGenericFormBaseComponent<TEntity>>[];
|
|
438
|
-
/**
|
|
439
|
-
* CSS class applied to triggers associated with the field.
|
|
440
|
-
*/
|
|
441
|
-
triggerCssClass?: string;
|
|
442
|
-
/**
|
|
443
|
-
* Callback function for mapping trigger values.
|
|
444
|
-
* @param x The current property value.
|
|
445
|
-
* @param y The entity associated with the field.
|
|
446
|
-
* @param f The FormGroup containing this field.
|
|
447
|
-
* @param ctx The context of the generic form component.
|
|
448
|
-
*/
|
|
449
|
-
triggerMapper?: (x: TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
450
|
-
/**
|
|
451
|
-
* Mode of the trigger (e.g., chip).
|
|
452
|
-
*/
|
|
453
|
-
triggerMode?: 'chip';
|
|
454
|
-
/**
|
|
455
|
-
* Template function for rendering the trigger.
|
|
456
|
-
* @param x The current property value(s).
|
|
457
|
-
* @param y The entity associated with the field.
|
|
458
|
-
* @param f The FormGroup containing this field.
|
|
459
|
-
* @param ctx The context of the generic form component.
|
|
460
|
-
*/
|
|
461
|
-
triggerTemplate?: (x: TProperty[] | TProperty, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
462
|
-
/**
|
|
463
|
-
* Function to determine the type of the field.
|
|
464
|
-
* Can be a function returning a FormFieldType or a direct FormFieldType value.
|
|
465
|
-
* @param x The entity associated with the field.
|
|
466
|
-
* @param f The FormGroup containing this field.
|
|
467
|
-
* @param ctx The context of the generic form component.
|
|
468
|
-
*/
|
|
469
|
-
type?: ((x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => FormFieldType) | FormFieldType;
|
|
470
|
-
/**
|
|
471
|
-
* Indicates whether the field is wrapped.
|
|
472
|
-
* Defaults to true.
|
|
473
|
-
*/
|
|
474
|
-
wrapped: boolean;
|
|
475
|
-
/**
|
|
476
|
-
* Constructor for the FormFieldDefinition class.
|
|
477
|
-
* @param init Optional initial values for properties in FormFieldDefinition.
|
|
478
|
-
* @param init.x The entity associated with the field.
|
|
479
|
-
* @param init.f The FormGroup containing this field.
|
|
480
|
-
* @param init.ctx The context of the generic form component.
|
|
481
|
-
*/
|
|
482
|
-
constructor(init?: Partial<FormFieldDefinition<TEntity>>);
|
|
483
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { Type } from "@angular/core";
|
|
2
|
-
import { FormGroup } from "@angular/forms";
|
|
3
|
-
import { IGenericFormBaseComponent } from "../../base/interfaces/igeneric-form-base";
|
|
4
|
-
import { FormFieldDefinition } from "./form-field-definition";
|
|
5
|
-
/**
|
|
6
|
-
* Represents a group of form fields definition.
|
|
7
|
-
* @template TProperty - The type of data for the form fields.
|
|
8
|
-
*/
|
|
9
|
-
export declare class FormFieldGroupDefinition<TProperty = any, TEntity = any> {
|
|
10
|
-
/**
|
|
11
|
-
* Name of the form field group.
|
|
12
|
-
*/
|
|
13
|
-
name: string;
|
|
14
|
-
/**
|
|
15
|
-
* Index of the form field group.
|
|
16
|
-
*/
|
|
17
|
-
index?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Header for the form field group.
|
|
20
|
-
*/
|
|
21
|
-
header?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Array of form field definitions within the group.
|
|
24
|
-
*/
|
|
25
|
-
fields: FormFieldDefinition<TProperty>[];
|
|
26
|
-
/**
|
|
27
|
-
* Nested groups of form field definitions.
|
|
28
|
-
*/
|
|
29
|
-
groups: FormFieldDefinition<TProperty>[][];
|
|
30
|
-
/**
|
|
31
|
-
* Array of field sets for organizing form fields.
|
|
32
|
-
*/
|
|
33
|
-
fieldSets?: string[];
|
|
34
|
-
/**
|
|
35
|
-
* Type associated with the form field group.
|
|
36
|
-
*/
|
|
37
|
-
type?: Type<any>;
|
|
38
|
-
/**
|
|
39
|
-
* Instance of an object associated with the form field group.
|
|
40
|
-
*/
|
|
41
|
-
instance?: TEntity;
|
|
42
|
-
/**
|
|
43
|
-
* Indicates whether the form field group is hidden.
|
|
44
|
-
*/
|
|
45
|
-
hidden?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Callback function to hide the field group.
|
|
48
|
-
* @property
|
|
49
|
-
*/
|
|
50
|
-
hide?: (x: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
|
|
51
|
-
/**
|
|
52
|
-
* Constructor for the FormFieldGroupDefinition class.
|
|
53
|
-
* @param init - Optional partial data to initialize the form field group.
|
|
54
|
-
*/
|
|
55
|
-
constructor(init?: Partial<FormFieldGroupDefinition<TEntity>>);
|
|
56
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FieldFuncPipe implements PipeTransform {
|
|
4
|
-
/**
|
|
5
|
-
* @param groups - Array of FormFieldGroupDefinition instances to filter.
|
|
6
|
-
* @param formValue - The current value of the form.
|
|
7
|
-
* @param form - The FormGroup instance.
|
|
8
|
-
* @param context - The context of the component.
|
|
9
|
-
* @returns Filtered array of FormFieldGroupDefinition instances.
|
|
10
|
-
*/
|
|
11
|
-
transform(func: any, ...args: any[]): any;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FieldFuncPipe, never>;
|
|
13
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<FieldFuncPipe, "fieldFunc", false>;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { FormFieldGroupDefinition } from '../models/form-field-group-definition';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GroupFilterPipe implements PipeTransform {
|
|
6
|
-
/**
|
|
7
|
-
* Filters an array of FormFieldGroupDefinition instances based on a provided condition.
|
|
8
|
-
* @param groups - Array of FormFieldGroupDefinition instances to filter.
|
|
9
|
-
* @param formValue - The current value of the form.
|
|
10
|
-
* @param form - The FormGroup instance.
|
|
11
|
-
* @param context - The context of the component.
|
|
12
|
-
* @returns Filtered array of FormFieldGroupDefinition instances.
|
|
13
|
-
*/
|
|
14
|
-
transform(groups?: FormFieldGroupDefinition<any>[], formValue?: any, form?: FormGroup, context?: any): FormFieldGroupDefinition<any>[];
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupFilterPipe, never>;
|
|
16
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GroupFilterPipe, "groupFilter", false>;
|
|
17
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, Validator } from "@angular/forms";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EmptyStringResetDirective implements Validator {
|
|
4
|
-
/**
|
|
5
|
-
* Method that performs synchronous validation against the provided control.
|
|
6
|
-
* @param control
|
|
7
|
-
*/
|
|
8
|
-
validate(control: AbstractControl): {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
} | null;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStringResetDirective, never>;
|
|
12
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EmptyStringResetDirective, "[ngModel],[formControlName],[formControl]", never, {}, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { AbstractControl, Validator } from '@angular/forms';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EqualValidator implements Validator {
|
|
4
|
-
validateEqual: string;
|
|
5
|
-
reverse: string;
|
|
6
|
-
constructor(validateEqual: string, reverse: string);
|
|
7
|
-
/**
|
|
8
|
-
* Is reverse
|
|
9
|
-
*/
|
|
10
|
-
private get isReverse();
|
|
11
|
-
/**
|
|
12
|
-
* Checks the equality of the values
|
|
13
|
-
* @param c
|
|
14
|
-
*/
|
|
15
|
-
validate(c: AbstractControl): {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
} | null;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EqualValidator, [{ attribute: "validateEqual"; }, { attribute: "reverse"; }]>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EqualValidator, "[validateEqual][formControlName],[validateEqual][formControl],[validateEqual][ngModel]", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from "@angular/core";
|
|
2
|
-
import { NgControl, NgModel } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NativeElementInjectorDirective implements OnInit {
|
|
5
|
-
private elementRef;
|
|
6
|
-
private control;
|
|
7
|
-
private model;
|
|
8
|
-
/**
|
|
9
|
-
* Constructor
|
|
10
|
-
* @param elementRef
|
|
11
|
-
* @param control
|
|
12
|
-
* @param model
|
|
13
|
-
*/
|
|
14
|
-
constructor(elementRef: ElementRef<HTMLInputElement>, control: NgControl, model: NgModel);
|
|
15
|
-
/**
|
|
16
|
-
* Called after the constructor, initializing input properties, and the first call to ngOnChanges.
|
|
17
|
-
* Add 'implements OnInit' to the class.
|
|
18
|
-
*/
|
|
19
|
-
ngOnInit(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NativeElementInjectorDirective, [null, null, { optional: true; }]>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NativeElementInjectorDirective, "[ngModel], [formControl], [formControlName]", never, {}, {}, never, never, false, never>;
|
|
22
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { AbstractControl, Validator } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UniqueValidatorDirective implements Validator {
|
|
5
|
-
private http;
|
|
6
|
-
unique: string;
|
|
7
|
-
/**
|
|
8
|
-
* uniqueProperty: string
|
|
9
|
-
*/
|
|
10
|
-
uniqueProperty?: string;
|
|
11
|
-
/**
|
|
12
|
-
* uniqueId: number
|
|
13
|
-
*/
|
|
14
|
-
uniqueId?: number;
|
|
15
|
-
/**
|
|
16
|
-
* uniqueParams: any
|
|
17
|
-
*/
|
|
18
|
-
uniqueParams: any;
|
|
19
|
-
/**
|
|
20
|
-
* invert: number
|
|
21
|
-
*/
|
|
22
|
-
invert?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Constructor
|
|
25
|
-
*/
|
|
26
|
-
constructor(http: HttpClient, unique: string);
|
|
27
|
-
/**
|
|
28
|
-
* Method that performs synchronous validation against the provided control.
|
|
29
|
-
* @param control
|
|
30
|
-
*/
|
|
31
|
-
validate(control: AbstractControl): {
|
|
32
|
-
[key: string]: any;
|
|
33
|
-
} | null;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UniqueValidatorDirective, [null, { attribute: "unique"; }]>;
|
|
35
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<UniqueValidatorDirective, "[unique]", never, { "uniqueProperty": { "alias": "uniqueProperty"; "required": false; }; "uniqueId": { "alias": "uniqueId"; "required": false; }; "uniqueParams": { "alias": "uniqueParams"; "required": false; }; "invert": { "alias": "invert"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export { ApiResponse } from './models/response';
|
|
3
|
-
export { GenericService } from './services/generic.service';
|
|
4
|
-
export declare class VdHttpModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdHttpModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdHttpModule, never, never, never>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<VdHttpModule>;
|
|
8
|
-
}
|