dsh-model-think-level 1.0.6 → 1.0.7
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.
|
@@ -47,6 +47,21 @@ export declare function createModelOrderState(): ModelOrderState;
|
|
|
47
47
|
* `.modelList { display: flex; flex-direction: column; gap: 8px }` lays out.
|
|
48
48
|
*/
|
|
49
49
|
export declare function modelListsOf(root: HTMLElement): HTMLElement[];
|
|
50
|
+
/**
|
|
51
|
+
* Whether a mutation burst added or removed model ROWS.
|
|
52
|
+
*
|
|
53
|
+
* The official editor keys its model rows by ARRAY INDEX (`models.map((model,
|
|
54
|
+
* index) => <ModelRow ... />, index)`), so deleting one model commits as the
|
|
55
|
+
* LAST row element leaving the list and every row after the deleted one
|
|
56
|
+
* swapping its contents INSIDE its existing element. Those elements keep the
|
|
57
|
+
* CSS `order` this module wrote for the model that moved out of them: the
|
|
58
|
+
* list paints its tail shifted into the wrong slots, and re-sorts itself
|
|
59
|
+
* when the debounced scan finally corrects the order a frame or more later —
|
|
60
|
+
* the "delete one model and the whole list flashes" report. The observer
|
|
61
|
+
* answers that burst with an order pass in its own microtask, before the
|
|
62
|
+
* first painted frame; the same reasoning that made the tab pass synchronous.
|
|
63
|
+
*/
|
|
64
|
+
export declare function modelListMutation(records: readonly MutationRecord[]): boolean;
|
|
50
65
|
/**
|
|
51
66
|
* One pass over the page: name every model row in every provider editor, mount a
|
|
52
67
|
* grip in its grid, and place the rows in the order the user stored for that
|