@progress/kendo-angular-buttons 16.5.0 → 16.6.0-develop.1
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
|
@@ -212,5 +212,5 @@ export declare class ButtonComponent implements OnDestroy, AfterViewInit {
|
|
|
212
212
|
private handleClasses;
|
|
213
213
|
private handleThemeColor;
|
|
214
214
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [null, null, { optional: true; }, null, null]>;
|
|
215
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton], span[kendoButton], kendo-button", ["kendoButton"], { "arrowIcon": "arrowIcon"; "toggleable": "toggleable"; "togglable": "togglable"; "selected": "selected"; "tabIndex": "tabIndex"; "imageUrl": "imageUrl"; "iconClass": "iconClass"; "icon": "icon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "svgIcon": "svgIcon"; "role": "role"; "primary": "primary"; "look": "look"; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"],
|
|
215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[kendoButton], span[kendoButton], kendo-button", ["kendoButton"], { "arrowIcon": "arrowIcon"; "toggleable": "toggleable"; "togglable": "togglable"; "selected": "selected"; "tabIndex": "tabIndex"; "imageUrl": "imageUrl"; "iconClass": "iconClass"; "icon": "icon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "svgIcon": "svgIcon"; "role": "role"; "primary": "primary"; "look": "look"; }, { "selectedChange": "selectedChange"; "click": "click"; }, never, ["*"], true, never>;
|
|
216
216
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./button.component";
|
|
7
|
-
import * as i2 from "@progress/kendo-angular-icons";
|
|
8
7
|
/**
|
|
9
8
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
10
9
|
* definition for the Button directive.
|
|
@@ -38,6 +37,6 @@ import * as i2 from "@progress/kendo-angular-icons";
|
|
|
38
37
|
*/
|
|
39
38
|
export declare class ButtonModule {
|
|
40
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
41
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent], [typeof
|
|
40
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, never, [typeof i1.ButtonComponent], [typeof i1.ButtonComponent]>;
|
|
42
41
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
43
42
|
}
|
|
@@ -90,5 +90,5 @@ export declare class ButtonGroupComponent implements OnInit, OnDestroy, AfterCon
|
|
|
90
90
|
private handleSubs;
|
|
91
91
|
private focusHandler;
|
|
92
92
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "tabIndex": "tabIndex"; "navigable": "navigable"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton], kendo-button"],
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "kendo-buttongroup", ["kendoButtonGroup"], { "disabled": "disabled"; "selection": "selection"; "width": "width"; "tabIndex": "tabIndex"; "navigable": "navigable"; }, { "navigate": "navigate"; }, ["buttons"], ["[kendoButton], kendo-button"], true, never>;
|
|
94
94
|
}
|
|
@@ -3,19 +3,18 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "../button/button.module";
|
|
6
|
+
import * as i1 from "../button/button.component";
|
|
7
|
+
import * as i2 from "./buttongroup.component";
|
|
9
8
|
/**
|
|
10
|
-
* @hidden
|
|
11
9
|
*
|
|
12
10
|
* The exported package module.
|
|
13
11
|
*
|
|
14
12
|
* The package exports:
|
|
15
|
-
* - `ButtonGroupComponent`—The
|
|
13
|
+
* - `ButtonGroupComponent`—The ButtonGroup component class.
|
|
14
|
+
* - `ButtonComponent`—The Button component class.
|
|
16
15
|
*/
|
|
17
16
|
export declare class ButtonGroupModule {
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonGroupModule, [typeof i1.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonGroupModule, never, [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent], [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent]>;
|
|
20
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonGroupModule>;
|
|
21
20
|
}
|
package/buttons.module.d.ts
CHANGED
|
@@ -3,12 +3,17 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./
|
|
7
|
-
import * as i2 from "./
|
|
8
|
-
import * as i3 from "./
|
|
9
|
-
import * as i4 from "./
|
|
10
|
-
import * as i5 from "./chip/chip.
|
|
11
|
-
import * as i6 from "./
|
|
6
|
+
import * as i1 from "./button/button.component";
|
|
7
|
+
import * as i2 from "./buttongroup/buttongroup.component";
|
|
8
|
+
import * as i3 from "./dropdownbutton/dropdownbutton.component";
|
|
9
|
+
import * as i4 from "./listbutton/button-item-template.directive";
|
|
10
|
+
import * as i5 from "./chip/chip.component";
|
|
11
|
+
import * as i6 from "./chip/chip-list.component";
|
|
12
|
+
import * as i7 from "./floatingactionbutton/floatingactionbutton.component";
|
|
13
|
+
import * as i8 from "./floatingactionbutton/templates/dial-item-template.directive";
|
|
14
|
+
import * as i9 from "./floatingactionbutton/templates/fab-template.directive";
|
|
15
|
+
import * as i10 from "./splitbutton/splitbutton.component";
|
|
16
|
+
import * as i11 from "./splitbutton/localization/custom-messages.component";
|
|
12
17
|
/**
|
|
13
18
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
14
19
|
* definition for the Buttons components.
|
|
@@ -42,6 +47,6 @@ import * as i6 from "./floatingactionbutton/floatingactionbutton.module";
|
|
|
42
47
|
*/
|
|
43
48
|
export declare class ButtonsModule {
|
|
44
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonsModule, never>;
|
|
45
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never,
|
|
50
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonsModule, never, [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent], [typeof i1.ButtonComponent, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.DropDownButtonComponent, typeof i4.ButtonItemTemplateDirective, typeof i5.ChipComponent, typeof i5.ChipComponent, typeof i6.ChipListComponent, typeof i7.FloatingActionButtonComponent, typeof i8.DialItemTemplateDirective, typeof i9.FloatingActionButtonTemplateDirective, typeof i10.SplitButtonComponent, typeof i11.SplitButtonCustomMessagesComponent]>;
|
|
46
51
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonsModule>;
|
|
47
52
|
}
|
|
@@ -91,5 +91,5 @@ export declare class ChipListComponent implements OnInit, AfterViewInit, AfterCo
|
|
|
91
91
|
private updateChips;
|
|
92
92
|
private normalizeActiveIndex;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipListComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "kendo-chiplist, kendo-chip-list", never, { "selection": "selection"; "size": "size"; "role": "role"; "navigable": "navigable"; }, { "selectedChange": "selectedChange"; "remove": "remove"; }, ["chips"], ["*"],
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipListComponent, "kendo-chiplist, kendo-chip-list", never, { "selection": "selection"; "size": "size"; "role": "role"; "navigable": "navigable"; }, { "selectedChange": "selectedChange"; "remove": "remove"; }, ["chips"], ["*"], true, never>;
|
|
95
95
|
}
|
package/chip/chip.component.d.ts
CHANGED
|
@@ -219,5 +219,5 @@ export declare class ChipComponent implements OnInit, AfterViewInit, OnChanges {
|
|
|
219
219
|
private handleThemeColor;
|
|
220
220
|
private keyDownHandler;
|
|
221
221
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
|
|
222
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": "label"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "avatarClass": "avatarClass"; "selected": "selected"; "removable": "removable"; "removeIcon": "removeIcon"; "removeSvgIcon": "removeSvgIcon"; "hasMenu": "hasMenu"; "menuIcon": "menuIcon"; "menuSvgIcon": "menuSvgIcon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "remove": "remove"; "menuToggle": "menuToggle"; "contentClick": "contentClick"; }, never, ["*"],
|
|
222
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "kendo-chip", never, { "label": "label"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "avatarClass": "avatarClass"; "selected": "selected"; "removable": "removable"; "removeIcon": "removeIcon"; "removeSvgIcon": "removeSvgIcon"; "hasMenu": "hasMenu"; "menuIcon": "menuIcon"; "menuSvgIcon": "menuSvgIcon"; "disabled": "disabled"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; }, { "remove": "remove"; "menuToggle": "menuToggle"; "contentClick": "contentClick"; }, never, ["*"], true, never>;
|
|
223
223
|
}
|
package/chip/chip.module.d.ts
CHANGED
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./chip.component";
|
|
7
7
|
import * as i2 from "./chip-list.component";
|
|
8
|
-
import * as i3 from "@angular/common";
|
|
9
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
10
8
|
/**
|
|
11
9
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
12
10
|
* definition for the Chip and ChipList components.
|
|
@@ -37,6 +35,6 @@ import * as i4 from "@progress/kendo-angular-icons";
|
|
|
37
35
|
*/
|
|
38
36
|
export declare class ChipModule {
|
|
39
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChipModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ChipModule, [typeof i1.ChipComponent, typeof i2.ChipListComponent], [typeof
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ChipModule, never, [typeof i1.ChipComponent, typeof i2.ChipListComponent], [typeof i1.ChipComponent, typeof i2.ChipListComponent]>;
|
|
41
39
|
static ɵinj: i0.ɵɵInjectorDeclaration<ChipModule>;
|
|
42
40
|
}
|
package/directives.d.ts
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ButtonComponent } from './button/button.component';
|
|
6
|
+
import { ButtonGroupComponent } from './buttongroup/buttongroup.component';
|
|
7
|
+
import { ChipListComponent } from './chip/chip-list.component';
|
|
8
|
+
import { ChipComponent } from './chip/chip.component';
|
|
9
|
+
import { DropDownButtonComponent } from './dropdownbutton/dropdownbutton.component';
|
|
10
|
+
import { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
|
|
11
|
+
import { DialItemTemplateDirective } from './floatingactionbutton/templates/dial-item-template.directive';
|
|
12
|
+
import { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
|
|
13
|
+
import { SplitButtonCustomMessagesComponent } from './splitbutton/localization/custom-messages.component';
|
|
14
|
+
import { SplitButtonComponent } from './splitbutton/splitbutton.component';
|
|
15
|
+
import { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
|
|
16
|
+
/**
|
|
17
|
+
* Utility array that contains all `Button` related components and directives
|
|
18
|
+
*/
|
|
19
|
+
export declare const KENDO_BUTTON: readonly [typeof ButtonComponent];
|
|
20
|
+
/**
|
|
21
|
+
* Utility array that contains all `ButtonGroup` related components and directives
|
|
22
|
+
*/
|
|
23
|
+
export declare const KENDO_BUTTONGROUP: readonly [typeof ButtonComponent, typeof ButtonGroupComponent];
|
|
24
|
+
/**
|
|
25
|
+
* Utility array that contains all `DropDownButton` related components and directives
|
|
26
|
+
*/
|
|
27
|
+
export declare const KENDO_DROPDOWNBUTTON: readonly [typeof DropDownButtonComponent, typeof ButtonItemTemplateDirective];
|
|
28
|
+
/**
|
|
29
|
+
* Utility array that contains all `Chip` related components and directives
|
|
30
|
+
*/
|
|
31
|
+
export declare const KENDO_CHIP: readonly [typeof ChipComponent];
|
|
32
|
+
/**
|
|
33
|
+
* Utility array that contains all `ChipList` related components and directives
|
|
34
|
+
*/
|
|
35
|
+
export declare const KENDO_CHIPLIST: readonly [typeof ChipComponent, typeof ChipListComponent];
|
|
36
|
+
/**
|
|
37
|
+
* Utility array that contains all `FloatingActionButton` related components and directives
|
|
38
|
+
*/
|
|
39
|
+
export declare const KENDO_FLOATINGACTIONBUTTON: readonly [typeof FloatingActionButtonComponent, typeof DialItemTemplateDirective, typeof FloatingActionButtonTemplateDirective];
|
|
40
|
+
/**
|
|
41
|
+
* Utility array that contains all `SplitButton` related components and directives
|
|
42
|
+
*/
|
|
43
|
+
export declare const KENDO_SPLITBUTTON: readonly [typeof SplitButtonComponent, typeof SplitButtonCustomMessagesComponent];
|
|
44
|
+
/**
|
|
45
|
+
* Utility array that contains all `@progress/kendo-angular-buttons` related components and directives
|
|
46
|
+
*/
|
|
47
|
+
export declare const KENDO_BUTTONS: readonly [typeof ButtonComponent, typeof ButtonComponent, typeof ButtonGroupComponent, typeof DropDownButtonComponent, typeof ButtonItemTemplateDirective, typeof ChipComponent, typeof ChipComponent, typeof ChipListComponent, typeof FloatingActionButtonComponent, typeof DialItemTemplateDirective, typeof FloatingActionButtonTemplateDirective, typeof SplitButtonComponent, typeof SplitButtonCustomMessagesComponent];
|
|
@@ -216,5 +216,5 @@ export declare class DropDownButtonComponent extends ListButton implements After
|
|
|
216
216
|
wrapperContains(element: any): boolean;
|
|
217
217
|
private handleButtonAttributes;
|
|
218
218
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonComponent, never>;
|
|
219
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonComponent, "kendo-dropdownbutton", ["kendoDropDownButton"], { "arrowIcon": "arrowIcon"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "textField": "textField"; "data": "data"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "buttonAttributes": "buttonAttributes"; }, { "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate"], ["*"],
|
|
219
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropDownButtonComponent, "kendo-dropdownbutton", ["kendoDropDownButton"], { "arrowIcon": "arrowIcon"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "imageUrl": "imageUrl"; "textField": "textField"; "data": "data"; "size": "size"; "rounded": "rounded"; "fillMode": "fillMode"; "themeColor": "themeColor"; "buttonAttributes": "buttonAttributes"; }, { "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; }, ["itemTemplate"], ["*"], true, never>;
|
|
220
220
|
}
|
|
@@ -4,20 +4,17 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./dropdownbutton.component";
|
|
7
|
-
import * as i2 from "
|
|
8
|
-
import * as i3 from "@progress/kendo-angular-popup";
|
|
9
|
-
import * as i4 from "../listbutton/list.module";
|
|
10
|
-
import * as i5 from "../button/button.module";
|
|
7
|
+
import * as i2 from "../listbutton/button-item-template.directive";
|
|
11
8
|
/**
|
|
12
|
-
* @hidden
|
|
13
9
|
*
|
|
14
10
|
* The exported package module.
|
|
15
11
|
*
|
|
16
12
|
* The package exports:
|
|
17
13
|
* - `DropDownButtonComponent`—The DropDownButtonComponent component class.
|
|
14
|
+
* - `ButtonItemTemplateDirective`—The Button item template directive.
|
|
18
15
|
*/
|
|
19
16
|
export declare class DropDownButtonModule {
|
|
20
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropDownButtonModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DropDownButtonModule, [typeof i1.DropDownButtonComponent
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropDownButtonModule, never, [typeof i1.DropDownButtonComponent, typeof i2.ButtonItemTemplateDirective], [typeof i1.DropDownButtonComponent, typeof i2.ButtonItemTemplateDirective]>;
|
|
22
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<DropDownButtonModule>;
|
|
23
20
|
}
|
|
@@ -11,11 +11,11 @@ import { Subscription } from 'rxjs';
|
|
|
11
11
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
12
12
|
import { packageMetadata } from '../package-metadata';
|
|
13
13
|
import { getStylingClasses, getThemeColorClasses } from '../util';
|
|
14
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
15
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
15
17
|
import * as i1 from "./button.service";
|
|
16
18
|
import * as i2 from "@progress/kendo-angular-l10n";
|
|
17
|
-
import * as i3 from "@angular/common";
|
|
18
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
|
19
19
|
const SPAN_TAG_NAME = 'SPAN';
|
|
20
20
|
const BUTTON_TAG_NAME = 'BUTTON';
|
|
21
21
|
const KENDO_BUTTON_TAG_NAME = 'KENDO-BUTTON';
|
|
@@ -452,7 +452,7 @@ export class ButtonComponent {
|
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.KendoButtonService, optional: true }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
455
|
-
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", role: "role", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.role": "this.roleSetter", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
455
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonComponent, isStandalone: true, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: { arrowIcon: "arrowIcon", toggleable: "toggleable", togglable: "togglable", selected: "selected", tabIndex: "tabIndex", imageUrl: "imageUrl", iconClass: "iconClass", icon: "icon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor", svgIcon: "svgIcon", role: "role", primary: "primary", look: "look" }, outputs: { selectedChange: "selectedChange", click: "click" }, host: { listeners: { "focus": "onFocus()", "blur": "onBlur()" }, properties: { "class.k-button": "this.classButton", "class.k-toggle-button": "this.isToggleable", "class.k-icon-button": "this.iconButtonClass", "attr.role": "this.roleSetter", "attr.aria-disabled": "this.classDisabled", "class.k-disabled": "this.classDisabled", "class.k-selected": "this.classActive", "attr.dir": "this.getDirection" } }, providers: [
|
|
456
456
|
LocalizationService,
|
|
457
457
|
{
|
|
458
458
|
provide: L10N_PREFIX,
|
|
@@ -475,7 +475,7 @@ ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
|
|
|
475
475
|
innerCssClass="k-button-icon"
|
|
476
476
|
[name]="$any(arrowIcon).icon || 'caret-alt-down'"
|
|
477
477
|
[svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon"></kendo-icon-wrapper>
|
|
478
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
478
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
479
479
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
480
480
|
type: Component,
|
|
481
481
|
args: [{
|
|
@@ -505,7 +505,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
505
505
|
innerCssClass="k-button-icon"
|
|
506
506
|
[name]="$any(arrowIcon).icon || 'caret-alt-down'"
|
|
507
507
|
[svgIcon]="$any(arrowIcon).svgIcon || caretAltDownIcon"></kendo-icon-wrapper>
|
|
508
|
-
|
|
508
|
+
`,
|
|
509
|
+
standalone: true,
|
|
510
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
509
511
|
}]
|
|
510
512
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.KendoButtonService, decorators: [{
|
|
511
513
|
type: Optional
|
|
@@ -3,9 +3,10 @@
|
|
|
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 { IconsModule } from '@progress/kendo-angular-icons';
|
|
7
6
|
import { ButtonComponent } from './button.component';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
9
10
|
/**
|
|
10
11
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
11
12
|
* definition for the Button directive.
|
|
@@ -40,13 +41,13 @@ import * as i0 from "@angular/core";
|
|
|
40
41
|
export class ButtonModule {
|
|
41
42
|
}
|
|
42
43
|
ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
43
|
-
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule,
|
|
44
|
-
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, imports: [
|
|
44
|
+
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, imports: [ButtonComponent], exports: [ButtonComponent] });
|
|
45
|
+
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, providers: [IconsService], imports: [ButtonComponent] });
|
|
45
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonModule, decorators: [{
|
|
46
47
|
type: NgModule,
|
|
47
48
|
args: [{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
imports: [ButtonComponent],
|
|
50
|
+
exports: [ButtonComponent],
|
|
51
|
+
providers: [IconsService]
|
|
51
52
|
}]
|
|
52
53
|
}] });
|
|
@@ -236,7 +236,7 @@ export class ButtonGroupComponent {
|
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
ButtonGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupComponent, deps: [{ token: i1.KendoButtonService }, { token: i2.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
239
|
-
ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonGroupComponent, selector: "kendo-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", tabIndex: "tabIndex", navigable: "navigable" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-button-group": "this.wrapperClass", "class.k-disabled": "this.disabledClass", "class.k-button-group-stretched": "this.stretchedClass", "attr.role": "this.role", "attr.dir": "this.dir", "attr.aria-disabled": "this.ariaDisabled", "style.width": "this.wrapperWidth", "attr.tabindex": "this.wrapperTabIndex" } }, providers: [
|
|
239
|
+
ButtonGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ButtonGroupComponent, isStandalone: true, selector: "kendo-buttongroup", inputs: { disabled: "disabled", selection: "selection", width: "width", tabIndex: "tabIndex", navigable: "navigable" }, outputs: { navigate: "navigate" }, host: { properties: { "class.k-button-group": "this.wrapperClass", "class.k-disabled": "this.disabledClass", "class.k-button-group-stretched": "this.stretchedClass", "attr.role": "this.role", "attr.dir": "this.dir", "attr.aria-disabled": "this.ariaDisabled", "style.width": "this.wrapperWidth", "attr.tabindex": "this.wrapperTabIndex" } }, providers: [
|
|
240
240
|
KendoButtonService,
|
|
241
241
|
LocalizationService,
|
|
242
242
|
{
|
|
@@ -261,7 +261,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
261
261
|
selector: 'kendo-buttongroup',
|
|
262
262
|
template: `
|
|
263
263
|
<ng-content select="[kendoButton], kendo-button"></ng-content>
|
|
264
|
-
|
|
264
|
+
`,
|
|
265
|
+
standalone: true
|
|
265
266
|
}]
|
|
266
267
|
}], ctorParameters: function () { return [{ type: i1.KendoButtonService }, { type: i2.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { disabled: [{
|
|
267
268
|
type: Input,
|
|
@@ -3,28 +3,30 @@
|
|
|
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 { ButtonGroupComponent } from './buttongroup.component';
|
|
6
|
+
import { KENDO_BUTTONGROUP } from '../directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../button/button.component";
|
|
10
|
+
import * as i2 from "./buttongroup.component";
|
|
11
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
10
12
|
/**
|
|
11
|
-
* @hidden
|
|
12
13
|
*
|
|
13
14
|
* The exported package module.
|
|
14
15
|
*
|
|
15
16
|
* The package exports:
|
|
16
|
-
* - `ButtonGroupComponent`—The
|
|
17
|
+
* - `ButtonGroupComponent`—The ButtonGroup component class.
|
|
18
|
+
* - `ButtonComponent`—The Button component class.
|
|
17
19
|
*/
|
|
18
20
|
export class ButtonGroupModule {
|
|
19
21
|
}
|
|
20
22
|
ButtonGroupModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
21
|
-
ButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule,
|
|
22
|
-
ButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule,
|
|
23
|
+
ButtonGroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, imports: [i1.ButtonComponent, i2.ButtonGroupComponent], exports: [i1.ButtonComponent, i2.ButtonGroupComponent] });
|
|
24
|
+
ButtonGroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, providers: [IconsService], imports: [KENDO_BUTTONGROUP] });
|
|
23
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonGroupModule, decorators: [{
|
|
24
26
|
type: NgModule,
|
|
25
27
|
args: [{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
exports: [...KENDO_BUTTONGROUP],
|
|
29
|
+
imports: [...KENDO_BUTTONGROUP],
|
|
30
|
+
providers: [IconsService]
|
|
29
31
|
}]
|
|
30
32
|
}] });
|
|
@@ -3,13 +3,23 @@
|
|
|
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 { ChipModule } from './chip/chip.module';
|
|
11
|
-
import { FloatingActionButtonModule } from './floatingactionbutton/floatingactionbutton.module';
|
|
6
|
+
import { KENDO_BUTTONS } 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';
|
|
12
10
|
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "./button/button.component";
|
|
12
|
+
import * as i2 from "./buttongroup/buttongroup.component";
|
|
13
|
+
import * as i3 from "./dropdownbutton/dropdownbutton.component";
|
|
14
|
+
import * as i4 from "./listbutton/button-item-template.directive";
|
|
15
|
+
import * as i5 from "./chip/chip.component";
|
|
16
|
+
import * as i6 from "./chip/chip-list.component";
|
|
17
|
+
import * as i7 from "./floatingactionbutton/floatingactionbutton.component";
|
|
18
|
+
import * as i8 from "./floatingactionbutton/templates/dial-item-template.directive";
|
|
19
|
+
import * as i9 from "./floatingactionbutton/templates/fab-template.directive";
|
|
20
|
+
import * as i10 from "./splitbutton/splitbutton.component";
|
|
21
|
+
import * as i11 from "./splitbutton/localization/custom-messages.component";
|
|
22
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
13
23
|
/**
|
|
14
24
|
* Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
|
|
15
25
|
* definition for the Buttons components.
|
|
@@ -44,11 +54,13 @@ import * as i0 from "@angular/core";
|
|
|
44
54
|
export class ButtonsModule {
|
|
45
55
|
}
|
|
46
56
|
ButtonsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
47
|
-
ButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, exports: [
|
|
48
|
-
ButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, imports: [
|
|
57
|
+
ButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, imports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent], exports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i4.ButtonItemTemplateDirective, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i8.DialItemTemplateDirective, i9.FloatingActionButtonTemplateDirective, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent] });
|
|
58
|
+
ButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, providers: [IconsService, PopupService, ResizeBatchService], imports: [i1.ButtonComponent, i1.ButtonComponent, i2.ButtonGroupComponent, i3.DropDownButtonComponent, i5.ChipComponent, i5.ChipComponent, i6.ChipListComponent, i7.FloatingActionButtonComponent, i10.SplitButtonComponent, i11.SplitButtonCustomMessagesComponent] });
|
|
49
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ButtonsModule, decorators: [{
|
|
50
60
|
type: NgModule,
|
|
51
61
|
args: [{
|
|
52
|
-
|
|
62
|
+
imports: [...KENDO_BUTTONS],
|
|
63
|
+
exports: [...KENDO_BUTTONS],
|
|
64
|
+
providers: [IconsService, PopupService, ResizeBatchService]
|
|
53
65
|
}]
|
|
54
66
|
}] });
|
|
@@ -253,7 +253,7 @@ export class ChipListComponent {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
ChipListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipListComponent, deps: [{ token: i1.LocalizationService }, { token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
256
|
-
ChipListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: { selection: "selection", size: "size", role: "role", navigable: "navigable" }, outputs: { selectedChange: "selectedChange", remove: "remove" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-chip-list": "this.hostClass", "attr.aria-orientation": "this.orientation", "attr.dir": "this.direction", "class.k-selection-single": "this.single", "attr.aria-multiselectable": "this.multiple", "class.k-selection-multiple": "this.multiple", "attr.role": "this.role" } }, providers: [
|
|
256
|
+
ChipListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipListComponent, isStandalone: true, selector: "kendo-chiplist, kendo-chip-list", inputs: { selection: "selection", size: "size", role: "role", navigable: "navigable" }, outputs: { selectedChange: "selectedChange", remove: "remove" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class.k-chip-list": "this.hostClass", "attr.aria-orientation": "this.orientation", "attr.dir": "this.direction", "class.k-selection-single": "this.single", "attr.aria-multiselectable": "this.multiple", "class.k-selection-multiple": "this.multiple", "attr.role": "this.role" } }, providers: [
|
|
257
257
|
LocalizationService,
|
|
258
258
|
{
|
|
259
259
|
provide: L10N_PREFIX,
|
|
@@ -275,7 +275,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
275
275
|
provide: L10N_PREFIX,
|
|
276
276
|
useValue: 'kendo.chiplist'
|
|
277
277
|
}
|
|
278
|
-
]
|
|
278
|
+
],
|
|
279
|
+
standalone: true
|
|
279
280
|
}]
|
|
280
281
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClass: [{
|
|
281
282
|
type: HostBinding,
|
|
@@ -10,10 +10,10 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
10
10
|
import { packageMetadata } from '../package-metadata';
|
|
11
11
|
import { closest, getStylingClasses, getThemeColorClasses } from '../util';
|
|
12
12
|
import { moreVerticalIcon, xCircleIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
|
14
|
+
import { NgIf, NgClass } from '@angular/common';
|
|
13
15
|
import * as i0 from "@angular/core";
|
|
14
16
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
15
|
-
import * as i2 from "@angular/common";
|
|
16
|
-
import * as i3 from "@progress/kendo-angular-icons";
|
|
17
17
|
const DEFAULT_SIZE = 'medium';
|
|
18
18
|
const DEFAULT_ROUNDED = 'medium';
|
|
19
19
|
const DEFAULT_THEME_COLOR = 'base';
|
|
@@ -326,7 +326,7 @@ export class ChipComponent {
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
ChipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
329
|
-
ChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipComponent, selector: "kendo-chip", inputs: { label: "label", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", avatarClass: "avatarClass", selected: "selected", removable: "removable", removeIcon: "removeIcon", removeSvgIcon: "removeSvgIcon", hasMenu: "hasMenu", menuIcon: "menuIcon", menuSvgIcon: "menuSvgIcon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { remove: "remove", menuToggle: "menuToggle", contentClick: "contentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-chip": "this.hostClass", "class.k-chip-has-icon": "this.hasIconClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-selected": "this.selectedClass", "class.k-focus": "this.focusedClass", "attr.dir": "this.direction" } }, providers: [
|
|
329
|
+
ChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ChipComponent, isStandalone: true, selector: "kendo-chip", inputs: { label: "label", icon: "icon", svgIcon: "svgIcon", iconClass: "iconClass", avatarClass: "avatarClass", selected: "selected", removable: "removable", removeIcon: "removeIcon", removeSvgIcon: "removeSvgIcon", hasMenu: "hasMenu", menuIcon: "menuIcon", menuSvgIcon: "menuSvgIcon", disabled: "disabled", size: "size", rounded: "rounded", fillMode: "fillMode", themeColor: "themeColor" }, outputs: { remove: "remove", menuToggle: "menuToggle", contentClick: "contentClick" }, host: { properties: { "attr.tabindex": "this.tabIndex", "class.k-chip": "this.hostClass", "class.k-chip-has-icon": "this.hasIconClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "class.k-selected": "this.selectedClass", "class.k-focus": "this.focusedClass", "attr.dir": "this.direction" } }, providers: [
|
|
330
330
|
LocalizationService,
|
|
331
331
|
{
|
|
332
332
|
provide: L10N_PREFIX,
|
|
@@ -379,7 +379,7 @@ ChipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
379
379
|
[customFontClass]="removeIcon"></kendo-icon-wrapper>
|
|
380
380
|
</span>
|
|
381
381
|
</span>
|
|
382
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
382
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
383
383
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipComponent, decorators: [{
|
|
384
384
|
type: Component,
|
|
385
385
|
args: [{
|
|
@@ -438,7 +438,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
438
438
|
provide: L10N_PREFIX,
|
|
439
439
|
useValue: 'kendo.chip'
|
|
440
440
|
}
|
|
441
|
-
]
|
|
441
|
+
],
|
|
442
|
+
standalone: true,
|
|
443
|
+
imports: [NgIf, IconWrapperComponent, NgClass]
|
|
442
444
|
}]
|
|
443
445
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.LocalizationService }]; }, propDecorators: { label: [{
|
|
444
446
|
type: Input
|
|
@@ -3,18 +3,12 @@
|
|
|
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 { ChipListComponent } from './chip-list.component';
|
|
9
|
-
import { IconsModule } from '@progress/kendo-angular-icons';
|
|
6
|
+
import { KENDO_CHIPLIST } from '../directives';
|
|
7
|
+
import { IconsService } from '@progress/kendo-angular-icons';
|
|
10
8
|
import * as i0 from "@angular/core";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
];
|
|
15
|
-
const declarations = [
|
|
16
|
-
...exportedModules
|
|
17
|
-
];
|
|
9
|
+
import * as i1 from "./chip.component";
|
|
10
|
+
import * as i2 from "./chip-list.component";
|
|
11
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
18
12
|
/**
|
|
19
13
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
20
14
|
* definition for the Chip and ChipList components.
|
|
@@ -46,15 +40,13 @@ const declarations = [
|
|
|
46
40
|
export class ChipModule {
|
|
47
41
|
}
|
|
48
42
|
ChipModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
49
|
-
ChipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChipModule,
|
|
50
|
-
|
|
51
|
-
ChipListComponent] });
|
|
52
|
-
ChipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipModule, imports: [CommonModule, IconsModule] });
|
|
43
|
+
ChipModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ChipModule, imports: [i1.ChipComponent, i2.ChipListComponent], exports: [i1.ChipComponent, i2.ChipListComponent] });
|
|
44
|
+
ChipModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipModule, providers: [IconsService], imports: [KENDO_CHIPLIST] });
|
|
53
45
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChipModule, decorators: [{
|
|
54
46
|
type: NgModule,
|
|
55
47
|
args: [{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
48
|
+
exports: [...KENDO_CHIPLIST],
|
|
49
|
+
imports: [...KENDO_CHIPLIST],
|
|
50
|
+
providers: [IconsService]
|
|
59
51
|
}]
|
|
60
52
|
}] });
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ButtonComponent } from './button/button.component';
|
|
6
|
+
import { ButtonGroupComponent } from './buttongroup/buttongroup.component';
|
|
7
|
+
import { ChipListComponent } from './chip/chip-list.component';
|
|
8
|
+
import { ChipComponent } from './chip/chip.component';
|
|
9
|
+
import { DropDownButtonComponent } from './dropdownbutton/dropdownbutton.component';
|
|
10
|
+
import { FloatingActionButtonComponent } from './floatingactionbutton/floatingactionbutton.component';
|
|
11
|
+
import { DialItemTemplateDirective } from './floatingactionbutton/templates/dial-item-template.directive';
|
|
12
|
+
import { FloatingActionButtonTemplateDirective } from './floatingactionbutton/templates/fab-template.directive';
|
|
13
|
+
import { SplitButtonCustomMessagesComponent } from './splitbutton/localization/custom-messages.component';
|
|
14
|
+
import { SplitButtonComponent } from './splitbutton/splitbutton.component';
|
|
15
|
+
import { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
|
|
16
|
+
/**
|
|
17
|
+
* Utility array that contains all `Button` related components and directives
|
|
18
|
+
*/
|
|
19
|
+
export const KENDO_BUTTON = [
|
|
20
|
+
ButtonComponent
|
|
21
|
+
];
|
|
22
|
+
/**
|
|
23
|
+
* Utility array that contains all `ButtonGroup` related components and directives
|
|
24
|
+
*/
|
|
25
|
+
export const KENDO_BUTTONGROUP = [
|
|
26
|
+
ButtonComponent,
|
|
27
|
+
ButtonGroupComponent
|
|
28
|
+
];
|
|
29
|
+
/**
|
|
30
|
+
* Utility array that contains all `DropDownButton` related components and directives
|
|
31
|
+
*/
|
|
32
|
+
export const KENDO_DROPDOWNBUTTON = [
|
|
33
|
+
DropDownButtonComponent,
|
|
34
|
+
ButtonItemTemplateDirective
|
|
35
|
+
];
|
|
36
|
+
/**
|
|
37
|
+
* Utility array that contains all `Chip` related components and directives
|
|
38
|
+
*/
|
|
39
|
+
export const KENDO_CHIP = [
|
|
40
|
+
ChipComponent
|
|
41
|
+
];
|
|
42
|
+
/**
|
|
43
|
+
* Utility array that contains all `ChipList` related components and directives
|
|
44
|
+
*/
|
|
45
|
+
export const KENDO_CHIPLIST = [
|
|
46
|
+
ChipComponent,
|
|
47
|
+
ChipListComponent
|
|
48
|
+
];
|
|
49
|
+
/**
|
|
50
|
+
* Utility array that contains all `FloatingActionButton` related components and directives
|
|
51
|
+
*/
|
|
52
|
+
export const KENDO_FLOATINGACTIONBUTTON = [
|
|
53
|
+
FloatingActionButtonComponent,
|
|
54
|
+
DialItemTemplateDirective,
|
|
55
|
+
FloatingActionButtonTemplateDirective
|
|
56
|
+
];
|
|
57
|
+
/**
|
|
58
|
+
* Utility array that contains all `SplitButton` related components and directives
|
|
59
|
+
*/
|
|
60
|
+
export const KENDO_SPLITBUTTON = [
|
|
61
|
+
SplitButtonComponent,
|
|
62
|
+
SplitButtonCustomMessagesComponent
|
|
63
|
+
];
|
|
64
|
+
/**
|
|
65
|
+
* Utility array that contains all `@progress/kendo-angular-buttons` related components and directives
|
|
66
|
+
*/
|
|
67
|
+
export const KENDO_BUTTONS = [
|
|
68
|
+
...KENDO_BUTTON,
|
|
69
|
+
...KENDO_BUTTONGROUP,
|
|
70
|
+
...KENDO_DROPDOWNBUTTON,
|
|
71
|
+
...KENDO_CHIP,
|
|
72
|
+
...KENDO_CHIPLIST,
|
|
73
|
+
...KENDO_FLOATINGACTIONBUTTON,
|
|
74
|
+
...KENDO_SPLITBUTTON
|
|
75
|
+
];
|