@sveltia/ui 0.2.2 → 0.2.4
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/package/components/composite/calendar.svelte +4 -1
- package/package/components/composite/calendar.svelte.d.ts +1 -1
- package/package/components/composite/checkbox-group.svelte +2 -3
- package/package/components/composite/combobox.svelte +9 -6
- package/package/components/composite/combobox.svelte.d.ts +4 -4
- package/package/components/composite/disclosure.svelte +2 -2
- package/package/components/composite/grid.svelte +2 -2
- package/package/components/composite/grid.svelte.d.ts +1 -1
- package/package/components/composite/listbox.svelte +2 -2
- package/package/components/composite/listbox.svelte.d.ts +1 -1
- package/package/components/composite/menu-item-group.svelte +1 -1
- package/package/components/composite/menu.svelte +2 -2
- package/package/components/composite/menu.svelte.d.ts +1 -1
- package/package/components/composite/radio-button-group.svelte +2 -2
- package/package/components/composite/radio-button-group.svelte.d.ts +1 -1
- package/package/components/composite/select-button-group.svelte +2 -2
- package/package/components/composite/select-button-group.svelte.d.ts +1 -1
- package/package/components/composite/select.svelte +2 -2
- package/package/components/composite/select.svelte.d.ts +1 -1
- package/package/components/composite/tab-list.svelte +2 -2
- package/package/components/composite/tab-list.svelte.d.ts +1 -1
- package/package/components/core/button.svelte +9 -10
- package/package/components/core/button.svelte.d.ts +9 -9
- package/package/components/core/checkbox.svelte +7 -7
- package/package/components/core/checkbox.svelte.d.ts +1 -1
- package/package/components/core/dialog.svelte +13 -3
- package/package/components/core/dialog.svelte.d.ts +2 -2
- package/package/components/core/drawer.svelte +12 -2
- package/package/components/core/grid-cell.svelte +1 -2
- package/package/components/core/group.svelte +1 -1
- package/package/components/core/icon.svelte +1 -1
- package/package/components/core/menu-button.svelte +2 -2
- package/package/components/core/menu-button.svelte.d.ts +2 -2
- package/package/components/core/menu-item-checkbox.svelte +1 -1
- package/package/components/core/menu-item-radio.svelte +1 -1
- package/package/components/core/number-input.svelte +8 -2
- package/package/components/core/number-input.svelte.d.ts +1 -1
- package/package/components/core/option.svelte +1 -1
- package/package/components/core/password-input.svelte +2 -2
- package/package/components/core/password-input.svelte.d.ts +1 -1
- package/package/components/core/radio-button.svelte +5 -5
- package/package/components/core/radio-button.svelte.d.ts +1 -1
- package/package/components/core/row-group.svelte +1 -2
- package/package/components/core/row.svelte +1 -2
- package/package/components/core/search-bar.svelte +2 -2
- package/package/components/core/select-button.svelte +1 -1
- package/package/components/core/separator.svelte +2 -1
- package/package/components/core/separator.svelte.d.ts +2 -2
- package/package/components/core/slider.svelte +25 -3
- package/package/components/core/spacer.svelte +2 -2
- package/package/components/core/switch.svelte +1 -1
- package/package/components/core/tab-panel.svelte +1 -2
- package/package/components/core/tab.svelte +1 -1
- package/package/components/core/text-area.svelte +53 -16
- package/package/components/core/text-area.svelte.d.ts +2 -2
- package/package/components/core/text-input.svelte +4 -4
- package/package/components/core/text-input.svelte.d.ts +5 -5
- package/package/components/core/toolbar.svelte +1 -2
- package/package/components/editor/markdown.svelte +1 -1
- package/package/components/editor/markdown.svelte.d.ts +1 -1
- package/package/components/helpers/group.d.ts +1 -37
- package/package/components/helpers/group.js +23 -18
- package/package/components/helpers/popup.d.ts +1 -2
- package/package/components/helpers/popup.js +8 -7
- package/package/components/helpers/util.js +6 -0
- package/package/components/util/app-shell.svelte +7 -1
- package/package/components/util/misc.js +0 -2
- package/package/components/util/popup.svelte +14 -4
- package/package/components/util/popup.svelte.d.ts +10 -10
- package/package/components/util/portal.svelte +1 -1
- package/package/index.d.ts +4 -1
- package/package/index.js +45 -0
- package/package/typedef.d.ts +1 -0
- package/package/typedef.js +4 -0
- package/package.json +15 -17
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* CSS class name on the button.
|
|
11
|
-
* @type {
|
|
11
|
+
* @type {string}
|
|
12
12
|
*/
|
|
13
13
|
let className = '';
|
|
14
14
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
];
|
|
43
43
|
|
|
44
44
|
if (members.length) {
|
|
45
|
-
(key === 'ArrowUp' ? members.pop() : members.shift()).focus();
|
|
45
|
+
/** @type {HTMLElement} */ (key === 'ArrowUp' ? members.pop() : members.shift()).focus();
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
export default class MenuButton extends SvelteComponentTyped<{
|
|
6
6
|
[x: string]: any;
|
|
7
7
|
class?: string;
|
|
8
|
-
popupPosition?:
|
|
8
|
+
popupPosition?: PopupPosition;
|
|
9
9
|
}, {
|
|
10
10
|
[evt: string]: CustomEvent<any>;
|
|
11
11
|
}, {
|
|
@@ -27,7 +27,7 @@ declare const __propDef: {
|
|
|
27
27
|
props: {
|
|
28
28
|
[x: string]: any;
|
|
29
29
|
class?: string;
|
|
30
|
-
popupPosition?:
|
|
30
|
+
popupPosition?: PopupPosition;
|
|
31
31
|
};
|
|
32
32
|
events: {
|
|
33
33
|
[evt: string]: CustomEvent<any>;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* CSS class name on the button.
|
|
13
|
-
* @type {
|
|
13
|
+
* @type {string}
|
|
14
14
|
*/
|
|
15
15
|
let className = '';
|
|
16
16
|
|
|
17
17
|
export { className as class };
|
|
18
18
|
|
|
19
|
-
/** @type {
|
|
19
|
+
/** @type {string?} */
|
|
20
20
|
export let value = undefined;
|
|
21
21
|
|
|
22
22
|
export let disabled = false;
|
|
@@ -26,6 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
let component;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
29
32
|
const decrease = () => {
|
|
30
33
|
if (typeof min === 'number' && Number(value || 0) === min) {
|
|
31
34
|
return;
|
|
@@ -34,6 +37,9 @@
|
|
|
34
37
|
value = String(Number(value || 0) - step);
|
|
35
38
|
};
|
|
36
39
|
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
37
43
|
const increase = () => {
|
|
38
44
|
if (typeof min === 'number' && Number(value || 0) === max) {
|
|
39
45
|
return;
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* CSS class name on the button.
|
|
13
|
-
* @type {
|
|
13
|
+
* @type {string}
|
|
14
14
|
*/
|
|
15
15
|
let className = '';
|
|
16
16
|
|
|
17
17
|
export { className as class };
|
|
18
18
|
|
|
19
|
-
/** @type {
|
|
19
|
+
/** @type {string?} */
|
|
20
20
|
export let value = undefined;
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* CSS class name on the button.
|
|
13
|
-
* @type {
|
|
13
|
+
* @type {string}
|
|
14
14
|
*/
|
|
15
15
|
let className = '';
|
|
16
16
|
|
|
17
17
|
export { className as class };
|
|
18
18
|
|
|
19
|
-
/** @type {
|
|
19
|
+
/** @type {string} */
|
|
20
20
|
export let name = '';
|
|
21
21
|
|
|
22
|
-
/** @type {
|
|
22
|
+
/** @type {string?} */
|
|
23
23
|
export let value = undefined;
|
|
24
24
|
|
|
25
|
-
/** @type {
|
|
25
|
+
/** @type {boolean} */
|
|
26
26
|
export let selected = false;
|
|
27
27
|
|
|
28
28
|
const id = getRandomId('checkbox');
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<span
|
|
39
39
|
class="sui radio-button {className}"
|
|
40
40
|
on:click={(event) => {
|
|
41
|
-
if (!event.target.matches('button')) {
|
|
41
|
+
if (!(/** @type {HTMLElement} */ (event.target).matches('button'))) {
|
|
42
42
|
buttonComponent.element.click();
|
|
43
43
|
}
|
|
44
44
|
}}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* CSS class name on the button.
|
|
15
|
-
* @type {
|
|
15
|
+
* @type {string}
|
|
16
16
|
*/
|
|
17
17
|
let className = '';
|
|
18
18
|
|
|
19
19
|
export { className as class };
|
|
20
20
|
|
|
21
|
-
/** @type {
|
|
21
|
+
/** @type {import('svelte').SvelteComponent} */
|
|
22
22
|
let input;
|
|
23
23
|
|
|
24
24
|
export let value = '';
|
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
@see https://w3c.github.io/aria/#separator
|
|
4
4
|
-->
|
|
5
5
|
<script>
|
|
6
|
+
/** @type {('horizontal' | 'vertical')} */
|
|
6
7
|
export let orientation = 'horizontal';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* CSS class name on the button.
|
|
10
|
-
* @type {
|
|
11
|
+
* @type {string}
|
|
11
12
|
*/
|
|
12
13
|
let className = '';
|
|
13
14
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/** @see https://w3c.github.io/aria/#separator */
|
|
5
5
|
export default class Separator extends SvelteComponentTyped<{
|
|
6
6
|
class?: string;
|
|
7
|
-
orientation?:
|
|
7
|
+
orientation?: "horizontal" | "vertical";
|
|
8
8
|
}, {
|
|
9
9
|
[evt: string]: CustomEvent<any>;
|
|
10
10
|
}, {}> {
|
|
@@ -16,7 +16,7 @@ import { SvelteComponentTyped } from "svelte";
|
|
|
16
16
|
declare const __propDef: {
|
|
17
17
|
props: {
|
|
18
18
|
class?: string;
|
|
19
|
-
orientation?:
|
|
19
|
+
orientation?: ('horizontal' | 'vertical');
|
|
20
20
|
};
|
|
21
21
|
events: {
|
|
22
22
|
[evt: string]: CustomEvent<any>;
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* CSS class name on the button.
|
|
13
|
-
* @type {
|
|
13
|
+
* @type {string}
|
|
14
14
|
*/
|
|
15
15
|
let className = '';
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
$: multiThumb = !!values;
|
|
29
29
|
|
|
30
30
|
const dispatch = createEventDispatcher();
|
|
31
|
-
/** @type {
|
|
31
|
+
/** @type {HTMLElement?} */
|
|
32
32
|
let base = undefined;
|
|
33
33
|
let barWidth = 0;
|
|
34
34
|
let positionList = [];
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
let dragging = false;
|
|
40
40
|
let targetValueIndex = 0;
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {number} diff
|
|
45
|
+
*/
|
|
42
46
|
const dragSlider = (diff) => {
|
|
43
47
|
if (diff >= 0 && diff <= barWidth) {
|
|
44
48
|
const fromIndex = positionList.findLastIndex((s) => s <= diff);
|
|
@@ -70,6 +74,11 @@
|
|
|
70
74
|
}
|
|
71
75
|
};
|
|
72
76
|
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @param {KeyboardEvent} event `keydown` event.
|
|
80
|
+
* @param {number} [valueIndex]
|
|
81
|
+
*/
|
|
73
82
|
const onKeyDown = (event, valueIndex = 0) => {
|
|
74
83
|
const { key, shiftKey, altKey, ctrlKey, metaKey } = event;
|
|
75
84
|
|
|
@@ -118,6 +127,11 @@
|
|
|
118
127
|
}
|
|
119
128
|
};
|
|
120
129
|
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @param {MouseEvent} event `mousedown` event.
|
|
133
|
+
* @param {number} [valueIndex]
|
|
134
|
+
*/
|
|
121
135
|
const onMouseDown = (event, valueIndex = 0) => {
|
|
122
136
|
const { clientX, screenX } = event;
|
|
123
137
|
|
|
@@ -127,15 +141,23 @@
|
|
|
127
141
|
targetValueIndex = valueIndex;
|
|
128
142
|
};
|
|
129
143
|
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @param {MouseEvent} event `mousemove` event.
|
|
147
|
+
*/
|
|
130
148
|
const onMouseMove = (event) => {
|
|
131
149
|
if (dragging) {
|
|
132
150
|
dragSlider(startX + (event.screenX - startScreenX));
|
|
133
151
|
}
|
|
134
152
|
};
|
|
135
153
|
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @param {MouseEvent} event `click` event.
|
|
157
|
+
*/
|
|
136
158
|
const onClick = (event) => {
|
|
137
159
|
if (!multiThumb && !dragging) {
|
|
138
|
-
dragSlider(event.layerX);
|
|
160
|
+
dragSlider(/** @type {any} */ (event).layerX);
|
|
139
161
|
}
|
|
140
162
|
|
|
141
163
|
if (dragging) {
|
|
@@ -5,56 +5,90 @@
|
|
|
5
5
|
<svelte:options accessors={true} />
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
+
import { onMount, tick } from 'svelte';
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* CSS class name on the button.
|
|
10
|
-
* @type {
|
|
12
|
+
* @type {string}
|
|
11
13
|
*/
|
|
12
|
-
// eslint-disable-next-line padding-line-between-statements
|
|
13
14
|
let className = '';
|
|
14
15
|
|
|
15
16
|
export { className as class };
|
|
16
17
|
|
|
17
|
-
/** @type {
|
|
18
|
+
/** @type {HTMLTextAreaElement?} */
|
|
18
19
|
export let element = undefined;
|
|
19
20
|
|
|
20
21
|
export let name = '';
|
|
21
22
|
|
|
22
|
-
/** @type {
|
|
23
|
+
/** @type {string?} */
|
|
23
24
|
export let value = undefined;
|
|
24
25
|
|
|
25
26
|
export let autoResize = false;
|
|
26
27
|
|
|
27
|
-
/** @type {
|
|
28
|
+
/** @type {string?} */
|
|
28
29
|
let height;
|
|
30
|
+
/** @type {HTMLElement?} */
|
|
31
|
+
let outer = undefined;
|
|
32
|
+
let resizing = false;
|
|
33
|
+
let lastWidth = 0;
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Resize the `<textarea>` based on the filled text content.
|
|
37
|
+
*/
|
|
38
|
+
const resizeTextarea = async () => {
|
|
39
|
+
resizing = true;
|
|
31
40
|
height = 'auto';
|
|
32
41
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
42
|
+
await tick();
|
|
43
|
+
|
|
44
|
+
height = value && element?.scrollHeight ? `${element.scrollHeight + 4}px` : undefined;
|
|
45
|
+
resizing = false;
|
|
36
46
|
};
|
|
37
47
|
|
|
48
|
+
/**
|
|
49
|
+
* Call {@link resizeTextarea} whenever the text content is updated.
|
|
50
|
+
*/
|
|
38
51
|
$: {
|
|
39
|
-
if (
|
|
40
|
-
|
|
52
|
+
if (autoResize) {
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
resizeTextarea(value);
|
|
41
55
|
}
|
|
42
56
|
}
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Call {@link resizeTextarea} whenever it’s horizontally resized.
|
|
60
|
+
*/
|
|
61
|
+
onMount(() => {
|
|
62
|
+
const observer = new ResizeObserver(([{ contentRect }]) => {
|
|
63
|
+
const { width } = contentRect;
|
|
64
|
+
|
|
65
|
+
if (autoResize && lastWidth !== width) {
|
|
66
|
+
lastWidth = width;
|
|
67
|
+
resizeTextarea();
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
observer.observe(outer);
|
|
72
|
+
|
|
73
|
+
// onUnmount
|
|
74
|
+
return () => {
|
|
75
|
+
observer.disconnect();
|
|
76
|
+
};
|
|
77
|
+
});
|
|
43
78
|
</script>
|
|
44
79
|
|
|
45
|
-
<div class="sui text-area {className}">
|
|
80
|
+
<div class="sui text-area {className}" bind:this={outer}>
|
|
46
81
|
<textarea
|
|
47
82
|
name={name || undefined}
|
|
48
83
|
{...$$restProps}
|
|
49
84
|
style:height
|
|
85
|
+
class:resizing
|
|
50
86
|
bind:this={element}
|
|
87
|
+
bind:value
|
|
51
88
|
on:click
|
|
52
89
|
on:input
|
|
53
90
|
on:keypress
|
|
54
|
-
|
|
55
|
-
value = element.value;
|
|
56
|
-
}}>{value}</textarea
|
|
57
|
-
>
|
|
91
|
+
/>
|
|
58
92
|
</div>
|
|
59
93
|
|
|
60
94
|
<style>.text-area {
|
|
@@ -80,6 +114,9 @@ textarea {
|
|
|
80
114
|
resize: vertical;
|
|
81
115
|
transition: all 200ms;
|
|
82
116
|
}
|
|
117
|
+
textarea.resizing {
|
|
118
|
+
transition-duration: 0ms;
|
|
119
|
+
}
|
|
83
120
|
textarea:focus {
|
|
84
121
|
border-color: var(--primary-accent-color);
|
|
85
122
|
}
|
|
@@ -40,9 +40,9 @@ declare const __propDef: {
|
|
|
40
40
|
props: {
|
|
41
41
|
[x: string]: any;
|
|
42
42
|
class?: string;
|
|
43
|
-
element?:
|
|
43
|
+
element?: HTMLTextAreaElement | null;
|
|
44
44
|
name?: string;
|
|
45
|
-
value?:
|
|
45
|
+
value?: string | null;
|
|
46
46
|
autoResize?: boolean;
|
|
47
47
|
};
|
|
48
48
|
events: {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* CSS class name on the button.
|
|
12
|
-
* @type {
|
|
12
|
+
* @type {string}
|
|
13
13
|
*/
|
|
14
14
|
let className = '';
|
|
15
15
|
|
|
16
16
|
export { className as class };
|
|
17
17
|
|
|
18
|
-
/** @type {
|
|
18
|
+
/** @type {HTMLInputElement?} */
|
|
19
19
|
export let element = undefined;
|
|
20
20
|
|
|
21
21
|
/** @type {('textbox'|'searchbox'|'combobox'|'spinbutton')} */
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
export let name = '';
|
|
32
32
|
|
|
33
|
-
/** @type {(
|
|
33
|
+
/** @type {(string | number | undefined)} */
|
|
34
34
|
export let value = undefined;
|
|
35
35
|
|
|
36
36
|
const id = getRandomId('input');
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
{role}
|
|
53
53
|
name={name || undefined}
|
|
54
54
|
tabindex={disabled ? -1 : 0}
|
|
55
|
-
{readOnly}
|
|
55
|
+
readOnly={readOnly ? true : undefined}
|
|
56
56
|
aria-readonly={readOnly ? true : undefined}
|
|
57
57
|
{disabled}
|
|
58
58
|
aria-disabled={disabled ? true : undefined}
|
|
@@ -9,7 +9,7 @@ export default class TextInput extends SvelteComponentTyped<{
|
|
|
9
9
|
role?: "textbox" | "searchbox" | "combobox" | "spinbutton";
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
name?: string;
|
|
12
|
-
value?: string;
|
|
12
|
+
value?: string | number;
|
|
13
13
|
readOnly?: boolean;
|
|
14
14
|
}, {
|
|
15
15
|
input: Event;
|
|
@@ -39,8 +39,8 @@ export default class TextInput extends SvelteComponentTyped<{
|
|
|
39
39
|
set name(arg: string);
|
|
40
40
|
get name(): string;
|
|
41
41
|
/**accessor*/
|
|
42
|
-
set value(arg: string);
|
|
43
|
-
get value(): string;
|
|
42
|
+
set value(arg: string | number);
|
|
43
|
+
get value(): string | number;
|
|
44
44
|
}
|
|
45
45
|
export type TextInputProps = typeof __propDef.props;
|
|
46
46
|
export type TextInputEvents = typeof __propDef.events;
|
|
@@ -50,11 +50,11 @@ declare const __propDef: {
|
|
|
50
50
|
props: {
|
|
51
51
|
[x: string]: any;
|
|
52
52
|
class?: string;
|
|
53
|
-
element?:
|
|
53
|
+
element?: HTMLInputElement | null;
|
|
54
54
|
role?: ('textbox' | 'searchbox' | 'combobox' | 'spinbutton');
|
|
55
55
|
disabled?: boolean;
|
|
56
56
|
name?: string;
|
|
57
|
-
value?: (string | undefined);
|
|
57
|
+
value?: (string | number | undefined);
|
|
58
58
|
readOnly?: boolean;
|
|
59
59
|
};
|
|
60
60
|
events: {
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
export function activateGroup(...args: any[]):
|
|
2
|
-
/**
|
|
3
|
-
* Implement keyboard and mouse interactions for a grouping composite widget.
|
|
4
|
-
*/
|
|
5
|
-
declare class Group {
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param {HTMLElement} parent
|
|
9
|
-
* @todo Check for added elements probably with `MutationObserver`.
|
|
10
|
-
*/
|
|
11
|
-
constructor(parent: HTMLElement);
|
|
12
|
-
parent: HTMLElement;
|
|
13
|
-
role: string;
|
|
14
|
-
grid: boolean;
|
|
15
|
-
multi: boolean;
|
|
16
|
-
id: string;
|
|
17
|
-
parentGroupSelector: string;
|
|
18
|
-
orientation: any;
|
|
19
|
-
childSelectedAttr: any;
|
|
20
|
-
/** @type {string} */
|
|
21
|
-
get selector(): string;
|
|
22
|
-
/** @type {HTMLElement[]} */
|
|
23
|
-
get allMembers(): HTMLElement[];
|
|
24
|
-
/** @type {HTMLElement[]} */
|
|
25
|
-
get activeMembers(): HTMLElement[];
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @param {KeyboardEvent}
|
|
29
|
-
*/
|
|
30
|
-
onClick(event: any): void;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @param {KeyboardEvent}
|
|
34
|
-
*/
|
|
35
|
-
onKeyDown(event: any): void;
|
|
36
|
-
}
|
|
37
|
-
export {};
|
|
1
|
+
export function activateGroup(...args: any[]): void;
|