@syncfusion/ej2-ribbon 21.1.35
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/.eslintrc.json +259 -0
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +60 -0
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +37 -0
- package/CHANGELOG.md +19 -0
- package/README.md +3 -0
- package/dist/ej2-ribbon.umd.min.js +11 -0
- package/dist/ej2-ribbon.umd.min.js.map +1 -0
- package/dist/es6/ej2-ribbon.es2015.js +4946 -0
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -0
- package/dist/es6/ej2-ribbon.es5.js +5253 -0
- package/dist/es6/ej2-ribbon.es5.js.map +1 -0
- package/dist/global/ej2-ribbon.min.js +11 -0
- package/dist/global/ej2-ribbon.min.js.map +1 -0
- package/dist/global/index.d.ts +14 -0
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/license +10 -0
- package/package.json +67 -0
- package/ribbon.d.ts +4 -0
- package/ribbon.js +4 -0
- package/src/global.js +3 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +3 -0
- package/src/ribbon/base/constant.d.ts +151 -0
- package/src/ribbon/base/constant.js +151 -0
- package/src/ribbon/base/index.d.ts +8 -0
- package/src/ribbon/base/index.js +7 -0
- package/src/ribbon/base/interface.d.ts +194 -0
- package/src/ribbon/base/interface.js +106 -0
- package/src/ribbon/base/ribbon-model.d.ts +129 -0
- package/src/ribbon/base/ribbon.d.ts +357 -0
- package/src/ribbon/base/ribbon.js +2413 -0
- package/src/ribbon/base/utils.d.ts +113 -0
- package/src/ribbon/base/utils.js +288 -0
- package/src/ribbon/index.d.ts +7 -0
- package/src/ribbon/index.js +7 -0
- package/src/ribbon/items/index.d.ts +6 -0
- package/src/ribbon/items/index.js +6 -0
- package/src/ribbon/items/ribbon-button.d.ts +65 -0
- package/src/ribbon/items/ribbon-button.js +153 -0
- package/src/ribbon/items/ribbon-checkbox.d.ts +56 -0
- package/src/ribbon/items/ribbon-checkbox.js +134 -0
- package/src/ribbon/items/ribbon-colorpicker.d.ts +66 -0
- package/src/ribbon/items/ribbon-colorpicker.js +163 -0
- package/src/ribbon/items/ribbon-combobox.d.ts +78 -0
- package/src/ribbon/items/ribbon-combobox.js +185 -0
- package/src/ribbon/items/ribbon-dropdown.d.ts +123 -0
- package/src/ribbon/items/ribbon-dropdown.js +268 -0
- package/src/ribbon/items/ribbon-splitbutton.d.ts +86 -0
- package/src/ribbon/items/ribbon-splitbutton.js +227 -0
- package/src/ribbon/models/index.d.ts +24 -0
- package/src/ribbon/models/index.js +13 -0
- package/src/ribbon/models/ribbon-button-settings-model.d.ts +57 -0
- package/src/ribbon/models/ribbon-button-settings.d.ts +55 -0
- package/src/ribbon/models/ribbon-button-settings.js +61 -0
- package/src/ribbon/models/ribbon-checkbox-settings-model.d.ts +50 -0
- package/src/ribbon/models/ribbon-checkbox-settings.d.ts +50 -0
- package/src/ribbon/models/ribbon-checkbox-settings.js +58 -0
- package/src/ribbon/models/ribbon-collection-model.d.ts +30 -0
- package/src/ribbon/models/ribbon-collection.d.ts +33 -0
- package/src/ribbon/models/ribbon-collection.js +50 -0
- package/src/ribbon/models/ribbon-colorpicker-settings-model.d.ts +123 -0
- package/src/ribbon/models/ribbon-colorpicker-settings.d.ts +115 -0
- package/src/ribbon/models/ribbon-colorpicker-settings.js +88 -0
- package/src/ribbon/models/ribbon-combobox-settings-model.d.ts +241 -0
- package/src/ribbon/models/ribbon-combobox-settings.d.ts +223 -0
- package/src/ribbon/models/ribbon-combobox-settings.js +122 -0
- package/src/ribbon/models/ribbon-dropdown-settings-model.d.ts +100 -0
- package/src/ribbon/models/ribbon-dropdown-settings.d.ts +93 -0
- package/src/ribbon/models/ribbon-dropdown-settings.js +80 -0
- package/src/ribbon/models/ribbon-file-menu-settings-model.d.ts +108 -0
- package/src/ribbon/models/ribbon-file-menu-settings.d.ts +159 -0
- package/src/ribbon/models/ribbon-file-menu-settings.js +84 -0
- package/src/ribbon/models/ribbon-group-model.d.ts +91 -0
- package/src/ribbon/models/ribbon-group.d.ts +87 -0
- package/src/ribbon/models/ribbon-group.js +74 -0
- package/src/ribbon/models/ribbon-item-model.d.ts +120 -0
- package/src/ribbon/models/ribbon-item.d.ts +118 -0
- package/src/ribbon/models/ribbon-item.js +93 -0
- package/src/ribbon/models/ribbon-splitbutton-settings-model.d.ts +107 -0
- package/src/ribbon/models/ribbon-splitbutton-settings.d.ts +99 -0
- package/src/ribbon/models/ribbon-splitbutton-settings.js +83 -0
- package/src/ribbon/models/ribbon-tab-model.d.ts +37 -0
- package/src/ribbon/models/ribbon-tab.d.ts +39 -0
- package/src/ribbon/models/ribbon-tab.js +53 -0
- package/src/ribbon/models/ribbon-tooltip-model.d.ts +43 -0
- package/src/ribbon/models/ribbon-tooltip.d.ts +36 -0
- package/src/ribbon/models/ribbon-tooltip.js +46 -0
- package/src/ribbon/modules/index.d.ts +1 -0
- package/src/ribbon/modules/index.js +1 -0
- package/src/ribbon/modules/ribbon-filemenu.d.ts +94 -0
- package/src/ribbon/modules/ribbon-filemenu.js +318 -0
- package/styles/bootstrap-dark.css +1502 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +1507 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +1557 -0
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +1586 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +1586 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark.css +1478 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +1476 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +1562 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +1562 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +1485 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +1494 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +1548 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +1581 -0
- package/styles/material.scss +1 -0
- package/styles/ribbon/_all.scss +2 -0
- package/styles/ribbon/_bootstrap-dark-definition.scss +206 -0
- package/styles/ribbon/_bootstrap-definition.scss +206 -0
- package/styles/ribbon/_bootstrap4-definition.scss +206 -0
- package/styles/ribbon/_bootstrap5-dark-definition.scss +1 -0
- package/styles/ribbon/_bootstrap5-definition.scss +206 -0
- package/styles/ribbon/_fabric-dark-definition.scss +206 -0
- package/styles/ribbon/_fabric-definition.scss +206 -0
- package/styles/ribbon/_fluent-dark-definition.scss +1 -0
- package/styles/ribbon/_fluent-definition.scss +206 -0
- package/styles/ribbon/_fusionnew-definition.scss +206 -0
- package/styles/ribbon/_highcontrast-definition.scss +206 -0
- package/styles/ribbon/_highcontrast-light-definition.scss +206 -0
- package/styles/ribbon/_layout.scss +1040 -0
- package/styles/ribbon/_material-dark-definition.scss +206 -0
- package/styles/ribbon/_material-definition.scss +206 -0
- package/styles/ribbon/_tailwind-dark-definition.scss +1 -0
- package/styles/ribbon/_tailwind-definition.scss +206 -0
- package/styles/ribbon/_theme.scss +343 -0
- package/styles/ribbon/bootstrap-dark.css +1502 -0
- package/styles/ribbon/bootstrap-dark.scss +17 -0
- package/styles/ribbon/bootstrap.css +1507 -0
- package/styles/ribbon/bootstrap.scss +17 -0
- package/styles/ribbon/bootstrap4.css +1557 -0
- package/styles/ribbon/bootstrap4.scss +17 -0
- package/styles/ribbon/bootstrap5-dark.css +1586 -0
- package/styles/ribbon/bootstrap5-dark.scss +17 -0
- package/styles/ribbon/bootstrap5.css +1586 -0
- package/styles/ribbon/bootstrap5.scss +17 -0
- package/styles/ribbon/fabric-dark.css +1478 -0
- package/styles/ribbon/fabric-dark.scss +17 -0
- package/styles/ribbon/fabric.css +1476 -0
- package/styles/ribbon/fabric.scss +17 -0
- package/styles/ribbon/fluent-dark.css +1562 -0
- package/styles/ribbon/fluent-dark.scss +17 -0
- package/styles/ribbon/fluent.css +1562 -0
- package/styles/ribbon/fluent.scss +17 -0
- package/styles/ribbon/highcontrast-light.css +1485 -0
- package/styles/ribbon/highcontrast-light.scss +16 -0
- package/styles/ribbon/highcontrast.css +1494 -0
- package/styles/ribbon/highcontrast.scss +17 -0
- package/styles/ribbon/icons/_bootstrap-dark.scss +9 -0
- package/styles/ribbon/icons/_bootstrap.scss +9 -0
- package/styles/ribbon/icons/_bootstrap4.scss +9 -0
- package/styles/ribbon/icons/_bootstrap5-dark.scss +1 -0
- package/styles/ribbon/icons/_bootstrap5.scss +9 -0
- package/styles/ribbon/icons/_fabric-dark.scss +9 -0
- package/styles/ribbon/icons/_fabric.scss +9 -0
- package/styles/ribbon/icons/_fluent-dark.scss +1 -0
- package/styles/ribbon/icons/_fluent.scss +9 -0
- package/styles/ribbon/icons/_fusionnew.scss +9 -0
- package/styles/ribbon/icons/_highcontrast.scss +9 -0
- package/styles/ribbon/icons/_material-dark.scss +9 -0
- package/styles/ribbon/icons/_material.scss +9 -0
- package/styles/ribbon/icons/_material3.scss +9 -0
- package/styles/ribbon/icons/_tailwind-dark.scss +9 -0
- package/styles/ribbon/icons/_tailwind.scss +9 -0
- package/styles/ribbon/material-dark.css +1548 -0
- package/styles/ribbon/material-dark.scss +17 -0
- package/styles/ribbon/material.css +1581 -0
- package/styles/ribbon/material.scss +17 -0
- package/styles/ribbon/tailwind-dark.css +1560 -0
- package/styles/ribbon/tailwind-dark.scss +17 -0
- package/styles/ribbon/tailwind.css +1560 -0
- package/styles/ribbon/tailwind.scss +17 -0
- package/styles/tailwind-dark.css +1560 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +1560 -0
- package/styles/tailwind.scss +1 -0
- package/tslint.json +111 -0
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { EventHandler, getComponent, merge } from '@syncfusion/ej2-base';
|
|
2
|
+
import { SplitButton } from '@syncfusion/ej2-splitbuttons';
|
|
3
|
+
import { getItem, getItemElement, RibbonItemSize } from '../base/index';
|
|
4
|
+
import { ITEM_VERTICAL_CENTER, RIBBON_CONTROL, RIBBON_HOVER, RIBBON_POPUP_CONTROL, RIBBON_POPUP_OPEN, SPACE, VERTICAL_DDB } from '../base/constant';
|
|
5
|
+
/**
|
|
6
|
+
* Defines the items of Ribbon.
|
|
7
|
+
*/
|
|
8
|
+
var RibbonSplitButton = /** @class */ (function () {
|
|
9
|
+
function RibbonSplitButton(parent) {
|
|
10
|
+
this.parent = parent;
|
|
11
|
+
}
|
|
12
|
+
RibbonSplitButton.prototype.getModuleName = function () {
|
|
13
|
+
return 'ribbonSplitButton';
|
|
14
|
+
};
|
|
15
|
+
RibbonSplitButton.prototype.destroy = function () {
|
|
16
|
+
this.parent = null;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Creates SplitButton.
|
|
20
|
+
*
|
|
21
|
+
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
22
|
+
* @param {HTMLElement} itemEle - Gets the ribbon item element.
|
|
23
|
+
* @returns {void}
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
RibbonSplitButton.prototype.createSplitButton = function (item, itemEle) {
|
|
27
|
+
var _this = this;
|
|
28
|
+
var buttonEle = this.parent.createElement('button', {
|
|
29
|
+
id: item.id
|
|
30
|
+
});
|
|
31
|
+
itemEle.appendChild(buttonEle);
|
|
32
|
+
var splitButtonSettings = item.splitButtonSettings;
|
|
33
|
+
var cssClass = (ITEM_VERTICAL_CENTER + SPACE + RIBBON_CONTROL + SPACE + (splitButtonSettings.cssClass ?
|
|
34
|
+
splitButtonSettings.cssClass : '')).trim();
|
|
35
|
+
var splitbutton = new SplitButton({
|
|
36
|
+
locale: this.parent.locale,
|
|
37
|
+
enableRtl: this.parent.enableRtl,
|
|
38
|
+
enablePersistence: this.parent.enablePersistence,
|
|
39
|
+
iconPosition: item.activeSize === RibbonItemSize.Large ? 'Top' : 'Left',
|
|
40
|
+
closeActionEvents: splitButtonSettings.closeActionEvents,
|
|
41
|
+
cssClass: cssClass + ((item.activeSize === RibbonItemSize.Large) ? (SPACE + VERTICAL_DDB) : ''),
|
|
42
|
+
disabled: item.disabled,
|
|
43
|
+
iconCss: splitButtonSettings.iconCss,
|
|
44
|
+
items: splitButtonSettings.items,
|
|
45
|
+
target: splitButtonSettings.target,
|
|
46
|
+
beforeClose: splitButtonSettings.beforeClose,
|
|
47
|
+
beforeItemRender: splitButtonSettings.beforeItemRender,
|
|
48
|
+
beforeOpen: splitButtonSettings.beforeOpen,
|
|
49
|
+
close: function () {
|
|
50
|
+
splitbutton['wrapper'].classList.remove(RIBBON_POPUP_OPEN);
|
|
51
|
+
if (splitButtonSettings.close) {
|
|
52
|
+
splitButtonSettings.close.call(_this);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
created: splitButtonSettings.created,
|
|
56
|
+
open: function () {
|
|
57
|
+
splitbutton['wrapper'].classList.add(RIBBON_POPUP_OPEN);
|
|
58
|
+
if (splitButtonSettings.open) {
|
|
59
|
+
splitButtonSettings.open.call(_this);
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
select: splitButtonSettings.select,
|
|
63
|
+
click: function (e) {
|
|
64
|
+
if (splitButtonSettings.click) {
|
|
65
|
+
splitButtonSettings.click.call(_this, e);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}, buttonEle);
|
|
69
|
+
this.setContent(item, splitbutton);
|
|
70
|
+
var wrapper = splitbutton['wrapper'];
|
|
71
|
+
EventHandler.add(wrapper, 'mouseenter', function () { wrapper.classList.add(RIBBON_HOVER); }, this);
|
|
72
|
+
EventHandler.add(wrapper, 'mouseleave', function () { wrapper.classList.remove(RIBBON_HOVER); }, this);
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Adds the additional event handlers as the item moved into overflow popup.
|
|
76
|
+
*
|
|
77
|
+
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
78
|
+
* @param {HTMLElement} itemEle - Gets the ribbon item element.
|
|
79
|
+
* @param {DropDownButton} overflowButton - Gets the overflow button.
|
|
80
|
+
* @returns {void}
|
|
81
|
+
* @hidden
|
|
82
|
+
*/
|
|
83
|
+
RibbonSplitButton.prototype.addOverFlowEvents = function (item, itemEle, overflowButton) {
|
|
84
|
+
var _this = this;
|
|
85
|
+
var splitButtonEle = itemEle.querySelector('#' + item.id);
|
|
86
|
+
var splitbutton = getComponent(splitButtonEle, SplitButton);
|
|
87
|
+
splitbutton.cssClass = splitbutton.cssClass + SPACE + RIBBON_POPUP_CONTROL;
|
|
88
|
+
splitbutton.dataBind();
|
|
89
|
+
splitbutton.click = function (e) {
|
|
90
|
+
if (item.splitButtonSettings.click) {
|
|
91
|
+
item.splitButtonSettings.click.call(_this, e);
|
|
92
|
+
}
|
|
93
|
+
overflowButton.toggle();
|
|
94
|
+
};
|
|
95
|
+
splitbutton.close = function (e) {
|
|
96
|
+
if (item.splitButtonSettings.close) {
|
|
97
|
+
item.splitButtonSettings.close.call(_this, e);
|
|
98
|
+
}
|
|
99
|
+
splitbutton['wrapper'].classList.remove(RIBBON_POPUP_OPEN);
|
|
100
|
+
overflowButton.toggle();
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Removes the additional event handlers as the item moved from overflow popup.
|
|
105
|
+
*
|
|
106
|
+
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
107
|
+
* @param {HTMLElement} itemEle - Gets the ribbon item element.
|
|
108
|
+
* @param {DropDownButton} overflowButton - Gets the overflow button.
|
|
109
|
+
* @returns {void}
|
|
110
|
+
* @hidden
|
|
111
|
+
*/
|
|
112
|
+
RibbonSplitButton.prototype.removeOverFlowEvents = function (item, itemEle) {
|
|
113
|
+
var _this = this;
|
|
114
|
+
var splitButtonEle = itemEle.querySelector('#' + item.id);
|
|
115
|
+
var splitbutton = getComponent(splitButtonEle, SplitButton);
|
|
116
|
+
var cssClass = splitbutton.cssClass.split(SPACE);
|
|
117
|
+
cssClass = cssClass.filter(function (value) { return value !== RIBBON_POPUP_CONTROL; });
|
|
118
|
+
splitbutton.cssClass = cssClass.join(SPACE);
|
|
119
|
+
splitbutton.dataBind();
|
|
120
|
+
splitbutton.click = function (e) {
|
|
121
|
+
if (item.splitButtonSettings.click) {
|
|
122
|
+
item.splitButtonSettings.click.call(_this, e);
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
splitbutton.close = function (e) {
|
|
126
|
+
if (item.splitButtonSettings.close) {
|
|
127
|
+
item.splitButtonSettings.close.call(_this, e);
|
|
128
|
+
}
|
|
129
|
+
splitbutton['wrapper'].classList.remove(RIBBON_POPUP_OPEN);
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
RibbonSplitButton.prototype.setContent = function (item, control) {
|
|
133
|
+
control['primaryBtnObj'].setProperties({ content: (item.activeSize === RibbonItemSize.Medium) ? item.splitButtonSettings.content : '' });
|
|
134
|
+
control['secondaryBtnObj'].setProperties({ content: (item.activeSize === RibbonItemSize.Large) ? item.splitButtonSettings.content : '' });
|
|
135
|
+
};
|
|
136
|
+
RibbonSplitButton.prototype.getSplitButtonObj = function (controlId) {
|
|
137
|
+
var splitButtonEle = getItemElement(this.parent, controlId);
|
|
138
|
+
return getComponent(splitButtonEle, SplitButton);
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Adds a new item to the menu. By default, new item appends to
|
|
142
|
+
* the list as the last item, but you can insert based on the text parameter.
|
|
143
|
+
*
|
|
144
|
+
* @param {string} controlId - Gets the control ID.
|
|
145
|
+
* @param {ItemModel[]} Items - Gets the SplitButton items.
|
|
146
|
+
* @param {string} text - Gets the text of the splitbutton item where the new item needs to be inserted.
|
|
147
|
+
* @returns {void}
|
|
148
|
+
*/
|
|
149
|
+
RibbonSplitButton.prototype.addItems = function (controlId, Items, text) {
|
|
150
|
+
this.getSplitButtonObj(controlId).addItems(Items, text);
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Removes the items from the menu.
|
|
154
|
+
*
|
|
155
|
+
* @param {string} controlId - Gets the control ID.
|
|
156
|
+
* @param {string[]} Items -
|
|
157
|
+
* @param {string} isUniqueId -
|
|
158
|
+
* @returns {void}
|
|
159
|
+
*/
|
|
160
|
+
RibbonSplitButton.prototype.removeItems = function (controlId, Items, isUniqueId) {
|
|
161
|
+
this.getSplitButtonObj(controlId).removeItems(Items, isUniqueId);
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* To open/close SplitButton popup based on current state of the SplitButton.
|
|
165
|
+
*
|
|
166
|
+
* @param {string} controlId - Gets the control ID.
|
|
167
|
+
* @returns {void}
|
|
168
|
+
*/
|
|
169
|
+
RibbonSplitButton.prototype.toggle = function (controlId) {
|
|
170
|
+
this.getSplitButtonObj(controlId).toggle();
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* Updates the splitbutton.
|
|
174
|
+
*
|
|
175
|
+
* @param {RibbonSplitButtonSettingsModel} prop - Gets the splitbutton property.
|
|
176
|
+
* @param {string} id - Gets the ID of dropdown.
|
|
177
|
+
* @returns {void}
|
|
178
|
+
*/
|
|
179
|
+
RibbonSplitButton.prototype.updateSplitButton = function (prop, id) {
|
|
180
|
+
var itemProp = getItem(this.parent.tabs, id);
|
|
181
|
+
if (!itemProp) {
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
merge(itemProp.item.splitButtonSettings, prop);
|
|
185
|
+
var btnEle = getItemElement(this.parent, id, itemProp);
|
|
186
|
+
if (!btnEle) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
var control = getComponent(btnEle, SplitButton);
|
|
190
|
+
if (prop.cssClass) {
|
|
191
|
+
prop.cssClass = (RIBBON_CONTROL + SPACE + ITEM_VERTICAL_CENTER + SPACE + prop.cssClass).trim();
|
|
192
|
+
prop.cssClass = itemProp.item.activeSize === RibbonItemSize.Large ?
|
|
193
|
+
(VERTICAL_DDB + SPACE + prop.cssClass).trim() : prop.cssClass;
|
|
194
|
+
control.cssClass = prop.cssClass;
|
|
195
|
+
}
|
|
196
|
+
delete prop.open;
|
|
197
|
+
delete prop.click;
|
|
198
|
+
delete prop.close;
|
|
199
|
+
control.setProperties(prop);
|
|
200
|
+
if (prop.content) {
|
|
201
|
+
this.setContent(itemProp.item, control);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Updated SplitButton size
|
|
206
|
+
*
|
|
207
|
+
* @param {HTMLElement} element - Gets the splibutton element.
|
|
208
|
+
* @param {RibbonItemModel} item - Gets the ribbon item model.
|
|
209
|
+
* @returns {void}
|
|
210
|
+
* @hidden
|
|
211
|
+
*/
|
|
212
|
+
RibbonSplitButton.prototype.updateSplitButtonSize = function (element, item) {
|
|
213
|
+
var control = getComponent(element, SplitButton);
|
|
214
|
+
var cssClass = control.cssClass.split(SPACE);
|
|
215
|
+
if (item.activeSize === RibbonItemSize.Large) {
|
|
216
|
+
cssClass.push(VERTICAL_DDB);
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
cssClass = cssClass.filter(function (value) { return value !== VERTICAL_DDB; });
|
|
220
|
+
}
|
|
221
|
+
control.cssClass = cssClass.join(SPACE);
|
|
222
|
+
control.setProperties({ iconPosition: item.activeSize === RibbonItemSize.Large ? 'Top' : 'Left' });
|
|
223
|
+
this.setContent(item, control);
|
|
224
|
+
};
|
|
225
|
+
return RibbonSplitButton;
|
|
226
|
+
}());
|
|
227
|
+
export { RibbonSplitButton };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './ribbon-tab';
|
|
2
|
+
export * from './ribbon-group';
|
|
3
|
+
export * from './ribbon-collection';
|
|
4
|
+
export * from './ribbon-item';
|
|
5
|
+
export * from './ribbon-button-settings';
|
|
6
|
+
export * from './ribbon-checkbox-settings';
|
|
7
|
+
export * from './ribbon-colorpicker-settings';
|
|
8
|
+
export * from './ribbon-combobox-settings';
|
|
9
|
+
export * from './ribbon-dropdown-settings';
|
|
10
|
+
export * from './ribbon-splitbutton-settings';
|
|
11
|
+
export * from './ribbon-file-menu-settings';
|
|
12
|
+
export * from './ribbon-tooltip';
|
|
13
|
+
export * from './ribbon-tooltip-model';
|
|
14
|
+
export * from './ribbon-file-menu-settings-model';
|
|
15
|
+
export * from './ribbon-tab-model';
|
|
16
|
+
export * from './ribbon-group-model';
|
|
17
|
+
export * from './ribbon-collection-model';
|
|
18
|
+
export * from './ribbon-item-model';
|
|
19
|
+
export * from './ribbon-button-settings-model';
|
|
20
|
+
export * from './ribbon-checkbox-settings-model';
|
|
21
|
+
export * from './ribbon-colorpicker-settings-model';
|
|
22
|
+
export * from './ribbon-combobox-settings-model';
|
|
23
|
+
export * from './ribbon-dropdown-settings-model';
|
|
24
|
+
export * from './ribbon-splitbutton-settings-model';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// export * from './file-menu';
|
|
2
|
+
export * from './ribbon-tab';
|
|
3
|
+
export * from './ribbon-group';
|
|
4
|
+
export * from './ribbon-collection';
|
|
5
|
+
export * from './ribbon-item';
|
|
6
|
+
export * from './ribbon-button-settings';
|
|
7
|
+
export * from './ribbon-checkbox-settings';
|
|
8
|
+
export * from './ribbon-colorpicker-settings';
|
|
9
|
+
export * from './ribbon-combobox-settings';
|
|
10
|
+
export * from './ribbon-dropdown-settings';
|
|
11
|
+
export * from './ribbon-splitbutton-settings';
|
|
12
|
+
export * from './ribbon-file-menu-settings';
|
|
13
|
+
export * from './ribbon-tooltip';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ChildProperty, Event, EmitType, Property } from '@syncfusion/ej2-base';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a class RibbonButtonSettings
|
|
5
|
+
*/
|
|
6
|
+
export interface RibbonButtonSettingsModel {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Defines the content for the button.
|
|
10
|
+
*
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
content?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Defines one or more CSS classes to customize the appearance of button.
|
|
17
|
+
*
|
|
18
|
+
* @default ''
|
|
19
|
+
*/
|
|
20
|
+
cssClass?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Defines the CSS class for the icons to be shown in button.
|
|
24
|
+
*
|
|
25
|
+
* @default ''
|
|
26
|
+
*/
|
|
27
|
+
iconCss?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Defines whether the button is toggle button or not.
|
|
31
|
+
*
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
isToggle?: boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Defines whether the button is primary button or not.
|
|
38
|
+
*
|
|
39
|
+
* @default false
|
|
40
|
+
*/
|
|
41
|
+
isPrimary?: boolean;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Event triggers once the button is created.
|
|
45
|
+
*
|
|
46
|
+
* @event created
|
|
47
|
+
*/
|
|
48
|
+
created?: EmitType<Event>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Event triggers when the button is clicked.
|
|
52
|
+
*
|
|
53
|
+
* @event clicked
|
|
54
|
+
*/
|
|
55
|
+
clicked?: EmitType<Event>;
|
|
56
|
+
|
|
57
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ChildProperty, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the ribbon button item.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RibbonButtonSettings extends ChildProperty<RibbonButtonSettings> {
|
|
6
|
+
/**
|
|
7
|
+
* Defines the content for the button.
|
|
8
|
+
*
|
|
9
|
+
* @default ''
|
|
10
|
+
*/
|
|
11
|
+
content: string;
|
|
12
|
+
/**
|
|
13
|
+
* Defines one or more CSS classes to customize the appearance of button.
|
|
14
|
+
*
|
|
15
|
+
* @default ''
|
|
16
|
+
*/
|
|
17
|
+
cssClass: string;
|
|
18
|
+
/**
|
|
19
|
+
* Defines the CSS class for the icons to be shown in button.
|
|
20
|
+
*
|
|
21
|
+
* @default ''
|
|
22
|
+
*/
|
|
23
|
+
iconCss: string;
|
|
24
|
+
/**
|
|
25
|
+
* Defines whether the button is toggle button or not.
|
|
26
|
+
*
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
isToggle: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Defines whether the button is primary button or not.
|
|
32
|
+
*
|
|
33
|
+
* @default false
|
|
34
|
+
*/
|
|
35
|
+
isPrimary: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Event triggers once the button is created.
|
|
38
|
+
*
|
|
39
|
+
* @event created
|
|
40
|
+
*/
|
|
41
|
+
created: EmitType<Event>;
|
|
42
|
+
/**
|
|
43
|
+
* Event triggers when the button is clicked.
|
|
44
|
+
*
|
|
45
|
+
* @event clicked
|
|
46
|
+
*/
|
|
47
|
+
clicked: EmitType<Event>;
|
|
48
|
+
/**
|
|
49
|
+
* @param {Object} prop - Gets the property of button.
|
|
50
|
+
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
51
|
+
* @returns {void}
|
|
52
|
+
* @private
|
|
53
|
+
*/
|
|
54
|
+
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
55
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 } from '@syncfusion/ej2-base';
|
|
21
|
+
/**
|
|
22
|
+
* Defines the ribbon button item.
|
|
23
|
+
*/
|
|
24
|
+
var RibbonButtonSettings = /** @class */ (function (_super) {
|
|
25
|
+
__extends(RibbonButtonSettings, _super);
|
|
26
|
+
function RibbonButtonSettings() {
|
|
27
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @param {Object} prop - Gets the property of button.
|
|
31
|
+
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
32
|
+
* @returns {void}
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
RibbonButtonSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
36
|
+
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
37
|
+
};
|
|
38
|
+
__decorate([
|
|
39
|
+
Property('')
|
|
40
|
+
], RibbonButtonSettings.prototype, "content", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Property('')
|
|
43
|
+
], RibbonButtonSettings.prototype, "cssClass", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
Property('')
|
|
46
|
+
], RibbonButtonSettings.prototype, "iconCss", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Property(false)
|
|
49
|
+
], RibbonButtonSettings.prototype, "isToggle", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Property(false)
|
|
52
|
+
], RibbonButtonSettings.prototype, "isPrimary", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Event()
|
|
55
|
+
], RibbonButtonSettings.prototype, "created", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
Event()
|
|
58
|
+
], RibbonButtonSettings.prototype, "clicked", void 0);
|
|
59
|
+
return RibbonButtonSettings;
|
|
60
|
+
}(ChildProperty));
|
|
61
|
+
export { RibbonButtonSettings };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ChildProperty, Event, EmitType, Property } from '@syncfusion/ej2-base';import { LabelPosition, ChangeEventArgs } from '@syncfusion/ej2-buttons';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a class RibbonCheckBoxSettings
|
|
5
|
+
*/
|
|
6
|
+
export interface RibbonCheckBoxSettingsModel {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Defines the whether the checkbox is checked or not.
|
|
10
|
+
*
|
|
11
|
+
* @default false
|
|
12
|
+
*/
|
|
13
|
+
checked?: boolean;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Defines one or more CSS classes to customize the appearance of checkbox.
|
|
17
|
+
*
|
|
18
|
+
* @default ''
|
|
19
|
+
*/
|
|
20
|
+
cssClass?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Defines the label for the checkbox.
|
|
24
|
+
*
|
|
25
|
+
* @default ''
|
|
26
|
+
*/
|
|
27
|
+
label?: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Defines whether the label is position `After` or `Before` the checkbox.
|
|
31
|
+
*
|
|
32
|
+
* @default 'After'
|
|
33
|
+
*/
|
|
34
|
+
labelPosition?: LabelPosition;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Event triggers once the checkbox is created.
|
|
38
|
+
*
|
|
39
|
+
* @event created
|
|
40
|
+
*/
|
|
41
|
+
created?: EmitType<Event>;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Event triggers when the checkbox state is changed.
|
|
45
|
+
*
|
|
46
|
+
* @event change
|
|
47
|
+
*/
|
|
48
|
+
change?: EmitType<ChangeEventArgs>;
|
|
49
|
+
|
|
50
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ChildProperty, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
+
import { LabelPosition, ChangeEventArgs } from '@syncfusion/ej2-buttons';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the ribbon checkbox item.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RibbonCheckBoxSettings extends ChildProperty<RibbonCheckBoxSettings> {
|
|
7
|
+
/**
|
|
8
|
+
* Defines the whether the checkbox is checked or not.
|
|
9
|
+
*
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
checked: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Defines one or more CSS classes to customize the appearance of checkbox.
|
|
15
|
+
*
|
|
16
|
+
* @default ''
|
|
17
|
+
*/
|
|
18
|
+
cssClass: string;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the label for the checkbox.
|
|
21
|
+
*
|
|
22
|
+
* @default ''
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
/**
|
|
26
|
+
* Defines whether the label is position `After` or `Before` the checkbox.
|
|
27
|
+
*
|
|
28
|
+
* @default 'After'
|
|
29
|
+
*/
|
|
30
|
+
labelPosition: LabelPosition;
|
|
31
|
+
/**
|
|
32
|
+
* Event triggers once the checkbox is created.
|
|
33
|
+
*
|
|
34
|
+
* @event created
|
|
35
|
+
*/
|
|
36
|
+
created: EmitType<Event>;
|
|
37
|
+
/**
|
|
38
|
+
* Event triggers when the checkbox state is changed.
|
|
39
|
+
*
|
|
40
|
+
* @event change
|
|
41
|
+
*/
|
|
42
|
+
change: EmitType<ChangeEventArgs>;
|
|
43
|
+
/**
|
|
44
|
+
* @param {Object} prop - Gets the property of checkbox.
|
|
45
|
+
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
46
|
+
* @returns {void}
|
|
47
|
+
* @private
|
|
48
|
+
*/
|
|
49
|
+
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
50
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 } from '@syncfusion/ej2-base';
|
|
21
|
+
/**
|
|
22
|
+
* Defines the ribbon checkbox item.
|
|
23
|
+
*/
|
|
24
|
+
var RibbonCheckBoxSettings = /** @class */ (function (_super) {
|
|
25
|
+
__extends(RibbonCheckBoxSettings, _super);
|
|
26
|
+
function RibbonCheckBoxSettings() {
|
|
27
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @param {Object} prop - Gets the property of checkbox.
|
|
31
|
+
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
32
|
+
* @returns {void}
|
|
33
|
+
* @private
|
|
34
|
+
*/
|
|
35
|
+
RibbonCheckBoxSettings.prototype.setProperties = function (prop, muteOnChange) {
|
|
36
|
+
_super.prototype.setProperties.call(this, prop, muteOnChange);
|
|
37
|
+
};
|
|
38
|
+
__decorate([
|
|
39
|
+
Property(false)
|
|
40
|
+
], RibbonCheckBoxSettings.prototype, "checked", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
Property('')
|
|
43
|
+
], RibbonCheckBoxSettings.prototype, "cssClass", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
Property('')
|
|
46
|
+
], RibbonCheckBoxSettings.prototype, "label", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
Property('After')
|
|
49
|
+
], RibbonCheckBoxSettings.prototype, "labelPosition", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
Event()
|
|
52
|
+
], RibbonCheckBoxSettings.prototype, "created", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
Event()
|
|
55
|
+
], RibbonCheckBoxSettings.prototype, "change", void 0);
|
|
56
|
+
return RibbonCheckBoxSettings;
|
|
57
|
+
}(ChildProperty));
|
|
58
|
+
export { RibbonCheckBoxSettings };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ChildProperty, Collection, Property } from '@syncfusion/ej2-base';import { RibbonItem } from './ribbon-item';import { RibbonItemModel } from './ribbon-item-model';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Interface for a class RibbonCollection
|
|
5
|
+
*/
|
|
6
|
+
export interface RibbonCollectionModel {
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Defines a unique identifier for the collection.
|
|
10
|
+
*
|
|
11
|
+
* @default ''
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Defines one or more CSS classes to customize the appearance of collection.
|
|
17
|
+
*
|
|
18
|
+
* @default ''
|
|
19
|
+
*/
|
|
20
|
+
cssClass?: string;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Defines the list of ribbon items.
|
|
24
|
+
*
|
|
25
|
+
* @default []
|
|
26
|
+
* @aspType List<RibbonItem>
|
|
27
|
+
*/
|
|
28
|
+
items?: RibbonItemModel[];
|
|
29
|
+
|
|
30
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
2
|
+
import { RibbonItemModel } from './ribbon-item-model';
|
|
3
|
+
/**
|
|
4
|
+
* Defines the items of Ribbon.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RibbonCollection extends ChildProperty<RibbonCollection> {
|
|
7
|
+
/**
|
|
8
|
+
* Defines a unique identifier for the collection.
|
|
9
|
+
*
|
|
10
|
+
* @default ''
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Defines one or more CSS classes to customize the appearance of collection.
|
|
15
|
+
*
|
|
16
|
+
* @default ''
|
|
17
|
+
*/
|
|
18
|
+
cssClass: string;
|
|
19
|
+
/**
|
|
20
|
+
* Defines the list of ribbon items.
|
|
21
|
+
*
|
|
22
|
+
* @default []
|
|
23
|
+
* @aspType List<RibbonItem>
|
|
24
|
+
*/
|
|
25
|
+
items: RibbonItemModel[];
|
|
26
|
+
/**
|
|
27
|
+
* @param {Object} prop - Gets the property of collection.
|
|
28
|
+
* @param {boolean} muteOnChange - Gets the boolean value of muteOnChange.
|
|
29
|
+
* @returns {void}
|
|
30
|
+
* @private
|
|
31
|
+
*/
|
|
32
|
+
setProperties(prop: Object, muteOnChange: boolean): void;
|
|
33
|
+
}
|