@indigina/ui-kit 1.1.103 → 1.1.105
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 +526 -533
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-card/kit-card.component.d.ts +1 -1
- package/lib/components/kit-card/kit-card.module.d.ts +2 -2
- package/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.d.ts +1 -1
- package/lib/components/kit-input-label/kit-input-label.component.d.ts +1 -1
- package/lib/components/kit-input-label/kit-input-label.module.d.ts +2 -2
- package/lib/components/kit-location-stepper/kit-location-stepper.component.d.ts +1 -1
- package/lib/components/kit-location-stepper/kit-location-stepper.module.d.ts +2 -2
- package/lib/components/kit-navigation-menu/kit-navigation-menu.component.d.ts +1 -1
- package/lib/components/kit-navigation-menu/kit-navigation-menu.module.d.ts +2 -2
- package/lib/components/kit-popup/kit-popup.component.d.ts +3 -2
- package/lib/components/kit-popup/kit-popup.model.d.ts +4 -0
- package/lib/components/kit-skeleton/kit-skeleton.component.d.ts +4 -4
- package/lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component.d.ts +1 -1
- package/lib/directives/kit-tooltip/kit-tooltip.const.d.ts +6 -0
- package/lib/directives/kit-tooltip/kit-tooltip.directive.d.ts +3 -7
- package/package.json +30 -32
- package/public-api.d.ts +3 -2
- package/styles/components/toastr.scss +3 -4
- package/styles/kendo.scss +20 -0
- package/styles/styles.scss +6 -26
- package/styles/theming.scss +0 -2
- package/esm2022/indigina-ui-kit.mjs +0 -5
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +0 -176
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.directive.mjs +0 -25
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.module.mjs +0 -60
- package/esm2022/lib/components/kit-avatar/kit-avatar.component.mjs +0 -32
- package/esm2022/lib/components/kit-avatar/kit-avatar.const.mjs +0 -7
- package/esm2022/lib/components/kit-avatar/kit-avatar.module.mjs +0 -28
- package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.component.mjs +0 -20
- package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.model.mjs +0 -2
- package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.module.mjs +0 -27
- package/esm2022/lib/components/kit-button/kit-button.component.mjs +0 -71
- package/esm2022/lib/components/kit-button/kit-button.const.mjs +0 -20
- package/esm2022/lib/components/kit-button/kit-button.module.mjs +0 -32
- package/esm2022/lib/components/kit-card/kit-card.component.mjs +0 -89
- package/esm2022/lib/components/kit-card/kit-card.const.mjs +0 -11
- package/esm2022/lib/components/kit-card/kit-card.model.mjs +0 -2
- package/esm2022/lib/components/kit-card/kit-card.module.mjs +0 -41
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.component.mjs +0 -111
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.module.mjs +0 -44
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.component.mjs +0 -67
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.module.mjs +0 -28
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.component.mjs +0 -29
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.module.mjs +0 -32
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.mjs +0 -34
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.mjs +0 -28
- package/esm2022/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.mjs +0 -25
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.mjs +0 -51
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.model.mjs +0 -2
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.mjs +0 -53
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.mjs +0 -35
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.model.mjs +0 -6
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.mjs +0 -36
- package/esm2022/lib/components/kit-data-field/kit-data-field.component.mjs +0 -22
- package/esm2022/lib/components/kit-datepicker/kit-datepicker.component.mjs +0 -114
- package/esm2022/lib/components/kit-datepicker/kit-datepicker.module.mjs +0 -40
- package/esm2022/lib/components/kit-daterange/kit-daterange.component.mjs +0 -127
- package/esm2022/lib/components/kit-daterange/kit-daterange.module.mjs +0 -46
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +0 -136
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.module.mjs +0 -41
- package/esm2022/lib/components/kit-dialog/kit-dialog.component.mjs +0 -12
- package/esm2022/lib/components/kit-dialog/kit-dialog.module.mjs +0 -34
- package/esm2022/lib/components/kit-dialog/kit-dialog.service.mjs +0 -35
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.component.mjs +0 -12
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.module.mjs +0 -24
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.component.mjs +0 -162
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.const.mjs +0 -8
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.module.mjs +0 -47
- package/esm2022/lib/components/kit-empty-section/kit-empty-section.component.mjs +0 -22
- package/esm2022/lib/components/kit-entity-section/kit-entity-section.component.mjs +0 -11
- package/esm2022/lib/components/kit-entity-section-container/kit-entity-section-container.component.mjs +0 -11
- package/esm2022/lib/components/kit-entity-title/kit-entity-title.component.mjs +0 -11
- package/esm2022/lib/components/kit-entity-title/kit-entity-title.module.mjs +0 -24
- package/esm2022/lib/components/kit-file-card/kit-file-card-messages.component.mjs +0 -41
- package/esm2022/lib/components/kit-file-card/kit-file-card.component.mjs +0 -93
- package/esm2022/lib/components/kit-file-card/kit-file-card.const.mjs +0 -55
- package/esm2022/lib/components/kit-file-card/kit-file-card.module.mjs +0 -39
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.component.mjs +0 -94
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.model.mjs +0 -2
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.module.mjs +0 -36
- package/esm2022/lib/components/kit-grid/kit-grid-cell-template.directive.mjs +0 -14
- package/esm2022/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.mjs +0 -56
- package/esm2022/lib/components/kit-grid/kit-grid-detail-template.directive.mjs +0 -14
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +0 -195
- package/esm2022/lib/components/kit-grid/kit-grid.const.mjs +0 -6
- package/esm2022/lib/components/kit-grid/kit-grid.model.mjs +0 -2
- package/esm2022/lib/components/kit-grid/kit-grid.module.mjs +0 -53
- package/esm2022/lib/components/kit-input-label/kit-input-label.component.mjs +0 -26
- package/esm2022/lib/components/kit-input-label/kit-input-label.module.mjs +0 -36
- package/esm2022/lib/components/kit-input-message/kit-input-message.component.mjs +0 -22
- package/esm2022/lib/components/kit-input-message/kit-input-message.module.mjs +0 -28
- package/esm2022/lib/components/kit-loader/kit-loader.component.mjs +0 -19
- package/esm2022/lib/components/kit-loader/kit-loader.module.mjs +0 -24
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.component.mjs +0 -28
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.module.mjs +0 -32
- package/esm2022/lib/components/kit-multiselect/kit-multiselect.component.mjs +0 -99
- package/esm2022/lib/components/kit-multiselect/kit-multiselect.model.mjs +0 -2
- package/esm2022/lib/components/kit-multiselect/kit-multiselect.module.mjs +0 -47
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.mjs +0 -54
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.module.mjs +0 -32
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +0 -123
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.model.mjs +0 -2
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.module.mjs +0 -46
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.service.mjs +0 -26
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.util.mjs +0 -17
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.mjs +0 -39
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.const.mjs +0 -6
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.model.mjs +0 -2
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.mjs +0 -32
- package/esm2022/lib/components/kit-note/kit-note.component.mjs +0 -11
- package/esm2022/lib/components/kit-note/kit-note.module.mjs +0 -20
- package/esm2022/lib/components/kit-notification/kit-notification.animation.mjs +0 -12
- package/esm2022/lib/components/kit-notification/kit-notification.component.mjs +0 -54
- package/esm2022/lib/components/kit-notification/kit-notification.const.mjs +0 -8
- package/esm2022/lib/components/kit-notification/kit-notification.service.mjs +0 -35
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.mjs +0 -118
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.const.mjs +0 -8
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.mjs +0 -41
- package/esm2022/lib/components/kit-pill/kit-pill.component.mjs +0 -73
- package/esm2022/lib/components/kit-pill/kit-pill.const.mjs +0 -6
- package/esm2022/lib/components/kit-popup/kit-popup.component.mjs +0 -104
- package/esm2022/lib/components/kit-popup/kit-popup.model.mjs +0 -13
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.component.mjs +0 -53
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.model.mjs +0 -2
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.component.mjs +0 -103
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.const.mjs +0 -6
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.model.mjs +0 -2
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.module.mjs +0 -36
- package/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation-section/kit-scroll-navigation-section.component.mjs +0 -27
- package/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation.component.mjs +0 -70
- package/esm2022/lib/components/kit-scroll-navigation/kit-scroll-navigation.module.mjs +0 -37
- package/esm2022/lib/components/kit-search-bar/kit-search-bar.component.mjs +0 -76
- package/esm2022/lib/components/kit-search-bar/kit-search-bar.module.mjs +0 -32
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.component.mjs +0 -49
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.module.mjs +0 -28
- package/esm2022/lib/components/kit-sortable/kit-sortable.component.mjs +0 -36
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.component.mjs +0 -25
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.const.mjs +0 -148
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.module.mjs +0 -20
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +0 -14
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.module.mjs +0 -20
- package/esm2022/lib/components/kit-switch/kit-switch-item.model.mjs +0 -2
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +0 -96
- package/esm2022/lib/components/kit-switch/kit-switch.module.mjs +0 -43
- package/esm2022/lib/components/kit-tabs/kit-tab/kit-tab.component.mjs +0 -47
- package/esm2022/lib/components/kit-tabs/kit-tabs.component.mjs +0 -49
- package/esm2022/lib/components/kit-tabs/kit-tabs.const.mjs +0 -6
- package/esm2022/lib/components/kit-tabs/kit-tabs.model.mjs +0 -2
- package/esm2022/lib/components/kit-tabs/kit-tabs.module.mjs +0 -37
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +0 -49
- package/esm2022/lib/components/kit-text-label/kit-text-label.module.mjs +0 -32
- package/esm2022/lib/components/kit-textarea/kit-textarea-autoresize.directive.mjs +0 -32
- package/esm2022/lib/components/kit-textarea/kit-textarea.component.mjs +0 -148
- package/esm2022/lib/components/kit-textarea/kit-textarea.const.mjs +0 -8
- package/esm2022/lib/components/kit-textarea/kit-textarea.module.mjs +0 -41
- package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +0 -120
- package/esm2022/lib/components/kit-textbox/kit-textbox.const.mjs +0 -13
- package/esm2022/lib/components/kit-textbox/kit-textbox.module.mjs +0 -40
- package/esm2022/lib/components/kit-tilelayout/kit-tilelayout-item.component.mjs +0 -18
- package/esm2022/lib/components/kit-tilelayout/kit-tilelayout.component.mjs +0 -52
- package/esm2022/lib/components/kit-tilelayout/kit-tilelayout.interface.mjs +0 -2
- package/esm2022/lib/components/kit-tilelayout/kit-tilelayout.module.mjs +0 -33
- package/esm2022/lib/components/kit-timeline/kit-timeline-card/kit-timeline-card.component.mjs +0 -30
- package/esm2022/lib/components/kit-timeline/kit-timeline.component.mjs +0 -24
- package/esm2022/lib/components/kit-timeline/kit-timeline.const.mjs +0 -19
- package/esm2022/lib/components/kit-timeline/kit-timeline.model.mjs +0 -2
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.component.mjs +0 -144
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +0 -43
- package/esm2022/lib/components/kit-toastr/kit-toastr.module.mjs +0 -26
- package/esm2022/lib/components/kit-toastr/kit-toastr.service.mjs +0 -84
- package/esm2022/lib/components/kit-toggle/kit-toggle.component.mjs +0 -89
- package/esm2022/lib/components/kit-toggle/kit-toggle.module.mjs +0 -36
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.component.mjs +0 -154
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.model.mjs +0 -11
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.module.mjs +0 -55
- package/esm2022/lib/directives/kit-badge/kit-badge.const.mjs +0 -9
- package/esm2022/lib/directives/kit-badge/kit-badge.directive.mjs +0 -58
- package/esm2022/lib/directives/kit-badge/kit-badge.module.mjs +0 -20
- package/esm2022/lib/directives/kit-permission/kit-permission.directive.mjs +0 -42
- package/esm2022/lib/directives/kit-permission/kit-permission.module.mjs +0 -20
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.directive.mjs +0 -47
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.module.mjs +0 -23
- package/esm2022/lib/services/kit-query-params.service.mjs +0 -42
- package/esm2022/lib/utils/kit-data-query/kit-data-query.const.mjs +0 -28
- package/esm2022/lib/utils/kit-data-query/kit-data-query.model.mjs +0 -2
- package/esm2022/lib/utils/kit-data-query/kit-data-query.util.mjs +0 -3
- package/esm2022/lib/utils/random.util.mjs +0 -3
- package/esm2022/public-api.mjs +0 -211
- package/lib/directives/kit-tooltip/kit-tooltip.module.d.ts +0 -8
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { KitSvgSpriteComponent } from './kit-svg-sprite.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class KitSvgSpriteModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgSpriteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitSvgSpriteModule, declarations: [KitSvgSpriteComponent], exports: [KitSvgSpriteComponent] }); }
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgSpriteModule }); }
|
|
8
|
-
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgSpriteModule, decorators: [{
|
|
10
|
-
type: NgModule,
|
|
11
|
-
args: [{
|
|
12
|
-
declarations: [
|
|
13
|
-
KitSvgSpriteComponent,
|
|
14
|
-
],
|
|
15
|
-
exports: [
|
|
16
|
-
KitSvgSpriteComponent,
|
|
17
|
-
],
|
|
18
|
-
}]
|
|
19
|
-
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXN2Zy1zcHJpdGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9raXQtc3ZnLXNwcml0ZS9raXQtc3ZnLXNwcml0ZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7QUFVbkUsTUFBTSxPQUFPLGtCQUFrQjs4R0FBbEIsa0JBQWtCOytHQUFsQixrQkFBa0IsaUJBTjNCLHFCQUFxQixhQUdyQixxQkFBcUI7K0dBR1osa0JBQWtCOzsyRkFBbEIsa0JBQWtCO2tCQVI5QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixxQkFBcUI7cUJBQ3RCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxxQkFBcUI7cUJBQ3RCO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEtpdFN2Z1Nwcml0ZUNvbXBvbmVudCB9IGZyb20gJy4va2l0LXN2Zy1zcHJpdGUuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgS2l0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0OyBzbyB0aGlzIHdpbGwgYmUgc2hvd24gaW5zdGVhZCBvZiB0aXRsZSBpbiBjYXNlIG9mIHVzZVxuICAgKi9cbiAgaWNvbj86IEtpdFN2Z0ljb247XG5cbiAgLyoqXG4gICAqIGEgZnVuY3Rpb24gd2hpY2ggaXMgZ29pbmcgdG8gYmUgdXNlZCBpbiBvcmRlciB0byBkZWNpZGUgd2hldGhlciBhbiBpdGVtIG5lZWRzIHRvIGJlIGRpc2FibGVkXG4gICAqL1xuICBkaXNhYmxlZD86IFByZWRpY2F0ZTxLaXRTd2l0Y2hJdGVtPjtcbn1cbiJdfQ==
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@progress/kendo-angular-buttons";
|
|
4
|
-
import * as i2 from "@angular/common";
|
|
5
|
-
import * as i3 from "../kit-svg-icon/kit-svg-icon.component";
|
|
6
|
-
import * as i4 from "../kit-input-message/kit-input-message.component";
|
|
7
|
-
import * as i5 from "../kit-input-label/kit-input-label.component";
|
|
8
|
-
export var KitSwitchMode;
|
|
9
|
-
(function (KitSwitchMode) {
|
|
10
|
-
KitSwitchMode["SINGLE"] = "single";
|
|
11
|
-
KitSwitchMode["MULTI"] = "multiple";
|
|
12
|
-
})(KitSwitchMode || (KitSwitchMode = {}));
|
|
13
|
-
export var KitSwitchState;
|
|
14
|
-
(function (KitSwitchState) {
|
|
15
|
-
KitSwitchState["REGULAR"] = "regular";
|
|
16
|
-
KitSwitchState["DANGER"] = "danger";
|
|
17
|
-
})(KitSwitchState || (KitSwitchState = {}));
|
|
18
|
-
export class KitSwitchComponent {
|
|
19
|
-
constructor() {
|
|
20
|
-
/**
|
|
21
|
-
* items list which is going to be rendered as switch buttons
|
|
22
|
-
* each of them should have uniq value but not uniq title
|
|
23
|
-
*/
|
|
24
|
-
this.items = [];
|
|
25
|
-
/**
|
|
26
|
-
* defines whether it will be possible to choose several options at time
|
|
27
|
-
*/
|
|
28
|
-
this.mode = KitSwitchMode.SINGLE;
|
|
29
|
-
/**
|
|
30
|
-
* Defines a particular state for the component
|
|
31
|
-
*/
|
|
32
|
-
this.state = KitSwitchState.REGULAR;
|
|
33
|
-
/**
|
|
34
|
-
* emits when an items has been selected
|
|
35
|
-
*/
|
|
36
|
-
this.selected = new EventEmitter();
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* occurs when an item has been selected
|
|
40
|
-
*
|
|
41
|
-
* @param selected false if a previous value comes
|
|
42
|
-
* @param item an item which is selected currently or a previous one
|
|
43
|
-
*/
|
|
44
|
-
onItemSelect(selected, item) {
|
|
45
|
-
// we don't need to emit an event in case it's an old value and "single" mode is turned on
|
|
46
|
-
if (this.isSingleMode() && !selected) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
this.selected.emit({
|
|
50
|
-
item,
|
|
51
|
-
selected,
|
|
52
|
-
mode: this.mode,
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* returns true if "selection" input contains a value for an item
|
|
57
|
-
*
|
|
58
|
-
* @param item an item for which need to check whether it needs to be selected
|
|
59
|
-
*/
|
|
60
|
-
isItemSelected(item) {
|
|
61
|
-
return !!this.selection && this.selection.includes(item.value);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* returns "true" in case the mode is set to "single"
|
|
65
|
-
*
|
|
66
|
-
* @private
|
|
67
|
-
*/
|
|
68
|
-
isSingleMode() {
|
|
69
|
-
return this.mode === KitSwitchMode.SINGLE;
|
|
70
|
-
}
|
|
71
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
72
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KitSwitchComponent, selector: "kit-switch", inputs: { items: "items", mode: "mode", label: "label", disabled: "disabled", selection: "selection", messageIcon: "messageIcon", messageText: "messageText", state: "state" }, outputs: { selected: "selected" }, ngImport: i0, template: "<div class=\"kit-switch {{ state }}\">\n <ng-container *ngIf=\"items.length\">\n @if (label) {\n <kit-input-label class=\"label\"\n [text]=\"label\"\n ></kit-input-label>\n }\n\n <kendo-buttongroup look=\"outline\" class=\"button-group\"\n [selection]=\"mode\"\n [class.disabled]=\"disabled\">\n <button *ngFor=\"let item of items\" class=\"button\" kendoButton\n [selected]=\"isItemSelected(item)\"\n [togglable]=\"true\"\n [disabled]=\"item.disabled && item.disabled(item)\"\n (selectedChange)=\"onItemSelect($event, item)\">\n <ng-container *ngIf=\"item.title; else icon\">\n {{ item.title }}\n </ng-container>\n\n <ng-template #icon>\n <kit-svg-icon class=\"icon-wrapper\"\n [icon]=\"item.icon\"\n ></kit-svg-icon>\n </ng-template>\n </button>\n </kendo-buttongroup>\n <kit-input-message *ngIf=\"messageText\"\n [icon]=\"messageIcon\"\n [message]=\"messageText\"\n ></kit-input-message>\n </ng-container>\n</div>\n", styles: [":root{--ui-kit-color-white: #ffffff;--ui-kit-color-black: #000000;--ui-kit-color-main: #56a2f7;--ui-kit-color-hover: #3678c3;--ui-kit-color-selected: #3678c366;--ui-kit-color-active: #3678c3;--ui-kit-color-focus: #56a2f733;--ui-kit-color-background: #e4eeff;--ui-kit-color-grey-0: #252b30;--ui-kit-color-grey-2: #a7b2c3;--ui-kit-color-grey-3: #c2d1d9;--ui-kit-color-grey-4: #e2e7ed;--ui-kit-color-grey-5: #fafafc;--ui-kit-color-grey-6: #ebebe4;--ui-kit-color-grey-7: #a9a8a8;--ui-kit-color-grey-8: #efefef;--ui-kit-color-grey-9: #969696;--ui-kit-color-grey-10: #2a2b32;--ui-kit-color-grey-11: #e3e4e5;--ui-kit-color-grey-12: #a9aec3;--ui-kit-color-grey-13: #f7f7f8;--ui-kit-color-grey-14: #565963;--ui-kit-color-grey-15: #f0f0f0;--ui-kit-color-grey-16: #ececf8;--ui-kit-color-grey-17: #878787;--ui-kit-color-grey-18: #727684;--ui-kit-color-green: #00b0ad;--ui-kit-color-green-1: #39c237;--ui-kit-color-green-2: #39c23733;--ui-kit-color-green-3: #1cb589;--ui-kit-color-green-4: #e0f2ed;--ui-kit-color-green-5: #e5ffe5;--ui-kit-color-green-6: #62dd5f;--ui-kit-color-red: #ef3e42;--ui-kit-color-red-20: #f8e0e0;--ui-kit-color-red-1: #f5222d;--ui-kit-color-red-2: #f5222d33;--ui-kit-color-red-3: #f9e9ea;--ui-kit-color-red-4: #fb5760;--ui-kit-color-cobalt: #006890;--ui-kit-color-cobalt-darkest: #002a3a;--ui-kit-color-teal: #23afd2;--ui-kit-color-teal-1: #d8edf3;--ui-kit-color-orange: #faad14;--ui-kit-color-orange-1: #faad1433;--ui-kit-color-orange-2: #ff7a00;--ui-kit-color-orange-3: #fbecde;--ui-kit-color-orange-4: #fff6e4;--ui-kit-color-pink: #cd1159;--ui-kit-color-pink-1: #fae7ee;--ui-kit-color-purple: #7673ce;--ui-kit-color-purple-1: #e7e7f6;--ui-kit-color-blue: #1677ff;--ui-kit-color-blue-1: #e4eeff}.display-flex{display:flex}.flex-align-items-center{align-items:center}.flex-justify-content-center{justify-content:center}.flex-justify-content-end{justify-content:flex-end}.display-block{display:block}div[kendowatermarkoverlay]{display:none}.kit-switch .label{display:block;margin-bottom:4px}.kit-switch .button-group{background:#fff;border:1px solid #c1c7d0;border-radius:4px;overflow:hidden}.kit-switch .button-group.disabled{color:#fff;pointer-events:none}.kit-switch .button-group.disabled .button{color:#c1c7d0}.kit-switch .button-group.disabled .icon{fill:#c1c7d0}.kit-switch .button-group.disabled .button.k-state-selected{background-color:#abcad6;color:#fff}.kit-switch .button.k-button{border:0;color:var(--ui-kit-color-cobalt);padding:8px;border-radius:4px;opacity:1;box-shadow:none}.kit-switch .button.k-button:not(:first-child),.kit-switch .button.k-button:not(:last-child){border-radius:4px}.kit-switch .button.k-button .icon{fill:var(--ui-kit-color-cobalt);stroke:none}.kit-switch .button.k-button.k-selected,.kit-switch .button.k-button:hover,.kit-switch .button.k-button.k-state-hover{background-color:var(--ui-kit-color-cobalt-darkest);color:#fff}.kit-switch .button.k-button.k-selected .icon,.kit-switch .button.k-button:hover .icon,.kit-switch .button.k-button.k-state-hover .icon{fill:#fff}.kit-switch .button.k-button.k-disabled{color:#c1c7d0}.kit-switch .button.k-button.k-selected.k-disabled{background-color:#abcad6;color:#fff}.kit-switch .icon-wrapper{display:block;width:16px;height:16px}.kit-switch.danger .k-button-group{border-color:#ef3e42;background:#f8e0e0}\n"], dependencies: [{ kind: "component", type: i1.ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: i1.ButtonGroupComponent, selector: "kendo-buttongroup", inputs: ["disabled", "selection", "width", "tabIndex", "navigable"], outputs: ["navigate"], exportAs: ["kendoButtonGroup"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.KitSvgIconComponent, selector: "kit-svg-icon", inputs: ["icon", "iconClass"] }, { kind: "component", type: i4.KitInputMessageComponent, selector: "kit-input-message", inputs: ["icon", "message"] }, { kind: "component", type: i5.KitInputLabelComponent, selector: "kit-input-label", inputs: ["text", "for", "tooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
73
|
-
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchComponent, decorators: [{
|
|
75
|
-
type: Component,
|
|
76
|
-
args: [{ selector: 'kit-switch', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"kit-switch {{ state }}\">\n <ng-container *ngIf=\"items.length\">\n @if (label) {\n <kit-input-label class=\"label\"\n [text]=\"label\"\n ></kit-input-label>\n }\n\n <kendo-buttongroup look=\"outline\" class=\"button-group\"\n [selection]=\"mode\"\n [class.disabled]=\"disabled\">\n <button *ngFor=\"let item of items\" class=\"button\" kendoButton\n [selected]=\"isItemSelected(item)\"\n [togglable]=\"true\"\n [disabled]=\"item.disabled && item.disabled(item)\"\n (selectedChange)=\"onItemSelect($event, item)\">\n <ng-container *ngIf=\"item.title; else icon\">\n {{ item.title }}\n </ng-container>\n\n <ng-template #icon>\n <kit-svg-icon class=\"icon-wrapper\"\n [icon]=\"item.icon\"\n ></kit-svg-icon>\n </ng-template>\n </button>\n </kendo-buttongroup>\n <kit-input-message *ngIf=\"messageText\"\n [icon]=\"messageIcon\"\n [message]=\"messageText\"\n ></kit-input-message>\n </ng-container>\n</div>\n", styles: [":root{--ui-kit-color-white: #ffffff;--ui-kit-color-black: #000000;--ui-kit-color-main: #56a2f7;--ui-kit-color-hover: #3678c3;--ui-kit-color-selected: #3678c366;--ui-kit-color-active: #3678c3;--ui-kit-color-focus: #56a2f733;--ui-kit-color-background: #e4eeff;--ui-kit-color-grey-0: #252b30;--ui-kit-color-grey-2: #a7b2c3;--ui-kit-color-grey-3: #c2d1d9;--ui-kit-color-grey-4: #e2e7ed;--ui-kit-color-grey-5: #fafafc;--ui-kit-color-grey-6: #ebebe4;--ui-kit-color-grey-7: #a9a8a8;--ui-kit-color-grey-8: #efefef;--ui-kit-color-grey-9: #969696;--ui-kit-color-grey-10: #2a2b32;--ui-kit-color-grey-11: #e3e4e5;--ui-kit-color-grey-12: #a9aec3;--ui-kit-color-grey-13: #f7f7f8;--ui-kit-color-grey-14: #565963;--ui-kit-color-grey-15: #f0f0f0;--ui-kit-color-grey-16: #ececf8;--ui-kit-color-grey-17: #878787;--ui-kit-color-grey-18: #727684;--ui-kit-color-green: #00b0ad;--ui-kit-color-green-1: #39c237;--ui-kit-color-green-2: #39c23733;--ui-kit-color-green-3: #1cb589;--ui-kit-color-green-4: #e0f2ed;--ui-kit-color-green-5: #e5ffe5;--ui-kit-color-green-6: #62dd5f;--ui-kit-color-red: #ef3e42;--ui-kit-color-red-20: #f8e0e0;--ui-kit-color-red-1: #f5222d;--ui-kit-color-red-2: #f5222d33;--ui-kit-color-red-3: #f9e9ea;--ui-kit-color-red-4: #fb5760;--ui-kit-color-cobalt: #006890;--ui-kit-color-cobalt-darkest: #002a3a;--ui-kit-color-teal: #23afd2;--ui-kit-color-teal-1: #d8edf3;--ui-kit-color-orange: #faad14;--ui-kit-color-orange-1: #faad1433;--ui-kit-color-orange-2: #ff7a00;--ui-kit-color-orange-3: #fbecde;--ui-kit-color-orange-4: #fff6e4;--ui-kit-color-pink: #cd1159;--ui-kit-color-pink-1: #fae7ee;--ui-kit-color-purple: #7673ce;--ui-kit-color-purple-1: #e7e7f6;--ui-kit-color-blue: #1677ff;--ui-kit-color-blue-1: #e4eeff}.display-flex{display:flex}.flex-align-items-center{align-items:center}.flex-justify-content-center{justify-content:center}.flex-justify-content-end{justify-content:flex-end}.display-block{display:block}div[kendowatermarkoverlay]{display:none}.kit-switch .label{display:block;margin-bottom:4px}.kit-switch .button-group{background:#fff;border:1px solid #c1c7d0;border-radius:4px;overflow:hidden}.kit-switch .button-group.disabled{color:#fff;pointer-events:none}.kit-switch .button-group.disabled .button{color:#c1c7d0}.kit-switch .button-group.disabled .icon{fill:#c1c7d0}.kit-switch .button-group.disabled .button.k-state-selected{background-color:#abcad6;color:#fff}.kit-switch .button.k-button{border:0;color:var(--ui-kit-color-cobalt);padding:8px;border-radius:4px;opacity:1;box-shadow:none}.kit-switch .button.k-button:not(:first-child),.kit-switch .button.k-button:not(:last-child){border-radius:4px}.kit-switch .button.k-button .icon{fill:var(--ui-kit-color-cobalt);stroke:none}.kit-switch .button.k-button.k-selected,.kit-switch .button.k-button:hover,.kit-switch .button.k-button.k-state-hover{background-color:var(--ui-kit-color-cobalt-darkest);color:#fff}.kit-switch .button.k-button.k-selected .icon,.kit-switch .button.k-button:hover .icon,.kit-switch .button.k-button.k-state-hover .icon{fill:#fff}.kit-switch .button.k-button.k-disabled{color:#c1c7d0}.kit-switch .button.k-button.k-selected.k-disabled{background-color:#abcad6;color:#fff}.kit-switch .icon-wrapper{display:block;width:16px;height:16px}.kit-switch.danger .k-button-group{border-color:#ef3e42;background:#f8e0e0}\n"] }]
|
|
77
|
-
}], propDecorators: { items: [{
|
|
78
|
-
type: Input
|
|
79
|
-
}], mode: [{
|
|
80
|
-
type: Input
|
|
81
|
-
}], label: [{
|
|
82
|
-
type: Input
|
|
83
|
-
}], disabled: [{
|
|
84
|
-
type: Input
|
|
85
|
-
}], selection: [{
|
|
86
|
-
type: Input
|
|
87
|
-
}], messageIcon: [{
|
|
88
|
-
type: Input
|
|
89
|
-
}], messageText: [{
|
|
90
|
-
type: Input
|
|
91
|
-
}], state: [{
|
|
92
|
-
type: Input
|
|
93
|
-
}], selected: [{
|
|
94
|
-
type: Output
|
|
95
|
-
}] } });
|
|
96
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXN3aXRjaC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC1zd2l0Y2gva2l0LXN3aXRjaC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC1zd2l0Y2gva2l0LXN3aXRjaC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6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2U+XG4gIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { KitSwitchComponent } from './kit-switch.component';
|
|
3
|
-
import { ButtonGroupModule, ButtonModule } from '@progress/kendo-angular-buttons';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
import { KitSvgIconModule } from '../kit-svg-icon/kit-svg-icon.module';
|
|
6
|
-
import { KitInputMessageModule } from '../kit-input-message/kit-input-message.module';
|
|
7
|
-
import { KitInputLabelModule } from '../kit-input-label/kit-input-label.module';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class KitSwitchModule {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchModule, declarations: [KitSwitchComponent], imports: [ButtonGroupModule,
|
|
12
|
-
ButtonModule,
|
|
13
|
-
CommonModule,
|
|
14
|
-
KitSvgIconModule,
|
|
15
|
-
KitInputMessageModule,
|
|
16
|
-
KitInputLabelModule], exports: [KitSwitchComponent] }); }
|
|
17
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchModule, imports: [ButtonGroupModule,
|
|
18
|
-
ButtonModule,
|
|
19
|
-
CommonModule,
|
|
20
|
-
KitSvgIconModule,
|
|
21
|
-
KitInputMessageModule,
|
|
22
|
-
KitInputLabelModule] }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSwitchModule, decorators: [{
|
|
25
|
-
type: NgModule,
|
|
26
|
-
args: [{
|
|
27
|
-
declarations: [
|
|
28
|
-
KitSwitchComponent,
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
KitSwitchComponent,
|
|
32
|
-
],
|
|
33
|
-
imports: [
|
|
34
|
-
ButtonGroupModule,
|
|
35
|
-
ButtonModule,
|
|
36
|
-
CommonModule,
|
|
37
|
-
KitSvgIconModule,
|
|
38
|
-
KitInputMessageModule,
|
|
39
|
-
KitInputLabelModule,
|
|
40
|
-
],
|
|
41
|
-
}]
|
|
42
|
-
}] });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXN3aXRjaC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC1zd2l0Y2gva2l0LXN3aXRjaC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUM1RCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsWUFBWSxFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDbEYsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQ3RGLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLDJDQUEyQyxDQUFDOztBQWtCaEYsTUFBTSxPQUFPLGVBQWU7OEdBQWYsZUFBZTsrR0FBZixlQUFlLGlCQWR4QixrQ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2UubW9kdWxlJztcbmltcG9ydCB7IEtpdElucHV0TGFiZWxNb2R1bGUgfSBmcm9tICcuLi9raXQtaW5wdXQtbGFiZWwva2l0LWlucHV0LWxhYmVsLm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEtpdFN3aXRjaENvbXBvbmVudCxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEtpdFN3aXRjaENvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIEJ1dHRvbkdyb3VwTW9kdWxlLFxuICAgIEJ1dHRvbk1vZHVsZSxcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgS2l0U3ZnSWNvbk1vZHVsZSxcbiAgICBLaXRJbnB1dE1lc3NhZ2VNb2R1bGUsXG4gICAgS2l0SW5wdXRMYWJlbE1vZHVsZSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgS2l0U3dpdGNoTW9kdWxlIHtcbn1cbiJdfQ==
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChild, Input } from '@angular/core';
|
|
2
|
-
import { KitSvgIconType } from '../../kit-svg-icon/kit-svg-icon.const';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class KitTabComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
/**
|
|
7
|
-
* Defines the tab title
|
|
8
|
-
*/
|
|
9
|
-
this.title = '';
|
|
10
|
-
/**
|
|
11
|
-
* Defines the icon type
|
|
12
|
-
*/
|
|
13
|
-
this.iconType = KitSvgIconType.FILL;
|
|
14
|
-
/**
|
|
15
|
-
* Defines which tab will be selected when tabs are initially loaded
|
|
16
|
-
*/
|
|
17
|
-
this.selected = false;
|
|
18
|
-
/**
|
|
19
|
-
* Defines which tab will be disabled
|
|
20
|
-
*/
|
|
21
|
-
this.disabled = false;
|
|
22
|
-
/**
|
|
23
|
-
* Defines a reference to the tab content
|
|
24
|
-
*/
|
|
25
|
-
this.kitTabContent = null;
|
|
26
|
-
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: KitTabComponent, selector: "kit-tab", inputs: { title: "title", icon: "icon", iconType: "iconType", selected: "selected", disabled: "disabled" }, queries: [{ propertyName: "kitTabContent", first: true, predicate: ["kitTabContent"], descendants: true }], ngImport: i0, template: '', isInline: true, styles: ["::ng-deep .kit-tabs .k-tabstrip .k-item{display:flex;align-items:center;color:var(--ui-kit-color-grey-10);font-size:14px;font-weight:400;border:none;background:none;cursor:pointer}::ng-deep .kit-tabs .k-tabstrip .k-item.k-disabled{opacity:1;color:var(--ui-kit-color-grey-12)}::ng-deep .kit-tabs .k-tabstrip .k-item:focus{box-shadow:none}::ng-deep .kit-tabs .k-tabstrip .k-item:active{margin:0}::ng-deep .kit-tabs .k-tabstrip .k-link{padding:0}::ng-deep .kit-tabs .k-tabstrip.text .k-tabstrip-items{gap:32px}::ng-deep .kit-tabs .k-tabstrip.text .k-item{height:46px;border-bottom:2px solid transparent}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active{margin:0;color:var(--ui-kit-color-main);border-color:var(--ui-kit-color-main)!important}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item{padding:0 16px;height:32px;border:1px solid var(--ui-kit-color-grey-11);border-radius:0}::ng-deep .kit-tabs .button .k-item:not(:last-child){border-right:none}::ng-deep .kit-tabs .button .k-item:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}::ng-deep .kit-tabs .button .k-item:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}::ng-deep .kit-tabs .button .k-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item:hover .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .button .k-item:hover .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item.k-active{margin:0;color:var(--ui-kit-color-white);border-color:var(--ui-kit-color-main);background:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item.k-active .tab-title-icon.fill{fill:var(--ui-kit-color-white);stroke:none}::ng-deep .kit-tabs .button .k-item.k-active .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-white)}::ng-deep .kit-tabs .k-tabstrip-content{padding:0;border:none;background:none}::ng-deep .kit-tabs .k-tabstrip-content:focus{outline:none}::ng-deep .kit-tabs .k-tabstrip-items-wrapper{border:none}::ng-deep .kit-tabs .k-tabstrip-items{display:flex;align-items:center}::ng-deep .kit-tabs .tab-title{display:flex;align-items:center;gap:6px}::ng-deep .kit-tabs .tab-title-icon{display:block;width:16px;height:16px}::ng-deep .kit-tabs .tab-title-icon.fill{fill:var(--ui-kit-color-grey-10);stroke:none}::ng-deep .kit-tabs .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-grey-10)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabComponent, decorators: [{
|
|
31
|
-
type: Component,
|
|
32
|
-
args: [{ selector: 'kit-tab', template: '', changeDetection: ChangeDetectionStrategy.OnPush, styles: ["::ng-deep .kit-tabs .k-tabstrip .k-item{display:flex;align-items:center;color:var(--ui-kit-color-grey-10);font-size:14px;font-weight:400;border:none;background:none;cursor:pointer}::ng-deep .kit-tabs .k-tabstrip .k-item.k-disabled{opacity:1;color:var(--ui-kit-color-grey-12)}::ng-deep .kit-tabs .k-tabstrip .k-item:focus{box-shadow:none}::ng-deep .kit-tabs .k-tabstrip .k-item:active{margin:0}::ng-deep .kit-tabs .k-tabstrip .k-link{padding:0}::ng-deep .kit-tabs .k-tabstrip.text .k-tabstrip-items{gap:32px}::ng-deep .kit-tabs .k-tabstrip.text .k-item{height:46px;border-bottom:2px solid transparent}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .k-tabstrip.text .k-item:hover .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active{margin:0;color:var(--ui-kit-color-main);border-color:var(--ui-kit-color-main)!important}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .k-tabstrip.text .k-item.k-active .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item{padding:0 16px;height:32px;border:1px solid var(--ui-kit-color-grey-11);border-radius:0}::ng-deep .kit-tabs .button .k-item:not(:last-child){border-right:none}::ng-deep .kit-tabs .button .k-item:first-child{border-top-left-radius:6px;border-bottom-left-radius:6px}::ng-deep .kit-tabs .button .k-item:last-child{border-top-right-radius:6px;border-bottom-right-radius:6px}::ng-deep .kit-tabs .button .k-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item:hover .tab-title-icon.fill{fill:var(--ui-kit-color-main);stroke:none}::ng-deep .kit-tabs .button .k-item:hover .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item.k-active{margin:0;color:var(--ui-kit-color-white);border-color:var(--ui-kit-color-main);background:var(--ui-kit-color-main)}::ng-deep .kit-tabs .button .k-item.k-active .tab-title-icon.fill{fill:var(--ui-kit-color-white);stroke:none}::ng-deep .kit-tabs .button .k-item.k-active .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-white)}::ng-deep .kit-tabs .k-tabstrip-content{padding:0;border:none;background:none}::ng-deep .kit-tabs .k-tabstrip-content:focus{outline:none}::ng-deep .kit-tabs .k-tabstrip-items-wrapper{border:none}::ng-deep .kit-tabs .k-tabstrip-items{display:flex;align-items:center}::ng-deep .kit-tabs .tab-title{display:flex;align-items:center;gap:6px}::ng-deep .kit-tabs .tab-title-icon{display:block;width:16px;height:16px}::ng-deep .kit-tabs .tab-title-icon.fill{fill:var(--ui-kit-color-grey-10);stroke:none}::ng-deep .kit-tabs .tab-title-icon.stroke{fill:none;stroke:var(--ui-kit-color-grey-10)}\n"] }]
|
|
33
|
-
}], propDecorators: { title: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], icon: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], iconType: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], selected: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], disabled: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], kitTabContent: [{
|
|
44
|
-
type: ContentChild,
|
|
45
|
-
args: ['kitTabContent']
|
|
46
|
-
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRhYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25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GEgcmVmZXJlbmNlIHRvIHRoZSB0YWIgY29udGVudFxuICAgKi9cbiAgQENvbnRlbnRDaGlsZCgna2l0VGFiQ29udGVudCcpIGtpdFRhYkNvbnRlbnQ6IFRlbXBsYXRlUmVmPEhUTUxFbGVtZW50PiB8IG51bGwgPSBudWxsO1xufVxuIl19
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { KitTabComponent } from './kit-tab/kit-tab.component';
|
|
3
|
-
import { KitTabsType } from './kit-tabs.const';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/common";
|
|
6
|
-
import * as i2 from "@progress/kendo-angular-layout";
|
|
7
|
-
import * as i3 from "../kit-svg-icon/kit-svg-icon.component";
|
|
8
|
-
export class KitTabsComponent {
|
|
9
|
-
constructor() {
|
|
10
|
-
/**
|
|
11
|
-
* Defines the type of tabs
|
|
12
|
-
*/
|
|
13
|
-
this.type = KitTabsType.TEXT;
|
|
14
|
-
/**
|
|
15
|
-
* Enables the tab animation
|
|
16
|
-
*/
|
|
17
|
-
this.animate = false;
|
|
18
|
-
/**
|
|
19
|
-
* An action which is emitted when tab is selected
|
|
20
|
-
*/
|
|
21
|
-
this.tabSelected = new EventEmitter();
|
|
22
|
-
/**
|
|
23
|
-
* Defines the reference to the tabs content
|
|
24
|
-
*/
|
|
25
|
-
this.tabs = null;
|
|
26
|
-
}
|
|
27
|
-
onTabSelect(event) {
|
|
28
|
-
this.tabSelected.emit({
|
|
29
|
-
index: event.index,
|
|
30
|
-
title: event.title,
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KitTabsComponent, selector: "kit-tabs", inputs: { type: "type", animate: "animate" }, outputs: { tabSelected: "tabSelected" }, queries: [{ propertyName: "tabs", predicate: KitTabComponent }], ngImport: i0, template: "<div class=\"kit-tabs\">\n <kendo-tabstrip [ngClass]=\"type\"\n [animate]=\"animate\"\n (tabSelect)=\"onTabSelect($event)\">\n @for (tab of tabs; track tab) {\n <kendo-tabstrip-tab [title]=\"tab.title\"\n [selected]=\"tab.selected\"\n [disabled]=\"tab.disabled\">\n @if (tab.icon) {\n <ng-template kendoTabTitle>\n <div class=\"tab-title\">\n <kit-svg-icon class=\"tab-title-icon\"\n [icon]=\"tab.icon\"\n [ngClass]=\"tab.iconType\"\n ></kit-svg-icon>\n <div class=\"tab title-text\">\n {{ tab.title }}\n </div>\n </div>\n </ng-template>\n }\n <ng-template kendoTabContent>\n <ng-container *ngTemplateOutlet=\"tab.kitTabContent\"\n ></ng-container>\n </ng-template>\n </kendo-tabstrip-tab>\n }\n </kendo-tabstrip>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "component", type: i2.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: i2.TabContentDirective, selector: "[kendoTabContent]" }, { kind: "directive", type: i2.TabTitleDirective, selector: "[kendoTabTitle]" }, { kind: "component", type: i3.KitSvgIconComponent, selector: "kit-svg-icon", inputs: ["icon", "iconClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
35
|
-
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabsComponent, decorators: [{
|
|
37
|
-
type: Component,
|
|
38
|
-
args: [{ selector: 'kit-tabs', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"kit-tabs\">\n <kendo-tabstrip [ngClass]=\"type\"\n [animate]=\"animate\"\n (tabSelect)=\"onTabSelect($event)\">\n @for (tab of tabs; track tab) {\n <kendo-tabstrip-tab [title]=\"tab.title\"\n [selected]=\"tab.selected\"\n [disabled]=\"tab.disabled\">\n @if (tab.icon) {\n <ng-template kendoTabTitle>\n <div class=\"tab-title\">\n <kit-svg-icon class=\"tab-title-icon\"\n [icon]=\"tab.icon\"\n [ngClass]=\"tab.iconType\"\n ></kit-svg-icon>\n <div class=\"tab title-text\">\n {{ tab.title }}\n </div>\n </div>\n </ng-template>\n }\n <ng-template kendoTabContent>\n <ng-container *ngTemplateOutlet=\"tab.kitTabContent\"\n ></ng-container>\n </ng-template>\n </kendo-tabstrip-tab>\n }\n </kendo-tabstrip>\n</div>\n" }]
|
|
39
|
-
}], propDecorators: { type: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}], animate: [{
|
|
42
|
-
type: Input
|
|
43
|
-
}], tabSelected: [{
|
|
44
|
-
type: Output
|
|
45
|
-
}], tabs: [{
|
|
46
|
-
type: ContentChildren,
|
|
47
|
-
args: [KitTabComponent]
|
|
48
|
-
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRhYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkta2l0L3NyYy9saWI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ICAgICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCJ0YWIuZGlzYWJsZWRcIj5cbiAgICAgICAgQGlmICh0YWIuaWNvbikge1xuICAgICAgICAgIDxuZy10ZW1wbGF0ZSBrZW5kb1RhYlRpdGxlPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRhYi10aXRsZVwiPlxuICAgICAgICAgICAgICA8a2l0LXN2Zy1pY29uIGNsYXNzPVwidGFiLXRpdGxlLWljb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtpY29uXT1cInRhYi5pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ0YWIuaWNvblR5cGVcIlxuICAgICAgICAgICAgICA+PC9raXQtc3ZnLWljb24+XG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0YWIgdGl0bGUtdGV4dFwiPlxuICAgICAgICAgICAgICAgIHt7IHRhYi50aXRsZSB9fVxuICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgICAgIH1cbiAgICAgICAgPG5nLXRlbXBsYXRlIGtlbmRvVGFiQ29udGVudD5cbiAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwidGFiLmtpdFRhYkNvbnRlbnRcIlxuICAgICAgICAgID48L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgIDwva2VuZG8tdGFic3RyaXAtdGFiPlxuICAgIH1cbiAgPC9rZW5kby10YWJzdHJpcD5cbjwvZGl2PlxuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var KitTabsType;
|
|
2
|
-
(function (KitTabsType) {
|
|
3
|
-
KitTabsType["TEXT"] = "text";
|
|
4
|
-
KitTabsType["BUTTON"] = "button";
|
|
5
|
-
})(KitTabsType || (KitTabsType = {}));
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRhYnMuY29uc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC10YWJzL2tpdC10YWJzLmNvbnN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFdBR1g7QUFIRCxXQUFZLFdBQVc7SUFDckIsNEJBQWEsQ0FBQTtJQUNiLGdDQUFpQixDQUFBO0FBQ25CLENBQUMsRUFIVyxXQUFXLEtBQVgsV0FBVyxRQUd0QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEtpdFRhYnNUeXBlIHtcbiAgVEVYVCA9ICd0ZXh0JyxcbiAgQlVUVE9OID0gJ2J1dHRvbicsXG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRhYnMubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC10YWJzL2tpdC10YWJzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIEtpdFRhYnNTZWxlY3RFdmVudCB7XG4gIGluZGV4OiBudW1iZXI7XG4gIHRpdGxlOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { KitTabsComponent } from './kit-tabs.component';
|
|
4
|
-
import { LayoutModule } from '@progress/kendo-angular-layout';
|
|
5
|
-
import { KitSvgIconModule } from '../kit-svg-icon/kit-svg-icon.module';
|
|
6
|
-
import { KitTabComponent } from './kit-tab/kit-tab.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class KitTabsModule {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitTabsModule, declarations: [KitTabsComponent,
|
|
11
|
-
KitTabComponent], imports: [CommonModule,
|
|
12
|
-
LayoutModule,
|
|
13
|
-
KitSvgIconModule], exports: [KitTabsComponent,
|
|
14
|
-
KitTabComponent] }); }
|
|
15
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabsModule, imports: [CommonModule,
|
|
16
|
-
LayoutModule,
|
|
17
|
-
KitSvgIconModule] }); }
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTabsModule, decorators: [{
|
|
20
|
-
type: NgModule,
|
|
21
|
-
args: [{
|
|
22
|
-
declarations: [
|
|
23
|
-
KitTabsComponent,
|
|
24
|
-
KitTabComponent,
|
|
25
|
-
],
|
|
26
|
-
imports: [
|
|
27
|
-
CommonModule,
|
|
28
|
-
LayoutModule,
|
|
29
|
-
KitSvgIconModule,
|
|
30
|
-
],
|
|
31
|
-
exports: [
|
|
32
|
-
KitTabsComponent,
|
|
33
|
-
KitTabComponent,
|
|
34
|
-
],
|
|
35
|
-
}]
|
|
36
|
-
}] });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgS2l0VGFic0NvbXBvbmVudCB9IGZyb20gJy4va2l0LXRhYnMuY29tcG9uZW50JztcbmltcG9ydCB7IExheW91dE1vZHVsZSB9IGZyb20gJ0Bwcm9ncmVzcy9rZW5kby1hbmd1bGFyLWxheW91dCc7XG5pbXBvcnQgeyBLaXRTdmdJY29uTW9kdWxlIH0gZnJvbSAnLi4va2l0LXN2Zy1pY29uL2tpdC1zdmctaWNvbi5tb2R1bGUnO1xuaW1wb3J0IHsgS2l0VGFiQ29tcG9uZW50IH0gZnJvbSAnLi9raXQtdGFiL2tpdC10YWIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbXG4gICAgS2l0VGFic0NvbXBvbmVudCxcbiAgICBLaXRUYWJDb21wb25lbnQsXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTGF5b3V0TW9kdWxlLFxuICAgIEtpdFN2Z0ljb25Nb2R1bGUsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBLaXRUYWJzQ29tcG9uZW50LFxuICAgIEtpdFRhYkNvbXBvbmVudCxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgS2l0VGFic01vZHVsZSB7XG59XG4iXX0=
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "../kit-input-message/kit-input-message.component";
|
|
5
|
-
import * as i3 from "../kit-input-label/kit-input-label.component";
|
|
6
|
-
export var KitTextLabelState;
|
|
7
|
-
(function (KitTextLabelState) {
|
|
8
|
-
KitTextLabelState["REGULAR"] = "regular";
|
|
9
|
-
KitTextLabelState["DANGER"] = "danger";
|
|
10
|
-
})(KitTextLabelState || (KitTextLabelState = {}));
|
|
11
|
-
export class KitTextLabelComponent {
|
|
12
|
-
constructor() {
|
|
13
|
-
/**
|
|
14
|
-
* Defines a value that is going to be applied as a label top text
|
|
15
|
-
*/
|
|
16
|
-
this.label = '';
|
|
17
|
-
/**
|
|
18
|
-
* Defines a value that is going to be applied as a label main text
|
|
19
|
-
*/
|
|
20
|
-
this.value = '';
|
|
21
|
-
/**
|
|
22
|
-
* Defines whether the message will be displayed as HTML (including rendering HTML tags)
|
|
23
|
-
*/
|
|
24
|
-
this.htmlMode = false;
|
|
25
|
-
/**
|
|
26
|
-
* Defines a particular state for the component
|
|
27
|
-
*/
|
|
28
|
-
this.state = KitTextLabelState.REGULAR;
|
|
29
|
-
}
|
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KitTextLabelComponent, selector: "kit-text-label", inputs: { label: "label", value: "value", htmlMode: "htmlMode", noValueMessage: "noValueMessage", messageText: "messageText", state: "state" }, ngImport: i0, template: "<div class=\"kit-text-label {{ state }}\" tabindex=\"0\" [class.text-label-empty]=\"!value\">\n @if (value) {\n <kit-input-label class=\"label\"\n [text]=\"label\"\n ></kit-input-label>\n }\n\n @if (!value) {\n <kit-input-label class=\"label\"\n [text]=\"noValueMessage || label\"\n ></kit-input-label>\n }\n\n <div *ngIf=\"!htmlMode; else htmlModeTemplate\" class=\"value\">{{ value }}</div>\n <ng-template #htmlModeTemplate>\n <div class=\"value\" [innerHTML]=\"value\"></div>\n </ng-template>\n <kit-input-message *ngIf=\"messageText && value\"\n [message]=\"messageText\"\n ></kit-input-message>\n</div>\n", styles: [".display-flex{display:flex}.flex-align-items-center{align-items:center}.flex-justify-content-center{justify-content:center}.flex-justify-content-end{justify-content:flex-end}.display-block{display:block}div[kendowatermarkoverlay]{display:none}:root{--ui-kit-color-white: #ffffff;--ui-kit-color-black: #000000;--ui-kit-color-main: #56a2f7;--ui-kit-color-hover: #3678c3;--ui-kit-color-selected: #3678c366;--ui-kit-color-active: #3678c3;--ui-kit-color-focus: #56a2f733;--ui-kit-color-background: #e4eeff;--ui-kit-color-grey-0: #252b30;--ui-kit-color-grey-2: #a7b2c3;--ui-kit-color-grey-3: #c2d1d9;--ui-kit-color-grey-4: #e2e7ed;--ui-kit-color-grey-5: #fafafc;--ui-kit-color-grey-6: #ebebe4;--ui-kit-color-grey-7: #a9a8a8;--ui-kit-color-grey-8: #efefef;--ui-kit-color-grey-9: #969696;--ui-kit-color-grey-10: #2a2b32;--ui-kit-color-grey-11: #e3e4e5;--ui-kit-color-grey-12: #a9aec3;--ui-kit-color-grey-13: #f7f7f8;--ui-kit-color-grey-14: #565963;--ui-kit-color-grey-15: #f0f0f0;--ui-kit-color-grey-16: #ececf8;--ui-kit-color-grey-17: #878787;--ui-kit-color-grey-18: #727684;--ui-kit-color-green: #00b0ad;--ui-kit-color-green-1: #39c237;--ui-kit-color-green-2: #39c23733;--ui-kit-color-green-3: #1cb589;--ui-kit-color-green-4: #e0f2ed;--ui-kit-color-green-5: #e5ffe5;--ui-kit-color-green-6: #62dd5f;--ui-kit-color-red: #ef3e42;--ui-kit-color-red-20: #f8e0e0;--ui-kit-color-red-1: #f5222d;--ui-kit-color-red-2: #f5222d33;--ui-kit-color-red-3: #f9e9ea;--ui-kit-color-red-4: #fb5760;--ui-kit-color-cobalt: #006890;--ui-kit-color-cobalt-darkest: #002a3a;--ui-kit-color-teal: #23afd2;--ui-kit-color-teal-1: #d8edf3;--ui-kit-color-orange: #faad14;--ui-kit-color-orange-1: #faad1433;--ui-kit-color-orange-2: #ff7a00;--ui-kit-color-orange-3: #fbecde;--ui-kit-color-orange-4: #fff6e4;--ui-kit-color-pink: #cd1159;--ui-kit-color-pink-1: #fae7ee;--ui-kit-color-purple: #7673ce;--ui-kit-color-purple-1: #e7e7f6;--ui-kit-color-blue: #1677ff;--ui-kit-color-blue-1: #e4eeff}.kit-text-label{padding:6px 4px 4px;border-radius:4px;border:1px solid transparent;outline:none;background:#fff}.kit-text-label:focus{border-color:#006890;box-shadow:0 0 0 3px #e7f4ec}.kit-text-label .label{display:block;margin-bottom:4px}.kit-text-label .value{color:#002a3a;font-weight:400;font-size:13px;border-radius:4px;line-height:17px}.kit-text-label.text-label-empty .value{height:22px;min-width:112px;background:#f3f4f6}.kit-text-label.danger{border-color:#ef3e42;background:#f8e0e0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.KitInputMessageComponent, selector: "kit-input-message", inputs: ["icon", "message"] }, { kind: "component", type: i3.KitInputLabelComponent, selector: "kit-input-label", inputs: ["text", "for", "tooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
32
|
-
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelComponent, decorators: [{
|
|
34
|
-
type: Component,
|
|
35
|
-
args: [{ selector: 'kit-text-label', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: "<div class=\"kit-text-label {{ state }}\" tabindex=\"0\" [class.text-label-empty]=\"!value\">\n @if (value) {\n <kit-input-label class=\"label\"\n [text]=\"label\"\n ></kit-input-label>\n }\n\n @if (!value) {\n <kit-input-label class=\"label\"\n [text]=\"noValueMessage || label\"\n ></kit-input-label>\n }\n\n <div *ngIf=\"!htmlMode; else htmlModeTemplate\" class=\"value\">{{ value }}</div>\n <ng-template #htmlModeTemplate>\n <div class=\"value\" [innerHTML]=\"value\"></div>\n </ng-template>\n <kit-input-message *ngIf=\"messageText && value\"\n [message]=\"messageText\"\n ></kit-input-message>\n</div>\n", styles: [".display-flex{display:flex}.flex-align-items-center{align-items:center}.flex-justify-content-center{justify-content:center}.flex-justify-content-end{justify-content:flex-end}.display-block{display:block}div[kendowatermarkoverlay]{display:none}:root{--ui-kit-color-white: #ffffff;--ui-kit-color-black: #000000;--ui-kit-color-main: #56a2f7;--ui-kit-color-hover: #3678c3;--ui-kit-color-selected: #3678c366;--ui-kit-color-active: #3678c3;--ui-kit-color-focus: #56a2f733;--ui-kit-color-background: #e4eeff;--ui-kit-color-grey-0: #252b30;--ui-kit-color-grey-2: #a7b2c3;--ui-kit-color-grey-3: #c2d1d9;--ui-kit-color-grey-4: #e2e7ed;--ui-kit-color-grey-5: #fafafc;--ui-kit-color-grey-6: #ebebe4;--ui-kit-color-grey-7: #a9a8a8;--ui-kit-color-grey-8: #efefef;--ui-kit-color-grey-9: #969696;--ui-kit-color-grey-10: #2a2b32;--ui-kit-color-grey-11: #e3e4e5;--ui-kit-color-grey-12: #a9aec3;--ui-kit-color-grey-13: #f7f7f8;--ui-kit-color-grey-14: #565963;--ui-kit-color-grey-15: #f0f0f0;--ui-kit-color-grey-16: #ececf8;--ui-kit-color-grey-17: #878787;--ui-kit-color-grey-18: #727684;--ui-kit-color-green: #00b0ad;--ui-kit-color-green-1: #39c237;--ui-kit-color-green-2: #39c23733;--ui-kit-color-green-3: #1cb589;--ui-kit-color-green-4: #e0f2ed;--ui-kit-color-green-5: #e5ffe5;--ui-kit-color-green-6: #62dd5f;--ui-kit-color-red: #ef3e42;--ui-kit-color-red-20: #f8e0e0;--ui-kit-color-red-1: #f5222d;--ui-kit-color-red-2: #f5222d33;--ui-kit-color-red-3: #f9e9ea;--ui-kit-color-red-4: #fb5760;--ui-kit-color-cobalt: #006890;--ui-kit-color-cobalt-darkest: #002a3a;--ui-kit-color-teal: #23afd2;--ui-kit-color-teal-1: #d8edf3;--ui-kit-color-orange: #faad14;--ui-kit-color-orange-1: #faad1433;--ui-kit-color-orange-2: #ff7a00;--ui-kit-color-orange-3: #fbecde;--ui-kit-color-orange-4: #fff6e4;--ui-kit-color-pink: #cd1159;--ui-kit-color-pink-1: #fae7ee;--ui-kit-color-purple: #7673ce;--ui-kit-color-purple-1: #e7e7f6;--ui-kit-color-blue: #1677ff;--ui-kit-color-blue-1: #e4eeff}.kit-text-label{padding:6px 4px 4px;border-radius:4px;border:1px solid transparent;outline:none;background:#fff}.kit-text-label:focus{border-color:#006890;box-shadow:0 0 0 3px #e7f4ec}.kit-text-label .label{display:block;margin-bottom:4px}.kit-text-label .value{color:#002a3a;font-weight:400;font-size:13px;border-radius:4px;line-height:17px}.kit-text-label.text-label-empty .value{height:22px;min-width:112px;background:#f3f4f6}.kit-text-label.danger{border-color:#ef3e42;background:#f8e0e0}\n"] }]
|
|
36
|
-
}], propDecorators: { label: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], value: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], htmlMode: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], noValueMessage: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], messageText: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], state: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}] } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRleHQtbGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9raXQtdGV4dC1sYWJlbC9raXQtdGV4dC1sYWJlbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy91aS1raXQvc3JjL2xpYi9jb21wb25lbnRzL2tpdC10ZXh0LWxhYmVsL2tpdC10ZXh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sYXNzPVwidmFsdWVcIj57eyB2YWx1ZSB9fTwvZGl2PlxuICA8bmctdGVtcGxhdGUgI2h0bWxNb2RlVGVtcGxhdGU+XG4gICAgPGRpdiBjbGFzcz1cInZhbHVlXCIgW2lubmVySFRNTF09XCJ2YWx1ZVwiPjwvZGl2PlxuICA8L25nLXRlbXBsYXRlPlxuICA8a2l0LWlucHV0LW1lc3NhZ2UgKm5nSWY9XCJtZXNzYWdlVGV4dCAmJiB2YWx1ZVwiXG4gICAgICAgICAgICAgICAgICAgICBbbWVzc2FnZV09XCJtZXNzYWdlVGV4dFwiXG4gID48L2tpdC1pbnB1dC1tZXNzYWdlPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { KitTextLabelComponent } from './kit-text-label.component';
|
|
4
|
-
import { KitInputMessageModule } from './../kit-input-message/kit-input-message.module';
|
|
5
|
-
import { KitInputLabelModule } from '../kit-input-label/kit-input-label.module';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class KitTextLabelModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelModule, declarations: [KitTextLabelComponent], imports: [CommonModule,
|
|
10
|
-
KitInputMessageModule,
|
|
11
|
-
KitInputLabelModule], exports: [KitTextLabelComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelModule, imports: [CommonModule,
|
|
13
|
-
KitInputMessageModule,
|
|
14
|
-
KitInputLabelModule] }); }
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextLabelModule, decorators: [{
|
|
17
|
-
type: NgModule,
|
|
18
|
-
args: [{
|
|
19
|
-
declarations: [
|
|
20
|
-
KitTextLabelComponent,
|
|
21
|
-
],
|
|
22
|
-
imports: [
|
|
23
|
-
CommonModule,
|
|
24
|
-
KitInputMessageModule,
|
|
25
|
-
KitInputLabelModule,
|
|
26
|
-
],
|
|
27
|
-
exports: [
|
|
28
|
-
KitTextLabelComponent,
|
|
29
|
-
],
|
|
30
|
-
}]
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXRleHQtbGFiZWwubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWkta2l0L3NyYy9saWIvY29tcG9uZW50cy9raXQtdGV4dC1sYWJlbC9raXQtdGV4dC1sYWJlbC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7QUFDbkUsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0saURBQWlELENBQUM7QUFDeEYsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sMkNBQTJDLENBQUM7O0FBZWhGLE1BQU0sT0FBTyxrQkFBa0I7OEdBQWxCLGtCQUFrQjsrR0FBbEIsa0JBQWtCLGlCQVgzQixxQkFBcUIsYUFHckIsWUFBWTtZQUNaLHFCQUFxQjtZQUNyQixtQkFBbUIsYUFHbkIscUJBQXFCOytH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FiZWxNb2R1bGUgeyB9XG4iXX0=
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class KitTextareaAutoresizeDirective {
|
|
4
|
-
constructor(elementRef) {
|
|
5
|
-
this.elementRef = elementRef;
|
|
6
|
-
}
|
|
7
|
-
onInput() {
|
|
8
|
-
this.resize();
|
|
9
|
-
}
|
|
10
|
-
ngOnInit() {
|
|
11
|
-
if (this.elementRef.nativeElement.scrollHeight) {
|
|
12
|
-
this.resize();
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
resize() {
|
|
16
|
-
this.elementRef.nativeElement.style.height = '0';
|
|
17
|
-
const scrollHeight = this.elementRef.nativeElement.scrollHeight;
|
|
18
|
-
this.elementRef.nativeElement.style.height = `${scrollHeight}px`;
|
|
19
|
-
}
|
|
20
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextareaAutoresizeDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
21
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: KitTextareaAutoresizeDirective, selector: "[autoresize]", host: { listeners: { ":input": "onInput()" } }, ngImport: i0 }); }
|
|
22
|
-
}
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitTextareaAutoresizeDirective, decorators: [{
|
|
24
|
-
type: Directive,
|
|
25
|
-
args: [{
|
|
26
|
-
selector: '[autoresize]',
|
|
27
|
-
}]
|
|
28
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { onInput: [{
|
|
29
|
-
type: HostListener,
|
|
30
|
-
args: [':input']
|
|
31
|
-
}] } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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