@syncfusion/ej2-angular-ribbon 34.2.8-ngcc → 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 +93 -0
- package/README.md +14 -0
- package/fesm2022/syncfusion-ej2-angular-ribbon.mjs +536 -0
- package/fesm2022/syncfusion-ej2-angular-ribbon.mjs.map +1 -0
- package/package.json +16 -10
- 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/@syncfusion/ej2-angular-ribbon.es5.js +0 -615
- package/@syncfusion/ej2-angular-ribbon.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-ribbon.js +0 -571
- package/@syncfusion/ej2-angular-ribbon.js.map +0 -1
- package/LICENSE +0 -10
- package/dist/ej2-angular-ribbon.umd.js +0 -806
- package/dist/ej2-angular-ribbon.umd.js.map +0 -1
- package/dist/ej2-angular-ribbon.umd.min.js +0 -11
- package/dist/ej2-angular-ribbon.umd.min.js.map +0 -1
- package/ej2-angular-ribbon.d.ts +0 -5
- package/ej2-angular-ribbon.metadata.json +0 -1
- package/public_api.d.ts +0 -1
- package/src/index.d.ts +0 -9
- package/src/ribbon/collections.directive.d.ts +0 -32
- package/src/ribbon/contextualtabs.directive.d.ts +0 -44
- package/src/ribbon/groups.directive.d.ts +0 -92
- package/src/ribbon/items.directive.d.ts +0 -114
- package/src/ribbon/ribbon-all.module.d.ts +0 -18
- package/src/ribbon/ribbon.component.d.ts +0 -51
- package/src/ribbon/ribbon.module.d.ts +0 -5
- package/src/ribbon/tabs.directive.d.ts +0 -42
- 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/CHANGELOG.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [Unreleased]
|
|
4
|
+
|
|
5
|
+
## 25.1.35 (2024-03-15)
|
|
6
|
+
|
|
7
|
+
### Ribbon
|
|
8
|
+
|
|
9
|
+
#### Features
|
|
10
|
+
|
|
11
|
+
- **Gallery item** - In addition to the existing built-in items, a new item, gallery, has been added to the Ribbon control. It allows users to perform specific actions by displaying a collection of related items, including icons, content, or images. Check out the demo [here](https://ej2.syncfusion.com/demos/#/material3/ribbon/gallery.html).
|
|
12
|
+
|
|
13
|
+
- **Contextual tabs** - The Ribbon control now supports addition of contextual tabs, allows users to display the ribbon tabs on demand based on their needs. Similar to the normal ribbon tabs, it supports adding all built-in and custom ribbon items to execute specific actions. Check out the demo [here](https://ej2.syncfusion.com/demos/#/material3/ribbon/contextual-tab.html).
|
|
14
|
+
|
|
15
|
+
- **KeyTips support** - The KeyTips feature enables users to quickly access the tabs or ribbon items by using defined unique key tips (up to 3 characters). To show the KeyTips, press Alt + Windows/Command keys, and close or traverse back by pressing the Esc key. Check out the demo [here](https://ej2.syncfusion.com/demos/#/material3/ribbon/keytip.html).
|
|
16
|
+
|
|
17
|
+
- **Gallery item** - In addition to the existing built-in items, a new item, gallery, has been added to the Ribbon component. It allows users to perform specific actions by displaying a collection of related items, including icons, content, or images. Check out the demo [here](https://ej2.syncfusion.com/angular/demos/#/material3/ribbon/gallery).
|
|
18
|
+
|
|
19
|
+
- **Contextual tabs** - The Ribbon component now supports addition of contextual tabs, allows users to display the ribbon tabs on demand based on their needs. Similar to the normal ribbon tabs, it supports adding all built-in and custom ribbon items to execute specific actions. Check out the demo [here](https://ej2.syncfusion.com/angular/demos/#/material3/ribbon/contextual).
|
|
20
|
+
|
|
21
|
+
- **KeyTips support** - The KeyTips feature enables users to quickly access the tabs or ribbon items by using defined unique key tips (up to 3 characters). To show the KeyTips, press Alt + Windows/Command keys, and close or traverse back by pressing the Esc key. Check out the demo [here](https://ej2.syncfusion.com/angular/demos/#/material3/ribbon/keytip).
|
|
22
|
+
|
|
23
|
+
## 24.1.41 (2023-12-18)
|
|
24
|
+
|
|
25
|
+
### Ribbon
|
|
26
|
+
|
|
27
|
+
#### Features
|
|
28
|
+
|
|
29
|
+
- Enhanced the popups UI with added label/header support for items displayed in overflow popups. Check out the demo [here](https://ej2.syncfusion.com/angular/demos/#/material3/ribbon/resize).
|
|
30
|
+
|
|
31
|
+
#### Bug Fixes
|
|
32
|
+
|
|
33
|
+
- `#F185735` - Issue with 'selected' property not updating properly when selecting an item from Ribbon GroupButton has been resolved.
|
|
34
|
+
|
|
35
|
+
## 23.2.7 (2023-12-05)
|
|
36
|
+
|
|
37
|
+
### Ribbon
|
|
38
|
+
|
|
39
|
+
#### Features
|
|
40
|
+
|
|
41
|
+
`#I512188` - Provided overflow popup open/close event support for the Ribbon overflow popup.
|
|
42
|
+
|
|
43
|
+
## 23.2.5 (2023-11-23)
|
|
44
|
+
|
|
45
|
+
### Ribbon
|
|
46
|
+
|
|
47
|
+
#### Bug Fixes
|
|
48
|
+
|
|
49
|
+
`#I516350` - Now the issue with overflow popup button when the items showing inside are in hidden state has been resolved.
|
|
50
|
+
|
|
51
|
+
## 23.1.44 (2023-11-07)
|
|
52
|
+
|
|
53
|
+
### Ribbon
|
|
54
|
+
|
|
55
|
+
#### Bug Fixes
|
|
56
|
+
|
|
57
|
+
`#I509963` - Now the issue with hide/disable method not working properly with the tab items that are not loaded in initial rendering has been resolved.
|
|
58
|
+
|
|
59
|
+
`#I510661` - Now the script issue raised with the createPopupOnClick property enabled in the dropdown item overflow popup has been resolved.
|
|
60
|
+
|
|
61
|
+
## 23.1.43 (2023-10-31)
|
|
62
|
+
|
|
63
|
+
### Ribbon
|
|
64
|
+
|
|
65
|
+
#### Features
|
|
66
|
+
|
|
67
|
+
`#I510343` - Provided custom HTML attributes support for the Ribbon items
|
|
68
|
+
|
|
69
|
+
## 23.1.38 (2023-09-26)
|
|
70
|
+
|
|
71
|
+
### Ribbon
|
|
72
|
+
|
|
73
|
+
#### Bug Fixes
|
|
74
|
+
|
|
75
|
+
`#I499031` - Now, the issue with overflow popup items are arranged in reversal order when being resized is resolved.
|
|
76
|
+
|
|
77
|
+
## 21.1.35 (2023-03-23)
|
|
78
|
+
|
|
79
|
+
### Ribbon
|
|
80
|
+
|
|
81
|
+
The Ribbon provides a structured and easy-to-use user interface for users to access different features and functions through series of tabs, improving user experience and efficiency.
|
|
82
|
+
|
|
83
|
+
**Key features**
|
|
84
|
+
|
|
85
|
+
- **Built-in items** - Several built-in support items, such as buttons, checkboxes, drop-down buttons, split buttons, combo boxes, and color pickers that can be customized and used to execute specific actions.
|
|
86
|
+
|
|
87
|
+
- **Modes** - Offers the classic mode that organizes items and groups in a traditional form, and simplified mode that organizes items and groups into a single row for improved usability and reduced clutter.
|
|
88
|
+
|
|
89
|
+
- **Tooltip** - Provide additional information when a user hovers over a ribbon item, improving user experience and increasing the usability of the application.
|
|
90
|
+
|
|
91
|
+
- **File menu** - A built-in menu that to add file related actions easily.
|
|
92
|
+
|
|
93
|
+
- **Templates** - Customize ribbon items and the help pane content using templates.
|
package/README.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Angular Ribbon Component
|
|
2
2
|
|
|
3
|
+
> **Using this package with an AI coding agent**
|
|
4
|
+
>
|
|
5
|
+
> Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
|
|
6
|
+
>
|
|
7
|
+
> ```text
|
|
8
|
+
> Set up this project for Syncfusion before generating code. Fetch
|
|
9
|
+
> and follow the official instructions at https://ai.syncfusion.com,
|
|
10
|
+
> then report the detected platform, installed skill pack, MCP
|
|
11
|
+
> status, and any required licensing action.
|
|
12
|
+
> ```
|
|
13
|
+
> The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
|
|
14
|
+
>
|
|
15
|
+
> **Platform reference:** [https://ai.syncfusion.com/angular/llms.txt](https://ai.syncfusion.com/angular/llms.txt)
|
|
16
|
+
|
|
3
17
|
The [Angular Ribbon](https://www.syncfusion.com/angular-components/angular-ribbon?utm_source=npm&utm_medium=listing&utm_campaign=angular-navigation-npm) component provides a structured and easy-to-use user interface for users to access different features and functions through series of tabs, improving the overall user experience and making your application more efficient.
|
|
4
18
|
|
|
5
19
|
<p align="center">
|
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ContentChild, Directive, ContentChildren, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { ComplexBase, setValue, Template, ArrayBase, ComponentBase, ComponentMixins } from '@syncfusion/ej2-angular-base';
|
|
4
|
+
import { __decorate } from 'tslib';
|
|
5
|
+
import { Ribbon, RibbonButton, RibbonDropDown, RibbonSplitButton, RibbonCheckBox, RibbonColorPicker, RibbonComboBox, RibbonGroupButton, RibbonFileMenu, RibbonBackstage, RibbonKeyTip, RibbonContextualTab, RibbonGallery } from '@syncfusion/ej2-ribbon';
|
|
6
|
+
export * from '@syncfusion/ej2-ribbon';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
let input$4 = ['activeSize', 'allowedSizes', 'buttonSettings', 'checkBoxSettings', 'colorPickerSettings', 'comboBoxSettings', 'cssClass', 'disabled', 'displayOptions', 'dropDownSettings', 'gallerySettings', 'groupButtonSettings', 'id', 'itemTemplate', 'keyTip', 'ribbonTooltipSettings', 'splitButtonSettings', 'type'];
|
|
10
|
+
let outputs$5 = [];
|
|
11
|
+
class RibbonItemDirective extends ComplexBase {
|
|
12
|
+
viewContainerRef;
|
|
13
|
+
directivePropList;
|
|
14
|
+
constructor(viewContainerRef) {
|
|
15
|
+
super();
|
|
16
|
+
this.viewContainerRef = viewContainerRef;
|
|
17
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
18
|
+
this.registerEvents(outputs$5);
|
|
19
|
+
this.directivePropList = input$4;
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonItemDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonItemDirective, isStandalone: true, selector: "e-ribbon-item", inputs: { activeSize: "activeSize", allowedSizes: "allowedSizes", buttonSettings: "buttonSettings", checkBoxSettings: "checkBoxSettings", colorPickerSettings: "colorPickerSettings", comboBoxSettings: "comboBoxSettings", cssClass: "cssClass", disabled: "disabled", displayOptions: "displayOptions", dropDownSettings: "dropDownSettings", gallerySettings: "gallerySettings", groupButtonSettings: "groupButtonSettings", id: "id", itemTemplate: "itemTemplate", keyTip: "keyTip", ribbonTooltipSettings: "ribbonTooltipSettings", splitButtonSettings: "splitButtonSettings", type: "type" }, queries: [{ propertyName: "itemTemplate", first: true, predicate: ["itemTemplate"], descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonItemDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'e-ribbon-item',
|
|
28
|
+
inputs: input$4,
|
|
29
|
+
outputs: outputs$5,
|
|
30
|
+
standalone: true,
|
|
31
|
+
queries: {
|
|
32
|
+
itemTemplate: new ContentChild('itemTemplate')
|
|
33
|
+
}
|
|
34
|
+
}]
|
|
35
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
36
|
+
Template()(RibbonItemDirective.prototype, 'itemTemplate');
|
|
37
|
+
/**
|
|
38
|
+
* RibbonItem Array Directive
|
|
39
|
+
* @private
|
|
40
|
+
*/
|
|
41
|
+
class RibbonItemsDirective extends ArrayBase {
|
|
42
|
+
constructor() {
|
|
43
|
+
super('items');
|
|
44
|
+
}
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
46
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonItemsDirective, isStandalone: true, selector: "e-ribbon-items", queries: [{ propertyName: "children", predicate: RibbonItemDirective }], usesInheritance: true, ngImport: i0 });
|
|
47
|
+
}
|
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonItemsDirective, decorators: [{
|
|
49
|
+
type: Directive,
|
|
50
|
+
args: [{
|
|
51
|
+
selector: 'e-ribbon-items',
|
|
52
|
+
standalone: true,
|
|
53
|
+
queries: {
|
|
54
|
+
children: new ContentChildren(RibbonItemDirective)
|
|
55
|
+
},
|
|
56
|
+
}]
|
|
57
|
+
}], ctorParameters: () => [] });
|
|
58
|
+
|
|
59
|
+
let input$3 = ['cssClass', 'id', 'items'];
|
|
60
|
+
let outputs$4 = [];
|
|
61
|
+
class RibbonCollectionDirective extends ComplexBase {
|
|
62
|
+
viewContainerRef;
|
|
63
|
+
directivePropList;
|
|
64
|
+
tags = ['items'];
|
|
65
|
+
constructor(viewContainerRef) {
|
|
66
|
+
super();
|
|
67
|
+
this.viewContainerRef = viewContainerRef;
|
|
68
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
69
|
+
this.registerEvents(outputs$4);
|
|
70
|
+
this.directivePropList = input$3;
|
|
71
|
+
}
|
|
72
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonCollectionDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
73
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonCollectionDirective, isStandalone: true, selector: "e-ribbon-collection", inputs: { cssClass: "cssClass", id: "id", items: "items" }, queries: [{ propertyName: "childItems", first: true, predicate: RibbonItemsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
74
|
+
}
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonCollectionDirective, decorators: [{
|
|
76
|
+
type: Directive,
|
|
77
|
+
args: [{
|
|
78
|
+
selector: 'e-ribbon-collection',
|
|
79
|
+
inputs: input$3,
|
|
80
|
+
outputs: outputs$4,
|
|
81
|
+
standalone: true,
|
|
82
|
+
queries: {
|
|
83
|
+
childItems: new ContentChild(RibbonItemsDirective)
|
|
84
|
+
}
|
|
85
|
+
}]
|
|
86
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
87
|
+
/**
|
|
88
|
+
* RibbonCollection Array Directive
|
|
89
|
+
* @private
|
|
90
|
+
*/
|
|
91
|
+
class RibbonCollectionsDirective extends ArrayBase {
|
|
92
|
+
constructor() {
|
|
93
|
+
super('collections');
|
|
94
|
+
}
|
|
95
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonCollectionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
96
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonCollectionsDirective, isStandalone: true, selector: "e-ribbon-collections", queries: [{ propertyName: "children", predicate: RibbonCollectionDirective }], usesInheritance: true, ngImport: i0 });
|
|
97
|
+
}
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonCollectionsDirective, decorators: [{
|
|
99
|
+
type: Directive,
|
|
100
|
+
args: [{
|
|
101
|
+
selector: 'e-ribbon-collections',
|
|
102
|
+
standalone: true,
|
|
103
|
+
queries: {
|
|
104
|
+
children: new ContentChildren(RibbonCollectionDirective)
|
|
105
|
+
},
|
|
106
|
+
}]
|
|
107
|
+
}], ctorParameters: () => [] });
|
|
108
|
+
|
|
109
|
+
let input$2 = ['collections', 'cssClass', 'enableGroupOverflow', 'groupIconCss', 'header', 'id', 'isCollapsed', 'isCollapsible', 'keyTip', 'launcherIconKeyTip', 'orientation', 'overflowHeader', 'priority', 'showLauncherIcon'];
|
|
110
|
+
let outputs$3 = [];
|
|
111
|
+
class RibbonGroupDirective extends ComplexBase {
|
|
112
|
+
viewContainerRef;
|
|
113
|
+
directivePropList;
|
|
114
|
+
tags = ['collections'];
|
|
115
|
+
constructor(viewContainerRef) {
|
|
116
|
+
super();
|
|
117
|
+
this.viewContainerRef = viewContainerRef;
|
|
118
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
119
|
+
this.registerEvents(outputs$3);
|
|
120
|
+
this.directivePropList = input$2;
|
|
121
|
+
}
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonGroupDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonGroupDirective, isStandalone: true, 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 });
|
|
124
|
+
}
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonGroupDirective, decorators: [{
|
|
126
|
+
type: Directive,
|
|
127
|
+
args: [{
|
|
128
|
+
selector: 'e-ribbon-group',
|
|
129
|
+
inputs: input$2,
|
|
130
|
+
outputs: outputs$3,
|
|
131
|
+
standalone: true,
|
|
132
|
+
queries: {
|
|
133
|
+
childCollections: new ContentChild(RibbonCollectionsDirective)
|
|
134
|
+
}
|
|
135
|
+
}]
|
|
136
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
137
|
+
/**
|
|
138
|
+
* RibbonGroup Array Directive
|
|
139
|
+
* @private
|
|
140
|
+
*/
|
|
141
|
+
class RibbonGroupsDirective extends ArrayBase {
|
|
142
|
+
constructor() {
|
|
143
|
+
super('groups');
|
|
144
|
+
}
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonGroupsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
146
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonGroupsDirective, isStandalone: true, selector: "e-ribbon-groups", queries: [{ propertyName: "children", predicate: RibbonGroupDirective }], usesInheritance: true, ngImport: i0 });
|
|
147
|
+
}
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonGroupsDirective, decorators: [{
|
|
149
|
+
type: Directive,
|
|
150
|
+
args: [{
|
|
151
|
+
selector: 'e-ribbon-groups',
|
|
152
|
+
standalone: true,
|
|
153
|
+
queries: {
|
|
154
|
+
children: new ContentChildren(RibbonGroupDirective)
|
|
155
|
+
},
|
|
156
|
+
}]
|
|
157
|
+
}], ctorParameters: () => [] });
|
|
158
|
+
|
|
159
|
+
let input$1 = ['cssClass', 'groups', 'header', 'id', 'keyTip'];
|
|
160
|
+
let outputs$2 = [];
|
|
161
|
+
class RibbonTabDirective extends ComplexBase {
|
|
162
|
+
viewContainerRef;
|
|
163
|
+
directivePropList;
|
|
164
|
+
tags = ['groups'];
|
|
165
|
+
constructor(viewContainerRef) {
|
|
166
|
+
super();
|
|
167
|
+
this.viewContainerRef = viewContainerRef;
|
|
168
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
169
|
+
this.registerEvents(outputs$2);
|
|
170
|
+
this.directivePropList = input$1;
|
|
171
|
+
}
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonTabDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
173
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonTabDirective, isStandalone: true, selector: "e-ribbon-tab", inputs: { cssClass: "cssClass", groups: "groups", header: "header", id: "id", keyTip: "keyTip" }, queries: [{ propertyName: "childGroups", first: true, predicate: RibbonGroupsDirective, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
174
|
+
}
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonTabDirective, decorators: [{
|
|
176
|
+
type: Directive,
|
|
177
|
+
args: [{
|
|
178
|
+
selector: 'e-ribbon-tab',
|
|
179
|
+
inputs: input$1,
|
|
180
|
+
outputs: outputs$2,
|
|
181
|
+
standalone: true,
|
|
182
|
+
queries: {
|
|
183
|
+
childGroups: new ContentChild(RibbonGroupsDirective)
|
|
184
|
+
}
|
|
185
|
+
}]
|
|
186
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
187
|
+
/**
|
|
188
|
+
* RibbonTab Array Directive
|
|
189
|
+
* @private
|
|
190
|
+
*/
|
|
191
|
+
class RibbonTabsDirective extends ArrayBase {
|
|
192
|
+
constructor() {
|
|
193
|
+
super('tabs');
|
|
194
|
+
}
|
|
195
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
196
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonTabsDirective, isStandalone: true, selector: "e-ribbon-tabs", queries: [{ propertyName: "children", predicate: RibbonTabDirective }], usesInheritance: true, ngImport: i0 });
|
|
197
|
+
}
|
|
198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonTabsDirective, decorators: [{
|
|
199
|
+
type: Directive,
|
|
200
|
+
args: [{
|
|
201
|
+
selector: 'e-ribbon-tabs',
|
|
202
|
+
standalone: true,
|
|
203
|
+
queries: {
|
|
204
|
+
children: new ContentChildren(RibbonTabDirective)
|
|
205
|
+
},
|
|
206
|
+
}]
|
|
207
|
+
}], ctorParameters: () => [] });
|
|
208
|
+
|
|
209
|
+
let input = ['isSelected', 'tabs', 'visible'];
|
|
210
|
+
let outputs$1 = [];
|
|
211
|
+
/**
|
|
212
|
+
* `e-ribbon-contextual-tab` directive represent a contextual tab of the Angular Ribbon.
|
|
213
|
+
* It must be contained in a Ribbon component(`ejs-ribbon`).
|
|
214
|
+
* ```html
|
|
215
|
+
* <ejs-ribbon>
|
|
216
|
+
* <e-ribbon-contextual-tabs>
|
|
217
|
+
* <e-ribbon-contextual-tab>
|
|
218
|
+
* </e-ribbon-contextual-tab>
|
|
219
|
+
* </e-ribbon-contextual-tabs>
|
|
220
|
+
* </ejs-ribbon>
|
|
221
|
+
* ```
|
|
222
|
+
*/
|
|
223
|
+
class RibbonContextualTabDirective extends ComplexBase {
|
|
224
|
+
viewContainerRef;
|
|
225
|
+
directivePropList;
|
|
226
|
+
tags = ['tabs'];
|
|
227
|
+
constructor(viewContainerRef) {
|
|
228
|
+
super();
|
|
229
|
+
this.viewContainerRef = viewContainerRef;
|
|
230
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
231
|
+
this.registerEvents(outputs$1);
|
|
232
|
+
this.directivePropList = input;
|
|
233
|
+
}
|
|
234
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonContextualTabDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
235
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonContextualTabDirective, isStandalone: true, 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 });
|
|
236
|
+
}
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonContextualTabDirective, decorators: [{
|
|
238
|
+
type: Directive,
|
|
239
|
+
args: [{
|
|
240
|
+
selector: 'e-ribbon-contextual-tab',
|
|
241
|
+
inputs: input,
|
|
242
|
+
outputs: outputs$1,
|
|
243
|
+
standalone: true,
|
|
244
|
+
queries: {
|
|
245
|
+
childTabs: new ContentChild(RibbonTabsDirective)
|
|
246
|
+
}
|
|
247
|
+
}]
|
|
248
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
249
|
+
/**
|
|
250
|
+
* RibbonContextualTab Array Directive
|
|
251
|
+
* @private
|
|
252
|
+
*/
|
|
253
|
+
class RibbonContextualTabsDirective extends ArrayBase {
|
|
254
|
+
constructor() {
|
|
255
|
+
super('contextualtabs');
|
|
256
|
+
}
|
|
257
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonContextualTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
258
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.0", type: RibbonContextualTabsDirective, isStandalone: true, selector: "e-ribbon-contextual-tabs", queries: [{ propertyName: "children", predicate: RibbonContextualTabDirective }], usesInheritance: true, ngImport: i0 });
|
|
259
|
+
}
|
|
260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonContextualTabsDirective, decorators: [{
|
|
261
|
+
type: Directive,
|
|
262
|
+
args: [{
|
|
263
|
+
selector: 'e-ribbon-contextual-tabs',
|
|
264
|
+
standalone: true,
|
|
265
|
+
queries: {
|
|
266
|
+
children: new ContentChildren(RibbonContextualTabDirective)
|
|
267
|
+
},
|
|
268
|
+
}]
|
|
269
|
+
}], ctorParameters: () => [] });
|
|
270
|
+
|
|
271
|
+
const inputs = ['activeLayout', 'backStageMenu', 'contextualTabs', 'cssClass', 'enableKeyTips', 'enablePersistence', 'enableRtl', 'fileMenu', 'helpPaneTemplate', 'hideLayoutSwitcher', 'isMinimized', 'launcherIconCss', 'layoutSwitcherKeyTip', 'locale', 'selectedTab', 'tabAnimation', 'tabs', 'width'];
|
|
272
|
+
const outputs = ['created', 'launcherIconClick', 'overflowPopupClose', 'overflowPopupOpen', 'ribbonCollapsing', 'ribbonExpanding', 'ribbonLayoutSwitched', 'tabSelected', 'tabSelecting'];
|
|
273
|
+
const twoWays = [''];
|
|
274
|
+
/**
|
|
275
|
+
* Represents the Essential JS 2 Angular Ribbon Component.
|
|
276
|
+
* ```html
|
|
277
|
+
* <ejs-ribbon></ejs-ribbon>
|
|
278
|
+
* ```
|
|
279
|
+
*/
|
|
280
|
+
let RibbonComponent = class RibbonComponent extends Ribbon {
|
|
281
|
+
ngEle;
|
|
282
|
+
srenderer;
|
|
283
|
+
viewContainerRef;
|
|
284
|
+
injector;
|
|
285
|
+
tags = ['tabs', 'contextualTabs'];
|
|
286
|
+
constructor(ngEle, srenderer, viewContainerRef, injector) {
|
|
287
|
+
super();
|
|
288
|
+
this.ngEle = ngEle;
|
|
289
|
+
this.srenderer = srenderer;
|
|
290
|
+
this.viewContainerRef = viewContainerRef;
|
|
291
|
+
this.injector = injector;
|
|
292
|
+
this.element = this.ngEle.nativeElement;
|
|
293
|
+
this.injectedModules = this.injectedModules || [];
|
|
294
|
+
try {
|
|
295
|
+
let mod = this.injector.get('RibbonRibbonButton');
|
|
296
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
297
|
+
this.injectedModules.push(mod);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
catch { }
|
|
301
|
+
try {
|
|
302
|
+
let mod = this.injector.get('RibbonRibbonDropDown');
|
|
303
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
304
|
+
this.injectedModules.push(mod);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
catch { }
|
|
308
|
+
try {
|
|
309
|
+
let mod = this.injector.get('RibbonRibbonSplitButton');
|
|
310
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
311
|
+
this.injectedModules.push(mod);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
catch { }
|
|
315
|
+
try {
|
|
316
|
+
let mod = this.injector.get('RibbonRibbonCheckBox');
|
|
317
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
318
|
+
this.injectedModules.push(mod);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
catch { }
|
|
322
|
+
try {
|
|
323
|
+
let mod = this.injector.get('RibbonRibbonColorPicker');
|
|
324
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
325
|
+
this.injectedModules.push(mod);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
catch { }
|
|
329
|
+
try {
|
|
330
|
+
let mod = this.injector.get('RibbonRibbonComboBox');
|
|
331
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
332
|
+
this.injectedModules.push(mod);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
catch { }
|
|
336
|
+
try {
|
|
337
|
+
let mod = this.injector.get('RibbonRibbonGroupButton');
|
|
338
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
339
|
+
this.injectedModules.push(mod);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
catch { }
|
|
343
|
+
try {
|
|
344
|
+
let mod = this.injector.get('RibbonRibbonFileMenu');
|
|
345
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
346
|
+
this.injectedModules.push(mod);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
catch { }
|
|
350
|
+
try {
|
|
351
|
+
let mod = this.injector.get('RibbonRibbonBackstage');
|
|
352
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
353
|
+
this.injectedModules.push(mod);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
catch { }
|
|
357
|
+
try {
|
|
358
|
+
let mod = this.injector.get('RibbonRibbonKeyTip');
|
|
359
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
360
|
+
this.injectedModules.push(mod);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
catch { }
|
|
364
|
+
try {
|
|
365
|
+
let mod = this.injector.get('RibbonRibbonContextualTab');
|
|
366
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
367
|
+
this.injectedModules.push(mod);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
catch { }
|
|
371
|
+
try {
|
|
372
|
+
let mod = this.injector.get('RibbonRibbonGallery');
|
|
373
|
+
if (this.injectedModules.indexOf(mod) === -1) {
|
|
374
|
+
this.injectedModules.push(mod);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
catch { }
|
|
378
|
+
this.registerEvents(outputs);
|
|
379
|
+
this.addTwoWay.call(this, twoWays);
|
|
380
|
+
setValue('currentInstance', this, this.viewContainerRef);
|
|
381
|
+
this.containerContext = new ComponentBase();
|
|
382
|
+
}
|
|
383
|
+
ngOnInit() {
|
|
384
|
+
this.containerContext.ngOnInit(this);
|
|
385
|
+
}
|
|
386
|
+
ngAfterViewInit() {
|
|
387
|
+
this.containerContext.ngAfterViewInit(this);
|
|
388
|
+
}
|
|
389
|
+
ngOnDestroy() {
|
|
390
|
+
this.containerContext.ngOnDestroy(this);
|
|
391
|
+
}
|
|
392
|
+
ngAfterContentChecked() {
|
|
393
|
+
this.tagObjects[0].instance = this.childTabs;
|
|
394
|
+
if (this.childContextualTabs) {
|
|
395
|
+
this.tagObjects[1].instance = this.childContextualTabs;
|
|
396
|
+
}
|
|
397
|
+
this.containerContext.ngAfterContentChecked(this);
|
|
398
|
+
}
|
|
399
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
400
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.0", type: RibbonComponent, isStandalone: true, selector: "ejs-ribbon", inputs: { activeLayout: "activeLayout", backStageMenu: "backStageMenu", contextualTabs: "contextualTabs", cssClass: "cssClass", enableKeyTips: "enableKeyTips", enablePersistence: "enablePersistence", enableRtl: "enableRtl", fileMenu: "fileMenu", helpPaneTemplate: "helpPaneTemplate", hideLayoutSwitcher: "hideLayoutSwitcher", isMinimized: "isMinimized", launcherIconCss: "launcherIconCss", layoutSwitcherKeyTip: "layoutSwitcherKeyTip", locale: "locale", selectedTab: "selectedTab", tabAnimation: "tabAnimation", tabs: "tabs", width: "width" }, outputs: { created: "created", launcherIconClick: "launcherIconClick", overflowPopupClose: "overflowPopupClose", overflowPopupOpen: "overflowPopupOpen", ribbonCollapsing: "ribbonCollapsing", ribbonExpanding: "ribbonExpanding", ribbonLayoutSwitched: "ribbonLayoutSwitched", tabSelected: "tabSelected", tabSelecting: "tabSelecting" }, queries: [{ propertyName: "childTabs", first: true, predicate: RibbonTabsDirective, descendants: true }, { propertyName: "childContextualTabs", first: true, predicate: RibbonContextualTabsDirective, descendants: true }, { propertyName: "helpPaneTemplate", first: true, predicate: ["helpPaneTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: `<ng-content select='div'></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
401
|
+
};
|
|
402
|
+
RibbonComponent = __decorate([
|
|
403
|
+
ComponentMixins([ComponentBase])
|
|
404
|
+
], RibbonComponent);
|
|
405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonComponent, decorators: [{
|
|
406
|
+
type: Component,
|
|
407
|
+
args: [{
|
|
408
|
+
selector: 'ejs-ribbon',
|
|
409
|
+
inputs: inputs,
|
|
410
|
+
outputs: outputs,
|
|
411
|
+
template: `<ng-content select='div'></ng-content>`,
|
|
412
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
413
|
+
standalone: true,
|
|
414
|
+
queries: {
|
|
415
|
+
childTabs: new ContentChild(RibbonTabsDirective),
|
|
416
|
+
childContextualTabs: new ContentChild(RibbonContextualTabsDirective),
|
|
417
|
+
helpPaneTemplate: new ContentChild('helpPaneTemplate')
|
|
418
|
+
}
|
|
419
|
+
}]
|
|
420
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }] });
|
|
421
|
+
Template()(RibbonComponent.prototype, 'helpPaneTemplate');
|
|
422
|
+
|
|
423
|
+
const RIBBON_DIRECTIVES = [
|
|
424
|
+
RibbonComponent,
|
|
425
|
+
RibbonItemDirective,
|
|
426
|
+
RibbonItemsDirective,
|
|
427
|
+
RibbonCollectionDirective,
|
|
428
|
+
RibbonCollectionsDirective,
|
|
429
|
+
RibbonGroupDirective,
|
|
430
|
+
RibbonGroupsDirective,
|
|
431
|
+
RibbonTabDirective,
|
|
432
|
+
RibbonTabsDirective,
|
|
433
|
+
RibbonContextualTabDirective,
|
|
434
|
+
RibbonContextualTabsDirective
|
|
435
|
+
];
|
|
436
|
+
/**
|
|
437
|
+
* NgModule definition for the Ribbon component.
|
|
438
|
+
* Re-exports standalone Ribbon component and directives so existing apps can keep using:
|
|
439
|
+
* `imports: [RibbonModule]`
|
|
440
|
+
*/
|
|
441
|
+
class RibbonModule {
|
|
442
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
443
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: RibbonModule, imports: [CommonModule, RibbonComponent,
|
|
444
|
+
RibbonItemDirective,
|
|
445
|
+
RibbonItemsDirective,
|
|
446
|
+
RibbonCollectionDirective,
|
|
447
|
+
RibbonCollectionsDirective,
|
|
448
|
+
RibbonGroupDirective,
|
|
449
|
+
RibbonGroupsDirective,
|
|
450
|
+
RibbonTabDirective,
|
|
451
|
+
RibbonTabsDirective,
|
|
452
|
+
RibbonContextualTabDirective,
|
|
453
|
+
RibbonContextualTabsDirective], exports: [RibbonComponent,
|
|
454
|
+
RibbonItemDirective,
|
|
455
|
+
RibbonItemsDirective,
|
|
456
|
+
RibbonCollectionDirective,
|
|
457
|
+
RibbonCollectionsDirective,
|
|
458
|
+
RibbonGroupDirective,
|
|
459
|
+
RibbonGroupsDirective,
|
|
460
|
+
RibbonTabDirective,
|
|
461
|
+
RibbonTabsDirective,
|
|
462
|
+
RibbonContextualTabDirective,
|
|
463
|
+
RibbonContextualTabsDirective] });
|
|
464
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonModule, imports: [CommonModule] });
|
|
465
|
+
}
|
|
466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonModule, decorators: [{
|
|
467
|
+
type: NgModule,
|
|
468
|
+
args: [{
|
|
469
|
+
imports: [CommonModule, ...RIBBON_DIRECTIVES],
|
|
470
|
+
exports: [...RIBBON_DIRECTIVES]
|
|
471
|
+
}]
|
|
472
|
+
}] });
|
|
473
|
+
|
|
474
|
+
const RibbonButtonService = { provide: 'RibbonRibbonButton', useValue: RibbonButton };
|
|
475
|
+
const RibbonDropDownService = { provide: 'RibbonRibbonDropDown', useValue: RibbonDropDown };
|
|
476
|
+
const RibbonSplitButtonService = { provide: 'RibbonRibbonSplitButton', useValue: RibbonSplitButton };
|
|
477
|
+
const RibbonCheckBoxService = { provide: 'RibbonRibbonCheckBox', useValue: RibbonCheckBox };
|
|
478
|
+
const RibbonColorPickerService = { provide: 'RibbonRibbonColorPicker', useValue: RibbonColorPicker };
|
|
479
|
+
const RibbonComboBoxService = { provide: 'RibbonRibbonComboBox', useValue: RibbonComboBox };
|
|
480
|
+
const RibbonGroupButtonService = { provide: 'RibbonRibbonGroupButton', useValue: RibbonGroupButton };
|
|
481
|
+
const RibbonFileMenuService = { provide: 'RibbonRibbonFileMenu', useValue: RibbonFileMenu };
|
|
482
|
+
const RibbonBackstageService = { provide: 'RibbonRibbonBackstage', useValue: RibbonBackstage };
|
|
483
|
+
const RibbonKeyTipService = { provide: 'RibbonRibbonKeyTip', useValue: RibbonKeyTip };
|
|
484
|
+
const RibbonContextualTabService = { provide: 'RibbonRibbonContextualTab', useValue: RibbonContextualTab };
|
|
485
|
+
const RibbonGalleryService = { provide: 'RibbonRibbonGallery', useValue: RibbonGallery };
|
|
486
|
+
/**
|
|
487
|
+
* NgModule definition for the Ribbon component with providers.
|
|
488
|
+
*/
|
|
489
|
+
class RibbonAllModule {
|
|
490
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
491
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.0", ngImport: i0, type: RibbonAllModule, imports: [CommonModule, RibbonModule], exports: [RibbonModule] });
|
|
492
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonAllModule, providers: [
|
|
493
|
+
RibbonButtonService,
|
|
494
|
+
RibbonDropDownService,
|
|
495
|
+
RibbonSplitButtonService,
|
|
496
|
+
RibbonCheckBoxService,
|
|
497
|
+
RibbonColorPickerService,
|
|
498
|
+
RibbonComboBoxService,
|
|
499
|
+
RibbonGroupButtonService,
|
|
500
|
+
RibbonFileMenuService,
|
|
501
|
+
RibbonBackstageService,
|
|
502
|
+
RibbonKeyTipService,
|
|
503
|
+
RibbonContextualTabService,
|
|
504
|
+
RibbonGalleryService
|
|
505
|
+
], imports: [CommonModule, RibbonModule, RibbonModule] });
|
|
506
|
+
}
|
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: RibbonAllModule, decorators: [{
|
|
508
|
+
type: NgModule,
|
|
509
|
+
args: [{
|
|
510
|
+
imports: [CommonModule, RibbonModule],
|
|
511
|
+
exports: [
|
|
512
|
+
RibbonModule
|
|
513
|
+
],
|
|
514
|
+
providers: [
|
|
515
|
+
RibbonButtonService,
|
|
516
|
+
RibbonDropDownService,
|
|
517
|
+
RibbonSplitButtonService,
|
|
518
|
+
RibbonCheckBoxService,
|
|
519
|
+
RibbonColorPickerService,
|
|
520
|
+
RibbonComboBoxService,
|
|
521
|
+
RibbonGroupButtonService,
|
|
522
|
+
RibbonFileMenuService,
|
|
523
|
+
RibbonBackstageService,
|
|
524
|
+
RibbonKeyTipService,
|
|
525
|
+
RibbonContextualTabService,
|
|
526
|
+
RibbonGalleryService
|
|
527
|
+
]
|
|
528
|
+
}]
|
|
529
|
+
}] });
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Generated bundle index. Do not edit.
|
|
533
|
+
*/
|
|
534
|
+
|
|
535
|
+
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 };
|
|
536
|
+
//# sourceMappingURL=syncfusion-ej2-angular-ribbon.mjs.map
|