shared-ui-test-2 1.0.0
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/class-name.constant.d.ts +1 -0
- package/constants/query-design-custom-class.constant.d.ts +1 -0
- package/core/auth-providers.module.d.ts +7 -0
- package/core/blank/blank.component.d.ts +5 -0
- package/core/components/horizontal-navigation/horizontal-navigation-menu-item/horizontal-navigation-menu-item.component.d.ts +9 -0
- package/core/components/horizontal-navigation/horizontal-navigation.component.d.ts +7 -0
- package/core/components/not-authorized/not-authorized.component.d.ts +6 -0
- package/core/components/sidebar/main-navigation/main-navigation.component.d.ts +28 -0
- package/core/components/sidebar/sidebar.component.d.ts +5 -0
- package/core/components/top-navigation/top-navigation.component.d.ts +6 -0
- package/core/components/user-info-menu/user-info-menu.component.d.ts +32 -0
- package/core/constants/active-statuses.d.ts +2 -0
- package/core/constants/availability.d.ts +2 -0
- package/core/constants/dashboard-portal-url.d.ts +1 -0
- package/core/constants/full-width-modal-config.d.ts +2 -0
- package/core/constants/horizontal-navigation.config.d.ts +2 -0
- package/core/constants/local-constants.d.ts +13 -0
- package/core/constants/pagination.const.d.ts +6 -0
- package/core/constants/privacy.d.ts +2 -0
- package/core/constants/request-context.d.ts +7 -0
- package/core/constants/yes-no.d.ts +2 -0
- package/core/core.module.d.ts +18 -0
- package/core/directive/authorize.directive.d.ts +14 -0
- package/core/enums/client-name.enum.d.ts +4 -0
- package/core/enums/object-properties.enum.d.ts +57 -0
- package/core/interceptors/error.interceptor.d.ts +13 -0
- package/core/interceptors/health-check-header.interceptor.d.ts +10 -0
- package/core/interfaces/business-rule.interface.d.ts +54 -0
- package/core/interfaces/filters.api.interface.d.ts +32 -0
- package/core/interfaces/horizontal-navigation.interface.d.ts +11 -0
- package/core/interfaces/navigation.interface.d.ts +5 -0
- package/core/interfaces/response-headers.interface.d.ts +5 -0
- package/core/models/auth-service-configuration.d.ts +4 -0
- package/core/models/menu-elements-dto.d.ts +21 -0
- package/core/models/refresh-tokens-response.d.ts +5 -0
- package/core/models/version-data.d.ts +3 -0
- package/core/resolvers/policy.resolver.d.ts +18 -0
- package/core/services/http.service.d.ts +75 -0
- package/core/services/loading.service.d.ts +10 -0
- package/core/services/local-storage.service.d.ts +35 -0
- package/core/services/nav-menu-data.service.d.ts +13 -0
- package/core/services/user-management.service.d.ts +39 -0
- package/core/services/user-policy.service.d.ts +15 -0
- package/core/site/services/support-util.service.d.ts +18 -0
- package/core/token/app-auth-config-injection-token.d.ts +9 -0
- package/core/token/app-env-injection.token.d.ts +8 -0
- package/core/token/policy-injection-token.d.ts +2 -0
- package/core/utils/service-url.util.d.ts +1 -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/access-types.enum.d.ts +5 -0
- package/enums/action-types.enum.d.ts +16 -0
- package/enums/active-status.enum.d.ts +4 -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/class-name.constant.mjs +2 -0
- package/esm2022/constants/query-design-custom-class.constant.mjs +2 -0
- package/esm2022/core/auth-providers.module.mjs +131 -0
- package/esm2022/core/blank/blank.component.mjs +12 -0
- package/esm2022/core/components/horizontal-navigation/horizontal-navigation-menu-item/horizontal-navigation-menu-item.component.mjs +29 -0
- package/esm2022/core/components/horizontal-navigation/horizontal-navigation.component.mjs +17 -0
- package/esm2022/core/components/not-authorized/not-authorized.component.mjs +17 -0
- package/esm2022/core/components/sidebar/main-navigation/main-navigation.component.mjs +88 -0
- package/esm2022/core/components/sidebar/sidebar.component.mjs +12 -0
- package/esm2022/core/components/top-navigation/top-navigation.component.mjs +15 -0
- package/esm2022/core/components/user-info-menu/user-info-menu.component.mjs +96 -0
- package/esm2022/core/constants/active-statuses.mjs +9 -0
- package/esm2022/core/constants/availability.mjs +9 -0
- package/esm2022/core/constants/dashboard-portal-url.mjs +2 -0
- package/esm2022/core/constants/full-width-modal-config.mjs +10 -0
- package/esm2022/core/constants/horizontal-navigation.config.mjs +29 -0
- package/esm2022/core/constants/local-constants.mjs +28 -0
- package/esm2022/core/constants/pagination.const.mjs +10 -0
- package/esm2022/core/constants/privacy.mjs +9 -0
- package/esm2022/core/constants/request-context.mjs +9 -0
- package/esm2022/core/constants/yes-no.mjs +5 -0
- package/esm2022/core/core.module.mjs +81 -0
- package/esm2022/core/directive/authorize.directive.mjs +37 -0
- package/esm2022/core/enums/client-name.enum.mjs +6 -0
- package/esm2022/core/enums/object-properties.enum.mjs +67 -0
- package/esm2022/core/interceptors/error.interceptor.mjs +61 -0
- package/esm2022/core/interceptors/health-check-header.interceptor.mjs +25 -0
- package/esm2022/core/interfaces/business-rule.interface.mjs +18 -0
- package/esm2022/core/interfaces/filters.api.interface.mjs +12 -0
- package/esm2022/core/interfaces/horizontal-navigation.interface.mjs +2 -0
- package/esm2022/core/interfaces/navigation.interface.mjs +2 -0
- package/esm2022/core/interfaces/response-headers.interface.mjs +2 -0
- package/esm2022/core/models/auth-service-configuration.mjs +3 -0
- package/esm2022/core/models/menu-elements-dto.mjs +2 -0
- package/esm2022/core/models/refresh-tokens-response.mjs +3 -0
- package/esm2022/core/models/version-data.mjs +2 -0
- package/esm2022/core/resolvers/policy.resolver.mjs +52 -0
- package/esm2022/core/services/http.service.mjs +111 -0
- package/esm2022/core/services/loading.service.mjs +24 -0
- package/esm2022/core/services/local-storage.service.mjs +55 -0
- package/esm2022/core/services/nav-menu-data.service.mjs +21 -0
- package/esm2022/core/services/user-management.service.mjs +97 -0
- package/esm2022/core/services/user-policy.service.mjs +31 -0
- package/esm2022/core/site/services/support-util.service.mjs +55 -0
- package/esm2022/core/token/app-auth-config-injection-token.mjs +3 -0
- package/esm2022/core/token/app-env-injection.token.mjs +3 -0
- package/esm2022/core/token/policy-injection-token.mjs +3 -0
- package/esm2022/core/utils/service-url.util.mjs +7 -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/access-types.enum.mjs +7 -0
- package/esm2022/enums/action-types.enum.mjs +18 -0
- package/esm2022/enums/active-status.enum.mjs +6 -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/models/auth-token.mjs +2 -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/index.mjs +6 -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-control-statuses.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-operators.enum.mjs +6 -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/enums/validation-states.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/dynamic-templateable-form-control.interface.mjs +2 -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/layout/layout-render-template.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-file-control/file-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/colorpicker-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/fileupload-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/rating-control-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/slider-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-ui-models/timepicker-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-file-control/dynamic-file-control.model.mjs +9 -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-group.model.mjs +21 -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/colorpicker/dynamic-colorpicker.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/file-upload/dynamic-file-upload.model.mjs +17 -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/rating/dynamic-rating.model.mjs +11 -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/slider/dynamic-slider.model.mjs +14 -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-ui-models/timepicker/dynamic-timepicker.model.mjs +12 -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/col-control.model.mjs +10 -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/layout/layout-group-control.mjs +9 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/models/layout/row-control.model.mjs +10 -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.mock.mjs +20 -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-relation.service.mjs +22 -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/service/static-form-service.mjs +111 -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-core/utils/events/form-control-events.utils.mjs +5 -0
- package/esm2022/modules/dynamic-forms/dynamic-forms-core/utils/json/json.utils.mjs +30 -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/base-data-table-container/base-data-table-container.component.mjs +10 -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/base-form-page/base-form-page.component.mjs +8 -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-icon-class.constant.mjs +2 -0
- package/esm2022/modules/ui-kit/constants/data-table.constants.mjs +7 -0
- package/esm2022/modules/ui-kit/constants/date-separator.constant.mjs +2 -0
- package/esm2022/modules/ui-kit/constants/snackbar.constants.mjs +4 -0
- package/esm2022/modules/ui-kit/enums/action-type.enum.mjs +14 -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/data-type.enum.mjs +13 -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/operator.enum.mjs +21 -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/utils.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/models/storage-object.model.mjs +3 -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/api/api.service.mjs +72 -0
- package/esm2022/modules/ui-kit/services/api/rest-api.service.mjs +62 -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/formatters/date-formatter.service.mjs +48 -0
- package/esm2022/modules/ui-kit/services/mappers/form-data-table-mapper.service.mjs +19 -0
- package/esm2022/modules/ui-kit/services/select.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 +373 -0
- package/esm2022/resolvers/null-value.resolver.mjs +16 -0
- package/esm2022/services/api/common-crud-api.service.mjs +59 -0
- package/esm2022/services/api/filter-api.service.mjs +30 -0
- package/esm2022/services/selectable.service.mjs +23 -0
- package/esm2022/shared-pipes/pipes/search.pipe.mjs +48 -0
- package/esm2022/shared-ui-test-2.mjs +5 -0
- package/esm2022/shared.module.mjs +57 -0
- package/esm2022/validators/debounce-async.validator.mjs +12 -0
- package/fesm2022/shared-ui-test-2.mjs +12538 -0
- package/fesm2022/shared-ui-test-2.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/models/auth-token.d.ts +3 -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/index.d.ts +3 -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-control-statuses.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-operators.enum.d.ts +4 -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/enums/validation-states.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/dynamic-templateable-form-control.interface.d.ts +5 -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/layout/layout-render-template.interface.d.ts +9 -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-file-control/file-control-model-config.interface.d.ts +4 -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/colorpicker-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/fileupload-control-model-config.interface.d.ts +10 -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/rating-control-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/slider-control-model-config.interface.d.ts +7 -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-ui-models/timepicker-control-model-config.interface.d.ts +5 -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-file-control/dynamic-file-control.model.d.ts +6 -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-group.model.d.ts +12 -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/colorpicker/dynamic-colorpicker.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/file-upload/dynamic-file-upload.model.d.ts +13 -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/rating/dynamic-rating.model.d.ts +7 -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/slider/dynamic-slider.model.d.ts +10 -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-ui-models/timepicker/dynamic-timepicker.model.d.ts +8 -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/col-control.model.d.ts +8 -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/layout/layout-group-control.d.ts +7 -0
- package/modules/dynamic-forms/dynamic-forms-core/models/layout/row-control.model.d.ts +8 -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.mock.d.ts +11 -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-relation.service.d.ts +8 -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/service/static-form-service.d.ts +17 -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-core/utils/events/form-control-events.utils.d.ts +2 -0
- package/modules/dynamic-forms/dynamic-forms-core/utils/json/json.utils.d.ts +5 -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/base-data-table-container/base-data-table-container.component.d.ts +7 -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/base-form-page/base-form-page.component.d.ts +14 -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-icon-class.constant.d.ts +1 -0
- package/modules/ui-kit/constants/data-table.constants.d.ts +6 -0
- package/modules/ui-kit/constants/date-separator.constant.d.ts +1 -0
- package/modules/ui-kit/constants/snackbar.constants.d.ts +3 -0
- package/modules/ui-kit/enums/action-type.enum.d.ts +12 -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/data-type.enum.d.ts +10 -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/operator.enum.d.ts +19 -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/utils.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/models/storage-object.model.d.ts +6 -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/api/api.service.d.ts +50 -0
- package/modules/ui-kit/services/api/rest-api.service.d.ts +28 -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/formatters/date-formatter.service.d.ts +13 -0
- package/modules/ui-kit/services/mappers/form-data-table-mapper.service.d.ts +8 -0
- package/modules/ui-kit/services/select.service.d.ts +7 -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 +367 -0
- package/resolvers/null-value.resolver.d.ts +7 -0
- package/services/api/common-crud-api.service.d.ts +28 -0
- package/services/api/filter-api.service.d.ts +19 -0
- package/services/selectable.service.d.ts +10 -0
- package/shared-pipes/pipes/search.pipe.d.ts +15 -0
- package/shared.module.d.ts +13 -0
- package/validators/debounce-async.validator.d.ts +9 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { GridOptions } from 'idp-apps-shared-ui/modules/ui-kit/interfaces/data-table.interface';
|
|
2
|
+
import { MenuElementsDto } from 'idp-apps-shared-ui/core/models/menu-elements-dto';
|
|
3
|
+
import { LocalStorageService } from './local-storage.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const APP_MENU_PERMISSION_NAME = "menu permission";
|
|
6
|
+
export interface UserPolicyData {
|
|
7
|
+
name?: string;
|
|
8
|
+
systemName?: string;
|
|
9
|
+
appClientId?: string;
|
|
10
|
+
actions?: Action[];
|
|
11
|
+
userActions?: Action[];
|
|
12
|
+
}
|
|
13
|
+
export interface Action {
|
|
14
|
+
name?: string;
|
|
15
|
+
systemName?: string;
|
|
16
|
+
resources?: Resource[];
|
|
17
|
+
userResources?: Resource[];
|
|
18
|
+
}
|
|
19
|
+
export interface Resource {
|
|
20
|
+
name?: string;
|
|
21
|
+
systemName?: string;
|
|
22
|
+
resourceCategory?: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class UserManagementService {
|
|
25
|
+
private localStorageService;
|
|
26
|
+
userPolicyData: UserPolicyData[];
|
|
27
|
+
constructor(localStorageService: LocalStorageService);
|
|
28
|
+
getUserPolicyData(): UserPolicyData[];
|
|
29
|
+
hasPermission(actionValue: any): boolean;
|
|
30
|
+
getActionName(gridOptions: GridOptions, prop: string): string;
|
|
31
|
+
getLeftActionName(gridOptions: GridOptions, prop: string): string;
|
|
32
|
+
getMenuItems(menuItems: MenuElementsDto[], strictMode?: boolean): MenuElementsDto[];
|
|
33
|
+
private isAllFound;
|
|
34
|
+
private isResourceAllFound;
|
|
35
|
+
private getAllMenuResource;
|
|
36
|
+
private getAllActions;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserManagementService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserManagementService>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpService } from '@app/shared/core/services/http.service';
|
|
2
|
+
import { ILoadPolicyService, IPolicyDto } from '@pmi/permissions';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { AppAuthConfig } from '../token/app-auth-config-injection-token';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class UserPolicyService implements ILoadPolicyService {
|
|
7
|
+
private httmService;
|
|
8
|
+
private appAuthConfig;
|
|
9
|
+
policyLoadedSubject$: BehaviorSubject<boolean>;
|
|
10
|
+
policyLoaded$: Observable<boolean>;
|
|
11
|
+
constructor(httmService: HttpService, appAuthConfig: AppAuthConfig);
|
|
12
|
+
loadPolicies(): Observable<IPolicyDto[]>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserPolicyService, [null, { optional: true; }]>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserPolicyService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseDataColComponent } from 'idp-apps-shared-ui/modules/ui-kit/components/data-table/data-col/base-data-col/base-data-col.component';
|
|
2
|
+
import { IListResApi } from 'idp-apps-shared-ui/modules/ui-kit/interfaces/api.interface';
|
|
3
|
+
import { IViewConstants } from 'idp-apps-shared-ui/modules/ui-kit/interfaces/constants.interface';
|
|
4
|
+
import { ISelectOption } from 'idp-apps-shared-ui/modules/ui-kit/interfaces/select.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SupportUtilService {
|
|
7
|
+
static getIListResApiFromResponse<T>(response: T[]): IListResApi<T>;
|
|
8
|
+
static mapArrayResponseToObject(response: ISelectOption[]): IViewConstants;
|
|
9
|
+
static disableDataTableComponentsControl({ components, controlValues }: {
|
|
10
|
+
components: BaseDataColComponent[];
|
|
11
|
+
controlValues: boolean[];
|
|
12
|
+
}): void;
|
|
13
|
+
static sortBy<T>(collection: T[], prop: string, order?: string): T[];
|
|
14
|
+
getHumanReadableFileSize(sizeInBytes: number, isSiUnit?: boolean, toFixed?: number): string;
|
|
15
|
+
private aboveThreshAndInUnitRange;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupportUtilService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SupportUtilService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface AppAuthConfig {
|
|
3
|
+
clientId: string;
|
|
4
|
+
authClientId: string;
|
|
5
|
+
policyEndpoint: string;
|
|
6
|
+
authScopes: string;
|
|
7
|
+
hostUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const APP_AUTH_CONFIG: InjectionToken<AppAuthConfig>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getServiceUrl: () => string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function isBoolean(value: any): value is boolean;
|
|
2
|
+
export declare function isFunction(value: any): value is Function;
|
|
3
|
+
export declare function isNumber(value: any): value is number;
|
|
4
|
+
export declare function isObject(value: any): value is object;
|
|
5
|
+
export declare function isString(value: any): value is string;
|
|
6
|
+
export declare function isUndefined(value: any): value is undefined;
|
|
7
|
+
export declare function isNull(value: any): boolean;
|
|
8
|
+
export declare function isNullOrWhitespace(value: string | number): boolean;
|
|
9
|
+
export declare function isNullOrUndefinedOrWhitespace(value: string): boolean;
|
|
10
|
+
export declare function isNullOrUndefined(value: object | boolean | any): boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function uuid(): string;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TemplateRef, ViewContainerRef, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Directive has been taken from
|
|
5
|
+
* @link https://github.com/ngrx-utils/ngrx-utils/blob/master/projects/store/src/directives/ngLet.ts
|
|
6
|
+
*/
|
|
7
|
+
export declare class NgLetContext {
|
|
8
|
+
$implicit: any;
|
|
9
|
+
ngLet: any;
|
|
10
|
+
}
|
|
11
|
+
export declare class NgLetDirective implements OnInit {
|
|
12
|
+
private _vcr;
|
|
13
|
+
private _templateRef;
|
|
14
|
+
private _context;
|
|
15
|
+
set ngLet(value: any);
|
|
16
|
+
constructor(_vcr: ViewContainerRef, _templateRef: TemplateRef<NgLetContext>);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgLetDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgLetDirective, "[ngLet]", never, { "ngLet": { "alias": "ngLet"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
21
|
+
export declare class NgLetModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgLetModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgLetModule, [typeof NgLetDirective], never, [typeof NgLetDirective]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NgLetModule>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RemoveCancelButtonDirective implements OnInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
isCancelRemoved: boolean;
|
|
6
|
+
constructor(elementRef: ElementRef);
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCancelButtonDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveCancelButtonDirective, "[appRemoveCancelButton]", never, { "isCancelRemoved": { "alias": "isCancelRemoved"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum ActionTypesEnum {
|
|
2
|
+
ADD = "add",
|
|
3
|
+
EDIT = "edit",
|
|
4
|
+
VIEW = "view",
|
|
5
|
+
DELETE = "delete",
|
|
6
|
+
CLONE = "clone",
|
|
7
|
+
COPY = "copy",
|
|
8
|
+
UPLOAD = "upload",
|
|
9
|
+
DOWNLOAD = "download",
|
|
10
|
+
ADD$ = "add$",
|
|
11
|
+
EDIT$ = "edit$",
|
|
12
|
+
DELETE$ = "delete$",
|
|
13
|
+
COPY$ = "copy$",
|
|
14
|
+
SYNC = "Sync",
|
|
15
|
+
UPDATE_ALL = "Update All"
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare enum ToolTipsProp {
|
|
2
|
+
ADD = "add",
|
|
3
|
+
EDIT = "edit",
|
|
4
|
+
COPY = "copy",
|
|
5
|
+
SAVE = "save",
|
|
6
|
+
CANCEL = "cancel",
|
|
7
|
+
DELETE = "delete",
|
|
8
|
+
MORE_INFO = "moreInfo",
|
|
9
|
+
UPLOAD = "upload",
|
|
10
|
+
DOWNLOAD = "download",
|
|
11
|
+
FILTER = "filter",
|
|
12
|
+
GRAPH_VIEW = "graphView",
|
|
13
|
+
TABLE_VIEW = "tableView",
|
|
14
|
+
COLUMN_CONFIGURATION = "columnConfiguration",
|
|
15
|
+
DISMISS = "Dismiss"
|
|
16
|
+
}
|
|
17
|
+
export declare const tooltipsDefaultValue: {
|
|
18
|
+
add: string;
|
|
19
|
+
edit: string;
|
|
20
|
+
copy: string;
|
|
21
|
+
save: string;
|
|
22
|
+
cancel: string;
|
|
23
|
+
delete: string;
|
|
24
|
+
download: string;
|
|
25
|
+
upload: string;
|
|
26
|
+
graphView: string;
|
|
27
|
+
tableView: string;
|
|
28
|
+
columnConfiguration: string;
|
|
29
|
+
filter: string;
|
|
30
|
+
moreInfo: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const BREADCRUMB_KEY = 'breadcrumb';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYnMuY29uc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9saWIvc3JjL2NvbnN0YW50cy9icmVhZGNydW1icy5jb25zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUcsWUFBWSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IEJSRUFEQ1JVTUJfS0VZID0gJ2JyZWFkY3J1bWInO1xuIl19
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const CUSTOM_CONFIRMATION_MODAL_PANEL_CLASS = 'custom-confirmation-modal-panel';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3MtbmFtZS5jb25zdGFudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zcmMvY29uc3RhbnRzL2NsYXNzLW5hbWUuY29uc3RhbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0scUNBQXFDLEdBQUcsaUNBQWlDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgQ1VTVE9NX0NPTkZJUk1BVElPTl9NT0RBTF9QQU5FTF9DTEFTUyA9ICdjdXN0b20tY29uZmlybWF0aW9uLW1vZGFsLXBhbmVsJyJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export const ngSelectRightValueClass = 'right-value-select-container';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlcnktZGVzaWduLWN1c3RvbS1jbGFzcy5jb25zdGFudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL2xpYi9zcmMvY29uc3RhbnRzL3F1ZXJ5LWRlc2lnbi1jdXN0b20tY2xhc3MuY29uc3RhbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sdUJBQXVCLEdBQUcsOEJBQThCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgbmdTZWxlY3RSaWdodFZhbHVlQ2xhc3MgPSAncmlnaHQtdmFsdWUtc2VsZWN0LWNvbnRhaW5lcic7Il19
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { AuthAccessTokenExpiringNotificationTime, AuthClientId, AuthErrorInterceptor, AuthHeaderInterceptor, AuthInterceptor, AuthModule, AuthQueryStatusResponseType, AuthResponseType, AuthScope, AuthService, AuthSilentSessionRenewalEnabled, } from '@pmi/auth';
|
|
4
|
+
import { ApiHostUrlToken, AppHostToken, AuthServiceUrlToken, DevUrlToken } from '@pmi/constants';
|
|
5
|
+
import { LoadPolicyService, PermissionsUserInfoService } from '@pmi/permissions';
|
|
6
|
+
import { UserPolicyService } from 'idp-apps-shared-ui/core/services/user-policy.service';
|
|
7
|
+
import { HealthCheckHeaderInterceptor } from './interceptors/health-check-header.interceptor';
|
|
8
|
+
import { APP_AUTH_CONFIG } from './token/app-auth-config-injection-token';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
const authInterceptors = [AuthHeaderInterceptor, AuthInterceptor, AuthErrorInterceptor];
|
|
11
|
+
export class AuthProvidersModule {
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthProvidersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: AuthProvidersModule, imports: [AuthModule] }); }
|
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthProvidersModule, providers: [
|
|
15
|
+
{
|
|
16
|
+
provide: ApiHostUrlToken,
|
|
17
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
18
|
+
deps: [APP_AUTH_CONFIG],
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
provide: AppHostToken,
|
|
22
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
23
|
+
deps: [APP_AUTH_CONFIG],
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
provide: DevUrlToken,
|
|
27
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
28
|
+
deps: [APP_AUTH_CONFIG],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
provide: AuthServiceUrlToken,
|
|
32
|
+
useFactory: (apiHostUrl) => `${apiHostUrl}/auth`,
|
|
33
|
+
deps: [ApiHostUrlToken],
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
provide: AuthClientId,
|
|
37
|
+
useFactory: (cfg) => cfg.authClientId,
|
|
38
|
+
deps: [APP_AUTH_CONFIG],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
provide: AuthScope,
|
|
42
|
+
useFactory: (cfg) => cfg.authScopes,
|
|
43
|
+
deps: [APP_AUTH_CONFIG],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
provide: HTTP_INTERCEPTORS,
|
|
47
|
+
useClass: HealthCheckHeaderInterceptor,
|
|
48
|
+
multi: true,
|
|
49
|
+
},
|
|
50
|
+
...authInterceptors.map((interceptorToken) => ({
|
|
51
|
+
provide: HTTP_INTERCEPTORS,
|
|
52
|
+
useExisting: interceptorToken,
|
|
53
|
+
multi: true,
|
|
54
|
+
})),
|
|
55
|
+
{
|
|
56
|
+
provide: PermissionsUserInfoService,
|
|
57
|
+
useExisting: AuthService,
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
provide: LoadPolicyService,
|
|
61
|
+
useClass: UserPolicyService,
|
|
62
|
+
},
|
|
63
|
+
{ provide: AuthSilentSessionRenewalEnabled, useValue: true },
|
|
64
|
+
{ provide: AuthAccessTokenExpiringNotificationTime, useValue: 60 },
|
|
65
|
+
{ provide: AuthResponseType, useValue: 'code id_token token' },
|
|
66
|
+
{ provide: AuthQueryStatusResponseType, useValue: 'code id_token' },
|
|
67
|
+
provideHttpClient(withInterceptorsFromDi()),
|
|
68
|
+
], imports: [AuthModule] }); }
|
|
69
|
+
}
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: AuthProvidersModule, decorators: [{
|
|
71
|
+
type: NgModule,
|
|
72
|
+
args: [{
|
|
73
|
+
imports: [AuthModule],
|
|
74
|
+
providers: [
|
|
75
|
+
{
|
|
76
|
+
provide: ApiHostUrlToken,
|
|
77
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
78
|
+
deps: [APP_AUTH_CONFIG],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
provide: AppHostToken,
|
|
82
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
83
|
+
deps: [APP_AUTH_CONFIG],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
provide: DevUrlToken,
|
|
87
|
+
useFactory: (cfg) => cfg.hostUrl,
|
|
88
|
+
deps: [APP_AUTH_CONFIG],
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
provide: AuthServiceUrlToken,
|
|
92
|
+
useFactory: (apiHostUrl) => `${apiHostUrl}/auth`,
|
|
93
|
+
deps: [ApiHostUrlToken],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
provide: AuthClientId,
|
|
97
|
+
useFactory: (cfg) => cfg.authClientId,
|
|
98
|
+
deps: [APP_AUTH_CONFIG],
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
provide: AuthScope,
|
|
102
|
+
useFactory: (cfg) => cfg.authScopes,
|
|
103
|
+
deps: [APP_AUTH_CONFIG],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
provide: HTTP_INTERCEPTORS,
|
|
107
|
+
useClass: HealthCheckHeaderInterceptor,
|
|
108
|
+
multi: true,
|
|
109
|
+
},
|
|
110
|
+
...authInterceptors.map((interceptorToken) => ({
|
|
111
|
+
provide: HTTP_INTERCEPTORS,
|
|
112
|
+
useExisting: interceptorToken,
|
|
113
|
+
multi: true,
|
|
114
|
+
})),
|
|
115
|
+
{
|
|
116
|
+
provide: PermissionsUserInfoService,
|
|
117
|
+
useExisting: AuthService,
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
provide: LoadPolicyService,
|
|
121
|
+
useClass: UserPolicyService,
|
|
122
|
+
},
|
|
123
|
+
{ provide: AuthSilentSessionRenewalEnabled, useValue: true },
|
|
124
|
+
{ provide: AuthAccessTokenExpiringNotificationTime, useValue: 60 },
|
|
125
|
+
{ provide: AuthResponseType, useValue: 'code id_token token' },
|
|
126
|
+
{ provide: AuthQueryStatusResponseType, useValue: 'code id_token' },
|
|
127
|
+
provideHttpClient(withInterceptorsFromDi()),
|
|
128
|
+
],
|
|
129
|
+
}]
|
|
130
|
+
}] });
|
|
131
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aC1wcm92aWRlc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ZpZGVyc01vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/router";
|
|
4
|
+
export class BlankComponent {
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BlankComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: BlankComponent, selector: "app-blank", ngImport: i0, template: "<router-outlet></router-outlet>", dependencies: [{ kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
7
|
+
}
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BlankComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'app-blank', template: "<router-outlet></router-outlet>" }]
|
|
11
|
+
}] });
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxhbmsuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGliL3NyYy9jb3JlL2JsYW5rL2JsYW5rLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL2xpYi9zcmMvY29yZS9ibGFuay9ibGFuay5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOzs7QUFLMUMsTUFBTSxPQUFPLGNBQWM7K0dBQWQsY0FBYzttR0FBZCxjQUFjLGlEQ0wzQixpQ0FBK0I7OzRGREtsQixjQUFjO2tCQUoxQixTQUFTOytCQUNFLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2FwcC1ibGFuaycsXG4gIHRlbXBsYXRlVXJsOiAnLi9ibGFuay5jb21wb25lbnQuaHRtbCcsXG59KVxuZXhwb3J0IGNsYXNzIEJsYW5rQ29tcG9uZW50IHtcbn1cbiIsIjxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD4iXX0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
2
|
+
import { Icons } from '@app/shared/modules/ui-kit/enums/icons.enum';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@angular/router";
|
|
6
|
+
import * as i3 from "@angular/material/button";
|
|
7
|
+
import * as i4 from "@angular/material/menu";
|
|
8
|
+
export class HorizontalNavigationMenuItemComponent {
|
|
9
|
+
get isMenu() {
|
|
10
|
+
return this.navItemConfig
|
|
11
|
+
&& this.navItemConfig.nested
|
|
12
|
+
&& this.navItemConfig.nested.length > 0;
|
|
13
|
+
}
|
|
14
|
+
// noinspection JSMethodCanBeStatic
|
|
15
|
+
getChevronClass(isOpen) {
|
|
16
|
+
return isOpen
|
|
17
|
+
? Icons.ChevronUp
|
|
18
|
+
: Icons.ChevronDown;
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HorizontalNavigationMenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: HorizontalNavigationMenuItemComponent, selector: "app-horizontal-navigation-menu-item", inputs: { navItemConfig: "navItemConfig" }, ngImport: i0, template: "<div *ngIf=\"isMenu; else simpleItem\">\n <button mat-button [matMenuTriggerFor]=\"menu\" #menuTrigger=\"matMenuTrigger\">\n <span class=\"px-0 d-inline-flex align-items-center justify-content-between text-nowrap\">\n {{ navItemConfig.label }}\n </span>\n <i\n class=\"col-2 px-0 d-inline-flex justify-content-center align-items-center\"\n [ngClass]=\"getChevronClass(menuTrigger.menuOpen)\"\n ></i>\n </button>\n <mat-menu\n #menu=\"matMenu\"\n >\n <ng-container *ngFor=\"let childConfig of navItemConfig.nested\">\n <button mat-menu-item [routerLink]=\"childConfig.link?.commands\">{{ childConfig.label }}</button>\n </ng-container>\n </mat-menu>\n</div>\n\n<ng-template #simpleItem>\n <button mat-button [routerLink]=\"navItemConfig.link?.commands\">{{ navItemConfig.label }}</button>\n</ng-template>\n\n", styles: [".nav-bar{position:relative;width:100%;height:100%;overflow:auto}.mat-button,.mat-menu-item{outline:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i4.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HorizontalNavigationMenuItemComponent, decorators: [{
|
|
24
|
+
type: Component,
|
|
25
|
+
args: [{ selector: 'app-horizontal-navigation-menu-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"isMenu; else simpleItem\">\n <button mat-button [matMenuTriggerFor]=\"menu\" #menuTrigger=\"matMenuTrigger\">\n <span class=\"px-0 d-inline-flex align-items-center justify-content-between text-nowrap\">\n {{ navItemConfig.label }}\n </span>\n <i\n class=\"col-2 px-0 d-inline-flex justify-content-center align-items-center\"\n [ngClass]=\"getChevronClass(menuTrigger.menuOpen)\"\n ></i>\n </button>\n <mat-menu\n #menu=\"matMenu\"\n >\n <ng-container *ngFor=\"let childConfig of navItemConfig.nested\">\n <button mat-menu-item [routerLink]=\"childConfig.link?.commands\">{{ childConfig.label }}</button>\n </ng-container>\n </mat-menu>\n</div>\n\n<ng-template #simpleItem>\n <button mat-button [routerLink]=\"navItemConfig.link?.commands\">{{ navItemConfig.label }}</button>\n</ng-template>\n\n", styles: [".nav-bar{position:relative;width:100%;height:100%;overflow:auto}.mat-button,.mat-menu-item{outline:0}\n"] }]
|
|
26
|
+
}], propDecorators: { navItemConfig: [{
|
|
27
|
+
type: Input
|
|
28
|
+
}] } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9yaXpvbnRhbC1uYXZp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wiPlxuICAgICAgPGJ1dHRvbiBtYXQtbWVudS1pdGVtIFtyb3V0ZXJMaW5rXT1cImNoaWxkQ29uZmlnLmxpbms/LmNvbW1hbmRzXCI+e3sgY2hpbGRDb25maWcubGFiZWwgfX08L2J1dHRvbj5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgPC9tYXQtbWVudT5cbjwvZGl2PlxuXG48bmctdGVtcGxhdGUgI3NpbXBsZUl0ZW0+XG4gIDxidXR0b24gbWF0LWJ1dHRvbiBbcm91dGVyTGlua109XCJuYXZJdGVtQ29uZmlnLmxpbms/LmNvbW1hbmRzXCI+e3sgbmF2SXRlbUNvbmZpZy5sYWJlbCB9fTwvYnV0dG9uPlxuPC9uZy10ZW1wbGF0ZT5cblxuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { HORIZONTAL_NAVIGATION_CONFIG } from '../../constants/horizontal-navigation.config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "./horizontal-navigation-menu-item/horizontal-navigation-menu-item.component";
|
|
6
|
+
export class HorizontalNavigationComponent {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.NAV_CONFIG = HORIZONTAL_NAVIGATION_CONFIG;
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HorizontalNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: HorizontalNavigationComponent, selector: "app-horizontal-navigation", ngImport: i0, template: "<div class=\"nav-bar navbar-expand-lg\">\n <nav class=\"navbar-nav\">\n <app-horizontal-navigation-menu-item\n *ngFor=\"let navItemConfig of NAV_CONFIG\"\n [navItemConfig]=\"navItemConfig\"\n ></app-horizontal-navigation-menu-item>\n </nav>\n</div>\n", styles: [":host ::ng-deep .nav .nav-item .nav{border:none}:host ::ng-deep .nav .nav-item .nav .nav-item{border:none}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.HorizontalNavigationMenuItemComponent, selector: "app-horizontal-navigation-menu-item", inputs: ["navItemConfig"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HorizontalNavigationComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'app-horizontal-navigation', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"nav-bar navbar-expand-lg\">\n <nav class=\"navbar-nav\">\n <app-horizontal-navigation-menu-item\n *ngFor=\"let navItemConfig of NAV_CONFIG\"\n [navItemConfig]=\"navItemConfig\"\n ></app-horizontal-navigation-menu-item>\n </nav>\n</div>\n", styles: [":host ::ng-deep .nav .nav-item .nav{border:none}:host ::ng-deep .nav .nav-item .nav .nav-item{border:none}\n"] }]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYi9zcmMvY29yZS9jb21wb25lbnRzL2hvcml6b250YWwtbmF2aWdhdGlvbi9ob3Jpem9udGFsLW5hdmlnYXRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGliL3NyYy9jb3JlL2NvbXBvbmVudHMvaG9yaXpvbnRhbC1uYXZpZ2F0aW9uL2hvcml6b250YWwtbmF2aWdh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Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgSG9yaXpvbnRhbE5hdmlnYXRpb25Db21wb25lbnQge1xuXG4gIHB1YmxpYyBOQVZfQ09ORklHOiBIb3Jpem9udGFsTmF2aWdhdGlvbkl0ZW1bXSA9IEhPUklaT05UQUxfTkFWSUdBVElPTl9DT05GSUc7XG59XG4iLCI8ZGl2IGNsYXNzPVwibmF2LWJhciBuYXZiYXItZXhwYW5kLWxnXCI+XG4gIDxuYXYgY2xhc3M9XCJuYXZiYXItbmF2XCI+XG4gICAgPGFwcC1ob3Jpem9udGFsLW5hdmlnYXRpb24tbWVudS1pdGVtXG4gICAgICAqbmdGb3I9XCJsZXQgbmF2SXRlbUNvbmZpZyBvZiBOQVZfQ09ORklHXCJcbiAgICAgIFtuYXZJdGVtQ29uZmlnXT1cIm5hdkl0ZW1Db25maWdcIlxuICAgID48L2FwcC1ob3Jpem9udGFsLW5hdmlnYXRpb24tbWVudS1pdGVtPlxuICA8L25hdj5cbjwvZGl2PlxuIl19
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class NotAuthorizedComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.ERROR_DESCRIPTION = `Sorry, you are not authorized to use this application.
|
|
6
|
+
If you are logging in through another system such as OCE Sales then you must
|
|
7
|
+
now request for access to components within this product.
|
|
8
|
+
Please contact your administrator.`;
|
|
9
|
+
}
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NotAuthorizedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: NotAuthorizedComponent, selector: "app-not-authorized", ngImport: i0, template: "<h1>Not authorized</h1>\n<p>{{ ERROR_DESCRIPTION }}</p>\n" }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NotAuthorizedComponent, decorators: [{
|
|
14
|
+
type: Component,
|
|
15
|
+
args: [{ selector: 'app-not-authorized', template: "<h1>Not authorized</h1>\n<p>{{ ERROR_DESCRIPTION }}</p>\n" }]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90LWF1dGhvcml6ZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGliL3NyYy9jb3JlL2NvbXBvbmVudHMvbm90LWF1dGhvcml6ZWQvbm90LWF1dGhvcml6ZWQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vbGliL3NyYy9jb3JlL2NvbXBvbmVudHMvbm90LWF1dGhvcml6ZWQvbm90LWF1dGhvcml6ZWQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLHNCQUFzQjtJQUpuQztRQUtrQixzQkFBaUIsR0FBVzs7O3lDQUdMLENBQUM7S0FDekM7K0dBTFksc0JBQXNCO21HQUF0QixzQkFBc0IsMERDTm5DLDJEQUVBOzs0RkRJYSxzQkFBc0I7a0JBSmxDLFNBQVM7K0JBQ0Usb0JBQW9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoIHtcbiAgc2VsZWN0b3I6ICdhcHAtbm90LWF1dGhvcml6ZWQnLFxuICB0ZW1wbGF0ZVVybDogJy4vbm90LWF1dGhvcml6ZWQuY29tcG9uZW50Lmh0bWwnLFxufSApXG5leHBvcnQgY2xhc3MgTm90QXV0aG9yaXplZENvbXBvbmVudCB7XG4gIHB1YmxpYyByZWFkb25seSBFUlJPUl9ERVNDUklQVElPTjogc3RyaW5nID0gYFNvcnJ5LCB5b3UgYXJlIG5vdCBhdXRob3JpemVkIHRvIHVzZSB0aGlzIGFwcGxpY2F0aW9uLiBcbiAgICAgIElmIHlvdSBhcmUgbG9nZ2luZyBpbiB0aHJvdWdoIGFub3RoZXIgc3lzdGVtIHN1Y2ggYXMgT0NFIFNhbGVzIHRoZW4geW91IG11c3QgXG4gICAgICBub3cgcmVxdWVzdCBmb3IgYWNjZXNzIHRvIGNvbXBvbmVudHMgd2l0aGluIHRoaXMgcHJvZHVjdC4gXG4gICAgICBQbGVhc2UgY29udGFjdCB5b3VyIGFkbWluaXN0cmF0b3IuYDtcbn1cbiIsIjxoMT5Ob3QgYXV0aG9yaXplZDwvaDE+XG48cD57eyBFUlJPUl9ERVNDUklQVElPTiB9fTwvcD5cbiJdfQ==
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
|
|
2
|
+
import { NavigationEnd } from '@angular/router';
|
|
3
|
+
import { filter } from 'rxjs/operators';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@app/shared/core/services/nav-menu-data.service";
|
|
6
|
+
import * as i2 from "idp-apps-shared-ui/core/services/user-management.service";
|
|
7
|
+
import * as i3 from "@angular/router";
|
|
8
|
+
import * as i4 from "@angular/common";
|
|
9
|
+
export class MainNavigationComponent {
|
|
10
|
+
constructor(navMenuService, userManagementService, cd, router) {
|
|
11
|
+
this.navMenuService = navMenuService;
|
|
12
|
+
this.userManagementService = userManagementService;
|
|
13
|
+
this.cd = cd;
|
|
14
|
+
this.router = router;
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.getMenu();
|
|
18
|
+
this.navMenuService.isDynamicMenuDataReady$.subscribe(res => {
|
|
19
|
+
if (res) {
|
|
20
|
+
this.getDynamicMenuItems();
|
|
21
|
+
this.cd.detectChanges();
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
menuOnClick(menuItem) {
|
|
26
|
+
this.menuItems.forEach(t => {
|
|
27
|
+
if (t !== menuItem) {
|
|
28
|
+
t.expanded = true;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
menuItemOnClick(url, menu) {
|
|
33
|
+
if (this.navMenuService.isMenuDataFromApi$.getValue()) {
|
|
34
|
+
const path = `${url}/${menu.param}`;
|
|
35
|
+
this.router.navigate([path]);
|
|
36
|
+
this.selectedMenu = menu;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.router.navigate([url]);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
isActiveMenuClass(menu) {
|
|
43
|
+
if (!this.navMenuService.isDynamicMenuDataReady$.getValue()) {
|
|
44
|
+
return this.selectedMenu && this.selectedMenu.targetUrl === menu.targetUrl;
|
|
45
|
+
}
|
|
46
|
+
return this.isActiveMenuClassForDynamicMenu(menu);
|
|
47
|
+
}
|
|
48
|
+
getStyle(menuSystemName) {
|
|
49
|
+
return this.selectedMenu.systemName === menuSystemName ?
|
|
50
|
+
{ 'background-color': 'rgba(255,255,255,0.3)' } : { 'background-color': 'transparent' };
|
|
51
|
+
}
|
|
52
|
+
getMenu() {
|
|
53
|
+
this.router.events.pipe(filter((event) => event instanceof NavigationEnd)).subscribe((event) => {
|
|
54
|
+
this.menuItems = this.userManagementService.getMenuItems(this.navMenuService.getMenutimes());
|
|
55
|
+
if (this.menuItems && !this.navMenuService.isDynamicMenuDataReady$.getValue()) {
|
|
56
|
+
this.setActiveMenuItem(event.url);
|
|
57
|
+
}
|
|
58
|
+
this.cd.detectChanges();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
setActiveMenuItem(url) {
|
|
62
|
+
this.selectedMenu = this.menuItems[0].children[0];
|
|
63
|
+
if (url.split('/')[1]) {
|
|
64
|
+
this.menuItems.forEach((menuItemDto) => {
|
|
65
|
+
menuItemDto.children.forEach((menuItem) => {
|
|
66
|
+
if (url.split('/')[1] === menuItem.targetUrl) {
|
|
67
|
+
this.selectedMenu = menuItem;
|
|
68
|
+
this.cd.detectChanges();
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
getDynamicMenuItems() {
|
|
75
|
+
this.menuItems = this.navMenuService.menuItems;
|
|
76
|
+
}
|
|
77
|
+
isActiveMenuClassForDynamicMenu(childMenu) {
|
|
78
|
+
return this.selectedMenu && childMenu.param === this.selectedMenu.param ||
|
|
79
|
+
this.navMenuService.selectedMenu && childMenu.param === this.navMenuService.selectedMenu.param;
|
|
80
|
+
}
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MainNavigationComponent, deps: [{ token: i1.NavMenuService }, { token: i2.UserManagementService }, { token: i0.ChangeDetectorRef }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MainNavigationComponent, selector: "app-main-navigation", ngImport: i0, template: "<div class=\"left-nav-menu\" >\n <div *ngFor=\"let menuItem of menuItems\">\n <span *ngFor=\"let childMenu of menuItem.children\">\n <a (click)=\"menuItemOnClick(childMenu?.targetUrl, childMenu)\" \n class=\"waves-effect waves-classic\"\n [ngClass]=\"{'active': isActiveMenuClass(childMenu)}\">\n <span *ngIf=\"childMenu.iconClass\" class=\"menu-icon {{childMenu.iconClass}}\"></span> \n <div>{{ childMenu.name }}</div>\n </a>\n </span>\n </div>\n</div>\n", styles: [".apollo-icon{font-family:Apollo Icons}.apollo-icon-chevron-down:before{content:\"\\e932\"}.apollo-icon-home:before{content:\"\\e980\"}.apollo-icon-chart-bar:before{content:\"\\e929\"}.apollo-icon-settings:before{content:\"\\e9cf\"}.apollo-icon-account:before{content:\"\\e900\"}.apollo-icon-help-circle:before{content:\"\\e97d\"}.apollo-icon-user-business:before{content:\"\\ea04\"}.apollo-icon-globe:before{content:\"\\e975\"}.apollo-icon-reload:before{content:\"\\e9c6\"}.component-title{color:#333;font-size:13px;font-weight:500}.left-nav-menu{height:100%}.left-nav-menu .menu-icon{display:inline-block;width:24px;height:24px;background-repeat:no-repeat}.left-nav-menu a{display:block;width:100px;padding:1rem 5px;color:#fff!important;text-align:center}.left-nav-menu a.active{background:#ffffff4d}.left-nav-menu a .title{display:block;font-size:12px}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
83
|
+
}
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MainNavigationComponent, decorators: [{
|
|
85
|
+
type: Component,
|
|
86
|
+
args: [{ selector: 'app-main-navigation', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, template: "<div class=\"left-nav-menu\" >\n <div *ngFor=\"let menuItem of menuItems\">\n <span *ngFor=\"let childMenu of menuItem.children\">\n <a (click)=\"menuItemOnClick(childMenu?.targetUrl, childMenu)\" \n class=\"waves-effect waves-classic\"\n [ngClass]=\"{'active': isActiveMenuClass(childMenu)}\">\n <span *ngIf=\"childMenu.iconClass\" class=\"menu-icon {{childMenu.iconClass}}\"></span> \n <div>{{ childMenu.name }}</div>\n </a>\n </span>\n </div>\n</div>\n", styles: [".apollo-icon{font-family:Apollo Icons}.apollo-icon-chevron-down:before{content:\"\\e932\"}.apollo-icon-home:before{content:\"\\e980\"}.apollo-icon-chart-bar:before{content:\"\\e929\"}.apollo-icon-settings:before{content:\"\\e9cf\"}.apollo-icon-account:before{content:\"\\e900\"}.apollo-icon-help-circle:before{content:\"\\e97d\"}.apollo-icon-user-business:before{content:\"\\ea04\"}.apollo-icon-globe:before{content:\"\\e975\"}.apollo-icon-reload:before{content:\"\\e9c6\"}.component-title{color:#333;font-size:13px;font-weight:500}.left-nav-menu{height:100%}.left-nav-menu .menu-icon{display:inline-block;width:24px;height:24px;background-repeat:no-repeat}.left-nav-menu a{display:block;width:100px;padding:1rem 5px;color:#fff!important;text-align:center}.left-nav-menu a.active{background:#ffffff4d}.left-nav-menu a .title{display:block;font-size:12px}\n"] }]
|
|
87
|
+
}], ctorParameters: () => [{ type: i1.NavMenuService }, { type: i2.UserManagementService }, { type: i0.ChangeDetectorRef }, { type: i3.Router }] });
|
|
88
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi1uYXZpZ2F0aW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYi9zcmMvY29yZS9jb21wb25lbnRzL3NpZGViYXIvbWFpbi1uYXZpZ2F0aW9uL21haW4tbmF2aWdhdGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9saWIvc3JjL2NvcmUvY29tcG9uZW50cy9zaWRlYmFyL21haW4tbmF2aWdhdGlvbi9tYWluLW5hdmlnYXRpb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBNkIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakgsT0FBTyxFQUFVLGFBQWEsRUFBZSxNQ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