aoi-comp 1.0.10 → 1.0.11
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 +77 -49
- package/dist/{BufferResource-B9J7sakh.js → BufferResource-KIVvy5RU.js} +2 -2
- package/dist/{CanvasPool-Cj7pAl_V.js → CanvasPool-CoJ6fp2T.js} +1 -1
- package/dist/{Geometry-DZRVpJxo.js → Geometry-yirqXUbT.js} +1 -1
- package/dist/{RenderTargetSystem-DpDerUml.js → RenderTargetSystem-C5FbaxB6.js} +1 -1
- package/dist/{browserAll-Cgvv18r-.js → browserAll-BlXoOxdk.js} +3 -3
- package/dist/{canvasUtils-CQY_EQew.js → canvasUtils-ByNFM8PZ.js} +1 -1
- package/dist/comps.js +1449 -1412
- package/dist/{getTextureBatchBindGroup-C-2vhNcM.js → getTextureBatchBindGroup-DboMquwr.js} +1 -1
- package/dist/{hooks-RFqzmuuL.js → hooks-Ww44LelW.js} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{init-CQ75H2tH.js → init-5-nCmzt4.js} +3 -3
- package/dist/{init-DCk4OmUj.js → init-DPdifVJ6.js} +2 -2
- package/dist/{packages-BBu_5vmp.js → packages-DtEpsTpy.js} +127 -124
- package/dist/style.css +1 -1
- package/dist/utils.js +1 -1
- package/dist/webworkerAll-BQbmOPdT.js +2 -0
- package/package.json +1 -1
- package/dist/webworkerAll-0PJXJVS3.js +0 -2
package/README.md
CHANGED
|
@@ -6,55 +6,83 @@
|
|
|
6
6
|
|
|
7
7
|
```text
|
|
8
8
|
packages/
|
|
9
|
-
├─ index.js
|
|
10
|
-
├─ assets/
|
|
11
|
-
│ ├─ enum/
|
|
12
|
-
│
|
|
13
|
-
│
|
|
14
|
-
│
|
|
15
|
-
│
|
|
16
|
-
│
|
|
17
|
-
│
|
|
18
|
-
│
|
|
19
|
-
|
|
20
|
-
│
|
|
21
|
-
│
|
|
22
|
-
│
|
|
23
|
-
|
|
24
|
-
│
|
|
25
|
-
│
|
|
26
|
-
│ │
|
|
27
|
-
│ ├─
|
|
28
|
-
│ │ ├─
|
|
29
|
-
│ │ ├─
|
|
30
|
-
│ │ ├─
|
|
31
|
-
│ │ ├─
|
|
32
|
-
│ │
|
|
33
|
-
│ └─
|
|
34
|
-
│
|
|
35
|
-
│
|
|
36
|
-
│
|
|
37
|
-
│
|
|
38
|
-
│
|
|
39
|
-
├─
|
|
40
|
-
│ ├─
|
|
41
|
-
│
|
|
42
|
-
├─
|
|
43
|
-
│
|
|
44
|
-
│ ├─
|
|
45
|
-
│
|
|
46
|
-
├─
|
|
47
|
-
├─
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
9
|
+
├─ index.js # 组件库入口,导出 AoiGlobal、aoiInit 等初始化能力
|
|
10
|
+
├─ assets/ # 静态资源与枚举配置
|
|
11
|
+
│ ├─ enum/
|
|
12
|
+
│ │ └─ index.js # 全局枚举与默认配置常量
|
|
13
|
+
│ ├─ images/
|
|
14
|
+
│ │ └─ logo.png # 组件库图片资源
|
|
15
|
+
│ └─ svgs/ # SVG 图标资源与统一导出入口
|
|
16
|
+
│ ├─ index.jsx
|
|
17
|
+
│ ├─ colo/ # 彩色图标
|
|
18
|
+
│ ├─ fill/
|
|
19
|
+
│ │ └─ status/ # 状态类填充图标
|
|
20
|
+
│ └─ line/
|
|
21
|
+
│ ├─ obj/ # 对象类线性图标
|
|
22
|
+
│ └─ tool/ # 工具类线性图标
|
|
23
|
+
├─ components/ # 组件源码
|
|
24
|
+
│ ├─ index.jsx # 组件统一导出入口
|
|
25
|
+
│ ├─ base/ # 基础组件
|
|
26
|
+
│ │ ├─ AoiApp/ # 应用容器与全局上下文
|
|
27
|
+
│ │ ├─ AoiConfirm/ # 确认框组件
|
|
28
|
+
│ │ ├─ AoiEllipsis/ # 文本省略组件
|
|
29
|
+
│ │ ├─ AoiErr/ # 错误展示组件
|
|
30
|
+
│ │ ├─ AoiHint/ # 提示组件
|
|
31
|
+
│ │ ├─ AoiIcon/ # 图标组件
|
|
32
|
+
│ │ ├─ AoiSwitch/ # 开关组件
|
|
33
|
+
│ │ └─ AoiWindow/ # 窗口组件
|
|
34
|
+
│ ├─ data/ # 数据展示组件
|
|
35
|
+
│ │ ├─ AoiList/ # 列表组件
|
|
36
|
+
│ │ ├─ AoiModal/ # 弹窗组件
|
|
37
|
+
│ │ ├─ AoiNews/ # 消息/通知组件
|
|
38
|
+
│ │ ├─ AoiResult/ # 结果展示组件
|
|
39
|
+
│ │ ├─ AoiRfid/ # 二维码ID组件
|
|
40
|
+
│ │ ├─ AoiStatis/ # 统计图表组件
|
|
41
|
+
│ │ ├─ AoiTable/ # 表格组件
|
|
42
|
+
│ │ ├─ AoiTabs/ # 标签页组件
|
|
43
|
+
│ │ └─ AoiView/ # PixiJS 图像与缺陷数据绘制视图
|
|
44
|
+
│ ├─ form/ # 表单输入组件
|
|
45
|
+
│ │ ├─ AoiColor/ # 颜色选择组件
|
|
46
|
+
│ │ ├─ AoiDate/ # 日期选择组件
|
|
47
|
+
│ │ ├─ AoiInfo/ # 信息编辑组件
|
|
48
|
+
│ │ ├─ AoiInput/ # 输入框组件
|
|
49
|
+
│ │ ├─ AoiNumber/ # 数字输入组件
|
|
50
|
+
│ │ ├─ AoiPath/ # 路径选择组件
|
|
51
|
+
│ │ ├─ AoiSelect/ # 下拉选择组件
|
|
52
|
+
│ │ ├─ AoiTime/ # 时间选择组件
|
|
53
|
+
│ │ └─ AoiWhere/ # 条件配置组件
|
|
54
|
+
│ └─ page/ # 页面级业务组件
|
|
55
|
+
│ ├─ AoiHistory/ # 历史记录页面
|
|
56
|
+
│ ├─ AoiJournal/ # 日志页面
|
|
57
|
+
│ └─ AoiLayout/ # 通用页面布局
|
|
58
|
+
├─ hooks/ # React Hooks
|
|
59
|
+
│ ├─ index.js # 对外导出入口
|
|
60
|
+
│ ├─ public.js # 公共 hooks
|
|
61
|
+
│ ├─ busine.js # 业务 hooks
|
|
62
|
+
│ └─ privatize.js # 内部私有 hooks
|
|
63
|
+
├─ locales/ # 国际化资源
|
|
64
|
+
│ ├─ index.js # i18n 初始化与导出
|
|
65
|
+
│ ├─ zh.json # 中文语言包
|
|
66
|
+
│ └─ en.json # 英文语言包
|
|
67
|
+
├─ styles/ # 全局样式与公共 Less 资源
|
|
68
|
+
│ ├─ index.less
|
|
69
|
+
│ ├─ _public.less
|
|
70
|
+
│ └─ _variables.less
|
|
71
|
+
├─ themes/ # Ant Design 主题与 token 配置
|
|
72
|
+
│ ├─ index.js
|
|
73
|
+
│ ├─ theme.js
|
|
74
|
+
│ └─ token.js
|
|
75
|
+
└─ utils/ # 工具模块
|
|
76
|
+
├─ index.js # 工具统一导出入口
|
|
77
|
+
├─ mount.js # 预处理与全局对象挂载
|
|
78
|
+
├─ config.js # 配置初始化与文件路径配置
|
|
79
|
+
├─ defect.js # 缺陷类型配置管理
|
|
80
|
+
├─ event.js # 全局事件与发布订阅
|
|
81
|
+
├─ measure.js # 测量工具
|
|
82
|
+
├─ msgs.js # 消息提示封装
|
|
83
|
+
├─ queue.js # 队列工具
|
|
84
|
+
├─ sqldb.js # 数据库访问封装
|
|
85
|
+
└─ util.js # 通用工具函数
|
|
58
86
|
```
|
|
59
87
|
|
|
60
88
|
组件目录通常遵循以下约定:
|
|
@@ -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-yirqXUbT.js";
|
|
2
|
+
import { k as o, w as s } from "./RenderTargetSystem-C5FbaxB6.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-yirqXUbT.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-DtEpsTpy.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-yirqXUbT.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-yirqXUbT.js";
|
|
2
|
+
import "./init-DPdifVJ6.js";
|
|
3
|
+
import "./init-5-nCmzt4.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-yirqXUbT.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) {
|