@progress/kendo-angular-buttons 16.5.0 → 16.6.0-develop.10
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/NOTICE.txt +12 -19
- 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
|
@@ -32,5 +32,5 @@ export declare class DialItemComponent implements AfterViewInit {
|
|
|
32
32
|
ngAfterViewInit(): void;
|
|
33
33
|
private getTextDirectionClass;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialItemComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": "cssClass"; "cssStyle": "cssStyle"; "isFocused": "isFocused"; "index": "index"; "item": "item"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never,
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialItemComponent, "[kendoDialItem]", never, { "cssClass": "cssClass"; "cssStyle": "cssStyle"; "isFocused": "isFocused"; "index": "index"; "item": "item"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
|
|
36
36
|
}
|
|
@@ -23,5 +23,5 @@ export declare class DialListComponent implements OnDestroy {
|
|
|
23
23
|
isFocused(index: number): boolean;
|
|
24
24
|
ngOnDestroy(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialListComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": "dialItems"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never,
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialListComponent, "[kendoDialList]", never, { "dialItems": "dialItems"; "dialItemTemplate": "dialItemTemplate"; "align": "align"; }, {}, never, never, true, never>;
|
|
27
27
|
}
|
|
@@ -335,5 +335,5 @@ export declare class FloatingActionButtonComponent implements AfterViewInit, OnD
|
|
|
335
335
|
private animationGap;
|
|
336
336
|
private animationDuration;
|
|
337
337
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, never>;
|
|
338
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never,
|
|
338
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "kendo-floatingactionbutton", never, { "themeColor": "themeColor"; "size": "size"; "rounded": "rounded"; "disabled": "disabled"; "align": "align"; "offset": "offset"; "positionMode": "positionMode"; "icon": "icon"; "svgIcon": "svgIcon"; "iconClass": "iconClass"; "buttonClass": "buttonClass"; "dialClass": "dialClass"; "text": "text"; "dialItemAnimation": "dialItemAnimation"; "tabIndex": "tabIndex"; "dialItems": "dialItems"; }, { "onBlur": "blur"; "onFocus": "focus"; "dialItemClick": "dialItemClick"; "open": "open"; "close": "close"; }, ["dialItemTemplate", "fabTemplate"], never, true, never>;
|
|
339
339
|
}
|
|
@@ -6,13 +6,6 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "./floatingactionbutton.component";
|
|
7
7
|
import * as i2 from "./templates/dial-item-template.directive";
|
|
8
8
|
import * as i3 from "./templates/fab-template.directive";
|
|
9
|
-
import * as i4 from "./dial-list.component";
|
|
10
|
-
import * as i5 from "./dial-item.component";
|
|
11
|
-
import * as i6 from "@angular/common";
|
|
12
|
-
import * as i7 from "@progress/kendo-angular-popup";
|
|
13
|
-
import * as i8 from "../listbutton/list.module";
|
|
14
|
-
import * as i9 from "@progress/kendo-angular-common";
|
|
15
|
-
import * as i10 from "@progress/kendo-angular-icons";
|
|
16
9
|
/**
|
|
17
10
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
18
11
|
* definition for the FloatingActionButton component.
|
|
@@ -43,6 +36,6 @@ import * as i10 from "@progress/kendo-angular-icons";
|
|
|
43
36
|
*/
|
|
44
37
|
export declare class FloatingActionButtonModule {
|
|
45
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonModule, never>;
|
|
46
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FloatingActionButtonModule, never, [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective], [typeof i1.FloatingActionButtonComponent, typeof i2.DialItemTemplateDirective, typeof i3.FloatingActionButtonTemplateDirective]>;
|
|
47
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<FloatingActionButtonModule>;
|
|
48
41
|
}
|
|
@@ -14,5 +14,5 @@ export declare class DialItemTemplateDirective {
|
|
|
14
14
|
templateRef: TemplateRef<any>;
|
|
15
15
|
constructor(templateRef: TemplateRef<any>);
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<DialItemTemplateDirective, [{ optional: true; }]>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DialItemTemplateDirective, "[kendoDialItemTemplate]", never, {}, {}, never, never,
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DialItemTemplateDirective, "[kendoDialItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -14,5 +14,5 @@ export declare class FloatingActionButtonTemplateDirective {
|
|
|
14
14
|
templateRef: TemplateRef<any>;
|
|
15
15
|
constructor(templateRef: TemplateRef<any>);
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonTemplateDirective, [{ optional: true; }]>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FloatingActionButtonTemplateDirective, "[kendoFloatingActionButtonTemplate]", never, {}, {}, never, never,
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FloatingActionButtonTemplateDirective, "[kendoFloatingActionButtonTemplate]", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -22,5 +22,5 @@ export declare class FocusableDirective implements OnInit, OnDestroy {
|
|
|
22
22
|
ngOnDestroy(): void;
|
|
23
23
|
private subscribeEvents;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FocusableDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": "index"; }, {}, never, never,
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FocusableDirective, "[kendoButtonFocusable]", never, { "index": "index"; }, {}, never, never, true, never>;
|
|
26
26
|
}
|
package/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ export { ListItemModel } from './listbutton/list-item-model';
|
|
|
18
18
|
export { PopupSettings } from './listbutton/popup-settings';
|
|
19
19
|
export { ButtonItemTemplateDirective } from './listbutton/button-item-template.directive';
|
|
20
20
|
export { ListComponent } from './listbutton/list.component';
|
|
21
|
-
export { TemplateContextDirective } from './listbutton/template-context.directive';
|
|
22
21
|
export { ListModule } from './listbutton/list.module';
|
|
23
22
|
export { ChipComponent } from './chip/chip.component';
|
|
24
23
|
export { ChipListComponent } from './chip/chip-list.component';
|
|
@@ -40,3 +39,4 @@ export { ButtonSize, ChipSize, ButtonRounded, ChipRounded, ButtonFillMode, ChipF
|
|
|
40
39
|
export { FocusableDirective } from './focusable/focusable.directive';
|
|
41
40
|
export { PreventableEvent } from './preventable-event';
|
|
42
41
|
export { ToggleButtonTabStopDirective } from '@progress/kendo-angular-common';
|
|
42
|
+
export * from './directives';
|
|
@@ -50,11 +50,11 @@ import * as i0 from "@angular/core";
|
|
|
50
50
|
* }
|
|
51
51
|
* ```
|
|
52
52
|
*
|
|
53
|
-
* For more examples, refer to the article on the [
|
|
53
|
+
* For more examples, refer to the article on the [DropDownButton templates](slug:itemstemplates_dropdownbutton).
|
|
54
54
|
*/
|
|
55
55
|
export declare class ButtonItemTemplateDirective {
|
|
56
56
|
templateRef: TemplateRef<any>;
|
|
57
57
|
constructor(templateRef: TemplateRef<any>);
|
|
58
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonItemTemplateDirective, never>;
|
|
59
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonItemTemplateDirective, "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", never, {}, {}, never, never,
|
|
59
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonItemTemplateDirective, "[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]", never, {}, {}, never, never, true, never>;
|
|
60
60
|
}
|
|
@@ -24,5 +24,5 @@ export declare class ListComponent {
|
|
|
24
24
|
onClick(index: number): void;
|
|
25
25
|
onBlur(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": "data"; "textField": "textField"; "itemTemplate": "itemTemplate"; "size": "size"; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never,
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "kendo-button-list", never, { "data": "data"; "textField": "textField"; "itemTemplate": "itemTemplate"; "size": "size"; }, { "onItemClick": "onItemClick"; "onItemBlur": "onItemBlur"; }, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -6,14 +6,8 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
import * as i1 from "./list.component";
|
|
7
7
|
import * as i2 from "../focusable/focusable.directive";
|
|
8
8
|
import * as i3 from "./button-item-template.directive";
|
|
9
|
-
import * as i4 from "./template-context.directive";
|
|
10
|
-
import * as i5 from "@angular/common";
|
|
11
|
-
import * as i6 from "@progress/kendo-angular-icons";
|
|
12
|
-
/**
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
9
|
export declare class ListModule {
|
|
16
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, [typeof i1.ListComponent, typeof i2.FocusableDirective, typeof i3.ButtonItemTemplateDirective
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, never, [typeof i1.ListComponent, typeof i2.FocusableDirective, typeof i3.ButtonItemTemplateDirective], [typeof i1.ListComponent, typeof i2.FocusableDirective, typeof i3.ButtonItemTemplateDirective]>;
|
|
18
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListModule>;
|
|
19
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-buttons",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.6.0-develop.10",
|
|
4
4
|
"description": "Buttons Package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"@angular/core": "15 - 18",
|
|
26
26
|
"@angular/platform-browser": "15 - 18",
|
|
27
27
|
"@progress/kendo-licensing": "^1.0.2",
|
|
28
|
-
"@progress/kendo-angular-common": "16.
|
|
29
|
-
"@progress/kendo-angular-l10n": "16.
|
|
30
|
-
"@progress/kendo-angular-popup": "16.
|
|
31
|
-
"@progress/kendo-angular-icons": "16.
|
|
28
|
+
"@progress/kendo-angular-common": "16.6.0-develop.10",
|
|
29
|
+
"@progress/kendo-angular-l10n": "16.6.0-develop.10",
|
|
30
|
+
"@progress/kendo-angular-popup": "16.6.0-develop.10",
|
|
31
|
+
"@progress/kendo-angular-icons": "16.6.0-develop.10",
|
|
32
32
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"tslib": "^2.3.1",
|
|
36
|
-
"@progress/kendo-angular-schematics": "16.
|
|
36
|
+
"@progress/kendo-angular-schematics": "16.6.0-develop.10",
|
|
37
37
|
"@progress/kendo-common": "^0.2.1"
|
|
38
38
|
},
|
|
39
39
|
"schematics": "./schematics/collection.json",
|
|
@@ -14,5 +14,5 @@ export declare class SplitButtonCustomMessagesComponent extends Messages {
|
|
|
14
14
|
constructor(service: LocalizationService);
|
|
15
15
|
protected get override(): boolean;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonCustomMessagesComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonCustomMessagesComponent, "kendo-splitbutton-messages", never, {}, {}, never, never,
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonCustomMessagesComponent, "kendo-splitbutton-messages", never, {}, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -12,5 +12,5 @@ export declare class LocalizedSplitButtonMessagesDirective extends Messages {
|
|
|
12
12
|
protected service: LocalizationService;
|
|
13
13
|
constructor(service: LocalizationService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedSplitButtonMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedSplitButtonMessagesDirective, "[kendoSplitButtonLocalizedMessages]", never, {}, {}, never, never,
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedSplitButtonMessagesDirective, "[kendoSplitButtonLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -392,5 +392,5 @@ export declare class SplitButtonComponent extends ListButton implements AfterVie
|
|
|
392
392
|
private toggleButtonIconClass;
|
|
393
393
|
private handleButtonAttributes;
|
|
394
394
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
395
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "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"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"],
|
|
395
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "kendo-splitbutton", ["kendoSplitButton"], { "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"; }, { "buttonClick": "buttonClick"; "itemClick": "itemClick"; "onFocus": "focus"; "onBlur": "blur"; "open": "open"; "close": "close"; }, ["itemTemplate"], ["*"], true, never>;
|
|
396
396
|
}
|
|
@@ -4,23 +4,17 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./splitbutton.component";
|
|
7
|
-
import * as i2 from "./localization/
|
|
8
|
-
import * as i3 from "./localization/custom-messages.component";
|
|
9
|
-
import * as i4 from "@angular/common";
|
|
10
|
-
import * as i5 from "@progress/kendo-angular-popup";
|
|
11
|
-
import * as i6 from "../button/button.module";
|
|
12
|
-
import * as i7 from "../listbutton/list.module";
|
|
13
|
-
import * as i8 from "@progress/kendo-angular-common";
|
|
7
|
+
import * as i2 from "./localization/custom-messages.component";
|
|
14
8
|
/**
|
|
15
|
-
* @hidden
|
|
16
9
|
*
|
|
17
10
|
* The exported package module.
|
|
18
11
|
*
|
|
19
12
|
* The package exports:
|
|
20
|
-
* - `SplitButtonComponent`—The
|
|
13
|
+
* - `SplitButtonComponent`—The SplitButton component class.
|
|
14
|
+
* - `SplitButtonCustomMessagesComponent`—The SplitButton custom messages component class.
|
|
21
15
|
*/
|
|
22
16
|
export declare class SplitButtonModule {
|
|
23
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SplitButtonModule, [typeof i1.SplitButtonComponent, typeof i2.
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SplitButtonModule, never, [typeof i1.SplitButtonComponent, typeof i2.SplitButtonCustomMessagesComponent], [typeof i1.SplitButtonComponent, typeof i2.SplitButtonCustomMessagesComponent]>;
|
|
25
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<SplitButtonModule>;
|
|
26
20
|
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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 { Directive, ViewContainerRef, Input } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class TemplateContextDirective {
|
|
11
|
-
constructor(viewContainerRef) {
|
|
12
|
-
this.viewContainerRef = viewContainerRef;
|
|
13
|
-
}
|
|
14
|
-
set templateContext(context) {
|
|
15
|
-
if (this.insertedViewRef) {
|
|
16
|
-
this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef));
|
|
17
|
-
this.insertedViewRef = undefined;
|
|
18
|
-
}
|
|
19
|
-
if (context.templateRef) {
|
|
20
|
-
this.insertedViewRef = this.viewContainerRef.createEmbeddedView(context.templateRef, context);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
TemplateContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
TemplateContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TemplateContextDirective, selector: "[templateContext]", inputs: { templateContext: "templateContext" }, ngImport: i0 });
|
|
26
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TemplateContextDirective, decorators: [{
|
|
27
|
-
type: Directive,
|
|
28
|
-
args: [{
|
|
29
|
-
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
30
|
-
selector: '[templateContext]'
|
|
31
|
-
}]
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { templateContext: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { ViewContainerRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class TemplateContextDirective {
|
|
11
|
-
set templateContext(context: any);
|
|
12
|
-
private insertedViewRef;
|
|
13
|
-
private viewContainerRef;
|
|
14
|
-
constructor(viewContainerRef: ViewContainerRef);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateContextDirective, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TemplateContextDirective, "[templateContext]", never, { "templateContext": "templateContext"; }, {}, never, never, false, never>;
|
|
17
|
-
}
|