shared-ui-test-1 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/breadcrumbs.const.d.ts +1 -0
- package/constants/query-design-custom-class.constant.d.ts +1 -0
- package/core/directive/authorize.directive.d.ts +14 -0
- package/core/interfaces/filters.api.interface.d.ts +32 -0
- package/core/models/menu-elements-dto.d.ts +21 -0
- package/core/services/local-storage.service.d.ts +34 -0
- package/core/services/user-management.service.d.ts +39 -0
- package/core/site/services/support-util.service.d.ts +18 -0
- package/core/token/client-injection-token.d.ts +2 -0
- package/core/utils/sql-to-filter-datatype-converter.d.ts +2 -0
- package/core/utils/type-checks.utils.d.ts +10 -0
- package/core/utils/uuid-generator.utils.d.ts +1 -0
- package/directives/let.directive.d.ts +25 -0
- package/directives/remove-cancel-button.directive.d.ts +10 -0
- package/enums/action-types.enum.d.ts +16 -0
- package/enums/sort-direction.enum.d.ts +4 -0
- package/enums/source-types.enum.d.ts +4 -0
- package/enums/tooltips-prop.enum.d.ts +31 -0
- package/esm2022/constants/breadcrumbs.const.mjs +2 -0
- package/esm2022/constants/query-design-custom-class.constant.mjs +2 -0
- package/esm2022/core/directive/authorize.directive.mjs +37 -0
- package/esm2022/core/interfaces/filters.api.interface.mjs +12 -0
- package/esm2022/core/models/menu-elements-dto.mjs +2 -0
- package/esm2022/core/services/local-storage.service.mjs +55 -0
- package/esm2022/core/services/user-management.service.mjs +97 -0
- package/esm2022/core/site/services/support-util.service.mjs +55 -0
- package/esm2022/core/token/client-injection-token.mjs +3 -0
- package/esm2022/core/utils/sql-to-filter-datatype-converter.mjs +37 -0
- package/esm2022/core/utils/type-checks.utils.mjs +34 -0
- package/esm2022/core/utils/uuid-generator.utils.mjs +8 -0
- package/esm2022/directives/let.directive.mjs +48 -0
- package/esm2022/directives/remove-cancel-button.directive.mjs +23 -0
- package/esm2022/enums/action-types.enum.mjs +18 -0
- package/esm2022/enums/sort-direction.enum.mjs +6 -0
- package/esm2022/enums/source-types.enum.mjs +6 -0
- package/esm2022/enums/tooltips-prop.enum.mjs +33 -0
- package/esm2022/modules/dynamic-cards/directives/flip-card.directive.mjs +44 -0
- package/esm2022/modules/dynamic-cards/dynamic-card/card-list-container/card-list-container.component.mjs +20 -0
- package/esm2022/modules/dynamic-cards/dynamic-card/dynamic-card/dynamic-card.component.mjs +19 -0
- package/esm2022/modules/dynamic-cards/dynamic-card/dynamic-card-back/dynamic-card-back.component.mjs +16 -0
- package/esm2022/modules/dynamic-cards/dynamic-card/dynamic-card-footer/dynamic-card-footer.component.mjs +21 -0
- package/esm2022/modules/dynamic-cards/dynamic-card/dynamic-card-front/dynamic-card-front.component.mjs +18 -0
- package/esm2022/modules/dynamic-cards/dynamic-cards.module.mjs +60 -0
- package/esm2022/modules/dynamic-cards/interface/card-list.interface.mjs +2 -0
- package/esm2022/modules/dynamic-cards/interface/card.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-button-control/dynamic-form-button-control.component.mjs +27 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-checkbox-control/dynamic-form-checkbox-control.component.mjs +19 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-control-label/dynamic-form-control-label.component.mjs +14 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-counter-control/dynamic-form-counter-control.component.mjs +43 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-datepicker-control/dynamic-form-datepicker-control.component.mjs +48 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-field-control/dynamic-form-field-control.component.mjs +96 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-field-control/dynamic-form-field.matcher.mjs +9 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-input-control/dynamic-form-input-control.component.mjs +22 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ng-select-control/dynamic-form-ng-select-control.component.mjs +27 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-radio-group/dynamic-form-radio-group.component.mjs +31 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-radio-group/enum/radio-group-orientation.enum.mjs +6 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-select-control/dynamic-form-select-control.component.mjs +29 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-switch-control/dynamic-form-switch-control.component.mjs +18 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-text-area-control/dynamic-form-text-area-control.component.mjs +22 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ui-control/dynamic-form-ui-control-list/dynamic-form-ui-control-list.component.mjs +74 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ui-control/dynamic-form-ui-control.component.mjs +30 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/base-form-actions.component.mjs +47 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/enums/base-form-action-types.mjs +7 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/interfaces/base-form-action.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/dynamic-form-ui.component.mjs +64 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-array/dynamic-form-ui-array.component.mjs +26 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-group/dynamic-form-group.component.mjs +26 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-layout/dynamic-form-layout-item/dynamic-form-layout-item.component.mjs +65 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-layout/dynamic-form-layout.component.mjs +33 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/enums/form-field-css-class.enum.mjs +9 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/components/errors-block/errors-block.component.mjs +25 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/dynamic-form-ui.module.mjs +117 -0
- package/esm2022/modules/dynamic-forms/dynamic-form-UI/providers/ui-form-control-map.provider.mjs +47 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-array.component.mjs +16 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-component.mjs +82 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-control-container.component.mjs +189 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-control.component.mjs +112 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-layout.component.mjs +34 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/constants/form-errors.constant.mjs +34 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/constants/matchers/matchers.constant.mjs +27 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/constants/reg-exp-error.constant.mjs +10 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-id.directive.mjs +24 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-list.directive.mjs +26 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-template.directive.mjs +29 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/dynamic-form-core.module.mjs +49 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/autocomplete.enum.mjs +6 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/control-types.enum.mjs +22 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/form-control-events.enum.mjs +8 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/form-hooks.enum.mjs +7 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/input-types.enum.mjs +20 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/matcher-types.enum.mjs +10 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/template-directive-alignment.mjs +6 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/enums/textarea-wrap.enum.mjs +6 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/index.mjs +39 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/components/form-control/dynamic-form-control-event.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/components/form-control/dynamic-form-control.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/dynamic-form/dynamic-form-model.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-control-layout.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-layout-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-layout.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/matchers/form-control-matcher.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-array/form-array-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-button-control/button-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-check-control/check-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-control/form-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-control/form-control-relation.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-date-control/date-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-group/form-group-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-input-control/form-input-control-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-number-control/form-number-control-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-option/form-option-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-option-control/form-option-control-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/button-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/checkbox-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/datepicker-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/input-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/radio-group-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/select-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/switch-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/textarea-control-model-config.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-value-control/form-value-control.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/interfaces/validators/validators.interface.mjs +2 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-array/dynamic-form-array.model.mjs +51 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-array/form-array-group/dynamic-form-array-group.model.mjs +15 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-button-control/dynamic-button-control.model.mjs +19 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-check-control/dynamic-check-control.model.mjs +19 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-control/dynamic-form-control.model.mjs +23 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-date-control/dynamic-date-control.model.mjs +11 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-group/dynamic-form-group.model.mjs +37 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-input-control/dynamic-input-control.model.mjs +20 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-number-control/dynamic-number-control.model.mjs +15 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-option/form-option.model.mjs +15 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-option-control/dynamic-option-control.model.mjs +52 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-static-control/static-control.model.mjs +7 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/button/dynamic-button.model.mjs +13 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/checkbox/dynamic-checkbox.model.mjs +12 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/counter/dynamic-counter.model.mjs +11 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/datepicker/dynamic-datepicker.model.mjs +18 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/input/dynamic-input.model.mjs +13 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/radio/dynamic-radio-group.model.mjs +13 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/select/dynamic-select.model.mjs +18 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/switch/dynamic-switch.model.mjs +11 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/textarea/dynamic-textarea.model.mjs +14 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/form-value-control/form-value-control.model.mjs +25 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/layout/enums/FormLayoutControlTypes.enum.mjs +7 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/layout/layout-control.model.mjs +8 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/ng-select-control/dynamic-ng-select.model.mjs +19 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/pipes/find-dynamic-control-model/find-dynamic-control-model.pipe.mjs +38 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/pipes/get-error-from-key-value.pipe.mjs +20 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-component.service.mjs +37 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-layout.service.mjs +35 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-validation.service.mjs +35 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form.service.mjs +239 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/tokens/dynamic-matchers.token.mjs +3 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/tokens/form-control-map.token.mjs +3 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/tokens/validators.token.mjs +3 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms.module.mjs +32 -0
- package/esm2022/modules/material/mat-cdk-module.mjs +17 -0
- package/esm2022/modules/material/material.module.mjs +201 -0
- package/esm2022/modules/query-builder/components/query-design/query-design.component.mjs +103 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/components/alphanumeric-control/alphanumeric-control.component.mjs +150 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/components/boolean-control/boolean-control.component.mjs +102 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/components/date-control/date-control.component.mjs +76 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/components/numeric-control/numeric-control.component.mjs +168 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/constants/operators-sets.mjs +108 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/helpers/condition-operators.mapper.mjs +8 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/helpers/control-values-mapper.mjs +78 -0
- package/esm2022/modules/query-builder/components/query-design/rule-line/rule-line.component.mjs +234 -0
- package/esm2022/modules/query-builder/directive/auto-complete-position.directive.mjs +30 -0
- package/esm2022/modules/query-builder/interfaces/query-builder.interface.mjs +39 -0
- package/esm2022/modules/query-builder/interfaces/select-custom-css-object.mjs +2 -0
- package/esm2022/modules/query-builder/query-builder.module.mjs +66 -0
- package/esm2022/modules/ui-kit/components/accordion/accordion-content/accordion-content.component.mjs +16 -0
- package/esm2022/modules/ui-kit/components/accordion/accordion-trigger.directive.mjs +30 -0
- package/esm2022/modules/ui-kit/components/accordion/accordion.directive.mjs +19 -0
- package/esm2022/modules/ui-kit/components/banner/banner.component.mjs +53 -0
- package/esm2022/modules/ui-kit/components/banner/banner.service.mjs +64 -0
- package/esm2022/modules/ui-kit/components/breadcrumbs/breadcrumbs.component.mjs +25 -0
- package/esm2022/modules/ui-kit/components/breadcrumbs/model/breadCrumbItem.mjs +2 -0
- package/esm2022/modules/ui-kit/components/breadcrumbs/service/breadcrumb.service.mjs +63 -0
- package/esm2022/modules/ui-kit/components/breadcrumbs/utils/crumb-service.enum.mjs +8 -0
- package/esm2022/modules/ui-kit/components/buttons/button-control/button-control.component.mjs +46 -0
- package/esm2022/modules/ui-kit/components/buttons/buttons-list/buttons-list.component.mjs +11 -0
- package/esm2022/modules/ui-kit/components/buttons/circle-button/circle-button.component.mjs +37 -0
- package/esm2022/modules/ui-kit/components/card-container/card-container.component.mjs +11 -0
- package/esm2022/modules/ui-kit/components/common-breadcrumbs/common-breadcrumbs.component.mjs +30 -0
- package/esm2022/modules/ui-kit/components/common-breadcrumbs/interface/breadcrumb.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/components/common-breadcrumbs/service/breadcrumb.service.mjs +65 -0
- package/esm2022/modules/ui-kit/components/data-pagination/data-pagination.component.mjs +155 -0
- package/esm2022/modules/ui-kit/components/data-table/api-classes/filter-manager.mjs +50 -0
- package/esm2022/modules/ui-kit/components/data-table/api-classes/grid-api.mjs +73 -0
- package/esm2022/modules/ui-kit/components/data-table/constants/change-type.enum.mjs +8 -0
- package/esm2022/modules/ui-kit/components/data-table/constants/column-id.mjs +13 -0
- package/esm2022/modules/ui-kit/components/data-table/constants/row.mjs +4 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/base-data-col/base-data-col.component.mjs +93 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col/data-col.component.mjs +17 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-action-button/data-col-action-button.component.mjs +27 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-boolean/data-col-boolean.component.mjs +20 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-multivalue/data-col-multivalue.component.mjs +18 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-nested/data-col-nested.component.mjs +31 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-reference/data-col-reference.component.mjs +96 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col/data-col-view/data-col-view.component.mjs +75 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-disp/data-col-disp.component.mjs +248 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/data-col-filter.component.mjs +323 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-between-value.mjs +68 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-contains-value.mjs +25 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-in-value.mjs +64 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-slider-value.mjs +42 -0
- package/esm2022/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/filter-value-executor-provider.mjs +42 -0
- package/esm2022/modules/ui-kit/components/data-table/data-column-filter/data-column-filter.component.mjs +69 -0
- package/esm2022/modules/ui-kit/components/data-table/data-row/data-row.component.mjs +251 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table/data-table.component.mjs +1534 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table-actions/data-table-actions.component.mjs +153 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table-body/data-table-body.component.mjs +205 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table-check-rows/data-table-check-rows.component.mjs +61 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table-row-actions/const/data-table-actions.enum.mjs +8 -0
- package/esm2022/modules/ui-kit/components/data-table/data-table-row-actions/data-table-row-actions.component.mjs +120 -0
- package/esm2022/modules/ui-kit/components/data-table/enums/col-filter-types.mjs +17 -0
- package/esm2022/modules/ui-kit/components/data-table/header-row/header-row.component.mjs +14 -0
- package/esm2022/modules/ui-kit/components/data-table/interfaces/data-table-component.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/components/data-table/interfaces/filter-value-executor.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/components/data-table/services/data-table-context.service.mjs +26 -0
- package/esm2022/modules/ui-kit/components/data-table-wrap/data-table-wrap.component.mjs +38 -0
- package/esm2022/modules/ui-kit/components/excel-table/excel-table.component.mjs +164 -0
- package/esm2022/modules/ui-kit/components/excel-table/interface/excel-table.interface.mjs +44 -0
- package/esm2022/modules/ui-kit/components/form/base-form-control/base-form-control.component.mjs +41 -0
- package/esm2022/modules/ui-kit/components/form/checkbox-form-control/checkbox-form-control.component.mjs +21 -0
- package/esm2022/modules/ui-kit/components/form/counter-form-control/counter-form-control.component.mjs +66 -0
- package/esm2022/modules/ui-kit/components/form/form-container/form-container.component.mjs +133 -0
- package/esm2022/modules/ui-kit/components/form/form-group-container/form-group-container.component.mjs +11 -0
- package/esm2022/modules/ui-kit/components/form/input-form-control/input-form-control.component.mjs +20 -0
- package/esm2022/modules/ui-kit/components/form/multivalue-form-control/custom-input/custom-input.component.mjs +35 -0
- package/esm2022/modules/ui-kit/components/form/multivalue-form-control/custom-input/old-new-value.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/components/form/multivalue-form-control/multivalue-form-control.component.mjs +66 -0
- package/esm2022/modules/ui-kit/components/form/radio-form-control/radio-form-control.component.mjs +19 -0
- package/esm2022/modules/ui-kit/components/form/select-form-control/select-form-control.component.mjs +78 -0
- package/esm2022/modules/ui-kit/components/form/selection-group-container/selection-group-container.component.mjs +18 -0
- package/esm2022/modules/ui-kit/components/form/textarea-form-control/textarea-form-control.component.mjs +20 -0
- package/esm2022/modules/ui-kit/components/icon/expand-collapse-icon/expand-collapse-icon.component.mjs +26 -0
- package/esm2022/modules/ui-kit/components/icon/icon/icon.component.mjs +35 -0
- package/esm2022/modules/ui-kit/components/icon/text-icon/text-icon.component.mjs +22 -0
- package/esm2022/modules/ui-kit/components/layouts/form-layout/form-layout.component.mjs +56 -0
- package/esm2022/modules/ui-kit/components/layouts/primary-layout/primary-layout.component.mjs +11 -0
- package/esm2022/modules/ui-kit/components/loader/loader.component.mjs +27 -0
- package/esm2022/modules/ui-kit/components/mat-actions-button/mat-actions-button.mjs +34 -0
- package/esm2022/modules/ui-kit/components/modals/common-confirm-modal/common-confirm-modal.component.mjs +53 -0
- package/esm2022/modules/ui-kit/components/modals/confirm-modal/confirm-modal.component.mjs +37 -0
- package/esm2022/modules/ui-kit/components/modals/delete-modal/delete-modal.component.mjs +41 -0
- package/esm2022/modules/ui-kit/components/modals/enums/confirmation-modal.enum.mjs +13 -0
- package/esm2022/modules/ui-kit/components/snackbar/snackbar.component.mjs +21 -0
- package/esm2022/modules/ui-kit/components/tabs/constants/index.mjs +2 -0
- package/esm2022/modules/ui-kit/components/tabs/interfaces/index.mjs +2 -0
- package/esm2022/modules/ui-kit/components/tabs/tab-group/tab-group.component.mjs +77 -0
- package/esm2022/modules/ui-kit/components/tabs/tab.directive.mjs +60 -0
- package/esm2022/modules/ui-kit/components/tree-view/tree-view.component.mjs +374 -0
- package/esm2022/modules/ui-kit/constants/data-table.constants.mjs +7 -0
- package/esm2022/modules/ui-kit/constants/snackbar.constants.mjs +4 -0
- package/esm2022/modules/ui-kit/enums/coderefs-prop.enum.mjs +26 -0
- package/esm2022/modules/ui-kit/enums/color-schemes.enum.mjs +13 -0
- package/esm2022/modules/ui-kit/enums/column-disable-mode.enum.mjs +7 -0
- package/esm2022/modules/ui-kit/enums/column-types.enum.mjs +10 -0
- package/esm2022/modules/ui-kit/enums/component-sizes.enum.mjs +6 -0
- package/esm2022/modules/ui-kit/enums/form-item-type.mjs +7 -0
- package/esm2022/modules/ui-kit/enums/form-types.enum.mjs +7 -0
- package/esm2022/modules/ui-kit/enums/form-url-params.enum.mjs +6 -0
- package/esm2022/modules/ui-kit/enums/icons.enum.mjs +24 -0
- package/esm2022/modules/ui-kit/enums/position.enum.mjs +6 -0
- package/esm2022/modules/ui-kit/enums/select-option.enum.mjs +10 -0
- package/esm2022/modules/ui-kit/enums/snackbar.enum.mjs +8 -0
- package/esm2022/modules/ui-kit/enums/url-param-action.enum.mjs +6 -0
- package/esm2022/modules/ui-kit/enums/viewType.enum.mjs +7 -0
- package/esm2022/modules/ui-kit/interfaces/api.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/confirm-modal-data.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/constants.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/data-table.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/form.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/generic.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/list-item.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/mat-action-buttons.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/row-selection-info.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/select.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/snackbar.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/interfaces/tree-view.interface.mjs +2 -0
- package/esm2022/modules/ui-kit/pipes/column-filter.pipe.mjs +21 -0
- package/esm2022/modules/ui-kit/pipes/filter-by-prop.pipe.mjs +27 -0
- package/esm2022/modules/ui-kit/pipes/first-letter-text.pipe.mjs +17 -0
- package/esm2022/modules/ui-kit/pipes/keys.pipe.mjs +17 -0
- package/esm2022/modules/ui-kit/pipes/paginate.pipe.mjs +29 -0
- package/esm2022/modules/ui-kit/pipes/search.pipe.mjs +50 -0
- package/esm2022/modules/ui-kit/services/data-table.service.mjs +202 -0
- package/esm2022/modules/ui-kit/services/form.service.mjs +91 -0
- package/esm2022/modules/ui-kit/services/mappers/form-data-table-mapper.service.mjs +19 -0
- package/esm2022/modules/ui-kit/services/snackbar.service.mjs +43 -0
- package/esm2022/modules/ui-kit/services/url.service.mjs +17 -0
- package/esm2022/modules/ui-kit/types/basic.type.mjs +2 -0
- package/esm2022/modules/ui-kit/types/function.type.mjs +2 -0
- package/esm2022/modules/ui-kit/types/select.type.mjs +2 -0
- package/esm2022/modules/ui-kit/ui-kit.module.mjs +370 -0
- package/esm2022/public-api.mjs +85 -0
- package/esm2022/shared-pipes/pipes/search.pipe.mjs +48 -0
- package/esm2022/shared-ui-test-1.mjs +5 -0
- package/esm2022/shared.module.mjs +57 -0
- package/fesm2022/shared-ui-test-1.mjs +10516 -0
- package/fesm2022/shared-ui-test-1.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/modules/dynamic-cards/directives/flip-card.directive.d.ts +15 -0
- package/modules/dynamic-cards/dynamic-card/card-list-container/card-list-container.component.d.ts +10 -0
- package/modules/dynamic-cards/dynamic-card/dynamic-card/dynamic-card.component.d.ts +7 -0
- package/modules/dynamic-cards/dynamic-card/dynamic-card-back/dynamic-card-back.component.d.ts +7 -0
- package/modules/dynamic-cards/dynamic-card/dynamic-card-footer/dynamic-card-footer.component.d.ts +10 -0
- package/modules/dynamic-cards/dynamic-card/dynamic-card-front/dynamic-card-front.component.d.ts +8 -0
- package/modules/dynamic-cards/dynamic-cards.module.d.ts +18 -0
- package/modules/dynamic-cards/interface/card-list.interface.d.ts +9 -0
- package/modules/dynamic-cards/interface/card.interface.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-button-control/dynamic-form-button-control.component.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-checkbox-control/dynamic-form-checkbox-control.component.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-control-label/dynamic-form-control-label.component.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-counter-control/dynamic-form-counter-control.component.d.ts +13 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-datepicker-control/dynamic-form-datepicker-control.component.d.ts +13 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-field-control/dynamic-form-field-control.component.d.ts +34 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-field-control/dynamic-form-field.matcher.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-input-control/dynamic-form-input-control.component.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ng-select-control/dynamic-form-ng-select-control.component.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-radio-group/dynamic-form-radio-group.component.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-radio-group/enum/radio-group-orientation.enum.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-select-control/dynamic-form-select-control.component.d.ts +10 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-switch-control/dynamic-form-switch-control.component.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-text-area-control/dynamic-form-text-area-control.component.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ui-control/dynamic-form-ui-control-list/dynamic-form-ui-control-list.component.d.ts +26 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/controls/dynamic-form-ui-control/dynamic-form-ui-control.component.d.ts +14 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/base-form-actions.component.d.ts +19 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/enums/base-form-action-types.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/base-form-actions/interfaces/base-form-action.interface.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form/dynamic-form-ui.component.d.ts +26 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-array/dynamic-form-ui-array.component.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-group/dynamic-form-group.component.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-layout/dynamic-form-layout-item/dynamic-form-layout-item.component.d.ts +23 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/dynamic-form-layout/dynamic-form-layout.component.d.ts +21 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/enums/form-field-css-class.enum.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-form-UI/components/errors-block/errors-block.component.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-form-UI/dynamic-form-ui.module.d.ts +32 -0
- package/modules/dynamic-forms/dynamic-form-UI/providers/ui-form-control-map.provider.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-array.component.d.ts +10 -0
- package/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-component.d.ts +26 -0
- package/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-control-container.component.d.ts +57 -0
- package/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-control.component.d.ts +42 -0
- package/modules/dynamic-forms/dynamic-forms-core/components/dynamic-form-layout.component.d.ts +28 -0
- package/modules/dynamic-forms/dynamic-forms-core/constants/form-errors.constant.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/constants/matchers/matchers.constant.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/constants/reg-exp-error.constant.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-id.directive.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-list.directive.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-forms-core/directives/dynamic-template.directive.d.ts +13 -0
- package/modules/dynamic-forms/dynamic-forms-core/dynamic-form-core.module.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/autocomplete.enum.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/control-types.enum.d.ts +20 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/form-control-events.enum.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/form-hooks.enum.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/input-types.enum.d.ts +18 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/matcher-types.enum.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/template-directive-alignment.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/enums/textarea-wrap.enum.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/index.d.ts +38 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/components/form-control/dynamic-form-control-event.interface.d.ts +15 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/components/form-control/dynamic-form-control.interface.d.ts +19 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/dynamic-form/dynamic-form-model.interface.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-control-layout.interface.d.ts +3 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-layout-config.interface.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/layout/form-layout.interface.d.ts +2 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/matchers/form-control-matcher.interface.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-array/form-array-model-config.interface.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-button-control/button-control-model-config.interface.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-check-control/check-control-model-config.interface.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-control/form-control-model-config.interface.d.ts +16 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-control/form-control-relation.interface.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-date-control/date-control-model-config.interface.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-group/form-group-model-config.interface.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-input-control/form-input-control-config.interface.d.ts +14 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-number-control/form-number-control-config.interface.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-option/form-option-config.interface.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-option-control/form-option-control-config.interface.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/button-control-model-config.interface.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/checkbox-control-model-config.interface.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/datepicker-control-model-config.interface.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/input-control-model-config.interface.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/radio-group-model-config.interface.d.ts +4 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/select-control-model-config.interface.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/switch-control-model-config.interface.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-ui-models/textarea-control-model-config.interface.d.ts +6 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/models/form-value-control/form-value-control.interface.d.ts +10 -0
- package/modules/dynamic-forms/dynamic-forms-core/interfaces/validators/validators.interface.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-array/dynamic-form-array.model.d.ts +19 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-array/form-array-group/dynamic-form-array-group.model.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-button-control/dynamic-button-control.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-check-control/dynamic-check-control.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-control/dynamic-form-control.model.d.ts +24 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-date-control/dynamic-date-control.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-group/dynamic-form-group.model.d.ts +17 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-input-control/dynamic-input-control.model.d.ts +16 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-number-control/dynamic-number-control.model.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-option/form-option.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-option-control/dynamic-option-control.model.d.ts +19 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-static-control/static-control.model.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/button/dynamic-button.model.d.ts +10 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/checkbox/dynamic-checkbox.model.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/counter/dynamic-counter.model.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/datepicker/dynamic-datepicker.model.d.ts +15 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/input/dynamic-input.model.d.ts +10 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/radio/dynamic-radio-group.model.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/select/dynamic-select.model.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/switch/dynamic-switch.model.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-ui-models/textarea/dynamic-textarea.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/form-value-control/form-value-control.model.d.ts +17 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/layout/enums/FormLayoutControlTypes.enum.d.ts +5 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/layout/layout-control.model.d.ts +9 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/ng-select-control/dynamic-ng-select.model.d.ts +12 -0
- package/modules/dynamic-forms/dynamic-forms-core/pipes/find-dynamic-control-model/find-dynamic-control-model.pipe.d.ts +20 -0
- package/modules/dynamic-forms/dynamic-forms-core/pipes/get-error-from-key-value.pipe.d.ts +8 -0
- package/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-component.service.d.ts +14 -0
- package/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-layout.service.d.ts +14 -0
- package/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form-validation.service.d.ts +11 -0
- package/modules/dynamic-forms/dynamic-forms-core/service/dynamic-form.service.d.ts +30 -0
- package/modules/dynamic-forms/dynamic-forms-core/tokens/dynamic-matchers.token.d.ts +3 -0
- package/modules/dynamic-forms/dynamic-forms-core/tokens/form-control-map.token.d.ts +3 -0
- package/modules/dynamic-forms/dynamic-forms-core/tokens/validators.token.d.ts +3 -0
- package/modules/dynamic-forms/dynamic-forms.module.d.ts +9 -0
- package/modules/material/mat-cdk-module.d.ts +7 -0
- package/modules/material/material.module.d.ts +50 -0
- package/modules/query-builder/components/query-design/query-design.component.d.ts +35 -0
- package/modules/query-builder/components/query-design/rule-line/components/alphanumeric-control/alphanumeric-control.component.d.ts +46 -0
- package/modules/query-builder/components/query-design/rule-line/components/boolean-control/boolean-control.component.d.ts +29 -0
- package/modules/query-builder/components/query-design/rule-line/components/date-control/date-control.component.d.ts +21 -0
- package/modules/query-builder/components/query-design/rule-line/components/numeric-control/numeric-control.component.d.ts +46 -0
- package/modules/query-builder/components/query-design/rule-line/constants/operators-sets.d.ts +12 -0
- package/modules/query-builder/components/query-design/rule-line/helpers/condition-operators.mapper.d.ts +6 -0
- package/modules/query-builder/components/query-design/rule-line/helpers/control-values-mapper.d.ts +7 -0
- package/modules/query-builder/components/query-design/rule-line/rule-line.component.d.ts +64 -0
- package/modules/query-builder/directive/auto-complete-position.directive.d.ts +11 -0
- package/modules/query-builder/interfaces/query-builder.interface.d.ts +61 -0
- package/modules/query-builder/interfaces/select-custom-css-object.d.ts +7 -0
- package/modules/query-builder/query-builder.module.d.ts +18 -0
- package/modules/ui-kit/components/accordion/accordion-content/accordion-content.component.d.ts +8 -0
- package/modules/ui-kit/components/accordion/accordion-trigger.directive.d.ts +10 -0
- package/modules/ui-kit/components/accordion/accordion.directive.d.ts +7 -0
- package/modules/ui-kit/components/banner/banner.component.d.ts +14 -0
- package/modules/ui-kit/components/banner/banner.service.d.ts +27 -0
- package/modules/ui-kit/components/breadcrumbs/breadcrumbs.component.d.ts +15 -0
- package/modules/ui-kit/components/breadcrumbs/model/breadCrumbItem.d.ts +4 -0
- package/modules/ui-kit/components/breadcrumbs/service/breadcrumb.service.d.ts +19 -0
- package/modules/ui-kit/components/breadcrumbs/utils/crumb-service.enum.d.ts +6 -0
- package/modules/ui-kit/components/buttons/button-control/button-control.component.d.ts +16 -0
- package/modules/ui-kit/components/buttons/buttons-list/buttons-list.component.d.ts +5 -0
- package/modules/ui-kit/components/buttons/circle-button/circle-button.component.d.ts +20 -0
- package/modules/ui-kit/components/card-container/card-container.component.d.ts +5 -0
- package/modules/ui-kit/components/common-breadcrumbs/common-breadcrumbs.component.d.ts +20 -0
- package/modules/ui-kit/components/common-breadcrumbs/interface/breadcrumb.interface.d.ts +6 -0
- package/modules/ui-kit/components/common-breadcrumbs/service/breadcrumb.service.d.ts +21 -0
- package/modules/ui-kit/components/data-pagination/data-pagination.component.d.ts +54 -0
- package/modules/ui-kit/components/data-table/api-classes/filter-manager.d.ts +13 -0
- package/modules/ui-kit/components/data-table/api-classes/grid-api.d.ts +31 -0
- package/modules/ui-kit/components/data-table/constants/change-type.enum.d.ts +6 -0
- package/modules/ui-kit/components/data-table/constants/column-id.d.ts +2 -0
- package/modules/ui-kit/components/data-table/constants/row.d.ts +2 -0
- package/modules/ui-kit/components/data-table/data-col/base-data-col/base-data-col.component.d.ts +28 -0
- package/modules/ui-kit/components/data-table/data-col/data-col/data-col.component.d.ts +7 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-action-button/data-col-action-button.component.d.ts +12 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-boolean/data-col-boolean.component.d.ts +8 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-multivalue/data-col-multivalue.component.d.ts +8 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-nested/data-col-nested.component.d.ts +13 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-reference/data-col-reference.component.d.ts +29 -0
- package/modules/ui-kit/components/data-table/data-col/data-col-view/data-col-view.component.d.ts +27 -0
- package/modules/ui-kit/components/data-table/data-col-disp/data-col-disp.component.d.ts +60 -0
- package/modules/ui-kit/components/data-table/data-col-filter/data-col-filter.component.d.ts +85 -0
- package/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-between-value.d.ts +12 -0
- package/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-contains-value.d.ts +9 -0
- package/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-in-value.d.ts +13 -0
- package/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/col-filter-slider-value.d.ts +10 -0
- package/modules/ui-kit/components/data-table/data-col-filter/filter-value-helpers/filter-value-executor-provider.d.ts +11 -0
- package/modules/ui-kit/components/data-table/data-column-filter/data-column-filter.component.d.ts +29 -0
- package/modules/ui-kit/components/data-table/data-row/data-row.component.d.ts +81 -0
- package/modules/ui-kit/components/data-table/data-table/data-table.component.d.ts +302 -0
- package/modules/ui-kit/components/data-table/data-table-actions/data-table-actions.component.d.ts +53 -0
- package/modules/ui-kit/components/data-table/data-table-body/data-table-body.component.d.ts +75 -0
- package/modules/ui-kit/components/data-table/data-table-check-rows/data-table-check-rows.component.d.ts +25 -0
- package/modules/ui-kit/components/data-table/data-table-row-actions/const/data-table-actions.enum.d.ts +6 -0
- package/modules/ui-kit/components/data-table/data-table-row-actions/data-table-row-actions.component.d.ts +42 -0
- package/modules/ui-kit/components/data-table/enums/col-filter-types.d.ts +14 -0
- package/modules/ui-kit/components/data-table/header-row/header-row.component.d.ts +7 -0
- package/modules/ui-kit/components/data-table/interfaces/data-table-component.interface.d.ts +28 -0
- package/modules/ui-kit/components/data-table/interfaces/filter-value-executor.interface.d.ts +12 -0
- package/modules/ui-kit/components/data-table/services/data-table-context.service.d.ts +12 -0
- package/modules/ui-kit/components/data-table-wrap/data-table-wrap.component.d.ts +13 -0
- package/modules/ui-kit/components/excel-table/excel-table.component.d.ts +28 -0
- package/modules/ui-kit/components/excel-table/interface/excel-table.interface.d.ts +29 -0
- package/modules/ui-kit/components/form/base-form-control/base-form-control.component.d.ts +17 -0
- package/modules/ui-kit/components/form/checkbox-form-control/checkbox-form-control.component.d.ts +8 -0
- package/modules/ui-kit/components/form/counter-form-control/counter-form-control.component.d.ts +21 -0
- package/modules/ui-kit/components/form/form-container/form-container.component.d.ts +45 -0
- package/modules/ui-kit/components/form/form-group-container/form-group-container.component.d.ts +5 -0
- package/modules/ui-kit/components/form/input-form-control/input-form-control.component.d.ts +8 -0
- package/modules/ui-kit/components/form/multivalue-form-control/custom-input/custom-input.component.d.ts +15 -0
- package/modules/ui-kit/components/form/multivalue-form-control/custom-input/old-new-value.interface.d.ts +4 -0
- package/modules/ui-kit/components/form/multivalue-form-control/multivalue-form-control.component.d.ts +26 -0
- package/modules/ui-kit/components/form/radio-form-control/radio-form-control.component.d.ts +8 -0
- package/modules/ui-kit/components/form/select-form-control/select-form-control.component.d.ts +32 -0
- package/modules/ui-kit/components/form/selection-group-container/selection-group-container.component.d.ts +7 -0
- package/modules/ui-kit/components/form/textarea-form-control/textarea-form-control.component.d.ts +8 -0
- package/modules/ui-kit/components/icon/expand-collapse-icon/expand-collapse-icon.component.d.ts +11 -0
- package/modules/ui-kit/components/icon/icon/icon.component.d.ts +14 -0
- package/modules/ui-kit/components/icon/text-icon/text-icon.component.d.ts +10 -0
- package/modules/ui-kit/components/layouts/form-layout/form-layout.component.d.ts +29 -0
- package/modules/ui-kit/components/layouts/primary-layout/primary-layout.component.d.ts +5 -0
- package/modules/ui-kit/components/loader/loader.component.d.ts +12 -0
- package/modules/ui-kit/components/mat-actions-button/mat-actions-button.d.ts +14 -0
- package/modules/ui-kit/components/modals/common-confirm-modal/common-confirm-modal.component.d.ts +17 -0
- package/modules/ui-kit/components/modals/confirm-modal/confirm-modal.component.d.ts +13 -0
- package/modules/ui-kit/components/modals/delete-modal/delete-modal.component.d.ts +17 -0
- package/modules/ui-kit/components/modals/enums/confirmation-modal.enum.d.ts +11 -0
- package/modules/ui-kit/components/snackbar/snackbar.component.d.ts +10 -0
- package/modules/ui-kit/components/tabs/constants/index.d.ts +1 -0
- package/modules/ui-kit/components/tabs/interfaces/index.d.ts +3 -0
- package/modules/ui-kit/components/tabs/tab-group/tab-group.component.d.ts +25 -0
- package/modules/ui-kit/components/tabs/tab.directive.d.ts +16 -0
- package/modules/ui-kit/components/tree-view/tree-view.component.d.ts +67 -0
- package/modules/ui-kit/constants/data-table.constants.d.ts +6 -0
- package/modules/ui-kit/constants/snackbar.constants.d.ts +3 -0
- package/modules/ui-kit/enums/coderefs-prop.enum.d.ts +24 -0
- package/modules/ui-kit/enums/color-schemes.enum.d.ts +11 -0
- package/modules/ui-kit/enums/column-disable-mode.enum.d.ts +5 -0
- package/modules/ui-kit/enums/column-types.enum.d.ts +8 -0
- package/modules/ui-kit/enums/component-sizes.enum.d.ts +4 -0
- package/modules/ui-kit/enums/form-item-type.d.ts +5 -0
- package/modules/ui-kit/enums/form-types.enum.d.ts +5 -0
- package/modules/ui-kit/enums/form-url-params.enum.d.ts +4 -0
- package/modules/ui-kit/enums/icons.enum.d.ts +22 -0
- package/modules/ui-kit/enums/position.enum.d.ts +4 -0
- package/modules/ui-kit/enums/select-option.enum.d.ts +8 -0
- package/modules/ui-kit/enums/snackbar.enum.d.ts +6 -0
- package/modules/ui-kit/enums/url-param-action.enum.d.ts +4 -0
- package/modules/ui-kit/enums/viewType.enum.d.ts +5 -0
- package/modules/ui-kit/interfaces/api.interface.d.ts +45 -0
- package/modules/ui-kit/interfaces/confirm-modal-data.interface.d.ts +7 -0
- package/modules/ui-kit/interfaces/constants.interface.d.ts +4 -0
- package/modules/ui-kit/interfaces/data-table.interface.d.ts +253 -0
- package/modules/ui-kit/interfaces/form.interface.d.ts +21 -0
- package/modules/ui-kit/interfaces/generic.interface.d.ts +7 -0
- package/modules/ui-kit/interfaces/list-item.interface.d.ts +5 -0
- package/modules/ui-kit/interfaces/mat-action-buttons.interface.d.ts +14 -0
- package/modules/ui-kit/interfaces/row-selection-info.interface.d.ts +7 -0
- package/modules/ui-kit/interfaces/select.interface.d.ts +8 -0
- package/modules/ui-kit/interfaces/snackbar.interface.d.ts +4 -0
- package/modules/ui-kit/interfaces/tree-view.interface.d.ts +49 -0
- package/modules/ui-kit/pipes/column-filter.pipe.d.ts +12 -0
- package/modules/ui-kit/pipes/filter-by-prop.pipe.d.ts +9 -0
- package/modules/ui-kit/pipes/first-letter-text.pipe.d.ts +7 -0
- package/modules/ui-kit/pipes/keys.pipe.d.ts +7 -0
- package/modules/ui-kit/pipes/paginate.pipe.d.ts +12 -0
- package/modules/ui-kit/pipes/search.pipe.d.ts +16 -0
- package/modules/ui-kit/services/data-table.service.d.ts +37 -0
- package/modules/ui-kit/services/form.service.d.ts +26 -0
- package/modules/ui-kit/services/mappers/form-data-table-mapper.service.d.ts +8 -0
- package/modules/ui-kit/services/snackbar.service.d.ts +15 -0
- package/modules/ui-kit/services/url.service.d.ts +7 -0
- package/modules/ui-kit/types/basic.type.d.ts +2 -0
- package/modules/ui-kit/types/function.type.d.ts +20 -0
- package/modules/ui-kit/types/select.type.d.ts +2 -0
- package/modules/ui-kit/ui-kit.module.d.ts +79 -0
- package/package.json +45 -0
- package/public-api.d.ts +84 -0
- package/shared-pipes/pipes/search.pipe.d.ts +15 -0
- package/shared.module.d.ts +13 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BaseDataColComponent } from 'idp-apps-shared-ui/modules/ui-kit/components/data-table/data-col/base-data-col/base-data-col.component';
|
|
3
|
+
import { UrlParamActionEnum } from '../../../../enums/url-param-action.enum';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class DataColNestedComponent extends BaseDataColComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.options = [];
|
|
9
|
+
this.complexDetailClicked = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
// TODO: needs to be refactored.
|
|
12
|
+
nestedDetailsButtonClicked() {
|
|
13
|
+
const eventData = {
|
|
14
|
+
rowEventData: { row: this.row },
|
|
15
|
+
column: this.col,
|
|
16
|
+
urlActionType: UrlParamActionEnum.Nested,
|
|
17
|
+
};
|
|
18
|
+
this.complexDetailClicked.emit(eventData);
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColNestedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DataColNestedComponent, selector: "[app-data-col-nested]", inputs: { options: "options" }, outputs: { complexDetailClicked: "complexDetailClicked" }, providers: [{ provide: BaseDataColComponent, useExisting: DataColNestedComponent }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <a (click)=\"nestedDetailsButtonClicked()\">Nested</a>\n</ng-container>", styles: ["a{color:#007bff!important;text-decoration:underline!important}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColNestedComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: '[app-data-col-nested]', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BaseDataColComponent, useExisting: DataColNestedComponent }], template: "<ng-container>\n <a (click)=\"nestedDetailsButtonClicked()\">Nested</a>\n</ng-container>", styles: ["a{color:#007bff!important;text-decoration:underline!important}\n"] }]
|
|
26
|
+
}], ctorParameters: () => [], propDecorators: { options: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}], complexDetailClicked: [{
|
|
29
|
+
type: Output
|
|
30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ICBjb25zdCBldmVudERhdGE6IElDbGlja2VkRXZlbnREYXRhID0ge1xuICAgICAgcm93RXZlbnREYXRhOiB7IHJvdzogdGhpcy5yb3cgfSxcbiAgICAgIGNvbHVtbjogdGhpcy5jb2wsXG4gICAgICB1cmxBY3Rpb25UeXBlOiBVcmxQYXJhbUFjdGlvbkVudW0uTmVzdGVkLFxuICAgIH07XG4gICAgdGhpcy5jb21wbGV4RGV0YWlsQ2xpY2tlZC5lbWl0KGV2ZW50RGF0YSk7XG4gIH1cblxufVxuIiwiPG5nLWNvbnRhaW5lcj5cbiAgIDxhIChjbGljayk9XCJuZXN0ZWREZXRhaWxzQnV0dG9uQ2xpY2tlZCgpXCI+TmVzdGVkPC9hPlxuPC9uZy1jb250YWluZXI+Il19
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { UrlParamActionEnum } from '../../../../../../modules/ui-kit/enums/url-param-action.enum';
|
|
5
|
+
import { SupportUtilService } from '../../../../../../core/site/services/support-util.service';
|
|
6
|
+
import { ViewTypeEnum } from '../../../../enums/viewType.enum';
|
|
7
|
+
import { SelectFormControlComponent } from '../../../form/select-form-control/select-form-control.component';
|
|
8
|
+
import { BaseDataColComponent } from '../base-data-col/base-data-col.component';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@angular/common";
|
|
11
|
+
import * as i2 from "../../../form/select-form-control/select-form-control.component";
|
|
12
|
+
import * as i3 from "../data-col-view/data-col-view.component";
|
|
13
|
+
export class DataColReferenceComponent extends BaseDataColComponent {
|
|
14
|
+
set setSelectControl(control) {
|
|
15
|
+
this.selectControl = control;
|
|
16
|
+
}
|
|
17
|
+
constructor(changeDetector) {
|
|
18
|
+
super();
|
|
19
|
+
this.changeDetector = changeDetector;
|
|
20
|
+
this.options = [];
|
|
21
|
+
this.complexDetailClicked = new EventEmitter();
|
|
22
|
+
this.viewType = ViewTypeEnum;
|
|
23
|
+
this.isDisplayOptionsAvailable = false;
|
|
24
|
+
this.clearSubs$ = new Subject();
|
|
25
|
+
}
|
|
26
|
+
get getOptionsFn() {
|
|
27
|
+
if (this.col.getDropDownData) {
|
|
28
|
+
return this.col.getDropDownData;
|
|
29
|
+
}
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
setData(newData) {
|
|
33
|
+
this.setOptionsData(newData.options);
|
|
34
|
+
}
|
|
35
|
+
// To Do refactor later
|
|
36
|
+
referenceDetailsButtonClicked() {
|
|
37
|
+
const eventData = {
|
|
38
|
+
rowEventData: { row: this.row },
|
|
39
|
+
column: this.col,
|
|
40
|
+
urlActionType: UrlParamActionEnum.Reference,
|
|
41
|
+
};
|
|
42
|
+
this.complexDetailClicked.emit(eventData);
|
|
43
|
+
}
|
|
44
|
+
ngOnInit() {
|
|
45
|
+
if (this.col.getDropDownData) {
|
|
46
|
+
this.col.getDropDownData
|
|
47
|
+
.pipe(takeUntil(this.clearSubs$))
|
|
48
|
+
.subscribe((response) => {
|
|
49
|
+
this.setOptionsData(response);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
else if (this.col.getDropDownOptions) {
|
|
53
|
+
this.col.getDropDownOptions(this.row.data)
|
|
54
|
+
.pipe(takeUntil(this.clearSubs$))
|
|
55
|
+
.subscribe((response) => {
|
|
56
|
+
this.setOptionsData(response);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
this.isDisplayOptionsAvailable = true;
|
|
61
|
+
}
|
|
62
|
+
if (this.col.optionsForViewMode === false) {
|
|
63
|
+
this.isDisplayOptionsAvailable = true;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
ngOnDestroy() {
|
|
67
|
+
this.clearSubs$.next(null);
|
|
68
|
+
this.clearSubs$.complete();
|
|
69
|
+
}
|
|
70
|
+
setOptionsData(options) {
|
|
71
|
+
this.isDisplayOptionsAvailable = true;
|
|
72
|
+
this.options = options;
|
|
73
|
+
this.col.constants = { ...this.col.constants, ...SupportUtilService.mapArrayResponseToObject(options) };
|
|
74
|
+
this.changeDetector.detectChanges();
|
|
75
|
+
}
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColReferenceComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DataColReferenceComponent, selector: "[app-data-col-reference]", inputs: { isEditing: "isEditing", optionTemplate: "optionTemplate", options: "options", editDisabled: "editDisabled" }, outputs: { complexDetailClicked: "complexDetailClicked" }, providers: [{ provide: BaseDataColComponent, useExisting: DataColReferenceComponent }], viewQueries: [{ propertyName: "setSelectControl", first: true, predicate: SelectFormControlComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"col.viewType == viewType.Link\">\n <a (click)=\"referenceDetailsButtonClicked()\">Reference</a>\n</ng-container>\n\n<ng-container *ngIf=\"!col.viewType || (col.viewType == viewType.DropDown) || (col.viewType == viewType.AutoComplete)\">\n <app-select-form-control\n *ngIf=\"(isEditing||col.isDisplayValueAsFormControl) && !col.editTemplate\"\n [control]=\"control\"\n [optionTemplate] = \"col.optionTemplate\"\n [id]=\"controlId\"\n [options]=\"options\"\n (valueChanged)=\"ValueChanged()\"\n (onFirstValueSet)=\"firstValueSet()\"\n [isDisabled]=\"editDisabled\"\n [isAddEnabled]=\"col.viewType == viewType.AutoComplete\"\n [isMultiple]=\"col.allowMultiple\"\n ></app-select-form-control>\n\n <app-data-col-view\n *ngIf=\"!isEditing && !col.isDisplayValueAsFormControl && isDisplayOptionsAvailable\"\n [row]=\"row\"\n [col]=\"col\"\n [gridOptions]=\"gridOptions\"\n ></app-data-col-view>\n\n</ng-container>\n<ng-container *ngIf=\"isEditing && col.editTemplate\">\n <ng-container *ngTemplateOutlet=\"col.editTemplate;context:{ $implicit:{id: controlId, control:control, row: row }}\"></ng-container>\n</ng-container> \n", styles: ["a{color:#007bff!important;text-decoration:underline!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.SelectFormControlComponent, selector: "app-select-form-control", inputs: ["ngSelectCustomCssObject", "isMultiple", "isDisabled", "isAddEnabled", "searchable", "optionTemplate", "getOptionsFn", "shouldCloseOnSelect", "options"], outputs: ["valueChanged", "onFirstValueSet"] }, { kind: "component", type: i3.DataColViewComponent, selector: "app-data-col-view,[app-data-col-view]", inputs: ["row", "rowIndex", "columnIndex", "col", "gridOptions", "isFirstVisibleCol", "isTreeGrid", "rowDepth", "hasExpandCollapse", "isRowExpanded"], outputs: ["changeExpandCollapse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColReferenceComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: '[app-data-col-reference]', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BaseDataColComponent, useExisting: DataColReferenceComponent }], template: "<ng-container *ngIf=\"col.viewType == viewType.Link\">\n <a (click)=\"referenceDetailsButtonClicked()\">Reference</a>\n</ng-container>\n\n<ng-container *ngIf=\"!col.viewType || (col.viewType == viewType.DropDown) || (col.viewType == viewType.AutoComplete)\">\n <app-select-form-control\n *ngIf=\"(isEditing||col.isDisplayValueAsFormControl) && !col.editTemplate\"\n [control]=\"control\"\n [optionTemplate] = \"col.optionTemplate\"\n [id]=\"controlId\"\n [options]=\"options\"\n (valueChanged)=\"ValueChanged()\"\n (onFirstValueSet)=\"firstValueSet()\"\n [isDisabled]=\"editDisabled\"\n [isAddEnabled]=\"col.viewType == viewType.AutoComplete\"\n [isMultiple]=\"col.allowMultiple\"\n ></app-select-form-control>\n\n <app-data-col-view\n *ngIf=\"!isEditing && !col.isDisplayValueAsFormControl && isDisplayOptionsAvailable\"\n [row]=\"row\"\n [col]=\"col\"\n [gridOptions]=\"gridOptions\"\n ></app-data-col-view>\n\n</ng-container>\n<ng-container *ngIf=\"isEditing && col.editTemplate\">\n <ng-container *ngTemplateOutlet=\"col.editTemplate;context:{ $implicit:{id: controlId, control:control, row: row }}\"></ng-container>\n</ng-container> \n", styles: ["a{color:#007bff!important;text-decoration:underline!important}\n"] }]
|
|
82
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { isEditing: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], optionTemplate: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], options: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], editDisabled: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], complexDetailClicked: [{
|
|
91
|
+
type: Output
|
|
92
|
+
}], setSelectControl: [{
|
|
93
|
+
type: ViewChild,
|
|
94
|
+
args: [SelectFormControlComponent]
|
|
95
|
+
}] } });
|
|
96
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb2wtcmVmZXJlbmNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYi9zcmMvbW9kdWxlcy91aS1raXQvY29tcG9uZW50cy9kYXRhLXRhYmxlL2RhdGEtY29sL2RhdGEtY29sLXJlZmVyZW5jZS9kYXRhLWNvbC1yZWZlcmVuY2UuY29tcG9uZW50LnRzIiwiL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tZm9ybS1jb250cm9sPlxuXG4gIDxhcHAtZGF0YS1jb2wtdmlld1xuICAgICpuZ0lmPVwiIWlzRWRpdGluZyAmJiAhY29sLmlzRGlzcGxheVZhbHVlQXNGb3JtQ29udHJvbCAmJiBpc0Rpc3BsYXlPcHRpb25zQXZhaWxhYmxlXCJcbiAgICBbcm93XT1cInJvd1wiXG4gICAgW2NvbF09XCJjb2xcIlxuICAgIFtncmlkT3B0aW9uc109XCJncmlkT3B0aW9uc1wiXG4gID48L2FwcC1kYXRhLWNvbC12aWV3PlxuXG48L25nLWNvbnRhaW5lcj5cbjxuZy1jb250YWluZXIgKm5nSWY9XCJpc0VkaXRpbmcgJiYgY29sLmVkaXRUZW1wbGF0ZVwiPlxuICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiY29sLmVkaXRUZW1wbGF0ZTtjb250ZXh0OnsgJGltcGxpY2l0OntpZDogY29udHJvbElkLCBjb250cm9sOmNvbnRyb2wsIHJvdzogcm93IH19XCI+PC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj4gXG4iXX0=
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { ColumnTypes } from '../../../../../../modules/ui-kit/enums/column-types.enum';
|
|
3
|
+
import { BaseDataColComponent } from '../base-data-col/base-data-col.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "@angular/flex-layout/extended";
|
|
7
|
+
import * as i3 from "../../../icon/expand-collapse-icon/expand-collapse-icon.component";
|
|
8
|
+
export class DataColViewComponent extends BaseDataColComponent {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.changeExpandCollapse = new EventEmitter();
|
|
12
|
+
this.TREE_SHIFT_STEP = 15;
|
|
13
|
+
this.NO_TREE_SHIFT_STEP = 0;
|
|
14
|
+
}
|
|
15
|
+
get cellDisplayValue() {
|
|
16
|
+
let colValue = this.row.data[this.col.prop];
|
|
17
|
+
if (!Array.isArray(colValue)) {
|
|
18
|
+
colValue = [colValue];
|
|
19
|
+
}
|
|
20
|
+
const values = colValue.map(val => {
|
|
21
|
+
let returnValue = val;
|
|
22
|
+
if (this.col.constants && !this.isEmptyObject(this.col.constants)) {
|
|
23
|
+
returnValue = this.findCellDisplayValue(this.col.constants, val);
|
|
24
|
+
}
|
|
25
|
+
return this.formatValue(returnValue);
|
|
26
|
+
});
|
|
27
|
+
const newValues = values.join(', ');
|
|
28
|
+
return this.col.type === ColumnTypes.Date && newValues && !isNaN(Number(newValues)) ?
|
|
29
|
+
new Date(Number(newValues)).toISOString() : newValues;
|
|
30
|
+
}
|
|
31
|
+
onClickExpandCollapse(shouldExpand) {
|
|
32
|
+
this.changeExpandCollapse.emit(shouldExpand);
|
|
33
|
+
}
|
|
34
|
+
get treeShift() {
|
|
35
|
+
if (this.isFirstVisibleCol) {
|
|
36
|
+
return this.rowDepth * this.TREE_SHIFT_STEP;
|
|
37
|
+
}
|
|
38
|
+
return this.NO_TREE_SHIFT_STEP;
|
|
39
|
+
}
|
|
40
|
+
get getWrapperStyle() {
|
|
41
|
+
return this.gridOptions.customColumnStyle ? this.gridOptions.customColumnStyle : {};
|
|
42
|
+
}
|
|
43
|
+
isEmptyObject(obj) {
|
|
44
|
+
return (obj && (Object.keys(obj).length === 0));
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColViewComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DataColViewComponent, selector: "app-data-col-view,[app-data-col-view]", inputs: { row: "row", rowIndex: "rowIndex", columnIndex: "columnIndex", col: "col", gridOptions: "gridOptions", isFirstVisibleCol: "isFirstVisibleCol", isTreeGrid: "isTreeGrid", rowDepth: "rowDepth", hasExpandCollapse: "hasExpandCollapse", isRowExpanded: "isRowExpanded" }, outputs: { changeExpandCollapse: "changeExpandCollapse" }, providers: [{ provide: BaseDataColComponent, useExisting: DataColViewComponent }], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div *ngIf=\"!col.rendererTemplate\" [ngStyle]=\"getWrapperStyle\"\n [ngClass]=\"{ 'data-max-width': gridOptions.fixedWidthData }\">\n <div class=\"shift\" [ngStyle]=\"{ 'width.px': treeShift }\"></div>\n\n <app-expand-collapse-icon *ngIf=\"hasExpandCollapse\" class=\"expandCollapse\" [isExpanded]=\"isRowExpanded\"\n (clickIcon)=\"onClickExpandCollapse($event)\"></app-expand-collapse-icon>\n\n <span [ngClass]=\"col.customCssClass\" [title]=\"cellDisplayValue\">{{ cellDisplayValue }}</span>\n </div>\n</ng-container>\n\n<ng-container\n *ngTemplateOutlet=\"col.rendererTemplate; context: { $implicit: { cellDisplayValue: cellDisplayValue, row: row, col: col } }\"></ng-container>", styles: [".expandCollapse{display:inline-block;width:10px}.expandCollapse+.value{margin-left:5px}.shift{display:inline-block}.mat-cell,.mat-header-cell{flex:1;word-wrap:break-word;font-family:Proxima-Nova-Regular,arial,sans-serif!important;font-size:14px;color:#000;padding-right:10px}.mat-cell div{display:inline-block}.mat-cell.first-cell{min-width:280px}.mat-cell.checkboxRow{max-width:40px}.mat-cell a{font-family:Proxima-Nova-Regular,arial,sans-serif!important;font-size:14px;color:#000}.drag-column{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px}.data-max-width{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "directive", type: i2.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: i3.ExpandCollapseIconComponent, selector: "app-expand-collapse-icon", inputs: ["isExpanded"], outputs: ["clickIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DataColViewComponent, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{ selector: 'app-data-col-view,[app-data-col-view]', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{ provide: BaseDataColComponent, useExisting: DataColViewComponent }], template: "<ng-container>\n <div *ngIf=\"!col.rendererTemplate\" [ngStyle]=\"getWrapperStyle\"\n [ngClass]=\"{ 'data-max-width': gridOptions.fixedWidthData }\">\n <div class=\"shift\" [ngStyle]=\"{ 'width.px': treeShift }\"></div>\n\n <app-expand-collapse-icon *ngIf=\"hasExpandCollapse\" class=\"expandCollapse\" [isExpanded]=\"isRowExpanded\"\n (clickIcon)=\"onClickExpandCollapse($event)\"></app-expand-collapse-icon>\n\n <span [ngClass]=\"col.customCssClass\" [title]=\"cellDisplayValue\">{{ cellDisplayValue }}</span>\n </div>\n</ng-container>\n\n<ng-container\n *ngTemplateOutlet=\"col.rendererTemplate; context: { $implicit: { cellDisplayValue: cellDisplayValue, row: row, col: col } }\"></ng-container>", styles: [".expandCollapse{display:inline-block;width:10px}.expandCollapse+.value{margin-left:5px}.shift{display:inline-block}.mat-cell,.mat-header-cell{flex:1;word-wrap:break-word;font-family:Proxima-Nova-Regular,arial,sans-serif!important;font-size:14px;color:#000;padding-right:10px}.mat-cell div{display:inline-block}.mat-cell.first-cell{min-width:280px}.mat-cell.checkboxRow{max-width:40px}.mat-cell a{font-family:Proxima-Nova-Regular,arial,sans-serif!important;font-size:14px;color:#000}.drag-column{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px}.data-max-width{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n"] }]
|
|
52
|
+
}], propDecorators: { row: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], rowIndex: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], columnIndex: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], col: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], gridOptions: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], isFirstVisibleCol: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], isTreeGrid: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], rowDepth: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], hasExpandCollapse: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], isRowExpanded: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], changeExpandCollapse: [{
|
|
73
|
+
type: Output
|
|
74
|
+
}] } });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1jb2wtdmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWIvc3JjL21vZHVsZXMvdWkta2l0L2NvbXBvbmVudHMvZGF0YS10YWJsZS9kYXRhLWNvbC9kYXRhLWNvbC12aWV3L2RhdGEtY29sLXZpZXcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGliL3NyYy9tb2R1bGVzL3VpLWtpdC9jb21wb25lbnRzL2RhdGEtdGFibGUvZGF0YS1jb2wvZGF0YS1jb2wtdmlldy9kYXRhLWNvbC12aWV3LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFaEcsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDBEQUEwRCxDQUFDO0FBR3ZGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOzs7OztBQVVoRixNQUFNLE9BQU8sb0JBQXFCLFNBQVEsb0JBQW9CO0lBUDlEOztRQW9CNEIseUJBQW9CLEdBQTBCLElBQUksWUFBWSxFQUFFLENBQUM7UUFFMUUsb0JBQWUsR0FBRyxFQUFFLENBQUM7UUFDckIsdUJBQWtCLEdBQUcsQ0F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