verstak 0.24.263 → 0.24.264
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.
|
@@ -66,7 +66,7 @@ export class ElImpl {
|
|
|
66
66
|
var _a, _b;
|
|
67
67
|
const node = this.node;
|
|
68
68
|
const driver = node.driver;
|
|
69
|
-
if (!driver.
|
|
69
|
+
if (!driver.isPartition) {
|
|
70
70
|
const owner = node.owner;
|
|
71
71
|
const ownerEl = owner.element;
|
|
72
72
|
const prevEl = (_a = node.seat.prev) === null || _a === void 0 ? void 0 : _a.instance.element;
|
|
@@ -345,7 +345,7 @@ export class Apply {
|
|
|
345
345
|
static heightGrowth(element, value) {
|
|
346
346
|
const bNode = element.node;
|
|
347
347
|
const driver = bNode.driver;
|
|
348
|
-
if (driver.
|
|
348
|
+
if (driver.isPartition) {
|
|
349
349
|
if (element.native instanceof HTMLElement) {
|
|
350
350
|
const s = element.native.style;
|
|
351
351
|
if (value > 0)
|
|
@@ -356,7 +356,7 @@ export class Apply {
|
|
|
356
356
|
}
|
|
357
357
|
else {
|
|
358
358
|
const hostDriver = bNode.host.driver;
|
|
359
|
-
if (hostDriver.
|
|
359
|
+
if (hostDriver.isPartition) {
|
|
360
360
|
const host = bNode.host.seat.instance;
|
|
361
361
|
Apply.boundsAlignment(element, Align.stretch);
|
|
362
362
|
Apply.heightGrowth(host.element, value);
|
|
@@ -458,8 +458,8 @@ export class Apply {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
export const Constants = {
|
|
461
|
-
element: "
|
|
462
|
-
partition: "
|
|
461
|
+
element: "el",
|
|
462
|
+
partition: "part",
|
|
463
463
|
group: "group",
|
|
464
464
|
layouts: ["section", "table", "note", "group", "", ""],
|
|
465
465
|
keyAttrName: "key",
|
|
@@ -6,10 +6,10 @@ export class WebDriver extends ElDriver {
|
|
|
6
6
|
create(node) {
|
|
7
7
|
this.setNativeElement(node);
|
|
8
8
|
const e = node.element.native;
|
|
9
|
-
if (RxSystem.isLogging && e !== undefined && !node.driver.
|
|
9
|
+
if (RxSystem.isLogging && e !== undefined && !node.driver.isPartition)
|
|
10
10
|
e.setAttribute(Constants.keyAttrName, node.key);
|
|
11
11
|
super.create(node);
|
|
12
|
-
if (e == undefined && RxSystem.isLogging && !node.driver.
|
|
12
|
+
if (e == undefined && RxSystem.isLogging && !node.driver.isPartition)
|
|
13
13
|
node.element.native.setAttribute(Constants.keyAttrName, node.key);
|
|
14
14
|
}
|
|
15
15
|
destroy(node, isLeader) {
|
|
@@ -33,9 +33,9 @@ export class WebDriver extends ElDriver {
|
|
|
33
33
|
const automaticHost = RxNode.findMatchingHost(node, n => n.element.native instanceof HTMLElement || n.element.native instanceof SVGElement);
|
|
34
34
|
const automaticNativeHost = automaticHost === null || automaticHost === void 0 ? void 0 : automaticHost.element.native;
|
|
35
35
|
if (automaticNativeHost) {
|
|
36
|
-
if (sequential && !node.driver.
|
|
36
|
+
if (sequential && !node.driver.isPartition) {
|
|
37
37
|
const after = RxNode.findMatchingPrevSibling(node, n => n.element.native instanceof HTMLElement || n.element.native instanceof SVGElement);
|
|
38
|
-
if (after === undefined || after.driver.
|
|
38
|
+
if (after === undefined || after.driver.isPartition) {
|
|
39
39
|
if (automaticNativeHost !== native.parentNode || !native.previousSibling)
|
|
40
40
|
automaticNativeHost.prepend(native);
|
|
41
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verstak",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.264",
|
|
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.264"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/node": "20.11.17",
|