xv-webcomponents 0.1.16 → 0.1.18
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/LICENSE +21 -21
- package/README.md +129 -129
- package/dist/cjs/{index-4d938647.js → index-782b9733.js} +55 -3
- package/dist/cjs/index-782b9733.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/utils-c7652b74.js.map +1 -1
- package/dist/cjs/xv-accordion-v2_14.cjs.entry.js +602 -0
- package/dist/cjs/xv-accordion-v2_14.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +22 -0
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-webcomponents.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/xv-accordion/xv-accordion.js +2 -2
- package/dist/collection/components/xv-accordion/xv-accordion.js.map +1 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +3 -3
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +1 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +2 -2
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +1 -1
- package/dist/collection/components/xv-button/xv-button-v2.css +4 -1
- package/dist/collection/components/xv-button/xv-button.js +24 -2
- package/dist/collection/components/xv-button/xv-button.js.map +1 -1
- package/dist/collection/components/xv-card/xv-card.css +1 -1
- package/dist/collection/components/xv-card/xv-card.js +1 -1
- package/dist/collection/components/xv-card/xv-card.js.map +1 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.css +108 -0
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +364 -10
- package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +1 -1
- package/dist/collection/components/xv-link/xv-link.js +2 -2
- package/dist/collection/components/xv-link/xv-link.js.map +1 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +1 -0
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +2 -2
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +1 -1
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.css +1 -1
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js +2 -2
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js.map +1 -1
- package/dist/collection/components/xv-table/defs.js +14 -0
- package/dist/collection/components/xv-table/defs.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.css +8 -0
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js +19 -0
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.css +21 -0
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js +122 -0
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +53 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +299 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +1 -0
- package/dist/collection/components/xv-table/xv-table.css +154 -0
- package/dist/collection/components/xv-table/xv-table.js +245 -0
- package/dist/collection/components/xv-table/xv-table.js.map +1 -0
- package/dist/collection/components/xv-tag/xv-tag.js +2 -2
- package/dist/collection/components/xv-tag/xv-tag.js.map +1 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +1 -0
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +3 -3
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/types/enum.js +9 -0
- package/dist/collection/types/enum.js.map +1 -0
- package/dist/collection/utils/utils.js +7 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/esm/{index-60f5a964.js → index-83ab73b7.js} +55 -3
- package/dist/esm/index-83ab73b7.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/utils-9bb6333b.js.map +1 -1
- package/dist/esm/xv-accordion-v2_14.entry.js +585 -0
- package/dist/esm/xv-accordion-v2_14.entry.js.map +1 -0
- package/dist/esm/xv-breadcrumbs-v2.entry.js +18 -0
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +1 -0
- package/dist/esm/xv-webcomponents.js +3 -3
- package/dist/types/components/xv-button/xv-button.d.ts +2 -0
- package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +66 -2
- package/dist/types/components/xv-table/defs.d.ts +16 -0
- package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +3 -0
- package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +25 -0
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +59 -0
- package/dist/types/components/xv-table/xv-table.d.ts +40 -0
- package/dist/types/components.d.ts +440 -90
- package/dist/types/types/enum.d.ts +7 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/xv-webcomponents/p-5f18d718.entry.js +2 -0
- package/dist/xv-webcomponents/p-5f18d718.entry.js.map +1 -0
- package/dist/xv-webcomponents/p-840929c5.js +3 -0
- package/dist/xv-webcomponents/p-840929c5.js.map +1 -0
- package/dist/xv-webcomponents/p-a0b74d3c.js.map +1 -1
- package/dist/xv-webcomponents/p-bfe83d1e.entry.js +2 -0
- package/dist/xv-webcomponents/p-bfe83d1e.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 +51 -51
- package/dist/cjs/index-4d938647.js.map +0 -1
- package/dist/cjs/xv-accordion_10.cjs.entry.js +0 -263
- package/dist/cjs/xv-accordion_10.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-breadcrumbs.cjs.entry.js +0 -22
- package/dist/cjs/xv-breadcrumbs.cjs.entry.js.map +0 -1
- package/dist/esm/index-60f5a964.js.map +0 -1
- package/dist/esm/xv-accordion_10.entry.js +0 -250
- package/dist/esm/xv-accordion_10.entry.js.map +0 -1
- package/dist/esm/xv-breadcrumbs.entry.js +0 -18
- package/dist/esm/xv-breadcrumbs.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-41bd284c.entry.js +0 -2
- package/dist/xv-webcomponents/p-41bd284c.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-543fe755.js +0 -3
- package/dist/xv-webcomponents/p-543fe755.js.map +0 -1
- package/dist/xv-webcomponents/p-948b7ef5.entry.js +0 -2
- package/dist/xv-webcomponents/p-948b7ef5.entry.js.map +0 -1
|
@@ -5,8 +5,12 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
+
import { SIZE_VAR } from "./types/enum";
|
|
9
|
+
import { TABLE_COLOR_SCHEMA, TABLE_SIZE } from "./components/xv-table/defs";
|
|
10
|
+
export { SIZE_VAR } from "./types/enum";
|
|
11
|
+
export { TABLE_COLOR_SCHEMA, TABLE_SIZE } from "./components/xv-table/defs";
|
|
8
12
|
export namespace Components {
|
|
9
|
-
interface
|
|
13
|
+
interface XvAccordionV2 {
|
|
10
14
|
"multiple": boolean;
|
|
11
15
|
"toggleItem": (value: string) => Promise<{ opened: Set<string>; id: string; }>;
|
|
12
16
|
"value": string;
|
|
@@ -16,14 +20,18 @@ export namespace Components {
|
|
|
16
20
|
*/
|
|
17
21
|
"xv-id"?: string;
|
|
18
22
|
}
|
|
19
|
-
interface
|
|
23
|
+
interface XvAccordionV2Item {
|
|
20
24
|
"disabled": boolean;
|
|
21
25
|
"label": string;
|
|
22
26
|
"value": string;
|
|
23
27
|
}
|
|
24
|
-
interface
|
|
28
|
+
interface XvBreadcrumbsV2 {
|
|
25
29
|
}
|
|
26
30
|
interface XvButtonV2 {
|
|
31
|
+
/**
|
|
32
|
+
* Container width Button
|
|
33
|
+
*/
|
|
34
|
+
"block": boolean;
|
|
27
35
|
/**
|
|
28
36
|
* Disabled state
|
|
29
37
|
*/
|
|
@@ -45,28 +53,142 @@ export namespace Components {
|
|
|
45
53
|
"variant": 'horizontal' | 'vertical';
|
|
46
54
|
}
|
|
47
55
|
interface XvCheckboxV2 {
|
|
56
|
+
/**
|
|
57
|
+
* Default checked status
|
|
58
|
+
*/
|
|
59
|
+
"checked": boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Disabled status
|
|
62
|
+
*/
|
|
63
|
+
"disabled": boolean;
|
|
64
|
+
"error"?: string | boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Using for forms
|
|
67
|
+
*/
|
|
68
|
+
"indeterminate": boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Can be used like property or like slot
|
|
71
|
+
*/
|
|
72
|
+
"label": string;
|
|
73
|
+
/**
|
|
74
|
+
* Input name
|
|
75
|
+
*/
|
|
76
|
+
"name": string;
|
|
77
|
+
/**
|
|
78
|
+
* Change checkmark icon to minus
|
|
79
|
+
*/
|
|
80
|
+
"partial": boolean;
|
|
81
|
+
/**
|
|
82
|
+
* The same like default checkbox prop
|
|
83
|
+
*/
|
|
84
|
+
"required": boolean;
|
|
85
|
+
"size"?: SIZE_VAR;
|
|
86
|
+
/**
|
|
87
|
+
* Input value
|
|
88
|
+
*/
|
|
89
|
+
"value": string;
|
|
48
90
|
}
|
|
49
|
-
interface
|
|
91
|
+
interface XvLinkV2 {
|
|
50
92
|
"disabled": boolean;
|
|
51
93
|
"href": string;
|
|
52
94
|
"size": 'sm' | 'md' | 'lg';
|
|
53
95
|
"target": '_self' | '_blank' | '_parent' | '_top';
|
|
54
96
|
"variant": 'standalone' | 'inline';
|
|
55
97
|
}
|
|
56
|
-
interface
|
|
98
|
+
interface XvProgressIndicatorV2 {
|
|
57
99
|
"progress": number;
|
|
58
100
|
}
|
|
59
|
-
interface
|
|
101
|
+
interface XvProgressIndicatorV2Item {
|
|
60
102
|
"done": boolean;
|
|
61
103
|
}
|
|
62
|
-
interface
|
|
104
|
+
interface XvTableV2 {
|
|
105
|
+
/**
|
|
106
|
+
* Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
|
|
107
|
+
*/
|
|
108
|
+
"colorSchema": TABLE_COLOR_SCHEMA;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
111
|
+
*/
|
|
112
|
+
"color-schema"?: TABLE_COLOR_SCHEMA;
|
|
113
|
+
/**
|
|
114
|
+
* Table caption description
|
|
115
|
+
*/
|
|
116
|
+
"description": string;
|
|
117
|
+
/**
|
|
118
|
+
* If table is expandable fields
|
|
119
|
+
*/
|
|
120
|
+
"expandable": boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Add checkbox selection to the table
|
|
123
|
+
*/
|
|
124
|
+
"selectable": boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Table size enum TABLE_SIZE
|
|
127
|
+
*/
|
|
128
|
+
"size": TABLE_SIZE;
|
|
129
|
+
}
|
|
130
|
+
interface XvTableV2Col {
|
|
131
|
+
}
|
|
132
|
+
interface XvTableV2HeaderRow {
|
|
133
|
+
/**
|
|
134
|
+
* Checkbox row checked
|
|
135
|
+
*/
|
|
136
|
+
"checked"?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Checkbox row selected partially
|
|
139
|
+
*/
|
|
140
|
+
"partial"?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Checkbox row name
|
|
143
|
+
*/
|
|
144
|
+
"selectionName"?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
147
|
+
*/
|
|
148
|
+
"selection-name"?: string;
|
|
149
|
+
}
|
|
150
|
+
interface XvTableV2Row {
|
|
151
|
+
/**
|
|
152
|
+
* Checkbox row status
|
|
153
|
+
*/
|
|
154
|
+
"checked"?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Is row will be expandable If it's true then the next row will be collapsed
|
|
157
|
+
*/
|
|
158
|
+
"expandable": boolean;
|
|
159
|
+
/**
|
|
160
|
+
* Default state of expandable
|
|
161
|
+
*/
|
|
162
|
+
"expanded": boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Checkbox row name
|
|
165
|
+
*/
|
|
166
|
+
"selectionName"?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
169
|
+
*/
|
|
170
|
+
"selection-name"?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Called from outside (From expandable row)
|
|
173
|
+
*/
|
|
174
|
+
"setExpandRelation": (id?: string, expanded?: boolean) => Promise<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* Called from outside (From expandable row) to change then expand or collapse
|
|
177
|
+
*/
|
|
178
|
+
"toggleExpand": (id?: string, expanded?: boolean) => Promise<void>;
|
|
179
|
+
/**
|
|
180
|
+
* Checkbox row value
|
|
181
|
+
*/
|
|
182
|
+
"value"?: string;
|
|
183
|
+
}
|
|
184
|
+
interface XvTagV2 {
|
|
63
185
|
"bg": string;
|
|
64
186
|
"closeable": boolean;
|
|
65
187
|
"color": string;
|
|
66
188
|
"disabled": boolean;
|
|
67
189
|
"size": 'sm' | 'md' | 'lg';
|
|
68
190
|
}
|
|
69
|
-
interface
|
|
191
|
+
interface XvTooltipV2 {
|
|
70
192
|
/**
|
|
71
193
|
* Message what will be shown for tooltip *
|
|
72
194
|
*/
|
|
@@ -77,62 +199,78 @@ export namespace Components {
|
|
|
77
199
|
"position": 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
|
|
78
200
|
}
|
|
79
201
|
}
|
|
80
|
-
export interface
|
|
202
|
+
export interface XvAccordionV2CustomEvent<T> extends CustomEvent<T> {
|
|
81
203
|
detail: T;
|
|
82
|
-
target:
|
|
204
|
+
target: HTMLXvAccordionV2Element;
|
|
83
205
|
}
|
|
84
|
-
export interface
|
|
206
|
+
export interface XvAccordionV2ItemCustomEvent<T> extends CustomEvent<T> {
|
|
85
207
|
detail: T;
|
|
86
|
-
target:
|
|
208
|
+
target: HTMLXvAccordionV2ItemElement;
|
|
87
209
|
}
|
|
88
210
|
export interface XvButtonV2CustomEvent<T> extends CustomEvent<T> {
|
|
89
211
|
detail: T;
|
|
90
212
|
target: HTMLXvButtonV2Element;
|
|
91
213
|
}
|
|
92
|
-
export interface
|
|
214
|
+
export interface XvCheckboxV2CustomEvent<T> extends CustomEvent<T> {
|
|
215
|
+
detail: T;
|
|
216
|
+
target: HTMLXvCheckboxV2Element;
|
|
217
|
+
}
|
|
218
|
+
export interface XvTableV2CustomEvent<T> extends CustomEvent<T> {
|
|
93
219
|
detail: T;
|
|
94
|
-
target:
|
|
220
|
+
target: HTMLXvTableV2Element;
|
|
221
|
+
}
|
|
222
|
+
export interface XvTableV2HeaderRowCustomEvent<T> extends CustomEvent<T> {
|
|
223
|
+
detail: T;
|
|
224
|
+
target: HTMLXvTableV2HeaderRowElement;
|
|
225
|
+
}
|
|
226
|
+
export interface XvTableV2RowCustomEvent<T> extends CustomEvent<T> {
|
|
227
|
+
detail: T;
|
|
228
|
+
target: HTMLXvTableV2RowElement;
|
|
229
|
+
}
|
|
230
|
+
export interface XvTagV2CustomEvent<T> extends CustomEvent<T> {
|
|
231
|
+
detail: T;
|
|
232
|
+
target: HTMLXvTagV2Element;
|
|
95
233
|
}
|
|
96
234
|
declare global {
|
|
97
|
-
interface
|
|
235
|
+
interface HTMLXvAccordionV2ElementEventMap {
|
|
98
236
|
"accordionChange": { opened: Set<string>, id: string };
|
|
99
237
|
}
|
|
100
|
-
interface
|
|
101
|
-
addEventListener<K extends keyof
|
|
238
|
+
interface HTMLXvAccordionV2Element extends Components.XvAccordionV2, HTMLStencilElement {
|
|
239
|
+
addEventListener<K extends keyof HTMLXvAccordionV2ElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2Element, ev: XvAccordionV2CustomEvent<HTMLXvAccordionV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
102
240
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
103
241
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
104
242
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
105
|
-
removeEventListener<K extends keyof
|
|
243
|
+
removeEventListener<K extends keyof HTMLXvAccordionV2ElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2Element, ev: XvAccordionV2CustomEvent<HTMLXvAccordionV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
106
244
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
107
245
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
108
246
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
109
247
|
}
|
|
110
|
-
var
|
|
111
|
-
prototype:
|
|
112
|
-
new ():
|
|
248
|
+
var HTMLXvAccordionV2Element: {
|
|
249
|
+
prototype: HTMLXvAccordionV2Element;
|
|
250
|
+
new (): HTMLXvAccordionV2Element;
|
|
113
251
|
};
|
|
114
|
-
interface
|
|
252
|
+
interface HTMLXvAccordionV2ItemElementEventMap {
|
|
115
253
|
"itemToggle": any;
|
|
116
254
|
}
|
|
117
|
-
interface
|
|
118
|
-
addEventListener<K extends keyof
|
|
255
|
+
interface HTMLXvAccordionV2ItemElement extends Components.XvAccordionV2Item, HTMLStencilElement {
|
|
256
|
+
addEventListener<K extends keyof HTMLXvAccordionV2ItemElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2ItemElement, ev: XvAccordionV2ItemCustomEvent<HTMLXvAccordionV2ItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
119
257
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
120
258
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
121
259
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
122
|
-
removeEventListener<K extends keyof
|
|
260
|
+
removeEventListener<K extends keyof HTMLXvAccordionV2ItemElementEventMap>(type: K, listener: (this: HTMLXvAccordionV2ItemElement, ev: XvAccordionV2ItemCustomEvent<HTMLXvAccordionV2ItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
123
261
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
124
262
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
125
263
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
126
264
|
}
|
|
127
|
-
var
|
|
128
|
-
prototype:
|
|
129
|
-
new ():
|
|
265
|
+
var HTMLXvAccordionV2ItemElement: {
|
|
266
|
+
prototype: HTMLXvAccordionV2ItemElement;
|
|
267
|
+
new (): HTMLXvAccordionV2ItemElement;
|
|
130
268
|
};
|
|
131
|
-
interface
|
|
269
|
+
interface HTMLXvBreadcrumbsV2Element extends Components.XvBreadcrumbsV2, HTMLStencilElement {
|
|
132
270
|
}
|
|
133
|
-
var
|
|
134
|
-
prototype:
|
|
135
|
-
new ():
|
|
271
|
+
var HTMLXvBreadcrumbsV2Element: {
|
|
272
|
+
prototype: HTMLXvBreadcrumbsV2Element;
|
|
273
|
+
new (): HTMLXvBreadcrumbsV2Element;
|
|
136
274
|
};
|
|
137
275
|
interface HTMLXvButtonV2ElementEventMap {
|
|
138
276
|
"buttonClick": void;
|
|
@@ -157,71 +295,146 @@ declare global {
|
|
|
157
295
|
prototype: HTMLXvCardV2Element;
|
|
158
296
|
new (): HTMLXvCardV2Element;
|
|
159
297
|
};
|
|
298
|
+
interface HTMLXvCheckboxV2ElementEventMap {
|
|
299
|
+
"eventChange": boolean;
|
|
300
|
+
"eventInput": boolean;
|
|
301
|
+
"eventFocus": void;
|
|
302
|
+
"eventBlur": void;
|
|
303
|
+
}
|
|
160
304
|
interface HTMLXvCheckboxV2Element extends Components.XvCheckboxV2, HTMLStencilElement {
|
|
305
|
+
addEventListener<K extends keyof HTMLXvCheckboxV2ElementEventMap>(type: K, listener: (this: HTMLXvCheckboxV2Element, ev: XvCheckboxV2CustomEvent<HTMLXvCheckboxV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
306
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
307
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
308
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
309
|
+
removeEventListener<K extends keyof HTMLXvCheckboxV2ElementEventMap>(type: K, listener: (this: HTMLXvCheckboxV2Element, ev: XvCheckboxV2CustomEvent<HTMLXvCheckboxV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
310
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
311
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
312
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
161
313
|
}
|
|
162
314
|
var HTMLXvCheckboxV2Element: {
|
|
163
315
|
prototype: HTMLXvCheckboxV2Element;
|
|
164
316
|
new (): HTMLXvCheckboxV2Element;
|
|
165
317
|
};
|
|
166
|
-
interface
|
|
318
|
+
interface HTMLXvLinkV2Element extends Components.XvLinkV2, HTMLStencilElement {
|
|
319
|
+
}
|
|
320
|
+
var HTMLXvLinkV2Element: {
|
|
321
|
+
prototype: HTMLXvLinkV2Element;
|
|
322
|
+
new (): HTMLXvLinkV2Element;
|
|
323
|
+
};
|
|
324
|
+
interface HTMLXvProgressIndicatorV2Element extends Components.XvProgressIndicatorV2, HTMLStencilElement {
|
|
325
|
+
}
|
|
326
|
+
var HTMLXvProgressIndicatorV2Element: {
|
|
327
|
+
prototype: HTMLXvProgressIndicatorV2Element;
|
|
328
|
+
new (): HTMLXvProgressIndicatorV2Element;
|
|
329
|
+
};
|
|
330
|
+
interface HTMLXvProgressIndicatorV2ItemElement extends Components.XvProgressIndicatorV2Item, HTMLStencilElement {
|
|
331
|
+
}
|
|
332
|
+
var HTMLXvProgressIndicatorV2ItemElement: {
|
|
333
|
+
prototype: HTMLXvProgressIndicatorV2ItemElement;
|
|
334
|
+
new (): HTMLXvProgressIndicatorV2ItemElement;
|
|
335
|
+
};
|
|
336
|
+
interface HTMLXvTableV2ElementEventMap {
|
|
337
|
+
"changeSelection": { name: string, value?: any }[];
|
|
338
|
+
}
|
|
339
|
+
interface HTMLXvTableV2Element extends Components.XvTableV2, HTMLStencilElement {
|
|
340
|
+
addEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
341
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
342
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
343
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
344
|
+
removeEventListener<K extends keyof HTMLXvTableV2ElementEventMap>(type: K, listener: (this: HTMLXvTableV2Element, ev: XvTableV2CustomEvent<HTMLXvTableV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
345
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
346
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
347
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
348
|
+
}
|
|
349
|
+
var HTMLXvTableV2Element: {
|
|
350
|
+
prototype: HTMLXvTableV2Element;
|
|
351
|
+
new (): HTMLXvTableV2Element;
|
|
352
|
+
};
|
|
353
|
+
interface HTMLXvTableV2ColElement extends Components.XvTableV2Col, HTMLStencilElement {
|
|
167
354
|
}
|
|
168
|
-
var
|
|
169
|
-
prototype:
|
|
170
|
-
new ():
|
|
355
|
+
var HTMLXvTableV2ColElement: {
|
|
356
|
+
prototype: HTMLXvTableV2ColElement;
|
|
357
|
+
new (): HTMLXvTableV2ColElement;
|
|
171
358
|
};
|
|
172
|
-
interface
|
|
359
|
+
interface HTMLXvTableV2HeaderRowElementEventMap {
|
|
360
|
+
"checkedChange": { name: string, value?: string; checked: boolean };
|
|
173
361
|
}
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
362
|
+
interface HTMLXvTableV2HeaderRowElement extends Components.XvTableV2HeaderRow, HTMLStencilElement {
|
|
363
|
+
addEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
364
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
365
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
366
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
367
|
+
removeEventListener<K extends keyof HTMLXvTableV2HeaderRowElementEventMap>(type: K, listener: (this: HTMLXvTableV2HeaderRowElement, ev: XvTableV2HeaderRowCustomEvent<HTMLXvTableV2HeaderRowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
368
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
369
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
370
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
371
|
+
}
|
|
372
|
+
var HTMLXvTableV2HeaderRowElement: {
|
|
373
|
+
prototype: HTMLXvTableV2HeaderRowElement;
|
|
374
|
+
new (): HTMLXvTableV2HeaderRowElement;
|
|
177
375
|
};
|
|
178
|
-
interface
|
|
376
|
+
interface HTMLXvTableV2RowElementEventMap {
|
|
377
|
+
"checkedChange": { name: string, value?: string; checked: boolean };
|
|
179
378
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
379
|
+
interface HTMLXvTableV2RowElement extends Components.XvTableV2Row, HTMLStencilElement {
|
|
380
|
+
addEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
381
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
382
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
383
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
384
|
+
removeEventListener<K extends keyof HTMLXvTableV2RowElementEventMap>(type: K, listener: (this: HTMLXvTableV2RowElement, ev: XvTableV2RowCustomEvent<HTMLXvTableV2RowElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
385
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
386
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
387
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
388
|
+
}
|
|
389
|
+
var HTMLXvTableV2RowElement: {
|
|
390
|
+
prototype: HTMLXvTableV2RowElement;
|
|
391
|
+
new (): HTMLXvTableV2RowElement;
|
|
183
392
|
};
|
|
184
|
-
interface
|
|
393
|
+
interface HTMLXvTagV2ElementEventMap {
|
|
185
394
|
"closeClick": PointerEvent;
|
|
186
395
|
}
|
|
187
|
-
interface
|
|
188
|
-
addEventListener<K extends keyof
|
|
396
|
+
interface HTMLXvTagV2Element extends Components.XvTagV2, HTMLStencilElement {
|
|
397
|
+
addEventListener<K extends keyof HTMLXvTagV2ElementEventMap>(type: K, listener: (this: HTMLXvTagV2Element, ev: XvTagV2CustomEvent<HTMLXvTagV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
189
398
|
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
190
399
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
191
400
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
192
|
-
removeEventListener<K extends keyof
|
|
401
|
+
removeEventListener<K extends keyof HTMLXvTagV2ElementEventMap>(type: K, listener: (this: HTMLXvTagV2Element, ev: XvTagV2CustomEvent<HTMLXvTagV2ElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
193
402
|
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
194
403
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
195
404
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
196
405
|
}
|
|
197
|
-
var
|
|
198
|
-
prototype:
|
|
199
|
-
new ():
|
|
406
|
+
var HTMLXvTagV2Element: {
|
|
407
|
+
prototype: HTMLXvTagV2Element;
|
|
408
|
+
new (): HTMLXvTagV2Element;
|
|
200
409
|
};
|
|
201
|
-
interface
|
|
410
|
+
interface HTMLXvTooltipV2Element extends Components.XvTooltipV2, HTMLStencilElement {
|
|
202
411
|
}
|
|
203
|
-
var
|
|
204
|
-
prototype:
|
|
205
|
-
new ():
|
|
412
|
+
var HTMLXvTooltipV2Element: {
|
|
413
|
+
prototype: HTMLXvTooltipV2Element;
|
|
414
|
+
new (): HTMLXvTooltipV2Element;
|
|
206
415
|
};
|
|
207
416
|
interface HTMLElementTagNameMap {
|
|
208
|
-
"xv-accordion":
|
|
209
|
-
"xv-accordion-item":
|
|
210
|
-
"xv-breadcrumbs":
|
|
417
|
+
"xv-accordion-v2": HTMLXvAccordionV2Element;
|
|
418
|
+
"xv-accordion-v2-item": HTMLXvAccordionV2ItemElement;
|
|
419
|
+
"xv-breadcrumbs-v2": HTMLXvBreadcrumbsV2Element;
|
|
211
420
|
"xv-button-v2": HTMLXvButtonV2Element;
|
|
212
421
|
"xv-card-v2": HTMLXvCardV2Element;
|
|
213
422
|
"xv-checkbox-v2": HTMLXvCheckboxV2Element;
|
|
214
|
-
"xv-link":
|
|
215
|
-
"xv-progress-indicator":
|
|
216
|
-
"xv-progress-indicator-item":
|
|
217
|
-
"xv-
|
|
218
|
-
"xv-
|
|
423
|
+
"xv-link-v2": HTMLXvLinkV2Element;
|
|
424
|
+
"xv-progress-indicator-v2": HTMLXvProgressIndicatorV2Element;
|
|
425
|
+
"xv-progress-indicator-v2-item": HTMLXvProgressIndicatorV2ItemElement;
|
|
426
|
+
"xv-table-v2": HTMLXvTableV2Element;
|
|
427
|
+
"xv-table-v2-col": HTMLXvTableV2ColElement;
|
|
428
|
+
"xv-table-v2-header-row": HTMLXvTableV2HeaderRowElement;
|
|
429
|
+
"xv-table-v2-row": HTMLXvTableV2RowElement;
|
|
430
|
+
"xv-tag-v2": HTMLXvTagV2Element;
|
|
431
|
+
"xv-tooltip-v2": HTMLXvTooltipV2Element;
|
|
219
432
|
}
|
|
220
433
|
}
|
|
221
434
|
declare namespace LocalJSX {
|
|
222
|
-
interface
|
|
435
|
+
interface XvAccordionV2 {
|
|
223
436
|
"multiple"?: boolean;
|
|
224
|
-
"onAccordionChange"?: (event:
|
|
437
|
+
"onAccordionChange"?: (event: XvAccordionV2CustomEvent<{ opened: Set<string>, id: string }>) => void;
|
|
225
438
|
"value"?: string;
|
|
226
439
|
"xvId"?: string;
|
|
227
440
|
/**
|
|
@@ -229,15 +442,19 @@ declare namespace LocalJSX {
|
|
|
229
442
|
*/
|
|
230
443
|
"xv-id"?: string;
|
|
231
444
|
}
|
|
232
|
-
interface
|
|
445
|
+
interface XvAccordionV2Item {
|
|
233
446
|
"disabled"?: boolean;
|
|
234
447
|
"label"?: string;
|
|
235
|
-
"onItemToggle"?: (event:
|
|
448
|
+
"onItemToggle"?: (event: XvAccordionV2ItemCustomEvent<any>) => void;
|
|
236
449
|
"value"?: string;
|
|
237
450
|
}
|
|
238
|
-
interface
|
|
451
|
+
interface XvBreadcrumbsV2 {
|
|
239
452
|
}
|
|
240
453
|
interface XvButtonV2 {
|
|
454
|
+
/**
|
|
455
|
+
* Container width Button
|
|
456
|
+
*/
|
|
457
|
+
"block"?: boolean;
|
|
241
458
|
/**
|
|
242
459
|
* Disabled state
|
|
243
460
|
*/
|
|
@@ -263,29 +480,154 @@ declare namespace LocalJSX {
|
|
|
263
480
|
"variant"?: 'horizontal' | 'vertical';
|
|
264
481
|
}
|
|
265
482
|
interface XvCheckboxV2 {
|
|
483
|
+
/**
|
|
484
|
+
* Default checked status
|
|
485
|
+
*/
|
|
486
|
+
"checked"?: boolean;
|
|
487
|
+
/**
|
|
488
|
+
* Disabled status
|
|
489
|
+
*/
|
|
490
|
+
"disabled"?: boolean;
|
|
491
|
+
"error"?: string | boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Using for forms
|
|
494
|
+
*/
|
|
495
|
+
"indeterminate"?: boolean;
|
|
496
|
+
/**
|
|
497
|
+
* Can be used like property or like slot
|
|
498
|
+
*/
|
|
499
|
+
"label"?: string;
|
|
500
|
+
/**
|
|
501
|
+
* Input name
|
|
502
|
+
*/
|
|
503
|
+
"name"?: string;
|
|
504
|
+
/**
|
|
505
|
+
* event 'onEventBlur'
|
|
506
|
+
*/
|
|
507
|
+
"onEventBlur"?: (event: XvCheckboxV2CustomEvent<void>) => void;
|
|
508
|
+
/**
|
|
509
|
+
* event 'onEventChange'
|
|
510
|
+
*/
|
|
511
|
+
"onEventChange"?: (event: XvCheckboxV2CustomEvent<boolean>) => void;
|
|
512
|
+
/**
|
|
513
|
+
* event 'onEventFocus'
|
|
514
|
+
*/
|
|
515
|
+
"onEventFocus"?: (event: XvCheckboxV2CustomEvent<void>) => void;
|
|
516
|
+
/**
|
|
517
|
+
* event 'onEventInput'
|
|
518
|
+
*/
|
|
519
|
+
"onEventInput"?: (event: XvCheckboxV2CustomEvent<boolean>) => void;
|
|
520
|
+
/**
|
|
521
|
+
* Change checkmark icon to minus
|
|
522
|
+
*/
|
|
523
|
+
"partial"?: boolean;
|
|
524
|
+
/**
|
|
525
|
+
* The same like default checkbox prop
|
|
526
|
+
*/
|
|
527
|
+
"required"?: boolean;
|
|
528
|
+
"size"?: SIZE_VAR;
|
|
529
|
+
/**
|
|
530
|
+
* Input value
|
|
531
|
+
*/
|
|
532
|
+
"value"?: string;
|
|
266
533
|
}
|
|
267
|
-
interface
|
|
534
|
+
interface XvLinkV2 {
|
|
268
535
|
"disabled"?: boolean;
|
|
269
536
|
"href"?: string;
|
|
270
537
|
"size"?: 'sm' | 'md' | 'lg';
|
|
271
538
|
"target"?: '_self' | '_blank' | '_parent' | '_top';
|
|
272
539
|
"variant"?: 'standalone' | 'inline';
|
|
273
540
|
}
|
|
274
|
-
interface
|
|
541
|
+
interface XvProgressIndicatorV2 {
|
|
275
542
|
"progress"?: number;
|
|
276
543
|
}
|
|
277
|
-
interface
|
|
544
|
+
interface XvProgressIndicatorV2Item {
|
|
278
545
|
"done"?: boolean;
|
|
279
546
|
}
|
|
280
|
-
interface
|
|
547
|
+
interface XvTableV2 {
|
|
548
|
+
/**
|
|
549
|
+
* Set current color schema type of enum TABLE_COLOR_SCHEMA Possible options 'zebra'
|
|
550
|
+
*/
|
|
551
|
+
"colorSchema"?: TABLE_COLOR_SCHEMA;
|
|
552
|
+
/**
|
|
553
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
554
|
+
*/
|
|
555
|
+
"color-schema"?: TABLE_COLOR_SCHEMA;
|
|
556
|
+
/**
|
|
557
|
+
* Table caption description
|
|
558
|
+
*/
|
|
559
|
+
"description"?: string;
|
|
560
|
+
/**
|
|
561
|
+
* If table is expandable fields
|
|
562
|
+
*/
|
|
563
|
+
"expandable"?: boolean;
|
|
564
|
+
"onChangeSelection"?: (event: XvTableV2CustomEvent<{ name: string, value?: any }[]>) => void;
|
|
565
|
+
/**
|
|
566
|
+
* Add checkbox selection to the table
|
|
567
|
+
*/
|
|
568
|
+
"selectable"?: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* Table size enum TABLE_SIZE
|
|
571
|
+
*/
|
|
572
|
+
"size"?: TABLE_SIZE;
|
|
573
|
+
}
|
|
574
|
+
interface XvTableV2Col {
|
|
575
|
+
}
|
|
576
|
+
interface XvTableV2HeaderRow {
|
|
577
|
+
/**
|
|
578
|
+
* Checkbox row checked
|
|
579
|
+
*/
|
|
580
|
+
"checked"?: boolean;
|
|
581
|
+
"onCheckedChange"?: (event: XvTableV2HeaderRowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
|
|
582
|
+
/**
|
|
583
|
+
* Checkbox row selected partially
|
|
584
|
+
*/
|
|
585
|
+
"partial"?: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* Checkbox row name
|
|
588
|
+
*/
|
|
589
|
+
"selectionName"?: string;
|
|
590
|
+
/**
|
|
591
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
592
|
+
*/
|
|
593
|
+
"selection-name"?: string;
|
|
594
|
+
}
|
|
595
|
+
interface XvTableV2Row {
|
|
596
|
+
/**
|
|
597
|
+
* Checkbox row status
|
|
598
|
+
*/
|
|
599
|
+
"checked"?: boolean;
|
|
600
|
+
/**
|
|
601
|
+
* Is row will be expandable If it's true then the next row will be collapsed
|
|
602
|
+
*/
|
|
603
|
+
"expandable"?: boolean;
|
|
604
|
+
/**
|
|
605
|
+
* Default state of expandable
|
|
606
|
+
*/
|
|
607
|
+
"expanded"?: boolean;
|
|
608
|
+
"onCheckedChange"?: (event: XvTableV2RowCustomEvent<{ name: string, value?: string; checked: boolean }>) => void;
|
|
609
|
+
/**
|
|
610
|
+
* Checkbox row name
|
|
611
|
+
*/
|
|
612
|
+
"selectionName"?: string;
|
|
613
|
+
/**
|
|
614
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
615
|
+
*/
|
|
616
|
+
"selection-name"?: string;
|
|
617
|
+
/**
|
|
618
|
+
* Checkbox row value
|
|
619
|
+
*/
|
|
620
|
+
"value"?: string;
|
|
621
|
+
}
|
|
622
|
+
interface XvTagV2 {
|
|
281
623
|
"bg"?: string;
|
|
282
624
|
"closeable"?: boolean;
|
|
283
625
|
"color"?: string;
|
|
284
626
|
"disabled"?: boolean;
|
|
285
|
-
"onCloseClick"?: (event:
|
|
627
|
+
"onCloseClick"?: (event: XvTagV2CustomEvent<PointerEvent>) => void;
|
|
286
628
|
"size"?: 'sm' | 'md' | 'lg';
|
|
287
629
|
}
|
|
288
|
-
interface
|
|
630
|
+
interface XvTooltipV2 {
|
|
289
631
|
/**
|
|
290
632
|
* Message what will be shown for tooltip *
|
|
291
633
|
*/
|
|
@@ -296,34 +638,42 @@ declare namespace LocalJSX {
|
|
|
296
638
|
"position"?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
|
|
297
639
|
}
|
|
298
640
|
interface IntrinsicElements {
|
|
299
|
-
"xv-accordion":
|
|
300
|
-
"xv-accordion-item":
|
|
301
|
-
"xv-breadcrumbs":
|
|
641
|
+
"xv-accordion-v2": XvAccordionV2;
|
|
642
|
+
"xv-accordion-v2-item": XvAccordionV2Item;
|
|
643
|
+
"xv-breadcrumbs-v2": XvBreadcrumbsV2;
|
|
302
644
|
"xv-button-v2": XvButtonV2;
|
|
303
645
|
"xv-card-v2": XvCardV2;
|
|
304
646
|
"xv-checkbox-v2": XvCheckboxV2;
|
|
305
|
-
"xv-link":
|
|
306
|
-
"xv-progress-indicator":
|
|
307
|
-
"xv-progress-indicator-item":
|
|
308
|
-
"xv-
|
|
309
|
-
"xv-
|
|
647
|
+
"xv-link-v2": XvLinkV2;
|
|
648
|
+
"xv-progress-indicator-v2": XvProgressIndicatorV2;
|
|
649
|
+
"xv-progress-indicator-v2-item": XvProgressIndicatorV2Item;
|
|
650
|
+
"xv-table-v2": XvTableV2;
|
|
651
|
+
"xv-table-v2-col": XvTableV2Col;
|
|
652
|
+
"xv-table-v2-header-row": XvTableV2HeaderRow;
|
|
653
|
+
"xv-table-v2-row": XvTableV2Row;
|
|
654
|
+
"xv-tag-v2": XvTagV2;
|
|
655
|
+
"xv-tooltip-v2": XvTooltipV2;
|
|
310
656
|
}
|
|
311
657
|
}
|
|
312
658
|
export { LocalJSX as JSX };
|
|
313
659
|
declare module "@stencil/core" {
|
|
314
660
|
export namespace JSX {
|
|
315
661
|
interface IntrinsicElements {
|
|
316
|
-
"xv-accordion": LocalJSX.
|
|
317
|
-
"xv-accordion-item": LocalJSX.
|
|
318
|
-
"xv-breadcrumbs": LocalJSX.
|
|
662
|
+
"xv-accordion-v2": LocalJSX.XvAccordionV2 & JSXBase.HTMLAttributes<HTMLXvAccordionV2Element>;
|
|
663
|
+
"xv-accordion-v2-item": LocalJSX.XvAccordionV2Item & JSXBase.HTMLAttributes<HTMLXvAccordionV2ItemElement>;
|
|
664
|
+
"xv-breadcrumbs-v2": LocalJSX.XvBreadcrumbsV2 & JSXBase.HTMLAttributes<HTMLXvBreadcrumbsV2Element>;
|
|
319
665
|
"xv-button-v2": LocalJSX.XvButtonV2 & JSXBase.HTMLAttributes<HTMLXvButtonV2Element>;
|
|
320
666
|
"xv-card-v2": LocalJSX.XvCardV2 & JSXBase.HTMLAttributes<HTMLXvCardV2Element>;
|
|
321
667
|
"xv-checkbox-v2": LocalJSX.XvCheckboxV2 & JSXBase.HTMLAttributes<HTMLXvCheckboxV2Element>;
|
|
322
|
-
"xv-link": LocalJSX.
|
|
323
|
-
"xv-progress-indicator": LocalJSX.
|
|
324
|
-
"xv-progress-indicator-item": LocalJSX.
|
|
325
|
-
"xv-
|
|
326
|
-
"xv-
|
|
668
|
+
"xv-link-v2": LocalJSX.XvLinkV2 & JSXBase.HTMLAttributes<HTMLXvLinkV2Element>;
|
|
669
|
+
"xv-progress-indicator-v2": LocalJSX.XvProgressIndicatorV2 & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2Element>;
|
|
670
|
+
"xv-progress-indicator-v2-item": LocalJSX.XvProgressIndicatorV2Item & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2ItemElement>;
|
|
671
|
+
"xv-table-v2": LocalJSX.XvTableV2 & JSXBase.HTMLAttributes<HTMLXvTableV2Element>;
|
|
672
|
+
"xv-table-v2-col": LocalJSX.XvTableV2Col & JSXBase.HTMLAttributes<HTMLXvTableV2ColElement>;
|
|
673
|
+
"xv-table-v2-header-row": LocalJSX.XvTableV2HeaderRow & JSXBase.HTMLAttributes<HTMLXvTableV2HeaderRowElement>;
|
|
674
|
+
"xv-table-v2-row": LocalJSX.XvTableV2Row & JSXBase.HTMLAttributes<HTMLXvTableV2RowElement>;
|
|
675
|
+
"xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
|
|
676
|
+
"xv-tooltip-v2": LocalJSX.XvTooltipV2 & JSXBase.HTMLAttributes<HTMLXvTooltipV2Element>;
|
|
327
677
|
}
|
|
328
678
|
}
|
|
329
679
|
}
|