@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,228 +0,0 @@
|
|
|
1
|
-
import { CollectionViewer, SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { DataSource } from '@angular/cdk/table';
|
|
3
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
|
-
import { MatPaginator } from '@angular/material/paginator';
|
|
5
|
-
import { MatSort } from '@angular/material/sort';
|
|
6
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
-
import { GenericService } from '../http/services/generic.service';
|
|
8
|
-
import { Facet } from './models/facet';
|
|
9
|
-
/**
|
|
10
|
-
* A generic datasource for data-table
|
|
11
|
-
*/
|
|
12
|
-
export declare class TableDataSource<TEntity, TService extends GenericService<TEntity>> extends DataSource<TEntity> {
|
|
13
|
-
service: TService;
|
|
14
|
-
paginator?: MatPaginator | undefined;
|
|
15
|
-
sorter?: MatSort | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* @property _filterChange
|
|
18
|
-
* @description Represents a value that changes over time.
|
|
19
|
-
* Observers can subscribe to this BehaviorSubject to receive filter changes.
|
|
20
|
-
* @type {BehaviorSubject<string>}
|
|
21
|
-
*/
|
|
22
|
-
private _filterChange;
|
|
23
|
-
/**
|
|
24
|
-
* @property _reloadChange
|
|
25
|
-
* @description Represents a value that triggers reload actions.
|
|
26
|
-
* It is used to notify when a reload should occur by emitting a new value.
|
|
27
|
-
* @type {BehaviorSubject<number>}
|
|
28
|
-
*/
|
|
29
|
-
_reloadChange: BehaviorSubject<number>;
|
|
30
|
-
/**
|
|
31
|
-
* @property onDataLoaded
|
|
32
|
-
* @description Event emitted after the data is loaded.
|
|
33
|
-
* It is a BehaviorSubject that holds pagination data or a null value if no data is loaded.
|
|
34
|
-
* @type {BehaviorSubject<Pagination<TEntity> | any>}
|
|
35
|
-
*/
|
|
36
|
-
onDataLoaded: BehaviorSubject<any>;
|
|
37
|
-
/**
|
|
38
|
-
* @property selectionModel
|
|
39
|
-
* @description Used to power selecting one or more options from a list.
|
|
40
|
-
* @type {SelectionModel<TEntity>}
|
|
41
|
-
*/
|
|
42
|
-
selectionModel: SelectionModel<TEntity>;
|
|
43
|
-
/**
|
|
44
|
-
* @property filter
|
|
45
|
-
* @description Gets the current filter applied to the data.
|
|
46
|
-
* @type {string}
|
|
47
|
-
*/
|
|
48
|
-
get filter(): string;
|
|
49
|
-
/**
|
|
50
|
-
* @property filter
|
|
51
|
-
* @description Sets the filter and resets the page index if the paginator exists.
|
|
52
|
-
* @param {string} filter - The filter value to be applied.
|
|
53
|
-
*/
|
|
54
|
-
set filter(filter: string);
|
|
55
|
-
/**
|
|
56
|
-
* @property onSortChange
|
|
57
|
-
* @description Sort change event emitter used to notify changes in sorting.
|
|
58
|
-
* @type {EventEmitter<Sort>}
|
|
59
|
-
*/
|
|
60
|
-
private onSortChange;
|
|
61
|
-
/**
|
|
62
|
-
* @property _sort
|
|
63
|
-
* @description Private instance of MatSort used to control the sorting of the table.
|
|
64
|
-
* @type {MatSort | null}
|
|
65
|
-
*/
|
|
66
|
-
private _sort?;
|
|
67
|
-
/**
|
|
68
|
-
* @property sort
|
|
69
|
-
* @description Gets or sets the MatSort instance used to control the sorting of the table.
|
|
70
|
-
* Changes in sorting will trigger an update to the table’s rendered data.
|
|
71
|
-
* @type {MatSort | undefined}
|
|
72
|
-
*/
|
|
73
|
-
get sort(): MatSort | undefined;
|
|
74
|
-
set sort(sort: MatSort | undefined);
|
|
75
|
-
/**
|
|
76
|
-
* @property reloadToken
|
|
77
|
-
* @description Gets the current reload token, used to trigger reload events.
|
|
78
|
-
* @type {number}
|
|
79
|
-
*/
|
|
80
|
-
get reloadToken(): number;
|
|
81
|
-
/**
|
|
82
|
-
* @property isConnected
|
|
83
|
-
* @description Flag indicating whether the data source is connected.
|
|
84
|
-
* @type {boolean}
|
|
85
|
-
*/
|
|
86
|
-
isConnected: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* @property includes
|
|
89
|
-
* @description The list of navigations to be included in the data query.
|
|
90
|
-
* @type {Array<string>}
|
|
91
|
-
*/
|
|
92
|
-
includes: Array<string>;
|
|
93
|
-
/**
|
|
94
|
-
* @property path
|
|
95
|
-
* @description The endpoint path for the data source.
|
|
96
|
-
* @type {string | undefined}
|
|
97
|
-
*/
|
|
98
|
-
path?: string;
|
|
99
|
-
/**
|
|
100
|
-
* @property projection
|
|
101
|
-
* @description Defines the fields to be included in the data query projection.
|
|
102
|
-
* @type {string | string[]}
|
|
103
|
-
*/
|
|
104
|
-
projection: string | string[];
|
|
105
|
-
/**
|
|
106
|
-
* @property items
|
|
107
|
-
* @description The list of items to be displayed in the data table.
|
|
108
|
-
* @type {TEntity[]}
|
|
109
|
-
*/
|
|
110
|
-
items: TEntity[];
|
|
111
|
-
/**
|
|
112
|
-
* @property parameters
|
|
113
|
-
* @description The parameters for pagination and sorting.
|
|
114
|
-
* @type {any}
|
|
115
|
-
*/
|
|
116
|
-
parameters?: any;
|
|
117
|
-
/**
|
|
118
|
-
* @property facets
|
|
119
|
-
* @description The list of facets for filtering items.
|
|
120
|
-
* @type {Facet[] | undefined}
|
|
121
|
-
*/
|
|
122
|
-
facets?: Facet[];
|
|
123
|
-
/**
|
|
124
|
-
* @property fieldFilters
|
|
125
|
-
* @description A set of field filters applied to the data.
|
|
126
|
-
* @type {any}
|
|
127
|
-
*/
|
|
128
|
-
fieldFilters: any;
|
|
129
|
-
/**
|
|
130
|
-
* @property fieldOperators
|
|
131
|
-
* @description A set of field operators used for filtering.
|
|
132
|
-
* @type {any}
|
|
133
|
-
*/
|
|
134
|
-
fieldOperators: any;
|
|
135
|
-
/**
|
|
136
|
-
* @property staticFieldFilters
|
|
137
|
-
* @description A set of static field filters applied to the data.
|
|
138
|
-
* @type {any}
|
|
139
|
-
*/
|
|
140
|
-
staticFieldFilters: any;
|
|
141
|
-
/**
|
|
142
|
-
* @property pageIndex
|
|
143
|
-
* @description The current page index for pagination.
|
|
144
|
-
* @type {number}
|
|
145
|
-
*/
|
|
146
|
-
pageIndex: number;
|
|
147
|
-
/**
|
|
148
|
-
* @property total
|
|
149
|
-
* @description The current total number of items being paged.
|
|
150
|
-
* @type {number}
|
|
151
|
-
*/
|
|
152
|
-
total: number;
|
|
153
|
-
/**
|
|
154
|
-
* @property pageSize
|
|
155
|
-
* @description The number of items displayed per page in the data-table.
|
|
156
|
-
* It controls how many records are shown on a single page.
|
|
157
|
-
* @type {number}
|
|
158
|
-
*/
|
|
159
|
-
pageSize: number;
|
|
160
|
-
/**
|
|
161
|
-
* @property pageCount
|
|
162
|
-
* @description The total number of pages based on pagination.
|
|
163
|
-
* @type {number}
|
|
164
|
-
*/
|
|
165
|
-
pageCount: number;
|
|
166
|
-
/**
|
|
167
|
-
* @property isLoading
|
|
168
|
-
* @description Flag to show the loading process when the data is being fetched.
|
|
169
|
-
* @type {boolean}
|
|
170
|
-
*/
|
|
171
|
-
isLoading: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* @constructor
|
|
174
|
-
* @description Initializes a new instance of the class and sets up the service, paginator, and sorter.
|
|
175
|
-
* The paginator and sorter are optional parameters used for handling pagination and sorting logic
|
|
176
|
-
* for the data displayed in the table.
|
|
177
|
-
* @param {TService} service - The service used for fetching and managing data.
|
|
178
|
-
* @param {MatPaginator} [paginator] - The paginator instance used for pagination functionality.
|
|
179
|
-
* @param {MatSort} [sorter] - The MatSort instance used for sorting functionality.
|
|
180
|
-
*/
|
|
181
|
-
constructor(service: TService, paginator?: MatPaginator | undefined, sorter?: MatSort | undefined);
|
|
182
|
-
/**
|
|
183
|
-
* Connects a collection viewer (such as a data-table) to this data source.
|
|
184
|
-
* @param _ The component that exposes a view over the data provided by this
|
|
185
|
-
* data source.
|
|
186
|
-
* @returns Observable that emits a new value when the data changes.
|
|
187
|
-
*/
|
|
188
|
-
connect(_?: CollectionViewer): Observable<TEntity[]>;
|
|
189
|
-
/**
|
|
190
|
-
* Disconnects a collection viewer (such as a data-table) from this data source. Can be used
|
|
191
|
-
* to perform any clean-up or tear-down operations when a view is being destroyed.
|
|
192
|
-
*
|
|
193
|
-
* @param _ The component that exposes a view over the data provided by this
|
|
194
|
-
* data source.
|
|
195
|
-
*/
|
|
196
|
-
disconnect(_: CollectionViewer): void;
|
|
197
|
-
/**
|
|
198
|
-
* Reloads items
|
|
199
|
-
* @param clearSelection
|
|
200
|
-
*/
|
|
201
|
-
reload(clearSelection?: boolean): void;
|
|
202
|
-
/**
|
|
203
|
-
* Clears field filters
|
|
204
|
-
*/
|
|
205
|
-
applyFilters(newFilters?: any): void;
|
|
206
|
-
/**
|
|
207
|
-
* Clears field filters
|
|
208
|
-
*/
|
|
209
|
-
clearFilters(newFilters?: any): void;
|
|
210
|
-
/**
|
|
211
|
-
* Checks, whether all items are selected
|
|
212
|
-
*/
|
|
213
|
-
isAllSelected(): boolean;
|
|
214
|
-
/**
|
|
215
|
-
* Toggles selected items
|
|
216
|
-
* @param checkbox
|
|
217
|
-
* @param predicate
|
|
218
|
-
*/
|
|
219
|
-
toggleSelect(checkbox: MatCheckboxChange, predicate?: (value: TEntity, index: number, array: TEntity[]) => unknown): void;
|
|
220
|
-
/**
|
|
221
|
-
* Get selected Items
|
|
222
|
-
*/
|
|
223
|
-
getSelected: <TType>(key: string) => TType[];
|
|
224
|
-
/**
|
|
225
|
-
* Get selected Items
|
|
226
|
-
*/
|
|
227
|
-
getSelectedIds: () => number[];
|
|
228
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { VdDynamicTableComponent } from './components/dynamic-table/dynamic-table.component';
|
|
2
|
-
import { FilterClearComponent } from './components/filter-clear/filter-clear.component';
|
|
3
|
-
import { FilterDateComponent } from './components/filter-date/filter-date.component';
|
|
4
|
-
import { FilterInputComponent } from './components/filter-input/filter-input.component';
|
|
5
|
-
import { FilterSelectComponent, VdFilterOptionDirective } from './components/filter-select/filter-select.component';
|
|
6
|
-
import { DataSourceFilterDirective } from './directives/data-source-filter.directive';
|
|
7
|
-
import { VdTableFieldDirective } from './directives/vd-table-field.directive';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "./components/filter-input/filter-input.component";
|
|
10
|
-
import * as i2 from "./components/filter-select/filter-select.component";
|
|
11
|
-
import * as i3 from "./components/filter-clear/filter-clear.component";
|
|
12
|
-
import * as i4 from "./components/filter-date/filter-date.component";
|
|
13
|
-
import * as i5 from "./directives/data-source-filter.directive";
|
|
14
|
-
import * as i6 from "./components/dynamic-table/dynamic-table.component";
|
|
15
|
-
import * as i7 from "./directives/vd-table-field.directive";
|
|
16
|
-
import * as i8 from "@angular/common";
|
|
17
|
-
import * as i9 from "../layout/layout.module";
|
|
18
|
-
import * as i10 from "../common/common.module";
|
|
19
|
-
import * as i11 from "../select/select.module";
|
|
20
|
-
import * as i12 from "@angular/forms";
|
|
21
|
-
import * as i13 from "@angular/material/button";
|
|
22
|
-
import * as i14 from "@angular/material/form-field";
|
|
23
|
-
import * as i15 from "@angular/material/select";
|
|
24
|
-
import * as i16 from "@angular/material/icon";
|
|
25
|
-
import * as i17 from "@angular/material/input";
|
|
26
|
-
import * as i18 from "@angular/material/datepicker";
|
|
27
|
-
import * as i19 from "@angular/material/table";
|
|
28
|
-
import * as i20 from "@angular/material/sort";
|
|
29
|
-
import * as i21 from "@angular/cdk/table";
|
|
30
|
-
import * as i22 from "@angular/material/progress-bar";
|
|
31
|
-
import * as i23 from "@angular/material/checkbox";
|
|
32
|
-
import * as i24 from "@angular/material/menu";
|
|
33
|
-
import * as i25 from "@angular/material/slide-toggle";
|
|
34
|
-
import * as i26 from "@angular/material/paginator";
|
|
35
|
-
import * as i27 from "@angular/material/tooltip";
|
|
36
|
-
import * as i28 from "@angular/material/toolbar";
|
|
37
|
-
import * as i29 from "@angular/material/chips";
|
|
38
|
-
export { tableColumnsMetadataKey, tableDefinitionMetadataKey } from './constants/constants';
|
|
39
|
-
export { Grid } from './enums/grid';
|
|
40
|
-
export { TableColumnType } from './enums/table-column-type';
|
|
41
|
-
export { Column, ColumnObject, Table } from './functions/decorators';
|
|
42
|
-
export { getTableDefinition } from './functions/functions';
|
|
43
|
-
export { Facet } from './models/facet';
|
|
44
|
-
export { FacetValue } from './models/facet-value';
|
|
45
|
-
export { Pagination } from './models/pagination';
|
|
46
|
-
export { TableColumn } from './models/table-column';
|
|
47
|
-
export { TableColumnConfig } from './models/table-column-config';
|
|
48
|
-
export { TableConfig } from './models/table-config';
|
|
49
|
-
export { TableDefinition } from './models/table-definition';
|
|
50
|
-
export { TableQueryConfig } from './models/table-query-config';
|
|
51
|
-
export { TableDataSource } from './table.data-source';
|
|
52
|
-
export { TableStaticDataSource } from './table.static-data-source';
|
|
53
|
-
export { DataSourceFilterDirective, FilterClearComponent, FilterDateComponent, FilterInputComponent, FilterSelectComponent, VdDynamicTableComponent, VdFilterOptionDirective, VdTableFieldDirective };
|
|
54
|
-
export declare class VdTableModule {
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<VdTableModule, never>;
|
|
56
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<VdTableModule, [typeof i1.FilterInputComponent, typeof i2.FilterSelectComponent, typeof i3.FilterClearComponent, typeof i4.FilterDateComponent, typeof i5.DataSourceFilterDirective, typeof i2.VdFilterOptionDirective, typeof i6.VdDynamicTableComponent, typeof i7.VdTableFieldDirective], [typeof i8.CommonModule, typeof i9.VdLayoutModule, typeof i10.VdCommonModule, typeof i11.VdSelectModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.MatButtonModule, typeof i14.MatFormFieldModule, typeof i15.MatSelectModule, typeof i16.MatIconModule, typeof i17.MatInputModule, typeof i18.MatDatepickerModule, typeof i19.MatTableModule, typeof i20.MatSortModule, typeof i21.CdkTableModule, typeof i22.MatProgressBarModule, typeof i23.MatCheckboxModule, typeof i13.MatButtonModule, typeof i24.MatMenuModule, typeof i25.MatSlideToggleModule, typeof i26.MatPaginatorModule, typeof i27.MatTooltipModule, typeof i28.MatToolbarModule, typeof i29.MatChipsModule, typeof i27.MatTooltipModule], [typeof i1.FilterInputComponent, typeof i2.FilterSelectComponent, typeof i3.FilterClearComponent, typeof i4.FilterDateComponent, typeof i5.DataSourceFilterDirective, typeof i2.VdFilterOptionDirective, typeof i6.VdDynamicTableComponent, typeof i7.VdTableFieldDirective]>;
|
|
57
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<VdTableModule>;
|
|
58
|
-
}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
3
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
-
import { BehaviorSubject } from 'rxjs';
|
|
5
|
-
/**
|
|
6
|
-
* A generic datasource class for working with data-tables in Angular Material.
|
|
7
|
-
* This class extends MatTableDataSource to provide additional functionality like
|
|
8
|
-
* selection management, pagination, and filtering.
|
|
9
|
-
*/
|
|
10
|
-
export declare class TableStaticDataSource<TEntity> extends MatTableDataSource<TEntity> {
|
|
11
|
-
/**
|
|
12
|
-
* @property _reloadChange
|
|
13
|
-
* @description A BehaviorSubject that triggers a reload of the table data.
|
|
14
|
-
* The value is used as a reload token, ensuring the data is reloaded when it changes.
|
|
15
|
-
* @type {BehaviorSubject<number>}
|
|
16
|
-
*/
|
|
17
|
-
_reloadChange: BehaviorSubject<number>;
|
|
18
|
-
/**
|
|
19
|
-
* @property onDataLoaded
|
|
20
|
-
* @description A BehaviorSubject that holds the loaded data or pagination information.
|
|
21
|
-
* This is emitted after the data is successfully loaded, providing a mechanism
|
|
22
|
-
* to track the loading state and any updates to the data.
|
|
23
|
-
* @type {BehaviorSubject<Pagination<TEntity> | any>}
|
|
24
|
-
*/
|
|
25
|
-
onDataLoaded: BehaviorSubject<any>;
|
|
26
|
-
/**
|
|
27
|
-
* @property items
|
|
28
|
-
* @description The list of items to be displayed in the data table.
|
|
29
|
-
* @type {TEntity[]}
|
|
30
|
-
*/
|
|
31
|
-
items: TEntity[];
|
|
32
|
-
/**
|
|
33
|
-
* @property selectionModel
|
|
34
|
-
* @description A SelectionModel to handle selection of one or more items from the data-table.
|
|
35
|
-
* It allows managing the selected items in the table and supports multiple selection.
|
|
36
|
-
* @type {SelectionModel<TEntity>}
|
|
37
|
-
*/
|
|
38
|
-
selectionModel: SelectionModel<TEntity>;
|
|
39
|
-
/**
|
|
40
|
-
* @property reloadToken
|
|
41
|
-
* @description A getter to return the current reload token.
|
|
42
|
-
* The reload token is used to trigger reloading of data.
|
|
43
|
-
* @type {number}
|
|
44
|
-
*/
|
|
45
|
-
get reloadToken(): number;
|
|
46
|
-
/**
|
|
47
|
-
* @property fieldFilters
|
|
48
|
-
* @description An object used to store filters for specific fields in the data-table.
|
|
49
|
-
* It allows filtering of data based on specific field values.
|
|
50
|
-
* @type {any}
|
|
51
|
-
*/
|
|
52
|
-
fieldFilters: any;
|
|
53
|
-
/**
|
|
54
|
-
* @property fieldOperators
|
|
55
|
-
* @description An object that stores operators to be applied on fields for filtering.
|
|
56
|
-
* It allows complex filtering operations (e.g., equals, contains, greater than).
|
|
57
|
-
* @type {any}
|
|
58
|
-
*/
|
|
59
|
-
fieldOperators: any;
|
|
60
|
-
/**
|
|
61
|
-
* @property staticFieldFilters
|
|
62
|
-
* @description An object to store static filters that are applied to the data-table.
|
|
63
|
-
* These filters are not dynamically set by the user but are always active.
|
|
64
|
-
* @type {any}
|
|
65
|
-
*/
|
|
66
|
-
staticFieldFilters: any;
|
|
67
|
-
/**
|
|
68
|
-
* @property pageIndex
|
|
69
|
-
* @description The index of the current page being viewed in the data-table.
|
|
70
|
-
* It starts from 0 and increments with each page change.
|
|
71
|
-
* @type {number}
|
|
72
|
-
*/
|
|
73
|
-
pageIndex: number;
|
|
74
|
-
/**
|
|
75
|
-
* @property total
|
|
76
|
-
* @description The total number of items in the data source.
|
|
77
|
-
* This is typically used to calculate pagination.
|
|
78
|
-
* @type {number}
|
|
79
|
-
*/
|
|
80
|
-
total: number;
|
|
81
|
-
/**
|
|
82
|
-
* @property pageSize
|
|
83
|
-
* @description The number of items displayed per page in the data-table.
|
|
84
|
-
* It controls how many records are shown on a single page.
|
|
85
|
-
* @type {number}
|
|
86
|
-
*/
|
|
87
|
-
pageSize: number;
|
|
88
|
-
/**
|
|
89
|
-
* @property pageCount
|
|
90
|
-
* @description The total number of pages based on the current page size and total items.
|
|
91
|
-
* This is calculated dynamically whenever data changes.
|
|
92
|
-
* @type {number}
|
|
93
|
-
*/
|
|
94
|
-
pageCount: number;
|
|
95
|
-
/**
|
|
96
|
-
* @property isLoading
|
|
97
|
-
* @description A flag indicating whether the data is currently being loaded.
|
|
98
|
-
* It is used to show a loading spinner or indicator while data is being fetched.
|
|
99
|
-
* @type {boolean}
|
|
100
|
-
*/
|
|
101
|
-
isLoading: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* @method reload
|
|
104
|
-
* @description Reloads the table data by triggering a new random reload token.
|
|
105
|
-
* Optionally clears the selection if the `clearSelection` flag is set to true.
|
|
106
|
-
* @param {boolean} clearSelection - If true, clears the current selection after reload.
|
|
107
|
-
*/
|
|
108
|
-
reload(clearSelection?: boolean): void;
|
|
109
|
-
/**
|
|
110
|
-
* @method connect
|
|
111
|
-
* @description Called when the MatTable connects to the data source.
|
|
112
|
-
* This method subscribes to the reload token to trigger a filter update and data refresh.
|
|
113
|
-
* @docs-private
|
|
114
|
-
* @returns {BehaviorSubject<TEntity[]>} A BehaviorSubject containing the current data array.
|
|
115
|
-
*/
|
|
116
|
-
connect(): BehaviorSubject<TEntity[]>;
|
|
117
|
-
/**
|
|
118
|
-
* @method clearFilters
|
|
119
|
-
* @description Clears all current field filters and resets pagination to the first page.
|
|
120
|
-
* Optionally accepts new filters to replace the existing ones.
|
|
121
|
-
* @param {any} newFilters - New filters to apply after clearing the previous ones.
|
|
122
|
-
*/
|
|
123
|
-
clearFilters(newFilters?: any): void;
|
|
124
|
-
/**
|
|
125
|
-
* @method isAllSelected
|
|
126
|
-
* @description Checks if all items in the current page are selected.
|
|
127
|
-
* @returns {boolean} True if all items are selected, false otherwise.
|
|
128
|
-
*/
|
|
129
|
-
isAllSelected(): boolean;
|
|
130
|
-
/**
|
|
131
|
-
* @method toggleSelect
|
|
132
|
-
* @description Toggles the selection of all items in the current page.
|
|
133
|
-
* If items are already selected, they are cleared. If not, they are selected.
|
|
134
|
-
* @param {MatCheckboxChange} checkbox - The checkbox change event.
|
|
135
|
-
* @param {Function} predicate - Optional predicate to filter the items before selection.
|
|
136
|
-
*/
|
|
137
|
-
toggleSelect(checkbox: MatCheckboxChange, predicate?: (value: TEntity, index: number, array: TEntity[]) => unknown): void;
|
|
138
|
-
/**
|
|
139
|
-
* @method getSelected
|
|
140
|
-
* @description Retrieves the selected items based on a specific key (e.g., 'id').
|
|
141
|
-
* @param {string} key - The key to extract from the selected items.
|
|
142
|
-
* @returns {TType[]} An array of selected items.
|
|
143
|
-
*/
|
|
144
|
-
getSelected: <TType>(key?: string) => TType[];
|
|
145
|
-
}
|
package/public_api.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './lib/base/public_api';
|
|
2
|
-
export * from './lib/chips/public_api';
|
|
3
|
-
export * from './lib/common/public_api';
|
|
4
|
-
export * from './lib/dialogs/public_api';
|
|
5
|
-
export * from './lib/file/public_api';
|
|
6
|
-
export * from './lib/form-validators/public_api';
|
|
7
|
-
export * from './lib/forms/public_api';
|
|
8
|
-
export * from './lib/http/public_api';
|
|
9
|
-
export * from './lib/layout/public_api';
|
|
10
|
-
export * from './lib/list/public_api';
|
|
11
|
-
export * from './lib/media/public_api';
|
|
12
|
-
export * from './lib/menu/public_api';
|
|
13
|
-
export * from './lib/search/public_api';
|
|
14
|
-
export * from './lib/select/public_api';
|
|
15
|
-
export * from './lib/table/public_api';
|