@indigina/ui-kit 1.1.204 → 1.1.206
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 +841 -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
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, InputSignal, Predicate, TemplateRef, WritableSignal } from '@angular/core';
|
|
2
|
-
import { DropDownListComponent, ItemArgs, ItemDisabledFn, PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
3
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
5
|
-
import { KitDropdownSize } from './kit-dropdown.const';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export interface KitDropdownItemDisabledFnArgs<T> extends ItemArgs {
|
|
8
|
-
dataItem: KitDropdownItem<T>;
|
|
9
|
-
}
|
|
10
|
-
export interface KitDropdownItem<T, U = unknown> {
|
|
11
|
-
text: string;
|
|
12
|
-
value: T;
|
|
13
|
-
data?: U;
|
|
14
|
-
disabled?: Predicate<KitDropdownItem<T>>;
|
|
15
|
-
}
|
|
16
|
-
export declare class KitDropdownComponent<T> implements ControlValueAccessor {
|
|
17
|
-
private changeDetectorRef;
|
|
18
|
-
/**
|
|
19
|
-
* an items list which is going to be rendered as dropdown items
|
|
20
|
-
*/
|
|
21
|
-
items: KitDropdownItem<T>[];
|
|
22
|
-
/**
|
|
23
|
-
* an item which needs to be selected as a default value
|
|
24
|
-
*/
|
|
25
|
-
selectedItem?: T;
|
|
26
|
-
/**
|
|
27
|
-
* an informative text that will be above the dropdown
|
|
28
|
-
*/
|
|
29
|
-
label?: string;
|
|
30
|
-
/**
|
|
31
|
-
* defines whether the component will be in disabled state
|
|
32
|
-
*/
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Defines an icon which will be used to the left of the info message
|
|
36
|
-
*/
|
|
37
|
-
messageIcon?: KitSvgIcon;
|
|
38
|
-
/**
|
|
39
|
-
* Defines a value which going to be an info message text
|
|
40
|
-
*/
|
|
41
|
-
messageText?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Defines a state whether the component will be invalid
|
|
44
|
-
*/
|
|
45
|
-
invalid?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* An item that is going to be presented as a default value.
|
|
48
|
-
* Using as a placeholder
|
|
49
|
-
*/
|
|
50
|
-
defaultItem?: KitDropdownItem<T>;
|
|
51
|
-
/**
|
|
52
|
-
* Defines dropdown popup list height. By default, listHeight is 200px.
|
|
53
|
-
*/
|
|
54
|
-
listHeight: number;
|
|
55
|
-
/**
|
|
56
|
-
* Whether the default item will be hidden. "true" by default
|
|
57
|
-
*/
|
|
58
|
-
hideDefaultItem: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Defines the icon which going to be the icon for the dropdown toggle button
|
|
61
|
-
*/
|
|
62
|
-
toggleIcon: KitSvgIcon;
|
|
63
|
-
popupSettings: PopupSettings;
|
|
64
|
-
isValuePrimitive: boolean;
|
|
65
|
-
readonly footerTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
66
|
-
readonly noDataTemplate: InputSignal<TemplateRef<HTMLTemplateElement> | undefined>;
|
|
67
|
-
/**
|
|
68
|
-
* Defines the size of the dropdown
|
|
69
|
-
*/
|
|
70
|
-
readonly size: InputSignal<KitDropdownSize>;
|
|
71
|
-
/**
|
|
72
|
-
* occurs once an item in the dropdown is selected
|
|
73
|
-
*/
|
|
74
|
-
selected: EventEmitter<KitDropdownItem<T>>;
|
|
75
|
-
/**
|
|
76
|
-
* Defines template for a dropdown value
|
|
77
|
-
*/
|
|
78
|
-
kitDropdownValueTemplate?: TemplateRef<HTMLTemplateElement>;
|
|
79
|
-
/**
|
|
80
|
-
* Defines template for a dropdown list item
|
|
81
|
-
*/
|
|
82
|
-
kitDropdownItemTemplate?: TemplateRef<HTMLElement>;
|
|
83
|
-
dropdown: DropDownListComponent | null;
|
|
84
|
-
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
85
|
-
readonly isPopupExpanded: WritableSignal<boolean>;
|
|
86
|
-
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
87
|
-
/**
|
|
88
|
-
* Build an object with appropriate options, based on hiding default item state
|
|
89
|
-
*/
|
|
90
|
-
buildPopupSettings(): PopupSettings;
|
|
91
|
-
/**
|
|
92
|
-
* Function that should be called every time the form control value changes
|
|
93
|
-
*/
|
|
94
|
-
onChange: (value: T) => void;
|
|
95
|
-
/**
|
|
96
|
-
* Function that should be called when input lost focus and changed form control state to "touched"
|
|
97
|
-
*/
|
|
98
|
-
onTouched: () => void;
|
|
99
|
-
onItemDisabled(): ItemDisabledFn;
|
|
100
|
-
/**
|
|
101
|
-
* Function that is called when dropdown list item selected
|
|
102
|
-
*/
|
|
103
|
-
onItemSelect(item: KitDropdownItem<T>): void;
|
|
104
|
-
writeValue(value: T): void;
|
|
105
|
-
registerOnChange(fn: (_: T) => void): void;
|
|
106
|
-
registerOnTouched(fn: () => void): void;
|
|
107
|
-
setDisabledState(disabled: boolean): void;
|
|
108
|
-
reset(value: T): void;
|
|
109
|
-
onOpen(): void;
|
|
110
|
-
onClose(): void;
|
|
111
|
-
getCssClasses(): Record<string, boolean>;
|
|
112
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownComponent<any>, never>;
|
|
113
|
-
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>;
|
|
114
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./kit-dropdown.component";
|
|
3
|
-
import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../kit-input-message/kit-input-message.module";
|
|
6
|
-
import * as i5 from "@angular/forms";
|
|
7
|
-
import * as i6 from "../kit-svg-icon/kit-svg-icon.module";
|
|
8
|
-
import * as i7 from "../kit-input-label/kit-input-label.module";
|
|
9
|
-
import * as i8 from "./kit-dropdown-item-template.directive";
|
|
10
|
-
import * as i9 from "../kit-truncate-text/kit-truncate-text.component";
|
|
11
|
-
export declare class KitDropdownModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitDropdownModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitDropdownModule, [typeof i1.KitDropdownComponent], [typeof i2.DropDownListModule, typeof i3.CommonModule, typeof i4.KitInputMessageModule, typeof i5.ReactiveFormsModule, typeof i5.FormsModule, typeof i6.KitSvgIconModule, typeof i7.KitInputLabelModule, typeof i8.KitDropdownItemTemplateDirective, typeof i9.KitTruncateTextComponent], [typeof i1.KitDropdownComponent, typeof i8.KitDropdownItemTemplateDirective]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KitDropdownModule>;
|
|
15
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class KitEmptySectionComponent {
|
|
4
|
-
text: string;
|
|
5
|
-
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEmptySectionComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitEmptySectionComponent, "kit-empty-section", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { InputSignal, OutputEmitterRef, Signal, TemplateRef, WritableSignal } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { Store } from '@ngxs/store';
|
|
4
|
-
import { KitGridDataResult } from '../../widgets/kit-grid-management/kit-grid-management.model';
|
|
5
|
-
import { KitGridColumnConfig, KitGridDataState } from '../../widgets/kit-grid-management/store/kit-grid.model';
|
|
6
|
-
import { KitGridDataStateChangeEvent, KitGridPageChangeEvent, KitGridSortSettings, KitPDFOptions } from '../kit-grid/kit-grid.model';
|
|
7
|
-
import { KitSortDescriptor } from '../../utils/kit-data-query/kit-data-query.model';
|
|
8
|
-
import { KitGridView } from '../../widgets/kit-grid-management/kit-grid-views/store/kit-grid-views.model';
|
|
9
|
-
import { KitGridComponent } from '../kit-grid/kit-grid.component';
|
|
10
|
-
import { KitGridExportComponent } from '../../widgets/kit-grid-management/kit-grid-export/kit-grid-export.component';
|
|
11
|
-
import { KitKendoDrawPdf } from '../../widgets/kit-grid-management/kit-grid-export/kit-grid-export.model';
|
|
12
|
-
import { KitFilterItem } from '../../widgets/kit-grid-management/kit-grid-filters/kit-grid-filters.model';
|
|
13
|
-
import { KitBreadcrumbsItem } from '../kit-breadcrumbs/kit-breadcrumbs.model';
|
|
14
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
15
|
-
import { KitButtonIconPosition, KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
16
|
-
import { KitBadgeTheme } from '../../directives/kit-badge/kit-badge.const';
|
|
17
|
-
import { KitBreadcrumbsService } from '../kit-breadcrumbs/kit-breadcrumbs.service';
|
|
18
|
-
import { KitGridUrlStateService } from '../../widgets/kit-grid-management/kit-grid-url-state.service';
|
|
19
|
-
import { KitGridColumnComponent } from '../kit-grid/kit-grid-column/kit-grid-column.component';
|
|
20
|
-
import { KitGridCellTranslationMap } from '../../widgets/kit-grid-management/kit-grid-cell/kit-grid-cell.model';
|
|
21
|
-
import * as i0 from "@angular/core";
|
|
22
|
-
export declare class KitEntityGridComponent<T> {
|
|
23
|
-
private readonly store;
|
|
24
|
-
private readonly kitBreadcrumbsService;
|
|
25
|
-
private readonly kitGridUrlStateService;
|
|
26
|
-
readonly gridData: InputSignal<KitGridDataResult<T> | null>;
|
|
27
|
-
readonly title: InputSignal<string>;
|
|
28
|
-
readonly gridColumns: InputSignal<KitGridColumnConfig[]>;
|
|
29
|
-
readonly defaultViewName: InputSignal<string>;
|
|
30
|
-
readonly viewGroup: InputSignal<string>;
|
|
31
|
-
readonly viewGroupConfig: InputSignal<string>;
|
|
32
|
-
readonly pdfOptions: InputSignal<KitPDFOptions>;
|
|
33
|
-
readonly getExportedData: InputSignal<() => Observable<{
|
|
34
|
-
data: T[];
|
|
35
|
-
total: number;
|
|
36
|
-
}>>;
|
|
37
|
-
readonly defaultSorting: InputSignal<KitSortDescriptor[]>;
|
|
38
|
-
readonly filterExcludedColumns: InputSignal<string[]>;
|
|
39
|
-
readonly systemViews: InputSignal<KitGridView[]>;
|
|
40
|
-
readonly translationMap: InputSignal<KitGridCellTranslationMap>;
|
|
41
|
-
readonly isDetailTemplateVisible: InputSignal<() => boolean>;
|
|
42
|
-
readonly detailTemplateExpandDisableIf: InputSignal<(context: T) => boolean>;
|
|
43
|
-
readonly gridHasData: InputSignal<boolean>;
|
|
44
|
-
readonly isLoading: InputSignal<boolean>;
|
|
45
|
-
readonly pagerInfoText: InputSignal<string>;
|
|
46
|
-
readonly showBreadcrumbs: InputSignal<boolean>;
|
|
47
|
-
readonly gridViewChanged: OutputEmitterRef<void>;
|
|
48
|
-
readonly kitGridComponent: Signal<KitGridComponent<T> | undefined>;
|
|
49
|
-
readonly gridExportComponent: Signal<KitGridExportComponent<T> | undefined>;
|
|
50
|
-
readonly columns: Signal<readonly KitGridColumnComponent[]>;
|
|
51
|
-
readonly gridDetailTemplate: Signal<TemplateRef<HTMLElement> | undefined>;
|
|
52
|
-
readonly drawPdf: Signal<KitKendoDrawPdf<T> | undefined>;
|
|
53
|
-
readonly filters$: Observable<KitFilterItem[]>;
|
|
54
|
-
readonly gridState$: Observable<KitGridDataState>;
|
|
55
|
-
pageSize: number;
|
|
56
|
-
readonly sortable: KitGridSortSettings;
|
|
57
|
-
readonly breadcrumbs: Signal<KitBreadcrumbsItem[]>;
|
|
58
|
-
readonly filtersVisible: WritableSignal<boolean>;
|
|
59
|
-
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
60
|
-
readonly kitButtonType: typeof KitButtonType;
|
|
61
|
-
readonly kitButtonKind: typeof KitButtonKind;
|
|
62
|
-
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
63
|
-
readonly kitBadgeTheme: typeof KitBadgeTheme;
|
|
64
|
-
isExporting: WritableSignal<boolean>;
|
|
65
|
-
constructor(store: Store, kitBreadcrumbsService: KitBreadcrumbsService, kitGridUrlStateService: KitGridUrlStateService);
|
|
66
|
-
onPageSizeChanged(event: KitGridPageChangeEvent): void;
|
|
67
|
-
onFiltersToggle(): void;
|
|
68
|
-
onGridViewChange(): void;
|
|
69
|
-
onDataStateChange(event: KitGridDataStateChangeEvent): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityGridComponent<any>, never>;
|
|
71
|
-
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>;
|
|
72
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { InputSignal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class KitEntitySectionComponent {
|
|
4
|
-
readonly isActive: InputSignal<boolean>;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntitySectionComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntitySectionComponent, "kit-entity-section", never, { "isActive": { "alias": "isActive"; "required": false; "isSignal": true; }; }, {}, never, ["[header]", "[content]"], true, never>;
|
|
7
|
-
}
|
package/lib/components/kit-entity-section-container/kit-entity-section-container.component.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class KitEntitySectionContainerComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntitySectionContainerComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntitySectionContainerComponent, "kit-entity-section-container", never, {}, {}, never, ["[title]", "*"], true, never>;
|
|
5
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class KitEntityTitleComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityTitleComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KitEntityTitleComponent, "kit-entity-title", never, {}, {}, never, ["*"], false, never>;
|
|
5
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./kit-entity-title.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class KitEntityTitleModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitEntityTitleModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitEntityTitleModule, [typeof i1.KitEntityTitleComponent], [typeof i2.CommonModule], [typeof i1.KitEntityTitleComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KitEntityTitleModule>;
|
|
8
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class KitFileCardMessagesComponent {
|
|
3
|
-
/**
|
|
4
|
-
* Defines a value to use as "Create Date" label
|
|
5
|
-
*/
|
|
6
|
-
createDate: string;
|
|
7
|
-
/**
|
|
8
|
-
* Defines a value to use as "Created By" label
|
|
9
|
-
*/
|
|
10
|
-
createdBy: string;
|
|
11
|
-
/**
|
|
12
|
-
* Defines a value to use as "View" button label
|
|
13
|
-
*/
|
|
14
|
-
viewButtonLabel: string;
|
|
15
|
-
/**
|
|
16
|
-
* Defines a value to use as "Download" button label
|
|
17
|
-
*/
|
|
18
|
-
downloadButtonLabel: string;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardMessagesComponent, never>;
|
|
20
|
-
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>;
|
|
21
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { KitSvgIcon } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import { KitButtonIconPosition, KitButtonType } from '../kit-button/kit-button.const';
|
|
4
|
-
import { KitFileCardMessagesComponent } from './kit-file-card-messages.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class KitFileCardComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Defines a value that will be used as a card title
|
|
9
|
-
*/
|
|
10
|
-
title: string;
|
|
11
|
-
/**
|
|
12
|
-
* Defines a value that will be used as the card type css class
|
|
13
|
-
*/
|
|
14
|
-
type?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Defines a value that will be used as a card label
|
|
17
|
-
*/
|
|
18
|
-
label: string;
|
|
19
|
-
/**
|
|
20
|
-
* Defines a value that will be used to render card icon
|
|
21
|
-
*/
|
|
22
|
-
fileType: string;
|
|
23
|
-
/**
|
|
24
|
-
* Defines a value that will be used as a card date
|
|
25
|
-
*/
|
|
26
|
-
date: string;
|
|
27
|
-
/**
|
|
28
|
-
* Defines a value that will be used as a card name
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
* An action which is emitted when view button clicked
|
|
33
|
-
*/
|
|
34
|
-
viewButtonClicked: EventEmitter<void>;
|
|
35
|
-
/**
|
|
36
|
-
* An action which is emitted when download button clicked
|
|
37
|
-
*/
|
|
38
|
-
downloadButtonClicked: EventEmitter<void>;
|
|
39
|
-
customMessages: KitFileCardMessagesComponent | null;
|
|
40
|
-
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
41
|
-
readonly kitButtonType: typeof KitButtonType;
|
|
42
|
-
readonly kitButtonIconPosition: typeof KitButtonIconPosition;
|
|
43
|
-
readonly dateFormat: string;
|
|
44
|
-
readonly createDateLabel: string;
|
|
45
|
-
readonly createdByLabel: string;
|
|
46
|
-
readonly downloadButtonLabel: string;
|
|
47
|
-
readonly viewButtonLabel: string;
|
|
48
|
-
getFileIconByExtension(extension: string): string | null;
|
|
49
|
-
hasViewFileButton(fileType: string): boolean;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardComponent, never>;
|
|
51
|
-
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>;
|
|
52
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare enum KitFileCardFileType {
|
|
2
|
-
CSV = ".csv",
|
|
3
|
-
XLS = ".xls",
|
|
4
|
-
XLSX = ".xlsx",
|
|
5
|
-
ODS = ".ods",
|
|
6
|
-
DOC = ".doc",
|
|
7
|
-
DOCX = ".docx",
|
|
8
|
-
TXT = ".txt",
|
|
9
|
-
ODF = ".odf",
|
|
10
|
-
ODT = ".odt",
|
|
11
|
-
RTF = ".rtf",
|
|
12
|
-
PDF = ".pdf",
|
|
13
|
-
TIFF = ".tiff",
|
|
14
|
-
JPG = ".jpg",
|
|
15
|
-
JPEG = ".jpeg",
|
|
16
|
-
PNG = ".png",
|
|
17
|
-
GIF = ".gif",
|
|
18
|
-
BMP = ".bmp"
|
|
19
|
-
}
|
|
20
|
-
export declare enum KitFileCardFileTypeGroup {
|
|
21
|
-
EXCEL = "excel",
|
|
22
|
-
WORD = "word",
|
|
23
|
-
PDF = "pdf",
|
|
24
|
-
IMAGE = "image"
|
|
25
|
-
}
|
|
26
|
-
export declare const fileTypeGroupMap: Record<KitFileCardFileTypeGroup, KitFileCardFileType[]>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./kit-file-card.component";
|
|
3
|
-
import * as i2 from "./kit-file-card-messages.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "../kit-button/kit-button.module";
|
|
6
|
-
import * as i5 from "../kit-svg-icon/kit-svg-icon.module";
|
|
7
|
-
export declare class KitFileCardModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileCardModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitFileCardModule, [typeof i1.KitFileCardComponent, typeof i2.KitFileCardMessagesComponent], [typeof i3.CommonModule, typeof i4.KitButtonModule, typeof i5.KitSvgIconModule, typeof i3.DatePipe], [typeof i1.KitFileCardComponent, typeof i2.KitFileCardMessagesComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KitFileCardModule>;
|
|
11
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { KitButtonKind } from '../kit-button/kit-button.const';
|
|
3
|
-
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
4
|
-
import { KitFileUploadFile, KitFileUploadFileRestrictions, KitFileUploadFileRestrictionsMessages } from './kit-file-upload.model';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class KitFileUploadComponent {
|
|
7
|
-
/**
|
|
8
|
-
* Defines the URL of the endpoint for the upload request
|
|
9
|
-
*/
|
|
10
|
-
saveUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
* Defines the initial list of files
|
|
13
|
-
*/
|
|
14
|
-
files: KitFileUploadFile[];
|
|
15
|
-
/**
|
|
16
|
-
* Defines a label for "Select files" button
|
|
17
|
-
*/
|
|
18
|
-
selectFilesLabel?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Defines a label for dropzone
|
|
21
|
-
*/
|
|
22
|
-
dropzoneLabel?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Defines the restrictions for selected files
|
|
25
|
-
*/
|
|
26
|
-
restrictions?: KitFileUploadFileRestrictions;
|
|
27
|
-
/**
|
|
28
|
-
* Defines a list of error messages for selected files
|
|
29
|
-
*/
|
|
30
|
-
restrictionsErrorMessages?: KitFileUploadFileRestrictionsMessages;
|
|
31
|
-
/**
|
|
32
|
-
* Defines whether the component will have an action button
|
|
33
|
-
*/
|
|
34
|
-
hasActionButton: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Defines an action button label
|
|
37
|
-
*/
|
|
38
|
-
actionButtonLabel?: string;
|
|
39
|
-
/**
|
|
40
|
-
* An action which is emitted when download file button clicked
|
|
41
|
-
*/
|
|
42
|
-
fileDownloaded: EventEmitter<KitFileUploadFile>;
|
|
43
|
-
/**
|
|
44
|
-
* An action which is emitted when files are selected
|
|
45
|
-
*/
|
|
46
|
-
filesSelected: EventEmitter<KitFileUploadFile[]>;
|
|
47
|
-
/**
|
|
48
|
-
* An action which is emitted when action button clicked
|
|
49
|
-
*/
|
|
50
|
-
actionButtonClicked: EventEmitter<void>;
|
|
51
|
-
readonly KitSvgIcon: typeof KitSvgIcon;
|
|
52
|
-
readonly KitSvgIconType: typeof KitSvgIconType;
|
|
53
|
-
readonly KitButtonKind: typeof KitButtonKind;
|
|
54
|
-
readonly kitFileUploadValidationErrorMap: Record<string, () => string>;
|
|
55
|
-
onFileDownload(file: KitFileUploadFile): void;
|
|
56
|
-
onFilesSelect(files: KitFileUploadFile[]): void;
|
|
57
|
-
onActionButtonClick(): void;
|
|
58
|
-
getValidationError(error: string): string;
|
|
59
|
-
getTypedFiles(files: KitFileUploadFile[]): KitFileUploadFile[];
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileUploadComponent, never>;
|
|
61
|
-
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>;
|
|
62
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FileInfo } from '@progress/kendo-angular-upload';
|
|
2
|
-
export interface KitFileUploadFileRestrictions {
|
|
3
|
-
allowedExtensions?: string[];
|
|
4
|
-
maxFileSize?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface KitFileUploadFileRestrictionsMessages {
|
|
7
|
-
allowedExtensions?: string;
|
|
8
|
-
maxFileSize?: string;
|
|
9
|
-
}
|
|
10
|
-
export type KitFileUploadFile = FileInfo;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./kit-file-upload.component";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@progress/kendo-angular-upload";
|
|
5
|
-
import * as i4 from "../kit-svg-icon/kit-svg-icon.module";
|
|
6
|
-
import * as i5 from "@angular/forms";
|
|
7
|
-
import * as i6 from "../kit-button/kit-button.module";
|
|
8
|
-
export declare class KitFileUploadModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitFileUploadModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KitFileUploadModule, [typeof i1.KitFileUploadComponent], [typeof i2.CommonModule, typeof i3.UploadModule, typeof i4.KitSvgIconModule, typeof i5.FormsModule, typeof i6.KitButtonModule], [typeof i1.KitFileUploadComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<KitFileUploadModule>;
|
|
12
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ElementRef, InputSignal, OnInit, Signal, ViewContainerRef, WritableSignal } from '@angular/core';
|
|
2
|
-
import { KitSvgIcon, KitSvgIconType } from '../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import { KitTextboxSize } from '../kit-textbox/kit-textbox.const';
|
|
4
|
-
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
|
5
|
-
import { KitPopupComponent } from '../kit-popup/kit-popup.component';
|
|
6
|
-
import { GlobalSearchPrompt, GlobalSearchResult } from './kit-global-search.model';
|
|
7
|
-
import { KitPillTheme } from '../kit-pill/kit-pill.const';
|
|
8
|
-
import { Observable } from 'rxjs';
|
|
9
|
-
import { KitButtonKind, KitButtonType } from '../kit-button/kit-button.const';
|
|
10
|
-
import { Router } from '@angular/router';
|
|
11
|
-
import { Store } from '@ngxs/store';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class KitGlobalSearchComponent implements OnInit {
|
|
14
|
-
private readonly router;
|
|
15
|
-
private readonly store;
|
|
16
|
-
readonly searchFn: InputSignal<(searchText: string) => Observable<(GlobalSearchResult | null)[]>>;
|
|
17
|
-
readonly displayedLineItemsNumber: InputSignal<number>;
|
|
18
|
-
readonly prompts: InputSignal<GlobalSearchPrompt[]>;
|
|
19
|
-
readonly textbox: Signal<TextBoxComponent>;
|
|
20
|
-
readonly anchor: Signal<ElementRef>;
|
|
21
|
-
readonly popup: Signal<KitPopupComponent | undefined>;
|
|
22
|
-
readonly container: Signal<ViewContainerRef>;
|
|
23
|
-
readonly kitSvgIcon: typeof KitSvgIcon;
|
|
24
|
-
readonly kitTextboxSize: typeof KitTextboxSize;
|
|
25
|
-
readonly kitSvgIconType: typeof KitSvgIconType;
|
|
26
|
-
readonly kitPillTheme: typeof KitPillTheme;
|
|
27
|
-
readonly kitButtonType: typeof KitButtonType;
|
|
28
|
-
readonly kitButtonKind: typeof KitButtonKind;
|
|
29
|
-
readonly dateFormat: string;
|
|
30
|
-
readonly popupClass: string;
|
|
31
|
-
readonly searchResults: WritableSignal<(GlobalSearchResult | null)[]>;
|
|
32
|
-
searchValue: string;
|
|
33
|
-
readonly showPropmts: WritableSignal<boolean>;
|
|
34
|
-
readonly userPermissions$: Observable<string[]>;
|
|
35
|
-
documentClick(event: Event): void;
|
|
36
|
-
constructor(router: Router, store: Store);
|
|
37
|
-
ngOnInit(): void;
|
|
38
|
-
get isPopupOpen(): boolean;
|
|
39
|
-
clearSearch(): void;
|
|
40
|
-
openPopup(): void;
|
|
41
|
-
navigate(link: string[] | undefined): void;
|
|
42
|
-
onSelectPrompt(prompt: GlobalSearchPrompt): void;
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGlobalSearchComponent, never>;
|
|
44
|
-
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>;
|
|
45
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export interface GlobalSearchResult {
|
|
2
|
-
name: string;
|
|
3
|
-
items: GlobalSearchLineItem[];
|
|
4
|
-
total: number;
|
|
5
|
-
categoryLink: string[];
|
|
6
|
-
}
|
|
7
|
-
export interface GlobalSearchLineItem {
|
|
8
|
-
title: string | null;
|
|
9
|
-
subtitle: string | null;
|
|
10
|
-
link?: string[];
|
|
11
|
-
dates: {
|
|
12
|
-
firstDate: {
|
|
13
|
-
label: string | null;
|
|
14
|
-
value: string | null;
|
|
15
|
-
};
|
|
16
|
-
secondDate: {
|
|
17
|
-
label: string | null;
|
|
18
|
-
value: string | null;
|
|
19
|
-
};
|
|
20
|
-
} | null;
|
|
21
|
-
routePath: {
|
|
22
|
-
from: string | null;
|
|
23
|
-
to: string | null;
|
|
24
|
-
type: 'Air' | 'Road' | 'Sea' | 'Rail' | null;
|
|
25
|
-
containerMode?: string | null;
|
|
26
|
-
} | null;
|
|
27
|
-
status?: string;
|
|
28
|
-
additionalContent: MatchResult[];
|
|
29
|
-
}
|
|
30
|
-
export interface GlobalSearchPrompt {
|
|
31
|
-
label: string;
|
|
32
|
-
link: string[];
|
|
33
|
-
permission: string;
|
|
34
|
-
}
|
|
35
|
-
export interface MatchResult {
|
|
36
|
-
path: string;
|
|
37
|
-
key: string;
|
|
38
|
-
value: unknown;
|
|
39
|
-
translateKey: string;
|
|
40
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { GlobalSearchLineItem, GlobalSearchResult, MatchResult } from './kit-global-search.model';
|
|
3
|
-
import { Store } from '@ngxs/store';
|
|
4
|
-
export declare const mapGlobalSearchResult: <T>(store: Store, requiredPermission: string, dataFetcher: () => Observable<{
|
|
5
|
-
total: number;
|
|
6
|
-
data: T[];
|
|
7
|
-
}>, categoryName: string, categoryLink: string[], itemMapper: (item: T) => GlobalSearchLineItem) => Observable<GlobalSearchResult | null>;
|
|
8
|
-
export declare const findMatches: <T extends object>(obj: T, translatePrefix: string, excludedKeys?: string[], search?: string) => MatchResult[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class KitGridCellTemplateDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridCellTemplateDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridCellTemplateDirective, "[kitGridCellTemplate]", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { KitSvgIcon, KitSvgIconType } from '../../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class KitGridColumnComponent {
|
|
5
|
-
/**
|
|
6
|
-
* Defines the field to which the column is bound
|
|
7
|
-
*/
|
|
8
|
-
field: string;
|
|
9
|
-
/**
|
|
10
|
-
* Defines the title of the column
|
|
11
|
-
*/
|
|
12
|
-
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the column title icon
|
|
15
|
-
*/
|
|
16
|
-
titleIcon?: KitSvgIcon;
|
|
17
|
-
/**
|
|
18
|
-
* Defines the column title icon type
|
|
19
|
-
*/
|
|
20
|
-
titleIconType: KitSvgIconType;
|
|
21
|
-
/**
|
|
22
|
-
* Defines whether the column can be sorted by clicking on its title
|
|
23
|
-
*/
|
|
24
|
-
sortable: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Defines the width of the column (in pixels)
|
|
27
|
-
*/
|
|
28
|
-
width?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Set the visibility of the column
|
|
31
|
-
*/
|
|
32
|
-
hidden: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Defines the column cell template
|
|
35
|
-
*/
|
|
36
|
-
cellTemplate?: TemplateRef<HTMLElement>;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridColumnComponent, never>;
|
|
38
|
-
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>;
|
|
39
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class KitGridDetailTemplateDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KitGridDetailTemplateDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KitGridDetailTemplateDirective, "[kitGridDetailTemplate]", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|