@indigina/ui-kit 1.1.663 → 1.1.665
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.
|
@@ -17295,7 +17295,7 @@ class KitFilterSelectorComponent {
|
|
|
17295
17295
|
this.popup()?.close();
|
|
17296
17296
|
}
|
|
17297
17297
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: KitFilterSelectorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17298
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: KitFilterSelectorComponent, isStandalone: true, selector: "kit-filter-selector", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemSelected: "itemSelected" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["toggleButton"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "popup", first: true, predicate: ["popup"], descendants: true, read: KitPopupComponent, isSignal: true }], ngImport: i0, template: "<div class=\"kit-filter-selector\">\n <kit-pill #toggleButton\n [type]=\"kitPillType.DASHED\"\n [selectable]=\"true\"\n [selected]=\"popup.isPopupOpen\"\n [icon]=\"kitSvgIcon.PLUS\"\n [iconType]=\"kitSvgIconType.STROKE\"\n (clicked)=\"popup.toggle()\">\n {{ \"kit.filters.addNewFilter\" | translate }}\n </kit-pill>\n</div>\n\n<kit-popup #popup\n popupClass=\"kit-filter-selector-popup\"\n [anchor]=\"anchor()\"\n [content]=\"content\">\n</kit-popup>\n\n<ng-template #content>\n <div class=\"popup-content\">\n <div class=\"filter-search\">\n <kit-textbox [placeholder]=\"'kit.filters.search' | translate\"\n [size]=\"kitTextboxSize.SMALL\"\n [defaultValue]=\"searchTerm()\"\n (changed)=\"onSearchChange($event)\"\n ></kit-textbox>\n </div>\n <div class=\"filter-items\">\n @for (item of filterItems(); track item.field) {\n <div class=\"filter-item\"\n [class.disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\">\n {{ item.title | translate }}
|
|
17298
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.1", type: KitFilterSelectorComponent, isStandalone: true, selector: "kit-filter-selector", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemSelected: "itemSelected" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["toggleButton"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "popup", first: true, predicate: ["popup"], descendants: true, read: KitPopupComponent, isSignal: true }], ngImport: i0, template: "<div class=\"kit-filter-selector\">\n <kit-pill #toggleButton\n [type]=\"kitPillType.DASHED\"\n [selectable]=\"true\"\n [selected]=\"popup.isPopupOpen\"\n [icon]=\"kitSvgIcon.PLUS\"\n [iconType]=\"kitSvgIconType.STROKE\"\n (clicked)=\"popup.toggle()\">\n {{ \"kit.filters.addNewFilter\" | translate }}\n </kit-pill>\n</div>\n\n<kit-popup #popup\n popupClass=\"kit-filter-selector-popup\"\n [anchor]=\"anchor()\"\n [content]=\"content\">\n</kit-popup>\n\n<ng-template #content>\n <div class=\"popup-content\">\n <div class=\"filter-search\">\n <kit-textbox [placeholder]=\"'kit.filters.search' | translate\"\n [size]=\"kitTextboxSize.SMALL\"\n [defaultValue]=\"searchTerm()\"\n (changed)=\"onSearchChange($event)\"\n ></kit-textbox>\n </div>\n <div class=\"filter-items\">\n @for (item of filterItems(); track item.field) {\n <div class=\"filter-item\"\n [class.disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\">\n <kit-truncate-text>{{ item.title | translate }}</kit-truncate-text>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: ["::ng-deep .kit-filter-selector-popup .popup-content{width:172px;box-sizing:border-box}::ng-deep .kit-filter-selector-popup .filter-search{margin-bottom:5px;padding-bottom:15px;border-bottom:1px solid var(--ui-kit-color-grey-11)}::ng-deep .kit-filter-selector-popup .filter-items{max-height:400px;overflow-y:auto}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar{width:4px}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar-thumb{background-color:var(--ui-kit-color-grey-17);border-radius:2px}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar-thumb:hover{background-color:var(--ui-kit-color-grey-10)}::ng-deep .kit-filter-selector-popup .filter-item{padding:6px 12px;color:var(--ui-kit-color-grey-10);font-size:14px;font-weight:400;line-height:20px;cursor:pointer}::ng-deep .kit-filter-selector-popup .filter-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-filter-selector-popup .filter-item.disabled{color:var(--ui-kit-color-grey-12);pointer-events:none}\n"], dependencies: [{ kind: "component", type: KitPopupComponent, selector: "kit-popup", inputs: ["anchor", "content", "closeOnOutsideClick", "showFooter", "cancelButtonLabel", "applyButtonLabel", "isApplyButtonDisabled", "positionMode", "popupClass", "closePopupOnCancel", "extraInsideSelectors"], outputs: ["cancelAction", "applyAction", "opened", "closed"] }, { kind: "component", type: KitTextboxComponent, selector: "kit-textbox", inputs: ["placeholder", "label", "labelTooltip", "defaultValue", "messageIcon", "messageText", "messageTemplate", "disabled", "maxlength", "state", "size", "icon", "iconType", "clearButton", "showStateIcon", "readonly", "customStateIcon", "type"], outputs: ["defaultValueChange", "disabledChange", "blured", "focused", "changed"] }, { kind: "component", type: KitPillComponent, selector: "kit-pill", inputs: ["removable", "selectable", "selected", "type", "theme", "icon", "iconType"], outputs: ["clicked", "removed"] }, { kind: "component", type: KitTruncateTextComponent, selector: "kit-truncate-text", inputs: ["tooltipText", "lines", "innerHtml"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
17299
17299
|
}
|
|
17300
17300
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: KitFilterSelectorComponent, decorators: [{
|
|
17301
17301
|
type: Component,
|
|
@@ -17304,7 +17304,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
17304
17304
|
TranslatePipe,
|
|
17305
17305
|
KitTextboxComponent,
|
|
17306
17306
|
KitPillComponent,
|
|
17307
|
-
|
|
17307
|
+
KitTruncateTextComponent,
|
|
17308
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"kit-filter-selector\">\n <kit-pill #toggleButton\n [type]=\"kitPillType.DASHED\"\n [selectable]=\"true\"\n [selected]=\"popup.isPopupOpen\"\n [icon]=\"kitSvgIcon.PLUS\"\n [iconType]=\"kitSvgIconType.STROKE\"\n (clicked)=\"popup.toggle()\">\n {{ \"kit.filters.addNewFilter\" | translate }}\n </kit-pill>\n</div>\n\n<kit-popup #popup\n popupClass=\"kit-filter-selector-popup\"\n [anchor]=\"anchor()\"\n [content]=\"content\">\n</kit-popup>\n\n<ng-template #content>\n <div class=\"popup-content\">\n <div class=\"filter-search\">\n <kit-textbox [placeholder]=\"'kit.filters.search' | translate\"\n [size]=\"kitTextboxSize.SMALL\"\n [defaultValue]=\"searchTerm()\"\n (changed)=\"onSearchChange($event)\"\n ></kit-textbox>\n </div>\n <div class=\"filter-items\">\n @for (item of filterItems(); track item.field) {\n <div class=\"filter-item\"\n [class.disabled]=\"item.disabled\"\n (click)=\"onItemClick(item)\">\n <kit-truncate-text>{{ item.title | translate }}</kit-truncate-text>\n </div>\n }\n </div>\n </div>\n</ng-template>\n", styles: ["::ng-deep .kit-filter-selector-popup .popup-content{width:172px;box-sizing:border-box}::ng-deep .kit-filter-selector-popup .filter-search{margin-bottom:5px;padding-bottom:15px;border-bottom:1px solid var(--ui-kit-color-grey-11)}::ng-deep .kit-filter-selector-popup .filter-items{max-height:400px;overflow-y:auto}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar{width:4px}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar-thumb{background-color:var(--ui-kit-color-grey-17);border-radius:2px}::ng-deep .kit-filter-selector-popup .filter-items::-webkit-scrollbar-thumb:hover{background-color:var(--ui-kit-color-grey-10)}::ng-deep .kit-filter-selector-popup .filter-item{padding:6px 12px;color:var(--ui-kit-color-grey-10);font-size:14px;font-weight:400;line-height:20px;cursor:pointer}::ng-deep .kit-filter-selector-popup .filter-item:hover{color:var(--ui-kit-color-main)}::ng-deep .kit-filter-selector-popup .filter-item.disabled{color:var(--ui-kit-color-grey-12);pointer-events:none}\n"] }]
|
|
17308
17309
|
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], itemSelected: [{ type: i0.Output, args: ["itemSelected"] }], anchor: [{ type: i0.ViewChild, args: ['toggleButton', { ...{ read: ElementRef }, isSignal: true }] }], popup: [{ type: i0.ViewChild, args: ['popup', { ...{ read: KitPopupComponent }, isSignal: true }] }] } });
|
|
17309
17310
|
|
|
17310
17311
|
class KitGridFiltersComponent {
|
|
@@ -19812,11 +19813,13 @@ class KitGridActionComponent {
|
|
|
19812
19813
|
...(ngDevMode ? [{ debugName: "disabled" }] : /* istanbul ignore next */ []));
|
|
19813
19814
|
this.tooltip = input(/* @ts-ignore */
|
|
19814
19815
|
...(ngDevMode ? [undefined, { debugName: "tooltip" }] : /* istanbul ignore next */ []));
|
|
19816
|
+
this.showTooltipWhenDisabled = input(false, /* @ts-ignore */
|
|
19817
|
+
...(ngDevMode ? [{ debugName: "showTooltipWhenDisabled" }] : /* istanbul ignore next */ []));
|
|
19815
19818
|
this.clicked = output();
|
|
19816
19819
|
this.kitTooltipPosition = KitTooltipPosition;
|
|
19817
19820
|
}
|
|
19818
19821
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: KitGridActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19819
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: KitGridActionComponent, isStandalone: true, selector: "kit-grid-action", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button class=\"kit-grid-action\"\n [disabled]=\"disabled()\" \n (click)=\"clicked.emit();\">\n <kit-svg-icon kitTooltip\n class=\"kit-grid-action-icon\"\n kitTooltipFilter=\".kit-grid-action-icon\"\n [kitTooltipVisible]=\"!disabled()\"\n [kitTooltipPosition]=\"kitTooltipPosition.TOP\"\n [icon]=\"icon()\"\n [title]=\"tooltip() ?? ''\"\n [ngClass]=\"iconType()\"/>\n</button>\n", styles: [".kit-grid-action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:none;padding:0;width:100%;height:100%}.kit-grid-action:disabled{cursor:default}.kit-grid-action:disabled .kit-grid-action-icon.fill{fill:var(--color-grey-8)}.kit-grid-action:disabled .kit-grid-action-icon.stroke{stroke:var(--color-grey-8)}.kit-grid-action-icon{width:16px;height:16px}.kit-grid-action-icon.fill{stroke:transparent;fill:var(--color-grey-4)}.kit-grid-action-icon.fill:hover{fill:var(--color-main)}.kit-grid-action-icon.stroke{fill:transparent;stroke:var(--color-grey-4)}.kit-grid-action-icon.stroke:hover{stroke:var(--color-main)}\n"], dependencies: [{ kind: "component", type: KitSvgIconComponent, selector: "kit-svg-icon", inputs: ["icon", "iconClass"] }, { kind: "directive", type: KitTooltipDirective, selector: "[kitTooltip]", inputs: ["kitTooltipPosition", "kitTooltipFilter", "kitTooltipTemplateRef", "kitTooltipVisible", "kitTooltipOffset"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
19822
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.1.1", type: KitGridActionComponent, isStandalone: true, selector: "kit-grid-action", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: true, transformFunction: null }, iconType: { classPropertyName: "iconType", publicName: "iconType", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, showTooltipWhenDisabled: { classPropertyName: "showTooltipWhenDisabled", publicName: "showTooltipWhenDisabled", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<button class=\"kit-grid-action\"\n [disabled]=\"disabled()\" \n (click)=\"clicked.emit();\">\n <kit-svg-icon kitTooltip\n class=\"kit-grid-action-icon\"\n kitTooltipFilter=\".kit-grid-action-icon\"\n [kitTooltipVisible]=\"!disabled() || showTooltipWhenDisabled()\"\n [kitTooltipPosition]=\"kitTooltipPosition.TOP\"\n [icon]=\"icon()\"\n [title]=\"tooltip() ?? ''\"\n [ngClass]=\"iconType()\"/>\n</button>\n", styles: [".kit-grid-action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:none;padding:0;width:100%;height:100%}.kit-grid-action:disabled{cursor:default}.kit-grid-action:disabled .kit-grid-action-icon.fill{fill:var(--color-grey-8)}.kit-grid-action:disabled .kit-grid-action-icon.stroke{stroke:var(--color-grey-8)}.kit-grid-action-icon{width:16px;height:16px}.kit-grid-action-icon.fill{stroke:transparent;fill:var(--color-grey-4)}.kit-grid-action-icon.fill:hover{fill:var(--color-main)}.kit-grid-action-icon.stroke{fill:transparent;stroke:var(--color-grey-4)}.kit-grid-action-icon.stroke:hover{stroke:var(--color-main)}\n"], dependencies: [{ kind: "component", type: KitSvgIconComponent, selector: "kit-svg-icon", inputs: ["icon", "iconClass"] }, { kind: "directive", type: KitTooltipDirective, selector: "[kitTooltip]", inputs: ["kitTooltipPosition", "kitTooltipFilter", "kitTooltipTemplateRef", "kitTooltipVisible", "kitTooltipOffset"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
19820
19823
|
}
|
|
19821
19824
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImport: i0, type: KitGridActionComponent, decorators: [{
|
|
19822
19825
|
type: Component,
|
|
@@ -19824,8 +19827,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.1", ngImpor
|
|
|
19824
19827
|
KitSvgIconComponent,
|
|
19825
19828
|
KitTooltipDirective,
|
|
19826
19829
|
NgClass,
|
|
19827
|
-
], template: "<button class=\"kit-grid-action\"\n [disabled]=\"disabled()\" \n (click)=\"clicked.emit();\">\n <kit-svg-icon kitTooltip\n class=\"kit-grid-action-icon\"\n kitTooltipFilter=\".kit-grid-action-icon\"\n [kitTooltipVisible]=\"!disabled()\"\n [kitTooltipPosition]=\"kitTooltipPosition.TOP\"\n [icon]=\"icon()\"\n [title]=\"tooltip() ?? ''\"\n [ngClass]=\"iconType()\"/>\n</button>\n", styles: [".kit-grid-action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:none;padding:0;width:100%;height:100%}.kit-grid-action:disabled{cursor:default}.kit-grid-action:disabled .kit-grid-action-icon.fill{fill:var(--color-grey-8)}.kit-grid-action:disabled .kit-grid-action-icon.stroke{stroke:var(--color-grey-8)}.kit-grid-action-icon{width:16px;height:16px}.kit-grid-action-icon.fill{stroke:transparent;fill:var(--color-grey-4)}.kit-grid-action-icon.fill:hover{fill:var(--color-main)}.kit-grid-action-icon.stroke{fill:transparent;stroke:var(--color-grey-4)}.kit-grid-action-icon.stroke:hover{stroke:var(--color-main)}\n"] }]
|
|
19828
|
-
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], iconType: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconType", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }] } });
|
|
19830
|
+
], template: "<button class=\"kit-grid-action\"\n [disabled]=\"disabled()\" \n (click)=\"clicked.emit();\">\n <kit-svg-icon kitTooltip\n class=\"kit-grid-action-icon\"\n kitTooltipFilter=\".kit-grid-action-icon\"\n [kitTooltipVisible]=\"!disabled() || showTooltipWhenDisabled()\"\n [kitTooltipPosition]=\"kitTooltipPosition.TOP\"\n [icon]=\"icon()\"\n [title]=\"tooltip() ?? ''\"\n [ngClass]=\"iconType()\"/>\n</button>\n", styles: [".kit-grid-action{display:flex;align-items:center;justify-content:center;cursor:pointer;background:transparent;border:none;padding:0;width:100%;height:100%}.kit-grid-action:disabled{cursor:default}.kit-grid-action:disabled .kit-grid-action-icon.fill{fill:var(--color-grey-8)}.kit-grid-action:disabled .kit-grid-action-icon.stroke{stroke:var(--color-grey-8)}.kit-grid-action-icon{width:16px;height:16px}.kit-grid-action-icon.fill{stroke:transparent;fill:var(--color-grey-4)}.kit-grid-action-icon.fill:hover{fill:var(--color-main)}.kit-grid-action-icon.stroke{fill:transparent;stroke:var(--color-grey-4)}.kit-grid-action-icon.stroke:hover{stroke:var(--color-main)}\n"] }]
|
|
19831
|
+
}], propDecorators: { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], iconType: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconType", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], showTooltipWhenDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTooltipWhenDisabled", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }] } });
|
|
19829
19832
|
|
|
19830
19833
|
var KitTreeContentFormat;
|
|
19831
19834
|
(function (KitTreeContentFormat) {
|