Skip to content

Commit 47743fd

Browse files
committed
9.1.0
1 parent 0f8301f commit 47743fd

File tree

365 files changed

+5525
-2160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

365 files changed

+5525
-2160
lines changed

accordion/accordion.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ export declare class Accordion extends React.Component<React.HTMLAttributes<Elem
3131
*/
3232
get animation(): Animation;
3333
set animation(value: Animation);
34+
/** Determines the data source that will be loaded to the Accordion.
35+
* Property type: any
36+
*/
37+
get dataSource(): any;
38+
set dataSource(value: any);
3439
/** Enables or disables the accordion. Disabled elements can not be interacted with.
3540
* Property type: boolean
3641
*/

accordion/accordion.esm.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,17 @@ class Accordion extends React.Component {
186186
this.nativeElement.animation = value;
187187
}
188188
}
189+
/** Determines the data source that will be loaded to the Accordion.
190+
* Property type: any
191+
*/
192+
get dataSource() {
193+
return this.nativeElement ? this.nativeElement.dataSource : undefined;
194+
}
195+
set dataSource(value) {
196+
if (this.nativeElement) {
197+
this.nativeElement.dataSource = value;
198+
}
199+
}
189200
/** Enables or disables the accordion. Disabled elements can not be interacted with.
190201
* Property type: boolean
191202
*/
@@ -309,7 +320,7 @@ class Accordion extends React.Component {
309320
}
310321
// Gets the properties of the React component.
311322
get properties() {
312-
return ["animation", "disabled", "expandedIndexes", "expandMode", "locale", "localizeFormatFunction", "messages", "readonly", "reorder", "rightToLeft", "theme", "unfocusable"];
323+
return ["animation", "dataSource", "disabled", "expandedIndexes", "expandMode", "locale", "localizeFormatFunction", "messages", "readonly", "reorder", "rightToLeft", "theme", "unfocusable"];
313324
}
314325
// Gets the events of the React component.
315326
get eventListeners() {

accordion/accordion.umd.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@ require('../source/modules/smart.accordion');
192192
this.nativeElement.animation = value;
193193
}
194194
}
195+
/** Determines the data source that will be loaded to the Accordion.
196+
* Property type: any
197+
*/
198+
get dataSource() {
199+
return this.nativeElement ? this.nativeElement.dataSource : undefined;
200+
}
201+
set dataSource(value) {
202+
if (this.nativeElement) {
203+
this.nativeElement.dataSource = value;
204+
}
205+
}
195206
/** Enables or disables the accordion. Disabled elements can not be interacted with.
196207
* Property type: boolean
197208
*/
@@ -315,7 +326,7 @@ require('../source/modules/smart.accordion');
315326
}
316327
// Gets the properties of the React component.
317328
get properties() {
318-
return ["animation", "disabled", "expandedIndexes", "expandMode", "locale", "localizeFormatFunction", "messages", "readonly", "reorder", "rightToLeft", "theme", "unfocusable"];
329+
return ["animation", "dataSource", "disabled", "expandedIndexes", "expandMode", "locale", "localizeFormatFunction", "messages", "readonly", "reorder", "rightToLeft", "theme", "unfocusable"];
319330
}
320331
// Gets the events of the React component.
321332
get eventListeners() {

button/button.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ class ToggleButton extends React.Component {
434434
}
435435
// Gets the events of the React component.
436436
get eventListeners() {
437-
return ["onChange", "onCreate", "onReady"];
437+
return ["onChange", "onCheckValue", "onUncheckValue", "onCreate", "onReady"];
438438
}
439439
componentDidRender(initialize) {
440440
const that = this;

button/button.umd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ require('../source/modules/smart.button');
440440
}
441441
// Gets the events of the React component.
442442
get eventListeners() {
443-
return ["onChange", "onCreate", "onReady"];
443+
return ["onChange", "onCheckValue", "onUncheckValue", "onCreate", "onReady"];
444444
}
445445
componentDidRender(initialize) {
446446
const that = this;

button/dropdownbutton.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export declare class DropDownButton extends React.Component<React.HTMLAttributes
4242
get disabled(): boolean;
4343
set disabled(value: boolean);
4444
/** Sets the parent container of the dropDown (the popup). Used when a CSS property of unknowned parent is interfering with the visibility of the dropDown.
45-
* Property type: any
45+
* Property type: string
4646
*/
47-
get dropDownAppendTo(): any;
48-
set dropDownAppendTo(value: any);
47+
get dropDownAppendTo(): string;
48+
set dropDownAppendTo(value: string);
4949
/** Determines the position of the drop down button.
5050
* Property type: DropDownButtonPosition
5151
*/

button/multisplitbutton.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ export declare class MultiSplitButton extends React.Component<React.HTMLAttribut
6060
*/
6161
get displayMember(): string;
6262
set displayMember(value: string);
63-
/** Sets the parent container of the button's dropDown list (the popup). Used when a CSS property of unknowned parent is interfering with the visibility of the dropDown list.
64-
* Property type: any
63+
/** Sets the parent container of the button's dropDown list (the popup). The expected value is CSS Selector, ID or 'body'. Used when a CSS property of unknowned parent is interfering with the visibility of the dropDown list.
64+
* Property type: string
6565
*/
66-
get dropDownAppendTo(): any;
67-
set dropDownAppendTo(value: any);
66+
get dropDownAppendTo(): string;
67+
set dropDownAppendTo(value: string);
6868
/** Determines position of the drop down button.
6969
* Property type: DropDownButtonPosition
7070
*/

button/radiobutton.d.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export interface RadioButtonProps extends RadioButtonProperties {
88
className?: string;
99
style?: React.CSSProperties;
1010
onChange?: ((event?: Event) => void) | undefined;
11+
onCheckValue?: ((event?: Event) => void) | undefined;
12+
onUncheckValue?: ((event?: Event) => void) | undefined;
1113
onCreate?: ((event?: Event) => void) | undefined;
1214
onReady?: ((event?: Event) => void) | undefined;
1315
}
@@ -101,8 +103,22 @@ export declare class RadioButton extends React.Component<React.HTMLAttributes<El
101103
set value(value: string);
102104
get properties(): string[];
103105
/** This event is triggered when the widget is checked/unchecked.
104-
* @param event. The custom event. */
106+
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue, changeType)
107+
* value - A boolean value indicating the new state of the button ( checked or not ).
108+
* oldValue - A boolean value indicating the previous state of the button ( checked or not ).
109+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
110+
*/
105111
onChange?: ((event?: Event) => void) | undefined;
112+
/** This event is triggered when the widget is checked.
113+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
114+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
115+
*/
116+
onCheckValue?: ((event?: Event) => void) | undefined;
117+
/** This event is triggered when the widget is unchecked.
118+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
119+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
120+
*/
121+
onUncheckValue?: ((event?: Event) => void) | undefined;
106122
/** This event occurs, when the React component is created.
107123
* @param event. The custom event. */
108124
onCreate?: ((event?: Event) => void) | undefined;

button/switchbutton.d.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export interface SwitchButtonProps extends SwitchButtonProperties {
88
className?: string;
99
style?: React.CSSProperties;
1010
onChange?: ((event?: Event) => void) | undefined;
11+
onCheckValue?: ((event?: Event) => void) | undefined;
12+
onUncheckValue?: ((event?: Event) => void) | undefined;
1113
onCreate?: ((event?: Event) => void) | undefined;
1214
onReady?: ((event?: Event) => void) | undefined;
1315
}
@@ -121,8 +123,22 @@ export declare class SwitchButton extends React.Component<React.HTMLAttributes<E
121123
set value(value: string);
122124
get properties(): string[];
123125
/** This event is triggered when the widget is checked/unchecked.
124-
* @param event. The custom event. */
126+
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue, changeType)
127+
* value - A boolean value indicating the new state of the button ( checked or not ).
128+
* oldValue - A boolean value indicating the previous state of the button ( checked or not ).
129+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
130+
*/
125131
onChange?: ((event?: Event) => void) | undefined;
132+
/** This event is triggered when the widget is checked.
133+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
134+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
135+
*/
136+
onCheckValue?: ((event?: Event) => void) | undefined;
137+
/** This event is triggered when the widget is unchecked.
138+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
139+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
140+
*/
141+
onUncheckValue?: ((event?: Event) => void) | undefined;
126142
/** This event occurs, when the React component is created.
127143
* @param event. The custom event. */
128144
onCreate?: ((event?: Event) => void) | undefined;

button/togglebutton.d.ts

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ export interface ToggleButtonProps extends ToggleButtonProperties {
88
className?: string;
99
style?: React.CSSProperties;
1010
onChange?: ((event?: Event) => void) | undefined;
11+
onCheckValue?: ((event?: Event) => void) | undefined;
12+
onUncheckValue?: ((event?: Event) => void) | undefined;
1113
onCreate?: ((event?: Event) => void) | undefined;
1214
onReady?: ((event?: Event) => void) | undefined;
1315
}
@@ -85,9 +87,23 @@ export declare class ToggleButton extends React.Component<React.HTMLAttributes<E
8587
get value(): string;
8688
set value(value: string);
8789
get properties(): string[];
88-
/** This event is triggered when the state of the element is changed.
89-
* @param event. The custom event. */
90+
/** This event is triggered when the widget is checked/unchecked.
91+
* @param event. The custom event. Custom event was created with: event.detail( value, oldValue, changeType)
92+
* value - A boolean value indicating the new state of the button ( checked or not ).
93+
* oldValue - A boolean value indicating the previous state of the button ( checked or not ).
94+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
95+
*/
9096
onChange?: ((event?: Event) => void) | undefined;
97+
/** This event is triggered when the widget is checked.
98+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
99+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
100+
*/
101+
onCheckValue?: ((event?: Event) => void) | undefined;
102+
/** This event is triggered when the widget is unchecked.
103+
* @param event. The custom event. Custom event was created with: event.detail( changeType)
104+
* changeType - A string flag indicating whether the change event was triggered via API or an event.
105+
*/
106+
onUncheckValue?: ((event?: Event) => void) | undefined;
91107
/** This event occurs, when the React component is created.
92108
* @param event. The custom event. */
93109
onCreate?: ((event?: Event) => void) | undefined;

0 commit comments

Comments
 (0)