xv-webcomponents 0.1.17 → 0.1.19
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/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 +342 -0
- package/dist/types/types/enum.d.ts +7 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/xv-webcomponents/index-90b82796.js +3971 -0
- package/dist/xv-webcomponents/index-90b82796.js.map +1 -0
- package/dist/xv-webcomponents/index.esm.js +12 -1
- package/dist/xv-webcomponents/index.esm.js.map +1 -1
- package/dist/xv-webcomponents/utils-e6dc0550.js +17 -0
- package/dist/xv-webcomponents/utils-e6dc0550.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +35 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js +40 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +17 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js +33 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js +18 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +99 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js +26 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +19 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +39 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-col.entry.js +17 -0
- package/dist/xv-webcomponents/xv-table-v2-col.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js +34 -0
- package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js +112 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js +114 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js +28 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +23 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +48 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/package.json +51 -51
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-4d938647.js +0 -1483
- package/dist/cjs/index-4d938647.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -11
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -17
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-c7652b74.js +0 -13
- package/dist/cjs/utils-c7652b74.js.map +0 -1
- package/dist/cjs/xv-accordion-v2_10.cjs.entry.js +0 -265
- package/dist/cjs/xv-accordion-v2_10.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +0 -22
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-webcomponents.cjs.js +0 -27
- package/dist/cjs/xv-webcomponents.cjs.js.map +0 -1
- package/dist/collection/collection-manifest.json +0 -22
- package/dist/collection/components/xv-accordion/xv-accordion.css +0 -3
- package/dist/collection/components/xv-accordion/xv-accordion.js +0 -163
- package/dist/collection/components/xv-accordion/xv-accordion.js.map +0 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.css +0 -68
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +0 -132
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +0 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.css +0 -3
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +0 -19
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +0 -1
- package/dist/collection/components/xv-button/xv-button-v2.css +0 -153
- package/dist/collection/components/xv-button/xv-button.js +0 -138
- package/dist/collection/components/xv-button/xv-button.js.map +0 -1
- package/dist/collection/components/xv-card/xv-card.css +0 -63
- package/dist/collection/components/xv-card/xv-card.js +0 -122
- package/dist/collection/components/xv-card/xv-card.js.map +0 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +0 -22
- package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +0 -1
- package/dist/collection/components/xv-link/xv-link.css +0 -60
- package/dist/collection/components/xv-link/xv-link.js +0 -132
- package/dist/collection/components/xv-link/xv-link.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +0 -7
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +0 -70
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.css +0 -66
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js +0 -47
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js.map +0 -1
- package/dist/collection/components/xv-tag/xv-tag.css +0 -97
- package/dist/collection/components/xv-tag/xv-tag.js +0 -158
- package/dist/collection/components/xv-tag/xv-tag.js.map +0 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +0 -154
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +0 -70
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +0 -1
- package/dist/collection/index.js +0 -11
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -7
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/index-60f5a964.js +0 -1454
- package/dist/esm/index-60f5a964.js.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -13
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/utils-9bb6333b.js +0 -10
- package/dist/esm/utils-9bb6333b.js.map +0 -1
- package/dist/esm/xv-accordion-v2_10.entry.js +0 -252
- package/dist/esm/xv-accordion-v2_10.entry.js.map +0 -1
- package/dist/esm/xv-breadcrumbs-v2.entry.js +0 -18
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +0 -1
- package/dist/esm/xv-webcomponents.js +0 -22
- package/dist/esm/xv-webcomponents.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/xv-webcomponents/p-08297c60.entry.js +0 -2
- package/dist/xv-webcomponents/p-08297c60.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-6fe85516.entry.js +0 -2
- package/dist/xv-webcomponents/p-6fe85516.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-a0b74d3c.js +0 -2
- package/dist/xv-webcomponents/p-a0b74d3c.js.map +0 -1
- package/dist/xv-webcomponents/p-e1255160.js +0 -2
- package/dist/xv-webcomponents/p-e1255160.js.map +0 -1
- /package/dist/{esm → xv-webcomponents}/app-globals-0f993ce5.js +0 -0
- /package/dist/{esm → xv-webcomponents}/app-globals-0f993ce5.js.map +0 -0
|
@@ -5,6 +5,10 @@
|
|
|
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
13
|
interface XvAccordionV2 {
|
|
10
14
|
"multiple": boolean;
|
|
@@ -49,6 +53,40 @@ export namespace Components {
|
|
|
49
53
|
"variant": 'horizontal' | 'vertical';
|
|
50
54
|
}
|
|
51
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;
|
|
52
90
|
}
|
|
53
91
|
interface XvLinkV2 {
|
|
54
92
|
"disabled": boolean;
|
|
@@ -63,6 +101,86 @@ export namespace Components {
|
|
|
63
101
|
interface XvProgressIndicatorV2Item {
|
|
64
102
|
"done": boolean;
|
|
65
103
|
}
|
|
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
|
+
}
|
|
66
184
|
interface XvTagV2 {
|
|
67
185
|
"bg": string;
|
|
68
186
|
"closeable": boolean;
|
|
@@ -93,6 +211,22 @@ export interface XvButtonV2CustomEvent<T> extends CustomEvent<T> {
|
|
|
93
211
|
detail: T;
|
|
94
212
|
target: HTMLXvButtonV2Element;
|
|
95
213
|
}
|
|
214
|
+
export interface XvCheckboxV2CustomEvent<T> extends CustomEvent<T> {
|
|
215
|
+
detail: T;
|
|
216
|
+
target: HTMLXvCheckboxV2Element;
|
|
217
|
+
}
|
|
218
|
+
export interface XvTableV2CustomEvent<T> extends CustomEvent<T> {
|
|
219
|
+
detail: T;
|
|
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
|
+
}
|
|
96
230
|
export interface XvTagV2CustomEvent<T> extends CustomEvent<T> {
|
|
97
231
|
detail: T;
|
|
98
232
|
target: HTMLXvTagV2Element;
|
|
@@ -161,7 +295,21 @@ declare global {
|
|
|
161
295
|
prototype: HTMLXvCardV2Element;
|
|
162
296
|
new (): HTMLXvCardV2Element;
|
|
163
297
|
};
|
|
298
|
+
interface HTMLXvCheckboxV2ElementEventMap {
|
|
299
|
+
"eventChange": boolean;
|
|
300
|
+
"eventInput": boolean;
|
|
301
|
+
"eventFocus": void;
|
|
302
|
+
"eventBlur": void;
|
|
303
|
+
}
|
|
164
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;
|
|
165
313
|
}
|
|
166
314
|
var HTMLXvCheckboxV2Element: {
|
|
167
315
|
prototype: HTMLXvCheckboxV2Element;
|
|
@@ -185,6 +333,63 @@ declare global {
|
|
|
185
333
|
prototype: HTMLXvProgressIndicatorV2ItemElement;
|
|
186
334
|
new (): HTMLXvProgressIndicatorV2ItemElement;
|
|
187
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 {
|
|
354
|
+
}
|
|
355
|
+
var HTMLXvTableV2ColElement: {
|
|
356
|
+
prototype: HTMLXvTableV2ColElement;
|
|
357
|
+
new (): HTMLXvTableV2ColElement;
|
|
358
|
+
};
|
|
359
|
+
interface HTMLXvTableV2HeaderRowElementEventMap {
|
|
360
|
+
"checkedChange": { name: string, value?: string; checked: boolean };
|
|
361
|
+
}
|
|
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;
|
|
375
|
+
};
|
|
376
|
+
interface HTMLXvTableV2RowElementEventMap {
|
|
377
|
+
"checkedChange": { name: string, value?: string; checked: boolean };
|
|
378
|
+
}
|
|
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;
|
|
392
|
+
};
|
|
188
393
|
interface HTMLXvTagV2ElementEventMap {
|
|
189
394
|
"closeClick": PointerEvent;
|
|
190
395
|
}
|
|
@@ -218,6 +423,10 @@ declare global {
|
|
|
218
423
|
"xv-link-v2": HTMLXvLinkV2Element;
|
|
219
424
|
"xv-progress-indicator-v2": HTMLXvProgressIndicatorV2Element;
|
|
220
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;
|
|
221
430
|
"xv-tag-v2": HTMLXvTagV2Element;
|
|
222
431
|
"xv-tooltip-v2": HTMLXvTooltipV2Element;
|
|
223
432
|
}
|
|
@@ -271,6 +480,56 @@ declare namespace LocalJSX {
|
|
|
271
480
|
"variant"?: 'horizontal' | 'vertical';
|
|
272
481
|
}
|
|
273
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;
|
|
274
533
|
}
|
|
275
534
|
interface XvLinkV2 {
|
|
276
535
|
"disabled"?: boolean;
|
|
@@ -285,6 +544,81 @@ declare namespace LocalJSX {
|
|
|
285
544
|
interface XvProgressIndicatorV2Item {
|
|
286
545
|
"done"?: boolean;
|
|
287
546
|
}
|
|
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
|
+
}
|
|
288
622
|
interface XvTagV2 {
|
|
289
623
|
"bg"?: string;
|
|
290
624
|
"closeable"?: boolean;
|
|
@@ -313,6 +647,10 @@ declare namespace LocalJSX {
|
|
|
313
647
|
"xv-link-v2": XvLinkV2;
|
|
314
648
|
"xv-progress-indicator-v2": XvProgressIndicatorV2;
|
|
315
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;
|
|
316
654
|
"xv-tag-v2": XvTagV2;
|
|
317
655
|
"xv-tooltip-v2": XvTooltipV2;
|
|
318
656
|
}
|
|
@@ -330,6 +668,10 @@ declare module "@stencil/core" {
|
|
|
330
668
|
"xv-link-v2": LocalJSX.XvLinkV2 & JSXBase.HTMLAttributes<HTMLXvLinkV2Element>;
|
|
331
669
|
"xv-progress-indicator-v2": LocalJSX.XvProgressIndicatorV2 & JSXBase.HTMLAttributes<HTMLXvProgressIndicatorV2Element>;
|
|
332
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>;
|
|
333
675
|
"xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
|
|
334
676
|
"xv-tooltip-v2": LocalJSX.XvTooltipV2 & JSXBase.HTMLAttributes<HTMLXvTooltipV2Element>;
|
|
335
677
|
}
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
export declare function format(first?: string, middle?: string, last?: string): string;
|
|
2
2
|
export declare function uidGenerator(): string;
|
|
3
|
+
/**
|
|
4
|
+
* Walks through the given DOM collection and runs the given callback.
|
|
5
|
+
* @param a A DOM collection.
|
|
6
|
+
* @param predicate The callback function.
|
|
7
|
+
* @param [thisObject] The context object for the given callback function.
|
|
8
|
+
*/
|
|
9
|
+
export declare const forEach: (a: NodeListOf<Node> | HTMLCollectionOf<Element>, predicate: (search: Element, index?: number) => void, thisObject?: any) => any;
|