@gjsify/adwaita-web 0.54.0 → 0.56.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/README.md +8 -0
- package/dist/adwaita-web.css +8146 -3011
- package/dist/adwaita-web.css.map +1 -1
- package/lib/types/adw-application-window.spec.d.ts +1 -0
- package/lib/types/adw-bin.spec.d.ts +1 -0
- package/lib/types/adw-breakpoint-bin.spec.d.ts +1 -0
- package/lib/types/adw-clamp-scrollable.spec.d.ts +1 -0
- package/lib/types/adw-multi-layout-view.spec.d.ts +1 -0
- package/lib/types/adw-preferences-row.spec.d.ts +1 -0
- package/lib/types/adw-shortcuts.spec.d.ts +1 -0
- package/lib/types/adw-status-page.spec.d.ts +1 -0
- package/lib/types/adw-tab-bar.spec.d.ts +1 -0
- package/lib/types/adw-tab-button.spec.d.ts +1 -0
- package/lib/types/adw-tab-overview.spec.d.ts +1 -0
- package/lib/types/adw-view-switcher-sidebar.spec.d.ts +1 -0
- package/lib/types/adw-window.spec.d.ts +1 -0
- package/lib/types/attributes.d.ts +19 -0
- package/lib/types/breakpoints.d.ts +14 -3
- package/lib/types/construct-vectors.spec.d.ts +1 -0
- package/lib/types/elements/adw-action-row.d.ts +4 -0
- package/lib/types/elements/adw-application-window.d.ts +27 -0
- package/lib/types/elements/adw-bin.d.ts +17 -0
- package/lib/types/elements/adw-breakpoint-bin.d.ts +67 -0
- package/lib/types/elements/adw-clamp-scrollable.d.ts +38 -0
- package/lib/types/elements/adw-combo-row.d.ts +4 -0
- package/lib/types/elements/adw-dialog.d.ts +10 -0
- package/lib/types/elements/adw-entry-row.d.ts +6 -0
- package/lib/types/elements/adw-expander-row.d.ts +2 -0
- package/lib/types/elements/adw-header-bar.d.ts +6 -0
- package/lib/types/elements/adw-layout-slot.d.ts +19 -0
- package/lib/types/elements/adw-multi-layout-view.d.ts +101 -0
- package/lib/types/elements/adw-overlay-split-view.d.ts +13 -0
- package/lib/types/elements/adw-preferences-row.d.ts +31 -0
- package/lib/types/elements/adw-shortcuts-dialog.d.ts +13 -0
- package/lib/types/elements/adw-shortcuts-item.d.ts +36 -0
- package/lib/types/elements/adw-shortcuts-section.d.ts +14 -0
- package/lib/types/elements/adw-sidebar.d.ts +8 -2
- package/lib/types/elements/adw-spin-row.d.ts +6 -0
- package/lib/types/elements/adw-switch-row.d.ts +7 -0
- package/lib/types/elements/adw-tab-bar.d.ts +108 -0
- package/lib/types/elements/adw-tab-button.d.ts +32 -0
- package/lib/types/elements/adw-tab-overview.d.ts +199 -0
- package/lib/types/elements/adw-tab-view.d.ts +19 -23
- package/lib/types/elements/adw-toggle-group.d.ts +17 -0
- package/lib/types/elements/adw-view-switcher-sidebar.d.ts +84 -0
- package/lib/types/elements/adw-window.d.ts +40 -0
- package/lib/types/elements/gtk-about-dialog.d.ts +146 -0
- package/lib/types/elements/gtk-application-window.d.ts +34 -0
- package/lib/types/elements/gtk-aspect-frame.d.ts +27 -0
- package/lib/types/elements/gtk-button.d.ts +9 -0
- package/lib/types/elements/gtk-calendar.d.ts +159 -0
- package/lib/types/elements/gtk-center-box.d.ts +39 -0
- package/lib/types/elements/gtk-color-dialog-button.d.ts +69 -0
- package/lib/types/elements/gtk-column-view.d.ts +50 -0
- package/lib/types/elements/gtk-drag-icon.d.ts +78 -0
- package/lib/types/elements/gtk-drawing-area.d.ts +95 -0
- package/lib/types/elements/gtk-editable-label.d.ts +33 -0
- package/lib/types/elements/gtk-emoji-chooser.d.ts +84 -0
- package/lib/types/elements/gtk-entry.d.ts +20 -1
- package/lib/types/elements/gtk-expander.d.ts +49 -0
- package/lib/types/elements/gtk-fixed.d.ts +13 -0
- package/lib/types/elements/gtk-flow-box-child.d.ts +14 -0
- package/lib/types/elements/gtk-flow-box.d.ts +87 -0
- package/lib/types/elements/gtk-font-dialog-button.d.ts +83 -0
- package/lib/types/elements/gtk-frame.d.ts +24 -0
- package/lib/types/elements/gtk-gl-area.d.ts +136 -0
- package/lib/types/elements/gtk-graphics-offload.d.ts +24 -0
- package/lib/types/elements/gtk-grid-view.d.ts +39 -0
- package/lib/types/elements/gtk-grid.d.ts +27 -0
- package/lib/types/elements/gtk-header-bar.d.ts +60 -0
- package/lib/types/elements/gtk-inscription.d.ts +64 -0
- package/lib/types/elements/gtk-label.d.ts +3 -0
- package/lib/types/elements/gtk-level-bar.d.ts +59 -0
- package/lib/types/elements/gtk-link-button.d.ts +29 -0
- package/lib/types/elements/gtk-list-box-row.d.ts +54 -0
- package/lib/types/elements/gtk-list-box.d.ts +100 -0
- package/lib/types/elements/gtk-list-view.d.ts +73 -0
- package/lib/types/elements/gtk-media-controls.d.ts +142 -0
- package/lib/types/elements/gtk-notebook.d.ts +148 -0
- package/lib/types/elements/gtk-overlay.d.ts +22 -0
- package/lib/types/elements/gtk-page-setup-unix-dialog.d.ts +87 -0
- package/lib/types/elements/gtk-paned.d.ts +121 -0
- package/lib/types/elements/gtk-password-entry.d.ts +27 -0
- package/lib/types/elements/gtk-picture.d.ts +66 -0
- package/lib/types/elements/gtk-popover-bin.d.ts +82 -0
- package/lib/types/elements/gtk-popover-menu-bar.d.ts +66 -0
- package/lib/types/elements/gtk-popover-menu.d.ts +83 -0
- package/lib/types/elements/gtk-popover.d.ts +28 -3
- package/lib/types/elements/gtk-print-unix-dialog.d.ts +167 -0
- package/lib/types/elements/gtk-revealer.d.ts +55 -0
- package/lib/types/elements/gtk-scale-button.d.ts +59 -0
- package/lib/types/elements/gtk-scale.d.ts +98 -0
- package/lib/types/elements/gtk-scrollbar.d.ts +124 -0
- package/lib/types/elements/gtk-scrolled-window.d.ts +129 -0
- package/lib/types/elements/gtk-search-bar.d.ts +39 -0
- package/lib/types/elements/gtk-search-entry.d.ts +27 -0
- package/lib/types/elements/gtk-separator.d.ts +10 -0
- package/lib/types/elements/gtk-spin-button.d.ts +94 -0
- package/lib/types/elements/gtk-spinner.d.ts +14 -0
- package/lib/types/elements/gtk-stack-sidebar.d.ts +43 -0
- package/lib/types/elements/gtk-stack-switcher.d.ts +58 -0
- package/lib/types/elements/gtk-stack.d.ts +154 -0
- package/lib/types/elements/gtk-switch.d.ts +4 -1
- package/lib/types/elements/gtk-text-view.d.ts +62 -0
- package/lib/types/elements/gtk-text.d.ts +45 -0
- package/lib/types/elements/gtk-toggle-button.d.ts +45 -0
- package/lib/types/elements/gtk-tree-expander.d.ts +38 -0
- package/lib/types/elements/gtk-video.d.ts +97 -0
- package/lib/types/elements/gtk-viewport.d.ts +84 -0
- package/lib/types/elements/gtk-window-controls.d.ts +80 -0
- package/lib/types/elements/gtk-window-handle.d.ts +39 -0
- package/lib/types/elements/gtk-window.d.ts +103 -0
- package/lib/types/elements/justification.d.ts +2 -0
- package/lib/types/elements/popover-menu.d.ts +18 -0
- package/lib/types/elements/roving-focus.d.ts +29 -1
- package/lib/types/emoji-data.d.ts +38 -0
- package/lib/types/font-description.d.ts +96 -0
- package/lib/types/gtk-about-dialog.spec.d.ts +1 -0
- package/lib/types/gtk-action-bar.spec.d.ts +1 -0
- package/lib/types/gtk-application-window.spec.d.ts +1 -0
- package/lib/types/gtk-aspect-frame.spec.d.ts +1 -0
- package/lib/types/gtk-calendar.spec.d.ts +1 -0
- package/lib/types/gtk-center-box.spec.d.ts +1 -0
- package/lib/types/gtk-color-dialog-button.spec.d.ts +1 -0
- package/lib/types/gtk-column-view.spec.d.ts +1 -0
- package/lib/types/gtk-drag-icon.spec.d.ts +1 -0
- package/lib/types/gtk-drawing-area.spec.d.ts +1 -0
- package/lib/types/gtk-editable-label.spec.d.ts +1 -0
- package/lib/types/gtk-emoji-chooser.spec.d.ts +1 -0
- package/lib/types/gtk-expander.spec.d.ts +1 -0
- package/lib/types/gtk-fixed.spec.d.ts +1 -0
- package/lib/types/gtk-flow-box.spec.d.ts +1 -0
- package/lib/types/gtk-font-dialog-button.spec.d.ts +1 -0
- package/lib/types/gtk-frame.spec.d.ts +1 -0
- package/lib/types/gtk-gl-area.spec.d.ts +1 -0
- package/lib/types/gtk-graphics-offload.spec.d.ts +1 -0
- package/lib/types/gtk-grid-view.spec.d.ts +1 -0
- package/lib/types/gtk-grid.spec.d.ts +1 -0
- package/lib/types/gtk-header-bar.spec.d.ts +1 -0
- package/lib/types/gtk-inscription.spec.d.ts +1 -0
- package/lib/types/gtk-level-bar.spec.d.ts +1 -0
- package/lib/types/gtk-link-button.spec.d.ts +1 -0
- package/lib/types/gtk-list-box.spec.d.ts +1 -0
- package/lib/types/gtk-list-view.spec.d.ts +1 -0
- package/lib/types/gtk-media-controls.spec.d.ts +1 -0
- package/lib/types/gtk-notebook.spec.d.ts +1 -0
- package/lib/types/gtk-overlay.spec.d.ts +1 -0
- package/lib/types/gtk-paned.spec.d.ts +1 -0
- package/lib/types/gtk-password-entry.spec.d.ts +1 -0
- package/lib/types/gtk-picture.spec.d.ts +1 -0
- package/lib/types/gtk-popover-bin.spec.d.ts +1 -0
- package/lib/types/gtk-popover-menu-bar.spec.d.ts +1 -0
- package/lib/types/gtk-popover-menu.spec.d.ts +1 -0
- package/lib/types/gtk-popover-role.spec.d.ts +1 -0
- package/lib/types/gtk-popover.spec.d.ts +1 -0
- package/lib/types/gtk-print-dialogs.spec.d.ts +1 -0
- package/lib/types/gtk-revealer.spec.d.ts +1 -0
- package/lib/types/gtk-scale-button.spec.d.ts +1 -0
- package/lib/types/gtk-scale.spec.d.ts +1 -0
- package/lib/types/gtk-scrollbar.spec.d.ts +1 -0
- package/lib/types/gtk-scrolled-window.spec.d.ts +1 -0
- package/lib/types/gtk-search-bar.spec.d.ts +1 -0
- package/lib/types/gtk-search-entry.spec.d.ts +1 -0
- package/lib/types/gtk-separator.spec.d.ts +1 -0
- package/lib/types/gtk-spin-button.spec.d.ts +1 -0
- package/lib/types/gtk-spinner.spec.d.ts +1 -0
- package/lib/types/gtk-stack-sidebar.spec.d.ts +1 -0
- package/lib/types/gtk-stack-switcher.spec.d.ts +1 -0
- package/lib/types/gtk-stack.spec.d.ts +1 -0
- package/lib/types/gtk-text-view.spec.d.ts +1 -0
- package/lib/types/gtk-text.spec.d.ts +1 -0
- package/lib/types/gtk-toggle-button.spec.d.ts +1 -0
- package/lib/types/gtk-tree-expander.spec.d.ts +1 -0
- package/lib/types/gtk-video.spec.d.ts +1 -0
- package/lib/types/gtk-viewport.spec.d.ts +1 -0
- package/lib/types/gtk-window-controls.spec.d.ts +1 -0
- package/lib/types/gtk-window-handle.spec.d.ts +1 -0
- package/lib/types/gtk-window.spec.d.ts +1 -0
- package/lib/types/index.d.ts +4 -1
- package/lib/types/list-view-dom.d.ts +44 -0
- package/lib/types/namespace/adw.d.ts +12 -0
- package/lib/types/namespace/gtk.d.ts +61 -0
- package/lib/types/page-setup.d.ts +100 -0
- package/lib/types/row-line-clamp.d.ts +20 -0
- package/lib/types/row-tooltip.d.ts +8 -0
- package/lib/types/row-tooltip.spec.d.ts +1 -0
- package/lib/types/scroll-shading.d.ts +15 -1
- package/lib/types/shared-tree-builder.d.ts +75 -17
- package/lib/types/shared-tree-mount.spec.d.ts +1 -0
- package/lib/types/signals.d.ts +4 -0
- package/lib/types/styles.generated.d.ts +1 -1
- package/lib/types/tab-chip.d.ts +73 -0
- package/lib/types/template-classes.d.ts +11 -0
- package/lib/types/widget-size.spec.d.ts +1 -0
- package/package.json +12 -8
- package/scss/_action_row.scss +41 -17
- package/scss/_application_window.scss +26 -0
- package/scss/_aspect_frame.scss +25 -0
- package/scss/_bin.scss +26 -0
- package/scss/_button.scss +45 -0
- package/scss/_button_row.scss +5 -0
- package/scss/_calendar.scss +176 -0
- package/scss/_center_box.scss +25 -0
- package/scss/_checks.scss +6 -1
- package/scss/_clamp_scrollable.scss +28 -0
- package/scss/_color_button.scss +67 -0
- package/scss/_column_view.scss +126 -0
- package/scss/_drag_icon.scss +55 -0
- package/scss/_drawing.scss +85 -0
- package/scss/_emoji_chooser.scss +213 -0
- package/scss/_entry.scss +13 -5
- package/scss/_entry_row.scss +1 -1
- package/scss/_expander.scss +113 -0
- package/scss/_expander_row.scss +36 -3
- package/scss/_fixed.scss +29 -0
- package/scss/_flow_box.scss +94 -0
- package/scss/_font_button.scss +63 -0
- package/scss/_frame.scss +41 -0
- package/scss/_grid.scss +19 -0
- package/scss/_grid_view.scss +46 -0
- package/scss/_gtk_about_dialog.scss +186 -0
- package/scss/_headerbar.scss +134 -1
- package/scss/_icons.generated.scss +186 -0
- package/scss/_inscription.scss +125 -0
- package/scss/_level_bar.scss +190 -0
- package/scss/_link.scss +82 -0
- package/scss/_list_box.scss +88 -0
- package/scss/_list_view.scss +96 -0
- package/scss/_media_controls.scss +139 -0
- package/scss/_overlay.scss +68 -0
- package/scss/_paned.scss +130 -0
- package/scss/_password_entry.scss +83 -0
- package/scss/_picture.scss +80 -0
- package/scss/_popover_bin.scss +53 -0
- package/scss/_popover_menu_bar.scss +104 -0
- package/scss/_preferences_row.scss +60 -0
- package/scss/_print_dialogs.scss +328 -0
- package/scss/_reset.scss +21 -19
- package/scss/_revealer.scss +37 -0
- package/scss/_row.scss +36 -5
- package/scss/_scale.scss +298 -0
- package/scss/_scale_button.scss +167 -0
- package/scss/_scrollbar.scss +230 -0
- package/scss/_scrolled_window.scss +131 -0
- package/scss/_search_bar.scss +118 -0
- package/scss/_search_entry.scss +86 -0
- package/scss/_separator.scss +44 -0
- package/scss/_shortcuts_dialog.scss +100 -0
- package/scss/_spin_button.scss +172 -0
- package/scss/_spin_row.scss +56 -8
- package/scss/_spinner.scss +85 -4
- package/scss/_stack.scss +729 -0
- package/scss/_status_page.scss +1 -1
- package/scss/_switch.scss +13 -5
- package/scss/_switch_row.scss +10 -0
- package/scss/_tab_bar.scss +317 -0
- package/scss/_tab_button.scss +98 -0
- package/scss/_tab_overview.scss +483 -0
- package/scss/_text.scss +182 -0
- package/scss/_theme.scss +1 -1
- package/scss/_toggle_group.scss +28 -0
- package/scss/_tree_expander.scss +62 -0
- package/scss/_variables.scss +1 -1
- package/scss/_video.scss +146 -0
- package/scss/_view_switcher_sidebar.scss +112 -0
- package/scss/_viewport.scss +50 -0
- package/scss/_widget.scss +14 -3
- package/scss/_window.scss +131 -2
- package/scss/_window_handle.scss +20 -0
- package/scss/adwaita-skin.scss +109 -0
- package/src/adw-action-rows.spec.ts +331 -0
- package/src/adw-application-window.spec.ts +118 -0
- package/src/adw-bin.spec.ts +75 -0
- package/src/adw-breakpoint-bin.spec.ts +324 -0
- package/src/adw-clamp-scrollable.spec.ts +189 -0
- package/src/adw-header-bar.spec.ts +18 -0
- package/src/adw-multi-layout-view.spec.ts +243 -0
- package/src/adw-preferences-row.spec.ts +164 -0
- package/src/adw-row-state.spec.ts +142 -0
- package/src/adw-shortcuts.spec.ts +155 -0
- package/src/adw-status-page.spec.ts +124 -0
- package/src/adw-tab-bar.spec.ts +287 -0
- package/src/adw-tab-button.spec.ts +101 -0
- package/src/adw-tab-overview.spec.ts +443 -0
- package/src/adw-view-switcher-sidebar.spec.ts +281 -0
- package/src/adw-window.spec.ts +129 -0
- package/src/attributes.ts +52 -0
- package/src/breakpoints.ts +25 -8
- package/src/capabilities.d.mts +3 -0
- package/src/capabilities.mjs +21 -0
- package/src/connect-lifecycle.spec.ts +12 -0
- package/src/construct-vectors.spec.ts +175 -0
- package/src/elements/adw-action-row.ts +31 -2
- package/src/elements/adw-alert-dialog.ts +4 -1
- package/src/elements/adw-application-window.ts +154 -0
- package/src/elements/adw-bin.ts +101 -0
- package/src/elements/adw-breakpoint-bin.ts +287 -0
- package/src/elements/adw-button-row.ts +7 -1
- package/src/elements/adw-clamp-scrollable.ts +207 -0
- package/src/elements/adw-combo-row.ts +26 -1
- package/src/elements/adw-dialog.ts +19 -0
- package/src/elements/adw-entry-row.ts +22 -12
- package/src/elements/adw-expander-row.ts +34 -1
- package/src/elements/adw-header-bar.ts +18 -4
- package/src/elements/adw-layout-slot.ts +95 -0
- package/src/elements/adw-multi-layout-view.ts +326 -0
- package/src/elements/adw-overlay-split-view.ts +29 -6
- package/src/elements/adw-preferences-row.ts +153 -0
- package/src/elements/adw-shortcuts-dialog.ts +52 -0
- package/src/elements/adw-shortcuts-item.ts +171 -0
- package/src/elements/adw-shortcuts-section.ts +86 -0
- package/src/elements/adw-sidebar.ts +74 -7
- package/src/elements/adw-spin-row.ts +37 -2
- package/src/elements/adw-status-page.ts +10 -2
- package/src/elements/adw-switch-row.ts +53 -2
- package/src/elements/adw-tab-bar.ts +529 -0
- package/src/elements/adw-tab-button.ts +194 -0
- package/src/elements/adw-tab-overview.ts +1011 -0
- package/src/elements/adw-tab-view.ts +66 -145
- package/src/elements/adw-toggle-group.ts +138 -14
- package/src/elements/adw-view-stack.ts +18 -0
- package/src/elements/adw-view-switcher-sidebar.ts +332 -0
- package/src/elements/adw-window.ts +190 -11
- package/src/elements/checks.ts +35 -8
- package/src/elements/gtk-about-dialog.ts +811 -0
- package/src/elements/gtk-application-window.ts +108 -0
- package/src/elements/gtk-aspect-frame.ts +160 -0
- package/src/elements/gtk-button.ts +12 -0
- package/src/elements/gtk-calendar.ts +757 -0
- package/src/elements/gtk-center-box.ts +184 -0
- package/src/elements/gtk-color-dialog-button.ts +278 -0
- package/src/elements/gtk-column-view.ts +320 -0
- package/src/elements/gtk-drag-icon.ts +257 -0
- package/src/elements/gtk-drawing-area.ts +303 -0
- package/src/elements/gtk-editable-label.ts +204 -0
- package/src/elements/gtk-emoji-chooser.ts +542 -0
- package/src/elements/gtk-entry.ts +39 -5
- package/src/elements/gtk-expander.ts +301 -0
- package/src/elements/gtk-fixed.ts +99 -0
- package/src/elements/gtk-flow-box-child.ts +68 -0
- package/src/elements/gtk-flow-box.ts +480 -0
- package/src/elements/gtk-font-dialog-button.ts +432 -0
- package/src/elements/gtk-frame.ts +174 -0
- package/src/elements/gtk-gl-area.ts +476 -0
- package/src/elements/gtk-graphics-offload.ts +130 -0
- package/src/elements/gtk-grid-view.ts +168 -0
- package/src/elements/gtk-grid.ts +127 -0
- package/src/elements/gtk-header-bar.ts +273 -0
- package/src/elements/gtk-inscription.ts +387 -0
- package/src/elements/gtk-label.ts +19 -11
- package/src/elements/gtk-level-bar.ts +323 -0
- package/src/elements/gtk-link-button.ts +138 -0
- package/src/elements/gtk-list-box-row.ts +195 -0
- package/src/elements/gtk-list-box.ts +413 -0
- package/src/elements/gtk-list-view.ts +370 -0
- package/src/elements/gtk-media-controls.ts +509 -0
- package/src/elements/gtk-notebook.ts +664 -0
- package/src/elements/gtk-overlay.ts +149 -0
- package/src/elements/gtk-page-setup-unix-dialog.ts +420 -0
- package/src/elements/gtk-paned.ts +597 -0
- package/src/elements/gtk-password-entry.ts +170 -0
- package/src/elements/gtk-picture.ts +254 -0
- package/src/elements/gtk-popover-bin.ts +332 -0
- package/src/elements/gtk-popover-menu-bar.ts +355 -0
- package/src/elements/gtk-popover-menu.ts +339 -0
- package/src/elements/gtk-popover.ts +92 -10
- package/src/elements/gtk-print-unix-dialog.ts +989 -0
- package/src/elements/gtk-progress-bar.ts +24 -11
- package/src/elements/gtk-revealer.ts +406 -0
- package/src/elements/gtk-scale-button.ts +358 -0
- package/src/elements/gtk-scale.ts +492 -0
- package/src/elements/gtk-scrollbar.ts +528 -0
- package/src/elements/gtk-scrolled-window.ts +653 -0
- package/src/elements/gtk-search-bar.ts +200 -0
- package/src/elements/gtk-search-entry.ts +172 -0
- package/src/elements/gtk-separator.ts +52 -0
- package/src/elements/gtk-spin-button.ts +475 -0
- package/src/elements/gtk-spinner.ts +126 -0
- package/src/elements/gtk-stack-sidebar.ts +212 -0
- package/src/elements/gtk-stack-switcher.ts +279 -0
- package/src/elements/gtk-stack.ts +748 -0
- package/src/elements/gtk-switch.ts +52 -19
- package/src/elements/gtk-text-view.ts +290 -0
- package/src/elements/gtk-text.ts +219 -0
- package/src/elements/gtk-toggle-button.ts +239 -0
- package/src/elements/gtk-tree-expander.ts +243 -0
- package/src/elements/gtk-video.ts +423 -0
- package/src/elements/gtk-viewport.ts +277 -0
- package/src/elements/gtk-window-controls.ts +341 -0
- package/src/elements/gtk-window-handle.ts +221 -0
- package/src/elements/gtk-window.ts +372 -0
- package/src/elements/justification.ts +24 -0
- package/src/elements/popover-menu.ts +24 -0
- package/src/elements/roving-focus.ts +53 -21
- package/src/emoji-data.ts +577 -0
- package/src/entry-rows.spec.ts +31 -0
- package/src/font-description.ts +238 -0
- package/src/gtk-about-dialog.spec.ts +250 -0
- package/src/gtk-action-bar.spec.ts +89 -0
- package/src/gtk-application-window.spec.ts +107 -0
- package/src/gtk-aspect-frame.spec.ts +114 -0
- package/src/gtk-calendar.spec.ts +589 -0
- package/src/gtk-center-box.spec.ts +125 -0
- package/src/gtk-color-dialog-button.spec.ts +141 -0
- package/src/gtk-column-view.spec.ts +154 -0
- package/src/gtk-drag-icon.spec.ts +190 -0
- package/src/gtk-drawing-area.spec.ts +211 -0
- package/src/gtk-editable-label.spec.ts +190 -0
- package/src/gtk-emoji-chooser.spec.ts +173 -0
- package/src/gtk-entry.spec.ts +23 -0
- package/src/gtk-expander.spec.ts +170 -0
- package/src/gtk-fixed.spec.ts +97 -0
- package/src/gtk-flow-box.spec.ts +289 -0
- package/src/gtk-font-dialog-button.spec.ts +166 -0
- package/src/gtk-frame.spec.ts +119 -0
- package/src/gtk-gl-area.spec.ts +361 -0
- package/src/gtk-graphics-offload.spec.ts +119 -0
- package/src/gtk-grid-view.spec.ts +106 -0
- package/src/gtk-grid.spec.ts +122 -0
- package/src/gtk-header-bar.spec.ts +202 -0
- package/src/gtk-inscription.spec.ts +235 -0
- package/src/gtk-level-bar.spec.ts +199 -0
- package/src/gtk-link-button.spec.ts +117 -0
- package/src/gtk-list-box.spec.ts +422 -0
- package/src/gtk-list-view.spec.ts +203 -0
- package/src/gtk-media-controls.spec.ts +295 -0
- package/src/gtk-notebook.spec.ts +546 -0
- package/src/gtk-overlay.spec.ts +141 -0
- package/src/gtk-paned.spec.ts +267 -0
- package/src/gtk-password-entry.spec.ts +150 -0
- package/src/gtk-picture.spec.ts +172 -0
- package/src/gtk-popover-bin.spec.ts +229 -0
- package/src/gtk-popover-menu-bar.spec.ts +296 -0
- package/src/gtk-popover-menu.spec.ts +261 -0
- package/src/gtk-popover-role.spec.ts +138 -0
- package/src/gtk-popover.spec.ts +264 -0
- package/src/gtk-print-dialogs.spec.ts +251 -0
- package/src/gtk-revealer.spec.ts +164 -0
- package/src/gtk-scale-button.spec.ts +218 -0
- package/src/gtk-scale.spec.ts +213 -0
- package/src/gtk-scrollbar.spec.ts +244 -0
- package/src/gtk-scrolled-window.spec.ts +262 -0
- package/src/gtk-search-bar.spec.ts +179 -0
- package/src/gtk-search-entry.spec.ts +142 -0
- package/src/gtk-separator.spec.ts +74 -0
- package/src/gtk-spin-button.spec.ts +186 -0
- package/src/gtk-spinner.spec.ts +130 -0
- package/src/gtk-stack-sidebar.spec.ts +217 -0
- package/src/gtk-stack-switcher.spec.ts +249 -0
- package/src/gtk-stack.spec.ts +432 -0
- package/src/gtk-text-view.spec.ts +189 -0
- package/src/gtk-text.spec.ts +163 -0
- package/src/gtk-toggle-button.spec.ts +186 -0
- package/src/gtk-tree-expander.spec.ts +201 -0
- package/src/gtk-video.spec.ts +240 -0
- package/src/gtk-viewport.spec.ts +140 -0
- package/src/gtk-window-controls.spec.ts +232 -0
- package/src/gtk-window-handle.spec.ts +158 -0
- package/src/gtk-window.spec.ts +202 -0
- package/src/index.ts +9 -1
- package/src/keyboard-operable.spec.ts +77 -9
- package/src/list-view-dom.ts +121 -0
- package/src/namespace/adw.ts +12 -0
- package/src/namespace/gtk.ts +61 -0
- package/src/page-setup.ts +222 -0
- package/src/row-line-clamp.ts +74 -0
- package/src/row-tooltip.spec.ts +313 -0
- package/src/row-tooltip.ts +52 -0
- package/src/scroll-shading.ts +18 -1
- package/src/shared-tree-builder.ts +336 -41
- package/src/shared-tree-mount.spec.ts +130 -0
- package/src/shared-trees.spec.ts +15 -0
- package/src/signals.ts +15 -0
- package/src/style-classes.spec.ts +9 -8
- package/src/styles.generated.ts +1 -1
- package/src/tab-chip.ts +200 -0
- package/src/template-classes.ts +45 -0
- package/src/test.browser.mts +160 -0
- package/src/widget-size.spec.ts +117 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import type { AdwMenuActions, AdwMenuInput, AdwMenuModel } from '@gjsify/adwaita-core';
|
|
2
|
+
import './gtk-popover-menu.js';
|
|
3
|
+
import type { GtkPopoverMenu } from './gtk-popover-menu.js';
|
|
4
|
+
export declare class GtkPopoverBin extends HTMLElement {
|
|
5
|
+
private _model;
|
|
6
|
+
private _popover;
|
|
7
|
+
private _actions;
|
|
8
|
+
private _initialized;
|
|
9
|
+
private _longPressTimer;
|
|
10
|
+
static get observedAttributes(): string[];
|
|
11
|
+
/** The menu model, normalised (ADR 0042). */
|
|
12
|
+
get menuModel(): AdwMenuModel;
|
|
13
|
+
/**
|
|
14
|
+
* The model the popover is built from — ONE slot with `popover`, because GTK's two
|
|
15
|
+
* setters clear each other (gtkpopoverbin.c:474-500, :543-551). A model REPLACES the
|
|
16
|
+
* popover; a popover DROPS the model, and both notify for both properties.
|
|
17
|
+
*/
|
|
18
|
+
set menuModel(value: AdwMenuInput | AdwMenuModel);
|
|
19
|
+
/**
|
|
20
|
+
* The popover this bin presents, or `null`.
|
|
21
|
+
*
|
|
22
|
+
* NOT `popover`, which is `GtkPopoverBin`'s GObject name and also `HTMLElement`'s: the
|
|
23
|
+
* DOM's Popover API spells a string attribute `popover`, and shadowing it with a widget
|
|
24
|
+
* would make the element disagree with the platform it sits on. The `Element` suffix is
|
|
25
|
+
* what this package already uses where a GIR name is taken (`childElement` below, and
|
|
26
|
+
* `Adw.NavigationPage`'s own `navigationPage`).
|
|
27
|
+
*/
|
|
28
|
+
get popoverElement(): GtkPopoverMenu | null;
|
|
29
|
+
set popoverElement(value: GtkPopoverMenu | null);
|
|
30
|
+
/** Whether a right click or a long press opens the popover. GTK's default is FALSE. */
|
|
31
|
+
get handleInput(): boolean;
|
|
32
|
+
set handleInput(value: boolean);
|
|
33
|
+
/** What the action group publishes about the actions the menu names (ADR 0042). */
|
|
34
|
+
get actions(): AdwMenuActions | null;
|
|
35
|
+
set actions(value: AdwMenuActions | null);
|
|
36
|
+
connectedCallback(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
attributeChangedCallback(name?: string): void;
|
|
39
|
+
/** The `menu.popup` action — present the popover. */
|
|
40
|
+
popup(): void;
|
|
41
|
+
/** Dismiss the popover. */
|
|
42
|
+
popdown(): void;
|
|
43
|
+
/** The widget whose `.has-open-popup` follows the popover, when the bin has one. */
|
|
44
|
+
get childElement(): HTMLElement | null;
|
|
45
|
+
private _wireGestures;
|
|
46
|
+
private _cancelLongPress;
|
|
47
|
+
private _onContextMenu;
|
|
48
|
+
/**
|
|
49
|
+
* `popup_at_position` WITH the pointer's coordinates, which is the branch that sets
|
|
50
|
+
* `pointing-to` to `(x, y)` (gtkpopoverbin.c:141-145). `<gtk-popover>` has no
|
|
51
|
+
* `pointing-to` to set — placement is the `position`/`align` pair, the same gap the
|
|
52
|
+
* element's own KNOWN_GAPS records — so the call is the plain `popup()` and what the
|
|
53
|
+
* reader sees is GTK's: the menu under the child.
|
|
54
|
+
*/
|
|
55
|
+
private _popupAt;
|
|
56
|
+
/**
|
|
57
|
+
* The Menu key, which is the shortcut GTK installs next to the gestures
|
|
58
|
+
* (`gtk_shortcut_trigger_create_for_menu`, gtkpopoverbin.c:643-649). GTK builds the
|
|
59
|
+
* trigger in the platform's canonical form, which a keydown cannot carry, so the
|
|
60
|
+
* un-modified key beside Shift is the whole binding here.
|
|
61
|
+
*/
|
|
62
|
+
private _onKeyDown;
|
|
63
|
+
private _buildPopover;
|
|
64
|
+
/**
|
|
65
|
+
* `set_popover` (gtkpopoverbin.c:543-587): hide and unparent the old one, parent the
|
|
66
|
+
* new one, and wire the map/unmap handlers that carry `.has-open-popup` on the child.
|
|
67
|
+
*/
|
|
68
|
+
private _adoptPopover;
|
|
69
|
+
/**
|
|
70
|
+
* `g_object_notify_by_pspec` is called for `:popover` AND `:menu-model` by BOTH setters
|
|
71
|
+
* (gtkpopoverbin.c:502, :586-587), because the two are one slot. One event carrying
|
|
72
|
+
* both is the faithful reading, and the second notify GTK sends separately has no state
|
|
73
|
+
* of its own to report.
|
|
74
|
+
*/
|
|
75
|
+
private _notifyModel;
|
|
76
|
+
/**
|
|
77
|
+
* The `menu-model` ATTRIBUTE through the core parser, refusing a `custom` item the way
|
|
78
|
+
* every menu-bearing surface here does: markup is parsed by the browser, so a throw from
|
|
79
|
+
* `connectedCallback` would reach nobody and the menu would be silently empty.
|
|
80
|
+
*/
|
|
81
|
+
private _parseMenuAttr;
|
|
82
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { AdwMenuActions, AdwMenuInput, AdwMenuModel } from '@gjsify/adwaita-core';
|
|
2
|
+
import './gtk-popover-menu.js';
|
|
3
|
+
export declare class GtkPopoverMenuBar extends HTMLElement {
|
|
4
|
+
private _model;
|
|
5
|
+
private _actions;
|
|
6
|
+
private _items;
|
|
7
|
+
private _active;
|
|
8
|
+
private _initialized;
|
|
9
|
+
static get observedAttributes(): string[];
|
|
10
|
+
/** The menu model, normalised (ADR 0042). */
|
|
11
|
+
get menuModel(): AdwMenuModel;
|
|
12
|
+
set menuModel(value: AdwMenuInput);
|
|
13
|
+
/** What the action group publishes about the actions these menus name (ADR 0042). */
|
|
14
|
+
get actions(): AdwMenuActions | null;
|
|
15
|
+
set actions(value: AdwMenuActions | null);
|
|
16
|
+
/** The active item's button, or `null` — GTK's `active_item`, as a widget. */
|
|
17
|
+
get activeItem(): HTMLElement | null;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
attributeChangedCallback(name?: string): void;
|
|
20
|
+
/** `gtk_popover_menu_bar_select_first` — activate and OPEN the first item. */
|
|
21
|
+
selectFirst(): void;
|
|
22
|
+
/** What the bar's `menu.popup` action does, which is the same thing. */
|
|
23
|
+
popup(): void;
|
|
24
|
+
/**
|
|
25
|
+
* `set_active_item` (gtkpopovermenubar.c:126-163), variable names and all.
|
|
26
|
+
*
|
|
27
|
+
* `changed` and `was_popup` decide three DIFFERENT outcomes — close the old one, open
|
|
28
|
+
* the new one, or move focus onto it — and collapsing them is how a hover would come to
|
|
29
|
+
* open menus, which is the single behaviour that separates a menubar from a row of menu
|
|
30
|
+
* buttons.
|
|
31
|
+
*/
|
|
32
|
+
private _setActive;
|
|
33
|
+
private _onKeyDown;
|
|
34
|
+
/**
|
|
35
|
+
* The sibling in `step`'s direction, WRAPPING at either end
|
|
36
|
+
* (gtkpopovermenubar.c:232-252): with no active item there is no sibling, so the first
|
|
37
|
+
* move goes to the first child for RIGHT and to the LAST for LEFT.
|
|
38
|
+
*/
|
|
39
|
+
private _move;
|
|
40
|
+
private _rebuild;
|
|
41
|
+
/**
|
|
42
|
+
* Focus the first row a key can reach in a menu that has just opened.
|
|
43
|
+
*
|
|
44
|
+
* This is what `autohide` does in GTK: `gtk_popover_show` calls
|
|
45
|
+
* `gtk_widget_child_focus (widget, GTK_DIR_TAB_FORWARD)` when the property holds
|
|
46
|
+
* (gtkpopover.c:1188-1192), and a browser popup takes no focus until it is told to —
|
|
47
|
+
* which is why the item whose menu opened is what does it here.
|
|
48
|
+
*/
|
|
49
|
+
private _focusFirstRow;
|
|
50
|
+
/**
|
|
51
|
+
* One `menubar > item > popover` (the node tree in gtkpopovermenubar.c:38-46).
|
|
52
|
+
*
|
|
53
|
+
* A toplevel node that is not a submenu is refused by `_parseMenuAttr` with GTK's own
|
|
54
|
+
* wording rather than drawn: `tracker_insert` builds nothing for it
|
|
55
|
+
* (gtkpopovermenubar.c:466), and a row that opens nothing is the same lie in another
|
|
56
|
+
* shape.
|
|
57
|
+
*/
|
|
58
|
+
private _buildItem;
|
|
59
|
+
/**
|
|
60
|
+
* Activating a row inside one of the popovers closes THAT popover and hands focus back
|
|
61
|
+
* to its item, which is what `gtk_popover_menu_set_active_item` does when the active
|
|
62
|
+
* row is not the row that opened a submenu (gtkpopovermenu.c:257-259).
|
|
63
|
+
*/
|
|
64
|
+
private _activate;
|
|
65
|
+
private _parseMenuAttr;
|
|
66
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { AdwMenuActions, AdwMenuInput, AdwMenuModel } from '@gjsify/adwaita-core';
|
|
2
|
+
import { GtkPopover } from './gtk-popover.js';
|
|
3
|
+
export declare class GtkPopoverMenu extends GtkPopover {
|
|
4
|
+
private _model;
|
|
5
|
+
private _actions;
|
|
6
|
+
private _menuView;
|
|
7
|
+
/** Named apart from `GtkPopover`'s own: two `private` fields of one name are two fields. */
|
|
8
|
+
private _menuInitialized;
|
|
9
|
+
static get observedAttributes(): string[];
|
|
10
|
+
/** The menu, normalised (ADR 0042). */
|
|
11
|
+
get menuModel(): AdwMenuModel;
|
|
12
|
+
/**
|
|
13
|
+
* Set the menu from anything the portable model accepts, refusing a `custom` item
|
|
14
|
+
* HERE — at the assignment, where it is a call the caller can catch. An ATTRIBUTE is
|
|
15
|
+
* markup the browser parses, so the attribute path refuses the whole menu instead and
|
|
16
|
+
* says why on `console.error`, exactly as `<gtk-menu-button>` does.
|
|
17
|
+
*
|
|
18
|
+
* `AdwMenuModel` is in the union because a menu bar hands over a submenu's own `items`
|
|
19
|
+
* untouched, and `normalizeMenuModel` is documented to be IDEMPOTENT over an
|
|
20
|
+
* already-normalised node — that is what lets a renderer hand a model it is holding
|
|
21
|
+
* straight back. The one cast is where the core's parameter type (`AdwMenuInput`, whose
|
|
22
|
+
* entries are the AUTHORED shapes) is narrower than the behaviour it documents.
|
|
23
|
+
*/
|
|
24
|
+
set menuModel(value: AdwMenuInput | AdwMenuModel);
|
|
25
|
+
/** What the action group publishes about the actions this menu names (ADR 0042). */
|
|
26
|
+
get actions(): AdwMenuActions | null;
|
|
27
|
+
set actions(value: AdwMenuActions | null);
|
|
28
|
+
/** The optional heading. GTK spells one as a labelled SECTION; this is the shorthand. */
|
|
29
|
+
get menuTitle(): string;
|
|
30
|
+
set menuTitle(value: string);
|
|
31
|
+
/**
|
|
32
|
+
* The name of the open page — `'main'` for the root, a submenu's label for a submenu.
|
|
33
|
+
*
|
|
34
|
+
* GTK's value is the stack child's NAME, which `GtkMenuTracker` gives a submenu page
|
|
35
|
+
* from the node it links; with no name given that is the submenu's label, so the label
|
|
36
|
+
* is what this element answers with. `gtk_popover_menu_open_submenu` (gtkpopovermenu.c
|
|
37
|
+
* :755-757) is the only way in, so setting it navigates rather than describing.
|
|
38
|
+
*/
|
|
39
|
+
get visibleSubmenu(): string;
|
|
40
|
+
set visibleSubmenu(value: string);
|
|
41
|
+
connectedCallback(): void;
|
|
42
|
+
attributeChangedCallback(name?: string, previous?: string | null, value?: string | null): void;
|
|
43
|
+
/** `gtk_popover_menu_open_submenu` — switch to the named page. */
|
|
44
|
+
openSubmenu(name: string): void;
|
|
45
|
+
/**
|
|
46
|
+
* The ONE way the open page changes, from the property and from the attribute alike.
|
|
47
|
+
*
|
|
48
|
+
* The notify belongs HERE rather than beside the attribute write: a page can change
|
|
49
|
+
* without the attribute's text changing (`openSubmenu('More')` when it is already
|
|
50
|
+
* `More` after a dismissal, or an attribute set to the page already showing), and
|
|
51
|
+
* `GObject` notifies on the state, not on the spelling.
|
|
52
|
+
*/
|
|
53
|
+
private _navigate;
|
|
54
|
+
/**
|
|
55
|
+
* Point the page stack at the named page and rebuild it. `false` when the name is not
|
|
56
|
+
* one of the stack's children, which is what `gtk_stack_set_visible_child_name` leaves
|
|
57
|
+
* alone — the current page keeps showing rather than the surface blanking.
|
|
58
|
+
*/
|
|
59
|
+
private _showPage;
|
|
60
|
+
/**
|
|
61
|
+
* `gtk_popover_menu_close_submenus` — leave the open submenu, ONE level
|
|
62
|
+
* (gtkpopovermenu.c:223-233), which is what the back row does.
|
|
63
|
+
*/
|
|
64
|
+
closeSubmenus(): void;
|
|
65
|
+
private _openPageLabel;
|
|
66
|
+
private _findSubmenu;
|
|
67
|
+
/**
|
|
68
|
+
* Write the open page back to the attribute, ONCE, and only when the spelling differs.
|
|
69
|
+
*
|
|
70
|
+
* Reading the attribute instead of the state is the whole loop guard: navigating sets
|
|
71
|
+
* this, the attribute change calls back into `_navigate`, and a comparison against the
|
|
72
|
+
* current value stops the second turn.
|
|
73
|
+
*/
|
|
74
|
+
private _reflectSubmenu;
|
|
75
|
+
/**
|
|
76
|
+
* Activating an item closes the popover and returns focus to the anchor — the
|
|
77
|
+
* behaviour every menu-bearing surface here has, and the reason a menu cannot be left
|
|
78
|
+
* open by choosing from it.
|
|
79
|
+
*/
|
|
80
|
+
private _activate;
|
|
81
|
+
private _renderMenu;
|
|
82
|
+
private _parseMenuAttr;
|
|
83
|
+
}
|
|
@@ -2,8 +2,15 @@
|
|
|
2
2
|
export type GtkPopoverPosition = 'bottom' | 'top' | 'start' | 'end';
|
|
3
3
|
/** Which edge of the anchor the surface lines up with. */
|
|
4
4
|
export type GtkPopoverAlign = 'start' | 'end';
|
|
5
|
-
/**
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* The ARIA role of the surface — it decides the row role consumers give their items.
|
|
7
|
+
*
|
|
8
|
+
* `dialog` is the one role that is not a container of ROWS: it is for a surface holding
|
|
9
|
+
* content, so nothing derives an item role from it. Upstream splits the same way —
|
|
10
|
+
* `GtkPopoverMenu` declares itself a menu (`refs/gtk/gtk/gtkpopovermenu.c:676`), a bare
|
|
11
|
+
* `GtkPopover` declares nothing.
|
|
12
|
+
*/
|
|
13
|
+
export type GtkPopoverRole = 'menu' | 'listbox' | 'dialog';
|
|
7
14
|
export declare class GtkPopover extends HTMLElement {
|
|
8
15
|
private readonly _state;
|
|
9
16
|
private _anchor;
|
|
@@ -15,6 +22,17 @@ export declare class GtkPopover extends HTMLElement {
|
|
|
15
22
|
static get observedAttributes(): string[];
|
|
16
23
|
get open(): boolean;
|
|
17
24
|
set open(value: boolean);
|
|
25
|
+
/**
|
|
26
|
+
* Whether an outside click (or an Escape) dismisses the popover — GTK's grab.
|
|
27
|
+
*
|
|
28
|
+
* `autohide` defaults to TRUE in C (`priv->autohide = TRUE`, gtkpopover.c:1046) and
|
|
29
|
+
* that default is what every existing consumer in this package relies on, so it is
|
|
30
|
+
* the ABSENCE of the attribute rather than its presence, exactly as GTK spells it.
|
|
31
|
+
* Turning it off is entry completion's shape, which is the usecase the property
|
|
32
|
+
* documents: the entry keeps the caret and the list follows the typing.
|
|
33
|
+
*/
|
|
34
|
+
get autohide(): boolean;
|
|
35
|
+
set autohide(value: boolean);
|
|
18
36
|
/**
|
|
19
37
|
* The element the surface is positioned against and hands focus back to. Defaults to
|
|
20
38
|
* `parentElement`: the popover is normally the last child of the widget that owns it.
|
|
@@ -25,6 +43,7 @@ export declare class GtkPopover extends HTMLElement {
|
|
|
25
43
|
set position(value: GtkPopoverPosition);
|
|
26
44
|
get align(): GtkPopoverAlign;
|
|
27
45
|
set align(value: GtkPopoverAlign);
|
|
46
|
+
/** The ARIA role of the surface; an unknown value reads as the `menu` default. */
|
|
28
47
|
get popoverRole(): GtkPopoverRole;
|
|
29
48
|
/**
|
|
30
49
|
* The navigable rows, in DOM order.
|
|
@@ -50,7 +69,13 @@ export declare class GtkPopover extends HTMLElement {
|
|
|
50
69
|
connectedCallback(): void;
|
|
51
70
|
private _buildOnce;
|
|
52
71
|
disconnectedCallback(): void;
|
|
53
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Every parameter is optional, and that is FOR `<gtk-popover-menu>`, which subclasses
|
|
74
|
+
* this element: an override may not demand a parameter the base signature does not pass,
|
|
75
|
+
* and the platform always passes all three — the `?` is a typescript-visible fact about
|
|
76
|
+
* the CALLER, not about what arrives.
|
|
77
|
+
*/
|
|
78
|
+
attributeChangedCallback(name?: string, _previous?: string | null, value?: string | null): void;
|
|
54
79
|
private _onStateChange;
|
|
55
80
|
private _bindDocument;
|
|
56
81
|
private _unbindDocument;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { type PageSetup } from '../page-setup.js';
|
|
2
|
+
import { AdwDialog } from './adw-dialog.js';
|
|
3
|
+
/** The `GtkPrintCapabilities` nicks, in enum order (the GIR's own spelling). */
|
|
4
|
+
declare const CAPABILITY_NICKS: readonly ["collate", "copies", "generate-pdf", "generate-ps", "number-up", "number-up-layout", "page-set", "preview", "reverse", "scale"];
|
|
5
|
+
/** One `GtkPrintCapabilities` nick. */
|
|
6
|
+
export type PrintCapability = (typeof CAPABILITY_NICKS)[number];
|
|
7
|
+
/** One row of the printer list — what `GtkPrinter` answers name / location / icon for. */
|
|
8
|
+
export interface PrinterInfo {
|
|
9
|
+
readonly name: string;
|
|
10
|
+
readonly location?: string;
|
|
11
|
+
/** The `.ui`'s icon column, from the printer's own `icon-name`. */
|
|
12
|
+
readonly iconName?: string;
|
|
13
|
+
/** `gtk_printer_is_accepting_jobs` — what gates the Print button. */
|
|
14
|
+
readonly acceptsJobs?: boolean;
|
|
15
|
+
/** `gtk_printer_get_capabilities` — the second half of every sensitivity gate. */
|
|
16
|
+
readonly capabilities?: readonly PrintCapability[];
|
|
17
|
+
/** Whether the row passes `is_printer_active` (:1164-1186). */
|
|
18
|
+
readonly active?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** The `Gtk.PrintSettings` this dialog carries, in the keys its own UI sets. */
|
|
21
|
+
export interface PrintSettingsData {
|
|
22
|
+
/** `format-for-printer` — the printer the settings belong to. */
|
|
23
|
+
readonly 'format-for-printer'?: string;
|
|
24
|
+
/** `copies` — a string, because `GtkPrintSettings` values are all strings. */
|
|
25
|
+
readonly copies?: string;
|
|
26
|
+
/** `collate` / `reverse` — `"0"` or `"1"`, as CUPS writes them. */
|
|
27
|
+
readonly collate?: string;
|
|
28
|
+
readonly reverse?: string;
|
|
29
|
+
/** `page-set` — `all` / `even` / `odd`, the index into `PAGE_SET_ITEMS`. */
|
|
30
|
+
readonly 'page-set'?: string;
|
|
31
|
+
/** `scale` — a percentage, as a string. */
|
|
32
|
+
readonly scale?: string;
|
|
33
|
+
/** `orientation` — `portrait` … `reverse-landscape`. */
|
|
34
|
+
readonly orientation?: string;
|
|
35
|
+
/** `print-at` — an ISO timestamp for the "At:" branch. */
|
|
36
|
+
readonly 'print-at'?: string;
|
|
37
|
+
/** `printer-setting-…` — the per-printer option groups of the Job tab. */
|
|
38
|
+
readonly [key: string]: string | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare class GtkPrintUnixDialog extends AdwDialog {
|
|
41
|
+
private _built;
|
|
42
|
+
private _printers;
|
|
43
|
+
private _selected;
|
|
44
|
+
private _settings;
|
|
45
|
+
private _pageSetup;
|
|
46
|
+
private _printerListEl;
|
|
47
|
+
private _switcherEl;
|
|
48
|
+
private _panelEl;
|
|
49
|
+
private _tabPages;
|
|
50
|
+
private _tab;
|
|
51
|
+
private _currentPage;
|
|
52
|
+
private _supportSelection;
|
|
53
|
+
private _hasSelection;
|
|
54
|
+
private _manual;
|
|
55
|
+
private _range;
|
|
56
|
+
private _printAt;
|
|
57
|
+
private _printButton;
|
|
58
|
+
private _previewButton;
|
|
59
|
+
private _conflictsEl;
|
|
60
|
+
private _capabilityControls;
|
|
61
|
+
private _collateCheck;
|
|
62
|
+
private _reverseCheck;
|
|
63
|
+
private _copiesInput;
|
|
64
|
+
private _paperDrop;
|
|
65
|
+
private _orientationDrop;
|
|
66
|
+
private _pageRangeInput;
|
|
67
|
+
private _selectionRadio;
|
|
68
|
+
private _currentPageRadio;
|
|
69
|
+
private _rangeRadios;
|
|
70
|
+
private _atInput;
|
|
71
|
+
static get observedAttributes(): string[];
|
|
72
|
+
/** `current-page`, in 0-based document pages; -1 disables "Current Page". */
|
|
73
|
+
get currentPage(): number;
|
|
74
|
+
set currentPage(value: number);
|
|
75
|
+
/** Whether the page-setup controls are EMBEDDED rather than in their own dialog. */
|
|
76
|
+
get embedPageSetup(): boolean;
|
|
77
|
+
set embedPageSetup(value: boolean);
|
|
78
|
+
/** Whether the application has a selection to print. */
|
|
79
|
+
get hasSelection(): boolean;
|
|
80
|
+
set hasSelection(value: boolean);
|
|
81
|
+
/** Whether the application supports printing a selection. */
|
|
82
|
+
get supportSelection(): boolean;
|
|
83
|
+
set supportSelection(value: boolean);
|
|
84
|
+
/** The capabilities the APPLICATION handles, as `GtkPrintCapabilities` nicks. */
|
|
85
|
+
get manualCapabilities(): PrintCapability[];
|
|
86
|
+
set manualCapabilities(value: readonly PrintCapability[]);
|
|
87
|
+
/** The chosen printer, or `null` — `gtk_print_unix_dialog_get_selected_printer`. */
|
|
88
|
+
get selectedPrinter(): PrinterInfo | null;
|
|
89
|
+
/** The page setup, as the plain `PageSetup` the value model defines. */
|
|
90
|
+
get pageSetup(): PageSetup;
|
|
91
|
+
set pageSetup(value: PageSetup);
|
|
92
|
+
/** The print settings, in the keys the dialog's own controls write. */
|
|
93
|
+
get printSettings(): PrintSettingsData;
|
|
94
|
+
set printSettings(value: PrintSettingsData);
|
|
95
|
+
/**
|
|
96
|
+
* Which of the four range buttons is active — the radio group the `.ui` calls the
|
|
97
|
+
* Range frame. GTK has no property for it either: the dialog READS whichever of the four
|
|
98
|
+
* `GtkCheckButton`s is active (`dialog_get_page_range`), and that is what this holds.
|
|
99
|
+
*/
|
|
100
|
+
get range(): 'all' | 'current' | 'selection' | 'pages';
|
|
101
|
+
set range(value: 'all' | 'current' | 'selection' | 'pages');
|
|
102
|
+
/** The printers a print backend would have discovered. An INPUT here — see the header. */
|
|
103
|
+
get printers(): PrinterInfo[];
|
|
104
|
+
set printers(value: readonly PrinterInfo[]);
|
|
105
|
+
connectedCallback(): void;
|
|
106
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
107
|
+
/**
|
|
108
|
+
* `manual-capabilities` takes the nick SET the GIR generates, `|`-separated —
|
|
109
|
+
* `manual-capabilities="page-set|copies|collate|reverse|scale|preview"`. Unknown
|
|
110
|
+
* nicks are dropped, which is what the GIR-validated setter does with them.
|
|
111
|
+
*/
|
|
112
|
+
private _readManual;
|
|
113
|
+
protected decorateHeader(header: HTMLElement): void;
|
|
114
|
+
private _build;
|
|
115
|
+
/**
|
|
116
|
+
* Every page of the notebook, built once and hidden but for the visible one —
|
|
117
|
+
* which is what `GtkNotebook` holds: all seven pages exist whether shown or not,
|
|
118
|
+
* so the capability pass can reach every control from the first render.
|
|
119
|
+
*/
|
|
120
|
+
private _renderPanel;
|
|
121
|
+
private _buildTab;
|
|
122
|
+
/** General: the printer list, then Range and Copies. */
|
|
123
|
+
private _buildGeneral;
|
|
124
|
+
/** `page_collate_preview`: four thumbnails whose NUMBERS show the ordering. */
|
|
125
|
+
private _buildCollatePreview;
|
|
126
|
+
/** Page Setup: Layout and Paper beside the sheet preview. */
|
|
127
|
+
private _buildPageSetup;
|
|
128
|
+
/**
|
|
129
|
+
* `page_layout_preview` (:2683) + `draw_page` (:2283): the sheet at 110px on its long
|
|
130
|
+
* edge, divided by the number-up grid with each cell numbered in the number-up order.
|
|
131
|
+
* The ruler the C draws around it is decoration outside the sheet and is not painted.
|
|
132
|
+
*/
|
|
133
|
+
private _buildSheetPreview;
|
|
134
|
+
/** Job: Job Details, Print Document, Add Cover Page. */
|
|
135
|
+
private _buildJob;
|
|
136
|
+
/**
|
|
137
|
+
* One of the four option pages: the scrolled viewport + grid the C's
|
|
138
|
+
* `GtkPrinterOptionWidget`s are added to. There are none without a backend, so the grid
|
|
139
|
+
* is empty and says so rather than inventing options.
|
|
140
|
+
*/
|
|
141
|
+
private _buildOptionsPage;
|
|
142
|
+
/** The option grid, one row per option group the backend would offer. */
|
|
143
|
+
private _optionsGrid;
|
|
144
|
+
/** The conflicts action bar — hidden until `mark_conflicts` finds one (:3050-3060). */
|
|
145
|
+
private _buildConflicts;
|
|
146
|
+
/** Preview / Cancel / Print, in the `.ui`'s order and with its own response ids. */
|
|
147
|
+
private _buildActions;
|
|
148
|
+
private _respond;
|
|
149
|
+
/**
|
|
150
|
+
* One `frame_templateN`: a BOLD heading over a grid, which is the shape every group in
|
|
151
|
+
* the `.ui` has — `box > box > grid` with the heading's `weight=bold`.
|
|
152
|
+
*/
|
|
153
|
+
private _group;
|
|
154
|
+
private _labelledRow;
|
|
155
|
+
private _dropDown;
|
|
156
|
+
private _radio;
|
|
157
|
+
private _check;
|
|
158
|
+
private _frame;
|
|
159
|
+
/** `selected_printer_changed` (:1821-1915) — the list and what selecting does. */
|
|
160
|
+
private _printerChanged;
|
|
161
|
+
private _paperChanged;
|
|
162
|
+
/** Every capability the dialog currently has: the manual half OR the printer's. */
|
|
163
|
+
private _capabilities;
|
|
164
|
+
/** `update_dialog_from_capabilities` (:1563-1592), every line of it. */
|
|
165
|
+
private _renderPrint;
|
|
166
|
+
}
|
|
167
|
+
export {};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/** Every `GtkRevealerTransitionType` nick, in GIR order. */
|
|
2
|
+
declare const TRANSITION_TYPES: readonly ["none", "crossfade", "slide-right", "slide-left", "slide-up", "slide-down", "swing-right", "swing-left", "swing-up", "swing-down", "fade-slide-right", "fade-slide-left", "fade-slide-up", "fade-slide-down"];
|
|
3
|
+
export type RevealerTransitionType = (typeof TRANSITION_TYPES)[number];
|
|
4
|
+
export declare class GtkRevealer extends HTMLElement {
|
|
5
|
+
private _clipEl;
|
|
6
|
+
private _initialized;
|
|
7
|
+
/** `current_pos` — 0 hidden, 1 shown. */
|
|
8
|
+
private _position;
|
|
9
|
+
/** `target_pos` — where the running animation is headed. */
|
|
10
|
+
private _target;
|
|
11
|
+
private _frame;
|
|
12
|
+
private _startedAt;
|
|
13
|
+
/** The child's own size — `child_width` / `child_height` in the C. */
|
|
14
|
+
private _naturalWidth;
|
|
15
|
+
private _naturalHeight;
|
|
16
|
+
private _resize;
|
|
17
|
+
static get observedAttributes(): string[];
|
|
18
|
+
/** `Gtk.Revealer:reveal-child` — whether the child should be revealed. */
|
|
19
|
+
get revealChild(): boolean;
|
|
20
|
+
set revealChild(value: boolean);
|
|
21
|
+
/** `Gtk.Revealer:child-revealed` — read-only; the header says why it inverts. */
|
|
22
|
+
get childRevealed(): boolean;
|
|
23
|
+
/** `Gtk.Revealer:transition-type`. An unknown nick leaves `slide-down` in place. */
|
|
24
|
+
get transitionType(): RevealerTransitionType;
|
|
25
|
+
set transitionType(value: RevealerTransitionType);
|
|
26
|
+
/** `Gtk.Revealer:transition-duration`, in ms. An unparseable one is the default. */
|
|
27
|
+
get transitionDuration(): number;
|
|
28
|
+
set transitionDuration(value: number);
|
|
29
|
+
/** `Gtk.Revealer:child` — the light-DOM node the clip box adopted. */
|
|
30
|
+
get child(): Element | null;
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
disconnectedCallback(): void;
|
|
33
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
34
|
+
/**
|
|
35
|
+
* Point the measurement at the CHILD, not at the clip box.
|
|
36
|
+
*
|
|
37
|
+
* The C asks the child for its requisition (gtkrevealer.c:140) and scales the result,
|
|
38
|
+
* so the child is the subject; observing the clip box instead would report the ALREADY
|
|
39
|
+
* SCALED box, and the scale would then be applied twice.
|
|
40
|
+
*/
|
|
41
|
+
private _observeChild;
|
|
42
|
+
/** `gtk_revealer_start_animation` (gtkrevealer.c:275-322). `@returns` whether it moved. */
|
|
43
|
+
private _animate;
|
|
44
|
+
/** `gtk_revealer_animate_cb` (gtkrevealer.c:255-272). */
|
|
45
|
+
private _tick;
|
|
46
|
+
private _finish;
|
|
47
|
+
/** `effective_transition` (gtkrevealer.c:121-141). */
|
|
48
|
+
private get effectiveTransition();
|
|
49
|
+
/** `get_child_size_scale` (gtkrevealer.c:144-186) for one axis. */
|
|
50
|
+
private _scale;
|
|
51
|
+
/** `gtk_revealer_set_position` (gtkrevealer.c:212-251). */
|
|
52
|
+
private _setPosition;
|
|
53
|
+
private _render;
|
|
54
|
+
}
|
|
55
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import './gtk-popover.js';
|
|
2
|
+
export declare class GtkScaleButton extends HTMLElement {
|
|
3
|
+
private readonly _state;
|
|
4
|
+
private _buttonEl;
|
|
5
|
+
private _glyph;
|
|
6
|
+
private _dockEl;
|
|
7
|
+
private _rangeEl;
|
|
8
|
+
private _minusEl;
|
|
9
|
+
private _plusEl;
|
|
10
|
+
private _icons;
|
|
11
|
+
private _initialized;
|
|
12
|
+
/** Set while a render writes the range, so its `input` echo is not fed back. */
|
|
13
|
+
private _syncing;
|
|
14
|
+
static get observedAttributes(): string[];
|
|
15
|
+
/** `Gtk.ScaleButton:value` — always inside the adjustment's range. */
|
|
16
|
+
get value(): number;
|
|
17
|
+
set value(value: number);
|
|
18
|
+
/** `Gtk.ScaleButton:active` — read-only upstream, so read-only here. */
|
|
19
|
+
get active(): boolean;
|
|
20
|
+
/** `Gtk.ScaleButton:icons` — the icon names the value picks from. */
|
|
21
|
+
get icons(): string[];
|
|
22
|
+
set icons(value: string[]);
|
|
23
|
+
/** `Gtk.ScaleButton:has-frame` — false by default, which is a flat button here. */
|
|
24
|
+
get hasFrame(): boolean;
|
|
25
|
+
set hasFrame(value: boolean);
|
|
26
|
+
/** `GtkOrientable:orientation` — vertical by default, the GTK shape of the button. */
|
|
27
|
+
get orientation(): 'horizontal' | 'vertical';
|
|
28
|
+
set orientation(value: 'horizontal' | 'vertical');
|
|
29
|
+
connectedCallback(): void;
|
|
30
|
+
attributeChangedCallback(name?: string): void;
|
|
31
|
+
/** `cb_scale_value_changed` (:1092-1114) — the icon, the steppers, then the signals. */
|
|
32
|
+
private _applyValue;
|
|
33
|
+
/** The range, from GTK's default with whatever `adjustment` authored over it. */
|
|
34
|
+
private _syncAdjustment;
|
|
35
|
+
private _render;
|
|
36
|
+
private _stepButton;
|
|
37
|
+
private _toggleDock;
|
|
38
|
+
/** `gtk_scale_popup` (:940-948) — press the button in, which pops the dock up. */
|
|
39
|
+
private _dock;
|
|
40
|
+
/** The dock closing on its own — an outside click or Escape. */
|
|
41
|
+
private _renderDock;
|
|
42
|
+
/** `button_click` (:1000-1013): one PAGE increment, and the end of the range stops it. */
|
|
43
|
+
private _step;
|
|
44
|
+
/** Space / Return / Enter pop up, Escape pops down — the bindings `class_init` adds. */
|
|
45
|
+
private _onKeyDown;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* `gtk_scale_button_update_icon` (:1040-1098) — which of the icon names the value picks.
|
|
49
|
+
* Transcribed including the arithmetic, because "spread evenly" is only true of the
|
|
50
|
+
* interior: `lower` and `upper` always take the first two names.
|
|
51
|
+
*/
|
|
52
|
+
export declare function selectIcon(icons: string[], value: number, lower: number, upper: number): string;
|
|
53
|
+
/**
|
|
54
|
+
* The `icons` attribute, as the portable array a list-model property takes elsewhere
|
|
55
|
+
* (ADR 0046). Total in every failure mode, because malformed JSON is an author slip that
|
|
56
|
+
* must not stop the element upgrading — and an empty list has an answer of its own,
|
|
57
|
+
* `image-missing` (:1046-1050).
|
|
58
|
+
*/
|
|
59
|
+
export declare function parseIcons(raw: string | null | undefined): string[];
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import type { AdwAdjustment, AdwAdjustmentInput, BoxOrientation } from '@gjsify/adwaita-core';
|
|
2
|
+
/** `Gtk.PositionType` nicks, as `GtkScale:value-pos` spells them. */
|
|
3
|
+
declare const VALUE_POSITIONS: readonly ["left", "right", "top", "bottom"];
|
|
4
|
+
/** `GtkScale:value-pos` in the order libadwaita lays the value out: default `top`. */
|
|
5
|
+
type ValuePosition = (typeof VALUE_POSITIONS)[number];
|
|
6
|
+
/**
|
|
7
|
+
* `gtk_scale_format_value`'s default arm plus `weed_out_neg_zero` (gtkscale.c:1230-1245).
|
|
8
|
+
*
|
|
9
|
+
* Exported for the widget's own spec; `<gtk-spin-button>` carries the SAME `g_strdup_printf
|
|
10
|
+
* ("%0.*f")` in its own C (`gtk_spin_button_format_for_value`, gtkspinbutton.c:1319-1326) with
|
|
11
|
+
* a different `digits` default, and reuses this rather than growing a second copy of it.
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatScaleValue(value: number, digits: number): string;
|
|
14
|
+
export declare class GtkScale extends HTMLElement {
|
|
15
|
+
/** The headless `Gtk.Adjustment`: the range, the clamp and the two signals (ADR 0004, ADR 0047). */
|
|
16
|
+
private readonly _range;
|
|
17
|
+
private _trough;
|
|
18
|
+
private _highlight;
|
|
19
|
+
private _fill;
|
|
20
|
+
private _slider;
|
|
21
|
+
private _value;
|
|
22
|
+
private _initialized;
|
|
23
|
+
private _pointerId;
|
|
24
|
+
static get observedAttributes(): string[];
|
|
25
|
+
/** `GtkOrientable:orientation` — `horizontal` (the default) or `vertical`. */
|
|
26
|
+
get orientation(): BoxOrientation;
|
|
27
|
+
set orientation(value: BoxOrientation);
|
|
28
|
+
/** The numeric range — `Gtk.Range:adjustment`, as the portable value. Writes MERGE. */
|
|
29
|
+
get adjustment(): AdwAdjustment;
|
|
30
|
+
set adjustment(value: AdwAdjustmentInput | string);
|
|
31
|
+
/** `Gtk.Range:value` — always inside `adjustmentRange`. */
|
|
32
|
+
get value(): number;
|
|
33
|
+
set value(v: number);
|
|
34
|
+
/** `Gtk.Range:inverted`. */
|
|
35
|
+
get inverted(): boolean;
|
|
36
|
+
set inverted(value: boolean);
|
|
37
|
+
/** `GtkScale:draw-value` — whether the value is shown beside the slider. */
|
|
38
|
+
get drawValue(): boolean;
|
|
39
|
+
set drawValue(value: boolean);
|
|
40
|
+
/** `GtkScale:value-pos` — `left`, `right`, `top` (the default) or `bottom`. */
|
|
41
|
+
get valuePos(): ValuePosition;
|
|
42
|
+
set valuePos(value: ValuePosition);
|
|
43
|
+
/** `GtkScale:has-origin` — the default, so the highlight exists unless it is cleared. */
|
|
44
|
+
get hasOrigin(): boolean;
|
|
45
|
+
set hasOrigin(value: boolean);
|
|
46
|
+
/** `GtkScale:digits` — decimal places in the value text. */
|
|
47
|
+
get digits(): number;
|
|
48
|
+
set digits(value: number);
|
|
49
|
+
/** `Gtk.Range:fill-level` — the buffer level a media player would draw. */
|
|
50
|
+
get fillLevel(): number;
|
|
51
|
+
set fillLevel(value: number);
|
|
52
|
+
/** `Gtk.Range:show-fill-level` — no property by default, as `gtk_range_init` leaves it. */
|
|
53
|
+
get showFillLevel(): boolean;
|
|
54
|
+
set showFillLevel(value: boolean);
|
|
55
|
+
/** `Gtk.Range:restrict-to-fill-level`. */
|
|
56
|
+
get restrictToFillLevel(): boolean;
|
|
57
|
+
set restrictToFillLevel(value: boolean);
|
|
58
|
+
/** The knob, for a consumer that needs to measure it (`coord_to_value` needs its length). */
|
|
59
|
+
get slider(): HTMLElement;
|
|
60
|
+
connectedCallback(): void;
|
|
61
|
+
attributeChangedCallback(name: string): void;
|
|
62
|
+
/**
|
|
63
|
+
* `gtk_range_real_change_value`'s write, with the range's own clamp inside `SpinState`.
|
|
64
|
+
*
|
|
65
|
+
* `restrict-to-fill-level` and `round-digits` are `GtkRange`'s own two lines before the
|
|
66
|
+
* CLAMP (gtkrange.c:2873-2891), so they belong here rather than in the element's setter.
|
|
67
|
+
* `interactive` is what separates a drag from a programmatic write in `SpinState`.
|
|
68
|
+
*/
|
|
69
|
+
private _setValue;
|
|
70
|
+
/**
|
|
71
|
+
* `coord_to_value` (gtkrange.c:1838-1878), which is `GtkScale`'s whole pointer mapping.
|
|
72
|
+
*
|
|
73
|
+
* A SCALE sets `slider_size_fixed`, so the fraction is `coord / trough_length` and the
|
|
74
|
+
* slider's own length does not shorten the track — the knob's CENTRE is the value. An
|
|
75
|
+
* equal-length degenerate trough answers 1.0, as C does.
|
|
76
|
+
*/
|
|
77
|
+
private _valueAtCoord;
|
|
78
|
+
/**
|
|
79
|
+
* `should_invert` (gtkrange.c:1806-1818) for a scale, which is always `flippable`
|
|
80
|
+
* (`gtk_scale_init`, gtkscale.c:838).
|
|
81
|
+
*
|
|
82
|
+
* A horizontal scale in a RIGHT-TO-LEFT document is the case the `flippable` flag
|
|
83
|
+
* exists for: `inverted` false already reads backwards there, so the two cancel and
|
|
84
|
+
* the fraction is used as it comes.
|
|
85
|
+
*/
|
|
86
|
+
private _shouldInvert;
|
|
87
|
+
private _onPointerDown;
|
|
88
|
+
private _onPointerMove;
|
|
89
|
+
private _onPointerUp;
|
|
90
|
+
/**
|
|
91
|
+
* The keys `GtkScale` binds (gtkscale.c:745-800), and none of them is orientation-bound:
|
|
92
|
+
* the C says so in its own comment, because a blind user should not have to know which
|
|
93
|
+
* way the slider runs.
|
|
94
|
+
*/
|
|
95
|
+
private _onKeyDown;
|
|
96
|
+
private _render;
|
|
97
|
+
}
|
|
98
|
+
export {};
|