@danxbot/ui 20.12.0 → 20.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1530 -1518
- package/dist/index.js.map +1 -1
- package/dist/types/lib/paged-window/store.d.ts +10 -3
- package/package.json +1 -1
|
@@ -98,9 +98,12 @@ export declare class PagedWindowStore<T> {
|
|
|
98
98
|
/** The viewer moved to another page. Ignored while frozen, applied on thaw. */
|
|
99
99
|
setAnchorPage(page: number): void;
|
|
100
100
|
/**
|
|
101
|
-
* While true the window neither loads nor drops
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* While true nothing about the window changes: it neither loads nor drops
|
|
102
|
+
* pages, starts no refresh and applies no answer, whatever the anchor or the
|
|
103
|
+
* total does (all of it waits for the thaw). A drag needs it: the carried card
|
|
104
|
+
* is mounted in its page, and dropping that page mid-drag would unmount the
|
|
105
|
+
* card and cancel the drag. Only `reset()` ignores it — a query change is a
|
|
106
|
+
* different list.
|
|
104
107
|
*/
|
|
105
108
|
setFrozen(frozen: boolean): void;
|
|
106
109
|
/** `count` holds and requests no cards, only the length (see the file header). */
|
|
@@ -127,14 +130,18 @@ export declare class PagedWindowStore<T> {
|
|
|
127
130
|
private wanted;
|
|
128
131
|
/** Bring the held pages to the wanted ones — unless frozen, when that waits for the thaw. */
|
|
129
132
|
private sync;
|
|
133
|
+
/** `force` is `reset()`'s alone: it brings the window to its (new) list even while frozen. */
|
|
130
134
|
private reconcile;
|
|
131
135
|
/** Everything the frozen window put off, in the order the header promises. */
|
|
132
136
|
private thaw;
|
|
133
137
|
/** Start (or restart) a page's request; whatever was in flight is abandoned. */
|
|
134
138
|
private request;
|
|
135
139
|
private settle;
|
|
140
|
+
/** Record an answer on its page — no window change, no notification: callers sync once. */
|
|
141
|
+
private applyPage;
|
|
136
142
|
private requestCount;
|
|
137
143
|
private settleCount;
|
|
144
|
+
private applyCount;
|
|
138
145
|
private abortCount;
|
|
139
146
|
private dropAll;
|
|
140
147
|
/**
|