@progress/kendo-angular-buttons 16.5.0 → 16.6.0-develop.2
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/button/button.component.d.ts +1 -1
- package/button/button.module.d.ts +1 -2
- package/buttongroup/buttongroup.component.d.ts +1 -1
- package/buttongroup/buttongroup.module.d.ts +5 -6
- package/buttons.module.d.ts +12 -7
- package/chip/chip-list.component.d.ts +1 -1
- package/chip/chip.component.d.ts +1 -1
- package/chip/chip.module.d.ts +1 -3
- package/directives.d.ts +47 -0
- package/dropdownbutton/dropdownbutton.component.d.ts +1 -1
- package/dropdownbutton/dropdownbutton.module.d.ts +3 -6
- package/esm2020/button/button.component.mjs +7 -5
- package/esm2020/button/button.module.mjs +7 -6
- package/esm2020/buttongroup/buttongroup.component.mjs +3 -2
- package/esm2020/buttongroup/buttongroup.module.mjs +12 -10
- package/esm2020/buttons.module.mjs +21 -9
- package/esm2020/chip/chip-list.component.mjs +3 -2
- package/esm2020/chip/chip.component.mjs +7 -5
- package/esm2020/chip/chip.module.mjs +10 -18
- package/esm2020/directives.mjs +75 -0
- package/esm2020/dropdownbutton/dropdownbutton.component.mjs +7 -6
- package/esm2020/dropdownbutton/dropdownbutton.module.mjs +13 -11
- package/esm2020/floatingactionbutton/dial-item.component.mjs +7 -5
- package/esm2020/floatingactionbutton/dial-list.component.mjs +8 -6
- package/esm2020/floatingactionbutton/floatingactionbutton.component.mjs +9 -7
- package/esm2020/floatingactionbutton/floatingactionbutton.module.mjs +13 -30
- package/esm2020/floatingactionbutton/templates/dial-item-template.directive.mjs +3 -2
- package/esm2020/floatingactionbutton/templates/fab-template.directive.mjs +3 -2
- package/esm2020/focusable/focusable.directive.mjs +3 -2
- package/esm2020/index.mjs +1 -1
- package/esm2020/listbutton/button-item-template.directive.mjs +4 -3
- package/esm2020/listbutton/list.component.mjs +8 -6
- package/esm2020/listbutton/list.module.mjs +10 -17
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/splitbutton/localization/custom-messages.component.mjs +3 -2
- package/esm2020/splitbutton/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/splitbutton/splitbutton.component.mjs +9 -7
- package/esm2020/splitbutton/splitbutton.module.mjs +14 -15
- package/fesm2015/progress-kendo-angular-buttons.mjs +3446 -3413
- package/fesm2020/progress-kendo-angular-buttons.mjs +3458 -3425
- package/floatingactionbutton/dial-item.component.d.ts +1 -1
- package/floatingactionbutton/dial-list.component.d.ts +1 -1
- package/floatingactionbutton/floatingactionbutton.component.d.ts +1 -1
- package/floatingactionbutton/floatingactionbutton.module.d.ts +1 -8
- package/floatingactionbutton/templates/dial-item-template.directive.d.ts +1 -1
- package/floatingactionbutton/templates/fab-template.directive.d.ts +1 -1
- package/focusable/focusable.directive.d.ts +1 -1
- package/index.d.ts +1 -1
- package/listbutton/button-item-template.directive.d.ts +2 -2
- package/listbutton/list.component.d.ts +1 -1
- package/listbutton/list.module.d.ts +1 -7
- package/package.json +6 -6
- package/splitbutton/localization/custom-messages.component.d.ts +1 -1
- package/splitbutton/localization/localized-messages.directive.d.ts +1 -1
- package/splitbutton/splitbutton.component.d.ts +1 -1
- package/splitbutton/splitbutton.module.d.ts +4 -10
- package/esm2020/listbutton/template-context.directive.mjs +0 -34
- package/listbutton/template-context.directive.d.ts +0 -17
|
@@ -16,16 +16,16 @@ import { Keys } from '@progress/kendo-angular-common';
|
|
|
16
16
|
import { replaceMessagePlaceholder, getStylingClasses } from '../util';
|
|
17
17
|
import { PopupContainerService } from '../listbutton/container.service';
|
|
18
18
|
import { caretAltDownIcon } from '@progress/kendo-svg-icons';
|
|
19
|
+
import { ListComponent } from '../listbutton/list.component';
|
|
20
|
+
import { NgClass, NgIf } from '@angular/common';
|
|
21
|
+
import { ButtonComponent } from '../button/button.component';
|
|
22
|
+
import { LocalizedSplitButtonMessagesDirective } from './localization/localized-messages.directive';
|
|
19
23
|
import * as i0 from "@angular/core";
|
|
20
24
|
import * as i1 from "./../focusable/focus.service";
|
|
21
25
|
import * as i2 from "./../navigation/navigation.service";
|
|
22
26
|
import * as i3 from "@progress/kendo-angular-popup";
|
|
23
27
|
import * as i4 from "@progress/kendo-angular-l10n";
|
|
24
28
|
import * as i5 from "../listbutton/container.service";
|
|
25
|
-
import * as i6 from "@angular/common";
|
|
26
|
-
import * as i7 from "../button/button.component";
|
|
27
|
-
import * as i8 from "../listbutton/list.component";
|
|
28
|
-
import * as i9 from "./localization/localized-messages.directive";
|
|
29
29
|
const NAVIGATION_SETTINGS = {
|
|
30
30
|
useLeftRightArrows: true
|
|
31
31
|
};
|
|
@@ -561,7 +561,7 @@ export class SplitButtonComponent extends ListButton {
|
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
SplitButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonComponent, deps: [{ token: i1.FocusService }, { token: i2.NavigationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i3.PopupService }, { token: i0.ElementRef }, { token: i4.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i5.PopupContainerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
564
|
-
SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SplitButtonComponent, selector: "kendo-splitbutton", inputs: { text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", type: "type", imageUrl: "imageUrl", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", disabled: "disabled", popupSettings: "popupSettings", tabIndex: "tabIndex", textField: "textField", data: "data", buttonClass: "buttonClass", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon", arrowButtonSvgIcon: "arrowButtonSvgIcon", buttonAttributes: "buttonAttributes" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { listeners: { "keydown": "keydown($event)", "keyup": "keyup($event)" }, properties: { "class.k-focus": "this.isFocused", "class.k-split-button": "this.widgetClasses", "class.k-button-group": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
|
|
564
|
+
SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SplitButtonComponent, isStandalone: true, selector: "kendo-splitbutton", inputs: { text: "text", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", type: "type", imageUrl: "imageUrl", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", disabled: "disabled", popupSettings: "popupSettings", tabIndex: "tabIndex", textField: "textField", data: "data", buttonClass: "buttonClass", arrowButtonClass: "arrowButtonClass", arrowButtonIcon: "arrowButtonIcon", arrowButtonSvgIcon: "arrowButtonSvgIcon", buttonAttributes: "buttonAttributes" }, outputs: { buttonClick: "buttonClick", itemClick: "itemClick", onFocus: "focus", onBlur: "blur", open: "open", close: "close" }, host: { listeners: { "keydown": "keydown($event)", "keyup": "keyup($event)" }, properties: { "class.k-focus": "this.isFocused", "class.k-split-button": "this.widgetClasses", "class.k-button-group": "this.widgetClasses", "attr.dir": "this.dir" } }, providers: [
|
|
565
565
|
FocusService,
|
|
566
566
|
NavigationService,
|
|
567
567
|
NAVIGATION_SETTINGS_PROVIDER,
|
|
@@ -642,7 +642,7 @@ SplitButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
642
642
|
</kendo-button-list>
|
|
643
643
|
</ng-template>
|
|
644
644
|
<ng-container #container></ng-container>
|
|
645
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
645
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSplitButtonMessagesDirective, selector: "[kendoSplitButtonLocalizedMessages]" }, { kind: "component", type: 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: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListComponent, selector: "kendo-button-list", inputs: ["data", "textField", "itemTemplate", "size"], outputs: ["onItemClick", "onItemBlur"] }] });
|
|
646
646
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonComponent, decorators: [{
|
|
647
647
|
type: Component,
|
|
648
648
|
args: [{
|
|
@@ -730,7 +730,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
730
730
|
</kendo-button-list>
|
|
731
731
|
</ng-template>
|
|
732
732
|
<ng-container #container></ng-container>
|
|
733
|
-
|
|
733
|
+
`,
|
|
734
|
+
standalone: true,
|
|
735
|
+
imports: [LocalizedSplitButtonMessagesDirective, ButtonComponent, NgClass, NgIf, ListComponent]
|
|
734
736
|
}]
|
|
735
737
|
}], ctorParameters: function () { return [{ type: i1.FocusService }, { type: i2.NavigationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i3.PopupService }, { type: i0.ElementRef }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.PopupContainerService }]; }, propDecorators: { text: [{
|
|
736
738
|
type: Input
|
|
@@ -3,33 +3,32 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { NgModule } from '@angular/core';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { SplitButtonComponent } from './splitbutton.component';
|
|
11
|
-
import { LocalizedSplitButtonMessagesDirective } from './localization/localized-messages.directive';
|
|
12
|
-
import { SplitButtonCustomMessagesComponent } from './localization/custom-messages.component';
|
|
13
|
-
import { ToggleButtonTabStopModule } from '@progress/kendo-angular-common';
|
|
6
|
+
import { KENDO_SPLITBUTTON } from '../directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
9
|
+
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
14
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./splitbutton.component";
|
|
12
|
+
import * as i2 from "./localization/custom-messages.component";
|
|
13
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
15
14
|
/**
|
|
16
|
-
* @hidden
|
|
17
15
|
*
|
|
18
16
|
* The exported package module.
|
|
19
17
|
*
|
|
20
18
|
* The package exports:
|
|
21
|
-
* - `SplitButtonComponent`—The
|
|
19
|
+
* - `SplitButtonComponent`—The SplitButton component class.
|
|
20
|
+
* - `SplitButtonCustomMessagesComponent`—The SplitButton custom messages component class.
|
|
22
21
|
*/
|
|
23
22
|
export class SplitButtonModule {
|
|
24
23
|
}
|
|
25
24
|
SplitButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
26
|
-
SplitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule,
|
|
27
|
-
SplitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule,
|
|
25
|
+
SplitButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule, imports: [i1.SplitButtonComponent, i2.SplitButtonCustomMessagesComponent], exports: [i1.SplitButtonComponent, i2.SplitButtonCustomMessagesComponent] });
|
|
26
|
+
SplitButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [KENDO_SPLITBUTTON] });
|
|
28
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SplitButtonModule, decorators: [{
|
|
29
28
|
type: NgModule,
|
|
30
29
|
args: [{
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
exports: [...KENDO_SPLITBUTTON],
|
|
31
|
+
imports: [...KENDO_SPLITBUTTON],
|
|
32
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
34
33
|
}]
|
|
35
34
|
}] });
|