@gjsify/adwaita-core 0.51.1 → 0.52.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/box.js +1 -0
- package/lib/esm/conformance/box.js +1 -0
- package/lib/esm/conformance/dialog.js +1 -1
- package/lib/esm/conformance/index.js +1 -1
- package/lib/esm/conformance/label.js +1 -0
- package/lib/esm/conformance/rows.js +1 -1
- package/lib/esm/conformance/shared-trees.js +1 -1
- package/lib/esm/conformance/tags.js +1 -0
- package/lib/esm/conformance/value-lists.js +1 -0
- package/lib/esm/dialog.js +1 -1
- package/lib/esm/gio-menu.js +1 -0
- package/lib/esm/gtk-adjustment.js +1 -0
- package/lib/esm/gtk-string-list.js +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/label.js +1 -0
- package/lib/esm/markup.js +4 -0
- package/lib/esm/rows.js +1 -1
- package/lib/esm/source.js +1 -0
- package/lib/esm/tags.js +1 -0
- package/lib/esm/tokens.generated.js +1 -1
- package/lib/types/box.d.ts +18 -0
- package/lib/types/box.spec.d.ts +2 -0
- package/lib/types/conformance/box.d.ts +21 -0
- package/lib/types/conformance/dialog.d.ts +123 -1
- package/lib/types/conformance/index.d.ts +14 -6
- package/lib/types/conformance/label.d.ts +115 -0
- package/lib/types/conformance/rows.d.ts +29 -0
- package/lib/types/conformance/shared-trees.d.ts +155 -5
- package/lib/types/conformance/tags.d.ts +46 -0
- package/lib/types/conformance/value-lists.d.ts +19 -0
- package/lib/types/dialog.d.ts +163 -0
- package/lib/types/gio-menu.d.ts +46 -0
- package/lib/types/gtk-adjustment.d.ts +73 -0
- package/lib/types/gtk-adjustment.spec.d.ts +2 -0
- package/lib/types/gtk-string-list.d.ts +70 -0
- package/lib/types/gtk-string-list.spec.d.ts +2 -0
- package/lib/types/index.d.ts +14 -3
- package/lib/types/label.d.ts +135 -0
- package/lib/types/label.spec.d.ts +2 -0
- package/lib/types/markup.d.ts +14 -0
- package/lib/types/markup.spec.d.ts +2 -0
- package/lib/types/rows.d.ts +20 -0
- package/lib/types/source.d.ts +94 -0
- package/lib/types/source.spec.d.ts +2 -0
- package/lib/types/tags.d.ts +48 -0
- package/lib/types/tags.spec.d.ts +2 -0
- package/lib/types/tokens.generated.d.ts +1 -1
- package/package.json +12 -4
package/lib/esm/box.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e=0;function normalizeBoxSpacing(e){let t=typeof e==`number`?e:Number.parseFloat(String(e));return Number.isFinite(t)&&t>0?t:0}function normalizeBoxOrientation(e){return e===`vertical`?`vertical`:`horizontal`}export{e as DEFAULT_BOX_SPACING,normalizeBoxOrientation,normalizeBoxSpacing};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{value:null,spacing:0,rule:`an absent spacing is the default, 0`},{value:12,spacing:12,rule:`a plain positive value passes through`},{value:`12`,spacing:12,rule:`the string an attribute carries parses`},{value:-4,spacing:0,rule:`a negative value lands on the property minimum, 0`},{value:`-4`,spacing:0,rule:`a negative string is held at 0 too`},{value:`wide`,spacing:0,rule:`an unparseable value is the default — NaN never reaches a layout`}],t=[{value:null,orientation:`horizontal`,rule:`an absent orientation is the default, horizontal`},{value:`vertical`,orientation:`vertical`,rule:`the vertical nick stacks a column`},{value:`horizontal`,orientation:`horizontal`,rule:`the horizontal nick is a row`},{value:`VERTICAL`,orientation:`horizontal`,rule:`a string that is no nick leaves the default`}];export{t as BOX_ORIENTATION_VECTORS,e as BOX_SPACING_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../_virtual/_rolldown/runtime.js";const e=[{source:`dimming`,open:!0,canClose:!0,outcome:`close`,rule:`a scrim click on an unlocked open sheet closes it`,derivedFrom:`released_cb, adw-bottom-sheet.c:236-240`},{source:`dimming`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`a locked sheet SIGNALS the scrim click instead of swallowing it`,derivedFrom:`released_cb, adw-bottom-sheet.c:237-238`},{source:`dimming`,open:!1,canClose:!0,outcome:`ignored`,rule:`the scrim is not an event target while the sheet is closed, so nothing happens and nothing is signalled`,derivedFrom:`gtk_widget_set_can_target (self->dimming, open), adw-bottom-sheet.c:1148 + 1692`},{source:`dimming`,open:!1,canClose:!1,outcome:`ignored`,rule:`unreachable-while-closed beats the can-close signal — a locked CLOSED sheet says nothing`,derivedFrom:`adw-bottom-sheet.c:1692 (reachability) before released_cb:237`},{source:`escape`,open:!0,canClose:!0,outcome:`close`,rule:`Escape closes an unlocked open sheet`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:393-395`},{source:`escape`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`Escape on a locked sheet signals`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:398`},{source:`escape`,open:!1,canClose:!0,outcome:`close-attempt`,rule:`THE SURPRISING ONE: Escape on a closed-but-focused sheet still signals, because the emit is the fallthrough for every case that is not (can_close && open). The sheet bin stays focusable while it shows a bottom bar. Both ports returned nothing here`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:393-399`},{source:`escape`,open:!1,canClose:!1,outcome:`close-attempt`,rule:`the fallthrough covers this corner too`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:398`},{source:`close-button`,open:!0,canClose:!0,outcome:`close`,rule:`the sheet.close action closes an unlocked open sheet`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:377-380`},{source:`close-button`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`can_close is tested FIRST, before the open check`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:372-375`},{source:`close-button`,open:!1,canClose:!0,outcome:`delegate`,rule:`sheet.close on an already-closed sheet forwards the action to the PARENT (a sheet inside a sheet closes the outer one) rather than doing nothing`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:382-385`},{source:`close-button`,open:!1,canClose:!1,outcome:`close-attempt`,rule:`a locked sheet never reaches the delegation branch — the can_close guard returns first`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:372-375`},{source:`drag-handle`,open:!0,canClose:!0,outcome:`ignored`,rule:`THE SHARED MISTAKE: the drag handle is not an event target in libadwaita, so it closes nothing. Both ports had wired it to close the sheet`,derivedFrom:`gtk_widget_set_can_focus/can_target (self->drag_handle, FALSE), adw-bottom-sheet.c:1197-1198`},{source:`drag-handle`,open:!0,canClose:!1,outcome:`ignored`,rule:`not a can-close question at all — a decorative widget cannot attempt anything`,derivedFrom:`adw-bottom-sheet.c:1197-1198`},{source:`drag-handle`,open:!1,canClose:!0,outcome:`ignored`,rule:`its only behavioural role is elsewhere: allow_mouse_drag = show_drag_handle || bottom_bar`,derivedFrom:`adw-bottom-sheet.c:1197-1198 + update_swipe_tracker:455-457`},{source:`swipe`,open:!0,canClose:!0,outcome:`close`,rule:`a downward swipe past the midpoint closes an unlocked open sheet`,derivedFrom:`prepare_cb adw-bottom-sheet.c:1050 → end_swipe_cb adw-bottom-sheet.c:1099-1103`},{source:`swipe`,open:!0,canClose:!1,outcome:`ignored`,rule:`a locked sheet swallows the swipe SILENTLY — prepare_cb refuses to detect it, so unlike the scrim and Escape there is no close-attempt`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1050-1051`},{source:`swipe`,open:!1,canClose:!0,outcome:`ignored`,rule:`a swipe on a closed sheet is an OPEN gesture (gated by can-open), never a close one`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1052-1053`}];function runBottomSheetSteps(e,t){let n=[];for(let r of t)switch(r.kind){case`setOpen`:e.setOpen(r.open);break;case`setCanClose`:e.setCanClose(r.canClose);break;case`requestClose`:n.push(e.requestClose(r.source));break}return n}const t=[{steps:[],outcomes:[],notifications:[],callbacks:[],open:!1,hasBeenOpen:!1,rule:`a fresh sheet is closed, unlocked and has never been open`,derivedFrom:`adw_bottom_sheet_init adw-bottom-sheet.c:1125-1133 + the open pspec default at :852-855`},{steps:[{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`opening notifies once and latches has_been_open`,derivedFrom:`adw-bottom-sheet.c:1684-1689 + the notify at :1777`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`setting the current value again is a no-op — no second notification`,derivedFrom:`adw-bottom-sheet.c:1672-1682`},{steps:[{kind:`setOpen`,open:!1}],outcomes:[],notifications:[],callbacks:[`closing`,`closed`],open:!1,hasBeenOpen:!1,rule:`THE REPLAY: closing a sheet that was NEVER open changes nothing and notifies nothing, but still fires closing+closed — this is how a dialog dismissed before it ever animated in gets torn down`,derivedFrom:`adw-bottom-sheet.c:1672-1682`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1},{kind:`setOpen`,open:!1}],outcomes:[],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`once has_been_open is set the replay branch is skipped: the third call fires NOTHING`,derivedFrom:`adw-bottom-sheet.c:1673 (the !has_been_open guard) + :1689`},{steps:[{kind:`setCanClose`,canClose:!1},{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1}],outcomes:[],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`can-close does NOT gate the programmatic path — "Bottom sheet can still be closed using [property@BottomSheet:open]"`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1661-1778 (never reads can_close) + the doc at :2071`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`dimming`}],outcomes:[`close`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`an accepted dismissal runs the same close path as the programmatic one`,derivedFrom:`released_cb adw-bottom-sheet.c:239 → adw_bottom_sheet_set_open`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`dimming`},{kind:`setOpen`,open:!0}],outcomes:[`close`],notifications:[!0,!1,!0],callbacks:[`closing`],open:!0,hasBeenOpen:!0,rule:`a dismissed sheet re-opens, and notifies a third time. Every other row stops at its first close, so a close path that latched (a listener torn down and never re-attached, a state that only travels one way) would leave the whole table green`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1661-1778: has_been_open (:1673) gates only the teardown replay, never a later open`},{steps:[{kind:`setOpen`,open:!0},{kind:`setCanClose`,canClose:!1},{kind:`requestClose`,source:`dimming`},{kind:`requestClose`,source:`escape`},{kind:`requestClose`,source:`swipe`}],outcomes:[`close-attempt`,`close-attempt`,`ignored`],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`a locked sheet signals the scrim and Escape but swallows the swipe — three affordances, two different answers`,derivedFrom:`released_cb:237-238 + maybe_close_cb:398 + prepare_cb:1050-1051`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`drag-handle`}],outcomes:[`ignored`],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`REGRESSION PIN: tapping the drag handle leaves an open sheet open. Both ports closed it here`,derivedFrom:`adw-bottom-sheet.c:1197-1198`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1},{kind:`requestClose`,source:`escape`},{kind:`requestClose`,source:`close-button`}],outcomes:[`close-attempt`,`delegate`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`REGRESSION PIN: on a closed sheet Escape still signals and sheet.close delegates upward — neither port did either`,derivedFrom:`maybe_close_cb:393-399 + sheet_close_cb:382-385`},{steps:[{kind:`setOpen`,open:!0},{kind:`setCanClose`,canClose:!1},{kind:`requestClose`,source:`escape`},{kind:`setCanClose`,canClose:!0},{kind:`requestClose`,source:`escape`}],outcomes:[`close-attempt`,`close`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`unlocking mid-life makes the same affordance start closing`,derivedFrom:`adw_bottom_sheet_set_can_close adw-bottom-sheet.c:2076-2091`}];export{e as BOTTOM_SHEET_CLOSE_VECTORS,t as BOTTOM_SHEET_PRESENTATION_VECTORS,runBottomSheetSteps};
|
|
1
|
+
import"../_virtual/_rolldown/runtime.js";const e=[{source:`dimming`,open:!0,canClose:!0,outcome:`close`,rule:`a scrim click on an unlocked open sheet closes it`,derivedFrom:`released_cb, adw-bottom-sheet.c:236-240`},{source:`dimming`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`a locked sheet SIGNALS the scrim click instead of swallowing it`,derivedFrom:`released_cb, adw-bottom-sheet.c:237-238`},{source:`dimming`,open:!1,canClose:!0,outcome:`ignored`,rule:`the scrim is not an event target while the sheet is closed, so nothing happens and nothing is signalled`,derivedFrom:`gtk_widget_set_can_target (self->dimming, open), adw-bottom-sheet.c:1148 + 1692`},{source:`dimming`,open:!1,canClose:!1,outcome:`ignored`,rule:`unreachable-while-closed beats the can-close signal — a locked CLOSED sheet says nothing`,derivedFrom:`adw-bottom-sheet.c:1692 (reachability) before released_cb:237`},{source:`escape`,open:!0,canClose:!0,outcome:`close`,rule:`Escape closes an unlocked open sheet`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:393-395`},{source:`escape`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`Escape on a locked sheet signals`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:398`},{source:`escape`,open:!1,canClose:!0,outcome:`close-attempt`,rule:`THE SURPRISING ONE: Escape on a closed-but-focused sheet still signals, because the emit is the fallthrough for every case that is not (can_close && open). The sheet bin stays focusable while it shows a bottom bar. Both ports returned nothing here`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:393-399`},{source:`escape`,open:!1,canClose:!1,outcome:`close-attempt`,rule:`the fallthrough covers this corner too`,derivedFrom:`maybe_close_cb, adw-bottom-sheet.c:398`},{source:`close-button`,open:!0,canClose:!0,outcome:`close`,rule:`the sheet.close action closes an unlocked open sheet`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:377-380`},{source:`close-button`,open:!0,canClose:!1,outcome:`close-attempt`,rule:`can_close is tested FIRST, before the open check`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:372-375`},{source:`close-button`,open:!1,canClose:!0,outcome:`delegate`,rule:`sheet.close on an already-closed sheet forwards the action to the PARENT (a sheet inside a sheet closes the outer one) rather than doing nothing`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:382-385`},{source:`close-button`,open:!1,canClose:!1,outcome:`close-attempt`,rule:`a locked sheet never reaches the delegation branch — the can_close guard returns first`,derivedFrom:`sheet_close_cb, adw-bottom-sheet.c:372-375`},{source:`drag-handle`,open:!0,canClose:!0,outcome:`ignored`,rule:`THE SHARED MISTAKE: the drag handle is not an event target in libadwaita, so it closes nothing. Both ports had wired it to close the sheet`,derivedFrom:`gtk_widget_set_can_focus/can_target (self->drag_handle, FALSE), adw-bottom-sheet.c:1197-1198`},{source:`drag-handle`,open:!0,canClose:!1,outcome:`ignored`,rule:`not a can-close question at all — a decorative widget cannot attempt anything`,derivedFrom:`adw-bottom-sheet.c:1197-1198`},{source:`drag-handle`,open:!1,canClose:!0,outcome:`ignored`,rule:`its only behavioural role is elsewhere: allow_mouse_drag = show_drag_handle || bottom_bar`,derivedFrom:`adw-bottom-sheet.c:1197-1198 + update_swipe_tracker:455-457`},{source:`swipe`,open:!0,canClose:!0,outcome:`close`,rule:`a downward swipe past the midpoint closes an unlocked open sheet`,derivedFrom:`prepare_cb adw-bottom-sheet.c:1050 → end_swipe_cb adw-bottom-sheet.c:1099-1103`},{source:`swipe`,open:!0,canClose:!1,outcome:`ignored`,rule:`a locked sheet swallows the swipe SILENTLY — prepare_cb refuses to detect it, so unlike the scrim and Escape there is no close-attempt`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1050-1051`},{source:`swipe`,open:!1,canClose:!0,outcome:`ignored`,rule:`a swipe on a closed sheet is an OPEN gesture (gated by can-open), never a close one`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1052-1053`}];function runBottomSheetSteps(e,t){let n=[];for(let r of t)switch(r.kind){case`setOpen`:e.setOpen(r.open);break;case`setCanClose`:e.setCanClose(r.canClose);break;case`requestClose`:n.push(e.requestClose(r.source));break}return n}const t=[{steps:[],outcomes:[],notifications:[],callbacks:[],open:!1,hasBeenOpen:!1,rule:`a fresh sheet is closed, unlocked and has never been open`,derivedFrom:`adw_bottom_sheet_init adw-bottom-sheet.c:1125-1133 + the open pspec default at :852-855`},{steps:[{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`opening notifies once and latches has_been_open`,derivedFrom:`adw-bottom-sheet.c:1684-1689 + the notify at :1777`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`setting the current value again is a no-op — no second notification`,derivedFrom:`adw-bottom-sheet.c:1672-1682`},{steps:[{kind:`setOpen`,open:!1}],outcomes:[],notifications:[],callbacks:[`closing`,`closed`],open:!1,hasBeenOpen:!1,rule:`THE REPLAY: closing a sheet that was NEVER open changes nothing and notifies nothing, but still fires closing+closed — this is how a dialog dismissed before it ever animated in gets torn down`,derivedFrom:`adw-bottom-sheet.c:1672-1682`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1},{kind:`setOpen`,open:!1}],outcomes:[],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`once has_been_open is set the replay branch is skipped: the third call fires NOTHING`,derivedFrom:`adw-bottom-sheet.c:1673 (the !has_been_open guard) + :1689`},{steps:[{kind:`setCanClose`,canClose:!1},{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1}],outcomes:[],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`can-close does NOT gate the programmatic path — "Bottom sheet can still be closed using [property@BottomSheet:open]"`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1661-1778 (never reads can_close) + the doc at :2071`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`dimming`}],outcomes:[`close`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`an accepted dismissal runs the same close path as the programmatic one`,derivedFrom:`released_cb adw-bottom-sheet.c:239 → adw_bottom_sheet_set_open`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`dimming`},{kind:`setOpen`,open:!0}],outcomes:[`close`],notifications:[!0,!1,!0],callbacks:[`closing`],open:!0,hasBeenOpen:!0,rule:`a dismissed sheet re-opens, and notifies a third time. Every other row stops at its first close, so a close path that latched (a listener torn down and never re-attached, a state that only travels one way) would leave the whole table green`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1661-1778: has_been_open (:1673) gates only the teardown replay, never a later open`},{steps:[{kind:`setOpen`,open:!0},{kind:`setCanClose`,canClose:!1},{kind:`requestClose`,source:`dimming`},{kind:`requestClose`,source:`escape`},{kind:`requestClose`,source:`swipe`}],outcomes:[`close-attempt`,`close-attempt`,`ignored`],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`a locked sheet signals the scrim and Escape but swallows the swipe — three affordances, two different answers`,derivedFrom:`released_cb:237-238 + maybe_close_cb:398 + prepare_cb:1050-1051`},{steps:[{kind:`setOpen`,open:!0},{kind:`requestClose`,source:`drag-handle`}],outcomes:[`ignored`],notifications:[!0],callbacks:[],open:!0,hasBeenOpen:!0,rule:`REGRESSION PIN: tapping the drag handle leaves an open sheet open. Both ports closed it here`,derivedFrom:`adw-bottom-sheet.c:1197-1198`},{steps:[{kind:`setOpen`,open:!0},{kind:`setOpen`,open:!1},{kind:`requestClose`,source:`escape`},{kind:`requestClose`,source:`close-button`}],outcomes:[`close-attempt`,`delegate`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`REGRESSION PIN: on a closed sheet Escape still signals and sheet.close delegates upward — neither port did either`,derivedFrom:`maybe_close_cb:393-399 + sheet_close_cb:382-385`},{steps:[{kind:`setOpen`,open:!0},{kind:`setCanClose`,canClose:!1},{kind:`requestClose`,source:`escape`},{kind:`setCanClose`,canClose:!0},{kind:`requestClose`,source:`escape`}],outcomes:[`close-attempt`,`close`],notifications:[!0,!1],callbacks:[`closing`],open:!1,hasBeenOpen:!0,rule:`unlocking mid-life makes the same affordance start closing`,derivedFrom:`adw_bottom_sheet_set_can_close adw-bottom-sheet.c:2076-2091`}],n=[{source:`bottom-bar`,open:!1,canOpen:!0,hasBottomBar:!0,revealBottomBar:!0,outcome:`open`,rule:`THE AFFORDANCE: clicking the bottom bar of a closed, unlocked sheet opens it. This is the row both ports were missing, and with it the only way in`,derivedFrom:`bottom_bar_released_cb, adw-bottom-sheet.c:279-280 (and bottom_bar_clicked_cb:404-406 for the keyboard door)`},{source:`bottom-bar`,open:!1,canOpen:!1,hasBottomBar:!0,revealBottomBar:!0,outcome:`ignored`,rule:`can-open off refuses the click, and refuses it SILENTLY — there is no open-attempt signal to answer with`,derivedFrom:`bottom_bar_released_cb, adw-bottom-sheet.c:269-272`},{source:`bottom-bar`,open:!1,canOpen:!0,hasBottomBar:!1,revealBottomBar:!0,outcome:`ignored`,rule:`NO BAR, NO DOOR: with bottom-bar unset the stack never shows the bin, so can-open has nothing to gate — upstream says so in the property docs`,derivedFrom:`show_bottom_bar adw-bottom-sheet.c:294-295 + set_bottom_bar:1615-1616 + the can-open doc at :2013`},{source:`bottom-bar`,open:!1,canOpen:!1,hasBottomBar:!1,revealBottomBar:!0,outcome:`ignored`,rule:`both gates shut is still one answer`,derivedFrom:`adw-bottom-sheet.c:269-272 + :294-295`},{source:`bottom-bar`,open:!1,canOpen:!0,hasBottomBar:!0,revealBottomBar:!1,outcome:`ignored`,rule:`a bar that is not revealed is off screen, so there is nothing to click — the sheet bin is child-invisible at rest`,derivedFrom:`reveal_animation_done_cb, adw-bottom-sheet.c:362-364 (same expression at :341-343)`},{source:`bottom-bar`,open:!0,canOpen:!0,hasBottomBar:!0,revealBottomBar:!0,outcome:`ignored`,rule:`an open sheet shows the sheet page, not the bar: the affordance is not on screen to be clicked twice`,derivedFrom:`adw_bottom_sheet_set_open, adw-bottom-sheet.c:1701-1702`},{source:`swipe`,open:!1,canOpen:!0,hasBottomBar:!0,revealBottomBar:!0,outcome:`open`,rule:`an upward swipe off the bar opens the sheet — the tracker arm that is live precisely when a bar exists`,derivedFrom:`update_swipe_tracker adw-bottom-sheet.c:451-453 + prepare_cb:1052-1053`},{source:`swipe`,open:!1,canOpen:!1,hasBottomBar:!0,revealBottomBar:!0,outcome:`ignored`,rule:`prepare_cb refuses to detect an opening swipe on a sheet that may not be opened`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1052-1053`},{source:`swipe`,open:!1,canOpen:!0,hasBottomBar:!1,revealBottomBar:!0,outcome:`ignored`,rule:`THE QUIET ONE: with no bar the tracker may still be enabled by can-close, but the swipe AREA is a zero-height rectangle at progress 0, so no drag ever starts. can-open cannot rescue it`,derivedFrom:`get_swipe_area, adw-bottom-sheet.c:1412-1433 (bottom_bar_height = 0, so rect.height = 0)`},{source:`swipe`,open:!0,canOpen:!0,hasBottomBar:!0,revealBottomBar:!0,outcome:`ignored`,rule:`a gesture on an OPEN sheet is a dismissal, handled by the close gate — never a second open`,derivedFrom:`prepare_cb, adw-bottom-sheet.c:1050-1051`},{source:`drag-handle`,open:!1,canOpen:!0,hasBottomBar:!0,revealBottomBar:!0,outcome:`ignored`,rule:`REGRESSION PIN: the handle is untargetable, so it is not the way in either. Making it the open affordance to compensate for a missing bottom bar would contradict BOTTOM_SHEET_CLOSE_VECTORS, which pins the same widget as inert on the way out`,derivedFrom:`gtk_widget_set_can_focus/can_target (self->drag_handle, FALSE), adw-bottom-sheet.c:1197-1198`},{source:`drag-handle`,open:!1,canOpen:!0,hasBottomBar:!1,revealBottomBar:!0,outcome:`ignored`,rule:`and it is not a fallback for a sheet without a bar — a decorative widget has no state in which it acts`,derivedFrom:`adw-bottom-sheet.c:1196-1198`}],r=[{state:{canOpen:!0,canClose:!1,hasBottomBar:!1,showDragHandle:!0},config:{enabled:!1,allowMouseDrag:!0,lowerOvershoot:!1},rule:"THE CONJUNCT: can-open alone does not enable the tracker — the `&& bottom_bar != NULL` beside it is why a barless sheet is unopenable by gesture",derivedFrom:`update_swipe_tracker, adw-bottom-sheet.c:451-453`},{state:{canOpen:!0,canClose:!1,hasBottomBar:!0,showDragHandle:!0},config:{enabled:!0,allowMouseDrag:!0,lowerOvershoot:!0},rule:`with a bar, can-open enables the tracker on its own — a sheet that can be opened but never dismissed by gesture`,derivedFrom:`adw-bottom-sheet.c:451-453 + :458-459`},{state:{canOpen:!1,canClose:!0,hasBottomBar:!1,showDragHandle:!0},config:{enabled:!0,allowMouseDrag:!0,lowerOvershoot:!1},rule:`the other arm: can-close enables it with no bar at all, which is the barless sheet every port shipped — a tracker that exists only to CLOSE`,derivedFrom:`adw-bottom-sheet.c:451-453`},{state:{canOpen:!1,canClose:!1,hasBottomBar:!0,showDragHandle:!0},config:{enabled:!1,allowMouseDrag:!0,lowerOvershoot:!0},rule:`both gates shut disables the tracker even though a bar exists — presence of a bar is necessary, never sufficient`,derivedFrom:`adw-bottom-sheet.c:451-453`},{state:{canOpen:!0,canClose:!0,hasBottomBar:!0,showDragHandle:!1},config:{enabled:!0,allowMouseDrag:!0,lowerOvershoot:!0},rule:`a bar substitutes for the drag handle as the thing a MOUSE may drag — the handle is decorative, but it is what allow_mouse_drag keys on when there is no bar`,derivedFrom:`adw-bottom-sheet.c:455-457`},{state:{canOpen:!0,canClose:!0,hasBottomBar:!1,showDragHandle:!1},config:{enabled:!0,allowMouseDrag:!1,lowerOvershoot:!1},rule:`no handle and no bar leaves a touch-only tracker: enabled by can-close, but nothing on screen invites a mouse to drag it`,derivedFrom:`adw-bottom-sheet.c:455-459`}];function runBottomSheetBottomBarSteps(e,t){let n=[];for(let r of t)switch(r.kind){case`setBottomBar`:e.setBottomBar(r.present);break;case`setCanOpen`:e.setCanOpen(r.canOpen);break;case`setRevealBottomBar`:e.setRevealBottomBar(r.reveal);break;case`setModal`:e.setModal(r.modal);break;case`setOpen`:e.setOpen(r.open);break;case`requestOpen`:n.push(e.requestOpen(r.source));break}return n}const i=[{steps:[],outcomes:[],notifications:[],open:!1,chrome:{layer:`sheet`,surfaceVisible:!1,bottomBarInert:!1,dimmed:!1},rule:`a fresh sheet has NO bottom bar and is off screen — but can-open already defaults TRUE, so the gate is open and only the bar is missing`,derivedFrom:`adw_bottom_sheet_init adw-bottom-sheet.c:1129-1132 + the can-open pspec default at :940-943`},{steps:[{kind:`setBottomBar`,present:!0}],outcomes:[],notifications:[],open:!1,chrome:{layer:`bottom-bar`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!1},rule:`adopting a bar puts the sheet bin on screen showing the BAR, without opening anything and without notifying`,derivedFrom:`adw_bottom_sheet_set_bottom_bar adw-bottom-sheet.c:1613-1627`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`open`],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!0},rule:`THE WHOLE POINT: the bar is clicked, the sheet opens, and the bin morphs from bar to sheet`,derivedFrom:`bottom_bar_released_cb adw-bottom-sheet.c:279-280 -> set_open:1701-1702`},{steps:[{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`ignored`],notifications:[],open:!1,chrome:{layer:`sheet`,surfaceVisible:!1,bottomBarInert:!1,dimmed:!1},rule:"REGRESSION PIN: with no bar there is no affordance, and the sheet stays unreachable. This is the state both ports shipped in, and the reason a consumer reached for `open = true` beside the widget",derivedFrom:`adw-bottom-sheet.c:294-295 + the can-open doc at :2013`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`setCanOpen`,canOpen:!1},{kind:`requestOpen`,source:`bottom-bar`},{kind:`requestOpen`,source:`swipe`}],outcomes:[`ignored`,`ignored`],notifications:[],open:!1,chrome:{layer:`bottom-bar`,surfaceVisible:!0,bottomBarInert:!0,dimmed:!1},rule:`a locked-open bar STAYS ON SCREEN and merely looks inert — unlike can-close, which has a signal, can-open just refuses`,derivedFrom:`adw_bottom_sheet_set_can_open adw-bottom-sheet.c:2031-2038`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`setCanOpen`,canOpen:!1},{kind:`requestOpen`,source:`bottom-bar`},{kind:`setCanOpen`,canOpen:!0},{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`ignored`,`open`],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!0},rule:`unlocking mid-life makes the same affordance start working, and drops the inert class with it`,derivedFrom:`adw-bottom-sheet.c:2028-2040`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`setRevealBottomBar`,reveal:!1},{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`ignored`],notifications:[],open:!1,chrome:{layer:`bottom-bar`,surfaceVisible:!1,bottomBarInert:!1,dimmed:!1},rule:"hiding the bar hides the whole bin, so the click cannot land — note the layer is still `bottom-bar`: it is the SURFACE that is gone, not the choice of child",derivedFrom:`adw_bottom_sheet_set_reveal_bottom_bar adw-bottom-sheet.c:2177-2191 + reveal_animation_done_cb:362-364`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`setRevealBottomBar`,reveal:!1},{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!0},rule:`reveal-bottom-bar governs the BAR, never the sheet: an owner opens a sheet whose bar is hidden and the sheet still shows`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1686 (child_visible TRUE unconditionally on open)`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`requestOpen`,source:`bottom-bar`},{kind:`setOpen`,open:!1},{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`open`,`open`],notifications:[!0,!1,!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!0},rule:`the bar comes BACK when the sheet closes and opens it again — a port that switched to the sheet page once and never switched back would leave every row above green and the second click dead`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1701-1705 (show_bottom_bar TRUE on the closing side)`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`setBottomBar`,present:!1},{kind:`requestOpen`,source:`bottom-bar`}],outcomes:[`ignored`],notifications:[],open:!1,chrome:{layer:`sheet`,surfaceVisible:!1,bottomBarInert:!1,dimmed:!1},rule:`taking the bar away takes the affordance with it — presence is state, not a one-way latch`,derivedFrom:`adw_bottom_sheet_set_bottom_bar adw-bottom-sheet.c:1610-1629`},{steps:[{kind:`setBottomBar`,present:!0},{kind:`requestOpen`,source:`drag-handle`},{kind:`requestOpen`,source:`swipe`}],outcomes:[`ignored`,`open`],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!0},rule:`the handle stays inert even where an open affordance exists beside it, and the swipe is that affordance`,derivedFrom:`adw-bottom-sheet.c:1197-1198 + prepare_cb:1052-1053`},{steps:[{kind:`setModal`,modal:!1},{kind:`setOpen`,open:!0}],outcomes:[],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!1},rule:`a non-modal sheet opens over content that stays undimmed and reachable — there is no scrim to click`,derivedFrom:`adw_bottom_sheet_set_open adw-bottom-sheet.c:1686-1687 (child_visible = modal)`},{steps:[{kind:`setOpen`,open:!0},{kind:`setModal`,modal:!1}],outcomes:[],notifications:[!0],open:!0,chrome:{layer:`sheet`,surfaceVisible:!0,bottomBarInert:!1,dimmed:!1},rule:`turning modal off while the sheet is up takes the dimming away at once, without closing or notifying`,derivedFrom:`adw_bottom_sheet_set_modal adw-bottom-sheet.c:1981-1982`},{steps:[{kind:`setModal`,modal:!1},{kind:`setModal`,modal:!0}],outcomes:[],notifications:[],open:!1,chrome:{layer:`sheet`,surfaceVisible:!1,bottomBarInert:!1,dimmed:!1},rule:`modal alone never dims: a closed sheet has nothing to dim for, whatever modal says`,derivedFrom:`adw-bottom-sheet.c:1981 (only while progress is not 0) + open_animation_done_cb:338-339`}];export{i as BOTTOM_SHEET_BOTTOM_BAR_VECTORS,e as BOTTOM_SHEET_CLOSE_VECTORS,n as BOTTOM_SHEET_OPEN_VECTORS,t as BOTTOM_SHEET_PRESENTATION_VECTORS,r as BOTTOM_SHEET_SWIPE_TRACKER_VECTORS,runBottomSheetBottomBarSteps,runBottomSheetSteps};
|
|
@@ -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{ACCENT_COLOR_VECTORS as p}from"./accent.js";import{ACTION_ROW_ACTIVATION_VECTORS as m,BUTTON_ROW_ACTIVATABLE_VECTORS as h,BUTTON_ROW_ICON_VECTORS as g,LABEL_VISIBILITY_VECTORS as _,SWITCH_ROW_NOTIFY_VECTORS as v,WINDOW_TITLE_VECTORS as y}from"./action-row.js";import{ADJUSTMENT_AUTHORED_VECTORS as b,ADJUSTMENT_PARSE_VECTORS as x,ADJUSTMENT_SNAP_VECTORS as S}from"./adjustment.js";import{AVATAR_COLOR_VECTORS as C,AVATAR_FONT_SIZE_VECTORS as w,AVATAR_ICON_SIZE_VECTORS as T,AVATAR_INITIALS_VECTORS as E,AVATAR_MODE_VECTORS as D}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as O,BANNER_BUTTON_STYLE_VECTORS as k,BANNER_BUTTON_TEXT_VECTORS as A,BANNER_BUTTON_VISIBLE_VECTORS as j,BANNER_DEFAULT_VECTORS as M}from"./banner.js";import{BREAKPOINT_PICK_VECTORS as N,BREAKPOINT_TRANSITION_VECTORS as P}from"./breakpoint-bin.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as F,BUTTON_CONTENT_ELLIPSIZE_VECTORS as I,BUTTON_CONTENT_ICON_VECTORS as L,BUTTON_CONTENT_LABEL_VECTORS as R,BUTTON_CONTENT_STYLE_TARGET_VECTORS as z,BUTTON_CONTENT_TEXT_VECTORS as B}from"./button-content.js";import{BUTTON_STYLE_CLASS_VECTORS as V}from"./button.js";import{CAROUSEL_CLAMP_VECTORS as H,CAROUSEL_NAVIGATE_VECTORS as U,CAROUSEL_PAGE_ALLOCATION_VECTORS as W,CAROUSEL_PAGE_AT_POSITION_VECTORS as G,CAROUSEL_PAGE_LIST_VECTORS as K,CAROUSEL_PROPERTY_DEFAULT_VECTORS as q,CAROUSEL_RANGE_VECTORS as J,CAROUSEL_REORDER_SHIFT_VECTORS as Y,CAROUSEL_REVEAL_VECTORS as X,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as Z,CAROUSEL_SNAP_POINT_VECTORS as Q,CAROUSEL_WHEEL_LOCKOUT_VECTORS as $,CAROUSEL_WHEEL_VECTORS as ee}from"./carousel.js";import{RADIO_GROUP_VECTORS as te}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as ne,CLAMP_CHILD_SIZE_VECTORS as re,CLAMP_PROPERTY_VECTORS as ie,CLAMP_SIZE_FROM_CHILD_VECTORS as ae,CLAMP_THRESHOLD_VECTORS as oe,SPINNER_GEOMETRY_VECTORS as se,SPINNER_SIZE_VECTORS as ce,TOOLBAR_VIEW_ALLOCATE_VECTORS as le,TOOLBAR_VIEW_CLASS_VECTORS as ue,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as de,TOOLBAR_VIEW_MEASURE_VECTORS as fe}from"./chrome.js";import{DATA_GRID_CELL_TEXT_VECTORS as pe,DATA_GRID_COLUMN_CLASS_VECTORS as me,DATA_GRID_COLUMN_NORMALIZE_VECTORS as he,DATA_GRID_INTERACTIVE_VECTORS as ge,DATA_GRID_TRACK_VECTORS as _e,DATA_GRID_VARIANT_VECTORS as ve}from"./data-grid.js";import{BOTTOM_SHEET_CLOSE_VECTORS as ye,BOTTOM_SHEET_PRESENTATION_VECTORS as be,runBottomSheetSteps as xe}from"./dialog.js";import{ENTRY_MAX_LENGTH_VECTORS as Se,ENTRY_ROW_ACTIVATION_VECTORS as Ce,ENTRY_ROW_GUARD_VECTORS as we,ENTRY_ROW_STATE_VECTORS as Te,ENTRY_TEXT_LENGTH_VECTORS as Ee,PASSWORD_ENTRY_ROW_VECTORS as De,PASSWORD_REVEAL_GUARD_VECTORS as Oe}from"./entry-row.js";import{HEADER_BAR_PACK_VECTORS as ke,HEADER_BAR_TITLE_SOURCE_VECTORS as Ae,HEADER_BAR_TITLE_WIDGET_VECTORS as je}from"./header-bar.js";import{COMBO_CHOOSER_VECTORS as Me,COMBO_SELECTION_VECTORS as Ne}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as Pe,VIEW_STACK_PAGE_VECTORS as Fe,VIEW_STACK_VECTORS as Ie}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as Le,collectNavigationState as Re,navigationEventLog as ze,runNavigationSteps as Be}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as Ve,SIDEBAR_CLAMP_VECTORS as He,SIDEBAR_FILTER_VECTORS as Ue,SIDEBAR_ITEMS_CHANGED_VECTORS as We,SIDEBAR_ITEM_FLAG_VECTORS as Ge,SIDEBAR_MODEL_VECTORS as Ke,SIDEBAR_MODE_VECTORS as qe}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as Je,GLIB_CLAMP_VECTORS as Ye,NATURAL_SIDEBAR_WIDTH_VECTORS as Xe,NAVIGATION_ACTION_VECTORS as Ze,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as Qe,NAVIGATION_STACK_VECTORS as $e,OVERLAY_COLLAPSE_VECTORS as et,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as tt,OVERLAY_SWIPE_AREA_VECTORS as nt,OVERLAY_SWIPE_CANCEL_VECTORS as rt,OVERLAY_SWIPE_RELEASE_VECTORS as it,OVERLAY_SWIPE_SNAP_POINT_VECTORS as at,OVERLAY_SWIPE_START_VECTORS as ot,SIDEBAR_BOUNDS_VECTORS as st,SIDEBAR_WIDTH_VECTORS as ct,SPLIT_VIEW_MEASURE_VECTORS as lt,TAGS_CONFLICT_VECTORS as ut}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as dt,SPLIT_BUTTON_CONTENT_VECTORS as ft,SPLIT_BUTTON_DIRECTION_VECTORS as pt,SPLIT_BUTTON_DROPDOWN_VECTORS as mt,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as ht,SPLIT_BUTTON_ROOT_STATE_VECTORS as gt,SPLIT_BUTTON_STYLE_CLASS_VECTORS as _t,SPLIT_BUTTON_TOOLTIP_VECTORS as vt}from"./split-button.js";import{LIST_ITEMS_CHANGED_VECTORS as yt,LIST_MODEL_OWNERSHIP_VECTORS as bt,LIST_NORMALIZE_VECTORS as xt,LIST_PARSE_VECTORS as St,LIST_SELECTION_CLAMP_VECTORS as Ct,TAB_PAGES_ITEMS_CHANGED_VECTORS as wt,applyListReadback as Tt,replayTabPagesAsSplices as Et}from"./list.js";import{MENU_DETAILED_ACTION_VECTORS as Dt,MENU_FLATTEN_VECTORS as Ot,MENU_ITEM_STATE_VECTORS as kt,MENU_NORMALIZE_VECTORS as At,MENU_PARSE_VECTORS as jt,MENU_REFUSAL_VECTORS as Mt}from"./menu.js";import{INLINE_TOGGLE_VECTORS as Nt,INLINE_TOOLTIP_VECTORS as Pt,VIEW_SWITCHER_BADGE_VECTORS as Ft,VIEW_SWITCHER_BAR_REVEAL_VECTORS as It,VIEW_SWITCHER_BAR_VECTORS as Lt,VIEW_SWITCHER_BUTTON_VECTORS as Rt,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as zt,VIEW_SWITCHER_DRAG_VECTORS as Bt,VIEW_SWITCHER_ICON_VECTORS as Vt,VIEW_SWITCHER_MNEMONIC_VECTORS as Ht,VIEW_SWITCHER_REBUILD_VECTORS as Ut,VIEW_SWITCHER_SELECTION_VECTORS as Wt,createViewSwitcherClock as Gt}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as Kt,TAB_CLOSE_VISIBLE_VECTORS as qt,TAB_DESCENDANT_VECTORS as Jt,TAB_ICON_STATE_VECTORS as Yt,TAB_PAGE_DESCRIPTOR_VECTORS as Xt,TAB_SUCCESSOR_VECTORS as Zt,TAB_TOOLTIP_VECTORS as Qt,TAB_VIEW_VECTORS as $t,applyTabViewOp as en,seedTabViewPages as tn,tabViewClosing as nn,tabViewOrder as rn}from"./tab-view.js";import{CASE_FOLD_VECTORS as an,MAKE_COMPARABLE_VECTORS as on,PREFERENCES_GROUP_HEADER_VECTORS as sn,PREFERENCES_SEARCH_PAGES as cn,PREFERENCES_SEARCH_VECTORS as ln,ROW_MATCH_VECTORS as un,SEARCH_CORPUS_VECTORS as dn,SEARCH_ROW_SUBTITLE_VECTORS as fn,STRIP_MARKUP_VECTORS as pn,STRIP_MNEMONIC_VECTORS as mn}from"./preferences.js";import{POPOVER_KEY_VECTORS as hn,POPOVER_SURFACE_VECTORS as gn}from"./popover.js";import{SHORTCUT_LABEL_VECTORS as _n,formatShortcutLabelNodes as vn}from"./shortcut-label.js";import{SPINNER_ARC_ENVELOPE as yn,SPINNER_ARC_PHASE_VECTORS as bn,SPINNER_ARC_TOLERANCE as xn,SPINNER_CONSTANT_VECTORS as Sn}from"./spinner.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as Cn,WRAP_BOX_LENGTH_VECTORS as wn,WRAP_BOX_LINE_VECTORS as Tn,WRAP_BOX_NATURAL_LENGTH_VECTORS as En,WRAP_BOX_NOTIFY_PROPERTIES as Dn,WRAP_BOX_POLICY_VECTORS as On,WRAP_BOX_SPACING_NOTIFY_VECTORS as kn,WRAP_BOX_SPACING_VECTORS as An}from"./wrap-box.js";import{SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS as jn,SHARED_TREE_TABLES as Mn,authoredNodes as Nn,authoredTags as Pn,reachedTables as Fn,sharedTreeExpectations as In,subjectIndexOf as Ln}from"./shared-trees.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 ACCENT_COLOR_VECTORS,m as ACTION_ROW_ACTIVATION_VECTORS,b as ADJUSTMENT_AUTHORED_VECTORS,x as ADJUSTMENT_PARSE_VECTORS,S as ADJUSTMENT_SNAP_VECTORS,Je as ADW_LENGTH_UNIT_VECTORS,C as AVATAR_COLOR_VECTORS,w as AVATAR_FONT_SIZE_VECTORS,T as AVATAR_ICON_SIZE_VECTORS,E as AVATAR_INITIALS_VECTORS,D as AVATAR_MODE_VECTORS,O as BANNER_BUTTON_STYLE_PARSE_VECTORS,k as BANNER_BUTTON_STYLE_VECTORS,A as BANNER_BUTTON_TEXT_VECTORS,j as BANNER_BUTTON_VISIBLE_VECTORS,M as BANNER_DEFAULT_VECTORS,ye as BOTTOM_SHEET_CLOSE_VECTORS,be as BOTTOM_SHEET_PRESENTATION_VECTORS,N as BREAKPOINT_PICK_VECTORS,P as BREAKPOINT_TRANSITION_VECTORS,F as BUTTON_CONTENT_DEFAULT_VECTORS,I as BUTTON_CONTENT_ELLIPSIZE_VECTORS,L as BUTTON_CONTENT_ICON_VECTORS,R as BUTTON_CONTENT_LABEL_VECTORS,z as BUTTON_CONTENT_STYLE_TARGET_VECTORS,B as BUTTON_CONTENT_TEXT_VECTORS,h as BUTTON_ROW_ACTIVATABLE_VECTORS,g as BUTTON_ROW_ICON_VECTORS,V as BUTTON_STYLE_CLASS_VECTORS,H as CAROUSEL_CLAMP_VECTORS,U as CAROUSEL_NAVIGATE_VECTORS,W as CAROUSEL_PAGE_ALLOCATION_VECTORS,G as CAROUSEL_PAGE_AT_POSITION_VECTORS,K as CAROUSEL_PAGE_LIST_VECTORS,q as CAROUSEL_PROPERTY_DEFAULT_VECTORS,J as CAROUSEL_RANGE_VECTORS,Y as CAROUSEL_REORDER_SHIFT_VECTORS,X as CAROUSEL_REVEAL_VECTORS,Z as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,Q as CAROUSEL_SNAP_POINT_VECTORS,$ as CAROUSEL_WHEEL_LOCKOUT_VECTORS,ee as CAROUSEL_WHEEL_VECTORS,an as CASE_FOLD_VECTORS,ne as CLAMP_ALLOCATE_VECTORS,re as CLAMP_CHILD_SIZE_VECTORS,ie as CLAMP_PROPERTY_VECTORS,ae as CLAMP_SIZE_FROM_CHILD_VECTORS,oe as CLAMP_THRESHOLD_VECTORS,Me as COMBO_CHOOSER_VECTORS,Ne as COMBO_SELECTION_VECTORS,a as CREDITS_SECTIONS_VECTORS,o as CREDIT_PERSON_VECTORS,pe as DATA_GRID_CELL_TEXT_VECTORS,me as DATA_GRID_COLUMN_CLASS_VECTORS,he as DATA_GRID_COLUMN_NORMALIZE_VECTORS,ge as DATA_GRID_INTERACTIVE_VECTORS,_e as DATA_GRID_TRACK_VECTORS,ve as DATA_GRID_VARIANT_VECTORS,Se as ENTRY_MAX_LENGTH_VECTORS,Ce as ENTRY_ROW_ACTIVATION_VECTORS,we as ENTRY_ROW_GUARD_VECTORS,Te as ENTRY_ROW_STATE_VECTORS,Ee as ENTRY_TEXT_LENGTH_VECTORS,Ye as GLIB_CLAMP_VECTORS,ke as HEADER_BAR_PACK_VECTORS,Ae as HEADER_BAR_TITLE_SOURCE_VECTORS,je as HEADER_BAR_TITLE_WIDGET_VECTORS,Nt as INLINE_TOGGLE_VECTORS,Pt as INLINE_TOOLTIP_VECTORS,_ 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,yt as LIST_ITEMS_CHANGED_VECTORS,bt as LIST_MODEL_OWNERSHIP_VECTORS,xt as LIST_NORMALIZE_VECTORS,St as LIST_PARSE_VECTORS,Ct as LIST_SELECTION_CLAMP_VECTORS,on as MAKE_COMPARABLE_VECTORS,dt as MENU_BUTTON_DIRECTION_VECTORS,Dt as MENU_DETAILED_ACTION_VECTORS,Ot as MENU_FLATTEN_VECTORS,kt as MENU_ITEM_STATE_VECTORS,At as MENU_NORMALIZE_VECTORS,jt as MENU_PARSE_VECTORS,Mt as MENU_REFUSAL_VECTORS,Xe as NATURAL_SIDEBAR_WIDTH_VECTORS,Ze as NAVIGATION_ACTION_VECTORS,Qe as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,$e as NAVIGATION_STACK_VECTORS,Le as NAVIGATION_VIEW_VECTORS,et as OVERLAY_COLLAPSE_VECTORS,tt as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,nt as OVERLAY_SWIPE_AREA_VECTORS,rt as OVERLAY_SWIPE_CANCEL_VECTORS,it as OVERLAY_SWIPE_RELEASE_VECTORS,at as OVERLAY_SWIPE_SNAP_POINT_VECTORS,ot as OVERLAY_SWIPE_START_VECTORS,De as PASSWORD_ENTRY_ROW_VECTORS,Oe as PASSWORD_REVEAL_GUARD_VECTORS,hn as POPOVER_KEY_VECTORS,gn as POPOVER_SURFACE_VECTORS,sn as PREFERENCES_GROUP_HEADER_VECTORS,cn as PREFERENCES_SEARCH_PAGES,ln as PREFERENCES_SEARCH_VECTORS,te as RADIO_GROUP_VECTORS,un as ROW_MATCH_VECTORS,dn as SEARCH_CORPUS_VECTORS,fn as SEARCH_ROW_SUBTITLE_VECTORS,jn as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,Mn as SHARED_TREE_TABLES,_n as SHORTCUT_LABEL_VECTORS,Ve as SIDEBAR_ACTIVATION_VECTORS,st as SIDEBAR_BOUNDS_VECTORS,He as SIDEBAR_CLAMP_VECTORS,Ue as SIDEBAR_FILTER_VECTORS,We as SIDEBAR_ITEMS_CHANGED_VECTORS,Ge as SIDEBAR_ITEM_FLAG_VECTORS,Ke as SIDEBAR_MODEL_VECTORS,qe as SIDEBAR_MODE_VECTORS,ct as SIDEBAR_WIDTH_VECTORS,yn as SPINNER_ARC_ENVELOPE,bn as SPINNER_ARC_PHASE_VECTORS,xn as SPINNER_ARC_TOLERANCE,Sn as SPINNER_CONSTANT_VECTORS,se as SPINNER_GEOMETRY_VECTORS,ce as SPINNER_SIZE_VECTORS,ft as SPLIT_BUTTON_CONTENT_VECTORS,pt as SPLIT_BUTTON_DIRECTION_VECTORS,mt as SPLIT_BUTTON_DROPDOWN_VECTORS,ht as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,gt as SPLIT_BUTTON_ROOT_STATE_VECTORS,_t as SPLIT_BUTTON_STYLE_CLASS_VECTORS,vt as SPLIT_BUTTON_TOOLTIP_VECTORS,lt as SPLIT_VIEW_MEASURE_VECTORS,pn as STRIP_MARKUP_VECTORS,mn as STRIP_MNEMONIC_VECTORS,v as SWITCH_ROW_NOTIFY_VECTORS,Kt as TABS_REVEALED_VECTORS,qt as TAB_CLOSE_VISIBLE_VECTORS,Jt as TAB_DESCENDANT_VECTORS,Yt as TAB_ICON_STATE_VECTORS,wt as TAB_PAGES_ITEMS_CHANGED_VECTORS,Xt as TAB_PAGE_DESCRIPTOR_VECTORS,Zt as TAB_SUCCESSOR_VECTORS,Qt as TAB_TOOLTIP_VECTORS,$t as TAB_VIEW_VECTORS,ut as TAGS_CONFLICT_VECTORS,le as TOOLBAR_VIEW_ALLOCATE_VECTORS,ue as TOOLBAR_VIEW_CLASS_VECTORS,de as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,fe as TOOLBAR_VIEW_MEASURE_VECTORS,f as TRANSLATOR_CREDITS_VECTORS,Pe as VIEW_STACK_ICON_NAME_VECTORS,Fe as VIEW_STACK_PAGE_VECTORS,Ie as VIEW_STACK_VECTORS,Ft as VIEW_SWITCHER_BADGE_VECTORS,It as VIEW_SWITCHER_BAR_REVEAL_VECTORS,Lt as VIEW_SWITCHER_BAR_VECTORS,Rt as VIEW_SWITCHER_BUTTON_VECTORS,zt as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,Bt as VIEW_SWITCHER_DRAG_VECTORS,Vt as VIEW_SWITCHER_ICON_VECTORS,Ht as VIEW_SWITCHER_MNEMONIC_VECTORS,Ut as VIEW_SWITCHER_REBUILD_VECTORS,Wt as VIEW_SWITCHER_SELECTION_VECTORS,y as WINDOW_TITLE_VECTORS,Cn as WRAP_BOX_CHILD_ORDER_VECTORS,wn as WRAP_BOX_LENGTH_VECTORS,Tn as WRAP_BOX_LINE_VECTORS,En as WRAP_BOX_NATURAL_LENGTH_VECTORS,Dn as WRAP_BOX_NOTIFY_PROPERTIES,On as WRAP_BOX_POLICY_VECTORS,kn as WRAP_BOX_SPACING_NOTIFY_VECTORS,An as WRAP_BOX_SPACING_VECTORS,Tt as applyListReadback,en as applyTabViewOp,Nn as authoredNodes,Pn as authoredTags,Re as collectNavigationState,Gt as createViewSwitcherClock,vn as formatShortcutLabelNodes,ze as navigationEventLog,Fn as reachedTables,Et as replayTabPagesAsSplices,xe as runBottomSheetSteps,Be as runNavigationSteps,tn as seedTabViewPages,In as sharedTreeExpectations,Ln as subjectIndexOf,nn as tabViewClosing,rn 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{ACCENT_COLOR_VECTORS as p}from"./accent.js";import{ACTION_ROW_ACTIVATION_VECTORS as m,BUTTON_ROW_ACTIVATABLE_VECTORS as h,BUTTON_ROW_ICON_VECTORS as g,LABEL_VISIBILITY_VECTORS as _,SWITCH_ROW_NOTIFY_VECTORS as v,WINDOW_TITLE_VECTORS as y}from"./action-row.js";import{ADJUSTMENT_AUTHORED_VECTORS as b,ADJUSTMENT_PARSE_VECTORS as x,ADJUSTMENT_SNAP_VECTORS as S}from"./adjustment.js";import{AVATAR_COLOR_VECTORS as C,AVATAR_FONT_SIZE_VECTORS as w,AVATAR_ICON_SIZE_VECTORS as T,AVATAR_INITIALS_VECTORS as E,AVATAR_MODE_VECTORS as D}from"./avatar.js";import{BANNER_BUTTON_STYLE_PARSE_VECTORS as O,BANNER_BUTTON_STYLE_VECTORS as k,BANNER_BUTTON_TEXT_VECTORS as A,BANNER_BUTTON_VISIBLE_VECTORS as j,BANNER_DEFAULT_VECTORS as M}from"./banner.js";import{BOX_ORIENTATION_VECTORS as N,BOX_SPACING_VECTORS as P}from"./box.js";import{BREAKPOINT_PICK_VECTORS as F,BREAKPOINT_TRANSITION_VECTORS as I}from"./breakpoint-bin.js";import{BUTTON_CONTENT_DEFAULT_VECTORS as L,BUTTON_CONTENT_ELLIPSIZE_VECTORS as R,BUTTON_CONTENT_ICON_VECTORS as z,BUTTON_CONTENT_LABEL_VECTORS as B,BUTTON_CONTENT_STYLE_TARGET_VECTORS as V,BUTTON_CONTENT_TEXT_VECTORS as H}from"./button-content.js";import{BUTTON_STYLE_CLASS_VECTORS as U}from"./button.js";import{CAROUSEL_CLAMP_VECTORS as W,CAROUSEL_NAVIGATE_VECTORS as G,CAROUSEL_PAGE_ALLOCATION_VECTORS as K,CAROUSEL_PAGE_AT_POSITION_VECTORS as q,CAROUSEL_PAGE_LIST_VECTORS as J,CAROUSEL_PROPERTY_DEFAULT_VECTORS as Y,CAROUSEL_RANGE_VECTORS as X,CAROUSEL_REORDER_SHIFT_VECTORS as Z,CAROUSEL_REVEAL_VECTORS as Q,CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS as $,CAROUSEL_SNAP_POINT_VECTORS as ee,CAROUSEL_WHEEL_LOCKOUT_VECTORS as te,CAROUSEL_WHEEL_VECTORS as ne}from"./carousel.js";import{RADIO_GROUP_VECTORS as re}from"./checks.js";import{CLAMP_ALLOCATE_VECTORS as ie,CLAMP_CHILD_SIZE_VECTORS as ae,CLAMP_PROPERTY_VECTORS as oe,CLAMP_SIZE_FROM_CHILD_VECTORS as se,CLAMP_THRESHOLD_VECTORS as ce,SPINNER_GEOMETRY_VECTORS as le,SPINNER_SIZE_VECTORS as ue,TOOLBAR_VIEW_ALLOCATE_VECTORS as de,TOOLBAR_VIEW_CLASS_VECTORS as fe,TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS as pe,TOOLBAR_VIEW_MEASURE_VECTORS as me}from"./chrome.js";import{DATA_GRID_CELL_TEXT_VECTORS as he,DATA_GRID_COLUMN_CLASS_VECTORS as ge,DATA_GRID_COLUMN_NORMALIZE_VECTORS as _e,DATA_GRID_INTERACTIVE_VECTORS as ve,DATA_GRID_TRACK_VECTORS as ye,DATA_GRID_VARIANT_VECTORS as be}from"./data-grid.js";import{BOTTOM_SHEET_BOTTOM_BAR_VECTORS as xe,BOTTOM_SHEET_CLOSE_VECTORS as Se,BOTTOM_SHEET_OPEN_VECTORS as Ce,BOTTOM_SHEET_PRESENTATION_VECTORS as we,BOTTOM_SHEET_SWIPE_TRACKER_VECTORS as Te,runBottomSheetBottomBarSteps as Ee,runBottomSheetSteps as De}from"./dialog.js";import{ENTRY_MAX_LENGTH_VECTORS as Oe,ENTRY_ROW_ACTIVATION_VECTORS as ke,ENTRY_ROW_GUARD_VECTORS as Ae,ENTRY_ROW_STATE_VECTORS as je,ENTRY_TEXT_LENGTH_VECTORS as Me,PASSWORD_ENTRY_ROW_VECTORS as Ne,PASSWORD_REVEAL_GUARD_VECTORS as Pe}from"./entry-row.js";import{HEADER_BAR_PACK_VECTORS as Fe,HEADER_BAR_TITLE_SOURCE_VECTORS as Ie,HEADER_BAR_TITLE_WIDGET_VECTORS as Le}from"./header-bar.js";import{COMBO_CHOOSER_VECTORS as Re,COMBO_SELECTION_VECTORS as ze,TOGGLE_ACTIVE_NAME_VECTORS as Be}from"./rows.js";import{VIEW_STACK_ICON_NAME_VECTORS as Ve,VIEW_STACK_PAGE_VECTORS as He,VIEW_STACK_VECTORS as Ue}from"./view-stack.js";import{NAVIGATION_VIEW_VECTORS as We,collectNavigationState as Ge,navigationEventLog as Ke,runNavigationSteps as qe}from"./navigation-view.js";import{SIDEBAR_ACTIVATION_VECTORS as Je,SIDEBAR_CLAMP_VECTORS as Ye,SIDEBAR_FILTER_VECTORS as Xe,SIDEBAR_ITEMS_CHANGED_VECTORS as Ze,SIDEBAR_ITEM_FLAG_VECTORS as Qe,SIDEBAR_MODEL_VECTORS as $e,SIDEBAR_MODE_VECTORS as et}from"./sidebar.js";import{ADW_LENGTH_UNIT_VECTORS as tt,GLIB_CLAMP_VECTORS as nt,NATURAL_SIDEBAR_WIDTH_VECTORS as rt,NAVIGATION_ACTION_VECTORS as it,NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS as at,NAVIGATION_STACK_VECTORS as ot,OVERLAY_COLLAPSE_VECTORS as st,OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS as ct,OVERLAY_SWIPE_AREA_VECTORS as lt,OVERLAY_SWIPE_CANCEL_VECTORS as ut,OVERLAY_SWIPE_RELEASE_VECTORS as dt,OVERLAY_SWIPE_SNAP_POINT_VECTORS as ft,OVERLAY_SWIPE_START_VECTORS as pt,SIDEBAR_BOUNDS_VECTORS as mt,SIDEBAR_WIDTH_VECTORS as ht,SPLIT_VIEW_MEASURE_VECTORS as gt,TAGS_CONFLICT_VECTORS as _t}from"./split-view.js";import{MENU_BUTTON_DIRECTION_VECTORS as vt,SPLIT_BUTTON_CONTENT_VECTORS as yt,SPLIT_BUTTON_DIRECTION_VECTORS as bt,SPLIT_BUTTON_DROPDOWN_VECTORS as xt,SPLIT_BUTTON_MENU_ACTIVATION_VECTORS as St,SPLIT_BUTTON_ROOT_STATE_VECTORS as Ct,SPLIT_BUTTON_STYLE_CLASS_VECTORS as wt,SPLIT_BUTTON_TOOLTIP_VECTORS as Tt}from"./split-button.js";import{LIST_ITEMS_CHANGED_VECTORS as Et,LIST_MODEL_OWNERSHIP_VECTORS as Dt,LIST_NORMALIZE_VECTORS as Ot,LIST_PARSE_VECTORS as kt,LIST_SELECTION_CLAMP_VECTORS as At,TAB_PAGES_ITEMS_CHANGED_VECTORS as jt,applyListReadback as Mt,replayTabPagesAsSplices as Nt}from"./list.js";import{MENU_DETAILED_ACTION_VECTORS as Pt,MENU_FLATTEN_VECTORS as Ft,MENU_ITEM_STATE_VECTORS as It,MENU_NORMALIZE_VECTORS as Lt,MENU_PARSE_VECTORS as Rt,MENU_REFUSAL_VECTORS as zt}from"./menu.js";import{INLINE_TOGGLE_VECTORS as Bt,INLINE_TOOLTIP_VECTORS as Vt,VIEW_SWITCHER_BADGE_VECTORS as Ht,VIEW_SWITCHER_BAR_REVEAL_VECTORS as Ut,VIEW_SWITCHER_BAR_VECTORS as Wt,VIEW_SWITCHER_BUTTON_VECTORS as Gt,VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS as Kt,VIEW_SWITCHER_DRAG_VECTORS as qt,VIEW_SWITCHER_ICON_VECTORS as Jt,VIEW_SWITCHER_MNEMONIC_VECTORS as Yt,VIEW_SWITCHER_REBUILD_VECTORS as Xt,VIEW_SWITCHER_SELECTION_VECTORS as Zt,createViewSwitcherClock as Qt}from"./view-switcher.js";import{TABS_REVEALED_VECTORS as $t,TAB_CLOSE_VISIBLE_VECTORS as en,TAB_DESCENDANT_VECTORS as tn,TAB_ICON_STATE_VECTORS as nn,TAB_PAGE_DESCRIPTOR_VECTORS as rn,TAB_SUCCESSOR_VECTORS as an,TAB_TOOLTIP_VECTORS as on,TAB_VIEW_VECTORS as sn,applyTabViewOp as cn,seedTabViewPages as ln,tabViewClosing as un,tabViewOrder as dn}from"./tab-view.js";import{CASE_FOLD_VECTORS as fn,MAKE_COMPARABLE_VECTORS as pn,PREFERENCES_GROUP_HEADER_VECTORS as mn,PREFERENCES_SEARCH_PAGES as hn,PREFERENCES_SEARCH_VECTORS as gn,ROW_MATCH_VECTORS as _n,SEARCH_CORPUS_VECTORS as vn,SEARCH_ROW_SUBTITLE_VECTORS as yn,STRIP_MARKUP_VECTORS as bn,STRIP_MNEMONIC_VECTORS as xn}from"./preferences.js";import{POPOVER_KEY_VECTORS as Sn,POPOVER_SURFACE_VECTORS as Cn}from"./popover.js";import{SHORTCUT_LABEL_VECTORS as wn,formatShortcutLabelNodes as Tn}from"./shortcut-label.js";import{SPINNER_ARC_ENVELOPE as En,SPINNER_ARC_PHASE_VECTORS as Dn,SPINNER_ARC_TOLERANCE as On,SPINNER_CONSTANT_VECTORS as kn}from"./spinner.js";import{LABEL_CHAR_COUNT_VECTORS as An,LABEL_DISPLAY_TEXT_VECTORS as jn,LABEL_EFFECTIVE_LINES_VECTORS as Mn,LABEL_ELLIPSIZE_OVERFLOW_VECTORS as Nn,LABEL_ELLIPSIZE_VECTORS as Pn,LABEL_JUSTIFY_VECTORS as Fn,LABEL_WIDTH_CHARS_EXTENT_VECTORS as In,LABEL_WRAP_MODE_VECTORS as Ln,LABEL_XALIGN_VECTORS as Rn,LABEL_YALIGN_ALIGN_ITEMS_VECTORS as zn,LABEL_YALIGN_VECTORS as Bn}from"./label.js";import{WRAP_BOX_CHILD_ORDER_VECTORS as Vn,WRAP_BOX_LENGTH_VECTORS as Hn,WRAP_BOX_LINE_VECTORS as Un,WRAP_BOX_NATURAL_LENGTH_VECTORS as Wn,WRAP_BOX_NOTIFY_PROPERTIES as Gn,WRAP_BOX_POLICY_VECTORS as Kn,WRAP_BOX_SPACING_NOTIFY_VECTORS as qn,WRAP_BOX_SPACING_VECTORS as Jn}from"./wrap-box.js";import{ATTRIBUTE_OF_VECTORS as Yn,HOST_TAG_VECTORS as Xn,PROPERTY_OF_VECTORS as Zn}from"./tags.js";import{VALUE_LIST_VECTORS as Qn}from"./value-lists.js";import{SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS as $n,SHARED_TREE_TABLES as er,authoredNodes as tr,authoredTags as nr,reachedTables as rr,sharedTreeExpectations as ir,sharedTreePlacements as ar,subjectIndexOf as or,withoutPlacements as sr}from"./shared-trees.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 ACCENT_COLOR_VECTORS,m as ACTION_ROW_ACTIVATION_VECTORS,b as ADJUSTMENT_AUTHORED_VECTORS,x as ADJUSTMENT_PARSE_VECTORS,S as ADJUSTMENT_SNAP_VECTORS,tt as ADW_LENGTH_UNIT_VECTORS,Yn as ATTRIBUTE_OF_VECTORS,C as AVATAR_COLOR_VECTORS,w as AVATAR_FONT_SIZE_VECTORS,T as AVATAR_ICON_SIZE_VECTORS,E as AVATAR_INITIALS_VECTORS,D as AVATAR_MODE_VECTORS,O as BANNER_BUTTON_STYLE_PARSE_VECTORS,k as BANNER_BUTTON_STYLE_VECTORS,A as BANNER_BUTTON_TEXT_VECTORS,j as BANNER_BUTTON_VISIBLE_VECTORS,M as BANNER_DEFAULT_VECTORS,xe as BOTTOM_SHEET_BOTTOM_BAR_VECTORS,Se as BOTTOM_SHEET_CLOSE_VECTORS,Ce as BOTTOM_SHEET_OPEN_VECTORS,we as BOTTOM_SHEET_PRESENTATION_VECTORS,Te as BOTTOM_SHEET_SWIPE_TRACKER_VECTORS,N as BOX_ORIENTATION_VECTORS,P as BOX_SPACING_VECTORS,F as BREAKPOINT_PICK_VECTORS,I as BREAKPOINT_TRANSITION_VECTORS,L as BUTTON_CONTENT_DEFAULT_VECTORS,R as BUTTON_CONTENT_ELLIPSIZE_VECTORS,z as BUTTON_CONTENT_ICON_VECTORS,B as BUTTON_CONTENT_LABEL_VECTORS,V as BUTTON_CONTENT_STYLE_TARGET_VECTORS,H as BUTTON_CONTENT_TEXT_VECTORS,h as BUTTON_ROW_ACTIVATABLE_VECTORS,g as BUTTON_ROW_ICON_VECTORS,U as BUTTON_STYLE_CLASS_VECTORS,W as CAROUSEL_CLAMP_VECTORS,G as CAROUSEL_NAVIGATE_VECTORS,K as CAROUSEL_PAGE_ALLOCATION_VECTORS,q as CAROUSEL_PAGE_AT_POSITION_VECTORS,J as CAROUSEL_PAGE_LIST_VECTORS,Y as CAROUSEL_PROPERTY_DEFAULT_VECTORS,X as CAROUSEL_RANGE_VECTORS,Z as CAROUSEL_REORDER_SHIFT_VECTORS,Q as CAROUSEL_REVEAL_VECTORS,$ as CAROUSEL_SIZES_FROM_SNAP_POINTS_VECTORS,ee as CAROUSEL_SNAP_POINT_VECTORS,te as CAROUSEL_WHEEL_LOCKOUT_VECTORS,ne as CAROUSEL_WHEEL_VECTORS,fn as CASE_FOLD_VECTORS,ie as CLAMP_ALLOCATE_VECTORS,ae as CLAMP_CHILD_SIZE_VECTORS,oe as CLAMP_PROPERTY_VECTORS,se as CLAMP_SIZE_FROM_CHILD_VECTORS,ce as CLAMP_THRESHOLD_VECTORS,Re as COMBO_CHOOSER_VECTORS,ze as COMBO_SELECTION_VECTORS,a as CREDITS_SECTIONS_VECTORS,o as CREDIT_PERSON_VECTORS,he as DATA_GRID_CELL_TEXT_VECTORS,ge as DATA_GRID_COLUMN_CLASS_VECTORS,_e as DATA_GRID_COLUMN_NORMALIZE_VECTORS,ve as DATA_GRID_INTERACTIVE_VECTORS,ye as DATA_GRID_TRACK_VECTORS,be as DATA_GRID_VARIANT_VECTORS,Oe as ENTRY_MAX_LENGTH_VECTORS,ke as ENTRY_ROW_ACTIVATION_VECTORS,Ae as ENTRY_ROW_GUARD_VECTORS,je as ENTRY_ROW_STATE_VECTORS,Me as ENTRY_TEXT_LENGTH_VECTORS,nt as GLIB_CLAMP_VECTORS,Fe as HEADER_BAR_PACK_VECTORS,Ie as HEADER_BAR_TITLE_SOURCE_VECTORS,Le as HEADER_BAR_TITLE_WIDGET_VECTORS,Xn as HOST_TAG_VECTORS,Bt as INLINE_TOGGLE_VECTORS,Vt as INLINE_TOOLTIP_VECTORS,An as LABEL_CHAR_COUNT_VECTORS,jn as LABEL_DISPLAY_TEXT_VECTORS,Mn as LABEL_EFFECTIVE_LINES_VECTORS,Nn as LABEL_ELLIPSIZE_OVERFLOW_VECTORS,Pn as LABEL_ELLIPSIZE_VECTORS,Fn as LABEL_JUSTIFY_VECTORS,_ as LABEL_VISIBILITY_VECTORS,In as LABEL_WIDTH_CHARS_EXTENT_VECTORS,Ln as LABEL_WRAP_MODE_VECTORS,Rn as LABEL_XALIGN_VECTORS,zn as LABEL_YALIGN_ALIGN_ITEMS_VECTORS,Bn as LABEL_YALIGN_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,Et as LIST_ITEMS_CHANGED_VECTORS,Dt as LIST_MODEL_OWNERSHIP_VECTORS,Ot as LIST_NORMALIZE_VECTORS,kt as LIST_PARSE_VECTORS,At as LIST_SELECTION_CLAMP_VECTORS,pn as MAKE_COMPARABLE_VECTORS,vt as MENU_BUTTON_DIRECTION_VECTORS,Pt as MENU_DETAILED_ACTION_VECTORS,Ft as MENU_FLATTEN_VECTORS,It as MENU_ITEM_STATE_VECTORS,Lt as MENU_NORMALIZE_VECTORS,Rt as MENU_PARSE_VECTORS,zt as MENU_REFUSAL_VECTORS,rt as NATURAL_SIDEBAR_WIDTH_VECTORS,it as NAVIGATION_ACTION_VECTORS,at as NAVIGATION_SPLIT_VIEW_LAYOUT_VECTORS,ot as NAVIGATION_STACK_VECTORS,We as NAVIGATION_VIEW_VECTORS,st as OVERLAY_COLLAPSE_VECTORS,ct as OVERLAY_SPLIT_VIEW_LAYOUT_VECTORS,lt as OVERLAY_SWIPE_AREA_VECTORS,ut as OVERLAY_SWIPE_CANCEL_VECTORS,dt as OVERLAY_SWIPE_RELEASE_VECTORS,ft as OVERLAY_SWIPE_SNAP_POINT_VECTORS,pt as OVERLAY_SWIPE_START_VECTORS,Ne as PASSWORD_ENTRY_ROW_VECTORS,Pe as PASSWORD_REVEAL_GUARD_VECTORS,Sn as POPOVER_KEY_VECTORS,Cn as POPOVER_SURFACE_VECTORS,mn as PREFERENCES_GROUP_HEADER_VECTORS,hn as PREFERENCES_SEARCH_PAGES,gn as PREFERENCES_SEARCH_VECTORS,Zn as PROPERTY_OF_VECTORS,re as RADIO_GROUP_VECTORS,_n as ROW_MATCH_VECTORS,vn as SEARCH_CORPUS_VECTORS,yn as SEARCH_ROW_SUBTITLE_VECTORS,$n as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,er as SHARED_TREE_TABLES,wn as SHORTCUT_LABEL_VECTORS,Je as SIDEBAR_ACTIVATION_VECTORS,mt as SIDEBAR_BOUNDS_VECTORS,Ye as SIDEBAR_CLAMP_VECTORS,Xe as SIDEBAR_FILTER_VECTORS,Ze as SIDEBAR_ITEMS_CHANGED_VECTORS,Qe as SIDEBAR_ITEM_FLAG_VECTORS,$e as SIDEBAR_MODEL_VECTORS,et as SIDEBAR_MODE_VECTORS,ht as SIDEBAR_WIDTH_VECTORS,En as SPINNER_ARC_ENVELOPE,Dn as SPINNER_ARC_PHASE_VECTORS,On as SPINNER_ARC_TOLERANCE,kn as SPINNER_CONSTANT_VECTORS,le as SPINNER_GEOMETRY_VECTORS,ue as SPINNER_SIZE_VECTORS,yt as SPLIT_BUTTON_CONTENT_VECTORS,bt as SPLIT_BUTTON_DIRECTION_VECTORS,xt as SPLIT_BUTTON_DROPDOWN_VECTORS,St as SPLIT_BUTTON_MENU_ACTIVATION_VECTORS,Ct as SPLIT_BUTTON_ROOT_STATE_VECTORS,wt as SPLIT_BUTTON_STYLE_CLASS_VECTORS,Tt as SPLIT_BUTTON_TOOLTIP_VECTORS,gt as SPLIT_VIEW_MEASURE_VECTORS,bn as STRIP_MARKUP_VECTORS,xn as STRIP_MNEMONIC_VECTORS,v as SWITCH_ROW_NOTIFY_VECTORS,$t as TABS_REVEALED_VECTORS,en as TAB_CLOSE_VISIBLE_VECTORS,tn as TAB_DESCENDANT_VECTORS,nn as TAB_ICON_STATE_VECTORS,jt as TAB_PAGES_ITEMS_CHANGED_VECTORS,rn as TAB_PAGE_DESCRIPTOR_VECTORS,an as TAB_SUCCESSOR_VECTORS,on as TAB_TOOLTIP_VECTORS,sn as TAB_VIEW_VECTORS,_t as TAGS_CONFLICT_VECTORS,Be as TOGGLE_ACTIVE_NAME_VECTORS,de as TOOLBAR_VIEW_ALLOCATE_VECTORS,fe as TOOLBAR_VIEW_CLASS_VECTORS,pe as TOOLBAR_VIEW_CONTENT_FOR_SIZE_VECTORS,me as TOOLBAR_VIEW_MEASURE_VECTORS,f as TRANSLATOR_CREDITS_VECTORS,Qn as VALUE_LIST_VECTORS,Ve as VIEW_STACK_ICON_NAME_VECTORS,He as VIEW_STACK_PAGE_VECTORS,Ue as VIEW_STACK_VECTORS,Ht as VIEW_SWITCHER_BADGE_VECTORS,Ut as VIEW_SWITCHER_BAR_REVEAL_VECTORS,Wt as VIEW_SWITCHER_BAR_VECTORS,Gt as VIEW_SWITCHER_BUTTON_VECTORS,Kt as VIEW_SWITCHER_BUTTON_VISIBILITY_VECTORS,qt as VIEW_SWITCHER_DRAG_VECTORS,Jt as VIEW_SWITCHER_ICON_VECTORS,Yt as VIEW_SWITCHER_MNEMONIC_VECTORS,Xt as VIEW_SWITCHER_REBUILD_VECTORS,Zt as VIEW_SWITCHER_SELECTION_VECTORS,y as WINDOW_TITLE_VECTORS,Vn as WRAP_BOX_CHILD_ORDER_VECTORS,Hn as WRAP_BOX_LENGTH_VECTORS,Un as WRAP_BOX_LINE_VECTORS,Wn as WRAP_BOX_NATURAL_LENGTH_VECTORS,Gn as WRAP_BOX_NOTIFY_PROPERTIES,Kn as WRAP_BOX_POLICY_VECTORS,qn as WRAP_BOX_SPACING_NOTIFY_VECTORS,Jn as WRAP_BOX_SPACING_VECTORS,Mt as applyListReadback,cn as applyTabViewOp,tr as authoredNodes,nr as authoredTags,Ge as collectNavigationState,Qt as createViewSwitcherClock,Tn as formatShortcutLabelNodes,Ke as navigationEventLog,rr as reachedTables,Nt as replayTabPagesAsSplices,Ee as runBottomSheetBottomBarSteps,De as runBottomSheetSteps,qe as runNavigationSteps,ln as seedTabViewPages,ir as sharedTreeExpectations,ar as sharedTreePlacements,or as subjectIndexOf,un as tabViewClosing,dn as tabViewOrder,sr as withoutPlacements};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{label:`a < b`,useMarkup:!1,useUnderline:!1,text:`a < b`,rule:"use-markup defaults to FALSE, so a `<` in prose is shown literally"},{label:`<b>Bold</b>`,useMarkup:!1,useUnderline:!1,text:`<b>Bold</b>`,rule:`markup without use-markup is text, tags included`},{label:`<b>Bold</b> & plain`,useMarkup:!0,useUnderline:!1,text:`Bold & plain`,rule:`use-markup shows the markup as its text — the declared divergence: GTK also draws it bold`},{label:`a < b`,useMarkup:!0,useUnderline:!1,text:`a < b`,rule:`unparseable markup keeps the raw string, the C fallback`},{label:`<img src="x" onerror="alert(1)">`,useMarkup:!0,useUnderline:!1,text:`<img src="x" onerror="alert(1)">`,rule:`a tag Pango does not know is unparseable markup, so it is shown, never built`},{label:`_Open`,useMarkup:!1,useUnderline:!1,text:`_Open`,rule:`an underscore is literal unless use-underline is set`},{label:`_Open`,useMarkup:!1,useUnderline:!0,text:`Open`,rule:`use-underline removes the mnemonic marker from the shown text`},{label:`<span font_desc="Sans 12">Big</span>`,useMarkup:!0,useUnderline:!0,text:`Big`,rule:`markup is reduced BEFORE the mnemonic, so an underscore inside a tag is not one`}],t=[{value:null,xalign:.5,rule:`an absent xalign centres the text, the pspec default`},{value:0,xalign:0,rule:`0 is the start edge`},{value:`0.25`,xalign:.25,rule:`the string an attribute carries parses`},{value:-1,xalign:0,rule:`below the range clamps to 0, as the setter does`},{value:`3`,xalign:1,rule:`above the range clamps to 1`},{value:`left`,xalign:.5,rule:`an unparseable value is the default, not NaN`}],n=[{value:null,justify:`left`,rule:`an absent justify is the default, left`},{value:`center`,justify:`center`,rule:`a nick is read as written`},{value:`fill`,justify:`fill`,rule:`fill is the fourth nick`},{value:`justify`,justify:`left`,rule:`a CSS keyword is no nick, so the default stays`}],r=[{value:null,yalign:.5,rule:`an absent yalign centres the text, the pspec default`},{value:0,yalign:0,rule:`0 is the top edge`},{value:`0.25`,yalign:.25,rule:`the string an attribute carries parses`},{value:-1,yalign:0,rule:`below the range clamps to 0, as the setter does`},{value:`3`,yalign:1,rule:`above the range clamps to 1`},{value:`top`,yalign:.5,rule:`an unparseable value is the default, not NaN`}],i=[{yalign:0,alignItems:`flex-start`,rule:`0 is the top edge exactly`},{yalign:.2,alignItems:`flex-start`,rule:`0.2 is nearer 0 than 0.5`},{yalign:.25,alignItems:`center`,rule:`the 0/0.5 boundary is equidistant: ties go to the centre zone`},{yalign:.3,alignItems:`center`,rule:`0.3 is nearer 0.5 than 0 — a strict half-split gets this wrong`},{yalign:.5,alignItems:`center`,rule:`0.5 is the centre exactly, the pspec default`},{yalign:.7,alignItems:`center`,rule:`0.7 is nearer 0.5 than 1 — a strict half-split gets this wrong`},{yalign:.75,alignItems:`center`,rule:`the 0.5/1 boundary is equidistant: ties go to the centre zone`},{yalign:.8,alignItems:`flex-end`,rule:`0.8 is nearer 1 than 0.5`},{yalign:1,alignItems:`flex-end`,rule:`1 is the bottom edge exactly`}],a=[{value:null,ellipsize:`none`,rule:`an absent ellipsize is the default, none`},{value:`start`,ellipsize:`start`,rule:`a nick is read as written`},{value:`middle`,ellipsize:`middle`,rule:`middle is the third nick`},{value:`end`,ellipsize:`end`,rule:`end is the fourth nick`},{value:`both`,ellipsize:`none`,rule:`an unknown nick leaves the default, none`}],o=[{ellipsize:`none`,overflow:`clip`,rule:`no ellipsization draws no ellipsis`},{ellipsize:`end`,overflow:`ellipsis`,rule:`end is the one mode CSS/NativeScript name exactly`},{ellipsize:`start`,overflow:`ellipsis`,rule:`declared divergence: no platform truncates from the start, so this draws an end-ellipsis rather than clipping silently`},{ellipsize:`middle`,overflow:`ellipsis`,rule:`declared divergence: no platform truncates from the middle, so this draws an end-ellipsis rather than clipping silently`}],s=[{value:null,wrapMode:`word`,rule:`an absent wrap-mode is the default, word`},{value:`char`,wrapMode:`char`,rule:`a nick is read as written`},{value:`word-char`,wrapMode:`word-char`,rule:`word-char is the third nick`},{value:`wordchar`,wrapMode:`word`,rule:`a nick with the dash dropped is unknown, so the default stays`}],c=[{value:null,count:-1,rule:`an absent value is the default, -1 ("auto"/unlimited)`},{value:0,count:0,rule:`0 is a real, held value — an empty label, not "unset"`},{value:`12`,count:12,rule:`the string an attribute carries parses`},{value:`3.7`,count:3,rule:`a fractional string truncates, as an int property would`},{value:-5,count:-1,rule:`below the floor clamps to -1, as the property system does`},{value:`auto`,count:-1,rule:`an unparseable value is the default, not NaN`}],l=[{lines:-1,ellipsize:`none`,effective:null,rule:`not ellipsized: no effect, however lines is set`},{lines:2,ellipsize:`none`,effective:null,rule:`not ellipsized: lines has no effect even at a real value`},{lines:-1,ellipsize:`end`,effective:1,rule:`ellipsized, lines unset: Pango's own default is ONE line`},{lines:0,ellipsize:`end`,effective:1,rule:`0 is not a real limit either: GTK only calls pango_layout_set_height for lines > 0, so 0 falls to the same Pango default as unset`},{lines:1,ellipsize:`end`,effective:1,rule:`lines=1 explicitly is the same one line`},{lines:2,ellipsize:`end`,effective:2,rule:`ellipsized alone is enough — no wrap needed, the finding this table exists to pin`},{lines:3,ellipsize:`start`,effective:3,rule:`holds for every ellipsize mode, not only end`}],u=[{widthChars:-1,maxWidthChars:-1,minCh:null,maxCh:null,rule:`both unset: no extent either way`},{widthChars:10,maxWidthChars:-1,minCh:10,maxCh:null,rule:`width-chars alone sets a minimum only`},{widthChars:-1,maxWidthChars:20,minCh:null,maxCh:20,rule:`max-width-chars alone sets a natural width`},{widthChars:10,maxWidthChars:20,minCh:10,maxCh:20,rule:`both set: minimum and the wider natural`},{widthChars:15,maxWidthChars:5,minCh:15,maxCh:15,rule:`max-width-chars narrower than width-chars: natural is still the MAX of the two, per the C`}];export{c as LABEL_CHAR_COUNT_VECTORS,e as LABEL_DISPLAY_TEXT_VECTORS,l as LABEL_EFFECTIVE_LINES_VECTORS,o as LABEL_ELLIPSIZE_OVERFLOW_VECTORS,a as LABEL_ELLIPSIZE_VECTORS,n as LABEL_JUSTIFY_VECTORS,u as LABEL_WIDTH_CHARS_EXTENT_VECTORS,s as LABEL_WRAP_MODE_VECTORS,t as LABEL_XALIGN_VECTORS,i as LABEL_YALIGN_ALIGN_ITEMS_VECTORS,r as LABEL_YALIGN_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=[{label:`One`,value:`a`},{label:`Two`,value:`b`}],t=[{name:`programmatic index set`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:"a changed position reaches the selection, whose notify becomes `notify::selected` (:788 → :154)"},{name:`setting the index already held`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setSelectedIndex`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:`the setter returns before touching the selection when the position holds (:785-786) — no notify`},{name:`the chooser pick`,steps:[{op:`setModel`,model:e},{op:`select`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!0}],rule:"the popup routes its position through the SAME setter (:209); only the `interactive` tag differs, and that tag is ours"},{name:`picking the option already selected`,steps:[{op:`setModel`,model:e},{op:`select`,index:0}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`the same-position guard (:785-786) applies to the user path too — reopening and re-picking notifies nothing`},{name:`a dismissed chooser`,steps:[{op:`setModel`,model:e},{op:`select`,index:-1}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`no C equivalent: a dismissed native sheet resolves to the cancel label, so the renderer looks up -1 — the guard is the substitution's`},{name:`select by value`,steps:[{op:`setModel`,model:e},{op:`setSelectedValue`,value:`b`}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:`a value maps to the FIRST option carrying it; the port addition over the C, whose model is positional`},{name:`select by an unknown value`,steps:[{op:`setModel`,model:e},{op:`setSelectedValue`,value:`zzz`}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`an unknown value is a no-op, never a reset to 0 — a mistyped binding must not silently move the selection`},{name:`the model is replaced at the same index`,steps:[{op:`setModel`,model:[{label:`First`,value:`a`}]},{op:`setModel`,model:[{label:`Renamed`,value:`a`}]}],selected:0,value:`a`,label:`Renamed`,emitted:[{selected:0,value:`a`,label:`First`,interactive:!1},{selected:0,value:`a`,label:`Renamed`,interactive:!1}],rule:"the index did not move but the ITEM did — `selection_item_changed` (:157-185) repaints off the item, not the position"},{name:`the model shrinks past the selection`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setModel`,model:[{label:`Only`,value:`a`}]}],selected:0,value:`a`,label:`Only`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1},{selected:0,value:`a`,label:`Only`,interactive:!1}],rule:`a selection past the end of the new model falls back to 0 — GtkSingleSelection autoselects upstream, whose C is not vendored here, so this row is the ports' shared answer`},{name:`an index past the end`,steps:[{op:`setModel`,model:[{label:`Only`,value:`a`}]},{op:`setSelectedIndex`,index:5}],selected:5,value:``,label:``,emitted:[{selected:0,value:`a`,label:`Only`,interactive:!1},{selected:5,value:``,label:``,interactive:!1}],rule:`the index is NOT clamped (the C takes any guint); the empty value/label is how "nothing to draw" is expressed here`},{name:`an empty model`,steps:[{op:`setModel`,model:[]}],selected:-1,value:``,label:``,emitted:[{selected:-1,value:``,label:``,interactive:!1}],rule:`GTK_INVALID_LIST_POSITION (:593-596, :809-810) — an empty model has no index 0 to autoselect`},{name:`picking from an empty model`,steps:[{op:`setModel`,model:[]},{op:`select`,index:0}],selected:-1,value:``,label:``,emitted:[{selected:-1,value:``,label:``,interactive:!1}],rule:`there is no option 0 to pick — and the renderers never open a chooser over an empty model either`},{name:`emptying a model that had a selection`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setModel`,model:[]}],selected:-1,value:``,label:``,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1},{selected:-1,value:``,label:``,interactive:!1}],rule:`the selection does NOT survive as index 0 — there is nothing at 0 any more`},{name:`a model that is emptied and refilled`,steps:[{op:`setModel`,model:e},{op:`setModel`,model:[]},{op:`setModel`,model:e}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:-1,value:``,label:``,interactive:!1},{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`autoselect runs again, so the sentinel recovers to 0 — it is BELOW the range, which a one-sided >= length check leaves in place`},{name:`a model with an empty first label is still a selection`,steps:[{op:`setModel`,model:[{label:``,value:`blank`}]}],selected:0,value:`blank`,label:``,emitted:[{selected:0,value:`blank`,label:``,interactive:!1}],rule:`the case the sentinel exists to separate: an empty LABEL, not an empty model`}],n=[{count:0,presentsChooser:!1,rule:`an empty model is not a chooser`},{count:1,presentsChooser:!1,rule:`ONE option is not a choice — the arrow goes and the row goes inert`},{count:2,presentsChooser:!0,rule:`two is the smallest real choice — the predicate is > 1, not >= 1`},{count:5,presentsChooser:!0,rule:`and anything above it`}];export{n as COMBO_CHOOSER_VECTORS,t as COMBO_SELECTION_VECTORS};
|
|
1
|
+
const e=[{label:`One`,value:`a`},{label:`Two`,value:`b`}],t=[{name:`programmatic index set`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:"a changed position reaches the selection, whose notify becomes `notify::selected` (:788 → :154)"},{name:`setting the index already held`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setSelectedIndex`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:`the setter returns before touching the selection when the position holds (:785-786) — no notify`},{name:`the chooser pick`,steps:[{op:`setModel`,model:e},{op:`select`,index:1}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!0}],rule:"the popup routes its position through the SAME setter (:209); only the `interactive` tag differs, and that tag is ours"},{name:`picking the option already selected`,steps:[{op:`setModel`,model:e},{op:`select`,index:0}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`the same-position guard (:785-786) applies to the user path too — reopening and re-picking notifies nothing`},{name:`a dismissed chooser`,steps:[{op:`setModel`,model:e},{op:`select`,index:-1}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`no C equivalent: a dismissed native sheet resolves to the cancel label, so the renderer looks up -1 — the guard is the substitution's`},{name:`select by value`,steps:[{op:`setModel`,model:e},{op:`setSelectedValue`,value:`b`}],selected:1,value:`b`,label:`Two`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1}],rule:`a value maps to the FIRST option carrying it; the port addition over the C, whose model is positional`},{name:`select by an unknown value`,steps:[{op:`setModel`,model:e},{op:`setSelectedValue`,value:`zzz`}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`an unknown value is a no-op, never a reset to 0 — a mistyped binding must not silently move the selection`},{name:`the model is replaced at the same index`,steps:[{op:`setModel`,model:[{label:`First`,value:`a`}]},{op:`setModel`,model:[{label:`Renamed`,value:`a`}]}],selected:0,value:`a`,label:`Renamed`,emitted:[{selected:0,value:`a`,label:`First`,interactive:!1},{selected:0,value:`a`,label:`Renamed`,interactive:!1}],rule:"the index did not move but the ITEM did — `selection_item_changed` (:157-185) repaints off the item, not the position"},{name:`the model shrinks past the selection`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setModel`,model:[{label:`Only`,value:`a`}]}],selected:0,value:`a`,label:`Only`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1},{selected:0,value:`a`,label:`Only`,interactive:!1}],rule:`a selection past the end of the new model falls back to 0 — GtkSingleSelection autoselects upstream, whose C is not vendored here, so this row is the ports' shared answer`},{name:`an index past the end`,steps:[{op:`setModel`,model:[{label:`Only`,value:`a`}]},{op:`setSelectedIndex`,index:5}],selected:5,value:``,label:``,emitted:[{selected:0,value:`a`,label:`Only`,interactive:!1},{selected:5,value:``,label:``,interactive:!1}],rule:`the index is NOT clamped (the C takes any guint); the empty value/label is how "nothing to draw" is expressed here`},{name:`an empty model`,steps:[{op:`setModel`,model:[]}],selected:-1,value:``,label:``,emitted:[{selected:-1,value:``,label:``,interactive:!1}],rule:`GTK_INVALID_LIST_POSITION (:593-596, :809-810) — an empty model has no index 0 to autoselect`},{name:`picking from an empty model`,steps:[{op:`setModel`,model:[]},{op:`select`,index:0}],selected:-1,value:``,label:``,emitted:[{selected:-1,value:``,label:``,interactive:!1}],rule:`there is no option 0 to pick — and the renderers never open a chooser over an empty model either`},{name:`emptying a model that had a selection`,steps:[{op:`setModel`,model:e},{op:`setSelectedIndex`,index:1},{op:`setModel`,model:[]}],selected:-1,value:``,label:``,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:1,value:`b`,label:`Two`,interactive:!1},{selected:-1,value:``,label:``,interactive:!1}],rule:`the selection does NOT survive as index 0 — there is nothing at 0 any more`},{name:`a model that is emptied and refilled`,steps:[{op:`setModel`,model:e},{op:`setModel`,model:[]},{op:`setModel`,model:e}],selected:0,value:`a`,label:`One`,emitted:[{selected:0,value:`a`,label:`One`,interactive:!1},{selected:-1,value:``,label:``,interactive:!1},{selected:0,value:`a`,label:`One`,interactive:!1}],rule:`autoselect runs again, so the sentinel recovers to 0 — it is BELOW the range, which a one-sided >= length check leaves in place`},{name:`a model with an empty first label is still a selection`,steps:[{op:`setModel`,model:[{label:``,value:`blank`}]}],selected:0,value:`blank`,label:``,emitted:[{selected:0,value:`blank`,label:``,interactive:!1}],rule:`the case the sentinel exists to separate: an empty LABEL, not an empty model`}],n=[{count:0,presentsChooser:!1,rule:`an empty model is not a chooser`},{count:1,presentsChooser:!1,rule:`ONE option is not a choice — the arrow goes and the row goes inert`},{count:2,presentsChooser:!0,rule:`two is the smallest real choice — the predicate is > 1, not >= 1`},{count:5,presentsChooser:!0,rule:`and anything above it`}],r=[{names:[`list`,`grid`,`columns`],activeName:`grid`,kept:3,index:1,active:1,rule:`selects the toggle carrying the name`},{names:[`list`,`grid`,`columns`],activeName:`columns`,kept:3,index:2,active:2,rule:`the last toggle is reachable — the name is applied after every toggle is in`},{names:[`list`,`grid`,`list`],activeName:`list`,kept:2,index:0,active:0,rule:`a name already taken is refused WITH its toggle — the group keeps two, and the name means the first`},{names:[null,`grid`],activeName:`grid`,kept:2,index:1,active:1,rule:`an unnamed toggle is kept and takes no part in the lookup`},{names:[`list`,`grid`],activeName:`missing`,kept:2,index:-1,active:0,rule:`a name no toggle carries changes nothing — the first toggle, which add made active, stays`}];export{n as COMBO_CHOOSER_VECTORS,t as COMBO_SELECTION_VECTORS,r as TOGGLE_ACTIVE_NAME_VECTORS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../_virtual/_rolldown/runtime.js";import{SWITCH_ROW_NOTIFY_VECTORS as e}from"./action-row.js";import{BANNER_BUTTON_TEXT_VECTORS as t,BANNER_BUTTON_VISIBLE_VECTORS as n}from"./banner.js";import{ENTRY_TEXT_LENGTH_VECTORS as r}from"./entry-row.js";const i=[`BANNER_BUTTON_TEXT_VECTORS`,`BANNER_BUTTON_VISIBLE_VECTORS`,`ENTRY_TEXT_LENGTH_VECTORS`,`SWITCH_ROW_NOTIFY_VECTORS`],a={"Adw.ShortcutLabel":"a CHOICE, not an impossibility: SHORTCUT_LABEL_VECTORS is deliberately off SHARED_TREE_TABLES, because the row this block would instantiate is unreadable on a translated host — see the header. What that costs is one-sided. `adwaita-web` drives the table from its own spec and would pass the row here too; `gtk-host` drives it from NO spec, so libadwaita's own keycap rendering is the one thing this declaration leaves unchecked. Joining it wants `it.failing(…, { when: <translated host> })` per tests/AGENTS.md rule 6 — a tolerated failure on a de_DE desk, a REAL assertion anywhere the host is untranslated, which no workflow here opts out of.","Adw.WindowTitle":`WINDOW_TITLE_VECTORS is a STEP table over a fresh widget and its rows spell their own titles; the authored "Inbox"/"3 unread messages" is no row's input, and LABEL_VISIBILITY_VECTORS keys on the label TEXT for the same reason.`},switchRowRowFor=t=>e.find(e=>t===void 0?e.steps.length===0:e.steps.length===1&&e.steps[0].op===`set-active`&&e.steps[0].active===t);function expectationsForNode(e,i){let a=e.props??{},o=[],at=(t,n,r,a)=>o.push({path:i,gtype:e.tag,table:t,observable:n,expected:r,rule:a});if(e.tag===`AdwEntryRow`){let e=typeof a.text==`string`?a.text:``,t=r.find(t=>t.text===e);t&&at(`ENTRY_TEXT_LENGTH_VECTORS`,`entry-text-length`,t.length,t.rule)}if(e.tag===`AdwSwitchRow`){let e=typeof a.active==`boolean`?a.active:void 0,t=switchRowRowFor(e);t&&at(`SWITCH_ROW_NOTIFY_VECTORS`,`switch-row-active`,t.active,t.rule)}if(e.tag===`AdwBanner`){let e=typeof a.buttonLabel==`string`?a.buttonLabel:void 0;if(e!==void 0){let r=n.find(t=>t.label===e);r&&at(`BANNER_BUTTON_VISIBLE_VECTORS`,`banner-button-visible`,r.visible,r.rule);let i=t.find(t=>t.label===e);i&&at(`BANNER_BUTTON_TEXT_VECTORS`,`banner-button-text`,i.text,i.rule)}}return o}function walk(e,t,n){n(e,t),(e.children??[]).forEach((e,r)=>walk(e,`${t} > ${e.tag}[${r}]`,n))}function authoredNodes(e){let t=[];return walk(e,e.tag,(e,n)=>t.push({node:e,path:n})),t}function authoredTags(e,t=e=>e){return authoredNodes(e).map(({node:e})=>t(e.tag))}function subjectIndexOf(e,t){return authoredNodes(e).findIndex(e=>e.path===t)}function sharedTreeExpectations(e){let t=[];return walk(e,e.tag,(e,n)=>t.push(...expectationsForNode(e,n))),t}function reachedTables(e){let t=new Set;for(let n of e)for(let e of sharedTreeExpectations(n))t.add(e.table);return[...t].sort()}export{a as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,i as SHARED_TREE_TABLES,authoredNodes,authoredTags,reachedTables,sharedTreeExpectations,subjectIndexOf};
|
|
1
|
+
import"../_virtual/_rolldown/runtime.js";import{SWITCH_ROW_NOTIFY_VECTORS as e}from"./action-row.js";import{BANNER_BUTTON_TEXT_VECTORS as t,BANNER_BUTTON_VISIBLE_VECTORS as n}from"./banner.js";import{ENTRY_TEXT_LENGTH_VECTORS as r}from"./entry-row.js";const i=[`BANNER_BUTTON_TEXT_VECTORS`,`BANNER_BUTTON_VISIBLE_VECTORS`,`ENTRY_TEXT_LENGTH_VECTORS`,`SWITCH_ROW_NOTIFY_VECTORS`],a={"Adw.ShortcutLabel":"a CHOICE, not an impossibility: SHORTCUT_LABEL_VECTORS is deliberately off SHARED_TREE_TABLES, because the row this block would instantiate is unreadable on a translated host — see the header. What that costs is one-sided. `adwaita-web` drives the table from its own spec and would pass the row here too; `gtk-host` drives it from NO spec, so libadwaita's own keycap rendering is the one thing this declaration leaves unchecked. Joining it wants `it.failing(…, { when: <translated host> })` per tests/AGENTS.md rule 6 — a tolerated failure on a de_DE desk, a REAL assertion anywhere the host is untranslated, which no workflow here opts out of.","Adw.WindowTitle":`WINDOW_TITLE_VECTORS is a STEP table over a fresh widget and its rows spell their own titles; the authored "Inbox"/"3 unread messages" is no row's input, and LABEL_VISIBILITY_VECTORS keys on the label TEXT for the same reason.`},switchRowRowFor=t=>e.find(e=>t===void 0?e.steps.length===0:e.steps.length===1&&e.steps[0].op===`set-active`&&e.steps[0].active===t);function expectationsForNode(e,i){let a=e.props??{},o=[],at=(t,n,r,a)=>o.push({path:i,gtype:e.tag,table:t,observable:n,expected:r,rule:a});if(e.tag===`AdwEntryRow`){let e=typeof a.text==`string`?a.text:``,t=r.find(t=>t.text===e);t&&at(`ENTRY_TEXT_LENGTH_VECTORS`,`entry-text-length`,t.length,t.rule)}if(e.tag===`AdwSwitchRow`){let e=typeof a.active==`boolean`?a.active:void 0,t=switchRowRowFor(e);t&&at(`SWITCH_ROW_NOTIFY_VECTORS`,`switch-row-active`,t.active,t.rule)}if(e.tag===`AdwBanner`){let e=typeof a.buttonLabel==`string`?a.buttonLabel:void 0;if(e!==void 0){let r=n.find(t=>t.label===e);r&&at(`BANNER_BUTTON_VISIBLE_VECTORS`,`banner-button-visible`,r.visible,r.rule);let i=t.find(t=>t.label===e);i&&at(`BANNER_BUTTON_TEXT_VECTORS`,`banner-button-text`,i.text,i.rule)}}return o}function walk(e,t,n){n(e,t),(e.children??[]).forEach((e,r)=>walk(e,`${t} > ${e.tag}[${r}]`,n))}function authoredNodes(e){let t=[];return walk(e,e.tag,(e,n)=>t.push({node:e,path:n})),t}function authoredTags(e,t=e=>e){return authoredNodes(e).map(({node:e})=>t(e.tag))}function sharedTreePlacements(e){return authoredNodes(e).filter(({node:e})=>e.slot!==void 0).map(({node:e,path:t})=>({path:t,slot:e.slot}))}function withoutPlacements(e){let{slot:t,children:n,...r}=e;return{...r,...n===void 0?{}:{children:n.map(withoutPlacements)}}}function subjectIndexOf(e,t){return authoredNodes(e).findIndex(e=>e.path===t)}function sharedTreeExpectations(e){let t=[];return walk(e,e.tag,(e,n)=>t.push(...expectationsForNode(e,n))),t}function reachedTables(e){let t=new Set;for(let n of e)for(let e of sharedTreeExpectations(n))t.add(e.table);return[...t].sort()}export{a as SHARED_TREE_BLOCKS_WITHOUT_EXPECTATIONS,i as SHARED_TREE_TABLES,authoredNodes,authoredTags,reachedTables,sharedTreeExpectations,sharedTreePlacements,subjectIndexOf,withoutPlacements};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{gtype:`AdwPreferencesGroup`,expected:`adw-preferences-group`,rule:`a plain PascalCase run — one dash per word boundary, no acronym involved`},{gtype:`AdwSwitchRow`,expected:`adw-switch-row`,rule:"the `Adw` prefix follows the same floor rule as `Gtk`"},{gtype:`GtkBox`,expected:`gtk-box`,rule:`the shortest case: prefix plus one word`},{gtype:`GtkGLArea`,expected:`gtk-gl-area`,rule:"THE ACRONYM VECTOR: the measured regression — a naive boundary split produced `gtk-glarea`; the last capital of an acronym run opens the next word, so `GL` closes before `Area` opens"},{gtype:`GtkATContext`,expected:`gtk-at-context`,rule:`the same rule for a two-letter acronym immediately followed by a whole word`},{gtype:`GtkIMMulticontext`,expected:`gtk-im-multicontext`,rule:"and for a three-capital run: `IM` closes before `Multicontext` opens, not `i-m-multicontext`"},{gtype:`GtkPad2Btn`,expected:`gtk-pad2-btn`,rule:`THE DIGIT VECTOR (synthetic — no real Gtk/Adw class carries a digit): a digit is not an uppercase letter, so it ends a lower run exactly like a lowercase letter would, and the capital after it still opens a new word`},{gtype:`preferences-group`,error:`hostTagOf: preferences-group is not a GIR class name`,rule:"refuses an already-kebab name — `hostTagOf` only accepts the PascalCase GIR spelling"},{gtype:``,error:`hostTagOf: is not a GIR class name`,rule:`refuses the empty string`},{gtype:`WkWebView`,error:`hostTagOf: WkWebView is not a GIR class name`,rule:"refuses a real GIR class from a namespace that is neither `Adw` nor `Gtk`"}],t=[{prop:`buttonLabel`,expected:`button-label`,rule:`the documented example — one boundary, one dash`},{prop:`showInitials`,expected:`show-initials`,rule:`the same rule on a second authored property`},{prop:`title`,expected:`title`,rule:`a single-word name has no capital to kebab, so it passes through unchanged`},{prop:``,expected:``,rule:`the empty string passes through unchanged`},{prop:`button-label`,expected:`button-label`,rule:`an ALREADY-KEBAB name has no capital either, so it is idempotent — safe to call twice`}],n=[{name:`maximum-size`,expected:`maximumSize`,rule:`one hyphen, one capital`},{name:`tightening-threshold`,expected:`tighteningThreshold`,rule:`the same rule on a second property of the same widget`},{name:`icon_name`,expected:`iconName`,rule:"GObject reads `_` as `-`, so it closes a word too"},{name:`label`,expected:`label`,rule:`a single-word name passes through unchanged`},{name:`maximumSize`,expected:`maximumSize`,rule:`an ALREADY-camel name has no separator, so it is idempotent, as the hand-authored trees need`}];export{t as ATTRIBUTE_OF_VECTORS,e as HOST_TAG_VECTORS,n as PROPERTY_OF_VECTORS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=[{rule:"`strings [ ]` fills an `Adw.ComboRow` model in source order; a marked item keeps its text",blueprint:`Adw.ComboRow { title: "Colour"; model: Gtk.StringList { strings [ "Blue", _("Teal"), C_("colour", "Green") ] }; }`,strings:[`Blue`,`Teal`,`Green`]},{rule:"`strings [ ]` fills a `Gtk.DropDown` model the same way",blueprint:`Gtk.DropDown { model: Gtk.StringList { strings [ "Small", "Medium", "Large" ] }; }`,strings:[`Small`,`Medium`,`Large`]},{rule:"`responses [ ]` adds each response in order; `destructive` and `suggested` are its appearance",blueprint:`Adw.AlertDialog { heading: "Delete?"; responses [ cancel: _("Cancel"), delete: _("Delete") destructive, keep: "Keep" suggested ] }`,responses:[{id:`cancel`,label:`Cancel`,appearance:`default`,enabled:!0},{id:`delete`,label:`Delete`,appearance:`destructive`,enabled:!0},{id:`keep`,label:`Keep`,appearance:`suggested`,enabled:!0}]},{rule:"`disabled` is `enabled: false`, and it combines with an appearance rather than replacing it",blueprint:`Adw.AlertDialog { heading: "Save?"; responses [ save: C_("verb", "Save") suggested disabled, later: "Later" disabled ] }`,responses:[{id:`save`,label:`Save`,appearance:`suggested`,enabled:!1},{id:`later`,label:`Later`,appearance:`default`,enabled:!1}]}];export{e as VALUE_LIST_VECTORS};
|
package/lib/esm/dialog.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";var AdwAlertResponses=class{constructor(e=``,t=``){this._responses=[],this._defaultResponse=null,this._closeResponse=`close`,this._heading=e??``,this._body=t??``}get heading(){return this._heading}set heading(e){this._heading=e??``}get body(){return this._body}set body(e){this._body=e??``}addResponse(e,t,n={}){let r=this._responses.find(t=>t.id===e);if(r){r.label=t,n.appearance!==void 0&&(r.appearance=n.appearance),n.enabled!==void 0&&(r.enabled=n.enabled);return}this._responses.push({id:e,label:t,appearance:n.appearance??`default`,enabled:n.enabled??!0})}addResponses(...e){for(let t=0;t+1<e.length;t+=2)this.addResponse(e[t],e[t+1])}hasResponse(e){return this._responses.some(t=>t.id===e)}setResponseAppearance(e,t){let n=this._responses.find(t=>t.id===e);n&&(n.appearance=t)}getResponseAppearance(e){return this._responses.find(t=>t.id===e)?.appearance??`default`}setResponseEnabled(e,t){let n=this._responses.find(t=>t.id===e);n&&(n.enabled=t)}getResponseEnabled(e){return this._responses.find(t=>t.id===e)?.enabled??!0}get responses(){return this._responses}get defaultResponse(){return this._defaultResponse}set defaultResponse(e){this._defaultResponse=e}get closeResponse(){return this._closeResponse}set closeResponse(e){this._closeResponse=e||`close`}get usesActionSheet(){return this._responses.length>3}orderResponses(){let e=this._responses.find(e=>e.id===this._defaultResponse)??this._responses[0],t=this._responses.filter(t=>t!==e);return{ok:e,cancel:t[t.length-1],neutral:t.length>=2?t[0]:void 0}}resolveById(e){return e!=null&&this.hasResponse(e)?e:this._closeResponse}resolveLabel(e){return e==null?this._closeResponse:this.resolveById(this._responses.find(t=>t.label===e)?.id)}};function resolveBottomSheetClose(e,t){let n=!!t.open,r=!!t.canClose;switch(e){case`drag-handle`:return`ignored`;case`swipe`:return n&&r?`close`:`ignored`;case`dimming`:return n?r?`close`:`close-attempt`:`ignored`;case`close-button`:return r?n?`close`:`delegate`:`close-attempt`;case`escape`:return r&&n?`close`:`close-attempt`}}var BottomSheetPresentation=class{constructor(e={}){this._open=!1,this._canClose=!0,this._hasBeenOpen=!1,this._listeners=new Set,this._onClosing=e.onClosing,this._onClosed=e.onClosed}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._open)}get open(){return this._open}get canClose(){return this._canClose}get hasBeenOpen(){return this._hasBeenOpen}setCanClose(e){let t=!!e;return t===this._canClose?!1:(this._canClose=t,!0)}setOpen(e){let t=!!e;return this._open===t?(!this._hasBeenOpen&&!t&&(this._onClosing?.(),this._onClosed?.()),!1):(this._open=t,t&&(this._hasBeenOpen=!0),!t&&(this._onClosing?.(),this._open!==t)?!1:(this._emit(),!0))}requestClose(e){let t=resolveBottomSheetClose(e,this);return t===`close`&&this.setOpen(!1),t}finishClose(){return this._open?!1:(this._onClosed?.(),!0)}};export{AdwAlertResponses,BottomSheetPresentation,resolveBottomSheetClose};
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";var AdwAlertResponses=class{constructor(e=``,t=``){this._responses=[],this._defaultResponse=null,this._closeResponse=`close`,this._heading=e??``,this._body=t??``}get heading(){return this._heading}set heading(e){this._heading=e??``}get body(){return this._body}set body(e){this._body=e??``}addResponse(e,t,n={}){let r=this._responses.find(t=>t.id===e);if(r){r.label=t,n.appearance!==void 0&&(r.appearance=n.appearance),n.enabled!==void 0&&(r.enabled=n.enabled);return}this._responses.push({id:e,label:t,appearance:n.appearance??`default`,enabled:n.enabled??!0})}addResponses(...e){for(let t=0;t+1<e.length;t+=2)this.addResponse(e[t],e[t+1])}hasResponse(e){return this._responses.some(t=>t.id===e)}setResponseAppearance(e,t){let n=this._responses.find(t=>t.id===e);n&&(n.appearance=t)}getResponseAppearance(e){return this._responses.find(t=>t.id===e)?.appearance??`default`}setResponseEnabled(e,t){let n=this._responses.find(t=>t.id===e);n&&(n.enabled=t)}getResponseEnabled(e){return this._responses.find(t=>t.id===e)?.enabled??!0}get responses(){return this._responses}get defaultResponse(){return this._defaultResponse}set defaultResponse(e){this._defaultResponse=e}get closeResponse(){return this._closeResponse}set closeResponse(e){this._closeResponse=e||`close`}get usesActionSheet(){return this._responses.length>3}orderResponses(){let e=this._responses.find(e=>e.id===this._defaultResponse)??this._responses[0],t=this._responses.filter(t=>t!==e);return{ok:e,cancel:t[t.length-1],neutral:t.length>=2?t[0]:void 0}}resolveById(e){return e!=null&&this.hasResponse(e)?e:this._closeResponse}resolveLabel(e){return e==null?this._closeResponse:this.resolveById(this._responses.find(t=>t.label===e)?.id)}};function resolveBottomSheetClose(e,t){let n=!!t.open,r=!!t.canClose;switch(e){case`drag-handle`:return`ignored`;case`swipe`:return n&&r?`close`:`ignored`;case`dimming`:return n?r?`close`:`close-attempt`:`ignored`;case`close-button`:return r?n?`close`:`delegate`:`close-attempt`;case`escape`:return r&&n?`close`:`close-attempt`}}function resolveBottomSheetOpen(e,t){if(e===`drag-handle`)return`ignored`;let n=resolveBottomSheetChrome(t);return n.layer!==`bottom-bar`||!n.surfaceVisible||n.bottomBarInert?`ignored`:`open`}function resolveBottomSheetChrome(e){let t=!!e.open,n=!!e.hasBottomBar,r=e.revealBottomBar??!0;return{layer:t||!n?`sheet`:`bottom-bar`,surfaceVisible:t||n&&r,bottomBarInert:!e.canOpen,dimmed:t&&(e.modal??!0)}}function resolveBottomSheetSwipeTracker(e){return{enabled:!!e.canOpen&&!!e.hasBottomBar||!!e.canClose,allowMouseDrag:!!e.showDragHandle||!!e.hasBottomBar,lowerOvershoot:!!e.hasBottomBar}}var BottomSheetPresentation=class{constructor(e={}){this._open=!1,this._canClose=!0,this._canOpen=!0,this._hasBottomBar=!1,this._revealBottomBar=!0,this._modal=!0,this._hasBeenOpen=!1,this._listeners=new Set,this._onClosing=e.onClosing,this._onClosed=e.onClosed}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._open)}get open(){return this._open}get canClose(){return this._canClose}get hasBeenOpen(){return this._hasBeenOpen}get canOpen(){return this._canOpen}get hasBottomBar(){return this._hasBottomBar}get revealBottomBar(){return this._revealBottomBar}get modal(){return this._modal}get chrome(){return resolveBottomSheetChrome(this)}setCanClose(e){let t=!!e;return t===this._canClose?!1:(this._canClose=t,!0)}setCanOpen(e){let t=!!e;return t===this._canOpen?!1:(this._canOpen=t,!0)}setHasBottomBar(e){let t=!!e;return t===this._hasBottomBar?!1:(this._hasBottomBar=t,!0)}setModal(e){let t=!!e;return t===this._modal?!1:(this._modal=t,!0)}setRevealBottomBar(e){let t=!!e;return t===this._revealBottomBar?!1:(this._revealBottomBar=t,!0)}setOpen(e){let t=!!e;return this._open===t?(!this._hasBeenOpen&&!t&&(this._onClosing?.(),this._onClosed?.()),!1):(this._open=t,t&&(this._hasBeenOpen=!0),!t&&(this._onClosing?.(),this._open!==t)?!1:(this._emit(),!0))}requestClose(e){let t=resolveBottomSheetClose(e,this);return t===`close`&&this.setOpen(!1),t}requestOpen(e){let t=resolveBottomSheetOpen(e,this);return t===`open`&&this.setOpen(!0),t}finishClose(){return this._open?!1:(this._onClosed?.(),!0)}};export{AdwAlertResponses,BottomSheetPresentation,resolveBottomSheetChrome,resolveBottomSheetClose,resolveBottomSheetOpen,resolveBottomSheetSwipeTracker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";var GioMenuItem=class{constructor(e=null,t=null){this.set_label(e),this.set_detailed_action(t)}set_label(e){e===null?delete this.label:this.label=e}set_detailed_action(e){e===null?delete this.action:this.action=e}},GioMenu=class extends Array{append(e,t=null){this.append_item(new GioMenuItem(e,t))}append_item(e){this.push(e)}append_section(e,t){let n={section:t};e!==null&&(n.label=e),this.push(n)}append_submenu(e,t){this.push({label:e??``,submenu:t})}};export{GioMenu,GioMenuItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{normalizeAdjustment as e}from"./adjustment.js";var GtkAdjustment=class{constructor(t){let n=e(t);this.value=n.value,this.lower=n.lower,this.upper=n.upper,this.stepIncrement=n.stepIncrement,this.pageIncrement=n.pageIncrement,this.pageSize=n.pageSize}_write(t){let n=e(t,this);this.value=n.value,this.lower=n.lower,this.upper=n.upper,this.stepIncrement=n.stepIncrement,this.pageIncrement=n.pageIncrement,this.pageSize=n.pageSize}configure(e,t,n,r,i,a){this._write({value:e,lower:t,upper:n,stepIncrement:r,pageIncrement:i,pageSize:a})}get_value(){return this.value}set_value(e){this._write({value:e})}get_lower(){return this.lower}set_lower(e){this._write({lower:e})}get_upper(){return this.upper}set_upper(e){this._write({upper:e})}get_step_increment(){return this.stepIncrement}set_step_increment(e){this._write({stepIncrement:e})}get_page_increment(){return this.pageIncrement}set_page_increment(e){this._write({pageIncrement:e})}get_page_size(){return this.pageSize}set_page_size(e){this._write({pageSize:e})}get_minimum_increment(){return Math.min(this.stepIncrement,this.pageIncrement)}};export{GtkAdjustment};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";var GtkStringList=class extends Array{static get[Symbol.species](){return Array}constructor(e){super();for(let t of e?.strings??[])this.push(t)}get strings(){return[...this]}set strings(e){let t=typeof e==`string`?JSON.parse(e):e;if(!Array.isArray(t)||t.some(e=>typeof e!=`string`))throw TypeError(`Gtk.StringList:strings takes an array of strings, not ${JSON.stringify(e)}.`);this.length=0;for(let e of t)this.push(e)}append(e){this.push(e)}take(e){this.push(e)}remove(e){Array.prototype.splice.call(this,e,1)}splice(e,t,...n){let r=t??this.length-e,i=[];for(let e of n)typeof e==`string`?i.push(e):i.push(...e);return Array.prototype.splice.call(this,e,r,...i)}get_string(e){return this[e]??null}get_n_items(){return this.length}};export{GtkStringList};
|
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{ADW_ACCENT_BG_COLORS as S,ADW_ACCENT_COLOR_NAMES as C,ADW_ACCENT_FG_COLOR as w,ADW_DEFAULT_ACCENT_COLOR as T,adwaitaAccent as E,adwaitaAccentBgColor as D,adwaitaAccentColor as O,adwaitaStandaloneColor as k,isAdwAccentColorName as A,onAdwaitaAccentChanged as j,setAdwaitaAccent as M}from"./accent.js";import{ActionRowState as N,BUTTON_ROW_ACTIVATABLE as P,ButtonRowState as F,SwitchRowState as I,WindowTitleState as L,deriveRowLabels as R}from"./action-row.js";import{ADW_ADJUSTMENT_DEFAULTS as z,SpinState as B,adjustmentRange as V,clampAdjustmentValue as H,normalizeAdjustment as U,parseAdjustment as W,snapAdjustmentValue as G}from"./adjustment.js";import{AVATAR_COLORS as K,AVATAR_COLOR_COUNT as q,avatarColor as J,avatarColorClass as Y,avatarFontSize as X,avatarIconSize as Z,avatarInitials as Q,avatarMaxFontSize as $,avatarMode as ee,flattenAvatarGradient as te,gStrHash as ne,randomAvatarColorClass as re}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as ie,ADW_BANNER_BUTTON_STYLE_CLASSES as ae,ADW_BANNER_DEFAULTS as oe,bannerButtonStyleClasses as se,bannerButtonText as ce,bannerButtonVisible as le,bannerRenderState as ue,isBannerButtonStyle as de,parseBannerButtonStyle as fe}from"./banner.js";import{AdwBreakpoint as pe,evaluateBreakpointCondition as me,parseBreakpointCondition as he}from"./breakpoint.js";import{BreakpointBinState as ge}from"./breakpoint-bin.js";import{ADW_BUTTON_CONTENT_DEFAULTS as _e,BUTTON_CONTENT_BOX_SPACING as ve,BUTTON_CONTENT_FALLBACK_ICON as ye,BUTTON_CONTENT_STYLE_CLASS as be,buttonContentEllipsize as xe,buttonContentIconExpands as Se,buttonContentIconIsEmpty as Ce,buttonContentIconName as we,buttonContentLabelText as Te,buttonContentLabelVisible as Ee,buttonContentRenderState as De,buttonContentStyleTargetIndex as Oe}from"./button-content.js";import{ADW_BUTTON_STYLE_ALIASES as ke,ADW_BUTTON_STYLE_CLASSES as Ae,buttonStyleClass as je,buttonStyleClasses as Me}from"./button.js";import{ADW_SWIPE_DECELERATION_TOUCH as Ne,ADW_SWIPE_DECELERATION_TOUCHPAD as Pe,ADW_SWIPE_DRAG_THRESHOLD as Fe,ADW_SWIPE_EPSILON as Ie,ADW_SWIPE_HISTORY_THRESHOLD_MS as Le,ADW_SWIPE_PARABOLA_MULTIPLIER as Re,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H as ze,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V as Be,ADW_SWIPE_VELOCITY_CURVE_THRESHOLD as Ve,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH as He,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD as Ue,SwipeTracker as We,swipeBounds as Ge,swipeClosestPointIndex as Ke,swipeEndProgress as qe,swipeNextPointIndex as Je,swipePreviousPointIndex as Ye,swipeProjectedPointIndex as Xe,swipeSlope as Ze,swipeVelocityThreshold as Qe}from"./swipe.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as $e,CAROUSEL_SETTLE_EPSILON as et,CarouselState as tt,carouselClampPosition as nt,carouselClosestSnapPoint as rt,carouselNavigateTarget as it,carouselPageAllocation as at,carouselPageAtPosition as ot,carouselRange as st,carouselReorderShift as ct,carouselSizesFromSnapPoints as lt,carouselSnapPoints as ut,carouselWheelStep as dt}from"./carousel.js";import{RadioGroupState as ft,resolveCheckState as pt}from"./checks.js";import{adwLerp as mt,easeInOutSine as ht,easeOutCubic as gt,inverseLerp as _t}from"./easing.js";import{ADW_CLAMP_DEFAULTS as vt,ADW_CLAMP_SIZE_CLASSES as yt,ADW_SPINNER_MAX_SIZE as bt,ADW_SPINNER_MIN_SIZE as xt,ADW_TOOLBAR_BAR_CLASSES as St,ADW_TOOLBAR_VIEW_CLASSES as Ct,ADW_TOOLBAR_VIEW_DEFAULTS as wt,clampAllocate as Tt,clampChildSize as Et,clampSizeFromChild as Dt,clampThresholds as Ot,normalizeClampSize as kt,parseToolbarStyle as At,resolveSpinnerSize as jt,spinnerGeometry as Mt,toolbarBarStyleClasses as Nt,toolbarViewAllocate as Pt,toolbarViewClasses as Ft,toolbarViewContentForSize as It,toolbarViewMeasure as Lt}from"./chrome.js";import{DEFAULT_ICON_COLOR as Rt,DEFAULT_ICON_COLOR_DARK as zt,adwaitaColorScheme as Bt,isThemeIconColor as Vt,onAdwaitaColorSchemeChanged as Ht,setAdwaitaColorScheme as Ut,themeIconColor as Wt,toggleAdwaitaColorScheme as Gt}from"./color-scheme.js";import{ViewStackState as Kt,normalizeIconName as qt,resolvePageTitle as Jt}from"./view-stack.js";import{DEFAULT_TAB_AUTOHIDE as Yt,TabViewState as Xt,isDescendantOfPage as Zt,successorAfterClose as Qt,tabCloseVisible as $t,tabIconState as en,tabTooltip as tn,tabTooltipIsMarkup as nn,tabViewItemsChanged as rn,tabsRevealed as an}from"./tab-view.js";import{ADW_DATA_GRID_ROW_VARIANTS as on,DATA_GRID_CELL_CLASS as sn,DATA_GRID_ROW_CLASS as cn,dataGridCellText as ln,dataGridColumnAlign as un,dataGridColumnClasses as dn,dataGridRowInteractive as fn,dataGridTrackTemplate as pn,dataGridTracks as mn,normalizeDataGridColumns as hn,normalizeDataGridVariant as gn}from"./data-grid.js";import{AdwAlertResponses as _n,BottomSheetPresentation as vn,resolveBottomSheetClose as yn}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as bn,CAPS_LOCK_TOOLTIP as xn,EMPTY_ANIMATION_DURATION_MS as Sn,ENTRY_ROW_APPLY_ICON_NAME as Cn,ENTRY_ROW_APPLY_TOOLTIP as wn,ENTRY_ROW_EDIT_ICON_NAME as Tn,ENTRY_ROW_MAX_LENGTH_LIMIT as En,ENTRY_ROW_TITLE_SPACING as Dn,EntryRowState as On,PASSWORD_CONCEAL_ICON_NAME as kn,PASSWORD_CONCEAL_LABEL as An,PASSWORD_REVEAL_ICON_NAME as jn,PASSWORD_REVEAL_LABEL as Mn,PasswordEntryRowState as Nn,clampEntryText as Pn,entryTextLength as Fn}from"./entry-row.js";import{HeaderBarState as In,resolveHeaderBarTitle as Ln}from"./header-bar.js";import{AdwToast as Rn,AdwToastQueue as zn,DEFAULT_TOAST_TIMEOUT as Bn}from"./toast.js";import{ADW_COMBO_NO_SELECTION as Vn,clampListSelection as Hn,listItemsChanged as Un,normalizeComboOptions as Wn,parseListModel as Gn}from"./list.js";import{ComboState as Kn,ExpanderState as qn,ToggleGroupState as Jn}from"./rows.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as Yn,NavigationViewState as Xn,describeNavigationDiagnostic as Zn}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as Qn,SidebarState as $n,adjustSidebarSelection as er,clampSidebarSelection as tr,flattenSidebarItems as nr,sidebarHeaders as rr}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as ir,ADW_SPINNER_CYCLES_PER_LOOP as ar,ADW_SPINNER_CYCLE_LENGTH as or,ADW_SPINNER_EXTEND_DISTANCE as sr,ADW_SPINNER_IDLE_DISTANCE as cr,ADW_SPINNER_MAX_ARC_LENGTH as lr,ADW_SPINNER_MIN_ARC_LENGTH as ur,ADW_SPINNER_N_CYCLES as dr,ADW_SPINNER_OVERLAP_DISTANCE as fr,ADW_SPINNER_SPIN_DURATION_MS as pr,ADW_SPINNER_START_ANGLE as mr,ADW_SPINNER_STILL_PROGRESS as hr,ADW_SPINNER_TRACK_OPACITY as gr,normalizeSpinnerAngle as _r,spinnerArc as vr,spinnerArcEnd as yr,spinnerArcStart as br,spinnerProgressAt as xr}from"./spinner.js";import{parseAccelerator as Sr,parseShortcutLabel as Cr,shortcutKeycaps as wr}from"./shortcut-label.js";import{ADW_LENGTH_UNITS as Tr,DEFAULT_DPI as Er,adwLengthToPx as Dr,normalizeLengthUnit as Or}from"./length-unit.js";import{ADW_SWIPE_BORDER as kr,DEFAULT_MAX_SIDEBAR_WIDTH as Ar,DEFAULT_MIN_SIDEBAR_WIDTH as jr,DEFAULT_SIDEBAR_WIDTH_FRACTION as Mr,DEFAULT_SIDEBAR_WIDTH_UNIT as Nr,INSTANT_SPLIT_VIEW_ANIMATOR as Pr,NAVIGATION_SPLIT_VIEW_CRITICALS as Fr,NavigationSplitViewState as Ir,OverlaySplitViewState as Lr,isSidebarAtVisualStart as Rr,layoutNavigationSplitView as zr,layoutOverlaySplitView as Br,measureSplitViewHorizontal as Vr,resolveNaturalSidebarWidth as Hr,resolveNavigationAction as Ur,resolveNavigationSidebarWidth as Wr,resolveNavigationStack as Gr,resolveOverlaySidebarWidth as Kr,resolveSidebarBounds as qr,resolveSwipeArea as Jr,resolveSwipeRelease as Yr,resolveSwipeSnapPoints as Xr,resolveSwipeStart as Zr,swipeCancelProgress as Qr,tagsConflict as $r}from"./split-view.js";import{ADW_MENU_SURFACE_NATIVESCRIPT as ei,ADW_MENU_SURFACE_WEB as ti,assertMenuRenderable as ni,flattenMenu as ri,menuItemAt as ii,menuNodeAt as ai,menuRefusals as oi,normalizeMenuModel as si,parseDetailedAction as ci,parseMenuModel as li,resolveMenuItemState as ui}from"./menu.js";import{DEFAULT_DROPDOWN_TOOLTIP as di,SPLIT_BUTTON_DISABLED_OPACITY as fi,SplitButtonState as pi,isSplitButtonDirection as mi,menuButtonArrowIcon as hi,menuButtonPopupDirection as gi,resolveDropdownTooltip as _i,splitButtonArrowIcon as vi,splitButtonPopupDirection as yi,splitButtonRootState as bi,splitButtonStyleClasses as xi}from"./split-button.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as Si,INLINE_VIEW_SWITCHER_DISPLAY_MODES as Ci,VIEW_SWITCHER_BADGE_LIMIT as wi,VIEW_SWITCHER_DRAG_SWITCH_DELAY as Ti,VIEW_SWITCHER_FALLBACK_ICON as Ei,VIEW_SWITCHER_NO_SELECTION as Di,VIEW_SWITCHER_POLICIES as Oi,ViewSwitcherBarState as ki,ViewSwitcherDragSwitch as Ai,ViewSwitcherState as ji,buildInlineToggles as Mi,buildViewSwitcherButtons as Ni,createViewSwitcherPage as Pi,inlineToggleTooltip as Fi,isInlineViewSwitcherDisplayMode as Ii,isViewSwitcherButtonVisible as Li,isViewSwitcherPolicy as Ri,pageIndexForToggle as zi,shouldRevealViewSwitcherBar as Bi,toggleIndexForPage as Vi,viewSwitcherBadgeLabel as Hi,viewSwitcherButtonOrientation as Ui,viewSwitcherIconName as Wi,viewSwitcherIndicatorDescription as Gi,viewSwitcherLabel as Ki,viewSwitcherPageFromStackPage as qi,viewSwitcherPagesFromStack as Ji}from"./view-switcher.js";import{UNTITLED_PAGE_LABEL as Yi,collectSearchRows as Xi,countVisiblePages as Zi,createSearchRowSubtitle as Qi,defaultCaseFolder as $i,derivePreferencesGroupHeader as ea,escapeMarkup as ta,makeComparable as na,rowMatchesQuery as ra,searchPreferences as ia,stripMarkup as aa}from"./preferences.js";import{ADW_MAX_OVERSHOOT_DISTANCE as oa,ADW_OVERSHOOT_SETTLE_MS as sa,ADW_UNDERSHOOT_CLASSES as ca,ADW_UNDERSHOOT_SIZE as la,accumulateOvershoot as ua,isScrolledFromEnd as da,isScrolledFromStart as fa,overshootDistance as pa,scrollMaxValue as ma,scrollUndershootClasses as ha}from"./scrolling.js";import{POPOVER_ITEM_RADIUS as ga,POPOVER_MENU_PADDING as _a,POPOVER_PADDING as va,POPOVER_RADIUS as ya,PopoverState as ba,resolvePopoverKey as xa}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as Sa,ADW_WRAP_BOX_DEFAULT_JUSTIFY as Ca,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as wa,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as Ta,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as Ea,ADW_WRAP_BOX_DEFAULT_SPACING as Da,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as Oa,ADW_WRAP_BOX_JUSTIFY_MODES as ka,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as Aa,ADW_WRAP_BOX_PACK_DIRECTIONS as ja,ADW_WRAP_POLICIES as Ma,normalizeNaturalLineLength as Na,normalizeWrapBoxAlign as Pa,normalizeWrapBoxJustify as Fa,normalizeWrapBoxLengthUnit as Ia,normalizeWrapBoxPackDirection as La,normalizeWrapBoxSpacing as Ra,normalizeWrapPolicy as za,resolveWrapBoxChildOrder as Ba,resolveWrapBoxLine as Va,wrapBoxChildFlex as Ha,wrapBoxFlexStyle as Ua,wrapBoxLengthToPx as Wa,wrapPolicyFlexShrink as Ga}from"./wrap-box.js";export{i as ADW_ABOUT_DIALOG_LABELS,S as ADW_ACCENT_BG_COLORS,C as ADW_ACCENT_COLOR_NAMES,w as ADW_ACCENT_FG_COLOR,z as ADW_ADJUSTMENT_DEFAULTS,ie as ADW_BANNER_BUTTON_STYLES,ae as ADW_BANNER_BUTTON_STYLE_CLASSES,oe as ADW_BANNER_DEFAULTS,_e as ADW_BUTTON_CONTENT_DEFAULTS,ke as ADW_BUTTON_STYLE_ALIASES,Ae as ADW_BUTTON_STYLE_CLASSES,vt as ADW_CLAMP_DEFAULTS,yt as ADW_CLAMP_SIZE_CLASSES,Vn as ADW_COMBO_NO_SELECTION,a as ADW_CREDITS_SECTION_TITLES,on as ADW_DATA_GRID_ROW_VARIANTS,T as ADW_DEFAULT_ACCENT_COLOR,Tr as ADW_LENGTH_UNITS,o as ADW_LICENSES,s as ADW_LICENSE_ALIASES,c as ADW_LICENSE_DEFAULTS,l as ADW_LICENSE_WARRANTY_TEMPLATE,oa as ADW_MAX_OVERSHOOT_DISTANCE,ei as ADW_MENU_SURFACE_NATIVESCRIPT,ti as ADW_MENU_SURFACE_WEB,sa as ADW_OVERSHOOT_SETTLE_MS,Qn as ADW_SIDEBAR_NO_SELECTION,ir as ADW_SPINNER_CONTRACT_DISTANCE,ar as ADW_SPINNER_CYCLES_PER_LOOP,or as ADW_SPINNER_CYCLE_LENGTH,sr as ADW_SPINNER_EXTEND_DISTANCE,cr as ADW_SPINNER_IDLE_DISTANCE,lr as ADW_SPINNER_MAX_ARC_LENGTH,bt as ADW_SPINNER_MAX_SIZE,ur as ADW_SPINNER_MIN_ARC_LENGTH,xt as ADW_SPINNER_MIN_SIZE,dr as ADW_SPINNER_N_CYCLES,fr as ADW_SPINNER_OVERLAP_DISTANCE,pr as ADW_SPINNER_SPIN_DURATION_MS,mr as ADW_SPINNER_START_ANGLE,hr as ADW_SPINNER_STILL_PROGRESS,gr as ADW_SPINNER_TRACK_OPACITY,kr as ADW_SWIPE_BORDER,Ne as ADW_SWIPE_DECELERATION_TOUCH,Pe as ADW_SWIPE_DECELERATION_TOUCHPAD,Fe as ADW_SWIPE_DRAG_THRESHOLD,Ie as ADW_SWIPE_EPSILON,Le as ADW_SWIPE_HISTORY_THRESHOLD_MS,Re as ADW_SWIPE_PARABOLA_MULTIPLIER,ze as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H,Be as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V,Ve as ADW_SWIPE_VELOCITY_CURVE_THRESHOLD,He as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH,Ue as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD,St as ADW_TOOLBAR_BAR_CLASSES,Ct as ADW_TOOLBAR_VIEW_CLASSES,wt as ADW_TOOLBAR_VIEW_DEFAULTS,u as ADW_TRANSLATOR_CREDITS_SENTINELS,ca as ADW_UNDERSHOOT_CLASSES,la as ADW_UNDERSHOOT_SIZE,Sa as ADW_WRAP_BOX_DEFAULT_ALIGN,Ca as ADW_WRAP_BOX_DEFAULT_JUSTIFY,wa as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,Ta as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,Ea as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,Da as ADW_WRAP_BOX_DEFAULT_SPACING,Oa as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,ka as ADW_WRAP_BOX_JUSTIFY_MODES,Aa as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,ja as ADW_WRAP_BOX_PACK_DIRECTIONS,Ma as ADW_WRAP_POLICIES,K as AVATAR_COLORS,q as AVATAR_COLOR_COUNT,N as ActionRowState,_n as AdwAlertResponses,pe as AdwBreakpoint,Rn as AdwToast,zn as AdwToastQueue,Yn as BACK_BUTTON_FALLBACK_TOOLTIP,ve as BUTTON_CONTENT_BOX_SPACING,ye as BUTTON_CONTENT_FALLBACK_ICON,be as BUTTON_CONTENT_STYLE_CLASS,P as BUTTON_ROW_ACTIVATABLE,vn as BottomSheetPresentation,ge as BreakpointBinState,F as ButtonRowState,bn as CAPS_LOCK_ICON_NAME,xn as CAPS_LOCK_TOOLTIP,$e as CAROUSEL_SCROLL_TIMEOUT_MS,et as CAROUSEL_SETTLE_EPSILON,tt as CarouselState,Kn as ComboState,sn as DATA_GRID_CELL_CLASS,cn as DATA_GRID_ROW_CLASS,Er as DEFAULT_DPI,di as DEFAULT_DROPDOWN_TOOLTIP,Rt as DEFAULT_ICON_COLOR,zt as DEFAULT_ICON_COLOR_DARK,Si as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,Ar as DEFAULT_MAX_SIDEBAR_WIDTH,jr as DEFAULT_MIN_SIDEBAR_WIDTH,Mr as DEFAULT_SIDEBAR_WIDTH_FRACTION,Nr as DEFAULT_SIDEBAR_WIDTH_UNIT,Yt as DEFAULT_TAB_AUTOHIDE,Bn as DEFAULT_TOAST_TIMEOUT,Sn as EMPTY_ANIMATION_DURATION_MS,Cn as ENTRY_ROW_APPLY_ICON_NAME,wn as ENTRY_ROW_APPLY_TOOLTIP,Tn as ENTRY_ROW_EDIT_ICON_NAME,En as ENTRY_ROW_MAX_LENGTH_LIMIT,Dn as ENTRY_ROW_TITLE_SPACING,On as EntryRowState,qn as ExpanderState,d as GTK_LICENSE,In as HeaderBarState,Ci as INLINE_VIEW_SWITCHER_DISPLAY_MODES,Pr as INSTANT_SPLIT_VIEW_ANIMATOR,Fr as NAVIGATION_SPLIT_VIEW_CRITICALS,Ir as NavigationSplitViewState,Xn as NavigationViewState,Lr as OverlaySplitViewState,kn as PASSWORD_CONCEAL_ICON_NAME,An as PASSWORD_CONCEAL_LABEL,jn as PASSWORD_REVEAL_ICON_NAME,Mn as PASSWORD_REVEAL_LABEL,ga as POPOVER_ITEM_RADIUS,_a as POPOVER_MENU_PADDING,va as POPOVER_PADDING,ya as POPOVER_RADIUS,Nn as PasswordEntryRowState,ba as PopoverState,ft as RadioGroupState,fi as SPLIT_BUTTON_DISABLED_OPACITY,$n as SidebarState,B as SpinState,pi as SplitButtonState,We as SwipeTracker,I as SwitchRowState,Xt as TabViewState,Jn as ToggleGroupState,Yi as UNTITLED_PAGE_LABEL,wi as VIEW_SWITCHER_BADGE_LIMIT,Ti as VIEW_SWITCHER_DRAG_SWITCH_DELAY,Ei as VIEW_SWITCHER_FALLBACK_ICON,Di as VIEW_SWITCHER_NO_SELECTION,Oi as VIEW_SWITCHER_POLICIES,Kt as ViewStackState,ki as ViewSwitcherBarState,Ai as ViewSwitcherDragSwitch,ji as ViewSwitcherState,L as WindowTitleState,f as aboutDialogVisibility,ua as accumulateOvershoot,er as adjustSidebarSelection,V as adjustmentRange,Dr as adwLengthToPx,mt as adwLerp,E as adwaitaAccent,D as adwaitaAccentBgColor,O as adwaitaAccentColor,Bt as adwaitaColorScheme,k as adwaitaStandaloneColor,ni as assertMenuRenderable,J as avatarColor,Y as avatarColorClass,X as avatarFontSize,Z as avatarIconSize,Q as avatarInitials,$ as avatarMaxFontSize,ee as avatarMode,se as bannerButtonStyleClasses,ce as bannerButtonText,le as bannerButtonVisible,ue as bannerRenderState,Mi as buildInlineToggles,Ni as buildViewSwitcherButtons,xe as buttonContentEllipsize,Se as buttonContentIconExpands,Ce as buttonContentIconIsEmpty,we as buttonContentIconName,Te as buttonContentLabelText,Ee as buttonContentLabelVisible,De as buttonContentRenderState,Oe as buttonContentStyleTargetIndex,je as buttonStyleClass,Me as buttonStyleClasses,nt as carouselClampPosition,rt as carouselClosestSnapPoint,it as carouselNavigateTarget,at as carouselPageAllocation,ot as carouselPageAtPosition,st as carouselRange,ct as carouselReorderShift,lt as carouselSizesFromSnapPoints,ut as carouselSnapPoints,dt as carouselWheelStep,H as clampAdjustmentValue,Tt as clampAllocate,Et as clampChildSize,Pn as clampEntryText,Hn as clampListSelection,tr as clampSidebarSelection,Dt as clampSizeFromChild,Ot as clampThresholds,Xi as collectSearchRows,Zi as countVisiblePages,Qi as createSearchRowSubtitle,Pi as createViewSwitcherPage,p as creditsSections,ln as dataGridCellText,un as dataGridColumnAlign,dn as dataGridColumnClasses,fn as dataGridRowInteractive,pn as dataGridTrackTemplate,mn as dataGridTracks,$i as defaultCaseFolder,ea as derivePreferencesGroupHeader,R as deriveRowLabels,Zn as describeNavigationDiagnostic,ht as easeInOutSine,gt as easeOutCubic,Fn as entryTextLength,ta as escapeMarkup,me as evaluateBreakpointCondition,te as flattenAvatarGradient,ri as flattenMenu,nr as flattenSidebarItems,ne as gStrHash,e as gStrStrip,t as glibClamp,Fi as inlineToggleTooltip,_t as inverseLerp,A as isAdwAccentColorName,de as isBannerButtonStyle,Zt as isDescendantOfPage,Ii as isInlineViewSwitcherDisplayMode,m as isLicenseType,da as isScrolledFromEnd,fa as isScrolledFromStart,Rr as isSidebarAtVisualStart,mi as isSplitButtonDirection,Vt as isThemeIconColor,Li as isViewSwitcherButtonVisible,Ri as isViewSwitcherPolicy,zr as layoutNavigationSplitView,Br as layoutOverlaySplitView,h as legalSectionVisible,g as licenseText,_ as licenseTypeForSpdxId,Un as listItemsChanged,na as makeComparable,Vr as measureSplitViewHorizontal,hi as menuButtonArrowIcon,gi as menuButtonPopupDirection,ii as menuItemAt,ai as menuNodeAt,oi as menuRefusals,U as normalizeAdjustment,kt as normalizeClampSize,Wn as normalizeComboOptions,hn as normalizeDataGridColumns,gn as normalizeDataGridVariant,qt as normalizeIconName,Or as normalizeLengthUnit,si as normalizeMenuModel,Na as normalizeNaturalLineLength,_r as normalizeSpinnerAngle,Pa as normalizeWrapBoxAlign,Fa as normalizeWrapBoxJustify,Ia as normalizeWrapBoxLengthUnit,La as normalizeWrapBoxPackDirection,Ra as normalizeWrapBoxSpacing,za as normalizeWrapPolicy,j as onAdwaitaAccentChanged,Ht as onAdwaitaColorSchemeChanged,pa as overshootDistance,zi as pageIndexForToggle,Sr as parseAccelerator,W as parseAdjustment,fe as parseBannerButtonStyle,he as parseBreakpointCondition,v as parseCreditPerson,ci as parseDetailedAction,Gn as parseListModel,li as parseMenuModel,Cr as parseShortcutLabel,At as parseToolbarStyle,re as randomAvatarColorClass,yn as resolveBottomSheetClose,pt as resolveCheckState,_i as resolveDropdownTooltip,Ln as resolveHeaderBarTitle,ui as resolveMenuItemState,Hr as resolveNaturalSidebarWidth,Ur as resolveNavigationAction,Wr as resolveNavigationSidebarWidth,Gr as resolveNavigationStack,Kr as resolveOverlaySidebarWidth,Jt as resolvePageTitle,xa as resolvePopoverKey,qr as resolveSidebarBounds,jt as resolveSpinnerSize,Jr as resolveSwipeArea,Yr as resolveSwipeRelease,Xr as resolveSwipeSnapPoints,Zr as resolveSwipeStart,Ba as resolveWrapBoxChildOrder,Va as resolveWrapBoxLine,ra as rowMatchesQuery,ma as scrollMaxValue,ha as scrollUndershootClasses,ia as searchPreferences,M as setAdwaitaAccent,Ut as setAdwaitaColorScheme,y as setLicense,b as setLicenseType,wr as shortcutKeycaps,Bi as shouldRevealViewSwitcherBar,rr as sidebarHeaders,G as snapAdjustmentValue,vr as spinnerArc,yr as spinnerArcEnd,br as spinnerArcStart,Mt as spinnerGeometry,xr as spinnerProgressAt,vi as splitButtonArrowIcon,yi as splitButtonPopupDirection,bi as splitButtonRootState,xi as splitButtonStyleClasses,n as stringIsNotEmpty,aa as stripMarkup,r as stripMnemonic,Qt as successorAfterClose,Ge as swipeBounds,Qr as swipeCancelProgress,Ke as swipeClosestPointIndex,qe as swipeEndProgress,Je as swipeNextPointIndex,Ye as swipePreviousPointIndex,Xe as swipeProjectedPointIndex,Ze as swipeSlope,Qe as swipeVelocityThreshold,$t as tabCloseVisible,en as tabIconState,tn as tabTooltip,nn as tabTooltipIsMarkup,rn as tabViewItemsChanged,an as tabsRevealed,$r as tagsConflict,Wt as themeIconColor,Gt as toggleAdwaitaColorScheme,Vi as toggleIndexForPage,Nt as toolbarBarStyleClasses,Pt as toolbarViewAllocate,Ft as toolbarViewClasses,It as toolbarViewContentForSize,Lt as toolbarViewMeasure,x as translatorCreditsPeople,Hi as viewSwitcherBadgeLabel,Ui as viewSwitcherButtonOrientation,Wi as viewSwitcherIconName,Gi as viewSwitcherIndicatorDescription,Ki as viewSwitcherLabel,qi as viewSwitcherPageFromStackPage,Ji as viewSwitcherPagesFromStack,Ha as wrapBoxChildFlex,Ua as wrapBoxFlexStyle,Wa as wrapBoxLengthToPx,Ga 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{ADW_ACCENT_BG_COLORS as S,ADW_ACCENT_COLOR_NAMES as C,ADW_ACCENT_FG_COLOR as w,ADW_DEFAULT_ACCENT_COLOR as T,adwaitaAccent as E,adwaitaAccentBgColor as D,adwaitaAccentColor as O,adwaitaStandaloneColor as k,isAdwAccentColorName as A,onAdwaitaAccentChanged as j,setAdwaitaAccent as M}from"./accent.js";import{ActionRowState as N,BUTTON_ROW_ACTIVATABLE as P,ButtonRowState as F,SwitchRowState as I,WindowTitleState as L,deriveRowLabels as R}from"./action-row.js";import{ADW_ADJUSTMENT_DEFAULTS as z,SpinState as B,adjustmentRange as V,clampAdjustmentValue as H,normalizeAdjustment as U,parseAdjustment as W,snapAdjustmentValue as G}from"./adjustment.js";import{AVATAR_COLORS as K,AVATAR_COLOR_COUNT as q,avatarColor as J,avatarColorClass as Y,avatarFontSize as X,avatarIconSize as Z,avatarInitials as Q,avatarMaxFontSize as $,avatarMode as ee,flattenAvatarGradient as te,gStrHash as ne,randomAvatarColorClass as re}from"./avatar.js";import{ADW_BANNER_BUTTON_STYLES as ie,ADW_BANNER_BUTTON_STYLE_CLASSES as ae,ADW_BANNER_DEFAULTS as oe,bannerButtonStyleClasses as se,bannerButtonText as ce,bannerButtonVisible as le,bannerRenderState as ue,isBannerButtonStyle as de,parseBannerButtonStyle as fe}from"./banner.js";import{DEFAULT_BOX_SPACING as pe,normalizeBoxOrientation as me,normalizeBoxSpacing as he}from"./box.js";import{AdwBreakpoint as ge,evaluateBreakpointCondition as _e,parseBreakpointCondition as ve}from"./breakpoint.js";import{BreakpointBinState as ye}from"./breakpoint-bin.js";import{ADW_BUTTON_CONTENT_DEFAULTS as be,BUTTON_CONTENT_BOX_SPACING as xe,BUTTON_CONTENT_FALLBACK_ICON as Se,BUTTON_CONTENT_STYLE_CLASS as Ce,buttonContentEllipsize as we,buttonContentIconExpands as Te,buttonContentIconIsEmpty as Ee,buttonContentIconName as De,buttonContentLabelText as Oe,buttonContentLabelVisible as ke,buttonContentRenderState as Ae,buttonContentStyleTargetIndex as je}from"./button-content.js";import{ADW_BUTTON_STYLE_ALIASES as Me,ADW_BUTTON_STYLE_CLASSES as Ne,buttonStyleClass as Pe,buttonStyleClasses as Fe}from"./button.js";import{ADW_SWIPE_DECELERATION_TOUCH as Ie,ADW_SWIPE_DECELERATION_TOUCHPAD as Le,ADW_SWIPE_DRAG_THRESHOLD as Re,ADW_SWIPE_EPSILON as ze,ADW_SWIPE_HISTORY_THRESHOLD_MS as Be,ADW_SWIPE_PARABOLA_MULTIPLIER as Ve,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H as He,ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V as Ue,ADW_SWIPE_VELOCITY_CURVE_THRESHOLD as We,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH as Ge,ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD as Ke,SwipeTracker as qe,swipeBounds as Je,swipeClosestPointIndex as Ye,swipeEndProgress as Xe,swipeNextPointIndex as Ze,swipePreviousPointIndex as Qe,swipeProjectedPointIndex as $e,swipeSlope as et,swipeVelocityThreshold as tt}from"./swipe.js";import{CAROUSEL_SCROLL_TIMEOUT_MS as nt,CAROUSEL_SETTLE_EPSILON as rt,CarouselState as it,carouselClampPosition as at,carouselClosestSnapPoint as ot,carouselNavigateTarget as st,carouselPageAllocation as ct,carouselPageAtPosition as lt,carouselRange as ut,carouselReorderShift as dt,carouselSizesFromSnapPoints as ft,carouselSnapPoints as pt,carouselWheelStep as mt}from"./carousel.js";import{RadioGroupState as ht,resolveCheckState as gt}from"./checks.js";import{adwLerp as _t,easeInOutSine as vt,easeOutCubic as yt,inverseLerp as bt}from"./easing.js";import{ADW_CLAMP_DEFAULTS as xt,ADW_CLAMP_SIZE_CLASSES as St,ADW_SPINNER_MAX_SIZE as Ct,ADW_SPINNER_MIN_SIZE as wt,ADW_TOOLBAR_BAR_CLASSES as Tt,ADW_TOOLBAR_VIEW_CLASSES as Et,ADW_TOOLBAR_VIEW_DEFAULTS as Dt,clampAllocate as Ot,clampChildSize as kt,clampSizeFromChild as At,clampThresholds as jt,normalizeClampSize as Mt,parseToolbarStyle as Nt,resolveSpinnerSize as Pt,spinnerGeometry as Ft,toolbarBarStyleClasses as It,toolbarViewAllocate as Lt,toolbarViewClasses as Rt,toolbarViewContentForSize as zt,toolbarViewMeasure as Bt}from"./chrome.js";import{DEFAULT_ICON_COLOR as Vt,DEFAULT_ICON_COLOR_DARK as Ht,adwaitaColorScheme as Ut,isThemeIconColor as Wt,onAdwaitaColorSchemeChanged as Gt,setAdwaitaColorScheme as Kt,themeIconColor as qt,toggleAdwaitaColorScheme as Jt}from"./color-scheme.js";import{ViewStackState as Yt,normalizeIconName as Xt,resolvePageTitle as Zt}from"./view-stack.js";import{DEFAULT_TAB_AUTOHIDE as Qt,TabViewState as $t,isDescendantOfPage as en,successorAfterClose as tn,tabCloseVisible as nn,tabIconState as rn,tabTooltip as an,tabTooltipIsMarkup as on,tabViewItemsChanged as sn,tabsRevealed as cn}from"./tab-view.js";import{ADW_DATA_GRID_ROW_VARIANTS as ln,DATA_GRID_CELL_CLASS as un,DATA_GRID_ROW_CLASS as dn,dataGridCellText as fn,dataGridColumnAlign as pn,dataGridColumnClasses as mn,dataGridRowInteractive as hn,dataGridTrackTemplate as gn,dataGridTracks as _n,normalizeDataGridColumns as vn,normalizeDataGridVariant as yn}from"./data-grid.js";import{AdwAlertResponses as bn,BottomSheetPresentation as xn,resolveBottomSheetChrome as Sn,resolveBottomSheetClose as Cn,resolveBottomSheetOpen as wn,resolveBottomSheetSwipeTracker as Tn}from"./dialog.js";import{CAPS_LOCK_ICON_NAME as En,CAPS_LOCK_TOOLTIP as Dn,EMPTY_ANIMATION_DURATION_MS as On,ENTRY_ROW_APPLY_ICON_NAME as kn,ENTRY_ROW_APPLY_TOOLTIP as An,ENTRY_ROW_EDIT_ICON_NAME as jn,ENTRY_ROW_MAX_LENGTH_LIMIT as Mn,ENTRY_ROW_TITLE_SPACING as Nn,EntryRowState as Pn,PASSWORD_CONCEAL_ICON_NAME as Fn,PASSWORD_CONCEAL_LABEL as In,PASSWORD_REVEAL_ICON_NAME as Ln,PASSWORD_REVEAL_LABEL as Rn,PasswordEntryRowState as zn,clampEntryText as Bn,entryTextLength as Vn}from"./entry-row.js";import{GioMenu as Hn,GioMenuItem as Un}from"./gio-menu.js";import{GtkAdjustment as Wn}from"./gtk-adjustment.js";import{GtkStringList as Gn}from"./gtk-string-list.js";import{HeaderBarState as Kn,resolveHeaderBarTitle as qn}from"./header-bar.js";import{AdwToast as Jn,AdwToastQueue as Yn,DEFAULT_TOAST_TIMEOUT as Xn}from"./toast.js";import{ADW_COMBO_NO_SELECTION as Zn,clampListSelection as Qn,listItemsChanged as $n,normalizeComboOptions as er,parseListModel as tr}from"./list.js";import{ComboState as nr,ExpanderState as rr,ToggleGroupState as ir,keptToggles as ar,toggleIndexOfName as or}from"./rows.js";import{UNTITLED_PAGE_LABEL as sr,collectSearchRows as cr,countVisiblePages as lr,createSearchRowSubtitle as ur,defaultCaseFolder as dr,derivePreferencesGroupHeader as fr,escapeMarkup as pr,makeComparable as mr,rowMatchesQuery as hr,searchPreferences as gr,stripMarkup as _r}from"./preferences.js";import{DEFAULT_LABEL_ELLIPSIZE as vr,DEFAULT_LABEL_LINES as yr,DEFAULT_LABEL_MAX_WIDTH_CHARS as br,DEFAULT_LABEL_WIDTH_CHARS as xr,DEFAULT_LABEL_WRAP_MODE as Sr,DEFAULT_LABEL_XALIGN as Cr,DEFAULT_LABEL_YALIGN as wr,LABEL_ELLIPSIZE_MODES as Tr,LABEL_JUSTIFICATIONS as Er,LABEL_WRAP_MODES as Dr,labelDisplayText as Or,labelEffectiveLines as kr,labelEllipsizeOverflowValue as Ar,labelMarkupIsUnparseable as jr,labelWidthCharsExtent as Mr,labelYalignAlignItems as Nr,normalizeLabelEllipsize as Pr,normalizeLabelJustify as Fr,normalizeLabelLines as Ir,normalizeLabelMaxWidthChars as Lr,normalizeLabelWidthChars as Rr,normalizeLabelWrapMode as zr,normalizeLabelXalign as Br,normalizeLabelYalign as Vr}from"./label.js";import{BACK_BUTTON_FALLBACK_TOOLTIP as Hr,NavigationViewState as Ur,describeNavigationDiagnostic as Wr}from"./navigation-view.js";import{ADW_SIDEBAR_NO_SELECTION as Gr,SidebarState as Kr,adjustSidebarSelection as qr,clampSidebarSelection as Jr,flattenSidebarItems as Yr,sidebarHeaders as Xr}from"./sidebar.js";import{ADW_SPINNER_CONTRACT_DISTANCE as Zr,ADW_SPINNER_CYCLES_PER_LOOP as Qr,ADW_SPINNER_CYCLE_LENGTH as $r,ADW_SPINNER_EXTEND_DISTANCE as ei,ADW_SPINNER_IDLE_DISTANCE as ti,ADW_SPINNER_MAX_ARC_LENGTH as ni,ADW_SPINNER_MIN_ARC_LENGTH as ri,ADW_SPINNER_N_CYCLES as ii,ADW_SPINNER_OVERLAP_DISTANCE as ai,ADW_SPINNER_SPIN_DURATION_MS as oi,ADW_SPINNER_START_ANGLE as si,ADW_SPINNER_STILL_PROGRESS as ci,ADW_SPINNER_TRACK_OPACITY as li,normalizeSpinnerAngle as ui,spinnerArc as di,spinnerArcEnd as fi,spinnerArcStart as pi,spinnerProgressAt as mi}from"./spinner.js";import{parseAccelerator as hi,parseShortcutLabel as gi,shortcutKeycaps as _i}from"./shortcut-label.js";import{ADW_LENGTH_UNITS as vi,DEFAULT_DPI as yi,adwLengthToPx as bi,normalizeLengthUnit as xi}from"./length-unit.js";import{ADW_SWIPE_BORDER as Si,DEFAULT_MAX_SIDEBAR_WIDTH as Ci,DEFAULT_MIN_SIDEBAR_WIDTH as wi,DEFAULT_SIDEBAR_WIDTH_FRACTION as Ti,DEFAULT_SIDEBAR_WIDTH_UNIT as Ei,INSTANT_SPLIT_VIEW_ANIMATOR as Di,NAVIGATION_SPLIT_VIEW_CRITICALS as Oi,NavigationSplitViewState as ki,OverlaySplitViewState as Ai,isSidebarAtVisualStart as ji,layoutNavigationSplitView as Mi,layoutOverlaySplitView as Ni,measureSplitViewHorizontal as Pi,resolveNaturalSidebarWidth as Fi,resolveNavigationAction as Ii,resolveNavigationSidebarWidth as Li,resolveNavigationStack as Ri,resolveOverlaySidebarWidth as zi,resolveSidebarBounds as Bi,resolveSwipeArea as Vi,resolveSwipeRelease as Hi,resolveSwipeSnapPoints as Ui,resolveSwipeStart as Wi,swipeCancelProgress as Gi,tagsConflict as Ki}from"./split-view.js";import{ADW_MENU_SURFACE_NATIVESCRIPT as qi,ADW_MENU_SURFACE_WEB as Ji,assertMenuRenderable as Yi,flattenMenu as Xi,menuItemAt as Zi,menuNodeAt as Qi,menuRefusals as $i,normalizeMenuModel as ea,parseDetailedAction as ta,parseMenuModel as na,resolveMenuItemState as ra}from"./menu.js";import{DEFAULT_DROPDOWN_TOOLTIP as ia,SPLIT_BUTTON_DISABLED_OPACITY as aa,SplitButtonState as oa,isSplitButtonDirection as sa,menuButtonArrowIcon as ca,menuButtonPopupDirection as la,resolveDropdownTooltip as ua,splitButtonArrowIcon as da,splitButtonPopupDirection as fa,splitButtonRootState as pa,splitButtonStyleClasses as ma}from"./split-button.js";import{DEFAULT_INDICATOR_DESCRIPTION_STRINGS as ha,INLINE_VIEW_SWITCHER_DISPLAY_MODES as ga,VIEW_SWITCHER_BADGE_LIMIT as _a,VIEW_SWITCHER_DRAG_SWITCH_DELAY as va,VIEW_SWITCHER_FALLBACK_ICON as ya,VIEW_SWITCHER_NO_SELECTION as ba,VIEW_SWITCHER_POLICIES as xa,ViewSwitcherBarState as Sa,ViewSwitcherDragSwitch as Ca,ViewSwitcherState as wa,buildInlineToggles as Ta,buildViewSwitcherButtons as Ea,createViewSwitcherPage as Da,inlineToggleTooltip as Oa,isInlineViewSwitcherDisplayMode as ka,isViewSwitcherButtonVisible as Aa,isViewSwitcherPolicy as ja,pageIndexForToggle as Ma,shouldRevealViewSwitcherBar as Na,toggleIndexForPage as Pa,viewSwitcherBadgeLabel as Fa,viewSwitcherButtonOrientation as Ia,viewSwitcherIconName as La,viewSwitcherIndicatorDescription as Ra,viewSwitcherLabel as za,viewSwitcherPageFromStackPage as Ba,viewSwitcherPagesFromStack as Va}from"./view-switcher.js";import{ADW_MAX_OVERSHOOT_DISTANCE as Ha,ADW_OVERSHOOT_SETTLE_MS as Ua,ADW_UNDERSHOOT_CLASSES as Wa,ADW_UNDERSHOOT_SIZE as Ga,accumulateOvershoot as Ka,isScrolledFromEnd as qa,isScrolledFromStart as Ja,overshootDistance as Ya,scrollMaxValue as Xa,scrollUndershootClasses as Za}from"./scrolling.js";import{POPOVER_ITEM_RADIUS as Qa,POPOVER_MENU_PADDING as $a,POPOVER_PADDING as eo,POPOVER_RADIUS as to,PopoverState as no,resolvePopoverKey as ro}from"./popover.js";import{ADW_WRAP_BOX_DEFAULT_ALIGN as io,ADW_WRAP_BOX_DEFAULT_JUSTIFY as ao,ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE as oo,ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT as so,ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION as co,ADW_WRAP_BOX_DEFAULT_SPACING as lo,ADW_WRAP_BOX_DEFAULT_WRAP_POLICY as uo,ADW_WRAP_BOX_JUSTIFY_MODES as fo,ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET as po,ADW_WRAP_BOX_PACK_DIRECTIONS as mo,ADW_WRAP_POLICIES as ho,normalizeNaturalLineLength as go,normalizeWrapBoxAlign as _o,normalizeWrapBoxJustify as vo,normalizeWrapBoxLengthUnit as yo,normalizeWrapBoxPackDirection as bo,normalizeWrapBoxSpacing as xo,normalizeWrapPolicy as So,resolveWrapBoxChildOrder as Co,resolveWrapBoxLine as wo,wrapBoxChildFlex as To,wrapBoxFlexStyle as Eo,wrapBoxLengthToPx as Do,wrapPolicyFlexShrink as Oo}from"./wrap-box.js";import{ADW_SOURCE_6502_DIRECTIVES as ko,ADW_SOURCE_6502_LINE_COMMENT as Ao,ADW_SOURCE_6502_OPCODES as jo,ADW_SOURCE_6502_REGISTERS as Mo,ADW_SOURCE_6502_TOKEN_ROLES as No,ADW_SOURCE_HEX_STRIDE as Po,ADW_SOURCE_PALETTE_DARK as Fo,ADW_SOURCE_PALETTE_LIGHT as Io,ADW_SOURCE_SYNTAX_ROLES as Lo,classifyAsm6502Word as Ro,formatHexAddress as zo,formatLineNumber as Bo,stripSourceWhitespace as Vo,tokenizeAsm6502 as Ho}from"./source.js";export{i as ADW_ABOUT_DIALOG_LABELS,S as ADW_ACCENT_BG_COLORS,C as ADW_ACCENT_COLOR_NAMES,w as ADW_ACCENT_FG_COLOR,z as ADW_ADJUSTMENT_DEFAULTS,ie as ADW_BANNER_BUTTON_STYLES,ae as ADW_BANNER_BUTTON_STYLE_CLASSES,oe as ADW_BANNER_DEFAULTS,be as ADW_BUTTON_CONTENT_DEFAULTS,Me as ADW_BUTTON_STYLE_ALIASES,Ne as ADW_BUTTON_STYLE_CLASSES,xt as ADW_CLAMP_DEFAULTS,St as ADW_CLAMP_SIZE_CLASSES,Zn as ADW_COMBO_NO_SELECTION,a as ADW_CREDITS_SECTION_TITLES,ln as ADW_DATA_GRID_ROW_VARIANTS,T as ADW_DEFAULT_ACCENT_COLOR,vi as ADW_LENGTH_UNITS,o as ADW_LICENSES,s as ADW_LICENSE_ALIASES,c as ADW_LICENSE_DEFAULTS,l as ADW_LICENSE_WARRANTY_TEMPLATE,Ha as ADW_MAX_OVERSHOOT_DISTANCE,qi as ADW_MENU_SURFACE_NATIVESCRIPT,Ji as ADW_MENU_SURFACE_WEB,Ua as ADW_OVERSHOOT_SETTLE_MS,Gr as ADW_SIDEBAR_NO_SELECTION,ko as ADW_SOURCE_6502_DIRECTIVES,Ao as ADW_SOURCE_6502_LINE_COMMENT,jo as ADW_SOURCE_6502_OPCODES,Mo as ADW_SOURCE_6502_REGISTERS,No as ADW_SOURCE_6502_TOKEN_ROLES,Po as ADW_SOURCE_HEX_STRIDE,Fo as ADW_SOURCE_PALETTE_DARK,Io as ADW_SOURCE_PALETTE_LIGHT,Lo as ADW_SOURCE_SYNTAX_ROLES,Zr as ADW_SPINNER_CONTRACT_DISTANCE,Qr as ADW_SPINNER_CYCLES_PER_LOOP,$r as ADW_SPINNER_CYCLE_LENGTH,ei as ADW_SPINNER_EXTEND_DISTANCE,ti as ADW_SPINNER_IDLE_DISTANCE,ni as ADW_SPINNER_MAX_ARC_LENGTH,Ct as ADW_SPINNER_MAX_SIZE,ri as ADW_SPINNER_MIN_ARC_LENGTH,wt as ADW_SPINNER_MIN_SIZE,ii as ADW_SPINNER_N_CYCLES,ai as ADW_SPINNER_OVERLAP_DISTANCE,oi as ADW_SPINNER_SPIN_DURATION_MS,si as ADW_SPINNER_START_ANGLE,ci as ADW_SPINNER_STILL_PROGRESS,li as ADW_SPINNER_TRACK_OPACITY,Si as ADW_SWIPE_BORDER,Ie as ADW_SWIPE_DECELERATION_TOUCH,Le as ADW_SWIPE_DECELERATION_TOUCHPAD,Re as ADW_SWIPE_DRAG_THRESHOLD,ze as ADW_SWIPE_EPSILON,Be as ADW_SWIPE_HISTORY_THRESHOLD_MS,Ve as ADW_SWIPE_PARABOLA_MULTIPLIER,He as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_H,Ue as ADW_SWIPE_TOUCHPAD_BASE_DISTANCE_V,We as ADW_SWIPE_VELOCITY_CURVE_THRESHOLD,Ge as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCH,Ke as ADW_SWIPE_VELOCITY_THRESHOLD_TOUCHPAD,Tt as ADW_TOOLBAR_BAR_CLASSES,Et as ADW_TOOLBAR_VIEW_CLASSES,Dt as ADW_TOOLBAR_VIEW_DEFAULTS,u as ADW_TRANSLATOR_CREDITS_SENTINELS,Wa as ADW_UNDERSHOOT_CLASSES,Ga as ADW_UNDERSHOOT_SIZE,io as ADW_WRAP_BOX_DEFAULT_ALIGN,ao as ADW_WRAP_BOX_DEFAULT_JUSTIFY,oo as ADW_WRAP_BOX_DEFAULT_JUSTIFY_LAST_LINE,so as ADW_WRAP_BOX_DEFAULT_LENGTH_UNIT,co as ADW_WRAP_BOX_DEFAULT_PACK_DIRECTION,lo as ADW_WRAP_BOX_DEFAULT_SPACING,uo as ADW_WRAP_BOX_DEFAULT_WRAP_POLICY,fo as ADW_WRAP_BOX_JUSTIFY_MODES,po as ADW_WRAP_BOX_NATURAL_LINE_LENGTH_UNSET,mo as ADW_WRAP_BOX_PACK_DIRECTIONS,ho as ADW_WRAP_POLICIES,K as AVATAR_COLORS,q as AVATAR_COLOR_COUNT,N as ActionRowState,bn as AdwAlertResponses,ge as AdwBreakpoint,Jn as AdwToast,Yn as AdwToastQueue,Hr as BACK_BUTTON_FALLBACK_TOOLTIP,xe as BUTTON_CONTENT_BOX_SPACING,Se as BUTTON_CONTENT_FALLBACK_ICON,Ce as BUTTON_CONTENT_STYLE_CLASS,P as BUTTON_ROW_ACTIVATABLE,xn as BottomSheetPresentation,ye as BreakpointBinState,F as ButtonRowState,En as CAPS_LOCK_ICON_NAME,Dn as CAPS_LOCK_TOOLTIP,nt as CAROUSEL_SCROLL_TIMEOUT_MS,rt as CAROUSEL_SETTLE_EPSILON,it as CarouselState,nr as ComboState,un as DATA_GRID_CELL_CLASS,dn as DATA_GRID_ROW_CLASS,pe as DEFAULT_BOX_SPACING,yi as DEFAULT_DPI,ia as DEFAULT_DROPDOWN_TOOLTIP,Vt as DEFAULT_ICON_COLOR,Ht as DEFAULT_ICON_COLOR_DARK,ha as DEFAULT_INDICATOR_DESCRIPTION_STRINGS,vr as DEFAULT_LABEL_ELLIPSIZE,yr as DEFAULT_LABEL_LINES,br as DEFAULT_LABEL_MAX_WIDTH_CHARS,xr as DEFAULT_LABEL_WIDTH_CHARS,Sr as DEFAULT_LABEL_WRAP_MODE,Cr as DEFAULT_LABEL_XALIGN,wr as DEFAULT_LABEL_YALIGN,Ci as DEFAULT_MAX_SIDEBAR_WIDTH,wi as DEFAULT_MIN_SIDEBAR_WIDTH,Ti as DEFAULT_SIDEBAR_WIDTH_FRACTION,Ei as DEFAULT_SIDEBAR_WIDTH_UNIT,Qt as DEFAULT_TAB_AUTOHIDE,Xn as DEFAULT_TOAST_TIMEOUT,On as EMPTY_ANIMATION_DURATION_MS,kn as ENTRY_ROW_APPLY_ICON_NAME,An as ENTRY_ROW_APPLY_TOOLTIP,jn as ENTRY_ROW_EDIT_ICON_NAME,Mn as ENTRY_ROW_MAX_LENGTH_LIMIT,Nn as ENTRY_ROW_TITLE_SPACING,Pn as EntryRowState,rr as ExpanderState,d as GTK_LICENSE,Hn as GioMenu,Un as GioMenuItem,Wn as GtkAdjustment,Gn as GtkStringList,Kn as HeaderBarState,ga as INLINE_VIEW_SWITCHER_DISPLAY_MODES,Di as INSTANT_SPLIT_VIEW_ANIMATOR,Tr as LABEL_ELLIPSIZE_MODES,Er as LABEL_JUSTIFICATIONS,Dr as LABEL_WRAP_MODES,Oi as NAVIGATION_SPLIT_VIEW_CRITICALS,ki as NavigationSplitViewState,Ur as NavigationViewState,Ai as OverlaySplitViewState,Fn as PASSWORD_CONCEAL_ICON_NAME,In as PASSWORD_CONCEAL_LABEL,Ln as PASSWORD_REVEAL_ICON_NAME,Rn as PASSWORD_REVEAL_LABEL,Qa as POPOVER_ITEM_RADIUS,$a as POPOVER_MENU_PADDING,eo as POPOVER_PADDING,to as POPOVER_RADIUS,zn as PasswordEntryRowState,no as PopoverState,ht as RadioGroupState,aa as SPLIT_BUTTON_DISABLED_OPACITY,Kr as SidebarState,B as SpinState,oa as SplitButtonState,qe as SwipeTracker,I as SwitchRowState,$t as TabViewState,ir as ToggleGroupState,sr as UNTITLED_PAGE_LABEL,_a as VIEW_SWITCHER_BADGE_LIMIT,va as VIEW_SWITCHER_DRAG_SWITCH_DELAY,ya as VIEW_SWITCHER_FALLBACK_ICON,ba as VIEW_SWITCHER_NO_SELECTION,xa as VIEW_SWITCHER_POLICIES,Yt as ViewStackState,Sa as ViewSwitcherBarState,Ca as ViewSwitcherDragSwitch,wa as ViewSwitcherState,L as WindowTitleState,f as aboutDialogVisibility,Ka as accumulateOvershoot,qr as adjustSidebarSelection,V as adjustmentRange,bi as adwLengthToPx,_t as adwLerp,E as adwaitaAccent,D as adwaitaAccentBgColor,O as adwaitaAccentColor,Ut as adwaitaColorScheme,k as adwaitaStandaloneColor,Yi as assertMenuRenderable,J as avatarColor,Y as avatarColorClass,X as avatarFontSize,Z as avatarIconSize,Q as avatarInitials,$ as avatarMaxFontSize,ee as avatarMode,se as bannerButtonStyleClasses,ce as bannerButtonText,le as bannerButtonVisible,ue as bannerRenderState,Ta as buildInlineToggles,Ea as buildViewSwitcherButtons,we as buttonContentEllipsize,Te as buttonContentIconExpands,Ee as buttonContentIconIsEmpty,De as buttonContentIconName,Oe as buttonContentLabelText,ke as buttonContentLabelVisible,Ae as buttonContentRenderState,je as buttonContentStyleTargetIndex,Pe as buttonStyleClass,Fe as buttonStyleClasses,at as carouselClampPosition,ot as carouselClosestSnapPoint,st as carouselNavigateTarget,ct as carouselPageAllocation,lt as carouselPageAtPosition,ut as carouselRange,dt as carouselReorderShift,ft as carouselSizesFromSnapPoints,pt as carouselSnapPoints,mt as carouselWheelStep,H as clampAdjustmentValue,Ot as clampAllocate,kt as clampChildSize,Bn as clampEntryText,Qn as clampListSelection,Jr as clampSidebarSelection,At as clampSizeFromChild,jt as clampThresholds,Ro as classifyAsm6502Word,cr as collectSearchRows,lr as countVisiblePages,ur as createSearchRowSubtitle,Da as createViewSwitcherPage,p as creditsSections,fn as dataGridCellText,pn as dataGridColumnAlign,mn as dataGridColumnClasses,hn as dataGridRowInteractive,gn as dataGridTrackTemplate,_n as dataGridTracks,dr as defaultCaseFolder,fr as derivePreferencesGroupHeader,R as deriveRowLabels,Wr as describeNavigationDiagnostic,vt as easeInOutSine,yt as easeOutCubic,Vn as entryTextLength,pr as escapeMarkup,_e as evaluateBreakpointCondition,te as flattenAvatarGradient,Xi as flattenMenu,Yr as flattenSidebarItems,zo as formatHexAddress,Bo as formatLineNumber,ne as gStrHash,e as gStrStrip,t as glibClamp,Oa as inlineToggleTooltip,bt as inverseLerp,A as isAdwAccentColorName,de as isBannerButtonStyle,en as isDescendantOfPage,ka as isInlineViewSwitcherDisplayMode,m as isLicenseType,qa as isScrolledFromEnd,Ja as isScrolledFromStart,ji as isSidebarAtVisualStart,sa as isSplitButtonDirection,Wt as isThemeIconColor,Aa as isViewSwitcherButtonVisible,ja as isViewSwitcherPolicy,ar as keptToggles,Or as labelDisplayText,kr as labelEffectiveLines,Ar as labelEllipsizeOverflowValue,jr as labelMarkupIsUnparseable,Mr as labelWidthCharsExtent,Nr as labelYalignAlignItems,Mi as layoutNavigationSplitView,Ni as layoutOverlaySplitView,h as legalSectionVisible,g as licenseText,_ as licenseTypeForSpdxId,$n as listItemsChanged,mr as makeComparable,Pi as measureSplitViewHorizontal,ca as menuButtonArrowIcon,la as menuButtonPopupDirection,Zi as menuItemAt,Qi as menuNodeAt,$i as menuRefusals,U as normalizeAdjustment,me as normalizeBoxOrientation,he as normalizeBoxSpacing,Mt as normalizeClampSize,er as normalizeComboOptions,vn as normalizeDataGridColumns,yn as normalizeDataGridVariant,Xt as normalizeIconName,Pr as normalizeLabelEllipsize,Fr as normalizeLabelJustify,Ir as normalizeLabelLines,Lr as normalizeLabelMaxWidthChars,Rr as normalizeLabelWidthChars,zr as normalizeLabelWrapMode,Br as normalizeLabelXalign,Vr as normalizeLabelYalign,xi as normalizeLengthUnit,ea as normalizeMenuModel,go as normalizeNaturalLineLength,ui as normalizeSpinnerAngle,_o as normalizeWrapBoxAlign,vo as normalizeWrapBoxJustify,yo as normalizeWrapBoxLengthUnit,bo as normalizeWrapBoxPackDirection,xo as normalizeWrapBoxSpacing,So as normalizeWrapPolicy,j as onAdwaitaAccentChanged,Gt as onAdwaitaColorSchemeChanged,Ya as overshootDistance,Ma as pageIndexForToggle,hi as parseAccelerator,W as parseAdjustment,fe as parseBannerButtonStyle,ve as parseBreakpointCondition,v as parseCreditPerson,ta as parseDetailedAction,tr as parseListModel,na as parseMenuModel,gi as parseShortcutLabel,Nt as parseToolbarStyle,re as randomAvatarColorClass,Sn as resolveBottomSheetChrome,Cn as resolveBottomSheetClose,wn as resolveBottomSheetOpen,Tn as resolveBottomSheetSwipeTracker,gt as resolveCheckState,ua as resolveDropdownTooltip,qn as resolveHeaderBarTitle,ra as resolveMenuItemState,Fi as resolveNaturalSidebarWidth,Ii as resolveNavigationAction,Li as resolveNavigationSidebarWidth,Ri as resolveNavigationStack,zi as resolveOverlaySidebarWidth,Zt as resolvePageTitle,ro as resolvePopoverKey,Bi as resolveSidebarBounds,Pt as resolveSpinnerSize,Vi as resolveSwipeArea,Hi as resolveSwipeRelease,Ui as resolveSwipeSnapPoints,Wi as resolveSwipeStart,Co as resolveWrapBoxChildOrder,wo as resolveWrapBoxLine,hr as rowMatchesQuery,Xa as scrollMaxValue,Za as scrollUndershootClasses,gr as searchPreferences,M as setAdwaitaAccent,Kt as setAdwaitaColorScheme,y as setLicense,b as setLicenseType,_i as shortcutKeycaps,Na as shouldRevealViewSwitcherBar,Xr as sidebarHeaders,G as snapAdjustmentValue,di as spinnerArc,fi as spinnerArcEnd,pi as spinnerArcStart,Ft as spinnerGeometry,mi as spinnerProgressAt,da as splitButtonArrowIcon,fa as splitButtonPopupDirection,pa as splitButtonRootState,ma as splitButtonStyleClasses,n as stringIsNotEmpty,_r as stripMarkup,r as stripMnemonic,Vo as stripSourceWhitespace,tn as successorAfterClose,Je as swipeBounds,Gi as swipeCancelProgress,Ye as swipeClosestPointIndex,Xe as swipeEndProgress,Ze as swipeNextPointIndex,Qe as swipePreviousPointIndex,$e as swipeProjectedPointIndex,et as swipeSlope,tt as swipeVelocityThreshold,nn as tabCloseVisible,rn as tabIconState,an as tabTooltip,on as tabTooltipIsMarkup,sn as tabViewItemsChanged,cn as tabsRevealed,Ki as tagsConflict,qt as themeIconColor,Jt as toggleAdwaitaColorScheme,Pa as toggleIndexForPage,or as toggleIndexOfName,Ho as tokenizeAsm6502,It as toolbarBarStyleClasses,Lt as toolbarViewAllocate,Rt as toolbarViewClasses,zt as toolbarViewContentForSize,Bt as toolbarViewMeasure,x as translatorCreditsPeople,Fa as viewSwitcherBadgeLabel,Ia as viewSwitcherButtonOrientation,La as viewSwitcherIconName,Ra as viewSwitcherIndicatorDescription,za as viewSwitcherLabel,Ba as viewSwitcherPageFromStackPage,Va as viewSwitcherPagesFromStack,To as wrapBoxChildFlex,Eo as wrapBoxFlexStyle,Do as wrapBoxLengthToPx,Oo as wrapPolicyFlexShrink};
|
package/lib/esm/label.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{glibClamp as e,stripMnemonic as t}from"./glib.js";import{stripMarkup as n}from"./preferences.js";const r=.5,i=[`left`,`right`,`center`,`fill`];function labelDisplayText(e,r,i){let a=e??``,o=r?n(a)??a:a;return i?t(o):o}function labelMarkupIsUnparseable(e,t){return t&&n(e??``)===null}function normalizeLabelXalign(t){let n=typeof t==`number`?t:Number.parseFloat(String(t??``));return Number.isFinite(n)?e(n,0,1):r}function normalizeLabelJustify(e){return i.includes(e)?e:`left`}const a=.5;function normalizeLabelYalign(t){let n=typeof t==`number`?t:Number.parseFloat(String(t??``));return Number.isFinite(n)?e(n,0,1):a}function labelYalignAlignItems(e){return e<.25?`flex-start`:e>.75?`flex-end`:`center`}const o=[`none`,`start`,`middle`,`end`],s=`none`;function normalizeLabelEllipsize(e){return o.includes(e)?e:s}function labelEllipsizeOverflowValue(e){return e===`none`?`clip`:`ellipsis`}const c=[`word`,`char`,`word-char`],l=`word`;function normalizeLabelWrapMode(e){return c.includes(e)?e:l}function normalizeLabelCharCount(e,t){let n=typeof e==`number`?e:Number.parseInt(String(e??``),10);return Number.isFinite(n)?Math.max(t,Math.trunc(n)):t}const u=-1;function normalizeLabelWidthChars(e){return normalizeLabelCharCount(e,-1)}const d=-1;function normalizeLabelMaxWidthChars(e){return normalizeLabelCharCount(e,-1)}const f=-1;function normalizeLabelLines(e){return normalizeLabelCharCount(e,-1)}function labelEffectiveLines(e,t){return t===`none`?null:e>0?e:1}function labelWidthCharsExtent(e,t){return{minCh:e>=0?e:null,maxCh:t>=0?Math.max(e,t):null}}export{s as DEFAULT_LABEL_ELLIPSIZE,f as DEFAULT_LABEL_LINES,d as DEFAULT_LABEL_MAX_WIDTH_CHARS,u as DEFAULT_LABEL_WIDTH_CHARS,l as DEFAULT_LABEL_WRAP_MODE,r as DEFAULT_LABEL_XALIGN,a as DEFAULT_LABEL_YALIGN,o as LABEL_ELLIPSIZE_MODES,i as LABEL_JUSTIFICATIONS,c as LABEL_WRAP_MODES,labelDisplayText,labelEffectiveLines,labelEllipsizeOverflowValue,labelMarkupIsUnparseable,labelWidthCharsExtent,labelYalignAlignItems,normalizeLabelEllipsize,normalizeLabelJustify,normalizeLabelLines,normalizeLabelMaxWidthChars,normalizeLabelWidthChars,normalizeLabelWrapMode,normalizeLabelXalign,normalizeLabelYalign};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{GTK_WIDGET_MARGIN_CSS as e,attributeOf as t,hostTagOf as n,propertyOf as r}from"./tags.js";function element(e,t,n,r,i,a){let o=` `.repeat(e),s=n.map(([e,t])=>t===null?e:`${e}=${r(t)}`),c=i.length===0,l=c?a?` />`:`></${t}>`:`>`,u=`${o}<${[t,...s].join(` `)}${l}`,d=u.length<=80||s.length===0?u:[`${o}<${t}`,...s.map(e=>`${o} ${e}`),`${o}${c?a?`/>`:`></${t}>`:`>`}`].join(`
|
|
2
|
+
`);return c?d:[d,...i,`${o}</${t}>`].join(`
|
|
3
|
+
`)}const htmlText=e=>e.replace(/&/g,`&`).replace(/</g,`<`),htmlQuote=e=>{let t=e.includes(`"`)&&!e.includes(`'`)?`'`:`"`;return`${t}${e.replace(/&/g,`&`).replace(t===`"`?/"/g:/'/g,t===`"`?`"`:`'`)}${t}`};function htmlElement(r,i){let a=[];r.id!==void 0&&a.push([`id`,r.id]);let o=[];for(let[n,i]of Object.entries(r.props??{})){typeof i==`boolean`?i&&a.push([t(n),null]):a.push([t(n),String(i)]);let r=e[t(n)];r!==void 0&&o.push(`${r}: ${Number(i)}px;`)}o.length>0&&a.push([`style`,o.join(` `)]),r.styleClasses!==void 0&&r.styleClasses.length>0&&a.push([`class`,r.styleClasses.join(` `)]);let s=r.extensions?.strings;s!==void 0&&a.push([`strings`,JSON.stringify(s.map(e=>e.value))]),r.slot!==void 0&&a.push([`slot`,r.slot]);let c=[...(r.extensions?.responses??[]).map(e=>{let t=[`id=${htmlQuote(e.id)}`];e.appearance!==void 0&&t.push(`appearance=${htmlQuote(e.appearance)}`),e.enabled===!1&&t.push(`enabled="false"`);let n=htmlText(e.label);return`${` `.repeat(i+1)}<adw-alert-response ${t.join(` `)}>${n}</adw-alert-response>`}),...(r.children??[]).map(e=>htmlElement(e,i+1))];return element(i,n(r.tag),a,htmlQuote,c,!1)}function sharedTreeHtml(e){return htmlElement(e,0)}function xmlNameOf(e){let t=/^(Adw|Gtk)([A-Z]\w*)$/.exec(e);if(t===null)throw Error(`sharedTreeNativeScriptXml: ${e} is not an Adw or Gtk class name`);return{prefix:t[1].toLowerCase(),member:t[2]}}const xmlQuote=e=>{let t=e.includes(`"`)?`'`:`"`;return`${t}${e.replace(/&/g,`&`).replace(/</g,`<`).replace(t===`"`?/"/g:/'/g,t===`"`?`"`:`'`)}${t}`};function prefixesOf(e,t){t.add(xmlNameOf(e.tag).prefix);for(let n of e.children??[])prefixesOf(n,t);return t}function xmlElement(e,t,n){let{prefix:i,member:a}=xmlNameOf(e.tag),o=`${i}:${a}`,s=[...n];e.id!==void 0&&s.push([`id`,e.id]);for(let[t,n]of Object.entries(e.props??{}))s.push([r(t),String(n)]);e.styleClasses!==void 0&&e.styleClasses.length>0&&s.push([`styleClasses`,e.styleClasses.join(` `)]);let c=e.extensions?.strings;c!==void 0&&s.push([`strings`,JSON.stringify(c.map(e=>e.value))]);let l=(e.children??[]).map(e=>{if(e.slot===void 0)return xmlElement(e,t+1,[]);let n=` `.repeat(t+1),r=`${o}.${e.slot}`;return[`${n}<${r}>`,xmlElement(e,t+2,[]),`${n}</${r}>`].join(`
|
|
4
|
+
`)});return element(t,o,s,xmlQuote,l,!0)}function sharedTreeNativeScriptXml(e){return xmlElement(e,0,[[`xmlns`,`http://schemas.nativescript.org/tns.xsd`],...[...prefixesOf(e,new Set)].sort().map(e=>[`xmlns:${e}`,`~/${e}`])])}export{sharedTreeHtml,sharedTreeNativeScriptXml};
|
package/lib/esm/rows.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./_virtual/_rolldown/runtime.js";import{SpinState as e}from"./adjustment.js";import{ADW_COMBO_NO_SELECTION as t,clampListSelection as n,listItemsChanged as r,normalizeComboOptions as i}from"./list.js";var ExpanderState=class{constructor(){this._expanded=!1,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._expanded)}get expanded(){return this._expanded}setExpanded(e){let t=!!e;return t===this._expanded?!1:(this._expanded=t,this._emit(),!0)}toggle(){return this.setExpanded(!this._expanded)}expand(){return this.setExpanded(!0)}collapse(){return this.setExpanded(!1)}},ComboState=class{constructor(){this._options=[],this._selected=0,this._listeners=new Set,this._itemListeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}subscribeItems(e){return this._itemListeners.add(e),()=>{this._itemListeners.delete(e)}}_emit(e){let t={selected:this._selected,value:this.selectedValue,label:this.selectedLabel,interactive:e};for(let e of[...this._listeners])e(t)}_setIndex(e,t){return e===this._selected?!1:(this._selected=e,this._emit(t),!0)}get model(){return this._options.map(e=>({value:e.value,label:e.label}))}setModel(e){let t=this._options,i=Array.isArray(e)?e:[],a=r(t,i);if(this._options=i.map(e=>({value:e.value,label:e.label})),this._selected=n(this._selected,i.length),a)for(let e of[...this._itemListeners])e(a);this._emit(!1)}get selectedIndex(){return this._selected}get presentsChooser(){return this._options.length>1}setSelectedIndex(e){return this._setIndex(Number.isFinite(e)?e:0,!1)}get selectedValue(){return this._options[this._selected]?.value??``}get selectedLabel(){return this._options[this._selected]?.label??``}setSelectedValue(e){let t=this._options.findIndex(t=>t.value===e);return t>=0?this.setSelectedIndex(t):!1}hasIndex(e){return Number.isFinite(e)&&e>=0&&e<this._options.length}select(e){return!this.hasIndex(e)||e===this._selected?!1:this._setIndex(e,!0)}get count(){return this._options.length}},ToggleGroupState=class{constructor(){this._labels=[],this._selected=0,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){let e={selected:this._selected,value:this.selectedValue};for(let t of[...this._listeners])t(e)}get labels(){return this._labels}setLabels(e){this._labels=Array.isArray(e)?e:[],this._selected>=this._labels.length&&(this._selected=0)}get selected(){return this._selected}setSelected(e){let t=Number.isFinite(e)?e:0;return t===this._selected||t<0||t>=this._labels.length?!1:(this._selected=t,this._emit(),!0)}get selectedValue(){return this._labels[this._selected]??``}get count(){return this._labels.length}};export{t as ADW_COMBO_NO_SELECTION,ComboState,ExpanderState,e as SpinState,ToggleGroupState,i as normalizeComboOptions};
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";import{SpinState as e}from"./adjustment.js";import{ADW_COMBO_NO_SELECTION as t,clampListSelection as n,listItemsChanged as r,normalizeComboOptions as i}from"./list.js";var ExpanderState=class{constructor(){this._expanded=!1,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){for(let e of[...this._listeners])e(this._expanded)}get expanded(){return this._expanded}setExpanded(e){let t=!!e;return t===this._expanded?!1:(this._expanded=t,this._emit(),!0)}toggle(){return this.setExpanded(!this._expanded)}expand(){return this.setExpanded(!0)}collapse(){return this.setExpanded(!1)}},ComboState=class{constructor(){this._options=[],this._selected=0,this._listeners=new Set,this._itemListeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}subscribeItems(e){return this._itemListeners.add(e),()=>{this._itemListeners.delete(e)}}_emit(e){let t={selected:this._selected,value:this.selectedValue,label:this.selectedLabel,interactive:e};for(let e of[...this._listeners])e(t)}_setIndex(e,t){return e===this._selected?!1:(this._selected=e,this._emit(t),!0)}get model(){return this._options.map(e=>({value:e.value,label:e.label}))}setModel(e){let t=this._options,i=Array.isArray(e)?e:[],a=r(t,i);if(this._options=i.map(e=>({value:e.value,label:e.label})),this._selected=n(this._selected,i.length),a)for(let e of[...this._itemListeners])e(a);this._emit(!1)}get selectedIndex(){return this._selected}get presentsChooser(){return this._options.length>1}setSelectedIndex(e){return this._setIndex(Number.isFinite(e)?e:0,!1)}get selectedValue(){return this._options[this._selected]?.value??``}get selectedLabel(){return this._options[this._selected]?.label??``}setSelectedValue(e){let t=this._options.findIndex(t=>t.value===e);return t>=0?this.setSelectedIndex(t):!1}hasIndex(e){return Number.isFinite(e)&&e>=0&&e<this._options.length}select(e){return!this.hasIndex(e)||e===this._selected?!1:this._setIndex(e,!0)}get count(){return this._options.length}},ToggleGroupState=class{constructor(){this._labels=[],this._selected=0,this._listeners=new Set}subscribe(e){return this._listeners.add(e),()=>{this._listeners.delete(e)}}_emit(){let e={selected:this._selected,value:this.selectedValue};for(let t of[...this._listeners])t(e)}get labels(){return this._labels}setLabels(e){this._labels=Array.isArray(e)?e:[],this._selected>=this._labels.length&&(this._selected=0)}get selected(){return this._selected}setSelected(e){let t=Number.isFinite(e)?e:0;return t===this._selected||t<0||t>=this._labels.length?!1:(this._selected=t,this._emit(),!0)}get selectedValue(){return this._labels[this._selected]??``}get count(){return this._labels.length}};function keptToggles(e){let t=new Set,n=[];for(let r of e){let e=r.name??null;e!==null&&t.has(e)||(e!==null&&t.add(e),n.push(r))}return n}function toggleIndexOfName(e,t){return e.indexOf(t)}export{t as ADW_COMBO_NO_SELECTION,ComboState,ExpanderState,e as SpinState,ToggleGroupState,keptToggles,i as normalizeComboOptions,toggleIndexOfName};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const e=new Set(`ADC.AND.ASL.BCC.BCS.BEQ.BIT.BMI.BNE.BPL.BRK.BVC.BVS.CLC.CLD.CLI.CLV.CMP.CPX.CPY.DEC.DEX.DEY.EOR.INC.INX.INY.JMP.JSR.LDA.LDX.LDY.LSR.NOP.ORA.PHA.PHP.PLA.PLP.ROL.ROR.RTI.RTS.SBC.SEC.SED.SEI.STA.STX.STY.TAX.TAY.TSX.TXA.TXS.TYA`.split(`.`)),t=new Set([`A`,`X`,`Y`]),n=new Set([`DEFINE`,`DCB`,`ORG`,`BYTE`,`WORD`,`DB`,`DW`,`DS`,`ASCII`,`ASCIIZ`,`TEXT`,`INCLUDE`,`INCBIN`,`EQU`,`END`,`PROC`,`ENDPROC`,`MACRO`,`ENDMACRO`]),r=`;`;function classifyAsm6502Word(r,i){let a=r.toUpperCase();return e.has(a)?`opcode`:n.has(a)?`directive`:t.has(a)?`register`:i?`label`:`identifier`}function tokenizeAsm6502(e){let t=e.sol();if(e.eatSpace())return null;let n=e.peek();if(n==null)return null;if(n===`;`)return e.skipToEnd(),`comment`;if(n===`"`||n===`'`){let t=n;e.next();let r=!1;for(;!e.eol();){let n=e.next();if(n===void 0||n===t&&!r)break;r=n===`\\`&&!r}return`string`}if(n===`#`)return e.next(),`operator`;if(n===`$`)return e.next(),e.eatWhile(/[0-9a-fA-F]/),`number`;if(n===`%`)return e.next(),e.eatWhile(/[01]/),`number`;if(/[0-9]/.test(n))return e.eatWhile(/[0-9]/),`number`;if(n===`.`)return e.next(),e.eatWhile(/[A-Za-z0-9_]/)?`directive`:null;if(/[A-Za-z_]/.test(n)){e.eatWhile(/[A-Za-z0-9_]/);let n=e.current();return e.peek()===`:`?`label`:classifyAsm6502Word(n,t)}return`+-*/=<>,()[]&|^~`.includes(n)?(e.next(),`operator`):(e.next(),null)}const i=[`comment`,`keyword`,`number`,`string`,`label`,`register`,`directive`,`operator`],a={comment:`comment`,directive:`directive`,identifier:null,label:`label`,number:`number`,opcode:`keyword`,operator:`operator`,register:`register`,string:`string`},o={comment:`#5e5c64`,keyword:`#1c71d8`,number:`#c64600`,string:`#26a269`,label:`#813d9c`,register:`#007e8a`,directive:`#a51d2d`,operator:`rgba(0, 0, 6, 0.55)`},s={comment:`#9a9996`,keyword:`#78aeed`,number:`#ffa348`,string:`#8ff0a4`,label:`#dc8add`,register:`#33d1c9`,directive:`#f66151`,operator:`rgba(255, 255, 255, 0.55)`},c=16;function formatHexAddress(e,t,n=16){return(t+(e-1)*n).toString(16).padStart(4,`0`).toUpperCase()}function formatLineNumber(e,t=1){return String(e-1+t)}function stripSourceWhitespace(e){return e.replace(/\s/g,``)}export{n as ADW_SOURCE_6502_DIRECTIVES,r as ADW_SOURCE_6502_LINE_COMMENT,e as ADW_SOURCE_6502_OPCODES,t as ADW_SOURCE_6502_REGISTERS,a as ADW_SOURCE_6502_TOKEN_ROLES,c as ADW_SOURCE_HEX_STRIDE,s as ADW_SOURCE_PALETTE_DARK,o as ADW_SOURCE_PALETTE_LIGHT,i as ADW_SOURCE_SYNTAX_ROLES,classifyAsm6502Word,formatHexAddress,formatLineNumber,stripSourceWhitespace,tokenizeAsm6502};
|
package/lib/esm/tags.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./_virtual/_rolldown/runtime.js";const hostTagOf=e=>{if(!/^(?:Adw|Gtk)[A-Z]\w*$/.test(e))throw Error(`hostTagOf: ${e} is not a GIR class name`);let t=[];for(let n=0;n<e.length;n++){let r=e.charAt(n);if(r>=`A`&&r<=`Z`&&n>0){let r=e.charAt(n-1),i=e.charAt(n+1);(!(r>=`A`&&r<=`Z`)||i>=`a`&&i<=`z`)&&t.push(`-`)}t.push(r.toLowerCase())}return t.join(``)},attributeOf=e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),propertyOf=e=>e.replace(/[-_]([a-z0-9])/g,(e,t)=>t.toUpperCase()),e={"margin-start":`margin-inline-start`,"margin-end":`margin-inline-end`,"margin-top":`margin-top`,"margin-bottom":`margin-bottom`};export{e as GTK_WIDGET_MARGIN_CSS,attributeOf,hostTagOf,propertyOf};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e={"--window-bg-color":{light:`#fafafb`,dark:`#222226`},"--window-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--view-bg-color":{light:`#ffffff`,dark:`#1d1d20`},"--view-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--headerbar-bg-color":{light:`#ffffff`,dark:`#2e2e32`},"--headerbar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--headerbar-shade-color":{light:`rgba(0, 0, 6, 0.12)`,dark:`rgba(0, 0, 6, 0.36)`},"--separator-color":{light:`rgba(0, 0, 6, 0.1)`,dark:`rgba(255, 255, 255, 0.08)`},"--shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--sidebar-bg-color":{light:`#ebebed`,dark:`#2e2e32`},"--sidebar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--sidebar-backdrop-color":{light:`#f2f2f4`,dark:`#28282c`},"--sidebar-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--sidebar-border-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--secondary-sidebar-bg-color":{light:`#f3f3f5`,dark:`#28282c`},"--secondary-sidebar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--secondary-sidebar-backdrop-color":{light:`#f6f6fa`,dark:`#252529`},"--secondary-sidebar-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--secondary-sidebar-border-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--card-bg-color":{light:`#ffffff`,dark:`rgba(255, 255, 255, 0.08)`},"--card-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--card-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--accent-bg-color":{light:`#3584e4`},"--accent-fg-color":{light:`#ffffff`},"--accent-color":{light:`#1c71d8`,dark:`#78aeed`},"--popover-bg-color":{light:`#ffffff`,dark:`#36363a`},"--popover-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--popover-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--dialog-scrim-color":{light:`rgba(0, 0, 6, 0.32)`,dark:`rgba(0, 0, 6, 0.55)`},"--button-bg-color":{light:`rgba(0, 0, 6, 0.08)`,dark:`rgba(255, 255, 255, 0.1)`},"--button-hover-color":{light:`rgba(0, 0, 6, 0.13)`,dark:`rgba(255, 255, 255, 0.15)`},"--button-active-color":{light:`rgba(0, 0, 6, 0.19)`,dark:`rgba(255, 255, 255, 0.22)`},"--entry-bg-color":{light:`#ffffff`,dark:`rgba(255, 255, 255, 0.06)`},"--entry-border-color":{light:`rgba(0, 0, 6, 0.18)`,dark:`rgba(255, 255, 255, 0.16)`},"--entry-border-hover-color":{light:`rgba(0, 0, 6, 0.28)`,dark:`rgba(255, 255, 255, 0.26)`},"--destructive-bg-color":{light:`#e01b24`,dark:`#c01c28`},"--destructive-fg-color":{light:`#ffffff`},"--success-bg-color":{light:`#2ec27e`,dark:`#26a269`},"--success-fg-color":{light:`#ffffff`},"--success-color":{light:`oklab(from var(--success-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--success-bg-color) max(l, 0.85) a b)`},"--warning-bg-color":{light:`#e5a50a`,dark:`#cd9309`},"--warning-fg-color":{light:`rgba(0, 0, 0, 0.8)`},"--warning-color":{light:`oklab(from var(--warning-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--warning-bg-color) max(l, 0.85) a b)`},"--error-bg-color":{light:`#e01b24`,dark:`#c01c28`},"--error-fg-color":{light:`#ffffff`},"--error-color":{light:`oklab(from var(--error-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--error-bg-color) max(l, 0.85) a b)`},"--switch-off-bg":{light:`rgba(0, 0, 0, 0.2)`,dark:`rgba(255, 255, 255, 0.2)`},"--switch-knob-bg":{light:`#ffffff`,dark:`#deddda`},"--window-radius":{light:`15px`},"--card-radius":{light:`12px`},"--button-radius":{light:`9px`},"--spacing-xs":{light:`6px`},"--spacing-s":{light:`9px`},"--spacing-m":{light:`12px`},"--spacing-l":{light:`18px`},"--spacing-xl":{light:`24px`},"--font-family":{light:`'Adwaita Sans', 'Cantarell', 'Inter', 'Segoe UI', sans-serif`},"--font-size-base":{light:`11pt`},"--font-size-small":{light:`9pt`},"--font-size-heading":{light:`12pt`},"--dim-opacity":{light:`0.55`},"--border-opacity":{light:`15%`},"--border-color":{light:`color-mix(in srgb, currentColor var(--border-opacity), transparent)`},"--disabled-opacity":{light:`0.5`},"--document-font-family":{light:`var(--font-family)`},"--document-font-size":{light:`var(--font-size-base)`},"--monospace-font-family":{light:`'Adwaita Mono', ui-monospace, 'SF Mono', 'Menlo', monospace`},"--monospace-font-size":{light:`var(--font-size-base)`}},t=[`--active-toggle-
|
|
1
|
+
const e={"--window-bg-color":{light:`#fafafb`,dark:`#222226`},"--window-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--view-bg-color":{light:`#ffffff`,dark:`#1d1d20`},"--view-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--headerbar-bg-color":{light:`#ffffff`,dark:`#2e2e32`},"--headerbar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--headerbar-shade-color":{light:`rgba(0, 0, 6, 0.12)`,dark:`rgba(0, 0, 6, 0.36)`},"--separator-color":{light:`rgba(0, 0, 6, 0.1)`,dark:`rgba(255, 255, 255, 0.08)`},"--shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--sidebar-bg-color":{light:`#ebebed`,dark:`#2e2e32`},"--sidebar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--sidebar-backdrop-color":{light:`#f2f2f4`,dark:`#28282c`},"--sidebar-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--sidebar-border-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--secondary-sidebar-bg-color":{light:`#f3f3f5`,dark:`#28282c`},"--secondary-sidebar-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--secondary-sidebar-backdrop-color":{light:`#f6f6fa`,dark:`#252529`},"--secondary-sidebar-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.25)`},"--secondary-sidebar-border-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--card-bg-color":{light:`#ffffff`,dark:`rgba(255, 255, 255, 0.08)`},"--card-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--card-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--accent-bg-color":{light:`#3584e4`},"--accent-fg-color":{light:`#ffffff`},"--accent-color":{light:`#1c71d8`,dark:`#78aeed`},"--popover-bg-color":{light:`#ffffff`,dark:`#36363a`},"--popover-fg-color":{light:`rgba(0, 0, 6, 0.8)`,dark:`#ffffff`},"--popover-shade-color":{light:`rgba(0, 0, 6, 0.07)`,dark:`rgba(0, 0, 6, 0.36)`},"--dialog-scrim-color":{light:`rgba(0, 0, 6, 0.32)`,dark:`rgba(0, 0, 6, 0.55)`},"--button-bg-color":{light:`rgba(0, 0, 6, 0.08)`,dark:`rgba(255, 255, 255, 0.1)`},"--button-hover-color":{light:`rgba(0, 0, 6, 0.13)`,dark:`rgba(255, 255, 255, 0.15)`},"--button-active-color":{light:`rgba(0, 0, 6, 0.19)`,dark:`rgba(255, 255, 255, 0.22)`},"--entry-bg-color":{light:`#ffffff`,dark:`rgba(255, 255, 255, 0.06)`},"--entry-border-color":{light:`rgba(0, 0, 6, 0.18)`,dark:`rgba(255, 255, 255, 0.16)`},"--entry-border-hover-color":{light:`rgba(0, 0, 6, 0.28)`,dark:`rgba(255, 255, 255, 0.26)`},"--destructive-bg-color":{light:`#e01b24`,dark:`#c01c28`},"--destructive-fg-color":{light:`#ffffff`},"--destructive-color":{light:`oklab(from var(--destructive-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--destructive-bg-color) max(l, 0.85) a b)`},"--success-bg-color":{light:`#2ec27e`,dark:`#26a269`},"--success-fg-color":{light:`#ffffff`},"--success-color":{light:`oklab(from var(--success-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--success-bg-color) max(l, 0.85) a b)`},"--warning-bg-color":{light:`#e5a50a`,dark:`#cd9309`},"--warning-fg-color":{light:`rgba(0, 0, 0, 0.8)`},"--warning-color":{light:`oklab(from var(--warning-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--warning-bg-color) max(l, 0.85) a b)`},"--error-bg-color":{light:`#e01b24`,dark:`#c01c28`},"--error-fg-color":{light:`#ffffff`},"--error-color":{light:`oklab(from var(--error-bg-color) min(l, 0.5) a b)`,dark:`oklab(from var(--error-bg-color) max(l, 0.85) a b)`},"--switch-off-bg":{light:`rgba(0, 0, 0, 0.2)`,dark:`rgba(255, 255, 255, 0.2)`},"--switch-knob-bg":{light:`#ffffff`,dark:`#deddda`},"--window-radius":{light:`15px`},"--card-radius":{light:`12px`},"--button-radius":{light:`9px`},"--spacing-xs":{light:`6px`},"--spacing-s":{light:`9px`},"--spacing-m":{light:`12px`},"--spacing-l":{light:`18px`},"--spacing-xl":{light:`24px`},"--font-family":{light:`'Adwaita Sans', 'Cantarell', 'Inter', 'Segoe UI', sans-serif`},"--font-size-base":{light:`11pt`},"--font-size-small":{light:`9pt`},"--font-size-heading":{light:`12pt`},"--dim-opacity":{light:`0.55`},"--border-opacity":{light:`15%`},"--border-color":{light:`color-mix(in srgb, currentColor var(--border-opacity), transparent)`},"--disabled-opacity":{light:`0.5`},"--document-font-family":{light:`var(--font-family)`},"--document-font-size":{light:`var(--font-size-base)`},"--monospace-font-family":{light:`'Adwaita Mono', ui-monospace, 'SF Mono', 'Menlo', monospace`},"--monospace-font-size":{light:`var(--font-size-base)`}},t=[`--active-toggle-bg-color`],n=[`--border-color`,`--destructive-color`,`--document-font-family`,`--document-font-size`,`--error-color`,`--monospace-font-size`,`--success-color`,`--warning-color`],r=69;export{t as ADWAITA_DARK_ONLY_TOKENS,e as ADWAITA_TOKENS,r as ADWAITA_TOKEN_COUNT,n as ADWAITA_UNRESOLVED_TOKENS};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** `Gtk.Box:spacing`'s default — `0` in the pspec. */
|
|
2
|
+
export declare const DEFAULT_BOX_SPACING = 0;
|
|
3
|
+
/** `Gtk.Orientation`'s two nicks — the value `orientation` takes on every surface. */
|
|
4
|
+
export type BoxOrientation = 'horizontal' | 'vertical';
|
|
5
|
+
/**
|
|
6
|
+
* A spacing value as the box will hold it: a finite, non-negative number.
|
|
7
|
+
*
|
|
8
|
+
* The pspec's minimum is 0, and a negative write lands there — measured on `Gtk.Box`
|
|
9
|
+
* under gjs 1.88.1 / gtk 4.22.4 (`conformance/box.ts` records the rows).
|
|
10
|
+
* A box that pulled its children together would look like a theme bug, not a refusal.
|
|
11
|
+
*/
|
|
12
|
+
export declare function normalizeBoxSpacing(value: unknown): number;
|
|
13
|
+
/**
|
|
14
|
+
* `GtkOrientable:orientation` from its nick. Anything but `vertical` is the pspec
|
|
15
|
+
* default, `horizontal` — the same answer an unknown enum nick gets from GtkBuilder,
|
|
16
|
+
* which rejects it and leaves the property untouched.
|
|
17
|
+
*/
|
|
18
|
+
export declare function normalizeBoxOrientation(value: unknown): BoxOrientation;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** One authored `spacing` and the gap the box lays out with. */
|
|
2
|
+
export interface BoxSpacingVector {
|
|
3
|
+
/** As authored: a number from code, a string from an attribute, `null` when absent. */
|
|
4
|
+
value: number | string | null;
|
|
5
|
+
spacing: number;
|
|
6
|
+
rule: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* `Gtk.Box:spacing`. The negative rows are the ones a port gets wrong quietly — measured
|
|
10
|
+
* under gjs 1.88.1 / gtk 4.22.4, a negative write reads back as 0, so a box never pulls
|
|
11
|
+
* its children together.
|
|
12
|
+
*/
|
|
13
|
+
export declare const BOX_SPACING_VECTORS: ReadonlyArray<BoxSpacingVector>;
|
|
14
|
+
/** One authored `orientation` and the axis the box stacks along. */
|
|
15
|
+
export interface BoxOrientationVector {
|
|
16
|
+
value: string | null;
|
|
17
|
+
orientation: 'horizontal' | 'vertical';
|
|
18
|
+
rule: string;
|
|
19
|
+
}
|
|
20
|
+
/** `GtkOrientable:orientation`, read by nick as GtkBuilder reads an enum. */
|
|
21
|
+
export declare const BOX_ORIENTATION_VECTORS: ReadonlyArray<BoxOrientationVector>;
|