@indigina/ui-kit 1.1.62 → 1.1.64
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/esm2022/lib/components/kit-autocomplete/kit-autocomplete.component.mjs +9 -14
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.directive.mjs +3 -3
- package/esm2022/lib/components/kit-autocomplete/kit-autocomplete.module.mjs +4 -4
- package/esm2022/lib/components/kit-avatar/kit-avatar.component.mjs +3 -3
- package/esm2022/lib/components/kit-avatar/kit-avatar.module.mjs +4 -4
- package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.component.mjs +3 -3
- package/esm2022/lib/components/kit-breadcrumbs/kit-breadcrumbs.module.mjs +4 -4
- package/esm2022/lib/components/kit-button/kit-button.component.mjs +3 -3
- package/esm2022/lib/components/kit-button/kit-button.module.mjs +4 -4
- package/esm2022/lib/components/kit-card/kit-card.component.mjs +4 -4
- package/esm2022/lib/components/kit-card/kit-card.module.mjs +4 -4
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.component.mjs +4 -4
- package/esm2022/lib/components/kit-checkbox/kit-checkbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.component.mjs +4 -4
- package/esm2022/lib/components/kit-copy-text/kit-copy-text.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-abstract-confirmation/kit-cta-panel-abstract-confirmation.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-action/kit-cta-panel-action.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-confirmation/abstract-kit-cta-panel-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.component.mjs +3 -3
- package/esm2022/lib/components/kit-cta-panel-confirmation/kit-cta-panel-confirmation.module.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.component.mjs +4 -4
- package/esm2022/lib/components/kit-cta-panel-item/kit-cta-panel-item.module.mjs +4 -4
- package/esm2022/lib/components/kit-datepicker/kit-datepicker.component.mjs +6 -6
- package/esm2022/lib/components/kit-datepicker/kit-datepicker.module.mjs +4 -4
- package/esm2022/lib/components/kit-daterange/kit-daterange.component.mjs +4 -4
- package/esm2022/lib/components/kit-daterange/kit-daterange.module.mjs +4 -4
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.component.mjs +6 -6
- package/esm2022/lib/components/kit-datetimepicker/kit-datetimepicker.module.mjs +4 -4
- package/esm2022/lib/components/kit-dialog/kit-dialog.component.mjs +3 -3
- package/esm2022/lib/components/kit-dialog/kit-dialog.module.mjs +4 -4
- package/esm2022/lib/components/kit-dialog/kit-dialog.service.mjs +4 -4
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.component.mjs +3 -3
- package/esm2022/lib/components/kit-dialog-actions/kit-dialog-actions.module.mjs +4 -4
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.component.mjs +9 -15
- package/esm2022/lib/components/kit-dropdown/kit-dropdown.module.mjs +4 -4
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.component.mjs +7 -6
- package/esm2022/lib/components/kit-file-upload/kit-file-upload.module.mjs +11 -19
- package/esm2022/lib/components/kit-grid/kit-grid-cell-template.directive.mjs +3 -3
- package/esm2022/lib/components/kit-grid/kit-grid-column/kit-grid-column.component.mjs +3 -3
- package/esm2022/lib/components/kit-grid/kit-grid-detail-template.directive.mjs +3 -3
- package/esm2022/lib/components/kit-grid/kit-grid.component.mjs +3 -3
- package/esm2022/lib/components/kit-grid/kit-grid.module.mjs +4 -4
- package/esm2022/lib/components/kit-input-label/kit-input-label.component.mjs +3 -3
- package/esm2022/lib/components/kit-input-label/kit-input-label.module.mjs +4 -4
- package/esm2022/lib/components/kit-input-message/kit-input-message.component.mjs +3 -3
- package/esm2022/lib/components/kit-input-message/kit-input-message.module.mjs +4 -4
- package/esm2022/lib/components/kit-loader/kit-loader.component.mjs +3 -3
- package/esm2022/lib/components/kit-loader/kit-loader.module.mjs +4 -4
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.component.mjs +3 -3
- package/esm2022/lib/components/kit-location-stepper/kit-location-stepper.module.mjs +4 -4
- package/esm2022/lib/components/kit-multiselect/kit-multiselect.component.mjs +5 -5
- package/esm2022/lib/components/kit-multiselect/kit-multiselect.module.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.component.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu-submenu/kit-navigation-menu-submenu.module.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.component.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.module.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-menu/kit-navigation-menu.service.mjs +3 -3
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.component.mjs +4 -4
- package/esm2022/lib/components/kit-navigation-tabs/kit-navigation-tabs.module.mjs +4 -4
- package/esm2022/lib/components/kit-note/kit-note.component.mjs +3 -3
- package/esm2022/lib/components/kit-note/kit-note.module.mjs +4 -4
- package/esm2022/lib/components/kit-notification/kit-notification.component.mjs +3 -3
- package/esm2022/lib/components/kit-notification/kit-notification.module.mjs +4 -4
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.component.mjs +5 -5
- package/esm2022/lib/components/kit-numeric-textbox/kit-numeric-textbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-pill/kit-pill.component.mjs +4 -4
- package/esm2022/lib/components/kit-pill/kit-pill.module.mjs +4 -4
- package/esm2022/lib/components/kit-popup/kit-popup.component.mjs +4 -4
- package/esm2022/lib/components/kit-popup/kit-popup.directive.mjs +4 -4
- package/esm2022/lib/components/kit-popup/kit-popup.module.mjs +4 -4
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.component.mjs +3 -3
- package/esm2022/lib/components/kit-profile-menu/kit-profile-menu.module.mjs +4 -4
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.component.mjs +4 -4
- package/esm2022/lib/components/kit-radio-button/kit-radio-button.module.mjs +4 -4
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.component.mjs +3 -3
- package/esm2022/lib/components/kit-skeleton/kit-skeleton.module.mjs +4 -4
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.component.mjs +3 -3
- package/esm2022/lib/components/kit-svg-icon/kit-svg-icon.module.mjs +4 -4
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.component.mjs +3 -3
- package/esm2022/lib/components/kit-svg-sprite/kit-svg-sprite.module.mjs +4 -4
- package/esm2022/lib/components/kit-switch/kit-switch.component.mjs +4 -4
- package/esm2022/lib/components/kit-switch/kit-switch.module.mjs +4 -4
- package/esm2022/lib/components/kit-tabs/kit-tab/kit-tab.component.mjs +3 -3
- package/esm2022/lib/components/kit-tabs/kit-tabs.component.mjs +3 -3
- package/esm2022/lib/components/kit-tabs/kit-tabs.module.mjs +4 -4
- package/esm2022/lib/components/kit-text-label/kit-text-label.component.mjs +3 -3
- package/esm2022/lib/components/kit-text-label/kit-text-label.module.mjs +4 -4
- package/esm2022/lib/components/kit-textarea/kit-textarea-autoresize.directive.mjs +4 -4
- package/esm2022/lib/components/kit-textarea/kit-textarea.component.mjs +5 -5
- package/esm2022/lib/components/kit-textarea/kit-textarea.module.mjs +4 -4
- package/esm2022/lib/components/kit-textbox/kit-textbox.component.mjs +5 -5
- package/esm2022/lib/components/kit-textbox/kit-textbox.module.mjs +4 -4
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.component.mjs +5 -5
- package/esm2022/lib/components/kit-timepicker/kit-timepicker.module.mjs +4 -4
- package/esm2022/lib/components/kit-toastr/kit-toastr.module.mjs +4 -4
- package/esm2022/lib/components/kit-toastr/kit-toastr.service.mjs +5 -5
- package/esm2022/lib/components/kit-toggle/kit-toggle.component.mjs +3 -3
- package/esm2022/lib/components/kit-toggle/kit-toggle.module.mjs +4 -4
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.component.mjs +3 -3
- package/esm2022/lib/components/kit-units-textbox/kit-units-textbox.module.mjs +4 -4
- package/esm2022/lib/directives/kit-badge/kit-badge.directive.mjs +4 -4
- package/esm2022/lib/directives/kit-badge/kit-badge.module.mjs +4 -4
- package/esm2022/lib/directives/kit-permission/kit-permission.directive.mjs +4 -4
- package/esm2022/lib/directives/kit-permission/kit-permission.module.mjs +4 -4
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.directive.mjs +4 -4
- package/esm2022/lib/directives/kit-tooltip/kit-tooltip.module.mjs +4 -4
- package/esm2022/lib/services/kit-query-params.service.mjs +4 -4
- package/esm2022/public-api.mjs +7 -5
- package/fesm2022/indigina-ui-kit.mjs +567 -584
- package/fesm2022/indigina-ui-kit.mjs.map +1 -1
- package/lib/components/kit-autocomplete/kit-autocomplete.component.d.ts +3 -7
- package/lib/components/kit-dropdown/kit-dropdown.component.d.ts +3 -8
- package/lib/components/kit-file-upload/kit-file-upload.component.d.ts +2 -1
- package/lib/components/kit-file-upload/kit-file-upload.module.d.ts +2 -3
- package/lib/components/kit-navigation-menu/kit-navigation-menu.util.d.ts +1 -1
- package/package.json +28 -28
- package/public-api.d.ts +7 -5
|
@@ -19,10 +19,10 @@ export class KitPopupDirective {
|
|
|
19
19
|
element.classList.add('popup-active');
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitPopupDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.6", type: KitPopupDirective, selector: "[kitPopupTrigger]", inputs: { popup: ["kitPopupTrigger", "popup"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
|
|
24
24
|
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitPopupDirective, decorators: [{
|
|
26
26
|
type: Directive,
|
|
27
27
|
args: [{
|
|
28
28
|
selector: '[kitPopupTrigger]',
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImpor
|
|
|
34
34
|
type: HostListener,
|
|
35
35
|
args: ['click']
|
|
36
36
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2l0LXBvcHVwLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMva2l0LXBvcHVwL2tpdC1wb3B1cC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU0zRSxNQUFNLE9BQU8saUJBQWlCO0lBTTVCLFlBQ1UsVUFBc0I7UUFBdEIsZUFBVSxHQUFWLFVBQVUsQ0FBWTtRQU5oQzs7V0FFRztRQUN1QixVQUFLLEdBQTZCLElBQUksQ0FBQ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ugb2YgdGhlIEtpdFBvcHVwQ29tcG9uZW50IGNvbXBvbmVudFxuICAgKi9cbiAgQElucHV0KCdraXRQb3B1cFRyaWdnZXInKSBwb3B1cDogS2l0UG9wdXBDb21wb25lbnQgfCBudWxsID0gbnVsbDtcblxuICBjb25zdHJ1Y3RvcihcbiAgICBwcml2YXRlIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYsXG4gICkge1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignY2xpY2snKVxuICBvbkNsaWNrKCk6IHZvaWQge1xuICAgIGNvbnN0IGVsZW1lbnQ6IEhUTUxFbGVtZW50ID0gdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQ7XG4gICAgaWYgKHRoaXMucG9wdXA/LmlzUG9wdXBPcGVuKCkpIHtcbiAgICAgIHRoaXMucG9wdXAuY2xvc2VQb3B1cCgpO1xuICAgICAgZWxlbWVudC5jbGFzc0xpc3QucmVtb3ZlKCdwb3B1cC1hY3RpdmUnKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5wb3B1cD8ub3BlblBvcHVwKCk7XG4gICAgICBlbGVtZW50LmNsYXNzTGlzdC5hZGQoJ3BvcHVwLWFjdGl2ZScpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -5,15 +5,15 @@ import { PopupModule } from '@progress/kendo-angular-popup';
|
|
|
5
5
|
import { KitPopupDirective } from './kit-popup.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class KitPopupModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitPopupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitPopupModule, declarations: [KitPopupComponent,
|
|
10
10
|
KitPopupDirective], imports: [CommonModule,
|
|
11
11
|
PopupModule], exports: [KitPopupComponent,
|
|
12
12
|
KitPopupDirective] }); }
|
|
13
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitPopupModule, imports: [CommonModule,
|
|
14
14
|
PopupModule] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitPopupModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
declarations: [
|
|
@@ -24,10 +24,10 @@ export class KitProfileMenuComponent {
|
|
|
24
24
|
item?.action && item.action();
|
|
25
25
|
this.userMenu.closePopup();
|
|
26
26
|
}
|
|
27
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
27
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KitProfileMenuComponent, selector: "kit-profile-menu", inputs: { menuItems: "menuItems", userName: "userName", companyName: "companyName", avatarImageSrc: "avatarImageSrc" }, viewQueries: [{ propertyName: "userMenu", first: true, predicate: ["userMenu"], descendants: true }], ngImport: i0, template: "<div class=\"profile-menu\">\n <button #menuButton\n class=\"menu-button\"\n [kitPopupTrigger]=\"userMenu\">\n <kit-avatar [size]=\"KitAvatarSize.LARGE\"\n [name]=\"userName\"\n [imageSrc]=\"avatarImageSrc\"\n ></kit-avatar>\n <kit-svg-icon class=\"menu-button-icon\"\n [icon]=\"KitSvgIcon.CARET_DOWN\"\n ></kit-svg-icon>\n </button>\n\n <kit-popup #userMenu\n class=\"menu-popup\"\n [anchor]=\"menuButton\"\n [anchorHorizontalAlign]=\"KitPopupAlignHorizontal.RIGHT\"\n [popupHorizontalAlign]=\"KitPopupAlignHorizontal.RIGHT\">\n <div class=\"popup-content\">\n <div class=\"popup-header\">\n <kit-avatar class=\"popup-header-avatar\"\n [name]=\"userName\"\n [size]=\"KitAvatarSize.LARGE\"\n [imageSrc]=\"avatarImageSrc\"\n ></kit-avatar>\n <div class=\"popup-header-details\">\n @if (userName) {\n <div class=\"popup-header-name\">{{ userName }}</div>\n }\n @if (companyName) {\n <div class=\"popup-header-company\">{{ companyName }}</div>\n }\n </div>\n </div>\n <div class=\"popup-menu\">\n @for (item of menuItems; track item) {\n <a class=\"menu-item\"\n [ngClass]=\"item.cssClass\"\n [routerLink]=\"item.link\"\n (click)=\"onClick(item)\">\n @if (item.icon) {\n <kit-svg-icon class=\"menu-item-icon\"\n [icon]=\"item.icon\"\n [ngClass]=\"item?.iconType ?? KitSvgIconType.FILL\"\n ></kit-svg-icon>\n }\n <span class=\"menu-item-text\">{{ item.title }}</span>\n </a>\n }\n </div>\n </div>\n </kit-popup>\n</div>\n\n", styles: [".profile-menu .menu-button{display:flex;align-items:center;gap:14px;padding:0;border:none;background:none;cursor:pointer}.profile-menu .menu-button-icon{display:block;width:20px;height:20px}.profile-menu .menu-button ::ng-deep .kit-badge-content{top:4px;right:5px;border-color:var(--color-white)}.profile-menu .menu-button.popup-active .menu-button-icon{transform:rotate(180deg)}.menu-popup .popup-content{display:flex;flex-direction:column;gap:4px;padding:8px 4px;width:280px}.menu-popup .popup-header{display:flex;align-items:center;gap:14px;padding:6px 12px}.menu-popup .popup-header-details{min-width:0;font-size:14px}.menu-popup .popup-header-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.menu-popup .popup-menu{display:flex;flex-direction:column;gap:4px}.menu-popup .menu-item{display:flex;align-items:center;gap:8px;padding:6px 12px;color:var(--ui-kit-color-grey-10);border-radius:4px;text-decoration:none;cursor:pointer}.menu-popup .menu-item:hover{color:var(--ui-kit-color-main);background:var(--ui-kit-color-grey-13)}.menu-popup .menu-item-icon{display:block;width:18px;height:18px}.menu-popup .menu-item-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}.menu-popup .menu-item-icon.fill{stroke:none;fill:var(--ui-kit-color-main)}.menu-popup .menu-item-text{font-size:14px;font-weight:400}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.KitAvatarComponent, selector: "kit-avatar", inputs: ["name", "imageSrc", "size"] }, { kind: "component", type: i3.KitPopupComponent, selector: "kit-popup", inputs: ["anchor", "closeOnOutsideClick", "anchorHorizontalAlign", "popupHorizontalAlign"] }, { kind: "directive", type: i4.KitPopupDirective, selector: "[kitPopupTrigger]", inputs: ["kitPopupTrigger"] }, { kind: "component", type: i5.KitSvgIconComponent, selector: "kit-svg-icon", inputs: ["icon", "iconClass"] }, { kind: "directive", type: i6.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuComponent, decorators: [{
|
|
31
31
|
type: Component,
|
|
32
32
|
args: [{ selector: 'kit-profile-menu', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"profile-menu\">\n <button #menuButton\n class=\"menu-button\"\n [kitPopupTrigger]=\"userMenu\">\n <kit-avatar [size]=\"KitAvatarSize.LARGE\"\n [name]=\"userName\"\n [imageSrc]=\"avatarImageSrc\"\n ></kit-avatar>\n <kit-svg-icon class=\"menu-button-icon\"\n [icon]=\"KitSvgIcon.CARET_DOWN\"\n ></kit-svg-icon>\n </button>\n\n <kit-popup #userMenu\n class=\"menu-popup\"\n [anchor]=\"menuButton\"\n [anchorHorizontalAlign]=\"KitPopupAlignHorizontal.RIGHT\"\n [popupHorizontalAlign]=\"KitPopupAlignHorizontal.RIGHT\">\n <div class=\"popup-content\">\n <div class=\"popup-header\">\n <kit-avatar class=\"popup-header-avatar\"\n [name]=\"userName\"\n [size]=\"KitAvatarSize.LARGE\"\n [imageSrc]=\"avatarImageSrc\"\n ></kit-avatar>\n <div class=\"popup-header-details\">\n @if (userName) {\n <div class=\"popup-header-name\">{{ userName }}</div>\n }\n @if (companyName) {\n <div class=\"popup-header-company\">{{ companyName }}</div>\n }\n </div>\n </div>\n <div class=\"popup-menu\">\n @for (item of menuItems; track item) {\n <a class=\"menu-item\"\n [ngClass]=\"item.cssClass\"\n [routerLink]=\"item.link\"\n (click)=\"onClick(item)\">\n @if (item.icon) {\n <kit-svg-icon class=\"menu-item-icon\"\n [icon]=\"item.icon\"\n [ngClass]=\"item?.iconType ?? KitSvgIconType.FILL\"\n ></kit-svg-icon>\n }\n <span class=\"menu-item-text\">{{ item.title }}</span>\n </a>\n }\n </div>\n </div>\n </kit-popup>\n</div>\n\n", styles: [".profile-menu .menu-button{display:flex;align-items:center;gap:14px;padding:0;border:none;background:none;cursor:pointer}.profile-menu .menu-button-icon{display:block;width:20px;height:20px}.profile-menu .menu-button ::ng-deep .kit-badge-content{top:4px;right:5px;border-color:var(--color-white)}.profile-menu .menu-button.popup-active .menu-button-icon{transform:rotate(180deg)}.menu-popup .popup-content{display:flex;flex-direction:column;gap:4px;padding:8px 4px;width:280px}.menu-popup .popup-header{display:flex;align-items:center;gap:14px;padding:6px 12px}.menu-popup .popup-header-details{min-width:0;font-size:14px}.menu-popup .popup-header-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.menu-popup .popup-menu{display:flex;flex-direction:column;gap:4px}.menu-popup .menu-item{display:flex;align-items:center;gap:8px;padding:6px 12px;color:var(--ui-kit-color-grey-10);border-radius:4px;text-decoration:none;cursor:pointer}.menu-popup .menu-item:hover{color:var(--ui-kit-color-main);background:var(--ui-kit-color-grey-13)}.menu-popup .menu-item-icon{display:block;width:18px;height:18px}.menu-popup .menu-item-icon.stroke{fill:none;stroke:var(--ui-kit-color-main)}.menu-popup .menu-item-icon.fill{stroke:none;fill:var(--ui-kit-color-main)}.menu-popup .menu-item-text{font-size:14px;font-weight:400}\n"] }]
|
|
33
33
|
}], propDecorators: { menuItems: [{
|
|
@@ -7,18 +7,18 @@ import { KitSvgIconModule } from '../kit-svg-icon/kit-svg-icon.module';
|
|
|
7
7
|
import { RouterLink } from '@angular/router';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export class KitProfileMenuModule {
|
|
10
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
11
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuModule, declarations: [KitProfileMenuComponent], imports: [CommonModule,
|
|
12
12
|
KitAvatarModule,
|
|
13
13
|
KitPopupModule,
|
|
14
14
|
KitSvgIconModule,
|
|
15
15
|
RouterLink], exports: [KitProfileMenuComponent] }); }
|
|
16
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuModule, imports: [CommonModule,
|
|
17
17
|
KitAvatarModule,
|
|
18
18
|
KitPopupModule,
|
|
19
19
|
KitSvgIconModule] }); }
|
|
20
20
|
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitProfileMenuModule, decorators: [{
|
|
22
22
|
type: NgModule,
|
|
23
23
|
args: [{
|
|
24
24
|
declarations: [
|
|
@@ -54,14 +54,14 @@ export class KitRadioButtonComponent {
|
|
|
54
54
|
needToPrevent(item) {
|
|
55
55
|
return !!item.readonly || !!item.disabled;
|
|
56
56
|
}
|
|
57
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
58
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
57
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
58
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: KitRadioButtonComponent, selector: "kit-radio-button", inputs: { items: "items", label: "label", name: "name", readonly: "readonly", disabled: "disabled" }, outputs: { changed: "changed" }, providers: [{
|
|
59
59
|
provide: NG_VALUE_ACCESSOR,
|
|
60
60
|
useExisting: forwardRef(() => KitRadioButtonComponent),
|
|
61
61
|
multi: true,
|
|
62
62
|
}], ngImport: i0, template: "<div class=\"kit-radio-button\">\n @if (label) {\n <kit-input-label class=\"kit-radio-button-label\"\n [text]=\"label\"\n ></kit-input-label>\n }\n\n @if (items.length) {\n <div class=\"kit-radio-button-items\">\n @for (item of items; track item) {\n <div class=\"kit-radio-button-item\"\n [class.readonly]=\"item.readonly || readonly || disabled\"\n [class.disabled]=\"item.disabled || disabled\">\n <input kendoRadioButton\n type=\"radio\"\n [id]=\"buildLabelId($index)\"\n [name]=\"name\"\n [value]=\"item.value\"\n [checked]=\"item.checked\"\n (click)=\"handleClick($event, item)\"\n (change)=\"onRadioValueChange(item)\" />\n\n <kit-input-label [text]=\"item.label\"\n [for]=\"buildLabelId($index)\"\n ></kit-input-label>\n </div>\n }\n </div>\n }\n</div>\n", styles: [".kit-radio-button-items{display:flex;gap:10px}.kit-radio-button-label{display:block;margin-bottom:4px}:host ::ng-deep .kit-radio-button-item{display:flex;align-items:center;height:40px}:host ::ng-deep .kit-radio-button-item .k-radio{display:grid;place-content:center;box-sizing:border-box;width:16px;height:16px;padding:0;margin:0;appearance:none;border:1px solid var(--ui-kit-color-grey-11);border-radius:50%;background:var(--ui-kit-color-grey-13);cursor:pointer}:host ::ng-deep .kit-radio-button-item .k-radio:before{content:\"\";width:8px;height:8px;border-radius:50%;transform:scale(0);transition:.12s transform ease-in-out;background:var(--ui-kit-color-main)}:host ::ng-deep .kit-radio-button-item .k-radio:checked{border-color:var(--ui-kit-color-main)}:host ::ng-deep .kit-radio-button-item .k-radio:checked:before{transform:scale(1)}:host ::ng-deep .kit-radio-button-item .k-radio:focus{box-shadow:0 0 0 2px var(--ui-kit-color-focus)}:host ::ng-deep .kit-radio-button-item .k-label{padding-left:8px;color:var(--ui-kit-color-grey-10);font-size:14px;font-weight:400;cursor:pointer}:host ::ng-deep .kit-radio-button-item:hover:not(.disabled):not(.readonly) .k-radio{border-color:var(--ui-kit-color-hover)}:host ::ng-deep .kit-radio-button-item:hover:not(.disabled):not(.readonly) .k-radio:checked{border-color:var(--ui-kit-color-main)}:host ::ng-deep .kit-radio-button-item:hover:not(.disabled):not(.readonly) .k-radio:checked:hover{border-color:var(--ui-kit-color-hover)}:host ::ng-deep .kit-radio-button-item:hover:not(.disabled):not(.readonly) .k-radio:checked:hover:before{background:var(--ui-kit-color-hover)}:host ::ng-deep .kit-radio-button .readonly .k-label,:host ::ng-deep .kit-radio-button .disabled .k-label{color:var(--ui-kit-color-grey-12);cursor:default}:host ::ng-deep .kit-radio-button .readonly .k-radio,:host ::ng-deep .kit-radio-button .disabled .k-radio{cursor:default}:host ::ng-deep .kit-radio-button .readonly .k-radio:checked,:host ::ng-deep .kit-radio-button .disabled .k-radio:checked{border-color:var(--ui-kit-color-grey-11)}:host ::ng-deep .kit-radio-button .readonly .k-radio:checked:before,:host ::ng-deep .kit-radio-button .disabled .k-radio:checked:before{background:var(--ui-kit-color-grey-11)}:host ::ng-deep .kit-radio-button .readonly .k-radio:focus,:host ::ng-deep .kit-radio-button .disabled .k-radio:focus{box-shadow:none}\n"], dependencies: [{ kind: "directive", type: i1.RadioButtonDirective, selector: "input[kendoRadioButton]", inputs: ["size"] }, { kind: "component", type: i2.KitInputLabelComponent, selector: "kit-input-label", inputs: ["text", "for", "tooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
63
63
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
64
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonComponent, decorators: [{
|
|
65
65
|
type: Component,
|
|
66
66
|
args: [{ selector: 'kit-radio-button', changeDetection: ChangeDetectionStrategy.OnPush, providers: [{
|
|
67
67
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -81,4 +81,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImpor
|
|
|
81
81
|
}], changed: [{
|
|
82
82
|
type: Output
|
|
83
83
|
}] } });
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
84
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaW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VsPlxuICAgICAgICA8L2Rpdj5cbiAgICAgIH1cbiAgICA8L2Rpdj5cbiAgfVxuPC9kaXY+XG4iXX0=
|
|
@@ -5,15 +5,15 @@ import { RadioButtonModule } from '@progress/kendo-angular-inputs';
|
|
|
5
5
|
import { KitInputLabelModule } from '../kit-input-label/kit-input-label.module';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class KitRadioButtonModule {
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonModule, declarations: [KitRadioButtonComponent], imports: [CommonModule,
|
|
10
10
|
RadioButtonModule,
|
|
11
11
|
KitInputLabelModule], exports: [KitRadioButtonComponent] }); }
|
|
12
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonModule, imports: [CommonModule,
|
|
13
13
|
RadioButtonModule,
|
|
14
14
|
KitInputLabelModule] }); }
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitRadioButtonModule, decorators: [{
|
|
17
17
|
type: NgModule,
|
|
18
18
|
args: [{
|
|
19
19
|
declarations: [
|
|
@@ -31,10 +31,10 @@ export class KitSkeletonComponent {
|
|
|
31
31
|
*/
|
|
32
32
|
this.animation = KitSkeletonAnimation.WAVE;
|
|
33
33
|
}
|
|
34
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
34
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: KitSkeletonComponent, selector: "kit-skeleton", inputs: { width: "width", height: "height", shape: "shape", animation: "animation" }, ngImport: i0, template: "<kendo-skeleton class=\"kit-skeleton\"\n [width]=\"width\"\n [height]=\"height\"\n [shape]=\"shape\"\n [animation]=\"animation\"\n></kendo-skeleton>\n", dependencies: [{ kind: "component", type: i1.SkeletonComponent, selector: "kendo-skeleton", inputs: ["animation", "shape", "width", "height"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{ selector: 'kit-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<kendo-skeleton class=\"kit-skeleton\"\n [width]=\"width\"\n [height]=\"height\"\n [shape]=\"shape\"\n [animation]=\"animation\"\n></kendo-skeleton>\n" }]
|
|
40
40
|
}], propDecorators: { width: [{
|
|
@@ -4,13 +4,13 @@ import { KitSkeletonComponent } from './kit-skeleton.component';
|
|
|
4
4
|
import { IndicatorsModule } from '@progress/kendo-angular-indicators';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class KitSkeletonModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonModule, declarations: [KitSkeletonComponent], imports: [CommonModule,
|
|
9
9
|
IndicatorsModule], exports: [KitSkeletonComponent] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonModule, imports: [CommonModule,
|
|
11
11
|
IndicatorsModule] }); }
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSkeletonModule, decorators: [{
|
|
14
14
|
type: NgModule,
|
|
15
15
|
args: [{
|
|
16
16
|
declarations: [
|
|
@@ -11,10 +11,10 @@ export class KitSvgIconComponent {
|
|
|
11
11
|
*/
|
|
12
12
|
this.iconClass = null;
|
|
13
13
|
}
|
|
14
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: KitSvgIconComponent, selector: "kit-svg-icon", inputs: { icon: "icon", iconClass: "iconClass" }, ngImport: i0, template: "<div class=\"kit-svg-icon\">\n <svg attr.class=\"{{ iconClass }} {{ icon }}-icon icon\">\n <use attr.xlink:href=\"#{{ icon }}\"></use>\n </svg>\n</div>\n", styles: [".kit-svg-icon,.kit-svg-icon .icon{display:block;width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'kit-svg-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"kit-svg-icon\">\n <svg attr.class=\"{{ iconClass }} {{ icon }}-icon icon\">\n <use attr.xlink:href=\"#{{ icon }}\"></use>\n </svg>\n</div>\n", styles: [".kit-svg-icon,.kit-svg-icon .icon{display:block;width:100%;height:100%}\n"] }]
|
|
20
20
|
}], propDecorators: { icon: [{
|
|
@@ -2,11 +2,11 @@ import { NgModule } from '@angular/core';
|
|
|
2
2
|
import { KitSvgIconComponent } from '../kit-svg-icon/kit-svg-icon.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class KitSvgIconModule {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
6
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconModule, declarations: [KitSvgIconComponent], exports: [KitSvgIconComponent] }); }
|
|
7
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconModule }); }
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: KitSvgIconModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [
|