@messaia/cdk 19.0.1 → 20.0.0-RC.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -0
- package/fesm2022/messaia-cdk.mjs +22070 -22744
- 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,502 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
3
|
-
import { MatSort, SortDirection } from '@angular/material/sort';
|
|
4
|
-
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
|
-
import { ActionItem } from '../../common/models/action-item';
|
|
7
|
-
import { IEntity } from '../../common/models/entity';
|
|
8
|
-
import { GenericService } from '../../http/services/generic.service';
|
|
9
|
-
import { VdDynamicTableComponent } from '../../table/components/dynamic-table/dynamic-table.component';
|
|
10
|
-
import { TableColumn } from '../../table/models/table-column';
|
|
11
|
-
import { TableConfig } from '../../table/models/table-config';
|
|
12
|
-
import { TableDataSource } from '../../table/table.data-source';
|
|
13
|
-
import { IGenericListComponent } from '../interfaces/igeneric-list-component';
|
|
14
|
-
import { BaseComponent } from './base.component';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* A base list component for components with pagination support
|
|
18
|
-
*/
|
|
19
|
-
export declare abstract class GenericListComponent<TEntity extends IEntity | any, TService extends GenericService<TEntity>> extends BaseComponent implements IGenericListComponent<TEntity>, OnDestroy {
|
|
20
|
-
service: TService;
|
|
21
|
-
protected route: ActivatedRoute;
|
|
22
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
23
|
-
classType?: {
|
|
24
|
-
new (): TEntity;
|
|
25
|
-
} | undefined;
|
|
26
|
-
/**
|
|
27
|
-
* @property paginator
|
|
28
|
-
* @description A reference to the MatPaginator element.
|
|
29
|
-
* This is used for handling pagination in the data table.
|
|
30
|
-
* @type {MatPaginator | undefined}
|
|
31
|
-
*/
|
|
32
|
-
paginator?: MatPaginator;
|
|
33
|
-
/**
|
|
34
|
-
* @property sort
|
|
35
|
-
* @description A reference to the MatSort element.
|
|
36
|
-
* This is used for handling sorting functionality in the data table.
|
|
37
|
-
* @type {MatSort | undefined}
|
|
38
|
-
*/
|
|
39
|
-
sort?: MatSort;
|
|
40
|
-
/**
|
|
41
|
-
* @property pageSizeOptions
|
|
42
|
-
* @description An array of available page size options for the data table.
|
|
43
|
-
* @type {number[]}
|
|
44
|
-
*/
|
|
45
|
-
pageSizeOptions: Array<number>;
|
|
46
|
-
/**
|
|
47
|
-
* @property includes
|
|
48
|
-
* @description Specifies the navigations to include when fetching data.
|
|
49
|
-
* @type {string[]}
|
|
50
|
-
*/
|
|
51
|
-
includes: Array<string>;
|
|
52
|
-
/**
|
|
53
|
-
* @property projection
|
|
54
|
-
* @description Specifies the projection(s) to apply when fetching data.
|
|
55
|
-
* Can be a single string or an array of strings.
|
|
56
|
-
* @type {string | string[]}
|
|
57
|
-
*/
|
|
58
|
-
projection: string | string[];
|
|
59
|
-
/**
|
|
60
|
-
* @property excludedColumns
|
|
61
|
-
* @description Specifies the columns to exclude from the data table.
|
|
62
|
-
* @type {string[]}
|
|
63
|
-
*/
|
|
64
|
-
excludedColumns: Array<string>;
|
|
65
|
-
/**
|
|
66
|
-
* @property query
|
|
67
|
-
* @description The query parameters for fetching data from the server.
|
|
68
|
-
* @type {any}
|
|
69
|
-
*/
|
|
70
|
-
query: any;
|
|
71
|
-
/**
|
|
72
|
-
* @property dataSource
|
|
73
|
-
* @description The data source for the data table, managing the data displayed.
|
|
74
|
-
* @type {TableDataSource<TEntity, TService> | any}
|
|
75
|
-
*/
|
|
76
|
-
dataSource?: TableDataSource<TEntity, TService> | any;
|
|
77
|
-
/**
|
|
78
|
-
* @property items
|
|
79
|
-
* @description Initializes the items array as an optional array of entities.
|
|
80
|
-
* @type {TEntity[]}
|
|
81
|
-
*/
|
|
82
|
-
items?: TEntity[];
|
|
83
|
-
/**
|
|
84
|
-
* @property sortActive
|
|
85
|
-
* @description The currently active sort column in the data table.
|
|
86
|
-
* @type {string | undefined}
|
|
87
|
-
*/
|
|
88
|
-
sortActive?: string;
|
|
89
|
-
/**
|
|
90
|
-
* @property sortDirection
|
|
91
|
-
* @description The current sort direction for the data table. Default is 'asc'.
|
|
92
|
-
* @type {SortDirection}
|
|
93
|
-
*/
|
|
94
|
-
sortDirection: SortDirection;
|
|
95
|
-
/**
|
|
96
|
-
* @property classInstance
|
|
97
|
-
* @description An instance of the class used to create the table for a specific type of entity.
|
|
98
|
-
* @type {any}
|
|
99
|
-
*/
|
|
100
|
-
classInstance: any;
|
|
101
|
-
/**
|
|
102
|
-
* @property columns
|
|
103
|
-
* @description An array defining the table columns and their configuration.
|
|
104
|
-
* @type {TableColumn[]}
|
|
105
|
-
*/
|
|
106
|
-
columns: TableColumn[];
|
|
107
|
-
/**
|
|
108
|
-
* @property columnSets
|
|
109
|
-
* @description Used to display specific columns in the table.
|
|
110
|
-
* This array defines sets of columns that can be shown
|
|
111
|
-
* based on the active configuration, allowing for dynamic table
|
|
112
|
-
* column customization.
|
|
113
|
-
* @type {string[]}
|
|
114
|
-
*/
|
|
115
|
-
columnSets?: string[];
|
|
116
|
-
/**
|
|
117
|
-
* @property dynamicTable
|
|
118
|
-
* @description A reference to the dynamic table component.
|
|
119
|
-
* @type {VdDynamicTableComponent}
|
|
120
|
-
*/
|
|
121
|
-
dynamicTable?: VdDynamicTableComponent;
|
|
122
|
-
/**
|
|
123
|
-
* @property tableConfig
|
|
124
|
-
* @description Configuration object for the table, including query and column settings.
|
|
125
|
-
* @type {TableConfig}
|
|
126
|
-
*/
|
|
127
|
-
tableConfig: TableConfig;
|
|
128
|
-
/**
|
|
129
|
-
* @property addDialogType
|
|
130
|
-
* @description The type of the dialog used for creating new entries in the table.
|
|
131
|
-
* @type {any}
|
|
132
|
-
*/
|
|
133
|
-
addDialogType: any;
|
|
134
|
-
/**
|
|
135
|
-
* @property selectable
|
|
136
|
-
* @description If true, show the column 'Checkbox'.
|
|
137
|
-
* @type {boolean}
|
|
138
|
-
*/
|
|
139
|
-
selectable: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* @property addable
|
|
142
|
-
* @description If true, show the button 'Add'.
|
|
143
|
-
* @type {boolean}
|
|
144
|
-
*/
|
|
145
|
-
addable: boolean;
|
|
146
|
-
/**
|
|
147
|
-
* @property editable
|
|
148
|
-
* @description If true, show the menu 'Edit'.
|
|
149
|
-
* @type {boolean}
|
|
150
|
-
*/
|
|
151
|
-
editable: boolean;
|
|
152
|
-
/**
|
|
153
|
-
* @property deletable
|
|
154
|
-
* @description If true, show the menu 'Delete'.
|
|
155
|
-
* @type {boolean}
|
|
156
|
-
*/
|
|
157
|
-
deletable: boolean;
|
|
158
|
-
/**
|
|
159
|
-
* @property downloadable
|
|
160
|
-
* @description If true, show the menu 'Download'.
|
|
161
|
-
* @type {boolean}
|
|
162
|
-
*/
|
|
163
|
-
downloadable: boolean;
|
|
164
|
-
/**
|
|
165
|
-
* @property duplicable
|
|
166
|
-
* @description If true, show the menu 'Duplicate'.
|
|
167
|
-
* @type {boolean}
|
|
168
|
-
*/
|
|
169
|
-
duplicable: boolean;
|
|
170
|
-
/**
|
|
171
|
-
* @property configurable
|
|
172
|
-
* @description If true, show the menu 'Configure table'.
|
|
173
|
-
* @type {boolean}
|
|
174
|
-
*/
|
|
175
|
-
configurable: boolean;
|
|
176
|
-
/**
|
|
177
|
-
* @property exportable
|
|
178
|
-
* @description Determines if the table is exportable.
|
|
179
|
-
* @type {boolean}
|
|
180
|
-
*/
|
|
181
|
-
exportable?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
* @property exportFileName
|
|
184
|
-
* @description The name of the file to export.
|
|
185
|
-
* @type {string}
|
|
186
|
-
*/
|
|
187
|
-
exportFileName?: string;
|
|
188
|
-
/**
|
|
189
|
-
* @property sticky
|
|
190
|
-
* @description Flag to indicate whether the table headers or columns should stick
|
|
191
|
-
* to the viewport during scrolling.
|
|
192
|
-
* @type {boolean}
|
|
193
|
-
*/
|
|
194
|
-
sticky: boolean;
|
|
195
|
-
/**
|
|
196
|
-
* @property tableWidth
|
|
197
|
-
* @description Defines the overall width of the table.
|
|
198
|
-
* @type {number}
|
|
199
|
-
*/
|
|
200
|
-
tableWidth?: number;
|
|
201
|
-
/**
|
|
202
|
-
* @property rowNgClass
|
|
203
|
-
* @description A function to determine the dynamic CSS class for table rows.
|
|
204
|
-
* @type {(x: TEntity, ctx: any) => any}
|
|
205
|
-
*/
|
|
206
|
-
rowNgClass?: (x: TEntity, ctx: any) => any;
|
|
207
|
-
/**
|
|
208
|
-
* @property rowClick
|
|
209
|
-
* @description A function to handle row click events.
|
|
210
|
-
* @type {(x: TEntity, ctx: any) => any}
|
|
211
|
-
*/
|
|
212
|
-
rowClick?: (x: TEntity, ctx: any) => any;
|
|
213
|
-
/**
|
|
214
|
-
* @property onEdit
|
|
215
|
-
* @description A function to handle edit actions for a row.
|
|
216
|
-
* @type {(x: TEntity, ctx: any) => any}
|
|
217
|
-
*/
|
|
218
|
-
onEdit?: (x: TEntity, ctx: any) => any;
|
|
219
|
-
/**
|
|
220
|
-
* @property detailsTemplate
|
|
221
|
-
* @description Template string for displaying row details.
|
|
222
|
-
* @type {string}
|
|
223
|
-
*/
|
|
224
|
-
detailsTemplate?: string;
|
|
225
|
-
/**
|
|
226
|
-
* @property toolbarActions
|
|
227
|
-
* @description Array of toolbar action items.
|
|
228
|
-
* @type {ActionItem[]}
|
|
229
|
-
*/
|
|
230
|
-
toolbarActions: ActionItem[];
|
|
231
|
-
/**
|
|
232
|
-
* @property toolbarMenuItems
|
|
233
|
-
* @description Array of toolbar menu items for actions.
|
|
234
|
-
* @type {ActionItem<TEntity>[]}
|
|
235
|
-
*/
|
|
236
|
-
toolbarMenuItems: ActionItem<TEntity>[];
|
|
237
|
-
/**
|
|
238
|
-
* @property rowMenuItems
|
|
239
|
-
* @description Array of menu items for actions related to table rows.
|
|
240
|
-
* @type {ActionItem<TEntity>[]}
|
|
241
|
-
*/
|
|
242
|
-
rowMenuItems: ActionItem<TEntity>[];
|
|
243
|
-
/**
|
|
244
|
-
* @property backButton
|
|
245
|
-
* @description Adds a back button to the toolbar.
|
|
246
|
-
* @type {boolean}
|
|
247
|
-
*/
|
|
248
|
-
backButton: boolean;
|
|
249
|
-
/**
|
|
250
|
-
* @property dataLoadedSubscription
|
|
251
|
-
* @description Subscription to the DataLoaded event.
|
|
252
|
-
* @type {Subscription}
|
|
253
|
-
*/
|
|
254
|
-
protected dataLoadedSubscription?: Subscription;
|
|
255
|
-
/**
|
|
256
|
-
* @property configsKey
|
|
257
|
-
* @description The key used for storing table configurations.
|
|
258
|
-
* @type {string}
|
|
259
|
-
*/
|
|
260
|
-
protected configsKey: string;
|
|
261
|
-
/**
|
|
262
|
-
* Constructor for the table component.
|
|
263
|
-
* @param service The service used for managing table data.
|
|
264
|
-
* @param route ActivatedRoute for retrieving route information.
|
|
265
|
-
* @param changeDetectorRef ChangeDetectorRef for managing view updates.
|
|
266
|
-
* @param classType The class type of the table entity.
|
|
267
|
-
*/
|
|
268
|
-
constructor(service: TService, route: ActivatedRoute, changeDetectorRef: ChangeDetectorRef, classType?: {
|
|
269
|
-
new (): TEntity;
|
|
270
|
-
} | undefined);
|
|
271
|
-
/**
|
|
272
|
-
* Lifecycle hook that is called after data-bound properties
|
|
273
|
-
* of a directive are initialized.
|
|
274
|
-
*/
|
|
275
|
-
ngOnInit(): void;
|
|
276
|
-
/**
|
|
277
|
-
* @method connect
|
|
278
|
-
* @description Connects a collection viewer (such as a data table) to the data source.
|
|
279
|
-
* This method initializes the data source with static field filters and an optional path.
|
|
280
|
-
* It also subscribes to the data source to update the displayed items in the table.
|
|
281
|
-
* @param {any} staticFieldFilters - Optional static field filters to apply when connecting the data source.
|
|
282
|
-
* @param {string} [path] - Optional path for the data source connection.
|
|
283
|
-
* @returns {void}
|
|
284
|
-
*/
|
|
285
|
-
connect(staticFieldFilters?: any, path?: string): void;
|
|
286
|
-
/**
|
|
287
|
-
* Updates the table columns
|
|
288
|
-
*/
|
|
289
|
-
updateColumns(loadConfig?: boolean): void;
|
|
290
|
-
/**
|
|
291
|
-
* Reloads items
|
|
292
|
-
*/
|
|
293
|
-
loadList(resetSelection?: boolean): void;
|
|
294
|
-
/**
|
|
295
|
-
* Search
|
|
296
|
-
* @param filter
|
|
297
|
-
*/
|
|
298
|
-
search(filter: string): void;
|
|
299
|
-
/**
|
|
300
|
-
* Navigates to the add page.
|
|
301
|
-
*/
|
|
302
|
-
add(): void;
|
|
303
|
-
/**
|
|
304
|
-
* Navigates to the edit page.
|
|
305
|
-
* @param entity - The entity to be edited.
|
|
306
|
-
* @param context - Additional context data.
|
|
307
|
-
*/
|
|
308
|
-
edit(entity?: TEntity, context?: any): void;
|
|
309
|
-
/**
|
|
310
|
-
* Patches the entity
|
|
311
|
-
* Patches the entity
|
|
312
|
-
* @param id The ID of the entity
|
|
313
|
-
* @param fields The fields to patch
|
|
314
|
-
* @param value The (optional) value to change
|
|
315
|
-
* @param includes Includes some navigations
|
|
316
|
-
*/
|
|
317
|
-
patch(id: number, fields: Array<string>, value: any, includes?: any): void;
|
|
318
|
-
/**
|
|
319
|
-
* Patches the entity
|
|
320
|
-
* @param id The ID of the entity
|
|
321
|
-
* @param fields The fields to patch
|
|
322
|
-
* @param value The (optional) value to change
|
|
323
|
-
* @param includes Includes some navigations
|
|
324
|
-
* @param successCallback A callback function to e called on success
|
|
325
|
-
*/
|
|
326
|
-
protected _patch(id: number, fields: Array<string>, value: any, includes?: any, successCallback?: Function): void;
|
|
327
|
-
/**
|
|
328
|
-
* Deletes an item from the database.
|
|
329
|
-
*/
|
|
330
|
-
deleteItem(entity?: TEntity): void;
|
|
331
|
-
/**
|
|
332
|
-
* Deletes an item from the database.
|
|
333
|
-
*/
|
|
334
|
-
deleteItems(): void;
|
|
335
|
-
/**
|
|
336
|
-
* Toggles a property.
|
|
337
|
-
* This method supports both direct and nested properties.
|
|
338
|
-
*
|
|
339
|
-
* @param item - The object whose property will be toggled.
|
|
340
|
-
* @param property - The path to the property to toggle, which can be a nested property (e.g., 'profile.name').
|
|
341
|
-
*/
|
|
342
|
-
toggle(item: TEntity, property?: string): void;
|
|
343
|
-
/**
|
|
344
|
-
* Uploads tarnsfers csv files
|
|
345
|
-
* @param file The file to upload
|
|
346
|
-
* @param reload If true, reload items
|
|
347
|
-
*/
|
|
348
|
-
upload(file: File, reload?: boolean): void;
|
|
349
|
-
/**
|
|
350
|
-
* Downloads a document
|
|
351
|
-
* @param entity
|
|
352
|
-
*/
|
|
353
|
-
download(entity?: TEntity, path?: string): void;
|
|
354
|
-
/**
|
|
355
|
-
* Duplicates a record
|
|
356
|
-
* @param entity
|
|
357
|
-
*/
|
|
358
|
-
duplicate(entity?: TEntity): void;
|
|
359
|
-
/**
|
|
360
|
-
* This informs the table how to uniquely identify rows to
|
|
361
|
-
* track how the data changes with each update.
|
|
362
|
-
* @param index
|
|
363
|
-
* @param item
|
|
364
|
-
*/
|
|
365
|
-
trackById(_: number, item: any): any;
|
|
366
|
-
/**
|
|
367
|
-
* Opens the config dialog
|
|
368
|
-
*/
|
|
369
|
-
openConfigDialog(): void;
|
|
370
|
-
/**
|
|
371
|
-
* Opens the export dialog
|
|
372
|
-
*/
|
|
373
|
-
openExportDialog(): void;
|
|
374
|
-
/**
|
|
375
|
-
* Saves the table config
|
|
376
|
-
* @param tableConfig
|
|
377
|
-
*/
|
|
378
|
-
saveConfigs(tableConfig: TableConfig): void;
|
|
379
|
-
/**
|
|
380
|
-
* Gets and applies the table column configs
|
|
381
|
-
*/
|
|
382
|
-
loadColumnConfigs(): void;
|
|
383
|
-
/**
|
|
384
|
-
* Includes some navigations
|
|
385
|
-
* @param inc
|
|
386
|
-
*/
|
|
387
|
-
protected include(...inc: string[]): void;
|
|
388
|
-
/**
|
|
389
|
-
* Add toolbar menu items
|
|
390
|
-
*/
|
|
391
|
-
protected addToolbarMenuItems(): void;
|
|
392
|
-
/**
|
|
393
|
-
* Add row menu items
|
|
394
|
-
*/
|
|
395
|
-
protected addRowMenuItems(): void;
|
|
396
|
-
/**
|
|
397
|
-
* Determines if the given item can be selected.
|
|
398
|
-
*
|
|
399
|
-
* An item is considered selectable if:
|
|
400
|
-
* - It does not have the `selectable` property, or the property is `true`.
|
|
401
|
-
* - It does not have the `isSelectable` property, or the property is `true`.
|
|
402
|
-
*
|
|
403
|
-
* @param entity The item to check.
|
|
404
|
-
* @returns `true` if the item is selectable; otherwise, `false`.
|
|
405
|
-
*/
|
|
406
|
-
protected canSelectItem(entity?: TEntity): boolean;
|
|
407
|
-
/**
|
|
408
|
-
* Determines if the given item can be deleted.
|
|
409
|
-
*
|
|
410
|
-
* An item is considered deletable if:
|
|
411
|
-
* - The `canDelete` flag is `true`.
|
|
412
|
-
* - It does not have the `deletable` property, or the property is `true`.
|
|
413
|
-
* - It does not have the `isDeletable` property, or the property is `true`.
|
|
414
|
-
*
|
|
415
|
-
* @param entity The item to check.
|
|
416
|
-
* @returns `true` if the item is deletable; otherwise, `false`.
|
|
417
|
-
*/
|
|
418
|
-
protected canDeleteItem(entity?: TEntity): boolean;
|
|
419
|
-
/**
|
|
420
|
-
* Determines if the given item can be edited.
|
|
421
|
-
*
|
|
422
|
-
* An item is considered editable if:
|
|
423
|
-
* - The `canUpdate` flag is `true`.
|
|
424
|
-
* - It does not have the `editable` property, or the property is `true`.
|
|
425
|
-
* - It does not have the `isEditable` property, or the property is `true`.
|
|
426
|
-
*
|
|
427
|
-
* @param entity The item to check.
|
|
428
|
-
* @returns `true` if the item is editable; otherwise, `false`.
|
|
429
|
-
*/
|
|
430
|
-
protected canEditItem(entity?: TEntity): boolean;
|
|
431
|
-
/**
|
|
432
|
-
* Determines if the given item can be downloaded.
|
|
433
|
-
*
|
|
434
|
-
* An item is considered downloadable if:
|
|
435
|
-
* - It does not have the `downloadable` property, or the property is `true`.
|
|
436
|
-
* - It does not have the `isDownloadable` property, or the property is `true`.
|
|
437
|
-
*
|
|
438
|
-
* @param entity The item to check.
|
|
439
|
-
* @returns `true` if the item is downloadable; otherwise, `false`.
|
|
440
|
-
*/
|
|
441
|
-
protected canDownloadItem(entity?: TEntity): boolean;
|
|
442
|
-
/**
|
|
443
|
-
* Determines if the given item can be duplicated.
|
|
444
|
-
*
|
|
445
|
-
* An item is considered duplicable if:
|
|
446
|
-
* - It does not have the `duplicable` property, or the property is `true`.
|
|
447
|
-
* - It does not have the `isDuplicable` property, or the property is `true`.
|
|
448
|
-
*
|
|
449
|
-
* @param entity The item to check.
|
|
450
|
-
* @returns `true` if the item is duplicable; otherwise, `false`.
|
|
451
|
-
*/
|
|
452
|
-
protected canDuplicateItem(entity?: TEntity): boolean;
|
|
453
|
-
/**
|
|
454
|
-
* Returns NgClass object for select column
|
|
455
|
-
*/
|
|
456
|
-
protected selectRowNgClass(_: TEntity): any;
|
|
457
|
-
/**
|
|
458
|
-
* Check if the there any selected row
|
|
459
|
-
* @returns
|
|
460
|
-
*/
|
|
461
|
-
protected hasSelectedRows(): boolean;
|
|
462
|
-
/**
|
|
463
|
-
* Event emitted when the entity has been deleted.
|
|
464
|
-
*/
|
|
465
|
-
protected onAfterItemDeleted(item: IEntity): void;
|
|
466
|
-
/**
|
|
467
|
-
* Event emitted when the entities has been deleted.
|
|
468
|
-
*/
|
|
469
|
-
protected onAfterItemsDeleted(ids: number[]): void;
|
|
470
|
-
/**
|
|
471
|
-
* Checks if the user can perform multiple operations (Like 'delete selected').
|
|
472
|
-
* @param action
|
|
473
|
-
* @returns
|
|
474
|
-
*/
|
|
475
|
-
protected canExecuteMultipleOperations(action?: Function): boolean;
|
|
476
|
-
/**
|
|
477
|
-
* Gets the value of a nested property from an object.
|
|
478
|
-
*
|
|
479
|
-
* @param obj - The object to query.
|
|
480
|
-
* @param path - The path to the property, which can be delimited by a custom character (e.g., dot, slash).
|
|
481
|
-
* @param delimiter - The delimiter used to separate levels in the property path (default is '.').
|
|
482
|
-
* @returns - The value of the nested property or undefined if not found.
|
|
483
|
-
*/
|
|
484
|
-
protected getNestedProperty(obj: any, path: string, delimiter?: string): any;
|
|
485
|
-
/**
|
|
486
|
-
* Responds to user-initiated events
|
|
487
|
-
* @param event
|
|
488
|
-
*/
|
|
489
|
-
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
490
|
-
/**
|
|
491
|
-
* A callback used for any custom cleanup that needs to occur
|
|
492
|
-
* when the instance is destroyed.
|
|
493
|
-
*/
|
|
494
|
-
ngOnDestroy(): void;
|
|
495
|
-
/**
|
|
496
|
-
* The Symbol.toStringTag well-known symbol is a string valued property that is used
|
|
497
|
-
* in the creation of the default string description of an object
|
|
498
|
-
*/
|
|
499
|
-
get [Symbol.toStringTag](): string;
|
|
500
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenericListComponent<any, any>, never>;
|
|
501
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GenericListComponent<any, any>, never, never, { "backButton": { "alias": "backButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
502
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Type } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute } from '@angular/router';
|
|
4
|
-
import { IEntity } from '../../common/common.module';
|
|
5
|
-
import { FormBuilderConfiguration } from '../../form-validators/models';
|
|
6
|
-
import { PropValidationConfig } from '../../form-validators/models/prop-validation-config';
|
|
7
|
-
import { RxFormBuilder } from '../../form-validators/public_api';
|
|
8
|
-
import { GenericService } from '../../http/http.module';
|
|
9
|
-
import { IGenericReactiveFormBaseComponent } from '../interfaces/igeneric-reactive-form-base';
|
|
10
|
-
import { GenericFormBaseComponent } from './generic-form-base.component';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare abstract class GenericReactiveFormComponent<TEntity extends IEntity, TService extends GenericService<TEntity>> extends GenericFormBaseComponent<TEntity, TService> implements IGenericReactiveFormBaseComponent<TEntity> {
|
|
13
|
-
entityCtor: Type<TEntity>;
|
|
14
|
-
protected service: TService;
|
|
15
|
-
protected route: ActivatedRoute;
|
|
16
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
17
|
-
/**
|
|
18
|
-
* Form group
|
|
19
|
-
*/
|
|
20
|
-
get form(): FormGroup;
|
|
21
|
-
set form(form: FormGroup | undefined);
|
|
22
|
-
/**
|
|
23
|
-
* Form builder
|
|
24
|
-
*/
|
|
25
|
-
protected formBuilder: RxFormBuilder;
|
|
26
|
-
/**
|
|
27
|
-
* formBuilderConfig: FormBuilderConfiguration
|
|
28
|
-
*/
|
|
29
|
-
protected formBuilderConfig: FormBuilderConfiguration;
|
|
30
|
-
/**
|
|
31
|
-
* Gets form value
|
|
32
|
-
*/
|
|
33
|
-
get formValue(): TEntity | any;
|
|
34
|
-
/**
|
|
35
|
-
* formValidation: any
|
|
36
|
-
*/
|
|
37
|
-
formValidation?: {
|
|
38
|
-
[key: string]: PropValidationConfig;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* buildFieldGroups: boolean
|
|
42
|
-
* Builds field groups, if true
|
|
43
|
-
*/
|
|
44
|
-
buildFieldGroups: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Constructor
|
|
47
|
-
* @param service
|
|
48
|
-
*/
|
|
49
|
-
constructor(entityCtor: Type<TEntity>, service: TService, route: ActivatedRoute, changeDetectorRef: ChangeDetectorRef);
|
|
50
|
-
/**
|
|
51
|
-
* Builds a new form
|
|
52
|
-
*/
|
|
53
|
-
protected buildForm(): void;
|
|
54
|
-
/**
|
|
55
|
-
* Event emitted when the form has built.
|
|
56
|
-
*/
|
|
57
|
-
protected onAfterFormBuild(): void;
|
|
58
|
-
/**
|
|
59
|
-
* Shows form errors
|
|
60
|
-
* @param form
|
|
61
|
-
*/
|
|
62
|
-
protected debugForm(form?: FormGroup): void;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GenericReactiveFormComponent<any, any>, never>;
|
|
64
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<GenericReactiveFormComponent<any, any>, never, never, { "form": { "alias": "form"; "required": false; }; }, {}, never, never, true, never>;
|
|
65
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { TaskDialogData } from '../../models/task-dialog-data';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class VdTaskDialogComponent implements AfterViewInit, OnDestroy {
|
|
6
|
-
private dialogRef;
|
|
7
|
-
protected data: TaskDialogData<any>;
|
|
8
|
-
/**
|
|
9
|
-
* The message content displayed within the dialog.
|
|
10
|
-
* @type {string | undefined}
|
|
11
|
-
*/
|
|
12
|
-
content?: string;
|
|
13
|
-
/**
|
|
14
|
-
* The result of the task, if available.
|
|
15
|
-
* @type {any}
|
|
16
|
-
*/
|
|
17
|
-
result?: any;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates whether the task is currently in progress.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
*/
|
|
22
|
-
inProgress: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Indicates if the task completed successfully.
|
|
25
|
-
* @type {boolean}
|
|
26
|
-
*/
|
|
27
|
-
succeeded: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Subject to manage task cancellation and component cleanup.
|
|
30
|
-
* @type {Subject<void>}
|
|
31
|
-
*/
|
|
32
|
-
private unsubscribe;
|
|
33
|
-
/**
|
|
34
|
-
* Constructor
|
|
35
|
-
* @param {MatDialogRef<VdTaskDialogComponent>} dialogRef - Reference to the dialog instance.
|
|
36
|
-
* @param {TaskDialogData<any>} data - Data passed into the dialog.
|
|
37
|
-
*/
|
|
38
|
-
constructor(dialogRef: MatDialogRef<VdTaskDialogComponent>, data: TaskDialogData<any>);
|
|
39
|
-
/**
|
|
40
|
-
* Lifecycle hook after view initialization.
|
|
41
|
-
* Subscribes to the task observable and handles success or error callbacks.
|
|
42
|
-
*/
|
|
43
|
-
ngAfterViewInit(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Cancels the task and closes the dialog without any result.
|
|
46
|
-
*/
|
|
47
|
-
cancel(): void;
|
|
48
|
-
/**
|
|
49
|
-
* Closes the dialog without any result.
|
|
50
|
-
*/
|
|
51
|
-
close(): void;
|
|
52
|
-
/**
|
|
53
|
-
* Closes the dialog and returns the task result on success.
|
|
54
|
-
*/
|
|
55
|
-
success(): void;
|
|
56
|
-
/**
|
|
57
|
-
* Lifecycle hook for component cleanup on destruction.
|
|
58
|
-
* Ensures that any ongoing task is cancelled.
|
|
59
|
-
*/
|
|
60
|
-
ngOnDestroy(): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdTaskDialogComponent, never>;
|
|
62
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdTaskDialogComponent, "vd-task-dialog", never, {}, {}, never, never, false, never>;
|
|
63
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from "@angular/core";
|
|
2
|
-
export declare const EXPORT_DIALOG_COMPONENT: InjectionToken<string>;
|
|
3
|
-
export declare const Common: {
|
|
4
|
-
allowedExtensions: string[];
|
|
5
|
-
editorPlugins: string;
|
|
6
|
-
editorToolbar: string;
|
|
7
|
-
months: {
|
|
8
|
-
name: string;
|
|
9
|
-
id: number;
|
|
10
|
-
}[];
|
|
11
|
-
postalCodePattern: (country: string) => RegExp | "";
|
|
12
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AuthUser } from "../models/auth-user";
|
|
2
|
-
export declare class AuthHelper {
|
|
3
|
-
/**
|
|
4
|
-
* Authenticated user
|
|
5
|
-
*/
|
|
6
|
-
static user: AuthUser;
|
|
7
|
-
/**
|
|
8
|
-
* Checks if the current user is authenticated
|
|
9
|
-
*/
|
|
10
|
-
static isAuthenticated(): boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Checks if the user has the specified permission
|
|
13
|
-
* @param permission The permission to check
|
|
14
|
-
*/
|
|
15
|
-
static isPermitted(...permissions: string[]): boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Checks if the current user has on of the specified roles
|
|
18
|
-
* @param roles
|
|
19
|
-
*/
|
|
20
|
-
static hasRole(...roles: string[]): boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Checks if the specified variable is a string
|
|
23
|
-
* @param str
|
|
24
|
-
*/
|
|
25
|
-
static isString(str: any): str is string | String;
|
|
26
|
-
}
|