laymur 0.2.6 → 0.2.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.
- package/dist/index.js +109 -65
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/wrappers/UISolverWrapper.d.ts +3 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { UIExpression } from "../miscellaneous/UIExpression";
|
|
|
2
2
|
import { UIPriority } from "../miscellaneous/UIPriority";
|
|
3
3
|
import { UIRelation } from "../miscellaneous/UIRelation";
|
|
4
4
|
export declare class UISolverWrapper {
|
|
5
|
-
private solver
|
|
5
|
+
private solver?;
|
|
6
6
|
private recalculationRequired;
|
|
7
7
|
private readonly variables;
|
|
8
8
|
private lastVariableIndex;
|
|
@@ -20,10 +20,10 @@ export declare class UISolverWrapper {
|
|
|
20
20
|
setConstraintRelation(index: number, relation: UIRelation): void;
|
|
21
21
|
setConstraintPriority(index: number, priority: UIPriority): void;
|
|
22
22
|
setConstraintEnabled(index: number, enabled: boolean): void;
|
|
23
|
-
private convertExpression;
|
|
24
23
|
private rebuildVariable;
|
|
25
24
|
private rebuildConstraintByDescription;
|
|
26
|
-
private
|
|
25
|
+
private rebuildConstraint;
|
|
27
26
|
private buildConstraint;
|
|
27
|
+
private convertExpression;
|
|
28
28
|
private rebuildSolver;
|
|
29
29
|
}
|