@gjsify/adwaita-core 0.35.0 → 0.37.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/lib/esm/conformance/index.js +1 -1
- package/lib/esm/conformance/shortcut-label.js +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/shortcut-label.js +1 -0
- package/lib/types/about-dialog.d.ts +92 -98
- package/lib/types/action-row.d.ts +95 -125
- package/lib/types/avatar.d.ts +30 -37
- package/lib/types/banner.d.ts +25 -53
- package/lib/types/breakpoint.d.ts +6 -7
- package/lib/types/button-content.d.ts +41 -80
- package/lib/types/carousel.d.ts +175 -252
- package/lib/types/checks.d.ts +13 -30
- package/lib/types/chrome.d.ts +90 -136
- package/lib/types/color-scheme.d.ts +5 -6
- package/lib/types/conformance/about-dialog.d.ts +64 -91
- package/lib/types/conformance/action-row.d.ts +26 -46
- package/lib/types/conformance/avatar.d.ts +8 -10
- package/lib/types/conformance/banner.d.ts +17 -37
- package/lib/types/conformance/button-content.d.ts +24 -46
- package/lib/types/conformance/carousel.d.ts +35 -75
- package/lib/types/conformance/checks.d.ts +0 -4
- package/lib/types/conformance/chrome.d.ts +28 -36
- package/lib/types/conformance/data-grid.d.ts +28 -47
- package/lib/types/conformance/dialog.d.ts +4 -9
- package/lib/types/conformance/entry-row.d.ts +20 -39
- package/lib/types/conformance/index.d.ts +2 -0
- package/lib/types/conformance/navigation-view.d.ts +0 -4
- package/lib/types/conformance/popover.d.ts +4 -9
- package/lib/types/conformance/preferences.d.ts +15 -28
- package/lib/types/conformance/rows.d.ts +5 -12
- package/lib/types/conformance/shortcut-label.d.ts +34 -0
- package/lib/types/conformance/sidebar.d.ts +28 -49
- package/lib/types/conformance/spinner.d.ts +21 -27
- package/lib/types/conformance/split-button.d.ts +21 -43
- package/lib/types/conformance/split-view.d.ts +29 -36
- package/lib/types/conformance/tab-view.d.ts +32 -73
- package/lib/types/conformance/view-stack.d.ts +0 -12
- package/lib/types/conformance/view-switcher.d.ts +46 -114
- package/lib/types/conformance/wrap-box.d.ts +40 -63
- package/lib/types/data-grid.d.ts +38 -48
- package/lib/types/dialog.d.ts +39 -51
- package/lib/types/easing.d.ts +6 -12
- package/lib/types/entry-row.d.ts +94 -123
- package/lib/types/glib.d.ts +17 -25
- package/lib/types/index.d.ts +2 -0
- package/lib/types/length-unit.d.ts +7 -12
- package/lib/types/navigation-view.d.ts +62 -68
- package/lib/types/popover.d.ts +39 -66
- package/lib/types/preferences.d.ts +83 -100
- package/lib/types/rows.d.ts +45 -63
- package/lib/types/shortcut-label.d.ts +79 -0
- package/lib/types/shortcut-label.spec.d.ts +2 -0
- package/lib/types/sidebar.d.ts +95 -121
- package/lib/types/spinner.d.ts +39 -61
- package/lib/types/split-button.d.ts +78 -134
- package/lib/types/split-view.d.ts +74 -89
- package/lib/types/tab-view.d.ts +174 -256
- package/lib/types/view-stack.d.ts +87 -129
- package/lib/types/view-switcher.d.ts +126 -211
- package/lib/types/wrap-box.d.ts +62 -123
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ABOUT_DIALOG_CREDITS_LEGAL_VECTORS as e,ABOUT_DIALOG_DETAILS_VECTORS as t,ABOUT_DIALOG_HEADER_VECTORS as n,ABOUT_DIALOG_LABEL_VECTORS as r,ABOUT_DIALOG_SUPPORT_VECTORS as i,CREDITS_SECTIONS_VECTORS as a,CREDIT_PERSON_VECTORS as o,LEGAL_SECTION_VECTORS as s,LICENSE_INFO_VECTORS as c,LICENSE_SETTER_VECTORS as l,LICENSE_SPDX_VECTORS as u,LICENSE_TEXT_VECTORS as d,TRANSLATOR_CREDITS_VECTORS as f}from"./about-dialog.js";import{ACTION_ROW_ACTIVATION_VECTORS as p,BUTTON_ROW_ACTIVATABLE_VECTORS as m,BUTTON_ROW_ICON_VECTORS as h,LABEL_VISIBILITY_VECTORS as g,SWITCH_ROW_NOTIFY_VECTORS as _,WINDOW_TITLE_VECTORS as v}from"./action-row.js";import{AVATAR_COLOR_VECTORS as y,AVATAR_FONT_SIZE_VECTORS as b,AVATAR_INITIALS_VECTORS as x,AVATAR_MODE_VECTORS as S}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as C,BANNER_BUTTON_STYLE_VECTORS as w,BANNER_BUTTON_TEXT_VECTORS as T,BANNER_BUTTON_VISIBLE_VECTORS as E,BANNER_DEFAULT_VECTORS as D}from"./banner.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as O,BUTTON_CONTENT_ELLIPSIZE_VECTORS as k,BUTTON_CONTENT_ICON_VECTORS as A,BUTTON_CONTENT_LABEL_VECTORS as j,BUTTON_CONTENT_STYLE_TARGET_VECTORS as M,BUTTON_CONTENT_TEXT_VECTORS as N}from"./button-content.js";import{CAROUSEL_CLAMP_VECTORS as P,CAROUSEL_NAVIGATE_VECTORS as F,CAROUSEL_PAGE_AT_POSITION_VECTORS as I,CAROUSEL_PAGE_LIST_VECTORS as L,CAROUSEL_PROPERTY_DEFAULT_VECTORS as R,CAROUSEL_RANGE_VECTORS as z,CAROUSEL_REORDER_SHIFT_VECTORS as B,CAROUSEL_REVEAL_VECTORS as V,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as H,CAROUSEL_SNAP_POINT_VECTORS as U,CAROUSEL_WHEEL_LOCKOUT_VECTORS as W,CAROUSEL_WHEEL_VECTORS as G}from"./carousel.js";import{RADIO_GROUP_VECTORS as K}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as q,CLAMP_CHILD_SIZE_VECTORS as J,CLAMP_PROPERTY_VECTORS as Y,CLAMP_SIZE_FROM_CHILD_VECTORS as X,CLAMP_THRESHOLD_VECTORS as Z,SPINNER_GEOMETRY_VECTORS as Q,SPINNER_SIZE_VECTORS as $,TOOLBAR_VIEW_ALLOCATE_VECTORS as ee,TOOLBAR_VIEW_CLASS_VECTORS as te,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as ne,TOOLBAR_VIEW_MEASURE_VECTORS as re}from"./chrome.js";import{DATA_GRID_CELL_TEXT_VECTORS as ie,DATA_GRID_COLUMN_CLASS_VECTORS as ae,DATA_GRID_COLUMN_NORMALIZE_VECTORS as oe,DATA_GRID_INTERACTIVE_VECTORS as se,DATA_GRID_TRACK_VECTORS as ce,DATA_GRID_VARIANT_VECTORS as le}from"./data-grid.js";import{BOTTOM_SHEET_CLOSE_VECTORS as ue,BOTTOM_SHEET_PRESENTATION_VECTORS as de,runBottomSheetSteps as fe}from"./dialog.js";import{ENTRY_MAX_LENGTH_VECTORS as pe,ENTRY_ROW_ACTIVATION_VECTORS as me,ENTRY_ROW_GUARD_VECTORS as he,ENTRY_ROW_STATE_VECTORS as ge,ENTRY_TEXT_LENGTH_VECTORS as _e,PASSWORD_ENTRY_ROW_VECTORS as ve,PASSWORD_REVEAL_GUARD_VECTORS as ye}from"./entry-row.js";import{COMBO_CHOOSER_VECTORS as be,COMBO_SELECTION_VECTORS as xe}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as Se,VIEW_STACK_PAGE_VECTORS as Ce,VIEW_STACK_VECTORS as we}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as Te,collectNavigationState as Ee,navigationEventLog as De,runNavigationSteps as Oe}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as ke,SIDEBAR_CLAMP_VECTORS as Ae,SIDEBAR_FILTER_VECTORS as je,SIDEBAR_ITEMS_CHANGED_VECTORS as Me,SIDEBAR_ITEM_FLAG_VECTORS as Ne,SIDEBAR_MODEL_VECTORS as Pe,SIDEBAR_MODE_VECTORS as Fe}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as Ie,GLIB_CLAMP_VECTORS as Le,NATURAL_SIDEBAR_WIDTH_VECTORS as Re,NAVIGATION_ACTION_VECTORS as ze,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as Be,NAVIGATION_STACK_VECTORS as Ve,OVERLAY_COLLAPSE_VECTORS as He,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as Ue,OVERLAY_SWIPE_AREA_VECTORS as We,OVERLAY_SWIPE_CANCEL_VECTORS as Ge,OVERLAY_SWIPE_RELEASE_VECTORS as Ke,OVERLAY_SWIPE_SNAP_POINT_VECTORS as qe,OVERLAY_SWIPE_START_VECTORS as Je,SIDEBAR_BOUNDS_VECTORS as Ye,SIDEBAR_WIDTH_VECTORS as Xe,SPLIT_VIEW_MEASURE_VECTORS as Ze,TAGS_CONFLICT_VECTORS as Qe}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as $e,SPLIT_BUTTON_CONTENT_VECTORS as et,SPLIT_BUTTON_DIRECTION_VECTORS as tt,SPLIT_BUTTON_DROPDOWN_VECTORS as nt,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as rt,SPLIT_BUTTON_MENU_PARSE_VECTORS as it,SPLIT_BUTTON_ROOT_STATE_VECTORS as at,SPLIT_BUTTON_STYLE_CLASS_VECTORS as ot,SPLIT_BUTTON_TOOLTIP_VECTORS as st}from"./split-button.js";import{INLINE_TOGGLE_VECTORS as ct,INLINE_TOOLTIP_VECTORS as lt,VIEW_SWITCHER_BADGE_VECTORS as ut,VIEW_SWITCHER_BAR_REVEAL_VECTORS as dt,VIEW_SWITCHER_BAR_VECTORS as ft,VIEW_SWITCHER_BUTTON_VECTORS as pt,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as mt,VIEW_SWITCHER_DRAG_VECTORS as ht,VIEW_SWITCHER_ICON_VECTORS as gt,VIEW_SWITCHER_MNEMONIC_VECTORS as _t,VIEW_SWITCHER_REBUILD_VECTORS as vt,VIEW_SWITCHER_SELECTION_VECTORS as yt,createViewSwitcherClock as bt}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as xt,TAB_CLOSE_VISIBLE_VECTORS as St,TAB_DESCENDANT_VECTORS as Ct,TAB_ICON_STATE_VECTORS as wt,TAB_PAGE_DESCRIPTOR_VECTORS as Tt,TAB_SUCCESSOR_VECTORS as Et,TAB_TOOLTIP_VECTORS as Dt,TAB_VIEW_VECTORS as Ot,applyTabViewOp as kt,seedTabViewPages as At,tabViewClosing as jt,tabViewOrder as Mt}from"./tab-view.js";import{CASE_FOLD_VECTORS as Nt,MAKE_COMPARABLE_VECTORS as Pt,PREFERENCES_GROUP_HEADER_VECTORS as Ft,PREFERENCES_SEARCH_PAGES as It,PREFERENCES_SEARCH_VECTORS as Lt,ROW_MATCH_VECTORS as Rt,SEARCH_CORPUS_VECTORS as zt,SEARCH_ROW_SUBTITLE_VECTORS as Bt,STRIP_MARKUP_VECTORS as Vt,STRIP_MNEMONIC_VECTORS as Ht}from"./preferences.js";import{POPOVER_KEY_VECTORS as Ut,POPOVER_SURFACE_VECTORS as Wt}from"./popover.js";import{SPINNER_ARC_ENVELOPE as Gt,SPINNER_ARC_PHASE_VECTORS as Kt,SPINNER_ARC_TOLERANCE as qt,SPINNER_CONSTANT_VECTORS as Jt}from"./spinner.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as Yt,WRAP_BOX_LENGTH_VECTORS as Xt,WRAP_BOX_LINE_VECTORS as Zt,WRAP_BOX_NATURAL_LENGTH_VECTORS as Qt,WRAP_BOX_NOTIFY_PROPERTIES as $t,WRAP_BOX_POLICY_VECTORS as en,WRAP_BOX_SPACING_NOTIFY_VECTORS as tn,WRAP_BOX_SPACING_VECTORS as nn}from"./wrap-box.js";export{e as ABOUT_DIALOG_CREDITS_LEGAL_VECTORS,t as ABOUT_DIALOG_DETAILS_VECTORS,n as ABOUT_DIALOG_HEADER_VECTORS,r as ABOUT_DIALOG_LABEL_VECTORS,i as ABOUT_DIALOG_SUPPORT_VECTORS,p as ACTION_ROW_ACTIVATION_VECTORS,Ie as ADW_LENGTH_UNIT_VECTORS,y as AVATAR_COLOR_VECTORS,b as AVATAR_FONT_SIZE_VECTORS,x as AVATAR_INITIALS_VECTORS,S as AVATAR_MODE_VECTORS,C as BANNER_BUTTON_STYLE_PARSE_VECTORS,w as BANNER_BUTTON_STYLE_VECTORS,T as BANNER_BUTTON_TEXT_VECTORS,E as BANNER_BUTTON_VISIBLE_VECTORS,D as BANNER_DEFAULT_VECTORS,ue as BOTTOM_SHEET_CLOSE_VECTORS,de as BOTTOM_SHEET_PRESENTATION_VECTORS,O as BUTTON_CONTENT_DEFAULT_VECTORS,k as BUTTON_CONTENT_ELLIPSIZE_VECTORS,A as BUTTON_CONTENT_ICON_VECTORS,j as BUTTON_CONTENT_LABEL_VECTORS,M as BUTTON_CONTENT_STYLE_TARGET_VECTORS,N as BUTTON_CONTENT_TEXT_VECTORS,m as BUTTON_ROW_ACTIVATABLE_VECTORS,h as BUTTON_ROW_ICON_VECTORS,P as CAROUSEL_CLAMP_VECTORS,F as CAROUSEL_NAVIGATE_VECTORS,I as CAROUSEL_PAGE_AT_POSITION_VECTORS,L as CAROUSEL_PAGE_LIST_VECTORS,R as CAROUSEL_PROPERTY_DEFAULT_VECTORS,z as CAROUSEL_RANGE_VECTORS,B as CAROUSEL_REORDER_SHIFT_VECTORS,V as CAROUSEL_REVEAL_VECTORS,H as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,U as CAROUSEL_SNAP_POINT_VECTORS,W as CAROUSEL_WHEEL_LOCKOUT_VECTORS,G as CAROUSEL_WHEEL_VECTORS,Nt as CASE_FOLD_VECTORS,q as CLAMP_ALLOCATE_VECTORS,J as CLAMP_CHILD_SIZE_VECTORS,Y as CLAMP_PROPERTY_VECTORS,X as CLAMP_SIZE_FROM_CHILD_VECTORS,Z as CLAMP_THRESHOLD_VECTORS,be as COMBO_CHOOSER_VECTORS,xe as COMBO_SELECTION_VECTORS,a as CREDITS_SECTIONS_VECTORS,o as CREDIT_PERSON_VECTORS,ie as DATA_GRID_CELL_TEXT_VECTORS,ae as DATA_GRID_COLUMN_CLASS_VECTORS,oe as DATA_GRID_COLUMN_NORMALIZE_VECTORS,se as DATA_GRID_INTERACTIVE_VECTORS,ce as DATA_GRID_TRACK_VECTORS,le as DATA_GRID_VARIANT_VECTORS,pe as ENTRY_MAX_LENGTH_VECTORS,me as ENTRY_ROW_ACTIVATION_VECTORS,he as ENTRY_ROW_GUARD_VECTORS,ge as ENTRY_ROW_STATE_VECTORS,_e as ENTRY_TEXT_LENGTH_VECTORS,Le as GLIB_CLAMP_VECTORS,ct as INLINE_TOGGLE_VECTORS,lt as INLINE_TOOLTIP_VECTORS,g as LABEL_VISIBILITY_VECTORS,s as LEGAL_SECTION_VECTORS,c as LICENSE_INFO_VECTORS,l as LICENSE_SETTER_VECTORS,u as LICENSE_SPDX_VECTORS,d as LICENSE_TEXT_VECTORS,Pt as MAKE_COMPARABLE_VECTORS,$e as MENU_BUTTON_DIRECTION_VECTORS,Re as NATURAL_SIDEBAR_WIDTH_VECTORS,ze as NAVIGATION_ACTION_VECTORS,Be as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,Ve as NAVIGATION_STACK_VECTORS,Te as NAVIGATION_VIEW_VECTORS,He as OVERLAY_COLLAPSE_VECTORS,Ue as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,We as OVERLAY_SWIPE_AREA_VECTORS,Ge as OVERLAY_SWIPE_CANCEL_VECTORS,Ke as OVERLAY_SWIPE_RELEASE_VECTORS,qe as OVERLAY_SWIPE_SNAP_POINT_VECTORS,Je as OVERLAY_SWIPE_START_VECTORS,ve as PASSWORD_ENTRY_ROW_VECTORS,ye as PASSWORD_REVEAL_GUARD_VECTORS,Ut as POPOVER_KEY_VECTORS,Wt as POPOVER_SURFACE_VECTORS,Ft as PREFERENCES_GROUP_HEADER_VECTORS,It as PREFERENCES_SEARCH_PAGES,Lt as PREFERENCES_SEARCH_VECTORS,K as RADIO_GROUP_VECTORS,Rt as ROW_MATCH_VECTORS,zt as SEARCH_CORPUS_VECTORS,Bt as SEARCH_ROW_SUBTITLE_VECTORS,ke as SIDEBAR_ACTIVATION_VECTORS,Ye as SIDEBAR_BOUNDS_VECTORS,Ae as SIDEBAR_CLAMP_VECTORS,je as SIDEBAR_FILTER_VECTORS,Me as SIDEBAR_ITEMS_CHANGED_VECTORS,Ne as SIDEBAR_ITEM_FLAG_VECTORS,Pe as SIDEBAR_MODEL_VECTORS,Fe as SIDEBAR_MODE_VECTORS,Xe as SIDEBAR_WIDTH_VECTORS,Gt as SPINNER_ARC_ENVELOPE,Kt as SPINNER_ARC_PHASE_VECTORS,qt as SPINNER_ARC_TOLERANCE,Jt as SPINNER_CONSTANT_VECTORS,Q as SPINNER_GEOMETRY_VECTORS,$ as SPINNER_SIZE_VECTORS,et as SPLIT_BUTTON_CONTENT_VECTORS,tt as SPLIT_BUTTON_DIRECTION_VECTORS,nt as SPLIT_BUTTON_DROPDOWN_VECTORS,rt as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,it as SPLIT_BUTTON_MENU_PARSE_VECTORS,at as SPLIT_BUTTON_ROOT_STATE_VECTORS,ot as SPLIT_BUTTON_STYLE_CLASS_VECTORS,st as SPLIT_BUTTON_TOOLTIP_VECTORS,Ze as SPLIT_VIEW_MEASURE_VECTORS,Vt as STRIP_MARKUP_VECTORS,Ht as STRIP_MNEMONIC_VECTORS,_ as SWITCH_ROW_NOTIFY_VECTORS,xt as TABS_REVEALED_VECTORS,St as TAB_CLOSE_VISIBLE_VECTORS,Ct as TAB_DESCENDANT_VECTORS,wt as TAB_ICON_STATE_VECTORS,Tt as TAB_PAGE_DESCRIPTOR_VECTORS,Et as TAB_SUCCESSOR_VECTORS,Dt as TAB_TOOLTIP_VECTORS,Ot as TAB_VIEW_VECTORS,Qe as TAGS_CONFLICT_VECTORS,ee as TOOLBAR_VIEW_ALLOCATE_VECTORS,te as TOOLBAR_VIEW_CLASS_VECTORS,ne as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,re as TOOLBAR_VIEW_MEASURE_VECTORS,f as TRANSLATOR_CREDITS_VECTORS,Se as VIEW_STACK_ICON_NAME_VECTORS,Ce as VIEW_STACK_PAGE_VECTORS,we as VIEW_STACK_VECTORS,ut as VIEW_SWITCHER_BADGE_VECTORS,dt as VIEW_SWITCHER_BAR_REVEAL_VECTORS,ft as VIEW_SWITCHER_BAR_VECTORS,pt as VIEW_SWITCHER_BUTTON_VECTORS,mt as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,ht as VIEW_SWITCHER_DRAG_VECTORS,gt as VIEW_SWITCHER_ICON_VECTORS,_t as VIEW_SWITCHER_MNEMONIC_VECTORS,vt as VIEW_SWITCHER_REBUILD_VECTORS,yt as VIEW_SWITCHER_SELECTION_VECTORS,v as WINDOW_TITLE_VECTORS,Yt as WRAP_BOX_CHILD_ORDER_VECTORS,Xt as WRAP_BOX_LENGTH_VECTORS,Zt as WRAP_BOX_LINE_VECTORS,Qt as WRAP_BOX_NATURAL_LENGTH_VECTORS,$t as WRAP_BOX_NOTIFY_PROPERTIES,en as WRAP_BOX_POLICY_VECTORS,tn as WRAP_BOX_SPACING_NOTIFY_VECTORS,nn as WRAP_BOX_SPACING_VECTORS,kt as applyTabViewOp,Ee as collectNavigationState,bt as createViewSwitcherClock,De as navigationEventLog,fe as runBottomSheetSteps,Oe as runNavigationSteps,At as seedTabViewPages,jt as tabViewClosing,Mt as tabViewOrder};
|
|
1
|
+
import{ABOUT_DIALOG_CREDITS_LEGAL_VECTORS as e,ABOUT_DIALOG_DETAILS_VECTORS as t,ABOUT_DIALOG_HEADER_VECTORS as n,ABOUT_DIALOG_LABEL_VECTORS as r,ABOUT_DIALOG_SUPPORT_VECTORS as i,CREDITS_SECTIONS_VECTORS as a,CREDIT_PERSON_VECTORS as o,LEGAL_SECTION_VECTORS as s,LICENSE_INFO_VECTORS as c,LICENSE_SETTER_VECTORS as l,LICENSE_SPDX_VECTORS as u,LICENSE_TEXT_VECTORS as d,TRANSLATOR_CREDITS_VECTORS as f}from"./about-dialog.js";import{ACTION_ROW_ACTIVATION_VECTORS as p,BUTTON_ROW_ACTIVATABLE_VECTORS as m,BUTTON_ROW_ICON_VECTORS as h,LABEL_VISIBILITY_VECTORS as g,SWITCH_ROW_NOTIFY_VECTORS as _,WINDOW_TITLE_VECTORS as v}from"./action-row.js";import{AVATAR_COLOR_VECTORS as y,AVATAR_FONT_SIZE_VECTORS as b,AVATAR_INITIALS_VECTORS as x,AVATAR_MODE_VECTORS as S}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as C,BANNER_BUTTON_STYLE_VECTORS as w,BANNER_BUTTON_TEXT_VECTORS as T,BANNER_BUTTON_VISIBLE_VECTORS as E,BANNER_DEFAULT_VECTORS as D}from"./banner.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as O,BUTTON_CONTENT_ELLIPSIZE_VECTORS as k,BUTTON_CONTENT_ICON_VECTORS as A,BUTTON_CONTENT_LABEL_VECTORS as j,BUTTON_CONTENT_STYLE_TARGET_VECTORS as M,BUTTON_CONTENT_TEXT_VECTORS as N}from"./button-content.js";import{CAROUSEL_CLAMP_VECTORS as P,CAROUSEL_NAVIGATE_VECTORS as F,CAROUSEL_PAGE_AT_POSITION_VECTORS as I,CAROUSEL_PAGE_LIST_VECTORS as L,CAROUSEL_PROPERTY_DEFAULT_VECTORS as R,CAROUSEL_RANGE_VECTORS as z,CAROUSEL_REORDER_SHIFT_VECTORS as B,CAROUSEL_REVEAL_VECTORS as V,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as H,CAROUSEL_SNAP_POINT_VECTORS as U,CAROUSEL_WHEEL_LOCKOUT_VECTORS as W,CAROUSEL_WHEEL_VECTORS as G}from"./carousel.js";import{RADIO_GROUP_VECTORS as K}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as q,CLAMP_CHILD_SIZE_VECTORS as J,CLAMP_PROPERTY_VECTORS as Y,CLAMP_SIZE_FROM_CHILD_VECTORS as X,CLAMP_THRESHOLD_VECTORS as Z,SPINNER_GEOMETRY_VECTORS as Q,SPINNER_SIZE_VECTORS as $,TOOLBAR_VIEW_ALLOCATE_VECTORS as ee,TOOLBAR_VIEW_CLASS_VECTORS as te,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as ne,TOOLBAR_VIEW_MEASURE_VECTORS as re}from"./chrome.js";import{DATA_GRID_CELL_TEXT_VECTORS as ie,DATA_GRID_COLUMN_CLASS_VECTORS as ae,DATA_GRID_COLUMN_NORMALIZE_VECTORS as oe,DATA_GRID_INTERACTIVE_VECTORS as se,DATA_GRID_TRACK_VECTORS as ce,DATA_GRID_VARIANT_VECTORS as le}from"./data-grid.js";import{BOTTOM_SHEET_CLOSE_VECTORS as ue,BOTTOM_SHEET_PRESENTATION_VECTORS as de,runBottomSheetSteps as fe}from"./dialog.js";import{ENTRY_MAX_LENGTH_VECTORS as pe,ENTRY_ROW_ACTIVATION_VECTORS as me,ENTRY_ROW_GUARD_VECTORS as he,ENTRY_ROW_STATE_VECTORS as ge,ENTRY_TEXT_LENGTH_VECTORS as _e,PASSWORD_ENTRY_ROW_VECTORS as ve,PASSWORD_REVEAL_GUARD_VECTORS as ye}from"./entry-row.js";import{COMBO_CHOOSER_VECTORS as be,COMBO_SELECTION_VECTORS as xe}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as Se,VIEW_STACK_PAGE_VECTORS as Ce,VIEW_STACK_VECTORS as we}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as Te,collectNavigationState as Ee,navigationEventLog as De,runNavigationSteps as Oe}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as ke,SIDEBAR_CLAMP_VECTORS as Ae,SIDEBAR_FILTER_VECTORS as je,SIDEBAR_ITEMS_CHANGED_VECTORS as Me,SIDEBAR_ITEM_FLAG_VECTORS as Ne,SIDEBAR_MODEL_VECTORS as Pe,SIDEBAR_MODE_VECTORS as Fe}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as Ie,GLIB_CLAMP_VECTORS as Le,NATURAL_SIDEBAR_WIDTH_VECTORS as Re,NAVIGATION_ACTION_VECTORS as ze,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as Be,NAVIGATION_STACK_VECTORS as Ve,OVERLAY_COLLAPSE_VECTORS as He,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as Ue,OVERLAY_SWIPE_AREA_VECTORS as We,OVERLAY_SWIPE_CANCEL_VECTORS as Ge,OVERLAY_SWIPE_RELEASE_VECTORS as Ke,OVERLAY_SWIPE_SNAP_POINT_VECTORS as qe,OVERLAY_SWIPE_START_VECTORS as Je,SIDEBAR_BOUNDS_VECTORS as Ye,SIDEBAR_WIDTH_VECTORS as Xe,SPLIT_VIEW_MEASURE_VECTORS as Ze,TAGS_CONFLICT_VECTORS as Qe}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as $e,SPLIT_BUTTON_CONTENT_VECTORS as et,SPLIT_BUTTON_DIRECTION_VECTORS as tt,SPLIT_BUTTON_DROPDOWN_VECTORS as nt,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as rt,SPLIT_BUTTON_MENU_PARSE_VECTORS as it,SPLIT_BUTTON_ROOT_STATE_VECTORS as at,SPLIT_BUTTON_STYLE_CLASS_VECTORS as ot,SPLIT_BUTTON_TOOLTIP_VECTORS as st}from"./split-button.js";import{INLINE_TOGGLE_VECTORS as ct,INLINE_TOOLTIP_VECTORS as lt,VIEW_SWITCHER_BADGE_VECTORS as ut,VIEW_SWITCHER_BAR_REVEAL_VECTORS as dt,VIEW_SWITCHER_BAR_VECTORS as ft,VIEW_SWITCHER_BUTTON_VECTORS as pt,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as mt,VIEW_SWITCHER_DRAG_VECTORS as ht,VIEW_SWITCHER_ICON_VECTORS as gt,VIEW_SWITCHER_MNEMONIC_VECTORS as _t,VIEW_SWITCHER_REBUILD_VECTORS as vt,VIEW_SWITCHER_SELECTION_VECTORS as yt,createViewSwitcherClock as bt}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as xt,TAB_CLOSE_VISIBLE_VECTORS as St,TAB_DESCENDANT_VECTORS as Ct,TAB_ICON_STATE_VECTORS as wt,TAB_PAGE_DESCRIPTOR_VECTORS as Tt,TAB_SUCCESSOR_VECTORS as Et,TAB_TOOLTIP_VECTORS as Dt,TAB_VIEW_VECTORS as Ot,applyTabViewOp as kt,seedTabViewPages as At,tabViewClosing as jt,tabViewOrder as Mt}from"./tab-view.js";import{CASE_FOLD_VECTORS as Nt,MAKE_COMPARABLE_VECTORS as Pt,PREFERENCES_GROUP_HEADER_VECTORS as Ft,PREFERENCES_SEARCH_PAGES as It,PREFERENCES_SEARCH_VECTORS as Lt,ROW_MATCH_VECTORS as Rt,SEARCH_CORPUS_VECTORS as zt,SEARCH_ROW_SUBTITLE_VECTORS as Bt,STRIP_MARKUP_VECTORS as Vt,STRIP_MNEMONIC_VECTORS as Ht}from"./preferences.js";import{POPOVER_KEY_VECTORS as Ut,POPOVER_SURFACE_VECTORS as Wt}from"./popover.js";import{SHORTCUT_LABEL_VECTORS as Gt,formatShortcutLabelNodes as Kt}from"./shortcut-label.js";import{SPINNER_ARC_ENVELOPE as qt,SPINNER_ARC_PHASE_VECTORS as Jt,SPINNER_ARC_TOLERANCE as Yt,SPINNER_CONSTANT_VECTORS as Xt}from"./spinner.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as Zt,WRAP_BOX_LENGTH_VECTORS as Qt,WRAP_BOX_LINE_VECTORS as $t,WRAP_BOX_NATURAL_LENGTH_VECTORS as en,WRAP_BOX_NOTIFY_PROPERTIES as tn,WRAP_BOX_POLICY_VECTORS as nn,WRAP_BOX_SPACING_NOTIFY_VECTORS as rn,WRAP_BOX_SPACING_VECTORS as an}from"./wrap-box.js";export{e as ABOUT_DIALOG_CREDITS_LEGAL_VECTORS,t as ABOUT_DIALOG_DETAILS_VECTORS,n as ABOUT_DIALOG_HEADER_VECTORS,r as ABOUT_DIALOG_LABEL_VECTORS,i as ABOUT_DIALOG_SUPPORT_VECTORS,p as ACTION_ROW_ACTIVATION_VECTORS,Ie as ADW_LENGTH_UNIT_VECTORS,y as AVATAR_COLOR_VECTORS,b as AVATAR_FONT_SIZE_VECTORS,x as AVATAR_INITIALS_VECTORS,S as AVATAR_MODE_VECTORS,C as BANNER_BUTTON_STYLE_PARSE_VECTORS,w as BANNER_BUTTON_STYLE_VECTORS,T as BANNER_BUTTON_TEXT_VECTORS,E as BANNER_BUTTON_VISIBLE_VECTORS,D as BANNER_DEFAULT_VECTORS,ue as BOTTOM_SHEET_CLOSE_VECTORS,de as BOTTOM_SHEET_PRESENTATION_VECTORS,O as BUTTON_CONTENT_DEFAULT_VECTORS,k as BUTTON_CONTENT_ELLIPSIZE_VECTORS,A as BUTTON_CONTENT_ICON_VECTORS,j as BUTTON_CONTENT_LABEL_VECTORS,M as BUTTON_CONTENT_STYLE_TARGET_VECTORS,N as BUTTON_CONTENT_TEXT_VECTORS,m as BUTTON_ROW_ACTIVATABLE_VECTORS,h as BUTTON_ROW_ICON_VECTORS,P as CAROUSEL_CLAMP_VECTORS,F as CAROUSEL_NAVIGATE_VECTORS,I as CAROUSEL_PAGE_AT_POSITION_VECTORS,L as CAROUSEL_PAGE_LIST_VECTORS,R as CAROUSEL_PROPERTY_DEFAULT_VECTORS,z as CAROUSEL_RANGE_VECTORS,B as CAROUSEL_REORDER_SHIFT_VECTORS,V as CAROUSEL_REVEAL_VECTORS,H as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,U as CAROUSEL_SNAP_POINT_VECTORS,W as CAROUSEL_WHEEL_LOCKOUT_VECTORS,G as CAROUSEL_WHEEL_VECTORS,Nt as CASE_FOLD_VECTORS,q as CLAMP_ALLOCATE_VECTORS,J as CLAMP_CHILD_SIZE_VECTORS,Y as CLAMP_PROPERTY_VECTORS,X as CLAMP_SIZE_FROM_CHILD_VECTORS,Z as CLAMP_THRESHOLD_VECTORS,be as COMBO_CHOOSER_VECTORS,xe as COMBO_SELECTION_VECTORS,a as CREDITS_SECTIONS_VECTORS,o as CREDIT_PERSON_VECTORS,ie as DATA_GRID_CELL_TEXT_VECTORS,ae as DATA_GRID_COLUMN_CLASS_VECTORS,oe as DATA_GRID_COLUMN_NORMALIZE_VECTORS,se as DATA_GRID_INTERACTIVE_VECTORS,ce as DATA_GRID_TRACK_VECTORS,le as DATA_GRID_VARIANT_VECTORS,pe as ENTRY_MAX_LENGTH_VECTORS,me as ENTRY_ROW_ACTIVATION_VECTORS,he as ENTRY_ROW_GUARD_VECTORS,ge as ENTRY_ROW_STATE_VECTORS,_e as ENTRY_TEXT_LENGTH_VECTORS,Le as GLIB_CLAMP_VECTORS,ct as INLINE_TOGGLE_VECTORS,lt as INLINE_TOOLTIP_VECTORS,g as LABEL_VISIBILITY_VECTORS,s as LEGAL_SECTION_VECTORS,c as LICENSE_INFO_VECTORS,l as LICENSE_SETTER_VECTORS,u as LICENSE_SPDX_VECTORS,d as LICENSE_TEXT_VECTORS,Pt as MAKE_COMPARABLE_VECTORS,$e as MENU_BUTTON_DIRECTION_VECTORS,Re as NATURAL_SIDEBAR_WIDTH_VECTORS,ze as NAVIGATION_ACTION_VECTORS,Be as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,Ve as NAVIGATION_STACK_VECTORS,Te as NAVIGATION_VIEW_VECTORS,He as OVERLAY_COLLAPSE_VECTORS,Ue as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,We as OVERLAY_SWIPE_AREA_VECTORS,Ge as OVERLAY_SWIPE_CANCEL_VECTORS,Ke as OVERLAY_SWIPE_RELEASE_VECTORS,qe as OVERLAY_SWIPE_SNAP_POINT_VECTORS,Je as OVERLAY_SWIPE_START_VECTORS,ve as PASSWORD_ENTRY_ROW_VECTORS,ye as PASSWORD_REVEAL_GUARD_VECTORS,Ut as POPOVER_KEY_VECTORS,Wt as POPOVER_SURFACE_VECTORS,Ft as PREFERENCES_GROUP_HEADER_VECTORS,It as PREFERENCES_SEARCH_PAGES,Lt as PREFERENCES_SEARCH_VECTORS,K as RADIO_GROUP_VECTORS,Rt as ROW_MATCH_VECTORS,zt as SEARCH_CORPUS_VECTORS,Bt as SEARCH_ROW_SUBTITLE_VECTORS,Gt as SHORTCUT_LABEL_VECTORS,ke as SIDEBAR_ACTIVATION_VECTORS,Ye as SIDEBAR_BOUNDS_VECTORS,Ae as SIDEBAR_CLAMP_VECTORS,je as SIDEBAR_FILTER_VECTORS,Me as SIDEBAR_ITEMS_CHANGED_VECTORS,Ne as SIDEBAR_ITEM_FLAG_VECTORS,Pe as SIDEBAR_MODEL_VECTORS,Fe as SIDEBAR_MODE_VECTORS,Xe as SIDEBAR_WIDTH_VECTORS,qt as SPINNER_ARC_ENVELOPE,Jt as SPINNER_ARC_PHASE_VECTORS,Yt as SPINNER_ARC_TOLERANCE,Xt as SPINNER_CONSTANT_VECTORS,Q as SPINNER_GEOMETRY_VECTORS,$ as SPINNER_SIZE_VECTORS,et as SPLIT_BUTTON_CONTENT_VECTORS,tt as SPLIT_BUTTON_DIRECTION_VECTORS,nt as SPLIT_BUTTON_DROPDOWN_VECTORS,rt as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,it as SPLIT_BUTTON_MENU_PARSE_VECTORS,at as SPLIT_BUTTON_ROOT_STATE_VECTORS,ot as SPLIT_BUTTON_STYLE_CLASS_VECTORS,st as SPLIT_BUTTON_TOOLTIP_VECTORS,Ze as SPLIT_VIEW_MEASURE_VECTORS,Vt as STRIP_MARKUP_VECTORS,Ht as STRIP_MNEMONIC_VECTORS,_ as SWITCH_ROW_NOTIFY_VECTORS,xt as TABS_REVEALED_VECTORS,St as TAB_CLOSE_VISIBLE_VECTORS,Ct as TAB_DESCENDANT_VECTORS,wt as TAB_ICON_STATE_VECTORS,Tt as TAB_PAGE_DESCRIPTOR_VECTORS,Et as TAB_SUCCESSOR_VECTORS,Dt as TAB_TOOLTIP_VECTORS,Ot as TAB_VIEW_VECTORS,Qe as TAGS_CONFLICT_VECTORS,ee as TOOLBAR_VIEW_ALLOCATE_VECTORS,te as TOOLBAR_VIEW_CLASS_VECTORS,ne as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,re as TOOLBAR_VIEW_MEASURE_VECTORS,f as TRANSLATOR_CREDITS_VECTORS,Se as VIEW_STACK_ICON_NAME_VECTORS,Ce as VIEW_STACK_PAGE_VECTORS,we as VIEW_STACK_VECTORS,ut as VIEW_SWITCHER_BADGE_VECTORS,dt as VIEW_SWITCHER_BAR_REVEAL_VECTORS,ft as VIEW_SWITCHER_BAR_VECTORS,pt as VIEW_SWITCHER_BUTTON_VECTORS,mt as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,ht as VIEW_SWITCHER_DRAG_VECTORS,gt as VIEW_SWITCHER_ICON_VECTORS,_t as VIEW_SWITCHER_MNEMONIC_VECTORS,vt as VIEW_SWITCHER_REBUILD_VECTORS,yt as VIEW_SWITCHER_SELECTION_VECTORS,v as WINDOW_TITLE_VECTORS,Zt as WRAP_BOX_CHILD_ORDER_VECTORS,Qt as WRAP_BOX_LENGTH_VECTORS,$t as WRAP_BOX_LINE_VECTORS,en as WRAP_BOX_NATURAL_LENGTH_VECTORS,tn as WRAP_BOX_NOTIFY_PROPERTIES,nn as WRAP_BOX_POLICY_VECTORS,rn as WRAP_BOX_SPACING_NOTIFY_VECTORS,an as WRAP_BOX_SPACING_VECTORS,kt as applyTabViewOp,Ee as collectNavigationState,bt as createViewSwitcherClock,Kt as formatShortcutLabelNodes,De as navigationEventLog,fe as runBottomSheetSteps,Oe as runNavigationSteps,At as seedTabViewPages,jt as tabViewClosing,Mt as tabViewOrder};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"../_virtual/_rolldown/runtime.js";function formatShortcutLabelNodes(e){return e.map(e=>e.kind===`disabled`?`(disabled: ${e.text})`:e.kind===`separator`?e.text:e.keys.map(e=>`[${e.sideMarker?`${e.label} (${e.sideMarker})`:e.label}]`).join(``)).join(` `).trim()}const e=[{accelerator:`<Control>C`,expected:`[Ctrl][C]`,accessibleLabel:`Ctrl+C`,rule:`the documented single shortcut (:42) — one combination, one box of keycaps`},{accelerator:`<Shift><Control>a`,expected:`[Ctrl][Shift][A]`,accessibleLabel:`Ctrl+Shift+A`,rule:`THE ORDER VECTOR: keycaps follow GTK's fixed order (:215-237), not the written one`},{accelerator:`<Shift>A Home`,expected:`[Shift][A] / [Home]`,accessibleLabel:`Shift+A Home`,rule:"alternatives split on a space and are joined by a dimmed `/` (:522-529)"},{accelerator:`<Alt>1...9`,expected:`[Alt][1] ⋯ [9]`,accessibleLabel:`Alt+1…9`,rule:"a range splits on the FIRST `...` and draws `⋯`; the END of the range carries NO modifier, because `parse_range` parses the two halves independently (:463-484) — the widget draws `Alt 1 ⋯ 9`"},{accelerator:`<Control>C+<Control>X`,expected:`[Ctrl][C] → [Ctrl][X]`,accessibleLabel:`Ctrl+C→Ctrl+X`,rule:"a sequence splits on `+` and is joined by a dimmed arrow (:434-458)"},{accelerator:`<Control>C+<Control>X`,direction:`rtl`,expected:`[Ctrl][C] ← [Ctrl][X]`,accessibleLabel:`Ctrl+C←Ctrl+X`,rule:`the sequence arrow follows the text direction (:439, :447)`},{accelerator:`Control_L&Control_R`,expected:`[Ctrl (L)] [Ctrl (R)]`,accessibleLabel:`Ctrl LCtrl R`,rule:"`&` means pressed together: two BOXES and — alone among the four levels — no separator node between them (:408-427). A sided modifier key draws its side marker (:115-196)"},{accelerator:`<Alt>1...9 <Alt>0`,expected:`[Alt][1] ⋯ [9] / [Alt][0]`,accessibleLabel:`Alt+1…9 Alt+0`,rule:"THE NESTING VECTOR: spaces split before `...` does, so this is two alternatives (:522-531)"},{accelerator:`<Control>plus`,expected:`[Ctrl][+]`,accessibleLabel:`Ctrl++`,rule:`a keysym NAME whose character is printable draws the character (:249-281)`},{accelerator:`<Control>space`,expected:`[Ctrl][␣]`,accessibleLabel:`Ctrl+␣`,rule:"space is NOT printable to `g_unichar_isgraph`, so it takes the glyph branch (:250, :306-308)"},{accelerator:`<Control>backslash`,expected:`[Ctrl][Backslash]`,accessibleLabel:`Ctrl+Backslash`,rule:`the one printable character with a WORD instead of a glyph (:267-269)`},{accelerator:`Left`,expected:`[←]`,accessibleLabel:`←`,rule:`the four arrow keys draw arrows (:294-305)`},{accelerator:`KP_5`,expected:`[KP 5]`,accessibleLabel:`KP 5`,rule:"a keypad key with a printable character gets the `KP ` prefix (:272-276)"},{accelerator:`Page_Up`,expected:`[Page_Up]`,accessibleLabel:`Page_Up`,rule:"a `GTK_KEY_LABEL` msgid passes through untranslated, exactly as in the C locale (:312-317)"},{accelerator:`<Primary>c`,expected:`[Ctrl][C]`,accessibleLabel:`Ctrl+C`,rule:"`<Primary>` is Control off Apple"},{accelerator:`<Primary>c`,platform:`apple`,expected:`[⌘][C]`,accessibleLabel:`⌘+C`,rule:"`<Primary>` is Command on Apple, and the modifier glyphs replace the words (:216-245)"},{accelerator:`Escape`,platform:`apple`,expected:`[⎋]`,accessibleLabel:`⎋`,rule:"four keys have Apple-only glyphs behind an `#ifdef` (:318-331)"},{accelerator:`Escape`,expected:`[Escape]`,accessibleLabel:`Escape`,rule:"the same key off Apple falls through to its name — the `#ifdef`'s other branch"},{accelerator:``,disabledText:`Disabled`,expected:`(disabled: Disabled)`,accessibleLabel:`Disabled`,rule:"an empty accelerator shows `disabled-text`, dimmed, and nothing else (:513-520)"},{accelerator:`<Control>C <Frobnicate>x`,expected:`[Ctrl][C] /`,error:`<Frobnicate>x`,accessibleLabel:`Ctrl+C `,rule:`an unknown MODIFIER fails the parse; the widget keeps what it built and stops (:531-534)`}];export{e as SHORTCUT_LABEL_VECTORS,formatShortcutLabelNodes};
|
package/lib/esm/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{gStrStrip as e,glibClamp as t,stringIsNotEmpty as n,stripMnemonic as r}from"./glib.js";import{ADW_ABOUT_DIALOG_LABELS as i,ADW_CREDITS_SECTION_TITLES as a,ADW_LICENSES as o,ADW_LICENSE_ALIASES as s,ADW_LICENSE_DEFAULTS as c,ADW_LICENSE_WARRANTY_TEMPLATE as l,ADW_TRANSLATOR_CREDITS_SENTINELS as u,GTK_LICENSE as d,aboutDialogVisibility as f,creditsSections as p,isLicenseType as m,legalSectionVisible as h,licenseText as g,licenseTypeForSpdxId as _,parseCreditPerson as v,setLicense as y,setLicenseType as b,translatorCreditsPeople as x}from"./about-dialog.js";import{ActionRowState as S,BUTTON_ROW_ACTIVATABLE as C,ButtonRowState as w,SwitchRowState as T,WindowTitleState as E,deriveRowLabels as D}from"./action-row.js";import{AVATAR_COLORS as O,AVATAR_COLOR_COUNT as k,avatarColor as A,avatarColorClass as j,avatarFontSize as M,avatarInitials as N,avatarMaxFontSize as P,avatarMode as F,flattenAvatarGradient as I,gStrHash as L,randomAvatarColorClass as R}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as z,ADW_BANNER_BUTTON_STYLE_CLASSES as B,ADW_BANNER_DEFAULTS as V,bannerButtonStyleClasses as H,bannerButtonText as U,bannerButtonVisible as W,bannerRenderState as G,isBannerButtonStyle as K,parseBannerButtonStyle as q}from"./banner.js";import{AdwBreakpoint as J,evaluateBreakpointCondition as Y,parseBreakpointCondition as X}from"./breakpoint.js";import{ADW_BUTTON_CONTENT_DEFAULTS as Z,BUTTON_CONTENT_FALLBACK_ICON as Q,BUTTON_CONTENT_STYLE_CLASS as $,buttonContentEllipsize as ee,buttonContentIconExpands as te,buttonContentIconIsEmpty as ne,buttonContentIconName as re,buttonContentLabelText as ie,buttonContentLabelVisible as ae,buttonContentRenderState as oe,buttonContentStyleTargetIndex as se}from"./button-content.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as ce,CAROUSEL_SETTLE_EPSILON as le,CarouselState as ue,carouselClampPosition as de,carouselClosestSnapPoint as fe,carouselNavigateTarget as pe,carouselPageAtPosition as me,carouselRange as he,carouselReorderShift as ge,carouselSizesFromSnapPoints as _e,carouselSnapPoints as ve,carouselWheelStep as ye}from"./carousel.js";import{RadioGroupState as be,resolveCheckState as xe}from"./checks.js";import{adwLerp as Se,easeInOutSine as Ce,easeOutCubic as we,inverseLerp as Te}from"./easing.js";import{ADW_CLAMP_DEFAULTS as Ee,ADW_CLAMP_SIZE_CLASSES as De,ADW_SPINNER_MAX_SIZE as Oe,ADW_SPINNER_MIN_SIZE as ke,ADW_TOOLBAR_BAR_CLASSES as Ae,ADW_TOOLBAR_VIEW_CLASSES as je,ADW_TOOLBAR_VIEW_DEFAULTS as Me,clampAllocate as Ne,clampChildSize as Pe,clampSizeFromChild as Fe,clampThresholds as Ie,normalizeClampSize as Le,parseToolbarStyle as Re,resolveSpinnerSize as ze,spinnerGeometry as Be,toolbarBarStyleClasses as Ve,toolbarViewAllocate as He,toolbarViewClasses as Ue,toolbarViewContentForSize as We,toolbarViewMeasure as Ge}from"./chrome.js";import{DEFAULT_ICON_COLOR as Ke,DEFAULT_ICON_COLOR_DARK as qe,adwaitaColorScheme as Je,isThemeIconColor as Ye,onAdwaitaColorSchemeChanged as Xe,setAdwaitaColorScheme as Ze,themeIconColor as Qe,toggleAdwaitaColorScheme as $e}from"./color-scheme.js";import{ADW_DATA_GRID_ROW_VARIANTS as et,DATA_GRID_CELL_CLASS as tt,DATA_GRID_ROW_CLASS as nt,dataGridCellText as rt,dataGridColumnAlign as it,dataGridColumnClasses as at,dataGridRowInteractive as ot,dataGridTrackTemplate as st,dataGridTracks as ct,normalizeDataGridColumns as lt,normalizeDataGridVariant as ut}from"./data-grid.js";import{AdwAlertResponses as dt,BottomSheetPresentation as ft,resolveBottomSheetClose as pt}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as mt,CAPS_LOCK_TOOLTIP as ht,EMPTY_ANIMATION_DURATION_MS as gt,ENTRY_ROW_APPLY_ICON_NAME as _t,ENTRY_ROW_APPLY_TOOLTIP as vt,ENTRY_ROW_EDIT_ICON_NAME as yt,ENTRY_ROW_MAX_LENGTH_LIMIT as bt,ENTRY_ROW_TITLE_SPACING as xt,EntryRowState as St,PASSWORD_CONCEAL_ICON_NAME as Ct,PASSWORD_CONCEAL_LABEL as wt,PASSWORD_REVEAL_ICON_NAME as Tt,PASSWORD_REVEAL_LABEL as Et,PasswordEntryRowState as Dt,clampEntryText as Ot,entryTextLength as kt}from"./entry-row.js";import{AdwToast as At,AdwToastQueue as jt,DEFAULT_TOAST_TIMEOUT as Mt}from"./toast.js";import{ADW_COMBO_NO_SELECTION as Nt,ComboState as Pt,ExpanderState as Ft,SpinState as It,ToggleGroupState as Lt,normalizeComboOptions as Rt}from"./rows.js";import{ViewStackState as zt,normalizeIconName as Bt,resolvePageTitle as Vt}from"./view-stack.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as Ht,NavigationViewState as Ut,describeNavigationDiagnostic as Wt}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as Gt,SidebarState as Kt,adjustSidebarSelection as qt,clampSidebarSelection as Jt,flattenSidebarItems as Yt,sidebarHeaders as Xt}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as Zt,ADW_SPINNER_CYCLES_PER_LOOP as Qt,ADW_SPINNER_CYCLE_LENGTH as $t,ADW_SPINNER_EXTEND_DISTANCE as en,ADW_SPINNER_IDLE_DISTANCE as tn,ADW_SPINNER_MAX_ARC_LENGTH as nn,ADW_SPINNER_MIN_ARC_LENGTH as rn,ADW_SPINNER_N_CYCLES as an,ADW_SPINNER_OVERLAP_DISTANCE as on,ADW_SPINNER_SPIN_DURATION_MS as sn,ADW_SPINNER_START_ANGLE as cn,ADW_SPINNER_STILL_PROGRESS as ln,ADW_SPINNER_TRACK_OPACITY as un,normalizeSpinnerAngle as dn,spinnerArc as fn,spinnerArcEnd as pn,spinnerArcStart as mn,spinnerProgressAt as hn}from"./spinner.js";import{ADW_LENGTH_UNITS as gn,DEFAULT_DPI as _n,adwLengthToPx as vn,normalizeLengthUnit as yn}from"./length-unit.js";import{ADW_SWIPE_BORDER as bn,DEFAULT_MAX_SIDEBAR_WIDTH as xn,DEFAULT_MIN_SIDEBAR_WIDTH as Sn,DEFAULT_SIDEBAR_WIDTH_FRACTION as Cn,DEFAULT_SIDEBAR_WIDTH_UNIT as wn,INSTANT_SPLIT_VIEW_ANIMATOR as Tn,NAVIGATION_SPLIT_VIEW_CRITICALS as En,NavigationSplitViewState as Dn,OverlaySplitViewState as On,isSidebarAtVisualStart as kn,layoutNavigationSplitView as An,layoutOverlaySplitView as jn,measureSplitViewHorizontal as Mn,resolveNaturalSidebarWidth as Nn,resolveNavigationAction as Pn,resolveNavigationSidebarWidth as Fn,resolveNavigationStack as In,resolveOverlaySidebarWidth as Ln,resolveSidebarBounds as Rn,resolveSwipeArea as zn,resolveSwipeRelease as Bn,resolveSwipeSnapPoints as Vn,resolveSwipeStart as Hn,swipeCancelProgress as Un,tagsConflict as Wn}from"./split-view.js";import{DEFAULT_DROPDOWN_TOOLTIP as Gn,SPLIT_BUTTON_DISABLED_OPACITY as Kn,SplitButtonState as qn,isSplitButtonDirection as Jn,menuButtonArrowIcon as Yn,menuButtonPopupDirection as Xn,parseMenuEntries as Zn,resolveDropdownTooltip as Qn,splitButtonArrowIcon as $n,splitButtonPopupDirection as er,splitButtonRootState as tr,splitButtonStyleClasses as nr}from"./split-button.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as rr,INLINE_VIEW_SWITCHER_DISPLAY_MODES as ir,VIEW_SWITCHER_BADGE_LIMIT as ar,VIEW_SWITCHER_DRAG_SWITCH_DELAY as or,VIEW_SWITCHER_FALLBACK_ICON as sr,VIEW_SWITCHER_NO_SELECTION as cr,VIEW_SWITCHER_POLICIES as lr,ViewSwitcherBarState as ur,ViewSwitcherDragSwitch as dr,ViewSwitcherState as fr,buildInlineToggles as pr,buildViewSwitcherButtons as mr,createViewSwitcherPage as hr,inlineToggleTooltip as gr,isInlineViewSwitcherDisplayMode as _r,isViewSwitcherButtonVisible as vr,isViewSwitcherPolicy as yr,pageIndexForToggle as br,shouldRevealViewSwitcherBar as xr,toggleIndexForPage as Sr,viewSwitcherBadgeLabel as Cr,viewSwitcherButtonOrientation as wr,viewSwitcherIconName as Tr,viewSwitcherIndicatorDescription as Er,viewSwitcherLabel as Dr,viewSwitcherPageFromStackPage as Or,viewSwitcherPagesFromStack as kr}from"./view-switcher.js";import{DEFAULT_TAB_AUTOHIDE as Ar,TabViewState as jr,isDescendantOfPage as Mr,successorAfterClose as Nr,tabCloseVisible as Pr,tabIconState as Fr,tabTooltip as Ir,tabTooltipIsMarkup as Lr,tabsRevealed as Rr}from"./tab-view.js";import{UNTITLED_PAGE_LABEL as zr,collectSearchRows as Br,countVisiblePages as Vr,createSearchRowSubtitle as Hr,defaultCaseFolder as Ur,derivePreferencesGroupHeader as Wr,escapeMarkup as Gr,makeComparable as Kr,rowMatchesQuery as qr,searchPreferences as Jr,stripMarkup as Yr}from"./preferences.js";import{POPOVER_ITEM_RADIUS as Xr,POPOVER_MENU_PADDING as Zr,POPOVER_PADDING as Qr,POPOVER_RADIUS as $r,PopoverState as ei,resolvePopoverKey as ti}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as ni,ADW_WRAP_BOX_DEFAULT_JUSTIFY as ri,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as ii,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as ai,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as oi,ADW_WRAP_BOX_DEFAULT_SPACING as si,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as ci,ADW_WRAP_BOX_JUSTIFY_MODES as li,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as ui,ADW_WRAP_BOX_PACK_DIRECTIONS as di,ADW_WRAP_POLICIES as fi,normalizeNaturalLineLength as pi,normalizeWrapBoxAlign as mi,normalizeWrapBoxJustify as hi,normalizeWrapBoxLengthUnit as gi,normalizeWrapBoxPackDirection as _i,normalizeWrapBoxSpacing as vi,normalizeWrapPolicy as yi,resolveWrapBoxChildOrder as bi,resolveWrapBoxLine as xi,wrapBoxLengthToPx as Si,wrapPolicyFlexShrink as Ci}from"./wrap-box.js";export{i as ADW_ABOUT_DIALOG_LABELS,z as ADW_BANNER_BUTTON_STYLES,B as ADW_BANNER_BUTTON_STYLE_CLASSES,V as ADW_BANNER_DEFAULTS,Z as ADW_BUTTON_CONTENT_DEFAULTS,Ee as ADW_CLAMP_DEFAULTS,De as ADW_CLAMP_SIZE_CLASSES,Nt as ADW_COMBO_NO_SELECTION,a as ADW_CREDITS_SECTION_TITLES,et as ADW_DATA_GRID_ROW_VARIANTS,gn as ADW_LENGTH_UNITS,o as ADW_LICENSES,s as ADW_LICENSE_ALIASES,c as ADW_LICENSE_DEFAULTS,l as ADW_LICENSE_WARRANTY_TEMPLATE,Gt as ADW_SIDEBAR_NO_SELECTION,Zt as ADW_SPINNER_CONTRACT_DISTANCE,Qt as ADW_SPINNER_CYCLES_PER_LOOP,$t as ADW_SPINNER_CYCLE_LENGTH,en as ADW_SPINNER_EXTEND_DISTANCE,tn as ADW_SPINNER_IDLE_DISTANCE,nn as ADW_SPINNER_MAX_ARC_LENGTH,Oe as ADW_SPINNER_MAX_SIZE,rn as ADW_SPINNER_MIN_ARC_LENGTH,ke as ADW_SPINNER_MIN_SIZE,an as ADW_SPINNER_N_CYCLES,on as ADW_SPINNER_OVERLAP_DISTANCE,sn as ADW_SPINNER_SPIN_DURATION_MS,cn as ADW_SPINNER_START_ANGLE,ln as ADW_SPINNER_STILL_PROGRESS,un as ADW_SPINNER_TRACK_OPACITY,bn as ADW_SWIPE_BORDER,Ae as ADW_TOOLBAR_BAR_CLASSES,je as ADW_TOOLBAR_VIEW_CLASSES,Me as ADW_TOOLBAR_VIEW_DEFAULTS,u as ADW_TRANSLATOR_CREDITS_SENTINELS,ni as ADW_WRAP_BOX_DEFAULT_ALIGN,ri as ADW_WRAP_BOX_DEFAULT_JUSTIFY,ii as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,ai as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,oi as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,si as ADW_WRAP_BOX_DEFAULT_SPACING,ci as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,li as ADW_WRAP_BOX_JUSTIFY_MODES,ui as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,di as ADW_WRAP_BOX_PACK_DIRECTIONS,fi as ADW_WRAP_POLICIES,O as AVATAR_COLORS,k as AVATAR_COLOR_COUNT,S as ActionRowState,dt as AdwAlertResponses,J as AdwBreakpoint,At as AdwToast,jt as AdwToastQueue,Ht as BACK_BUTTON_FALLBACK_TOOLTIP,Q as BUTTON_CONTENT_FALLBACK_ICON,$ as BUTTON_CONTENT_STYLE_CLASS,C as BUTTON_ROW_ACTIVATABLE,ft as BottomSheetPresentation,w as ButtonRowState,mt as CAPS_LOCK_ICON_NAME,ht as CAPS_LOCK_TOOLTIP,ce as CAROUSEL_SCROLL_TIMEOUT_MS,le as CAROUSEL_SETTLE_EPSILON,ue as CarouselState,Pt as ComboState,tt as DATA_GRID_CELL_CLASS,nt as DATA_GRID_ROW_CLASS,_n as DEFAULT_DPI,Gn as DEFAULT_DROPDOWN_TOOLTIP,Ke as DEFAULT_ICON_COLOR,qe as DEFAULT_ICON_COLOR_DARK,rr as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,xn as DEFAULT_MAX_SIDEBAR_WIDTH,Sn as DEFAULT_MIN_SIDEBAR_WIDTH,Cn as DEFAULT_SIDEBAR_WIDTH_FRACTION,wn as DEFAULT_SIDEBAR_WIDTH_UNIT,Ar as DEFAULT_TAB_AUTOHIDE,Mt as DEFAULT_TOAST_TIMEOUT,gt as EMPTY_ANIMATION_DURATION_MS,_t as ENTRY_ROW_APPLY_ICON_NAME,vt as ENTRY_ROW_APPLY_TOOLTIP,yt as ENTRY_ROW_EDIT_ICON_NAME,bt as ENTRY_ROW_MAX_LENGTH_LIMIT,xt as ENTRY_ROW_TITLE_SPACING,St as EntryRowState,Ft as ExpanderState,d as GTK_LICENSE,ir as INLINE_VIEW_SWITCHER_DISPLAY_MODES,Tn as INSTANT_SPLIT_VIEW_ANIMATOR,En as NAVIGATION_SPLIT_VIEW_CRITICALS,Dn as NavigationSplitViewState,Ut as NavigationViewState,On as OverlaySplitViewState,Ct as PASSWORD_CONCEAL_ICON_NAME,wt as PASSWORD_CONCEAL_LABEL,Tt as PASSWORD_REVEAL_ICON_NAME,Et as PASSWORD_REVEAL_LABEL,Xr as POPOVER_ITEM_RADIUS,Zr as POPOVER_MENU_PADDING,Qr as POPOVER_PADDING,$r as POPOVER_RADIUS,Dt as PasswordEntryRowState,ei as PopoverState,be as RadioGroupState,Kn as SPLIT_BUTTON_DISABLED_OPACITY,Kt as SidebarState,It as SpinState,qn as SplitButtonState,T as SwitchRowState,jr as TabViewState,Lt as ToggleGroupState,zr as UNTITLED_PAGE_LABEL,ar as VIEW_SWITCHER_BADGE_LIMIT,or as VIEW_SWITCHER_DRAG_SWITCH_DELAY,sr as VIEW_SWITCHER_FALLBACK_ICON,cr as VIEW_SWITCHER_NO_SELECTION,lr as VIEW_SWITCHER_POLICIES,zt as ViewStackState,ur as ViewSwitcherBarState,dr as ViewSwitcherDragSwitch,fr as ViewSwitcherState,E as WindowTitleState,f as aboutDialogVisibility,qt as adjustSidebarSelection,vn as adwLengthToPx,Se as adwLerp,Je as adwaitaColorScheme,A as avatarColor,j as avatarColorClass,M as avatarFontSize,N as avatarInitials,P as avatarMaxFontSize,F as avatarMode,H as bannerButtonStyleClasses,U as bannerButtonText,W as bannerButtonVisible,G as bannerRenderState,pr as buildInlineToggles,mr as buildViewSwitcherButtons,ee as buttonContentEllipsize,te as buttonContentIconExpands,ne as buttonContentIconIsEmpty,re as buttonContentIconName,ie as buttonContentLabelText,ae as buttonContentLabelVisible,oe as buttonContentRenderState,se as buttonContentStyleTargetIndex,de as carouselClampPosition,fe as carouselClosestSnapPoint,pe as carouselNavigateTarget,me as carouselPageAtPosition,he as carouselRange,ge as carouselReorderShift,_e as carouselSizesFromSnapPoints,ve as carouselSnapPoints,ye as carouselWheelStep,Ne as clampAllocate,Pe as clampChildSize,Ot as clampEntryText,Jt as clampSidebarSelection,Fe as clampSizeFromChild,Ie as clampThresholds,Br as collectSearchRows,Vr as countVisiblePages,Hr as createSearchRowSubtitle,hr as createViewSwitcherPage,p as creditsSections,rt as dataGridCellText,it as dataGridColumnAlign,at as dataGridColumnClasses,ot as dataGridRowInteractive,st as dataGridTrackTemplate,ct as dataGridTracks,Ur as defaultCaseFolder,Wr as derivePreferencesGroupHeader,D as deriveRowLabels,Wt as describeNavigationDiagnostic,Ce as easeInOutSine,we as easeOutCubic,kt as entryTextLength,Gr as escapeMarkup,Y as evaluateBreakpointCondition,I as flattenAvatarGradient,Yt as flattenSidebarItems,L as gStrHash,e as gStrStrip,t as glibClamp,gr as inlineToggleTooltip,Te as inverseLerp,K as isBannerButtonStyle,Mr as isDescendantOfPage,_r as isInlineViewSwitcherDisplayMode,m as isLicenseType,kn as isSidebarAtVisualStart,Jn as isSplitButtonDirection,Ye as isThemeIconColor,vr as isViewSwitcherButtonVisible,yr as isViewSwitcherPolicy,An as layoutNavigationSplitView,jn as layoutOverlaySplitView,h as legalSectionVisible,g as licenseText,_ as licenseTypeForSpdxId,Kr as makeComparable,Mn as measureSplitViewHorizontal,Yn as menuButtonArrowIcon,Xn as menuButtonPopupDirection,Le as normalizeClampSize,Rt as normalizeComboOptions,lt as normalizeDataGridColumns,ut as normalizeDataGridVariant,Bt as normalizeIconName,yn as normalizeLengthUnit,pi as normalizeNaturalLineLength,dn as normalizeSpinnerAngle,mi as normalizeWrapBoxAlign,hi as normalizeWrapBoxJustify,gi as normalizeWrapBoxLengthUnit,_i as normalizeWrapBoxPackDirection,vi as normalizeWrapBoxSpacing,yi as normalizeWrapPolicy,Xe as onAdwaitaColorSchemeChanged,br as pageIndexForToggle,q as parseBannerButtonStyle,X as parseBreakpointCondition,v as parseCreditPerson,Zn as parseMenuEntries,Re as parseToolbarStyle,R as randomAvatarColorClass,pt as resolveBottomSheetClose,xe as resolveCheckState,Qn as resolveDropdownTooltip,Nn as resolveNaturalSidebarWidth,Pn as resolveNavigationAction,Fn as resolveNavigationSidebarWidth,In as resolveNavigationStack,Ln as resolveOverlaySidebarWidth,Vt as resolvePageTitle,ti as resolvePopoverKey,Rn as resolveSidebarBounds,ze as resolveSpinnerSize,zn as resolveSwipeArea,Bn as resolveSwipeRelease,Vn as resolveSwipeSnapPoints,Hn as resolveSwipeStart,bi as resolveWrapBoxChildOrder,xi as resolveWrapBoxLine,qr as rowMatchesQuery,Jr as searchPreferences,Ze as setAdwaitaColorScheme,y as setLicense,b as setLicenseType,xr as shouldRevealViewSwitcherBar,Xt as sidebarHeaders,fn as spinnerArc,pn as spinnerArcEnd,mn as spinnerArcStart,Be as spinnerGeometry,hn as spinnerProgressAt,$n as splitButtonArrowIcon,er as splitButtonPopupDirection,tr as splitButtonRootState,nr as splitButtonStyleClasses,n as stringIsNotEmpty,Yr as stripMarkup,r as stripMnemonic,Nr as successorAfterClose,Un as swipeCancelProgress,Pr as tabCloseVisible,Fr as tabIconState,Ir as tabTooltip,Lr as tabTooltipIsMarkup,Rr as tabsRevealed,Wn as tagsConflict,Qe as themeIconColor,$e as toggleAdwaitaColorScheme,Sr as toggleIndexForPage,Ve as toolbarBarStyleClasses,He as toolbarViewAllocate,Ue as toolbarViewClasses,We as toolbarViewContentForSize,Ge as toolbarViewMeasure,x as translatorCreditsPeople,Cr as viewSwitcherBadgeLabel,wr as viewSwitcherButtonOrientation,Tr as viewSwitcherIconName,Er as viewSwitcherIndicatorDescription,Dr as viewSwitcherLabel,Or as viewSwitcherPageFromStackPage,kr as viewSwitcherPagesFromStack,Si as wrapBoxLengthToPx,Ci as wrapPolicyFlexShrink};
|
|
1
|
+
import{gStrStrip as e,glibClamp as t,stringIsNotEmpty as n,stripMnemonic as r}from"./glib.js";import{ADW_ABOUT_DIALOG_LABELS as i,ADW_CREDITS_SECTION_TITLES as a,ADW_LICENSES as o,ADW_LICENSE_ALIASES as s,ADW_LICENSE_DEFAULTS as c,ADW_LICENSE_WARRANTY_TEMPLATE as l,ADW_TRANSLATOR_CREDITS_SENTINELS as u,GTK_LICENSE as d,aboutDialogVisibility as f,creditsSections as p,isLicenseType as m,legalSectionVisible as h,licenseText as g,licenseTypeForSpdxId as _,parseCreditPerson as v,setLicense as y,setLicenseType as b,translatorCreditsPeople as x}from"./about-dialog.js";import{ActionRowState as S,BUTTON_ROW_ACTIVATABLE as C,ButtonRowState as w,SwitchRowState as T,WindowTitleState as E,deriveRowLabels as D}from"./action-row.js";import{AVATAR_COLORS as O,AVATAR_COLOR_COUNT as k,avatarColor as A,avatarColorClass as j,avatarFontSize as M,avatarInitials as N,avatarMaxFontSize as P,avatarMode as F,flattenAvatarGradient as I,gStrHash as L,randomAvatarColorClass as R}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as z,ADW_BANNER_BUTTON_STYLE_CLASSES as B,ADW_BANNER_DEFAULTS as V,bannerButtonStyleClasses as H,bannerButtonText as U,bannerButtonVisible as W,bannerRenderState as G,isBannerButtonStyle as K,parseBannerButtonStyle as q}from"./banner.js";import{AdwBreakpoint as J,evaluateBreakpointCondition as Y,parseBreakpointCondition as X}from"./breakpoint.js";import{ADW_BUTTON_CONTENT_DEFAULTS as Z,BUTTON_CONTENT_FALLBACK_ICON as Q,BUTTON_CONTENT_STYLE_CLASS as $,buttonContentEllipsize as ee,buttonContentIconExpands as te,buttonContentIconIsEmpty as ne,buttonContentIconName as re,buttonContentLabelText as ie,buttonContentLabelVisible as ae,buttonContentRenderState as oe,buttonContentStyleTargetIndex as se}from"./button-content.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as ce,CAROUSEL_SETTLE_EPSILON as le,CarouselState as ue,carouselClampPosition as de,carouselClosestSnapPoint as fe,carouselNavigateTarget as pe,carouselPageAtPosition as me,carouselRange as he,carouselReorderShift as ge,carouselSizesFromSnapPoints as _e,carouselSnapPoints as ve,carouselWheelStep as ye}from"./carousel.js";import{RadioGroupState as be,resolveCheckState as xe}from"./checks.js";import{adwLerp as Se,easeInOutSine as Ce,easeOutCubic as we,inverseLerp as Te}from"./easing.js";import{ADW_CLAMP_DEFAULTS as Ee,ADW_CLAMP_SIZE_CLASSES as De,ADW_SPINNER_MAX_SIZE as Oe,ADW_SPINNER_MIN_SIZE as ke,ADW_TOOLBAR_BAR_CLASSES as Ae,ADW_TOOLBAR_VIEW_CLASSES as je,ADW_TOOLBAR_VIEW_DEFAULTS as Me,clampAllocate as Ne,clampChildSize as Pe,clampSizeFromChild as Fe,clampThresholds as Ie,normalizeClampSize as Le,parseToolbarStyle as Re,resolveSpinnerSize as ze,spinnerGeometry as Be,toolbarBarStyleClasses as Ve,toolbarViewAllocate as He,toolbarViewClasses as Ue,toolbarViewContentForSize as We,toolbarViewMeasure as Ge}from"./chrome.js";import{DEFAULT_ICON_COLOR as Ke,DEFAULT_ICON_COLOR_DARK as qe,adwaitaColorScheme as Je,isThemeIconColor as Ye,onAdwaitaColorSchemeChanged as Xe,setAdwaitaColorScheme as Ze,themeIconColor as Qe,toggleAdwaitaColorScheme as $e}from"./color-scheme.js";import{ADW_DATA_GRID_ROW_VARIANTS as et,DATA_GRID_CELL_CLASS as tt,DATA_GRID_ROW_CLASS as nt,dataGridCellText as rt,dataGridColumnAlign as it,dataGridColumnClasses as at,dataGridRowInteractive as ot,dataGridTrackTemplate as st,dataGridTracks as ct,normalizeDataGridColumns as lt,normalizeDataGridVariant as ut}from"./data-grid.js";import{AdwAlertResponses as dt,BottomSheetPresentation as ft,resolveBottomSheetClose as pt}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as mt,CAPS_LOCK_TOOLTIP as ht,EMPTY_ANIMATION_DURATION_MS as gt,ENTRY_ROW_APPLY_ICON_NAME as _t,ENTRY_ROW_APPLY_TOOLTIP as vt,ENTRY_ROW_EDIT_ICON_NAME as yt,ENTRY_ROW_MAX_LENGTH_LIMIT as bt,ENTRY_ROW_TITLE_SPACING as xt,EntryRowState as St,PASSWORD_CONCEAL_ICON_NAME as Ct,PASSWORD_CONCEAL_LABEL as wt,PASSWORD_REVEAL_ICON_NAME as Tt,PASSWORD_REVEAL_LABEL as Et,PasswordEntryRowState as Dt,clampEntryText as Ot,entryTextLength as kt}from"./entry-row.js";import{AdwToast as At,AdwToastQueue as jt,DEFAULT_TOAST_TIMEOUT as Mt}from"./toast.js";import{ADW_COMBO_NO_SELECTION as Nt,ComboState as Pt,ExpanderState as Ft,SpinState as It,ToggleGroupState as Lt,normalizeComboOptions as Rt}from"./rows.js";import{ViewStackState as zt,normalizeIconName as Bt,resolvePageTitle as Vt}from"./view-stack.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as Ht,NavigationViewState as Ut,describeNavigationDiagnostic as Wt}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as Gt,SidebarState as Kt,adjustSidebarSelection as qt,clampSidebarSelection as Jt,flattenSidebarItems as Yt,sidebarHeaders as Xt}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as Zt,ADW_SPINNER_CYCLES_PER_LOOP as Qt,ADW_SPINNER_CYCLE_LENGTH as $t,ADW_SPINNER_EXTEND_DISTANCE as en,ADW_SPINNER_IDLE_DISTANCE as tn,ADW_SPINNER_MAX_ARC_LENGTH as nn,ADW_SPINNER_MIN_ARC_LENGTH as rn,ADW_SPINNER_N_CYCLES as an,ADW_SPINNER_OVERLAP_DISTANCE as on,ADW_SPINNER_SPIN_DURATION_MS as sn,ADW_SPINNER_START_ANGLE as cn,ADW_SPINNER_STILL_PROGRESS as ln,ADW_SPINNER_TRACK_OPACITY as un,normalizeSpinnerAngle as dn,spinnerArc as fn,spinnerArcEnd as pn,spinnerArcStart as mn,spinnerProgressAt as hn}from"./spinner.js";import{parseAccelerator as gn,parseShortcutLabel as _n,shortcutKeycaps as vn}from"./shortcut-label.js";import{ADW_LENGTH_UNITS as yn,DEFAULT_DPI as bn,adwLengthToPx as xn,normalizeLengthUnit as Sn}from"./length-unit.js";import{ADW_SWIPE_BORDER as Cn,DEFAULT_MAX_SIDEBAR_WIDTH as wn,DEFAULT_MIN_SIDEBAR_WIDTH as Tn,DEFAULT_SIDEBAR_WIDTH_FRACTION as En,DEFAULT_SIDEBAR_WIDTH_UNIT as Dn,INSTANT_SPLIT_VIEW_ANIMATOR as On,NAVIGATION_SPLIT_VIEW_CRITICALS as kn,NavigationSplitViewState as An,OverlaySplitViewState as jn,isSidebarAtVisualStart as Mn,layoutNavigationSplitView as Nn,layoutOverlaySplitView as Pn,measureSplitViewHorizontal as Fn,resolveNaturalSidebarWidth as In,resolveNavigationAction as Ln,resolveNavigationSidebarWidth as Rn,resolveNavigationStack as zn,resolveOverlaySidebarWidth as Bn,resolveSidebarBounds as Vn,resolveSwipeArea as Hn,resolveSwipeRelease as Un,resolveSwipeSnapPoints as Wn,resolveSwipeStart as Gn,swipeCancelProgress as Kn,tagsConflict as qn}from"./split-view.js";import{DEFAULT_DROPDOWN_TOOLTIP as Jn,SPLIT_BUTTON_DISABLED_OPACITY as Yn,SplitButtonState as Xn,isSplitButtonDirection as Zn,menuButtonArrowIcon as Qn,menuButtonPopupDirection as $n,parseMenuEntries as er,resolveDropdownTooltip as tr,splitButtonArrowIcon as nr,splitButtonPopupDirection as rr,splitButtonRootState as ir,splitButtonStyleClasses as ar}from"./split-button.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as or,INLINE_VIEW_SWITCHER_DISPLAY_MODES as sr,VIEW_SWITCHER_BADGE_LIMIT as cr,VIEW_SWITCHER_DRAG_SWITCH_DELAY as lr,VIEW_SWITCHER_FALLBACK_ICON as ur,VIEW_SWITCHER_NO_SELECTION as dr,VIEW_SWITCHER_POLICIES as fr,ViewSwitcherBarState as pr,ViewSwitcherDragSwitch as mr,ViewSwitcherState as hr,buildInlineToggles as gr,buildViewSwitcherButtons as _r,createViewSwitcherPage as vr,inlineToggleTooltip as yr,isInlineViewSwitcherDisplayMode as br,isViewSwitcherButtonVisible as xr,isViewSwitcherPolicy as Sr,pageIndexForToggle as Cr,shouldRevealViewSwitcherBar as wr,toggleIndexForPage as Tr,viewSwitcherBadgeLabel as Er,viewSwitcherButtonOrientation as Dr,viewSwitcherIconName as Or,viewSwitcherIndicatorDescription as kr,viewSwitcherLabel as Ar,viewSwitcherPageFromStackPage as jr,viewSwitcherPagesFromStack as Mr}from"./view-switcher.js";import{DEFAULT_TAB_AUTOHIDE as Nr,TabViewState as Pr,isDescendantOfPage as Fr,successorAfterClose as Ir,tabCloseVisible as Lr,tabIconState as Rr,tabTooltip as zr,tabTooltipIsMarkup as Br,tabsRevealed as Vr}from"./tab-view.js";import{UNTITLED_PAGE_LABEL as Hr,collectSearchRows as Ur,countVisiblePages as Wr,createSearchRowSubtitle as Gr,defaultCaseFolder as Kr,derivePreferencesGroupHeader as qr,escapeMarkup as Jr,makeComparable as Yr,rowMatchesQuery as Xr,searchPreferences as Zr,stripMarkup as Qr}from"./preferences.js";import{POPOVER_ITEM_RADIUS as $r,POPOVER_MENU_PADDING as ei,POPOVER_PADDING as ti,POPOVER_RADIUS as ni,PopoverState as ri,resolvePopoverKey as ii}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as ai,ADW_WRAP_BOX_DEFAULT_JUSTIFY as oi,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as si,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as ci,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as li,ADW_WRAP_BOX_DEFAULT_SPACING as ui,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as di,ADW_WRAP_BOX_JUSTIFY_MODES as fi,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as pi,ADW_WRAP_BOX_PACK_DIRECTIONS as mi,ADW_WRAP_POLICIES as hi,normalizeNaturalLineLength as gi,normalizeWrapBoxAlign as _i,normalizeWrapBoxJustify as vi,normalizeWrapBoxLengthUnit as yi,normalizeWrapBoxPackDirection as bi,normalizeWrapBoxSpacing as xi,normalizeWrapPolicy as Si,resolveWrapBoxChildOrder as Ci,resolveWrapBoxLine as wi,wrapBoxLengthToPx as Ti,wrapPolicyFlexShrink as Ei}from"./wrap-box.js";export{i as ADW_ABOUT_DIALOG_LABELS,z as ADW_BANNER_BUTTON_STYLES,B as ADW_BANNER_BUTTON_STYLE_CLASSES,V as ADW_BANNER_DEFAULTS,Z as ADW_BUTTON_CONTENT_DEFAULTS,Ee as ADW_CLAMP_DEFAULTS,De as ADW_CLAMP_SIZE_CLASSES,Nt as ADW_COMBO_NO_SELECTION,a as ADW_CREDITS_SECTION_TITLES,et as ADW_DATA_GRID_ROW_VARIANTS,yn as ADW_LENGTH_UNITS,o as ADW_LICENSES,s as ADW_LICENSE_ALIASES,c as ADW_LICENSE_DEFAULTS,l as ADW_LICENSE_WARRANTY_TEMPLATE,Gt as ADW_SIDEBAR_NO_SELECTION,Zt as ADW_SPINNER_CONTRACT_DISTANCE,Qt as ADW_SPINNER_CYCLES_PER_LOOP,$t as ADW_SPINNER_CYCLE_LENGTH,en as ADW_SPINNER_EXTEND_DISTANCE,tn as ADW_SPINNER_IDLE_DISTANCE,nn as ADW_SPINNER_MAX_ARC_LENGTH,Oe as ADW_SPINNER_MAX_SIZE,rn as ADW_SPINNER_MIN_ARC_LENGTH,ke as ADW_SPINNER_MIN_SIZE,an as ADW_SPINNER_N_CYCLES,on as ADW_SPINNER_OVERLAP_DISTANCE,sn as ADW_SPINNER_SPIN_DURATION_MS,cn as ADW_SPINNER_START_ANGLE,ln as ADW_SPINNER_STILL_PROGRESS,un as ADW_SPINNER_TRACK_OPACITY,Cn as ADW_SWIPE_BORDER,Ae as ADW_TOOLBAR_BAR_CLASSES,je as ADW_TOOLBAR_VIEW_CLASSES,Me as ADW_TOOLBAR_VIEW_DEFAULTS,u as ADW_TRANSLATOR_CREDITS_SENTINELS,ai as ADW_WRAP_BOX_DEFAULT_ALIGN,oi as ADW_WRAP_BOX_DEFAULT_JUSTIFY,si as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,ci as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,li as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,ui as ADW_WRAP_BOX_DEFAULT_SPACING,di as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,fi as ADW_WRAP_BOX_JUSTIFY_MODES,pi as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,mi as ADW_WRAP_BOX_PACK_DIRECTIONS,hi as ADW_WRAP_POLICIES,O as AVATAR_COLORS,k as AVATAR_COLOR_COUNT,S as ActionRowState,dt as AdwAlertResponses,J as AdwBreakpoint,At as AdwToast,jt as AdwToastQueue,Ht as BACK_BUTTON_FALLBACK_TOOLTIP,Q as BUTTON_CONTENT_FALLBACK_ICON,$ as BUTTON_CONTENT_STYLE_CLASS,C as BUTTON_ROW_ACTIVATABLE,ft as BottomSheetPresentation,w as ButtonRowState,mt as CAPS_LOCK_ICON_NAME,ht as CAPS_LOCK_TOOLTIP,ce as CAROUSEL_SCROLL_TIMEOUT_MS,le as CAROUSEL_SETTLE_EPSILON,ue as CarouselState,Pt as ComboState,tt as DATA_GRID_CELL_CLASS,nt as DATA_GRID_ROW_CLASS,bn as DEFAULT_DPI,Jn as DEFAULT_DROPDOWN_TOOLTIP,Ke as DEFAULT_ICON_COLOR,qe as DEFAULT_ICON_COLOR_DARK,or as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,wn as DEFAULT_MAX_SIDEBAR_WIDTH,Tn as DEFAULT_MIN_SIDEBAR_WIDTH,En as DEFAULT_SIDEBAR_WIDTH_FRACTION,Dn as DEFAULT_SIDEBAR_WIDTH_UNIT,Nr as DEFAULT_TAB_AUTOHIDE,Mt as DEFAULT_TOAST_TIMEOUT,gt as EMPTY_ANIMATION_DURATION_MS,_t as ENTRY_ROW_APPLY_ICON_NAME,vt as ENTRY_ROW_APPLY_TOOLTIP,yt as ENTRY_ROW_EDIT_ICON_NAME,bt as ENTRY_ROW_MAX_LENGTH_LIMIT,xt as ENTRY_ROW_TITLE_SPACING,St as EntryRowState,Ft as ExpanderState,d as GTK_LICENSE,sr as INLINE_VIEW_SWITCHER_DISPLAY_MODES,On as INSTANT_SPLIT_VIEW_ANIMATOR,kn as NAVIGATION_SPLIT_VIEW_CRITICALS,An as NavigationSplitViewState,Ut as NavigationViewState,jn as OverlaySplitViewState,Ct as PASSWORD_CONCEAL_ICON_NAME,wt as PASSWORD_CONCEAL_LABEL,Tt as PASSWORD_REVEAL_ICON_NAME,Et as PASSWORD_REVEAL_LABEL,$r as POPOVER_ITEM_RADIUS,ei as POPOVER_MENU_PADDING,ti as POPOVER_PADDING,ni as POPOVER_RADIUS,Dt as PasswordEntryRowState,ri as PopoverState,be as RadioGroupState,Yn as SPLIT_BUTTON_DISABLED_OPACITY,Kt as SidebarState,It as SpinState,Xn as SplitButtonState,T as SwitchRowState,Pr as TabViewState,Lt as ToggleGroupState,Hr as UNTITLED_PAGE_LABEL,cr as VIEW_SWITCHER_BADGE_LIMIT,lr as VIEW_SWITCHER_DRAG_SWITCH_DELAY,ur as VIEW_SWITCHER_FALLBACK_ICON,dr as VIEW_SWITCHER_NO_SELECTION,fr as VIEW_SWITCHER_POLICIES,zt as ViewStackState,pr as ViewSwitcherBarState,mr as ViewSwitcherDragSwitch,hr as ViewSwitcherState,E as WindowTitleState,f as aboutDialogVisibility,qt as adjustSidebarSelection,xn as adwLengthToPx,Se as adwLerp,Je as adwaitaColorScheme,A as avatarColor,j as avatarColorClass,M as avatarFontSize,N as avatarInitials,P as avatarMaxFontSize,F as avatarMode,H as bannerButtonStyleClasses,U as bannerButtonText,W as bannerButtonVisible,G as bannerRenderState,gr as buildInlineToggles,_r as buildViewSwitcherButtons,ee as buttonContentEllipsize,te as buttonContentIconExpands,ne as buttonContentIconIsEmpty,re as buttonContentIconName,ie as buttonContentLabelText,ae as buttonContentLabelVisible,oe as buttonContentRenderState,se as buttonContentStyleTargetIndex,de as carouselClampPosition,fe as carouselClosestSnapPoint,pe as carouselNavigateTarget,me as carouselPageAtPosition,he as carouselRange,ge as carouselReorderShift,_e as carouselSizesFromSnapPoints,ve as carouselSnapPoints,ye as carouselWheelStep,Ne as clampAllocate,Pe as clampChildSize,Ot as clampEntryText,Jt as clampSidebarSelection,Fe as clampSizeFromChild,Ie as clampThresholds,Ur as collectSearchRows,Wr as countVisiblePages,Gr as createSearchRowSubtitle,vr as createViewSwitcherPage,p as creditsSections,rt as dataGridCellText,it as dataGridColumnAlign,at as dataGridColumnClasses,ot as dataGridRowInteractive,st as dataGridTrackTemplate,ct as dataGridTracks,Kr as defaultCaseFolder,qr as derivePreferencesGroupHeader,D as deriveRowLabels,Wt as describeNavigationDiagnostic,Ce as easeInOutSine,we as easeOutCubic,kt as entryTextLength,Jr as escapeMarkup,Y as evaluateBreakpointCondition,I as flattenAvatarGradient,Yt as flattenSidebarItems,L as gStrHash,e as gStrStrip,t as glibClamp,yr as inlineToggleTooltip,Te as inverseLerp,K as isBannerButtonStyle,Fr as isDescendantOfPage,br as isInlineViewSwitcherDisplayMode,m as isLicenseType,Mn as isSidebarAtVisualStart,Zn as isSplitButtonDirection,Ye as isThemeIconColor,xr as isViewSwitcherButtonVisible,Sr as isViewSwitcherPolicy,Nn as layoutNavigationSplitView,Pn as layoutOverlaySplitView,h as legalSectionVisible,g as licenseText,_ as licenseTypeForSpdxId,Yr as makeComparable,Fn as measureSplitViewHorizontal,Qn as menuButtonArrowIcon,$n as menuButtonPopupDirection,Le as normalizeClampSize,Rt as normalizeComboOptions,lt as normalizeDataGridColumns,ut as normalizeDataGridVariant,Bt as normalizeIconName,Sn as normalizeLengthUnit,gi as normalizeNaturalLineLength,dn as normalizeSpinnerAngle,_i as normalizeWrapBoxAlign,vi as normalizeWrapBoxJustify,yi as normalizeWrapBoxLengthUnit,bi as normalizeWrapBoxPackDirection,xi as normalizeWrapBoxSpacing,Si as normalizeWrapPolicy,Xe as onAdwaitaColorSchemeChanged,Cr as pageIndexForToggle,gn as parseAccelerator,q as parseBannerButtonStyle,X as parseBreakpointCondition,v as parseCreditPerson,er as parseMenuEntries,_n as parseShortcutLabel,Re as parseToolbarStyle,R as randomAvatarColorClass,pt as resolveBottomSheetClose,xe as resolveCheckState,tr as resolveDropdownTooltip,In as resolveNaturalSidebarWidth,Ln as resolveNavigationAction,Rn as resolveNavigationSidebarWidth,zn as resolveNavigationStack,Bn as resolveOverlaySidebarWidth,Vt as resolvePageTitle,ii as resolvePopoverKey,Vn as resolveSidebarBounds,ze as resolveSpinnerSize,Hn as resolveSwipeArea,Un as resolveSwipeRelease,Wn as resolveSwipeSnapPoints,Gn as resolveSwipeStart,Ci as resolveWrapBoxChildOrder,wi as resolveWrapBoxLine,Xr as rowMatchesQuery,Zr as searchPreferences,Ze as setAdwaitaColorScheme,y as setLicense,b as setLicenseType,vn as shortcutKeycaps,wr as shouldRevealViewSwitcherBar,Xt as sidebarHeaders,fn as spinnerArc,pn as spinnerArcEnd,mn as spinnerArcStart,Be as spinnerGeometry,hn as spinnerProgressAt,nr as splitButtonArrowIcon,rr as splitButtonPopupDirection,ir as splitButtonRootState,ar as splitButtonStyleClasses,n as stringIsNotEmpty,Qr as stripMarkup,r as stripMnemonic,Ir as successorAfterClose,Kn as swipeCancelProgress,Lr as tabCloseVisible,Rr as tabIconState,zr as tabTooltip,Br as tabTooltipIsMarkup,Vr as tabsRevealed,qn as tagsConflict,Qe as themeIconColor,$e as toggleAdwaitaColorScheme,Tr as toggleIndexForPage,Ve as toolbarBarStyleClasses,He as toolbarViewAllocate,Ue as toolbarViewClasses,We as toolbarViewContentForSize,Ge as toolbarViewMeasure,x as translatorCreditsPeople,Er as viewSwitcherBadgeLabel,Dr as viewSwitcherButtonOrientation,Or as viewSwitcherIconName,kr as viewSwitcherIndicatorDescription,Ar as viewSwitcherLabel,jr as viewSwitcherPageFromStackPage,Mr as viewSwitcherPagesFromStack,Ti as wrapBoxLengthToPx,Ei as wrapPolicyFlexShrink};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e={shift:`shift`,shft:`shift`,control:`control`,ctrl:`control`,ctl:`control`,alt:`alt`,mod1:`alt`,meta:`meta`,super:`super`,hyper:`hyper`,primary:`primary`},t=[`hyper`,`super`,`control`,`alt`,`shift`,`meta`],n={hyper:{default:`Hyper`,apple:`Hyper`},super:{default:`Super`,apple:`Super`},control:{default:`Ctrl`,apple:`⌃`},alt:{default:`Alt`,apple:`⌥`},shift:{default:`Shift`,apple:`⇧`},meta:{default:`Meta`,apple:`⌘`}},r={Shift:`shift`,Control:`control`,Alt:`alt`,Meta:`meta`,Super:`super`,Hyper:`hyper`},i={exclam:`!`,quotedbl:`"`,numbersign:`#`,dollar:`$`,percent:`%`,ampersand:`&`,apostrophe:`'`,parenleft:`(`,parenright:`)`,asterisk:`*`,plus:`+`,comma:`,`,minus:`-`,period:`.`,slash:`/`,colon:`:`,semicolon:`;`,less:`<`,equal:`=`,greater:`>`,question:`?`,at:`@`,bracketleft:`[`,backslash:`\\`,bracketright:`]`,asciicircum:`^`,underscore:`_`,grave:"`",braceleft:`{`,bar:`|`,braceright:`}`,asciitilde:`~`},a={Left:{default:`←`},Up:{default:`↑`},Right:{default:`→`},Down:{default:`↓`},space:{default:`␣`},Return:{default:`⏎`},Page_Up:{default:`Page_Up`},Page_Down:{default:`Page_Down`},Escape:{apple:`⎋`},Tab:{apple:`⇥`},BackSpace:{apple:`⌫`},Delete:{apple:`⌦`}};function parseAccelerator(t,n=`default`){let r=new Set,i=t;for(;i.startsWith(`<`);){let t=i.indexOf(`>`);if(t===-1)return null;let a=i.slice(1,t).toLowerCase();if(i=i.slice(t+1),a===`release`)continue;let o=e[a];if(!o)return null;r.add(o===`primary`?n===`apple`?`meta`:`control`:o)}return i.length===0?null:{modifiers:r,key:i}}function keycapForKey(e,t){let i=/^([A-Za-z]+)_([LR])$/.exec(e);if(i&&r[i[1]]){let e=r[i[1]];return{label:n[e][t],sideMarker:i[2]}}let o=a[e];if(o){let e=t===`apple`?o.apple??o.default:o.default;if(e)return{label:e}}let s=/^KP_(.+)$/.exec(e);if(s){let e=printableFor(s[1]);if(e)return{label:`KP ${e.toUpperCase()}`}}let c=printableFor(e);return c?{label:c===`\\`?`Backslash`:c.toUpperCase()}:{label:e.length===1?e.toUpperCase():e}}function printableFor(e){if(e.length===1){let t=e.codePointAt(0)??0;return t>32&&t<127?e:null}return i[e]??null}function shortcutKeycaps(e,r=`default`){let i=parseAccelerator(e,r);if(!i)return null;let a=[];for(let e of t)i.modifiers.has(e)&&a.push({label:n[e][r]});return a.push(keycapForKey(i.key,r)),a}function accessibleFor(e){return e.map(e=>e.sideMarker?`${e.label} ${e.sideMarker}`:e.label).join(`+`)}function parseShortcutLabel(e,t={}){let{disabledText:n=``,direction:r=`ltr`,platform:i=`default`}=t;if(e.length===0)return{nodes:[{kind:`disabled`,text:n}],accessibleLabel:n,error:null};let a=[],o=``,s=null,combination=e=>{for(let t of e.split(`&`)){let e=shortcutKeycaps(t,i);if(!e)return s=t,!1;a.push({kind:`keys`,keys:e}),o+=accessibleFor(e)}return!0},sequence=e=>{let t=r===`rtl`?`←`:`→`,n=e.split(`+`);for(let[e,r]of n.entries())if(e>0&&(a.push({kind:`separator`,text:t}),o+=t),!combination(r))return!1;return!0},range=e=>{let t=e.indexOf(`...`);return t===-1?sequence(e):sequence(e.slice(0,t))?(a.push({kind:`separator`,text:`⋯`}),o+=`…`,sequence(e.slice(t+3))):!1};for(let[t,n]of e.split(` `).entries())if(t>0&&(a.push({kind:`separator`,text:`/`}),o+=` `),!range(n))break;return{nodes:a,accessibleLabel:o,error:s}}export{parseAccelerator,parseShortcutLabel,shortcutKeycaps};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** One `LicenseInfo` row — the struct
|
|
1
|
+
/** One `LicenseInfo` row — the struct. */
|
|
2
2
|
export interface AdwLicenseInfo {
|
|
3
3
|
/** The translatable licence name, `null` for `unknown` and `custom`. */
|
|
4
4
|
name: string | null;
|
|
@@ -8,14 +8,11 @@ export interface AdwLicenseInfo {
|
|
|
8
8
|
spdxId: string | null;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* `GtkLicense` as the INDEX into {@link ADW_LICENSES}, which is what the C
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* `GTK_LICENSE_0BSD` (:256). The member SPELLINGS come from the `Gtk.License`
|
|
17
|
-
* enum in `@girs/gtk-4.0`, generated from the GTK GIR — `refs/gtk` is not
|
|
18
|
-
* vendored in this repo, so there is no GTK C file to cite for them.
|
|
11
|
+
* `GtkLicense` as the INDEX into {@link ADW_LICENSES}, which is what the C uses it as
|
|
12
|
+
* (`gtk_license_info[license_type]`). Order and row contents come from the vendored table
|
|
13
|
+
* plus its static assertion that the last index is `GTK_LICENSE_0BSD`; the member
|
|
14
|
+
* SPELLINGS come from the `Gtk.License` enum in `@girs/gtk-4.0`, since `refs/gtk` is not
|
|
15
|
+
* vendored here.
|
|
19
16
|
*/
|
|
20
17
|
export declare const GTK_LICENSE: {
|
|
21
18
|
readonly UNKNOWN: 0;
|
|
@@ -41,15 +38,13 @@ export declare const GTK_LICENSE: {
|
|
|
41
38
|
/** A `GtkLicense` value, i.e. a valid index into {@link ADW_LICENSES}. */
|
|
42
39
|
export type AdwLicenseType = (typeof GTK_LICENSE)[keyof typeof GTK_LICENSE];
|
|
43
40
|
/**
|
|
44
|
-
* The 19 `gtk_license_info` rows in enum order
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* `custom` takes its text from the `license` property, so neither has a name,
|
|
48
|
-
* a URL or an SPDX id to match. A renderer that skipped them would shift every
|
|
41
|
+
* The 19 `gtk_license_info` rows in enum order. Indices 0 and 1 are all-`null` on purpose:
|
|
42
|
+
* `unknown` shows nothing and `custom` takes its text from the `license` property, so
|
|
43
|
+
* neither has a name, a URL or an SPDX id to match — and skipping them would shift every
|
|
49
44
|
* later licence by two.
|
|
50
45
|
*/
|
|
51
46
|
export declare const ADW_LICENSES: ReadonlyArray<AdwLicenseInfo>;
|
|
52
|
-
/** One deprecated-SPDX alias — the `LicenseAlias` struct at
|
|
47
|
+
/** One deprecated-SPDX alias — the `LicenseAlias` struct at:258-261. */
|
|
53
48
|
export interface AdwLicenseAlias {
|
|
54
49
|
/** The retired SPDX id apps still ship in their AppStream metadata. */
|
|
55
50
|
spdxId: string;
|
|
@@ -57,7 +52,7 @@ export interface AdwLicenseAlias {
|
|
|
57
52
|
licenseType: AdwLicenseType;
|
|
58
53
|
}
|
|
59
54
|
/**
|
|
60
|
-
* The two deprecated SPDX ids
|
|
55
|
+
* The two deprecated SPDX ids.
|
|
61
56
|
*
|
|
62
57
|
* Both map to the `-only` variant, not the `-or-later` one — the bare
|
|
63
58
|
* `GPL-2.0` predates the split and meant "version 2", so resolving it to
|
|
@@ -65,18 +60,18 @@ export interface AdwLicenseAlias {
|
|
|
65
60
|
*/
|
|
66
61
|
export declare const ADW_LICENSE_ALIASES: ReadonlyArray<AdwLicenseAlias>;
|
|
67
62
|
/**
|
|
68
|
-
* The licence preamble
|
|
63
|
+
* The licence preamble, with `%s` for the URL and `%s` for the name, in
|
|
69
64
|
* that order.
|
|
70
65
|
*
|
|
71
66
|
* Translatable as a whole; the two `%s` are filled with a HARDCODED url and a
|
|
72
|
-
* SEPARATELY translated name
|
|
67
|
+
* SEPARATELY translated name. It contains Pango markup, which the
|
|
73
68
|
* Legal page renders as such — a renderer that escapes it shows the user raw
|
|
74
69
|
* `<a href=…>`.
|
|
75
70
|
*/
|
|
76
71
|
export declare const ADW_LICENSE_WARRANTY_TEMPLATE = "This application comes with absolutely no warranty. See the <a href=\"%s\">%s</a> for details.";
|
|
77
72
|
/**
|
|
78
73
|
* Whether `value` is inside the `gtk_license_info` bounds — the setter's
|
|
79
|
-
* `g_return_if_fail
|
|
74
|
+
* `g_return_if_fail`.
|
|
80
75
|
*
|
|
81
76
|
* The integer test has no counterpart in the C, where the parameter is already
|
|
82
77
|
* a `GtkLicense`; here the value arrives from an attribute or JSON, and a
|
|
@@ -86,7 +81,7 @@ export declare const ADW_LICENSE_WARRANTY_TEMPLATE = "This application comes wit
|
|
|
86
81
|
export declare function isLicenseType(value: number): value is AdwLicenseType;
|
|
87
82
|
/**
|
|
88
83
|
* The `GtkLicense` an AppStream `project_license` SPDX id resolves to, or
|
|
89
|
-
* `null` when nothing matches — the two lookup loops at
|
|
84
|
+
* `null` when nothing matches — the two lookup loops at:1226-1239.
|
|
90
85
|
*
|
|
91
86
|
* The exact-match loop runs over the WHOLE table including indices 0 and 1,
|
|
92
87
|
* whose `spdxId` is `null` and therefore never equal to a real id. The alias
|
|
@@ -95,12 +90,12 @@ export declare function isLicenseType(value: number): value is AdwLicenseType;
|
|
|
95
90
|
*
|
|
96
91
|
* The caller's remaining step is NOT folded in here because it is stateful:
|
|
97
92
|
* `populate_from_appdata` falls back to `custom` only when the dialog's licence
|
|
98
|
-
* type is still `unknown` after both loops
|
|
93
|
+
* type is still `unknown` after both loops, which depends on what
|
|
99
94
|
* was set before, not on the id.
|
|
100
95
|
*/
|
|
101
96
|
export declare function licenseTypeForSpdxId(spdxId: string): AdwLicenseType | null;
|
|
102
97
|
/**
|
|
103
|
-
* `get_license_text`
|
|
98
|
+
* `get_license_text` — the text the Legal page shows for a licence.
|
|
104
99
|
*
|
|
105
100
|
* Three cases, and the difference between the first two is what a renderer gets
|
|
106
101
|
* wrong: `unknown` returns NULL, meaning the Legal page shows NO licence at all,
|
|
@@ -111,12 +106,12 @@ export declare function licenseTypeForSpdxId(spdxId: string): AdwLicenseType | n
|
|
|
111
106
|
export declare function licenseText(licenseType: AdwLicenseType, license: string): string | null;
|
|
112
107
|
/** The `license` / `license-type` pair, as a renderer holds it. */
|
|
113
108
|
export interface AdwLicenseState {
|
|
114
|
-
/** `license` — the custom licence text. Empty string, never null
|
|
109
|
+
/** `license` — the custom licence text. Empty string, never null. */
|
|
115
110
|
license: string;
|
|
116
111
|
/** `license-type` — the `GtkLicense`. */
|
|
117
112
|
licenseType: AdwLicenseType;
|
|
118
113
|
}
|
|
119
|
-
/** The `GParamSpec` defaults: `""`
|
|
114
|
+
/** The `GParamSpec` defaults: `""` and `unknown`. */
|
|
120
115
|
export declare const ADW_LICENSE_DEFAULTS: Readonly<AdwLicenseState>;
|
|
121
116
|
/** The GObject property names the two licence setters notify. */
|
|
122
117
|
export type AdwLicenseNotify = 'license' | 'license-type';
|
|
@@ -130,21 +125,21 @@ export interface AdwLicenseTransition {
|
|
|
130
125
|
notify: ReadonlyArray<AdwLicenseNotify>;
|
|
131
126
|
}
|
|
132
127
|
/**
|
|
133
|
-
* `adw_about_dialog_set_license_type
|
|
128
|
+
* `adw_about_dialog_set_license_type`.
|
|
134
129
|
*
|
|
135
130
|
* Setting any type other than `custom` CLEARS the custom licence text to `""`
|
|
136
|
-
*
|
|
137
|
-
*
|
|
131
|
+
* — the two properties are one state, not two. Both are notified
|
|
132
|
+
* whether or not the string actually moved.
|
|
138
133
|
*
|
|
139
|
-
* An out-of-range value is rejected outright (`g_return_if_fail
|
|
134
|
+
* An out-of-range value is rejected outright (`g_return_if_fail`),
|
|
140
135
|
* which is a no-op, not a clamp: the state keeps whatever it had.
|
|
141
136
|
*/
|
|
142
137
|
export declare function setLicenseType(state: AdwLicenseState, licenseType: number): AdwLicenseTransition;
|
|
143
138
|
/**
|
|
144
|
-
* `adw_about_dialog_set_license
|
|
139
|
+
* `adw_about_dialog_set_license`.
|
|
145
140
|
*
|
|
146
|
-
* Setting a licence text forces the type to `custom`
|
|
147
|
-
* the early-out on an UNCHANGED string
|
|
141
|
+
* Setting a licence text forces the type to `custom` — but only after
|
|
142
|
+
* the early-out on an UNCHANGED string, which makes the pair
|
|
148
143
|
* asymmetric in a way that is easy to miss: with the text already `""`, setting
|
|
149
144
|
* `""` again does NOT switch the type to `custom`, so an app trying to clear a
|
|
150
145
|
* `GPL-3.0` licence by assigning the empty string keeps the GPL text on screen.
|
|
@@ -163,13 +158,13 @@ export interface AdwCreditPerson {
|
|
|
163
158
|
* still makes the row an `AdwLinkRow`.
|
|
164
159
|
*/
|
|
165
160
|
link: string | null;
|
|
166
|
-
/** `*q1 == '<'`
|
|
161
|
+
/** `*q1 == '<'` — whether the link came out of angle brackets. */
|
|
167
162
|
isEmail: boolean;
|
|
168
|
-
/** `add_credits_section`'s final URI
|
|
163
|
+
/** `add_credits_section`'s final URI: `mailto:` + link, or the link. */
|
|
169
164
|
uri: string | null;
|
|
170
165
|
}
|
|
171
166
|
/**
|
|
172
|
-
* `parse_person`
|
|
167
|
+
* `parse_person` — split one credit line into a name and a link.
|
|
173
168
|
*
|
|
174
169
|
* Every index here is compared with `>= 0`, never for truthiness: a `<` or a
|
|
175
170
|
* `http://` at position 0 is a valid non-NULL pointer in the C and a falsy `0`
|
|
@@ -178,7 +173,7 @@ export interface AdwCreditPerson {
|
|
|
178
173
|
*/
|
|
179
174
|
export declare function parseCreditPerson(person: string): AdwCreditPerson;
|
|
180
175
|
/**
|
|
181
|
-
* The two untranslated `translator-credits` sentinels
|
|
176
|
+
* The two untranslated `translator-credits` sentinels.
|
|
182
177
|
*
|
|
183
178
|
* Apps mark the literal string `"translator-credits"` as translatable and each
|
|
184
179
|
* locale replaces it with its own translator list; in an untranslated locale it
|
|
@@ -188,17 +183,16 @@ export declare function parseCreditPerson(person: string): AdwCreditPerson;
|
|
|
188
183
|
export declare const ADW_TRANSLATOR_CREDITS_SENTINELS: ReadonlyArray<string>;
|
|
189
184
|
/**
|
|
190
185
|
* The translator names for a `translator-credits` value — `g_strsplit (…, "\n",
|
|
191
|
-
* 0)` past the sentinel guard
|
|
186
|
+
* 0)` past the sentinel guard.
|
|
192
187
|
*
|
|
193
188
|
* `g_strsplit` returns an EMPTY vector for the empty string, where JS
|
|
194
189
|
* `''.split('\n')` returns `['']`. The difference is visible: the C shows no
|
|
195
190
|
* "Translated by" section at all, a `split()`-based port shows the section with
|
|
196
191
|
* one blank row in it. Blank INTERIOR lines are kept, because `g_strsplit` keeps
|
|
197
|
-
* them and `add_credits_section` only skips NULL pointers, not empty strings
|
|
198
|
-
* (:557-558).
|
|
192
|
+
* them and `add_credits_section` only skips NULL pointers, not empty strings.
|
|
199
193
|
*/
|
|
200
194
|
export declare function translatorCreditsPeople(value: string | null | undefined): string[];
|
|
201
|
-
/** The five built-in credit section titles, in `update_credits` order
|
|
195
|
+
/** The five built-in credit section titles, in `update_credits` order. */
|
|
202
196
|
export declare const ADW_CREDITS_SECTION_TITLES: {
|
|
203
197
|
readonly developers: "Code by";
|
|
204
198
|
readonly designers: "Design by";
|
|
@@ -206,21 +200,21 @@ export declare const ADW_CREDITS_SECTION_TITLES: {
|
|
|
206
200
|
readonly documenters: "Documentation by";
|
|
207
201
|
readonly translators: "Translated by";
|
|
208
202
|
};
|
|
209
|
-
/** An app-provided extra section (`add_credit_section
|
|
203
|
+
/** An app-provided extra section (`add_credit_section`). */
|
|
210
204
|
export interface AdwCreditsSectionInput {
|
|
211
|
-
/** The section heading. Nullable in the C signature
|
|
205
|
+
/** The section heading. Nullable in the C signature. */
|
|
212
206
|
title: string | null;
|
|
213
207
|
/** The raw credit lines, each in `parse_person` syntax. */
|
|
214
208
|
people: ReadonlyArray<string>;
|
|
215
209
|
}
|
|
216
210
|
/** One assembled credits group. */
|
|
217
211
|
export interface AdwCreditsSection {
|
|
218
|
-
/** The `AdwPreferencesGroup` title
|
|
212
|
+
/** The `AdwPreferencesGroup` title. */
|
|
219
213
|
title: string | null;
|
|
220
214
|
/** The parsed rows, in source order. */
|
|
221
215
|
people: ReadonlyArray<AdwCreditPerson>;
|
|
222
216
|
}
|
|
223
|
-
/** The credit inputs `update_credits` reads
|
|
217
|
+
/** The credit inputs `update_credits` reads. */
|
|
224
218
|
export interface AdwCreditsInput {
|
|
225
219
|
developers?: ReadonlyArray<string>;
|
|
226
220
|
designers?: ReadonlyArray<string>;
|
|
@@ -228,25 +222,25 @@ export interface AdwCreditsInput {
|
|
|
228
222
|
documenters?: ReadonlyArray<string>;
|
|
229
223
|
/** The raw `translator-credits` string, sentinels and all. */
|
|
230
224
|
translatorCredits?: string | null;
|
|
231
|
-
/** Extra sections, in `add_credit_section` call order
|
|
225
|
+
/** Extra sections, in `add_credit_section` call order. */
|
|
232
226
|
creditSections?: ReadonlyArray<AdwCreditsSectionInput>;
|
|
233
227
|
}
|
|
234
228
|
/**
|
|
235
|
-
* `update_credits`
|
|
229
|
+
* `update_credits` — the Credits page, as a list of groups.
|
|
236
230
|
*
|
|
237
231
|
* A section with no people is not "an empty group", it is NO group:
|
|
238
|
-
* `add_credits_section` returns before creating one
|
|
232
|
+
* `add_credits_section` returns before creating one. The order is
|
|
239
233
|
* fixed — developers, designers, artists, documenters, translators, then the
|
|
240
234
|
* app's own sections in the order they were added — and it is not alphabetical
|
|
241
235
|
* or configurable.
|
|
242
236
|
*
|
|
243
237
|
* One C quirk is deliberately NOT reproduced: `add_credit_section` sets
|
|
244
|
-
* `credits_box` visible unconditionally
|
|
238
|
+
* `credits_box` visible unconditionally, even when the section it just
|
|
245
239
|
* tried to add was empty and nothing was created — so an
|
|
246
240
|
* `add_credit_section ("Backers", {NULL})` leaves GTK with a Credits row that
|
|
247
241
|
* opens a blank page. That is an artefact of mutating a widget tree
|
|
248
242
|
* incrementally, not a derivation; recomputing from the sections, as
|
|
249
|
-
* `update_credits` itself does
|
|
243
|
+
* `update_credits` itself does, is the same rule without the stale
|
|
250
244
|
* flag.
|
|
251
245
|
*/
|
|
252
246
|
export declare function creditsSections(input?: AdwCreditsInput): AdwCreditsSection[];
|
|
@@ -261,8 +255,8 @@ export declare function creditsSections(input?: AdwCreditsInput): AdwCreditsSect
|
|
|
261
255
|
*
|
|
262
256
|
* `dialogTitle` is the one that gets invented: the main page's title is bound
|
|
263
257
|
* to `AdwDialog:title`, whose template default is the bare word "About"
|
|
264
|
-
*
|
|
265
|
-
* appears separately, in the header revealer that fades in on scroll
|
|
258
|
+
* — not "About <app name>". The application NAME
|
|
259
|
+
* appears separately, in the header revealer that fades in on scroll.
|
|
266
260
|
*/
|
|
267
261
|
export declare const ADW_ABOUT_DIALOG_LABELS: {
|
|
268
262
|
readonly dialogTitle: "About";
|
|
@@ -284,106 +278,106 @@ export declare const ADW_ABOUT_DIALOG_LABELS: {
|
|
|
284
278
|
};
|
|
285
279
|
/** Everything the visibility derivation reads. */
|
|
286
280
|
export interface AdwAboutDialogProps {
|
|
287
|
-
/** `application-icon
|
|
281
|
+
/** `application-icon`. */
|
|
288
282
|
applicationIcon: string;
|
|
289
|
-
/** `application-name
|
|
283
|
+
/** `application-name`. */
|
|
290
284
|
applicationName: string;
|
|
291
|
-
/** `developer-name
|
|
285
|
+
/** `developer-name`. */
|
|
292
286
|
developerName: string;
|
|
293
|
-
/** `version
|
|
287
|
+
/** `version`. */
|
|
294
288
|
version: string;
|
|
295
289
|
/** `comments` — Details-page body text. */
|
|
296
290
|
comments: string;
|
|
297
291
|
/** `website` — shown on the MAIN page or the Details page, never both. */
|
|
298
292
|
website: string;
|
|
299
|
-
/** `support-url` — a MAIN-page row
|
|
293
|
+
/** `support-url` — a MAIN-page row. */
|
|
300
294
|
supportUrl: string;
|
|
301
|
-
/** `issue-url` — a MAIN-page row
|
|
295
|
+
/** `issue-url` — a MAIN-page row. */
|
|
302
296
|
issueUrl: string;
|
|
303
|
-
/** `debug-info` — an app-supplied blob; only its emptiness is derived
|
|
297
|
+
/** `debug-info` — an app-supplied blob; only its emptiness is derived. */
|
|
304
298
|
debugInfo: string;
|
|
305
|
-
/** `release-notes`; non-empty is the whole `whats_new_row` rule
|
|
299
|
+
/** `release-notes`; non-empty is the whole `whats_new_row` rule. */
|
|
306
300
|
releaseNotes: string;
|
|
307
|
-
/** Whether `add_link` was ever called
|
|
301
|
+
/** Whether `add_link` was ever called. */
|
|
308
302
|
hasCustomLinks: boolean;
|
|
309
|
-
/** Whether `credits_box` ended up with children
|
|
303
|
+
/** Whether `credits_box` ended up with children. */
|
|
310
304
|
hasCredits: boolean;
|
|
311
|
-
/** Whether `legal_box` ended up with children
|
|
305
|
+
/** Whether `legal_box` ended up with children. */
|
|
312
306
|
hasLegal: boolean;
|
|
313
|
-
/** Whether `add_acknowledgement_section` was ever called
|
|
307
|
+
/** Whether `add_acknowledgement_section` was ever called. */
|
|
314
308
|
hasAcknowledgements: boolean;
|
|
315
309
|
}
|
|
316
310
|
/** Which widgets `update_details`/`update_support`/`update_credits_legal_group` show. */
|
|
317
311
|
export interface AdwAboutDialogVisibility {
|
|
318
|
-
/** Main page: the 128px app icon
|
|
312
|
+
/** Main page: the 128px app icon. */
|
|
319
313
|
appIcon: boolean;
|
|
320
|
-
/** Main page: the title-1 app name
|
|
314
|
+
/** Main page: the title-1 app name. */
|
|
321
315
|
appName: boolean;
|
|
322
|
-
/** Main page: the developer line
|
|
316
|
+
/** Main page: the developer line. */
|
|
323
317
|
developerName: boolean;
|
|
324
|
-
/** Main page: the version pill
|
|
318
|
+
/** Main page: the version pill. */
|
|
325
319
|
version: boolean;
|
|
326
|
-
/** Main page: the first group
|
|
320
|
+
/** Main page: the first group. */
|
|
327
321
|
detailsGroup: boolean;
|
|
328
|
-
/** Main page: "What's New"
|
|
322
|
+
/** Main page: "What's New". */
|
|
329
323
|
whatsNewRow: boolean;
|
|
330
|
-
/** Main page: "Details", the row that pushes the subpage
|
|
324
|
+
/** Main page: "Details", the row that pushes the subpage. */
|
|
331
325
|
detailsRow: boolean;
|
|
332
|
-
/** Main page: "Website", shown only when the Details page has nothing else
|
|
326
|
+
/** Main page: "Website", shown only when the Details page has nothing else. */
|
|
333
327
|
websiteRow: boolean;
|
|
334
|
-
/** Main page: the support group
|
|
328
|
+
/** Main page: the support group. */
|
|
335
329
|
supportGroup: boolean;
|
|
336
|
-
/** Main page: "Support Questions"
|
|
330
|
+
/** Main page: "Support Questions". */
|
|
337
331
|
supportRow: boolean;
|
|
338
|
-
/** Main page: "Report an Issue"
|
|
332
|
+
/** Main page: "Report an Issue". */
|
|
339
333
|
issueRow: boolean;
|
|
340
|
-
/** Main page: "Troubleshooting"
|
|
334
|
+
/** Main page: "Troubleshooting". */
|
|
341
335
|
troubleshootingRow: boolean;
|
|
342
|
-
/** Main page: the Credits/Legal/Acknowledgements group
|
|
336
|
+
/** Main page: the Credits/Legal/Acknowledgements group. */
|
|
343
337
|
creditsLegalGroup: boolean;
|
|
344
|
-
/** Main page: "Credits", bound to `credits_box` (.ui
|
|
338
|
+
/** Main page: "Credits", bound to `credits_box` (.ui). */
|
|
345
339
|
creditsRow: boolean;
|
|
346
|
-
/** Main page: "Legal", bound to `legal_box` (.ui
|
|
340
|
+
/** Main page: "Legal", bound to `legal_box` (.ui). */
|
|
347
341
|
legalRow: boolean;
|
|
348
|
-
/** Main page: "Acknowledgements", bound to `acknowledgements_box` (.ui
|
|
342
|
+
/** Main page: "Acknowledgements", bound to `acknowledgements_box` (.ui). */
|
|
349
343
|
acknowledgementsRow: boolean;
|
|
350
|
-
/** Details page: the comments label
|
|
344
|
+
/** Details page: the comments label. */
|
|
351
345
|
commentsLabel: boolean;
|
|
352
|
-
/** Details page: the links group
|
|
346
|
+
/** Details page: the links group. */
|
|
353
347
|
linksGroup: boolean;
|
|
354
|
-
/** Details page: "Website", the other half of the either/or
|
|
348
|
+
/** Details page: "Website", the other half of the either/or. */
|
|
355
349
|
detailsWebsiteRow: boolean;
|
|
356
350
|
}
|
|
357
351
|
/**
|
|
358
|
-
* `update_details`
|
|
359
|
-
* `update_credits_legal_group
|
|
352
|
+
* `update_details` + `update_support` +
|
|
353
|
+
* `update_credits_legal_group`, as one truth table.
|
|
360
354
|
*
|
|
361
355
|
* The three rules a port does not arrive at by guessing:
|
|
362
356
|
*
|
|
363
|
-
*
|
|
364
|
-
*
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
357
|
+
* 1. **Website is not a Details-page trigger.** `show_details` is
|
|
358
|
+
* `has_comments || has_custom_links` — website is deliberately
|
|
359
|
+
* absent. A dialog with only a website and nothing else keeps the website
|
|
360
|
+
* on the MAIN page and offers no Details row at all, because a
|
|
361
|
+
* subpage holding one link is worse than the link.
|
|
362
|
+
* 2. **The website row exists twice**, once per page, and exactly one of the
|
|
363
|
+
* two is visible. They are separate widgets in the template
|
|
364
|
+
* (`website_row`.ui, `details_website_row`.ui).
|
|
365
|
+
* 3. **Support and issue links live on the MAIN page** (.ui),
|
|
366
|
+
* not on Details. Only comments and links (website + `add_link`) are on the
|
|
367
|
+
* Details page. The browser renderer put all three link rows on Details,
|
|
368
|
+
* which buried the issue tracker one navigation step deeper than GTK.
|
|
375
369
|
*
|
|
376
370
|
* `hasCustomLinks` is a latch in the C — `add_link` sets it and nothing clears
|
|
377
|
-
* it
|
|
371
|
+
* it — so a renderer passes "has any extra link ever been added", not
|
|
378
372
|
* "does the links group currently have children".
|
|
379
373
|
*/
|
|
380
374
|
export declare function aboutDialogVisibility(props?: Partial<AdwAboutDialogProps>): AdwAboutDialogVisibility;
|
|
381
375
|
/**
|
|
382
376
|
* Whether the Legal page has anything on it — `append_legal_section`'s two
|
|
383
|
-
* early-outs collapsed for the DEFAULT section
|
|
377
|
+
* early-outs collapsed for the DEFAULT section.
|
|
384
378
|
*
|
|
385
379
|
* The section is dropped when the copyright is empty AND the licence text is
|
|
386
|
-
* empty-or-absent; `force_title` is FALSE for the app's own section
|
|
380
|
+
* empty-or-absent; `force_title` is FALSE for the app's own section, so
|
|
387
381
|
* there is no title-only case here. Note the licence half goes through
|
|
388
382
|
* {@link licenseText}, which means a `custom` type with an empty string
|
|
389
383
|
* contributes nothing while a `GPL-3.0` type always does.
|