@techui/scifi 0.1.0-alpha.1 → 0.1.2-alpha.1
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/LICENSE.md +28 -0
- package/README.md +16 -8
- package/TECHUI.md +4 -2
- package/UPDATE.md +65 -13
- package/core/core.d.ts +11 -8
- package/core/core.js +34 -9
- package/core/core_bg.wasm +0 -0
- package/core/core_bg.wasm.d.ts +6 -5
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/index.js +8 -8
- package/package.json +9 -9
package/LICENSE.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# TechUI Scifi License | TechUI Scifi 授权说明
|
|
2
|
+
|
|
3
|
+
English | 中文
|
|
4
|
+
|
|
5
|
+
## English
|
|
6
|
+
|
|
7
|
+
Copyright (c) aYin / TechUI. All rights reserved.
|
|
8
|
+
|
|
9
|
+
TechUI Scifi is a free but non-open-source TechUI component package. You may use it free of charge in personal, internal, learning, integration, and qualified commercial projects.
|
|
10
|
+
|
|
11
|
+
You may not publish this package as open source, sell it as an independent product, sublicense it, remove copyright notices, or redistribute modified versions as a competing package.
|
|
12
|
+
|
|
13
|
+
This package may not be used for unlawful activity, fraud, organized crime, human trafficking, or related abusive scenarios. TechUI may restrict use in specific countries or regions with elevated risks of such activity.
|
|
14
|
+
|
|
15
|
+
The software is provided "as is", without warranty of any kind.
|
|
16
|
+
|
|
17
|
+
## 中文
|
|
18
|
+
|
|
19
|
+
版权所有 (c) aYin / TechUI,保留所有权利。
|
|
20
|
+
|
|
21
|
+
TechUI Scifi 是免费但非开源的 TechUI 组件包。你可以将其免费用于个人、内部、学习、集成以及符合本授权约束的商业项目。
|
|
22
|
+
|
|
23
|
+
你不得将本包作为开源项目发布,不得作为独立产品出售、再许可、移除版权声明,或将修改版本作为竞争性软件包重新分发。
|
|
24
|
+
|
|
25
|
+
本包不得用于违法活动、诈骗、有组织犯罪、人口买卖或其他相关滥用场景。TechUI 保留对高风险国家或地区限制使用的权利。
|
|
26
|
+
|
|
27
|
+
本软件按“原样”提供,不附带任何形式的担保。
|
|
28
|
+
|
package/README.md
CHANGED
|
@@ -12,9 +12,13 @@ A free, dynamic SVG UI component library for building sci-fi and futuristic inte
|
|
|
12
12
|
|
|
13
13
|
## Strategy Adjustment
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
At its initial release, the Scifi component library was primarily created to solve the UI and visual presentation needs of visualization projects.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Starting from version `0.1.0`, Scifi now comes with the full TechUI Base component library built in. Except for a small number of advanced components that still require authorization, it has grown into a powerful and comprehensive library whose overall capability now surpasses the former paid TechUI-Vue2 component library.
|
|
18
|
+
|
|
19
|
+
In version `0.1.0`, Scifi already includes everything from the Prime component library except the workspace/admin capabilities. In addition, the previously premium components `TuiEcharts` and `TuiEchartsMap` are now officially free to use.
|
|
20
|
+
|
|
21
|
+
The Prime component library is currently planning and developing more exclusive premium components to further strengthen its competitiveness.
|
|
18
22
|
|
|
19
23
|
### ✨ Features
|
|
20
24
|
|
|
@@ -31,7 +35,7 @@ The Prime component library is currently planning and developing other exclusive
|
|
|
31
35
|
- **scifiGeome** - Geometric sci-fi shapes
|
|
32
36
|
- **scifiHeader** - Sci-fi style headers
|
|
33
37
|
- **scifiPanel** - Panel containers with sci-fi aesthetics
|
|
34
|
-
- **
|
|
38
|
+
- **scifiTitle** - Stylized titles
|
|
35
39
|
- **TechUI Base Components (New in 0.0.7)** - A selection of components from the TechUI base component library
|
|
36
40
|
|
|
37
41
|
### 🎯 TuiAdaptive - Revolutionary Responsive Component
|
|
@@ -76,7 +80,7 @@ Notes:
|
|
|
76
80
|
This library depends on the following TechUI ecosystem packages:
|
|
77
81
|
|
|
78
82
|
- `@techui/colors` - Color system
|
|
79
|
-
- `@techui/
|
|
83
|
+
- `@techui/mixins` - style mixins
|
|
80
84
|
- `@techui/locales` - Internationalization
|
|
81
85
|
- `@techui/themes` - Theme system
|
|
82
86
|
- `@techui/libs` - Utility libraries
|
|
@@ -105,9 +109,13 @@ UNLICENSED
|
|
|
105
109
|
|
|
106
110
|
## 策略调整
|
|
107
111
|
|
|
108
|
-
|
|
112
|
+
Scifi 组件库在发布之初,主要聚焦于解决可视化开发中的 UI 呈现与视觉表达问题。
|
|
113
|
+
|
|
114
|
+
自 `0.1.0` 版本发布起,Scifi 组件库已内置全量 Base 组件库能力。除个别高级组件仍需授权外,它已经成长为一个功能强大且覆盖全面的组件库,整体能力已超越此前的付费组件库 TechUI-Vue2。
|
|
115
|
+
|
|
116
|
+
目前在 `0.1.0` 版本中,Scifi 组件库已包含 Prime 组件库除工作台组件(Admin)之外的全部能力。此外,原高级组件 `TuiEcharts` 与 `TuiEchartsMap` 现已正式免费开放。
|
|
109
117
|
|
|
110
|
-
Prime
|
|
118
|
+
Prime 组件库目前正在规划和开发更多独占高级组件,以进一步提升其产品竞争力。
|
|
111
119
|
|
|
112
120
|
### ✨ 特性
|
|
113
121
|
|
|
@@ -124,7 +132,7 @@ Prime组件库目前正在规划和开发其他的 独占高级组件 以提升
|
|
|
124
132
|
- **scifiGeome** - 几何科幻图形
|
|
125
133
|
- **scifiHeader** - 科幻风格头部
|
|
126
134
|
- **scifiPanel** - 科幻面板容器
|
|
127
|
-
- **
|
|
135
|
+
- **scifiTitle** - 科幻装饰标题
|
|
128
136
|
- **TechUI Base (0.1.0+)** - TechUI基础组件库
|
|
129
137
|
|
|
130
138
|
### 🎯 TuiAdaptive - 革命性的自适应组件
|
|
@@ -169,7 +177,7 @@ Prime组件库目前正在规划和开发其他的 独占高级组件 以提升
|
|
|
169
177
|
该库依赖以下 TechUI 生态系统包:
|
|
170
178
|
|
|
171
179
|
- `@techui/colors` - 色彩系统
|
|
172
|
-
- `@techui/
|
|
180
|
+
- `@techui/mixins` - 样式混入
|
|
173
181
|
- `@techui/locales` - 国际化
|
|
174
182
|
- `@techui/themes` - 主题系统
|
|
175
183
|
- `@techui/libs` - 工具库
|
package/TECHUI.md
CHANGED
|
@@ -92,7 +92,8 @@ The new version starts from **0.0.1**, with all releases before **1.0.0** consid
|
|
|
92
92
|
|
|
93
93
|
### Homepage
|
|
94
94
|
|
|
95
|
-
[https://techui.
|
|
95
|
+
[https://techui.cn](https://techui.cn/)
|
|
96
|
+
[https://techui.net](https://techui.net/)
|
|
96
97
|
|
|
97
98
|
---
|
|
98
99
|
|
|
@@ -184,7 +185,8 @@ TechUI 工程由 **ayin** 独立完成开发。2023 年之前的所有组件均
|
|
|
184
185
|
|
|
185
186
|
### 官网
|
|
186
187
|
|
|
187
|
-
<https://techui.
|
|
188
|
+
<https://techui.cn/>
|
|
189
|
+
<https://techui.net/>
|
|
188
190
|
|
|
189
191
|
---
|
|
190
192
|
|
package/UPDATE.md
CHANGED
|
@@ -6,12 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
## English
|
|
8
8
|
|
|
9
|
-
### Update Notes
|
|
10
|
-
|
|
11
|
-
- The English documentation was translated using translation software or AI alignment, so some terms may be inappropriate or expressions unclear.
|
|
12
|
-
- To date, every TechUI release has synchronously packaged and released all four component libraries. Consequently, the update log may list components no longer present in the current library—this is normal. The current Update documentation pertains to the entire TechUI project, not just the current component library.
|
|
13
|
-
|
|
14
|
-
### v0.1.
|
|
9
|
+
### Update Notes
|
|
10
|
+
|
|
11
|
+
- The English documentation was translated using translation software or AI alignment, so some terms may be inappropriate or expressions unclear.
|
|
12
|
+
- To date, every TechUI release has synchronously packaged and released all four component libraries. Consequently, the update log may list components no longer present in the current library—this is normal. The current Update documentation pertains to the entire TechUI project, not just the current component library.
|
|
13
|
+
|
|
14
|
+
### v0.1.2 (2026-04-25)
|
|
15
|
+
|
|
16
|
+
Version `0.1.2` is a broad component and documentation release focused on new data-display units, Rolling refactors, CSS variable cleanup, and release preparation.
|
|
17
|
+
|
|
18
|
+
- Added standalone `@techui/adaptive`, plus `TuiFlex`, `TuiScalePanel`, `TuiCollapse`, `TuiStickyPanel`, `TuiBackTop`, `TuiMaximize`, `TuiDockPanel`, and `TuiDatePicker`.
|
|
19
|
+
- Added the DataUnit family: `TuiDataUnitMetric` and `TuiDataUnitRank` for metric cards, assist values, trends, and ranking blocks.
|
|
20
|
+
- Added the VisualUnit family: `TuiVisualUnitBar`, `TuiVisualUnitRing`, and `TuiVisualUnitGauge` as low-level graphic units split from `TuiProgress`.
|
|
21
|
+
- Refactored `TuiRolling`, `TuiRollingTable`, `TuiRollingProgress`, `TuiRollingNotification`, `TuiRollingNavIcon`, and `TuiRollingNavTabs`, aligning rolling behavior, controls, header/summary slots, and clone refresh.
|
|
22
|
+
- Cleaned up component classes, CSS variables, style naming, and source categories; `advance` was renamed to `advanced`.
|
|
23
|
+
- Added and refined utilities such as `tFrame`, `cssVarSet`, `cssVarIf`, `cssSizeEnsure`, `tAnimate`, `tResize`, and `v-tui-drag`.
|
|
24
|
+
- Added frontend-only license, chained license, and standalone license capabilities.
|
|
25
|
+
- Fixed Rolling pagination, auto-follow, dynamic clone refresh, Nav control animation conflicts, decimal precision issues, popup anchors, DatePicker scaled-container behavior, and multiple component edge cases.
|
|
26
|
+
- Documentation, demos, navigation, test previews, AI collaboration rules, and bilingual content were updated extensively.
|
|
27
|
+
|
|
28
|
+
### v0.1.1 (2026-04-18)
|
|
29
|
+
|
|
30
|
+
Version `0.1.1` continues the `0.1.0` update cycle and focuses on `techuiColors 2.0`, chart theme tokens, map demo migration, and infrastructure cleanup.
|
|
31
|
+
|
|
32
|
+
- `techuiColors` upgraded to `2.0`, with a new naming system, migration mapping, Hue Ring documentation, and improved color expression support.
|
|
33
|
+
- `@techui/lessmixins` was renamed to `@techui/mixins`, with new `Scss` entry support and clearer subpath imports.
|
|
34
|
+
- `TuiEcharts` and `TuiEchartsMap` now support theme-aware option tokens such as `$theme` and `$scheme`, reducing the need for manual theme patching after theme switches.
|
|
35
|
+
- A large number of Vue2 chart demos were migrated to Vue3, and multiple ECharts / EChartsMap demo directories were refactored around the new token-based theme workflow.
|
|
36
|
+
- Dialog dragging and adaptive scale handling were stabilized by improving `v-tui-drag`, `dom.info`, and related dialog internals.
|
|
37
|
+
- Colors, mixins, echarts, echartsMap, and related ecosystem documentation were updated to align with the new `2.0` color system and theme-aware configuration style.
|
|
38
|
+
- Additional naming, import-path, casing, and migration leftovers were cleaned up across demos, docs, and internal utilities.
|
|
39
|
+
|
|
40
|
+
### v0.1.0 (2026-04-05)
|
|
15
41
|
|
|
16
42
|
Version 0.1.0 marks a milestone upgrade:
|
|
17
43
|
|
|
@@ -108,12 +134,38 @@ Version 0.1.0 marks a milestone upgrade:
|
|
|
108
134
|
|
|
109
135
|
## 中文
|
|
110
136
|
|
|
111
|
-
### 更新说明
|
|
112
|
-
|
|
113
|
-
- 英文部分的文档,采用了翻译软件或者AI对齐进行翻译,所以可能存在部分用词不当或者表达模糊的情况。
|
|
114
|
-
- 截止到目前为止,TechUI的每次发布,均会对当前四个组件库进行同步打包发布。并且更新记录中,可能会出现当前组件库中不存在的组件,属于正常现象。因为当前Update文档是针对整个TechUI工程,而非争对当前的组件库。
|
|
115
|
-
|
|
116
|
-
### v0.1.
|
|
137
|
+
### 更新说明
|
|
138
|
+
|
|
139
|
+
- 英文部分的文档,采用了翻译软件或者AI对齐进行翻译,所以可能存在部分用词不当或者表达模糊的情况。
|
|
140
|
+
- 截止到目前为止,TechUI的每次发布,均会对当前四个组件库进行同步打包发布。并且更新记录中,可能会出现当前组件库中不存在的组件,属于正常现象。因为当前Update文档是针对整个TechUI工程,而非争对当前的组件库。
|
|
141
|
+
|
|
142
|
+
### v0.1.2 (2026-04-25)
|
|
143
|
+
|
|
144
|
+
版本 `0.1.2` 是一次大范围的组件与文档发布,重点围绕新增数据展示单元、Rolling 系列重构、CSS 变量清理和发布准备展开。
|
|
145
|
+
|
|
146
|
+
- 新增独立版 `@techui/adaptive`,以及 `TuiFlex`、`TuiScalePanel`、`TuiCollapse`、`TuiStickyPanel`、`TuiBackTop`、`TuiMaximize`、`TuiDockPanel`、`TuiDatePicker`。
|
|
147
|
+
- 新增 DataUnit 系列:`TuiDataUnitMetric` 与 `TuiDataUnitRank`,用于指标、辅助数值、趋势和排行信息块。
|
|
148
|
+
- 新增 VisualUnit 系列:`TuiVisualUnitBar`、`TuiVisualUnitRing`、`TuiVisualUnitGauge`,作为从 `TuiProgress` 拆出的底层图形单元。
|
|
149
|
+
- 重构 `TuiRolling`、`TuiRollingTable`、`TuiRollingProgress`、`TuiRollingNotification`、`TuiRollingNavIcon`、`TuiRollingNavTabs`,统一滚动行为、控制栏、表头 / 合计行和动态克隆刷新逻辑。
|
|
150
|
+
- 批量清理组件 class、CSS 变量、样式命名和源码分类;`advance` 目录统一更名为 `advanced`。
|
|
151
|
+
- 新增和完善 `tFrame`、`cssVarSet`、`cssVarIf`、`cssSizeEnsure`、`tAnimate`、`tResize`、`v-tui-drag` 等工具能力。
|
|
152
|
+
- 补充纯前端许可证、链式许可与独立许可相关能力。
|
|
153
|
+
- 修复 Rolling 分页、自动跟随、动态克隆刷新、Nav 控制栏动画抢更新、小数精度、弹层锚点、DatePicker 缩放容器行为等多个组件边界问题。
|
|
154
|
+
- 文档、Demo、导航、测试预览、AI 协作规则和中英文内容进行了大范围更新。
|
|
155
|
+
|
|
156
|
+
### v0.1.1 (2026-04-18)
|
|
157
|
+
|
|
158
|
+
版本 `0.1.1` 延续了 `0.1.0` 的升级方向,重点围绕 `techuiColors 2.0`、图表主题 token、地图案例迁移,以及基础设施收尾优化展开。
|
|
159
|
+
|
|
160
|
+
- `techuiColors` 升级至 `2.0`,引入新的命名体系、迁移映射、色相环文档与更完善的颜色表达式能力。
|
|
161
|
+
- `@techui/lessmixins` 更名为 `@techui/mixins`,新增 `Scss` 入口支持,并统一了子路径导入方式。
|
|
162
|
+
- `TuiEcharts` 与 `TuiEchartsMap` 支持 `$theme`、`$scheme` 等主题感知配置项,主题切换时不再依赖大量手工颜色同步。
|
|
163
|
+
- 大批 Vue2 图表案例迁移为 Vue3,多个 ECharts / EChartsMap 测试目录同步迁移到新的 token 主题模式。
|
|
164
|
+
- 通过迭代 `v-tui-drag`、`dom.info` 与 dialog 内部逻辑,进一步增强了拖拽和自适应缩放场景下的稳定性。
|
|
165
|
+
- `colors`、`mixins`、`echarts`、`echartsMap` 等相关文档已同步对齐 `2.0` 颜色体系与主题感知配置方式。
|
|
166
|
+
- 持续清理测试用例、文档与内部工具中的命名、导入路径、大小写与迁移遗留问题。
|
|
167
|
+
|
|
168
|
+
### v0.1.0 (2026-04-05)
|
|
117
169
|
|
|
118
170
|
版本 0.1.0 迎来里程碑式升级:
|
|
119
171
|
|
|
@@ -204,4 +256,4 @@ Version 0.1.0 marks a milestone upgrade:
|
|
|
204
256
|
|
|
205
257
|
### v0.0.1 (2025-10-02)
|
|
206
258
|
|
|
207
|
-
- 首次发布
|
|
259
|
+
- 首次发布
|
package/core/core.d.ts
CHANGED
|
@@ -23,6 +23,8 @@ export function coreInfo(input: any): any;
|
|
|
23
23
|
|
|
24
24
|
export function cssVarGen(prefix: string, style_obj: object): string;
|
|
25
25
|
|
|
26
|
+
export function cssVarIf(key: string, value: any, options: any): object;
|
|
27
|
+
|
|
26
28
|
export function floatInfo(): void;
|
|
27
29
|
|
|
28
30
|
export function getEnv(): string;
|
|
@@ -109,11 +111,11 @@ export function scifiPanelDV8(width: number, height: number): string;
|
|
|
109
111
|
|
|
110
112
|
export function scifiPanelDV9(width: number, height: number): string;
|
|
111
113
|
|
|
112
|
-
export function
|
|
114
|
+
export function scifiTitleA1(width: number): string;
|
|
113
115
|
|
|
114
|
-
export function
|
|
116
|
+
export function scifiTitleA2(): string;
|
|
115
117
|
|
|
116
|
-
export function
|
|
118
|
+
export function scifiTitleA3(): string;
|
|
117
119
|
|
|
118
120
|
export function setLang(lang?: string | null): void;
|
|
119
121
|
|
|
@@ -260,6 +262,7 @@ export interface InitOutput {
|
|
|
260
262
|
readonly coreConsoleWarn: (a: number, b: number, c: number, d: number) => void;
|
|
261
263
|
readonly coreInfo: (a: number) => number;
|
|
262
264
|
readonly cssVarGen: (a: number, b: number, c: number, d: number) => void;
|
|
265
|
+
readonly cssVarIf: (a: number, b: number, c: number, d: number) => number;
|
|
263
266
|
readonly floatInfo: () => void;
|
|
264
267
|
readonly getEnv: (a: number) => void;
|
|
265
268
|
readonly getVer: (a: number) => void;
|
|
@@ -303,9 +306,9 @@ export interface InitOutput {
|
|
|
303
306
|
readonly scifiPanelDV7: (a: number, b: number, c: number) => void;
|
|
304
307
|
readonly scifiPanelDV8: (a: number, b: number, c: number) => void;
|
|
305
308
|
readonly scifiPanelDV9: (a: number, b: number, c: number) => void;
|
|
306
|
-
readonly
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
+
readonly scifiTitleA1: (a: number, b: number) => void;
|
|
310
|
+
readonly scifiTitleA2: (a: number) => void;
|
|
311
|
+
readonly scifiTitleA3: (a: number) => void;
|
|
309
312
|
readonly setLang: (a: number, b: number) => void;
|
|
310
313
|
readonly svgPatBlocks: (a: number) => void;
|
|
311
314
|
readonly svgPatCircuitDiagram: (a: number) => void;
|
|
@@ -371,8 +374,8 @@ export interface InitOutput {
|
|
|
371
374
|
readonly t3dUpdateRotate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
372
375
|
readonly techuiCoreInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
373
376
|
readonly svgPatTest: (a: number) => void;
|
|
374
|
-
readonly
|
|
375
|
-
readonly
|
|
377
|
+
readonly __wasm_bindgen_func_elem_95: (a: number, b: number) => void;
|
|
378
|
+
readonly __wasm_bindgen_func_elem_346: (a: number, b: number) => void;
|
|
376
379
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
377
380
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
378
381
|
readonly __wbindgen_export3: (a: number) => void;
|
package/core/core.js
CHANGED
|
@@ -181,6 +181,19 @@ export function cssVarGen(prefix, style_obj) {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* @param {string} key
|
|
186
|
+
* @param {any} value
|
|
187
|
+
* @param {any} options
|
|
188
|
+
* @returns {object}
|
|
189
|
+
*/
|
|
190
|
+
export function cssVarIf(key, value, options) {
|
|
191
|
+
const ptr0 = passStringToWasm0(key, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
192
|
+
const len0 = WASM_VECTOR_LEN;
|
|
193
|
+
const ret = wasm.cssVarIf(ptr0, len0, addHeapObject(value), addHeapObject(options));
|
|
194
|
+
return takeObject(ret);
|
|
195
|
+
}
|
|
196
|
+
|
|
184
197
|
export function floatInfo() {
|
|
185
198
|
wasm.floatInfo();
|
|
186
199
|
}
|
|
@@ -1108,12 +1121,12 @@ export function scifiPanelDV9(width, height) {
|
|
|
1108
1121
|
* @param {number} width
|
|
1109
1122
|
* @returns {string}
|
|
1110
1123
|
*/
|
|
1111
|
-
export function
|
|
1124
|
+
export function scifiTitleA1(width) {
|
|
1112
1125
|
let deferred1_0;
|
|
1113
1126
|
let deferred1_1;
|
|
1114
1127
|
try {
|
|
1115
1128
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1116
|
-
wasm.
|
|
1129
|
+
wasm.scifiTitleA1(retptr, width);
|
|
1117
1130
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1118
1131
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1119
1132
|
deferred1_0 = r0;
|
|
@@ -1128,12 +1141,12 @@ export function scifiPanelTitleA1(width) {
|
|
|
1128
1141
|
/**
|
|
1129
1142
|
* @returns {string}
|
|
1130
1143
|
*/
|
|
1131
|
-
export function
|
|
1144
|
+
export function scifiTitleA2() {
|
|
1132
1145
|
let deferred1_0;
|
|
1133
1146
|
let deferred1_1;
|
|
1134
1147
|
try {
|
|
1135
1148
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1136
|
-
wasm.
|
|
1149
|
+
wasm.scifiTitleA2(retptr);
|
|
1137
1150
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1138
1151
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1139
1152
|
deferred1_0 = r0;
|
|
@@ -1148,12 +1161,12 @@ export function scifiPanelTitleA2() {
|
|
|
1148
1161
|
/**
|
|
1149
1162
|
* @returns {string}
|
|
1150
1163
|
*/
|
|
1151
|
-
export function
|
|
1164
|
+
export function scifiTitleA3() {
|
|
1152
1165
|
let deferred1_0;
|
|
1153
1166
|
let deferred1_1;
|
|
1154
1167
|
try {
|
|
1155
1168
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1156
|
-
wasm.
|
|
1169
|
+
wasm.scifiTitleA3(retptr);
|
|
1157
1170
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1158
1171
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1159
1172
|
deferred1_0 = r0;
|
|
@@ -2457,6 +2470,10 @@ function __wbg_get_imports() {
|
|
|
2457
2470
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
2458
2471
|
return ret;
|
|
2459
2472
|
},
|
|
2473
|
+
__wbg___wbindgen_is_null_a2a19127c13e7126: function(arg0) {
|
|
2474
|
+
const ret = getObject(arg0) === null;
|
|
2475
|
+
return ret;
|
|
2476
|
+
},
|
|
2460
2477
|
__wbg___wbindgen_is_object_4b3de556756ee8a8: function(arg0) {
|
|
2461
2478
|
const val = getObject(arg0);
|
|
2462
2479
|
const ret = typeof(val) === 'object' && val !== null;
|
|
@@ -2583,6 +2600,10 @@ function __wbg_get_imports() {
|
|
|
2583
2600
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
2584
2601
|
return addHeapObject(ret);
|
|
2585
2602
|
},
|
|
2603
|
+
__wbg_get_unchecked_3d0f4b91c8eca4f0: function(arg0, arg1) {
|
|
2604
|
+
const ret = getObject(arg0)[arg1 >>> 0];
|
|
2605
|
+
return addHeapObject(ret);
|
|
2606
|
+
},
|
|
2586
2607
|
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
2587
2608
|
const ret = getObject(arg0)[getObject(arg1)];
|
|
2588
2609
|
return addHeapObject(ret);
|
|
@@ -2639,6 +2660,10 @@ function __wbg_get_imports() {
|
|
|
2639
2660
|
const ret = result;
|
|
2640
2661
|
return ret;
|
|
2641
2662
|
},
|
|
2663
|
+
__wbg_isArray_fad08a0d12828686: function(arg0) {
|
|
2664
|
+
const ret = Array.isArray(getObject(arg0));
|
|
2665
|
+
return ret;
|
|
2666
|
+
},
|
|
2642
2667
|
__wbg_left_271b4450c739c266: function(arg0) {
|
|
2643
2668
|
const ret = getObject(arg0).left;
|
|
2644
2669
|
return ret;
|
|
@@ -2802,7 +2827,7 @@ function __wbg_get_imports() {
|
|
|
2802
2827
|
},
|
|
2803
2828
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
2804
2829
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1, function: Function { arguments: [], shim_idx: 2, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
2805
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
2830
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_95, __wasm_bindgen_func_elem_346);
|
|
2806
2831
|
return addHeapObject(ret);
|
|
2807
2832
|
},
|
|
2808
2833
|
__wbindgen_cast_0000000000000002: function(arg0) {
|
|
@@ -2834,8 +2859,8 @@ function __wbg_get_imports() {
|
|
|
2834
2859
|
};
|
|
2835
2860
|
}
|
|
2836
2861
|
|
|
2837
|
-
function
|
|
2838
|
-
wasm.
|
|
2862
|
+
function __wasm_bindgen_func_elem_346(arg0, arg1) {
|
|
2863
|
+
wasm.__wasm_bindgen_func_elem_346(arg0, arg1);
|
|
2839
2864
|
}
|
|
2840
2865
|
|
|
2841
2866
|
function addHeapObject(obj) {
|
package/core/core_bg.wasm
CHANGED
|
Binary file
|
package/core/core_bg.wasm.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export const coreConsoleInfo: (a: number, b: number, c: number, d: number) => vo
|
|
|
12
12
|
export const coreConsoleWarn: (a: number, b: number, c: number, d: number) => void;
|
|
13
13
|
export const coreInfo: (a: number) => number;
|
|
14
14
|
export const cssVarGen: (a: number, b: number, c: number, d: number) => void;
|
|
15
|
+
export const cssVarIf: (a: number, b: number, c: number, d: number) => number;
|
|
15
16
|
export const floatInfo: () => void;
|
|
16
17
|
export const getEnv: (a: number) => void;
|
|
17
18
|
export const getVer: (a: number) => void;
|
|
@@ -55,9 +56,9 @@ export const scifiPanelDV6: (a: number, b: number, c: number) => void;
|
|
|
55
56
|
export const scifiPanelDV7: (a: number, b: number, c: number) => void;
|
|
56
57
|
export const scifiPanelDV8: (a: number, b: number, c: number) => void;
|
|
57
58
|
export const scifiPanelDV9: (a: number, b: number, c: number) => void;
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
59
|
+
export const scifiTitleA1: (a: number, b: number) => void;
|
|
60
|
+
export const scifiTitleA2: (a: number) => void;
|
|
61
|
+
export const scifiTitleA3: (a: number) => void;
|
|
61
62
|
export const setLang: (a: number, b: number) => void;
|
|
62
63
|
export const svgPatBlocks: (a: number) => void;
|
|
63
64
|
export const svgPatCircuitDiagram: (a: number) => void;
|
|
@@ -123,8 +124,8 @@ export const t3dUpdateOrient: (a: number, b: number, c: number) => number;
|
|
|
123
124
|
export const t3dUpdateRotate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
124
125
|
export const techuiCoreInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
125
126
|
export const svgPatTest: (a: number) => void;
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
127
|
+
export const __wasm_bindgen_func_elem_95: (a: number, b: number) => void;
|
|
128
|
+
export const __wasm_bindgen_func_elem_346: (a: number, b: number) => void;
|
|
128
129
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
129
130
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
130
131
|
export const __wbindgen_export3: (a: number) => void;
|