aoi-comp 1.0.13 → 1.0.15
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/README.md +4 -1
- package/dist/{BufferResource-CR9WZiPf.js → BufferResource-DwkktoH2.js} +2 -2
- package/dist/{CanvasPool-oGKrpinT.js → CanvasPool-CbJemwqD.js} +1 -1
- package/dist/{Geometry-HXFlKI4P.js → Geometry-CQNqhx0Z.js} +1 -1
- package/dist/{RenderTargetSystem-CF18-b0v.js → RenderTargetSystem-BHmTK9nr.js} +1 -1
- package/dist/{browserAll-Cz0iKBkb.js → browserAll-BLacNsSI.js} +3 -3
- package/dist/{canvasUtils-Dc-V9sO2.js → canvasUtils-BRobvpth.js} +1 -1
- package/dist/comps.js +2054 -2054
- package/dist/{getTextureBatchBindGroup-FDqjUm2N.js → getTextureBatchBindGroup-B2MLavMF.js} +1 -1
- package/dist/{hooks-D2FBYBv8.js → hooks-Dbbx_ZCW.js} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-UwEQ9uRH.js → init--NRY9BXQ.js} +2 -2
- package/dist/{init-DWNh-mhB.js → init-DCipAX9y.js} +3 -3
- package/dist/{packages-h0Ej7Ed3.js → packages-Sbaw1wWA.js} +299 -288
- package/dist/utils.js +1 -1
- package/dist/webworkerAll-B-8Lcex_.js +2 -0
- package/package.json +1 -1
- package/dist/webworkerAll-BAHCx4FJ.js +0 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# AOI 整机运行标准化组件库
|
|
2
2
|
|
|
3
|
+
`aoi-comp` 是面向 AOI 桌面宿主环境的 React 组件库,不是纯浏览器 UI 库。部分组件和工具依赖宿主注入的执行器、图像处理对象、数据库、文件系统和事件接口。
|
|
4
|
+
|
|
3
5
|
### 组件库目录结构
|
|
4
6
|
|
|
5
7
|
```text
|
|
@@ -139,7 +141,8 @@ aoiInit(config);
|
|
|
139
141
|
- `exe`:宿主环境注入的执行对象,用于数据库、文件等能力。
|
|
140
142
|
- `cv`:宿主环境注入的图像处理对象。
|
|
141
143
|
- `resource`:业务侧追加的国际化语言包。
|
|
142
|
-
- `
|
|
144
|
+
- `defaultLang`:系统语言,默认为 `zh`。
|
|
145
|
+
- `lang`:用于指定系统语言,权重最高。
|
|
143
146
|
- `sqls`:数据库表结构与 SQL 配置。
|
|
144
147
|
- `level`:权限配置。
|
|
145
148
|
- `config`:业务配置项。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as e, Z as t, n, nt as r, p as i, r as a } from "./Geometry-
|
|
2
|
-
import { k as o, w as s } from "./RenderTargetSystem-
|
|
1
|
+
import { R as e, Z as t, n, nt as r, p as i, r as a } from "./Geometry-CQNqhx0Z.js";
|
|
2
|
+
import { k as o, w as s } from "./RenderTargetSystem-BHmTK9nr.js";
|
|
3
3
|
//#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/rendering/high-shader/shader-bits/localUniformBit.mjs
|
|
4
4
|
var c = {
|
|
5
5
|
name: "local-uniform-bit",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as e, b as t, q as n } from "./Geometry-
|
|
1
|
+
import { L as e, b as t, q as n } from "./Geometry-CQNqhx0Z.js";
|
|
2
2
|
var r = new class {
|
|
3
3
|
constructor(e) {
|
|
4
4
|
this._canvasPool = /* @__PURE__ */ Object.create(null), this.canvasOptions = e || {}, this.enableFullScreen = !1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ht as e, vt as t } from "./packages-
|
|
1
|
+
import { ht as e, vt as t } from "./packages-Sbaw1wWA.js";
|
|
2
2
|
//#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/extensions/Extensions.mjs
|
|
3
3
|
var n = /* @__PURE__ */ ((e) => (e.Application = "application", e.WebGLPipes = "webgl-pipes", e.WebGLPipesAdaptor = "webgl-pipes-adaptor", e.WebGLSystem = "webgl-system", e.WebGPUPipes = "webgpu-pipes", e.WebGPUPipesAdaptor = "webgpu-pipes-adaptor", e.WebGPUSystem = "webgpu-system", e.CanvasSystem = "canvas-system", e.CanvasPipesAdaptor = "canvas-pipes-adaptor", e.CanvasPipes = "canvas-pipes", e.Asset = "asset", e.LoadParser = "load-parser", e.ResolveParser = "resolve-parser", e.CacheParser = "cache-parser", e.DetectionParser = "detection-parser", e.MaskEffect = "mask-effect", e.BlendMode = "blend-mode", e.TextureSource = "texture-source", e.TextureUploaderWebGL = "texture-uploader-webgl", e.TextureUploaderWebGPU = "texture-uploader-webgpu", e.Environment = "environment", e.ShapeBuilder = "shape-builder", e.Batcher = "batcher", e))(n || {}), r = (e) => {
|
|
4
4
|
if (typeof e == "function" || typeof e == "object" && e.extension) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, C as t, D as n, G as r, H as i, I as a, J as o, L as s, P as c, Q as l, R as u, T as d, V as f, W as p, Y as m, Z as h, _ as g, at as _, b as v, d as y, et as b, f as ee, h as te, i as ne, it as x, j as re, k as ie, l as S, m as ae, n as oe, nt as se, o as ce, r as C, s as le, t as ue, tt as de, u as fe, w as pe, x as me, y as w, z as T } from "./Geometry-
|
|
1
|
+
import { B as e, C as t, D as n, G as r, H as i, I as a, J as o, L as s, P as c, Q as l, R as u, T as d, V as f, W as p, Y as m, Z as h, _ as g, at as _, b as v, d as y, et as b, f as ee, h as te, i as ne, it as x, j as re, k as ie, l as S, m as ae, n as oe, nt as se, o as ce, r as C, s as le, t as ue, tt as de, u as fe, w as pe, x as me, y as w, z as T } from "./Geometry-CQNqhx0Z.js";
|
|
2
2
|
//#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/environment/autoDetectEnvironment.mjs
|
|
3
3
|
var E = [];
|
|
4
4
|
_.handleByNamedList(x.Environment, E);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as e, F as t, R as n, _ as r, at as i, it as a, nt as o, tt as s, v as c } from "./Geometry-
|
|
2
|
-
import "./init
|
|
3
|
-
import "./init-
|
|
1
|
+
import { C as e, F as t, R as n, _ as r, at as i, it as a, nt as o, tt as s, v as c } from "./Geometry-CQNqhx0Z.js";
|
|
2
|
+
import "./init--NRY9BXQ.js";
|
|
3
|
+
import "./init-DCipAX9y.js";
|
|
4
4
|
//#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/dom/CanvasObserver.mjs
|
|
5
5
|
var l = class {
|
|
6
6
|
constructor(e) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, W as t, b as n, it as r, z as i } from "./Geometry-
|
|
1
|
+
import { $ as e, W as t, b as n, it as r, z as i } from "./Geometry-CQNqhx0Z.js";
|
|
2
2
|
//#region node_modules/.pnpm/pixi.js@8.20.1/node_modules/pixi.js/lib/rendering/renderers/shared/texture/sources/ImageSource.mjs
|
|
3
3
|
var a = class extends t {
|
|
4
4
|
constructor(e) {
|