@syncfusion/ej2-ribbon 22.2.12 → 23.1.38

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.
Files changed (126) hide show
  1. package/CHANGELOG.md +2 -20
  2. package/dist/ej2-ribbon.umd.min.js +3 -3
  3. package/dist/ej2-ribbon.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-ribbon.es2015.js +1814 -209
  5. package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
  6. package/dist/es6/ej2-ribbon.es5.js +1886 -160
  7. package/dist/es6/ej2-ribbon.es5.js.map +1 -1
  8. package/dist/global/ej2-ribbon.min.js +3 -3
  9. package/dist/global/ej2-ribbon.min.js.map +1 -1
  10. package/dist/global/index.d.ts +2 -2
  11. package/package.json +13 -13
  12. package/src/global.js +1 -1
  13. package/src/ribbon/base/constant.d.ts +40 -0
  14. package/src/ribbon/base/constant.js +40 -0
  15. package/src/ribbon/base/interface.d.ts +49 -2
  16. package/src/ribbon/base/interface.js +19 -1
  17. package/src/ribbon/base/ribbon-model.d.ts +25 -1
  18. package/src/ribbon/base/ribbon.d.ts +108 -3
  19. package/src/ribbon/base/ribbon.js +516 -82
  20. package/src/ribbon/items/index.d.ts +1 -0
  21. package/src/ribbon/items/index.js +1 -0
  22. package/src/ribbon/items/ribbon-button.js +3 -0
  23. package/src/ribbon/items/ribbon-colorpicker.js +1 -1
  24. package/src/ribbon/items/ribbon-dropdown.js +2 -1
  25. package/src/ribbon/items/ribbon-groupbutton.d.ts +69 -0
  26. package/src/ribbon/items/ribbon-groupbutton.js +444 -0
  27. package/src/ribbon/models/index.d.ts +10 -0
  28. package/src/ribbon/models/index.js +5 -0
  29. package/src/ribbon/models/ribbon-back-button-model.d.ts +29 -0
  30. package/src/ribbon/models/ribbon-back-button.d.ts +24 -0
  31. package/src/ribbon/models/ribbon-back-button.js +40 -0
  32. package/src/ribbon/models/ribbon-back-stage-settings-model.d.ts +76 -0
  33. package/src/ribbon/models/ribbon-back-stage-settings.d.ts +75 -0
  34. package/src/ribbon/models/ribbon-back-stage-settings.js +70 -0
  35. package/src/ribbon/models/ribbon-backstage-item-model.d.ts +62 -0
  36. package/src/ribbon/models/ribbon-backstage-item.d.ts +74 -0
  37. package/src/ribbon/models/ribbon-backstage-item.js +52 -0
  38. package/src/ribbon/models/ribbon-combobox-settings-model.d.ts +15 -0
  39. package/src/ribbon/models/ribbon-combobox-settings.d.ts +15 -0
  40. package/src/ribbon/models/ribbon-dropdown-settings-model.d.ts +7 -0
  41. package/src/ribbon/models/ribbon-dropdown-settings.d.ts +6 -0
  42. package/src/ribbon/models/ribbon-dropdown-settings.js +3 -0
  43. package/src/ribbon/models/ribbon-file-menu-settings-model.d.ts +6 -0
  44. package/src/ribbon/models/ribbon-file-menu-settings.d.ts +6 -0
  45. package/src/ribbon/models/ribbon-group-button-item-model.d.ts +50 -0
  46. package/src/ribbon/models/ribbon-group-button-item.d.ts +44 -0
  47. package/src/ribbon/models/ribbon-group-button-item.js +50 -0
  48. package/src/ribbon/models/ribbon-group-button-settings-model.d.ts +25 -0
  49. package/src/ribbon/models/ribbon-group-button-settings.d.ts +23 -0
  50. package/src/ribbon/models/ribbon-group-button-settings.js +38 -0
  51. package/src/ribbon/models/ribbon-item-model.d.ts +11 -1
  52. package/src/ribbon/models/ribbon-item.d.ts +10 -0
  53. package/src/ribbon/models/ribbon-item.js +4 -0
  54. package/src/ribbon/modules/index.d.ts +1 -0
  55. package/src/ribbon/modules/index.js +1 -0
  56. package/src/ribbon/modules/ribbon-backstage.d.ts +112 -0
  57. package/src/ribbon/modules/ribbon-backstage.js +554 -0
  58. package/styles/bootstrap-dark.css +511 -8
  59. package/styles/bootstrap.css +511 -8
  60. package/styles/bootstrap4.css +511 -8
  61. package/styles/bootstrap5-dark.css +511 -8
  62. package/styles/bootstrap5.css +511 -8
  63. package/styles/fabric-dark.css +511 -8
  64. package/styles/fabric.css +511 -8
  65. package/styles/fluent-dark.css +511 -8
  66. package/styles/fluent.css +511 -8
  67. package/styles/highcontrast-light.css +511 -8
  68. package/styles/highcontrast.css +511 -8
  69. package/styles/material-dark.css +511 -9
  70. package/styles/material.css +512 -9
  71. package/styles/material3-dark.css +511 -9
  72. package/styles/material3-dark.scss +1 -1
  73. package/styles/material3.css +511 -9
  74. package/styles/material3.scss +1 -1
  75. package/styles/ribbon/_bootstrap-dark-definition.scss +65 -0
  76. package/styles/ribbon/_bootstrap-definition.scss +65 -0
  77. package/styles/ribbon/_bootstrap4-definition.scss +65 -0
  78. package/styles/ribbon/_bootstrap5-definition.scss +65 -0
  79. package/styles/ribbon/_fabric-dark-definition.scss +65 -0
  80. package/styles/ribbon/_fabric-definition.scss +65 -0
  81. package/styles/ribbon/_fluent-definition.scss +65 -0
  82. package/styles/ribbon/_fusionnew-definition.scss +65 -0
  83. package/styles/ribbon/_highcontrast-definition.scss +65 -0
  84. package/styles/ribbon/_highcontrast-light-definition.scss +65 -0
  85. package/styles/ribbon/_layout.scss +280 -5
  86. package/styles/ribbon/_material-dark-definition.scss +65 -0
  87. package/styles/ribbon/_material-definition.scss +65 -0
  88. package/styles/ribbon/_material3-definition.scss +66 -0
  89. package/styles/ribbon/_tailwind-definition.scss +65 -0
  90. package/styles/ribbon/_theme.scss +144 -1
  91. package/styles/ribbon/bootstrap-dark.css +511 -8
  92. package/styles/ribbon/bootstrap-dark.scss +1 -1
  93. package/styles/ribbon/bootstrap.css +511 -8
  94. package/styles/ribbon/bootstrap.scss +1 -1
  95. package/styles/ribbon/bootstrap4.css +511 -8
  96. package/styles/ribbon/bootstrap4.scss +1 -1
  97. package/styles/ribbon/bootstrap5-dark.css +511 -8
  98. package/styles/ribbon/bootstrap5-dark.scss +1 -1
  99. package/styles/ribbon/bootstrap5.css +511 -8
  100. package/styles/ribbon/bootstrap5.scss +1 -1
  101. package/styles/ribbon/fabric-dark.css +511 -8
  102. package/styles/ribbon/fabric-dark.scss +1 -1
  103. package/styles/ribbon/fabric.css +511 -8
  104. package/styles/ribbon/fabric.scss +1 -1
  105. package/styles/ribbon/fluent-dark.css +511 -8
  106. package/styles/ribbon/fluent-dark.scss +1 -1
  107. package/styles/ribbon/fluent.css +511 -8
  108. package/styles/ribbon/fluent.scss +1 -1
  109. package/styles/ribbon/highcontrast-light.css +511 -8
  110. package/styles/ribbon/highcontrast-light.scss +1 -1
  111. package/styles/ribbon/highcontrast.css +511 -8
  112. package/styles/ribbon/highcontrast.scss +1 -1
  113. package/styles/ribbon/material-dark.css +511 -9
  114. package/styles/ribbon/material-dark.scss +1 -1
  115. package/styles/ribbon/material.css +512 -9
  116. package/styles/ribbon/material.scss +1 -1
  117. package/styles/ribbon/material3-dark.css +511 -9
  118. package/styles/ribbon/material3-dark.scss +1 -1
  119. package/styles/ribbon/material3.css +511 -9
  120. package/styles/ribbon/material3.scss +1 -1
  121. package/styles/ribbon/tailwind-dark.css +511 -9
  122. package/styles/ribbon/tailwind-dark.scss +1 -1
  123. package/styles/ribbon/tailwind.css +511 -9
  124. package/styles/ribbon/tailwind.scss +1 -1
  125. package/styles/tailwind-dark.css +511 -9
  126. package/styles/tailwind.css +511 -9
@@ -0,0 +1,44 @@
1
+ import { ChildProperty, EmitType } from '@syncfusion/ej2-base';
2
+ import { BeforeClickGroupButtonEventArgs, ClickGroupButtonEventArgs } from '../base/interface';
3
+ import { RibbonTooltipModel } from './ribbon-tooltip-model';
4
+ /**
5
+ * Defines the ribbon group button settings.
6
+ */
7
+ export declare class RibbonGroupButtonItem extends ChildProperty<RibbonGroupButtonItem> {
8
+ /**
9
+ * Defines the content for the button.
10
+ *
11
+ * @default ''
12
+ */
13
+ content: string;
14
+ /**
15
+ * Defines the CSS class for the icons to be shown in button.
16
+ *
17
+ * @default ''
18
+ */
19
+ iconCss: string;
20
+ /**
21
+ * Specifies the tooltip settings for the group button items.
22
+ *
23
+ * @default {}
24
+ */
25
+ ribbonTooltipSettings: RibbonTooltipModel;
26
+ /**
27
+ * Defines whether the button is selected or not.
28
+ *
29
+ * @default false
30
+ */
31
+ selected: boolean;
32
+ /**
33
+ * Triggers before clicking the button from group button.
34
+ *
35
+ * @event beforeClick
36
+ */
37
+ beforeClick: EmitType<BeforeClickGroupButtonEventArgs>;
38
+ /**
39
+ * Triggers after clicking the button from group button.
40
+ *
41
+ * @event click
42
+ */
43
+ click: EmitType<ClickGroupButtonEventArgs>;
44
+ }
@@ -0,0 +1,50 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ import { ChildProperty, Event, Property, Complex } from '@syncfusion/ej2-base';
21
+ import { RibbonTooltip } from './ribbon-tooltip';
22
+ /**
23
+ * Defines the ribbon group button settings.
24
+ */
25
+ var RibbonGroupButtonItem = /** @class */ (function (_super) {
26
+ __extends(RibbonGroupButtonItem, _super);
27
+ function RibbonGroupButtonItem() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ Property('')
32
+ ], RibbonGroupButtonItem.prototype, "content", void 0);
33
+ __decorate([
34
+ Property('')
35
+ ], RibbonGroupButtonItem.prototype, "iconCss", void 0);
36
+ __decorate([
37
+ Complex({}, RibbonTooltip)
38
+ ], RibbonGroupButtonItem.prototype, "ribbonTooltipSettings", void 0);
39
+ __decorate([
40
+ Property(false)
41
+ ], RibbonGroupButtonItem.prototype, "selected", void 0);
42
+ __decorate([
43
+ Event()
44
+ ], RibbonGroupButtonItem.prototype, "beforeClick", void 0);
45
+ __decorate([
46
+ Event()
47
+ ], RibbonGroupButtonItem.prototype, "click", void 0);
48
+ return RibbonGroupButtonItem;
49
+ }(ChildProperty));
50
+ export { RibbonGroupButtonItem };
@@ -0,0 +1,25 @@
1
+ import { ChildProperty, Collection, Property } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Interface for a class RibbonGroupButtonSettings
5
+ */
6
+ export interface RibbonGroupButtonSettingsModel {
7
+
8
+ /**
9
+ * Defines options for Selection Type.
10
+ *
11
+ * @isenumeration true
12
+ * @default 'Single'
13
+ * @asptype RibbonGroupButtonSelection
14
+ */
15
+ selection?: RibbonGroupButtonSelection;
16
+
17
+ /**
18
+ * Defines the properties for collection of button items in Ribbon group button.
19
+ *
20
+ * @default []
21
+ * @aspType List<RibbonGroupButtonItem>
22
+ */
23
+ items?: RibbonGroupButtonItemModel[];
24
+
25
+ }
@@ -0,0 +1,23 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { RibbonGroupButtonSelection } from '../base/interface';
3
+ import { RibbonGroupButtonItemModel } from './ribbon-group-button-item-model';
4
+ /**
5
+ * Defines the ribbon group button settings.
6
+ */
7
+ export declare class RibbonGroupButtonSettings extends ChildProperty<RibbonGroupButtonSettings> {
8
+ /**
9
+ * Defines options for Selection Type.
10
+ *
11
+ * @isenumeration true
12
+ * @default 'Single'
13
+ * @asptype RibbonGroupButtonSelection
14
+ */
15
+ selection: RibbonGroupButtonSelection;
16
+ /**
17
+ * Defines the properties for collection of button items in Ribbon group button.
18
+ *
19
+ * @default []
20
+ * @aspType List<RibbonGroupButtonItem>
21
+ */
22
+ items: RibbonGroupButtonItemModel[];
23
+ }
@@ -0,0 +1,38 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
+ import { ChildProperty, Collection, Property } from '@syncfusion/ej2-base';
21
+ import { RibbonGroupButtonItem } from './ribbon-group-button-item';
22
+ /**
23
+ * Defines the ribbon group button settings.
24
+ */
25
+ var RibbonGroupButtonSettings = /** @class */ (function (_super) {
26
+ __extends(RibbonGroupButtonSettings, _super);
27
+ function RibbonGroupButtonSettings() {
28
+ return _super !== null && _super.apply(this, arguments) || this;
29
+ }
30
+ __decorate([
31
+ Property('Single')
32
+ ], RibbonGroupButtonSettings.prototype, "selection", void 0);
33
+ __decorate([
34
+ Collection([], RibbonGroupButtonItem)
35
+ ], RibbonGroupButtonSettings.prototype, "items", void 0);
36
+ return RibbonGroupButtonSettings;
37
+ }(ChildProperty));
38
+ export { RibbonGroupButtonSettings };
@@ -1,4 +1,4 @@
1
- import { ChildProperty, Complex, Property } from '@syncfusion/ej2-base';import { RibbonItemType, RibbonItemSize, DisplayMode } from '../base/interface';import { RibbonButtonSettings } from './ribbon-button-settings';import { RibbonButtonSettingsModel } from './ribbon-button-settings-model';import { RibbonCheckBoxSettings } from './ribbon-checkbox-settings';import { RibbonCheckBoxSettingsModel } from './ribbon-checkbox-settings-model';import { RibbonColorPickerSettings } from './ribbon-colorpicker-settings';import { RibbonColorPickerSettingsModel } from './ribbon-colorpicker-settings-model';import { RibbonComboBoxSettings } from './ribbon-combobox-settings';import { RibbonComboBoxSettingsModel } from './ribbon-combobox-settings-model';import { RibbonDropDownSettings } from './ribbon-dropdown-settings';import { RibbonDropDownSettingsModel } from './ribbon-dropdown-settings-model';import { RibbonSplitButtonSettings } from './ribbon-splitbutton-settings';import { RibbonSplitButtonSettingsModel } from './ribbon-splitbutton-settings-model';import { RibbonTooltip } from './ribbon-tooltip';import { RibbonTooltipModel } from './ribbon-tooltip-model';
1
+ import { ChildProperty, Complex, Property } from '@syncfusion/ej2-base';import { RibbonItemType, RibbonItemSize, DisplayMode } from '../base/interface';import { RibbonButtonSettings } from './ribbon-button-settings';import { RibbonButtonSettingsModel } from './ribbon-button-settings-model';import { RibbonCheckBoxSettings } from './ribbon-checkbox-settings';import { RibbonCheckBoxSettingsModel } from './ribbon-checkbox-settings-model';import { RibbonColorPickerSettings } from './ribbon-colorpicker-settings';import { RibbonColorPickerSettingsModel } from './ribbon-colorpicker-settings-model';import { RibbonComboBoxSettings } from './ribbon-combobox-settings';import { RibbonComboBoxSettingsModel } from './ribbon-combobox-settings-model';import { RibbonDropDownSettings } from './ribbon-dropdown-settings';import { RibbonDropDownSettingsModel } from './ribbon-dropdown-settings-model';import { RibbonSplitButtonSettings } from './ribbon-splitbutton-settings';import { RibbonSplitButtonSettingsModel } from './ribbon-splitbutton-settings-model';import { RibbonTooltip } from './ribbon-tooltip';import { RibbonTooltipModel } from './ribbon-tooltip-model';import { RibbonGroupButtonSettingsModel } from './ribbon-group-button-settings-model';import { RibbonGroupButtonSettings } from './ribbon-group-button-settings';
2
2
 
3
3
  /**
4
4
  * Interface for a class RibbonItem
@@ -47,6 +47,9 @@ export interface RibbonItemModel {
47
47
  * `ActiveSize` property is passed as string in template context.
48
48
  *
49
49
  * @default ''
50
+ * @angularType string | object | HTMLElement
51
+ * @reactType string | function | JSX.Element | HTMLElement
52
+ * @vueType string | function | HTMLElement
50
53
  * @aspType string
51
54
  */
52
55
  itemTemplate?: string | HTMLElement | Function;
@@ -117,4 +120,11 @@ export interface RibbonItemModel {
117
120
  */
118
121
  splitButtonSettings?: RibbonSplitButtonSettingsModel;
119
122
 
123
+ /**
124
+ * Defines the properties for group button in Ribbon
125
+ *
126
+ * @default {}
127
+ */
128
+ groupButtonSettings?: RibbonGroupButtonSettingsModel;
129
+
120
130
  }
@@ -7,6 +7,7 @@ import { RibbonComboBoxSettingsModel } from './ribbon-combobox-settings-model';
7
7
  import { RibbonDropDownSettingsModel } from './ribbon-dropdown-settings-model';
8
8
  import { RibbonSplitButtonSettingsModel } from './ribbon-splitbutton-settings-model';
9
9
  import { RibbonTooltipModel } from './ribbon-tooltip-model';
10
+ import { RibbonGroupButtonSettingsModel } from './ribbon-group-button-settings-model';
10
11
  /**
11
12
  * Defines the ribbon item.
12
13
  */
@@ -48,6 +49,9 @@ export declare class RibbonItem extends ChildProperty<RibbonItem> {
48
49
  * `ActiveSize` property is passed as string in template context.
49
50
  *
50
51
  * @default ''
52
+ * @angularType string | object | HTMLElement
53
+ * @reactType string | function | JSX.Element | HTMLElement
54
+ * @vueType string | function | HTMLElement
51
55
  * @aspType string
52
56
  */
53
57
  itemTemplate: string | HTMLElement | Function;
@@ -108,6 +112,12 @@ export declare class RibbonItem extends ChildProperty<RibbonItem> {
108
112
  * @default {}
109
113
  */
110
114
  splitButtonSettings: RibbonSplitButtonSettingsModel;
115
+ /**
116
+ * Defines the properties for group button in Ribbon
117
+ *
118
+ * @default {}
119
+ */
120
+ groupButtonSettings: RibbonGroupButtonSettingsModel;
111
121
  /**
112
122
  * @param {Object} prop - Gets the property of item.
113
123
  * @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
@@ -26,6 +26,7 @@ import { RibbonComboBoxSettings } from './ribbon-combobox-settings';
26
26
  import { RibbonDropDownSettings } from './ribbon-dropdown-settings';
27
27
  import { RibbonSplitButtonSettings } from './ribbon-splitbutton-settings';
28
28
  import { RibbonTooltip } from './ribbon-tooltip';
29
+ import { RibbonGroupButtonSettings } from './ribbon-group-button-settings';
29
30
  /**
30
31
  * Defines the ribbon item.
31
32
  */
@@ -88,6 +89,9 @@ var RibbonItem = /** @class */ (function (_super) {
88
89
  __decorate([
89
90
  Complex({}, RibbonSplitButtonSettings)
90
91
  ], RibbonItem.prototype, "splitButtonSettings", void 0);
92
+ __decorate([
93
+ Complex({}, RibbonGroupButtonSettings)
94
+ ], RibbonItem.prototype, "groupButtonSettings", void 0);
91
95
  return RibbonItem;
92
96
  }(ChildProperty));
93
97
  export { RibbonItem };
@@ -1 +1,2 @@
1
1
  export * from './ribbon-filemenu';
2
+ export * from './ribbon-backstage';
@@ -1 +1,2 @@
1
1
  export * from './ribbon-filemenu';
2
+ export * from './ribbon-backstage';
@@ -0,0 +1,112 @@
1
+ import { Component } from '@syncfusion/ej2-base';
2
+ import { BackStageMenuModel, BackstageItemModel } from '../models/index';
3
+ import { commonProperties, Ribbon } from '../base/index';
4
+ /**
5
+ * Defines the items of Ribbon.
6
+ */
7
+ export declare class RibbonBackstage extends Component<HTMLElement> {
8
+ private parent;
9
+ private backstageButton;
10
+ private popupEle;
11
+ private menuCtrl;
12
+ private footerMenuCtrl;
13
+ private backstageButtonEle;
14
+ private closeBtn;
15
+ private popupHTMLElement;
16
+ private backstageContentEle;
17
+ private ulMenuElem;
18
+ private isBackButtonClicked;
19
+ private menuWrapper;
20
+ private contentItem;
21
+ private backstageTempEle;
22
+ private itemsWrapperEle;
23
+ constructor(parent: Ribbon);
24
+ /**
25
+ * @private
26
+ * @returns {void}
27
+ */
28
+ protected render(): void;
29
+ /**
30
+ * @private
31
+ * @returns {void}
32
+ */
33
+ protected preRender(): void;
34
+ protected getPersistData(): string;
35
+ /**
36
+ * This method is abstract member of the Component<HTMLElement>.
37
+ *
38
+ * @private
39
+ * @returns {void}
40
+ */
41
+ protected onPropertyChanged(): void;
42
+ protected getModuleName(): string;
43
+ protected destroy(): void;
44
+ /**
45
+ * Creates Backstage Menu
46
+ *
47
+ * @param {BackStageMenuModel} backStageOptions - Gets the property of backstage.
48
+ * @returns {void}
49
+ * @hidden
50
+ */
51
+ createBackStage(backStageOptions: BackStageMenuModel): void;
52
+ private onClickEvent;
53
+ private addBackStageMenuTooltip;
54
+ private checkMenuItems;
55
+ private createBackStagePopup;
56
+ private updatePopupPositionOnRtl;
57
+ private createBackstageMenu;
58
+ private cloneMenuItem;
59
+ private cloneFooterMenuItem;
60
+ private createBackStageContent;
61
+ private createBackStageTemplate;
62
+ private menuSelect;
63
+ /**
64
+ * setRtl
65
+ *
66
+ * @param {commonProperties} commonProp - Get the common property of ribbon.
67
+ * @returns {void}
68
+ * @hidden
69
+ */
70
+ setCommonProperties(commonProp: commonProperties): void;
71
+ /**
72
+ * Update Backstage menu
73
+ *
74
+ * @param {BackStageMenuModel} backStageOptions - Gets the property of backstage menu.
75
+ * @returns {void}
76
+ * @hidden
77
+ */
78
+ updateBackStageMenu(backStageOptions: BackStageMenuModel): void;
79
+ private destroyMenu;
80
+ private destroyDDB;
81
+ private removeBackstageMenuTooltip;
82
+ /**
83
+ * Add items to Backstage Menu.
84
+ *
85
+ * @param {BackstageItemModel[]} items - Gets the items to be added.
86
+ * @param {string} target - Gets the target item to add the items.
87
+ * @param {boolean} isAfter - Gets the boolean value to add the items after or before the target item.
88
+ * @param {boolean} isUniqueId - Gets whether the target provided is uniqueId or not.
89
+ * @returns {void}
90
+ */
91
+ addBackstageItems(items: BackstageItemModel[], target: string, isAfter: boolean, isUniqueId?: boolean): void;
92
+ /**
93
+ * Remove items from Backstage Menu.
94
+ *
95
+ * @param {string[]} items - Gets the items to be removed.
96
+ * @param {boolean} isUniqueId - Gets whether the target provided is uniqueId or not.
97
+ * @returns {void}
98
+ */
99
+ removeBackstageItems(items: string[], isUniqueId?: boolean): void;
100
+ /**
101
+ * Renders the backstage dynamically.
102
+ *
103
+ * @returns {void}
104
+ */
105
+ showBackstage(): void;
106
+ /**
107
+ * Hides the backstage dynamically.
108
+ *
109
+ * @returns {void}
110
+ */
111
+ hideBackstage(): void;
112
+ }