@componyx/ui 0.0.0-stage → 1.0.4
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/AppSkin/AppSkin.css +1268 -0
- package/AppSkin/AppSkin.js +2748 -0
- package/AppSkin/Themes/Default.css +241 -0
- package/Base/Base.js +3407 -0
- package/Base/ComponentIcons.css +66 -0
- package/Base/Font/ComponentIcons.woff +0 -0
- package/Base/Font/UI.woff +0 -0
- package/Base/Library.js +8432 -0
- package/Base/NavigationManager.js +462 -0
- package/Base/ResponsiveTemplates.js +371 -0
- package/Base/Sanitizer.js +288 -0
- package/Base/Themes/Default.css +255 -0
- package/Base/UI.css +618 -0
- package/Base/UIResourcePath.js +6 -0
- package/Bindary/Bindary.js +2011 -0
- package/Bindary/Modules/Connection.js +216 -0
- package/Bindary/Modules/Core.js +854 -0
- package/Bindary/Modules/DataUpdater.js +351 -0
- package/Bindary/Modules/ExpressionEngine.js +347 -0
- package/Bindary/Modules/ProxyManager.js +482 -0
- package/Bindary/Modules/Renderer.js +605 -0
- package/Bindary/Modules/Router.js +291 -0
- package/Bindary/Modules/Scroller.js +89 -0
- package/Bindary/Modules/Template.js +1273 -0
- package/BookmarkSpy/BookmarkSpy.js +430 -0
- package/Box/Box.css +36 -0
- package/Box/Box.js +1685 -0
- package/Button/Button.css +470 -0
- package/Button/Button.js +1398 -0
- package/Button/Themes/Default.css +200 -0
- package/Carousel/Carousel.css +273 -0
- package/Carousel/Carousel.js +607 -0
- package/ColorButton/ColorButton.css +39 -0
- package/ColorButton/ColorButton.js +336 -0
- package/ColorPicker/ColorPicker.css +359 -0
- package/ColorPicker/ColorPicker.js +972 -0
- package/ComboBox/ComboBox.css +357 -0
- package/ComboBox/ComboBox.js +2342 -0
- package/ComboBox/Themes/Default.css +23 -0
- package/DataPager/DataPager.css +72 -0
- package/DataPager/DataPager.js +674 -0
- package/DatePicker/DatePicker.css +227 -0
- package/DatePicker/DatePicker.js +1531 -0
- package/DatePicker/Themes/Default.css +26 -0
- package/Dialog/Dialog.css +106 -0
- package/Dialog/Dialog.js +572 -0
- package/Dialog/Themes/Default.css +10 -0
- package/Editor/Data/Emoji.json +8285 -0
- package/Editor/Data/Special.json +1042 -0
- package/Editor/Editor.css +1562 -0
- package/Editor/Editor.js +4058 -0
- package/Editor/Font/Editor.woff +0 -0
- package/Editor/Modules/ComponentFactory.js +565 -0
- package/Editor/Modules/ContentManager.js +748 -0
- package/Editor/Modules/DialogManager.js +1234 -0
- package/Editor/Modules/EventManager.js +458 -0
- package/Editor/Modules/Format.js +950 -0
- package/Editor/Modules/History.js +191 -0
- package/Editor/Modules/LayoutState.js +379 -0
- package/Editor/Modules/ListManager.js +296 -0
- package/Editor/Modules/MenuManager.js +388 -0
- package/Editor/Modules/NodeManager.js +681 -0
- package/Editor/Modules/ParagraphButtons.js +122 -0
- package/Editor/Modules/Resizer.js +176 -0
- package/Editor/Modules/SelectionRange.js +564 -0
- package/Editor/Modules/SourceViewBuilder.js +212 -0
- package/Editor/Modules/SymbolPicker.js +208 -0
- package/Editor/Modules/Table.js +2327 -0
- package/Editor/Modules/TableDialog.js +757 -0
- package/Editor/Modules/Toolbar.js +375 -0
- package/Editor/Modules/TooltipMenu.js +125 -0
- package/Editor/Modules/Utility.js +131 -0
- package/Editor/Themes/Default.css +204 -0
- package/FileUpload/FileUpload.css +156 -0
- package/FileUpload/FileUpload.js +898 -0
- package/FileUpload/Themes/Default.css +17 -0
- package/Form/Form.css +1934 -0
- package/Form/Form.js +4943 -0
- package/Form/Modules/ActionManager.js +368 -0
- package/Form/Modules/BuildPanelManager.js +319 -0
- package/Form/Modules/ComponentFactory.js +468 -0
- package/Form/Modules/ComponentPanel.js +265 -0
- package/Form/Modules/ConfigPanelManager.js +685 -0
- package/Form/Modules/DataBinder.js +602 -0
- package/Form/Modules/DataObserver.js +717 -0
- package/Form/Modules/Draggable.js +756 -0
- package/Form/Modules/OptionsPanel.js +342 -0
- package/Form/Modules/Renderer.js +1889 -0
- package/Form/Modules/RuleEngine.js +585 -0
- package/Form/Modules/RulesPanel.js +1158 -0
- package/Form/Modules/Types.js +1709 -0
- package/Form/Modules/ValidationManager.js +194 -0
- package/Form/Themes/Default.css +216 -0
- package/FormField/FormField.css +468 -0
- package/FormField/FormField.js +576 -0
- package/FormField/Themes/Default.css +99 -0
- package/Grid/Grid.css +544 -0
- package/Grid/Grid.js +3761 -0
- package/Grid/Themes/Default.css +43 -0
- package/LICENSE +126 -0
- package/MaskedTextBox/MaskedTextBox.css +28 -0
- package/MaskedTextBox/MaskedTextBox.js +642 -0
- package/MaskedTextBox/Themes/Default.css +6 -0
- package/Menu/Menu.css +328 -0
- package/Menu/Menu.js +2386 -0
- package/Menu/Themes/Default.css +24 -0
- package/NumericBox/NumericBox.css +120 -0
- package/NumericBox/NumericBox.js +984 -0
- package/PanelBar/PanelBar.css +123 -0
- package/PanelBar/PanelBar.js +505 -0
- package/PanelBar/Themes/Default.css +51 -0
- package/PieChart/PieChart.css +95 -0
- package/PieChart/PieChart.js +820 -0
- package/PieChart/Themes/Default.css +9 -0
- package/README.md +178 -3
- package/Slider/Slider.css +348 -0
- package/Slider/Slider.js +1306 -0
- package/Slider/Themes/Default.css +44 -0
- package/TabStrip/TabStrip.css +52 -0
- package/TabStrip/TabStrip.js +362 -0
- package/TabStrip/Themes/Default.css +35 -0
- package/TimePicker/Themes/Default.css +30 -0
- package/TimePicker/TimePicker.css +253 -0
- package/TimePicker/TimePicker.js +1485 -0
- package/TooltipManager/Themes/Default.css +21 -0
- package/TooltipManager/TooltipManager.css +227 -0
- package/TooltipManager/TooltipManager.js +791 -0
- package/Validator/Validator.css +54 -0
- package/Validator/Validator.js +2508 -0
- package/componyx.html-data.json +619 -0
- package/index.js +27 -0
- package/package.json +43 -4
- package/types/AppSkin.d.ts +842 -0
- package/types/Base.d.ts +1034 -0
- package/types/Bindary.d.ts +1196 -0
- package/types/BookmarkSpy.d.ts +112 -0
- package/types/Box.d.ts +374 -0
- package/types/Button.d.ts +455 -0
- package/types/Carousel.d.ts +136 -0
- package/types/ColorButton.d.ts +120 -0
- package/types/ColorPicker.d.ts +225 -0
- package/types/ComboBox.d.ts +507 -0
- package/types/DataPager.d.ts +152 -0
- package/types/DatePicker.d.ts +354 -0
- package/types/Dialog.d.ts +160 -0
- package/types/Editor.d.ts +1289 -0
- package/types/FileUpload.d.ts +206 -0
- package/types/Form.d.ts +3078 -0
- package/types/FormField.d.ts +204 -0
- package/types/Grid.d.ts +911 -0
- package/types/Library.d.ts +1899 -0
- package/types/MaskedTextBox.d.ts +91 -0
- package/types/Menu.d.ts +577 -0
- package/types/NumericBox.d.ts +310 -0
- package/types/PanelBar.d.ts +223 -0
- package/types/PieChart.d.ts +224 -0
- package/types/ResponsiveTemplates.d.ts +108 -0
- package/types/Slider.d.ts +227 -0
- package/types/TabStrip.d.ts +185 -0
- package/types/TimePicker.d.ts +265 -0
- package/types/TooltipManager.d.ts +178 -0
- package/types/UI.d.ts +29 -0
- package/types/Validator.d.ts +653 -0
- package/types/index.d.ts +59 -0
- package/ui.css +11783 -0
- package/ui.js +79477 -0
- package/ui.min.css +138 -0
- package/ui.min.js +264 -0
- package/ui.min.js.map +1 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
declare namespace componyx
|
|
2
|
+
{
|
|
3
|
+
namespace UI
|
|
4
|
+
{
|
|
5
|
+
interface MaskedTextBox extends Omit<componyx.UI.base.methods, 'render' | 'destroy' | 'cloneProperties' | 'postRender'> { }
|
|
6
|
+
/**
|
|
7
|
+
* <p>MaskedTextBox class.</p>
|
|
8
|
+
*/
|
|
9
|
+
class MaskedTextBox extends componyx.UI.base.WebComponent
|
|
10
|
+
{
|
|
11
|
+
/**
|
|
12
|
+
* Creates a new MaskedTextBox instance.
|
|
13
|
+
* @param id - <p>The id of the component.</p>
|
|
14
|
+
* @param properties - <p>The properties used to initialize the component or the container element.</p>
|
|
15
|
+
*/
|
|
16
|
+
constructor(id?: string, properties?: Partial<MaskedTextBox> | HTMLElement);
|
|
17
|
+
/**
|
|
18
|
+
* <p>Gets or sets a value indicating which characters are allowed on the underscore (_) slots.</p>
|
|
19
|
+
*/
|
|
20
|
+
allowedCharacters: componyx.UI.MaskedTextBox.AllowedCharactersOption;
|
|
21
|
+
/**
|
|
22
|
+
* <p>Gets or sets the regular expression pattern when allowedCharacters is set to CUSTOM.</p>
|
|
23
|
+
*/
|
|
24
|
+
customPattern: RegExp;
|
|
25
|
+
/**
|
|
26
|
+
* <p>Gets or sets a value indicating if the mask hint is displayed. If null, it's auto-detected based on the configured mask and character settings.</p>
|
|
27
|
+
*/
|
|
28
|
+
showMaskHint: boolean | null;
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets or sets the hint text displayed when the input gets focus. This text is appended after the mask pattern. (A=letters, 0=digits)</p>
|
|
31
|
+
*/
|
|
32
|
+
maskHint: string;
|
|
33
|
+
/**
|
|
34
|
+
* <p>Gets or sets the id of the HTML input to use.</p>
|
|
35
|
+
*/
|
|
36
|
+
inputId: string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>Gets the input element.</p>
|
|
39
|
+
*/
|
|
40
|
+
readonly input: HTMLInputElement;
|
|
41
|
+
/**
|
|
42
|
+
* <p>Gets the raw input value without mask characters.</p>
|
|
43
|
+
*/
|
|
44
|
+
value: string;
|
|
45
|
+
/**
|
|
46
|
+
* <p>Gets or sets the text box mask pattern. Use 'A' for letters, '0' for digits, and '_' for any allowed character slot. To include a literal A, 0, or _ in the mask, escape it with a backslash ().</p>
|
|
47
|
+
*/
|
|
48
|
+
mask: string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>Gets the raw input value without mask characters.</p>
|
|
51
|
+
*/
|
|
52
|
+
getValue(): string;
|
|
53
|
+
/**
|
|
54
|
+
* <p>Sets the raw input value with or without mask characters.</p>
|
|
55
|
+
* @param value - <p>The value to set.</p>
|
|
56
|
+
*/
|
|
57
|
+
setValue(value: string): void;
|
|
58
|
+
/**
|
|
59
|
+
* <p>Sets the mask hint.</p>
|
|
60
|
+
*/
|
|
61
|
+
setMaskHint(): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Renders the component.</p>
|
|
64
|
+
*/
|
|
65
|
+
render(): void;
|
|
66
|
+
/**
|
|
67
|
+
* <p>Events attached to the component.</p>
|
|
68
|
+
*/
|
|
69
|
+
events: componyx.UI.base.Events<componyx.UI.MaskedTextBox> & componyx.UI.MaskedTextBox.MaskedTextBoxEvents;
|
|
70
|
+
}
|
|
71
|
+
namespace MaskedTextBox
|
|
72
|
+
{
|
|
73
|
+
/**
|
|
74
|
+
* @property onChanged - <p>Fires when the input value has changed.</p>
|
|
75
|
+
*/
|
|
76
|
+
type MaskedTextBoxEvents = {
|
|
77
|
+
onChanged: componyx.UI.base.Event<componyx.UI.MaskedTextBox>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* <p>AllowedCharactersOption</p>
|
|
81
|
+
*/
|
|
82
|
+
enum AllowedCharactersOption
|
|
83
|
+
{
|
|
84
|
+
ALPHANUMERIC = 0,
|
|
85
|
+
DIGITS = 1,
|
|
86
|
+
LETTERS = 2,
|
|
87
|
+
CUSTOM = 3
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
package/types/Menu.d.ts
ADDED
|
@@ -0,0 +1,577 @@
|
|
|
1
|
+
declare namespace componyx
|
|
2
|
+
{
|
|
3
|
+
namespace UI
|
|
4
|
+
{
|
|
5
|
+
/**
|
|
6
|
+
* <p>Namespace for menu modules.</p>
|
|
7
|
+
*/
|
|
8
|
+
namespace menu_modules
|
|
9
|
+
{
|
|
10
|
+
/**
|
|
11
|
+
* <p>Promise that resolves when all menu modules are loaded asynchronously.</p>
|
|
12
|
+
*/
|
|
13
|
+
var loaded: Promise<void>;
|
|
14
|
+
}
|
|
15
|
+
interface Menu extends componyx.UI.base.methods { }
|
|
16
|
+
/**
|
|
17
|
+
* <p>Menu class.</p>
|
|
18
|
+
*/
|
|
19
|
+
class Menu extends componyx.UI.base.Component implements componyx.UI.base.methods
|
|
20
|
+
{
|
|
21
|
+
/**
|
|
22
|
+
* Creates a new Menu instance.
|
|
23
|
+
* @param id - <p>The id of the component.</p>
|
|
24
|
+
* @param properties - <p>The properties used to initialize the component or the container element.</p>
|
|
25
|
+
*/
|
|
26
|
+
constructor(id: string, properties: Partial<Menu> | HTMLElement);
|
|
27
|
+
ajax: componyx.UI.base.Component['ajax'] & {
|
|
28
|
+
/**
|
|
29
|
+
* <p>AJAX method used to load items on demand.</p>
|
|
30
|
+
*/
|
|
31
|
+
load: componyx.UI.base.AjaxMethod;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* <p>Gets or sets the default css class of an item group.</p>
|
|
35
|
+
*/
|
|
36
|
+
cssClassItemGroup: string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>Gets or sets the css class of the root item group.</p>
|
|
39
|
+
*/
|
|
40
|
+
cssClassItemGroupRoot: string;
|
|
41
|
+
/**
|
|
42
|
+
* <p>Gets or sets the css class of the root item group when horizontalRoot is true.</p>
|
|
43
|
+
*/
|
|
44
|
+
cssClassItemGroupHorizontalRoot: string;
|
|
45
|
+
/**
|
|
46
|
+
* <p>Gets or sets the css class of the root item group when visibleRoot is true.</p>
|
|
47
|
+
*/
|
|
48
|
+
cssClassItemGroupVisibleRoot: string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>Gets or sets the css class of the root item group when visibleRoot is false.</p>
|
|
51
|
+
*/
|
|
52
|
+
cssClassItemGroupHiddenRoot: string;
|
|
53
|
+
/**
|
|
54
|
+
* <p>Gets or sets the default css class of a subgroup.</p>
|
|
55
|
+
*/
|
|
56
|
+
cssClassSubGroup: string;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Gets or sets the default css class of an item.</p>
|
|
59
|
+
*/
|
|
60
|
+
cssClassItem: string;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Gets or sets the default css class of the item icon.</p>
|
|
63
|
+
*/
|
|
64
|
+
cssClassItemIcon: string;
|
|
65
|
+
/**
|
|
66
|
+
* <p>Gets or sets the css class of a childless item.</p>
|
|
67
|
+
*/
|
|
68
|
+
cssClassItemChildless: string;
|
|
69
|
+
/**
|
|
70
|
+
* <p>Gets or sets the text label of the main category.</p>
|
|
71
|
+
*/
|
|
72
|
+
mainCategoryLabel: string;
|
|
73
|
+
/**
|
|
74
|
+
* <p>Gets or sets the default template id of an item.</p>
|
|
75
|
+
*/
|
|
76
|
+
itemTemplateId: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* <p>Gets or sets the css style of the item group.</p>
|
|
79
|
+
*/
|
|
80
|
+
itemGroupStyle: string;
|
|
81
|
+
/**
|
|
82
|
+
* <p>Gets or sets a value indicating whether the root level is visible.</p>
|
|
83
|
+
*/
|
|
84
|
+
visibleRoot: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Gets or sets a value indicating whether the root level menu items are horizontally rendered.</p>
|
|
87
|
+
*/
|
|
88
|
+
horizontalRoot: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Gets or sets a value indicating if we can move inside the menu with the tab key or if the tab key moves to the next focusable element outside of the menu.</p>
|
|
91
|
+
*/
|
|
92
|
+
tabNavigation: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* <p>Gets or sets a value indicating if child-items are rendered ahead (default) when available or rendered when the parent-item expands.</p>
|
|
95
|
+
*/
|
|
96
|
+
renderOnExpand: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* <p>Gets or sets a value indicating if the item can be expanded/collapsed (true) or is always in expanded state (false). Option has effect only when the corresponding item-group is statically positioned.</p>
|
|
99
|
+
*/
|
|
100
|
+
expandable: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* <p>Gets or sets a value indicating if one (true) or more (false) items per group can expanded simultaneously. Option has effect only when the corresponding item-group is statically positioned.</p>
|
|
103
|
+
*/
|
|
104
|
+
singleExpand: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* <p>Gets or sets a value indicating if a selectable item with child-items is expanded when selected.</p>
|
|
107
|
+
*/
|
|
108
|
+
expandOnSelect: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Gets or sets a value indicating if all items are collapsed when an item is selected. Option has effect only when the corresponding item-group is not statically positioned.</p>
|
|
111
|
+
*/
|
|
112
|
+
collapseAllOnSelect: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* <p>Gets or sets a value indicating if an item is expanded on a pointerenter event, click-event or on a click-event for the root level and on a pointerenter event for deeper levels. Option has effect only when the corresponding item-group is not statically positioned.</p>
|
|
115
|
+
*/
|
|
116
|
+
expandOnClick: componyx.UI.Menu.ExpandOnClickOption;
|
|
117
|
+
/**
|
|
118
|
+
* <p>Gets or sets the default expand direction of a root menu item.</p>
|
|
119
|
+
*/
|
|
120
|
+
rootExpandDirection: componyx.UI.Menu.ExpandDirectionOption | null;
|
|
121
|
+
/**
|
|
122
|
+
* <p>Gets or sets the default expand direction of a menu item.</p>
|
|
123
|
+
*/
|
|
124
|
+
expandDirection: componyx.UI.Menu.ExpandDirectionOption | null;
|
|
125
|
+
/**
|
|
126
|
+
* <p>Gets or sets a value indicating how items are collapsed when a new item is expanded.</p>
|
|
127
|
+
*/
|
|
128
|
+
collapseType: componyx.UI.Menu.CollapseTypeOption;
|
|
129
|
+
/**
|
|
130
|
+
* <p>Gets or sets a value indicating how items are collapsed when all items are collapsed through a click outside the menu boundaries.</p>
|
|
131
|
+
*/
|
|
132
|
+
collapseAllType: componyx.UI.Menu.CollapseTypeOption;
|
|
133
|
+
/**
|
|
134
|
+
* <p>Gets or sets the delay in milliseconds before expanding a menu-item through a pointer-enter/leave event.</p>
|
|
135
|
+
*/
|
|
136
|
+
expandDelay: number;
|
|
137
|
+
/**
|
|
138
|
+
* <p>Gets or sets the delay in milliseconds before collapsing all menu-items.</p>
|
|
139
|
+
*/
|
|
140
|
+
collapseDelay: number;
|
|
141
|
+
/**
|
|
142
|
+
* <p>Gets or sets the id of the base item button.</p>
|
|
143
|
+
*/
|
|
144
|
+
buttonId: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* <p>Gets or sets the id of the base item-group box for the root level container.</p>
|
|
147
|
+
*/
|
|
148
|
+
rootItemGroupBoxId: string | null;
|
|
149
|
+
/**
|
|
150
|
+
* <p>Gets or sets the id of the base item-group box.</p>
|
|
151
|
+
*/
|
|
152
|
+
itemGroupBoxId: string | null;
|
|
153
|
+
/**
|
|
154
|
+
* <p>Gets or sets the list of items.</p>
|
|
155
|
+
*/
|
|
156
|
+
itemList: componyx.UI.Menu.Item[];
|
|
157
|
+
/**
|
|
158
|
+
* <p>Menu events</p>
|
|
159
|
+
*/
|
|
160
|
+
events: componyx.UI.Menu.MenuEvents;
|
|
161
|
+
/**
|
|
162
|
+
* <p>Expands the menu with the given item id(s). Animations are disabled when multiple item id's are provided.</p>
|
|
163
|
+
* @param [id] - <p>The item identifier(s). The root level is expanded if the item id is not specified.</p>
|
|
164
|
+
* @param [expanderElement] - <p>The element to which the expand is positioned when the expanding item-group is at root-level and not static positioned. The mouse cursor position is used when no expander element is specified for the previous mentioned scenario.</p>
|
|
165
|
+
* @param [toggle] - <p>A value indicating if the item must collapse if it is already expanded.</p>
|
|
166
|
+
* @param [instant = false] - <p>A value indicating if the item must be expanded (or collapsed) instantly (without animation). The option has effect only when a single item-id is provided.</p>
|
|
167
|
+
*/
|
|
168
|
+
expand(id?: string | String[], expanderElement?: HTMLElement, toggle?: boolean, instant?: boolean): void;
|
|
169
|
+
/**
|
|
170
|
+
* <p>Collapses the menu with the given item id(s). Animations are disabled when multiple item id's are provided.</p>
|
|
171
|
+
* @param [id] - <p>The item identifier(s). The root level is expanded if the item id is not specified.</p>
|
|
172
|
+
* @param [instant = false] - <p>A value indicating if the item must be collapsed instantly (without animation). The option has effect only when a single item-id is provided.</p>
|
|
173
|
+
*/
|
|
174
|
+
collapse(id?: string | String[], instant?: boolean): void;
|
|
175
|
+
/**
|
|
176
|
+
* <p>Cancels the current expand action.</p>
|
|
177
|
+
*/
|
|
178
|
+
cancelExpand(): void;
|
|
179
|
+
/**
|
|
180
|
+
* <p>Shows the item category.</p>
|
|
181
|
+
* @param id - <p>The item identifier.</p>
|
|
182
|
+
* @param [previous = false] - <p>A value indicating that this category is previous to the current visible category.</p>
|
|
183
|
+
* @param [instant = false] - <p>A value indicating if the category must be shown instantly (without animation).</p>
|
|
184
|
+
*/
|
|
185
|
+
showCategory(id: string, previous?: string, instant?: boolean): void;
|
|
186
|
+
/**
|
|
187
|
+
* <p>Loads the item with the specified id.</p>
|
|
188
|
+
* @param id - <p>The item identifier.</p>
|
|
189
|
+
* @returns <p>The Path object offers methods to navigate in any direction from a specific item within the tree.</p>
|
|
190
|
+
*/
|
|
191
|
+
loadItem(id: string): componyx.library.Path;
|
|
192
|
+
/**
|
|
193
|
+
* <p>Selects the item.</p>
|
|
194
|
+
* @param id - <p>The item identifier.</p>
|
|
195
|
+
*/
|
|
196
|
+
selectItem(id: string): void;
|
|
197
|
+
/**
|
|
198
|
+
* <p>Deselects the current selected item or the item with the specified id.</p>
|
|
199
|
+
* @param [id] - <p>The item identifier.</p>
|
|
200
|
+
*/
|
|
201
|
+
deselectItem(id?: string): void;
|
|
202
|
+
/**
|
|
203
|
+
* <p>Enables the item.</p>
|
|
204
|
+
* @param id - <p>The item identifier.</p>
|
|
205
|
+
*/
|
|
206
|
+
enableItem(id: string): void;
|
|
207
|
+
/**
|
|
208
|
+
* <p>Disables the item.</p>
|
|
209
|
+
* @param id - <p>The item identifier.</p>
|
|
210
|
+
* @param [keepSelected = false] - <p>A value indicating if the item must remain selected.</p>
|
|
211
|
+
*/
|
|
212
|
+
disableItem(id: string, keepSelected?: boolean): void;
|
|
213
|
+
/**
|
|
214
|
+
* <p>Gets the identifier of the active category.</p>
|
|
215
|
+
* @returns <p>The id of the active category.</p>
|
|
216
|
+
*/
|
|
217
|
+
getActiveCategoryId(): string;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Gets the identifier of the selected item or the identifier of the selected item within the specified radio group.</p>
|
|
220
|
+
* @param [radioGroupId] - <p>The id of the radio group.</p>
|
|
221
|
+
* @returns <p>The selected item id.</p>
|
|
222
|
+
*/
|
|
223
|
+
getSelectedItemId(radioGroupId?: string): string;
|
|
224
|
+
/**
|
|
225
|
+
* <p>Gets the selected item or the selected item within the specified radio group.</p>
|
|
226
|
+
* @param [radioGroupId] - <p>The id of the radio group.</p>
|
|
227
|
+
* @returns <p>The selected item.</p>
|
|
228
|
+
*/
|
|
229
|
+
getSelectedItem(radioGroupId?: string): componyx.UI.Menu.Item;
|
|
230
|
+
/**
|
|
231
|
+
* <p>Gets the expanded items.</p>
|
|
232
|
+
* @returns <p>A list of expanded items.</p>
|
|
233
|
+
*/
|
|
234
|
+
getExpandedItems(): componyx.UI.Menu.Item[];
|
|
235
|
+
/**
|
|
236
|
+
* <p>Collapses all expanded items with the delay configured through the collapseDelay property.</p>
|
|
237
|
+
* @param [instant = false] - <p>A value indicating if all items must be collapsed instantly (without animations).</p>
|
|
238
|
+
*/
|
|
239
|
+
collapseAllDelayed(instant?: boolean): void;
|
|
240
|
+
/**
|
|
241
|
+
* <p>Collapses all expanded items.</p>
|
|
242
|
+
* @param [instant = false] - <p>A value indicating if all items must be collapsed instantly (without animations).</p>
|
|
243
|
+
*/
|
|
244
|
+
collapseAll(instant?: boolean): void;
|
|
245
|
+
/**
|
|
246
|
+
* <p>Gets the root item-group box or the item-group box for the specified item id.</p>
|
|
247
|
+
* @param [id] - <p>The item identifier.</p>
|
|
248
|
+
* @returns <p>The box component.</p>
|
|
249
|
+
*/
|
|
250
|
+
getItemGroupBox(id?: string): componyx.UI.Box;
|
|
251
|
+
/**
|
|
252
|
+
* <p>Removes the item with the specified id.</p>
|
|
253
|
+
* @param id - <p>The item identifier.</p>
|
|
254
|
+
*/
|
|
255
|
+
removeItem(id: string): void;
|
|
256
|
+
/**
|
|
257
|
+
* <p>Renders the specified item by creating a new element or overwriting the existing element.
|
|
258
|
+
* The item must exist in the item list and the item's position in the item group will equal the item's position within the item list.</p>
|
|
259
|
+
* @param item - <p>The item to render.</p>
|
|
260
|
+
*/
|
|
261
|
+
renderItem(item: componyx.UI.Menu.Item): void;
|
|
262
|
+
/**
|
|
263
|
+
* <p>Shows the component.</p>
|
|
264
|
+
*/
|
|
265
|
+
show(): void;
|
|
266
|
+
/**
|
|
267
|
+
* <p>Hides the component.</p>
|
|
268
|
+
* @param [instant = false] - <p>A value indicating if all items must be collapsed instantly (without animations). By default the root item-group has no show/hide animations set. If a hide animation was set manually and instant hiding on the root item-group is required, disable the hide animation in advance.</p>
|
|
269
|
+
*/
|
|
270
|
+
hide(instant?: boolean): void;
|
|
271
|
+
/**
|
|
272
|
+
* <p>Renders the component</p>
|
|
273
|
+
*/
|
|
274
|
+
render(): void;
|
|
275
|
+
/**
|
|
276
|
+
* <p>Executes the post render procedure.</p>
|
|
277
|
+
*/
|
|
278
|
+
postRender(): void;
|
|
279
|
+
/**
|
|
280
|
+
* <p>Destroys the component.</p>
|
|
281
|
+
*/
|
|
282
|
+
destroy(): void;
|
|
283
|
+
/**
|
|
284
|
+
* <p>Draws the item list.</p>
|
|
285
|
+
* @param itemList - <p>The items to draw.</p>
|
|
286
|
+
*/
|
|
287
|
+
draw(itemList: componyx.UI.Menu.Item[]): void;
|
|
288
|
+
}
|
|
289
|
+
namespace Menu
|
|
290
|
+
{
|
|
291
|
+
/**
|
|
292
|
+
* @property onItemClick - <p>Event which fires on an item mouseclick.</p>
|
|
293
|
+
* @property onItemSelect - <p>Event which fires on an item select.</p>
|
|
294
|
+
* @property onItemDeselect - <p>Event which fires on an item deselect.</p>
|
|
295
|
+
* @property onItemExpand - <p>Event which fires on an item expand.</p>
|
|
296
|
+
* @property onItemExpandComplete - <p>Event which fires when an item expand completed.</p>
|
|
297
|
+
* @property onItemCollapse - <p>Event which fires on an item collapse.</p>
|
|
298
|
+
* @property onItemCollapseComplete - <p>Event which fires when an item collapse completed.</p>
|
|
299
|
+
* @property onLastItemCollapseComplete - <p>Event which fires when the last item collapse in the cascade collapse chain has completed.</p>
|
|
300
|
+
* @property onPreRenderItemGroup - <p>Event which fires before an itemgroup (box component) is rendered.</p>
|
|
301
|
+
* @property onPostRenderItemGroup - <p>Event which fires after an itemgroup (box component) is rendered.</p>
|
|
302
|
+
* @property onPreRenderItem - <p>Event which fires before an item is rendered.</p>
|
|
303
|
+
* @property onPostRenderItem - <p>Event which fires after an item is rendered.</p>
|
|
304
|
+
* @property onPreLoadItemList - <p>Event which fires before the item-list data is loaded.</p>
|
|
305
|
+
* @property onPostLoadItemList - <p>Event which fires when the item-list data is loaded.</p>
|
|
306
|
+
* @property onPostRenderItemList - <p>Event which fires when the item-list is rendered.</p>
|
|
307
|
+
*/
|
|
308
|
+
class MenuEvents extends componyx.UI.base.Events<componyx.UI.Menu>
|
|
309
|
+
{
|
|
310
|
+
constructor();
|
|
311
|
+
/**
|
|
312
|
+
* <p>Event which fires on an item mouseclick.</p>
|
|
313
|
+
*/
|
|
314
|
+
onItemClick: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
315
|
+
/**
|
|
316
|
+
* <p>Event which fires on an item select.</p>
|
|
317
|
+
*/
|
|
318
|
+
onItemSelect: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
319
|
+
/**
|
|
320
|
+
* <p>Event which fires on an item deselect.</p>
|
|
321
|
+
*/
|
|
322
|
+
onItemDeselect: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
323
|
+
/**
|
|
324
|
+
* <p>Event which fires on an item expand.</p>
|
|
325
|
+
*/
|
|
326
|
+
onItemExpand: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
327
|
+
/**
|
|
328
|
+
* <p>Event which fires when an item expand completed.</p>
|
|
329
|
+
*/
|
|
330
|
+
onItemExpandComplete: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
331
|
+
/**
|
|
332
|
+
* <p>Event which fires on an item collapse.</p>
|
|
333
|
+
*/
|
|
334
|
+
onItemCollapse: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
335
|
+
/**
|
|
336
|
+
* <p>Event which fires when an item collapse completed.</p>
|
|
337
|
+
*/
|
|
338
|
+
onItemCollapseComplete: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
339
|
+
/**
|
|
340
|
+
* <p>Event which fires when the last item collapse in the cascade collapse chain has completed.</p>
|
|
341
|
+
*/
|
|
342
|
+
onLastItemCollapseComplete: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
343
|
+
/**
|
|
344
|
+
* <p>Event which fires before an itemgroup (box component) is rendered.</p>
|
|
345
|
+
*/
|
|
346
|
+
onPreRenderItemGroup: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
347
|
+
/**
|
|
348
|
+
* <p>Event which fires after an itemgroup (box component) is rendered.</p>
|
|
349
|
+
*/
|
|
350
|
+
onPostRenderItemGroup: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
351
|
+
/**
|
|
352
|
+
* <p>Event which fires before an item is rendered.</p>
|
|
353
|
+
*/
|
|
354
|
+
onPreRenderItem: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
355
|
+
/**
|
|
356
|
+
* <p>Event which fires after an item is rendered.</p>
|
|
357
|
+
*/
|
|
358
|
+
onPostRenderItem: componyx.UI.base.Event<componyx.UI.Menu, componyx.UI.Menu.MenuItemEventArgs>;
|
|
359
|
+
/**
|
|
360
|
+
* <p>Event which fires before the item-list data is loaded.</p>
|
|
361
|
+
*/
|
|
362
|
+
onPreLoadItemList: componyx.UI.base.Event<componyx.UI.Menu, null>;
|
|
363
|
+
/**
|
|
364
|
+
* <p>Event which fires when the item-list data is loaded.</p>
|
|
365
|
+
*/
|
|
366
|
+
onPostLoadItemList: componyx.UI.base.Event<componyx.UI.Menu, null>;
|
|
367
|
+
/**
|
|
368
|
+
* <p>Event which fires when the item-list is rendered.</p>
|
|
369
|
+
*/
|
|
370
|
+
onPostRenderItemList: componyx.UI.base.Event<componyx.UI.Menu, null>;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* <p>Menu item event arguments.</p>
|
|
374
|
+
*/
|
|
375
|
+
type MenuItemEventArgs = {
|
|
376
|
+
/** <p>The menu item (for item-group events: the parent item, null for the root item group).</p> */
|
|
377
|
+
item: componyx.UI.Menu.Item | null;
|
|
378
|
+
/** <p>The item element, null when there is no item.</p> */
|
|
379
|
+
itemElement: HTMLElement | null;
|
|
380
|
+
/** <p>The original event object.</p> */
|
|
381
|
+
event: Event;
|
|
382
|
+
};
|
|
383
|
+
/**
|
|
384
|
+
* <p>ExpandDirectionOption</p>
|
|
385
|
+
*/
|
|
386
|
+
enum ExpandDirectionOption
|
|
387
|
+
{
|
|
388
|
+
DOWN = 0,
|
|
389
|
+
RIGHT = 1,
|
|
390
|
+
UP = 2,
|
|
391
|
+
LEFT = 3
|
|
392
|
+
}
|
|
393
|
+
namespace ExpandDirectionOption
|
|
394
|
+
{
|
|
395
|
+
/**
|
|
396
|
+
* <p>Gets the lowercase name of the option value.</p>
|
|
397
|
+
* @param value - <p>The enum value.</p>
|
|
398
|
+
*/
|
|
399
|
+
function getName(value: componyx.UI.Menu.ExpandDirectionOption): string;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* <p>ColumnDirectionOption</p>
|
|
403
|
+
*/
|
|
404
|
+
enum ColumnDirectionOption
|
|
405
|
+
{
|
|
406
|
+
HORIZONTAL = 0,
|
|
407
|
+
VERTICAL = 1
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* <p>TypeOption</p>
|
|
411
|
+
*/
|
|
412
|
+
enum TypeOption
|
|
413
|
+
{
|
|
414
|
+
COMMANDBUTTON = 0,
|
|
415
|
+
CHECKBUTTON = 1,
|
|
416
|
+
RADIOBUTTON = 2
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* <p>ExpandOnClickOption</p>
|
|
420
|
+
*/
|
|
421
|
+
enum ExpandOnClickOption
|
|
422
|
+
{
|
|
423
|
+
ROOT = 0,
|
|
424
|
+
ALWAYS = 1,
|
|
425
|
+
NEVER = 2
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* <p>CollapseTypeOption</p>
|
|
429
|
+
*/
|
|
430
|
+
enum CollapseTypeOption
|
|
431
|
+
{
|
|
432
|
+
CASCADE = 0,
|
|
433
|
+
SINGLE = 1,
|
|
434
|
+
CONCURRENT = 2,
|
|
435
|
+
INSTANT = 3
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* <p>Creates an instance of the Menu item.</p>
|
|
439
|
+
* @property cssClassItemGroup - <p>Gets or sets the css class of the child item-group.</p>
|
|
440
|
+
* @property cssClassSubGroup - <p>Gets or sets the css class of a sub-group. Option has effect only when the subGroupId is specified.</p>
|
|
441
|
+
* @property cssClassIcon - <p>Gets or sets the css class of the icon.</p>
|
|
442
|
+
* @property style - <p>Gets or sets the css style of the item.</p>
|
|
443
|
+
* @property itemGroupStyle - <p>Gets or sets the css style of the item-group.</p>
|
|
444
|
+
* @property hasIcon - <p>Gets or sets a value indicating if the item has an icon.</p>
|
|
445
|
+
* @property iconURL - <p>Gets or sets the URL of the icon.</p>
|
|
446
|
+
* @property type - <p>Gets or sets the item button type.</p>
|
|
447
|
+
* @property href - <p>Gets or sets the href (hypertext reference) of the item. Applies to non-split buttons only.</p>
|
|
448
|
+
* @property target - <p>Gets or sets the href target of the item. Applies to non-split buttons only.</p>
|
|
449
|
+
* @property command - <p>Gets or sets the command action of the item. A string wrapped function example: "app.section.doCommand".</p>
|
|
450
|
+
* @property radioGroupId - <p>Gets or sets the id of the radio group to which this item belongs.</p>
|
|
451
|
+
* @property subGroupId - <p>Gets or sets the id of the sub group (container) to which this item belongs. When provided, an HTML element will be created to serve as a container for all items with the same sub-group identifier</p>
|
|
452
|
+
* @property expandDirection - <p>Gets or sets the direction in which the menu item will expand it's children.</p>
|
|
453
|
+
* @property isCategory - <p>Gets or sets a value indicating that the item is a category. Child-items of a category are rendered as root-level navigation and are displayed when the category-item is selected (hiding the current root menu/category).</p>
|
|
454
|
+
* @property expandOnSelect - <p>Gets or sets a value indicating if a selectable item with child-items is expanded when selected.</p>
|
|
455
|
+
* @property collapseAllOnSelect - <p>Gets or sets a value indicating if all items are collapsed when an item is selected. Option has effect only when the corresponding item-group is not statically positioned.</p>
|
|
456
|
+
* @property expandable - <p>Gets or sets a value indicating if the item can be expanded/collapsed (true) or is always in expanded state (false). Option has effect only when the corresponding item-group is statically positioned.</p>
|
|
457
|
+
* @property expanded - <p>Gets or sets a value indicating if the item is initially expanded. Option has effect only when the item is expandable (otherwise child-items are always expanded) and the child-item list is loaded.</p>
|
|
458
|
+
* @property selectable - <p>Gets or sets a value indicating if the item is selectable. By default the item is selectable when there are no child-items or the item is a RADIO/CHECK-BUTTON type. Disable option when an item renders a template with no navigational purpose.</p>
|
|
459
|
+
* @property selectedChild - <p>Gets or sets a value indicating if a child-item is selected.</p>
|
|
460
|
+
* @property hasChildItems - <p>Gets or sets a value indicating if the item has children. Option has effect only when the child-items are loaded on demand.</p>
|
|
461
|
+
* @property expandDelay - <p>Gets or sets the delay in milliseconds before expanding a menu-item through a pointer-enter/leave event.</p>
|
|
462
|
+
* @property buttonId - <p>Gets or sets the id of the base item button.</p>
|
|
463
|
+
* @property itemGroupBoxId - <p>Gets or sets the id of the base item-group box.</p>
|
|
464
|
+
* @property itemList - <p>Gets or sets the child-item list of the item.</p>
|
|
465
|
+
* @param properties - <p>The properties used to initialize the object.</p>
|
|
466
|
+
*/
|
|
467
|
+
class Item extends componyx.UI.base.static.Item
|
|
468
|
+
{
|
|
469
|
+
constructor(properties: any);
|
|
470
|
+
/**
|
|
471
|
+
* <p>Gets or sets the css class of the child item-group.</p>
|
|
472
|
+
*/
|
|
473
|
+
cssClassItemGroup: string;
|
|
474
|
+
/**
|
|
475
|
+
* <p>Gets or sets the css class of a sub-group. Option has effect only when the subGroupId is specified.</p>
|
|
476
|
+
*/
|
|
477
|
+
cssClassSubGroup: string;
|
|
478
|
+
/**
|
|
479
|
+
* <p>Gets or sets the css class of the icon.</p>
|
|
480
|
+
*/
|
|
481
|
+
cssClassIcon: string;
|
|
482
|
+
/**
|
|
483
|
+
* <p>Gets or sets the css style of the item.</p>
|
|
484
|
+
*/
|
|
485
|
+
style: string;
|
|
486
|
+
/**
|
|
487
|
+
* <p>Gets or sets the css style of the item-group.</p>
|
|
488
|
+
*/
|
|
489
|
+
itemGroupStyle: string;
|
|
490
|
+
/**
|
|
491
|
+
* <p>Gets or sets a value indicating if the item has an icon.</p>
|
|
492
|
+
*/
|
|
493
|
+
hasIcon: boolean;
|
|
494
|
+
/**
|
|
495
|
+
* <p>Gets or sets the URL of the icon.</p>
|
|
496
|
+
*/
|
|
497
|
+
iconURL: string;
|
|
498
|
+
/**
|
|
499
|
+
* <p>Gets or sets the item button type.</p>
|
|
500
|
+
*/
|
|
501
|
+
type: TypeOption;
|
|
502
|
+
/**
|
|
503
|
+
* <p>Gets or sets the href (hypertext reference) of the item. Applies to non-split buttons only.</p>
|
|
504
|
+
*/
|
|
505
|
+
href: string;
|
|
506
|
+
/**
|
|
507
|
+
* <p>Gets or sets the href target of the item. Applies to non-split buttons only.</p>
|
|
508
|
+
*/
|
|
509
|
+
target: string;
|
|
510
|
+
/**
|
|
511
|
+
* <p>Gets or sets the command action of the item. A string wrapped function example: "app.section.doCommand".</p>
|
|
512
|
+
*/
|
|
513
|
+
command: ((...params: any[]) => any) | string;
|
|
514
|
+
/**
|
|
515
|
+
* <p>Gets or sets the id of the radio group to which this item belongs.</p>
|
|
516
|
+
*/
|
|
517
|
+
radioGroupId: string;
|
|
518
|
+
/**
|
|
519
|
+
* <p>Gets or sets the id of the sub group (container) to which this item belongs. When provided, an HTML element will be created to serve as a container for all items with the same sub-group identifier</p>
|
|
520
|
+
*/
|
|
521
|
+
subGroupId: string;
|
|
522
|
+
/**
|
|
523
|
+
* <p>Gets or sets the direction in which the menu item will expand it's children.</p>
|
|
524
|
+
*/
|
|
525
|
+
expandDirection: ExpandDirectionOption;
|
|
526
|
+
/**
|
|
527
|
+
* <p>Gets or sets a value indicating that the item is a category. Child-items of a category are rendered as root-level navigation and are displayed when the category-item is selected (hiding the current root menu/category).</p>
|
|
528
|
+
*/
|
|
529
|
+
isCategory: boolean;
|
|
530
|
+
/**
|
|
531
|
+
* <p>Gets or sets a value indicating if a selectable item with child-items is expanded when selected.</p>
|
|
532
|
+
*/
|
|
533
|
+
expandOnSelect: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* <p>Gets or sets a value indicating if all items are collapsed when an item is selected. Option has effect only when the corresponding item-group is not statically positioned.</p>
|
|
536
|
+
*/
|
|
537
|
+
collapseAllOnSelect: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* <p>Gets or sets a value indicating if the item can be expanded/collapsed (true) or is always in expanded state (false). Option has effect only when the corresponding item-group is statically positioned.</p>
|
|
540
|
+
*/
|
|
541
|
+
expandable: boolean;
|
|
542
|
+
/**
|
|
543
|
+
* <p>Gets or sets a value indicating if the item is initially expanded. Option has effect only when the item is expandable (otherwise child-items are always expanded) and the child-item list is loaded.</p>
|
|
544
|
+
*/
|
|
545
|
+
expanded: boolean;
|
|
546
|
+
/**
|
|
547
|
+
* <p>Gets or sets a value indicating if the item is selectable. By default the item is selectable when there are no child-items or the item is a RADIO/CHECK-BUTTON type. Disable option when an item renders a template with no navigational purpose.</p>
|
|
548
|
+
*/
|
|
549
|
+
selectable: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* <p>Gets or sets a value indicating if a child-item is selected.</p>
|
|
552
|
+
*/
|
|
553
|
+
selectedChild: boolean;
|
|
554
|
+
/**
|
|
555
|
+
* <p>Gets or sets a value indicating if the item has children. Option has effect only when the child-items are loaded on demand.</p>
|
|
556
|
+
*/
|
|
557
|
+
hasChildItems: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* <p>Gets or sets the delay in milliseconds before expanding a menu-item through a pointer-enter/leave event.</p>
|
|
560
|
+
*/
|
|
561
|
+
expandDelay: number;
|
|
562
|
+
/**
|
|
563
|
+
* <p>Gets or sets the id of the base item button.</p>
|
|
564
|
+
*/
|
|
565
|
+
buttonId: string;
|
|
566
|
+
/**
|
|
567
|
+
* <p>Gets or sets the id of the base item-group box.</p>
|
|
568
|
+
*/
|
|
569
|
+
itemGroupBoxId: string;
|
|
570
|
+
/**
|
|
571
|
+
* <p>Gets or sets the child-item list of the item.</p>
|
|
572
|
+
*/
|
|
573
|
+
itemList: Item[];
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|