Skip to content

Commit fb1aab5

Browse files
committed
10.0.0
1 parent 99d34fe commit fb1aab5

File tree

692 files changed

+218632
-33728
lines changed

Some content is hidden

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

692 files changed

+218632
-33728
lines changed

alertwindow/alertwindow.d.ts

Lines changed: 505 additions & 0 deletions
Large diffs are not rendered by default.

alertwindow/alertwindow.esm.js

Lines changed: 1146 additions & 0 deletions
Large diffs are not rendered by default.

alertwindow/alertwindow.umd.js

Lines changed: 1157 additions & 0 deletions
Large diffs are not rendered by default.

alertwindow/package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"main": "alertwindow.umd.js",
3+
"module": "alertwindow.esm.js",
4+
"typings": "alertwindow.d.ts",
5+
"name": "smart-webcomponents-react/alertwindow",
6+
"sideEffects": false
7+
}

button/multisplitbutton.d.ts

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export declare const Smart: any;
1111
export interface MultiSplitButtonProps extends MultiSplitButtonProperties {
1212
className?: string;
1313
style?: React.CSSProperties;
14+
onButtonClick?: ((event?: Event) => void) | undefined;
1415
onChange?: ((event?: Event) => void) | undefined;
1516
onClose?: ((event?: Event) => void) | undefined;
1617
onClosing?: ((event?: Event) => void) | undefined;
@@ -206,17 +207,34 @@ export declare class MultiSplitButton extends React.Component<React.HTMLAttribut
206207
get virtualized(): boolean;
207208
set virtualized(value: boolean);
208209
get properties(): string[];
209-
/** This event is triggered when button's dropDown selection is changed.
210+
/** This event is triggered when action button is clicked.
210211
* @param event. The custom event. */
212+
onButtonClick?: ((event?: Event) => void) | undefined;
213+
/** This event is triggered when the selection is changed.
214+
* @param event. The custom event. Custom event was created with: event.detail( addedItems, disabled, index, label, removedItems, selected, value)
215+
* addedItems - An array of List items that have been selected.
216+
* disabled - A flag indicating whether or not the item that caused the change event is disabled.
217+
* index - The index of the List item that triggered the event.
218+
* label - The label of the List item that triggered the event.
219+
* removedItems - An array of List items that have been unselected before the event was fired.
220+
* selected - The selected state of the List item that triggered the event. If an item was selected the value will be true and vice versa.
221+
* value - The value of the List item that triggered the event.
222+
*/
211223
onChange?: ((event?: Event) => void) | undefined;
212224
/** This event is triggered when button's dropDown list is closed.
213225
* @param event. The custom event. */
214226
onClose?: ((event?: Event) => void) | undefined;
215227
/** This event is triggered when button's dropDown list is closing.
216228
* @param event. The custom event. */
217229
onClosing?: ((event?: Event) => void) | undefined;
218-
/** This event is triggered when user clicks any of the element's buttons or button's dropDown items.
219-
* @param event. The custom event. */
230+
/** This event is triggered when an item is clicked.
231+
* @param event. The custom event. Custom event was created with: event.detail( disabled, index, label, selected, value)
232+
* disabled - Indicates whether the List item that was clicked is disabled or not.
233+
* index - Indicates the index of the List item that was clicked.
234+
* label - The label of the List item that was clicked.
235+
* selected - Indicates whether the List item that was clicked is selected or not.
236+
* value - The value of the List item that was clicked.
237+
*/
220238
onItemClick?: ((event?: Event) => void) | undefined;
221239
/** This event is triggered when button's dropDown list is opened.
222240
* @param event. The custom event. */

card/cardview.d.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
22
import { CardViewProperties } from "./../index";
3-
import { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn } from './../index';
3+
import { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings } from './../index';
44
export { CardViewProperties } from "./../index";
5-
export { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn } from './../index';
5+
export { Animation, Orientation, CardViewColumnDataType, CardViewCoverMode, DataSourceSettingsSanitizeHTML, DataSourceSettingsDataFieldDataType, DataSourceSettingsDataSourceType, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings, DataSourceSettingsDataField } from './../index';
66
export { DataAdapter } from './../index';
77
export declare const Smart: any;
88
export interface CardViewProps extends CardViewProperties {
@@ -78,6 +78,11 @@ export declare class CardView extends React.Component<React.HTMLAttributes<Eleme
7878
*/
7979
get dataSource(): any;
8080
set dataSource(value: any);
81+
/** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
82+
* Property type: DataSourceSettings
83+
*/
84+
get dataSourceSettings(): DataSourceSettings;
85+
set dataSourceSettings(value: DataSourceSettings);
8186
/** Allows the edit option for the cards.
8287
* Property type: boolean
8388
*/
@@ -98,6 +103,16 @@ export declare class CardView extends React.Component<React.HTMLAttributes<Eleme
98103
*/
99104
get messages(): any;
100105
set messages(value: any);
106+
/** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
107+
* Property type: boolean
108+
*/
109+
get rightToLeft(): boolean;
110+
set rightToLeft(value: boolean);
111+
/** Determines the theme. Theme defines the look of the element
112+
* Property type: string
113+
*/
114+
get theme(): string;
115+
set theme(value: string);
101116
/** Describes the scrolling behavior of the element.
102117
* Property type: Scrolling
103118
*/

cardview/cardview.d.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
22
import { CardViewProperties } from "./../index";
3-
import { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn } from './../index';
3+
import { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings } from './../index';
44
export { CardViewProperties } from "./../index";
5-
export { Animation, Orientation, CardViewCoverMode, CardViewHeaderPosition, Scrolling, CardViewColumn } from './../index';
5+
export { Animation, Orientation, CardViewColumnDataType, CardViewCoverMode, DataSourceSettingsSanitizeHTML, DataSourceSettingsDataFieldDataType, DataSourceSettingsDataSourceType, CardViewHeaderPosition, Scrolling, CardViewColumn, DataSourceSettings, DataSourceSettingsDataField } from './../index';
66
export { DataAdapter } from './../index';
77
export declare const Smart: any;
88
export interface CardViewProps extends CardViewProperties {
@@ -78,6 +78,11 @@ export declare class CardView extends React.Component<React.HTMLAttributes<Eleme
7878
*/
7979
get dataSource(): any;
8080
set dataSource(value: any);
81+
/** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
82+
* Property type: DataSourceSettings
83+
*/
84+
get dataSourceSettings(): DataSourceSettings;
85+
set dataSourceSettings(value: DataSourceSettings);
8186
/** Allows the edit option for the cards.
8287
* Property type: boolean
8388
*/
@@ -98,6 +103,16 @@ export declare class CardView extends React.Component<React.HTMLAttributes<Eleme
98103
*/
99104
get messages(): any;
100105
set messages(value: any);
106+
/** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
107+
* Property type: boolean
108+
*/
109+
get rightToLeft(): boolean;
110+
set rightToLeft(value: boolean);
111+
/** Determines the theme. Theme defines the look of the element
112+
* Property type: string
113+
*/
114+
get theme(): string;
115+
set theme(value: string);
101116
/** Describes the scrolling behavior of the element.
102117
* Property type: Scrolling
103118
*/

cardview/cardview.esm.js

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ class CardView extends React.Component {
154154
this.nativeElement.dataSource = value;
155155
}
156156
}
157+
/** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
158+
* Property type: DataSourceSettings
159+
*/
160+
get dataSourceSettings() {
161+
return this.nativeElement ? this.nativeElement.dataSourceSettings : undefined;
162+
}
163+
set dataSourceSettings(value) {
164+
if (this.nativeElement) {
165+
this.nativeElement.dataSourceSettings = value;
166+
}
167+
}
157168
/** Allows the edit option for the cards.
158169
* Property type: boolean
159170
*/
@@ -198,6 +209,28 @@ class CardView extends React.Component {
198209
this.nativeElement.messages = value;
199210
}
200211
}
212+
/** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
213+
* Property type: boolean
214+
*/
215+
get rightToLeft() {
216+
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
217+
}
218+
set rightToLeft(value) {
219+
if (this.nativeElement) {
220+
this.nativeElement.rightToLeft = value;
221+
}
222+
}
223+
/** Determines the theme. Theme defines the look of the element
224+
* Property type: string
225+
*/
226+
get theme() {
227+
return this.nativeElement ? this.nativeElement.theme : undefined;
228+
}
229+
set theme(value) {
230+
if (this.nativeElement) {
231+
this.nativeElement.theme = value;
232+
}
233+
}
201234
/** Describes the scrolling behavior of the element.
202235
* Property type: Scrolling
203236
*/
@@ -222,7 +255,7 @@ class CardView extends React.Component {
222255
}
223256
// Gets the properties of the React component.
224257
get properties() {
225-
return ["addNewButton", "allowDrag", "animation", "cardHeight", "cellOrientation", "collapsible", "columns", "coverField", "coverMode", "dataSource", "editable", "headerPosition", "locale", "messages", "scrolling", "titleField"];
258+
return ["addNewButton", "allowDrag", "animation", "cardHeight", "cellOrientation", "collapsible", "columns", "coverField", "coverMode", "dataSource", "dataSourceSettings", "editable", "headerPosition", "locale", "messages", "rightToLeft", "theme", "scrolling", "titleField"];
226259
}
227260
// Gets the events of the React component.
228261
get eventListeners() {

cardview/cardview.umd.js

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,17 @@ require('../source/modules/smart.cardview');
160160
this.nativeElement.dataSource = value;
161161
}
162162
}
163+
/** Sets the grid's data source settings when the dataSource property is set to an Array or URL.
164+
* Property type: DataSourceSettings
165+
*/
166+
get dataSourceSettings() {
167+
return this.nativeElement ? this.nativeElement.dataSourceSettings : undefined;
168+
}
169+
set dataSourceSettings(value) {
170+
if (this.nativeElement) {
171+
this.nativeElement.dataSourceSettings = value;
172+
}
173+
}
163174
/** Allows the edit option for the cards.
164175
* Property type: boolean
165176
*/
@@ -204,6 +215,28 @@ require('../source/modules/smart.cardview');
204215
this.nativeElement.messages = value;
205216
}
206217
}
218+
/** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
219+
* Property type: boolean
220+
*/
221+
get rightToLeft() {
222+
return this.nativeElement ? this.nativeElement.rightToLeft : undefined;
223+
}
224+
set rightToLeft(value) {
225+
if (this.nativeElement) {
226+
this.nativeElement.rightToLeft = value;
227+
}
228+
}
229+
/** Determines the theme. Theme defines the look of the element
230+
* Property type: string
231+
*/
232+
get theme() {
233+
return this.nativeElement ? this.nativeElement.theme : undefined;
234+
}
235+
set theme(value) {
236+
if (this.nativeElement) {
237+
this.nativeElement.theme = value;
238+
}
239+
}
207240
/** Describes the scrolling behavior of the element.
208241
* Property type: Scrolling
209242
*/
@@ -228,7 +261,7 @@ require('../source/modules/smart.cardview');
228261
}
229262
// Gets the properties of the React component.
230263
get properties() {
231-
return ["addNewButton", "allowDrag", "animation", "cardHeight", "cellOrientation", "collapsible", "columns", "coverField", "coverMode", "dataSource", "editable", "headerPosition", "locale", "messages", "scrolling", "titleField"];
264+
return ["addNewButton", "allowDrag", "animation", "cardHeight", "cellOrientation", "collapsible", "columns", "coverField", "coverMode", "dataSource", "dataSourceSettings", "editable", "headerPosition", "locale", "messages", "rightToLeft", "theme", "scrolling", "titleField"];
232265
}
233266
// Gets the events of the React component.
234267
get eventListeners() {

0 commit comments

Comments
 (0)