xv-webcomponents 0.1.31 → 0.1.32
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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/xv-accordion-v2_26.cjs.entry.js +97 -41
- package/dist/cjs/xv-accordion-v2_26.cjs.entry.js.map +1 -1
- package/dist/cjs/xv-webcomponents.cjs.js +1 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +1 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +41 -10
- package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +1 -1
- package/dist/collection/components/xv-footer/xv-footer.js +1 -1
- package/dist/collection/components/xv-header/xv-header.js +1 -1
- package/dist/collection/components/xv-link/xv-link.css +5 -0
- package/dist/collection/components/xv-link/xv-link.js +3 -3
- package/dist/collection/components/xv-link/xv-link.js.map +1 -1
- package/dist/collection/components/xv-modal/xv-modal.css +3 -0
- package/dist/collection/components/xv-modal/xv-modal.js +31 -7
- package/dist/collection/components/xv-modal/xv-modal.js.map +1 -1
- package/dist/collection/components/xv-notification/xv-notification.js +3 -3
- package/dist/collection/components/xv-notification/xv-notification.js.map +1 -1
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu-item/xv-overflow-menu-item.js +1 -1
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.css +3 -0
- package/dist/collection/components/xv-overflow-menu/xv-overflow-menu.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator-item/xv-progress-indicator-item.js +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +1 -1
- package/dist/collection/components/xv-table/_vars.js.map +1 -1
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.css +10 -3
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js +10 -10
- package/dist/collection/components/xv-table/xv-table-cell/xv-table-cell.js.map +1 -1
- package/dist/collection/components/xv-table/xv-table-expand/xv-table-expand.js +1 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +8 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +33 -2
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +1 -1
- package/dist/collection/components/xv-table/xv-table.css +18 -0
- package/dist/collection/components/xv-table/xv-table.js +30 -4
- package/dist/collection/components/xv-table/xv-table.js.map +1 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.css +7 -0
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js +42 -1
- package/dist/collection/components/xv-tabs/xv-tab/xv-tab.js.map +1 -1
- package/dist/collection/components/xv-tabs/xv-tabs.css +55 -9
- package/dist/collection/components/xv-tabs/xv-tabs.js +90 -13
- package/dist/collection/components/xv-tabs/xv-tabs.js.map +1 -1
- package/dist/collection/components/xv-tag/xv-tag.js +1 -1
- package/dist/collection/components/xv-text-input/xv-text-input.js +44 -1
- package/dist/collection/components/xv-text-input/xv-text-input.js.map +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +6 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +22 -3
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/xv-accordion-v2_26.entry.js +97 -41
- package/dist/esm/xv-accordion-v2_26.entry.js.map +1 -1
- package/dist/esm/xv-webcomponents.js +1 -1
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +2 -0
- package/dist/types/components/xv-link/xv-link.d.ts +1 -1
- package/dist/types/components/xv-modal/xv-modal.d.ts +5 -1
- package/dist/types/components/xv-table/_vars.d.ts +4 -0
- package/dist/types/components/xv-table/xv-table-cell/xv-table-cell.d.ts +3 -6
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +1 -0
- package/dist/types/components/xv-table/xv-table.d.ts +2 -1
- package/dist/types/components/xv-tabs/xv-tab/xv-tab.d.ts +2 -0
- package/dist/types/components/xv-tabs/xv-tabs.d.ts +16 -3
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +3 -0
- package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +1 -0
- package/dist/types/components.d.ts +92 -14
- package/dist/xv-webcomponents/p-51113bf3.entry.js +2 -0
- package/dist/xv-webcomponents/p-51113bf3.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/xv-webcomponents/p-e750290d.entry.js +0 -2
- package/dist/xv-webcomponents/p-e750290d.entry.js.map +0 -1
|
@@ -16,7 +16,7 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["xv-breadcrumbs-v2",[[1,"xv-breadcrumbs-v2"]]],["xv-accordion-v2_26",[[1,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":["checkedChangeHandle"]}],[1,"xv-
|
|
19
|
+
return bootstrapLazy([["xv-breadcrumbs-v2",[[1,"xv-breadcrumbs-v2"]]],["xv-accordion-v2_26",[[1,"xv-table-v2-row",{"checked":[1540],"partial":[1540],"name":[1537],"value":[520],"hover":[1540],"readonly":[516],"required":[516],"disabled":[516],"header":[516],"variant":[1537]},null,{"checked":["checkedChangeHandle"]}],[1,"xv-dropdown-v2",{"disabled":[516],"multiple":[516],"required":[516],"loading":[516],"open":[1540],"error":[513],"label":[513],"helper":[513],"warning":[513],"placeholder":[513],"size":[1],"defaultValue":[8,"default-value"],"selected":[32],"selectedMap":[32]},[[0,"itemSelected","handleItemSelected"]],{"open":["openChangeHandle"]}],[1,"xv-tab-v2",{"label":[513],"disabled":[516],"loading":[516],"name":[8]}],[1,"xv-table-v2",{"size":[513],"hover":[516],"loading":[516],"colsSize":[16],"selected":[32],"selectedCount":[32]},[[0,"checkedChange","handleCheckedChange"]],{"colsSize":["setColsSizeTemplate"]}],[1,"xv-tabs-v2",{"active":[1544],"loading":[516],"variant":[1],"emptyMessage":[1,"empty-message"],"showArrows":[516,"show-arrows"],"tabElements":[32]}],[65,"xv-text-input-v2",{"label":[513],"placeholder":[513],"helper":[513],"name":[513],"size":[513],"status":[513],"value":[1537],"disabled":[516],"readonly":[516],"loading":[516]}],[1,"xv-accordion-v2",{"multiple":[4],"xvId":[1,"xv-id"],"value":[1025],"opened":[32],"toggleItem":[64]}],[1,"xv-accordion-v2-item",{"disabled":[4],"label":[1],"value":[1],"isOpen":[32]},[[16,"accordionChange","handleAccordionChange"]]],[1,"xv-button-v2",{"label":[1],"block":[4],"type":[1],"variant":[1],"disabled":[4]}],[1,"xv-card-v2",{"variant":[1],"media":[1],"header":[1],"body":[1],"footer":[1]}],[1,"xv-dropdown-v2-item",{"disabled":[4],"value":[1544],"selected":[1540]},[[0,"click","handleClick"]]],[0,"xv-footer",{"htmlContent":[32]}],[0,"xv-header",{"htmlContent":[32]}],[1,"xv-link-v2",{"href":[1],"target":[1],"disabled":[4],"size":[1],"variant":[1]}],[1,"xv-modal-v2",{"open":[1540],"permanent":[516],"size":[513],"overflow":[516],"openModal":[64],"closeModal":[64]}],[1,"xv-notification-v2",{"variant":[513],"dismissible":[516]}],[1,"xv-overflow-menu-v2",{"open":[1540],"disabled":[516],"position":[1],"size":[1]},[[0,"keydown","handleKeyDown"]],{"open":["openChangeHandle"]}],[1,"xv-overflow-menu-v2-item",{"disabled":[516],"value":[520],"variant":[1]},[[0,"click","handleClick"]]],[1,"xv-progress-indicator-v2",{"progress":[514],"variant":[1],"size":[1]},null,{"progress":["updateChildItems"]}],[1,"xv-progress-indicator-v2-item",{"status":[1]}],[1,"xv-table-v2-expand",{"open":[1540],"disabled":[516]}],[1,"xv-tag-v2",{"size":[1],"color":[1],"bg":[1],"disabled":[4],"closeable":[4]}],[1,"xv-tooltip-v2",{"message":[513],"position":[513],"multiline":[516]}],[65,"xv-checkbox-v2",{"checked":[1540],"indeterminate":[516],"disabled":[516],"name":[513],"value":[513],"readonly":[516],"required":[516],"partial":[516],"label":[1],"size":[513],"error":[520],"hasFocus":[32]},null,{"checked":["onCheckedChange"]}],[1,"xv-table-v2-cell",{"multiline":[516],"name":[1537],"align":[513],"sort":[1537]},[[0,"click","handleSort"]]],[1,"xv-loader-v2",{"show":[4],"variant":[1],"size":[1]}]]]], options);
|
|
20
20
|
});
|
|
21
21
|
|
|
22
22
|
//# sourceMappingURL=xv-webcomponents.js.map
|
|
@@ -6,6 +6,7 @@ export declare class XvDropdown {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
multiple?: boolean;
|
|
8
8
|
required?: boolean;
|
|
9
|
+
loading?: boolean;
|
|
9
10
|
open?: boolean;
|
|
10
11
|
error?: string;
|
|
11
12
|
label?: string;
|
|
@@ -29,4 +30,5 @@ export declare class XvDropdown {
|
|
|
29
30
|
componentWillLoad(): void;
|
|
30
31
|
componentDidLoad(): void;
|
|
31
32
|
disconnectedCallback(): void;
|
|
33
|
+
private renderIcon;
|
|
32
34
|
}
|
|
@@ -3,7 +3,7 @@ export declare class XvLink {
|
|
|
3
3
|
target: '_self' | '_blank' | '_parent' | '_top';
|
|
4
4
|
disabled: boolean;
|
|
5
5
|
size: 'sm' | 'md' | 'lg';
|
|
6
|
-
variant: 'standalone' | 'inline';
|
|
6
|
+
variant: 'standalone' | 'inline' | 'ghost';
|
|
7
7
|
preventLinkHandler(e: PointerEvent): void;
|
|
8
8
|
render(): any;
|
|
9
9
|
}
|
|
@@ -14,7 +14,11 @@ export declare class XvModal {
|
|
|
14
14
|
* Size of modal. But max size is 90% view width
|
|
15
15
|
*/
|
|
16
16
|
size: SIZE_VAR;
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
|
+
* When need scroll modal content
|
|
19
|
+
*/
|
|
20
|
+
overflow: boolean;
|
|
21
|
+
openChange: EventEmitter<boolean>;
|
|
18
22
|
private triggerEl;
|
|
19
23
|
openModal(): Promise<boolean>;
|
|
20
24
|
closeModal(): Promise<boolean>;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { XV_SORT_DIR } from '../_vars';
|
|
2
|
+
import { XV_SORT_DIR, XVTableSortDto } from '../_vars';
|
|
3
3
|
export declare class XvTableCell {
|
|
4
4
|
el: HTMLElement;
|
|
5
|
-
|
|
5
|
+
multiline?: boolean;
|
|
6
6
|
name?: string;
|
|
7
7
|
align?: 'left' | 'right' | 'center';
|
|
8
8
|
sort?: XV_SORT_DIR | '';
|
|
9
|
-
sortChange: EventEmitter<
|
|
10
|
-
name?: string;
|
|
11
|
-
value: XV_SORT_DIR;
|
|
12
|
-
}>;
|
|
9
|
+
sortChange: EventEmitter<XVTableSortDto>;
|
|
13
10
|
handleSort(): void;
|
|
14
11
|
render(): any;
|
|
15
12
|
}
|
|
@@ -3,6 +3,7 @@ import { SelectRowDto } from '../_vars';
|
|
|
3
3
|
export declare class XvTableRow {
|
|
4
4
|
el: HTMLElement;
|
|
5
5
|
checked?: SelectRowDto['checked'];
|
|
6
|
+
checkedChange: EventEmitter<SelectRowDto>;
|
|
6
7
|
partial?: SelectRowDto['partial'];
|
|
7
8
|
name?: SelectRowDto['name'];
|
|
8
9
|
value?: SelectRowDto['value'];
|
|
@@ -4,10 +4,11 @@ export declare class XvTable {
|
|
|
4
4
|
el: HTMLElement;
|
|
5
5
|
size?: SIZE_VAR;
|
|
6
6
|
hover?: boolean;
|
|
7
|
+
loading?: boolean;
|
|
7
8
|
colsSize?: (string | null)[];
|
|
8
9
|
selected: Map<string, SelectRowDto>;
|
|
9
10
|
selectedCount: number;
|
|
10
|
-
|
|
11
|
+
handleCheckedChange({ detail }: CustomEvent<SelectRowDto>): void;
|
|
11
12
|
private setColsSizeTemplate;
|
|
12
13
|
render(): any;
|
|
13
14
|
componentWillLoad(): void;
|
|
@@ -5,15 +5,27 @@ export declare class XvTabs {
|
|
|
5
5
|
/**
|
|
6
6
|
* Index of active tab
|
|
7
7
|
*/
|
|
8
|
-
active: number;
|
|
8
|
+
active: number | string;
|
|
9
|
+
/**
|
|
10
|
+
* Emit event to outside
|
|
11
|
+
*/
|
|
12
|
+
activeChange: EventEmitter<number | string>;
|
|
13
|
+
/**
|
|
14
|
+
* Show loader
|
|
15
|
+
*/
|
|
16
|
+
loading?: boolean;
|
|
9
17
|
/**
|
|
10
18
|
* Variant of tabs from TABS_VATIANT enum
|
|
11
19
|
*/
|
|
12
20
|
variant: TABS_VATIANT;
|
|
13
21
|
/**
|
|
14
|
-
*
|
|
22
|
+
* Message when have no tabs
|
|
23
|
+
*/
|
|
24
|
+
emptyMessage?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Message when have no tabs
|
|
15
27
|
*/
|
|
16
|
-
|
|
28
|
+
showArrows?: boolean;
|
|
17
29
|
/**
|
|
18
30
|
* local variable for tab labels collection
|
|
19
31
|
*/
|
|
@@ -21,6 +33,7 @@ export declare class XvTabs {
|
|
|
21
33
|
private collectTabs;
|
|
22
34
|
private updateTabClasses;
|
|
23
35
|
private handleTabClick;
|
|
36
|
+
private setTab;
|
|
24
37
|
render(): any;
|
|
25
38
|
componentWillLoad(): void;
|
|
26
39
|
componentDidRender(): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { SIZE_VAR } from '../../types/enum';
|
|
2
3
|
import { TextInputStatus } from './_vars';
|
|
3
4
|
/**
|
|
@@ -14,8 +15,10 @@ export declare class XvTextInput {
|
|
|
14
15
|
size: SIZE_VAR;
|
|
15
16
|
status: TextInputStatus;
|
|
16
17
|
value: string;
|
|
18
|
+
valueChange: EventEmitter<string>;
|
|
17
19
|
disabled: boolean;
|
|
18
20
|
readonly: boolean;
|
|
21
|
+
loading: boolean;
|
|
19
22
|
internals: ElementInternals;
|
|
20
23
|
private handleInput;
|
|
21
24
|
render(): any;
|
|
@@ -10,7 +10,7 @@ import { DropdownItemData } from "./components/xv-dropdown/_vars";
|
|
|
10
10
|
import { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
|
|
11
11
|
import { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
|
|
12
12
|
import { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
|
|
13
|
-
import { SelectRowDto, XV_SORT_DIR } from "./components/xv-table/_vars";
|
|
13
|
+
import { SelectRowDto, XV_SORT_DIR, XVTableSortDto } from "./components/xv-table/_vars";
|
|
14
14
|
import { TABS_VATIANT } from "./components/xv-tabs/_vars";
|
|
15
15
|
import { TextInputStatus } from "./components/xv-text-input/_vars";
|
|
16
16
|
export { SIZE_VAR } from "./types/enum";
|
|
@@ -18,7 +18,7 @@ export { DropdownItemData } from "./components/xv-dropdown/_vars";
|
|
|
18
18
|
export { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
|
|
19
19
|
export { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow-menu/_vars";
|
|
20
20
|
export { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
|
|
21
|
-
export { SelectRowDto, XV_SORT_DIR } from "./components/xv-table/_vars";
|
|
21
|
+
export { SelectRowDto, XV_SORT_DIR, XVTableSortDto } from "./components/xv-table/_vars";
|
|
22
22
|
export { TABS_VATIANT } from "./components/xv-tabs/_vars";
|
|
23
23
|
export { TextInputStatus } from "./components/xv-text-input/_vars";
|
|
24
24
|
export namespace Components {
|
|
@@ -118,6 +118,7 @@ export namespace Components {
|
|
|
118
118
|
"error"?: string;
|
|
119
119
|
"helper"?: string;
|
|
120
120
|
"label"?: string;
|
|
121
|
+
"loading"?: boolean;
|
|
121
122
|
"multiple"?: boolean;
|
|
122
123
|
"open"?: boolean;
|
|
123
124
|
"placeholder"?: string;
|
|
@@ -145,7 +146,7 @@ export namespace Components {
|
|
|
145
146
|
"href": string;
|
|
146
147
|
"size": 'sm' | 'md' | 'lg';
|
|
147
148
|
"target": '_self' | '_blank' | '_parent' | '_top';
|
|
148
|
-
"variant": 'standalone' | 'inline';
|
|
149
|
+
"variant": 'standalone' | 'inline' | 'ghost';
|
|
149
150
|
}
|
|
150
151
|
interface XvLoaderV2 {
|
|
151
152
|
/**
|
|
@@ -168,6 +169,10 @@ export namespace Components {
|
|
|
168
169
|
*/
|
|
169
170
|
"open": boolean;
|
|
170
171
|
"openModal": () => Promise<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* When need scroll modal content
|
|
174
|
+
*/
|
|
175
|
+
"overflow": boolean;
|
|
171
176
|
/**
|
|
172
177
|
* If true then modal not be closed on backdrop click
|
|
173
178
|
*/
|
|
@@ -212,17 +217,20 @@ export namespace Components {
|
|
|
212
217
|
interface XvTabV2 {
|
|
213
218
|
"disabled": boolean;
|
|
214
219
|
"label": string;
|
|
220
|
+
"loading": boolean;
|
|
221
|
+
"name"?: number | string;
|
|
215
222
|
}
|
|
216
223
|
interface XvTableV2 {
|
|
217
224
|
"colsSize"?: (string | null)[];
|
|
218
225
|
"hover"?: boolean;
|
|
226
|
+
"loading"?: boolean;
|
|
219
227
|
"size"?: SIZE_VAR;
|
|
220
228
|
}
|
|
221
229
|
interface XvTableV2Cell {
|
|
222
230
|
"align"?: 'left' | 'right' | 'center';
|
|
231
|
+
"multiline"?: boolean;
|
|
223
232
|
"name"?: string;
|
|
224
233
|
"sort"?: XV_SORT_DIR | '';
|
|
225
|
-
"width"?: string;
|
|
226
234
|
}
|
|
227
235
|
interface XvTableV2Expand {
|
|
228
236
|
"disabled": boolean;
|
|
@@ -244,7 +252,27 @@ export namespace Components {
|
|
|
244
252
|
/**
|
|
245
253
|
* Index of active tab
|
|
246
254
|
*/
|
|
247
|
-
"active": number;
|
|
255
|
+
"active": number | string;
|
|
256
|
+
/**
|
|
257
|
+
* Message when have no tabs
|
|
258
|
+
*/
|
|
259
|
+
"emptyMessage"?: string;
|
|
260
|
+
/**
|
|
261
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
262
|
+
*/
|
|
263
|
+
"empty-message"?: string;
|
|
264
|
+
/**
|
|
265
|
+
* Show loader
|
|
266
|
+
*/
|
|
267
|
+
"loading"?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* Message when have no tabs
|
|
270
|
+
*/
|
|
271
|
+
"showArrows"?: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
274
|
+
*/
|
|
275
|
+
"show-arrows"?: boolean;
|
|
248
276
|
/**
|
|
249
277
|
* Variant of tabs from TABS_VATIANT enum
|
|
250
278
|
*/
|
|
@@ -266,6 +294,7 @@ export namespace Components {
|
|
|
266
294
|
"disabled": boolean;
|
|
267
295
|
"helper": string;
|
|
268
296
|
"label"?: string;
|
|
297
|
+
"loading": boolean;
|
|
269
298
|
"name"?: string;
|
|
270
299
|
"placeholder"?: string;
|
|
271
300
|
"readonly": boolean;
|
|
@@ -278,6 +307,7 @@ export namespace Components {
|
|
|
278
307
|
* Message what will be shown for tooltip *
|
|
279
308
|
*/
|
|
280
309
|
"message": string;
|
|
310
|
+
"multiline": boolean;
|
|
281
311
|
/**
|
|
282
312
|
* Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
|
|
283
313
|
*/
|
|
@@ -340,6 +370,10 @@ export interface XvTagV2CustomEvent<T> extends CustomEvent<T> {
|
|
|
340
370
|
detail: T;
|
|
341
371
|
target: HTMLXvTagV2Element;
|
|
342
372
|
}
|
|
373
|
+
export interface XvTextInputV2CustomEvent<T> extends CustomEvent<T> {
|
|
374
|
+
detail: T;
|
|
375
|
+
target: HTMLXvTextInputV2Element;
|
|
376
|
+
}
|
|
343
377
|
declare global {
|
|
344
378
|
interface HTMLXvAccordionV2ElementEventMap {
|
|
345
379
|
"accordionChange": { opened: Set<string>, id: string };
|
|
@@ -489,7 +523,7 @@ declare global {
|
|
|
489
523
|
new (): HTMLXvLoaderV2Element;
|
|
490
524
|
};
|
|
491
525
|
interface HTMLXvModalV2ElementEventMap {
|
|
492
|
-
"
|
|
526
|
+
"openChange": boolean;
|
|
493
527
|
}
|
|
494
528
|
interface HTMLXvModalV2Element extends Components.XvModalV2, HTMLStencilElement {
|
|
495
529
|
addEventListener<K extends keyof HTMLXvModalV2ElementEventMap>(type: K, listener: (this: HTMLXvModalV2Element, ev: XvModalV2CustomEvent<HTMLXvModalV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -581,7 +615,7 @@ declare global {
|
|
|
581
615
|
new (): HTMLXvTableV2Element;
|
|
582
616
|
};
|
|
583
617
|
interface HTMLXvTableV2CellElementEventMap {
|
|
584
|
-
"sortChange":
|
|
618
|
+
"sortChange": XVTableSortDto;
|
|
585
619
|
}
|
|
586
620
|
interface HTMLXvTableV2CellElement extends Components.XvTableV2Cell, HTMLStencilElement {
|
|
587
621
|
addEventListener<K extends keyof HTMLXvTableV2CellElementEventMap>(type: K, listener: (this: HTMLXvTableV2CellElement, ev: XvTableV2CellCustomEvent<HTMLXvTableV2CellElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -604,6 +638,7 @@ declare global {
|
|
|
604
638
|
new (): HTMLXvTableV2ExpandElement;
|
|
605
639
|
};
|
|
606
640
|
interface HTMLXvTableV2RowElementEventMap {
|
|
641
|
+
"checkedChange": SelectRowDto;
|
|
607
642
|
"selectRow": SelectRowDto;
|
|
608
643
|
}
|
|
609
644
|
interface HTMLXvTableV2RowElement extends Components.XvTableV2Row, HTMLStencilElement {
|
|
@@ -621,7 +656,7 @@ declare global {
|
|
|
621
656
|
new (): HTMLXvTableV2RowElement;
|
|
622
657
|
};
|
|
623
658
|
interface HTMLXvTabsV2ElementEventMap {
|
|
624
|
-
"
|
|
659
|
+
"activeChange": number | string;
|
|
625
660
|
}
|
|
626
661
|
interface HTMLXvTabsV2Element extends Components.XvTabsV2, HTMLStencilElement {
|
|
627
662
|
addEventListener<K extends keyof HTMLXvTabsV2ElementEventMap>(type: K, listener: (this: HTMLXvTabsV2Element, ev: XvTabsV2CustomEvent<HTMLXvTabsV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -654,12 +689,23 @@ declare global {
|
|
|
654
689
|
prototype: HTMLXvTagV2Element;
|
|
655
690
|
new (): HTMLXvTagV2Element;
|
|
656
691
|
};
|
|
692
|
+
interface HTMLXvTextInputV2ElementEventMap {
|
|
693
|
+
"valueChange": string;
|
|
694
|
+
}
|
|
657
695
|
/**
|
|
658
696
|
* xv-text-input — custom input
|
|
659
697
|
* ti get data you can use default Input event
|
|
660
698
|
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
661
699
|
*/
|
|
662
700
|
interface HTMLXvTextInputV2Element extends Components.XvTextInputV2, HTMLStencilElement {
|
|
701
|
+
addEventListener<K extends keyof HTMLXvTextInputV2ElementEventMap>(type: K, listener: (this: HTMLXvTextInputV2Element, ev: XvTextInputV2CustomEvent<HTMLXvTextInputV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
702
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
703
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
704
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
705
|
+
removeEventListener<K extends keyof HTMLXvTextInputV2ElementEventMap>(type: K, listener: (this: HTMLXvTextInputV2Element, ev: XvTextInputV2CustomEvent<HTMLXvTextInputV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
706
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
707
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
708
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
663
709
|
}
|
|
664
710
|
var HTMLXvTextInputV2Element: {
|
|
665
711
|
prototype: HTMLXvTextInputV2Element;
|
|
@@ -819,6 +865,7 @@ declare namespace LocalJSX {
|
|
|
819
865
|
"error"?: string;
|
|
820
866
|
"helper"?: string;
|
|
821
867
|
"label"?: string;
|
|
868
|
+
"loading"?: boolean;
|
|
822
869
|
"multiple"?: boolean;
|
|
823
870
|
"onChangeSelection"?: (event: XvDropdownV2CustomEvent<DropdownItemData[]>) => void;
|
|
824
871
|
"open"?: boolean;
|
|
@@ -848,7 +895,7 @@ declare namespace LocalJSX {
|
|
|
848
895
|
"href"?: string;
|
|
849
896
|
"size"?: 'sm' | 'md' | 'lg';
|
|
850
897
|
"target"?: '_self' | '_blank' | '_parent' | '_top';
|
|
851
|
-
"variant"?: 'standalone' | 'inline';
|
|
898
|
+
"variant"?: 'standalone' | 'inline' | 'ghost';
|
|
852
899
|
}
|
|
853
900
|
interface XvLoaderV2 {
|
|
854
901
|
/**
|
|
@@ -865,11 +912,15 @@ declare namespace LocalJSX {
|
|
|
865
912
|
"variant"?: 'vertical' | 'horizontal';
|
|
866
913
|
}
|
|
867
914
|
interface XvModalV2 {
|
|
868
|
-
"
|
|
915
|
+
"onOpenChange"?: (event: XvModalV2CustomEvent<boolean>) => void;
|
|
869
916
|
/**
|
|
870
917
|
* Is modal opened
|
|
871
918
|
*/
|
|
872
919
|
"open"?: boolean;
|
|
920
|
+
/**
|
|
921
|
+
* When need scroll modal content
|
|
922
|
+
*/
|
|
923
|
+
"overflow"?: boolean;
|
|
873
924
|
/**
|
|
874
925
|
* If true then modal not be closed on backdrop click
|
|
875
926
|
*/
|
|
@@ -917,18 +968,21 @@ declare namespace LocalJSX {
|
|
|
917
968
|
interface XvTabV2 {
|
|
918
969
|
"disabled"?: boolean;
|
|
919
970
|
"label"?: string;
|
|
971
|
+
"loading"?: boolean;
|
|
972
|
+
"name"?: number | string;
|
|
920
973
|
}
|
|
921
974
|
interface XvTableV2 {
|
|
922
975
|
"colsSize"?: (string | null)[];
|
|
923
976
|
"hover"?: boolean;
|
|
977
|
+
"loading"?: boolean;
|
|
924
978
|
"size"?: SIZE_VAR;
|
|
925
979
|
}
|
|
926
980
|
interface XvTableV2Cell {
|
|
927
981
|
"align"?: 'left' | 'right' | 'center';
|
|
982
|
+
"multiline"?: boolean;
|
|
928
983
|
"name"?: string;
|
|
929
|
-
"onSortChange"?: (event: XvTableV2CellCustomEvent<
|
|
984
|
+
"onSortChange"?: (event: XvTableV2CellCustomEvent<XVTableSortDto>) => void;
|
|
930
985
|
"sort"?: XV_SORT_DIR | '';
|
|
931
|
-
"width"?: string;
|
|
932
986
|
}
|
|
933
987
|
interface XvTableV2Expand {
|
|
934
988
|
"disabled"?: boolean;
|
|
@@ -940,6 +994,7 @@ declare namespace LocalJSX {
|
|
|
940
994
|
"header"?: boolean;
|
|
941
995
|
"hover"?: boolean;
|
|
942
996
|
"name"?: SelectRowDto['name'];
|
|
997
|
+
"onCheckedChange"?: (event: XvTableV2RowCustomEvent<SelectRowDto>) => void;
|
|
943
998
|
"onSelectRow"?: (event: XvTableV2RowCustomEvent<SelectRowDto>) => void;
|
|
944
999
|
"partial"?: SelectRowDto['partial'];
|
|
945
1000
|
"readonly"?: boolean;
|
|
@@ -951,11 +1006,31 @@ declare namespace LocalJSX {
|
|
|
951
1006
|
/**
|
|
952
1007
|
* Index of active tab
|
|
953
1008
|
*/
|
|
954
|
-
"active"?: number;
|
|
1009
|
+
"active"?: number | string;
|
|
1010
|
+
/**
|
|
1011
|
+
* Message when have no tabs
|
|
1012
|
+
*/
|
|
1013
|
+
"emptyMessage"?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
1016
|
+
*/
|
|
1017
|
+
"empty-message"?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* Show loader
|
|
1020
|
+
*/
|
|
1021
|
+
"loading"?: boolean;
|
|
955
1022
|
/**
|
|
956
1023
|
* Emit event to outside
|
|
957
1024
|
*/
|
|
958
|
-
"
|
|
1025
|
+
"onActiveChange"?: (event: XvTabsV2CustomEvent<number | string>) => void;
|
|
1026
|
+
/**
|
|
1027
|
+
* Message when have no tabs
|
|
1028
|
+
*/
|
|
1029
|
+
"showArrows"?: boolean;
|
|
1030
|
+
/**
|
|
1031
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
1032
|
+
*/
|
|
1033
|
+
"show-arrows"?: boolean;
|
|
959
1034
|
/**
|
|
960
1035
|
* Variant of tabs from TABS_VATIANT enum
|
|
961
1036
|
*/
|
|
@@ -978,7 +1053,9 @@ declare namespace LocalJSX {
|
|
|
978
1053
|
"disabled"?: boolean;
|
|
979
1054
|
"helper"?: string;
|
|
980
1055
|
"label"?: string;
|
|
1056
|
+
"loading"?: boolean;
|
|
981
1057
|
"name"?: string;
|
|
1058
|
+
"onValueChange"?: (event: XvTextInputV2CustomEvent<string>) => void;
|
|
982
1059
|
"placeholder"?: string;
|
|
983
1060
|
"readonly"?: boolean;
|
|
984
1061
|
"size"?: SIZE_VAR;
|
|
@@ -990,6 +1067,7 @@ declare namespace LocalJSX {
|
|
|
990
1067
|
* Message what will be shown for tooltip *
|
|
991
1068
|
*/
|
|
992
1069
|
"message"?: string;
|
|
1070
|
+
"multiline"?: boolean;
|
|
993
1071
|
/**
|
|
994
1072
|
* Tooltip and arrow position related to element possible options: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right'. By default, "top"
|
|
995
1073
|
*/
|