verstak 0.24.110 → 0.24.112
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RxNode, BaseDriver } from "reactronic";
|
|
1
|
+
import { RxNode, BaseDriver, RxElement } from "reactronic";
|
|
2
2
|
export declare class ElDriver<T extends Element, M = unknown, C = unknown> extends BaseDriver<El<T, M, C, void>> {
|
|
3
3
|
allocate(node: RxNode<El<T, M, C, void>>): El<T, M, C, void>;
|
|
4
4
|
}
|
|
5
|
-
export interface BaseEl<T = any, M = any, C = any, R = void> {
|
|
5
|
+
export interface BaseEl<T = any, M = any, C = any, R = void> extends RxElement {
|
|
6
6
|
readonly node: RxNode<El<T, M, C, R>>;
|
|
7
7
|
model: M;
|
|
8
8
|
controller: C;
|
|
@@ -74,7 +74,7 @@ export class ElImpl {
|
|
|
74
74
|
if (!driver.isPartitionSeparator) {
|
|
75
75
|
const owner = node.owner;
|
|
76
76
|
const ownerEl = owner.element;
|
|
77
|
-
const prevEl = (_a = node.
|
|
77
|
+
const prevEl = (_a = node.seat.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
|
|
78
78
|
const cursorPosition = (_b = prevEl === null || prevEl === void 0 ? void 0 : prevEl.cursorPosition) !== null && _b !== void 0 ? _b : InitialCursorPosition;
|
|
79
79
|
const newCursorPosition = this.cursorPosition = owner.children.isStrict ? new CursorPosition(cursorPosition) : undefined;
|
|
80
80
|
const isCursorElement = driver instanceof CursorCommandDriver;
|
|
@@ -166,7 +166,7 @@ export class ElImpl {
|
|
|
166
166
|
rowBreak() {
|
|
167
167
|
var _a, _b;
|
|
168
168
|
const node = this.node;
|
|
169
|
-
const prevEl = (_a = node.
|
|
169
|
+
const prevEl = (_a = node.seat.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
|
|
170
170
|
const cursorPosition = (_b = prevEl === null || prevEl === void 0 ? void 0 : prevEl.cursorPosition) !== null && _b !== void 0 ? _b : InitialCursorPosition;
|
|
171
171
|
const newCursorPosition = this.cursorPosition = new CursorPosition(cursorPosition);
|
|
172
172
|
newCursorPosition.x = 1;
|
|
@@ -356,7 +356,7 @@ export class Apply {
|
|
|
356
356
|
const hostDriver = bNode.host.driver;
|
|
357
357
|
if (hostDriver.isPartitionSeparator) {
|
|
358
358
|
Apply.elementAlignment(element, Align.ToBounds);
|
|
359
|
-
Apply.heightGrowth(bNode.host.
|
|
359
|
+
Apply.heightGrowth(bNode.host.seat.instance.element, value);
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verstak",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.112",
|
|
4
4
|
"description": "Verstak - Front-End Library",
|
|
5
5
|
"publisher": "Nezaboodka Software",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"homepage": "https://github.com/nezaboodka/verstak/blob/master/README.md#readme",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"reactronic": "^0.24.
|
|
34
|
+
"reactronic": "^0.24.112"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "20.10.4",
|