Skip to content

Commit efeda8e

Browse files
committed
up
1 parent 4b9935c commit efeda8e

File tree

1,589 files changed

+68429
-34787
lines changed

Some content is hidden

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

1,589 files changed

+68429
-34787
lines changed

accordion/accordion.d.ts

Lines changed: 61 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -27,123 +27,123 @@ export declare class Accordion extends React.Component<React.HTMLAttributes<Elem
2727
private nativeElement;
2828
private componentRef;
2929
get id(): string;
30-
/** Sets or gets the animation mode. Animation is disabled when the property is set to 'none'
30+
/** Configures or retrieves the current animation mode. When set to 'none', all animations are disabled, resulting in instant transitions without animated effects. Setting this property to other supported values enables different animation behaviors.
3131
* Property type: Animation | string
3232
*/
3333
get animation(): Animation | string;
3434
set animation(value: Animation | string);
35-
/** Determines the data source that will be loaded to the Accordion.
35+
/** Specifies the data source to be loaded and displayed within the Accordion component. This property defines the collection of items or structured data that populates each section or panel of the Accordion, enabling dynamic rendering of its contents. The data source can typically be provided as an array of objects, JSON data, or via a remote endpoint depending on configuration.
3636
* Property type: any
3737
*/
3838
get dataSource(): any;
3939
set dataSource(value: any);
40-
/** Enables or disables the accordion. Disabled elements can not be interacted with.
40+
/** Controls whether the accordion component is enabled or disabled. When set to disabled, all interactive functionality is turned off—users cannot expand, collapse, or interact with any accordion sections. Disabled accordions appear visually inactive to indicate their non-interactive state.
4141
* Property type: boolean
4242
*/
4343
get disabled(): boolean;
4444
set disabled(value: boolean);
45-
/** Sets or gets the expanded item indexes. Using this property items can be expanded by passing in their indexes. The number of expanded items is limited by the expandMode.
45+
/** Sets or retrieves the indexes of currently expanded items. By assigning an array of item indexes to this property, you can programmatically expand those specific items. The maximum number of items that can be expanded at once depends on the value specified in the expandMode property (for example, single or multiple expansion modes). When getting this property, it returns an array of the indexes of all expanded items.
4646
* Property type: number[]
4747
*/
4848
get expandedIndexes(): number[];
4949
set expandedIndexes(value: number[]);
50-
/** Sets or gets the expand mode. Expand mode determines how the items will expand or collapse.
50+
/** Sets or retrieves the current expand mode. The expand mode specifies how list or group items behave when expanding or collapsing—such as allowing multiple items to expand simultaneously or restricting expansion to a single item at a time.
5151
* Property type: AccordionExpandMode | string
5252
*/
5353
get expandMode(): AccordionExpandMode | string;
5454
set expandMode(value: AccordionExpandMode | string);
55-
/** Sets or gets the unlockKey which unlocks the product.
55+
/** Retrieves or assigns the 'unlockKey' property, which serves as the access credential required to unlock and activate the product's full features.
5656
* Property type: string
5757
*/
5858
get unlockKey(): string;
5959
set unlockKey(value: string);
60-
/** Sets or gets the language. Used in conjunction with the property messages.
60+
/** Sets or retrieves the current language code (e.g., "en", "fr") for the component. This property works together with the messages property to determine which language-specific messages or translations are displayed. Use this to localize your application content based on user preference or locale.
6161
* Property type: string
6262
*/
6363
get locale(): string;
6464
set locale(value: string);
65-
/** Callback used to customize the format of the messages that are returned from the Localization Module.
65+
/** A callback function that allows you to customize the formatting of messages returned by the Localization Module. Use this to modify or enhance localized message output—such as applying dynamic content, adjusting text structure, or handling language-specific variations—before the messages are delivered to the client application.
6666
* Property type: any
6767
*/
6868
get localizeFormatFunction(): any;
6969
set localizeFormatFunction(value: any);
70-
/** Sets or gets an object specifying strings used in the widget that can be localized. Used in conjunction with the property locale.
70+
/** Specifies or retrieves an object containing the localized strings used throughout the widget interface. This allows you to define custom translations for various UI elements in different languages. Used together with the locale property to enable localization and internationalization support within the widget.
7171
* Property type: any
7272
*/
7373
get messages(): any;
7474
set messages(value: any);
75-
/** Determines if the element is readonly or not. If the element true, users cannot interact with it.
75+
/** Indicates whether the element is read-only. When set to true, the element cannot be modified or interacted with by users; its value is fixed and user input is disabled. If false, the element remains editable and interactive.
7676
* Property type: boolean
7777
*/
7878
get readonly(): boolean;
7979
set readonly(value: boolean);
80-
/** Enables or disables accordion reordering.
80+
/** Controls whether users can reorder accordion items by dragging and dropping them. When enabled, items within the accordion component can be rearranged interactively; when disabled, the order of items remains fixed.
8181
* Property type: boolean
8282
*/
8383
get reorder(): boolean;
8484
set reorder(value: boolean);
85-
/** Sets or gets the value indicating whether the element is aligned to support locales using right-to-left fonts.
85+
/** Specifies or retrieves a value that determines whether the element is aligned to accommodate right-to-left (RTL) languages and scripts, such as Arabic or Hebrew. This property ensures the element’s layout and text direction are properly adjusted to support RTL localization.
8686
* Property type: boolean
8787
*/
8888
get rightToLeft(): boolean;
8989
set rightToLeft(value: boolean);
90-
/** Determines the theme. Theme defines the look of the element
90+
/** Specifies the theme to be applied, which controls the overall appearance and visual style of the element, including aspects such as colors, fonts, and background.
9191
* Property type: string
9292
*/
9393
get theme(): string;
9494
set theme(value: string);
95-
/** Determines whether the element can be focused or not.
95+
/** Specifies whether the element is capable of receiving keyboard focus, allowing users to navigate to it using the keyboard (such as the Tab key) and interact with it through assistive technologies.
9696
* Property type: boolean
9797
*/
9898
get unfocusable(): boolean;
9999
set unfocusable(value: boolean);
100100
get properties(): string[];
101-
/** This event is triggered when an item is collapsed.
101+
/** Triggered when an item has completed its collapse animation and is no longer expanded or visible. This event occurs only after the item is fully collapsed, ensuring that any associated transitions or content hiding have finished.
102102
* @param event. The custom event. Custom event was created with: event.detail( content, index, label)
103-
* content - The content of the item.
104-
* index - The index of the item.
105-
* label - The label of the item
103+
* content - The collapsed item's content.
104+
* index - The index of the collapsed item.
105+
* label - The label of the collapsed item.
106106
*/
107107
onCollapse?: ((event?: Event) => void) | undefined;
108-
/** This event is triggered when an item is going to be collapsed.
108+
/** Fires immediately before an item begins its collapse animation, allowing you to perform actions or prevent the collapse from occurring.
109109
* @param event. The custom event. Custom event was created with: event.detail( content, index, label)
110-
* content - The content of the item.
111-
* index - The index of the item.
112-
* label - The label of the item
110+
* content - The item content.
111+
* index - The item's index.
112+
* label - The item's label.
113113
*/
114114
onCollapsing?: ((event?: Event) => void) | undefined;
115-
/** This event is triggered when a reordering operation is completed.
115+
/** Triggered when a user completes a drag-and-drop action to reorder items, indicating that the new order has been finalized and can be processed (e.g., saved or updated in the UI or backend).
116116
* @param event. The custom event. Custom event was created with: event.detail( position, target, content, index, label)
117-
* position - The current top and left position of the item that was dragged.
118-
* target - The item that was dragged.
119-
* content - The content of the item.
120-
* index - The index of the item.
121-
* label - The label of the item.
117+
* position - Current top and left coordinates of the dragged item.
118+
* target - The dragged item element.
119+
* content - The dragged item's content.
120+
* index - The dragged item's index.
121+
* label - The dragged item's label.
122122
*/
123123
onDragEnd?: ((event?: Event) => void) | undefined;
124-
/** This event is triggered when a reordering operation is started.
124+
/** Fires when the user initiates a drag-and-drop reorder action, signaling the start of an item being moved within a sortable list or container. This event provides an opportunity to perform setup tasks, such as highlighting the item being dragged or preparing the UI for reordering.
125125
* @param event. The custom event. Custom event was created with: event.detail( position, target, content, index, label)
126-
* position - The current top and left position of the item that is about to be dragged.
127-
* target - The item that is about to be dragged.
128-
* content - The content of the item.
129-
* index - The index of the item.
130-
* label - The label of the item.
126+
* position - Initial top and left coordinates of the item being dragged.
127+
* target - The item element being dragged.
128+
* content - The dragged item's content.
129+
* index - The dragged item's index.
130+
* label - The dragged item's label.
131131
*/
132132
onDragStart?: ((event?: Event) => void) | undefined;
133-
/** This event is triggered when an item is expanded.
133+
/** Triggered when an item has completed its expansion and is fully visible to the user. This event occurs after any expansion animations or transitions have finished, ensuring that the item's contents are now accessible for interaction.
134134
* @param event. The custom event. Custom event was created with: event.detail( position, target, content, index, label)
135-
* position - The current top and left position of the item.
136-
* target - The item that was dragged.
137-
* content - The content of the item.
138-
* index - The index of the item.
139-
* label - The label of the item.
135+
* position - Current top and left coordinates of the expanded item.
136+
* target - The expanded item element.
137+
* content - The expanded item's content.
138+
* index - The expanded item's index.
139+
* label - The expanded item's label.
140140
*/
141141
onExpand?: ((event?: Event) => void) | undefined;
142-
/** This event is triggered when an item is going to be expanded.
142+
/** Fires immediately before an item begins its expansion process, allowing you to perform actions or modify data right before the expansion occurs. This event provides an opportunity to prevent the expansion or make adjustments as needed.
143143
* @param event. The custom event. Custom event was created with: event.detail( content, index, label)
144-
* content - The content of the item.
145-
* index - The index of the item.
146-
* label - The label of the item
144+
* content - The content of the item being expanded.
145+
* index - The index of the item being expanded.
146+
* label - The label of the item being expanded.
147147
*/
148148
onExpanding?: ((event?: Event) => void) | undefined;
149149
/** This event occurs, when the React component is created.
@@ -153,28 +153,33 @@ export declare class Accordion extends React.Component<React.HTMLAttributes<Elem
153153
* @param event. The custom event. */
154154
onReady?: ((event?: Event) => void) | undefined;
155155
get eventListeners(): string[];
156-
/** Collapses an item at a specified index.
157-
* @param {number} position. The index of the collapsed item.
156+
/** Collapses the item located at the specified index, hiding its associated content or details from view. This action typically updates the user interface to indicate that the item is no longer expanded.
157+
* @param {number} position. Index of the item to collapse.
158158
*/
159159
collapse(position: number): void;
160-
/** Expands an item at a specified index.
161-
* @param {number} position. The index of the expanded item.
160+
/** Expands the item located at the specified index in the collection, making its detailed content visible or accessible to the user.
161+
* @param {number} position. Index of the item to expand.
162162
*/
163163
expand(position: number): void;
164-
/** Inserts a new item at a specified index.
165-
* @param {number} index. The index where the item must be inserted.
166-
* @param {any} item. An object containing the values for the properties of the new item to be inserted.
164+
/** Inserts a new item into the array at the specified index, shifting existing elements to the right to accommodate the new entry. If the specified index is out of range, the operation will either append the item to the end or return an error, depending on the implementation.
165+
* @param {number} index. Index where the new item will be inserted.
166+
* @param {any} item. Object representing the new item's properties.
167167
*/
168168
insert(index: number, item: any): void;
169-
/** Removes an item at a specified index.
170-
* @param {number} position. The index of the item to be removed.
169+
/** Removes the item located at the specified index from the array, shifting subsequent items one position to the left. The array's length is reduced by one, and the removed item is no longer accessible.
170+
* @param {number} position. Index of the item to remove.
171171
*/
172172
removeAt(position: number): void;
173-
/** Updates an item from the element.
174-
* @param {number} index. The index of the item to be updated.
175-
* @param {any} settings. An object containing the values for the properties of the item that will be updated.
173+
/** Replaces the item at the given index in the collection with an updated version, incorporating the specified new property values while preserving any unchanged properties.
174+
* @param {number} index. Index of the item to update.
175+
* @param {any} settings. Object containing updated property values for the item.
176176
*/
177177
update(index: number, settings: any): void;
178+
/** Sets the locale of a component.
179+
* @param {string} locale. The locale abbreviation. For example: 'de'.
180+
* @param {any} messages?. Object containing the locale messages.
181+
*/
182+
setLocale(locale: string, messages?: any): void;
178183
constructor(props: any);
179184
componentDidRender(initialize: boolean): void;
180185
componentDidMount(): void;

0 commit comments

Comments
 (0)