@indigina/ui-kit 1.1.203 → 1.1.205
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/fesm2022/indigina-ui-kit.mjs +838 -826
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/index.d.ts +4340 -5
- package/package.json +28 -28
- package/lib/components/kit-autocomplete/kit-autocomplete.component.d.ts +0 -116
- package/lib/components/kit-autocomplete/kit-autocomplete.directive.d.ts +0 -9
- package/lib/components/kit-autocomplete/kit-autocomplete.module.d.ts +0 -16
- package/lib/components/kit-avatar/kit-avatar.component.d.ts +0 -21
- package/lib/components/kit-avatar/kit-avatar.const.d.ts +0 -5
- package/lib/components/kit-avatar/kit-avatar.module.d.ts +0 -9
- package/lib/components/kit-breadcrumbs/kit-breadcrumbs.component.d.ts +0 -10
- package/lib/components/kit-breadcrumbs/kit-breadcrumbs.model.d.ts +0 -4
- package/lib/components/kit-breadcrumbs/kit-breadcrumbs.module.d.ts +0 -9
- package/lib/components/kit-breadcrumbs/kit-breadcrumbs.service.d.ts +0 -21
- package/lib/components/kit-button/kit-button.component.d.ts +0 -50
- package/lib/components/kit-button/kit-button.const.d.ts +0 -21
- package/lib/components/kit-button/kit-button.module.d.ts +0 -10
- package/lib/components/kit-card/kit-card.component.d.ts +0 -36
- package/lib/components/kit-card/kit-card.const.d.ts +0 -9
- package/lib/components/kit-card/kit-card.model.d.ts +0 -22
- package/lib/components/kit-card/kit-card.module.d.ts +0 -12
- package/lib/components/kit-checkbox/kit-checkbox.component.d.ts +0 -62
- package/lib/components/kit-checkbox/kit-checkbox.module.d.ts +0 -13
- package/lib/components/kit-collapsed-list/kit-collapsed-list.component.d.ts +0 -50
- package/lib/components/kit-collapsed-list/kit-collapsed-list.const.d.ts +0 -4
- package/lib/components/kit-collapsed-list/kit-collapsed-list.model.d.ts +0 -15
- package/lib/components/kit-copy-text/kit-copy-text.component.d.ts +0 -32
- package/lib/components/kit-copy-text/kit-copy-text.module.d.ts +0 -9
- package/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.component.d.ts +0 -11
- package/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.module.d.ts +0 -10
- package/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.d.ts +0 -16
- package/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.d.ts +0 -9
- package/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.d.ts +0 -10
- package/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.d.ts +0 -19
- package/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.model.d.ts +0 -15
- package/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.d.ts +0 -13
- package/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.d.ts +0 -14
- package/lib/components/kit-cta-panel-item/kit-cta-panel-item.model.d.ts +0 -18
- package/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.d.ts +0 -11
- package/lib/components/kit-data-field/kit-data-field.component.d.ts +0 -18
- package/lib/components/kit-data-field/kit-data-field.const.d.ts +0 -4
- package/lib/components/kit-datepicker/kit-datepicker.component.d.ts +0 -80
- package/lib/components/kit-datepicker/kit-datepicker.const.d.ts +0 -4
- package/lib/components/kit-datepicker/kit-datepicker.module.d.ts +0 -12
- package/lib/components/kit-daterange/kit-daterange.component.d.ts +0 -105
- package/lib/components/kit-daterange/kit-daterange.module.d.ts +0 -13
- package/lib/components/kit-datetimepicker/kit-datetimepicker.component.d.ts +0 -101
- package/lib/components/kit-datetimepicker/kit-datetimepicker.module.d.ts +0 -13
- package/lib/components/kit-dialog/kit-dialog.component.d.ts +0 -5
- package/lib/components/kit-dialog/kit-dialog.service.d.ts +0 -14
- package/lib/components/kit-dialog-actions/kit-dialog-actions.component.d.ts +0 -5
- package/lib/components/kit-dropdown/kit-dropdown-item-template.directive.d.ts +0 -5
- package/lib/components/kit-dropdown/kit-dropdown.component.d.ts +0 -114
- package/lib/components/kit-dropdown/kit-dropdown.const.d.ts +0 -6
- package/lib/components/kit-dropdown/kit-dropdown.module.d.ts +0 -15
- package/lib/components/kit-empty-section/kit-empty-section.component.d.ts +0 -8
- package/lib/components/kit-entity-grid/kit-entity-grid.component.d.ts +0 -72
- package/lib/components/kit-entity-section/kit-entity-section.component.d.ts +0 -7
- package/lib/components/kit-entity-section-container/kit-entity-section-container.component.d.ts +0 -5
- package/lib/components/kit-entity-title/kit-entity-title.component.d.ts +0 -5
- package/lib/components/kit-entity-title/kit-entity-title.module.d.ts +0 -8
- package/lib/components/kit-file-card/kit-file-card-messages.component.d.ts +0 -21
- package/lib/components/kit-file-card/kit-file-card.component.d.ts +0 -52
- package/lib/components/kit-file-card/kit-file-card.const.d.ts +0 -26
- package/lib/components/kit-file-card/kit-file-card.module.d.ts +0 -11
- package/lib/components/kit-file-upload/kit-file-upload.component.d.ts +0 -62
- package/lib/components/kit-file-upload/kit-file-upload.model.d.ts +0 -10
- package/lib/components/kit-file-upload/kit-file-upload.module.d.ts +0 -12
- package/lib/components/kit-global-search/kit-global-search.component.d.ts +0 -45
- package/lib/components/kit-global-search/kit-global-search.model.d.ts +0 -40
- package/lib/components/kit-global-search/kit-global-search.util.d.ts +0 -8
- package/lib/components/kit-grid/kit-grid-cell-template.directive.d.ts +0 -5
- package/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.d.ts +0 -39
- package/lib/components/kit-grid/kit-grid-detail-template.directive.d.ts +0 -5
- package/lib/components/kit-grid/kit-grid.component.d.ts +0 -119
- package/lib/components/kit-grid/kit-grid.const.d.ts +0 -4
- package/lib/components/kit-grid/kit-grid.model.d.ts +0 -22
- package/lib/components/kit-grid/kit-grid.module.d.ts +0 -13
- package/lib/components/kit-input-label/kit-input-label.component.d.ts +0 -22
- package/lib/components/kit-input-label/kit-input-label.module.d.ts +0 -11
- package/lib/components/kit-input-message/kit-input-message.component.d.ts +0 -14
- package/lib/components/kit-input-message/kit-input-message.module.d.ts +0 -9
- package/lib/components/kit-loader/kit-loader.component.d.ts +0 -9
- package/lib/components/kit-loader/kit-loader.module.d.ts +0 -8
- package/lib/components/kit-location-stepper/kit-location-stepper.component.d.ts +0 -27
- package/lib/components/kit-location-stepper/kit-location-stepper.module.d.ts +0 -10
- package/lib/components/kit-multiselect/kit-multiselect.component.d.ts +0 -84
- package/lib/components/kit-multiselect/kit-multiselect.model.d.ts +0 -6
- package/lib/components/kit-multiselect/kit-multiselect.module.d.ts +0 -14
- package/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.d.ts +0 -18
- package/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.module.d.ts +0 -10
- package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +0 -38
- package/lib/components/kit-navigation-menu/kit-navigation-menu.model.d.ts +0 -15
- package/lib/components/kit-navigation-menu/kit-navigation-menu.module.d.ts +0 -12
- package/lib/components/kit-navigation-menu/kit-navigation-menu.service.d.ts +0 -12
- package/lib/components/kit-navigation-menu/kit-navigation-menu.util.d.ts +0 -2
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.d.ts +0 -18
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.const.d.ts +0 -4
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.model.d.ts +0 -10
- package/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.d.ts +0 -10
- package/lib/components/kit-note/kit-note.component.d.ts +0 -5
- package/lib/components/kit-note/kit-note.module.d.ts +0 -7
- package/lib/components/kit-notification/kit-notification.animation.d.ts +0 -2
- package/lib/components/kit-notification/kit-notification.component.d.ts +0 -21
- package/lib/components/kit-notification/kit-notification.const.d.ts +0 -13
- package/lib/components/kit-notification/kit-notification.service.d.ts +0 -11
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.d.ts +0 -91
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.const.d.ts +0 -10
- package/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.d.ts +0 -13
- package/lib/components/kit-page-layout/kit-page-layout.component.d.ts +0 -16
- package/lib/components/kit-pill/kit-pill.component.d.ts +0 -48
- package/lib/components/kit-pill/kit-pill.const.d.ts +0 -9
- package/lib/components/kit-popup/kit-popup.component.d.ts +0 -38
- package/lib/components/kit-popup/kit-popup.model.d.ts +0 -18
- package/lib/components/kit-profile-menu/kit-profile-menu.component.d.ts +0 -33
- package/lib/components/kit-profile-menu/kit-profile-menu.model.d.ts +0 -9
- package/lib/components/kit-radio-button/kit-radio-button.component.d.ts +0 -33
- package/lib/components/kit-radio-button/kit-radio-button.const.d.ts +0 -4
- package/lib/components/kit-radio-button/kit-radio-button.model.d.ts +0 -9
- package/lib/components/kit-radio-button/kit-radio-button.module.d.ts +0 -11
- package/lib/components/kit-route-path/kit-route-path.component.d.ts +0 -12
- package/lib/components/kit-scheduler/kit-scheduler-month-event-template.directive.d.ts +0 -5
- package/lib/components/kit-scheduler/kit-scheduler-toolbar/kit-scheduler-toolbar.component.d.ts +0 -26
- package/lib/components/kit-scheduler/kit-scheduler-week-event-template.directive.d.ts +0 -5
- package/lib/components/kit-scheduler/kit-scheduler.component.d.ts +0 -23
- package/lib/components/kit-scheduler/kit-scheduler.model.d.ts +0 -7
- package/lib/components/kit-scroll-navigation/kit-scroll-navigation-section/kit-scroll-navigation-section.component.d.ts +0 -17
- package/lib/components/kit-scroll-navigation/kit-scroll-navigation.component.d.ts +0 -37
- package/lib/components/kit-search-bar/kit-search-bar.component.d.ts +0 -29
- package/lib/components/kit-search-bar/kit-search-bar.module.d.ts +0 -11
- package/lib/components/kit-shipment-card/kit-shipment-card.component.d.ts +0 -22
- package/lib/components/kit-shipment-card/kit-shipment-card.model.d.ts +0 -18
- package/lib/components/kit-skeleton/kit-skeleton.component.d.ts +0 -30
- package/lib/components/kit-skeleton/kit-skeleton.module.d.ts +0 -9
- package/lib/components/kit-sortable/kit-sortable.component.d.ts +0 -28
- package/lib/components/kit-svg-icon/kit-svg-icon.component.d.ts +0 -13
- package/lib/components/kit-svg-icon/kit-svg-icon.const.d.ts +0 -156
- package/lib/components/kit-svg-icon/kit-svg-icon.module.d.ts +0 -7
- package/lib/components/kit-svg-sprite/kit-svg-sprite.component.d.ts +0 -5
- package/lib/components/kit-svg-sprite/kit-svg-sprite.module.d.ts +0 -7
- package/lib/components/kit-switch/kit-switch-item.model.d.ts +0 -20
- package/lib/components/kit-switch/kit-switch.component.d.ts +0 -78
- package/lib/components/kit-switch/kit-switch.module.d.ts +0 -12
- package/lib/components/kit-tabs/kit-tab/kit-tab-content.directive.d.ts +0 -5
- package/lib/components/kit-tabs/kit-tab/kit-tab.component.d.ts +0 -35
- package/lib/components/kit-tabs/kit-tab/kit-title-template.directive.d.ts +0 -5
- package/lib/components/kit-tabs/kit-tabs.component.d.ts +0 -31
- package/lib/components/kit-tabs/kit-tabs.const.d.ts +0 -9
- package/lib/components/kit-tabs/kit-tabs.model.d.ts +0 -5
- package/lib/components/kit-tabs/kit-tabs.module.d.ts +0 -13
- package/lib/components/kit-text-label/kit-text-label.component.d.ts +0 -33
- package/lib/components/kit-text-label/kit-text-label.module.d.ts +0 -10
- package/lib/components/kit-textarea/kit-textarea-autoresize.directive.d.ts +0 -11
- package/lib/components/kit-textarea/kit-textarea.component.d.ts +0 -112
- package/lib/components/kit-textarea/kit-textarea.const.d.ts +0 -6
- package/lib/components/kit-textarea/kit-textarea.module.d.ts +0 -13
- package/lib/components/kit-textbox/kit-textbox.component.d.ts +0 -78
- package/lib/components/kit-textbox/kit-textbox.const.d.ts +0 -10
- package/lib/components/kit-textbox/kit-textbox.module.d.ts +0 -12
- package/lib/components/kit-tilelayout/kit-tilelayout-item.component.d.ts +0 -7
- package/lib/components/kit-tilelayout/kit-tilelayout.component.d.ts +0 -18
- package/lib/components/kit-tilelayout/kit-tilelayout.interface.d.ts +0 -1
- package/lib/components/kit-tilelayout/kit-tilelayout.module.d.ts +0 -10
- package/lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component.d.ts +0 -12
- package/lib/components/kit-timeline/kit-timeline.component.d.ts +0 -10
- package/lib/components/kit-timeline/kit-timeline.const.d.ts +0 -16
- package/lib/components/kit-timeline/kit-timeline.model.d.ts +0 -20
- package/lib/components/kit-timepicker/kit-timepicker.component.d.ts +0 -85
- package/lib/components/kit-timepicker/kit-timepicker.module.d.ts +0 -12
- package/lib/components/kit-toastr/kit-toastr.module.d.ts +0 -13
- package/lib/components/kit-toastr/kit-toastr.service.d.ts +0 -47
- package/lib/components/kit-toggle/kit-toggle.component.d.ts +0 -60
- package/lib/components/kit-toggle/kit-toggle.module.d.ts +0 -11
- package/lib/components/kit-truncate-text/kit-truncate-text.component.d.ts +0 -12
- package/lib/components/kit-units-textbox/kit-units-textbox.component.d.ts +0 -129
- package/lib/components/kit-units-textbox/kit-units-textbox.model.d.ts +0 -8
- package/lib/components/kit-units-textbox/kit-units-textbox.module.d.ts +0 -15
- package/lib/const/date-time.const.d.ts +0 -2
- package/lib/directives/kit-badge/kit-badge.const.d.ts +0 -7
- package/lib/directives/kit-badge/kit-badge.directive.d.ts +0 -27
- package/lib/directives/kit-permission/kit-permission.directive.d.ts +0 -20
- package/lib/directives/kit-permission/kit-permission.module.d.ts +0 -7
- package/lib/directives/kit-tooltip/kit-tooltip.const.d.ts +0 -6
- package/lib/directives/kit-tooltip/kit-tooltip.directive.d.ts +0 -15
- package/lib/i18n/kit-translations.d.ts +0 -2
- package/lib/pipes/highlight.pipe.d.ts +0 -7
- package/lib/services/api/kit-permissions-api/kit-permissions-api.model.d.ts +0 -3
- package/lib/services/api/kit-permissions-api/kit-permissions-api.service.d.ts +0 -12
- package/lib/services/api/kit-settings-api/kit-settings-api.model.d.ts +0 -9
- package/lib/services/api/kit-settings-api/kit-settings-api.service.d.ts +0 -14
- package/lib/services/api/kit-user-api/kit-user-api.model.d.ts +0 -20
- package/lib/services/api/kit-user-api/kit-user-api.service.d.ts +0 -13
- package/lib/services/kit-menu-builder/kit-menu-builder.model.d.ts +0 -5
- package/lib/services/kit-menu-builder/kit-menu-builder.service.d.ts +0 -12
- package/lib/services/kit-query-params.service.d.ts +0 -14
- package/lib/services/kit-translate/kit-translate.service.d.ts +0 -9
- package/lib/store/abstract-payload.action.d.ts +0 -4
- package/lib/store/kit-user/kit-user.action.d.ts +0 -3
- package/lib/store/kit-user/kit-user.state.d.ts +0 -14
- package/lib/store/kit-user-applications/kit-user-applications.action.d.ts +0 -3
- package/lib/store/kit-user-applications/kit-user-applications.state.d.ts +0 -14
- package/lib/store/kit-user-permissions/kit-user-permissions.action.d.ts +0 -3
- package/lib/store/kit-user-permissions/kit-user-permissions.state.d.ts +0 -14
- package/lib/store/store.const.d.ts +0 -2
- package/lib/store/store.model.d.ts +0 -5
- package/lib/token/kit-base-path.token.d.ts +0 -2
- package/lib/utils/date.util.d.ts +0 -2
- package/lib/utils/kit-data-query/kit-data-query.const.d.ts +0 -24
- package/lib/utils/kit-data-query/kit-data-query.model.d.ts +0 -14
- package/lib/utils/kit-data-query/kit-data-query.util.d.ts +0 -2
- package/lib/utils/random.util.d.ts +0 -1
- package/lib/widgets/kit-grid-management/kit-grid-cell/kit-grid-cell.component.d.ts +0 -10
- package/lib/widgets/kit-grid-management/kit-grid-cell/kit-grid-cell.model.d.ts +0 -8
- package/lib/widgets/kit-grid-management/kit-grid-cell/kit-grid-cell.service.d.ts +0 -17
- package/lib/widgets/kit-grid-management/kit-grid-column-manager/kit-grid-column-manager.component.d.ts +0 -29
- package/lib/widgets/kit-grid-management/kit-grid-details-button/kit-grid-details-button.component.d.ts +0 -12
- package/lib/widgets/kit-grid-management/kit-grid-export/kit-grid-export.component.d.ts +0 -53
- package/lib/widgets/kit-grid-management/kit-grid-export/kit-grid-export.const.d.ts +0 -8
- package/lib/widgets/kit-grid-management/kit-grid-export/kit-grid-export.model.d.ts +0 -2
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-checkbox/kit-filter-checkbox.component.d.ts +0 -43
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-date/kit-filter-date.component.d.ts +0 -35
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-date/kit-filter-date.model.d.ts +0 -4
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-input/kit-filter-input.component.d.ts +0 -57
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-input/kit-filter-input.const.d.ts +0 -3
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-null-check/kit-filter-null-check.component.d.ts +0 -38
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-radio/kit-filter-radio.component.d.ts +0 -39
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-selector/kit-filter-selector.component.d.ts +0 -26
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-filter-selector/kit-filter-selector.model.d.ts +0 -7
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-grid-filters.component.d.ts +0 -28
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-grid-filters.model.d.ts +0 -34
- package/lib/widgets/kit-grid-management/kit-grid-filters/kit-grid-filters.util.d.ts +0 -8
- package/lib/widgets/kit-grid-management/kit-grid-management.model.d.ts +0 -10
- package/lib/widgets/kit-grid-management/kit-grid-management.util.d.ts +0 -7
- package/lib/widgets/kit-grid-management/kit-grid-search/kit-grid-search.component.d.ts +0 -19
- package/lib/widgets/kit-grid-management/kit-grid-url-state.service.d.ts +0 -12
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views-manager/kit-grid-views-manager.component.d.ts +0 -27
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views-save/kit-grid-views-save.component.d.ts +0 -40
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views.component.d.ts +0 -86
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views.model.d.ts +0 -8
- package/lib/widgets/kit-grid-management/kit-grid-views/kit-grid-views.util.d.ts +0 -11
- package/lib/widgets/kit-grid-management/kit-grid-views/store/kit-grid-views.action.d.ts +0 -23
- package/lib/widgets/kit-grid-management/kit-grid-views/store/kit-grid-views.model.d.ts +0 -33
- package/lib/widgets/kit-grid-management/kit-grid-views/store/kit-grid-views.state.d.ts +0 -25
- package/lib/widgets/kit-grid-management/store/kit-grid.action.d.ts +0 -34
- package/lib/widgets/kit-grid-management/store/kit-grid.model.d.ts +0 -21
- package/lib/widgets/kit-grid-management/store/kit-grid.state.d.ts +0 -21
- package/lib/widgets/kit-sidebar/kit-sidebar.component.d.ts +0 -18
- package/lib/widgets/kit-skeleton/kit-skeleton-grid/kit-skeleton-grid.component.d.ts +0 -9
- package/lib/widgets/kit-top-bar/kit-top-bar-user/kit-top-bar-user.component.d.ts +0 -24
- package/lib/widgets/kit-top-bar/kit-top-bar-user/kit-top-bar-user.model.d.ts +0 -4
- package/lib/widgets/kit-top-bar/kit-top-bar.component.d.ts +0 -17
- package/lib/widgets/kit-user-settings/kit-user-settings.component.d.ts +0 -18
- package/lib/widgets/kit-user-settings/store/kit-user-settings.action.d.ts +0 -10
- package/lib/widgets/kit-user-settings/store/kit-user-settings.const.d.ts +0 -4
- package/lib/widgets/kit-user-settings/store/kit-user-settings.state.d.ts +0 -17
- package/public-api.d.ts +0 -216
package/index.d.ts
CHANGED
|
@@ -1,5 +1,4340 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InputSignal, EventEmitter, Predicate, ElementRef, OnInit, TemplateRef, WritableSignal, ChangeDetectorRef, Signal, OnChanges, OnDestroy, Renderer2, OutputEmitterRef, ModuleWithProviders, RendererFactory2, ViewContainerRef, ModelSignal, SimpleChanges, AfterContentInit, QueryList, AfterViewInit, InjectionToken, DestroyRef } from '@angular/core';
|
|
3
|
+
import * as i2 from '@progress/kendo-angular-buttons';
|
|
4
|
+
import * as i2$1 from '@angular/common';
|
|
5
|
+
import { TitleCasePipe, DecimalPipe, DatePipe } from '@angular/common';
|
|
6
|
+
import * as i3 from '@progress/kendo-angular-label';
|
|
7
|
+
import { TooltipDirective } from '@progress/kendo-angular-tooltip';
|
|
8
|
+
import * as i5 from '@angular/forms';
|
|
9
|
+
import { ControlValueAccessor, AbstractControl, UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
|
|
10
|
+
import * as i3$1 from '@progress/kendo-angular-inputs';
|
|
11
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
12
|
+
import * as i4 from '@progress/kendo-angular-dropdowns';
|
|
13
|
+
import { PopupSettings, DropDownListComponent, ItemDisabledFn, MultiSelectComponent } from '@progress/kendo-angular-dropdowns';
|
|
14
|
+
import * as i3$2 from '@progress/kendo-angular-dateinputs';
|
|
15
|
+
import { DateTimePickerComponent, DateRangePopupComponent, DatePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
16
|
+
import { ToastrModule, ToastrService, ActiveToast } from 'ngx-toastr';
|
|
17
|
+
import * as i3$3 from '@angular/router';
|
|
18
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
19
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
20
|
+
import { DialogRef, DialogService, DialogSettings } from '@progress/kendo-angular-dialog';
|
|
21
|
+
export { DialogAction, DialogCloseResult, DialogContentBase, DialogRef, DialogResult } from '@progress/kendo-angular-dialog';
|
|
22
|
+
import * as i3$4 from '@progress/kendo-angular-indicators';
|
|
23
|
+
import * as i3$5 from '@progress/kendo-angular-upload';
|
|
24
|
+
import { FileInfo } from '@progress/kendo-angular-upload';
|
|
25
|
+
import * as i8 from '@ngx-translate/core';
|
|
26
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
27
|
+
import { PopupService, PopupSettings as PopupSettings$1 } from '@progress/kendo-angular-popup';
|
|
28
|
+
import * as i4$1 from '@progress/kendo-angular-layout';
|
|
29
|
+
import { SelectEvent } from '@progress/kendo-angular-layout';
|
|
30
|
+
import * as i4$2 from '@progress/kendo-angular-grid';
|
|
31
|
+
import { PageChangeEvent, DetailExpandEvent, DetailCollapseEvent, CellClickEvent, ExcelExportEvent, GridComponent, RowClassArgs, PagerSettings } from '@progress/kendo-angular-grid';
|
|
32
|
+
import { SortDescriptor, CompositeFilterDescriptor, FilterDescriptor } from '@progress/kendo-data-query';
|
|
33
|
+
import { PDFOptions, PaperSize } from '@progress/kendo-drawing/dist/npm/pdf';
|
|
34
|
+
import { Store, StateContext, StateToken } from '@ngxs/store';
|
|
35
|
+
import { DataMoveEvent } from '@progress/kendo-angular-sortable';
|
|
36
|
+
import { HttpClient } from '@angular/common/http';
|
|
37
|
+
import { SchedulerEvent, EventClickEvent, SlotClickEvent, SchedulerComponent } from '@progress/kendo-angular-scheduler';
|
|
38
|
+
|
|
39
|
+
declare enum KitSvgIcon {
|
|
40
|
+
LOGO = "logo",
|
|
41
|
+
CHEVRON_DOWN = "chevron-down",
|
|
42
|
+
CHEVRON_UP = "chevron-up",
|
|
43
|
+
CHEVRON_RIGHT = "chevron-right",
|
|
44
|
+
CHEVRON_LEFT = "chevron-left",
|
|
45
|
+
PLUS = "plus",
|
|
46
|
+
INFO = "info",
|
|
47
|
+
CALENDAR = "calendar",
|
|
48
|
+
WARNING = "warning",
|
|
49
|
+
ERROR = "error",
|
|
50
|
+
SUCCESS = "success",
|
|
51
|
+
EYE = "eye",
|
|
52
|
+
SEARCH = "search",
|
|
53
|
+
EDIT = "edit",
|
|
54
|
+
LOCATION = "location",
|
|
55
|
+
CROSS = "cross",
|
|
56
|
+
CHECK = "check",
|
|
57
|
+
CHECK_CIRCLE = "check-circle",
|
|
58
|
+
DISKETTE = "diskette",
|
|
59
|
+
CLIPBOARD = "clipboard",
|
|
60
|
+
LAYERS = "layers",
|
|
61
|
+
KNAUF = "knauf-logo",
|
|
62
|
+
HOME = "home",
|
|
63
|
+
DOUBLE_CIRCLE = "double-circle",
|
|
64
|
+
PENCIL = "pencil",
|
|
65
|
+
ORDER = "order",
|
|
66
|
+
RESET = "reset",
|
|
67
|
+
CIRCLE_CROSS = "circle-cross",
|
|
68
|
+
TRUCK = "truck",
|
|
69
|
+
DELIVERED = "delivered",
|
|
70
|
+
FTL = "ftl",
|
|
71
|
+
LTL = "ltl",
|
|
72
|
+
ORG = "org",
|
|
73
|
+
ARCHIVE = "archive",
|
|
74
|
+
LOGOUT = "logout",
|
|
75
|
+
CONTAINER = "container",
|
|
76
|
+
CARRIER = "carrier",
|
|
77
|
+
EXPORT = "export",
|
|
78
|
+
GEAR = "gear",
|
|
79
|
+
STOCK = "stock",
|
|
80
|
+
STATUS = "status",
|
|
81
|
+
CLOSE_SIGN = "close-sign",
|
|
82
|
+
CLOSE_SIGN_RED = "close-sign-red",
|
|
83
|
+
OPEN_SIGN_GREEN = "open-sign-green",
|
|
84
|
+
ARROW_LEFT = "arrow-left",
|
|
85
|
+
WARNING_YELLOW = "warning-yellow",
|
|
86
|
+
CIRCLE_MINUS = "circle-minus",
|
|
87
|
+
CIRCLE_PLUS = "circle-plus",
|
|
88
|
+
THREE_CIRCLE_ARROW_LEFT = "three-circle-arrow-left",
|
|
89
|
+
THREE_CIRCLE_ARROW_RIGHT = "three-circle-arrow-right",
|
|
90
|
+
SEND = "send",
|
|
91
|
+
CALENDAR_CHECK = "calendar-check",
|
|
92
|
+
CLIPBOARD_THIN = "clipboard-thin",
|
|
93
|
+
WALLET = "wallet",
|
|
94
|
+
CIRCLE_PULSE = "circle-pulse",
|
|
95
|
+
CIRCLE_CROSS_THIN = "circle-cross-thin",
|
|
96
|
+
TRASH = "trash",
|
|
97
|
+
WRENCH = "wrench",
|
|
98
|
+
TIME = "time",
|
|
99
|
+
WARNING_DEFAULT = "warning-default",
|
|
100
|
+
ROTATE_LEFT = "rotate-left",
|
|
101
|
+
DOWNLOAD = "download",
|
|
102
|
+
FILE_TEXT = "file-text",
|
|
103
|
+
ARROW_UP_RIGHT_FROM_SQUARE = "arrow-up-right-from-square",
|
|
104
|
+
CIRCLE_EXCLAMATION = "circle-exclamation",
|
|
105
|
+
TRIANGLE_EXCLAMATION = "triangle-exclamation",
|
|
106
|
+
SHIP = "ship",
|
|
107
|
+
CLOCK = "clock",
|
|
108
|
+
FACTORY = "factory",
|
|
109
|
+
COPY = "copy",
|
|
110
|
+
GEAR_1 = "gear-1",
|
|
111
|
+
HOUSE = "house",
|
|
112
|
+
CHART = "chart",
|
|
113
|
+
CLIP = "clip",
|
|
114
|
+
MAIL = "mail",
|
|
115
|
+
MENU = "menu",
|
|
116
|
+
MESSAGE = "message",
|
|
117
|
+
RELOAD = "reload",
|
|
118
|
+
WINDOW_RESTORE = "window-restore",
|
|
119
|
+
BACK_ARROW = "back-arrow",
|
|
120
|
+
USER = "user",
|
|
121
|
+
CARET_DOWN = "caret-down",
|
|
122
|
+
CARET_UP = "caret-up",
|
|
123
|
+
INFO_CIRCLE = "info-circle",
|
|
124
|
+
CHECK_CIRCLE_FILLED = "check-circle-filled",
|
|
125
|
+
WARNING_CIRCLE = "warning-circle",
|
|
126
|
+
WARNING_CIRCLE_FILLED = "warning-circle-filled",
|
|
127
|
+
CLOSE_CIRCLE_FILLED = "close-circle-filled",
|
|
128
|
+
QUESTION_CIRCLE = "question-circle",
|
|
129
|
+
STAR = "star",
|
|
130
|
+
SORT_ASCENDING = "sort-ascending",
|
|
131
|
+
SORT_DESCENDING = "sort-descending",
|
|
132
|
+
PAYMENTS = "payments",
|
|
133
|
+
SUPPLY_CHAIN = "supply-chain",
|
|
134
|
+
ANALYTICS = "analytics",
|
|
135
|
+
CONTROL_PANEL = "control-panel",
|
|
136
|
+
SEKO = "seko",
|
|
137
|
+
SEKO_360 = "seko-360",
|
|
138
|
+
FOUR_SQUARE = "four-square",
|
|
139
|
+
LOGISTICS = "logistics",
|
|
140
|
+
PRINTING = "printing",
|
|
141
|
+
SALES_CHANNELS = "sales-channels",
|
|
142
|
+
DESIGN = "design",
|
|
143
|
+
SHIPMENTS_TO_APPROVE = "shipments-to-approve",
|
|
144
|
+
SHIPMENTS_IN_TRANSIT = "shipments-in-transit",
|
|
145
|
+
CONTAINERS_TO_DELIVER = "containers-to-deliver",
|
|
146
|
+
SHIPMENTS_DRAFT = "shipments-draft",
|
|
147
|
+
SHIPMENTS_CANCELLATION_REQUESTS = "shipments-cancellation-requests",
|
|
148
|
+
SHIPMENTS_FOR_RE_AUTH = "shipments-for-re-auth",
|
|
149
|
+
SHIPMENTS_READY_TO_SHIP = "shipments-ready-to-ship",
|
|
150
|
+
BOOKINGS_DRAFT = "bookings-draft",
|
|
151
|
+
SHIPMENTS_PENDING_INSTRUCTIONS = "shipments-pending-instructions",
|
|
152
|
+
SHIPMENTS_PENDING_DOCUMENTS = "shipments-pending-documents",
|
|
153
|
+
DELIVERIES_TO_BOOK = "deliveries-to-book",
|
|
154
|
+
DELIVERIES_REQUIRE_CONFIRMATION = "deliveries-require-confirmation",
|
|
155
|
+
DELIVERIES_TO_RESCHEDULE = "deliveries-to-reschedule",
|
|
156
|
+
DELIVERIES_REQUIRE_AMENDMENTS = "deliveries-require-amendments",
|
|
157
|
+
DELIVERIES_REQUIRE_CANCELLATION = "deliveries-require-cancellation",
|
|
158
|
+
DELIVERIES_REQUIRE_POD_CUSTOMS = "deliveries-require-pod-customs",
|
|
159
|
+
WMS = "wms",
|
|
160
|
+
DCM = "dcm",
|
|
161
|
+
IHUB = "ihub",
|
|
162
|
+
TMS = "tms",
|
|
163
|
+
NSS = "nss",
|
|
164
|
+
DMS = "dms",
|
|
165
|
+
PMS = "pms",
|
|
166
|
+
EXCEL_FILE = "excel-file",
|
|
167
|
+
WORD_FILE = "word-file",
|
|
168
|
+
PDF_FILE = "pdf-file",
|
|
169
|
+
IMAGE_FILE = "image-file",
|
|
170
|
+
XML_FILE = "xml-file",
|
|
171
|
+
CSV_FILE = "csv-file",
|
|
172
|
+
EMPTY = "empty",
|
|
173
|
+
PRODUCT = "product",
|
|
174
|
+
NOTIFICATION = "notification",
|
|
175
|
+
COLUMNS = "columns",
|
|
176
|
+
DETAILS = "details",
|
|
177
|
+
FILTER = "filter",
|
|
178
|
+
NOTIFICATION_SUCCESS = "notification-success",
|
|
179
|
+
NOTIFICATION_WARNING = "notification-warning",
|
|
180
|
+
EYE_OPEN = "eye-open",
|
|
181
|
+
EYE_CLOSE = "eye-close",
|
|
182
|
+
GLOBAL = "global",
|
|
183
|
+
TO_APPROVE = "to-approve",
|
|
184
|
+
CHECK_STICKER = "check-sticker",
|
|
185
|
+
AIR = "air",
|
|
186
|
+
TABLE_VIEW = "table-view",
|
|
187
|
+
LIST_VIEW = "list-view",
|
|
188
|
+
KANBAN_VIEW = "kanban-view",
|
|
189
|
+
VIEWS = "views"
|
|
190
|
+
}
|
|
191
|
+
declare enum KitSvgIconType {
|
|
192
|
+
FILL = "fill",
|
|
193
|
+
STROKE = "stroke"
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
declare enum KitButtonType {
|
|
197
|
+
PRIMARY = "primary",
|
|
198
|
+
GHOST = "ghost",
|
|
199
|
+
TEXT = "text",
|
|
200
|
+
LINK = "link",
|
|
201
|
+
DASHED = "dashed"
|
|
202
|
+
}
|
|
203
|
+
declare enum KitButtonKind {
|
|
204
|
+
LARGE = "large",
|
|
205
|
+
MEDIUM = "medium",
|
|
206
|
+
SMALL = "small"
|
|
207
|
+
}
|
|
208
|
+
declare enum KitButtonIconPosition {
|
|
209
|
+
LEADING = "leading",
|
|
210
|
+
TRAILING = "trailing"
|
|
211
|
+
}
|
|
212
|
+
declare enum KitButtonState {
|
|
213
|
+
DEFAULT = "default",
|
|
214
|
+
SUCCESS = "success",
|
|
215
|
+
WARNING = "warning"
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare class KitButtonComponent {
|
|
219
|
+
/**
|
|
220
|
+
* States whether the button will be disabled or not from appearance point of view
|
|
221
|
+
*/
|
|
222
|
+
disabled: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Defines a value that is going to be applied as a button label
|
|
225
|
+
*/
|
|
226
|
+
label: string;
|
|
227
|
+
/**
|
|
228
|
+
* This value defines button type
|
|
229
|
+
*/
|
|
230
|
+
type: KitButtonType;
|
|
231
|
+
/**
|
|
232
|
+
* An icon which will be used in a button with icon
|
|
233
|
+
*/
|
|
234
|
+
icon?: KitSvgIcon;
|
|
235
|
+
/**
|
|
236
|
+
* Defines the icon type of the button
|
|
237
|
+
*/
|
|
238
|
+
iconType?: KitSvgIconType;
|
|
239
|
+
/**
|
|
240
|
+
* Defines a kind of button (regular, mini, etc.)
|
|
241
|
+
*/
|
|
242
|
+
kind: KitButtonKind;
|
|
243
|
+
readonly state: InputSignal<KitButtonState>;
|
|
244
|
+
/**
|
|
245
|
+
* A place where the icon will be displayed
|
|
246
|
+
*/
|
|
247
|
+
iconPosition: KitButtonIconPosition;
|
|
248
|
+
/**
|
|
249
|
+
* A CSS class which will be applied to the HTML button component
|
|
250
|
+
*/
|
|
251
|
+
buttonClass: string;
|
|
252
|
+
/**
|
|
253
|
+
* Defines an active state of the button
|
|
254
|
+
*/
|
|
255
|
+
active: boolean;
|
|
256
|
+
/**
|
|
257
|
+
* An action which is emitted as soon as user clicked the button
|
|
258
|
+
*/
|
|
259
|
+
clicked: EventEmitter<MouseEvent>;
|
|
260
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitButtonComponent, never>;
|
|
262
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitButtonComponent, "kit-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "kind": { "alias": "kind"; "required": false; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
declare class KitSvgIconComponent {
|
|
266
|
+
/**
|
|
267
|
+
* Defines an icon which to be shown
|
|
268
|
+
*/
|
|
269
|
+
icon: string | null;
|
|
270
|
+
/**
|
|
271
|
+
* Defines a CSS class that will be applied to an icon
|
|
272
|
+
*/
|
|
273
|
+
iconClass: string | null;
|
|
274
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSvgIconComponent, never>;
|
|
275
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSvgIconComponent, "kit-svg-icon", never, { "icon": { "alias": "icon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
declare class KitSvgIconModule {
|
|
279
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSvgIconModule, never>;
|
|
280
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitSvgIconModule, [typeof KitSvgIconComponent], never, [typeof KitSvgIconComponent]>;
|
|
281
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitSvgIconModule>;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
declare class KitButtonModule {
|
|
285
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitButtonModule, never>;
|
|
286
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitButtonModule, [typeof KitButtonComponent], [typeof i2.ButtonModule, typeof i2$1.CommonModule, typeof KitSvgIconModule], [typeof KitButtonComponent]>;
|
|
287
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitButtonModule>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare class KitSvgSpriteComponent {
|
|
291
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSvgSpriteComponent, never>;
|
|
292
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSvgSpriteComponent, "kit-svg-sprite", never, {}, {}, never, never, false, never>;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare class KitSvgSpriteModule {
|
|
296
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSvgSpriteModule, never>;
|
|
297
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitSvgSpriteModule, [typeof KitSvgSpriteComponent], never, [typeof KitSvgSpriteComponent]>;
|
|
298
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitSvgSpriteModule>;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
declare class KitLoaderComponent {
|
|
302
|
+
/**
|
|
303
|
+
* An icon which will be used for loader
|
|
304
|
+
*/
|
|
305
|
+
readonly SvgIconLogo: string;
|
|
306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitLoaderComponent, never>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitLoaderComponent, "kit-loader", never, {}, {}, never, never, false, never>;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
declare class KitLoaderModule {
|
|
311
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitLoaderModule, never>;
|
|
312
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitLoaderModule, [typeof KitLoaderComponent], [typeof KitSvgIconModule], [typeof KitLoaderComponent]>;
|
|
313
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitLoaderModule>;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
interface KitSwitchItem {
|
|
317
|
+
/**
|
|
318
|
+
* this is going to be used as an item value to identify what item has been selected
|
|
319
|
+
*/
|
|
320
|
+
value: string;
|
|
321
|
+
/**
|
|
322
|
+
* in case of using item without icon this will be shown within an item
|
|
323
|
+
*/
|
|
324
|
+
title?: string;
|
|
325
|
+
/**
|
|
326
|
+
* an icon name from KitSvgIcon list; so this will be shown instead of title in case of use
|
|
327
|
+
*/
|
|
328
|
+
icon?: KitSvgIcon;
|
|
329
|
+
/**
|
|
330
|
+
* a function which is going to be used in order to decide whether an item needs to be disabled
|
|
331
|
+
*/
|
|
332
|
+
disabled?: Predicate<KitSwitchItem>;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
declare enum KitSwitchMode {
|
|
336
|
+
SINGLE = "single",
|
|
337
|
+
MULTI = "multiple"
|
|
338
|
+
}
|
|
339
|
+
interface KitSwitchItemSelection {
|
|
340
|
+
selected: boolean;
|
|
341
|
+
item: KitSwitchItem;
|
|
342
|
+
mode: KitSwitchMode;
|
|
343
|
+
}
|
|
344
|
+
declare enum KitSwitchState {
|
|
345
|
+
REGULAR = "regular",
|
|
346
|
+
DANGER = "danger"
|
|
347
|
+
}
|
|
348
|
+
declare class KitSwitchComponent {
|
|
349
|
+
/**
|
|
350
|
+
* items list which is going to be rendered as switch buttons
|
|
351
|
+
* each of them should have uniq value but not uniq title
|
|
352
|
+
*/
|
|
353
|
+
items: KitSwitchItem[];
|
|
354
|
+
/**
|
|
355
|
+
* defines whether it will be possible to choose several options at time
|
|
356
|
+
*/
|
|
357
|
+
mode: KitSwitchMode;
|
|
358
|
+
/**
|
|
359
|
+
* a label which will be shown above the switch group
|
|
360
|
+
*/
|
|
361
|
+
label?: string;
|
|
362
|
+
/**
|
|
363
|
+
* defines whether the entire group will be disabled and will no have an ability to be changed
|
|
364
|
+
*/
|
|
365
|
+
disabled?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* defines what values have to be selected
|
|
368
|
+
* in case of "single" mode it should be only one value
|
|
369
|
+
*/
|
|
370
|
+
selection?: string[];
|
|
371
|
+
/**
|
|
372
|
+
* Defines an icon which will be used to the left of the info message
|
|
373
|
+
*/
|
|
374
|
+
messageIcon?: KitSvgIcon;
|
|
375
|
+
/**
|
|
376
|
+
* Defines a value which going to be an info message text
|
|
377
|
+
*/
|
|
378
|
+
messageText?: string;
|
|
379
|
+
/**
|
|
380
|
+
* Defines a particular state for the component
|
|
381
|
+
*/
|
|
382
|
+
state: KitSwitchState;
|
|
383
|
+
/**
|
|
384
|
+
* emits when an items has been selected
|
|
385
|
+
*/
|
|
386
|
+
selected: EventEmitter<KitSwitchItemSelection>;
|
|
387
|
+
/**
|
|
388
|
+
* occurs when an item has been selected
|
|
389
|
+
*
|
|
390
|
+
* @param selected false if a previous value comes
|
|
391
|
+
* @param item an item which is selected currently or a previous one
|
|
392
|
+
*/
|
|
393
|
+
onItemSelect(selected: boolean, item: KitSwitchItem): void;
|
|
394
|
+
/**
|
|
395
|
+
* returns true if "selection" input contains a value for an item
|
|
396
|
+
*
|
|
397
|
+
* @param item an item for which need to check whether it needs to be selected
|
|
398
|
+
*/
|
|
399
|
+
isItemSelected(item: KitSwitchItem): boolean;
|
|
400
|
+
/**
|
|
401
|
+
* returns "true" in case the mode is set to "single"
|
|
402
|
+
*
|
|
403
|
+
* @private
|
|
404
|
+
*/
|
|
405
|
+
private isSingleMode;
|
|
406
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSwitchComponent, never>;
|
|
407
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSwitchComponent, "kit-switch", never, { "items": { "alias": "items"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selection": { "alias": "selection"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
declare class KitInputMessageComponent {
|
|
411
|
+
/**
|
|
412
|
+
* An icon which will be used to the left of the info message
|
|
413
|
+
*/
|
|
414
|
+
icon?: KitSvgIcon;
|
|
415
|
+
/**
|
|
416
|
+
* Defines a value which going to be an info message text
|
|
417
|
+
*/
|
|
418
|
+
message: string;
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitInputMessageComponent, never>;
|
|
420
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitInputMessageComponent, "kit-input-message", never, { "icon": { "alias": "icon"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
declare class KitInputMessageModule {
|
|
424
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitInputMessageModule, never>;
|
|
425
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitInputMessageModule, [typeof KitInputMessageComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule], [typeof KitInputMessageComponent]>;
|
|
426
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitInputMessageModule>;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
declare enum KitTooltipPosition {
|
|
430
|
+
TOP = "top",
|
|
431
|
+
BOTTOM = "bottom",
|
|
432
|
+
RIGHT = "right",
|
|
433
|
+
LEFT = "left"
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
declare class KitInputLabelComponent {
|
|
437
|
+
/**
|
|
438
|
+
* Defines the text content of the label
|
|
439
|
+
*/
|
|
440
|
+
text?: string;
|
|
441
|
+
/**
|
|
442
|
+
* Associates the label with a component by a template reference
|
|
443
|
+
*/
|
|
444
|
+
for?: ElementRef;
|
|
445
|
+
/**
|
|
446
|
+
* Defines the tooltip text
|
|
447
|
+
*/
|
|
448
|
+
tooltip?: string;
|
|
449
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
450
|
+
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitInputLabelComponent, never>;
|
|
452
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitInputLabelComponent, "kit-input-label", never, { "text": { "alias": "text"; "required": false; }; "for": { "alias": "for"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, never, never, false, never>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare class KitTooltipDirective extends TooltipDirective implements OnInit {
|
|
456
|
+
readonly kitTooltipPosition: InputSignal<KitTooltipPosition>;
|
|
457
|
+
readonly kitTooltipFilter: InputSignal<string>;
|
|
458
|
+
readonly kitTooltipTemplateRef: InputSignal<TemplateRef<HTMLElement> | undefined>;
|
|
459
|
+
readonly kitTooltipVisible: InputSignal<boolean>;
|
|
460
|
+
constructor();
|
|
461
|
+
ngOnInit(): void;
|
|
462
|
+
private getShowOption;
|
|
463
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTooltipDirective, never>;
|
|
464
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTooltipDirective, "[kitTooltip]", never, { "kitTooltipPosition": { "alias": "kitTooltipPosition"; "required": false; "isSignal": true; }; "kitTooltipFilter": { "alias": "kitTooltipFilter"; "required": false; "isSignal": true; }; "kitTooltipTemplateRef": { "alias": "kitTooltipTemplateRef"; "required": false; "isSignal": true; }; "kitTooltipVisible": { "alias": "kitTooltipVisible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
declare class KitInputLabelModule {
|
|
468
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitInputLabelModule, never>;
|
|
469
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitInputLabelModule, [typeof KitInputLabelComponent], [typeof i2$1.CommonModule, typeof i3.LabelModule, typeof KitSvgIconModule, typeof KitTooltipDirective], [typeof KitInputLabelComponent]>;
|
|
470
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitInputLabelModule>;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
declare class KitSwitchModule {
|
|
474
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSwitchModule, never>;
|
|
475
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitSwitchModule, [typeof KitSwitchComponent], [typeof i2.ButtonGroupModule, typeof i2.ButtonModule, typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof KitInputMessageModule, typeof KitInputLabelModule], [typeof KitSwitchComponent]>;
|
|
476
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitSwitchModule>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare enum KitTextboxState {
|
|
480
|
+
DEFAULT = "default",
|
|
481
|
+
WARNING = "warning",
|
|
482
|
+
ERROR = "error",
|
|
483
|
+
SUCCESS = "success"
|
|
484
|
+
}
|
|
485
|
+
declare enum KitTextboxSize {
|
|
486
|
+
REGULAR = "regular",
|
|
487
|
+
SMALL = "small"
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
declare class KitTextboxComponent implements ControlValueAccessor {
|
|
491
|
+
/**
|
|
492
|
+
* Defines a value that is going to be applied as an input placeholder
|
|
493
|
+
*/
|
|
494
|
+
placeholder?: string;
|
|
495
|
+
/**
|
|
496
|
+
* Defines a value that is going to be applied as an input label
|
|
497
|
+
*/
|
|
498
|
+
label?: string;
|
|
499
|
+
/**
|
|
500
|
+
* Defines a value that is going to be applied as a default input value
|
|
501
|
+
*/
|
|
502
|
+
defaultValue?: string;
|
|
503
|
+
/**
|
|
504
|
+
* Defines an icon which will be used to the left of the info message
|
|
505
|
+
*/
|
|
506
|
+
messageIcon?: KitSvgIcon;
|
|
507
|
+
/**
|
|
508
|
+
* Defines a value which going to be an info message text
|
|
509
|
+
*/
|
|
510
|
+
messageText?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Defines a state whether the textbox will be disabled or not
|
|
513
|
+
*/
|
|
514
|
+
disabled: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* Defines the maximum length of the textbox value
|
|
517
|
+
*/
|
|
518
|
+
maxlength?: number;
|
|
519
|
+
/**
|
|
520
|
+
* Defines the state of the textbox
|
|
521
|
+
*/
|
|
522
|
+
state: KitTextboxState;
|
|
523
|
+
/**
|
|
524
|
+
* Defines the size of the textbox
|
|
525
|
+
*/
|
|
526
|
+
size: KitTextboxSize;
|
|
527
|
+
/**
|
|
528
|
+
* Defines the icon which will be used with the input field
|
|
529
|
+
*/
|
|
530
|
+
icon?: KitSvgIcon;
|
|
531
|
+
/**
|
|
532
|
+
* An action which is emitted when input field lost focus
|
|
533
|
+
*/
|
|
534
|
+
blured: EventEmitter<void>;
|
|
535
|
+
/**
|
|
536
|
+
* An action which is emitted when input value changed
|
|
537
|
+
*/
|
|
538
|
+
changed: EventEmitter<string>;
|
|
539
|
+
readonly textboxStateIcon: Record<KitTextboxState, KitSvgIcon>;
|
|
540
|
+
/**
|
|
541
|
+
* Function that should be called every time the form control value changes
|
|
542
|
+
*/
|
|
543
|
+
onChange: (value: string) => void;
|
|
544
|
+
/**
|
|
545
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
546
|
+
*/
|
|
547
|
+
onTouched: () => void;
|
|
548
|
+
writeValue(value: string): void;
|
|
549
|
+
registerOnChange(fn: (_: string) => void): void;
|
|
550
|
+
registerOnTouched(fn: () => void): void;
|
|
551
|
+
setDisabledState(disabled: boolean): void;
|
|
552
|
+
/**
|
|
553
|
+
* Function that is called when input field lost focus
|
|
554
|
+
*/
|
|
555
|
+
onInputBlur(): void;
|
|
556
|
+
/**
|
|
557
|
+
* Function that is called when input value changed
|
|
558
|
+
*/
|
|
559
|
+
onInputChange(value: string): void;
|
|
560
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxComponent, never>;
|
|
561
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextboxComponent, "kit-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
declare class KitTextboxModule {
|
|
565
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextboxModule, never>;
|
|
566
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextboxModule, [typeof KitTextboxComponent], [typeof i2$1.CommonModule, typeof i3$1.TextBoxModule, typeof KitInputLabelModule, typeof KitInputMessageModule, typeof KitSvgIconModule], [typeof KitTextboxComponent]>;
|
|
567
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTextboxModule>;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
declare enum KitNumericTextboxState {
|
|
571
|
+
DEFAULT = "default",
|
|
572
|
+
WARNING = "warning",
|
|
573
|
+
ERROR = "error",
|
|
574
|
+
SUCCESS = "success"
|
|
575
|
+
}
|
|
576
|
+
declare enum KitNumericTextboxSize {
|
|
577
|
+
REGULAR = "regular",
|
|
578
|
+
SMALL = "small"
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
declare class KitNumericTextboxComponent implements ControlValueAccessor {
|
|
582
|
+
/**
|
|
583
|
+
* Defines a value that is going to be applied as an input placeholder
|
|
584
|
+
*/
|
|
585
|
+
placeholder?: string;
|
|
586
|
+
/**
|
|
587
|
+
* Defines a value that is going to be applied as an input label
|
|
588
|
+
*/
|
|
589
|
+
label?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Defines a value that is going to be applied as a default input value
|
|
592
|
+
*/
|
|
593
|
+
defaultValue?: number;
|
|
594
|
+
/**
|
|
595
|
+
* Specifies the number of decimals that the user can enter when the input is focused
|
|
596
|
+
*/
|
|
597
|
+
decimals?: number;
|
|
598
|
+
/**
|
|
599
|
+
* Specifies the smallest value that is valid
|
|
600
|
+
*/
|
|
601
|
+
min?: number;
|
|
602
|
+
/**
|
|
603
|
+
* Specifies the greatest value that is valid
|
|
604
|
+
*/
|
|
605
|
+
max?: number;
|
|
606
|
+
/**
|
|
607
|
+
* Specifies the maximum number of characters the end user can type
|
|
608
|
+
*/
|
|
609
|
+
maxlength?: number;
|
|
610
|
+
/**
|
|
611
|
+
* Defines an icon which will be used to the left of the info message
|
|
612
|
+
*/
|
|
613
|
+
messageIcon?: KitSvgIcon;
|
|
614
|
+
/**
|
|
615
|
+
* Defines a value which going to be an info message text
|
|
616
|
+
*/
|
|
617
|
+
messageText?: string;
|
|
618
|
+
/**
|
|
619
|
+
* Defines a state whether the textbox will be disabled or not
|
|
620
|
+
*/
|
|
621
|
+
disabled: boolean;
|
|
622
|
+
/**
|
|
623
|
+
* Specifies the number format
|
|
624
|
+
*/
|
|
625
|
+
format?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Defines the state of the textbox
|
|
628
|
+
*/
|
|
629
|
+
state: KitNumericTextboxState;
|
|
630
|
+
/**
|
|
631
|
+
* Defines the icon which will be used with the input field
|
|
632
|
+
*/
|
|
633
|
+
icon?: KitSvgIcon;
|
|
634
|
+
readonly size: InputSignal<KitNumericTextboxSize>;
|
|
635
|
+
/**
|
|
636
|
+
* An action which is emitted when input field lost focus
|
|
637
|
+
*/
|
|
638
|
+
blured: EventEmitter<void>;
|
|
639
|
+
/**
|
|
640
|
+
* An action which is emitted when input value changed
|
|
641
|
+
*/
|
|
642
|
+
changed: EventEmitter<number>;
|
|
643
|
+
readonly numericTextboxStateIcon: Record<KitNumericTextboxState, KitSvgIcon>;
|
|
644
|
+
/**
|
|
645
|
+
* Function that should be called every time the form control value changes
|
|
646
|
+
*/
|
|
647
|
+
onChange: (value: number) => void;
|
|
648
|
+
/**
|
|
649
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
650
|
+
*/
|
|
651
|
+
onTouched: () => void;
|
|
652
|
+
writeValue(value: number): void;
|
|
653
|
+
registerOnChange(fn: (_: number) => void): void;
|
|
654
|
+
registerOnTouched(fn: () => void): void;
|
|
655
|
+
setDisabledState(disabled: boolean): void;
|
|
656
|
+
/**
|
|
657
|
+
* Function that is called when input field lost focus
|
|
658
|
+
*/
|
|
659
|
+
onInputBlur(): void;
|
|
660
|
+
/**
|
|
661
|
+
* Function that is called when input value changed
|
|
662
|
+
*/
|
|
663
|
+
onInputChange(value: number): void;
|
|
664
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNumericTextboxComponent, never>;
|
|
665
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNumericTextboxComponent, "kit-numeric-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
declare class KitNumericTextboxModule {
|
|
669
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNumericTextboxModule, never>;
|
|
670
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNumericTextboxModule, [typeof KitNumericTextboxComponent], [typeof i2$1.CommonModule, typeof i3$1.NumericTextBoxModule, typeof KitInputMessageModule, typeof KitSvgIconModule, typeof KitInputLabelModule], [typeof KitNumericTextboxComponent]>;
|
|
671
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNumericTextboxModule>;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
declare enum KitDropdownSize {
|
|
675
|
+
DEFAULT = "default",
|
|
676
|
+
SMALL = "small"
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
interface KitDropdownItem<T, U = unknown> {
|
|
680
|
+
text: string;
|
|
681
|
+
value: T;
|
|
682
|
+
data?: U;
|
|
683
|
+
disabled?: Predicate<KitDropdownItem<T>>;
|
|
684
|
+
}
|
|
685
|
+
declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
686
|
+
private changeDetectorRef;
|
|
687
|
+
/**
|
|
688
|
+
* an items list which is going to be rendered as dropdown items
|
|
689
|
+
*/
|
|
690
|
+
items: KitDropdownItem<T>[];
|
|
691
|
+
/**
|
|
692
|
+
* an item which needs to be selected as a default value
|
|
693
|
+
*/
|
|
694
|
+
selectedItem?: T;
|
|
695
|
+
/**
|
|
696
|
+
* an informative text that will be above the dropdown
|
|
697
|
+
*/
|
|
698
|
+
label?: string;
|
|
699
|
+
/**
|
|
700
|
+
* defines whether the component will be in disabled state
|
|
701
|
+
*/
|
|
702
|
+
disabled?: boolean;
|
|
703
|
+
/**
|
|
704
|
+
* Defines an icon which will be used to the left of the info message
|
|
705
|
+
*/
|
|
706
|
+
messageIcon?: KitSvgIcon;
|
|
707
|
+
/**
|
|
708
|
+
* Defines a value which going to be an info message text
|
|
709
|
+
*/
|
|
710
|
+
messageText?: string;
|
|
711
|
+
/**
|
|
712
|
+
* Defines a state whether the component will be invalid
|
|
713
|
+
*/
|
|
714
|
+
invalid?: boolean;
|
|
715
|
+
/**
|
|
716
|
+
* An item that is going to be presented as a default value.
|
|
717
|
+
* Using as a placeholder
|
|
718
|
+
*/
|
|
719
|
+
defaultItem?: KitDropdownItem<T>;
|
|
720
|
+
/**
|
|
721
|
+
* Defines dropdown popup list height. By default, listHeight is 200px.
|
|
722
|
+
*/
|
|
723
|
+
listHeight: number;
|
|
724
|
+
/**
|
|
725
|
+
* Whether the default item will be hidden. "true" by default
|
|
726
|
+
*/
|
|
727
|
+
hideDefaultItem: boolean;
|
|
728
|
+
/**
|
|
729
|
+
* Defines the icon which going to be the icon for the dropdown toggle button
|
|
730
|
+
*/
|
|
731
|
+
toggleIcon: KitSvgIcon;
|
|
732
|
+
popupSettings: PopupSettings;
|
|
733
|
+
isValuePrimitive: boolean;
|
|
734
|
+
readonly footerTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
735
|
+
readonly noDataTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
736
|
+
/**
|
|
737
|
+
* Defines the size of the dropdown
|
|
738
|
+
*/
|
|
739
|
+
readonly size: InputSignal<KitDropdownSize>;
|
|
740
|
+
/**
|
|
741
|
+
* occurs once an item in the dropdown is selected
|
|
742
|
+
*/
|
|
743
|
+
selected: EventEmitter<KitDropdownItem<T>>;
|
|
744
|
+
/**
|
|
745
|
+
* Defines template for a dropdown value
|
|
746
|
+
*/
|
|
747
|
+
kitDropdownValueTemplate?: TemplateRef<HTMLTemplateElement>;
|
|
748
|
+
/**
|
|
749
|
+
* Defines template for a dropdown list item
|
|
750
|
+
*/
|
|
751
|
+
kitDropdownItemTemplate?: TemplateRef<HTMLElement>;
|
|
752
|
+
dropdown: DropDownListComponent | null;
|
|
753
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
754
|
+
readonly isPopupExpanded: WritableSignal<boolean>;
|
|
755
|
+
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
756
|
+
/**
|
|
757
|
+
* Build an object with appropriate options, based on hiding default item state
|
|
758
|
+
*/
|
|
759
|
+
buildPopupSettings(): PopupSettings;
|
|
760
|
+
/**
|
|
761
|
+
* Function that should be called every time the form control value changes
|
|
762
|
+
*/
|
|
763
|
+
onChange: (value: T) => void;
|
|
764
|
+
/**
|
|
765
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
766
|
+
*/
|
|
767
|
+
onTouched: () => void;
|
|
768
|
+
onItemDisabled(): ItemDisabledFn;
|
|
769
|
+
/**
|
|
770
|
+
* Function that is called when dropdown list item selected
|
|
771
|
+
*/
|
|
772
|
+
onItemSelect(item: KitDropdownItem<T>): void;
|
|
773
|
+
writeValue(value: T): void;
|
|
774
|
+
registerOnChange(fn: (_: T) => void): void;
|
|
775
|
+
registerOnTouched(fn: () => void): void;
|
|
776
|
+
setDisabledState(disabled: boolean): void;
|
|
777
|
+
reset(value: T): void;
|
|
778
|
+
onOpen(): void;
|
|
779
|
+
onClose(): void;
|
|
780
|
+
getCssClasses(): Record<string, boolean>;
|
|
781
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownComponent<any>, never>;
|
|
782
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDropdownComponent<any>, "kit-dropdown", never, { "items": { "alias": "items"; "required": false; }; "selectedItem": { "alias": "selectedItem"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "defaultItem": { "alias": "defaultItem"; "required": false; }; "listHeight": { "alias": "listHeight"; "required": false; }; "hideDefaultItem": { "alias": "hideDefaultItem"; "required": false; }; "toggleIcon": { "alias": "toggleIcon"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "isValuePrimitive": { "alias": "isValuePrimitive"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; "isSignal": true; }; "noDataTemplate": { "alias": "noDataTemplate"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, ["kitDropdownValueTemplate", "kitDropdownItemTemplate"], never, false, never>;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
declare class KitDropdownItemTemplateDirective {
|
|
786
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownItemTemplateDirective, never>;
|
|
787
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitDropdownItemTemplateDirective, "[kitDropdownItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
declare class KitTruncateTextComponent {
|
|
791
|
+
readonly tooltip: Signal<TooltipDirective>;
|
|
792
|
+
readonly anchor: Signal<ElementRef<HTMLDivElement>>;
|
|
793
|
+
readonly content: Signal<ElementRef<HTMLSpanElement>>;
|
|
794
|
+
onMouseEnter(): void;
|
|
795
|
+
onMouseOver(): void;
|
|
796
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTruncateTextComponent, never>;
|
|
797
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTruncateTextComponent, "kit-truncate-text", never, {}, {}, never, ["*"], true, never>;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
declare class KitDropdownModule {
|
|
801
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownModule, never>;
|
|
802
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitDropdownModule, [typeof KitDropdownComponent], [typeof i4.DropDownListModule, typeof i2$1.CommonModule, typeof KitInputMessageModule, typeof i5.ReactiveFormsModule, typeof i5.FormsModule, typeof KitSvgIconModule, typeof KitInputLabelModule, typeof KitDropdownItemTemplateDirective, typeof KitTruncateTextComponent], [typeof KitDropdownComponent, typeof KitDropdownItemTemplateDirective]>;
|
|
803
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitDropdownModule>;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
declare enum KitTextareaState {
|
|
807
|
+
DEFAULT = "default",
|
|
808
|
+
WARNING = "warning",
|
|
809
|
+
ERROR = "error",
|
|
810
|
+
SUCCESS = "success"
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
declare class KitTextareaComponent implements ControlValueAccessor, OnChanges {
|
|
814
|
+
/**
|
|
815
|
+
* Defines a value that is going to be applied as a textarea placeholder
|
|
816
|
+
*/
|
|
817
|
+
placeholder?: string;
|
|
818
|
+
/**
|
|
819
|
+
* Defines a value that is going to be applied as a textarea label
|
|
820
|
+
*/
|
|
821
|
+
label?: string;
|
|
822
|
+
/**
|
|
823
|
+
* Defines a value that is going to be applied as a default textarea value
|
|
824
|
+
*/
|
|
825
|
+
defaultValue?: string;
|
|
826
|
+
/**
|
|
827
|
+
* Defines a value that will determine the maximum number of characters in the textarea field
|
|
828
|
+
*/
|
|
829
|
+
maxlength?: number;
|
|
830
|
+
/**
|
|
831
|
+
* Defines a value that is going to be applied as a minimal number of visible text lines in
|
|
832
|
+
* the textarea field
|
|
833
|
+
*/
|
|
834
|
+
minLines?: number;
|
|
835
|
+
/**
|
|
836
|
+
* Defines a value that is going to be applied as a maximal number of visible text lines in
|
|
837
|
+
* the textarea field
|
|
838
|
+
*/
|
|
839
|
+
maxLines?: number;
|
|
840
|
+
/**
|
|
841
|
+
* Defines a state whether the textarea will be disabled or not
|
|
842
|
+
*/
|
|
843
|
+
disabled: boolean;
|
|
844
|
+
/**
|
|
845
|
+
* Defines an icon which will be used to the left of the info message
|
|
846
|
+
*/
|
|
847
|
+
messageIcon?: KitSvgIcon;
|
|
848
|
+
/**
|
|
849
|
+
* Defines a value which going to be an info message text
|
|
850
|
+
*/
|
|
851
|
+
messageText?: string;
|
|
852
|
+
/**
|
|
853
|
+
* Defines a particular state for the component
|
|
854
|
+
*/
|
|
855
|
+
state: KitTextareaState;
|
|
856
|
+
/**
|
|
857
|
+
* Defines the icon which will be used with the input field
|
|
858
|
+
*/
|
|
859
|
+
icon?: KitSvgIcon;
|
|
860
|
+
/**
|
|
861
|
+
* Defines whether the textarea will be in the readonly mode
|
|
862
|
+
*/
|
|
863
|
+
readonly: boolean;
|
|
864
|
+
tooltip?: string;
|
|
865
|
+
/**
|
|
866
|
+
* Defines a value that is going to be applied as a minimal textarea height
|
|
867
|
+
*/
|
|
868
|
+
minHeight?: number;
|
|
869
|
+
/**
|
|
870
|
+
* Defines a value that is going to be applied as a maximal textarea height
|
|
871
|
+
*/
|
|
872
|
+
maxHeight?: number;
|
|
873
|
+
/**
|
|
874
|
+
* An action which is emitted when textarea field received focus
|
|
875
|
+
*/
|
|
876
|
+
focused: EventEmitter<void>;
|
|
877
|
+
/**
|
|
878
|
+
* An action which is emitted when textarea field lost focus
|
|
879
|
+
*/
|
|
880
|
+
blured: EventEmitter<void>;
|
|
881
|
+
/**
|
|
882
|
+
* An action which is emitted when textarea value changed
|
|
883
|
+
*/
|
|
884
|
+
changed: EventEmitter<string>;
|
|
885
|
+
readonly textareaStateIcon: Record<KitTextareaState, KitSvgIcon>;
|
|
886
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
887
|
+
ngOnChanges(): void;
|
|
888
|
+
/**
|
|
889
|
+
* Function that should be called every time values of minLines and maxLines changes
|
|
890
|
+
*/
|
|
891
|
+
calculateLineHeight(): void;
|
|
892
|
+
/**
|
|
893
|
+
* Function that should be called every time the form control value changes
|
|
894
|
+
*/
|
|
895
|
+
onChange: (value: string) => void;
|
|
896
|
+
/**
|
|
897
|
+
* Function that should be called when textarea lost focus and changed form control state to "touched"
|
|
898
|
+
*/
|
|
899
|
+
onTouched: () => void;
|
|
900
|
+
writeValue(value: string): void;
|
|
901
|
+
registerOnChange(fn: (_: string) => void): void;
|
|
902
|
+
registerOnTouched(fn: () => void): void;
|
|
903
|
+
setDisabledState(disabled: boolean): void;
|
|
904
|
+
/**
|
|
905
|
+
* Function that is called when textarea field received focus
|
|
906
|
+
*/
|
|
907
|
+
onTextareaFocus(): void;
|
|
908
|
+
/**
|
|
909
|
+
* Function that is called when textarea field lost focus
|
|
910
|
+
*/
|
|
911
|
+
onTextareaBlur(): void;
|
|
912
|
+
/**
|
|
913
|
+
* Function that is called when textarea value changed
|
|
914
|
+
*/
|
|
915
|
+
onTextareaChange(event: Event): void;
|
|
916
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaComponent, never>;
|
|
917
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextareaComponent, "kit-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "minLines": { "alias": "minLines"; "required": false; }; "maxLines": { "alias": "maxLines"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, { "focused": "focused"; "blured": "blured"; "changed": "changed"; }, never, never, false, never>;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
declare class KitTextareaAutoresizeDirective {
|
|
921
|
+
private elementRef;
|
|
922
|
+
constructor(elementRef: ElementRef);
|
|
923
|
+
onInput(): void;
|
|
924
|
+
ngOnInit(): void;
|
|
925
|
+
resize(): void;
|
|
926
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaAutoresizeDirective, never>;
|
|
927
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTextareaAutoresizeDirective, "[autoresize]", never, {}, {}, never, never, false, never>;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
declare class KitTextareaModule {
|
|
931
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextareaModule, never>;
|
|
932
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextareaModule, [typeof KitTextareaComponent, typeof KitTextareaAutoresizeDirective], [typeof i2$1.CommonModule, typeof KitInputMessageModule, typeof KitSvgIconModule, typeof KitInputLabelModule, typeof KitTooltipDirective], [typeof KitTextareaComponent, typeof KitTextareaAutoresizeDirective]>;
|
|
933
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTextareaModule>;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
declare enum KitTextLabelState {
|
|
937
|
+
REGULAR = "regular",
|
|
938
|
+
DANGER = "danger"
|
|
939
|
+
}
|
|
940
|
+
declare class KitTextLabelComponent {
|
|
941
|
+
/**
|
|
942
|
+
* Defines a value that is going to be applied as a label top text
|
|
943
|
+
*/
|
|
944
|
+
label: string;
|
|
945
|
+
/**
|
|
946
|
+
* Defines a value that is going to be applied as a label main text
|
|
947
|
+
*/
|
|
948
|
+
value: string;
|
|
949
|
+
/**
|
|
950
|
+
* Defines whether the message will be displayed as HTML (including rendering HTML tags)
|
|
951
|
+
*/
|
|
952
|
+
htmlMode: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Defines a value that is going to be applied as a label top text in case when no value passed
|
|
955
|
+
*/
|
|
956
|
+
noValueMessage?: string;
|
|
957
|
+
/**
|
|
958
|
+
* Defines a value which going to be as a label info message text
|
|
959
|
+
*/
|
|
960
|
+
messageText?: string;
|
|
961
|
+
/**
|
|
962
|
+
* Defines a particular state for the component
|
|
963
|
+
*/
|
|
964
|
+
state: KitTextLabelState;
|
|
965
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextLabelComponent, never>;
|
|
966
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTextLabelComponent, "kit-text-label", never, { "label": { "alias": "label"; "required": false; }; "value": { "alias": "value"; "required": false; }; "htmlMode": { "alias": "htmlMode"; "required": false; }; "noValueMessage": { "alias": "noValueMessage"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "state": { "alias": "state"; "required": false; }; }, {}, never, never, false, never>;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
declare class KitTextLabelModule {
|
|
970
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTextLabelModule, never>;
|
|
971
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTextLabelModule, [typeof KitTextLabelComponent], [typeof i2$1.CommonModule, typeof KitInputMessageModule, typeof KitInputLabelModule], [typeof KitTextLabelComponent]>;
|
|
972
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTextLabelModule>;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
declare enum KitUnitsTextboxDropdownPosition {
|
|
976
|
+
LEFT = "left",
|
|
977
|
+
RIGHT = "right"
|
|
978
|
+
}
|
|
979
|
+
declare enum KitUnitsTextboxType {
|
|
980
|
+
TEXT = "text",
|
|
981
|
+
NUMBER = "number"
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
declare class KitUnitsTextboxComponent<T> {
|
|
985
|
+
/**
|
|
986
|
+
* Defines a value that is going to be applied as a textbox placeholder
|
|
987
|
+
*/
|
|
988
|
+
placeholder?: string;
|
|
989
|
+
/**
|
|
990
|
+
* Defines a value that is going to be applied as a textbox label
|
|
991
|
+
*/
|
|
992
|
+
label?: string;
|
|
993
|
+
/**
|
|
994
|
+
* Defines whether the textbox will be in disabled state
|
|
995
|
+
*/
|
|
996
|
+
disabledTextBox?: boolean;
|
|
997
|
+
/**
|
|
998
|
+
* Defines whether the dropdown list will be in disabled state
|
|
999
|
+
*/
|
|
1000
|
+
disabledDropdown?: boolean;
|
|
1001
|
+
/**
|
|
1002
|
+
* An items list which is going to be rendered as dropdown items
|
|
1003
|
+
*/
|
|
1004
|
+
dropdownItems: KitDropdownItem<T>[];
|
|
1005
|
+
/**
|
|
1006
|
+
* An item which needs to be selected as a default value of the dropdown list
|
|
1007
|
+
*/
|
|
1008
|
+
selectedDropdownItem?: T;
|
|
1009
|
+
/**
|
|
1010
|
+
* Defines a value that is going to be applied as a default textbox value
|
|
1011
|
+
*/
|
|
1012
|
+
textBoxValue: string | number;
|
|
1013
|
+
/**
|
|
1014
|
+
* Defines a value that is going to be applied as a textbox form control
|
|
1015
|
+
*/
|
|
1016
|
+
textBoxFormControl: AbstractControl;
|
|
1017
|
+
/**
|
|
1018
|
+
* Defines a value that is going to be applied as a dropdown list form control
|
|
1019
|
+
*/
|
|
1020
|
+
dropdownFormControl: AbstractControl;
|
|
1021
|
+
/**
|
|
1022
|
+
* Defines an icon which will be used to the left of the info message
|
|
1023
|
+
*/
|
|
1024
|
+
messageIcon?: KitSvgIcon;
|
|
1025
|
+
/**
|
|
1026
|
+
* Defines a value which going to be an info message text
|
|
1027
|
+
*/
|
|
1028
|
+
messageText?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Defines a value which used to set position of the dropdown list
|
|
1031
|
+
*/
|
|
1032
|
+
dropdownPosition: KitUnitsTextboxDropdownPosition;
|
|
1033
|
+
/**
|
|
1034
|
+
* Defines a value which used to set type ot he textbox field
|
|
1035
|
+
*/
|
|
1036
|
+
textboxType: KitUnitsTextboxType;
|
|
1037
|
+
/**
|
|
1038
|
+
* Specifies the number of decimals that the user can enter when the numeric input is focused
|
|
1039
|
+
*/
|
|
1040
|
+
decimals?: number;
|
|
1041
|
+
/**
|
|
1042
|
+
* Specifies the smallest numeric textbox value that is valid
|
|
1043
|
+
*/
|
|
1044
|
+
min?: number;
|
|
1045
|
+
/**
|
|
1046
|
+
* Specifies the greatest numeric textbox value that is valid
|
|
1047
|
+
*/
|
|
1048
|
+
max?: number;
|
|
1049
|
+
/**
|
|
1050
|
+
* Specifies the maximum number of characters the end user can type
|
|
1051
|
+
*/
|
|
1052
|
+
maxlength?: number;
|
|
1053
|
+
/**
|
|
1054
|
+
* Specifies the number format of the numeric textbox
|
|
1055
|
+
*/
|
|
1056
|
+
format?: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Defines a state whether the component will be invalid
|
|
1059
|
+
*/
|
|
1060
|
+
invalid: boolean;
|
|
1061
|
+
/**
|
|
1062
|
+
* An action which is emitted when textbox field lost focus
|
|
1063
|
+
*/
|
|
1064
|
+
blured: EventEmitter<void>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Occurs once an item in the dropdown is selected
|
|
1067
|
+
*/
|
|
1068
|
+
selected: EventEmitter<KitDropdownItem<T>>;
|
|
1069
|
+
/**
|
|
1070
|
+
* An action which is emitted when input value changed
|
|
1071
|
+
*/
|
|
1072
|
+
changed: EventEmitter<string | number>;
|
|
1073
|
+
/**
|
|
1074
|
+
* Settings for popup that will be opened as dropdown options list
|
|
1075
|
+
*/
|
|
1076
|
+
readonly dropdownPopupSettings: PopupSettings;
|
|
1077
|
+
/**
|
|
1078
|
+
* Defines textbox types
|
|
1079
|
+
*/
|
|
1080
|
+
readonly KitUnitsTextboxType: typeof KitUnitsTextboxType;
|
|
1081
|
+
/**
|
|
1082
|
+
* Defines dropdown positioning types
|
|
1083
|
+
*/
|
|
1084
|
+
readonly KitUnitsTextboxDropdownPosition: typeof KitUnitsTextboxDropdownPosition;
|
|
1085
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1086
|
+
onItemDisabled(): ItemDisabledFn;
|
|
1087
|
+
/**
|
|
1088
|
+
* Function that is called when input value changed
|
|
1089
|
+
*/
|
|
1090
|
+
onInputChange(value: string | number): void;
|
|
1091
|
+
/**
|
|
1092
|
+
* Function that is called when dropdown list item selected
|
|
1093
|
+
*/
|
|
1094
|
+
onItemSelect(item: KitDropdownItem<T>): void;
|
|
1095
|
+
/**
|
|
1096
|
+
* Function that is called when input field lost focus
|
|
1097
|
+
*/
|
|
1098
|
+
onInputBlur(): void;
|
|
1099
|
+
/**
|
|
1100
|
+
* Function that is called when dropdown lost focus
|
|
1101
|
+
*/
|
|
1102
|
+
onDropdownBlur(): void;
|
|
1103
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUnitsTextboxComponent<any>, never>;
|
|
1104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitUnitsTextboxComponent<any>, "kit-units-textbox", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabledTextBox": { "alias": "disabledTextBox"; "required": false; }; "disabledDropdown": { "alias": "disabledDropdown"; "required": false; }; "dropdownItems": { "alias": "dropdownItems"; "required": false; }; "selectedDropdownItem": { "alias": "selectedDropdownItem"; "required": false; }; "textBoxValue": { "alias": "textBoxValue"; "required": false; }; "textBoxFormControl": { "alias": "textBoxFormControl"; "required": false; }; "dropdownFormControl": { "alias": "dropdownFormControl"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "dropdownPosition": { "alias": "dropdownPosition"; "required": false; }; "textboxType": { "alias": "textboxType"; "required": false; }; "decimals": { "alias": "decimals"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "format": { "alias": "format"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; }, { "blured": "blured"; "selected": "selected"; "changed": "changed"; }, never, never, false, never>;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
declare class KitUnitsTextboxModule {
|
|
1108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUnitsTextboxModule, never>;
|
|
1109
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitUnitsTextboxModule, [typeof KitUnitsTextboxComponent], [typeof i2$1.CommonModule, typeof i3$1.TextBoxModule, typeof i3$1.NumericTextBoxModule, typeof i4.DropDownListModule, typeof KitInputMessageModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof KitSvgIconModule, typeof KitInputLabelModule], [typeof KitUnitsTextboxComponent]>;
|
|
1110
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitUnitsTextboxModule>;
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
declare class KitDatetimepickerComponent implements ControlValueAccessor {
|
|
1114
|
+
private cdr;
|
|
1115
|
+
/**
|
|
1116
|
+
* Defines a value that is going to be applied as a datetimepicker label
|
|
1117
|
+
*/
|
|
1118
|
+
label?: string;
|
|
1119
|
+
/**
|
|
1120
|
+
* Defines a value that is going to be applied as a datetimepicker placeholder
|
|
1121
|
+
*/
|
|
1122
|
+
placeholder?: string;
|
|
1123
|
+
/**
|
|
1124
|
+
* Defines whether the component will be in disabled state
|
|
1125
|
+
*/
|
|
1126
|
+
disabled?: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Defines an icon which will be used to the left of the info message
|
|
1129
|
+
*/
|
|
1130
|
+
messageIcon?: KitSvgIcon;
|
|
1131
|
+
/**
|
|
1132
|
+
* Defines a value which going to be an info message text
|
|
1133
|
+
*/
|
|
1134
|
+
messageText?: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Defines a state whether the component will be invalid
|
|
1137
|
+
*/
|
|
1138
|
+
invalid?: boolean;
|
|
1139
|
+
/**
|
|
1140
|
+
* Defines a value that is going to be applied as a datetimepicker format
|
|
1141
|
+
*/
|
|
1142
|
+
format: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* Defines a value that is going to be applied as a default datetimepicker value
|
|
1145
|
+
*/
|
|
1146
|
+
defaultDate?: Date;
|
|
1147
|
+
/**
|
|
1148
|
+
* Specifies the smallest valid date
|
|
1149
|
+
*/
|
|
1150
|
+
min?: Date;
|
|
1151
|
+
/**
|
|
1152
|
+
* Specifies the biggest valid date
|
|
1153
|
+
*/
|
|
1154
|
+
max?: Date;
|
|
1155
|
+
/**
|
|
1156
|
+
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
1157
|
+
*/
|
|
1158
|
+
applyButtonText: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
1161
|
+
*/
|
|
1162
|
+
cancelButtonText: string;
|
|
1163
|
+
/**
|
|
1164
|
+
* An action which is emitted when datetimepicker value changed
|
|
1165
|
+
*/
|
|
1166
|
+
changed: EventEmitter<Date>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Defines a reference of the DateTimePicker component
|
|
1169
|
+
*/
|
|
1170
|
+
datetimepicker: DateTimePickerComponent;
|
|
1171
|
+
/**
|
|
1172
|
+
* An icon which will be used in a datetimepicker toggle button
|
|
1173
|
+
*/
|
|
1174
|
+
readonly icon: KitSvgIcon;
|
|
1175
|
+
/**
|
|
1176
|
+
* Settings for datetimepicker popup that will be opened
|
|
1177
|
+
*/
|
|
1178
|
+
readonly datetimepickerPopupSettings: PopupSettings;
|
|
1179
|
+
readonly nowButtonText: string;
|
|
1180
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1181
|
+
/**
|
|
1182
|
+
* Function used to toggle visibility of the datetimepicker popup
|
|
1183
|
+
*/
|
|
1184
|
+
onPopupToggle(): void;
|
|
1185
|
+
/**
|
|
1186
|
+
* Function that is called when datetimepicker lost focus
|
|
1187
|
+
*/
|
|
1188
|
+
onBlur(): void;
|
|
1189
|
+
/**
|
|
1190
|
+
* Function that should be called every time datetimepicker value changes
|
|
1191
|
+
*/
|
|
1192
|
+
onValueChange(value: Date): void;
|
|
1193
|
+
/**
|
|
1194
|
+
* Function that should be called every time the form control value changes
|
|
1195
|
+
*/
|
|
1196
|
+
onChange: (value: Date) => void;
|
|
1197
|
+
/**
|
|
1198
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1199
|
+
*/
|
|
1200
|
+
onTouched: () => void;
|
|
1201
|
+
writeValue(value: string): void;
|
|
1202
|
+
registerOnChange(fn: (_: Date) => void): void;
|
|
1203
|
+
registerOnTouched(fn: () => void): void;
|
|
1204
|
+
setDisabledState(disabled: boolean): void;
|
|
1205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatetimepickerComponent, never>;
|
|
1206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatetimepickerComponent, "kit-datetimepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
declare class KitDatetimepickerModule {
|
|
1210
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatetimepickerModule, never>;
|
|
1211
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitDatetimepickerModule, [typeof KitDatetimepickerComponent], [typeof i2$1.CommonModule, typeof i3$2.DateInputsModule, typeof KitSvgIconModule, typeof KitInputMessageModule, typeof KitInputLabelModule], [typeof KitDatetimepickerComponent]>;
|
|
1212
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitDatetimepickerModule>;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
declare enum KitNotificationType {
|
|
1216
|
+
INFO = "info",
|
|
1217
|
+
WARNING = "warning",
|
|
1218
|
+
ERROR = "error",
|
|
1219
|
+
SUCCESS = "success"
|
|
1220
|
+
}
|
|
1221
|
+
interface KitNotification {
|
|
1222
|
+
id: number;
|
|
1223
|
+
type: KitNotificationType;
|
|
1224
|
+
message: string;
|
|
1225
|
+
closable: boolean;
|
|
1226
|
+
autoHideTime: number | null;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
declare class KitNotificationService {
|
|
1230
|
+
readonly notifications: WritableSignal<KitNotification[]>;
|
|
1231
|
+
private notificationIdCounter;
|
|
1232
|
+
addNotification(type: KitNotificationType, message?: string, closable?: boolean, autoHideTime?: number | null): void;
|
|
1233
|
+
removeNotification(id: number): void;
|
|
1234
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNotificationService, never>;
|
|
1235
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitNotificationService>;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
declare class KitNotificationComponent implements OnInit, OnDestroy {
|
|
1239
|
+
private readonly renderer;
|
|
1240
|
+
private readonly el;
|
|
1241
|
+
private readonly notificationService;
|
|
1242
|
+
appendTo: string;
|
|
1243
|
+
readonly notifications: Signal<KitNotification[]>;
|
|
1244
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
1245
|
+
private appendedElement;
|
|
1246
|
+
constructor(renderer: Renderer2, el: ElementRef, notificationService: KitNotificationService);
|
|
1247
|
+
ngOnInit(): void;
|
|
1248
|
+
ngOnDestroy(): void;
|
|
1249
|
+
removeNotification(id: number): void;
|
|
1250
|
+
private appendToTarget;
|
|
1251
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNotificationComponent, never>;
|
|
1252
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNotificationComponent, "kit-notification", never, { "appendTo": { "alias": "appendTo"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
interface KitLocationStepperItemDate {
|
|
1256
|
+
value: string;
|
|
1257
|
+
description?: string;
|
|
1258
|
+
}
|
|
1259
|
+
interface KitLocationStepperItem {
|
|
1260
|
+
title: string;
|
|
1261
|
+
icon: KitSvgIcon;
|
|
1262
|
+
name?: string;
|
|
1263
|
+
description?: string;
|
|
1264
|
+
dates?: KitLocationStepperItemDate[];
|
|
1265
|
+
cssClass?: string;
|
|
1266
|
+
subItems?: KitLocationStepperItem[];
|
|
1267
|
+
toolTipText?: string;
|
|
1268
|
+
}
|
|
1269
|
+
declare class KitLocationStepperComponent {
|
|
1270
|
+
/**
|
|
1271
|
+
* An items list to be shown as steps
|
|
1272
|
+
*/
|
|
1273
|
+
items: KitLocationStepperItem[];
|
|
1274
|
+
toolTipPosition: KitTooltipPosition;
|
|
1275
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitLocationStepperComponent, never>;
|
|
1277
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitLocationStepperComponent, "kit-location-stepper", never, { "items": { "alias": "items"; "required": false; }; "toolTipPosition": { "alias": "toolTipPosition"; "required": false; }; }, {}, never, never, false, never>;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
declare class KitLocationStepperModule {
|
|
1281
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitLocationStepperModule, never>;
|
|
1282
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitLocationStepperModule, [typeof KitLocationStepperComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof KitTooltipDirective], [typeof KitLocationStepperComponent]>;
|
|
1283
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitLocationStepperModule>;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
interface KitAutocompleteItem<T> {
|
|
1287
|
+
text: string;
|
|
1288
|
+
value: T;
|
|
1289
|
+
getText?(): string;
|
|
1290
|
+
}
|
|
1291
|
+
declare class KitAutocompleteComponent<T> implements ControlValueAccessor {
|
|
1292
|
+
private elementRef;
|
|
1293
|
+
/**
|
|
1294
|
+
* Defines a value that is going to be applied as an input label
|
|
1295
|
+
*/
|
|
1296
|
+
label?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* Defines a value that is going to be applied as an input placeholder
|
|
1299
|
+
*/
|
|
1300
|
+
placeholder?: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Defines an items list which is going to be an autocomplete items data
|
|
1303
|
+
*/
|
|
1304
|
+
items: KitAutocompleteItem<T>[];
|
|
1305
|
+
/**
|
|
1306
|
+
* An item which is going to be an autocomplete selected value
|
|
1307
|
+
*/
|
|
1308
|
+
selectedValue: T | null;
|
|
1309
|
+
/**
|
|
1310
|
+
* Defines whether the component will be in disabled state
|
|
1311
|
+
*/
|
|
1312
|
+
disabled?: boolean;
|
|
1313
|
+
/**
|
|
1314
|
+
* Defines whether the loader will be visible or not
|
|
1315
|
+
*/
|
|
1316
|
+
loaderVisible: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* Defines an icon which will be used to the left of the info message
|
|
1319
|
+
*/
|
|
1320
|
+
messageIcon?: KitSvgIcon;
|
|
1321
|
+
/**
|
|
1322
|
+
* Defines a value which going to be an info message text
|
|
1323
|
+
*/
|
|
1324
|
+
messageText?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Defines a state whether the component will be invalid
|
|
1327
|
+
*/
|
|
1328
|
+
invalid?: boolean;
|
|
1329
|
+
/**
|
|
1330
|
+
* Specifies whether the autocomplete allows user-defined values
|
|
1331
|
+
*/
|
|
1332
|
+
readonly allowCustom: InputSignal<boolean>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Specifies whether the autocomplete popup will be closed if no filter data found
|
|
1335
|
+
*/
|
|
1336
|
+
readonly closePopupIfDataNotFound: InputSignal<boolean>;
|
|
1337
|
+
/**
|
|
1338
|
+
* An action which is emitted each time the user types in the input field
|
|
1339
|
+
*/
|
|
1340
|
+
readonly filterChanged: OutputEmitterRef<string>;
|
|
1341
|
+
/**
|
|
1342
|
+
* An action which is emitted each time when value is changed and component is blurred
|
|
1343
|
+
*/
|
|
1344
|
+
readonly valueChanged: OutputEmitterRef<string>;
|
|
1345
|
+
/**
|
|
1346
|
+
* An action which is emitted once an item in the dropdown is selected
|
|
1347
|
+
*/
|
|
1348
|
+
readonly selectionChanged: OutputEmitterRef<T | null>;
|
|
1349
|
+
/**
|
|
1350
|
+
* An action which is emitted when input lost focus
|
|
1351
|
+
*/
|
|
1352
|
+
blured: EventEmitter<void>;
|
|
1353
|
+
/**
|
|
1354
|
+
* An action which is emitted when input field got focus
|
|
1355
|
+
*/
|
|
1356
|
+
focused: EventEmitter<void>;
|
|
1357
|
+
private combobox;
|
|
1358
|
+
/**
|
|
1359
|
+
* Settings for popup that will be opened as dropdown options list
|
|
1360
|
+
*/
|
|
1361
|
+
readonly dropdownPopupSettings: PopupSettings;
|
|
1362
|
+
constructor(elementRef: ElementRef);
|
|
1363
|
+
/**
|
|
1364
|
+
* Callback function that return dropdown list item text
|
|
1365
|
+
*/
|
|
1366
|
+
getOptionText(item: KitAutocompleteItem<T>): string;
|
|
1367
|
+
onValueChange(value: string): void;
|
|
1368
|
+
onFilterChange(value: string): void;
|
|
1369
|
+
onSelectionChange(item: KitAutocompleteItem<T> | null): void;
|
|
1370
|
+
/**
|
|
1371
|
+
* Function that is called when input field lost focus
|
|
1372
|
+
*/
|
|
1373
|
+
onBlur(): void;
|
|
1374
|
+
/**
|
|
1375
|
+
* Function that is called when input field get focus
|
|
1376
|
+
*/
|
|
1377
|
+
onFocus(): void;
|
|
1378
|
+
/**
|
|
1379
|
+
* Toggles the visibility of the popup
|
|
1380
|
+
*/
|
|
1381
|
+
togglePopup(): void;
|
|
1382
|
+
/**
|
|
1383
|
+
* Function that should be called every time the form control value changes
|
|
1384
|
+
*/
|
|
1385
|
+
onChange: (value: T | null) => void;
|
|
1386
|
+
/**
|
|
1387
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1388
|
+
*/
|
|
1389
|
+
onTouched: () => void;
|
|
1390
|
+
writeValue(value: T): void;
|
|
1391
|
+
registerOnChange(fn: (_: T | null) => void): void;
|
|
1392
|
+
registerOnTouched(fn: () => void): void;
|
|
1393
|
+
setDisabledState(disabled: boolean): void;
|
|
1394
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteComponent<any>, never>;
|
|
1395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitAutocompleteComponent<any>, "kit-autocomplete", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loaderVisible": { "alias": "loaderVisible"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "allowCustom": { "alias": "allowCustom"; "required": false; "isSignal": true; }; "closePopupIfDataNotFound": { "alias": "closePopupIfDataNotFound"; "required": false; "isSignal": true; }; }, { "filterChanged": "filterChanged"; "valueChanged": "valueChanged"; "selectionChanged": "selectionChanged"; "blured": "blured"; "focused": "focused"; }, never, never, false, never>;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
declare class KitAutocompleteDirective<T> {
|
|
1399
|
+
private kitAutocompleteComponent;
|
|
1400
|
+
constructor(kitAutocompleteComponent: KitAutocompleteComponent<T>);
|
|
1401
|
+
togglePopup(): void;
|
|
1402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteDirective<any>, [{ host: true; self: true; }]>;
|
|
1403
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitAutocompleteDirective<any>, "[kitAutocomplete]", ["kitAutocomplete"], {}, {}, never, never, false, never>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
declare class KitAutocompleteModule {
|
|
1407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAutocompleteModule, never>;
|
|
1408
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitAutocompleteModule, [typeof KitAutocompleteComponent, typeof KitAutocompleteDirective], [typeof i2$1.CommonModule, typeof i4.DropDownsModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i3$1.InputsModule, typeof KitInputMessageModule, typeof KitLoaderModule, typeof KitSvgIconModule, typeof KitInputLabelModule], [typeof KitAutocompleteComponent, typeof KitAutocompleteDirective]>;
|
|
1409
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitAutocompleteModule>;
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
declare enum KitCheckboxState {
|
|
1413
|
+
REGULAR = "regular",
|
|
1414
|
+
DANGER = "danger"
|
|
1415
|
+
}
|
|
1416
|
+
type CheckboxValueFn = (value: boolean) => void;
|
|
1417
|
+
declare class KitCheckboxComponent implements ControlValueAccessor {
|
|
1418
|
+
/**
|
|
1419
|
+
* Defines a label for checkbox; exact this text will be displayed next to the checkbox
|
|
1420
|
+
*/
|
|
1421
|
+
label?: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* States the component is disabled
|
|
1424
|
+
*/
|
|
1425
|
+
disabled: boolean;
|
|
1426
|
+
/**
|
|
1427
|
+
* Defines a default value
|
|
1428
|
+
*/
|
|
1429
|
+
checked: boolean;
|
|
1430
|
+
/**
|
|
1431
|
+
* Defines whether checkbox be in readonly state
|
|
1432
|
+
*/
|
|
1433
|
+
readonly: boolean;
|
|
1434
|
+
/**
|
|
1435
|
+
* Defines a particular state for the component
|
|
1436
|
+
*/
|
|
1437
|
+
state: KitCheckboxState;
|
|
1438
|
+
/**
|
|
1439
|
+
* Defines an icon which will be used to the left of the info message
|
|
1440
|
+
*/
|
|
1441
|
+
messageIcon?: KitSvgIcon;
|
|
1442
|
+
/**
|
|
1443
|
+
* Defines a value which going to be an info message text
|
|
1444
|
+
*/
|
|
1445
|
+
messageText?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* Occurs as soon as input checked state is changed
|
|
1448
|
+
*/
|
|
1449
|
+
changed: EventEmitter<boolean>;
|
|
1450
|
+
readonly checkIcon: KitSvgIcon;
|
|
1451
|
+
/**
|
|
1452
|
+
* Function that should be called every time the form control value changes
|
|
1453
|
+
*/
|
|
1454
|
+
onChange: (value: boolean) => void;
|
|
1455
|
+
/**
|
|
1456
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1457
|
+
*/
|
|
1458
|
+
onTouched: (value: boolean) => void;
|
|
1459
|
+
onInputStateChange(event: Event): void;
|
|
1460
|
+
handleClick(event: MouseEvent): void;
|
|
1461
|
+
registerOnChange(fn: CheckboxValueFn): void;
|
|
1462
|
+
registerOnTouched(fn: CheckboxValueFn): void;
|
|
1463
|
+
writeValue(value: boolean): void;
|
|
1464
|
+
setDisabledState(disabled: boolean): void;
|
|
1465
|
+
setCssClasses(checkbox: HTMLInputElement): Record<string, boolean>;
|
|
1466
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCheckboxComponent, never>;
|
|
1467
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCheckboxComponent, "kit-checkbox", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "state": { "alias": "state"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
declare class KitCheckboxModule {
|
|
1471
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCheckboxModule, never>;
|
|
1472
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCheckboxModule, [typeof KitCheckboxComponent], [typeof i3.LabelModule, typeof i3$1.CheckBoxModule, typeof i2$1.CommonModule, typeof KitInputMessageModule, typeof KitSvgIconModule, typeof i5.FormsModule], [typeof KitCheckboxComponent]>;
|
|
1473
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCheckboxModule>;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
declare class KitToggleComponent implements ControlValueAccessor {
|
|
1477
|
+
/**
|
|
1478
|
+
* Defines a label text which will be displayed next to the toggle
|
|
1479
|
+
*/
|
|
1480
|
+
label?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* Defines whether the component will be in disabled state
|
|
1483
|
+
*/
|
|
1484
|
+
disabled: boolean;
|
|
1485
|
+
/**
|
|
1486
|
+
* Defines whether the component will be in readonly state
|
|
1487
|
+
*/
|
|
1488
|
+
readonly: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* Defines a default value
|
|
1491
|
+
*/
|
|
1492
|
+
defaultChecked: boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
* Defines the left label of the toggle
|
|
1495
|
+
*/
|
|
1496
|
+
leftLabel?: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* Defines the right label of the toggle
|
|
1499
|
+
*/
|
|
1500
|
+
rightLabel?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* Defines an icon which will be used to the left of the info message
|
|
1503
|
+
*/
|
|
1504
|
+
messageIcon?: KitSvgIcon;
|
|
1505
|
+
/**
|
|
1506
|
+
* Defines a value which going to be an info message text
|
|
1507
|
+
*/
|
|
1508
|
+
messageText?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* Occurs as soon as toggle state is changed
|
|
1511
|
+
*/
|
|
1512
|
+
changed: EventEmitter<boolean>;
|
|
1513
|
+
/**
|
|
1514
|
+
* Function that is called when toggle state changed
|
|
1515
|
+
*/
|
|
1516
|
+
onInputStateChange(checked: boolean): void;
|
|
1517
|
+
/**
|
|
1518
|
+
* Function that should be called every time the form control value changes
|
|
1519
|
+
*/
|
|
1520
|
+
onChange: (value: boolean) => void;
|
|
1521
|
+
/**
|
|
1522
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
1523
|
+
*/
|
|
1524
|
+
onTouched: () => void;
|
|
1525
|
+
registerOnChange(fn: (_: boolean) => void): void;
|
|
1526
|
+
registerOnTouched(fn: () => void): void;
|
|
1527
|
+
writeValue(value: boolean): void;
|
|
1528
|
+
setDisabledState(disabled: boolean): void;
|
|
1529
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitToggleComponent, never>;
|
|
1530
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitToggleComponent, "kit-toggle", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "defaultChecked": { "alias": "defaultChecked"; "required": false; }; "leftLabel": { "alias": "leftLabel"; "required": false; }; "rightLabel": { "alias": "rightLabel"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
declare class KitToggleModule {
|
|
1534
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitToggleModule, never>;
|
|
1535
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitToggleModule, [typeof KitToggleComponent], [typeof i2$1.CommonModule, typeof i3$1.SwitchModule, typeof KitInputMessageModule, typeof KitInputLabelModule], [typeof KitToggleComponent]>;
|
|
1536
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitToggleModule>;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
declare enum KitPillType {
|
|
1540
|
+
DEFAULT = "default",
|
|
1541
|
+
DASHED = "dashed"
|
|
1542
|
+
}
|
|
1543
|
+
declare enum KitPillTheme {
|
|
1544
|
+
DEFAULT = "default",
|
|
1545
|
+
BLUE = "blue",
|
|
1546
|
+
MAIN = "main"
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
declare class KitPillComponent {
|
|
1550
|
+
/**
|
|
1551
|
+
* Defines if the pill will be removable. If set to true pill renders a remove button
|
|
1552
|
+
*/
|
|
1553
|
+
removable: boolean;
|
|
1554
|
+
/**
|
|
1555
|
+
* Defines if the pill will be selectable
|
|
1556
|
+
*/
|
|
1557
|
+
selectable: boolean;
|
|
1558
|
+
/**
|
|
1559
|
+
* Defines the selected state of the pill
|
|
1560
|
+
*/
|
|
1561
|
+
selected: boolean;
|
|
1562
|
+
/**
|
|
1563
|
+
* Defines the pill type
|
|
1564
|
+
*/
|
|
1565
|
+
type: KitPillType;
|
|
1566
|
+
/**
|
|
1567
|
+
* Defines the color theme of the pill
|
|
1568
|
+
*/
|
|
1569
|
+
readonly theme: InputSignal<KitPillTheme>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Defines the icon which will be used in a pill with icon
|
|
1572
|
+
*/
|
|
1573
|
+
icon?: KitSvgIcon;
|
|
1574
|
+
/**
|
|
1575
|
+
* Defines the icon type
|
|
1576
|
+
*/
|
|
1577
|
+
iconType?: KitSvgIconType;
|
|
1578
|
+
/**
|
|
1579
|
+
* An action which is emitted when the pill is clicked
|
|
1580
|
+
*/
|
|
1581
|
+
clicked: EventEmitter<boolean>;
|
|
1582
|
+
/**
|
|
1583
|
+
* An action which is emitted when the close button is clicked
|
|
1584
|
+
*/
|
|
1585
|
+
removed: EventEmitter<void>;
|
|
1586
|
+
readonly closeIcon: KitSvgIcon;
|
|
1587
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
1588
|
+
get cssClasses(): Record<string, boolean>;
|
|
1589
|
+
onComponentClick(): void;
|
|
1590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPillComponent, never>;
|
|
1591
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPillComponent, "kit-pill", never, { "removable": { "alias": "removable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "type": { "alias": "type"; "required": false; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; }, { "clicked": "clicked"; "removed": "removed"; }, never, ["*"], true, never>;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
interface KitToastrModuleConfig {
|
|
1595
|
+
preventDuplicates: boolean;
|
|
1596
|
+
countDuplicates: boolean;
|
|
1597
|
+
}
|
|
1598
|
+
declare class KitToastrModule {
|
|
1599
|
+
static forRoot(config?: Partial<KitToastrModuleConfig>): ModuleWithProviders<ToastrModule>;
|
|
1600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitToastrModule, never>;
|
|
1601
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitToastrModule, never, never, never>;
|
|
1602
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitToastrModule>;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
declare enum KitToastrType {
|
|
1606
|
+
ERROR = "toast-error",
|
|
1607
|
+
INFO = "toast-info",
|
|
1608
|
+
SUCCESS = "toast-success",
|
|
1609
|
+
WARNING = "toast-warning"
|
|
1610
|
+
}
|
|
1611
|
+
declare enum KitToastrPosition {
|
|
1612
|
+
TOP_CENTER = "toast-top-center",
|
|
1613
|
+
TOP_LEFT = "toast-top-left",
|
|
1614
|
+
TOP_RIGHT = "toast-top-right",
|
|
1615
|
+
BOTTOM_CENTER = "toast-bottom-center",
|
|
1616
|
+
BOTTOM_LEFT = "toast-bottom-left",
|
|
1617
|
+
BOTTOM_RIGHT = "toast-bottom-right",
|
|
1618
|
+
TOP_FULL_WIDTH = "toast-top-full-width",
|
|
1619
|
+
BOTTOM_FULL_WIDTH = "toast-bottom-full-width"
|
|
1620
|
+
}
|
|
1621
|
+
interface KitToastrConfig {
|
|
1622
|
+
type: KitToastrType;
|
|
1623
|
+
message: string;
|
|
1624
|
+
dismissible?: boolean;
|
|
1625
|
+
title?: string;
|
|
1626
|
+
position?: KitToastrPosition;
|
|
1627
|
+
overlay?: boolean;
|
|
1628
|
+
timeout?: number;
|
|
1629
|
+
closeButton?: boolean;
|
|
1630
|
+
progressbar?: boolean;
|
|
1631
|
+
disableTimeout?: boolean;
|
|
1632
|
+
toastClass?: string;
|
|
1633
|
+
}
|
|
1634
|
+
type KitToastr = ActiveToast<void>;
|
|
1635
|
+
declare class KitToastrService {
|
|
1636
|
+
private toastrService;
|
|
1637
|
+
private rendererFactory2;
|
|
1638
|
+
private renderer2;
|
|
1639
|
+
constructor(toastrService: ToastrService, rendererFactory2: RendererFactory2);
|
|
1640
|
+
show(config: KitToastrConfig): KitToastr;
|
|
1641
|
+
private getConfig;
|
|
1642
|
+
private removeOverlayContainerClassIfToastsEmpty;
|
|
1643
|
+
private addOverlayContainerClass;
|
|
1644
|
+
private removeOverlayContainerClass;
|
|
1645
|
+
private getOverlayContainer;
|
|
1646
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitToastrService, never>;
|
|
1647
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitToastrService>;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
declare enum KitDaterangeType {
|
|
1651
|
+
DEFAULT = "default",
|
|
1652
|
+
BUTTON = "button"
|
|
1653
|
+
}
|
|
1654
|
+
interface KitDaterangeValue {
|
|
1655
|
+
start: Date | null;
|
|
1656
|
+
end: Date | null;
|
|
1657
|
+
}
|
|
1658
|
+
declare class KitDaterangeComponent {
|
|
1659
|
+
type: KitDaterangeType;
|
|
1660
|
+
/**
|
|
1661
|
+
* Defines a value that is going to be applied as a daterange button label
|
|
1662
|
+
*/
|
|
1663
|
+
label?: string;
|
|
1664
|
+
/**
|
|
1665
|
+
* Defines a value that is going to be applied as a daterange start input label
|
|
1666
|
+
*/
|
|
1667
|
+
startLabel?: string;
|
|
1668
|
+
/**
|
|
1669
|
+
* Defines a value that is going to be applied as a daterange end input label
|
|
1670
|
+
*/
|
|
1671
|
+
endLabel?: string;
|
|
1672
|
+
/**
|
|
1673
|
+
* Defines a value that is going to be applied as a daterange start input placeholder
|
|
1674
|
+
*/
|
|
1675
|
+
startPlaceholder?: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Defines a value that is going to be applied as a daterange end input placeholder
|
|
1678
|
+
*/
|
|
1679
|
+
endPlaceholder?: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Defines a value that is going to be applied as a daterange format
|
|
1682
|
+
*/
|
|
1683
|
+
format: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* Defines a value that is going to be applied as a default daterange start date value
|
|
1686
|
+
*/
|
|
1687
|
+
defaultStartDate?: Date;
|
|
1688
|
+
/**
|
|
1689
|
+
* Defines a value that is going to be applied as a default daterange end date value
|
|
1690
|
+
*/
|
|
1691
|
+
defaultEndDate?: Date;
|
|
1692
|
+
/**
|
|
1693
|
+
* Specifies the smallest valid date
|
|
1694
|
+
*/
|
|
1695
|
+
min?: Date;
|
|
1696
|
+
/**
|
|
1697
|
+
* Specifies the biggest valid date
|
|
1698
|
+
*/
|
|
1699
|
+
max?: Date;
|
|
1700
|
+
/**
|
|
1701
|
+
* Defines whether the component will be in disabled state
|
|
1702
|
+
*/
|
|
1703
|
+
disabled?: boolean;
|
|
1704
|
+
/**
|
|
1705
|
+
* Defines a state whether the component will be invalid
|
|
1706
|
+
*/
|
|
1707
|
+
invalid: boolean;
|
|
1708
|
+
/**
|
|
1709
|
+
* Defines an icon which will be used to the left of the info message
|
|
1710
|
+
*/
|
|
1711
|
+
messageIcon?: KitSvgIcon;
|
|
1712
|
+
/**
|
|
1713
|
+
* Defines a value which going to be an info message text
|
|
1714
|
+
*/
|
|
1715
|
+
messageText?: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Defines a value that is going to be applied as a start date form control
|
|
1718
|
+
*/
|
|
1719
|
+
startDateControl: AbstractControl;
|
|
1720
|
+
/**
|
|
1721
|
+
* Defines a value that is going to be applied as an end date form control
|
|
1722
|
+
*/
|
|
1723
|
+
endDateControl: AbstractControl;
|
|
1724
|
+
/**
|
|
1725
|
+
* An action which is emitted when start date changed
|
|
1726
|
+
*/
|
|
1727
|
+
startDateChanged: EventEmitter<Date>;
|
|
1728
|
+
/**
|
|
1729
|
+
* An action which is emitted when daterange popup closed
|
|
1730
|
+
*/
|
|
1731
|
+
closed: EventEmitter<KitDaterangeValue>;
|
|
1732
|
+
/**
|
|
1733
|
+
* An action which is emitted when end date changed
|
|
1734
|
+
*/
|
|
1735
|
+
endDateChanged: EventEmitter<Date>;
|
|
1736
|
+
popup: DateRangePopupComponent;
|
|
1737
|
+
/**
|
|
1738
|
+
* An icon which will be used in a daterange input icon
|
|
1739
|
+
*/
|
|
1740
|
+
readonly icon: KitSvgIcon;
|
|
1741
|
+
readonly KitDaterangeType: typeof KitDaterangeType;
|
|
1742
|
+
openCalendarPopup(): void;
|
|
1743
|
+
onStartDateChange(value: Date): void;
|
|
1744
|
+
onEndDateChange(value: Date): void;
|
|
1745
|
+
onBlur(): void;
|
|
1746
|
+
onClose(): void;
|
|
1747
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDaterangeComponent, never>;
|
|
1748
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDaterangeComponent, "kit-daterange", never, { "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startLabel": { "alias": "startLabel"; "required": false; }; "endLabel": { "alias": "endLabel"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "format": { "alias": "format"; "required": false; }; "defaultStartDate": { "alias": "defaultStartDate"; "required": false; }; "defaultEndDate": { "alias": "defaultEndDate"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "startDateControl": { "alias": "startDateControl"; "required": false; }; "endDateControl": { "alias": "endDateControl"; "required": false; }; }, { "startDateChanged": "startDateChanged"; "closed": "closed"; "endDateChanged": "endDateChanged"; }, never, never, false, never>;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1751
|
+
declare class KitDaterangeModule {
|
|
1752
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDaterangeModule, never>;
|
|
1753
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitDaterangeModule, [typeof KitDaterangeComponent], [typeof i2$1.CommonModule, typeof i3$2.DateInputsModule, typeof KitSvgIconModule, typeof KitInputMessageModule, typeof KitInputLabelModule], [typeof KitDaterangeComponent]>;
|
|
1754
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitDaterangeModule>;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
interface KitCtaPanelItem {
|
|
1758
|
+
title: string;
|
|
1759
|
+
buttonText?: string;
|
|
1760
|
+
icon?: KitSvgIcon;
|
|
1761
|
+
link?: string | string[];
|
|
1762
|
+
copyItem?: KitCtaPanelCopyItem;
|
|
1763
|
+
action?(): void;
|
|
1764
|
+
}
|
|
1765
|
+
interface KitCtaPanelCopyItem {
|
|
1766
|
+
textToCopy: string;
|
|
1767
|
+
tooltipTextBefore?: string;
|
|
1768
|
+
tooltipTextAfter?: string;
|
|
1769
|
+
}
|
|
1770
|
+
declare enum KitCtaPanelItemType {
|
|
1771
|
+
BUTTON = "button",
|
|
1772
|
+
LINK = "link"
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
declare class KitCtaPanelItemComponent {
|
|
1776
|
+
item?: KitCtaPanelItem;
|
|
1777
|
+
type: KitCtaPanelItemType;
|
|
1778
|
+
clicked: EventEmitter<void>;
|
|
1779
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1780
|
+
readonly KitCtaPanelItemType: typeof KitCtaPanelItemType;
|
|
1781
|
+
onButtonClick(): void;
|
|
1782
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelItemComponent, never>;
|
|
1783
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCtaPanelItemComponent, "kit-cta-panel-item", never, { "item": { "alias": "item"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "clicked": "clicked"; }, never, never, false, never>;
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
declare enum KitCopyTextState {
|
|
1787
|
+
NOT_COPIED = "not-copied",
|
|
1788
|
+
COPIED = "copied"
|
|
1789
|
+
}
|
|
1790
|
+
declare class KitCopyTextComponent {
|
|
1791
|
+
private document;
|
|
1792
|
+
/**
|
|
1793
|
+
Defines a value that is going to be the text to be copied
|
|
1794
|
+
*/
|
|
1795
|
+
textToCopy: string | null;
|
|
1796
|
+
/**
|
|
1797
|
+
Defines a value that is going to be displayed on hover as a hint before copying
|
|
1798
|
+
*/
|
|
1799
|
+
tooltipTextBefore: string | null;
|
|
1800
|
+
/**
|
|
1801
|
+
Defines a value that is going to be displayed on hover as a hint after copying
|
|
1802
|
+
*/
|
|
1803
|
+
tooltipTextAfter: string | null;
|
|
1804
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1805
|
+
readonly CopyTextState: typeof KitCopyTextState;
|
|
1806
|
+
readonly copyTextState$: BehaviorSubject<KitCopyTextState>;
|
|
1807
|
+
constructor(document: Document);
|
|
1808
|
+
copyText(): void;
|
|
1809
|
+
private setState;
|
|
1810
|
+
private handleCopyStateChange;
|
|
1811
|
+
private copyTextToClipboard;
|
|
1812
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCopyTextComponent, never>;
|
|
1813
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCopyTextComponent, "kit-copy-text", never, { "textToCopy": { "alias": "textToCopy"; "required": false; }; "tooltipTextBefore": { "alias": "tooltipTextBefore"; "required": false; }; "tooltipTextAfter": { "alias": "tooltipTextAfter"; "required": false; }; }, {}, never, never, false, never>;
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
declare class KitCopyTextModule {
|
|
1817
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCopyTextModule, never>;
|
|
1818
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCopyTextModule, [typeof KitCopyTextComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule], [typeof KitCopyTextComponent]>;
|
|
1819
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCopyTextModule>;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
declare class KitCtaPanelItemModule {
|
|
1823
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelItemModule, never>;
|
|
1824
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCtaPanelItemModule, [typeof KitCtaPanelItemComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof i3$3.RouterModule, typeof KitCopyTextModule], [typeof KitCtaPanelItemComponent]>;
|
|
1825
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCtaPanelItemModule>;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
declare class KitCtaPanelActionComponent {
|
|
1829
|
+
disabled: boolean;
|
|
1830
|
+
confirmText: string;
|
|
1831
|
+
quitText: string;
|
|
1832
|
+
quitClicked: EventEmitter<void>;
|
|
1833
|
+
confirmClicked: EventEmitter<void>;
|
|
1834
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1835
|
+
readonly KitButtonKind: typeof KitButtonKind;
|
|
1836
|
+
readonly KitButtonType: typeof KitButtonType;
|
|
1837
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelActionComponent, never>;
|
|
1838
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCtaPanelActionComponent, "kit-cta-panel-action", never, { "disabled": { "alias": "disabled"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; "quitText": { "alias": "quitText"; "required": false; }; }, { "quitClicked": "quitClicked"; "confirmClicked": "confirmClicked"; }, never, never, false, never>;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
declare class KitCtaPanelActionModule {
|
|
1842
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelActionModule, never>;
|
|
1843
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCtaPanelActionModule, [typeof KitCtaPanelActionComponent], [typeof i2$1.CommonModule, typeof KitButtonModule], [typeof KitCtaPanelActionComponent]>;
|
|
1844
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCtaPanelActionModule>;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
declare abstract class AbstractKitCtaPanelConfirmationComponent {
|
|
1848
|
+
isConfirmation: boolean;
|
|
1849
|
+
onOpenButtonClick(): void;
|
|
1850
|
+
onQuitButtonClick(): void;
|
|
1851
|
+
protected hideConfirmation(): void;
|
|
1852
|
+
protected showConfirmation(): void;
|
|
1853
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractKitCtaPanelConfirmationComponent, never>;
|
|
1854
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractKitCtaPanelConfirmationComponent, never, never, {}, {}, never, never, true, never>;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
interface KitCtaPanelConfirmation<T> {
|
|
1858
|
+
title: string;
|
|
1859
|
+
description?: string;
|
|
1860
|
+
icon: KitSvgIcon;
|
|
1861
|
+
checkboxLabel?: string;
|
|
1862
|
+
dropdownLabel?: string;
|
|
1863
|
+
defaultDropdownItem?: KitDropdownItem<T>;
|
|
1864
|
+
dropdownItems?: KitDropdownItem<T>[];
|
|
1865
|
+
}
|
|
1866
|
+
interface KitCtaPanelConfirmationValue<T> {
|
|
1867
|
+
reason: T;
|
|
1868
|
+
checkbox: boolean;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
declare class KitCtaPanelConfirmationComponent<T> {
|
|
1872
|
+
private formBuilder;
|
|
1873
|
+
data?: KitCtaPanelConfirmation<T>;
|
|
1874
|
+
confirmButtonDisabled: boolean;
|
|
1875
|
+
dropdownListHeight: number;
|
|
1876
|
+
quitText: string;
|
|
1877
|
+
confirmText: string;
|
|
1878
|
+
quitClicked: EventEmitter<void>;
|
|
1879
|
+
confirmClicked: EventEmitter<KitCtaPanelConfirmationValue<T>>;
|
|
1880
|
+
readonly form: UntypedFormGroup;
|
|
1881
|
+
constructor(formBuilder: UntypedFormBuilder);
|
|
1882
|
+
onConfirmButtonClick(): void;
|
|
1883
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelConfirmationComponent<any>, never>;
|
|
1884
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCtaPanelConfirmationComponent<any>, "kit-cta-panel-confirmation", never, { "data": { "alias": "data"; "required": false; }; "confirmButtonDisabled": { "alias": "confirmButtonDisabled"; "required": false; }; "dropdownListHeight": { "alias": "dropdownListHeight"; "required": false; }; "quitText": { "alias": "quitText"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; }, { "quitClicked": "quitClicked"; "confirmClicked": "confirmClicked"; }, never, never, false, never>;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
declare class KitCtaPanelConfirmationModule {
|
|
1888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelConfirmationModule, never>;
|
|
1889
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCtaPanelConfirmationModule, [typeof KitCtaPanelConfirmationComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof KitDropdownModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof KitSvgIconModule, typeof KitDropdownModule, typeof KitCtaPanelActionModule, typeof KitCheckboxModule], [typeof KitCtaPanelConfirmationComponent]>;
|
|
1890
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCtaPanelConfirmationModule>;
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
declare class KitCtaPanelAbstractConfirmationComponent {
|
|
1894
|
+
confirmButtonDisabled: boolean;
|
|
1895
|
+
quitText: string | null;
|
|
1896
|
+
confirmText: string | null;
|
|
1897
|
+
quitClicked: EventEmitter<void>;
|
|
1898
|
+
confirmClicked: EventEmitter<void>;
|
|
1899
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelAbstractConfirmationComponent, never>;
|
|
1900
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCtaPanelAbstractConfirmationComponent, "kit-cta-panel-abstract-confirmation", never, { "confirmButtonDisabled": { "alias": "confirmButtonDisabled"; "required": false; }; "quitText": { "alias": "quitText"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; }, { "quitClicked": "quitClicked"; "confirmClicked": "confirmClicked"; }, never, [".confirmation-head", ".confirmation-main"], false, never>;
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
declare class KitCtaPanelAbstractConfirmationModule {
|
|
1904
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCtaPanelAbstractConfirmationModule, never>;
|
|
1905
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCtaPanelAbstractConfirmationModule, [typeof KitCtaPanelAbstractConfirmationComponent], [typeof KitCtaPanelActionModule, typeof KitSvgIconModule, typeof i2$1.CommonModule], [typeof KitCtaPanelAbstractConfirmationComponent]>;
|
|
1906
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCtaPanelAbstractConfirmationModule>;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
declare class KitNoteComponent {
|
|
1910
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNoteComponent, never>;
|
|
1911
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNoteComponent, "kit-note", never, {}, {}, never, [".content", ".footer-content", ".footer-actions"], false, never>;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
declare class KitNoteModule {
|
|
1915
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNoteModule, never>;
|
|
1916
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNoteModule, [typeof KitNoteComponent], never, [typeof KitNoteComponent]>;
|
|
1917
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNoteModule>;
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
declare enum KitQueryParamsName {
|
|
1921
|
+
FILTER = "filter"
|
|
1922
|
+
}
|
|
1923
|
+
type KitQueryParams = Record<string, string | string[]>;
|
|
1924
|
+
declare class KitQueryParamsService {
|
|
1925
|
+
private activatedRoute;
|
|
1926
|
+
constructor(activatedRoute: ActivatedRoute);
|
|
1927
|
+
getQueryParamsByName(name: KitQueryParamsName): KitQueryParams[] | null;
|
|
1928
|
+
private buildParams;
|
|
1929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitQueryParamsService, never>;
|
|
1930
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitQueryParamsService>;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
interface KitRadioButton<T> {
|
|
1934
|
+
label: string;
|
|
1935
|
+
value: T;
|
|
1936
|
+
readonly?: boolean;
|
|
1937
|
+
disabled?: boolean;
|
|
1938
|
+
checked?: boolean;
|
|
1939
|
+
icon?: KitSvgIcon;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
declare enum KitRadioButtonType {
|
|
1943
|
+
DEFAULT = "default",
|
|
1944
|
+
ICON_LIST = "icon-list"
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
declare class KitRadioButtonComponent<T> implements ControlValueAccessor {
|
|
1948
|
+
items: KitRadioButton<T>[];
|
|
1949
|
+
label: string | null;
|
|
1950
|
+
name: string;
|
|
1951
|
+
readonly: boolean;
|
|
1952
|
+
disabled: boolean;
|
|
1953
|
+
type: KitRadioButtonType;
|
|
1954
|
+
changed: EventEmitter<KitRadioButton<T>>;
|
|
1955
|
+
readonly kitRadioButtonType: typeof KitRadioButtonType;
|
|
1956
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
1957
|
+
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
1958
|
+
get isIconListType(): boolean;
|
|
1959
|
+
buildLabelId(index: number): string;
|
|
1960
|
+
handleClick(event: MouseEvent, clickedItem: KitRadioButton<T>): void;
|
|
1961
|
+
onChange(value: T): void;
|
|
1962
|
+
onTouched(): void;
|
|
1963
|
+
writeValue(value: T): void;
|
|
1964
|
+
registerOnChange(fn: (_: T) => void): void;
|
|
1965
|
+
registerOnTouched(fn: () => void): void;
|
|
1966
|
+
setDisabledState(disabled: boolean): void;
|
|
1967
|
+
onRadioValueChange(item: KitRadioButton<T>): void;
|
|
1968
|
+
private buildUniqName;
|
|
1969
|
+
private getFirstPartOfUUID;
|
|
1970
|
+
private needToPrevent;
|
|
1971
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitRadioButtonComponent<any>, never>;
|
|
1972
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitRadioButtonComponent<any>, "kit-radio-button", never, { "items": { "alias": "items"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
declare class KitRadioButtonModule {
|
|
1976
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitRadioButtonModule, never>;
|
|
1977
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitRadioButtonModule, [typeof KitRadioButtonComponent], [typeof i2$1.CommonModule, typeof i3$1.RadioButtonModule, typeof KitInputLabelModule, typeof KitSvgIconModule], [typeof KitRadioButtonComponent]>;
|
|
1978
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitRadioButtonModule>;
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
declare const buildRandomUUID: () => string;
|
|
1982
|
+
|
|
1983
|
+
declare enum KitNavigationTabsType {
|
|
1984
|
+
TEXT = "text",
|
|
1985
|
+
BUTTON = "button"
|
|
1986
|
+
}
|
|
1987
|
+
|
|
1988
|
+
type KitNavigationTabsItemLink = string | number;
|
|
1989
|
+
interface KitNavigationTabsItem {
|
|
1990
|
+
title: string;
|
|
1991
|
+
link: KitNavigationTabsItemLink[] | string | null;
|
|
1992
|
+
icon?: KitSvgIcon;
|
|
1993
|
+
iconType?: KitSvgIconType;
|
|
1994
|
+
disabled?: Predicate<KitNavigationTabsItem>;
|
|
1995
|
+
}
|
|
1996
|
+
|
|
1997
|
+
declare class KitNavigationTabsComponent {
|
|
1998
|
+
/**
|
|
1999
|
+
* Items which are going to be rendered as tabs navigation items
|
|
2000
|
+
*/
|
|
2001
|
+
items: KitNavigationTabsItem[];
|
|
2002
|
+
/**
|
|
2003
|
+
* Defines the type of tabs
|
|
2004
|
+
*/
|
|
2005
|
+
type: KitNavigationTabsType;
|
|
2006
|
+
getRouterLink(item: KitNavigationTabsItem): string | KitNavigationTabsItemLink[] | null;
|
|
2007
|
+
getItemIconCssClass(item: KitNavigationTabsItem): KitSvgIconType;
|
|
2008
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsComponent, never>;
|
|
2009
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationTabsComponent, "kit-navigation-tabs", never, { "items": { "alias": "items"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
declare class KitNavigationTabsModule {
|
|
2013
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationTabsModule, never>;
|
|
2014
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationTabsModule, [typeof KitNavigationTabsComponent], [typeof i2$1.CommonModule, typeof i3$3.RouterModule, typeof KitSvgIconModule], [typeof KitNavigationTabsComponent]>;
|
|
2015
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationTabsModule>;
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
declare class KitDialogComponent {
|
|
2019
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDialogComponent, never>;
|
|
2020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDialogComponent, "kit-dialog", never, {}, {}, never, never, true, never>;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
declare class KitDialogService {
|
|
2024
|
+
private readonly dialogService;
|
|
2025
|
+
private readonly _dialogRef;
|
|
2026
|
+
get isDialogOpen(): boolean;
|
|
2027
|
+
get dialogInstance(): DialogRef['content']['instance'] | null;
|
|
2028
|
+
get dialogRef(): DialogRef | null;
|
|
2029
|
+
constructor(dialogService: DialogService);
|
|
2030
|
+
openDialog(settings: DialogSettings): void;
|
|
2031
|
+
closeDialog(): void;
|
|
2032
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDialogService, never>;
|
|
2033
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitDialogService>;
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2036
|
+
declare class KitDialogActionsComponent {
|
|
2037
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDialogActionsComponent, never>;
|
|
2038
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDialogActionsComponent, "kit-dialog-actions", never, {}, {}, never, ["*"], true, never>;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
declare class KitTimepickerComponent implements ControlValueAccessor {
|
|
2042
|
+
/**
|
|
2043
|
+
* Defines a value that is going to be applied as a timepicker label
|
|
2044
|
+
*/
|
|
2045
|
+
label: string | null;
|
|
2046
|
+
/**
|
|
2047
|
+
* Defines a value that is going to be applied as a timepicker placeholder
|
|
2048
|
+
*/
|
|
2049
|
+
placeholder: string | null;
|
|
2050
|
+
/**
|
|
2051
|
+
* Defines a value that is going to be applied as a default timepicker value
|
|
2052
|
+
*/
|
|
2053
|
+
defaultValue: Date | null;
|
|
2054
|
+
/**
|
|
2055
|
+
* Defines whether 24-hour time format will be applied to timepicker component
|
|
2056
|
+
*/
|
|
2057
|
+
longFormatEnabled: boolean;
|
|
2058
|
+
/**
|
|
2059
|
+
* Defines whether the component will be in disabled state
|
|
2060
|
+
*/
|
|
2061
|
+
disabled: boolean;
|
|
2062
|
+
/**
|
|
2063
|
+
* Defines a state whether the component will be invalid
|
|
2064
|
+
*/
|
|
2065
|
+
invalid: boolean;
|
|
2066
|
+
/**
|
|
2067
|
+
* Specifies the smallest valid time value
|
|
2068
|
+
*/
|
|
2069
|
+
min: Date | null;
|
|
2070
|
+
/**
|
|
2071
|
+
* Specifies the biggest valid time value
|
|
2072
|
+
*/
|
|
2073
|
+
max: Date | null;
|
|
2074
|
+
/**
|
|
2075
|
+
* Defines the text of the Apply button in the popup footer of the component, "Apply" by default
|
|
2076
|
+
*/
|
|
2077
|
+
applyButtonText: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* Defines the text of the Cancel button in the popup footer of the component, "Cancel" by default
|
|
2080
|
+
*/
|
|
2081
|
+
cancelButtonText: string;
|
|
2082
|
+
/**
|
|
2083
|
+
* Defines an icon which will be used to the left of the info message
|
|
2084
|
+
*/
|
|
2085
|
+
messageIcon?: KitSvgIcon;
|
|
2086
|
+
/**
|
|
2087
|
+
* Defines a value which going to be an info message text
|
|
2088
|
+
*/
|
|
2089
|
+
messageText?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* An action which is emitted when timepicker popup opened
|
|
2092
|
+
*/
|
|
2093
|
+
popupOpened: EventEmitter<void>;
|
|
2094
|
+
/**
|
|
2095
|
+
* An action which is emitted when timepicker popup closed
|
|
2096
|
+
*/
|
|
2097
|
+
popupClosed: EventEmitter<void>;
|
|
2098
|
+
/**
|
|
2099
|
+
* An action which is emitted when timepicker value changed
|
|
2100
|
+
*/
|
|
2101
|
+
changed: EventEmitter<Date>;
|
|
2102
|
+
/**
|
|
2103
|
+
* An action which is emitted when timepicker input field lost focus
|
|
2104
|
+
*/
|
|
2105
|
+
blured: EventEmitter<void>;
|
|
2106
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2107
|
+
readonly longTimeFormat: string;
|
|
2108
|
+
readonly shortTimeFormat: string;
|
|
2109
|
+
readonly timepickerPopupSettings: PopupSettings;
|
|
2110
|
+
onChange(value: Date): void;
|
|
2111
|
+
onTouched(): void;
|
|
2112
|
+
onInputBlur(): void;
|
|
2113
|
+
onInputChange(value: Date): void;
|
|
2114
|
+
writeValue(value: Date): void;
|
|
2115
|
+
registerOnChange(fn: (_: Date) => void): void;
|
|
2116
|
+
registerOnTouched(fn: () => void): void;
|
|
2117
|
+
setDisabledState(disabled: boolean): void;
|
|
2118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerComponent, never>;
|
|
2119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimepickerComponent, "kit-timepicker", never, { "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "longFormatEnabled": { "alias": "longFormatEnabled"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "applyButtonText": { "alias": "applyButtonText"; "required": false; }; "cancelButtonText": { "alias": "cancelButtonText"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; }, { "popupOpened": "popupOpened"; "popupClosed": "popupClosed"; "changed": "changed"; "blured": "blured"; }, never, never, false, never>;
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
declare class KitTimepickerModule {
|
|
2123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimepickerModule, never>;
|
|
2124
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTimepickerModule, [typeof KitTimepickerComponent], [typeof i3$2.TimePickerModule, typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof KitInputLabelModule, typeof i3$2.DateTimePickerModule, typeof KitInputMessageModule], [typeof KitTimepickerComponent]>;
|
|
2125
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTimepickerModule>;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
declare enum KitSkeletonShape {
|
|
2129
|
+
TEXT = "text",
|
|
2130
|
+
CIRCLE = "circle",
|
|
2131
|
+
RECTANGLE = "rectangle"
|
|
2132
|
+
}
|
|
2133
|
+
declare enum KitSkeletonAnimation {
|
|
2134
|
+
PULSE = "pulse",
|
|
2135
|
+
WAVE = "wave"
|
|
2136
|
+
}
|
|
2137
|
+
declare class KitSkeletonComponent {
|
|
2138
|
+
/**
|
|
2139
|
+
Defines the width of the skeleton component
|
|
2140
|
+
*/
|
|
2141
|
+
width: string | number | null;
|
|
2142
|
+
/**
|
|
2143
|
+
Defines the height of the skeleton component
|
|
2144
|
+
*/
|
|
2145
|
+
height: string | number | null;
|
|
2146
|
+
/**
|
|
2147
|
+
Defines the shape of the skeleton
|
|
2148
|
+
*/
|
|
2149
|
+
shape: KitSkeletonShape;
|
|
2150
|
+
/**
|
|
2151
|
+
Defines the animation of the skeleton
|
|
2152
|
+
*/
|
|
2153
|
+
animation: KitSkeletonAnimation | false;
|
|
2154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSkeletonComponent, never>;
|
|
2155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSkeletonComponent, "kit-skeleton", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; }, {}, never, never, false, never>;
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
declare class KitSkeletonModule {
|
|
2159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSkeletonModule, never>;
|
|
2160
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitSkeletonModule, [typeof KitSkeletonComponent], [typeof i2$1.CommonModule, typeof i3$4.IndicatorsModule], [typeof KitSkeletonComponent]>;
|
|
2161
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitSkeletonModule>;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
interface KitFileUploadFileRestrictions {
|
|
2165
|
+
allowedExtensions?: string[];
|
|
2166
|
+
maxFileSize?: number;
|
|
2167
|
+
}
|
|
2168
|
+
interface KitFileUploadFileRestrictionsMessages {
|
|
2169
|
+
allowedExtensions?: string;
|
|
2170
|
+
maxFileSize?: string;
|
|
2171
|
+
}
|
|
2172
|
+
type KitFileUploadFile = FileInfo;
|
|
2173
|
+
|
|
2174
|
+
declare class KitFileUploadComponent {
|
|
2175
|
+
/**
|
|
2176
|
+
* Defines the URL of the endpoint for the upload request
|
|
2177
|
+
*/
|
|
2178
|
+
saveUrl: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Defines the initial list of files
|
|
2181
|
+
*/
|
|
2182
|
+
files: KitFileUploadFile[];
|
|
2183
|
+
/**
|
|
2184
|
+
* Defines a label for "Select files" button
|
|
2185
|
+
*/
|
|
2186
|
+
selectFilesLabel?: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* Defines a label for dropzone
|
|
2189
|
+
*/
|
|
2190
|
+
dropzoneLabel?: string;
|
|
2191
|
+
/**
|
|
2192
|
+
* Defines the restrictions for selected files
|
|
2193
|
+
*/
|
|
2194
|
+
restrictions?: KitFileUploadFileRestrictions;
|
|
2195
|
+
/**
|
|
2196
|
+
* Defines a list of error messages for selected files
|
|
2197
|
+
*/
|
|
2198
|
+
restrictionsErrorMessages?: KitFileUploadFileRestrictionsMessages;
|
|
2199
|
+
/**
|
|
2200
|
+
* Defines whether the component will have an action button
|
|
2201
|
+
*/
|
|
2202
|
+
hasActionButton: boolean;
|
|
2203
|
+
/**
|
|
2204
|
+
* Defines an action button label
|
|
2205
|
+
*/
|
|
2206
|
+
actionButtonLabel?: string;
|
|
2207
|
+
/**
|
|
2208
|
+
* An action which is emitted when download file button clicked
|
|
2209
|
+
*/
|
|
2210
|
+
fileDownloaded: EventEmitter<KitFileUploadFile>;
|
|
2211
|
+
/**
|
|
2212
|
+
* An action which is emitted when files are selected
|
|
2213
|
+
*/
|
|
2214
|
+
filesSelected: EventEmitter<KitFileUploadFile[]>;
|
|
2215
|
+
/**
|
|
2216
|
+
* An action which is emitted when action button clicked
|
|
2217
|
+
*/
|
|
2218
|
+
actionButtonClicked: EventEmitter<void>;
|
|
2219
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2220
|
+
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
2221
|
+
readonly KitButtonKind: typeof KitButtonKind;
|
|
2222
|
+
readonly kitFileUploadValidationErrorMap: Record<string, () => string>;
|
|
2223
|
+
onFileDownload(file: KitFileUploadFile): void;
|
|
2224
|
+
onFilesSelect(files: KitFileUploadFile[]): void;
|
|
2225
|
+
onActionButtonClick(): void;
|
|
2226
|
+
getValidationError(error: string): string;
|
|
2227
|
+
getTypedFiles(files: KitFileUploadFile[]): KitFileUploadFile[];
|
|
2228
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileUploadComponent, never>;
|
|
2229
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileUploadComponent, "kit-file-upload", never, { "saveUrl": { "alias": "saveUrl"; "required": false; }; "files": { "alias": "files"; "required": false; }; "selectFilesLabel": { "alias": "selectFilesLabel"; "required": false; }; "dropzoneLabel": { "alias": "dropzoneLabel"; "required": false; }; "restrictions": { "alias": "restrictions"; "required": false; }; "restrictionsErrorMessages": { "alias": "restrictionsErrorMessages"; "required": false; }; "hasActionButton": { "alias": "hasActionButton"; "required": false; }; "actionButtonLabel": { "alias": "actionButtonLabel"; "required": false; }; }, { "fileDownloaded": "fileDownloaded"; "filesSelected": "filesSelected"; "actionButtonClicked": "actionButtonClicked"; }, never, never, false, never>;
|
|
2230
|
+
}
|
|
2231
|
+
|
|
2232
|
+
declare class KitFileUploadModule {
|
|
2233
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileUploadModule, never>;
|
|
2234
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitFileUploadModule, [typeof KitFileUploadComponent], [typeof i2$1.CommonModule, typeof i3$5.UploadModule, typeof KitSvgIconModule, typeof i5.FormsModule, typeof KitButtonModule], [typeof KitFileUploadComponent]>;
|
|
2235
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitFileUploadModule>;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
declare class KitPermissionDirective implements OnInit {
|
|
2239
|
+
private templateRef;
|
|
2240
|
+
private viewContainer;
|
|
2241
|
+
/**
|
|
2242
|
+
* Defines the permissions that a user must have in order for the content to be visible
|
|
2243
|
+
*/
|
|
2244
|
+
kitPermission: string[];
|
|
2245
|
+
/**
|
|
2246
|
+
* Defines the permissions assigned to the user
|
|
2247
|
+
*/
|
|
2248
|
+
kitPermissionUser: string[];
|
|
2249
|
+
constructor(templateRef: TemplateRef<HTMLElement>, viewContainer: ViewContainerRef);
|
|
2250
|
+
ngOnInit(): void;
|
|
2251
|
+
private updateView;
|
|
2252
|
+
private hasPermissions;
|
|
2253
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPermissionDirective, never>;
|
|
2254
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitPermissionDirective, "[kitPermission]", never, { "kitPermission": { "alias": "kitPermission"; "required": false; }; "kitPermissionUser": { "alias": "kitPermissionUser"; "required": false; }; }, {}, never, never, false, never>;
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
declare class KitPermissionModule {
|
|
2258
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPermissionModule, never>;
|
|
2259
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitPermissionModule, [typeof KitPermissionDirective], never, [typeof KitPermissionDirective]>;
|
|
2260
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitPermissionModule>;
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
interface KitNavigationMenuItem {
|
|
2264
|
+
title: string;
|
|
2265
|
+
link?: string;
|
|
2266
|
+
cssClass?: string;
|
|
2267
|
+
icon?: KitSvgIcon;
|
|
2268
|
+
iconType?: KitSvgIconType;
|
|
2269
|
+
expanded?: boolean;
|
|
2270
|
+
active?: boolean;
|
|
2271
|
+
items?: KitNavigationMenuItem[];
|
|
2272
|
+
}
|
|
2273
|
+
interface KitNavigationMenuAppItem {
|
|
2274
|
+
name: string;
|
|
2275
|
+
url: string | null;
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
declare class KitNavigationMenuService {
|
|
2279
|
+
private readonly collapsed;
|
|
2280
|
+
private readonly selected;
|
|
2281
|
+
getCollapsedState(): WritableSignal<boolean>;
|
|
2282
|
+
setCollapsedState(collapsed: boolean): void;
|
|
2283
|
+
setSelectedState(hasSelectedMenu: boolean, hasSelectedApps: boolean): void;
|
|
2284
|
+
getSelectedState(): WritableSignal<boolean>;
|
|
2285
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuService, never>;
|
|
2286
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitNavigationMenuService>;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
declare class KitNavigationMenuComponent implements OnInit {
|
|
2290
|
+
private router;
|
|
2291
|
+
private kitNavigationMenuService;
|
|
2292
|
+
/**
|
|
2293
|
+
* An items list which is going to be rendered as menu items
|
|
2294
|
+
*/
|
|
2295
|
+
readonly menuItems: ModelSignal<KitNavigationMenuItem[]>;
|
|
2296
|
+
/**
|
|
2297
|
+
* An items list which is going to be rendered as apps menu items
|
|
2298
|
+
*/
|
|
2299
|
+
readonly appsMenuItems: InputSignal<KitNavigationMenuAppItem[]>;
|
|
2300
|
+
logoPath: string;
|
|
2301
|
+
readonly selectedItem: WritableSignal<KitNavigationMenuItem | null>;
|
|
2302
|
+
readonly selectedAppsItems: WritableSignal<KitNavigationMenuAppItem[] | null>;
|
|
2303
|
+
readonly collapsed: WritableSignal<boolean>;
|
|
2304
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2305
|
+
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
2306
|
+
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
2307
|
+
constructor(router: Router, kitNavigationMenuService: KitNavigationMenuService);
|
|
2308
|
+
ngOnInit(): void;
|
|
2309
|
+
handleClick(item: KitNavigationMenuItem): void;
|
|
2310
|
+
handleLogoClick(): void;
|
|
2311
|
+
onAppsMenuButtonClick(): void;
|
|
2312
|
+
private setExpandedStateOnRouterChange;
|
|
2313
|
+
private updateNavigationState;
|
|
2314
|
+
private collapseAllItems;
|
|
2315
|
+
private toggleItem;
|
|
2316
|
+
private updateMenuState;
|
|
2317
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuComponent, never>;
|
|
2318
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuComponent, "kit-navigation-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; "isSignal": true; }; "appsMenuItems": { "alias": "appsMenuItems"; "required": false; "isSignal": true; }; "logoPath": { "alias": "logoPath"; "required": false; }; }, { "menuItems": "menuItemsChange"; }, never, never, false, never>;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
declare class KitNavigationMenuSubmenuComponent {
|
|
2322
|
+
private readonly document;
|
|
2323
|
+
menuItem: KitNavigationMenuItem | null;
|
|
2324
|
+
appsMenuItems: KitNavigationMenuAppItem[] | null;
|
|
2325
|
+
logoPath: string;
|
|
2326
|
+
logoClicked: EventEmitter<void>;
|
|
2327
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2328
|
+
readonly rootPath: string;
|
|
2329
|
+
constructor(document: Document);
|
|
2330
|
+
handleClick(item: KitNavigationMenuItem): void;
|
|
2331
|
+
isAppItemActive(url: string | null): boolean;
|
|
2332
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuComponent, never>;
|
|
2333
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitNavigationMenuSubmenuComponent, "kit-navigation-menu-submenu", never, { "menuItem": { "alias": "menuItem"; "required": false; }; "appsMenuItems": { "alias": "appsMenuItems"; "required": false; }; "logoPath": { "alias": "logoPath"; "required": false; }; }, { "logoClicked": "logoClicked"; }, never, never, false, never>;
|
|
2334
|
+
}
|
|
2335
|
+
|
|
2336
|
+
declare class KitNavigationMenuSubmenuModule {
|
|
2337
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuSubmenuModule, never>;
|
|
2338
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationMenuSubmenuModule, [typeof KitNavigationMenuSubmenuComponent], [typeof i2$1.CommonModule, typeof i3$3.RouterModule, typeof KitSvgIconModule], [typeof KitNavigationMenuSubmenuComponent]>;
|
|
2339
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuSubmenuModule>;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
declare class KitNavigationMenuModule {
|
|
2343
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitNavigationMenuModule, never>;
|
|
2344
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitNavigationMenuModule, [typeof KitNavigationMenuComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof i3$3.RouterModule, typeof KitNavigationMenuSubmenuModule, typeof KitTooltipDirective], [typeof KitNavigationMenuComponent]>;
|
|
2345
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitNavigationMenuModule>;
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
declare enum KitBadgeTheme {
|
|
2349
|
+
SUCCESS = "success",
|
|
2350
|
+
DEFAULT = "default",
|
|
2351
|
+
DANGER = "danger",
|
|
2352
|
+
PROCESSING = "processing",
|
|
2353
|
+
WARNING = "warning"
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
declare class KitBadgeDirective implements OnDestroy {
|
|
2357
|
+
private elementRef;
|
|
2358
|
+
private renderer;
|
|
2359
|
+
/**
|
|
2360
|
+
* Defines the content of the badge
|
|
2361
|
+
*/
|
|
2362
|
+
readonly kitBadgeText: InputSignal<string | number | undefined>;
|
|
2363
|
+
/**
|
|
2364
|
+
* Defines the theme color of the badge
|
|
2365
|
+
*/
|
|
2366
|
+
readonly kitBadgeTheme: InputSignal<KitBadgeTheme>;
|
|
2367
|
+
/**
|
|
2368
|
+
* Defines whether the badge will be visible
|
|
2369
|
+
*/
|
|
2370
|
+
readonly kitBadgeVisible: InputSignal<boolean>;
|
|
2371
|
+
private badgeElement;
|
|
2372
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
2373
|
+
ngOnDestroy(): void;
|
|
2374
|
+
private createBadge;
|
|
2375
|
+
private updateBadge;
|
|
2376
|
+
private removeBadge;
|
|
2377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitBadgeDirective, never>;
|
|
2378
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitBadgeDirective, "[kitBadge]", never, { "kitBadgeText": { "alias": "kitBadgeText"; "required": false; "isSignal": true; }; "kitBadgeTheme": { "alias": "kitBadgeTheme"; "required": false; "isSignal": true; }; "kitBadgeVisible": { "alias": "kitBadgeVisible"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
declare enum KitAvatarSize {
|
|
2382
|
+
LARGE = "large",
|
|
2383
|
+
DEFAULT = "default",
|
|
2384
|
+
SMALL = "small"
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
declare class KitAvatarComponent {
|
|
2388
|
+
/**
|
|
2389
|
+
* Defines the name that is going to be used to set initials to the avatar
|
|
2390
|
+
*/
|
|
2391
|
+
name?: string;
|
|
2392
|
+
/**
|
|
2393
|
+
* Defines the image source of the avatar
|
|
2394
|
+
*/
|
|
2395
|
+
imageSrc?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* Defines the size of the avatar
|
|
2398
|
+
*/
|
|
2399
|
+
size: KitAvatarSize;
|
|
2400
|
+
readonly userIcon: KitSvgIcon;
|
|
2401
|
+
getInitialsByName(name: string): string;
|
|
2402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAvatarComponent, never>;
|
|
2403
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitAvatarComponent, "kit-avatar", never, { "name": { "alias": "name"; "required": false; }; "imageSrc": { "alias": "imageSrc"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
declare class KitAvatarModule {
|
|
2407
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitAvatarModule, never>;
|
|
2408
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitAvatarModule, [typeof KitAvatarComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule], [typeof KitAvatarComponent]>;
|
|
2409
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitAvatarModule>;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
interface KitMultiselectItem<T> {
|
|
2413
|
+
text: string;
|
|
2414
|
+
value: T;
|
|
2415
|
+
disabled?: Predicate<KitMultiselectItem<T>>;
|
|
2416
|
+
}
|
|
2417
|
+
|
|
2418
|
+
declare class KitMultiselectComponent<T> implements ControlValueAccessor {
|
|
2419
|
+
private elementRef;
|
|
2420
|
+
private readonly translateService;
|
|
2421
|
+
/**
|
|
2422
|
+
* An items list which is going to be rendered as multiselect items
|
|
2423
|
+
*/
|
|
2424
|
+
items: KitMultiselectItem<T>[];
|
|
2425
|
+
/**
|
|
2426
|
+
* An items which need to be selected as a default value
|
|
2427
|
+
*/
|
|
2428
|
+
selectedItems?: T[];
|
|
2429
|
+
/**
|
|
2430
|
+
* Defines a value that is going to be applied as a multiselect label
|
|
2431
|
+
*/
|
|
2432
|
+
label?: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* Defines whether the component will be in disabled state
|
|
2435
|
+
*/
|
|
2436
|
+
disabled?: boolean;
|
|
2437
|
+
/**
|
|
2438
|
+
* Defines a value that is going to be applied as a multiselect placeholder
|
|
2439
|
+
*/
|
|
2440
|
+
placeholder?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* Determines whether to close the popup of the multiSelect after the item selection, false by default
|
|
2443
|
+
*/
|
|
2444
|
+
autoClose: boolean;
|
|
2445
|
+
/**
|
|
2446
|
+
* Defines an icon which will be used to the left of the info message
|
|
2447
|
+
*/
|
|
2448
|
+
messageIcon?: KitSvgIcon;
|
|
2449
|
+
/**
|
|
2450
|
+
* Defines a value which going to be an info message text
|
|
2451
|
+
*/
|
|
2452
|
+
messageText?: string;
|
|
2453
|
+
readonly shouldAddAllAsOption: InputSignal<boolean>;
|
|
2454
|
+
readonly allOptionLabel: InputSignal<string | undefined>;
|
|
2455
|
+
/**
|
|
2456
|
+
* An action which is emitted when value is changed
|
|
2457
|
+
*/
|
|
2458
|
+
changed: EventEmitter<T[]>;
|
|
2459
|
+
readonly multiselect: Signal<MultiSelectComponent>;
|
|
2460
|
+
/**
|
|
2461
|
+
* Settings for the multiselect popup
|
|
2462
|
+
*/
|
|
2463
|
+
readonly popupSettings: PopupSettings;
|
|
2464
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2465
|
+
readonly allOption: Signal<KitMultiselectItem<T>>;
|
|
2466
|
+
private readonly destroy$;
|
|
2467
|
+
get canAddAllAsOption(): boolean;
|
|
2468
|
+
get isAllAsOptionAdded(): boolean;
|
|
2469
|
+
get hasSelectedAllOption(): boolean;
|
|
2470
|
+
get allEnabledItems(): T[];
|
|
2471
|
+
constructor(elementRef: ElementRef, translateService: TranslateService);
|
|
2472
|
+
ngOnInit(): void;
|
|
2473
|
+
ngOnChanges({ items, selectedItems, shouldAddAllAsOption }: SimpleChanges): void;
|
|
2474
|
+
ngOnDestroy(): void;
|
|
2475
|
+
onItemDisabled(): ItemDisabledFn;
|
|
2476
|
+
onValueChange(value: T[]): void;
|
|
2477
|
+
/**
|
|
2478
|
+
* Function that should be called every time the form control value changes
|
|
2479
|
+
*/
|
|
2480
|
+
onChange: (value: T[]) => void;
|
|
2481
|
+
/**
|
|
2482
|
+
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
2483
|
+
*/
|
|
2484
|
+
onTouched: () => void;
|
|
2485
|
+
writeValue(value: T[]): void;
|
|
2486
|
+
registerOnChange(fn: (_: T[]) => void): void;
|
|
2487
|
+
registerOnTouched(fn: () => void): void;
|
|
2488
|
+
setDisabledState(disabled: boolean): void;
|
|
2489
|
+
private addAllAsOption;
|
|
2490
|
+
private removeAllAsOption;
|
|
2491
|
+
private subscribeToValueChanges;
|
|
2492
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMultiselectComponent<any>, never>;
|
|
2493
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitMultiselectComponent<any>, "kit-multiselect", never, { "items": { "alias": "items"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "autoClose": { "alias": "autoClose"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "shouldAddAllAsOption": { "alias": "shouldAddAllAsOption"; "required": false; "isSignal": true; }; "allOptionLabel": { "alias": "allOptionLabel"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
2494
|
+
}
|
|
2495
|
+
|
|
2496
|
+
declare class KitMultiselectModule {
|
|
2497
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMultiselectModule, never>;
|
|
2498
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitMultiselectModule, [typeof KitMultiselectComponent], [typeof i2$1.CommonModule, typeof i4.MultiSelectModule, typeof i4.DropDownListModule, typeof i5.FormsModule, typeof KitSvgIconModule, typeof KitInputMessageModule, typeof KitInputLabelModule, typeof i8.TranslateModule], [typeof KitMultiselectComponent]>;
|
|
2499
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitMultiselectModule>;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
interface KitPopupAlign {
|
|
2503
|
+
horizontal: KitPopupAlignHorizontal;
|
|
2504
|
+
vertical: KitPopupAlignVertical;
|
|
2505
|
+
}
|
|
2506
|
+
declare enum KitPopupAlignHorizontal {
|
|
2507
|
+
LEFT = "left",
|
|
2508
|
+
CENTER = "center",
|
|
2509
|
+
RIGHT = "right"
|
|
2510
|
+
}
|
|
2511
|
+
declare enum KitPopupAlignVertical {
|
|
2512
|
+
TOP = "top",
|
|
2513
|
+
CENTER = "center",
|
|
2514
|
+
BOTTOM = "bottom"
|
|
2515
|
+
}
|
|
2516
|
+
declare enum KitPopupPositionMode {
|
|
2517
|
+
ABSOLUTE = "absolute",
|
|
2518
|
+
FIXED = "fixed"
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
declare class KitPopupComponent {
|
|
2522
|
+
private readonly popupService;
|
|
2523
|
+
popupTemplate: TemplateRef<unknown>;
|
|
2524
|
+
readonly anchor: InputSignal<ElementRef | HTMLElement>;
|
|
2525
|
+
readonly content: InputSignal<TemplateRef<unknown>>;
|
|
2526
|
+
readonly closeOnOutsideClick: InputSignal<boolean>;
|
|
2527
|
+
readonly showFooter: InputSignal<boolean>;
|
|
2528
|
+
readonly cancelButtonLabel: InputSignal<string>;
|
|
2529
|
+
readonly applyButtonLabel: InputSignal<string>;
|
|
2530
|
+
readonly isApplyButtonDisabled: InputSignal<boolean>;
|
|
2531
|
+
readonly positionMode: InputSignal<KitPopupPositionMode>;
|
|
2532
|
+
readonly popupClass: InputSignal<string>;
|
|
2533
|
+
readonly closePopupOnCancel: InputSignal<boolean>;
|
|
2534
|
+
readonly onCancel: OutputEmitterRef<void>;
|
|
2535
|
+
readonly onApply: OutputEmitterRef<void>;
|
|
2536
|
+
readonly onOpen: OutputEmitterRef<void>;
|
|
2537
|
+
readonly onClose: OutputEmitterRef<void>;
|
|
2538
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
2539
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
2540
|
+
private popupRef;
|
|
2541
|
+
get popupHTMLElement(): HTMLElement | null;
|
|
2542
|
+
get isPopupOpen(): boolean;
|
|
2543
|
+
get anchorElement(): HTMLElement;
|
|
2544
|
+
constructor(popupService: PopupService);
|
|
2545
|
+
documentClick(event: Event): void;
|
|
2546
|
+
ngOnDestroy(): void;
|
|
2547
|
+
toggle(options?: PopupSettings$1): void;
|
|
2548
|
+
close(): void;
|
|
2549
|
+
cancel(): void;
|
|
2550
|
+
apply(): void;
|
|
2551
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPopupComponent, never>;
|
|
2552
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPopupComponent, "kit-popup", never, { "anchor": { "alias": "anchor"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "showFooter": { "alias": "showFooter"; "required": false; "isSignal": true; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; "isSignal": true; }; "applyButtonLabel": { "alias": "applyButtonLabel"; "required": false; "isSignal": true; }; "isApplyButtonDisabled": { "alias": "isApplyButtonDisabled"; "required": false; "isSignal": true; }; "positionMode": { "alias": "positionMode"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "closePopupOnCancel": { "alias": "closePopupOnCancel"; "required": false; "isSignal": true; }; }, { "onCancel": "onCancel"; "onApply": "onApply"; "onOpen": "onOpen"; "onClose": "onClose"; }, never, never, true, never>;
|
|
2553
|
+
}
|
|
2554
|
+
|
|
2555
|
+
declare enum KitDatepickerSize {
|
|
2556
|
+
REGULAR = "regular",
|
|
2557
|
+
SMALL = "small"
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
declare class KitDatepickerComponent implements ControlValueAccessor {
|
|
2561
|
+
private elementRef;
|
|
2562
|
+
private document;
|
|
2563
|
+
/**
|
|
2564
|
+
* Defines a value that is going to be applied as a datepicker placeholder
|
|
2565
|
+
*/
|
|
2566
|
+
placeholder?: string;
|
|
2567
|
+
/**
|
|
2568
|
+
* Defines a value that is going to be applied as a datepicker label
|
|
2569
|
+
*/
|
|
2570
|
+
label?: string;
|
|
2571
|
+
/**
|
|
2572
|
+
* Defines a value that is going to be applied as a default datepicker value
|
|
2573
|
+
*/
|
|
2574
|
+
defaultDate?: Date;
|
|
2575
|
+
/**
|
|
2576
|
+
* Defines whether the component will be in disabled state
|
|
2577
|
+
*/
|
|
2578
|
+
disabled?: boolean;
|
|
2579
|
+
/**
|
|
2580
|
+
* Defines a value that is going to be applied as a datepicker format
|
|
2581
|
+
*/
|
|
2582
|
+
format: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* Specifies the smallest valid date
|
|
2585
|
+
*/
|
|
2586
|
+
min?: Date;
|
|
2587
|
+
/**
|
|
2588
|
+
* Specifies the biggest valid date
|
|
2589
|
+
*/
|
|
2590
|
+
max?: Date;
|
|
2591
|
+
/**
|
|
2592
|
+
* Defines an icon which will be used to the left of the info message
|
|
2593
|
+
*/
|
|
2594
|
+
messageIcon?: KitSvgIcon;
|
|
2595
|
+
/**
|
|
2596
|
+
* Defines a value which going to be an info message text
|
|
2597
|
+
*/
|
|
2598
|
+
messageText?: string;
|
|
2599
|
+
/**
|
|
2600
|
+
* Defines the size of the datepicker input field
|
|
2601
|
+
*/
|
|
2602
|
+
readonly size: InputSignal<KitDatepickerSize>;
|
|
2603
|
+
/**
|
|
2604
|
+
* An action which is emitted when datepicker value changed
|
|
2605
|
+
*/
|
|
2606
|
+
changed: EventEmitter<Date>;
|
|
2607
|
+
/**
|
|
2608
|
+
* Defines a reference of the DatePicker component
|
|
2609
|
+
*/
|
|
2610
|
+
datepicker: DatePickerComponent;
|
|
2611
|
+
/**
|
|
2612
|
+
* Defines settings for datepicker popup
|
|
2613
|
+
*/
|
|
2614
|
+
readonly datepickerPopupSettings: PopupSettings;
|
|
2615
|
+
/**
|
|
2616
|
+
* An icon which will be used in a datepicker toggle button
|
|
2617
|
+
*/
|
|
2618
|
+
readonly calendarIcon: KitSvgIcon;
|
|
2619
|
+
constructor(elementRef: ElementRef, document: Document);
|
|
2620
|
+
documentClick(event: Event): void;
|
|
2621
|
+
onValueChange(value: Date): void;
|
|
2622
|
+
onPopupToggle(): void;
|
|
2623
|
+
onBlur(): void;
|
|
2624
|
+
onChange: (value: Date) => void;
|
|
2625
|
+
onTouched: () => void;
|
|
2626
|
+
writeValue(value: string): void;
|
|
2627
|
+
registerOnChange(fn: (_: Date) => void): void;
|
|
2628
|
+
registerOnTouched(fn: () => void): void;
|
|
2629
|
+
setDisabledState(disabled: boolean): void;
|
|
2630
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatepickerComponent, never>;
|
|
2631
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDatepickerComponent, "kit-datepicker", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "label": { "alias": "label"; "required": false; }; "defaultDate": { "alias": "defaultDate"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "format": { "alias": "format"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "messageIcon": { "alias": "messageIcon"; "required": false; }; "messageText": { "alias": "messageText"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "changed": "changed"; }, never, never, false, never>;
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
declare class KitDatepickerModule {
|
|
2635
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDatepickerModule, never>;
|
|
2636
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitDatepickerModule, [typeof KitDatepickerComponent], [typeof i2$1.CommonModule, typeof i3$2.DateInputsModule, typeof KitInputLabelModule, typeof KitInputMessageModule, typeof KitSvgIconModule], [typeof KitDatepickerComponent]>;
|
|
2637
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitDatepickerModule>;
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
interface KitProfileMenuItem {
|
|
2641
|
+
title: string;
|
|
2642
|
+
icon?: KitSvgIcon;
|
|
2643
|
+
iconType?: KitSvgIconType;
|
|
2644
|
+
link?: string;
|
|
2645
|
+
cssClass?: string;
|
|
2646
|
+
action?(): void;
|
|
2647
|
+
}
|
|
2648
|
+
|
|
2649
|
+
declare class KitProfileMenuComponent {
|
|
2650
|
+
/**
|
|
2651
|
+
* Defines a list of menu items
|
|
2652
|
+
*/
|
|
2653
|
+
menuItems: KitProfileMenuItem[];
|
|
2654
|
+
/**
|
|
2655
|
+
* Defines username that going to be displayed next to avatar and used in avatar as initials
|
|
2656
|
+
*/
|
|
2657
|
+
userName?: string;
|
|
2658
|
+
/**
|
|
2659
|
+
* Defines company name that going to be displayed next to avatar
|
|
2660
|
+
*/
|
|
2661
|
+
companyName?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Defines the image source of the avatar
|
|
2664
|
+
*/
|
|
2665
|
+
avatarImageSrc?: string;
|
|
2666
|
+
popup: KitPopupComponent;
|
|
2667
|
+
readonly KitAvatarSize: typeof KitAvatarSize;
|
|
2668
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2669
|
+
readonly KitPopupAlignHorizontal: typeof KitPopupAlignHorizontal;
|
|
2670
|
+
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
2671
|
+
onClick(item: KitProfileMenuItem): void;
|
|
2672
|
+
toggle(): void;
|
|
2673
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitProfileMenuComponent, never>;
|
|
2674
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitProfileMenuComponent, "kit-profile-menu", never, { "menuItems": { "alias": "menuItems"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "companyName": { "alias": "companyName"; "required": false; }; "avatarImageSrc": { "alias": "avatarImageSrc"; "required": false; }; }, {}, never, never, true, never>;
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
declare class KitTabComponent {
|
|
2678
|
+
/**
|
|
2679
|
+
* Defines the tab title
|
|
2680
|
+
*/
|
|
2681
|
+
readonly title: InputSignal<string>;
|
|
2682
|
+
/**
|
|
2683
|
+
* Defines the icon which will be used with the tab title
|
|
2684
|
+
*/
|
|
2685
|
+
icon?: KitSvgIcon;
|
|
2686
|
+
/**
|
|
2687
|
+
* Defines the icon type
|
|
2688
|
+
*/
|
|
2689
|
+
iconType: KitSvgIconType;
|
|
2690
|
+
/**
|
|
2691
|
+
* Defines which tab will be selected when tabs are initially loaded
|
|
2692
|
+
*/
|
|
2693
|
+
selected: boolean;
|
|
2694
|
+
/**
|
|
2695
|
+
* Defines which tab will be disabled
|
|
2696
|
+
*/
|
|
2697
|
+
readonly disabled: InputSignal<boolean>;
|
|
2698
|
+
/**
|
|
2699
|
+
* Defines a reference to the tab title
|
|
2700
|
+
*/
|
|
2701
|
+
kitTitleTemplate: TemplateRef<HTMLElement> | null;
|
|
2702
|
+
/**
|
|
2703
|
+
* Defines a reference to the tab content
|
|
2704
|
+
*/
|
|
2705
|
+
kitTabContent: TemplateRef<HTMLElement> | null;
|
|
2706
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTabComponent, never>;
|
|
2707
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTabComponent, "kit-tab", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; }; "iconType": { "alias": "iconType"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["kitTitleTemplate", "kitTabContent"], never, false, never>;
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
declare enum KitTabsType {
|
|
2711
|
+
TEXT = "text",
|
|
2712
|
+
BUTTON = "button",
|
|
2713
|
+
SEGMENTED = "segmented"
|
|
2714
|
+
}
|
|
2715
|
+
declare enum KitTabsSize {
|
|
2716
|
+
LARGE = "large",
|
|
2717
|
+
SMALL = "small"
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2720
|
+
interface KitTabsSelectEvent {
|
|
2721
|
+
index: number;
|
|
2722
|
+
title: string;
|
|
2723
|
+
preventDefault(): void;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
declare class KitTabsComponent implements OnInit, OnDestroy {
|
|
2727
|
+
/**
|
|
2728
|
+
* Defines the type of tabs
|
|
2729
|
+
*/
|
|
2730
|
+
type: KitTabsType;
|
|
2731
|
+
size: KitTabsSize;
|
|
2732
|
+
/**
|
|
2733
|
+
* Enables the tab animation
|
|
2734
|
+
*/
|
|
2735
|
+
animate: boolean;
|
|
2736
|
+
/**
|
|
2737
|
+
* An action which is emitted when tab is selected
|
|
2738
|
+
*/
|
|
2739
|
+
tabSelected: EventEmitter<KitTabsSelectEvent>;
|
|
2740
|
+
/**
|
|
2741
|
+
* Defines the reference to the tabs content
|
|
2742
|
+
*/
|
|
2743
|
+
readonly tabs: Signal<readonly KitTabComponent[]>;
|
|
2744
|
+
ngOnInit(): void;
|
|
2745
|
+
ngOnDestroy(): void;
|
|
2746
|
+
interceptInputKeys: (event: KeyboardEvent) => void;
|
|
2747
|
+
onTabSelect(event: SelectEvent): void;
|
|
2748
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTabsComponent, never>;
|
|
2749
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTabsComponent, "kit-tabs", never, { "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; }, { "tabSelected": "tabSelected"; }, ["tabs"], never, false, never>;
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
declare class KitTitleTemplateDirective {
|
|
2753
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTitleTemplateDirective, never>;
|
|
2754
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTitleTemplateDirective, "[kitTitleTemplate]", never, {}, {}, never, never, true, never>;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
declare class KitTabContentDirective {
|
|
2758
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTabContentDirective, never>;
|
|
2759
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitTabContentDirective, "[kitTabContent]", never, {}, {}, never, never, true, never>;
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
declare class KitTabsModule {
|
|
2763
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTabsModule, never>;
|
|
2764
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTabsModule, [typeof KitTabsComponent, typeof KitTabComponent], [typeof i2$1.CommonModule, typeof i4$1.LayoutModule, typeof KitSvgIconModule, typeof KitTitleTemplateDirective, typeof KitTabContentDirective], [typeof KitTabsComponent, typeof KitTabComponent, typeof KitTitleTemplateDirective, typeof KitTabContentDirective]>;
|
|
2765
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTabsModule>;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
type KitCardLink = (string | number)[] | string | null;
|
|
2769
|
+
interface KitCard {
|
|
2770
|
+
title: string;
|
|
2771
|
+
titleIcon: KitSvgIcon;
|
|
2772
|
+
label: string;
|
|
2773
|
+
count: number;
|
|
2774
|
+
buttonLabel: string;
|
|
2775
|
+
link?: KitCardLink;
|
|
2776
|
+
items?: KitCardItem[];
|
|
2777
|
+
titleIconType?: KitSvgIconType;
|
|
2778
|
+
buttonDisabled?: boolean;
|
|
2779
|
+
}
|
|
2780
|
+
interface KitCardItem {
|
|
2781
|
+
label: string;
|
|
2782
|
+
link: KitCardLink;
|
|
2783
|
+
count?: number;
|
|
2784
|
+
icon?: KitSvgIcon;
|
|
2785
|
+
iconType?: KitSvgIconType;
|
|
2786
|
+
tooltip?: string;
|
|
2787
|
+
disabled?: boolean;
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
declare enum KitCardTheme {
|
|
2791
|
+
DEFAULT = "default",
|
|
2792
|
+
GREEN = "green",
|
|
2793
|
+
PINK = "pink",
|
|
2794
|
+
PURPLE = "purple",
|
|
2795
|
+
ORANGE = "orange",
|
|
2796
|
+
TEAL = "teal",
|
|
2797
|
+
GREY = "grey"
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2800
|
+
declare class KitCardComponent {
|
|
2801
|
+
/**
|
|
2802
|
+
* Defines card data
|
|
2803
|
+
*/
|
|
2804
|
+
data: KitCard | null;
|
|
2805
|
+
/**
|
|
2806
|
+
* Defines card color theme
|
|
2807
|
+
*/
|
|
2808
|
+
theme: KitCardTheme;
|
|
2809
|
+
/**
|
|
2810
|
+
* Defines whether the items list will be expanded
|
|
2811
|
+
*/
|
|
2812
|
+
itemsExpanded: boolean;
|
|
2813
|
+
/**
|
|
2814
|
+
* An action which is emitted when action button clicked
|
|
2815
|
+
*/
|
|
2816
|
+
buttonClicked: EventEmitter<void>;
|
|
2817
|
+
/**
|
|
2818
|
+
* An action which is emitted when toggle button clicked
|
|
2819
|
+
*/
|
|
2820
|
+
toggleClicked: EventEmitter<boolean>;
|
|
2821
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
2822
|
+
readonly KitButtonType: typeof KitButtonType;
|
|
2823
|
+
readonly KitButtonKind: typeof KitButtonKind;
|
|
2824
|
+
readonly KitTooltipPosition: typeof KitTooltipPosition;
|
|
2825
|
+
toggleList(): void;
|
|
2826
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCardComponent, never>;
|
|
2827
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCardComponent, "kit-card", never, { "data": { "alias": "data"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "itemsExpanded": { "alias": "itemsExpanded"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "toggleClicked": "toggleClicked"; }, never, never, false, never>;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
declare class KitCardModule {
|
|
2831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCardModule, never>;
|
|
2832
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitCardModule, [typeof KitCardComponent], [typeof i2$1.CommonModule, typeof KitSvgIconModule, typeof KitButtonModule, typeof i3$3.RouterLink, typeof KitTooltipDirective, typeof i2$1.NgClass], [typeof KitCardComponent]>;
|
|
2833
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitCardModule>;
|
|
2834
|
+
}
|
|
2835
|
+
|
|
2836
|
+
interface KitShipmentCardData {
|
|
2837
|
+
latestRequiredByDate: string | null;
|
|
2838
|
+
vesselName: string | null;
|
|
2839
|
+
destinationPort: string | null;
|
|
2840
|
+
originPort: string | null;
|
|
2841
|
+
reference: string | null;
|
|
2842
|
+
containerMode: string | null;
|
|
2843
|
+
state: string | null;
|
|
2844
|
+
type: 'Air' | 'Sea' | 'Road' | null;
|
|
2845
|
+
containerActionBtnLabel: string;
|
|
2846
|
+
timelineActionBtnLabel: string;
|
|
2847
|
+
containerItems: KitShipmentCardActionItem[];
|
|
2848
|
+
timelineItems: KitShipmentCardActionItem[];
|
|
2849
|
+
}
|
|
2850
|
+
interface KitShipmentCardActionItem {
|
|
2851
|
+
label: string;
|
|
2852
|
+
value: string | null;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
declare class KitShipmentCard {
|
|
2856
|
+
readonly data: InputSignal<KitShipmentCardData>;
|
|
2857
|
+
readonly selected: InputSignal<boolean>;
|
|
2858
|
+
readonly headLabel: InputSignal<TemplateRef<unknown> | undefined>;
|
|
2859
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
2860
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
2861
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
2862
|
+
containersExpanded: boolean;
|
|
2863
|
+
timelineExpanded: boolean;
|
|
2864
|
+
get shipmentModeIcon(): KitSvgIcon.AIR | KitSvgIcon.SHIP | KitSvgIcon.LOGISTICS;
|
|
2865
|
+
get timelineItems(): KitShipmentCardActionItem[];
|
|
2866
|
+
get containerItems(): KitShipmentCardActionItem[];
|
|
2867
|
+
showContainers(event: MouseEvent): void;
|
|
2868
|
+
showTimeline(event: MouseEvent): void;
|
|
2869
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitShipmentCard, never>;
|
|
2870
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitShipmentCard, "kit-shipment-card", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "headLabel": { "alias": "headLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2871
|
+
}
|
|
2872
|
+
|
|
2873
|
+
interface KitBreadcrumbsItem {
|
|
2874
|
+
text: string;
|
|
2875
|
+
url: string;
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
declare class KitBreadcrumbsComponent {
|
|
2879
|
+
/**
|
|
2880
|
+
* Defines items that will be rendered as breadcrumbs
|
|
2881
|
+
*/
|
|
2882
|
+
items: KitBreadcrumbsItem[];
|
|
2883
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitBreadcrumbsComponent, never>;
|
|
2884
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitBreadcrumbsComponent, "kit-breadcrumbs", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
declare class KitBreadcrumbsModule {
|
|
2888
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitBreadcrumbsModule, never>;
|
|
2889
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitBreadcrumbsModule, [typeof KitBreadcrumbsComponent], [typeof i2$1.CommonModule, typeof i3$3.RouterLink], [typeof KitBreadcrumbsComponent]>;
|
|
2890
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitBreadcrumbsModule>;
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
declare class KitBreadcrumbsService {
|
|
2894
|
+
private readonly router;
|
|
2895
|
+
private readonly translateService;
|
|
2896
|
+
readonly breadcrumbs: WritableSignal<KitBreadcrumbsItem[]>;
|
|
2897
|
+
private dataHandlers;
|
|
2898
|
+
constructor(router: Router, translateService: TranslateService);
|
|
2899
|
+
private initializeBreadcrumbs;
|
|
2900
|
+
registerHandler(type: string, key: string, handler: (param: string) => string): void;
|
|
2901
|
+
private updateBreadcrumbs;
|
|
2902
|
+
private collectBreadcrumbs;
|
|
2903
|
+
private replaceRouteParams;
|
|
2904
|
+
private isDynamicBreadcrumb;
|
|
2905
|
+
private getDynamicBreadcrumbText;
|
|
2906
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitBreadcrumbsService, never>;
|
|
2907
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitBreadcrumbsService>;
|
|
2908
|
+
}
|
|
2909
|
+
|
|
2910
|
+
declare class KitGridColumnComponent {
|
|
2911
|
+
/**
|
|
2912
|
+
* Defines the field to which the column is bound
|
|
2913
|
+
*/
|
|
2914
|
+
field: string;
|
|
2915
|
+
/**
|
|
2916
|
+
* Defines the title of the column
|
|
2917
|
+
*/
|
|
2918
|
+
title: string;
|
|
2919
|
+
/**
|
|
2920
|
+
* Defines the column title icon
|
|
2921
|
+
*/
|
|
2922
|
+
titleIcon?: KitSvgIcon;
|
|
2923
|
+
/**
|
|
2924
|
+
* Defines the column title icon type
|
|
2925
|
+
*/
|
|
2926
|
+
titleIconType: KitSvgIconType;
|
|
2927
|
+
/**
|
|
2928
|
+
* Defines whether the column can be sorted by clicking on its title
|
|
2929
|
+
*/
|
|
2930
|
+
sortable: boolean;
|
|
2931
|
+
/**
|
|
2932
|
+
* Defines the width of the column (in pixels)
|
|
2933
|
+
*/
|
|
2934
|
+
width?: number;
|
|
2935
|
+
/**
|
|
2936
|
+
* Set the visibility of the column
|
|
2937
|
+
*/
|
|
2938
|
+
hidden: boolean;
|
|
2939
|
+
/**
|
|
2940
|
+
* Defines the column cell template
|
|
2941
|
+
*/
|
|
2942
|
+
cellTemplate?: TemplateRef<HTMLElement>;
|
|
2943
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridColumnComponent, never>;
|
|
2944
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridColumnComponent, "kit-grid-column", never, { "field": { "alias": "field"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleIcon": { "alias": "titleIcon"; "required": false; }; "titleIconType": { "alias": "titleIconType"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; }, {}, ["cellTemplate"], never, false, never>;
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2947
|
+
declare enum KitGridSortSettingsMode {
|
|
2948
|
+
SINGLE = "single",
|
|
2949
|
+
MULTIPLE = "multiple"
|
|
2950
|
+
}
|
|
2951
|
+
|
|
2952
|
+
interface KitDataResult<T> {
|
|
2953
|
+
data: T[];
|
|
2954
|
+
total: number;
|
|
2955
|
+
}
|
|
2956
|
+
interface KitDataState {
|
|
2957
|
+
skip?: number;
|
|
2958
|
+
take?: number;
|
|
2959
|
+
sort?: KitSortDescriptor[];
|
|
2960
|
+
filter?: KitCompositeFilterDescriptor;
|
|
2961
|
+
}
|
|
2962
|
+
type KitCompositeFilterDescriptor = CompositeFilterDescriptor;
|
|
2963
|
+
type KitFilterDescriptor = FilterDescriptor;
|
|
2964
|
+
type KitSortDescriptor = SortDescriptor;
|
|
2965
|
+
|
|
2966
|
+
interface KitGridSortSettings {
|
|
2967
|
+
mode: KitGridSortSettingsMode;
|
|
2968
|
+
}
|
|
2969
|
+
interface KitGridDataStateChangeEvent {
|
|
2970
|
+
skip: number;
|
|
2971
|
+
take: number;
|
|
2972
|
+
sort?: KitSortDescriptor[];
|
|
2973
|
+
}
|
|
2974
|
+
type KitGridPageChangeEvent = PageChangeEvent;
|
|
2975
|
+
type KitGridDetailExpandEvent = DetailExpandEvent;
|
|
2976
|
+
type KitGridDetailCollapseEvent = DetailCollapseEvent;
|
|
2977
|
+
type KitGridCellClickEvent = CellClickEvent;
|
|
2978
|
+
interface KitPDFOptions extends PDFOptions {
|
|
2979
|
+
fileName?: string;
|
|
2980
|
+
allPages?: boolean;
|
|
2981
|
+
scale?: number;
|
|
2982
|
+
paperSize?: PaperSize;
|
|
2983
|
+
}
|
|
2984
|
+
|
|
2985
|
+
declare enum KitSortDirection {
|
|
2986
|
+
ASC = "asc",
|
|
2987
|
+
DESC = "desc"
|
|
2988
|
+
}
|
|
2989
|
+
declare enum KitFilterLogic {
|
|
2990
|
+
AND = "and",
|
|
2991
|
+
OR = "or"
|
|
2992
|
+
}
|
|
2993
|
+
declare enum KitFilterOperator {
|
|
2994
|
+
EQ = "eq",
|
|
2995
|
+
NEQ = "neq",
|
|
2996
|
+
IS_NULL = "isnull",
|
|
2997
|
+
IS_NOT_NULL = "isnotnull",
|
|
2998
|
+
LT = "lt",
|
|
2999
|
+
LTE = "lte",
|
|
3000
|
+
GT = "gt",
|
|
3001
|
+
GTE = "gte",
|
|
3002
|
+
STARTS_WITH = "startswith",
|
|
3003
|
+
ENDS_WITH = "endswith",
|
|
3004
|
+
CONTAINS = "contains",
|
|
3005
|
+
DOES_NOT_CONTAIN = "doesnotcontain",
|
|
3006
|
+
IS_EMPTY = "isempty",
|
|
3007
|
+
IS_NOT_EMPTY = "isnotempty"
|
|
3008
|
+
}
|
|
3009
|
+
|
|
3010
|
+
declare class KitGridComponent<T> {
|
|
3011
|
+
private readonly translateService;
|
|
3012
|
+
/**
|
|
3013
|
+
* Sets the data of the grid. Allows user to implement data operations manually
|
|
3014
|
+
*/
|
|
3015
|
+
data?: T[] | KitDataResult<T>;
|
|
3016
|
+
/**
|
|
3017
|
+
* Sets the data of the grid. Allows user to implement data operations automatically
|
|
3018
|
+
*/
|
|
3019
|
+
gridDataBinding?: T[];
|
|
3020
|
+
/**
|
|
3021
|
+
* Enables the sorting of the grid columns
|
|
3022
|
+
*/
|
|
3023
|
+
sortable: KitGridSortSettings | boolean;
|
|
3024
|
+
/**
|
|
3025
|
+
* The descriptors by which the data will be sorted
|
|
3026
|
+
*/
|
|
3027
|
+
sort: KitSortDescriptor[];
|
|
3028
|
+
/**
|
|
3029
|
+
* Enables the pager of the grid
|
|
3030
|
+
*/
|
|
3031
|
+
pageable: boolean;
|
|
3032
|
+
/**
|
|
3033
|
+
* Defines the page size
|
|
3034
|
+
*/
|
|
3035
|
+
pageSize?: number;
|
|
3036
|
+
/**
|
|
3037
|
+
* Defines the number of records to be skipped by the pager
|
|
3038
|
+
*/
|
|
3039
|
+
skip: number;
|
|
3040
|
+
/**
|
|
3041
|
+
* Specifies if the loading indicator of the grid will be displayed
|
|
3042
|
+
*/
|
|
3043
|
+
loading: boolean;
|
|
3044
|
+
/**
|
|
3045
|
+
* Function to determine if the detail template should be visible
|
|
3046
|
+
*/
|
|
3047
|
+
detailTemplateShowIf: (dataItem: T) => boolean;
|
|
3048
|
+
/**
|
|
3049
|
+
* Function to determine if the caret of detail template should be disabled
|
|
3050
|
+
*/
|
|
3051
|
+
detailTemplateExpandDisableIf: (dataItem: T) => boolean;
|
|
3052
|
+
/**
|
|
3053
|
+
* Flag to show or hide the footer row
|
|
3054
|
+
*/
|
|
3055
|
+
showFooter: boolean;
|
|
3056
|
+
/**
|
|
3057
|
+
* Title to display in the first column of the footer row
|
|
3058
|
+
*/
|
|
3059
|
+
footerTitle: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* Data to display in the footer row
|
|
3062
|
+
*/
|
|
3063
|
+
footerData?: Partial<Record<keyof T, T[keyof T]>>;
|
|
3064
|
+
pdfOptions: KitPDFOptions;
|
|
3065
|
+
pagerButtonCount: number;
|
|
3066
|
+
showPageSize: boolean;
|
|
3067
|
+
readonly pagerInfoText: InputSignal<string>;
|
|
3068
|
+
readonly resizable: InputSignal<boolean>;
|
|
3069
|
+
readonly gridDetailTemplate: InputSignal<TemplateRef<HTMLElement> | undefined>;
|
|
3070
|
+
/**
|
|
3071
|
+
* An action which is emitted when the page of the grid is changed
|
|
3072
|
+
*/
|
|
3073
|
+
pageChanged: EventEmitter<KitGridPageChangeEvent>;
|
|
3074
|
+
/**
|
|
3075
|
+
* An action which is emitted once the sorting of the grid is changed
|
|
3076
|
+
*/
|
|
3077
|
+
sortChanged: EventEmitter<KitSortDescriptor[]>;
|
|
3078
|
+
/**
|
|
3079
|
+
* An action which is emitted when the data state of the grid is changed
|
|
3080
|
+
*/
|
|
3081
|
+
dataStateChanged: EventEmitter<KitGridDataStateChangeEvent>;
|
|
3082
|
+
/**
|
|
3083
|
+
* An action which is emitted when the master row is expanded
|
|
3084
|
+
*/
|
|
3085
|
+
detailExpanded: EventEmitter<KitGridDetailExpandEvent>;
|
|
3086
|
+
/**
|
|
3087
|
+
* An action which is emitted when the master row is collapsed
|
|
3088
|
+
*/
|
|
3089
|
+
detailCollapsed: EventEmitter<KitGridDetailCollapseEvent>;
|
|
3090
|
+
/**
|
|
3091
|
+
* An action which is emitted when user clicks a cell
|
|
3092
|
+
*/
|
|
3093
|
+
cellClicked: EventEmitter<KitGridCellClickEvent>;
|
|
3094
|
+
excelExport: EventEmitter<ExcelExportEvent>;
|
|
3095
|
+
gridComponent: GridComponent | null;
|
|
3096
|
+
readonly columnsContent: Signal<readonly KitGridColumnComponent[]>;
|
|
3097
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3098
|
+
readonly kitSortDirection: typeof KitSortDirection;
|
|
3099
|
+
readonly columns: WritableSignal<KitGridColumnComponent[] | undefined>;
|
|
3100
|
+
expandedRows: T[];
|
|
3101
|
+
constructor(translateService: TranslateService);
|
|
3102
|
+
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
3103
|
+
onSortChange(event: KitSortDescriptor[]): void;
|
|
3104
|
+
getSortingDirection(columnField: string): string | null;
|
|
3105
|
+
isColumnSortable(column: KitGridColumnComponent): boolean;
|
|
3106
|
+
onDetailExpand(event: KitGridDetailExpandEvent): void;
|
|
3107
|
+
onDetailCollapse(event: KitGridDetailCollapseEvent): void;
|
|
3108
|
+
onPageChange(event: KitGridPageChangeEvent): void;
|
|
3109
|
+
onCellClick(event: KitGridCellClickEvent): void;
|
|
3110
|
+
getCssRowClass: (context: RowClassArgs) => Record<string, boolean>;
|
|
3111
|
+
getPagerSettings(): boolean | PagerSettings;
|
|
3112
|
+
saveAsPDF(): void;
|
|
3113
|
+
saveAsExcel(): void;
|
|
3114
|
+
private collapseAllRows;
|
|
3115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridComponent<any>, never>;
|
|
3116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridComponent<any>, "kit-grid", never, { "data": { "alias": "data"; "required": false; }; "gridDataBinding": { "alias": "gridDataBinding"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "pageable": { "alias": "pageable"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "skip": { "alias": "skip"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "detailTemplateShowIf": { "alias": "detailTemplateShowIf"; "required": false; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "footerTitle": { "alias": "footerTitle"; "required": false; }; "footerData": { "alias": "footerData"; "required": false; }; "pdfOptions": { "alias": "pdfOptions"; "required": false; }; "pagerButtonCount": { "alias": "pagerButtonCount"; "required": false; }; "showPageSize": { "alias": "showPageSize"; "required": false; }; "pagerInfoText": { "alias": "pagerInfoText"; "required": false; "isSignal": true; }; "resizable": { "alias": "resizable"; "required": false; "isSignal": true; }; "gridDetailTemplate": { "alias": "gridDetailTemplate"; "required": false; "isSignal": true; }; }, { "pageChanged": "pageChanged"; "sortChanged": "sortChanged"; "dataStateChanged": "dataStateChanged"; "detailExpanded": "detailExpanded"; "detailCollapsed": "detailCollapsed"; "cellClicked": "cellClicked"; "excelExport": "excelExport"; }, ["columnsContent"], never, false, never>;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
declare class KitGridCellTemplateDirective {
|
|
3120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellTemplateDirective, never>;
|
|
3121
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridCellTemplateDirective, "[kitGridCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
declare class KitGridDetailTemplateDirective {
|
|
3125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridDetailTemplateDirective, never>;
|
|
3126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridDetailTemplateDirective, "[kitGridDetailTemplate]", never, {}, {}, never, never, true, never>;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3129
|
+
declare class KitGridModule {
|
|
3130
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridModule, never>;
|
|
3131
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitGridModule, [typeof KitGridComponent, typeof KitGridColumnComponent], [typeof i2$1.CommonModule, typeof i4$2.GridModule, typeof KitSvgIconModule, typeof KitGridCellTemplateDirective, typeof KitGridDetailTemplateDirective, typeof i4$2.ExcelModule, typeof i4$2.PDFModule], [typeof KitGridComponent, typeof KitGridColumnComponent, typeof KitGridCellTemplateDirective, typeof KitGridDetailTemplateDirective]>;
|
|
3132
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitGridModule>;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
declare class KitTileLayoutItemComponent {
|
|
3136
|
+
template: TemplateRef<HTMLElement>;
|
|
3137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTileLayoutItemComponent, never>;
|
|
3138
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTileLayoutItemComponent, "kit-tilelayout-item", never, {}, {}, never, ["*"], false, never>;
|
|
3139
|
+
}
|
|
3140
|
+
|
|
3141
|
+
type KitTileLayoutColumnsConfig = Record<number, number>;
|
|
3142
|
+
|
|
3143
|
+
declare class KitTileLayoutComponent implements AfterContentInit {
|
|
3144
|
+
tileItems: QueryList<KitTileLayoutItemComponent>;
|
|
3145
|
+
/**
|
|
3146
|
+
* Configuration object for the number of columns at different screen widths.
|
|
3147
|
+
* Example: { 1440: 5, 1024: 3, 0: 2 }
|
|
3148
|
+
*/
|
|
3149
|
+
columnsConfig: KitTileLayoutColumnsConfig;
|
|
3150
|
+
columns: number;
|
|
3151
|
+
ngAfterContentInit(): void;
|
|
3152
|
+
onResize(): void;
|
|
3153
|
+
setColumnsBasedOnScreenSize(): void;
|
|
3154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTileLayoutComponent, never>;
|
|
3155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTileLayoutComponent, "kit-tilelayout", never, { "columnsConfig": { "alias": "columnsConfig"; "required": false; }; }, {}, ["tileItems"], never, false, never>;
|
|
3156
|
+
}
|
|
3157
|
+
|
|
3158
|
+
declare class KitTileLayoutModule {
|
|
3159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTileLayoutModule, never>;
|
|
3160
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitTileLayoutModule, [typeof KitTileLayoutComponent, typeof KitTileLayoutItemComponent], [typeof i2$1.CommonModule, typeof i4$1.TileLayoutModule], [typeof KitTileLayoutComponent, typeof KitTileLayoutItemComponent]>;
|
|
3161
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitTileLayoutModule>;
|
|
3162
|
+
}
|
|
3163
|
+
|
|
3164
|
+
declare class KitScrollNavigationSectionComponent implements OnChanges {
|
|
3165
|
+
title: string;
|
|
3166
|
+
buttonState?: KitButtonState;
|
|
3167
|
+
buttonIcon?: KitSvgIcon;
|
|
3168
|
+
tooltipText?: string;
|
|
3169
|
+
badgeCount?: number;
|
|
3170
|
+
propertyChanged?: EventEmitter<void>;
|
|
3171
|
+
sectionTemplate: TemplateRef<HTMLElement> | null;
|
|
3172
|
+
sectionContent: ElementRef | null;
|
|
3173
|
+
ngOnChanges(): void;
|
|
3174
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationSectionComponent, never>;
|
|
3175
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationSectionComponent, "kit-scroll-navigation-section", never, { "title": { "alias": "title"; "required": false; }; "buttonState": { "alias": "buttonState"; "required": false; }; "buttonIcon": { "alias": "buttonIcon"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "badgeCount": { "alias": "badgeCount"; "required": false; }; }, { "propertyChanged": "propertyChanged"; }, never, ["*"], true, never>;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
interface KitCollapsedListItem {
|
|
3179
|
+
text: string;
|
|
3180
|
+
value: string;
|
|
3181
|
+
icon?: KitSvgIcon;
|
|
3182
|
+
state?: KitButtonState;
|
|
3183
|
+
tooltipText?: string;
|
|
3184
|
+
badgeCount?: number;
|
|
3185
|
+
}
|
|
3186
|
+
|
|
3187
|
+
declare enum KitCollapsedListDropdownAlign {
|
|
3188
|
+
INLINE = "inline",
|
|
3189
|
+
END = "end"
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
declare class KitCollapsedListComponent<T extends KitCollapsedListItem> implements AfterViewInit, OnChanges, OnDestroy {
|
|
3193
|
+
readonly itemList: InputSignal<T[]>;
|
|
3194
|
+
readonly lineHeight: InputSignal<number>;
|
|
3195
|
+
readonly dropdownDefaultValueText: InputSignal<string>;
|
|
3196
|
+
readonly gap: InputSignal<number>;
|
|
3197
|
+
readonly disableActions: InputSignal<boolean>;
|
|
3198
|
+
readonly itemTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
3199
|
+
readonly dropdownFooterTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
3200
|
+
readonly dropdownItemTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
3201
|
+
readonly dropdownNoDataTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
3202
|
+
readonly appendTo: InputSignal<PopupSettings['appendTo']>;
|
|
3203
|
+
readonly alwaysShowDropdown: InputSignal<boolean>;
|
|
3204
|
+
readonly dropdownAlign: InputSignal<KitCollapsedListDropdownAlign>;
|
|
3205
|
+
readonly onSelectItem: OutputEmitterRef<T>;
|
|
3206
|
+
readonly wrapper: Signal<ElementRef<HTMLElement>>;
|
|
3207
|
+
readonly measureItem: Signal<readonly ElementRef<HTMLElement>[]>;
|
|
3208
|
+
readonly dropdown: Signal<ElementRef<HTMLElement> | undefined>;
|
|
3209
|
+
readonly defaultSelectedItem: Signal<KitCollapsedListItem>;
|
|
3210
|
+
readonly shouldShowDropdown: WritableSignal<boolean>;
|
|
3211
|
+
readonly dropdownItems: WritableSignal<KitCollapsedListItem[]>;
|
|
3212
|
+
readonly visibleItems: WritableSignal<T[]>;
|
|
3213
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3214
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3215
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
3216
|
+
readonly kitDropdownSize: typeof KitDropdownSize;
|
|
3217
|
+
protected _selectedItem: WritableSignal<KitCollapsedListItem>;
|
|
3218
|
+
private resizeObserver;
|
|
3219
|
+
readonly dropdownSelectedItem: Signal<KitCollapsedListItem>;
|
|
3220
|
+
ngAfterViewInit(): void;
|
|
3221
|
+
ngOnChanges({ itemList, gap, dropdownDefaultValueText }: SimpleChanges): void;
|
|
3222
|
+
ngOnDestroy(): void;
|
|
3223
|
+
get selectedItem(): KitCollapsedListItem;
|
|
3224
|
+
get popupSettings(): PopupSettings;
|
|
3225
|
+
setSelectedItem(item: T): void;
|
|
3226
|
+
selectionChange(item: T): void;
|
|
3227
|
+
initResizeObserver(): void;
|
|
3228
|
+
private resize;
|
|
3229
|
+
private calculateResizeParams;
|
|
3230
|
+
private setResizeParams;
|
|
3231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitCollapsedListComponent<any>, never>;
|
|
3232
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitCollapsedListComponent<any>, "kit-collapsed-list", never, { "itemList": { "alias": "itemList"; "required": true; "isSignal": true; }; "lineHeight": { "alias": "lineHeight"; "required": false; "isSignal": true; }; "dropdownDefaultValueText": { "alias": "dropdownDefaultValueText"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "disableActions": { "alias": "disableActions"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "dropdownFooterTemplate": { "alias": "dropdownFooterTemplate"; "required": false; "isSignal": true; }; "dropdownItemTemplate": { "alias": "dropdownItemTemplate"; "required": false; "isSignal": true; }; "dropdownNoDataTemplate": { "alias": "dropdownNoDataTemplate"; "required": false; "isSignal": true; }; "appendTo": { "alias": "appendTo"; "required": false; "isSignal": true; }; "alwaysShowDropdown": { "alias": "alwaysShowDropdown"; "required": false; "isSignal": true; }; "dropdownAlign": { "alias": "dropdownAlign"; "required": false; "isSignal": true; }; }, { "onSelectItem": "onSelectItem"; }, never, never, true, never>;
|
|
3233
|
+
}
|
|
3234
|
+
|
|
3235
|
+
declare class KitScrollNavigationComponent implements AfterViewInit {
|
|
3236
|
+
readonly isNavigationBtnDisabled: InputSignal<boolean>;
|
|
3237
|
+
readonly dropdownDefaultText: InputSignal<string>;
|
|
3238
|
+
sections: QueryList<KitScrollNavigationSectionComponent> | null;
|
|
3239
|
+
content: ElementRef | null;
|
|
3240
|
+
collapsedList: KitCollapsedListComponent<KitCollapsedListItem> | null;
|
|
3241
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3242
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3243
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
3244
|
+
readonly kitButtonState: typeof KitButtonState;
|
|
3245
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
3246
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3247
|
+
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
3248
|
+
readonly kitCollapsedListDropdownAlign: typeof KitCollapsedListDropdownAlign;
|
|
3249
|
+
protected readonly collapsedListItems: WritableSignal<KitCollapsedListItem[]>;
|
|
3250
|
+
private disableScrollUpdates;
|
|
3251
|
+
get currentVisibleItem(): KitCollapsedListItem | null;
|
|
3252
|
+
ngAfterViewInit(): void;
|
|
3253
|
+
onSectionScroll(): void;
|
|
3254
|
+
scrollToSection(selectedItem: KitCollapsedListItem): void;
|
|
3255
|
+
private updateListItems;
|
|
3256
|
+
private handleSectionChanges;
|
|
3257
|
+
private setLastSectionMinHeight;
|
|
3258
|
+
private calculateLastSectionMinHeight;
|
|
3259
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitScrollNavigationComponent, never>;
|
|
3260
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitScrollNavigationComponent, "kit-scroll-navigation", never, { "isNavigationBtnDisabled": { "alias": "isNavigationBtnDisabled"; "required": false; "isSignal": true; }; "dropdownDefaultText": { "alias": "dropdownDefaultText"; "required": false; "isSignal": true; }; }, {}, ["sections"], never, true, never>;
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
declare class KitEntitySectionComponent {
|
|
3264
|
+
readonly isActive: InputSignal<boolean>;
|
|
3265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntitySectionComponent, never>;
|
|
3266
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntitySectionComponent, "kit-entity-section", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, {}, never, ["[header]", "[content]"], true, never>;
|
|
3267
|
+
}
|
|
3268
|
+
|
|
3269
|
+
declare class KitEntitySectionContainerComponent {
|
|
3270
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntitySectionContainerComponent, never>;
|
|
3271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntitySectionContainerComponent, "kit-entity-section-container", never, {}, {}, never, ["[title]", "*"], true, never>;
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
declare class KitEntityTitleComponent {
|
|
3275
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityTitleComponent, never>;
|
|
3276
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntityTitleComponent, "kit-entity-title", never, {}, {}, never, ["*"], false, never>;
|
|
3277
|
+
}
|
|
3278
|
+
|
|
3279
|
+
declare class KitEntityTitleModule {
|
|
3280
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityTitleModule, never>;
|
|
3281
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitEntityTitleModule, [typeof KitEntityTitleComponent], [typeof i2$1.CommonModule], [typeof KitEntityTitleComponent]>;
|
|
3282
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitEntityTitleModule>;
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
declare enum KitTimelineTheme {
|
|
3286
|
+
PURPLE = "purple",
|
|
3287
|
+
GREEN = "green",
|
|
3288
|
+
BLUE = "blue",
|
|
3289
|
+
GREY = "grey",
|
|
3290
|
+
TEAL = "teal",
|
|
3291
|
+
PINK = "pink",
|
|
3292
|
+
SUCCESS = "success",
|
|
3293
|
+
WARNING = "warning",
|
|
3294
|
+
DANGER = "danger"
|
|
3295
|
+
}
|
|
3296
|
+
declare enum KitTimelineType {
|
|
3297
|
+
CONFIRMED = "confirmed",
|
|
3298
|
+
DEPARTURE = "departure",
|
|
3299
|
+
ARRIVAL = "arrival"
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
interface KitTimelineItem {
|
|
3303
|
+
title: string;
|
|
3304
|
+
subTitle: string;
|
|
3305
|
+
date: KitTimelineItemDate[];
|
|
3306
|
+
theme?: KitTimelineTheme;
|
|
3307
|
+
textBadge?: string;
|
|
3308
|
+
countBadge?: number;
|
|
3309
|
+
transportationType?: string;
|
|
3310
|
+
originalPort?: string;
|
|
3311
|
+
destinationPort?: string;
|
|
3312
|
+
transitMode?: string;
|
|
3313
|
+
icon?: KitSvgIcon;
|
|
3314
|
+
iconType?: KitSvgIconType;
|
|
3315
|
+
}
|
|
3316
|
+
interface KitTimelineItemDate {
|
|
3317
|
+
label: string;
|
|
3318
|
+
value: string;
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
declare class KitTimelineComponent {
|
|
3322
|
+
/**
|
|
3323
|
+
* Defines a list of items which will be rendered as timeline cards
|
|
3324
|
+
*/
|
|
3325
|
+
items: KitTimelineItem[];
|
|
3326
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineComponent, never>;
|
|
3327
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineComponent, "kit-timeline", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
declare class KitTimelineCardComponent {
|
|
3331
|
+
item: KitTimelineItem | null;
|
|
3332
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3333
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
3334
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTimelineCardComponent, never>;
|
|
3336
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTimelineCardComponent, "kit-timeline-card", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
declare class KitFileCardMessagesComponent {
|
|
3340
|
+
/**
|
|
3341
|
+
* Defines a value to use as "Create Date" label
|
|
3342
|
+
*/
|
|
3343
|
+
createDate: string;
|
|
3344
|
+
/**
|
|
3345
|
+
* Defines a value to use as "Created By" label
|
|
3346
|
+
*/
|
|
3347
|
+
createdBy: string;
|
|
3348
|
+
/**
|
|
3349
|
+
* Defines a value to use as "View" button label
|
|
3350
|
+
*/
|
|
3351
|
+
viewButtonLabel: string;
|
|
3352
|
+
/**
|
|
3353
|
+
* Defines a value to use as "Download" button label
|
|
3354
|
+
*/
|
|
3355
|
+
downloadButtonLabel: string;
|
|
3356
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardMessagesComponent, never>;
|
|
3357
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardMessagesComponent, "kit-file-card-custom-messages", never, { "createDate": { "alias": "createDate"; "required": false; }; "createdBy": { "alias": "createdBy"; "required": false; }; "viewButtonLabel": { "alias": "viewButtonLabel"; "required": false; }; "downloadButtonLabel": { "alias": "downloadButtonLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
3358
|
+
}
|
|
3359
|
+
|
|
3360
|
+
declare class KitFileCardComponent {
|
|
3361
|
+
/**
|
|
3362
|
+
* Defines a value that will be used as a card title
|
|
3363
|
+
*/
|
|
3364
|
+
title: string;
|
|
3365
|
+
/**
|
|
3366
|
+
* Defines a value that will be used as the card type css class
|
|
3367
|
+
*/
|
|
3368
|
+
type?: string;
|
|
3369
|
+
/**
|
|
3370
|
+
* Defines a value that will be used as a card label
|
|
3371
|
+
*/
|
|
3372
|
+
label: string;
|
|
3373
|
+
/**
|
|
3374
|
+
* Defines a value that will be used to render card icon
|
|
3375
|
+
*/
|
|
3376
|
+
fileType: string;
|
|
3377
|
+
/**
|
|
3378
|
+
* Defines a value that will be used as a card date
|
|
3379
|
+
*/
|
|
3380
|
+
date: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* Defines a value that will be used as a card name
|
|
3383
|
+
*/
|
|
3384
|
+
name: string;
|
|
3385
|
+
/**
|
|
3386
|
+
* An action which is emitted when view button clicked
|
|
3387
|
+
*/
|
|
3388
|
+
viewButtonClicked: EventEmitter<void>;
|
|
3389
|
+
/**
|
|
3390
|
+
* An action which is emitted when download button clicked
|
|
3391
|
+
*/
|
|
3392
|
+
downloadButtonClicked: EventEmitter<void>;
|
|
3393
|
+
customMessages: KitFileCardMessagesComponent | null;
|
|
3394
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3395
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3396
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
3397
|
+
readonly dateFormat: string;
|
|
3398
|
+
readonly createDateLabel: string;
|
|
3399
|
+
readonly createdByLabel: string;
|
|
3400
|
+
readonly downloadButtonLabel: string;
|
|
3401
|
+
readonly viewButtonLabel: string;
|
|
3402
|
+
getFileIconByExtension(extension: string): string | null;
|
|
3403
|
+
hasViewFileButton(fileType: string): boolean;
|
|
3404
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardComponent, never>;
|
|
3405
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFileCardComponent, "kit-file-card", never, { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fileType": { "alias": "fileType"; "required": false; }; "date": { "alias": "date"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, { "viewButtonClicked": "viewButtonClicked"; "downloadButtonClicked": "downloadButtonClicked"; }, ["customMessages"], ["*"], false, never>;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
declare class KitFileCardModule {
|
|
3409
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardModule, never>;
|
|
3410
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitFileCardModule, [typeof KitFileCardComponent, typeof KitFileCardMessagesComponent], [typeof i2$1.CommonModule, typeof KitButtonModule, typeof KitSvgIconModule, typeof i2$1.DatePipe], [typeof KitFileCardComponent, typeof KitFileCardMessagesComponent]>;
|
|
3411
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitFileCardModule>;
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
declare enum KitDataFieldState {
|
|
3415
|
+
DEFAULT = "default",
|
|
3416
|
+
WARNING = "warning"
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
declare class KitDataFieldComponent {
|
|
3420
|
+
readonly label: InputSignal<string>;
|
|
3421
|
+
readonly value: InputSignal<string | number | null | undefined>;
|
|
3422
|
+
readonly state: InputSignal<KitDataFieldState>;
|
|
3423
|
+
readonly tooltipText: InputSignal<string | undefined>;
|
|
3424
|
+
readonly icon: InputSignal<KitSvgIcon | undefined>;
|
|
3425
|
+
readonly iconType: InputSignal<KitSvgIconType | undefined>;
|
|
3426
|
+
readonly defaultValue: string;
|
|
3427
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
3428
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3429
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitDataFieldComponent, never>;
|
|
3430
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitDataFieldComponent, "kit-data-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconType": { "alias": "iconType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3433
|
+
declare class KitSearchBarComponent {
|
|
3434
|
+
placeholder: string;
|
|
3435
|
+
searchButtonLabel: string;
|
|
3436
|
+
closeButtonLabel: string;
|
|
3437
|
+
readonly searchString: InputSignal<string | undefined>;
|
|
3438
|
+
changed: EventEmitter<string>;
|
|
3439
|
+
searchButtonClick: EventEmitter<void>;
|
|
3440
|
+
closeButtonClick: EventEmitter<void>;
|
|
3441
|
+
searchTextboxElementRef: ElementRef;
|
|
3442
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
3443
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3444
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
3445
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
3446
|
+
readonly KitButtonIconPosition: typeof KitButtonIconPosition;
|
|
3447
|
+
readonly kitTextboxSize: typeof KitTextboxSize;
|
|
3448
|
+
readonly searchVisible: WritableSignal<boolean>;
|
|
3449
|
+
constructor();
|
|
3450
|
+
onSearchChange(value: string): void;
|
|
3451
|
+
onSearchButtonClick(): void;
|
|
3452
|
+
clearSearch(): void;
|
|
3453
|
+
onCloseButtonClick(): void;
|
|
3454
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSearchBarComponent, never>;
|
|
3455
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSearchBarComponent, "kit-search-bar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "searchButtonLabel": { "alias": "searchButtonLabel"; "required": false; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; }; "searchString": { "alias": "searchString"; "required": false; "isSignal": true; }; }, { "changed": "changed"; "searchButtonClick": "searchButtonClick"; "closeButtonClick": "closeButtonClick"; }, never, never, false, never>;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
declare class KitSearchBarModule {
|
|
3459
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSearchBarModule, never>;
|
|
3460
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KitSearchBarModule, [typeof KitSearchBarComponent], [typeof i2$1.CommonModule, typeof KitButtonModule, typeof KitTextboxModule, typeof KitSvgIconModule], [typeof KitSearchBarComponent]>;
|
|
3461
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KitSearchBarModule>;
|
|
3462
|
+
}
|
|
3463
|
+
|
|
3464
|
+
interface GlobalSearchResult {
|
|
3465
|
+
name: string;
|
|
3466
|
+
items: GlobalSearchLineItem[];
|
|
3467
|
+
total: number;
|
|
3468
|
+
categoryLink: string[];
|
|
3469
|
+
}
|
|
3470
|
+
interface GlobalSearchLineItem {
|
|
3471
|
+
title: string | null;
|
|
3472
|
+
subtitle: string | null;
|
|
3473
|
+
link?: string[];
|
|
3474
|
+
dates: {
|
|
3475
|
+
firstDate: {
|
|
3476
|
+
label: string | null;
|
|
3477
|
+
value: string | null;
|
|
3478
|
+
};
|
|
3479
|
+
secondDate: {
|
|
3480
|
+
label: string | null;
|
|
3481
|
+
value: string | null;
|
|
3482
|
+
};
|
|
3483
|
+
} | null;
|
|
3484
|
+
routePath: {
|
|
3485
|
+
from: string | null;
|
|
3486
|
+
to: string | null;
|
|
3487
|
+
type: 'Air' | 'Road' | 'Sea' | 'Rail' | null;
|
|
3488
|
+
containerMode?: string | null;
|
|
3489
|
+
} | null;
|
|
3490
|
+
status?: string;
|
|
3491
|
+
additionalContent: MatchResult[];
|
|
3492
|
+
}
|
|
3493
|
+
interface GlobalSearchPrompt {
|
|
3494
|
+
label: string;
|
|
3495
|
+
link: string[];
|
|
3496
|
+
permission: string;
|
|
3497
|
+
}
|
|
3498
|
+
interface MatchResult {
|
|
3499
|
+
path: string;
|
|
3500
|
+
key: string;
|
|
3501
|
+
value: unknown;
|
|
3502
|
+
translateKey: string;
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
declare class KitGlobalSearchComponent implements OnInit {
|
|
3506
|
+
private readonly router;
|
|
3507
|
+
private readonly store;
|
|
3508
|
+
readonly searchFn: InputSignal<(searchText: string) => Observable<(GlobalSearchResult | null)[]>>;
|
|
3509
|
+
readonly displayedLineItemsNumber: InputSignal<number>;
|
|
3510
|
+
readonly prompts: InputSignal<GlobalSearchPrompt[]>;
|
|
3511
|
+
readonly textbox: Signal<TextBoxComponent>;
|
|
3512
|
+
readonly anchor: Signal<ElementRef>;
|
|
3513
|
+
readonly popup: Signal<KitPopupComponent | undefined>;
|
|
3514
|
+
readonly container: Signal<ViewContainerRef>;
|
|
3515
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3516
|
+
readonly kitTextboxSize: typeof KitTextboxSize;
|
|
3517
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
3518
|
+
readonly kitPillTheme: typeof KitPillTheme;
|
|
3519
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3520
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
3521
|
+
readonly dateFormat: string;
|
|
3522
|
+
readonly popupClass: string;
|
|
3523
|
+
readonly searchResults: WritableSignal<(GlobalSearchResult | null)[]>;
|
|
3524
|
+
searchValue: string;
|
|
3525
|
+
readonly showPropmts: WritableSignal<boolean>;
|
|
3526
|
+
readonly userPermissions$: Observable<string[]>;
|
|
3527
|
+
documentClick(event: Event): void;
|
|
3528
|
+
constructor(router: Router, store: Store);
|
|
3529
|
+
ngOnInit(): void;
|
|
3530
|
+
get isPopupOpen(): boolean;
|
|
3531
|
+
clearSearch(): void;
|
|
3532
|
+
openPopup(): void;
|
|
3533
|
+
navigate(link: string[] | undefined): void;
|
|
3534
|
+
onSelectPrompt(prompt: GlobalSearchPrompt): void;
|
|
3535
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGlobalSearchComponent, never>;
|
|
3536
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGlobalSearchComponent, "kit-global-search", never, { "searchFn": { "alias": "searchFn"; "required": true; "isSignal": true; }; "displayedLineItemsNumber": { "alias": "displayedLineItemsNumber"; "required": false; "isSignal": true; }; "prompts": { "alias": "prompts"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
declare const mapGlobalSearchResult: <T>(store: Store, requiredPermission: string, dataFetcher: () => Observable<{
|
|
3540
|
+
total: number;
|
|
3541
|
+
data: T[];
|
|
3542
|
+
}>, categoryName: string, categoryLink: string[], itemMapper: (item: T) => GlobalSearchLineItem) => Observable<GlobalSearchResult | null>;
|
|
3543
|
+
declare const findMatches: <T extends object>(obj: T, translatePrefix: string, excludedKeys?: string[], search?: string) => MatchResult[];
|
|
3544
|
+
|
|
3545
|
+
declare class KitEmptySectionComponent {
|
|
3546
|
+
text: string;
|
|
3547
|
+
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
3548
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEmptySectionComponent, never>;
|
|
3549
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitEmptySectionComponent, "kit-empty-section", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
3550
|
+
}
|
|
3551
|
+
|
|
3552
|
+
declare class KitSortableComponent<T> {
|
|
3553
|
+
/**
|
|
3554
|
+
* An items list which is going to be rendered as sortable items
|
|
3555
|
+
*/
|
|
3556
|
+
items: T[];
|
|
3557
|
+
/**
|
|
3558
|
+
* Defines the number of columns of the component
|
|
3559
|
+
*/
|
|
3560
|
+
columnCount?: number;
|
|
3561
|
+
/**
|
|
3562
|
+
* Defines the css class which is applied to each item
|
|
3563
|
+
*/
|
|
3564
|
+
itemClass?: string;
|
|
3565
|
+
/**
|
|
3566
|
+
* Defines the css class which is applied to the active item.
|
|
3567
|
+
*/
|
|
3568
|
+
activeItemClass?: string;
|
|
3569
|
+
zone?: string;
|
|
3570
|
+
emptyItemClass?: string;
|
|
3571
|
+
readonly onDragEnd: OutputEmitterRef<DataMoveEvent>;
|
|
3572
|
+
readonly itemTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
3573
|
+
get columnsCount(): number | null;
|
|
3574
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSortableComponent<any>, never>;
|
|
3575
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSortableComponent<any>, "kit-sortable", never, { "items": { "alias": "items"; "required": false; }; "columnCount": { "alias": "columnCount"; "required": false; }; "itemClass": { "alias": "itemClass"; "required": false; }; "activeItemClass": { "alias": "activeItemClass"; "required": false; }; "zone": { "alias": "zone"; "required": false; }; "emptyItemClass": { "alias": "emptyItemClass"; "required": false; }; }, { "onDragEnd": "onDragEnd"; }, ["itemTemplate"], never, true, never>;
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
declare const kitDataStateToODataString: (state: KitDataState, utcDates?: boolean) => string;
|
|
3579
|
+
|
|
3580
|
+
declare class KitPageLayoutComponent implements AfterContentInit {
|
|
3581
|
+
private readonly kitNavigationMenuService;
|
|
3582
|
+
readonly sidebarContainer: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
3583
|
+
readonly topBarContainer: Signal<ElementRef<HTMLDivElement> | undefined>;
|
|
3584
|
+
readonly isMenuCollapsed: WritableSignal<boolean>;
|
|
3585
|
+
readonly hasMenuSelected: WritableSignal<boolean>;
|
|
3586
|
+
hasSidebar: boolean;
|
|
3587
|
+
hasTopBar: boolean;
|
|
3588
|
+
constructor(kitNavigationMenuService: KitNavigationMenuService);
|
|
3589
|
+
ngAfterContentInit(): void;
|
|
3590
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPageLayoutComponent, never>;
|
|
3591
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitPageLayoutComponent, "kit-page-layout", never, {}, {}, never, ["[sidebar]", "[topBar]", "[content]"], true, never>;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
declare const KIT_BASE_PATH: InjectionToken<string>;
|
|
3595
|
+
|
|
3596
|
+
declare class KitTranslateService {
|
|
3597
|
+
private readonly translateService;
|
|
3598
|
+
constructor(translateService: TranslateService);
|
|
3599
|
+
registerTranslations(): void;
|
|
3600
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTranslateService, never>;
|
|
3601
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitTranslateService>;
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
declare abstract class AbstractPayloadAction<T> {
|
|
3605
|
+
readonly payload: T;
|
|
3606
|
+
constructor(payload: T);
|
|
3607
|
+
}
|
|
3608
|
+
|
|
3609
|
+
interface KitFilterValue {
|
|
3610
|
+
logic: KitFilterLogic;
|
|
3611
|
+
filters: KitFilterDescriptor[];
|
|
3612
|
+
}
|
|
3613
|
+
interface KitFilterItem {
|
|
3614
|
+
title: string;
|
|
3615
|
+
field: string;
|
|
3616
|
+
readonly?: boolean;
|
|
3617
|
+
type?: KitFilterType;
|
|
3618
|
+
value: KitFilterValue | null;
|
|
3619
|
+
}
|
|
3620
|
+
declare enum KitFilterType {
|
|
3621
|
+
CHECKBOX = "checkbox",
|
|
3622
|
+
RADIO = "radio",
|
|
3623
|
+
DATE = "date",
|
|
3624
|
+
TEXT = "text",
|
|
3625
|
+
NUMERIC = "numeric",
|
|
3626
|
+
NULL = "null",
|
|
3627
|
+
GUID = "guid"
|
|
3628
|
+
}
|
|
3629
|
+
interface KitFilterListOption<T = string> {
|
|
3630
|
+
title: string;
|
|
3631
|
+
value: T;
|
|
3632
|
+
checked: boolean;
|
|
3633
|
+
}
|
|
3634
|
+
interface KitFilterListConfigValue<T> {
|
|
3635
|
+
items: KitFilterListOption<T>[];
|
|
3636
|
+
translateKeyPrefix: string;
|
|
3637
|
+
guidField?: string;
|
|
3638
|
+
}
|
|
3639
|
+
type KitFilterListConfig = Record<string, KitFilterListConfigValue<string | boolean | number>>;
|
|
3640
|
+
|
|
3641
|
+
type KitGridColumnType = 'date' | 'number' | 'boolean' | 'string' | 'dateTime' | 'dateLocal' | 'dateTimeLocal' | 'time';
|
|
3642
|
+
interface KitGridColumnConfig {
|
|
3643
|
+
field: string;
|
|
3644
|
+
title: string;
|
|
3645
|
+
sortable: boolean;
|
|
3646
|
+
hidden: boolean;
|
|
3647
|
+
type: KitGridColumnType;
|
|
3648
|
+
width?: number;
|
|
3649
|
+
filterType?: KitFilterType;
|
|
3650
|
+
excelFormat?: string;
|
|
3651
|
+
}
|
|
3652
|
+
interface KitGridDataState {
|
|
3653
|
+
skip: number;
|
|
3654
|
+
take: number;
|
|
3655
|
+
sort: KitSortDescriptor[];
|
|
3656
|
+
filter: KitFilterItem[];
|
|
3657
|
+
columns: KitGridColumnConfig[];
|
|
3658
|
+
search?: string;
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
declare class SetGridSkip extends AbstractPayloadAction<number> {
|
|
3662
|
+
static readonly type: string;
|
|
3663
|
+
}
|
|
3664
|
+
declare class SetGridTake extends AbstractPayloadAction<number> {
|
|
3665
|
+
static readonly type: string;
|
|
3666
|
+
}
|
|
3667
|
+
declare class SetGridSearch extends AbstractPayloadAction<string | undefined> {
|
|
3668
|
+
static readonly type: string;
|
|
3669
|
+
}
|
|
3670
|
+
declare class SetGridSort extends AbstractPayloadAction<KitSortDescriptor[]> {
|
|
3671
|
+
static readonly type: string;
|
|
3672
|
+
}
|
|
3673
|
+
declare class SetGridColumns extends AbstractPayloadAction<KitGridColumnConfig[]> {
|
|
3674
|
+
static readonly type: string;
|
|
3675
|
+
}
|
|
3676
|
+
declare class AddGridFilter extends AbstractPayloadAction<KitFilterItem> {
|
|
3677
|
+
static readonly type: string;
|
|
3678
|
+
}
|
|
3679
|
+
declare class RemoveGridFilter extends AbstractPayloadAction<string> {
|
|
3680
|
+
static readonly type: string;
|
|
3681
|
+
}
|
|
3682
|
+
declare class UpdateGridFilter extends AbstractPayloadAction<KitFilterItem> {
|
|
3683
|
+
static readonly type: string;
|
|
3684
|
+
}
|
|
3685
|
+
declare class SetGridFilters extends AbstractPayloadAction<KitFilterItem[]> {
|
|
3686
|
+
static readonly type: string;
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
declare const KIT_GRID_STATE_TOKEN: StateToken<KitGridDataState>;
|
|
3690
|
+
declare class KitGridState {
|
|
3691
|
+
setGridSkip(ctx: StateContext<KitGridDataState>, action: SetGridSkip): void;
|
|
3692
|
+
setGridTake(ctx: StateContext<KitGridDataState>, action: SetGridTake): void;
|
|
3693
|
+
setGridSearch(ctx: StateContext<KitGridDataState>, action: SetGridSearch): void;
|
|
3694
|
+
removeGridSearch(ctx: StateContext<KitGridDataState>): void;
|
|
3695
|
+
setGridSort(ctx: StateContext<KitGridDataState>, action: SetGridSort): void;
|
|
3696
|
+
setGridColumns(ctx: StateContext<KitGridDataState>, action: SetGridColumns): void;
|
|
3697
|
+
addGridFilter(ctx: StateContext<KitGridDataState>, action: AddGridFilter): Observable<KitFilterItem[]>;
|
|
3698
|
+
removeGridFilter(ctx: StateContext<KitGridDataState>, action: RemoveGridFilter): Observable<KitFilterItem[]>;
|
|
3699
|
+
updateGridFilter(ctx: StateContext<KitGridDataState>, action: UpdateGridFilter): Observable<KitFilterItem[]>;
|
|
3700
|
+
setGridFilters(ctx: StateContext<KitGridDataState>, action: SetGridFilters): Observable<KitFilterItem[]>;
|
|
3701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridState, never>;
|
|
3702
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridState>;
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
type KitGridColumns = Record<string, KitGridColumn>;
|
|
3706
|
+
interface KitGridColumn {
|
|
3707
|
+
name: string;
|
|
3708
|
+
type: 'number' | 'string' | 'date' | 'boolean';
|
|
3709
|
+
}
|
|
3710
|
+
interface KitGridDataResult<T> {
|
|
3711
|
+
results: KitDataResult<T>;
|
|
3712
|
+
loading: boolean;
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
declare const kitBuildGridColumn: (field: string, title: string, type: KitGridColumnType, sortable?: boolean, hidden?: boolean, width?: number, filterType?: KitFilterType, excelFormat?: string) => KitGridColumnConfig;
|
|
3716
|
+
declare const kitBuildGridDataResults: <T>(data: T[], loading: boolean, total?: number) => KitGridDataResult<T>;
|
|
3717
|
+
declare const kitBuildSortString: (sort?: KitSortDescriptor[]) => string | undefined;
|
|
3718
|
+
|
|
3719
|
+
declare class KitGridUrlStateService {
|
|
3720
|
+
private readonly activatedRoute;
|
|
3721
|
+
private readonly router;
|
|
3722
|
+
constructor(activatedRoute: ActivatedRoute, router: Router);
|
|
3723
|
+
getGridStateFromUrl(): KitGridDataState;
|
|
3724
|
+
setGridStateToUrl(state: KitGridDataState): void;
|
|
3725
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridUrlStateService, never>;
|
|
3726
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridUrlStateService>;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
interface ApiResponseState<T> {
|
|
3730
|
+
loading: boolean;
|
|
3731
|
+
data: T;
|
|
3732
|
+
total?: number;
|
|
3733
|
+
}
|
|
3734
|
+
|
|
3735
|
+
interface KitGridViewsFetchPayload {
|
|
3736
|
+
group: string;
|
|
3737
|
+
defaultItems?: KitGridView[];
|
|
3738
|
+
}
|
|
3739
|
+
interface KitViewsState {
|
|
3740
|
+
views: KitGridView[];
|
|
3741
|
+
config: KitGridView | null;
|
|
3742
|
+
selectedView: KitGridView | null;
|
|
3743
|
+
}
|
|
3744
|
+
declare enum KitGridViewType {
|
|
3745
|
+
SYSTEM = "system",
|
|
3746
|
+
USER = "user",
|
|
3747
|
+
CONFIG = "config"
|
|
3748
|
+
}
|
|
3749
|
+
interface KitGridViewState {
|
|
3750
|
+
sort?: KitSortDescriptor[];
|
|
3751
|
+
filter?: KitFilterItem[];
|
|
3752
|
+
columns?: KitGridViewColumn[];
|
|
3753
|
+
config?: KitGridView[];
|
|
3754
|
+
}
|
|
3755
|
+
interface KitGridView {
|
|
3756
|
+
title: string;
|
|
3757
|
+
group: string | null;
|
|
3758
|
+
type: KitGridViewType;
|
|
3759
|
+
hidden?: boolean;
|
|
3760
|
+
viewState?: KitGridViewState;
|
|
3761
|
+
}
|
|
3762
|
+
interface KitGridViewColumn {
|
|
3763
|
+
field: string;
|
|
3764
|
+
hidden: boolean;
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
interface KitGridViewListItem extends KitCollapsedListItem, KitGridView {
|
|
3768
|
+
}
|
|
3769
|
+
|
|
3770
|
+
declare class KitGridViewsComponent implements OnInit, OnDestroy {
|
|
3771
|
+
private readonly store;
|
|
3772
|
+
private readonly activatedRoute;
|
|
3773
|
+
private readonly router;
|
|
3774
|
+
private readonly destroyRef;
|
|
3775
|
+
private readonly titleCasePipe;
|
|
3776
|
+
private readonly kitDialogService;
|
|
3777
|
+
private readonly translateService;
|
|
3778
|
+
private readonly viewContainerRef;
|
|
3779
|
+
private readonly kitGridUrlStateService;
|
|
3780
|
+
readonly viewGroup: InputSignal<string>;
|
|
3781
|
+
readonly viewConfigGroup: InputSignal<string>;
|
|
3782
|
+
readonly defaultColumns: InputSignal<KitGridColumnConfig[]>;
|
|
3783
|
+
readonly defaultViewName: InputSignal<string>;
|
|
3784
|
+
readonly defaultSorting: InputSignal<KitSortDescriptor[]>;
|
|
3785
|
+
readonly systemViews: InputSignal<KitGridView[]>;
|
|
3786
|
+
readonly viewChanged: OutputEmitterRef<void>;
|
|
3787
|
+
readonly anchor: Signal<ElementRef | undefined>;
|
|
3788
|
+
readonly collapsedList: Signal<KitCollapsedListComponent<KitGridViewListItem> | undefined>;
|
|
3789
|
+
readonly createNewViewPopup: Signal<KitPopupComponent | undefined>;
|
|
3790
|
+
readonly isViewSaving: WritableSignal<boolean>;
|
|
3791
|
+
readonly createNewViewName: WritableSignal<string>;
|
|
3792
|
+
readonly viewsState$: Observable<ApiResponseState<KitViewsState>>;
|
|
3793
|
+
readonly views$: Observable<KitGridView[]>;
|
|
3794
|
+
readonly views: Signal<KitGridView[]>;
|
|
3795
|
+
readonly collapsedListItems: WritableSignal<KitGridViewListItem[]>;
|
|
3796
|
+
readonly viewsAutocompleteItems$: Observable<KitAutocompleteItem<string>[]>;
|
|
3797
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
3798
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
3799
|
+
readonly gridViewType: typeof KitGridViewType;
|
|
3800
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
3801
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
3802
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
3803
|
+
readonly kitTextboxState: typeof KitTextboxState;
|
|
3804
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3805
|
+
readonly kitCollapsedListDropdownAlign: typeof KitCollapsedListDropdownAlign;
|
|
3806
|
+
readonly selectedView: Signal<KitGridView | null>;
|
|
3807
|
+
readonly collapsedListDropdownText: WritableSignal<string>;
|
|
3808
|
+
readonly skipQueryParamsUpdate: WritableSignal<boolean>;
|
|
3809
|
+
readonly needToResetQueryParams: WritableSignal<boolean>;
|
|
3810
|
+
constructor(store: Store, activatedRoute: ActivatedRoute, router: Router, destroyRef: DestroyRef, titleCasePipe: TitleCasePipe, kitDialogService: KitDialogService, translateService: TranslateService, viewContainerRef: ViewContainerRef, kitGridUrlStateService: KitGridUrlStateService);
|
|
3811
|
+
ngOnInit(): void;
|
|
3812
|
+
ngOnDestroy(): void;
|
|
3813
|
+
get isViewNameValid(): boolean;
|
|
3814
|
+
get inputMessage(): string;
|
|
3815
|
+
get defaultGridState(): KitGridDataState;
|
|
3816
|
+
onSelectView(selectedView: KitGridViewListItem): void;
|
|
3817
|
+
openViewsManagerModal(): void;
|
|
3818
|
+
onViewCreate(): void;
|
|
3819
|
+
onCreateViewPopupToggle(): void;
|
|
3820
|
+
resetQueryParams(): void;
|
|
3821
|
+
private fetchViews;
|
|
3822
|
+
private handleViewsOnRouteChange;
|
|
3823
|
+
private handelCollapsedListItems;
|
|
3824
|
+
private handleSelectedView;
|
|
3825
|
+
private handleViewChange;
|
|
3826
|
+
private updateGridState;
|
|
3827
|
+
private getCollapsedListItem;
|
|
3828
|
+
private navigateToView;
|
|
3829
|
+
private buildGridState;
|
|
3830
|
+
private buildUrlParamsFromView;
|
|
3831
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridViewsComponent, never>;
|
|
3832
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridViewsComponent, "kit-grid-views", never, { "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "viewConfigGroup": { "alias": "viewConfigGroup"; "required": true; "isSignal": true; }; "defaultColumns": { "alias": "defaultColumns"; "required": true; "isSignal": true; }; "defaultViewName": { "alias": "defaultViewName"; "required": true; "isSignal": true; }; "defaultSorting": { "alias": "defaultSorting"; "required": true; "isSignal": true; }; "systemViews": { "alias": "systemViews"; "required": true; "isSignal": true; }; }, { "viewChanged": "viewChanged"; }, never, never, true, never>;
|
|
3833
|
+
}
|
|
3834
|
+
|
|
3835
|
+
declare class FetchGridViews extends AbstractPayloadAction<KitGridViewsFetchPayload> {
|
|
3836
|
+
static readonly type: string;
|
|
3837
|
+
}
|
|
3838
|
+
declare class AddGridView extends AbstractPayloadAction<KitGridView> {
|
|
3839
|
+
static readonly type: string;
|
|
3840
|
+
}
|
|
3841
|
+
declare class RemoveGridView extends AbstractPayloadAction<KitGridView> {
|
|
3842
|
+
static readonly type: string;
|
|
3843
|
+
}
|
|
3844
|
+
declare class SetGridViews extends AbstractPayloadAction<KitGridView[]> {
|
|
3845
|
+
static readonly type: string;
|
|
3846
|
+
}
|
|
3847
|
+
declare class FetchGridViewsConfig extends AbstractPayloadAction<string> {
|
|
3848
|
+
static readonly type: string;
|
|
3849
|
+
}
|
|
3850
|
+
declare class UpdateGridViewsConfig extends AbstractPayloadAction<KitGridView> {
|
|
3851
|
+
static readonly type: string;
|
|
3852
|
+
}
|
|
3853
|
+
declare class SetSelectedView extends AbstractPayloadAction<KitGridView> {
|
|
3854
|
+
static readonly type: string;
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
interface SettingView {
|
|
3858
|
+
key: string;
|
|
3859
|
+
value?: string;
|
|
3860
|
+
group: string | null;
|
|
3861
|
+
}
|
|
3862
|
+
interface SettingValue {
|
|
3863
|
+
value?: string;
|
|
3864
|
+
group: string | null;
|
|
3865
|
+
}
|
|
3866
|
+
|
|
3867
|
+
declare class KitSettingsApiService {
|
|
3868
|
+
private readonly httpClient;
|
|
3869
|
+
private readonly basePath;
|
|
3870
|
+
constructor(httpClient: HttpClient, basePath: string);
|
|
3871
|
+
getSettingsByGroup(group: string): Observable<SettingView[]>;
|
|
3872
|
+
setSettingByKey(key: string, settingValue: SettingValue): Observable<SettingValue>;
|
|
3873
|
+
deleteSettingByGroupAndKey(key: string, group: string): Observable<null>;
|
|
3874
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSettingsApiService, never>;
|
|
3875
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitSettingsApiService>;
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
declare class KitGridViewsState {
|
|
3879
|
+
private readonly settingsService;
|
|
3880
|
+
constructor(settingsService: KitSettingsApiService);
|
|
3881
|
+
fetchGridViews(ctx: StateContext<ApiResponseState<KitViewsState>>, action: FetchGridViews): Observable<KitGridView[]>;
|
|
3882
|
+
addGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: AddGridView): Observable<SettingValue>;
|
|
3883
|
+
removeGridView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: RemoveGridView): Observable<null>;
|
|
3884
|
+
setGridViews(ctx: StateContext<ApiResponseState<KitViewsState>>, action: SetGridViews): Observable<KitGridView[]>;
|
|
3885
|
+
fetchGridViewsConfig(ctx: StateContext<ApiResponseState<KitViewsState>>, action: FetchGridViewsConfig): Observable<KitGridView[]>;
|
|
3886
|
+
updateGridViewsConfig(ctx: StateContext<ApiResponseState<KitViewsState>>, action: UpdateGridViewsConfig): Observable<SettingValue>;
|
|
3887
|
+
setSelectedView(ctx: StateContext<ApiResponseState<KitViewsState>>, action: SetSelectedView): Observable<KitGridView>;
|
|
3888
|
+
static getViews(): (gridViewsState: ApiResponseState<KitViewsState>) => KitGridView[];
|
|
3889
|
+
private hasUserView;
|
|
3890
|
+
static selectedView(state: ApiResponseState<KitViewsState>): KitGridView | null;
|
|
3891
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridViewsState, never>;
|
|
3892
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridViewsState>;
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
declare const kitEncodeViewNameToUrl: (name: string) => string;
|
|
3896
|
+
|
|
3897
|
+
declare enum KitUserSettingKeys {
|
|
3898
|
+
ExpandNotesPanel = "expandNotesPanel"
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
declare class KitUserSettingsComponent {
|
|
3902
|
+
private readonly store;
|
|
3903
|
+
private readonly kitBreadcrumbsService;
|
|
3904
|
+
readonly breadcrumbs: WritableSignal<KitBreadcrumbsItem[]>;
|
|
3905
|
+
readonly userSettings$: Observable<Record<string, string>>;
|
|
3906
|
+
readonly userSettingsKeys: typeof KitUserSettingKeys;
|
|
3907
|
+
constructor(store: Store, kitBreadcrumbsService: KitBreadcrumbsService);
|
|
3908
|
+
toggleExpandedNotesPanelState(isExpanded: boolean): void;
|
|
3909
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserSettingsComponent, never>;
|
|
3910
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitUserSettingsComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
declare class FetchUserSettings {
|
|
3914
|
+
static readonly type: string;
|
|
3915
|
+
}
|
|
3916
|
+
declare class SetUserSettingByKey extends AbstractPayloadAction<{
|
|
3917
|
+
key: string;
|
|
3918
|
+
value: string;
|
|
3919
|
+
}> {
|
|
3920
|
+
static readonly type: string;
|
|
3921
|
+
}
|
|
3922
|
+
|
|
3923
|
+
declare class KitUserSettingsState {
|
|
3924
|
+
private readonly settingsService;
|
|
3925
|
+
constructor(settingsService: KitSettingsApiService);
|
|
3926
|
+
fetchUserSetting(ctx: StateContext<FetchUserSettings>): Observable<Record<string, string>>;
|
|
3927
|
+
setSettingByKey(ctx: StateContext<SetUserSettingByKey>, action: SetUserSettingByKey): Observable<SettingValue>;
|
|
3928
|
+
static getSettingByKey(key: KitUserSettingKeys): (state: Record<string, string>) => string;
|
|
3929
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserSettingsState, never>;
|
|
3930
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserSettingsState>;
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
interface KitFilterSelectorItem {
|
|
3934
|
+
title: string;
|
|
3935
|
+
field: string;
|
|
3936
|
+
disabled?: boolean;
|
|
3937
|
+
filterType?: KitFilterType;
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
declare class KitGridFiltersComponent {
|
|
3941
|
+
private readonly store;
|
|
3942
|
+
private readonly kitGridUrlStateService;
|
|
3943
|
+
readonly excludedColumns: InputSignal<string[]>;
|
|
3944
|
+
readonly columns: InputSignal<KitGridColumnConfig[]>;
|
|
3945
|
+
readonly filterListConfig: InputSignal<KitFilterListConfig>;
|
|
3946
|
+
readonly useLocalTimeZone: InputSignal<boolean>;
|
|
3947
|
+
readonly nullLabel: InputSignal<string>;
|
|
3948
|
+
readonly notNullLabel: InputSignal<string>;
|
|
3949
|
+
readonly kitFilterType: typeof KitFilterType;
|
|
3950
|
+
readonly filters: Signal<KitFilterItem[]>;
|
|
3951
|
+
readonly filterSelectorItems: Signal<KitFilterSelectorItem[]>;
|
|
3952
|
+
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
3953
|
+
addFilter(item: KitFilterSelectorItem): void;
|
|
3954
|
+
removeFilter(field: string): void;
|
|
3955
|
+
applyFilter(filter: KitFilterItem, values: KitFilterValue): void;
|
|
3956
|
+
buildFilterSelectorItem(item: KitGridColumnConfig, filters: KitFilterItem[]): KitFilterSelectorItem;
|
|
3957
|
+
private isFilterSelectorItemDisabled;
|
|
3958
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridFiltersComponent, never>;
|
|
3959
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridFiltersComponent, "kit-grid-filters", never, { "excludedColumns": { "alias": "excludedColumns"; "required": true; "isSignal": true; }; "columns": { "alias": "columns"; "required": true; "isSignal": true; }; "filterListConfig": { "alias": "filterListConfig"; "required": true; "isSignal": true; }; "useLocalTimeZone": { "alias": "useLocalTimeZone"; "required": false; "isSignal": true; }; "nullLabel": { "alias": "nullLabel"; "required": false; "isSignal": true; }; "notNullLabel": { "alias": "notNullLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
3960
|
+
}
|
|
3961
|
+
|
|
3962
|
+
declare const kitBuildFilterListOptions: <T extends object>(enumObject: T) => KitFilterListOption[];
|
|
3963
|
+
declare const kitBuildFilterBooleanOptions: (trueLabelKey: string, falseLabelKey: string) => KitFilterListOption<boolean>[];
|
|
3964
|
+
declare const kitBuildOdataFilter: (filter?: KitCompositeFilterDescriptor) => string;
|
|
3965
|
+
declare const kitBuildFilters: (filters: KitFilterItem[]) => KitCompositeFilterDescriptor;
|
|
3966
|
+
|
|
3967
|
+
declare class KitFilterCheckboxComponent implements OnInit, OnChanges {
|
|
3968
|
+
readonly filter: InputSignal<KitFilterItem>;
|
|
3969
|
+
readonly translateKeyPrefix: InputSignal<string>;
|
|
3970
|
+
readonly items: ModelSignal<KitFilterListOption[]>;
|
|
3971
|
+
readonly showPopupOnInit: InputSignal<boolean>;
|
|
3972
|
+
readonly guidField: InputSignal<string>;
|
|
3973
|
+
readonly filterRemoved: OutputEmitterRef<void>;
|
|
3974
|
+
readonly filterChanged: OutputEmitterRef<KitFilterValue>;
|
|
3975
|
+
readonly anchor: Signal<ElementRef>;
|
|
3976
|
+
readonly popup: Signal<KitPopupComponent | undefined>;
|
|
3977
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
3978
|
+
readonly selectedValues: WritableSignal<{
|
|
3979
|
+
title: string;
|
|
3980
|
+
value: string;
|
|
3981
|
+
}[]>;
|
|
3982
|
+
readonly kitPillTheme: typeof KitPillTheme;
|
|
3983
|
+
readonly allSelected: WritableSignal<boolean>;
|
|
3984
|
+
get isPopupOpen(): boolean;
|
|
3985
|
+
get checkedItems(): KitFilterListOption[];
|
|
3986
|
+
get displayedValues(): string[];
|
|
3987
|
+
constructor();
|
|
3988
|
+
ngOnInit(): void;
|
|
3989
|
+
ngOnChanges({ filter }: SimpleChanges): void;
|
|
3990
|
+
removeFilter(): void;
|
|
3991
|
+
applyButtonDisabled(): boolean;
|
|
3992
|
+
clearAllFilters(): void;
|
|
3993
|
+
applyFilter(): void;
|
|
3994
|
+
onPopupToggle(): void;
|
|
3995
|
+
close(): void;
|
|
3996
|
+
buildTranslateKey(value: string): string;
|
|
3997
|
+
toggleAll(isChecked: boolean): void;
|
|
3998
|
+
onChange(): void;
|
|
3999
|
+
private initializeSelectedValues;
|
|
4000
|
+
private updateItemsState;
|
|
4001
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitFilterCheckboxComponent, never>;
|
|
4002
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitFilterCheckboxComponent, "kit-filter-checkbox", never, { "filter": { "alias": "filter"; "required": true; "isSignal": true; }; "translateKeyPrefix": { "alias": "translateKeyPrefix"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "showPopupOnInit": { "alias": "showPopupOnInit"; "required": false; "isSignal": true; }; "guidField": { "alias": "guidField"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; "filterRemoved": "filterRemoved"; "filterChanged": "filterChanged"; }, never, never, true, never>;
|
|
4003
|
+
}
|
|
4004
|
+
|
|
4005
|
+
declare enum GridExportOptions {
|
|
4006
|
+
PDF = "pdf",
|
|
4007
|
+
CSV = "csv",
|
|
4008
|
+
EXCEL = "excel",
|
|
4009
|
+
XML = "xml"
|
|
4010
|
+
}
|
|
4011
|
+
|
|
4012
|
+
type KitKendoDrawPdf<T> = NonNullable<KitGridComponent<T>['gridComponent']>['drawPDF'];
|
|
4013
|
+
|
|
4014
|
+
type KitGridCellDataItem = Record<string, string | number | null>;
|
|
4015
|
+
type KitGridCellTranslationMap = Record<string, (value: string) => string>;
|
|
4016
|
+
interface KitGridCellDateFormatConfig {
|
|
4017
|
+
dateFormat: string;
|
|
4018
|
+
dateTimeFormat: string;
|
|
4019
|
+
}
|
|
4020
|
+
declare const KIT_GRID_CELL_DATE_FORMAT_CONFIG: InjectionToken<KitGridCellDateFormatConfig>;
|
|
4021
|
+
|
|
4022
|
+
declare class KitGridCellService {
|
|
4023
|
+
private readonly translateService;
|
|
4024
|
+
private readonly decimalPipe;
|
|
4025
|
+
private readonly datePipe;
|
|
4026
|
+
private readonly dateFormatConfig?;
|
|
4027
|
+
readonly dateFormat: string;
|
|
4028
|
+
readonly dateTimeFormat: string;
|
|
4029
|
+
constructor(translateService: TranslateService, decimalPipe: DecimalPipe, datePipe: DatePipe, dateFormatConfig?: KitGridCellDateFormatConfig | undefined);
|
|
4030
|
+
createCellValue<T>(columnType: string, columnField: string, dataItem: T, translationMap?: KitGridCellTranslationMap, defaultValue?: string | number): string | number;
|
|
4031
|
+
private getNestedGridCellValue;
|
|
4032
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellService, [null, null, null, { optional: true; }]>;
|
|
4033
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitGridCellService>;
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
declare class KitGridExportComponent<T> {
|
|
4037
|
+
private readonly translateService;
|
|
4038
|
+
private readonly notificationService;
|
|
4039
|
+
private readonly gridCellService;
|
|
4040
|
+
private readonly store;
|
|
4041
|
+
readonly getExportedData: InputSignal<() => Observable<{
|
|
4042
|
+
data: T[];
|
|
4043
|
+
total: number;
|
|
4044
|
+
}>>;
|
|
4045
|
+
readonly translationMap: InputSignal<Record<string, (value: string) => string>>;
|
|
4046
|
+
readonly exportedFileName: InputSignal<string>;
|
|
4047
|
+
readonly drawPdf: InputSignal<(KitKendoDrawPdf<T>) | undefined>;
|
|
4048
|
+
readonly gridHasData: InputSignal<boolean>;
|
|
4049
|
+
readonly visibleColumns: InputSignal<KitGridColumnConfig[] | undefined>;
|
|
4050
|
+
readonly popup: Signal<KitPopupComponent | undefined>;
|
|
4051
|
+
readonly anchor: Signal<ElementRef>;
|
|
4052
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4053
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4054
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
4055
|
+
readonly kitRadioButtonType: typeof KitRadioButtonType;
|
|
4056
|
+
gridExportOptions: KitRadioButton<GridExportOptions>[];
|
|
4057
|
+
isGridExporting: WritableSignal<boolean>;
|
|
4058
|
+
constructor(translateService: TranslateService, notificationService: KitNotificationService, gridCellService: KitGridCellService, store: Store);
|
|
4059
|
+
get exportedColumns(): KitGridColumnConfig[];
|
|
4060
|
+
onPopupToggle(): void;
|
|
4061
|
+
onExport({ value }: KitRadioButton<GridExportOptions>): Promise<void>;
|
|
4062
|
+
private onExportPDF;
|
|
4063
|
+
private onExportExcel;
|
|
4064
|
+
private getExportedExcelRows;
|
|
4065
|
+
private timeStringToExcelFraction;
|
|
4066
|
+
private onExportCSV;
|
|
4067
|
+
private onExportXML;
|
|
4068
|
+
private convertToXML;
|
|
4069
|
+
private wrapWithElement;
|
|
4070
|
+
private sanitizeXml;
|
|
4071
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridExportComponent<any>, never>;
|
|
4072
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridExportComponent<any>, "kit-grid-export", never, { "getExportedData": { "alias": "getExportedData"; "required": true; "isSignal": true; }; "translationMap": { "alias": "translationMap"; "required": true; "isSignal": true; }; "exportedFileName": { "alias": "exportedFileName"; "required": true; "isSignal": true; }; "drawPdf": { "alias": "drawPdf"; "required": true; "isSignal": true; }; "gridHasData": { "alias": "gridHasData"; "required": true; "isSignal": true; }; "visibleColumns": { "alias": "visibleColumns"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4073
|
+
}
|
|
4074
|
+
|
|
4075
|
+
declare class KitGridCellComponent {
|
|
4076
|
+
column: KitGridColumn;
|
|
4077
|
+
dataItem: KitGridCellDataItem;
|
|
4078
|
+
readonly dateformat: string;
|
|
4079
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellComponent, never>;
|
|
4080
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridCellComponent, "kit-grid-cell", never, { "column": { "alias": "column"; "required": false; }; "dataItem": { "alias": "dataItem"; "required": false; }; }, {}, never, never, true, never>;
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4083
|
+
declare class KitGridSearchComponent implements AfterViewInit {
|
|
4084
|
+
private readonly store;
|
|
4085
|
+
private readonly kitGridUrlStateService;
|
|
4086
|
+
readonly kitSearchBarComponent: Signal<KitSearchBarComponent>;
|
|
4087
|
+
readonly gridState$: Observable<KitGridDataState>;
|
|
4088
|
+
constructor(store: Store, kitGridUrlStateService: KitGridUrlStateService);
|
|
4089
|
+
ngAfterViewInit(): void;
|
|
4090
|
+
closeButtonClick(): void;
|
|
4091
|
+
closeSearch(): void;
|
|
4092
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridSearchComponent, never>;
|
|
4093
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridSearchComponent, "kit-grid-search", never, {}, {}, never, never, true, never>;
|
|
4094
|
+
}
|
|
4095
|
+
|
|
4096
|
+
declare class KitGridColumnManagerComponent {
|
|
4097
|
+
private readonly kitDialogService;
|
|
4098
|
+
private readonly store;
|
|
4099
|
+
private readonly translateService;
|
|
4100
|
+
private readonly viewContainerRef;
|
|
4101
|
+
readonly dialogContent: Signal<TemplateRef<unknown>>;
|
|
4102
|
+
readonly updatedColumns: WritableSignal<KitGridColumnConfig[]>;
|
|
4103
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4104
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
4105
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4106
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4107
|
+
readonly hasUnsavedChanges: WritableSignal<boolean>;
|
|
4108
|
+
constructor(kitDialogService: KitDialogService, store: Store, translateService: TranslateService, viewContainerRef: ViewContainerRef);
|
|
4109
|
+
openColumnsDialog(): void;
|
|
4110
|
+
onColumnVisibilityChange(event: boolean, column: KitGridColumnConfig): void;
|
|
4111
|
+
applyChanges(): void;
|
|
4112
|
+
close(): void;
|
|
4113
|
+
checkChanges(): void;
|
|
4114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridColumnManagerComponent, never>;
|
|
4115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridColumnManagerComponent, "kit-grid-column-manager", never, {}, {}, never, never, true, never>;
|
|
4116
|
+
}
|
|
4117
|
+
|
|
4118
|
+
declare class KitGridDetailsButtonComponent {
|
|
4119
|
+
readonly link: InputSignal<string>;
|
|
4120
|
+
readonly kitTooltipPosition: typeof KitTooltipPosition;
|
|
4121
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4122
|
+
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
4123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridDetailsButtonComponent, never>;
|
|
4124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitGridDetailsButtonComponent, "kit-grid-details-button", never, { "link": { "alias": "link"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
declare const KIT_DATE_FORMAT: string;
|
|
4128
|
+
declare const KIT_DATETIME_FORMAT_LONG: string;
|
|
4129
|
+
|
|
4130
|
+
declare class KitEntityGridComponent<T> {
|
|
4131
|
+
private readonly store;
|
|
4132
|
+
private readonly kitBreadcrumbsService;
|
|
4133
|
+
private readonly kitGridUrlStateService;
|
|
4134
|
+
readonly gridData: InputSignal<KitGridDataResult<T> | null>;
|
|
4135
|
+
readonly title: InputSignal<string>;
|
|
4136
|
+
readonly gridColumns: InputSignal<KitGridColumnConfig[]>;
|
|
4137
|
+
readonly defaultViewName: InputSignal<string>;
|
|
4138
|
+
readonly viewGroup: InputSignal<string>;
|
|
4139
|
+
readonly viewGroupConfig: InputSignal<string>;
|
|
4140
|
+
readonly pdfOptions: InputSignal<KitPDFOptions>;
|
|
4141
|
+
readonly getExportedData: InputSignal<() => Observable<{
|
|
4142
|
+
data: T[];
|
|
4143
|
+
total: number;
|
|
4144
|
+
}>>;
|
|
4145
|
+
readonly defaultSorting: InputSignal<KitSortDescriptor[]>;
|
|
4146
|
+
readonly filterExcludedColumns: InputSignal<string[]>;
|
|
4147
|
+
readonly systemViews: InputSignal<KitGridView[]>;
|
|
4148
|
+
readonly translationMap: InputSignal<KitGridCellTranslationMap>;
|
|
4149
|
+
readonly isDetailTemplateVisible: InputSignal<() => boolean>;
|
|
4150
|
+
readonly detailTemplateExpandDisableIf: InputSignal<(context: T) => boolean>;
|
|
4151
|
+
readonly gridHasData: InputSignal<boolean>;
|
|
4152
|
+
readonly isLoading: InputSignal<boolean>;
|
|
4153
|
+
readonly pagerInfoText: InputSignal<string>;
|
|
4154
|
+
readonly showBreadcrumbs: InputSignal<boolean>;
|
|
4155
|
+
readonly gridViewChanged: OutputEmitterRef<void>;
|
|
4156
|
+
readonly kitGridComponent: Signal<KitGridComponent<T> | undefined>;
|
|
4157
|
+
readonly gridExportComponent: Signal<KitGridExportComponent<T> | undefined>;
|
|
4158
|
+
readonly columns: Signal<readonly KitGridColumnComponent[]>;
|
|
4159
|
+
readonly gridDetailTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
4160
|
+
readonly drawPdf: Signal<KitKendoDrawPdf<T> | undefined>;
|
|
4161
|
+
readonly filters$: Observable<KitFilterItem[]>;
|
|
4162
|
+
readonly gridState$: Observable<KitGridDataState>;
|
|
4163
|
+
pageSize: number;
|
|
4164
|
+
readonly sortable: KitGridSortSettings;
|
|
4165
|
+
readonly breadcrumbs: Signal<KitBreadcrumbsItem[]>;
|
|
4166
|
+
readonly filtersVisible: WritableSignal<boolean>;
|
|
4167
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4168
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4169
|
+
readonly kitButtonKind: typeof KitButtonKind;
|
|
4170
|
+
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
4171
|
+
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
4172
|
+
isExporting: WritableSignal<boolean>;
|
|
4173
|
+
constructor(store: Store, kitBreadcrumbsService: KitBreadcrumbsService, kitGridUrlStateService: KitGridUrlStateService);
|
|
4174
|
+
onPageSizeChanged(event: KitGridPageChangeEvent): void;
|
|
4175
|
+
onFiltersToggle(): void;
|
|
4176
|
+
onGridViewChange(): void;
|
|
4177
|
+
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
4178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityGridComponent<any>, never>;
|
|
4179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntityGridComponent<any>, "kit-entity-grid", never, { "gridData": { "alias": "gridData"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "gridColumns": { "alias": "gridColumns"; "required": true; "isSignal": true; }; "defaultViewName": { "alias": "defaultViewName"; "required": true; "isSignal": true; }; "viewGroup": { "alias": "viewGroup"; "required": true; "isSignal": true; }; "viewGroupConfig": { "alias": "viewGroupConfig"; "required": true; "isSignal": true; }; "pdfOptions": { "alias": "pdfOptions"; "required": true; "isSignal": true; }; "getExportedData": { "alias": "getExportedData"; "required": true; "isSignal": true; }; "defaultSorting": { "alias": "defaultSorting"; "required": false; "isSignal": true; }; "filterExcludedColumns": { "alias": "filterExcludedColumns"; "required": false; "isSignal": true; }; "systemViews": { "alias": "systemViews"; "required": false; "isSignal": true; }; "translationMap": { "alias": "translationMap"; "required": false; "isSignal": true; }; "isDetailTemplateVisible": { "alias": "isDetailTemplateVisible"; "required": false; "isSignal": true; }; "detailTemplateExpandDisableIf": { "alias": "detailTemplateExpandDisableIf"; "required": false; "isSignal": true; }; "gridHasData": { "alias": "gridHasData"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "pagerInfoText": { "alias": "pagerInfoText"; "required": false; "isSignal": true; }; "showBreadcrumbs": { "alias": "showBreadcrumbs"; "required": false; "isSignal": true; }; }, { "gridViewChanged": "gridViewChanged"; }, ["columns", "gridDetailTemplate"], ["[filters]", "[actions]"], true, never>;
|
|
4180
|
+
}
|
|
4181
|
+
|
|
4182
|
+
interface KitMainMenuItem extends KitNavigationMenuItem {
|
|
4183
|
+
permission?: string;
|
|
4184
|
+
items?: KitMainMenuItem[];
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
declare class KitMenuBuilderService {
|
|
4188
|
+
private readonly translateService;
|
|
4189
|
+
constructor(translateService: TranslateService);
|
|
4190
|
+
build(items: KitMainMenuItem[], permissions: string[]): KitNavigationMenuItem[];
|
|
4191
|
+
private filter;
|
|
4192
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitMenuBuilderService, never>;
|
|
4193
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitMenuBuilderService>;
|
|
4194
|
+
}
|
|
4195
|
+
|
|
4196
|
+
declare class KitSidebarComponent implements OnInit {
|
|
4197
|
+
private readonly store;
|
|
4198
|
+
private readonly kitMenuBuilderService;
|
|
4199
|
+
readonly menuItems: InputSignal<KitNavigationMenuItem[]>;
|
|
4200
|
+
readonly menuItems$: Observable<KitNavigationMenuItem[]>;
|
|
4201
|
+
readonly appsMenuItems$: Observable<KitNavigationMenuAppItem[]>;
|
|
4202
|
+
constructor(store: Store, kitMenuBuilderService: KitMenuBuilderService);
|
|
4203
|
+
ngOnInit(): void;
|
|
4204
|
+
private fetchUserApplications;
|
|
4205
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSidebarComponent, never>;
|
|
4206
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSidebarComponent, "kit-sidebar", never, { "menuItems": { "alias": "menuItems"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
interface KitUserMenuItem extends KitProfileMenuItem {
|
|
4210
|
+
permission?: string;
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
declare class KitTopBarComponent {
|
|
4214
|
+
private readonly kitNavigationMenuService;
|
|
4215
|
+
readonly userMenuItems: InputSignal<KitUserMenuItem[]>;
|
|
4216
|
+
readonly kitButtonType: typeof KitButtonType;
|
|
4217
|
+
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
4218
|
+
readonly collapsed: WritableSignal<boolean>;
|
|
4219
|
+
constructor(kitNavigationMenuService: KitNavigationMenuService);
|
|
4220
|
+
toggleSidebar(collapsed: boolean): void;
|
|
4221
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitTopBarComponent, never>;
|
|
4222
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitTopBarComponent, "kit-top-bar", never, { "userMenuItems": { "alias": "userMenuItems"; "required": false; "isSignal": true; }; }, {}, never, ["[globalSearch]", "[topBarActions]"], true, never>;
|
|
4223
|
+
}
|
|
4224
|
+
|
|
4225
|
+
interface UserApplication {
|
|
4226
|
+
name: string;
|
|
4227
|
+
url: string | null;
|
|
4228
|
+
}
|
|
4229
|
+
interface UserApplications {
|
|
4230
|
+
applications: UserApplication[];
|
|
4231
|
+
}
|
|
4232
|
+
interface CurrentUser {
|
|
4233
|
+
id: number;
|
|
4234
|
+
userName: string | null;
|
|
4235
|
+
email: string | null;
|
|
4236
|
+
firstName: string | null;
|
|
4237
|
+
lastName: string | null;
|
|
4238
|
+
name: string | null;
|
|
4239
|
+
companyName: string;
|
|
4240
|
+
timeZoneInfoId: string;
|
|
4241
|
+
namedTimeZone: string;
|
|
4242
|
+
companyType?: UserCompanyType;
|
|
4243
|
+
}
|
|
4244
|
+
type UserCompanyType = 'DC' | 'Client' | 'OriginAgent' | 'DestinationAgent' | 'Vendor' | 'Integration' | 'SystemAdmin' | 'ReportAdmin' | 'SS_SysAdmin' | 'SS_ReportAdmin';
|
|
4245
|
+
|
|
4246
|
+
declare class KitUserApiService {
|
|
4247
|
+
private readonly httpClient;
|
|
4248
|
+
private readonly basePath;
|
|
4249
|
+
constructor(httpClient: HttpClient, basePath: string);
|
|
4250
|
+
getUserInfo(): Observable<CurrentUser>;
|
|
4251
|
+
getUserApplicationList(): Observable<UserApplications>;
|
|
4252
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApiService, never>;
|
|
4253
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApiService>;
|
|
4254
|
+
}
|
|
4255
|
+
|
|
4256
|
+
declare const KIT_USER_STATE_TOKEN: StateToken<ApiResponseState<CurrentUser>>;
|
|
4257
|
+
declare class KitUserState {
|
|
4258
|
+
private readonly kitUserApiService;
|
|
4259
|
+
constructor(kitUserApiService: KitUserApiService);
|
|
4260
|
+
fetchUser(ctx: StateContext<ApiResponseState<CurrentUser>>): Observable<CurrentUser>;
|
|
4261
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserState, never>;
|
|
4262
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserState>;
|
|
4263
|
+
}
|
|
4264
|
+
|
|
4265
|
+
declare class FetchUserApplications {
|
|
4266
|
+
static readonly type: string;
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
declare class KitUserApplicationsState {
|
|
4270
|
+
private readonly kitUserApiService;
|
|
4271
|
+
constructor(kitUserApiService: KitUserApiService);
|
|
4272
|
+
fetchUserApplications(ctx: StateContext<FetchUserApplications>): Observable<UserApplications>;
|
|
4273
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserApplicationsState, never>;
|
|
4274
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserApplicationsState>;
|
|
4275
|
+
}
|
|
4276
|
+
|
|
4277
|
+
declare class FetchUserPermissions {
|
|
4278
|
+
static readonly type: string;
|
|
4279
|
+
}
|
|
4280
|
+
|
|
4281
|
+
interface UserPermissions {
|
|
4282
|
+
permissions: string[];
|
|
4283
|
+
}
|
|
4284
|
+
|
|
4285
|
+
declare class KitPermissionsApiService {
|
|
4286
|
+
private readonly httpClient;
|
|
4287
|
+
private readonly basePath;
|
|
4288
|
+
constructor(httpClient: HttpClient, basePath: string);
|
|
4289
|
+
getUserPermissions(): Observable<UserPermissions>;
|
|
4290
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitPermissionsApiService, never>;
|
|
4291
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitPermissionsApiService>;
|
|
4292
|
+
}
|
|
4293
|
+
|
|
4294
|
+
declare const KIT_USER_PERMISSIONS_STATE_TOKEN: StateToken<UserPermissions>;
|
|
4295
|
+
declare class KitUserPermissionsState {
|
|
4296
|
+
private readonly kitPermissionsApiService;
|
|
4297
|
+
constructor(kitPermissionsApiService: KitPermissionsApiService);
|
|
4298
|
+
fetchUserPermissions(ctx: StateContext<FetchUserPermissions>): Observable<UserPermissions>;
|
|
4299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitUserPermissionsState, never>;
|
|
4300
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KitUserPermissionsState>;
|
|
4301
|
+
}
|
|
4302
|
+
|
|
4303
|
+
interface KitSchedulerEvent<T = unknown> extends SchedulerEvent {
|
|
4304
|
+
data: T;
|
|
4305
|
+
}
|
|
4306
|
+
type KitScheduleEventClickEvent = EventClickEvent;
|
|
4307
|
+
type KitScheduleSlotClickEvent = SlotClickEvent;
|
|
4308
|
+
|
|
4309
|
+
declare class KitSchedulerComponent<T> {
|
|
4310
|
+
readonly events: InputSignal<KitSchedulerEvent<T>[]>;
|
|
4311
|
+
readonly selectedDate: InputSignal<Date | undefined>;
|
|
4312
|
+
readonly min: InputSignal<Date | undefined>;
|
|
4313
|
+
readonly max: InputSignal<Date | undefined>;
|
|
4314
|
+
readonly eventClicked: OutputEmitterRef<KitScheduleEventClickEvent>;
|
|
4315
|
+
readonly slotClicked: OutputEmitterRef<KitScheduleSlotClickEvent>;
|
|
4316
|
+
readonly scheduler: Signal<SchedulerComponent | undefined>;
|
|
4317
|
+
readonly weekEventTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
4318
|
+
readonly monthEventTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
4319
|
+
onEventClick(event: KitScheduleEventClickEvent): void;
|
|
4320
|
+
onSlotClick(event: KitScheduleSlotClickEvent): void;
|
|
4321
|
+
getEventsForDate(date: Date, events: KitSchedulerEvent[]): KitSchedulerEvent[];
|
|
4322
|
+
onSchedulerClick(event: Event): void;
|
|
4323
|
+
navigateToView(viewIndex: number): void;
|
|
4324
|
+
private formatDate;
|
|
4325
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSchedulerComponent<any>, never>;
|
|
4326
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KitSchedulerComponent<any>, "kit-scheduler", never, { "events": { "alias": "events"; "required": false; "isSignal": true; }; "selectedDate": { "alias": "selectedDate"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; }, { "eventClicked": "eventClicked"; "slotClicked": "slotClicked"; }, ["weekEventTemplate", "monthEventTemplate"], ["[toolbar]"], true, never>;
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4329
|
+
declare class KitSchedulerWeekEventTemplateDirective {
|
|
4330
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSchedulerWeekEventTemplateDirective, never>;
|
|
4331
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitSchedulerWeekEventTemplateDirective, "[kitSchedulerWeekEventTemplate]", never, {}, {}, never, never, true, never>;
|
|
4332
|
+
}
|
|
4333
|
+
|
|
4334
|
+
declare class KitSchedulerMonthEventTemplateDirective {
|
|
4335
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KitSchedulerMonthEventTemplateDirective, never>;
|
|
4336
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<KitSchedulerMonthEventTemplateDirective, "[kitSchedulerMonthEventTemplate]", never, {}, {}, never, never, true, never>;
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4339
|
+
export { AbstractKitCtaPanelConfirmationComponent, AddGridFilter, FetchUserPermissions, FetchUserSettings, KIT_BASE_PATH, KIT_DATETIME_FORMAT_LONG, KIT_DATE_FORMAT, KIT_GRID_CELL_DATE_FORMAT_CONFIG, KIT_GRID_STATE_TOKEN, KIT_USER_PERMISSIONS_STATE_TOKEN, KIT_USER_STATE_TOKEN, KitAutocompleteComponent, KitAutocompleteDirective, KitAutocompleteModule, KitAvatarComponent, KitAvatarModule, KitAvatarSize, KitBadgeDirective, KitBadgeTheme, KitBreadcrumbsComponent, KitBreadcrumbsModule, KitBreadcrumbsService, KitButtonComponent, KitButtonIconPosition, KitButtonKind, KitButtonModule, KitButtonState, KitButtonType, KitCardComponent, KitCardModule, KitCardTheme, KitCheckboxComponent, KitCheckboxModule, KitCheckboxState, KitCollapsedListComponent, KitCollapsedListDropdownAlign, KitCopyTextComponent, KitCopyTextModule, KitCtaPanelAbstractConfirmationComponent, KitCtaPanelAbstractConfirmationModule, KitCtaPanelActionComponent, KitCtaPanelActionModule, KitCtaPanelConfirmationComponent, KitCtaPanelConfirmationModule, KitCtaPanelItemComponent, KitCtaPanelItemModule, KitCtaPanelItemType, KitDataFieldComponent, KitDataFieldState, KitDatepickerComponent, KitDatepickerModule, KitDatepickerSize, KitDaterangeComponent, KitDaterangeModule, KitDaterangeType, KitDatetimepickerComponent, KitDatetimepickerModule, KitDialogActionsComponent, KitDialogComponent, KitDialogService, KitDropdownComponent, KitDropdownItemTemplateDirective, KitDropdownModule, KitDropdownSize, KitEmptySectionComponent, KitEntityGridComponent, KitEntitySectionComponent, KitEntitySectionContainerComponent, KitEntityTitleComponent, KitEntityTitleModule, KitFileCardComponent, KitFileCardMessagesComponent, KitFileCardModule, KitFileUploadComponent, KitFileUploadModule, KitFilterCheckboxComponent, KitFilterLogic, KitFilterOperator, KitFilterType, KitGlobalSearchComponent, KitGridCellComponent, KitGridCellService, KitGridCellTemplateDirective, KitGridColumnComponent, KitGridColumnManagerComponent, KitGridComponent, KitGridDetailTemplateDirective, KitGridDetailsButtonComponent, KitGridExportComponent, KitGridFiltersComponent, KitGridModule, KitGridSearchComponent, KitGridSortSettingsMode, KitGridState, KitGridUrlStateService, KitGridViewType, KitGridViewsComponent, KitGridViewsState, KitInputLabelComponent, KitInputLabelModule, KitInputMessageComponent, KitInputMessageModule, KitLoaderComponent, KitLoaderModule, KitLocationStepperComponent, KitLocationStepperModule, KitMultiselectComponent, KitMultiselectModule, KitNavigationMenuComponent, KitNavigationMenuModule, KitNavigationMenuService, KitNavigationMenuSubmenuComponent, KitNavigationTabsComponent, KitNavigationTabsModule, KitNavigationTabsType, KitNoteComponent, KitNoteModule, KitNotificationComponent, KitNotificationService, KitNotificationType, KitNumericTextboxComponent, KitNumericTextboxModule, KitNumericTextboxSize, KitNumericTextboxState, KitPageLayoutComponent, KitPermissionDirective, KitPermissionModule, KitPillComponent, KitPillTheme, KitPillType, KitPopupAlignHorizontal, KitPopupAlignVertical, KitPopupComponent, KitPopupPositionMode, KitProfileMenuComponent, KitQueryParamsName, KitQueryParamsService, KitRadioButtonComponent, KitRadioButtonModule, KitRadioButtonType, KitSchedulerComponent, KitSchedulerMonthEventTemplateDirective, KitSchedulerWeekEventTemplateDirective, KitScrollNavigationComponent, KitScrollNavigationSectionComponent, KitSearchBarComponent, KitSearchBarModule, KitShipmentCard, KitSidebarComponent, KitSkeletonAnimation, KitSkeletonComponent, KitSkeletonModule, KitSkeletonShape, KitSortDirection, KitSortableComponent, KitSvgIcon, KitSvgIconComponent, KitSvgIconModule, KitSvgIconType, KitSvgSpriteComponent, KitSvgSpriteModule, KitSwitchComponent, KitSwitchMode, KitSwitchModule, KitSwitchState, KitTabComponent, KitTabContentDirective, KitTabsComponent, KitTabsModule, KitTabsSize, KitTabsType, KitTextLabelComponent, KitTextLabelModule, KitTextLabelState, KitTextareaAutoresizeDirective, KitTextareaComponent, KitTextareaModule, KitTextareaState, KitTextboxComponent, KitTextboxModule, KitTextboxSize, KitTextboxState, KitTileLayoutComponent, KitTileLayoutItemComponent, KitTileLayoutModule, KitTimelineCardComponent, KitTimelineComponent, KitTimelineTheme, KitTimelineType, KitTimepickerComponent, KitTimepickerModule, KitTitleTemplateDirective, KitToastrModule, KitToastrPosition, KitToastrService, KitToastrType, KitToggleComponent, KitToggleModule, KitTooltipDirective, KitTooltipPosition, KitTopBarComponent, KitTranslateService, KitTruncateTextComponent, KitUnitsTextboxComponent, KitUnitsTextboxDropdownPosition, KitUnitsTextboxModule, KitUnitsTextboxType, KitUserApplicationsState, KitUserPermissionsState, KitUserSettingKeys, KitUserSettingsComponent, KitUserSettingsState, KitUserState, RemoveGridFilter, SetGridColumns, SetGridFilters, SetGridSearch, SetGridSkip, SetGridSort, SetGridTake, UpdateGridFilter, buildRandomUUID, findMatches, kitBuildFilterBooleanOptions, kitBuildFilterListOptions, kitBuildFilters, kitBuildGridColumn, kitBuildGridDataResults, kitBuildOdataFilter, kitBuildSortString, kitDataStateToODataString, kitEncodeViewNameToUrl, mapGlobalSearchResult };
|
|
4340
|
+
export type { GlobalSearchLineItem, GlobalSearchPrompt, GlobalSearchResult, KitAutocompleteItem, KitBreadcrumbsItem, KitCard, KitCardItem, KitCardLink, KitCollapsedListItem, KitCompositeFilterDescriptor, KitCtaPanelConfirmation, KitCtaPanelConfirmationValue, KitCtaPanelCopyItem, KitCtaPanelItem, KitDataResult, KitDataState, KitDaterangeValue, KitDropdownItem, KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages, KitFilterDescriptor, KitFilterItem, KitFilterListConfig, KitFilterListOption, KitFilterValue, KitGridCellClickEvent, KitGridCellTranslationMap, KitGridColumn, KitGridColumnConfig, KitGridColumns, KitGridDataResult, KitGridDataState, KitGridDataStateChangeEvent, KitGridDetailCollapseEvent, KitGridDetailExpandEvent, KitGridPageChangeEvent, KitGridSortSettings, KitGridView, KitGridViewColumn, KitKendoDrawPdf, KitLocationStepperItem, KitLocationStepperItemDate, KitMainMenuItem, KitMultiselectItem, KitNavigationMenuAppItem, KitNavigationMenuItem, KitNavigationTabsItem, KitNavigationTabsItemLink, KitPDFOptions, KitPopupAlign, KitProfileMenuItem, KitQueryParams, KitRadioButton, KitScheduleEventClickEvent, KitScheduleSlotClickEvent, KitSchedulerEvent, KitShipmentCardData, KitSortDescriptor, KitSwitchItem, KitSwitchItemSelection, KitTabsSelectEvent, KitTileLayoutColumnsConfig, KitTimelineItem, KitTimelineItemDate, KitToastrConfig, KitUserMenuItem };
|