@gjsify/adwaita-web 0.31.0 → 0.32.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/dist/adwaita-web.css +786 -272
- package/dist/adwaita-web.css.map +1 -1
- package/lib/types/adw-about-dialog.spec.d.ts +1 -0
- package/lib/types/adw-action-rows.spec.d.ts +1 -0
- package/lib/types/adw-avatar.spec.d.ts +1 -0
- package/lib/types/adw-banner.spec.d.ts +1 -0
- package/lib/types/adw-button-content.spec.d.ts +1 -0
- package/lib/types/adw-carousel.spec.d.ts +1 -0
- package/lib/types/adw-checks.spec.d.ts +1 -0
- package/lib/types/adw-header-bar.spec.d.ts +1 -0
- package/lib/types/adw-icon.spec.d.ts +1 -0
- package/lib/types/adw-progress-bar.spec.d.ts +1 -0
- package/lib/types/adw-sidebar.spec.d.ts +1 -0
- package/lib/types/adw-switch.spec.d.ts +1 -0
- package/lib/types/adw-wrap-box.spec.d.ts +1 -0
- package/lib/types/bottom-sheet.spec.d.ts +1 -0
- package/lib/types/breakpoints.d.ts +22 -0
- package/lib/types/breakpoints.spec.d.ts +1 -0
- package/lib/types/chrome.spec.d.ts +1 -0
- package/lib/types/elements/adw-about-dialog.d.ts +47 -8
- package/lib/types/elements/adw-action-row.d.ts +35 -0
- package/lib/types/elements/adw-avatar.d.ts +11 -0
- package/lib/types/elements/adw-bottom-sheet.d.ts +33 -4
- package/lib/types/elements/adw-button-content.d.ts +12 -0
- package/lib/types/elements/adw-button-row.d.ts +10 -1
- package/lib/types/elements/adw-carousel.d.ts +111 -8
- package/lib/types/elements/adw-checks.d.ts +57 -0
- package/lib/types/elements/adw-clamp.d.ts +4 -1
- package/lib/types/elements/adw-data-grid.d.ts +11 -31
- package/lib/types/elements/adw-drop-down.d.ts +17 -20
- package/lib/types/elements/adw-entry-row.d.ts +93 -3
- package/lib/types/elements/adw-expander-row.d.ts +7 -1
- package/lib/types/elements/adw-header-bar.d.ts +15 -0
- package/lib/types/elements/adw-icon.d.ts +25 -0
- package/lib/types/elements/adw-inline-view-switcher.d.ts +37 -11
- package/lib/types/elements/adw-menu-button.d.ts +6 -6
- package/lib/types/elements/adw-navigation-split-view.d.ts +6 -0
- package/lib/types/elements/adw-navigation-view.d.ts +63 -20
- package/lib/types/elements/adw-overlay-split-view.d.ts +38 -0
- package/lib/types/elements/adw-password-entry-row.d.ts +19 -10
- package/lib/types/elements/adw-popover.d.ts +58 -0
- package/lib/types/elements/adw-preferences-dialog.d.ts +57 -2
- package/lib/types/elements/adw-preferences-group.d.ts +31 -0
- package/lib/types/elements/adw-progress-bar.d.ts +38 -0
- package/lib/types/elements/adw-sidebar.d.ts +37 -5
- package/lib/types/elements/adw-split-button.d.ts +53 -7
- package/lib/types/elements/adw-switch-row.d.ts +11 -2
- package/lib/types/elements/adw-switch.d.ts +15 -0
- package/lib/types/elements/adw-tab-view.d.ts +129 -12
- package/lib/types/elements/adw-toolbar-view.d.ts +5 -0
- package/lib/types/elements/adw-view-stack.d.ts +27 -19
- package/lib/types/elements/adw-view-switcher-bar.d.ts +23 -7
- package/lib/types/elements/adw-view-switcher.d.ts +22 -11
- package/lib/types/elements/adw-window-title.d.ts +3 -1
- package/lib/types/elements/view-switcher-dom.d.ts +44 -0
- package/lib/types/entry-rows.spec.d.ts +1 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/navigation-view.spec.d.ts +1 -0
- package/lib/types/preferences-search.d.ts +20 -0
- package/lib/types/preferences.spec.d.ts +1 -0
- package/lib/types/split-button.spec.d.ts +1 -0
- package/lib/types/split-views.spec.d.ts +1 -0
- package/lib/types/styles.generated.d.ts +1 -1
- package/lib/types/tab-view.spec.d.ts +1 -0
- package/lib/types/view-stack.spec.d.ts +1 -0
- package/lib/types/view-switcher.spec.d.ts +1 -0
- package/package.json +6 -6
- package/scss/_banner.scss +13 -0
- package/scss/_bottom_sheet.scss +5 -6
- package/scss/_button.scss +3 -26
- package/scss/_button_content.scss +28 -0
- package/scss/_checks.scss +228 -0
- package/scss/_clamp.scss +9 -3
- package/scss/_data_grid.scss +15 -7
- package/scss/_drop_down.scss +12 -55
- package/scss/_expander_row.scss +5 -50
- package/scss/_icon.scss +51 -0
- package/scss/_icons.generated.scss +6 -0
- package/scss/_inline_view_switcher.scss +34 -0
- package/scss/_labels.scss +135 -0
- package/scss/_menu_button.scss +10 -70
- package/scss/_popover.scss +186 -0
- package/scss/_preferences.scss +29 -0
- package/scss/_preferences_dialog.scss +17 -0
- package/scss/_progress_bar.scss +161 -0
- package/scss/_reset.scss +18 -7
- package/scss/_spinner.scss +7 -3
- package/scss/_split_button.scss +6 -50
- package/scss/_switch.scss +90 -0
- package/scss/_switch_row.scss +6 -52
- package/scss/_tab_view.scss +64 -0
- package/scss/_theme.scss +10 -0
- package/scss/_toolbar_view.scss +74 -0
- package/scss/_variables.scss +34 -0
- package/scss/_view_switcher.scss +40 -0
- package/scss/_view_switcher_bar.scss +37 -0
- package/scss/_wrap_box.scss +56 -6
- package/scss/adwaita-skin.scss +23 -0
- package/src/adw-about-dialog.spec.ts +350 -0
- package/src/adw-action-rows.spec.ts +342 -0
- package/src/adw-avatar.spec.ts +139 -0
- package/src/adw-banner.spec.ts +152 -0
- package/src/adw-button-content.spec.ts +183 -0
- package/src/adw-button-row.spec.ts +12 -6
- package/src/adw-carousel.spec.ts +389 -0
- package/src/adw-checks.spec.ts +368 -0
- package/src/adw-drop-down.spec.ts +123 -0
- package/src/adw-header-bar.spec.ts +83 -0
- package/src/adw-icon.spec.ts +167 -0
- package/src/adw-progress-bar.spec.ts +173 -0
- package/src/adw-sidebar.spec.ts +332 -0
- package/src/adw-switch.spec.ts +242 -0
- package/src/adw-tab-view.spec.ts +12 -3
- package/src/adw-view-switcher-bar.spec.ts +61 -13
- package/src/adw-wrap-box.spec.ts +194 -0
- package/src/bottom-sheet.spec.ts +325 -0
- package/src/breakpoints.spec.ts +147 -0
- package/src/breakpoints.ts +67 -0
- package/src/chrome.spec.ts +301 -0
- package/src/elements/adw-about-dialog.ts +223 -163
- package/src/elements/adw-action-row.ts +120 -10
- package/src/elements/adw-avatar.ts +48 -54
- package/src/elements/adw-banner.ts +46 -10
- package/src/elements/adw-bottom-sheet.ts +145 -60
- package/src/elements/adw-button-content.ts +107 -33
- package/src/elements/adw-button-row.ts +61 -37
- package/src/elements/adw-button.ts +5 -7
- package/src/elements/adw-carousel.ts +467 -105
- package/src/elements/adw-checks.ts +299 -0
- package/src/elements/adw-clamp.ts +80 -10
- package/src/elements/adw-combo-row.ts +15 -7
- package/src/elements/adw-data-grid.ts +43 -91
- package/src/elements/adw-drop-down.ts +117 -128
- package/src/elements/adw-entry-row.ts +404 -36
- package/src/elements/adw-expander-row.ts +61 -29
- package/src/elements/adw-header-bar.ts +31 -6
- package/src/elements/adw-icon.ts +148 -0
- package/src/elements/adw-inline-view-switcher.ts +240 -129
- package/src/elements/adw-menu-button.ts +93 -70
- package/src/elements/adw-navigation-split-view.ts +48 -7
- package/src/elements/adw-navigation-view.ts +286 -148
- package/src/elements/adw-overlay-split-view.ts +164 -14
- package/src/elements/adw-password-entry-row.ts +111 -89
- package/src/elements/adw-popover.ts +283 -0
- package/src/elements/adw-preferences-dialog.ts +120 -21
- package/src/elements/adw-preferences-group.ts +128 -22
- package/src/elements/adw-progress-bar.ts +189 -0
- package/src/elements/adw-sidebar.ts +301 -142
- package/src/elements/adw-spin-row.ts +11 -5
- package/src/elements/adw-spinner.ts +23 -8
- package/src/elements/adw-split-button.ts +371 -92
- package/src/elements/adw-status-page.ts +9 -9
- package/src/elements/adw-switch-row.ts +100 -30
- package/src/elements/adw-switch.ts +129 -0
- package/src/elements/adw-tab-view.ts +682 -129
- package/src/elements/adw-toggle-group.ts +5 -7
- package/src/elements/adw-toolbar-view.ts +84 -21
- package/src/elements/adw-view-stack.ts +162 -85
- package/src/elements/adw-view-switcher-bar.ts +163 -81
- package/src/elements/adw-view-switcher.ts +231 -112
- package/src/elements/adw-window-title.ts +44 -11
- package/src/elements/adw-wrap-box.ts +131 -35
- package/src/elements/view-switcher-dom.ts +108 -0
- package/src/entry-rows.spec.ts +391 -0
- package/src/index.ts +23 -0
- package/src/navigation-view.spec.ts +435 -0
- package/src/preferences-search.ts +135 -0
- package/src/preferences.spec.ts +250 -0
- package/src/source-view/adw-source-view.ts +2 -5
- package/src/split-button.spec.ts +470 -0
- package/src/split-views.spec.ts +309 -0
- package/src/styles.generated.ts +1 -1
- package/src/tab-view.spec.ts +451 -0
- package/src/test.browser.mts +49 -0
- package/src/view-stack.spec.ts +272 -0
- package/src/view-switcher.spec.ts +446 -0
|
@@ -1,10 +1,28 @@
|
|
|
1
|
+
import type { PreferencesSearchResult, SearchPreferencesOptions } from '@gjsify/adwaita-core';
|
|
1
2
|
/**
|
|
2
|
-
* A single preferences page. Child of <adw-preferences-dialog
|
|
3
|
-
*
|
|
3
|
+
* A single preferences page. Child of <adw-preferences-dialog>. Carries optional
|
|
4
|
+
* `title` / `icon-name` / `name` / `use-underline` attributes and any
|
|
4
5
|
* <adw-preferences-group> content — mirrors Adw.PreferencesPage.
|
|
6
|
+
*
|
|
7
|
+
* The dialog keeps the page ELEMENT rather than hoisting its children out,
|
|
8
|
+
* because the page's identity is load-bearing: `adw_preferences_dialog_add`
|
|
9
|
+
* binds title / icon-name / name / use-underline / visible onto the view-stack
|
|
10
|
+
* page (adw-preferences-dialog.c:707-711), and `create_search_row_subtitle`
|
|
11
|
+
* needs the title back the moment a second page is visible.
|
|
5
12
|
*/
|
|
6
13
|
export declare class AdwPreferencesPage extends HTMLElement {
|
|
7
14
|
static get observedAttributes(): string[];
|
|
15
|
+
/** `adw_preferences_page_get_name` — the view-stack child name. */
|
|
16
|
+
get name(): string;
|
|
17
|
+
set name(value: string);
|
|
18
|
+
/** `AdwPreferencesPage:icon-name`, shown by a view switcher. */
|
|
19
|
+
get iconName(): string;
|
|
20
|
+
set iconName(value: string);
|
|
21
|
+
/** `AdwPreferencesPage:use-underline` — the title carries a mnemonic. */
|
|
22
|
+
get useUnderline(): boolean;
|
|
23
|
+
set useUnderline(value: boolean);
|
|
24
|
+
/** The page's groups, in document order. */
|
|
25
|
+
get groups(): HTMLElement[];
|
|
8
26
|
}
|
|
9
27
|
export declare class AdwPreferencesDialog extends HTMLElement {
|
|
10
28
|
private _initialized;
|
|
@@ -12,6 +30,7 @@ export declare class AdwPreferencesDialog extends HTMLElement {
|
|
|
12
30
|
private _dialogEl;
|
|
13
31
|
private _titleEl;
|
|
14
32
|
private _bodyEl;
|
|
33
|
+
private _pagesEl;
|
|
15
34
|
private _closeBtn;
|
|
16
35
|
static get observedAttributes(): string[];
|
|
17
36
|
/** Whether the dialog is revealed. */
|
|
@@ -29,6 +48,42 @@ export declare class AdwPreferencesDialog extends HTMLElement {
|
|
|
29
48
|
close(): void;
|
|
30
49
|
/** Dismiss the dialog regardless of `can-close` (mirrors Adw.Dialog.force_close). */
|
|
31
50
|
forceClose(): void;
|
|
51
|
+
/**
|
|
52
|
+
* `adw_preferences_dialog_add` (adw-preferences-dialog.c:693-716) — add a
|
|
53
|
+
* page at ANY time.
|
|
54
|
+
*
|
|
55
|
+
* Before this the pages were snapshotted once, in `connectedCallback`; a
|
|
56
|
+
* page appended later stayed a sibling of the scrim and rendered OUTSIDE
|
|
57
|
+
* the dialog card. GTK and the NativeScript port both accept a page
|
|
58
|
+
* whenever it arrives.
|
|
59
|
+
*/
|
|
60
|
+
add(page: AdwPreferencesPage): void;
|
|
61
|
+
/**
|
|
62
|
+
* `adw_preferences_dialog_remove` (:723-745). C logs
|
|
63
|
+
* `ADW_CRITICAL_CANNOT_REMOVE_CHILD` and no-ops for a page it does not own;
|
|
64
|
+
* returning `false` is the same contract without a console write.
|
|
65
|
+
*
|
|
66
|
+
* NOT named `remove`: `ChildNode.remove()` already exists on every element
|
|
67
|
+
* and takes no arguments, so overriding it with a different signature makes
|
|
68
|
+
* the class un-assignable to `HTMLElement` — which `customElements.define`
|
|
69
|
+
* requires.
|
|
70
|
+
*/
|
|
71
|
+
removePage(page: AdwPreferencesPage): boolean;
|
|
72
|
+
/** The dialog's pages, in add order. */
|
|
73
|
+
get pages(): AdwPreferencesPage[];
|
|
74
|
+
/**
|
|
75
|
+
* The preferences search (`filter_search_results` +
|
|
76
|
+
* `create_search_row_subtitle`), over this dialog's live page subtree.
|
|
77
|
+
*
|
|
78
|
+
* The whole pipeline is `@gjsify/adwaita-core`'s, so this dialog and the
|
|
79
|
+
* NativeScript one answer identically for the same tree — including the
|
|
80
|
+
* three corpus filters (visible page → visible group → titled visible row)
|
|
81
|
+
* and the case fold that makes `strasse` find `Straße`.
|
|
82
|
+
*
|
|
83
|
+
* An empty query returns the WHOLE corpus, which is what C does and what
|
|
84
|
+
* makes the results list non-empty before the user types.
|
|
85
|
+
*/
|
|
86
|
+
search(query: string, options?: SearchPreferencesOptions): PreferencesSearchResult<Element>[];
|
|
32
87
|
connectedCallback(): void;
|
|
33
88
|
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
34
89
|
private _attemptClose;
|
|
@@ -1,12 +1,43 @@
|
|
|
1
1
|
export declare class AdwPreferencesGroup extends HTMLElement {
|
|
2
|
+
private _headerEl;
|
|
2
3
|
private _titleEl;
|
|
3
4
|
private _descriptionEl;
|
|
4
5
|
private _suffixEl;
|
|
6
|
+
private _listboxEl;
|
|
5
7
|
private _initialized;
|
|
8
|
+
private _observer;
|
|
6
9
|
static get observedAttributes(): string[];
|
|
7
10
|
get description(): string;
|
|
8
11
|
set description(value: string);
|
|
12
|
+
/**
|
|
13
|
+
* `adw_preferences_group_add` (adw-preferences-group.c:396-411): a row goes
|
|
14
|
+
* into the boxed list, a `header-suffix` child into the header.
|
|
15
|
+
*
|
|
16
|
+
* Exposed as a method AND wired to a `MutationObserver` on the host, because
|
|
17
|
+
* both spellings occur: `group.addRow(row)` in code, `group.append(row)` in
|
|
18
|
+
* a framework's rendering. Before this, a child appended after connect
|
|
19
|
+
* stayed a bare child of the host — outside the card, and invisible to the
|
|
20
|
+
* row count that decides whether the card is painted at all.
|
|
21
|
+
*/
|
|
22
|
+
addRow(child: Node): void;
|
|
23
|
+
/**
|
|
24
|
+
* `adw_preferences_group_remove` (:421-440). C logs
|
|
25
|
+
* `ADW_CRITICAL_CANNOT_REMOVE_CHILD` and no-ops for a child it does not
|
|
26
|
+
* own; returning `false` is the same contract without a console write.
|
|
27
|
+
*/
|
|
28
|
+
removeRow(child: Node): boolean;
|
|
9
29
|
connectedCallback(): void;
|
|
30
|
+
disconnectedCallback(): void;
|
|
10
31
|
attributeChangedCallback(): void;
|
|
32
|
+
/**
|
|
33
|
+
* Adopt children appended to the HOST after the subtree was built, so
|
|
34
|
+
* `group.append(row)` behaves like `adw_preferences_group_add`.
|
|
35
|
+
*
|
|
36
|
+
* C gets this for free — `gtk_widget_observe_children` on the listbox drives
|
|
37
|
+
* `update_listbox_visibility` through `items-changed`
|
|
38
|
+
* (adw-preferences-group.c:335-339) — and a DOM element needs the observer
|
|
39
|
+
* to have the same rule hold over time rather than only at connect.
|
|
40
|
+
*/
|
|
41
|
+
private _observeHost;
|
|
11
42
|
private _renderHeader;
|
|
12
43
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare class AdwProgressBar extends HTMLElement {
|
|
2
|
+
private _trough;
|
|
3
|
+
private _progress;
|
|
4
|
+
private _text;
|
|
5
|
+
private _initialized;
|
|
6
|
+
static get observedAttributes(): string[];
|
|
7
|
+
/** How much of the bar is filled, 0…1. Always the CLAMPED value. */
|
|
8
|
+
get fraction(): number;
|
|
9
|
+
set fraction(value: number);
|
|
10
|
+
/** Whether the bar is indeterminate. */
|
|
11
|
+
get pulsing(): boolean;
|
|
12
|
+
set pulsing(value: boolean);
|
|
13
|
+
/** Whether the text node is shown. */
|
|
14
|
+
get showText(): boolean;
|
|
15
|
+
set showText(value: boolean);
|
|
16
|
+
/** The shown text. Falls back to the fraction as a percentage. */
|
|
17
|
+
get text(): string;
|
|
18
|
+
set text(value: string);
|
|
19
|
+
/** Whether the bar fills from the far end. */
|
|
20
|
+
get inverted(): boolean;
|
|
21
|
+
set inverted(value: boolean);
|
|
22
|
+
/** Whether the `.osd` hairline variant is used. */
|
|
23
|
+
get osd(): boolean;
|
|
24
|
+
set osd(value: boolean);
|
|
25
|
+
/** Whether the widget is dimmed. */
|
|
26
|
+
get disabled(): boolean;
|
|
27
|
+
set disabled(value: boolean);
|
|
28
|
+
/**
|
|
29
|
+
* Switch the bar to indeterminate — GtkProgressBar's method name for the
|
|
30
|
+
* same intent. See the module header: the bouncing block is a CSS animation
|
|
31
|
+
* here, so this ENTERS the state and repeat calls are no-ops; GTK's
|
|
32
|
+
* `pulse-step` arithmetic is not verifiable in this tree and is not faked.
|
|
33
|
+
*/
|
|
34
|
+
pulse(): void;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
attributeChangedCallback(): void;
|
|
37
|
+
private _render;
|
|
38
|
+
}
|
|
@@ -1,29 +1,61 @@
|
|
|
1
|
+
import { type AdwSidebarItemSpec, type AdwSidebarSectionSpec, type SidebarItemFilter } from '@gjsify/adwaita-core';
|
|
1
2
|
/** A single sidebar item. Child of <adw-sidebar-section>; consumed at connect time. */
|
|
2
3
|
export declare class AdwSidebarItem extends HTMLElement {
|
|
3
4
|
static get observedAttributes(): string[];
|
|
5
|
+
attributeChangedCallback(name: string, _oldValue: string | null, newValue: string | null): void;
|
|
4
6
|
}
|
|
5
7
|
/** A titled group of items. Child of <adw-sidebar>; consumed at connect time. */
|
|
6
8
|
export declare class AdwSidebarSection extends HTMLElement {
|
|
7
9
|
static get observedAttributes(): string[];
|
|
10
|
+
attributeChangedCallback(_name: string, _oldValue: string | null, newValue: string | null): void;
|
|
8
11
|
}
|
|
9
12
|
export declare class AdwSidebar extends HTMLElement {
|
|
13
|
+
private readonly _state;
|
|
10
14
|
private _listEl;
|
|
11
15
|
private _rows;
|
|
12
|
-
private _selected;
|
|
13
|
-
private _mode;
|
|
14
16
|
private _initialized;
|
|
17
|
+
/** Guards the `selected` attribute write we make ourselves from re-entering. */
|
|
18
|
+
private _reflecting;
|
|
15
19
|
static get observedAttributes(): string[];
|
|
16
20
|
/** Zero-based flat index of the selected item, or -1 for no selection. */
|
|
17
21
|
get selected(): number;
|
|
18
22
|
set selected(value: number);
|
|
23
|
+
/** The selected item's spec, or undefined — Adw.Sidebar:selected-item. */
|
|
24
|
+
get selectedItem(): AdwSidebarItemSpec | undefined;
|
|
19
25
|
/** 'sidebar' (flat navigation list) or 'page' (boxed lists). */
|
|
20
26
|
get mode(): 'sidebar' | 'page';
|
|
21
27
|
set mode(value: 'sidebar' | 'page');
|
|
28
|
+
/** The section/item model. Assigning replaces it, the way adw_sidebar_remove_all + append would. */
|
|
29
|
+
get sections(): readonly AdwSidebarSectionSpec[];
|
|
30
|
+
set sections(value: readonly AdwSidebarSectionSpec[]);
|
|
31
|
+
/** Adw.Sidebar:filter — decides which rows render, never the selection index space. */
|
|
32
|
+
get filter(): SidebarItemFilter | null;
|
|
33
|
+
set filter(value: SidebarItemFilter | null);
|
|
22
34
|
connectedCallback(): void;
|
|
23
35
|
attributeChangedCallback(name: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Re-derive after a declared `<adw-sidebar-item>` / `<adw-sidebar-section>`
|
|
38
|
+
* attribute changed. The item model keeps its shape, so the selection cannot
|
|
39
|
+
* move — exactly like the GObject property bindings this stands in for.
|
|
40
|
+
*/
|
|
41
|
+
refresh(): void;
|
|
42
|
+
/** Snapshot the declared children into specs, and bind them for live updates. */
|
|
43
|
+
private _readDeclaredSections;
|
|
24
44
|
private _readModeAttr;
|
|
45
|
+
/**
|
|
46
|
+
* `parseFloat`, not `parseInt`: the core rejects a fractional position, and
|
|
47
|
+
* truncating `"1.5"` to row 1 here would hide that from it. An unparseable
|
|
48
|
+
* value is NaN, which the core turns into "no selection".
|
|
49
|
+
*/
|
|
25
50
|
private _readSelectedAttr;
|
|
26
|
-
|
|
27
|
-
private
|
|
28
|
-
|
|
51
|
+
private _reflectSelected;
|
|
52
|
+
private _onSelectionChanged;
|
|
53
|
+
/** Click handler — the core applies the selection, then `activated` fires. */
|
|
54
|
+
private _activate;
|
|
55
|
+
/** Rebuild the rendered rows + headers from the core's derived model. */
|
|
56
|
+
private _rebuild;
|
|
57
|
+
private _createHeader;
|
|
58
|
+
private _createRow;
|
|
59
|
+
private _applyMode;
|
|
60
|
+
private _applySelection;
|
|
29
61
|
}
|
|
@@ -1,18 +1,64 @@
|
|
|
1
|
+
import type { AdwMenuEntry, SplitButtonDirection } from '@gjsify/adwaita-core';
|
|
2
|
+
import './adw-popover.js';
|
|
1
3
|
export declare class AdwSplitButton extends HTMLElement {
|
|
4
|
+
private readonly _state;
|
|
2
5
|
private _actionEl;
|
|
3
6
|
private _dropdownEl;
|
|
7
|
+
private _arrowEl;
|
|
4
8
|
private _menuEl;
|
|
5
|
-
|
|
6
|
-
private
|
|
9
|
+
/** Inline text content, captured before we take over the subtree. */
|
|
10
|
+
private _inlineLabel;
|
|
11
|
+
/** Last `open` value reflected as `notify::active`, so the event fires once per flip. */
|
|
12
|
+
private _openReflected;
|
|
7
13
|
private _initialized;
|
|
8
|
-
private _onDocumentPointerDown;
|
|
9
14
|
static get observedAttributes(): string[];
|
|
10
15
|
/** Whether the dropdown menu is currently open. */
|
|
11
16
|
get active(): boolean;
|
|
17
|
+
/** Whether the dropdown half is live (there is a menu to show). */
|
|
18
|
+
get dropdownEnabled(): boolean;
|
|
19
|
+
/** The action label, or `null` when the action half shows an icon or nothing. */
|
|
20
|
+
get label(): string | null;
|
|
21
|
+
set label(value: string);
|
|
22
|
+
/** The symbolic icon name, or `null` when the action half shows a label or nothing. */
|
|
23
|
+
get iconName(): string | null;
|
|
24
|
+
set iconName(value: string);
|
|
25
|
+
/** The dropdown menu entries. */
|
|
26
|
+
get menuItems(): readonly AdwMenuEntry[];
|
|
27
|
+
set menuItems(value: readonly AdwMenuEntry[]);
|
|
28
|
+
/** The dropdown tooltip as set — `''` while unset. */
|
|
29
|
+
get dropdownTooltip(): string;
|
|
30
|
+
set dropdownTooltip(value: string);
|
|
31
|
+
/** The direction the popup opens in, and the arrow points. */
|
|
32
|
+
get direction(): SplitButtonDirection;
|
|
33
|
+
set direction(value: SplitButtonDirection);
|
|
34
|
+
/** Whether an underline in the label marks a mnemonic. */
|
|
35
|
+
get useUnderline(): boolean;
|
|
36
|
+
set useUnderline(value: boolean);
|
|
37
|
+
/** Pop the menu up — `adw_split_button_popup()`. */
|
|
38
|
+
popup(): void;
|
|
39
|
+
/** Dismiss the menu — `adw_split_button_popdown()`. */
|
|
40
|
+
popdown(): void;
|
|
12
41
|
connectedCallback(): void;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
private
|
|
16
|
-
|
|
42
|
+
attributeChangedCallback(name: string, _previous: string | null, value: string | null): void;
|
|
43
|
+
/** Seed label/icon/menu/direction/tooltip from the attributes present at connect time. */
|
|
44
|
+
private _syncStateFromAttributes;
|
|
45
|
+
/**
|
|
46
|
+
* Route a `label` / `icon-name` attribute mutation into the content machine.
|
|
47
|
+
*
|
|
48
|
+
* C has no independent "unset" for either slot — clearing one is a side
|
|
49
|
+
* effect of setting another — so a REMOVED attribute falls back to whichever
|
|
50
|
+
* sibling is still present, and to the empty child otherwise. That fallback
|
|
51
|
+
* is what makes `removeAttribute('label')` actually drop the label; it used
|
|
52
|
+
* to be a silent no-op, so the storybook's icon-only mode rendered the icon
|
|
53
|
+
* next to a stale "Save".
|
|
54
|
+
*/
|
|
55
|
+
private _applyContentAttribute;
|
|
56
|
+
private _onStateChange;
|
|
17
57
|
private _render;
|
|
58
|
+
/** The action half + the root style classes libadwaita derives from it. */
|
|
59
|
+
private _renderContent;
|
|
60
|
+
/** The dropdown half: arrow glyph, tooltip/accessible name, expanded state. */
|
|
61
|
+
private _renderDropdown;
|
|
62
|
+
/** The popover contents, one button per menu entry, dispatched BY POSITION. */
|
|
63
|
+
private _renderMenu;
|
|
18
64
|
}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
+
import './adw-switch.js';
|
|
1
2
|
export declare class AdwSwitchRow extends HTMLElement {
|
|
2
|
-
private
|
|
3
|
+
private _switchEl;
|
|
3
4
|
private _titleEl;
|
|
4
5
|
private _subtitleEl;
|
|
6
|
+
/** The headless active flag + its notify rule (ADR 0004). */
|
|
7
|
+
private readonly _state;
|
|
5
8
|
private _initialized;
|
|
6
9
|
static get observedAttributes(): string[];
|
|
7
10
|
get active(): boolean;
|
|
8
11
|
set active(value: boolean);
|
|
9
12
|
connectedCallback(): void;
|
|
10
|
-
attributeChangedCallback(name: string
|
|
13
|
+
attributeChangedCallback(name: string): void;
|
|
14
|
+
/**
|
|
15
|
+
* Push a state transition out to the DOM and emit `notify::active` — but
|
|
16
|
+
* only when something actually changed, which is the `g_object_notify`
|
|
17
|
+
* gate libadwaita puts on the same transition (C:224-225 → :76).
|
|
18
|
+
*/
|
|
19
|
+
private _apply;
|
|
11
20
|
private _renderText;
|
|
12
21
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class AdwSwitch extends HTMLElement {
|
|
2
|
+
private _input;
|
|
3
|
+
private _slider;
|
|
4
|
+
private _initialized;
|
|
5
|
+
static get observedAttributes(): string[];
|
|
6
|
+
/** Whether the switch is on. */
|
|
7
|
+
get active(): boolean;
|
|
8
|
+
set active(value: boolean);
|
|
9
|
+
/** Whether the switch is inert. */
|
|
10
|
+
get disabled(): boolean;
|
|
11
|
+
set disabled(value: boolean);
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
attributeChangedCallback(name: string): void;
|
|
14
|
+
private _render;
|
|
15
|
+
}
|
|
@@ -1,19 +1,41 @@
|
|
|
1
|
-
|
|
1
|
+
import type { AdwTabPageSpec, AdwTabPageState } from '@gjsify/adwaita-core';
|
|
2
|
+
/** A page descriptor as `pages` exposes it. */
|
|
3
|
+
export type AdwTabViewPage = AdwTabPageState<HTMLElement>;
|
|
4
|
+
/** The page spec the imperative insertion methods take. */
|
|
5
|
+
export type AdwTabViewPageSpec = AdwTabPageSpec<HTMLElement>;
|
|
6
|
+
/**
|
|
7
|
+
* A single page. Declared as a child of <adw-tab-view>; the element itself
|
|
8
|
+
* becomes the page panel, so its attributes keep driving the tab after connect —
|
|
9
|
+
* the old implementation moved the children out and discarded the element, which
|
|
10
|
+
* is why its `observedAttributes` declaration had nothing to act on.
|
|
11
|
+
*/
|
|
2
12
|
export declare class AdwTabPage extends HTMLElement {
|
|
3
13
|
static get observedAttributes(): string[];
|
|
14
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
4
15
|
}
|
|
5
16
|
export declare class AdwTabView extends HTMLElement {
|
|
6
|
-
private
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private
|
|
10
|
-
|
|
17
|
+
private readonly _state;
|
|
18
|
+
private readonly _barEl;
|
|
19
|
+
private readonly _tabBoxEl;
|
|
20
|
+
private readonly _pagesEl;
|
|
21
|
+
/** Tab chips keyed by page id — the bar is edited in place, never rebuilt. */
|
|
22
|
+
private readonly _tabs;
|
|
23
|
+
/** Page panels keyed by page id; kept so a DETACHED page's node is still reachable. */
|
|
24
|
+
private readonly _panels;
|
|
25
|
+
private readonly _hovered;
|
|
11
26
|
private _initialized;
|
|
27
|
+
private _generatedIds;
|
|
28
|
+
/** Guards the `selected` attribute reflection against re-entering the model. */
|
|
29
|
+
private _reflecting;
|
|
12
30
|
static get observedAttributes(): string[];
|
|
13
|
-
|
|
31
|
+
constructor();
|
|
32
|
+
/** Zero-based index of the visible page, `-1` when the view is empty. */
|
|
14
33
|
get selected(): number;
|
|
15
34
|
set selected(value: number);
|
|
16
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Whether the tab bar hides itself when it has nothing to show —
|
|
37
|
+
* `tabsRevealed`, which keeps the bar up for a single PINNED tab.
|
|
38
|
+
*/
|
|
17
39
|
get autohide(): boolean;
|
|
18
40
|
set autohide(value: boolean);
|
|
19
41
|
/** Whether tabs stretch to fill the bar evenly (Adw.TabBar `expand-tabs`). */
|
|
@@ -23,8 +45,103 @@ export declare class AdwTabView extends HTMLElement {
|
|
|
23
45
|
get noClose(): boolean;
|
|
24
46
|
set noClose(value: boolean);
|
|
25
47
|
connectedCallback(): void;
|
|
26
|
-
attributeChangedCallback(name: string): void;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
48
|
+
attributeChangedCallback(name: string, _old: string | null, _value: string | null): void;
|
|
49
|
+
/**
|
|
50
|
+
* Push a live `<adw-tab-page>` attribute change into the model. Called by
|
|
51
|
+
* {@link AdwTabPage.attributeChangedCallback}; not part of the public API.
|
|
52
|
+
*/
|
|
53
|
+
syncDeclaredPage(pageEl: AdwTabPage, name: string, value: string | null): void;
|
|
54
|
+
/** All pages in order. */
|
|
55
|
+
get pages(): readonly AdwTabViewPage[];
|
|
56
|
+
/** Number of pages. */
|
|
57
|
+
get nPages(): number;
|
|
58
|
+
/** Length of the pinned prefix. */
|
|
59
|
+
get nPinnedPages(): number;
|
|
60
|
+
/** Id of the selected page, `null` when the view is empty. */
|
|
61
|
+
get selectedId(): string | null;
|
|
62
|
+
/** Index of the selected page, `-1` when the view is empty. */
|
|
63
|
+
get selectedIndex(): number;
|
|
64
|
+
/** The selected page's panel element, or `null`. */
|
|
65
|
+
get selectedContent(): HTMLElement | null;
|
|
66
|
+
isClosing(id: string): boolean;
|
|
67
|
+
setSelectedPage(id: string | null): boolean;
|
|
68
|
+
selectNthPage(n: number): boolean;
|
|
69
|
+
selectPreviousPage(): boolean;
|
|
70
|
+
selectNextPage(): boolean;
|
|
71
|
+
selectFirstPage(): boolean;
|
|
72
|
+
selectLastPage(): boolean;
|
|
73
|
+
/** Ctrl+Tab — the next page, wrapping to the first. */
|
|
74
|
+
cycleNextPage(): boolean;
|
|
75
|
+
/** Ctrl+Shift+Tab — the previous page, wrapping to the last. */
|
|
76
|
+
cyclePreviousPage(): boolean;
|
|
77
|
+
/** Add a page opened FROM `parentId`, deriving its position (Adw.TabView.add_page). */
|
|
78
|
+
addPage(spec: AdwTabViewPageSpec, parentId?: string | null): number;
|
|
79
|
+
insertPage(spec: AdwTabViewPageSpec, position: number): number;
|
|
80
|
+
prependPage(spec: AdwTabViewPageSpec): number;
|
|
81
|
+
appendPage(spec: AdwTabViewPageSpec): number;
|
|
82
|
+
insertPinnedPage(spec: AdwTabViewPageSpec, position: number): number;
|
|
83
|
+
prependPinnedPage(spec: AdwTabViewPageSpec): number;
|
|
84
|
+
appendPinnedPage(spec: AdwTabViewPageSpec): number;
|
|
85
|
+
/** Pin or unpin a page, re-ordering it in the same step. Returns its new position. */
|
|
86
|
+
setPagePinned(id: string, pinned: boolean): number;
|
|
87
|
+
/**
|
|
88
|
+
* Request a close. Dispatches a CANCELABLE `close-page`; calling
|
|
89
|
+
* `preventDefault()` on it holds the page open until {@link closePageFinish}.
|
|
90
|
+
*/
|
|
91
|
+
closePage(id: string): boolean;
|
|
92
|
+
closePageFinish(id: string, confirm: boolean): boolean;
|
|
93
|
+
closeOtherPages(id: string): void;
|
|
94
|
+
closePagesBefore(id: string): void;
|
|
95
|
+
closePagesAfter(id: string): void;
|
|
96
|
+
/** Remove a page unconditionally, running the successor rule first. */
|
|
97
|
+
detachPage(id: string): AdwTabViewPage | null;
|
|
98
|
+
reorderPage(id: string, position: number): boolean;
|
|
99
|
+
reorderBackward(id: string): boolean;
|
|
100
|
+
reorderForward(id: string): boolean;
|
|
101
|
+
reorderFirst(id: string): boolean;
|
|
102
|
+
reorderLast(id: string): boolean;
|
|
103
|
+
setPageTitle(id: string, title: string | null): boolean;
|
|
104
|
+
setPageTooltip(id: string, tooltip: string | null): boolean;
|
|
105
|
+
setPageIcon(id: string, icon: string | null): boolean;
|
|
106
|
+
setPageLoading(id: string, loading: boolean): boolean;
|
|
107
|
+
setPageNeedsAttention(id: string, needsAttention: boolean): boolean;
|
|
108
|
+
/** Every precondition the model refused, as C would have warned about it. */
|
|
109
|
+
get diagnostics(): readonly string[];
|
|
110
|
+
private _adoptDeclaredPage;
|
|
111
|
+
/** Give a spec its panel, so `append({ id })` with no content is legal. */
|
|
112
|
+
private _withPanel;
|
|
113
|
+
private _nextId;
|
|
114
|
+
private _onPagesChange;
|
|
115
|
+
private _insertTab;
|
|
116
|
+
/** Remove-then-insert, the same shape the model's own reorder has. */
|
|
117
|
+
private _moveTab;
|
|
118
|
+
private _refreshTab;
|
|
119
|
+
/**
|
|
120
|
+
* `tabCloseVisible` (adw-tab.c:124 + the pinned gate at :645-650). `dragging`
|
|
121
|
+
* is constantly false — tab drag-and-drop is compositor work and is not
|
|
122
|
+
* modelled — and `fullyVisible` is measured against the bar's scroll window,
|
|
123
|
+
* which is exactly what the C term means for a horizontally scrolled bar.
|
|
124
|
+
*/
|
|
125
|
+
private _refreshCloseVisibility;
|
|
126
|
+
private _onSelectionChange;
|
|
127
|
+
private _applyActiveState;
|
|
128
|
+
private _applyBarVisibility;
|
|
129
|
+
private _reflectSelected;
|
|
130
|
+
private _applySelectedAttribute;
|
|
131
|
+
/**
|
|
132
|
+
* The `Adw.TabView` shortcut table (`init_shortcuts`, adw-tab-view.c:2192+),
|
|
133
|
+
* plus the ArrowLeft/ArrowRight movement `role=tablist` promises.
|
|
134
|
+
*
|
|
135
|
+
* Ctrl+Tab WRAPS and Ctrl+Page-Up/Down does not — the same `last` flag that
|
|
136
|
+
* separates them in `select_page_cb` (:2017-2041). Alt+0 is page index 9,
|
|
137
|
+
* because pages count from 0 (:2149-2150).
|
|
138
|
+
*/
|
|
139
|
+
private _onKeyDown;
|
|
140
|
+
/**
|
|
141
|
+
* The `close-page` seam. A CANCELABLE DOM event is the idiomatic spelling of
|
|
142
|
+
* the C signal's return value: letting it through takes libadwaita's default
|
|
143
|
+
* (`!pinned`, adw-tab-view.c:1990-1991), and `preventDefault()` defers the
|
|
144
|
+
* close until the app calls {@link closePageFinish}.
|
|
145
|
+
*/
|
|
146
|
+
private _requestClose;
|
|
30
147
|
}
|
|
@@ -3,6 +3,8 @@ export declare class AdwToolbarView extends HTMLElement {
|
|
|
3
3
|
private _contentEl;
|
|
4
4
|
private _bottomEl;
|
|
5
5
|
private _initialized;
|
|
6
|
+
private _resize;
|
|
7
|
+
static get observedAttributes(): string[];
|
|
6
8
|
/** The top-bar container — append header bars here imperatively. */
|
|
7
9
|
get topBar(): HTMLDivElement;
|
|
8
10
|
/** The scrollable content container. */
|
|
@@ -10,4 +12,7 @@ export declare class AdwToolbarView extends HTMLElement {
|
|
|
10
12
|
/** The bottom-bar container. */
|
|
11
13
|
get bottomBar(): HTMLDivElement;
|
|
12
14
|
connectedCallback(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
attributeChangedCallback(): void;
|
|
17
|
+
private _syncClasses;
|
|
13
18
|
}
|
|
@@ -1,37 +1,45 @@
|
|
|
1
|
+
import type { AdwViewStackPageInfo as CorePageInfo } from '@gjsify/adwaita-core';
|
|
1
2
|
/** A page descriptor exposed via `pages` (consumed by a bound switcher bar). */
|
|
2
|
-
export
|
|
3
|
-
/** Stable id used by visibleChildName + switcher binding. */
|
|
4
|
-
name: string;
|
|
5
|
-
/** Human-facing title shown by a bound switcher. */
|
|
6
|
-
title: string;
|
|
7
|
-
/** Symbolic icon name (no `-symbolic` suffix), or '' for none. */
|
|
8
|
-
icon: string;
|
|
9
|
-
/** The page's content container (the visibility-toggled node). */
|
|
10
|
-
element: HTMLElement;
|
|
11
|
-
}
|
|
3
|
+
export type AdwViewStackPageInfo = CorePageInfo<HTMLElement>;
|
|
12
4
|
export declare class AdwViewStack extends HTMLElement {
|
|
13
|
-
private
|
|
14
|
-
private _visibleIndex;
|
|
5
|
+
private readonly _state;
|
|
15
6
|
private _initialized;
|
|
16
7
|
static get observedAttributes(): string[];
|
|
8
|
+
constructor();
|
|
17
9
|
/** All pages in declaration/add order. A bound switcher reads this. */
|
|
18
10
|
get pages(): readonly AdwViewStackPageInfo[];
|
|
19
|
-
/** Zero-based index of the visible page
|
|
11
|
+
/** Zero-based index of the visible page, `-1` when nothing is selected. */
|
|
20
12
|
get visibleChildIndex(): number;
|
|
21
13
|
set visibleChildIndex(value: number);
|
|
22
|
-
/** Name of the visible page, or '' when
|
|
14
|
+
/** Name of the visible page, or '' when nothing is selected. */
|
|
23
15
|
get visibleChildName(): string;
|
|
24
|
-
set visibleChildName(name: string);
|
|
25
|
-
/** The visible page's content element, or null when
|
|
16
|
+
set visibleChildName(name: string | null | undefined);
|
|
17
|
+
/** The visible page's content element, or null when nothing is selected. */
|
|
26
18
|
get visibleChild(): HTMLElement | null;
|
|
27
19
|
connectedCallback(): void;
|
|
28
20
|
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
29
21
|
/**
|
|
30
|
-
* Append a page.
|
|
31
|
-
*
|
|
22
|
+
* Append a page. It becomes visible when nothing is selected yet, matching
|
|
23
|
+
* `Adw.ViewStack.add()` — and, unlike before, that auto-pick NOTIFIES.
|
|
32
24
|
*/
|
|
33
25
|
add(content: HTMLElement, name: string, title?: string, icon?: string): AdwViewStackPageInfo;
|
|
34
26
|
/** Convenience alias mirroring Adw.ViewStack.add_titled() (no icon). */
|
|
35
27
|
addTitled(content: HTMLElement, name: string, title: string): AdwViewStackPageInfo;
|
|
36
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Remove the first page named `name` and detach its content. Returns whether
|
|
30
|
+
* anything was removed. When the removed page was the visible one the stack
|
|
31
|
+
* ends up showing NOTHING and emits no event — `stack_remove` clears
|
|
32
|
+
* `visible_child` without re-picking (adw-view-stack.c:1202-1203).
|
|
33
|
+
*/
|
|
34
|
+
removePage(name: string): boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Show or hide a page (`AdwViewStackPage:visible`). Returns whether the
|
|
37
|
+
* SELECTION moved: hiding the visible page falls back to the next visible
|
|
38
|
+
* one, and making a page visible while nothing is selected selects it
|
|
39
|
+
* (`update_child_visible`, adw-view-stack.c:1061-1082).
|
|
40
|
+
*/
|
|
41
|
+
setPageVisible(name: string, visible: boolean): boolean;
|
|
42
|
+
private _onStateChange;
|
|
43
|
+
private _applyVisibility;
|
|
44
|
+
private _reflectName;
|
|
37
45
|
}
|
|
@@ -1,27 +1,43 @@
|
|
|
1
1
|
import type { AdwViewStack } from './adw-view-stack.js';
|
|
2
2
|
export declare class AdwViewSwitcherBar extends HTMLElement {
|
|
3
|
+
private readonly _barState;
|
|
3
4
|
private _barEl;
|
|
4
|
-
private
|
|
5
|
+
private _nodes;
|
|
5
6
|
private _stack;
|
|
6
|
-
private _revealed;
|
|
7
7
|
private _initialized;
|
|
8
|
-
private _onStackNotify;
|
|
8
|
+
private readonly _onStackNotify;
|
|
9
9
|
static get observedAttributes(): string[];
|
|
10
|
+
constructor();
|
|
10
11
|
/** The bound stack element, or null when unbound. */
|
|
11
12
|
get stack(): AdwViewStack | null;
|
|
12
13
|
set stack(value: AdwViewStack | string | null);
|
|
13
|
-
/** Whether the
|
|
14
|
+
/** Whether the layout asked for the bar — `Adw.ViewSwitcherBar:reveal`. */
|
|
15
|
+
get reveal(): boolean;
|
|
16
|
+
set reveal(value: boolean);
|
|
17
|
+
/**
|
|
18
|
+
* Whether the bar is actually shown. READ-ONLY: a one-page stack keeps it
|
|
19
|
+
* collapsed however loudly the layout asks (adw-view-switcher-bar.c:125).
|
|
20
|
+
* Write {@link reveal} to make the request.
|
|
21
|
+
*/
|
|
14
22
|
get revealed(): boolean;
|
|
15
|
-
set revealed(value: boolean);
|
|
16
23
|
connectedCallback(): void;
|
|
17
24
|
disconnectedCallback(): void;
|
|
18
25
|
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
19
26
|
/** Bind to a stack element (or null). Unbinds the previous one and rebuilds. */
|
|
20
27
|
setStack(stack: AdwViewStack | null): void;
|
|
21
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Rebuild the buttons — needed after pages were added to the bound stack
|
|
30
|
+
* WITHOUT changing its selection. A page add that does move the selection
|
|
31
|
+
* (the first one) notifies and rebuilds on its own. libadwaita rebuilds on
|
|
32
|
+
* the pages model's `items-changed` (adw-view-switcher.c:258-263), which the
|
|
33
|
+
* DOM stack has no counterpart for yet.
|
|
34
|
+
*/
|
|
22
35
|
refresh(): void;
|
|
36
|
+
private _readReveal;
|
|
37
|
+
private _bindStack;
|
|
38
|
+
private _unbindStack;
|
|
23
39
|
private _resolveStack;
|
|
24
40
|
private _rebuild;
|
|
25
|
-
private
|
|
41
|
+
private _buildButton;
|
|
26
42
|
private _applyRevealed;
|
|
27
43
|
}
|