@syncfusion/ej2-angular-ribbon 34.2.8 → 35.1.37
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/CHANGELOG.md +0 -10
- package/{fesm2020 → fesm2022}/syncfusion-ej2-angular-ribbon.mjs +141 -133
- package/fesm2022/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
- package/package.json +9 -16
- package/schematics/collection.json +9 -10
- package/schematics/ng-add/index.js +5 -8
- package/schematics/ng-add/index.ts +10 -10
- package/schematics/ng-add/schema.js +1 -2
- package/schematics/ng-add/schema.json +34 -34
- package/schematics/ng-add/schema.ts +30 -30
- package/schematics/tsconfig.json +33 -25
- package/schematics/utils/lib-details.js +4 -6
- package/schematics/utils/lib-details.ts +4 -4
- package/types/syncfusion-ej2-angular-ribbon.d.ts +405 -0
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -10
- package/esm2020/src/ribbon/collections.directive.mjs +0 -50
- package/esm2020/src/ribbon/contextualtabs.directive.mjs +0 -62
- package/esm2020/src/ribbon/groups.directive.mjs +0 -50
- package/esm2020/src/ribbon/items.directive.mjs +0 -54
- package/esm2020/src/ribbon/ribbon-all.module.mjs +0 -62
- package/esm2020/src/ribbon/ribbon.component.mjs +0 -160
- package/esm2020/src/ribbon/ribbon.module.mjs +0 -70
- package/esm2020/src/ribbon/tabs.directive.mjs +0 -50
- package/esm2020/syncfusion-ej2-angular-ribbon.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-ribbon.mjs +0 -528
- package/fesm2015/syncfusion-ej2-angular-ribbon.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-ribbon.mjs.map +0 -1
- package/public_api.d.ts +0 -1
- package/src/index.d.ts +0 -9
- package/src/ribbon/collections.directive.d.ts +0 -37
- package/src/ribbon/contextualtabs.directive.d.ts +0 -49
- package/src/ribbon/groups.directive.d.ts +0 -97
- package/src/ribbon/items.directive.d.ts +0 -119
- package/src/ribbon/ribbon-all.module.d.ts +0 -24
- package/src/ribbon/ribbon.component.d.ts +0 -54
- package/src/ribbon/ribbon.module.d.ts +0 -16
- package/src/ribbon/tabs.directive.d.ts +0 -47
- package/styles/bds-lite.css +0 -1
- package/styles/bds-lite.scss +0 -1
- package/styles/bds.css +0 -1
- package/styles/bds.scss +0 -1
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark-lite.scss +0 -1
- package/styles/bootstrap-dark.css +0 -1
- package/styles/bootstrap-dark.scss +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap-lite.scss +0 -1
- package/styles/bootstrap.css +0 -1
- package/styles/bootstrap.scss +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4-lite.scss +0 -1
- package/styles/bootstrap4.css +0 -1
- package/styles/bootstrap4.scss +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark-lite.scss +0 -1
- package/styles/bootstrap5-dark.css +0 -1
- package/styles/bootstrap5-dark.scss +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5-lite.scss +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3-lite.scss +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.3.scss +0 -1
- package/styles/bootstrap5.css +0 -1
- package/styles/bootstrap5.scss +0 -1
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark-lite.scss +0 -1
- package/styles/fabric-dark.css +0 -1
- package/styles/fabric-dark.scss +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric-lite.scss +0 -1
- package/styles/fabric.css +0 -1
- package/styles/fabric.scss +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark-lite.scss +0 -1
- package/styles/fluent-dark.css +0 -1
- package/styles/fluent-dark.scss +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent-lite.scss +0 -1
- package/styles/fluent.css +0 -1
- package/styles/fluent.scss +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2-lite.scss +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/fluent2.scss +0 -1
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light-lite.scss +0 -1
- package/styles/highcontrast-light.css +0 -1
- package/styles/highcontrast-light.scss +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast-lite.scss +0 -1
- package/styles/highcontrast.css +0 -1
- package/styles/highcontrast.scss +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark-lite.scss +0 -1
- package/styles/material-dark.css +0 -1
- package/styles/material-dark.scss +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material-lite.scss +0 -1
- package/styles/material.css +0 -1
- package/styles/material.scss +0 -1
- package/styles/material3-dark-lite.css +0 -1
- package/styles/material3-dark-lite.scss +0 -1
- package/styles/material3-dark.css +0 -1
- package/styles/material3-dark.scss +0 -1
- package/styles/material3-lite.css +0 -1
- package/styles/material3-lite.scss +0 -1
- package/styles/material3.css +0 -1
- package/styles/material3.scss +0 -1
- package/styles/ribbon/bds.css +0 -1
- package/styles/ribbon/bds.scss +0 -1
- package/styles/ribbon/bootstrap-dark.css +0 -1
- package/styles/ribbon/bootstrap-dark.scss +0 -1
- package/styles/ribbon/bootstrap.css +0 -1
- package/styles/ribbon/bootstrap.scss +0 -1
- package/styles/ribbon/bootstrap4.css +0 -1
- package/styles/ribbon/bootstrap4.scss +0 -1
- package/styles/ribbon/bootstrap5-dark.css +0 -1
- package/styles/ribbon/bootstrap5-dark.scss +0 -1
- package/styles/ribbon/bootstrap5.3.css +0 -1
- package/styles/ribbon/bootstrap5.3.scss +0 -1
- package/styles/ribbon/bootstrap5.css +0 -1
- package/styles/ribbon/bootstrap5.scss +0 -1
- package/styles/ribbon/fabric-dark.css +0 -1
- package/styles/ribbon/fabric-dark.scss +0 -1
- package/styles/ribbon/fabric.css +0 -1
- package/styles/ribbon/fabric.scss +0 -1
- package/styles/ribbon/fluent-dark.css +0 -1
- package/styles/ribbon/fluent-dark.scss +0 -1
- package/styles/ribbon/fluent.css +0 -1
- package/styles/ribbon/fluent.scss +0 -1
- package/styles/ribbon/fluent2.css +0 -1
- package/styles/ribbon/fluent2.scss +0 -1
- package/styles/ribbon/highcontrast-light.css +0 -1
- package/styles/ribbon/highcontrast-light.scss +0 -1
- package/styles/ribbon/highcontrast.css +0 -1
- package/styles/ribbon/highcontrast.scss +0 -1
- package/styles/ribbon/material-dark.css +0 -1
- package/styles/ribbon/material-dark.scss +0 -1
- package/styles/ribbon/material.css +0 -1
- package/styles/ribbon/material.scss +0 -1
- package/styles/ribbon/material3-dark.css +0 -1
- package/styles/ribbon/material3-dark.scss +0 -1
- package/styles/ribbon/material3.css +0 -1
- package/styles/ribbon/material3.scss +0 -1
- package/styles/ribbon/tailwind-dark.css +0 -1
- package/styles/ribbon/tailwind-dark.scss +0 -1
- package/styles/ribbon/tailwind.css +0 -1
- package/styles/ribbon/tailwind.scss +0 -1
- package/styles/ribbon/tailwind3.css +0 -1
- package/styles/ribbon/tailwind3.scss +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark-lite.scss +0 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind-dark.scss +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind-lite.scss +0 -1
- package/styles/tailwind.css +0 -1
- package/styles/tailwind.scss +0 -1
- package/styles/tailwind3-lite.css +0 -1
- package/styles/tailwind3-lite.scss +0 -1
- package/styles/tailwind3.css +0 -1
- package/styles/tailwind3.scss +0 -1
- package/syncfusion-ej2-angular-ribbon.d.ts +0 -5
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ViewContainerRef, QueryList, ElementRef, Renderer2, Injector, ValueProvider } from '@angular/core';
|
|
3
|
+
import { ComplexBase, ArrayBase, IComponentBase } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { Ribbon } from '@syncfusion/ej2-ribbon';
|
|
5
|
+
export * from '@syncfusion/ej2-ribbon';
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
|
+
|
|
8
|
+
declare class RibbonItemDirective extends ComplexBase<RibbonItemDirective> {
|
|
9
|
+
private viewContainerRef;
|
|
10
|
+
directivePropList: any;
|
|
11
|
+
/**
|
|
12
|
+
* Defines the type of control to be added as the Ribbon Item.
|
|
13
|
+
* @isenumeration true
|
|
14
|
+
* @default RibbonItemType.Button
|
|
15
|
+
* @asptype RibbonItemType
|
|
16
|
+
*/
|
|
17
|
+
type: any;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the active size of the ribbon item.
|
|
20
|
+
* @default 'Medium'
|
|
21
|
+
* @aspnumberenum
|
|
22
|
+
*/
|
|
23
|
+
activeSize: any;
|
|
24
|
+
/**
|
|
25
|
+
* Defines the sizes that are allowed for the ribbon item on ribbon resize.
|
|
26
|
+
* @default null
|
|
27
|
+
* @aspnumberenum
|
|
28
|
+
*/
|
|
29
|
+
allowedSizes: any;
|
|
30
|
+
/**
|
|
31
|
+
* Defines the settings for the ribbon button.
|
|
32
|
+
* @default {}
|
|
33
|
+
*/
|
|
34
|
+
buttonSettings: any;
|
|
35
|
+
/**
|
|
36
|
+
* Defines the settings for the ribbon checkbox.
|
|
37
|
+
* @default {}
|
|
38
|
+
*/
|
|
39
|
+
checkBoxSettings: any;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the settings for the ribbon color picker.
|
|
42
|
+
* @default {}
|
|
43
|
+
*/
|
|
44
|
+
colorPickerSettings: any;
|
|
45
|
+
/**
|
|
46
|
+
* Defines the settings for the ribbon combobox.
|
|
47
|
+
* @default {}
|
|
48
|
+
*/
|
|
49
|
+
comboBoxSettings: any;
|
|
50
|
+
/**
|
|
51
|
+
* Defines one or more CSS classes to customize the appearance of item.
|
|
52
|
+
* @default ''
|
|
53
|
+
*/
|
|
54
|
+
cssClass: any;
|
|
55
|
+
/**
|
|
56
|
+
* Defines whether the item is disabled or not.
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
disabled: any;
|
|
60
|
+
/**
|
|
61
|
+
* Defines the display options for the ribbon item.
|
|
62
|
+
* @default 'Auto'
|
|
63
|
+
* @aspnumberenum
|
|
64
|
+
*/
|
|
65
|
+
displayOptions: any;
|
|
66
|
+
/**
|
|
67
|
+
* Defines the settings for the ribbon dropdown button.
|
|
68
|
+
* @default {}
|
|
69
|
+
*/
|
|
70
|
+
dropDownSettings: any;
|
|
71
|
+
/**
|
|
72
|
+
* Defines the properties of the gallery view in Ribbon.
|
|
73
|
+
* @default {}
|
|
74
|
+
*/
|
|
75
|
+
gallerySettings: any;
|
|
76
|
+
/**
|
|
77
|
+
* Defines the properties for group button in Ribbon
|
|
78
|
+
* @default {}
|
|
79
|
+
*/
|
|
80
|
+
groupButtonSettings: any;
|
|
81
|
+
/**
|
|
82
|
+
* Defines a unique identifier for the item.
|
|
83
|
+
* @default ''
|
|
84
|
+
*/
|
|
85
|
+
id: any;
|
|
86
|
+
/**
|
|
87
|
+
* Defines the key tip text to be accessed for specified Ribbon item.
|
|
88
|
+
* @default ''
|
|
89
|
+
*/
|
|
90
|
+
keyTip: any;
|
|
91
|
+
/**
|
|
92
|
+
* Defines the settings for the tooltip of the item.
|
|
93
|
+
* @default {}
|
|
94
|
+
*/
|
|
95
|
+
ribbonTooltipSettings: any;
|
|
96
|
+
/**
|
|
97
|
+
* Defines the settings for the ribbon split button.
|
|
98
|
+
* @default {}
|
|
99
|
+
*/
|
|
100
|
+
splitButtonSettings: any;
|
|
101
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonItemDirective, never>;
|
|
103
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonItemDirective, "e-ribbon-item", never, { "activeSize": { "alias": "activeSize"; "required": false; }; "allowedSizes": { "alias": "allowedSizes"; "required": false; }; "buttonSettings": { "alias": "buttonSettings"; "required": false; }; "checkBoxSettings": { "alias": "checkBoxSettings"; "required": false; }; "colorPickerSettings": { "alias": "colorPickerSettings"; "required": false; }; "comboBoxSettings": { "alias": "comboBoxSettings"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "displayOptions": { "alias": "displayOptions"; "required": false; }; "dropDownSettings": { "alias": "dropDownSettings"; "required": false; }; "gallerySettings": { "alias": "gallerySettings"; "required": false; }; "groupButtonSettings": { "alias": "groupButtonSettings"; "required": false; }; "id": { "alias": "id"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "keyTip": { "alias": "keyTip"; "required": false; }; "ribbonTooltipSettings": { "alias": "ribbonTooltipSettings"; "required": false; }; "splitButtonSettings": { "alias": "splitButtonSettings"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, ["itemTemplate"], never, true, never>;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* RibbonItem Array Directive
|
|
107
|
+
* @private
|
|
108
|
+
*/
|
|
109
|
+
declare class RibbonItemsDirective extends ArrayBase<RibbonItemsDirective> {
|
|
110
|
+
constructor();
|
|
111
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonItemsDirective, never>;
|
|
112
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonItemsDirective, "e-ribbon-items", never, {}, {}, ["children"], never, true, never>;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare class RibbonCollectionDirective extends ComplexBase<RibbonCollectionDirective> {
|
|
116
|
+
private viewContainerRef;
|
|
117
|
+
directivePropList: any;
|
|
118
|
+
childItems: any;
|
|
119
|
+
tags: string[];
|
|
120
|
+
/**
|
|
121
|
+
* Defines one or more CSS classes to customize the appearance of collection.
|
|
122
|
+
* @default ''
|
|
123
|
+
*/
|
|
124
|
+
cssClass: any;
|
|
125
|
+
/**
|
|
126
|
+
* Defines a unique identifier for the collection.
|
|
127
|
+
* @default ''
|
|
128
|
+
*/
|
|
129
|
+
id: any;
|
|
130
|
+
/**
|
|
131
|
+
* Defines the list of ribbon items.
|
|
132
|
+
* @default []
|
|
133
|
+
* @asptype List<RibbonItem>
|
|
134
|
+
*/
|
|
135
|
+
items: any;
|
|
136
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonCollectionDirective, never>;
|
|
138
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonCollectionDirective, "e-ribbon-collection", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "id": { "alias": "id"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, ["childItems"], never, true, never>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* RibbonCollection Array Directive
|
|
142
|
+
* @private
|
|
143
|
+
*/
|
|
144
|
+
declare class RibbonCollectionsDirective extends ArrayBase<RibbonCollectionsDirective> {
|
|
145
|
+
constructor();
|
|
146
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonCollectionsDirective, never>;
|
|
147
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonCollectionsDirective, "e-ribbon-collections", never, {}, {}, ["children"], never, true, never>;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
declare class RibbonGroupDirective extends ComplexBase<RibbonGroupDirective> {
|
|
151
|
+
private viewContainerRef;
|
|
152
|
+
directivePropList: any;
|
|
153
|
+
childCollections: any;
|
|
154
|
+
tags: string[];
|
|
155
|
+
/**
|
|
156
|
+
* Defines the list of ribbon collections.
|
|
157
|
+
* @default []
|
|
158
|
+
* @asptype List<RibbonCollection>
|
|
159
|
+
*/
|
|
160
|
+
collections: any;
|
|
161
|
+
/**
|
|
162
|
+
* Defines one or more CSS classes to customize the appearance of group.
|
|
163
|
+
* @default ''
|
|
164
|
+
*/
|
|
165
|
+
cssClass: any;
|
|
166
|
+
/**
|
|
167
|
+
* Defines whether to add a separate popup for the overflow items in the group.
|
|
168
|
+
* If it is set to false, the overflow items will be shown in the common overflow popup present at the right end of the tab content.
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
171
|
+
enableGroupOverflow: any;
|
|
172
|
+
/**
|
|
173
|
+
* Defines the CSS class for the icons to be shown in the group overflow dropdown button in classic mode.
|
|
174
|
+
* During overflow, the entire group will be shown in a popup of a dropdown button which appears in the place of the group in ribbon tab.
|
|
175
|
+
* @default ''
|
|
176
|
+
*/
|
|
177
|
+
groupIconCss: any;
|
|
178
|
+
/**
|
|
179
|
+
* Defines the content of group header.
|
|
180
|
+
* @default ''
|
|
181
|
+
*/
|
|
182
|
+
header: any;
|
|
183
|
+
/**
|
|
184
|
+
* Defines a unique identifier for the group.
|
|
185
|
+
* @default ''
|
|
186
|
+
*/
|
|
187
|
+
id: any;
|
|
188
|
+
/**
|
|
189
|
+
* Defines whether the group is in collapsed state or not during classic mode.
|
|
190
|
+
* @default false
|
|
191
|
+
*/
|
|
192
|
+
isCollapsed: any;
|
|
193
|
+
/**
|
|
194
|
+
* Defines whether the group can be collapsed on resize during classic mode.
|
|
195
|
+
* @default true
|
|
196
|
+
*/
|
|
197
|
+
isCollapsible: any;
|
|
198
|
+
/**
|
|
199
|
+
* Specifies the keytip content.
|
|
200
|
+
* @default ''
|
|
201
|
+
*/
|
|
202
|
+
keyTip: any;
|
|
203
|
+
/**
|
|
204
|
+
* Specifies the keytip content for launcher icon.
|
|
205
|
+
* @default ''
|
|
206
|
+
*/
|
|
207
|
+
launcherIconKeyTip: any;
|
|
208
|
+
/**
|
|
209
|
+
* Defines whether to orientation in which the items of the group should be arranged.
|
|
210
|
+
* @isenumeration true
|
|
211
|
+
* @default ItemOrientation.Column
|
|
212
|
+
* @asptype ItemOrientation
|
|
213
|
+
*/
|
|
214
|
+
orientation: any;
|
|
215
|
+
/**
|
|
216
|
+
* Defines the header shown in overflow popup of Ribbon group.
|
|
217
|
+
* @default ''
|
|
218
|
+
*/
|
|
219
|
+
overflowHeader: any;
|
|
220
|
+
/**
|
|
221
|
+
* Defines the priority order at which the group should be collapsed or expanded.
|
|
222
|
+
* For collapsing value is fetched in ascending order and for expanding value is fetched in descending order.
|
|
223
|
+
* @default 0
|
|
224
|
+
*/
|
|
225
|
+
priority: any;
|
|
226
|
+
/**
|
|
227
|
+
* Defines whether to show or hide the launcher icon for the group.
|
|
228
|
+
* @default false
|
|
229
|
+
*/
|
|
230
|
+
showLauncherIcon: any;
|
|
231
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
232
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonGroupDirective, never>;
|
|
233
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonGroupDirective, "e-ribbon-group", never, { "collections": { "alias": "collections"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "enableGroupOverflow": { "alias": "enableGroupOverflow"; "required": false; }; "groupIconCss": { "alias": "groupIconCss"; "required": false; }; "header": { "alias": "header"; "required": false; }; "id": { "alias": "id"; "required": false; }; "isCollapsed": { "alias": "isCollapsed"; "required": false; }; "isCollapsible": { "alias": "isCollapsible"; "required": false; }; "keyTip": { "alias": "keyTip"; "required": false; }; "launcherIconKeyTip": { "alias": "launcherIconKeyTip"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "overflowHeader": { "alias": "overflowHeader"; "required": false; }; "priority": { "alias": "priority"; "required": false; }; "showLauncherIcon": { "alias": "showLauncherIcon"; "required": false; }; }, {}, ["childCollections"], never, true, never>;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* RibbonGroup Array Directive
|
|
237
|
+
* @private
|
|
238
|
+
*/
|
|
239
|
+
declare class RibbonGroupsDirective extends ArrayBase<RibbonGroupsDirective> {
|
|
240
|
+
constructor();
|
|
241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonGroupsDirective, never>;
|
|
242
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonGroupsDirective, "e-ribbon-groups", never, {}, {}, ["children"], never, true, never>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare class RibbonTabDirective extends ComplexBase<RibbonTabDirective> {
|
|
246
|
+
private viewContainerRef;
|
|
247
|
+
directivePropList: any;
|
|
248
|
+
childGroups: any;
|
|
249
|
+
tags: string[];
|
|
250
|
+
/**
|
|
251
|
+
* Defines one or more CSS classes to customize the appearance of tab.
|
|
252
|
+
* @default ''
|
|
253
|
+
*/
|
|
254
|
+
cssClass: any;
|
|
255
|
+
/**
|
|
256
|
+
* Defines the list of ribbon groups.
|
|
257
|
+
* @default []
|
|
258
|
+
* @asptype List<RibbonGroup>
|
|
259
|
+
*/
|
|
260
|
+
groups: any;
|
|
261
|
+
/**
|
|
262
|
+
* Defines the content of tab header.
|
|
263
|
+
* @default ''
|
|
264
|
+
*/
|
|
265
|
+
header: any;
|
|
266
|
+
/**
|
|
267
|
+
* Defines a unique identifier for the tab.
|
|
268
|
+
* @default ''
|
|
269
|
+
*/
|
|
270
|
+
id: any;
|
|
271
|
+
/**
|
|
272
|
+
* Specifies the keytip content.
|
|
273
|
+
* @default ''
|
|
274
|
+
*/
|
|
275
|
+
keyTip: any;
|
|
276
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
277
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonTabDirective, never>;
|
|
278
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonTabDirective, "e-ribbon-tab", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "header": { "alias": "header"; "required": false; }; "id": { "alias": "id"; "required": false; }; "keyTip": { "alias": "keyTip"; "required": false; }; }, {}, ["childGroups"], never, true, never>;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* RibbonTab Array Directive
|
|
282
|
+
* @private
|
|
283
|
+
*/
|
|
284
|
+
declare class RibbonTabsDirective extends ArrayBase<RibbonTabsDirective> {
|
|
285
|
+
constructor();
|
|
286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonTabsDirective, never>;
|
|
287
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonTabsDirective, "e-ribbon-tabs", never, {}, {}, ["children"], never, true, never>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
|
|
292
|
+
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
293
|
+
* ```html
|
|
294
|
+
* <ejs-ribbon>
|
|
295
|
+
* <e-ribbon-contextual-tabs>
|
|
296
|
+
* <e-ribbon-contextual-tab>
|
|
297
|
+
* </e-ribbon-contextual-tab>
|
|
298
|
+
* </e-ribbon-contextual-tabs>
|
|
299
|
+
* </ejs-ribbon>
|
|
300
|
+
* ```
|
|
301
|
+
*/
|
|
302
|
+
declare class RibbonContextualTabDirective extends ComplexBase<RibbonContextualTabDirective> {
|
|
303
|
+
private viewContainerRef;
|
|
304
|
+
directivePropList: any;
|
|
305
|
+
childTabs: any;
|
|
306
|
+
tags: string[];
|
|
307
|
+
/**
|
|
308
|
+
* Specifies whether the contextual tab is selected.
|
|
309
|
+
* @default false
|
|
310
|
+
*/
|
|
311
|
+
isSelected: any;
|
|
312
|
+
/**
|
|
313
|
+
* Defines the tab groups to be rendered in ribbon.
|
|
314
|
+
* @default []
|
|
315
|
+
* @asptype List<RibbonTab>
|
|
316
|
+
*/
|
|
317
|
+
tabs: any;
|
|
318
|
+
/**
|
|
319
|
+
* Specifies whether the contextual tab is visible.
|
|
320
|
+
* @default false
|
|
321
|
+
*/
|
|
322
|
+
visible: any;
|
|
323
|
+
constructor(viewContainerRef: ViewContainerRef);
|
|
324
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonContextualTabDirective, never>;
|
|
325
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonContextualTabDirective, "e-ribbon-contextual-tab", never, { "isSelected": { "alias": "isSelected"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, ["childTabs"], never, true, never>;
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* RibbonContextualTab Array Directive
|
|
329
|
+
* @private
|
|
330
|
+
*/
|
|
331
|
+
declare class RibbonContextualTabsDirective extends ArrayBase<RibbonContextualTabsDirective> {
|
|
332
|
+
constructor();
|
|
333
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonContextualTabsDirective, never>;
|
|
334
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RibbonContextualTabsDirective, "e-ribbon-contextual-tabs", never, {}, {}, ["children"], never, true, never>;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Represents the Essential JS 2 Angular Ribbon Component.
|
|
339
|
+
* ```html
|
|
340
|
+
* <ejs-ribbon></ejs-ribbon>
|
|
341
|
+
* ```
|
|
342
|
+
*/
|
|
343
|
+
declare class RibbonComponent extends Ribbon implements IComponentBase {
|
|
344
|
+
private ngEle;
|
|
345
|
+
private srenderer;
|
|
346
|
+
private viewContainerRef;
|
|
347
|
+
private injector;
|
|
348
|
+
containerContext: any;
|
|
349
|
+
tagObjects: any;
|
|
350
|
+
created: any;
|
|
351
|
+
launcherIconClick: any;
|
|
352
|
+
overflowPopupClose: any;
|
|
353
|
+
overflowPopupOpen: any;
|
|
354
|
+
ribbonCollapsing: any;
|
|
355
|
+
ribbonExpanding: any;
|
|
356
|
+
ribbonLayoutSwitched: any;
|
|
357
|
+
tabSelected: any;
|
|
358
|
+
tabSelecting: any;
|
|
359
|
+
childTabs: QueryList<RibbonTabsDirective>;
|
|
360
|
+
childContextualTabs: QueryList<RibbonContextualTabsDirective>;
|
|
361
|
+
tags: string[];
|
|
362
|
+
constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
|
|
363
|
+
ngOnInit(): void;
|
|
364
|
+
ngAfterViewInit(): void;
|
|
365
|
+
ngOnDestroy(): void;
|
|
366
|
+
ngAfterContentChecked(): void;
|
|
367
|
+
registerEvents: (eventList: string[]) => void;
|
|
368
|
+
addTwoWay: (propList: string[]) => void;
|
|
369
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonComponent, never>;
|
|
370
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RibbonComponent, "ejs-ribbon", never, { "activeLayout": { "alias": "activeLayout"; "required": false; }; "backStageMenu": { "alias": "backStageMenu"; "required": false; }; "contextualTabs": { "alias": "contextualTabs"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "enableKeyTips": { "alias": "enableKeyTips"; "required": false; }; "enablePersistence": { "alias": "enablePersistence"; "required": false; }; "enableRtl": { "alias": "enableRtl"; "required": false; }; "fileMenu": { "alias": "fileMenu"; "required": false; }; "helpPaneTemplate": { "alias": "helpPaneTemplate"; "required": false; }; "hideLayoutSwitcher": { "alias": "hideLayoutSwitcher"; "required": false; }; "isMinimized": { "alias": "isMinimized"; "required": false; }; "launcherIconCss": { "alias": "launcherIconCss"; "required": false; }; "layoutSwitcherKeyTip": { "alias": "layoutSwitcherKeyTip"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "selectedTab": { "alias": "selectedTab"; "required": false; }; "tabAnimation": { "alias": "tabAnimation"; "required": false; }; "tabs": { "alias": "tabs"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "created": "created"; "launcherIconClick": "launcherIconClick"; "overflowPopupClose": "overflowPopupClose"; "overflowPopupOpen": "overflowPopupOpen"; "ribbonCollapsing": "ribbonCollapsing"; "ribbonExpanding": "ribbonExpanding"; "ribbonLayoutSwitched": "ribbonLayoutSwitched"; "tabSelected": "tabSelected"; "tabSelecting": "tabSelecting"; }, ["childTabs", "childContextualTabs", "helpPaneTemplate"], ["div"], true, never>;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* NgModule definition for the Ribbon component.
|
|
375
|
+
* Re-exports standalone Ribbon component and directives so existing apps can keep using:
|
|
376
|
+
* `imports: [RibbonModule]`
|
|
377
|
+
*/
|
|
378
|
+
declare class RibbonModule {
|
|
379
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonModule, never>;
|
|
380
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RibbonModule, never, [typeof i1.CommonModule, typeof RibbonComponent, typeof RibbonItemDirective, typeof RibbonItemsDirective, typeof RibbonCollectionDirective, typeof RibbonCollectionsDirective, typeof RibbonGroupDirective, typeof RibbonGroupsDirective, typeof RibbonTabDirective, typeof RibbonTabsDirective, typeof RibbonContextualTabDirective, typeof RibbonContextualTabsDirective], [typeof RibbonComponent, typeof RibbonItemDirective, typeof RibbonItemsDirective, typeof RibbonCollectionDirective, typeof RibbonCollectionsDirective, typeof RibbonGroupDirective, typeof RibbonGroupsDirective, typeof RibbonTabDirective, typeof RibbonTabsDirective, typeof RibbonContextualTabDirective, typeof RibbonContextualTabsDirective]>;
|
|
381
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RibbonModule>;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
declare const RibbonButtonService: ValueProvider;
|
|
385
|
+
declare const RibbonDropDownService: ValueProvider;
|
|
386
|
+
declare const RibbonSplitButtonService: ValueProvider;
|
|
387
|
+
declare const RibbonCheckBoxService: ValueProvider;
|
|
388
|
+
declare const RibbonColorPickerService: ValueProvider;
|
|
389
|
+
declare const RibbonComboBoxService: ValueProvider;
|
|
390
|
+
declare const RibbonGroupButtonService: ValueProvider;
|
|
391
|
+
declare const RibbonFileMenuService: ValueProvider;
|
|
392
|
+
declare const RibbonBackstageService: ValueProvider;
|
|
393
|
+
declare const RibbonKeyTipService: ValueProvider;
|
|
394
|
+
declare const RibbonContextualTabService: ValueProvider;
|
|
395
|
+
declare const RibbonGalleryService: ValueProvider;
|
|
396
|
+
/**
|
|
397
|
+
* NgModule definition for the Ribbon component with providers.
|
|
398
|
+
*/
|
|
399
|
+
declare class RibbonAllModule {
|
|
400
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RibbonAllModule, never>;
|
|
401
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RibbonAllModule, never, [typeof i1.CommonModule, typeof RibbonModule], [typeof RibbonModule]>;
|
|
402
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RibbonAllModule>;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export { RibbonAllModule, RibbonBackstageService, RibbonButtonService, RibbonCheckBoxService, RibbonCollectionDirective, RibbonCollectionsDirective, RibbonColorPickerService, RibbonComboBoxService, RibbonComponent, RibbonContextualTabDirective, RibbonContextualTabService, RibbonContextualTabsDirective, RibbonDropDownService, RibbonFileMenuService, RibbonGalleryService, RibbonGroupButtonService, RibbonGroupDirective, RibbonGroupsDirective, RibbonItemDirective, RibbonItemsDirective, RibbonKeyTipService, RibbonModule, RibbonSplitButtonService, RibbonTabDirective, RibbonTabsDirective };
|
package/esm2020/public_api.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './src/index';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
|
package/esm2020/src/index.mjs
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { RibbonItemDirective, RibbonItemsDirective } from './ribbon/items.directive';
|
|
2
|
-
export { RibbonCollectionDirective, RibbonCollectionsDirective } from './ribbon/collections.directive';
|
|
3
|
-
export { RibbonGroupDirective, RibbonGroupsDirective } from './ribbon/groups.directive';
|
|
4
|
-
export { RibbonTabDirective, RibbonTabsDirective } from './ribbon/tabs.directive';
|
|
5
|
-
export { RibbonContextualTabDirective, RibbonContextualTabsDirective } from './ribbon/contextualtabs.directive';
|
|
6
|
-
export { RibbonComponent } from './ribbon/ribbon.component';
|
|
7
|
-
export { RibbonModule } from './ribbon/ribbon.module';
|
|
8
|
-
export { RibbonAllModule, RibbonButtonService, RibbonDropDownService, RibbonSplitButtonService, RibbonCheckBoxService, RibbonColorPickerService, RibbonComboBoxService, RibbonGroupButtonService, RibbonFileMenuService, RibbonBackstageService, RibbonKeyTipService, RibbonContextualTabService, RibbonGalleryService } from './ribbon/ribbon-all.module';
|
|
9
|
-
export * from '@syncfusion/ej2-ribbon';
|
|
10
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLG1CQUFtQixFQUFDLG9CQUFvQixFQUFDLE1BQU0sMEJBQTBCLENBQUM7QUFDbEYsT0FBTyxFQUFDLHlCQUF5QixFQUFDLDBCQUEwQixFQUFDLE1BQU0sZ0NBQWdDLENBQUM7QUFDcEcsT0FBTyxFQUFDLG9CQUFvQixFQUFDLHFCQUFxQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDckYsT0FBTyxFQUFDLGtCQUFrQixFQUFDLG1CQUFtQixFQUFDLE1BQU0seUJBQXlCLENBQUM7QUFDL0UsT0FBTyxFQUFDLDRCQUE0QixFQUFDLDZCQUE2QixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFDN0csT0FBTyxFQUFFLGVBQWUsRUFBQyxNQUFNLDJCQUEyQixDQUFDO0FBQzNELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUN0RCxPQUFPLEVBQUUsZUFBZSxFQUFFLG1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gUmliYm9uQnV0dG9uU2VydmljZSwgUmliYm9uRHJvcERvd25TZXJ2aWNlLCBSaWJib25TcGxpdEJ1dHRvblNlcnZpY2UsIFJpYmJvbkNoZWNrQm94U2VydmljZSwgUmliYm9uQ29sb3JQaWNrZXJTZXJ2aWNlLCBSaWJib25Db21ib0JveFNlcnZpY2UsIFJpYmJvbkdyb3VwQnV0dG9uU2VydmljZSwgUmliYm9uRmlsZU1lbnVTZXJ2aWNlLCBSaWJib25CYWNrc3RhZ2VTZXJ2aWNlLCBSaWJib25LZXlUaXBTZXJ2aWNlLCBSaWJib25Db250ZXh0dWFsVGFiU2VydmljZSwgUmliYm9uR2FsbGVyeVNlcnZpY2UgfSBmcm9tICcuL3JpYmJvbi9yaWJib24tYWxsLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICdAc3luY2Z1c2lvbi9lajItcmliYm9uJzsiXX0=
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { RibbonItemsDirective } from './items.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let input = ['cssClass', 'id', 'items'];
|
|
6
|
-
let outputs = [];
|
|
7
|
-
export class RibbonCollectionDirective extends ComplexBase {
|
|
8
|
-
constructor(viewContainerRef) {
|
|
9
|
-
super();
|
|
10
|
-
this.viewContainerRef = viewContainerRef;
|
|
11
|
-
this.tags = ['items'];
|
|
12
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
13
|
-
this.registerEvents(outputs);
|
|
14
|
-
this.directivePropList = input;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
RibbonCollectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
-
RibbonCollectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonCollectionDirective, selector: "e-ribbon-collection", inputs: { cssClass: "cssClass", id: "id", items: "items" }, queries: [{ propertyName: "childItems", first: true, predicate: RibbonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionDirective, decorators: [{
|
|
20
|
-
type: Directive,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'e-ribbon-collection',
|
|
23
|
-
inputs: input,
|
|
24
|
-
outputs: outputs,
|
|
25
|
-
queries: {
|
|
26
|
-
childItems: new ContentChild(RibbonItemsDirective)
|
|
27
|
-
}
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
30
|
-
/**
|
|
31
|
-
* RibbonCollection Array Directive
|
|
32
|
-
* @private
|
|
33
|
-
*/
|
|
34
|
-
export class RibbonCollectionsDirective extends ArrayBase {
|
|
35
|
-
constructor() {
|
|
36
|
-
super('collections');
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
RibbonCollectionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
RibbonCollectionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonCollectionsDirective, selector: "e-ribbon-collections", queries: [{ propertyName: "children", predicate: RibbonCollectionDirective }], usesInheritance: true, ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonCollectionsDirective, decorators: [{
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: 'e-ribbon-collections',
|
|
45
|
-
queries: {
|
|
46
|
-
children: new ContentChildren(RibbonCollectionDirective)
|
|
47
|
-
},
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return []; } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3JpYmJvbi9jb2xsZWN0aW9ucy5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBb0IsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUVoRixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQzs7QUFFekQsSUFBSSxLQUFLLEdBQWEsQ0FBQyxVQUFVLEVBQUUsSUFBSSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBQ2xELElBQUksT0FBTyxHQUFhLEVBQUUsQ0FBQztBQVUzQixNQUFNLE9BQU8seUJBQTBCLFNBQVEsV0FBc0M7SUFzQmpGLFlBQW9CLGdCQUFpQztRQUNqRCxLQUFLLEVBQUUsQ0FBQztRQURRLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBaUI7UUFsQjlDLFNBQUksR0FBYSxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBb0I5QixRQUFRLENBQUMsaUJBQWlCLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDO1FBQ3pELElBQUksQ0FBQyxjQUFjLENBQUMsT0FBTyxDQUFDLENBQUM7UUFDN0IsSUFBSSxD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9uSXRlbT5cbiAgICAgKi9cbiAgICBwdWJsaWMgaXRlbXM6IGFueTtcblxuICAgIGNvbnN0cnVjdG9yKHByaXZhdGUgdmlld0NvbnRhaW5lclJlZjpWaWV3Q29udGFpbmVyUmVmKSB7XG4gICAgICAgIHN1cGVyKCk7XG4gICAgICAgIHNldFZhbHVlKCdjdXJyZW50SW5zdGFuY2UnLCB0aGlzLCB0aGlzLnZpZXdDb250YWluZXJSZWYpO1xuICAgICAgICB0aGlzLnJlZ2lzdGVyRXZlbnRzKG91dHB1dHMpO1xuICAgICAgICB0aGlzLmRpcmVjdGl2ZVByb3BMaXN0ID0gaW5wdXQ7XG4gICAgfVxufVxuXG4vKipcbiAqIFJpYmJvbkNvbGxlY3Rpb24gQXJyYXkgRGlyZWN0aXZlXG4gKiBAcHJpdmF0ZVxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ2UtcmliYm9uLWNvbGxlY3Rpb25zJyxcbiAgICBxdWVyaWVzOiB7XG4gICAgICAgIGNoaWxkcmVuOiBuZXcgQ29udGVudENoaWxkcmVuKFJpYmJvbkNvbGxlY3Rpb25EaXJlY3RpdmUpXG4gICAgfSxcbn0pXG5leHBvcnQgY2xhc3MgUmliYm9uQ29sbGVjdGlvbnNEaXJlY3RpdmUgZXh0ZW5kcyBBcnJheUJhc2U8UmliYm9uQ29sbGVjdGlvbnNEaXJlY3RpdmU+IHtcbiAgICBjb25zdHJ1Y3RvcigpIHtcbiAgICAgICAgc3VwZXIoJ2NvbGxlY3Rpb25zJyk7XG4gICAgfVxufSJdfQ==
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { RibbonTabsDirective } from './tabs.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let input = ['isSelected', 'tabs', 'visible'];
|
|
6
|
-
let outputs = [];
|
|
7
|
-
/**
|
|
8
|
-
* `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
|
|
9
|
-
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
10
|
-
* ```html
|
|
11
|
-
* <ejs-ribbon>
|
|
12
|
-
* <e-ribbon-contextual-tabs>
|
|
13
|
-
* <e-ribbon-contextual-tab>
|
|
14
|
-
* </e-ribbon-contextual-tab>
|
|
15
|
-
* </e-ribbon-contextual-tabs>
|
|
16
|
-
* </ejs-ribbon>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export class RibbonContextualTabDirective extends ComplexBase {
|
|
20
|
-
constructor(viewContainerRef) {
|
|
21
|
-
super();
|
|
22
|
-
this.viewContainerRef = viewContainerRef;
|
|
23
|
-
this.tags = ['tabs'];
|
|
24
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
25
|
-
this.registerEvents(outputs);
|
|
26
|
-
this.directivePropList = input;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
RibbonContextualTabDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonContextualTabDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
-
RibbonContextualTabDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonContextualTabDirective, selector: "e-ribbon-contextual-tab", inputs: { isSelected: "isSelected", tabs: "tabs", visible: "visible" }, queries: [{ propertyName: "childTabs", first: true, predicate: RibbonTabsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonContextualTabDirective, decorators: [{
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: 'e-ribbon-contextual-tab',
|
|
35
|
-
inputs: input,
|
|
36
|
-
outputs: outputs,
|
|
37
|
-
queries: {
|
|
38
|
-
childTabs: new ContentChild(RibbonTabsDirective)
|
|
39
|
-
}
|
|
40
|
-
}]
|
|
41
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
42
|
-
/**
|
|
43
|
-
* RibbonContextualTab Array Directive
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
export class RibbonContextualTabsDirective extends ArrayBase {
|
|
47
|
-
constructor() {
|
|
48
|
-
super('contextualtabs');
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
RibbonContextualTabsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonContextualTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
52
|
-
RibbonContextualTabsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonContextualTabsDirective, selector: "e-ribbon-contextual-tabs", queries: [{ propertyName: "children", predicate: RibbonContextualTabDirective }], usesInheritance: true, ngImport: i0 });
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonContextualTabsDirective, decorators: [{
|
|
54
|
-
type: Directive,
|
|
55
|
-
args: [{
|
|
56
|
-
selector: 'e-ribbon-contextual-tabs',
|
|
57
|
-
queries: {
|
|
58
|
-
children: new ContentChildren(RibbonContextualTabDirective)
|
|
59
|
-
},
|
|
60
|
-
}]
|
|
61
|
-
}], ctorParameters: function () { return []; } });
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGV4dHVhbHRhYnMuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3JpYmJvbi9jb250ZXh0dWFsdGFicy5kaXJlY3RpdmUudHMiXSwibmFtZXM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ICAgKi9cbiAgICBwdWJsaWMgdGFiczogYW55O1xuICAgIC8qKiBcbiAgICAgKiBTcGVjaWZpZXMgd2hldGhlciB0aGUgY29udGV4dHVhbCB0YWIgaXMgdmlzaWJsZS5cbiAgICAgKiBAZGVmYXVsdCBmYWxzZVxuICAgICAqL1xuICAgIHB1YmxpYyB2aXNpYmxlOiBhbnk7XG5cbiAgICBjb25zdHJ1Y3Rvcihwcml2YXRlIHZpZXdDb250YWluZXJSZWY6Vmlld0NvbnRhaW5lclJlZikge1xuICAgICAgICBzdXBlcigpO1xuICAgICAgICBzZXRWYWx1ZSgnY3VycmVudEluc3RhbmNlJywgdGhpcywgdGhpcy52aWV3Q29udGFpbmVyUmVmKTtcbiAgICAgICAgdGhpcy5yZWdpc3RlckV2ZW50cyhvdXRwdXRzKTtcbiAgICAgICAgdGhpcy5kaXJlY3RpdmVQcm9wTGlzdCA9IGlucHV0O1xuICAgIH1cbn1cblxuLyoqXG4gKiBSaWJib25Db250ZXh0dWFsVGFiIEFycmF5IERpcmVjdGl2ZVxuICogQHByaXZhdGVcbiAqL1xuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdlLXJpYmJvbi1jb250ZXh0dWFsLXRhYnMnLFxuICAgIHF1ZXJpZXM6IHtcbiAgICAgICAgY2hpbGRyZW46IG5ldyBDb250ZW50Q2hpbGRyZW4oUmliYm9uQ29udGV4dHVhbFRhYkRpcmVjdGl2ZSlcbiAgICB9LFxufSlcbmV4cG9ydCBjbGFzcyBSaWJib25Db250ZXh0dWFsVGFic0RpcmVjdGl2ZSBleHRlbmRzIEFycmF5QmFzZTxSaWJib25Db250ZXh0dWFsVGFic0RpcmVjdGl2ZT4ge1xuICAgIGNvbnN0cnVjdG9yKCkge1xuICAgICAgICBzdXBlcignY29udGV4dHVhbHRhYnMnKTtcbiAgICB9XG59Il19
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Directive, ContentChildren, ContentChild } from '@angular/core';
|
|
2
|
-
import { ComplexBase, ArrayBase, setValue } from '@syncfusion/ej2-angular-base';
|
|
3
|
-
import { RibbonCollectionsDirective } from './collections.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
let input = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'keyTip', 'launcherIconKeyTip', 'orientation', 'overflowHeader', 'priority', 'showLauncherIcon'];
|
|
6
|
-
let outputs = [];
|
|
7
|
-
export class RibbonGroupDirective extends ComplexBase {
|
|
8
|
-
constructor(viewContainerRef) {
|
|
9
|
-
super();
|
|
10
|
-
this.viewContainerRef = viewContainerRef;
|
|
11
|
-
this.tags = ['collections'];
|
|
12
|
-
setValue('currentInstance', this, this.viewContainerRef);
|
|
13
|
-
this.registerEvents(outputs);
|
|
14
|
-
this.directivePropList = input;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
RibbonGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
-
RibbonGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonGroupDirective, selector: "e-ribbon-group", inputs: { collections: "collections", cssClass: "cssClass", enableGroupOverflow: "enableGroupOverflow", groupIconCss: "groupIconCss", header: "header", id: "id", isCollapsed: "isCollapsed", isCollapsible: "isCollapsible", keyTip: "keyTip", launcherIconKeyTip: "launcherIconKeyTip", orientation: "orientation", overflowHeader: "overflowHeader", priority: "priority", showLauncherIcon: "showLauncherIcon" }, queries: [{ propertyName: "childCollections", first: true, predicate: RibbonCollectionsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupDirective, decorators: [{
|
|
20
|
-
type: Directive,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: 'e-ribbon-group',
|
|
23
|
-
inputs: input,
|
|
24
|
-
outputs: outputs,
|
|
25
|
-
queries: {
|
|
26
|
-
childCollections: new ContentChild(RibbonCollectionsDirective)
|
|
27
|
-
}
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; } });
|
|
30
|
-
/**
|
|
31
|
-
* RibbonGroup Array Directive
|
|
32
|
-
* @private
|
|
33
|
-
*/
|
|
34
|
-
export class RibbonGroupsDirective extends ArrayBase {
|
|
35
|
-
constructor() {
|
|
36
|
-
super('groups');
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
RibbonGroupsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
RibbonGroupsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.3", type: RibbonGroupsDirective, selector: "e-ribbon-groups", queries: [{ propertyName: "children", predicate: RibbonGroupDirective }], usesInheritance: true, ngImport: i0 });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: RibbonGroupsDirective, decorators: [{
|
|
42
|
-
type: Directive,
|
|
43
|
-
args: [{
|
|
44
|
-
selector: 'e-ribbon-groups',
|
|
45
|
-
queries: {
|
|
46
|
-
children: new ContentChildren(RibbonGroupDirective)
|
|
47
|
-
},
|
|
48
|
-
}]
|
|
49
|
-
}], ctorParameters: function () { return []; } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JvdXBzLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9yaWJib24vZ3JvdXBzLmRp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