@nova-lab/core 1.1.0-dev.229 → 1.1.2-dev.255
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/2d.js +1 -1
- package/dist/{NovaTextSelectionService-CipuujCT.js → NovaTextSelectionService-CPRzGqvI.js} +1556 -1475
- package/dist/core.js +1 -1
- package/dist/model/render/backends/webgl/NovaWebGLFrameRenderer.d.ts +7 -1
- package/dist/model/runtime/diagnostics/NovaDiagnostics_Module.d.ts +4 -4
- package/package.json +14 -9
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { D as o, a as s, N as t, b as r, R as n, S as N, c as v, d as i, e as c, f as d, g as l, h as p, i as S, j as m, k as R, m as u, n as C, r as A, l as T, o as h, p as E, q as g, s as P, t as y, u as f, v as M } from "./NovaNode-CBZ-Ol-W.js";
|
|
2
|
-
import { A as b, C as _, a as x, E as D, G as O, N as B, b as V, c as G, d as L, e as k, f as F, g as H, h as j, i as z, j as q, k as K, l as Y, m as U, n as W, o as w, p as J, q as Q, r as X, s as Z, t as $, u as aa, v as ea, w as oa, x as sa, y as ta, z as ra, B as na, D as Na, F as va, H as ia, I as ca, J as da, J as la, K as pa, L as Sa, M as ma, O as Ra, P as ua, Q as Ca, R as Aa, S as Ta, T as ha, U as Ea, V as ga, W as Pa, X as ya, Y as fa, Z as Ma, _ as Ia, $ as ba, a0 as _a, a1 as xa, a2 as Da, a3 as Oa, a4 as Ba, a5 as Va, a6 as Ga, a7 as La, a8 as ka, a9 as Fa, aa as Ha, ab as ja, ac as za, ad as qa, ae as Ka, af as Ya, ag as Ua, ah as Wa, ai as wa, aj as Ja, ak as Qa, al as Xa, am as Za, an as $a, ao as ae, ap as ee, aq as oe, ar as se, as as te, at as re, au as ne, av as Ne, aw as ve, ax as ie, ay as ce, az as de, aA as le, aB as pe, aC as Se, aD as me, aE as Re, aF as ue, aG as Ce, aH as Ae, aI as Te, aJ as he, aK as Ee, aL as ge, aM as Pe, aN as ye, aO as fe, aP as Me, aQ as Ie, aR as be, aS as _e, aT as xe, aU as De, aV as Oe, aW as Be, aX as Ve, aY as Ge, aZ as Le, a_ as ke, a$ as Fe, b0 as He, b1 as je, b2 as ze, b3 as qe, b4 as Ke, b5 as Ye, b6 as Ue, b7 as We, b8 as we } from "./NovaTextSelectionService-
|
|
2
|
+
import { A as b, C as _, a as x, E as D, G as O, N as B, b as V, c as G, d as L, e as k, f as F, g as H, h as j, i as z, j as q, k as K, l as Y, m as U, n as W, o as w, p as J, q as Q, r as X, s as Z, t as $, u as aa, v as ea, w as oa, x as sa, y as ta, z as ra, B as na, D as Na, F as va, H as ia, I as ca, J as da, J as la, K as pa, L as Sa, M as ma, O as Ra, P as ua, Q as Ca, R as Aa, S as Ta, T as ha, U as Ea, V as ga, W as Pa, X as ya, Y as fa, Z as Ma, _ as Ia, $ as ba, a0 as _a, a1 as xa, a2 as Da, a3 as Oa, a4 as Ba, a5 as Va, a6 as Ga, a7 as La, a8 as ka, a9 as Fa, aa as Ha, ab as ja, ac as za, ad as qa, ae as Ka, af as Ya, ag as Ua, ah as Wa, ai as wa, aj as Ja, ak as Qa, al as Xa, am as Za, an as $a, ao as ae, ap as ee, aq as oe, ar as se, as as te, at as re, au as ne, av as Ne, aw as ve, ax as ie, ay as ce, az as de, aA as le, aB as pe, aC as Se, aD as me, aE as Re, aF as ue, aG as Ce, aH as Ae, aI as Te, aJ as he, aK as Ee, aL as ge, aM as Pe, aN as ye, aO as fe, aP as Me, aQ as Ie, aR as be, aS as _e, aT as xe, aU as De, aV as Oe, aW as Be, aX as Ve, aY as Ge, aZ as Le, a_ as ke, a$ as Fe, b0 as He, b1 as je, b2 as ze, b3 as qe, b4 as Ke, b5 as Ye, b6 as Ue, b7 as We, b8 as we } from "./NovaTextSelectionService-CPRzGqvI.js";
|
|
3
3
|
import { N as Qe, R as Xe, c as Ze, a as $e, b as ao, d as eo, e as oo, f as so, g as to, h as ro, i as no, j as No, k as vo, l as io, m as co, n as lo, o as po, r as So, p as mo, s as Ro, q as uo } from "./NovaRenderCommandWriter-CWQRa42y.js";
|
|
4
4
|
import { b as Ao, a as To, c as ho, d as Eo, e as go, p as Po, f as yo, s as fo, t as Mo, u as Io } from "./nova-color-parser-BCN_rFRN.js";
|
|
5
5
|
import { N as _o, a as xo, c as Do, b as Oo, d as Bo, e as Vo, f as Go, g as Lo, h as ko, i as Fo, j as Ho, k as jo, l as zo, m as qo, n as Ko, o as Yo, r as Uo } from "./NovaAssetRegistry-p2QlCwvT.js";
|
|
@@ -141,6 +141,8 @@ export declare class NovaWebGLFrameRenderer {
|
|
|
141
141
|
private _textureCachedDirtyRanges;
|
|
142
142
|
private _textureCachedBatch;
|
|
143
143
|
private _roundedTransform;
|
|
144
|
+
private _roundedEllipseAA;
|
|
145
|
+
private _ellipseTransform?;
|
|
144
146
|
private _solidTransform;
|
|
145
147
|
private _textureTransform;
|
|
146
148
|
private _distanceFieldTransform;
|
|
@@ -531,7 +533,7 @@ export declare class NovaWebGLFrameRenderer {
|
|
|
531
533
|
/** Projection uses the actual rounded viewport and Float32 resolution uniforms. */
|
|
532
534
|
private _deviceTextMap;
|
|
533
535
|
private _resolvedDeviceTextDirection;
|
|
534
|
-
private
|
|
536
|
+
private _resolveDeviceTextMap;
|
|
535
537
|
private _setDeviceTextStreamOrigin;
|
|
536
538
|
/** One current phase per existing run key; integer device translations reuse texels. */
|
|
537
539
|
private _resolveDeviceText;
|
|
@@ -663,6 +665,8 @@ export declare class NovaWebGLFrameRenderer {
|
|
|
663
665
|
private _drawArc;
|
|
664
666
|
/** Paths use prepared union geometry, with no Canvas raster fallback. */
|
|
665
667
|
private _drawPath;
|
|
668
|
+
/** Рисует один полный ellipse существующим circle SDF, не меняя общий path fallback. */
|
|
669
|
+
private _tryDrawFullEllipse;
|
|
666
670
|
/** Coverage объединяется по samples перед выводом paint с частичной alpha. */
|
|
667
671
|
private _beginPathUnion;
|
|
668
672
|
private _endPathUnion;
|
|
@@ -1123,6 +1127,8 @@ export declare class NovaWebGLFrameRenderer {
|
|
|
1123
1127
|
* Выполняет внутреннюю операцию prepare rounded transform.
|
|
1124
1128
|
*/
|
|
1125
1129
|
private _prepareRoundedTransform;
|
|
1130
|
+
/** Меняет coverage только после flush предыдущих rounded vertices. */
|
|
1131
|
+
private _prepareRoundedEllipseAA;
|
|
1126
1132
|
/**
|
|
1127
1133
|
* Выполняет внутреннюю операцию prepare solid transform.
|
|
1128
1134
|
*/
|
|
@@ -56,19 +56,19 @@ export declare class NovaDiagnostics_Module<E extends EventList = EventList> {
|
|
|
56
56
|
/**
|
|
57
57
|
* Помечает начало frame diagnostics.
|
|
58
58
|
*/
|
|
59
|
-
frameStart(now?: number): void;
|
|
59
|
+
frameStart(now?: number | undefined): void;
|
|
60
60
|
/**
|
|
61
61
|
* Помечает конец frame diagnostics и сохраняет snapshot.
|
|
62
62
|
*/
|
|
63
|
-
frameEnd(now?: number): void;
|
|
63
|
+
frameEnd(now?: number | undefined): void;
|
|
64
64
|
/**
|
|
65
65
|
* Помечает начало runtime phase.
|
|
66
66
|
*/
|
|
67
|
-
phaseStart(name: string, now?: number): void;
|
|
67
|
+
phaseStart(name: string, now?: number | undefined): void;
|
|
68
68
|
/**
|
|
69
69
|
* Помечает конец runtime phase.
|
|
70
70
|
*/
|
|
71
|
-
phaseEnd(now?: number): void;
|
|
71
|
+
phaseEnd(now?: number | undefined): void;
|
|
72
72
|
/**
|
|
73
73
|
* Сохраняет размер dirty workload для текущей Raph phase.
|
|
74
74
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nova-lab/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2-dev.255",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": {
|
|
@@ -213,16 +213,16 @@
|
|
|
213
213
|
"lint-check": "eslint . --cache",
|
|
214
214
|
"lint-fix": "eslint . --fix --cache",
|
|
215
215
|
"example:courier": "vite --config examples/courier/vite.config.ts",
|
|
216
|
-
"example:ocean": "vite --config examples/ocean/vite.config.ts",
|
|
217
216
|
"example:fps": "vite --config examples/fps/vite.config.ts",
|
|
218
217
|
"example:rpg": "vite --config examples/rpg/vite.config.ts",
|
|
219
|
-
"lint:release": "eslint src build-tools vite.config.ts package.json eslint.config.mjs eslint.endge.config.mjs"
|
|
218
|
+
"lint:release": "eslint src build-tools vite.config.ts package.json eslint.config.mjs eslint.endge.config.mjs",
|
|
219
|
+
"test:release": "node node_modules/vitest/vitest.mjs run --maxWorkers=1 --exclude \"**/benchmarks/**\" --exclude \"**/*.bench.*\" --exclude \"**/*.performance.*\" --exclude \"**/performance/**\" --config vite.config.ts"
|
|
220
220
|
},
|
|
221
221
|
"peerDependencies": {
|
|
222
222
|
"@dimforge/rapier3d-compat": "0.21.0",
|
|
223
223
|
"@typedworks/color": ">=1.0.0-beta.2 <2",
|
|
224
|
-
"@typedworks/commands": ">=1.0.0-dev.14 <2",
|
|
225
|
-
"@typedworks/history": ">=1.0.0-dev.16 <2",
|
|
224
|
+
"@typedworks/commands": ">=1.0.0-dev.14 <2 || >=1.1.0-dev.16 <2",
|
|
225
|
+
"@typedworks/history": ">=1.0.0-dev.16 <2 || >=1.1.0-dev.19 <2",
|
|
226
226
|
"@typedworks/json": ">=1.0.0-dev.7 <2",
|
|
227
227
|
"@typedworks/schema": ">=1.0.0-dev.56 <2",
|
|
228
228
|
"@typedworks/token": ">=1.0.0-dev.2 <2"
|
|
@@ -263,10 +263,10 @@
|
|
|
263
263
|
"@antfu/eslint-config": "9.3.0",
|
|
264
264
|
"@dimforge/rapier3d-compat": "0.21.0",
|
|
265
265
|
"@typedworks/color": "1.0.0-beta.2",
|
|
266
|
-
"@typedworks/commands": "1.
|
|
267
|
-
"@typedworks/history": "1.
|
|
268
|
-
"@typedworks/json": "1.0.0-dev.
|
|
269
|
-
"@typedworks/schema": "1.0.0-dev.
|
|
266
|
+
"@typedworks/commands": "1.1.0-dev.16",
|
|
267
|
+
"@typedworks/history": "1.1.0-dev.19",
|
|
268
|
+
"@typedworks/json": "1.0.0-dev.10",
|
|
269
|
+
"@typedworks/schema": "1.0.0-dev.63",
|
|
270
270
|
"@typedworks/token": "1.0.0-dev.2",
|
|
271
271
|
"@types/rbush": "^4.0.0",
|
|
272
272
|
"@types/three": "0.186.0",
|
|
@@ -280,5 +280,10 @@
|
|
|
280
280
|
"unplugin-dts": "^1.0.3",
|
|
281
281
|
"vite": "^6.1.0",
|
|
282
282
|
"vitest": "^3.2.4"
|
|
283
|
+
},
|
|
284
|
+
"publishConfig": {
|
|
285
|
+
"access": "public",
|
|
286
|
+
"registry": "https://registry.npmjs.org/",
|
|
287
|
+
"tag": "dev"
|
|
283
288
|
}
|
|
284
289
|
}
|