@carbon/ibm-products-web-components 0.29.0 → 0.30.0
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/custom-elements.json +637 -24
- package/es/components/about-modal/about-modal.scss.js +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js +15 -2
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +1 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +8 -1
- package/es/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
- package/es/components/coachmark/coachmark-body.d.ts +382 -0
- package/es/components/coachmark/coachmark-body.js +40 -0
- package/es/components/coachmark/coachmark-body.js.map +1 -0
- package/es/components/coachmark/coachmark-body.scss.js +13 -0
- package/es/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es/components/coachmark/coachmark-context.d.ts +11 -0
- package/es/components/coachmark/coachmark-context.js +39 -0
- package/es/components/coachmark/coachmark-context.js.map +1 -0
- package/es/components/coachmark/coachmark-header.d.ts +392 -0
- package/es/components/coachmark/coachmark-header.js +92 -0
- package/es/components/coachmark/coachmark-header.js.map +1 -0
- package/es/components/coachmark/coachmark-header.scss.js +13 -0
- package/es/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es/components/coachmark/coachmark.d.ts +416 -0
- package/es/components/coachmark/coachmark.js +165 -0
- package/es/components/coachmark/coachmark.js.map +1 -0
- package/es/components/coachmark/coachmark.scss.js +13 -0
- package/es/components/coachmark/coachmark.scss.js.map +1 -0
- package/es/components/coachmark/coachmark.test.d.ts +1 -0
- package/es/components/coachmark/coachmark.test.js +168 -0
- package/es/components/coachmark/coachmark.test.js.map +1 -0
- package/es/components/coachmark/index.d.ts +11 -0
- package/es/components/coachmark/index.js +11 -0
- package/es/components/coachmark/index.js.map +1 -0
- package/es/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/es/components/guide-banner/guide-banner-element.js +38 -0
- package/es/components/guide-banner/guide-banner-element.js.map +1 -0
- package/es/components/guide-banner/guide-banner.d.ts +398 -0
- package/es/components/guide-banner/guide-banner.js +151 -0
- package/es/components/guide-banner/guide-banner.js.map +1 -0
- package/es/components/guide-banner/guide-banner.scss.js +13 -0
- package/es/components/guide-banner/guide-banner.scss.js.map +1 -0
- package/es/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/es/components/guide-banner/guide-banner.test.js +121 -0
- package/es/components/guide-banner/guide-banner.test.js.map +1 -0
- package/es/components/guide-banner/index.d.ts +10 -0
- package/es/components/guide-banner/index.js +10 -0
- package/es/components/guide-banner/index.js.map +1 -0
- package/es/components/notification-panel/notification-footer.scss.js +1 -1
- package/es/components/notification-panel/notification-panel.scss.js +1 -1
- package/es/components/notification-panel/notification.scss.js +1 -1
- package/es/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
- package/es/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
- package/es/components/side-panel/side-panel.scss.js +1 -1
- package/es/components/tearsheet/tearsheet.scss.js +1 -1
- package/es/index.d.ts +5 -1
- package/es/index.js +4 -0
- package/es/index.js.map +1 -1
- package/es/packages/ibm-products-web-components/package.json.js +1 -1
- package/es/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/es/utilities/makeDraggable/makeDraggable.js +136 -0
- package/es/utilities/makeDraggable/makeDraggable.js.map +1 -0
- package/es-custom/components/about-modal/about-modal.scss.js +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js +15 -2
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.scss.js +1 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js +8 -1
- package/es-custom/components/coachmark/coachmark-beacon/coachmark-beacon.test.js.map +1 -1
- package/es-custom/components/coachmark/coachmark-body.d.ts +382 -0
- package/es-custom/components/coachmark/coachmark-body.js +40 -0
- package/es-custom/components/coachmark/coachmark-body.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-body.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-context.d.ts +11 -0
- package/es-custom/components/coachmark/coachmark-context.js +39 -0
- package/es-custom/components/coachmark/coachmark-context.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.d.ts +392 -0
- package/es-custom/components/coachmark/coachmark-header.js +92 -0
- package/es-custom/components/coachmark/coachmark-header.js.map +1 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark-header.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.d.ts +416 -0
- package/es-custom/components/coachmark/coachmark.js +165 -0
- package/es-custom/components/coachmark/coachmark.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.scss.js +13 -0
- package/es-custom/components/coachmark/coachmark.scss.js.map +1 -0
- package/es-custom/components/coachmark/coachmark.test.d.ts +1 -0
- package/es-custom/components/coachmark/coachmark.test.js +168 -0
- package/es-custom/components/coachmark/coachmark.test.js.map +1 -0
- package/es-custom/components/coachmark/index.d.ts +11 -0
- package/es-custom/components/coachmark/index.js +11 -0
- package/es-custom/components/coachmark/index.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/es-custom/components/guide-banner/guide-banner-element.js +38 -0
- package/es-custom/components/guide-banner/guide-banner-element.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.d.ts +398 -0
- package/es-custom/components/guide-banner/guide-banner.js +151 -0
- package/es-custom/components/guide-banner/guide-banner.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.scss.js +13 -0
- package/es-custom/components/guide-banner/guide-banner.scss.js.map +1 -0
- package/es-custom/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/es-custom/components/guide-banner/guide-banner.test.js +121 -0
- package/es-custom/components/guide-banner/guide-banner.test.js.map +1 -0
- package/es-custom/components/guide-banner/index.d.ts +10 -0
- package/es-custom/components/guide-banner/index.js +10 -0
- package/es-custom/components/guide-banner/index.js.map +1 -0
- package/es-custom/components/notification-panel/notification-footer.scss.js +1 -1
- package/es-custom/components/notification-panel/notification-panel.scss.js +1 -1
- package/es-custom/components/notification-panel/notification.scss.js +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-breadcrumbs.scss.js +1 -1
- package/es-custom/components/page-header/_story-assets/set-of-tags/set-of-tags.scss.js +1 -1
- package/es-custom/components/side-panel/side-panel.scss.js +1 -1
- package/es-custom/components/tearsheet/tearsheet.scss.js +1 -1
- package/es-custom/index.d.ts +5 -1
- package/es-custom/index.js +4 -0
- package/es-custom/index.js.map +1 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
- package/es-custom/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/es-custom/utilities/makeDraggable/makeDraggable.js +136 -0
- package/es-custom/utilities/makeDraggable/makeDraggable.js.map +1 -0
- package/lib/components/coachmark/coachmark-beacon/coachmark-beacon.d.ts +6 -1
- package/lib/components/coachmark/coachmark-body.d.ts +382 -0
- package/lib/components/coachmark/coachmark-context.d.ts +11 -0
- package/lib/components/coachmark/coachmark-header.d.ts +392 -0
- package/lib/components/coachmark/coachmark.d.ts +416 -0
- package/lib/components/coachmark/coachmark.test.d.ts +1 -0
- package/lib/components/coachmark/index.d.ts +11 -0
- package/lib/components/guide-banner/guide-banner-element.d.ts +378 -0
- package/lib/components/guide-banner/guide-banner.d.ts +398 -0
- package/lib/components/guide-banner/guide-banner.test.d.ts +1 -0
- package/lib/components/guide-banner/index.d.ts +10 -0
- package/lib/index.d.ts +5 -1
- package/lib/utilities/makeDraggable/makeDraggable.d.ts +38 -0
- package/package.json +8 -8
- package/scss/components/coachmark/coachmark-beacon/coachmark-beacon.scss +1 -0
- package/scss/components/coachmark/coachmark-body.scss +19 -0
- package/scss/components/coachmark/coachmark-header.scss +32 -0
- package/scss/components/coachmark/coachmark.scss +30 -0
- package/scss/components/guide-banner/guide-banner.scss +30 -0
- package/telemetry.yml +14 -3
package/es-custom/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
3
|
*
|
|
4
|
-
* Copyright IBM Corp. 2024,
|
|
4
|
+
* Copyright IBM Corp. 2024, 2025
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -19,3 +19,7 @@ export { default as CDSPageHeaderContent } from './components/page-header/page-h
|
|
|
19
19
|
export { default as CDSPageHeaderContentText } from './components/page-header/page-header-content-text';
|
|
20
20
|
export { default as CDSPageHeaderHeroImage } from './components/page-header/page-header-hero-image';
|
|
21
21
|
export { default as CDSPageHeaderTabs } from './components/page-header/page-header-tabs';
|
|
22
|
+
export { default as CDSGuideBanner } from './components/guide-banner/guide-banner';
|
|
23
|
+
export { default as CDSGuideBannerElement } from './components/guide-banner/guide-banner-element';
|
|
24
|
+
export { default as CDSCoachmark } from './components/coachmark/coachmark';
|
|
25
|
+
export { default as CDSCoachmarkBeacon } from './components/coachmark/coachmark-beacon/coachmark-beacon';
|
package/es-custom/index.js
CHANGED
|
@@ -18,4 +18,8 @@ export { default as CDSPageHeaderContent } from './components/page-header/page-h
|
|
|
18
18
|
export { default as CDSPageHeaderContentText } from './components/page-header/page-header-content-text.js';
|
|
19
19
|
export { default as CDSPageHeaderHeroImage } from './components/page-header/page-header-hero-image.js';
|
|
20
20
|
export { default as CDSPageHeaderTabs } from './components/page-header/page-header-tabs.js';
|
|
21
|
+
export { default as CDSGuideBanner } from './components/guide-banner/guide-banner.js';
|
|
22
|
+
export { default as CDSGuideBannerElement } from './components/guide-banner/guide-banner-element.js';
|
|
23
|
+
export { default as CDSCoachmark } from './components/coachmark/coachmark.js';
|
|
24
|
+
export { default as CDSCoachmarkBeacon } from './components/coachmark/coachmark-beacon/coachmark-beacon.js';
|
|
21
25
|
//# sourceMappingURL=index.js.map
|
package/es-custom/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2025, 2025
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
interface DraggableProps {
|
|
8
|
+
/**
|
|
9
|
+
* HTML element to move.
|
|
10
|
+
*/
|
|
11
|
+
el: HTMLElement;
|
|
12
|
+
/**
|
|
13
|
+
* HTML element to initiate the drag (e.g., header).
|
|
14
|
+
*/
|
|
15
|
+
dragHandle?: HTMLElement;
|
|
16
|
+
/**
|
|
17
|
+
* HTML element to focus on drag for keyboard interaction (e.g., Drag Icon).
|
|
18
|
+
*/
|
|
19
|
+
focusableDragHandle?: HTMLElement;
|
|
20
|
+
/**
|
|
21
|
+
* Pixel value that defines the distance to move when dragging with arrow
|
|
22
|
+
* keys.
|
|
23
|
+
*/
|
|
24
|
+
dragStep?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Pixel value that defines the distance to move when dragging with
|
|
27
|
+
* shift+arrow keys.
|
|
28
|
+
*/
|
|
29
|
+
shiftDragStep?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Makes a given element draggable using a handle element.
|
|
33
|
+
*@param draggable - object which accepts el and optional attributes handle,focusableInHandle,dragStep and shiftDragStep
|
|
34
|
+
*/
|
|
35
|
+
export declare const makeDraggable: ({ el, dragHandle, focusableDragHandle, dragStep, shiftDragStep, }: DraggableProps) => {
|
|
36
|
+
cleanup: () => void;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2024
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Copyright IBM Corp. 2025, 2025
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Makes a given element draggable using a handle element.
|
|
16
|
+
*@param draggable - object which accepts el and optional attributes handle,focusableInHandle,dragStep and shiftDragStep
|
|
17
|
+
*/
|
|
18
|
+
const makeDraggable = ({ el, dragHandle, focusableDragHandle, dragStep, shiftDragStep, }) => {
|
|
19
|
+
if (dragHandle) {
|
|
20
|
+
dragHandle.style.cursor = 'move';
|
|
21
|
+
el.style.cursor = 'default';
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
el.style.cursor = 'move';
|
|
25
|
+
}
|
|
26
|
+
let isDragging = false;
|
|
27
|
+
let currentX = 0;
|
|
28
|
+
let currentY = 0;
|
|
29
|
+
let initialMouseX = 0;
|
|
30
|
+
let initialMouseY = 0;
|
|
31
|
+
const dispatch = (type, detail) => {
|
|
32
|
+
const eventInit = {
|
|
33
|
+
detail,
|
|
34
|
+
bubbles: true,
|
|
35
|
+
};
|
|
36
|
+
el.dispatchEvent(new CustomEvent(type, eventInit));
|
|
37
|
+
};
|
|
38
|
+
const onKeyDown = (e) => {
|
|
39
|
+
if (e.key === 'Enter') {
|
|
40
|
+
isDragging = !isDragging;
|
|
41
|
+
}
|
|
42
|
+
if (isDragging) {
|
|
43
|
+
dispatch('dragstart', { keyboard: true });
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
dispatch('dragend', { keyboard: true });
|
|
47
|
+
}
|
|
48
|
+
if (!isDragging) {
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
const distance = e.shiftKey ? (shiftDragStep !== null && shiftDragStep !== void 0 ? shiftDragStep : 32) : (dragStep !== null && dragStep !== void 0 ? dragStep : 8);
|
|
52
|
+
switch (e.key) {
|
|
53
|
+
case 'Enter':
|
|
54
|
+
case ' ':
|
|
55
|
+
e.preventDefault();
|
|
56
|
+
break;
|
|
57
|
+
case 'ArrowLeft':
|
|
58
|
+
el.style.left = `${el.offsetLeft - distance}px`;
|
|
59
|
+
break;
|
|
60
|
+
case 'ArrowRight':
|
|
61
|
+
el.style.left = `${el.offsetLeft + distance}px`;
|
|
62
|
+
break;
|
|
63
|
+
case 'ArrowUp':
|
|
64
|
+
el.style.top = `${el.offsetTop - distance}px`;
|
|
65
|
+
break;
|
|
66
|
+
case 'ArrowDown':
|
|
67
|
+
el.style.top = `${el.offsetTop + distance}px`;
|
|
68
|
+
break;
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
const onMouseDown = (e) => {
|
|
72
|
+
const target = e.target;
|
|
73
|
+
if (!(target instanceof Node)) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const isTargetInHandle = dragHandle
|
|
77
|
+
? dragHandle.contains(target)
|
|
78
|
+
: el.contains(target);
|
|
79
|
+
if (!isTargetInHandle) {
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
const style = window.getComputedStyle(el);
|
|
83
|
+
const matrix = new DOMMatrix(style.transform);
|
|
84
|
+
currentX = matrix.m41;
|
|
85
|
+
currentY = matrix.m42;
|
|
86
|
+
// Store the mouse position at the start of the drag
|
|
87
|
+
initialMouseX = e.clientX;
|
|
88
|
+
initialMouseY = e.clientY;
|
|
89
|
+
isDragging = true;
|
|
90
|
+
dispatch('dragstart', { mouse: true });
|
|
91
|
+
document.addEventListener('mousemove', onMouseMove);
|
|
92
|
+
document.addEventListener('mouseup', onMouseUp, { once: true });
|
|
93
|
+
};
|
|
94
|
+
const onMouseMove = (e) => {
|
|
95
|
+
if (!isDragging) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
// Calculate the change in mouse position from the start
|
|
99
|
+
const dx = e.clientX - initialMouseX;
|
|
100
|
+
const dy = e.clientY - initialMouseY;
|
|
101
|
+
// Add that change to the element's original translation
|
|
102
|
+
el.style.transform = `translate(${currentX + dx}px, ${currentY + dy}px)`;
|
|
103
|
+
};
|
|
104
|
+
const onMouseUp = () => {
|
|
105
|
+
if (!isDragging) {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
isDragging = false;
|
|
109
|
+
dispatch('dragend', { mouse: true });
|
|
110
|
+
document.removeEventListener('mousemove', onMouseMove);
|
|
111
|
+
};
|
|
112
|
+
if (dragHandle) {
|
|
113
|
+
dragHandle.addEventListener('mousedown', onMouseDown);
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
el.addEventListener('mousedown', onMouseDown);
|
|
117
|
+
}
|
|
118
|
+
focusableDragHandle === null || focusableDragHandle === void 0 ? void 0 : focusableDragHandle.addEventListener('keydown', onKeyDown);
|
|
119
|
+
const draggableCleanup = () => {
|
|
120
|
+
if (dragHandle) {
|
|
121
|
+
dragHandle.removeEventListener('mousedown', onMouseDown);
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
el.removeEventListener('mousedown', onMouseDown);
|
|
125
|
+
}
|
|
126
|
+
focusableDragHandle === null || focusableDragHandle === void 0 ? void 0 : focusableDragHandle.removeEventListener('keydown', onKeyDown);
|
|
127
|
+
document.removeEventListener('mousemove', onMouseMove);
|
|
128
|
+
document.removeEventListener('mouseup', onMouseUp);
|
|
129
|
+
};
|
|
130
|
+
return {
|
|
131
|
+
cleanup: draggableCleanup,
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
export { makeDraggable };
|
|
136
|
+
//# sourceMappingURL=makeDraggable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"makeDraggable.js","sources":["../../../src/utilities/makeDraggable/makeDraggable.ts"],"sourcesContent":[null],"names":[],"mappings":"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"}
|
|
@@ -394,10 +394,15 @@ declare class CDSCoachmarkBeacon extends CDSCoachmarkBeacon_base {
|
|
|
394
394
|
* id for the coachmark beacon
|
|
395
395
|
*/
|
|
396
396
|
id: string;
|
|
397
|
-
|
|
397
|
+
/**
|
|
398
|
+
* specify aria-expanded of beacon
|
|
399
|
+
*/
|
|
400
|
+
expanded: boolean;
|
|
398
401
|
firstUpdated(): void;
|
|
402
|
+
connectedCallback(): void;
|
|
399
403
|
private _handleClick;
|
|
400
404
|
private handleOutsideClick;
|
|
405
|
+
disconnectedCallback(): void;
|
|
401
406
|
render(): import("lit-html").TemplateResult<1>;
|
|
402
407
|
static shadowRootOptions: {
|
|
403
408
|
delegatesFocus: boolean;
|
|
@@ -0,0 +1,382 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*
|
|
4
|
+
* Copyright IBM Corp. 2025
|
|
5
|
+
*
|
|
6
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
7
|
+
* LICENSE file in the root directory of this source tree.
|
|
8
|
+
*/
|
|
9
|
+
import { LitElement } from 'lit';
|
|
10
|
+
declare const CDSCoachmarkBody_base: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
_handles: Set<import("@carbon/web-components/es/globals/internal/handle").default>;
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
accessKey: string;
|
|
16
|
+
readonly accessKeyLabel: string;
|
|
17
|
+
autocapitalize: string;
|
|
18
|
+
autocorrect: boolean;
|
|
19
|
+
dir: string;
|
|
20
|
+
draggable: boolean;
|
|
21
|
+
hidden: boolean;
|
|
22
|
+
inert: boolean;
|
|
23
|
+
innerText: string;
|
|
24
|
+
lang: string;
|
|
25
|
+
readonly offsetHeight: number;
|
|
26
|
+
readonly offsetLeft: number;
|
|
27
|
+
readonly offsetParent: Element | null;
|
|
28
|
+
readonly offsetTop: number;
|
|
29
|
+
readonly offsetWidth: number;
|
|
30
|
+
outerText: string;
|
|
31
|
+
popover: string | null;
|
|
32
|
+
spellcheck: boolean;
|
|
33
|
+
title: string;
|
|
34
|
+
translate: boolean;
|
|
35
|
+
writingSuggestions: string;
|
|
36
|
+
attachInternals(): ElementInternals;
|
|
37
|
+
click(): void;
|
|
38
|
+
hidePopover(): void;
|
|
39
|
+
showPopover(): void;
|
|
40
|
+
togglePopover(options?: boolean): boolean;
|
|
41
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
42
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
43
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
44
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
45
|
+
readonly attributes: NamedNodeMap;
|
|
46
|
+
get classList(): DOMTokenList;
|
|
47
|
+
set classList(value: string): any;
|
|
48
|
+
className: string;
|
|
49
|
+
readonly clientHeight: number;
|
|
50
|
+
readonly clientLeft: number;
|
|
51
|
+
readonly clientTop: number;
|
|
52
|
+
readonly clientWidth: number;
|
|
53
|
+
readonly currentCSSZoom: number;
|
|
54
|
+
id: string;
|
|
55
|
+
innerHTML: string;
|
|
56
|
+
readonly localName: string;
|
|
57
|
+
readonly namespaceURI: string | null;
|
|
58
|
+
onfullscreenchange: ((this: Element, ev: Event) => any) | null;
|
|
59
|
+
onfullscreenerror: ((this: Element, ev: Event) => any) | null;
|
|
60
|
+
outerHTML: string;
|
|
61
|
+
readonly ownerDocument: Document;
|
|
62
|
+
get part(): DOMTokenList;
|
|
63
|
+
set part(value: string): any;
|
|
64
|
+
readonly prefix: string | null;
|
|
65
|
+
readonly scrollHeight: number;
|
|
66
|
+
scrollLeft: number;
|
|
67
|
+
scrollTop: number;
|
|
68
|
+
readonly scrollWidth: number;
|
|
69
|
+
readonly shadowRoot: ShadowRoot | null;
|
|
70
|
+
slot: string;
|
|
71
|
+
readonly tagName: string;
|
|
72
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
73
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
74
|
+
closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
|
|
75
|
+
closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
|
|
76
|
+
closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
|
|
77
|
+
closest<E extends Element = Element>(selectors: string): E | null;
|
|
78
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
79
|
+
getAttribute(qualifiedName: string): string | null;
|
|
80
|
+
getAttributeNS(namespace: string | null, localName: string): string | null;
|
|
81
|
+
getAttributeNames(): string[];
|
|
82
|
+
getAttributeNode(qualifiedName: string): Attr | null;
|
|
83
|
+
getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
|
|
84
|
+
getBoundingClientRect(): DOMRect;
|
|
85
|
+
getClientRects(): DOMRectList;
|
|
86
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
87
|
+
getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
|
|
88
|
+
getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
|
|
89
|
+
getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
|
|
90
|
+
getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
91
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
92
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
93
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
94
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
95
|
+
getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
|
|
96
|
+
getHTML(options?: GetHTMLOptions): string;
|
|
97
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
98
|
+
hasAttributeNS(namespace: string | null, localName: string): boolean;
|
|
99
|
+
hasAttributes(): boolean;
|
|
100
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
101
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
|
|
102
|
+
insertAdjacentHTML(position: InsertPosition, string: string): void;
|
|
103
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
104
|
+
matches(selectors: string): boolean;
|
|
105
|
+
releasePointerCapture(pointerId: number): void;
|
|
106
|
+
removeAttribute(qualifiedName: string): void;
|
|
107
|
+
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
108
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
109
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
110
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
111
|
+
scroll(options?: ScrollToOptions): void;
|
|
112
|
+
scroll(x: number, y: number): void;
|
|
113
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
114
|
+
scrollBy(x: number, y: number): void;
|
|
115
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
116
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
117
|
+
scrollTo(x: number, y: number): void;
|
|
118
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
119
|
+
setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
|
|
120
|
+
setAttributeNode(attr: Attr): Attr | null;
|
|
121
|
+
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
122
|
+
setHTMLUnsafe(html: string): void;
|
|
123
|
+
setPointerCapture(pointerId: number): void;
|
|
124
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
125
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
126
|
+
get textContent(): string;
|
|
127
|
+
set textContent(value: string | null): any;
|
|
128
|
+
readonly baseURI: string;
|
|
129
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
130
|
+
readonly firstChild: ChildNode | null;
|
|
131
|
+
readonly isConnected: boolean;
|
|
132
|
+
readonly lastChild: ChildNode | null;
|
|
133
|
+
readonly nextSibling: ChildNode | null;
|
|
134
|
+
readonly nodeName: string;
|
|
135
|
+
readonly nodeType: number;
|
|
136
|
+
nodeValue: string | null;
|
|
137
|
+
readonly parentElement: HTMLElement | null;
|
|
138
|
+
readonly parentNode: ParentNode | null;
|
|
139
|
+
readonly previousSibling: ChildNode | null;
|
|
140
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
141
|
+
cloneNode(subtree?: boolean): Node;
|
|
142
|
+
compareDocumentPosition(other: Node): number;
|
|
143
|
+
contains(other: Node | null): boolean;
|
|
144
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
145
|
+
hasChildNodes(): boolean;
|
|
146
|
+
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
147
|
+
isDefaultNamespace(namespace: string | null): boolean;
|
|
148
|
+
isEqualNode(otherNode: Node | null): boolean;
|
|
149
|
+
isSameNode(otherNode: Node | null): boolean;
|
|
150
|
+
lookupNamespaceURI(prefix: string | null): string | null;
|
|
151
|
+
lookupPrefix(namespace: string | null): string | null;
|
|
152
|
+
normalize(): void;
|
|
153
|
+
removeChild<T_1 extends Node>(child: T_1): T_1;
|
|
154
|
+
replaceChild<T_1 extends Node>(node: Node, child: T_1): T_1;
|
|
155
|
+
readonly ELEMENT_NODE: 1;
|
|
156
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
157
|
+
readonly TEXT_NODE: 3;
|
|
158
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
159
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
160
|
+
readonly ENTITY_NODE: 6;
|
|
161
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
162
|
+
readonly COMMENT_NODE: 8;
|
|
163
|
+
readonly DOCUMENT_NODE: 9;
|
|
164
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
165
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
166
|
+
readonly NOTATION_NODE: 12;
|
|
167
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
168
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
169
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
170
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
171
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
172
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
173
|
+
dispatchEvent(event: Event): boolean;
|
|
174
|
+
ariaActiveDescendantElement: Element | null;
|
|
175
|
+
ariaAtomic: string | null;
|
|
176
|
+
ariaAutoComplete: string | null;
|
|
177
|
+
ariaBrailleLabel: string | null;
|
|
178
|
+
ariaBrailleRoleDescription: string | null;
|
|
179
|
+
ariaBusy: string | null;
|
|
180
|
+
ariaChecked: string | null;
|
|
181
|
+
ariaColCount: string | null;
|
|
182
|
+
ariaColIndex: string | null;
|
|
183
|
+
ariaColIndexText: string | null;
|
|
184
|
+
ariaColSpan: string | null;
|
|
185
|
+
ariaControlsElements: ReadonlyArray<Element> | null;
|
|
186
|
+
ariaCurrent: string | null;
|
|
187
|
+
ariaDescribedByElements: ReadonlyArray<Element> | null;
|
|
188
|
+
ariaDescription: string | null;
|
|
189
|
+
ariaDetailsElements: ReadonlyArray<Element> | null;
|
|
190
|
+
ariaDisabled: string | null;
|
|
191
|
+
ariaErrorMessageElements: ReadonlyArray<Element> | null;
|
|
192
|
+
ariaExpanded: string | null;
|
|
193
|
+
ariaFlowToElements: ReadonlyArray<Element> | null;
|
|
194
|
+
ariaHasPopup: string | null;
|
|
195
|
+
ariaHidden: string | null;
|
|
196
|
+
ariaInvalid: string | null;
|
|
197
|
+
ariaKeyShortcuts: string | null;
|
|
198
|
+
ariaLabel: string | null;
|
|
199
|
+
ariaLabelledByElements: ReadonlyArray<Element> | null;
|
|
200
|
+
ariaLevel: string | null;
|
|
201
|
+
ariaLive: string | null;
|
|
202
|
+
ariaModal: string | null;
|
|
203
|
+
ariaMultiLine: string | null;
|
|
204
|
+
ariaMultiSelectable: string | null;
|
|
205
|
+
ariaOrientation: string | null;
|
|
206
|
+
ariaOwnsElements: ReadonlyArray<Element> | null;
|
|
207
|
+
ariaPlaceholder: string | null;
|
|
208
|
+
ariaPosInSet: string | null;
|
|
209
|
+
ariaPressed: string | null;
|
|
210
|
+
ariaReadOnly: string | null;
|
|
211
|
+
ariaRelevant: string | null;
|
|
212
|
+
ariaRequired: string | null;
|
|
213
|
+
ariaRoleDescription: string | null;
|
|
214
|
+
ariaRowCount: string | null;
|
|
215
|
+
ariaRowIndex: string | null;
|
|
216
|
+
ariaRowIndexText: string | null;
|
|
217
|
+
ariaRowSpan: string | null;
|
|
218
|
+
ariaSelected: string | null;
|
|
219
|
+
ariaSetSize: string | null;
|
|
220
|
+
ariaSort: string | null;
|
|
221
|
+
ariaValueMax: string | null;
|
|
222
|
+
ariaValueMin: string | null;
|
|
223
|
+
ariaValueNow: string | null;
|
|
224
|
+
ariaValueText: string | null;
|
|
225
|
+
role: string | null;
|
|
226
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
|
|
227
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
228
|
+
after(...nodes: (Node | string)[]): void;
|
|
229
|
+
before(...nodes: (Node | string)[]): void;
|
|
230
|
+
remove(): void;
|
|
231
|
+
replaceWith(...nodes: (Node | string)[]): void;
|
|
232
|
+
readonly nextElementSibling: Element | null;
|
|
233
|
+
readonly previousElementSibling: Element | null;
|
|
234
|
+
readonly childElementCount: number;
|
|
235
|
+
readonly children: HTMLCollection;
|
|
236
|
+
readonly firstElementChild: Element | null;
|
|
237
|
+
readonly lastElementChild: Element | null;
|
|
238
|
+
append(...nodes: (Node | string)[]): void;
|
|
239
|
+
prepend(...nodes: (Node | string)[]): void;
|
|
240
|
+
querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
|
|
241
|
+
querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
|
|
242
|
+
querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
|
|
243
|
+
querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
|
|
244
|
+
querySelector<E extends Element = Element>(selectors: string): E | null;
|
|
245
|
+
querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
|
|
246
|
+
querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
|
|
247
|
+
querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
|
|
248
|
+
querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
|
|
249
|
+
querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
|
|
250
|
+
replaceChildren(...nodes: (Node | string)[]): void;
|
|
251
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
252
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
253
|
+
get style(): CSSStyleDeclaration;
|
|
254
|
+
set style(cssText: string): any;
|
|
255
|
+
contentEditable: string;
|
|
256
|
+
enterKeyHint: string;
|
|
257
|
+
inputMode: string;
|
|
258
|
+
readonly isContentEditable: boolean;
|
|
259
|
+
onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
260
|
+
onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
261
|
+
onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
262
|
+
onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
263
|
+
onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
|
|
264
|
+
onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
265
|
+
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
266
|
+
onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
267
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
268
|
+
onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
269
|
+
oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
270
|
+
oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
271
|
+
oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
272
|
+
onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
273
|
+
onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
274
|
+
onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
275
|
+
oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
276
|
+
oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
277
|
+
oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
278
|
+
oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
279
|
+
oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
280
|
+
oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
281
|
+
ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
282
|
+
ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
283
|
+
ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
284
|
+
ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
285
|
+
ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
286
|
+
ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
287
|
+
ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
288
|
+
ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
|
|
289
|
+
ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
290
|
+
onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
291
|
+
onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
292
|
+
onerror: OnErrorEventHandler;
|
|
293
|
+
onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
|
|
294
|
+
onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
|
|
295
|
+
ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
296
|
+
oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
297
|
+
oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
298
|
+
onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
299
|
+
onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
300
|
+
onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
|
|
301
|
+
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
302
|
+
onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
303
|
+
onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
304
|
+
onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
305
|
+
onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
306
|
+
onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
307
|
+
onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
308
|
+
onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
309
|
+
onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
310
|
+
onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
311
|
+
onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
312
|
+
onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
313
|
+
onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
314
|
+
onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
315
|
+
onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
316
|
+
onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
317
|
+
onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
318
|
+
onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
319
|
+
onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
320
|
+
onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
321
|
+
onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
322
|
+
onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
323
|
+
onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
324
|
+
onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
325
|
+
onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
|
|
326
|
+
onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
|
|
327
|
+
onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
328
|
+
onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
329
|
+
onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
|
|
330
|
+
onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
331
|
+
onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
332
|
+
onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
|
|
333
|
+
onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
334
|
+
onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
335
|
+
onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
336
|
+
onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
337
|
+
onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
338
|
+
onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
339
|
+
onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
340
|
+
onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
|
|
341
|
+
onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
342
|
+
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
343
|
+
ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
|
|
344
|
+
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
345
|
+
ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
346
|
+
ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
347
|
+
ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
348
|
+
ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
349
|
+
ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
350
|
+
ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
351
|
+
ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
|
|
352
|
+
onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
353
|
+
onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
354
|
+
onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
355
|
+
onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
356
|
+
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
357
|
+
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
358
|
+
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
359
|
+
autofocus: boolean;
|
|
360
|
+
readonly dataset: DOMStringMap;
|
|
361
|
+
nonce?: string;
|
|
362
|
+
tabIndex: number;
|
|
363
|
+
blur(): void;
|
|
364
|
+
focus(options?: FocusOptions): void;
|
|
365
|
+
};
|
|
366
|
+
_hostListeners: {
|
|
367
|
+
[listenerName: string]: {
|
|
368
|
+
[type: string]: {
|
|
369
|
+
options?: boolean | AddEventListenerOptions;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
};
|
|
373
|
+
} & typeof LitElement;
|
|
374
|
+
/**
|
|
375
|
+
* coachmark-body for content body
|
|
376
|
+
* @element c4p-coachmark-body
|
|
377
|
+
*/
|
|
378
|
+
declare class CDSCoachmarkBody extends CDSCoachmarkBody_base {
|
|
379
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
380
|
+
static styles: any;
|
|
381
|
+
}
|
|
382
|
+
export default CDSCoachmarkBody;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface CoachmarkDetailsType {
|
|
2
|
+
open?: boolean;
|
|
3
|
+
floating?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare const coachmarkDetailsSignal: import("@lit-labs/signals").Signal.State<CoachmarkDetailsType>;
|
|
6
|
+
export declare const resetCoachmarkDetailsSignal: () => void;
|
|
7
|
+
export declare const updateCoachmarkDetailsSignal: ({ name, detail }: {
|
|
8
|
+
name: any;
|
|
9
|
+
detail: any;
|
|
10
|
+
}) => void;
|
|
11
|
+
export {};
|